/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// declare module "copyright" { export class FramePluginProductCommonCopyright { static toString(): string; } } declare module "sk/product/plugin/IndexSpace" { export class IndexSpace { static namespaces(): string[]; } } declare module "sk/product/plugin/PdmsProductTrackEnum" { import { StatisticsTrackDeclare } from 'foundation/core/module/statistics/StatisticsTrackDeclare'; import { StatisticsTracStageDeclare } from 'foundation/core/module/statistics/StatisticsTracStageDeclare'; export class PdmsProductTrackEnum { static Stage: StatisticsTracStageDeclare; static Start: StatisticsTrackDeclare; static Error: StatisticsTrackDeclare; static Fatal: StatisticsTrackDeclare; static Finish: StatisticsTrackDeclare; } } declare module "sk/product/plugin/frame/ControlIdentityEnum" { export enum ControlIdentityEnum { Main = "main", Home = "home", Login = "login", Logger = "logger" } } declare module "sk/product/plugin/frame/UiCenterTabFrame" { import * as React from 'react'; import { TabsProps } from 'antd/lib/tabs'; import { UiTabFrame } from 'sk/editor/frame/ui/frame/UiTabFrame'; export class UiCenterTabFrame extends UiTabFrame { protected tabRender: (props: TabsProps, DefaultTabBar: any) => React.JSX.Element; render(): JSX.Element; } } declare module "sk/product/plugin/frame/WorkspaceFrame" { import { UiDesktopFrame } from 'foundation/editor/ui/desktop/UiDesktopFrame'; import { FrameDeclareService } from 'sk/editor/frame/service/frame/FrameDeclareService'; export interface WorkspaceFrameState { logined: boolean; collapsed: boolean; menuCode: string; menuName: string; menuNew: boolean; } export class WorkspaceFrame extends UiDesktopFrame { state: WorkspaceFrameState; protected _menuCode: string; private _menuNew; private tabRef; protected _frameDeclareService: FrameDeclareService; constructor(props?: any, context?: any); onMenuLoaded: () => void; onMenuToggle: (event: any) => void; onMenuClick: (code: string, path: any[], ctrl?: boolean) => void; login(): void; logout(): void; makeFrame: (frameName: string, subName: string, props: any) => JSX.Element; protected getFrameName(frameName: string): string; makePageRouter(): JSX.Element; configLocale(jconfig: any): void; render(): JSX.Element; } } declare module "sk/product/plugin/ProductPlugin" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { ResultEnum } from 'cross/runtime/lang/ResultEnum'; import { ThreadService } from 'cross/runtime/module/thread/ThreadService'; import { PluginBase } from 'cross/runtime/framework/plugin/PluginBase'; import { PluginContext } from 'cross/runtime/framework/plugin/PluginContext'; import { PluginResult } from 'cross/runtime/framework/plugin/PluginResult'; import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService'; import { LoginEvent } from 'cross/data/module/logic/login/LoginEvent'; import { LoginLogicService } from 'cross/data/module/logic/login/LoginLogicService'; import { MessageService } from 'cross/data/module/message/MessageService'; import { GlobalSetLogicService } from 'foundation/data/common/service/GlobalSetLogicService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { UiDesktopSideSpace } from 'foundation/editor/ui/desktop/UiDesktopSideSpace'; import { UiDesktopWorkSpace } from 'foundation/editor/ui/desktop/UiDesktopWorkSpace'; import { UiControlService } from 'foundation/editor/ui/UiControlService'; import { WorkflowProcessService } from 'sk/data/family/workflow/WorkflowProcessService'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { UiDynamicSiderBar } from 'sk/editor/frame/ui/UiDynamicSiderBar'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { FamilyCategoryStorageService } from 'sk/editor/product/module/family/category/storage/FamilyCategoryStorageService'; import { FamilyTypeStorageService } from 'sk/editor/product/module/family/type/storage/FamilyTypeStorageService'; import { AttributeStorageService } from 'sk/editor/product/module/attribute/storage/AttributeStorageService'; import { WorkspaceFrame } from "sk/product/plugin/frame/WorkspaceFrame"; export class ProductPlugin extends PluginBase { controlSidebar: UiDynamicSiderBar; controlWorkspace: WorkspaceFrame; protected _sideSpace: UiDesktopSideSpace; protected _workSpace: UiDesktopWorkSpace; protected _defaultOpen: boolean; protected _messageService: MessageService; protected _threadService: ThreadService; protected _desktopService: UiDesktopService; protected _controlService: UiControlService; protected _loginService: LoginLogicService; protected _workflowProcessService: WorkflowProcessService; protected _databaseService: DatabaseDeviceService; protected _schemeConfigService: SchemeConfigService; protected _globalSetLogicService: GlobalSetLogicService; protected _familyTypeStorageService: FamilyTypeStorageService; protected _familyCategoryStorageService: FamilyCategoryStorageService; protected _attributeStorageService: AttributeStorageService; protected _uiFrameService: UiFrameService; protected readonly _menuName = "sk.platform.furniture"; constructor(); onWorkspaceRef: (value: WorkspaceFrame) => void; getMenuName: (key: string) => string; onMenuLoaded: () => void; private makeSiderBar; private makeSiderBarComponent; loadPanel(): void; onLoginSuccessAsync(sender: ListenerContext, event: LoginEvent): Promise; activeAsync(context: PluginContext): Promise; initLoadSystemAsync(): Promise; create(context: PluginContext, jconfigure?: any): ResultEnum; protected beforeunload: () => void; static get instance(): ProductPlugin; } } declare module "sk/product/plugin/frame/UiNavigatorBar" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export interface NavigatorBarState { menuCode: string; paths: Array; } export class UiNavigatorBar extends UiContainer { state: NavigatorBarState; elementMenu: any; changeMenu(paths: string[]): void; render(): JSX.Element; } }