@gct-paas/excel 0.1.48-beta.0 → 0.1.49
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/README.md +4 -3
- package/dist/AntdIcon-DCIaV352.js +1108 -0
- package/dist/{BaseComponent-CuX5xLFK.js → BaseComponent-BujOt502.js} +3 -4
- package/dist/{VueVideoPlayer-CBBB12Hj.js → VueVideoPlayer-B8GR2HPo.js} +2 -2
- package/dist/{align-editor-Df9gS31T.js → align-editor--BUxJjPg.js} +1 -1
- package/dist/{barcode-design-B34-4xJ9.js → barcode-design-DGX6Ol4t.js} +2 -3
- package/dist/base/index.es.js +228 -519
- package/dist/{diagonal-design-D0HXMI8w.js → diagonal-design-oiPfvxr7.js} +2 -3
- package/dist/{dynamic-table-action-9sxv3gW5.js → dynamic-table-action-Bhkrp7KE.js} +353 -460
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-YSIO0k9J.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js} +597 -2298
- package/dist/{edit.utils-CXmmCnxE-0uJiCs33.js → edit.utils-CXmmCnxE-BXlWf2Zf.js} +1 -1
- package/dist/excel.css +723 -611
- package/dist/{exceljs.min-Doeyz39_.js → exceljs.min-Ta0dJQqu.js} +2 -2
- package/dist/{font-editor-B8A9tDhO.js → font-editor-Dmj2hu7T.js} +3 -3
- package/dist/{image-design-CVyCbbef.js → image-design-C3yJcthI.js} +8 -3
- package/dist/{index-Bb3Ugl3c.js → index-1kD3Vcrg.js} +2 -3
- package/dist/{index-DA7GAWZ1.js → index-B0Qf1-mt.js} +3 -4
- package/dist/{index-ucaRXWE8.js → index-B2VHOqo4.js} +2 -3
- package/dist/{index-D_hAd0MQ.js → index-B4ZpSIPH.js} +3 -4
- package/dist/{index-CMmaJ4Ss.js → index-B4hIBKZ6.js} +2 -3
- package/dist/index-B6csmYLK.js +4353 -0
- package/dist/{index-R95URjcc.js → index-BDr7t7vL.js} +1 -2
- package/dist/{index-D0VBKmKt.js → index-BEEhGWk7.js} +2 -3
- package/dist/{index-CS1tP-l0.js → index-BOMuRlHQ.js} +2 -3
- package/dist/{index-FCg2Jzvu.js → index-Bd15pfRH.js} +1 -2
- package/dist/{index-Uy8bXkuC.js → index-BlCF32GJ.js} +3 -4
- package/dist/{index-hDsTasdu.js → index-BtAlyN0W.js} +2 -3
- package/dist/{index-CDObWZ7G.js → index-BwuwoFQQ.js} +2 -3
- package/dist/{index-TeozNhWH.js → index-C4SreE7Q.js} +2 -3
- package/dist/{index-B7Yt5TSq.js → index-C6WDE2xc.js} +1 -2
- package/dist/{index-dUCz8OdV.js → index-CEYSrHod.js} +2 -3
- package/dist/{index-CzztJ4fH.js → index-CMN1t7G7.js} +3 -4
- package/dist/{index-BLJdXkdZ.js → index-CUTV5Yr2.js} +4 -5
- package/dist/{index-BwyHByzZ.js → index-CZo7qVZK.js} +1 -2
- package/dist/{index-DKKIL32g.js → index-CaLRSpkL.js} +2 -3
- package/dist/{index-BOO2K9Vu.js → index-D9lmC_sX.js} +3 -4
- package/dist/{index-Bj2qRb0q.js → index-DBSvao2o.js} +1 -2
- package/dist/{index-DMVIENZW.js → index-DF8n1Gru.js} +3 -4
- package/dist/{index-DuuvFB0e.js → index-DLTES9Zq.js} +2 -3
- package/dist/{index-CGU3uK4z.js → index-DMAuxwlt.js} +1 -2
- package/dist/{index-XE84LVO7.js → index-DQC7zJRO.js} +1 -2
- package/dist/{index-RG23XjoT.js → index-DRKCOV3w.js} +1 -2
- package/dist/{index-VrLq9hAc.js → index-DdOpcuy6.js} +3736 -8994
- package/dist/{index-vEZ4Yr2u.js → index-GIYmXP7h.js} +2 -3
- package/dist/{index-CNmwpU3G.js → index-IOqBW_eS.js} +3 -7
- package/dist/{index-PSQkEXxq.js → index-KQqw3i9h.js} +2 -3
- package/dist/{index-7VROqGqR.js → index-L7CRRS4N.js} +2 -3
- package/dist/{index-B3hu8heh.js → index-OwTnsnnd.js} +2 -3
- package/dist/{index-Cn_bmfoD.js → index-UnwowxL3.js} +1 -2
- package/dist/{index-DU4dWvY6.js → index-wKwGHLnP.js} +1 -2
- package/dist/index.es.js +46 -52
- package/dist/mb-render-CQlqaMrC.js +276 -0
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-ApLSXGFP.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-219qzsVL.js} +3 -27
- package/dist/{pagination-design-B5DxwV5F.js → pagination-design-CNML3qGx.js} +2 -3
- package/dist/paper-widget-design-B8WyX87-.js +4 -0
- package/dist/{print-runtime-instance-BDM-anCd.js → print-runtime-instance-DKR1MX8-.js} +1 -1
- package/dist/{print-snapshot-renderer-kB1Bw7A_.js → print-snapshot-renderer-BIWDQkSC.js} +3 -3
- package/dist/{qrcode-design-bN48s3rk.js → qrcode-design-CUQ4gaJ0.js} +1 -1
- package/dist/{revo-grid.entry-BXEGtAbW.js → revo-grid.entry-Be5Mx_h7.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CImeTxBl.js → revogr-attribution_7.entry-DmJFrubR.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DqcrJ6zB.js → revogr-clipboard_3.entry-COcvqK0w.js} +2 -2
- package/dist/{revogr-data_4.entry-Ccdsy3nO.js → revogr-data_4.entry-Dc4luGHv.js} +2 -2
- package/dist/{revogr-filter-panel.entry-B2xM2jvB.js → revogr-filter-panel.entry-B1l-ouo-.js} +1 -1
- package/dist/seal-design-Q8W8Umib.js +4 -0
- package/dist/{serialnumber-design-BGTOIn2S.js → serialnumber-design-hcI8TwmS.js} +1 -1
- package/dist/shared/index.es.js +28 -29
- package/dist/{single-field-drop-b2b71HAk.js → single-field-drop-CnuMgeEW.js} +3 -2
- package/dist/{size-editor-DtX2f2CF.js → size-editor-D4ZNlV-c.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +1 -1
- package/dist/src/adapter/index.d.ts +0 -2
- 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 -7
- 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/components/document-sub-table-action/dynamic-table-action.vue.d.ts +2 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/type.d.ts +4 -0
- package/dist/src/nocode-base/src/components/material-consume/types.d.ts +5 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +4 -4
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +4 -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/material-consume-table-controller.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +28 -1
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +8 -9
- 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 -55
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -24
- package/dist/src/nocode-base/src/interface/ref-loader.d.ts +1 -12
- package/dist/src/nocode-base/src/interface/render.d.ts +1 -2
- package/dist/src/nocode-base/src/interface/transform.d.ts +0 -3
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
- 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 +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -8
- package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +7 -2
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -8
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +15 -2
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +10 -0
- package/dist/src/nocode-web-render/src/components/print-fill-background-selector.vue.d.ts +2 -0
- package/dist/src/nocode-web-render/src/hooks/index.d.ts +2 -0
- package/dist/src/{shared → nocode-web-render/src}/hooks/useWebUpload.d.ts +1 -1
- package/dist/src/nocode-web-render/src/hooks/userFormPrint.d.ts +15 -0
- package/dist/src/nocode-web-render/src/index.d.ts +6 -0
- package/dist/src/nocode-web-render/src/logic/index.d.ts +1 -0
- package/dist/src/nocode-web-render/src/render/common/index.d.ts +2 -0
- package/dist/src/nocode-web-render/src/render/common/modal-manager.d.ts +20 -0
- package/dist/src/{adapter/web → nocode-web-render/src/render/common}/open-util.d.ts +1 -1
- package/dist/src/nocode-web-render/src/render/index.d.ts +10 -0
- package/dist/src/{online-form/src/views/designer/modules/panel/sub-table/comps → nocode-web-render/src/render/parse-rule}/add-rule-btn.vue.d.ts +1 -1
- package/dist/src/nocode-web-render/src/render/parse-rule/index.d.ts +3 -0
- package/dist/src/nocode-web-render/src/render/parse-rule/parse-rule-modal.vue.d.ts +15 -0
- package/dist/src/nocode-web-render/src/render/sub-table/allocate/allocate-web-render.d.ts +4 -0
- package/dist/src/nocode-web-render/src/render/sub-table/allocate/index.d.ts +1 -0
- package/dist/src/{adapter/web → nocode-web-render/src/render/sub-table/common}/inventory-scan-columns.d.ts +1 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/multi-rows-modal.vue.d.ts +15 -0
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +19 -0
- package/dist/src/{adapter/web → nocode-web-render/src/render/sub-table/common}/sub-table-render.d.ts +5 -2
- package/dist/src/nocode-web-render/src/render/sub-table/index.d.ts +3 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-balance/index.d.ts +1 -0
- package/dist/src/{adapter/web → nocode-web-render/src/render/sub-table/material-balance}/material-consume-modal.vue.d.ts +1 -1
- package/dist/src/{adapter/web/material-balance-render.d.ts → nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts} +1 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/bom-modal.vue.d.ts +11 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/index.d.ts +4 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +42 -0
- package/dist/src/nocode-web-render/src/render/sub-table/stocktake/index.d.ts +2 -0
- package/dist/src/{adapter/web/stocktake-render.d.ts → nocode-web-render/src/render/sub-table/stocktake/stocktake-web-render.d.ts} +2 -2
- package/dist/src/nocode-web-render/src/types/hooks/index.d.ts +1 -0
- package/dist/src/nocode-web-render/src/types/index.d.ts +1 -0
- package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +4 -4
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +3 -3
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +0 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +0 -144
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +4 -87
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +0 -6
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/panel-check-table/select-check-ds-modal.vue.d.ts +3 -3
- package/dist/src/online-form/src/views/designer/types/index.d.ts +1 -12
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-auto-complete.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-date-picker.vue.d.ts +2 -2
- 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_/_base_/cell/cell-text-input.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-textarea.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +4 -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/common/base-vxe-table.vue.d.ts +1 -1
- package/dist/src/shared/components/ColorPicker/src/ColorPicker.vue.d.ts +1 -1
- 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 +3 -8
- package/dist/src/shared/index.d.ts +0 -1
- package/dist/src/shared/types/index.d.ts +0 -1
- package/dist/{sub-table-factory-DoEvzrVN.js → sub-table-factory-Df_Z-LYK.js} +89 -276
- package/dist/{text-design-BQVBFcI0.js → text-design-gySXbKUQ.js} +2 -3
- package/dist/{throttle-Cpk1LoGk-DR_8z9qq.js → throttle-Cpk1LoGk-DEDsjc1B.js} +1 -1
- package/dist/{timediff-design-DioTJEvx.js → timediff-design-BHLUYM_L.js} +1 -2
- package/dist/{trace-like-wrapper-CjxBkfYK.js → trace-like-wrapper-CD0q7Bpg.js} +2 -3
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DpfdcyX_.js → value-editor.vue_vue_type_style_index_0_lang-Dp_NLPcS.js} +2 -3
- package/dist/web-render/index.d.ts +1 -0
- package/dist/web-render/index.es.js +595 -0
- package/dist/{widget-barcode-CEn3AYG0.js → widget-barcode-Dho-QBc4.js} +4 -5
- package/dist/{widget-diagonal-DbOhaNpW.js → widget-diagonal-LOzS5LGZ.js} +4 -4
- package/dist/{widget-image-BGP2w2mj.js → widget-image-CE9y7lzB.js} +7 -5
- package/dist/{widget-line-CkSPcw5A.js → widget-line-DK-tRBi0.js} +2 -3
- package/dist/{widget-pagination-BH0VtWHT.js → widget-pagination-JLrTk_QY.js} +5 -6
- package/dist/{widget-power-DuTIvdpR.js → widget-power-B136JrJ6.js} +4 -4
- package/dist/{widget-qrcode-CJJjPnwn.js → widget-qrcode-CQ79eZwR.js} +3 -4
- package/dist/{widget-rangelimit-828JH1wm.js → widget-rangelimit-DORQgXtz.js} +4 -3
- package/dist/{widget-serialnumber-CIjY3I-t.js → widget-serialnumber-BvhwTK5N.js} +1 -1
- package/dist/{widget-text-C_Ja4yWN.js → widget-text-D6au0tli.js} +5 -5
- package/dist/{widget-timediff-CjmATkLS.js → widget-timediff-C3SAIS2-.js} +2 -3
- package/package.json +6 -2
- package/dist/paper-widget-design-A55mbwYv.js +0 -4
- package/dist/seal-design-B3FBumLr.js +0 -4
- package/dist/src/adapter/web/material-consume-render.d.ts +0 -25
- 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 -12
- 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/initial-value-data-sources.d.ts +0 -3
- package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -51
- package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +0 -3
- package/dist/src/nocode-base/src/runtime/designer-default-values.d.ts +0 -23
- package/dist/src/nocode-base/src/runtime/runtime-default-value-validation.d.ts +0 -23
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/message-rule-config/rule-modal.vue.d.ts +0 -32
- 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/types/upload.d.ts +0 -11
- package/dist/src/shared/utils/withRequestCache.d.ts +0 -27
- /package/dist/src/{adapter/web/setup.d.ts → nocode-web-render/src/adapter/index.d.ts} +0 -0
- /package/dist/src/{adapter/web/upload.d.ts → nocode-web-render/src/logic/utils.d.ts} +0 -0
|
@@ -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-CidYX2eX.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DEDsjc1B.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-B2xM2jvB.js → revogr-filter-panel.entry-B1l-ouo-.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-CidYX2eX.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-CidYX2eX.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, _
|
|
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-CidYX2eX.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-219qzsVL.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -49,44 +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
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
u as useWebUpload
|
|
84
|
+
cw as TagTypeEnum,
|
|
85
|
+
U as UniqueConstraintType,
|
|
86
|
+
V2 as VersionSelect,
|
|
87
|
+
W as WAREHOUSE_FIELD_TYPES,
|
|
88
|
+
bi as formulaRuleFieldDict,
|
|
89
|
+
a8 as normalizeFieldType,
|
|
90
|
+
R as onlineFormMasterModelTypeEnum
|
|
92
91
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-
|
|
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-DdOpcuy6.js";
|
|
4
|
+
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "single-field-drop",
|
|
6
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-CidYX2eX.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -179,7 +179,7 @@ export interface ExcelHostUtils {
|
|
|
179
179
|
/**
|
|
180
180
|
* Excel 包级宿主适配器:由主工程通过 setupExcel 注入,底包与业务通过此类消费。
|
|
181
181
|
*
|
|
182
|
-
* 挂到 window,避免 base ↔ adapter/setup ↔
|
|
182
|
+
* 挂到 window,避免 base ↔ adapter/setup ↔ web-render 的静态循环依赖。
|
|
183
183
|
* 消费侧(尤其 nocode-base)请用 `window.NocodeAdapter`,不要 import 本模块。
|
|
184
184
|
* API 请用 `_gct.api`(包内通过 `@gct-paas/excel/shared/utils/host-api` 代理)。
|
|
185
185
|
*/
|
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_"];
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
/** 工序切换或清空后,原工序下选择的历史消耗信息失效。 */
|
|
2
|
-
export declare function handleRoutingOperationChange(ctx: {
|
|
3
|
-
rowData: Record<string, any>;
|
|
4
|
-
}): void;
|
|
5
1
|
export declare function handleSourceProductChange(ctx: {
|
|
6
2
|
rowData: Record<string, any>;
|
|
7
3
|
}): void;
|
|
8
4
|
export declare function handleTargetMaterialNoChange(ctx: {
|
|
9
5
|
rowData: Record<string, any>;
|
|
10
6
|
}): void;
|
|
11
|
-
export declare function handleTargetProductChange(ctx: {
|
|
12
|
-
rowData: Record<string, any>;
|
|
13
|
-
}): void;
|
|
@@ -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);
|
package/dist/src/index.d.ts
CHANGED
|
@@ -19,8 +19,6 @@ export { calcUsedFields, isReverseModelingEnabled, FieldSceneType, scanField, }
|
|
|
19
19
|
export { FIELD_TYPE_LABEL_MAP, FieldTypeToCellWidgetMap, } from './online-form/src/views/designer/constants';
|
|
20
20
|
export { XlsxParser } from './online-form/src/views/designer/utils/xlsx-parser';
|
|
21
21
|
export { DomParser } from './online-form/src/views/designer/utils/dom-parser';
|
|
22
|
-
export { getPlacedFieldsByType, getPlacedSealFields, } from './online-form/src/views/designer/utils/template-placed-fields';
|
|
23
|
-
export type { PlacedFormField } from './online-form/src/views/designer/utils/placed-fields';
|
|
24
22
|
export { VersionSelect } from './shared/components/version-select';
|
|
25
23
|
export { OnlineFormModelSelect, OnlineFormModelModal, } from './shared/components/online-form-model-select';
|
|
26
24
|
export { openVersionDiff, VersionDiffPreviewRouter, } from './online-form/src/components/version-diff';
|
|
@@ -32,9 +30,3 @@ export { default as AiTmplEditor } from './online-form/src/views/designer/module
|
|
|
32
30
|
export { default as AiTmplModal } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor-modal.vue';
|
|
33
31
|
export type { AiTmplEditorExpose, AiTmplEditorProps, FieldOption, PrecisionOption, } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/types';
|
|
34
32
|
export { ApaasCollect, ApaasCollectSheetView, ApaasDpPrint, ApaasDpPrintSheetView, BomEditorModal, SelectCheckDsModal, OutParamModal, InputParamModal, SignatureConfigModal, RenderFieldWrapper, };
|
|
35
|
-
/**
|
|
36
|
-
* 共用数据获取列表:设计配置与运行时查看、手动加载
|
|
37
|
-
* word, excel 都暴露出去了,gct-dhr-kit 可从中任用一个
|
|
38
|
-
*/
|
|
39
|
-
export { DataSources } from '@gct-paas/form-base';
|
|
40
|
-
export type { DataSourceManager } from '@gct-paas/form-base';
|
package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ type __VLS_Props = {
|
|
|
10
10
|
showEditBtn?: boolean;
|
|
11
11
|
/** 是否是物料消耗 */
|
|
12
12
|
isMaterialConsume?: boolean;
|
|
13
|
+
/** 是否显示查看Bom */
|
|
14
|
+
showBom?: boolean;
|
|
13
15
|
/** 是否显示扫描 */
|
|
14
16
|
showScanBtn?: boolean;
|
|
15
17
|
/** 是否显示确认按钮 */
|
|
@@ -34,6 +36,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
34
36
|
showInsertMultiple: boolean;
|
|
35
37
|
showEditBtn: boolean;
|
|
36
38
|
isMaterialConsume: boolean;
|
|
39
|
+
showBom: boolean;
|
|
37
40
|
showScanBtn: boolean;
|
|
38
41
|
showConfirmBtn: boolean;
|
|
39
42
|
noPopover: boolean;
|
|
@@ -80,10 +80,10 @@ export declare class MaterialRequisitionTableCore extends ProfileDrivenSubTableC
|
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
82
|
* 物料替换表 Core
|
|
83
|
-
* -
|
|
84
|
-
* -
|
|
85
|
-
* -
|
|
86
|
-
* -
|
|
83
|
+
* - 被替换物料从历史消耗中选择,并按当前 SN / 工序过滤
|
|
84
|
+
* - 选择后回填批号、物料信息和原上料数量
|
|
85
|
+
* - 替换物料批号回填替换物料信息
|
|
86
|
+
* - 条码映射结果优先填充空行,否则追加新行
|
|
87
87
|
*/
|
|
88
88
|
export declare class MaterialSubstitutionTableCore extends ProfileDrivenSubTableCore {
|
|
89
89
|
protected isEmptyScanRow(row: Record<string, unknown>): boolean;
|
|
@@ -110,7 +110,6 @@ export declare class SubTableCore {
|
|
|
110
110
|
calcFieldStatus(params: {
|
|
111
111
|
rowData: any;
|
|
112
112
|
field: string;
|
|
113
|
-
formChangeStatus?: boolean;
|
|
114
113
|
}): IFieldStatus;
|
|
115
114
|
/**
|
|
116
115
|
* 计算字段的查询条件,如果返回值有值则修改到td的newQueryData里
|
|
@@ -166,6 +165,10 @@ export declare class SubTableCore {
|
|
|
166
165
|
};
|
|
167
166
|
/** 解析规则配置对象 */
|
|
168
167
|
scanRuleProps: ParseRuleProps;
|
|
168
|
+
/**
|
|
169
|
+
* 变更条码规则
|
|
170
|
+
*/
|
|
171
|
+
changeScanRule(): Promise<void>;
|
|
169
172
|
/**
|
|
170
173
|
* 打开扫描弹窗
|
|
171
174
|
* @param opts
|
|
@@ -28,7 +28,8 @@ export declare const F: {
|
|
|
28
28
|
/** 生产日期 */
|
|
29
29
|
readonly productionDate: "production_date_";
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
/** 业务部灭菌表:必然禁用字段(由生产批次号回填,禁止手填) */
|
|
32
|
+
export declare const STERILIZE_ALWAYS_DISABLED_FIELDS: readonly ["product_id_", "product_id_code_", "product_id_spec_", "product_id_name_", "mfg_order_code_", "mfg_order_id_"];
|
|
32
33
|
/** 行变更 handler:生产批次号清空时的字段集 */
|
|
33
34
|
export declare const CLEAR_ON_PROD_CONTAINER_EMPTY: readonly ["product_id_", "product_id__lb_", "product_id_name_", "product_id_code_", "product_id_spec_", "qty_", "mfg_order_code_", "mfg_order_id_", "mfg_order_id__lb_", "production_date_"];
|
|
34
35
|
export declare const fillFromOption: ({
|
package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts
CHANGED
|
@@ -46,6 +46,8 @@ export declare class MaterialConsumeTableController {
|
|
|
46
46
|
private initialDataPrepared;
|
|
47
47
|
/** 最近一次同步需求数量时使用的数量依赖。 */
|
|
48
48
|
private syncedMaterialNoNum;
|
|
49
|
+
/** 多 Sheet / 同屏多实例下,弹层和异步交互使用该键隔离。 */
|
|
50
|
+
private runtimeOwnerId;
|
|
49
51
|
/** 表单是否已暂存或提交(已处理过则不再跑初始化) */
|
|
50
52
|
get isDataProcessed(): boolean;
|
|
51
53
|
/** 批次数量或生产数量 */
|
|
@@ -98,6 +100,10 @@ export declare class MaterialConsumeTableController {
|
|
|
98
100
|
* @param id (老数据是id,新数据是json对象字符串)
|
|
99
101
|
*/
|
|
100
102
|
protected initScanRule(id: string): Promise<void>;
|
|
103
|
+
/**
|
|
104
|
+
* 变更条码规则
|
|
105
|
+
*/
|
|
106
|
+
changeScanRule(): Promise<void>;
|
|
101
107
|
/**
|
|
102
108
|
* 是否人为指定物料
|
|
103
109
|
* @readonly
|
|
@@ -15,6 +15,8 @@ export declare class MCRender implements IMcRender {
|
|
|
15
15
|
type: 'error' | 'warning';
|
|
16
16
|
content: string;
|
|
17
17
|
}): void;
|
|
18
|
+
/** 每个表单实例独立维护 BOM 弹层参数。 */
|
|
19
|
+
private readonly bomModalProps;
|
|
18
20
|
openScanModal(opts: {
|
|
19
21
|
title: string;
|
|
20
22
|
subModelKey?: string;
|
|
@@ -28,6 +30,31 @@ export declare class MCRender implements IMcRender {
|
|
|
28
30
|
transformedData?: any;
|
|
29
31
|
}) => void;
|
|
30
32
|
}): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* 实际打开UIModal的函数
|
|
35
|
+
*/
|
|
36
|
+
protected _openBomModal(reactiveOpts: {
|
|
37
|
+
ownerId: string;
|
|
38
|
+
bomList: any[];
|
|
39
|
+
onSubstitute: Function;
|
|
40
|
+
}): Promise<void>;
|
|
41
|
+
openBomModal(opts: {
|
|
42
|
+
ownerId: string;
|
|
43
|
+
bomList: any[];
|
|
44
|
+
onSubstitute: Function;
|
|
45
|
+
}): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* 打开修改条码解析规则的modal
|
|
48
|
+
* 返回空或者修改后的规则字段id
|
|
49
|
+
* @param opts \
|
|
50
|
+
* - config 回显用的配置对象
|
|
51
|
+
* @return {*}
|
|
52
|
+
*/
|
|
53
|
+
openChangeRuleModal(opts: {
|
|
54
|
+
config: ParseRuleProps;
|
|
55
|
+
subModelKey?: string;
|
|
56
|
+
formModelController: FormModelController;
|
|
57
|
+
}): Promise<ParseRuleProps | undefined>;
|
|
31
58
|
/**
|
|
32
59
|
* 扫码返回多条候选时,弹窗选择其中一条
|
|
33
60
|
* 取消返回 undefined
|
|
@@ -37,7 +64,7 @@ export declare class MCRender implements IMcRender {
|
|
|
37
64
|
title?: string;
|
|
38
65
|
}): Promise<any | undefined>;
|
|
39
66
|
/**
|
|
40
|
-
*
|
|
67
|
+
* 销毁所有固定的模态
|
|
41
68
|
*/
|
|
42
69
|
destroyAllModals(_ownerId: string): void;
|
|
43
70
|
}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { RenderModeEnum, FormTypeEnum, PlatformEnum } from '../../constant';
|
|
2
2
|
import { RuntimeFormStateStore, RuntimeInstanceRegistry, RuntimeInstanceRecord } from '../../runtime';
|
|
3
|
-
import { IProps, IPayload, RuntimeInstanceSource
|
|
3
|
+
import { IProps, IPayload, RuntimeInstanceSource } from './types';
|
|
4
4
|
import { useMaterialBalance } from '../material-balance/useMaterialBalance';
|
|
5
|
-
|
|
6
|
-
export declare function createRuntimeInstanceInitializer(props: IProps, payload: IPayload, getConsumeData: ReturnType<typeof useMaterialBalance>['getConsumeData']): (id: string, result: RuntimeInstanceSource, options?: {
|
|
7
|
-
initializeValues?: boolean;
|
|
8
|
-
}) => Promise<{
|
|
5
|
+
export declare function createRuntimeInstanceInitializer(props: IProps, payload: IPayload, getConsumeData: ReturnType<typeof useMaterialBalance>['getConsumeData']): (id: string, result: RuntimeInstanceSource) => Promise<{
|
|
9
6
|
runtimeContext: import('../..').RuntimeInstanceContext;
|
|
10
7
|
runtimeFormStateStore: RuntimeFormStateStore;
|
|
11
8
|
runtimeFieldMetadata: import('../..').RuntimeFieldMetadata;
|
|
12
|
-
defaultValueOrigins: DesignerDefaultValues;
|
|
13
9
|
scriptRunner: any;
|
|
14
10
|
basicInfo: {
|
|
15
11
|
key: string;
|
|
@@ -45,11 +41,14 @@ export declare function createRuntimeInstanceInitializer(props: IProps, payload:
|
|
|
45
41
|
productSearchFields: string;
|
|
46
42
|
showPrintFieldBg: any;
|
|
47
43
|
paramsConfig: Record<string, any> | undefined;
|
|
48
|
-
businessType: any;
|
|
49
44
|
instanceStatus: any;
|
|
50
|
-
dataStatus: any;
|
|
51
45
|
};
|
|
52
|
-
selfInfo:
|
|
46
|
+
selfInfo: {
|
|
47
|
+
formType: FormTypeEnum;
|
|
48
|
+
viewType: import('../..').ViewTypeEnum;
|
|
49
|
+
modelKey: string;
|
|
50
|
+
bindKey?: string;
|
|
51
|
+
} & Record<string, any>;
|
|
53
52
|
} | undefined>;
|
|
54
53
|
export type PreparedRuntimeInstance = NonNullable<Awaited<ReturnType<ReturnType<typeof createRuntimeInstanceInitializer>>>>;
|
|
55
54
|
/** 过期请求和批量初始化失败的结果未注册,资源在此释放,不影响当前页面的实例。 */
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { RenderModeEnum, PlatformEnum, BpmnNodeTypeEnum } from '../../constant';
|
|
2
2
|
import { baseDataUtils } from '../../interface';
|
|
3
3
|
import { RuntimeFormStateStore } from '../../runtime';
|
|
4
|
-
import { DataSourceManagerOptions } from '@gct-paas/form-base';
|
|
5
4
|
export interface IProps {
|
|
6
5
|
/** 模板实例id或者模板id */
|
|
7
6
|
selfId: string | string[] | undefined;
|
|
@@ -33,8 +32,6 @@ interface IDeviceConfig {
|
|
|
33
32
|
export interface IPayload extends ITemplatePayload, IInstancePayload {
|
|
34
33
|
/** 工厂类型 */
|
|
35
34
|
factoryType: 'template' | 'instance' | 'batchInstance' | 'batchTemplate';
|
|
36
|
-
/** 表单、实体和业务数源的宿主查询适配器。 */
|
|
37
|
-
dataSourceAdapters?: DataSourceManagerOptions['adapters'];
|
|
38
35
|
/** 请求接口函数 */
|
|
39
36
|
requestCallback: (...args: any[]) => any;
|
|
40
37
|
/** 平台参数类型 */
|
|
@@ -51,10 +48,7 @@ export interface IPayload extends ITemplatePayload, IInstancePayload {
|
|
|
51
48
|
onFormStateReady?: (store: RuntimeFormStateStore) => unknown;
|
|
52
49
|
}
|
|
53
50
|
/** 不同平台接口的开放业务元信息;不是运行时索引或提交数据的副本。 */
|
|
54
|
-
export type RuntimeSelfInfo = Parameters<typeof baseDataUtils.requestRenderData>[0]['info']
|
|
55
|
-
/** detail 返回的交易实例 id,供检验数量查询使用。 */
|
|
56
|
-
txnInstId?: string;
|
|
57
|
-
};
|
|
51
|
+
export type RuntimeSelfInfo = Parameters<typeof baseDataUtils.requestRenderData>[0]['info'];
|
|
58
52
|
/** 请求适配后的内部初始化输入,单个/批量入口使用同一约定。 */
|
|
59
53
|
export interface RuntimeInstanceSource {
|
|
60
54
|
id?: string;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
customFieldKey: string;
|
|
4
|
-
lowerLimit?: number | string | null;
|
|
5
|
-
upperLimit?: number | string | null;
|
|
6
|
-
}
|
|
7
|
-
type FetchDeviceParamLimits = (id: any) => Promise<DeviceParamConfig[] | null>;
|
|
8
|
-
export declare function configureDeviceParamCheck(fetcher: FetchDeviceParamLimits): void;
|
|
1
|
+
/** 更新当前表单的参数配置;未传入配置时清空上次的数据。 */
|
|
2
|
+
export declare function setFormulaParamsConfig(paramsConfig?: Record<string, any> | null): void;
|
|
9
3
|
export declare function registerFormulaFuncs(): void;
|