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

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 (37) hide show
  1. package/dist/{barcode-design-BFzqHQiU.js → barcode-design-BqIBQDqn.js} +1 -1
  2. package/dist/{diagonal-design-BOgBDFhw.js → diagonal-design-BkuiWsT9.js} +1 -1
  3. package/dist/excel.css +2 -2
  4. package/dist/{exceljs.min-CL4ixZ7E.js → exceljs.min-B2yMJJSO.js} +1 -1
  5. package/dist/{font-editor--RkQO3lZ.js → font-editor-Bhq8_nP8.js} +1 -1
  6. package/dist/{index-C6HZCpzU.js → index-BWhvLFuS.js} +1 -1
  7. package/dist/{index-Dy1XEEdO.js → index-BmSqi0nn.js} +1 -1
  8. package/dist/{index-BAzqPgHB.js → index-BwaCvy6l.js} +1 -1
  9. package/dist/{index-wk08lqwx.js → index-CmIhi6Su.js} +1 -1
  10. package/dist/{index-B0ftNZvu.js → index-Cmh_28Hs.js} +1 -1
  11. package/dist/{index-D7gXCAL1.js → index-CwEgjuxx.js} +1 -1
  12. package/dist/{index-C1GtA4g0.js → index-M-BT6Mb0.js} +1 -1
  13. package/dist/{index-ChSN-9IZ.js → index-SB9y5m0H.js} +1 -1
  14. package/dist/{index-DE57M0YO.js → index-i4OH7WEx.js} +30 -17
  15. package/dist/index.es.js +1 -1
  16. package/dist/{pagination-design-pvBExwoS.js → pagination-design-BlxYaew2.js} +1 -1
  17. package/dist/paper-widget-design-wrFvO7Dq.js +4 -0
  18. package/dist/{qrcode-design-_r1y2z0S.js → qrcode-design-BWupHh6k.js} +1 -1
  19. package/dist/{single-field-drop-BmfB0cFh.js → single-field-drop-B26XDPsU.js} +1 -1
  20. package/dist/src/adapter/adapter.d.ts +4 -1
  21. package/dist/src/online-form/src/views/render/__components__/_common_/widget-component.vue.d.ts +3 -1
  22. package/dist/{text-design-CL4vW6_6.js → text-design-BZdgEMzq.js} +1 -1
  23. package/dist/{trace-like-wrapper-CN1r_p0q.js → trace-like-wrapper-CDvm5U29.js} +1 -1
  24. package/dist/{value-editor.vue_vue_type_style_index_0_lang-uJX95eBu.js → value-editor.vue_vue_type_style_index_0_lang-CzUVMyDu.js} +1 -1
  25. package/dist/{widget-barcode-DnmtoWub.js → widget-barcode-gP8W3DXl.js} +2 -2
  26. package/dist/{widget-diagonal-B1TWmift.js → widget-diagonal-CtJoLiKo.js} +2 -2
  27. package/dist/{widget-image-2vKSM-4A.js → widget-image-CY7PHvI6.js} +1 -1
  28. package/dist/{widget-line-CMhLpz1J.js → widget-line-DE0G3Zr6.js} +1 -1
  29. package/dist/{widget-pagination-BbBqIFQl.js → widget-pagination-MJ-CtnWn.js} +2 -2
  30. package/dist/{widget-power-RwhwkZsD.js → widget-power-BFKBLkF5.js} +2 -2
  31. package/dist/{widget-qrcode-CS04KQo2.js → widget-qrcode-ChM7UInm.js} +2 -2
  32. package/dist/{widget-rangelimit-CIi48Jim.js → widget-rangelimit-D7tsCL8x.js} +2 -2
  33. package/dist/{widget-serialnumber-DjR6E2Ly.js → widget-serialnumber-BkdIJ6rG.js} +1 -1
  34. package/dist/{widget-text-zKDMBfNF.js → widget-text-UmCluu4T.js} +3 -3
  35. package/dist/{widget-timediff-CMNrQYov.js → widget-timediff-CWRjMEL9.js} +1 -1
  36. package/package.json +1 -1
  37. package/dist/paper-widget-design-EyXcTSiH.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, d as useModelFields, l as loadBwip } from "./index-DE57M0YO.js";
