@gct-paas/excel 0.1.28-beta.2 → 0.1.28-beta.4
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-B6X1JmEL.js → VueVideoPlayer-1-3CIikO.js} +2 -2
- package/dist/{agg-design-DZpDRz0Y.js → agg-design-Bzf3ZZhF.js} +1 -1
- package/dist/{agg-props-ockP_cAM.js → agg-props-BJHg6Z1O.js} +1 -1
- package/dist/{agg-style-C7nWM2if.js → agg-style-Zv_v2UJO.js} +1 -1
- package/dist/{align-editor-DpWvsI_x.js → align-editor-CO7dorCE.js} +1 -1
- package/dist/{attach-fields-editor-BbWYEXfG.js → attach-fields-editor-DXkqkRw1.js} +2 -2
- package/dist/{barcode-design-D1hSeWVJ.js → barcode-design-CSx6gAAf.js} +2 -2
- package/dist/base/index.es.js +25 -25
- package/dist/{base-font-editor-DFHc_3JJ.js → base-font-editor-C9cqqGi5.js} +2 -2
- package/dist/{boolean-design-UO0nUx1k.js → boolean-design-Dw4DatRy.js} +8 -7
- package/dist/{boolean-props--l1hf_NI.js → boolean-props-DwIp4Zwq.js} +3 -3
- package/dist/{boolean-style-Dqwd3N4b.js → boolean-style-D0H564L3.js} +4 -4
- package/dist/{cell-upload-PkWTiWYW.js → cell-upload-9JWJhPHO.js} +8 -11
- package/dist/{date-range-editor-CVQsTg3G.js → date-range-editor-DWkiA_QD.js} +2 -2
- package/dist/{date-time-design-DmeUPsi-.js → date-time-design-BpS-Do_p.js} +25 -6
- package/dist/{date-time-props-DqAAdD7L.js → date-time-props-hqyioMkM.js} +3 -3
- package/dist/{date-time-style-BTtKVpV4.js → date-time-style-B_aaS3da.js} +1 -1
- package/dist/{decimal-design-DQ-61MMF.js → decimal-design-BkSj6vZv.js} +1 -1
- package/dist/{decimal-display-mode-CPL-jNCK.js → decimal-display-mode-CaKgCz10.js} +2 -2
- package/dist/{decimal-props-DUeC4_o5.js → decimal-props-DiLtaPxV.js} +4 -4
- package/dist/{decimal-style-B-0QILJa.js → decimal-style-9re81oM7.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CeTlpjT4.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CNJIhHnD.js} +2 -2
- package/dist/{diagonal-design-Cx7RTy6_.js → diagonal-design-U5XWysqi.js} +2 -2
- package/dist/{double-design-Bpuy9Ss3.js → double-design-Soz2qnO_.js} +1 -1
- package/dist/{double-props-BLp5rMS0.js → double-props-Cpaybvo3.js} +6 -4
- package/dist/{double-style-BQT4UDRo.js → double-style-cBxhJhQX.js} +1 -1
- package/dist/{dynamic-table-action-CT_aYOca.js → dynamic-table-action-7ukFUpJU.js} +18 -13
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-SAa6KGYz.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js} +70 -38
- package/dist/{edit.utils-CXmmCnxE-CrBcZqbG.js → edit.utils-CXmmCnxE-Cf_9ualz.js} +1 -1
- package/dist/{enum-design-DTh9UhHf.js → enum-design-B67vcgY-.js} +4 -4
- package/dist/{enum-props-J-3PLabW.js → enum-props-vXkzHR4Z.js} +68 -47
- package/dist/{enum-style-h5lmzZD_.js → enum-style-DmGVd8bC.js} +3 -3
- package/dist/excel.css +849 -477
- package/dist/{exceljs.min-mW_Nqru2.js → exceljs.min-MSYDxng4.js} +2 -2
- package/dist/{expression-design-Cbi_6pnX.js → expression-design-BRlReq5s.js} +1 -1
- package/dist/{expression-props-DuvdDUWt.js → expression-props-B3IfAn_n.js} +1 -1
- package/dist/{expression-style-CcdTrGye.js → expression-style-qcOgk-rk.js} +1 -1
- package/dist/{file-design-Cix4ztNq.js → file-design-Z5ecxQwk.js} +1 -1
- package/dist/{file-props-DvZgFCjv.js → file-props-D8ScpaOl.js} +2 -2
- package/dist/{file-style-DTXliETB.js → file-style-KTLlX1Xk.js} +1 -1
- package/dist/{font-editor-D_4CECiK.js → font-editor-BZKTSTUt.js} +3 -3
- package/dist/{image-design-IaQbw4Bv.js → image-design-DXkjLbSR.js} +1 -1
- package/dist/{image-design-BxFQTm4-.js → image-design-Dxqw3EYz.js} +2 -2
- package/dist/{image-props-BmLfiJIb.js → image-props-DoulASx_.js} +1 -1
- package/dist/{image-style-BuGQiWh9.js → image-style-D1x-8NR-.js} +1 -1
- package/dist/{index-CvefH3Ld.js → index-05ayf14V.js} +1 -1
- package/dist/{index-HHW_GvS9.js → index-5MXIxcWc.js} +1 -1
- package/dist/{index-CSGDQQxf.js → index-724k4MNR.js} +1 -1
- package/dist/{index-V3KPtSlA.js → index-8G5s2ZQ6.js} +1 -1
- package/dist/{index-CmfE-VkX.js → index-B2y2QeqF.js} +1 -1
- package/dist/{index-1kSDRqJL.js → index-BF8VHGxb.js} +1 -1
- package/dist/{index-DnxIXenr.js → index-BWCBcNdV.js} +2 -2
- package/dist/{index-hkXYQoCV.js → index-BXr7raUl.js} +1 -1
- package/dist/{index-DuELqbrc.js → index-Be1nADWM.js} +1 -1
- package/dist/{index-DJsySg7Z.js → index-BzieZby5.js} +1 -1
- package/dist/{index-BuucdbMD.js → index-C6Su_s3z.js} +1 -1
- package/dist/{index-BCFgHqQ4.js → index-CCvgTGlG.js} +1 -1
- package/dist/{index-BRifPJNN.js → index-CIBFgcGY.js} +2 -2
- package/dist/{index-CYc23F99.js → index-CNCp92QR.js} +1 -1
- package/dist/{index-PgmRu5Zh.js → index-CP9739XL.js} +1 -1
- package/dist/{index-CdoJjtvt.js → index-CbTKJ8Vb.js} +2 -2
- package/dist/{index-T_P3hv-X.js → index-CkOKxCir.js} +2 -2
- package/dist/{index-5E89tzgQ.js → index-CpZxd4no.js} +1 -1
- package/dist/{index-BUEsJ6db.js → index-CwMFbS5U.js} +1 -1
- package/dist/{index-VU8yct3A.js → index-D-Z8UXii.js} +1 -1
- package/dist/{index-C7XazAkv.js → index-D2Kc_f3x.js} +12 -4
- package/dist/{index-Dl48Dmuf.js → index-D9A5qfUO.js} +1 -1
- package/dist/{index-aZhb-M_v.js → index-DQ9uX7Vt.js} +1 -1
- package/dist/{index-uIR6j0YE.js → index-DQGijVov.js} +1 -1
- package/dist/{index-6AnvwL1T.js → index-DQXeogJQ.js} +1 -1
- package/dist/{index-DAVndG-D.js → index-DRk6x0JJ.js} +2 -2
- package/dist/{index-BSWx0ysi.js → index-Dg3kgEbz.js} +1 -1
- package/dist/{index-CO1Iw_97.js → index-DoMwWvfm.js} +1 -1
- package/dist/{index-DG8SGSHV.js → index-DsgxTMoz.js} +1 -1
- package/dist/{index-DayP0trN.js → index-IK2pHAVC.js} +1 -1
- package/dist/{index-hcp9zj3F.js → index-JgFlFQ4I.js} +3952 -1996
- package/dist/{index-DIHeOfRf.js → index-LZV2l4WV.js} +1 -1
- package/dist/{index-BKQgEYOt.js → index-S2TfP2Vh.js} +1 -1
- package/dist/index.es.js +45 -45
- package/dist/{integer-design-B48BapfF.js → integer-design-D95d-Pt_.js} +1 -1
- package/dist/{integer-props-G5n3P-Vt.js → integer-props-mbP0KfxR.js} +4 -4
- package/dist/{integer-style-yziEYd90.js → integer-style-Dj634CGy.js} +1 -1
- package/dist/{mb-render-DiWQ5hOn.js → mb-render-9ra8O2Uw.js} +1 -1
- package/dist/{number-input-ex-6e_-B7y7.js → number-input-ex-B1VK06Km.js} +1 -1
- package/dist/{org-design-DEibx7uD.js → org-design-DWZI8xev.js} +1 -1
- package/dist/{org-props-uZzEnRfn.js → org-props-BgHRD1sc.js} +2 -2
- package/dist/{org-style-CtYMw9ob.js → org-style-Ce-wyVlF.js} +1 -1
- package/dist/{pagination-design-CdnyxoR4.js → pagination-design-2AaEUsW_.js} +2 -2
- package/dist/paper-widget-design-BrLma-qH.js +4 -0
- package/dist/{qrcode-design-Bh_lT1Yn.js → qrcode-design-DyvGWhZf.js} +1 -1
- package/dist/{ref-autofill-editor-99WrBySm.js → ref-autofill-editor-CTI8hdiv.js} +81 -49
- package/dist/{ref-design-C7LbDVQz.js → ref-design-BQ8o1gKm.js} +1 -1
- package/dist/{ref-props-BGzOHDvi.js → ref-props-Cp7j_jms.js} +19 -12
- package/dist/{ref-style-C1-VGUt9.js → ref-style-B8IL_Liq.js} +1 -1
- package/dist/{regex-editor-BAjvqlvo.js → regex-editor-DvkeklNp.js} +94 -67
- package/dist/{revo-grid.entry-Cg-4cMIo.js → revo-grid.entry-BEHoqd3N.js} +1 -1
- package/dist/{revogr-attribution_7.entry-DzamtFvo.js → revogr-attribution_7.entry-CCbwjKQa.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CIxDfW07.js → revogr-clipboard_3.entry-g_n_i8Qx.js} +2 -2
- package/dist/{revogr-data_4.entry-BNENcgpR.js → revogr-data_4.entry-BiefA7eT.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BrYsomo0.js → revogr-filter-panel.entry-BoTWkxWM.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-Dg2h8nwx.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-CbfUBnrw.js} +2 -2
- package/dist/{serialnumber-design-BsAogg1u.js → serialnumber-design-C952ChSv.js} +1 -1
- package/dist/shared/index.es.js +8 -8
- package/dist/{signature-design-sSyiIxFB.js → signature-design-DHw3-abX.js} +1 -1
- package/dist/{signature-props-CYmd9GVl.js → signature-props-DuhWgn75.js} +3 -3
- package/dist/{signature-style-wLJo19Kd.js → signature-style-DjWhk9Ap.js} +1 -1
- package/dist/{single-field-drop-CilJB5DX.js → single-field-drop-BL9v1Qs8.js} +2 -2
- package/dist/{size-editor-DnyvSWUn.js → size-editor-7VfFq73X.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +10 -0
- package/dist/src/adapter/setup.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +14 -0
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-dependency.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +72 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +103 -2
- package/dist/src/online-form/src/views/designer/modules/modals/add-dependency-modal/add-dependency-modal.vue.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/config-modal.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/modules/panel/material-consumption/policy-items/consume-item.vue.d.ts +20 -0
- package/dist/src/online-form/src/views/designer/modules/panel/material-consumption/policy-items/qty-item/bom-formula-editor.vue.d.ts +18 -0
- package/dist/src/online-form/src/views/designer/modules/panel/material-consumption/policy-items/qty-item/qty-item.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/designer/modules/panel/material-consumption/policy-items/substitute-item.vue.d.ts +23 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +54 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/material-consumption/bom-modal.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/types/index.d.ts +2 -15
- package/dist/src/online-form/src/views/designer/utils/design-readonly-modal.d.ts +3 -0
- package/dist/src/online-form/src/views/inline-cell/use-inline-icon-catalog.d.ts +2 -3
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/assoc-filter.d.ts +10 -4
- package/dist/src/shared/components/field-transfer/components/field-transfer-modal.vue.d.ts +2 -0
- package/dist/src/shared/components/field-transfer/components/modal-wrapper.vue.d.ts +2 -0
- package/dist/src/shared/components/field-transfer/useFieldTransfer.d.ts +2 -0
- package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +1 -0
- package/dist/src/shared/enum/field-type.d.ts +12 -0
- package/dist/{text-design-DKPFi1Rh.js → text-design-B3gNBFg1.js} +2 -2
- package/dist/{text-design-7Cct8yh2.js → text-design-BTTZpXWL.js} +5 -5
- package/dist/{text-props-a-16iwJu.js → text-props-C0cys7hK.js} +5 -5
- package/dist/{text-style-CRqOGAZr.js → text-style-Ebi16KlJ.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-BYyz4gtI.js → throttle-Cpk1LoGk-BUMzCKSe.js} +1 -1
- package/dist/{timediff-design-JHt1-ug6.js → timediff-design-SR372i6S.js} +1 -1
- package/dist/{trace-design-DAHDTG5n.js → trace-design-BTM_TXK7.js} +33 -9
- package/dist/{trace-props-B5FBtpNR.js → trace-props--7WlopZy.js} +6 -6
- package/dist/{trace-style-CgdePCcv.js → trace-style-DtOncSoX.js} +1 -1
- package/dist/{user-design-BRIV937X.js → user-design-fMF_h4IG.js} +4 -4
- package/dist/{user-props-BJVjolL7.js → user-props-BN5AUBD6.js} +2 -2
- package/dist/{user-style-D17ZPHqU.js → user-style-DMtM30Mt.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-J3MR2K39.js → value-editor.vue_vue_type_style_index_0_lang-ByQlVnL6.js} +2 -2
- package/dist/{version-select-Bw8yzDaH.js → version-select-Bt8nfEu4.js} +1 -1
- package/dist/web-render/index.es.js +2 -2
- package/dist/{widget-barcode-IbgHM5xo.js → widget-barcode-cQ7U31QM.js} +4 -4
- package/dist/{widget-diagonal-juPAlqEe.js → widget-diagonal-Dx0b5_zP.js} +3 -3
- package/dist/{widget-image-Dnaej-nk.js → widget-image-YKYe4xWv.js} +5 -5
- package/dist/{widget-line-DL9jw_oY.js → widget-line-BRJ-WX96.js} +2 -2
- package/dist/{widget-pagination-BlRJo3n4.js → widget-pagination-B1RkybXu.js} +5 -5
- package/dist/{widget-power-CIC6itUt.js → widget-power-CX8Ti_0j.js} +3 -3
- package/dist/{widget-qrcode-BWEOVEZg.js → widget-qrcode-BLQcWqEI.js} +3 -3
- package/dist/{widget-rangelimit-C4KG56d-.js → widget-rangelimit-_S-cju39.js} +3 -3
- package/dist/{widget-serialnumber-DnfRRyBY.js → widget-serialnumber-DkdIucNK.js} +1 -1
- package/dist/{widget-text-C7d0ZrX3.js → widget-text-BhMc6TtO.js} +5 -5
- package/dist/{widget-timediff-FAvqRtXk.js → widget-timediff-fowoxFrK.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-gmMHiQFV.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, toRaw, shallowRef, computed, ref, readonly, onMounted, watch, normalizeClass, onBeforeUnmount, h as h$1, watchEffect, unref, createVNode, reactive } from "vue";
|
|
2
|
-
import { A as commonjsGlobal, D as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
-
import { r as require$$0 } from "./index-
|
|
2
|
+
import { A as commonjsGlobal, D as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
3
|
+
import { r as require$$0 } from "./index-D2Kc_f3x.js";
|
|
4
4
|
var window_1;
|
|
5
5
|
var hasRequiredWindow;
|
|
6
6
|
function requireWindow() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, toDisplayString } from "vue";
|
|
2
|
-
import { u as useModelFields } from "./index-
|
|
2
|
+
import { u as useModelFields } from "./index-JgFlFQ4I.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "agg-design",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock, createElementBlock } 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-A4vSXZDM.js";
|
|
3
3
|
const _sfc_main = {};
|
|
4
4
|
function _sfc_render(_ctx, _cache) {
|
|
5
5
|
return openBlock(), createElementBlock("div");
|
|
@@ -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-C9cqqGi5.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "agg-style",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createVNode, withCtx, createElementVNode, createTextVNode, 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-A4vSXZDM.js";
|
|
3
3
|
const _hoisted_1 = { class: "align-group-box" };
|
|
4
4
|
const _hoisted_2 = ["onClick"];
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { message } from "ant-design-vue";
|
|
3
3
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
4
|
-
import { u as useModelFields,
|
|
5
|
-
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { u as useModelFields, d as useDrop, T as TransferType, e as getFieldIcon, M as MultipleDrop, f as FieldConfig } from "./index-JgFlFQ4I.js";
|
|
5
|
+
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "attach-fields-editor",
|
|
8
8
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import {
|
|
4
|
-
import { G as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { i as useSpreadSheet, u as useModelFields, s as loadBwip } from "./index-JgFlFQ4I.js";
|
|
4
|
+
import { G as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
const _hoisted_1 = { class: "wrapper" };
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { aW as fetchHistoryConsume, aX as isBomGranted, F as FIELD_TYPE, w as api, c as getProfileByTableType, b as isBusinessSubTableProfile, aY as runRowHandler, aZ as F$1, a_ as FILL_FROM_INVENTORY_OPTION, a$ as F$2, b0 as INVENTORY_BASE_FIELDS, b1 as WAREHOUSE_IDENTITY_GROUP_KEYS, b2 as SCAN_MERGE_GROUP_KEYS, b3 as AUTO_LOAD_READONLY_SELECT_FIELDS, aH as getParseRuleInfo, b4 as FILL_FROM_INVENTORY_OPTION$1, aI as getParseRuleValue, b5 as F$3, b6 as FILL_FROM_INVENTORY_OPTION$2, b7 as calcFillData, b8 as extractKeywordFromQueryData, b9 as F$4, ba as isProductManuallyEditable, bb as applyFillFromMfgOrderOption, bc as applyFillFromOption$1, bd as applyFillFromProductOption, be as CLEAR_ON_MATERIAL_CONTAINER_SELECT, M as FormTypeEnum, bf as transformUtils, d as SubTableType, aE as NCB_PROVIDE, bg as settleAndValidateDisplay, bh as unregisterValidationContext, bi as clearFormRules, bj as registerValidationContext, m as ComponentTypeEnum, aM as RenderModeEnum, bk as requestFullValidation, bl as requestDisplayValidation, bm as closeValidatorPopovers, bn as baseDataUtils, bo as getRawFormRuleMeta, bp as enrichFormChangeRowDetails, bq as settleAfterModeSwitch, br as calcUtils, an as CheckDsTypeEnum, aB as renderUtils,
|
|
2
|
-
import { aq, as, aC,
|
|
3
|
-
import { M as MaterialConsumptionPatternEnum, e as MaterialConsumeTableController, f as SubTableCore, g as SubTableActionMenuTypeEnum, h as getMenuByAction, i as SubTableActionEnum, j as getCopySubMenu, k as getInsertSubMenu, l as useMaterialBalance, v as validate } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, m, D, _, n, c, o, d, F, p, I, q, O as O2, u as u2, a, b } from "../dynamic-table-action-
|
|
1
|
+
import { aW as fetchHistoryConsume, aX as isBomGranted, F as FIELD_TYPE, w as api, c as getProfileByTableType, b as isBusinessSubTableProfile, aY as runRowHandler, aZ as F$1, a_ as FILL_FROM_INVENTORY_OPTION, a$ as F$2, b0 as INVENTORY_BASE_FIELDS, b1 as WAREHOUSE_IDENTITY_GROUP_KEYS, b2 as SCAN_MERGE_GROUP_KEYS, b3 as AUTO_LOAD_READONLY_SELECT_FIELDS, aH as getParseRuleInfo, b4 as FILL_FROM_INVENTORY_OPTION$1, aI as getParseRuleValue, b5 as F$3, b6 as FILL_FROM_INVENTORY_OPTION$2, b7 as calcFillData, b8 as extractKeywordFromQueryData, b9 as F$4, ba as isProductManuallyEditable, bb as applyFillFromMfgOrderOption, bc as applyFillFromOption$1, bd as applyFillFromProductOption, be as CLEAR_ON_MATERIAL_CONTAINER_SELECT, M as FormTypeEnum, bf as transformUtils, d as SubTableType, aE as NCB_PROVIDE, bg as settleAndValidateDisplay, bh as unregisterValidationContext, bi as clearFormRules, bj as registerValidationContext, m as ComponentTypeEnum, aM as RenderModeEnum, bk as requestFullValidation, bl as requestDisplayValidation, bm as closeValidatorPopovers, bn as baseDataUtils, bo as getRawFormRuleMeta, bp as enrichFormChangeRowDetails, bq as settleAfterModeSwitch, br as calcUtils, an as CheckDsTypeEnum, aB as renderUtils, Q as PlatformEnum, bs as uuid2, bt as normalizeToArray, bu as safeParseArray, bv as BpmnNodeTypeEnum, bw as mergeByMultiKey, aV as useNocodeEmitter, bx as commonUtils, am as EntityModelCategoryEnum, by as getRowId, bz as collectFormChangeFieldLocations, bA as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
2
|
+
import { aq, as, aC, T, bB, bC, B, bD, t, a1, bE, bF, bG, aA, aD, ar, ao, ap, a2, a6, bH, aO, af, bI, al, au, R, a4, L, bJ, bK, O, j, P, Z, h, G, at, bL, bM, aL, X, V, W, Y, bN, a5, a9, a3, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, aK, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, aF, ce, cf, cg, aG, ch, ci, cj, ck, a7, cl, cm, ay, cn, ax, av, co, H, aJ, aN, az, cp, u, aw } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
3
|
+
import { M as MaterialConsumptionPatternEnum, e as MaterialConsumeTableController, f as SubTableCore, g as SubTableActionMenuTypeEnum, h as getMenuByAction, i as SubTableActionEnum, j as getCopySubMenu, k as getInsertSubMenu, l as useMaterialBalance, v as validate } from "../dynamic-table-action-7ukFUpJU.js";
|
|
4
|
+
import { B as B2, m, D, _, n, c, o, d, F, p, I, q, O as O2, u as u2, a, b } from "../dynamic-table-action-7ukFUpJU.js";
|
|
5
5
|
import { ref, provide, watch, computed, onBeforeMount } from "vue";
|
|
6
6
|
import { defaults, has, merge, isEmpty, cloneDeep, debounce } from "lodash-es";
|
|
7
7
|
import dayjs from "dayjs";
|
|
8
|
-
import { B as B3, F as F2, M, a as
|
|
8
|
+
import { B as B3, F as F2, M, a as a8, u as u3 } from "../mb-render-9ra8O2Uw.js";
|
|
9
9
|
var MaterialStatusEnum = /* @__PURE__ */ ((MaterialStatusEnum2) => {
|
|
10
10
|
MaterialStatusEnum2["LOT"] = "LOT";
|
|
11
11
|
MaterialStatusEnum2["SN"] = "SN";
|
|
@@ -2374,9 +2374,9 @@ function useRenderPageFactory(props, payload) {
|
|
|
2374
2374
|
const prevMap = info.validatorMessageMap ?? {};
|
|
2375
2375
|
const sameLocations = prevLocations.length === nextLocations.length && nextLocations.every((k, i) => k === prevLocations[i]);
|
|
2376
2376
|
const sameMessages = sameLocations && nextLocations.every((k) => {
|
|
2377
|
-
const
|
|
2377
|
+
const a10 = prevMap[k];
|
|
2378
2378
|
const b2 = map[k];
|
|
2379
|
-
return JSON.stringify(
|
|
2379
|
+
return JSON.stringify(a10) === JSON.stringify(b2);
|
|
2380
2380
|
});
|
|
2381
2381
|
if (sameMessages) return;
|
|
2382
2382
|
closeValidatorPopovers();
|
|
@@ -3439,7 +3439,7 @@ export {
|
|
|
3439
3439
|
B3 as BaseFormModelFetcher,
|
|
3440
3440
|
as as BinarizeMethodOptions,
|
|
3441
3441
|
aC as BindCmpStyleEnum,
|
|
3442
|
-
|
|
3442
|
+
T as BooleanShowMode,
|
|
3443
3443
|
B2 as BorderTD,
|
|
3444
3444
|
BpmnNodeTypeEnum,
|
|
3445
3445
|
bB as BpmnSignatureTypeEnum,
|
|
@@ -3447,7 +3447,7 @@ export {
|
|
|
3447
3447
|
B as BwipCodeType,
|
|
3448
3448
|
bD as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3449
3449
|
t as CellType,
|
|
3450
|
-
|
|
3450
|
+
a1 as CellWidgetViewState,
|
|
3451
3451
|
CheckDsTypeEnum,
|
|
3452
3452
|
bE as CodeRunner,
|
|
3453
3453
|
ComponentTypeEnum,
|
|
@@ -3461,8 +3461,8 @@ export {
|
|
|
3461
3461
|
D as DeviceLinkTmplUtil,
|
|
3462
3462
|
ap as DeviceParamsTypeTitle,
|
|
3463
3463
|
DevicePartConsumeTableCore,
|
|
3464
|
-
|
|
3465
|
-
|
|
3464
|
+
a2 as DiagonalDirection,
|
|
3465
|
+
a6 as DiagonalVertex,
|
|
3466
3466
|
_ as DocumentLayout,
|
|
3467
3467
|
n as DocumentLoading,
|
|
3468
3468
|
c as DocumentPaper,
|
|
@@ -3470,7 +3470,7 @@ export {
|
|
|
3470
3470
|
d as DynamicTableAction,
|
|
3471
3471
|
bH as EBR_PROVIDE_ENUM,
|
|
3472
3472
|
aO as EFieldBizTypeEnum,
|
|
3473
|
-
|
|
3473
|
+
af as EmptySymbol,
|
|
3474
3474
|
bI as FieldSysVarDefaultValueEnum,
|
|
3475
3475
|
FillingTypeEnum,
|
|
3476
3476
|
F as FixedQuickFillModal,
|
|
@@ -3479,15 +3479,15 @@ export {
|
|
|
3479
3479
|
FormTmplBomController,
|
|
3480
3480
|
p as FormTmplConfigController,
|
|
3481
3481
|
FormTypeEnum,
|
|
3482
|
-
|
|
3482
|
+
al as ImageDisplayModeEnum,
|
|
3483
3483
|
I as InstanceStatusValues,
|
|
3484
3484
|
au as JoinModelTypeEum,
|
|
3485
|
-
|
|
3486
|
-
|
|
3485
|
+
R as LabelPosition,
|
|
3486
|
+
a4 as LineDirection,
|
|
3487
3487
|
L as LineType,
|
|
3488
3488
|
M as MBRender,
|
|
3489
3489
|
q as MCDataUtil,
|
|
3490
|
-
|
|
3490
|
+
a8 as MCRender,
|
|
3491
3491
|
MaterialConsumeTableController,
|
|
3492
3492
|
MaterialConsumptionPatternEnum,
|
|
3493
3493
|
MaterialRequisitionTableCore,
|
|
@@ -3499,7 +3499,7 @@ export {
|
|
|
3499
3499
|
O as Orientation,
|
|
3500
3500
|
j as PageSizeEnum,
|
|
3501
3501
|
P as PaginationFormat,
|
|
3502
|
-
|
|
3502
|
+
Z as PaperSizeMap,
|
|
3503
3503
|
h as PaperWidgeType,
|
|
3504
3504
|
G as PaperWidgeValueType,
|
|
3505
3505
|
at as ParamModelTypeEnum,
|
|
@@ -3511,23 +3511,23 @@ export {
|
|
|
3511
3511
|
bM as RangeCompareOp,
|
|
3512
3512
|
aL as RangeValidateMode,
|
|
3513
3513
|
RenderModeEnum,
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3514
|
+
X as SignShowTypeEnum,
|
|
3515
|
+
V as SignatureNumberTypeEnum,
|
|
3516
|
+
W as SignatureTimeTypeEnum,
|
|
3517
|
+
Y as SignatureTypeEnum,
|
|
3518
3518
|
SterilizeBatchTableCore,
|
|
3519
3519
|
StocktakeTableCore,
|
|
3520
3520
|
SubTableCore,
|
|
3521
3521
|
SubTableCoreFactory,
|
|
3522
3522
|
SubTableType,
|
|
3523
3523
|
bN as SummaryApproveHisTypeEnum,
|
|
3524
|
-
|
|
3525
|
-
|
|
3524
|
+
a5 as TimeDiffFormat,
|
|
3525
|
+
a9 as ViewTypeEnum,
|
|
3526
3526
|
WarehouseInTableCore,
|
|
3527
3527
|
WarehouseInboundTableCore,
|
|
3528
3528
|
WarehouseOutTableCore,
|
|
3529
3529
|
WarehouseOutboundTableCore,
|
|
3530
|
-
|
|
3530
|
+
a3 as WidgetImageSizeMode,
|
|
3531
3531
|
bO as applyCheckDsDataToRuntime,
|
|
3532
3532
|
bP as applyMedProCheckDsDataToRuntime,
|
|
3533
3533
|
baseDataUtils,
|
|
@@ -3589,7 +3589,7 @@ export {
|
|
|
3589
3589
|
ci as requestMedProCheckDsData,
|
|
3590
3590
|
cj as requestNonMedProCheckDsData,
|
|
3591
3591
|
ck as resolveAnnotationFieldLocation,
|
|
3592
|
-
|
|
3592
|
+
a7 as resolveDiagonalVertex,
|
|
3593
3593
|
cl as resolveFormChangeRowUi,
|
|
3594
3594
|
cm as resolveRowFormChangeMark,
|
|
3595
3595
|
ay as setSelectAnnotationId,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, createVNode, withCtx, createBlock, createSlots, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { b as FormItem } from "./index-JgFlFQ4I.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
const DEFAULT_LETTER_SPACE = 8;
|
|
6
6
|
const DEFAULT_OPTION_GAP = 12;
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, unref, normalizeStyle, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-JgFlFQ4I.js";
|
|
3
|
+
import { T as BooleanShowMode, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
4
|
import { isNil } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -12,7 +12,7 @@ const _hoisted_2 = {
|
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "boolean-design__affix"
|
|
14
14
|
};
|
|
15
|
-
const DEFAULT_OPTION_GAP =
|
|
15
|
+
const DEFAULT_OPTION_GAP = 16;
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
__name: "boolean-design",
|
|
18
18
|
props: {
|
|
@@ -89,10 +89,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
89
|
direction: __props.fieldWidget.direction,
|
|
90
90
|
"label-position": __props.fieldWidget.labelPosition,
|
|
91
91
|
"null-value": nullValue.value,
|
|
92
|
-
"icon-label-space": __props.fieldWidget.iconLabelSpace,
|
|
92
|
+
"icon-label-space": __props.fieldWidget.iconLabelSpace ?? 6,
|
|
93
93
|
"option-gap": optionGap.value,
|
|
94
94
|
style: normalizeStyle(styleVars.value),
|
|
95
|
-
size: "small"
|
|
95
|
+
size: "small",
|
|
96
|
+
placeholder: _ctx.$t("sys.chooseText")
|
|
96
97
|
}, {
|
|
97
98
|
suffix: withCtx(({ option }) => [
|
|
98
99
|
option.value === true && __props.fieldWidget.trueAttachFields?.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.fieldWidget.trueAttachFields, (field) => {
|
|
@@ -111,13 +112,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
112
|
}), 128)) : createCommentVNode("", true)
|
|
112
113
|
]),
|
|
113
114
|
_: 1
|
|
114
|
-
}, 8, ["disabled", "options", "value", "show-mode", "icon-type", "direction", "label-position", "null-value", "icon-label-space", "option-gap", "style"]),
|
|
115
|
+
}, 8, ["disabled", "options", "value", "show-mode", "icon-type", "direction", "label-position", "null-value", "icon-label-space", "option-gap", "style", "placeholder"]),
|
|
115
116
|
__props.fieldWidget.suffix ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.fieldWidget.suffix), 1)) : createCommentVNode("", true)
|
|
116
117
|
], 2);
|
|
117
118
|
};
|
|
118
119
|
}
|
|
119
120
|
});
|
|
120
|
-
const booleanDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
121
|
+
const booleanDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d0a315d9"]]);
|
|
121
122
|
export {
|
|
122
123
|
booleanDesign as default
|
|
123
124
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { b as FormItem } from "./index-JgFlFQ4I.js";
|
|
3
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-DXkqkRw1.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
const _hoisted_1 = { style: { "float": "right" } };
|
|
6
6
|
const _hoisted_2 = { class: "option-container" };
|
|
7
7
|
const _hoisted_3 = { class: "option" };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, unref, createBlock, withCtx, createCommentVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { T as BooleanShowMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { C as CellWidgetRenderComp,
|
|
7
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
8
|
-
import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { C as CellWidgetRenderComp, b as FormItem } from "./index-JgFlFQ4I.js";
|
|
7
|
+
import { B as BaseFontEditor } from "./base-font-editor-C9cqqGi5.js";
|
|
8
|
+
import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-CbfUBnrw.js";
|
|
9
9
|
const DEFAULT_LETTER_SPACE = 8;
|
|
10
10
|
const DEFAULT_OPTION_GAP = 12;
|
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
+
import { F as FieldStateIcon } from "./index-JgFlFQ4I.js";
|
|
2
3
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "cell-upload",
|
|
6
7
|
props: {
|
|
@@ -15,24 +16,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
16
|
if (props.uploadType === "signature") return $t("sys.pageDesigner.addSignature");
|
|
16
17
|
return $t("sys.pageDesigner.uploadFile");
|
|
17
18
|
});
|
|
18
|
-
const uploadIcon = computed(() => {
|
|
19
|
-
if (props.uploadType === "image") return "icon-tupian";
|
|
20
|
-
if (props.uploadType === "signature") return "icon-dianziqianmingdd";
|
|
21
|
-
return "icon-fujian";
|
|
22
|
-
});
|
|
23
19
|
return (_ctx, _cache) => {
|
|
24
20
|
return openBlock(), createElementBlock("div", {
|
|
25
21
|
class: normalizeClass([unref(ns).b(), __props.disabled && unref(ns).m("disabled")])
|
|
26
22
|
}, [
|
|
27
23
|
createElementVNode("span", null, toDisplayString(uploadLabel.value), 1),
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
createVNode(FieldStateIcon, {
|
|
25
|
+
type: __props.uploadType,
|
|
26
|
+
class: normalizeClass(unref(ns).e("add-icon"))
|
|
27
|
+
}, null, 8, ["type", "class"])
|
|
31
28
|
], 2);
|
|
32
29
|
};
|
|
33
30
|
}
|
|
34
31
|
});
|
|
35
|
-
const CellUpload = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
32
|
+
const CellUpload = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6677526d"]]);
|
|
36
33
|
export {
|
|
37
34
|
CellUpload as C
|
|
38
35
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { watch, computed, defineComponent, toRefs, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, isRef, createCommentVNode, createElementVNode, toDisplayString, createElementBlock, normalizeClass, Fragment } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { F as FIELD_TYPE, _ as _export_sfc, aL as RangeValidateMode, bM as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { b as FormItem, S as SelectEx, h as FormulaEditor } from "./index-JgFlFQ4I.js";
|
|
3
|
+
import { F as FIELD_TYPE, _ as _export_sfc, aL as RangeValidateMode, bM as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
4
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
5
5
|
import { isNil } from "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock } from "vue";
|
|
2
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createVNode } from "vue";
|
|
2
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
|
+
import { F as FieldStateIcon } from "./index-JgFlFQ4I.js";
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "date-time-design",
|
|
6
7
|
props: {
|
|
@@ -11,6 +12,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
12
|
setup(__props) {
|
|
12
13
|
const props = __props;
|
|
13
14
|
const isTime = computed(() => props.fieldMeta.fieldType === FIELD_TYPE.TIME);
|
|
15
|
+
const isDateTime = computed(() => {
|
|
16
|
+
const fieldType = props.fieldMeta.bizType || props.fieldMeta.fieldType;
|
|
17
|
+
return fieldType !== void 0 && [FIELD_TYPE.DATE_TIME, FIELD_TYPE.REPORT_START_TIME, FIELD_TYPE.REPORT_END_TIME].some(
|
|
18
|
+
(type) => type === fieldType
|
|
19
|
+
);
|
|
20
|
+
});
|
|
14
21
|
const defaultValue = computed(() => {
|
|
15
22
|
if (props.fieldWidget.defaultSystemDate) {
|
|
16
23
|
return dayjs();
|
|
@@ -26,16 +33,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
33
|
value: defaultValue.value,
|
|
27
34
|
class: "w-full",
|
|
28
35
|
format: __props.fieldWidget.format,
|
|
29
|
-
placeholder: __props.fieldWidget.placeholder,
|
|
36
|
+
placeholder: __props.fieldWidget.placeholder ?? _ctx.$t("sys.chooseText"),
|
|
30
37
|
disabled: __props.disabled
|
|
31
|
-
},
|
|
38
|
+
}, {
|
|
39
|
+
suffixIcon: withCtx(() => [
|
|
40
|
+
createVNode(FieldStateIcon, {
|
|
41
|
+
type: isDateTime.value ? "datetime" : "date"
|
|
42
|
+
}, null, 8, ["type"])
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
}, 8, ["value", "format", "placeholder", "disabled"])) : (openBlock(), createBlock(_component_a_time_picker, {
|
|
32
46
|
key: 1,
|
|
33
47
|
value: defaultValue.value,
|
|
34
48
|
class: "w-full",
|
|
35
49
|
format: __props.fieldWidget.format,
|
|
36
|
-
placeholder: __props.fieldWidget.placeholder,
|
|
50
|
+
placeholder: __props.fieldWidget.placeholder ?? _ctx.$t("sys.chooseText"),
|
|
37
51
|
disabled: __props.disabled
|
|
38
|
-
},
|
|
52
|
+
}, {
|
|
53
|
+
suffixIcon: withCtx(() => [
|
|
54
|
+
createVNode(FieldStateIcon, { type: "time" })
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["value", "format", "placeholder", "disabled"]))
|
|
39
58
|
]);
|
|
40
59
|
};
|
|
41
60
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, withCtx, createVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-
|
|
4
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { b as FormItem } from "./index-JgFlFQ4I.js";
|
|
3
|
+
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-DWkiA_QD.js";
|
|
4
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "date-time-props",
|
|
7
7
|
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-C9cqqGi5.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "date-time-style",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createVNode } from "vue";
|
|
2
|
-
import { N as NumberInputEx } from "./number-input-ex-
|
|
2
|
+
import { N as NumberInputEx } from "./number-input-ex-B1VK06Km.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "decimal-design",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, withCtx, createVNode, unref } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { aD as DecimalDisplayMode$1, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { b as FormItem, S as SelectEx } from "./index-JgFlFQ4I.js";
|
|
3
|
+
import { aD as DecimalDisplayMode$1, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createBlock, createCommentVNode, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useModelFields,
|
|
3
|
-
import { _ as _sfc_main$1, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-
|
|
4
|
-
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { u as useModelFields, i as useSpreadSheet, j as useReverseModeling, b as FormItem } from "./index-JgFlFQ4I.js";
|
|
3
|
+
import { _ as _sfc_main$1, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CNJIhHnD.js";
|
|
4
|
+
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { D as DecimalDisplayMode } from "./decimal-display-mode-
|
|
8
|
+
import { D as DecimalDisplayMode } from "./decimal-display-mode-CaKgCz10.js";
|
|
9
9
|
const _hoisted_1 = { class: "w440px text-12px" };
|
|
10
10
|
const _hoisted_2 = { class: "font-600 text-[#1A1D23] mb8px" };
|
|
11
11
|
const _hoisted_3 = { class: "text-[#8B8B8B]" };
|
|
@@ -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-C9cqqGi5.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "decimal-style",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createVNode, watch, createElementBlock, Fragment, createCommentVNode, mergeProps } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { b as FormItem, S as SelectEx, h as FormulaEditor } from "./index-JgFlFQ4I.js";
|
|
3
3
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
4
|
-
import { _ as _export_sfc, aL as RangeValidateMode, bM as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { _ as _export_sfc, aL as RangeValidateMode, bM as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
import { isNil } from "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
7
|
import "ant-design-vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { u as useModelFields,
|
|
3
|
-
import {
|
|
2
|
+
import { u as useModelFields, v as Diagonal } from "./index-JgFlFQ4I.js";
|
|
3
|
+
import { a7 as resolveDiagonalVertex, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.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, createVNode } from "vue";
|
|
2
|
-
import { N as NumberInputEx } from "./number-input-ex-
|
|
2
|
+
import { N as NumberInputEx } from "./number-input-ex-B1VK06Km.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "double-design",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _sfc_main$1, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-
|
|
4
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
5
|
-
import { D as DecimalDisplayMode } from "./decimal-display-mode-
|
|
2
|
+
import { b as FormItem } from "./index-JgFlFQ4I.js";
|
|
3
|
+
import { _ as _sfc_main$1, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CNJIhHnD.js";
|
|
4
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
|
+
import { D as DecimalDisplayMode } from "./decimal-display-mode-CaKgCz10.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "double-props",
|
|
8
8
|
props: {
|
|
@@ -26,6 +26,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
return ![
|
|
27
27
|
FIELD_TYPE.GOOD_QTY,
|
|
28
28
|
FIELD_TYPE.NOT_GOOD_QTY,
|
|
29
|
+
FIELD_TYPE.OPERATION_RECEIVE_QTY,
|
|
30
|
+
FIELD_TYPE.OPERATION_OUTPUT_QTY,
|
|
29
31
|
FIELD_TYPE.SCRAP_QTY,
|
|
30
32
|
FIELD_TYPE.DESTRUCTIVE_TEST_QTY,
|
|
31
33
|
FIELD_TYPE.PRODUCT_CHECK_QTY,
|
|
@@ -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-C9cqqGi5.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "double-style",
|
|
5
5
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { computed, watch, toRaw, onUnmounted, markRaw, ref, reactive, inject, provide, defineComponent, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, toRef, isVNode, h, onBeforeMount, resolveComponent, createBlock, withCtx, Fragment, renderList, createTextVNode, onMounted } from "vue";
|
|
2
2
|
import { isNil, cloneDeep, merge, pickBy, mergeWith, omit, last, pick } from "lodash-es";
|
|
3
|
-
import { aw as useWidgetStaticAttrs, m as ComponentTypeEnum, cq as assembleRules, cr as deleteFormRule, cs as setFormRule, bl as requestDisplayValidation, ct as isReferenceOptionActive, cu as validateAllFields, cv as runValidation, co as stockCheck, cw as ensureFrontRowKey, cx as FRONT_ROW_KEY, by as getRowId, aH as getParseRuleInfo, bf as transformUtils, cc as materialCheck, aK as getLotLockedReason, aP as FormulaRuleFieldKeyEnum, cb as judgeUnique, w as api, d as SubTableType, aI as getParseRuleValue, bs as uuid2, ao as DeviceLink, _ as _export_sfc, aE as NCB_PROVIDE, bQ as buildFormChangeDisplayRows, cm as resolveRowFormChangeMark, cl as resolveFormChangeRowUi, c6 as isAnnLocationSelected, cn as setSelectMobileTdId, c7 as isFormChangeGhostRow, t as CellType, ay as setSelectAnnotationId, cg as recordSubtableRowDelete, bS as deleteSubtableRow, ch as relocateDeletedRowsToEnd, c5 as insertSubtableRows, cf as recordSubtableRowAdd, aJ as useCurrentPageFormState, aB as renderUtils, y as useModal, cy as q, cz as groupFixedTableRows, cA as QUICK_FILL_ALLOWED_FIELDS, cB as processQuickFillRows, cC as getIsGroupEmpty, aM as RenderModeEnum, c0 as getSubTableQuickFillInfo } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { aw as useWidgetStaticAttrs, m as ComponentTypeEnum, cq as assembleRules, cr as deleteFormRule, cs as setFormRule, bl as requestDisplayValidation, ct as isReferenceOptionActive, cu as validateAllFields, cv as runValidation, co as stockCheck, cw as ensureFrontRowKey, cx as FRONT_ROW_KEY, by as getRowId, aH as getParseRuleInfo, bf as transformUtils, cc as materialCheck, aK as getLotLockedReason, aP as FormulaRuleFieldKeyEnum, cb as judgeUnique, w as api, d as SubTableType, aI as getParseRuleValue, bs as uuid2, ao as DeviceLink, _ as _export_sfc, aE as NCB_PROVIDE, bQ as buildFormChangeDisplayRows, cm as resolveRowFormChangeMark, cl as resolveFormChangeRowUi, c6 as isAnnLocationSelected, cn as setSelectMobileTdId, c7 as isFormChangeGhostRow, t as CellType, ay as setSelectAnnotationId, cg as recordSubtableRowDelete, bS as deleteSubtableRow, ch as relocateDeletedRowsToEnd, c5 as insertSubtableRows, cf as recordSubtableRowAdd, aJ as useCurrentPageFormState, aB as renderUtils, y as useModal, cy as q, cz as groupFixedTableRows, cA as QUICK_FILL_ALLOWED_FIELDS, cB as processQuickFillRows, cC as getIsGroupEmpty, aM as RenderModeEnum, c0 as getSubTableQuickFillInfo } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
4
|
import dayjs from "dayjs";
|
|
5
5
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
6
6
|
import { Modal, message } from "ant-design-vue";
|
|
7
|
-
import { u as useFormModel } from "./mb-render-
|
|
7
|
+
import { u as useFormModel } from "./mb-render-9ra8O2Uw.js";
|
|
8
8
|
const InstanceStatusValues = {
|
|
9
9
|
/** 作废状态 */
|
|
10
10
|
ABANDON: "ABANDON",
|
|
@@ -4971,19 +4971,24 @@ const DocumentPaper = /* @__PURE__ */ defineComponent({
|
|
|
4971
4971
|
quickFill
|
|
4972
4972
|
} = table;
|
|
4973
4973
|
const {
|
|
4974
|
-
r:
|
|
4975
|
-
t:
|
|
4974
|
+
r: rightNo,
|
|
4975
|
+
t: topNo
|
|
4976
4976
|
} = range;
|
|
4977
|
-
const
|
|
4978
|
-
const
|
|
4979
|
-
const
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4977
|
+
const firstTrId = widgetCenter[ComponentTypeEnum.PAPER].nextIds[topNo - 1];
|
|
4978
|
+
const lastTdId_inFirstTr = widgetCenter[firstTrId].nextIds[rightNo - 1];
|
|
4979
|
+
const columns = Object.values(widgetCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap || {}).filter((o) => o.fieldMeta?.subFieldKey === subFieldKey).map((o) => {
|
|
4980
|
+
const {
|
|
4981
|
+
fieldMeta,
|
|
4982
|
+
fieldWidget
|
|
4983
|
+
} = o;
|
|
4984
|
+
return {
|
|
4985
|
+
prop: fieldMeta.field,
|
|
4986
|
+
fieldType: fieldMeta.fieldType,
|
|
4987
|
+
newOptions: fieldWidget.options
|
|
4988
|
+
};
|
|
4989
|
+
});
|
|
4985
4990
|
const columnKeys = columns.map((c) => c.prop);
|
|
4986
|
-
map[
|
|
4991
|
+
map[lastTdId_inFirstTr] = {
|
|
4987
4992
|
subFieldKey,
|
|
4988
4993
|
subModelKey,
|
|
4989
4994
|
range,
|