@gct-paas/excel 0.1.39-beta.20 → 0.1.39-beta.21

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-CDhA1Xiw.js → barcode-design-eIy9Jo3b.js} +1 -1
  2. package/dist/{diagonal-design-ThSef3Um.js → diagonal-design-_BNVSp15.js} +1 -1
  3. package/dist/excel.css +3 -3
  4. package/dist/{exceljs.min-CULCDRW9.js → exceljs.min-CZa2mjfK.js} +1 -1
  5. package/dist/{font-editor-trc2cWng.js → font-editor-c7CowiTX.js} +1 -1
  6. package/dist/{index-DGZzlITI.js → index-BD_l8t-r.js} +1 -1
  7. package/dist/{index-CpQ_DR3c.js → index-BH365AyZ.js} +1 -1
  8. package/dist/{index-B2lCwHgw.js → index-Bgr6S6x6.js} +1 -1
  9. package/dist/{index-BsgB6y7K.js → index-CA07wQMJ.js} +1 -1
  10. package/dist/{index-Dq5kgEpr.js → index-Cz1FK52K.js} +1 -1
  11. package/dist/{index-BkznJYts.js → index-D2NnQYm7.js} +24 -17
  12. package/dist/{index-1WZ6SgTp.js → index-DcePcIKd.js} +1 -1
  13. package/dist/{index-DYjYdrMD.js → index-DpRoz6eZ.js} +1 -1
  14. package/dist/{index-XtiIrcx4.js → index-kcIzcNba.js} +1 -1
  15. package/dist/index.es.js +1 -1
  16. package/dist/{pagination-design-Dlt_hRc9.js → pagination-design-Gv7xyOs2.js} +1 -1
  17. package/dist/paper-widget-design-DjjE1TJi.js +4 -0
  18. package/dist/{print-runtime-instance-C0P0bQ0t.js → print-runtime-instance-DASPx9wj.js} +1 -1
  19. package/dist/{print-snapshot-renderer-hfbiNoQz.js → print-snapshot-renderer-dUe9-cUA.js} +1 -1
  20. package/dist/{qrcode-design-BKW9Ywq7.js → qrcode-design-CBPXRrbn.js} +1 -1
  21. package/dist/seal-design-Dr_q6TYV.js +4 -0
  22. package/dist/{single-field-drop-DkjfkD4a.js → single-field-drop-DlOiRRig.js} +1 -1
  23. package/dist/{text-design-CJo1qzwn.js → text-design-D9n2Q3EK.js} +1 -1
  24. package/dist/{trace-like-wrapper-BQv5F61v.js → trace-like-wrapper-CXPDvRH0.js} +1 -1
  25. package/dist/{value-editor.vue_vue_type_style_index_0_lang-Cfy4DxTn.js → value-editor.vue_vue_type_style_index_0_lang-BzBps2FA.js} +1 -1
  26. package/dist/{widget-barcode-Skwby19J.js → widget-barcode-D3wbP7XT.js} +2 -2
  27. package/dist/{widget-diagonal-2jkexxFy.js → widget-diagonal-CRERJEJZ.js} +2 -2
  28. package/dist/{widget-image-DzNGEvNB.js → widget-image-B4DXAEvK.js} +1 -1
  29. package/dist/{widget-line-CKztM9A8.js → widget-line-BlHqjxIt.js} +1 -1
  30. package/dist/{widget-pagination-DewFBSHR.js → widget-pagination-BzmXHdR9.js} +2 -2
  31. package/dist/{widget-power-DXJJuRh4.js → widget-power-C0_OBETn.js} +2 -2
  32. package/dist/{widget-qrcode-js88isHk.js → widget-qrcode-Dct2jsRQ.js} +2 -2
  33. package/dist/{widget-rangelimit-DLy_aqqT.js → widget-rangelimit-CteDgTSI.js} +2 -2
  34. package/dist/{widget-serialnumber-BvpZV5f7.js → widget-serialnumber-u3zQMmmj.js} +1 -1
  35. package/dist/{widget-text-CrZN9uDY.js → widget-text-Bg-mgeq7.js} +3 -3
  36. package/dist/{widget-timediff-DJLoE_Xk.js → widget-timediff-C3cRAguz.js} +1 -1
  37. package/package.json +1 -1
  38. package/dist/paper-widget-design-CsNAYJIm.js +0 -4
  39. package/dist/seal-design-D1K9CloN.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-BkznJYts.js";
3
+ import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-D2NnQYm7.js";
4
4
  import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BkznJYts.js";
