@gct-paas/excel 0.1.39-beta.30 → 0.1.39-beta.32

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 (91) hide show
  1. package/dist/{BaseComponent-BkwxLOiM.js → BaseComponent-BZ7vpBcD.js} +2 -2
  2. package/dist/{VueVideoPlayer-DmZ_P4Cp.js → VueVideoPlayer-CTtss6-e.js} +2 -2
  3. package/dist/{align-editor-C1Fj-34U.js → align-editor-0EJDQ9xk.js} +1 -1
  4. package/dist/{barcode-design-D90bLWOL.js → barcode-design-CU6ykxXr.js} +2 -2
  5. package/dist/base/index.es.js +170 -170
  6. package/dist/{diagonal-design-YbEx-5SA.js → diagonal-design-bgZAeLZP.js} +2 -2
  7. package/dist/{dynamic-table-action-DXlLVZZF.js → dynamic-table-action-BvHth2cC.js} +679 -123
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js} +503 -1083
  9. package/dist/{edit.utils-CXmmCnxE-BMWwEMfe.js → edit.utils-CXmmCnxE-Cj0XviBc.js} +1 -1
  10. package/dist/excel.css +68 -17
  11. package/dist/{exceljs.min-B-mYUB0l.js → exceljs.min-Cr5txU5w.js} +2 -2
  12. package/dist/{font-editor-D0dV4bEL.js → font-editor-BIEWxnat.js} +3 -3
  13. package/dist/{image-design-DkQBDv9K.js → image-design-AOi1nT_M.js} +2 -2
  14. package/dist/{index-BEkX75av.js → index-0cS2b0oE.js} +2 -2
  15. package/dist/{index-Dgs95dud.js → index-2SyQ6xAT.js} +1 -1
  16. package/dist/{index-BYpPubsS.js → index-B1JboJFx.js} +1 -1
  17. package/dist/{index-D9BcQ25Q.js → index-B4aDuWy4.js} +2 -2
  18. package/dist/{index-w1Oz-JSm.js → index-BFhX3ACB.js} +1 -1
  19. package/dist/{index-CrnlU1jr.js → index-BOo6MotZ.js} +3 -3
  20. package/dist/{index-8GDKkzhT.js → index-BRirBsMg.js} +2 -2
  21. package/dist/{index-DlfthBvr.js → index-BYOG-n0c.js} +2 -2
  22. package/dist/{index-CaKVMIWJ.js → index-BeFJ_RCt.js} +1 -1
  23. package/dist/{index-jfKiyRsE.js → index-Bk8rU908.js} +1776 -1695
  24. package/dist/{index-Zr4W3H4i.js → index-BzgVexIB.js} +2 -2
  25. package/dist/{index-lSMZmF7U.js → index-C5rtaFud.js} +2 -2
  26. package/dist/{index-VBBgqHqv.js → index-C7veczU_.js} +3 -3
  27. package/dist/{index-DWrIPK_U.js → index-CDhZoiEf.js} +1 -1
  28. package/dist/{index-B-hm9GED.js → index-CTLIQVKX.js} +2 -2
  29. package/dist/{index-CfLLsSW6.js → index-CX4Pp6kw.js} +2 -2
  30. package/dist/{index-rDv1Pb8y.js → index-CZD5cYIe.js} +2 -2
  31. package/dist/{index-CHv965Bj.js → index-CfS4Vi7D.js} +3 -2
  32. package/dist/{index-BPvsxMaD.js → index-Cfe2Q-hG.js} +1 -1
  33. package/dist/{index-ulVZgzRz.js → index-Cip1bDDj.js} +2 -2
  34. package/dist/{index-DzmKXFwH.js → index-CkgcA21r.js} +2 -2
  35. package/dist/{index-DOGxYpwq.js → index-Cld2wf77.js} +1 -1
  36. package/dist/{index-DsS5smhd.js → index-CwSEWCP8.js} +3 -3
  37. package/dist/{index-DZYpzeZM.js → index-D-8Q9FIL.js} +3 -3
  38. package/dist/{index-K9yUIBxc.js → index-D9GxA4Uy.js} +4 -4
  39. package/dist/{index-D19ggbiC.js → index-DThgFjEo.js} +2 -2
  40. package/dist/{index-CVPJGks5.js → index-DzchEThV.js} +2 -2
  41. package/dist/{index-Boj1Babg.js → index-Ezicwad7.js} +2 -2
  42. package/dist/{index-C0gB21qk.js → index-LJlRgrPE.js} +2 -2
  43. package/dist/{index-BgL2ciTw.js → index-SXIZsVts.js} +1 -1
  44. package/dist/{index-CiyvJops.js → index-chIttzzx.js} +2 -2
  45. package/dist/{index-CNSt1kk7.js → index-g5NmWlup.js} +2 -2
  46. package/dist/{index-V3FsjgC2.js → index-n97S5YRD.js} +1 -1
  47. package/dist/{index-BKmJ_uM2.js → index-nl7I1bLi.js} +1 -1
  48. package/dist/{index-DyLoooUC.js → index-sbz8PAuq.js} +2 -2
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-Dc2J-VKn.js → mb-render-FUO_-FXR.js} +1 -1
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D60Qjkgq.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DOYhOffQ.js} +1 -1
  52. package/dist/{pagination-design-J5Xr1H6H.js → pagination-design-BXWK58mU.js} +2 -2
  53. package/dist/paper-widget-design-DGRbbkYV.js +4 -0
  54. package/dist/{print-runtime-instance-CkGherFi.js → print-runtime-instance-CwdH93fy.js} +1 -1
  55. package/dist/{print-snapshot-renderer-BxrmKmGQ.js → print-snapshot-renderer-CzlFqiSh.js} +3 -3
  56. package/dist/{qrcode-design-DJciYm3W.js → qrcode-design-8A5a_F1s.js} +1 -1
  57. package/dist/{revo-grid.entry-D2XU7yfg.js → revo-grid.entry-DKvA7bUR.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-DiKuD6Oj.js → revogr-attribution_7.entry-C2PtJ_Tj.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-BaU8s-5o.js → revogr-clipboard_3.entry-BM7_JY0U.js} +2 -2
  60. package/dist/{revogr-data_4.entry-D6AqE208.js → revogr-data_4.entry-CdMQPL7I.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-B0-_hrSZ.js → revogr-filter-panel.entry-BJiGVhcw.js} +1 -1
  62. package/dist/seal-design-BFQUgxHz.js +4 -0
  63. package/dist/{serialnumber-design-BfeGFYY4.js → serialnumber-design-QaDIsxYT.js} +1 -1
  64. package/dist/shared/index.es.js +22 -22
  65. package/dist/{single-field-drop-wg47buz7.js → single-field-drop-C-Af1KzB.js} +2 -2
  66. package/dist/{size-editor-hnWquuM2.js → size-editor-BV0KrQ37.js} +1 -1
  67. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +11 -0
  68. package/dist/src/online-form/src/views/designer/modules/base/designer-wrapper.vue.d.ts +1 -0
  69. package/dist/src/online-form/src/views/designer/modules/duplicate-field-notice.vue.d.ts +2 -0
  70. package/dist/src/online-form/src/views/designer/types/sheets.d.ts +2 -0
  71. package/dist/{sub-table-factory-DCjl5fld.js → sub-table-factory-b8fCKT0z.js} +2 -2
  72. package/dist/{text-design-BQqBHcG3.js → text-design-C35O7YR4.js} +2 -2
  73. package/dist/{throttle-Cpk1LoGk-C-bCLTWf.js → throttle-Cpk1LoGk-HQvkISS4.js} +1 -1
  74. package/dist/{timediff-design-DzNFXX0B.js → timediff-design-CKjl56qS.js} +1 -1
  75. package/dist/{trace-like-wrapper-BO9GpUUT.js → trace-like-wrapper-CvZpyPlh.js} +2 -2
  76. package/dist/{value-editor.vue_vue_type_style_index_0_lang-NrJ6BC4L.js → value-editor.vue_vue_type_style_index_0_lang-Bk7ZLZxh.js} +2 -2
  77. package/dist/web-render/index.es.js +3 -3
  78. package/dist/{widget-barcode-CqFwMMNr.js → widget-barcode-CNkIguP5.js} +4 -4
  79. package/dist/{widget-diagonal-Bv7rOoCE.js → widget-diagonal-Mi9aX6hU.js} +3 -3
  80. package/dist/{widget-image-C7uAoxCn.js → widget-image-i2JtNBbz.js} +5 -5
  81. package/dist/{widget-line-DjEbtHhc.js → widget-line-OIsUSKiO.js} +2 -2
  82. package/dist/{widget-pagination-Dc4pC9a8.js → widget-pagination--EyLbrPC.js} +5 -5
  83. package/dist/{widget-power-9LyPBlNG.js → widget-power-FPby3ucD.js} +3 -3
  84. package/dist/{widget-qrcode-wY0Htp8v.js → widget-qrcode-D5P4cW3m.js} +3 -3
  85. package/dist/{widget-rangelimit-CT9yqbbL.js → widget-rangelimit-DdwIzSFH.js} +3 -3
  86. package/dist/{widget-serialnumber-CChK8wrF.js → widget-serialnumber-C-T8DI3m.js} +1 -1
  87. package/dist/{widget-text-mWwms2HC.js → widget-text-BHlQYZUH.js} +5 -5
  88. package/dist/{widget-timediff-GSd_w8qO.js → widget-timediff--QTyT_AT.js} +2 -2
  89. package/package.json +2 -2
  90. package/dist/paper-widget-design-mppU2AMx.js +0 -4
  91. package/dist/seal-design-FsL7H3e7.js +0 -4
@@ -64639,140 +64639,238 @@ function resolveFieldRenderComponent(props) {
64639
64639
  }
64640
64640
  return resolveRenderComponent(props.bizType, props.fieldType);
64641
64641
  }
