@gct-paas/excel 0.1.39-beta.35 → 0.1.39-beta.36

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 (39) hide show
  1. package/dist/{barcode-design-e3dBmz1Y.js → barcode-design-CHiFJjFA.js} +1 -1
  2. package/dist/{diagonal-design-CipFWfrm.js → diagonal-design-51m5OQ1N.js} +1 -1
  3. package/dist/{exceljs.min-BAvzawwz.js → exceljs.min-CCRdOgpe.js} +1 -1
  4. package/dist/{font-editor-BIGwpflw.js → font-editor-Ct4lpMfK.js} +1 -1
  5. package/dist/{index-DxlcA3a1.js → index-C-Ihj0-2.js} +1 -1
  6. package/dist/{index-D41DYWFt.js → index-C6YQlAg6.js} +1 -1
  7. package/dist/{index-BzA1w_wA.js → index-CkpXmnj0.js} +1 -1
  8. package/dist/{index-EijRRYS3.js → index-Cm54hS-S.js} +1 -1
  9. package/dist/{index-DxHdvGFA.js → index-D41PvgVJ.js} +14 -14
  10. package/dist/{index-DzKPu7sM.js → index-DZztykCc.js} +1 -1
  11. package/dist/{index-B3K-_OMU.js → index-Djg7VKKV.js} +1 -1
  12. package/dist/{index-D_UMH53U.js → index-Ds0ZWSC-.js} +1 -1
  13. package/dist/{index-CPLtvCnM.js → index-rOFrrioK.js} +1 -1
  14. package/dist/index.es.js +1 -1
  15. package/dist/{pagination-design-MSpcuJ7l.js → pagination-design-CqNGzUdR.js} +1 -1
  16. package/dist/paper-widget-design-D7DXrGXu.js +4 -0
  17. package/dist/{print-runtime-instance-Bs7VBTDD.js → print-runtime-instance-BW1wWNE7.js} +1 -1
  18. package/dist/{print-snapshot-renderer-Dlzs7l-e.js → print-snapshot-renderer-N_R2s5YL.js} +1 -1
  19. package/dist/{qrcode-design-BdkAFQwn.js → qrcode-design-BVeRIRND.js} +1 -1
  20. package/dist/seal-design-bgpCeBnt.js +4 -0
  21. package/dist/{single-field-drop-4k29Zjjh.js → single-field-drop-BI6V9wuP.js} +1 -1
  22. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +1 -1
  23. package/dist/{text-design-IYex0GNo.js → text-design-r6V-PpnP.js} +1 -1
  24. package/dist/{trace-like-wrapper-B3_lShaU.js → trace-like-wrapper-DdbD-CG9.js} +1 -1
  25. package/dist/{value-editor.vue_vue_type_style_index_0_lang-ufOdZQRq.js → value-editor.vue_vue_type_style_index_0_lang-CLPKj7Hn.js} +1 -1
  26. package/dist/{widget-barcode-XOH3EZ8B.js → widget-barcode-6zHG0_c7.js} +2 -2
  27. package/dist/{widget-diagonal-Bhnyxx8t.js → widget-diagonal-DaeCTtev.js} +2 -2
  28. package/dist/{widget-image-DGIkVxUy.js → widget-image-C-0Gr5cP.js} +1 -1
  29. package/dist/{widget-line-DDC2M1SM.js → widget-line-BGAZB9Kv.js} +1 -1
  30. package/dist/{widget-pagination-sXjRisns.js → widget-pagination-ehbqliMZ.js} +2 -2
  31. package/dist/{widget-power-BGOeUUCG.js → widget-power-CU1P2yVF.js} +2 -2
  32. package/dist/{widget-qrcode-B1DrcL0n.js → widget-qrcode-CNve4oe-.js} +2 -2
  33. package/dist/{widget-rangelimit-DbKqnee4.js → widget-rangelimit-BPdn49_k.js} +2 -2
  34. package/dist/{widget-serialnumber-BEpknVu2.js → widget-serialnumber-DuJRJYTF.js} +1 -1
  35. package/dist/{widget-text-cVot7dWR.js → widget-text-B05U7W1k.js} +3 -3
  36. package/dist/{widget-timediff-V5E141BF.js → widget-timediff-BnRseRze.js} +1 -1
  37. package/package.json +1 -1
  38. package/dist/paper-widget-design-B3upY1Rd.js +0 -4
  39. package/dist/seal-design-B20j1nvg.js +0 -4
