@gct-paas/excel 0.1.40-beta.8 → 0.1.40
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-CELRDc47.js → BaseComponent-CD_dAL9D.js} +3 -4
- package/dist/{VueVideoPlayer-CQ3WMohj.js → VueVideoPlayer-DQQlv_cp.js} +2 -2
- package/dist/{align-editor-BjxHuSxl.js → align-editor-DchzBHaC.js} +1 -1
- package/dist/{barcode-design-BDHtEF3j.js → barcode-design-BBW5cG3v.js} +2 -3
- package/dist/base/index.es.js +306 -465
- package/dist/{diagonal-design-DLxRO_uM.js → diagonal-design-CawGqmc7.js} +2 -3
- package/dist/{dynamic-table-action-C_1EGXMe.js → dynamic-table-action-Dw7AIthU.js} +942 -315
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js} +1246 -1840
- package/dist/{edit.utils-CXmmCnxE-C1w2rhHM.js → edit.utils-CXmmCnxE-B7lpVZjb.js} +1 -1
- package/dist/excel.css +4642 -3566
- package/dist/{exceljs.min-rIUD8u2M.js → exceljs.min-DDPQIUli.js} +2 -2
- package/dist/{font-editor-DWmzS_0C.js → font-editor-n8zk8Vt2.js} +3 -3
- package/dist/{image-design-Cjob0qMO.js → image-design-D4mIDz9K.js} +2 -2
- package/dist/{index--kolAY9o.js → index--MetH_r4.js} +3 -4
- package/dist/{index-DJj0H4QE.js → index-1klMDz7G.js} +2 -3
- package/dist/{index-B9a9T8if.js → index-4p1VXlOx.js} +1 -2
- package/dist/{index-DQNLZ671.js → index-B0u6FHDq.js} +6 -6
- package/dist/{index-BeYN1fxt.js → index-BMsHMGap.js} +2 -3
- package/dist/{index-nGGsFW_9.js → index-BW95iBc7.js} +2 -3
- package/dist/{index-BHxDpc-C.js → index-BWoOPv6-.js} +2 -3
- package/dist/{index-CIkhaEj4.js → index-BZ7bC20P.js} +1 -2
- package/dist/{index-CQkWk_7M.js → index-BcHwRIXW.js} +3 -4
- package/dist/{index-ByeVrxVl.js → index-Bm8wYtHB.js} +1 -2
- package/dist/{index-DiNxihKr.js → index-Boy8--Ns.js} +2 -3
- package/dist/{index-CQ0BwWRP.js → index-C-NpFAft.js} +3 -3
- package/dist/{index-CfyXGhk3.js → index-C4t8sSlN.js} +1 -2
- package/dist/{index-RV5ozdPP.js → index-CAc9drK5.js} +1 -2
- package/dist/{index-BzBMhjxB.js → index-CI6Hl1Ns.js} +1 -2
- package/dist/{index-BlLeFC1A.js → index-CXnuud67.js} +2 -3
- package/dist/{index-DdxuhIJY.js → index-CYSJt1Zc.js} +2 -3
- package/dist/{index-C-F1u_o7.js → index-Ch88zDje.js} +2 -3
- package/dist/{index-CAekmaIN.js → index-CmjTSiUa.js} +2 -3
- package/dist/{index-Refavqkv.js → index-DPf5_q0T.js} +5 -5
- package/dist/{index-Bn5H-iFV.js → index-DUztXGMj.js} +2 -3
- package/dist/{index-poil0x4K.js → index-DfFakGrF.js} +2 -3
- package/dist/{index-Bw67kX4Y.js → index-DgybKcgI.js} +2 -3
- package/dist/{index-DqomTxsG.js → index-Dh0_kanw.js} +1 -2
- package/dist/{index-2X2QGo0A.js → index-DiPWQwMU.js} +29436 -27193
- package/dist/{index-CHS101Sz.js → index-DiWzNeZJ.js} +6 -4
- package/dist/{index-U90xa0_k.js → index-Do-QyvWW.js} +2 -3
- package/dist/{index-Cn2_Yd7q.js → index-DvMu7-8y.js} +1 -2
- package/dist/{index-DxaR4DCk.js → index-H4f-e99t.js} +2 -3
- package/dist/{index-DMOi4nAC.js → index-S8Dj5ycu.js} +2 -3
- package/dist/{index-DxW-5l6p.js → index-TZy8JxSW.js} +5 -8
- package/dist/{index-BLpDtBBv.js → index-_Ec5LAW9.js} +2 -2
- package/dist/{index-w6agN1-G.js → index-gHOlYnAA.js} +1 -2
- package/dist/{index-LOpDQbHn.js → index-r0yHBje3.js} +2 -3
- package/dist/{index-BgsXETEd.js → index-r9t3crs-.js} +1 -2
- package/dist/index.es.js +10 -14
- package/dist/{mb-render-wAlqnYW9.js → mb-render-sgVmAe6_.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BLEHWjXh.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DDJetWQU.js} +1 -2
- package/dist/{pagination-design-CuM2_cOO.js → pagination-design-lckCQWcK.js} +2 -3
- package/dist/paper-widget-design-Nd5VjI7n.js +4 -0
- package/dist/{print-runtime-instance-xGsbD9K-.js → print-runtime-instance-Dckul2Bk.js} +1 -1
- package/dist/{print-snapshot-renderer-DYUY1xCI.js → print-snapshot-renderer-lub7u9sp.js} +3 -3
- package/dist/{qrcode-design-CO631M71.js → qrcode-design-M0HzGVjM.js} +1 -1
- package/dist/{revo-grid.entry-B7SWMhl1.js → revo-grid.entry-Dr4S1tgO.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BkqynH6l.js → revogr-attribution_7.entry-27u9hxgM.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DAHR-Vx9.js → revogr-clipboard_3.entry-DxjljgJl.js} +2 -2
- package/dist/{revogr-data_4.entry-CVh6lcCy.js → revogr-data_4.entry-CnSalg4D.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BBhV4Xqa.js → revogr-filter-panel.entry-CSsekbYc.js} +1 -1
- package/dist/seal-design-kuAsmNq1.js +4 -0
- package/dist/{serialnumber-design-DxGYVdk3.js → serialnumber-design-DUiLiTSj.js} +1 -1
- package/dist/shared/index.es.js +25 -25
- package/dist/{single-field-drop-DpHqYP0Z.js → single-field-drop-CF_r0dCX.js} +2 -2
- package/dist/{size-editor-D0jQ3Lrf.js → size-editor-DNMqRicI.js} +1 -1
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +1 -37
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -3
- 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/domain/table/design/autofill-expander.d.ts +0 -2
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +0 -6
- package/dist/src/domain/table/index.d.ts +1 -1
- package/dist/src/domain/table/types.d.ts +0 -2
- package/dist/src/index.d.ts +0 -8
- 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/profile-driven-sub-table-core.d.ts +3 -3
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +2 -1
- 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 +17 -14
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -0
- package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +3 -1
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +7 -3
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +1 -7
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +2 -8
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +6 -46
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -21
- package/dist/src/nocode-base/src/interface/ref-loader.d.ts +1 -12
- package/dist/src/nocode-base/src/interface/transform.d.ts +5 -0
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -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-field-initializer.d.ts +0 -1
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +2 -5
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -5
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +2 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +0 -4
- package/dist/src/online-form/src/components/device/device-select.vue.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/quick-search-editor/quick-search.util.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +0 -1
- package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +35 -124
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +16 -63
- 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 -6
- 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 -5
- 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_/_base_/cell/cell-media.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useReferenceLabel.d.ts +4 -0
- package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +2 -162
- package/dist/src/shared/components/Signature/logic/index.d.ts +0 -14
- package/dist/src/shared/enum/field-type.d.ts +2 -7
- package/dist/src/shared/utils/cell-wrap.d.ts +9 -0
- package/dist/src/shared/utils/field-size.d.ts +2 -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-dhsoO5eF.js → sub-table-factory-D-GcNTOB.js} +112 -209
- package/dist/{text-design-CCJVszh9.js → text-design-BfZf4B27.js} +5 -5
- package/dist/{throttle-Cpk1LoGk-D7Z-44El.js → throttle-Cpk1LoGk-B4SDzSMU.js} +1 -1
- package/dist/{timediff-design-DE0Lb5-J.js → timediff-design-BeO94tLR.js} +1 -2
- package/dist/{trace-like-wrapper-u1qMVyxo.js → trace-like-wrapper-Xc4cr21n.js} +5 -3
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BDK70sFY.js → value-editor.vue_vue_type_style_index_0_lang-CMpVHBLK.js} +2 -3
- package/dist/web-render/index.es.js +3 -4
- package/dist/{widget-barcode-BiqBkpJf.js → widget-barcode-CrfBj8iv.js} +4 -5
- package/dist/{widget-diagonal-DEPOR_xL.js → widget-diagonal-C3Nho_Um.js} +3 -4
- package/dist/{widget-image-CT0b6oE3.js → widget-image-CjsL9QW8.js} +5 -5
- package/dist/{widget-line-CencIyCA.js → widget-line-BtvpVv_s.js} +2 -3
- package/dist/{widget-pagination-CLokA4N9.js → widget-pagination-DAUQo2nI.js} +5 -6
- package/dist/{widget-power-BPxteor_.js → widget-power-yUHZ4Hoc.js} +3 -4
- package/dist/{widget-qrcode-gYHAR233.js → widget-qrcode-DJtT9NaM.js} +3 -4
- package/dist/{widget-rangelimit-BJKYDkcT.js → widget-rangelimit-BhadVdCu.js} +3 -3
- package/dist/{widget-serialnumber-BCPB7hqo.js → widget-serialnumber-WMHB8nl6.js} +1 -1
- package/dist/{widget-text-D_CGo-mQ.js → widget-text-C4dD9JF3.js} +5 -5
- package/dist/{widget-timediff-cBekBImJ.js → widget-timediff-C9d8_3hY.js} +2 -3
- package/package.json +2 -2
- package/dist/paper-widget-design-OVR0zocz.js +0 -4
- package/dist/seal-design-BnXd0buM.js +0 -4
- package/dist/src/domain/document-business/business/product-release/profile.d.ts +0 -2
- package/dist/src/domain/document-business/business/product-release/service.d.ts +0 -2
- package/dist/src/domain/document-business/index.d.ts +0 -2
- package/dist/src/domain/document-business/registry.d.ts +0 -2
- package/dist/src/domain/document-business/runtime/field-query-runtime.d.ts +0 -4
- package/dist/src/domain/document-business/types.d.ts +0 -24
- package/dist/src/domain/field/number/product-release-qty-manifest.d.ts +0 -2
- package/dist/src/domain/field/query-filter.d.ts +0 -15
- package/dist/src/domain/table/business/material/material-substitution/runtime/select-loaders.d.ts +0 -8
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +0 -2
- package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +0 -19
- package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +0 -4
- package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -45
- package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +0 -3
- package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +0 -9
- package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +0 -7
- package/dist/src/shared/components/LimitedNumberInput/limited-number-input.vue.d.ts +0 -41
- package/dist/src/shared/components/LimitedNumberInput/number-input-rules.d.ts +0 -16
- package/dist/src/shared/utils/withRequestCache.d.ts +0 -27
|
@@ -1,11 +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-DEjLEs33.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
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-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.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-DiPWQwMU.js";
|
|
9
8
|
class Select extends BaseComponent {
|
|
10
9
|
component = ComponentTypeEnum.Select;
|
|
11
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -29,6 +28,9 @@ class Select extends BaseComponent {
|
|
|
29
28
|
];
|
|
30
29
|
}
|
|
31
30
|
if (isSubtableMfgOrder) {
|
|
31
|
+
if (!["pretreatment-list", "PRETREATMENT_LIST"].includes(data.info.subModelType ?? "")) {
|
|
32
|
+
return [{ key: "code_", name: $t("sys.edhr.field.code") }];
|
|
33
|
+
}
|
|
32
34
|
return [
|
|
33
35
|
{ key: "code_", name: $t("sys.edhr.field.code") },
|
|
34
36
|
{ key: "product_id_name_", name: "产品名称" },
|
|
@@ -1,10 +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-DEjLEs33.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.js";
|
|
8
7
|
class UploadFile extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.UploadFile;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE,
|
|
1
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, cM as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
6
|
class SubTable {
|
|
8
7
|
component = ComponentTypeEnum.SUB_TABLE;
|
|
@@ -1,10 +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, az 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-DEjLEs33.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.js";
|
|
8
7
|
class Sign extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.Sign;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +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-DEjLEs33.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.js";
|
|
8
7
|
class Userpicker extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.Userpicker;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
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-DiPWQwMU.js";
|
|
3
|
+
import { j as isCellAutoLineBreak } from "./dynamic-table-action-Dw7AIthU.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-DEjLEs33.js";
|
|
4
5
|
import "vue";
|
|
5
6
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
8
|
class Td {
|
|
9
9
|
component = "td";
|
|
@@ -11,7 +11,7 @@ class Td {
|
|
|
11
11
|
const cmp = {
|
|
12
12
|
props: {
|
|
13
13
|
...pick(data.attrs ?? {}, ["colspan", "rowspan"]),
|
|
14
|
-
autoLineBreak:
|
|
14
|
+
autoLineBreak: isCellAutoLineBreak(data.style),
|
|
15
15
|
sourceBorderAttrs: ["cbt", "cbr", "cbb", "cbl", "bold"].filter((key) => data[key])
|
|
16
16
|
},
|
|
17
17
|
style: { ...pick(data.style, "backgroundColor") },
|
|
@@ -19,9 +19,6 @@ class Td {
|
|
|
19
19
|
xAutoMerge: data.xAutoMerge || false,
|
|
20
20
|
fillDirection: data.fillDirection || void 0
|
|
21
21
|
};
|
|
22
|
-
if (!isEmpty(data.style) && has(data.style, "whiteSpace") && has(data.style, "wordBreak") && data.style.whiteSpace === "pre-wrap" && data.style.wordBreak === "break-all") {
|
|
23
|
-
cmp.props.autoLineBreak = true;
|
|
24
|
-
}
|
|
25
22
|
const fixedTableFieldMap = dataCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap;
|
|
26
23
|
let config = data;
|
|
27
24
|
if (has(data, "cellRef") && data.cellRef && data.subTableType === "CHECK" && fixedTableFieldMap[data.cellRef]) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as api, a7 as _export_sfc, cs as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, c3 as getParseRuleConfig, aU as renderUtils, bn as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.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-sgVmAe6_.js";
|
|
7
7
|
import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
|
|
8
8
|
import { VxeGrid } from "vxe-table";
|
|
9
9
|
const uploadApis = {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
6
|
const PageSize2FormatOpt = {
|
|
8
7
|
[PageSizeEnum.A3]: [297, 420],
|
|
@@ -1,10 +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-DEjLEs33.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.js";
|
|
8
7
|
class DateTimepicker extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.DateTimepicker;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,8 @@
|
|
|
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-DEjLEs33.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import "ant-design-vue";
|
|
8
7
|
class Serialnumber {
|
|
9
8
|
component = ComponentTypeEnum.Serialnumber;
|
package/dist/index.es.js
CHANGED
|
@@ -1,6 +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,
|
|
2
|
-
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
3
|
-
import { DataSources } from "@gct-paas/form-base";
|
|
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-DiPWQwMU.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DDJetWQU.js";
|
|
4
3
|
export {
|
|
5
4
|
G as AiTmplEditor,
|
|
6
5
|
H as AiTmplModal,
|
|
@@ -16,7 +15,6 @@ export {
|
|
|
16
15
|
X as CellWidgetRenderComp,
|
|
17
16
|
Y as CodeHelper,
|
|
18
17
|
Z as ContextMenu,
|
|
19
|
-
DataSources,
|
|
20
18
|
$ as DesignMode,
|
|
21
19
|
a0 as DomParser,
|
|
22
20
|
a1 as EXCEL_PACKAGE_NAME,
|
|
@@ -46,15 +44,13 @@ export {
|
|
|
46
44
|
aj as XlsxParser,
|
|
47
45
|
ak as calcUsedFields,
|
|
48
46
|
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
|
|
57
|
-
au as setupExcel,
|
|
58
|
-
av as useCheckItem,
|
|
47
|
+
am as installFormBaseModal,
|
|
48
|
+
an as isReverseModelingEnabled,
|
|
49
|
+
ao as openVersionDiff,
|
|
50
|
+
ap as registerExcelHostComponents,
|
|
51
|
+
aq as registerExcelLocale,
|
|
52
|
+
ar as scanField,
|
|
53
|
+
as as setupExcel,
|
|
54
|
+
at as useCheckItem,
|
|
59
55
|
h as useModelFields
|
|
60
56
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive, inject, provide } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { E as api, F as FIELD_TYPE, H as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
3
3
|
class MCRender {
|
|
4
4
|
/**
|
|
5
5
|
* 提示信息
|
|
@@ -1,9 +1,8 @@
|
|
|
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 { X as FormTypeEnum, a7 as _export_sfc, aA as FormDesignEnum, E as api, J as useModal, bE as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
4
4
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import { Form } from "ant-design-vue";
|
|
8
7
|
import { VxeTable, VxeColumn } from "vxe-table";
|
|
9
8
|
var ProductTypeEnum = /* @__PURE__ */ ((ProductTypeEnum2) => {
|
|
@@ -1,10 +1,9 @@
|
|
|
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-DEjLEs33.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { j as calcText } from "./index-
|
|
6
|
+
import { j as calcText } from "./index-DiPWQwMU.js";
|
|
8
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
8
|
__name: "pagination-design",
|
|
10
9
|
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-DiPWQwMU.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 {
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { W as RuntimeFormStateStore, Y as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-Dw7AIthU.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-D-GcNTOB.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-DiPWQwMU.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "print-snapshot-renderer",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-
|
|
2
|
+
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-DiPWQwMU.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d7 as registerInstance, d8 as createEvent, d9 as getColumnByProp, da as timeout, db as getVisibleSourceItem, dc as getColumns, dd as rowTypes, de as GroupingRowPlugin, df as StretchColumn, dg as isStretchPlugin, dh as AutoSizeColumnPlugin, di as FilterPlugin, dj as ExportFilePlugin, dk as SortingPlugin, dl as ColumnMovePlugin, dm as ThemeService, dn as h, dp as Host, dq as getElement, dr as BasePlugin, ds as reduce, dt as columnTypes, du as debounce, dv as RESIZE_INTERVAL, dw as DimensionStore, dx as gatherTrimmedItems, dy as getColumnSizes, dz as getItemByIndex, dA as DataStore, dB as getSourceItem, dC as getSourceItemVirtualIndexByProp, dD as getColumnType, dE as setSourceByPhysicalIndex, dF as setSourceByVirtualIndex, dG as SelectionStore, dH as cropCellToMax, dI as nextCell, dJ as isRowType, dK as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
2
2
|
import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
3
3
|
import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
4
4
|
class ColumnDataProvider {
|
package/dist/{revogr-attribution_7.entry-BkqynH6l.js → revogr-attribution_7.entry-27u9hxgM.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d7 as registerInstance, dn as h, dp as Host, d8 as createEvent, dB as getSourceItem, dq as getElement, dP as ColumnService, dQ as MOBILE_CLASS, dR as SELECTION_BORDER_CLASS, dS as getCellData, dT as getCellEditor, dU as getRange, dV as isRangeSingleCell, dW as codesLetter, dK as ViewportStore, dA as DataStore, dX as calculateRowHeaderSize, dY as ROW_HEADER_TYPE, dZ as getScrollbarSize, d_ as FOCUS_CLASS, dz as getItemByIndex, da as timeout, d$ as CELL_HANDLER_CLASS, du as debounce, e0 as TMP_SELECTION_BG_CLASS, dv as RESIZE_INTERVAL, e1 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
2
2
|
import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
3
|
-
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-
|
|
3
|
+
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-B7lpVZjb.js";
|
|
4
4
|
import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
5
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
5
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-B4SDzSMU.js";
|
|
6
6
|
const Attribution = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-
|
|
1
|
+
import { da as timeout, d7 as registerInstance, d8 as createEvent, dn as h, e2 as EDIT_INPUT_WR, dp as Host, dq as getElement, du as debounce, e5 as DRAGG_TEXT, dB as getSourceItem, e1 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-B7lpVZjb.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
1
|
+
import { e6 as PSEUDO_GROUP_ITEM, e7 as GROUP_EXPANDED, e8 as GROUP_DEPTH, dn as h, e9 as GROUP_EXPAND_BTN, ea as DATA_ROW, dB as getSourceItem, eb as isGroupingColumn, ec as GROUP_COLUMN_PROP, ed as getCellRaw, ee as DATA_COL, ef as CELL_CLASS, eg as Build, eh as isRowDragService, ei as DRAG_ICON_CLASS, ej as DRAGGABLE_CLASS, ek as getCellDataParsed, el as GROUP_EXPAND_EVENT, d7 as registerInstance, d8 as createEvent, dP as ColumnService, em as isGrouping, dp as Host, dq as getElement, dz as getItemByIndex, en as HEADER_ROW_CLASS, eo as HEADER_ACTUAL_ROW_CLASS, ep as ROW_FOCUSED_CLASS, eq as HEADER_SORTABLE_CLASS, er as MIN_COL_SIZE, d_ as FOCUS_CLASS, es as FilterButton, et as HeaderCellRenderer, eu as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-B4SDzSMU.js";
|
|
3
3
|
import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
4
4
|
const SortingSign = ({ column }) => {
|
|
5
5
|
var _a;
|
package/dist/{revogr-filter-panel.entry-BBhV4Xqa.js → revogr-filter-panel.entry-CSsekbYc.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d7 as registerInstance, d8 as createEvent, du as debounce, dn as h, dL as AndOrButton, dM as ReorderButton, dN as TrashButton, dO as isFilterBtn, dp as Host, dq as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
3
3
|
const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "serialnumber-design",
|
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O, _, P, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
1
|
+
import { aF, aB, q, ct, H, aG, aH, cu, aq, as, F, V, ac, G, aA, bh, a_, cv, ar, T, cw, U, W, bi, a8, R } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
2
|
+
import { O, _, P, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DDJetWQU.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -49,43 +49,43 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
49
49
|
return GctMqttTopsEnum2;
|
|
50
50
|
})(GctMqttTopsEnum || {});
|
|
51
51
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
aF as ASSIGNMENTSTRATEGY_ENUM,
|
|
53
|
+
aB as BASIC_FIELD_TYPES,
|
|
54
|
+
q as BUSINESS_FIELD_TYPES,
|
|
55
55
|
ButtonOpeEnum,
|
|
56
56
|
ButtonSize,
|
|
57
57
|
ButtonStyle,
|
|
58
58
|
ButtonType,
|
|
59
59
|
ButtonType_vant,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
ct as CardControlEnum,
|
|
61
|
+
H as CreateType,
|
|
62
|
+
aG as Dependency_ENUM,
|
|
63
|
+
aH as EntityModelCategoryEnum,
|
|
64
|
+
cu as EntityModelTypeEnum,
|
|
65
|
+
aq as ExpressionModeEnum,
|
|
66
|
+
as as ExpressionTabEnum,
|
|
67
67
|
F as FIELD_TYPE,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
V as FieldDefaultValueTypeEnum,
|
|
69
|
+
ac as FieldIconMap,
|
|
70
|
+
G as FieldTypeToJs,
|
|
71
|
+
aA as FormDesignEnum,
|
|
72
|
+
bh as FormulaRuleFieldKeyEnum,
|
|
73
73
|
GctMqttTopsEnum,
|
|
74
74
|
O as OnlineFormModelModal,
|
|
75
75
|
_ as OnlineFormModelSelect,
|
|
76
76
|
Platform,
|
|
77
77
|
P as ProductTypeEnum,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
a_ as ProductionIdentificationTypeEnum,
|
|
79
|
+
cv as RecordNoGenerateEnum,
|
|
80
|
+
ar as ReturnTypeEnum,
|
|
81
81
|
S as SEARCH_SEVICE,
|
|
82
82
|
SignatureTypeEnum,
|
|
83
83
|
T as TRACE_FIELD_TYPES,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
cw as TagTypeEnum,
|
|
85
|
+
U as UniqueConstraintType,
|
|
86
86
|
V2 as VersionSelect,
|
|
87
87
|
W as WAREHOUSE_FIELD_TYPES,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
bi as formulaRuleFieldDict,
|
|
89
|
+
a8 as normalizeFieldType,
|
|
90
|
+
R as onlineFormMasterModelTypeEnum
|
|
91
91
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-
|
|
4
|
-
import {
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-DiPWQwMU.js";
|
|
4
|
+
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts
CHANGED
|
@@ -26,12 +26,8 @@ export declare const F: {
|
|
|
26
26
|
readonly targetMaterialNo: "target_material_no_";
|
|
27
27
|
/** 替换物料批号 ID */
|
|
28
28
|
readonly targetMaterialNoId: "target_material_no__id_";
|
|
29
|
-
/** 替换物料批号展示值 */
|
|
30
|
-
readonly targetMaterialNoLb: "target_material_no__lb_";
|
|
31
29
|
/** 替换物料 */
|
|
32
30
|
readonly targetProduct: "target_product_id_";
|
|
33
|
-
/** 替换物料展示值 */
|
|
34
|
-
readonly targetProductLb: "target_product_id__lb_";
|
|
35
31
|
/** 替换物料名称 */
|
|
36
32
|
readonly targetProductName: "target_product_id_name_";
|
|
37
33
|
/** 替换物料编码 */
|
|
@@ -46,66 +42,34 @@ export type MaterialSubstitutionFieldKey = (typeof F)[keyof typeof F];
|
|
|
46
42
|
export declare const DISABLED_INPUT_FIELDS: readonly ["source_material_no_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
|
|
47
43
|
export declare const CLEAR_ON_SOURCE_PRODUCT_EMPTY: readonly ["source_material_no_", "source_material_no__lb_", "source_product_id__lb_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_"];
|
|
48
44
|
/** 替换物料批号清空 / 手输时需清空的物料字段 */
|
|
49
|
-
export declare const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY: readonly ["
|
|
45
|
+
export declare const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY: readonly ["target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
|
|
50
46
|
/** 历史消耗选项 → 被替换物料行字段 */
|
|
51
47
|
export declare const FILL_FROM_SOURCE_PRODUCT_OPTION: readonly [{
|
|
52
48
|
readonly optionField: "material_name_";
|
|
53
49
|
readonly toField: "source_material_no_";
|
|
54
|
-
readonly name: "物料批号";
|
|
55
50
|
}, {
|
|
56
51
|
readonly optionField: "product_id_.name_";
|
|
57
52
|
readonly toField: "source_product_id_name_";
|
|
58
|
-
readonly name: "物料名称";
|
|
59
53
|
}, {
|
|
60
54
|
readonly optionField: "product_id_.code_";
|
|
61
55
|
readonly toField: "source_product_id_code_";
|
|
62
|
-
readonly name: "物料编码";
|
|
63
56
|
}, {
|
|
64
57
|
readonly optionField: "product_id_.spec_";
|
|
65
58
|
readonly toField: "source_product_id_spec_";
|
|
66
|
-
readonly name: "物料规格";
|
|
67
59
|
}, {
|
|
68
60
|
readonly optionField: "qty_consumed_";
|
|
69
61
|
readonly toField: "source_qty_consumed_";
|
|
70
|
-
readonly name: "已消耗数量";
|
|
71
62
|
}];
|
|
72
63
|
/** 替换物料批号选项 → 替换物料信息 */
|
|
73
64
|
export declare const FILL_FROM_TARGET_MATERIAL_NO_OPTION: readonly [{
|
|
74
|
-
readonly optionField: "product_id_";
|
|
75
|
-
readonly toField: "target_product_id_";
|
|
76
|
-
readonly name: "物料";
|
|
77
|
-
}, {
|
|
78
65
|
readonly optionField: "product_id_name_";
|
|
79
66
|
readonly toField: "target_product_id_name_";
|
|
80
|
-
readonly name: "物料名称";
|
|
81
67
|
}, {
|
|
82
68
|
readonly optionField: "product_id_code_";
|
|
83
69
|
readonly toField: "target_product_id_code_";
|
|
84
|
-
readonly name: "物料编码";
|
|
85
70
|
}, {
|
|
86
71
|
readonly optionField: "product_id_spec_";
|
|
87
72
|
readonly toField: "target_product_id_spec_";
|
|
88
|
-
readonly name: "物料规格";
|
|
89
73
|
}];
|
|
90
74
|
/** SN / 工序不影响扫码结果能否复用当前空行。 */
|
|
91
75
|
export declare const SCAN_ROW_CONTENT_FIELDS: readonly ["source_material_no_", "source_product_id_", "target_material_no_", "target_product_id_"];
|
|
92
|
-
/** LOT/SN 选项 → 替换物料行字段;替换数量保留用户输入。 */
|
|
93
|
-
export declare const FILL_FROM_TARGET_PRODUCT_OPTION: readonly [{
|
|
94
|
-
readonly optionField: "name_";
|
|
95
|
-
readonly toField: "target_material_no_";
|
|
96
|
-
readonly name: "物料批号";
|
|
97
|
-
}, {
|
|
98
|
-
readonly optionField: "product_id_name_";
|
|
99
|
-
readonly toField: "target_product_id_name_";
|
|
100
|
-
readonly name: "物料名称";
|
|
101
|
-
}, {
|
|
102
|
-
readonly optionField: "product_id_code_";
|
|
103
|
-
readonly toField: "target_product_id_code_";
|
|
104
|
-
readonly name: "物料编码";
|
|
105
|
-
}, {
|
|
106
|
-
readonly optionField: "product_id_spec_";
|
|
107
|
-
readonly toField: "target_product_id_spec_";
|
|
108
|
-
readonly name: "物料规格";
|
|
109
|
-
}];
|
|
110
|
-
/** 替换物料清空时同步清除批次、物料信息和数量。 */
|
|
111
|
-
export declare const CLEAR_ON_TARGET_PRODUCT_EMPTY: readonly ["target_product_id__lb_", "target_material_no_", "target_material_no__id_", "target_material_no__lb_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_", "target_qty_consumed_"];
|
|
@@ -51,7 +51,7 @@ export declare const CLEAR_ON_MATERIAL_CONTAINER_SELECT: readonly ["production_c
|
|
|
51
51
|
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
52
52
|
/** 相关字段变更时需重算物料禁用态 */
|
|
53
53
|
export declare const PRODUCT_EDITABILITY_WATCH: readonly ["material_container_no_", "material_container_no__id_", "mfg_order_id_", "production_container_id_"];
|
|
54
|
-
/** 生产批次 /
|
|
54
|
+
/** 生产批次 / 物料批选项回填:仅带出工单号,工单选择项保持互斥 */
|
|
55
55
|
export declare const FILL_FROM_CONTAINER_OPTION: readonly [{
|
|
56
56
|
readonly optionField: "product_id_";
|
|
57
57
|
readonly toField: "product_id_";
|
|
@@ -64,9 +64,6 @@ export declare const FILL_FROM_CONTAINER_OPTION: readonly [{
|
|
|
64
64
|
}, {
|
|
65
65
|
readonly optionField: "product_id_spec_";
|
|
66
66
|
readonly toField: "product_id_spec_";
|
|
67
|
-
}, {
|
|
68
|
-
readonly optionField: "mfg_order_id_";
|
|
69
|
-
readonly toField: "mfg_order_id_";
|
|
70
67
|
}, {
|
|
71
68
|
readonly optionField: "mfg_order_code_";
|
|
72
69
|
readonly toField: "mfg_order_code_";
|
|
@@ -127,9 +124,6 @@ export declare const fillFromOption: readonly [{
|
|
|
127
124
|
}, {
|
|
128
125
|
readonly optionField: "product_id_spec_";
|
|
129
126
|
readonly toField: "product_id_spec_";
|
|
130
|
-
}, {
|
|
131
|
-
readonly optionField: "mfg_order_id_";
|
|
132
|
-
readonly toField: "mfg_order_id_";
|
|
133
127
|
}, {
|
|
134
128
|
readonly optionField: "mfg_order_code_";
|
|
135
129
|
readonly toField: "mfg_order_code_";
|
|
@@ -4,8 +4,6 @@ import { AutofillTemplate } from '../types';
|
|
|
4
4
|
* @example product_id_ → product_id → product_id_name_
|
|
5
5
|
*/
|
|
6
6
|
export declare function normalizeRefFieldKey(fieldKey: string): string;
|
|
7
|
-
/** 将 AutofillTemplate 中的 toField 解析为字符串 */
|
|
8
|
-
export declare function resolveAutofillToField(template: AutofillTemplate, sourceFieldKey: string): string;
|
|
9
7
|
interface ExpandAutofillContext {
|
|
10
8
|
/** 拖入的源字段 key,如 product_id_ */
|
|
11
9
|
sourceFieldKey: string;
|
|
@@ -6,12 +6,6 @@ interface ApplyFieldProfileInput {
|
|
|
6
6
|
/** 子表 SubTableType 或业务子模型 refModelType */
|
|
7
7
|
subModelType?: string;
|
|
8
8
|
}
|
|
9
|
-
/** 设计态展示用的内置填充映射,与拖入字段时写入的模板共用一份 Profile。 */
|
|
10
|
-
export declare function getBuiltInAutofillRules(field: ApplyFieldProfileInput): {
|
|
11
|
-
fromField: string;
|
|
12
|
-
toField: string;
|
|
13
|
-
fromFieldLabel: string | undefined;
|
|
14
|
-
}[];
|
|
15
9
|
/**
|
|
16
10
|
* 按子表类型 + 字段 key 应用 Profile,返回合并后的 widget 配置片段
|
|
17
11
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { getBusinessRibbonMenuGroups, getDataRibbonMenuItems } from './design/ribbon-options';
|
|
2
2
|
export { resolveSubTableCreate, resolvePanelTypeByTableType } from './design/create-subtable';
|
|
3
|
-
export { applyFieldProfileOnAttach
|
|
3
|
+
export { applyFieldProfileOnAttach } from './design/hooks/on-field-attach';
|
|
4
4
|
export { SUB_TABLE_PANEL_TYPE_NAME, isDynamicSubTablePanelType, isFixedSubTablePanelType, isRepeatingSubTablePanelType, } from './design/panel-type';
|
|
5
5
|
export { resolveDesignPanelFeatures, BIZ_TABLE_CONFIG_SEED_TYPES } from './design/panel-features';
|
|
6
6
|
export { resolveTableLabelKey } from './design/label';
|
|
@@ -44,8 +44,6 @@ export interface ContextAssignmentDef {
|
|
|
44
44
|
/** 数据填充模板:拖入关联字段时展开为 autofillRules(设计态消费) */
|
|
45
45
|
export interface AutofillTemplate {
|
|
46
46
|
fromField: string;
|
|
47
|
-
/** 自定义选项数据源中的字段名称;设计态展示内置规则时使用 */
|
|
48
|
-
fromFieldLabel?: string;
|
|
49
47
|
toField: string | ((ctx: {
|
|
50
48
|
sourceFieldKey: string;
|
|
51
49
|
}) => string);
|