@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
package/dist/base/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString,
|
|
6
|
-
import { isEqual, cloneDeep, defaults, isEmpty, merge
|
|
1
|
+
import { E as api, _ as PlatformEnum, F as FIELD_TYPE, bd as getRowId, be as findRuntimeTableRow, b6 as RenderModeEnum, C as ComponentTypeEnum, ax as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, at as RangeValidateMode, aG as Dependency_ENUM, aF as ASSIGNMENTSTRATEGY_ENUM, bo as fetchHistoryConsume, bp as isBomGranted, aU as renderUtils, bn as uuid2, bq as parseFrontConfig, aJ as CheckDsTypeEnum, aD as transformUtils, br as baseDataUtils, X as FormTypeEnum, bs as normalizeToArray, bt as safeParseArray, bu as BpmnNodeTypeEnum, bv as mergeByMultiKey, a7 as _export_sfc, bw as evaluateInspectionDecisionRule, bx as useNocodeEmitter, by as commonUtils, aH as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
2
|
+
import { aM, aO, a$, a0, bz, bA, B, bB, y, af, bC, bD, bE, bc, bF, aR, ay, aN, aK, aL, bG, ag, ak, bH, bI, aE, a2, ae, az, aP, $, ai, L, bJ, bK, bL, O, p, P, a9, o, Q, A, bM, bN, au, a5, a1, a3, a4, a6, f, bO, aj, an, ah, bP, bQ, bR, bS, bb, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, bf, c1, c2, aX, c3, b0, b1, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, aW, ce, b2, b9, cf, cg, al, t, ch, aQ, ci, cj, bg, aY } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
|
+
import { a4 as getRuntimeDataFieldId, Q as parseRuntimeFieldPath, a5 as buildRuntimeFieldPath, k as findFieldProfile, a6 as resolveRuntimeFieldProps, a7 as resolveRuntimeFieldState, a8 as assembleRules, a9 as isAttachFieldActive, R as calculateFormula, aa as getRuntimeDependencyOutputKey, ab as isRowAddedInCurrentFormChange, ac as resolveFormulaData, d as getParseFormulaVarInfos, y as MaterialConsumptionPatternEnum, ad as MaterialConsumeTableController, ae as setFormulaParamsConfig, af as normalizeRuntime, X as createRuntimeInstanceContext, ag as initializeSealFields, W as RuntimeFormStateStore, ah as RuntimeSheetService, g as getBusinessFieldKey, ai as validateObjectBomQtyOnSubmit, aj as areValidationCommentsEqual, ak as closeValidatorPopovers, al as enrichFormChangeRowDetails, N as NCB_PROVIDE, Y as RuntimeInstanceRegistry, am as useMaterialBalance, an as collectFormChangeFieldLocations, ao as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-Bhkrp7KE.js";
|
|
4
|
+
import { B as B2, ap, m, a3 as a32, aq, a1 as a12, ar, a2 as a22, H, as, at, au as au2, av, aw, M, a, ax, b, ay as ay2, az as az2, aA, aB, aC, aD, aE as aE2, aF, F, aG, w, aH, e, aI, aJ, aK as aK2, aL as aL2, v, G, aM as aM2, aN as aN2, aO as aO2, aP as aP2, o as o2, I, l, aQ as aQ2, aR as aR2, aS, aT, aU, aV, aW as aW2, A as A2, x, aX as aX2, C, r, aY as aY2, s, aZ, T, U, u, E, V, q, t as t2, S, p as p2, z } from "../dynamic-table-action-Bhkrp7KE.js";
|
|
5
|
+
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, ref, provide, onUnmounted, markRaw, reactive, onBeforeUnmount } from "vue";
|
|
6
|
+
import { isEqual, cloneDeep, defaults, isEmpty, merge } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-
|
|
9
|
-
import { A, D, M as M2, a as
|
|
10
|
-
import {
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-Df_Z-LYK.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a7, P as P2, b as b3, c, d, e as e2, W, f as f2, g, h } from "../sub-table-factory-Df_Z-LYK.js";
|
|
10
|
+
import { B as B3, F as F2, M as M3, a as a8, u as u2 } from "../mb-render-CQlqaMrC.js";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
13
13
|
ABANDON: "ABANDON",
|
|
@@ -154,31 +154,23 @@ async function fetchOperationReceiveQty(paramsConfig) {
|
|
|
154
154
|
const num = Number(raw);
|
|
155
155
|
return Number.isNaN(num) ? void 0 : num;
|
|
156
156
|
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
async function fetchInspectionModuleQty(txnInstId) {
|
|
176
|
-
if (txnInstId == null || txnInstId === "") return void 0;
|
|
177
|
-
const res = await api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey(
|
|
178
|
-
INSPECTION_MODULE_QTY_API,
|
|
179
|
-
{ id: txnInstId }
|
|
180
|
-
);
|
|
181
|
-
return parseInspectionModuleQty(res);
|
|
157
|
+
function listRuntimeFieldRows(record, subFieldKey, targetFieldId) {
|
|
158
|
+
if (!subFieldKey) {
|
|
159
|
+
return [{ row: record.formState.state }];
|
|
160
|
+
}
|
|
161
|
+
const value = record.formState.state[subFieldKey];
|
|
162
|
+
const table2DInfo = [
|
|
163
|
+
...record.context.businessIndex.subTable2DList,
|
|
164
|
+
...record.context.businessIndex.checkTable2DList
|
|
165
|
+
].find((item) => item.rowSubFieldKey === subFieldKey);
|
|
166
|
+
const isChild = table2DInfo && (table2DInfo.crossFieldKeys ?? []).includes(targetFieldId);
|
|
167
|
+
return Array.isArray(value) ? value.flatMap((row) => {
|
|
168
|
+
if (row?.deleted_) return [];
|
|
169
|
+
if (!isChild) return [{ row }];
|
|
170
|
+
return (Array.isArray(row._2DTABLE_) ? row._2DTABLE_ : []).flatMap(
|
|
171
|
+
(child) => child?.deleted_ ? [] : [{ row: child, parentRow: row }]
|
|
172
|
+
);
|
|
173
|
+
}) : [];
|
|
182
174
|
}
|
|
183
175
|
const isPresent = (value) => value !== void 0 && value !== null && value !== "";
|
|
184
176
|
class RuntimeFieldInitializer {
|
|
@@ -220,7 +212,7 @@ class RuntimeFieldInitializer {
|
|
|
220
212
|
for (const { widget, sheetId, referenceInfo } of this.record.fields.allWidgets()) {
|
|
221
213
|
const props = widget.props;
|
|
222
214
|
const fieldId = getRuntimeDataFieldId(props);
|
|
223
|
-
const kind = props.fieldType === FIELD_TYPE.UDI || props.bizType === FIELD_TYPE.UDI ? "udi" : props.bizType === FIELD_TYPE.OPERATION_RECEIVE_QTY ? "receive" : props.
|
|
215
|
+
const kind = props.fieldType === FIELD_TYPE.UDI || props.bizType === FIELD_TYPE.UDI ? "udi" : props.bizType === FIELD_TYPE.OPERATION_RECEIVE_QTY ? "receive" : props.tmplId && [FIELD_TYPE.INTEGER, FIELD_TYPE.LONG].includes(props.fieldType) ? "count" : this.info.isMockReport && props.fieldType === FIELD_TYPE.RECORD_NO && props.newSpecificConfig?.newSnNo ? "recordNo" : void 0;
|
|
224
216
|
if (!kind || !fieldId || props.isFieldModel) continue;
|
|
225
217
|
for (const { row } of listRuntimeFieldRows(
|
|
226
218
|
this.record,
|
|
@@ -232,13 +224,11 @@ class RuntimeFieldInitializer {
|
|
|
232
224
|
if (this.initialized.get(key) === toRaw(row)) continue;
|
|
233
225
|
this.initialized.set(key, toRaw(row));
|
|
234
226
|
if (props.subFieldKey ? row.id_ : (this.info.instanceStatus ?? this.metadata.instanceStatus) !== InstanceStatusValues.UNFILLED) {
|
|
235
|
-
if (kind !== "recordNo"
|
|
227
|
+
if (kind !== "recordNo") continue;
|
|
236
228
|
}
|
|
237
229
|
const previous = row[fieldId];
|
|
238
230
|
if (kind === "udi" && isPresent(previous)) continue;
|
|
239
231
|
const path = this.record.formState.getFieldPath(row, fieldId);
|
|
240
|
-
if (kind === "inspection" && (isPresent(previous) || this.record.formState.isUserModified(path)))
|
|
241
|
-
continue;
|
|
242
232
|
this.tasks.add(key);
|
|
243
233
|
const task = this.record.asyncTasks.run(
|
|
244
234
|
key,
|
|
@@ -260,11 +250,7 @@ class RuntimeFieldInitializer {
|
|
|
260
250
|
sheetId,
|
|
261
251
|
blockOnFailure: false
|
|
262
252
|
}
|
|
263
|
-
).finally(() =>
|
|
264
|
-
this.tasks.delete(key);
|
|
265
|
-
if (kind === "inspection" && this.initialized.get(key) === toRaw(row) && !isPresent(row[fieldId]))
|
|
266
|
-
this.initialized.delete(key);
|
|
267
|
-
});
|
|
253
|
+
).finally(() => this.tasks.delete(key));
|
|
268
254
|
pending.push(task);
|
|
269
255
|
}
|
|
270
256
|
}
|
|
@@ -276,31 +262,18 @@ class RuntimeFieldInitializer {
|
|
|
276
262
|
}
|
|
277
263
|
await Promise.allSettled(pending);
|
|
278
264
|
}
|
|
279
|
-
request(key, fetch
|
|
265
|
+
request(key, fetch) {
|
|
280
266
|
const existing = this.requests.get(key);
|
|
281
267
|
if (existing) return existing;
|
|
282
|
-
const task = fetch().
|
|
283
|
-
(
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
},
|
|
287
|
-
(error) => {
|
|
288
|
-
this.requests.delete(key);
|
|
289
|
-
throw error;
|
|
290
|
-
}
|
|
291
|
-
);
|
|
268
|
+
const task = fetch().catch((error) => {
|
|
269
|
+
this.requests.delete(key);
|
|
270
|
+
throw error;
|
|
271
|
+
});
|
|
292
272
|
this.requests.set(key, task);
|
|
293
273
|
return task;
|
|
294
274
|
}
|
|
295
275
|
async readDefault(kind, props) {
|
|
296
276
|
if (kind === "recordNo") return props.newSpecificConfig.newSnNo;
|
|
297
|
-
if (kind === "inspection") {
|
|
298
|
-
return this.request(
|
|
299
|
-
`inspection:${this.metadata.txnInstId ?? ""}`,
|
|
300
|
-
() => fetchInspectionModuleQty(this.metadata.txnInstId),
|
|
301
|
-
false
|
|
302
|
-
);
|
|
303
|
-
}
|
|
304
277
|
if (kind === "count") {
|
|
305
278
|
const params = { ...JSON.parse(this.metadata.params || "{}"), ...this.info.paramsConfig };
|
|
306
279
|
const name = params.materialNo || this.metadata.materialNo;
|
|
@@ -536,8 +509,7 @@ class RuntimeRuleCompiler {
|
|
|
536
509
|
props,
|
|
537
510
|
widget.id,
|
|
538
511
|
entry.row,
|
|
539
|
-
entry.parentRow
|
|
540
|
-
this.basicInfo.formChangeStatus
|
|
512
|
+
entry.parentRow
|
|
541
513
|
);
|
|
542
514
|
const state = resolveRuntimeFieldState(effectiveProps, this.basicInfo);
|
|
543
515
|
const rules = assembleRules({
|
|
@@ -638,8 +610,7 @@ class RuntimeRuleCompiler {
|
|
|
638
610
|
props,
|
|
639
611
|
widget.id,
|
|
640
612
|
entry.row,
|
|
641
|
-
entry.parentRow
|
|
642
|
-
this.basicInfo.formChangeStatus
|
|
613
|
+
entry.parentRow
|
|
643
614
|
);
|
|
644
615
|
return [
|
|
645
616
|
entry.key,
|
|
@@ -1200,39 +1171,6 @@ async function getModelQueries(opts) {
|
|
|
1200
1171
|
console.log("getModelQueries", res);
|
|
1201
1172
|
return res;
|
|
1202
1173
|
}
|
|
1203
|
-
async function fillSterilizationDate(txnInstId, metadata, formState) {
|
|
1204
|
-
if (txnInstId == null || txnInstId === "") return;
|
|
1205
|
-
const fields = metadata.fields.filter(({ widget }) => {
|
|
1206
|
-
const props = widget?.props;
|
|
1207
|
-
return props?.fieldType === FIELD_TYPE.STERILIZATION_DATE || props?.bizType === FIELD_TYPE.STERILIZATION_DATE;
|
|
1208
|
-
});
|
|
1209
|
-
if (!fields.length) return;
|
|
1210
|
-
const response = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
|
|
1211
|
-
{ modelCategory: "entity", modelKey: "em_sterilization_list", bsKey: "getOne" },
|
|
1212
|
-
{},
|
|
1213
|
-
{ query: { txn_inst_id_: txnInstId } }
|
|
1214
|
-
);
|
|
1215
|
-
const data = response && "data" in response ? response.data : void 0;
|
|
1216
|
-
const record = Array.isArray(data) ? data[0] : data;
|
|
1217
|
-
const date = record && typeof record === "object" && "sterilization_date_" in record ? record.sterilization_date_ : void 0;
|
|
1218
|
-
if (date == null || date === "") return;
|
|
1219
|
-
fields.forEach(({ widget, subFieldKey }) => {
|
|
1220
|
-
const field = getRuntimeDataFieldId(widget?.props);
|
|
1221
|
-
if (!field) return;
|
|
1222
|
-
if (subFieldKey) {
|
|
1223
|
-
const rows = formState[subFieldKey];
|
|
1224
|
-
if (Array.isArray(rows)) {
|
|
1225
|
-
rows.forEach((row) => {
|
|
1226
|
-
if (row && typeof row === "object" && !row[field]) {
|
|
1227
|
-
row[field] = date;
|
|
1228
|
-
}
|
|
1229
|
-
});
|
|
1230
|
-
}
|
|
1231
|
-
} else {
|
|
1232
|
-
if (!formState[field]) formState[field] = date;
|
|
1233
|
-
}
|
|
1234
|
-
});
|
|
1235
|
-
}
|
|
1236
1174
|
function uniqueItems(items, getKey) {
|
|
1237
1175
|
return Array.from(new Map(items.map((item) => [getKey(item), item])).values());
|
|
1238
1176
|
}
|
|
@@ -1348,13 +1286,12 @@ function assertUniqueSubTableOwnership(sheets) {
|
|
|
1348
1286
|
});
|
|
1349
1287
|
}
|
|
1350
1288
|
function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
1351
|
-
async function initializeRuntimeInstance(id, result
|
|
1289
|
+
async function initializeRuntimeInstance(id, result) {
|
|
1352
1290
|
if (isEmpty(result)) return;
|
|
1353
1291
|
const { selfInfo, paramsConfig, fillModeType } = result || {};
|
|
1354
1292
|
setFormulaParamsConfig({
|
|
1355
1293
|
routingParamList: selfInfo?.routingParamList || [],
|
|
1356
|
-
inspectionParamList: selfInfo?.inspectionParamList || []
|
|
1357
|
-
deviceParamList: selfInfo?.deviceParamList || []
|
|
1294
|
+
inspectionParamList: selfInfo?.inspectionParamList || []
|
|
1358
1295
|
});
|
|
1359
1296
|
let runtimeFormStateStore;
|
|
1360
1297
|
let scriptRunner;
|
|
@@ -1589,9 +1526,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1589
1526
|
window.NocodeAdapter.openUtil?.message({ type: "warning", content, duration: 8 });
|
|
1590
1527
|
}
|
|
1591
1528
|
});
|
|
1592
|
-
const defaultValueOrigins = new DesignerDefaultValues();
|
|
1593
1529
|
const defaultDataMap = renderUtils.getDefaultValueMapByField({
|
|
1594
|
-
onDesignerDefault: (field, value) => defaultValueOrigins.add(field.subFieldKey, field.fieldId, value),
|
|
1595
1530
|
objectProductDefaults,
|
|
1596
1531
|
defaultValueFields: fieldInfoMap.useDefaultValueFields,
|
|
1597
1532
|
mainMaterialNo: paramsConfig?.materialNo || selfInfo.materialNo,
|
|
@@ -1621,7 +1556,6 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1621
1556
|
tmplBomC.handleDefaultMap(defaultDataMap);
|
|
1622
1557
|
runtimeContext.defaultData = defaultDataMap;
|
|
1623
1558
|
const defaultData = transformUtils.getDefaultData({
|
|
1624
|
-
defaultValueOrigins,
|
|
1625
1559
|
defaultDataMap,
|
|
1626
1560
|
subTableInfo,
|
|
1627
1561
|
viewMode: result.fillModeType,
|
|
@@ -1660,7 +1594,6 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1660
1594
|
isMockReport: payload.isMockReport
|
|
1661
1595
|
});
|
|
1662
1596
|
const formState = transformUtils.conversionFormState({
|
|
1663
|
-
defaultValueOrigins,
|
|
1664
1597
|
defaultData,
|
|
1665
1598
|
paramData,
|
|
1666
1599
|
customData,
|
|
@@ -1678,9 +1611,6 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1678
1611
|
]
|
|
1679
1612
|
});
|
|
1680
1613
|
if (fillModeType === RenderModeEnum.FormMode) {
|
|
1681
|
-
if (options.initializeValues !== false && !payload.isMockReport) {
|
|
1682
|
-
await fillSterilizationDate(selfInfo.txnInstId, fieldInfoMap.fieldMetadata, formState);
|
|
1683
|
-
}
|
|
1684
1614
|
const floatingFields = sheetEntries.flatMap((entry) => {
|
|
1685
1615
|
const ids = entry.dataCenter[ComponentTypeEnum.PAPER]?.props?.floatingFieldIds ?? [];
|
|
1686
1616
|
return ids.map((fieldId) => entry.dataCenter[fieldId]).filter(Boolean);
|
|
@@ -1760,7 +1690,6 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1760
1690
|
// 注册表显式接收初始化阶段创建的 Store,避免通过 context.services 中转。
|
|
1761
1691
|
runtimeFormStateStore,
|
|
1762
1692
|
runtimeFieldMetadata: fieldInfoMap.fieldMetadata,
|
|
1763
|
-
defaultValueOrigins,
|
|
1764
1693
|
// 与 Store 一起显式移交给实例记录,basicInfo 不再携带脚本服务。
|
|
1765
1694
|
scriptRunner,
|
|
1766
1695
|
basicInfo: {
|
|
@@ -1797,9 +1726,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1797
1726
|
productSearchFields: payload?.deviceConfig?.defaultProductSearchFields ?? "",
|
|
1798
1727
|
showPrintFieldBg: paramsConfig?.showPrintFieldBg,
|
|
1799
1728
|
paramsConfig,
|
|
1800
|
-
|
|
1801
|
-
instanceStatus: selfInfo.instanceStatus,
|
|
1802
|
-
dataStatus: selfInfo.dataStatus
|
|
1729
|
+
instanceStatus: selfInfo.instanceStatus
|
|
1803
1730
|
},
|
|
1804
1731
|
selfInfo: runtimeSelfInfo
|
|
1805
1732
|
};
|
|
@@ -1844,6 +1771,7 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
|
|
|
1844
1771
|
if (!controller) continue;
|
|
1845
1772
|
const field = item.masterSubField;
|
|
1846
1773
|
controller.bindRuntime({
|
|
1774
|
+
ownerId: uniqueId,
|
|
1847
1775
|
tableDataRef: computed({
|
|
1848
1776
|
get: () => record.formState.state[field] ?? [],
|
|
1849
1777
|
set: (val) => {
|
|
@@ -2091,7 +2019,7 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
2091
2019
|
const quickSearchRenderData = async (uniqueId, currentSelfInfo, saveToken) => {
|
|
2092
2020
|
const runtimeRecord = runtimeRegistry.require(uniqueId);
|
|
2093
2021
|
const requestedRevision = saveToken?.revision ?? runtimeRecord.formState.revision;
|
|
2094
|
-
if (saveToken && !runtimeRecord.persistence.
|
|
2022
|
+
if (saveToken && !runtimeRecord.persistence.isLatestSaveRequest(saveToken)) return false;
|
|
2095
2023
|
const selfInfo = await payload.requestCallback({ id: currentSelfInfo.id });
|
|
2096
2024
|
const interfaceData = await baseDataUtils.requestRenderData({
|
|
2097
2025
|
info: currentSelfInfo,
|
|
@@ -2102,7 +2030,7 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
2102
2030
|
isMockReport: false
|
|
2103
2031
|
});
|
|
2104
2032
|
if (runtimeRegistry.get(uniqueId) !== runtimeRecord) return false;
|
|
2105
|
-
if (saveToken ? !runtimeRecord.persistence.
|
|
2033
|
+
if (saveToken ? !runtimeRecord.persistence.isLatestSaveRequest(saveToken) : requestedRevision !== runtimeRecord.formState.revision)
|
|
2106
2034
|
return false;
|
|
2107
2035
|
const runtimeContext = runtimeRecord.context;
|
|
2108
2036
|
const subTableCoreFactory = runtimeContext.services.subTableCoreFactory;
|
|
@@ -2122,6 +2050,10 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
2122
2050
|
...runtimeContext.businessIndex.checkTable2DList
|
|
2123
2051
|
]
|
|
2124
2052
|
});
|
|
2053
|
+
if (saveToken && (requestedRevision !== runtimeRecord.formState.revision || runtimeRecord.persistence.needsSaveIdentityRecovery(saveToken))) {
|
|
2054
|
+
runtimeRecord.formState.patchSavedIdentity(transformUtils.getFormDataIdsMap(newFormState));
|
|
2055
|
+
return false;
|
|
2056
|
+
}
|
|
2125
2057
|
const signatureKeys = (runtimeRecord.context.businessIndex.useSignatureFields || []).map(
|
|
2126
2058
|
(item) => item.fieldId
|
|
2127
2059
|
);
|
|
@@ -2543,7 +2475,6 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2543
2475
|
);
|
|
2544
2476
|
if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2545
2477
|
syncInspectionDecisionRule(uniqueId);
|
|
2546
|
-
record.defaultValueValidation?.requestCheck();
|
|
2547
2478
|
await record.validation.validate("display");
|
|
2548
2479
|
});
|
|
2549
2480
|
await record.controller.waitUntilPrepared();
|
|
@@ -2556,198 +2487,6 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2556
2487
|
prepareInitialView
|
|
2557
2488
|
};
|
|
2558
2489
|
}
|
|
2559
|
-
function createRuntimeDataSourceBinding(registry, payload) {
|
|
2560
|
-
const dataSourceManagerMap = shallowRef({});
|
|
2561
|
-
async function bindDataSources(record, info, selfInfo) {
|
|
2562
|
-
if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType))
|
|
2563
|
-
return;
|
|
2564
|
-
const isDetail = () => typeof payload.isDetailPage === "function" ? payload.isDetailPage() : payload.isDetailPage;
|
|
2565
|
-
if (isDetail()) return;
|
|
2566
|
-
const { context, formState } = record;
|
|
2567
|
-
const { uniqueId, formConfig } = context;
|
|
2568
|
-
const canExecute = () => registry.get(uniqueId) === record && info.renderModeType === RenderModeEnum.FormMode && !isDetail();
|
|
2569
|
-
const getContext = () => buildDataSourceContext({ parameters: info.paramsConfig ?? {}, instance: selfInfo });
|
|
2570
|
-
const manager = markRaw(
|
|
2571
|
-
createDataSourceManager({
|
|
2572
|
-
canExecute,
|
|
2573
|
-
initializeOnEnable: false,
|
|
2574
|
-
sources: formConfig.dataSources ?? [],
|
|
2575
|
-
onManualLoad: (key) => fieldFillRuntime?.reapplyDataSource(key),
|
|
2576
|
-
getContext,
|
|
2577
|
-
getInstanceId: () => info.key,
|
|
2578
|
-
getForm: () => formState.state,
|
|
2579
|
-
adapters: payload.dataSourceAdapters
|
|
2580
|
-
})
|
|
2581
|
-
);
|
|
2582
|
-
let taskSequence = 0;
|
|
2583
|
-
async function track(execute) {
|
|
2584
|
-
const result = await record.asyncTasks.run(
|
|
2585
|
-
`data-source:${uniqueId}:${++taskSequence}`,
|
|
2586
|
-
async () => {
|
|
2587
|
-
try {
|
|
2588
|
-
return { ok: true, value: await execute() };
|
|
2589
|
-
} catch (error) {
|
|
2590
|
-
return { ok: false, error };
|
|
2591
|
-
}
|
|
2592
|
-
}
|
|
2593
|
-
);
|
|
2594
|
-
if (!result) throw new Error(`数源实例已释放:${uniqueId}`);
|
|
2595
|
-
if (!result.ok) throw result.error;
|
|
2596
|
-
return result.value;
|
|
2597
|
-
}
|
|
2598
|
-
const exposedManager = markRaw({
|
|
2599
|
-
...manager,
|
|
2600
|
-
query: (...args) => track(() => manager.query(...args)),
|
|
2601
|
-
reload: (...args) => track(() => manager.reload(...args)),
|
|
2602
|
-
reloadAll: () => track(() => manager.reloadAll()),
|
|
2603
|
-
queryOnValueChange: (...args) => track(() => manager.queryOnValueChange(...args)),
|
|
2604
|
-
initialize: () => track(() => manager.initialize())
|
|
2605
|
-
});
|
|
2606
|
-
const protectedTargets = getLegacyFieldFillTargets(formConfig);
|
|
2607
|
-
const targets = /* @__PURE__ */ new Map();
|
|
2608
|
-
for (const { widget } of record.fields.allWidgets()) {
|
|
2609
|
-
const config = widget.props;
|
|
2610
|
-
const fieldKey = config.field;
|
|
2611
|
-
if (fieldKey && (config.subFieldKey || !config.subModelKey)) {
|
|
2612
|
-
const key = config.subFieldKey ? `${config.subFieldKey}.${fieldKey}` : fieldKey;
|
|
2613
|
-
targets.set(key, {
|
|
2614
|
-
table: config.subFieldKey,
|
|
2615
|
-
field: config.isFieldModel ? config.fieldLink || fieldKey : fieldKey,
|
|
2616
|
-
isFieldModel: !!config.isFieldModel
|
|
2617
|
-
});
|
|
2618
|
-
if (config.componentDependency?.configDependency?.assignment?.expression) {
|
|
2619
|
-
protectedTargets.add(key);
|
|
2620
|
-
}
|
|
2621
|
-
}
|
|
2622
|
-
if (config.enableAutofill !== false) {
|
|
2623
|
-
for (const rule of config.autofillRules ?? []) {
|
|
2624
|
-
if (rule.toField)
|
|
2625
|
-
protectedTargets.add(
|
|
2626
|
-
rule.toSubModel && rule.toSubFieldKey ? `${rule.toSubFieldKey}.${rule.toField}` : rule.toField
|
|
2627
|
-
);
|
|
2628
|
-
}
|
|
2629
|
-
}
|
|
2630
|
-
}
|
|
2631
|
-
const tableColumns = /* @__PURE__ */ new Map();
|
|
2632
|
-
for (const [key, target] of targets) {
|
|
2633
|
-
if (!target.table) continue;
|
|
2634
|
-
const columns = tableColumns.get(target.table) ?? /* @__PURE__ */ new Map();
|
|
2635
|
-
columns.set(key.slice(target.table.length + 1), target.isFieldModel ? `_OPCT.${target.field}` : target.field);
|
|
2636
|
-
tableColumns.set(target.table, columns);
|
|
2637
|
-
}
|
|
2638
|
-
for (const table of tableColumns.keys()) {
|
|
2639
|
-
targets.set(table, { field: table, isFieldModel: false });
|
|
2640
|
-
}
|
|
2641
|
-
const fieldFillRuntime = markRaw(
|
|
2642
|
-
createFieldFillRuntime({
|
|
2643
|
-
preserveExistingValues: true,
|
|
2644
|
-
fills: formConfig.fieldFills ?? [],
|
|
2645
|
-
manager,
|
|
2646
|
-
getContext,
|
|
2647
|
-
getForm: () => formState.state,
|
|
2648
|
-
getFormField: (key) => {
|
|
2649
|
-
const columns = tableColumns.get(key);
|
|
2650
|
-
if (columns) return getFieldFillTable(formState.state[key], columns);
|
|
2651
|
-
const target = targets.get(key);
|
|
2652
|
-
if (target?.table)
|
|
2653
|
-
return getFieldFillColumn(
|
|
2654
|
-
formState.state[target.table],
|
|
2655
|
-
target.isFieldModel ? `_OPCT.${target.field}` : target.field
|
|
2656
|
-
);
|
|
2657
|
-
return target?.isFieldModel ? formState.state._OPCT?.[target.field] : get(formState.state, key);
|
|
2658
|
-
},
|
|
2659
|
-
hasTargetField: (key) => targets.has(key),
|
|
2660
|
-
canWrite: (key) => canExecute() && targets.has(key) && !isFieldFillTargetProtected(key, protectedTargets, (field) => {
|
|
2661
|
-
const target = targets.get(field);
|
|
2662
|
-
const path = target?.isFieldModel ? `_OPCT.${target.field}` : target?.field ?? field;
|
|
2663
|
-
return target?.table ? `${target.table}.${path}` : path;
|
|
2664
|
-
}),
|
|
2665
|
-
setField: (key, value, collection) => {
|
|
2666
|
-
if (registry.get(uniqueId) !== record) throw new Error(`字段填充实例已释放:${uniqueId}`);
|
|
2667
|
-
const target = targets.get(key);
|
|
2668
|
-
const columns = tableColumns.get(key);
|
|
2669
|
-
if (columns) {
|
|
2670
|
-
formState.setField(key, buildFieldFillTableRows(formState.state[key], value, columns), "async");
|
|
2671
|
-
} else if (target.table) {
|
|
2672
|
-
const field = target.isFieldModel ? `_OPCT.${target.field}` : target.field;
|
|
2673
|
-
formState.setField(
|
|
2674
|
-
target.table,
|
|
2675
|
-
buildFieldFillRows(formState.state[target.table], field, value, collection),
|
|
2676
|
-
"async"
|
|
2677
|
-
);
|
|
2678
|
-
} else if (target.isFieldModel) {
|
|
2679
|
-
if (!formState.state._OPCT) formState.setField("_OPCT", { _DICT: {} }, "async");
|
|
2680
|
-
formState.setObjectField(
|
|
2681
|
-
formState.state._OPCT,
|
|
2682
|
-
target.field,
|
|
2683
|
-
value,
|
|
2684
|
-
"async",
|
|
2685
|
-
`_OPCT.${target.field}`
|
|
2686
|
-
);
|
|
2687
|
-
} else {
|
|
2688
|
-
formState.setField(target.field, value, "async");
|
|
2689
|
-
}
|
|
2690
|
-
}
|
|
2691
|
-
})
|
|
2692
|
-
);
|
|
2693
|
-
let initializationStarted = false;
|
|
2694
|
-
async function initializeOnce() {
|
|
2695
|
-
if (initializationStarted || !canExecute()) return;
|
|
2696
|
-
initializationStarted = true;
|
|
2697
|
-
try {
|
|
2698
|
-
await exposedManager.initialize();
|
|
2699
|
-
} catch (error) {
|
|
2700
|
-
initializationStarted = false;
|
|
2701
|
-
throw error;
|
|
2702
|
-
}
|
|
2703
|
-
}
|
|
2704
|
-
const stopModeWatch = watch(
|
|
2705
|
-
canExecute,
|
|
2706
|
-
(enabled) => {
|
|
2707
|
-
if (enabled) void initializeOnce().catch(() => void 0);
|
|
2708
|
-
},
|
|
2709
|
-
{ flush: "sync" }
|
|
2710
|
-
);
|
|
2711
|
-
record.dataSourceManager = exposedManager;
|
|
2712
|
-
dataSourceManagerMap.value = { ...dataSourceManagerMap.value, [uniqueId]: exposedManager };
|
|
2713
|
-
registry.registerDisposable(uniqueId, () => {
|
|
2714
|
-
stopModeWatch();
|
|
2715
|
-
record.dataSourceManager = void 0;
|
|
2716
|
-
fieldFillRuntime?.dispose();
|
|
2717
|
-
manager.dispose();
|
|
2718
|
-
const { [uniqueId]: _, ...rest } = dataSourceManagerMap.value;
|
|
2719
|
-
dataSourceManagerMap.value = rest;
|
|
2720
|
-
});
|
|
2721
|
-
await initializeOnce();
|
|
2722
|
-
}
|
|
2723
|
-
return { dataSourceManagerMap, bindDataSources };
|
|
2724
|
-
}
|
|
2725
|
-
async function queryInitialValueDataSources(record) {
|
|
2726
|
-
const manager = record.dataSourceManager;
|
|
2727
|
-
if (!manager?.canExecute()) return;
|
|
2728
|
-
const keys = /* @__PURE__ */ new Set();
|
|
2729
|
-
for (const { widget, referenceInfo } of record.fields.allWidgets()) {
|
|
2730
|
-
const props = widget.props;
|
|
2731
|
-
const bindings = props.valueChangeDataSourceKeys;
|
|
2732
|
-
if (!bindings?.length) continue;
|
|
2733
|
-
const field = getRuntimeDataFieldId(props);
|
|
2734
|
-
if (!field) continue;
|
|
2735
|
-
const path = props.isFieldModel ? `_OPCT.${field}` : field;
|
|
2736
|
-
const present = listRuntimeFieldRows(
|
|
2737
|
-
record,
|
|
2738
|
-
props.subFieldKey,
|
|
2739
|
-
referenceInfo?.scopeFieldId ?? field
|
|
2740
|
-
).some(({ row }) => {
|
|
2741
|
-
const value = get(row, path);
|
|
2742
|
-
return value != null && value !== "" && (!Array.isArray(value) || value.length > 0);
|
|
2743
|
-
});
|
|
2744
|
-
if (!present) continue;
|
|
2745
|
-
for (const key of bindings) {
|
|
2746
|
-
if (manager.states[key]?.status === "idle") keys.add(key);
|
|
2747
|
-
}
|
|
2748
|
-
}
|
|
2749
|
-
if (keys.size) await manager.queryOnValueChange([...keys]);
|
|
2750
|
-
}
|
|
2751
2490
|
function createRuntimeAnnotationBinding(runtimeRegistry, basicInfoList, props, payload, updateRenderModeType) {
|
|
2752
2491
|
const normalizeAnnotationLocation = (uniqueId, path, sheetId) => {
|
|
2753
2492
|
const record = runtimeRegistry.require(uniqueId);
|
|
@@ -2852,10 +2591,6 @@ function useRenderPageFactory(props, payload) {
|
|
|
2852
2591
|
const finisher = ref(0);
|
|
2853
2592
|
const runtimeRegistry = new RuntimeInstanceRegistry();
|
|
2854
2593
|
provide(NCB_PROVIDE.RUNTIME_INSTANCE_REGISTRY, runtimeRegistry);
|
|
2855
|
-
const { dataSourceManagerMap, bindDataSources } = createRuntimeDataSourceBinding(
|
|
2856
|
-
runtimeRegistry,
|
|
2857
|
-
payload
|
|
2858
|
-
);
|
|
2859
2594
|
const basicInfoList = ref([]);
|
|
2860
2595
|
const selfInfoList = ref([]);
|
|
2861
2596
|
const { getConsumeData } = useMaterialBalance();
|
|
@@ -2894,21 +2629,13 @@ function useRenderPageFactory(props, payload) {
|
|
|
2894
2629
|
payload,
|
|
2895
2630
|
getConsumeData
|
|
2896
2631
|
);
|
|
2897
|
-
const initializedInstanceIds = /* @__PURE__ */ new Set();
|
|
2898
|
-
let currentInstanceIdsKey;
|
|
2899
2632
|
const getInstanceData = createRuntimeRequestSource(props, payload);
|
|
2900
2633
|
const pipeline = createRuntimeLoadPipeline(runtimeRegistry.loadState, {
|
|
2901
2634
|
request: getInstanceData,
|
|
2902
|
-
prepare: (sources) => prepareRuntimeBatch(
|
|
2903
|
-
sources,
|
|
2904
|
-
(id, source) => initializeRuntimeInstance(id, source, {
|
|
2905
|
-
initializeValues: !initializedInstanceIds.has(id)
|
|
2906
|
-
})
|
|
2907
|
-
),
|
|
2635
|
+
prepare: (sources) => prepareRuntimeBatch(sources, initializeRuntimeInstance),
|
|
2908
2636
|
install: async (prepared, isCurrent) => {
|
|
2909
2637
|
clear();
|
|
2910
2638
|
const installed = [];
|
|
2911
|
-
const dataSourceBindings = [];
|
|
2912
2639
|
const installedSelfInfos = /* @__PURE__ */ new Set();
|
|
2913
2640
|
try {
|
|
2914
2641
|
for (const res of prepared) {
|
|
@@ -2941,25 +2668,16 @@ function useRenderPageFactory(props, payload) {
|
|
|
2941
2668
|
basicInfoList.value.push(res.basicInfo);
|
|
2942
2669
|
selfInfoList.value.push(res.selfInfo);
|
|
2943
2670
|
installedSelfInfos.add(selfInfoList.value[selfInfoList.value.length - 1]);
|
|
2944
|
-
|
|
2945
|
-
record.ruleCompiler = markRaw(new RuntimeRuleCompiler(record, reactiveInfo));
|
|
2671
|
+
record.ruleCompiler = markRaw(new RuntimeRuleCompiler(record, reactive(res.basicInfo)));
|
|
2946
2672
|
bindRuntimeValidation(uniqueId);
|
|
2947
2673
|
bindFormValidationSync(uniqueId);
|
|
2948
2674
|
record.fieldInitializer = markRaw(
|
|
2949
2675
|
new RuntimeFieldInitializer(record, res.basicInfo, res.selfInfo)
|
|
2950
2676
|
);
|
|
2951
|
-
record.defaultValueValidation = markRaw(
|
|
2952
|
-
new RuntimeDefaultValueValidation(record, reactiveInfo, res.defaultValueOrigins)
|
|
2953
|
-
);
|
|
2954
2677
|
bindRuntimeBusinessServices(runtimeRegistry, record, res.selfInfo.dataStatus);
|
|
2955
|
-
dataSourceBindings.push(bindDataSources(record, reactiveInfo, res.selfInfo));
|
|
2956
2678
|
}
|
|
2957
|
-
await Promise.all(dataSourceBindings);
|
|
2958
|
-
if (!isCurrent()) return;
|
|
2959
2679
|
await Promise.all(installed.map(prepareInitialView));
|
|
2960
2680
|
if (!isCurrent()) return;
|
|
2961
|
-
await Promise.all(installed.map(queryInitialValueDataSources));
|
|
2962
|
-
if (!isCurrent()) return;
|
|
2963
2681
|
const selfId = Array.isArray(props.selfId) ? props.selfId[0] : props.selfId;
|
|
2964
2682
|
if (selfId)
|
|
2965
2683
|
await payload.onFinisher?.(props.selfId, findBasicInsInfo(selfId)?.renderModeType);
|
|
@@ -2970,10 +2688,7 @@ function useRenderPageFactory(props, payload) {
|
|
|
2970
2688
|
record.formState.markClean();
|
|
2971
2689
|
payload.onFormStateReady?.(record.formState);
|
|
2972
2690
|
}
|
|
2973
|
-
if (isCurrent())
|
|
2974
|
-
prepared.forEach(({ basicInfo }) => initializedInstanceIds.add(basicInfo.key));
|
|
2975
|
-
finisher.value++;
|
|
2976
|
-
}
|
|
2691
|
+
if (isCurrent()) finisher.value++;
|
|
2977
2692
|
} catch (error) {
|
|
2978
2693
|
const failedIds = /* @__PURE__ */ new Set();
|
|
2979
2694
|
installed.forEach((record) => {
|
|
@@ -2998,11 +2713,6 @@ function useRenderPageFactory(props, payload) {
|
|
|
2998
2713
|
const ids = (Array.isArray(requestIds) ? requestIds : [requestIds]).filter(
|
|
2999
2714
|
(id) => typeof id === "string" && !!id
|
|
3000
2715
|
);
|
|
3001
|
-
const instanceIdsKey = JSON.stringify([...new Set(ids)].sort());
|
|
3002
|
-
if (instanceIdsKey !== currentInstanceIdsKey) {
|
|
3003
|
-
initializedInstanceIds.clear();
|
|
3004
|
-
currentInstanceIdsKey = instanceIdsKey;
|
|
3005
|
-
}
|
|
3006
2716
|
if (!ids.length) {
|
|
3007
2717
|
pipeline.invalidate();
|
|
3008
2718
|
clear();
|
|
@@ -3032,7 +2742,6 @@ function useRenderPageFactory(props, payload) {
|
|
|
3032
2742
|
clear();
|
|
3033
2743
|
});
|
|
3034
2744
|
return {
|
|
3035
|
-
dataSourceManagerMap,
|
|
3036
2745
|
counter,
|
|
3037
2746
|
finisher,
|
|
3038
2747
|
loading,
|
|
@@ -3684,9 +3393,9 @@ class FormAnnotationController {
|
|
|
3684
3393
|
const items = this.normalizeAllResponse(res);
|
|
3685
3394
|
this.applyAnnotationItems(items, () => true);
|
|
3686
3395
|
return items;
|
|
3687
|
-
} catch (
|
|
3688
|
-
console.error("加载所有批注信息 error",
|
|
3689
|
-
throw
|
|
3396
|
+
} catch (e3) {
|
|
3397
|
+
console.error("加载所有批注信息 error", e3);
|
|
3398
|
+
throw e3;
|
|
3690
3399
|
}
|
|
3691
3400
|
};
|
|
3692
3401
|
handleOpenAnnotation = async () => {
|
|
@@ -3733,251 +3442,251 @@ function filterAnnotationItemsUpToCurrent(items) {
|
|
|
3733
3442
|
});
|
|
3734
3443
|
}
|
|
3735
3444
|
export {
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3445
|
+
aM as AITooltips,
|
|
3446
|
+
A3 as AllocateTableCore,
|
|
3447
|
+
B3 as BaseFormModelFetcher,
|
|
3448
|
+
aO as BinarizeMethodOptions,
|
|
3449
|
+
a$ as BindCmpStyleEnum,
|
|
3450
|
+
a0 as BooleanShowMode,
|
|
3742
3451
|
B2 as BorderTD,
|
|
3743
3452
|
BpmnNodeTypeEnum,
|
|
3744
|
-
|
|
3745
|
-
|
|
3453
|
+
bz as BpmnSignatureTypeEnum,
|
|
3454
|
+
bA as ButtonTypeEnum,
|
|
3746
3455
|
B as BwipCodeType,
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3456
|
+
bB as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3457
|
+
y as CellType,
|
|
3458
|
+
af as CellWidgetViewState,
|
|
3750
3459
|
CheckDsTypeEnum,
|
|
3751
|
-
|
|
3460
|
+
bC as CodeRunner,
|
|
3752
3461
|
ComponentTypeEnum,
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3462
|
+
bD as Config_Fields,
|
|
3463
|
+
bE as ControlStatusEnum,
|
|
3464
|
+
bc as DEVICE_GROUP_QUERY_KEY,
|
|
3465
|
+
bF as DEVICE_SEARCH_API,
|
|
3466
|
+
aR as DateFormat,
|
|
3467
|
+
ay as DecimalDisplayMode,
|
|
3468
|
+
aN as DenoiseMethodOptions,
|
|
3469
|
+
ap as DeviceConnector,
|
|
3470
|
+
aK as DeviceLink,
|
|
3471
|
+
m as DeviceLinkTmplUtil,
|
|
3472
|
+
aL as DeviceParamsTypeTitle,
|
|
3764
3473
|
D as DevicePartConsumeTableCore,
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3474
|
+
bG as DeviceStatus,
|
|
3475
|
+
ag as DiagonalDirection,
|
|
3476
|
+
ak as DiagonalVertex,
|
|
3477
|
+
a32 as DocumentLayout,
|
|
3478
|
+
aq as DocumentLoading,
|
|
3479
|
+
a12 as DocumentPaper,
|
|
3480
|
+
ar as DynamicQuickFillModal,
|
|
3481
|
+
a22 as DynamicTableAction,
|
|
3482
|
+
bH as EBR_PROVIDE_ENUM,
|
|
3483
|
+
bI as EFieldBizTypeEnum,
|
|
3484
|
+
H as EMPTY_PRODUCT_VERSION_ID,
|
|
3485
|
+
aE as EmptySymbol,
|
|
3486
|
+
a2 as FallbackSignTypeEnum,
|
|
3487
|
+
ae as FieldSysVarDefaultValueEnum,
|
|
3779
3488
|
FillingTypeEnum,
|
|
3780
|
-
|
|
3489
|
+
as as FixedQuickFillModal,
|
|
3781
3490
|
FormAnnotationController,
|
|
3782
|
-
|
|
3491
|
+
F2 as FormModelController,
|
|
3783
3492
|
FormTmplBomController,
|
|
3784
|
-
|
|
3493
|
+
at as FormTmplConfigController,
|
|
3785
3494
|
FormTypeEnum,
|
|
3786
|
-
|
|
3495
|
+
az as ImageDisplayModeEnum,
|
|
3787
3496
|
InstanceStatusValues,
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3497
|
+
aP as JoinModelTypeEum,
|
|
3498
|
+
au2 as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3499
|
+
av as LEGACY_RUNTIME_SHEET_ID,
|
|
3500
|
+
aw as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3501
|
+
$ as LabelPosition,
|
|
3502
|
+
ai as LineDirection,
|
|
3794
3503
|
L as LineType,
|
|
3795
|
-
|
|
3504
|
+
bJ as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3796
3505
|
M as MAX_RUNTIME_SHEETS,
|
|
3797
3506
|
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3507
|
+
M3 as MBRender,
|
|
3508
|
+
ax as MCDataUtil,
|
|
3509
|
+
a8 as MCRender,
|
|
3510
|
+
b as MULTI_SHEET_SCHEMA_VERSION,
|
|
3802
3511
|
MaterialConsumeTableController,
|
|
3803
3512
|
MaterialConsumptionPatternEnum,
|
|
3804
3513
|
M2 as MaterialRequisitionTableCore,
|
|
3805
3514
|
MaterialStatusEnum,
|
|
3806
|
-
|
|
3807
|
-
|
|
3515
|
+
a7 as MaterialSubstitutionTableCore,
|
|
3516
|
+
bK as MobileFillTypeEnum,
|
|
3808
3517
|
NCB_PROVIDE,
|
|
3809
|
-
|
|
3810
|
-
|
|
3518
|
+
ay2 as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3519
|
+
bL as OfficeTypeEnum,
|
|
3811
3520
|
O as Orientation,
|
|
3812
|
-
|
|
3521
|
+
p as PageSizeEnum,
|
|
3813
3522
|
P as PaginationFormat,
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3523
|
+
a9 as PaperSizeMap,
|
|
3524
|
+
o as PaperWidgeType,
|
|
3525
|
+
Q as PaperWidgeValueType,
|
|
3526
|
+
A as ParamModelTypeEnum,
|
|
3818
3527
|
P2 as PartStocktakeTableCore,
|
|
3819
3528
|
PlatformEnum,
|
|
3820
|
-
|
|
3821
|
-
|
|
3529
|
+
bM as PosEnum,
|
|
3530
|
+
b3 as PretreatmentListTableCore,
|
|
3822
3531
|
c as ProfileDrivenSubTableCore,
|
|
3823
|
-
|
|
3824
|
-
|
|
3532
|
+
bN as RUNTIME_COLUMN_ROW_KEY,
|
|
3533
|
+
au as RangeCompareOp,
|
|
3825
3534
|
RangeValidateMode,
|
|
3826
3535
|
RenderModeEnum,
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3536
|
+
az2 as RuntimeAsyncTaskCoordinator,
|
|
3537
|
+
aA as RuntimeDependencyService,
|
|
3538
|
+
aB as RuntimeFieldRegistry,
|
|
3830
3539
|
RuntimeFormStateStore,
|
|
3831
3540
|
RuntimeInstanceController,
|
|
3832
|
-
|
|
3541
|
+
aC as RuntimeInstanceEventBus,
|
|
3833
3542
|
RuntimeInstanceRegistry,
|
|
3834
|
-
|
|
3543
|
+
aD as RuntimePersistenceCoordinator,
|
|
3835
3544
|
RuntimeRuleCompiler,
|
|
3836
3545
|
RuntimeSheetService,
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3546
|
+
aE2 as RuntimeValidationService,
|
|
3547
|
+
a5 as SignShowTypeEnum,
|
|
3548
|
+
a1 as SignatureImageDirectionEnum,
|
|
3549
|
+
a3 as SignatureNumberTypeEnum,
|
|
3550
|
+
a4 as SignatureTimeTypeEnum,
|
|
3551
|
+
a6 as SignatureTypeEnum,
|
|
3552
|
+
d as SterilizeBatchTableCore,
|
|
3553
|
+
e2 as StocktakeTableCore,
|
|
3554
|
+
aF as SubTableCore,
|
|
3846
3555
|
SubTableCoreFactory,
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3556
|
+
f as SubTableType,
|
|
3557
|
+
bO as SummaryApproveHisTypeEnum,
|
|
3558
|
+
aj as TimeDiffFormat,
|
|
3559
|
+
an as ViewTypeEnum,
|
|
3560
|
+
W as WarehouseInTableCore,
|
|
3852
3561
|
f2 as WarehouseInboundTableCore,
|
|
3853
3562
|
g as WarehouseOutTableCore,
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3563
|
+
h as WarehouseOutboundTableCore,
|
|
3564
|
+
ah as WidgetImageSizeMode,
|
|
3565
|
+
bP as applyCheckDsDataToRuntime,
|
|
3566
|
+
F as applyConsumeObjectTraceChange,
|
|
3567
|
+
bQ as applyMedProCheckDsDataToRuntime,
|
|
3859
3568
|
baseDataUtils,
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3569
|
+
bR as bindRuntimeTableColumns,
|
|
3570
|
+
bS as buildDeviceBaseQuery,
|
|
3571
|
+
bb as buildDeviceFilterQuery,
|
|
3572
|
+
aG as buildFormChangeDisplayRows,
|
|
3573
|
+
w as buildObjectLotExtraQuery,
|
|
3865
3574
|
buildRuntimeFieldPath,
|
|
3866
|
-
|
|
3867
|
-
|
|
3575
|
+
bT as calcFillData,
|
|
3576
|
+
bU as calcUtils,
|
|
3868
3577
|
calculateFormula,
|
|
3869
3578
|
collectAnnotationItemsByLocation,
|
|
3870
3579
|
collectFormChangeFieldLocations,
|
|
3871
3580
|
commonUtils,
|
|
3872
3581
|
convertHistoricalAnnotationLocation,
|
|
3873
|
-
|
|
3874
|
-
|
|
3582
|
+
aH as convertV1Runtime,
|
|
3583
|
+
e as createRuntimeDocumentV2,
|
|
3875
3584
|
createRuntimeInstanceContext,
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3585
|
+
bV as decodeTableCellRowKey,
|
|
3586
|
+
aI as detailsHaveFormChangeRowOps,
|
|
3587
|
+
bW as encodeTableCellRowKey,
|
|
3879
3588
|
enrichFormChangeRowDetails,
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3589
|
+
bX as ensureFrontRowKey,
|
|
3590
|
+
bY as ensureTableRowKeys,
|
|
3591
|
+
aJ as extractFormChangeRowDetails,
|
|
3592
|
+
bZ as extractKeywordFromQueryData,
|
|
3593
|
+
b_ as fetchCheckDsDataForTable,
|
|
3594
|
+
b$ as fetchCustomCheckDsData,
|
|
3886
3595
|
fetchHistoryConsume,
|
|
3887
|
-
|
|
3596
|
+
c0 as fetchMedProCheckDsData,
|
|
3888
3597
|
fetchOperationReceiveQty,
|
|
3889
3598
|
fetchUdi,
|
|
3890
3599
|
filterAnnotationItemsUpToCurrent,
|
|
3891
|
-
|
|
3892
|
-
|
|
3600
|
+
bf as findRuntimeParentRow,
|
|
3601
|
+
c1 as findRuntimeTableCell,
|
|
3893
3602
|
findRuntimeTableRow,
|
|
3894
3603
|
getAppInfo,
|
|
3895
3604
|
getBusinessFieldKey,
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3605
|
+
c2 as getCheckTableSnapshotKey,
|
|
3606
|
+
aK2 as getFormChangeRowKey,
|
|
3607
|
+
aL2 as getFormChangeRowOp,
|
|
3608
|
+
aX as getLotLockedReason,
|
|
3609
|
+
v as getObjectBomMaterialLotQuery,
|
|
3610
|
+
G as getObjectBomProductQuery,
|
|
3902
3611
|
getParseFormulaVarInfos,
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3612
|
+
c3 as getParseRuleConfig,
|
|
3613
|
+
b0 as getParseRuleInfo,
|
|
3614
|
+
b1 as getParseRuleValue,
|
|
3615
|
+
c4 as getReinspectionDate,
|
|
3616
|
+
c5 as getRenderedRuntimeTableCell,
|
|
3908
3617
|
getRuntimeDataFieldId,
|
|
3909
3618
|
getRuntimeDependencyOutputKey,
|
|
3910
|
-
|
|
3619
|
+
aM2 as getSubTableQuickFillInfo,
|
|
3911
3620
|
getSuiteKey,
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3621
|
+
c6 as handleOldConfig,
|
|
3622
|
+
c7 as hasAnyCheckTableSnapshot,
|
|
3623
|
+
c8 as hasByTableCheckTableSnapshot,
|
|
3624
|
+
c9 as hasSharedCheckTableSnapshot,
|
|
3625
|
+
aN2 as isAnnLocationSelected,
|
|
3626
|
+
aO2 as isBlank,
|
|
3918
3627
|
isBomGranted,
|
|
3919
3628
|
isEdhrSuite,
|
|
3920
3629
|
isEqmSuite,
|
|
3921
|
-
|
|
3922
|
-
|
|
3630
|
+
aP2 as isFormChangeGhostRow,
|
|
3631
|
+
ca as isMedProSuite,
|
|
3923
3632
|
isRowAddedInCurrentFormChange,
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3633
|
+
cb as isTableRowKeyMatch,
|
|
3634
|
+
cc as jsonSchemaUtils,
|
|
3635
|
+
cd as judgeUnique,
|
|
3636
|
+
aW as materialCheck,
|
|
3637
|
+
ce as migrateDiagonalDirectionToVertex,
|
|
3929
3638
|
nextFormChangeRowViewHistoryId,
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3639
|
+
o2 as normalizeAIOcrTmpl,
|
|
3640
|
+
I as normalizeHistoricalAutofillRow,
|
|
3641
|
+
l as normalizeHistoricalBusinessRow,
|
|
3642
|
+
aQ2 as normalizeHistoricalFieldConfig,
|
|
3643
|
+
b2 as normalizeRefLoaderResult,
|
|
3935
3644
|
normalizeRuntime,
|
|
3936
3645
|
parseFrontConfig,
|
|
3937
3646
|
parseRuntimeFieldPath,
|
|
3938
3647
|
parseUdi,
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3648
|
+
aR2 as pickObjectFieldKeys,
|
|
3649
|
+
aS as recordSubtableRowAdd,
|
|
3650
|
+
aT as recordSubtableRowDelete,
|
|
3651
|
+
b9 as refUtils,
|
|
3652
|
+
aU as relocateDeletedRowsToEnd,
|
|
3944
3653
|
renderUtils,
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3654
|
+
cf as requestMedProCheckDsData,
|
|
3655
|
+
cg as requestNonMedProCheckDsData,
|
|
3656
|
+
aV as resolveAnnotationFieldLocation,
|
|
3657
|
+
al as resolveDiagonalVertex,
|
|
3658
|
+
t as resolveFieldRenderComponent,
|
|
3659
|
+
aW2 as resolveFormChangeRowUi,
|
|
3660
|
+
A2 as resolveObjectBomEntry,
|
|
3661
|
+
x as resolveObjectFieldKeys,
|
|
3662
|
+
aX2 as resolveRowFormChangeMark,
|
|
3954
3663
|
resolveUdiQuery,
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3664
|
+
C as runWithFillProduct,
|
|
3665
|
+
r as setSelectAnnotationId,
|
|
3666
|
+
aY2 as setSelectMobileTdId,
|
|
3667
|
+
s as setSelectValidatorId,
|
|
3668
|
+
ch as splitRuntimeDataPath,
|
|
3669
|
+
aQ as sqlUtils,
|
|
3670
|
+
ci as stockCheck,
|
|
3671
|
+
aZ as stripLegacyFormConfigFromPaper,
|
|
3963
3672
|
transformUtils,
|
|
3964
|
-
|
|
3673
|
+
T as useDependency,
|
|
3965
3674
|
useEbrWikiFactoryV2,
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3675
|
+
U as useFieldPresentation,
|
|
3676
|
+
u2 as useFormModel,
|
|
3677
|
+
u as useFormTmplConfig,
|
|
3969
3678
|
useMaterialBalance,
|
|
3970
3679
|
useNocodeEmitter,
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3680
|
+
E as useNocodeFormWidget,
|
|
3681
|
+
cj as useOnlineFormActionButton,
|
|
3682
|
+
bg as useOnlineFormTransformField2Component,
|
|
3974
3683
|
useRenderPageFactory,
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3684
|
+
V as useRuntimeEditorFlusher,
|
|
3685
|
+
q as useRuntimeInstanceServices,
|
|
3686
|
+
t2 as useRuntimeRowState,
|
|
3687
|
+
S as useStyles,
|
|
3688
|
+
p2 as useWidgetStaticAttrs,
|
|
3689
|
+
z as validateObjectBomForScan,
|
|
3981
3690
|
validateObjectBomQtyOnSubmit,
|
|
3982
|
-
|
|
3691
|
+
aY as validateReinspectionDate
|
|
3983
3692
|
};
|