@gct-paas/excel 0.1.40-beta.3 → 0.1.40-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/{BaseComponent-B9o59n-h.js → BaseComponent-BcxRArl9.js} +2 -2
- package/dist/{VueVideoPlayer-CAWYWBHi.js → VueVideoPlayer-DjIr6Duj.js} +2 -2
- package/dist/{align-editor-a4DQt4Un.js → align-editor-99-Qs6Pu.js} +1 -1
- package/dist/{barcode-design-CBqUEPYu.js → barcode-design-BSkeINVU.js} +2 -2
- package/dist/base/index.es.js +238 -197
- package/dist/{diagonal-design-u23896Ky.js → diagonal-design-CR7fiPt_.js} +2 -2
- package/dist/{dynamic-table-action-BWI4Gaqi.js → dynamic-table-action-D8JTGNuH.js} +175 -95
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js} +625 -398
- package/dist/{edit.utils-CXmmCnxE-XxpC8ALV.js → edit.utils-CXmmCnxE-5YnG7Mod.js} +1 -1
- package/dist/excel.css +325 -158
- package/dist/{exceljs.min-DfbB110X.js → exceljs.min-Ckn1GGo5.js} +2 -2
- package/dist/{font-editor-BtSCLMrM.js → font-editor-CIv2e95b.js} +3 -3
- package/dist/{image-design-CtE-Lw7N.js → image-design-Bg1m0JLl.js} +2 -2
- package/dist/{index-BGAcYDx-.js → index-0kZW-sd4.js} +1 -1
- package/dist/{index-aNV9T6LI.js → index-6wZ6Y0W3.js} +2 -2
- package/dist/{index-CIa37rQm.js → index-B4XMnrfl.js} +2 -2
- package/dist/{index-BRQkrFQ9.js → index-BA_C4l6u.js} +2 -2
- package/dist/{index-BFg5eUdY.js → index-BIraya7K.js} +1 -1
- package/dist/{index-BMoz_QhA.js → index-BZQrpoEw.js} +1 -1
- package/dist/{index-Bc61F6Hm.js → index-BunphFuS.js} +2 -2
- package/dist/{index-DVEe11uM.js → index-BzdZIihy.js} +1 -1
- package/dist/{index-3WwCV4xR.js → index-C7oAVon1.js} +1 -1
- package/dist/{index-BKXb3VJc.js → index-C8H-5Adw.js} +2 -2
- package/dist/{index-B0cdcIWq.js → index-CRLydLMf.js} +2 -2
- package/dist/{index-51LtNdZ2.js → index-CTyszA6m.js} +1 -1
- package/dist/{index-I1r5pfu5.js → index-CUPuw1ng.js} +2 -2
- package/dist/{index-BC8hQ4vo.js → index-CYb8lY4k.js} +2 -2
- package/dist/{index-CeEhYXl9.js → index-CeCk3V8r.js} +2 -2
- package/dist/{index-CAdDeEzJ.js → index-CeMM7qev.js} +2 -2
- package/dist/{index-CYLAVQfT.js → index-Cjor8DKp.js} +2 -2
- package/dist/{index-DeHX7rte.js → index-CsIKJvLT.js} +50 -3
- package/dist/{index-CL9K9orM.js → index-CzgWwoNs.js} +2 -2
- package/dist/{index-IVc1dOet.js → index-D7DYLntD.js} +3 -3
- package/dist/{index-9S48hpoJ.js → index-DFJ19IKk.js} +2 -2
- package/dist/{index-CPTGioxl.js → index-DG8I3apA.js} +1 -1
- package/dist/{index-BP-LhXXV.js → index-DHvbmtBs.js} +4 -4
- package/dist/{index-ixQwAcB1.js → index-DLZKDd1x.js} +812 -463
- package/dist/{index-DNj0vFvx.js → index-DN83FHdO.js} +1 -1
- package/dist/{index-7aS5L4ot.js → index-DZxTtwzU.js} +3 -3
- package/dist/{index-CpPk8P3L.js → index-DbXQsLWI.js} +1 -1
- package/dist/{index-CdHVHaxO.js → index-DgRCrbjc.js} +2 -2
- package/dist/{index-CVsoaxTR.js → index-Do1A3RoM.js} +2 -2
- package/dist/{index-DdWefZMa.js → index-DprbnBOa.js} +2 -2
- package/dist/{index-Ca9TLzUh.js → index-DtwSR71M.js} +1 -1
- package/dist/{index-Dyomjz3y.js → index-OHHmkknK.js} +2 -2
- package/dist/{index-BfBuxgcp.js → index-k_OAhCop.js} +2 -2
- package/dist/{index-731OYkrc.js → index-mxtsA6kq.js} +3 -3
- package/dist/{index-Bnb70qEi.js → index-rYGo3i42.js} +3 -3
- package/dist/index.es.js +12 -10
- package/dist/{mb-render-Bs9S9oFn.js → mb-render-BW27j2qa.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.js} +1 -1
- package/dist/{pagination-design-CmbsdlMe.js → pagination-design-C59mi1du.js} +2 -2
- package/dist/paper-widget-design-BNmIT8FC.js +4 -0
- package/dist/{print-runtime-instance-DQysbz5n.js → print-runtime-instance-CT3EaCDJ.js} +1 -1
- package/dist/{print-snapshot-renderer-DWHjMsOC.js → print-snapshot-renderer-Bm-fpHUt.js} +3 -3
- package/dist/{qrcode-design-CX0_2mLC.js → qrcode-design-Brx73IFy.js} +1 -1
- package/dist/{revo-grid.entry-DbmWFi7p.js → revo-grid.entry-CREHbVNI.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BWQDu7fq.js → revogr-attribution_7.entry-CBUFDouS.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BtTYHFZi.js → revogr-clipboard_3.entry-C9D5KQdr.js} +2 -2
- package/dist/{revogr-data_4.entry-CWPXyZ7g.js → revogr-data_4.entry-DpskbAdh.js} +2 -2
- package/dist/{revogr-filter-panel.entry-5gYct0XI.js → revogr-filter-panel.entry-CqdNtCzb.js} +1 -1
- package/dist/seal-design-XhQfBjxE.js +4 -0
- package/dist/{serialnumber-design-aSqL4gX6.js → serialnumber-design-CJM0MP9w.js} +1 -1
- package/dist/shared/index.es.js +24 -24
- package/dist/{single-field-drop-C67wLHxK.js → single-field-drop-B82L3Pe3.js} +2 -2
- package/dist/{size-editor-BHGTPLir.js → size-editor-CybxvVWn.js} +1 -1
- package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-consume/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +13 -0
- package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +19 -0
- package/dist/src/domain/table/design/autofill-expander.d.ts +2 -0
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +6 -0
- package/dist/src/domain/table/index.d.ts +1 -1
- package/dist/src/domain/table/types.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
- package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +7 -0
- package/dist/src/shared/components/Signature/logic/index.d.ts +14 -0
- package/dist/{sub-table-factory-DTtDvr17.js → sub-table-factory-BrwMeqWM.js} +11 -60
- package/dist/{text-design-Dz0Qf2O3.js → text-design-Qem3wirw.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-CgtsG2CV.js → throttle-Cpk1LoGk-Bm1w1voP.js} +1 -1
- package/dist/{timediff-design-D9JfNqH8.js → timediff-design-CiGukjs9.js} +1 -1
- package/dist/{trace-like-wrapper-BXgr0Uv3.js → trace-like-wrapper-DrUDJDgX.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-doohzADY.js → value-editor.vue_vue_type_style_index_0_lang-DXBstCLM.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-XF3nCU9v.js → widget-barcode-DH30z4yi.js} +4 -4
- package/dist/{widget-diagonal-DSym7fks.js → widget-diagonal-Bv-Eb2Fi.js} +3 -3
- package/dist/{widget-image-CmjwkVs7.js → widget-image-67Q9gRCG.js} +5 -5
- package/dist/{widget-line-BX64xVfU.js → widget-line-DP3dKXNd.js} +2 -2
- package/dist/{widget-pagination-BV89Lvjt.js → widget-pagination-B66PcWXU.js} +5 -5
- package/dist/{widget-power-DoSfQv92.js → widget-power-yRy8897o.js} +3 -3
- package/dist/{widget-qrcode-UGcRLC56.js → widget-qrcode-DN3R8N41.js} +3 -3
- package/dist/{widget-rangelimit-CUHD__1H.js → widget-rangelimit-zWZZMPvn.js} +3 -3
- package/dist/{widget-serialnumber-CAkZR5Xl.js → widget-serialnumber-p7wB7-Bz.js} +1 -1
- package/dist/{widget-text-DtYVTThu.js → widget-text-BQO0Rf5A.js} +5 -5
- package/dist/{widget-timediff-DX_IoCMO.js → widget-timediff-C1VxWKle.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-DIhsk1I9.js +0 -4
- package/dist/seal-design-BhzgwVju.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
1
|
+
import { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
|
+
import { c as commonjsRequire } from "./index-DLZKDd1x.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
|
|
2
|
-
import { A as AlignEditor } from "./align-editor-
|
|
2
|
+
import { A as AlignEditor } from "./align-editor-99-Qs6Pu.js";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
|
-
import { z as _sfc_main$1, C as ColorPicker } from "./index-
|
|
5
|
-
import {
|
|
4
|
+
import { z as _sfc_main$1, C as ColorPicker } from "./index-DLZKDd1x.js";
|
|
5
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "font-editor",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, normalizeStyle } from "vue";
|
|
2
|
-
import { u as useWebUpload } from "./index-
|
|
2
|
+
import { u as useWebUpload } from "./index-CsIKJvLT.js";
|
|
3
3
|
import "ant-design-vue";
|
|
4
|
-
import {
|
|
4
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class Department extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Department;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum,
|
|
1
|
+
import { C as ComponentTypeEnum, ad as normalizeSealDiameter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class Seal extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Seal;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, O as Orientation,
|
|
2
|
+
import { C as ComponentTypeEnum, O as Orientation, a2 as BooleanShowMode, a1 as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class DynValue extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DynValue;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
3
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-DLZKDd1x.js";
|
|
3
|
+
import { C as ComponentTypeEnum, A as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE,
|
|
1
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE, h as SubTableType, d2 as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { has, get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, aC as DecimalDisplayMode, ay as RangeCompareOp, ax as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class InputDouble extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.InputDouble;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, ay as RangeCompareOp, ax as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class Datepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Datepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, get } from "lodash-es";
|
|
2
2
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
3
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class Timepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Timepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class UploadFile extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadFile;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { has, get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, aC as DecimalDisplayMode, ay as RangeCompareOp, ax as RangeValidateMode, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class InputNumber extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Inputnumber;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class Userpicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Userpicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, a3 as SignatureImageDirectionEnum, a4 as FallbackSignTypeEnum, aD as ImageDisplayModeEnum, a5 as SignatureNumberTypeEnum, a6 as SignatureTimeTypeEnum, a7 as SignShowTypeEnum, a8 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class Sign extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Sign;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as api, a9 as _export_sfc, cJ as getAugmentedNamespace, N as commonjsGlobal, Q as getDefaultExportFromCjs, cf as getParseRuleConfig, aW as renderUtils, bu as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import { message, Modal, Form } from "ant-design-vue";
|
|
3
3
|
import { defineComponent, inject, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref, ref as ref$1, onUnmounted, createVNode, h, mergeProps, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
|
|
4
4
|
import { debounce, cloneDeep } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-
|
|
6
|
+
import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-BW27j2qa.js";
|
|
7
7
|
import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
|
|
8
8
|
import { VxeGrid } from "vxe-table";
|
|
9
9
|
const uploadApis = {
|
|
@@ -3893,6 +3893,49 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3893
3893
|
}
|
|
3894
3894
|
});
|
|
3895
3895
|
const ParseRuleModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-2712d5f4"]]);
|
|
3896
|
+
function text(value) {
|
|
3897
|
+
if (typeof value === "string") return value.trim();
|
|
3898
|
+
if (typeof value === "number") return String(value);
|
|
3899
|
+
return "";
|
|
3900
|
+
}
|
|
3901
|
+
function referenceColumn(field, title, minWidth, displayField) {
|
|
3902
|
+
return {
|
|
3903
|
+
field,
|
|
3904
|
+
title,
|
|
3905
|
+
minWidth,
|
|
3906
|
+
showOverflow: "tooltip",
|
|
3907
|
+
formatter: ({ row }) => text(displayField ? row[displayField] : void 0) || text(renderUtils.getLabJsonValue(row, field)) || text(renderUtils.getLabByDict(row, field)) || "—"
|
|
3908
|
+
};
|
|
3909
|
+
}
|
|
3910
|
+
const SCENE_COLUMNS_MAP = {
|
|
3911
|
+
inventory: () => [
|
|
3912
|
+
{
|
|
3913
|
+
field: "materialName",
|
|
3914
|
+
title: $t("物料名称"),
|
|
3915
|
+
minWidth: 140,
|
|
3916
|
+
showOverflow: "tooltip",
|
|
3917
|
+
formatter: ({ row }) => text(row.materialName) || text(row.productId) || "—"
|
|
3918
|
+
},
|
|
3919
|
+
{
|
|
3920
|
+
field: "materialNo",
|
|
3921
|
+
title: $t("物料批次"),
|
|
3922
|
+
minWidth: 160,
|
|
3923
|
+
showOverflow: "tooltip"
|
|
3924
|
+
},
|
|
3925
|
+
referenceColumn("warehouse_id_", $t("sys.model.warehouse"), 140, "warehouse_name_"),
|
|
3926
|
+
referenceColumn(
|
|
3927
|
+
"location_id_",
|
|
3928
|
+
$t("sys.pageDesigner.fieldCmp.location"),
|
|
3929
|
+
140,
|
|
3930
|
+
"location_name_"
|
|
3931
|
+
),
|
|
3932
|
+
referenceColumn("mfg_order_id_", $t("指定工单"), 180, "mfg_order_code_"),
|
|
3933
|
+
referenceColumn("lot_sn_id_", $t("指定批次"), 160, "lot_sn_name_")
|
|
3934
|
+
]
|
|
3935
|
+
};
|
|
3936
|
+
function getScanColumns(scene) {
|
|
3937
|
+
return scene ? SCENE_COLUMNS_MAP[scene]?.() : void 0;
|
|
3938
|
+
}
|
|
3896
3939
|
class SubTableRender {
|
|
3897
3940
|
modalManager = new ModalManager();
|
|
3898
3941
|
openScanModal(opts) {
|
|
@@ -3919,9 +3962,13 @@ class SubTableRender {
|
|
|
3919
3962
|
}
|
|
3920
3963
|
};
|
|
3921
3964
|
openMultiRowsModal = async (opts) => {
|
|
3965
|
+
const columns = getScanColumns(opts.scene);
|
|
3922
3966
|
const { success, result } = await useFormBaseModal(
|
|
3923
3967
|
"SCAN_MULTI_ROWS_MODAL",
|
|
3924
|
-
{
|
|
3968
|
+
{
|
|
3969
|
+
rows: opts.rows,
|
|
3970
|
+
...columns === void 0 ? {} : { columns }
|
|
3971
|
+
},
|
|
3925
3972
|
{
|
|
3926
3973
|
title: opts.title ?? $t("sys.kit.selectMaterial"),
|
|
3927
3974
|
width: 640,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-
|
|
8
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-DLZKDd1x.js";
|
|
9
9
|
class CombineFields {
|
|
10
10
|
component = ComponentTypeEnum.CombineFields;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { get, pick, omit, merge } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, O as Orientation,
|
|
2
|
+
import { C as ComponentTypeEnum, O as Orientation, a1 as LabelPosition, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
|
+
import { g as getFieldWidget } from "./index-DLZKDd1x.js";
|
|
9
9
|
class EnumSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.EnumSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class Diagonal extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Diagonal;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-
|
|
3
|
-
import { C as ComponentTypeEnum, O as Orientation,
|
|
2
|
+
import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-D8JTGNuH.js";
|
|
3
|
+
import { C as ComponentTypeEnum, O as Orientation, a2 as BooleanShowMode, a1 as LabelPosition, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
9
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
+
import { g as getFieldWidget } from "./index-DLZKDd1x.js";
|
|
9
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
10
10
|
class Switch extends BaseComponent {
|
|
11
11
|
component = ComponentTypeEnum.Switch;
|
|
12
12
|
wrapperCmpConfig({ data }) {
|