@gct-paas/excel 0.1.21 → 0.1.22
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-Bf0x69CJ.js → VueVideoPlayer-dfgekKID.js} +2 -2
- package/dist/{agg-design-CLSOm6QJ.js → agg-design-yDLZkVkR.js} +1 -1
- package/dist/{agg-props-4nnDqWtf.js → agg-props-DrXyaNCT.js} +1 -1
- package/dist/{agg-style-FHSkeH5u.js → agg-style-D_6r9Myg.js} +1 -1
- package/dist/{align-editor-Bf391dfO.js → align-editor-D5Ra4SB6.js} +1 -1
- package/dist/{attach-fields-editor-U0Vg4ar8.js → attach-fields-editor-C4JBi-p_.js} +2 -2
- package/dist/{barcode-design-XLuURxqD.js → barcode-design-D3JH5Afi.js} +2 -2
- package/dist/base/index.es.js +77 -74
- package/dist/{base-font-editor-adnb7ShQ.js → base-font-editor-B6J_Ts2T.js} +2 -2
- package/dist/{boolean-design-Bk3jIc2m.js → boolean-design-DQvGDcd9.js} +2 -2
- package/dist/{boolean-props-D1C7P7oX.js → boolean-props-BPxPHLqI.js} +3 -3
- package/dist/{boolean-style-CWmep9-Y.js → boolean-style-BSc1-meP.js} +4 -4
- package/dist/{cell-upload-wzPF8ovv.js → cell-upload-CiWekXUb.js} +2 -2
- package/dist/{date-range-editor-CGCLkDFp.js → date-range-editor-DPt8-LqQ.js} +2 -2
- package/dist/{date-time-design-CG6fhsBd.js → date-time-design-Dv4dW-Iy.js} +1 -1
- package/dist/{date-time-props-DGa4XIFD.js → date-time-props-Cs4GVKqC.js} +3 -3
- package/dist/{date-time-style-C5xs_HQX.js → date-time-style-iSIC_SNA.js} +1 -1
- package/dist/{decimal-design-Dg2PWB7J.js → decimal-design-C-GvHZPx.js} +1 -1
- package/dist/{decimal-display-mode-B5nxWZnK.js → decimal-display-mode-C_ooE9xL.js} +2 -2
- package/dist/{decimal-props-BUduwEu5.js → decimal-props-Vv8GsEHC.js} +4 -4
- package/dist/{decimal-style-CW6QyMh0.js → decimal-style-CY-zOSpD.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BlQSjkvP.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-Bw0TkvW-.js} +2 -2
- package/dist/{diagonal-design-xlveiCza.js → diagonal-design-DS1kXGt1.js} +16 -4
- package/dist/{double-design-Dkzgoo0g.js → double-design-DAz8wmRS.js} +1 -1
- package/dist/{double-props-DwI5z-Mz.js → double-props-e76nS4qi.js} +4 -4
- package/dist/{double-style-B09n2Oup.js → double-style-kWIo_xYy.js} +1 -1
- package/dist/{dynamic-table-action-KwzaoPBC.js → dynamic-table-action-CbHoY76E.js} +12 -3
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js} +250 -225
- package/dist/{edit.utils-CXmmCnxE-Do4weQUL.js → edit.utils-CXmmCnxE-CLCBDG4R.js} +1 -1
- package/dist/{enum-design-D_hYB8q2.js → enum-design-DVoXOTIU.js} +2 -2
- package/dist/{enum-props-SHpVl7is.js → enum-props-DgsIc2Fz.js} +3 -3
- package/dist/{enum-style-zTZKj6Li.js → enum-style-C4r86NqC.js} +3 -3
- package/dist/excel.css +284 -66
- package/dist/{exceljs.min-Dy4OavkS.js → exceljs.min-D-mqoZsC.js} +2 -2
- package/dist/{expression-design-DH37JCnd.js → expression-design-D7PiPYQJ.js} +1 -1
- package/dist/{expression-props-D4aZ2FzY.js → expression-props-DDcg6alT.js} +1 -1
- package/dist/{expression-style-Bj0tEmqJ.js → expression-style-C0GgXqbp.js} +1 -1
- package/dist/{file-design-hV82bwcT.js → file-design-CeAmaBow.js} +1 -1
- package/dist/{file-props-BR0xOn8f.js → file-props-e06WxwTc.js} +2 -2
- package/dist/{file-style-CPXRGFCR.js → file-style-FigMgXwH.js} +1 -1
- package/dist/{font-editor-QrOFLcNA.js → font-editor-DYBI1FXx.js} +3 -3
- package/dist/{image-design-B3FASJvR.js → image-design-CcHGCTJH.js} +1 -1
- package/dist/{image-design-WqYFe8Hz.js → image-design-DxKCuSrx.js} +2 -2
- package/dist/{image-props-DZ0lHvNN.js → image-props-Co5Kp-ZH.js} +1 -1
- package/dist/{image-style-D3jSU46p.js → image-style-D6I5jBAk.js} +1 -1
- package/dist/{index-C9uva5U9.js → index-8-tnvhRC.js} +1 -1
- package/dist/{index-DKR79OBc.js → index-B2Rk7ex6.js} +1 -1
- package/dist/{index-CVsM5Bam.js → index-BC-Zhsm-.js} +1 -1
- package/dist/{index-Cblyq6yH.js → index-BZfGHVOt.js} +1 -1
- package/dist/{index-DVaUctcz.js → index-Bsabb65u.js} +1 -1
- package/dist/{index-B_bGf5j3.js → index-C7EF3bU6.js} +2 -2
- package/dist/{index-BpacgAuY.js → index-CRcKdyyr.js} +1 -1
- package/dist/{index-CAp9OIUg.js → index-CTEoW7C9.js} +2 -2
- package/dist/{index-BYnhPyxm.js → index-CgDvaY3D.js} +1 -1
- package/dist/{index-4aWfyi4S.js → index-CpsQzaA9.js} +2 -2
- package/dist/{index-BCRANZ6N.js → index-CwwHZhmI.js} +1 -1
- package/dist/{index-pMF19I7H.js → index-D3H3AjqQ.js} +1 -1
- package/dist/{index-B2JfWmQ5.js → index-D51-PvAq.js} +1 -1
- package/dist/{index-RY064UmV.js → index-D6YzCpCw.js} +2 -1
- package/dist/{index-Dvp79b5b.js → index-D7DRfQTh.js} +1 -1
- package/dist/{index-D8uy8whi.js → index-DFGBKBau.js} +1 -1
- package/dist/{index-CsLZerBY.js → index-DJdI2Xy_.js} +771 -311
- package/dist/{index-Cqh9EW_d.js → index-DSSHWwFD.js} +4 -1
- package/dist/{index-DegtNz07.js → index-DXtJ-139.js} +1 -1
- package/dist/{index-BYFfjfXo.js → index-Dacbq4L4.js} +249 -27
- package/dist/{index-CquVE9ii.js → index-DgBJVPsK.js} +1 -1
- package/dist/{index-DNHA-joo.js → index-Dku5Txlf.js} +1 -1
- package/dist/{index-DxgKf-wy.js → index-DsBusJ7S.js} +1 -1
- package/dist/{index-BgJenclY.js → index-Dx6OiqW2.js} +1 -1
- package/dist/{index-DpFPYL8b.js → index-E-flWZFi.js} +1 -1
- package/dist/{index-ChFaMPeg.js → index-GGZRPnYe.js} +2 -2
- package/dist/{index-wmbtcxzT.js → index-H9YwRWK1.js} +2 -2
- package/dist/{index-Jz0_ApK0.js → index-J1Nf5wgV.js} +1 -1
- package/dist/{index-dECIkP6q.js → index-OK49_noi.js} +1 -1
- package/dist/{index-iGA3l7nd.js → index-UeWlvtDf.js} +1 -1
- package/dist/{index-Ol6_R1tg.js → index-l3TfFIxY.js} +1 -1
- package/dist/{index-BocrGDq2.js → index-xg8BpbDL.js} +1 -1
- package/dist/{index-DU3SF4eg.js → index-yclgXrqJ.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{integer-design-_-oIGMZi.js → integer-design-DJ4aKAz0.js} +1 -1
- package/dist/{integer-props-CbhqGTWT.js → integer-props-CaSOySHa.js} +4 -4
- package/dist/{integer-style-CRDDq2e1.js → integer-style-CCLqQ4ys.js} +1 -1
- package/dist/{mb-render-Bh6EegbE.js → mb-render-JGHghp5L.js} +1 -1
- package/dist/{number-input-ex-n0MRaA8Z.js → number-input-ex-CtHpEamV.js} +1 -1
- package/dist/{org-props-B_ED1XJd.js → org-props-CRAmwHlJ.js} +2 -2
- package/dist/{org-style-P7mL2u1-.js → org-style-BWj_AEnP.js} +1 -1
- package/dist/{pagination-design-CC2ZvE5K.js → pagination-design-BGUqZKxh.js} +2 -2
- package/dist/paper-widget-design-CgmZ8LSm.js +4 -0
- package/dist/{qrcode-design-C_G8R7Lo.js → qrcode-design-CjN0UWN3.js} +1 -1
- package/dist/{ref-autofill-editor-DdUMjliQ.js → ref-autofill-editor-BKYPW69A.js} +2 -2
- package/dist/{ref-props-CCwA0E2w.js → ref-props-M99PRlsI.js} +3 -3
- package/dist/{ref-style-C3Qy3L2V.js → ref-style-BCeprSYg.js} +1 -1
- package/dist/{regex-editor-CswiNY9l.js → regex-editor-BGaFYbF4.js} +2 -2
- package/dist/{revo-grid.entry-fhJrZlXs.js → revo-grid.entry-Bokapeoj.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BxX5Aax7.js → revogr-attribution_7.entry-D7WJHpFT.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-B84Mg6_S.js → revogr-clipboard_3.entry-Bk1SGzbF.js} +2 -2
- package/dist/{revogr-data_4.entry-BSSMKH9X.js → revogr-data_4.entry-2v7X9qHp.js} +2 -2
- package/dist/{revogr-filter-panel.entry-xjYp1Z8c.js → revogr-filter-panel.entry-DXaW46ts.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-JwULnnUe.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-ygXwKc_C.js} +2 -2
- package/dist/{serialnumber-design-qdEzFAi4.js → serialnumber-design-Bo13RmJa.js} +1 -1
- package/dist/shared/index.es.js +22 -22
- package/dist/{signature-design-DyLTKEwS.js → signature-design-DT5T5nus.js} +1 -1
- package/dist/{signature-props-CXwqrh0H.js → signature-props-cW9R4qcY.js} +3 -3
- package/dist/{signature-style-ibNQSAPQ.js → signature-style-XPxgyfzG.js} +1 -1
- package/dist/{single-field-drop-BSdWy-C4.js → single-field-drop-CjK8KjfH.js} +2 -2
- package/dist/{size-editor-8C1AxONY.js → size-editor-aLyY3Bsr.js} +1 -1
- package/dist/src/nocode-base/src/constant/index.d.ts +16 -1
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +3 -1
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +8 -1
- package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +13 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +8 -0
- package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +6 -0
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +8 -1
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +8 -1
- package/dist/src/nocode-base/src/types/widgets/i-diagonal.d.ts +4 -2
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +12 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +8 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +7 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/assoc-filter-editor/assoc-filter-editor.vue.d.ts +20 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/assoc-filter-editor/assoc-filter.util.d.ts +30 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/assoc-filter-editor/assoc-source-field-select.vue.d.ts +22 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/assoc-filter-editor/index.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +40 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +55 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/assoc-filter.d.ts +11 -0
- package/dist/{text-design-BzDtceUO.js → text-design-DIR_98fe.js} +2 -2
- package/dist/{text-design-Di-2lpQC.js → text-design-Dz8pIESR.js} +2 -2
- package/dist/{text-props-YXtd9DCt.js → text-props-BxirdX2V.js} +5 -5
- package/dist/{text-style-BtclwHUQ.js → text-style-MPmJRVRg.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-BFMM5iqm.js → throttle-Cpk1LoGk-C22z7VFi.js} +1 -1
- package/dist/{timediff-design-DPDNHC4C.js → timediff-design-Pud7SFpe.js} +1 -1
- package/dist/{trace-design-B2tffMF2.js → trace-design-DNVZ_y9D.js} +2 -2
- package/dist/trace-props-LPvWrrti.js +610 -0
- package/dist/{trace-style-AmSVnHXF.js → trace-style-DnaicSRA.js} +1 -1
- package/dist/{user-props-hR1saiG7.js → user-props-DdTpHX3B.js} +2 -2
- package/dist/{user-style-BsMfhFHo.js → user-style-6SWgJi8d.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-zAPZ-2E_.js → value-editor.vue_vue_type_style_index_0_lang-DKeZWlc0.js} +2 -2
- package/dist/{version-select-CeQP0Bne.js → version-select-CXWtI4W-.js} +1 -1
- package/dist/web-render/index.es.js +2 -2
- package/dist/{widget-barcode-DPdsvAF5.js → widget-barcode-iBjDv4NF.js} +4 -4
- package/dist/{widget-diagonal-BfjZGony.js → widget-diagonal-4ZMgaI9y.js} +72 -17
- package/dist/{widget-image-D_E_0ZEd.js → widget-image-B63wZzz4.js} +5 -5
- package/dist/{widget-line-SDiSxrzr.js → widget-line-CIG-L--W.js} +2 -2
- package/dist/{widget-pagination-DdIoe9Yy.js → widget-pagination-CAmhXECi.js} +5 -5
- package/dist/{widget-power-hifeC3T0.js → widget-power-CsiguFSe.js} +3 -3
- package/dist/{widget-qrcode-DBEsM1iE.js → widget-qrcode-BuEayrLO.js} +3 -3
- package/dist/{widget-rangelimit-clQ84tvq.js → widget-rangelimit-CqaLvV8n.js} +3 -3
- package/dist/{widget-serialnumber-BXvzHCYR.js → widget-serialnumber-C_wAw0TS.js} +1 -1
- package/dist/{widget-text-CPojsb_9.js → widget-text-CRApo2EO.js} +5 -5
- package/dist/{widget-timediff-DGBZsme_.js → widget-timediff-D1q5VNhe.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-CvvM0OZ2.js +0 -4
- package/dist/trace-props-CWTXFYZ9.js +0 -275
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import { B as BwipCodeTypeOptions, p as loadBwip } from "./index-
|
|
2
|
+
import { B as BwipCodeTypeOptions, p as loadBwip } from "./index-DJdI2Xy_.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { watch, toRefs, reactive, toRaw, defineComponent, ref, computed, createVNode, createTextVNode, Fragment, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, toDisplayString, createCommentVNode, mergeProps, createApp, onMounted, normalizeClass, withDirectives, vShow, h } from "vue";
|
|
2
|
-
import { D as DownOutlined, r as registerDialogComp, u as useModelFields, F as FormItem, n as SEARCH_TYPE, k as draggableComponent, t as transformMappingField4Auto } from "./index-
|
|
2
|
+
import { D as DownOutlined, r as registerDialogComp, u as useModelFields, F as FormItem, n as SEARCH_TYPE, k as draggableComponent, t as transformMappingField4Auto } from "./index-DJdI2Xy_.js";
|
|
3
3
|
import { Cascader, Tooltip, Input, Empty, Tree, Transfer, Select, Tag } from "ant-design-vue";
|
|
4
|
-
import { i as api, F as FIELD_TYPE, C as CreateType, G as FieldIconMap, _ as _export_sfc, c as FIELD_TYPE_TRACE, g as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { i as api, F as FIELD_TYPE, C as CreateType, G as FieldIconMap, _ as _export_sfc, c as FIELD_TYPE_TRACE, g as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
5
5
|
import { cloneDeep, has, isEmpty, pick, isBoolean } from "lodash-es";
|
|
6
6
|
import { useModal } from "@gct-paas/core";
|
|
7
7
|
const DEFAULT_DISPLAY_FIELDS_MAP = {
|
|
@@ -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 { n as SEARCH_TYPE, u as useModelFields, F as FormItem, o as IconTooltip } from "./index-
|
|
4
|
-
import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-
|
|
2
|
+
import { i as api, F as FIELD_TYPE$1, bR as FIELD_TYPE_BASIC, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
3
|
+
import { n as SEARCH_TYPE, u as useModelFields, F as FormItem, o as IconTooltip } from "./index-DJdI2Xy_.js";
|
|
4
|
+
import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-BKYPW69A.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({
|
|
@@ -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-B6J_Ts2T.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 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
-
import { F as FormItem } from "./index-
|
|
3
|
+
import { _ as _export_sfc, i as api } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
4
|
+
import { F as FormItem } from "./index-DJdI2Xy_.js";
|
|
5
5
|
import { u as useModal } from "./use-namespace-qtLS8nEh.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
7
7
|
const _hoisted_1$3 = { class: "number-range" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b$ as registerInstance, c0 as createEvent, c1 as getColumnByProp, c2 as timeout, c3 as getVisibleSourceItem, c4 as getColumns, c5 as rowTypes, c6 as GroupingRowPlugin, c7 as StretchColumn, c8 as isStretchPlugin, c9 as AutoSizeColumnPlugin, ca as FilterPlugin, cb as ExportFilePlugin, cc as SortingPlugin, cd as ColumnMovePlugin, ce as ThemeService, cf as h, cg as Host, ch as getElement, ci as BasePlugin, cj as reduce, ck as columnTypes, cl as debounce, cm as RESIZE_INTERVAL, cn as DimensionStore, co as gatherTrimmedItems, cp as getColumnSizes, cq as getItemByIndex, cr as DataStore, cs as getSourceItem, ct as getSourceItemVirtualIndexByProp, cu as getColumnType, cv as setSourceByPhysicalIndex, cw as setSourceByVirtualIndex, cx as SelectionStore, cy as cropCellToMax, cz as nextCell, cA as isRowType, cB as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.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-BxX5Aax7.js → revogr-attribution_7.entry-D7WJHpFT.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b$ as registerInstance, cf as h, cg as Host, c0 as createEvent, cs as getSourceItem, ch as getElement, cG as ColumnService, cH as MOBILE_CLASS, cI as SELECTION_BORDER_CLASS, cJ as getCellData, cK as getCellEditor, cL as getRange, cM as isRangeSingleCell, cN as codesLetter, cB as ViewportStore, cr as DataStore, cO as calculateRowHeaderSize, cP as ROW_HEADER_TYPE, cQ as getScrollbarSize, cR as FOCUS_CLASS, cq as getItemByIndex, c2 as timeout, cS as CELL_HANDLER_CLASS, cl as debounce, cT as TMP_SELECTION_BG_CLASS, cm as RESIZE_INTERVAL, cU as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.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-CLCBDG4R.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-C22z7VFi.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 { c2 as timeout, b$ as registerInstance, c0 as createEvent, cf as h, cV as EDIT_INPUT_WR, cg as Host, ch as getElement, cl as debounce, cY as DRAGG_TEXT, cs as getSourceItem, cU as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-CLCBDG4R.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 { cZ as PSEUDO_GROUP_ITEM, c_ as GROUP_EXPANDED, c$ as GROUP_DEPTH, cf as h, d0 as GROUP_EXPAND_BTN, d1 as DATA_ROW, cs as getSourceItem, d2 as isGroupingColumn, d3 as GROUP_COLUMN_PROP, d4 as getCellRaw, d5 as DATA_COL, d6 as CELL_CLASS, d7 as Build, d8 as isRowDragService, d9 as DRAG_ICON_CLASS, da as DRAGGABLE_CLASS, db as getCellDataParsed, dc as GROUP_EXPAND_EVENT, b$ as registerInstance, c0 as createEvent, cG as ColumnService, dd as isGrouping, cg as Host, ch as getElement, cq as getItemByIndex, de as HEADER_ROW_CLASS, df as HEADER_ACTUAL_ROW_CLASS, dg as ROW_FOCUSED_CLASS, dh as HEADER_SORTABLE_CLASS, di as MIN_COL_SIZE, cR as FOCUS_CLASS, dj as FilterButton, dk as HeaderCellRenderer, dl as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-C22z7VFi.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-xjYp1Z8c.js → revogr-filter-panel.entry-DXaW46ts.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b$ as registerInstance, c0 as createEvent, cl as debounce, cf as h, cC as AndOrButton, cD as ReorderButton, cE as TrashButton, cF as isFilterBtn, cg as Host, ch as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,6 +1,6 @@
|
|
|
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, w as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-DJdI2Xy_.js";
|
|
3
|
+
import { O as Orientation, w as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.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 {
|
|
2
|
-
import { O, _, S, a, V } from "../version-select-
|
|
1
|
+
import { Q, bP, C, R, a1, bQ, X, Y, F, bR, d, bS, bT, bU, bV, bW, bX, c, n, q, G, j, bY, as, bZ, Z, b_, U, at, o } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
2
|
+
import { O, _, S, a, V } from "../version-select-CXWtI4W-.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -43,46 +43,46 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
43
43
|
return GctMqttTopsEnum2;
|
|
44
44
|
})(GctMqttTopsEnum || {});
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
Q as ASSIGNMENTSTRATEGY_ENUM,
|
|
47
47
|
ButtonOpeEnum,
|
|
48
48
|
ButtonSize,
|
|
49
49
|
ButtonStyle,
|
|
50
50
|
ButtonType,
|
|
51
51
|
ButtonType_vant,
|
|
52
|
-
|
|
52
|
+
bP as CardControlEnum,
|
|
53
53
|
C as CreateType,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
R as Dependency_ENUM,
|
|
55
|
+
a1 as EntityModelCategoryEnum,
|
|
56
|
+
bQ as EntityModelTypeEnum,
|
|
57
|
+
X as ExpressionModeEnum,
|
|
58
|
+
Y as ExpressionTabEnum,
|
|
59
59
|
F as FIELD_TYPE,
|
|
60
|
-
|
|
60
|
+
bR as FIELD_TYPE_BASIC,
|
|
61
61
|
d as FIELD_TYPE_BUSINESS,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
bS as FIELD_TYPE_INSPECTION,
|
|
63
|
+
bT as FIELD_TYPE_LOGIC,
|
|
64
|
+
bU as FIELD_TYPE_MATERIAL,
|
|
65
|
+
bV as FIELD_TYPE_PRETREATMENT,
|
|
66
|
+
bW as FIELD_TYPE_PRODUCE,
|
|
67
|
+
bX as FIELD_TYPE_STERILIZATION,
|
|
68
68
|
c as FIELD_TYPE_TRACE,
|
|
69
69
|
n as FIELD_TYPE_WAREHOUSE,
|
|
70
70
|
q as FieldDefaultValueTypeEnum,
|
|
71
71
|
G as FieldIconMap,
|
|
72
72
|
j as FieldTypeToJs,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
bY as FormDesignEnum,
|
|
74
|
+
as as FormulaRuleFieldKeyEnum,
|
|
75
75
|
GctMqttTopsEnum,
|
|
76
76
|
O as OnlineFormModelModal,
|
|
77
77
|
_ as OnlineFormModelSelect,
|
|
78
78
|
Platform,
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
bZ as RecordNoGenerateEnum,
|
|
80
|
+
Z as ReturnTypeEnum,
|
|
81
81
|
S as SEARCH_SEVICE,
|
|
82
82
|
a as SignatureTypeEnum,
|
|
83
|
-
|
|
83
|
+
b_ as TagTypeEnum,
|
|
84
84
|
U as UniqueConstraintType,
|
|
85
85
|
V as VersionSelect,
|
|
86
|
-
|
|
86
|
+
at as formulaRuleFieldDict,
|
|
87
87
|
o as onlineFormMasterModelTypeEnum
|
|
88
88
|
};
|
|
@@ -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-CiWekXUb.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "signature-design",
|
|
5
5
|
props: {
|
|
@@ -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 { D as SignatureTypeEnum, z as SignatureTimeTypeEnum, F as FIELD_TYPE, y as SignatureNumberTypeEnum,
|
|
4
|
-
import { F as FormItem, S as SelectEx } from "./index-
|
|
5
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
3
|
+
import { D as SignatureTypeEnum, z as SignatureTimeTypeEnum, F as FIELD_TYPE, y as SignatureNumberTypeEnum, $ as ImageDisplayModeEnum, A as SignShowTypeEnum, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
4
|
+
import { F as FormItem, S as SelectEx } from "./index-DJdI2Xy_.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-C4JBi-p_.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 "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
2
2
|
const _sfc_main = {};
|
|
3
3
|
function _sfc_render(_ctx, _cache) {
|
|
4
4
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { a as useNamespace } from "./use-namespace-qtLS8nEh.js";
|
|
3
|
-
import { b as useDrop, T as TransferType, u as useModelFields, d as getFieldIcon, w as SingleDrop } from "./index-
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { b as useDrop, T as TransferType, u as useModelFields, d as getFieldIcon, w as SingleDrop } from "./index-DJdI2Xy_.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -330,13 +330,28 @@ export declare enum BwipCodeType {
|
|
|
330
330
|
QRCode = "qrcode",
|
|
331
331
|
GS1DataMatrix = "gs1datamatrix"
|
|
332
332
|
}
|
|
333
|
-
/**
|
|
333
|
+
/** 分栏的方向(两栏) */
|
|
334
334
|
export declare enum DiagonalDirection {
|
|
335
335
|
/** 从左上到右下 \ */
|
|
336
336
|
Forward = "forward",
|
|
337
337
|
/** 从右上到左下 / */
|
|
338
338
|
Backward = "backward"
|
|
339
339
|
}
|
|
340
|
+
/** 分栏放射顶点(三栏) */
|
|
341
|
+
export declare enum DiagonalVertex {
|
|
342
|
+
/** 左上 */
|
|
343
|
+
TopLeft = "topLeft",
|
|
344
|
+
/** 右上 */
|
|
345
|
+
TopRight = "topRight",
|
|
346
|
+
/** 左下 */
|
|
347
|
+
BottomLeft = "bottomLeft",
|
|
348
|
+
/** 右下 */
|
|
349
|
+
BottomRight = "bottomRight"
|
|
350
|
+
}
|
|
351
|
+
/** 将旧版三栏分栏方向迁移为放射顶点 */
|
|
352
|
+
export declare function migrateDiagonalDirectionToVertex(direction: DiagonalDirection): DiagonalVertex;
|
|
353
|
+
/** 解析三栏放射顶点,兼容未设置 vertex 的老数据 */
|
|
354
|
+
export declare function resolveDiagonalVertex(size: number, direction: DiagonalDirection, vertex?: DiagonalVertex, hasVertexKey?: boolean): DiagonalVertex | undefined;
|
|
340
355
|
/**
|
|
341
356
|
* 图片组件高宽呈现模式
|
|
342
357
|
*/
|
package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { FormTmplBomController } from './tmpl-bom-controller';
|
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
import { BomEntriesValidator } from './bom-validator';
|
|
5
5
|
import { ISubTable, ParseRuleProps } from '../../types';
|
|
6
|
-
import { IUnitConversionRule } from '../../types/common/base';
|
|
6
|
+
import { IUnitConversionRule, ScanParamType } from '../../types/common/base';
|
|
7
7
|
import { FormModelController } from '../form-model/form-model-controller';
|
|
8
8
|
import { MaterialConsumptionPatternEnum } from '../../constant';
|
|
9
9
|
export declare class MCDataUtil {
|
|
@@ -76,6 +76,8 @@ export declare class MaterialConsumeTableController {
|
|
|
76
76
|
};
|
|
77
77
|
/** 解析规则映射配置 */
|
|
78
78
|
scanRuleProps: ParseRuleProps;
|
|
79
|
+
/**条码参数配置 */
|
|
80
|
+
scanParamType: ScanParamType;
|
|
79
81
|
/**
|
|
80
82
|
* 解析规则配置
|
|
81
83
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ParseRuleProps } from '../../types/common/base';
|
|
1
|
+
import { ParseRuleProps, ScanParamType } from '../../types/common/base';
|
|
2
2
|
import { FormModelController } from '../form-model/form-model-controller';
|
|
3
3
|
import { IMcRender } from '../../types';
|
|
4
4
|
/**
|
|
@@ -22,8 +22,15 @@ export declare class MCRender implements IMcRender {
|
|
|
22
22
|
static bomModalProps: any;
|
|
23
23
|
openScanModal(opts: {
|
|
24
24
|
title: string;
|
|
25
|
+
subModelKey?: string;
|
|
26
|
+
formModelController: FormModelController;
|
|
27
|
+
parsingRuleId?: string;
|
|
28
|
+
scanRules?: ParseRuleProps;
|
|
29
|
+
scanParam?: ScanParamType;
|
|
25
30
|
onScan: (params: {
|
|
26
31
|
str?: string;
|
|
32
|
+
parsedValue?: any;
|
|
33
|
+
transformedData?: any;
|
|
27
34
|
}) => void;
|
|
28
35
|
}): Promise<void>;
|
|
29
36
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MaterialConsumptionPatternEnum } from '../../constant';
|
|
2
|
+
import { RequiredQtyCalcRule, ScanParamType } from '../../types/common/base';
|
|
2
3
|
/** bom明细对象 */
|
|
3
4
|
export interface IBomEntry {
|
|
4
5
|
/** 明细id */
|
|
@@ -69,6 +70,8 @@ export interface IFormTmplBom {
|
|
|
69
70
|
material_loading_model_enabled_: boolean;
|
|
70
71
|
/** 条码解析规则(旧数据是id,新数据是json对象str) */
|
|
71
72
|
barcode_parsing_rules_id_?: string;
|
|
73
|
+
/** 条码参数配置,不开启条码解析时,用这个配置 */
|
|
74
|
+
barcodeParamType?: string;
|
|
72
75
|
/** 从BOM初始化 */
|
|
73
76
|
bom_init_enabled_?: boolean;
|
|
74
77
|
/** 人为指定物料 */
|
|
@@ -81,6 +84,14 @@ export interface IFormTmplBom {
|
|
|
81
84
|
deleted_?: boolean;
|
|
82
85
|
/** 物料消耗模式, record:记录模式,bom: BOM模式 */
|
|
83
86
|
material_consumption_pattern_?: MaterialConsumptionPatternEnum;
|
|
87
|
+
/** 是否启用条码参数配置 */
|
|
88
|
+
enable_barcode_param?: boolean;
|
|
89
|
+
/** 条码参数类型 */
|
|
90
|
+
scan_param_type_?: ScanParamType;
|
|
91
|
+
/** 需求数量计算规则 */
|
|
92
|
+
required_qty_calc_rule_?: RequiredQtyCalcRule;
|
|
93
|
+
/** 需求数量按生产数量计算时绑定的生产数量字段 */
|
|
94
|
+
product_qty_field_?: string;
|
|
84
95
|
}
|
|
85
96
|
/**
|
|
86
97
|
* 物料消耗表子模型的数据结构
|
|
@@ -98,6 +109,8 @@ export interface IMaterialConsumeData {
|
|
|
98
109
|
qty_?: number;
|
|
99
110
|
/** 需求数量 */
|
|
100
111
|
qty_required_?: number;
|
|
112
|
+
/** 序号 */
|
|
113
|
+
sort_num_?: number;
|
|
101
114
|
/** 数量单位 id */
|
|
102
115
|
qty_uom_id_?: string;
|
|
103
116
|
/** 需求数量单位 id */
|
|
@@ -413,4 +413,12 @@ export interface ICheckDsItem {
|
|
|
413
413
|
/** 检验标准 */
|
|
414
414
|
inspection_standard_: string;
|
|
415
415
|
}
|
|
416
|
+
export declare enum ScanParamType {
|
|
417
|
+
Lot = "lot",
|
|
418
|
+
UniqueCode = "uniqueCode"
|
|
419
|
+
}
|
|
420
|
+
export declare enum RequiredQtyCalcRule {
|
|
421
|
+
LotQty = "lotQty",
|
|
422
|
+
ProductQty = "productQty"
|
|
423
|
+
}
|
|
416
424
|
export {};
|
|
@@ -32,6 +32,12 @@ export interface ITraceProps extends BaseCoreComponent.FieldBasicProps {
|
|
|
32
32
|
}>;
|
|
33
33
|
/** 是否启用数据填充 */
|
|
34
34
|
enableAutofill?: boolean;
|
|
35
|
+
/** 是否启用关联过滤 */
|
|
36
|
+
enableAssocFilter?: boolean;
|
|
37
|
+
/** 关联过滤源字段 key;子表字段为 `subFieldKey.fieldKey` */
|
|
38
|
+
assocFilterSourceField?: string;
|
|
39
|
+
/** 关联过滤源字段类型 */
|
|
40
|
+
assocFilterSourceFieldType?: string;
|
|
35
41
|
/** 条码解析规则配置 */
|
|
36
42
|
parseRuleProps?: ParseRuleProps;
|
|
37
43
|
/** 搜索展示字段 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormModelController } from '../../hooks/form-model';
|
|
2
|
-
import { ParseRuleProps } from '../../types/common/base';
|
|
2
|
+
import { ParseRuleProps, ScanParamType } from '../../types/common/base';
|
|
3
3
|
export interface IMcRender {
|
|
4
4
|
/**
|
|
5
5
|
* 提示信息
|
|
@@ -15,8 +15,15 @@ export interface IMcRender {
|
|
|
15
15
|
*/
|
|
16
16
|
openScanModal(opts: {
|
|
17
17
|
title: string;
|
|
18
|
+
subModelKey?: string;
|
|
19
|
+
formModelController: FormModelController;
|
|
20
|
+
parsingRuleId?: string;
|
|
21
|
+
scanRules?: ParseRuleProps;
|
|
22
|
+
scanParam?: ScanParamType;
|
|
18
23
|
onScan: (params: {
|
|
19
24
|
str?: string;
|
|
25
|
+
parsedValue?: any;
|
|
26
|
+
transformedData?: any;
|
|
20
27
|
}) => void;
|
|
21
28
|
}): Promise<void>;
|
|
22
29
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormModelController } from '../../hooks/form-model';
|
|
2
|
-
import { ParseRuleProps } from '../../types';
|
|
2
|
+
import { ParseRuleProps, ScanParamType } from '../../types/common/base';
|
|
3
3
|
/** 子表绘制的基类 */
|
|
4
4
|
export interface ISubTableRender {
|
|
5
5
|
/**
|
|
@@ -11,8 +11,15 @@ export interface ISubTableRender {
|
|
|
11
11
|
*/
|
|
12
12
|
openScanModal(opts: {
|
|
13
13
|
title: string;
|
|
14
|
+
subModelKey?: string;
|
|
15
|
+
formModelController: FormModelController;
|
|
16
|
+
parsingRuleId?: string;
|
|
17
|
+
scanRules?: ParseRuleProps;
|
|
18
|
+
scanParam?: ScanParamType;
|
|
14
19
|
onScan: (params: {
|
|
15
20
|
str?: string;
|
|
21
|
+
parsedValue?: any;
|
|
22
|
+
transformedData?: any;
|
|
16
23
|
}) => void;
|
|
17
24
|
}): void;
|
|
18
25
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaperWidgeType, DiagonalDirection } from '../../constant';
|
|
1
|
+
import { PaperWidgeType, DiagonalDirection, DiagonalVertex } from '../../constant';
|
|
2
2
|
import { BaseCoreComponent, IBindField } from '../common/base';
|
|
3
3
|
export interface IDiagonalProps {
|
|
4
4
|
/** 表头分栏id */
|
|
@@ -12,8 +12,10 @@ export interface IDiagonalProps {
|
|
|
12
12
|
enableFields?: [boolean, boolean, boolean];
|
|
13
13
|
/** 绑定的字段 */
|
|
14
14
|
bindFields?: [IBindField | undefined, IBindField | undefined, IBindField | undefined];
|
|
15
|
-
/**
|
|
15
|
+
/** 分栏方向(两栏) */
|
|
16
16
|
direction: DiagonalDirection;
|
|
17
|
+
/** 放射顶点(三栏) */
|
|
18
|
+
vertex?: DiagonalVertex;
|
|
17
19
|
}
|
|
18
20
|
/** 表格列的属性 */
|
|
19
21
|
export interface IDiagonal extends BaseCoreComponent.BasicSchema {
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import { IModal } from '../../../../../shared/types';
|
|
2
|
+
import { FormModelController, ParseRuleProps } from '../../../../../nocode-base/src';
|
|
3
|
+
import { ScanParamType } from '../../../../../nocode-base/src/types/common/base';
|
|
2
4
|
type __VLS_Props = {
|
|
3
5
|
modal: IModal;
|
|
4
6
|
title?: string;
|
|
7
|
+
subModelKey?: string;
|
|
8
|
+
scanParam?: ScanParamType;
|
|
9
|
+
scanRules?: ParseRuleProps;
|
|
5
10
|
onScan: (params: {
|
|
6
11
|
str?: string;
|
|
12
|
+
parsedValue?: any;
|
|
13
|
+
transformedData?: any;
|
|
7
14
|
}) => void;
|
|
15
|
+
formModelController: FormModelController;
|
|
16
|
+
ruleTip?: string;
|
|
8
17
|
};
|
|
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, {
|
|
18
|
+
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, {
|
|
19
|
+
formRef: unknown;
|
|
20
|
+
}, HTMLDivElement>;
|
|
10
21
|
export default _default;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import { ISubTableRender } from '../../../../../nocode-base/src';
|
|
1
|
+
import { FormModelController, ISubTableRender, ParseRuleProps } from '../../../../../nocode-base/src';
|
|
2
2
|
import { ModalManager } from '../../common';
|
|
3
|
+
import { ScanParamType } from '../../../../../nocode-base/src/types/common/base.ts';
|
|
3
4
|
export declare class SubTableRender implements ISubTableRender {
|
|
4
5
|
protected modalManager: ModalManager;
|
|
5
6
|
openScanModal(opts: {
|
|
6
7
|
title: string;
|
|
8
|
+
subModelKey?: string;
|
|
9
|
+
formModelController: FormModelController;
|
|
10
|
+
scanRules?: ParseRuleProps;
|
|
11
|
+
scanParam?: ScanParamType;
|
|
7
12
|
onScan: (params: {
|
|
8
13
|
str?: string;
|
|
14
|
+
parsedValue?: any;
|
|
15
|
+
transformedData?: any;
|
|
9
16
|
}) => void;
|
|
10
17
|
}): Promise<unknown>;
|
|
11
18
|
openChangeRuleModal: ISubTableRender['openChangeRuleModal'];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FormModelController, MCRender, ParseRuleProps } from '../../../../../nocode-base/src';
|
|
2
2
|
import { IOverlayContainer } from '../../../../../shared/types';
|
|
3
|
+
import { ScanParamType } from '../../../../../nocode-base/src/types/common/base.ts';
|
|
3
4
|
export declare class McWebRender extends MCRender {
|
|
4
5
|
/**
|
|
5
6
|
* 所有打开的modal集合
|
|
@@ -17,8 +18,14 @@ export declare class McWebRender extends MCRender {
|
|
|
17
18
|
}): Promise<void>;
|
|
18
19
|
openScanModal(opts: {
|
|
19
20
|
title: string;
|
|
21
|
+
subModelKey?: string;
|
|
22
|
+
formModelController: FormModelController;
|
|
23
|
+
scanRules?: ParseRuleProps;
|
|
24
|
+
scanParam?: ScanParamType;
|
|
20
25
|
onScan: (params: {
|
|
21
26
|
str?: string;
|
|
27
|
+
parsedValue?: any;
|
|
28
|
+
transformedData?: any;
|
|
22
29
|
}) => void;
|
|
23
30
|
}): Promise<void>;
|
|
24
31
|
openChangeRuleModal(opts: {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IBindField } from '../../../../../../nocode-base/src';
|
|
2
|
+
import { FIELD_TYPE } from '../../../../../../shared/enum';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
fieldMeta: IBindField;
|
|
5
|
+
fieldType: FIELD_TYPE;
|
|
6
|
+
enableAssocFilter?: boolean;
|
|
7
|
+
assocFilterSourceField?: string;
|
|
8
|
+
assocFilterSourceFieldType?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
"update:assocFilterSourceField": (value?: string | undefined) => any;
|
|
13
|
+
"update:assocFilterSourceFieldType": (value?: string | undefined) => any;
|
|
14
|
+
"update:enableAssocFilter": (value: boolean) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:assocFilterSourceField"?: ((value?: string | undefined) => any) | undefined;
|
|
17
|
+
"onUpdate:assocFilterSourceFieldType"?: ((value?: string | undefined) => any) | undefined;
|
|
18
|
+
"onUpdate:enableAssocFilter"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FIELD_TYPE } from '../../../../../../shared/enum';
|
|
2
|
+
import { IBindField } from '../../../../../../nocode-base/src';
|
|
3
|
+
/** 关联过滤可选的源字段类型:LOT/SN、工单号 */
|
|
4
|
+
export declare const ASSOC_FILTER_SOURCE_TYPES: Set<FIELD_TYPE>;
|
|
5
|
+
/** 业务表类型:物料字段不支持关联过滤配置 */
|
|
6
|
+
export declare const BUSINESS_SUB_TABLE_TYPES: Set<string>;
|
|
7
|
+
export type ResolveSubTableTypeContext = {
|
|
8
|
+
cellSubTableType?: string | null;
|
|
9
|
+
masterModelKey?: string;
|
|
10
|
+
tables?: Array<{
|
|
11
|
+
type?: string;
|
|
12
|
+
model?: string;
|
|
13
|
+
field?: string;
|
|
14
|
+
}>;
|
|
15
|
+
modelMetaSubModelType?: string | null;
|
|
16
|
+
};
|
|
17
|
+
/** 是否为子表字段 */
|
|
18
|
+
export declare function isSubTableField(fieldMeta: IBindField): boolean;
|
|
19
|
+
/** 字段是否落在子表模型上(含仅有 model 指向子表、未写 subFieldKey 的历史数据) */
|
|
20
|
+
export declare function isFieldOnSubModel(fieldMeta: IBindField, masterModelKey?: string): boolean;
|
|
21
|
+
/** 解析当前字段所在子表类型 */
|
|
22
|
+
export declare function resolveSubTableType(fieldMeta: IBindField, ctx?: ResolveSubTableTypeContext): string | undefined;
|
|
23
|
+
/** 物料字段是否展示关联过滤配置(业务表内物料字段不支持) */
|
|
24
|
+
export declare function canShowAssocFilter(fieldMeta: IBindField, fieldType: FIELD_TYPE, ctx?: ResolveSubTableTypeContext): boolean;
|
|
25
|
+
/** 解析源字段存储值:主表 `fieldKey`,子表 `subFieldKey.fieldKey` */
|
|
26
|
+
export declare function parseAssocSourceField(value?: string): {
|
|
27
|
+
subFieldKey?: string;
|
|
28
|
+
fieldKey: string;
|
|
29
|
+
} | null;
|
|
30
|
+
export declare function buildAssocSourceFieldValue(fieldKey: string, subFieldKey?: string): string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FIELD_TYPE } from '../../../../../../shared/enum';
|
|
2
|
+
import { IBindField } from '../../../../../../nocode-base/src';
|
|
3
|
+
type FieldTreeNode = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
type?: FIELD_TYPE;
|
|
7
|
+
selectable?: boolean;
|
|
8
|
+
children?: FieldTreeNode[];
|
|
9
|
+
};
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
value?: string;
|
|
12
|
+
fieldMeta: IBindField;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
change: (value?: string | undefined, option?: FieldTreeNode | undefined) => any;
|
|
17
|
+
"update:value": (value?: string | undefined) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onChange?: ((value?: string | undefined, option?: FieldTreeNode | undefined) => any) | undefined;
|
|
20
|
+
"onUpdate:value"?: ((value?: string | undefined) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|