3
+ import { u as useSpreadSheet, d as useModelFields, l as loadBwip } from "./index-i4OH7WEx.js";
4
4
  import { N as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { d as useModelFields, D as Diagonal } from "./index-DE57M0YO.js";
2
+ import { d as useModelFields, D as Diagonal } from "./index-i4OH7WEx.js";
3
3
  import { al as resolveDiagonalVertex, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
package/dist/excel.css CHANGED
@@ -21868,7 +21868,7 @@ svg[data-v-9a7c8184] {
21868
21868
  [data-v-12b4ed11] .gct-edhr-custom-popover .ant-popover-inner-content {
21869
21869
  overflow: visible;
21870
21870
  }
21871
- .content-highlight[data-v-db6081b3]::after {
21871
+ .content-highlight[data-v-947fbaac]::after {
21872
21872
  content: '';
21873
21873
  position: absolute;
21874
21874
  top: 0;
@@ -22522,7 +22522,7 @@ svg[data-v-9a7c8184] {
22522
22522
  .trace-device__search-form .ant-input-affix-wrapper[data-v-a46c3abf] .ant-input {
22523
22523
  background: #f6f8fa;
22524
22524
  }
22525
- .content-highlight[data-v-42d39145]::after {
22525
+ .content-highlight[data-v-d18cbeb3]::after {
22526
22526
  content: '';
22527
22527
  position: absolute;
22528
22528
  top: 0;
@@ -1,5 +1,5 @@
1
1
  import { J as commonjsGlobal, K as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
2
- import { c as commonjsRequire } from "./index-DE57M0YO.js";
2
+ import { c as commonjsRequire } from "./index-i4OH7WEx.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-Ss2gJqa-.js";
3
3
  import { pick } from "lodash-es";
4
- import { p as _sfc_main$1, C as ColorPicker } from "./index-DE57M0YO.js";
4
+ import { p as _sfc_main$1, C as ColorPicker } from "./index-i4OH7WEx.js";
5
5
  import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle mb-6px" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -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-B2hP5Pw4.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CN1r_p0q.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CDvm5U29.js";
8
8
  class RdoSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.RdoSelect;
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-B2hP5Pw4.js";
7
- import { g as getFieldWidget } from "./index-DE57M0YO.js";
7
+ import { g as getFieldWidget } from "./index-i4OH7WEx.js";
8
8
  class EnumSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.EnumSelect;
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-DE57M0YO.js";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-i4OH7WEx.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-Rn52Yoy5.js";
4
4
  import "vue";
5
5
  import "dayjs";
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as L
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { g as getFieldWidget } from "./index-DE57M0YO.js";
6
+ import { g as getFieldWidget } from "./index-i4OH7WEx.js";
7
7
  import { B as BaseComponent } from "./BaseComponent-B2hP5Pw4.js";
8
8
  class Switch extends BaseComponent {
9
9
  component = ComponentTypeEnum.Switch;
@@ -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-DE57M0YO.js";
7
+ import { g as getFieldWidget } from "./index-i4OH7WEx.js";
8
8
  class CombineFields {
9
9
  component = ComponentTypeEnum.CombineFields;
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-DE57M0YO.js";
6
+ import { A as AsyncGctOnlineComponents } from "./index-i4OH7WEx.js";
7
7
  class Tr {
8
8
  component = "tr";
9
9
  wrapperCmpConfig({ data, parent }) {
@@ -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-B2hP5Pw4.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CN1r_p0q.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CDvm5U29.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 "dayjs";
5
5
  import "ant-design-vue";
6
6
  import { B as BaseComponent } from "./BaseComponent-B2hP5Pw4.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-DE57M0YO.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-i4OH7WEx.js";
8
8
  class Select extends BaseComponent {
9
9
  component = ComponentTypeEnum.Select;
10
10
  wrapperCmpConfig({ data }) {
@@ -1249,7 +1249,7 @@ function openWindow(url, opt) {
1249
1249
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
1250
1250
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
1251
1251
  async function createWorkbook() {
1252
- const ExcelJs = (await import("./exceljs.min-CL4ixZ7E.js").then((n) => n.e)).default;
1252
+ const ExcelJs = (await import("./exceljs.min-B2yMJJSO.js").then((n) => n.e)).default;
1253
1253
  return new ExcelJs.Workbook();
1254
1254
  }
1255
1255
  class XlsxParser {
@@ -1536,25 +1536,25 @@ class XlsxParser {
1536
1536
  }
1537
1537
  function asyncImportClassModules() {
1538
1538
  const modules = /* @__PURE__ */ Object.assign({
1539
- "./_field_/auto-complete/index.ts": () => import("./index-C1GtA4g0.js").then((m) => m["default"]),
1539
+ "./_field_/auto-complete/index.ts": () => import("./index-M-BT6Mb0.js").then((m) => m["default"]),
1540
1540
  "./_field_/datepicker/index.ts": () => import("./index-Tw10Pcrk.js").then((m) => m["default"]),
1541
1541
  "./_field_/datetimepicker/index.ts": () => import("./index-DtWqWakF.js").then((m) => m["default"]),
1542
1542
  "./_field_/department/index.ts": () => import("./index-B4NdWTOz.js").then((m) => m["default"]),
1543
- "./_field_/enum-select/index.ts": () => import("./index-Dy1XEEdO.js").then((m) => m["default"]),
1543
+ "./_field_/enum-select/index.ts": () => import("./index-BmSqi0nn.js").then((m) => m["default"]),
1544
1544
  "./_field_/input/index.ts": () => import("./index-C6lVuYjH.js").then((m) => m["default"]),
1545
1545
  "./_field_/inputdouble/index.ts": () => import("./index-BiyCBnHO.js").then((m) => m["default"]),
1546
1546
  "./_field_/inputnumber/index.ts": () => import("./index-Bx19JyfY.js").then((m) => m["default"]),
1547
- "./_field_/rdo-select/index.ts": () => import("./index-C6HZCpzU.js").then((m) => m["default"]),
1548
- "./_field_/select/index.ts": () => import("./index-ChSN-9IZ.js").then((m) => m["default"]),
1547
+ "./_field_/rdo-select/index.ts": () => import("./index-BWhvLFuS.js").then((m) => m["default"]),
1548
+ "./_field_/select/index.ts": () => import("./index-SB9y5m0H.js").then((m) => m["default"]),
1549
1549
  "./_field_/sign/index.ts": () => import("./index-CV3riQ3c.js").then((m) => m["default"]),
1550
- "./_field_/switch/index.ts": () => import("./index-wk08lqwx.js").then((m) => m["default"]),
1550
+ "./_field_/switch/index.ts": () => import("./index-CmIhi6Su.js").then((m) => m["default"]),
1551
1551
  "./_field_/textarea/index.ts": () => import("./index-Buys_3U5.js").then((m) => m["default"]),
1552
1552
  "./_field_/timepicker/index.ts": () => import("./index-D9MOQLTY.js").then((m) => m["default"]),
1553
1553
  "./_field_/upload-file/index.ts": () => import("./index-M-byfdiF.js").then((m) => m["default"]),
1554
1554
  "./_field_/upload-image/index.ts": () => import("./index-CM8l268J.js").then((m) => m["default"]),
1555
1555
  "./_field_/userpicker/index.ts": () => import("./index-CfGEDuF1.js").then((m) => m["default"]),
1556
1556
  "./_widget_/barcode/index.ts": () => import("./index-Bs12lNOF.js").then((m) => m["default"]),
1557
- "./_widget_/combine-fields/index.ts": () => import("./index-B0ftNZvu.js").then((m) => m["default"]),
1557
+ "./_widget_/combine-fields/index.ts": () => import("./index-Cmh_28Hs.js").then((m) => m["default"]),
1558
1558
  "./_widget_/diagonal/index.ts": () => import("./index-Dq4VxDIZ.js").then((m) => m["default"]),
1559
1559
  "./_widget_/dyn-value/index.ts": () => import("./index-Bday1WBV.js").then((m) => m["default"]),
1560
1560
  "./_widget_/image/index.ts": () => import("./index-CBWRF4iQ.js").then((m) => m["default"]),
@@ -1566,8 +1566,8 @@ function asyncImportClassModules() {
1566
1566
  "./_widget_/sub-table/index.ts": () => import("./index-QOhjFhUU.js").then((m) => m["default"]),
1567
1567
  "./_widget_/timediff/index.ts": () => import("./index-D1uEF2Q-.js").then((m) => m["default"]),
1568
1568
  "./paper/index.ts": () => import("./index-CbVXT1EA.js").then((m) => m["default"]),
1569
- "./td/index.ts": () => import("./index-BAzqPgHB.js").then((m) => m["default"]),
1570
- "./tr/index.ts": () => import("./index-D7gXCAL1.js").then((m) => m["default"])
1569
+ "./td/index.ts": () => import("./index-BwaCvy6l.js").then((m) => m["default"]),
1570
+ "./tr/index.ts": () => import("./index-CwEgjuxx.js").then((m) => m["default"])
1571
1571
  });
1572
1572
  return modules;
1573
1573
  }
@@ -14718,7 +14718,7 @@ function asyncImportWidgetConfigList() {
14718
14718
  return widgetConfigList;
14719
14719
  }
14720
14720
  function asyncImportWidgetDesign() {
14721
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-BFzqHQiU.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-BOgBDFhw.js"), "./image/image-design.vue": () => import("./image-design-hTV7cmpq.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-pvBExwoS.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-EyXcTSiH.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-_r1y2z0S.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BgIZu0sW.js"), "./text/text-design.vue": () => import("./text-design-CL4vW6_6.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CsDLmpYK.js") });
14721
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-BqIBQDqn.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-BkuiWsT9.js"), "./image/image-design.vue": () => import("./image-design-hTV7cmpq.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BlxYaew2.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-wrFvO7Dq.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BWupHh6k.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BgIZu0sW.js"), "./text/text-design.vue": () => import("./text-design-BZdgEMzq.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CsDLmpYK.js") });
14722
14722
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
14723
14723
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
14724
14724
  if (mKey) {
@@ -28448,7 +28448,7 @@ const _sfc_main$4O = /* @__PURE__ */ defineComponent({
28448
28448
  });
28449
28449
  const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$4O, [["__scopeId", "data-v-463388f0"]]);
28450
28450
  function asyncImportWidgetProp() {
28451
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-DnmtoWub.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-B1TWmift.js"), "./widget-image.vue": () => import("./widget-image-2vKSM-4A.js"), "./widget-line.vue": () => import("./widget-line-CMhLpz1J.js"), "./widget-pagination.vue": () => import("./widget-pagination-BbBqIFQl.js"), "./widget-power.vue": () => import("./widget-power-RwhwkZsD.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-CS04KQo2.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CIi48Jim.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-DjR6E2Ly.js"), "./widget-text.vue": () => import("./widget-text-zKDMBfNF.js"), "./widget-timediff.vue": () => import("./widget-timediff-CMNrQYov.js") });
28451
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-gP8W3DXl.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CtJoLiKo.js"), "./widget-image.vue": () => import("./widget-image-CY7PHvI6.js"), "./widget-line.vue": () => import("./widget-line-DE0G3Zr6.js"), "./widget-pagination.vue": () => import("./widget-pagination-MJ-CtnWn.js"), "./widget-power.vue": () => import("./widget-power-BFKBLkF5.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-ChM7UInm.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-D7tsCL8x.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-BkdIJ6rG.js"), "./widget-text.vue": () => import("./widget-text-UmCluu4T.js"), "./widget-timediff.vue": () => import("./widget-timediff-CWRjMEL9.js") });
28452
28452
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
28453
28453
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
28454
28454
  if (mKey) {
@@ -63511,7 +63511,10 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
63511
63511
  {
63512
63512
  onClick: async (e) => {
63513
63513
  e.preventDefault();
63514
- window.NocodeAdapter.hooks?.openEdhrViewDrawer?.(value.value);
63514
+ await window.NocodeAdapter.hooks?.openFieldHyperlink?.({
63515
+ materialNo: String(value.value),
63516
+ fieldType
63517
+ });
63515
63518
  }
63516
63519
  },
63517
63520
  lotLabel
@@ -63572,7 +63575,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
63572
63575
  };
63573
63576
  }
63574
63577
  });
63575
- const autoCompleteRender = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__scopeId", "data-v-db6081b3"]]);
63578
+ const autoCompleteRender = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__scopeId", "data-v-947fbaac"]]);
63576
63579
  const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
63577
63580
  __proto__: null,
63578
63581
  default: autoCompleteRender
@@ -70651,7 +70654,10 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
70651
70654
  {
70652
70655
  onClick: async (e) => {
70653
70656
  e.preventDefault();
70654
- window.NocodeAdapter.hooks?.openEdhrViewDrawer?.(childName);
70657
+ await window.NocodeAdapter.hooks?.openFieldHyperlink?.({
70658
+ materialNo: childName,
70659
+ fieldType: FIELD_TYPE.PRODUCTION_CONTAINER
70660
+ });
70655
70661
  }
70656
70662
  },
70657
70663
  label
@@ -70782,7 +70788,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
70782
70788
  };
70783
70789
  }
70784
70790
  });
70785
- const selectRender = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-42d39145"]]);
70791
+ const selectRender = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-d18cbeb3"]]);
70786
70792
  const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70787
70793
  __proto__: null,
70788
70794
  default: selectRender
@@ -77870,6 +77876,10 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
77870
77876
  return acc;
77871
77877
  }, {});
77872
77878
  const { cmpKey } = useOnlineFormTransformField2Component(config2.fieldType) || {};
77879
+ if (!cmpKey) {
77880
+ widgetSchema.value = void 0;
77881
+ return;
77882
+ }
77873
77883
  widgetSchema.value = {
77874
77884
  id: `${cmpKey}_${Date.now()}_${Math.random().toString(36).substr(2)}`,
77875
77885
  component: cmpKey,
@@ -77908,13 +77918,14 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
77908
77918
  default: withCtx(() => [
77909
77919
  createVNode(_sfc_main$13, {
77910
77920
  widget: widgetSchema.value,
77921
+ "component-override": widgetSchema.value.component,
77911
77922
  formData: __props.formData,
77912
77923
  subtableFieldId: __props.subtableFieldId,
77913
77924
  realRowIndex: __props.realRowIndex,
77914
77925
  realColIndex: __props.realColIndex,
77915
77926
  pageRowIndex: __props.pageRowIndex,
77916
77927
  childSubTableDataIndex: __props.childSubTableDataIndex
77917
- }, null, 8, ["widget", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"])
77928
+ }, null, 8, ["widget", "component-override", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"])
77918
77929
  ]),
77919
77930
  _: 1
77920
77931
  }, 8, ["widget"])) : createCommentVNode("", true);
@@ -78703,7 +78714,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
78703
78714
  childSubTableDataIndex: {},
78704
78715
  rowKey: {},
78705
78716
  referenceInfo: {},
78706
- dynamicConfig: {}
78717
+ dynamicConfig: {},
78718
+ componentOverride: {}
78707
78719
  },
78708
78720
  setup(__props) {
78709
78721
  const tmplConfigC = useFormTmplConfig().injectController();
@@ -78723,6 +78735,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
78723
78735
  }
78724
78736
  const componentType = computed(() => {
78725
78737
  if (props2.dynamicConfig?.isDynRo) return ComponentTypeEnum.DynRo;
78738
+ if (props2.componentOverride) return props2.componentOverride;
78726
78739
  const widget2 = dateObjectWidget.value ?? props2.widget;
78727
78740
  return resolveFieldRenderComponent(widget2?.props) ?? widget2?.component;
78728
78741
  });
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-DE57M0YO.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-i4OH7WEx.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-Dxi-5wnV.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-DE57M0YO.js";
6
+ import { e as calcText } from "./index-i4OH7WEx.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-i4OH7WEx.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-DE57M0YO.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-i4OH7WEx.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-DE57M0YO.js";
3
+ import { f as useDrop, T as TransferType, d as useModelFields, h as getFieldIcon, S as SingleDrop } from "./index-i4OH7WEx.js";
4
4
  import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "single-field-drop",
@@ -39,7 +39,10 @@ export interface ExcelHostHooks {
39
39
  /** 表单变更流程选择 */
40
40
  selectProcessModal?: (...args: any[]) => any;
41
41
  /** DHR */
42
- openEdhrViewDrawer?: (...args: any[]) => any;
42
+ openFieldHyperlink?: (options: {
43
+ materialNo: string;
44
+ fieldType: string;
45
+ }) => void | Promise<unknown>;
43
46
  openSingleDrawer?: (...args: any[]) => any;
44
47
  /** 模型字段前缀 */
45
48
  useKeyParser?: (...args: any[]) => any;
@@ -1,4 +1,4 @@
1
- import { BaseCoreComponent } from '../../../../../../nocode-base/src';
1
+ import { ComponentTypeEnum, BaseCoreComponent } from '../../../../../../nocode-base/src';
2
2
  type __VLS_Props = {
3
3
  widget: BaseCoreComponent.BasicSchema;
4
4
  formData: {
@@ -28,6 +28,8 @@ type __VLS_Props = {
28
28
  sourceTdId: string;
29
29
  isDynRo: boolean;
30
30
  };
31
+ /** 动态值组件已选定的实际字段组件,避免再次识别为动态值组件 */
32
+ componentOverride?: ComponentTypeEnum;
31
33
  };
32
34
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
35
  export default _default;
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
3
3
  import { N as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { u as useSpreadSheet, d as useModelFields } from "./index-DE57M0YO.js";
6
+ import { u as useSpreadSheet, d as useModelFields } from "./index-i4OH7WEx.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, b4 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-DE57M0YO.js";
6
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-i4OH7WEx.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 = isSterilizationLotField(data.info) ? getSterilizationLotDisplayFields() : isSubtableMfgOrder ? [
@@ -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-DE57M0YO.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-i4OH7WEx.js";
4
4
  import { N as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -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-DE57M0YO.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-uJX95eBu.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-i4OH7WEx.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CzUVMyDu.js";
4
4
  import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.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-DE57M0YO.js";
2
+ import { F as FormItem, j as SelectEx } from "./index-i4OH7WEx.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, d7 as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.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-BmfB0cFh.js";
8
+ import { S as SingleFieldDrop } from "./single-field-drop-B26XDPsU.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-DE57M0YO.js";
2
+ import { L as LeftOutlined, R as RightOutlined, k as isClient, u as useSpreadSheet, F as FormItem, m as ImgParser } from "./index-i4OH7WEx.js";
3
3
  import { S as SizeEditor } from "./size-editor-B5f5QFKt.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-Rn52Yoy5.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, n as LineStyleOptions, C as ColorPicker } from "./index-DE57M0YO.js";
6
+ import { F as FormItem, n as LineStyleOptions, C as ColorPicker } from "./index-i4OH7WEx.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-DE57M0YO.js";
6
+ import { F as FormItem, o as PaginationFormatOptions } from "./index-i4OH7WEx.js";
7
7
  import { S as SizeEditor } from "./size-editor-B5f5QFKt.js";
8
8
  import { A as AlignEditor } from "./align-editor-Ss2gJqa-.js";
9
- import { F as FontEditor } from "./font-editor--RkQO3lZ.js";
9
+ import { F as FontEditor } from "./font-editor-Bhq8_nP8.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-DE57M0YO.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-BmfB0cFh.js";
2
+ import { u as useSpreadSheet, q as useReverseModeling, F as FormItem } from "./index-i4OH7WEx.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-B26XDPsU.js";
4
4
  import { u as useNamespace } from "./use-namespace-BxkK4ofX.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-Rn52Yoy5.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-DE57M0YO.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-uJX95eBu.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-i4OH7WEx.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CzUVMyDu.js";
4
4
  import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.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-DE57M0YO.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-BmfB0cFh.js";
2
+ import { F as FormItem } from "./index-i4OH7WEx.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-B26XDPsU.js";
4
4
  import { u as useNamespace } from "./use-namespace-BxkK4ofX.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-Rn52Yoy5.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-DE57M0YO.js";
2
+ import { F as FormItem } from "./index-i4OH7WEx.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-DE57M0YO.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-uJX95eBu.js";
2
+ import { u as useSpreadSheet, F as FormItem } from "./index-i4OH7WEx.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CzUVMyDu.js";
4
4
  import { S as SizeEditor } from "./size-editor-B5f5QFKt.js";
5
5
  import { A as AlignEditor } from "./align-editor-Ss2gJqa-.js";
6
- import { F as FontEditor } from "./font-editor--RkQO3lZ.js";
6
+ import { F as FontEditor } from "./font-editor-Bhq8_nP8.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-DE57M0YO.js";
2
+ import { u as useSpreadSheet, d as useModelFields, F as FormItem } from "./index-i4OH7WEx.js";
3
3
  import { F as FIELD_TYPE, aj as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.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.33-beta.3",
3
+ "version": "0.1.33-beta.4",
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-DE57M0YO.js";
2
- export {
3
- _sfc_main as default
4
- };