@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, computed, withCtx, createElementVNode, createTextVNode, toDisplayString, nextTick, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { i as api, F as FIELD_TYPE$1,
|
|
3
|
-
import { l as SEARCH_TYPE, u as useModelFields, F as FormItem, m as IconTooltip } from "./index-
|
|
4
|
-
import {
|
|
2
|
+
import { i as api, F as FIELD_TYPE$1, bQ as FIELD_TYPE_BASIC, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
|
+
import { l as SEARCH_TYPE, u as useModelFields, F as FormItem, m as IconTooltip } from "./index-BG_CEaW0.js";
|
|
4
|
+
import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-B4KDvHhR.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
import { FIELD_TYPE, useModal } from "@gct-paas/core";
|
|
7
7
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -299,28 +299,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
299
299
|
]),
|
|
300
300
|
_: 1
|
|
301
301
|
}, 8, ["label"]),
|
|
302
|
-
(
|
|
302
|
+
createVNode(unref(DisplayFieldsEditor), {
|
|
303
|
+
displayFields: formState.value.displayFields,
|
|
304
|
+
"onUpdate:displayFields": _cache[2] || (_cache[2] = ($event) => formState.value.displayFields = $event),
|
|
305
|
+
fieldMeta: __props.fieldMeta,
|
|
306
|
+
disabled: __props.disabled
|
|
307
|
+
}, null, 8, ["displayFields", "fieldMeta", "disabled"]),
|
|
308
|
+
(isRefType.value || isRefMultiType.value || unref(getIsSearchableField)(__props.fieldMeta)) && __props.fieldMeta.field !== "production_identification_id_" ? (openBlock(), createBlock(unref(QuickSearchEditor), {
|
|
303
309
|
key: 1,
|
|
304
310
|
fieldMeta: __props.fieldMeta,
|
|
305
311
|
disabled: __props.disabled,
|
|
312
|
+
searchable: formState.value.searchable,
|
|
313
|
+
"onUpdate:searchable": _cache[3] || (_cache[3] = ($event) => formState.value.searchable = $event),
|
|
306
314
|
"search-field": formState.value.searchField,
|
|
307
|
-
"onUpdate:searchField": _cache[
|
|
308
|
-
}, null, 8, ["fieldMeta", "disabled", "search-field"])) : createCommentVNode("", true),
|
|
315
|
+
"onUpdate:searchField": _cache[4] || (_cache[4] = ($event) => formState.value.searchField = $event)
|
|
316
|
+
}, null, 8, ["fieldMeta", "disabled", "searchable", "search-field"])) : createCommentVNode("", true),
|
|
309
317
|
isRefType.value || isShowAutoFillConfig.value ? (openBlock(), createBlock(RefAutofillEditor, {
|
|
310
318
|
key: 2,
|
|
311
319
|
fieldMeta: __props.fieldMeta,
|
|
312
320
|
disabled: __props.disabled,
|
|
313
321
|
"autofill-rules": formState.value.autofillRules,
|
|
314
|
-
"onUpdate:autofillRules": _cache[
|
|
322
|
+
"onUpdate:autofillRules": _cache[5] || (_cache[5] = ($event) => formState.value.autofillRules = $event),
|
|
315
323
|
"enable-autofill": formState.value.enableAutofill,
|
|
316
|
-
"onUpdate:enableAutofill": _cache[
|
|
324
|
+
"onUpdate:enableAutofill": _cache[6] || (_cache[6] = ($event) => formState.value.enableAutofill = $event)
|
|
317
325
|
}, null, 8, ["fieldMeta", "disabled", "autofill-rules", "enable-autofill"])) : createCommentVNode("", true),
|
|
318
326
|
isRefType.value || isRefMultiType.value ? (openBlock(), createBlock(RefDataFilterEditor, {
|
|
319
327
|
key: 3,
|
|
320
328
|
fieldMeta: __props.fieldMeta,
|
|
321
329
|
disabled: __props.disabled,
|
|
322
330
|
"data-filter": formState.value.dataFilter,
|
|
323
|
-
"onUpdate:dataFilter": _cache[
|
|
331
|
+
"onUpdate:dataFilter": _cache[7] || (_cache[7] = ($event) => formState.value.dataFilter = $event)
|
|
324
332
|
}, null, 8, ["fieldMeta", "disabled", "data-filter"])) : createCommentVNode("", true)
|
|
325
333
|
]),
|
|
326
334
|
_: 1
|
|
@@ -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: "ref-style",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, createElementVNode, renderSlot, toDisplayString, ref, reactive, watch, onBeforeUnmount, withModifiers, Fragment, withCtx, createTextVNode, renderList, normalizeClass, createCommentVNode, onMounted, createBlock, normalizeStyle, toRaw } from "vue";
|
|
2
2
|
import { isNil, cloneDeep } from "lodash-es";
|
|
3
|
-
import { _ as _export_sfc, i as api,
|
|
4
|
-
import { F as FormItem } from "./index-
|
|
3
|
+
import { _ as _export_sfc, i as api, u as useModal } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
4
|
+
import { F as FormItem } from "./index-BG_CEaW0.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
const _hoisted_1$3 = { class: "number-range" };
|
|
7
7
|
const _hoisted_2$2 = { class: "middle" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b_ as registerInstance, b$ as createEvent, c0 as getColumnByProp, c1 as timeout, c2 as getVisibleSourceItem, c3 as getColumns, c4 as rowTypes, c5 as GroupingRowPlugin, c6 as StretchColumn, c7 as isStretchPlugin, c8 as AutoSizeColumnPlugin, c9 as FilterPlugin, ca as ExportFilePlugin, cb as SortingPlugin, cc as ColumnMovePlugin, cd as ThemeService, ce as h, cf as Host, cg as getElement, ch as BasePlugin, ci as reduce, cj as columnTypes, ck as debounce, cl as RESIZE_INTERVAL, cm as DimensionStore, cn as gatherTrimmedItems, co as getColumnSizes, cp as getItemByIndex, cq as DataStore, cr as getSourceItem, cs as getSourceItemVirtualIndexByProp, ct as getColumnType, cu as setSourceByPhysicalIndex, cv as setSourceByVirtualIndex, cw as SelectionStore, cx as cropCellToMax, cy as nextCell, cz as isRowType, cA as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
2
|
import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
3
3
|
import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
4
4
|
class ColumnDataProvider {
|
package/dist/{revogr-attribution_7.entry-CHtbU2lV.js → revogr-attribution_7.entry-BJZ-twfj.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b_ as registerInstance, ce as h, cf as Host, b$ as createEvent, cr as getSourceItem, cg as getElement, cF as ColumnService, cG as MOBILE_CLASS, cH as SELECTION_BORDER_CLASS, cI as getCellData, cJ as getCellEditor, cK as getRange, cL as isRangeSingleCell, cM as codesLetter, cA as ViewportStore, cq as DataStore, cN as calculateRowHeaderSize, cO as ROW_HEADER_TYPE, cP as getScrollbarSize, cQ as FOCUS_CLASS, cp as getItemByIndex, c1 as timeout, cR as CELL_HANDLER_CLASS, ck as debounce, cS as TMP_SELECTION_BG_CLASS, cl as RESIZE_INTERVAL, cT as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
2
|
import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
3
|
-
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-
|
|
3
|
+
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-DeDBtyJd.js";
|
|
4
4
|
import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
5
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
5
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DTkhEkFR.js";
|
|
6
6
|
const Attribution = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-
|
|
1
|
+
import { c1 as timeout, b_ as registerInstance, b$ as createEvent, ce as h, cU as EDIT_INPUT_WR, cf as Host, cg as getElement, ck as debounce, cX as DRAGG_TEXT, cr as getSourceItem, cT as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-DeDBtyJd.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
1
|
+
import { cY as PSEUDO_GROUP_ITEM, cZ as GROUP_EXPANDED, c_ as GROUP_DEPTH, ce as h, c$ as GROUP_EXPAND_BTN, d0 as DATA_ROW, cr as getSourceItem, d1 as isGroupingColumn, d2 as GROUP_COLUMN_PROP, d3 as getCellRaw, d4 as DATA_COL, d5 as CELL_CLASS, d6 as Build, d7 as isRowDragService, d8 as DRAG_ICON_CLASS, d9 as DRAGGABLE_CLASS, da as getCellDataParsed, db as GROUP_EXPAND_EVENT, b_ as registerInstance, b$ as createEvent, cF as ColumnService, dc as isGrouping, cf as Host, cg as getElement, cp as getItemByIndex, dd as HEADER_ROW_CLASS, de as HEADER_ACTUAL_ROW_CLASS, df as ROW_FOCUSED_CLASS, dg as HEADER_SORTABLE_CLASS, dh as MIN_COL_SIZE, cQ as FOCUS_CLASS, di as FilterButton, dj as HeaderCellRenderer, dk as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DTkhEkFR.js";
|
|
3
3
|
import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
4
4
|
const SortingSign = ({ column }) => {
|
|
5
5
|
var _a;
|
package/dist/{revogr-filter-panel.entry-BDkhY-74.js → revogr-filter-panel.entry-zGvhshno.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b_ as registerInstance, b$ as createEvent, ck as debounce, ce as h, cB as AndOrButton, cC as ReorderButton, cD as TrashButton, cE as isFilterBtn, cf as Host, cg as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, unref, createBlock, withCtx, createVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-
|
|
3
|
-
import { O as Orientation,
|
|
2
|
+
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-BG_CEaW0.js";
|
|
3
|
+
import { O as Orientation, x as LabelPosition } 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$1 = /* @__PURE__ */ defineComponent({
|
|
7
8
|
__name: "check-box-style-editor",
|
|
8
9
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
3
|
const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "serialnumber-design",
|
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q,
|
|
2
|
-
import { O, _, S, V } from "../version-select-
|
|
1
|
+
import { Q, bO, C, R, a1, bP, X, Y, F, bQ, d, bR, bS, bT, bU, bV, bW, c, q, t, I, j, bX, as, bY, Z, bZ, U, at, o } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
|
+
import { O, _, S, V } from "../version-select-DSFIlYgX.js";
|
|
3
3
|
import { S as S2 } from "../AntdIcon-C3RMq2zm.js";
|
|
4
4
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
5
5
|
Platform2["WEB"] = "web";
|
|
@@ -50,38 +50,38 @@ export {
|
|
|
50
50
|
ButtonStyle,
|
|
51
51
|
ButtonType,
|
|
52
52
|
ButtonType_vant,
|
|
53
|
-
|
|
53
|
+
bO as CardControlEnum,
|
|
54
54
|
C as CreateType,
|
|
55
55
|
R as Dependency_ENUM,
|
|
56
56
|
a1 as EntityModelCategoryEnum,
|
|
57
|
-
|
|
57
|
+
bP as EntityModelTypeEnum,
|
|
58
58
|
X as ExpressionModeEnum,
|
|
59
59
|
Y as ExpressionTabEnum,
|
|
60
60
|
F as FIELD_TYPE,
|
|
61
|
-
|
|
61
|
+
bQ as FIELD_TYPE_BASIC,
|
|
62
62
|
d as FIELD_TYPE_BUSINESS,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
bR as FIELD_TYPE_INSPECTION,
|
|
64
|
+
bS as FIELD_TYPE_LOGIC,
|
|
65
|
+
bT as FIELD_TYPE_MATERIAL,
|
|
66
|
+
bU as FIELD_TYPE_PRETREATMENT,
|
|
67
|
+
bV as FIELD_TYPE_PRODUCE,
|
|
68
|
+
bW as FIELD_TYPE_STERILIZATION,
|
|
69
69
|
c as FIELD_TYPE_TRACE,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
q as FIELD_TYPE_WAREHOUSE,
|
|
71
|
+
t as FieldDefaultValueTypeEnum,
|
|
72
72
|
I as FieldIconMap,
|
|
73
73
|
j as FieldTypeToJs,
|
|
74
|
-
|
|
74
|
+
bX as FormDesignEnum,
|
|
75
75
|
as as FormulaRuleFieldKeyEnum,
|
|
76
76
|
GctMqttTopsEnum,
|
|
77
77
|
O as OnlineFormModelModal,
|
|
78
78
|
_ as OnlineFormModelSelect,
|
|
79
79
|
Platform,
|
|
80
|
-
|
|
80
|
+
bY as RecordNoGenerateEnum,
|
|
81
81
|
Z as ReturnTypeEnum,
|
|
82
82
|
S as SEARCH_SEVICE,
|
|
83
83
|
S2 as SignatureTypeEnum,
|
|
84
|
-
|
|
84
|
+
bZ as TagTypeEnum,
|
|
85
85
|
U as UniqueConstraintType,
|
|
86
86
|
V as VersionSelect,
|
|
87
87
|
at as formulaRuleFieldDict,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock } from "vue";
|
|
2
|
-
import { C as CellUpload } from "./cell-upload-
|
|
2
|
+
import { C as CellUpload } from "./cell-upload-Dw3t7ZKJ.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "signature-design",
|
|
5
5
|
props: {
|
|
@@ -8,7 +8,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8
8
|
},
|
|
9
9
|
setup(__props) {
|
|
10
10
|
return (_ctx, _cache) => {
|
|
11
|
-
return openBlock(), createBlock(CellUpload, {
|
|
11
|
+
return openBlock(), createBlock(CellUpload, {
|
|
12
|
+
disabled: __props.disabled,
|
|
13
|
+
"upload-type": "signature"
|
|
14
|
+
}, null, 8, ["disabled"]);
|
|
12
15
|
};
|
|
13
16
|
}
|
|
14
17
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode, renderList, createTextVNode, normalizeClass, mergeProps } from "vue";
|
|
2
2
|
import { message } from "ant-design-vue";
|
|
3
|
-
import {
|
|
4
|
-
import { F as FormItem, S as SelectEx } from "./index-
|
|
5
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
3
|
+
import { E as SignatureTypeEnum, A as SignatureTimeTypeEnum, F as FIELD_TYPE, z as SignatureNumberTypeEnum, $ as ImageDisplayModeEnum, D as SignShowTypeEnum, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
4
|
+
import { F as FormItem, S as SelectEx } from "./index-BG_CEaW0.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-BeGxW6de.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
const _hoisted_1 = { class: "adaptive-warning" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _export_sfc } from "./
|
|
1
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
2
|
const _sfc_main = {};
|
|
3
3
|
function _sfc_render(_ctx, _cache) {
|
|
4
4
|
return null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { b as useDrop, T as TransferType, u as useModelFields, c as getFieldIcon,
|
|
2
|
+
import { G as useNamespace, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
|
+
import { b as useDrop, T as TransferType, u as useModelFields, c as getFieldIcon, r as SingleDrop } from "./index-BG_CEaW0.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "single-field-drop",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
rowCount: number;
|
|
3
|
+
colCount: number;
|
|
4
|
+
dgRowCount: number;
|
|
5
|
+
dgColCount: number;
|
|
6
|
+
dgDirection: 'x' | 'y';
|
|
7
|
+
columns: {
|
|
8
|
+
prop: string;
|
|
9
|
+
fieldType: string;
|
|
10
|
+
newOptions: any[];
|
|
11
|
+
}[];
|
|
6
12
|
};
|
|
7
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
14
|
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FIELD_TYPE } from '../../../../shared/enum';
|
|
2
|
+
export declare const QUICK_FILL_ALLOWED_FIELDS: Set<FIELD_TYPE>;
|
|
3
|
+
/**
|
|
4
|
+
* 处理 快速填报 行数据,将每一行的 字段值 根据 字段类型 进行 转换 和 格式化
|
|
5
|
+
* [动态表]、[固定表]共用
|
|
6
|
+
*/
|
|
7
|
+
export declare function processQuickFillRows(rows?: never[], columns?: never[]): any[];
|
|
8
|
+
/**
|
|
9
|
+
* 判断[固定表]单个分组 是否所有字段都为空
|
|
10
|
+
*/
|
|
11
|
+
export declare const getIsGroupEmpty: (group: any, colKeys: string[]) => boolean;
|
|
12
|
+
/**
|
|
13
|
+
* 将[固定表]的 RevoGrid 形式数据 进行分组 转换成独立行数据
|
|
14
|
+
*/
|
|
15
|
+
interface SplitOptions {
|
|
16
|
+
rowCount: number;
|
|
17
|
+
colCount: number;
|
|
18
|
+
direction: 'x' | 'y';
|
|
19
|
+
z?: 'row' | 'column';
|
|
20
|
+
}
|
|
21
|
+
export declare function groupFixedTableRows(rows: any[], options: SplitOptions): any[];
|
|
22
|
+
export {};
|
package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
tdId: string;
|
|
3
|
+
formState: any;
|
|
4
|
+
widgetCenter: any;
|
|
5
|
+
fixedTableInfo: {
|
|
6
|
+
subFieldKey: string;
|
|
7
|
+
subModelKey: string;
|
|
8
|
+
range: any;
|
|
9
|
+
dgRange: any;
|
|
10
|
+
fillDirection: 'x' | 'y';
|
|
11
|
+
columns: any[];
|
|
12
|
+
columnKeys: string[];
|
|
13
|
+
quickFillVisible: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -2,6 +2,7 @@ import { default as BorderTD } from './border-td.vue';
|
|
|
2
2
|
import { default as DocumentLoading } from './document-loading.vue';
|
|
3
3
|
import { default as DocumentLayout } from './document-layout.vue';
|
|
4
4
|
import { default as DocumentPaper } from './document-paper';
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
|
|
5
|
+
import { default as DynamicTableAction } from './document-sub-table-action/dynamic-table-action.vue';
|
|
6
|
+
import { default as DynamicQuickFillModal } from './document-quick-fill/dynamic-quick-fill-modal.vue';
|
|
7
|
+
import { default as FixedQuickFillModal } from './document-quick-fill/fixed-quick-fill-modal.vue';
|
|
8
|
+
export { BorderTD, DocumentLoading, DocumentLayout, DocumentPaper, DynamicTableAction, DynamicQuickFillModal, FixedQuickFillModal, };
|
|
@@ -22,7 +22,9 @@ export declare class MCRender implements IMcRender {
|
|
|
22
22
|
static bomModalProps: any;
|
|
23
23
|
openScanModal(opts: {
|
|
24
24
|
title: string;
|
|
25
|
-
onScan: (
|
|
25
|
+
onScan: (params: {
|
|
26
|
+
str?: string;
|
|
27
|
+
}) => void;
|
|
26
28
|
}): Promise<void>;
|
|
27
29
|
/**
|
|
28
30
|
* 实际打开UIModal的函数
|
|
@@ -94,6 +94,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
94
94
|
contentHighlight: Record<string, any>;
|
|
95
95
|
productSearchFields: string;
|
|
96
96
|
__isPrintRender?: boolean | undefined;
|
|
97
|
+
showPrintFieldBg?: boolean | undefined;
|
|
97
98
|
}[], IBasicInfoItem[] | {
|
|
98
99
|
key: string;
|
|
99
100
|
tid: string;
|
|
@@ -131,6 +132,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
131
132
|
contentHighlight: Record<string, any>;
|
|
132
133
|
productSearchFields: string;
|
|
133
134
|
__isPrintRender?: boolean | undefined;
|
|
135
|
+
showPrintFieldBg?: boolean | undefined;
|
|
134
136
|
}[]>;
|
|
135
137
|
selfInfoList: import('vue').Ref<any, any>;
|
|
136
138
|
tmplBomCMap: import('vue').Ref<Record<string, FormTmplBomController>, Record<string, FormTmplBomController>>;
|
|
@@ -174,6 +176,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
174
176
|
contentHighlight: Record<string, any>;
|
|
175
177
|
productSearchFields: string;
|
|
176
178
|
__isPrintRender?: boolean | undefined;
|
|
179
|
+
showPrintFieldBg?: boolean | undefined;
|
|
177
180
|
} | undefined;
|
|
178
181
|
updatePageData: (uniqueId: string) => void;
|
|
179
182
|
updateRenderModeType: (uniqueId: string, newRenderModeType: RenderModeEnum, updateButton?: boolean) => void;
|
|
@@ -11,6 +11,8 @@ export interface IEnumSelectProps extends BaseCoreComponent.FieldBasicProps {
|
|
|
11
11
|
direction: Orientation;
|
|
12
12
|
/*** 间距 */
|
|
13
13
|
letterSpace: number;
|
|
14
|
+
/** 选项间距 */
|
|
15
|
+
optionGap?: number;
|
|
14
16
|
}
|
|
15
17
|
export interface IEnumSelect extends BaseCoreComponent.BasicSchema {
|
|
16
18
|
props: IEnumSelectProps;
|
|
@@ -17,6 +17,10 @@ export interface ISelectProps extends BaseCoreComponent.FieldBasicProps {
|
|
|
17
17
|
}>;
|
|
18
18
|
/** 是否启用数据填充 */
|
|
19
19
|
enableAutofill?: boolean;
|
|
20
|
+
/** 搜索展示字段 */
|
|
21
|
+
displayFields?: any[];
|
|
22
|
+
/** 是否可快速搜索 */
|
|
23
|
+
quickSearchable?: boolean;
|
|
20
24
|
/** 快速搜索 */
|
|
21
25
|
quickSearchField?: string[];
|
|
22
26
|
quickSearchExp?: string;
|
|
@@ -34,6 +34,13 @@ export interface ITraceProps extends BaseCoreComponent.FieldBasicProps {
|
|
|
34
34
|
enableAutofill?: boolean;
|
|
35
35
|
/** 条码解析规则配置 */
|
|
36
36
|
parseRuleProps?: ParseRuleProps;
|
|
37
|
+
/** 搜索展示字段 */
|
|
38
|
+
displayFields?: any[];
|
|
39
|
+
/** 是否可快速搜索 */
|
|
40
|
+
quickSearchable?: boolean;
|
|
41
|
+
/** 快速搜索 */
|
|
42
|
+
quickSearchField?: string[];
|
|
43
|
+
quickSearchExp?: string;
|
|
37
44
|
/** 是否开启上下限 */
|
|
38
45
|
enableRangeValidate?: boolean;
|
|
39
46
|
/** 上限校验模式 */
|
|
@@ -18,6 +18,10 @@ export interface ISubTableProps extends BaseCoreComponent.FieldBasicProps {
|
|
|
18
18
|
childInitRowLen?: number;
|
|
19
19
|
/** 动态表快速填报 */
|
|
20
20
|
quickFill?: boolean;
|
|
21
|
+
/** 删除二次确认 */
|
|
22
|
+
confirmBeforeDelete?: boolean;
|
|
23
|
+
/** 删除二次确认提示 */
|
|
24
|
+
confirmBeforeDeleteTip?: string;
|
|
21
25
|
/** 是否是物料消耗表 */
|
|
22
26
|
isMaterialConsumeTable?: boolean;
|
|
23
27
|
/** 绑定的物料消耗表id */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BomViewerModal
|
|
1
|
+
import { BomViewerModal } from './sub-table/material-consume';
|
|
2
2
|
import { default as CommonScanModal } from './sub-table/common/scan-modal.vue';
|
|
3
|
-
export { BomViewerModal, CommonScanModal
|
|
3
|
+
export { BomViewerModal, CommonScanModal };
|
|
4
4
|
export * from './parse-rule';
|
|
5
5
|
/**
|
|
6
6
|
* 挂载render
|
|
@@ -2,7 +2,9 @@ import { IModal } from '../../../../../shared/types';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
modal: IModal;
|
|
4
4
|
title?: string;
|
|
5
|
-
onScan: (params:
|
|
5
|
+
onScan: (params: {
|
|
6
|
+
str?: string;
|
|
7
|
+
}) => void;
|
|
6
8
|
};
|
|
7
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
10
|
export default _default;
|
|
@@ -4,7 +4,9 @@ export declare class SubTableRender implements ISubTableRender {
|
|
|
4
4
|
protected modalManager: ModalManager;
|
|
5
5
|
openScanModal(opts: {
|
|
6
6
|
title: string;
|
|
7
|
-
onScan: (
|
|
7
|
+
onScan: (params: {
|
|
8
|
+
str?: string;
|
|
9
|
+
}) => void;
|
|
8
10
|
}): Promise<unknown>;
|
|
9
11
|
openChangeRuleModal: ISubTableRender['openChangeRuleModal'];
|
|
10
12
|
destroyAllModals(): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { McWebRender } from './mc-web-render';
|
|
2
2
|
import { default as BomViewerModal } from './bom-modal.vue';
|
|
3
|
-
|
|
4
|
-
export { BomViewerModal, MaterialConsumeScanModal };
|
|
3
|
+
export { BomViewerModal };
|
|
5
4
|
export { McWebRender };
|
|
@@ -17,7 +17,9 @@ export declare class McWebRender extends MCRender {
|
|
|
17
17
|
}): Promise<void>;
|
|
18
18
|
openScanModal(opts: {
|
|
19
19
|
title: string;
|
|
20
|
-
onScan: (
|
|
20
|
+
onScan: (params: {
|
|
21
|
+
str?: string;
|
|
22
|
+
}) => void;
|
|
21
23
|
}): Promise<void>;
|
|
22
24
|
openChangeRuleModal(opts: {
|
|
23
25
|
config: ParseRuleProps;
|
|
@@ -65,7 +65,8 @@ export declare function isSystemField(key: string): boolean;
|
|
|
65
65
|
* @author lingxiaoming
|
|
66
66
|
* @date 2024-06-30 11:03:15
|
|
67
67
|
* @export
|
|
68
|
-
* @param {string} type
|
|
68
|
+
* @param {string} type 优先匹配的业务类型
|
|
69
|
+
* @param {string} fallbackType 业务类型没有配置图标时回退的基础字段类型
|
|
69
70
|
* @return {*} {string}
|
|
70
71
|
*/
|
|
71
|
-
export declare function getFieldIcon(type
|
|
72
|
+
export declare function getFieldIcon(type?: string, fallbackType?: string): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IDisplayField } from './display-fields.util';
|
|
2
|
+
import { IBindField } from '../../../../../../nocode-base/src';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
displayFields?: IDisplayField[];
|
|
5
|
+
fieldMeta: IBindField;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:displayFields": (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:displayFields"?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
displayFields: IDisplayField[];
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface IDisplayField {
|
|
2
|
+
_dfLabel: string;
|
|
3
|
+
_dfValue: string;
|
|
4
|
+
/** 前端标记不可移除(如物料编码) */
|
|
5
|
+
_dfUnremovable?: boolean;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* 不同字段类型显示字段的默认字段列表
|
|
10
|
+
*/
|
|
11
|
+
export declare const DEFAULT_DISPLAY_FIELDS_MAP: Record<string, string[]>;
|