@gct-paas/excel 0.1.39-beta.29 → 0.1.39-beta.30

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 (61) hide show
  1. package/dist/{BaseComponent-Bt8KO1WD.js → BaseComponent-BkwxLOiM.js} +1 -1
  2. package/dist/{barcode-design-f22h5xE2.js → barcode-design-D90bLWOL.js} +1 -1
  3. package/dist/base/index.es.js +6 -5
  4. package/dist/{diagonal-design-FEPdQGpe.js → diagonal-design-YbEx-5SA.js} +1 -1
  5. package/dist/{dynamic-table-action-BKM9zZqY.js → dynamic-table-action-DXlLVZZF.js} +13 -3
  6. package/dist/excel.css +54 -53
  7. package/dist/{exceljs.min-BfE-sDjt.js → exceljs.min-B-mYUB0l.js} +1 -1
  8. package/dist/{font-editor-Bf-VaEmp.js → font-editor-D0dV4bEL.js} +1 -1
  9. package/dist/{index-C7BnLUs0.js → index-8GDKkzhT.js} +1 -1
  10. package/dist/{index-4b_zmd--.js → index-B-hm9GED.js} +1 -1
  11. package/dist/{index-RMQb3vCw.js → index-BEkX75av.js} +1 -1
  12. package/dist/{index-xyk9rreq.js → index-Boj1Babg.js} +1 -1
  13. package/dist/{index-CtsG-9NE.js → index-C0gB21qk.js} +1 -1
  14. package/dist/{index-DsIcBixq.js → index-CHv965Bj.js} +1 -1
  15. package/dist/{index-q3hxfGie.js → index-CNSt1kk7.js} +1 -1
  16. package/dist/{index-DUUd0Usw.js → index-CVPJGks5.js} +1 -1
  17. package/dist/{index-CFGb44na.js → index-CfLLsSW6.js} +1 -1
  18. package/dist/{index-C47dbM-A.js → index-CiyvJops.js} +1 -1
  19. package/dist/{index-DUGANLFV.js → index-CrnlU1jr.js} +2 -2
  20. package/dist/{index-ChFJNbLP.js → index-D9BcQ25Q.js} +1 -1
  21. package/dist/{index-D7cdJ4mn.js → index-DZYpzeZM.js} +2 -2
  22. package/dist/{index-DNhXUzmG.js → index-DlfthBvr.js} +1 -1
  23. package/dist/{index-CH1jNr4L.js → index-DsS5smhd.js} +2 -2
  24. package/dist/{index-B8OmEjpw.js → index-DyLoooUC.js} +1 -1
  25. package/dist/{index-KqsdURwz.js → index-DzmKXFwH.js} +1 -1
  26. package/dist/{index-DDK4Q5RT.js → index-K9yUIBxc.js} +3 -3
  27. package/dist/{index-CWfeEiNz.js → index-VBBgqHqv.js} +2 -2
  28. package/dist/{index-CoPZZsUn.js → index-Zr4W3H4i.js} +1 -1
  29. package/dist/{index-CQDjECZz.js → index-jfKiyRsE.js} +74 -70
  30. package/dist/{index-C9Hi7Upt.js → index-lSMZmF7U.js} +1 -1
  31. package/dist/{index-Shsb4fDA.js → index-rDv1Pb8y.js} +1 -1
  32. package/dist/{index-CYytO1Ah.js → index-ulVZgzRz.js} +1 -1
  33. package/dist/index.es.js +1 -1
  34. package/dist/{pagination-design-BFJz_ggc.js → pagination-design-J5Xr1H6H.js} +1 -1
  35. package/dist/paper-widget-design-mppU2AMx.js +4 -0
  36. package/dist/{print-runtime-instance-BmsWIUi7.js → print-runtime-instance-CkGherFi.js} +1 -1
  37. package/dist/{print-snapshot-renderer-DlvRYxz0.js → print-snapshot-renderer-BxrmKmGQ.js} +3 -3
  38. package/dist/{qrcode-design-DaDg1oYJ.js → qrcode-design-DJciYm3W.js} +1 -1
  39. package/dist/seal-design-FsL7H3e7.js +4 -0
  40. package/dist/{single-field-drop-C3F3HNPH.js → single-field-drop-wg47buz7.js} +1 -1
  41. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +3 -1
  42. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +4 -0
  43. package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +8 -0
  44. package/dist/{sub-table-factory-DMShHWb0.js → sub-table-factory-DCjl5fld.js} +1 -1
  45. package/dist/{text-design-DjajF4Gy.js → text-design-BQqBHcG3.js} +1 -1
  46. package/dist/{trace-like-wrapper-BT7StEtK.js → trace-like-wrapper-BO9GpUUT.js} +1 -1
  47. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DSjv3Nza.js → value-editor.vue_vue_type_style_index_0_lang-NrJ6BC4L.js} +1 -1
  48. package/dist/{widget-barcode-kbOdtUF2.js → widget-barcode-CqFwMMNr.js} +2 -2
  49. package/dist/{widget-diagonal-DoREbuOz.js → widget-diagonal-Bv7rOoCE.js} +2 -2
  50. package/dist/{widget-image-ChiZ5SFh.js → widget-image-C7uAoxCn.js} +1 -1
  51. package/dist/{widget-line-CyL-Hb97.js → widget-line-DjEbtHhc.js} +1 -1
  52. package/dist/{widget-pagination-DQt43olR.js → widget-pagination-Dc4pC9a8.js} +2 -2
  53. package/dist/{widget-power-9brIGYcJ.js → widget-power-9LyPBlNG.js} +2 -2
  54. package/dist/{widget-qrcode-6y50nPsc.js → widget-qrcode-wY0Htp8v.js} +2 -2
  55. package/dist/{widget-rangelimit-sv9wVIiS.js → widget-rangelimit-CT9yqbbL.js} +2 -2
  56. package/dist/{widget-serialnumber-DEf6ikIT.js → widget-serialnumber-CChK8wrF.js} +1 -1
  57. package/dist/{widget-text-D9lnqEvK.js → widget-text-mWwms2HC.js} +3 -3
  58. package/dist/{widget-timediff-515fFUQh.js → widget-timediff-GSd_w8qO.js} +1 -1
  59. package/package.json +1 -1
  60. package/dist/paper-widget-design-DvsFfMI5.js +0 -4
  61. package/dist/seal-design-DsuZuKat.js +0 -4