2
+ import { h as useModelFields, D as Diagonal } from "./index-D2NnQYm7.js";
3
3
  import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
package/dist/excel.css CHANGED
@@ -22377,15 +22377,15 @@ svg[data-v-9a7c8184] {
22377
22377
  .rdo-select-tree[data-v-0a2a138a] .ant-input {
22378
22378
  background: transparent;
22379
22379
  }
22380
- .base-vxe-search-form-container[data-v-7f1d3189] {
22380
+ .base-vxe-search-form-container[data-v-78042576] {
22381
22381
  height: 44px;
22382
22382
  }
22383
- .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-7f1d3189] {
22383
+ .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-78042576] {
22384
22384
  height: 32px;
22385
22385
  border: none;
22386
22386
  background: #f6f8fa;
22387
22387
  }
22388
- .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-7f1d3189] .ant-input {
22388
+ .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-78042576] .ant-input {
22389
22389
  background: #f6f8fa;
22390
22390
  }
22391
22391
  .cell-trace-tree-select[data-v-f00b4ba0] .ant-select-selection-search {
@@ -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-BmECtuSE.js";
2
- import { c as commonjsRequire } from "./index-BkznJYts.js";
2
+ import { c as commonjsRequire } from "./index-D2NnQYm7.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-wPpZ_4zH.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-BkznJYts.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-D2NnQYm7.js";
5
5
  import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-DuVlKAnk.js";
7
- import { g as getFieldWidget } from "./index-BkznJYts.js";
7
+ import { g as getFieldWidget } from "./index-D2NnQYm7.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 "dayjs";
5
5
  import "ant-design-vue";
6
6
  import { B as BaseComponent } from "./BaseComponent-DuVlKAnk.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-BkznJYts.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-D2NnQYm7.js";
8
8
  class Select extends BaseComponent {
9
9
  component = ComponentTypeEnum.Select;
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-BkznJYts.js";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-D2NnQYm7.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-BmECtuSE.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-DuVlKAnk.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BQv5F61v.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CXPDvRH0.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-BkznJYts.js";
6
+ import { A as AsyncGctOnlineComponents } from "./index-D2NnQYm7.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-CULCDRW9.js").then((n) => n.e)).default;
1934
+ const ExcelJs = (await import("./exceljs.min-CZa2mjfK.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-1WZ6SgTp.js").then((m) => m["default"]),
2262
+ "./_field_/auto-complete/index.ts": () => import("./index-DcePcIKd.js").then((m) => m["default"]),
2263
2263
  "./_field_/datepicker/index.ts": () => import("./index-DyZzboE8.js").then((m) => m["default"]),
2264
2264
  "./_field_/datetimepicker/index.ts": () => import("./index-CAGghO4i.js").then((m) => m["default"]),
2265
2265
  "./_field_/department/index.ts": () => import("./index-DrWkEAL9.js").then((m) => m["default"]),
2266
- "./_field_/enum-select/index.ts": () => import("./index-DGZzlITI.js").then((m) => m["default"]),
2266
+ "./_field_/enum-select/index.ts": () => import("./index-BD_l8t-r.js").then((m) => m["default"]),
2267
2267
  "./_field_/input/index.ts": () => import("./index-Dzqrtkn_.js").then((m) => m["default"]),
2268
2268
  "./_field_/inputdouble/index.ts": () => import("./index-CCyMfv1Z.js").then((m) => m["default"]),
2269
2269
  "./_field_/inputnumber/index.ts": () => import("./index-CksQHOUM.js").then((m) => m["default"]),
2270
- "./_field_/rdo-select/index.ts": () => import("./index-BsgB6y7K.js").then((m) => m["default"]),
2270
+ "./_field_/rdo-select/index.ts": () => import("./index-CA07wQMJ.js").then((m) => m["default"]),
2271
2271
  "./_field_/seal/index.ts": () => import("./index-CRo6J80n.js").then((m) => m["default"]),
2272
- "./_field_/select/index.ts": () => import("./index-CpQ_DR3c.js").then((m) => m["default"]),
2272
+ "./_field_/select/index.ts": () => import("./index-BH365AyZ.js").then((m) => m["default"]),
2273
2273
  "./_field_/sign/index.ts": () => import("./index-Dkj2h_zE.js").then((m) => m["default"]),
2274
- "./_field_/switch/index.ts": () => import("./index-XtiIrcx4.js").then((m) => m["default"]),
2274
+ "./_field_/switch/index.ts": () => import("./index-kcIzcNba.js").then((m) => m["default"]),
2275
2275
  "./_field_/textarea/index.ts": () => import("./index-BsSL0R1j.js").then((m) => m["default"]),
2276
2276
  "./_field_/timepicker/index.ts": () => import("./index-BhJGnoAZ.js").then((m) => m["default"]),
2277
2277
  "./_field_/upload-file/index.ts": () => import("./index-2Vv4Nw6L.js").then((m) => m["default"]),
2278
2278
  "./_field_/upload-image/index.ts": () => import("./index-cunDtoJs.js").then((m) => m["default"]),
2279
2279
  "./_field_/userpicker/index.ts": () => import("./index-BBfo_rmJ.js").then((m) => m["default"]),
2280
2280
  "./_widget_/barcode/index.ts": () => import("./index-CvPWXCmn.js").then((m) => m["default"]),
2281
- "./_widget_/combine-fields/index.ts": () => import("./index-DYjYdrMD.js").then((m) => m["default"]),
2281
+ "./_widget_/combine-fields/index.ts": () => import("./index-DpRoz6eZ.js").then((m) => m["default"]),
2282
2282
  "./_widget_/diagonal/index.ts": () => import("./index-DOiOWH2x.js").then((m) => m["default"]),
2283
2283
  "./_widget_/dyn-value/index.ts": () => import("./index-DUXHvUXT.js").then((m) => m["default"]),
2284
2284
  "./_widget_/image/index.ts": () => import("./index-B4LBLC9w.js").then((m) => m["default"]),
@@ -2290,8 +2290,8 @@ function asyncImportClassModules() {
2290
2290
  "./_widget_/sub-table/index.ts": () => import("./index-Dq8DSt0w.js").then((m) => m["default"]),
2291
2291
  "./_widget_/timediff/index.ts": () => import("./index-CPQNMrdO.js").then((m) => m["default"]),
2292
2292
  "./paper/index.ts": () => import("./index-C-urdRZ2.js").then((m) => m["default"]),
2293
- "./td/index.ts": () => import("./index-B2lCwHgw.js").then((m) => m["default"]),
2294
- "./tr/index.ts": () => import("./index-Dq5kgEpr.js").then((m) => m["default"])
2293
+ "./td/index.ts": () => import("./index-Bgr6S6x6.js").then((m) => m["default"]),
2294
+ "./tr/index.ts": () => import("./index-Cz1FK52K.js").then((m) => m["default"])
2295
2295
  });
