@gct-paas/excel 0.1.34 → 0.1.35

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 (54) hide show
  1. package/dist/{BaseComponent-_Tw8N_6J.js → BaseComponent-C-T3bipZ.js} +1 -1
  2. package/dist/{barcode-design-l1M7YhQ4.js → barcode-design-B11QXZvG.js} +1 -1
  3. package/dist/base/index.es.js +22 -8
  4. package/dist/{diagonal-design-9sIwuCOq.js → diagonal-design-B6qOpgJB.js} +1 -1
  5. package/dist/{dynamic-table-action-Bgwu2J5-.js → dynamic-table-action-ClvCYTXt.js} +3 -0
  6. package/dist/{exceljs.min-BC8M-dtv.js → exceljs.min-wkM2JRWA.js} +1 -1
  7. package/dist/{font-editor-CsclZy98.js → font-editor-qk8ye00Z.js} +1 -1
  8. package/dist/{index-Q6EM0L2a.js → index-98JlcyIh.js} +2 -2
  9. package/dist/{index-jDUqcMDS.js → index-B0CE87b5.js} +2 -2
  10. package/dist/{index-Dk8Tzd5l.js → index-B4SeHIvj.js} +2 -2
  11. package/dist/{index-CT5-f2Au.js → index-BHTh3IKd.js} +1 -1
  12. package/dist/{index-RZFebqUU.js → index-BHihG6wo.js} +2 -2
  13. package/dist/{index-PgiiSnTz.js → index-BNd6EBaX.js} +1 -1
  14. package/dist/{index-DX_Q7-Ex.js → index-BReNIvpZ.js} +1 -1
  15. package/dist/{index-CvR85MT_.js → index-BbxeAoGv.js} +1 -1
  16. package/dist/{index-D874iHsv.js → index-BsAib_T0.js} +1 -1
  17. package/dist/{index-TcBAhuR3.js → index-C4WGrLrq.js} +1 -1
  18. package/dist/{index-BQMk49wv.js → index-CMyaYX19.js} +1 -1
  19. package/dist/{index-CZ3sFBq-.js → index-COIKVzHE.js} +1 -1
  20. package/dist/{index-DAKyKA6u.js → index-CSOaeJHs.js} +26 -26
  21. package/dist/{index-ChxSu2Nh.js → index-CUVo4Y3e.js} +1 -1
  22. package/dist/{index-D0JsOfx9.js → index-CZ19OTa-.js} +1 -1
  23. package/dist/{index-0Rza_pO7.js → index-CmKaq9BA.js} +1 -1
  24. package/dist/{index-BgCogSDc.js → index-DEPdSmRz.js} +1 -1
  25. package/dist/{index-6ngOgN2T.js → index-Da3dLccm.js} +1 -1
  26. package/dist/{index-BqLIOyYU.js → index-DblJyfD1.js} +2 -2
  27. package/dist/{index-BmNtd4fF.js → index-DyYIAGuW.js} +1 -1
  28. package/dist/{index-i-kXn1Pm.js → index-Yak4dcr8.js} +1 -1
  29. package/dist/{index-DWM0h8VY.js → index-ZPbeIApi.js} +1 -1
  30. package/dist/{index-CIIhgR7l.js → index-hlChb3S5.js} +1 -1
  31. package/dist/index.es.js +1 -1
  32. package/dist/{pagination-design-DMqBR1NA.js → pagination-design-e6YmfypM.js} +1 -1
  33. package/dist/paper-widget-design-DNgkKQGY.js +4 -0
  34. package/dist/{qrcode-design-10wjLIKT.js → qrcode-design-B8OeEjHi.js} +1 -1
  35. package/dist/{single-field-drop-DkY3m6YN.js → single-field-drop-DtXqBBy7.js} +1 -1
  36. package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +2 -0
  37. package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +1 -0
  38. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -0
  39. package/dist/{text-design-CbV0vuqF.js → text-design-DpCprqkB.js} +1 -1
  40. package/dist/{trace-like-wrapper-X6CpvzRL.js → trace-like-wrapper-aVtmhEpO.js} +1 -1
  41. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CRA6eXLm.js → value-editor.vue_vue_type_style_index_0_lang-C98Wj3QJ.js} +1 -1
  42. package/dist/{widget-barcode-Cu626jK0.js → widget-barcode-fA706IEU.js} +2 -2
  43. package/dist/{widget-diagonal-GjbFYzj9.js → widget-diagonal-DJIIPhRm.js} +2 -2
  44. package/dist/{widget-image-DVagnQCr.js → widget-image-iA5POujb.js} +1 -1
  45. package/dist/{widget-line-CRSekvVI.js → widget-line-bjO0OmRM.js} +1 -1
  46. package/dist/{widget-pagination-DWxAH-L-.js → widget-pagination-CCWAQS5T.js} +2 -2
  47. package/dist/{widget-power-CP0-k64v.js → widget-power-D3TkaSwc.js} +2 -2
  48. package/dist/{widget-qrcode-BmLxlcml.js → widget-qrcode-B1ohZ9gB.js} +2 -2
  49. package/dist/{widget-rangelimit-CWU0hpQa.js → widget-rangelimit-D8F6Ryvq.js} +2 -2
  50. package/dist/{widget-serialnumber-RrIf7OeB.js → widget-serialnumber-CWpzTsBq.js} +1 -1
  51. package/dist/{widget-text-C_-KzTvw.js → widget-text-Ouno0e1_.js} +3 -3
  52. package/dist/{widget-timediff-DypM9RjI.js → widget-timediff-biUSdm8e.js} +1 -1
  53. package/package.json +1 -1
  54. package/dist/paper-widget-design-C8fkvFqe.js +0 -4
