///
import { SFCWithInstall } from '../../shared/types';
export * from './src/utils';
declare const ButtonPrint: SFCWithInstall;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
prevPrintFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
queryTemplateParams: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
noDefaultFormatMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
printCustomProps: {
type: ObjectConstructor;
default: () => {};
};
resolution: {
type: NumberConstructor;
};
placement: {
type: StringConstructor;
default: string;
};
newPrintSetting: {
type: ObjectConstructor;
default: () => {};
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
isShowResetPrinter: {
type: BooleanConstructor;
default: boolean;
};
}>, {
$attrs: {
[x: string]: unknown;
};
props: import("@vue/shared").LooseRequired;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
prevPrintFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
queryTemplateParams: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
noDefaultFormatMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
printCustomProps: {
type: ObjectConstructor;
default: () => {};
};
resolution: {
type: NumberConstructor;
};
placement: {
type: StringConstructor;
default: string;
};
newPrintSetting: {
type: ObjectConstructor;
default: () => {};
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
isShowResetPrinter: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onSuccess?: ((...args: any[]) => any) | undefined;
onError?: ((...args: any[]) => any) | undefined;
onCancel?: ((...args: any[]) => any) | undefined;
onClickoutside?: ((...args: any[]) => any) | undefined;
onSaveOuterPrint?: ((...args: any[]) => any) | undefined;
}> & {}>;
__emits: (event: "success" | "error" | "cancel" | "clickoutside" | "saveOuterPrint", ...args: any[]) => void;
printComponentRef: import("vue").Ref;
isComponent: import("vue").ComputedRef;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
prevPrintFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
resolution: {
type: NumberConstructor;
};
newPrintSetting: {
type: ObjectConstructor;
default: () => {
isShowPrintAll: boolean;
printAllType: number;
hideTemplateCodes: never[];
isShowOutSetting: boolean;
customProps: {};
outerPrintKeys: never[];
defaultFormatId: string;
shortcut: {};
buttonProps: {};
showMaxHeight: null;
initLoadPrintParams: boolean;
showPreviewDataList: boolean;
noShowOutSettingText: boolean;
};
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
}>, {
isDomestic: boolean;
baseDownListSetting: {
label: string;
key: string;
}[];
$message: import("naive-ui/es/message").MessageApi;
printInstance: import("./src/utils").Print | null;
downloadPdfCode: string;
formatEditTextCode: string;
resetPrintButtonCode: string;
props: import("@vue/shared").LooseRequired;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
prevPrintFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
resolution: {
type: NumberConstructor;
};
newPrintSetting: {
type: ObjectConstructor;
default: () => {
isShowPrintAll: boolean;
printAllType: number;
hideTemplateCodes: never[];
isShowOutSetting: boolean;
customProps: {};
outerPrintKeys: never[];
defaultFormatId: string;
shortcut: {};
buttonProps: {};
showMaxHeight: null;
initLoadPrintParams: boolean;
showPreviewDataList: boolean;
noShowOutSettingText: boolean;
};
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
}>> & Readonly<{}> & {}>;
emit: any;
defaultFormatInfo: import("../../shared/types").AnyObject;
authorizationKey: import("vue").Ref;
state: any;
shortcutFn: import("vue").Ref;
options: import("vue").Ref;
realOptionList: import("vue").Ref;
operations: import("vue").Ref;
downlistOperation: any;
downlistPopover: any;
innerPrintItems: import("vue").Ref;
outerPrintItems: import("vue").Ref;
currentFormatItem: import("vue").ComputedRef;
formatTitle: import("vue").ComputedRef;
getTemplateIdByFormatId: import("vue").ComputedRef;
getTemplateCodeByFormatId: import("vue").ComputedRef;
isShowPrintAllBtn: import("vue").ComputedRef;
isShowOutSettingBtn: import("vue").ComputedRef;
printCustomProps: import("vue").ComputedRef;
defaultPrintFormatId: import("vue").ComputedRef;
isPrintAllType: import("vue").ComputedRef;
hideTemplateCodes: import("vue").ComputedRef;
shortcutSettings: import("vue").ComputedRef;
buttonProps: import("vue").ComputedRef;
showMaxHeight: import("vue").ComputedRef;
printAllFormatIds: import("vue").ComputedRef;
positionElement: import("vue").ComputedRef;
showPreviewDataList: import("vue").ComputedRef;
noShowOutSettingText: import("vue").ComputedRef;
printAllShortcut: import("vue").ComputedRef;
showSettingItems: import("vue").ComputedRef;
isSelectedAll: import("vue").WritableComputedRef;
innerFilterPrintItems: import("vue").ComputedRef;
initShowDownList: () => Promise;
printAllButtonClick: (origin: string) => Promise;
renderLabel: (option: import("../../shared/types").AnyObject) => any;
getDownList: (targetList: any[], curOuter: any) => any[];
handleTypeChange: (name: string, key: string) => void;
handleTypeClick: (name: string, key: string, option: any) => never[] | undefined;
savePrintOutSetting: () => void;
handleTwoShow: (name: string) => void;
handleClickOutHide: (showType: string) => void;
hiddenPopover: () => void;
callLocalServicesSuccessCb: (res: any, type: any) => void;
callLocalServicesErrorCb: (res: unknown) => void;
callLocalServicesCancelCb: (res: unknown) => void;
prevFnError: (type: string) => void;
getPrintParams: () => string;
getOnceParams: (curPrintParamList: any[] | undefined, templateCode: string, name?: string | undefined) => string;
handleClickPrintAll: () => void;
toggleExpandLoading: (isLoading: boolean, formatId?: string | undefined) => void;
getCurrentLoading: () => any;
handleOneTypePrint: (templateCode: string, templateId: string, formatId: string, isOuterClick: boolean) => void;
handleClickPrint: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string, printToParam?: never[], needContinuePrint?: boolean | undefined) => Promise;
handleClickPreview: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string, name?: string | undefined) => Promise;
handleClickPdf: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => Promise;
handleClickEdit: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => void;
handleResetPrinter: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => Promise;
handleSelect: (type: string, { templateCode, templateId, key }: import("../../shared/types").AnyObject, isOuterClick: boolean) => Promise;
handleClickOutside: () => void;
instantiatePrintSDK: () => false | undefined;
getDefaultFormatId: (list: any[], key: string | number) => Promise;
setOptions: () => void;
formatFormatList: (list: any[]) => any;
formatDefaultVal: (i: any, tableVal?: any) => any;
formatSomeTypeParams: (templateParams: any[], params?: any[]) => any;
formatSomeFormatIdTypeParams: (formatList?: any[], params?: any[]) => any;
formatPrintParams: (paramObj: any, fieldList: any[], keyName: string) => any;
formatItemParam: ({ customizeDataset, param }: {
customizeDataset?: never[] | undefined;
param?: never[] | undefined;
}, paramObj?: any) => any;
findTemplateAndInsertData: (mergeData: any, mergeOriginParams: any, paramItem: any, templateParams: any) => {
mergeOriginParams: any;
mergeData: any;
};
mergeTemplateList: (list: any[]) => any;
initCRM: (formatListResult: any) => Promise;
init: () => Promise;
registerShort: (obj?: any) => Promise;
handleClickBtn: (visible?: boolean) => Promise;
reformatPrintParams: () => void;
verifiySuccess: (token: string, templateCode: string) => void;
isPrintDisabled: (outer: any, j: number) => any;
directPrint: () => Promise;
directDefaultFormatPrint: (defaultFormatId: string) => Promise;
handleShortcutStartAndStop: (status: "start" | "stop") => void;
readonly NDropdown: any;
readonly NButton: any;
readonly NIcon: any;
readonly NPopover: any;
readonly NButtonGroup: any;
readonly NDivider: any;
readonly NCheckbox: any;
readonly PrintOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
readonly ChevronDownSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
readonly ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
readonly ArrowForwardOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
readonly SettingsOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
IdentityVerification: import("vue").DefineComponent Promise;
};
identityVerificationTitle: {
type: StringConstructor;
required: false;
default: string;
};
modelValue: {
type: BooleanConstructor;
required: true;
};
formatId: {
type: StringConstructor;
required: false;
};
templateId: {
type: StringConstructor;
required: false;
};
templateCode: {
type: StringConstructor;
required: false;
};
}>, {
$message: import("naive-ui/es/message").MessageApi;
DEFAULT_FORM: {
account: string;
password: string;
};
props: any;
emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
editFormRef: import("vue").Ref<{
submit: Function;
} | null, {
submit: Function;
} | {
submit: Function;
} | null>;
showEditForm: import("vue").Ref;
token: import("vue").Ref;
form: {
account: string;
password: string;
};
rules: import("naive-ui/es/form").FormRules;
style: {
width: string;
};
formRef: import("vue").Ref<{
validate: import("naive-ui/es/form/src/interface").FormValidate;
restoreValidation: () => void;
} | null, import("naive-ui/es/form").FormInst | {
validate: import("naive-ui/es/form/src/interface").FormValidate;
restoreValidation: () => void;
} | null>;
handleClickClose: () => void;
handleAfterLeave: () => void;
loading: import("vue").Ref;
submit: () => Promise;
handleClickSubmit: () => void;
submitEditFile: () => Promise;
readonly NButton: any;
readonly NModal: any;
readonly NForm: any;
readonly NFormItem: any;
readonly NInput: any;
EditFormat: import("vue").DefineComponent, {
PROTOCOL: string;
HOST: string;
BASEURL: string;
SAVEIREPORT: string;
QUERYFILELIST: string;
DELETEFILE: string;
instance: import("axios").AxiosInstance;
$message: import("naive-ui/es/message").MessageApi;
props: any;
fileList: import("vue").Ref<{
id: string;
name: string;
batchId?: string | null | undefined;
percentage?: number | null | undefined;
status: "error" | "pending" | "uploading" | "finished" | "removed";
url?: string | null | undefined;
file?: {
readonly lastModified: number;
readonly name: string;
readonly webkitRelativePath: string;
readonly size: number;
readonly type: string;
arrayBuffer: {
(): Promise;
(): Promise;
};
slice: {
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
};
stream: {
(): ReadableStream;
(): NodeJS.ReadableStream;
};
text: {
(): Promise;
(): Promise;
};
} | null | undefined;
thumbnailUrl?: string | null | undefined;
type?: string | null | undefined;
fullPath?: string | null | undefined;
}[], import("naive-ui/es/upload").UploadFileInfo[] | {
id: string;
name: string;
batchId?: string | null | undefined;
percentage?: number | null | undefined;
status: "error" | "pending" | "uploading" | "finished" | "removed";
url?: string | null | undefined;
file?: {
readonly lastModified: number;
readonly name: string;
readonly webkitRelativePath: string;
readonly size: number;
readonly type: string;
arrayBuffer: {
(): Promise;
(): Promise;
};
slice: {
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
};
stream: {
(): ReadableStream;
(): NodeJS.ReadableStream;
};
text: {
(): Promise;
(): Promise;
};
} | null | undefined;
thumbnailUrl?: string | null | undefined;
type?: string | null | undefined;
fullPath?: string | null | undefined;
}[]>;
queryFileList: () => void;
onRemove: (options: {
file: import("naive-ui/es/upload").UploadFileInfo;
fileList: import("naive-ui/es/upload").UploadFileInfo[];
}) => Promise;
submit: (datas: import("../../shared/types").AnyObject) => Promise;
validateFormat: () => boolean;
readonly NForm: any;
readonly NFormItem: any;
readonly NUpload: any;
readonly NUploadDragger: any;
readonly NP: any;
readonly NIcon: any;
readonly NText: any;
readonly NSpace: any;
readonly Archive: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue" | "afterLeaveComponent")[], "close" | "success" | "update:modelValue" | "afterLeaveComponent", import("vue").PublicProps, Readonly Promise;
};
identityVerificationTitle: {
type: StringConstructor;
required: false;
default: string;
};
modelValue: {
type: BooleanConstructor;
required: true;
};
formatId: {
type: StringConstructor;
required: false;
};
templateId: {
type: StringConstructor;
required: false;
};
templateCode: {
type: StringConstructor;
required: false;
};
}>> & Readonly<{
onSuccess?: ((...args: any[]) => any) | undefined;
onClose?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onAfterLeaveComponent?: ((...args: any[]) => any) | undefined;
}>, {
verifyUser: Function;
identityVerificationTitle: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
prevPrintFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
resolution: {
type: NumberConstructor;
};
newPrintSetting: {
type: ObjectConstructor;
default: () => {
isShowPrintAll: boolean;
printAllType: number;
hideTemplateCodes: never[];
isShowOutSetting: boolean;
customProps: {};
outerPrintKeys: never[];
defaultFormatId: string;
shortcut: {};
buttonProps: {};
showMaxHeight: null;
initLoadPrintParams: boolean;
showPreviewDataList: boolean;
noShowOutSettingText: boolean;
};
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
}>> & Readonly<{}>, {
params: import("../../shared/types").AnyObject[];
btnText: string;
printText: string;
previewText: string;
pdfLoadText: string;
formatEditText: string;
prevFn: Function;
prevPrintFn: Function;
queryPrintFormatByNumber: Function;
strategy: string;
clickPrevFn: Function;
noDataMsg: string;
printdlgshow: string;
btnprint: string;
directPrint: boolean;
externalOptionConfig: Partial<{
options: import("../../shared/types").AnyObject[];
onSelect: (key: string | number, option: import("../../shared/types").AnyObject) => void;
}>;
showLoading: boolean;
hideButtons: unknown[];
newPrintSetting: Record;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
queryTemplateParams: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
noDefaultFormatMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
resolution: {
type: NumberConstructor;
};
printCustomProps: {
type: ObjectConstructor;
default: () => {};
};
placement: {
type: StringConstructor;
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
isShowResetPrinter: {
type: BooleanConstructor;
};
}>, {
$attrs: {
[x: string]: unknown;
};
$message: import("naive-ui/es/message").MessageApi;
printInstance: import("./src/utils").Print | null;
downloadPdfCode: string;
formatEditTextCode: string;
isDomestic: boolean;
props: import("@vue/shared").LooseRequired;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
queryTemplateParams: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
noDefaultFormatMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
resolution: {
type: NumberConstructor;
};
printCustomProps: {
type: ObjectConstructor;
default: () => {};
};
placement: {
type: StringConstructor;
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
isShowResetPrinter: {
type: BooleanConstructor;
};
}>> & Readonly<{}> & {}>;
emit: any;
defaultFormatInfo: import("../../shared/types").AnyObject;
authorizationKey: import("vue").Ref;
state: {
spinning: boolean;
visible: boolean;
formatList: never[];
templateParams: {};
printParams: never[];
currentFormatId: string;
identityVerification: {
visible: boolean;
};
isInited: boolean;
watchPrintParamsReformatFn: null;
spinTimer: null;
iReportExecuteMode: number;
number: string;
};
options: import("vue").Ref;
tempOptions: import("vue").Ref;
currentFormatItem: import("vue").ComputedRef<{} | undefined>;
formatTitle: import("vue").ComputedRef;
getTemplateIdByFormatId: import("vue").ComputedRef;
buttonClick: (origin: string) => Promise;
renderLabel: (option: import("../../shared/types").AnyObject) => any;
debounce: (fn: any, delay: number, immediate?: boolean) => (...args: any) => void;
callLocalServicesSuccessCb: (res: any, type: any) => void;
callLocalServicesErrorCb: (res: unknown) => void;
callLocalServicesCancelCb: (res: unknown) => void;
prevFnError: (type: string) => void;
getPrintParams: (index?: number) => string;
getOnceParams: () => string;
handleClickPrint: () => void;
handleDebounceClickPrint: (...args: any) => void;
handleClickPreview: () => Promise;
handleClickPdf: () => Promise;
handleClickEdit: () => void;
handleResetPrinter: () => Promise;
handleSelect: (key: string, option: import("../../shared/types").AnyObject) => Promise;
handleClickOutside: () => void;
instantiatePrintSDK: () => false | undefined;
getDefaultFormatId: (list: any[], key: string | number) => Promise;
setOptions: () => void;
formatFormatList: (list: any[]) => any;
requestError: () => boolean;
formatDefaultVal: (i: any, tableVal?: any) => any;
formatPrintParams: (paramObj: any, fieldList: any[], keyName: string) => any;
formatParams: ({ customizeDataset, param }: {
customizeDataset?: never[] | undefined;
param?: never[] | undefined;
}, params?: any[]) => any;
initCRM: (formatListResult: any) => Promise;
init: () => Promise;
handleClickBtn: (visible?: boolean) => Promise;
reformatPrintParams: () => void;
verifiySuccess: (token: string) => void;
directPrint: () => Promise;
readonly NDropdown: any;
readonly NButton: any;
readonly NIcon: any;
readonly ChevronDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
IdentityVerification: import("vue").DefineComponent Promise;
};
identityVerificationTitle: {
type: StringConstructor;
required: false;
default: string;
};
modelValue: {
type: BooleanConstructor;
required: true;
};
formatId: {
type: StringConstructor;
required: false;
};
templateId: {
type: StringConstructor;
required: false;
};
templateCode: {
type: StringConstructor;
required: false;
};
}>, {
$message: import("naive-ui/es/message").MessageApi;
DEFAULT_FORM: {
account: string;
password: string;
};
props: any;
emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
editFormRef: import("vue").Ref<{
submit: Function;
} | null, {
submit: Function;
} | {
submit: Function;
} | null>;
showEditForm: import("vue").Ref;
token: import("vue").Ref;
form: {
account: string;
password: string;
};
rules: import("naive-ui/es/form").FormRules;
style: {
width: string;
};
formRef: import("vue").Ref<{
validate: import("naive-ui/es/form/src/interface").FormValidate;
restoreValidation: () => void;
} | null, import("naive-ui/es/form").FormInst | {
validate: import("naive-ui/es/form/src/interface").FormValidate;
restoreValidation: () => void;
} | null>;
handleClickClose: () => void;
handleAfterLeave: () => void;
loading: import("vue").Ref;
submit: () => Promise;
handleClickSubmit: () => void;
submitEditFile: () => Promise;
readonly NButton: any;
readonly NModal: any;
readonly NForm: any;
readonly NFormItem: any;
readonly NInput: any;
EditFormat: import("vue").DefineComponent, {
PROTOCOL: string;
HOST: string;
BASEURL: string;
SAVEIREPORT: string;
QUERYFILELIST: string;
DELETEFILE: string;
instance: import("axios").AxiosInstance;
$message: import("naive-ui/es/message").MessageApi;
props: any;
fileList: import("vue").Ref<{
id: string;
name: string;
batchId?: string | null | undefined;
percentage?: number | null | undefined;
status: "error" | "pending" | "uploading" | "finished" | "removed";
url?: string | null | undefined;
file?: {
readonly lastModified: number;
readonly name: string;
readonly webkitRelativePath: string;
readonly size: number;
readonly type: string;
arrayBuffer: {
(): Promise;
(): Promise;
};
slice: {
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
};
stream: {
(): ReadableStream;
(): NodeJS.ReadableStream;
};
text: {
(): Promise;
(): Promise;
};
} | null | undefined;
thumbnailUrl?: string | null | undefined;
type?: string | null | undefined;
fullPath?: string | null | undefined;
}[], import("naive-ui/es/upload").UploadFileInfo[] | {
id: string;
name: string;
batchId?: string | null | undefined;
percentage?: number | null | undefined;
status: "error" | "pending" | "uploading" | "finished" | "removed";
url?: string | null | undefined;
file?: {
readonly lastModified: number;
readonly name: string;
readonly webkitRelativePath: string;
readonly size: number;
readonly type: string;
arrayBuffer: {
(): Promise;
(): Promise;
};
slice: {
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
};
stream: {
(): ReadableStream;
(): NodeJS.ReadableStream;
};
text: {
(): Promise;
(): Promise;
};
} | null | undefined;
thumbnailUrl?: string | null | undefined;
type?: string | null | undefined;
fullPath?: string | null | undefined;
}[]>;
queryFileList: () => void;
onRemove: (options: {
file: import("naive-ui/es/upload").UploadFileInfo;
fileList: import("naive-ui/es/upload").UploadFileInfo[];
}) => Promise;
submit: (datas: import("../../shared/types").AnyObject) => Promise;
validateFormat: () => boolean;
readonly NForm: any;
readonly NFormItem: any;
readonly NUpload: any;
readonly NUploadDragger: any;
readonly NP: any;
readonly NIcon: any;
readonly NText: any;
readonly NSpace: any;
readonly Archive: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue" | "afterLeaveComponent")[], "close" | "success" | "update:modelValue" | "afterLeaveComponent", import("vue").PublicProps, Readonly Promise;
};
identityVerificationTitle: {
type: StringConstructor;
required: false;
default: string;
};
modelValue: {
type: BooleanConstructor;
required: true;
};
formatId: {
type: StringConstructor;
required: false;
};
templateId: {
type: StringConstructor;
required: false;
};
templateCode: {
type: StringConstructor;
required: false;
};
}>> & Readonly<{
onSuccess?: ((...args: any[]) => any) | undefined;
onClose?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onAfterLeaveComponent?: ((...args: any[]) => any) | undefined;
}>, {
verifyUser: Function;
identityVerificationTitle: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
queryTemplateParams: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
noDefaultFormatMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
resolution: {
type: NumberConstructor;
};
printCustomProps: {
type: ObjectConstructor;
default: () => {};
};
placement: {
type: StringConstructor;
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
isShowResetPrinter: {
type: BooleanConstructor;
};
}>> & Readonly<{}>, {
params: import("../../shared/types").AnyObject[];
btnText: string;
printText: string;
previewText: string;
pdfLoadText: string;
formatEditText: string;
prevFn: Function;
queryPrintFormatByNumber: Function;
queryTemplateParams: Function;
strategy: string;
clickPrevFn: Function;
noDataMsg: string;
noDefaultFormatMsg: string;
printdlgshow: string;
btnprint: string;
directPrint: boolean;
externalOptionConfig: Partial<{
options: import("../../shared/types").AnyObject[];
onSelect: (key: string | number, option: import("../../shared/types").AnyObject, extendObj?: import("../../shared/types").AnyObject | undefined) => void;
}>;
showLoading: boolean;
hideButtons: unknown[];
printCustomProps: Record;
isShowResetPrinter: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
getProps: import("vue").ComputedRef;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
prevPrintFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
queryTemplateParams: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
noDefaultFormatMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
printCustomProps: {
type: ObjectConstructor;
default: () => {};
};
resolution: {
type: NumberConstructor;
};
placement: {
type: StringConstructor;
default: string;
};
newPrintSetting: {
type: ObjectConstructor;
default: () => {};
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
isShowResetPrinter: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onSuccess?: ((...args: any[]) => any) | undefined;
onError?: ((...args: any[]) => any) | undefined;
onCancel?: ((...args: any[]) => any) | undefined;
onClickoutside?: ((...args: any[]) => any) | undefined;
onSaveOuterPrint?: ((...args: any[]) => any) | undefined;
}> & {}> & {
[x: string]: unknown;
}>;
emits: (event: "success" | "error" | "cancel" | "clickoutside" | "saveOuterPrint", ...args: any[]) => void;
directPrint: () => Promise;
handleShortcutStartAndStop: (status: "start" | "stop") => void;
registerShort: (obj: any) => void;
hiddenPopover: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "error" | "cancel" | "clickoutside" | "saveOuterPrint")[], "success" | "error" | "cancel" | "clickoutside" | "saveOuterPrint", import("vue").PublicProps, Readonly;
};
params: {
default: () => never[];
type: import("vue").PropType;
};
btnText: {
default: string;
type: StringConstructor;
};
printText: {
default: string;
type: StringConstructor;
};
previewText: {
default: string;
type: StringConstructor;
};
pdfLoadText: {
default: string;
type: StringConstructor;
};
formatEditText: {
default: string;
type: StringConstructor;
};
prevFn: {
default: () => Promise;
type: FunctionConstructor;
};
prevPrintFn: {
default: () => Promise;
type: FunctionConstructor;
};
queryPrintFormatByNumber: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
queryTemplateParams: {
default: () => Promise<{}>;
type: FunctionConstructor;
};
strategy: {
default: string;
type: StringConstructor;
};
clickPrevFn: {
default: () => Promise;
type: FunctionConstructor;
};
noDataMsg: {
default: string;
type: StringConstructor;
};
noDefaultFormatMsg: {
default: string;
type: StringConstructor;
};
token: {
type: StringConstructor;
};
printdlgshow: {
default: string;
type: StringConstructor;
};
btnprint: {
type: StringConstructor;
default: string;
};
directPrint: {
type: BooleanConstructor;
default: boolean;
};
externalOptionConfig: {
type: import("vue").PropType void;
}>>;
default: () => {};
};
signature: {
type: StringConstructor;
};
showLoading: {
type: BooleanConstructor;
default: boolean;
};
hideButtons: {
type: ArrayConstructor;
default: () => never[];
};
printCopies: {
type: NumberConstructor;
};
printCustomProps: {
type: ObjectConstructor;
default: () => {};
};
resolution: {
type: NumberConstructor;
};
placement: {
type: StringConstructor;
default: string;
};
newPrintSetting: {
type: ObjectConstructor;
default: () => {};
};
svrUpdateIp: {
type: StringConstructor;
};
apptype: {
type: StringConstructor;
};
uuid: {
type: StringConstructor;
};
hidePreviewBtns: {
type: StringConstructor;
};
isShowResetPrinter: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onSuccess?: ((...args: any[]) => any) | undefined;
onError?: ((...args: any[]) => any) | undefined;
onCancel?: ((...args: any[]) => any) | undefined;
onClickoutside?: ((...args: any[]) => any) | undefined;
onSaveOuterPrint?: ((...args: any[]) => any) | undefined;
}>, {
params: import("../../shared/types").AnyObject[];
btnText: string;
printText: string;
previewText: string;
pdfLoadText: string;
formatEditText: string;
prevFn: Function;
prevPrintFn: Function;
queryPrintFormatByNumber: Function;
queryTemplateParams: Function;
strategy: string;
clickPrevFn: Function;
noDataMsg: string;
noDefaultFormatMsg: string;
printdlgshow: string;
btnprint: string;
directPrint: boolean;
externalOptionConfig: Partial<{
options: import("../../shared/types").AnyObject[];
onSelect: (key: string | number, option: import("../../shared/types").AnyObject) => void;
}>;
showLoading: boolean;
hideButtons: unknown[];
printCustomProps: Record;
placement: string;
newPrintSetting: Record;
isShowResetPrinter: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
export default ButtonPrint;