@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,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } 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 { F as FormItem, y as PaginationFormatOptions } from "./index-
|
|
8
|
-
import { S as SizeEditor } from "./size-editor-
|
|
9
|
-
import { A as AlignEditor } from "./align-editor-
|
|
10
|
-
import { F as FontEditor } from "./font-editor-
|
|
6
|
+
import { F as FormItem, y as PaginationFormatOptions } from "./index-DiPWQwMU.js";
|
|
7
|
+
import { S as SizeEditor } from "./size-editor-DNMqRicI.js";
|
|
8
|
+
import { A as AlignEditor } from "./align-editor-DchzBHaC.js";
|
|
9
|
+
import { F as FontEditor } from "./font-editor-n8zk8Vt2.js";
|
|
11
10
|
const _hoisted_1 = { class: "pl-6px" };
|
|
12
11
|
const _hoisted_2 = { class: "pl-6px" };
|
|
13
12
|
const DefaultCustomFormat = "Page ${no} / ${total}";
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
2
|
+
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-DiPWQwMU.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CF_r0dCX.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
|
-
import { F as FIELD_TYPE,
|
|
5
|
+
import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "dayjs";
|
|
9
|
-
import "@gct-paas/form-base";
|
|
10
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
10
|
__name: "widget-power",
|
|
12
11
|
props: {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import {
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-DiPWQwMU.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CMpVHBLK.js";
|
|
4
|
+
import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
|
-
import "@gct-paas/form-base";
|
|
8
7
|
import "ant-design-vue";
|
|
9
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
9
|
__name: "widget-qrcode",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
2
|
+
import { F as FormItem } from "./index-DiPWQwMU.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CF_r0dCX.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
|
-
import { F as FIELD_TYPE,
|
|
5
|
+
import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "widget-rangelimit",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
2
|
+
import { F as FormItem } from "./index-DiPWQwMU.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "widget-serialnumber",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { S as SizeEditor } from "./size-editor-
|
|
5
|
-
import { A as AlignEditor } from "./align-editor-
|
|
6
|
-
import { F as FontEditor } from "./font-editor-
|
|
2
|
+
import { u as useSpreadSheet, F as FormItem } from "./index-DiPWQwMU.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CMpVHBLK.js";
|
|
4
|
+
import { S as SizeEditor } from "./size-editor-DNMqRicI.js";
|
|
5
|
+
import { A as AlignEditor } from "./align-editor-DchzBHaC.js";
|
|
6
|
+
import { F as FontEditor } from "./font-editor-n8zk8Vt2.js";
|
|
7
7
|
const _hoisted_1 = { class: "pl-6px" };
|
|
8
8
|
const _hoisted_2 = { class: "pl-6px" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-
|
|
3
|
-
import { F as FIELD_TYPE,
|
|
2
|
+
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-DiPWQwMU.js";
|
|
3
|
+
import { F as FIELD_TYPE, aj as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import "ant-design-vue";
|
|
8
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
8
|
__name: "widget-timediff",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/excel",
|
|
3
|
-
"version": "0.1.40
|
|
3
|
+
"version": "0.1.40",
|
|
4
4
|
"description": "GCT Excel online form rendering",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@ant-design/icons-vue": "^6.1.0",
|
|
51
51
|
"@gct-paas/core": "0.1.6-dev.41",
|
|
52
|
-
"@gct-paas/form-base": "0.1.
|
|
52
|
+
"@gct-paas/form-base": "0.1.6",
|
|
53
53
|
"@gct-paas/scss": "0.1.6-dev.41",
|
|
54
54
|
"@panzoom/panzoom": "^4.6.2",
|
|
55
55
|
"@revolist/vue3-datagrid": "^4.24.2",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { FieldQueryFilter } from '../../field/query-filter';
|
|
2
|
-
import { BusinessFieldQueryContext } from '../types';
|
|
3
|
-
/** 按业务场景与字段匹配规则;规则失败时保留原查询,失败结果不进入缓存。 */
|
|
4
|
-
export declare function resolveBusinessFieldFilters(context: BusinessFieldQueryContext): Promise<FieldQueryFilter[]>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { FIELD_TYPE } from '../../shared/enum';
|
|
2
|
-
import { FieldQueryFilter } from '../field/query-filter';
|
|
3
|
-
/** detail 业务类型、实例参数与当前查询字段;业务规则无需依赖组件。 */
|
|
4
|
-
export interface BusinessFieldQueryContext {
|
|
5
|
-
businessType?: string;
|
|
6
|
-
paramsConfig: Readonly<Record<string, unknown>>;
|
|
7
|
-
fieldType?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface BusinessFieldQueryRule {
|
|
10
|
-
id: string;
|
|
11
|
-
match: {
|
|
12
|
-
fieldType: FIELD_TYPE;
|
|
13
|
-
};
|
|
14
|
-
/** 声明结果缓存的依赖参数,由 Runtime 统一执行缓存和请求去重。 */
|
|
15
|
-
cache?: {
|
|
16
|
-
key: (context: BusinessFieldQueryContext) => unknown;
|
|
17
|
-
ttlMs?: number;
|
|
18
|
-
};
|
|
19
|
-
resolveFilters: (context: BusinessFieldQueryContext) => Promise<readonly FieldQueryFilter[]>;
|
|
20
|
-
}
|
|
21
|
-
export interface DocumentBusinessProfile {
|
|
22
|
-
businessType: string;
|
|
23
|
-
fieldQueries: readonly BusinessFieldQueryRule[];
|
|
24
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** 下拉接口使用的查询结构,与渲染组件解耦。 */
|
|
2
|
-
export interface FieldQuery {
|
|
3
|
-
queryData?: Record<string, unknown>;
|
|
4
|
-
exp?: string;
|
|
5
|
-
}
|
|
6
|
-
/** 空 values 明确表示无候选,空条件列表表示不追加过滤。 */
|
|
7
|
-
export interface FieldQueryFilter {
|
|
8
|
-
field: string;
|
|
9
|
-
operator: 'in';
|
|
10
|
-
values: readonly string[];
|
|
11
|
-
}
|
|
12
|
-
/** 空 in 可能被接口视为不筛选,使用占位值表达无候选。 */
|
|
13
|
-
export declare const EMPTY_QUERY_VALUE = "__excel_no_matching_query_value__";
|
|
14
|
-
/** 附加条件统一按 AND 合并;同字段 IN 条件取交集,保留已有搜索表达式。 */
|
|
15
|
-
export declare function mergeQueryFilters(query: FieldQuery, filters: readonly FieldQueryFilter[]): FieldQuery;
|
package/dist/src/domain/table/business/material/material-substitution/runtime/select-loaders.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RefCustomLoader } from '../../../../../../nocode-base/src/interface/ref-loader';
|
|
2
|
-
export declare function flattenMaterialConsumeRecord(item: Record<string, any>): Record<string, any>;
|
|
3
|
-
/** 同一条选中记录的批次名称、ID 和展示名必须一起回填。 */
|
|
4
|
-
export declare function buildTargetMaterialSelectionPatch(record: Record<string, any>): Record<string, unknown>;
|
|
5
|
-
/** 历史消耗只使用当前行生产 SN,未选、LOT 或无法确认类型时阻断查询。 */
|
|
6
|
-
export declare function createMaterialConsumeHistoryLoader(rowData: Record<string, any>, fieldName?: string): RefCustomLoader;
|
|
7
|
-
/** 替换料从 LOT/SN 选择,保存产品 ID,批次身份由行内批号字段保存。 */
|
|
8
|
-
export declare function createTargetMaterialLoader(rowData: Record<string, any>): RefCustomLoader;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/** 备件业务表的自定义选项字段不一定存在于关联模型元数据中。 */
|
|
2
|
-
export declare const PART_OPTION_FIELD_LABELS: {
|
|
3
|
-
readonly part_name_: "备件名称";
|
|
4
|
-
readonly part_code_: "备件编码";
|
|
5
|
-
readonly specification_: "备件规格";
|
|
6
|
-
readonly unit_: "数量单位";
|
|
7
|
-
};
|
|
8
|
-
export declare const INVENTORY_OPTION_FIELD_LABELS: {
|
|
9
|
-
readonly id_: "库存记录";
|
|
10
|
-
readonly part_id_name_: "备件名称";
|
|
11
|
-
readonly part_id_code_: "备件编码";
|
|
12
|
-
readonly part_id_spec_: "备件规格";
|
|
13
|
-
readonly warehouse_id_: "仓库";
|
|
14
|
-
readonly storage_zone_id_: "库区";
|
|
15
|
-
readonly location_id_: "库位";
|
|
16
|
-
readonly uom_id_: "数量单位";
|
|
17
|
-
readonly validate_: "有效期";
|
|
18
|
-
readonly stock_num_: "库存数量";
|
|
19
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface FormulaParam {
|
|
2
|
-
customFieldKey: string;
|
|
3
|
-
lowerLimit?: number | string | null;
|
|
4
|
-
upperLimit?: number | string | null;
|
|
5
|
-
}
|
|
6
|
-
export declare const currentParamsConfig: {
|
|
7
|
-
readonly routingParamList: FormulaParam[];
|
|
8
|
-
readonly inspectionParamList: FormulaParam[];
|
|
9
|
-
readonly deviceParamList: FormulaParam[];
|
|
10
|
-
};
|
|
11
|
-
/** Excel、Word 共用参数;空配置也要覆盖旧值。 */
|
|
12
|
-
export declare function setFormulaParamsConfig(paramsConfig?: Record<string, any> | null): void;
|
|
13
|
-
/** 随应用绑定一次失效通知,不包装或替换宿主计算函数。 */
|
|
14
|
-
export declare function bindFormulaCacheInvalidation(value: unknown): void;
|
|
15
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/** 检验数量只读取 inspection_number_,兼容原始记录、data 及 data.data 返回。 */
|
|
2
|
-
export declare function parseInspectionModuleQty(res: unknown): number | undefined;
|
|
3
|
-
/** 使用表单 detail 的交易实例 id;不能以表单 id 或 paramsConfig 中的 id 代替。 */
|
|
4
|
-
export declare function fetchInspectionModuleQty(txnInstId?: string): Promise<number | undefined>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { IBasicInfoItem } from '../../types';
|
|
2
|
-
import { RuntimeInstanceRecord, RuntimeInstanceRegistry } from '../../runtime';
|
|
3
|
-
import { IPayload, RuntimeSelfInfo } from './types';
|
|
4
|
-
export declare function createRuntimeDataSourceBinding(registry: RuntimeInstanceRegistry, payload: IPayload): {
|
|
5
|
-
dataSourceManagerMap: import('vue').ShallowRef<Record<string, {
|
|
6
|
-
getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
|
|
7
|
-
getContext: () => Record<string, unknown>;
|
|
8
|
-
canExecute: () => boolean;
|
|
9
|
-
reload: (key: string) => Promise<unknown>;
|
|
10
|
-
reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
11
|
-
states: {
|
|
12
|
-
readonly [x: string]: {
|
|
13
|
-
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
14
|
-
readonly data?: Readonly<unknown> | undefined;
|
|
15
|
-
readonly error?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
19
|
-
cancel: (key: string) => boolean;
|
|
20
|
-
getResult(key: string): unknown;
|
|
21
|
-
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
22
|
-
queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
|
|
23
|
-
dispose(): void;
|
|
24
|
-
}>, Record<string, {
|
|
25
|
-
getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
|
|
26
|
-
getContext: () => Record<string, unknown>;
|
|
27
|
-
canExecute: () => boolean;
|
|
28
|
-
reload: (key: string) => Promise<unknown>;
|
|
29
|
-
reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
30
|
-
states: {
|
|
31
|
-
readonly [x: string]: {
|
|
32
|
-
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
33
|
-
readonly data?: Readonly<unknown> | undefined;
|
|
34
|
-
readonly error?: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
38
|
-
cancel: (key: string) => boolean;
|
|
39
|
-
getResult(key: string): unknown;
|
|
40
|
-
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
41
|
-
queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
|
|
42
|
-
dispose(): void;
|
|
43
|
-
}>>;
|
|
44
|
-
bindDataSources: (record: RuntimeInstanceRecord, info: IBasicInfoItem, selfInfo: RuntimeSelfInfo) => Promise<void>;
|
|
45
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { RuntimeFieldMetadata } from '../../runtime/runtime-field-registry';
|
|
2
|
-
/** detail 中的交易实例关联灭菌记录,初始化时统一回填所有工作表的主、子表字段。 */
|
|
3
|
-
export declare function fillSterilizationDate(txnInstId: unknown, metadata: RuntimeFieldMetadata, formState: Record<string, unknown>): Promise<void>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ISheet } from '../types/sheets';
|
|
2
|
-
export interface PlacedFormField {
|
|
3
|
-
field: string;
|
|
4
|
-
fieldType: string;
|
|
5
|
-
model: string;
|
|
6
|
-
subFieldKey?: string;
|
|
7
|
-
}
|
|
8
|
-
/** 按 bizType(优先)或 fieldType 查询直接放置的字段;不包含组件配置引用的字段。 */
|
|
9
|
-
export declare function collectPlacedFieldsByType(sheets: readonly ISheet[], fieldType: string): PlacedFormField[];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PlacedFormField } from './placed-fields';
|
|
2
|
-
/** 从已保存的 Excel 设计稿提取指定类型的拖入字段,兼容单 Sheet 旧稿。 */
|
|
3
|
-
export declare function collectPlacedFieldsFromDesignerJson(designerJson: string | object | null | undefined, fieldType: string): PlacedFormField[];
|
|
4
|
-
/** 按模板 ID 查询已保存表单中拖入的指定类型字段,无需打开设计画布。 */
|
|
5
|
-
export declare function getPlacedFieldsByType(fieldType: string, templateId: string): Promise<PlacedFormField[]>;
|
|
6
|
-
/** 按模板 ID 查询已保存表单中拖入的印章字段。 */
|
|
7
|
-
export declare function getPlacedSealFields(templateId: string): Promise<PlacedFormField[]>;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { NumberInputRules } from './number-input-rules';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
value?: string | number | null;
|
|
4
|
-
precision?: number;
|
|
5
|
-
limits?: NumberInputRules;
|
|
6
|
-
};
|
|
7
|
-
/** 仅在数值组件内部已经处理过非法操作时重建,清理其内部编辑缓存。 */
|
|
8
|
-
declare function reset(refocus?: boolean): void;
|
|
9
|
-
declare function __VLS_template(): {
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
|
-
slots: Partial<Record<number, (_: any) => any>>;
|
|
12
|
-
refs: {
|
|
13
|
-
inputRef: unknown;
|
|
14
|
-
};
|
|
15
|
-
rootEl: any;
|
|
16
|
-
};
|
|
17
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
19
|
-
focus: () => void | undefined;
|
|
20
|
-
blur: () => void | undefined;
|
|
21
|
-
reset: typeof reset;
|
|
22
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
-
change: (...args: any[]) => void;
|
|
24
|
-
blur: (...args: any[]) => void;
|
|
25
|
-
"update:value": (...args: any[]) => void;
|
|
26
|
-
pressEnter: (...args: any[]) => void;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
onPressEnter?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
33
|
-
inputRef: unknown;
|
|
34
|
-
}, any>;
|
|
35
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
-
export default _default;
|
|
37
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
-
new (): {
|
|
39
|
-
$slots: S;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type NumberInputValue = string | number | null | undefined;
|
|
2
|
-
export interface NumberInputRules {
|
|
3
|
-
maxDigits?: number;
|
|
4
|
-
maxValue?: string | number;
|
|
5
|
-
precision?: number;
|
|
6
|
-
roundingMode?: 1 | 4 | 6;
|
|
7
|
-
}
|
|
8
|
-
export declare function normalizeNumberText(value: NumberInputValue): string;
|
|
9
|
-
/** 提交只接受完整数值或空值,不接受正负号、小数点等编辑中间态。 */
|
|
10
|
-
export declare function isNumberCommitAllowed(value: NumberInputValue, rules: NumberInputRules): boolean;
|
|
11
|
-
/** 编辑允许空值、正负号、小数点;禁止科学计数法绕过位数限制。 */
|
|
12
|
-
export declare function isNumberDraftAllowed(value: string, rules: NumberInputRules): boolean;
|
|
13
|
-
export declare function getNumberFieldLimits(props: {
|
|
14
|
-
bizType?: string;
|
|
15
|
-
fieldType?: string;
|
|
16
|
-
}): NumberInputRules;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
type RequestFn<TParams, TResult> = (params: TParams) => Promise<TResult>;
|
|
2
|
-
interface CacheEntry<TResult> {
|
|
3
|
-
data: TResult;
|
|
4
|
-
expireAt: number;
|
|
5
|
-
}
|
|
6
|
-
export declare const withRequestCache: {
|
|
7
|
-
pendingMap: Map<string, Promise<any>>;
|
|
8
|
-
cacheMap: Map<string, CacheEntry<any>>;
|
|
9
|
-
defaultTTL: number;
|
|
10
|
-
/** 生成唯一 key */
|
|
11
|
-
getKey(url: string, params: any): string;
|
|
12
|
-
/**
|
|
13
|
-
* 处理带缓存与去重的请求
|
|
14
|
-
* @param url 唯一逻辑标识(非实际 API 地址)
|
|
15
|
-
* @param params 请求参数
|
|
16
|
-
* @param requestFn 实际请求函数
|
|
17
|
-
* @param ttl 可选,缓存有效期(毫秒)
|
|
18
|
-
*/
|
|
19
|
-
handleRequest<TParams, TResult>(url: string, params: TParams, requestFn: RequestFn<TParams, TResult>, ttl?: number): Promise<TResult>;
|
|
20
|
-
/** 清空全部缓存 */
|
|
21
|
-
clearCache(): void;
|
|
22
|
-
/** 清空 pending 状态 */
|
|
23
|
-
clearPending(): void;
|
|
24
|
-
/** 定期清理过期缓存 */
|
|
25
|
-
cleanupExpiredCache(): void;
|
|
26
|
-
};
|
|
27
|
-
export {};
|