@gct-paas/excel 0.1.40-beta.26 → 0.1.40-beta.27

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 (94) hide show
  1. package/dist/{BaseComponent-ClKLQPlb.js → BaseComponent-B0s9C7u7.js} +2 -2
  2. package/dist/{VueVideoPlayer-D7buOU3g.js → VueVideoPlayer-BCGJs86_.js} +2 -2
  3. package/dist/{align-editor-BM2D1Kjn.js → align-editor-DBWdbAV_.js} +1 -1
  4. package/dist/{barcode-design-D8H2Bg9b.js → barcode-design-YdLnj4EK.js} +2 -2
  5. package/dist/base/index.es.js +183 -191
  6. package/dist/{diagonal-design-Ca9DW4R9.js → diagonal-design-vCovyGwZ.js} +2 -2
  7. package/dist/{dynamic-table-action-DPgnmGmu.js → dynamic-table-action-9oc6dkLz.js} +124 -214
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js} +729 -318
  9. package/dist/{edit.utils-CXmmCnxE-ogCEEMW7.js → edit.utils-CXmmCnxE-BvWz-8bv.js} +1 -1
  10. package/dist/excel.css +3 -3
  11. package/dist/{exceljs.min-BzSfyOeP.js → exceljs.min-Dp6PAQE9.js} +2 -2
  12. package/dist/{font-editor-tmQsLM86.js → font-editor-gcStnuue.js} +3 -3
  13. package/dist/{image-design-oRvqavKb.js → image-design-DJ3VRU2t.js} +2 -2
  14. package/dist/{index-D1KO6u1Z.js → index-2mRh7iFw.js} +45 -46
  15. package/dist/{index-Coz70NtU.js → index-7WwJSlNN.js} +2 -2
  16. package/dist/{index-D0PRNLPd.js → index-AmKjgww5.js} +1 -1
  17. package/dist/{index-B3_1mcU-.js → index-Avrz1-1F.js} +2 -2
  18. package/dist/{index-1GK0_6yB.js → index-B5AUi6i3.js} +1 -1
  19. package/dist/{index-61ZlwI2f.js → index-BCeR77y-.js} +2 -2
  20. package/dist/{index-DS7TSyjT.js → index-BHTcJLrz.js} +1 -1
  21. package/dist/{index-ZHmmTlG-.js → index-BYf9Fudx.js} +3 -3
  22. package/dist/{index-CMKlsuD6.js → index-BaCa0TgP.js} +2 -2
  23. package/dist/{index-eyK5xPX3.js → index-BsmHcJs3.js} +2 -2
  24. package/dist/{index-BVJENFMM.js → index-CFTsMiRR.js} +1 -1
  25. package/dist/{index-cBtITF-e.js → index-CFvLIeFl.js} +1 -1
  26. package/dist/{index-C5Bdrx4J.js → index-CLLc5Ob2.js} +1 -1
  27. package/dist/{index-CcC1xcOH.js → index-COOampHb.js} +1 -1
  28. package/dist/{index-CI051jjs.js → index-Ck06j4gn.js} +2 -2
  29. package/dist/{index-AU7rrK9g.js → index-Cl-QMM1R.js} +2 -2
  30. package/dist/{index-CHTrEvG1.js → index-CtEUzXVk.js} +2 -2
  31. package/dist/{index-DAuoR0-c.js → index-CzUGIYOv.js} +2 -2
  32. package/dist/{index-C8-IDtVr.js → index-D3ZQLjrQ.js} +2 -2
  33. package/dist/{index-C4txo2fg.js → index-D6eANpFX.js} +2 -2
  34. package/dist/{index-DvXsENIM.js → index-D90UOUAU.js} +3 -3
  35. package/dist/{index-DbuDWYlA.js → index-D9j3S6qI.js} +1 -1
  36. package/dist/{index-B_CDhpav.js → index-DIodi5gH.js} +4 -4
  37. package/dist/{index-BMUAwQmf.js → index-DPP4WDPc.js} +2 -2
  38. package/dist/{index-C4v0H4FC.js → index-DXqsUrWV.js} +3 -3
  39. package/dist/{index-CKyxWh-q.js → index-DnsZjDDh.js} +2 -2
  40. package/dist/{index-DLRVgGXr.js → index-Dzl5Ukft.js} +1 -1
  41. package/dist/{index-zJwCoxly.js → index-Mg-zrcwn.js} +2 -2
  42. package/dist/{index-DUrJEPXQ.js → index-agcLaGBj.js} +2 -2
  43. package/dist/{index-sEcLP8dk.js → index-cOcBl2Ga.js} +2 -2
  44. package/dist/{index-ZxBcNN-g.js → index-gWEP20xe.js} +3 -3
  45. package/dist/{index-nhC91wtN.js → index-iYYd2oH1.js} +3 -3
  46. package/dist/{index-3K7-At9-.js → index-sWtzbaDv.js} +3 -3
  47. package/dist/{index-IlasHrys.js → index-y3jt4BZe.js} +1 -1
  48. package/dist/index.es.js +2 -2
  49. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhmtOtIs.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B79l8Vcj.js} +1 -1
  50. package/dist/{pagination-design-Bh5sF0VU.js → pagination-design-BZZcBbIF.js} +2 -2
  51. package/dist/paper-widget-design-Coh8v5mV.js +4 -0
  52. package/dist/{print-runtime-instance-19OA8Ubq.js → print-runtime-instance-CV0WcU-Z.js} +1 -1
  53. package/dist/{print-snapshot-renderer-D5OUO3Sx.js → print-snapshot-renderer-hHd4ThE0.js} +3 -3
  54. package/dist/{qrcode-design-CkwIXxb_.js → qrcode-design-C8d7cE3K.js} +1 -1
  55. package/dist/{revo-grid.entry-CJ1rhBKH.js → revo-grid.entry-DSnc_nH1.js} +1 -1
  56. package/dist/{revogr-attribution_7.entry-Ba9MJ5p9.js → revogr-attribution_7.entry-D67ci-yw.js} +3 -3
  57. package/dist/{revogr-clipboard_3.entry--neB-vq8.js → revogr-clipboard_3.entry-C9h0dhAb.js} +2 -2
  58. package/dist/{revogr-data_4.entry-BcmetTvO.js → revogr-data_4.entry-DuuRVRex.js} +2 -2
  59. package/dist/{revogr-filter-panel.entry-jp8iD-xn.js → revogr-filter-panel.entry-BeIaYORN.js} +1 -1
  60. package/dist/seal-design-DfKie-Qg.js +4 -0
  61. package/dist/{serialnumber-design-LzvbjC79.js → serialnumber-design-wyJY14Fx.js} +1 -1
  62. package/dist/shared/index.es.js +25 -25
  63. package/dist/{single-field-drop-CEbaTw0-.js → single-field-drop-CA6EtCtR.js} +2 -2
  64. package/dist/{size-editor-CaFqQHeU.js → size-editor-lAn0ECzs.js} +1 -1
  65. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +3 -0
  66. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +3 -0
  67. package/dist/src/nocode-base/src/interface/render.d.ts +2 -1
  68. package/dist/src/nocode-base/src/interface/transform.d.ts +3 -0
  69. package/dist/src/nocode-base/src/runtime/designer-default-values.d.ts +23 -0
  70. package/dist/src/nocode-base/src/runtime/runtime-default-value-validation.d.ts +23 -0
  71. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +3 -0
  72. package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
  73. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +2 -2
  74. package/dist/src/shared/enum/field-type.d.ts +1 -1
  75. package/dist/{sub-table-factory-_1c-Dsu_.js → sub-table-factory-CwbQEPJq.js} +2 -2
  76. package/dist/{text-design-D5QIq5aE.js → text-design-Bv4PfeOW.js} +2 -2
  77. package/dist/{throttle-Cpk1LoGk-BMfNVrvD.js → throttle-Cpk1LoGk-BaXaGrUw.js} +1 -1
  78. package/dist/{timediff-design-B9m-zonK.js → timediff-design-CxT_O6R8.js} +1 -1
  79. package/dist/{trace-like-wrapper-C_NJVd6e.js → trace-like-wrapper-CGe5K_FN.js} +2 -2
  80. package/dist/{value-editor.vue_vue_type_style_index_0_lang-BpZAIeLC.js → value-editor.vue_vue_type_style_index_0_lang-CQTuzWX2.js} +2 -2
  81. package/dist/{widget-barcode-CDMJo5uk.js → widget-barcode-C83yiwNl.js} +4 -4
  82. package/dist/{widget-diagonal-D9AC_qNv.js → widget-diagonal-C-zD-MLy.js} +3 -3
  83. package/dist/{widget-image-DMiIjg8J.js → widget-image-DIcnWHn7.js} +4 -4
  84. package/dist/{widget-line-BwSO-GKu.js → widget-line-BnMezWy-.js} +2 -2
  85. package/dist/{widget-pagination-Buo5s7Xq.js → widget-pagination-QWM1Nmlo.js} +5 -5
  86. package/dist/{widget-power-D8HtIVO2.js → widget-power-DnqxPUmW.js} +3 -3
  87. package/dist/{widget-qrcode-XEY9m1Dj.js → widget-qrcode-PBnm6ehD.js} +3 -3
  88. package/dist/{widget-rangelimit-C9j1s6Md.js → widget-rangelimit-CDyYKHeg.js} +3 -3
  89. package/dist/{widget-serialnumber-B_IA4_De.js → widget-serialnumber-BwS-Ac9h.js} +1 -1
  90. package/dist/{widget-text-Bp0FEZa1.js → widget-text-COW-IQ1P.js} +5 -5
  91. package/dist/{widget-timediff-BlYRlDYp.js → widget-timediff-RpQcMPpb.js} +2 -2
  92. package/package.json +2 -2
  93. package/dist/paper-widget-design-DZrP96jp.js +0 -4
  94. package/dist/seal-design-DX7PP65G.js +0 -4
