@gct-paas/excel 0.1.33-beta.1 → 0.1.33-beta.3

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.
Files changed (92) hide show
  1. package/dist/{BaseComponent-CAe1GFCG.js → BaseComponent-B2hP5Pw4.js} +1 -1
  2. package/dist/{VueVideoPlayer-BR4RbIhY.js → VueVideoPlayer-D0SQGvMx.js} +2 -2
  3. package/dist/{align-editor-jvwZmJhi.js → align-editor-Ss2gJqa-.js} +1 -1
  4. package/dist/{barcode-design-D-RUtBUQ.js → barcode-design-BFzqHQiU.js} +2 -2
  5. package/dist/base/index.es.js +27 -23
  6. package/dist/{diagonal-design-D0-8xfY9.js → diagonal-design-BOgBDFhw.js} +2 -2
  7. package/dist/{dynamic-table-action-CuwejY0h.js → dynamic-table-action-CZyU0uX-.js} +68 -34
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js} +6 -6
  9. package/dist/{edit.utils-CXmmCnxE-DsHacnTy.js → edit.utils-CXmmCnxE-CaZYkGtk.js} +1 -1
  10. package/dist/excel.css +190 -103
  11. package/dist/{exceljs.min-Cq93OYx0.js → exceljs.min-CL4ixZ7E.js} +2 -2
  12. package/dist/{font-editor-STIcKQS9.js → font-editor--RkQO3lZ.js} +3 -3
  13. package/dist/{image-design-BE0reQ2L.js → image-design-hTV7cmpq.js} +2 -2
  14. package/dist/{index-uyTvicTO.js → index-0naSKwsT.js} +1 -1
  15. package/dist/{index-D1qAQzmB.js → index-B0ftNZvu.js} +2 -2
  16. package/dist/{index-vCGSByW_.js → index-B4NdWTOz.js} +2 -2
  17. package/dist/{index-B8UxP4I8.js → index-B93hJuCY.js} +2 -2
  18. package/dist/{index-TfrN14XT.js → index-BAzqPgHB.js} +2 -2
  19. package/dist/{index-D9JmIbUb.js → index-Bb9_9KOc.js} +1 -1
  20. package/dist/{index-DogAqNJV.js → index-Bday1WBV.js} +2 -2
  21. package/dist/{index-B_Vz06n5.js → index-BiyCBnHO.js} +2 -2
  22. package/dist/{index-BHKYBIU4.js → index-Bs12lNOF.js} +1 -1
  23. package/dist/{index-D5ZIZcxA.js → index-Buys_3U5.js} +2 -2
  24. package/dist/{index-C1qPKXtI.js → index-Bx19JyfY.js} +2 -2
  25. package/dist/{index-CZ_rns9z.js → index-C1GtA4g0.js} +3 -3
  26. package/dist/{index-DvbyBcoW.js → index-C6HZCpzU.js} +3 -3
  27. package/dist/{index-CTtq3ytv.js → index-C6lVuYjH.js} +2 -2
  28. package/dist/{index-CxOH8cdl.js → index-CBWRF4iQ.js} +1 -1
  29. package/dist/{index-CZjv5O4w.js → index-CM8l268J.js} +2 -2
  30. package/dist/{index-CsE9ftfx.js → index-CV3riQ3c.js} +5 -2
  31. package/dist/{index-BzYqBsXt.js → index-CbVXT1EA.js} +1 -1
  32. package/dist/{index-CaAA6yTk.js → index-CfGEDuF1.js} +2 -2
  33. package/dist/{index-BR8jTu0U.js → index-ChSN-9IZ.js} +3 -3
  34. package/dist/{index-D5aim6xd.js → index-D1uEF2Q-.js} +1 -1
  35. package/dist/{index-BDEROc8n.js → index-D7gXCAL1.js} +2 -2
  36. package/dist/{index-DwQuEur6.js → index-D9MOQLTY.js} +2 -2
  37. package/dist/{index-DcN-7DVw.js → index-DE57M0YO.js} +1033 -659
  38. package/dist/{index-GZPHkfRf.js → index-Dq4VxDIZ.js} +2 -2
  39. package/dist/{index-Gqpg9XkM.js → index-DtWqWakF.js} +2 -2
  40. package/dist/{index-CrlUK3mJ.js → index-Dy1XEEdO.js} +3 -3
  41. package/dist/{index-7fOfFIWA.js → index-KYZ_LYw8.js} +1 -1
  42. package/dist/{index-ByFo5Dnd.js → index-M-byfdiF.js} +2 -2
  43. package/dist/{index-wGLH0bRh.js → index-QOhjFhUU.js} +1 -1
  44. package/dist/{index-Dl5qzD_4.js → index-Tw10Pcrk.js} +2 -2
  45. package/dist/{index-CzZMgyTs.js → index-hQB6BP8F.js} +1 -1
  46. package/dist/{index-OQIgIej5.js → index-m1firQQM.js} +1 -1
  47. package/dist/{index-Boh-6KTf.js → index-wk08lqwx.js} +3 -3
  48. package/dist/index.es.js +2 -2
  49. package/dist/{mb-render-CtCYbeiE.js → mb-render-lZnQMwuY.js} +1 -1
  50. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhcW_QTf.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Dxi-5wnV.js} +1 -1
  51. package/dist/{pagination-design-Dww0Y1-3.js → pagination-design-pvBExwoS.js} +2 -2
  52. package/dist/paper-widget-design-EyXcTSiH.js +4 -0
  53. package/dist/{qrcode-design-D0aSeR4l.js → qrcode-design-_r1y2z0S.js} +1 -1
  54. package/dist/{revo-grid.entry-DI2rNob_.js → revo-grid.entry-BxGIzM1P.js} +1 -1
  55. package/dist/{revogr-attribution_7.entry-CBbD7d-g.js → revogr-attribution_7.entry-D-RfLR2_.js} +3 -3
  56. package/dist/{revogr-clipboard_3.entry-CLAxZ5jH.js → revogr-clipboard_3.entry-CZXj_qxx.js} +2 -2
  57. package/dist/{revogr-data_4.entry-7VW0g6vl.js → revogr-data_4.entry-3DDluLT2.js} +2 -2
  58. package/dist/{revogr-filter-panel.entry-DGHVS3a2.js → revogr-filter-panel.entry-DIcPvy6A.js} +1 -1
  59. package/dist/{serialnumber-design-D37xioAJ.js → serialnumber-design-BgIZu0sW.js} +1 -1
  60. package/dist/shared/index.es.js +2 -2
  61. package/dist/{single-field-drop-D5eogcuY.js → single-field-drop-BmfB0cFh.js} +2 -2
  62. package/dist/{size-editor-_oGc1_8M.js → size-editor-B5f5QFKt.js} +1 -1
  63. package/dist/src/adapter/adapter.d.ts +2 -0
  64. package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
  65. package/dist/src/domain/table/design/ribbon-options.d.ts +1 -0
  66. package/dist/src/nocode-base/src/constant/index.d.ts +1 -1
  67. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +1 -1
  68. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +3 -0
  69. package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +10 -0
  70. package/dist/src/nocode-base/src/types/fields/index.d.ts +1 -1
  71. package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +7 -0
  72. package/dist/src/shared/components/Signature/types/index.d.ts +2 -0
  73. package/dist/src/shared/enum/online-form.d.ts +1 -1
  74. package/dist/{text-design-CHoQtOBi.js → text-design-CL4vW6_6.js} +2 -2
  75. package/dist/{throttle-Cpk1LoGk-CEvaM6uf.js → throttle-Cpk1LoGk-D8x0_nKc.js} +1 -1
  76. package/dist/{timediff-design-BxItKsBW.js → timediff-design-CsDLmpYK.js} +1 -1
  77. package/dist/{trace-like-wrapper-BNwwljhN.js → trace-like-wrapper-CN1r_p0q.js} +2 -2
  78. package/dist/{value-editor.vue_vue_type_style_index_0_lang-WwOnevs0.js → value-editor.vue_vue_type_style_index_0_lang-uJX95eBu.js} +2 -2
  79. package/dist/web-render/index.es.js +3 -3
  80. package/dist/{widget-barcode-CmzvEEWx.js → widget-barcode-DnmtoWub.js} +4 -4
  81. package/dist/{widget-diagonal-B6Mvq_Ck.js → widget-diagonal-B1TWmift.js} +3 -3
  82. package/dist/{widget-image-DPd6ZI2K.js → widget-image-2vKSM-4A.js} +5 -5
  83. package/dist/{widget-line-BRgNGqLk.js → widget-line-CMhLpz1J.js} +2 -2
  84. package/dist/{widget-pagination-Dn3BpM0I.js → widget-pagination-BbBqIFQl.js} +5 -5
  85. package/dist/{widget-power-C6BzkxLE.js → widget-power-RwhwkZsD.js} +3 -3
  86. package/dist/{widget-qrcode-_Fe3bqQy.js → widget-qrcode-CS04KQo2.js} +3 -3
  87. package/dist/{widget-rangelimit-Dlt83D9J.js → widget-rangelimit-CIi48Jim.js} +3 -3
  88. package/dist/{widget-serialnumber-VA2ngpH9.js → widget-serialnumber-DjR6E2Ly.js} +1 -1
  89. package/dist/{widget-text-CiwYrzt_.js → widget-text-zKDMBfNF.js} +5 -5
  90. package/dist/{widget-timediff-Ch3L6a1S.js → widget-timediff-CMNrQYov.js} +2 -2
  91. package/package.json +2 -2
  92. package/dist/paper-widget-design-D_mxf4dD.js +0 -4
