;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/basemanage/show/UiLogicTableShowCategoryButtonCell" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent';
import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService';
import { UiTableCell, UiTableCellProps, UiTableCellState } from 'foundation/editor/ui/table/UiTableCell';
import { ProductShowCategoryController } from 'sk/frame/plugin/product/base/ui/datacontrollers/ProductShowCategoryController';
export interface UiLogicTableShowCategoryButtonCellProps extends UiTableCellProps {
treeController?: any;
}
export interface UiLogicTableShowCategoryButtonCellState extends UiTableCellState {
saving: boolean;
selectedKey: string;
parentData: any;
}
export class UiLogicTableShowCategoryButtonCell extends UiTableCell
{
protected _form: any;
protected treeController: ProductShowCategoryController;
protected _input: any;
protected _keyboardService: KeyboardDeviceService;
protected _visibleEditoFeatureBtn: boolean;
protected _disableEditFeatureBtn: boolean;
protected origins: any;
protected parentData: any;
constructor(props?: any, context?: any);
componentDidMount(): void;
componentWillUnmount(): void;
onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void;
onInputRef: (value: any) => void;
onInputFocus: () => void;
getRowId(): string;
onEdit: (event: any) => void;
onExitEdit: () => void;
private onDelete;
onInsertChild: () => any;
getTreeNodes(dataSource: any, key: string): any;
protected getNewRowData(): any;
onSave: (event: any) => Promise;
onCancel: (event: any) => Promise;
protected resetRowCells(): void;
reset(): void;
onCaLinking: (record: any) => void;
onSort: (type: any) => Promise;
onCheckClick: () => void;
onEditorClick: () => Promise;
onCellClick: (event: any) => void;
renderContent(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/basemanage/show/UiLogicTableShowCategoryButtonColumn" {
import { UiTableColumn, UiTableColumnProps, UiTableColumnState } from 'foundation/editor/ui/table/UiTableColumn';
export enum LogicButtonTypeEnum {
defalut = 0,
attributeConfig = 1
}
export interface UiLogicTableShowCategoryButtonColumnProps extends UiTableColumnProps {
type?: LogicButtonTypeEnum | null;
onCheckClick?: any;
setRowStatus?: any;
editableStatus?: boolean;
editorAttribute?: boolean;
editorAttributeHandle?: any;
insertResponse?: any;
editableSaveOrCancel?: boolean;
onUpdateDateSource?: any;
editFeature?: boolean;
controller?: any;
dataSource?: any;
onCaLinking?: any;
}
export interface UiLogicTableShowCategoryButtonColumnState extends UiTableColumnState {
parentData: any;
}
export class UiLogicTableShowCategoryButtonColumn extends UiTableColumn
{
props: UiLogicTableShowCategoryButtonColumnProps;
state: UiLogicTableShowCategoryButtonColumnState;
constructor(props?: any, context?: any);
}
}
declare module "sk/frame/plugin/product/basemanage/show/ProductShowCategoryPage" {
import { Types } from 'cross/runtime/lang/collection/Types';
import { DateTime } from 'cross/runtime/lang/DateTime';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { PdmsBasePage, PdmsBasePageProps, PdmsBasePageState } from 'sk/frame/plugin/product/base/ui/base/PdmsBasePage';
import { ProductShowDatasetController } from "sk/frame/plugin/product/basemanage/show/ProductShowDatasetController";
export class ModalTypeCode {
static CatLinking: string;
static CopyCategory: string;
}
type ShowCategoryDataSet = {
key?: string;
id?: string;
isShow?: boolean;
name?: string;
picture?: any;
showTypeCd?: string;
creator?: string;
updateDate?: DateTime;
levelCd?: number;
children?: Array;
dataOrder?: number;
parentId?: string;
showCd?: string;
isTop?: boolean;
isBottom?: boolean;
};
export interface PublicShowCategoryPageProps extends PdmsBasePageProps {
}
export interface PublicShowCategoryPageState extends PdmsBasePageState {
sortValue: any;
searchMode: string;
searchValue: string;
scrolHeight: number;
copyState: boolean;
dataSource: Array;
selectedRowKeys: Array;
modalVisible: boolean;
batchVisible: boolean;
copyVisible: boolean;
modalType: ModalTypeCode;
treeController: any;
}
export class ProductShowCategoryPage extends PdmsBasePage {
eprops: PublicShowCategoryPageProps;
state: any;
protected _datasetController: ProductShowDatasetController;
dataSource: Array;
protected _selectedRowKeys: Array;
protected selectKeys: Types;
oldIds: Array;
constructor(props: any, context?: any);
protected createInstance(): void;
componentDidMount(): void;
private initStateSet;
private initDatasSet;
loadDefaultAsync(): Promise;
private categoryDatasetLoadAsync;
makeTreeNodes(items: Array, num: number, parentId?: string): Array;
onSaveCheckAsync: (parameters: any) => Promise;
setRowStatus: (options: any) => void;
onRowEdit: (rowKeys: any) => void;
onUpdateDateSource: (treeController: any) => Promise;
afterClosePick: () => void;
close: () => void;
checkCodeAsync: (code: any) => Promise;
protected onInsertClick: () => void;
protected getNewRowData(): any;
protected onCaLinking: () => void;
protected onCopyCategoryClick: () => void;
protected onDesignShowClick: () => void;
afterSubmit: (e: any) => void;
afterClose: () => void;
afterBatchSubmit: (e: any) => Promise;
onSearchCilck: (dataSource: Array) => void;
mergeDatas(allData: Array, treeData: Array): Array;
afterBatchClose: () => void;
private onRowChange;
private handleExpand;
protected makeTable(): JSX.Element;
protected makeHeader(): JSX.Element;
protected makeExtraContent(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/basemanage/show/ProductShowCategoryModal" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ProductCategoryController } from 'sk/frame/plugin/product/base/ui/datacontrollers/ProductCategoryController';
import { UiPdmsLogicTree } from 'sk/frame/plugin/product/base/ui/frame/UiPdmsLogicTree';
export class ProductShowCategoryModal extends UiContainer {
afterClose: any;
afterSubmit: any;
columns: any;
publishProcess: number;
protected _tree: UiPdmsLogicTree;
protected _treeController: ProductCategoryController;
constructor(props: any, context?: any);
componentDidMount(): void;
componentPropsChange(nextProps: any, nextContext: any): void;
loadCategoryInfo(props: any): void;
initAsync: () => Promise;
initProductNumAsync(): Promise;
onOKAsync: () => Promise;
onCancel: (e: any) => void;
onPageChangeSubmit: (page: any) => void;
protected onNodeSelectChange: (keys: Array) => Promise;
protected onNodeChangeAsync: (keys: Array) => void;
onTreeRef: (value: any) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/chest/ChestDatasetController" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { PdmsFamilyDatasetController } from 'sk/frame/plugin/product/base/ui/base/PdmsFamilyDatasetController';
export class ChestDatasetController extends PdmsFamilyDatasetController {
typeId: string;
type: number;
isNonSaleProduct: boolean;
constructor();
onFetchAsync: (handle: any) => () => Promise;
fetchAsync: () => Promise;
insertAsync(data: any): Promise;
updateAsync(data: any): Promise;
deleteAsync(id: string): Promise;
pasteAsync(path: any): Promise;
}
}
declare module "sk/frame/plugin/product/chest/Chestpage" {
import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService';
import { PdmsGlobalCodeEnum } from 'sk/data/furniture/pdms/enum/PdmsGlobalCodeEnum';
import { PdmsBasePage } from 'sk/frame/plugin/product/base/ui/base/PdmsBasePage';
import { ChestDatasetController } from "sk/frame/plugin/product/chest/ChestDatasetController";
export class Chestpage extends PdmsBasePage {
props: any;
state: any;
protected _documentService: FamilyDocumentService;
protected _datasetController: ChestDatasetController;
currentCategoryCodeEnum: PdmsGlobalCodeEnum;
currentTypeCodeEnum: PdmsGlobalCodeEnum;
hardWareEditorRef: any;
copyRow: any;
typeId: string;
initCategoryId: string;
constructor(props: any, context?: any);
protected createInstance(): void;
componentStatusChange(state: any, props: any): void;
componentDidMount(): void;
componentPropsChange(props: any, state: any): void;
getNewDataAsync(): Promise;
initDefaultIdAsync(): Promise;
showNormalConfirm: (text: any) => void;
refreshSele(): void;
judgeNameAsync: (value: any) => Promise;
judgeCodeAsync: (value: any) => Promise;
onSaveCheckAsync: (parameters: any) => Promise;
protected onNodeChangeAsync(keys: Array): Promise;
onClickeditorAttributeHandle: (record: any) => Promise;
protected makeTable(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/common/ModelDataDeclare" {
export interface InsertModelData {
code: string;
description: string;
id: string;
name: string;
uri: string;
url: string;
version: string;
checked: boolean;
}
}
declare module "sk/frame/plugin/product/common/TreeDataDeclare" {
export interface TreeNode {
title: string;
key: string;
value: string;
children?: TreeNode[];
}
}
declare module "sk/frame/plugin/product/componentmaterial/material/AddMainDataModal" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { RuleEditorFrameLine } from 'sk/frame/plugin/product/base/ui/pdmseditordocument/RuleEditorFrameLine';
class VariableState {
visible: boolean;
title: string;
name: string;
code: string;
scriptText: string;
nameMsg: string;
codeMsg: string;
treeNodeKey: string;
canSubmit: boolean;
}
export class AddMainDataModal extends UiContainer {
state: VariableState;
private afterClose;
private afterSubmit;
ruleEditorInstance: RuleEditorFrameLine;
private formRef;
constructor(props: any, context?: any);
componentStatusChange(state: any, props: any): void;
componentDidMount(): void;
initData: () => void;
onOK: (e: any) => void;
showNormalConfirm: (text: any) => void;
judgeNameAsync: (value: any) => Promise;
insertData: (value: any) => Promise;
editRuleDocumentAsync: (id: any, value: any) => Promise;
onCancel: (e: any) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/componentmaterial/material/ComponentMaterialPage" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
class ComponentMaterialState {
dataSource: Array;
selectedRowKeys: any;
selectedRow: any;
sortValue: string;
fieldName: string;
ifAsc: boolean;
pageCurrent: number;
totalRecord: number;
pageSize: number;
totalPage: number;
searchValue: string;
modalType: string;
emptyText: string;
editorFieldsVisible: boolean;
materialModalVisible: boolean;
materialModalTitle: string;
treeNodeKey: string;
copyId: string;
initCategoryId: string;
typeId: string;
collapsed: boolean;
veneerCategoryId: string;
isVeneerCategory: boolean;
textureModalVisible: boolean;
resourceTypeId: string;
initTextureCategoryId: string;
}
export class ComponentMaterialPage extends UiContainer {
state: ComponentMaterialState;
treeRef: any;
refModal: any;
textureRef: any;
constructor(props: any, context?: any);
componentDidMount(): void;
initDefaultIdAsync(): Promise;
columns: ({
title: string;
dataIndex: string;
width: string;
render: (text: any, record: any, index: any) => any;
} | {
title: string;
width: string;
dataIndex: string;
render?: undefined;
})[];
veneerColumns: ({
title: string;
dataIndex: string;
width: string;
render: (text: any, record: any, index: any) => any;
} | {
title: string;
width: string;
dataIndex: string;
render?: undefined;
})[];
onSearchChange: (searchValue: any) => void;
onSearchClear: (searchValue: any) => void;
clearSearch: () => void;
onSortChange: (sortValue: any) => void;
rowChange: (record: any, index: any) => void;
onClick: (modalType: any) => () => void;
showDeleteDataConfirm: () => void;
deleteData: () => Promise;
afterClose: () => void;
afterSubmit: () => void;
collapseChange: (c: any, t: any) => void;
nodeChange: (keys: any) => void;
goSearch: () => Promise;
getTextureNameAsync: (id: any) => Promise;
refreshSele(): void;
recordChangeAsync: (record: any) => Promise;
judgeNameAsync: (value: any) => Promise;
pageChange: (page: any, pageSize: any) => void;
showNormalConfirm: (text: any) => void;
searchName: () => void;
afterClosePick: () => void;
afterSubmitPick: (params: any) => void;
updateMaterialFeatures: (id: any) => Promise;
private textureColumns;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/decoratesurfacemanage/DecorateSurfaceDatasetController" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { PdmsFamilyDatasetController } from 'sk/frame/plugin/product/base/ui/base/PdmsFamilyDatasetController';
import { FamilyCodeService } from 'sk/frame/plugin/product/base/service/FamilyCodeService';
export class DecorateSurfaceDatasetController extends PdmsFamilyDatasetController {
typeId: string;
type: number;
isNonSaleProduct: boolean;
protected _familyCodeService: FamilyCodeService;
onFetchAsync: (handle: any) => () => Promise;
judgeRepeatAsync(rows: Array): Promise;
fetchAsync: () => Promise;
insertAsync(data: any): Promise;
updateAsync(data: any): Promise;
deleteAsync(id: string): Promise;
pasteAsync(path: any): Promise;
getTypeIdAsync(typeCode: string): Promise;
updateFeatures(data: any): string;
}
}
declare module "sk/frame/plugin/product/resource/component/ResourceDatasetController" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { PdmsBaseDatasetController } from 'sk/frame/plugin/product/base/ui/base/PdmsBaseDatasetController';
export class ResourceDatasetController extends PdmsBaseDatasetController {
judgeCodeAsync(value: any): Promise;
judgeNameAsync(value: string): Promise;
onFetchAsync: (handle: any) => () => Promise;
fetchAsync: () => Promise;
getRowDataById(id: string): Promise;
insertAsync(data: any): Promise;
updateAsync(data: any): Promise;
deleteAsync(id: string): Promise;
protected onReloadSystemConfigAsync: () => Promise;
}
}
declare module "sk/frame/plugin/product/resource/component/TextureUploadModal" {
import { UiPdmsLogicModal, UiPdmsLogicModalProps, UiPdmsLogicModalState } from 'sk/frame/plugin/product/base/ui/frame/UiPdmsLogicModal';
import { ResourceDatasetController } from "sk/frame/plugin/product/resource/component/ResourceDatasetController";
export interface TextureUploadModalProps extends UiPdmsLogicModalProps {
}
export interface TextureUploadModalState extends UiPdmsLogicModalState {
importProgressVisible: boolean;
visible: boolean;
previewFile: File;
previewFiles: any;
materialDiffuseFile: File;
effectId: string;
effectName: string;
confirmLoading: boolean;
categoryId: string;
effectModalVisible: boolean;
inspectVisible: boolean;
nameMsg: string;
codeMsg: string;
judgePercent: number;
num_all_wrongPic: number;
num_name_wrongPic: number;
num_code_wrongPic: number;
num_nameCopy_repeatPic: number;
have_num_code_repeatPic: number;
num_code_repeatPic: number;
num_png_wrongPic: number;
num_jpg_wrongPic: number;
num_noNameOrCode_wrongPic: number;
numSuccess: number;
filesCount: number;
file_name_wrongPic: string[];
file_code_wrongPic: string[];
file_nameCopy_repeatPic: string[];
have_file_code_repeatPic: string[];
file_code_repeatPic: string[];
file_png_wrongPic: string[];
file_jpg_wrongPic: any[];
file_noNameOrCode_wrongPic: string[];
file_all_wrongPic: Set;
record: any;
}
export class TextureUploadModal extends UiPdmsLogicModal {
props: any;
protected _datasetController: ResourceDatasetController;
private afterClose;
private afterSubmit;
state: TextureUploadModalState;
constructor(props: any, context?: any);
componentStatusChange(state: any, props: any): void;
componentDidMount(): void;
judgeCodeInArray: (code: any, array: any) => boolean;
beforePreviewUpload: (file: any, FileList: any) => Promise;
handleChange: (info: any) => void;
onSelectEffect: () => void;
onBatchImport: (e: any) => Promise;
onInspect: () => void;
onInspectButton: () => void;
onCancel: () => void;
showNormalConfirm: () => void;
afterClosePick: () => void;
afterSubmitPick: (params: any) => void;
customRequest: (options: any) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/decoratesurfacemanage/DecorateSurfacePage" {
import { UiLogicRow } from 'sk/editor/logic/ui/dataset/UiLogicRow';
import { PdmsBasePage, PdmsBasePageProps, PdmsBasePageState } from 'sk/frame/plugin/product/base/ui/base/PdmsBasePage';
import { DecorateSurfaceTypeEnum } from 'sk/frame/plugin/product/base/enum/DecorateSurfaceTypeEnum';
import { FamilyCodeService } from 'sk/frame/plugin/product/base/service/FamilyCodeService';
import { DecorateSurfaceDatasetController } from "sk/frame/plugin/product/decoratesurfacemanage/DecorateSurfaceDatasetController";
export interface DecorateSurfacePageProps extends PdmsBasePageProps {
}
export interface DecorateSurfacePageState extends PdmsBasePageState {
sortValue: any;
searchMode: string;
searchValue: string;
scrolHeight: number;
copyState: boolean;
selectedKeys: Array;
type: DecorateSurfaceTypeEnum;
}
export class DecorateSurfacePage extends PdmsBasePage {
props: DecorateSurfacePageProps;
state: any;
protected _datasetController: DecorateSurfaceDatasetController;
protected _familyCodeService: FamilyCodeService;
protected _initCategoryId: string;
private _onPickChange;
constructor(props: any, context?: any);
protected createInstance(): void;
componentDidMount(): void;
componentPropsChange(props: any, state: any): void;
getNewDataAsync(): Promise;
initDefaultIdAsync(): Promise;
protected onNodeChangeAsync(keys: Array): Promise;
onSaveCheckAsync: (parameters: any) => Promise;
protected getNewRowData(): any;
protected makeTypeOptions(): Array;
onMultipleSelectChange: (value: Array, record: any) => void;
onSelectEffect: (record: any, onPickChange: any) => void;
protected makeExtraContent(): any[];
onPngPictureClick: () => void;
onJpgPictureClick: () => void;
onInspectButton: () => void;
afterClose: () => void;
onSuccessButton: () => void;
onInspect: () => void;
afterClosePick: () => void;
protected afterSubmitPick: (params: Array) => void;
afterSubmit: (numSuccess: any, numFailture: any, filesFailture: any) => void;
onTypeChange(type: DecorateSurfaceTypeEnum): void;
protected makeTable(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/doormanage/CustomDoorTypeDatasetController" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { DateTimeService } from 'cross/runtime/module/date/DateTimeService';
import { PdmsBaseDatasetController } from 'sk/frame/plugin/product/base/ui/base/PdmsBaseDatasetController';
export class CustomDoorTypeDatasetController extends PdmsBaseDatasetController {
protected _dateTimeService: DateTimeService;
judgeName(value: string, id?: string): boolean;
onFetchAsync: (handle: any) => () => Promise;
fetchAsync: () => Promise;
insertAsync(data: any): Promise;
updateAsync(data: any): Promise;
deleteAsync(id: string): Promise;
}
}
declare module "sk/frame/plugin/product/doormanage/CustomDoorTypeModal" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { CustomDoorTypeDatasetController } from "sk/frame/plugin/product/doormanage/CustomDoorTypeDatasetController";
export interface CustomDoorTypeModalState {
visible: boolean;
}
export class CustomDoorTypeModal extends UiContainer {
state: CustomDoorTypeModalState;
protected _datasetController: CustomDoorTypeDatasetController;
constructor(props: any, context?: any);
UNSAFE_componentWillReceiveProps(nextProps: any, nextContext: any): void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/doormanage/DoorDatasetController" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { PdmsFamilyDatasetController } from 'sk/frame/plugin/product/base/ui/base/PdmsFamilyDatasetController';
export class DoorDatasetController extends PdmsFamilyDatasetController {
type: number;
constructor();
onFetchAsync: (handle: any) => () => Promise;
getDoorOpenDirection(rows: any): any;
fetchAsync: () => Promise;
insertAsync(data: any): Promise;
updateAsync(data: any): Promise;
deleteAsync(id: string): Promise;
pasteAsync(path: any): Promise;
}
}
declare module "sk/frame/plugin/product/doormanage/DoorPage" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { PdmsBasePage, PdmsBasePageProps, PdmsBasePageState } from 'sk/frame/plugin/product/base/ui/base/PdmsBasePage';
import { FamilyCodeService } from 'sk/frame/plugin/product/base/service/FamilyCodeService';
import { DoorDatasetController } from "sk/frame/plugin/product/doormanage/DoorDatasetController";
export interface DoorPageProps extends PdmsBasePageProps {
}
export interface DoorPageState extends PdmsBasePageState {
sortValue: any;
searchMode: string;
searchValue: string;
scrolHeight: number;
copyState: boolean;
customDoorTypeModalVisible: boolean;
}
export class DoorPage extends PdmsBasePage {
props: DoorPageProps;
state: any;
protected _datasetController: DoorDatasetController;
protected _actionService: ActionService;
protected _familyCodeService: FamilyCodeService;
constructor(props: any, context?: any);
protected createInstance(): void;
componentDidMountAsync(): Promise;
initDefaultIdAsync(): Promise;
protected setProperties(key: string): any;
onSaveCheckAsync: (parameters: any) => Promise;
protected makeExtraContent(): any;
onCustomDoorTypeSubmit: () => void;
onCustomDoorTypeClose: () => void;
protected onCustomDoorTypeClick: () => void;
protected makeHeader(): JSX.Element;
protected makeTable(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/doorwindowmanage/component/DoorWindowInsertModal" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ModelDocumentService, ModelMeshProps } from 'sk/data/resource/model/service/ModelDocumentService';
import { InsertModelData } from "sk/frame/plugin/product/common/ModelDataDeclare";
interface DoorWindowInsertFormData {
lengthX: number;
lengthY: number;
lengthZ: number;
model: string;
type: string;
designPosition: string;
name: string;
code: string;
}
interface DoorWindowInsertState {
treeNodeKey: string;
canSubmit: boolean;
showResourcePicker: boolean;
loadResultContent: ModelMeshProps;
pageCurrent: number;
pageSize: number;
modelTypeId: string;
categoryCodeEnum: string;
totalPage: number;
insertData: InsertModelData;
searchvalue: string;
cardDatas: InsertModelData[];
radioValue: string;
scenePositionValue: string;
searchValue: string;
sortValue: string;
type: string;
selectValue: string;
doorWindowType: string;
}
export interface DoorWindowInsertRequestParams {
tenantId: string;
libraryId: string;
typeId: string;
categoryId: string;
features: string;
name: string;
code: string;
content: Object;
dataIcon: string | null;
}
export class DoorWindowInsertModal extends UiContainer {
treeRef: any;
treeId: string;
typeId: string;
state: DoorWindowInsertState;
protected _modelDocumentService: ModelDocumentService;
private _typeTree;
private formRef;
constructor(props: any, context?: any);
componentDidMount(): void;
initDefaultIdAsync(): Promise;
loadDataAsync: () => Promise;
onOK: (e: any) => void;
showNormalConfirm: (text: any) => void;
judgeNameAsync: (value: any) => Promise;
judgeCodeAsync: (value: any) => Promise;
judgeModel: () => Promise;
insertDataAsync: (value: DoorWindowInsertFormData) => Promise;
onRadioClick: (value: InsertModelData) => void;
onRadioChange: (e: any) => void;
onCancel: () => void;
getCardList: () => JSX.Element;
searchTips: (value: any) => void;
listChange: (page: any) => void;
private searchNameAndCode;
onSearchChange: (searchValue: any) => void;
private onSortChange;
private onRadioSortChange;
private makeResourcePicker;
private loadResourceDataAsync;
private searchClick;
private onTypeChange;
private onScenePositionChange;
private createTypeTreeNode;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/doorwindowmanage/DoorWindowDatasetController" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService';
import { FamilyPageResponseContentVo } from 'sk/data/logic/module/message/FamilyPageResponse';
import { FamilySymbolService } from 'sk/frame/logic/storage/module/family/symbol/FamilySymbolService';
import { PdmsFamilyDatasetController } from 'sk/frame/plugin/product/base/ui/base/PdmsFamilyDatasetController';
import { DoorWindowInsertRequestParams } from "sk/frame/plugin/product/doorwindowmanage/component/DoorWindowInsertModal";
interface DoorWindowProductData extends FamilyPageResponseContentVo {
isPublishProduct: boolean;
}
export class DoorWindowDatasetController extends PdmsFamilyDatasetController {
typeId: string;
type: number;
isNonSaleProduct: boolean;
isBoth: boolean;
protected _documentService: FamilyDocumentService;
protected _familySymbolService: FamilySymbolService;
constructor();
judgeRepeatAsync(rows: Array): Promise;
onFetchAsync: (handle: any) => () => Promise;
fetchAsync: () => Promise;
insertAsync(params: DoorWindowInsertRequestParams): Promise;
updateAsync(data: any): Promise;
delePriceSystemAsync: (familyid: string) => Promise;
delePriceConfigAsync: (familyid: string) => Promise;
findMaterialAsync: (familyid: any) => Promise;
deleteMaterialAsync: (materialId: any) => Promise;
deleteAsync(id: string): Promise;
pasteAsync(path: any): Promise;
copyDomAsync: (oldId: any, newId: any) => Promise;
updateMaterialfamilyAsync: (familyId: any) => Promise;
copyPriceSystemAsync: (familyid: any, newId: any) => Promise;
copyPriceConfigAsync: (familyid: any, newId: any) => Promise;
}
}
declare module "sk/frame/plugin/product/doorwindowmanage/component/DoorWindowCard" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { StandardConfigConst } from 'sk/frame/plugin/product/base/const/StandardConfigConst';
import { DoorWindowDatasetController } from "sk/frame/plugin/product/doorwindowmanage/DoorWindowDatasetController";
import { DoorWindowDataSource } from "sk/frame/plugin/product/doorwindowmanage/DoorWindowPage";
interface DoorWindowCardState {
dataSource: DoorWindowDataSource[];
batchOperationType: string;
}
export class DoorWindowCard extends UiContainer {
props: any;
state: DoorWindowCardState;
protected _datasetController: DoorWindowDatasetController;
protected _standardConfigConst: typeof StandardConfigConst;
constructor(props: any, context?: any);
componentPropsChange(props: any, state: DoorWindowCardState): void;
showDeleteDataConfirm: (id: string) => void;
deleteDataAsync: (id: string) => Promise;
private onCheckChange;
private onEditorDocClickAsync;
makeCardList(): JSX.Element[];
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/doorwindowmanage/component/DoorWindowMutiInsertModal" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService';
export class DoorWindowMutiInsertModal extends UiContainer {
state: any;
treeRef: any;
treeId: string;
standardTypeId: string;
protected _modelDocumentService: ModelDocumentService;
private formRef;
constructor(props: any, context?: any);
componentStatusChange(state: any, props: any): void;
componentDidMount(): void;
initDefaultIdAsync(): Promise;
listChange: (page: any, pageSize: any) => void;
loadDataAsync: () => Promise;
showNormalConfirm: (text: any) => void;
onOK: (e: any) => void;
private loadResourceDataAsync;
checkCodeAsync: (code: string) => Promise;
judgeCodeAsync(value: any): Promise;
standardMutiInsert: (value: any) => Promise;
onCancel: (e: any) => void;
getCardList: () => any;
onCheckboxClick(value: any): void;
nodeChange: (keys: any[]) => void;
private onScenePositionChange;
onSearchChange: (searchValue: any) => void;
private searchNameAndCode;
private onRadioSortChange;
renderSelect: () => Array;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/doorwindowmanage/DoorWindowPage" {
import * as React from 'react';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService';
import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService';
import { FamilyPageResponseContentVo } from 'sk/data/logic/module/message/FamilyPageResponse';
import { MaterialFamilyGetMaterialResponseMaterialUnitVo } from 'sk/data/logic/module/message/MaterialFamilyGetMaterialResponse';
import { ProductDatasetController } from 'sk/frame/plugin/product/base/ui/component/productpublish/ProductDatasetController';
import { PdmsBasePage, PdmsBasePageState } from 'sk/frame/plugin/product/base/ui/base/PdmsBasePage';
import { FamilyCodeService } from 'sk/frame/plugin/product/base/service/FamilyCodeService';
import { FamilyEditorFrameStandardNormal } from 'sk/frame/plugin/product/editor/standard/FamilyEditorFrameStandardNormal';
import { DoorWindowDatasetController } from "sk/frame/plugin/product/doorwindowmanage/DoorWindowDatasetController";
export interface DoorWindowDataSource extends FamilyPageResponseContentVo {
isChecked: boolean;
isPublishProduct: boolean;
}
interface DoorWindowPageState extends PdmsBasePageState {
dataSource: DoorWindowDataSource[];
insertModelVisible: boolean;
multiInsertModelVisible: boolean;
batchOperationType: string;
currentPage: number;
pageSize: number;
selectedKeys: string;
totalRecords: number;
pasteLoading: boolean;
keys: number;
searchValue: string;
categoryName: string;
familySymbolId: string;
businessTypeId: string;
visible: boolean;
selectFamilyRows: DoorWindowDataSource[];
selectFamily: boolean;
selectTree: boolean;
}
export class DoorWindowPage extends PdmsBasePage {
props: any;
state: DoorWindowPageState;
treeRef: any;
hardWareEditorRef: any;
copyRow: any;
resourceRef: any;
protected _datasetController: DoorWindowDatasetController;
protected _productDatasetController: ProductDatasetController;
protected multiInsertTreeId: string;
protected pdmsFamilyEditorFrame: FamilyEditorFrameStandardNormal;
treeNodeKey: string;
protected _initialCategoryId: string;
private _typeTree;
private standardPanel;
protected _documentService: FamilyDocumentService;
protected _modelDocumentService: ModelDocumentService;
protected _familyCodeService: FamilyCodeService;
constructor(props: any, context?: any);
protected createInstance(): void;
componentDidMount(): void;
componentPropsChange(props: any, state: DoorWindowPageState): void;
getNewDataAsync(): Promise;
private updateData;
private createTypeTreeNode;
private getTypeTreeAsync;
initDefaultIdAsync(): Promise;
protected onNodeChangeAsync(keys: Array): Promise;
showNormalConfirm: (text: string) => void;
judgeCodeAsync: (value: any) => Promise;
protected onInsertModalOpen: () => void;
protected onMultiInsertModalOpen: () => void;
onInsertModalClose: () => void;
onMultiInsertModalClose: () => void;
showDeleteDataConfirm: () => void;
deleteMutiDataAsync: () => Promise;
showDeleteErrorProductsMessage(productNames: string): void;
findMaterialAsync: (familyId: string) => Promise;
deleteMaterialAsync: (materialId: string) => Promise;
delePriceSystemAsync: (familyId: string) => Promise;
delePriceConfigAsync: (familyId: string) => Promise;
findFamilySymbolAsync: (familyId: string) => Promise;
afterInsertModalSubmit: () => Promise;
afterMultiInsertModalSubmit: () => Promise;
refresh: () => Promise;
onSearchChange: (searchValue: React.ChangeEvent) => void;
onProductChange: (searchValue: string) => void;
onTypeChange: (searchValue: string) => Promise;
searchNameAndCode: () => Promise;
onPageChange: (page: number, pageSize: number) => void;
protected makeSelectContent(): JSX.Element;
updateProductStatus: (id: string) => void;
protected makeExtraContent(): JSX.Element;
protected makeTable(): JSX.Element;
private afterCloseAsync;
onCopyClick: () => void;
onPasteClickAsync: () => Promise;
renderSelect: () => Array;
protected makeHeader(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/doorwindowmanage/index" {
export * from "sk/frame/plugin/product/doorwindowmanage/DoorWindowPage";
}
declare module "sk/frame/plugin/product/standardmanage/component/StandardInsertModal" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ModelDocumentService, ModelMeshProps } from 'sk/data/resource/model/service/ModelDocumentService';
import { InsertModelData } from "sk/frame/plugin/product/common/ModelDataDeclare";
interface StandardInsertFormData {
lengthX: number;
lengthY: number;
lengthZ: number;
model: string;
type: string;
designPosition: string;
name: string;
code: string;
}
interface StandardInsertState {
treeNodeKey: string;
canSubmit: boolean;
showResourcePicker: boolean;
loadResultContent: ModelMeshProps;
pageCurrent: number;
pageSize: number;
modelTypeId: string;
categoryCodeEnum: string;
totalPage: number;
insertData: InsertModelData;
searchvalue: string;
cardDatas: InsertModelData[];
radioValue: string;
scenePositionValue: string;
searchValue: string;
sortValue: string;
type: string;
selectValue: string;
standardType: string;
}
export interface StandardInsertRequestParams {
tenantId: string;
libraryId: string;
typeId: string;
categoryId: string;
features: string;
name: string;
code: string;
content: Object;
dataIcon: string | null;
}
export class StandardInsertModal extends UiContainer {
treeRef: any;
treeId: string;
typeId: string;
state: StandardInsertState;
protected _modelDocumentService: ModelDocumentService;
private _typeTree;
private formRef;
constructor(props: any, context?: any);
componentDidMount(): void;
initDefaultIdAsync(): Promise;
loadDataAsync: () => Promise;
onOK: (e: any) => void;
showNormalConfirm: (text: any) => void;
judgeNameAsync: (value: any) => Promise;
judgeCodeAsync: (value: any) => Promise;
judgeModel: () => Promise;
insertDataAsync: (value: StandardInsertFormData) => Promise;
onRadioClick: (value: InsertModelData) => void;
onRadioChange: (e: any) => void;
onCancel: () => void;
getCardList: () => JSX.Element;
searchTips: (value: any) => void;
listChange: (page: any) => void;
private searchNameAndCode;
onSearchChange: (searchValue: any) => void;
private onSortChange;
private onRadioSortChange;
private makeResourcePicker;
private loadResourceDataAsync;
private searchClick;
private onTypeChange;
private onScenePositionChange;
private createTypeTreeNode;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/standardmanage/StandardDatasetController" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService';
import { FamilyPageResponseContentVo } from 'sk/data/logic/module/message/FamilyPageResponse';
import { FamilySymbolService } from 'sk/frame/logic/storage/module/family/symbol/FamilySymbolService';
import { PdmsBaseDatasetController } from 'sk/frame/plugin/product/base/ui/base/PdmsBaseDatasetController';
import { StandardInsertRequestParams } from "sk/frame/plugin/product/standardmanage/component/StandardInsertModal";
interface StandardProductData extends FamilyPageResponseContentVo {
isPublishProduct: boolean;
}
export class StandardDatasetController extends PdmsBaseDatasetController {
typeId: string;
type: number;
isNonSaleProduct: boolean;
isBoth: boolean;
protected _documentService: FamilyDocumentService;
protected _familySymbolService: FamilySymbolService;
constructor();
judgeCodeAsync(value: string, path: any): Promise;
judgeNameAsync(value: string): Promise;
judgeRepeatAsync(rows: Array): Promise;
onFetchAsync: (handle: any) => () => Promise;
fetchAsync: () => Promise;
insertAsync(params: StandardInsertRequestParams): Promise;
updateAsync(data: any): Promise;
delePriceSystemAsync: (familyid: string) => Promise;
delePriceConfigAsync: (familyid: string) => Promise;
findMaterialAsync: (familyid: any) => Promise;
deleteMaterialAsync: (materialId: any) => Promise;
deleteAsync(id: string): Promise;
pasteAsync(path: any): Promise;
copyDomAsync: (oldId: any, newId: any) => Promise;
updateMaterialfamilyAsync: (familyId: any) => Promise;
copyPriceSystemAsync: (familyid: any, newId: any) => Promise;
copyPriceConfigAsync: (familyid: any, newId: any) => Promise;
}
}
declare module "sk/frame/plugin/product/standardmanage/component/StandardCard" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { StandardConfigConst } from 'sk/frame/plugin/product/base/const/StandardConfigConst';
import { StandardDatasetController } from "sk/frame/plugin/product/standardmanage/StandardDatasetController";
import { StandardDataSource } from "sk/frame/plugin/product/standardmanage/StandardPage";
interface StandardCardState {
dataSource: StandardDataSource[];
batchOperationType: string;
}
export class StandardCard extends UiContainer {
props: any;
state: StandardCardState;
protected _datasetController: StandardDatasetController;
protected _standardConfigConst: typeof StandardConfigConst;
constructor(props: any, context?: any);
componentPropsChange(props: any, state: StandardCardState): void;
showDeleteDataConfirm: (id: string) => void;
deleteDataAsync: (id: string) => Promise;
private onCheckChange;
private onEditorDocClickAsync;
makeCardList(): JSX.Element[];
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/standardmanage/component/StandardMutiInsertModal" {
import * as React from 'react';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService';
import { InsertModelData } from "sk/frame/plugin/product/common/ModelDataDeclare";
interface StandardMutiInsertModalState {
title: string;
cardDatas: InsertModelData[];
treeNodeKey: string;
totalPage: number;
pageCurrent: number;
pageSize: number;
modelTypeId: string;
categoryCodeEnum: string;
mutiInsertData: InsertModelData[];
scenePositionValue: string;
searchValue: string;
sortValue: string;
loading: boolean;
}
export class StandardMutiInsertModal extends UiContainer {
state: StandardMutiInsertModalState;
treeRef: any;
treeId: string;
standardTypeId: string;
protected _modelDocumentService: ModelDocumentService;
private formRef;
constructor(props: any, context?: any);
componentDidMount(): void;
initDefaultIdAsync(): Promise;
listChange: (page: any, pageSize: any) => void;
loadDataAsync: () => Promise;
showNormalConfirm: (text: string) => void;
onOK: (e: any) => void;
private okAction;
debounce: (func: any, delay: number) => () => void;
private loadResourceDataAsync;
checkCodeAsync: (code: any) => Promise;
judgeCodeAsync(value: string): Promise;
standardMutiInsert: (value: any) => Promise;
onCancel: (e: any) => void;
getCardList: () => React.JSX.Element[];
onCheckboxClick(value: InsertModelData): void;
nodeChange: (keys: any) => void;
private onScenePositionChange;
onSearchChange: (searchValue: any) => void;
private searchNameAndCode;
private onRadioSortChange;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/product/standardmanage/StandardPage" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService';
import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService';
import { FamilyPageResponseContentVo } from 'sk/data/logic/module/message/FamilyPageResponse';
import { ProductDatasetController } from 'sk/frame/plugin/product/base/ui/component/productpublish/ProductDatasetController';
import { PdmsBasePage, PdmsBasePageState } from 'sk/frame/plugin/product/base/ui/base/PdmsBasePage';
import { FamilyCodeService } from 'sk/frame/plugin/product/base/service/FamilyCodeService';
import { FamilyEditorFrameStandardNormal } from 'sk/frame/plugin/product/editor/standard/FamilyEditorFrameStandardNormal';
import { StandardDatasetController } from "sk/frame/plugin/product/standardmanage/StandardDatasetController";
export interface StandardDataSource extends FamilyPageResponseContentVo {
isChecked: boolean;
isPublishProduct: boolean;
}
interface StandardPageState extends PdmsBasePageState {
dataSource: StandardDataSource[];
insertModelVisible: boolean;
mutiInsertModelVisible: boolean;
batchOperationType: string;
currentPage: number;
pageSize: number;
selectedKeys: string;
totalRecords: number;
pasteLoading: boolean;
keys: number;
searchValue: string;
categoryName: string;
}
export class StandardPage extends PdmsBasePage {
props: any;
state: StandardPageState;
treeRef: any;
hardWareEditorRef: any;
copyRow: any;
resourceRef: any;
treeNodeKey: string;
private _typeTree;
private standardPanel;
protected _datasetController: StandardDatasetController;
protected _productDatasetController: ProductDatasetController;
protected mutiInsertTreeId: string;
protected pdmsFamilyEditorFrame: FamilyEditorFrameStandardNormal;
protected _modelDocumentService: ModelDocumentService;
protected _documentService: FamilyDocumentService;
protected _familyCodeService: FamilyCodeService;
constructor(props: any, context?: any);
protected createInstance(): void;
componentDidMount(): void;
componentWillUnmount(): void;
componentPropsChange(props: any, state: StandardPageState): void;
initDefaultIdAsync(): Promise;
onDatasetLoaded(): void;
private createTypeTreeNode;
private getTypeTreeAsync;
protected onNodeChangeAsync(keys: Array): Promise;
showNormalConfirm: (text: string) => void;
judgeCodeAsync: (value: any) => Promise;
protected onInsertModalOpen: () => void;
protected onMutiInsertModalOpen: () => void;
onInsertModalClose: () => void;
onMutiInsertModalClose: () => void;
showDeleteDataConfirm: () => void;
deleteMultiDataAsync: () => Promise;
showDeleteErrorProductsMessage(productNames: string): void;
afterInsertModalSubmit: () => Promise;
afterMutiInsertModalSubmit: () => Promise;
refresh: () => Promise;
updateProductStatus: (id: string) => Promise;
onSearchChange: (searchValue: any) => void;
onProductChange: (searchValue: string) => void;
onTypeChange: (searchValue: string) => Promise;
renderSelect: () => Array;
searchNameAndCode: () => Promise