@@ -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, h as useModelFields, l as loadBwip } from "./index-DxHdvGFA.js";
3
+ import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-D41PvgVJ.js";
4
4
  import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { h as useModelFields, D as Diagonal } from "./index-DxHdvGFA.js";
2
+ import { h as useModelFields, D as Diagonal } from "./index-D41PvgVJ.js";
3
3
  import { al as resolveDiagonalVertex, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
@@ -1,5 +1,5 @@
1
1
  import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
- import { c as commonjsRequire } from "./index-DxHdvGFA.js";
2
+ import { c as commonjsRequire } from "./index-D41PvgVJ.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-0EJDQ9xk.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-DxHdvGFA.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-D41PvgVJ.js";
5
5
  import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle mb-6px" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
6
  import { B as BaseComponent } from "./BaseComponent-BZ7vpBcD.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-DxHdvGFA.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-D41PvgVJ.js";
8
8
  class Select extends BaseComponent {
9
9
  component = ComponentTypeEnum.Select;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as L
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { g as getFieldWidget } from "./index-DxHdvGFA.js";
7
+ import { g as getFieldWidget } from "./index-D41PvgVJ.js";
8
8
  import { B as BaseComponent } from "./BaseComponent-BZ7vpBcD.js";
9
9
  class Switch extends BaseComponent {
10
10
  component = ComponentTypeEnum.Switch;
@@ -4,7 +4,7 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
6
  import { B as BaseComponent } from "./BaseComponent-BZ7vpBcD.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-B3_lShaU.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DdbD-CG9.js";
8
8
  class RdoSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.RdoSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -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-DxHdvGFA.js";
6
+ import { A as AsyncGctOnlineComponents } from "./index-D41PvgVJ.js";
7
7
  class Tr {
8
8
  component = "tr";
9
9
  wrapperCmpConfig({ data, parent }) {
@@ -1931,7 +1931,7 @@ function openWindow(url, opt) {
1931
1931
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
1932
1932
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
1933
1933
  async function createWorkbook() {
1934
- const ExcelJs = (await import("./exceljs.min-BAvzawwz.js").then((n) => n.e)).default;
1934
+ const ExcelJs = (await import("./exceljs.min-CCRdOgpe.js").then((n) => n.e)).default;
1935
1935
  return new ExcelJs.Workbook();
1936
1936
  }
1937
1937
  class XlsxParser {
@@ -2259,26 +2259,26 @@ class XlsxParser {
2259
2259
  }
2260
2260
  function asyncImportClassModules() {
2261
2261
  const modules = /* @__PURE__ */ Object.assign({
2262
- "./_field_/auto-complete/index.ts": () => import("./index-CPLtvCnM.js").then((m) => m["default"]),
2262
+ "./_field_/auto-complete/index.ts": () => import("./index-rOFrrioK.js").then((m) => m["default"]),
2263
2263
  "./_field_/datepicker/index.ts": () => import("./index-B4aDuWy4.js").then((m) => m["default"]),
2264
2264
  "./_field_/datetimepicker/index.ts": () => import("./index-C5rtaFud.js").then((m) => m["default"]),
2265
2265
  "./_field_/department/index.ts": () => import("./index-BYOG-n0c.js").then((m) => m["default"]),
2266
- "./_field_/enum-select/index.ts": () => import("./index-DzKPu7sM.js").then((m) => m["default"]),
2266
+ "./_field_/enum-select/index.ts": () => import("./index-DZztykCc.js").then((m) => m["default"]),
2267
2267
  "./_field_/input/index.ts": () => import("./index-CX4Pp6kw.js").then((m) => m["default"]),
2268
2268
  "./_field_/inputdouble/index.ts": () => import("./index-0cS2b0oE.js").then((m) => m["default"]),
2269
2269
  "./_field_/inputnumber/index.ts": () => import("./index-BzgVexIB.js").then((m) => m["default"]),
2270
- "./_field_/rdo-select/index.ts": () => import("./index-BzA1w_wA.js").then((m) => m["default"]),
2270
+ "./_field_/rdo-select/index.ts": () => import("./index-CkpXmnj0.js").then((m) => m["default"]),
2271
2271
  "./_field_/seal/index.ts": () => import("./index-CfS4Vi7D.js").then((m) => m["default"]),
2272
- "./_field_/select/index.ts": () => import("./index-DxlcA3a1.js").then((m) => m["default"]),
2272
+ "./_field_/select/index.ts": () => import("./index-C-Ihj0-2.js").then((m) => m["default"]),
2273
2273
  "./_field_/sign/index.ts": () => import("./index-g5NmWlup.js").then((m) => m["default"]),
2274
- "./_field_/switch/index.ts": () => import("./index-D41DYWFt.js").then((m) => m["default"]),
2274
+ "./_field_/switch/index.ts": () => import("./index-C6YQlAg6.js").then((m) => m["default"]),
2275
2275
  "./_field_/textarea/index.ts": () => import("./index-DzchEThV.js").then((m) => m["default"]),
2276
2276
  "./_field_/timepicker/index.ts": () => import("./index-CTLIQVKX.js").then((m) => m["default"]),
2277
2277
  "./_field_/upload-file/index.ts": () => import("./index-Ezicwad7.js").then((m) => m["default"]),
2278
2278
  "./_field_/upload-image/index.ts": () => import("./index-CkgcA21r.js").then((m) => m["default"]),
2279
2279
  "./_field_/userpicker/index.ts": () => import("./index-sbz8PAuq.js").then((m) => m["default"]),
2280
2280
  "./_widget_/barcode/index.ts": () => import("./index-Cld2wf77.js").then((m) => m["default"]),
2281
- "./_widget_/combine-fields/index.ts": () => import("./index-B3K-_OMU.js").then((m) => m["default"]),
2281
+ "./_widget_/combine-fields/index.ts": () => import("./index-Djg7VKKV.js").then((m) => m["default"]),
2282
2282
  "./_widget_/diagonal/index.ts": () => import("./index-chIttzzx.js").then((m) => m["default"]),
2283
2283
  "./_widget_/dyn-value/index.ts": () => import("./index-Cip1bDDj.js").then((m) => m["default"]),
2284
2284
  "./_widget_/image/index.ts": () => import("./index-B1JboJFx.js").then((m) => m["default"]),
@@ -2290,8 +2290,8 @@ function asyncImportClassModules() {
2290
2290
  "./_widget_/sub-table/index.ts": () => import("./index-2SyQ6xAT.js").then((m) => m["default"]),
2291
2291
  "./_widget_/timediff/index.ts": () => import("./index-CDhZoiEf.js").then((m) => m["default"]),
2292
2292
  "./paper/index.ts": () => import("./index-BFhX3ACB.js").then((m) => m["default"]),
2293
- "./td/index.ts": () => import("./index-D_UMH53U.js").then((m) => m["default"]),
2294
- "./tr/index.ts": () => import("./index-EijRRYS3.js").then((m) => m["default"])
2293
+ "./td/index.ts": () => import("./index-Ds0ZWSC-.js").then((m) => m["default"]),
2294
+ "./tr/index.ts": () => import("./index-Cm54hS-S.js").then((m) => m["default"])
2295
2295
  });
2296
2296
  return modules;
2297
2297
  }
@@ -4015,7 +4015,7 @@ function normalizePaperGrid(paper2) {
4015
4015
  (width, row) => Math.max(width, Array.isArray(row) ? row.length : 0),
4016
4016
  0
4017
4017
  );
4018
- const colCount = Math.max(1, sourceCols.length, widestRow);
4018
+ const colCount = Math.max(1, sourceCols.length > 0 ? sourceCols.length : widestRow);
4019
4019
  paper2.rows = Array.from({ length: rowCount }, (_, index2) => ({
4020
4020
  ...sourceRows[index2],
4021
4021
  height: positiveSize(sourceRows[index2]?.height, DEFAULT_ROW_HEIGHT)
@@ -15930,7 +15930,7 @@ function asyncImportWidgetConfigList() {
15930
15930
  return widgetConfigList;
15931
15931
  }
15932
15932
  function asyncImportWidgetDesign() {
15933
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-B20j1nvg.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-e3dBmz1Y.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-CipFWfrm.js"), "./image/image-design.vue": () => import("./image-design-AOi1nT_M.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-MSpcuJ7l.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-B3upY1Rd.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BdkAFQwn.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-QaDIsxYT.js"), "./text/text-design.vue": () => import("./text-design-IYex0GNo.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CKjl56qS.js") });
15933
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-bgpCeBnt.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-CHiFJjFA.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-51m5OQ1N.js"), "./image/image-design.vue": () => import("./image-design-AOi1nT_M.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-CqNGzUdR.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-D7DXrGXu.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BVeRIRND.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-QaDIsxYT.js"), "./text/text-design.vue": () => import("./text-design-r6V-PpnP.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CKjl56qS.js") });
15934
15934
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
15935
15935
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
15936
15936
  if (mKey) {
@@ -52897,7 +52897,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
52897
52897
  }
52898
52898
  });
52899
52899
  function asyncImportWidgetProp() {
52900
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-XOH3EZ8B.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-Bhnyxx8t.js"), "./widget-image.vue": () => import("./widget-image-DGIkVxUy.js"), "./widget-line.vue": () => import("./widget-line-DDC2M1SM.js"), "./widget-pagination.vue": () => import("./widget-pagination-sXjRisns.js"), "./widget-power.vue": () => import("./widget-power-BGOeUUCG.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-B1DrcL0n.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DbKqnee4.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-BEpknVu2.js"), "./widget-text.vue": () => import("./widget-text-cVot7dWR.js"), "./widget-timediff.vue": () => import("./widget-timediff-V5E141BF.js") });
52900
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-6zHG0_c7.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-DaeCTtev.js"), "./widget-image.vue": () => import("./widget-image-C-0Gr5cP.js"), "./widget-line.vue": () => import("./widget-line-BGAZB9Kv.js"), "./widget-pagination.vue": () => import("./widget-pagination-ehbqliMZ.js"), "./widget-power.vue": () => import("./widget-power-CU1P2yVF.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-CNve4oe-.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-BPdn49_k.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-DuJRJYTF.js"), "./widget-text.vue": () => import("./widget-text-B05U7W1k.js"), "./widget-timediff.vue": () => import("./widget-timediff-BnRseRze.js") });
52901
52901
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
52902
52902
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
52903
52903
  if (mKey) {
@@ -91137,8 +91137,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
91137
91137
  printTask = (async () => {
91138
91138
  if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
91139
91139
  await nextTick();
91140
- const { printRuntimeInstance } = await import("./print-runtime-instance-Bs7VBTDD.js");
91141
- const { default: renderer } = await import("./print-snapshot-renderer-Dlzs7l-e.js");
91140
+ const { printRuntimeInstance } = await import("./print-runtime-instance-BW1wWNE7.js");
91141
+ const { default: renderer } = await import("./print-snapshot-renderer-N_R2s5YL.js");
91142
91142
  if (abort.signal.aborted) throw new Error("打印已取消");
91143
91143
  printRenderer.value = markRaw(renderer);
91144
91144
  await printRuntimeInstance(
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
6
  import { B as BaseComponent } from "./BaseComponent-BZ7vpBcD.js";
7
- import { g as getFieldWidget } from "./index-DxHdvGFA.js";
7
+ import { g as getFieldWidget } from "./index-D41PvgVJ.js";
8
8
  class EnumSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.EnumSelect;
10
10
  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 { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-DxHdvGFA.js";
7
+ import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-D41PvgVJ.js";
8
8
  class CombineFields {
9
9
  component = ComponentTypeEnum.CombineFields;
10
10
  wrapperCmpConfig({ data }) {
@@ -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-DxHdvGFA.js";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-D41PvgVJ.js";
3
3
  import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
4
4
  import "vue";
5
5
  import "dayjs";
@@ -4,7 +4,7 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
6
  import { B as BaseComponent } from "./BaseComponent-BZ7vpBcD.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-B3_lShaU.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DdbD-CG9.js";
8
8
  class AutoComplete extends BaseComponent {
9
9
  component = ComponentTypeEnum.AutoComplete;
10
10
  wrapperCmpConfig({ data }) {
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-DxHdvGFA.js";
1
+ import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-D41PvgVJ.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-DOYhOffQ.js";
3
3
  export {
4
4
  G 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 { j as calcText } from "./index-DxHdvGFA.js";
6
+ import { j as calcText } from "./index-D41PvgVJ.js";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "pagination-design",
9
9
  props: {
@@ -0,0 +1,4 @@
1
+ import { k as _sfc_main } from "./index-D41PvgVJ.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-DxHdvGFA.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-D41PvgVJ.js";
2
2
  async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
3
3
  if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
4
4
  const snapshot = await record.controller.preparePrintSnapshot(
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
2
2
  import { S as RuntimeFormStateStore, U as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-BvHth2cC.js";
3
3
  import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-b8fCKT0z.js";
4
- import { _ as _sfc_main$1 } from "./index-DxHdvGFA.js";
4
+ import { _ as _sfc_main$1 } from "./index-D41PvgVJ.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "print-snapshot-renderer",
7
7
  props: {
@@ -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-DxHdvGFA.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-D41PvgVJ.js";
3
3
  const _hoisted_1 = ["src"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "qrcode-design",
@@ -0,0 +1,4 @@
1
+ import { f as _sfc_main } from "./index-D41PvgVJ.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
2
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
3
- import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-DxHdvGFA.js";
3
+ import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-D41PvgVJ.js";
4
4
  import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "single-field-drop",
@@ -1,3 +1,3 @@
1
1
  import { IPaper } from '../types';
2
- /** 旧多 Sheet 和生成模板以实际单元格为准补齐网格,再把所有区域限制在网格内。 */
2
+ /** 保持已有列定义的版式,缺失列定义时才从单元格恢复网格,再限制区域边界。 */
3
3
  export declare function normalizePaperGrid(paper: IPaper): IPaper;
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
3
3
  import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { u as useSpreadSheet, h as useModelFields } from "./index-DxHdvGFA.js";
6
+ import { u as useSpreadSheet, h as useModelFields } from "./index-D41PvgVJ.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, aZ 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-DxHdvGFA.js";
6
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-D41PvgVJ.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 { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-DxHdvGFA.js";
3
+ import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-D41PvgVJ.js";
4
4
  import { Q as PaperWidgeValueType, aq as ExpressionModeEnum, as as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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-DxHdvGFA.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-ufOdZQRq.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-D41PvgVJ.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CLPKj7Hn.js";
4
4
  import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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, q as SelectEx } from "./index-DxHdvGFA.js";
2
+ import { F as FormItem, q as SelectEx } from "./index-D41PvgVJ.js";
3
3
  import { defaults } from "lodash-es";
4
4
  import { F as FIELD_TYPE, a7 as _export_sfc, ag as DiagonalDirection, ak as DiagonalVertex, cc as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
5
5
  import "dayjs";
6
6
  import { message } from "ant-design-vue";
7
7
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
8
- import { S as SingleFieldDrop } from "./single-field-drop-4k29Zjjh.js";
8
+ import { S as SingleFieldDrop } from "./single-field-drop-BI6V9wuP.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, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-DxHdvGFA.js";
2
+ import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-D41PvgVJ.js";
3
3
  import { S as SizeEditor } from "./size-editor-BV0KrQ37.js";
4
4
  import { message } from "ant-design-vue";
5
5
  import { ah as WidgetImageSizeMode, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
@@ -3,7 +3,7 @@ import { ai 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, x as LineStyleOptions, C as ColorPicker } from "./index-DxHdvGFA.js";
6
+ import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-D41PvgVJ.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, y as PaginationFormatOptions } from "./index-DxHdvGFA.js";
6
+ import { F as FormItem, y as PaginationFormatOptions } from "./index-D41PvgVJ.js";
7
7
  import { S as SizeEditor } from "./size-editor-BV0KrQ37.js";
8
8
  import { A as AlignEditor } from "./align-editor-0EJDQ9xk.js";
9
- import { F as FontEditor } from "./font-editor-BIGwpflw.js";
9
+ import { F as FontEditor } from "./font-editor-Ct4lpMfK.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, E as useReverseModeling, F as FormItem } from "./index-DxHdvGFA.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-4k29Zjjh.js";
2
+ import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-D41PvgVJ.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-BI6V9wuP.js";
4
4
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
5
5
  import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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-DxHdvGFA.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-ufOdZQRq.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-D41PvgVJ.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CLPKj7Hn.js";
4
4
  import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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-DxHdvGFA.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-4k29Zjjh.js";
2
+ import { F as FormItem } from "./index-D41PvgVJ.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-BI6V9wuP.js";
4
4
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
5
5
  import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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-DxHdvGFA.js";
2
+ import { F as FormItem } from "./index-D41PvgVJ.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-DxHdvGFA.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-ufOdZQRq.js";
2
+ import { u as useSpreadSheet, F as FormItem } from "./index-D41PvgVJ.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CLPKj7Hn.js";
4
4
  import { S as SizeEditor } from "./size-editor-BV0KrQ37.js";
5
5
  import { A as AlignEditor } from "./align-editor-0EJDQ9xk.js";
6
- import { F as FontEditor } from "./font-editor-BIGwpflw.js";
6
+ import { F as FontEditor } from "./font-editor-Ct4lpMfK.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, h as useModelFields, F as FormItem } from "./index-DxHdvGFA.js";
2
+ import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-D41PvgVJ.js";
3
3
  import { F as FIELD_TYPE, aj as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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.39-beta.35",
3
+ "version": "0.1.39-beta.36",
4
4
  "description": "GCT Excel online form rendering",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,4 +0,0 @@
1
- import { k as _sfc_main } from "./index-DxHdvGFA.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,4 +0,0 @@
1
- import { f as _sfc_main } from "./index-DxHdvGFA.js";
2
- export {
3
- _sfc_main as default
4
- };