@gct-paas/excel 0.1.37-beta.2 → 0.1.39-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/{BaseComponent-DN5v-Q_h.js → BaseComponent-BO75HbkD.js} +2 -3
  2. package/dist/{barcode-design-B7AoHzux.js → barcode-design-CKbMreUi.js} +1 -2
  3. package/dist/base/index.es.js +7 -147
  4. package/dist/{diagonal-design-CeYHDi2e.js → diagonal-design-DEz3_fE8.js} +1 -2
  5. package/dist/{dynamic-table-action-zR6VwiFi.js → dynamic-table-action-DFnvJWw-.js} +6 -13
  6. package/dist/excel.css +142 -127
  7. package/dist/{exceljs.min-DYYU4xe-.js → exceljs.min-CXjktZ33.js} +1 -1
  8. package/dist/{font-editor-hpUeXFv_.js → font-editor-DAcmrW2A.js} +1 -1
  9. package/dist/{index-DKAk8Fzf.js → index-4-w7U148.js} +1 -2
  10. package/dist/{index-BWvyGnI_.js → index-B0o6GTve.js} +1 -2
  11. package/dist/{index-DP1WApp-.js → index-BA3994iB.js} +0 -1
  12. package/dist/{index-Crs2UUiJ.js → index-BH4YqNzS.js} +1 -2
  13. package/dist/{index-557u9lSs.js → index-BJj0R1JE.js} +0 -1
  14. package/dist/{index-DULgJ5M_.js → index-BNjowwSy.js} +0 -1
  15. package/dist/{index-tRVTXeIS.js → index-BRKs8S7h.js} +1 -2
  16. package/dist/{index-BEyidTCC.js → index-BRV9V8ld.js} +0 -1
  17. package/dist/{index-HNE-yLqK.js → index-BVCrUywZ.js} +1 -2
  18. package/dist/{index-B8tTsX2y.js → index-BlFNgjr-.js} +1 -2
  19. package/dist/{index-CLyowrpG.js → index-BlZQjpdp.js} +1 -2
  20. package/dist/{index-BboAW45l.js → index-BvYfYS4D.js} +2 -3
  21. package/dist/{index-CA25B2UR.js → index-C8AH07MC.js} +1 -2
  22. package/dist/{index-BaC0Py3z.js → index-CCNBotX0.js} +257 -230
  23. package/dist/{index-D3t6B-9k.js → index-CNBwsBrN.js} +0 -1
  24. package/dist/{index-D9pfqRAP.js → index-CQ9v7Q0g.js} +3 -4
  25. package/dist/{index-BezxcVwZ.js → index-CeoXayAy.js} +1 -2
  26. package/dist/{index-CUhR3L97.js → index-D06X_Sz7.js} +2 -3
  27. package/dist/{index-3n5gOxbD.js → index-D1m06PsY.js} +1 -2
  28. package/dist/{index-B9q2iVJw.js → index-D72ZxU1B.js} +2 -3
  29. package/dist/{index-D1C_tY7a.js → index-D9SThznm.js} +0 -1
  30. package/dist/{index-BY7_uLSS.js → index-DALo6h-z.js} +0 -1
  31. package/dist/{index-Bfrtgjub.js → index-DRF0yT-Y.js} +1 -2
  32. package/dist/{index-CUhlQ0aK.js → index-DScv6Lhe.js} +2 -3
  33. package/dist/{index-CRj08TWu.js → index-DUgFd0ON.js} +1 -2
  34. package/dist/{index-YuHHwSzv.js → index-DWPgvBzt.js} +0 -1
  35. package/dist/{index-Dfs0gE3N.js → index-Dn7Za3rP.js} +1 -2
  36. package/dist/{index-DX1Nqubf.js → index-H2lP-HBC.js} +1 -2
  37. package/dist/{index-Bxgg0txy.js → index-IAfu2tPO.js} +0 -1
  38. package/dist/{index-BcfmxYW-.js → index-KnPqm-JT.js} +1 -2
  39. package/dist/{index-CZv8lo_f.js → index-kQi_q492.js} +1 -2
  40. package/dist/{index-D6T0GkNc.js → index-qKN7-uGo.js} +1 -2
  41. package/dist/{index-sQI9wXhV.js → index-vOd76hbp.js} +0 -1
  42. package/dist/{index-DPiPri6e.js → index-ywxJkkJ_.js} +1 -2
  43. package/dist/index.es.js +2 -4
  44. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Cxs9ZecX.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CqKkoSRa.js} +0 -1
  45. package/dist/{pagination-design-lgUGQHWo.js → pagination-design-6xxPBIk-.js} +1 -2
  46. package/dist/paper-widget-design-CUk1634i.js +4 -0
  47. package/dist/{print-runtime-instance-MxA8-bHV.js → print-runtime-instance-D8QAHAsd.js} +1 -1
  48. package/dist/{print-snapshot-renderer-D6sRzdVe.js → print-snapshot-renderer-BDrHYena.js} +3 -3
  49. package/dist/{qrcode-design-DCgtf75a.js → qrcode-design-CBDd-S2d.js} +1 -1
  50. package/dist/seal-design-DNrW57Za.js +4 -0
  51. package/dist/shared/index.es.js +1 -1
  52. package/dist/{single-field-drop-rKr_LXW8.js → single-field-drop-1eS6_6ko.js} +1 -1
  53. package/dist/src/index.d.ts +0 -6
  54. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +0 -3
  55. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +0 -39
  56. package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -21
  57. package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
  58. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -5
  59. package/dist/src/nocode-base/src/types/common/base.d.ts +0 -2
  60. package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
  61. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +0 -124
  62. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +0 -62
  63. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +0 -6
  64. package/dist/src/online-form/src/views/designer/types/index.d.ts +0 -5
  65. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
  66. package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +0 -1
  67. package/dist/{sub-table-factory-DLXJkTHY.js → sub-table-factory-D8KUikPE.js} +1 -1
  68. package/dist/{text-design-Dd5uT-hc.js → text-design-BkvEuU7u.js} +1 -2
  69. package/dist/{timediff-design-DhxYymPd.js → timediff-design-BFf9WtJn.js} +0 -1
  70. package/dist/{trace-like-wrapper-CczUTJwp.js → trace-like-wrapper-SPo5HVCt.js} +1 -2
  71. package/dist/{value-editor.vue_vue_type_style_index_0_lang-BzAhq5rc.js → value-editor.vue_vue_type_style_index_0_lang-BzVvcoTa.js} +1 -2
  72. package/dist/web-render/index.es.js +0 -1
  73. package/dist/{widget-barcode-BrLmLnCd.js → widget-barcode-B_aUPEfd.js} +2 -3
  74. package/dist/{widget-diagonal-CIg1Yn3D.js → widget-diagonal-D32J64HV.js} +2 -3
  75. package/dist/{widget-image-bPGudw8R.js → widget-image-BOOWwiSe.js} +3 -3
  76. package/dist/{widget-line-Dw1mkN0H.js → widget-line-xVHcCE1_.js} +1 -2
  77. package/dist/{widget-pagination-C2ylpEkR.js → widget-pagination-B0Bq_gL5.js} +2 -3
  78. package/dist/{widget-power-Ceni1m5s.js → widget-power-TNCB2u1G.js} +2 -3
  79. package/dist/{widget-qrcode-dHuN8ZTP.js → widget-qrcode-gVSwYuKp.js} +2 -3
  80. package/dist/{widget-rangelimit-DkZwe6ix.js → widget-rangelimit-BO7Z_5N9.js} +2 -2
  81. package/dist/{widget-serialnumber-Dz2_gK_C.js → widget-serialnumber-BX83djNf.js} +1 -1
  82. package/dist/{widget-text-BIMT_dmX.js → widget-text-CIqov_wj.js} +3 -3
  83. package/dist/{widget-timediff-LoUQBpX7.js → widget-timediff-kFxxm2hM.js} +1 -2
  84. package/package.json +2 -2
  85. package/dist/paper-widget-design-B6GKQFw2.js +0 -4
  86. package/dist/seal-design-CJO9Kmm0.js +0 -4
  87. package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -45