@@ -1,4 +1,4 @@
1
- import { n as normalizeFieldWidth } from "./dynamic-table-action-Bgwu2J5-.js";
1
+ import { n as normalizeFieldWidth } from "./dynamic-table-action-ClvCYTXt.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, 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-DAKyKA6u.js";
3
+ import { u as useSpreadSheet, d as useModelFields, l as loadBwip } from "./index-CSOaeJHs.js";
4
4
  import { M as PaperWidgeValueType, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,7 +1,7 @@
1
1
  import { bp as fetchHistoryConsume, bq as isBomGranted, F as FIELD_TYPE, z as api, br as F$1, bs as F$2, bt as runRowHandler, h as getProfileByTableType, f as isBusinessSubTableProfile, bu as F$3, bv as F$4, bw as FILL_FROM_INVENTORY_OPTION, bx as FILL_FROM_PART_OPTION, by as FILL_FROM_INVENTORY_OPTION$1, bz as TABLE_TYPE, bA as FILL_FROM_INVENTORY_OPTION$2, b5 as F$5, bB as INVENTORY_BASE_FIELDS, bC as resolveGroupByWarehouse, bD as AUTO_LOAD_READONLY_SELECT_FIELDS, b4 as STOCKTAKE_DIMENSION, b1 as getParseRuleInfo, bE as buildFillFromInventoryOption, bF as calcFillData, bG as resolveStocktakeInventoryApi, b2 as getParseRuleValue, bH as F$6, bI as FILL_FROM_INVENTORY_OPTION$3, bJ as extractKeywordFromQueryData, bK as composeProductionLotListQuery, aF as resolveLotDisplayLabel, bL as F$7, bM as isProductManuallyEditable, bN as applyFillFromMfgOrderOption, bO as applyFillFromOption$1, bP as applyFillFromProductOption, aT as LOT_CONTAINER_ROLE, bQ as MATERIAL_CONTAINER_ID, bR as F$8, bS as PRODUCT_QUICK_SEARCH_FIELDS, bT as PRODUCT_QUICK_SEARCH_EXP, bU as isProductManuallyEditable$1, bV as applyFillFromMaterialNoOption, bW as applyFillFromProductOption$1, bX as F$9, bY as FILL_FROM_INVENTORY_OPTION$4, V as FormTypeEnum, bb as transformUtils, l as SubTableType, aW as NCB_PROVIDE, bZ as settleAndValidateDisplay, b_ as unregisterValidationContext, b$ as clearFormRules, c0 as registerValidationContext, C as ComponentTypeEnum, bf as RenderModeEnum, c1 as requestFullValidation, c2 as requestDisplayValidation, aV as renderUtils, c3 as closeValidatorPopovers, c4 as baseDataUtils, c5 as getRawFormRuleMeta, c6 as enrichFormChangeRowDetails, c7 as settleAfterModeSwitch, c8 as calcUtils, aG as CheckDsTypeEnum, Z as PlatformEnum, c9 as uuid2, ca as normalizeToArray, cb as safeParseArray, cc as BpmnNodeTypeEnum, cd as mergeByMultiKey, bo as useNocodeEmitter, ce as commonUtils, aE as EntityModelCategoryEnum, cf as getRowId, cg as collectFormChangeFieldLocations, ch as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
2
2
  import { aJ, aL, b0, $, ci, cj, B, ck, x, ab, cl, cm, cn, bd, co, aS, au, aK, aH, aI, cp, ac, ag, cq, cr, aB, aa, av, aN, _, ae, L, cs, ct, O, o, P, a6, n, M, aM, cu, at, as, a2, a0, a1, a3, cv, af, aj, ad, cw, cx, cy, bc, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, aZ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, cV, cW, cX, aY, cY, b7, cZ, c_, c$, ba, d0, d1, d2, d3, ah, q, d4, d5, aR, d6, aQ, aO, d7, N, b3, bg, a$, d8, be, aP, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
3
- import { M as MaterialConsumptionPatternEnum, o as MaterialConsumeTableController, i as isEdhrSuite, p as SubTableCore, q as SubTableActionMenuTypeEnum, s as getMenuByAction, t as SubTableActionEnum, w as getInsertSubMenu, x as resolveScanAdjustType, y as resolveScanQty, z as toDateOnly, A as getCopySubMenu, C as resolveScanParsedValue, F as resolveScanFillData, G as isProductBatchEmptyRow, H as useMaterialBalance, J as validate, K as validateObjectBomQtyOnSubmit } from "../dynamic-table-action-Bgwu2J5-.js";
4
- import { B as B2, L as L2, D, _ as _2, N as N2, l, O as O2, m, E, P as P2, Q, I, T, U, e, b, f, V, g, h, W, X, Y, Z, c, r, d, u, j, a, k, v } from "../dynamic-table-action-Bgwu2J5-.js";
3
+ import { M as MaterialConsumptionPatternEnum, o as MaterialConsumeTableController, i as isEdhrSuite, p as SubTableCore, q as SubTableActionMenuTypeEnum, s as getMenuByAction, t as SubTableActionEnum, w as getInsertSubMenu, x as resolveScanAdjustType, y as resolveScanQty, z as toDateOnly, A as getCopySubMenu, C as resolveScanParsedValue, F as resolveScanFillData, G as isProductBatchEmptyRow, H as useMaterialBalance, J as validate, K as validateObjectBomQtyOnSubmit } from "../dynamic-table-action-ClvCYTXt.js";
4
+ import { B as B2, L as L2, D, _ as _2, N as N2, l, O as O2, m, E, P as P2, Q, I, T, U, e, b, f, V, g, h, W, X, Y, Z, c, r, d, u, j, a, k, v } from "../dynamic-table-action-ClvCYTXt.js";
5
5
  import { ref, provide, watch, computed, onUnmounted, onBeforeMount } from "vue";
6
6
  import { defaults, has, merge, isEmpty, cloneDeep, debounce } from "lodash-es";
7
7
  import "dayjs";
@@ -1118,7 +1118,7 @@ function applyFillFromOption(A, B4) {
1118
1118
  const writableA = A;
1119
1119
  fillFromOption.forEach(({ optionField, toField }) => {
1120
1120
  if (has(B4, optionField)) {
1121
- writableA[toField] = B4[optionField];
1121
+ writableA[toField] = toField === F2.productionDate ? toDateOnly(B4[optionField]) : B4[optionField];
1122
1122
  }
1123
1123
  });
1124
1124
  return A;
@@ -1263,7 +1263,7 @@ class SterilizeBatchTableCore extends SubTableCore {
1263
1263
  const { field, option, value, rowData } = params;
1264
1264
  if (field !== F2.productionContainer) return;
1265
1265
  if (option) {
1266
- applyFillFromOption(rowData, option);
1266
+ applyFillFromOption(rowData, option._item ?? option);
1267
1267
  return;
1268
1268
  }
1269
1269
  if (value == null || value === "") {
@@ -1272,6 +1272,15 @@ class SterilizeBatchTableCore extends SubTableCore {
1272
1272
  });
1273
1273
  }
1274
1274
  };
1275
+ prepareSubmitFormState(formState) {
1276
+ const rows = formState[this.subFieldKey];
1277
+ if (!Array.isArray(rows)) return;
1278
+ rows.forEach((row) => {
1279
+ if (row?.[F2.productionDate] != null && row[F2.productionDate] !== "") {
1280
+ row[F2.productionDate] = toDateOnly(row[F2.productionDate]);
1281
+ }
1282
+ });
1283
+ }
1275
1284
  async onScan(input) {
1276
1285
  const parsed = resolveScanParsedValue(input);
1277
1286
  if (!parsed || !hasProductionIdentificationScanKey(parsed)) {
@@ -1928,6 +1937,10 @@ class SubTableCoreFactory {
1928
1937
  }
1929
1938
  });
1930
1939
  }
1940
+ /** 提交前让各子表处理表单副本 */
1941
+ prepareSubmitFormState(formState) {
1942
+ Object.values(this.coreMap).forEach((core) => core.prepareSubmitFormState(formState));
1943
+ }
1931
1944
  /**
1932
1945
  * 处理子表字段的默认值映射
1933
1946
  * 往已有的默认值映射里补充额外的默认值
@@ -2787,10 +2800,11 @@ function useRenderPageFactory(props, payload) {
2787
2800
  const getFormState = (uniqueId) => {
2788
2801
  const formState = formStateMap.value?.[uniqueId];
2789
2802
  const dataCenter = dataCenterMap.value?.[uniqueId];
2790
- return transformUtils.getSubmitFormData(
2791
- cloneDeep(formState),
2792
- dataCenter[ComponentTypeEnum.PAPER]
2793
- );
2803
+ const submitFormState = cloneDeep(formState);
2804
+ if (submitFormState) {
2805
+ subTableCoreFactoryMap.value[uniqueId]?.prepareSubmitFormState(submitFormState);
2806
+ }
2807
+ return transformUtils.getSubmitFormData(submitFormState, dataCenter[ComponentTypeEnum.PAPER]);
2794
2808
  };
2795
2809
  const setFromEditStatus = async (uniqueId) => {
2796
2810
  payload.onFinisher && payload.onFinisher(props.selfId, RenderModeEnum.FormMode);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { d as useModelFields, D as Diagonal } from "./index-DAKyKA6u.js";
2
+ import { d as useModelFields, D as Diagonal } from "./index-CSOaeJHs.js";
3
3
  import { ah as resolveDiagonalVertex, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
@@ -3136,6 +3136,9 @@ class SubTableCore {
3136
3136
  handleInitializeFormState(_params) {
3137
3137
  return void 0;
3138
3138
  }
3139
+ /** 提交前处理当前子表的数据(由工厂在表单副本上调用) */
3140
+ prepareSubmitFormState(_formState) {
3141
+ }
3139
3142
  /**
3140
3143
  * 计算每行的行操作的菜单
3141
3144
  * @param rowData
@@ -1,5 +1,5 @@
1
1
  import { I as commonjsGlobal, J as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
2
- import { c as commonjsRequire } from "./index-DAKyKA6u.js";
2
+ import { c as commonjsRequire } from "./index-CSOaeJHs.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
2
2
  import { A as AlignEditor } from "./align-editor-Bk5NBwxp.js";
3
3
  import { pick } from "lodash-es";
4
- import { p as _sfc_main$1, C as ColorPicker } from "./index-DAKyKA6u.js";
4
+ import { p as _sfc_main$1, C as ColorPicker } from "./index-CSOaeJHs.js";
5
5
  import { a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle mb-6px" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
7
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-DAKyKA6u.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-CSOaeJHs.js";
8
8
  class Select extends BaseComponent {
9
9
  component = ComponentTypeEnum.Select;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, O as Orientation, $ as BooleanShowMode, _ as La
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { g as getFieldWidget } from "./index-DAKyKA6u.js";
7
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { g as getFieldWidget } from "./index-CSOaeJHs.js";
7
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
8
8
  class Switch extends BaseComponent {
9
9
  component = ComponentTypeEnum.Switch;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, O as Orientation, _ as LabelPosition, b0 as Bin
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
7
- import { g as getFieldWidget } from "./index-DAKyKA6u.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
+ import { g as getFieldWidget } from "./index-CSOaeJHs.js";
8
8
  class EnumSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.EnumSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, av as ImageDisplayModeEnum } from "./dynamic-ta
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class UploadImage extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadImage;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-X6CpvzRL.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-aVtmhEpO.js";
8
8
  class AutoComplete extends BaseComponent {
9
9
  component = ComponentTypeEnum.AutoComplete;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class Timepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Timepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class Diagonal extends BaseComponent {
8
8
  component = ComponentTypeEnum.Diagonal;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, at as RangeCompareOp, as as RangeValidateMode }
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class Datepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Datepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, au as DecimalDisplayMode, at as RangeCompareOp,
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class InputDouble extends BaseComponent {
8
8
  component = ComponentTypeEnum.InputDouble;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, O as Orientation, $ as BooleanShowMode, _ as La
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class DynValue extends BaseComponent {
8
8
  component = ComponentTypeEnum.DynValue;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, av as ImageDisplayModeEnum, a0 as SignatureNumb
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class Sign extends BaseComponent {
8
8
  component = ComponentTypeEnum.Sign;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, au as DecimalDisplayMode, at as RangeCompareOp,
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class InputNumber extends BaseComponent {
8
8
  component = ComponentTypeEnum.Inputnumber;
9
9
  wrapperCmpConfig({ data }) {
@@ -7,7 +7,7 @@ import * as Antd from "ant-design-vue";
7
7
  import { message, Modal, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
8
8
  import { S as SEARCH_SEVICE, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$5W, a as SignatureTypeEnum$1 } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D0gNSgDm.js";
9
9
  import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
10
- import { n as normalizeFieldWidth, B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, a as useTmplBom, g as getObjectBomMaterialLotQuery, b as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, c as resolveObjectBomEntry, d as runWithFillProduct, e as applyConsumeObjectTraceChange, i as isEdhrSuite, I as InstanceStatusValues, f as fetchOperationReceiveQty, h as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, j as useStyles, k as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, _ as _sfc_main$5Y, l as DocumentPaper, m as DynamicTableAction } from "./dynamic-table-action-Bgwu2J5-.js";
10
+ import { n as normalizeFieldWidth, B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, a as useTmplBom, g as getObjectBomMaterialLotQuery, b as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, c as resolveObjectBomEntry, d as runWithFillProduct, e as applyConsumeObjectTraceChange, i as isEdhrSuite, I as InstanceStatusValues, f as fetchOperationReceiveQty, h as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, j as useStyles, k as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, _ as _sfc_main$5Y, l as DocumentPaper, m as DynamicTableAction } from "./dynamic-table-action-ClvCYTXt.js";
11
11
  import { u as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, a as useEventListener, b as unrefElement, c as useIntersectionObserver, e as cacheAdapter, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, r as require$$0, U as Uploader, _ as _sfc_main$5X, f as initWebNocodeAdapter } from "./index-CkNER_VJ.js";
12
12
  import { useFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
13
13
  import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
@@ -1218,7 +1218,7 @@ function openWindow(url, opt) {
1218
1218
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
1219
1219
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
1220
1220
  async function createWorkbook() {
1221
- const ExcelJs = (await import("./exceljs.min-BC8M-dtv.js").then((n) => n.e)).default;
1221
+ const ExcelJs = (await import("./exceljs.min-wkM2JRWA.js").then((n) => n.e)).default;
1222
1222
  return new ExcelJs.Workbook();
1223
1223
  }
1224
1224
  class XlsxParser {
@@ -1505,27 +1505,27 @@ class XlsxParser {
1505
1505
  }
1506
1506
  function asyncImportClassModules() {
1507
1507
  const modules = /* @__PURE__ */ Object.assign({
1508
- "./_field_/auto-complete/index.ts": () => import("./index-RZFebqUU.js").then((m) => m["default"]),
1509
- "./_field_/datepicker/index.ts": () => import("./index-CvR85MT_.js").then((m) => m["default"]),
1510
- "./_field_/datetimepicker/index.ts": () => import("./index-0Rza_pO7.js").then((m) => m["default"]),
1511
- "./_field_/department/index.ts": () => import("./index-6ngOgN2T.js").then((m) => m["default"]),
1512
- "./_field_/enum-select/index.ts": () => import("./index-Dk8Tzd5l.js").then((m) => m["default"]),
1513
- "./_field_/input/index.ts": () => import("./index-i-kXn1Pm.js").then((m) => m["default"]),
1514
- "./_field_/inputdouble/index.ts": () => import("./index-D874iHsv.js").then((m) => m["default"]),
1515
- "./_field_/inputnumber/index.ts": () => import("./index-CZ3sFBq-.js").then((m) => m["default"]),
1516
- "./_field_/rdo-select/index.ts": () => import("./index-BqLIOyYU.js").then((m) => m["default"]),
1517
- "./_field_/select/index.ts": () => import("./index-Q6EM0L2a.js").then((m) => m["default"]),
1518
- "./_field_/sign/index.ts": () => import("./index-BQMk49wv.js").then((m) => m["default"]),
1519
- "./_field_/switch/index.ts": () => import("./index-jDUqcMDS.js").then((m) => m["default"]),
1520
- "./_field_/textarea/index.ts": () => import("./index-DWM0h8VY.js").then((m) => m["default"]),
1521
- "./_field_/timepicker/index.ts": () => import("./index-PgiiSnTz.js").then((m) => m["default"]),
1522
- "./_field_/upload-file/index.ts": () => import("./index-BmNtd4fF.js").then((m) => m["default"]),
1523
- "./_field_/upload-image/index.ts": () => import("./index-CT5-f2Au.js").then((m) => m["default"]),
1524
- "./_field_/userpicker/index.ts": () => import("./index-CIIhgR7l.js").then((m) => m["default"]),
1508
+ "./_field_/auto-complete/index.ts": () => import("./index-BHihG6wo.js").then((m) => m["default"]),
1509
+ "./_field_/datepicker/index.ts": () => import("./index-BbxeAoGv.js").then((m) => m["default"]),
1510
+ "./_field_/datetimepicker/index.ts": () => import("./index-CmKaq9BA.js").then((m) => m["default"]),
1511
+ "./_field_/department/index.ts": () => import("./index-Da3dLccm.js").then((m) => m["default"]),
1512
+ "./_field_/enum-select/index.ts": () => import("./index-B4SeHIvj.js").then((m) => m["default"]),
1513
+ "./_field_/input/index.ts": () => import("./index-Yak4dcr8.js").then((m) => m["default"]),
1514
+ "./_field_/inputdouble/index.ts": () => import("./index-BsAib_T0.js").then((m) => m["default"]),
1515
+ "./_field_/inputnumber/index.ts": () => import("./index-COIKVzHE.js").then((m) => m["default"]),
1516
+ "./_field_/rdo-select/index.ts": () => import("./index-DblJyfD1.js").then((m) => m["default"]),
1517
+ "./_field_/select/index.ts": () => import("./index-98JlcyIh.js").then((m) => m["default"]),
1518
+ "./_field_/sign/index.ts": () => import("./index-CMyaYX19.js").then((m) => m["default"]),
1519
+ "./_field_/switch/index.ts": () => import("./index-B0CE87b5.js").then((m) => m["default"]),
1520
+ "./_field_/textarea/index.ts": () => import("./index-ZPbeIApi.js").then((m) => m["default"]),
1521
+ "./_field_/timepicker/index.ts": () => import("./index-BNd6EBaX.js").then((m) => m["default"]),
1522
+ "./_field_/upload-file/index.ts": () => import("./index-DyYIAGuW.js").then((m) => m["default"]),
1523
+ "./_field_/upload-image/index.ts": () => import("./index-BHTh3IKd.js").then((m) => m["default"]),
1524
+ "./_field_/userpicker/index.ts": () => import("./index-hlChb3S5.js").then((m) => m["default"]),
1525
1525
  "./_widget_/barcode/index.ts": () => import("./index-BCm5uXm-.js").then((m) => m["default"]),
1526
- "./_widget_/combine-fields/index.ts": () => import("./index-BgCogSDc.js").then((m) => m["default"]),
1527
- "./_widget_/diagonal/index.ts": () => import("./index-DX_Q7-Ex.js").then((m) => m["default"]),
1528
- "./_widget_/dyn-value/index.ts": () => import("./index-TcBAhuR3.js").then((m) => m["default"]),
1526
+ "./_widget_/combine-fields/index.ts": () => import("./index-DEPdSmRz.js").then((m) => m["default"]),
1527
+ "./_widget_/diagonal/index.ts": () => import("./index-BReNIvpZ.js").then((m) => m["default"]),
1528
+ "./_widget_/dyn-value/index.ts": () => import("./index-C4WGrLrq.js").then((m) => m["default"]),
1529
1529
  "./_widget_/image/index.ts": () => import("./index-C6yP97M1.js").then((m) => m["default"]),
1530
1530
  "./_widget_/line/index.ts": () => import("./index-DIPExK1-.js").then((m) => m["default"]),
1531
1531
  "./_widget_/power/index.ts": () => import("./index-DZZB4Wki.js").then((m) => m["default"]),
@@ -1535,8 +1535,8 @@ function asyncImportClassModules() {
1535
1535
  "./_widget_/sub-table/index.ts": () => import("./index-Dnv99kDV.js").then((m) => m["default"]),
1536
1536
  "./_widget_/timediff/index.ts": () => import("./index-DK3WaVk5.js").then((m) => m["default"]),
1537
1537
  "./paper/index.ts": () => import("./index-C3OVB8dF.js").then((m) => m["default"]),
1538
- "./td/index.ts": () => import("./index-D0JsOfx9.js").then((m) => m["default"]),
1539
- "./tr/index.ts": () => import("./index-ChxSu2Nh.js").then((m) => m["default"])
1538
+ "./td/index.ts": () => import("./index-CZ19OTa-.js").then((m) => m["default"]),
1539
+ "./tr/index.ts": () => import("./index-CUVo4Y3e.js").then((m) => m["default"])
1540
1540
  });
1541
1541
  return modules;
1542
1542
  }
@@ -16019,7 +16019,7 @@ function asyncImportWidgetConfigList() {
16019
16019
  return widgetConfigList;
16020
16020
  }
16021
16021
  function asyncImportWidgetDesign() {
16022
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-l1M7YhQ4.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-9sIwuCOq.js"), "./image/image-design.vue": () => import("./image-design-DnAdcfkb.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-DMqBR1NA.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-C8fkvFqe.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-10wjLIKT.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-nwsYg88n.js"), "./text/text-design.vue": () => import("./text-design-CbV0vuqF.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CRhHuuBP.js") });
16022
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-B11QXZvG.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-B6qOpgJB.js"), "./image/image-design.vue": () => import("./image-design-DnAdcfkb.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-e6YmfypM.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-DNgkKQGY.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-B8OeEjHi.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-nwsYg88n.js"), "./text/text-design.vue": () => import("./text-design-DpCprqkB.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CRhHuuBP.js") });
16023
16023
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
16024
16024
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
16025
16025
  if (mKey) {
@@ -29700,7 +29700,7 @@ const _sfc_main$4z = /* @__PURE__ */ defineComponent({
29700
29700
  });
29701
29701
  const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$4z, [["__scopeId", "data-v-463388f0"]]);
29702
29702
  function asyncImportWidgetProp() {
29703
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-Cu626jK0.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-GjbFYzj9.js"), "./widget-image.vue": () => import("./widget-image-DVagnQCr.js"), "./widget-line.vue": () => import("./widget-line-CRSekvVI.js"), "./widget-pagination.vue": () => import("./widget-pagination-DWxAH-L-.js"), "./widget-power.vue": () => import("./widget-power-CP0-k64v.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-BmLxlcml.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CWU0hpQa.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-RrIf7OeB.js"), "./widget-text.vue": () => import("./widget-text-C_-KzTvw.js"), "./widget-timediff.vue": () => import("./widget-timediff-DypM9RjI.js") });
29703
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-fA706IEU.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-DJIIPhRm.js"), "./widget-image.vue": () => import("./widget-image-iA5POujb.js"), "./widget-line.vue": () => import("./widget-line-bjO0OmRM.js"), "./widget-pagination.vue": () => import("./widget-pagination-CCWAQS5T.js"), "./widget-power.vue": () => import("./widget-power-D3TkaSwc.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-B1ohZ9gB.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-D8F6Ryvq.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-CWpzTsBq.js"), "./widget-text.vue": () => import("./widget-text-Ouno0e1_.js"), "./widget-timediff.vue": () => import("./widget-timediff-biUSdm8e.js") });
29704
29704
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
29705
29705
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
29706
29706
  if (mKey) {
@@ -3,7 +3,7 @@ import "vue";
3
3
  import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { A as AsyncGctOnlineComponents } from "./index-DAKyKA6u.js";
6
+ import { A as AsyncGctOnlineComponents } from "./index-CSOaeJHs.js";
7
7
  class Tr {
8
8
  component = "tr";
9
9
  wrapperCmpConfig({ data, parent }) {
@@ -1,5 +1,5 @@
1
1
  import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
2
- import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-DAKyKA6u.js";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-CSOaeJHs.js";
3
3
  import { C as ComponentTypeEnum, x as CellType, n as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
4
4
  import "vue";
5
5
  import "dayjs";
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE, at as RangeCompareOp, as as Ra
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class DateTimepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.DateTimepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { g as getFieldWidget } from "./index-DAKyKA6u.js";
7
+ import { g as getFieldWidget } from "./index-CSOaeJHs.js";
8
8
  class CombineFields {
9
9
  component = ComponentTypeEnum.CombineFields;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class Department extends BaseComponent {
8
8
  component = ComponentTypeEnum.Department;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-X6CpvzRL.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-aVtmhEpO.js";
8
8
  class RdoSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.RdoSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class UploadFile extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadFile;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class Input extends BaseComponent {
8
8
  component = ComponentTypeEnum.Input;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class Textarea extends BaseComponent {
8
8
  component = ComponentTypeEnum.Textarea;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
6
+ import { B as BaseComponent } from "./BaseComponent-C-T3bipZ.js";
7
7
  class Userpicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Userpicker;
9
9
  wrapperCmpConfig({ data }) {
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t, v, w, x, y, z, E, G, H, B, J, K, M, N, O, Q, U, W, X, Y, Z, $, a0, a1, n, a2, a3, o, a4, P, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, d } from "./index-DAKyKA6u.js";
1
+ import { t, v, w, x, y, z, E, G, H, B, J, K, M, N, O, Q, U, W, X, Y, Z, $, a0, a1, n, a2, a3, o, a4, P, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, d } from "./index-CSOaeJHs.js";
2
2
  import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D0gNSgDm.js";
3
3
  export {
4
4
  t as AiTmplEditor,
@@ -3,7 +3,7 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { e as calcText } from "./index-DAKyKA6u.js";
6
+ import { e as calcText } from "./index-CSOaeJHs.js";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "pagination-design",
9
9
  props: {
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./index-CSOaeJHs.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
2
- import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-DAKyKA6u.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-CSOaeJHs.js";
3
3
  const _hoisted_1 = ["src"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "qrcode-design",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
2
  import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
3
- import { f as useDrop, T as TransferType, d as useModelFields, h as getFieldIcon, S as SingleDrop } from "./index-DAKyKA6u.js";
3
+ import { f as useDrop, T as TransferType, d as useModelFields, h as getFieldIcon, S as SingleDrop } from "./index-CSOaeJHs.js";
4
4
  import { a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "single-field-drop",
@@ -37,6 +37,8 @@ export declare class SubTableCoreFactory {
37
37
  /** 所有的默认值 */
38
38
  defaultMap: Record<string, any>;
39
39
  }): void;
40
+ /** 提交前让各子表处理表单副本 */
41
+ prepareSubmitFormState(formState: Record<string, any>): void;
40
42
  /**
41
43
  * 处理子表字段的默认值映射
42
44
  * 往已有的默认值映射里补充额外的默认值
@@ -17,5 +17,6 @@ export declare class SterilizeBatchTableCore extends SubTableCore {
17
17
  }): IFieldStatus;
18
18
  calcFieldDataSource: SubTableCore['calcFieldDataSource'];
19
19
  handleChange: SubTableCore['handleChange'];
20
+ prepareSubmitFormState(formState: Record<string, any>): void;
20
21
  protected onScan(input: ScanModalInput): Promise<void>;
21
22
  }
@@ -76,6 +76,8 @@ export declare class SubTableCore {
76
76
  /** 所有的默认值 */
77
77
  defaultMap: Record<string, any>;
78
78
  }): any[] | undefined;
79
+ /** 提交前处理当前子表的数据(由工厂在表单副本上调用) */
80
+ prepareSubmitFormState(_formState: Record<string, any>): void;
79
81
  /**
80
82
  * 计算每行的行操作的菜单
81
83
  * @param rowData
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
3
3
  import { M as PaperWidgeValueType, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { u as useSpreadSheet, d as useModelFields } from "./index-DAKyKA6u.js";
6
+ import { u as useSpreadSheet, d as useModelFields } from "./index-CSOaeJHs.js";
7
7
  const _hoisted_1 = { class: "ws-pre-wrap" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "text-design",
@@ -3,7 +3,7 @@ import { F as FIELD_TYPE, b0 as BindCmpStyleEnum } from "./dynamic-table-action.
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-DAKyKA6u.js";
6
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-CSOaeJHs.js";
7
7
  function getTraceLikeSelectProps(data) {
8
8
  const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
9
9
  const displayFields = (() => {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { d as useModelFields, u as useSpreadSheet, f as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, h as getFieldIcon } from "./index-DAKyKA6u.js";
3
+ import { d as useModelFields, u as useSpreadSheet, f as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, h as getFieldIcon } from "./index-CSOaeJHs.js";
4
4
  import { M as PaperWidgeValueType, ap as ExpressionModeEnum, ar as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-DAKyKA6u.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CRA6eXLm.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-CSOaeJHs.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C98Wj3QJ.js";
4
4
  import { n as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, j as SelectEx } from "./index-DAKyKA6u.js";
2
+ import { F as FormItem, j as SelectEx } from "./index-CSOaeJHs.js";
3
3
  import { defaults } from "lodash-es";
4
4
  import { F as FIELD_TYPE, a4 as _export_sfc, ac as DiagonalDirection, ag as DiagonalVertex, cY as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
5
5
  import "dayjs";
6
6
  import { message } from "ant-design-vue";
7
7
  import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
8
- import { S as SingleFieldDrop } from "./single-field-drop-DkY3m6YN.js";
8
+ import { S as SingleFieldDrop } from "./single-field-drop-DtXqBBy7.js";
9
9
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10
10
  __name: "diagonal-name-editor",
11
11
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
2
- import { L as LeftOutlined, R as RightOutlined, k as isClient, u as useSpreadSheet, F as FormItem, m as ImgParser } from "./index-DAKyKA6u.js";
2
+ import { L as LeftOutlined, R as RightOutlined, k as isClient, u as useSpreadSheet, F as FormItem, m as ImgParser } from "./index-CSOaeJHs.js";
3
3
  import { S as SizeEditor } from "./size-editor-Bl32fjTp.js";
4
4
  import { message } from "ant-design-vue";
5
5
  import { ad as WidgetImageSizeMode, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
@@ -3,7 +3,7 @@ import { ae as LineDirection } from "./dynamic-table-action.vue_vue_type_style_i
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { F as FormItem, n as LineStyleOptions, C as ColorPicker } from "./index-DAKyKA6u.js";
6
+ import { F as FormItem, n as LineStyleOptions, C as ColorPicker } from "./index-CSOaeJHs.js";
7
7
  const _hoisted_1 = { class: "ks-row-middle" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "widget-line",
@@ -3,10 +3,10 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { F as FormItem, o as PaginationFormatOptions } from "./index-DAKyKA6u.js";
6
+ import { F as FormItem, o as PaginationFormatOptions } from "./index-CSOaeJHs.js";
7
7
  import { S as SizeEditor } from "./size-editor-Bl32fjTp.js";
8
8
  import { A as AlignEditor } from "./align-editor-Bk5NBwxp.js";
9
- import { F as FontEditor } from "./font-editor-CsclZy98.js";
9
+ import { F as FontEditor } from "./font-editor-qk8ye00Z.js";
10
10
  const _hoisted_1 = { class: "pl-6px" };
11
11
  const _hoisted_2 = { class: "pl-6px" };
12
12
  const DefaultCustomFormat = "Page ${no} / ${total}";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { u as useSpreadSheet, q as useReverseModeling, F as FormItem } from "./index-DAKyKA6u.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DkY3m6YN.js";
2
+ import { u as useSpreadSheet, q as useReverseModeling, F as FormItem } from "./index-CSOaeJHs.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-DtXqBBy7.js";
4
4
  import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
5
5
  import { F as FIELD_TYPE, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
6
6
  import { message } from "ant-design-vue";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
2
- import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-DAKyKA6u.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CRA6eXLm.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-CSOaeJHs.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C98Wj3QJ.js";
4
4
  import { n as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-DAKyKA6u.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DkY3m6YN.js";
2
+ import { F as FormItem } from "./index-CSOaeJHs.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-DtXqBBy7.js";
4
4
  import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
5
5
  import { F as FIELD_TYPE, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
6
6
  import { message } from "ant-design-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-DAKyKA6u.js";
2
+ import { F as FormItem } from "./index-CSOaeJHs.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "widget-serialnumber",
5
5
  props: {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, F as FormItem } from "./index-DAKyKA6u.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CRA6eXLm.js";
2
+ import { u as useSpreadSheet, F as FormItem } from "./index-CSOaeJHs.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C98Wj3QJ.js";
4
4
  import { S as SizeEditor } from "./size-editor-Bl32fjTp.js";
5
5
  import { A as AlignEditor } from "./align-editor-Bk5NBwxp.js";
6
- import { F as FontEditor } from "./font-editor-CsclZy98.js";
6
+ import { F as FontEditor } from "./font-editor-qk8ye00Z.js";
7
7
  const _hoisted_1 = { class: "pl-6px" };
8
8
  const _hoisted_2 = { class: "pl-6px" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, d as useModelFields, F as FormItem } from "./index-DAKyKA6u.js";
2
+ import { u as useSpreadSheet, d as useModelFields, F as FormItem } from "./index-CSOaeJHs.js";
3
3
  import { F as FIELD_TYPE, af as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/excel",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "GCT Excel online form rendering",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,4 +0,0 @@
1
- import { _ as _sfc_main } from "./index-DAKyKA6u.js";
2
- export {
3
- _sfc_main as default
4
- };