///
///
declare module "copyright" {
export class DataWarehouseCopyright {
static toString(): string;
}
}
declare module "sk/data/specification/base/ISpecificationStructure" {
export interface ISpecificationStructure {
id: string;
}
}
declare module "sk/data/specification/base/ISpecificationCategory" {
import { ISpecificationStructure } from "sk/data/specification/base/ISpecificationStructure";
export interface ISpecificationCategory extends ISpecificationStructure {
code: string;
name: string;
}
}
declare module "sk/data/specification/base/ISpecificationDeclare" {
import { ISpecificationStructure } from "sk/data/specification/base/ISpecificationStructure";
export interface ISpecificationDeclare extends ISpecificationStructure {
code: string;
}
}
declare module "sk/data/specification/base/ISpecificationDeclareConfigure" {
import { ISpecificationDeclare } from "sk/data/specification/base/ISpecificationDeclare";
export interface ISpecificationDeclareConfigure extends ISpecificationDeclare {
}
}
declare module "sk/data/specification/base/ISpecificationDeclareDecorate" {
import { ISpecificationDeclare } from "sk/data/specification/base/ISpecificationDeclare";
export interface ISpecificationDeclareDecorate extends ISpecificationDeclare {
}
}
declare module "sk/data/specification/enumeration/SpecificationDecorateItemBindEnum" {
import { EnumItem } from 'cross/runtime/lang/EnumItem';
import { EnumerationObject } from 'cross/runtime/framework/base/EnumerationObject';
export class SpecificationDecorateItemBindEnum extends EnumerationObject {
static Unknown: number;
static Item: number;
static Category: number;
private static _items;
static get Items(): Array;
}
}
declare module "sk/data/specification/base/ISpecificationDeclareDecorateItem" {
import { SpecificationDecorateItemBindEnum } from "sk/data/specification/enumeration/SpecificationDecorateItemBindEnum";
export interface ISpecificationDeclareDecorateItem {
id: string;
bindingCd: SpecificationDecorateItemBindEnum;
isDefault: number;
dataValue: any;
}
}
declare module "sk/data/specification/base/ISpecificationDeclareParameter" {
import { ISpecificationDeclare } from "sk/data/specification/base/ISpecificationDeclare";
export interface ISpecificationDeclareParameter extends ISpecificationDeclare {
value: any;
}
}
declare module "sk/data/specification/base/ISpecificationDeclareVariable" {
import { ISpecificationDeclare } from "sk/data/specification/base/ISpecificationDeclare";
export interface ISpecificationDeclareVariable extends ISpecificationDeclare {
libraryId?: string;
libraryVersion?: string;
name: string;
configId: string;
value: string;
dataValue?: string;
}
}
declare module "sk/data/specification/base/ISpecificationFamilyCategory" {
import { ISpecificationCategory } from "sk/data/specification/base/ISpecificationCategory";
export interface ISpecificationFamilyCategory extends ISpecificationCategory {
}
}
declare module "sk/data/specification/base/ISpecificationFamilySymbolFeature" {
export interface ISpecificationFamilySymbolFeature {
id: string;
optionExpand: boolean;
optionDefault: boolean;
type: string;
code: string;
name: string;
lengthX: number;
lengthMinX: number;
lengthMaxX: number;
lengthY: number;
lengthMinY: number;
lengthMaxY: number;
lengthZ: number;
lengthMinZ: number;
lengthMaxZ: number;
lockCdX: any;
lockCdY: any;
lockCdZ: any;
value: any;
unit: string;
referenceConfigId: string;
referenceConfigName: string;
groupId: string;
groupName: string;
referenceItemId: string;
red: number;
green: number;
blue: number;
}
}
declare module "sk/data/specification/base/ISpecificationType" {
import { ISpecificationStructure } from "sk/data/specification/base/ISpecificationStructure";
export interface ISpecificationType extends ISpecificationStructure {
code: string;
name: string;
}
}
declare module "sk/data/specification/base/ISpecificationFamilyType" {
import { ISpecificationType } from "sk/data/specification/base/ISpecificationType";
export interface ISpecificationFamilyType extends ISpecificationType {
}
}
declare module "sk/data/specification/base/ISpecificationFamilySymbol" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { ISpecificationFamilyCategory } from "sk/data/specification/base/ISpecificationFamilyCategory";
import { ISpecificationFamilySymbolFeature } from "sk/data/specification/base/ISpecificationFamilySymbolFeature";
import { ISpecificationFamilyType } from "sk/data/specification/base/ISpecificationFamilyType";
export interface ISpecificationFamilySymbol {
id: string;
infoType: string;
tenantId: string;
libraryId: string;
libraryVersion: number;
familyId: string;
familyInfoId: string;
types: Types;
categories: Types;
code: string;
name: string;
symbolFeatures: Types;
statusCd: number;
lengthX: number;
lengthY: number;
lengthZ: number;
features: any;
}
}
declare module "sk/data/specification/base/ISpecificationFamily" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { DataDocument } from 'cross/data/module/document/DataDocument';
import { ISpecificationFamilyCategory } from "sk/data/specification/base/ISpecificationFamilyCategory";
import { ISpecificationFamilySymbol } from "sk/data/specification/base/ISpecificationFamilySymbol";
import { ISpecificationFamilyType } from "sk/data/specification/base/ISpecificationFamilyType";
export interface ISpecificationFamily {
id: string;
version: number;
types: Types;
categories: Types;
symbols: Types;
libraryId: string;
libraryVersion: number;
code: string;
name: string;
defaultSymbol: ISpecificationFamilySymbol;
document?: DataDocument;
findSymbol(id: string): ISpecificationFamilySymbol;
}
}
declare module "sk/data/specification/base/ISpecificationFamilySymbolLink" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { ISpecificationFamilySymbolFeature } from "sk/data/specification/base/ISpecificationFamilySymbolFeature";
export interface ISpecificationFamilySymbolLink {
id: string;
symbolId: string;
features: Types;
}
}
declare module "sk/data/specification/base/ISpecificationFamilyInfo" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { ISpecificationFamilyCategory } from "sk/data/specification/base/ISpecificationFamilyCategory";
import { ISpecificationFamilySymbolFeature } from "sk/data/specification/base/ISpecificationFamilySymbolFeature";
import { ISpecificationFamilySymbolLink } from "sk/data/specification/base/ISpecificationFamilySymbolLink";
import { ISpecificationFamilyType } from "sk/data/specification/base/ISpecificationFamilyType";
export interface ISpecificationFamilyInfo {
id: string;
tenantId: string;
libraryId: string;
libraryVersion: number;
libraryTypeCode: string;
infoType: string;
familyId: string;
familyVersion: number;
symbolId: string;
productId: string;
productSymbolId: string;
productSymbolStatusCd: number;
productBusinessType: number;
productFeatures: any;
code: string;
name: string;
types: Types;
categories: Types;
symbolFeatures: Types;
symbolLinks: Types;
masterInfoId: string;
lengthX: number;
lengthY: number;
lengthZ: number;
features: any;
get familyInfoId(): string;
getTypeId(): string;
getFeature?(name: string, defaultValue?: any): any;
findSymbolFeature?(type: string): ISpecificationFamilySymbolFeature;
}
}
declare module "sk/data/specification/base/ISpecificationPatternCategory" {
import { ISpecificationCategory } from "sk/data/specification/base/ISpecificationCategory";
export interface ISpecificationPatternCategory extends ISpecificationCategory {
}
}
declare module "sk/data/specification/patterncategory/structure/SpecificationPatternCategory" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { DataStream } from 'cross/runtime/lang/stream/DataStream';
import { PersistentContext } from 'cross/runtime/module/persistent/PersistentContext';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { StructureTypes } from 'foundation/data/common/structure/StructureTypes';
import { ISpecificationPatternCategory } from "sk/data/specification/base/ISpecificationPatternCategory";
export class SpecificationPatternCategory extends StructureObject implements ISpecificationPatternCategory {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
code: string;
name: string;
constructor();
static loadToJson(category: ISpecificationPatternCategory, jconfig: any): void;
static saveToJson(category: ISpecificationPatternCategory, jconfig?: any): any;
static loadArrayFromJson(categories: Types, jcategories: Array | StructureTypes): Types;
static saveArrayToJson(categories: Types): Array;
static loadFromBinary(context: PersistentContext, category: ISpecificationPatternCategory): void;
static saveToBinary(context: PersistentContext, category: ISpecificationPatternCategory): void;
static loadArrayFromBinary(context: PersistentContext, categories: Types): Types;
static saveArrayToBinary(context: PersistentContext, categories: Types): DataStream;
reset(): void;
}
}
declare module "sk/data/specification/base/ISpecificationPatternType" {
import { ISpecificationType } from "sk/data/specification/base/ISpecificationType";
export interface ISpecificationPatternType extends ISpecificationType {
}
}
declare module "sk/data/specification/patterntype/structure/SpecificationPatternType" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { DataStream } from 'cross/runtime/lang/stream/DataStream';
import { PersistentContext } from 'cross/runtime/module/persistent/PersistentContext';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { StructureTypes } from 'foundation/data/common/structure/StructureTypes';
import { ISpecificationPatternType } from "sk/data/specification/base/ISpecificationPatternType";
export class SpecificationPatternType extends StructureObject implements ISpecificationPatternType {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
code: string;
name: string;
constructor();
static loadFromJson(type: ISpecificationPatternType, jconfig: any): void;
static saveToJson(type: ISpecificationPatternType, jconfig?: any): any;
static loadArrayFromJson(types: Types, jtypes: Array | StructureTypes): Types;
static saveArrayToJson(types: Types): Array;
static loadFromBinary(context: PersistentContext, type: ISpecificationPatternType): void;
static saveToBinary(context: PersistentContext, type: ISpecificationPatternType): void;
static loadArrayFromBinary(context: PersistentContext, types: Types): Types;
static saveArrayToBinary(context: PersistentContext, types: Types): DataStream;
reset(): void;
}
}
declare module "sk/data/specification/base/ISpecificationPatternSymbolFeature" {
export interface ISpecificationPatternSymbolFeature {
id: string;
optionExpand: boolean;
optionDefault: boolean;
type: string;
code: string;
name: string;
lengthX: number;
lengthMinX: number;
lengthMaxX: number;
lengthY: number;
lengthMinY: number;
lengthMaxY: number;
lengthZ: number;
lengthMinZ: number;
lengthMaxZ: number;
lockCdX: any;
lockCdY: any;
lockCdZ: any;
value: any;
unit: string;
referenceConfigId: string;
referenceConfigName: string;
groupId: string;
groupName: string;
referenceItemId: string;
red: number;
green: number;
blue: number;
}
}
declare module "sk/data/specification/base/ISpecificationPatternSymbol" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { ISpecificationPatternCategory } from "sk/data/specification/base/ISpecificationPatternCategory";
import { ISpecificationPatternSymbolFeature } from "sk/data/specification/base/ISpecificationPatternSymbolFeature";
import { ISpecificationPatternType } from "sk/data/specification/base/ISpecificationPatternType";
export interface ISpecificationPatternSymbol {
id: string;
tenantId: string;
libraryId: string;
libraryVersion: number;
patternId: string;
patternInfoId: string;
types: Types;
categories: Types;
code: string;
name: string;
symbolFeatures: Types;
features: any;
familyInfoId: string;
}
}
declare module "sk/data/specification/enumeration/SpecificationSymbolTypeEnum" {
import { EnumItem } from 'cross/runtime/lang/EnumItem';
import { EnumerationObject } from 'cross/runtime/framework/base/EnumerationObject';
export class SpecificationSymbolTypeEnum extends EnumerationObject {
static Unknown: string;
static Size: string;
static Color: string;
static Configure: string;
static Decorate: string;
static Material: string;
static Supply: string;
static Texture: string;
private static _items;
static get Items(): Array;
}
}
declare module "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbolFeature" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { ISpecificationPatternSymbolFeature } from "sk/data/specification/base/ISpecificationPatternSymbolFeature";
export class SpecificationPatternSymbolFeature extends StructureObject implements ISpecificationPatternSymbolFeature {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
code: string;
name: string;
type: string;
optionExpand: boolean;
optionDefault: boolean;
linkType: string;
lengthX: number;
lengthMinX: number;
lengthMaxX: number;
lengthY: number;
lengthMinY: number;
lengthMaxY: number;
lengthZ: number;
lengthMinZ: number;
lengthMaxZ: number;
lockCdX: string;
lockCdY: string;
lockCdZ: string;
unit: string;
referenceConfigId: string;
referenceConfigName: string;
referenceItemId: string;
groupId: string;
groupName: string;
red: number;
green: number;
blue: number;
value: any;
constructor();
static loadFromJson(feature: ISpecificationPatternSymbolFeature, jconfig: any): void;
static loadArrayFromJson(features: Types, jfeatures: any[]): Types;
static saveToJson(feature: ISpecificationPatternSymbolFeature, jconfig?: any): any;
static saveArrayToJson(infos: Types): Array;
reset(): void;
}
}
declare module "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbol" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { SpecificationPatternCategory } from "sk/data/specification/patterncategory/structure/SpecificationPatternCategory";
import { SpecificationPatternType } from "sk/data/specification/patterntype/structure/SpecificationPatternType";
import { ISpecificationPatternSymbol } from "sk/data/specification/base/ISpecificationPatternSymbol";
import { SpecificationPatternSymbolFeature } from "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbolFeature";
export class SpecificationPatternSymbol extends StructureObject implements ISpecificationPatternSymbol {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
tenantId: string;
libraryId: string;
libraryVersion: number;
code: string;
name: string;
patternId: string;
patternInfoId: string;
private _types;
private _categories;
private _symbolFeatures;
statusCd: number;
features: any;
constructor();
get types(): Types;
get categories(): Types;
get symbolFeatures(): Types;
get familyId(): string;
set familyId(value: string);
get familyInfoId(): string;
set familyInfoId(value: string);
set types(value: Types);
set categories(value: Types);
set symbolFeatures(value: Types);
reset(): void;
}
}
declare module "sk/data/specification/base/ISpecificationPattern" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { SpecificationPatternSymbol } from "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbol";
import { ISpecificationFamilyCategory } from "sk/data/specification/base/ISpecificationFamilyCategory";
import { ISpecificationFamilyType } from "sk/data/specification/base/ISpecificationFamilyType";
import { ISpecificationPatternSymbol } from "sk/data/specification/base/ISpecificationPatternSymbol";
export interface ISpecificationPattern {
id: string;
types: Types;
categories: Types;
symbols: Types;
defaultSymbol: ISpecificationPatternSymbol;
findSymbol(id: string): ISpecificationPatternSymbol;
}
}
declare module "sk/data/specification/base/ISpecificationPatternInfo" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { ISpecificationFamilySymbolFeature } from "sk/data/specification/base/ISpecificationFamilySymbolFeature";
import { ISpecificationFamilySymbolLink } from "sk/data/specification/base/ISpecificationFamilySymbolLink";
import { ISpecificationPatternCategory } from "sk/data/specification/base/ISpecificationPatternCategory";
import { ISpecificationPatternType } from "sk/data/specification/base/ISpecificationPatternType";
export interface ISpecificationPatternInfo {
id: string;
tenantId: string;
libraryId: string;
libraryVersion: number;
libraryTypeCode: string;
infoType: string;
patternId: string;
patternVersion: number;
symbolId: string;
productId: string;
productSymbolId: string;
productSymbolStatusCd: number;
productBusinessType: number;
productFeatures: any;
code: string;
name: string;
types: Types;
categories: Types;
symbolFeatures: Types;
symbolLinks: Types;
masterInfoId: string;
lengthX: number;
lengthY: number;
lengthZ: number;
features: any;
get familyInfoId(): string;
get familyId(): string;
get familyVersion(): number;
getTypeId(): string;
getFeature?(name: string, defaultValue?: any): any;
findSymbolFeature?(type: string): ISpecificationFamilySymbolFeature;
}
}
interface ISpecificationPerspectiveConfigDecorateItem {
id: string;
code: string;
name: string;
tenantId: string;
libraryId: string;
configId: string;
configCode: string;
configName: string;
decorateItemId: string;
familyId: string;
familyInfoId: string;
linkCd: string;
linkId: string;
linkVersion: string;
linkCode: string;
linkName: string;
optionDefault: number;
features: string;
}
declare module "sk/data/specification/base/ISpecificationProductSymbol" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { ISpecificationFamilySymbolFeature } from "sk/data/specification/base/ISpecificationFamilySymbolFeature";
export interface ISpecificationProductSymbol {
id: string;
name: string;
familyInfoId: string;
linkCd: number;
statusCd: number;
symbolFeatures: Types;
}
}
declare module "sk/data/specification/base/ISpecificationProduct" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { ISpecificationProductSymbol } from "sk/data/specification/base/ISpecificationProductSymbol";
export interface ISpecificationProduct {
id: string;
tenantId: string;
libraryId: string;
typeId: string;
categoryId: string;
familyId: string;
familyVersion: string;
code: string;
name: string;
linkCd: number;
symbols: Types;
version: number;
features: string;
}
}
declare module "sk/data/specification/common/SpecificationController" {
import { Dictionary } from 'cross/runtime/lang/collection/Dictionary';
import { InstanceObject } from 'cross/runtime/lang/InstanceObject';
import { ISpecificationStructure } from "sk/data/specification/base/ISpecificationStructure";
export class SpecificationController extends InstanceObject {
protected _itemClass: Function;
protected _items: Dictionary;
constructor(itemClass?: any);
get items(): Dictionary;
setup(): void;
isEmpty(): boolean;
containsById(id: string): boolean;
findById(id: string): T;
itemIterator(): IterableIterator;
add(item: T): void;
addCheck(item: T): void;
appendArray(items: Array): void;
merge(controller: SpecificationController): void;
remove(item: T): void;
clear(): void;
reset(): void;
dispose(): void;
dump(): void;
}
}
declare module "sk/data/specification/common/declare/SpecificationDeclareController" {
import { ISpecificationDeclare } from "sk/data/specification/base/ISpecificationDeclare";
import { SpecificationController } from "sk/data/specification/common/SpecificationController";
export class SpecificationDeclareController extends SpecificationController {
containsByCode(code: string): boolean;
findByCode(code: string): T;
}
}
declare module "sk/data/specification/common/declare/SpecificationDeclareConfigureController" {
import { ISpecificationDeclareConfigure } from "sk/data/specification/base/ISpecificationDeclareConfigure";
import { SpecificationDeclareController } from "sk/data/specification/common/declare/SpecificationDeclareController";
export class SpecificationDeclareConfigureController extends SpecificationDeclareController {
}
}
declare module "sk/data/specification/common/declare/SpecificationDeclareDecorateController" {
import { ISpecificationDeclareDecorate } from "sk/data/specification/base/ISpecificationDeclareDecorate";
import { SpecificationDeclareController } from "sk/data/specification/common/declare/SpecificationDeclareController";
export class SpecificationDeclareDecorateController extends SpecificationDeclareController {
}
}
declare module "sk/data/specification/common/declare/SpecificationDeclareParameterController" {
import { ISpecificationDeclareParameter } from "sk/data/specification/base/ISpecificationDeclareParameter";
import { SpecificationDeclareController } from "sk/data/specification/common/declare/SpecificationDeclareController";
export class SpecificationDeclareParameterController extends SpecificationDeclareController {
}
}
declare module "sk/data/specification/common/declare/SpecificationDeclareVariableController" {
import { ISpecificationDeclareVariable } from "sk/data/specification/base/ISpecificationDeclareVariable";
import { SpecificationDeclareController } from "sk/data/specification/common/declare/SpecificationDeclareController";
export class SpecificationDeclareVariableController extends SpecificationDeclareController {
dump(): void;
}
}
declare module "sk/data/specification/common/loader/SpecificationDataModeEnum" {
export class SpecificationDataModeEnum {
static Data: string;
static Storage: string;
static Api: string;
}
}
declare module "sk/data/specification/common/loader/SpecificationLoader" {
import { BaseObject } from 'cross/runtime/lang/BaseObject';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
export class SpecificationLoader extends BaseObject {
loadFamilyInfoAsync(): Promise;
}
}
declare module "sk/data/specification/common/loader/SpecificationDigitizationLoader" {
import { SpecificationLoader } from "sk/data/specification/common/loader/SpecificationLoader";
export class SpecificationDigitizationLoader extends SpecificationLoader {
}
}
declare module "sk/data/specification/common/loader/SpecificationLoaderConditionEnum" {
export class SpecificationLoaderConditionEnum {
static Id: string;
static Code: string;
}
}
declare module "sk/data/specification/common/loader/SpecificationLoaderService" {
import { Dictionary } from 'cross/runtime/lang/collection/Dictionary';
import { Service } from 'cross/runtime/module/Service';
import { SpecificationDataModeEnum } from "sk/data/specification/common/loader/SpecificationDataModeEnum";
import { SpecificationLoader } from "sk/data/specification/common/loader/SpecificationLoader";
export type SpecificationLoaderTypeInfo = {
name: string;
type: any;
};
export class SpecificationLoaderService extends Service {
modeCd: SpecificationDataModeEnum;
loader: SpecificationLoader;
protected _typeInfos: Dictionary;
constructor();
initializeConfig(jconfig: any): void;
register(typeName: string, clazz: any): void;
getTypeInfo(name: string): any;
}
}
declare module "sk/data/specification/common/loader/SpecificationLoaderDeclare" {
export function SpecificationLoaderDeclare(typeName: string): (target: any) => void;
}
declare module "sk/data/specification/common/loader/SpecificationLoaderTypeEnum" {
export class SpecificationLoaderTypeEnum {
static FamilyInfoDocument: string;
static FamilyDocument: string;
}
}
declare module "sk/data/specification/common/loader/SpecificationModuleLoader" {
import { SpecificationLoader } from "sk/data/specification/common/loader/SpecificationLoader";
export class SpecificationModuleLoader extends SpecificationLoader {
}
}
declare module "sk/data/specification/common/SpecificationCategoryUtil" {
import { ISpecificationCategory } from "sk/data/specification/base/ISpecificationCategory";
export class SpecificationCategoryUtil {
static loadConfig(category: ISpecificationCategory, jconfig: any): void;
}
}
declare module "sk/data/specification/common/SpecificationConstants" {
export class SpecificationConstants {
static ID_CURRENT: string;
}
}
declare module "sk/data/specification/common/SpecificationContentTypeEnum" {
export class SpecificationContentTypeEnum {
static Family: string;
static Pattern: string;
}
}
declare module "sk/data/specification/common/SpecificationStorageEnum" {
export class SpecificationStorageEnum {
static FamilyInfo: string;
static Family: string;
static PatternInfo: string;
static Pattern: string;
}
}
declare module "sk/data/specification/common/SpecificationTypeUtil" {
import { ISpecificationType } from "sk/data/specification/base/ISpecificationType";
export class SpecificationTypeUtil {
static loadConfig(type: ISpecificationType, jconfig: any): void;
}
}
declare module "sk/data/specification/common/SpecificationUtil" {
export class SpecificationUtil {
}
}
declare module "sk/data/specification/common/storage/SpecificationStorageController" {
import { BaseObject } from 'cross/runtime/lang/BaseObject';
import { IContext } from 'cross/runtime/lang/IContext';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService';
import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService';
import { IDatabaseDataset } from 'cross/core/device/database/IDatabaseDataset';
export type SpecificationStorageControllerOptions = {
enable?: boolean;
name?: string;
timeout?: number;
};
export class SpecificationStorageController extends BaseObject {
storageEnable: boolean;
storageName: string;
storageTimeout: number;
protected _dataset: IDatabaseDataset;
protected _environmentService: EnvironmentService;
protected _databaseService: DatabaseDeviceService;
config(options?: SpecificationStorageControllerOptions): void;
getDataset(): IDatabaseDataset;
loadAsync(context: IContext, code: string): Promise;
saveAsync(context: IContext, code: string, content: any): Promise;
removeAsync(context: IContext, code: string): Promise;
}
}
declare module "sk/data/specification/common/storage/SpecificationStorageItem" {
export class SpecificationStorageItem {
item: T;
updateItemCount: number;
data: any;
updateDataCount: number;
statusFree: boolean;
setItem(item: any): void;
setData(data: any): void;
}
}
declare module "sk/data/specification/common/storage/SpecificationStorageService" {
import { Dictionary } from 'cross/runtime/lang/collection/Dictionary';
import { ContextObject } from 'cross/runtime/lang/ContextObject';
import { IContext } from 'cross/runtime/lang/IContext';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { Service } from 'cross/runtime/module/Service';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { SpecificationDataModeEnum } from "sk/data/specification/common/loader/SpecificationDataModeEnum";
import { SpecificationLoaderService } from "sk/data/specification/common/loader/SpecificationLoaderService";
import { SpecificationStorageController } from "sk/data/specification/common/storage/SpecificationStorageController";
import { SpecificationStorageItem } from "sk/data/specification/common/storage/SpecificationStorageItem";
export type SpecificationStorageLoadParameters = {
modeCd?: SpecificationDataModeEnum;
id?: string;
code?: string;
};
export type SpecificationStorageLoadOptions = {
force?: boolean;
data?: any;
};
export class SpecificationStorageService extends Service {
protected _context: ContextObject;
protected _code: string;
protected _storageController: SpecificationStorageController;
protected _loaderService: SpecificationLoaderService;
constructor();
get code(): string;
protected getMap(context: IContext): Dictionary>;
get items(): Dictionary>;
createStructure(): T;
makeStructure(context: IContext, modeCd: SpecificationDataModeEnum, content: any): T;
findItem(code: string): SpecificationStorageItem;
removeItem(context: IContext, code: string): SpecificationStorageItem;
clearCache(context: IContext, code: string): void;
syncItem(context: IContext, code: string): SpecificationStorageItem;
loadById(context: IContext, code: string): ResultObject;
loadDataByStorageAsync(context: IContext, parameters: SpecificationStorageLoadParameters): Promise;
loadDataByApiAsync(context: IContext, parameters: SpecificationStorageLoadParameters): Promise;
loadAsync(context: IContext, parameters: SpecificationStorageLoadParameters, options?: SpecificationStorageLoadOptions): Promise>;
loadByIdAsync(context: IContext, id: string, options?: SpecificationStorageLoadOptions): Promise>;
loadByCodeAsync(context: IContext, code: string, options?: SpecificationStorageLoadOptions): Promise>;
loadJsonData(context: IContext, code: string, jconfig: any): void;
markAllCacheFree(): void;
}
}
declare module "sk/data/specification/enumeration/SpecificationDocumentTypeEnum" {
import { EnumItem } from 'cross/runtime/lang/EnumItem';
import { EnumerationObject } from 'cross/runtime/framework/base/EnumerationObject';
export class SpecificationDocumentTypeEnum extends EnumerationObject {
static Unknown: string;
static Storage: string;
static Library: string;
static Variable: string;
static Family: string;
static FamilySymbol: string;
static FamilyInfo: string;
static Pattern: string;
static PatternSymbol: string;
static PatternInfo: string;
static Product: string;
static ProductInfo: string;
static RuleProcess: string;
static Rule: string;
static RuleInfo: string;
private static _items;
static get Items(): Array;
}
}
declare module "sk/data/specification/enumeration/SpecificationSymbolStateEnum" {
import { EnumItem } from 'cross/runtime/lang/EnumItem';
import { EnumerationObject } from 'cross/runtime/framework/base/EnumerationObject';
export class SpecificationSymbolStateEnum extends EnumerationObject {
static Unknown: number;
static Valid: number;
static Invalid: number;
private static _items;
static get Items(): Array;
}
}
declare module "sk/data/specification/familycategory/structure/SpecificationFamilyCategory" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { DataStream } from 'cross/runtime/lang/stream/DataStream';
import { PersistentContext } from 'cross/runtime/module/persistent/PersistentContext';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { StructureTypes } from 'foundation/data/common/structure/StructureTypes';
import { ISpecificationFamilyCategory } from "sk/data/specification/base/ISpecificationFamilyCategory";
export class SpecificationFamilyCategory extends StructureObject implements ISpecificationFamilyCategory {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
code: string;
name: string;
constructor();
static loadToJson(category: ISpecificationFamilyCategory, jconfig: any): void;
static saveToJson(category: ISpecificationFamilyCategory, jconfig?: any): any;
static loadArrayFromJson(categories: Types, jcategories: Array | StructureTypes): Types;
static saveArrayToJson(categories: Types): Array;
static loadFromBinary(context: PersistentContext, category: ISpecificationFamilyCategory): void;
static saveToBinary(context: PersistentContext, category: ISpecificationFamilyCategory): void;
static loadArrayFromBinary(context: PersistentContext, categories: Types): Types;
static saveArrayToBinary(context: PersistentContext, categories: Types): DataStream;
reset(): void;
}
}
declare module "sk/data/specification/familycategory/SpecificationFamilyCategoryService" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { IContext } from 'cross/runtime/lang/IContext';
import { SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationFamilyCategory } from "sk/data/specification/familycategory/structure/SpecificationFamilyCategory";
export class SpecificationFamilyCategoryService extends SpecificationStorageService {
constructor();
loadCategories(context: IContext, categories: Types): void;
}
}
declare module "sk/data/specification/familytype/structure/SpecificationFamilyType" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { DataStream } from 'cross/runtime/lang/stream/DataStream';
import { PersistentContext } from 'cross/runtime/module/persistent/PersistentContext';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { StructureTypes } from 'foundation/data/common/structure/StructureTypes';
import { ISpecificationFamilyType } from "sk/data/specification/base/ISpecificationFamilyType";
export class SpecificationFamilyType extends StructureObject implements ISpecificationFamilyType {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
code: string;
name: string;
constructor();
static loadFromJson(type: ISpecificationFamilyType, jconfig: any): void;
static saveToJson(type: ISpecificationFamilyType, jconfig?: any): any;
static loadArrayFromJson(types: Types, jtypes: Array | StructureTypes): Types;
static saveArrayToJson(types: Types): Array;
static loadFromBinary(context: PersistentContext, type: ISpecificationFamilyType): void;
static saveToBinary(context: PersistentContext, type: ISpecificationFamilyType): void;
static loadArrayFromBinary(context: PersistentContext, types: Types): Types;
static saveArrayToBinary(context: PersistentContext, types: Types): DataStream;
reset(): void;
}
}
declare module "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolFeature" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { ISpecificationFamilySymbolFeature } from "sk/data/specification/base/ISpecificationFamilySymbolFeature";
export class SpecificationFamilySymbolFeature extends StructureObject implements ISpecificationFamilySymbolFeature {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
code: string;
name: string;
type: string;
optionExpand: boolean;
optionDefault: boolean;
linkType: string;
lengthX: number;
lengthMinX: number;
lengthMaxX: number;
lengthY: number;
lengthMinY: number;
lengthMaxY: number;
lengthZ: number;
lengthMinZ: number;
lengthMaxZ: number;
lockCdX: string;
lockCdY: string;
lockCdZ: string;
unit: string;
referenceConfigId: string;
referenceConfigName: string;
referenceItemId: string;
groupId: string;
groupName: string;
red: number;
green: number;
blue: number;
value: any;
constructor();
static loadFromJson(feature: ISpecificationFamilySymbolFeature, jconfig: any): void;
static loadArrayFromJson(features: Types, jfeatures: any[]): Types;
static saveToJson(feature: ISpecificationFamilySymbolFeature, jconfig?: any): any;
static saveArrayToJson(infos: Types): Array;
reset(): void;
}
}
declare module "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolLink" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { ISpecificationFamilySymbolLink } from "sk/data/specification/base/ISpecificationFamilySymbolLink";
import { SpecificationFamilySymbolFeature } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolFeature";
export class SpecificationFamilySymbolLink extends StructureObject implements ISpecificationFamilySymbolLink {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
symbolId: string;
private _features;
constructor();
get features(): Types;
static loadFromJson(link: ISpecificationFamilySymbolLink, jconfig: any): void;
static saveToJson(link: ISpecificationFamilySymbolLink): any;
static loadArrayFromJson(links: Types, jlinks: Array): void;
static saveArrayToJson(links: Types, jlinks?: Array): Array;
reset(): void;
}
}
declare module "sk/data/specification/familysymbol/structure/SpecificationFamilySymbol" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { SpecificationFamilyCategory } from "sk/data/specification/familycategory/structure/SpecificationFamilyCategory";
import { SpecificationFamilyType } from "sk/data/specification/familytype/structure/SpecificationFamilyType";
import { ISpecificationFamilySymbol } from "sk/data/specification/base/ISpecificationFamilySymbol";
import { SpecificationFamilySymbolFeature } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolFeature";
import { SpecificationFamilySymbolLink } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolLink";
export class SpecificationFamilySymbol extends StructureObject implements ISpecificationFamilySymbol {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
infoType: string;
tenantId: string;
libraryId: string;
libraryVersion: number;
code: string;
name: string;
familyId: string;
familyInfoId: string;
private _types;
private _categories;
private _symbolFeatures;
private _symbolLinks;
statusCd: number;
lengthX: number;
lengthY: number;
lengthZ: number;
features: any;
constructor();
get types(): Types;
get categories(): Types;
get symbolFeatures(): Types;
get symbolLinks(): Types;
set types(value: Types);
set categories(value: Types);
set symbolFeatures(value: Types);
static loadFromJson(infos: Types, jinfos: Array, target?: any): Types;
static saveToJson(infos: Types, jinfos?: Array): Array;
reset(): void;
}
}
declare module "sk/data/specification/familysymbol/SpecificationFamilySymbolService" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { IContext } from 'cross/runtime/lang/IContext';
import { SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationFamilySymbol } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbol";
export class SpecificationFamilySymbolService extends SpecificationStorageService {
constructor();
loadSymbols(context: IContext, symbols: Types): void;
}
}
declare module "sk/data/specification/familytype/SpecificationFamilyTypeService" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { IContext } from 'cross/runtime/lang/IContext';
import { SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationFamilyType } from "sk/data/specification/familytype/structure/SpecificationFamilyType";
export class SpecificationFamilyTypeService extends SpecificationStorageService {
constructor();
loadTypes(context: IContext, types: Types): void;
}
}
declare module "sk/data/specification/family/structure/SpecificationFamily" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { DataDocument } from 'cross/data/module/document/DataDocument';
import { SpecificationFamilyCategory } from "sk/data/specification/familycategory/structure/SpecificationFamilyCategory";
import { SpecificationFamilySymbol } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbol";
import { SpecificationFamilyType } from "sk/data/specification/familytype/structure/SpecificationFamilyType";
import { ISpecificationFamily } from "sk/data/specification/base/ISpecificationFamily";
import { ISpecificationFamilySymbol } from "sk/data/specification/base/ISpecificationFamilySymbol";
export class SpecificationFamily extends StructureObject implements ISpecificationFamily {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
version: number;
code: string;
name: string;
tenantId: string;
libraryId: string;
libraryVersion: number;
symbolId: string;
private _types;
private _categories;
private _symbols;
features: any;
content: any;
document: DataDocument;
constructor();
get types(): Types;
get categories(): Types;
get symbols(): Types;
set types(value: Types);
set categories(value: Types);
set symbols(value: Types);
get defaultSymbol(): ISpecificationFamilySymbol;
findSymbol(id: string): ISpecificationFamilySymbol;
reset(): void;
}
}
declare module "sk/data/specification/familyinfo/structure/SpecificationFamilyInfo" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { SpecificationFamilyCategory } from "sk/data/specification/familycategory/structure/SpecificationFamilyCategory";
import { SpecificationFamilySymbolFeature } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolFeature";
import { SpecificationFamilySymbolLink } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolLink";
import { SpecificationFamilyType } from "sk/data/specification/familytype/structure/SpecificationFamilyType";
import { ISpecificationFamilyInfo } from "sk/data/specification/base/ISpecificationFamilyInfo";
import { ISpecificationFamilySymbolFeature } from "sk/data/specification/base/ISpecificationFamilySymbolFeature";
export class SpecificationFamilyInfo extends StructureObject implements ISpecificationFamilyInfo {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
infoType: string;
tenantId: string;
libraryId: string;
libraryTypeCode: string;
libraryVersion: number;
familyId: string;
familyVersion: number;
symbolId: string;
productId: string;
productSymbolId: string;
productSymbolStatusCd: number;
productBusinessType: number;
productFeatures: any;
code: string;
name: string;
private _types;
private _categories;
private _symbolFeatures;
private _symbolLinks;
lengthX: number;
lengthY: number;
lengthZ: number;
masterInfoId: string;
features: any;
content: any;
constructor();
get types(): Types;
get categories(): Types;
get symbolFeatures(): Types;
get symbolLinks(): Types;
set types(value: Types);
set categories(value: Types);
set symbolFeatures(value: Types);
set symbolLinks(value: Types);
get familyInfoId(): string;
getTypeId(): string;
getFeature(name: string, defaultValue?: any): any;
findSymbolFeature(type: string): ISpecificationFamilySymbolFeature;
loadFamilyConfig(jconfig: any): void;
loadSymbolConfig(jconfig: any): void;
loadProductConfig(jconfig: any): void;
reset(): void;
}
}
declare module "sk/data/specification/patterninfo/structure/SpecificationPatternInfo" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { SpecificationFamilySymbolFeature } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolFeature";
import { SpecificationFamilySymbolLink } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolLink";
import { SpecificationPatternCategory } from "sk/data/specification/patterncategory/structure/SpecificationPatternCategory";
import { SpecificationPatternSymbolFeature } from "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbolFeature";
import { SpecificationPatternType } from "sk/data/specification/patterntype/structure/SpecificationPatternType";
import { ISpecificationFamilySymbolFeature } from "sk/data/specification/base/ISpecificationFamilySymbolFeature";
import { ISpecificationPatternInfo } from "sk/data/specification/base/ISpecificationPatternInfo";
export class SpecificationPatternInfo extends StructureObject implements ISpecificationPatternInfo {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
infoType: string;
tenantId: string;
libraryId: string;
libraryTypeCode: string;
libraryVersion: number;
patternId: string;
patternVersion: number;
symbolId: string;
productId: string;
productSymbolId: string;
productSymbolStatusCd: number;
productBusinessType: number;
productFeatures: any;
code: string;
name: string;
private _types;
private _categories;
private _symbolFeatures;
private _symbolLinks;
lengthX: number;
lengthY: number;
lengthZ: number;
masterInfoId: string;
features: any;
content: any;
constructor();
get types(): Types;
get categories(): Types;
get symbolFeatures(): Types;
get symbolLinks(): Types;
set types(value: Types);
set categories(value: Types);
set symbolFeatures(value: Types);
get familyInfoId(): string;
get familyId(): string;
get familyVersion(): number;
getTypeId(): string;
getFeature(name: string, defaultValue?: any): any;
findSymbolFeature(type: string): ISpecificationFamilySymbolFeature;
loadFamilyConfig(jconfig: any): void;
loadSymbolConfig(jconfig: any): void;
reset(): void;
}
}
declare module "sk/data/specification/util/SpecificationPatternStorageLoaderUtil" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { SpecificationPattern } from "sk/data/specification/pattern/structure/SpecificationPattern";
import { SpecificationPatternCategory } from "sk/data/specification/patterncategory/structure/SpecificationPatternCategory";
import { SpecificationPatternInfo } from "sk/data/specification/patterninfo/structure/SpecificationPatternInfo";
import { SpecificationPatternSymbol } from "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbol";
import { SpecificationPatternSymbolFeature } from "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbolFeature";
import { SpecificationPatternType } from "sk/data/specification/patterntype/structure/SpecificationPatternType";
export class SpecificationPatternStorageLoaderUtil {
static loadPatternTypes(types: Types, jtypes: Array): Types;
static loadPatternCategorys(categories: Types, jtypes: Array): void;
static loadSymbolFeature(symbolFeature: SpecificationPatternSymbolFeature, jconfig: any): void;
static loadSymbolFeatures(symbolInfos: Types, jsymbols: Array): Types;
static loadSymbol(symbol: SpecificationPatternSymbol, jconfig: any): void;
static loadSymbols(symbols: Types, jsymbols: Array): Types;
static loadPatternInfo(jconfig: any, target?: SpecificationPatternInfo): SpecificationPatternInfo;
static loadPattern(jconfig: any, target?: SpecificationPattern): SpecificationPattern;
}
}
declare module "sk/data/specification/pattern/structure/SpecificationPattern" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { DataDocument } from 'cross/data/module/document/DataDocument';
import { SpecificationPatternCategory } from "sk/data/specification/patterncategory/structure/SpecificationPatternCategory";
import { SpecificationPatternSymbol } from "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbol";
import { SpecificationPatternType } from "sk/data/specification/patterntype/structure/SpecificationPatternType";
import { ISpecificationPattern } from "sk/data/specification/base/ISpecificationPattern";
import { ISpecificationPatternSymbol } from "sk/data/specification/base/ISpecificationPatternSymbol";
export class SpecificationPattern extends StructureObject implements ISpecificationPattern {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
version: number;
tenantId: string;
libraryId: string;
libraryVersion: number;
patternId: string;
symbolId: string;
private _types;
private _categories;
name: string;
code: string;
private _symbols;
features: any;
content: any;
document: DataDocument;
constructor();
get types(): Types;
get categories(): Types;
get symbols(): Types;
set types(value: Types);
set categories(value: Types);
set symbols(value: Types);
get defaultSymbol(): ISpecificationPatternSymbol;
findSymbol(id: string): ISpecificationPatternSymbol;
loadDocumentJson(jdocument: any): SpecificationPattern;
reset(): void;
}
}
declare module "sk/data/specification/util/SpecificationFamilyApiLoaderUtil" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { SpecificationFamily } from "sk/data/specification/family/structure/SpecificationFamily";
import { SpecificationFamilyCategory } from "sk/data/specification/familycategory/structure/SpecificationFamilyCategory";
import { SpecificationFamilyInfo } from "sk/data/specification/familyinfo/structure/SpecificationFamilyInfo";
import { SpecificationFamilySymbol } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbol";
import { SpecificationFamilySymbolFeature } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolFeature";
import { SpecificationFamilyType } from "sk/data/specification/familytype/structure/SpecificationFamilyType";
import { SpecificationPattern } from "sk/data/specification/pattern/structure/SpecificationPattern";
export class SpecificationFamilyApiLoaderUtil {
static loadFamilyTypes(types: Types, jtypes: Array): Types;
static loadFamilyCategorys(categories: Types, jtypes: Array): void;
static loadSymbolFeature(symbolFeature: SpecificationFamilySymbolFeature, jconfig: any): void;
static loadSymbolFeatures(symbolFeatures: Types, jsymbolFeatures: Array): Types;
static loadSymbol(symbol: SpecificationFamilySymbol, jconfig: any): void;
static loadSymbols(symbols: Types, jsymbols: Array): Types;
static loadFamilyInfo(jconfig: any, target?: SpecificationFamilyInfo): SpecificationFamilyInfo;
static loadFamily(jconfig: any, target?: SpecificationFamily): SpecificationFamily;
static loadPattern(jconfig: any, target?: SpecificationPattern): SpecificationPattern;
}
}
declare module "sk/data/specification/util/SpecificationFamilyStorageLoaderUtil" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { SpecificationFamily } from "sk/data/specification/family/structure/SpecificationFamily";
import { SpecificationFamilyCategory } from "sk/data/specification/familycategory/structure/SpecificationFamilyCategory";
import { SpecificationFamilyInfo } from "sk/data/specification/familyinfo/structure/SpecificationFamilyInfo";
import { SpecificationFamilySymbol } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbol";
import { SpecificationFamilySymbolFeature } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolFeature";
import { SpecificationFamilyType } from "sk/data/specification/familytype/structure/SpecificationFamilyType";
export class SpecificationFamilyStorageLoaderUtil {
static loadFamilyTypes(types: Types, jtypes: Array): Types;
static loadFamilyCategorys(categories: Types, jtypes: Array): void;
static loadSymbolFeature(symbolFeature: SpecificationFamilySymbolFeature, jconfig: any): void;
static loadSymbolFeatures(symbolInfos: Types, jsymbols: Array): Types;
static loadSymbol(symbol: SpecificationFamilySymbol, jconfig: any): void;
static loadSymbols(symbols: Types, jsymbols: Array): Types;
static loadFamilyInfo(jconfig: any, target?: SpecificationFamilyInfo): SpecificationFamilyInfo;
static loadFamily(jconfig: any, target?: SpecificationFamily): SpecificationFamily;
}
}
declare module "sk/data/specification/family/SpecificationFamilyService" {
import { IContext } from 'cross/runtime/lang/IContext';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { JsonService } from 'cross/core/module/json/JsonService';
import { LogicInterfaceService } from 'foundation/data/common/net/LogicInterfaceService';
import { SpecificationDataModeEnum } from "sk/data/specification/common/loader/SpecificationDataModeEnum";
import { SpecificationStorageLoadParameters, SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationFamilyCategoryService } from "sk/data/specification/familycategory/SpecificationFamilyCategoryService";
import { SpecificationFamilySymbolService } from "sk/data/specification/familysymbol/SpecificationFamilySymbolService";
import { SpecificationFamilyTypeService } from "sk/data/specification/familytype/SpecificationFamilyTypeService";
import { SpecificationFamily } from "sk/data/specification/family/structure/SpecificationFamily";
export class SpecificationFamilyService extends SpecificationStorageService {
protected _jsonService: JsonService;
protected _interfaceService: LogicInterfaceService;
protected _familyTypeService: SpecificationFamilyTypeService;
protected _familyCategoryService: SpecificationFamilyCategoryService;
protected _familySymbolService: SpecificationFamilySymbolService;
constructor();
createStructure(): SpecificationFamily;
loadDataByStorageAsync(context: IContext, parameters: SpecificationStorageLoadParameters): Promise;
loadDataByApiAsync(context: IContext, parameters: SpecificationStorageLoadParameters): Promise;
makeStructure(context: IContext, modeCd: SpecificationDataModeEnum, content: any): any;
}
}
declare module "sk/data/specification/family/SpecificationFamilyUtil" {
import { ISpecificationFamily } from "sk/data/specification/base/ISpecificationFamily";
export class SpecificationFamilyUtil {
static isType(familyInfo: ISpecificationFamily, typeCode: string): boolean;
static isTypeArray(familyInfo: ISpecificationFamily, typeCodes: Array): boolean;
static isTypes(familyInfo: ISpecificationFamily, ...typeCodes: Array): boolean;
}
}
declare module "sk/data/specification/familycategory/SpecificationFamilyCategoryController" {
import { SpecificationController } from "sk/data/specification/common/SpecificationController";
import { SpecificationFamilyCategory } from "sk/data/specification/familycategory/structure/SpecificationFamilyCategory";
export class SpecificationFamilyCategoryController extends SpecificationController {
constructor();
}
}
declare module "sk/data/specification/familyinfo/SpecificationFamilyInfoService" {
import { IContext } from 'cross/runtime/lang/IContext';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { JsonService } from 'cross/core/module/json/JsonService';
import { LogicInterfaceService } from 'foundation/data/common/net/LogicInterfaceService';
import { SpecificationDataModeEnum } from "sk/data/specification/common/loader/SpecificationDataModeEnum";
import { SpecificationStorageLoadParameters, SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationFamilyCategoryService } from "sk/data/specification/familycategory/SpecificationFamilyCategoryService";
import { SpecificationFamilySymbolService } from "sk/data/specification/familysymbol/SpecificationFamilySymbolService";
import { SpecificationFamilyTypeService } from "sk/data/specification/familytype/SpecificationFamilyTypeService";
import { SpecificationFamilyInfo } from "sk/data/specification/familyinfo/structure/SpecificationFamilyInfo";
export class SpecificationFamilyInfoService extends SpecificationStorageService {
protected _jsonService: JsonService;
protected _interfaceService: LogicInterfaceService;
protected _familyTypeService: SpecificationFamilyTypeService;
protected _familyCategoryService: SpecificationFamilyCategoryService;
protected _familySymbolService: SpecificationFamilySymbolService;
constructor();
createStructure(): SpecificationFamilyInfo;
loadDataByStorageAsync(context: IContext, parameters: SpecificationStorageLoadParameters): Promise;
loadDataByApiAsync(context: IContext, parameters: SpecificationStorageLoadParameters): Promise;
makeStructure(context: IContext, modeCd: SpecificationDataModeEnum, content: any): any;
}
}
declare module "sk/data/specification/familyinfo/SpecificationFamilyInfoUtil" {
import { ISpecificationFamilyInfo } from "sk/data/specification/base/ISpecificationFamilyInfo";
export class SpecificationFamilyInfoUtil {
static isType(familyInfo: ISpecificationFamilyInfo, typeCode: string): boolean;
static isTypeArray(familyInfo: ISpecificationFamilyInfo, typeCodes: Array): boolean;
static isTypes(familyInfo: ISpecificationFamilyInfo, ...typeCode: Array): boolean;
}
}
declare module "sk/data/specification/familyinfo/structure/SpecificationFamilyDataStructure" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { SpecificationFamilyCategory } from "sk/data/specification/familycategory/structure/SpecificationFamilyCategory";
import { SpecificationFamilySymbol } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbol";
import { SpecificationFamilyType } from "sk/data/specification/familytype/structure/SpecificationFamilyType";
export class SpecificationFamilyDataStructure extends StructureObject {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
version: number;
code: string;
name: string;
private _types;
private _categories;
attributes: any;
private _symbols;
constructor();
get types(): Types;
get categories(): Types;
get symbols(): Types;
reset(): void;
}
}
declare module "sk/data/specification/familysymbol/SpecificationFamilySymbolController" {
import { SpecificationController } from "sk/data/specification/common/SpecificationController";
import { SpecificationFamilySymbol } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbol";
export class SpecificationFamilySymbolController extends SpecificationController {
constructor();
}
}
declare module "sk/data/specification/familytype/SpecificationFamilyTypeController" {
import { SpecificationController } from "sk/data/specification/common/SpecificationController";
import { SpecificationFamilyType } from "sk/data/specification/familytype/structure/SpecificationFamilyType";
export class SpecificationFamilyTypeController extends SpecificationController {
constructor();
}
}
declare module "sk/data/specification/IndexSpace" {
export class IndexSpace {
static namespaces(): string[];
}
}
declare module "sk/data/specification/patterncategory/SpecificationPatternCategoryService" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { IContext } from 'cross/runtime/lang/IContext';
import { SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationPatternCategory } from "sk/data/specification/patterncategory/structure/SpecificationPatternCategory";
export class SpecificationPatternCategoryService extends SpecificationStorageService {
constructor();
loadCategories(context: IContext, categories: Types): void;
}
}
declare module "sk/data/specification/patternsymbol/SpecificationPatternSymbolService" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { IContext } from 'cross/runtime/lang/IContext';
import { SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationPatternSymbol } from "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbol";
export class SpecificationPatternSymbolService extends SpecificationStorageService {
constructor();
loadSymbols(context: IContext, symbols: Types): void;
}
}
declare module "sk/data/specification/patterntype/SpecificationPatternTypeService" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { IContext } from 'cross/runtime/lang/IContext';
import { SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationPatternType } from "sk/data/specification/patterntype/structure/SpecificationPatternType";
export class SpecificationPatternTypeService extends SpecificationStorageService {
constructor();
loadTypes(context: IContext, types: Types): void;
}
}
declare module "sk/data/specification/util/SpecificationPatternApiLoaderUtil" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { SpecificationPattern } from "sk/data/specification/pattern/structure/SpecificationPattern";
import { SpecificationPatternCategory } from "sk/data/specification/patterncategory/structure/SpecificationPatternCategory";
import { SpecificationPatternInfo } from "sk/data/specification/patterninfo/structure/SpecificationPatternInfo";
import { SpecificationPatternSymbol } from "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbol";
import { SpecificationPatternSymbolFeature } from "sk/data/specification/patternsymbol/structure/SpecificationPatternSymbolFeature";
import { SpecificationPatternType } from "sk/data/specification/patterntype/structure/SpecificationPatternType";
export class SpecificationPatternApiLoaderUtil {
static loadPatternTypes(types: Types, jtypes: Array): Types;
static loadPatternCategorys(categories: Types, jtypes: Array): void;
static loadSymbolFeature(symbolFeature: SpecificationPatternSymbolFeature, jconfig: any): void;
static loadSymbolFeatures(symbolFeatures: Types, jsymbolFeatures: Array): Types;
static loadSymbol(symbol: SpecificationPatternSymbol, jconfig: any): void;
static loadSymbols(symbols: Types, jsymbols: Array): Types;
static loadPatternInfo(jconfig: any, target?: SpecificationPatternInfo): SpecificationPatternInfo;
static loadPattern(jconfig: any, target?: SpecificationPattern): SpecificationPattern;
}
}
declare module "sk/data/specification/pattern/SpecificationPatternService" {
import { IContext } from 'cross/runtime/lang/IContext';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { JsonService } from 'cross/core/module/json/JsonService';
import { LogicInterfaceService } from 'foundation/data/common/net/LogicInterfaceService';
import { SpecificationDataModeEnum } from "sk/data/specification/common/loader/SpecificationDataModeEnum";
import { SpecificationStorageLoadParameters, SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationPatternCategoryService } from "sk/data/specification/patterncategory/SpecificationPatternCategoryService";
import { SpecificationPatternSymbolService } from "sk/data/specification/patternsymbol/SpecificationPatternSymbolService";
import { SpecificationPatternTypeService } from "sk/data/specification/patterntype/SpecificationPatternTypeService";
import { SpecificationPattern } from "sk/data/specification/pattern/structure/SpecificationPattern";
export class SpecificationPatternService extends SpecificationStorageService {
protected _jsonService: JsonService;
protected _interfaceService: LogicInterfaceService;
protected _patternTypeService: SpecificationPatternTypeService;
protected _patternCategoryService: SpecificationPatternCategoryService;
protected _patternSymbolService: SpecificationPatternSymbolService;
constructor();
createStructure(): SpecificationPattern;
loadDataByStorageAsync(context: IContext, parameters: SpecificationStorageLoadParameters): Promise;
loadDataByApiAsync(context: IContext, parameters: SpecificationStorageLoadParameters): Promise;
makeStructure(context: IContext, modeCd: SpecificationDataModeEnum, content: any): any;
}
}
declare module "sk/data/specification/patterninfo/SpecificationPatternInfoService" {
import { IContext } from 'cross/runtime/lang/IContext';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { JsonService } from 'cross/core/module/json/JsonService';
import { LogicInterfaceService } from 'foundation/data/common/net/LogicInterfaceService';
import { SpecificationDataModeEnum } from "sk/data/specification/common/loader/SpecificationDataModeEnum";
import { SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationPatternCategoryService } from "sk/data/specification/patterncategory/SpecificationPatternCategoryService";
import { SpecificationPatternSymbolService } from "sk/data/specification/patternsymbol/SpecificationPatternSymbolService";
import { SpecificationPatternTypeService } from "sk/data/specification/patterntype/SpecificationPatternTypeService";
import { SpecificationPatternInfo } from "sk/data/specification/patterninfo/structure/SpecificationPatternInfo";
export class SpecificationPatternInfoService extends SpecificationStorageService {
protected _jsonService: JsonService;
protected _interfaceService: LogicInterfaceService;
protected _patternTypeService: SpecificationPatternTypeService;
protected _patternCategoryService: SpecificationPatternCategoryService;
protected _patternSymbolService: SpecificationPatternSymbolService;
constructor();
createStructure(): SpecificationPatternInfo;
loadDataByStorageAsync(context: IContext, parameters: any): Promise;
loadDataByApiAsync(context: IContext, parameters: any): Promise;
makeStructure(context: IContext, modeCd: SpecificationDataModeEnum, content: any): any;
}
}
declare module "sk/data/specification/perspective/structure/SpecificationPerspectiveConfigDecorateItem" {
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
export class SpecificationPerspectiveConfigDecorateItem extends StructureObject implements ISpecificationPerspectiveConfigDecorateItem {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
code: string;
name: string;
tenantId: string;
libraryId: string;
configId: string;
configCode: string;
configName: string;
decorateItemId: string;
familyId: string;
familyInfoId: string;
linkId: string;
linkCode: string;
linkName: string;
linkVersion: string;
linkCd: string;
optionDefault: number;
features: any;
constructor();
reset(): void;
}
}
declare module "sk/data/specification/productsymbol/structure/SpecificationProductSymbol" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { SpecificationFamilySymbolFeature } from "sk/data/specification/familysymbol/structure/SpecificationFamilySymbolFeature";
import { ISpecificationProductSymbol } from "sk/data/specification/base/ISpecificationProductSymbol";
export class SpecificationProductSymbol extends StructureObject implements ISpecificationProductSymbol {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
code: string;
name: string;
familyInfoId: string;
linkCd: number;
statusCd: number;
private _symbolFeatures;
features: any;
constructor();
get symbolFeatures(): Types;
static loadFromConfig(symbol: ISpecificationProductSymbol, jconfig: any): void;
static loadArrayFromConfig(jsymbols: Array): Types;
static loadFromJson(symbol: ISpecificationProductSymbol, jconfig: any): void;
static loadArrayFromJson(jsymbols: Array): Types;
reset(): void;
}
}
declare module "sk/data/specification/product/structure/SpecificationProduct" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { StructureObject } from 'cross/runtime/framework/base/StructureObject';
import { SpecificationProductSymbol } from "sk/data/specification/productsymbol/structure/SpecificationProductSymbol";
import { ISpecificationProduct } from "sk/data/specification/base/ISpecificationProduct";
export class SpecificationProduct extends StructureObject implements ISpecificationProduct {
static CLASS_ID: string;
static CLASS_NAME: string;
id: string;
version: number;
code: string;
name: string;
tenantId: string;
libraryId: string;
libraryVersion: number;
typeId: string;
categoryId: string;
linkCd: number;
familyId: string;
familyVersion: string;
private _symbols;
features: any;
content: any;
constructor();
get symbols(): Types;
static loadConfig(product: ISpecificationProduct, config: any): void;
static loadJson(product: ISpecificationProduct, jconfig: any): void;
reset(): void;
}
}
declare module "sk/data/specification/product/SpecificationProductService" {
import { SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationProduct } from "sk/data/specification/product/structure/SpecificationProduct";
export class SpecificationProductService extends SpecificationStorageService {
constructor();
}
}
declare module "sk/data/specification/productsymbol/SpecificationProductSymbolService" {
import { SpecificationStorageService } from "sk/data/specification/common/storage/SpecificationStorageService";
import { SpecificationProductSymbol } from "sk/data/specification/productsymbol/structure/SpecificationProductSymbol";
export class SpecificationProductSymbolService extends SpecificationStorageService {
constructor();
}
}
declare module "sk/data/specification/warehouse/SpecificationWarehouseFactory" {
import { BaseObject } from 'cross/runtime/lang/BaseObject';
import { ISpecificationDeclareConfigure } from "sk/data/specification/base/ISpecificationDeclareConfigure";
import { ISpecificationDeclareDecorate } from "sk/data/specification/base/ISpecificationDeclareDecorate";
import { ISpecificationDeclareParameter } from "sk/data/specification/base/ISpecificationDeclareParameter";
import { ISpecificationDeclareVariable } from "sk/data/specification/base/ISpecificationDeclareVariable";
export class SpecificationWarehouseFactory extends BaseObject {
createParameter(): ISpecificationDeclareParameter;
createVariable(): ISpecificationDeclareVariable;
createDecorate(): ISpecificationDeclareDecorate;
createConfigure(): ISpecificationDeclareConfigure;
}
}
declare module "sk/data/specification/warehouse/SpecificationWarehouseOptions" {
import { InstanceObject } from 'cross/runtime/lang/InstanceObject';
import { SpecificationWarehouseFactory } from "sk/data/specification/warehouse/SpecificationWarehouseFactory";
export class SpecificationWarehouseOptions extends InstanceObject {
factory: SpecificationWarehouseFactory;
}
}
declare module "sk/data/specification/warehouse/SpecificationWarehouseStorage" {
import { InstanceObject } from 'cross/runtime/lang/InstanceObject';
import { SpecificationDeclareConfigureController } from "sk/data/specification/common/declare/SpecificationDeclareConfigureController";
import { SpecificationDeclareDecorateController } from "sk/data/specification/common/declare/SpecificationDeclareDecorateController";
import { SpecificationDeclareParameterController } from "sk/data/specification/common/declare/SpecificationDeclareParameterController";
import { SpecificationDeclareVariableController } from "sk/data/specification/common/declare/SpecificationDeclareVariableController";
import { SpecificationWarehouseOptions } from "sk/data/specification/warehouse/SpecificationWarehouseOptions";
export class SpecificationWarehouseStorage extends InstanceObject {
protected _options: SpecificationWarehouseOptions;
protected _parameterController: SpecificationDeclareParameterController;
protected _variableController: SpecificationDeclareVariableController;
protected _decorateController: SpecificationDeclareDecorateController;
protected _configureController: SpecificationDeclareConfigureController;
constructor(options: SpecificationWarehouseOptions);
get parameterController(): SpecificationDeclareParameterController;
get variableController(): SpecificationDeclareVariableController;
get decorateController(): SpecificationDeclareDecorateController;
get configureController(): SpecificationDeclareConfigureController;
private loadJsonValue;
loadJson(jconfig: any): void;
merge(storage: SpecificationWarehouseStorage): void;
reset(): void;
dump(): void;
}
}
declare module "sk/data/specification/warehouse/SpecificationWarehouseFamily" {
import { SpecificationWarehouseStorage } from "sk/data/specification/warehouse/SpecificationWarehouseStorage";
export class SpecificationWarehouseFamily extends SpecificationWarehouseStorage {
familyId: string;
familyVersion: string;
}
}
declare module "sk/data/specification/warehouse/SpecificationWarehouseLibrary" {
import { SpecificationWarehouseStorage } from "sk/data/specification/warehouse/SpecificationWarehouseStorage";
export class SpecificationWarehouseLibrary extends SpecificationWarehouseStorage {
libraryId: string;
libraryVersion: string;
}
}
declare module "sk/data/specification/warehouse/SpecificationWarehouse" {
import { Dictionary } from 'cross/runtime/lang/collection/Dictionary';
import { InstanceObject } from 'cross/runtime/lang/InstanceObject';
import { DataDocument } from 'cross/data/module/document/DataDocument';
import { ISpecificationDeclareConfigure } from "sk/data/specification/base/ISpecificationDeclareConfigure";
import { ISpecificationDeclareDecorate } from "sk/data/specification/base/ISpecificationDeclareDecorate";
import { ISpecificationDeclareParameter } from "sk/data/specification/base/ISpecificationDeclareParameter";
import { ISpecificationDeclareVariable } from "sk/data/specification/base/ISpecificationDeclareVariable";
import { SpecificationWarehouseFamily } from "sk/data/specification/warehouse/SpecificationWarehouseFamily";
import { SpecificationWarehouseLibrary } from "sk/data/specification/warehouse/SpecificationWarehouseLibrary";
import { SpecificationWarehouseOptions } from "sk/data/specification/warehouse/SpecificationWarehouseOptions";
import { SpecificationWarehouseStorage } from "sk/data/specification/warehouse/SpecificationWarehouseStorage";
export class SpecificationWarehouse extends InstanceObject {
protected _options: SpecificationWarehouseOptions;
protected _global: SpecificationWarehouseStorage;
protected _libraries: Dictionary;
protected _families: Dictionary;
constructor(options: SpecificationWarehouseOptions);
get global(): SpecificationWarehouseStorage;
get libraries(): Dictionary;
get families(): Dictionary;
getLibrary(libraryId: string, libraryVersion?: string): SpecificationWarehouseLibrary;
loadLibrary(libraryId: string, libraryVersion: string, library: SpecificationWarehouseLibrary): void;
getFamily(familyId: string, familyVersion?: string): SpecificationWarehouseFamily;
loadFamilyDocument(familyId: string, familyVersion: string, document: DataDocument, force?: boolean): void;
findParameterById(id: string): ISpecificationDeclareParameter;
findParameterByCode(code: string): ISpecificationDeclareParameter;
findVariableById(id: string): ISpecificationDeclareVariable;
findVariable(info: string): ISpecificationDeclareVariable;
findDecorateById(id: string): ISpecificationDeclareDecorate;
findConfigureById(id: string): ISpecificationDeclareConfigure;
findVariableByCode(code: string, familyId?: string, familyVersion?: string, libraryId?: string, libraryVersion?: string): ISpecificationDeclareVariable;
dump(): void;
}
}
declare module "sk/data/specification/warehouse/SpecificationWarehouseFactoryEnum" {
export class SpecificationWarehouseFactoryEnum {
static Warehouses: string;
}
}
declare module "sk/data/specification/warehouse/SpecificationWarehouseService" {
import { Dictionary } from 'cross/runtime/lang/collection/Dictionary';
import { IContext } from 'cross/runtime/lang/IContext';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService';
import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService';
import { IDatabaseDataset } from 'cross/core/device/database/IDatabaseDataset';
import { HttpDeviceService } from 'cross/core/device/http/HttpDeviceService';
import { DataDocument } from 'cross/data/module/document/DataDocument';
import { DataService } from 'foundation/data/common/service/DataService';
import { ISpecificationDeclareVariable } from "sk/data/specification/base/ISpecificationDeclareVariable";
import { SpecificationWarehouse } from "sk/data/specification/warehouse/SpecificationWarehouse";
import { SpecificationWarehouseFactory } from "sk/data/specification/warehouse/SpecificationWarehouseFactory";
import { SpecificationWarehouseLibrary } from "sk/data/specification/warehouse/SpecificationWarehouseLibrary";
import { SpecificationWarehouseOptions } from "sk/data/specification/warehouse/SpecificationWarehouseOptions";
export type SpecificationWarehouseFactoryInfo = {
name: string;
type: any;
};
export class SpecificationWarehouseService extends DataService {
protected _options: SpecificationWarehouseOptions;
protected _factory: SpecificationWarehouseFactory;
protected _factoryInfos: Dictionary;
private _libraryDataset;
protected _environmentService: EnvironmentService;
protected _httpService: HttpDeviceService;
protected _databaseService: DatabaseDeviceService;
get options(): SpecificationWarehouseOptions;
get factory(): SpecificationWarehouseFactory;
registerFactory(typeName: string, clazz: any): void;
getWarehouse(context: IContext): SpecificationWarehouse;
loadWarehouseLibrary(context: IContext, libraryId: string, libraryVersion: any, jlibrary: any): SpecificationWarehouseLibrary;
loadWarehouseFamilyDocument(context: IContext, document: DataDocument, force?: boolean): ResultObject;
findWarehouseVariableById(context: IContext, id: string): ISpecificationDeclareVariable;
findVariableByCode(context: IContext, code: string, familyId?: string, familyVersion?: string, libraryId?: string, libraryVersion?: string): ISpecificationDeclareVariable;
dumpWarehouse(context: IContext): void;
get libraryDataset(): IDatabaseDataset;
checkCacheVersionAsync(): Promise>;
protected getDataset(databaseName: string): IDatabaseDataset;
protected clearDataBaseByLibraryIdAsync(databaseName: string, libraryId: string): Promise>;
clearLibraryCacheAsync(libraryId: string): Promise>;
}
}
declare module "sk/data/specification/warehouse/SpecificationWarehouseFactoryDeclare" {
export function SpecificationWarehouseFactoryDeclare(typeName: string): (target: any) => void;
}