2296
2296
  return modules;
2297
2297
  }
@@ -15889,7 +15889,7 @@ function asyncImportWidgetConfigList() {
15889
15889
  return widgetConfigList;
15890
15890
  }
15891
15891
  function asyncImportWidgetDesign() {
15892
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-D1K9CloN.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-CDhA1Xiw.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-ThSef3Um.js"), "./image/image-design.vue": () => import("./image-design-DbOmyTpn.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-Dlt_hRc9.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-CsNAYJIm.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BKW9Ywq7.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BSgTQN0r.js"), "./text/text-design.vue": () => import("./text-design-CJo1qzwn.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-BIyHZKid.js") });
15892
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-Dr_q6TYV.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-eIy9Jo3b.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-_BNVSp15.js"), "./image/image-design.vue": () => import("./image-design-DbOmyTpn.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-Gv7xyOs2.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-DjjE1TJi.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-CBPXRrbn.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BSgTQN0r.js"), "./text/text-design.vue": () => import("./text-design-D9n2Q3EK.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-BIyHZKid.js") });
15893
15893
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
15894
15894
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
15895
15895
  if (mKey) {
@@ -52831,7 +52831,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
52831
52831
  }
52832
52832
  });
52833
52833
  function asyncImportWidgetProp() {
52834
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-Skwby19J.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-2jkexxFy.js"), "./widget-image.vue": () => import("./widget-image-DzNGEvNB.js"), "./widget-line.vue": () => import("./widget-line-CKztM9A8.js"), "./widget-pagination.vue": () => import("./widget-pagination-DewFBSHR.js"), "./widget-power.vue": () => import("./widget-power-DXJJuRh4.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-js88isHk.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DLy_aqqT.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-BvpZV5f7.js"), "./widget-text.vue": () => import("./widget-text-CrZN9uDY.js"), "./widget-timediff.vue": () => import("./widget-timediff-DJLoE_Xk.js") });
52834
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-D3wbP7XT.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CRERJEJZ.js"), "./widget-image.vue": () => import("./widget-image-B4DXAEvK.js"), "./widget-line.vue": () => import("./widget-line-BlHqjxIt.js"), "./widget-pagination.vue": () => import("./widget-pagination-BzmXHdR9.js"), "./widget-power.vue": () => import("./widget-power-C0_OBETn.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-Dct2jsRQ.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CteDgTSI.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-u3zQMmmj.js"), "./widget-text.vue": () => import("./widget-text-Bg-mgeq7.js"), "./widget-timediff.vue": () => import("./widget-timediff-C3cRAguz.js") });
52835
52835
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
52836
52836
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
52837
52837
  if (mKey) {
@@ -55670,6 +55670,7 @@ const getDisplayFieldColumns = (displayFields, isTree = false) => {
55670
55670
  const fragmentKey = key ? knownFieldToFragment[key] : void 0;
55671
55671
  const base = fragmentKey ? getColumns([fragmentKey])[0] : void 0;
55672
55672
  return {
55673
+ ...baseColumnConfig,
55673
55674
  ...base,
55674
55675
  title: name || base?.title || key,
55675
55676
  field: key,
@@ -55687,7 +55688,10 @@ function renderWithFormatter(column = {}, row = {}) {
55687
55688
  if (typeof formatter === "function") {
55688
55689
  return formatter({ cellValue, row, column }) || params.defaultValueStr || "--";
55689
55690
  }
55690
- return cellValue ?? params.defaultValueStr ?? "--";
55691
+ const raw = normalizeHistoricalBusinessRow(row);
55692
+ const dictValue = (row?._DICT ?? raw?._DICT)?.[field]?.[cellValue];
55693
+ const displayValue = Array.isArray(dictValue) ? dictValue.join("") : dictValue ?? cellValue;
55694
+ return displayValue ?? params.defaultValueStr ?? "--";
55691
55695
  }
55692
55696
  const transformTreeData = (options = [], currentValue) => {
55693
55697
  const highlightIdx = { parent: -1, child: -1 };
@@ -68042,8 +68046,11 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
68042
68046
  const showSearch = computed(
68043
68047
  () => (props2.widget.props.displayFields || []).some((item) => item?.key) && !!props2.widget.props.quickSearchField?.length
68044
68048
  );
68045
- function formatDisplayCell({ cellValue }) {
68046
- return cellValue === "" || cellValue === null || cellValue === void 0 ? "--" : cellValue;
68049
+ function formatDisplayCell({ cellValue, row, column }) {
68050
+ const raw = row?._item ?? row;
68051
+ const dictValue = (row?._DICT ?? raw?._DICT)?.[column.field]?.[cellValue];
68052
+ const displayValue = Array.isArray(dictValue) ? dictValue.join("") : dictValue ?? cellValue;
68053
+ return displayValue === "" || displayValue === null || displayValue === void 0 ? "--" : displayValue;
68047
68054
  }
68048
68055
  const columns2 = computed(() => [
68049
68056
  ...getColumns(["radio"]),
@@ -68177,7 +68184,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
68177
68184
  };
68178
68185
  }
68179
68186
  });
68180
- const TraceRefSelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["__scopeId", "data-v-7f1d3189"]]);
68187
+ const TraceRefSelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["__scopeId", "data-v-78042576"]]);
68181
68188
  const _sfc_main$1S = /* @__PURE__ */ defineComponent({
68182
68189
  ...{ inheritAttrs: false },
68183
68190
  __name: "parse-select",
@@ -91027,8 +91034,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
91027
91034
  printTask = (async () => {
91028
91035
  if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
91029
91036
  await nextTick();
91030
- const { printRuntimeInstance } = await import("./print-runtime-instance-C0P0bQ0t.js");
91031
- const { default: renderer } = await import("./print-snapshot-renderer-hfbiNoQz.js");
91037
+ const { printRuntimeInstance } = await import("./print-runtime-instance-DASPx9wj.js");
91038
+ const { default: renderer } = await import("./print-snapshot-renderer-dUe9-cUA.js");
91032
91039
  if (abort.signal.aborted) throw new Error("打印已取消");
91033
91040
  printRenderer.value = markRaw(renderer);
91034
91041
  await printRuntimeInstance(
@@ -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-DuVlKAnk.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BQv5F61v.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CXPDvRH0.js";
8
8
  class AutoComplete extends BaseComponent {
9
9
  component = ComponentTypeEnum.AutoComplete;
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-BkznJYts.js";
7
+ import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-D2NnQYm7.js";
8
8
  class CombineFields {
9
9
  component = ComponentTypeEnum.CombineFields;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { g as getFieldWidget } from "./index-BkznJYts.js";
7
+ import { g as getFieldWidget } from "./index-D2NnQYm7.js";
8
8
  import { B as BaseComponent } from "./BaseComponent-DuVlKAnk.js";
9
9
  class Switch extends BaseComponent {
10
10
  component = ComponentTypeEnum.Switch;
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-BkznJYts.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-D2NnQYm7.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-CtYTpCF6.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-BkznJYts.js";
6
+ import { j as calcText } from "./index-D2NnQYm7.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-D2NnQYm7.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-BkznJYts.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-D2NnQYm7.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 { R as RuntimeFormStateStore, I as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-cb-6H4R2.js";
3
3
  import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-Bnb8zZTb.js";
4
- import { _ as _sfc_main$1 } from "./index-BkznJYts.js";
4
+ import { _ as _sfc_main$1 } from "./index-D2NnQYm7.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-BkznJYts.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-D2NnQYm7.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-D2NnQYm7.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-BkznJYts.js";
3
+ import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-D2NnQYm7.js";
4
4
  import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "single-field-drop",
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
3
3
  import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { u as useSpreadSheet, h as useModelFields } from "./index-BkznJYts.js";
6
+ import { u as useSpreadSheet, h as useModelFields } from "./index-D2NnQYm7.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-BkznJYts.js";
6
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-D2NnQYm7.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-BkznJYts.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-D2NnQYm7.js";
4
4
  import { Q as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BkznJYts.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-Cfy4DxTn.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-D2NnQYm7.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-BzBps2FA.js";
4
4
  import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BkznJYts.js";
2
+ import { F as FormItem, q as SelectEx } from "./index-D2NnQYm7.js";
3
3
  import { defaults } from "lodash-es";
4
4
  import { F as FIELD_TYPE, a8 as _export_sfc, aj as DiagonalDirection, an as DiagonalVertex, cq as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-DkjfkD4a.js";
8
+ import { S as SingleFieldDrop } from "./single-field-drop-DlOiRRig.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-BkznJYts.js";
2
+ import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-D2NnQYm7.js";
3
3
  import { S as SizeEditor } from "./size-editor-DQJIuZCE.js";
4
4
  import { message } from "ant-design-vue";
5
5
  import { ak as WidgetImageSizeMode, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
@@ -3,7 +3,7 @@ import { al 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-BkznJYts.js";
6
+ import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-D2NnQYm7.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-BkznJYts.js";
6
+ import { F as FormItem, y as PaginationFormatOptions } from "./index-D2NnQYm7.js";
7
7
  import { S as SizeEditor } from "./size-editor-DQJIuZCE.js";
8
8
  import { A as AlignEditor } from "./align-editor-wPpZ_4zH.js";
9
- import { F as FontEditor } from "./font-editor-trc2cWng.js";
9
+ import { F as FontEditor } from "./font-editor-c7CowiTX.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-BkznJYts.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DkjfkD4a.js";
2
+ import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-D2NnQYm7.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-DlOiRRig.js";
4
4
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
5
5
  import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BkznJYts.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-Cfy4DxTn.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-D2NnQYm7.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-BzBps2FA.js";
4
4
  import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BkznJYts.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DkjfkD4a.js";
2
+ import { F as FormItem } from "./index-D2NnQYm7.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-DlOiRRig.js";
4
4
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
5
5
  import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BkznJYts.js";
2
+ import { F as FormItem } from "./index-D2NnQYm7.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-BkznJYts.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-Cfy4DxTn.js";
2
+ import { u as useSpreadSheet, F as FormItem } from "./index-D2NnQYm7.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-BzBps2FA.js";
4
4
  import { S as SizeEditor } from "./size-editor-DQJIuZCE.js";
5
5
  import { A as AlignEditor } from "./align-editor-wPpZ_4zH.js";
6
- import { F as FontEditor } from "./font-editor-trc2cWng.js";
6
+ import { F as FontEditor } from "./font-editor-c7CowiTX.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-BkznJYts.js";
2
+ import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-D2NnQYm7.js";
3
3
  import { F as FIELD_TYPE, am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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.20",
3
+ "version": "0.1.39-beta.21",
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-BkznJYts.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,4 +0,0 @@
1
- import { f as _sfc_main } from "./index-BkznJYts.js";
2
- export {
3
- _sfc_main as default
4
- };