@gct-paas/excel 0.1.40-beta.0 → 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-BTolXjlE.js → BaseComponent-DXIDs5gk.js} +2 -2
- package/dist/{VueVideoPlayer-Dvf7Ya7H.js → VueVideoPlayer-DhyIm-g1.js} +2 -2
- package/dist/{align-editor-jp0NsOnT.js → align-editor-BcbgVXRp.js} +1 -1
- package/dist/{barcode-design-ClfdoOKn.js → barcode-design-BiCt0aS7.js} +2 -2
- package/dist/base/index.es.js +49 -44
- package/dist/{diagonal-design-Br0xpyqC.js → diagonal-design-DmvWALIE.js} +2 -2
- package/dist/{dynamic-table-action-C-HIKtZG.js → dynamic-table-action-fDIIzS2J.js} +41 -5
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js} +352 -212
- package/dist/{edit.utils-CXmmCnxE-D4-n_eOM.js → edit.utils-CXmmCnxE-DxArFSxZ.js} +1 -1
- package/dist/excel.css +84 -84
- package/dist/{exceljs.min-BH63KI8s.js → exceljs.min-CjKNZPlo.js} +2 -2
- package/dist/{font-editor-QSpu9bjJ.js → font-editor-DseGyVgB.js} +3 -3
- package/dist/{image-design-ySQAmnTF.js → image-design-Dr-L9AdG.js} +2 -2
- package/dist/{index-COx1-SPe.js → index-0W-MEvEf.js} +2 -2
- package/dist/{index-FSCxAVGq.js → index-4acBM2Lp.js} +2 -2
- package/dist/{index-Qf8D5LdT.js → index-B29_mID7.js} +3 -3
- package/dist/{index-QTmeSdj9.js → index-B34ZIwqL.js} +2 -2
- package/dist/{index-CTO4kNz9.js → index-BPgCZjqV.js} +1 -1
- package/dist/{index-2FWN7Q91.js → index-BY7RGawr.js} +2 -2
- package/dist/{index-BxEjRF0o.js → index-BctQMMgh.js} +2 -2
- package/dist/{index-BXXvFDgt.js → index-BdJ4ouEl.js} +1 -1
- package/dist/{index-Cf7KwZfa.js → index-BjI7JCne.js} +4 -4
- package/dist/{index-nBc_3R3r.js → index-BxZ3M7eP.js} +1 -1
- package/dist/{index-C2RMbM6E.js → index-C4tVTc9U.js} +2 -2
- package/dist/{index-CN-rY-3F.js → index-C6dFliaf.js} +1 -1
- package/dist/{index-oOLbaFI8.js → index-C70T1sVm.js} +639 -353
- package/dist/{index-DbPA5PUX.js → index-C8OPhJhI.js} +1 -1
- package/dist/{index-BOaDYNtp.js → index-CAdGL3Vp.js} +2 -2
- package/dist/{index-BJ6ZaX-f.js → index-CEmRRPE7.js} +2 -2
- package/dist/{index-BJQd1G0r.js → index-CJ9CrORT.js} +3 -3
- package/dist/{index-4_qe7Eco.js → index-CScWLXnC.js} +2 -2
- package/dist/{index-B3mCVcXB.js → index-CX_eR36M.js} +2 -2
- package/dist/{index-DYxskDRv.js → index-CXh-4yX8.js} +3 -3
- package/dist/{index-C7DwXZ-K.js → index-CewKz2Ro.js} +1 -1
- package/dist/{index-Ca8q7yXC.js → index-D5IrgJyh.js} +2 -2
- package/dist/{index-CvDQjwre.js → index-DKRpaNo1.js} +1 -1
- package/dist/{index-ibQys99q.js → index-DKf57IGi.js} +1 -1
- package/dist/{index-D9zBCWpE.js → index-DNC5VG8P.js} +2 -2
- package/dist/{index-CMOvPSr6.js → index-DcjOJuDw.js} +2 -2
- package/dist/{index-DZGqXE3S.js → index-DqLVW6ej.js} +3 -3
- package/dist/{index-D3IdoYWe.js → index-DrmR7WIs.js} +2 -2
- package/dist/{index-8yhxxqYM.js → index-DsCTXMxB.js} +1 -1
- package/dist/{index-dhaw5vxN.js → index-JkPJqZ_5.js} +3 -3
- package/dist/{index-uVpJOLb3.js → index-Nytm1-X9.js} +2 -2
- package/dist/{index-Cb-I6DkL.js → index-hcCJUBne.js} +1 -1
- package/dist/{index-CUrMIr2v.js → index-iRameN0x.js} +2 -2
- package/dist/{index-B6Bs-q34.js → index-lwjRRvDn.js} +2 -2
- package/dist/{index-BHiNdrGr.js → index-r4MF8_-h.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BRejJNP-.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-QX4lxsni.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D32c_U8J.js} +1 -1
- package/dist/{pagination-design-pTh3Fqbz.js → pagination-design-9Z_iRIKM.js} +2 -2
- package/dist/paper-widget-design-BGotQsIf.js +4 -0
- package/dist/{print-runtime-instance-CBUjws4D.js → print-runtime-instance-BBOww4jg.js} +1 -1
- package/dist/{print-snapshot-renderer-s0IhY_T_.js → print-snapshot-renderer-DGt44saz.js} +3 -3
- package/dist/{qrcode-design-CnKOb-s9.js → qrcode-design-qbUjPX-B.js} +1 -1
- package/dist/{revo-grid.entry-BqbaKcyR.js → revo-grid.entry-RzymRzb0.js} +1 -1
- package/dist/{revogr-attribution_7.entry-jmN78nkb.js → revogr-attribution_7.entry-CxTEXm8Q.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-eK74i7_f.js → revogr-clipboard_3.entry-DQEid83u.js} +2 -2
- package/dist/{revogr-data_4.entry-D2lAUBEM.js → revogr-data_4.entry-ASovYZWH.js} +2 -2
- package/dist/{revogr-filter-panel.entry-C-1WXBDy.js → revogr-filter-panel.entry-j_V74kgz.js} +1 -1
- package/dist/seal-design-DP1XaAY8.js +4 -0
- package/dist/{serialnumber-design-DEYD9ku_.js → serialnumber-design-DXKTYOY7.js} +1 -1
- package/dist/shared/index.es.js +6 -6
- package/dist/{single-field-drop-Bd3PcWQF.js → single-field-drop-CLjaHjL-.js} +2 -2
- package/dist/{size-editor-DiZ8E2R6.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/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +2 -2
- package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +1 -2
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -0
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +11 -2
- package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -1
- 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/src/shared/components/Signature/logic/index.d.ts +1 -1
- package/dist/{sub-table-factory-B6HdlZ7-.js → sub-table-factory-sn1Ek1c9.js} +16 -14
- package/dist/{text-design-D2IwsbOW.js → text-design-CwHfwel0.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DRpYOKiV.js → throttle-Cpk1LoGk-BHDq1lM3.js} +1 -1
- package/dist/{timediff-design-Cq3SADlb.js → timediff-design-8kCO3aXz.js} +1 -1
- package/dist/{trace-like-wrapper-Qmczl-Hz.js → trace-like-wrapper-CxPz9Trr.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-UXPOa0Wv.js → value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-C7wO0SFO.js → widget-barcode-CRxh3tC2.js} +4 -4
- package/dist/{widget-diagonal-Cbuv8o5A.js → widget-diagonal-CO586oV2.js} +3 -3
- package/dist/{widget-image-4AeqjwGp.js → widget-image-CE6kVnu5.js} +5 -5
- package/dist/{widget-line--RgXiyvO.js → widget-line-Br4oIssb.js} +2 -2
- package/dist/{widget-pagination-jr6bVWPW.js → widget-pagination-BHwjrBV5.js} +5 -5
- package/dist/{widget-power-ptilZfAF.js → widget-power-BySYsE15.js} +3 -3
- package/dist/{widget-qrcode-DH-1741M.js → widget-qrcode-D6b0T_Qa.js} +3 -3
- package/dist/{widget-rangelimit-B4yv3Qw3.js → widget-rangelimit-DTH7nrqC.js} +3 -3
- package/dist/{widget-serialnumber-AZ2IUJTg.js → widget-serialnumber-DVtxhNC3.js} +1 -1
- package/dist/{widget-text-CW0A1n16.js → widget-text-gBGybAXk.js} +5 -5
- package/dist/{widget-timediff-C3xTGqfj.js → widget-timediff-aY-maVkE.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-CBI-8vTV.js +0 -4
- package/dist/seal-design-CMJBAfIN.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
6
|
import { DataSourceChangeEvent, useFormBaseModal, getBuiltinContextFields, DataSources, FieldFills, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
7
7
|
import * as Antd from "ant-design-vue";
|
|
8
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";
|
|
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$
|
|
10
|
-
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";
|
|
11
11
|
import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
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$
|
|
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";
|
|
@@ -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
|
}
|
|
@@ -3979,7 +3979,7 @@ function migrateDesignerToV2(maps, info, createPaper) {
|
|
|
3979
3979
|
};
|
|
3980
3980
|
}
|
|
3981
3981
|
const _hoisted_1$3z = { class: "p24px" };
|
|
3982
|
-
const _sfc_main$
|
|
3982
|
+
const _sfc_main$6s = /* @__PURE__ */ defineComponent({
|
|
3983
3983
|
__name: "add-sheet",
|
|
3984
3984
|
props: {
|
|
3985
3985
|
modal: {},
|
|
@@ -9876,6 +9876,29 @@ const alignSheetColumns = (sheet) => {
|
|
|
9876
9876
|
);
|
|
9877
9877
|
paper2.mergedCells = paper2.mergedCells.filter((range2) => range2.l < colCount).map((range2) => ({ ...range2, r: Math.min(range2.r, colCount - 1) }));
|
|
9878
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
|
+
};
|
|
9879
9902
|
const designerSheetsSnapshot = () => sheetsData$1.value.map(({ sheetId, title, paper: paper2 }) => ({
|
|
9880
9903
|
sheetId,
|
|
9881
9904
|
title,
|
|
@@ -9929,6 +9952,7 @@ const {
|
|
|
9929
9952
|
});
|
|
9930
9953
|
formConfig$3.value = cloneDeep(cachedFormConfig ?? DefaultFormConfig);
|
|
9931
9954
|
sheetsData$1.value = cloneDeep(sheets);
|
|
9955
|
+
sheetsData$1.value.forEach(normalizeSterilizeInputProps);
|
|
9932
9956
|
const restored = sheetsData$1.value.find((item) => item.sheetId === sheetId) ?? sheetsData$1.value[0];
|
|
9933
9957
|
setActive(restored?.sheetId);
|
|
9934
9958
|
if (restored?.paper) APIS$1.set(restored.paper);
|
|
@@ -9987,6 +10011,7 @@ const useAllSpreadSheets = () => {
|
|
|
9987
10011
|
formConfig$3.value = cloneDeep(designer.formConfig);
|
|
9988
10012
|
sheetsData$1.value = cloneDeep(designer.sheets);
|
|
9989
10013
|
sheetsData$1.value.forEach(alignSheetColumns);
|
|
10014
|
+
sheetsData$1.value.forEach(normalizeSterilizeInputProps);
|
|
9990
10015
|
mergeFormTmplBomList(info.formTmplBomList);
|
|
9991
10016
|
mergeFormTmplObjectBomList(info.formTmplObjectBomList);
|
|
9992
10017
|
initialize({ fieldReplace: fieldReplaceCb, modelMetaMap: modelMetaMap2 });
|
|
@@ -10008,7 +10033,7 @@ const useAllSpreadSheets = () => {
|
|
|
10008
10033
|
return;
|
|
10009
10034
|
}
|
|
10010
10035
|
const res = await window.NocodeAdapter.utils.overlay.modal(
|
|
10011
|
-
_sfc_main$
|
|
10036
|
+
_sfc_main$6s,
|
|
10012
10037
|
{
|
|
10013
10038
|
data,
|
|
10014
10039
|
validator: (rule, value) => {
|
|
@@ -10048,6 +10073,7 @@ const useAllSpreadSheets = () => {
|
|
|
10048
10073
|
})
|
|
10049
10074
|
};
|
|
10050
10075
|
alignSheetColumns(sheet);
|
|
10076
|
+
normalizeSterilizeInputProps(sheet);
|
|
10051
10077
|
cacheStep();
|
|
10052
10078
|
sheetsData$1.value.push(sheet);
|
|
10053
10079
|
changeActiveSheet(sheet);
|
|
@@ -10102,6 +10128,7 @@ const useAllSpreadSheets = () => {
|
|
|
10102
10128
|
})
|
|
10103
10129
|
};
|
|
10104
10130
|
alignSheetColumns(sheet);
|
|
10131
|
+
normalizeSterilizeInputProps(sheet);
|
|
10105
10132
|
return sheet;
|
|
10106
10133
|
});
|
|
10107
10134
|
const first = sheetsData$1.value[0];
|
|
@@ -10195,6 +10222,7 @@ const useAllSpreadSheets = () => {
|
|
|
10195
10222
|
function saveSheets2(isEasyEdition2) {
|
|
10196
10223
|
try {
|
|
10197
10224
|
sheetsData$1.value.forEach(alignSheetColumns);
|
|
10225
|
+
sheetsData$1.value.forEach(normalizeSterilizeInputProps);
|
|
10198
10226
|
validateSheetsBeforeSave();
|
|
10199
10227
|
if (isEasyEdition2) {
|
|
10200
10228
|
const { clearUnusedModel } = useReverseModeling();
|
|
@@ -10430,7 +10458,7 @@ const useAllSpreadSheets = () => {
|
|
|
10430
10458
|
removeField: removeField2
|
|
10431
10459
|
};
|
|
10432
10460
|
};
|
|
10433
|
-
const _sfc_main$
|
|
10461
|
+
const _sfc_main$6r = /* @__PURE__ */ defineComponent({
|
|
10434
10462
|
__name: "table-modal",
|
|
10435
10463
|
props: {
|
|
10436
10464
|
type: { default: SubTableType.DEFAULT }
|
|
@@ -10634,7 +10662,7 @@ const _sfc_main$6q = /* @__PURE__ */ defineComponent({
|
|
|
10634
10662
|
};
|
|
10635
10663
|
}
|
|
10636
10664
|
});
|
|
10637
|
-
const _sfc_main$
|
|
10665
|
+
const _sfc_main$6q = /* @__PURE__ */ defineComponent({
|
|
10638
10666
|
__name: "thead-modal",
|
|
10639
10667
|
setup(__props) {
|
|
10640
10668
|
const { selection: selection2, paper: paper2, platformType: platformType2, isTextOnlineForm: isTextOnlineForm2 } = useSpreadSheet();
|
|
@@ -11012,7 +11040,7 @@ const config$3 = {
|
|
|
11012
11040
|
autofillRules: [],
|
|
11013
11041
|
enableAutofill: false,
|
|
11014
11042
|
signatureNumber: SignatureNumberTypeEnum.SIGNATURE_MULTIPLE,
|
|
11015
|
-
fallbackSignType: FallbackSignTypeEnum.
|
|
11043
|
+
fallbackSignType: FallbackSignTypeEnum.NAME_ONLY,
|
|
11016
11044
|
signatureImageDirection: SignatureImageDirectionEnum.HORIZONTAL
|
|
11017
11045
|
};
|
|
11018
11046
|
const __vite_glob_0_13$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -11185,7 +11213,7 @@ function parseHtml(html) {
|
|
|
11185
11213
|
mergedCells
|
|
11186
11214
|
};
|
|
11187
11215
|
}
|
|
11188
|
-
const _sfc_main$
|
|
11216
|
+
const _sfc_main$6p = /* @__PURE__ */ defineComponent({
|
|
11189
11217
|
__name: "field-edit-modal",
|
|
11190
11218
|
props: {
|
|
11191
11219
|
field: {}
|
|
@@ -11275,7 +11303,7 @@ const _sfc_main$6o = /* @__PURE__ */ defineComponent({
|
|
|
11275
11303
|
};
|
|
11276
11304
|
}
|
|
11277
11305
|
});
|
|
11278
|
-
const FieldEditModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11306
|
+
const FieldEditModal = /* @__PURE__ */ _export_sfc(_sfc_main$6p, [["__scopeId", "data-v-1eaa22cd"]]);
|
|
11279
11307
|
let doc$1;
|
|
11280
11308
|
const topPublishVersions = ref([]);
|
|
11281
11309
|
const currentVersion = ref();
|
|
@@ -12243,7 +12271,7 @@ function useSpreadSheet() {
|
|
|
12243
12271
|
}
|
|
12244
12272
|
if (checkSelectionConflict(selection$1)) return;
|
|
12245
12273
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
12246
|
-
_sfc_main$
|
|
12274
|
+
_sfc_main$6r,
|
|
12247
12275
|
{ type },
|
|
12248
12276
|
{ title: `添加${$t("sys.onlineForm.subTableType." + type)}`, width: "640px" }
|
|
12249
12277
|
);
|
|
@@ -12315,7 +12343,7 @@ function useSpreadSheet() {
|
|
|
12315
12343
|
return;
|
|
12316
12344
|
}
|
|
12317
12345
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
12318
|
-
_sfc_main$
|
|
12346
|
+
_sfc_main$6q,
|
|
12319
12347
|
{},
|
|
12320
12348
|
{
|
|
12321
12349
|
title: $t("sys.onlineForm.addHeader"),
|
|
@@ -12915,6 +12943,15 @@ function useSpreadSheet() {
|
|
|
12915
12943
|
if (copiedWidget.placeholder === void 0) {
|
|
12916
12944
|
copiedWidget.placeholder = getDefaultPlaceholder();
|
|
12917
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
|
+
}
|
|
12918
12955
|
return copiedWidget;
|
|
12919
12956
|
}
|
|
12920
12957
|
const fieldWidget = {
|
|
@@ -12935,6 +12972,11 @@ function useSpreadSheet() {
|
|
|
12935
12972
|
bizType: data.bizType,
|
|
12936
12973
|
subModelType: data.subModelType
|
|
12937
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
|
+
}
|
|
12938
12980
|
const defaultRequired = data.subModelType === SubTableType.MATERIAL_BALANCE && data.field === "material_balance_percent_" ? false : true;
|
|
12939
12981
|
return {
|
|
12940
12982
|
...profiledWidget,
|
|
@@ -13747,7 +13789,7 @@ function useSpreadSheet() {
|
|
|
13747
13789
|
copyAndNew
|
|
13748
13790
|
};
|
|
13749
13791
|
}
|
|
13750
|
-
const _sfc_main$
|
|
13792
|
+
const _sfc_main$6o = /* @__PURE__ */ defineComponent({
|
|
13751
13793
|
__name: "padding-line",
|
|
13752
13794
|
setup(__props) {
|
|
13753
13795
|
const { paper: paper2 } = useSpreadSheet();
|
|
@@ -13781,7 +13823,7 @@ const _sfc_main$6n = /* @__PURE__ */ defineComponent({
|
|
|
13781
13823
|
};
|
|
13782
13824
|
}
|
|
13783
13825
|
});
|
|
13784
|
-
const _sfc_main$
|
|
13826
|
+
const _sfc_main$6n = /* @__PURE__ */ defineComponent({
|
|
13785
13827
|
__name: "page-line",
|
|
13786
13828
|
setup(__props) {
|
|
13787
13829
|
const { paper: paper2, paperLayout: paperLayout2 } = useSpreadSheet();
|
|
@@ -13819,7 +13861,7 @@ new ResizeObserver((entries) => {
|
|
|
13819
13861
|
}
|
|
13820
13862
|
}
|
|
13821
13863
|
});
|
|
13822
|
-
const _sfc_main$
|
|
13864
|
+
const _sfc_main$6m = /* @__PURE__ */ defineComponent({
|
|
13823
13865
|
__name: "sheet-tr",
|
|
13824
13866
|
setup(__props) {
|
|
13825
13867
|
const TrRef = ref();
|
|
@@ -13890,7 +13932,7 @@ function normalizeSpacerWidth(value) {
|
|
|
13890
13932
|
if (!Number.isFinite(width)) return DEFAULT_SPACER_WIDTH;
|
|
13891
13933
|
return Math.min(100, Math.max(2, Math.round(width)));
|
|
13892
13934
|
}
|
|
13893
|
-
const _sfc_main$
|
|
13935
|
+
const _sfc_main$6l = /* @__PURE__ */ defineComponent({
|
|
13894
13936
|
__name: "param-modal",
|
|
13895
13937
|
props: {
|
|
13896
13938
|
isEdit: { type: Boolean },
|
|
@@ -14113,7 +14155,7 @@ function useParam() {
|
|
|
14113
14155
|
};
|
|
14114
14156
|
async function addParam() {
|
|
14115
14157
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
14116
|
-
_sfc_main$
|
|
14158
|
+
_sfc_main$6l,
|
|
14117
14159
|
{},
|
|
14118
14160
|
{ title: $t("sys.bi.param.add"), width: "640px", zIndex: 1500 }
|
|
14119
14161
|
);
|
|
@@ -14123,7 +14165,7 @@ function useParam() {
|
|
|
14123
14165
|
}
|
|
14124
14166
|
async function editParam(param) {
|
|
14125
14167
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
14126
|
-
_sfc_main$
|
|
14168
|
+
_sfc_main$6l,
|
|
14127
14169
|
{ isEdit: true, param },
|
|
14128
14170
|
{ title: $t("sys.onlineForm.modifyParameters"), width: "640px", zIndex: 1500 }
|
|
14129
14171
|
);
|
|
@@ -14181,7 +14223,7 @@ const requiredSeal = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20v
|
|
|
14181
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";
|
|
14182
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";
|
|
14183
14225
|
const _hoisted_1$3y = ["src", "alt"];
|
|
14184
|
-
const _sfc_main$
|
|
14226
|
+
const _sfc_main$6k = /* @__PURE__ */ defineComponent({
|
|
14185
14227
|
__name: "seal-placeholder",
|
|
14186
14228
|
props: {
|
|
14187
14229
|
required: { type: Boolean },
|
|
@@ -14204,8 +14246,8 @@ const _sfc_main$6j = /* @__PURE__ */ defineComponent({
|
|
|
14204
14246
|
};
|
|
14205
14247
|
}
|
|
14206
14248
|
});
|
|
14207
|
-
const SealPlaceholder = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14208
|
-
const _sfc_main$
|
|
14249
|
+
const SealPlaceholder = /* @__PURE__ */ _export_sfc(_sfc_main$6k, [["__scopeId", "data-v-f7c59c71"]]);
|
|
14250
|
+
const _sfc_main$6j = /* @__PURE__ */ defineComponent({
|
|
14209
14251
|
__name: "seal-design",
|
|
14210
14252
|
props: {
|
|
14211
14253
|
fieldWidget: {}
|
|
@@ -14219,7 +14261,7 @@ const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
|
14219
14261
|
};
|
|
14220
14262
|
}
|
|
14221
14263
|
});
|
|
14222
|
-
const _sfc_main$
|
|
14264
|
+
const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
14223
14265
|
__name: "fake-input",
|
|
14224
14266
|
props: {
|
|
14225
14267
|
fieldWidget: {},
|
|
@@ -14289,7 +14331,7 @@ const _sfc_main$6h = /* @__PURE__ */ defineComponent({
|
|
|
14289
14331
|
};
|
|
14290
14332
|
}
|
|
14291
14333
|
});
|
|
14292
|
-
const FakeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14334
|
+
const FakeInput = /* @__PURE__ */ _export_sfc(_sfc_main$6i, [["__scopeId", "data-v-8540f4cf"]]);
|
|
14293
14335
|
const _hoisted_1$3x = { class: "fake-number-input__field" };
|
|
14294
14336
|
const _hoisted_2$2u = {
|
|
14295
14337
|
key: 0,
|
|
@@ -14303,7 +14345,7 @@ const _hoisted_4$1j = {
|
|
|
14303
14345
|
key: 1,
|
|
14304
14346
|
class: "fake-number-input__sub"
|
|
14305
14347
|
};
|
|
14306
|
-
const _sfc_main$
|
|
14348
|
+
const _sfc_main$6h = /* @__PURE__ */ defineComponent({
|
|
14307
14349
|
__name: "fake-number-input",
|
|
14308
14350
|
props: {
|
|
14309
14351
|
fieldWidget: {},
|
|
@@ -14352,7 +14394,7 @@ const _sfc_main$6g = /* @__PURE__ */ defineComponent({
|
|
|
14352
14394
|
};
|
|
14353
14395
|
}
|
|
14354
14396
|
});
|
|
14355
|
-
const FakeNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14397
|
+
const FakeNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$6h, [["__scopeId", "data-v-e439df69"]]);
|
|
14356
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";
|
|
14357
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";
|
|
14358
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";
|
|
@@ -14364,7 +14406,7 @@ const attachmentFilled = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'
|
|
|
14364
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";
|
|
14365
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";
|
|
14366
14408
|
const _hoisted_1$3w = ["src"];
|
|
14367
|
-
const _sfc_main$
|
|
14409
|
+
const _sfc_main$6g = /* @__PURE__ */ defineComponent({
|
|
14368
14410
|
__name: "field-state-icon",
|
|
14369
14411
|
props: {
|
|
14370
14412
|
type: {}
|
|
@@ -14393,8 +14435,8 @@ const _sfc_main$6f = /* @__PURE__ */ defineComponent({
|
|
|
14393
14435
|
};
|
|
14394
14436
|
}
|
|
14395
14437
|
});
|
|
14396
|
-
const FieldStateIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14397
|
-
const _sfc_main$
|
|
14438
|
+
const FieldStateIcon = /* @__PURE__ */ _export_sfc(_sfc_main$6g, [["__scopeId", "data-v-634c3d3f"]]);
|
|
14439
|
+
const _sfc_main$6f = /* @__PURE__ */ defineComponent({
|
|
14398
14440
|
__name: "fake-select",
|
|
14399
14441
|
props: {
|
|
14400
14442
|
fieldWidget: {},
|
|
@@ -14450,8 +14492,8 @@ const _sfc_main$6e = /* @__PURE__ */ defineComponent({
|
|
|
14450
14492
|
};
|
|
14451
14493
|
}
|
|
14452
14494
|
});
|
|
14453
|
-
const FakeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14454
|
-
const _sfc_main$
|
|
14495
|
+
const FakeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6f, [["__scopeId", "data-v-5391114c"]]);
|
|
14496
|
+
const _sfc_main$6e = /* @__PURE__ */ defineComponent({
|
|
14455
14497
|
__name: "radio-icon",
|
|
14456
14498
|
props: {
|
|
14457
14499
|
disabled: { type: Boolean, default: false },
|
|
@@ -14466,8 +14508,8 @@ const _sfc_main$6d = /* @__PURE__ */ defineComponent({
|
|
|
14466
14508
|
};
|
|
14467
14509
|
}
|
|
14468
14510
|
});
|
|
14469
|
-
const RadioIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14470
|
-
const _sfc_main$
|
|
14511
|
+
const RadioIcon = /* @__PURE__ */ _export_sfc(_sfc_main$6e, [["__scopeId", "data-v-80e07ffa"]]);
|
|
14512
|
+
const _sfc_main$6d = /* @__PURE__ */ defineComponent({
|
|
14471
14513
|
__name: "checkbox-icon",
|
|
14472
14514
|
props: {
|
|
14473
14515
|
disabled: { type: Boolean, default: false },
|
|
@@ -14482,7 +14524,7 @@ const _sfc_main$6c = /* @__PURE__ */ defineComponent({
|
|
|
14482
14524
|
};
|
|
14483
14525
|
}
|
|
14484
14526
|
});
|
|
14485
|
-
const CheckboxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14527
|
+
const CheckboxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$6d, [["__scopeId", "data-v-47c923e5"]]);
|
|
14486
14528
|
const _hoisted_1$3v = {
|
|
14487
14529
|
key: 0,
|
|
14488
14530
|
class: "fake-option-select__affix"
|
|
@@ -14497,7 +14539,7 @@ const _hoisted_5$_ = {
|
|
|
14497
14539
|
key: 3,
|
|
14498
14540
|
class: "fake-option-select__affix"
|
|
14499
14541
|
};
|
|
14500
|
-
const _sfc_main$
|
|
14542
|
+
const _sfc_main$6c = /* @__PURE__ */ defineComponent({
|
|
14501
14543
|
__name: "fake-option-select",
|
|
14502
14544
|
props: {
|
|
14503
14545
|
fieldWidget: {},
|
|
@@ -14646,7 +14688,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
14646
14688
|
};
|
|
14647
14689
|
}
|
|
14648
14690
|
});
|
|
14649
|
-
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14691
|
+
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6c, [["__scopeId", "data-v-62ffc455"]]);
|
|
14650
14692
|
const FieldDesignComponents = {
|
|
14651
14693
|
"fw:input": FakeInput,
|
|
14652
14694
|
"fw:number": FakeNumberInput,
|
|
@@ -14660,7 +14702,7 @@ const FieldDesignComponents = {
|
|
|
14660
14702
|
"fw:image": FakeSelect,
|
|
14661
14703
|
"fw:file": FakeSelect,
|
|
14662
14704
|
"fw:signature": FakeSelect,
|
|
14663
|
-
"fw:seal": _sfc_main$
|
|
14705
|
+
"fw:seal": _sfc_main$6j,
|
|
14664
14706
|
"fw:enum": FakeOptionSelect,
|
|
14665
14707
|
"fw:boolean": FakeOptionSelect
|
|
14666
14708
|
};
|
|
@@ -14673,7 +14715,7 @@ const _hoisted_3$1R = {
|
|
|
14673
14715
|
key: 3,
|
|
14674
14716
|
class: "suffix"
|
|
14675
14717
|
};
|
|
14676
|
-
const _sfc_main$
|
|
14718
|
+
const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
14677
14719
|
__name: "cell-widget-design",
|
|
14678
14720
|
props: {
|
|
14679
14721
|
fieldWidget: {},
|
|
@@ -14785,7 +14827,7 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
|
|
|
14785
14827
|
};
|
|
14786
14828
|
}
|
|
14787
14829
|
});
|
|
14788
|
-
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14830
|
+
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$6b, [["__scopeId", "data-v-7ee5f38b"]]);
|
|
14789
14831
|
const cellWidgetDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14790
14832
|
__proto__: null,
|
|
14791
14833
|
default: CellWidgetDesign
|
|
@@ -15057,7 +15099,7 @@ const _hoisted_2$2r = {
|
|
|
15057
15099
|
key: 0,
|
|
15058
15100
|
class: "text"
|
|
15059
15101
|
};
|
|
15060
|
-
const _sfc_main$
|
|
15102
|
+
const _sfc_main$6a = /* @__PURE__ */ defineComponent({
|
|
15061
15103
|
__name: "barcode-render",
|
|
15062
15104
|
props: {
|
|
15063
15105
|
widget: {},
|
|
@@ -15126,7 +15168,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
15126
15168
|
};
|
|
15127
15169
|
}
|
|
15128
15170
|
});
|
|
15129
|
-
const barcodeRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15171
|
+
const barcodeRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$6a, [["__scopeId", "data-v-e32407c0"]]);
|
|
15130
15172
|
const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15131
15173
|
__proto__: null,
|
|
15132
15174
|
default: barcodeRender$1
|
|
@@ -15138,7 +15180,7 @@ const _hoisted_4$1h = {
|
|
|
15138
15180
|
key: 0,
|
|
15139
15181
|
class: "column-name column-name--middle"
|
|
15140
15182
|
};
|
|
15141
|
-
const _sfc_main$
|
|
15183
|
+
const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
15142
15184
|
__name: "diagonal",
|
|
15143
15185
|
props: {
|
|
15144
15186
|
value: { default: () => [] },
|
|
@@ -15212,8 +15254,8 @@ const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
|
15212
15254
|
};
|
|
15213
15255
|
}
|
|
15214
15256
|
});
|
|
15215
|
-
const Diagonal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15216
|
-
const _sfc_main$
|
|
15257
|
+
const Diagonal = /* @__PURE__ */ _export_sfc(_sfc_main$69, [["__scopeId", "data-v-07498761"]]);
|
|
15258
|
+
const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
15217
15259
|
__name: "diagonal-render",
|
|
15218
15260
|
props: {
|
|
15219
15261
|
widget: {},
|
|
@@ -15257,10 +15299,10 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
15257
15299
|
});
|
|
15258
15300
|
const __vite_glob_3_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15259
15301
|
__proto__: null,
|
|
15260
|
-
default: _sfc_main$
|
|
15302
|
+
default: _sfc_main$68
|
|
15261
15303
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15262
15304
|
const _hoisted_1$3r = ["src"];
|
|
15263
|
-
const _sfc_main$
|
|
15305
|
+
const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
15264
15306
|
__name: "image-render",
|
|
15265
15307
|
props: {
|
|
15266
15308
|
widget: {},
|
|
@@ -15295,12 +15337,12 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
|
15295
15337
|
};
|
|
15296
15338
|
}
|
|
15297
15339
|
});
|
|
15298
|
-
const imageRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15340
|
+
const imageRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$67, [["__scopeId", "data-v-d5655ea0"]]);
|
|
15299
15341
|
const __vite_glob_3_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15300
15342
|
__proto__: null,
|
|
15301
15343
|
default: imageRender$1
|
|
15302
15344
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15303
|
-
const _sfc_main$
|
|
15345
|
+
const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
15304
15346
|
__name: "line-design",
|
|
15305
15347
|
props: {
|
|
15306
15348
|
widget: {},
|
|
@@ -15336,12 +15378,12 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
15336
15378
|
};
|
|
15337
15379
|
}
|
|
15338
15380
|
});
|
|
15339
|
-
const LineDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15381
|
+
const LineDesign = /* @__PURE__ */ _export_sfc(_sfc_main$66, [["__scopeId", "data-v-97e0d82f"]]);
|
|
15340
15382
|
const lineDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15341
15383
|
__proto__: null,
|
|
15342
15384
|
default: LineDesign
|
|
15343
15385
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15344
|
-
const _sfc_main$
|
|
15386
|
+
const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
15345
15387
|
__name: "line-render",
|
|
15346
15388
|
props: {
|
|
15347
15389
|
widget: {},
|
|
@@ -15367,7 +15409,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
15367
15409
|
});
|
|
15368
15410
|
const __vite_glob_3_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15369
15411
|
__proto__: null,
|
|
15370
|
-
default: _sfc_main$
|
|
15412
|
+
default: _sfc_main$65
|
|
15371
15413
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15372
15414
|
function calcText(exp, options) {
|
|
15373
15415
|
if (!exp) return "";
|
|
@@ -15381,7 +15423,7 @@ function calcText(exp, options) {
|
|
|
15381
15423
|
return string;
|
|
15382
15424
|
}
|
|
15383
15425
|
const _hoisted_1$3q = ["data-format"];
|
|
15384
|
-
const _sfc_main$
|
|
15426
|
+
const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
15385
15427
|
__name: "pagination-render",
|
|
15386
15428
|
props: {
|
|
15387
15429
|
widget: {},
|
|
@@ -15424,13 +15466,13 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
15424
15466
|
};
|
|
15425
15467
|
}
|
|
15426
15468
|
});
|
|
15427
|
-
const paginationRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15469
|
+
const paginationRender = /* @__PURE__ */ _export_sfc(_sfc_main$64, [["__scopeId", "data-v-9678ceeb"]]);
|
|
15428
15470
|
const __vite_glob_3_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15429
15471
|
__proto__: null,
|
|
15430
15472
|
default: paginationRender
|
|
15431
15473
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15432
15474
|
const _hoisted_1$3p = ["data-placeholder"];
|
|
15433
|
-
const _sfc_main$
|
|
15475
|
+
const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
15434
15476
|
__name: "power-design",
|
|
15435
15477
|
props: {
|
|
15436
15478
|
widget: {}
|
|
@@ -15444,12 +15486,12 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
15444
15486
|
};
|
|
15445
15487
|
}
|
|
15446
15488
|
});
|
|
15447
|
-
const PowerDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15489
|
+
const PowerDesign = /* @__PURE__ */ _export_sfc(_sfc_main$63, [["__scopeId", "data-v-2f511828"]]);
|
|
15448
15490
|
const powerDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15449
15491
|
__proto__: null,
|
|
15450
15492
|
default: PowerDesign
|
|
15451
15493
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15452
|
-
const _sfc_main$
|
|
15494
|
+
const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
15453
15495
|
__name: "power-render",
|
|
15454
15496
|
props: {
|
|
15455
15497
|
widget: {},
|
|
@@ -15463,11 +15505,11 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
|
15463
15505
|
});
|
|
15464
15506
|
const __vite_glob_3_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15465
15507
|
__proto__: null,
|
|
15466
|
-
default: _sfc_main$
|
|
15508
|
+
default: _sfc_main$62
|
|
15467
15509
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15468
15510
|
const _hoisted_1$3o = ["id"];
|
|
15469
15511
|
const _hoisted_2$2p = ["src"];
|
|
15470
|
-
const _sfc_main$
|
|
15512
|
+
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
15471
15513
|
__name: "qrcode-render",
|
|
15472
15514
|
props: {
|
|
15473
15515
|
widget: {},
|
|
@@ -15528,10 +15570,10 @@ const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
|
15528
15570
|
});
|
|
15529
15571
|
const __vite_glob_3_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15530
15572
|
__proto__: null,
|
|
15531
|
-
default: _sfc_main$
|
|
15573
|
+
default: _sfc_main$61
|
|
15532
15574
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15533
15575
|
const _hoisted_1$3n = ["data-placeholder"];
|
|
15534
|
-
const _sfc_main$
|
|
15576
|
+
const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
15535
15577
|
__name: "rangelimit-design",
|
|
15536
15578
|
props: {
|
|
15537
15579
|
widget: {}
|
|
@@ -15545,12 +15587,12 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
15545
15587
|
};
|
|
15546
15588
|
}
|
|
15547
15589
|
});
|
|
15548
|
-
const RangeLimitDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15590
|
+
const RangeLimitDesign = /* @__PURE__ */ _export_sfc(_sfc_main$60, [["__scopeId", "data-v-1515adf1"]]);
|
|
15549
15591
|
const rangelimitDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15550
15592
|
__proto__: null,
|
|
15551
15593
|
default: RangeLimitDesign
|
|
15552
15594
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15553
|
-
const _sfc_main$
|
|
15595
|
+
const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
15554
15596
|
__name: "rangelimit-render",
|
|
15555
15597
|
props: {
|
|
15556
15598
|
widget: {},
|
|
@@ -15564,10 +15606,10 @@ const _sfc_main$5_ = /* @__PURE__ */ defineComponent({
|
|
|
15564
15606
|
});
|
|
15565
15607
|
const __vite_glob_3_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15566
15608
|
__proto__: null,
|
|
15567
|
-
default: _sfc_main$
|
|
15609
|
+
default: _sfc_main$5$
|
|
15568
15610
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15569
15611
|
const _hoisted_1$3m = ["title"];
|
|
15570
|
-
const _sfc_main$
|
|
15612
|
+
const _sfc_main$5_ = /* @__PURE__ */ defineComponent({
|
|
15571
15613
|
__name: "text-render",
|
|
15572
15614
|
props: {
|
|
15573
15615
|
widget: {},
|
|
@@ -15599,7 +15641,7 @@ const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
|
|
|
15599
15641
|
};
|
|
15600
15642
|
}
|
|
15601
15643
|
});
|
|
15602
|
-
const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15644
|
+
const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$5_, [["__scopeId", "data-v-5e13c4e4"]]);
|
|
15603
15645
|
const __vite_glob_3_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15604
15646
|
__proto__: null,
|
|
15605
15647
|
default: textRender
|
|
@@ -15720,7 +15762,7 @@ const TimeDiffFormatter = {
|
|
|
15720
15762
|
}
|
|
15721
15763
|
};
|
|
15722
15764
|
const _hoisted_1$3l = { class: "nocode-read-only-text" };
|
|
15723
|
-
const _sfc_main$
|
|
15765
|
+
const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
|
|
15724
15766
|
__name: "timediff-render",
|
|
15725
15767
|
props: {
|
|
15726
15768
|
widget: {},
|
|
@@ -15764,11 +15806,11 @@ const _sfc_main$5Y = /* @__PURE__ */ defineComponent({
|
|
|
15764
15806
|
});
|
|
15765
15807
|
const __vite_glob_3_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15766
15808
|
__proto__: null,
|
|
15767
|
-
default: _sfc_main$
|
|
15809
|
+
default: _sfc_main$5Z
|
|
15768
15810
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15769
15811
|
const _hoisted_1$3k = { class: "w-full h-full" };
|
|
15770
15812
|
const _hoisted_2$2o = ["src"];
|
|
15771
|
-
const _sfc_main$
|
|
15813
|
+
const _sfc_main$5Y = /* @__PURE__ */ defineComponent({
|
|
15772
15814
|
...{
|
|
15773
15815
|
inheritAttrs: false
|
|
15774
15816
|
},
|
|
@@ -15793,7 +15835,7 @@ const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
|
15793
15835
|
};
|
|
15794
15836
|
}
|
|
15795
15837
|
});
|
|
15796
|
-
const watermarkRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15838
|
+
const watermarkRender = /* @__PURE__ */ _export_sfc(_sfc_main$5Y, [["__scopeId", "data-v-07e04847"]]);
|
|
15797
15839
|
const __vite_glob_3_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15798
15840
|
__proto__: null,
|
|
15799
15841
|
default: watermarkRender
|
|
@@ -15818,7 +15860,7 @@ function asyncImportWidgetConfigList() {
|
|
|
15818
15860
|
return widgetConfigList;
|
|
15819
15861
|
}
|
|
15820
15862
|
function asyncImportWidgetDesign() {
|
|
15821
|
-
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") });
|
|
15822
15864
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
15823
15865
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
15824
15866
|
if (mKey) {
|
|
@@ -15852,7 +15894,7 @@ function syncImportWidgetRender() {
|
|
|
15852
15894
|
return widgetRenderMap2;
|
|
15853
15895
|
}
|
|
15854
15896
|
const widgetRenderMap = syncImportWidgetRender();
|
|
15855
|
-
const _sfc_main$
|
|
15897
|
+
const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
15856
15898
|
__name: "paper-widget-design",
|
|
15857
15899
|
props: {
|
|
15858
15900
|
paperWidget: {},
|
|
@@ -16371,7 +16413,7 @@ const _hoisted_3$1P = {
|
|
|
16371
16413
|
class: "inline-cell-content__media"
|
|
16372
16414
|
};
|
|
16373
16415
|
const _hoisted_4$1g = ["src", "alt", "title"];
|
|
16374
|
-
const _sfc_main$
|
|
16416
|
+
const _sfc_main$5W = /* @__PURE__ */ defineComponent({
|
|
16375
16417
|
__name: "inline-cell-content",
|
|
16376
16418
|
props: {
|
|
16377
16419
|
content: {},
|
|
@@ -16405,7 +16447,7 @@ const _sfc_main$5V = /* @__PURE__ */ defineComponent({
|
|
|
16405
16447
|
};
|
|
16406
16448
|
}
|
|
16407
16449
|
});
|
|
16408
|
-
const InlineCellContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16450
|
+
const InlineCellContent = /* @__PURE__ */ _export_sfc(_sfc_main$5W, [["__scopeId", "data-v-17564ef2"]]);
|
|
16409
16451
|
function warn$1(msg, err) {
|
|
16410
16452
|
if (typeof console !== "undefined") {
|
|
16411
16453
|
console.warn(`[intlify] ` + msg);
|
|
@@ -20778,7 +20820,7 @@ const _hoisted_4$1f = ["onPointerdown", "onMouseenter"];
|
|
|
20778
20820
|
const _hoisted_5$Z = { class: "inline-icon-suggestions__label" };
|
|
20779
20821
|
const InlineCellClipboardMime = "application/x-gct-inline-cell-content+json";
|
|
20780
20822
|
const InlineCellClipboardVersion = 1;
|
|
20781
|
-
const _sfc_main$
|
|
20823
|
+
const _sfc_main$5V = /* @__PURE__ */ defineComponent({
|
|
20782
20824
|
__name: "inline-cell-editor",
|
|
20783
20825
|
props: {
|
|
20784
20826
|
x: {},
|
|
@@ -21477,7 +21519,7 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
21477
21519
|
};
|
|
21478
21520
|
}
|
|
21479
21521
|
});
|
|
21480
|
-
const InlineCellEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21522
|
+
const InlineCellEditor = /* @__PURE__ */ _export_sfc(_sfc_main$5V, [["__scopeId", "data-v-c06c1c4c"]]);
|
|
21481
21523
|
const FLEX_V_ALIGN = {
|
|
21482
21524
|
top: "flex-start",
|
|
21483
21525
|
middle: "center",
|
|
@@ -21594,7 +21636,7 @@ function useDrop(allowTypes, callbacks = {}) {
|
|
|
21594
21636
|
}
|
|
21595
21637
|
const _hoisted_1$3h = ["data-placeholder"];
|
|
21596
21638
|
const _hoisted_2$2l = { key: 3 };
|
|
21597
|
-
const _sfc_main$
|
|
21639
|
+
const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
21598
21640
|
__name: "sheet-cell",
|
|
21599
21641
|
props: {
|
|
21600
21642
|
x: {},
|
|
@@ -21779,7 +21821,7 @@ const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
|
21779
21821
|
"field-meta": __props.cell.fieldMeta
|
|
21780
21822
|
}, null, 8, ["field-widget", "field-meta"])
|
|
21781
21823
|
], 4)) : __props.cell.type === unref(CellType).Widget ? (openBlock(), createElementBlock("div", _hoisted_2$2l, [
|
|
21782
|
-
createVNode(_sfc_main$
|
|
21824
|
+
createVNode(_sfc_main$5X, {
|
|
21783
21825
|
"paper-widget": __props.cell.paperWidget,
|
|
21784
21826
|
"field-meta": __props.cell.fieldMeta,
|
|
21785
21827
|
"is-in-cell": true
|
|
@@ -21798,7 +21840,7 @@ const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
|
21798
21840
|
};
|
|
21799
21841
|
}
|
|
21800
21842
|
});
|
|
21801
|
-
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21843
|
+
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5U, [["__scopeId", "data-v-23e833d0"]]);
|
|
21802
21844
|
const ThresholdValue = 8;
|
|
21803
21845
|
function getOffsetValue(left, width, points) {
|
|
21804
21846
|
let offset2 = left;
|
|
@@ -21955,7 +21997,7 @@ function useDraggable(el, initialLayout, options) {
|
|
|
21955
21997
|
};
|
|
21956
21998
|
}
|
|
21957
21999
|
const _hoisted_1$3g = { class: "drag-box__move" };
|
|
21958
|
-
const _sfc_main$
|
|
22000
|
+
const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
21959
22001
|
__name: "drag-box",
|
|
21960
22002
|
props: {
|
|
21961
22003
|
initialLayout: {},
|
|
@@ -22060,9 +22102,9 @@ const _sfc_main$5S = /* @__PURE__ */ defineComponent({
|
|
|
22060
22102
|
};
|
|
22061
22103
|
}
|
|
22062
22104
|
});
|
|
22063
|
-
const DragBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22105
|
+
const DragBox = /* @__PURE__ */ _export_sfc(_sfc_main$5T, [["__scopeId", "data-v-4d8a21ec"]]);
|
|
22064
22106
|
const _hoisted_1$3f = ["src"];
|
|
22065
|
-
const _sfc_main$
|
|
22107
|
+
const _sfc_main$5S = /* @__PURE__ */ defineComponent({
|
|
22066
22108
|
__name: "sheet-image",
|
|
22067
22109
|
props: {
|
|
22068
22110
|
id: {},
|
|
@@ -22106,8 +22148,8 @@ const _sfc_main$5R = /* @__PURE__ */ defineComponent({
|
|
|
22106
22148
|
};
|
|
22107
22149
|
}
|
|
22108
22150
|
});
|
|
22109
|
-
const SpreadSheetImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22110
|
-
const _sfc_main$
|
|
22151
|
+
const SpreadSheetImage = /* @__PURE__ */ _export_sfc(_sfc_main$5S, [["__scopeId", "data-v-57e657ee"]]);
|
|
22152
|
+
const _sfc_main$5R = /* @__PURE__ */ defineComponent({
|
|
22111
22153
|
__name: "sheet-selection",
|
|
22112
22154
|
setup(__props) {
|
|
22113
22155
|
const { selection: selection2, colWidthStage: ws, rowHeightStage: rs } = useSpreadSheet();
|
|
@@ -22157,12 +22199,12 @@ const _sfc_main$5Q = /* @__PURE__ */ defineComponent({
|
|
|
22157
22199
|
};
|
|
22158
22200
|
}
|
|
22159
22201
|
});
|
|
22160
|
-
const SpreadSheetSelection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22202
|
+
const SpreadSheetSelection = /* @__PURE__ */ _export_sfc(_sfc_main$5R, [["__scopeId", "data-v-446a25ba"]]);
|
|
22161
22203
|
const _hoisted_1$3e = {
|
|
22162
22204
|
key: 0,
|
|
22163
22205
|
class: "h-full w-full flex justify-center items-center overflow-hidden text-16px color-[#ddd]"
|
|
22164
22206
|
};
|
|
22165
|
-
const _sfc_main$
|
|
22207
|
+
const _sfc_main$5Q = /* @__PURE__ */ defineComponent({
|
|
22166
22208
|
__name: "sheet-dynamic-tr",
|
|
22167
22209
|
props: {
|
|
22168
22210
|
id: {},
|
|
@@ -22261,7 +22303,7 @@ const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
|
22261
22303
|
};
|
|
22262
22304
|
}
|
|
22263
22305
|
});
|
|
22264
|
-
const _sfc_main$
|
|
22306
|
+
const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
22265
22307
|
__name: "sheet-check-table",
|
|
22266
22308
|
props: {
|
|
22267
22309
|
id: {},
|
|
@@ -22290,7 +22332,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
22290
22332
|
};
|
|
22291
22333
|
}
|
|
22292
22334
|
});
|
|
22293
|
-
const _sfc_main$
|
|
22335
|
+
const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
22294
22336
|
__name: "sheet-fixed-table",
|
|
22295
22337
|
props: {
|
|
22296
22338
|
id: {},
|
|
@@ -22374,8 +22416,8 @@ const _sfc_main$5N = /* @__PURE__ */ defineComponent({
|
|
|
22374
22416
|
};
|
|
22375
22417
|
}
|
|
22376
22418
|
});
|
|
22377
|
-
const SpreadSheetFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22378
|
-
const _sfc_main$
|
|
22419
|
+
const SpreadSheetFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$5O, [["__scopeId", "data-v-f5d2e0dc"]]);
|
|
22420
|
+
const _sfc_main$5N = /* @__PURE__ */ defineComponent({
|
|
22379
22421
|
__name: "sheet-data-group",
|
|
22380
22422
|
props: {
|
|
22381
22423
|
id: {},
|
|
@@ -22437,8 +22479,8 @@ const _sfc_main$5M = /* @__PURE__ */ defineComponent({
|
|
|
22437
22479
|
};
|
|
22438
22480
|
}
|
|
22439
22481
|
});
|
|
22440
|
-
const SpreadSheetDataGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22441
|
-
const _sfc_main$
|
|
22482
|
+
const SpreadSheetDataGroup = /* @__PURE__ */ _export_sfc(_sfc_main$5N, [["__scopeId", "data-v-bc43db47"]]);
|
|
22483
|
+
const _sfc_main$5M = /* @__PURE__ */ defineComponent({
|
|
22442
22484
|
__name: "sheet-data-group-2d",
|
|
22443
22485
|
props: {
|
|
22444
22486
|
id: {},
|
|
@@ -22504,8 +22546,8 @@ const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
|
22504
22546
|
};
|
|
22505
22547
|
}
|
|
22506
22548
|
});
|
|
22507
|
-
const SpreadSheetDataGroup2D = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22508
|
-
const _sfc_main$
|
|
22549
|
+
const SpreadSheetDataGroup2D = /* @__PURE__ */ _export_sfc(_sfc_main$5M, [["__scopeId", "data-v-6c0ae9f8"]]);
|
|
22550
|
+
const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
22509
22551
|
__name: "sheet-check-tr",
|
|
22510
22552
|
props: {
|
|
22511
22553
|
id: {},
|
|
@@ -22589,8 +22631,8 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
22589
22631
|
};
|
|
22590
22632
|
}
|
|
22591
22633
|
});
|
|
22592
|
-
const SpreadSheetCheckTr = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22593
|
-
const _sfc_main$
|
|
22634
|
+
const SpreadSheetCheckTr = /* @__PURE__ */ _export_sfc(_sfc_main$5L, [["__scopeId", "data-v-998178da"]]);
|
|
22635
|
+
const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
22594
22636
|
__name: "sheet-data-group-ref",
|
|
22595
22637
|
props: {
|
|
22596
22638
|
dataGroupIndex: {},
|
|
@@ -22627,8 +22669,8 @@ const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
|
22627
22669
|
};
|
|
22628
22670
|
}
|
|
22629
22671
|
});
|
|
22630
|
-
const SpreadSheetDataGroupRef = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22631
|
-
const _sfc_main$
|
|
22672
|
+
const SpreadSheetDataGroupRef = /* @__PURE__ */ _export_sfc(_sfc_main$5K, [["__scopeId", "data-v-d28554d6"]]);
|
|
22673
|
+
const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
22632
22674
|
__name: "sheet-dynamic-thead",
|
|
22633
22675
|
props: {
|
|
22634
22676
|
id: {},
|
|
@@ -22674,7 +22716,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
22674
22716
|
};
|
|
22675
22717
|
}
|
|
22676
22718
|
});
|
|
22677
|
-
const _sfc_main$
|
|
22719
|
+
const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
22678
22720
|
__name: "context-menu-modal",
|
|
22679
22721
|
props: {
|
|
22680
22722
|
label: {},
|
|
@@ -22737,7 +22779,7 @@ const _sfc_main$5H = /* @__PURE__ */ defineComponent({
|
|
|
22737
22779
|
};
|
|
22738
22780
|
}
|
|
22739
22781
|
});
|
|
22740
|
-
const _sfc_main$
|
|
22782
|
+
const _sfc_main$5H = /* @__PURE__ */ defineComponent({
|
|
22741
22783
|
__name: "context-menu",
|
|
22742
22784
|
props: {
|
|
22743
22785
|
type: {}
|
|
@@ -22879,7 +22921,7 @@ const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
|
22879
22921
|
}
|
|
22880
22922
|
};
|
|
22881
22923
|
const result = await window.NocodeAdapter.utils.overlay.modal(
|
|
22882
|
-
_sfc_main$
|
|
22924
|
+
_sfc_main$5I,
|
|
22883
22925
|
{
|
|
22884
22926
|
defaultValue,
|
|
22885
22927
|
label: title
|
|
@@ -23199,14 +23241,14 @@ const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
|
23199
23241
|
};
|
|
23200
23242
|
}
|
|
23201
23243
|
});
|
|
23202
|
-
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23244
|
+
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5H, [["__scopeId", "data-v-10739a10"]]);
|
|
23203
23245
|
const _hoisted_1$3d = { class: "paper-content" };
|
|
23204
23246
|
const _hoisted_2$2k = {
|
|
23205
23247
|
cellpadding: "0",
|
|
23206
23248
|
cellspacing: "0"
|
|
23207
23249
|
};
|
|
23208
23250
|
const _hoisted_3$1N = ["data-x", "width"];
|
|
23209
|
-
const _sfc_main$
|
|
23251
|
+
const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
23210
23252
|
__name: "paper-content",
|
|
23211
23253
|
setup(__props) {
|
|
23212
23254
|
const { paper: paper2, selection: selection2, tableDataGroups: tableDataGroups2, checkRowDataGroups: checkRowDataGroups2, checkColDataGroups: checkColDataGroups2 } = useSpreadSheet();
|
|
@@ -23226,7 +23268,7 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23226
23268
|
]),
|
|
23227
23269
|
createElementVNode("tbody", null, [
|
|
23228
23270
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).rows, (row, rowIndex) => {
|
|
23229
|
-
return openBlock(), createBlock(_sfc_main$
|
|
23271
|
+
return openBlock(), createBlock(_sfc_main$6m, {
|
|
23230
23272
|
key: rowIndex + 1,
|
|
23231
23273
|
"data-y": rowIndex + 1,
|
|
23232
23274
|
height: row.height
|
|
@@ -23254,16 +23296,16 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23254
23296
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).images, (item, index2) => {
|
|
23255
23297
|
return openBlock(), createBlock(SpreadSheetImage, mergeProps({ ref_for: true }, item, { key: index2 }), null, 16);
|
|
23256
23298
|
}), 128)),
|
|
23257
|
-
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),
|
|
23258
23300
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).dynamicTables, (t2) => {
|
|
23259
23301
|
return openBlock(), createElementBlock(Fragment, {
|
|
23260
23302
|
key: t2.id
|
|
23261
23303
|
}, [
|
|
23262
|
-
t2.thRange ? (openBlock(), createBlock(_sfc_main$
|
|
23304
|
+
t2.thRange ? (openBlock(), createBlock(_sfc_main$5J, mergeProps({
|
|
23263
23305
|
key: 0,
|
|
23264
23306
|
ref_for: true
|
|
23265
23307
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
23266
|
-
createVNode(_sfc_main$
|
|
23308
|
+
createVNode(_sfc_main$5Q, mergeProps({ ref_for: true }, t2), null, 16),
|
|
23267
23309
|
t2.dgRange ? (openBlock(), createBlock(SpreadSheetDataGroup2D, mergeProps({
|
|
23268
23310
|
key: 1,
|
|
23269
23311
|
ref_for: true
|
|
@@ -23274,7 +23316,7 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23274
23316
|
return openBlock(), createElementBlock(Fragment, {
|
|
23275
23317
|
key: t2.id
|
|
23276
23318
|
}, [
|
|
23277
|
-
t2.thRange ? (openBlock(), createBlock(_sfc_main$
|
|
23319
|
+
t2.thRange ? (openBlock(), createBlock(_sfc_main$5J, mergeProps({
|
|
23278
23320
|
key: 0,
|
|
23279
23321
|
ref_for: true
|
|
23280
23322
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
@@ -23282,7 +23324,7 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23282
23324
|
key: 1,
|
|
23283
23325
|
ref_for: true
|
|
23284
23326
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
23285
|
-
t2.type === unref(SubTableType).CHECK ? (openBlock(), createBlock(_sfc_main$
|
|
23327
|
+
t2.type === unref(SubTableType).CHECK ? (openBlock(), createBlock(_sfc_main$5P, mergeProps({
|
|
23286
23328
|
key: 2,
|
|
23287
23329
|
ref_for: true
|
|
23288
23330
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
@@ -23346,7 +23388,7 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
23346
23388
|
}
|
|
23347
23389
|
});
|
|
23348
23390
|
const _hoisted_1$3c = { class: "tip" };
|
|
23349
|
-
const _sfc_main$
|
|
23391
|
+
const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
23350
23392
|
__name: "paper-widget-group",
|
|
23351
23393
|
props: {
|
|
23352
23394
|
position: {}
|
|
@@ -23457,7 +23499,7 @@ const _sfc_main$5E = /* @__PURE__ */ defineComponent({
|
|
|
23457
23499
|
};
|
|
23458
23500
|
}
|
|
23459
23501
|
});
|
|
23460
|
-
const _sfc_main$
|
|
23502
|
+
const _sfc_main$5E = /* @__PURE__ */ defineComponent({
|
|
23461
23503
|
__name: "seal-positioned",
|
|
23462
23504
|
props: {
|
|
23463
23505
|
position: {},
|
|
@@ -23602,10 +23644,10 @@ const _sfc_main$5D = /* @__PURE__ */ defineComponent({
|
|
|
23602
23644
|
};
|
|
23603
23645
|
}
|
|
23604
23646
|
});
|
|
23605
|
-
const SealPositioned = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23647
|
+
const SealPositioned = /* @__PURE__ */ _export_sfc(_sfc_main$5E, [["__scopeId", "data-v-8f042e10"]]);
|
|
23606
23648
|
const _hoisted_1$3b = { class: "seal-layer" };
|
|
23607
23649
|
const _hoisted_2$2j = ["data-seal-surface", "data-seal-sheet", "data-seal-page", "data-seal-width", "data-seal-height"];
|
|
23608
|
-
const _sfc_main$
|
|
23650
|
+
const _sfc_main$5D = /* @__PURE__ */ defineComponent({
|
|
23609
23651
|
__name: "seal-layer",
|
|
23610
23652
|
setup(__props) {
|
|
23611
23653
|
const { paper: paper2, paperLayout: paperLayout2, panelData: panelData2, sheetReadonly: sheetReadonly2, setPanelData } = useSpreadSheet();
|
|
@@ -23670,7 +23712,7 @@ const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
|
23670
23712
|
onMove: (position) => seal.layout = position
|
|
23671
23713
|
}, {
|
|
23672
23714
|
default: withCtx(() => [
|
|
23673
|
-
createVNode(_sfc_main$
|
|
23715
|
+
createVNode(_sfc_main$6j, {
|
|
23674
23716
|
"field-widget": seal.fieldWidget
|
|
23675
23717
|
}, null, 8, ["field-widget"])
|
|
23676
23718
|
]),
|
|
@@ -23681,7 +23723,7 @@ const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
|
23681
23723
|
};
|
|
23682
23724
|
}
|
|
23683
23725
|
});
|
|
23684
|
-
const SealLayer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23726
|
+
const SealLayer = /* @__PURE__ */ _export_sfc(_sfc_main$5D, [["__scopeId", "data-v-b9b0d166"]]);
|
|
23685
23727
|
const _hoisted_1$3a = {
|
|
23686
23728
|
cellpadding: "0",
|
|
23687
23729
|
cellspacing: "0",
|
|
@@ -23692,7 +23734,7 @@ const _hoisted_3$1M = ["data-x"];
|
|
|
23692
23734
|
const _hoisted_4$1e = ["onMouseenter"];
|
|
23693
23735
|
const _hoisted_5$Y = ["onClick"];
|
|
23694
23736
|
const _hoisted_6$J = ["data-x"];
|
|
23695
|
-
const _sfc_main$
|
|
23737
|
+
const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
23696
23738
|
__name: "table-x",
|
|
23697
23739
|
setup(__props) {
|
|
23698
23740
|
const { paper: paper2, paperLayout: paperLayout2, selection: selection2, insertCol, sheetReadonly: sheetReadonly2 } = useSpreadSheet();
|
|
@@ -23820,7 +23862,7 @@ const _hoisted_4$1d = ["data-y", "height"];
|
|
|
23820
23862
|
const _hoisted_5$X = { style: { "position": "relative" } };
|
|
23821
23863
|
const _hoisted_6$I = ["onMouseenter"];
|
|
23822
23864
|
const _hoisted_7$t = ["onClick"];
|
|
23823
|
-
const _sfc_main$
|
|
23865
|
+
const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
23824
23866
|
__name: "table-y",
|
|
23825
23867
|
setup(__props) {
|
|
23826
23868
|
const { paper: paper2, paperLayout: paperLayout2, selection: selection2, insertRow, sheetReadonly: sheetReadonly2 } = useSpreadSheet();
|
|
@@ -23914,7 +23956,7 @@ const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
|
23914
23956
|
};
|
|
23915
23957
|
}
|
|
23916
23958
|
});
|
|
23917
|
-
const _sfc_main$
|
|
23959
|
+
const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
23918
23960
|
__name: "sheet-paper",
|
|
23919
23961
|
setup(__props) {
|
|
23920
23962
|
const { paper: paper2, doc: doc2, paperLayout: paperLayout2, sheetReadonly: sheetReadonly2, addFloatingSeal } = useSpreadSheet();
|
|
@@ -23978,26 +24020,26 @@ const _sfc_main$5z = /* @__PURE__ */ defineComponent({
|
|
|
23978
24020
|
"--paper-footer-size": `${unref(paper2).padding.b}mm`
|
|
23979
24021
|
})
|
|
23980
24022
|
}, [
|
|
24023
|
+
createVNode(_sfc_main$5C),
|
|
23981
24024
|
createVNode(_sfc_main$5B),
|
|
23982
|
-
|
|
23983
|
-
unref(paper2).paperHeader ? (openBlock(), createBlock(_sfc_main$5E, {
|
|
24025
|
+
unref(paper2).paperHeader ? (openBlock(), createBlock(_sfc_main$5F, {
|
|
23984
24026
|
key: 0,
|
|
23985
24027
|
position: "header"
|
|
23986
24028
|
})) : createCommentVNode("", true),
|
|
23987
|
-
createVNode(_sfc_main$
|
|
23988
|
-
unref(paper2).paperFooter ? (openBlock(), createBlock(_sfc_main$
|
|
24029
|
+
createVNode(_sfc_main$5G),
|
|
24030
|
+
unref(paper2).paperFooter ? (openBlock(), createBlock(_sfc_main$5F, {
|
|
23989
24031
|
key: 1,
|
|
23990
24032
|
position: "footer"
|
|
23991
24033
|
})) : createCommentVNode("", true),
|
|
24034
|
+
createVNode(_sfc_main$6o),
|
|
23992
24035
|
createVNode(_sfc_main$6n),
|
|
23993
|
-
createVNode(_sfc_main$6m),
|
|
23994
24036
|
createVNode(SealLayer)
|
|
23995
24037
|
], 36);
|
|
23996
24038
|
};
|
|
23997
24039
|
}
|
|
23998
24040
|
});
|
|
23999
|
-
const SpreadSheetPaper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24000
|
-
const _sfc_main$
|
|
24041
|
+
const SpreadSheetPaper = /* @__PURE__ */ _export_sfc(_sfc_main$5A, [["__scopeId", "data-v-f0bb0bc5"]]);
|
|
24042
|
+
const _sfc_main$5z = defineComponent({
|
|
24001
24043
|
name: "SvgIcon",
|
|
24002
24044
|
props: {
|
|
24003
24045
|
prefix: {
|
|
@@ -24041,13 +24083,13 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24041
24083
|
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$38)
|
|
24042
24084
|
], 6);
|
|
24043
24085
|
}
|
|
24044
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24086
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5z, [["render", _sfc_render$f], ["__scopeId", "data-v-8cce78a3"]]);
|
|
24045
24087
|
const _hoisted_1$37 = { class: "file-form-upload-wrapper" };
|
|
24046
24088
|
const _hoisted_2$2g = { class: "file-form-upload-design" };
|
|
24047
24089
|
const _hoisted_3$1K = { style: { "pointer-events": "none" } };
|
|
24048
24090
|
const _hoisted_4$1c = { class: "file-form-upload-text" };
|
|
24049
24091
|
const _hoisted_5$W = { class: "file-form-hint" };
|
|
24050
|
-
const _sfc_main$
|
|
24092
|
+
const _sfc_main$5y = /* @__PURE__ */ defineComponent({
|
|
24051
24093
|
__name: "file-view",
|
|
24052
24094
|
setup(__props) {
|
|
24053
24095
|
return (_ctx, _cache) => {
|
|
@@ -24077,7 +24119,7 @@ const _sfc_main$5x = /* @__PURE__ */ defineComponent({
|
|
|
24077
24119
|
};
|
|
24078
24120
|
}
|
|
24079
24121
|
});
|
|
24080
|
-
const FileView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24122
|
+
const FileView = /* @__PURE__ */ _export_sfc(_sfc_main$5y, [["__scopeId", "data-v-0d062d8d"]]);
|
|
24081
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";
|
|
24082
24124
|
const _hoisted_1$36 = { class: "swapper" };
|
|
24083
24125
|
const _hoisted_2$2f = { class: "item-box" };
|
|
@@ -24088,7 +24130,7 @@ const _hoisted_6$H = {
|
|
|
24088
24130
|
key: 0,
|
|
24089
24131
|
class: "swapper-btn"
|
|
24090
24132
|
};
|
|
24091
|
-
const _sfc_main$
|
|
24133
|
+
const _sfc_main$5x = /* @__PURE__ */ defineComponent({
|
|
24092
24134
|
__name: "sheets-swapper",
|
|
24093
24135
|
props: {
|
|
24094
24136
|
readonly: { type: Boolean }
|
|
@@ -24209,11 +24251,11 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
24209
24251
|
};
|
|
24210
24252
|
}
|
|
24211
24253
|
});
|
|
24212
|
-
const SheetsSwapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24254
|
+
const SheetsSwapper = /* @__PURE__ */ _export_sfc(_sfc_main$5x, [["__scopeId", "data-v-78bf154b"]]);
|
|
24213
24255
|
const _hoisted_1$35 = { class: "sheets" };
|
|
24214
24256
|
const _hoisted_2$2e = { class: "sheets-btns" };
|
|
24215
24257
|
const _hoisted_3$1I = ["title", "onClick"];
|
|
24216
|
-
const _sfc_main$
|
|
24258
|
+
const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
24217
24259
|
__name: "index",
|
|
24218
24260
|
props: {
|
|
24219
24261
|
readonly: { type: Boolean }
|
|
@@ -24262,14 +24304,14 @@ const _sfc_main$5v = /* @__PURE__ */ defineComponent({
|
|
|
24262
24304
|
};
|
|
24263
24305
|
}
|
|
24264
24306
|
});
|
|
24265
|
-
const SheetsComp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24307
|
+
const SheetsComp = /* @__PURE__ */ _export_sfc(_sfc_main$5w, [["__scopeId", "data-v-d11b3f8f"]]);
|
|
24266
24308
|
const _hoisted_1$34 = {
|
|
24267
24309
|
key: 1,
|
|
24268
24310
|
class: "h-full w-full flex items-center justify-center"
|
|
24269
24311
|
};
|
|
24270
24312
|
const _hoisted_2$2d = { class: "spread-sheet__canvas" };
|
|
24271
24313
|
const _hoisted_3$1H = { key: 4 };
|
|
24272
|
-
const _sfc_main$
|
|
24314
|
+
const _sfc_main$5v = /* @__PURE__ */ defineComponent({
|
|
24273
24315
|
__name: "sheet-view",
|
|
24274
24316
|
props: {
|
|
24275
24317
|
loading: { type: Boolean },
|
|
@@ -24320,7 +24362,7 @@ const _sfc_main$5u = /* @__PURE__ */ defineComponent({
|
|
|
24320
24362
|
};
|
|
24321
24363
|
}
|
|
24322
24364
|
});
|
|
24323
|
-
const SpreadSheet$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24365
|
+
const SpreadSheet$1 = /* @__PURE__ */ _export_sfc(_sfc_main$5v, [["__scopeId", "data-v-76abe945"]]);
|
|
24324
24366
|
const { setDoc, setSheetMaps, setDesignMode, setCallback, platformType } = useSpreadSheet();
|
|
24325
24367
|
const { initMasterModel } = useModelFields();
|
|
24326
24368
|
const loading = ref(false);
|
|
@@ -24493,7 +24535,7 @@ function usePrint() {
|
|
|
24493
24535
|
enableReverseModeling
|
|
24494
24536
|
};
|
|
24495
24537
|
}
|
|
24496
|
-
const _sfc_main$
|
|
24538
|
+
const _sfc_main$5u = /* @__PURE__ */ defineComponent({
|
|
24497
24539
|
__name: "apaas-collect-sheet-view",
|
|
24498
24540
|
props: {
|
|
24499
24541
|
dataId: {},
|
|
@@ -24527,7 +24569,7 @@ const _sfc_main$5t = /* @__PURE__ */ defineComponent({
|
|
|
24527
24569
|
}
|
|
24528
24570
|
});
|
|
24529
24571
|
const SHOW_TMPL_KEY = /* @__PURE__ */ Symbol("onlineFormShowTmpl");
|
|
24530
|
-
const _sfc_main$
|
|
24572
|
+
const _sfc_main$5t = /* @__PURE__ */ defineComponent({
|
|
24531
24573
|
__name: "sheet-tl",
|
|
24532
24574
|
setup(__props) {
|
|
24533
24575
|
const { selectAll } = useSpreadSheet();
|
|
@@ -24566,7 +24608,7 @@ const _hoisted_2$2c = {
|
|
|
24566
24608
|
const _hoisted_3$1G = ["data-x", "width"];
|
|
24567
24609
|
const _hoisted_4$1a = ["data-x"];
|
|
24568
24610
|
const _hoisted_5$U = { class: "title-x" };
|
|
24569
|
-
const _sfc_main$
|
|
24611
|
+
const _sfc_main$5s = /* @__PURE__ */ defineComponent({
|
|
24570
24612
|
__name: "sheet-x",
|
|
24571
24613
|
setup(__props) {
|
|
24572
24614
|
const { paper: paper2, selection: selection2, resizeCol, selectCol } = useSpreadSheet();
|
|
@@ -24662,7 +24704,7 @@ const _hoisted_1$32 = {
|
|
|
24662
24704
|
const _hoisted_2$2b = ["data-y", "height"];
|
|
24663
24705
|
const _hoisted_3$1F = ["data-y"];
|
|
24664
24706
|
const _hoisted_4$19 = { class: "title-y" };
|
|
24665
|
-
const _sfc_main$
|
|
24707
|
+
const _sfc_main$5r = /* @__PURE__ */ defineComponent({
|
|
24666
24708
|
__name: "sheet-y",
|
|
24667
24709
|
setup(__props) {
|
|
24668
24710
|
const { paper: paper2, selection: selection2, resizeRow, selectRow } = useSpreadSheet();
|
|
@@ -24744,7 +24786,7 @@ const _sfc_main$5q = /* @__PURE__ */ defineComponent({
|
|
|
24744
24786
|
};
|
|
24745
24787
|
}
|
|
24746
24788
|
});
|
|
24747
|
-
const _sfc_main$
|
|
24789
|
+
const _sfc_main$5q = /* @__PURE__ */ defineComponent({
|
|
24748
24790
|
__name: "sheet-status",
|
|
24749
24791
|
setup(__props) {
|
|
24750
24792
|
const ns = useNamespace("sheet-status");
|
|
@@ -24792,7 +24834,7 @@ const _sfc_main$5p = /* @__PURE__ */ defineComponent({
|
|
|
24792
24834
|
};
|
|
24793
24835
|
}
|
|
24794
24836
|
});
|
|
24795
|
-
const SheetStatus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24837
|
+
const SheetStatus = /* @__PURE__ */ _export_sfc(_sfc_main$5q, [["__scopeId", "data-v-1db7a3a4"]]);
|
|
24796
24838
|
const toString$1 = Object.prototype.toString;
|
|
24797
24839
|
function is(val, type) {
|
|
24798
24840
|
return toString$1.call(val) === `[object ${type}]`;
|
|
@@ -24934,7 +24976,7 @@ function useClickOutside(target, options) {
|
|
|
24934
24976
|
});
|
|
24935
24977
|
}
|
|
24936
24978
|
const _hoisted_1$31 = { class: "spread-sheet__canvas" };
|
|
24937
|
-
const _sfc_main$
|
|
24979
|
+
const _sfc_main$5p = /* @__PURE__ */ defineComponent({
|
|
24938
24980
|
__name: "sheet",
|
|
24939
24981
|
props: {
|
|
24940
24982
|
loading: { type: Boolean }
|
|
@@ -25142,9 +25184,9 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
25142
25184
|
"--paper-height": unref(paperFitHeight2) + "mm"
|
|
25143
25185
|
})
|
|
25144
25186
|
}, [
|
|
25145
|
-
createVNode(_sfc_main$
|
|
25146
|
-
createVNode(_sfc_main$
|
|
25147
|
-
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" }),
|
|
25148
25190
|
createVNode(SheetStatus),
|
|
25149
25191
|
createElementVNode("div", {
|
|
25150
25192
|
class: "spread-sheet__viewport",
|
|
@@ -25166,7 +25208,7 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
25166
25208
|
};
|
|
25167
25209
|
}
|
|
25168
25210
|
});
|
|
25169
|
-
const SpreadSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25211
|
+
const SpreadSheet = /* @__PURE__ */ _export_sfc(_sfc_main$5p, [["__scopeId", "data-v-467f6f1b"]]);
|
|
25170
25212
|
const DHR_LICENSE_API = "/gct-apaas/api/dhr/license/module";
|
|
25171
25213
|
const AVAILABLE_EDITIONS = ["eDHR Max", "eDHR Ultra"];
|
|
25172
25214
|
let dhrEditionRequest;
|
|
@@ -25256,7 +25298,7 @@ const _hoisted_17$3 = ["value"];
|
|
|
25256
25298
|
const _hoisted_18$3 = { class: "presetColor" };
|
|
25257
25299
|
const _hoisted_19$3 = { class: "preset" };
|
|
25258
25300
|
const _hoisted_20$3 = ["onClick"];
|
|
25259
|
-
const _sfc_main$
|
|
25301
|
+
const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
25260
25302
|
__name: "ColorPicker",
|
|
25261
25303
|
props: {
|
|
25262
25304
|
color: { default: () => "#FFFFFF00" },
|
|
@@ -25764,8 +25806,8 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
25764
25806
|
};
|
|
25765
25807
|
}
|
|
25766
25808
|
});
|
|
25767
|
-
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25768
|
-
const _sfc_main$
|
|
25809
|
+
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$5o, [["__scopeId", "data-v-59c6cc10"]]);
|
|
25810
|
+
const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
25769
25811
|
__name: "font-family-selector",
|
|
25770
25812
|
props: {
|
|
25771
25813
|
value: {},
|
|
@@ -25817,7 +25859,7 @@ const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
|
25817
25859
|
};
|
|
25818
25860
|
}
|
|
25819
25861
|
});
|
|
25820
|
-
const _sfc_main$
|
|
25862
|
+
const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
25821
25863
|
__name: "font-size-selector",
|
|
25822
25864
|
props: {
|
|
25823
25865
|
value: {}
|
|
@@ -25869,7 +25911,7 @@ const _sfc_main$5l = /* @__PURE__ */ defineComponent({
|
|
|
25869
25911
|
};
|
|
25870
25912
|
}
|
|
25871
25913
|
});
|
|
25872
|
-
const _sfc_main$
|
|
25914
|
+
const _sfc_main$5l = /* @__PURE__ */ defineComponent({
|
|
25873
25915
|
__name: "border",
|
|
25874
25916
|
props: {
|
|
25875
25917
|
type: { default: BorderPositionEnum.all }
|
|
@@ -25882,8 +25924,8 @@ const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
|
25882
25924
|
};
|
|
25883
25925
|
}
|
|
25884
25926
|
});
|
|
25885
|
-
const BorderIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25886
|
-
const _sfc_main$
|
|
25927
|
+
const BorderIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5l, [["__scopeId", "data-v-de5c51c0"]]);
|
|
25928
|
+
const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
25887
25929
|
__name: "history-toolbar",
|
|
25888
25930
|
setup(__props) {
|
|
25889
25931
|
const ns = useNamespace("history-toolbar");
|
|
@@ -25937,7 +25979,7 @@ const _sfc_main$5j = /* @__PURE__ */ defineComponent({
|
|
|
25937
25979
|
};
|
|
25938
25980
|
}
|
|
25939
25981
|
});
|
|
25940
|
-
const HistoryToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25982
|
+
const HistoryToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$5k, [["__scopeId", "data-v-0b35407a"]]);
|
|
25941
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";
|
|
25942
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";
|
|
25943
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";
|
|
@@ -26011,7 +26053,7 @@ const _hoisted_39 = { class: "inline-media-modal__footer" };
|
|
|
26011
26053
|
const MODAL_WIDTH = 644;
|
|
26012
26054
|
const VIEWPORT_GUTTER = 16;
|
|
26013
26055
|
const TRIGGER_GAP = 8;
|
|
26014
|
-
const _sfc_main$
|
|
26056
|
+
const _sfc_main$5j = /* @__PURE__ */ defineComponent({
|
|
26015
26057
|
__name: "inline-media-modal",
|
|
26016
26058
|
props: {
|
|
26017
26059
|
uploadImage: { type: Function }
|
|
@@ -26452,7 +26494,7 @@ const _sfc_main$5i = /* @__PURE__ */ defineComponent({
|
|
|
26452
26494
|
};
|
|
26453
26495
|
}
|
|
26454
26496
|
});
|
|
26455
|
-
const InlineMediaModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26497
|
+
const InlineMediaModal = /* @__PURE__ */ _export_sfc(_sfc_main$5j, [["__scopeId", "data-v-ff9d78f2"]]);
|
|
26456
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";
|
|
26457
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";
|
|
26458
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";
|
|
@@ -26552,7 +26594,7 @@ const _hoisted_21$1 = { class: "menu-item-subtitle" };
|
|
|
26552
26594
|
const _hoisted_22$1 = { class: "flex items-center text-14px" };
|
|
26553
26595
|
const _hoisted_23$1 = ["src"];
|
|
26554
26596
|
const _hoisted_24$1 = { class: "designer__toolbar__right" };
|
|
26555
|
-
const _sfc_main$
|
|
26597
|
+
const _sfc_main$5i = /* @__PURE__ */ defineComponent({
|
|
26556
26598
|
__name: "toolbar",
|
|
26557
26599
|
setup(__props) {
|
|
26558
26600
|
const {
|
|
@@ -26755,12 +26797,12 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
26755
26797
|
_cache[27] || (_cache[27] = createElementVNode("div", { class: "vertical-divider" }, null, -1)),
|
|
26756
26798
|
createElementVNode("div", _hoisted_3$1C, [
|
|
26757
26799
|
createElementVNode("div", _hoisted_4$16, [
|
|
26758
|
-
createVNode(_sfc_main$
|
|
26800
|
+
createVNode(_sfc_main$5n, {
|
|
26759
26801
|
value: cellFontFamily.value,
|
|
26760
26802
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => cellFontFamily.value = $event),
|
|
26761
26803
|
class: "top-left"
|
|
26762
26804
|
}, null, 8, ["value"]),
|
|
26763
|
-
createVNode(_sfc_main$
|
|
26805
|
+
createVNode(_sfc_main$5m, {
|
|
26764
26806
|
value: cellFontSize.value,
|
|
26765
26807
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => cellFontSize.value = $event),
|
|
26766
26808
|
class: "w-72px top-right"
|
|
@@ -27188,9 +27230,9 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
27188
27230
|
};
|
|
27189
27231
|
}
|
|
27190
27232
|
});
|
|
27191
|
-
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27233
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$5i, [["__scopeId", "data-v-c4af26e4"]]);
|
|
27192
27234
|
const _hoisted_1$2Z = { class: "toolbar-hook-wrapper" };
|
|
27193
|
-
const _sfc_main$
|
|
27235
|
+
const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
27194
27236
|
__name: "toolbar-hook",
|
|
27195
27237
|
setup(__props) {
|
|
27196
27238
|
return (_ctx, _cache) => {
|
|
@@ -27200,8 +27242,8 @@ const _sfc_main$5g = /* @__PURE__ */ defineComponent({
|
|
|
27200
27242
|
};
|
|
27201
27243
|
}
|
|
27202
27244
|
});
|
|
27203
|
-
const ToolbarHook = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27204
|
-
const _sfc_main$
|
|
27245
|
+
const ToolbarHook = /* @__PURE__ */ _export_sfc(_sfc_main$5h, [["__scopeId", "data-v-69463b0b"]]);
|
|
27246
|
+
const _sfc_main$5g = defineComponent({
|
|
27205
27247
|
name: "GlobConfigIcon",
|
|
27206
27248
|
components: {
|
|
27207
27249
|
Icon
|
|
@@ -27256,9 +27298,9 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27256
27298
|
_: 1
|
|
27257
27299
|
});
|
|
27258
27300
|
}
|
|
27259
|
-
const GlobConfigIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27301
|
+
const GlobConfigIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5g, [["render", _sfc_render$e]]);
|
|
27260
27302
|
const _hoisted_1$2Y = { class: "toolkit-title" };
|
|
27261
|
-
const _sfc_main$
|
|
27303
|
+
const _sfc_main$5f = /* @__PURE__ */ defineComponent({
|
|
27262
27304
|
__name: "toolkit-title",
|
|
27263
27305
|
props: {
|
|
27264
27306
|
title: {}
|
|
@@ -27280,11 +27322,11 @@ const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
|
27280
27322
|
};
|
|
27281
27323
|
}
|
|
27282
27324
|
});
|
|
27283
|
-
const ToolkitTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27325
|
+
const ToolkitTitle = /* @__PURE__ */ _export_sfc(_sfc_main$5f, [["__scopeId", "data-v-6ff6d30c"]]);
|
|
27284
27326
|
const _hoisted_1$2X = { class: "wrapper" };
|
|
27285
27327
|
const _hoisted_2$27 = { class: "title" };
|
|
27286
27328
|
const _hoisted_3$1B = ["data-widget"];
|
|
27287
|
-
const _sfc_main$
|
|
27329
|
+
const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
27288
27330
|
__name: "display-widgets",
|
|
27289
27331
|
setup(__props) {
|
|
27290
27332
|
const widgetConfigList = asyncImportWidgetConfigList();
|
|
@@ -27358,7 +27400,7 @@ const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
|
27358
27400
|
};
|
|
27359
27401
|
}
|
|
27360
27402
|
});
|
|
27361
|
-
const DisplayWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27403
|
+
const DisplayWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5e, [["__scopeId", "data-v-596d5e21"]]);
|
|
27362
27404
|
const FIELD_TYPE_PANEL_LABELS = {
|
|
27363
27405
|
[FIELD_TYPE.SEAL]: "印章",
|
|
27364
27406
|
[FIELD_TYPE.REF]: "模型关联",
|
|
@@ -27392,7 +27434,7 @@ function getFieldTypeDisplayLabel(type) {
|
|
|
27392
27434
|
const _hoisted_1$2W = { class: "wrapper" };
|
|
27393
27435
|
const _hoisted_2$26 = { class: "title" };
|
|
27394
27436
|
const _hoisted_3$1A = ["data-type"];
|
|
27395
|
-
const _sfc_main$
|
|
27437
|
+
const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
27396
27438
|
__name: "form-widgets",
|
|
27397
27439
|
setup(__props) {
|
|
27398
27440
|
const isInEDHR = computed(() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR");
|
|
@@ -27450,11 +27492,11 @@ const _sfc_main$5c = /* @__PURE__ */ defineComponent({
|
|
|
27450
27492
|
};
|
|
27451
27493
|
}
|
|
27452
27494
|
});
|
|
27453
|
-
const FormWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27495
|
+
const FormWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5d, [["__scopeId", "data-v-44a9bdde"]]);
|
|
27454
27496
|
const _hoisted_1$2V = { class: "wrapper" };
|
|
27455
27497
|
const _hoisted_2$25 = { class: "title" };
|
|
27456
27498
|
const _hoisted_3$1z = ["data-type"];
|
|
27457
|
-
const _sfc_main$
|
|
27499
|
+
const _sfc_main$5c = /* @__PURE__ */ defineComponent({
|
|
27458
27500
|
__name: "trace-widgets",
|
|
27459
27501
|
setup(__props) {
|
|
27460
27502
|
const widgetConfigList = OnlineFormTraceTypes.map((type) => {
|
|
@@ -27503,11 +27545,11 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
|
|
|
27503
27545
|
};
|
|
27504
27546
|
}
|
|
27505
27547
|
});
|
|
27506
|
-
const TraceWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27548
|
+
const TraceWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5c, [["__scopeId", "data-v-b9c1e3c5"]]);
|
|
27507
27549
|
const _hoisted_1$2U = { class: "wrapper" };
|
|
27508
27550
|
const _hoisted_2$24 = { class: "title" };
|
|
27509
27551
|
const _hoisted_3$1y = ["data-type"];
|
|
27510
|
-
const _sfc_main$
|
|
27552
|
+
const _sfc_main$5b = /* @__PURE__ */ defineComponent({
|
|
27511
27553
|
__name: "business-widgets",
|
|
27512
27554
|
setup(__props) {
|
|
27513
27555
|
const widgetConfigList = OnlineFormBusinessTypes.map((type) => {
|
|
@@ -27556,9 +27598,9 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
27556
27598
|
};
|
|
27557
27599
|
}
|
|
27558
27600
|
});
|
|
27559
|
-
const BusinessWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27601
|
+
const BusinessWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5b, [["__scopeId", "data-v-2fe6e4d1"]]);
|
|
27560
27602
|
const _hoisted_1$2T = { class: "toolkit-content-widgets" };
|
|
27561
|
-
const _sfc_main$
|
|
27603
|
+
const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
27562
27604
|
__name: "toolkit-content-widgets",
|
|
27563
27605
|
setup(__props) {
|
|
27564
27606
|
const { isTextOnlineForm: isTextOnlineForm2, isEasyEdition: isEasyEdition2 } = useSpreadSheet();
|
|
@@ -27575,8 +27617,8 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
27575
27617
|
};
|
|
27576
27618
|
}
|
|
27577
27619
|
});
|
|
27578
|
-
const ToolkitContentWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27579
|
-
const _sfc_main$
|
|
27620
|
+
const ToolkitContentWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$5a, [["__scopeId", "data-v-eea7e894"]]);
|
|
27621
|
+
const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
27580
27622
|
__name: "add-field-btn",
|
|
27581
27623
|
props: {
|
|
27582
27624
|
model: { default: void 0 },
|
|
@@ -27667,7 +27709,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
27667
27709
|
};
|
|
27668
27710
|
}
|
|
27669
27711
|
});
|
|
27670
|
-
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27712
|
+
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$59, [["__scopeId", "data-v-f8255c81"]]);
|
|
27671
27713
|
function _isSlot(s) {
|
|
27672
27714
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode$1(s);
|
|
27673
27715
|
}
|
|
@@ -28271,7 +28313,7 @@ const _hoisted_2$23 = ["title"];
|
|
|
28271
28313
|
const _hoisted_3$1x = ["title"];
|
|
28272
28314
|
const _hoisted_4$15 = { class: "group-fields__content" };
|
|
28273
28315
|
const _hoisted_5$Q = ["title"];
|
|
28274
|
-
const _sfc_main$
|
|
28316
|
+
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
28275
28317
|
__name: "toolkit-content-param",
|
|
28276
28318
|
props: {
|
|
28277
28319
|
value: {}
|
|
@@ -28409,13 +28451,13 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
28409
28451
|
};
|
|
28410
28452
|
}
|
|
28411
28453
|
});
|
|
28412
|
-
const ToolkitContentParam = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28454
|
+
const ToolkitContentParam = /* @__PURE__ */ _export_sfc(_sfc_main$58, [["__scopeId", "data-v-8b0f564a"]]);
|
|
28413
28455
|
const _hoisted_1$2R = { class: "wrapper" };
|
|
28414
28456
|
const _hoisted_2$22 = {
|
|
28415
28457
|
key: 0,
|
|
28416
28458
|
class: "mt-4px"
|
|
28417
28459
|
};
|
|
28418
|
-
const _sfc_main$
|
|
28460
|
+
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
28419
28461
|
__name: "toolkit-content-params",
|
|
28420
28462
|
setup(__props) {
|
|
28421
28463
|
const { params, addParam } = useParam();
|
|
@@ -28453,9 +28495,9 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
28453
28495
|
};
|
|
28454
28496
|
}
|
|
28455
28497
|
});
|
|
28456
|
-
const ToolkitContentParams = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28498
|
+
const ToolkitContentParams = /* @__PURE__ */ _export_sfc(_sfc_main$57, [["__scopeId", "data-v-54a05379"]]);
|
|
28457
28499
|
const _hoisted_1$2Q = { class: "toolkit-code-editor__footer" };
|
|
28458
|
-
const _sfc_main$
|
|
28500
|
+
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
28459
28501
|
__name: "toolkit-code-editor",
|
|
28460
28502
|
props: {
|
|
28461
28503
|
content: {},
|
|
@@ -28715,7 +28757,7 @@ function getSuiteFeatures(suiteKey) {
|
|
|
28715
28757
|
const _hoisted_1$2P = { class: "designer__toolkit" };
|
|
28716
28758
|
const _hoisted_2$21 = { class: "text-init-data" };
|
|
28717
28759
|
const _hoisted_3$1w = { class: "text-glob" };
|
|
28718
|
-
const _sfc_main$
|
|
28760
|
+
const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
28719
28761
|
__name: "toolkit",
|
|
28720
28762
|
props: {
|
|
28721
28763
|
showParams: { type: Boolean, default: false },
|
|
@@ -28785,7 +28827,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
28785
28827
|
}
|
|
28786
28828
|
};
|
|
28787
28829
|
const openEditor = () => {
|
|
28788
|
-
GctDialog.open(_sfc_main$
|
|
28830
|
+
GctDialog.open(_sfc_main$56, {
|
|
28789
28831
|
content: formConfig2.value.javascript,
|
|
28790
28832
|
callback: (code2) => {
|
|
28791
28833
|
formConfig2.value.javascript = code2;
|
|
@@ -28935,14 +28977,14 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
28935
28977
|
};
|
|
28936
28978
|
}
|
|
28937
28979
|
});
|
|
28938
|
-
const Toolkit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28980
|
+
const Toolkit = /* @__PURE__ */ _export_sfc(_sfc_main$55, [["__scopeId", "data-v-b74e49c1"]]);
|
|
28939
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";
|
|
28940
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";
|
|
28941
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";
|
|
28942
28984
|
const _hoisted_1$2O = ["src"];
|
|
28943
28985
|
const _hoisted_2$20 = ["src"];
|
|
28944
28986
|
const _hoisted_3$1v = ["src"];
|
|
28945
|
-
const _sfc_main$
|
|
28987
|
+
const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
28946
28988
|
__name: "help-modal",
|
|
28947
28989
|
setup(__props) {
|
|
28948
28990
|
const ns = useNamespace("help-modal");
|
|
@@ -29048,7 +29090,7 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
29048
29090
|
};
|
|
29049
29091
|
}
|
|
29050
29092
|
});
|
|
29051
|
-
const HelpModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29093
|
+
const HelpModal = /* @__PURE__ */ _export_sfc(_sfc_main$54, [["__scopeId", "data-v-11653097"]]);
|
|
29052
29094
|
const _hoisted_1$2N = { class: "toolkit-hook-wrapper" };
|
|
29053
29095
|
const _hoisted_2$1$ = {
|
|
29054
29096
|
key: 0,
|
|
@@ -29057,7 +29099,7 @@ const _hoisted_2$1$ = {
|
|
|
29057
29099
|
const _hoisted_3$1u = { class: "guides" };
|
|
29058
29100
|
const _hoisted_4$14 = ["onClick"];
|
|
29059
29101
|
const _hoisted_5$P = ["onClick"];
|
|
29060
|
-
const _sfc_main$
|
|
29102
|
+
const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
29061
29103
|
__name: "toolkit-hook",
|
|
29062
29104
|
setup(__props) {
|
|
29063
29105
|
const { designMode: designMode2, setDesignMode: setDesignMode2 } = useSpreadSheet();
|
|
@@ -29139,15 +29181,15 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
29139
29181
|
};
|
|
29140
29182
|
}
|
|
29141
29183
|
});
|
|
29142
|
-
const ToolkitHook = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29143
|
-
const _sfc_main$
|
|
29184
|
+
const ToolkitHook = /* @__PURE__ */ _export_sfc(_sfc_main$53, [["__scopeId", "data-v-b1390fca"]]);
|
|
29185
|
+
const _sfc_main$52 = {};
|
|
29144
29186
|
function _sfc_render$d(_ctx, _cache) {
|
|
29145
29187
|
return openBlock(), createElementBlock("div");
|
|
29146
29188
|
}
|
|
29147
|
-
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]]);
|
|
29148
29190
|
const _hoisted_1$2M = { class: "form-item__label" };
|
|
29149
29191
|
const _hoisted_2$1_ = { class: "form-item__extra" };
|
|
29150
|
-
const _sfc_main$
|
|
29192
|
+
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
29151
29193
|
__name: "form-item",
|
|
29152
29194
|
props: {
|
|
29153
29195
|
label: {},
|
|
@@ -29187,7 +29229,7 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
29187
29229
|
};
|
|
29188
29230
|
}
|
|
29189
29231
|
});
|
|
29190
|
-
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29232
|
+
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$51, [["__scopeId", "data-v-463388f0"]]);
|
|
29191
29233
|
function ownKeys$1(object, enumerableOnly) {
|
|
29192
29234
|
var keys2 = Object.keys(object);
|
|
29193
29235
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -31860,7 +31902,7 @@ const draggableComponent = defineComponent({
|
|
|
31860
31902
|
});
|
|
31861
31903
|
const _hoisted_1$2L = ["onClick"];
|
|
31862
31904
|
const _hoisted_2$1Z = ["onClick"];
|
|
31863
|
-
const _sfc_main$
|
|
31905
|
+
const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
31864
31906
|
__name: "multiple-drop",
|
|
31865
31907
|
props: {
|
|
31866
31908
|
items: {},
|
|
@@ -31942,8 +31984,8 @@ const _sfc_main$4$ = /* @__PURE__ */ defineComponent({
|
|
|
31942
31984
|
};
|
|
31943
31985
|
}
|
|
31944
31986
|
});
|
|
31945
|
-
const MultipleDrop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31946
|
-
const _sfc_main$
|
|
31987
|
+
const MultipleDrop = /* @__PURE__ */ _export_sfc(_sfc_main$50, [["__scopeId", "data-v-337b6c42"]]);
|
|
31988
|
+
const _sfc_main$4$ = /* @__PURE__ */ defineComponent({
|
|
31947
31989
|
__name: "attach-fields-editor",
|
|
31948
31990
|
props: {
|
|
31949
31991
|
items: {},
|
|
@@ -32050,7 +32092,7 @@ const _sfc_main$4_ = /* @__PURE__ */ defineComponent({
|
|
|
32050
32092
|
};
|
|
32051
32093
|
}
|
|
32052
32094
|
});
|
|
32053
|
-
const AttachFieldEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32095
|
+
const AttachFieldEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4$, [["__scopeId", "data-v-820bec1e"]]);
|
|
32054
32096
|
const _hoisted_1$2K = { style: { "float": "right" } };
|
|
32055
32097
|
const _hoisted_2$1Y = { class: "option-container" };
|
|
32056
32098
|
const _hoisted_3$1t = { class: "option" };
|
|
@@ -32058,7 +32100,7 @@ const _hoisted_4$13 = { class: "option__label" };
|
|
|
32058
32100
|
const _hoisted_5$O = { class: "option-container" };
|
|
32059
32101
|
const _hoisted_6$D = { class: "option" };
|
|
32060
32102
|
const _hoisted_7$p = { class: "option__label" };
|
|
32061
|
-
const _sfc_main$
|
|
32103
|
+
const _sfc_main$4_ = /* @__PURE__ */ defineComponent({
|
|
32062
32104
|
__name: "boolean-props",
|
|
32063
32105
|
props: {
|
|
32064
32106
|
widget: {},
|
|
@@ -32198,7 +32240,7 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
|
32198
32240
|
};
|
|
32199
32241
|
}
|
|
32200
32242
|
});
|
|
32201
|
-
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"]]);
|
|
32202
32244
|
const DateFormatSeparators = ["-", "/", "."];
|
|
32203
32245
|
const DateFormatTemplates = [
|
|
32204
32246
|
{
|
|
@@ -32354,7 +32396,7 @@ function useDateFormatEditor(formState, fieldType) {
|
|
|
32354
32396
|
}
|
|
32355
32397
|
const _hoisted_1$2J = { class: "date-format-editor__switch" };
|
|
32356
32398
|
const _hoisted_2$1X = { class: "date-format-editor__switch_text" };
|
|
32357
|
-
const _sfc_main$
|
|
32399
|
+
const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
32358
32400
|
__name: "date-format-editor",
|
|
32359
32401
|
props: {
|
|
32360
32402
|
widget: {},
|
|
@@ -32448,7 +32490,7 @@ const _sfc_main$4Y = /* @__PURE__ */ defineComponent({
|
|
|
32448
32490
|
};
|
|
32449
32491
|
}
|
|
32450
32492
|
});
|
|
32451
|
-
const DateFormatEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32493
|
+
const DateFormatEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4Z, [["__scopeId", "data-v-49f9bd2f"]]);
|
|
32452
32494
|
const SelectEx = /* @__PURE__ */ defineComponent({
|
|
32453
32495
|
name: "SelectEx",
|
|
32454
32496
|
props: {
|
|
@@ -32714,7 +32756,7 @@ function useFormulaEditor$1(props2) {
|
|
|
32714
32756
|
fieldsOptions
|
|
32715
32757
|
};
|
|
32716
32758
|
}
|
|
32717
|
-
const _sfc_main$
|
|
32759
|
+
const _sfc_main$4Y = /* @__PURE__ */ defineComponent({
|
|
32718
32760
|
__name: "formula-editor",
|
|
32719
32761
|
props: {
|
|
32720
32762
|
modelKey: {},
|
|
@@ -32754,8 +32796,8 @@ const _sfc_main$4X = /* @__PURE__ */ defineComponent({
|
|
|
32754
32796
|
};
|
|
32755
32797
|
}
|
|
32756
32798
|
});
|
|
32757
|
-
const FormulaEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32758
|
-
const _sfc_main$
|
|
32799
|
+
const FormulaEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4Y, [["__scopeId", "data-v-42c0c00b"]]);
|
|
32800
|
+
const _sfc_main$4X = /* @__PURE__ */ defineComponent({
|
|
32759
32801
|
__name: "date-range-editor",
|
|
32760
32802
|
props: {
|
|
32761
32803
|
fieldMeta: {},
|
|
@@ -32981,8 +33023,8 @@ const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
|
32981
33023
|
};
|
|
32982
33024
|
}
|
|
32983
33025
|
});
|
|
32984
|
-
const DateRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32985
|
-
const _sfc_main$
|
|
33026
|
+
const DateRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4X, [["__scopeId", "data-v-0d979f2b"]]);
|
|
33027
|
+
const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
32986
33028
|
__name: "default-date-editor",
|
|
32987
33029
|
props: {
|
|
32988
33030
|
widget: {},
|
|
@@ -33061,7 +33103,7 @@ const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
|
33061
33103
|
};
|
|
33062
33104
|
}
|
|
33063
33105
|
});
|
|
33064
|
-
const _sfc_main$
|
|
33106
|
+
const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
33065
33107
|
__name: "date-time-props",
|
|
33066
33108
|
props: {
|
|
33067
33109
|
fieldMeta: {},
|
|
@@ -33126,7 +33168,7 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
|
|
|
33126
33168
|
"field-type": __props.fieldType,
|
|
33127
33169
|
disabled: __props.disabled
|
|
33128
33170
|
}, null, 8, ["widget", "field-type", "disabled"])) : createCommentVNode("", true),
|
|
33129
|
-
showDefaultValue.value ? (openBlock(), createBlock(_sfc_main$
|
|
33171
|
+
showDefaultValue.value ? (openBlock(), createBlock(_sfc_main$4W, {
|
|
33130
33172
|
key: 2,
|
|
33131
33173
|
widget: props2.widget,
|
|
33132
33174
|
"field-type": __props.fieldType,
|
|
@@ -33144,7 +33186,7 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
|
|
|
33144
33186
|
};
|
|
33145
33187
|
}
|
|
33146
33188
|
});
|
|
33147
|
-
const _sfc_main$
|
|
33189
|
+
const _sfc_main$4U = /* @__PURE__ */ defineComponent({
|
|
33148
33190
|
__name: "indices-editor",
|
|
33149
33191
|
props: {
|
|
33150
33192
|
scriptValue: {},
|
|
@@ -33216,8 +33258,8 @@ const _sfc_main$4T = /* @__PURE__ */ defineComponent({
|
|
|
33216
33258
|
};
|
|
33217
33259
|
}
|
|
33218
33260
|
});
|
|
33219
|
-
const IndicesEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33220
|
-
const _sfc_main$
|
|
33261
|
+
const IndicesEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4U, [["__scopeId", "data-v-97c50769"]]);
|
|
33262
|
+
const _sfc_main$4T = /* @__PURE__ */ defineComponent({
|
|
33221
33263
|
__name: "number-range-editor",
|
|
33222
33264
|
props: {
|
|
33223
33265
|
fieldMeta: {},
|
|
@@ -33241,7 +33283,9 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
33241
33283
|
const minInputKey = ref(0);
|
|
33242
33284
|
const maxInputRef = ref(null);
|
|
33243
33285
|
const minInputRef = ref(null);
|
|
33244
|
-
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);
|
|
33245
33289
|
const fitsLength = (number2) => {
|
|
33246
33290
|
const digits = props2.precision;
|
|
33247
33291
|
const display = typeof digits === "number" && Number.isInteger(digits) && digits >= 0 ? number2.toFixed(digits) : number2.toFixed();
|
|
@@ -33345,22 +33389,14 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
33345
33389
|
{ label: $t("sys.rangeCompareOp.ge"), value: RangeCompareOp.GE },
|
|
33346
33390
|
{ label: $t("sys.rangeCompareOp.gt"), value: RangeCompareOp.GT }
|
|
33347
33391
|
];
|
|
33348
|
-
const minLimit = computed(() => {
|
|
33349
|
-
|
|
33350
|
-
|
|
33351
|
-
|
|
33352
|
-
|
|
33353
|
-
|
|
33354
|
-
|
|
33355
|
-
});
|
|
33356
|
-
const maxLimit = computed(() => {
|
|
33357
|
-
const lowerLimit = isNil(formState.value.min) ? -Infinity : formState.value.min;
|
|
33358
|
-
const upperLimit = Infinity;
|
|
33359
|
-
return {
|
|
33360
|
-
lowerLimit,
|
|
33361
|
-
upperLimit
|
|
33362
|
-
};
|
|
33363
|
-
});
|
|
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
|
+
}));
|
|
33364
33400
|
return (_ctx, _cache) => {
|
|
33365
33401
|
const _component_a_switch = resolveComponent("a-switch");
|
|
33366
33402
|
const _component_a_select = resolveComponent("a-select");
|
|
@@ -33524,13 +33560,263 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
33524
33560
|
};
|
|
33525
33561
|
}
|
|
33526
33562
|
});
|
|
33527
|
-
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
|
+
});
|
|
33528
33811
|
const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
33529
33812
|
__name: "default-value-editor",
|
|
33530
33813
|
props: {
|
|
33531
33814
|
widget: {},
|
|
33532
33815
|
precision: {},
|
|
33533
|
-
disabled: { type: Boolean }
|
|
33816
|
+
disabled: { type: Boolean },
|
|
33817
|
+
maxDigits: { default: 15 },
|
|
33818
|
+
maxValue: {},
|
|
33819
|
+
numberLimits: {}
|
|
33534
33820
|
},
|
|
33535
33821
|
setup(__props) {
|
|
33536
33822
|
const props2 = __props;
|
|
@@ -33542,52 +33828,15 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
33542
33828
|
Object.assign(props2.widget, v);
|
|
33543
33829
|
}
|
|
33544
33830
|
});
|
|
33545
|
-
const
|
|
33546
|
-
|
|
33547
|
-
|
|
33548
|
-
|
|
33549
|
-
|
|
33550
|
-
const display = typeof digits === "number" && Number.isInteger(digits) && digits >= 0 ? number2.toFixed(digits) : number2.toFixed();
|
|
33551
|
-
return withinLimit(display);
|
|
33552
|
-
};
|
|
33553
|
-
const canInput = (text) => {
|
|
33554
|
-
if (!withinLimit(text)) return false;
|
|
33555
|
-
const number2 = new BigNumber(text);
|
|
33556
|
-
return number2.isNaN() || fitsLength(number2);
|
|
33557
|
-
};
|
|
33558
|
-
const nextInput = (input, insertedText) => {
|
|
33559
|
-
const start = input.selectionStart ?? input.value.length;
|
|
33560
|
-
const end = input.selectionEnd ?? start;
|
|
33561
|
-
return input.value.slice(0, start) + insertedText + input.value.slice(end);
|
|
33562
|
-
};
|
|
33563
|
-
const onBeforeInput = (event2) => {
|
|
33564
|
-
if (!event2.inputType.startsWith("insert") || event2.isComposing) return;
|
|
33565
|
-
const text = event2.data ?? event2.dataTransfer?.getData("text");
|
|
33566
|
-
if (text == null) return;
|
|
33567
|
-
if (!canInput(nextInput(event2.target, text))) event2.preventDefault();
|
|
33568
|
-
};
|
|
33569
|
-
const onPaste = (event2) => {
|
|
33570
|
-
const text = event2.clipboardData?.getData("text");
|
|
33571
|
-
if (text == null) return;
|
|
33572
|
-
if (!canInput(nextInput(event2.target, text))) event2.preventDefault();
|
|
33573
|
-
};
|
|
33574
|
-
const onInput = (text) => {
|
|
33575
|
-
if (canInput(text)) return;
|
|
33576
|
-
inputKey.value += 1;
|
|
33577
|
-
nextTick(() => inputRef.value?.focus());
|
|
33578
|
-
};
|
|
33831
|
+
const effectiveNumberLimits = computed(() => ({
|
|
33832
|
+
maxDigits: props2.maxDigits,
|
|
33833
|
+
maxValue: props2.maxValue,
|
|
33834
|
+
...props2.numberLimits
|
|
33835
|
+
}));
|
|
33579
33836
|
const limitedDefaultValue = computed({
|
|
33580
33837
|
get: () => props2.widget.defaultValue ?? null,
|
|
33581
33838
|
set: (value) => {
|
|
33582
|
-
|
|
33583
|
-
props2.widget.defaultValue = void 0;
|
|
33584
|
-
return;
|
|
33585
|
-
}
|
|
33586
|
-
const number2 = new BigNumber(value);
|
|
33587
|
-
if (!number2.isFinite()) return;
|
|
33588
|
-
if (fitsLength(number2)) {
|
|
33589
|
-
props2.widget.defaultValue = value;
|
|
33590
|
-
}
|
|
33839
|
+
props2.widget.defaultValue = value ?? void 0;
|
|
33591
33840
|
}
|
|
33592
33841
|
});
|
|
33593
33842
|
const attrs = computed(() => {
|
|
@@ -33604,19 +33853,18 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
33604
33853
|
});
|
|
33605
33854
|
}
|
|
33606
33855
|
}
|
|
33856
|
+
if (props2.maxValue != null) {
|
|
33857
|
+
params.max = params.max == null ? props2.maxValue : BigNumber.minimum(params.max, props2.maxValue).toFixed();
|
|
33858
|
+
}
|
|
33607
33859
|
return params;
|
|
33608
33860
|
});
|
|
33609
33861
|
return (_ctx, _cache) => {
|
|
33610
|
-
const _component_a_input_number = resolveComponent("a-input-number");
|
|
33611
33862
|
return openBlock(), createBlock(FormItem, {
|
|
33612
33863
|
label: `${_ctx.$t("sys.defaultValue")}`,
|
|
33613
33864
|
inline: false
|
|
33614
33865
|
}, {
|
|
33615
33866
|
default: withCtx(() => [
|
|
33616
|
-
(
|
|
33617
|
-
key: inputKey.value,
|
|
33618
|
-
ref_key: "inputRef",
|
|
33619
|
-
ref: inputRef,
|
|
33867
|
+
createVNode(_sfc_main$4S, mergeProps({
|
|
33620
33868
|
"string-mode": "",
|
|
33621
33869
|
precision: __props.precision,
|
|
33622
33870
|
size: "small",
|
|
@@ -33625,11 +33873,8 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
33625
33873
|
placeholder: _ctx.$t("sys.inputText")
|
|
33626
33874
|
}, attrs.value, {
|
|
33627
33875
|
disabled: __props.disabled,
|
|
33628
|
-
|
|
33629
|
-
|
|
33630
|
-
onPaste,
|
|
33631
|
-
onInput
|
|
33632
|
-
}), null, 16, ["precision", "value", "placeholder", "disabled"]))
|
|
33876
|
+
limits: effectiveNumberLimits.value
|
|
33877
|
+
}), null, 16, ["precision", "value", "placeholder", "disabled", "limits"])
|
|
33633
33878
|
]),
|
|
33634
33879
|
_: 1
|
|
33635
33880
|
}, 8, ["label"]);
|
|
@@ -35116,8 +35361,9 @@ const _sfc_main$4B = /* @__PURE__ */ defineComponent({
|
|
|
35116
35361
|
createVNode(_sfc_main$4R, {
|
|
35117
35362
|
widget: __props.widget,
|
|
35118
35363
|
precision: 0,
|
|
35119
|
-
disabled: __props.disabled
|
|
35120
|
-
|
|
35364
|
+
disabled: __props.disabled,
|
|
35365
|
+
"number-limits": unref(getNumberFieldLimits)(__props.fieldMeta ?? {})
|
|
35366
|
+
}, null, 8, ["widget", "disabled", "number-limits"]),
|
|
35121
35367
|
__props.fieldMeta?.bizType !== unref(FIELD_TYPE).OF_INST_NUM ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
35122
35368
|
createVNode(NumberRangeEditor, {
|
|
35123
35369
|
widget: __props.widget,
|
|
@@ -45630,7 +45876,7 @@ function resolveSignImageUrl(url, callback) {
|
|
|
45630
45876
|
return `${window.NocodeAdapter.minioPath}${!url.startsWith("/") ? `/${url}` : url}`;
|
|
45631
45877
|
}
|
|
45632
45878
|
function resolveFallbackSignType(type) {
|
|
45633
|
-
return type === FallbackSignTypeEnum.
|
|
45879
|
+
return type === FallbackSignTypeEnum.NAME_AND_DATE ? FallbackSignTypeEnum.NAME_AND_DATE : FallbackSignTypeEnum.NAME_ONLY;
|
|
45634
45880
|
}
|
|
45635
45881
|
function resolveSignatureImageDirection(direction) {
|
|
45636
45882
|
return direction === SignatureImageDirectionEnum.VERTICAL ? SignatureImageDirectionEnum.VERTICAL : SignatureImageDirectionEnum.HORIZONTAL;
|
|
@@ -46678,7 +46924,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
46678
46924
|
});
|
|
46679
46925
|
const _fallbackSignType = computed({
|
|
46680
46926
|
get() {
|
|
46681
|
-
return formState.value.fallbackSignType || FallbackSignTypeEnum.
|
|
46927
|
+
return formState.value.fallbackSignType || FallbackSignTypeEnum.NAME_ONLY;
|
|
46682
46928
|
},
|
|
46683
46929
|
set(v) {
|
|
46684
46930
|
formState.value.fallbackSignType = v;
|
|
@@ -47025,7 +47271,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
47025
47271
|
};
|
|
47026
47272
|
}
|
|
47027
47273
|
});
|
|
47028
|
-
const __vite_glob_0_13$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4f, [["__scopeId", "data-v-
|
|
47274
|
+
const __vite_glob_0_13$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4f, [["__scopeId", "data-v-df811504"]]);
|
|
47029
47275
|
const _hoisted_1$2l = { class: "number-range" };
|
|
47030
47276
|
const _hoisted_2$1F = { class: "middle" };
|
|
47031
47277
|
const _hoisted_3$1i = { class: "length-sep" };
|
|
@@ -49804,7 +50050,7 @@ const _sfc_main$3$ = /* @__PURE__ */ defineComponent({
|
|
|
49804
50050
|
"field-type": fixedFieldType.value,
|
|
49805
50051
|
disabled: __props.disabled
|
|
49806
50052
|
}, null, 8, ["widget", "field-type", "disabled"])) : createCommentVNode("", true),
|
|
49807
|
-
isTraceDate.value && !__props.readonly ? (openBlock(), createBlock(_sfc_main$
|
|
50053
|
+
isTraceDate.value && !__props.readonly ? (openBlock(), createBlock(_sfc_main$4W, {
|
|
49808
50054
|
key: 8,
|
|
49809
50055
|
widget: props2.widget,
|
|
49810
50056
|
"field-type": __props.fieldType,
|
|
@@ -50801,7 +51047,7 @@ const widgetPropsMap = toComponentMap(
|
|
|
50801
51047
|
/* @__PURE__ */ Object.assign({
|
|
50802
51048
|
"./agg/agg-props.vue": __vite_glob_0_0$3,
|
|
50803
51049
|
"./boolean/boolean-props.vue": __vite_glob_0_1$3,
|
|
50804
|
-
"./date-time/date-time-props.vue": _sfc_main$
|
|
51050
|
+
"./date-time/date-time-props.vue": _sfc_main$4V,
|
|
50805
51051
|
"./decimal/decimal-props.vue": __vite_glob_0_3$2,
|
|
50806
51052
|
"./double/double-props.vue": _sfc_main$4O,
|
|
50807
51053
|
"./enum/enum-props.vue": __vite_glob_0_5$2,
|
|
@@ -51787,9 +52033,19 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
51787
52033
|
desc: `工艺参数合格校验(参数字段KEY,参数字段)
|
|
51788
52034
|
根据表单填报的参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
51789
52035
|
示例
|
|
51790
|
-
工艺参数合格校验('gycs',工艺参数)
|
|
52036
|
+
工艺参数合格校验('gycs',工艺参数)==true`,
|
|
51791
52037
|
definition: "declare function RoutingParamCheck(key:string; value: number): Promise<boolean | null>;"
|
|
51792
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
|
+
},
|
|
51793
52049
|
{
|
|
51794
52050
|
id: "InspectionParamCheck",
|
|
51795
52051
|
returnType: "boolean",
|
|
@@ -51797,7 +52053,7 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
51797
52053
|
desc: `检验参数合格校验(参数字段KEY,参数字段)
|
|
51798
52054
|
根据表单填报的参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
51799
52055
|
示例
|
|
51800
|
-
检验参数合格校验('mjwd',灭菌温度)
|
|
52056
|
+
检验参数合格校验('mjwd',灭菌温度)==true`,
|
|
51801
52057
|
definition: "declare function InspectionParamCheck(key:string; value: number): Promise<boolean | null>;"
|
|
51802
52058
|
}
|
|
51803
52059
|
]
|
|
@@ -51998,7 +52254,7 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
51998
52254
|
};
|
|
51999
52255
|
}
|
|
52000
52256
|
});
|
|
52001
|
-
const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeId", "data-v-
|
|
52257
|
+
const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeId", "data-v-09db0786"]]);
|
|
52002
52258
|
const _hoisted_1$26 = { class: "text-[#C3C3C3] text-12px mb8px" };
|
|
52003
52259
|
const _hoisted_2$1w = { class: "ks-row" };
|
|
52004
52260
|
const _hoisted_3$1c = { class: "mr-auto" };
|
|
@@ -52754,7 +53010,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
52754
53010
|
}
|
|
52755
53011
|
});
|
|
52756
53012
|
function asyncImportWidgetProp() {
|
|
52757
|
-
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") });
|
|
52758
53014
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
52759
53015
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
52760
53016
|
if (mKey) {
|
|
@@ -62183,7 +62439,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
62183
62439
|
onSelect: onClearAll
|
|
62184
62440
|
}, null, 8, ["value"]),
|
|
62185
62441
|
_cache[9] || (_cache[9] = createElementVNode("div", { class: "split" }, null, -1)),
|
|
62186
|
-
joinModelType.value === unref(JoinModelTypeEum).FormModel ? (openBlock(), createBlock(unref(_sfc_main$
|
|
62442
|
+
joinModelType.value === unref(JoinModelTypeEum).FormModel ? (openBlock(), createBlock(unref(_sfc_main$6t), {
|
|
62187
62443
|
key: 0,
|
|
62188
62444
|
class: "custom-select",
|
|
62189
62445
|
placeholder: _ctx.$t("sys.cardDesign.form.modelRequired"),
|
|
@@ -63538,11 +63794,18 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
63538
63794
|
renderScript: {},
|
|
63539
63795
|
digits: {},
|
|
63540
63796
|
enableStepCounter: { type: Boolean },
|
|
63541
|
-
rules: {}
|
|
63797
|
+
rules: {},
|
|
63798
|
+
numberLimits: {}
|
|
63542
63799
|
},
|
|
63543
63800
|
emits: ["update:doubleValue", "change", "blur"],
|
|
63544
63801
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
63545
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
|
+
}));
|
|
63546
63809
|
const emit2 = __emit;
|
|
63547
63810
|
const inputAttr2 = ref({});
|
|
63548
63811
|
const inputNumberRef = ref();
|
|
@@ -63627,7 +63890,16 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
63627
63890
|
}
|
|
63628
63891
|
};
|
|
63629
63892
|
const commitValue = (raw, emitChange) => {
|
|
63893
|
+
const limits = effectiveNumberLimits.value;
|
|
63894
|
+
if (!isNumberCommitAllowed(raw, limits)) {
|
|
63895
|
+
inputNumberRef.value?.reset();
|
|
63896
|
+
return props2.doubleValue;
|
|
63897
|
+
}
|
|
63630
63898
|
const { val, precision } = getFormatterValue(raw);
|
|
63899
|
+
if (!isNumberCommitAllowed(val, limits)) {
|
|
63900
|
+
inputNumberRef.value?.reset();
|
|
63901
|
+
return props2.doubleValue;
|
|
63902
|
+
}
|
|
63631
63903
|
setInputAttr(precision);
|
|
63632
63904
|
emit2("update:doubleValue", val);
|
|
63633
63905
|
{
|
|
@@ -63660,12 +63932,12 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
63660
63932
|
onInputChange
|
|
63661
63933
|
});
|
|
63662
63934
|
return (_ctx, _cache) => {
|
|
63663
|
-
|
|
63664
|
-
return openBlock(), createBlock(_component_a_input_number, mergeProps({
|
|
63935
|
+
return openBlock(), createBlock(_sfc_main$4S, mergeProps({
|
|
63665
63936
|
ref_key: "inputNumberRef",
|
|
63666
63937
|
ref: inputNumberRef
|
|
63667
63938
|
}, inputAttr2.value, {
|
|
63668
63939
|
value: inputValue.value,
|
|
63940
|
+
limits: effectiveNumberLimits.value,
|
|
63669
63941
|
onChange: onInputChange,
|
|
63670
63942
|
onBlur,
|
|
63671
63943
|
onPressEnter
|
|
@@ -63685,7 +63957,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
63685
63957
|
]),
|
|
63686
63958
|
key: "1"
|
|
63687
63959
|
} : void 0
|
|
63688
|
-
]), 1040, ["value"]);
|
|
63960
|
+
]), 1040, ["value", "limits"]);
|
|
63689
63961
|
};
|
|
63690
63962
|
}
|
|
63691
63963
|
});
|
|
@@ -63702,7 +63974,8 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
63702
63974
|
precision: {},
|
|
63703
63975
|
renderScript: {},
|
|
63704
63976
|
enableStepCounter: { type: Boolean },
|
|
63705
|
-
stepCounter: {}
|
|
63977
|
+
stepCounter: {},
|
|
63978
|
+
numberLimits: {}
|
|
63706
63979
|
},
|
|
63707
63980
|
emits: ["update:modelValue", "change", "blur", "focus", "pressEnter"],
|
|
63708
63981
|
setup(__props, { emit: __emit }) {
|
|
@@ -63723,8 +63996,11 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
63723
63996
|
const onFocus = (e) => emit2("focus", e);
|
|
63724
63997
|
const onPressEnter = (e) => emit2("pressEnter", e);
|
|
63725
63998
|
const onInternalStep = (up) => {
|
|
63726
|
-
|
|
63727
|
-
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();
|
|
63728
64004
|
inputRef.value?.onChangeValue?.({ target: { value: next } });
|
|
63729
64005
|
};
|
|
63730
64006
|
return (_ctx, _cache) => {
|
|
@@ -63744,6 +64020,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
63744
64020
|
renderScript: __props.renderScript,
|
|
63745
64021
|
enableStepCounter: __props.enableStepCounter,
|
|
63746
64022
|
onEnter: onPressEnter,
|
|
64023
|
+
"number-limits": __props.numberLimits,
|
|
63747
64024
|
onChange,
|
|
63748
64025
|
onBlur,
|
|
63749
64026
|
onFocus
|
|
@@ -63772,11 +64049,11 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
63772
64049
|
]),
|
|
63773
64050
|
key: "1"
|
|
63774
64051
|
} : void 0
|
|
63775
|
-
]), 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"]);
|
|
63776
64053
|
};
|
|
63777
64054
|
}
|
|
63778
64055
|
});
|
|
63779
|
-
const CellNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__scopeId", "data-v-
|
|
64056
|
+
const CellNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__scopeId", "data-v-7f457adc"]]);
|
|
63780
64057
|
const DEFAULT_LIST_HEIGHT = 256;
|
|
63781
64058
|
const MIN_LIST_HEIGHT = 32;
|
|
63782
64059
|
const DROPDOWN_CHROME_HEIGHT = 90;
|
|
@@ -67244,6 +67521,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
67244
67521
|
createVNode(unref(CellNumberInput), {
|
|
67245
67522
|
modelValue: unref(value),
|
|
67246
67523
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(value) ? value.value = $event : null),
|
|
67524
|
+
"number-limits": unref(getNumberFieldLimits)(__props.widget.props),
|
|
67247
67525
|
placeholder: unref(placeholder),
|
|
67248
67526
|
disabled: unref(showDisabled),
|
|
67249
67527
|
required: unref(showRequired),
|
|
@@ -67253,7 +67531,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
67253
67531
|
onBlur: unref(onBlur),
|
|
67254
67532
|
onFocus: _ctx.$attrs.onFocus,
|
|
67255
67533
|
onPressEnter: unref(onPressEnter)
|
|
67256
|
-
}, 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"])
|
|
67257
67535
|
]),
|
|
67258
67536
|
_: 1
|
|
67259
67537
|
}, 8, ["modelValue", "widget", "formData", "renderScript", "annotationInfo"]);
|
|
@@ -67391,6 +67669,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
67391
67669
|
key: 1,
|
|
67392
67670
|
modelValue: unref(value),
|
|
67393
67671
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(value) ? value.value = $event : null),
|
|
67672
|
+
"number-limits": unref(getNumberFieldLimits)(__props.widget.props),
|
|
67394
67673
|
placeholder: unref(placeholder),
|
|
67395
67674
|
disabled: unref(showDisabled),
|
|
67396
67675
|
required: unref(showRequired),
|
|
@@ -67405,7 +67684,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
67405
67684
|
onBlur: unref(onBlur),
|
|
67406
67685
|
onFocus: _ctx.$attrs.onFocus,
|
|
67407
67686
|
onPressEnter: unref(onPressEnter)
|
|
67408
|
-
}, 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"]))
|
|
67409
67688
|
]),
|
|
67410
67689
|
_: 1
|
|
67411
67690
|
}, 8, ["modelValue", "widget", "formData", "renderScript", "annotationInfo"]);
|
|
@@ -70087,7 +70366,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
70087
70366
|
}
|
|
70088
70367
|
});
|
|
70089
70368
|
const VueVideoPlayer = defineAsyncComponent(
|
|
70090
|
-
() => import("./VueVideoPlayer-
|
|
70369
|
+
() => import("./VueVideoPlayer-DhyIm-g1.js")
|
|
70091
70370
|
);
|
|
70092
70371
|
const _hoisted_1$17 = {
|
|
70093
70372
|
key: 0,
|
|
@@ -74067,6 +74346,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
74067
74346
|
const props2 = __props;
|
|
74068
74347
|
const emit2 = __emit;
|
|
74069
74348
|
const paperInfo = inject(NCB_PROVIDE.PAGER);
|
|
74349
|
+
const formModel = useFormModel().injectController();
|
|
74070
74350
|
const { onChange, realFieldId, annotationInfo, patchRow } = useNocodeFormWidget(props2, emit2);
|
|
74071
74351
|
const {
|
|
74072
74352
|
signatureType,
|
|
@@ -74075,7 +74355,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
74075
74355
|
signTimeType,
|
|
74076
74356
|
signatureNumber = SignatureNumberTypeEnum.SIGNATURE_MULTIPLE,
|
|
74077
74357
|
signDisplayMode,
|
|
74078
|
-
fallbackSignType = FallbackSignTypeEnum.
|
|
74358
|
+
fallbackSignType = FallbackSignTypeEnum.NAME_ONLY,
|
|
74079
74359
|
signatureImageDirection = SignatureImageDirectionEnum.HORIZONTAL,
|
|
74080
74360
|
populateFields,
|
|
74081
74361
|
autofillRules,
|
|
@@ -74140,8 +74420,14 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
74140
74420
|
const validationResult = await instance.value.validation.validate("all", validationPaths);
|
|
74141
74421
|
if (validationResult && !validationResult.isValid) {
|
|
74142
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";
|
|
74143
74429
|
const controlFieldName = $t(
|
|
74144
|
-
controlField === "reviewer_" ? "sys.fixedTableReviewer" :
|
|
74430
|
+
controlField === "reviewer_" ? "sys.fixedTableReviewer" : operatorLabelKey
|
|
74145
74431
|
);
|
|
74146
74432
|
const title = $t("sys.fixedTableSignatureValidationTitle");
|
|
74147
74433
|
const description = $t("sys.fixedTableSignatureValidationFailed", {
|
|
@@ -88427,7 +88713,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
88427
88713
|
help: getSubstituteProductError(record) || void 0
|
|
88428
88714
|
}, {
|
|
88429
88715
|
default: withCtx(() => [
|
|
88430
|
-
createVNode(_sfc_main$
|
|
88716
|
+
createVNode(_sfc_main$6u, {
|
|
88431
88717
|
"model-value": record.product_id_ || void 0,
|
|
88432
88718
|
"model-key": "em_product",
|
|
88433
88719
|
placeholder: _ctx.$t("sys.chooseText"),
|
|
@@ -88802,7 +89088,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
88802
89088
|
help: getMainProductError() || void 0
|
|
88803
89089
|
}, {
|
|
88804
89090
|
default: withCtx(() => [
|
|
88805
|
-
createVNode(_sfc_main$
|
|
89091
|
+
createVNode(_sfc_main$6u, {
|
|
88806
89092
|
"model-value": unref(formState).product_id_ || void 0,
|
|
88807
89093
|
"model-key": "em_product",
|
|
88808
89094
|
placeholder: _ctx.$t("sys.chooseText"),
|
|
@@ -90913,8 +91199,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
90913
91199
|
printTask = (async () => {
|
|
90914
91200
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
90915
91201
|
await nextTick();
|
|
90916
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
90917
|
-
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");
|
|
90918
91204
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
90919
91205
|
printRenderer.value = markRaw(renderer);
|
|
90920
91206
|
await printRuntimeInstance(
|
|
@@ -91062,7 +91348,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
91062
91348
|
provide(NCB_PROVIDE.RUNTIME_INSTANCE_REGISTRY, runtimeRegistry);
|
|
91063
91349
|
initWebPaasUploadApis();
|
|
91064
91350
|
return (_ctx, _cache) => {
|
|
91065
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
91351
|
+
return openBlock(), createBlock(unref(_sfc_main$6v), {
|
|
91066
91352
|
loading: __props.loading,
|
|
91067
91353
|
"has-data": __props.hasData,
|
|
91068
91354
|
error: unref(runtimeRegistry).loadState.error?.message
|
|
@@ -92687,7 +92973,7 @@ export {
|
|
|
92687
92973
|
_sfc_main$2P as H,
|
|
92688
92974
|
INVENTORY_QUICK_SEARCH_FIELDS as I,
|
|
92689
92975
|
apaasCollect as J,
|
|
92690
|
-
_sfc_main$
|
|
92976
|
+
_sfc_main$5u as K,
|
|
92691
92977
|
LeftOutlined as L,
|
|
92692
92978
|
_sfc_main$y as M,
|
|
92693
92979
|
_sfc_main$x as N,
|
|
@@ -92739,12 +93025,12 @@ export {
|
|
|
92739
93025
|
commonjsRequire as c,
|
|
92740
93026
|
captureRuntimePrintSnapshot as d,
|
|
92741
93027
|
waitPrintImages as e,
|
|
92742
|
-
_sfc_main$
|
|
93028
|
+
_sfc_main$6j as f,
|
|
92743
93029
|
getFieldWidget as g,
|
|
92744
93030
|
useModelFields as h,
|
|
92745
93031
|
isSterilizationLotField as i,
|
|
92746
93032
|
calcText as j,
|
|
92747
|
-
_sfc_main$
|
|
93033
|
+
_sfc_main$5X as k,
|
|
92748
93034
|
loadBwip as l,
|
|
92749
93035
|
useDrop as m,
|
|
92750
93036
|
normalizeSpacerWidth as n,
|
|
@@ -92759,5 +93045,5 @@ export {
|
|
|
92759
93045
|
waitPrintFonts as w,
|
|
92760
93046
|
LineStyleOptions as x,
|
|
92761
93047
|
PaginationFormatOptions as y,
|
|
92762
|
-
_sfc_main$
|
|
93048
|
+
_sfc_main$5n as z
|
|
92763
93049
|
};
|