64642
- function getCurrentFormData(_rule, options) {
64643
- if (!_rule._subtableFieldId) return options?.formData;
64644
- return findRuntimeTableRow(options?.formData?.[_rule._subtableFieldId], _rule._rowKey);
64645
- }
64646
- function isSameOptionValue(current, expected) {
64647
- if (typeof expected === "boolean") {
64648
- return renderUtils.getBoolValue(current) === expected;
64649
- }
64650
- if (current === void 0 || current === null || current === "") {
64651
- return false;
64652
- }
64653
- return String(current) === String(expected);
64654
- }
64655
- function isAttachFieldActive(attach, formData) {
64656
- if (attach?.parent && !isAttachFieldActive(attach.parent, formData)) return false;
64657
- if (!attach?.belongFieldId || isNil(attach.optionValue)) {
64658
- return true;
64659
- }
64660
- const row = attach.subtableFieldId ? findRuntimeTableRow(formData?.[attach.subtableFieldId], attach.rowKey) : formData;
64661
- if (attach.subtableFieldId && (!attach.rowKey || !row || row === formData)) {
64662
- return false;
64663
- }
64664
- const raw = row?.[attach.belongFieldId];
64665
- if (attach.multiple) {
64666
- const current = renderUtils.getValue(raw, true);
64667
- if (!Array.isArray(current)) return false;
64668
- return current.some((v) => isSameOptionValue(v, attach.optionValue));
64669
- }
64670
- return isSameOptionValue(raw, attach.optionValue);
64642
+ const getApi$1 = api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey;
64643
+ const postApi = api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey;
64644
+ async function materialCheck(params) {
64645
+ const res = await postApi(
64646
+ {
64647
+ bsKey: "biz_single_material_check",
64648
+ modelKey: "em_material_loading",
64649
+ modelCategory: "entity"
64650
+ },
64651
+ {},
64652
+ params
64653
+ );
64654
+ return res;
64671
64655
  }
64672
- function isReferenceOptionActive(referenceInfo, rowFormData) {
64673
- if (!referenceInfo?.belongFieldId || isNil(referenceInfo.optionValue)) {
64674
- return true;
64675
- }
64676
- return isAttachFieldActive(
64656
+ async function stockCheck(params) {
64657
+ await postApi(
64677
64658
  {
64678
- belongFieldId: referenceInfo.belongFieldId,
64679
- optionValue: referenceInfo.optionValue,
64680
- multiple: referenceInfo.multiple
64659
+ bsKey: "biz_form_single_confirm",
64660
+ modelKey: "em_material_loading",
64661
+ modelCategory: "entity"
64681
64662
  },
64682
- rowFormData
64663
+ {},
64664
+ {
64665
+ entry: params.entry,
64666
+ material_id_: params.row.product_id_,
64667
+ production_identification_name_: params.row.material_no_,
64668
+ qty_: params.row.qty_,
64669
+ operation_id_: params.row.routing_operation_id_,
64670
+ main_material_no_: params.mainMaterialNo
64671
+ }
64683
64672
  );
64684
64673
  }
64685
- const stampKeys = [
64686
- "sealId",
64687
- "sealName",
64688
- "sealType",
64689
- "sealImage",
64690
- "sealUserId",
64691
- "sealUserName",
64692
- "sealUserTime"
64693
- ];
64694
- function isSealPosition(value) {
64695
- if (!value || typeof value !== "object") return false;
64696
- const p2 = value;
64697
- return typeof p2.sheetId === "string" && !!p2.sheetId && Number.isInteger(p2.pageIndex) && p2.pageIndex >= 0 && Number.isFinite(p2.leftMm) && p2.leftMm >= 0 && Number.isFinite(p2.topMm) && p2.topMm >= 0;
64674
+ async function fetchHistoryConsume(params) {
64675
+ const res = await postApi(
64676
+ {
64677
+ bsKey: "listAll",
64678
+ modelKey: "em_material_consume",
64679
+ modelCategory: "entity"
64680
+ },
64681
+ {},
64682
+ {
64683
+ query: params
64684
+ }
64685
+ );
64686
+ console.log("查询历史消耗数据", res);
64687
+ const arr = res.data ?? [];
64688
+ arr.map((i2) => {
64689
+ i2.qty_ = i2.qty_consumed_;
64690
+ });
64691
+ return arr;
64698
64692
  }
64699
- function readSealValue(raw, fallback) {
64700
- let parsed = {};
64701
- try {
64702
- const value = typeof raw === "string" ? JSON.parse(raw || "{}") : raw;
64703
- if (value && typeof value === "object" && !Array.isArray(value)) parsed = value;
64704
- } catch {
64705
- }
64706
- const stamp = Object.fromEntries(
64707
- stampKeys.map((key) => [key, typeof parsed[key] === "string" ? parsed[key] : ""])
64693
+ async function judgeUnique(opts) {
64694
+ const res = await postApi(
64695
+ {
64696
+ bsKey: "biz_form_unique",
64697
+ modelKey: "em_material_loading",
64698
+ modelCategory: "entity"
64699
+ },
64700
+ {},
64701
+ {
64702
+ model_key_: opts.modelKey,
64703
+ datas_: opts.data
64704
+ }
64708
64705
  );
64709
- return {
64710
- ...stamp,
64711
- sealPosition: { ...isSealPosition(parsed.sealPosition) ? parsed.sealPosition : fallback }
64712
- };
64706
+ return res;
64713
64707
  }
64714
- function isSealStamped(raw) {
64708
+ async function isBomGranted() {
64715
64709
  try {
64716
- const value = typeof raw === "string" ? JSON.parse(raw || "{}") : raw;
64717
- return !!value && typeof value.sealId === "string" && !!value.sealId && typeof value.sealImage === "string" && !!value.sealImage;
64718
- } catch {
64710
+ const res = await getApi$1(
64711
+ {
64712
+ modelKey: "em_product_bom",
64713
+ bsKey: "biz_bom_granted",
64714
+ modelCategory: "entity"
64715
+ },
64716
+ {},
64717
+ {}
64718
+ );
64719
+ return res ?? false;
64720
+ } catch (error) {
64721
+ console.log("");
64719
64722
  return false;
64720
64723
  }
64721
64724
  }
64722
- function isValidSealValue(raw) {
64723
- try {
64724
- const value = typeof raw === "string" ? JSON.parse(raw || "{}") : raw;
64725
- return !!value && stampKeys.every((key) => typeof value[key] === "string") && isSealPosition(value.sealPosition) && (stampKeys.every((key) => !value[key]) || stampKeys.every((key) => !!value[key]));
64726
- } catch {
64727
- return false;
64725
+ async function getReinspectionDate(params) {
64726
+ if (!params.material_no_id_ && !params.material_no_) return;
64727
+ ({
64728
+ "product_id_.versionIn": [params.product_id_.split(":").pop()]
64729
+ });
64730
+ if (params.material_no_id_) {
64731
+ params.material_no_id_;
64732
+ } else {
64733
+ params.material_no_;
64728
64734
  }
64735
+ const res = await postApi(
64736
+ {
64737
+ modelCategory: "entity",
64738
+ modelKey: "em_production_identification",
64739
+ bsKey: "getOne"
64740
+ },
64741
+ {},
64742
+ {
64743
+ query: {
64744
+ name_: params.material_no_,
64745
+ id_: params.material_no_id_,
64746
+ "product_id_.versionEq": params.product_id_
64747
+ }
64748
+ }
64749
+ );
64750
+ const record = res?.data?.[0] ?? res?.data;
64751
+ const raw = record?.re_inspection_date_ ?? record?.retest_date_;
64752
+ if (raw == null || raw === "") return;
64753
+ const parsed = dayjs(raw);
64754
+ if (!parsed.isValid()) return;
64755
+ return parsed.format("YYYY-MM-DD");
64729
64756
  }
64730
- function moveSealValue(raw, fallback, position) {
64731
- return JSON.stringify({ ...readSealValue(raw, fallback), sealPosition: { ...position } });
64732
- }
64733
- function stampSealValue(raw, fallback, stamp) {
64734
- const current = readSealValue(raw, fallback);
64735
- const next = readSealValue({ ...stamp, sealPosition: current.sealPosition }, fallback);
64736
- return JSON.stringify(next);
64757
+ async function validateReinspectionDate(opts) {
64758
+ if (!opts.product_id_ || !opts.material_no_ && !opts.material_no_id_) return;
64759
+ const date = await getReinspectionDate({
64760
+ product_id_: opts.product_id_,
64761
+ material_no_: opts.material_no_,
64762
+ material_no_id_: opts.material_no_id_
64763
+ });
64764
+ if (!date) return;
64765
+ if (dayjs(date).isBefore(dayjs(), "day")) {
64766
+ throw new Error($t("sys.retestDateErrorTip"));
64767
+ }
64737
64768
  }
64738
- function clearSealValue(raw, fallback) {
64739
- return JSON.stringify(
64740
- readSealValue({ sealPosition: readSealValue(raw, fallback).sealPosition }, fallback)
64769
+ async function getLotLockedReason(production_identification_id_) {
64770
+ const { data = {}, dict = {} } = await postApi(
64771
+ {
64772
+ modelCategory: "entity",
64773
+ modelKey: "em_production_identification_lock_record",
64774
+ bsKey: "biz_get_one_lock_record"
64775
+ },
64776
+ {},
64777
+ {
64778
+ production_identification_id_
64779
+ }
64741
64780
  );
64781
+ return $t("sys.lotLockedReason", {
64782
+ name: dict.lock_user_id_[data.lock_user_id_],
64783
+ reason: data.lock_reason_
64784
+ });
64742
64785
  }
64743
- function normalizeSealDiameter(value) {
64744
- const diameter = Number(value);
64745
- return Number.isFinite(diameter) && diameter > 0 ? Math.min(diameter, 200) : 42;
64786
+ var Config_Fields = /* @__PURE__ */ ((Config_Fields2) => {
64787
+ Config_Fields2["materialCode"] = "materialCode";
64788
+ Config_Fields2["lot"] = "lot";
64789
+ Config_Fields2["qty"] = "qty";
64790
+ Config_Fields2["expiration"] = "expiration";
64791
+ Config_Fields2["deviceCode"] = "deviceCode";
64792
+ Config_Fields2["other"] = "other";
64793
+ return Config_Fields2;
64794
+ })(Config_Fields || {});
64795
+ const getApi = api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey;
64796
+ async function getParseRuleInfo(params) {
64797
+ const res = await getApi(
64798
+ {
64799
+ bsKey: "rdoGetVersionById",
64800
+ modelKey: "em_barcode_parsing_rules",
64801
+ modelCategory: "entity"
64802
+ },
64803
+ params
64804
+ );
64805
+ return res.data;
64746
64806
  }
64747
- function clampSealPosition(position, widthMm, heightMm, diameterMm) {
64748
- return {
64749
- ...position,
64750
- leftMm: Math.max(0, Math.min(position.leftMm, Math.max(0, widthMm - diameterMm))),
64751
- topMm: Math.max(0, Math.min(position.topMm, Math.max(0, heightMm - diameterMm)))
64752
- };
64807
+ function handleOldConfig(config) {
64808
+ if (config.list && !config.fieldList) {
64809
+ config.fieldList = config.list.map((type) => {
64810
+ return {
64811
+ type,
64812
+ key: type === Config_Fields.other ? uuid2(32) : type
64813
+ };
64814
+ });
64815
+ delete config.list;
64816
+ }
64817
+ config.fieldList.forEach((item) => {
64818
+ if (!item.key) {
64819
+ item.key = item.type === Config_Fields.other ? uuid2(32) : item.type;
64820
+ }
64821
+ });
64822
+ return config;
64753
64823
  }
64754
- function initializeSealFields(fields2, formData) {
64755
- for (const { props } of fields2) {
64756
- if (!props.field || props.isFieldModel || props.subFieldKey) continue;
64757
- const raw = formData[props.field];
64758
- if (raw == null || raw === "") {
64759
- formData[props.field] = JSON.stringify(readSealValue("", props.sealPosition));
64760
- continue;
64824
+ function getParseRuleValue(labelStr, labelRule) {
64825
+ if (!labelRule) {
64826
+ throw new Error("请传入解析规则");
64827
+ }
64828
+ const ruleObj = JSON.parse(labelRule);
64829
+ const ruleConfig = handleOldConfig(ruleObj);
64830
+ const { separator, nullSymbol, fieldList } = ruleConfig;
64831
+ const labelArr = labelStr.split(separator);
64832
+ return labelArr.reduce((obj, e, idx) => {
64833
+ const field = fieldList[idx];
64834
+ if (field) {
64835
+ let val = nullSymbol && e === nullSymbol ? null : e;
64836
+ if (val !== null) {
64837
+ switch (field.type) {
64838
+ case Config_Fields.qty:
64839
+ val = Number(val);
64840
+ break;
64841
+ case Config_Fields.expiration:
64842
+ val = dayjs(val, field.format).format("YYYY-MM-DD HH:mm:ss");
64843
+ break;
64844
+ }
64845
+ }
64846
+ obj[field.key] = val;
64761
64847
  }
64762
- try {
64763
- const parsed = typeof raw === "string" ? JSON.parse(raw) : raw;
64764
- if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) continue;
64765
- if (!isSealPosition(parsed.sealPosition)) {
64766
- formData[props.field] = JSON.stringify({
64767
- ...parsed,
64768
- sealPosition: { ...props.sealPosition }
64848
+ return obj;
64849
+ }, {});
64850
+ }
64851
+ async function getParseRuleConfig(id) {
64852
+ const res = await getParseRuleInfo({ id });
64853
+ if (res?.rules_) {
64854
+ const ruleObj = JSON.parse(res.rules_);
64855
+ const ruleConfig = handleOldConfig(ruleObj);
64856
+ return ruleConfig;
64857
+ }
64858
+ }
64859
+ function calcFillData(data, fillMapArr) {
64860
+ const obj = {};
64861
+ if (fillMapArr?.length) {
64862
+ fillMapArr.forEach((i2) => {
64863
+ const fromKey = i2.barcodeField;
64864
+ if (fromKey && fromKey in data) {
64865
+ const val = data[fromKey];
64866
+ i2.formFields?.forEach((key) => {
64867
+ const toKey2 = key.split(".")[1];
64868
+ obj[toKey2] = val;
64769
64869
  });
64770
- } else if (typeof raw !== "string") {
64771
- formData[props.field] = JSON.stringify(parsed);
64772
64870
  }
64773
- } catch {
64774
- }
64871
+ });
64775
64872
  }
64873
+ return obj;
64776
64874
  }
64777
64875
  var isNumeric = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, mathceil = Math.ceil, mathfloor = Math.floor, bignumberError = "[BigNumber Error] ", tooManyDigits = bignumberError + "Number primitive has more than 15 significant digits: ", BASE = 1e14, LOG_BASE = 14, MAX_SAFE_INTEGER$2 = 9007199254740991, POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], SQRT_BASE = 1e7, MAX = 1e9;
64778
64876
  function clone(configObject) {
@@ -66105,665 +66203,6 @@ function toFixedPoint(str, e, z) {
66105
66203
  return str;
66106
66204
  }
66107
66205
  var BigNumber = clone();
66108
- const { identify, calculate } = {
66109
- identify: (expression) => window.NocodeAdapter.utils?.formulaIdentify?.(expression) ?? [],
66110
- calculate: (expression, data) => window.NocodeAdapter.utils?.formulaCalculate?.(expression, data)
66111
- };
66112
- const getFieldDataValue = (parseInfo, formData) => {
66113
- const getTextValue = (processedKey, value) => {
66114
- const textValue = value ?? formData?.[processedKey] ?? "";
66115
- return Array.isArray(textValue) ? textValue.join() : textValue;
66116
- };
66117
- const { type, processed, hashValue } = parseInfo;
66118
- if (type === "hash") {
66119
- const tableData = toRaw(formData?.[hashValue] || []);
66120
- return tableData.filter((d) => !d.deleted_).map((row) => getTextValue(processed, row?.[processed])).filter((i2) => !isNil(i2));
66121
- }
66122
- return getTextValue(processed, formData?.[processed]);
66123
- };
66124
- const parseFormulaVar = (formulaVar) => {
66125
- const result = {
66126
- original: formulaVar,
66127
- type: "",
66128
- processed: "",
66129
- hashValue: "",
66130
- dataType: ""
66131
- };
66132
- if (/^\$([^$]+)\$\.(.+)$/.test(formulaVar)) {
66133
- const match = formulaVar.match(/^\$([^$]+)\$\.(.+)$/);
66134
- result.type = "hash";
66135
- result.processed = match[2];
66136
- result.hashValue = match[1];
66137
- result.dataType = "globType";
66138
- } else if (/^_\.(.+)$/.test(formulaVar)) {
66139
- const match = formulaVar.match(/^_\.(.+)$/);
66140
- result.type = "underscore";
66141
- result.processed = match[1];
66142
- result.dataType = "currentRowType";
66143
- } else {
66144
- result.type = "plain";
66145
- result.processed = formulaVar;
66146
- result.dataType = "globType";
66147
- }
66148
- return result;
66149
- };
66150
- const getParseFormulaVarInfos = (expr) => {
66151
- const rowArgs = expr ? identify(expr) : [];
66152
- return {
66153
- rowArgs,
66154
- parseInfos: rowArgs.map((curr) => parseFormulaVar(curr))
66155
- };
66156
- };
66157
- const calculateFormula = async (expr, formData, instanceFormState) => {
66158
- const rowArgs = identify(expr);
66159
- const formulaData = isEmpty(rowArgs) ? {} : rowArgs.reduce((total, curr) => {
66160
- const parseInfo = parseFormulaVar(curr);
66161
- total[curr] = getFieldDataValue(
66162
- parseInfo,
66163
- parseInfo.dataType === "currentRowType" ? formData : instanceFormState
66164
- );
66165
- return total;
66166
- }, {});
66167
- return calculate(expr, formulaData);
66168
- };
66169
- const isEmptyValue = (value) => {
66170
- return value === void 0 || value === null || typeof value === "string" && value.trim() === "" || Array.isArray(value) && value.length === 0;
66171
- };
66172
- const compareByOp = (left, right, op) => {
66173
- switch (op) {
66174
- case RangeCompareOp.LT:
66175
- return left < right;
66176
- case RangeCompareOp.LE:
66177
- return left <= right;
66178
- case RangeCompareOp.GT:
66179
- return left > right;
66180
- case RangeCompareOp.GE:
66181
- default:
66182
- return left >= right;
66183
- }
66184
- };
66185
- const rangeCompareMessage = (op, val) => {
66186
- switch (op) {
66187
- case RangeCompareOp.LT:
66188
- return $t("sys.fieldValueNotGreaterOrEqual", { val });
66189
- case RangeCompareOp.LE:
66190
- return $t("sys.fieldValueNoMoreThan", { val });
66191
- case RangeCompareOp.GT:
66192
- return $t("sys.fieldValueNotLessOrEqual", { val });
66193
- case RangeCompareOp.GE:
66194
- default:
66195
- return $t("sys.fieldValueNotLessThan", { val });
66196
- }
66197
- };
66198
- const toUnixTimestamp = (input) => {
66199
- if (isNil(input) || input === "") return null;
66200
- const asNumber = typeof input === "number" || typeof input === "string" && /^-?\d+(\.\d+)?$/.test(input.trim());
66201
- if (asNumber) {
66202
- const n = Number(input);
66203
- if (Number.isNaN(n)) return null;
66204
- const parsed2 = n > 1e12 ? dayjs(n) : dayjs.unix(n);
66205
- return parsed2.isValid() ? parsed2.unix() : null;
66206
- }
66207
- const parsed = dayjs(input);
66208
- return parsed.isValid() ? parsed.unix() : null;
66209
- };
66210
- const buildError = (validatorInfo, message2) => JSON.stringify({ ...validatorInfo, message: message2 });
66211
- function areValidationCommentsEqual(left, right) {
66212
- const serialize = (comments) => JSON.stringify(
66213
- comments,
66214
- (_key, value) => value && typeof value === "object" && "message" in value ? { ...value, message: value.message } : value
66215
- );
66216
- return serialize(left) === serialize(right);
66217
- }
66218
- const createRule = (validator, message2, trigger = "change") => ({
66219
- required: true,
66220
- validator,
66221
- message: message2,
66222
- trigger
66223
- });
66224
- function relocateDeletedRowsToEnd(rows = []) {
66225
- const active = [];
66226
- const deleted = [];
66227
- for (const row of rows) {
66228
- if (row?.deleted_) deleted.push(row);
66229
- else active.push(row);
66230
- }
66231
- return [...active, ...deleted];
66232
- }
66233
- const MAX_NUMERIC_DIGITS = 15;
66234
- const NUMERIC_FIELD_TYPES = /* @__PURE__ */ new Set([
66235
- FIELD_TYPE.INTEGER,
66236
- FIELD_TYPE.LONG,
66237
- FIELD_TYPE.DOUBLE,
66238
- FIELD_TYPE.DECIMAL
66239
- ]);
66240
- function filterRulesByTrigger(rules, trigger) {
66241
- return rules.filter((rule) => {
66242
- const ruleTrigger = rule.trigger;
66243
- if (!ruleTrigger) return trigger === "change";
66244
- if (trigger === "blur") {
66245
- return ruleTrigger === "blur" || ruleTrigger === "change";
66246
- }
66247
- return ruleTrigger === trigger;
66248
- });
66249
- }
66250
- function assembleRules(input) {
66251
- const { showRequired, fieldType, validatorInfo, props } = input;
66252
- const {
66253
- minlength,
66254
- maxlength,
66255
- regex,
66256
- regexHint,
66257
- validateTrue,
66258
- validateFalse,
66259
- enableRangeValidate,
66260
- maxValidateMode,
66261
- minValidateMode,
66262
- maxCompareOp,
66263
- minCompareOp,
66264
- minValue,
66265
- maxValue,
66266
- minFormulaExpr,
66267
- maxFormulaExpr,
66268
- minDate,
66269
- maxDate,
66270
- minDateFormulaExpr,
66271
- maxDateFormulaExpr,
66272
- maxDateValidateMode,
66273
- minDateValidateMode
66274
- } = props;
66275
- const resolvedMaxCompareOp = maxCompareOp ?? RangeCompareOp.LE;
66276
- const resolvedMinCompareOp = minCompareOp ?? RangeCompareOp.GE;
66277
- const RuleProps = [];
66278
- if (props.bizType === FIELD_TYPE.SEAL) {
66279
- if (showRequired) {
66280
- RuleProps.push(
66281
- createRule(
66282
- (_rule, value) => isSealStamped(value),
66283
- buildError(
66284
- { ...validatorInfo, validationCode: "seal-required" },
66285
- $t("sys.fieldRequired")
66286
- ),
66287
- "manual"
66288
- )
66289
- );
66290
- }
66291
- RuleProps.push(createRule((_rule, value) => isEmptyValue(value) || isValidSealValue(value), buildError(validatorInfo, $t("sys.seal.invalid"))));
66292
- return RuleProps;
66293
- }
66294
- if (showRequired) {
66295
- RuleProps.push(
66296
- createRule(
66297
- (_rule, value) => !isEmptyValue(value),
66298
- buildError(validatorInfo, $t("sys.fieldRequired")),
66299
- "manual"
66300
- )
66301
- );
66302
- }
66303
- if (!isNil(minlength)) {
66304
- RuleProps.push(
66305
- createRule((_rule, value) => {
66306
- if (isEmptyValue(value)) return true;
66307
- return String(value).length >= minlength;
66308
- }, buildError(validatorInfo, $t("sys.fieldLengthNotLessThan", { len: minlength })))
66309
- );
66310
- }
66311
- const effectiveMaxlength = isNil(maxlength) && fieldType === FIELD_TYPE.TEXT ? 1024 : maxlength;
66312
- if (!isNil(effectiveMaxlength)) {
66313
- RuleProps.push(
66314
- createRule((_rule, value) => {
66315
- if (isEmptyValue(value)) return true;
66316
- return String(value).length <= effectiveMaxlength;
66317
- }, buildError(validatorInfo, $t("sys.fieldLengthNoMoreThan", { len: effectiveMaxlength })))
66318
- );
66319
- }
66320
- if (regex) {
66321
- RuleProps.push(
66322
- createRule((_rule, value) => {
66323
- if (isEmptyValue(value)) return true;
66324
- return new RegExp(regex).test(value);
66325
- }, buildError(validatorInfo, regexHint ?? $t("sys.fieldFormatError")))
66326
- );
66327
- }
66328
- if (validateTrue) {
66329
- RuleProps.push({
66330
- required: true,
66331
- trigger: "manual",
66332
- validator: (_rule, value) => value === true,
66333
- message: buildError(validatorInfo, $t("sys.fieldValueNeedTrue"))
66334
- });
66335
- }
66336
- if (validateFalse) {
66337
- RuleProps.push({
66338
- required: true,
66339
- trigger: "manual",
66340
- validator: (_rule, value) => value === false,
66341
- message: buildError(validatorInfo, $t("sys.fieldValueNeedFalse"))
66342
- });
66343
- }
66344
- const maxMode = maxValidateMode ?? RangeValidateMode.No_Validate;
66345
- const minMode = minValidateMode ?? RangeValidateMode.No_Validate;
66346
- const shouldValidateNumericLength = !enableRangeValidate || maxMode === RangeValidateMode.No_Validate || minMode === RangeValidateMode.No_Validate;
66347
- if (shouldValidateNumericLength && NUMERIC_FIELD_TYPES.has(fieldType ?? "")) {
66348
- RuleProps.push(
66349
- createRule((_rule, value) => {
66350
- if (isEmptyValue(value)) return true;
66351
- const raw = String(value).trim();
66352
- const text = /e/i.test(raw) ? new BigNumber(raw).toFixed() : raw;
66353
- return text.replace(/[+\-.]/g, "").length <= MAX_NUMERIC_DIGITS;
66354
- }, buildError(validatorInfo, $t("sys.fieldNumericDigitsNoMoreThan")))
66355
- );
66356
- }
66357
- if (!enableRangeValidate) {
66358
- return RuleProps;
66359
- }
66360
- if (minValidateMode === RangeValidateMode.Fixed_Number && !isEmptyValue(minValue)) {
66361
- RuleProps.push(
66362
- createRule((_rule, value) => {
66363
- if (isEmptyValue(value)) return true;
66364
- return compareByOp(Number(value), Number(minValue), resolvedMinCompareOp);
66365
- }, buildError(validatorInfo, rangeCompareMessage(resolvedMinCompareOp, minValue)))
66366
- );
66367
- }
66368
- if (minValidateMode === RangeValidateMode.Variable_Validate && minFormulaExpr) {
66369
- RuleProps.push({
66370
- required: true,
66371
- trigger: "change",
66372
- validator: async (_rule, value, _callback, _source, options) => {
66373
- const currentFormData = getCurrentFormData(_rule, options);
66374
- const formulaValue = await calculateFormula(
66375
- minFormulaExpr,
66376
- currentFormData,
66377
- options?.formData
66378
- );
66379
- if (isEmptyValue(formulaValue)) {
66380
- return Promise.resolve();
66381
- }
66382
- const parsedMin = parseFloat(formulaValue);
66383
- if (!isNaN(parsedMin)) {
66384
- if (isEmptyValue(value)) {
66385
- return Promise.resolve();
66386
- }
66387
- if (!compareByOp(Number(value), parsedMin, resolvedMinCompareOp)) {
66388
- return Promise.reject(
66389
- new Error(
66390
- buildError(validatorInfo, rangeCompareMessage(resolvedMinCompareOp, parsedMin))
66391
- )
66392
- );
66393
- }
66394
- }
66395
- return Promise.resolve();
66396
- }
66397
- });
66398
- }
66399
- if (maxValidateMode === RangeValidateMode.Fixed_Number && !isEmptyValue(maxValue)) {
66400
- RuleProps.push(
66401
- createRule((_rule, value) => {
66402
- if (isEmptyValue(value)) return true;
66403
- return compareByOp(Number(value), Number(maxValue), resolvedMaxCompareOp);
66404
- }, buildError(validatorInfo, rangeCompareMessage(resolvedMaxCompareOp, maxValue)))
66405
- );
66406
- }
66407
- if (maxValidateMode === RangeValidateMode.Variable_Validate && maxFormulaExpr) {
66408
- RuleProps.push({
66409
- required: true,
66410
- trigger: "change",
66411
- validator: async (_rule, value, _callback, _source, options) => {
66412
- const currentFormData = getCurrentFormData(_rule, options);
66413
- const formulaValue = await calculateFormula(
66414
- maxFormulaExpr,
66415
- currentFormData,
66416
- options?.formData
66417
- );
66418
- if (isEmptyValue(formulaValue)) {
66419
- return Promise.resolve();
66420
- }
66421
- const parsedMax = parseFloat(formulaValue);
66422
- if (!isNaN(parsedMax)) {
66423
- if (isEmptyValue(value)) {
66424
- return Promise.resolve();
66425
- }
66426
- if (!compareByOp(Number(value), parsedMax, resolvedMaxCompareOp)) {
66427
- return Promise.reject(
66428
- new Error(
66429
- buildError(validatorInfo, rangeCompareMessage(resolvedMaxCompareOp, parsedMax))
66430
- )
66431
- );
66432
- }
66433
- }
66434
- return Promise.resolve();
66435
- }
66436
- });
66437
- }
66438
- if (minDateValidateMode === RangeValidateMode.Fixed_Number && minDate) {
66439
- RuleProps.push(
66440
- createRule((_rule, value) => {
66441
- if (isEmptyValue(value)) return true;
66442
- const inputTime = dayjs(value).unix();
66443
- const minTimestamp = dayjs(minDate).unix();
66444
- if (!dayjs(value).isValid() || !dayjs(minDate).isValid()) return true;
66445
- return compareByOp(inputTime, minTimestamp, resolvedMinCompareOp);
66446
- }, buildError(validatorInfo, rangeCompareMessage(resolvedMinCompareOp, minDate)))
66447
- );
66448
- }
66449
- if (maxDateValidateMode === RangeValidateMode.Fixed_Number && maxDate) {
66450
- RuleProps.push(
66451
- createRule((_rule, value) => {
66452
- if (isEmptyValue(value)) return true;
66453
- const inputTime = dayjs(value).unix();
66454
- const maxTimestamp = dayjs(maxDate).unix();
66455
- if (!dayjs(value).isValid() || !dayjs(maxDate).isValid()) return true;
66456
- return compareByOp(inputTime, maxTimestamp, resolvedMaxCompareOp);
66457
- }, buildError(validatorInfo, rangeCompareMessage(resolvedMaxCompareOp, maxDate)))
66458
- );
66459
- }
66460
- if (minDateValidateMode === RangeValidateMode.Variable_Validate && minDateFormulaExpr) {
66461
- RuleProps.push({
66462
- required: true,
66463
- trigger: "change",
66464
- validator: async (_rule, value, _callback, _source, options) => {
66465
- const currentFormData = getCurrentFormData(_rule, options);
66466
- const formulaValue = await calculateFormula(
66467
- minDateFormulaExpr,
66468
- currentFormData,
66469
- options?.formData
66470
- );
66471
- const limitTime = toUnixTimestamp(formulaValue);
66472
- if (limitTime !== null) {
66473
- if (isEmptyValue(value)) {
66474
- return Promise.resolve();
66475
- }
66476
- if (!dayjs(value).isValid()) {
66477
- return Promise.resolve();
66478
- }
66479
- const inputTime = dayjs(value).unix();
66480
- const fmt = fieldType === FIELD_TYPE.DATE_TIME ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
66481
- if (!compareByOp(inputTime, limitTime, resolvedMinCompareOp)) {
66482
- return Promise.reject(
66483
- new Error(
66484
- buildError(
66485
- validatorInfo,
66486
- rangeCompareMessage(resolvedMinCompareOp, dayjs.unix(limitTime).format(fmt))
66487
- )
66488
- )
66489
- );
66490
- }
66491
- }
66492
- return Promise.resolve();
66493
- }
66494
- });
66495
- }
66496
- if (maxDateValidateMode === RangeValidateMode.Variable_Validate && maxDateFormulaExpr) {
66497
- RuleProps.push({
66498
- required: true,
66499
- trigger: "change",
66500
- validator: async (_rule, value, _callback, _source, options) => {
66501
- const currentFormData = getCurrentFormData(_rule, options);
66502
- const formulaValue = await calculateFormula(
66503
- maxDateFormulaExpr,
66504
- currentFormData,
66505
- options?.formData
66506
- );
66507
- const limitTime = toUnixTimestamp(formulaValue);
66508
- if (limitTime !== null) {
66509
- if (isEmptyValue(value)) {
66510
- return Promise.resolve();
66511
- }
66512
- if (!dayjs(value).isValid()) {
66513
- return Promise.resolve();
66514
- }
66515
- const inputTime = dayjs(value).unix();
66516
- const fmt = fieldType === FIELD_TYPE.DATE_TIME ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
66517
- if (!compareByOp(inputTime, limitTime, resolvedMaxCompareOp)) {
66518
- return Promise.reject(
66519
- new Error(
66520
- buildError(
66521
- validatorInfo,
66522
- rangeCompareMessage(resolvedMaxCompareOp, dayjs.unix(limitTime).format(fmt))
66523
- )
66524
- )
66525
- );
66526
- }
66527
- }
66528
- return Promise.resolve();
66529
- }
66530
- });
66531
- }
66532
- return RuleProps;
66533
- }
66534
- const getApi$1 = api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey;
66535
- const postApi = api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey;
66536
- async function materialCheck(params) {
66537
- const res = await postApi(
66538
- {
66539
- bsKey: "biz_single_material_check",
66540
- modelKey: "em_material_loading",
66541
- modelCategory: "entity"
66542
- },
66543
- {},
66544
- params
66545
- );
66546
- return res;
66547
- }
66548
- async function stockCheck(params) {
66549
- await postApi(
66550
- {
66551
- bsKey: "biz_form_single_confirm",
66552
- modelKey: "em_material_loading",
66553
- modelCategory: "entity"
66554
- },
66555
- {},
66556
- {
66557
- entry: params.entry,
66558
- material_id_: params.row.product_id_,
66559
- production_identification_name_: params.row.material_no_,
66560
- qty_: params.row.qty_,
66561
- operation_id_: params.row.routing_operation_id_,
66562
- main_material_no_: params.mainMaterialNo
66563
- }
66564
- );
66565
- }
66566
- async function fetchHistoryConsume(params) {
66567
- const res = await postApi(
66568
- {
66569
- bsKey: "listAll",
66570
- modelKey: "em_material_consume",
66571
- modelCategory: "entity"
66572
- },
66573
- {},
66574
- {
66575
- query: params
66576
- }
66577
- );
66578
- console.log("查询历史消耗数据", res);
66579
- const arr = res.data ?? [];
66580
- arr.map((i2) => {
66581
- i2.qty_ = i2.qty_consumed_;
66582
- });
66583
- return arr;
66584
- }
66585
- async function judgeUnique(opts) {
66586
- const res = await postApi(
66587
- {
66588
- bsKey: "biz_form_unique",
66589
- modelKey: "em_material_loading",
66590
- modelCategory: "entity"
66591
- },
66592
- {},
66593
- {
66594
- model_key_: opts.modelKey,
66595
- datas_: opts.data
66596
- }
66597
- );
66598
- return res;
66599
- }
66600
- async function isBomGranted() {
66601
- try {
66602
- const res = await getApi$1(
66603
- {
66604
- modelKey: "em_product_bom",
66605
- bsKey: "biz_bom_granted",
66606
- modelCategory: "entity"
66607
- },
66608
- {},
66609
- {}
66610
- );
66611
- return res ?? false;
66612
- } catch (error) {
66613
- console.log("");
66614
- return false;
66615
- }
66616
- }
66617
- async function getReinspectionDate(params) {
66618
- if (!params.material_no_id_ && !params.material_no_) return;
66619
- ({
66620
- "product_id_.versionIn": [params.product_id_.split(":").pop()]
66621
- });
66622
- if (params.material_no_id_) {
66623
- params.material_no_id_;
66624
- } else {
66625
- params.material_no_;
66626
- }
66627
- const res = await postApi(
66628
- {
66629
- modelCategory: "entity",
66630
- modelKey: "em_production_identification",
66631
- bsKey: "getOne"
66632
- },
66633
- {},
66634
- {
66635
- query: {
66636
- name_: params.material_no_,
66637
- id_: params.material_no_id_,
66638
- "product_id_.versionEq": params.product_id_
66639
- }
66640
- }
66641
- );
66642
- const record = res?.data?.[0] ?? res?.data;
66643
- const raw = record?.re_inspection_date_ ?? record?.retest_date_;
66644
- if (raw == null || raw === "") return;
66645
- const parsed = dayjs(raw);
66646
- if (!parsed.isValid()) return;
66647
- return parsed.format("YYYY-MM-DD");
66648
- }
66649
- async function validateReinspectionDate(opts) {
66650
- if (!opts.product_id_ || !opts.material_no_ && !opts.material_no_id_) return;
66651
- const date = await getReinspectionDate({
66652
- product_id_: opts.product_id_,
66653
- material_no_: opts.material_no_,
66654
- material_no_id_: opts.material_no_id_
66655
- });
66656
- if (!date) return;
66657
- if (dayjs(date).isBefore(dayjs(), "day")) {
66658
- throw new Error($t("sys.retestDateErrorTip"));
66659
- }
66660
- }
66661
- async function getLotLockedReason(production_identification_id_) {
66662
- const { data = {}, dict = {} } = await postApi(
66663
- {
66664
- modelCategory: "entity",
66665
- modelKey: "em_production_identification_lock_record",
66666
- bsKey: "biz_get_one_lock_record"
66667
- },
66668
- {},
66669
- {
66670
- production_identification_id_
66671
- }
66672
- );
66673
- return $t("sys.lotLockedReason", {
66674
- name: dict.lock_user_id_[data.lock_user_id_],
66675
- reason: data.lock_reason_
66676
- });
66677
- }
66678
- var Config_Fields = /* @__PURE__ */ ((Config_Fields2) => {
66679
- Config_Fields2["materialCode"] = "materialCode";
66680
- Config_Fields2["lot"] = "lot";
66681
- Config_Fields2["qty"] = "qty";
66682
- Config_Fields2["expiration"] = "expiration";
66683
- Config_Fields2["deviceCode"] = "deviceCode";
66684
- Config_Fields2["other"] = "other";
66685
- return Config_Fields2;
66686
- })(Config_Fields || {});
66687
- const getApi = api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey;
66688
- async function getParseRuleInfo(params) {
66689
- const res = await getApi(
66690
- {
66691
- bsKey: "rdoGetVersionById",
66692
- modelKey: "em_barcode_parsing_rules",
66693
- modelCategory: "entity"
66694
- },
66695
- params
66696
- );
66697
- return res.data;
66698
- }
66699
- function handleOldConfig(config) {
66700
- if (config.list && !config.fieldList) {
66701
- config.fieldList = config.list.map((type) => {
66702
- return {
66703
- type,
66704
- key: type === Config_Fields.other ? uuid2(32) : type
66705
- };
66706
- });
66707
- delete config.list;
66708
- }
66709
- config.fieldList.forEach((item) => {
66710
- if (!item.key) {
66711
- item.key = item.type === Config_Fields.other ? uuid2(32) : item.type;
66712
- }
66713
- });
66714
- return config;
66715
- }
66716
- function getParseRuleValue(labelStr, labelRule) {
66717
- if (!labelRule) {
66718
- throw new Error("请传入解析规则");
66719
- }
66720
- const ruleObj = JSON.parse(labelRule);
66721
- const ruleConfig = handleOldConfig(ruleObj);
66722
- const { separator, nullSymbol, fieldList } = ruleConfig;
66723
- const labelArr = labelStr.split(separator);
66724
- return labelArr.reduce((obj, e, idx) => {
66725
- const field = fieldList[idx];
66726
- if (field) {
66727
- let val = nullSymbol && e === nullSymbol ? null : e;
66728
- if (val !== null) {
66729
- switch (field.type) {
66730
- case Config_Fields.qty:
66731
- val = Number(val);
66732
- break;
66733
- case Config_Fields.expiration:
66734
- val = dayjs(val, field.format).format("YYYY-MM-DD HH:mm:ss");
66735
- break;
66736
- }
66737
- }
66738
- obj[field.key] = val;
66739
- }
66740
- return obj;
66741
- }, {});
66742
- }
66743
- async function getParseRuleConfig(id) {
66744
- const res = await getParseRuleInfo({ id });
66745
- if (res?.rules_) {
66746
- const ruleObj = JSON.parse(res.rules_);
66747
- const ruleConfig = handleOldConfig(ruleObj);
66748
- return ruleConfig;
66749
- }
66750
- }
66751
- function calcFillData(data, fillMapArr) {
66752
- const obj = {};
66753
- if (fillMapArr?.length) {
66754
- fillMapArr.forEach((i2) => {
66755
- const fromKey = i2.barcodeField;
66756
- if (fromKey && fromKey in data) {
66757
- const val = data[fromKey];
66758
- i2.formFields?.forEach((key) => {
66759
- const toKey2 = key.split(".")[1];
66760
- obj[toKey2] = val;
66761
- });
66762
- }
66763
- });
66764
- }
66765
- return obj;
66766
- }
66767
66206
  const NUMBER_FIELD_TYPES = /* @__PURE__ */ new Set([
66768
66207
  FIELD_TYPE.INTEGER,
66769
66208
  FIELD_TYPE.LONG,
@@ -67227,27 +66666,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
67227
66666
  case "revo-grid":
67228
66667
  return import(
67229
66668
  /* webpackMode: "lazy" */
67230
- "./revo-grid.entry-D2XU7yfg.js"
66669
+ "./revo-grid.entry-DKvA7bUR.js"
67231
66670
  ).then(processMod, consoleError);
67232
66671
  case "revogr-filter-panel":
67233
66672
  return import(
67234
66673
  /* webpackMode: "lazy" */
67235
- "./revogr-filter-panel.entry-B0-_hrSZ.js"
66674
+ "./revogr-filter-panel.entry-BJiGVhcw.js"
67236
66675
  ).then(processMod, consoleError);
67237
66676
  case "revogr-attribution_7":
67238
66677
  return import(
67239
66678
  /* webpackMode: "lazy" */
67240
- "./revogr-attribution_7.entry-DiKuD6Oj.js"
66679
+ "./revogr-attribution_7.entry-C2PtJ_Tj.js"
67241
66680
  ).then(processMod, consoleError);
67242
66681
  case "revogr-clipboard_3":
67243
66682
  return import(
67244
66683
  /* webpackMode: "lazy" */
67245
- "./revogr-clipboard_3.entry-BaU8s-5o.js"
66684
+ "./revogr-clipboard_3.entry-BM7_JY0U.js"
67246
66685
  ).then(processMod, consoleError);
67247
66686
  case "revogr-data_4":
67248
66687
  return import(
67249
66688
  /* webpackMode: "lazy" */
67250
- "./revogr-data_4.entry-D6AqE208.js"
66689
+ "./revogr-data_4.entry-CdMQPL7I.js"
67251
66690
  ).then(processMod, consoleError);
67252
66691
  }
67253
66692
  }
@@ -77483,7 +76922,7 @@ function groupFixedTableRows(rows, options) {
77483
76922
  return result;
77484
76923
  }
77485
76924
  export {
77486
- PlatformEnum as $,
76925
+ LabelPosition as $,
77487
76926
  ParamModelTypeEnum as A,
77488
76927
  BwipCodeType as B,
77489
76928
  ComponentTypeEnum as C,
@@ -77501,321 +76940,302 @@ export {
77501
76940
  Orientation as O,
77502
76941
  PaginationFormat as P,
77503
76942
  PaperWidgeValueType as Q,
77504
- getParseFormulaVarInfos as R,
76943
+ onlineFormMasterModelTypeEnum as R,
77505
76944
  SUB_TABLE_PANEL_TYPE_NAME as S,
77506
76945
  TRACE_FIELD_TYPES as T,
77507
- onlineFormMasterModelTypeEnum as U,
77508
- UniqueConstraintType as V,
76946
+ UniqueConstraintType as U,
76947
+ FieldDefaultValueTypeEnum as V,
77509
76948
  WAREHOUSE_FIELD_TYPES as W,
77510
- FieldDefaultValueTypeEnum as X,
77511
- FormTypeEnum as Y,
77512
- mitt as Z,
77513
- isDateObjectField as _,
76949
+ FormTypeEnum as X,
76950
+ mitt as Y,
76951
+ isDateObjectField as Z,
76952
+ PlatformEnum as _,
77514
76953
  getProfile as a,
77515
- ProductionIdentificationTypeEnum as a$,
77516
- LabelPosition as a0,
77517
- BooleanShowMode as a1,
77518
- SignatureImageDirectionEnum as a2,
77519
- FallbackSignTypeEnum as a3,
77520
- SignatureNumberTypeEnum as a4,
77521
- SignatureTimeTypeEnum as a5,
77522
- SignShowTypeEnum as a6,
77523
- SignatureTypeEnum as a7,
77524
- _export_sfc as a8,
77525
- normalizeFieldType as a9,
77526
- FormDesignEnum as aA,
77527
- BASIC_FIELD_TYPES as aB,
77528
- getExclusiveBusinessTypeTokens as aC,
77529
- getSubTableTypeByRefModelType as aD,
77530
- getAllTableProfiles as aE,
77531
- transformUtils as aF,
77532
- EmptySymbol as aG,
77533
- ASSIGNMENTSTRATEGY_ENUM as aH,
77534
- Dependency_ENUM as aI,
77535
- EntityModelCategoryEnum as aJ,
77536
- resolveLotDisplayLabel as aK,
77537
- CheckDsTypeEnum as aL,
77538
- DeviceLink as aM,
77539
- DeviceParamsTypeTitle as aN,
77540
- AITooltips as aO,
77541
- DenoiseMethodOptions as aP,
77542
- BinarizeMethodOptions as aQ,
77543
- JoinModelTypeEum as aR,
77544
- sqlUtils as aS,
77545
- DateFormat as aT,
77546
- LOT_CONTAINER_ROLE as aU,
77547
- buildLotSnListQuery as aV,
77548
- renderUtils as aW,
77549
- resolveLotRecordByValue as aX,
77550
- materialCheck as aY,
77551
- getLotLockedReason as aZ,
77552
- validateReinspectionDate as a_,
77553
- PaperSizeMap as aa,
77554
- clampSealPosition as ab,
77555
- normalizeSealDiameter as ac,
77556
- getFieldMain as ad,
77557
- buildUUID as ae,
77558
- FieldIconMap as af,
77559
- BigNumber as ag,
77560
- FieldSysVarDefaultValueEnum as ah,
77561
- CellWidgetViewState as ai,
77562
- DiagonalDirection as aj,
77563
- WidgetImageSizeMode as ak,
77564
- LineDirection as al,
77565
- TimeDiffFormat as am,
77566
- DiagonalVertex as an,
77567
- resolveDiagonalVertex as ao,
77568
- getThemeColorByTableType as ap,
77569
- ViewTypeEnum as aq,
77570
- isDynamicSubTablePanelType as ar,
77571
- isFixedSubTablePanelType as as,
77572
- ExpressionModeEnum as at,
77573
- ReturnTypeEnum as au,
77574
- ExpressionTabEnum as av,
77575
- RangeValidateMode as aw,
77576
- RangeCompareOp as ax,
77577
- DecimalDisplayMode as ay,
77578
- ImageDisplayModeEnum as az,
76954
+ getParseRuleValue as a$,
76955
+ BooleanShowMode as a0,
76956
+ SignatureImageDirectionEnum as a1,
76957
+ FallbackSignTypeEnum as a2,
76958
+ SignatureNumberTypeEnum as a3,
76959
+ SignatureTimeTypeEnum as a4,
76960
+ SignShowTypeEnum as a5,
76961
+ SignatureTypeEnum as a6,
76962
+ _export_sfc as a7,
76963
+ normalizeFieldType as a8,
76964
+ PaperSizeMap as a9,
76965
+ getSubTableTypeByRefModelType as aA,
76966
+ getAllTableProfiles as aB,
76967
+ transformUtils as aC,
76968
+ EmptySymbol as aD,
76969
+ ASSIGNMENTSTRATEGY_ENUM as aE,
76970
+ Dependency_ENUM as aF,
76971
+ EntityModelCategoryEnum as aG,
76972
+ resolveLotDisplayLabel as aH,
76973
+ CheckDsTypeEnum as aI,
76974
+ DeviceLink as aJ,
76975
+ DeviceParamsTypeTitle as aK,
76976
+ AITooltips as aL,
76977
+ DenoiseMethodOptions as aM,
76978
+ BinarizeMethodOptions as aN,
76979
+ JoinModelTypeEum as aO,
76980
+ sqlUtils as aP,
76981
+ DateFormat as aQ,
76982
+ LOT_CONTAINER_ROLE as aR,
76983
+ buildLotSnListQuery as aS,
76984
+ renderUtils as aT,
76985
+ resolveLotRecordByValue as aU,
76986
+ materialCheck as aV,
76987
+ getLotLockedReason as aW,
76988
+ validateReinspectionDate as aX,
76989
+ ProductionIdentificationTypeEnum as aY,
76990
+ BindCmpStyleEnum as aZ,
76991
+ getParseRuleInfo as a_,
76992
+ getFieldMain as aa,
76993
+ buildUUID as ab,
76994
+ FieldIconMap as ac,
76995
+ BigNumber as ad,
76996
+ FieldSysVarDefaultValueEnum as ae,
76997
+ CellWidgetViewState as af,
76998
+ DiagonalDirection as ag,
76999
+ WidgetImageSizeMode as ah,
77000
+ LineDirection as ai,
77001
+ TimeDiffFormat as aj,
77002
+ DiagonalVertex as ak,
77003
+ resolveDiagonalVertex as al,
77004
+ getThemeColorByTableType as am,
77005
+ ViewTypeEnum as an,
77006
+ isDynamicSubTablePanelType as ao,
77007
+ isFixedSubTablePanelType as ap,
77008
+ ExpressionModeEnum as aq,
77009
+ ReturnTypeEnum as ar,
77010
+ ExpressionTabEnum as as,
77011
+ RangeValidateMode as at,
77012
+ RangeCompareOp as au,
77013
+ DecimalDisplayMode as av,
77014
+ ImageDisplayModeEnum as aw,
77015
+ FormDesignEnum as ax,
77016
+ BASIC_FIELD_TYPES as ay,
77017
+ getExclusiveBusinessTypeTokens as az,
77579
77018
  isBusinessSubTableProfile as b,
77580
- applyCheckDsDataToRuntime as b$,
77581
- BindCmpStyleEnum as b0,
77582
- getParseRuleInfo as b1,
77583
- getParseRuleValue as b2,
77584
- normalizeRefLoaderResult as b3,
77585
- STOCKTAKE_DIMENSION as b4,
77586
- F$8 as b5,
77587
- resolveStocktakeSelectApi as b6,
77588
- readSealValue as b7,
77589
- isSealStamped as b8,
77590
- RenderModeEnum as b9,
77591
- parseFrontConfig as bA,
77592
- baseDataUtils as bB,
77593
- initializeSealFields as bC,
77594
- normalizeToArray as bD,
77595
- safeParseArray as bE,
77596
- BpmnNodeTypeEnum as bF,
77597
- mergeByMultiKey as bG,
77598
- evaluateInspectionDecisionRule as bH,
77599
- areValidationCommentsEqual as bI,
77600
- useNocodeEmitter as bJ,
77601
- commonUtils as bK,
77602
- BpmnSignatureTypeEnum as bL,
77603
- ButtonTypeEnum as bM,
77604
- CHECK_TABLE_MEDPRO_PROTOCOL_KEY as bN,
77605
- CodeRunner as bO,
77606
- Config_Fields as bP,
77607
- ControlStatusEnum as bQ,
77608
- DEVICE_SEARCH_API as bR,
77609
- DeviceStatus as bS,
77610
- EBR_PROVIDE_ENUM as bT,
77611
- EFieldBizTypeEnum as bU,
77612
- MAX_FRONT_ROW_KEY_LENGTH as bV,
77613
- MobileFillTypeEnum as bW,
77614
- OfficeTypeEnum as bX,
77615
- PosEnum as bY,
77616
- RUNTIME_COLUMN_ROW_KEY as bZ,
77617
- SummaryApproveHisTypeEnum as b_,
77618
- stampSealValue as ba,
77619
- isValidSealValue as bb,
77620
- clearSealValue as bc,
77621
- normalizeProductionContainerOptions as bd,
77622
- buildProductionLotListQuery as be,
77623
- refUtils as bf,
77624
- buildInspectionLotListQuery as bg,
77625
- buildDeviceFilterQuery as bh,
77626
- DEVICE_GROUP_QUERY_KEY as bi,
77627
- getRowId as bj,
77628
- findRuntimeTableRow as bk,
77629
- calculateFormula as bl,
77630
- findRuntimeParentRow as bm,
77631
- useOnlineFormTransformField2Component as bn,
77632
- FormulaRuleFieldKeyEnum as bo,
77633
- formulaRuleFieldDict as bp,
77634
- resolveDesignPanelFeatures as bq,
77635
- BIZ_TABLE_CONFIG_SEED_TYPES as br,
77636
- STOCKTAKE_DIMENSION_OPTIONS as bs,
77637
- isRepeatingSubTablePanelType as bt,
77638
- moveSealValue as bu,
77639
- uuid2 as bv,
77640
- assembleRules as bw,
77641
- isAttachFieldActive as bx,
77642
- fetchHistoryConsume as by,
77643
- isBomGranted as bz,
77019
+ findRuntimeTableCell as b$,
77020
+ normalizeRefLoaderResult as b0,
77021
+ STOCKTAKE_DIMENSION as b1,
77022
+ F$8 as b2,
77023
+ resolveStocktakeSelectApi as b3,
77024
+ RenderModeEnum as b4,
77025
+ normalizeProductionContainerOptions as b5,
77026
+ buildProductionLotListQuery as b6,
77027
+ refUtils as b7,
77028
+ buildInspectionLotListQuery as b8,
77029
+ buildDeviceFilterQuery as b9,
77030
+ CodeRunner as bA,
77031
+ Config_Fields as bB,
77032
+ ControlStatusEnum as bC,
77033
+ DEVICE_SEARCH_API as bD,
77034
+ DeviceStatus as bE,
77035
+ EBR_PROVIDE_ENUM as bF,
77036
+ EFieldBizTypeEnum as bG,
77037
+ MAX_FRONT_ROW_KEY_LENGTH as bH,
77038
+ MobileFillTypeEnum as bI,
77039
+ OfficeTypeEnum as bJ,
77040
+ PosEnum as bK,
77041
+ RUNTIME_COLUMN_ROW_KEY as bL,
77042
+ SummaryApproveHisTypeEnum as bM,
77043
+ applyCheckDsDataToRuntime as bN,
77044
+ applyMedProCheckDsDataToRuntime as bO,
77045
+ bindRuntimeTableColumns as bP,
77046
+ buildDeviceBaseQuery as bQ,
77047
+ calcFillData as bR,
77048
+ calcUtils as bS,
77049
+ decodeTableCellRowKey as bT,
77050
+ encodeTableCellRowKey as bU,
77051
+ ensureFrontRowKey as bV,
77052
+ ensureTableRowKeys as bW,
77053
+ extractKeywordFromQueryData as bX,
77054
+ fetchCheckDsDataForTable as bY,
77055
+ fetchCustomCheckDsData as bZ,
77056
+ fetchMedProCheckDsData as b_,
77057
+ DEVICE_GROUP_QUERY_KEY as ba,
77058
+ getRowId as bb,
77059
+ findRuntimeTableRow as bc,
77060
+ findRuntimeParentRow as bd,
77061
+ useOnlineFormTransformField2Component as be,
77062
+ FormulaRuleFieldKeyEnum as bf,
77063
+ formulaRuleFieldDict as bg,
77064
+ resolveDesignPanelFeatures as bh,
77065
+ BIZ_TABLE_CONFIG_SEED_TYPES as bi,
77066
+ STOCKTAKE_DIMENSION_OPTIONS as bj,
77067
+ isRepeatingSubTablePanelType as bk,
77068
+ uuid2 as bl,
77069
+ fetchHistoryConsume as bm,
77070
+ isBomGranted as bn,
77071
+ parseFrontConfig as bo,
77072
+ baseDataUtils as bp,
77073
+ normalizeToArray as bq,
77074
+ safeParseArray as br,
77075
+ BpmnNodeTypeEnum as bs,
77076
+ mergeByMultiKey as bt,
77077
+ evaluateInspectionDecisionRule as bu,
77078
+ useNocodeEmitter as bv,
77079
+ commonUtils as bw,
77080
+ BpmnSignatureTypeEnum as bx,
77081
+ ButtonTypeEnum as by,
77082
+ CHECK_TABLE_MEDPRO_PROTOCOL_KEY as bz,
77644
77083
  getProfileByTableType as c,
77645
- INVENTORY_BASE_FIELDS as c$,
77646
- applyMedProCheckDsDataToRuntime as c0,
77647
- bindRuntimeTableColumns as c1,
77648
- buildDeviceBaseQuery as c2,
77649
- calcFillData as c3,
77650
- calcUtils as c4,
77651
- decodeTableCellRowKey as c5,
77652
- encodeTableCellRowKey as c6,
77653
- ensureFrontRowKey as c7,
77654
- ensureTableRowKeys as c8,
77655
- extractKeywordFromQueryData as c9,
77656
- isEmptyValue as cA,
77657
- buildError as cB,
77658
- resetTableRowIdentity as cC,
77659
- q as cD,
77660
- QUICK_FILL_ALLOWED_FIELDS as cE,
77661
- groupFixedTableRows as cF,
77662
- processQuickFillRows as cG,
77663
- getIsGroupEmpty as cH,
77664
- getAugmentedNamespace as cI,
77665
- CardControlEnum as cJ,
77666
- EntityModelTypeEnum as cK,
77667
- RecordNoGenerateEnum as cL,
77668
- TagTypeEnum as cM,
77669
- F$6 as cN,
77670
- SCAN_ROW_CONTENT_FIELDS as cO,
77671
- F$3 as cP,
77672
- F$7 as cQ,
77673
- runRowHandler as cR,
77674
- F$a as cS,
77675
- F$9 as cT,
77676
- FILL_FROM_SOURCE_PRODUCT_OPTION as cU,
77677
- FILL_FROM_TARGET_MATERIAL_NO_OPTION as cV,
77678
- FILL_FROM_INVENTORY_OPTION$2 as cW,
77679
- FILL_FROM_PART_OPTION as cX,
77680
- FILL_FROM_INVENTORY_OPTION$3 as cY,
77681
- TABLE_TYPE$b as cZ,
77682
- FILL_FROM_INVENTORY_OPTION$1 as c_,
77683
- fetchCheckDsDataForTable as ca,
77684
- fetchCustomCheckDsData as cb,
77685
- fetchMedProCheckDsData as cc,
77686
- findRuntimeTableCell as cd,
77687
- getCheckTableSnapshotKey as ce,
77688
- getParseRuleConfig as cf,
77689
- getReinspectionDate as cg,
77690
- getRenderedRuntimeTableCell as ch,
77691
- handleOldConfig as ci,
77692
- hasAnyCheckTableSnapshot as cj,
77693
- hasByTableCheckTableSnapshot as ck,
77694
- hasSharedCheckTableSnapshot as cl,
77695
- isMedProSuite as cm,
77696
- isTableRowKeyMatch as cn,
77697
- jsonSchemaUtils as co,
77698
- judgeUnique as cp,
77699
- migrateDiagonalDirectionToVertex as cq,
77700
- relocateDeletedRowsToEnd as cr,
77701
- requestMedProCheckDsData as cs,
77702
- requestNonMedProCheckDsData as ct,
77703
- stockCheck as cu,
77704
- useOnlineFormActionButton as cv,
77705
- getFieldPlaceholder as cw,
77706
- isReferenceOptionActive as cx,
77707
- FRONT_ROW_KEY as cy,
77708
- filterRulesByTrigger as cz,
77084
+ applyFillFromProductOption$1 as c$,
77085
+ getCheckTableSnapshotKey as c0,
77086
+ getParseRuleConfig as c1,
77087
+ getReinspectionDate as c2,
77088
+ getRenderedRuntimeTableCell as c3,
77089
+ handleOldConfig as c4,
77090
+ hasAnyCheckTableSnapshot as c5,
77091
+ hasByTableCheckTableSnapshot as c6,
77092
+ hasSharedCheckTableSnapshot as c7,
77093
+ isMedProSuite as c8,
77094
+ isTableRowKeyMatch as c9,
77095
+ F$9 as cA,
77096
+ FILL_FROM_SOURCE_PRODUCT_OPTION as cB,
77097
+ FILL_FROM_TARGET_MATERIAL_NO_OPTION as cC,
77098
+ FILL_FROM_INVENTORY_OPTION$2 as cD,
77099
+ FILL_FROM_PART_OPTION as cE,
77100
+ FILL_FROM_INVENTORY_OPTION$3 as cF,
77101
+ TABLE_TYPE$b as cG,
77102
+ FILL_FROM_INVENTORY_OPTION$1 as cH,
77103
+ INVENTORY_BASE_FIELDS as cI,
77104
+ resolveGroupByWarehouse as cJ,
77105
+ AUTO_LOAD_READONLY_SELECT_FIELDS as cK,
77106
+ buildFillFromInventoryOption as cL,
77107
+ resolveStocktakeInventoryApi as cM,
77108
+ F$5 as cN,
77109
+ FILL_FROM_INVENTORY_OPTION as cO,
77110
+ composeProductionLotListQuery as cP,
77111
+ F as cQ,
77112
+ isProductManuallyEditable as cR,
77113
+ applyFillFromMfgOrderOption as cS,
77114
+ applyFillFromOption as cT,
77115
+ applyFillFromProductOption as cU,
77116
+ MATERIAL_CONTAINER_ID as cV,
77117
+ F$c as cW,
77118
+ PRODUCT_QUICK_SEARCH_FIELDS as cX,
77119
+ PRODUCT_QUICK_SEARCH_EXP as cY,
77120
+ isProductManuallyEditable$1 as cZ,
77121
+ applyFillFromMaterialNoOption as c_,
77122
+ jsonSchemaUtils as ca,
77123
+ judgeUnique as cb,
77124
+ migrateDiagonalDirectionToVertex as cc,
77125
+ requestMedProCheckDsData as cd,
77126
+ requestNonMedProCheckDsData as ce,
77127
+ stockCheck as cf,
77128
+ useOnlineFormActionButton as cg,
77129
+ getFieldPlaceholder as ch,
77130
+ FRONT_ROW_KEY as ci,
77131
+ resetTableRowIdentity as cj,
77132
+ q as ck,
77133
+ QUICK_FILL_ALLOWED_FIELDS as cl,
77134
+ groupFixedTableRows as cm,
77135
+ processQuickFillRows as cn,
77136
+ getIsGroupEmpty as co,
77137
+ getAugmentedNamespace as cp,
77138
+ CardControlEnum as cq,
77139
+ EntityModelTypeEnum as cr,
77140
+ RecordNoGenerateEnum as cs,
77141
+ TagTypeEnum as ct,
77142
+ F$6 as cu,
77143
+ SCAN_ROW_CONTENT_FIELDS as cv,
77144
+ F$3 as cw,
77145
+ F$7 as cx,
77146
+ runRowHandler as cy,
77147
+ F$a as cz,
77709
77148
  getBusinessProfileByRefModelType as d,
77710
- TrashButton as d$,
77711
- resolveGroupByWarehouse as d0,
77712
- AUTO_LOAD_READONLY_SELECT_FIELDS as d1,
77713
- buildFillFromInventoryOption as d2,
77714
- resolveStocktakeInventoryApi as d3,
77715
- F$5 as d4,
77716
- FILL_FROM_INVENTORY_OPTION as d5,
77717
- composeProductionLotListQuery as d6,
77718
- F as d7,
77719
- isProductManuallyEditable as d8,
77720
- applyFillFromMfgOrderOption as d9,
77721
- ColumnMovePlugin as dA,
77722
- ThemeService as dB,
77723
- h as dC,
77724
- Host as dD,
77725
- getElement as dE,
77726
- BasePlugin as dF,
77727
- reduce as dG,
77728
- columnTypes as dH,
77729
- debounce$1 as dI,
77730
- RESIZE_INTERVAL as dJ,
77731
- DimensionStore as dK,
77732
- gatherTrimmedItems as dL,
77733
- getColumnSizes as dM,
77734
- getItemByIndex as dN,
77735
- DataStore as dO,
77736
- getSourceItem as dP,
77737
- getSourceItemVirtualIndexByProp as dQ,
77738
- getColumnType as dR,
77739
- setSourceByPhysicalIndex as dS,
77740
- setSourceByVirtualIndex as dT,
77741
- SelectionStore as dU,
77742
- cropCellToMax as dV,
77743
- nextCell as dW,
77744
- isRowType as dX,
77745
- ViewportStore as dY,
77746
- AndOrButton as dZ,
77747
- ReorderButton as d_,
77748
- applyFillFromOption as da,
77749
- applyFillFromProductOption as db,
77750
- MATERIAL_CONTAINER_ID as dc,
77751
- F$c as dd,
77752
- PRODUCT_QUICK_SEARCH_FIELDS as de,
77753
- PRODUCT_QUICK_SEARCH_EXP as df,
77754
- isProductManuallyEditable$1 as dg,
77755
- applyFillFromMaterialNoOption as dh,
77756
- applyFillFromProductOption$1 as di,
77757
- F$b as dj,
77758
- FILL_FROM_INVENTORY_OPTION$4 as dk,
77759
- registerInstance as dl,
77760
- createEvent as dm,
77761
- getColumnByProp as dn,
77762
- timeout as dp,
77763
- getVisibleSourceItem as dq,
77764
- getColumns as dr,
77765
- rowTypes as ds,
77766
- GroupingRowPlugin as dt,
77767
- StretchColumn as du,
77768
- isStretchPlugin as dv,
77769
- AutoSizeColumnPlugin as dw,
77770
- FilterPlugin as dx,
77771
- ExportFilePlugin as dy,
77772
- SortingPlugin as dz,
77149
+ isObject as d$,
77150
+ F$b as d0,
77151
+ FILL_FROM_INVENTORY_OPTION$4 as d1,
77152
+ registerInstance as d2,
77153
+ createEvent as d3,
77154
+ getColumnByProp as d4,
77155
+ timeout as d5,
77156
+ getVisibleSourceItem as d6,
77157
+ getColumns as d7,
77158
+ rowTypes as d8,
77159
+ GroupingRowPlugin as d9,
77160
+ setSourceByVirtualIndex as dA,
77161
+ SelectionStore as dB,
77162
+ cropCellToMax as dC,
77163
+ nextCell as dD,
77164
+ isRowType as dE,
77165
+ ViewportStore as dF,
77166
+ AndOrButton as dG,
77167
+ ReorderButton as dH,
77168
+ TrashButton as dI,
77169
+ isFilterBtn as dJ,
77170
+ ColumnService as dK,
77171
+ MOBILE_CLASS as dL,
77172
+ SELECTION_BORDER_CLASS as dM,
77173
+ getCellData as dN,
77174
+ getCellEditor as dO,
77175
+ getRange as dP,
77176
+ isRangeSingleCell as dQ,
77177
+ codesLetter as dR,
77178
+ calculateRowHeaderSize as dS,
77179
+ ROW_HEADER_TYPE as dT,
77180
+ getScrollbarSize as dU,
77181
+ FOCUS_CLASS as dV,
77182
+ CELL_HANDLER_CLASS as dW,
77183
+ TMP_SELECTION_BG_CLASS as dX,
77184
+ getItemByPosition as dY,
77185
+ EDIT_INPUT_WR as dZ,
77186
+ keyValues as d_,
77187
+ StretchColumn as da,
77188
+ isStretchPlugin as db,
77189
+ AutoSizeColumnPlugin as dc,
77190
+ FilterPlugin as dd,
77191
+ ExportFilePlugin as de,
77192
+ SortingPlugin as df,
77193
+ ColumnMovePlugin as dg,
77194
+ ThemeService as dh,
77195
+ h as di,
77196
+ Host as dj,
77197
+ getElement as dk,
77198
+ BasePlugin as dl,
77199
+ reduce as dm,
77200
+ columnTypes as dn,
77201
+ debounce$1 as dp,
77202
+ RESIZE_INTERVAL as dq,
77203
+ DimensionStore as dr,
77204
+ gatherTrimmedItems as ds,
77205
+ getColumnSizes as dt,
77206
+ getItemByIndex as du,
77207
+ DataStore as dv,
77208
+ getSourceItem as dw,
77209
+ getSourceItemVirtualIndexByProp as dx,
77210
+ getColumnType as dy,
77211
+ setSourceByPhysicalIndex as dz,
77773
77212
  expandAutofillTemplates as e,
77774
- isFilterBtn as e0,
77775
- ColumnService as e1,
77776
- MOBILE_CLASS as e2,
77777
- SELECTION_BORDER_CLASS as e3,
77778
- getCellData as e4,
77779
- getCellEditor as e5,
77780
- getRange as e6,
77781
- isRangeSingleCell as e7,
77782
- codesLetter as e8,
77783
- calculateRowHeaderSize as e9,
77784
- isGrouping as eA,
77785
- HEADER_ROW_CLASS as eB,
77786
- HEADER_ACTUAL_ROW_CLASS as eC,
77787
- ROW_FOCUSED_CLASS as eD,
77788
- HEADER_SORTABLE_CLASS as eE,
77789
- MIN_COL_SIZE as eF,
77790
- FilterButton as eG,
77791
- HeaderCellRenderer as eH,
77792
- HEADER_CLASS as eI,
77793
- ROW_HEADER_TYPE as ea,
77794
- getScrollbarSize as eb,
77795
- FOCUS_CLASS as ec,
77796
- CELL_HANDLER_CLASS as ed,
77797
- TMP_SELECTION_BG_CLASS as ee,
77798
- getItemByPosition as ef,
77799
- EDIT_INPUT_WR as eg,
77800
- keyValues as eh,
77801
- isObject as ei,
77802
- DRAGG_TEXT as ej,
77803
- PSEUDO_GROUP_ITEM as ek,
77804
- GROUP_EXPANDED as el,
77805
- GROUP_DEPTH as em,
77806
- GROUP_EXPAND_BTN as en,
77807
- DATA_ROW as eo,
77808
- isGroupingColumn as ep,
77809
- GROUP_COLUMN_PROP as eq,
77810
- getCellRaw as er,
77811
- DATA_COL as es,
77812
- CELL_CLASS as et,
77813
- Build as eu,
77814
- isRowDragService as ev,
77815
- DRAG_ICON_CLASS as ew,
77816
- DRAGGABLE_CLASS as ex,
77817
- getCellDataParsed as ey,
77818
- GROUP_EXPAND_EVENT as ez,
77213
+ DRAGG_TEXT as e0,
77214
+ PSEUDO_GROUP_ITEM as e1,
77215
+ GROUP_EXPANDED as e2,
77216
+ GROUP_DEPTH as e3,
77217
+ GROUP_EXPAND_BTN as e4,
77218
+ DATA_ROW as e5,
77219
+ isGroupingColumn as e6,
77220
+ GROUP_COLUMN_PROP as e7,
77221
+ getCellRaw as e8,
77222
+ DATA_COL as e9,
77223
+ CELL_CLASS as ea,
77224
+ Build as eb,
77225
+ isRowDragService as ec,
77226
+ DRAG_ICON_CLASS as ed,
77227
+ DRAGGABLE_CLASS as ee,
77228
+ getCellDataParsed as ef,
77229
+ GROUP_EXPAND_EVENT as eg,
77230
+ isGrouping as eh,
77231
+ HEADER_ROW_CLASS as ei,
77232
+ HEADER_ACTUAL_ROW_CLASS as ej,
77233
+ ROW_FOCUSED_CLASS as ek,
77234
+ HEADER_SORTABLE_CLASS as el,
77235
+ MIN_COL_SIZE as em,
77236
+ FilterButton as en,
77237
+ HeaderCellRenderer as eo,
77238
+ HEADER_CLASS as ep,
77819
77239
  SubTableType as f,
77820
77240
  getAllDataProfiles as g,
77821
77241
  getAllBusinessRefModelTypes as h,