@gct-paas/excel 0.1.39-beta.0 → 0.1.40-beta.0

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 (107) hide show
  1. package/dist/AntdIcon-DCIaV352.js +1108 -0
  2. package/dist/{BaseComponent-BO75HbkD.js → BaseComponent-BTolXjlE.js} +4 -3
  3. package/dist/{VueVideoPlayer-C49th9G_.js → VueVideoPlayer-Dvf7Ya7H.js} +2 -2
  4. package/dist/{align-editor-CpscpDxA.js → align-editor-jp0NsOnT.js} +1 -1
  5. package/dist/{barcode-design-CKbMreUi.js → barcode-design-ClfdoOKn.js} +3 -2
  6. package/dist/base/index.es.js +168 -30
  7. package/dist/{diagonal-design-DEz3_fE8.js → diagonal-design-Br0xpyqC.js} +3 -2
  8. package/dist/{dynamic-table-action-DFnvJWw-.js → dynamic-table-action-C-HIKtZG.js} +115 -27
  9. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js} +14 -9
  10. package/dist/{edit.utils-CXmmCnxE-evcsspEJ.js → edit.utils-CXmmCnxE-D4-n_eOM.js} +1 -1
  11. package/dist/excel.css +94 -13
  12. package/dist/{exceljs.min-CXjktZ33.js → exceljs.min-BH63KI8s.js} +2 -2
  13. package/dist/{font-editor-DAcmrW2A.js → font-editor-QSpu9bjJ.js} +3 -3
  14. package/dist/{image-design-BnDK5Jwf.js → image-design-ySQAmnTF.js} +2 -2
  15. package/dist/{index-Dn7Za3rP.js → index-2FWN7Q91.js} +3 -2
  16. package/dist/{index-KnPqm-JT.js → index-4_qe7Eco.js} +3 -2
  17. package/dist/{index-BRV9V8ld.js → index-8yhxxqYM.js} +2 -1
  18. package/dist/{index-C8AH07MC.js → index-B3mCVcXB.js} +3 -2
  19. package/dist/{index-BlFNgjr-.js → index-B6Bs-q34.js} +3 -2
  20. package/dist/{index-DRF0yT-Y.js → index-BHiNdrGr.js} +3 -2
  21. package/dist/{index-kQi_q492.js → index-BJ6ZaX-f.js} +3 -2
  22. package/dist/{index-D72ZxU1B.js → index-BJQd1G0r.js} +4 -3
  23. package/dist/{index-D1m06PsY.js → index-BOaDYNtp.js} +3 -2
  24. package/dist/{index-DWPgvBzt.js → index-BXXvFDgt.js} +2 -1
  25. package/dist/{index-BVCrUywZ.js → index-BxEjRF0o.js} +3 -2
  26. package/dist/{index-CeoXayAy.js → index-C2RMbM6E.js} +3 -2
  27. package/dist/{index-IAfu2tPO.js → index-C7DwXZ-K.js} +2 -1
  28. package/dist/{index-BlZQjpdp.js → index-CMOvPSr6.js} +3 -2
  29. package/dist/{index-DALo6h-z.js → index-CN-rY-3F.js} +2 -1
  30. package/dist/{index-DUgFd0ON.js → index-COx1-SPe.js} +3 -2
  31. package/dist/{index-vOd76hbp.js → index-CTO4kNz9.js} +2 -1
  32. package/dist/{index-H2lP-HBC.js → index-CUrMIr2v.js} +3 -2
  33. package/dist/{index-B0o6GTve.js → index-Ca8q7yXC.js} +3 -2
  34. package/dist/{index-BJj0R1JE.js → index-Cb-I6DkL.js} +2 -1
  35. package/dist/{index-CQ9v7Q0g.js → index-Cf7KwZfa.js} +5 -4
  36. package/dist/{index-BNjowwSy.js → index-CvDQjwre.js} +2 -1
  37. package/dist/{index-BRKs8S7h.js → index-D3IdoYWe.js} +3 -2
  38. package/dist/{index-ywxJkkJ_.js → index-D9zBCWpE.js} +3 -2
  39. package/dist/{index-BvYfYS4D.js → index-DYxskDRv.js} +4 -3
  40. package/dist/{index-DScv6Lhe.js → index-DZGqXE3S.js} +4 -3
  41. package/dist/{index-BA3994iB.js → index-DbPA5PUX.js} +2 -1
  42. package/dist/{index-BH4YqNzS.js → index-FSCxAVGq.js} +3 -2
  43. package/dist/{index-4-w7U148.js → index-QTmeSdj9.js} +3 -2
  44. package/dist/{index-D06X_Sz7.js → index-Qf8D5LdT.js} +4 -3
  45. package/dist/{index-qKN7-uGo.js → index-dhaw5vxN.js} +3 -2
  46. package/dist/{index-CNBwsBrN.js → index-ibQys99q.js} +2 -1
  47. package/dist/{index-D9SThznm.js → index-nBc_3R3r.js} +2 -1
  48. package/dist/{index-CCNBotX0.js → index-oOLbaFI8.js} +10324 -10186
  49. package/dist/{index-CXBwY7ba.js → index-uVpJOLb3.js} +2 -2
  50. package/dist/index.es.js +4 -2
  51. package/dist/{mb-render-jAsNtPqY.js → mb-render-BRejJNP-.js} +1 -1
  52. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CqKkoSRa.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QX4lxsni.js} +5 -1034
  53. package/dist/{pagination-design-6xxPBIk-.js → pagination-design-pTh3Fqbz.js} +3 -2
  54. package/dist/paper-widget-design-CBI-8vTV.js +4 -0
  55. package/dist/{print-runtime-instance-D8QAHAsd.js → print-runtime-instance-CBUjws4D.js} +1 -1
  56. package/dist/{print-snapshot-renderer-BDrHYena.js → print-snapshot-renderer-s0IhY_T_.js} +3 -3
  57. package/dist/{qrcode-design-CBDd-S2d.js → qrcode-design-CnKOb-s9.js} +1 -1
  58. package/dist/{revo-grid.entry-Bygattd8.js → revo-grid.entry-BqbaKcyR.js} +1 -1
  59. package/dist/{revogr-attribution_7.entry-BqzhD1hP.js → revogr-attribution_7.entry-jmN78nkb.js} +3 -3
  60. package/dist/{revogr-clipboard_3.entry-Wr7KhnJ_.js → revogr-clipboard_3.entry-eK74i7_f.js} +2 -2
  61. package/dist/{revogr-data_4.entry-CrFW39f1.js → revogr-data_4.entry-D2lAUBEM.js} +2 -2
  62. package/dist/{revogr-filter-panel.entry-9khS41SL.js → revogr-filter-panel.entry-C-1WXBDy.js} +1 -1
  63. package/dist/seal-design-CMJBAfIN.js +4 -0
  64. package/dist/{serialnumber-design-eXgfrjw9.js → serialnumber-design-DEYD9ku_.js} +1 -1
  65. package/dist/shared/index.es.js +2 -2
  66. package/dist/{single-field-drop-1eS6_6ko.js → single-field-drop-Bd3PcWQF.js} +3 -3
  67. package/dist/{size-editor-OEPrJU0W.js → size-editor-DiZ8E2R6.js} +1 -1
  68. package/dist/src/index.d.ts +6 -0
  69. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +1 -0
  70. package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +45 -0
  71. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +3 -0
  72. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +39 -0
  73. package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +21 -0
  74. package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
  75. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +2 -0
  76. package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +5 -2
  77. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -5
  78. package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
  79. package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
  80. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +133 -9
  81. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +62 -0
  82. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +6 -0
  83. package/dist/src/online-form/src/views/designer/types/index.d.ts +5 -0
  84. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
  85. package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +1 -0
  86. package/dist/{sub-table-factory-D8KUikPE.js → sub-table-factory-B6HdlZ7-.js} +2 -2
  87. package/dist/{text-design-BkvEuU7u.js → text-design-D2IwsbOW.js} +3 -2
  88. package/dist/{throttle-Cpk1LoGk-DxTostCa.js → throttle-Cpk1LoGk-DRpYOKiV.js} +1 -1
  89. package/dist/{timediff-design-BFf9WtJn.js → timediff-design-Cq3SADlb.js} +2 -1
  90. package/dist/{trace-like-wrapper-SPo5HVCt.js → trace-like-wrapper-Qmczl-Hz.js} +3 -2
  91. package/dist/{value-editor.vue_vue_type_style_index_0_lang-BzVvcoTa.js → value-editor.vue_vue_type_style_index_0_lang-UXPOa0Wv.js} +3 -2
  92. package/dist/web-render/index.es.js +4 -3
  93. package/dist/{widget-barcode-B_aUPEfd.js → widget-barcode-C7wO0SFO.js} +5 -4
  94. package/dist/{widget-diagonal-D32J64HV.js → widget-diagonal-Cbuv8o5A.js} +5 -4
  95. package/dist/{widget-image-BOOWwiSe.js → widget-image-4AeqjwGp.js} +5 -5
  96. package/dist/{widget-line-xVHcCE1_.js → widget-line--RgXiyvO.js} +3 -2
  97. package/dist/{widget-pagination-B0Bq_gL5.js → widget-pagination-jr6bVWPW.js} +6 -5
  98. package/dist/{widget-power-TNCB2u1G.js → widget-power-ptilZfAF.js} +5 -4
  99. package/dist/{widget-qrcode-gVSwYuKp.js → widget-qrcode-DH-1741M.js} +4 -3
  100. package/dist/{widget-rangelimit-BO7Z_5N9.js → widget-rangelimit-B4yv3Qw3.js} +4 -4
  101. package/dist/{widget-serialnumber-BX83djNf.js → widget-serialnumber-AZ2IUJTg.js} +1 -1
  102. package/dist/{widget-text-CIqov_wj.js → widget-text-CW0A1n16.js} +5 -5
  103. package/dist/{widget-timediff-kFxxm2hM.js → widget-timediff-C3xTGqfj.js} +3 -2
  104. package/package.json +2 -2
  105. package/dist/paper-widget-design-CUk1634i.js +0 -4
  106. package/dist/seal-design-DNrW57Za.js +0 -4
  107. package/dist/use-namespace-BxkK4ofX.js +0 -77
