@gct-paas/excel 0.1.40-beta.17 → 0.1.40-beta.19

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 (62) hide show
  1. package/dist/{BaseComponent-CCne4pQR.js → BaseComponent-FTAfETgq.js} +1 -1
  2. package/dist/{VueVideoPlayer-2S5BFaL_.js → VueVideoPlayer-ClOLkKfc.js} +1 -1
  3. package/dist/{barcode-design-DCKN2kXs.js → barcode-design-BkhvROE3.js} +1 -1
  4. package/dist/base/index.es.js +90 -75
  5. package/dist/{diagonal-design-DgL_knX1.js → diagonal-design-CSsRZXTR.js} +1 -1
  6. package/dist/{dynamic-table-action-PCfL4kn8.js → dynamic-table-action-BaPYciTs.js} +143 -130
  7. package/dist/excel.css +157 -150
  8. package/dist/{exceljs.min-CoCfKi-7.js → exceljs.min-DOnnIaUy.js} +1 -1
  9. package/dist/{font-editor-U4uNllXl.js → font-editor-BhEx8gsg.js} +1 -1
  10. package/dist/{index-BiMaezbB.js → index-4D9NOiSa.js} +2 -2
  11. package/dist/{index-CqKBqL3p.js → index-8SR0OCtX.js} +1 -1
  12. package/dist/{index-BD266iSg.js → index-BGplPOcr.js} +1 -1
  13. package/dist/{index-BRDf6SKK.js → index-BH44VVVJ.js} +1 -1
  14. package/dist/{index-ku7ct8PU.js → index-BRhxHq7j.js} +4 -6
  15. package/dist/{index-DNxZxXFS.js → index-BYdQb6Zs.js} +1 -1
  16. package/dist/{index-BQnLQV0A.js → index-BasOyfUE.js} +1 -1
  17. package/dist/{index-BPN7XFwR.js → index-BatLqdGc.js} +1 -1
  18. package/dist/{index-DNaJ9kfU.js → index-Bk1k6BEY.js} +2 -2
  19. package/dist/{index-BDxVLxSI.js → index-Bmg7bonc.js} +1 -1
  20. package/dist/{index-BWSegp47.js → index-Bt70Gc_Z.js} +3 -3
  21. package/dist/{index-BGm-MVKB.js → index-CO6KoJ_a.js} +1 -1
  22. package/dist/{index-WWyJn_DL.js → index-CQKgfK0r.js} +64 -59
  23. package/dist/{index-WFLjE8W5.js → index-CdhBMADX.js} +1 -1
  24. package/dist/{index-BbiyVhS-.js → index-CwQdMcpB.js} +1 -1
  25. package/dist/{index-B-xjIbiI.js → index-Cy0Uqp5w.js} +2 -2
  26. package/dist/{index-CDrtUoUX.js → index-D3vYOwwm.js} +2 -2
  27. package/dist/{index-BLvlOZ2D.js → index-DJA4tHF7.js} +2 -2
  28. package/dist/{index-BsiUX7YD.js → index-DgL-mrXY.js} +1 -1
  29. package/dist/{index-DohyZRFn.js → index-WwSFD3-4.js} +1 -1
  30. package/dist/{index-tdchiGpE.js → index-enn6ye9W.js} +1 -1
  31. package/dist/{index-Bns57FNX.js → index-gXPEz0JL.js} +1 -1
  32. package/dist/{index-CnK65t9M.js → index-pd2sE5n8.js} +1 -1
  33. package/dist/{index-BY_qQ37w.js → index-tytmYLov.js} +1 -1
  34. package/dist/index.es.js +1 -1
  35. package/dist/{pagination-design-Br4MXfw1.js → pagination-design-BbYDSGTY.js} +1 -1
  36. package/dist/paper-widget-design-V9VvgPuP.js +4 -0
  37. package/dist/{print-runtime-instance-CfWuydpH.js → print-runtime-instance-C4G901eq.js} +1 -1
  38. package/dist/{print-snapshot-renderer-CJy_9TnN.js → print-snapshot-renderer-BQM8Bgjz.js} +3 -3
  39. package/dist/{qrcode-design-BdMl2NKL.js → qrcode-design-DaaL8MFl.js} +1 -1
  40. package/dist/seal-design-BTE8aLel.js +4 -0
  41. package/dist/{single-field-drop-BmzX-Z8I.js → single-field-drop-DtPGbir9.js} +1 -1
  42. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +1 -1
  43. package/dist/src/shared/utils/cell-wrap.d.ts +9 -0
  44. package/dist/src/shared/utils/grid-size.d.ts +2 -0
  45. package/dist/{sub-table-factory-BI9zILxh.js → sub-table-factory-PmCFjieU.js} +1 -1
  46. package/dist/{text-design-B_MucoKI.js → text-design-CUKnLbBy.js} +4 -3
  47. package/dist/{trace-like-wrapper-dM7TzPyV.js → trace-like-wrapper-Cn7Ios53.js} +1 -1
  48. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CIn45Z8Q.js → value-editor.vue_vue_type_style_index_0_lang-CDZ0Nr3h.js} +1 -1
  49. package/dist/{widget-barcode-lWGbOIin.js → widget-barcode-BT3-E-IC.js} +2 -2
  50. package/dist/{widget-diagonal-BHu_oZPc.js → widget-diagonal-CqjMAQw8.js} +2 -2
  51. package/dist/{widget-image-ky181dVc.js → widget-image-C-fHxEpb.js} +1 -1
  52. package/dist/{widget-line-Bmx-OCDG.js → widget-line-bjz2m-0w.js} +1 -1
  53. package/dist/{widget-pagination-CmUiNeCs.js → widget-pagination-B_0Lh8dg.js} +2 -2
  54. package/dist/{widget-power-DOgb24Gq.js → widget-power-NZ6iapXF.js} +2 -2
  55. package/dist/{widget-qrcode-TLKTPfMv.js → widget-qrcode-FMqMhdih.js} +2 -2
  56. package/dist/{widget-rangelimit-DfdOkk1r.js → widget-rangelimit-CJ2M_Val.js} +2 -2
  57. package/dist/{widget-serialnumber-Bqayj0OA.js → widget-serialnumber-ByYGTXK4.js} +1 -1
  58. package/dist/{widget-text-BGdFlv3o.js → widget-text-CW4V4Cuh.js} +3 -3
  59. package/dist/{widget-timediff-CxIXuLZd.js → widget-timediff-JTFI0UZ9.js} +1 -1
  60. package/package.json +2 -2
  61. package/dist/paper-widget-design-DTlDdmYc.js +0 -4
  62. package/dist/seal-design-mfWFp1C2.js +0 -4