@@ -3,13 +3,13 @@ import { computed, unref, ref, defineComponent, onMounted, resolveComponent, ope
3
3
  import { g as getAllDataProfiles, i as isDataTableProfile, a as getProfile, b as isBusinessSubTableProfile, c as getProfileByTableType, r as resolveCreateTargetByTableType, d as getBusinessProfileByRefModelType, S as SUB_TABLE_PANEL_TYPE_NAME, e as expandAutofillTemplates, f as SubTableType, h as getAllBusinessRefModelTypes, D as DateObjectContext, j as isBlank$1, F as FIELD_TYPE, k as isSameFieldValue$1, l as runDateObjectHandler, m as companionIdKey, n as companionLabelKey, P as PaginationFormat, o as PaperWidgeType, B as BwipCodeType, L as LineType, p as PageSizeEnum, O as Orientation, s as src, T as TRACE_FIELD_TYPES, q as BUSINESS_FIELD_TYPES, t as resolveFieldRenderComponent, C as ComponentTypeEnum, u as parse$1, v as estraverse, w as Syntax, x as isDynamicCreateTarget, y as CellType, z as isDynamicCellSubTable, A as ParamModelTypeEnum, E as api, G as FieldTypeToJs, H as CreateType, I as uuid2, J as useModal, K as requireEstraverse, M as commonjsGlobal, N as getDefaultExportFromCjs, Q as PaperWidgeValueType, R as getParseFormulaVarInfos, U as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, V as UniqueConstraintType, X as FieldDefaultValueTypeEnum, Y as FormTypeEnum, Z as mitt, _ as isDateObjectField, $ as PlatformEnum, a0 as LabelPosition, a1 as BooleanShowMode, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum, a8 as _export_sfc, a9 as normalizeFieldType, aa as PaperSizeMap, ab as clampSealPosition, ac as normalizeSealDiameter, ad as getFieldMain, ae as buildUUID, af as FieldIconMap, ag as BigNumber, ah as FieldSysVarDefaultValueEnum, ai as CellWidgetViewState, aj as DiagonalDirection, ak as WidgetImageSizeMode, al as LineDirection, am as TimeDiffFormat, an as DiagonalVertex, ao as resolveDiagonalVertex, ap as getThemeColorByTableType, aq as ViewTypeEnum, ar as isDynamicSubTablePanelType, as as isFixedSubTablePanelType, at as ExpressionModeEnum, au as ReturnTypeEnum, av as ExpressionTabEnum, aw as RangeValidateMode, ax as RangeCompareOp, ay as DecimalDisplayMode$1, az as ImageDisplayModeEnum, aA as FormDesignEnum, aB as BASIC_FIELD_TYPES, aC as getExclusiveBusinessTypeTokens, aD as getSubTableTypeByRefModelType, aE as getAllTableProfiles, aF as transformUtils, aG as EmptySymbol, aH as ASSIGNMENTSTRATEGY_ENUM, aI as Dependency_ENUM, aJ as EntityModelCategoryEnum, aK as resolveLotDisplayLabel, aL as CheckDsTypeEnum, aM as DeviceLink, aN as DeviceParamsTypeTitle, aO as AITooltips, aP as DenoiseMethodOptions, aQ as BinarizeMethodOptions, aR as JoinModelTypeEum, aS as sqlUtils, aT as DateFormat, aU as LOT_CONTAINER_ROLE, aV as buildLotSnListQuery, aW as renderUtils, aX as resolveLotRecordByValue, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, a$ as BindCmpStyleEnum, b0 as getParseRuleInfo, b1 as getParseRuleValue, b2 as normalizeRefLoaderResult, b3 as STOCKTAKE_DIMENSION, b4 as F, b5 as resolveStocktakeSelectApi, b6 as readSealValue, b7 as isSealStamped, b8 as RenderModeEnum, b9 as stampSealValue, ba as isValidSealValue, bb as clearSealValue, bc as normalizeProductionContainerOptions, bd as buildProductionLotListQuery, be as refUtils, bf as buildInspectionLotListQuery, bg as buildDeviceFilterQuery, bh as DEVICE_GROUP_QUERY_KEY, bi as getRowId, bj as findRuntimeTableRow, bk as calculateFormula, bl as findRuntimeParentRow, bm as useOnlineFormTransformField2Component, bn as FormulaRuleFieldKeyEnum, bo as formulaRuleFieldDict, bp as resolveDesignPanelFeatures, bq as BIZ_TABLE_CONFIG_SEED_TYPES, br as STOCKTAKE_DIMENSION_OPTIONS, bs as isRepeatingSubTablePanelType, bt as moveSealValue, bu as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
4
4
  import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, omit, has, debounce, isNil, times, clone as clone$3, differenceBy, last, mapValues, set as set$2, hasIn, isEqual } from "lodash-es";
5
5
  import dayjs from "dayjs";
6
- import { DataSourceChangeEvent, useFormBaseModal, getBuiltinContextFields, DataSources, FieldFills, FormBaseModalPlugin } from "@gct-paas/form-base";
7
6
  import * as Antd from "ant-design-vue";
8
7
  import { message, Modal, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
9
- import { M as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, a as normalizeHistoricalBusinessRow, b as DeviceLinkTmplUtil, d as normalizeAIOcrTmpl, e as useWidgetStaticAttrs, f as useRuntimeInstanceServices, s as setSelectValidatorId, h as setSelectAnnotationId, i as useRuntimeRowState, j as getObjectBomMaterialLotQuery, k as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, l as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, m as resolveObjectBomEntry, o as runWithFillProduct, p as useNocodeFormWidget, q as applyConsumeObjectTraceChange, t as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, w as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, x as parseRuntimeFieldPath, y as useStyles, z as useDependency, A as useFieldPresentation, C as useRuntimeEditorFlusher, R as RuntimeFormStateStore, F as createRuntimeInstanceContext, G as RuntimeInstanceRegistry, S as ScanParamType, H as RequiredQtyCalcRule, I as registerFormulaFuncs, J as DocumentPaper, K as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-zR6VwiFi.js";
10
- import { S as SEARCH_SEVICE, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6s } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Cxs9ZecX.js";
8
+ import { M as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, a as normalizeHistoricalBusinessRow, b as DeviceLinkTmplUtil, d as normalizeAIOcrTmpl, e as useWidgetStaticAttrs, f as useRuntimeInstanceServices, s as setSelectValidatorId, h as setSelectAnnotationId, i as useRuntimeRowState, j as getObjectBomMaterialLotQuery, k as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, l as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, m as resolveObjectBomEntry, o as runWithFillProduct, p as useNocodeFormWidget, q as applyConsumeObjectTraceChange, t as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, w as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, x as parseRuntimeFieldPath, y as useStyles, z as useDependency, A as useFieldPresentation, C as useRuntimeEditorFlusher, R as RuntimeFormStateStore, F as createRuntimeInstanceContext, G as RuntimeInstanceRegistry, S as ScanParamType, H as RequiredQtyCalcRule, I as registerFormulaFuncs, J as DocumentPaper, K as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-DFnvJWw-.js";
9
+ import { S as SEARCH_SEVICE, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6s } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CqKkoSRa.js";
11
10
  import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
12
11
  import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6t, h as initWebNocodeAdapter } from "./index-CXBwY7ba.js";
12
+ import { useFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
13
13
  import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
14
14
  import { u as useFormModel, F as FormModelController } from "./mb-render-jAsNtPqY.js";
15
15
  import { HttpUtil } from "@gct-paas/api";
@@ -1270,7 +1270,7 @@ function openWindow(url, opt) {
1270
1270
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
1271
1271
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
1272
1272
  async function createWorkbook() {
1273
- const ExcelJs = (await import("./exceljs.min-DYYU4xe-.js").then((n) => n.e)).default;
1273
+ const ExcelJs = (await import("./exceljs.min-CXjktZ33.js").then((n) => n.e)).default;
1274
1274
  return new ExcelJs.Workbook();
1275
1275
  }
1276
1276
  class XlsxParser {
@@ -1534,18 +1534,20 @@ class XlsxParser {
1534
1534
  static _field2Meta(field, keyList) {
1535
1535
  const { type, required } = field;
1536
1536
  field.required = required === $t("sys.true") ? 1 : 0;
1537
- const filterFieldTypeLabels = FieldTypeLabels?.filter(([key, type2]) => {
1538
- const { businessSetting } = window.NocodeAdapter.hooks?.useBusinessSetting?.();
1537
+ const filterFieldTypeLabels = FieldTypeLabels.filter(([key]) => {
1538
+ const businessSetting = window.NocodeAdapter.hooks?.useBusinessSetting?.()?.businessSetting;
1539
1539
  if (window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR" && !businessSetting?.enableUserField) {
1540
1540
  return key !== FIELD_TYPE.USER && key !== FIELD_TYPE.USER_MULTI;
1541
1541
  }
1542
1542
  return true;
1543
1543
  });
1544
- const fieldType = filterFieldTypeLabels.find((f) => f[1] === type);
1545
- if (fieldType) {
1546
- field.type = fieldType[0];
1544
+ if (type === "工序") {
1545
+ field.type = field.key?.startsWith(`${FIELD_TYPE.OPERATION}_`) ? FIELD_TYPE.OPERATION : FIELD_TYPE.ROUTING_OPERATION;
1546
+ } else if (type === "生产日期") {
1547
+ field.type = FIELD_TYPE.PRODUCTION_DATE;
1547
1548
  } else {
1548
- field.type = FIELD_TYPE.TEXT;
1549
+ const fieldType = filterFieldTypeLabels.find((f) => f[1] === type);
1550
+ field.type = fieldType?.[0] ?? FIELD_TYPE.TEXT;
1549
1551
  }
1550
1552
  if (isTypeInGroup(field.type, BUSINESS_FIELD_TYPES)) {
1551
1553
  field.tmpOldKey = field.key;
@@ -1592,39 +1594,39 @@ class XlsxParser {
1592
1594
  }
1593
1595
  function asyncImportClassModules() {
1594
1596
  const modules = /* @__PURE__ */ Object.assign({
1595
- "./_field_/auto-complete/index.ts": () => import("./index-CUhlQ0aK.js").then((m) => m["default"]),
1596
- "./_field_/datepicker/index.ts": () => import("./index-BezxcVwZ.js").then((m) => m["default"]),
1597
- "./_field_/datetimepicker/index.ts": () => import("./index-CA25B2UR.js").then((m) => m["default"]),
1598
- "./_field_/department/index.ts": () => import("./index-BWvyGnI_.js").then((m) => m["default"]),
1599
- "./_field_/enum-select/index.ts": () => import("./index-B9q2iVJw.js").then((m) => m["default"]),
1600
- "./_field_/input/index.ts": () => import("./index-DPiPri6e.js").then((m) => m["default"]),
1601
- "./_field_/inputdouble/index.ts": () => import("./index-B8tTsX2y.js").then((m) => m["default"]),
1602
- "./_field_/inputnumber/index.ts": () => import("./index-Dfs0gE3N.js").then((m) => m["default"]),
1603
- "./_field_/rdo-select/index.ts": () => import("./index-CUhR3L97.js").then((m) => m["default"]),
1604
- "./_field_/seal/index.ts": () => import("./index-Bfrtgjub.js").then((m) => m["default"]),
1605
- "./_field_/select/index.ts": () => import("./index-BboAW45l.js").then((m) => m["default"]),
1606
- "./_field_/sign/index.ts": () => import("./index-D6T0GkNc.js").then((m) => m["default"]),
1607
- "./_field_/switch/index.ts": () => import("./index-D9pfqRAP.js").then((m) => m["default"]),
1608
- "./_field_/textarea/index.ts": () => import("./index-Crs2UUiJ.js").then((m) => m["default"]),
1609
- "./_field_/timepicker/index.ts": () => import("./index-tRVTXeIS.js").then((m) => m["default"]),
1610
- "./_field_/upload-file/index.ts": () => import("./index-BcfmxYW-.js").then((m) => m["default"]),
1611
- "./_field_/upload-image/index.ts": () => import("./index-CRj08TWu.js").then((m) => m["default"]),
1612
- "./_field_/userpicker/index.ts": () => import("./index-3n5gOxbD.js").then((m) => m["default"]),
1613
- "./_widget_/barcode/index.ts": () => import("./index-D3t6B-9k.js").then((m) => m["default"]),
1614
- "./_widget_/combine-fields/index.ts": () => import("./index-DKAk8Fzf.js").then((m) => m["default"]),
1615
- "./_widget_/diagonal/index.ts": () => import("./index-CLyowrpG.js").then((m) => m["default"]),
1616
- "./_widget_/dyn-value/index.ts": () => import("./index-HNE-yLqK.js").then((m) => m["default"]),
1617
- "./_widget_/image/index.ts": () => import("./index-BEyidTCC.js").then((m) => m["default"]),
1618
- "./_widget_/line/index.ts": () => import("./index-sQI9wXhV.js").then((m) => m["default"]),
1619
- "./_widget_/power/index.ts": () => import("./index-DULgJ5M_.js").then((m) => m["default"]),
1620
- "./_widget_/qrcode/index.ts": () => import("./index-BY7_uLSS.js").then((m) => m["default"]),
1621
- "./_widget_/ro/index.ts": () => import("./index-D1C_tY7a.js").then((m) => m["default"]),
1622
- "./_widget_/serialnumber/index.ts": () => import("./index-YuHHwSzv.js").then((m) => m["default"]),
1623
- "./_widget_/sub-table/index.ts": () => import("./index-DP1WApp-.js").then((m) => m["default"]),
1624
- "./_widget_/timediff/index.ts": () => import("./index-Bxgg0txy.js").then((m) => m["default"]),
1625
- "./paper/index.ts": () => import("./index-557u9lSs.js").then((m) => m["default"]),
1626
- "./td/index.ts": () => import("./index-DX1Nqubf.js").then((m) => m["default"]),
1627
- "./tr/index.ts": () => import("./index-CZv8lo_f.js").then((m) => m["default"])
1597
+ "./_field_/auto-complete/index.ts": () => import("./index-DScv6Lhe.js").then((m) => m["default"]),
1598
+ "./_field_/datepicker/index.ts": () => import("./index-CeoXayAy.js").then((m) => m["default"]),
1599
+ "./_field_/datetimepicker/index.ts": () => import("./index-C8AH07MC.js").then((m) => m["default"]),
1600
+ "./_field_/department/index.ts": () => import("./index-B0o6GTve.js").then((m) => m["default"]),
1601
+ "./_field_/enum-select/index.ts": () => import("./index-D72ZxU1B.js").then((m) => m["default"]),
1602
+ "./_field_/input/index.ts": () => import("./index-ywxJkkJ_.js").then((m) => m["default"]),
1603
+ "./_field_/inputdouble/index.ts": () => import("./index-BlFNgjr-.js").then((m) => m["default"]),
1604
+ "./_field_/inputnumber/index.ts": () => import("./index-Dn7Za3rP.js").then((m) => m["default"]),
1605
+ "./_field_/rdo-select/index.ts": () => import("./index-D06X_Sz7.js").then((m) => m["default"]),
1606
+ "./_field_/seal/index.ts": () => import("./index-DRF0yT-Y.js").then((m) => m["default"]),
1607
+ "./_field_/select/index.ts": () => import("./index-BvYfYS4D.js").then((m) => m["default"]),
1608
+ "./_field_/sign/index.ts": () => import("./index-qKN7-uGo.js").then((m) => m["default"]),
1609
+ "./_field_/switch/index.ts": () => import("./index-CQ9v7Q0g.js").then((m) => m["default"]),
1610
+ "./_field_/textarea/index.ts": () => import("./index-BH4YqNzS.js").then((m) => m["default"]),
1611
+ "./_field_/timepicker/index.ts": () => import("./index-BRKs8S7h.js").then((m) => m["default"]),
1612
+ "./_field_/upload-file/index.ts": () => import("./index-KnPqm-JT.js").then((m) => m["default"]),
1613
+ "./_field_/upload-image/index.ts": () => import("./index-DUgFd0ON.js").then((m) => m["default"]),
1614
+ "./_field_/userpicker/index.ts": () => import("./index-D1m06PsY.js").then((m) => m["default"]),
1615
+ "./_widget_/barcode/index.ts": () => import("./index-CNBwsBrN.js").then((m) => m["default"]),
1616
+ "./_widget_/combine-fields/index.ts": () => import("./index-4-w7U148.js").then((m) => m["default"]),
1617
+ "./_widget_/diagonal/index.ts": () => import("./index-BlZQjpdp.js").then((m) => m["default"]),
1618
+ "./_widget_/dyn-value/index.ts": () => import("./index-BVCrUywZ.js").then((m) => m["default"]),
1619
+ "./_widget_/image/index.ts": () => import("./index-BRV9V8ld.js").then((m) => m["default"]),
1620
+ "./_widget_/line/index.ts": () => import("./index-vOd76hbp.js").then((m) => m["default"]),
1621
+ "./_widget_/power/index.ts": () => import("./index-BNjowwSy.js").then((m) => m["default"]),
1622
+ "./_widget_/qrcode/index.ts": () => import("./index-DALo6h-z.js").then((m) => m["default"]),
1623
+ "./_widget_/ro/index.ts": () => import("./index-D9SThznm.js").then((m) => m["default"]),
1624
+ "./_widget_/serialnumber/index.ts": () => import("./index-DWPgvBzt.js").then((m) => m["default"]),
1625
+ "./_widget_/sub-table/index.ts": () => import("./index-BA3994iB.js").then((m) => m["default"]),
1626
+ "./_widget_/timediff/index.ts": () => import("./index-IAfu2tPO.js").then((m) => m["default"]),
1627
+ "./paper/index.ts": () => import("./index-BJj0R1JE.js").then((m) => m["default"]),
1628
+ "./td/index.ts": () => import("./index-H2lP-HBC.js").then((m) => m["default"]),
1629
+ "./tr/index.ts": () => import("./index-kQi_q492.js").then((m) => m["default"])
1628
1630
  });
1629
1631
  return modules;
1630
1632
  }
@@ -2240,8 +2242,6 @@ function compileRuntimeFormConfig(formConfig2) {
2240
2242
  unitConversionRules: cloneDeep(formConfig2.unitConversionRules ?? []),
2241
2243
  inspectionDecisionRule: cloneDeep(formConfig2.inspectionDecisionRule),
2242
2244
  customDataSource,
2243
- dataSources: cloneDeep(formConfig2.dataSources ?? []),
2244
- fieldFills: cloneDeep(formConfig2.fieldFills ?? []),
2245
2245
  objectInitialValues: cloneDeep(formConfig2.objectInitialValues ?? []),
2246
2246
  javascript: CodeRunner.buildRuntimeJs(formConfig2.javascript ?? "")
2247
2247
  };
@@ -3260,8 +3260,6 @@ const FORM_CONFIG_KEYS = [
3260
3260
  "unitConversionRules",
3261
3261
  "inspectionDecisionRule",
3262
3262
  "customDataSource",
3263
- "dataSources",
3264
- "fieldFills",
3265
3263
  "objectInitialValues",
3266
3264
  "checkTableDataSource",
3267
3265
  "checkSignatureConfig",
@@ -8521,6 +8519,10 @@ function handleFrontFieldType(data) {
8521
8519
  data.type = FIELD_TYPE.REF;
8522
8520
  data.bizType = FIELD_TYPE.MODEL_RELATION;
8523
8521
  }
8522
+ if (data.type === FIELD_TYPE.OPERATION) {
8523
+ data.type = FIELD_TYPE.REF;
8524
+ data.bizType = FIELD_TYPE.OPERATION;
8525
+ }
8524
8526
  if (data.type === FIELD_TYPE.EXTERNAL_REF_NO) {
8525
8527
  data.type = FIELD_TYPE.TEXT;
8526
8528
  data.bizType = FIELD_TYPE.EXTERNAL_REF_NO;
@@ -8604,6 +8606,10 @@ const callBacks = {};
8604
8606
  function useReverseModeling() {
8605
8607
  const { masterModel: masterModel2, modelMetaMap: modelMetaMap2 } = useModelFields();
8606
8608
  const TYPE_MAP = {
8609
+ [FIELD_TYPE.OPERATION]: {
8610
+ bindInfo: "em_operation",
8611
+ exprInEditor: $t("sys.onlineForm.processName")
8612
+ },
8607
8613
  [FIELD_TYPE.PRODUCT]: {
8608
8614
  bindInfo: "em_product",
8609
8615
  exprInEditor: $t("sys.name")
@@ -8777,6 +8783,9 @@ function useReverseModeling() {
8777
8783
  refModelSource: "BUILTIN"
8778
8784
  });
8779
8785
  }
8786
+ if (bizType === FIELD_TYPE.OPERATION) {
8787
+ Object.assign(field, getFieldConfig(bizType));
8788
+ }
8780
8789
  console.log("getFieldDTO", field);
8781
8790
  return field;
8782
8791
  }
@@ -9195,6 +9204,14 @@ const setActive = (sheetId) => {
9195
9204
  const getSheet = (paperId) => {
9196
9205
  return sheetsData$1.value.find((item) => item.sheetId === paperId);
9197
9206
  };
9207
+ const alignSheetColumns = (sheet) => {
9208
+ const { paper: paper2 } = sheet;
9209
+ const colCount = paper2.cols.length;
9210
+ paper2.cells = paper2.cells.map(
9211
+ (row) => Array.from({ length: colCount }, (_, index2) => row[index2] ?? {})
9212
+ );
9213
+ paper2.mergedCells = paper2.mergedCells.filter((range2) => range2.l < colCount).map((range2) => ({ ...range2, r: Math.min(range2.r, colCount - 1) }));
9214
+ };
9198
9215
  const designerSheetsSnapshot = () => sheetsData$1.value.map(({ sheetId, title, paper: paper2 }) => ({
9199
9216
  sheetId,
9200
9217
  title,
@@ -9287,6 +9304,7 @@ const useAllSpreadSheets = () => {
9287
9304
  designerConfig.value = { mainModelKey, modelMetaMap: modelMetaMap2 };
9288
9305
  formConfig$3.value = cloneDeep(designer.formConfig);
9289
9306
  sheetsData$1.value = cloneDeep(designer.sheets);
9307
+ sheetsData$1.value.forEach(alignSheetColumns);
9290
9308
  mergeFormTmplBomList(info.formTmplBomList);
9291
9309
  mergeFormTmplObjectBomList(info.formTmplObjectBomList);
9292
9310
  initialize({ fieldReplace: fieldReplaceCb, modelMetaMap: modelMetaMap2 });
@@ -9347,6 +9365,7 @@ const useAllSpreadSheets = () => {
9347
9365
  sheetId
9348
9366
  })
9349
9367
  };
9368
+ alignSheetColumns(sheet);
9350
9369
  cacheStep();
9351
9370
  sheetsData$1.value.push(sheet);
9352
9371
  changeActiveSheet(sheet);
@@ -9391,7 +9410,7 @@ const useAllSpreadSheets = () => {
9391
9410
  }
9392
9411
  sheetsData$1.value = importedSheets.map((item) => {
9393
9412
  const sheetId = uuid2(16);
9394
- return {
9413
+ const sheet = {
9395
9414
  sheetId,
9396
9415
  title: item.title.trim(),
9397
9416
  paper: stripLegacyDesignerPaperConfig({
@@ -9400,6 +9419,8 @@ const useAllSpreadSheets = () => {
9400
9419
  sheetId
9401
9420
  })
9402
9421
  };
9422
+ alignSheetColumns(sheet);
9423
+ return sheet;
9403
9424
  });
9404
9425
  const first = sheetsData$1.value[0];
9405
9426
  if (!first) throw new Error("至少保留一个工作表");
@@ -9480,6 +9501,7 @@ const useAllSpreadSheets = () => {
9480
9501
  }
9481
9502
  function saveSheets2(isEasyEdition2) {
9482
9503
  try {
9504
+ sheetsData$1.value.forEach(alignSheetColumns);
9483
9505
  validateSheetsBeforeSave();
9484
9506
  if (isEasyEdition2) {
9485
9507
  const { clearUnusedModel } = useReverseModeling();
@@ -11941,15 +11963,19 @@ function useSpreadSheet() {
11941
11963
  sheet.paperFields.forEach((item) => {
11942
11964
  const fieldKey = item.fieldKey || fieldNameKeyMap.get(item.fieldName);
11943
11965
  const config2 = getFieldConfig(item.fieldType);
11966
+ const fieldMeta = modelMetaMap2.value[doc.value.modelKey]?.fields.find(
11967
+ (field) => field.key === fieldKey
11968
+ );
11944
11969
  const bindField = {
11945
11970
  field: fieldKey,
11946
11971
  fieldLink: fieldKey,
11947
- fieldType: item.fieldType,
11972
+ fieldType: fieldMeta?.type ?? item.fieldType,
11973
+ bizType: fieldMeta?.bizType ?? void 0,
11948
11974
  model: doc.value.modelKey,
11949
11975
  modelLink: doc.value.modelKey,
11950
11976
  isFieldModel: false,
11951
11977
  createType: CreateType.USER_DEFINED,
11952
- refModelKey: config2?.bindInfo
11978
+ refModelKey: fieldMeta?.bindInfo ?? config2?.bindInfo
11953
11979
  };
11954
11980
  const cell = sheet.paper.cells[item.y - 1]?.[item.x - 1];
11955
11981
  if (!cell) return;
@@ -13924,7 +13950,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
13924
13950
  };
13925
13951
  }
13926
13952
  });
13927
- const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6b, [["__scopeId", "data-v-c2f901c8"]]);
13953
+ const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6b, [["__scopeId", "data-v-62ffc455"]]);
13928
13954
  const FieldDesignComponents = {
13929
13955
  "fw:input": FakeInput,
13930
13956
  "fw:number": FakeNumberInput,
@@ -14006,8 +14032,9 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
14006
14032
  () => !showOuterAffix.value && Boolean(props2.fieldWidget.prefix || props2.fieldWidget.suffix)
14007
14033
  );
14008
14034
  const hasAnyAffix = computed(() => Boolean(props2.fieldWidget.prefix || props2.fieldWidget.suffix));
14035
+ const preserveAffixWidth = computed(() => !readonly.value && hasAnyAffix.value);
14009
14036
  const wrapperSizeStyle = computed(() => ({
14010
- width: readonly.value ? void 0 : hasAnyAffix.value ? "fit-content" : `${normalizedCompWidth.value}px`
14037
+ width: readonly.value ? void 0 : preserveAffixWidth.value ? "max-content" : `${normalizedCompWidth.value}px`
14011
14038
  }));
14012
14039
  const compSizeStyle = computed(() => {
14013
14040
  const { compHeight } = props2.fieldWidget;
@@ -14015,7 +14042,7 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
14015
14042
  // height: isNil(compHeight) ? undefined : compHeight + 'px',
14016
14043
  "--cmp-height": isNil(compHeight) ? void 0 : compHeight + "px",
14017
14044
  "--cmp-width": `${normalizedCompWidth.value}px`,
14018
- width: hasInnerAffix.value ? "fit-content" : `${normalizedCompWidth.value}px`
14045
+ width: hasInnerAffix.value ? "max-content" : `${normalizedCompWidth.value}px`
14019
14046
  };
14020
14047
  });
14021
14048
  const disabled = computed(() => {
@@ -14041,7 +14068,8 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
14041
14068
  "cell-widget-design",
14042
14069
  {
14043
14070
  "cell-widget-design--with-prefix": hasOuterPrefix.value,
14044
- "cell-widget-design--with-suffix": hasOuterSuffix.value
14071
+ "cell-widget-design--with-suffix": hasOuterSuffix.value,
14072
+ "cell-widget-design--fixed-affix": preserveAffixWidth.value
14045
14073
  }
14046
14074
  ]),
14047
14075
  style: normalizeStyle([styleVars.value, wrapperSizeStyle.value])
@@ -14061,7 +14089,7 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
14061
14089
  };
14062
14090
  }
14063
14091
  });
14064
- const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$6a, [["__scopeId", "data-v-4b1a3864"]]);
14092
+ const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$6a, [["__scopeId", "data-v-7ee5f38b"]]);
14065
14093
  const cellWidgetDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14066
14094
  __proto__: null,
14067
14095
  default: CellWidgetDesign
@@ -15094,7 +15122,7 @@ function asyncImportWidgetConfigList() {
15094
15122
  return widgetConfigList;
15095
15123
  }
15096
15124
  function asyncImportWidgetDesign() {
15097
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-CJO9Kmm0.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-B7AoHzux.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-CeYHDi2e.js"), "./image/image-design.vue": () => import("./image-design-BnDK5Jwf.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-lgUGQHWo.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-B6GKQFw2.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-DCgtf75a.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-eXgfrjw9.js"), "./text/text-design.vue": () => import("./text-design-Dd5uT-hc.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DhxYymPd.js") });
15125
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-DNrW57Za.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-CKbMreUi.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-DEz3_fE8.js"), "./image/image-design.vue": () => import("./image-design-BnDK5Jwf.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-6xxPBIk-.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-CUk1634i.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-CBDd-S2d.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-eXgfrjw9.js"), "./text/text-design.vue": () => import("./text-design-BkvEuU7u.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-BFf9WtJn.js") });
15098
15126
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
15099
15127
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
15100
15128
  if (mKey) {
@@ -23095,7 +23123,7 @@ const _hoisted_3$1L = ["width"];
23095
23123
  const _hoisted_4$1d = ["data-y", "height"];
23096
23124
  const _hoisted_5$X = { style: { "position": "relative" } };
23097
23125
  const _hoisted_6$H = ["onMouseenter"];
23098
- const _hoisted_7$t = ["onClick"];
23126
+ const _hoisted_7$s = ["onClick"];
23099
23127
  const _sfc_main$5A = /* @__PURE__ */ defineComponent({
23100
23128
  __name: "table-y",
23101
23129
  setup(__props) {
@@ -23172,7 +23200,7 @@ const _sfc_main$5A = /* @__PURE__ */ defineComponent({
23172
23200
  createElementVNode("i", {
23173
23201
  class: "iconfont icon-tianjia hover-icon",
23174
23202
  onClick: (e) => addRow(e, rowIndex + 1)
23175
- }, null, 8, _hoisted_7$t)
23203
+ }, null, 8, _hoisted_7$s)
23176
23204
  ], 42, _hoisted_6$H)
23177
23205
  ]),
23178
23206
  createElementVNode("td", {
@@ -24518,7 +24546,7 @@ const _hoisted_3$1E = { style: {
24518
24546
  const _hoisted_4$18 = { class: "color-picker-middle" };
24519
24547
  const _hoisted_5$T = { style: { "flex": "auto" } };
24520
24548
  const _hoisted_6$F = { class: "color-picker-diamond" };
24521
- const _hoisted_7$s = { class: "color-picker-value" };
24549
+ const _hoisted_7$r = { class: "color-picker-value" };
24522
24550
  const _hoisted_8$m = { class: "hex" };
24523
24551
  const _hoisted_9$g = ["value"];
24524
24552
  const _hoisted_10$e = { class: "rgba-r" };
@@ -24964,7 +24992,7 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
24964
24992
  }, null, 4)
24965
24993
  ])
24966
24994
  ]),
24967
- createElementVNode("div", _hoisted_7$s, [
24995
+ createElementVNode("div", _hoisted_7$r, [
24968
24996
  createElementVNode("div", _hoisted_8$m, [
24969
24997
  createElementVNode("label", null, [
24970
24998
  createElementVNode("input", {
@@ -25230,7 +25258,7 @@ const _hoisted_6$E = {
25230
25258
  key: 0,
25231
25259
  class: "inline-media-modal__body icon-picker"
25232
25260
  };
25233
- const _hoisted_7$r = ["aria-label"];
25261
+ const _hoisted_7$q = ["aria-label"];
25234
25262
  const _hoisted_8$l = {
25235
25263
  key: 0,
25236
25264
  class: "icon-picker__group-block"
@@ -25576,7 +25604,7 @@ const _sfc_main$5i = /* @__PURE__ */ defineComponent({
25576
25604
  }), 128))
25577
25605
  ])) : createCommentVNode("", true)
25578
25606
  ])
25579
- ], 8, _hoisted_7$r),
25607
+ ], 8, _hoisted_7$q),
25580
25608
  createElementVNode("main", _hoisted_18$2, [
25581
25609
  createElementVNode("label", _hoisted_19$2, [
25582
25610
  createElementVNode("img", {
@@ -25810,7 +25838,7 @@ const _hoisted_3$1C = { class: "designer__toolbar__left__second" };
25810
25838
  const _hoisted_4$16 = { class: "second__top" };
25811
25839
  const _hoisted_5$R = { class: "tool--dropdown" };
25812
25840
  const _hoisted_6$D = { class: "flex items-center text-14px" };
25813
- const _hoisted_7$q = { class: "tool--dropdown" };
25841
+ const _hoisted_7$p = { class: "tool--dropdown" };
25814
25842
  const _hoisted_8$k = { class: "tool--dropdown" };
25815
25843
  const _hoisted_9$e = { class: "designer__toolbar__left__third" };
25816
25844
  const _hoisted_10$c = ["onClick"];
@@ -26164,7 +26192,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
26164
26192
  _: 1
26165
26193
  })
26166
26194
  ]),
26167
- createElementVNode("div", _hoisted_7$q, [
26195
+ createElementVNode("div", _hoisted_7$p, [
26168
26196
  createElementVNode("i", null, [
26169
26197
  _cache[18] || (_cache[18] = createElementVNode("i", { class: "iconfont icon-wenziyanse" }, null, -1)),
26170
26198
  createElementVNode("div", {
@@ -31993,7 +32021,7 @@ const _hoisted_3$1t = { class: "option" };
31993
32021
  const _hoisted_4$13 = { class: "option__label" };
31994
32022
  const _hoisted_5$O = { class: "option-container" };
31995
32023
  const _hoisted_6$C = { class: "option" };
31996
- const _hoisted_7$p = { class: "option__label" };
32024
+ const _hoisted_7$o = { class: "option__label" };
31997
32025
  const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
31998
32026
  __name: "boolean-props",
31999
32027
  props: {
@@ -32088,7 +32116,7 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
32088
32116
  ]),
32089
32117
  createElementVNode("div", _hoisted_5$O, [
32090
32118
  createElementVNode("div", _hoisted_6$C, [
32091
- createElementVNode("span", _hoisted_7$p, toDisplayString$1(`${_ctx.$t("sys.fake")}`), 1),
32119
+ createElementVNode("span", _hoisted_7$o, toDisplayString$1(`${_ctx.$t("sys.fake")}`), 1),
32092
32120
  createVNode(_component_a_input, {
32093
32121
  class: "option__input",
32094
32122
  size: "small",
@@ -46508,7 +46536,7 @@ const _hoisted_6$A = {
46508
46536
  key: 4,
46509
46537
  class: "fill-fields-area"
46510
46538
  };
46511
- const _hoisted_7$o = ["src"];
46539
+ const _hoisted_7$n = ["src"];
46512
46540
  const _hoisted_8$j = { class: "fallback-sign-option" };
46513
46541
  const _sfc_main$4f = /* @__PURE__ */ defineComponent({
46514
46542
  __name: "signature-props",
@@ -46934,7 +46962,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
46934
46962
  createElementVNode("img", {
46935
46963
  src: getFallbackPreviewSrc(value),
46936
46964
  alt: ""
46937
- }, null, 8, _hoisted_7$o)
46965
+ }, null, 8, _hoisted_7$n)
46938
46966
  ]),
46939
46967
  default: withCtx(() => [
46940
46968
  createElementVNode("div", _hoisted_8$j, toDisplayString$1(label), 1)
@@ -47067,7 +47095,7 @@ const _hoisted_3$1h = { class: "common-regex-panel__empty" };
47067
47095
  const _hoisted_4$Y = { class: "common-regex-panel__empty-tip" };
47068
47096
  const _hoisted_5$J = { class: "common-regex-panel__header has-border" };
47069
47097
  const _hoisted_6$z = { class: "common-regex-panel__title" };
47070
- const _hoisted_7$n = { class: "common-regex-panel__list" };
47098
+ const _hoisted_7$m = { class: "common-regex-panel__list" };
47071
47099
  const _hoisted_8$i = { class: "common-regex-panel__item-main" };
47072
47100
  const _hoisted_9$d = ["title"];
47073
47101
  const _hoisted_10$b = ["title"];
@@ -47292,7 +47320,7 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
47292
47320
  class: "common-regex-panel__scrollbar",
47293
47321
  onScroll: closeConfirm
47294
47322
  }, [
47295
- createElementVNode("div", _hoisted_7$n, [
47323
+ createElementVNode("div", _hoisted_7$m, [
47296
47324
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (item) => {
47297
47325
  return openBlock(), createElementBlock("div", {
47298
47326
  key: item.id,
@@ -47415,7 +47443,7 @@ const _hoisted_6$y = {
47415
47443
  key: 0,
47416
47444
  class: "error"
47417
47445
  };
47418
- const _hoisted_7$m = {
47446
+ const _hoisted_7$l = {
47419
47447
  key: 1,
47420
47448
  class: "regex-editor-modal__tags"
47421
47449
  };
@@ -47577,7 +47605,7 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
47577
47605
  }, null, 8, ["value", "placeholder", "disabled"])
47578
47606
  ], 2),
47579
47607
  errors.regex ? (openBlock(), createElementBlock("div", _hoisted_6$y, toDisplayString$1(errors.regex), 1)) : createCommentVNode("", true),
47580
- commonList.value.length && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_7$m, [
47608
+ commonList.value.length && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_7$l, [
47581
47609
  (openBlock(true), createElementBlock(Fragment, null, renderList(commonList.value, (item) => {
47582
47610
  return openBlock(), createBlock(_component_a_tooltip, {
47583
47611
  key: item.id,
@@ -51582,21 +51610,7 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
51582
51610
  }, null, 8, ["value", "options", "disabled", "placeholder"])
51583
51611
  ]),
51584
51612
  _: 1
51585
- }, 8, ["label", "rules"]),
51586
- createVNode(FormItem, {
51587
- inline: false,
51588
- label: "值变化取数"
51589
- }, {
51590
- default: withCtx(() => [
51591
- createVNode(unref(DataSourceChangeEvent), {
51592
- modelValue: formState.value.valueChangeDataSourceKeys,
51593
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formState.value.valueChangeDataSourceKeys = $event),
51594
- "data-sources": unref(formConfig2).dataSources,
51595
- disabled: __props.disabled
51596
- }, null, 8, ["modelValue", "data-sources", "disabled"])
51597
- ]),
51598
- _: 1
51599
- })
51613
+ }, 8, ["label", "rules"])
51600
51614
  ]),
51601
51615
  _: 1
51602
51616
  }, 8, ["model"])
@@ -51604,7 +51618,7 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
51604
51618
  };
51605
51619
  }
51606
51620
  });
51607
- const CellWidgetEvent = /* @__PURE__ */ _export_sfc(_sfc_main$3x, [["__scopeId", "data-v-21893926"]]);
51621
+ const CellWidgetEvent = /* @__PURE__ */ _export_sfc(_sfc_main$3x, [["__scopeId", "data-v-f1e586b4"]]);
51608
51622
  function useFormulaEditor(props2) {
51609
51623
  const { masterModel: masterModel2, modelMetaMap: modelMetaMap2, subTableFieldModel: subTableFieldModel2 } = useModelFields();
51610
51624
  const buildChildrenFromModel = (model) => {
@@ -51944,7 +51958,7 @@ const _hoisted_5$H = {
51944
51958
  class: "ml5px text-[#c3c3c3]"
51945
51959
  };
51946
51960
  const _hoisted_6$x = ["onClick"];
51947
- const _hoisted_7$l = { class: "text-[#797A7D] bg-[#fff] p-4px mt-2px ell h26px" };
51961
+ const _hoisted_7$k = { class: "text-[#797A7D] bg-[#fff] p-4px mt-2px ell h26px" };
51948
51962
  const _sfc_main$3v = /* @__PURE__ */ defineComponent({
51949
51963
  __name: "cell-widget-dependency",
51950
51964
  props: {
@@ -52129,7 +52143,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
52129
52143
  _: 1
52130
52144
  }, 8, ["title", "onConfirm"])) : createCommentVNode("", true)
52131
52145
  ]),
52132
- createElementVNode("div", _hoisted_7$l, toDisplayString$1(configDependency.value[item]?.expressionStr || configDependency.value[item]?.expression), 1)
52146
+ createElementVNode("div", _hoisted_7$k, toDisplayString$1(configDependency.value[item]?.expressionStr || configDependency.value[item]?.expression), 1)
52133
52147
  ]);
52134
52148
  }), 128))
52135
52149
  ])
@@ -52573,7 +52587,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
52573
52587
  ]),
52574
52588
  _: 1
52575
52589
  }, 8, ["header"]),
52576
- cellType.value !== unref(SubTableType)._2D && fieldManifestType.value !== unref(FIELD_TYPE).SEAL ? (openBlock(), createBlock(_component_a_collapse_panel, {
52590
+ cellType.value !== unref(SubTableType)._2D ? (openBlock(), createBlock(_component_a_collapse_panel, {
52577
52591
  key: "5",
52578
52592
  header: _ctx.$t("sys.pageDesigner.componentDependencyProp")
52579
52593
  }, {
@@ -52674,7 +52688,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
52674
52688
  };
52675
52689
  }
52676
52690
  });
52677
- const FieldConfig = /* @__PURE__ */ _export_sfc(_sfc_main$3q, [["__scopeId", "data-v-b9d0f7f4"]]);
52691
+ const FieldConfig = /* @__PURE__ */ _export_sfc(_sfc_main$3q, [["__scopeId", "data-v-1a6686cf"]]);
52678
52692
  const _sfc_main$3p = /* @__PURE__ */ defineComponent({
52679
52693
  __name: "panel-seal",
52680
52694
  setup(__props) {
@@ -52690,7 +52704,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
52690
52704
  }
52691
52705
  });
52692
52706
  function asyncImportWidgetProp() {
52693
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BrLmLnCd.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CIg1Yn3D.js"), "./widget-image.vue": () => import("./widget-image-bPGudw8R.js"), "./widget-line.vue": () => import("./widget-line-Dw1mkN0H.js"), "./widget-pagination.vue": () => import("./widget-pagination-C2ylpEkR.js"), "./widget-power.vue": () => import("./widget-power-Ceni1m5s.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-dHuN8ZTP.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DkZwe6ix.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-Dz2_gK_C.js"), "./widget-text.vue": () => import("./widget-text-BIMT_dmX.js"), "./widget-timediff.vue": () => import("./widget-timediff-LoUQBpX7.js") });
52707
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-B_aUPEfd.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-D32J64HV.js"), "./widget-image.vue": () => import("./widget-image-BOOWwiSe.js"), "./widget-line.vue": () => import("./widget-line-xVHcCE1_.js"), "./widget-pagination.vue": () => import("./widget-pagination-B0Bq_gL5.js"), "./widget-power.vue": () => import("./widget-power-TNCB2u1G.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-gVSwYuKp.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-BO7Z_5N9.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-BX83djNf.js"), "./widget-text.vue": () => import("./widget-text-CIqov_wj.js"), "./widget-timediff.vue": () => import("./widget-timediff-kFxxm2hM.js") });
52694
52708
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
52695
52709
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
52696
52710
  if (mKey) {
@@ -53822,7 +53836,7 @@ const _hoisted_3$17 = { class: "title left" };
53822
53836
  const _hoisted_4$S = { class: "title right" };
53823
53837
  const _hoisted_5$F = { class: "rules-item-value" };
53824
53838
  const _hoisted_6$v = { class: "rules-item-middle" };
53825
- const _hoisted_7$k = { class: "rules-item-value" };
53839
+ const _hoisted_7$j = { class: "rules-item-value" };
53826
53840
  const _hoisted_8$g = {
53827
53841
  key: 0,
53828
53842
  class: "rules-item-ope"
@@ -53990,7 +54004,7 @@ const _sfc_main$3d = /* @__PURE__ */ defineComponent({
53990
54004
  }, 1032, ["name", "rules"])
53991
54005
  ]),
53992
54006
  createElementVNode("div", _hoisted_6$v, toDisplayString$1(_ctx.$t("sys.edhr.mutualExclusion")), 1),
53993
- createElementVNode("div", _hoisted_7$k, [
54007
+ createElementVNode("div", _hoisted_7$j, [
53994
54008
  createVNode(_component_a_form_item, {
53995
54009
  name: ["configList", i, "checkIds"],
53996
54010
  rules: __props.readonly ? [] : [{ required: true, message: _ctx.$t("sys.chooseText") }]
@@ -54059,7 +54073,7 @@ const _hoisted_3$16 = { class: "color-[#212528] text-12px lh-[18px]" };
54059
54073
  const _hoisted_4$R = { class: "color-[#212528] text-12px lh-[18px]" };
54060
54074
  const _hoisted_5$E = { class: "flex justify-end" };
54061
54075
  const _hoisted_6$u = { class: "flex justify-end" };
54062
- const _hoisted_7$j = {
54076
+ const _hoisted_7$i = {
54063
54077
  key: 0,
54064
54078
  class: "dynamic-table"
54065
54079
  };
@@ -54381,7 +54395,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
54381
54395
  inline: false
54382
54396
  }, {
54383
54397
  default: withCtx(() => [
54384
- unref(paper2).thead?.thName ? (openBlock(), createElementBlock("div", _hoisted_7$j, [
54398
+ unref(paper2).thead?.thName ? (openBlock(), createElementBlock("div", _hoisted_7$i, [
54385
54399
  createElementVNode("div", _hoisted_8$f, [
54386
54400
  createElementVNode("span", null, toDisplayString$1(unref(paper2).thead?.thName), 1),
54387
54401
  !unref(sheetReadonly2) ? (openBlock(), createElementBlock("i", {
@@ -54566,7 +54580,7 @@ const _hoisted_3$14 = ["id"];
54566
54580
  const _hoisted_4$P = { key: 0 };
54567
54581
  const _hoisted_5$D = ["onMouseenter"];
54568
54582
  const _hoisted_6$t = ["onClick"];
54569
- const _hoisted_7$i = ["onClick"];
54583
+ const _hoisted_7$h = ["onClick"];
54570
54584
  const _sfc_main$3a = /* @__PURE__ */ defineComponent({
54571
54585
  __name: "panel-paper-widget-group",
54572
54586
  setup(__props) {
@@ -54673,7 +54687,7 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
54673
54687
  key: 0,
54674
54688
  class: "iconfont icon-shanchu2",
54675
54689
  onClick: withModifiers(($event) => handleRemovePaperWidget(widget2.id), ["stop"])
54676
- }, null, 8, _hoisted_7$i)) : createCommentVNode("", true)
54690
+ }, null, 8, _hoisted_7$h)) : createCommentVNode("", true)
54677
54691
  ], 42, _hoisted_5$D);
54678
54692
  }), 128))
54679
54693
  ])
@@ -54731,7 +54745,7 @@ const _hoisted_3$13 = { class: "readonly-text" };
54731
54745
  const _hoisted_4$O = { class: "readonly-text" };
54732
54746
  const _hoisted_5$C = { class: "readonly-text" };
54733
54747
  const _hoisted_6$s = { class: "readonly-text" };
54734
- const _hoisted_7$h = { class: "mt-12px text-12px color-[#252525]" };
54748
+ const _hoisted_7$g = { class: "mt-12px text-12px color-[#252525]" };
54735
54749
  const _hoisted_8$e = { class: "color-[#3168EC]" };
54736
54750
  const _hoisted_9$9 = { class: "config-tip" };
54737
54751
  const _hoisted_10$8 = { class: "config-extra" };
@@ -54758,12 +54772,22 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
54758
54772
  if (!table.value.model) return;
54759
54773
  return modelMetaMap2.value[table.value.model]?.meta.name;
54760
54774
  });
54761
- const isFixedDeviceOperationTable = computed(() => {
54775
+ const refModelType = computed(() => {
54762
54776
  const masterFields = modelMetaMap2.value[table.value.mainModel]?.fields ?? [];
54763
54777
  const subTableField = masterFields.find((field) => field.key === table.value.field);
54764
- const refModelType = subTableField?.refModelType ?? modelMetaMap2.value[table.value.model]?.meta.subModelType;
54765
- return isFixedOnlyBusinessRefModelType(refModelType);
54778
+ return subTableField?.refModelType ?? modelMetaMap2.value[table.value.model]?.meta.subModelType;
54766
54779
  });
54780
+ const isFixedDeviceOperationTable = computed(
54781
+ () => isFixedOnlyBusinessRefModelType(refModelType.value)
54782
+ );
54783
+ const isMaintenanceTable = computed(
54784
+ () => refModelType.value === onlineFormMasterModelTypeEnum.MAINTENANCE
54785
+ );
54786
+ const dataLockControlFieldTip = computed(
54787
+ () => $t(
54788
+ isMaintenanceTable.value ? "sys.fixedTableMaintenanceDataLockControlFieldTip" : "sys.fixedTableDataLockControlFieldTip"
54789
+ )
54790
+ );
54767
54791
  const fixedDeviceOperationConfig = computed(() => {
54768
54792
  if (!table.value.bizTableConfig) {
54769
54793
  table.value.bizTableConfig = {};
@@ -54792,7 +54816,10 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
54792
54816
  }));
54793
54817
  });
54794
54818
  const dataLockControlFieldOptions = computed(() => [
54795
- { label: $t("sys.fixedTableInspector"), value: "inspector_" },
54819
+ {
54820
+ label: $t(isMaintenanceTable.value ? "sys.fixedTableMaintainer" : "sys.fixedTableInspector"),
54821
+ value: "inspector_"
54822
+ },
54796
54823
  { label: $t("sys.fixedTableReviewer"), value: "reviewer_" }
54797
54824
  ]);
54798
54825
  const filterFieldOption = (input, option2) => {
@@ -54932,7 +54959,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
54932
54959
  ]),
54933
54960
  _: 1
54934
54961
  }),
54935
- createElementVNode("div", _hoisted_7$h, [
54962
+ createElementVNode("div", _hoisted_7$g, [
54936
54963
  createTextVNode(toDisplayString$1(_ctx.$t("sys.onlineForm.currentlyFixed")) + " ", 1),
54937
54964
  createElementVNode("span", _hoisted_8$e, toDisplayString$1(validCellCount.value), 1),
54938
54965
  createTextVNode(" " + toDisplayString$1(_ctx.$t("sys.onlineForm.cells")), 1)
@@ -55002,7 +55029,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
55002
55029
  disabled: unref(sheetReadonly2),
55003
55030
  placeholder: _ctx.$t("sys.chooseText")
55004
55031
  }, null, 8, ["value", "options", "disabled", "placeholder"]),
55005
- createElementVNode("div", _hoisted_11$6, toDisplayString$1(_ctx.$t("sys.fixedTableDataLockControlFieldTip")), 1)
55032
+ createElementVNode("div", _hoisted_11$6, toDisplayString$1(dataLockControlFieldTip.value), 1)
55006
55033
  ]),
55007
55034
  _: 1
55008
55035
  }, 8, ["label"])
@@ -55023,7 +55050,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
55023
55050
  };
55024
55051
  }
55025
55052
  });
55026
- const PanelFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$38, [["__scopeId", "data-v-b7695bc8"]]);
55053
+ const PanelFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$38, [["__scopeId", "data-v-71239c9a"]]);
55027
55054
  const _hoisted_1$1P = { class: "p-16px" };
55028
55055
  const _hoisted_2$1h = { class: "flex" };
55029
55056
  const _hoisted_3$12 = { class: "section-title" };
@@ -56558,18 +56585,18 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
56558
56585
  __name: "panel-data-group-2d",
56559
56586
  setup(__props) {
56560
56587
  const { paper: paper2, panelData: panelData2, sheetReadonly: sheetReadonly2, setPanelData, removeDataGroup2D, globalSubTables: globalSubTables2 } = useSpreadSheet();
56561
- const { modelMetaMap: modelMetaMap2, getFieldMeta: getFieldMeta2 } = useModelFields();
56588
+ const { modelMetaMap: modelMetaMap2 } = useModelFields();
56562
56589
  const activeCollapse = ref(["1", "2", "3"]);
56563
56590
  const table = computed(() => {
56564
56591
  return globalSubTables2.value.find((item) => item.id === panelData2.refId);
56565
56592
  });
56566
56593
  const xFields = computed(() => {
56567
- return (table.value?.colModel ? modelMetaMap2.value[table.value.colModel].fields : []).filter(
56594
+ return (modelMetaMap2.value[table.value?.colModel ?? ""]?.fields ?? []).filter(
56568
56595
  (item) => item.createType === CreateType.USER_DEFINED
56569
56596
  );
56570
56597
  });
56571
56598
  const yFields = computed(() => {
56572
- return (table.value?.model ? modelMetaMap2.value[table.value.model].fields : []).filter(
56599
+ return (modelMetaMap2.value[table.value?.model ?? ""]?.fields ?? []).filter(
56573
56600
  (item) => item.createType === CreateType.USER_DEFINED
56574
56601
  );
56575
56602
  });
@@ -56795,7 +56822,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
56795
56822
  };
56796
56823
  }
56797
56824
  });
56798
- const PanelDataGroup2D = /* @__PURE__ */ _export_sfc(_sfc_main$30, [["__scopeId", "data-v-b19ee1b5"]]);
56825
+ const PanelDataGroup2D = /* @__PURE__ */ _export_sfc(_sfc_main$30, [["__scopeId", "data-v-eb71bd38"]]);
56799
56826
  const _hoisted_1$1I = { class: "panel-data-group" };
56800
56827
  const _hoisted_2$1a = { class: "readonly-text" };
56801
56828
  const _hoisted_3$Y = { class: "ml-8px color-[#666] font-bold" };
@@ -56937,7 +56964,7 @@ const _hoisted_3$X = { class: "actions" };
56937
56964
  const _hoisted_4$I = ["onClick"];
56938
56965
  const _hoisted_5$x = ["onClick"];
56939
56966
  const _hoisted_6$p = { class: "ks-row-middle fieldrow mb5px" };
56940
- const _hoisted_7$g = { class: "ks-col ks-row" };
56967
+ const _hoisted_7$f = { class: "ks-col ks-row" };
56941
56968
  const _hoisted_8$d = { class: "min-w-86px flex-grow-1" };
56942
56969
  const _hoisted_9$8 = { class: "min-w-86px flex-grow-1" };
56943
56970
  const _hoisted_10$7 = ["onClick"];
@@ -57063,7 +57090,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
57063
57090
  item: withCtx(({ element: option2 }) => [
57064
57091
  createElementVNode("div", _hoisted_6$p, [
57065
57092
  _cache[3] || (_cache[3] = createElementVNode("i", { class: "icon-drag iconfont mr4px cursor-move text-[#C3C3C3] primary-gct-hover" }, null, -1)),
57066
- createElementVNode("div", _hoisted_7$g, [
57093
+ createElementVNode("div", _hoisted_7$f, [
57067
57094
  createElementVNode("div", _hoisted_8$d, [
57068
57095
  createVNode(_component_a_input, {
57069
57096
  value: option2.text,
@@ -57420,7 +57447,7 @@ const _hoisted_3$U = ["title"];
57420
57447
  const _hoisted_4$G = { class: "w-50% pl-11px flex items-center justify-end" };
57421
57448
  const _hoisted_5$v = ["title"];
57422
57449
  const _hoisted_6$n = { class: "flex items-center" };
57423
- const _hoisted_7$f = { class: "flex-grow-1 w-1px" };
57450
+ const _hoisted_7$e = { class: "flex-grow-1 w-1px" };
57424
57451
  const _hoisted_8$c = {
57425
57452
  key: 0,
57426
57453
  class: "params-item-card__children"
@@ -57473,7 +57500,7 @@ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
57473
57500
  _: 1
57474
57501
  }),
57475
57502
  createElementVNode("div", _hoisted_6$n, [
57476
- createElementVNode("div", _hoisted_7$f, [
57503
+ createElementVNode("div", _hoisted_7$e, [
57477
57504
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
57478
57505
  ]),
57479
57506
  props2.enableCollapse ? (openBlock(), createElementBlock("div", {
@@ -57862,7 +57889,7 @@ const _hoisted_3$R = { class: "ai-tmpl-editor__field-list" };
57862
57889
  const _hoisted_4$F = { class: "ai-tmpl-editor__section" };
57863
57890
  const _hoisted_5$u = { class: "ai-tmpl-editor__section-content--model" };
57864
57891
  const _hoisted_6$m = { class: "ai-tmpl-editor__field-list" };
57865
- const _hoisted_7$e = {
57892
+ const _hoisted_7$d = {
57866
57893
  key: 0,
57867
57894
  class: "ai-tmpl-editor__advanced-card"
57868
57895
  };
@@ -58149,7 +58176,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
58149
58176
  _: 1
58150
58177
  })
58151
58178
  ]),
58152
- formState.enableAdvancedConfig ? (openBlock(), createElementBlock("div", _hoisted_7$e, [
58179
+ formState.enableAdvancedConfig ? (openBlock(), createElementBlock("div", _hoisted_7$d, [
58153
58180
  createElementVNode("div", _hoisted_8$b, [
58154
58181
  createElementVNode("span", null, [
58155
58182
  createTextVNode(toDisplayString$1(_ctx.$t("sys.onlineForm.denoise")) + " ", 1),
@@ -61464,7 +61491,7 @@ const _hoisted_4$B = {
61464
61491
  };
61465
61492
  const _hoisted_5$t = ["onClick"];
61466
61493
  const _hoisted_6$l = { key: 1 };
61467
- const _hoisted_7$d = { class: "w50px ml10px" };
61494
+ const _hoisted_7$c = { class: "w50px ml10px" };
61468
61495
  const _hoisted_8$a = { class: "mr3px" };
61469
61496
  const _hoisted_9$6 = { class: "flex-1 ml-10px" };
61470
61497
  const _hoisted_10$5 = { class: "w-80px ml-10px flex flex-none" };
@@ -61682,7 +61709,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
61682
61709
  }, 8, ["value", "onUpdate:value", "placeholder", "onChange", "disabled"]), [
61683
61710
  [vShow, item.valueType === unref(ValueTypeEnum).INPUT || __props.isChild]
61684
61711
  ]),
61685
- withDirectives(createElementVNode("div", _hoisted_7$d, [
61712
+ withDirectives(createElementVNode("div", _hoisted_7$c, [
61686
61713
  createElementVNode("span", _hoisted_8$a, toDisplayString$1(_ctx.$t("sys.model.required")), 1),
61687
61714
  createVNode(_component_a_checkbox, {
61688
61715
  checked: item.required,
@@ -62743,7 +62770,7 @@ const _hoisted_3$I = { class: "object-init-list__label" };
62743
62770
  const _hoisted_4$x = ["title"];
62744
62771
  const _hoisted_5$q = ["onClick"];
62745
62772
  const _hoisted_6$i = { class: "object-init-list__meta" };
62746
- const _hoisted_7$c = { class: "object-init-list__label" };
62773
+ const _hoisted_7$b = { class: "object-init-list__label" };
62747
62774
  const _hoisted_8$9 = { class: "object-init-list__value" };
62748
62775
  const _hoisted_9$5 = { class: "object-init-list__actions" };
62749
62776
  const _sfc_main$2q = /* @__PURE__ */ defineComponent({
@@ -62782,7 +62809,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
62782
62809
  }, null, 8, _hoisted_5$q)
62783
62810
  ]),
62784
62811
  createElementVNode("div", _hoisted_6$i, [
62785
- createElementVNode("span", _hoisted_7$c, toDisplayString$1(_ctx.$t("sys.onlineForm.fieldType")) + ":", 1),
62812
+ createElementVNode("span", _hoisted_7$b, toDisplayString$1(_ctx.$t("sys.onlineForm.fieldType")) + ":", 1),
62786
62813
  createElementVNode("span", _hoisted_8$9, toDisplayString$1(__props.getObjectFieldTypeName(item.objectFieldMeta)), 1)
62787
62814
  ]),
62788
62815
  createElementVNode("div", _hoisted_9$5, [
@@ -63047,6 +63074,9 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
63047
63074
  const props2 = __props;
63048
63075
  const { nullValSymbol, prefix, suffix } = reactive(props2.widget.props);
63049
63076
  const { targetFieldId, fieldType, showDisplayStatus, showRequired, dataRelationShip: dataRelationShip2 } = useWidgetStaticAttrs(props2.widget);
63077
+ const preserveAffixWidth = computed(
63078
+ () => showDisplayStatus.value === "edit-component" && Boolean(prefix || suffix)
63079
+ );
63050
63080
  const { events: events2 } = useRuntimeInstanceServices();
63051
63081
  function selectAnnotation(id, event2) {
63052
63082
  setSelectAnnotationId(id, dataRelationShip2, event2, events2.value);
@@ -63120,7 +63150,8 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
63120
63150
  props2.annotationInfo?.showValidatorClass && "validator-mark",
63121
63151
  canClickOpenValidator.value && "validator-clickable",
63122
63152
  unref(prefix) && "cell-wrapper-container--with-prefix",
63123
- unref(suffix) && "cell-wrapper-container--with-suffix"
63153
+ unref(suffix) && "cell-wrapper-container--with-suffix",
63154
+ preserveAffixWidth.value && "cell-wrapper-container--fixed-affix"
63124
63155
  ]),
63125
63156
  style: normalizeStyle([unref(containerStyles)]),
63126
63157
  title: hoverTitle.value,
@@ -63158,7 +63189,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
63158
63189
  };
63159
63190
  }
63160
63191
  });
63161
- const CellWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["__scopeId", "data-v-fd8fe930"]]);
63192
+ const CellWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["__scopeId", "data-v-d3c5e4da"]]);
63162
63193
  const _sfc_main$2n = /* @__PURE__ */ defineComponent({
63163
63194
  __name: "cell-auto-complete",
63164
63195
  props: {
@@ -63886,7 +63917,7 @@ const _hoisted_3$G = { class: "cell-textarea-modal-header" };
63886
63917
  const _hoisted_4$v = { class: "cell-textarea-modal-title" };
63887
63918
  const _hoisted_5$o = { class: "cell-textarea-modal-body" };
63888
63919
  const _hoisted_6$h = ["placeholder", "maxlength"];
63889
- const _hoisted_7$b = { class: "cell-textarea-modal-footer" };
63920
+ const _hoisted_7$a = { class: "cell-textarea-modal-footer" };
63890
63921
  const _sfc_main$2g = /* @__PURE__ */ defineComponent({
63891
63922
  __name: "cell-textarea",
63892
63923
  props: {
@@ -64002,7 +64033,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
64002
64033
  [vModelText, modalValue.value]
64003
64034
  ])
64004
64035
  ]),
64005
- createElementVNode("div", _hoisted_7$b, [
64036
+ createElementVNode("div", _hoisted_7$a, [
64006
64037
  createElementVNode("button", {
64007
64038
  class: "cell-textarea-modal-btn cell-textarea-modal-btn-cancel",
64008
64039
  onClick: onModalCancel
@@ -64498,6 +64529,9 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
64498
64529
  }
64499
64530
  }
64500
64531
  const open = ref(false);
64532
+ watch(showDisabled, (disabled) => {
64533
+ if (disabled) open.value = false;
64534
+ });
64501
64535
  const selectTableRef = ref(null);
64502
64536
  const autoCompleteRef = ref();
64503
64537
  watch(open, async (visible) => {
@@ -64581,6 +64615,10 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
64581
64615
  }
64582
64616
  );
64583
64617
  function openTreeModal(event2) {
64618
+ if (showDisabled.value) {
64619
+ event2.stopPropagation();
64620
+ return;
64621
+ }
64584
64622
  calculateWrapperHeight();
64585
64623
  if (open.value) {
64586
64624
  event2.stopPropagation();
@@ -64842,7 +64880,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
64842
64880
  }
64843
64881
  }
64844
64882
  async function openScanModal() {
64845
- if (isScanOpen) return;
64883
+ if (showDisabled.value || isScanOpen) return;
64846
64884
  open.value = false;
64847
64885
  isScanOpen = true;
64848
64886
  try {
@@ -64910,8 +64948,8 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
64910
64948
  return (_ctx, _cache) => {
64911
64949
  const _component_a_popover = resolveComponent("a-popover");
64912
64950
  return openBlock(), createBlock(_component_a_popover, {
64913
- visible: open.value,
64914
- "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => open.value = $event),
64951
+ visible: open.value && !unref(showDisabled),
64952
+ "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => open.value = !unref(showDisabled) && $event),
64915
64953
  trigger: "click",
64916
64954
  placement: unref(popoverPlacement),
64917
64955
  overlayClassName: "vxe-table--ignore-clear gct-edhr-custom-popover",
@@ -64967,7 +65005,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
64967
65005
  };
64968
65006
  }
64969
65007
  });
64970
- const TraceLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["__scopeId", "data-v-5c7879e0"]]);
65008
+ const TraceLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["__scopeId", "data-v-7fa94416"]]);
64971
65009
  const _hoisted_1$1d = { class: "search-actions" };
64972
65010
  const _sfc_main$2c = /* @__PURE__ */ defineComponent({
64973
65011
  __name: "sterilize-lot-select-table",
@@ -65157,6 +65195,9 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
65157
65195
  let lastSelectedValue;
65158
65196
  let fetchSeq = 0;
65159
65197
  const open = ref(false);
65198
+ watch(showDisabled, (disabled) => {
65199
+ if (disabled) open.value = false;
65200
+ });
65160
65201
  const selectTableRef = ref(null);
65161
65202
  const autoCompleteRef = ref();
65162
65203
  watch(open, (visible) => {
@@ -65199,6 +65240,10 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
65199
65240
  }
65200
65241
  );
65201
65242
  function openTreeModal(event2) {
65243
+ if (showDisabled.value) {
65244
+ event2.stopPropagation();
65245
+ return;
65246
+ }
65202
65247
  calculateWrapperHeight();
65203
65248
  if (open.value) {
65204
65249
  event2.stopPropagation();
@@ -65283,8 +65328,8 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
65283
65328
  return (_ctx, _cache) => {
65284
65329
  const _component_a_popover = resolveComponent("a-popover");
65285
65330
  return openBlock(), createBlock(_component_a_popover, {
65286
- visible: open.value,
65287
- "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => open.value = $event),
65331
+ visible: open.value && !unref(showDisabled),
65332
+ "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => open.value = !unref(showDisabled) && $event),
65288
65333
  trigger: "click",
65289
65334
  placement: unref(popoverPlacement),
65290
65335
  overlayClassName: "vxe-table--ignore-clear gct-edhr-custom-popover",
@@ -65332,7 +65377,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
65332
65377
  };
65333
65378
  }
65334
65379
  });
65335
- const TraceSterilizeLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["__scopeId", "data-v-3c70649b"]]);
65380
+ const TraceSterilizeLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["__scopeId", "data-v-70442448"]]);
65336
65381
  const _hoisted_1$1c = { class: "search-actions" };
65337
65382
  const _sfc_main$2a = /* @__PURE__ */ defineComponent({
65338
65383
  __name: "material-lot-select-table",
@@ -65534,6 +65579,9 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
65534
65579
  let lastSelectedValue;
65535
65580
  let fetchSeq = 0;
65536
65581
  const open = ref(false);
65582
+ watch(showDisabled, (disabled) => {
65583
+ if (disabled) open.value = false;
65584
+ });
65537
65585
  const selectTableRef = ref(null);
65538
65586
  const autoCompleteRef = ref();
65539
65587
  watch(open, (visible) => {
@@ -65584,6 +65632,10 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
65584
65632
  }
65585
65633
  );
65586
65634
  function openTreeModal(event2) {
65635
+ if (showDisabled.value) {
65636
+ event2.stopPropagation();
65637
+ return;
65638
+ }
65587
65639
  calculateWrapperHeight();
65588
65640
  if (open.value) {
65589
65641
  event2.stopPropagation();
@@ -65668,8 +65720,8 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
65668
65720
  return (_ctx, _cache) => {
65669
65721
  const _component_a_popover = resolveComponent("a-popover");
65670
65722
  return openBlock(), createBlock(_component_a_popover, {
65671
- visible: open.value,
65672
- "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => open.value = $event),
65723
+ visible: open.value && !unref(showDisabled),
65724
+ "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => open.value = !unref(showDisabled) && $event),
65673
65725
  trigger: "click",
65674
65726
  placement: unref(popoverPlacement),
65675
65727
  overlayClassName: "vxe-table--ignore-clear gct-edhr-custom-popover",
@@ -65711,7 +65763,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
65711
65763
  };
65712
65764
  }
65713
65765
  });
65714
- const TraceMaterialLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__scopeId", "data-v-cb8cb3af"]]);
65766
+ const TraceMaterialLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__scopeId", "data-v-c018a964"]]);
65715
65767
  const _sfc_main$28 = /* @__PURE__ */ defineComponent({
65716
65768
  __name: "auto-complete-render",
65717
65769
  props: {
@@ -70499,7 +70551,7 @@ const _hoisted_3$C = {
70499
70551
  const _hoisted_4$s = { class: "seal-stamp-modal__preview" };
70500
70552
  const _hoisted_5$m = ["src", "alt"];
70501
70553
  const _hoisted_6$g = { class: "seal-stamp-modal__name" };
70502
- const _hoisted_7$a = {
70554
+ const _hoisted_7$9 = {
70503
70555
  key: 3,
70504
70556
  class: "seal-stamp-modal__error",
70505
70557
  role: "alert"
@@ -70630,7 +70682,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
70630
70682
  ]),
70631
70683
  _: 1
70632
70684
  }, 8, ["label", "validate-status", "help"]),
70633
- unref(error) && unref(detailStatus) !== "error" ? (openBlock(), createElementBlock("p", _hoisted_7$a, toDisplayString$1(unref(error)), 1)) : createCommentVNode("", true)
70685
+ unref(error) && unref(detailStatus) !== "error" ? (openBlock(), createElementBlock("p", _hoisted_7$9, toDisplayString$1(unref(error)), 1)) : createCommentVNode("", true)
70634
70686
  ], 64))
70635
70687
  ], 2),
70636
70688
  unref(step) === "seal" ? (openBlock(), createElementBlock("div", _hoisted_8$8, [
@@ -70658,7 +70710,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
70658
70710
  };
70659
70711
  }
70660
70712
  });
70661
- const SealStampModal = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-2956c051"]]);
70713
+ const SealStampModal = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-5369d9c9"]]);
70662
70714
  const _hoisted_1$15 = ["title"];
70663
70715
  const _hoisted_2$L = ["src", "alt"];
70664
70716
  const _hoisted_3$B = {
@@ -70842,7 +70894,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
70842
70894
  };
70843
70895
  }
70844
70896
  });
70845
- const sealRender = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__scopeId", "data-v-f965f657"]]);
70897
+ const sealRender = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__scopeId", "data-v-0e18a726"]]);
70846
70898
  const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70847
70899
  __proto__: null,
70848
70900
  default: sealRender
@@ -73945,6 +73997,10 @@ const _hoisted_5$i = {
73945
73997
  key: 0,
73946
73998
  class: "date-text"
73947
73999
  };
74000
+ const _hoisted_6$c = {
74001
+ key: 0,
74002
+ class: "date-text"
74003
+ };
73948
74004
  const _sfc_main$1A = /* @__PURE__ */ defineComponent({
73949
74005
  __name: "sign-render",
73950
74006
  props: {
@@ -74001,6 +74057,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
74001
74057
  return signatureNumber === SignatureNumberTypeEnum.SIGNATURE_MULTIPLE || signatureNumber === SignatureNumberTypeEnum.SIGNATURE_SINGLE && !signatures.value.length;
74002
74058
  });
74003
74059
  const isEditable = computed(() => showDisplayStatus.value === "edit-component");
74060
+ const isPrintRender = computed(() => Boolean(dataRelationShip2?.renderPurpose));
74004
74061
  const showFilledBackground = computed(
74005
74062
  () => !dataRelationShip2?.isMockReport && dataRelationShip2?.platformType !== PlatformEnum.INTEGRATION_PAAS_DP && (!dataRelationShip2?.renderPurpose || Boolean(dataRelationShip2?.showPrintFieldBg))
74006
74063
  );
@@ -74251,7 +74308,8 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
74251
74308
  ), ["stop"]))
74252
74309
  }, {
74253
74310
  default: withCtx(() => [
74254
- createVNode(_component_a_popover, {
74311
+ !isPrintRender.value ? (openBlock(), createBlock(_component_a_popover, {
74312
+ key: 0,
74255
74313
  visible: popoverVisible.value,
74256
74314
  trigger: isEditable.value ? ["click"] : ["hover", "click"],
74257
74315
  placement: "bottomLeft",
@@ -74371,7 +74429,30 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
74371
74429
  ], 2))
74372
74430
  ]),
74373
74431
  _: 1
74374
- }, 8, ["visible", "trigger", "overlay-style", "overlay-class-name"])
74432
+ }, 8, ["visible", "trigger", "overlay-style", "overlay-class-name"])) : !signatures.value.length ? (openBlock(), createBlock(unref(CellMedia), {
74433
+ key: 1,
74434
+ class: normalizeClass([unref(showRequired) && "is-show-required", unref(realFieldId), unref(showDisplayStatus)]),
74435
+ empty: "",
74436
+ disabled: unref(showDisabled),
74437
+ placeholder: unref(placeholder),
74438
+ icon: "signature"
74439
+ }, null, 8, ["class", "disabled", "placeholder"])) : (openBlock(), createElementBlock("div", {
74440
+ key: 2,
74441
+ class: normalizeClass(signatureCellContentClasses.value)
74442
+ }, [
74443
+ (openBlock(true), createElementBlock(Fragment, null, renderList(signatures.value, (signature2, index2) => {
74444
+ return openBlock(), createElementBlock("div", {
74445
+ key: `print-${signature2.url}-${signature2.time}-${index2}`,
74446
+ class: normalizeClass(signaturePreviewClasses(signature2))
74447
+ }, [
74448
+ createVNode(_component_a_image, {
74449
+ preview: false,
74450
+ src: getSignaturePreviewUrl(signature2)
74451
+ }, null, 8, ["src"]),
74452
+ shouldFollowSignatureDate.value && signature2.time ? (openBlock(), createElementBlock("div", _hoisted_6$c, toDisplayString$1(formattedDate(signature2.time)), 1)) : createCommentVNode("", true)
74453
+ ], 2);
74454
+ }), 128))
74455
+ ], 2))
74375
74456
  ]),
74376
74457
  _: 1
74377
74458
  }, 8, ["model-value", "widget", "form-data", "annotation-info"]);
@@ -74964,12 +75045,12 @@ const _hoisted_2$F = { class: "progress-box" };
74964
75045
  const _hoisted_3$w = { class: "progress-item__box pl-10px" };
74965
75046
  const _hoisted_4$m = { class: "progress-item__name" };
74966
75047
  const _hoisted_5$h = { class: "label" };
74967
- const _hoisted_6$c = {
75048
+ const _hoisted_6$b = {
74968
75049
  key: 0,
74969
75050
  class: "error",
74970
75051
  style: { "color": "red" }
74971
75052
  };
74972
- const _hoisted_7$9 = {
75053
+ const _hoisted_7$8 = {
74973
75054
  key: 1,
74974
75055
  style: { "color": "var(--ant-primary-color)" }
74975
75056
  };
@@ -75193,7 +75274,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
75193
75274
  percent: item.percentNum
75194
75275
  }, {
75195
75276
  format: withCtx((percent) => [
75196
- item.status === unref(statusEnum$1).EXCEPTION ? (openBlock(), createElementBlock("span", _hoisted_6$c, toDisplayString$1(_ctx.$t("sys.component.upload.uploadError")) + "!", 1)) : (openBlock(), createElementBlock("span", _hoisted_7$9, toDisplayString$1(percent + "%"), 1))
75277
+ item.status === unref(statusEnum$1).EXCEPTION ? (openBlock(), createElementBlock("span", _hoisted_6$b, toDisplayString$1(_ctx.$t("sys.component.upload.uploadError")) + "!", 1)) : (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString$1(percent + "%"), 1))
75197
75278
  ]),
75198
75279
  _: 2
75199
75280
  }, 1032, ["percent"]), [
@@ -79426,7 +79507,7 @@ const _hoisted_2$E = ["onClick"];
79426
79507
  const _hoisted_3$v = { class: "readonly-file-info" };
79427
79508
  const _hoisted_4$l = ["title"];
79428
79509
  const _hoisted_5$g = { class: "readonly-file-size" };
79429
- const _hoisted_6$b = {
79510
+ const _hoisted_6$a = {
79430
79511
  key: 0,
79431
79512
  class: "cell-media__summary"
79432
79513
  };
@@ -79573,7 +79654,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
79573
79654
  "show-add": false
79574
79655
  }, {
79575
79656
  default: withCtx(() => [
79576
- fileList.value.length ? (openBlock(), createElementBlock("span", _hoisted_6$b, [
79657
+ fileList.value.length ? (openBlock(), createElementBlock("span", _hoisted_6$a, [
79577
79658
  createVNode(unref(FieldStateIcon), { type: "attachmentFilled" }),
79578
79659
  createTextVNode(" " + toDisplayString$1(fileList.value.length) + "个文件 ", 1)
79579
79660
  ])) : createCommentVNode("", true)
@@ -79615,8 +79696,8 @@ const _hoisted_5$f = {
79615
79696
  key: 1,
79616
79697
  class: "camera-prompt"
79617
79698
  };
79618
- const _hoisted_6$a = ["disabled"];
79619
- const _hoisted_7$8 = ["src"];
79699
+ const _hoisted_6$9 = ["disabled"];
79700
+ const _hoisted_7$7 = ["src"];
79620
79701
  const _hoisted_8$7 = { class: "text-[#1A1D23]" };
79621
79702
  const _hoisted_9$4 = { class: "camera-controls" };
79622
79703
  const _hoisted_10$4 = { class: "upload-dragger" };
@@ -79979,9 +80060,9 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
79979
80060
  src: unref(CameraSvg),
79980
80061
  alt: "",
79981
80062
  class: "img-svg"
79982
- }, null, 8, _hoisted_7$8),
80063
+ }, null, 8, _hoisted_7$7),
79983
80064
  createElementVNode("span", _hoisted_8$7, toDisplayString$1(_ctx.$t("sys.onlineForm.uploadImage.startCamera")), 1)
79984
- ], 8, _hoisted_6$a)) : createCommentVNode("", true)
80065
+ ], 8, _hoisted_6$9)) : createCommentVNode("", true)
79985
80066
  ], 2),
79986
80067
  withDirectives(createElementVNode("div", _hoisted_9$4, [
79987
80068
  createVNode(_component_a_select, {
@@ -82503,45 +82584,12 @@ const ParamFieldLink = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId",
82503
82584
  const _hoisted_1$J = { class: "panel-data-init-config-wrapper" };
82504
82585
  const _hoisted_2$y = { class: "param-area" };
82505
82586
  const _hoisted_3$r = { class: "data-source-area" };
82506
- const _hoisted_4$h = { class: "data-source-area" };
82507
- const _hoisted_5$c = { class: "data-source-area" };
82508
- const _hoisted_6$9 = { class: "object-init-area" };
82509
- const _hoisted_7$7 = { class: "tmpl-config-area" };
82587
+ const _hoisted_4$h = { class: "object-init-area" };
82588
+ const _hoisted_5$c = { class: "tmpl-config-area" };
82510
82589
  const _sfc_main$15 = /* @__PURE__ */ defineComponent({
82511
82590
  __name: "index",
82512
82591
  setup(__props) {
82513
- const contextFields = computed(
82514
- () => getBuiltinContextFields(
82515
- (window.NocodeAdapter.stores?.appInfo?.value.onlineFormBuiltinParamList ?? []).map(
82516
- (item) => ({
82517
- key: item.key,
82518
- name: item.name,
82519
- type: item.type
82520
- })
82521
- )
82522
- )
82523
- );
82524
82592
  const { formConfig: formConfig2 } = useSpreadSheet();
82525
- const { masterModel: masterModel2, modelMetaMap: modelMetaMap2 } = useModelFields();
82526
- const { sheetsData: sheetsData2 } = useAllSpreadSheets();
82527
- const targetFieldOptions = computed(() => {
82528
- const mainModelKey = masterModel2.value.key;
82529
- if (!mainModelKey) return [];
82530
- const usedFieldKeys = /* @__PURE__ */ new Set();
82531
- for (const sheet of sheetsData2.value) {
82532
- for (const row of sheet.paper.cells) {
82533
- for (const cell of row) {
82534
- const fields = cell.multiFieldsContent?.length ? cell.multiFieldsContent.map((item) => item.fieldMeta) : [cell.fieldMeta];
82535
- for (const field of fields) {
82536
- if (!field?.subFieldKey && field?.model === mainModelKey && field.field) {
82537
- usedFieldKeys.add(field.field);
82538
- }
82539
- }
82540
- }
82541
- }
82542
- }
82543
- return (modelMetaMap2.value[mainModelKey]?.fields ?? []).filter((field) => field.key && usedFieldKeys.has(field.key)).map((field) => ({ label: field.name || field.key, value: field.key }));
82544
- });
82545
82593
  const { objectInit, openAdd, openAddDefault, openEdit } = useObjectInitModal();
82546
82594
  const tmplConfigC = useFormTmplConfig().injectController();
82547
82595
  const showTmpl = inject(
@@ -82554,7 +82602,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
82554
82602
  const showTmplConfig = computed(
82555
82603
  () => suiteFeatures.value.showDataLoad && showTmpl.value && (tmplConfigC.state.IOTPermission || tmplConfigC.state.OCRPermission)
82556
82604
  );
82557
- const activeCollapse = ref(["1", "2", "data-sources", "field-fills", "3"]);
82605
+ const activeCollapse = ref(["1", "2", "3"]);
82558
82606
  const modelList = ref([]);
82559
82607
  const dbList = ref([]);
82560
82608
  const ipaasList = ref([]);
@@ -82709,7 +82757,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
82709
82757
  createVNode(_component_a_collapse, {
82710
82758
  class: "override",
82711
82759
  activeKey: activeCollapse.value,
82712
- "onUpdate:activeKey": _cache[5] || (_cache[5] = ($event) => activeCollapse.value = $event),
82760
+ "onUpdate:activeKey": _cache[3] || (_cache[3] = ($event) => activeCollapse.value = $event),
82713
82761
  ghost: "",
82714
82762
  expandIconPosition: "right"
82715
82763
  }, {
@@ -82742,7 +82790,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
82742
82790
  }, 8, ["header"]),
82743
82791
  createVNode(_component_a_collapse_panel, {
82744
82792
  key: "2",
82745
- header: `${_ctx.$t("sys.integration.dataSource")}(deprecated)`
82793
+ header: _ctx.$t("sys.integration.dataSource")
82746
82794
  }, {
82747
82795
  default: withCtx(() => [
82748
82796
  createElementVNode("div", _hoisted_3$r, [
@@ -82828,44 +82876,12 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
82828
82876
  ]),
82829
82877
  _: 1
82830
82878
  }, 8, ["header"]),
82831
- createVNode(_component_a_collapse_panel, {
82832
- key: "data-sources",
82833
- header: "数据获取"
82834
- }, {
82835
- default: withCtx(() => [
82836
- createElementVNode("div", _hoisted_4$h, [
82837
- createVNode(unref(DataSources), {
82838
- modelValue: formState.value.dataSources,
82839
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formState.value.dataSources = $event),
82840
- "context-fields": contextFields.value
82841
- }, null, 8, ["modelValue", "context-fields"])
82842
- ])
82843
- ]),
82844
- _: 1
82845
- }),
82846
- createVNode(_component_a_collapse_panel, {
82847
- key: "field-fills",
82848
- header: "字段填充"
82849
- }, {
82850
- default: withCtx(() => [
82851
- createElementVNode("div", _hoisted_5$c, [
82852
- createVNode(unref(FieldFills), {
82853
- modelValue: formState.value.fieldFills,
82854
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => formState.value.fieldFills = $event),
82855
- "data-sources": formState.value.dataSources,
82856
- "context-fields": contextFields.value,
82857
- "target-field-options": targetFieldOptions.value
82858
- }, null, 8, ["modelValue", "data-sources", "context-fields", "target-field-options"])
82859
- ])
82860
- ]),
82861
- _: 1
82862
- }),
82863
82879
  suiteFeatures.value.showObjectInit ? (openBlock(), createBlock(_component_a_collapse_panel, {
82864
82880
  key: "3",
82865
82881
  header: _ctx.$t("sys.onlineForm.objectInitialization")
82866
82882
  }, {
82867
82883
  default: withCtx(() => [
82868
- createElementVNode("div", _hoisted_6$9, [
82884
+ createElementVNode("div", _hoisted_4$h, [
82869
82885
  createVNode(unref(ObjectInitList), {
82870
82886
  configuredItems: unref(objectInit).configuredItems.value,
82871
82887
  getObjectFieldTypeName: unref(objectInit).getObjectFieldTypeName,
@@ -82880,7 +82896,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
82880
82896
  style: normalizeStyle({
82881
82897
  cursor: !!unref(objectInit).allConfigured.value ? "not-allowed" : "pointer"
82882
82898
  }),
82883
- onOnAdd: _cache[4] || (_cache[4] = () => !unref(objectInit).allConfigured.value && unref(openAdd)())
82899
+ onOnAdd: _cache[2] || (_cache[2] = () => !unref(objectInit).allConfigured.value && unref(openAdd)())
82884
82900
  }, null, 8, ["title", "style"])
82885
82901
  ])
82886
82902
  ]),
@@ -82891,7 +82907,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
82891
82907
  header: _ctx.$t("sys.edhr.loadData")
82892
82908
  }, {
82893
82909
  default: withCtx(() => [
82894
- createElementVNode("div", _hoisted_7$7, [
82910
+ createElementVNode("div", _hoisted_5$c, [
82895
82911
  createVNode(PanelTmplConfig, { embedded: "" })
82896
82912
  ])
82897
82913
  ]),
@@ -82904,7 +82920,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
82904
82920
  };
82905
82921
  }
82906
82922
  });
82907
- const PanelDataInitConfig = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-80593150"]]);
82923
+ const PanelDataInitConfig = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-fcda09c1"]]);
82908
82924
  const MODEL_KEY = "em_product";
82909
82925
  const _sfc_main$14 = /* @__PURE__ */ defineComponent({
82910
82926
  __name: "material-rdo-select",
@@ -87047,6 +87063,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
87047
87063
  const { provideController } = useFormModel();
87048
87064
  const formModelC = provideController();
87049
87065
  const { initialize, loading: loading2, enableReverseModeling: enableReverseModeling2 } = usePrint();
87066
+ const { activeSheetId: activeSheetId2, getSheet: getSheet2, changeActiveSheet: changeActiveSheet2 } = useAllSpreadSheets();
87050
87067
  const {
87051
87068
  doc: doc2,
87052
87069
  // designMode,
@@ -87101,6 +87118,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
87101
87118
  showTmpl: true
87102
87119
  };
87103
87120
  }
87121
+ return void 0;
87104
87122
  });
87105
87123
  provide(
87106
87124
  SHOW_TMPL_KEY,
@@ -87108,7 +87126,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
87108
87126
  );
87109
87127
  async function save2() {
87110
87128
  await formSave();
87129
+ const sheetId = activeSheetId2.value;
87111
87130
  await initialize(props2.tid, props2.designMode, true);
87131
+ const sheet = sheetId && getSheet2(sheetId);
87132
+ if (sheet) changeActiveSheet2(sheet);
87112
87133
  }
87113
87134
  async function onTemplateSave() {
87114
87135
  await save2();
@@ -87167,7 +87188,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
87167
87188
  };
87168
87189
  }
87169
87190
  });
87170
- const apaasCollect = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-efa04bce"]]);
87191
+ const apaasCollect = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-e2812d23"]]);
87171
87192
  const _hoisted_1$j = { class: "designer__header" };
87172
87193
  const _hoisted_2$e = { class: "flex items-center" };
87173
87194
  const _hoisted_3$b = { class: "buttons" };
@@ -88966,6 +88987,8 @@ const sys$1 = {
88966
88987
  fixedTableDataLockControlField: "Data lock control field",
88967
88988
  fixedTableSignatureLocksData: "Lock after signing",
88968
88989
  fixedTableDataLockControlFieldTip: "Select the signature field (inspector/reviewer) that triggers data locking",
88990
+ fixedTableMaintenanceDataLockControlFieldTip: "Select the signature field (maintainer/reviewer) that triggers data locking",
88991
+ fixedTableMaintainer: "Maintainer",
88969
88992
  fixedTableInspector: "Inspector",
88970
88993
  fixedTableReviewer: "Reviewer",
88971
88994
  fixedTableSignatureValidationTitle: "Complete validation before signing",
@@ -89094,6 +89117,7 @@ const sys$1 = {
89094
89117
  deviceGroup: "Device group",
89095
89118
  selectDeviceGroup: "Select a device group",
89096
89119
  globalHeaderRequireFullRow: "Global header requires selecting an entire row",
89120
+ signatureAutofillFieldTip: "Turn off data fill before switching to multiple signatures",
89097
89121
  subTableType: {
89098
89122
  WAREHOUSE_IN: "Inbound Detail Table",
89099
89123
  WAREHOUSE_OUT: "Outbound Detail Table",
@@ -89281,6 +89305,8 @@ const sys = {
89281
89305
  fixedTableDataLockControlField: "数据锁定控制字段",
89282
89306
  fixedTableSignatureLocksData: "签名即锁定",
89283
89307
  fixedTableDataLockControlFieldTip: "选择由签名字段(点检人/复核人)触发填报锁定",
89308
+ fixedTableMaintenanceDataLockControlFieldTip: "选择由签名字段(保养人/复核人)触发填报锁定",
89309
+ fixedTableMaintainer: "保养人",
89284
89310
  fixedTableInspector: "点检人",
89285
89311
  fixedTableReviewer: "复核人",
89286
89312
  fixedTableSignatureValidationTitle: "签名前需先完成卡控校验",
@@ -89518,7 +89544,8 @@ const sys = {
89518
89544
  cellContent: "单元格内容"
89519
89545
  },
89520
89546
  signaturePerson: "签名人",
89521
- signatureTimestamp: "签名时间"
89547
+ signatureTimestamp: "签名时间",
89548
+ signatureAutofillFieldTip: "已开启数据填充时不允许设置多人签名,请先关闭数据填充"
89522
89549
  },
89523
89550
  webRender: {
89524
89551
  DiffedAttrMaps: {
@@ -90006,7 +90033,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
90006
90033
  const position = computed(
90007
90034
  () => readSealValue(props2.formData[field.value], props2.widget.props.sealPosition).sealPosition
90008
90035
  );
90009
- const { showDisplayStatus, dataRelationShip: dataRelationShip2 } = useWidgetStaticAttrs(props2.widget);
90036
+ const { showDisplayStatus, showDisabled, dataRelationShip: dataRelationShip2 } = useWidgetStaticAttrs(props2.widget);
90010
90037
  const pdfMode = inject(NCB_PROVIDE.IS_PDF, false);
90011
90038
  const printMode = computed(
90012
90039
  () => props2.printMode || pdfMode || !!dataRelationShip2?.__isPrintRender
@@ -90014,7 +90041,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
90014
90041
  const isDetailMode = computed(() => dataRelationShip2?.renderModeType === RenderModeEnum.ViewMode);
90015
90042
  const isReadOnlyMode = computed(() => isDetailMode.value || printMode.value);
90016
90043
  const blocked = computed(
90017
- () => isReadOnlyMode.value || ["readonly-text", "readonly-component"].includes(showDisplayStatus.value)
90044
+ () => isReadOnlyMode.value || showDisabled.value || ["readonly-text", "readonly-component"].includes(showDisplayStatus.value)
90018
90045
  );
90019
90046
  const { onChange, annotationInfo } = useNocodeFormWidget(
90020
90047
  {
@@ -90749,8 +90776,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
90749
90776
  printTask = (async () => {
90750
90777
  if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
90751
90778
  await nextTick();
90752
- const { printRuntimeInstance } = await import("./print-runtime-instance-MxA8-bHV.js");
90753
- const { default: renderer } = await import("./print-snapshot-renderer-D6sRzdVe.js");
90779
+ const { printRuntimeInstance } = await import("./print-runtime-instance-D8QAHAsd.js");
90780
+ const { default: renderer } = await import("./print-snapshot-renderer-BDrHYena.js");
90754
90781
  if (abort.signal.aborted) throw new Error("打印已取消");
90755
90782
  printRenderer.value = markRaw(renderer);
90756
90783
  await printRuntimeInstance(