@@ -1,9 +1,10 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
2
- import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
2
+ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
+ import "@gct-paas/form-base";
5
6
  import "ant-design-vue";
6
- import { j as calcText } from "./index-CCNBotX0.js";
7
+ import { j as calcText } from "./index-oOLbaFI8.js";
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  __name: "pagination-design",
9
10
  props: {
@@ -0,0 +1,4 @@
1
+ import { k as _sfc_main } from "./index-oOLbaFI8.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-CCNBotX0.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-oOLbaFI8.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
- import { R as RuntimeFormStateStore, G as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-DFnvJWw-.js";
3
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-D8KUikPE.js";
4
- import { _ as _sfc_main$1 } from "./index-CCNBotX0.js";
2
+ import { R as RuntimeFormStateStore, G as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-C-HIKtZG.js";
3
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-B6HdlZ7-.js";
4
+ import { _ as _sfc_main$1 } from "./index-oOLbaFI8.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-CCNBotX0.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-oOLbaFI8.js";
3
3
  const _hoisted_1 = ["src"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "qrcode-design",
@@ -1,4 +1,4 @@
1
- import { dg as registerInstance, dh as createEvent, di as getColumnByProp, dj as timeout, dk as getVisibleSourceItem, dl as getColumns, dm as rowTypes, dn as GroupingRowPlugin, dp as StretchColumn, dq as isStretchPlugin, dr as AutoSizeColumnPlugin, ds as FilterPlugin, dt as ExportFilePlugin, du as SortingPlugin, dv as ColumnMovePlugin, dw as ThemeService, dx as h, dy as Host, dz as getElement, dA as BasePlugin, dB as reduce, dC as columnTypes, dD as debounce, dE as RESIZE_INTERVAL, dF as DimensionStore, dG as gatherTrimmedItems, dH as getColumnSizes, dI as getItemByIndex, dJ as DataStore, dK as getSourceItem, dL as getSourceItemVirtualIndexByProp, dM as getColumnType, dN as setSourceByPhysicalIndex, dO as setSourceByVirtualIndex, dP as SelectionStore, dQ as cropCellToMax, dR as nextCell, dS as isRowType, dT as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
1
+ import { dg as registerInstance, dh as createEvent, di as getColumnByProp, dj as timeout, dk as getVisibleSourceItem, dl as getColumns, dm as rowTypes, dn as GroupingRowPlugin, dp as StretchColumn, dq as isStretchPlugin, dr as AutoSizeColumnPlugin, ds as FilterPlugin, dt as ExportFilePlugin, du as SortingPlugin, dv as ColumnMovePlugin, dw as ThemeService, dx as h, dy as Host, dz as getElement, dA as BasePlugin, dB as reduce, dC as columnTypes, dD as debounce, dE as RESIZE_INTERVAL, dF as DimensionStore, dG as gatherTrimmedItems, dH as getColumnSizes, dI as getItemByIndex, dJ as DataStore, dK as getSourceItem, dL as getSourceItemVirtualIndexByProp, dM as getColumnType, dN as setSourceByPhysicalIndex, dO as setSourceByVirtualIndex, dP as SelectionStore, dQ as cropCellToMax, dR as nextCell, dS as isRowType, dT as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
2
2
  import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
3
3
  import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
4
4
  class ColumnDataProvider {
@@ -1,8 +1,8 @@
1
- import { dg as registerInstance, dx as h, dy as Host, dh as createEvent, dK as getSourceItem, dz as getElement, dY as ColumnService, dZ as MOBILE_CLASS, d_ as SELECTION_BORDER_CLASS, d$ as getCellData, e0 as getCellEditor, e1 as getRange, e2 as isRangeSingleCell, e3 as codesLetter, dT as ViewportStore, dJ as DataStore, e4 as calculateRowHeaderSize, e5 as ROW_HEADER_TYPE, e6 as getScrollbarSize, e7 as FOCUS_CLASS, dI as getItemByIndex, dj as timeout, e8 as CELL_HANDLER_CLASS, dD as debounce, e9 as TMP_SELECTION_BG_CLASS, dE as RESIZE_INTERVAL, ea as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
1
+ import { dg as registerInstance, dx as h, dy as Host, dh as createEvent, dK as getSourceItem, dz as getElement, dY as ColumnService, dZ as MOBILE_CLASS, d_ as SELECTION_BORDER_CLASS, d$ as getCellData, e0 as getCellEditor, e1 as getRange, e2 as isRangeSingleCell, e3 as codesLetter, dT as ViewportStore, dJ as DataStore, e4 as calculateRowHeaderSize, e5 as ROW_HEADER_TYPE, e6 as getScrollbarSize, e7 as FOCUS_CLASS, dI as getItemByIndex, dj as timeout, e8 as CELL_HANDLER_CLASS, dD as debounce, e9 as TMP_SELECTION_BG_CLASS, dE as RESIZE_INTERVAL, ea as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
2
2
  import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
3
- import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-evcsspEJ.js";
3
+ import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-D4-n_eOM.js";
4
4
  import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
5
- import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DxTostCa.js";
5
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DRpYOKiV.js";
6
6
  const Attribution = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
@@ -1,5 +1,5 @@
1
- import { dj as timeout, dg as registerInstance, dh as createEvent, dx as h, eb as EDIT_INPUT_WR, dy as Host, dz as getElement, dD as debounce, ee as DRAGG_TEXT, dK as getSourceItem, ea as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
2
- import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-evcsspEJ.js";
1
+ import { dj as timeout, dg as registerInstance, dh as createEvent, dx as h, eb as EDIT_INPUT_WR, dy as Host, dz as getElement, dD as debounce, ee as DRAGG_TEXT, dK as getSourceItem, ea as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
2
+ import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-D4-n_eOM.js";
3
3
  class TextEditor {
4
4
  constructor(data, saveCallback) {
5
5
  this.data = data;
@@ -1,5 +1,5 @@
1
- import { ef as PSEUDO_GROUP_ITEM, eg as GROUP_EXPANDED, eh as GROUP_DEPTH, dx as h, ei as GROUP_EXPAND_BTN, ej as DATA_ROW, dK as getSourceItem, ek as isGroupingColumn, el as GROUP_COLUMN_PROP, em as getCellRaw, en as DATA_COL, eo as CELL_CLASS, ep as Build, eq as isRowDragService, er as DRAG_ICON_CLASS, es as DRAGGABLE_CLASS, et as getCellDataParsed, eu as GROUP_EXPAND_EVENT, dg as registerInstance, dh as createEvent, dY as ColumnService, ev as isGrouping, dy as Host, dz as getElement, dI as getItemByIndex, ew as HEADER_ROW_CLASS, ex as HEADER_ACTUAL_ROW_CLASS, ey as ROW_FOCUSED_CLASS, ez as HEADER_SORTABLE_CLASS, eA as MIN_COL_SIZE, e7 as FOCUS_CLASS, eB as FilterButton, eC as HeaderCellRenderer, eD as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
2
- import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DxTostCa.js";
1
+ import { ef as PSEUDO_GROUP_ITEM, eg as GROUP_EXPANDED, eh as GROUP_DEPTH, dx as h, ei as GROUP_EXPAND_BTN, ej as DATA_ROW, dK as getSourceItem, ek as isGroupingColumn, el as GROUP_COLUMN_PROP, em as getCellRaw, en as DATA_COL, eo as CELL_CLASS, ep as Build, eq as isRowDragService, er as DRAG_ICON_CLASS, es as DRAGGABLE_CLASS, et as getCellDataParsed, eu as GROUP_EXPAND_EVENT, dg as registerInstance, dh as createEvent, dY as ColumnService, ev as isGrouping, dy as Host, dz as getElement, dI as getItemByIndex, ew as HEADER_ROW_CLASS, ex as HEADER_ACTUAL_ROW_CLASS, ey as ROW_FOCUSED_CLASS, ez as HEADER_SORTABLE_CLASS, eA as MIN_COL_SIZE, e7 as FOCUS_CLASS, eB as FilterButton, eC as HeaderCellRenderer, eD as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
2
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DRpYOKiV.js";
3
3
  import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
4
4
  const SortingSign = ({ column }) => {
5
5
  var _a;
@@ -1,4 +1,4 @@
1
- import { dg as registerInstance, dh as createEvent, dD as debounce, dx as h, dU as AndOrButton, dV as ReorderButton, dW as TrashButton, dX as isFilterBtn, dy as Host, dz as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
1
+ import { dg as registerInstance, dh as createEvent, dD as debounce, dx as h, dU as AndOrButton, dV as ReorderButton, dW as TrashButton, dX as isFilterBtn, dy as Host, dz as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
2
2
  (function closest() {
3
3
  if (!Element.prototype.matches) {
4
4
  Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
@@ -0,0 +1,4 @@
1
+ import { f as _sfc_main } from "./index-oOLbaFI8.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
2
- import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
2
+ import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
3
3
  const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "serialnumber-design",
@@ -1,5 +1,5 @@
1
- import { aH, aB, q, cE, H, aI, aJ, cF, at, av, F, X, af, G, aA, bn, cG, au, T, cH, V, W, bo, a9, U } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
2
- import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CqKkoSRa.js";
1
+ import { aH, aB, q, cE, H, aI, aJ, cF, at, av, F, X, af, G, aA, bn, cG, au, T, cH, V, W, bo, a9, U } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
2
+ import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QX4lxsni.js";
3
3
  var Platform = /* @__PURE__ */ ((Platform2) => {
4
4
  Platform2["WEB"] = "web";
5
5
  Platform2["MOBILE"] = "mobile";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
- import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
3
- import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-CCNBotX0.js";
4
- import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
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-oOLbaFI8.js";
4
+ import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "single-field-drop",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
2
- import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
2
+ import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
3
3
  const _hoisted_1 = { class: "row" };
4
4
  const _hoisted_2 = { class: "row mt-6px" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -30,3 +30,9 @@ export { default as AiTmplEditor } from './online-form/src/views/designer/module
30
30
  export { default as AiTmplModal } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor-modal.vue';
31
31
  export type { AiTmplEditorExpose, AiTmplEditorProps, FieldOption, PrecisionOption, } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/types';
32
32
  export { ApaasCollect, ApaasCollectSheetView, ApaasDpPrint, ApaasDpPrintSheetView, BomEditorModal, SelectCheckDsModal, OutParamModal, InputParamModal, SignatureConfigModal, RenderFieldWrapper, };
33
+ /**
34
+ * 共用数据获取列表:设计配置与运行时查看、手动加载
35
+ * word, excel 都暴露出去了,gct-dhr-kit 可从中任用一个
36
+ */
37
+ export { DataSources } from '@gct-paas/form-base';
38
+ export type { DataSourceManager } from '@gct-paas/form-base';
@@ -109,6 +109,7 @@ export declare class SubTableCore {
109
109
  calcFieldStatus(params: {
110
110
  rowData: any;
111
111
  field: string;
112
+ formChangeStatus?: boolean;
112
113
  }): IFieldStatus;
113
114
  /**
114
115
  * 计算字段的查询条件,如果返回值有值则修改到td的newQueryData里
@@ -0,0 +1,45 @@
1
+ import { IBasicInfoItem } from '../../types';
2
+ import { RuntimeInstanceRecord, RuntimeInstanceRegistry } from '../../runtime';
3
+ import { IPayload, RuntimeSelfInfo } from './types';
4
+ export declare function createRuntimeDataSourceBinding(registry: RuntimeInstanceRegistry, payload: IPayload): {
5
+ dataSourceManagerMap: import('vue').ShallowRef<Record<string, {
6
+ getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
7
+ getContext: () => Record<string, unknown>;
8
+ canExecute: () => boolean;
9
+ reload: (key: string) => Promise<unknown>;
10
+ reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
11
+ states: {
12
+ readonly [x: string]: {
13
+ readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
14
+ readonly data?: Readonly<unknown> | undefined;
15
+ readonly error?: string | undefined;
16
+ };
17
+ };
18
+ query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
19
+ cancel: (key: string) => boolean;
20
+ getResult(key: string): unknown;
21
+ initialize: () => Promise<PromiseSettledResult<unknown>[]>;
22
+ queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
23
+ dispose(): void;
24
+ }>, Record<string, {
25
+ getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
26
+ getContext: () => Record<string, unknown>;
27
+ canExecute: () => boolean;
28
+ reload: (key: string) => Promise<unknown>;
29
+ reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
30
+ states: {
31
+ readonly [x: string]: {
32
+ readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
33
+ readonly data?: Readonly<unknown> | undefined;
34
+ readonly error?: string | undefined;
35
+ };
36
+ };
37
+ query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
38
+ cancel: (key: string) => boolean;
39
+ getResult(key: string): unknown;
40
+ initialize: () => Promise<PromiseSettledResult<unknown>[]>;
41
+ queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
42
+ dispose(): void;
43
+ }>>;
44
+ bindDataSources: (record: RuntimeInstanceRecord, info: IBasicInfoItem, selfInfo: RuntimeSelfInfo) => Promise<void>;
45
+ };
@@ -1,6 +1,7 @@
1
1
  import { RenderModeEnum, PlatformEnum, BpmnNodeTypeEnum } from '../../constant';
2
2
  import { baseDataUtils } from '../../interface';
3
3
  import { RuntimeFormStateStore } from '../../runtime';
4
+ import { DataSourceManagerOptions } from '@gct-paas/form-base';
4
5
  export interface IProps {
5
6
  /** 模板实例id或者模板id */
6
7
  selfId: string | string[] | undefined;
@@ -32,6 +33,8 @@ interface IDeviceConfig {
32
33
  export interface IPayload extends ITemplatePayload, IInstancePayload {
33
34
  /** 工厂类型 */
34
35
  factoryType: 'template' | 'instance' | 'batchInstance' | 'batchTemplate';
36
+ /** 表单、实体和业务数源的宿主查询适配器。 */
37
+ dataSourceAdapters?: DataSourceManagerOptions['adapters'];
35
38
  /** 请求接口函数 */
36
39
  requestCallback: (...args: any[]) => any;
37
40
  /** 平台参数类型 */
@@ -3,6 +3,45 @@ import { RuntimeInstanceRegistry } from '../runtime';
3
3
  import { IProps, IPayload } from './render-page/types';
4
4
  export type { IProps, IPayload } from './render-page/types';
5
5
  export declare function useRenderPageFactory(props: IProps, payload: IPayload): {
6
+ dataSourceManagerMap: import('vue').ShallowRef<Record<string, {
7
+ getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
8
+ getContext: () => Record<string, unknown>;
9
+ canExecute: () => boolean;
10
+ reload: (key: string) => Promise<unknown>;
11
+ reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
12
+ states: {
13
+ readonly [x: string]: {
14
+ readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
15
+ readonly data?: Readonly<unknown> | undefined;
16
+ readonly error?: string | undefined;
17
+ };
18
+ };
19
+ query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
20
+ cancel: (key: string) => boolean;
21
+ getResult(key: string): unknown;
22
+ initialize: () => Promise<PromiseSettledResult<unknown>[]>;
23
+ queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
24
+ dispose(): void;
25
+ }>, Record<string, {
26
+ getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
27
+ getContext: () => Record<string, unknown>;
28
+ canExecute: () => boolean;
29
+ reload: (key: string) => Promise<unknown>;
30
+ reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
31
+ states: {
32
+ readonly [x: string]: {
33
+ readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
34
+ readonly data?: Readonly<unknown> | undefined;
35
+ readonly error?: string | undefined;
36
+ };
37
+ };
38
+ query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
39
+ cancel: (key: string) => boolean;
40
+ getResult(key: string): unknown;
41
+ initialize: () => Promise<PromiseSettledResult<unknown>[]>;
42
+ queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
43
+ dispose(): void;
44
+ }>>;
6
45
  counter: import('vue').Ref<number, number>;
7
46
  finisher: import('vue').Ref<number, number>;
8
47
  loading: import('vue').ComputedRef<boolean>;
@@ -9,6 +9,27 @@ export declare function useRuntimeInstanceServices(uniqueIdSource?: RuntimeInsta
9
9
  instance: import('vue').ComputedRef<import('..').RuntimeInstanceRecord | undefined>;
10
10
  /** 控制器负责 Sheet 切换、编辑器收口和提交;尚未挂载时为空。 */
11
11
  controller: import('vue').ComputedRef<import('..').RuntimeInstanceController | undefined>;
12
+ /** 全部 Sheet 共享的数源管理器,随实例注册与销毁。 */
13
+ dataSourceManager: import('vue').ComputedRef<{
14
+ getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
15
+ getContext: () => Record<string, unknown>;
16
+ canExecute: () => boolean;
17
+ reload: (key: string) => Promise<unknown>;
18
+ reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
19
+ states: {
20
+ readonly [x: string]: {
21
+ readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
22
+ readonly data?: Readonly<unknown> | undefined;
23
+ readonly error?: string | undefined;
24
+ };
25
+ };
26
+ query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
27
+ cancel: (key: string) => boolean;
28
+ getResult(key: string): unknown;
29
+ initialize: () => Promise<PromiseSettledResult<unknown>[]>;
30
+ queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
31
+ dispose(): void;
32
+ } | undefined>;
12
33
  /** 表单级配置独立于 Sheet 的 paper;实例未注册时提供空配置。 */
13
34
  formConfig: import('vue').ComputedRef<Record<string, any>>;
14
35
  /** 实例切换时重新取对应 Store;读取数据使用 .value.state,写入使用 Store 方法。 */
@@ -3,7 +3,7 @@ import { NormalizedRuntimeDocument, RuntimeNodeMap } from '../multi-sheet-runtim
3
3
  export declare const LEGACY_RUNTIME_SHEET_ID = "__legacy_sheet__";
4
4
  export declare const LEGACY_RUNTIME_SHEET_TITLE = "\u5DE5\u4F5C\u8868 1";
5
5
  /** 历史 runtimeJson 中存放在 paper.props、实际属于整份实例的配置。 */
6
- export declare const LEGACY_RUNTIME_FORM_CONFIG_KEYS: readonly ["globalParams", "paramsMapList", "unitConversionRules", "inspectionDecisionRule", "customDataSource", "objectInitialValues", "javascript", "checkSignatureConfig", "keepExceptionHighlight", "objectFieldList", "dateObjects"];
6
+ export declare const LEGACY_RUNTIME_FORM_CONFIG_KEYS: readonly ["globalParams", "paramsMapList", "unitConversionRules", "inspectionDecisionRule", "customDataSource", "dataSources", "fieldFills", "objectInitialValues", "javascript", "checkSignatureConfig", "keepExceptionHighlight", "objectFieldList", "dateObjects"];
7
7
  /** 历史运行时:paper 和所有节点都直接放在文档顶层。 */
8
8
  export interface RuntimeDocumentV1 extends RuntimeNodeMap {
9
9
  schemaVersion?: 1;
@@ -104,6 +104,8 @@ export interface RuntimeInstanceContext {
104
104
  formConfig: Record<string, any>;
105
105
  defaultData: Record<string, any>;
106
106
  businessIndex: RuntimeBusinessIndex;
107
+ /** 兼容历史模板的重复字段提示;这些位置仍使用同一份表单数据。 */
108
+ duplicateFieldWarnings: string[];
107
109
  /** 初始化阶段的业务服务与快照;运行时基础服务从 RuntimeInstanceRecord 获取。 */
108
110
  services: RuntimeInstanceServices;
109
111
  activeSheetId: string;
@@ -1,8 +1,11 @@
1
1
  import { IBasicInfoItem } from '../types';
2
2
  import { RuntimeInstanceRecord } from './runtime-instance-registry';
3
3
  export type RuntimeFieldStateInfo = Pick<IBasicInfoItem, 'renderModeType' | 'modelKey' | 'formType' | 'bpmnType' | 'bpmnFieldAuthMap'> & Partial<Pick<IBasicInfoItem, 'annSwitchStatus' | 'renderPurpose'>>;
4
- /** Core 提供业务规则,这里统一合并到静态配置;二维交叉字段使用所属父行的业务状态。 */
5
- export declare function resolveRuntimeFieldProps(record: RuntimeInstanceRecord, props: Record<string, any>, widgetId: string, row?: Record<string, any>, parentRow?: Record<string, any>): {
4
+ /**
5
+ * Core 提供业务规则,这里统一合并到静态配置;二维交叉字段使用所属父行的业务状态。
6
+ * 表单变更跳过签名锁定,保留字段本身、业务 Profile 和组件依赖施加的限制。
7
+ */
8
+ export declare function resolveRuntimeFieldProps(record: RuntimeInstanceRecord, props: Record<string, any>, widgetId: string, row?: Record<string, any>, parentRow?: Record<string, any>, formChangeStatus?: boolean): {
6
9
  [x: string]: any;
7
10
  };
8
11
  /** 只读展示方式、禁用和校验 blocked 由同一结果派生,UI 与未挂载字段使用相同权限语义。 */
@@ -11,6 +11,7 @@ import { RuntimeFieldRegistry, RuntimeFieldMetadata } from './runtime-field-regi
11
11
  import { RuntimeSheetService } from './runtime-sheet-service';
12
12
  import { RuntimePersistenceCoordinator } from './runtime-persistence-coordinator';
13
13
  import { RuntimeInstanceEventBus } from './runtime-instance-event-bus';
14
+ import { DataSourceManager } from '@gct-paas/form-base';
14
15
  export interface RuntimeInstanceRecord {
15
16
  /** 实例配置、业务索引和各 Sheet 的响应式状态;数据只由下方 Store 持有 */
16
17
  context: RuntimeInstanceContext;
@@ -23,6 +24,8 @@ export interface RuntimeInstanceRecord {
23
24
  ruleCompiler?: RuntimeRuleCompiler;
24
25
  /** 业务默认值随实例及动态行初始化,不依赖控件挂载。 */
25
26
  fieldInitializer?: RuntimeFieldInitializer;
27
+ /** 整份表单共享的数源管理器;字段事件通过当前实例取用。 */
28
+ dataSourceManager?: DataSourceManager;
26
29
  /** 实例唯一的数据写入口,生成 revision、dirty 和字段变更路径 */
27
30
  formState: RuntimeFormStateStore;
28
31
  /** 整份表单共享的脚本执行器,字段通过运行时记录调用,销毁由注册表负责。 */
@@ -71,10 +74,7 @@ export declare class RuntimeInstanceRegistry {
71
74
  loading: boolean;
72
75
  error: Error | undefined;
73
76
  }>;
74
- /**
75
- * 顶层对象使用浅响应式:实例新增、删除需要驱动 Vue 更新;record 内的服务类
76
- * 不需要被 Vue 深度代理,各自内部负责自己的响应式状态和生命周期
77
- */
77
+ /** 顶层容器和记录都只做浅响应式;服务类仍保持原始引用。 */
78
78
  private readonly records;
79
79
  /**
80
80
  * 统一托管订阅、watch 和编译结果的取消函数
@@ -87,7 +87,7 @@ export declare class RuntimeInstanceRegistry {
87
87
  * 此方法只创建实例级基础设施,不负责请求模板和业务数据。相同 uniqueId
88
88
  * 再次注册时会先完整销毁旧记录,确保不会残留订阅或异步任务
89
89
  */
90
- register(context: RuntimeInstanceContext, options: RegisterRuntimeInstanceOptions): RuntimeInstanceRecord;
90
+ register(context: RuntimeInstanceContext, options: RegisterRuntimeInstanceOptions): import('vue').ShallowReactive<RuntimeInstanceRecord>;
91
91
  /**
92
92
  * 在页面回调准备完成后挂载实例控制器
93
93
  * Sheet 服务的导航入口依赖控制器切换 Sheet,所以两者必须在这里建立连接
@@ -106,6 +106,8 @@ export declare namespace BaseCoreComponent {
106
106
  * 组件依赖
107
107
  */
108
108
  componentDependency?: DisplayProps;
109
+ /** 字段值变化时查询的数源 KEY。 */
110
+ valueChangeDataSourceKeys?: string[];
109
111
  /** 是否是物料消耗表的字段 */
110
112
  isMaterialConsumeField?: boolean;
111
113
  /** 自定义组件的绘制标记 */
@@ -13,8 +13,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
13
13
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
14
14
  "onSelected-change"?: ((value: DeviceInterconnectionResponse) => any) | undefined;
15
15
  }>, {
16
- modelValue: string;
17
16
  trigger: Array<"click" | "hover" | "contextmenu">;
17
+ modelValue: string;
18
18
  showColumns: Array<keyof DeviceLink.IDeviceLinkParams>;
19
19
  styleMode: "button" | "link";
20
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;