@@ -1,4 +1,4 @@
1
- import { t as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
1
+ import { t as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
2
2
  import "vue";
3
3
  import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
4
4
  import "dayjs";
@@ -1,10 +1,10 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
2
2
  import "vue";
3
3
  import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { A as AsyncGctOnlineComponents } from "./index-D1KO6u1Z.js";
7
+ import { A as AsyncGctOnlineComponents } from "./index-2mRh7iFw.js";
8
8
  class Tr {
9
9
  component = "tr";
10
10
  wrapperCmpConfig({ data, parent }) {
@@ -1,10 +1,10 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
7
+ import { B as BaseComponent } from "./BaseComponent-B0s9C7u7.js";
8
8
  class Timepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Timepicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,10 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
7
+ import { B as BaseComponent } from "./BaseComponent-B0s9C7u7.js";
8
8
  class Userpicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Userpicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,11 +1,11 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
8
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-C_NJVd6e.js";
7
+ import { B as BaseComponent } from "./BaseComponent-B0s9C7u7.js";
8
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CGe5K_FN.js";
9
9
  class AutoComplete extends BaseComponent {
10
10
  component = ComponentTypeEnum.AutoComplete;
11
11
  wrapperCmpConfig({ data }) {
@@ -1,11 +1,11 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
- import { i as normalizeSealDiameter } from "./dynamic-table-action-DPgnmGmu.js";
5
+ import { h as normalizeSealDiameter } from "./dynamic-table-action-9oc6dkLz.js";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
8
+ import { B as BaseComponent } from "./BaseComponent-B0s9C7u7.js";
9
9
  class Seal extends BaseComponent {
10
10
  component = ComponentTypeEnum.Seal;
11
11
  wrapperCmpConfig({ data }) {
@@ -1,7 +1,7 @@
1
1
  import { pick, has, cloneDeep, get } from "lodash-es";
2
- import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-D1KO6u1Z.js";
3
- import { k as isCellAutoLineBreak } from "./dynamic-table-action-DPgnmGmu.js";
4
- import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-2mRh7iFw.js";
3
+ import { j as isCellAutoLineBreak } from "./dynamic-table-action-9oc6dkLz.js";
4
+ import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
5
5
  import "vue";
6
6
  import "dayjs";
7
7
  import "@gct-paas/form-base";
@@ -1,5 +1,5 @@
1
1
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
3
  import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-D1KO6u1Z.js";
2
- import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhmtOtIs.js";
1
+ import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-2mRh7iFw.js";
2
+ import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B79l8Vcj.js";
3
3
  import { DataSources } from "@gct-paas/form-base";
4
4
  export {
5
5
  H as AiTmplEditor,
@@ -1,5 +1,5 @@
1
1
  import { createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, nextTick, watch, withCtx, withKeys, mergeProps, h, toRaw, withModifiers } from "vue";
2
- import { I as Icon, a0 as FormTypeEnum, ac as useNamespace, ad as _export_sfc, aG as FormDesignEnum, p as api, R as useModal, bM as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { I as Icon, a1 as FormTypeEnum, ad as useNamespace, ae as _export_sfc, aH as FormDesignEnum, p as api, U as useModal, bU as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
3
  import { isArray, cloneDeep, orderBy } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
@@ -1,10 +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_8710052f_lang-BUKMwvFf.js";
2
+ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { j as calcText } from "./index-D1KO6u1Z.js";
7
+ import { j as calcText } from "./index-2mRh7iFw.js";
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "pagination-design",
10
10
  props: {
@@ -0,0 +1,4 @@
1
+ import { k as _sfc_main } from "./index-2mRh7iFw.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-D1KO6u1Z.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-2mRh7iFw.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 { Z as RuntimeFormStateStore, $ as RuntimeInstanceRegistry, T as NCB_PROVIDE } from "./dynamic-table-action-DPgnmGmu.js";
3
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-_1c-Dsu_.js";
4
- import { _ as _sfc_main$1 } from "./index-D1KO6u1Z.js";
2
+ import { X as RuntimeFormStateStore, Z as RuntimeInstanceRegistry, R as NCB_PROVIDE } from "./dynamic-table-action-9oc6dkLz.js";
3
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-CwbQEPJq.js";
4
+ import { _ as _sfc_main$1 } from "./index-2mRh7iFw.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-D1KO6u1Z.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-2mRh7iFw.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 { df as registerInstance, dg as createEvent, dh as getColumnByProp, di as timeout, dj as getVisibleSourceItem, dk as getColumns, dl as rowTypes, dm as GroupingRowPlugin, dn as StretchColumn, dp as isStretchPlugin, dq as AutoSizeColumnPlugin, dr as FilterPlugin, ds as ExportFilePlugin, dt as SortingPlugin, du as ColumnMovePlugin, dv as ThemeService, dw as h, dx as Host, dy as getElement, dz as BasePlugin, dA as reduce, dB as columnTypes, dC as debounce, dD as RESIZE_INTERVAL, dE as DimensionStore, dF as gatherTrimmedItems, dG as getColumnSizes, dH as getItemByIndex, dI as DataStore, dJ as getSourceItem, dK as getSourceItemVirtualIndexByProp, dL as getColumnType, dM as setSourceByPhysicalIndex, dN as setSourceByVirtualIndex, dO as SelectionStore, dP as cropCellToMax, dQ as nextCell, dR as isRowType, dS as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
1
+ import { dq as registerInstance, dr as createEvent, ds as getColumnByProp, dt as timeout, du as getVisibleSourceItem, dv as getColumns, dw as rowTypes, dx as GroupingRowPlugin, dy as StretchColumn, dz as isStretchPlugin, dA as AutoSizeColumnPlugin, dB as FilterPlugin, dC as ExportFilePlugin, dD as SortingPlugin, dE as ColumnMovePlugin, dF as ThemeService, dG as h, dH as Host, dI as getElement, dJ as BasePlugin, dK as reduce, dL as columnTypes, dM as debounce, dN as RESIZE_INTERVAL, dO as DimensionStore, dP as gatherTrimmedItems, dQ as getColumnSizes, dR as getItemByIndex, dS as DataStore, dT as getSourceItem, dU as getSourceItemVirtualIndexByProp, dV as getColumnType, dW as setSourceByPhysicalIndex, dX as setSourceByVirtualIndex, dY as SelectionStore, dZ as cropCellToMax, d_ as nextCell, d$ as isRowType, e0 as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.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 { df as registerInstance, dw as h, dx as Host, dg as createEvent, dJ as getSourceItem, dy as getElement, dX as ColumnService, dY as MOBILE_CLASS, dZ as SELECTION_BORDER_CLASS, d_ as getCellData, d$ as getCellEditor, e0 as getRange, e1 as isRangeSingleCell, e2 as codesLetter, dS as ViewportStore, dI as DataStore, e3 as calculateRowHeaderSize, e4 as ROW_HEADER_TYPE, e5 as getScrollbarSize, e6 as FOCUS_CLASS, dH as getItemByIndex, di as timeout, e7 as CELL_HANDLER_CLASS, dC as debounce, e8 as TMP_SELECTION_BG_CLASS, dD as RESIZE_INTERVAL, e9 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
1
+ import { dq as registerInstance, dG as h, dH as Host, dr as createEvent, dT as getSourceItem, dI as getElement, e5 as ColumnService, e6 as MOBILE_CLASS, e7 as SELECTION_BORDER_CLASS, e8 as getCellData, e9 as getCellEditor, ea as getRange, eb as isRangeSingleCell, ec as codesLetter, e0 as ViewportStore, dS as DataStore, ed as calculateRowHeaderSize, ee as ROW_HEADER_TYPE, ef as getScrollbarSize, eg as FOCUS_CLASS, dR as getItemByIndex, dt as timeout, eh as CELL_HANDLER_CLASS, dM as debounce, ei as TMP_SELECTION_BG_CLASS, dN as RESIZE_INTERVAL, ej as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.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-ogCEEMW7.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-BvWz-8bv.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-BMfNVrvD.js";
5
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BaXaGrUw.js";
6
6
  const Attribution = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
@@ -1,5 +1,5 @@
1
- import { di as timeout, df as registerInstance, dg as createEvent, dw as h, ea as EDIT_INPUT_WR, dx as Host, dy as getElement, dC as debounce, ed as DRAGG_TEXT, dJ as getSourceItem, e9 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
- import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-ogCEEMW7.js";
1
+ import { dt as timeout, dq as registerInstance, dr as createEvent, dG as h, ek as EDIT_INPUT_WR, dH as Host, dI as getElement, dM as debounce, en as DRAGG_TEXT, dT as getSourceItem, ej as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
2
+ import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-BvWz-8bv.js";
3
3
  class TextEditor {
4
4
  constructor(data, saveCallback) {
5
5
  this.data = data;
@@ -1,5 +1,5 @@
1
- import { ee as PSEUDO_GROUP_ITEM, ef as GROUP_EXPANDED, eg as GROUP_DEPTH, dw as h, eh as GROUP_EXPAND_BTN, ei as DATA_ROW, dJ as getSourceItem, ej as isGroupingColumn, ek as GROUP_COLUMN_PROP, el as getCellRaw, em as DATA_COL, en as CELL_CLASS, eo as Build, ep as isRowDragService, eq as DRAG_ICON_CLASS, er as DRAGGABLE_CLASS, es as getCellDataParsed, et as GROUP_EXPAND_EVENT, df as registerInstance, dg as createEvent, dX as ColumnService, eu as isGrouping, dx as Host, dy as getElement, dH as getItemByIndex, ev as HEADER_ROW_CLASS, ew as HEADER_ACTUAL_ROW_CLASS, ex as ROW_FOCUSED_CLASS, ey as HEADER_SORTABLE_CLASS, ez as MIN_COL_SIZE, e6 as FOCUS_CLASS, eA as FilterButton, eB as HeaderCellRenderer, eC as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
- import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BMfNVrvD.js";
1
+ import { eo as PSEUDO_GROUP_ITEM, ep as GROUP_EXPANDED, eq as GROUP_DEPTH, dG as h, er as GROUP_EXPAND_BTN, es as DATA_ROW, dT as getSourceItem, et as isGroupingColumn, eu as GROUP_COLUMN_PROP, ev as getCellRaw, ew as DATA_COL, ex as CELL_CLASS, ey as Build, ez as isRowDragService, eA as DRAG_ICON_CLASS, eB as DRAGGABLE_CLASS, eC as getCellDataParsed, eD as GROUP_EXPAND_EVENT, dq as registerInstance, dr as createEvent, e5 as ColumnService, eE as isGrouping, dH as Host, dI as getElement, dR as getItemByIndex, eF as HEADER_ROW_CLASS, eG as HEADER_ACTUAL_ROW_CLASS, eH as ROW_FOCUSED_CLASS, eI as HEADER_SORTABLE_CLASS, eJ as MIN_COL_SIZE, eg as FOCUS_CLASS, eK as FilterButton, eL as HeaderCellRenderer, eM as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
2
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BaXaGrUw.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 { df as registerInstance, dg as createEvent, dC as debounce, dw as h, dT as AndOrButton, dU as ReorderButton, dV as TrashButton, dW as isFilterBtn, dx as Host, dy as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
1
+ import { dq as registerInstance, dr as createEvent, dM as debounce, dG as h, e1 as AndOrButton, e2 as ReorderButton, e3 as TrashButton, e4 as isFilterBtn, dH as Host, dI as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.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-2mRh7iFw.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 { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.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 { aO, aH, x, cz, N, aP, aQ, cA, aw, ay, F, $, ai, M, aG, bp, b8, cB, ax, T, cC, _, Z, bq, ae, Y } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
- import { O, _ as _2, P, S, V, u } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhmtOtIs.js";
1
+ import { aP, aI, x, cJ, Q, aQ, aR, cK, ax, az, F, a0, aj, N, aH, br, b9, cL, ay, T, cM, $, _, bs, af, Z } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
2
+ import { O, _ as _2, P, S, V, u } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B79l8Vcj.js";
3
3
  var Platform = /* @__PURE__ */ ((Platform2) => {
4
4
  Platform2["WEB"] = "web";
5
5
  Platform2["MOBILE"] = "mobile";
@@ -49,44 +49,44 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
49
49
  return GctMqttTopsEnum2;
50
50
  })(GctMqttTopsEnum || {});
51
51
  export {
52
- aO as ASSIGNMENTSTRATEGY_ENUM,
53
- aH as BASIC_FIELD_TYPES,
52
+ aP as ASSIGNMENTSTRATEGY_ENUM,
53
+ aI as BASIC_FIELD_TYPES,
54
54
  x as BUSINESS_FIELD_TYPES,
55
55
  ButtonOpeEnum,
56
56
  ButtonSize,
57
57
  ButtonStyle,
58
58
  ButtonType,
59
59
  ButtonType_vant,
60
- cz as CardControlEnum,
61
- N as CreateType,
62
- aP as Dependency_ENUM,
63
- aQ as EntityModelCategoryEnum,
64
- cA as EntityModelTypeEnum,
65
- aw as ExpressionModeEnum,
66
- ay as ExpressionTabEnum,
60
+ cJ as CardControlEnum,
61
+ Q as CreateType,
62
+ aQ as Dependency_ENUM,
63
+ aR as EntityModelCategoryEnum,
64
+ cK as EntityModelTypeEnum,
65
+ ax as ExpressionModeEnum,
66
+ az as ExpressionTabEnum,
67
67
  F as FIELD_TYPE,
68
- $ as FieldDefaultValueTypeEnum,
69
- ai as FieldIconMap,
70
- M as FieldTypeToJs,
71
- aG as FormDesignEnum,
72
- bp as FormulaRuleFieldKeyEnum,
68
+ a0 as FieldDefaultValueTypeEnum,
69
+ aj as FieldIconMap,
70
+ N as FieldTypeToJs,
71
+ aH as FormDesignEnum,
72
+ br as FormulaRuleFieldKeyEnum,
73
73
  GctMqttTopsEnum,
74
74
  O as OnlineFormModelModal,
75
75
  _2 as OnlineFormModelSelect,
76
76
  Platform,
77
77
  P as ProductTypeEnum,
78
- b8 as ProductionIdentificationTypeEnum,
79
- cB as RecordNoGenerateEnum,
80
- ax as ReturnTypeEnum,
78
+ b9 as ProductionIdentificationTypeEnum,
79
+ cL as RecordNoGenerateEnum,
80
+ ay as ReturnTypeEnum,
81
81
  S as SEARCH_SEVICE,
82
82
  SignatureTypeEnum,
83
83
  T as TRACE_FIELD_TYPES,
84
- cC as TagTypeEnum,
85
- _ as UniqueConstraintType,
84
+ cM as TagTypeEnum,
85
+ $ as UniqueConstraintType,
86
86
  V as VersionSelect,
87
- Z as WAREHOUSE_FIELD_TYPES,
88
- bq as formulaRuleFieldDict,
89
- ae as normalizeFieldType,
90
- Y as onlineFormMasterModelTypeEnum,
87
+ _ as WAREHOUSE_FIELD_TYPES,
88
+ bs as formulaRuleFieldDict,
89
+ af as normalizeFieldType,
90
+ Z as onlineFormMasterModelTypeEnum,
91
91
  u as useWebUpload
92
92
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
- import { ac as useNamespace, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
3
- import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-D1KO6u1Z.js";
2
+ import { ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
+ import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-2mRh7iFw.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "single-field-drop",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
2
- import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
3
  const _hoisted_1 = { class: "row" };
4
4
  const _hoisted_2 = { class: "row mt-6px" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -2,12 +2,14 @@ import { RenderModeEnum, FormTypeEnum, PlatformEnum } from '../../constant';
2
2
  import { RuntimeFormStateStore, RuntimeInstanceRegistry, RuntimeInstanceRecord } from '../../runtime';
3
3
  import { IProps, IPayload, RuntimeInstanceSource, RuntimeSelfInfo } from './types';
4
4
  import { useMaterialBalance } from '../material-balance/useMaterialBalance';
5
+ import { DesignerDefaultValues } from '../../runtime/designer-default-values';
5
6
  export declare function createRuntimeInstanceInitializer(props: IProps, payload: IPayload, getConsumeData: ReturnType<typeof useMaterialBalance>['getConsumeData']): (id: string, result: RuntimeInstanceSource, options?: {
6
7
  initializeValues?: boolean;
7
8
  }) => Promise<{
8
9
  runtimeContext: import('../..').RuntimeInstanceContext;
9
10
  runtimeFormStateStore: RuntimeFormStateStore;
10
11
  runtimeFieldMetadata: import('../..').RuntimeFieldMetadata;
12
+ defaultValueOrigins: DesignerDefaultValues;
11
13
  scriptRunner: any;
12
14
  basicInfo: {
13
15
  key: string;
@@ -45,6 +47,7 @@ export declare function createRuntimeInstanceInitializer(props: IProps, payload:
45
47
  paramsConfig: Record<string, any> | undefined;
46
48
  businessType: any;
47
49
  instanceStatus: any;
50
+ dataStatus: any;
48
51
  };
49
52
  selfInfo: RuntimeSelfInfo;
50
53
  } | undefined>;
@@ -89,6 +89,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
89
89
  paramsConfig?: Record<string, any> | undefined;
90
90
  businessType?: string | undefined;
91
91
  instanceStatus?: string | undefined;
92
+ dataStatus?: string | undefined;
92
93
  }[], IBasicInfoItem[] | {
93
94
  key: string;
94
95
  tid: string;
@@ -132,6 +133,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
132
133
  paramsConfig?: Record<string, any> | undefined;
133
134
  businessType?: string | undefined;
134
135
  instanceStatus?: string | undefined;
136
+ dataStatus?: string | undefined;
135
137
  }[]>;
136
138
  selfInfoList: import('vue').Ref<{
137
139
  [x: string]: any;
@@ -200,6 +202,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
200
202
  paramsConfig?: Record<string, any> | undefined;
201
203
  businessType?: string | undefined;
202
204
  instanceStatus?: string | undefined;
205
+ dataStatus?: string | undefined;
203
206
  } | undefined;
204
207
  updateRenderModeType: (uniqueId: string, mode: import('..').RenderModeEnum, updateButton?: boolean) => Promise<void>;
205
208
  setFromEditStatus: (uniqueId: string) => Promise<boolean>;
@@ -91,8 +91,9 @@ export declare const renderUtils: {
91
91
  /** 提前设置值给widget */
92
92
  setRequestInfo2DataCenter: (dataCenters: any, modelKeys: any, platformType: any, isMockReport: any, formType: FormTypeEnum, paramsConfig: any, useSignFields: any, useClsReasonDataLink: any, useClsGroupDataLink: any, tmplBomC: FormTmplBomController, modelQueries: any) => Promise<void>;
93
93
  /** 获取默认值集合 */
94
- getDefaultValueMapByField: ({ defaultValueFields, objectProductDefaults, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
94
+ getDefaultValueMapByField: ({ defaultValueFields, onDesignerDefault, objectProductDefaults, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
95
95
  defaultValueFields: any;
96
+ onDesignerDefault?: ((field: any, value: unknown) => void) | undefined;
96
97
  objectProductDefaults?: WeakMap<object, ObjectProductDefault> | undefined;
97
98
  mainMaterialNo?: undefined;
98
99
  mainRelatedLotNo?: undefined;
@@ -1,6 +1,7 @@
1
1
  import { RenderModeEnum } from '../constant';
2
2
  import { ICheckTableConfig } from './front-config';
3
3
  import { SubTableCoreFactory } from '../core/factory/sub-table-factory';
4
+ import { DesignerDefaultValues } from '../runtime/designer-default-values';
4
5
  import { RuntimeTableRelation } from '../runtime/table-row-identity';
5
6
  /** 将源数据转换为子表数据 */
6
7
  declare function transformSourceData2SubTable(data: any, dict?: {},
@@ -22,6 +23,7 @@ export declare const transformUtils: {
22
23
  getSubTableInfo: (paper: any) => any;
23
24
  /** 获取默认值 */
24
25
  getDefaultData: (payload: {
26
+ defaultValueOrigins?: DesignerDefaultValues;
25
27
  /** 默认值数据 */
26
28
  defaultDataMap: any;
27
29
  /** 子表信息 */
@@ -108,6 +110,7 @@ export declare const transformUtils: {
108
110
  }) => any;
109
111
  /** 转换formState */
110
112
  conversionFormState: (payload: {
113
+ defaultValueOrigins?: DesignerDefaultValues;
111
114
  /** 默认值数据 */
112
115
  defaultData: any;
113
116
  /** 参数数据 */
@@ -0,0 +1,23 @@
1
+ /** 仅未填报时允许清理;新版 UNFILLED 也可能固定返回 dataStatus=SUBMIT。 */
2
+ export declare function canClearDesignerDefaults(status: {
3
+ instanceStatus?: string;
4
+ dataStatus?: string;
5
+ }): boolean;
6
+ /** 只记录本次确实由设计器默认值初始化的位置,不把相同的历史值当成默认值。 */
7
+ export declare class DesignerDefaultValues {
8
+ readonly values: Record<string, Record<string, unknown>>;
9
+ private readonly applied;
10
+ private appliedRows?;
11
+ add(subFieldKey: string | undefined, field: string, value: unknown): void;
12
+ private key;
13
+ captureRow(row: Record<string, any>, subFieldKey?: string, overrides?: Record<string, any>): void;
14
+ capture(state: Record<string, any>): void;
15
+ /** 转换及合并结束后绑定真实运行时对象,替换成同 ID、同值的新行也不再算旧默认值。 */
16
+ bindRuntimeRows(state: Record<string, any>): void;
17
+ has(row: Record<string, any>, subFieldKey: string | undefined, field: string): boolean;
18
+ owns(row: Record<string, any>, subFieldKey: string | undefined, field: string): boolean;
19
+ revoke(row: Record<string, any>, subFieldKey: string | undefined, field: string): void;
20
+ /** 后续数据源显式提供同一个值也算覆盖,不能仅比较最终值是否相等。 */
21
+ excludeOverrides(target: Record<string, any>, source: any, subFieldKey?: string): void;
22
+ clear(): void;
23
+ }
@@ -0,0 +1,23 @@
1
+ import { IBasicInfoItem } from '../types';
2
+ import { DesignerDefaultValues } from './designer-default-values';
3
+ import { RuntimeInstanceRecord } from './runtime-instance-registry';
4
+ /** 只清理本次实际采用的失效设计器默认值,覆盖未挂载 Sheet 和动态行。 */
5
+ export declare class RuntimeDefaultValueValidation {
6
+ private readonly record;
7
+ private readonly info;
8
+ readonly defaults: DesignerDefaultValues;
9
+ private disposed;
10
+ private scheduled;
11
+ /** 同一实例中,相同引用记录的查询结果可供不同 Sheet 和行复用。 */
12
+ private readonly requests;
13
+ private readonly stops;
14
+ constructor(record: RuntimeInstanceRecord, info: IBasicInfoItem, defaults: DesignerDefaultValues);
15
+ private targets;
16
+ private queryDefault;
17
+ /** 后台检查不加入页面准备、草稿或提交的等待链路。 */
18
+ requestCheck(): void;
19
+ private schedule;
20
+ private isEnabled;
21
+ initialize(): Promise<void>;
22
+ dispose(): void;
23
+ }
@@ -1,4 +1,5 @@
1
1
  import { RuntimeFieldInitializer } from './runtime-field-initializer';
2
+ import { RuntimeDefaultValueValidation } from './runtime-default-value-validation';
2
3
  import { RuntimeValidationService } from './runtime-validation-service';
3
4
  import { RuntimeInstanceContext } from './runtime-context';
4
5
  import { RuntimeInstanceController } from './runtime-instance-controller';
@@ -24,6 +25,8 @@ export interface RuntimeInstanceRecord {
24
25
  ruleCompiler?: RuntimeRuleCompiler;
25
26
  /** 业务默认值随实例及动态行初始化,不依赖控件挂载。 */
26
27
  fieldInitializer?: RuntimeFieldInitializer;
28
+ /** 设计器默认值的独立业务查询,不参与提交拦截。 */
29
+ defaultValueValidation?: RuntimeDefaultValueValidation;
27
30
  /** 整份表单共享的数源管理器;字段事件通过当前实例取用。 */
28
31
  dataSourceManager?: DataSourceManager;
29
32
  /** 实例唯一的数据写入口,生成 revision、dirty 和字段变更路径 */
@@ -381,6 +381,8 @@ export interface IBasicInfoItem {
381
381
  businessType?: string;
382
382
  /** 实例状态 */
383
383
  instanceStatus?: string;
384
+ /** 旧接口的填报数据状态;已有暂存、提交数据均保留。 */
385
+ dataStatus?: string;
384
386
  }
385
387
  export interface ICellBorder {
386
388
  left?: boolean;
@@ -2162,9 +2162,8 @@ export declare function useSpreadSheet(): {
2162
2162
  addFloatingSeal: (data: IBindField, position?: SealPosition) => {
2163
2163
  id: any;
2164
2164
  fieldMeta: {
2165
- fieldType: FIELD_TYPE;
2166
- bizType: FIELD_TYPE;
2167
2165
  field?: string;
2166
+ fieldType?: FIELD_TYPE;
2168
2167
  model?: string;
2169
2168
  modelLink?: string;
2170
2169
  fieldLink?: string;
@@ -2175,6 +2174,7 @@ export declare function useSpreadSheet(): {
2175
2174
  createType?: CreateType;
2176
2175
  refModelKey?: string;
2177
2176
  belongingObject?: string;
2177
+ bizType?: string;
2178
2178
  };
2179
2179
  fieldWidget: CellWidget.Seal;
2180
2180
  layout: SealPosition;
@@ -171,7 +171,7 @@ export declare enum FIELD_TYPE {
171
171
  * 签名
172
172
  */
173
173
  SIGNATURE = "electronic_signature",
174
- /** 印章,存储 type=text、bizType=seal */
174
+ /** 印章,存储 type=seal、bizType=seal */
175
175
  SEAL = "seal",
176
176
  /**
177
177
  * 表单模板、在线表单模板
@@ -1,6 +1,6 @@
1
1
  import { shallowReactive } from "vue";
2
- import { b2 as SubTableActionMenuTypeEnum, b3 as getMenuByAction, b4 as SubTableActionEnum, b5 as resolveScanFillData, aJ as SubTableCore, b6 as buildDefaultMapFromProfile, b7 as buildFieldStatusFromProfile, b8 as getRowHandlersForFieldChange, b9 as getInsertSubMenu, ba as resolveScanAdjustType, bb as resolveScanQty, bc as toDateOnly, bd as hasSubtableBusinessData, be as getCopySubMenu, bf as resolveScanParsedValue, bg as isProductBatchEmptyRow } from "./dynamic-table-action-DPgnmGmu.js";
3
- import { p as api, cD as F$1, aR as resolveLotDisplayLabel, cE as FILL_FROM_TARGET_PRODUCT_OPTION, b3 as resolveLotRecordByValue, b8 as ProductionIdentificationTypeEnum, b1 as buildLotSnListQuery, cF as F$2, cG as SCAN_ROW_CONTENT_FIELDS, cH as F$3, cI as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cJ as F$4, cK as F$5, cL as FILL_FROM_SOURCE_PRODUCT_OPTION, cM as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cN as FILL_FROM_INVENTORY_OPTION, cO as FILL_FROM_PART_OPTION, cP as FILL_FROM_INVENTORY_OPTION$1, cQ as TABLE_TYPE, cR as FILL_FROM_INVENTORY_OPTION$2, be as F$6, cS as INVENTORY_BASE_FIELDS, cT as resolveGroupByWarehouse, cU as AUTO_LOAD_READONLY_SELECT_FIELDS, bd as STOCKTAKE_DIMENSION, ba as getParseRuleInfo, cV as buildFillFromInventoryOption, b$ as calcFillData, cW as resolveStocktakeInventoryApi, bb as getParseRuleValue, cX as F$7, cY as FILL_FROM_INVENTORY_OPTION$3, cZ as LOCKED_INPUT_FIELDS, c5 as extractKeywordFromQueryData, c_ as composeProductionLotListQuery, c$ as F$8, d0 as isProductManuallyEditable, d1 as applyFillFromMfgOrderOption, d2 as applyFillFromOption$1, d3 as applyFillFromProductOption, d4 as mergeQueryFilters, d5 as composeMaterialLotListQuery, b0 as LOT_CONTAINER_ROLE, d6 as MATERIAL_CONTAINER_ID, d7 as F$9, d8 as PRODUCT_QUICK_SEARCH_FIELDS, d9 as PRODUCT_QUICK_SEARCH_EXP, da as isProductManuallyEditable$1, db as applyFillFromMaterialNoOption, dc as applyFillFromProductOption$1, dd as F$a, de as FILL_FROM_INVENTORY_OPTION$4, a0 as FormTypeEnum, d as getBusinessProfileByRefModelType, aM as transformUtils, h as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { aZ as SubTableActionMenuTypeEnum, a_ as getMenuByAction, a$ as SubTableActionEnum, b0 as resolveScanFillData, aE as SubTableCore, b1 as buildDefaultMapFromProfile, b2 as buildFieldStatusFromProfile, b3 as getRowHandlersForFieldChange, b4 as getInsertSubMenu, b5 as resolveScanAdjustType, b6 as resolveScanQty, b7 as toDateOnly, b8 as hasSubtableBusinessData, b9 as getCopySubMenu, ba as resolveScanParsedValue, bb as isProductBatchEmptyRow } from "./dynamic-table-action-9oc6dkLz.js";
3
+ import { p as api, cN as F$1, aS as resolveLotDisplayLabel, cO as FILL_FROM_TARGET_PRODUCT_OPTION, b4 as resolveLotRecordByValue, b9 as ProductionIdentificationTypeEnum, b2 as buildLotSnListQuery, cP as F$2, cQ as SCAN_ROW_CONTENT_FIELDS, cR as F$3, cS as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cT as F$4, cU as F$5, cV as FILL_FROM_SOURCE_PRODUCT_OPTION, cW as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cX as FILL_FROM_INVENTORY_OPTION, cY as FILL_FROM_PART_OPTION, cZ as FILL_FROM_INVENTORY_OPTION$1, c_ as TABLE_TYPE, c$ as FILL_FROM_INVENTORY_OPTION$2, bf as F$6, d0 as INVENTORY_BASE_FIELDS, d1 as resolveGroupByWarehouse, d2 as AUTO_LOAD_READONLY_SELECT_FIELDS, be as STOCKTAKE_DIMENSION, bb as getParseRuleInfo, d3 as buildFillFromInventoryOption, c7 as calcFillData, d4 as resolveStocktakeInventoryApi, bc as getParseRuleValue, d5 as F$7, d6 as FILL_FROM_INVENTORY_OPTION$3, d7 as LOCKED_INPUT_FIELDS, cd as extractKeywordFromQueryData, d8 as composeProductionLotListQuery, d9 as F$8, da as isProductManuallyEditable, db as applyFillFromMfgOrderOption, dc as applyFillFromOption$1, dd as applyFillFromProductOption, de as mergeQueryFilters, df as composeMaterialLotListQuery, b1 as LOT_CONTAINER_ROLE, dg as MATERIAL_CONTAINER_ID, dh as F$9, di as PRODUCT_QUICK_SEARCH_FIELDS, dj as PRODUCT_QUICK_SEARCH_EXP, dk as isProductManuallyEditable$1, dl as applyFillFromMaterialNoOption, dm as applyFillFromProductOption$1, dn as F$a, dp as FILL_FROM_INVENTORY_OPTION$4, a1 as FormTypeEnum, d as getBusinessProfileByRefModelType, aN as transformUtils, h as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
4
4
  import { has, merge } from "lodash-es";
5
5
  class RuntimeInstanceController {
6
6
  context;
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { X as PaperWidgeValueType, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
3
+ import { Y as PaperWidgeValueType, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { u as useSpreadSheet, h as useModelFields } from "./index-D1KO6u1Z.js";
7
+ import { u as useSpreadSheet, h as useModelFields } from "./index-2mRh7iFw.js";
8
8
  const _hoisted_1 = { class: "ws-pre-wrap" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "text-design",
@@ -1,5 +1,5 @@
1
1
  import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
2
- import { ec as isObject, dC as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { em as isObject, dM as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
3
  const initialParams = {
4
4
  contentSize: 0,
5
5
  clientSize: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
2
- import { ap as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { aq as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
@@ -1,10 +1,10 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { F as FIELD_TYPE, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
2
+ import { F as FIELD_TYPE, ba as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-D1KO6u1Z.js";
7
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-2mRh7iFw.js";
8
8
  function getTraceLikeSelectProps(data) {
9
9
  const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
10
10
  const displayFields = (() => {