@gct-paas/excel 0.1.39-beta.8 → 0.1.39
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-Dri2NRAY.js → BaseComponent-vcQYIdIV.js} +2 -2
- package/dist/{VueVideoPlayer-DPJyefX-.js → VueVideoPlayer-i-e8JA1p.js} +2 -2
- package/dist/{align-editor-BvGUsoz3.js → align-editor-BHe6RawU.js} +1 -1
- package/dist/{barcode-design-C8V6Zzz_.js → barcode-design-B2QebWCm.js} +2 -2
- package/dist/base/index.es.js +624 -264
- package/dist/{diagonal-design-DXfWVZvL.js → diagonal-design-Di8yoq2q.js} +2 -2
- package/dist/{dynamic-table-action-BQfJFJ4j.js → dynamic-table-action-ixEHBudI.js} +1041 -368
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js} +1039 -1409
- package/dist/{edit.utils-CXmmCnxE-CvJGxh2v.js → edit.utils-CXmmCnxE-Dq-jFR6z.js} +1 -1
- package/dist/excel.css +616 -351
- package/dist/{exceljs.min-BfRvRgvB.js → exceljs.min-Biokosoj.js} +2 -2
- package/dist/{font-editor-C-R6CAVG.js → font-editor-B8l8oZMc.js} +3 -3
- package/dist/{image-design-A8_t4F3t.js → image-design-BI6ld3iT.js} +2 -2
- package/dist/{index-DFNVqlgA.js → index-0QNiqIDD.js} +1 -1
- package/dist/{index-Caygbi4F.js → index-4DBBFAz2.js} +2 -2
- package/dist/{index-DERot0lx.js → index-5-uaHPu2.js} +2 -2
- package/dist/{index-H2nF4SP8.js → index-849t15XD.js} +2 -2
- package/dist/{index-C3k8QiLF.js → index-ACzLWeSq.js} +2 -2
- package/dist/{index-DkwkBWEP.js → index-B-2uV1do.js} +2 -2
- package/dist/{index-bH6ERrWd.js → index-B-in7hrx.js} +2 -2
- package/dist/{index-B-Kwr44d.js → index-B1qdPPcT.js} +1 -1
- package/dist/{index-B_GyS-E2.js → index-B2-4fQY4.js} +1 -1
- package/dist/{index-Bl5PEJrh.js → index-BC-WTGht.js} +6 -3
- package/dist/{index-CJdwj04Z.js → index-BWibgLgR.js} +1 -1
- package/dist/{index-DWVhXPb-.js → index-BY-gcezU.js} +2 -2
- package/dist/{index-BLmR9aiG.js → index-B_8k4BAM.js} +1 -1
- package/dist/{index-CTASuQPn.js → index-BaiFrPHF.js} +1 -1
- package/dist/{index-C-k8dFLv.js → index-BgCtUVN4.js} +2 -2
- package/dist/{index-DkDetjLm.js → index-Boq5CJjh.js} +3 -3
- package/dist/{index-CfGLFrkj.js → index-BwN8dOzz.js} +1 -1
- package/dist/{index-CCBueGEh.js → index-Bz-WrsTI.js} +6 -5
- package/dist/{index-DqkPgoly.js → index-C4P86Gyr.js} +2 -2
- package/dist/{index-CRloZ0HP.js → index-C68Ddx67.js} +2 -2
- package/dist/{index-afC-rHNa.js → index-CDYkiSAG.js} +2 -2
- package/dist/{index-DpMV2Mnw.js → index-CKQht60B.js} +6 -5
- package/dist/{index-BUK-p31i.js → index-CM549sqd.js} +3 -2
- package/dist/{index-DmBx27M9.js → index-CNNAdkvj.js} +2 -2
- package/dist/{index-Bs8Xs0bo.js → index-CTmqu_l0.js} +1 -1
- package/dist/{index-DY7Xkd8n.js → index-CbwfhoZc.js} +2 -2
- package/dist/{index-D9444n1O.js → index-CbzO_9_B.js} +2 -2
- package/dist/{index-BE-3UQG0.js → index-CqJMdCBq.js} +50 -3
- package/dist/{index-BYH3tYm7.js → index-DJWuge8D.js} +5 -7
- package/dist/{index-D9OUmbBs.js → index-DdeccRDL.js} +1 -1
- package/dist/{index-P9ZTqL1i.js → index-T4KiEmZK.js} +3 -3
- package/dist/{index-DsLZqLga.js → index-aGBVmmIs.js} +2 -2
- package/dist/{index-luggjixn.js → index-bLaVMu7L.js} +2454 -1959
- package/dist/{index-DPHGDezJ.js → index-n8fyvJSm.js} +1 -1
- package/dist/{index-D1jXU0ka.js → index-rMox9ntl.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-DybPk-KF.js → mb-render-BhZlu6KQ.js} +8 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BEX02BrW.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-1sgb8Alq.js} +8 -1
- package/dist/{pagination-design-CpZhqHAZ.js → pagination-design-DvqAcQIp.js} +2 -2
- package/dist/paper-widget-design-D_kqGHiq.js +4 -0
- package/dist/{print-runtime-instance-DP1Lp8e2.js → print-runtime-instance-CmWFXzPQ.js} +1 -1
- package/dist/{print-snapshot-renderer-Cf73dKcd.js → print-snapshot-renderer-DsksM5OJ.js} +3 -3
- package/dist/{qrcode-design-BDVFS0l9.js → qrcode-design-CuDgywl1.js} +1 -1
- package/dist/{revo-grid.entry-EvEm_y2W.js → revo-grid.entry-BqAGRHgf.js} +1 -1
- package/dist/{revogr-attribution_7.entry-DgE6PR1L.js → revogr-attribution_7.entry-Dl-LcgkK.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CNDxeVhF.js → revogr-clipboard_3.entry-CT01IdhF.js} +2 -2
- package/dist/{revogr-data_4.entry-DKwV9DMF.js → revogr-data_4.entry-fH5V7Zgk.js} +2 -2
- package/dist/{revogr-filter-panel.entry-1SAhHHfl.js → revogr-filter-panel.entry-DiC81RU-.js} +1 -1
- package/dist/seal-design-CZ8RLM62.js +4 -0
- package/dist/{serialnumber-design-Cs3B0ZNE.js → serialnumber-design-CVO53aOV.js} +1 -1
- package/dist/shared/index.es.js +23 -21
- package/dist/{single-field-drop-Ijh7_RRT.js → single-field-drop-B51_f5z6.js} +2 -2
- package/dist/{size-editor-B2TfX4_r.js → size-editor-BeSNExEt.js} +1 -1
- package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +1 -7
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +2 -0
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +9 -7
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +18 -14
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +20 -7
- package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +4 -3
- package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +19 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts +24 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
- package/dist/src/nocode-base/src/interface/transform.d.ts +14 -1
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +3 -1
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +4 -0
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +2 -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/__cell_widgets__/cell-widget-design.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +2 -2
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +8 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +1 -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/hooks/useAllSpreadSheets.d.ts +35 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +16 -1
- package/dist/src/online-form/src/views/designer/modules/base/designer-wrapper.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/modules/duplicate-field-notice.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/xlsx-import-summary.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/designer/types/index.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/types/sheets.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/utils/cell-field-placements.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +9 -3
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useReferenceLabel.d.ts +4 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
- package/dist/src/shared/enum/field-type.d.ts +2 -0
- package/dist/src/shared/enum/index.d.ts +2 -0
- package/dist/src/shared/enum/product-type.d.ts +9 -0
- package/dist/src/shared/enum/production-identification.d.ts +19 -0
- package/dist/src/shared/utils/cell-wrap.d.ts +9 -0
- package/dist/src/shared/utils/grid-size.d.ts +2 -0
- package/dist/src/shared/utils/lot2sn.d.ts +14 -1
- package/dist/src/shared/utils/query-filter.d.ts +24 -0
- package/dist/{sub-table-factory-CNkIUJTC.js → sub-table-factory-sC8iCJWs.js} +38 -18
- package/dist/{text-design-BaDQZeS2.js → text-design-DK_QWoro.js} +5 -4
- package/dist/{throttle-Cpk1LoGk-Ch-cqj2G.js → throttle-Cpk1LoGk-BreMfOwP.js} +1 -1
- package/dist/{timediff-design-DASqeRcJ.js → timediff-design-Iwg0BNOb.js} +1 -1
- package/dist/{trace-like-wrapper-B1n1LPhU.js → trace-like-wrapper-D0pPaeII.js} +5 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-_7d452gl.js → value-editor.vue_vue_type_style_index_0_lang-B4gIt1fw.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-D3nGm6wi.js → widget-barcode-DSBywfHB.js} +4 -4
- package/dist/{widget-diagonal-CrTfSw6w.js → widget-diagonal-DiBbiuEA.js} +3 -3
- package/dist/{widget-image-Bq3B9IR0.js → widget-image-DUtfyekO.js} +5 -5
- package/dist/{widget-line-BE8D0_Mn.js → widget-line-6Ngl_4mJ.js} +2 -2
- package/dist/{widget-pagination-CJZ-nXas.js → widget-pagination-DXmnbvtx.js} +5 -5
- package/dist/{widget-power-CUVtkygi.js → widget-power-DbsY-uwC.js} +3 -3
- package/dist/{widget-qrcode-DDqtIjp6.js → widget-qrcode-LsBgDKds.js} +3 -3
- package/dist/{widget-rangelimit-CiXyiZ4L.js → widget-rangelimit-DJ_5u-vA.js} +3 -3
- package/dist/{widget-serialnumber-DdV7rw4j.js → widget-serialnumber-TEVkPcgx.js} +1 -1
- package/dist/{widget-text-B5pDJ4lb.js → widget-text-DD-xuVwh.js} +5 -5
- package/dist/{widget-timediff-D_BS7hfR.js → widget-timediff-DQV78xgH.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-o-K-d1mV.js +0 -4
- package/dist/seal-design-D2dtOjZh.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
1
|
+
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
2
|
+
import { c as commonjsRequire } from "./index-bLaVMu7L.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-BHe6RawU.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-bLaVMu7L.js";
|
|
5
|
+
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.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-CqJMdCBq.js";
|
|
3
3
|
import "ant-design-vue";
|
|
4
|
-
import {
|
|
4
|
+
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.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-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
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-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class Userpicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Userpicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, a1 as SignatureImageDirectionEnum, a2 as FallbackSignTypeEnum, aw as ImageDisplayModeEnum, a3 as SignatureNumberTypeEnum, a4 as SignatureTimeTypeEnum, a5 as SignShowTypeEnum, a6 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class Sign extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Sign;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
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-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class Department extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Department;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, au as RangeCompareOp, at as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class Datepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Datepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { has, get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, av as DecimalDisplayMode, au as RangeCompareOp, at as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class InputDouble extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.InputDouble;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, O as Orientation,
|
|
2
|
+
import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class DynValue extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DynValue;
|
|
9
9
|
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-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType,
|
|
1
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, cL as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-bLaVMu7L.js";
|
|
8
8
|
class Select extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Select;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -28,6 +28,9 @@ class Select extends BaseComponent {
|
|
|
28
28
|
];
|
|
29
29
|
}
|
|
30
30
|
if (isSubtableMfgOrder) {
|
|
31
|
+
if (!["pretreatment-list", "PRETREATMENT_LIST"].includes(data.info.subModelType ?? "")) {
|
|
32
|
+
return [{ key: "code_", name: $t("sys.edhr.field.code") }];
|
|
33
|
+
}
|
|
31
34
|
return [
|
|
32
35
|
{ key: "code_", name: $t("sys.edhr.field.code") },
|
|
33
36
|
{ key: "product_id_name_", name: "产品名称" },
|
|
@@ -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-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick, get } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE,
|
|
2
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE, au as RangeCompareOp, at as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class DateTimepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DateTimepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { p as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -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-CKf2tZG7.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,9 +1,9 @@
|
|
|
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-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
6
|
+
import { A as AsyncGctOnlineComponents } from "./index-bLaVMu7L.js";
|
|
7
7
|
class Tr {
|
|
8
8
|
component = "tr";
|
|
9
9
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -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-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-D0pPaeII.js";
|
|
8
8
|
class AutoComplete extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.AutoComplete;
|
|
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-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
3
|
-
import { C as ComponentTypeEnum, O as Orientation,
|
|
2
|
+
import { h as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-ixEHBudI.js";
|
|
3
|
+
import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition, a_ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
8
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { g as getFieldWidget } from "./index-bLaVMu7L.js";
|
|
8
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
9
9
|
class Switch extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Switch;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -21,7 +21,8 @@ class Switch extends BaseComponent {
|
|
|
21
21
|
displayMode: get(data.info, "showMode", BooleanShowMode.Both),
|
|
22
22
|
direction: get(data.info, "direction", Orientation.Landscape),
|
|
23
23
|
letterSpace: get(data.info, "iconLabelSpace", 0),
|
|
24
|
-
|
|
24
|
+
// 旧组件保留未配置状态,继续使用原选项边距。
|
|
25
|
+
optionGap: get(data.info, "optionGap"),
|
|
25
26
|
size: get(data.info, "fontSize", 12),
|
|
26
27
|
prefix: get(data.info, "prefix"),
|
|
27
28
|
suffix: get(data.info, "suffix")
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-
|
|
7
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-bLaVMu7L.js";
|
|
8
8
|
class CombineFields {
|
|
9
9
|
component = ComponentTypeEnum.CombineFields;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
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-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class Diagonal extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Diagonal;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, aw as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class UploadImage extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadImage;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
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, $ as LabelPosition, a_ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
|
+
import { g as getFieldWidget } from "./index-bLaVMu7L.js";
|
|
8
8
|
class EnumSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.EnumSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -15,8 +15,9 @@ class EnumSelect extends BaseComponent {
|
|
|
15
15
|
bindCompStyleType: get(data.info, "renderComp", BindCmpStyleEnum.CMP_SELECT_LIST),
|
|
16
16
|
labelPos: get(data.info, "labelPosition", LabelPosition.After),
|
|
17
17
|
direction: get(data.info, "direction", Orientation.Landscape),
|
|
18
|
-
letterSpace: get(data.info, "iconLabelSpace",
|
|
19
|
-
|
|
18
|
+
letterSpace: get(data.info, "iconLabelSpace", 8),
|
|
19
|
+
// 旧设计稿保持未配置,由渲染组件沿用原选项边距。
|
|
20
|
+
optionGap: get(data.info, "optionGap"),
|
|
20
21
|
size: get(data.info, "fontSize", 12),
|
|
21
22
|
prefix: get(data.info, "prefix"),
|
|
22
23
|
suffix: get(data.info, "suffix")
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
+
import { f as normalizeSealDiameter } from "./dynamic-table-action-ixEHBudI.js";
|
|
5
6
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
8
|
class Seal extends BaseComponent {
|
|
8
9
|
component = ComponentTypeEnum.Seal;
|
|
9
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { has, get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, av as DecimalDisplayMode, au as RangeCompareOp, at as RangeValidateMode, a_ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class InputNumber extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Inputnumber;
|
|
9
9
|
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-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
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-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class UploadFile extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadFile;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
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-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class Timepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Timepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as api,
|
|
1
|
+
import { E as api, a7 as _export_sfc, cr as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, c2 as getParseRuleConfig, aT as renderUtils, bm as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.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-BhZlu6KQ.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,6 +1,7 @@
|
|
|
1
|
-
import { pick,
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
3
|
-
import {
|
|
1
|
+
import { pick, has, cloneDeep, get } from "lodash-es";
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-bLaVMu7L.js";
|
|
3
|
+
import { i as isCellAutoLineBreak } from "./dynamic-table-action-ixEHBudI.js";
|
|
4
|
+
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
4
5
|
import "vue";
|
|
5
6
|
import "dayjs";
|
|
6
7
|
import "ant-design-vue";
|
|
@@ -10,7 +11,7 @@ class Td {
|
|
|
10
11
|
const cmp = {
|
|
11
12
|
props: {
|
|
12
13
|
...pick(data.attrs ?? {}, ["colspan", "rowspan"]),
|
|
13
|
-
autoLineBreak:
|
|
14
|
+
autoLineBreak: isCellAutoLineBreak(data.style),
|
|
14
15
|
sourceBorderAttrs: ["cbt", "cbr", "cbb", "cbl", "bold"].filter((key) => data[key])
|
|
15
16
|
},
|
|
16
17
|
style: { ...pick(data.style, "backgroundColor") },
|
|
@@ -18,9 +19,6 @@ class Td {
|
|
|
18
19
|
xAutoMerge: data.xAutoMerge || false,
|
|
19
20
|
fillDirection: data.fillDirection || void 0
|
|
20
21
|
};
|
|
21
|
-
if (!isEmpty(data.style) && has(data.style, "whiteSpace") && has(data.style, "wordBreak") && data.style.whiteSpace === "pre-wrap" && data.style.wordBreak === "break-all") {
|
|
22
|
-
cmp.props.autoLineBreak = true;
|
|
23
|
-
}
|
|
24
22
|
const fixedTableFieldMap = dataCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap;
|
|
25
23
|
let config = data;
|
|
26
24
|
if (has(data, "cellRef") && data.cellRef && data.subTableType === "CHECK" && fixedTableFieldMap[data.cellRef]) {
|
|
@@ -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-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -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-CKf2tZG7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-D0pPaeII.js";
|
|
8
8
|
class RdoSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.RdoSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, a_ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-vcQYIdIV.js";
|
|
7
7
|
class Input extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Input;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|