@@ -1,5 +1,5 @@
1
1
  import { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DNH0HQ7d.js";
2
- import { c as commonjsRequire } from "./index-WWyJn_DL.js";
2
+ import { c as commonjsRequire } from "./index-CQKgfK0r.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-ClmAs0I2.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-WWyJn_DL.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-CQKgfK0r.js";
5
5
  import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DNH0HQ7d.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle mb-6px" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -2,10 +2,10 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
- import { n as normalizeSealDiameter } from "./dynamic-table-action-PCfL4kn8.js";
5
+ import { i as normalizeSealDiameter } from "./dynamic-table-action-BaPYciTs.js";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { B as BaseComponent } from "./BaseComponent-CCne4pQR.js";
8
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
9
9
  class Seal extends BaseComponent {
10
10
  component = ComponentTypeEnum.Seal;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ 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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class InputNumber extends BaseComponent {
9
9
  component = ComponentTypeEnum.Inputnumber;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ 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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class Userpicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Userpicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -5,7 +5,7 @@ import { pick } from "lodash-es";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-WWyJn_DL.js";
8
+ import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-CQKgfK0r.js";
9
9
  class CombineFields {
10
10
  component = ComponentTypeEnum.CombineFields;
11
11
  wrapperCmpConfig({ data }) {
@@ -1,5 +1,6 @@
1
- import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
2
- import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-WWyJn_DL.js";
1
+ import { pick, has, cloneDeep, get } from "lodash-es";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-CQKgfK0r.js";
3
+ import { k as isCellAutoLineBreak } from "./dynamic-table-action-BaPYciTs.js";
3
4
  import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DNH0HQ7d.js";
4
5
  import "vue";
5
6
  import "dayjs";
@@ -11,7 +12,7 @@ class Td {
11
12
  const cmp = {
12
13
  props: {
13
14
  ...pick(data.attrs ?? {}, ["colspan", "rowspan"]),
14
- autoLineBreak: false,
15
+ autoLineBreak: isCellAutoLineBreak(data.style),
15
16
  sourceBorderAttrs: ["cbt", "cbr", "cbb", "cbl", "bold"].filter((key) => data[key])
16
17
  },
17
18
  style: { ...pick(data.style, "backgroundColor") },
@@ -19,9 +20,6 @@ class Td {
19
20
  xAutoMerge: data.xAutoMerge || false,
20
21
  fillDirection: data.fillDirection || void 0
21
22
  };
22
- if (!isEmpty(data.style) && has(data.style, "whiteSpace") && has(data.style, "wordBreak") && data.style.whiteSpace === "pre-wrap" && data.style.wordBreak === "break-all") {
23
- cmp.props.autoLineBreak = true;
24
- }
25
23
  const fixedTableFieldMap = dataCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap;
26
24
  let config = data;
27
25
  if (has(data, "cellRef") && data.cellRef && data.subTableType === "CHECK" && fixedTableFieldMap[data.cellRef]) {
@@ -4,7 +4,7 @@ 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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class Datepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Datepicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ 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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class Input extends BaseComponent {
9
9
  component = ComponentTypeEnum.Input;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ 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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class DateTimepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.DateTimepicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ 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-CCne4pQR.js";
8
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-dM7TzPyV.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-Cn7Ios53.js";
9
9
  class RdoSelect extends BaseComponent {
10
10
  component = ComponentTypeEnum.RdoSelect;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ 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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class UploadFile extends BaseComponent {
9
9
  component = ComponentTypeEnum.UploadFile;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,12 +1,12 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-PCfL4kn8.js";
2
+ import { j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-BaPYciTs.js";
3
3
  import { C as ComponentTypeEnum, O as Orientation, a5 as BooleanShowMode, a4 as LabelPosition, b6 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DNH0HQ7d.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { g as getFieldWidget } from "./index-WWyJn_DL.js";
9
- import { B as BaseComponent } from "./BaseComponent-CCne4pQR.js";
8
+ import { g as getFieldWidget } from "./index-CQKgfK0r.js";
9
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
10
10
  class Switch extends BaseComponent {
11
11
  component = ComponentTypeEnum.Switch;
12
12
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ 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-WWyJn_DL.js";
7
+ import { A as AsyncGctOnlineComponents } from "./index-CQKgfK0r.js";
8
8
  class Tr {
9
9
  component = "tr";
10
10
  wrapperCmpConfig({ data, parent }) {
@@ -6,7 +6,7 @@ import dayjs from "dayjs";
6
6
  import { useFormBaseModal, DataSourceChangeEvent, getBuiltinContextFields, DataSources, FieldFills, closeAllFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
7
7
  import * as Antd from "ant-design-vue";
8
8
  import { message, Modal, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, Form, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup, Alert } from "ant-design-vue";
9
- import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, g as getParseFormulaVarInfos, e as getBusinessFieldKey, f as createRuntimeDocumentV2, h as clampSealPosition, n as normalizeSealDiameter, i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormModel, j as useFormTmplConfig, k as findFieldProfile, l as normalizeHistoricalBusinessRow, m as DeviceLinkTmplUtil, o as normalizeAIOcrTmpl, p as useWidgetStaticAttrs, q as useRuntimeInstanceServices, s as setSelectValidatorId, r as setSelectAnnotationId, t as useRuntimeRowState, v as getObjectBomMaterialLotQuery, w as buildObjectLotExtraQuery, x as resolveObjectFieldKeys, F as FormModelController, y as MaterialConsumptionPatternEnum, z as validateObjectBomForScan, A as resolveObjectBomEntry, C as runWithFillProduct, E as useNocodeFormWidget, G as applyConsumeObjectTraceChange, H as getObjectBomProductQuery, I as EMPTY_PRODUCT_VERSION_ID, J as normalizeHistoricalAutofillRow, K as readSealValue, L as isSealStamped, N as stampSealValue, O as isValidSealValue, P as clearSealValue, Q as parseRuntimeFieldPath, R as NCB_PROVIDE, S as calculateFormula, T as useStyles, U as useDependency, V as useFieldPresentation, W as useRuntimeEditorFlusher, X as RuntimeFormStateStore, Y as createRuntimeInstanceContext, Z as RuntimeInstanceRegistry, _ as ScanParamType, $ as RequiredQtyCalcRule, a0 as MBRender, a1 as MCRender, a2 as moveSealValue, a3 as DocumentPaper, a4 as DynamicTableAction, a5 as _sfc_main$6B } from "./dynamic-table-action-PCfL4kn8.js";
9
+ import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as getBusinessFieldKey, f as createRuntimeDocumentV2, h as clampSealPosition, i as normalizeSealDiameter, j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, k as isCellAutoLineBreak, B as BorderTD, u as useFormModel, l as useFormTmplConfig, m as findFieldProfile, o as normalizeHistoricalBusinessRow, p as DeviceLinkTmplUtil, q as normalizeAIOcrTmpl, r as useWidgetStaticAttrs, s as useRuntimeInstanceServices, t as setSelectValidatorId, v as setSelectAnnotationId, w as useRuntimeRowState, x as getObjectBomMaterialLotQuery, y as buildObjectLotExtraQuery, z as resolveObjectFieldKeys, F as FormModelController, A as MaterialConsumptionPatternEnum, C as validateObjectBomForScan, E as resolveObjectBomEntry, G as runWithFillProduct, H as useNocodeFormWidget, I as applyConsumeObjectTraceChange, J as getObjectBomProductQuery, K as EMPTY_PRODUCT_VERSION_ID, L as normalizeHistoricalAutofillRow, N as readSealValue, O as isSealStamped, P as stampSealValue, Q as isValidSealValue, R as clearSealValue, S as parseRuntimeFieldPath, T as NCB_PROVIDE, U as calculateFormula, V as useStyles, W as useDependency, X as useFieldPresentation, Y as useRuntimeEditorFlusher, Z as RuntimeFormStateStore, _ as createRuntimeInstanceContext, $ as RuntimeInstanceRegistry, a0 as ScanParamType, a1 as RequiredQtyCalcRule, a2 as MBRender, a3 as MCRender, a4 as moveSealValue, a5 as DocumentPaper, a6 as DynamicTableAction, a7 as _sfc_main$6B } from "./dynamic-table-action-BaPYciTs.js";
10
10
  import { S as SEARCH_SEVICE, u as useWebUpload, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6A, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CpcHJZof.js";
11
11
  import { HttpUtil } from "@gct-paas/api";
12
12
  import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
@@ -1419,7 +1419,7 @@ const NumColMap = Array(1e3).fill("").reduce((m, e, i) => {
1419
1419
  return m;
1420
1420
  }, {});
1421
1421
  const DEFAULT_ROW_HEIGHT$1 = 30;
1422
- const DEFAULT_COL_WIDTH$1 = 75;
1422
+ const DEFAULT_COL_WIDTH = 75;
1423
1423
  const DEFAULT_PAPER_COL_COUNT = 10;
1424
1424
  const PaperWidgetDropBoxId = "PaperWidgetDropBoxId";
1425
1425
  const ValueEditorFieldDropBoxId = "ValueEditorFieldDropBoxId";
@@ -1446,7 +1446,7 @@ const DefaultPaper = {
1446
1446
  },
1447
1447
  orientation: Orientation.Portrait,
1448
1448
  cols: Array(DEFAULT_PAPER_COL_COUNT).fill("").map(() => ({
1449
- width: DEFAULT_COL_WIDTH$1
1449
+ width: DEFAULT_COL_WIDTH
1450
1450
  })),
1451
1451
  rows: Array(20).fill("").map(() => ({
1452
1452
  height: DEFAULT_ROW_HEIGHT$1
@@ -2015,7 +2015,7 @@ function openWindow(url, opt) {
2015
2015
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
2016
2016
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
2017
2017
  async function createWorkbook() {
2018
- const ExcelJs = (await import("./exceljs.min-CoCfKi-7.js").then((n) => n.e)).default;
2018
+ const ExcelJs = (await import("./exceljs.min-DOnnIaUy.js").then((n) => n.e)).default;
2019
2019
  return new ExcelJs.Workbook();
2020
2020
  }
2021
2021
  class XlsxParser {
@@ -2343,28 +2343,28 @@ class XlsxParser {
2343
2343
  }
2344
2344
  function asyncImportClassModules() {
2345
2345
  const modules = /* @__PURE__ */ Object.assign({
2346
- "./_field_/auto-complete/index.ts": () => import("./index-CDrtUoUX.js").then((m) => m["default"]),
2347
- "./_field_/datepicker/index.ts": () => import("./index-DNxZxXFS.js").then((m) => m["default"]),
2348
- "./_field_/datetimepicker/index.ts": () => import("./index-BPN7XFwR.js").then((m) => m["default"]),
2349
- "./_field_/department/index.ts": () => import("./index-WFLjE8W5.js").then((m) => m["default"]),
2350
- "./_field_/enum-select/index.ts": () => import("./index-BLvlOZ2D.js").then((m) => m["default"]),
2351
- "./_field_/input/index.ts": () => import("./index-BQnLQV0A.js").then((m) => m["default"]),
2352
- "./_field_/inputdouble/index.ts": () => import("./index-BbiyVhS-.js").then((m) => m["default"]),
2353
- "./_field_/inputnumber/index.ts": () => import("./index-CqKBqL3p.js").then((m) => m["default"]),
2354
- "./_field_/rdo-select/index.ts": () => import("./index-DNaJ9kfU.js").then((m) => m["default"]),
2355
- "./_field_/seal/index.ts": () => import("./index-BiMaezbB.js").then((m) => m["default"]),
2356
- "./_field_/select/index.ts": () => import("./index-B-xjIbiI.js").then((m) => m["default"]),
2357
- "./_field_/sign/index.ts": () => import("./index-BY_qQ37w.js").then((m) => m["default"]),
2358
- "./_field_/switch/index.ts": () => import("./index-BWSegp47.js").then((m) => m["default"]),
2359
- "./_field_/textarea/index.ts": () => import("./index-CnK65t9M.js").then((m) => m["default"]),
2360
- "./_field_/timepicker/index.ts": () => import("./index-tdchiGpE.js").then((m) => m["default"]),
2361
- "./_field_/upload-file/index.ts": () => import("./index-BDxVLxSI.js").then((m) => m["default"]),
2362
- "./_field_/upload-image/index.ts": () => import("./index-DohyZRFn.js").then((m) => m["default"]),
2363
- "./_field_/userpicker/index.ts": () => import("./index-BD266iSg.js").then((m) => m["default"]),
2346
+ "./_field_/auto-complete/index.ts": () => import("./index-D3vYOwwm.js").then((m) => m["default"]),
2347
+ "./_field_/datepicker/index.ts": () => import("./index-BYdQb6Zs.js").then((m) => m["default"]),
2348
+ "./_field_/datetimepicker/index.ts": () => import("./index-BatLqdGc.js").then((m) => m["default"]),
2349
+ "./_field_/department/index.ts": () => import("./index-CdhBMADX.js").then((m) => m["default"]),
2350
+ "./_field_/enum-select/index.ts": () => import("./index-DJA4tHF7.js").then((m) => m["default"]),
2351
+ "./_field_/input/index.ts": () => import("./index-BasOyfUE.js").then((m) => m["default"]),
2352
+ "./_field_/inputdouble/index.ts": () => import("./index-CwQdMcpB.js").then((m) => m["default"]),
2353
+ "./_field_/inputnumber/index.ts": () => import("./index-8SR0OCtX.js").then((m) => m["default"]),
2354
+ "./_field_/rdo-select/index.ts": () => import("./index-Bk1k6BEY.js").then((m) => m["default"]),
2355
+ "./_field_/seal/index.ts": () => import("./index-4D9NOiSa.js").then((m) => m["default"]),
2356
+ "./_field_/select/index.ts": () => import("./index-Cy0Uqp5w.js").then((m) => m["default"]),
2357
+ "./_field_/sign/index.ts": () => import("./index-tytmYLov.js").then((m) => m["default"]),
2358
+ "./_field_/switch/index.ts": () => import("./index-Bt70Gc_Z.js").then((m) => m["default"]),
2359
+ "./_field_/textarea/index.ts": () => import("./index-pd2sE5n8.js").then((m) => m["default"]),
2360
+ "./_field_/timepicker/index.ts": () => import("./index-enn6ye9W.js").then((m) => m["default"]),
2361
+ "./_field_/upload-file/index.ts": () => import("./index-Bmg7bonc.js").then((m) => m["default"]),
2362
+ "./_field_/upload-image/index.ts": () => import("./index-WwSFD3-4.js").then((m) => m["default"]),
2363
+ "./_field_/userpicker/index.ts": () => import("./index-BGplPOcr.js").then((m) => m["default"]),
2364
2364
  "./_widget_/barcode/index.ts": () => import("./index-CDEmNgZo.js").then((m) => m["default"]),
2365
- "./_widget_/combine-fields/index.ts": () => import("./index-BRDf6SKK.js").then((m) => m["default"]),
2366
- "./_widget_/diagonal/index.ts": () => import("./index-BsiUX7YD.js").then((m) => m["default"]),
2367
- "./_widget_/dyn-value/index.ts": () => import("./index-Bns57FNX.js").then((m) => m["default"]),
2365
+ "./_widget_/combine-fields/index.ts": () => import("./index-BH44VVVJ.js").then((m) => m["default"]),
2366
+ "./_widget_/diagonal/index.ts": () => import("./index-DgL-mrXY.js").then((m) => m["default"]),
2367
+ "./_widget_/dyn-value/index.ts": () => import("./index-gXPEz0JL.js").then((m) => m["default"]),
2368
2368
  "./_widget_/image/index.ts": () => import("./index-Cv7MTDYJ.js").then((m) => m["default"]),
2369
2369
  "./_widget_/line/index.ts": () => import("./index-0igALLOR.js").then((m) => m["default"]),
2370
2370
  "./_widget_/power/index.ts": () => import("./index-Cr-9RN_m.js").then((m) => m["default"]),
@@ -2374,8 +2374,8 @@ function asyncImportClassModules() {
2374
2374
  "./_widget_/sub-table/index.ts": () => import("./index-BOk29nnL.js").then((m) => m["default"]),
2375
2375
  "./_widget_/timediff/index.ts": () => import("./index-CE2DJqcE.js").then((m) => m["default"]),
2376
2376
  "./paper/index.ts": () => import("./index-Bt91J3fW.js").then((m) => m["default"]),
2377
- "./td/index.ts": () => import("./index-ku7ct8PU.js").then((m) => m["default"]),
2378
- "./tr/index.ts": () => import("./index-BGm-MVKB.js").then((m) => m["default"])
2377
+ "./td/index.ts": () => import("./index-BRhxHq7j.js").then((m) => m["default"]),
2378
+ "./tr/index.ts": () => import("./index-CO6KoJ_a.js").then((m) => m["default"])
2379
2379
  });
2380
2380
  return modules;
2381
2381
  }
@@ -4056,7 +4056,6 @@ function migrateDesignerToV2(maps, info, createPaper) {
4056
4056
  };
4057
4057
  }
4058
4058
  const DEFAULT_ROW_HEIGHT = 30;
4059
- const DEFAULT_COL_WIDTH = 75;
4060
4059
  const positiveSize = (value, fallback) => typeof value === "number" && Number.isFinite(value) && value > 0 ? value : fallback;
4061
4060
  const normalizeCell = (value) => {
4062
4061
  if (value && typeof value === "object" && !Array.isArray(value)) return value;
@@ -4090,14 +4089,14 @@ function normalizePaperGrid(paper2) {
4090
4089
  (width, row) => Math.max(width, Array.isArray(row) ? row.length : 0),
4091
4090
  0
4092
4091
  );
4093
- const colCount = Math.max(1, sourceCols.length, widestRow);
4092
+ const colCount = Math.max(1, sourceCols.length > 0 ? sourceCols.length : widestRow);
4094
4093
  paper2.rows = Array.from({ length: rowCount }, (_, index2) => ({
4095
4094
  ...sourceRows[index2],
4096
4095
  height: positiveSize(sourceRows[index2]?.height, DEFAULT_ROW_HEIGHT)
4097
4096
  }));
4098
4097
  paper2.cols = Array.from({ length: colCount }, (_, index2) => ({
4099
4098
  ...sourceCols[index2],
4100
- width: positiveSize(sourceCols[index2]?.width, DEFAULT_COL_WIDTH)
4099
+ width: normalizeGridColumnWidth(sourceCols[index2]?.width)
4101
4100
  }));
4102
4101
  paper2.cells = Array.from({ length: rowCount }, (_, rowIndex) => {
4103
4102
  const row = Array.isArray(sourceCells[rowIndex]) ? sourceCells[rowIndex] : [];
@@ -12325,7 +12324,7 @@ function useSpreadSheet() {
12325
12324
  function resizeCol(e) {
12326
12325
  const x = Number(e.target.parentNode.dataset.x);
12327
12326
  const startX = e.clientX;
12328
- const startWidth = paper$1.value.cols[x - 1]?.width ?? DEFAULT_COL_WIDTH$1;
12327
+ const startWidth = paper$1.value.cols[x - 1]?.width ?? DEFAULT_COL_WIDTH;
12329
12328
  function handleMouseMove(e2) {
12330
12329
  const nextWidth = Math.max(1, startWidth + e2.clientX - startX);
12331
12330
  setColWidth(x, nextWidth);
@@ -12605,7 +12604,7 @@ function useSpreadSheet() {
12605
12604
  }
12606
12605
  function insertCol(col, insertCols2) {
12607
12606
  const colIndex = (col ?? paper$1.value.cols.length) - 1;
12608
- paper$1.value.cols.splice(colIndex, 0, { width: DEFAULT_COL_WIDTH$1 });
12607
+ paper$1.value.cols.splice(colIndex, 0, { width: DEFAULT_COL_WIDTH });
12609
12608
  paper$1.value.cells.forEach((row, index2) => {
12610
12609
  const cell = insertCols2 ? insertCols2[index2] : void 0;
12611
12610
  const style = cell?.style ? cloneDeep(cell?.style) : void 0;
@@ -13721,11 +13720,11 @@ function useSpreadSheet() {
13721
13720
  const pageHeightPx = parseInt(src(`${size[1]}mm`));
13722
13721
  const availableWidthPx = pageWidthPx - DefaultPaper.padding.l - DefaultPaper.padding.r;
13723
13722
  const availableHeightPx = pageHeightPx - DefaultPaper.padding.t - DefaultPaper.padding.b;
13724
- const cols = Math.max(1, Math.floor(availableWidthPx / DEFAULT_COL_WIDTH$1));
13723
+ const cols = Math.max(1, Math.floor(availableWidthPx / DEFAULT_COL_WIDTH));
13725
13724
  const rows = Math.max(1, Math.floor(availableHeightPx / DEFAULT_ROW_HEIGHT$1));
13726
13725
  Object.assign(config2, {
13727
13726
  cols: Array(cols).fill("").map(() => ({
13728
- width: DEFAULT_COL_WIDTH$1
13727
+ width: DEFAULT_COL_WIDTH
13729
13728
  })),
13730
13729
  rows: Array(rows).fill("").map(() => ({
13731
13730
  height: DEFAULT_ROW_HEIGHT$1
@@ -14885,7 +14884,7 @@ const _sfc_main$6j = /* @__PURE__ */ defineComponent({
14885
14884
  };
14886
14885
  }
14887
14886
  });
14888
- const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6j, [["__scopeId", "data-v-a22b0a63"]]);
14887
+ const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6j, [["__scopeId", "data-v-2b593d5a"]]);
14889
14888
  const FieldDesignComponents = {
14890
14889
  "fw:input": FakeInput,
14891
14890
  "fw:number": FakeNumberInput,
@@ -15823,7 +15822,8 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
15823
15822
  const style = computed(() => {
15824
15823
  return {
15825
15824
  ...styles,
15826
- fontSize: styles.fontSize + "px"
15825
+ fontSize: styles.fontSize + "px",
15826
+ textAlign: styles.justifyContent === "center" ? "center" : styles.justifyContent === "flex-end" ? "right" : "left"
15827
15827
  };
15828
15828
  });
15829
15829
  const wrapperStyle = computed(() => {
@@ -15843,7 +15843,7 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
15843
15843
  };
15844
15844
  }
15845
15845
  });
15846
- const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$65, [["__scopeId", "data-v-5e13c4e4"]]);
15846
+ const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$65, [["__scopeId", "data-v-2b9c69a5"]]);
15847
15847
  const __vite_glob_3_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15848
15848
  __proto__: null,
15849
15849
  default: textRender
@@ -16062,7 +16062,7 @@ function asyncImportWidgetConfigList() {
16062
16062
  return widgetConfigList;
16063
16063
  }
16064
16064
  function asyncImportWidgetDesign() {
16065
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-mfWFp1C2.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-DCKN2kXs.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-DgL_knX1.js"), "./image/image-design.vue": () => import("./image-design-9F6prQTp.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-Br4MXfw1.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-DTlDdmYc.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BdMl2NKL.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-CXxSkCLn.js"), "./text/text-design.vue": () => import("./text-design-B_MucoKI.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DeOjrlwW.js") });
16065
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-BTE8aLel.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-BkhvROE3.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-CSsRZXTR.js"), "./image/image-design.vue": () => import("./image-design-9F6prQTp.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BbYDSGTY.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-V9VvgPuP.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-DaaL8MFl.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-CXxSkCLn.js"), "./text/text-design.vue": () => import("./text-design-CUKnLbBy.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DeOjrlwW.js") });
16066
16066
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
16067
16067
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
16068
16068
  if (mKey) {
@@ -21931,9 +21931,7 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
21931
21931
  }
21932
21932
  return attrs;
21933
21933
  });
21934
- const isAutoLineBreak = computed(
21935
- () => props2.cell.style?.["white-space"] === "pre-wrap" && props2.cell.style?.["word-break"] === "break-all"
21936
- );
21934
+ const isAutoLineBreak = computed(() => isCellAutoLineBreak(props2.cell.style));
21937
21935
  const realStyle = computed(() => {
21938
21936
  if (!props2.cell) return {};
21939
21937
  const styles = { ...props2.cell.style };
@@ -22052,7 +22050,7 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
22052
22050
  };
22053
22051
  }
22054
22052
  });
22055
- const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5$, [["__scopeId", "data-v-cf05747a"]]);
22053
+ const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5$, [["__scopeId", "data-v-f8007289"]]);
22056
22054
  const ThresholdValue = 8;
22057
22055
  function getOffsetValue(left, width, points) {
22058
22056
  let offset2 = left;
@@ -25984,7 +25982,7 @@ const cellStyleState = computed(() => {
25984
25982
  italic: s["font-style"] === "italic",
25985
25983
  underline: textDecorations.includes("underline"),
25986
25984
  through: textDecorations.includes("line-through"),
25987
- wrap: s["word-break"] === "break-all" || s["white-space"] === "pre-line",
25985
+ wrap: isCellAutoLineBreak(s),
25988
25986
  left: textAlign === "left",
25989
25987
  center: textAlign === "center",
25990
25988
  right: textAlign === "right",
@@ -39971,7 +39969,7 @@ const _sfc_main$4t = /* @__PURE__ */ defineComponent({
39971
39969
  "option-filter-prop": "label",
39972
39970
  "allow-clear": "",
39973
39971
  size: "small",
39974
- placeholder: _ctx.$t("sys.seal.source"),
39972
+ placeholder: _ctx.$t("sys.chooseText"),
39975
39973
  class: "w-full",
39976
39974
  onChange: selectSource
39977
39975
  }, null, 8, ["value", "disabled", "loading", "options", "placeholder"]),
@@ -39982,7 +39980,7 @@ const _sfc_main$4t = /* @__PURE__ */ defineComponent({
39982
39980
  };
39983
39981
  }
39984
39982
  });
39985
- const __vite_glob_0_12$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4t, [["__scopeId", "data-v-1bc22930"]]);
39983
+ const __vite_glob_0_12$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4t, [["__scopeId", "data-v-4063cf99"]]);
39986
39984
  var cryptoJs$1 = { exports: {} };
39987
39985
  function commonjsRequire(path) {
39988
39986
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -56642,7 +56640,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
56642
56640
  }
56643
56641
  });
56644
56642
  function asyncImportWidgetProp() {
56645
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-lWGbOIin.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-BHu_oZPc.js"), "./widget-image.vue": () => import("./widget-image-ky181dVc.js"), "./widget-line.vue": () => import("./widget-line-Bmx-OCDG.js"), "./widget-pagination.vue": () => import("./widget-pagination-CmUiNeCs.js"), "./widget-power.vue": () => import("./widget-power-DOgb24Gq.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-TLKTPfMv.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DfdOkk1r.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-Bqayj0OA.js"), "./widget-text.vue": () => import("./widget-text-BGdFlv3o.js"), "./widget-timediff.vue": () => import("./widget-timediff-CxIXuLZd.js") });
56643
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BT3-E-IC.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CqjMAQw8.js"), "./widget-image.vue": () => import("./widget-image-C-fHxEpb.js"), "./widget-line.vue": () => import("./widget-line-bjz2m-0w.js"), "./widget-pagination.vue": () => import("./widget-pagination-B_0Lh8dg.js"), "./widget-power.vue": () => import("./widget-power-NZ6iapXF.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-FMqMhdih.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CJ2M_Val.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-ByYGTXK4.js"), "./widget-text.vue": () => import("./widget-text-CW4V4Cuh.js"), "./widget-timediff.vue": () => import("./widget-timediff-JTFI0UZ9.js") });
56646
56644
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
56647
56645
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
56648
56646
  if (mKey) {
@@ -70773,7 +70771,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
70773
70771
  };
70774
70772
  }
70775
70773
  });
70776
- const CheckboxSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__scopeId", "data-v-1ce78780"]]);
70774
+ const CheckboxSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__scopeId", "data-v-4c31c26d"]]);
70777
70775
  const _sfc_main$27 = /* @__PURE__ */ defineComponent({
70778
70776
  __name: "radio-enum",
70779
70777
  props: {
@@ -70835,7 +70833,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
70835
70833
  };
70836
70834
  }
70837
70835
  });
70838
- const RadioSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__scopeId", "data-v-29a6d92a"]]);
70836
+ const RadioSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__scopeId", "data-v-71016290"]]);
70839
70837
  const _hoisted_1$1c = { class: "search-wrapper" };
70840
70838
  const _hoisted_2$R = { class: "inner-list search-visible" };
70841
70839
  const _hoisted_3$F = ["onContextmenu"];
@@ -71191,7 +71189,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
71191
71189
  };
71192
71190
  }
71193
71191
  });
71194
- const enumSelectRender = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__scopeId", "data-v-6db9b17f"]]);
71192
+ const enumSelectRender = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__scopeId", "data-v-95332220"]]);
71195
71193
  const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
71196
71194
  __proto__: null,
71197
71195
  default: enumSelectRender
@@ -74300,7 +74298,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
74300
74298
  }
74301
74299
  });
74302
74300
  const VueVideoPlayer = defineAsyncComponent(
74303
- () => import("./VueVideoPlayer-2S5BFaL_.js")
74301
+ () => import("./VueVideoPlayer-ClOLkKfc.js")
74304
74302
  );
74305
74303
  const _hoisted_1$18 = {
74306
74304
  key: 0,
@@ -78233,7 +78231,14 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
78233
78231
  customDateFormat,
78234
78232
  field
78235
78233
  } = reactive(props2.widget.props);
78236
- const { showRequired, showDisabled, showDisplayStatus, dataRelationShip, placeholder } = useWidgetStaticAttrs(props2.widget);
78234
+ const {
78235
+ showRequired,
78236
+ showDisabled,
78237
+ showDisplayStatus,
78238
+ dataRelationShip,
78239
+ placeholder,
78240
+ isAutoLineBreak
78241
+ } = useWidgetStaticAttrs(props2.widget);
78237
78242
  const { instance, formConfig: formConfig2, formStateStore, events: events2 } = useRuntimeInstanceServices();
78238
78243
  const { transfer } = useWebUpload();
78239
78244
  const signatures = computed({
@@ -78265,6 +78270,8 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
78265
78270
  "signature-cell-content",
78266
78271
  showDisplayStatus.value,
78267
78272
  isAdaptive.value && "is-adaptive",
78273
+ // 仅实际多条签名且开启换行时折行;兼容单人配置中残留的历史多人数据。
78274
+ !isAdaptive.value && signatures.value.length > 1 && isAutoLineBreak.value && "signature-cell-content--wrap",
78268
78275
  showFilledBackground.value && "filled-background"
78269
78276
  ]);
78270
78277
  const fixedTableConfig = computed(() => {
@@ -78741,7 +78748,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
78741
78748
  };
78742
78749
  }
78743
78750
  });
78744
- const CheckboxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-929e5a9f"]]);
78751
+ const CheckboxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-f2d4fb54"]]);
78745
78752
  const _sfc_main$1C = /* @__PURE__ */ defineComponent({
78746
78753
  __name: "radio-switch",
78747
78754
  props: {
@@ -78796,7 +78803,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
78796
78803
  };
78797
78804
  }
78798
78805
  });
78799
- const RadioSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-d558bf8a"]]);
78806
+ const RadioSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-c4f04dbb"]]);
78800
78807
  const _hoisted_1$_ = { class: "inner-list" };
78801
78808
  const _hoisted_2$H = ["onContextmenu"];
78802
78809
  const _hoisted_3$x = { class: "inner-label-box" };
@@ -84923,9 +84930,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
84923
84930
  const { fields } = reactive(props2.widget.props);
84924
84931
  const dataRelationShip = inject(NCB_PROVIDE.DATA_RELATION_SHIP);
84925
84932
  const isPreview = computed(() => dataRelationShip?.renderModeType === RenderModeEnum.ViewMode);
84926
- const wrapFields = computed(
84927
- () => props2.widget.style?.whiteSpace === "pre-wrap" && props2.widget.style?.wordBreak === "break-all"
84928
- );
84933
+ const wrapFields = computed(() => isCellAutoLineBreak(props2.widget.style));
84929
84934
  const layoutStyle = computed(() => {
84930
84935
  const { textAlign, verticalAlign } = props2.widget.style ?? {};
84931
84936
  const mode = props2.widget.style?.["--composite-text-writing-mode"] ?? "horizontal-tb";
@@ -84973,7 +84978,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
84973
84978
  };
84974
84979
  }
84975
84980
  });
84976
- const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-8353617b"]]);
84981
+ const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-fdb6cdd3"]]);
84977
84982
  const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
84978
84983
  __proto__: null,
84979
84984
  default: combineFieldsRender
@@ -95809,8 +95814,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
95809
95814
  printTask = (async () => {
95810
95815
  if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
95811
95816
  await nextTick();
95812
- const { printRuntimeInstance } = await import("./print-runtime-instance-CfWuydpH.js");
95813
- const { default: renderer } = await import("./print-snapshot-renderer-CJy_9TnN.js");
95817
+ const { printRuntimeInstance } = await import("./print-runtime-instance-C4G901eq.js");
95818
+ const { default: renderer } = await import("./print-snapshot-renderer-BQM8Bgjz.js");
95814
95819
  if (abort.signal.aborted) throw new Error("打印已取消");
95815
95820
  printRenderer.value = markRaw(renderer);
95816
95821
  await printRuntimeInstance(
@@ -4,7 +4,7 @@ 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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class Department extends BaseComponent {
9
9
  component = ComponentTypeEnum.Department;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ 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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class InputDouble extends BaseComponent {
9
9
  component = ComponentTypeEnum.InputDouble;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ 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-CCne4pQR.js";
8
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-WWyJn_DL.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-CQKgfK0r.js";
9
9
  class Select extends BaseComponent {
10
10
  component = ComponentTypeEnum.Select;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ 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-CCne4pQR.js";
8
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-dM7TzPyV.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-Cn7Ios53.js";
9
9
  class AutoComplete extends BaseComponent {
10
10
  component = ComponentTypeEnum.AutoComplete;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ 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-CCne4pQR.js";
8
- import { g as getFieldWidget } from "./index-WWyJn_DL.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
+ import { g as getFieldWidget } from "./index-CQKgfK0r.js";
9
9
  class EnumSelect extends BaseComponent {
10
10
  component = ComponentTypeEnum.EnumSelect;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import { pick } from "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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class Diagonal extends BaseComponent {
9
9
  component = ComponentTypeEnum.Diagonal;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ 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-CCne4pQR.js";
7
+ import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
8
8
  class UploadImage extends BaseComponent {
9
9
  component = ComponentTypeEnum.UploadImage;
10
10
  wrapperCmpConfig({ data }) {