@@ -1,4 +1,4 @@
1
- import { n as normalizeFieldWidth } from "./dynamic-table-action-BKM9zZqY.js";
1
+ import { n as normalizeFieldWidth } from "./dynamic-table-action-DXlLVZZF.js";
2
2
  import { get, pick } from "lodash-es";
3
3
  import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
4
4
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-CQDjECZz.js";
3
+ import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-jfKiyRsE.js";
4
4
  import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,12 +1,12 @@
1
1
  import { E as api, $ as PlatformEnum, F as FIELD_TYPE, bj as getRowId, bk as findRuntimeTableRow, b9 as RenderModeEnum, C as ComponentTypeEnum, bw as assembleRules, bx as isAttachFieldActive, aI as Dependency_ENUM, bl as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, by as fetchHistoryConsume, bz as isBomGranted, aW as renderUtils, bv as uuid2, bA as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bB as baseDataUtils, bC as initializeSealFields, Y as FormTypeEnum, bD as normalizeToArray, bE as safeParseArray, bF as BpmnNodeTypeEnum, bG as mergeByMultiKey, a8 as _export_sfc, bH as evaluateInspectionDecisionRule, bI as areValidationCommentsEqual, bJ as useNocodeEmitter, bK as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
2
2
  import { aO, aQ, b0, a1, bL, bM, B, bN, y, ai, bO, bP, bQ, bi, bR, aT, ay, aP, aM, aN, bS, aj, an, bT, bU, aG, a3, ah, az, aR, a0, al, L, bV, bW, bX, O, p, P, aa, o, Q, A, bY, bZ, ax, aw, a6, a2, a4, a5, a7, f, b_, am, aq, ak, b$, c0, c1, c2, bh, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, bm, cd, ce, aZ, cf, b1, b2, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, aY, cq, b3, bf, cr, cs, ct, ao, t, aS, cu, cv, bn, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
3
- import { P as getRuntimeDataFieldId, z as parseRuntimeFieldPath, Q as buildRuntimeFieldPath, T as resolveRuntimeFieldProps, U as resolveRuntimeFieldState, V as getRuntimeDependencyOutputKey, W as isRowAddedInCurrentFormChange, o as MaterialConsumptionPatternEnum, X as MaterialConsumeTableController, Y as setFormulaParamsConfig, Z as normalizeRuntime, H as createRuntimeInstanceContext, R as RuntimeFormStateStore, $ as RuntimeSheetService, g as getBusinessFieldKey, a0 as validateObjectBomQtyOnSubmit, a1 as closeValidatorPopovers, a2 as enrichFormChangeRowDetails, N as NCB_PROVIDE, I as RuntimeInstanceRegistry, a3 as useMaterialBalance, a4 as collectFormChangeFieldLocations, a5 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-BKM9zZqY.js";
4
- import { B as B2, a6 as a62, e, _, a7 as a72, L as L2, a8, O as O2, E, a9, aa as aa2, ab, ac, ad, M, a, ae, b, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, w, an as an2, m, ao as ao2, c, ap, aq as aq2, ar, as, l, x, at, au, av, aw as aw2, f as f2, y as y2, d, ax as ax2, ay as ay2, az as az2, aA, aB, aC, p as p2, r, aD, q, j, aE, s, aF, C, F, u, t as t2, G, i, k, A as A2, h, v } from "../dynamic-table-action-BKM9zZqY.js";
3
+ import { P as getRuntimeDataFieldId, z as parseRuntimeFieldPath, Q as buildRuntimeFieldPath, T as resolveRuntimeFieldProps, U as resolveRuntimeFieldState, V as getRuntimeDependencyOutputKey, W as isRowAddedInCurrentFormChange, o as MaterialConsumptionPatternEnum, X as MaterialConsumeTableController, Y as setFormulaParamsConfig, Z as normalizeRuntime, H as createRuntimeInstanceContext, R as RuntimeFormStateStore, $ as RuntimeSheetService, g as getBusinessFieldKey, a0 as validateObjectBomQtyOnSubmit, a1 as closeValidatorPopovers, a2 as enrichFormChangeRowDetails, N as NCB_PROVIDE, I as RuntimeInstanceRegistry, a3 as useMaterialBalance, a4 as collectFormChangeFieldLocations, a5 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-DXlLVZZF.js";
4
+ import { B as B2, a6 as a62, e, _, a7 as a72, L as L2, a8, O as O2, E, a9, aa as aa2, ab, ac, ad, M, a, ae, b, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, w, an as an2, m, ao as ao2, c, ap, aq as aq2, ar, as, l, x, at, au, av, aw as aw2, f as f2, y as y2, d, ax as ax2, ay as ay2, az as az2, aA, aB, aC, p as p2, r, aD, q, j, aE, s, aF, C, F, u, t as t2, G, i, k, A as A2, h, v } from "../dynamic-table-action-DXlLVZZF.js";
5
5
  import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, ref, provide, onUnmounted, markRaw, reactive, onBeforeUnmount } from "vue";
6
6
  import { cloneDeep, defaults, isEmpty, merge } from "lodash-es";
7
7
  import "dayjs";
8
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DMShHWb0.js";
9
- import { A as A3, D, M as M2, a as a10, P as P2, b as b4, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-DMShHWb0.js";
8
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DCjl5fld.js";
9
+ import { A as A3, D, M as M2, a as a10, P as P2, b as b4, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-DCjl5fld.js";
10
10
  import { B as B3, F as F2, M as M3, a as a11, u as u2 } from "../mb-render-Dc2J-VKn.js";
11
11
  const InstanceStatusValues = {
12
12
  /** 作废状态 */
@@ -1220,13 +1220,14 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1220
1220
  let runtimeFormStateStore;
1221
1221
  let scriptRunner;
1222
1222
  try {
1223
- const normalizedRuntime = normalizeRuntime(selfInfo?.runtimeJson || "{}");
1223
+ const normalizedRuntime = normalizeRuntime(selfInfo?.runtimeJson || "{}", selfInfo.formType);
1224
1224
  const tid = result.tid;
1225
1225
  const uniqueId = `${tid}_${uuid2(8)}`;
1226
1226
  const runtimeContext = createRuntimeInstanceContext({
1227
1227
  uniqueId,
1228
1228
  instanceId: id,
1229
1229
  templateId: tid,
1230
+ formType: selfInfo.formType,
1230
1231
  runtime: normalizedRuntime,
1231
1232
  defaultData: {}
1232
1233
  });
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { h as useModelFields, D as Diagonal } from "./index-CQDjECZz.js";
2
+ import { h as useModelFields, D as Diagonal } from "./index-jfKiyRsE.js";
3
3
  import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
@@ -985,7 +985,7 @@ function normalizeSheetMetadata(sheet) {
985
985
  };
986
986
  return { ...sheet, paper, nodes, dataCenter: { [ComponentTypeEnum.PAPER]: paper, ...nodes } };
987
987
  }
988
- function normalizeRuntime(runtime) {
988
+ function normalizeRuntime(runtime, formType) {
989
989
  if (typeof runtime === "string") {
990
990
  if (!runtime.trim()) throw new Error("运行时数据不能为空");
991
991
  try {
@@ -996,7 +996,16 @@ function normalizeRuntime(runtime) {
996
996
  }
997
997
  assertObject(runtime, "运行时数据格式无效");
998
998
  if (runtime.schemaVersion == null || runtime.schemaVersion === 1) {
999
- const normalized = convertV1Runtime(runtime);
999
+ const legacyRuntime = formType === FormTypeEnum.FILE && runtime[ComponentTypeEnum.PAPER] == null ? {
1000
+ ...runtime,
1001
+ [ComponentTypeEnum.PAPER]: {
1002
+ id: ComponentTypeEnum.PAPER,
1003
+ component: ComponentTypeEnum.PAPER,
1004
+ props: {},
1005
+ nextIds: []
1006
+ }
1007
+ } : runtime;
1008
+ const normalized = convertV1Runtime(legacyRuntime);
1000
1009
  normalized.sheets.forEach(validateSheetGraph);
1001
1010
  return { ...normalized, sheets: normalized.sheets.map(normalizeSheetMetadata) };
1002
1011
  }
@@ -1133,6 +1142,7 @@ function createRuntimeInstanceContext(options) {
1133
1142
  uniqueId: options.uniqueId,
1134
1143
  instanceId: options.instanceId,
1135
1144
  templateId: options.templateId,
1145
+ formType: options.formType,
1136
1146
  schemaVersion: options.runtime.schemaVersion,
1137
1147
  formConfig: options.runtime.formConfig,
1138
1148
  defaultData: options.defaultData,
@@ -1222,7 +1232,7 @@ class RuntimeSheetService {
1222
1232
  this.calculatingDepth += 1;
1223
1233
  let succeeded = false;
1224
1234
  try {
1225
- const pageData = RuntimeSheetService.calculatePages(sheet.dataCenter, this.formState.state);
1235
+ const pageData = this.context.formType === FormTypeEnum.FILE ? [] : RuntimeSheetService.calculatePages(sheet.dataCenter, this.formState.state);
1226
1236
  this.assertAlive();
1227
1237
  sheet.pageData = pageData;
1228
1238
  sheet.paginationError = void 0;
package/dist/excel.css CHANGED
@@ -15678,16 +15678,16 @@ div.vxe-table--tooltip-wrapper.vxe-table--valid-error.old-cell-valid {
15678
15678
  color: #a6a6a6;
15679
15679
  font-size: 12px;
15680
15680
  }
15681
- .quick-search-editor[data-v-5dfae584] .ant-select.ant-select-multiple .ant-select-selector {
15681
+ .quick-search-editor[data-v-a7cd5f4e] .ant-select.ant-select-multiple .ant-select-selector {
15682
15682
  padding-right: 48px;
15683
15683
  }
15684
- .quick-search-editor[data-v-5dfae584] .ant-select.ant-select-multiple .ant-select-selection-overflow-item-rest {
15684
+ .quick-search-editor[data-v-a7cd5f4e] .ant-select.ant-select-multiple .ant-select-selection-overflow-item-rest {
15685
15685
  pointer-events: none;
15686
15686
  }
15687
- .quick-search-editor[data-v-5dfae584] .ant-select.ant-select-multiple .ant-select-clear {
15687
+ .quick-search-editor[data-v-a7cd5f4e] .ant-select.ant-select-multiple .ant-select-clear {
15688
15688
  right: 28px;
15689
15689
  }
15690
- .quick-search-editor .editor-tip[data-v-5dfae584] {
15690
+ .quick-search-editor .editor-tip[data-v-a7cd5f4e] {
15691
15691
  margin-top: 4px;
15692
15692
  color: #a6a6a6;
15693
15693
  font-size: 12px;
@@ -22322,30 +22322,30 @@ svg[data-v-9a7c8184] {
22322
22322
  color: var(--ant-primary-color);
22323
22323
  cursor: pointer;
22324
22324
  }
22325
- .base-vxe-search-form-container[data-v-9187165e] {
22325
+ .base-vxe-search-form-container[data-v-cdb39cee] {
22326
22326
  height: 44px;
22327
22327
  }
22328
- .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-9187165e] {
22328
+ .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-cdb39cee] {
22329
22329
  height: 32px;
22330
22330
  border: none;
22331
22331
  background: #f6f8fa;
22332
22332
  }
22333
- .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-9187165e] .ant-input {
22333
+ .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-cdb39cee] .ant-input {
22334
22334
  background: #f6f8fa;
22335
22335
  }
22336
- .rdo-select-tree[data-v-0a2a138a] {
22336
+ .rdo-select-tree[data-v-9eb2ccbc] {
22337
22337
  min-width: 160px;
22338
22338
  max-width: 280px;
22339
22339
  }
22340
- .rdo-select-tree__search[data-v-0a2a138a] {
22340
+ .rdo-select-tree__search[data-v-9eb2ccbc] {
22341
22341
  padding: 8px 6px 4px;
22342
22342
  }
22343
- .rdo-select-tree__list[data-v-0a2a138a] {
22343
+ .rdo-select-tree__list[data-v-9eb2ccbc] {
22344
22344
  max-height: 280px;
22345
22345
  padding: 8px 6px;
22346
22346
  overflow-y: auto;
22347
22347
  }
22348
- .rdo-select-tree__default[data-v-0a2a138a] {
22348
+ .rdo-select-tree__default[data-v-9eb2ccbc] {
22349
22349
  height: 18px;
22350
22350
  margin-left: 6px;
22351
22351
  padding: 0 6px;
@@ -22355,13 +22355,13 @@ svg[data-v-9a7c8184] {
22355
22355
  font-size: 12px;
22356
22356
  line-height: 18px;
22357
22357
  }
22358
- .rdo-select-tree__loading[data-v-0a2a138a] {
22358
+ .rdo-select-tree__loading[data-v-9eb2ccbc] {
22359
22359
  padding: 8px 12px;
22360
22360
  color: #c3c3c3;
22361
22361
  font-size: 13px;
22362
22362
  text-align: center;
22363
22363
  }
22364
- .rdo-select-tree__empty[data-v-0a2a138a] {
22364
+ .rdo-select-tree__empty[data-v-9eb2ccbc] {
22365
22365
  display: flex;
22366
22366
  align-items: center;
22367
22367
  justify-content: center;
@@ -22369,12 +22369,12 @@ svg[data-v-9a7c8184] {
22369
22369
  color: #c3c3c3;
22370
22370
  font-size: 13px;
22371
22371
  }
22372
- .rdo-select-tree[data-v-0a2a138a] .ant-input-affix-wrapper {
22372
+ .rdo-select-tree[data-v-9eb2ccbc] .ant-input-affix-wrapper {
22373
22373
  border: none;
22374
22374
  border-radius: 4px;
22375
22375
  background: #f6f8fa;
22376
22376
  }
22377
- .rdo-select-tree[data-v-0a2a138a] .ant-input {
22377
+ .rdo-select-tree[data-v-9eb2ccbc] .ant-input {
22378
22378
  background: transparent;
22379
22379
  }
22380
22380
  .base-vxe-search-form-container[data-v-78042576] {
@@ -28891,111 +28891,112 @@ span.ant-input-group-addon:last-child {
28891
28891
  .ant-radio .ant-radio-inner {
28892
28892
  border-color: var(--gct-color-border);
28893
28893
  }
28894
- .widget-file-form-wrapper[data-v-bacf6fd3] {
28894
+ .widget-file-form-wrapper[data-v-44464593] {
28895
28895
  position: relative;
28896
28896
  width: 100%;
28897
28897
  height: 100%;
28898
28898
  overflow: hidden;
28899
28899
  font-size: 14px;
28900
28900
  }
28901
- .widget-file-form-container[data-v-bacf6fd3] {
28901
+ .widget-file-form-container[data-v-44464593] {
28902
+ position: relative;
28902
28903
  width: 100%;
28903
28904
  height: 100%;
28904
- position: relative;
28905
28905
  }
28906
- .widget-file-form-upload[data-v-bacf6fd3] {
28906
+ .widget-file-form-upload[data-v-44464593] {
28907
28907
  padding: 32px 64px;
28908
28908
  }
28909
28909
  /* 无 PDF 文件时占位 */
28910
- .no-pdf-placeholder[data-v-bacf6fd3] {
28910
+ .no-pdf-placeholder[data-v-44464593] {
28911
28911
  display: flex;
28912
28912
  align-items: center;
28913
28913
  justify-content: center;
28914
28914
  height: 100%;
28915
+ margin-top: 24px;
28915
28916
  color: #7f8c8d;
28916
28917
  font-size: 16px;
28917
28918
  }
28918
28919
  /* Upload 区域 */
28919
- [data-v-bacf6fd3] .widget-file-form-upload-dragger.ant-upload.ant-upload-drag {
28920
+ [data-v-44464593] .widget-file-form-upload-dragger.ant-upload.ant-upload-drag {
28920
28921
  background: #f7f8fa;
28921
28922
  }
28922
- [data-v-bacf6fd3] .widget-file-form-upload-dragger.ant-upload.ant-upload-drag .ant-upload {
28923
+ [data-v-44464593] .widget-file-form-upload-dragger.ant-upload.ant-upload-drag .ant-upload {
28923
28924
  padding: 40px 0;
28924
28925
  }
28925
- .widget-file-form-text[data-v-bacf6fd3] {
28926
- font-size: 16px;
28926
+ .widget-file-form-text[data-v-44464593] {
28927
28927
  margin-bottom: 8px;
28928
28928
  color: #2c3e50;
28929
+ font-size: 16px;
28929
28930
  }
28930
- .widget-file-form-hint[data-v-bacf6fd3] {
28931
+ .widget-file-form-hint[data-v-44464593] {
28931
28932
  color: #7f8c8d;
28932
28933
  font-size: 14px;
28933
28934
  }
28934
- .preview-area[data-v-bacf6fd3] {
28935
+ .preview-area[data-v-44464593] {
28935
28936
  position: relative;
28936
28937
  width: 100%;
28937
28938
  height: 100%;
28938
28939
  }
28939
28940
  /* 外层视口:确保内容居中,支持响应式缩放 */
28940
- .pdf-viewport[data-v-bacf6fd3] {
28941
+ .pdf-viewport[data-v-44464593] {
28942
+ box-sizing: border-box;
28941
28943
  width: 100%;
28942
28944
  height: 100%;
28943
- box-sizing: border-box;
28944
28945
  }
28945
28946
  /* 白纸容器:白底、有阴影、圆角、内边距作为“留白” */
28946
- .pdf-sheet[data-v-bacf6fd3] {
28947
+ .pdf-sheet[data-v-44464593] {
28947
28948
  --pad: 0px;
28949
+ position: relative;
28948
28950
  width: calc(100% - 2 * var(--pad));
28949
28951
  height: calc(100% - 2 * var(--pad));
28950
- background: #fff;
28951
28952
  overflow: hidden;
28952
- position: relative;
28953
+ background: #fff;
28953
28954
  }
28954
28955
  /* PDF 渲染区域(vite-pdf 或 iframe)占满纸张 */
28955
- .pdf-frame-embed[data-v-bacf6fd3] {
28956
- width: 100%;
28957
- height: 100%;
28958
- border: none;
28956
+ .pdf-frame-embed[data-v-44464593] {
28959
28957
  display: block;
28960
- /* padding: 12px; */
28961
- background: #000;
28962
- overflow: auto;
28963
28958
  display: flex;
28964
- align-items: center;
28965
28959
  flex-direction: column;
28960
+ align-items: center;
28961
+ width: 100%;
28962
+ height: 100%;
28966
28963
  padding-top: 8px;
28967
28964
  padding-bottom: 8px;
28965
+ overflow: auto;
28966
+ border: none;
28967
+ /* padding: 12px; */
28968
+ background: #000;
28968
28969
  }
28969
- .pdf-frame-embed[data-v-bacf6fd3] .vue-pdf-embed__page {
28970
+ .pdf-frame-embed[data-v-44464593] .vue-pdf-embed__page {
28970
28971
  margin-bottom: 4px;
28971
28972
  }
28972
- .pdf-frame-embed[data-v-bacf6fd3] .vue-pdf-embed__page canvas {
28973
+ .pdf-frame-embed[data-v-44464593] .vue-pdf-embed__page canvas {
28973
28974
  width: 1140px !important;
28974
28975
  }
28975
28976
  /* 删除按钮放到纸张上面(居中) */
28976
- .delete-btn-overlay[data-v-bacf6fd3] {
28977
+ .delete-btn-overlay[data-v-44464593] {
28977
28978
  position: absolute;
28978
28979
  z-index: 50;
28979
- left: 50%;
28980
- transform: translateX(-50%);
28981
28980
  bottom: 36px;
28982
28981
  /* 离纸张底部的距离 */
28983
- background: rgba(245, 108, 108, 0.9);
28984
- border: none;
28985
- color: #fff;
28982
+ left: 50%;
28986
28983
  padding: 0 32px;
28984
+ transform: translateX(-50%);
28985
+ border: none;
28987
28986
  border-radius: 4px;
28987
+ background: rgba(245, 108, 108, 0.9);
28988
+ color: #fff;
28988
28989
  }
28989
28990
  /* 加载遮罩,覆盖在纸张上方 */
28990
- .loading-overlay[data-v-bacf6fd3] {
28991
- position: absolute;
28992
- inset: 0;
28991
+ .loading-overlay[data-v-44464593] {
28993
28992
  display: flex;
28993
+ position: absolute;
28994
+ z-index: 40;
28994
28995
  align-items: center;
28995
28996
  justify-content: center;
28996
28997
  background: rgba(255, 255, 255, 0.88);
28997
28998
  /* 近似纸张的半透明遮罩 */
28998
- z-index: 40;
28999
+ inset: 0;
28999
29000
  }
29000
29001
 
29001
29002
  .runtime-pagination-error[data-v-6738db7d] {
@@ -29112,10 +29113,10 @@ span.ant-input-group-addon:last-child {
29112
29113
  margin-left: 4px;
29113
29114
  font-size: 13px;
29114
29115
  }
29115
- .runtime-instance-renderer[data-v-f233c660] {
29116
+ .runtime-instance-renderer[data-v-1763b2ec] {
29116
29117
  position: relative;
29117
29118
  }
29118
- [data-v-f233c660] .runtime-navigation-target {
29119
+ [data-v-1763b2ec] .runtime-navigation-target {
29119
29120
  outline: 2px solid #1677ff;
29120
29121
  outline-offset: -2px;
29121
29122
  }
@@ -1,5 +1,5 @@
1
1
  import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
2
- import { c as commonjsRequire } from "./index-CQDjECZz.js";
2
+ import { c as commonjsRequire } from "./index-jfKiyRsE.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-C1Fj-34U.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-CQDjECZz.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-jfKiyRsE.js";
5
5
  import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle mb-6px" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -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-CQDjECZz.js";
6
+ import { A as AsyncGctOnlineComponents } from "./index-jfKiyRsE.js";
7
7
  class Tr {
8
8
  component = "tr";
9
9
  wrapperCmpConfig({ data, parent }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Timepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Timepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp,
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class InputDouble extends BaseComponent {
8
8
  component = ComponentTypeEnum.InputDouble;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class UploadFile extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadFile;
9
9
  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-CQDjECZz.js";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-jfKiyRsE.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-DlcK-wt_.js";
4
4
  import "vue";
5
5
  import "dayjs";
@@ -3,7 +3,7 @@ import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Seal extends BaseComponent {
8
8
  component = ComponentTypeEnum.Seal;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, a2 as SignatureImageDirectionEnum, a3 as Fallba
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Sign extends BaseComponent {
8
8
  component = ComponentTypeEnum.Sign;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Textarea extends BaseComponent {
8
8
  component = ComponentTypeEnum.Textarea;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Input extends BaseComponent {
8
8
  component = ComponentTypeEnum.Input;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Diagonal extends BaseComponent {
8
8
  component = ComponentTypeEnum.Diagonal;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, O as Orientation, a0 as LabelPosition, b0 as Bi
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
7
- import { g as getFieldWidget } from "./index-CQDjECZz.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
+ import { g as getFieldWidget } from "./index-jfKiyRsE.js";
8
8
  class EnumSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.EnumSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, ax as RangeCompareOp, aw as RangeValidateMode }
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Datepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Datepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BT7StEtK.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BO9GpUUT.js";
8
8
  class RdoSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.RdoSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Department extends BaseComponent {
8
8
  component = ComponentTypeEnum.Department;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.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-CQDjECZz.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.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-jfKiyRsE.js";
8
8
  class Select extends BaseComponent {
9
9
  component = ComponentTypeEnum.Select;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Userpicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Userpicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, az as ImageDisplayModeEnum } from "./dynamic-ta
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class UploadImage extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadImage;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,11 +1,11 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-BKM9zZqY.js";
2
+ import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-DXlLVZZF.js";
3
3
  import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as LabelPosition, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { g as getFieldWidget } from "./index-CQDjECZz.js";
8
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
7
+ import { g as getFieldWidget } from "./index-jfKiyRsE.js";
8
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
9
9
  class Switch extends BaseComponent {
10
10
  component = ComponentTypeEnum.Switch;
11
11
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BT7StEtK.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BO9GpUUT.js";
8
8
  class AutoComplete extends BaseComponent {
9
9
  component = ComponentTypeEnum.AutoComplete;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp,
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class InputNumber extends BaseComponent {
8
8
  component = ComponentTypeEnum.Inputnumber;
9
9
  wrapperCmpConfig({ data }) {