@gct-paas/excel 0.1.39-beta.2 → 0.1.40-beta.1
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.
- package/dist/{BaseComponent-vgYIyddq.js → BaseComponent-DXIDs5gk.js} +4 -3
- package/dist/{VueVideoPlayer-Ca2aYCnh.js → VueVideoPlayer-DhyIm-g1.js} +2 -2
- package/dist/{align-editor-Bpdx7EAg.js → align-editor-BcbgVXRp.js} +1 -1
- package/dist/{barcode-design-l88FtSJH.js → barcode-design-BiCt0aS7.js} +3 -2
- package/dist/base/index.es.js +156 -13
- package/dist/{diagonal-design-BrC_JEX_.js → diagonal-design-DmvWALIE.js} +3 -2
- package/dist/{dynamic-table-action--l3y-33T.js → dynamic-table-action-fDIIzS2J.js} +40 -18
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js} +199 -128
- package/dist/{edit.utils-CXmmCnxE-CLHOa5aM.js → edit.utils-CXmmCnxE-DxArFSxZ.js} +1 -1
- package/dist/excel.css +53 -53
- package/dist/{exceljs.min-DC03-hj2.js → exceljs.min-CjKNZPlo.js} +2 -2
- package/dist/{font-editor-Cdbnw5gf.js → font-editor-DseGyVgB.js} +3 -3
- package/dist/{image-design-B2Ujtrgf.js → image-design-Dr-L9AdG.js} +2 -2
- package/dist/{index-CbXb5NUR.js → index-0W-MEvEf.js} +3 -2
- package/dist/{index-Dfx_FNTM.js → index-4acBM2Lp.js} +3 -2
- package/dist/{index-NJMyznIn.js → index-B29_mID7.js} +4 -3
- package/dist/{index-DLURy62t.js → index-B34ZIwqL.js} +3 -2
- package/dist/{index-d-BkSigM.js → index-BPgCZjqV.js} +2 -1
- package/dist/{index-BObb1Ah_.js → index-BY7RGawr.js} +3 -2
- package/dist/{index-BHrga-sR.js → index-BctQMMgh.js} +3 -2
- package/dist/{index-BP9XsPy_.js → index-BdJ4ouEl.js} +2 -1
- package/dist/{index-BOw6pLMO.js → index-BjI7JCne.js} +5 -4
- package/dist/{index-C2NlobVm.js → index-BxZ3M7eP.js} +2 -1
- package/dist/{index-BqWM4biL.js → index-C4tVTc9U.js} +3 -2
- package/dist/{index-CinlHNlv.js → index-C6dFliaf.js} +2 -1
- package/dist/{index-BTt4zC25.js → index-C70T1sVm.js} +847 -478
- package/dist/{index-CFr4e8Xs.js → index-C8OPhJhI.js} +2 -1
- package/dist/{index-VbeM2qtu.js → index-CAdGL3Vp.js} +3 -2
- package/dist/{index-CyRyKW5Z.js → index-CEmRRPE7.js} +3 -2
- package/dist/{index-Cy3W1BCw.js → index-CJ9CrORT.js} +4 -3
- package/dist/{index-2FOQLZQX.js → index-CScWLXnC.js} +3 -2
- package/dist/{index-BwPjN5_z.js → index-CX_eR36M.js} +3 -2
- package/dist/{index-qIYTDaGB.js → index-CXh-4yX8.js} +4 -3
- package/dist/{index-DHi56KLO.js → index-CewKz2Ro.js} +2 -1
- package/dist/{index-BmkcFEIb.js → index-D5IrgJyh.js} +3 -2
- package/dist/{index-1RcD_jJ_.js → index-DKRpaNo1.js} +2 -1
- package/dist/{index-ElmEtsp1.js → index-DKf57IGi.js} +2 -1
- package/dist/{index-BfvMXo6W.js → index-DNC5VG8P.js} +3 -2
- package/dist/{index-DoKgmcyb.js → index-DcjOJuDw.js} +3 -2
- package/dist/{index-Bt1-V2lW.js → index-DqLVW6ej.js} +4 -3
- package/dist/{index-DAOq48BR.js → index-DrmR7WIs.js} +3 -2
- package/dist/{index-CosS1BAQ.js → index-DsCTXMxB.js} +2 -1
- package/dist/{index-isNDc9Eg.js → index-JkPJqZ_5.js} +3 -2
- package/dist/{index-Ls2829xQ.js → index-Nytm1-X9.js} +2 -2
- package/dist/{index-q6aP_omk.js → index-hcCJUBne.js} +2 -1
- package/dist/{index-CdmpbReR.js → index-iRameN0x.js} +3 -2
- package/dist/{index-CCJHoK5a.js → index-lwjRRvDn.js} +3 -2
- package/dist/{index-OtzvrfOW.js → index-r4MF8_-h.js} +3 -2
- package/dist/index.es.js +4 -2
- package/dist/{mb-render-BcBofCau.js → mb-render-BdRsSczc.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D8-YBa_f.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D32c_U8J.js} +2 -1
- package/dist/{pagination-design-C6BIV4Ko.js → pagination-design-9Z_iRIKM.js} +3 -2
- package/dist/paper-widget-design-BGotQsIf.js +4 -0
- package/dist/{print-runtime-instance-BuO2RPZB.js → print-runtime-instance-BBOww4jg.js} +1 -1
- package/dist/{print-snapshot-renderer-CJiTu8_l.js → print-snapshot-renderer-DGt44saz.js} +3 -3
- package/dist/{qrcode-design-DCAMHxR6.js → qrcode-design-qbUjPX-B.js} +1 -1
- package/dist/{revo-grid.entry-s6oHfg7z.js → revo-grid.entry-RzymRzb0.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CBEbTBbC.js → revogr-attribution_7.entry-CxTEXm8Q.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DtE8OXYS.js → revogr-clipboard_3.entry-DQEid83u.js} +2 -2
- package/dist/{revogr-data_4.entry-seTKTkAE.js → revogr-data_4.entry-ASovYZWH.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DSQR-lUK.js → revogr-filter-panel.entry-j_V74kgz.js} +1 -1
- package/dist/seal-design-DP1XaAY8.js +4 -0
- package/dist/{serialnumber-design-B3WHGrfc.js → serialnumber-design-DXKTYOY7.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-DFjo8ISo.js → single-field-drop-CLjaHjL-.js} +2 -2
- package/dist/{size-editor-DKJpM9UW.js → size-editor-C62H_eRP.js} +1 -1
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +21 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +3 -0
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +2 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +2 -2
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +1 -2
- package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +45 -0
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +39 -0
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +5 -2
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -5
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
- package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +124 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +62 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +6 -0
- package/dist/src/online-form/src/views/designer/types/index.d.ts +5 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +1 -0
- package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +162 -2
- package/dist/src/shared/components/LimitedNumberInput/limited-number-input.vue.d.ts +41 -0
- package/dist/src/shared/components/LimitedNumberInput/number-input-rules.d.ts +16 -0
- package/dist/{sub-table-factory-5l0MTqvt.js → sub-table-factory-sn1Ek1c9.js} +16 -14
- package/dist/{text-design-B69j6Z_b.js → text-design-CwHfwel0.js} +3 -2
- package/dist/{throttle-Cpk1LoGk-DfnQ57mt.js → throttle-Cpk1LoGk-BHDq1lM3.js} +1 -1
- package/dist/{timediff-design-BUqlRNkO.js → timediff-design-8kCO3aXz.js} +2 -1
- package/dist/{trace-like-wrapper-D5VFdJ3W.js → trace-like-wrapper-CxPz9Trr.js} +3 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CEuFEVMv.js → value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js} +3 -2
- package/dist/web-render/index.es.js +4 -3
- package/dist/{widget-barcode-Bt55wEEk.js → widget-barcode-CRxh3tC2.js} +5 -4
- package/dist/{widget-diagonal-BSkoDXjJ.js → widget-diagonal-CO586oV2.js} +4 -3
- package/dist/{widget-image-BxycuGZB.js → widget-image-CE6kVnu5.js} +5 -5
- package/dist/{widget-line-DZ9sK1Zj.js → widget-line-Br4oIssb.js} +3 -2
- package/dist/{widget-pagination-WerXXmx2.js → widget-pagination-BHwjrBV5.js} +6 -5
- package/dist/{widget-power-Bln2T1C-.js → widget-power-BySYsE15.js} +4 -3
- package/dist/{widget-qrcode-BQWQXzru.js → widget-qrcode-D6b0T_Qa.js} +4 -3
- package/dist/{widget-rangelimit-E8yqsqv3.js → widget-rangelimit-DTH7nrqC.js} +3 -3
- package/dist/{widget-serialnumber-Css27nM1.js → widget-serialnumber-DVtxhNC3.js} +1 -1
- package/dist/{widget-text-CD6_nGlp.js → widget-text-gBGybAXk.js} +5 -5
- package/dist/{widget-timediff-DQPeQkkV.js → widget-timediff-aY-maVkE.js} +3 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-DujWhnh6.js +0 -4
- package/dist/seal-design--ciGkbUu.js +0 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as Vue from "vue";
|
|
2
|
-
import { createVNode, computed, unref, ref, defineComponent, onMounted, resolveComponent, openBlock, createElementBlock, withCtx, watch, toRaw, inject, reactive, createBlock, Fragment, renderList, createTextVNode, toDisplayString as toDisplayString$1, createCommentVNode, createElementVNode, normalizeClass, h, normalizeStyle, watchEffect, renderSlot, shallowRef, defineAsyncComponent, resolveDynamicComponent, mergeProps, normalizeProps, guardReactiveProps, onUnmounted, Text, nextTick, onBeforeUnmount, withModifiers, withDirectives, vShow, Teleport, withKeys, vModelText, isRef, provide, isVNode as isVNode$1, createApp, render, TransitionGroup, toRefs, onScopeDispose, useCssVars, onBeforeMount,
|
|
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-
|
|
2
|
+
import { createVNode, computed, unref, ref, defineComponent, onMounted, resolveComponent, openBlock, createElementBlock, withCtx, watch, toRaw, inject, reactive, createBlock, Fragment, renderList, createTextVNode, toDisplayString as toDisplayString$1, createCommentVNode, createElementVNode, normalizeClass, h, normalizeStyle, watchEffect, renderSlot, shallowRef, defineAsyncComponent, resolveDynamicComponent, mergeProps, normalizeProps, guardReactiveProps, onUnmounted, Text, nextTick, onBeforeUnmount, withModifiers, withDirectives, vShow, Teleport, withKeys, vModelText, isRef, provide, isVNode as isVNode$1, createApp, render, TransitionGroup, toRefs, useAttrs, createSlots, onScopeDispose, useCssVars, onBeforeMount, toRef, mergeDefaults, toHandlers, getCurrentInstance as getCurrentInstance$1, Transition, useModel, mergeModels as mergeModels$1, onErrorCaptured, markRaw } from "vue";
|
|
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-DhWpxyhm.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";
|
|
6
7
|
import * as Antd from "ant-design-vue";
|
|
7
8
|
import { message, Modal, notification, 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";
|
|
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$
|
|
9
|
-
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$
|
|
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$6v } from "./dynamic-table-action-fDIIzS2J.js";
|
|
10
|
+
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6t } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D32c_U8J.js";
|
|
10
11
|
import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
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$
|
|
12
|
-
import { useFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
12
|
+
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$6u, h as initWebNocodeAdapter } from "./index-Nytm1-X9.js";
|
|
13
13
|
import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
|
|
14
|
-
import { u as useFormModel, F as FormModelController } from "./mb-render-
|
|
14
|
+
import { u as useFormModel, F as FormModelController } from "./mb-render-BdRsSczc.js";
|
|
15
15
|
import { HttpUtil } from "@gct-paas/api";
|
|
16
16
|
import { useModal as useModal$1, t as t$2 } from "@gct-paas/core";
|
|
17
17
|
import { useRoute } from "vue-router";
|
|
@@ -62,7 +62,7 @@ const BUSINESS_RIBBON_GROUPS = [
|
|
|
62
62
|
tableTypes: ["entrust-steril-batch-list"]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
title: "
|
|
65
|
+
title: "产前",
|
|
66
66
|
titleKey: "sys.model.field_type_pretreatment",
|
|
67
67
|
showDivider: true,
|
|
68
68
|
tableTypes: ["pretreatment-list"]
|
|
@@ -1930,7 +1930,7 @@ function openWindow(url, opt) {
|
|
|
1930
1930
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
1931
1931
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
1932
1932
|
async function createWorkbook() {
|
|
1933
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1933
|
+
const ExcelJs = (await import("./exceljs.min-CjKNZPlo.js").then((n) => n.e)).default;
|
|
1934
1934
|
return new ExcelJs.Workbook();
|
|
1935
1935
|
}
|
|
1936
1936
|
class XlsxParser {
|
|
@@ -2254,39 +2254,39 @@ class XlsxParser {
|
|
|
2254
2254
|
}
|
|
2255
2255
|
function asyncImportClassModules() {
|
|
2256
2256
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2257
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2258
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2259
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2260
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2261
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2262
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2263
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2264
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2265
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2266
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2267
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2268
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2269
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2270
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2271
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2272
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2273
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2274
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2275
|
-
"./_widget_/barcode/index.ts": () => import("./index-
|
|
2276
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2277
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2278
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2279
|
-
"./_widget_/image/index.ts": () => import("./index-
|
|
2280
|
-
"./_widget_/line/index.ts": () => import("./index-
|
|
2281
|
-
"./_widget_/power/index.ts": () => import("./index-
|
|
2282
|
-
"./_widget_/qrcode/index.ts": () => import("./index-
|
|
2283
|
-
"./_widget_/ro/index.ts": () => import("./index-
|
|
2284
|
-
"./_widget_/serialnumber/index.ts": () => import("./index-
|
|
2285
|
-
"./_widget_/sub-table/index.ts": () => import("./index-
|
|
2286
|
-
"./_widget_/timediff/index.ts": () => import("./index-
|
|
2287
|
-
"./paper/index.ts": () => import("./index-
|
|
2288
|
-
"./td/index.ts": () => import("./index-
|
|
2289
|
-
"./tr/index.ts": () => import("./index-
|
|
2257
|
+
"./_field_/auto-complete/index.ts": () => import("./index-DqLVW6ej.js").then((m) => m["default"]),
|
|
2258
|
+
"./_field_/datepicker/index.ts": () => import("./index-C4tVTc9U.js").then((m) => m["default"]),
|
|
2259
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-CX_eR36M.js").then((m) => m["default"]),
|
|
2260
|
+
"./_field_/department/index.ts": () => import("./index-D5IrgJyh.js").then((m) => m["default"]),
|
|
2261
|
+
"./_field_/enum-select/index.ts": () => import("./index-CJ9CrORT.js").then((m) => m["default"]),
|
|
2262
|
+
"./_field_/input/index.ts": () => import("./index-DNC5VG8P.js").then((m) => m["default"]),
|
|
2263
|
+
"./_field_/inputdouble/index.ts": () => import("./index-lwjRRvDn.js").then((m) => m["default"]),
|
|
2264
|
+
"./_field_/inputnumber/index.ts": () => import("./index-BY7RGawr.js").then((m) => m["default"]),
|
|
2265
|
+
"./_field_/rdo-select/index.ts": () => import("./index-B29_mID7.js").then((m) => m["default"]),
|
|
2266
|
+
"./_field_/seal/index.ts": () => import("./index-r4MF8_-h.js").then((m) => m["default"]),
|
|
2267
|
+
"./_field_/select/index.ts": () => import("./index-CXh-4yX8.js").then((m) => m["default"]),
|
|
2268
|
+
"./_field_/sign/index.ts": () => import("./index-JkPJqZ_5.js").then((m) => m["default"]),
|
|
2269
|
+
"./_field_/switch/index.ts": () => import("./index-BjI7JCne.js").then((m) => m["default"]),
|
|
2270
|
+
"./_field_/textarea/index.ts": () => import("./index-4acBM2Lp.js").then((m) => m["default"]),
|
|
2271
|
+
"./_field_/timepicker/index.ts": () => import("./index-DrmR7WIs.js").then((m) => m["default"]),
|
|
2272
|
+
"./_field_/upload-file/index.ts": () => import("./index-CScWLXnC.js").then((m) => m["default"]),
|
|
2273
|
+
"./_field_/upload-image/index.ts": () => import("./index-0W-MEvEf.js").then((m) => m["default"]),
|
|
2274
|
+
"./_field_/userpicker/index.ts": () => import("./index-CAdGL3Vp.js").then((m) => m["default"]),
|
|
2275
|
+
"./_widget_/barcode/index.ts": () => import("./index-DKf57IGi.js").then((m) => m["default"]),
|
|
2276
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-B34ZIwqL.js").then((m) => m["default"]),
|
|
2277
|
+
"./_widget_/diagonal/index.ts": () => import("./index-DcjOJuDw.js").then((m) => m["default"]),
|
|
2278
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-BctQMMgh.js").then((m) => m["default"]),
|
|
2279
|
+
"./_widget_/image/index.ts": () => import("./index-DsCTXMxB.js").then((m) => m["default"]),
|
|
2280
|
+
"./_widget_/line/index.ts": () => import("./index-BPgCZjqV.js").then((m) => m["default"]),
|
|
2281
|
+
"./_widget_/power/index.ts": () => import("./index-DKRpaNo1.js").then((m) => m["default"]),
|
|
2282
|
+
"./_widget_/qrcode/index.ts": () => import("./index-C6dFliaf.js").then((m) => m["default"]),
|
|
2283
|
+
"./_widget_/ro/index.ts": () => import("./index-BxZ3M7eP.js").then((m) => m["default"]),
|
|
2284
|
+
"./_widget_/serialnumber/index.ts": () => import("./index-BdJ4ouEl.js").then((m) => m["default"]),
|
|
2285
|
+
"./_widget_/sub-table/index.ts": () => import("./index-C8OPhJhI.js").then((m) => m["default"]),
|
|
2286
|
+
"./_widget_/timediff/index.ts": () => import("./index-CewKz2Ro.js").then((m) => m["default"]),
|
|
2287
|
+
"./paper/index.ts": () => import("./index-hcCJUBne.js").then((m) => m["default"]),
|
|
2288
|
+
"./td/index.ts": () => import("./index-iRameN0x.js").then((m) => m["default"]),
|
|
2289
|
+
"./tr/index.ts": () => import("./index-CEmRRPE7.js").then((m) => m["default"])
|
|
2290
2290
|
});
|
|
2291
2291
|
return modules;
|
|
2292
2292
|
}
|
|
@@ -2902,6 +2902,8 @@ function compileRuntimeFormConfig(formConfig2) {
|
|
|
2902
2902
|
unitConversionRules: cloneDeep(formConfig2.unitConversionRules ?? []),
|
|
2903
2903
|
inspectionDecisionRule: cloneDeep(formConfig2.inspectionDecisionRule),
|
|
2904
2904
|
customDataSource,
|
|
2905
|
+
dataSources: cloneDeep(formConfig2.dataSources ?? []),
|
|
2906
|
+
fieldFills: cloneDeep(formConfig2.fieldFills ?? []),
|
|
2905
2907
|
objectInitialValues: cloneDeep(formConfig2.objectInitialValues ?? []),
|
|
2906
2908
|
javascript: CodeRunner.buildRuntimeJs(formConfig2.javascript ?? "")
|
|
2907
2909
|
};
|
|
@@ -3920,6 +3922,8 @@ const FORM_CONFIG_KEYS = [
|
|
|
3920
3922
|
"unitConversionRules",
|
|
3921
3923
|
"inspectionDecisionRule",
|
|
3922
3924
|
"customDataSource",
|
|
3925
|
+
"dataSources",
|
|
3926
|
+
"fieldFills",
|
|
3923
3927
|
"objectInitialValues",
|
|
3924
3928
|
"checkTableDataSource",
|
|
3925
3929
|
"checkSignatureConfig",
|
|
@@ -3975,7 +3979,7 @@ function migrateDesignerToV2(maps, info, createPaper) {
|
|
|
3975
3979
|
};
|
|
3976
3980
|
}
|
|
3977
3981
|
const _hoisted_1$3z = { class: "p24px" };
|
|
3978
|
-
const _sfc_main$
|
|
3982
|
+
const _sfc_main$6s = /* @__PURE__ */ defineComponent({
|
|
3979
3983
|
__name: "add-sheet",
|
|
3980
3984
|
props: {
|
|
3981
3985
|
modal: {},
|
|
@@ -9872,6 +9876,29 @@ const alignSheetColumns = (sheet) => {
|
|
|
9872
9876
|
);
|
|
9873
9877
|
paper2.mergedCells = paper2.mergedCells.filter((range2) => range2.l < colCount).map((range2) => ({ ...range2, r: Math.min(range2.r, colCount - 1) }));
|
|
9874
9878
|
};
|
|
9879
|
+
const normalizeSterilizeInputProps = (sheet) => {
|
|
9880
|
+
sheet.paper.cells.flat().forEach((cell) => {
|
|
9881
|
+
for (const content of [cell, ...cell.multiFieldsContent ?? []]) {
|
|
9882
|
+
const meta = content.fieldMeta;
|
|
9883
|
+
if (!meta || !content.fieldWidget || ![SubTableType.STERILIZE_BATCH, "PRODUCTION_CONTAINER_LIST_4_STERILIZATION"].includes(
|
|
9884
|
+
meta.subModelType
|
|
9885
|
+
)) {
|
|
9886
|
+
continue;
|
|
9887
|
+
}
|
|
9888
|
+
Object.assign(
|
|
9889
|
+
content.fieldWidget,
|
|
9890
|
+
applyFieldProfileOnAttach(
|
|
9891
|
+
{ ...content.fieldWidget },
|
|
9892
|
+
{
|
|
9893
|
+
fieldKey: meta.field,
|
|
9894
|
+
bizType: meta.bizType,
|
|
9895
|
+
subModelType: meta.subModelType
|
|
9896
|
+
}
|
|
9897
|
+
)
|
|
9898
|
+
);
|
|
9899
|
+
}
|
|
9900
|
+
});
|
|
9901
|
+
};
|
|
9875
9902
|
const designerSheetsSnapshot = () => sheetsData$1.value.map(({ sheetId, title, paper: paper2 }) => ({
|
|
9876
9903
|
sheetId,
|
|
9877
9904
|
title,
|
|
@@ -9925,6 +9952,7 @@ const {
|
|
|
9925
9952
|
});
|
|
9926
9953
|
formConfig$3.value = cloneDeep(cachedFormConfig ?? DefaultFormConfig);
|
|
9927
9954
|
sheetsData$1.value = cloneDeep(sheets);
|
|
9955
|
+
sheetsData$1.value.forEach(normalizeSterilizeInputProps);
|
|
9928
9956
|
const restored = sheetsData$1.value.find((item) => item.sheetId === sheetId) ?? sheetsData$1.value[0];
|
|
9929
9957
|
setActive(restored?.sheetId);
|
|
9930
9958
|
if (restored?.paper) APIS$1.set(restored.paper);
|
|
@@ -9983,6 +10011,7 @@ const useAllSpreadSheets = () => {
|
|
|
9983
10011
|
formConfig$3.value = cloneDeep(designer.formConfig);
|
|
9984
10012
|
sheetsData$1.value = cloneDeep(designer.sheets);
|
|
9985
10013
|
sheetsData$1.value.forEach(alignSheetColumns);
|
|
10014
|
+
sheetsData$1.value.forEach(normalizeSterilizeInputProps);
|
|
9986
10015
|
mergeFormTmplBomList(info.formTmplBomList);
|
|
9987
10016
|
mergeFormTmplObjectBomList(info.formTmplObjectBomList);
|
|
9988
10017
|
initialize({ fieldReplace: fieldReplaceCb, modelMetaMap: modelMetaMap2 });
|
|
@@ -10004,7 +10033,7 @@ const useAllSpreadSheets = () => {
|
|
|
10004
10033
|
return;
|
|
10005
10034
|
}
|
|
10006
10035
|
const res = await window.NocodeAdapter.utils.overlay.modal(
|
|
10007
|
-
_sfc_main$
|
|
10036
|
+
_sfc_main$6s,
|
|
10008
10037
|
{
|
|
10009
10038
|
data,
|
|
10010
10039
|
validator: (rule, value) => {
|
|
@@ -10044,6 +10073,7 @@ const useAllSpreadSheets = () => {
|
|
|
10044
10073
|
})
|
|
10045
10074
|
};
|
|
10046
10075
|
alignSheetColumns(sheet);
|
|
10076
|
+
normalizeSterilizeInputProps(sheet);
|
|
10047
10077
|
cacheStep();
|
|
10048
10078
|
sheetsData$1.value.push(sheet);
|
|
10049
10079
|
changeActiveSheet(sheet);
|
|
@@ -10098,6 +10128,7 @@ const useAllSpreadSheets = () => {
|
|
|
10098
10128
|
})
|
|
10099
10129
|
};
|
|
10100
10130
|
alignSheetColumns(sheet);
|
|
10131
|
+
normalizeSterilizeInputProps(sheet);
|
|
10101
10132
|
return sheet;
|
|
10102
10133
|
});
|
|
10103
10134
|
const first = sheetsData$1.value[0];
|
|
@@ -10191,6 +10222,7 @@ const useAllSpreadSheets = () => {
|
|
|
10191
10222
|
function saveSheets2(isEasyEdition2) {
|
|
10192
10223
|
try {
|
|
10193
10224
|
sheetsData$1.value.forEach(alignSheetColumns);
|
|
10225
|
+
sheetsData$1.value.forEach(normalizeSterilizeInputProps);
|
|
10194
10226
|
validateSheetsBeforeSave();
|
|
10195
10227
|
if (isEasyEdition2) {
|
|
10196
10228
|
const { clearUnusedModel } = useReverseModeling();
|
|
@@ -10426,7 +10458,7 @@ const useAllSpreadSheets = () => {
|
|
|
10426
10458
|
removeField: removeField2
|
|
10427
10459
|
};
|
|
10428
10460
|
};
|
|
10429
|
-
const _sfc_main$
|
|
10461
|
+
const _sfc_main$6r = /* @__PURE__ */ defineComponent({
|
|
10430
10462
|
__name: "table-modal",
|
|
10431
10463
|
props: {
|
|
10432
10464
|
type: { default: SubTableType.DEFAULT }
|
|
@@ -10630,7 +10662,7 @@ const _sfc_main$6q = /* @__PURE__ */ defineComponent({
|
|
|
10630
10662
|
};
|
|
10631
10663
|
}
|
|
10632
10664
|
});
|
|
10633
|
-
const _sfc_main$
|
|
10665
|
+
const _sfc_main$6q = /* @__PURE__ */ defineComponent({
|
|
10634
10666
|
__name: "thead-modal",
|
|
10635
10667
|
setup(__props) {
|
|
10636
10668
|
const { selection: selection2, paper: paper2, platformType: platformType2, isTextOnlineForm: isTextOnlineForm2 } = useSpreadSheet();
|
|
@@ -11181,7 +11213,7 @@ function parseHtml(html) {
|
|
|
11181
11213
|
mergedCells
|
|
11182
11214
|
};
|
|
11183
11215
|
}
|
|
11184
|
-
const _sfc_main$
|
|
11216
|
+
const _sfc_main$6p = /* @__PURE__ */ defineComponent({
|
|
11185
11217
|
__name: "field-edit-modal",
|
|
11186
11218
|
props: {
|
|
11187
11219
|
field: {}
|
|
@@ -11271,7 +11303,7 @@ const _sfc_main$6o = /* @__PURE__ */ defineComponent({
|
|
|
11271
11303
|
};
|
|
11272
11304
|
}
|
|
11273
11305
|
});
|
|
11274
|
-
const FieldEditModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11306
|
+
const FieldEditModal = /* @__PURE__ */ _export_sfc(_sfc_main$6p, [["__scopeId", "data-v-1eaa22cd"]]);
|
|
11275
11307
|
let doc$1;
|
|
11276
11308
|
const topPublishVersions = ref([]);
|
|
11277
11309
|
const currentVersion = ref();
|
|
@@ -12239,7 +12271,7 @@ function useSpreadSheet() {
|
|
|
12239
12271
|
}
|
|
12240
12272
|
if (checkSelectionConflict(selection$1)) return;
|
|
12241
12273
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
12242
|
-
_sfc_main$
|
|
12274
|
+
_sfc_main$6r,
|
|
12243
12275
|
{ type },
|
|
12244
12276
|
{ title: `添加${$t("sys.onlineForm.subTableType." + type)}`, width: "640px" }
|
|
12245
12277
|
);
|
|
@@ -12311,7 +12343,7 @@ function useSpreadSheet() {
|
|
|
12311
12343
|
return;
|
|
12312
12344
|
}
|
|
12313
12345
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
12314
|
-
_sfc_main$
|
|
12346
|
+
_sfc_main$6q,
|
|
12315
12347
|
{},
|
|
12316
12348
|
{
|
|
12317
12349
|
title: $t("sys.onlineForm.addHeader"),
|
|
@@ -12911,6 +12943,15 @@ function useSpreadSheet() {
|
|
|
12911
12943
|
if (copiedWidget.placeholder === void 0) {
|
|
12912
12944
|
copiedWidget.placeholder = getDefaultPlaceholder();
|
|
12913
12945
|
}
|
|
12946
|
+
if ([SubTableType.STERILIZE_BATCH, "PRODUCTION_CONTAINER_LIST_4_STERILIZATION"].includes(
|
|
12947
|
+
data.subModelType
|
|
12948
|
+
)) {
|
|
12949
|
+
return applyFieldProfileOnAttach({ ...copiedWidget }, {
|
|
12950
|
+
fieldKey: data.field,
|
|
12951
|
+
bizType: data.bizType,
|
|
12952
|
+
subModelType: data.subModelType
|
|
12953
|
+
});
|
|
12954
|
+
}
|
|
12914
12955
|
return copiedWidget;
|
|
12915
12956
|
}
|
|
12916
12957
|
const fieldWidget = {
|
|
@@ -12931,6 +12972,11 @@ function useSpreadSheet() {
|
|
|
12931
12972
|
bizType: data.bizType,
|
|
12932
12973
|
subModelType: data.subModelType
|
|
12933
12974
|
});
|
|
12975
|
+
const { fieldMetaMap: fieldMetaMap2 } = useModelFields();
|
|
12976
|
+
const modelDefaultValue = fieldMetaMap2.value[`${data.model}.${data.field}`]?.defaultValue;
|
|
12977
|
+
if (modelDefaultValue?.type !== FieldDefaultValueTypeEnum.NONE && !isNil(modelDefaultValue?.value)) {
|
|
12978
|
+
Object.assign(profiledWidget, { defaultValue: cloneDeep(modelDefaultValue.value) });
|
|
12979
|
+
}
|
|
12934
12980
|
const defaultRequired = data.subModelType === SubTableType.MATERIAL_BALANCE && data.field === "material_balance_percent_" ? false : true;
|
|
12935
12981
|
return {
|
|
12936
12982
|
...profiledWidget,
|
|
@@ -13743,7 +13789,7 @@ function useSpreadSheet() {
|
|
|
13743
13789
|
copyAndNew
|
|
13744
13790
|
};
|
|
13745
13791
|
}
|
|
13746
|
-
const _sfc_main$
|
|
13792
|
+
const _sfc_main$6o = /* @__PURE__ */ defineComponent({
|
|
13747
13793
|
__name: "padding-line",
|
|
13748
13794
|
setup(__props) {
|
|
13749
13795
|
const { paper: paper2 } = useSpreadSheet();
|
|
@@ -13777,7 +13823,7 @@ const _sfc_main$6n = /* @__PURE__ */ defineComponent({
|
|
|
13777
13823
|
};
|
|
13778
13824
|
}
|
|
13779
13825
|
});
|
|
13780
|
-
const _sfc_main$
|
|
13826
|
+
const _sfc_main$6n = /* @__PURE__ */ defineComponent({
|
|
13781
13827
|
__name: "page-line",
|
|
13782
13828
|
setup(__props) {
|
|
13783
13829
|
const { paper: paper2, paperLayout: paperLayout2 } = useSpreadSheet();
|
|
@@ -13815,7 +13861,7 @@ new ResizeObserver((entries) => {
|
|
|
13815
13861
|
}
|
|
13816
13862
|
}
|
|
13817
13863
|
});
|
|
13818
|
-
const _sfc_main$
|
|
13864
|
+
const _sfc_main$6m = /* @__PURE__ */ defineComponent({
|
|
13819
13865
|
__name: "sheet-tr",
|
|
13820
13866
|
setup(__props) {
|
|
13821
13867
|
const TrRef = ref();
|
|
@@ -13886,7 +13932,7 @@ function normalizeSpacerWidth(value) {
|
|
|
13886
13932
|
if (!Number.isFinite(width)) return DEFAULT_SPACER_WIDTH;
|
|
13887
13933
|
return Math.min(100, Math.max(2, Math.round(width)));
|
|
13888
13934
|
}
|
|
13889
|
-
const _sfc_main$
|
|
13935
|
+
const _sfc_main$6l = /* @__PURE__ */ defineComponent({
|
|
13890
13936
|
__name: "param-modal",
|
|
13891
13937
|
props: {
|
|
13892
13938
|
isEdit: { type: Boolean },
|
|
@@ -14109,7 +14155,7 @@ function useParam() {
|
|
|
14109
14155
|
};
|
|
14110
14156
|
async function addParam() {
|
|
14111
14157
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
14112
|
-
_sfc_main$
|
|
14158
|
+
_sfc_main$6l,
|
|
14113
14159
|
{},
|
|
14114
14160
|
{ title: $t("sys.bi.param.add"), width: "640px", zIndex: 1500 }
|
|
14115
14161
|
);
|
|
@@ -14119,7 +14165,7 @@ function useParam() {
|
|
|
14119
14165
|
}
|
|
14120
14166
|
async function editParam(param) {
|
|
14121
14167
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
14122
|
-
_sfc_main$
|
|
14168
|
+
_sfc_main$6l,
|
|
14123
14169
|
{ isEdit: true, param },
|
|
14124
14170
|
{ title: $t("sys.onlineForm.modifyParameters"), width: "640px", zIndex: 1500 }
|
|
14125
14171
|
);
|
|
@@ -14177,7 +14223,7 @@ const requiredSeal = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20v
|
|
|
14177
14223
|
const disabledSeal = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='60'%20cy='60'%20r='60'%20fill='%238B8B8B'%20fill-opacity='0.04'/%3e%3ccircle%20cx='60'%20cy='60'%20r='59'%20stroke='%238B8B8B'%20stroke-opacity='0.4'%20stroke-width='2'%20stroke-dasharray='3%202'/%3e%3cg%20opacity='0.2'%3e%3cpath%20d='M60%2039L64.7148%2053.5106H79.9722L67.6287%2062.4787L72.3435%2076.9894L60%2068.0213L47.6565%2076.9894L52.3713%2062.4787L40.0278%2053.5106H55.2852L60%2039Z'%20fill='%238B8B8B'/%3e%3cpath%20d='M32.2902%2023.5389L33.7338%2023.4554C33.8596%2025.3846%2033.402%2027.4447%2032.3742%2029.5924L31.3059%2028.5128C32.0466%2026.8457%2032.3721%2025.183%2032.2902%2023.5389ZM34.5429%2026.5251L35.9725%2026.4492C36.0409%2027.3564%2036.002%2028.2666%2035.8699%2029.1722L39.7073%2036.3373L38.4238%2037.0247L35.372%2031.3265C35.1483%2032.0271%2034.8812%2032.7146%2034.5784%2033.4032L33.5178%2032.3377C34.3294%2030.3965%2034.6687%2028.4543%2034.5429%2026.5251ZM37.6031%2020.7842L38.8866%2020.0968L39.6495%2021.5214L42.7102%2019.8822L43.3674%2021.1093L40.3067%2022.7485L41.0848%2024.2012L44.7238%2022.2523L45.3885%2023.4935L36.9258%2028.0259L36.261%2026.7847L39.8013%2024.8887L39.0232%2023.4359L35.9908%2025.06L35.3336%2023.8329L38.366%2022.2088L37.6031%2020.7842ZM37.7235%2029.4137L43.0832%2026.5432L42.5847%2025.6123L43.9105%2024.9022L44.4091%2025.8331L45.9464%2025.0097L46.6187%2026.265L45.0814%2027.0884L46.8641%2030.4171C47.4231%2031.4608%2047.1948%2032.2546%2046.1934%2032.791L44.1905%2033.8636L43.1928%2032.7463C43.8719%2032.4552%2044.4935%2032.1586%2045.0718%2031.8489C45.509%2031.6147%2045.6062%2031.2541%2045.3645%2030.8028L43.7555%2027.7985L38.3958%2030.669L37.7235%2029.4137ZM40.4182%2030.0396C41.617%2030.414%2042.572%2030.7737%2043.3048%2031.1254L42.6539%2032.4178C41.8626%2032.0248%2040.8926%2031.6369%2039.7295%2031.2615L40.4182%2030.0396Z'%20fill='%238B8B8B'/%3e%3cpath%20d='M77.4325%2030.2407L73.3887%2028.388L75.5346%2023.7042L84.9895%2028.036L82.8436%2032.7198L78.8289%2030.8804L78.489%2031.6223L84.2056%2034.2414L83.6458%2035.4632L77.9292%2032.8442L77.1562%2034.5315L75.7598%2033.8917L76.5328%2032.2044L70.7581%2029.5586L71.3179%2028.3368L77.0926%2030.9825L77.4325%2030.2407ZM75.5891%2027.1962L75.2759%2027.8798L81.9961%2030.9588L82.3093%2030.2751L75.5891%2027.1962ZM82.7892%2029.2278L83.1024%2028.5441L76.3821%2025.4652L76.0689%2026.1489L82.7892%2029.2278ZM78.1991%2021.4226L76.0754%2020.4496L76.6152%2019.2714L81.2408%2021.3907C81.2723%2021.0531%2081.2825%2020.7234%2081.2795%2020.4228L82.8698%2020.8698C82.8541%2021.2498%2082.8105%2021.6522%2082.7536%2022.0838L87.612%2024.3096L87.0722%2025.4879L85.0066%2024.5415L84.114%2025.4526L87.3287%2026.9254L86.7956%2028.0891L74.3005%2022.3644L74.8337%2021.2007L78.1502%2022.7202L78.1991%2021.4226ZM79.5321%2023.3533L82.674%2024.7928L83.5666%2023.8818L79.581%2022.0557L79.5321%2023.3533Z'%20fill='%238B8B8B'/%3e%3cpath%20d='M64.9002%2024.3983V28.2543H66.5962V29.6943H52.2602V28.2543H53.8922V24.3983H64.9002ZM55.3802%2028.2543H57.2042V25.7743H55.3802V28.2543ZM58.5482%2028.2543H60.2922V25.7743H58.5482V28.2543ZM61.6362%2028.2543H63.4122V25.7743H61.6362V28.2543ZM52.9322%2017.1183H56.4522C56.2282%2016.5583%2055.9722%2016.0463%2055.7002%2015.5823L57.2202%2015.3263C57.4762%2015.8703%2057.7322%2016.4623%2057.9722%2017.1183H60.9322C61.2522%2016.5103%2061.4762%2015.9023%2061.6362%2015.2783L63.1242%2015.4863C62.9642%2016.0623%2062.7562%2016.6063%2062.4682%2017.1183H65.9242V18.4783H60.1962V19.5823H65.0762V20.8943H60.1962V21.9503H66.5162V23.3583H52.3402V21.9503H58.6602V20.8943H53.8282V19.5823H58.6602V18.4783H52.9322V17.1183Z'%20fill='%238B8B8B'/%3e%3cpath%20d='M21.5%2059.9854C21.5%2052.979%2023.3752%2046.408%2026.6514%2040.749L27.5166%2041.251C24.3263%2046.7617%2022.5%2053.1598%2022.5%2059.9854C22.5001%2070.4159%2026.7648%2079.8507%2033.6484%2086.6445L33.2969%2087L32.9463%2087.3555C25.8803%2080.3816%2021.5001%2070.6943%2021.5%2059.9854ZM97.5%2059.9854C97.5%2053.1598%2095.6736%2046.7617%2092.4834%2041.251L93.3486%2040.749C96.6247%2046.408%2098.5%2052.979%2098.5%2059.9854C98.4999%2070.6943%2094.1197%2080.3816%2087.0537%2087.3555L86.7031%2087L86.3516%2086.6445C93.2352%2079.8507%2097.4999%2070.4159%2097.5%2059.9854Z'%20fill='%238B8B8B'/%3e%3cpath%20d='M59.9999%20101.124L61.1225%2097.6688H64.7552L61.8163%2095.5335L62.9389%2092.0786L59.9999%2094.2139L57.061%2092.0786L58.1836%2095.5335L55.2447%2097.6688H58.8774L59.9999%20101.124Z'%20fill='%238B8B8B'/%3e%3cpath%20d='M43.7058%2097.9533L45.6844%2094.9067L49.1933%2095.8469L46.9072%2093.0238L48.8857%2089.9771L45.4942%2091.279L43.2081%2088.4558L43.3982%2092.0835L40.0068%2093.3854L43.5157%2094.3256L43.7058%2097.9533Z'%20fill='%238B8B8B'/%3e%3cpath%20d='M76.294%2097.9533L76.4841%2094.3256L79.993%2093.3854L76.6016%2092.0835L76.7917%2088.4558L74.5056%2091.279L71.1142%2089.9771L73.0927%2093.0238L70.8065%2095.8469L74.3155%2094.9067L76.294%2097.9533Z'%20fill='%238B8B8B'/%3e%3c/g%3e%3c/svg%3e";
|
|
14178
14224
|
const normalSeal = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='60'%20cy='60'%20r='59'%20stroke='%23434855'%20stroke-opacity='0.4'%20stroke-width='2'%20stroke-dasharray='3%202'/%3e%3cg%20opacity='0.2'%3e%3cpath%20d='M60%2039L64.7148%2053.5106H79.9722L67.6287%2062.4787L72.3435%2076.9894L60%2068.0213L47.6565%2076.9894L52.3713%2062.4787L40.0278%2053.5106H55.2852L60%2039Z'%20fill='%23434855'/%3e%3cpath%20d='M32.2902%2023.5389L33.7338%2023.4554C33.8596%2025.3846%2033.402%2027.4447%2032.3742%2029.5924L31.3059%2028.5128C32.0466%2026.8457%2032.3721%2025.183%2032.2902%2023.5389ZM34.5429%2026.5251L35.9725%2026.4492C36.0409%2027.3564%2036.002%2028.2666%2035.8699%2029.1722L39.7073%2036.3373L38.4238%2037.0247L35.372%2031.3265C35.1483%2032.0271%2034.8812%2032.7146%2034.5784%2033.4032L33.5178%2032.3377C34.3294%2030.3965%2034.6687%2028.4543%2034.5429%2026.5251ZM37.6031%2020.7842L38.8866%2020.0968L39.6495%2021.5214L42.7102%2019.8822L43.3674%2021.1093L40.3067%2022.7485L41.0848%2024.2012L44.7238%2022.2523L45.3885%2023.4935L36.9258%2028.0259L36.261%2026.7847L39.8013%2024.8887L39.0232%2023.4359L35.9908%2025.06L35.3336%2023.8329L38.366%2022.2088L37.6031%2020.7842ZM37.7235%2029.4137L43.0832%2026.5432L42.5847%2025.6123L43.9105%2024.9022L44.4091%2025.8331L45.9464%2025.0097L46.6187%2026.265L45.0814%2027.0884L46.8641%2030.4171C47.4231%2031.4608%2047.1948%2032.2546%2046.1934%2032.791L44.1905%2033.8636L43.1928%2032.7463C43.8719%2032.4552%2044.4935%2032.1586%2045.0718%2031.8489C45.509%2031.6147%2045.6062%2031.2541%2045.3645%2030.8028L43.7555%2027.7985L38.3958%2030.669L37.7235%2029.4137ZM40.4182%2030.0396C41.617%2030.414%2042.572%2030.7737%2043.3048%2031.1254L42.6539%2032.4178C41.8626%2032.0248%2040.8926%2031.6369%2039.7295%2031.2615L40.4182%2030.0396Z'%20fill='%23434855'/%3e%3cpath%20d='M77.4325%2030.2407L73.3887%2028.388L75.5346%2023.7042L84.9895%2028.036L82.8436%2032.7198L78.8289%2030.8804L78.489%2031.6223L84.2056%2034.2414L83.6458%2035.4632L77.9292%2032.8442L77.1562%2034.5315L75.7598%2033.8917L76.5328%2032.2044L70.7581%2029.5586L71.3179%2028.3368L77.0926%2030.9825L77.4325%2030.2407ZM75.5891%2027.1962L75.2759%2027.8798L81.9961%2030.9588L82.3093%2030.2751L75.5891%2027.1962ZM82.7892%2029.2278L83.1024%2028.5441L76.3821%2025.4652L76.0689%2026.1489L82.7892%2029.2278ZM78.1991%2021.4226L76.0754%2020.4496L76.6152%2019.2714L81.2408%2021.3907C81.2723%2021.0531%2081.2825%2020.7234%2081.2795%2020.4228L82.8698%2020.8698C82.8541%2021.2498%2082.8105%2021.6522%2082.7536%2022.0838L87.612%2024.3096L87.0722%2025.4879L85.0066%2024.5415L84.114%2025.4526L87.3287%2026.9254L86.7956%2028.0891L74.3005%2022.3644L74.8337%2021.2007L78.1502%2022.7202L78.1991%2021.4226ZM79.5321%2023.3533L82.674%2024.7928L83.5666%2023.8818L79.581%2022.0557L79.5321%2023.3533Z'%20fill='%23434855'/%3e%3cpath%20d='M64.9002%2024.3983V28.2543H66.5962V29.6943H52.2602V28.2543H53.8922V24.3983H64.9002ZM55.3802%2028.2543H57.2042V25.7743H55.3802V28.2543ZM58.5482%2028.2543H60.2922V25.7743H58.5482V28.2543ZM61.6362%2028.2543H63.4122V25.7743H61.6362V28.2543ZM52.9322%2017.1183H56.4522C56.2282%2016.5583%2055.9722%2016.0463%2055.7002%2015.5823L57.2202%2015.3263C57.4762%2015.8703%2057.7322%2016.4623%2057.9722%2017.1183H60.9322C61.2522%2016.5103%2061.4762%2015.9023%2061.6362%2015.2783L63.1242%2015.4863C62.9642%2016.0623%2062.7562%2016.6063%2062.4682%2017.1183H65.9242V18.4783H60.1962V19.5823H65.0762V20.8943H60.1962V21.9503H66.5162V23.3583H52.3402V21.9503H58.6602V20.8943H53.8282V19.5823H58.6602V18.4783H52.9322V17.1183Z'%20fill='%23434855'/%3e%3cpath%20d='M21.5%2059.9854C21.5%2052.979%2023.3752%2046.408%2026.6514%2040.749L27.5166%2041.251C24.3263%2046.7617%2022.5%2053.1598%2022.5%2059.9854C22.5001%2070.4159%2026.7648%2079.8507%2033.6484%2086.6445L33.2969%2087L32.9463%2087.3555C25.8803%2080.3816%2021.5001%2070.6943%2021.5%2059.9854ZM97.5%2059.9854C97.5%2053.1598%2095.6736%2046.7617%2092.4834%2041.251L93.3486%2040.749C96.6247%2046.408%2098.5%2052.979%2098.5%2059.9854C98.4999%2070.6943%2094.1197%2080.3816%2087.0537%2087.3555L86.7031%2087L86.3516%2086.6445C93.2352%2079.8507%2097.4999%2070.4159%2097.5%2059.9854Z'%20fill='%23434855'/%3e%3cpath%20d='M59.9999%20101.124L61.1225%2097.6688H64.7552L61.8163%2095.5335L62.9389%2092.0786L59.9999%2094.2139L57.061%2092.0786L58.1836%2095.5335L55.2447%2097.6688H58.8774L59.9999%20101.124Z'%20fill='%23434855'/%3e%3cpath%20d='M43.7058%2097.9533L45.6844%2094.9067L49.1933%2095.8469L46.9072%2093.0238L48.8857%2089.9771L45.4942%2091.279L43.2081%2088.4558L43.3982%2092.0835L40.0068%2093.3854L43.5157%2094.3256L43.7058%2097.9533Z'%20fill='%23434855'/%3e%3cpath%20d='M76.294%2097.9533L76.4841%2094.3256L79.993%2093.3854L76.6016%2092.0835L76.7917%2088.4558L74.5056%2091.279L71.1142%2089.9771L73.0927%2093.0238L70.8065%2095.8469L74.3155%2094.9067L76.294%2097.9533Z'%20fill='%23434855'/%3e%3c/g%3e%3c/svg%3e";
|
|
14179
14225
|
const _hoisted_1$3y = ["src", "alt"];
|
|
14180
|
-
const _sfc_main$
|
|
14226
|
+
const _sfc_main$6k = /* @__PURE__ */ defineComponent({
|
|
14181
14227
|
__name: "seal-placeholder",
|
|
14182
14228
|
props: {
|
|
14183
14229
|
required: { type: Boolean },
|
|
@@ -14200,8 +14246,8 @@ const _sfc_main$6j = /* @__PURE__ */ defineComponent({
|
|
|
14200
14246
|
};
|
|
14201
14247
|
}
|
|
14202
14248
|
});
|
|
14203
|
-
const SealPlaceholder = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14204
|
-
const _sfc_main$
|
|
14249
|
+
const SealPlaceholder = /* @__PURE__ */ _export_sfc(_sfc_main$6k, [["__scopeId", "data-v-f7c59c71"]]);
|
|
14250
|
+
const _sfc_main$6j = /* @__PURE__ */ defineComponent({
|
|
14205
14251
|
__name: "seal-design",
|
|
14206
14252
|
props: {
|
|
14207
14253
|
fieldWidget: {}
|
|
@@ -14215,7 +14261,7 @@ const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
|
14215
14261
|
};
|
|
14216
14262
|
}
|
|
14217
14263
|
});
|
|
14218
|
-
const _sfc_main$
|
|
14264
|
+
const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
14219
14265
|
__name: "fake-input",
|
|
14220
14266
|
props: {
|
|
14221
14267
|
fieldWidget: {},
|
|
@@ -14285,7 +14331,7 @@ const _sfc_main$6h = /* @__PURE__ */ defineComponent({
|
|
|
14285
14331
|
};
|
|
14286
14332
|
}
|
|
14287
14333
|
});
|
|
14288
|
-
const FakeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14334
|
+
const FakeInput = /* @__PURE__ */ _export_sfc(_sfc_main$6i, [["__scopeId", "data-v-8540f4cf"]]);
|
|
14289
14335
|
const _hoisted_1$3x = { class: "fake-number-input__field" };
|
|
14290
14336
|
const _hoisted_2$2u = {
|
|
14291
14337
|
key: 0,
|
|
@@ -14299,7 +14345,7 @@ const _hoisted_4$1j = {
|
|
|
14299
14345
|
key: 1,
|
|
14300
14346
|
class: "fake-number-input__sub"
|
|
14301
14347
|
};
|
|
14302
|
-
const _sfc_main$
|
|
14348
|
+
const _sfc_main$6h = /* @__PURE__ */ defineComponent({
|
|
14303
14349
|
__name: "fake-number-input",
|
|
14304
14350
|
props: {
|
|
14305
14351
|
fieldWidget: {},
|
|
@@ -14348,7 +14394,7 @@ const _sfc_main$6g = /* @__PURE__ */ defineComponent({
|
|
|
14348
14394
|
};
|
|
14349
14395
|
}
|
|
14350
14396
|
});
|
|
14351
|
-
const FakeNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14397
|
+
const FakeNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$6h, [["__scopeId", "data-v-e439df69"]]);
|
|
14352
14398
|
const date = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23230;&%23151;&%23165;&%23230;&%23156;&%23159;'%20clip-path='url(%23clip0_0_26)'%3e%3cpath%20id='Vector%20(Stroke)'%20d='M12.0413%206.04134H1.95833V11.9583C1.95833%2012.0043%201.99546%2012.0412%202.04134%2012.0413H11.9583C12.0044%2012.0413%2012.0413%2012.0044%2012.0413%2011.9583V6.04134ZM12.0413%202.91634C12.0412%202.87046%2012.0043%202.83333%2011.9583%202.83333H9.83333V3.79134C9.83333%204.06748%209.60948%204.29134%209.33333%204.29134C9.05719%204.29134%208.83333%204.06748%208.83333%203.79134V2.83333H5.16634V3.79134C5.16634%204.06748%204.94248%204.29134%204.66634%204.29134C4.39035%204.29116%204.16634%204.06737%204.16634%203.79134V2.83333H2.04134C1.99558%202.83351%201.95851%202.87058%201.95833%202.91634V5.04134H12.0413V2.91634ZM13.0413%2011.9583C13.0413%2012.5566%2012.5567%2013.0413%2011.9583%2013.0413H2.04134C1.44319%2013.0412%200.958333%2012.5565%200.958333%2011.9583V2.91634C0.958509%202.31829%201.44329%201.83351%202.04134%201.83333H4.16634V1.45833C4.16634%201.1823%204.39035%200.958509%204.66634%200.958333C4.94248%200.958333%205.16634%201.18219%205.16634%201.45833V1.83333H8.83333V1.45833C8.83333%201.18219%209.05719%200.958334%209.33333%200.958333C9.60948%200.958333%209.83333%201.18219%209.83333%201.45833V1.83333H11.9583C12.5565%201.83333%2013.0412%202.31819%2013.0413%202.91634V11.9583Z'%20fill='%23B1B4BA'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_26'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
14353
14399
|
const time = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23230;&%23151;&%23182;&%23233;&%23151;&%23180;'%20clip-path='url(%23clip0_0_28)'%3e%3cpath%20id='Vector%20(Stroke)'%20d='M12.3336%206.99966C12.3335%204.05429%209.94508%201.66666%206.99966%201.66666C4.0544%201.66683%201.66683%204.0544%201.66666%206.99966C1.66666%209.94508%204.05429%2012.3335%206.99966%2012.3336C9.94518%2012.3336%2012.3336%209.94518%2012.3336%206.99966ZM6.50259%203.99966C6.50278%203.72368%206.72656%203.49966%207.00259%203.49966C7.2784%203.49993%207.50241%203.72384%207.50259%203.99966V7.29263L8.85611%208.64615C9.05116%208.84128%209.05093%209.15791%208.85611%209.35318C8.66085%209.54844%208.34336%209.54844%208.1481%209.35318L6.6481%207.85318C6.55459%207.75945%206.50259%207.63208%206.50259%207.49966V3.99966ZM13.3336%206.99966C13.3336%2010.4975%2010.4975%2013.3336%206.99966%2013.3336C3.50201%2013.3335%200.666656%2010.4974%200.666656%206.99966C0.666833%203.50212%203.50212%200.666833%206.99966%200.666656C10.4974%200.666656%2013.3335%203.50201%2013.3336%206.99966Z'%20fill='%23B1B4BA'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_28'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
14354
14400
|
const datetime$1 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23230;&%23151;&%23165;&%23230;&%23156;&%23159;&%23230;&%23151;&%23182;&%23233;&%23151;&%23180;'%20clip-path='url(%23clip0_0_38)'%3e%3cpath%20id='Vector%20(Stroke)'%20d='M12.5003%2010.0003C12.5003%208.61972%2011.3809%207.50049%2010.0003%207.50033C8.61961%207.50033%207.50033%208.61961%207.50033%2010.0003C7.5005%2011.3809%208.61972%2012.5003%2010.0003%2012.5003C11.3808%2012.5002%2012.5001%2011.3808%2012.5003%2010.0003ZM9.50033%208.50033C9.50033%208.22418%209.72418%208.00033%2010.0003%208.00033C10.2763%208.00049%2010.5003%208.22429%2010.5003%208.50033V9.95931L11.1038%2010.5628C11.299%2010.758%2011.2988%2011.0746%2011.1038%2011.2699C10.9086%2011.4651%2010.5921%2011.4651%2010.3968%2011.2699L9.64681%2010.5199C9.55304%2010.4261%209.50033%2010.2989%209.50033%2010.1663V8.50033ZM12.0413%202.91634C12.0412%202.87047%2012.0042%202.83333%2011.9583%202.83333H9.83333V3.79134C9.83333%204.06748%209.60948%204.29134%209.33333%204.29134C9.05719%204.29134%208.83333%204.06748%208.83333%203.79134V2.83333H5.16634V3.79134C5.16634%204.06748%204.94248%204.29134%204.66634%204.29134C4.39035%204.29116%204.16634%204.06737%204.16634%203.79134V2.83333H2.04134C1.99558%202.83351%201.95851%202.87058%201.95833%202.91634V11.9583C1.95833%2012.0043%201.99546%2012.0412%202.04134%2012.0413H6.50033V13.0413H2.04134C1.44319%2013.0412%200.958333%2012.5565%200.958333%2011.9583V2.91634C0.958515%202.3183%201.4433%201.83351%202.04134%201.83333H4.16634V1.45833C4.16634%201.1823%204.39035%200.958509%204.66634%200.958333C4.94248%200.958333%205.16634%201.18219%205.16634%201.45833V1.83333H8.83333V1.45833C8.83333%201.18219%209.05719%200.958334%209.33333%200.958333C9.60948%200.958333%209.83333%201.18219%209.83333%201.45833V1.83333H11.9583C12.5565%201.83333%2013.0412%202.31819%2013.0413%202.91634V6.00033H12.0413V2.91634ZM13.5003%2010.0003C13.5001%2011.9331%2011.9331%2013.5002%2010.0003%2013.5003C8.06744%2013.5003%206.5005%2011.9332%206.50033%2010.0003C6.50033%208.06733%208.06733%206.50033%2010.0003%206.50033C11.9332%206.50049%2013.5003%208.06743%2013.5003%2010.0003Z'%20fill='%23B1B4BA'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_38'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
@@ -14360,7 +14406,7 @@ const attachmentFilled = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'
|
|
|
14360
14406
|
const add$2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%3e%3cpath%20id='Vector'%20d='M6.5%2012.25V7.5H1.75C1.61739%207.5%201.49021%207.44732%201.39645%207.35355C1.30268%207.25978%201.25%207.13261%201.25%207C1.25%206.86739%201.30268%206.74021%201.39645%206.64645C1.49021%206.55268%201.61739%206.5%201.75%206.5H6.5V1.75C6.5%201.61739%206.55268%201.49021%206.64645%201.39645C6.74022%201.30268%206.86739%201.25%207%201.25C7.13261%201.25%207.25979%201.30268%207.35355%201.39645C7.44732%201.49021%207.5%201.61739%207.5%201.75V6.5H12.25C12.374%206.49988%2012.4936%206.54583%2012.5856%206.62894C12.6777%206.71205%2012.7355%206.82638%2012.748%206.94975C12.7604%207.07312%2012.7266%207.19671%2012.6531%207.29655C12.5795%207.39638%2012.4715%207.46533%2012.35%207.49L12.25%207.5H7.5V12.25C7.5%2012.3826%207.44732%2012.5098%207.35355%2012.6036C7.25979%2012.6973%207.13261%2012.75%207%2012.75C6.86739%2012.75%206.74022%2012.6973%206.64645%2012.6036C6.55268%2012.5098%206.5%2012.3826%206.5%2012.25Z'%20fill='%231A1D23'/%3e%3c/g%3e%3c/svg%3e";
|
|
14361
14407
|
const addHover = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%3e%3cpath%20id='Vector'%20d='M6.5%2012.25V7.5H1.75C1.61739%207.5%201.49021%207.44732%201.39645%207.35355C1.30268%207.25978%201.25%207.13261%201.25%207C1.25%206.86739%201.30268%206.74021%201.39645%206.64645C1.49021%206.55268%201.61739%206.5%201.75%206.5H6.5V1.75C6.5%201.61739%206.55268%201.49021%206.64645%201.39645C6.74022%201.30268%206.86739%201.25%207%201.25C7.13261%201.25%207.25979%201.30268%207.35355%201.39645C7.44732%201.49021%207.5%201.61739%207.5%201.75V6.5H12.25C12.374%206.49988%2012.4936%206.54583%2012.5856%206.62894C12.6777%206.71205%2012.7355%206.82638%2012.748%206.94975C12.7604%207.07312%2012.7266%207.19671%2012.6531%207.29655C12.5795%207.39638%2012.4715%207.46533%2012.35%207.49L12.25%207.5H7.5V12.25C7.5%2012.3826%207.44732%2012.5098%207.35355%2012.6036C7.25979%2012.6973%207.13261%2012.75%207%2012.75C6.86739%2012.75%206.74022%2012.6973%206.64645%2012.6036C6.55268%2012.5098%206.5%2012.3826%206.5%2012.25Z'%20fill='%23026AC8'/%3e%3c/g%3e%3c/svg%3e";
|
|
14362
14408
|
const _hoisted_1$3w = ["src"];
|
|
14363
|
-
const _sfc_main$
|
|
14409
|
+
const _sfc_main$6g = /* @__PURE__ */ defineComponent({
|
|
14364
14410
|
__name: "field-state-icon",
|
|
14365
14411
|
props: {
|
|
14366
14412
|
type: {}
|
|
@@ -14389,8 +14435,8 @@ const _sfc_main$6f = /* @__PURE__ */ defineComponent({
|
|
|
14389
14435
|
};
|
|
14390
14436
|
}
|
|
14391
14437
|
});
|
|
14392
|
-
const FieldStateIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14393
|
-
const _sfc_main$
|
|
14438
|
+
const FieldStateIcon = /* @__PURE__ */ _export_sfc(_sfc_main$6g, [["__scopeId", "data-v-634c3d3f"]]);
|
|
14439
|
+
const _sfc_main$6f = /* @__PURE__ */ defineComponent({
|
|
14394
14440
|
__name: "fake-select",
|
|
14395
14441
|
props: {
|
|
14396
14442
|
fieldWidget: {},
|
|
@@ -14446,8 +14492,8 @@ const _sfc_main$6e = /* @__PURE__ */ defineComponent({
|
|
|
14446
14492
|
};
|
|
14447
14493
|
}
|
|
14448
14494
|
});
|
|
14449
|
-
const FakeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14450
|
-
const _sfc_main$
|
|
14495
|
+
const FakeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6f, [["__scopeId", "data-v-5391114c"]]);
|
|
14496
|
+
const _sfc_main$6e = /* @__PURE__ */ defineComponent({
|
|
14451
14497
|
__name: "radio-icon",
|
|
14452
14498
|
props: {
|
|
14453
14499
|
disabled: { type: Boolean, default: false },
|
|
@@ -14462,8 +14508,8 @@ const _sfc_main$6d = /* @__PURE__ */ defineComponent({
|
|
|
14462
14508
|
};
|
|
14463
14509
|
}
|
|
14464
14510
|
});
|
|
14465
|
-
const RadioIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14466
|
-
const _sfc_main$
|
|
14511
|
+
const RadioIcon = /* @__PURE__ */ _export_sfc(_sfc_main$6e, [["__scopeId", "data-v-80e07ffa"]]);
|
|
14512
|
+
const _sfc_main$6d = /* @__PURE__ */ defineComponent({
|
|
14467
14513
|
__name: "checkbox-icon",
|
|
14468
14514
|
props: {
|
|
14469
14515
|
disabled: { type: Boolean, default: false },
|
|
@@ -14478,7 +14524,7 @@ const _sfc_main$6c = /* @__PURE__ */ defineComponent({
|
|
|
14478
14524
|
};
|
|
14479
14525
|
}
|
|
14480
14526
|
});
|
|
14481
|
-
const CheckboxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14527
|
+
const CheckboxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$6d, [["__scopeId", "data-v-47c923e5"]]);
|
|
14482
14528
|
const _hoisted_1$3v = {
|
|
14483
14529
|
key: 0,
|
|
14484
14530
|
class: "fake-option-select__affix"
|
|
@@ -14493,7 +14539,7 @@ const _hoisted_5$_ = {
|
|
|
14493
14539
|
key: 3,
|
|
14494
14540
|
class: "fake-option-select__affix"
|
|
14495
14541
|
};
|
|
14496
|
-
const _sfc_main$
|
|
14542
|
+
const _sfc_main$6c = /* @__PURE__ */ defineComponent({
|
|
14497
14543
|
__name: "fake-option-select",
|
|
14498
14544
|
props: {
|
|
14499
14545
|
fieldWidget: {},
|
|
@@ -14642,7 +14688,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
14642
14688
|
};
|
|
14643
14689
|
}
|
|
14644
14690
|
});
|
|
14645
|
-
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14691
|
+
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6c, [["__scopeId", "data-v-62ffc455"]]);
|
|
14646
14692
|
const FieldDesignComponents = {
|
|
14647
14693
|
"fw:input": FakeInput,
|
|
14648
14694
|
"fw:number": FakeNumberInput,
|
|
@@ -14656,7 +14702,7 @@ const FieldDesignComponents = {
|
|
|
14656
14702
|
"fw:image": FakeSelect,
|
|
14657
14703
|
"fw:file": FakeSelect,
|
|
14658
14704
|
"fw:signature": FakeSelect,
|
|
14659
|
-
"fw:seal": _sfc_main$
|
|
14705
|
+
"fw:seal": _sfc_main$6j,
|
|
14660
14706
|
"fw:enum": FakeOptionSelect,
|
|
14661
14707
|
"fw:boolean": FakeOptionSelect
|
|
14662
14708
|
};
|
|
@@ -14669,7 +14715,7 @@ const _hoisted_3$1R = {
|
|
|
14669
14715
|
key: 3,
|
|
14670
14716
|
class: "suffix"
|
|
14671
14717
|
};
|
|
14672
|
-
const _sfc_main$
|
|
14718
|
+
const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
14673
14719
|
__name: "cell-widget-design",
|
|
14674
14720
|
props: {
|
|
14675
14721
|
fieldWidget: {},
|
|
@@ -14781,7 +14827,7 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
|
|
|
14781
14827
|
};
|
|
14782
14828
|
}
|
|
14783
14829
|
});
|
|
14784
|
-
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14830
|
+
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$6b, [["__scopeId", "data-v-7ee5f38b"]]);
|
|
14785
14831
|
const cellWidgetDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14786
14832
|
__proto__: null,
|
|
14787
14833
|
default: CellWidgetDesign
|
|
@@ -15053,7 +15099,7 @@ const _hoisted_2$2r = {
|
|
|
15053
15099
|
key: 0,
|
|
15054
15100
|
class: "text"
|
|
15055
15101
|
};
|
|
15056
|
-
const _sfc_main$
|
|
15102
|
+
const _sfc_main$6a = /* @__PURE__ */ defineComponent({
|
|
15057
15103
|
__name: "barcode-render",
|
|
15058
15104
|
props: {
|
|
15059
15105
|
widget: {},
|
|
@@ -15122,7 +15168,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
15122
15168
|
};
|
|
15123
15169
|
}
|
|
15124
15170
|
});
|
|
15125
|
-
const barcodeRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15171
|
+
const barcodeRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$6a, [["__scopeId", "data-v-e32407c0"]]);
|
|
15126
15172
|
const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15127
15173
|
__proto__: null,
|
|
15128
15174
|
default: barcodeRender$1
|
|
@@ -15134,7 +15180,7 @@ const _hoisted_4$1h = {
|
|
|
15134
15180
|
key: 0,
|
|
15135
15181
|
class: "column-name column-name--middle"
|
|
15136
15182
|
};
|
|
15137
|
-
const _sfc_main$
|
|
15183
|
+
const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
15138
15184
|
__name: "diagonal",
|
|
15139
15185
|
props: {
|
|
15140
15186
|
value: { default: () => [] },
|
|
@@ -15208,8 +15254,8 @@ const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
|
15208
15254
|
};
|
|
15209
15255
|
}
|
|
15210
15256
|
});
|
|
15211
|
-
const Diagonal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15212
|
-
const _sfc_main$
|
|
15257
|
+
const Diagonal = /* @__PURE__ */ _export_sfc(_sfc_main$69, [["__scopeId", "data-v-07498761"]]);
|
|
15258
|
+
const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
15213
15259
|
__name: "diagonal-render",
|
|
15214
15260
|
props: {
|
|
15215
15261
|
widget: {},
|
|
@@ -15253,10 +15299,10 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
15253
15299
|
});
|
|
15254
15300
|
const __vite_glob_3_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15255
15301
|
__proto__: null,
|
|
15256
|
-
default: _sfc_main$
|
|
15302
|
+
default: _sfc_main$68
|
|
15257
15303
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15258
15304
|
const _hoisted_1$3r = ["src"];
|
|
15259
|
-
const _sfc_main$
|
|
15305
|
+
const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
15260
15306
|
__name: "image-render",
|
|
15261
15307
|
props: {
|
|
15262
15308
|
widget: {},
|
|
@@ -15291,12 +15337,12 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
|
15291
15337
|
};
|
|
15292
15338
|
}
|
|
15293
15339
|
});
|
|
15294
|
-
const imageRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15340
|
+
const imageRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$67, [["__scopeId", "data-v-d5655ea0"]]);
|
|
15295
15341
|
const __vite_glob_3_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15296
15342
|
__proto__: null,
|
|
15297
15343
|
default: imageRender$1
|
|
15298
15344
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15299
|
-
const _sfc_main$
|
|
15345
|
+
const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
15300
15346
|
__name: "line-design",
|
|
15301
15347
|
props: {
|
|
15302
15348
|
widget: {},
|
|
@@ -15332,12 +15378,12 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
15332
15378
|
};
|
|
15333
15379
|
}
|
|
15334
15380
|
});
|
|
15335
|
-
const LineDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15381
|
+
const LineDesign = /* @__PURE__ */ _export_sfc(_sfc_main$66, [["__scopeId", "data-v-97e0d82f"]]);
|
|
15336
15382
|
const lineDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15337
15383
|
__proto__: null,
|
|
15338
15384
|
default: LineDesign
|
|
15339
15385
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15340
|
-
const _sfc_main$
|
|
15386
|
+
const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
15341
15387
|
__name: "line-render",
|
|
15342
15388
|
props: {
|
|
15343
15389
|
widget: {},
|
|
@@ -15363,7 +15409,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
15363
15409
|
});
|
|
15364
15410
|
const __vite_glob_3_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15365
15411
|
__proto__: null,
|
|
15366
|
-
default: _sfc_main$
|
|
15412
|
+
default: _sfc_main$65
|
|
15367
15413
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15368
15414
|
function calcText(exp, options) {
|
|
15369
15415
|
if (!exp) return "";
|
|
@@ -15377,7 +15423,7 @@ function calcText(exp, options) {
|
|
|
15377
15423
|
return string;
|
|
15378
15424
|
}
|
|
15379
15425
|
const _hoisted_1$3q = ["data-format"];
|
|
15380
|
-
const _sfc_main$
|
|
15426
|
+
const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
15381
15427
|
__name: "pagination-render",
|
|
15382
15428
|
props: {
|
|
15383
15429
|
widget: {},
|
|
@@ -15420,13 +15466,13 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
15420
15466
|
};
|
|
15421
15467
|
}
|
|
15422
15468
|
});
|
|
15423
|
-
const paginationRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15469
|
+
const paginationRender = /* @__PURE__ */ _export_sfc(_sfc_main$64, [["__scopeId", "data-v-9678ceeb"]]);
|
|
15424
15470
|
const __vite_glob_3_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15425
15471
|
__proto__: null,
|
|
15426
15472
|
default: paginationRender
|
|
15427
15473
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15428
15474
|
const _hoisted_1$3p = ["data-placeholder"];
|
|
15429
|
-
const _sfc_main$
|
|
15475
|
+
const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
15430
15476
|
__name: "power-design",
|
|
15431
15477
|
props: {
|
|
15432
15478
|
widget: {}
|
|
@@ -15440,12 +15486,12 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
15440
15486
|
};
|
|
15441
15487
|
}
|
|
15442
15488
|
});
|
|
15443
|
-
const PowerDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15489
|
+
const PowerDesign = /* @__PURE__ */ _export_sfc(_sfc_main$63, [["__scopeId", "data-v-2f511828"]]);
|
|
15444
15490
|
const powerDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15445
15491
|
__proto__: null,
|
|
15446
15492
|
default: PowerDesign
|
|
15447
15493
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15448
|
-
const _sfc_main$
|
|
15494
|
+
const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
15449
15495
|
__name: "power-render",
|
|
15450
15496
|
props: {
|
|
15451
15497
|
widget: {},
|
|
@@ -15459,11 +15505,11 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
|
15459
15505
|
});
|
|
15460
15506
|
const __vite_glob_3_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15461
15507
|
__proto__: null,
|
|
15462
|
-
default: _sfc_main$
|
|
15508
|
+
default: _sfc_main$62
|
|
15463
15509
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15464
15510
|
const _hoisted_1$3o = ["id"];
|
|
15465
15511
|
const _hoisted_2$2p = ["src"];
|
|
15466
|
-
const _sfc_main$
|
|
15512
|
+
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
15467
15513
|
__name: "qrcode-render",
|
|
15468
15514
|
props: {
|
|
15469
15515
|
widget: {},
|
|
@@ -15524,10 +15570,10 @@ const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
|
15524
15570
|
});
|
|
15525
15571
|
const __vite_glob_3_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15526
15572
|
__proto__: null,
|
|
15527
|
-
default: _sfc_main$
|
|
15573
|
+
default: _sfc_main$61
|
|
15528
15574
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15529
15575
|
const _hoisted_1$3n = ["data-placeholder"];
|
|
15530
|
-
const _sfc_main$
|
|
15576
|
+
const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
15531
15577
|
__name: "rangelimit-design",
|
|
15532
15578
|
props: {
|
|
15533
15579
|
widget: {}
|
|
@@ -15541,12 +15587,12 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
15541
15587
|
};
|
|
15542
15588
|
}
|
|
15543
15589
|
});
|
|
15544
|
-
const RangeLimitDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15590
|
+
const RangeLimitDesign = /* @__PURE__ */ _export_sfc(_sfc_main$60, [["__scopeId", "data-v-1515adf1"]]);
|
|
15545
15591
|
const rangelimitDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15546
15592
|
__proto__: null,
|
|
15547
15593
|
default: RangeLimitDesign
|
|
15548
15594
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15549
|
-
const _sfc_main$
|
|
15595
|
+
const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
15550
15596
|
__name: "rangelimit-render",
|
|
15551
15597
|
props: {
|
|
15552
15598
|
widget: {},
|
|
@@ -15560,10 +15606,10 @@ const _sfc_main$5_ = /* @__PURE__ */ defineComponent({
|
|
|
15560
15606
|
});
|
|
15561
15607
|
const __vite_glob_3_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15562
15608
|
__proto__: null,
|
|
15563
|
-
default: _sfc_main$
|
|
15609
|
+
default: _sfc_main$5$
|
|
15564
15610
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15565
15611
|
const _hoisted_1$3m = ["title"];
|
|
15566
|
-
const _sfc_main$
|
|
15612
|
+
const _sfc_main$5_ = /* @__PURE__ */ defineComponent({
|
|
15567
15613
|
__name: "text-render",
|
|
15568
15614
|
props: {
|
|
15569
15615
|
widget: {},
|
|
@@ -15595,7 +15641,7 @@ const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
|
|
|
15595
15641
|
};
|
|
15596
15642
|
}
|
|
15597
15643
|
});
|
|
15598
|
-
const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15644
|
+
const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$5_, [["__scopeId", "data-v-5e13c4e4"]]);
|
|
15599
15645
|
const __vite_glob_3_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15600
15646
|
__proto__: null,
|
|
15601
15647
|
default: textRender
|
|
@@ -15716,7 +15762,7 @@ const TimeDiffFormatter = {
|
|
|
15716
15762
|
}
|
|
15717
15763
|
};
|
|
15718
15764
|
const _hoisted_1$3l = { class: "nocode-read-only-text" };
|
|
15719
|
-
const _sfc_main$
|
|
15765
|
+
const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
|
|
15720
15766
|
__name: "timediff-render",
|
|
15721
15767
|
props: {
|
|
15722
15768
|
widget: {},
|
|
@@ -15760,11 +15806,11 @@ const _sfc_main$5Y = /* @__PURE__ */ defineComponent({
|
|
|
15760
15806
|
});
|
|
15761
15807
|
const __vite_glob_3_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15762
15808
|
__proto__: null,
|
|
15763
|
-
default: _sfc_main$
|
|
15809
|
+
default: _sfc_main$5Z
|
|
15764
15810
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15765
15811
|
const _hoisted_1$3k = { class: "w-full h-full" };
|
|
15766
15812
|
const _hoisted_2$2o = ["src"];
|
|
15767
|
-
const _sfc_main$
|
|
15813
|
+
const _sfc_main$5Y = /* @__PURE__ */ defineComponent({
|
|
15768
15814
|
...{
|
|
15769
15815
|
inheritAttrs: false
|
|
15770
15816
|
},
|
|
@@ -15789,7 +15835,7 @@ const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
|
15789
15835
|
};
|
|
15790
15836
|
}
|
|
15791
15837
|
});
|
|
15792
|
-
const watermarkRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15838
|
+
const watermarkRender = /* @__PURE__ */ _export_sfc(_sfc_main$5Y, [["__scopeId", "data-v-07e04847"]]);
|
|
15793
15839
|
const __vite_glob_3_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15794
15840
|
__proto__: null,
|
|
15795
15841
|
default: watermarkRender
|
|
@@ -15814,7 +15860,7 @@ function asyncImportWidgetConfigList() {
|
|
|
15814
15860
|
return widgetConfigList;
|
|
15815
15861
|
}
|
|
15816
15862
|
function asyncImportWidgetDesign() {
|
|
15817
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design
|
|
15863
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-DP1XaAY8.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-BiCt0aS7.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-DmvWALIE.js"), "./image/image-design.vue": () => import("./image-design-Dr-L9AdG.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-9Z_iRIKM.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BGotQsIf.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-qbUjPX-B.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-DXKTYOY7.js"), "./text/text-design.vue": () => import("./text-design-CwHfwel0.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-8kCO3aXz.js") });
|
|
15818
15864
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
15819
15865
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
15820
15866
|
if (mKey) {
|
|
@@ -15848,7 +15894,7 @@ function syncImportWidgetRender() {
|
|
|
15848
15894
|
return widgetRenderMap2;
|
|
15849
15895
|
}
|
|
15850
15896
|
const widgetRenderMap = syncImportWidgetRender();
|
|
15851
|
-
const _sfc_main$
|
|
15897
|
+
const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
15852
15898
|
__name: "paper-widget-design",
|
|
15853
15899
|
props: {
|
|
15854
15900
|
paperWidget: {},
|
|
@@ -16367,7 +16413,7 @@ const _hoisted_3$1P = {
|
|
|
16367
16413
|
class: "inline-cell-content__media"
|
|
16368
16414
|
};
|
|
16369
16415
|
const _hoisted_4$1g = ["src", "alt", "title"];
|
|
16370
|
-
const _sfc_main$
|
|
16416
|
+
const _sfc_main$5W = /* @__PURE__ */ defineComponent({
|
|
16371
16417
|
__name: "inline-cell-content",
|
|
16372
16418
|
props: {
|
|
16373
16419
|
content: {},
|
|
@@ -16401,7 +16447,7 @@ const _sfc_main$5V = /* @__PURE__ */ defineComponent({
|
|
|
16401
16447
|
};
|
|
16402
16448
|
}
|
|
16403
16449
|
});
|
|
16404
|
-
const InlineCellContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16450
|
+
const InlineCellContent = /* @__PURE__ */ _export_sfc(_sfc_main$5W, [["__scopeId", "data-v-17564ef2"]]);
|
|
16405
16451
|
function warn$1(msg, err) {
|
|
16406
16452
|
if (typeof console !== "undefined") {
|
|
16407
16453
|
console.warn(`[intlify] ` + msg);
|
|
@@ -20774,7 +20820,7 @@ const _hoisted_4$1f = ["onPointerdown", "onMouseenter"];
|
|
|
20774
20820
|
const _hoisted_5$Z = { class: "inline-icon-suggestions__label" };
|
|
20775
20821
|
const InlineCellClipboardMime = "application/x-gct-inline-cell-content+json";
|
|
20776
20822
|
const InlineCellClipboardVersion = 1;
|
|
20777
|
-
const _sfc_main$
|
|
20823
|
+
const _sfc_main$5V = /* @__PURE__ */ defineComponent({
|
|
20778
20824
|
__name: "inline-cell-editor",
|
|
20779
20825
|
props: {
|
|
20780
20826
|
x: {},
|
|
@@ -21473,7 +21519,7 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
21473
21519
|
};
|
|
21474
21520
|
}
|
|
21475
21521
|
});
|
|
21476
|
-
const InlineCellEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21522
|
+
const InlineCellEditor = /* @__PURE__ */ _export_sfc(_sfc_main$5V, [["__scopeId", "data-v-c06c1c4c"]]);
|
|
21477
21523
|
const FLEX_V_ALIGN = {
|
|
21478
21524
|
top: "flex-start",
|
|
21479
21525
|
middle: "center",
|
|
@@ -21590,7 +21636,7 @@ function useDrop(allowTypes, callbacks = {}) {
|
|
|
21590
21636
|
}
|
|
21591
21637
|
const _hoisted_1$3h = ["data-placeholder"];
|
|
21592
21638
|
const _hoisted_2$2l = { key: 3 };
|
|
21593
|
-
const _sfc_main$
|
|
21639
|
+
const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
21594
21640
|
__name: "sheet-cell",
|
|
21595
21641
|
props: {
|
|
21596
21642
|
x: {},
|
|
@@ -21775,7 +21821,7 @@ const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
|
21775
21821
|
"field-meta": __props.cell.fieldMeta
|
|
21776
21822
|
}, null, 8, ["field-widget", "field-meta"])
|
|
21777
21823
|
], 4)) : __props.cell.type === unref(CellType).Widget ? (openBlock(), createElementBlock("div", _hoisted_2$2l, [
|
|
21778
|
-
createVNode(_sfc_main$
|
|
21824
|
+
createVNode(_sfc_main$5X, {
|
|
21779
21825
|
"paper-widget": __props.cell.paperWidget,
|
|
21780
21826
|
"field-meta": __props.cell.fieldMeta,
|
|
21781
21827
|
"is-in-cell": true
|
|
@@ -21794,7 +21840,7 @@ const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
|
21794
21840
|
};
|
|
21795
21841
|
}
|
|
21796
21842
|
});
|
|
21797
|
-
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21843
|
+
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5U, [["__scopeId", "data-v-23e833d0"]]);
|
|
21798
21844
|
const ThresholdValue = 8;
|
|
21799
21845
|
function getOffsetValue(left, width, points) {
|
|
21800
21846
|
let offset2 = left;
|
|
@@ -21951,7 +21997,7 @@ function useDraggable(el, initialLayout, options) {
|
|
|
21951
21997
|
};
|
|
21952
21998
|
}
|
|
21953
21999
|
const _hoisted_1$3g = { class: "drag-box__move" };
|
|
21954
|
-
const _sfc_main$
|
|
22000
|
+
const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
21955
22001
|
__name: "drag-box",
|
|
21956
22002
|
props: {
|
|
21957
22003
|
initialLayout: {},
|
|
@@ -22056,9 +22102,9 @@ const _sfc_main$5S = /* @__PURE__ */ defineComponent({
|
|
|
22056
22102
|
};
|
|
22057
22103
|
}
|
|
22058
22104
|
});
|
|
22059
|
-
const DragBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22105
|
+
const DragBox = /* @__PURE__ */ _export_sfc(_sfc_main$5T, [["__scopeId", "data-v-4d8a21ec"]]);
|
|
22060
22106
|
const _hoisted_1$3f = ["src"];
|
|
22061
|
-
const _sfc_main$
|
|
22107
|
+
const _sfc_main$5S = /* @__PURE__ */ defineComponent({
|
|
22062
22108
|
__name: "sheet-image",
|
|
22063
22109
|
props: {
|
|
22064
22110
|
id: {},
|
|
@@ -22102,8 +22148,8 @@ const _sfc_main$5R = /* @__PURE__ */ defineComponent({
|
|
|
22102
22148
|
};
|
|
22103
22149
|
}
|
|
22104
22150
|
});
|
|
22105
|
-
const SpreadSheetImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22106
|
-
const _sfc_main$
|
|
22151
|
+
const SpreadSheetImage = /* @__PURE__ */ _export_sfc(_sfc_main$5S, [["__scopeId", "data-v-57e657ee"]]);
|
|
22152
|
+
const _sfc_main$5R = /* @__PURE__ */ defineComponent({
|
|
22107
22153
|
__name: "sheet-selection",
|
|
22108
22154
|
setup(__props) {
|
|
22109
22155
|
const { selection: selection2, colWidthStage: ws, rowHeightStage: rs } = useSpreadSheet();
|
|
@@ -22153,12 +22199,12 @@ const _sfc_main$5Q = /* @__PURE__ */ defineComponent({
|
|
|
22153
22199
|
};
|
|
22154
22200
|
}
|
|
22155
22201
|
});
|
|
22156
|
-
const SpreadSheetSelection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22202
|
+
const SpreadSheetSelection = /* @__PURE__ */ _export_sfc(_sfc_main$5R, [["__scopeId", "data-v-446a25ba"]]);
|
|
22157
22203
|
const _hoisted_1$3e = {
|
|
22158
22204
|
key: 0,
|
|
22159
22205
|
class: "h-full w-full flex justify-center items-center overflow-hidden text-16px color-[#ddd]"
|
|
22160
22206
|
};
|
|
22161
|
-
const _sfc_main$
|
|
22207
|
+
const _sfc_main$5Q = /* @__PURE__ */ defineComponent({
|
|
22162
22208
|
__name: "sheet-dynamic-tr",
|
|
22163
22209
|
props: {
|
|
22164
22210
|
id: {},
|
|
@@ -22257,7 +22303,7 @@ const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
|
22257
22303
|
};
|
|
22258
22304
|
}
|
|
22259
22305
|
});
|
|
22260
|
-
const _sfc_main$
|
|
22306
|
+
const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
22261
22307
|
__name: "sheet-check-table",
|
|
22262
22308
|
props: {
|
|
22263
22309
|
id: {},
|
|
@@ -22286,7 +22332,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
22286
22332
|
};
|
|
22287
22333
|
}
|
|
22288
22334
|
});
|
|
22289
|
-
const _sfc_main$
|
|
22335
|
+
const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
22290
22336
|
__name: "sheet-fixed-table",
|
|
22291
22337
|
props: {
|
|
22292
22338
|
id: {},
|
|
@@ -22370,8 +22416,8 @@ const _sfc_main$5N = /* @__PURE__ */ defineComponent({
|
|
|
22370
22416
|
};
|
|
22371
22417
|
}
|
|
22372
22418
|
});
|
|
22373
|
-
const SpreadSheetFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22374
|
-
const _sfc_main$
|
|
22419
|
+
const SpreadSheetFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$5O, [["__scopeId", "data-v-f5d2e0dc"]]);
|
|
22420
|
+
const _sfc_main$5N = /* @__PURE__ */ defineComponent({
|
|
22375
22421
|
__name: "sheet-data-group",
|
|
22376
22422
|
props: {
|
|
22377
22423
|
id: {},
|
|
@@ -22433,8 +22479,8 @@ const _sfc_main$5M = /* @__PURE__ */ defineComponent({
|
|
|
22433
22479
|
};
|
|
22434
22480
|
}
|
|
22435
22481
|
});
|
|
22436
|
-
const SpreadSheetDataGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22437
|
-
const _sfc_main$
|
|
22482
|
+
const SpreadSheetDataGroup = /* @__PURE__ */ _export_sfc(_sfc_main$5N, [["__scopeId", "data-v-bc43db47"]]);
|
|
22483
|
+
const _sfc_main$5M = /* @__PURE__ */ defineComponent({
|
|
22438
22484
|
__name: "sheet-data-group-2d",
|
|
22439
22485
|
props: {
|
|
22440
22486
|
id: {},
|
|
@@ -22500,8 +22546,8 @@ const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
|
22500
22546
|
};
|
|
22501
22547
|
}
|
|
22502
22548
|
});
|
|
22503
|
-
const SpreadSheetDataGroup2D = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22504
|
-
const _sfc_main$
|
|
22549
|
+
const SpreadSheetDataGroup2D = /* @__PURE__ */ _export_sfc(_sfc_main$5M, [["__scopeId", "data-v-6c0ae9f8"]]);
|
|
22550
|
+
const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
22505
22551
|
__name: "sheet-check-tr",
|
|
22506
22552
|
props: {
|
|
22507
22553
|
id: {},
|
|
@@ -22585,8 +22631,8 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
22585
22631
|
};
|
|
22586
22632
|
}
|
|
22587
22633
|
});
|
|
22588
|
-
const SpreadSheetCheckTr = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22589
|
-
const _sfc_main$
|
|
22634
|
+
const SpreadSheetCheckTr = /* @__PURE__ */ _export_sfc(_sfc_main$5L, [["__scopeId", "data-v-998178da"]]);
|
|
22635
|
+
const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
22590
22636
|
__name: "sheet-data-group-ref",
|
|
22591
22637
|
props: {
|
|
22592
22638
|
dataGroupIndex: {},
|
|
@@ -22623,8 +22669,8 @@ const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
|
22623
22669
|
};
|
|
22624
22670
|
}
|
|
22625
22671
|
});
|
|
22626
|
-
const SpreadSheetDataGroupRef = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22627
|
-
const _sfc_main$
|
|
22672
|
+
const SpreadSheetDataGroupRef = /* @__PURE__ */ _export_sfc(_sfc_main$5K, [["__scopeId", "data-v-d28554d6"]]);
|
|
22673
|
+
const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
22628
22674
|
__name: "sheet-dynamic-thead",
|
|
22629
22675
|
props: {
|
|
22630
22676
|
id: {},
|
|
@@ -22670,7 +22716,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
22670
22716
|
};
|
|
22671
22717
|
}
|
|
22672
22718
|
});
|
|
22673
|
-
const _sfc_main$
|
|
22719
|
+
const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
22674
22720
|
__name: "context-menu-modal",
|
|
22675
22721
|
props: {
|
|
22676
22722
|
label: {},
|
|
@@ -22733,7 +22779,7 @@ const _sfc_main$5H = /* @__PURE__ */ defineComponent({
|
|
|
22733
22779
|
};
|
|
22734
22780
|
}
|
|
22735
22781
|
});
|
|
22736
|
-
const _sfc_main$
|
|
22782
|
+
const _sfc_main$5H = /* @__PURE__ */ defineComponent({
|
|
22737
22783
|
__name: "context-menu",
|
|
22738
22784
|
props: {
|
|
22739
22785
|
type: {}
|
|
@@ -22875,7 +22921,7 @@ const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
|
22875
22921
|
}
|
|
22876
22922
|
};
|
|
22877
22923
|
const result = await window.NocodeAdapter.utils.overlay.modal(
|
|
22878
|
-
_sfc_main$
|
|
22924
|
+
_sfc_main$5I,
|
|
22879
22925
|
{
|
|
22880
22926
|
defaultValue,
|
|
22881
22927
|
label: title
|
|
@@ -23195,14 +23241,14 @@ const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
|
23195
23241
|
};
|
|
23196
23242
|
}
|
|
23197
23243
|
});
|
|
23198
|
-
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23244
|
+
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5H, [["__scopeId", "data-v-10739a10"]]);
|
|
23199
23245
|
const _hoisted_1$3d = { class: "paper-content" };
|
|
23200
23246
|
const _hoisted_2$2k = {
|
|
23201
23247
|
cellpadding: "0",
|
|
23202
23248
|
cellspacing: "0"
|
|
23203
23249
|
};
|
|
23204
23250
|
const _hoisted_3$1N = ["data-x", "width"];
|
|
23205
|
-
const _sfc_main$
|
|
23251
|
+
const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
23206
23252
|
__name: "paper-content",
|
|
23207
23253
|
setup(__props) {
|
|
23208
23254
|
const { paper: paper2, selection: selection2, tableDataGroups: tableDataGroups2, checkRowDataGroups: checkRowDataGroups2, checkColDataGroups: checkColDataGroups2 } = useSpreadSheet();
|
|
@@ -23222,7 +23268,7 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23222
23268
|
]),
|
|
23223
23269
|
createElementVNode("tbody", null, [
|
|
23224
23270
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).rows, (row, rowIndex) => {
|
|
23225
|
-
return openBlock(), createBlock(_sfc_main$
|
|
23271
|
+
return openBlock(), createBlock(_sfc_main$6m, {
|
|
23226
23272
|
key: rowIndex + 1,
|
|
23227
23273
|
"data-y": rowIndex + 1,
|
|
23228
23274
|
height: row.height
|
|
@@ -23250,16 +23296,16 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23250
23296
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).images, (item, index2) => {
|
|
23251
23297
|
return openBlock(), createBlock(SpreadSheetImage, mergeProps({ ref_for: true }, item, { key: index2 }), null, 16);
|
|
23252
23298
|
}), 128)),
|
|
23253
|
-
unref(paper2).thead?.thRange ? (openBlock(), createBlock(_sfc_main$
|
|
23299
|
+
unref(paper2).thead?.thRange ? (openBlock(), createBlock(_sfc_main$5J, normalizeProps(mergeProps({ key: 0 }, unref(paper2).thead)), null, 16)) : createCommentVNode("", true),
|
|
23254
23300
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).dynamicTables, (t2) => {
|
|
23255
23301
|
return openBlock(), createElementBlock(Fragment, {
|
|
23256
23302
|
key: t2.id
|
|
23257
23303
|
}, [
|
|
23258
|
-
t2.thRange ? (openBlock(), createBlock(_sfc_main$
|
|
23304
|
+
t2.thRange ? (openBlock(), createBlock(_sfc_main$5J, mergeProps({
|
|
23259
23305
|
key: 0,
|
|
23260
23306
|
ref_for: true
|
|
23261
23307
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
23262
|
-
createVNode(_sfc_main$
|
|
23308
|
+
createVNode(_sfc_main$5Q, mergeProps({ ref_for: true }, t2), null, 16),
|
|
23263
23309
|
t2.dgRange ? (openBlock(), createBlock(SpreadSheetDataGroup2D, mergeProps({
|
|
23264
23310
|
key: 1,
|
|
23265
23311
|
ref_for: true
|
|
@@ -23270,7 +23316,7 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23270
23316
|
return openBlock(), createElementBlock(Fragment, {
|
|
23271
23317
|
key: t2.id
|
|
23272
23318
|
}, [
|
|
23273
|
-
t2.thRange ? (openBlock(), createBlock(_sfc_main$
|
|
23319
|
+
t2.thRange ? (openBlock(), createBlock(_sfc_main$5J, mergeProps({
|
|
23274
23320
|
key: 0,
|
|
23275
23321
|
ref_for: true
|
|
23276
23322
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
@@ -23278,7 +23324,7 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23278
23324
|
key: 1,
|
|
23279
23325
|
ref_for: true
|
|
23280
23326
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
23281
|
-
t2.type === unref(SubTableType).CHECK ? (openBlock(), createBlock(_sfc_main$
|
|
23327
|
+
t2.type === unref(SubTableType).CHECK ? (openBlock(), createBlock(_sfc_main$5P, mergeProps({
|
|
23282
23328
|
key: 2,
|
|
23283
23329
|
ref_for: true
|
|
23284
23330
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
@@ -23342,7 +23388,7 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23342
23388
|
}
|
|
23343
23389
|
});
|
|
23344
23390
|
const _hoisted_1$3c = { class: "tip" };
|
|
23345
|
-
const _sfc_main$
|
|
23391
|
+
const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
23346
23392
|
__name: "paper-widget-group",
|
|
23347
23393
|
props: {
|
|
23348
23394
|
position: {}
|
|
@@ -23453,7 +23499,7 @@ const _sfc_main$5E = /* @__PURE__ */ defineComponent({
|
|
|
23453
23499
|
};
|
|
23454
23500
|
}
|
|
23455
23501
|
});
|
|
23456
|
-
const _sfc_main$
|
|
23502
|
+
const _sfc_main$5E = /* @__PURE__ */ defineComponent({
|
|
23457
23503
|
__name: "seal-positioned",
|
|
23458
23504
|
props: {
|
|
23459
23505
|
position: {},
|
|
@@ -23598,10 +23644,10 @@ const _sfc_main$5D = /* @__PURE__ */ defineComponent({
|
|
|
23598
23644
|
};
|
|
23599
23645
|
}
|
|
23600
23646
|
});
|
|
23601
|
-
const SealPositioned = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23647
|
+
const SealPositioned = /* @__PURE__ */ _export_sfc(_sfc_main$5E, [["__scopeId", "data-v-8f042e10"]]);
|
|
23602
23648
|
const _hoisted_1$3b = { class: "seal-layer" };
|
|
23603
23649
|
const _hoisted_2$2j = ["data-seal-surface", "data-seal-sheet", "data-seal-page", "data-seal-width", "data-seal-height"];
|
|
23604
|
-
const _sfc_main$
|
|
23650
|
+
const _sfc_main$5D = /* @__PURE__ */ defineComponent({
|
|
23605
23651
|
__name: "seal-layer",
|
|
23606
23652
|
setup(__props) {
|
|
23607
23653
|
const { paper: paper2, paperLayout: paperLayout2, panelData: panelData2, sheetReadonly: sheetReadonly2, setPanelData } = useSpreadSheet();
|
|
@@ -23666,7 +23712,7 @@ const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
|
23666
23712
|
onMove: (position) => seal.layout = position
|
|
23667
23713
|
}, {
|
|
23668
23714
|
default: withCtx(() => [
|
|
23669
|
-
createVNode(_sfc_main$
|
|
23715
|
+
createVNode(_sfc_main$6j, {
|
|
23670
23716
|
"field-widget": seal.fieldWidget
|
|
23671
23717
|
}, null, 8, ["field-widget"])
|
|
23672
23718
|
]),
|
|
@@ -23677,7 +23723,7 @@ const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
|
23677
23723
|
};
|
|
23678
23724
|
}
|
|
23679
23725
|
});
|
|
23680
|
-
const SealLayer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23726
|
+
const SealLayer = /* @__PURE__ */ _export_sfc(_sfc_main$5D, [["__scopeId", "data-v-b9b0d166"]]);
|
|
23681
23727
|
const _hoisted_1$3a = {
|
|
23682
23728
|
cellpadding: "0",
|
|
23683
23729
|
cellspacing: "0",
|
|
@@ -23687,8 +23733,8 @@ const _hoisted_2$2i = ["data-x", "width"];
|
|
|
23687
23733
|
const _hoisted_3$1M = ["data-x"];
|
|
23688
23734
|
const _hoisted_4$1e = ["onMouseenter"];
|
|
23689
23735
|
const _hoisted_5$Y = ["onClick"];
|
|
23690
|
-
const _hoisted_6$
|
|
23691
|
-
const _sfc_main$
|
|
23736
|
+
const _hoisted_6$J = ["data-x"];
|
|
23737
|
+
const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
23692
23738
|
__name: "table-x",
|
|
23693
23739
|
setup(__props) {
|
|
23694
23740
|
const { paper: paper2, paperLayout: paperLayout2, selection: selection2, insertCol, sheetReadonly: sheetReadonly2 } = useSpreadSheet();
|
|
@@ -23795,7 +23841,7 @@ const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
|
23795
23841
|
style: normalizeStyle({
|
|
23796
23842
|
height: tableHeight.value + "px"
|
|
23797
23843
|
})
|
|
23798
|
-
}, null, 14, _hoisted_6$
|
|
23844
|
+
}, null, 14, _hoisted_6$J);
|
|
23799
23845
|
}), 128))
|
|
23800
23846
|
], 4)
|
|
23801
23847
|
])
|
|
@@ -23814,9 +23860,9 @@ const _hoisted_2$2h = {
|
|
|
23814
23860
|
const _hoisted_3$1L = ["width"];
|
|
23815
23861
|
const _hoisted_4$1d = ["data-y", "height"];
|
|
23816
23862
|
const _hoisted_5$X = { style: { "position": "relative" } };
|
|
23817
|
-
const _hoisted_6$
|
|
23818
|
-
const _hoisted_7$
|
|
23819
|
-
const _sfc_main$
|
|
23863
|
+
const _hoisted_6$I = ["onMouseenter"];
|
|
23864
|
+
const _hoisted_7$t = ["onClick"];
|
|
23865
|
+
const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
23820
23866
|
__name: "table-y",
|
|
23821
23867
|
setup(__props) {
|
|
23822
23868
|
const { paper: paper2, paperLayout: paperLayout2, selection: selection2, insertRow, sheetReadonly: sheetReadonly2 } = useSpreadSheet();
|
|
@@ -23892,8 +23938,8 @@ const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
|
23892
23938
|
createElementVNode("i", {
|
|
23893
23939
|
class: "iconfont icon-tianjia hover-icon",
|
|
23894
23940
|
onClick: (e) => addRow(e, rowIndex + 1)
|
|
23895
|
-
}, null, 8, _hoisted_7$
|
|
23896
|
-
], 42, _hoisted_6$
|
|
23941
|
+
}, null, 8, _hoisted_7$t)
|
|
23942
|
+
], 42, _hoisted_6$I)
|
|
23897
23943
|
]),
|
|
23898
23944
|
createElementVNode("td", {
|
|
23899
23945
|
class: normalizeClass([
|
|
@@ -23910,7 +23956,7 @@ const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
|
23910
23956
|
};
|
|
23911
23957
|
}
|
|
23912
23958
|
});
|
|
23913
|
-
const _sfc_main$
|
|
23959
|
+
const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
23914
23960
|
__name: "sheet-paper",
|
|
23915
23961
|
setup(__props) {
|
|
23916
23962
|
const { paper: paper2, doc: doc2, paperLayout: paperLayout2, sheetReadonly: sheetReadonly2, addFloatingSeal } = useSpreadSheet();
|
|
@@ -23974,26 +24020,26 @@ const _sfc_main$5z = /* @__PURE__ */ defineComponent({
|
|
|
23974
24020
|
"--paper-footer-size": `${unref(paper2).padding.b}mm`
|
|
23975
24021
|
})
|
|
23976
24022
|
}, [
|
|
24023
|
+
createVNode(_sfc_main$5C),
|
|
23977
24024
|
createVNode(_sfc_main$5B),
|
|
23978
|
-
|
|
23979
|
-
unref(paper2).paperHeader ? (openBlock(), createBlock(_sfc_main$5E, {
|
|
24025
|
+
unref(paper2).paperHeader ? (openBlock(), createBlock(_sfc_main$5F, {
|
|
23980
24026
|
key: 0,
|
|
23981
24027
|
position: "header"
|
|
23982
24028
|
})) : createCommentVNode("", true),
|
|
23983
|
-
createVNode(_sfc_main$
|
|
23984
|
-
unref(paper2).paperFooter ? (openBlock(), createBlock(_sfc_main$
|
|
24029
|
+
createVNode(_sfc_main$5G),
|
|
24030
|
+
unref(paper2).paperFooter ? (openBlock(), createBlock(_sfc_main$5F, {
|
|
23985
24031
|
key: 1,
|
|
23986
24032
|
position: "footer"
|
|
23987
24033
|
})) : createCommentVNode("", true),
|
|
24034
|
+
createVNode(_sfc_main$6o),
|
|
23988
24035
|
createVNode(_sfc_main$6n),
|
|
23989
|
-
createVNode(_sfc_main$6m),
|
|
23990
24036
|
createVNode(SealLayer)
|
|
23991
24037
|
], 36);
|
|
23992
24038
|
};
|
|
23993
24039
|
}
|
|
23994
24040
|
});
|
|
23995
|
-
const SpreadSheetPaper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23996
|
-
const _sfc_main$
|
|
24041
|
+
const SpreadSheetPaper = /* @__PURE__ */ _export_sfc(_sfc_main$5A, [["__scopeId", "data-v-f0bb0bc5"]]);
|
|
24042
|
+
const _sfc_main$5z = defineComponent({
|
|
23997
24043
|
name: "SvgIcon",
|
|
23998
24044
|
props: {
|
|
23999
24045
|
prefix: {
|
|
@@ -24037,13 +24083,13 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24037
24083
|
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$38)
|
|
24038
24084
|
], 6);
|
|
24039
24085
|
}
|
|
24040
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24086
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5z, [["render", _sfc_render$f], ["__scopeId", "data-v-8cce78a3"]]);
|
|
24041
24087
|
const _hoisted_1$37 = { class: "file-form-upload-wrapper" };
|
|
24042
24088
|
const _hoisted_2$2g = { class: "file-form-upload-design" };
|
|
24043
24089
|
const _hoisted_3$1K = { style: { "pointer-events": "none" } };
|
|
24044
24090
|
const _hoisted_4$1c = { class: "file-form-upload-text" };
|
|
24045
24091
|
const _hoisted_5$W = { class: "file-form-hint" };
|
|
24046
|
-
const _sfc_main$
|
|
24092
|
+
const _sfc_main$5y = /* @__PURE__ */ defineComponent({
|
|
24047
24093
|
__name: "file-view",
|
|
24048
24094
|
setup(__props) {
|
|
24049
24095
|
return (_ctx, _cache) => {
|
|
@@ -24073,18 +24119,18 @@ const _sfc_main$5x = /* @__PURE__ */ defineComponent({
|
|
|
24073
24119
|
};
|
|
24074
24120
|
}
|
|
24075
24121
|
});
|
|
24076
|
-
const FileView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24122
|
+
const FileView = /* @__PURE__ */ _export_sfc(_sfc_main$5y, [["__scopeId", "data-v-0d062d8d"]]);
|
|
24077
24123
|
const NoDataSvg = "data:image/svg+xml,%3csvg%20width='202'%20height='201'%20viewBox='0%200%20202%20201'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4030_503)'%3e%3cpath%20d='M33.1006%20149.25L101%20128.18V43.0892L33.1006%2062.667V149.25Z'%20fill='%23CED3DE'/%3e%3cpath%20opacity='0.4'%20d='M168.899%20149.25L101%20128.18V43.0892L168.899%2062.667V149.25Z'%20fill='%236D7C9A'/%3e%3cpath%20d='M33.9172%20147.467L100.513%20126.491V42.9001L33.9172%2061.2689V147.467Z'%20fill='%23CED3DC'/%3e%3cpath%20d='M167.11%20147.467L100.513%20126.491V42.9001L167.11%2061.2689V147.467Z'%20fill='%23D8DCE3'/%3e%3cpath%20d='M101%20169.25L33.1006%20148.161V61.7499L101%2082.8384V169.25Z'%20fill='url(%23paint0_linear_4030_503)'/%3e%3cpath%20d='M101%20169.25L168.899%20148.161V61.7499L101%2082.8384V169.25Z'%20fill='url(%23paint1_linear_4030_503)'/%3e%3cpath%20opacity='0.09'%20d='M85.616%20154.25L33.1006%20148.386V61.7499L101%2082.8934L85.616%20154.25Z'%20fill='url(%23paint2_linear_4030_503)'/%3e%3cpath%20opacity='0.2'%20d='M116.384%20140.012L168.899%20149.25V64.25L101%2084.994L116.384%20140.012Z'%20fill='url(%23paint3_linear_4030_503)'/%3e%3cpath%20d='M101%2043.1346L69.1919%2019.25L0.408264%2042.4808L33.3468%2064.25L101%2043.1346Z'%20fill='url(%23paint4_linear_4030_503)'/%3e%3cpath%20d='M101%2043.1346L132.808%2019.25L201.592%2042.4808L168.653%2064.25L101%2043.1346Z'%20fill='url(%23paint5_linear_4030_503)'/%3e%3cpath%20d='M33.3468%2061.7499L101%2082.8474L67.2529%20104.25L0.408264%2082.1995L33.3468%2061.7499Z'%20fill='%23FBFCFE'/%3e%3cpath%20d='M168.653%2061.7499L101%2082.8474L134.745%20104.25L201.592%2082.1995L168.653%2061.7499Z'%20fill='%23F8FAFC'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_4030_503'%20x1='5178.17'%20y1='9713.97'%20x2='-861.592'%20y2='3305.18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE2EC'/%3e%3cstop%20offset='1'%20stop-color='%23EEF1F5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_4030_503'%20x1='5246.07'%20y1='9713.97'%20x2='-793.693'%20y2='3305.18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE2EC'/%3e%3cstop%20offset='1'%20stop-color='%23EEF1F5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_4030_503'%20x1='1956.77'%20y1='4686.76'%20x2='3998.32'%20y2='2007.13'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE2EC'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23DCE2EC'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_4030_503'%20x1='3666.16'%20y1='7091.76'%20x2='3792.54'%20y2='1412.6'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE0E9'/%3e%3cstop%20offset='1'%20stop-color='%23DCE0E9'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_4030_503'%20x1='11606.1'%20y1='2631.82'%20x2='-183.957'%20y2='-903.086'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFCFC'/%3e%3cstop%20offset='1'%20stop-color='%23EFF2F6'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_4030_503'%20x1='1214.91'%20y1='2824.87'%20x2='7446.56'%20y2='-1433.95'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F8FAFC'/%3e%3cstop%20offset='1'%20stop-color='%23DEE4ED'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_4030_503'%3e%3crect%20width='201.183'%20height='200'%20fill='white'%20transform='translate(0.408264%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
24078
24124
|
const _hoisted_1$36 = { class: "swapper" };
|
|
24079
24125
|
const _hoisted_2$2f = { class: "item-box" };
|
|
24080
24126
|
const _hoisted_3$1J = ["onClick"];
|
|
24081
24127
|
const _hoisted_4$1b = ["onClick"];
|
|
24082
24128
|
const _hoisted_5$V = ["onClick"];
|
|
24083
|
-
const _hoisted_6$
|
|
24129
|
+
const _hoisted_6$H = {
|
|
24084
24130
|
key: 0,
|
|
24085
24131
|
class: "swapper-btn"
|
|
24086
24132
|
};
|
|
24087
|
-
const _sfc_main$
|
|
24133
|
+
const _sfc_main$5x = /* @__PURE__ */ defineComponent({
|
|
24088
24134
|
__name: "sheets-swapper",
|
|
24089
24135
|
props: {
|
|
24090
24136
|
readonly: { type: Boolean }
|
|
@@ -24191,7 +24237,7 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
24191
24237
|
}), 128))
|
|
24192
24238
|
])
|
|
24193
24239
|
], 512),
|
|
24194
|
-
showMoreBtn.value ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
24240
|
+
showMoreBtn.value ? (openBlock(), createElementBlock("div", _hoisted_6$H, [
|
|
24195
24241
|
createElementVNode("i", {
|
|
24196
24242
|
class: normalizeClass(["iconfont icon-arrow_left_more", [curPage.value <= 1 && "disabled-btn"]]),
|
|
24197
24243
|
onClick: _cache[0] || (_cache[0] = ($event) => onMove(true))
|
|
@@ -24205,11 +24251,11 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
24205
24251
|
};
|
|
24206
24252
|
}
|
|
24207
24253
|
});
|
|
24208
|
-
const SheetsSwapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24254
|
+
const SheetsSwapper = /* @__PURE__ */ _export_sfc(_sfc_main$5x, [["__scopeId", "data-v-78bf154b"]]);
|
|
24209
24255
|
const _hoisted_1$35 = { class: "sheets" };
|
|
24210
24256
|
const _hoisted_2$2e = { class: "sheets-btns" };
|
|
24211
24257
|
const _hoisted_3$1I = ["title", "onClick"];
|
|
24212
|
-
const _sfc_main$
|
|
24258
|
+
const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
24213
24259
|
__name: "index",
|
|
24214
24260
|
props: {
|
|
24215
24261
|
readonly: { type: Boolean }
|
|
@@ -24258,14 +24304,14 @@ const _sfc_main$5v = /* @__PURE__ */ defineComponent({
|
|
|
24258
24304
|
};
|
|
24259
24305
|
}
|
|
24260
24306
|
});
|
|
24261
|
-
const SheetsComp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24307
|
+
const SheetsComp = /* @__PURE__ */ _export_sfc(_sfc_main$5w, [["__scopeId", "data-v-d11b3f8f"]]);
|
|
24262
24308
|
const _hoisted_1$34 = {
|
|
24263
24309
|
key: 1,
|
|
24264
24310
|
class: "h-full w-full flex items-center justify-center"
|
|
24265
24311
|
};
|
|
24266
24312
|
const _hoisted_2$2d = { class: "spread-sheet__canvas" };
|
|
24267
24313
|
const _hoisted_3$1H = { key: 4 };
|
|
24268
|
-
const _sfc_main$
|
|
24314
|
+
const _sfc_main$5v = /* @__PURE__ */ defineComponent({
|
|
24269
24315
|
__name: "sheet-view",
|
|
24270
24316
|
props: {
|
|
24271
24317
|
loading: { type: Boolean },
|
|
@@ -24316,7 +24362,7 @@ const _sfc_main$5u = /* @__PURE__ */ defineComponent({
|
|
|
24316
24362
|
};
|
|
24317
24363
|
}
|
|
24318
24364
|
});
|
|
24319
|
-
const SpreadSheet$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24365
|
+
const SpreadSheet$1 = /* @__PURE__ */ _export_sfc(_sfc_main$5v, [["__scopeId", "data-v-76abe945"]]);
|
|
24320
24366
|
const { setDoc, setSheetMaps, setDesignMode, setCallback, platformType } = useSpreadSheet();
|
|
24321
24367
|
const { initMasterModel } = useModelFields();
|
|
24322
24368
|
const loading = ref(false);
|
|
@@ -24489,7 +24535,7 @@ function usePrint() {
|
|
|
24489
24535
|
enableReverseModeling
|
|
24490
24536
|
};
|
|
24491
24537
|
}
|
|
24492
|
-
const _sfc_main$
|
|
24538
|
+
const _sfc_main$5u = /* @__PURE__ */ defineComponent({
|
|
24493
24539
|
__name: "apaas-collect-sheet-view",
|
|
24494
24540
|
props: {
|
|
24495
24541
|
dataId: {},
|
|
@@ -24523,7 +24569,7 @@ const _sfc_main$5t = /* @__PURE__ */ defineComponent({
|
|
|
24523
24569
|
}
|
|
24524
24570
|
});
|
|
24525
24571
|
const SHOW_TMPL_KEY = /* @__PURE__ */ Symbol("onlineFormShowTmpl");
|
|
24526
|
-
const _sfc_main$
|
|
24572
|
+
const _sfc_main$5t = /* @__PURE__ */ defineComponent({
|
|
24527
24573
|
__name: "sheet-tl",
|
|
24528
24574
|
setup(__props) {
|
|
24529
24575
|
const { selectAll } = useSpreadSheet();
|
|
@@ -24562,7 +24608,7 @@ const _hoisted_2$2c = {
|
|
|
24562
24608
|
const _hoisted_3$1G = ["data-x", "width"];
|
|
24563
24609
|
const _hoisted_4$1a = ["data-x"];
|
|
24564
24610
|
const _hoisted_5$U = { class: "title-x" };
|
|
24565
|
-
const _sfc_main$
|
|
24611
|
+
const _sfc_main$5s = /* @__PURE__ */ defineComponent({
|
|
24566
24612
|
__name: "sheet-x",
|
|
24567
24613
|
setup(__props) {
|
|
24568
24614
|
const { paper: paper2, selection: selection2, resizeCol, selectCol } = useSpreadSheet();
|
|
@@ -24658,7 +24704,7 @@ const _hoisted_1$32 = {
|
|
|
24658
24704
|
const _hoisted_2$2b = ["data-y", "height"];
|
|
24659
24705
|
const _hoisted_3$1F = ["data-y"];
|
|
24660
24706
|
const _hoisted_4$19 = { class: "title-y" };
|
|
24661
|
-
const _sfc_main$
|
|
24707
|
+
const _sfc_main$5r = /* @__PURE__ */ defineComponent({
|
|
24662
24708
|
__name: "sheet-y",
|
|
24663
24709
|
setup(__props) {
|
|
24664
24710
|
const { paper: paper2, selection: selection2, resizeRow, selectRow } = useSpreadSheet();
|
|
@@ -24740,7 +24786,7 @@ const _sfc_main$5q = /* @__PURE__ */ defineComponent({
|
|
|
24740
24786
|
};
|
|
24741
24787
|
}
|
|
24742
24788
|
});
|
|
24743
|
-
const _sfc_main$
|
|
24789
|
+
const _sfc_main$5q = /* @__PURE__ */ defineComponent({
|
|
24744
24790
|
__name: "sheet-status",
|
|
24745
24791
|
setup(__props) {
|
|
24746
24792
|
const ns = useNamespace("sheet-status");
|
|
@@ -24788,7 +24834,7 @@ const _sfc_main$5p = /* @__PURE__ */ defineComponent({
|
|
|
24788
24834
|
};
|
|
24789
24835
|
}
|
|
24790
24836
|
});
|
|
24791
|
-
const SheetStatus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24837
|
+
const SheetStatus = /* @__PURE__ */ _export_sfc(_sfc_main$5q, [["__scopeId", "data-v-1db7a3a4"]]);
|
|
24792
24838
|
const toString$1 = Object.prototype.toString;
|
|
24793
24839
|
function is(val, type) {
|
|
24794
24840
|
return toString$1.call(val) === `[object ${type}]`;
|
|
@@ -24930,7 +24976,7 @@ function useClickOutside(target, options) {
|
|
|
24930
24976
|
});
|
|
24931
24977
|
}
|
|
24932
24978
|
const _hoisted_1$31 = { class: "spread-sheet__canvas" };
|
|
24933
|
-
const _sfc_main$
|
|
24979
|
+
const _sfc_main$5p = /* @__PURE__ */ defineComponent({
|
|
24934
24980
|
__name: "sheet",
|
|
24935
24981
|
props: {
|
|
24936
24982
|
loading: { type: Boolean }
|
|
@@ -25138,9 +25184,9 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
25138
25184
|
"--paper-height": unref(paperFitHeight2) + "mm"
|
|
25139
25185
|
})
|
|
25140
25186
|
}, [
|
|
25141
|
-
createVNode(_sfc_main$
|
|
25142
|
-
createVNode(_sfc_main$
|
|
25143
|
-
createVNode(_sfc_main$
|
|
25187
|
+
createVNode(_sfc_main$5t, { class: "spread-sheet__tl" }),
|
|
25188
|
+
createVNode(_sfc_main$5s, { class: "spread-sheet__x" }),
|
|
25189
|
+
createVNode(_sfc_main$5r, { class: "spread-sheet__y" }),
|
|
25144
25190
|
createVNode(SheetStatus),
|
|
25145
25191
|
createElementVNode("div", {
|
|
25146
25192
|
class: "spread-sheet__viewport",
|
|
@@ -25162,7 +25208,7 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
25162
25208
|
};
|
|
25163
25209
|
}
|
|
25164
25210
|
});
|
|
25165
|
-
const SpreadSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25211
|
+
const SpreadSheet = /* @__PURE__ */ _export_sfc(_sfc_main$5p, [["__scopeId", "data-v-467f6f1b"]]);
|
|
25166
25212
|
const DHR_LICENSE_API = "/gct-apaas/api/dhr/license/module";
|
|
25167
25213
|
const AVAILABLE_EDITIONS = ["eDHR Max", "eDHR Ultra"];
|
|
25168
25214
|
let dhrEditionRequest;
|
|
@@ -25237,8 +25283,8 @@ const _hoisted_3$1E = { style: {
|
|
|
25237
25283
|
} };
|
|
25238
25284
|
const _hoisted_4$18 = { class: "color-picker-middle" };
|
|
25239
25285
|
const _hoisted_5$T = { style: { "flex": "auto" } };
|
|
25240
|
-
const _hoisted_6$
|
|
25241
|
-
const _hoisted_7$
|
|
25286
|
+
const _hoisted_6$G = { class: "color-picker-diamond" };
|
|
25287
|
+
const _hoisted_7$s = { class: "color-picker-value" };
|
|
25242
25288
|
const _hoisted_8$m = { class: "hex" };
|
|
25243
25289
|
const _hoisted_9$g = ["value"];
|
|
25244
25290
|
const _hoisted_10$e = { class: "rgba-r" };
|
|
@@ -25252,7 +25298,7 @@ const _hoisted_17$3 = ["value"];
|
|
|
25252
25298
|
const _hoisted_18$3 = { class: "presetColor" };
|
|
25253
25299
|
const _hoisted_19$3 = { class: "preset" };
|
|
25254
25300
|
const _hoisted_20$3 = ["onClick"];
|
|
25255
|
-
const _sfc_main$
|
|
25301
|
+
const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
25256
25302
|
__name: "ColorPicker",
|
|
25257
25303
|
props: {
|
|
25258
25304
|
color: { default: () => "#FFFFFF00" },
|
|
@@ -25678,13 +25724,13 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
25678
25724
|
}, null, 4)
|
|
25679
25725
|
], 544)
|
|
25680
25726
|
]),
|
|
25681
|
-
createElementVNode("div", _hoisted_6$
|
|
25727
|
+
createElementVNode("div", _hoisted_6$G, [
|
|
25682
25728
|
createElementVNode("div", {
|
|
25683
25729
|
style: normalizeStyle(`background-color: ${colorObj.value.rgba};width: 100%;height: 100%;box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);`)
|
|
25684
25730
|
}, null, 4)
|
|
25685
25731
|
])
|
|
25686
25732
|
]),
|
|
25687
|
-
createElementVNode("div", _hoisted_7$
|
|
25733
|
+
createElementVNode("div", _hoisted_7$s, [
|
|
25688
25734
|
createElementVNode("div", _hoisted_8$m, [
|
|
25689
25735
|
createElementVNode("label", null, [
|
|
25690
25736
|
createElementVNode("input", {
|
|
@@ -25760,8 +25806,8 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
25760
25806
|
};
|
|
25761
25807
|
}
|
|
25762
25808
|
});
|
|
25763
|
-
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25764
|
-
const _sfc_main$
|
|
25809
|
+
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$5o, [["__scopeId", "data-v-59c6cc10"]]);
|
|
25810
|
+
const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
25765
25811
|
__name: "font-family-selector",
|
|
25766
25812
|
props: {
|
|
25767
25813
|
value: {},
|
|
@@ -25813,7 +25859,7 @@ const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
|
25813
25859
|
};
|
|
25814
25860
|
}
|
|
25815
25861
|
});
|
|
25816
|
-
const _sfc_main$
|
|
25862
|
+
const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
25817
25863
|
__name: "font-size-selector",
|
|
25818
25864
|
props: {
|
|
25819
25865
|
value: {}
|
|
@@ -25865,7 +25911,7 @@ const _sfc_main$5l = /* @__PURE__ */ defineComponent({
|
|
|
25865
25911
|
};
|
|
25866
25912
|
}
|
|
25867
25913
|
});
|
|
25868
|
-
const _sfc_main$
|
|
25914
|
+
const _sfc_main$5l = /* @__PURE__ */ defineComponent({
|
|
25869
25915
|
__name: "border",
|
|
25870
25916
|
props: {
|
|
25871
25917
|
type: { default: BorderPositionEnum.all }
|
|
@@ -25878,8 +25924,8 @@ const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
|
25878
25924
|
};
|
|
25879
25925
|
}
|
|
25880
25926
|
});
|
|
25881
|
-
const BorderIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25882
|
-
const _sfc_main$
|
|
25927
|
+
const BorderIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5l, [["__scopeId", "data-v-de5c51c0"]]);
|
|
25928
|
+
const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
25883
25929
|
__name: "history-toolbar",
|
|
25884
25930
|
setup(__props) {
|
|
25885
25931
|
const ns = useNamespace("history-toolbar");
|
|
@@ -25933,7 +25979,7 @@ const _sfc_main$5j = /* @__PURE__ */ defineComponent({
|
|
|
25933
25979
|
};
|
|
25934
25980
|
}
|
|
25935
25981
|
});
|
|
25936
|
-
const HistoryToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25982
|
+
const HistoryToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$5k, [["__scopeId", "data-v-0b35407a"]]);
|
|
25937
25983
|
const CaretDownIcon = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='caret-down'%3e%3cpath%20id='Vector'%20d='M8.6078%202.67113H1.39227C1.17585%202.67113%201.055%202.89964%201.18903%203.05564L4.79679%207.23906C4.90006%207.35881%205.09891%207.35881%205.20327%207.23906L8.81104%203.05564C8.94506%202.89964%208.82422%202.67113%208.6078%202.67113Z'%20fill='%235A5F6B'/%3e%3c/g%3e%3c/svg%3e";
|
|
25938
25984
|
const ReuploadIcon = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%3e%3cpath%20id='Vector'%20d='M8.1405%202.55202C7.24093%202.52902%206.34966%202.72912%205.54626%203.13446C4.74286%203.5398%204.05232%204.13777%203.5363%204.87498C3.02028%205.61219%202.69484%206.4657%202.58901%207.35932C2.48319%208.25294%202.60028%209.15886%202.92984%209.9962C3.2594%2010.8335%203.79117%2011.5763%204.47767%2012.158C5.16418%2012.7398%205.98406%2013.1426%206.86412%2013.3303C7.74418%2013.518%208.65703%2013.485%209.52119%2013.234C10.3853%2012.983%2011.1739%2012.522%2011.8165%2011.892L11.8545%2011.854C12.3045%2011.404%2012.6605%2010.893%2012.9205%2010.348C12.9369%2010.313%2012.9629%2010.2833%2012.9955%2010.2625C13.028%2010.2416%2013.0658%2010.2303%2013.1045%2010.23H13.8755C14.0145%2010.23%2014.1105%2010.368%2014.0585%2010.496C13.6784%2011.4189%2013.0917%2012.2424%2012.3435%2012.903C11.2281%2013.8946%209.80631%2014.4735%208.3155%2014.543C7.22626%2014.5955%206.14114%2014.3753%205.15859%2013.9022C4.17604%2013.4292%203.32715%2012.7183%202.68893%2011.834C2.05071%2010.9498%201.64336%209.9202%201.50383%208.83865C1.36431%207.75711%201.49703%206.65785%201.88995%205.64059C2.28287%204.62333%202.92355%203.72028%203.75388%203.01334C4.58421%202.30641%205.5779%201.81797%206.64481%201.59235C7.71172%201.36673%208.81808%201.41105%209.86352%201.72131C10.909%202.03156%2011.8604%202.59793%2012.6315%203.36902C12.8485%203.58402%2013.1545%203.91302%2013.4515%204.23602V2.86602C13.4515%202.75602%2013.5405%202.66602%2013.6515%202.66602H14.3515C14.4615%202.66602%2014.5515%202.75602%2014.5515%202.86602V5.66602C14.5515%205.81189%2014.4936%205.95178%2014.3904%206.05493C14.2873%206.15807%2014.1474%206.21602%2014.0015%206.21602H11.2015C11.1752%206.21602%2011.1492%206.21085%2011.125%206.2008C11.1007%206.19075%2011.0786%206.17601%2011.0601%206.15744C11.0415%206.13887%2011.0268%206.11682%2011.0167%206.09256C11.0067%206.06829%2011.0015%206.04228%2011.0015%206.01602V5.31602C11.0015%205.20602%2011.0905%205.11602%2011.2015%205.11602H12.7655C12.4682%204.78672%2012.1645%204.46333%2011.8545%204.14602C10.8677%203.15659%209.53748%202.58567%208.1405%202.55202Z'%20fill='%23026AC8'/%3e%3c/g%3e%3c/svg%3e";
|
|
25939
25985
|
const SearchClearIcon = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='6'%20height='6'%20viewBox='0%200%206%206'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%20clip-path='url(%23clip0_0_4)'%3e%3cpath%20id='Union'%20d='M4.64758%200.646603C4.84274%200.451444%205.15932%200.45165%205.35461%200.646603C5.54987%200.841865%205.54987%201.15837%205.35461%201.35363L3.70715%203.00012L5.35461%204.64758C5.54987%204.84284%205.54987%205.15935%205.35461%205.35461C5.15935%205.54987%204.84284%205.54987%204.64758%205.35461L3.00012%203.70715L1.35363%205.35461C1.15837%205.54987%200.841865%205.54987%200.646603%205.35461C0.451651%205.15932%200.451444%204.84274%200.646603%204.64758L2.29309%203.00012L0.646603%201.35363C0.451426%201.15836%200.451369%200.841836%200.646603%200.646603C0.841836%200.451369%201.15836%200.451426%201.35363%200.646603L3.00012%202.29309L4.64758%200.646603Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_4'%3e%3crect%20width='6'%20height='6'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
@@ -25946,11 +25992,11 @@ const _hoisted_2$29 = { class: "inline-media-modal__header" };
|
|
|
25946
25992
|
const _hoisted_3$1D = ["aria-label"];
|
|
25947
25993
|
const _hoisted_4$17 = ["aria-selected"];
|
|
25948
25994
|
const _hoisted_5$S = ["aria-selected"];
|
|
25949
|
-
const _hoisted_6$
|
|
25995
|
+
const _hoisted_6$F = {
|
|
25950
25996
|
key: 0,
|
|
25951
25997
|
class: "inline-media-modal__body icon-picker"
|
|
25952
25998
|
};
|
|
25953
|
-
const _hoisted_7$
|
|
25999
|
+
const _hoisted_7$r = ["aria-label"];
|
|
25954
26000
|
const _hoisted_8$l = {
|
|
25955
26001
|
key: 0,
|
|
25956
26002
|
class: "icon-picker__group-block"
|
|
@@ -26007,7 +26053,7 @@ const _hoisted_39 = { class: "inline-media-modal__footer" };
|
|
|
26007
26053
|
const MODAL_WIDTH = 644;
|
|
26008
26054
|
const VIEWPORT_GUTTER = 16;
|
|
26009
26055
|
const TRIGGER_GAP = 8;
|
|
26010
|
-
const _sfc_main$
|
|
26056
|
+
const _sfc_main$5j = /* @__PURE__ */ defineComponent({
|
|
26011
26057
|
__name: "inline-media-modal",
|
|
26012
26058
|
props: {
|
|
26013
26059
|
uploadImage: { type: Function }
|
|
@@ -26228,7 +26274,7 @@ const _sfc_main$5i = /* @__PURE__ */ defineComponent({
|
|
|
26228
26274
|
}, toDisplayString$1(_ctx.$t("sys.image")), 11, _hoisted_5$S)
|
|
26229
26275
|
], 8, _hoisted_3$1D)
|
|
26230
26276
|
]),
|
|
26231
|
-
activeTab.value === "icon" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
26277
|
+
activeTab.value === "icon" ? (openBlock(), createElementBlock("div", _hoisted_6$F, [
|
|
26232
26278
|
createElementVNode("aside", {
|
|
26233
26279
|
class: "icon-picker__sidebar",
|
|
26234
26280
|
"aria-label": _ctx.$t("sys.onlineForm.inlineMedia.categoryAriaLabel")
|
|
@@ -26296,7 +26342,7 @@ const _sfc_main$5i = /* @__PURE__ */ defineComponent({
|
|
|
26296
26342
|
}), 128))
|
|
26297
26343
|
])) : createCommentVNode("", true)
|
|
26298
26344
|
])
|
|
26299
|
-
], 8, _hoisted_7$
|
|
26345
|
+
], 8, _hoisted_7$r),
|
|
26300
26346
|
createElementVNode("main", _hoisted_18$2, [
|
|
26301
26347
|
createElementVNode("label", _hoisted_19$2, [
|
|
26302
26348
|
createElementVNode("img", {
|
|
@@ -26448,7 +26494,7 @@ const _sfc_main$5i = /* @__PURE__ */ defineComponent({
|
|
|
26448
26494
|
};
|
|
26449
26495
|
}
|
|
26450
26496
|
});
|
|
26451
|
-
const InlineMediaModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26497
|
+
const InlineMediaModal = /* @__PURE__ */ _export_sfc(_sfc_main$5j, [["__scopeId", "data-v-ff9d78f2"]]);
|
|
26452
26498
|
const ToolbarInsertIcon = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23230;&%23143;&%23146;&%23229;&%23133;&%23165;'%20clip-path='url(%23clip0_0_4)'%3e%3cg%20id='Vector'%3e%3cpath%20d='M2.0498%2010C2.0498%2014.3907%205.60934%2017.9502%2010%2017.9502C14.3907%2017.9502%2017.9502%2014.3907%2017.9502%2010C17.9502%205.60934%2014.3907%202.0498%2010%202.0498C5.60934%202.0498%202.0498%205.60934%202.0498%2010ZM0.950195%2010C0.950195%205.00182%205.00182%200.950195%2010%200.950195C14.9982%200.950195%2019.0498%205.00182%2019.0498%2010C19.0498%2014.9982%2014.9982%2019.0498%2010%2019.0498C5.00182%2019.0498%200.950195%2014.9982%200.950195%2010Z'%20fill='%23434855'/%3e%3cpath%20d='M5.79961%2010.5498V9.4502H14.2V10.5498H5.79961Z'%20fill='%23434855'/%3e%3cpath%20d='M10.5548%2014.2004H9.45516V5.8H10.5548V14.2004Z'%20fill='%23434855'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_4'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
26453
26499
|
const dataTableSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1781603088074'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='73543'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M667.9552%20867.84h185.1392V421.9904h-185.1392v445.8496z%20m-255.5904%200h199.3216V421.9904H412.3648v445.8496z%20m-241.4592%200h185.088V421.9904H170.9056v445.8496z%20m0-502.1184h682.1376V156.16H170.9056v209.5616zM909.3632%20885.76a38.4%2038.4%200%200%201-38.4%2038.4H153.088a38.4%2038.4%200%200%201-38.4-38.4V153.6c0-29.696%2024.064-53.76%2053.76-53.76H855.552c29.696%200%2053.76%2024.064%2053.76%2053.76v732.16z'%20fill='%23434855'%20p-id='73544'%3e%3c/path%3e%3cpath%20d='M854.1696%20616.96v56.32H170.8032v-56.32h683.3664z'%20fill='%23026AC8'%20p-id='73545'%3e%3c/path%3e%3c/svg%3e";
|
|
26454
26500
|
const businessTableSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1781603091743'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='73690'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M609.28%20714.24v56.32H481.28v-56.32h128z%20m174.336%200v56.32h-128v-56.32h128z%20m-174.336-102.4v56.32H481.28v-56.32h128z%20m174.336%200v56.32h-128v-56.32h128z%20m-174.336-102.4v56.32H481.28v-56.32h128z%20m174.336%200v56.32h-128v-56.32h128z'%20fill='%23026AC8'%20p-id='73691'%3e%3c/path%3e%3cpath%20d='M396.1856%20867.84h471.6544V421.9904H396.1856v445.8496z%20m-240.0256%200h183.7568V421.9904h-183.808v445.8496z%20m240.0256-502.1184h471.6544V156.16H396.1856v209.5616z%20m-240.0256%200h183.7568V156.16h-183.808v209.5616z%20m768%20504.6784l-0.256%205.4784A53.76%2053.76%200%200%201%20870.4%20924.16H153.6c-29.696%200-53.76-24.064-53.76-53.76V153.6c0-29.696%2024.064-53.76%2053.76-53.76h716.8c29.696%200%2053.76%2024.064%2053.76%2053.76v716.8z'%20fill='%23434855'%20p-id='73692'%3e%3c/path%3e%3c/svg%3e";
|
|
@@ -26529,8 +26575,8 @@ const _hoisted_2$28 = { class: "designer__toolbar__left" };
|
|
|
26529
26575
|
const _hoisted_3$1C = { class: "designer__toolbar__left__second" };
|
|
26530
26576
|
const _hoisted_4$16 = { class: "second__top" };
|
|
26531
26577
|
const _hoisted_5$R = { class: "tool--dropdown" };
|
|
26532
|
-
const _hoisted_6$
|
|
26533
|
-
const _hoisted_7$
|
|
26578
|
+
const _hoisted_6$E = { class: "flex items-center text-14px" };
|
|
26579
|
+
const _hoisted_7$q = { class: "tool--dropdown" };
|
|
26534
26580
|
const _hoisted_8$k = { class: "tool--dropdown" };
|
|
26535
26581
|
const _hoisted_9$e = { class: "designer__toolbar__left__third" };
|
|
26536
26582
|
const _hoisted_10$c = ["onClick"];
|
|
@@ -26548,7 +26594,7 @@ const _hoisted_21$1 = { class: "menu-item-subtitle" };
|
|
|
26548
26594
|
const _hoisted_22$1 = { class: "flex items-center text-14px" };
|
|
26549
26595
|
const _hoisted_23$1 = ["src"];
|
|
26550
26596
|
const _hoisted_24$1 = { class: "designer__toolbar__right" };
|
|
26551
|
-
const _sfc_main$
|
|
26597
|
+
const _sfc_main$5i = /* @__PURE__ */ defineComponent({
|
|
26552
26598
|
__name: "toolbar",
|
|
26553
26599
|
setup(__props) {
|
|
26554
26600
|
const {
|
|
@@ -26751,12 +26797,12 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
26751
26797
|
_cache[27] || (_cache[27] = createElementVNode("div", { class: "vertical-divider" }, null, -1)),
|
|
26752
26798
|
createElementVNode("div", _hoisted_3$1C, [
|
|
26753
26799
|
createElementVNode("div", _hoisted_4$16, [
|
|
26754
|
-
createVNode(_sfc_main$
|
|
26800
|
+
createVNode(_sfc_main$5n, {
|
|
26755
26801
|
value: cellFontFamily.value,
|
|
26756
26802
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => cellFontFamily.value = $event),
|
|
26757
26803
|
class: "top-left"
|
|
26758
26804
|
}, null, 8, ["value"]),
|
|
26759
|
-
createVNode(_sfc_main$
|
|
26805
|
+
createVNode(_sfc_main$5m, {
|
|
26760
26806
|
value: cellFontSize.value,
|
|
26761
26807
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => cellFontSize.value = $event),
|
|
26762
26808
|
class: "w-72px top-right"
|
|
@@ -26863,7 +26909,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
26863
26909
|
key: item.type
|
|
26864
26910
|
}, {
|
|
26865
26911
|
default: withCtx(() => [
|
|
26866
|
-
createElementVNode("div", _hoisted_6$
|
|
26912
|
+
createElementVNode("div", _hoisted_6$E, [
|
|
26867
26913
|
createVNode(BorderIcon, {
|
|
26868
26914
|
type: item.type,
|
|
26869
26915
|
class: "mr-6px relative -top-1px"
|
|
@@ -26884,7 +26930,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
26884
26930
|
_: 1
|
|
26885
26931
|
})
|
|
26886
26932
|
]),
|
|
26887
|
-
createElementVNode("div", _hoisted_7$
|
|
26933
|
+
createElementVNode("div", _hoisted_7$q, [
|
|
26888
26934
|
createElementVNode("i", null, [
|
|
26889
26935
|
_cache[18] || (_cache[18] = createElementVNode("i", { class: "iconfont icon-wenziyanse" }, null, -1)),
|
|
26890
26936
|
createElementVNode("div", {
|
|
@@ -27184,9 +27230,9 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
27184
27230
|
};
|
|
27185
27231
|
}
|
|
27186
27232
|
});
|
|
27187
|
-
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27233
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$5i, [["__scopeId", "data-v-c4af26e4"]]);
|
|
27188
27234
|
const _hoisted_1$2Z = { class: "toolbar-hook-wrapper" };
|
|
27189
|
-
const _sfc_main$
|
|
27235
|
+
const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
27190
27236
|
__name: "toolbar-hook",
|
|
27191
27237
|
setup(__props) {
|
|
27192
27238
|
return (_ctx, _cache) => {
|
|
@@ -27196,8 +27242,8 @@ const _sfc_main$5g = /* @__PURE__ */ defineComponent({
|
|
|
27196
27242
|
};
|
|
27197
27243
|
}
|
|
27198
27244
|
});
|
|
27199
|
-
const ToolbarHook = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27200
|
-
const _sfc_main$
|
|
27245
|
+
const ToolbarHook = /* @__PURE__ */ _export_sfc(_sfc_main$5h, [["__scopeId", "data-v-69463b0b"]]);
|
|
27246
|
+
const _sfc_main$5g = defineComponent({
|
|
27201
27247
|
name: "GlobConfigIcon",
|
|
27202
27248
|
components: {
|
|
27203
27249
|
Icon
|
|
@@ -27252,9 +27298,9 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27252
27298
|
_: 1
|
|
27253
27299
|
});
|
|
27254
27300
|
}
|
|
27255
|
-
const GlobConfigIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27301
|
+
const GlobConfigIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5g, [["render", _sfc_render$e]]);
|
|
27256
27302
|
const _hoisted_1$2Y = { class: "toolkit-title" };
|
|
27257
|
-
const _sfc_main$
|
|
27303
|
+
const _sfc_main$5f = /* @__PURE__ */ defineComponent({
|
|
27258
27304
|
__name: "toolkit-title",
|
|
27259
27305
|
props: {
|
|
27260
27306
|
title: {}
|
|
@@ -27276,11 +27322,11 @@ const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
|
27276
27322
|
};
|
|
27277
27323
|
}
|
|
27278
27324
|
});
|
|
27279
|
-
const ToolkitTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27325
|
+
const ToolkitTitle = /* @__PURE__ */ _export_sfc(_sfc_main$5f, [["__scopeId", "data-v-6ff6d30c"]]);
|
|
27280
27326
|
const _hoisted_1$2X = { class: "wrapper" };
|
|
27281
27327
|
const _hoisted_2$27 = { class: "title" };
|
|
27282
27328
|
const _hoisted_3$1B = ["data-widget"];
|
|
27283
|
-
const _sfc_main$
|
|
27329
|
+
const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
27284
27330
|
__name: "display-widgets",
|
|
27285
27331
|
setup(__props) {
|
|
27286
27332
|
const widgetConfigList = asyncImportWidgetConfigList();
|
|
@@ -27354,7 +27400,7 @@ const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
|
27354
27400
|
};
|
|
27355
27401
|
}
|
|
27356
27402
|
});
|
|
27357
|
-
const DisplayWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27403
|
+
const DisplayWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5e, [["__scopeId", "data-v-596d5e21"]]);
|
|
27358
27404
|
const FIELD_TYPE_PANEL_LABELS = {
|
|
27359
27405
|
[FIELD_TYPE.SEAL]: "印章",
|
|
27360
27406
|
[FIELD_TYPE.REF]: "模型关联",
|
|
@@ -27371,7 +27417,7 @@ const FIELD_TYPE_PANEL_LABELS = {
|
|
|
27371
27417
|
[FIELD_TYPE.STOCKTAKE]: "库存盘点表",
|
|
27372
27418
|
[FIELD_TYPE.ALLOCATE]: "库存调拨表",
|
|
27373
27419
|
[FIELD_TYPE.STERILIZE_BATCH]: "委托灭菌生产批次列表",
|
|
27374
|
-
[FIELD_TYPE.PRETREATMENT_LIST]: "
|
|
27420
|
+
[FIELD_TYPE.PRETREATMENT_LIST]: "产前表",
|
|
27375
27421
|
[FIELD_TYPE.INSPECTION]: "检验表",
|
|
27376
27422
|
[FIELD_TYPE.MATERIAL_CONSUME_TABLE]: "物料消耗表",
|
|
27377
27423
|
[FIELD_TYPE.MATERIAL_BALANCE_TABLE]: "物料平衡表"
|
|
@@ -27388,7 +27434,7 @@ function getFieldTypeDisplayLabel(type) {
|
|
|
27388
27434
|
const _hoisted_1$2W = { class: "wrapper" };
|
|
27389
27435
|
const _hoisted_2$26 = { class: "title" };
|
|
27390
27436
|
const _hoisted_3$1A = ["data-type"];
|
|
27391
|
-
const _sfc_main$
|
|
27437
|
+
const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
27392
27438
|
__name: "form-widgets",
|
|
27393
27439
|
setup(__props) {
|
|
27394
27440
|
const isInEDHR = computed(() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR");
|
|
@@ -27446,11 +27492,11 @@ const _sfc_main$5c = /* @__PURE__ */ defineComponent({
|
|
|
27446
27492
|
};
|
|
27447
27493
|
}
|
|
27448
27494
|
});
|
|
27449
|
-
const FormWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27495
|
+
const FormWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5d, [["__scopeId", "data-v-44a9bdde"]]);
|
|
27450
27496
|
const _hoisted_1$2V = { class: "wrapper" };
|
|
27451
27497
|
const _hoisted_2$25 = { class: "title" };
|
|
27452
27498
|
const _hoisted_3$1z = ["data-type"];
|
|
27453
|
-
const _sfc_main$
|
|
27499
|
+
const _sfc_main$5c = /* @__PURE__ */ defineComponent({
|
|
27454
27500
|
__name: "trace-widgets",
|
|
27455
27501
|
setup(__props) {
|
|
27456
27502
|
const widgetConfigList = OnlineFormTraceTypes.map((type) => {
|
|
@@ -27499,11 +27545,11 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
|
|
|
27499
27545
|
};
|
|
27500
27546
|
}
|
|
27501
27547
|
});
|
|
27502
|
-
const TraceWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27548
|
+
const TraceWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5c, [["__scopeId", "data-v-b9c1e3c5"]]);
|
|
27503
27549
|
const _hoisted_1$2U = { class: "wrapper" };
|
|
27504
27550
|
const _hoisted_2$24 = { class: "title" };
|
|
27505
27551
|
const _hoisted_3$1y = ["data-type"];
|
|
27506
|
-
const _sfc_main$
|
|
27552
|
+
const _sfc_main$5b = /* @__PURE__ */ defineComponent({
|
|
27507
27553
|
__name: "business-widgets",
|
|
27508
27554
|
setup(__props) {
|
|
27509
27555
|
const widgetConfigList = OnlineFormBusinessTypes.map((type) => {
|
|
@@ -27552,9 +27598,9 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
27552
27598
|
};
|
|
27553
27599
|
}
|
|
27554
27600
|
});
|
|
27555
|
-
const BusinessWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27601
|
+
const BusinessWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5b, [["__scopeId", "data-v-2fe6e4d1"]]);
|
|
27556
27602
|
const _hoisted_1$2T = { class: "toolkit-content-widgets" };
|
|
27557
|
-
const _sfc_main$
|
|
27603
|
+
const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
27558
27604
|
__name: "toolkit-content-widgets",
|
|
27559
27605
|
setup(__props) {
|
|
27560
27606
|
const { isTextOnlineForm: isTextOnlineForm2, isEasyEdition: isEasyEdition2 } = useSpreadSheet();
|
|
@@ -27571,8 +27617,8 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
27571
27617
|
};
|
|
27572
27618
|
}
|
|
27573
27619
|
});
|
|
27574
|
-
const ToolkitContentWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27575
|
-
const _sfc_main$
|
|
27620
|
+
const ToolkitContentWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5a, [["__scopeId", "data-v-eea7e894"]]);
|
|
27621
|
+
const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
27576
27622
|
__name: "add-field-btn",
|
|
27577
27623
|
props: {
|
|
27578
27624
|
model: { default: void 0 },
|
|
@@ -27663,7 +27709,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
27663
27709
|
};
|
|
27664
27710
|
}
|
|
27665
27711
|
});
|
|
27666
|
-
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27712
|
+
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$59, [["__scopeId", "data-v-f8255c81"]]);
|
|
27667
27713
|
function _isSlot(s) {
|
|
27668
27714
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode$1(s);
|
|
27669
27715
|
}
|
|
@@ -28267,7 +28313,7 @@ const _hoisted_2$23 = ["title"];
|
|
|
28267
28313
|
const _hoisted_3$1x = ["title"];
|
|
28268
28314
|
const _hoisted_4$15 = { class: "group-fields__content" };
|
|
28269
28315
|
const _hoisted_5$Q = ["title"];
|
|
28270
|
-
const _sfc_main$
|
|
28316
|
+
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
28271
28317
|
__name: "toolkit-content-param",
|
|
28272
28318
|
props: {
|
|
28273
28319
|
value: {}
|
|
@@ -28405,13 +28451,13 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
28405
28451
|
};
|
|
28406
28452
|
}
|
|
28407
28453
|
});
|
|
28408
|
-
const ToolkitContentParam = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28454
|
+
const ToolkitContentParam = /* @__PURE__ */ _export_sfc(_sfc_main$58, [["__scopeId", "data-v-8b0f564a"]]);
|
|
28409
28455
|
const _hoisted_1$2R = { class: "wrapper" };
|
|
28410
28456
|
const _hoisted_2$22 = {
|
|
28411
28457
|
key: 0,
|
|
28412
28458
|
class: "mt-4px"
|
|
28413
28459
|
};
|
|
28414
|
-
const _sfc_main$
|
|
28460
|
+
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
28415
28461
|
__name: "toolkit-content-params",
|
|
28416
28462
|
setup(__props) {
|
|
28417
28463
|
const { params, addParam } = useParam();
|
|
@@ -28449,9 +28495,9 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
28449
28495
|
};
|
|
28450
28496
|
}
|
|
28451
28497
|
});
|
|
28452
|
-
const ToolkitContentParams = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28498
|
+
const ToolkitContentParams = /* @__PURE__ */ _export_sfc(_sfc_main$57, [["__scopeId", "data-v-54a05379"]]);
|
|
28453
28499
|
const _hoisted_1$2Q = { class: "toolkit-code-editor__footer" };
|
|
28454
|
-
const _sfc_main$
|
|
28500
|
+
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
28455
28501
|
__name: "toolkit-code-editor",
|
|
28456
28502
|
props: {
|
|
28457
28503
|
content: {},
|
|
@@ -28711,7 +28757,7 @@ function getSuiteFeatures(suiteKey) {
|
|
|
28711
28757
|
const _hoisted_1$2P = { class: "designer__toolkit" };
|
|
28712
28758
|
const _hoisted_2$21 = { class: "text-init-data" };
|
|
28713
28759
|
const _hoisted_3$1w = { class: "text-glob" };
|
|
28714
|
-
const _sfc_main$
|
|
28760
|
+
const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
28715
28761
|
__name: "toolkit",
|
|
28716
28762
|
props: {
|
|
28717
28763
|
showParams: { type: Boolean, default: false },
|
|
@@ -28781,7 +28827,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
28781
28827
|
}
|
|
28782
28828
|
};
|
|
28783
28829
|
const openEditor = () => {
|
|
28784
|
-
GctDialog.open(_sfc_main$
|
|
28830
|
+
GctDialog.open(_sfc_main$56, {
|
|
28785
28831
|
content: formConfig2.value.javascript,
|
|
28786
28832
|
callback: (code2) => {
|
|
28787
28833
|
formConfig2.value.javascript = code2;
|
|
@@ -28931,14 +28977,14 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
28931
28977
|
};
|
|
28932
28978
|
}
|
|
28933
28979
|
});
|
|
28934
|
-
const Toolkit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28980
|
+
const Toolkit = /* @__PURE__ */ _export_sfc(_sfc_main$55, [["__scopeId", "data-v-b74e49c1"]]);
|
|
28935
28981
|
const MacCommand = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='command%201'%3e%3cpath%20id='Vector'%20d='M5.90857%206.4397V9.56684H4.56257C3.25%209.56684%202.172%2010.6048%202.172%2011.9308C2.172%2013.2566%203.25%2014.328%204.56257%2014.328C5.88171%2014.328%206.95314%2013.2566%206.95314%2011.9308V10.5914H10.0403V11.9308C10.0403%2013.2566%2011.1183%2014.328%2012.4374%2014.328C13.75%2014.328%2014.828%2013.2566%2014.828%2011.9308C14.828%2010.6051%2013.75%209.56684%2012.4374%209.56684H11.0849V6.43999H12.4374C13.75%206.43999%2014.828%205.40199%2014.828%204.07627C14.828%202.75027%2013.75%201.67227%2012.4374%201.67227C11.1183%201.67227%2010.0403%202.75027%2010.0403%204.07627V5.41541H6.95314V4.07627C6.95314%202.75027%205.88171%201.67227%204.56257%201.67227C3.25%201.67227%202.172%202.75027%202.172%204.07627C2.172%205.40199%203.25%206.43999%204.56257%206.43999L5.90857%206.4397ZM4.56257%205.42856C3.83257%205.42856%203.21657%204.81913%203.21657%204.07599C3.21657%203.33256%203.83257%202.71656%204.56228%202.71656C5.29914%202.71656%205.90857%203.33256%205.90857%204.07599V5.42856H4.56257ZM12.4374%205.42856H11.0849V4.07599C11.0849%203.33256%2011.7009%202.71656%2012.4374%202.71656C13.1674%202.71656%2013.7834%203.33256%2013.7834%204.07599C13.7834%204.81913%2013.1674%205.42856%2012.4377%205.42856H12.4374ZM6.95314%209.58027V6.42627H10.0403V9.58056L6.95314%209.58027ZM4.56257%2010.5714H5.90828V11.924C5.90828%2012.6674%205.29914%2013.2768%204.56257%2013.2768C3.83257%2013.2768%203.21657%2012.6674%203.21657%2011.924C3.21657%2011.1808%203.83257%2010.5714%204.56228%2010.5714H4.56257ZM12.4374%2010.5714C13.1674%2010.5714%2013.7834%2011.1808%2013.7834%2011.924C13.7834%2012.6674%2013.1674%2013.2768%2012.4377%2013.2768C11.7009%2013.2768%2011.0849%2012.6674%2011.0849%2011.924V10.5714H12.4374Z'%20fill='black'/%3e%3c/g%3e%3c/svg%3e";
|
|
28936
28982
|
const MacOption = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='option%201'%3e%3cpath%20id='Vector'%20d='M5.51998%201.86286H2.29913C1.94427%201.86286%201.66284%202.12401%201.66284%202.46544C1.66284%202.80686%201.94427%203.07487%202.29913%203.07486H5.23884C5.47998%203.07486%205.65398%203.18201%205.76113%203.40286L10.1674%2013.3137C10.4151%2013.876%2010.8237%2014.1374%2011.4466%2014.1374H14.7074C15.056%2014.1374%2015.3371%2013.8694%2015.3371%2013.5346C15.3371%2013.1997%2015.0557%2012.9251%2014.7077%2012.9251H11.7477C11.4734%2012.9251%2011.3057%2012.8249%2011.1986%2012.6037L6.8057%202.70001C6.57798%202.17772%206.10284%201.86286%205.51998%201.86286ZM14.7074%201.86286H10.3754C10.0203%201.86286%209.7457%202.11715%209.7457%202.45858C9.7457%202.80029%2010.0203%203.06144%2010.3751%203.06144H14.708C15.0628%203.06144%2015.3308%202.80029%2015.3308%202.45858C15.3308%202.11715%2015.0628%201.86258%2014.708%201.86258L14.7074%201.86286Z'%20fill='black'/%3e%3c/g%3e%3c/svg%3e";
|
|
28937
28983
|
const Mouse = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23233;&%23188;&%23160;&%23230;&%23160;&%23135;%201'%3e%3cpath%20id='Vector'%20d='M8.83626%2016H8.16373C6.79487%2016%205.48208%2015.4562%204.51415%2014.4883C3.54622%2013.5204%203.00244%2012.2076%203.00244%2010.8387V4.06647C3.00244%202.98798%203.43087%201.95365%204.19348%201.19104C4.95609%200.428431%205.99042%200%207.06891%200L9.93108%200C10.4651%200%2010.9939%200.105182%2011.4873%200.309542C11.9806%200.513901%2012.4289%200.813435%2012.8065%201.19104C13.1841%201.56865%2013.4837%202.01693%2013.688%202.5103C13.8924%203.00367%2013.9976%203.53245%2013.9976%204.06647V10.8387C13.9976%2012.2076%2013.4538%2013.5204%2012.4858%2014.4883C11.5179%2015.4562%2010.2051%2016%208.83626%2016ZM7.06891%201.25122C5.52053%201.25122%204.25366%202.51808%204.25366%204.06647V10.8387C4.25366%2012.9971%206.00537%2014.7488%208.16373%2014.7488H8.83626C10.9946%2014.7488%2012.7463%2012.9971%2012.7463%2010.8387V4.06647C12.7463%202.51808%2011.4795%201.25122%209.93108%201.25122H7.06891Z'%20fill='black'/%3e%3cpath%20id='Vector_2'%20d='M8.64855%207.55425H8.35138C7.93658%207.55425%207.53876%207.38947%207.24545%207.09616C6.95213%206.80285%206.78735%206.40503%206.78735%205.99022V3.6911C6.78735%203.2763%206.95213%202.87848%207.24545%202.58517C7.53876%202.29186%207.93658%202.12708%208.35138%202.12708H8.64855C9.06335%202.12708%209.46117%202.29186%209.75448%202.58517C10.0478%202.87848%2010.2126%203.2763%2010.2126%203.6911V5.99022C10.2126%206.40503%2010.0478%206.80285%209.75448%207.09616C9.46117%207.38947%209.06335%207.55425%208.64855%207.55425ZM8.35138%203.3783C8.3103%203.3783%208.26963%203.38639%208.23168%203.40211C8.19372%203.41783%208.15924%203.44087%208.13019%203.46992C8.10115%203.49896%208.07811%203.53345%208.06239%203.5714C8.04667%203.60935%208.03858%203.65002%208.03858%203.6911V5.99022C8.03858%206.0313%208.04667%206.07198%208.06239%206.10993C8.07811%206.14788%208.10115%206.18236%208.13019%206.21141C8.15924%206.24046%208.19372%206.2635%208.23168%206.27922C8.26963%206.29494%208.3103%206.30303%208.35138%206.30303H8.64855C8.68962%206.30303%208.7303%206.29494%208.76825%206.27922C8.8062%206.2635%208.84069%206.24046%208.86973%206.21141C8.89878%206.18236%208.92182%206.14788%208.93754%206.10993C8.95326%206.07198%208.96135%206.0313%208.96135%205.99022V3.6911C8.96135%203.65002%208.95326%203.60935%208.93754%203.5714C8.92182%203.53345%208.89878%203.49896%208.86973%203.46992C8.84069%203.44087%208.8062%203.41783%208.76825%203.40211C8.7303%203.38639%208.68962%203.3783%208.64855%203.3783H8.35138Z'%20fill='black'/%3e%3cpath%20id='Vector_3'%20d='M8.50773%203.1437C8.34181%203.1437%208.18268%203.07779%208.06536%202.96047C7.94803%202.84314%207.88212%202.68401%207.88212%202.51809V1.07919C7.88215%200.913281%207.94807%200.75418%208.06539%200.636877C8.18272%200.519573%208.34183%200.453674%208.50773%200.453674C8.67364%200.453674%208.83275%200.519573%208.95007%200.636877C9.06739%200.75418%209.13332%200.913281%209.13334%201.07919V2.51809C9.13334%202.68401%209.06743%202.84314%208.95011%202.96047C8.83278%203.07779%208.67366%203.1437%208.50773%203.1437ZM7.13139%206.47508H3.86257C3.69667%206.47506%203.53757%206.40913%203.42026%206.29181C3.30296%206.17449%203.23706%206.01538%203.23706%205.84947C3.23706%205.68357%203.30296%205.52445%203.42026%205.40713C3.53757%205.28981%203.69667%205.22389%203.86257%205.22386H7.13139C7.29729%205.22389%207.4564%205.28981%207.5737%205.40713C7.691%205.52445%207.7569%205.68357%207.7569%205.84947C7.7569%206.01538%207.691%206.17449%207.5737%206.29181C7.4564%206.40913%207.29729%206.47506%207.13139%206.47508ZM13.106%206.47508H9.83716C9.67125%206.47506%209.51215%206.40913%209.39485%206.29181C9.27754%206.17449%209.21164%206.01538%209.21164%205.84947C9.21164%205.68357%209.27754%205.52445%209.39485%205.40713C9.51215%205.28981%209.67125%205.22389%209.83716%205.22386H13.106C13.2719%205.22389%2013.431%205.28981%2013.5483%205.40713C13.6656%205.52445%2013.7315%205.68357%2013.7315%205.84947C13.7315%206.01538%2013.6656%206.17449%2013.5483%206.29181C13.431%206.40913%2013.2719%206.47506%2013.106%206.47508Z'%20fill='black'/%3e%3c/g%3e%3c/svg%3e";
|
|
28938
28984
|
const _hoisted_1$2O = ["src"];
|
|
28939
28985
|
const _hoisted_2$20 = ["src"];
|
|
28940
28986
|
const _hoisted_3$1v = ["src"];
|
|
28941
|
-
const _sfc_main$
|
|
28987
|
+
const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
28942
28988
|
__name: "help-modal",
|
|
28943
28989
|
setup(__props) {
|
|
28944
28990
|
const ns = useNamespace("help-modal");
|
|
@@ -29044,7 +29090,7 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
29044
29090
|
};
|
|
29045
29091
|
}
|
|
29046
29092
|
});
|
|
29047
|
-
const HelpModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29093
|
+
const HelpModal = /* @__PURE__ */ _export_sfc(_sfc_main$54, [["__scopeId", "data-v-11653097"]]);
|
|
29048
29094
|
const _hoisted_1$2N = { class: "toolkit-hook-wrapper" };
|
|
29049
29095
|
const _hoisted_2$1$ = {
|
|
29050
29096
|
key: 0,
|
|
@@ -29053,7 +29099,7 @@ const _hoisted_2$1$ = {
|
|
|
29053
29099
|
const _hoisted_3$1u = { class: "guides" };
|
|
29054
29100
|
const _hoisted_4$14 = ["onClick"];
|
|
29055
29101
|
const _hoisted_5$P = ["onClick"];
|
|
29056
|
-
const _sfc_main$
|
|
29102
|
+
const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
29057
29103
|
__name: "toolkit-hook",
|
|
29058
29104
|
setup(__props) {
|
|
29059
29105
|
const { designMode: designMode2, setDesignMode: setDesignMode2 } = useSpreadSheet();
|
|
@@ -29135,15 +29181,15 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
29135
29181
|
};
|
|
29136
29182
|
}
|
|
29137
29183
|
});
|
|
29138
|
-
const ToolkitHook = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29139
|
-
const _sfc_main$
|
|
29184
|
+
const ToolkitHook = /* @__PURE__ */ _export_sfc(_sfc_main$53, [["__scopeId", "data-v-b1390fca"]]);
|
|
29185
|
+
const _sfc_main$52 = {};
|
|
29140
29186
|
function _sfc_render$d(_ctx, _cache) {
|
|
29141
29187
|
return openBlock(), createElementBlock("div");
|
|
29142
29188
|
}
|
|
29143
|
-
const __vite_glob_0_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29189
|
+
const __vite_glob_0_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$52, [["render", _sfc_render$d]]);
|
|
29144
29190
|
const _hoisted_1$2M = { class: "form-item__label" };
|
|
29145
29191
|
const _hoisted_2$1_ = { class: "form-item__extra" };
|
|
29146
|
-
const _sfc_main$
|
|
29192
|
+
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
29147
29193
|
__name: "form-item",
|
|
29148
29194
|
props: {
|
|
29149
29195
|
label: {},
|
|
@@ -29183,7 +29229,7 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
29183
29229
|
};
|
|
29184
29230
|
}
|
|
29185
29231
|
});
|
|
29186
|
-
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29232
|
+
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$51, [["__scopeId", "data-v-463388f0"]]);
|
|
29187
29233
|
function ownKeys$1(object, enumerableOnly) {
|
|
29188
29234
|
var keys2 = Object.keys(object);
|
|
29189
29235
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -31856,7 +31902,7 @@ const draggableComponent = defineComponent({
|
|
|
31856
31902
|
});
|
|
31857
31903
|
const _hoisted_1$2L = ["onClick"];
|
|
31858
31904
|
const _hoisted_2$1Z = ["onClick"];
|
|
31859
|
-
const _sfc_main$
|
|
31905
|
+
const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
31860
31906
|
__name: "multiple-drop",
|
|
31861
31907
|
props: {
|
|
31862
31908
|
items: {},
|
|
@@ -31938,8 +31984,8 @@ const _sfc_main$4$ = /* @__PURE__ */ defineComponent({
|
|
|
31938
31984
|
};
|
|
31939
31985
|
}
|
|
31940
31986
|
});
|
|
31941
|
-
const MultipleDrop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31942
|
-
const _sfc_main$
|
|
31987
|
+
const MultipleDrop = /* @__PURE__ */ _export_sfc(_sfc_main$50, [["__scopeId", "data-v-337b6c42"]]);
|
|
31988
|
+
const _sfc_main$4$ = /* @__PURE__ */ defineComponent({
|
|
31943
31989
|
__name: "attach-fields-editor",
|
|
31944
31990
|
props: {
|
|
31945
31991
|
items: {},
|
|
@@ -32046,15 +32092,15 @@ const _sfc_main$4_ = /* @__PURE__ */ defineComponent({
|
|
|
32046
32092
|
};
|
|
32047
32093
|
}
|
|
32048
32094
|
});
|
|
32049
|
-
const AttachFieldEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32095
|
+
const AttachFieldEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4$, [["__scopeId", "data-v-820bec1e"]]);
|
|
32050
32096
|
const _hoisted_1$2K = { style: { "float": "right" } };
|
|
32051
32097
|
const _hoisted_2$1Y = { class: "option-container" };
|
|
32052
32098
|
const _hoisted_3$1t = { class: "option" };
|
|
32053
32099
|
const _hoisted_4$13 = { class: "option__label" };
|
|
32054
32100
|
const _hoisted_5$O = { class: "option-container" };
|
|
32055
|
-
const _hoisted_6$
|
|
32056
|
-
const _hoisted_7$
|
|
32057
|
-
const _sfc_main$
|
|
32101
|
+
const _hoisted_6$D = { class: "option" };
|
|
32102
|
+
const _hoisted_7$p = { class: "option__label" };
|
|
32103
|
+
const _sfc_main$4_ = /* @__PURE__ */ defineComponent({
|
|
32058
32104
|
__name: "boolean-props",
|
|
32059
32105
|
props: {
|
|
32060
32106
|
widget: {},
|
|
@@ -32147,8 +32193,8 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
|
32147
32193
|
}, null, 8, ["disabled", "items"])) : createCommentVNode("", true)
|
|
32148
32194
|
]),
|
|
32149
32195
|
createElementVNode("div", _hoisted_5$O, [
|
|
32150
|
-
createElementVNode("div", _hoisted_6$
|
|
32151
|
-
createElementVNode("span", _hoisted_7$
|
|
32196
|
+
createElementVNode("div", _hoisted_6$D, [
|
|
32197
|
+
createElementVNode("span", _hoisted_7$p, toDisplayString$1(`${_ctx.$t("sys.fake")}`), 1),
|
|
32152
32198
|
createVNode(_component_a_input, {
|
|
32153
32199
|
class: "option__input",
|
|
32154
32200
|
size: "small",
|
|
@@ -32194,7 +32240,7 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
|
32194
32240
|
};
|
|
32195
32241
|
}
|
|
32196
32242
|
});
|
|
32197
|
-
const __vite_glob_0_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32243
|
+
const __vite_glob_0_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$4_, [["__scopeId", "data-v-a413c3b0"]]);
|
|
32198
32244
|
const DateFormatSeparators = ["-", "/", "."];
|
|
32199
32245
|
const DateFormatTemplates = [
|
|
32200
32246
|
{
|
|
@@ -32350,7 +32396,7 @@ function useDateFormatEditor(formState, fieldType) {
|
|
|
32350
32396
|
}
|
|
32351
32397
|
const _hoisted_1$2J = { class: "date-format-editor__switch" };
|
|
32352
32398
|
const _hoisted_2$1X = { class: "date-format-editor__switch_text" };
|
|
32353
|
-
const _sfc_main$
|
|
32399
|
+
const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
32354
32400
|
__name: "date-format-editor",
|
|
32355
32401
|
props: {
|
|
32356
32402
|
widget: {},
|
|
@@ -32444,7 +32490,7 @@ const _sfc_main$4Y = /* @__PURE__ */ defineComponent({
|
|
|
32444
32490
|
};
|
|
32445
32491
|
}
|
|
32446
32492
|
});
|
|
32447
|
-
const DateFormatEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32493
|
+
const DateFormatEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4Z, [["__scopeId", "data-v-49f9bd2f"]]);
|
|
32448
32494
|
const SelectEx = /* @__PURE__ */ defineComponent({
|
|
32449
32495
|
name: "SelectEx",
|
|
32450
32496
|
props: {
|
|
@@ -32710,7 +32756,7 @@ function useFormulaEditor$1(props2) {
|
|
|
32710
32756
|
fieldsOptions
|
|
32711
32757
|
};
|
|
32712
32758
|
}
|
|
32713
|
-
const _sfc_main$
|
|
32759
|
+
const _sfc_main$4Y = /* @__PURE__ */ defineComponent({
|
|
32714
32760
|
__name: "formula-editor",
|
|
32715
32761
|
props: {
|
|
32716
32762
|
modelKey: {},
|
|
@@ -32750,8 +32796,8 @@ const _sfc_main$4X = /* @__PURE__ */ defineComponent({
|
|
|
32750
32796
|
};
|
|
32751
32797
|
}
|
|
32752
32798
|
});
|
|
32753
|
-
const FormulaEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32754
|
-
const _sfc_main$
|
|
32799
|
+
const FormulaEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4Y, [["__scopeId", "data-v-42c0c00b"]]);
|
|
32800
|
+
const _sfc_main$4X = /* @__PURE__ */ defineComponent({
|
|
32755
32801
|
__name: "date-range-editor",
|
|
32756
32802
|
props: {
|
|
32757
32803
|
fieldMeta: {},
|
|
@@ -32977,8 +33023,8 @@ const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
|
32977
33023
|
};
|
|
32978
33024
|
}
|
|
32979
33025
|
});
|
|
32980
|
-
const DateRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32981
|
-
const _sfc_main$
|
|
33026
|
+
const DateRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4X, [["__scopeId", "data-v-0d979f2b"]]);
|
|
33027
|
+
const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
32982
33028
|
__name: "default-date-editor",
|
|
32983
33029
|
props: {
|
|
32984
33030
|
widget: {},
|
|
@@ -33057,7 +33103,7 @@ const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
|
33057
33103
|
};
|
|
33058
33104
|
}
|
|
33059
33105
|
});
|
|
33060
|
-
const _sfc_main$
|
|
33106
|
+
const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
33061
33107
|
__name: "date-time-props",
|
|
33062
33108
|
props: {
|
|
33063
33109
|
fieldMeta: {},
|
|
@@ -33122,7 +33168,7 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
|
|
|
33122
33168
|
"field-type": __props.fieldType,
|
|
33123
33169
|
disabled: __props.disabled
|
|
33124
33170
|
}, null, 8, ["widget", "field-type", "disabled"])) : createCommentVNode("", true),
|
|
33125
|
-
showDefaultValue.value ? (openBlock(), createBlock(_sfc_main$
|
|
33171
|
+
showDefaultValue.value ? (openBlock(), createBlock(_sfc_main$4W, {
|
|
33126
33172
|
key: 2,
|
|
33127
33173
|
widget: props2.widget,
|
|
33128
33174
|
"field-type": __props.fieldType,
|
|
@@ -33140,7 +33186,7 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
|
|
|
33140
33186
|
};
|
|
33141
33187
|
}
|
|
33142
33188
|
});
|
|
33143
|
-
const _sfc_main$
|
|
33189
|
+
const _sfc_main$4U = /* @__PURE__ */ defineComponent({
|
|
33144
33190
|
__name: "indices-editor",
|
|
33145
33191
|
props: {
|
|
33146
33192
|
scriptValue: {},
|
|
@@ -33212,8 +33258,8 @@ const _sfc_main$4T = /* @__PURE__ */ defineComponent({
|
|
|
33212
33258
|
};
|
|
33213
33259
|
}
|
|
33214
33260
|
});
|
|
33215
|
-
const IndicesEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33216
|
-
const _sfc_main$
|
|
33261
|
+
const IndicesEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4U, [["__scopeId", "data-v-97c50769"]]);
|
|
33262
|
+
const _sfc_main$4T = /* @__PURE__ */ defineComponent({
|
|
33217
33263
|
__name: "number-range-editor",
|
|
33218
33264
|
props: {
|
|
33219
33265
|
fieldMeta: {},
|
|
@@ -33237,7 +33283,9 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
33237
33283
|
const minInputKey = ref(0);
|
|
33238
33284
|
const maxInputRef = ref(null);
|
|
33239
33285
|
const minInputRef = ref(null);
|
|
33240
|
-
const
|
|
33286
|
+
const isIntegerField = computed(() => props2.fieldMeta?.fieldType === FIELD_TYPE.INTEGER);
|
|
33287
|
+
const inputMax = computed(() => isIntegerField.value ? 21e8 : Infinity);
|
|
33288
|
+
const withinLimit = (text) => (text.match(/[0-9]/g) ?? []).length <= (isIntegerField.value ? 10 : 15);
|
|
33241
33289
|
const fitsLength = (number2) => {
|
|
33242
33290
|
const digits = props2.precision;
|
|
33243
33291
|
const display = typeof digits === "number" && Number.isInteger(digits) && digits >= 0 ? number2.toFixed(digits) : number2.toFixed();
|
|
@@ -33341,22 +33389,14 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
33341
33389
|
{ label: $t("sys.rangeCompareOp.ge"), value: RangeCompareOp.GE },
|
|
33342
33390
|
{ label: $t("sys.rangeCompareOp.gt"), value: RangeCompareOp.GT }
|
|
33343
33391
|
];
|
|
33344
|
-
const minLimit = computed(() => {
|
|
33345
|
-
|
|
33346
|
-
|
|
33347
|
-
|
|
33348
|
-
|
|
33349
|
-
|
|
33350
|
-
|
|
33351
|
-
});
|
|
33352
|
-
const maxLimit = computed(() => {
|
|
33353
|
-
const lowerLimit = isNil(formState.value.min) ? -Infinity : formState.value.min;
|
|
33354
|
-
const upperLimit = Infinity;
|
|
33355
|
-
return {
|
|
33356
|
-
lowerLimit,
|
|
33357
|
-
upperLimit
|
|
33358
|
-
};
|
|
33359
|
-
});
|
|
33392
|
+
const minLimit = computed(() => ({
|
|
33393
|
+
lowerLimit: -Infinity,
|
|
33394
|
+
upperLimit: Math.min(formState.value.max ?? Infinity, inputMax.value)
|
|
33395
|
+
}));
|
|
33396
|
+
const maxLimit = computed(() => ({
|
|
33397
|
+
lowerLimit: formState.value.min ?? -Infinity,
|
|
33398
|
+
upperLimit: inputMax.value
|
|
33399
|
+
}));
|
|
33360
33400
|
return (_ctx, _cache) => {
|
|
33361
33401
|
const _component_a_switch = resolveComponent("a-switch");
|
|
33362
33402
|
const _component_a_select = resolveComponent("a-select");
|
|
@@ -33520,13 +33560,263 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
33520
33560
|
};
|
|
33521
33561
|
}
|
|
33522
33562
|
});
|
|
33523
|
-
const NumberRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33563
|
+
const NumberRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4T, [["__scopeId", "data-v-6ae2d5c0"]]);
|
|
33564
|
+
function normalizeNumberText(value) {
|
|
33565
|
+
const text = value == null ? "" : typeof value === "number" && Number.isFinite(value) ? new BigNumber(value).toFixed() : String(value);
|
|
33566
|
+
return text.replace(/。/g, ".").replace(/\$\s?|,|,|\s/g, "");
|
|
33567
|
+
}
|
|
33568
|
+
function countDigits(text) {
|
|
33569
|
+
return (text.match(/[0-9]/g) ?? []).length;
|
|
33570
|
+
}
|
|
33571
|
+
function isNumberCommitAllowed(value, rules) {
|
|
33572
|
+
const text = normalizeNumberText(value);
|
|
33573
|
+
if (text === "") return true;
|
|
33574
|
+
if (!/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/.test(text)) return false;
|
|
33575
|
+
const number2 = new BigNumber(text);
|
|
33576
|
+
if (!number2.isFinite()) return false;
|
|
33577
|
+
const precision = rules.precision;
|
|
33578
|
+
const formatted = typeof precision === "number" && Number.isInteger(precision) && precision >= 0 ? number2.toFixed(precision, rules.roundingMode ?? 4) : number2.toFixed();
|
|
33579
|
+
const maxDigits = rules.maxDigits ?? 15;
|
|
33580
|
+
if ([text, number2.toFixed(), formatted].some((item) => countDigits(item) > maxDigits)) {
|
|
33581
|
+
return false;
|
|
33582
|
+
}
|
|
33583
|
+
return rules.maxValue == null || number2.lte(rules.maxValue) && new BigNumber(formatted).lte(rules.maxValue);
|
|
33584
|
+
}
|
|
33585
|
+
function isNumberDraftAllowed(value, rules) {
|
|
33586
|
+
const text = normalizeNumberText(value);
|
|
33587
|
+
if (!/^[+-]?\d*(?:\.\d*)?$/.test(text)) return false;
|
|
33588
|
+
if (countDigits(text) > (rules.maxDigits ?? 15)) return false;
|
|
33589
|
+
if (/^[+-]?\.?$/.test(text)) return true;
|
|
33590
|
+
return isNumberCommitAllowed(text, rules);
|
|
33591
|
+
}
|
|
33592
|
+
const fifteenDigitTypes = /* @__PURE__ */ new Set([
|
|
33593
|
+
FIELD_TYPE.LONG,
|
|
33594
|
+
FIELD_TYPE.DOUBLE,
|
|
33595
|
+
FIELD_TYPE.DECIMAL,
|
|
33596
|
+
FIELD_TYPE.GOOD_QTY,
|
|
33597
|
+
FIELD_TYPE.NOT_GOOD_QTY,
|
|
33598
|
+
FIELD_TYPE.PRODUCT_CHECK_QTY,
|
|
33599
|
+
FIELD_TYPE.DESTRUCTIVE_TEST_QTY,
|
|
33600
|
+
FIELD_TYPE.OPERATION_OUTPUT_QTY,
|
|
33601
|
+
FIELD_TYPE.OPERATION_RECEIVE_QTY,
|
|
33602
|
+
FIELD_TYPE.SCRAP_QTY
|
|
33603
|
+
]);
|
|
33604
|
+
function getNumberFieldLimits(props2) {
|
|
33605
|
+
for (const value of [props2.bizType, props2.fieldType]) {
|
|
33606
|
+
if (!value) continue;
|
|
33607
|
+
const type = normalizeFieldType(value);
|
|
33608
|
+
if (type === FIELD_TYPE.INTEGER) return { maxDigits: 10, maxValue: 21e8 };
|
|
33609
|
+
if (fifteenDigitTypes.has(type)) return { maxDigits: 15 };
|
|
33610
|
+
}
|
|
33611
|
+
return { maxDigits: 15 };
|
|
33612
|
+
}
|
|
33613
|
+
const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
33614
|
+
...{ name: "LimitedNumberInput", inheritAttrs: false },
|
|
33615
|
+
__name: "limited-number-input",
|
|
33616
|
+
props: {
|
|
33617
|
+
value: {},
|
|
33618
|
+
precision: {},
|
|
33619
|
+
limits: {}
|
|
33620
|
+
},
|
|
33621
|
+
emits: ["update:value", "change", "blur", "pressEnter"],
|
|
33622
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
33623
|
+
const props2 = __props;
|
|
33624
|
+
const emit2 = __emit;
|
|
33625
|
+
const attrs = useAttrs();
|
|
33626
|
+
const inputKey = ref(0);
|
|
33627
|
+
const inputRef = ref(null);
|
|
33628
|
+
let lastDraft = { value: "", start: 0, end: 0 };
|
|
33629
|
+
let compositionBefore = lastDraft;
|
|
33630
|
+
let composing = false;
|
|
33631
|
+
let resetting = false;
|
|
33632
|
+
const inputPrecision = computed(() => {
|
|
33633
|
+
const precision = props2.precision ?? props2.limits?.precision;
|
|
33634
|
+
return typeof precision === "number" && Number.isInteger(precision) && precision >= 0 ? precision : void 0;
|
|
33635
|
+
});
|
|
33636
|
+
const rules = computed(() => ({
|
|
33637
|
+
...props2.limits,
|
|
33638
|
+
maxDigits: props2.limits?.maxDigits ?? 15,
|
|
33639
|
+
precision: inputPrecision.value,
|
|
33640
|
+
roundingMode: props2.limits?.roundingMode ?? 4
|
|
33641
|
+
}));
|
|
33642
|
+
const effectiveMax = computed(() => {
|
|
33643
|
+
const configured = attrs.max;
|
|
33644
|
+
const hardMax = rules.value.maxValue;
|
|
33645
|
+
if (hardMax == null) return configured;
|
|
33646
|
+
if (configured == null) return hardMax;
|
|
33647
|
+
return BigNumber.minimum(configured, hardMax).toFixed();
|
|
33648
|
+
});
|
|
33649
|
+
function getInput() {
|
|
33650
|
+
return inputRef.value?.$el?.querySelector("input") ?? null;
|
|
33651
|
+
}
|
|
33652
|
+
function snapshot(input) {
|
|
33653
|
+
return { value: input.value, start: input.selectionStart, end: input.selectionEnd };
|
|
33654
|
+
}
|
|
33655
|
+
function restore(input, previous) {
|
|
33656
|
+
input.value = previous.value;
|
|
33657
|
+
if (previous.start !== null && previous.end !== null) {
|
|
33658
|
+
input.setSelectionRange(previous.start, previous.end);
|
|
33659
|
+
}
|
|
33660
|
+
}
|
|
33661
|
+
function replaceSelection(input, text) {
|
|
33662
|
+
const start = input.selectionStart ?? input.value.length;
|
|
33663
|
+
const end = input.selectionEnd ?? start;
|
|
33664
|
+
return input.value.slice(0, start) + text + input.value.slice(end);
|
|
33665
|
+
}
|
|
33666
|
+
function reset(refocus = true) {
|
|
33667
|
+
const input = getInput();
|
|
33668
|
+
const focused = refocus && !!input && document.activeElement === input;
|
|
33669
|
+
const start = input?.selectionStart;
|
|
33670
|
+
const end = input?.selectionEnd;
|
|
33671
|
+
if (input) {
|
|
33672
|
+
input.value = normalizeNumberText(props2.value);
|
|
33673
|
+
lastDraft = snapshot(input);
|
|
33674
|
+
}
|
|
33675
|
+
if (resetting) return;
|
|
33676
|
+
resetting = true;
|
|
33677
|
+
composing = false;
|
|
33678
|
+
inputKey.value += 1;
|
|
33679
|
+
void nextTick(() => {
|
|
33680
|
+
resetting = false;
|
|
33681
|
+
if (!focused) return;
|
|
33682
|
+
inputRef.value?.focus();
|
|
33683
|
+
const restored = getInput();
|
|
33684
|
+
if (restored && start != null && end != null) {
|
|
33685
|
+
restored.setSelectionRange(
|
|
33686
|
+
Math.min(start, restored.value.length),
|
|
33687
|
+
Math.min(end, restored.value.length)
|
|
33688
|
+
);
|
|
33689
|
+
}
|
|
33690
|
+
});
|
|
33691
|
+
}
|
|
33692
|
+
function onFocusIn(event2) {
|
|
33693
|
+
if (event2.target instanceof HTMLInputElement) lastDraft = snapshot(event2.target);
|
|
33694
|
+
}
|
|
33695
|
+
function onBeforeInput(event2) {
|
|
33696
|
+
const input = event2.target;
|
|
33697
|
+
if (!(input instanceof HTMLInputElement) || composing || event2.isComposing) return;
|
|
33698
|
+
lastDraft = snapshot(input);
|
|
33699
|
+
if (!event2.inputType?.startsWith("insert")) return;
|
|
33700
|
+
const text = event2.data ?? event2.dataTransfer?.getData("text");
|
|
33701
|
+
if (text == null) return;
|
|
33702
|
+
if (!isNumberDraftAllowed(replaceSelection(input, text), rules.value) && event2.cancelable) {
|
|
33703
|
+
event2.preventDefault();
|
|
33704
|
+
}
|
|
33705
|
+
}
|
|
33706
|
+
function onPaste(event2) {
|
|
33707
|
+
const input = event2.target;
|
|
33708
|
+
const text = event2.clipboardData?.getData("text");
|
|
33709
|
+
if (!(input instanceof HTMLInputElement) || text == null || composing) return;
|
|
33710
|
+
lastDraft = snapshot(input);
|
|
33711
|
+
if (!isNumberDraftAllowed(replaceSelection(input, text), rules.value)) {
|
|
33712
|
+
event2.preventDefault();
|
|
33713
|
+
}
|
|
33714
|
+
}
|
|
33715
|
+
function onNativeInput(event2) {
|
|
33716
|
+
const input = event2.target;
|
|
33717
|
+
if (!(input instanceof HTMLInputElement)) return;
|
|
33718
|
+
if (composing || event2.isComposing) {
|
|
33719
|
+
event2.stopImmediatePropagation();
|
|
33720
|
+
return;
|
|
33721
|
+
}
|
|
33722
|
+
if (!isNumberDraftAllowed(input.value, rules.value)) {
|
|
33723
|
+
restore(input, lastDraft);
|
|
33724
|
+
event2.stopImmediatePropagation();
|
|
33725
|
+
return;
|
|
33726
|
+
}
|
|
33727
|
+
lastDraft = snapshot(input);
|
|
33728
|
+
}
|
|
33729
|
+
function onCompositionStart(event2) {
|
|
33730
|
+
if (!(event2.target instanceof HTMLInputElement)) return;
|
|
33731
|
+
composing = true;
|
|
33732
|
+
compositionBefore = snapshot(event2.target);
|
|
33733
|
+
}
|
|
33734
|
+
function onCompositionEnd(event2) {
|
|
33735
|
+
composing = false;
|
|
33736
|
+
const input = event2.target;
|
|
33737
|
+
if (!(input instanceof HTMLInputElement)) return;
|
|
33738
|
+
if (!isNumberDraftAllowed(input.value, rules.value)) restore(input, compositionBefore);
|
|
33739
|
+
lastDraft = snapshot(input);
|
|
33740
|
+
}
|
|
33741
|
+
function onChange(value) {
|
|
33742
|
+
if (composing) return;
|
|
33743
|
+
const input = getInput();
|
|
33744
|
+
if (input && !isNumberDraftAllowed(input.value, rules.value) || !isNumberCommitAllowed(value, rules.value)) {
|
|
33745
|
+
reset();
|
|
33746
|
+
return;
|
|
33747
|
+
}
|
|
33748
|
+
emit2("update:value", value);
|
|
33749
|
+
emit2("change", value);
|
|
33750
|
+
}
|
|
33751
|
+
function onBlur(event2) {
|
|
33752
|
+
const input = getInput();
|
|
33753
|
+
if (composing || input && !isNumberCommitAllowed(input.value, rules.value)) reset(false);
|
|
33754
|
+
emit2("blur", event2);
|
|
33755
|
+
}
|
|
33756
|
+
function onPressEnter(event2) {
|
|
33757
|
+
if (composing || event2.isComposing) return;
|
|
33758
|
+
const input = getInput();
|
|
33759
|
+
if (input && !isNumberCommitAllowed(input.value, rules.value)) {
|
|
33760
|
+
reset();
|
|
33761
|
+
return;
|
|
33762
|
+
}
|
|
33763
|
+
emit2("pressEnter", event2);
|
|
33764
|
+
}
|
|
33765
|
+
watch(
|
|
33766
|
+
() => props2.value,
|
|
33767
|
+
() => {
|
|
33768
|
+
void nextTick(() => {
|
|
33769
|
+
const input = getInput();
|
|
33770
|
+
if (input && !composing) lastDraft = snapshot(input);
|
|
33771
|
+
});
|
|
33772
|
+
}
|
|
33773
|
+
);
|
|
33774
|
+
__expose({
|
|
33775
|
+
focus: () => inputRef.value?.focus(),
|
|
33776
|
+
blur: () => inputRef.value?.blur(),
|
|
33777
|
+
reset
|
|
33778
|
+
});
|
|
33779
|
+
return (_ctx, _cache) => {
|
|
33780
|
+
const _component_a_input_number = resolveComponent("a-input-number");
|
|
33781
|
+
return openBlock(), createBlock(_component_a_input_number, mergeProps({
|
|
33782
|
+
key: inputKey.value,
|
|
33783
|
+
ref_key: "inputRef",
|
|
33784
|
+
ref: inputRef
|
|
33785
|
+
}, _ctx.$attrs, {
|
|
33786
|
+
value: __props.value ?? null,
|
|
33787
|
+
precision: inputPrecision.value,
|
|
33788
|
+
max: effectiveMax.value,
|
|
33789
|
+
onFocusinCapture: onFocusIn,
|
|
33790
|
+
onBeforeinputCapture: onBeforeInput,
|
|
33791
|
+
onPasteCapture: onPaste,
|
|
33792
|
+
onInputCapture: onNativeInput,
|
|
33793
|
+
onCompositionstartCapture: onCompositionStart,
|
|
33794
|
+
onCompositionendCapture: onCompositionEnd,
|
|
33795
|
+
onChange,
|
|
33796
|
+
onBlur,
|
|
33797
|
+
onPressEnter
|
|
33798
|
+
}), createSlots({ _: 2 }, [
|
|
33799
|
+
renderList(_ctx.$slots, (_, name) => {
|
|
33800
|
+
return {
|
|
33801
|
+
name,
|
|
33802
|
+
fn: withCtx((slotProps) => [
|
|
33803
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps ?? {})))
|
|
33804
|
+
])
|
|
33805
|
+
};
|
|
33806
|
+
})
|
|
33807
|
+
]), 1040, ["value", "precision", "max"]);
|
|
33808
|
+
};
|
|
33809
|
+
}
|
|
33810
|
+
});
|
|
33524
33811
|
const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
33525
33812
|
__name: "default-value-editor",
|
|
33526
33813
|
props: {
|
|
33527
33814
|
widget: {},
|
|
33528
33815
|
precision: {},
|
|
33529
|
-
disabled: { type: Boolean }
|
|
33816
|
+
disabled: { type: Boolean },
|
|
33817
|
+
maxDigits: { default: 15 },
|
|
33818
|
+
maxValue: {},
|
|
33819
|
+
numberLimits: {}
|
|
33530
33820
|
},
|
|
33531
33821
|
setup(__props) {
|
|
33532
33822
|
const props2 = __props;
|
|
@@ -33538,52 +33828,15 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
33538
33828
|
Object.assign(props2.widget, v);
|
|
33539
33829
|
}
|
|
33540
33830
|
});
|
|
33541
|
-
const
|
|
33542
|
-
|
|
33543
|
-
|
|
33544
|
-
|
|
33545
|
-
|
|
33546
|
-
const display = typeof digits === "number" && Number.isInteger(digits) && digits >= 0 ? number2.toFixed(digits) : number2.toFixed();
|
|
33547
|
-
return withinLimit(display);
|
|
33548
|
-
};
|
|
33549
|
-
const canInput = (text) => {
|
|
33550
|
-
if (!withinLimit(text)) return false;
|
|
33551
|
-
const number2 = new BigNumber(text);
|
|
33552
|
-
return number2.isNaN() || fitsLength(number2);
|
|
33553
|
-
};
|
|
33554
|
-
const nextInput = (input, insertedText) => {
|
|
33555
|
-
const start = input.selectionStart ?? input.value.length;
|
|
33556
|
-
const end = input.selectionEnd ?? start;
|
|
33557
|
-
return input.value.slice(0, start) + insertedText + input.value.slice(end);
|
|
33558
|
-
};
|
|
33559
|
-
const onBeforeInput = (event2) => {
|
|
33560
|
-
if (!event2.inputType.startsWith("insert") || event2.isComposing) return;
|
|
33561
|
-
const text = event2.data ?? event2.dataTransfer?.getData("text");
|
|
33562
|
-
if (text == null) return;
|
|
33563
|
-
if (!canInput(nextInput(event2.target, text))) event2.preventDefault();
|
|
33564
|
-
};
|
|
33565
|
-
const onPaste = (event2) => {
|
|
33566
|
-
const text = event2.clipboardData?.getData("text");
|
|
33567
|
-
if (text == null) return;
|
|
33568
|
-
if (!canInput(nextInput(event2.target, text))) event2.preventDefault();
|
|
33569
|
-
};
|
|
33570
|
-
const onInput = (text) => {
|
|
33571
|
-
if (canInput(text)) return;
|
|
33572
|
-
inputKey.value += 1;
|
|
33573
|
-
nextTick(() => inputRef.value?.focus());
|
|
33574
|
-
};
|
|
33831
|
+
const effectiveNumberLimits = computed(() => ({
|
|
33832
|
+
maxDigits: props2.maxDigits,
|
|
33833
|
+
maxValue: props2.maxValue,
|
|
33834
|
+
...props2.numberLimits
|
|
33835
|
+
}));
|
|
33575
33836
|
const limitedDefaultValue = computed({
|
|
33576
33837
|
get: () => props2.widget.defaultValue ?? null,
|
|
33577
33838
|
set: (value) => {
|
|
33578
|
-
|
|
33579
|
-
props2.widget.defaultValue = void 0;
|
|
33580
|
-
return;
|
|
33581
|
-
}
|
|
33582
|
-
const number2 = new BigNumber(value);
|
|
33583
|
-
if (!number2.isFinite()) return;
|
|
33584
|
-
if (fitsLength(number2)) {
|
|
33585
|
-
props2.widget.defaultValue = value;
|
|
33586
|
-
}
|
|
33839
|
+
props2.widget.defaultValue = value ?? void 0;
|
|
33587
33840
|
}
|
|
33588
33841
|
});
|
|
33589
33842
|
const attrs = computed(() => {
|
|
@@ -33600,19 +33853,18 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
33600
33853
|
});
|
|
33601
33854
|
}
|
|
33602
33855
|
}
|
|
33856
|
+
if (props2.maxValue != null) {
|
|
33857
|
+
params.max = params.max == null ? props2.maxValue : BigNumber.minimum(params.max, props2.maxValue).toFixed();
|
|
33858
|
+
}
|
|
33603
33859
|
return params;
|
|
33604
33860
|
});
|
|
33605
33861
|
return (_ctx, _cache) => {
|
|
33606
|
-
const _component_a_input_number = resolveComponent("a-input-number");
|
|
33607
33862
|
return openBlock(), createBlock(FormItem, {
|
|
33608
33863
|
label: `${_ctx.$t("sys.defaultValue")}`,
|
|
33609
33864
|
inline: false
|
|
33610
33865
|
}, {
|
|
33611
33866
|
default: withCtx(() => [
|
|
33612
|
-
(
|
|
33613
|
-
key: inputKey.value,
|
|
33614
|
-
ref_key: "inputRef",
|
|
33615
|
-
ref: inputRef,
|
|
33867
|
+
createVNode(_sfc_main$4S, mergeProps({
|
|
33616
33868
|
"string-mode": "",
|
|
33617
33869
|
precision: __props.precision,
|
|
33618
33870
|
size: "small",
|
|
@@ -33621,11 +33873,8 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
33621
33873
|
placeholder: _ctx.$t("sys.inputText")
|
|
33622
33874
|
}, attrs.value, {
|
|
33623
33875
|
disabled: __props.disabled,
|
|
33624
|
-
|
|
33625
|
-
|
|
33626
|
-
onPaste,
|
|
33627
|
-
onInput
|
|
33628
|
-
}), null, 16, ["precision", "value", "placeholder", "disabled"]))
|
|
33876
|
+
limits: effectiveNumberLimits.value
|
|
33877
|
+
}), null, 16, ["precision", "value", "placeholder", "disabled", "limits"])
|
|
33629
33878
|
]),
|
|
33630
33879
|
_: 1
|
|
33631
33880
|
}, 8, ["label"]);
|
|
@@ -35112,8 +35361,9 @@ const _sfc_main$4B = /* @__PURE__ */ defineComponent({
|
|
|
35112
35361
|
createVNode(_sfc_main$4R, {
|
|
35113
35362
|
widget: __props.widget,
|
|
35114
35363
|
precision: 0,
|
|
35115
|
-
disabled: __props.disabled
|
|
35116
|
-
|
|
35364
|
+
disabled: __props.disabled,
|
|
35365
|
+
"number-limits": unref(getNumberFieldLimits)(__props.fieldMeta ?? {})
|
|
35366
|
+
}, null, 8, ["widget", "disabled", "number-limits"]),
|
|
35117
35367
|
__props.fieldMeta?.bizType !== unref(FIELD_TYPE).OF_INST_NUM ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
35118
35368
|
createVNode(NumberRangeEditor, {
|
|
35119
35369
|
widget: __props.widget,
|
|
@@ -46192,7 +46442,7 @@ const _hoisted_2$1I = { class: "card-account" };
|
|
|
46192
46442
|
const _hoisted_3$1l = ["aria-busy"];
|
|
46193
46443
|
const _hoisted_4$$ = ["src"];
|
|
46194
46444
|
const _hoisted_5$M = { class: "card-message" };
|
|
46195
|
-
const _hoisted_6$
|
|
46445
|
+
const _hoisted_6$C = ["disabled"];
|
|
46196
46446
|
const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
46197
46447
|
__name: "card-signer",
|
|
46198
46448
|
props: {
|
|
@@ -46350,7 +46600,7 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
46350
46600
|
onKeydown: onCardInput,
|
|
46351
46601
|
onPaste: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
46352
46602
|
}, ["prevent"]))
|
|
46353
|
-
}, null, 40, _hoisted_6$
|
|
46603
|
+
}, null, 40, _hoisted_6$C), [
|
|
46354
46604
|
[vModelText, cardNo.value]
|
|
46355
46605
|
])
|
|
46356
46606
|
]);
|
|
@@ -46564,11 +46814,11 @@ const _hoisted_2$1G = { class: "warning-title" };
|
|
|
46564
46814
|
const _hoisted_3$1j = { class: "warning-list" };
|
|
46565
46815
|
const _hoisted_4$Z = { class: "signature-format-selects" };
|
|
46566
46816
|
const _hoisted_5$K = { class: "signature-select-wrapper" };
|
|
46567
|
-
const _hoisted_6$
|
|
46817
|
+
const _hoisted_6$B = {
|
|
46568
46818
|
key: 4,
|
|
46569
46819
|
class: "fill-fields-area"
|
|
46570
46820
|
};
|
|
46571
|
-
const _hoisted_7$
|
|
46821
|
+
const _hoisted_7$o = ["src"];
|
|
46572
46822
|
const _hoisted_8$j = { class: "fallback-sign-option" };
|
|
46573
46823
|
const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
46574
46824
|
__name: "signature-props",
|
|
@@ -46947,7 +47197,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
46947
47197
|
}, 8, ["label"])) : createCommentVNode("", true),
|
|
46948
47198
|
!isNewSignatureConfig.value && [unref(SignatureTypeEnum).SIGNATURE_DATE, unref(SignatureTypeEnum).SIGNATURE_DATETIME].includes(
|
|
46949
47199
|
formState.value.signatureType
|
|
46950
|
-
) && formState.value.signTimeType === unref(SignatureTimeTypeEnum).POPULATE_FIELD ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
47200
|
+
) && formState.value.signTimeType === unref(SignatureTimeTypeEnum).POPULATE_FIELD ? (openBlock(), createElementBlock("div", _hoisted_6$B, [
|
|
46951
47201
|
createVNode(AttachFieldEditor, mergeProps({
|
|
46952
47202
|
items: formState.value.populateFields,
|
|
46953
47203
|
"onUpdate:items": _cache[8] || (_cache[8] = ($event) => formState.value.populateFields = $event),
|
|
@@ -46994,7 +47244,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
46994
47244
|
createElementVNode("img", {
|
|
46995
47245
|
src: getFallbackPreviewSrc(value),
|
|
46996
47246
|
alt: ""
|
|
46997
|
-
}, null, 8, _hoisted_7$
|
|
47247
|
+
}, null, 8, _hoisted_7$o)
|
|
46998
47248
|
]),
|
|
46999
47249
|
default: withCtx(() => [
|
|
47000
47250
|
createElementVNode("div", _hoisted_8$j, toDisplayString$1(label), 1)
|
|
@@ -47126,8 +47376,8 @@ const _hoisted_2$1E = { class: "common-regex-panel__title" };
|
|
|
47126
47376
|
const _hoisted_3$1h = { class: "common-regex-panel__empty" };
|
|
47127
47377
|
const _hoisted_4$Y = { class: "common-regex-panel__empty-tip" };
|
|
47128
47378
|
const _hoisted_5$J = { class: "common-regex-panel__header has-border" };
|
|
47129
|
-
const _hoisted_6$
|
|
47130
|
-
const _hoisted_7$
|
|
47379
|
+
const _hoisted_6$A = { class: "common-regex-panel__title" };
|
|
47380
|
+
const _hoisted_7$n = { class: "common-regex-panel__list" };
|
|
47131
47381
|
const _hoisted_8$i = { class: "common-regex-panel__item-main" };
|
|
47132
47382
|
const _hoisted_9$d = ["title"];
|
|
47133
47383
|
const _hoisted_10$b = ["title"];
|
|
@@ -47338,7 +47588,7 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
47338
47588
|
])
|
|
47339
47589
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
47340
47590
|
createElementVNode("div", _hoisted_5$J, [
|
|
47341
|
-
createElementVNode("span", _hoisted_6$
|
|
47591
|
+
createElementVNode("span", _hoisted_6$A, toDisplayString$1(_ctx.$t("sys.regexEditor.commonReg")), 1),
|
|
47342
47592
|
createElementVNode("button", {
|
|
47343
47593
|
class: "common-regex-panel__add",
|
|
47344
47594
|
type: "button",
|
|
@@ -47352,7 +47602,7 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
47352
47602
|
class: "common-regex-panel__scrollbar",
|
|
47353
47603
|
onScroll: closeConfirm
|
|
47354
47604
|
}, [
|
|
47355
|
-
createElementVNode("div", _hoisted_7$
|
|
47605
|
+
createElementVNode("div", _hoisted_7$n, [
|
|
47356
47606
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (item) => {
|
|
47357
47607
|
return openBlock(), createElementBlock("div", {
|
|
47358
47608
|
key: item.id,
|
|
@@ -47471,11 +47721,11 @@ const _hoisted_2$1D = { class: "regex-editor-modal__item" };
|
|
|
47471
47721
|
const _hoisted_3$1g = { class: "regex-editor-modal__label" };
|
|
47472
47722
|
const _hoisted_4$X = { class: "regex-editor-modal__regex-row" };
|
|
47473
47723
|
const _hoisted_5$I = { class: "regex-editor-modal__regex-main" };
|
|
47474
|
-
const _hoisted_6$
|
|
47724
|
+
const _hoisted_6$z = {
|
|
47475
47725
|
key: 0,
|
|
47476
47726
|
class: "error"
|
|
47477
47727
|
};
|
|
47478
|
-
const _hoisted_7$
|
|
47728
|
+
const _hoisted_7$m = {
|
|
47479
47729
|
key: 1,
|
|
47480
47730
|
class: "regex-editor-modal__tags"
|
|
47481
47731
|
};
|
|
@@ -47636,8 +47886,8 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
|
47636
47886
|
onBlur: _cache[2] || (_cache[2] = ($event) => validateField("regex"))
|
|
47637
47887
|
}, null, 8, ["value", "placeholder", "disabled"])
|
|
47638
47888
|
], 2),
|
|
47639
|
-
errors.regex ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
47640
|
-
commonList.value.length && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
47889
|
+
errors.regex ? (openBlock(), createElementBlock("div", _hoisted_6$z, toDisplayString$1(errors.regex), 1)) : createCommentVNode("", true),
|
|
47890
|
+
commonList.value.length && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_7$m, [
|
|
47641
47891
|
(openBlock(true), createElementBlock(Fragment, null, renderList(commonList.value, (item) => {
|
|
47642
47892
|
return openBlock(), createBlock(_component_a_tooltip, {
|
|
47643
47893
|
key: item.id,
|
|
@@ -49800,7 +50050,7 @@ const _sfc_main$3$ = /* @__PURE__ */ defineComponent({
|
|
|
49800
50050
|
"field-type": fixedFieldType.value,
|
|
49801
50051
|
disabled: __props.disabled
|
|
49802
50052
|
}, null, 8, ["widget", "field-type", "disabled"])) : createCommentVNode("", true),
|
|
49803
|
-
isTraceDate.value && !__props.readonly ? (openBlock(), createBlock(_sfc_main$
|
|
50053
|
+
isTraceDate.value && !__props.readonly ? (openBlock(), createBlock(_sfc_main$4W, {
|
|
49804
50054
|
key: 8,
|
|
49805
50055
|
widget: props2.widget,
|
|
49806
50056
|
"field-type": __props.fieldType,
|
|
@@ -50797,7 +51047,7 @@ const widgetPropsMap = toComponentMap(
|
|
|
50797
51047
|
/* @__PURE__ */ Object.assign({
|
|
50798
51048
|
"./agg/agg-props.vue": __vite_glob_0_0$3,
|
|
50799
51049
|
"./boolean/boolean-props.vue": __vite_glob_0_1$3,
|
|
50800
|
-
"./date-time/date-time-props.vue": _sfc_main$
|
|
51050
|
+
"./date-time/date-time-props.vue": _sfc_main$4V,
|
|
50801
51051
|
"./decimal/decimal-props.vue": __vite_glob_0_3$2,
|
|
50802
51052
|
"./double/double-props.vue": _sfc_main$4O,
|
|
50803
51053
|
"./enum/enum-props.vue": __vite_glob_0_5$2,
|
|
@@ -51642,7 +51892,21 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
|
51642
51892
|
}, null, 8, ["value", "options", "disabled", "placeholder"])
|
|
51643
51893
|
]),
|
|
51644
51894
|
_: 1
|
|
51645
|
-
}, 8, ["label", "rules"])
|
|
51895
|
+
}, 8, ["label", "rules"]),
|
|
51896
|
+
createVNode(FormItem, {
|
|
51897
|
+
inline: false,
|
|
51898
|
+
label: "值变化取数"
|
|
51899
|
+
}, {
|
|
51900
|
+
default: withCtx(() => [
|
|
51901
|
+
createVNode(unref(DataSourceChangeEvent), {
|
|
51902
|
+
modelValue: formState.value.valueChangeDataSourceKeys,
|
|
51903
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formState.value.valueChangeDataSourceKeys = $event),
|
|
51904
|
+
"data-sources": unref(formConfig2).dataSources,
|
|
51905
|
+
disabled: __props.disabled
|
|
51906
|
+
}, null, 8, ["modelValue", "data-sources", "disabled"])
|
|
51907
|
+
]),
|
|
51908
|
+
_: 1
|
|
51909
|
+
})
|
|
51646
51910
|
]),
|
|
51647
51911
|
_: 1
|
|
51648
51912
|
}, 8, ["model"])
|
|
@@ -51650,7 +51914,7 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
|
51650
51914
|
};
|
|
51651
51915
|
}
|
|
51652
51916
|
});
|
|
51653
|
-
const CellWidgetEvent = /* @__PURE__ */ _export_sfc(_sfc_main$3x, [["__scopeId", "data-v-
|
|
51917
|
+
const CellWidgetEvent = /* @__PURE__ */ _export_sfc(_sfc_main$3x, [["__scopeId", "data-v-21893926"]]);
|
|
51654
51918
|
function useFormulaEditor(props2) {
|
|
51655
51919
|
const { masterModel: masterModel2, modelMetaMap: modelMetaMap2, subTableFieldModel: subTableFieldModel2 } = useModelFields();
|
|
51656
51920
|
const buildChildrenFromModel = (model) => {
|
|
@@ -51769,9 +52033,19 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
51769
52033
|
desc: `工艺参数合格校验(参数字段KEY,参数字段)
|
|
51770
52034
|
根据表单填报的参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
51771
52035
|
示例
|
|
51772
|
-
工艺参数合格校验('gycs',工艺参数)
|
|
52036
|
+
工艺参数合格校验('gycs',工艺参数)==true`,
|
|
51773
52037
|
definition: "declare function RoutingParamCheck(key:string; value: number): Promise<boolean | null>;"
|
|
51774
52038
|
},
|
|
52039
|
+
{
|
|
52040
|
+
id: "DeviceParamCheck",
|
|
52041
|
+
returnType: "boolean",
|
|
52042
|
+
args: ["key", "value"],
|
|
52043
|
+
desc: `设备参数合格校验(参数字段KEY,参数字段)
|
|
52044
|
+
根据表单填报的参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
52045
|
+
示例
|
|
52046
|
+
设备参数合格校验('sbcs',设备参数)==true`,
|
|
52047
|
+
definition: "declare function DeviceParamCheck(key:string; value: number): Promise<boolean | null>;"
|
|
52048
|
+
},
|
|
51775
52049
|
{
|
|
51776
52050
|
id: "InspectionParamCheck",
|
|
51777
52051
|
returnType: "boolean",
|
|
@@ -51779,7 +52053,7 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
51779
52053
|
desc: `检验参数合格校验(参数字段KEY,参数字段)
|
|
51780
52054
|
根据表单填报的参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
51781
52055
|
示例
|
|
51782
|
-
检验参数合格校验('mjwd',灭菌温度)
|
|
52056
|
+
检验参数合格校验('mjwd',灭菌温度)==true`,
|
|
51783
52057
|
definition: "declare function InspectionParamCheck(key:string; value: number): Promise<boolean | null>;"
|
|
51784
52058
|
}
|
|
51785
52059
|
]
|
|
@@ -51980,7 +52254,7 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
51980
52254
|
};
|
|
51981
52255
|
}
|
|
51982
52256
|
});
|
|
51983
|
-
const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeId", "data-v-
|
|
52257
|
+
const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeId", "data-v-09db0786"]]);
|
|
51984
52258
|
const _hoisted_1$26 = { class: "text-[#C3C3C3] text-12px mb8px" };
|
|
51985
52259
|
const _hoisted_2$1w = { class: "ks-row" };
|
|
51986
52260
|
const _hoisted_3$1c = { class: "mr-auto" };
|
|
@@ -51989,8 +52263,8 @@ const _hoisted_5$H = {
|
|
|
51989
52263
|
key: 0,
|
|
51990
52264
|
class: "ml5px text-[#c3c3c3]"
|
|
51991
52265
|
};
|
|
51992
|
-
const _hoisted_6$
|
|
51993
|
-
const _hoisted_7$
|
|
52266
|
+
const _hoisted_6$y = ["onClick"];
|
|
52267
|
+
const _hoisted_7$l = { class: "text-[#797A7D] bg-[#fff] p-4px mt-2px ell h26px" };
|
|
51994
52268
|
const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
51995
52269
|
__name: "cell-widget-dependency",
|
|
51996
52270
|
props: {
|
|
@@ -52151,7 +52425,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
52151
52425
|
createElementVNode("i", {
|
|
52152
52426
|
class: "iconfont icon-bianji cursor-pointer ml8px primary-gct-hover text-[#797A7D] allow-readonly-view",
|
|
52153
52427
|
onClick: ($event) => editList(item, index2)
|
|
52154
|
-
}, null, 8, _hoisted_6$
|
|
52428
|
+
}, null, 8, _hoisted_6$y)
|
|
52155
52429
|
]),
|
|
52156
52430
|
_: 2
|
|
52157
52431
|
}, 1024),
|
|
@@ -52175,7 +52449,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
52175
52449
|
_: 1
|
|
52176
52450
|
}, 8, ["title", "onConfirm"])) : createCommentVNode("", true)
|
|
52177
52451
|
]),
|
|
52178
|
-
createElementVNode("div", _hoisted_7$
|
|
52452
|
+
createElementVNode("div", _hoisted_7$l, toDisplayString$1(configDependency.value[item]?.expressionStr || configDependency.value[item]?.expression), 1)
|
|
52179
52453
|
]);
|
|
52180
52454
|
}), 128))
|
|
52181
52455
|
])
|
|
@@ -52736,7 +53010,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
52736
53010
|
}
|
|
52737
53011
|
});
|
|
52738
53012
|
function asyncImportWidgetProp() {
|
|
52739
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
53013
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-CRxh3tC2.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CO586oV2.js"), "./widget-image.vue": () => import("./widget-image-CE6kVnu5.js"), "./widget-line.vue": () => import("./widget-line-Br4oIssb.js"), "./widget-pagination.vue": () => import("./widget-pagination-BHwjrBV5.js"), "./widget-power.vue": () => import("./widget-power-BySYsE15.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-D6b0T_Qa.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DTH7nrqC.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-DVtxhNC3.js"), "./widget-text.vue": () => import("./widget-text-gBGybAXk.js"), "./widget-timediff.vue": () => import("./widget-timediff-aY-maVkE.js") });
|
|
52740
53014
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
52741
53015
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
52742
53016
|
if (mKey) {
|
|
@@ -53702,7 +53976,7 @@ const _hoisted_2$1o = ["onClick"];
|
|
|
53702
53976
|
const _hoisted_3$18 = { class: "dynamic-table__body" };
|
|
53703
53977
|
const _hoisted_4$T = ["onClick"];
|
|
53704
53978
|
const _hoisted_5$G = ["onClick"];
|
|
53705
|
-
const _hoisted_6$
|
|
53979
|
+
const _hoisted_6$x = {
|
|
53706
53980
|
key: 0,
|
|
53707
53981
|
class: "flex justify-center color-[#bebdc7]"
|
|
53708
53982
|
};
|
|
@@ -53762,7 +54036,7 @@ const _sfc_main$3f = /* @__PURE__ */ defineComponent({
|
|
|
53762
54036
|
])
|
|
53763
54037
|
]);
|
|
53764
54038
|
}), 128)),
|
|
53765
|
-
!__props.tables.length ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
54039
|
+
!__props.tables.length ? (openBlock(), createElementBlock("div", _hoisted_6$x, toDisplayString$1(_ctx.$t("sys.onlineForm.notSetYet")) + toDisplayString$1(_ctx.$t("sys.onlineForm.subTableType." + __props.type)), 1)) : createCommentVNode("", true)
|
|
53766
54040
|
]),
|
|
53767
54041
|
_: 1
|
|
53768
54042
|
}, 8, ["label"])) : createCommentVNode("", true);
|
|
@@ -53867,8 +54141,8 @@ const _hoisted_2$1n = { class: "rules-item rules-item-title" };
|
|
|
53867
54141
|
const _hoisted_3$17 = { class: "title left" };
|
|
53868
54142
|
const _hoisted_4$S = { class: "title right" };
|
|
53869
54143
|
const _hoisted_5$F = { class: "rules-item-value" };
|
|
53870
|
-
const _hoisted_6$
|
|
53871
|
-
const _hoisted_7$
|
|
54144
|
+
const _hoisted_6$w = { class: "rules-item-middle" };
|
|
54145
|
+
const _hoisted_7$k = { class: "rules-item-value" };
|
|
53872
54146
|
const _hoisted_8$g = {
|
|
53873
54147
|
key: 0,
|
|
53874
54148
|
class: "rules-item-ope"
|
|
@@ -54035,8 +54309,8 @@ const _sfc_main$3d = /* @__PURE__ */ defineComponent({
|
|
|
54035
54309
|
_: 2
|
|
54036
54310
|
}, 1032, ["name", "rules"])
|
|
54037
54311
|
]),
|
|
54038
|
-
createElementVNode("div", _hoisted_6$
|
|
54039
|
-
createElementVNode("div", _hoisted_7$
|
|
54312
|
+
createElementVNode("div", _hoisted_6$w, toDisplayString$1(_ctx.$t("sys.edhr.mutualExclusion")), 1),
|
|
54313
|
+
createElementVNode("div", _hoisted_7$k, [
|
|
54040
54314
|
createVNode(_component_a_form_item, {
|
|
54041
54315
|
name: ["configList", i, "checkIds"],
|
|
54042
54316
|
rules: __props.readonly ? [] : [{ required: true, message: _ctx.$t("sys.chooseText") }]
|
|
@@ -54104,8 +54378,8 @@ const _hoisted_2$1m = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
|
54104
54378
|
const _hoisted_3$16 = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
54105
54379
|
const _hoisted_4$R = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
54106
54380
|
const _hoisted_5$E = { class: "flex justify-end" };
|
|
54107
|
-
const _hoisted_6$
|
|
54108
|
-
const _hoisted_7$
|
|
54381
|
+
const _hoisted_6$v = { class: "flex justify-end" };
|
|
54382
|
+
const _hoisted_7$j = {
|
|
54109
54383
|
key: 0,
|
|
54110
54384
|
class: "dynamic-table"
|
|
54111
54385
|
};
|
|
@@ -54411,7 +54685,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
54411
54685
|
class: "justify-between"
|
|
54412
54686
|
}, {
|
|
54413
54687
|
default: withCtx(() => [
|
|
54414
|
-
createElementVNode("div", _hoisted_6$
|
|
54688
|
+
createElementVNode("div", _hoisted_6$v, [
|
|
54415
54689
|
createVNode(_component_a_switch, {
|
|
54416
54690
|
size: "small",
|
|
54417
54691
|
disabled: unref(sheetReadonly2),
|
|
@@ -54427,7 +54701,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
54427
54701
|
inline: false
|
|
54428
54702
|
}, {
|
|
54429
54703
|
default: withCtx(() => [
|
|
54430
|
-
unref(paper2).thead?.thName ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
54704
|
+
unref(paper2).thead?.thName ? (openBlock(), createElementBlock("div", _hoisted_7$j, [
|
|
54431
54705
|
createElementVNode("div", _hoisted_8$f, [
|
|
54432
54706
|
createElementVNode("span", null, toDisplayString$1(unref(paper2).thead?.thName), 1),
|
|
54433
54707
|
!unref(sheetReadonly2) ? (openBlock(), createElementBlock("i", {
|
|
@@ -54611,8 +54885,8 @@ const _hoisted_2$1k = { class: "text-12px font-500 flex-none" };
|
|
|
54611
54885
|
const _hoisted_3$14 = ["id"];
|
|
54612
54886
|
const _hoisted_4$P = { key: 0 };
|
|
54613
54887
|
const _hoisted_5$D = ["onMouseenter"];
|
|
54614
|
-
const _hoisted_6$
|
|
54615
|
-
const _hoisted_7$
|
|
54888
|
+
const _hoisted_6$u = ["onClick"];
|
|
54889
|
+
const _hoisted_7$i = ["onClick"];
|
|
54616
54890
|
const _sfc_main$3a = /* @__PURE__ */ defineComponent({
|
|
54617
54891
|
__name: "panel-paper-widget-group",
|
|
54618
54892
|
setup(__props) {
|
|
@@ -54714,12 +54988,12 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
|
|
|
54714
54988
|
class: normalizeClass(["iconfont", widget2.icon])
|
|
54715
54989
|
}, null, 2),
|
|
54716
54990
|
createElementVNode("span", null, toDisplayString$1(widget2.name), 1)
|
|
54717
|
-
], 8, _hoisted_6$
|
|
54991
|
+
], 8, _hoisted_6$u),
|
|
54718
54992
|
!unref(sheetReadonly2) ? (openBlock(), createElementBlock("i", {
|
|
54719
54993
|
key: 0,
|
|
54720
54994
|
class: "iconfont icon-shanchu2",
|
|
54721
54995
|
onClick: withModifiers(($event) => handleRemovePaperWidget(widget2.id), ["stop"])
|
|
54722
|
-
}, null, 8, _hoisted_7$
|
|
54996
|
+
}, null, 8, _hoisted_7$i)) : createCommentVNode("", true)
|
|
54723
54997
|
], 42, _hoisted_5$D);
|
|
54724
54998
|
}), 128))
|
|
54725
54999
|
])
|
|
@@ -54776,8 +55050,8 @@ const _hoisted_2$1i = { class: "readonly-text" };
|
|
|
54776
55050
|
const _hoisted_3$13 = { class: "readonly-text" };
|
|
54777
55051
|
const _hoisted_4$O = { class: "readonly-text" };
|
|
54778
55052
|
const _hoisted_5$C = { class: "readonly-text" };
|
|
54779
|
-
const _hoisted_6$
|
|
54780
|
-
const _hoisted_7$
|
|
55053
|
+
const _hoisted_6$t = { class: "readonly-text" };
|
|
55054
|
+
const _hoisted_7$h = { class: "mt-12px text-12px color-[#252525]" };
|
|
54781
55055
|
const _hoisted_8$e = { class: "color-[#3168EC]" };
|
|
54782
55056
|
const _hoisted_9$9 = { class: "config-tip" };
|
|
54783
55057
|
const _hoisted_10$8 = { class: "config-extra" };
|
|
@@ -54981,7 +55255,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
54981
55255
|
label: _ctx.$t("sys.onlineForm.numberOfColumns")
|
|
54982
55256
|
}, {
|
|
54983
55257
|
default: withCtx(() => [
|
|
54984
|
-
createElementVNode("span", _hoisted_6$
|
|
55258
|
+
createElementVNode("span", _hoisted_6$t, toDisplayString$1(colCount.value), 1)
|
|
54985
55259
|
]),
|
|
54986
55260
|
_: 1
|
|
54987
55261
|
}, 8, ["label"])
|
|
@@ -54991,7 +55265,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
54991
55265
|
]),
|
|
54992
55266
|
_: 1
|
|
54993
55267
|
}),
|
|
54994
|
-
createElementVNode("div", _hoisted_7$
|
|
55268
|
+
createElementVNode("div", _hoisted_7$h, [
|
|
54995
55269
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.onlineForm.currentlyFixed")) + " ", 1),
|
|
54996
55270
|
createElementVNode("span", _hoisted_8$e, toDisplayString$1(validCellCount.value), 1),
|
|
54997
55271
|
createTextVNode(" " + toDisplayString$1(_ctx.$t("sys.onlineForm.cells")), 1)
|
|
@@ -56422,7 +56696,7 @@ const _hoisted_2$1c = { class: "readonly-text" };
|
|
|
56422
56696
|
const _hoisted_3$_ = { class: "readonly-text" };
|
|
56423
56697
|
const _hoisted_4$K = { class: "flex justify-end" };
|
|
56424
56698
|
const _hoisted_5$z = { class: "readonly-text" };
|
|
56425
|
-
const _hoisted_6$
|
|
56699
|
+
const _hoisted_6$s = { class: "readonly-text" };
|
|
56426
56700
|
const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
56427
56701
|
__name: "panel-data-group",
|
|
56428
56702
|
setup(__props) {
|
|
@@ -56565,7 +56839,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
56565
56839
|
label: _ctx.$t("sys.onlineForm.numberOfColumns")
|
|
56566
56840
|
}, {
|
|
56567
56841
|
default: withCtx(() => [
|
|
56568
|
-
createElementVNode("span", _hoisted_6$
|
|
56842
|
+
createElementVNode("span", _hoisted_6$s, toDisplayString$1(colCount.value), 1)
|
|
56569
56843
|
]),
|
|
56570
56844
|
_: 1
|
|
56571
56845
|
}, 8, ["label"])
|
|
@@ -56612,7 +56886,7 @@ const _hoisted_2$1b = { class: "readonly-text" };
|
|
|
56612
56886
|
const _hoisted_3$Z = { class: "readonly-text" };
|
|
56613
56887
|
const _hoisted_4$J = { class: "flex justify-end" };
|
|
56614
56888
|
const _hoisted_5$y = { class: "readonly-text" };
|
|
56615
|
-
const _hoisted_6$
|
|
56889
|
+
const _hoisted_6$r = { class: "readonly-text" };
|
|
56616
56890
|
const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
56617
56891
|
__name: "panel-data-group-2d",
|
|
56618
56892
|
setup(__props) {
|
|
@@ -56817,7 +57091,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
56817
57091
|
label: _ctx.$t("sys.onlineForm.numberOfColumns")
|
|
56818
57092
|
}, {
|
|
56819
57093
|
default: withCtx(() => [
|
|
56820
|
-
createElementVNode("span", _hoisted_6$
|
|
57094
|
+
createElementVNode("span", _hoisted_6$r, toDisplayString$1(colCount.value), 1)
|
|
56821
57095
|
]),
|
|
56822
57096
|
_: 1
|
|
56823
57097
|
}, 8, ["label"])
|
|
@@ -56995,8 +57269,8 @@ const _hoisted_2$19 = { class: "option-item-title" };
|
|
|
56995
57269
|
const _hoisted_3$X = { class: "actions" };
|
|
56996
57270
|
const _hoisted_4$I = ["onClick"];
|
|
56997
57271
|
const _hoisted_5$x = ["onClick"];
|
|
56998
|
-
const _hoisted_6$
|
|
56999
|
-
const _hoisted_7$
|
|
57272
|
+
const _hoisted_6$q = { class: "ks-row-middle fieldrow mb5px" };
|
|
57273
|
+
const _hoisted_7$g = { class: "ks-col ks-row" };
|
|
57000
57274
|
const _hoisted_8$d = { class: "min-w-86px flex-grow-1" };
|
|
57001
57275
|
const _hoisted_9$8 = { class: "min-w-86px flex-grow-1" };
|
|
57002
57276
|
const _hoisted_10$7 = ["onClick"];
|
|
@@ -57120,9 +57394,9 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
57120
57394
|
class: "field-list"
|
|
57121
57395
|
}, {
|
|
57122
57396
|
item: withCtx(({ element: option2 }) => [
|
|
57123
|
-
createElementVNode("div", _hoisted_6$
|
|
57397
|
+
createElementVNode("div", _hoisted_6$q, [
|
|
57124
57398
|
_cache[3] || (_cache[3] = createElementVNode("i", { class: "icon-drag iconfont mr4px cursor-move text-[#C3C3C3] primary-gct-hover" }, null, -1)),
|
|
57125
|
-
createElementVNode("div", _hoisted_7$
|
|
57399
|
+
createElementVNode("div", _hoisted_7$g, [
|
|
57126
57400
|
createElementVNode("div", _hoisted_8$d, [
|
|
57127
57401
|
createVNode(_component_a_input, {
|
|
57128
57402
|
value: option2.text,
|
|
@@ -57184,7 +57458,7 @@ const _hoisted_2$18 = { class: "tmpl-card__header" };
|
|
|
57184
57458
|
const _hoisted_3$W = { class: "flex items-center" };
|
|
57185
57459
|
const _hoisted_4$H = ["src"];
|
|
57186
57460
|
const _hoisted_5$w = { class: "tmpl-card__title" };
|
|
57187
|
-
const _hoisted_6$
|
|
57461
|
+
const _hoisted_6$p = { class: "tmpl-card__body" };
|
|
57188
57462
|
const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
57189
57463
|
__name: "tmpl-card",
|
|
57190
57464
|
props: {
|
|
@@ -57232,7 +57506,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
57232
57506
|
onClick: _cache[0] || (_cache[0] = ($event) => emit2("remove"))
|
|
57233
57507
|
})
|
|
57234
57508
|
]),
|
|
57235
|
-
createElementVNode("div", _hoisted_6$
|
|
57509
|
+
createElementVNode("div", _hoisted_6$p, [
|
|
57236
57510
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
57237
57511
|
])
|
|
57238
57512
|
]);
|
|
@@ -57478,8 +57752,8 @@ const _hoisted_2$16 = { class: "flex justify-between items-center" };
|
|
|
57478
57752
|
const _hoisted_3$U = ["title"];
|
|
57479
57753
|
const _hoisted_4$G = { class: "w-50% pl-11px flex items-center justify-end" };
|
|
57480
57754
|
const _hoisted_5$v = ["title"];
|
|
57481
|
-
const _hoisted_6$
|
|
57482
|
-
const _hoisted_7$
|
|
57755
|
+
const _hoisted_6$o = { class: "flex items-center" };
|
|
57756
|
+
const _hoisted_7$f = { class: "flex-grow-1 w-1px" };
|
|
57483
57757
|
const _hoisted_8$c = {
|
|
57484
57758
|
key: 0,
|
|
57485
57759
|
class: "params-item-card__children"
|
|
@@ -57531,8 +57805,8 @@ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
|
57531
57805
|
])]),
|
|
57532
57806
|
_: 1
|
|
57533
57807
|
}),
|
|
57534
|
-
createElementVNode("div", _hoisted_6$
|
|
57535
|
-
createElementVNode("div", _hoisted_7$
|
|
57808
|
+
createElementVNode("div", _hoisted_6$o, [
|
|
57809
|
+
createElementVNode("div", _hoisted_7$f, [
|
|
57536
57810
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
57537
57811
|
]),
|
|
57538
57812
|
props2.enableCollapse ? (openBlock(), createElementBlock("div", {
|
|
@@ -57920,8 +58194,8 @@ const _hoisted_2$12 = { class: "ai-tmpl-editor__section-content--basic" };
|
|
|
57920
58194
|
const _hoisted_3$R = { class: "ai-tmpl-editor__field-list" };
|
|
57921
58195
|
const _hoisted_4$F = { class: "ai-tmpl-editor__section" };
|
|
57922
58196
|
const _hoisted_5$u = { class: "ai-tmpl-editor__section-content--model" };
|
|
57923
|
-
const _hoisted_6$
|
|
57924
|
-
const _hoisted_7$
|
|
58197
|
+
const _hoisted_6$n = { class: "ai-tmpl-editor__field-list" };
|
|
58198
|
+
const _hoisted_7$e = {
|
|
57925
58199
|
key: 0,
|
|
57926
58200
|
class: "ai-tmpl-editor__advanced-card"
|
|
57927
58201
|
};
|
|
@@ -58175,7 +58449,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
58175
58449
|
_cache[20] || (_cache[20] = createElementVNode("span", null, "模型配置", -1))
|
|
58176
58450
|
]),
|
|
58177
58451
|
withDirectives(createElementVNode("div", _hoisted_5$u, [
|
|
58178
|
-
createElementVNode("div", _hoisted_6$
|
|
58452
|
+
createElementVNode("div", _hoisted_6$n, [
|
|
58179
58453
|
createVNode(FormItem, {
|
|
58180
58454
|
isFirst: "",
|
|
58181
58455
|
class: "ai-tmpl-editor__form-row",
|
|
@@ -58208,7 +58482,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
58208
58482
|
_: 1
|
|
58209
58483
|
})
|
|
58210
58484
|
]),
|
|
58211
|
-
formState.enableAdvancedConfig ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
58485
|
+
formState.enableAdvancedConfig ? (openBlock(), createElementBlock("div", _hoisted_7$e, [
|
|
58212
58486
|
createElementVNode("div", _hoisted_8$b, [
|
|
58213
58487
|
createElementVNode("span", null, [
|
|
58214
58488
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.onlineForm.denoise")) + " ", 1),
|
|
@@ -61522,8 +61796,8 @@ const _hoisted_4$B = {
|
|
|
61522
61796
|
class: "flex justify-center items-center flex-none"
|
|
61523
61797
|
};
|
|
61524
61798
|
const _hoisted_5$t = ["onClick"];
|
|
61525
|
-
const _hoisted_6$
|
|
61526
|
-
const _hoisted_7$
|
|
61799
|
+
const _hoisted_6$m = { key: 1 };
|
|
61800
|
+
const _hoisted_7$d = { class: "w50px ml10px" };
|
|
61527
61801
|
const _hoisted_8$a = { class: "mr3px" };
|
|
61528
61802
|
const _hoisted_9$6 = { class: "flex-1 ml-10px" };
|
|
61529
61803
|
const _hoisted_10$5 = { class: "w-80px ml-10px flex flex-none" };
|
|
@@ -61686,7 +61960,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
61686
61960
|
"onUpdate:value": ($event) => item.key = $event,
|
|
61687
61961
|
placeholder: _ctx.$t("sys.keyOfSth", { sth: _ctx.$t("sys.field") }),
|
|
61688
61962
|
disabled: __props.parent.keyType === unref(ParameterTypeEnum).Array || __props.level === 0 || __props.disabled
|
|
61689
|
-
}, null, 8, ["value", "onUpdate:value", "placeholder", "disabled"])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
61963
|
+
}, null, 8, ["value", "onUpdate:value", "placeholder", "disabled"])) : (openBlock(), createElementBlock("div", _hoisted_6$m, [..._cache[0] || (_cache[0] = [
|
|
61690
61964
|
createElementVNode("span", { class: "text-16px" }, "Body", -1)
|
|
61691
61965
|
])]))
|
|
61692
61966
|
], 6),
|
|
@@ -61741,7 +62015,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
61741
62015
|
}, 8, ["value", "onUpdate:value", "placeholder", "onChange", "disabled"]), [
|
|
61742
62016
|
[vShow, item.valueType === unref(ValueTypeEnum).INPUT || __props.isChild]
|
|
61743
62017
|
]),
|
|
61744
|
-
withDirectives(createElementVNode("div", _hoisted_7$
|
|
62018
|
+
withDirectives(createElementVNode("div", _hoisted_7$d, [
|
|
61745
62019
|
createElementVNode("span", _hoisted_8$a, toDisplayString$1(_ctx.$t("sys.model.required")), 1),
|
|
61746
62020
|
createVNode(_component_a_checkbox, {
|
|
61747
62021
|
checked: item.required,
|
|
@@ -61988,7 +62262,7 @@ const _hoisted_2$X = { class: "model-link-container" };
|
|
|
61988
62262
|
const _hoisted_3$L = { class: "model-link-content" };
|
|
61989
62263
|
const _hoisted_4$A = { class: "model-link-item" };
|
|
61990
62264
|
const _hoisted_5$s = { class: "blank first" };
|
|
61991
|
-
const _hoisted_6$
|
|
62265
|
+
const _hoisted_6$l = { class: "model-link-item" };
|
|
61992
62266
|
const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
61993
62267
|
__name: "data-source-model-link",
|
|
61994
62268
|
props: {
|
|
@@ -62165,7 +62439,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
62165
62439
|
onSelect: onClearAll
|
|
62166
62440
|
}, null, 8, ["value"]),
|
|
62167
62441
|
_cache[9] || (_cache[9] = createElementVNode("div", { class: "split" }, null, -1)),
|
|
62168
|
-
joinModelType.value === unref(JoinModelTypeEum).FormModel ? (openBlock(), createBlock(unref(_sfc_main$
|
|
62442
|
+
joinModelType.value === unref(JoinModelTypeEum).FormModel ? (openBlock(), createBlock(unref(_sfc_main$6t), {
|
|
62169
62443
|
key: 0,
|
|
62170
62444
|
class: "custom-select",
|
|
62171
62445
|
placeholder: _ctx.$t("sys.cardDesign.form.modelRequired"),
|
|
@@ -62307,7 +62581,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
62307
62581
|
return openBlock(), createElementBlock(Fragment, {
|
|
62308
62582
|
key: item.id
|
|
62309
62583
|
}, [
|
|
62310
|
-
createElementVNode("div", _hoisted_6$
|
|
62584
|
+
createElementVNode("div", _hoisted_6$l, [
|
|
62311
62585
|
createVNode(_sfc_main$2D, {
|
|
62312
62586
|
class: "custom-select",
|
|
62313
62587
|
actionType: "radio",
|
|
@@ -62565,7 +62839,7 @@ const _hoisted_2$V = { class: "field-map-container" };
|
|
|
62565
62839
|
const _hoisted_3$J = { class: "field-map-content" };
|
|
62566
62840
|
const _hoisted_4$y = { class: "field-map-item" };
|
|
62567
62841
|
const _hoisted_5$r = { class: "blank last" };
|
|
62568
|
-
const _hoisted_6$
|
|
62842
|
+
const _hoisted_6$k = ["onClick"];
|
|
62569
62843
|
const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
62570
62844
|
__name: "data-source-field-map",
|
|
62571
62845
|
props: {
|
|
@@ -62779,7 +63053,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
62779
63053
|
createElementVNode("i", {
|
|
62780
63054
|
class: "iconfont icon-shanchu primary-gct-hover",
|
|
62781
63055
|
onClick: ($event) => removeFieldItem(field)
|
|
62782
|
-
}, null, 8, _hoisted_6$
|
|
63056
|
+
}, null, 8, _hoisted_6$k)
|
|
62783
63057
|
])
|
|
62784
63058
|
]);
|
|
62785
63059
|
}), 128))
|
|
@@ -62801,8 +63075,8 @@ const _hoisted_2$U = { class: "object-init-list__meta header" };
|
|
|
62801
63075
|
const _hoisted_3$I = { class: "object-init-list__label" };
|
|
62802
63076
|
const _hoisted_4$x = ["title"];
|
|
62803
63077
|
const _hoisted_5$q = ["onClick"];
|
|
62804
|
-
const _hoisted_6$
|
|
62805
|
-
const _hoisted_7$
|
|
63078
|
+
const _hoisted_6$j = { class: "object-init-list__meta" };
|
|
63079
|
+
const _hoisted_7$c = { class: "object-init-list__label" };
|
|
62806
63080
|
const _hoisted_8$9 = { class: "object-init-list__value" };
|
|
62807
63081
|
const _hoisted_9$5 = { class: "object-init-list__actions" };
|
|
62808
63082
|
const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
@@ -62840,8 +63114,8 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
62840
63114
|
onClick: ($event) => emit2("remove", item.objectField)
|
|
62841
63115
|
}, null, 8, _hoisted_5$q)
|
|
62842
63116
|
]),
|
|
62843
|
-
createElementVNode("div", _hoisted_6$
|
|
62844
|
-
createElementVNode("span", _hoisted_7$
|
|
63117
|
+
createElementVNode("div", _hoisted_6$j, [
|
|
63118
|
+
createElementVNode("span", _hoisted_7$c, toDisplayString$1(_ctx.$t("sys.onlineForm.fieldType")) + ":", 1),
|
|
62845
63119
|
createElementVNode("span", _hoisted_8$9, toDisplayString$1(__props.getObjectFieldTypeName(item.objectFieldMeta)), 1)
|
|
62846
63120
|
]),
|
|
62847
63121
|
createElementVNode("div", _hoisted_9$5, [
|
|
@@ -63520,11 +63794,18 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
63520
63794
|
renderScript: {},
|
|
63521
63795
|
digits: {},
|
|
63522
63796
|
enableStepCounter: { type: Boolean },
|
|
63523
|
-
rules: {}
|
|
63797
|
+
rules: {},
|
|
63798
|
+
numberLimits: {}
|
|
63524
63799
|
},
|
|
63525
63800
|
emits: ["update:doubleValue", "change", "blur"],
|
|
63526
63801
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
63527
63802
|
const props2 = __props;
|
|
63803
|
+
const effectiveNumberLimits = computed(() => ({
|
|
63804
|
+
...props2.numberLimits,
|
|
63805
|
+
maxDigits: props2.numberLimits?.maxDigits ?? 15,
|
|
63806
|
+
precision: props2.digits ?? props2.numberLimits?.precision,
|
|
63807
|
+
roundingMode: props2.rules ?? props2.numberLimits?.roundingMode ?? 1
|
|
63808
|
+
}));
|
|
63528
63809
|
const emit2 = __emit;
|
|
63529
63810
|
const inputAttr2 = ref({});
|
|
63530
63811
|
const inputNumberRef = ref();
|
|
@@ -63609,7 +63890,16 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
63609
63890
|
}
|
|
63610
63891
|
};
|
|
63611
63892
|
const commitValue = (raw, emitChange) => {
|
|
63893
|
+
const limits = effectiveNumberLimits.value;
|
|
63894
|
+
if (!isNumberCommitAllowed(raw, limits)) {
|
|
63895
|
+
inputNumberRef.value?.reset();
|
|
63896
|
+
return props2.doubleValue;
|
|
63897
|
+
}
|
|
63612
63898
|
const { val, precision } = getFormatterValue(raw);
|
|
63899
|
+
if (!isNumberCommitAllowed(val, limits)) {
|
|
63900
|
+
inputNumberRef.value?.reset();
|
|
63901
|
+
return props2.doubleValue;
|
|
63902
|
+
}
|
|
63613
63903
|
setInputAttr(precision);
|
|
63614
63904
|
emit2("update:doubleValue", val);
|
|
63615
63905
|
{
|
|
@@ -63642,12 +63932,12 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
63642
63932
|
onInputChange
|
|
63643
63933
|
});
|
|
63644
63934
|
return (_ctx, _cache) => {
|
|
63645
|
-
|
|
63646
|
-
return openBlock(), createBlock(_component_a_input_number, mergeProps({
|
|
63935
|
+
return openBlock(), createBlock(_sfc_main$4S, mergeProps({
|
|
63647
63936
|
ref_key: "inputNumberRef",
|
|
63648
63937
|
ref: inputNumberRef
|
|
63649
63938
|
}, inputAttr2.value, {
|
|
63650
63939
|
value: inputValue.value,
|
|
63940
|
+
limits: effectiveNumberLimits.value,
|
|
63651
63941
|
onChange: onInputChange,
|
|
63652
63942
|
onBlur,
|
|
63653
63943
|
onPressEnter
|
|
@@ -63667,7 +63957,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
63667
63957
|
]),
|
|
63668
63958
|
key: "1"
|
|
63669
63959
|
} : void 0
|
|
63670
|
-
]), 1040, ["value"]);
|
|
63960
|
+
]), 1040, ["value", "limits"]);
|
|
63671
63961
|
};
|
|
63672
63962
|
}
|
|
63673
63963
|
});
|
|
@@ -63684,7 +63974,8 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
63684
63974
|
precision: {},
|
|
63685
63975
|
renderScript: {},
|
|
63686
63976
|
enableStepCounter: { type: Boolean },
|
|
63687
|
-
stepCounter: {}
|
|
63977
|
+
stepCounter: {},
|
|
63978
|
+
numberLimits: {}
|
|
63688
63979
|
},
|
|
63689
63980
|
emits: ["update:modelValue", "change", "blur", "focus", "pressEnter"],
|
|
63690
63981
|
setup(__props, { emit: __emit }) {
|
|
@@ -63705,8 +63996,11 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
63705
63996
|
const onFocus = (e) => emit2("focus", e);
|
|
63706
63997
|
const onPressEnter = (e) => emit2("pressEnter", e);
|
|
63707
63998
|
const onInternalStep = (up) => {
|
|
63708
|
-
|
|
63709
|
-
const
|
|
63999
|
+
if (props2.disabled) return;
|
|
64000
|
+
const current = new BigNumber(props2.modelValue || 0);
|
|
64001
|
+
const step = new BigNumber(props2.stepCounter ?? 1);
|
|
64002
|
+
if (!current.isFinite() || !step.isFinite()) return;
|
|
64003
|
+
const next = (up ? current.plus(step) : current.minus(step)).toFixed();
|
|
63710
64004
|
inputRef.value?.onChangeValue?.({ target: { value: next } });
|
|
63711
64005
|
};
|
|
63712
64006
|
return (_ctx, _cache) => {
|
|
@@ -63726,6 +64020,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
63726
64020
|
renderScript: __props.renderScript,
|
|
63727
64021
|
enableStepCounter: __props.enableStepCounter,
|
|
63728
64022
|
onEnter: onPressEnter,
|
|
64023
|
+
"number-limits": __props.numberLimits,
|
|
63729
64024
|
onChange,
|
|
63730
64025
|
onBlur,
|
|
63731
64026
|
onFocus
|
|
@@ -63754,11 +64049,11 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
63754
64049
|
]),
|
|
63755
64050
|
key: "1"
|
|
63756
64051
|
} : void 0
|
|
63757
|
-
]), 1032, ["class", "double-value", "digits", "rules", "disabled", "placeholder", "precision", "renderScript", "enableStepCounter"]);
|
|
64052
|
+
]), 1032, ["class", "double-value", "digits", "rules", "disabled", "placeholder", "precision", "renderScript", "enableStepCounter", "number-limits"]);
|
|
63758
64053
|
};
|
|
63759
64054
|
}
|
|
63760
64055
|
});
|
|
63761
|
-
const CellNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__scopeId", "data-v-
|
|
64056
|
+
const CellNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__scopeId", "data-v-7f457adc"]]);
|
|
63762
64057
|
const DEFAULT_LIST_HEIGHT = 256;
|
|
63763
64058
|
const MIN_LIST_HEIGHT = 32;
|
|
63764
64059
|
const DROPDOWN_CHROME_HEIGHT = 90;
|
|
@@ -63948,8 +64243,8 @@ const _hoisted_2$R = ["title"];
|
|
|
63948
64243
|
const _hoisted_3$G = { class: "cell-textarea-modal-header" };
|
|
63949
64244
|
const _hoisted_4$v = { class: "cell-textarea-modal-title" };
|
|
63950
64245
|
const _hoisted_5$o = { class: "cell-textarea-modal-body" };
|
|
63951
|
-
const _hoisted_6$
|
|
63952
|
-
const _hoisted_7$
|
|
64246
|
+
const _hoisted_6$i = ["placeholder", "maxlength"];
|
|
64247
|
+
const _hoisted_7$b = { class: "cell-textarea-modal-footer" };
|
|
63953
64248
|
const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
63954
64249
|
__name: "cell-textarea",
|
|
63955
64250
|
props: {
|
|
@@ -64061,11 +64356,11 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
64061
64356
|
maxlength: unref(maxlength),
|
|
64062
64357
|
rows: "8",
|
|
64063
64358
|
class: "cell-textarea-modal-input"
|
|
64064
|
-
}, null, 8, _hoisted_6$
|
|
64359
|
+
}, null, 8, _hoisted_6$i), [
|
|
64065
64360
|
[vModelText, modalValue.value]
|
|
64066
64361
|
])
|
|
64067
64362
|
]),
|
|
64068
|
-
createElementVNode("div", _hoisted_7$
|
|
64363
|
+
createElementVNode("div", _hoisted_7$b, [
|
|
64069
64364
|
createElementVNode("button", {
|
|
64070
64365
|
class: "cell-textarea-modal-btn cell-textarea-modal-btn-cancel",
|
|
64071
64366
|
onClick: onModalCancel
|
|
@@ -67226,6 +67521,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
67226
67521
|
createVNode(unref(CellNumberInput), {
|
|
67227
67522
|
modelValue: unref(value),
|
|
67228
67523
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(value) ? value.value = $event : null),
|
|
67524
|
+
"number-limits": unref(getNumberFieldLimits)(__props.widget.props),
|
|
67229
67525
|
placeholder: unref(placeholder),
|
|
67230
67526
|
disabled: unref(showDisabled),
|
|
67231
67527
|
required: unref(showRequired),
|
|
@@ -67235,7 +67531,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
67235
67531
|
onBlur: unref(onBlur),
|
|
67236
67532
|
onFocus: _ctx.$attrs.onFocus,
|
|
67237
67533
|
onPressEnter: unref(onPressEnter)
|
|
67238
|
-
}, null, 8, ["modelValue", "placeholder", "disabled", "required", "fieldId", "renderScript", "onChange", "onBlur", "onFocus", "onPressEnter"])
|
|
67534
|
+
}, null, 8, ["modelValue", "number-limits", "placeholder", "disabled", "required", "fieldId", "renderScript", "onChange", "onBlur", "onFocus", "onPressEnter"])
|
|
67239
67535
|
]),
|
|
67240
67536
|
_: 1
|
|
67241
67537
|
}, 8, ["modelValue", "widget", "formData", "renderScript", "annotationInfo"]);
|
|
@@ -67373,6 +67669,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
67373
67669
|
key: 1,
|
|
67374
67670
|
modelValue: unref(value),
|
|
67375
67671
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(value) ? value.value = $event : null),
|
|
67672
|
+
"number-limits": unref(getNumberFieldLimits)(__props.widget.props),
|
|
67376
67673
|
placeholder: unref(placeholder),
|
|
67377
67674
|
disabled: unref(showDisabled),
|
|
67378
67675
|
required: unref(showRequired),
|
|
@@ -67387,7 +67684,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
67387
67684
|
onBlur: unref(onBlur),
|
|
67388
67685
|
onFocus: _ctx.$attrs.onFocus,
|
|
67389
67686
|
onPressEnter: unref(onPressEnter)
|
|
67390
|
-
}, null, 8, ["modelValue", "placeholder", "disabled", "required", "fieldId", "digits", "rules", "precision", "renderScript", "enableStepCounter", "stepCounter", "onChange", "onBlur", "onFocus", "onPressEnter"]))
|
|
67687
|
+
}, null, 8, ["modelValue", "number-limits", "placeholder", "disabled", "required", "fieldId", "digits", "rules", "precision", "renderScript", "enableStepCounter", "stepCounter", "onChange", "onBlur", "onFocus", "onPressEnter"]))
|
|
67391
67688
|
]),
|
|
67392
67689
|
_: 1
|
|
67393
67690
|
}, 8, ["modelValue", "widget", "formData", "renderScript", "annotationInfo"]);
|
|
@@ -70069,7 +70366,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
70069
70366
|
}
|
|
70070
70367
|
});
|
|
70071
70368
|
const VueVideoPlayer = defineAsyncComponent(
|
|
70072
|
-
() => import("./VueVideoPlayer-
|
|
70369
|
+
() => import("./VueVideoPlayer-DhyIm-g1.js")
|
|
70073
70370
|
);
|
|
70074
70371
|
const _hoisted_1$17 = {
|
|
70075
70372
|
key: 0,
|
|
@@ -70582,8 +70879,8 @@ const _hoisted_3$C = {
|
|
|
70582
70879
|
};
|
|
70583
70880
|
const _hoisted_4$s = { class: "seal-stamp-modal__preview" };
|
|
70584
70881
|
const _hoisted_5$m = ["src", "alt"];
|
|
70585
|
-
const _hoisted_6$
|
|
70586
|
-
const _hoisted_7$
|
|
70882
|
+
const _hoisted_6$h = { class: "seal-stamp-modal__name" };
|
|
70883
|
+
const _hoisted_7$a = {
|
|
70587
70884
|
key: 3,
|
|
70588
70885
|
class: "seal-stamp-modal__error",
|
|
70589
70886
|
role: "alert"
|
|
@@ -70691,7 +70988,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
70691
70988
|
alt: unref(sealDetail).name
|
|
70692
70989
|
}, null, 8, _hoisted_5$m)
|
|
70693
70990
|
]),
|
|
70694
|
-
createElementVNode("div", _hoisted_6$
|
|
70991
|
+
createElementVNode("div", _hoisted_6$h, [
|
|
70695
70992
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.seal.currentSeal")) + ":", 1),
|
|
70696
70993
|
createElementVNode("strong", null, toDisplayString$1(unref(sealDetail).name), 1)
|
|
70697
70994
|
])
|
|
@@ -70714,7 +71011,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
70714
71011
|
]),
|
|
70715
71012
|
_: 1
|
|
70716
71013
|
}, 8, ["label", "validate-status", "help"]),
|
|
70717
|
-
unref(error) && unref(detailStatus) !== "error" ? (openBlock(), createElementBlock("p", _hoisted_7$
|
|
71014
|
+
unref(error) && unref(detailStatus) !== "error" ? (openBlock(), createElementBlock("p", _hoisted_7$a, toDisplayString$1(unref(error)), 1)) : createCommentVNode("", true)
|
|
70718
71015
|
], 64))
|
|
70719
71016
|
], 2),
|
|
70720
71017
|
unref(step) === "seal" ? (openBlock(), createElementBlock("div", _hoisted_8$8, [
|
|
@@ -70751,7 +71048,7 @@ const _hoisted_3$B = {
|
|
|
70751
71048
|
};
|
|
70752
71049
|
const _hoisted_4$r = { key: 4 };
|
|
70753
71050
|
const _hoisted_5$l = ["title"];
|
|
70754
|
-
const _hoisted_6$
|
|
71051
|
+
const _hoisted_6$g = {
|
|
70755
71052
|
key: 7,
|
|
70756
71053
|
class: "seal-error",
|
|
70757
71054
|
"data-seal-no-drag": ""
|
|
@@ -70921,7 +71218,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
70921
71218
|
]),
|
|
70922
71219
|
_: 1
|
|
70923
71220
|
})) : createCommentVNode("", true),
|
|
70924
|
-
error.value ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
71221
|
+
error.value ? (openBlock(), createElementBlock("span", _hoisted_6$g, toDisplayString$1(error.value), 1)) : createCommentVNode("", true)
|
|
70925
71222
|
], 10, _hoisted_1$15);
|
|
70926
71223
|
};
|
|
70927
71224
|
}
|
|
@@ -71164,7 +71461,7 @@ const _hoisted_2$K = {
|
|
|
71164
71461
|
const _hoisted_3$A = ["onContextmenu"];
|
|
71165
71462
|
const _hoisted_4$q = { class: "inner-label-box" };
|
|
71166
71463
|
const _hoisted_5$k = ["title"];
|
|
71167
|
-
const _hoisted_6$
|
|
71464
|
+
const _hoisted_6$f = { class: "h-120px flex justify-center items-center" };
|
|
71168
71465
|
const defaultDeviceSearchExp = "OR(name_.iLike,code_.iLike,asset_number_.iLike)";
|
|
71169
71466
|
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
71170
71467
|
__name: "ref-select",
|
|
@@ -71729,7 +72026,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
71729
72026
|
state.fetching ? {
|
|
71730
72027
|
name: "notFoundContent",
|
|
71731
72028
|
fn: withCtx(() => [
|
|
71732
|
-
createElementVNode("div", _hoisted_6$
|
|
72029
|
+
createElementVNode("div", _hoisted_6$f, [
|
|
71733
72030
|
createVNode(_component_a_spin, { size: "small" })
|
|
71734
72031
|
])
|
|
71735
72032
|
]),
|
|
@@ -73144,7 +73441,7 @@ const _hoisted_2$I = {
|
|
|
73144
73441
|
const _hoisted_3$z = ["onContextmenu"];
|
|
73145
73442
|
const _hoisted_4$p = { class: "inner-label-box" };
|
|
73146
73443
|
const _hoisted_5$j = ["title"];
|
|
73147
|
-
const _hoisted_6$
|
|
73444
|
+
const _hoisted_6$e = { class: "h-120px flex justify-center items-center" };
|
|
73148
73445
|
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
73149
73446
|
__name: "trace-select",
|
|
73150
73447
|
props: {
|
|
@@ -73548,7 +73845,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
73548
73845
|
state.fetching ? {
|
|
73549
73846
|
name: "notFoundContent",
|
|
73550
73847
|
fn: withCtx(() => [
|
|
73551
|
-
createElementVNode("div", _hoisted_6$
|
|
73848
|
+
createElementVNode("div", _hoisted_6$e, [
|
|
73552
73849
|
createVNode(_component_a_spin, { size: "small" })
|
|
73553
73850
|
])
|
|
73554
73851
|
]),
|
|
@@ -74029,7 +74326,7 @@ const _hoisted_5$i = {
|
|
|
74029
74326
|
key: 0,
|
|
74030
74327
|
class: "date-text"
|
|
74031
74328
|
};
|
|
74032
|
-
const _hoisted_6$
|
|
74329
|
+
const _hoisted_6$d = {
|
|
74033
74330
|
key: 0,
|
|
74034
74331
|
class: "date-text"
|
|
74035
74332
|
};
|
|
@@ -74049,6 +74346,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
74049
74346
|
const props2 = __props;
|
|
74050
74347
|
const emit2 = __emit;
|
|
74051
74348
|
const paperInfo = inject(NCB_PROVIDE.PAGER);
|
|
74349
|
+
const formModel = useFormModel().injectController();
|
|
74052
74350
|
const { onChange, realFieldId, annotationInfo, patchRow } = useNocodeFormWidget(props2, emit2);
|
|
74053
74351
|
const {
|
|
74054
74352
|
signatureType,
|
|
@@ -74122,8 +74420,14 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
74122
74420
|
const validationResult = await instance.value.validation.validate("all", validationPaths);
|
|
74123
74421
|
if (validationResult && !validationResult.isValid) {
|
|
74124
74422
|
const controlField = fixedTableConfig.value?.dataLockControlField;
|
|
74423
|
+
const subTableField = formModel?.masterFields?.find(
|
|
74424
|
+
(item) => item.key === props2.subtableFieldId
|
|
74425
|
+
);
|
|
74426
|
+
const subModelKey = props2.widget.props.subModelKey;
|
|
74427
|
+
const refModelType = subTableField?.refModelType ?? (subModelKey ? formModel?.getSubModel(subModelKey)?.meta.subModelType : void 0);
|
|
74428
|
+
const operatorLabelKey = refModelType === onlineFormMasterModelTypeEnum.MAINTENANCE ? "sys.fixedTableMaintainer" : "sys.fixedTableInspector";
|
|
74125
74429
|
const controlFieldName = $t(
|
|
74126
|
-
controlField === "reviewer_" ? "sys.fixedTableReviewer" :
|
|
74430
|
+
controlField === "reviewer_" ? "sys.fixedTableReviewer" : operatorLabelKey
|
|
74127
74431
|
);
|
|
74128
74432
|
const title = $t("sys.fixedTableSignatureValidationTitle");
|
|
74129
74433
|
const description = $t("sys.fixedTableSignatureValidationFailed", {
|
|
@@ -74481,7 +74785,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
74481
74785
|
preview: false,
|
|
74482
74786
|
src: getSignaturePreviewUrl(signature2)
|
|
74483
74787
|
}, null, 8, ["src"]),
|
|
74484
|
-
shouldFollowSignatureDate.value && signature2.time ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
74788
|
+
shouldFollowSignatureDate.value && signature2.time ? (openBlock(), createElementBlock("div", _hoisted_6$d, toDisplayString$1(formattedDate(signature2.time)), 1)) : createCommentVNode("", true)
|
|
74485
74789
|
], 2);
|
|
74486
74790
|
}), 128))
|
|
74487
74791
|
], 2))
|
|
@@ -75077,12 +75381,12 @@ const _hoisted_2$F = { class: "progress-box" };
|
|
|
75077
75381
|
const _hoisted_3$w = { class: "progress-item__box pl-10px" };
|
|
75078
75382
|
const _hoisted_4$m = { class: "progress-item__name" };
|
|
75079
75383
|
const _hoisted_5$h = { class: "label" };
|
|
75080
|
-
const _hoisted_6$
|
|
75384
|
+
const _hoisted_6$c = {
|
|
75081
75385
|
key: 0,
|
|
75082
75386
|
class: "error",
|
|
75083
75387
|
style: { "color": "red" }
|
|
75084
75388
|
};
|
|
75085
|
-
const _hoisted_7$
|
|
75389
|
+
const _hoisted_7$9 = {
|
|
75086
75390
|
key: 1,
|
|
75087
75391
|
style: { "color": "var(--ant-primary-color)" }
|
|
75088
75392
|
};
|
|
@@ -75306,7 +75610,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
75306
75610
|
percent: item.percentNum
|
|
75307
75611
|
}, {
|
|
75308
75612
|
format: withCtx((percent) => [
|
|
75309
|
-
item.status === unref(statusEnum$1).EXCEPTION ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
75613
|
+
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))
|
|
75310
75614
|
]),
|
|
75311
75615
|
_: 2
|
|
75312
75616
|
}, 1032, ["percent"]), [
|
|
@@ -79539,7 +79843,7 @@ const _hoisted_2$E = ["onClick"];
|
|
|
79539
79843
|
const _hoisted_3$v = { class: "readonly-file-info" };
|
|
79540
79844
|
const _hoisted_4$l = ["title"];
|
|
79541
79845
|
const _hoisted_5$g = { class: "readonly-file-size" };
|
|
79542
|
-
const _hoisted_6$
|
|
79846
|
+
const _hoisted_6$b = {
|
|
79543
79847
|
key: 0,
|
|
79544
79848
|
class: "cell-media__summary"
|
|
79545
79849
|
};
|
|
@@ -79686,7 +79990,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
79686
79990
|
"show-add": false
|
|
79687
79991
|
}, {
|
|
79688
79992
|
default: withCtx(() => [
|
|
79689
|
-
fileList.value.length ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
79993
|
+
fileList.value.length ? (openBlock(), createElementBlock("span", _hoisted_6$b, [
|
|
79690
79994
|
createVNode(unref(FieldStateIcon), { type: "attachmentFilled" }),
|
|
79691
79995
|
createTextVNode(" " + toDisplayString$1(fileList.value.length) + "个文件 ", 1)
|
|
79692
79996
|
])) : createCommentVNode("", true)
|
|
@@ -79728,8 +80032,8 @@ const _hoisted_5$f = {
|
|
|
79728
80032
|
key: 1,
|
|
79729
80033
|
class: "camera-prompt"
|
|
79730
80034
|
};
|
|
79731
|
-
const _hoisted_6$
|
|
79732
|
-
const _hoisted_7$
|
|
80035
|
+
const _hoisted_6$a = ["disabled"];
|
|
80036
|
+
const _hoisted_7$8 = ["src"];
|
|
79733
80037
|
const _hoisted_8$7 = { class: "text-[#1A1D23]" };
|
|
79734
80038
|
const _hoisted_9$4 = { class: "camera-controls" };
|
|
79735
80039
|
const _hoisted_10$4 = { class: "upload-dragger" };
|
|
@@ -80092,9 +80396,9 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
80092
80396
|
src: unref(CameraSvg),
|
|
80093
80397
|
alt: "",
|
|
80094
80398
|
class: "img-svg"
|
|
80095
|
-
}, null, 8, _hoisted_7$
|
|
80399
|
+
}, null, 8, _hoisted_7$8),
|
|
80096
80400
|
createElementVNode("span", _hoisted_8$7, toDisplayString$1(_ctx.$t("sys.onlineForm.uploadImage.startCamera")), 1)
|
|
80097
|
-
], 8, _hoisted_6$
|
|
80401
|
+
], 8, _hoisted_6$a)) : createCommentVNode("", true)
|
|
80098
80402
|
], 2),
|
|
80099
80403
|
withDirectives(createElementVNode("div", _hoisted_9$4, [
|
|
80100
80404
|
createVNode(_component_a_select, {
|
|
@@ -82616,12 +82920,45 @@ const ParamFieldLink = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId",
|
|
|
82616
82920
|
const _hoisted_1$J = { class: "panel-data-init-config-wrapper" };
|
|
82617
82921
|
const _hoisted_2$y = { class: "param-area" };
|
|
82618
82922
|
const _hoisted_3$r = { class: "data-source-area" };
|
|
82619
|
-
const _hoisted_4$h = { class: "
|
|
82620
|
-
const _hoisted_5$c = { class: "
|
|
82923
|
+
const _hoisted_4$h = { class: "data-source-area" };
|
|
82924
|
+
const _hoisted_5$c = { class: "data-source-area" };
|
|
82925
|
+
const _hoisted_6$9 = { class: "object-init-area" };
|
|
82926
|
+
const _hoisted_7$7 = { class: "tmpl-config-area" };
|
|
82621
82927
|
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
82622
82928
|
__name: "index",
|
|
82623
82929
|
setup(__props) {
|
|
82930
|
+
const contextFields = computed(
|
|
82931
|
+
() => getBuiltinContextFields(
|
|
82932
|
+
(window.NocodeAdapter.stores?.appInfo?.value.onlineFormBuiltinParamList ?? []).map(
|
|
82933
|
+
(item) => ({
|
|
82934
|
+
key: item.key,
|
|
82935
|
+
name: item.name,
|
|
82936
|
+
type: item.type
|
|
82937
|
+
})
|
|
82938
|
+
)
|
|
82939
|
+
)
|
|
82940
|
+
);
|
|
82624
82941
|
const { formConfig: formConfig2 } = useSpreadSheet();
|
|
82942
|
+
const { masterModel: masterModel2, modelMetaMap: modelMetaMap2 } = useModelFields();
|
|
82943
|
+
const { sheetsData: sheetsData2 } = useAllSpreadSheets();
|
|
82944
|
+
const targetFieldOptions = computed(() => {
|
|
82945
|
+
const mainModelKey = masterModel2.value.key;
|
|
82946
|
+
if (!mainModelKey) return [];
|
|
82947
|
+
const usedFieldKeys = /* @__PURE__ */ new Set();
|
|
82948
|
+
for (const sheet of sheetsData2.value) {
|
|
82949
|
+
for (const row of sheet.paper.cells) {
|
|
82950
|
+
for (const cell of row) {
|
|
82951
|
+
const fields = cell.multiFieldsContent?.length ? cell.multiFieldsContent.map((item) => item.fieldMeta) : [cell.fieldMeta];
|
|
82952
|
+
for (const field of fields) {
|
|
82953
|
+
if (!field?.subFieldKey && field?.model === mainModelKey && field.field) {
|
|
82954
|
+
usedFieldKeys.add(field.field);
|
|
82955
|
+
}
|
|
82956
|
+
}
|
|
82957
|
+
}
|
|
82958
|
+
}
|
|
82959
|
+
}
|
|
82960
|
+
return (modelMetaMap2.value[mainModelKey]?.fields ?? []).filter((field) => field.key && usedFieldKeys.has(field.key)).map((field) => ({ label: field.name || field.key, value: field.key }));
|
|
82961
|
+
});
|
|
82625
82962
|
const { objectInit, openAdd, openAddDefault, openEdit } = useObjectInitModal();
|
|
82626
82963
|
const tmplConfigC = useFormTmplConfig().injectController();
|
|
82627
82964
|
const showTmpl = inject(
|
|
@@ -82634,7 +82971,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
82634
82971
|
const showTmplConfig = computed(
|
|
82635
82972
|
() => suiteFeatures.value.showDataLoad && showTmpl.value && (tmplConfigC.state.IOTPermission || tmplConfigC.state.OCRPermission)
|
|
82636
82973
|
);
|
|
82637
|
-
const activeCollapse = ref(["1", "2", "3"]);
|
|
82974
|
+
const activeCollapse = ref(["1", "2", "data-sources", "field-fills", "3"]);
|
|
82638
82975
|
const modelList = ref([]);
|
|
82639
82976
|
const dbList = ref([]);
|
|
82640
82977
|
const ipaasList = ref([]);
|
|
@@ -82789,7 +83126,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
82789
83126
|
createVNode(_component_a_collapse, {
|
|
82790
83127
|
class: "override",
|
|
82791
83128
|
activeKey: activeCollapse.value,
|
|
82792
|
-
"onUpdate:activeKey": _cache[
|
|
83129
|
+
"onUpdate:activeKey": _cache[5] || (_cache[5] = ($event) => activeCollapse.value = $event),
|
|
82793
83130
|
ghost: "",
|
|
82794
83131
|
expandIconPosition: "right"
|
|
82795
83132
|
}, {
|
|
@@ -82822,7 +83159,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
82822
83159
|
}, 8, ["header"]),
|
|
82823
83160
|
createVNode(_component_a_collapse_panel, {
|
|
82824
83161
|
key: "2",
|
|
82825
|
-
header: _ctx.$t("sys.integration.dataSource")
|
|
83162
|
+
header: `${_ctx.$t("sys.integration.dataSource")}(deprecated)`
|
|
82826
83163
|
}, {
|
|
82827
83164
|
default: withCtx(() => [
|
|
82828
83165
|
createElementVNode("div", _hoisted_3$r, [
|
|
@@ -82908,12 +83245,44 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
82908
83245
|
]),
|
|
82909
83246
|
_: 1
|
|
82910
83247
|
}, 8, ["header"]),
|
|
83248
|
+
createVNode(_component_a_collapse_panel, {
|
|
83249
|
+
key: "data-sources",
|
|
83250
|
+
header: "数据获取"
|
|
83251
|
+
}, {
|
|
83252
|
+
default: withCtx(() => [
|
|
83253
|
+
createElementVNode("div", _hoisted_4$h, [
|
|
83254
|
+
createVNode(unref(DataSources), {
|
|
83255
|
+
modelValue: formState.value.dataSources,
|
|
83256
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formState.value.dataSources = $event),
|
|
83257
|
+
"context-fields": contextFields.value
|
|
83258
|
+
}, null, 8, ["modelValue", "context-fields"])
|
|
83259
|
+
])
|
|
83260
|
+
]),
|
|
83261
|
+
_: 1
|
|
83262
|
+
}),
|
|
83263
|
+
createVNode(_component_a_collapse_panel, {
|
|
83264
|
+
key: "field-fills",
|
|
83265
|
+
header: "字段填充"
|
|
83266
|
+
}, {
|
|
83267
|
+
default: withCtx(() => [
|
|
83268
|
+
createElementVNode("div", _hoisted_5$c, [
|
|
83269
|
+
createVNode(unref(FieldFills), {
|
|
83270
|
+
modelValue: formState.value.fieldFills,
|
|
83271
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => formState.value.fieldFills = $event),
|
|
83272
|
+
"data-sources": formState.value.dataSources,
|
|
83273
|
+
"context-fields": contextFields.value,
|
|
83274
|
+
"target-field-options": targetFieldOptions.value
|
|
83275
|
+
}, null, 8, ["modelValue", "data-sources", "context-fields", "target-field-options"])
|
|
83276
|
+
])
|
|
83277
|
+
]),
|
|
83278
|
+
_: 1
|
|
83279
|
+
}),
|
|
82911
83280
|
suiteFeatures.value.showObjectInit ? (openBlock(), createBlock(_component_a_collapse_panel, {
|
|
82912
83281
|
key: "3",
|
|
82913
83282
|
header: _ctx.$t("sys.onlineForm.objectInitialization")
|
|
82914
83283
|
}, {
|
|
82915
83284
|
default: withCtx(() => [
|
|
82916
|
-
createElementVNode("div",
|
|
83285
|
+
createElementVNode("div", _hoisted_6$9, [
|
|
82917
83286
|
createVNode(unref(ObjectInitList), {
|
|
82918
83287
|
configuredItems: unref(objectInit).configuredItems.value,
|
|
82919
83288
|
getObjectFieldTypeName: unref(objectInit).getObjectFieldTypeName,
|
|
@@ -82928,7 +83297,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
82928
83297
|
style: normalizeStyle({
|
|
82929
83298
|
cursor: !!unref(objectInit).allConfigured.value ? "not-allowed" : "pointer"
|
|
82930
83299
|
}),
|
|
82931
|
-
onOnAdd: _cache[
|
|
83300
|
+
onOnAdd: _cache[4] || (_cache[4] = () => !unref(objectInit).allConfigured.value && unref(openAdd)())
|
|
82932
83301
|
}, null, 8, ["title", "style"])
|
|
82933
83302
|
])
|
|
82934
83303
|
]),
|
|
@@ -82939,7 +83308,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
82939
83308
|
header: _ctx.$t("sys.edhr.loadData")
|
|
82940
83309
|
}, {
|
|
82941
83310
|
default: withCtx(() => [
|
|
82942
|
-
createElementVNode("div",
|
|
83311
|
+
createElementVNode("div", _hoisted_7$7, [
|
|
82943
83312
|
createVNode(PanelTmplConfig, { embedded: "" })
|
|
82944
83313
|
])
|
|
82945
83314
|
]),
|
|
@@ -82952,7 +83321,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
82952
83321
|
};
|
|
82953
83322
|
}
|
|
82954
83323
|
});
|
|
82955
|
-
const PanelDataInitConfig = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
83324
|
+
const PanelDataInitConfig = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-80593150"]]);
|
|
82956
83325
|
const MODEL_KEY = "em_product";
|
|
82957
83326
|
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
82958
83327
|
__name: "material-rdo-select",
|
|
@@ -88344,7 +88713,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
88344
88713
|
help: getSubstituteProductError(record) || void 0
|
|
88345
88714
|
}, {
|
|
88346
88715
|
default: withCtx(() => [
|
|
88347
|
-
createVNode(_sfc_main$
|
|
88716
|
+
createVNode(_sfc_main$6u, {
|
|
88348
88717
|
"model-value": record.product_id_ || void 0,
|
|
88349
88718
|
"model-key": "em_product",
|
|
88350
88719
|
placeholder: _ctx.$t("sys.chooseText"),
|
|
@@ -88719,7 +89088,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
88719
89088
|
help: getMainProductError() || void 0
|
|
88720
89089
|
}, {
|
|
88721
89090
|
default: withCtx(() => [
|
|
88722
|
-
createVNode(_sfc_main$
|
|
89091
|
+
createVNode(_sfc_main$6u, {
|
|
88723
89092
|
"model-value": unref(formState).product_id_ || void 0,
|
|
88724
89093
|
"model-key": "em_product",
|
|
88725
89094
|
placeholder: _ctx.$t("sys.chooseText"),
|
|
@@ -89357,7 +89726,7 @@ const sys = {
|
|
|
89357
89726
|
warehouseOutTableConfig: "出库明细表配置",
|
|
89358
89727
|
materialRequisitionTableConfig: "产线收料表配置",
|
|
89359
89728
|
materialSubstitutionTableConfig: "物料替换表配置",
|
|
89360
|
-
pretreatmentTableConfig: "
|
|
89729
|
+
pretreatmentTableConfig: "产前表配置",
|
|
89361
89730
|
sterilizeBatchConfig: "委托灭菌生产批次表配置",
|
|
89362
89731
|
printFillAreaBg: "是否打印填报内容区底色",
|
|
89363
89732
|
printFillAreaBgYes: "是",
|
|
@@ -90830,8 +91199,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
90830
91199
|
printTask = (async () => {
|
|
90831
91200
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
90832
91201
|
await nextTick();
|
|
90833
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
90834
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
91202
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-BBOww4jg.js");
|
|
91203
|
+
const { default: renderer } = await import("./print-snapshot-renderer-DGt44saz.js");
|
|
90835
91204
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
90836
91205
|
printRenderer.value = markRaw(renderer);
|
|
90837
91206
|
await printRuntimeInstance(
|
|
@@ -90979,7 +91348,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
90979
91348
|
provide(NCB_PROVIDE.RUNTIME_INSTANCE_REGISTRY, runtimeRegistry);
|
|
90980
91349
|
initWebPaasUploadApis();
|
|
90981
91350
|
return (_ctx, _cache) => {
|
|
90982
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
91351
|
+
return openBlock(), createBlock(unref(_sfc_main$6v), {
|
|
90983
91352
|
loading: __props.loading,
|
|
90984
91353
|
"has-data": __props.hasData,
|
|
90985
91354
|
error: unref(runtimeRegistry).loadState.error?.message
|
|
@@ -92604,7 +92973,7 @@ export {
|
|
|
92604
92973
|
_sfc_main$2P as H,
|
|
92605
92974
|
INVENTORY_QUICK_SEARCH_FIELDS as I,
|
|
92606
92975
|
apaasCollect as J,
|
|
92607
|
-
_sfc_main$
|
|
92976
|
+
_sfc_main$5u as K,
|
|
92608
92977
|
LeftOutlined as L,
|
|
92609
92978
|
_sfc_main$y as M,
|
|
92610
92979
|
_sfc_main$x as N,
|
|
@@ -92656,12 +93025,12 @@ export {
|
|
|
92656
93025
|
commonjsRequire as c,
|
|
92657
93026
|
captureRuntimePrintSnapshot as d,
|
|
92658
93027
|
waitPrintImages as e,
|
|
92659
|
-
_sfc_main$
|
|
93028
|
+
_sfc_main$6j as f,
|
|
92660
93029
|
getFieldWidget as g,
|
|
92661
93030
|
useModelFields as h,
|
|
92662
93031
|
isSterilizationLotField as i,
|
|
92663
93032
|
calcText as j,
|
|
92664
|
-
_sfc_main$
|
|
93033
|
+
_sfc_main$5X as k,
|
|
92665
93034
|
loadBwip as l,
|
|
92666
93035
|
useDrop as m,
|
|
92667
93036
|
normalizeSpacerWidth as n,
|
|
@@ -92676,5 +93045,5 @@ export {
|
|
|
92676
93045
|
waitPrintFonts as w,
|
|
92677
93046
|
LineStyleOptions as x,
|
|
92678
93047
|
PaginationFormatOptions as y,
|
|
92679
|
-
_sfc_main$
|
|
93048
|
+
_sfc_main$5n as z
|
|
92680
93049
|
};
|