@@ -1,4 +1,4 @@
1
- import { n as normalizeFieldWidth } from "./dynamic-table-action-CuwejY0h.js";
1
+ import { n as normalizeFieldWidth } from "./dynamic-table-action-CZyU0uX-.js";
2
2
  import { get, pick } from "lodash-es";
3
3
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
4
4
  class BaseComponent {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, toRaw, shallowRef, computed, ref, readonly, onMounted, watch, normalizeClass, onBeforeUnmount, h as h$1, watchEffect, unref, createVNode, reactive } from "vue";
2
- import { J as commonjsGlobal, K as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js";
3
- import { r as require$$0 } from "./index-B8UxP4I8.js";
2
+ import { J as commonjsGlobal, K as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
3
+ import { r as require$$0 } from "./index-B93hJuCY.js";
4
4
  var window_1;
5
5
  var hasRequiredWindow;
6
6
  function requireWindow() {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
2
- import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js";
2
+ import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
3
3
  const _hoisted_1 = { class: "align-group-box" };
4
4
  const _hoisted_2 = ["onClick"];
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { u as useSpreadSheet, d as useModelFields, l as loadBwip } from "./index-DcN-7DVw.js";
4
- import { N as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js";
3
+ import { u as useSpreadSheet, d as useModelFields, l as loadBwip } from "./index-DE57M0YO.js";
4
+ import { N as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
7
  const _hoisted_1 = { class: "wrapper" };
@@ -1,11 +1,11 @@
1
- import { bv as fetchHistoryConsume, bw as isBomGranted, F as FIELD_TYPE, A as api, bx as F$1, by as SCAN_ROW_CONTENT_FIELDS, bz as F$2, bA as F$3, bB as runRowHandler, h as getProfileByTableType, f as isBusinessSubTableProfile, bC as F$4, bD as F$5, bE as FILL_FROM_SOURCE_PRODUCT_OPTION, bF as FILL_FROM_TARGET_MATERIAL_NO_OPTION, bG as FILL_FROM_INVENTORY_OPTION, bH as FILL_FROM_PART_OPTION, bI as FILL_FROM_INVENTORY_OPTION$1, bJ as TABLE_TYPE, bK as FILL_FROM_INVENTORY_OPTION$2, ba as F$6, bL as INVENTORY_BASE_FIELDS, bM as resolveGroupByWarehouse, bN as AUTO_LOAD_READONLY_SELECT_FIELDS, b9 as STOCKTAKE_DIMENSION, b5 as getParseRuleInfo, bO as buildFillFromInventoryOption, bP as calcFillData, bQ as resolveStocktakeInventoryApi, b6 as getParseRuleValue, bR as F$7, bS as FILL_FROM_INVENTORY_OPTION$3, bT as extractKeywordFromQueryData, bU as composeProductionLotListQuery, aJ as resolveLotDisplayLabel, bV as F$8, bW as isProductManuallyEditable, bX as applyFillFromMfgOrderOption, bY as applyFillFromOption$1, bZ as applyFillFromProductOption, aX as LOT_CONTAINER_ROLE, b_ as MATERIAL_CONTAINER_ID, b$ as F$9, c0 as PRODUCT_QUICK_SEARCH_FIELDS, c1 as PRODUCT_QUICK_SEARCH_EXP, c2 as isProductManuallyEditable$1, c3 as applyFillFromMaterialNoOption, c4 as applyFillFromProductOption$1, c5 as F$a, c6 as FILL_FROM_INVENTORY_OPTION$4, X as FormTypeEnum, bf as transformUtils, m as SubTableType, a7 as _export_sfc, a_ as NCB_PROVIDE, c7 as settleAndValidateDisplay, c8 as unregisterValidationContext, c9 as clearFormRules, ca as registerValidationContext, C as ComponentTypeEnum, bl as RenderModeEnum, cb as requestFullValidation, cc as requestDisplayValidation, aZ as renderUtils, cd as closeValidatorPopovers, ce as baseDataUtils, cf as getRawFormRuleMeta, cg as enrichFormChangeRowDetails, ch as settleAfterModeSwitch, ci as calcUtils, cj as evaluateInspectionDecisionRule, aK as CheckDsTypeEnum, _ as PlatformEnum, ck as uuid2, cl as normalizeToArray, cm as safeParseArray, cn as BpmnNodeTypeEnum, co as mergeByMultiKey, bu as useNocodeEmitter, cp as commonUtils, aI as EntityModelCategoryEnum, cq as getRowId, cr as collectFormChangeFieldLocations, cs as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js";
2
- import { aN, aP, b4, a0, ct, cu, B, cv, y, af, cw, cx, cy, bh, cz, aW, ay, aO, aL, aM, cA, ag, ak, cB, cC, aF, a2, ae, az, aR, $, ai, L, cD, cE, O, p, P, a8, o, N, aQ, cF, ax, aw, a5, a1, a3, a4, a6, cG, aj, an, ah, cH, cI, cJ, bg, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, b1, cV, cW, cX, bi, cY, cZ, c_, c$, d0, d1, d2, d3, d4, d5, d6, b0, d7, b8, d8, d9, da, be, db, dc, dd, de, al, t, df, dg, aV, dh, aU, aS, di, Q, b7, bm, b3, dj, bk, aT, bj, b2 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js";
3
- import { M as MaterialConsumptionPatternEnum, p as MaterialConsumeTableController, i as isEdhrSuite, q as SubTableActionMenuTypeEnum, s as getMenuByAction, t as SubTableActionEnum, w as resolveScanFillData, x as SubTableCore, y as getInsertSubMenu, z as resolveScanAdjustType, A as resolveScanQty, C as toDateOnly, F as getCopySubMenu, G as resolveScanParsedValue, H as isProductBatchEmptyRow, J as useMaterialBalance, K as validate, L as validateObjectBomQtyOnSubmit } from "../dynamic-table-action-CuwejY0h.js";
4
- import { B as B2, N as N2, D, _, O as O2, m, P as P2, o as o2, E, Q as Q2, T, I, U, V, e, b, h, f, W, g, j, X, Y, Z, $ as $2, a0 as a02, c, r, a1 as a12, d, u, k, a, l, v } from "../dynamic-table-action-CuwejY0h.js";
1
+ import { bv as fetchHistoryConsume, bw as isBomGranted, F as FIELD_TYPE, A as api, bx as F$1, by as SCAN_ROW_CONTENT_FIELDS, bz as F$2, bA as F$3, bB as runRowHandler, h as getProfileByTableType, f as isBusinessSubTableProfile, bC as F$4, bD as F$5, bE as FILL_FROM_SOURCE_PRODUCT_OPTION, bF as FILL_FROM_TARGET_MATERIAL_NO_OPTION, bG as FILL_FROM_INVENTORY_OPTION, bH as FILL_FROM_PART_OPTION, bI as FILL_FROM_INVENTORY_OPTION$1, bJ as TABLE_TYPE, bK as FILL_FROM_INVENTORY_OPTION$2, ba as F$6, bL as INVENTORY_BASE_FIELDS, bM as resolveGroupByWarehouse, bN as AUTO_LOAD_READONLY_SELECT_FIELDS, b9 as STOCKTAKE_DIMENSION, b5 as getParseRuleInfo, bO as buildFillFromInventoryOption, bP as calcFillData, bQ as resolveStocktakeInventoryApi, b6 as getParseRuleValue, bR as F$7, bS as FILL_FROM_INVENTORY_OPTION$3, bT as extractKeywordFromQueryData, bU as composeProductionLotListQuery, aJ as resolveLotDisplayLabel, bV as F$8, bW as isProductManuallyEditable, bX as applyFillFromMfgOrderOption, bY as applyFillFromOption$1, bZ as applyFillFromProductOption, aX as LOT_CONTAINER_ROLE, b_ as MATERIAL_CONTAINER_ID, b$ as F$9, c0 as PRODUCT_QUICK_SEARCH_FIELDS, c1 as PRODUCT_QUICK_SEARCH_EXP, c2 as isProductManuallyEditable$1, c3 as applyFillFromMaterialNoOption, c4 as applyFillFromProductOption$1, c5 as F$a, c6 as FILL_FROM_INVENTORY_OPTION$4, X as FormTypeEnum, bf as transformUtils, m as SubTableType, a7 as _export_sfc, a_ as NCB_PROVIDE, c7 as settleAndValidateDisplay, c8 as unregisterValidationContext, c9 as clearFormRules, ca as registerValidationContext, C as ComponentTypeEnum, bl as RenderModeEnum, cb as requestFullValidation, cc as requestDisplayValidation, aZ as renderUtils, cd as closeValidatorPopovers, ce as baseDataUtils, cf as getRawFormRuleMeta, cg as enrichFormChangeRowDetails, ch as settleAfterModeSwitch, ci as calcUtils, cj as evaluateInspectionDecisionRule, aK as CheckDsTypeEnum, _ as PlatformEnum, ck as uuid2, cl as normalizeToArray, cm as safeParseArray, cn as BpmnNodeTypeEnum, co as mergeByMultiKey, bu as useNocodeEmitter, cp as commonUtils, aI as EntityModelCategoryEnum, cq as getRowId, cr as collectFormChangeFieldLocations, cs as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
2
+ import { aN, aP, b4, a0, ct, cu, B, cv, y, af, cw, cx, cy, bh, cz, aW, ay, aO, aL, aM, cA, ag, ak, cB, cC, aF, a2, ae, az, aR, $, ai, L, cD, cE, O, p, P, a8, o, N, aQ, cF, ax, aw, a5, a1, a3, a4, a6, cG, aj, an, ah, cH, cI, cJ, bg, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, b1, cV, cW, cX, bi, cY, cZ, c_, c$, d0, d1, d2, d3, d4, d5, d6, b0, d7, b8, d8, d9, da, be, db, dc, dd, de, al, t, df, dg, aV, dh, aU, aS, di, Q, b7, bm, b3, dj, bk, aT, bj, b2 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
3
+ import { M as MaterialConsumptionPatternEnum, q as MaterialConsumeTableController, i as isEdhrSuite, s as SubTableActionMenuTypeEnum, t as getMenuByAction, w as SubTableActionEnum, x as resolveScanFillData, y as SubTableCore, z as getInsertSubMenu, A as resolveScanAdjustType, C as resolveScanQty, F as toDateOnly, G as getCopySubMenu, H as resolveScanParsedValue, J as isProductBatchEmptyRow, K as useMaterialBalance, L as validate, N as validateObjectBomQtyOnSubmit, O as setFormulaParamsConfig } from "../dynamic-table-action-CZyU0uX-.js";
4
+ import { B as B2, P as P2, D, _, Q as Q2, o as o2, T, p as p2, E, U, V, I, W, X, e, b, h, f, Y, g, j, Z, $ as $2, a0 as a02, a1 as a12, a2 as a22, c, r, a3 as a32, d, u, k, a, l, v } from "../dynamic-table-action-CZyU0uX-.js";
5
5
  import { ref, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, provide, watch, computed, onUnmounted, onBeforeMount } from "vue";
6
6
  import { defaults, has, merge, isEmpty, cloneDeep, debounce } from "lodash-es";
7
7
  import "dayjs";
8
- import { B as B3, F, M, a as a7, u as u2 } from "../mb-render-CtCYbeiE.js";
8
+ import { B as B3, F, M, a as a7, u as u2 } from "../mb-render-lZnQMwuY.js";
9
9
  var MaterialStatusEnum = /* @__PURE__ */ ((MaterialStatusEnum2) => {
10
10
  MaterialStatusEnum2["LOT"] = "LOT";
11
11
  MaterialStatusEnum2["SN"] = "SN";
@@ -2589,6 +2589,10 @@ function useRenderPageFactory(props, payload) {
2589
2589
  if (isEmpty(result)) return;
2590
2590
  console.log("Processing data for id:", result);
2591
2591
  const { selfInfo, paramsConfig, fillModeType } = result || {};
2592
+ setFormulaParamsConfig({
2593
+ routingParamList: selfInfo?.routingParamList || [],
2594
+ inspectionParamList: selfInfo?.inspectionParamList || []
2595
+ });
2592
2596
  const cloneRuntimeJson = cloneDeep(JSON.parse(selfInfo?.runtimeJson || "{}"));
2593
2597
  const paper = cloneRuntimeJson[ComponentTypeEnum.PAPER];
2594
2598
  const isFormInstance = payload.factoryType === "instance" || payload.factoryType === "batchInstance" || !!selfInfo?.tmplId;
@@ -3758,8 +3762,8 @@ function useFormulaExpWatcher(options) {
3758
3762
  debouncedCompute();
3759
3763
  return;
3760
3764
  }
3761
- for (const p2 of parseInfos) {
3762
- const { type, processed, hashValue } = p2;
3765
+ for (const p3 of parseInfos) {
3766
+ const { type, processed, hashValue } = p3;
3763
3767
  if (type === "plain") {
3764
3768
  const stop2 = watch(
3765
3769
  () => currentPageFormState.value?.[processed],
@@ -4011,7 +4015,7 @@ export {
4011
4015
  aW as DateFormat,
4012
4016
  ay as DecimalDisplayMode,
4013
4017
  aO as DenoiseMethodOptions,
4014
- N2 as DeviceConnector,
4018
+ P2 as DeviceConnector,
4015
4019
  aL as DeviceLink,
4016
4020
  D as DeviceLinkTmplUtil,
4017
4021
  aM as DeviceParamsTypeTitle,
@@ -4020,10 +4024,10 @@ export {
4020
4024
  ag as DiagonalDirection,
4021
4025
  ak as DiagonalVertex,
4022
4026
  _ as DocumentLayout,
4023
- O2 as DocumentLoading,
4024
- m as DocumentPaper,
4025
- P2 as DynamicQuickFillModal,
4026
- o2 as DynamicTableAction,
4027
+ Q2 as DocumentLoading,
4028
+ o2 as DocumentPaper,
4029
+ T as DynamicQuickFillModal,
4030
+ p2 as DynamicTableAction,
4027
4031
  cB as EBR_PROVIDE_ENUM,
4028
4032
  cC as EFieldBizTypeEnum,
4029
4033
  E as EMPTY_PRODUCT_VERSION_ID,
@@ -4031,11 +4035,11 @@ export {
4031
4035
  a2 as FallbackSignTypeEnum,
4032
4036
  ae as FieldSysVarDefaultValueEnum,
4033
4037
  FillingTypeEnum,
4034
- Q2 as FixedQuickFillModal,
4038
+ U as FixedQuickFillModal,
4035
4039
  FormAnnotationController,
4036
4040
  F as FormModelController,
4037
4041
  FormTmplBomController,
4038
- T as FormTmplConfigController,
4042
+ V as FormTmplConfigController,
4039
4043
  FormTypeEnum,
4040
4044
  az as ImageDisplayModeEnum,
4041
4045
  I as InstanceStatusValues,
@@ -4044,7 +4048,7 @@ export {
4044
4048
  ai as LineDirection,
4045
4049
  L as LineType,
4046
4050
  M as MBRender,
4047
- U as MCDataUtil,
4051
+ W as MCDataUtil,
4048
4052
  a7 as MCRender,
4049
4053
  MaterialConsumeTableController,
4050
4054
  MaterialConsumptionPatternEnum,
@@ -4053,7 +4057,7 @@ export {
4053
4057
  MaterialSubstitutionTableCore,
4054
4058
  cD as MobileFillTypeEnum,
4055
4059
  NCB_PROVIDE,
4056
- V as OCR_MODEL_PRECISION_ENUM_KEY,
4060
+ X as OCR_MODEL_PRECISION_ENUM_KEY,
4057
4061
  cE as OfficeTypeEnum,
4058
4062
  O as Orientation,
4059
4063
  p as PageSizeEnum,
@@ -4115,7 +4119,7 @@ export {
4115
4119
  h as fetchOperationReceiveQty,
4116
4120
  f as fetchUdi,
4117
4121
  filterAnnotationItemsUpToCurrent,
4118
- W as getAppInfo,
4122
+ Y as getAppInfo,
4119
4123
  cS as getCheckTableSnapshotKey,
4120
4124
  cT as getFormChangeRowKey,
4121
4125
  cU as getFormChangeRowOp,
@@ -4127,7 +4131,7 @@ export {
4127
4131
  getParseRuleValue,
4128
4132
  cW as getReinspectionDate,
4129
4133
  cX as getSubTableQuickFillInfo,
4130
- X as getSuiteKey,
4134
+ Z as getSuiteKey,
4131
4135
  bi as getValidationRuleKeys,
4132
4136
  cY as handleOldConfig,
4133
4137
  cZ as hasAnyCheckTableSnapshot,
@@ -4135,10 +4139,10 @@ export {
4135
4139
  c$ as hasSharedCheckTableSnapshot,
4136
4140
  d0 as insertSubtableRows,
4137
4141
  d1 as isAnnLocationSelected,
4138
- Y as isBlank,
4142
+ $2 as isBlank,
4139
4143
  isBomGranted,
4140
4144
  isEdhrSuite,
4141
- Z as isEqmSuite,
4145
+ a02 as isEqmSuite,
4142
4146
  d2 as isFormChangeGhostRow,
4143
4147
  d3 as isMedProSuite,
4144
4148
  d4 as isRowAddedInCurrentFormChange,
@@ -4149,8 +4153,8 @@ export {
4149
4153
  nextFormChangeRowViewHistoryId,
4150
4154
  b8 as normalizeRefLoaderResult,
4151
4155
  d8 as parseFrontConfig,
4152
- $2 as parseUdi,
4153
- a02 as pickObjectFieldKeys,
4156
+ a12 as parseUdi,
4157
+ a22 as pickObjectFieldKeys,
4154
4158
  d9 as recordSubtableRowAdd,
4155
4159
  da as recordSubtableRowDelete,
4156
4160
  be as refUtils,
@@ -4168,7 +4172,7 @@ export {
4168
4172
  c as resolveObjectBomEntry,
4169
4173
  r as resolveObjectFieldKeys,
4170
4174
  dg as resolveRowFormChangeMark,
4171
- a12 as resolveUdiQuery,
4175
+ a32 as resolveUdiQuery,
4172
4176
  d as runWithFillProduct,
4173
4177
  aV as setSelectAnnotationId,
4174
4178
  dh as setSelectMobileTdId,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { d as useModelFields, D as Diagonal } from "./index-DcN-7DVw.js";
3
- import { al as resolveDiagonalVertex, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js";
2
+ import { d as useModelFields, D as Diagonal } from "./index-DE57M0YO.js";
3
+ import { al as resolveDiagonalVertex, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,10 +1,10 @@
1
1
  import { computed, watch, toRaw, onUnmounted, markRaw, ref, inject, unref, provide, nextTick, reactive, defineComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, toRef, isVNode, h, onMounted, onBeforeMount, resolveComponent, createBlock, withCtx, Fragment, renderList, createTextVNode } from "vue";
2
- import { C as ComponentTypeEnum, aT as useWidgetStaticAttrs, _ as PlatformEnum, dk as assembleRules, dl as deleteFormRule, dm as setFormRule, cc as requestDisplayValidation, dn as isReferenceOptionActive, dp as validateAllFields, dq as runValidation, dr as ensureFrontRowKey, ds as FRONT_ROW_KEY, cq as getRowId, b5 as getParseRuleInfo, bf as transformUtils, b0 as materialCheck, b1 as getLotLockedReason, b2 as validateReinspectionDate, bn as FormulaRuleFieldKeyEnum, a_ as NCB_PROVIDE, F as FIELD_TYPE, dt as buildError, A as api, m as SubTableType, du as isPersistedSignatureLockActive, dv as isSignatureLockActive, b6 as getParseRuleValue, ck as uuid2, aL as DeviceLink, a7 as _export_sfc, cK as buildFormChangeDisplayRows, dg as resolveRowFormChangeMark, df as resolveFormChangeRowUi, d1 as isAnnLocationSelected, dh as setSelectMobileTdId, d2 as isFormChangeGhostRow, y as CellType, aV as setSelectAnnotationId, da as recordSubtableRowDelete, cM as deleteSubtableRow, db as relocateDeletedRowsToEnd, d0 as insertSubtableRows, d9 as recordSubtableRowAdd, H as useModal, dw as q, dx as groupFixedTableRows, dy as QUICK_FILL_ALLOWED_FIELDS, dz as processQuickFillRows, dA as getIsGroupEmpty, bl as RenderModeEnum, cX as getSubTableQuickFillInfo } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js";
2
+ import { C as ComponentTypeEnum, aT as useWidgetStaticAttrs, _ as PlatformEnum, dk as assembleRules, dl as deleteFormRule, dm as setFormRule, cc as requestDisplayValidation, dn as isReferenceOptionActive, dp as validateAllFields, dq as runValidation, dr as ensureFrontRowKey, ds as FRONT_ROW_KEY, cq as getRowId, b5 as getParseRuleInfo, bf as transformUtils, b0 as materialCheck, b1 as getLotLockedReason, b2 as validateReinspectionDate, bn as FormulaRuleFieldKeyEnum, a_ as NCB_PROVIDE, F as FIELD_TYPE, dt as buildError, A as api, m as SubTableType, du as isPersistedSignatureLockActive, dv as isSignatureLockActive, b6 as getParseRuleValue, ck as uuid2, aL as DeviceLink, a7 as _export_sfc, cK as buildFormChangeDisplayRows, dg as resolveRowFormChangeMark, df as resolveFormChangeRowUi, d1 as isAnnLocationSelected, dh as setSelectMobileTdId, d2 as isFormChangeGhostRow, y as CellType, aV as setSelectAnnotationId, da as recordSubtableRowDelete, cM as deleteSubtableRow, db as relocateDeletedRowsToEnd, d0 as insertSubtableRows, d9 as recordSubtableRowAdd, H as useModal, dw as q, dx as groupFixedTableRows, dy as QUICK_FILL_ALLOWED_FIELDS, dz as processQuickFillRows, dA as getIsGroupEmpty, bl as RenderModeEnum, cX as getSubTableQuickFillInfo } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
3
3
  import { isNil, cloneDeep, merge, pickBy, mergeWith, omit, last, pick } from "lodash-es";
4
4
  import dayjs from "dayjs";
5
5
  import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
6
6
  import { Modal, message } from "ant-design-vue";
7
- import { u as useFormModel } from "./mb-render-CtCYbeiE.js";
7
+ import { u as useFormModel } from "./mb-render-lZnQMwuY.js";
8
8
  const InstanceStatusValues = {
9
9
  /** 作废状态 */
10
10
  ABANDON: "ABANDON",
@@ -3440,6 +3440,38 @@ class SubTableCore {
3440
3440
  console.log(this.ctx.widget.props.tableTitle, "处理表单按钮点击事件", params);
3441
3441
  }
3442
3442
  }
3443
+ let currentParamsConfig = {
3444
+ routingParamList: [],
3445
+ inspectionParamList: []
3446
+ };
3447
+ function setFormulaParamsConfig(paramsConfig = {}) {
3448
+ currentParamsConfig = paramsConfig ?? {};
3449
+ }
3450
+ async function CALC_IS_QUALIFIED(key, value, paramList) {
3451
+ if (!key || value == null) {
3452
+ return null;
3453
+ }
3454
+ const config = paramList?.find((e) => e.customFieldKey === key);
3455
+ if (!config) return null;
3456
+ const { upperLimit, lowerLimit } = config;
3457
+ if (lowerLimit == null || upperLimit == null) return null;
3458
+ const actual = Number(value);
3459
+ const min = Number(config.lowerLimit);
3460
+ const max = Number(config.upperLimit);
3461
+ if (![actual, min, max].every(Number.isFinite)) return null;
3462
+ return actual >= min && actual <= max;
3463
+ }
3464
+ const FORMULA_FUNCS = {
3465
+ RoutingParamCheck: (key, value) => CALC_IS_QUALIFIED(key, value, currentParamsConfig.routingParamList || []),
3466
+ InspectionParamCheck: (key, value) => CALC_IS_QUALIFIED(key, value, currentParamsConfig.inspectionParamList || [])
3467
+ };
3468
+ function registerFormulaFuncs() {
3469
+ const register = window.NocodeAdapter.utils?.formulaRegister;
3470
+ if (!register) return;
3471
+ Object.entries(FORMULA_FUNCS).forEach(([k, func]) => {
3472
+ register(k, func);
3473
+ });
3474
+ }
3443
3475
  class DeviceLinkTmplUtil {
3444
3476
  static DEFAULT_RECOMMENDED_PROMPT = "任务:图片OCR文字提取\n规则:不虚构内容,找不到数据返回空,仅输出提取结果\n结果填充至${目标字段}\n填写提取规则:";
3445
3477
  /**
@@ -6236,37 +6268,39 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6236
6268
  });
6237
6269
  const DynamicTableAction = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-53d7e66c"]]);
6238
6270
  export {
6239
- parseUdi as $,
6240
- resolveScanQty as A,
6271
+ isBlank$2 as $,
6272
+ resolveScanAdjustType as A,
6241
6273
  BorderTD as B,
6242
- toDateOnly as C,
6274
+ resolveScanQty as C,
6243
6275
  DeviceLinkTmplUtil as D,
6244
6276
  EMPTY_PRODUCT_VERSION_ID as E,
6245
- getCopySubMenu as F,
6246
- resolveScanParsedValue as G,
6247
- isProductBatchEmptyRow as H,
6277
+ toDateOnly as F,
6278
+ getCopySubMenu as G,
6279
+ resolveScanParsedValue as H,
6248
6280
  InstanceStatusValues as I,
6249
- useMaterialBalance as J,
6250
- validate as K,
6251
- validateObjectBomQtyOnSubmit as L,
6281
+ isProductBatchEmptyRow as J,
6282
+ useMaterialBalance as K,
6283
+ validate as L,
6252
6284
  MaterialConsumptionPatternEnum as M,
6253
- DeviceConnector as N,
6254
- DocumentLoading as O,
6255
- DynamicQuickFillModal as P,
6256
- FixedQuickFillModal as Q,
6285
+ validateObjectBomQtyOnSubmit as N,
6286
+ setFormulaParamsConfig as O,
6287
+ DeviceConnector as P,
6288
+ DocumentLoading as Q,
6257
6289
  RequiredQtyCalcRule as R,
6258
6290
  ScanParamType as S,
6259
- FormTmplConfigController as T,
6260
- MCDataUtil as U,
6261
- OCR_MODEL_PRECISION_ENUM_KEY as V,
6262
- getAppInfo as W,
6263
- getSuiteKey as X,
6264
- isBlank$2 as Y,
6265
- isEqmSuite as Z,
6291
+ DynamicQuickFillModal as T,
6292
+ FixedQuickFillModal as U,
6293
+ FormTmplConfigController as V,
6294
+ MCDataUtil as W,
6295
+ OCR_MODEL_PRECISION_ENUM_KEY as X,
6296
+ getAppInfo as Y,
6297
+ getSuiteKey as Z,
6266
6298
  _sfc_main$5 as _,
6267
6299
  useTmplBom as a,
6268
- pickObjectFieldKeys as a0,
6269
- resolveUdiQuery as a1,
6300
+ isEqmSuite as a0,
6301
+ parseUdi as a1,
6302
+ pickObjectFieldKeys as a2,
6303
+ resolveUdiQuery as a3,
6270
6304
  buildObjectLotExtraQuery as b,
6271
6305
  resolveObjectBomEntry as c,
6272
6306
  runWithFillProduct as d,
@@ -6278,18 +6312,18 @@ export {
6278
6312
  getObjectBomProductQuery as j,
6279
6313
  useStyles as k,
6280
6314
  useValidator as l,
6281
- DocumentPaper as m,
6315
+ registerFormulaFuncs as m,
6282
6316
  normalizeFieldWidth as n,
6283
- DynamicTableAction as o,
6284
- MaterialConsumeTableController as p,
6285
- SubTableActionMenuTypeEnum as q,
6317
+ DocumentPaper as o,
6318
+ DynamicTableAction as p,
6319
+ MaterialConsumeTableController as q,
6286
6320
  resolveObjectFieldKeys as r,
6287
- getMenuByAction as s,
6288
- SubTableActionEnum as t,
6321
+ SubTableActionMenuTypeEnum as s,
6322
+ getMenuByAction as t,
6289
6323
  useFormTmplConfig as u,
6290
6324
  validateObjectBomForScan as v,
6291
- resolveScanFillData as w,
6292
- SubTableCore as x,
6293
- getInsertSubMenu as y,
6294
- resolveScanAdjustType as z
6325
+ SubTableActionEnum as w,
6326
+ resolveScanFillData as x,
6327
+ SubTableCore as y,
6328
+ getInsertSubMenu as z
6295
6329
  };
@@ -63354,7 +63354,7 @@ const fields$4 = [
63354
63354
  const TABLE_TYPE$6 = "material-requisition";
63355
63355
  const profile$6 = {
63356
63356
  type: TABLE_TYPE$6,
63357
- label: "生产收料表",
63357
+ label: "产线收料表",
63358
63358
  labelKey: "sys.pageDesigner.fieldCmp.material_requisition",
63359
63359
  category: "business",
63360
63360
  ribbonAction: "material-requisition",
@@ -69724,27 +69724,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
69724
69724
  case "revo-grid":
69725
69725
  return import(
69726
69726
  /* webpackMode: "lazy" */
69727
- "./revo-grid.entry-DI2rNob_.js"
69727
+ "./revo-grid.entry-BxGIzM1P.js"
69728
69728
  ).then(processMod, consoleError);
69729
69729
  case "revogr-filter-panel":
69730
69730
  return import(
69731
69731
  /* webpackMode: "lazy" */
69732
- "./revogr-filter-panel.entry-DGHVS3a2.js"
69732
+ "./revogr-filter-panel.entry-DIcPvy6A.js"
69733
69733
  ).then(processMod, consoleError);
69734
69734
  case "revogr-attribution_7":
69735
69735
  return import(
69736
69736
  /* webpackMode: "lazy" */
69737
- "./revogr-attribution_7.entry-CBbD7d-g.js"
69737
+ "./revogr-attribution_7.entry-D-RfLR2_.js"
69738
69738
  ).then(processMod, consoleError);
69739
69739
  case "revogr-clipboard_3":
69740
69740
  return import(
69741
69741
  /* webpackMode: "lazy" */
69742
- "./revogr-clipboard_3.entry-CLAxZ5jH.js"
69742
+ "./revogr-clipboard_3.entry-CZXj_qxx.js"
69743
69743
  ).then(processMod, consoleError);
69744
69744
  case "revogr-data_4":
69745
69745
  return import(
69746
69746
  /* webpackMode: "lazy" */
69747
- "./revogr-data_4.entry-7VW0g6vl.js"
69747
+ "./revogr-data_4.entry-3DDluLT2.js"
69748
69748
  ).then(processMod, consoleError);
69749
69749
  }
69750
69750
  }
@@ -1,4 +1,4 @@
1
- import { eG as EDIT_INPUT_WR, eH as keyValues, ey as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js";
1
+ import { eG as EDIT_INPUT_WR, eH as keyValues, ey as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
2
2
  function isClear(code) {
3
3
  return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
4
4
  }