@gct-paas/excel 0.1.18 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{VueVideoPlayer-D3u-ZHom.js → VueVideoPlayer-DePpm38H.js} +2 -2
- package/dist/{agg-design-D7CkIPCA.js → agg-design-hreKYp5a.js} +1 -1
- package/dist/{agg-props-DNNO9ucx.js → agg-props-CCDh2o6E.js} +1 -1
- package/dist/{agg-style-v_94dzX8.js → agg-style-Bh8vdJvs.js} +1 -1
- package/dist/{align-editor-COpCDpFf.js → align-editor-DpDuDOMr.js} +1 -1
- package/dist/{attach-fields-editor-o_7W-2sr.js → attach-fields-editor-BeGxW6de.js} +2 -2
- package/dist/{barcode-design-CvsGGAio.js → barcode-design-CFVTZNAy.js} +3 -2
- package/dist/base/index.es.js +63 -138
- package/dist/base-font-editor-laOkjBe1.js +119 -0
- package/dist/{boolean-design-Hc8Es5l1.js → boolean-design-DIlM9Nrt.js} +3 -2
- package/dist/{boolean-props-CGamLGXA.js → boolean-props-CGuFs72-.js} +3 -3
- package/dist/{boolean-style-m-WuSO6S.js → boolean-style-BUz6sBUN.js} +5 -4
- package/dist/cell-upload-Dw3t7ZKJ.js +33 -0
- package/dist/{date-range-editor-BZkhUU-x.js → date-range-editor-rXaru-8n.js} +3 -2
- package/dist/{date-time-design-B_oFOcft.js → date-time-design-HfjWK3SA.js} +1 -1
- package/dist/{date-time-props-hGnSGQKc.js → date-time-props-C_cG-6wI.js} +3 -3
- package/dist/{date-time-style-CGKG8i3K.js → date-time-style-BeCDP5TE.js} +1 -1
- package/dist/{decimal-design-B5Artgk6.js → decimal-design-DzLpjX9N.js} +7 -3
- package/dist/{decimal-display-mode-C4XUezoP.js → decimal-display-mode-BhD1cOOe.js} +3 -2
- package/dist/{decimal-props-Q37uOcWl.js → decimal-props-C6f22071.js} +5 -4
- package/dist/{decimal-style-C2CnGPVG.js → decimal-style-XN3rLM2j.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-DTnbLBVW.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CJC4kBNh.js} +3 -2
- package/dist/{diagonal-design-CyUvkcvp.js → diagonal-design-Dh0qhgSq.js} +2 -2
- package/dist/{double-design-D_ipWcRm.js → double-design-XHHlqmEp.js} +6 -3
- package/dist/{double-props-D4FGbfe2.js → double-props-Cvi36aBN.js} +4 -4
- package/dist/{double-style-BbD_6_Os.js → double-style-Dkoth54S.js} +1 -1
- package/dist/{document-sub-table-action-Cy6Rd8OS.js → dynamic-table-action-mGrBO_bn.js} +661 -553
- package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js} +366 -147
- package/dist/{edit.utils-CXmmCnxE-BK4QnSP-.js → edit.utils-CXmmCnxE-DeDBtyJd.js} +1 -1
- package/dist/{enum-design-lOufLU6Z.js → enum-design-CAOAFdI6.js} +13 -7
- package/dist/{enum-props-brKRP5Uz.js → enum-props-CBN-AvBS.js} +4 -4
- package/dist/{enum-style-BQQHkDUD.js → enum-style-cOiK44Ae.js} +37 -9
- package/dist/excel.css +1049 -407
- package/dist/{exceljs.min-CUwGyNAf.js → exceljs.min-pnja99MZ.js} +2 -2
- package/dist/{expression-design-BPEci3dg.js → expression-design-CqgcK8eO.js} +1 -1
- package/dist/{expression-props-Cvg-9V-B.js → expression-props-wXQOIrMY.js} +1 -1
- package/dist/{expression-style-Dv3Hl8lm.js → expression-style-BzavnOux.js} +1 -1
- package/dist/{file-design-BIzi6cpq.js → file-design-BSQknhnY.js} +1 -1
- package/dist/{file-props-oV2U7bpO.js → file-props-CwiuBVHW.js} +2 -2
- package/dist/{file-style-CZrxokgP.js → file-style-CG4a3THb.js} +1 -1
- package/dist/{font-editor-B41KgpWJ.js → font-editor--CgwL-wF.js} +3 -3
- package/dist/{form-annotation-controller-CdNmJKv-.js → form-annotation-controller-DDDyHAwe.js} +3 -2
- package/dist/{image-design-DMfBfSkD.js → image-design-CwPjfDxf.js} +2 -2
- package/dist/{image-design-C3FEtW6i.js → image-design-D1D0SN5W.js} +3 -2
- package/dist/{image-props-DPibJk7n.js → image-props-C4E9gMsG.js} +1 -1
- package/dist/{image-style-DLudd5Vt.js → image-style-CIb1mi13.js} +1 -1
- package/dist/{index-B1r6-Uxf.js → index-0mxMA4vZ.js} +2 -1
- package/dist/{index-B7lz2J6V.js → index-A2MbCZtS.js} +10 -3
- package/dist/{index-DJIzgsog.js → index-B2ZNkbGm.js} +2 -1
- package/dist/{index-rXMzwu77.js → index-B2tFXR--.js} +5 -2
- package/dist/{index-Cp7mC3Qt.js → index-B7DDYlzm.js} +2 -1
- package/dist/{index-BiNVmD5v.js → index-BAlLZmfu.js} +2 -1
- package/dist/{index-yih5hGsL.js → index-BG_CEaW0.js} +3537 -2743
- package/dist/{index-B8ey1U_N.js → index-BJYSmTeW.js} +2 -1
- package/dist/{index-D7fFpHaN.js → index-BKoXo3Ha.js} +2 -1
- package/dist/{index-oSIIidoF.js → index-BSHUFede.js} +2 -1
- package/dist/{index-C5bYd42n.js → index-Bi4hE4Ye.js} +3 -2
- package/dist/{index-vZZ5q2xJ.js → index-BneV2tbp.js} +2 -1
- package/dist/{index-D0YZX_c7.js → index-ByTKu8n6.js} +2 -1
- package/dist/{index-DHVK-P9J.js → index-CGSTq7zN.js} +2 -1
- package/dist/{index-DFoELlwd.js → index-CIl6oWcB.js} +2 -1
- package/dist/{index-I_FRG0Ho.js → index-CKqLoN9r.js} +2 -1
- package/dist/{index-CtiiIgjs.js → index-CWpratsK.js} +50 -106
- package/dist/{index-B1CG-75q.js → index-CcmNFTia.js} +3 -2
- package/dist/{index-BgZkpQKh.js → index-CeMBvNee.js} +2 -1
- package/dist/{index-BOis3jsA.js → index-Cgka0WmQ.js} +4 -1
- package/dist/{index-CUIGN7Rt.js → index-D0XkCn_x.js} +2 -1
- package/dist/{index-DsNRjyQD.js → index-D0n65ya-.js} +2 -1
- package/dist/{index-DAqYc474.js → index-D9tUJAeF.js} +2 -1
- package/dist/{index-Cjz0GLDq.js → index-DLoQlQk6.js} +3 -2
- package/dist/{index-DDpNgyvD.js → index-DOj318_B.js} +3 -2
- package/dist/{index-DPQkm6_v.js → index-Dl2FIifp.js} +2 -1
- package/dist/{index-Bppcm2iQ.js → index-Drf0Arr4.js} +2 -1
- package/dist/{index-Bvjplnz_.js → index-HHF5iK-6.js} +6 -1
- package/dist/{index-B8wKNUsK.js → index-Hg59RKKE.js} +2 -1
- package/dist/{index-BZ1jj7Nu.js → index-PMDIMwwL.js} +2 -1
- package/dist/{index-DH_EZe8p.js → index-PWmkKVZV.js} +2 -1
- package/dist/{index-CkYbgRrH.js → index-UUDS4nmS.js} +2 -1
- package/dist/{index-Cn_c3-eW.js → index-ZrNXSw4w.js} +2 -1
- package/dist/index.es.js +44 -44
- package/dist/{integer-design-DhkNa9IA.js → integer-design-Cy9c0fzI.js} +6 -3
- package/dist/{integer-props-c_aQpjaT.js → integer-props-DFDOIb2a.js} +5 -4
- package/dist/{integer-style-CS5v7Bhq.js → integer-style-CfIX5ReH.js} +1 -1
- package/dist/{mb-render-Cs7LUxzk.js → mb-render-D_uumPQr.js} +1 -1
- package/dist/{number-input-ex-CwKIHfk1.js → number-input-ex-CWci0pCj.js} +12 -4
- package/dist/{org-props-BcbW62Jg.js → org-props-B5dk289u.js} +3 -2
- package/dist/{org-style-Bk7mgML3.js → org-style-BoSDPuw9.js} +1 -1
- package/dist/{pagination-design-B1KyJUAG.js → pagination-design-Ci4wxUIk.js} +3 -2
- package/dist/paper-widget-design-BilYU9rh.js +4 -0
- package/dist/{qrcode-design-EafZURDZ.js → qrcode-design-CJ9R5DIn.js} +1 -1
- package/dist/ref-autofill-editor-B4KDvHhR.js +2334 -0
- package/dist/{ref-props-C95McyZp.js → ref-props-CwDGepT3.js} +17 -9
- package/dist/{ref-style-BxdvOF-4.js → ref-style-B35CsOQO.js} +1 -1
- package/dist/{regex-editor-BGukvOEI.js → regex-editor-CIVvr_Lx.js} +2 -2
- package/dist/{revo-grid.entry-BeRVTVKO.js → revo-grid.entry-DeWzC35s.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CHtbU2lV.js → revogr-attribution_7.entry-BJZ-twfj.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DnvQ-Rl7.js → revogr-clipboard_3.entry-DkgRA8qw.js} +2 -2
- package/dist/{revogr-data_4.entry-DLRSuaN8.js → revogr-data_4.entry-BZLzvcbo.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BDkhY-74.js → revogr-filter-panel.entry-zGvhshno.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-ChESg_eM.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-Asn5-ZRz.js} +3 -2
- package/dist/{serialnumber-design-CRaym9J-.js → serialnumber-design-CYFU5TVt.js} +1 -1
- package/dist/shared/index.es.js +16 -16
- package/dist/{signature-design-BJHfLDNV.js → signature-design-Cwi0cZOI.js} +5 -2
- package/dist/{signature-props-B9hfppHh.js → signature-props-cQRB8U8x.js} +3 -3
- package/dist/{signature-style-DM4rqHnN.js → signature-style-C90NsLxg.js} +1 -1
- package/dist/{single-field-drop-eClQhTSv.js → single-field-drop-BFhQs-3z.js} +2 -2
- package/dist/{size-editor-BjlCmEWf.js → size-editor-Dx3y_otg.js} +1 -1
- package/dist/src/nocode-base/src/components/border-td.vue.d.ts +1 -0
- package/dist/src/nocode-base/src/components/{document-quick-fill-modal.vue.d.ts → document-quick-fill/dynamic-quick-fill-modal.vue.d.ts} +1 -1
- package/dist/src/nocode-base/src/components/{document-quick-fillin.vue.d.ts → document-quick-fill/fixed-quick-fill-modal.vue.d.ts} +10 -4
- package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +22 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts +17 -0
- package/dist/src/nocode-base/src/components/index.d.ts +4 -3
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +3 -1
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +3 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
- package/dist/src/nocode-base/src/types/fields/i-enum-select.d.ts +2 -0
- package/dist/src/nocode-base/src/types/fields/i-select.d.ts +4 -0
- package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +7 -0
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +3 -1
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -1
- package/dist/src/nocode-base/src/types/widgets/i-sub-table.d.ts +4 -0
- package/dist/src/nocode-web-render/src/hooks/userFormPrint.d.ts +2 -0
- package/dist/src/nocode-web-render/src/render/index.d.ts +2 -2
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +3 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +3 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/index.d.ts +1 -2
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +3 -1
- package/dist/src/online-form/src/utils/field.enum.d.ts +3 -2
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields-editor.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/index.d.ts +3 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/index.d.ts +3 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search-editor.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +14 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +27 -2
- package/dist/src/{nocode-web-render/src/render/sub-table/material-consume/scan-modal.vue.d.ts → online-form/src/views/designer/modules/panel/comps/confirm-before-delete-config.vue.d.ts} +2 -4
- package/dist/src/online-form/src/views/designer/modules/panel/comps/quick-fill-config.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/modules/sheet/sheet-cell.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/types/index.d.ts +2 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/common-select.util.d.ts +47 -0
- package/dist/src/shared/components/field-transfer/components/field-transfer-modal.vue.d.ts +30 -0
- package/dist/src/shared/components/field-transfer/components/modal-wrapper.vue.d.ts +65 -0
- package/dist/src/shared/components/field-transfer/hooks/useModelField.d.ts +169 -0
- package/dist/src/shared/components/field-transfer/hooks/useTreeData.d.ts +139 -0
- package/dist/src/shared/components/field-transfer/index.d.ts +21 -0
- package/dist/src/shared/components/field-transfer/useFieldTransfer.d.ts +47 -0
- package/dist/src/shared/components/field-transfer/utils/enum.d.ts +6 -0
- package/dist/src/shared/components/field-transfer/utils/i18n.d.ts +1 -0
- package/dist/src/shared/components/field-transfer/utils/tree-tool.d.ts +6 -0
- package/dist/{text-design-BGxM7gzI.js → text-design-TEheiKQx.js} +3 -2
- package/dist/{text-design-C3RhersV.js → text-design-jMPxIgZW.js} +10 -6
- package/dist/{text-props-CIpXslMv.js → text-props-CrkSvg6D.js} +5 -5
- package/dist/{text-style-BPjaT5Ic.js → text-style-DmwTt8KQ.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-LNQ7rPwu.js → throttle-Cpk1LoGk-DTkhEkFR.js} +1 -1
- package/dist/{timediff-design-DqVuVrmx.js → timediff-design-D_if-K1S.js} +2 -1
- package/dist/{trace-design-IbjVLAhv.js → trace-design-oN7pgtab.js} +2 -2
- package/dist/{trace-props-C-F_eDG2.js → trace-props-BFnUk6kv.js} +24 -16
- package/dist/{trace-style-DRenZ1n1.js → trace-style-TNnFcvfw.js} +1 -1
- package/dist/{user-props-qQx7HZ7T.js → user-props-Ce-ilCmU.js} +3 -2
- package/dist/{user-style-BPFOx0xn.js → user-style-4rp0jKYP.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-Crnt5d7x.js → value-editor.vue_vue_type_style_index_0_lang-DMuR0u4j.js} +3 -2
- package/dist/{version-select-BkZzH36D.js → version-select-DSFIlYgX.js} +2 -2
- package/dist/web-render/index.es.js +9 -9
- package/dist/{widget-barcode-CPZjarSa.js → widget-barcode-Du7LOaiy.js} +5 -4
- package/dist/{widget-diagonal-DebN3u9t.js → widget-diagonal-D-q7WK6T.js} +3 -3
- package/dist/{widget-image-BSMWxm9c.js → widget-image-Da5mvgMm.js} +5 -5
- package/dist/{widget-line-CyavTHOV.js → widget-line-oIFH8P04.js} +3 -2
- package/dist/{widget-pagination-ZCBdy6HQ.js → widget-pagination-CSonelt_.js} +6 -5
- package/dist/{widget-power-B1NFysHT.js → widget-power-CWczWA7K.js} +3 -3
- package/dist/{widget-qrcode-B0TTSoSK.js → widget-qrcode-MQ-cSphb.js} +4 -3
- package/dist/{widget-rangelimit-C_ureKDr.js → widget-rangelimit-CFDeRJIf.js} +3 -3
- package/dist/{widget-serialnumber-Dq15dHnk.js → widget-serialnumber-DlE2-jvp.js} +1 -1
- package/dist/{widget-text-B9EXKFiM.js → widget-text-B1SnpOGN.js} +5 -5
- package/dist/{widget-timediff-BhLrQuGb.js → widget-timediff-DeyJbqRE.js} +3 -2
- package/package.json +1 -1
- package/dist/base-font-editor-BmC423aB.js +0 -83
- package/dist/cell-upload-CiXVE0Ii.js +0 -25
- package/dist/paper-widget-design-Cp0ioo8c.js +0 -4
- package/dist/ref-autofill-editor-OtclaSqy.js +0 -673
- /package/dist/src/nocode-base/src/components/document-sub-table-action/{document-sub-table-action.vue.d.ts → dynamic-table-action.vue.d.ts} +0 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { ColumnItem, FieldItem, TreeNodeGroup, TreeNode, ColumnsChange } from '../types/index.d';
|
|
2
|
+
export declare const useTreeData: (useMultiLevelTHead: boolean, isResetData?: boolean, draggable?: boolean, maxEnableCount?: number, onColumnsChange?: ColumnsChange) => {
|
|
3
|
+
data: import('vue').ComputedRef<({
|
|
4
|
+
type: "group";
|
|
5
|
+
width?: number | undefined;
|
|
6
|
+
children: (/*elided*/ any | {
|
|
7
|
+
type: "field";
|
|
8
|
+
field: {
|
|
9
|
+
id: string;
|
|
10
|
+
modelKey: string;
|
|
11
|
+
displayLabel: string;
|
|
12
|
+
type: import('../../..').FIELD_TYPE;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
hidden?: boolean | undefined;
|
|
15
|
+
};
|
|
16
|
+
modelKey: string;
|
|
17
|
+
width?: number | undefined;
|
|
18
|
+
fieldType: import('../../..').FIELD_TYPE;
|
|
19
|
+
key: string;
|
|
20
|
+
title: string;
|
|
21
|
+
level: number;
|
|
22
|
+
parent: /*elided*/ any;
|
|
23
|
+
disableCheckbox?: boolean | undefined;
|
|
24
|
+
isLeaf?: boolean | undefined;
|
|
25
|
+
isNew?: boolean | undefined;
|
|
26
|
+
})[];
|
|
27
|
+
key: string;
|
|
28
|
+
title: string;
|
|
29
|
+
level: number;
|
|
30
|
+
parent: /*elided*/ any;
|
|
31
|
+
disableCheckbox?: boolean | undefined;
|
|
32
|
+
isLeaf?: boolean | undefined;
|
|
33
|
+
isNew?: boolean | undefined;
|
|
34
|
+
} | {
|
|
35
|
+
type: "field";
|
|
36
|
+
field: {
|
|
37
|
+
id: string;
|
|
38
|
+
modelKey: string;
|
|
39
|
+
displayLabel: string;
|
|
40
|
+
type: import('../../..').FIELD_TYPE;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
hidden?: boolean | undefined;
|
|
43
|
+
};
|
|
44
|
+
modelKey: string;
|
|
45
|
+
width?: number | undefined;
|
|
46
|
+
fieldType: import('../../..').FIELD_TYPE;
|
|
47
|
+
key: string;
|
|
48
|
+
title: string;
|
|
49
|
+
level: number;
|
|
50
|
+
parent: {
|
|
51
|
+
type: "group";
|
|
52
|
+
width?: number | undefined;
|
|
53
|
+
children: (/*elided*/ any | /*elided*/ any)[];
|
|
54
|
+
key: string;
|
|
55
|
+
title: string;
|
|
56
|
+
level: number;
|
|
57
|
+
parent: /*elided*/ any;
|
|
58
|
+
disableCheckbox?: boolean | undefined;
|
|
59
|
+
isLeaf?: boolean | undefined;
|
|
60
|
+
isNew?: boolean | undefined;
|
|
61
|
+
};
|
|
62
|
+
disableCheckbox?: boolean | undefined;
|
|
63
|
+
isLeaf?: boolean | undefined;
|
|
64
|
+
isNew?: boolean | undefined;
|
|
65
|
+
})[]>;
|
|
66
|
+
root: {
|
|
67
|
+
type: "group";
|
|
68
|
+
width?: number | undefined;
|
|
69
|
+
children: (/*elided*/ any | {
|
|
70
|
+
type: "field";
|
|
71
|
+
field: {
|
|
72
|
+
id: string;
|
|
73
|
+
modelKey: string;
|
|
74
|
+
displayLabel: string;
|
|
75
|
+
type: import('../../..').FIELD_TYPE;
|
|
76
|
+
disabled: boolean;
|
|
77
|
+
hidden?: boolean | undefined;
|
|
78
|
+
};
|
|
79
|
+
modelKey: string;
|
|
80
|
+
width?: number | undefined;
|
|
81
|
+
fieldType: import('../../..').FIELD_TYPE;
|
|
82
|
+
key: string;
|
|
83
|
+
title: string;
|
|
84
|
+
level: number;
|
|
85
|
+
parent: /*elided*/ any;
|
|
86
|
+
disableCheckbox?: boolean | undefined;
|
|
87
|
+
isLeaf?: boolean | undefined;
|
|
88
|
+
isNew?: boolean | undefined;
|
|
89
|
+
})[];
|
|
90
|
+
key: string;
|
|
91
|
+
title: string;
|
|
92
|
+
level: number;
|
|
93
|
+
parent: /*elided*/ any;
|
|
94
|
+
disableCheckbox?: boolean | undefined;
|
|
95
|
+
isLeaf?: boolean | undefined;
|
|
96
|
+
isNew?: boolean | undefined;
|
|
97
|
+
};
|
|
98
|
+
leafKeys: import('vue').Ref<string[], string[]>;
|
|
99
|
+
multiple: import('vue').ComputedRef<boolean>;
|
|
100
|
+
draggable: boolean | undefined;
|
|
101
|
+
remainCount: import('vue').ComputedRef<number>;
|
|
102
|
+
addTreeNodes(nodes: Omit<TreeNode, "parent">[], parent: TreeNodeGroup): void;
|
|
103
|
+
removeTreeNodesByKeys(keys: string[]): void;
|
|
104
|
+
moveTreeNode(source: TreeNode, target: TreeNode, direction: number, asChildren?: boolean): void;
|
|
105
|
+
getContainerNode: (node?: TreeNode) => {
|
|
106
|
+
type: "group";
|
|
107
|
+
width?: number | undefined;
|
|
108
|
+
children: (/*elided*/ any | {
|
|
109
|
+
type: "field";
|
|
110
|
+
field: {
|
|
111
|
+
id: string;
|
|
112
|
+
modelKey: string;
|
|
113
|
+
displayLabel: string;
|
|
114
|
+
type: import('../../..').FIELD_TYPE;
|
|
115
|
+
disabled: boolean;
|
|
116
|
+
hidden?: boolean | undefined;
|
|
117
|
+
};
|
|
118
|
+
modelKey: string;
|
|
119
|
+
width?: number | undefined;
|
|
120
|
+
fieldType: import('../../..').FIELD_TYPE;
|
|
121
|
+
key: string;
|
|
122
|
+
title: string;
|
|
123
|
+
level: number;
|
|
124
|
+
parent: /*elided*/ any;
|
|
125
|
+
disableCheckbox?: boolean | undefined;
|
|
126
|
+
isLeaf?: boolean | undefined;
|
|
127
|
+
isNew?: boolean | undefined;
|
|
128
|
+
})[];
|
|
129
|
+
key: string;
|
|
130
|
+
title: string;
|
|
131
|
+
level: number;
|
|
132
|
+
parent: /*elided*/ any;
|
|
133
|
+
disableCheckbox?: boolean | undefined;
|
|
134
|
+
isLeaf?: boolean | undefined;
|
|
135
|
+
isNew?: boolean | undefined;
|
|
136
|
+
};
|
|
137
|
+
onChangeTree: (columnsData: ColumnItem[], fields: FieldItem[]) => void;
|
|
138
|
+
};
|
|
139
|
+
export type TreeProps = ReturnType<typeof useTreeData>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as FieldCascader } from './components/Cascader/FieldCascader';
|
|
2
|
+
export { SCOPEINFO } from './utils/enum';
|
|
3
|
+
/**
|
|
4
|
+
* 使用方法
|
|
5
|
+
* @example
|
|
6
|
+
* import { useFieldTransfer } from '@gct-paas/excel/shared/components/field-transfer';
|
|
7
|
+
* const { open } = useFieldTransfer();
|
|
8
|
+
* open({
|
|
9
|
+
* modelKey: '',
|
|
10
|
+
* modalTitle: '',
|
|
11
|
+
* isShowCascader: false,
|
|
12
|
+
* data: [],
|
|
13
|
+
* maxEnableCount: 5,
|
|
14
|
+
* saveCallback: (params) => {
|
|
15
|
+
* console.log('saveCallback', params);
|
|
16
|
+
* },
|
|
17
|
+
* });
|
|
18
|
+
*/
|
|
19
|
+
export { useFieldTransfer } from './useFieldTransfer';
|
|
20
|
+
export type { IFieldTransferProps, IFieldTransferOptions } from './useFieldTransfer';
|
|
21
|
+
export { FieldCascader };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { FIELD_TYPE, CreateType } from '../../enum';
|
|
2
|
+
export interface IFieldTransferProps {
|
|
3
|
+
/** 模型key */
|
|
4
|
+
modelKey: string;
|
|
5
|
+
/** 模态框标题 */
|
|
6
|
+
modalTitle?: string;
|
|
7
|
+
/** 是否显示级联选择 */
|
|
8
|
+
isShowCascader?: boolean;
|
|
9
|
+
/**提示消息 */
|
|
10
|
+
promptMessage?: string;
|
|
11
|
+
/** 选中的字段数组 */
|
|
12
|
+
data: any[];
|
|
13
|
+
/** 穿梭框标题集合 */
|
|
14
|
+
titles?: string[];
|
|
15
|
+
/** 包含的字段 */
|
|
16
|
+
containFieldType?: FIELD_TYPE[];
|
|
17
|
+
/** 包含的字段key */
|
|
18
|
+
containFieldKey?: string[];
|
|
19
|
+
/** 禁用的字段key */
|
|
20
|
+
disabledFieldKey?: string[];
|
|
21
|
+
/** 排除的字段 */
|
|
22
|
+
excludeFieldKey?: string[];
|
|
23
|
+
/** 排除的字段 */
|
|
24
|
+
excludeFieldType?: FIELD_TYPE[];
|
|
25
|
+
/**包含的字段创建类型 */
|
|
26
|
+
containCreateType?: CreateType[];
|
|
27
|
+
/**过滤函数 */
|
|
28
|
+
filterFieldByFunction?: (field: object) => boolean;
|
|
29
|
+
/** 最大选择个数 */
|
|
30
|
+
maxEnableCount?: number;
|
|
31
|
+
/** 是否支持拖拽 */
|
|
32
|
+
draggable?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 子表的关联主键字段的父模型字段
|
|
35
|
+
*/
|
|
36
|
+
childParentModelKey?: string;
|
|
37
|
+
width?: number;
|
|
38
|
+
saveCallback?: (params: Recordable<any>) => void;
|
|
39
|
+
}
|
|
40
|
+
export interface IFieldTransferOptions {
|
|
41
|
+
target?: any;
|
|
42
|
+
props?: Partial<IFieldTransferProps>;
|
|
43
|
+
}
|
|
44
|
+
export declare function useFieldTransfer(): {
|
|
45
|
+
open: (params: Partial<IFieldTransferProps> | Partial<IFieldTransferOptions>) => void;
|
|
46
|
+
close: () => void;
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function t(key: string): string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ColumnItem, TreeNodeGroup, TreeNode } from '../types/index.d';
|
|
2
|
+
export declare function isGroupNode(node: TreeNode): node is TreeNodeGroup;
|
|
3
|
+
export declare function generateData(nodes: TreeNode[]): ColumnItem[];
|
|
4
|
+
export declare function traverse(handler: (node: TreeNode) => void, items: TreeNode[]): void;
|
|
5
|
+
export declare function findNode(key: string, root: TreeNodeGroup): TreeNode | undefined;
|
|
6
|
+
export declare function traverseFilter(handler: (node: TreeNode) => boolean, items: TreeNode[]): TreeNode[];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { m as PaperWidgeValueType, _ as _export_sfc } from "./
|
|
3
|
+
import { m as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import
|
|
5
|
+
import "ant-design-vue";
|
|
6
|
+
import { f as useSpreadSheet, u as useModelFields } from "./index-BG_CEaW0.js";
|
|
6
7
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
__name: "text-design",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp } from "./index-
|
|
3
|
-
import { _ as _export_sfc } from "./
|
|
2
|
+
import { C as CellWidgetRenderComp } from "./index-BG_CEaW0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "text-design",
|
|
6
6
|
props: {
|
|
@@ -17,19 +17,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
disabled: __props.disabled,
|
|
18
18
|
placeholder: __props.fieldWidget.placeholder,
|
|
19
19
|
value: __props.fieldWidget.defaultValue,
|
|
20
|
+
maxlength: __props.fieldWidget.maxlength,
|
|
21
|
+
minlength: __props.fieldWidget.minlength,
|
|
20
22
|
size: "small"
|
|
21
|
-
}, null, 8, ["disabled", "placeholder", "value"])) : (openBlock(), createBlock(_component_a_textarea, {
|
|
23
|
+
}, null, 8, ["disabled", "placeholder", "value", "maxlength", "minlength"])) : (openBlock(), createBlock(_component_a_textarea, {
|
|
22
24
|
key: 1,
|
|
23
25
|
class: "cell-text-design-textarea-warp",
|
|
24
26
|
disabled: __props.disabled,
|
|
25
27
|
placeholder: __props.fieldWidget.placeholder,
|
|
26
|
-
value: __props.fieldWidget.defaultValue
|
|
27
|
-
|
|
28
|
+
value: __props.fieldWidget.defaultValue,
|
|
29
|
+
maxlength: __props.fieldWidget.maxlength,
|
|
30
|
+
minlength: __props.fieldWidget.minlength
|
|
31
|
+
}, null, 8, ["disabled", "placeholder", "value", "maxlength", "minlength"]))
|
|
28
32
|
]);
|
|
29
33
|
};
|
|
30
34
|
}
|
|
31
35
|
});
|
|
32
|
-
const textDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
36
|
+
const textDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1547f82"]]);
|
|
33
37
|
export {
|
|
34
38
|
textDesign as default
|
|
35
39
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, h, computed, onMounted, createBlock, mergeProps, unref, withCtx, Fragment, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { F as FormItem, C as CellWidgetRenderComp } from "./index-
|
|
3
|
-
import { N as NumberRange, R as RegexEditor } from "./regex-editor-
|
|
4
|
-
import { i as api, F as FIELD_TYPE } from "./
|
|
5
|
-
import { s as useIntersectionObserver, t as cacheAdapter } from "./index-
|
|
2
|
+
import { F as FormItem, C as CellWidgetRenderComp } from "./index-BG_CEaW0.js";
|
|
3
|
+
import { N as NumberRange, R as RegexEditor } from "./regex-editor-CIVvr_Lx.js";
|
|
4
|
+
import { i as api, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
5
|
+
import { s as useIntersectionObserver, t as cacheAdapter } from "./index-CWpratsK.js";
|
|
6
6
|
import { debounce } from "lodash-es";
|
|
7
|
-
import { w as watchDebounced } from "./mb-render-
|
|
7
|
+
import { w as watchDebounced } from "./mb-render-D_uumPQr.js";
|
|
8
8
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "select-more",
|
|
10
10
|
emits: ["next"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-laOkjBe1.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "text-style",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
2
|
-
import {
|
|
2
|
+
import { cW as isObject, ck as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
3
|
const initialParams = {
|
|
4
4
|
contentSize: 0,
|
|
5
5
|
clientSize: 0,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
|
|
2
|
-
import { T as TimeDiffFormat } from "./
|
|
2
|
+
import { T as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
+
import "ant-design-vue";
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "timediff-design",
|
|
7
8
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, unref } from "vue";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
|
-
import { F as FIELD_TYPE, _ as _export_sfc } from "./
|
|
4
|
-
import { C as CellWidgetRenderComp } from "./index-
|
|
3
|
+
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
4
|
+
import { C as CellWidgetRenderComp } from "./index-BG_CEaW0.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "trace-design",
|
|
7
7
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, withCtx, createVNode, createCommentVNode, createElementVNode, toDisplayString, unref, createTextVNode } from "vue";
|
|
2
|
-
import { u as useModelFields, f as useSpreadSheet, h as useReverseModeling, F as FormItem } from "./index-
|
|
3
|
-
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-
|
|
4
|
-
import {
|
|
5
|
-
import { N as NumberRange, R as RegexEditor } from "./regex-editor-
|
|
6
|
-
import { F as FIELD_TYPE } from "./
|
|
2
|
+
import { u as useModelFields, f as useSpreadSheet, h as useReverseModeling, F as FormItem } from "./index-BG_CEaW0.js";
|
|
3
|
+
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-rXaru-8n.js";
|
|
4
|
+
import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-B4KDvHhR.js";
|
|
5
|
+
import { N as NumberRange, R as RegexEditor } from "./regex-editor-CIVvr_Lx.js";
|
|
6
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "dayjs";
|
|
9
9
|
import "ant-design-vue";
|
|
10
|
-
import { A as AddRuleBtn } from "./index-
|
|
10
|
+
import { A as AddRuleBtn } from "./index-CWpratsK.js";
|
|
11
11
|
const _hoisted_1 = { class: "mt-4px" };
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
13
|
__name: "trace-props",
|
|
@@ -68,7 +68,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
68
|
});
|
|
69
69
|
const isTraceDate = computed(() => props.fieldType === FIELD_TYPE.TRACE_DATE);
|
|
70
70
|
const isRecordNo = computed(() => props.fieldType === FIELD_TYPE.RECORD_NO);
|
|
71
|
-
const isDevice = computed(() => props.fieldType === FIELD_TYPE.DEVICE);
|
|
72
71
|
const isMaterialNo = computed(() => props.fieldType === FIELD_TYPE.MATERIAL_NO);
|
|
73
72
|
const fixedFieldType = computed(() => FIELD_TYPE.DATE);
|
|
74
73
|
const isRefType = computed(() => {
|
|
@@ -209,28 +208,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
209
208
|
]),
|
|
210
209
|
_: 1
|
|
211
210
|
}, 8, ["label"])) : createCommentVNode("", true),
|
|
212
|
-
|
|
211
|
+
!__props.readonly ? (openBlock(), createBlock(unref(DisplayFieldsEditor), {
|
|
213
212
|
key: 5,
|
|
213
|
+
displayFields: formState.value.displayFields,
|
|
214
|
+
"onUpdate:displayFields": _cache[7] || (_cache[7] = ($event) => formState.value.displayFields = $event),
|
|
215
|
+
fieldMeta: __props.fieldMeta,
|
|
216
|
+
disabled: __props.disabled
|
|
217
|
+
}, null, 8, ["displayFields", "fieldMeta", "disabled"])) : createCommentVNode("", true),
|
|
218
|
+
unref(getIsSearchableField)(__props.fieldMeta) ? (openBlock(), createBlock(unref(QuickSearchEditor), {
|
|
219
|
+
key: 6,
|
|
214
220
|
fieldMeta: __props.fieldMeta,
|
|
215
221
|
disabled: __props.disabled,
|
|
222
|
+
searchable: formState.value.searchable,
|
|
223
|
+
"onUpdate:searchable": _cache[8] || (_cache[8] = ($event) => formState.value.searchable = $event),
|
|
216
224
|
"search-field": formState.value.searchField,
|
|
217
225
|
"onUpdate:searchField": onSearchFieldChange
|
|
218
|
-
}, null, 8, ["fieldMeta", "disabled", "search-field"])) : createCommentVNode("", true),
|
|
226
|
+
}, null, 8, ["fieldMeta", "disabled", "searchable", "search-field"])) : createCommentVNode("", true),
|
|
219
227
|
isTraceDate.value ? (openBlock(), createBlock(DateFormatEditor, {
|
|
220
|
-
key:
|
|
228
|
+
key: 7,
|
|
221
229
|
widget: props.widget,
|
|
222
230
|
"field-type": fixedFieldType.value,
|
|
223
231
|
disabled: __props.disabled
|
|
224
232
|
}, null, 8, ["widget", "field-type", "disabled"])) : createCommentVNode("", true),
|
|
225
233
|
isTraceDate.value && !__props.readonly ? (openBlock(), createBlock(FormItem, {
|
|
226
|
-
key:
|
|
234
|
+
key: 8,
|
|
227
235
|
label: `${_ctx.$t("sys.defaultValue")}`,
|
|
228
236
|
inline: false
|
|
229
237
|
}, {
|
|
230
238
|
default: withCtx(() => [
|
|
231
239
|
createVNode(_component_a_checkbox, {
|
|
232
240
|
checked: formState.value.defaultSystemDate,
|
|
233
|
-
"onUpdate:checked": _cache[
|
|
241
|
+
"onUpdate:checked": _cache[9] || (_cache[9] = ($event) => formState.value.defaultSystemDate = $event),
|
|
234
242
|
disabled: __props.disabled
|
|
235
243
|
}, {
|
|
236
244
|
default: withCtx(() => [
|
|
@@ -242,7 +250,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
242
250
|
_: 1
|
|
243
251
|
}, 8, ["label"])) : createCommentVNode("", true),
|
|
244
252
|
isTraceDate.value ? (openBlock(), createBlock(DateRangeEditor, {
|
|
245
|
-
key:
|
|
253
|
+
key: 9,
|
|
246
254
|
"field-meta": __props.fieldMeta,
|
|
247
255
|
widget: props.widget,
|
|
248
256
|
"field-type": fixedFieldType.value,
|
|
@@ -250,13 +258,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
250
258
|
disabled: __props.disabled
|
|
251
259
|
}, null, 8, ["field-meta", "widget", "field-type", "readonly", "disabled"])) : createCommentVNode("", true),
|
|
252
260
|
isRefType.value ? (openBlock(), createBlock(RefAutofillEditor, {
|
|
253
|
-
key:
|
|
261
|
+
key: 10,
|
|
254
262
|
fieldMeta: __props.fieldMeta,
|
|
255
263
|
disabled: __props.disabled,
|
|
256
264
|
"autofill-rules": autofillRules.value,
|
|
257
|
-
"onUpdate:autofillRules": _cache[
|
|
265
|
+
"onUpdate:autofillRules": _cache[10] || (_cache[10] = ($event) => autofillRules.value = $event),
|
|
258
266
|
"enable-autofill": enableAutofill.value,
|
|
259
|
-
"onUpdate:enableAutofill": _cache[
|
|
267
|
+
"onUpdate:enableAutofill": _cache[11] || (_cache[11] = ($event) => enableAutofill.value = $event)
|
|
260
268
|
}, null, 8, ["fieldMeta", "disabled", "autofill-rules", "enable-autofill"])) : createCommentVNode("", true)
|
|
261
269
|
], 64);
|
|
262
270
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-laOkjBe1.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "trace-style",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { F as FormItem } from "./index-BG_CEaW0.js";
|
|
3
|
+
import { aZ as FieldSysVarDefaultValueEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
+
import "ant-design-vue";
|
|
6
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
8
|
__name: "user-props",
|
|
8
9
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-laOkjBe1.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "user-style",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { u as useModelFields, f as useSpreadSheet, b as useDrop,
|
|
4
|
-
import { m as PaperWidgeValueType, X as ExpressionModeEnum, Y as ExpressionTabEnum } from "./
|
|
3
|
+
import { u as useModelFields, f as useSpreadSheet, b as useDrop, q as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, r as SingleDrop, c as getFieldIcon } from "./index-BG_CEaW0.js";
|
|
4
|
+
import { m as PaperWidgeValueType, X as ExpressionModeEnum, Y as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
5
5
|
import "dayjs";
|
|
6
|
+
import "ant-design-vue";
|
|
6
7
|
const _hoisted_1 = { class: "mt-4px" };
|
|
7
8
|
const _hoisted_2 = ["id"];
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createVNode, defineComponent, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, withCtx, withKeys, normalizeClass, toDisplayString, createTextVNode, createCommentVNode, Fragment, renderList, normalizeStyle, computed, createBlock, withModifiers, toRaw, unref, nextTick, mergeProps, h } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { v as FormTypeEnum, i as api, u as useModal, _ as _export_sfc, bX as FormDesignEnum, G as useNamespace, aX as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
3
|
import { orderBy, isArray, cloneDeep } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import { I as Icon } from "./AntdIcon-C3RMq2zm.js";
|
|
6
5
|
import { Form } from "ant-design-vue";
|
|
6
|
+
import { I as Icon } from "./AntdIcon-C3RMq2zm.js";
|
|
7
7
|
var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
|
|
8
8
|
SEARCH_SEVICE2["EQ"] = "eq";
|
|
9
9
|
SEARCH_SEVICE2["IEQ"] = "iEq";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as SignMode, k as SignSwitcher, g as getPreviewUrl, G as GctDialog } from "../index-
|
|
2
|
-
import { A, B, l,
|
|
1
|
+
import { S as SignMode, k as SignSwitcher, g as getPreviewUrl, G as GctDialog } from "../index-CWpratsK.js";
|
|
2
|
+
import { A, B, l, P, m, n, p, j, i, a } from "../index-CWpratsK.js";
|
|
3
3
|
import { message, Modal } from "ant-design-vue";
|
|
4
|
-
import { i as api,
|
|
4
|
+
import { i as api, u as useModal, G as useNamespace, _ as _export_sfc } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
5
5
|
import { createVNode, defineComponent, ref, reactive, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, withCtx, computed, createBlock, mergeProps, createElementVNode, toDisplayString, createCommentVNode, createTextVNode } from "vue";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import dayjs from "dayjs";
|
|
8
|
-
import { a as FormAnnotationController } from "../form-annotation-controller-
|
|
8
|
+
import { a as FormAnnotationController } from "../form-annotation-controller-DDDyHAwe.js";
|
|
9
9
|
import { I as Icon } from "../AntdIcon-C3RMq2zm.js";
|
|
10
10
|
var PrintModeEnum = /* @__PURE__ */ ((PrintModeEnum2) => {
|
|
11
11
|
PrintModeEnum2["ASYNC"] = "async";
|
|
@@ -21,7 +21,8 @@ const printPolling = useSingletonPolling();
|
|
|
21
21
|
async function formPrint(tmplInstantId, printConfig) {
|
|
22
22
|
const key = await api.apaas.fileTask.postSubmit({
|
|
23
23
|
tmplInstantId,
|
|
24
|
-
type: "FORM"
|
|
24
|
+
type: "FORM",
|
|
25
|
+
showPrintFieldBg: printConfig?.showPrintFieldBg
|
|
25
26
|
});
|
|
26
27
|
if (!key) return;
|
|
27
28
|
const hide = message.loading("打印中...", 0);
|
|
@@ -1082,13 +1083,12 @@ export {
|
|
|
1082
1083
|
B as BomViewerModal,
|
|
1083
1084
|
l as CommonScanModal,
|
|
1084
1085
|
FileModeEnum,
|
|
1085
|
-
m as MaterialConsumeScanModal,
|
|
1086
1086
|
P as ParseRuleModal,
|
|
1087
1087
|
PrintModeEnum,
|
|
1088
|
-
|
|
1089
|
-
|
|
1088
|
+
m as StocktakeScanModal,
|
|
1089
|
+
n as StocktakeWebRender,
|
|
1090
1090
|
formPrint,
|
|
1091
|
-
|
|
1091
|
+
p as initRenderToAdapter,
|
|
1092
1092
|
j as initWebNocodeAdapter,
|
|
1093
1093
|
i as initWebPaasUploadApis,
|
|
1094
1094
|
useWebAnnotation,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { f as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { a as PaperWidgeType } from "./
|
|
2
|
+
import { f as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BG_CEaW0.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DMuR0u4j.js";
|
|
4
|
+
import { a as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
|
-
import
|
|
7
|
+
import "ant-design-vue";
|
|
8
|
+
import { A as AlignEditor } from "./align-editor-DpDuDOMr.js";
|
|
8
9
|
const _hoisted_1 = { class: "pl-6px" };
|
|
9
10
|
const _hoisted_2 = { class: "flex justify-end" };
|
|
10
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
|
|
2
|
-
import { F as FormItem, S as SelectEx } from "./index-
|
|
2
|
+
import { F as FormItem, S as SelectEx } from "./index-BG_CEaW0.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
|
-
import {
|
|
4
|
+
import { G as useNamespace, F as FIELD_TYPE, _ as _export_sfc, K as DiagonalDirection } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import { S as SingleFieldDrop } from "./single-field-drop-eClQhTSv.js";
|
|
7
6
|
import { message } from "ant-design-vue";
|
|
7
|
+
import { S as SingleFieldDrop } from "./single-field-drop-BFhQs-3z.js";
|
|
8
8
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "diagonal-name-editor",
|
|
10
10
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
|
|
2
|
-
import { L as LeftOutlined, R as RightOutlined,
|
|
3
|
-
import { S as SizeEditor } from "./size-editor-
|
|
2
|
+
import { L as LeftOutlined, R as RightOutlined, s as isClient, f as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-BG_CEaW0.js";
|
|
3
|
+
import { S as SizeEditor } from "./size-editor-Dx3y_otg.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
|
-
import { W as WidgetImageSizeMode, _ as _export_sfc } from "./
|
|
5
|
+
import { W as WidgetImageSizeMode, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { a as useWebUpload } from "./index-
|
|
9
|
-
import { C as CloseOutlined } from "./version-select-
|
|
8
|
+
import { a as useWebUpload } from "./index-CWpratsK.js";
|
|
9
|
+
import { C as CloseOutlined } from "./version-select-DSFIlYgX.js";
|
|
10
10
|
const resumeSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307154239'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7317'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M316%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208zM512%20622c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039zM512%20482c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039z'%20p-id='7318'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M880%20112H144c-17.7%200-32%2014.3-32%2032v736c0%2017.7%2014.3%2032%2032%2032h736c17.7%200%2032-14.3%2032-32V144c0-17.7-14.3-32-32-32z%20m-40%20728H184V184h656v656z'%20p-id='7319'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M648%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208z'%20p-id='7320'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
|
|
11
11
|
const rotateSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595306944988'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1820'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M1464.3%20279.7'%20p-id='1821'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M512%20960c-60.5%200-119.1-11.9-174.4-35.2-53.4-22.6-101.3-54.9-142.4-96s-73.4-89-96-142.4C75.9%20631.1%2064%20572.5%2064%20512s11.9-119.1%2035.2-174.4c22.6-53.4%2054.9-101.3%2096-142.4s89-73.4%20142.4-96C392.9%2075.9%20451.5%2064%20512%2064s119.1%2011.9%20174.4%2035.2c53.4%2022.6%20101.3%2054.9%20142.4%2096s73.4%2089%2096%20142.4C948.1%20392.9%20960%20451.5%20960%20512c0%2019.1-15.5%2034.6-34.6%2034.6s-34.6-15.5-34.6-34.6c0-51.2-10-100.8-29.8-147.4-19.1-45.1-46.4-85.6-81.2-120.4C745%20209.4%20704.5%20182%20659.4%20163c-46.7-19.7-96.3-29.8-147.4-29.8-51.2%200-100.8%2010-147.4%2029.8-45.1%2019.1-85.6%2046.4-120.4%2081.2S182%20319.5%20163%20364.6c-19.7%2046.7-29.8%2096.3-29.8%20147.4%200%2051.2%2010%20100.8%2029.8%20147.4%2019.1%2045.1%2046.4%2085.6%2081.2%20120.4C279%20814.6%20319.5%20842%20364.6%20861c46.7%2019.7%2096.3%2029.8%20147.4%2029.8%2064.6%200%20128.4-16.5%20184.4-47.8%2054.4-30.4%20100.9-74.1%20134.6-126.6%2010.3-16.1%2031.7-20.8%2047.8-10.4%2016.1%2010.3%2020.8%2031.7%2010.4%2047.8-39.8%2062-94.8%20113.7-159.1%20149.6-66.2%2037-141.7%2056.6-218.1%2056.6z'%20p-id='1822'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M924%20552c-19.8%200-36-16.2-36-36V228c0-19.8%2016.2-36%2036-36s36%2016.2%2036%2036v288c0%2019.8-16.2%2036-36%2036zM275.4%20575.5c9.5-2.5%2019.1%202.9%2022.3%2012.2%203.5%2010.2%209.9%2017.7%2019.1%2022.6%207.1%203.9%2015.1%205.8%2024%205.8%2016.6%200%2030.8-6.9%2042.5-20.8%2011.7-13.8%2020-32.7%2024.9-75.1-7.7%2012.2-17.3%2020.8-28.7%2025.8-11.4%205-23.7%207.4-36.8%207.4-26.7%200-47.7-8.3-63.3-24.9-15.5-16.6-23.3-37.9-23.3-64.1%200-25.1%207.7-47.1%2023-66.2%2015.3-19%2037.9-28.6%2067.8-28.6%2040.3%200%2068.1%2018.1%2083.4%2054.4%208.5%2019.9%2012.7%2044.9%2012.7%2074.9%200%2033.8-5.1%2063.8-15.3%2089.9-16.9%2043.5-45.5%2065.2-85.8%2065.2-27%200-47.6-7.1-61.6-21.2-10-10.1-16.4-22-19.3-35.8-2-9.6%204-19.1%2013.5-21.6l0.9%200.1z%20m103-74.4c9.4-7.5%2014.1-20.6%2014.1-39.3%200-16.8-4.2-29.3-12.7-37.5S360.6%20412%20347.5%20412c-14%200-25.2%204.7-33.4%2014.1-8.2%209.4-12.4%2022-12.4%2037.7%200%2014.9%203.6%2026.7%2010.9%2035.5%207.2%208.8%2018.8%2013.1%2034.6%2013.1%2011.4%200%2021.8-3.8%2031.2-11.3zM646.6%20414.4c12.4%2022.8%2018.5%2054%2018.5%2093.7%200%2037.6-5.6%2068.7-16.8%2093.3-16.2%2035.3-42.8%2052.9-79.6%2052.9-33.2%200-57.9-14.4-74.2-43.3-13.5-24.1-20.3-56.4-20.3-97%200-31.4%204.1-58.4%2012.2-80.9%2015.2-42%2042.7-63%2082.5-63%2035.9%200%2061.8%2014.8%2077.7%2044.3z%20m-40.2%20173.3c9.4-13.9%2014-39.9%2014-78%200-27.4-3.4-50-10.1-67.7-6.8-17.7-19.9-26.6-39.4-26.6-17.9%200-31%208.4-39.3%2025.2-8.3%2016.8-12.4%2041.6-12.4%2074.3%200%2024.6%202.6%2044.4%207.9%2059.4%208.1%2022.8%2022%2034.3%2041.6%2034.3%2015.7%200%2028.3-7%2037.7-20.9zM803.3%20387.2c11.2%2011.3%2016.8%2025%2016.8%2041.2%200%2016.7-5.8%2030.7-17.5%2041.8C791%20481.4%20777.4%20487%20762%20487c-17.1%200-31.2-5.8-42.1-17.4-10.9-11.6-16.4-25.1-16.4-40.6%200-16.5%205.8-30.4%2017.3-41.7%2011.5-11.3%2025.3-17%2041.2-17%2016.3%200%2030.1%205.7%2041.3%2016.9zM739.5%20451c6.2%206.2%2013.7%209.3%2022.5%209.3%208.4%200%2015.8-3.1%2022.1-9.3%206.3-6.2%209.4-13.7%209.4-22.6%200-8.5-3.1-15.9-9.3-22.1-6.2-6.2-13.6-9.3-22.2-9.3s-16.1%203.1-22.4%209.3c-6.3%206.2-9.4%2013.7-9.4%2022.6-0.1%208.4%203%2015.8%209.3%2022.1z'%20p-id='1823'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
|
|
12
12
|
const scaleSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307195033'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8116'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M887.081%20904.791a25.8%2025.8%200%200%201-18.376-7.619L705.618%20734.075l-4.163%203.369c-58.255%2047.18-131.522%2073.16-206.32%2073.16-181.07%200-328.377-147.308-328.377-328.367%200-181.068%20147.308-328.376%20328.377-328.376%20181.063%200%20328.376%20147.308%20328.376%20328.376%200%2077.072-27.412%20152.07-77.169%20211.17l-3.522%204.173%20162.719%20162.744a25.846%2025.846%200%200%201%207.639%2018.432%2026.081%2026.081%200%200%201-26.051%2026.045l-0.046-0.01zM495.13%20205.957c-152.336%200-276.27%20123.935-276.27%20276.27%200%20152.33%20123.934%20276.27%20276.27%20276.27%20152.34%200%20276.275-123.94%20276.275-276.27%200-152.335-123.935-276.27-276.275-276.27z'%20fill='%23ffffff'%20p-id='8117'%3e%3c/path%3e%3cpath%20d='M626.545%20508.355h-262.83a26.127%2026.127%200%200%201%200-52.255h262.83a26.127%2026.127%200%200%201%200%2052.255z'%20fill='%23ffffff'%20p-id='8118'%3e%3c/path%3e%3cpath%20d='M495.13%20639.77a26.127%2026.127%200%200%201-26.128-26.128v-262.83a26.127%2026.127%200%200%201%2052.255%200v262.835a26.127%2026.127%200%200%201-26.127%2026.123z'%20fill='%23ffffff'%20p-id='8119'%3e%3c/path%3e%3c/svg%3e";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, normalizeClass, toDisplayString, renderList, createBlock, normalizeStyle } from "vue";
|
|
2
|
-
import { M as LineDirection } from "./
|
|
2
|
+
import { M as LineDirection } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import
|
|
5
|
+
import "ant-design-vue";
|
|
6
|
+
import { F as FormItem, w as LineStyleOptions, x as ColorPicker } from "./index-BG_CEaW0.js";
|
|
6
7
|
const _hoisted_1 = { class: "ks-row-middle" };
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
__name: "widget-line",
|