@gct-paas/excel 0.1.40-beta.0 → 0.1.40-beta.10
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-BTolXjlE.js → BaseComponent-DKaXUiq4.js} +2 -2
- package/dist/{VueVideoPlayer-Dvf7Ya7H.js → VueVideoPlayer-BeylL5J6.js} +2 -2
- package/dist/{align-editor-jp0NsOnT.js → align-editor-r0dHXFka.js} +1 -1
- package/dist/{barcode-design-ClfdoOKn.js → barcode-design-BCJkI4mq.js} +2 -2
- package/dist/base/index.es.js +668 -262
- package/dist/{diagonal-design-Br0xpyqC.js → diagonal-design-CAILyrwR.js} +2 -2
- package/dist/{dynamic-table-action-C-HIKtZG.js → dynamic-table-action-CHY5xNLE.js} +482 -286
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js} +1181 -696
- package/dist/{edit.utils-CXmmCnxE-D4-n_eOM.js → edit.utils-CXmmCnxE-Cu6obgSA.js} +1 -1
- package/dist/excel.css +3304 -4069
- package/dist/{exceljs.min-BH63KI8s.js → exceljs.min-CuCLHH9n.js} +2 -2
- package/dist/{font-editor-QSpu9bjJ.js → font-editor-DsrS0BQJ.js} +3 -3
- package/dist/{image-design-ySQAmnTF.js → image-design-FDLY6DFg.js} +2 -2
- package/dist/{index-CN-rY-3F.js → index-7u6Pmaax.js} +1 -1
- package/dist/{index-D3IdoYWe.js → index-AGp5c3cl.js} +2 -2
- package/dist/{index-Ca8q7yXC.js → index-B-hfUWEs.js} +2 -2
- package/dist/{index-CMOvPSr6.js → index-B8pwnxas.js} +2 -2
- package/dist/{index-ibQys99q.js → index-BCsDTwbK.js} +1 -1
- package/dist/{index-D9zBCWpE.js → index-BIeu5JwZ.js} +2 -2
- package/dist/{index-oOLbaFI8.js → index-BPc_QQH5.js} +19468 -21212
- package/dist/{index-C2RMbM6E.js → index-BTfYHAPC.js} +2 -2
- package/dist/{index-BXXvFDgt.js → index-BdFPuj12.js} +1 -1
- package/dist/{index-QTmeSdj9.js → index-BsVPhbAx.js} +6 -3
- package/dist/{index-FSCxAVGq.js → index-C3SyXJii.js} +2 -2
- package/dist/{index-BxEjRF0o.js → index-C6jVSwAq.js} +2 -2
- package/dist/{index-uVpJOLb3.js → index-CFVecFFb.js} +53 -5
- package/dist/{index-C7DwXZ-K.js → index-CRIhEnfm.js} +1 -1
- package/dist/{index-Cf7KwZfa.js → index-CRW2rDyo.js} +6 -5
- package/dist/{index-DZGqXE3S.js → index-CTJlsdnr.js} +3 -3
- package/dist/{index-4_qe7Eco.js → index-CbmHekMw.js} +2 -2
- package/dist/{index-Qf8D5LdT.js → index-CwK_A9FR.js} +3 -3
- package/dist/{index-DbPA5PUX.js → index-DEHsGK91.js} +1 -1
- package/dist/{index-CvDQjwre.js → index-DGODLCja.js} +1 -1
- package/dist/{index-8yhxxqYM.js → index-DJiuJgNx.js} +1 -1
- package/dist/{index-BJ6ZaX-f.js → index-DOd1pUIe.js} +2 -2
- package/dist/{index-DYxskDRv.js → index-DPGs3mX0.js} +3 -3
- package/dist/{index-BOaDYNtp.js → index-DXNSTk5n.js} +2 -2
- package/dist/{index-BHiNdrGr.js → index-De6oWEZJ.js} +2 -2
- package/dist/{index-nBc_3R3r.js → index-DgLLlaiF.js} +1 -1
- package/dist/{index-B3mCVcXB.js → index-DkYlfWLa.js} +2 -2
- package/dist/{index-dhaw5vxN.js → index-Dl_ZgCRB.js} +3 -3
- package/dist/{index-BJQd1G0r.js → index-DoVHKpph.js} +6 -5
- package/dist/{index-CTO4kNz9.js → index-Go0PUrqy.js} +1 -1
- package/dist/{index-Cb-I6DkL.js → index-KxrgWfEL.js} +1 -1
- package/dist/{index-B6Bs-q34.js → index-dXOMuxrp.js} +2 -2
- package/dist/{index-CUrMIr2v.js → index-etlM6HzI.js} +2 -2
- package/dist/{index-2FWN7Q91.js → index-gGYvWSjX.js} +2 -2
- package/dist/{index-COx1-SPe.js → index-rZVFumSM.js} +2 -2
- package/dist/index.es.js +12 -10
- package/dist/{mb-render-BRejJNP-.js → mb-render-_IUbyYCY.js} +9 -3
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QX4lxsni.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.js} +8 -1
- package/dist/{pagination-design-pTh3Fqbz.js → pagination-design-DsOKY9kM.js} +2 -2
- package/dist/paper-widget-design-BTxXtF4f.js +4 -0
- package/dist/{print-runtime-instance-CBUjws4D.js → print-runtime-instance-lfLuU2No.js} +1 -1
- package/dist/{print-snapshot-renderer-s0IhY_T_.js → print-snapshot-renderer-Di-YZz7g.js} +3 -3
- package/dist/{qrcode-design-CnKOb-s9.js → qrcode-design-BGptsxHU.js} +1 -1
- package/dist/{revo-grid.entry-BqbaKcyR.js → revo-grid.entry-BZADj2ve.js} +1 -1
- package/dist/{revogr-attribution_7.entry-jmN78nkb.js → revogr-attribution_7.entry-DbQASE7d.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-eK74i7_f.js → revogr-clipboard_3.entry-BUDhUelS.js} +2 -2
- package/dist/{revogr-data_4.entry-D2lAUBEM.js → revogr-data_4.entry-0V57Lz9p.js} +2 -2
- package/dist/{revogr-filter-panel.entry-C-1WXBDy.js → revogr-filter-panel.entry-BJEYteeW.js} +1 -1
- package/dist/seal-design-BS24iQos.js +4 -0
- package/dist/{serialnumber-design-DEYD9ku_.js → serialnumber-design-BbjW4gnZ.js} +1 -1
- package/dist/shared/index.es.js +26 -24
- package/dist/{single-field-drop-Bd3PcWQF.js → single-field-drop-DP6_SO_H.js} +2 -2
- package/dist/{size-editor-DiZ8E2R6.js → size-editor-CcYZKUn5.js} +1 -1
- package/dist/src/domain/document-business/business/product-release/profile.d.ts +2 -0
- package/dist/src/domain/document-business/business/product-release/service.d.ts +2 -0
- package/dist/src/domain/document-business/index.d.ts +2 -0
- package/dist/src/domain/document-business/registry.d.ts +2 -0
- package/dist/src/domain/document-business/runtime/field-query-runtime.d.ts +4 -0
- package/dist/src/domain/document-business/types.d.ts +24 -0
- package/dist/src/domain/field/number/product-release-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/query-filter.d.ts +15 -0
- 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 +37 -1
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +3 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/select-loaders.d.ts +8 -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/field-keys.d.ts +2 -0
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +2 -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/allocate-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +3 -3
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +1 -2
- package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +4 -0
- 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/material-consume-object/bom-validator.d.ts +4 -3
- package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +3 -7
- package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +4 -1
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +8 -2
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +7 -6
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
- package/dist/src/nocode-base/src/interface/ref-loader.d.ts +12 -1
- package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
- package/dist/src/nocode-base/src/interface/transform.d.ts +9 -1
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +2 -1
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -0
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +11 -2
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
- package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -1
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
- 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/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -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__/fake-field/fake-option-select.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/constants/index.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/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/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +1 -4
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
- package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +162 -2
- package/dist/src/shared/components/LimitedNumberInput/limited-number-input.vue.d.ts +41 -0
- package/dist/src/shared/components/LimitedNumberInput/number-input-rules.d.ts +16 -0
- package/dist/src/shared/components/Signature/logic/index.d.ts +15 -1
- package/dist/src/shared/enum/field-type.d.ts +9 -2
- 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/withRequestCache.d.ts +27 -0
- package/dist/{sub-table-factory-B6HdlZ7-.js → sub-table-factory-B0YWwWSA.js} +233 -152
- package/dist/{text-design-D2IwsbOW.js → text-design-CquXT5UG.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DRpYOKiV.js → throttle-Cpk1LoGk-BVommE6v.js} +1 -1
- package/dist/{timediff-design-Cq3SADlb.js → timediff-design-DLlIUaqv.js} +1 -1
- package/dist/{trace-like-wrapper-Qmczl-Hz.js → trace-like-wrapper-BXA26KJX.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-UXPOa0Wv.js → value-editor.vue_vue_type_style_index_0_lang-BE_003Cm.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-C7wO0SFO.js → widget-barcode-DSLB1Wm3.js} +4 -4
- package/dist/{widget-diagonal-Cbuv8o5A.js → widget-diagonal-8alLoPL6.js} +3 -3
- package/dist/{widget-image-4AeqjwGp.js → widget-image-BmP7Adg_.js} +5 -5
- package/dist/{widget-line--RgXiyvO.js → widget-line-D9S0mzzT.js} +2 -2
- package/dist/{widget-pagination-jr6bVWPW.js → widget-pagination-BR3w_OHu.js} +5 -5
- package/dist/{widget-power-ptilZfAF.js → widget-power-DCV70vg5.js} +3 -3
- package/dist/{widget-qrcode-DH-1741M.js → widget-qrcode-CTzBIYUi.js} +3 -3
- package/dist/{widget-rangelimit-B4yv3Qw3.js → widget-rangelimit-1aqxil7q.js} +3 -3
- package/dist/{widget-serialnumber-AZ2IUJTg.js → widget-serialnumber-B-2Ey17u.js} +1 -1
- package/dist/{widget-text-CW0A1n16.js → widget-text-B1REfHTG.js} +5 -5
- package/dist/{widget-timediff-C3xTGqfj.js → widget-timediff-DRoMv5aa.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-CBI-8vTV.js +0 -4
- package/dist/seal-design-CMJBAfIN.js +0 -4
|
@@ -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-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class Datepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Datepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -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-8yB6zly8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,20 +1,23 @@
|
|
|
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-8yB6zly8.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-BPc_QQH5.js";
|
|
9
9
|
class CombineFields {
|
|
10
10
|
component = ComponentTypeEnum.CombineFields;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
12
|
+
const mode = data.style?.writingMode;
|
|
12
13
|
const cmp = {
|
|
13
14
|
props: {
|
|
14
15
|
fields: []
|
|
15
16
|
},
|
|
16
17
|
style: {
|
|
17
|
-
...pick(data.style ?? {}, fontStyleAttrs)
|
|
18
|
+
...pick(data.style ?? {}, fontStyleAttrs),
|
|
19
|
+
// 用独立变量传递方向,避免触发公共竖排样式,改变整组控件的宽度和布局。
|
|
20
|
+
"--composite-text-writing-mode": mode && mode !== "unset" ? mode : "horizontal-tb"
|
|
18
21
|
}
|
|
19
22
|
};
|
|
20
23
|
data.fieldInfos.forEach((fieldInfo) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, b1 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class Textarea extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Textarea;
|
|
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-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class DynValue extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DynValue;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as api, a9 as _export_sfc, cL as getAugmentedNamespace, N as commonjsGlobal, Q as getDefaultExportFromCjs, ch as getParseRuleConfig, aX as renderUtils, bw as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.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-
|
|
7
|
-
import { useFormBaseModal } from "@gct-paas/form-base";
|
|
6
|
+
import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-_IUbyYCY.js";
|
|
7
|
+
import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
|
|
8
8
|
import { VxeGrid } from "vxe-table";
|
|
9
9
|
const uploadApis = {
|
|
10
10
|
upload: null,
|
|
@@ -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,
|
|
@@ -4130,7 +4177,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4130
4177
|
});
|
|
4131
4178
|
const BomModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5d267371"]]);
|
|
4132
4179
|
class McWebRender extends MCRender {
|
|
4133
|
-
/**
|
|
4180
|
+
/** overlay 弹层按实例记录,form-base 弹层通过其全局管理器关闭。 */
|
|
4134
4181
|
modals = [];
|
|
4135
4182
|
async handleModal(modal, ownerId) {
|
|
4136
4183
|
const record = { ownerId, modal };
|
|
@@ -4140,6 +4187,7 @@ class McWebRender extends MCRender {
|
|
|
4140
4187
|
this.modals = this.modals.filter((item) => item !== record);
|
|
4141
4188
|
}
|
|
4142
4189
|
destroyAllModals(ownerId) {
|
|
4190
|
+
closeAllFormBaseModal();
|
|
4143
4191
|
const targets = this.modals.filter((item) => item.ownerId === ownerId);
|
|
4144
4192
|
for (const { modal } of targets) {
|
|
4145
4193
|
modal.dismiss();
|
|
@@ -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-8yB6zly8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick, get } from "lodash-es";
|
|
5
5
|
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-CHY5xNLE.js";
|
|
3
|
+
import { C as ComponentTypeEnum, O as Orientation, a2 as BooleanShowMode, a1 as LabelPosition, b1 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.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-BPc_QQH5.js";
|
|
9
|
+
import { B as BaseComponent } from "./BaseComponent-DKaXUiq4.js";
|
|
10
10
|
class Switch extends BaseComponent {
|
|
11
11
|
component = ComponentTypeEnum.Switch;
|
|
12
12
|
wrapperCmpConfig({ data }) {
|
|
@@ -22,7 +22,8 @@ class Switch extends BaseComponent {
|
|
|
22
22
|
displayMode: get(data.info, "showMode", BooleanShowMode.Both),
|
|
23
23
|
direction: get(data.info, "direction", Orientation.Landscape),
|
|
24
24
|
letterSpace: get(data.info, "iconLabelSpace", 0),
|
|
25
|
-
|
|
25
|
+
// 旧组件保留未配置状态,继续使用原选项边距。
|
|
26
|
+
optionGap: get(data.info, "optionGap"),
|
|
26
27
|
size: get(data.info, "fontSize", 12),
|
|
27
28
|
prefix: get(data.info, "prefix"),
|
|
28
29
|
suffix: get(data.info, "suffix")
|
|
@@ -1,11 +1,11 @@
|
|
|
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-8yB6zly8.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-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DKaXUiq4.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BXA26KJX.js";
|
|
9
9
|
class AutoComplete extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.AutoComplete;
|
|
11
11
|
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-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class UploadFile extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadFile;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
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-8yB6zly8.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-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DKaXUiq4.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BXA26KJX.js";
|
|
9
9
|
class RdoSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.RdoSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -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, d4 as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, 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-8yB6zly8.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 } 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-8yB6zly8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
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-8yB6zly8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
7
|
+
import { A as AsyncGctOnlineComponents } from "./index-BPc_QQH5.js";
|
|
8
8
|
class Tr {
|
|
9
9
|
component = "tr";
|
|
10
10
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
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-8yB6zly8.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 { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DKaXUiq4.js";
|
|
8
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-BPc_QQH5.js";
|
|
9
9
|
class Select extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Select;
|
|
11
11
|
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-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class Userpicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Userpicker;
|
|
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-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class Seal extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Seal;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -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-8yB6zly8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
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, ay as RangeCompareOp, ax as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class DateTimepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DateTimepicker;
|
|
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-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class Sign extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Sign;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -26,7 +26,7 @@ class Sign extends BaseComponent {
|
|
|
26
26
|
customDateFormat: get(data.info, "customDateFormat"),
|
|
27
27
|
// 老模板无此字段时默认 CUSTOM,保持原有固定宽度渲染
|
|
28
28
|
signDisplayMode: get(data.info, "signDisplayMode", ImageDisplayModeEnum.CUSTOM),
|
|
29
|
-
fallbackSignType: get(data.info, "fallbackSignType", FallbackSignTypeEnum.
|
|
29
|
+
fallbackSignType: get(data.info, "fallbackSignType", FallbackSignTypeEnum.NAME_ONLY),
|
|
30
30
|
signatureImageDirection: get(
|
|
31
31
|
data.info,
|
|
32
32
|
"signatureImageDirection",
|
|
@@ -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, b1 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.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-DKaXUiq4.js";
|
|
8
|
+
import { g as getFieldWidget } from "./index-BPc_QQH5.js";
|
|
9
9
|
class EnumSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.EnumSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -16,8 +16,9 @@ class EnumSelect extends BaseComponent {
|
|
|
16
16
|
bindCompStyleType: get(data.info, "renderComp", BindCmpStyleEnum.CMP_SELECT_LIST),
|
|
17
17
|
labelPos: get(data.info, "labelPosition", LabelPosition.After),
|
|
18
18
|
direction: get(data.info, "direction", Orientation.Landscape),
|
|
19
|
-
letterSpace: get(data.info, "iconLabelSpace",
|
|
20
|
-
|
|
19
|
+
letterSpace: get(data.info, "iconLabelSpace", 8),
|
|
20
|
+
// 旧设计稿保持未配置,由渲染组件沿用原选项边距。
|
|
21
|
+
optionGap: get(data.info, "optionGap"),
|
|
21
22
|
size: get(data.info, "fontSize", 12),
|
|
22
23
|
prefix: get(data.info, "prefix"),
|
|
23
24
|
suffix: get(data.info, "suffix")
|
|
@@ -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-8yB6zly8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { cloneDeep, has, isNil, isEmpty } 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-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class InputDouble extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.InputDouble;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -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-BPc_QQH5.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-8yB6zly8.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -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, b1 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.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-DKaXUiq4.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,
|
|
2
|
+
import { C as ComponentTypeEnum, aD as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.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-DKaXUiq4.js";
|
|
8
8
|
class UploadImage extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadImage;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-
|
|
2
|
-
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
1
|
+
import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, h } from "./index-BPc_QQH5.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.js";
|
|
3
3
|
import { DataSources } from "@gct-paas/form-base";
|
|
4
4
|
export {
|
|
5
5
|
G as AiTmplEditor,
|
|
@@ -46,13 +46,15 @@ export {
|
|
|
46
46
|
aj as XlsxParser,
|
|
47
47
|
ak as calcUsedFields,
|
|
48
48
|
al as createDefaultExcelStores,
|
|
49
|
-
am as
|
|
50
|
-
an as
|
|
51
|
-
ao as
|
|
52
|
-
ap as
|
|
53
|
-
aq as
|
|
54
|
-
ar as
|
|
55
|
-
as as
|
|
56
|
-
at as
|
|
49
|
+
am as getPlacedFieldsByType,
|
|
50
|
+
an as getPlacedSealFields,
|
|
51
|
+
ao as installFormBaseModal,
|
|
52
|
+
ap as isReverseModelingEnabled,
|
|
53
|
+
aq as openVersionDiff,
|
|
54
|
+
ar as registerExcelHostComponents,
|
|
55
|
+
as as registerExcelLocale,
|
|
56
|
+
at as scanField,
|
|
57
|
+
au as setupExcel,
|
|
58
|
+
av as useCheckItem,
|
|
57
59
|
h as useModelFields
|
|
58
60
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive, inject, provide } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { p as api, F as FIELD_TYPE, I as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
3
3
|
class MCRender {
|
|
4
4
|
/**
|
|
5
5
|
* 提示信息
|
|
@@ -55,7 +55,7 @@ class MCRender {
|
|
|
55
55
|
/**
|
|
56
56
|
* 销毁所有固定的模态
|
|
57
57
|
*/
|
|
58
|
-
//
|
|
58
|
+
// overlay 弹层按实例销毁;form-base 弹层通过其全局关闭接口清理。
|
|
59
59
|
destroyAllModals(_ownerId) {
|
|
60
60
|
throw new Error("Function destroyAllModals not implemented.");
|
|
61
61
|
}
|
|
@@ -162,7 +162,9 @@ class FormModelController {
|
|
|
162
162
|
*/
|
|
163
163
|
getFormFieldOptions(subModelKey) {
|
|
164
164
|
const fields = subModelKey ? this.getSubModelFields(subModelKey) : this.masterModel?.fields;
|
|
165
|
-
return (fields ?? []).filter(
|
|
165
|
+
return (fields ?? []).filter(
|
|
166
|
+
(field) => !this.isSystemField(field) && !this.isSubField(field) && !this.isObjectField(field)
|
|
167
|
+
).map((field) => ({
|
|
166
168
|
...field,
|
|
167
169
|
label: `${field.name}`,
|
|
168
170
|
value: `${field.modelKey}.${field.key}`
|
|
@@ -215,6 +217,10 @@ class FormModelController {
|
|
|
215
217
|
isSystemField(field) {
|
|
216
218
|
return field.createType === CreateType.SYSTEM;
|
|
217
219
|
}
|
|
220
|
+
/** 是否是对象字段类型 */
|
|
221
|
+
isObjectField(field) {
|
|
222
|
+
return field.type === FIELD_TYPE.OBJECT_TYPE;
|
|
223
|
+
}
|
|
218
224
|
/**
|
|
219
225
|
* 获取主模型里子表字段对应的子模型key
|
|
220
226
|
*
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, nextTick, watch, withCtx, withKeys, mergeProps, h, toRaw, withModifiers } from "vue";
|
|
2
2
|
import { I as Icon, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Z as FormTypeEnum, a9 as _export_sfc, aE as FormDesignEnum, p as api, K as useModal, bR as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
4
4
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import { Form } from "ant-design-vue";
|
|
8
8
|
import { VxeTable, VxeColumn } from "vxe-table";
|
|
9
|
+
var ProductTypeEnum = /* @__PURE__ */ ((ProductTypeEnum2) => {
|
|
10
|
+
ProductTypeEnum2["RAW_MATERIAL"] = "rawMaterial";
|
|
11
|
+
ProductTypeEnum2["SEMI_FINISHED_PRODUCT"] = "semiFinishedProduct";
|
|
12
|
+
ProductTypeEnum2["FINISHED_PRODUCT"] = "finishedProduct";
|
|
13
|
+
return ProductTypeEnum2;
|
|
14
|
+
})(ProductTypeEnum || {});
|
|
9
15
|
var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
|
|
10
16
|
SEARCH_SEVICE2["EQ"] = "eq";
|
|
11
17
|
SEARCH_SEVICE2["IEQ"] = "iEq";
|
|
@@ -1271,6 +1277,7 @@ export {
|
|
|
1271
1277
|
CloseOutlined as C,
|
|
1272
1278
|
EmptyImg as E,
|
|
1273
1279
|
OnlineFormModelModal as O,
|
|
1280
|
+
ProductTypeEnum as P,
|
|
1274
1281
|
SEARCH_SEVICE as S,
|
|
1275
1282
|
VersionSelect as V,
|
|
1276
1283
|
_sfc_main as _
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
|
|
2
|
-
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { j as calcText } from "./index-
|
|
7
|
+
import { j as calcText } from "./index-BPc_QQH5.js";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "pagination-design",
|
|
10
10
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-
|
|
1
|
+
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-BPc_QQH5.js";
|
|
2
2
|
async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
|
|
3
3
|
if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
|
|
4
4
|
const snapshot = await record.controller.preparePrintSnapshot(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
|
|
2
|
-
import { R as RuntimeFormStateStore,
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { R as RuntimeFormStateStore, L as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-CHY5xNLE.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-B0YWwWSA.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-BPc_QQH5.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "print-snapshot-renderer",
|
|
7
7
|
props: {
|