/// /// /// /// /// /// /// /// /// /// /// /// /// /// declare module "copyright" { export class EditorSchemeCopyright { static toString(): string; } } declare module "sk/product/design/DesignApllicationTrackEnum" { import { StatisticsTrackDeclare } from 'foundation/core/module/statistics/StatisticsTrackDeclare'; import { StatisticsTracStageDeclare } from 'foundation/core/module/statistics/StatisticsTracStageDeclare'; export class DesignApllicationTrackEnum { static Stage: StatisticsTracStageDeclare; static Start: StatisticsTrackDeclare; static Error: StatisticsTrackDeclare; static Fatal: StatisticsTrackDeclare; static Finish: StatisticsTrackDeclare; } } declare module "sk/product/design/DesignSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; export class DesignSettings extends EditorSettings { componentGuid: string; componentVersion: string; designGuid: string; brandGuid: string; designVersion: string; productShopcartId: string; productState: string; productGuid: string; productStandardGuid: string; modelId: string; mode: string; schemeId: string; schemeVersion: string; cityId: string; roleId: string; applicationTypeCd: string; url: string; } } declare module "sk/product/design/DesignApplication" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { DocumentEvent } from 'cross/runtime/framework/document/DocumentEvent'; import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService'; import { HttpEvent } from 'cross/core/device/http/HttpEvent'; import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { LoginEvent } from 'cross/data/module/logic/login/LoginEvent'; import { LoginLogicService } from 'cross/data/module/logic/login/LoginLogicService'; import { LogicSessionService } from 'cross/data/module/logic/session/LogicSessionService'; import { ProjectService } from 'cross/data/module/project/ProjectService'; import { EditorService } from 'cross/editor/framework/EditorService'; import { ApplicationLoaderConfig } from 'cross/web/ApplicationLoaderConfig'; import { WorkerConnectionService } from 'foundation/core/module/workerconnection/WorkerConnectionService'; import { UserLogicService } from 'foundation/data/common/service/UserLogicService'; import { EditorApplication } from 'foundation/editor/base/frame/EditorApplication'; import { EditModeEvent } from 'foundation/editor/base/selection/EditModeEvent'; import { EditModeService } from 'foundation/editor/base/selection/EditModeService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { UiHelperService } from 'foundation/editor/ui/desktop/UiHelperService'; import { UiControlService } from 'foundation/editor/ui/UiControlService'; import { UiWindowService } from 'foundation/editor/ui/UiWindowService'; import { SpecificationWarehouseService } from 'sk/data/specification/warehouse/SpecificationWarehouseService'; import { FamilyConfigService } from 'sk/data/family/service/FamilyConfigService'; import { WorkflowProcessService } from 'sk/data/family/workflow/WorkflowProcessService'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService'; import { SchemeDataService } from 'sk/editor/scheme/service/SchemeDataService'; import { AliveService } from 'sk/editor/logic/service/AliveService'; import { SchemeModule } from 'sk/frame/design/frame/SchemeModule'; import { DesignSettings } from "sk/product/design/DesignSettings"; export class DesignApplication extends EditorApplication { protected _loginReady: boolean; protected _dataReady: boolean; mainModule: SchemeModule; protected _storageService: StorageDeviceService; protected _loginService: LoginLogicService; protected _userService: UserLogicService; protected _projectService: ProjectService; protected _schemeService: SchemeDocumentService; protected _controlService: UiControlService; protected _desktopService: UiDesktopService; protected _editorService: EditorService; protected _schemeDataService: SchemeDataService; protected _databaseService: DatabaseDeviceService; protected _sessionService: LogicSessionService; protected _windowService: UiWindowService; protected _editModeService: EditModeService; protected _selectionService: SelectionService; protected _helperService: UiHelperService; protected _workflowProcessService: WorkflowProcessService; protected _familyConfigService: FamilyConfigService; protected _schemeConfigService: SchemeConfigService; protected _workerConnectionService: WorkerConnectionService; protected _specificationWarehouseService: SpecificationWarehouseService; protected _aliveService: AliveService; constructor(); onEditModeChanged(sender: ListenerContext, event: EditModeEvent): void; onSetupModules(settings: DesignSettings): void; onSetup(settings: DesignSettings): void; onLogin(): void; onLogout(): void; protected onLoginSuccess(sender: ListenerContext, event: LoginEvent): void; protected onLoginFailure(sender: ListenerContext, event: HttpEvent): void; onHomeLoaded(sender: ListenerContext, event: DocumentEvent): void; onCustomizedLoaded(sender: ListenerContext, event: DocumentEvent): void; onDesinLoaded(sender: ListenerContext, event: DocumentEvent): void; protected onLoadLocalData(): any; protected onCreateEmptyDocument(): any; loadDataAsync(): Promise; openDatabaseAsync(): Promise; startAsync(): Promise; protected beforeunload: () => void; protected onWindowShowHide: () => void; startWorkerAsync(): Promise; delayStartAsync(): Promise; process(): void; } export function createApplication(global: ApplicationLoaderConfig): DesignApplication; } declare module "sk/product/design/IndexSpace" { export class IndexSpace { static namespaces(): string[]; } }