@gct-paas/excel 0.1.40-beta.8 → 0.1.40-beta.9
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-CELRDc47.js → BaseComponent-DKaXUiq4.js} +2 -2
- package/dist/{VueVideoPlayer-CQ3WMohj.js → VueVideoPlayer-BeylL5J6.js} +2 -2
- package/dist/{align-editor-BjxHuSxl.js → align-editor-r0dHXFka.js} +1 -1
- package/dist/{barcode-design-BDHtEF3j.js → barcode-design-BTNQYLEC.js} +2 -2
- package/dist/base/index.es.js +10 -10
- package/dist/{diagonal-design-DLxRO_uM.js → diagonal-design-ByuNrPs-.js} +2 -2
- package/dist/{dynamic-table-action-C_1EGXMe.js → dynamic-table-action-CHY5xNLE.js} +7 -6
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js} +87 -62
- package/dist/{edit.utils-CXmmCnxE-C1w2rhHM.js → edit.utils-CXmmCnxE-Cu6obgSA.js} +1 -1
- package/dist/excel.css +128 -131
- package/dist/{exceljs.min-rIUD8u2M.js → exceljs.min-BAX9-ZsR.js} +2 -2
- package/dist/{font-editor-DWmzS_0C.js → font-editor-DiFflAdU.js} +3 -3
- package/dist/{image-design-Cjob0qMO.js → image-design-FDLY6DFg.js} +2 -2
- package/dist/{index-Refavqkv.js → index-2WkF904L.js} +5 -4
- package/dist/{index-RV5ozdPP.js → index-7u6Pmaax.js} +1 -1
- package/dist/{index-BeYN1fxt.js → index-AGp5c3cl.js} +2 -2
- package/dist/{index-DiNxihKr.js → index-B-hfUWEs.js} +2 -2
- package/dist/{index-BHxDpc-C.js → index-B8pwnxas.js} +2 -2
- package/dist/{index-BzBMhjxB.js → index-BCsDTwbK.js} +1 -1
- package/dist/{index-C-F1u_o7.js → index-BIeu5JwZ.js} +2 -2
- package/dist/{index-Bn5H-iFV.js → index-BTfYHAPC.js} +2 -2
- package/dist/{index-BgsXETEd.js → index-BdFPuj12.js} +1 -1
- package/dist/{index-Bw67kX4Y.js → index-C3SyXJii.js} +2 -2
- package/dist/{index-poil0x4K.js → index-C6jVSwAq.js} +2 -2
- package/dist/{index-CHS101Sz.js → index-C8LoodYv.js} +3 -3
- package/dist/{index-BLpDtBBv.js → index-CFVecFFb.js} +2 -2
- package/dist/{index-CIkhaEj4.js → index-CRIhEnfm.js} +1 -1
- package/dist/{index-U90xa0_k.js → index-CbmHekMw.js} +2 -2
- package/dist/{index--kolAY9o.js → index-ChINVccu.js} +3 -3
- package/dist/{index-DdxuhIJY.js → index-D3s4H_1P.js} +6 -3
- package/dist/{index-BlLeFC1A.js → index-DDvfW5-d.js} +2 -2
- package/dist/{index-Cn2_Yd7q.js → index-DEHsGK91.js} +1 -1
- package/dist/{index-DqomTxsG.js → index-DGODLCja.js} +1 -1
- package/dist/{index-ByeVrxVl.js → index-DJiuJgNx.js} +1 -1
- package/dist/{index-DMOi4nAC.js → index-DXNSTk5n.js} +2 -2
- package/dist/{index-CQ0BwWRP.js → index-De6oWEZJ.js} +2 -2
- package/dist/{index-CfyXGhk3.js → index-DgLLlaiF.js} +1 -1
- package/dist/{index-LOpDQbHn.js → index-DkYlfWLa.js} +2 -2
- package/dist/{index-DxaR4DCk.js → index-Dl_ZgCRB.js} +2 -2
- package/dist/{index-2X2QGo0A.js → index-Dlihqay0.js} +381 -435
- package/dist/{index-CQkWk_7M.js → index-DsQp4UCs.js} +3 -3
- package/dist/{index-B9a9T8if.js → index-Go0PUrqy.js} +1 -1
- package/dist/{index-w6agN1-G.js → index-KxrgWfEL.js} +1 -1
- package/dist/{index-DJj0H4QE.js → index-dXOMuxrp.js} +2 -2
- package/dist/{index-CAekmaIN.js → index-gGYvWSjX.js} +2 -2
- package/dist/{index-DQNLZ671.js → index-hllsJVUF.js} +6 -5
- package/dist/{index-DxW-5l6p.js → index-jkltWTT1.js} +2 -2
- package/dist/{index-nGGsFW_9.js → index-rZVFumSM.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-wAlqnYW9.js → mb-render-_IUbyYCY.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BLEHWjXh.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.js} +1 -1
- package/dist/{pagination-design-CuM2_cOO.js → pagination-design-BPbb9CiE.js} +2 -2
- package/dist/paper-widget-design-BBuWfCac.js +4 -0
- package/dist/{print-runtime-instance-xGsbD9K-.js → print-runtime-instance-BmJ9GNr2.js} +1 -1
- package/dist/{print-snapshot-renderer-DYUY1xCI.js → print-snapshot-renderer-NCND8gig.js} +3 -3
- package/dist/{qrcode-design-CO631M71.js → qrcode-design-00WrOrbQ.js} +1 -1
- package/dist/{revo-grid.entry-B7SWMhl1.js → revo-grid.entry-BZADj2ve.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BkqynH6l.js → revogr-attribution_7.entry-DbQASE7d.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DAHR-Vx9.js → revogr-clipboard_3.entry-BUDhUelS.js} +2 -2
- package/dist/{revogr-data_4.entry-CVh6lcCy.js → revogr-data_4.entry-0V57Lz9p.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BBhV4Xqa.js → revogr-filter-panel.entry-BJEYteeW.js} +1 -1
- package/dist/seal-design-CJuuDF64.js +4 -0
- package/dist/{serialnumber-design-DxGYVdk3.js → serialnumber-design-BbjW4gnZ.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-DpHqYP0Z.js → single-field-drop-CZmE1hGc.js} +2 -2
- package/dist/{size-editor-D0jQ3Lrf.js → size-editor-CcYZKUn5.js} +1 -1
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +1 -7
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +2 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +1 -4
- package/dist/{sub-table-factory-dhsoO5eF.js → sub-table-factory-B0YWwWSA.js} +8 -2
- package/dist/{text-design-CCJVszh9.js → text-design-BjtdVSoz.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-D7Z-44El.js → throttle-Cpk1LoGk-BVommE6v.js} +1 -1
- package/dist/{timediff-design-DE0Lb5-J.js → timediff-design-DLlIUaqv.js} +1 -1
- package/dist/{trace-like-wrapper-u1qMVyxo.js → trace-like-wrapper-D91DvdFd.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BDK70sFY.js → value-editor.vue_vue_type_style_index_0_lang-CoD8ISWI.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-BiqBkpJf.js → widget-barcode-BYiE3tsx.js} +4 -4
- package/dist/{widget-diagonal-DEPOR_xL.js → widget-diagonal-DHQFi6CR.js} +3 -3
- package/dist/{widget-image-CT0b6oE3.js → widget-image-id71BcU3.js} +5 -5
- package/dist/{widget-line-CencIyCA.js → widget-line-Cp0b7r3U.js} +2 -2
- package/dist/{widget-pagination-CLokA4N9.js → widget-pagination-BtlUxqBg.js} +5 -5
- package/dist/{widget-power-BPxteor_.js → widget-power-DHRfJ48L.js} +3 -3
- package/dist/{widget-qrcode-gYHAR233.js → widget-qrcode-DNCRxnIr.js} +3 -3
- package/dist/{widget-rangelimit-BJKYDkcT.js → widget-rangelimit-BSSBKq1C.js} +3 -3
- package/dist/{widget-serialnumber-BCPB7hqo.js → widget-serialnumber-CUluNTQw.js} +1 -1
- package/dist/{widget-text-D_CGo-mQ.js → widget-text-BdzPeniw.js} +5 -5
- package/dist/{widget-timediff-cBekBImJ.js → widget-timediff-DerdwjRU.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-OVR0zocz.js +0 -4
- package/dist/seal-design-BnXd0buM.js +0 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as Vue from "vue";
|
|
2
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 resolveAutofillToField, h as SubTableType, j as getAllBusinessRefModelTypes, D as DateObjectContext, k as isBlank$1, F as FIELD_TYPE, l as isSameFieldValue$1, m as runDateObjectHandler, n as companionIdKey, o as companionLabelKey, p as api, P as PaginationFormat, q as PaperWidgeType, B as BwipCodeType, L as LineType, s as PageSizeEnum, O as Orientation, t as src, T as TRACE_FIELD_TYPES, u as BUSINESS_FIELD_TYPES, v as resolveFieldRenderComponent, C as ComponentTypeEnum, w as parse$1, x as estraverse, y as Syntax, z as isDynamicCreateTarget, A as CellType, E as isDynamicCellSubTable, G as ParamModelTypeEnum, H as FieldTypeToJs, I as CreateType, J as uuid2, K as useModal, M as requireEstraverse, N as commonjsGlobal, Q as getDefaultExportFromCjs, R as PaperWidgeValueType, U as getParseFormulaVarInfos, V as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, X as UniqueConstraintType, Y as FieldDefaultValueTypeEnum, Z as FormTypeEnum, _ as mitt, $ as isDateObjectField, a0 as PlatformEnum, a1 as LabelPosition, a2 as BooleanShowMode, a3 as SignatureImageDirectionEnum, a4 as FallbackSignTypeEnum, a5 as SignatureNumberTypeEnum, a6 as SignatureTimeTypeEnum, a7 as SignShowTypeEnum, a8 as SignatureTypeEnum, a9 as _export_sfc, aa as normalizeFieldType, ab as PaperSizeMap, ac as clampSealPosition, ad as normalizeSealDiameter, ae as getFieldMain, af as buildUUID, ag as FieldIconMap, ah as BigNumber, ai as FieldSysVarDefaultValueEnum, aj as CellWidgetViewState, ak as DiagonalDirection, al as WidgetImageSizeMode, am as LineDirection, an as TimeDiffFormat, ao as DiagonalVertex, ap as resolveDiagonalVertex, aq as getThemeColorByTableType, ar as ViewTypeEnum, as as isDynamicSubTablePanelType, at as isFixedSubTablePanelType, au as ExpressionModeEnum, av as ReturnTypeEnum, aw as ExpressionTabEnum, ax as RangeValidateMode, ay as RangeCompareOp, az as getExclusiveBusinessTypeTokens, aA as getSubTableTypeByRefModelType, aB as findFieldMain, aC as DecimalDisplayMode$1, aD as ImageDisplayModeEnum, aE as FormDesignEnum, aF as BASIC_FIELD_TYPES, aG as getAllTableProfiles, aH as transformUtils, aI as EmptySymbol, aJ as ASSIGNMENTSTRATEGY_ENUM, aK as Dependency_ENUM, aL as EntityModelCategoryEnum, aM as resolveLotDisplayLabel, aN as CheckDsTypeEnum, aO as DeviceLink, aP as DeviceParamsTypeTitle, aQ as AITooltips, aR as DenoiseMethodOptions, aS as BinarizeMethodOptions, aT as DateFormat, aU as withRequestCache, aV as LOT_CONTAINER_ROLE, aW as buildLotSnListQuery, aX as renderUtils, aY as resolveLotRecordByValue, aZ as materialCheck, a_ as getLotLockedReason, a$ as validateReinspectionDate, b0 as ProductionIdentificationTypeEnum, b1 as BindCmpStyleEnum, b2 as getParseRuleInfo, b3 as getParseRuleValue, b4 as normalizeRefLoaderResult, b5 as STOCKTAKE_DIMENSION, b6 as F, b7 as resolveStocktakeSelectApi, b8 as readSealValue, b9 as isSealStamped, ba as
|
|
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 resolveAutofillToField, h as SubTableType, j as getAllBusinessRefModelTypes, D as DateObjectContext, k as isBlank$1, F as FIELD_TYPE, l as isSameFieldValue$1, m as runDateObjectHandler, n as companionIdKey, o as companionLabelKey, p as api, P as PaginationFormat, q as PaperWidgeType, B as BwipCodeType, L as LineType, s as PageSizeEnum, O as Orientation, t as src, T as TRACE_FIELD_TYPES, u as BUSINESS_FIELD_TYPES, v as resolveFieldRenderComponent, C as ComponentTypeEnum, w as parse$1, x as estraverse, y as Syntax, z as isDynamicCreateTarget, A as CellType, E as isDynamicCellSubTable, G as ParamModelTypeEnum, H as FieldTypeToJs, I as CreateType, J as uuid2, K as useModal, M as requireEstraverse, N as commonjsGlobal, Q as getDefaultExportFromCjs, R as PaperWidgeValueType, U as getParseFormulaVarInfos, V as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, X as UniqueConstraintType, Y as FieldDefaultValueTypeEnum, Z as FormTypeEnum, _ as mitt, $ as isDateObjectField, a0 as PlatformEnum, a1 as LabelPosition, a2 as BooleanShowMode, a3 as SignatureImageDirectionEnum, a4 as FallbackSignTypeEnum, a5 as SignatureNumberTypeEnum, a6 as SignatureTimeTypeEnum, a7 as SignShowTypeEnum, a8 as SignatureTypeEnum, a9 as _export_sfc, aa as normalizeFieldType, ab as PaperSizeMap, ac as clampSealPosition, ad as normalizeSealDiameter, ae as getFieldMain, af as buildUUID, ag as FieldIconMap, ah as BigNumber, ai as FieldSysVarDefaultValueEnum, aj as CellWidgetViewState, ak as DiagonalDirection, al as WidgetImageSizeMode, am as LineDirection, an as TimeDiffFormat, ao as DiagonalVertex, ap as resolveDiagonalVertex, aq as getThemeColorByTableType, ar as ViewTypeEnum, as as isDynamicSubTablePanelType, at as isFixedSubTablePanelType, au as ExpressionModeEnum, av as ReturnTypeEnum, aw as ExpressionTabEnum, ax as RangeValidateMode, ay as RangeCompareOp, az as getExclusiveBusinessTypeTokens, aA as getSubTableTypeByRefModelType, aB as findFieldMain, aC as DecimalDisplayMode$1, aD as ImageDisplayModeEnum, aE as FormDesignEnum, aF as BASIC_FIELD_TYPES, aG as getAllTableProfiles, aH as transformUtils, aI as EmptySymbol, aJ as ASSIGNMENTSTRATEGY_ENUM, aK as Dependency_ENUM, aL as EntityModelCategoryEnum, aM as resolveLotDisplayLabel, aN as CheckDsTypeEnum, aO as DeviceLink, aP as DeviceParamsTypeTitle, aQ as AITooltips, aR as DenoiseMethodOptions, aS as BinarizeMethodOptions, aT as DateFormat, aU as withRequestCache, aV as LOT_CONTAINER_ROLE, aW as buildLotSnListQuery, aX as renderUtils, aY as resolveLotRecordByValue, aZ as materialCheck, a_ as getLotLockedReason, a$ as validateReinspectionDate, b0 as ProductionIdentificationTypeEnum, b1 as BindCmpStyleEnum, b2 as getParseRuleInfo, b3 as getParseRuleValue, b4 as normalizeRefLoaderResult, b5 as STOCKTAKE_DIMENSION, b6 as F, b7 as resolveStocktakeSelectApi, b8 as readSealValue, b9 as isSealStamped, ba as stampSealValue, bb as isValidSealValue, bc as clearSealValue, bd as normalizeProductionContainerOptions, be as buildProductionLotListQuery, bf as refUtils, bg as buildInspectionLotListQuery, bh as buildDeviceFilterQuery, bi as DEVICE_GROUP_QUERY_KEY, bj as getRowId, bk as findRuntimeTableRow, bl as calculateFormula, bm as RenderModeEnum, bn as findRuntimeParentRow, bo as useOnlineFormTransformField2Component, bp as FormulaRuleFieldKeyEnum, bq as formulaRuleFieldDict, br as resolveDesignPanelFeatures, bs as BIZ_TABLE_CONFIG_SEED_TYPES, bt as STOCKTAKE_DIMENSION_OPTIONS, bu as isRepeatingSubTablePanelType, bv as moveSealValue, bw as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
4
4
|
import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, omit, has, debounce, isNil, times, clone as clone$3, differenceBy, mapValues, last, 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 { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, e as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, f as findFieldProfile, h as normalizeHistoricalBusinessRow, i as DeviceLinkTmplUtil, j as normalizeAIOcrTmpl, k as useWidgetStaticAttrs, l as useRuntimeInstanceServices, s as setSelectValidatorId, m as setSelectAnnotationId, o as useRuntimeRowState, p as getObjectBomMaterialLotQuery, q as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, t as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, w as resolveObjectBomEntry, x as runWithFillProduct, y as useNocodeFormWidget, z as applyConsumeObjectTraceChange, A as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, C as normalizeHistoricalAutofillRow,
|
|
10
|
-
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
9
|
+
import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, e as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, f as findFieldProfile, h as normalizeHistoricalBusinessRow, i as DeviceLinkTmplUtil, j as normalizeAIOcrTmpl, k as useWidgetStaticAttrs, l as useRuntimeInstanceServices, s as setSelectValidatorId, m as setSelectAnnotationId, o as useRuntimeRowState, p as getObjectBomMaterialLotQuery, q as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, t as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, w as resolveObjectBomEntry, x as runWithFillProduct, y as useNocodeFormWidget, z as applyConsumeObjectTraceChange, A as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, C as normalizeHistoricalAutofillRow, F as parseRuntimeFieldPath, N as NCB_PROVIDE, G as useStyles, H as useDependency, I as useFieldPresentation, J as useRuntimeEditorFlusher, R as RuntimeFormStateStore, K as createRuntimeInstanceContext, L as RuntimeInstanceRegistry, S as ScanParamType, O as RequiredQtyCalcRule, P as DocumentPaper, Q as DynamicTableAction, _ as _sfc_main$6g } from "./dynamic-table-action-CHY5xNLE.js";
|
|
10
|
+
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.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$6f, h as initWebNocodeAdapter } from "./index-
|
|
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$6f, h as initWebNocodeAdapter } from "./index-CFVecFFb.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-_IUbyYCY.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";
|
|
@@ -450,9 +450,9 @@ function requestDeviceParams(id) {
|
|
|
450
450
|
return request;
|
|
451
451
|
}
|
|
452
452
|
const FORMULA_FUNCS = {
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
453
|
+
PROCESSPARAMCHECK: (key, value) => CALC_IS_QUALIFIED(key, value, currentParamsConfig.routingParamList || []),
|
|
454
|
+
INSPECTIONPARAMCHECK: (key, value) => CALC_IS_QUALIFIED(key, value, currentParamsConfig.inspectionParamList || []),
|
|
455
|
+
DEVICEPARAMCHECK: async (id, key, value) => {
|
|
456
456
|
if (!id || typeof key !== "string" || !key.trim() || typeof value !== "number" || !Number.isFinite(value)) {
|
|
457
457
|
return null;
|
|
458
458
|
}
|
|
@@ -2018,7 +2018,7 @@ function openWindow(url, opt) {
|
|
|
2018
2018
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
2019
2019
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
2020
2020
|
async function createWorkbook() {
|
|
2021
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
2021
|
+
const ExcelJs = (await import("./exceljs.min-BAX9-ZsR.js").then((n) => n.e)).default;
|
|
2022
2022
|
return new ExcelJs.Workbook();
|
|
2023
2023
|
}
|
|
2024
2024
|
class XlsxParser {
|
|
@@ -2346,39 +2346,39 @@ class XlsxParser {
|
|
|
2346
2346
|
}
|
|
2347
2347
|
function asyncImportClassModules() {
|
|
2348
2348
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2349
|
-
"./_field_/auto-complete/index.ts": () => import("./index
|
|
2350
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2351
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2352
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2353
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2354
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2355
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2356
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2357
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2358
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2359
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2360
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2361
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2362
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2363
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2364
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2365
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2366
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2367
|
-
"./_widget_/barcode/index.ts": () => import("./index-
|
|
2368
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2369
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2370
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2371
|
-
"./_widget_/image/index.ts": () => import("./index-
|
|
2372
|
-
"./_widget_/line/index.ts": () => import("./index-
|
|
2373
|
-
"./_widget_/power/index.ts": () => import("./index-
|
|
2374
|
-
"./_widget_/qrcode/index.ts": () => import("./index-
|
|
2375
|
-
"./_widget_/ro/index.ts": () => import("./index-
|
|
2376
|
-
"./_widget_/serialnumber/index.ts": () => import("./index-
|
|
2377
|
-
"./_widget_/sub-table/index.ts": () => import("./index-
|
|
2378
|
-
"./_widget_/timediff/index.ts": () => import("./index-
|
|
2379
|
-
"./paper/index.ts": () => import("./index-
|
|
2380
|
-
"./td/index.ts": () => import("./index-
|
|
2381
|
-
"./tr/index.ts": () => import("./index-
|
|
2349
|
+
"./_field_/auto-complete/index.ts": () => import("./index-ChINVccu.js").then((m) => m["default"]),
|
|
2350
|
+
"./_field_/datepicker/index.ts": () => import("./index-BTfYHAPC.js").then((m) => m["default"]),
|
|
2351
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-DkYlfWLa.js").then((m) => m["default"]),
|
|
2352
|
+
"./_field_/department/index.ts": () => import("./index-B-hfUWEs.js").then((m) => m["default"]),
|
|
2353
|
+
"./_field_/enum-select/index.ts": () => import("./index-2WkF904L.js").then((m) => m["default"]),
|
|
2354
|
+
"./_field_/input/index.ts": () => import("./index-BIeu5JwZ.js").then((m) => m["default"]),
|
|
2355
|
+
"./_field_/inputdouble/index.ts": () => import("./index-dXOMuxrp.js").then((m) => m["default"]),
|
|
2356
|
+
"./_field_/inputnumber/index.ts": () => import("./index-gGYvWSjX.js").then((m) => m["default"]),
|
|
2357
|
+
"./_field_/rdo-select/index.ts": () => import("./index-DsQp4UCs.js").then((m) => m["default"]),
|
|
2358
|
+
"./_field_/seal/index.ts": () => import("./index-De6oWEZJ.js").then((m) => m["default"]),
|
|
2359
|
+
"./_field_/select/index.ts": () => import("./index-C8LoodYv.js").then((m) => m["default"]),
|
|
2360
|
+
"./_field_/sign/index.ts": () => import("./index-Dl_ZgCRB.js").then((m) => m["default"]),
|
|
2361
|
+
"./_field_/switch/index.ts": () => import("./index-hllsJVUF.js").then((m) => m["default"]),
|
|
2362
|
+
"./_field_/textarea/index.ts": () => import("./index-C3SyXJii.js").then((m) => m["default"]),
|
|
2363
|
+
"./_field_/timepicker/index.ts": () => import("./index-AGp5c3cl.js").then((m) => m["default"]),
|
|
2364
|
+
"./_field_/upload-file/index.ts": () => import("./index-CbmHekMw.js").then((m) => m["default"]),
|
|
2365
|
+
"./_field_/upload-image/index.ts": () => import("./index-rZVFumSM.js").then((m) => m["default"]),
|
|
2366
|
+
"./_field_/userpicker/index.ts": () => import("./index-DXNSTk5n.js").then((m) => m["default"]),
|
|
2367
|
+
"./_widget_/barcode/index.ts": () => import("./index-BCsDTwbK.js").then((m) => m["default"]),
|
|
2368
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-D3s4H_1P.js").then((m) => m["default"]),
|
|
2369
|
+
"./_widget_/diagonal/index.ts": () => import("./index-B8pwnxas.js").then((m) => m["default"]),
|
|
2370
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-C6jVSwAq.js").then((m) => m["default"]),
|
|
2371
|
+
"./_widget_/image/index.ts": () => import("./index-DJiuJgNx.js").then((m) => m["default"]),
|
|
2372
|
+
"./_widget_/line/index.ts": () => import("./index-Go0PUrqy.js").then((m) => m["default"]),
|
|
2373
|
+
"./_widget_/power/index.ts": () => import("./index-DGODLCja.js").then((m) => m["default"]),
|
|
2374
|
+
"./_widget_/qrcode/index.ts": () => import("./index-7u6Pmaax.js").then((m) => m["default"]),
|
|
2375
|
+
"./_widget_/ro/index.ts": () => import("./index-DgLLlaiF.js").then((m) => m["default"]),
|
|
2376
|
+
"./_widget_/serialnumber/index.ts": () => import("./index-BdFPuj12.js").then((m) => m["default"]),
|
|
2377
|
+
"./_widget_/sub-table/index.ts": () => import("./index-DEHsGK91.js").then((m) => m["default"]),
|
|
2378
|
+
"./_widget_/timediff/index.ts": () => import("./index-CRIhEnfm.js").then((m) => m["default"]),
|
|
2379
|
+
"./paper/index.ts": () => import("./index-KxrgWfEL.js").then((m) => m["default"]),
|
|
2380
|
+
"./td/index.ts": () => import("./index-jkltWTT1.js").then((m) => m["default"]),
|
|
2381
|
+
"./tr/index.ts": () => import("./index-DDvfW5-d.js").then((m) => m["default"])
|
|
2382
2382
|
});
|
|
2383
2383
|
return modules;
|
|
2384
2384
|
}
|
|
@@ -14688,7 +14688,7 @@ const _hoisted_2$2m = {
|
|
|
14688
14688
|
};
|
|
14689
14689
|
const _hoisted_3$1M = ["title"];
|
|
14690
14690
|
const _hoisted_4$1e = { class: "fake-option-select__label" };
|
|
14691
|
-
const _hoisted_5$
|
|
14691
|
+
const _hoisted_5$X = {
|
|
14692
14692
|
key: 3,
|
|
14693
14693
|
class: "fake-option-select__affix"
|
|
14694
14694
|
};
|
|
@@ -14771,8 +14771,9 @@ const _sfc_main$5_ = /* @__PURE__ */ defineComponent({
|
|
|
14771
14771
|
const labels = options.value.filter((item) => selectedValues.value.includes(item.value)).map((item) => item.label);
|
|
14772
14772
|
return labels.join(",");
|
|
14773
14773
|
});
|
|
14774
|
-
const
|
|
14775
|
-
|
|
14774
|
+
const optionGap = computed(() => {
|
|
14775
|
+
return enumWidget.value.optionGap ?? (isPortrait.value ? 0 : 4);
|
|
14776
|
+
});
|
|
14776
14777
|
const iconLabelSpace = computed(() => {
|
|
14777
14778
|
if (!isNil(enumWidget.value.iconLabelSpace)) return enumWidget.value.iconLabelSpace;
|
|
14778
14779
|
return isBoolean2.value ? 6 : 8;
|
|
@@ -14840,12 +14841,12 @@ const _sfc_main$5_ = /* @__PURE__ */ defineComponent({
|
|
|
14840
14841
|
], 10, _hoisted_3$1M);
|
|
14841
14842
|
}), 128))
|
|
14842
14843
|
], 2)),
|
|
14843
|
-
__props.fieldWidget.suffix ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
14844
|
+
__props.fieldWidget.suffix ? (openBlock(), createElementBlock("span", _hoisted_5$X, toDisplayString$1(__props.fieldWidget.suffix), 1)) : createCommentVNode("", true)
|
|
14844
14845
|
], 6);
|
|
14845
14846
|
};
|
|
14846
14847
|
}
|
|
14847
14848
|
});
|
|
14848
|
-
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$5_, [["__scopeId", "data-v-
|
|
14849
|
+
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$5_, [["__scopeId", "data-v-a22b0a63"]]);
|
|
14849
14850
|
const FieldDesignComponents = {
|
|
14850
14851
|
"fw:input": FakeInput,
|
|
14851
14852
|
"fw:number": FakeNumberInput,
|
|
@@ -16022,7 +16023,7 @@ function asyncImportWidgetConfigList() {
|
|
|
16022
16023
|
return widgetConfigList;
|
|
16023
16024
|
}
|
|
16024
16025
|
function asyncImportWidgetDesign() {
|
|
16025
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
16026
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-CJuuDF64.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-BTNQYLEC.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-ByuNrPs-.js"), "./image/image-design.vue": () => import("./image-design-FDLY6DFg.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BPbb9CiE.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BBuWfCac.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-00WrOrbQ.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BbjW4gnZ.js"), "./text/text-design.vue": () => import("./text-design-BjtdVSoz.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DLlIUaqv.js") });
|
|
16026
16027
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
16027
16028
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
16028
16029
|
if (mKey) {
|
|
@@ -20979,7 +20980,7 @@ const _hoisted_3$1I = {
|
|
|
20979
20980
|
class: "inline-icon-suggestions__group"
|
|
20980
20981
|
};
|
|
20981
20982
|
const _hoisted_4$1b = ["onPointerdown", "onMouseenter"];
|
|
20982
|
-
const _hoisted_5$
|
|
20983
|
+
const _hoisted_5$W = { class: "inline-icon-suggestions__label" };
|
|
20983
20984
|
const InlineCellClipboardMime = "application/x-gct-inline-cell-content+json";
|
|
20984
20985
|
const InlineCellClipboardVersion = 1;
|
|
20985
20986
|
const _sfc_main$5H = /* @__PURE__ */ defineComponent({
|
|
@@ -21669,7 +21670,7 @@ const _sfc_main$5H = /* @__PURE__ */ defineComponent({
|
|
|
21669
21670
|
content: [unref(inlineIconToContent)(row.icon)],
|
|
21670
21671
|
"show-media-title": false
|
|
21671
21672
|
}, null, 8, ["content"]),
|
|
21672
|
-
createElementVNode("span", _hoisted_5$
|
|
21673
|
+
createElementVNode("span", _hoisted_5$W, toDisplayString$1(row.icon.name), 1)
|
|
21673
21674
|
], 42, _hoisted_4$1b)), [
|
|
21674
21675
|
[vSuggestionOverflowTitle, row.icon.name]
|
|
21675
21676
|
])
|
|
@@ -21901,8 +21902,6 @@ const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
|
21901
21902
|
styles["--auto-line-break"] = "wrap";
|
|
21902
21903
|
}
|
|
21903
21904
|
if (props2.cell.multiFields) {
|
|
21904
|
-
const mode = styles["writing-mode"] ?? styles.writingMode;
|
|
21905
|
-
styles["--composite-text-writing-mode"] = mode && mode !== "unset" ? mode : "horizontal-tb";
|
|
21906
21905
|
styles.writingMode = styles["writing-mode"] = "horizontal-tb";
|
|
21907
21906
|
}
|
|
21908
21907
|
return styles;
|
|
@@ -22014,7 +22013,7 @@ const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
|
22014
22013
|
};
|
|
22015
22014
|
}
|
|
22016
22015
|
});
|
|
22017
|
-
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5G, [["__scopeId", "data-v-
|
|
22016
|
+
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5G, [["__scopeId", "data-v-cf05747a"]]);
|
|
22018
22017
|
const ThresholdValue = 8;
|
|
22019
22018
|
function getOffsetValue(left, width, points) {
|
|
22020
22019
|
let offset2 = left;
|
|
@@ -23906,8 +23905,8 @@ const _hoisted_1$30 = {
|
|
|
23906
23905
|
const _hoisted_2$2b = ["data-x", "width"];
|
|
23907
23906
|
const _hoisted_3$1G = ["data-x"];
|
|
23908
23907
|
const _hoisted_4$1a = ["onMouseenter"];
|
|
23909
|
-
const _hoisted_5$
|
|
23910
|
-
const _hoisted_6$
|
|
23908
|
+
const _hoisted_5$V = ["onClick"];
|
|
23909
|
+
const _hoisted_6$H = ["data-x"];
|
|
23911
23910
|
const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
23912
23911
|
__name: "table-x",
|
|
23913
23912
|
setup(__props) {
|
|
@@ -23992,7 +23991,7 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
23992
23991
|
createElementVNode("i", {
|
|
23993
23992
|
class: "iconfont icon-tianjia hover-icon",
|
|
23994
23993
|
onClick: (e) => addCol(e, colIndex + 1)
|
|
23995
|
-
}, null, 8, _hoisted_5$
|
|
23994
|
+
}, null, 8, _hoisted_5$V)
|
|
23996
23995
|
], 42, _hoisted_4$1a)
|
|
23997
23996
|
], 8, _hoisted_3$1G);
|
|
23998
23997
|
}), 128))
|
|
@@ -24015,7 +24014,7 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
24015
24014
|
style: normalizeStyle({
|
|
24016
24015
|
height: tableHeight.value + "px"
|
|
24017
24016
|
})
|
|
24018
|
-
}, null, 14, _hoisted_6$
|
|
24017
|
+
}, null, 14, _hoisted_6$H);
|
|
24019
24018
|
}), 128))
|
|
24020
24019
|
], 4)
|
|
24021
24020
|
])
|
|
@@ -24033,8 +24032,8 @@ const _hoisted_2$2a = {
|
|
|
24033
24032
|
};
|
|
24034
24033
|
const _hoisted_3$1F = ["width"];
|
|
24035
24034
|
const _hoisted_4$19 = ["data-y", "height"];
|
|
24036
|
-
const _hoisted_5$
|
|
24037
|
-
const _hoisted_6$
|
|
24035
|
+
const _hoisted_5$U = { style: { "position": "relative" } };
|
|
24036
|
+
const _hoisted_6$G = ["onMouseenter"];
|
|
24038
24037
|
const _hoisted_7$u = ["onClick"];
|
|
24039
24038
|
const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
24040
24039
|
__name: "table-y",
|
|
@@ -24089,7 +24088,7 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
24089
24088
|
"data-y": rowIndex + 1,
|
|
24090
24089
|
height: row.height
|
|
24091
24090
|
}, [
|
|
24092
|
-
createElementVNode("td", _hoisted_5$
|
|
24091
|
+
createElementVNode("td", _hoisted_5$U, [
|
|
24093
24092
|
rowIndex === 0 ? (openBlock(), createElementBlock("div", {
|
|
24094
24093
|
key: 0,
|
|
24095
24094
|
class: normalizeClass(["table-y__point top", hoverLineIndex.value === 0 && "is-hover"]),
|
|
@@ -24113,7 +24112,7 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
24113
24112
|
class: "iconfont icon-tianjia hover-icon",
|
|
24114
24113
|
onClick: (e) => addRow(e, rowIndex + 1)
|
|
24115
24114
|
}, null, 8, _hoisted_7$u)
|
|
24116
|
-
], 42, _hoisted_6$
|
|
24115
|
+
], 42, _hoisted_6$G)
|
|
24117
24116
|
]),
|
|
24118
24117
|
createElementVNode("td", {
|
|
24119
24118
|
class: normalizeClass([
|
|
@@ -24262,7 +24261,7 @@ const _hoisted_1$2Z = { class: "file-form-upload-wrapper" };
|
|
|
24262
24261
|
const _hoisted_2$29 = { class: "file-form-upload-design" };
|
|
24263
24262
|
const _hoisted_3$1E = { style: { "pointer-events": "none" } };
|
|
24264
24263
|
const _hoisted_4$18 = { class: "file-form-upload-text" };
|
|
24265
|
-
const _hoisted_5$
|
|
24264
|
+
const _hoisted_5$T = { class: "file-form-hint" };
|
|
24266
24265
|
const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
24267
24266
|
__name: "file-view",
|
|
24268
24267
|
setup(__props) {
|
|
@@ -24283,7 +24282,7 @@ const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
|
24283
24282
|
})
|
|
24284
24283
|
]),
|
|
24285
24284
|
createElementVNode("p", _hoisted_4$18, toDisplayString$1(_ctx.$t("sys.edhr.uploadFileTips")), 1),
|
|
24286
|
-
createElementVNode("p", _hoisted_5$
|
|
24285
|
+
createElementVNode("p", _hoisted_5$T, toDisplayString$1(_ctx.$t("sys.onlineForm.uploadLimitTip")), 1)
|
|
24287
24286
|
]),
|
|
24288
24287
|
_: 1
|
|
24289
24288
|
})
|
|
@@ -24299,8 +24298,8 @@ const _hoisted_1$2Y = { class: "swapper" };
|
|
|
24299
24298
|
const _hoisted_2$28 = { class: "item-box" };
|
|
24300
24299
|
const _hoisted_3$1D = ["onClick"];
|
|
24301
24300
|
const _hoisted_4$17 = ["onClick"];
|
|
24302
|
-
const _hoisted_5$
|
|
24303
|
-
const _hoisted_6$
|
|
24301
|
+
const _hoisted_5$S = ["onClick"];
|
|
24302
|
+
const _hoisted_6$F = ["title"];
|
|
24304
24303
|
const _hoisted_7$t = {
|
|
24305
24304
|
key: 0,
|
|
24306
24305
|
class: "swapper-btn"
|
|
@@ -24396,7 +24395,7 @@ const _sfc_main$5j = /* @__PURE__ */ defineComponent({
|
|
|
24396
24395
|
key: 0,
|
|
24397
24396
|
class: "sheet-item ell",
|
|
24398
24397
|
onClick: ($event) => unref(deleteSheet)(item)
|
|
24399
|
-
}, toDisplayString$1(_ctx.$t("sys.delText")), 9, _hoisted_5$
|
|
24398
|
+
}, toDisplayString$1(_ctx.$t("sys.delText")), 9, _hoisted_5$S)) : createCommentVNode("", true)
|
|
24400
24399
|
]),
|
|
24401
24400
|
default: withCtx(() => [
|
|
24402
24401
|
createElementVNode("div", {
|
|
@@ -24405,7 +24404,7 @@ const _sfc_main$5j = /* @__PURE__ */ defineComponent({
|
|
|
24405
24404
|
style: normalizeStyle({
|
|
24406
24405
|
"pointer-events": __props.readonly ? "none" : "unset"
|
|
24407
24406
|
})
|
|
24408
|
-
}, toDisplayString$1(item.title), 13, _hoisted_6$
|
|
24407
|
+
}, toDisplayString$1(item.title), 13, _hoisted_6$F)
|
|
24409
24408
|
]),
|
|
24410
24409
|
_: 2
|
|
24411
24410
|
}, 1032, ["onVisibleChange"])
|
|
@@ -24783,7 +24782,7 @@ const _hoisted_2$25 = {
|
|
|
24783
24782
|
};
|
|
24784
24783
|
const _hoisted_3$1A = ["data-x", "width"];
|
|
24785
24784
|
const _hoisted_4$16 = ["data-x"];
|
|
24786
|
-
const _hoisted_5$
|
|
24785
|
+
const _hoisted_5$R = { class: "title-x" };
|
|
24787
24786
|
const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
24788
24787
|
__name: "sheet-x",
|
|
24789
24788
|
setup(__props) {
|
|
@@ -24850,7 +24849,7 @@ const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
|
24850
24849
|
"data-x": colIndex + 1,
|
|
24851
24850
|
onMousedown: handleClick
|
|
24852
24851
|
}, [
|
|
24853
|
-
createElementVNode("div", _hoisted_5$
|
|
24852
|
+
createElementVNode("div", _hoisted_5$R, toDisplayString$1(unref(NumColMap)[colIndex + 1]), 1),
|
|
24854
24853
|
createElementVNode("div", {
|
|
24855
24854
|
class: "resize-x",
|
|
24856
24855
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(
|
|
@@ -25458,11 +25457,11 @@ const _hoisted_3$1y = { style: {
|
|
|
25458
25457
|
borderRadius: "4px"
|
|
25459
25458
|
} };
|
|
25460
25459
|
const _hoisted_4$14 = { class: "color-picker-middle" };
|
|
25461
|
-
const _hoisted_5$
|
|
25462
|
-
const _hoisted_6$
|
|
25460
|
+
const _hoisted_5$Q = { style: { "flex": "auto" } };
|
|
25461
|
+
const _hoisted_6$E = { class: "color-picker-diamond" };
|
|
25463
25462
|
const _hoisted_7$s = { class: "color-picker-value" };
|
|
25464
25463
|
const _hoisted_8$n = { class: "hex" };
|
|
25465
|
-
const _hoisted_9$
|
|
25464
|
+
const _hoisted_9$i = ["value"];
|
|
25466
25465
|
const _hoisted_10$f = { class: "rgba-r" };
|
|
25467
25466
|
const _hoisted_11$d = ["value"];
|
|
25468
25467
|
const _hoisted_12$a = { class: "rgba-g" };
|
|
@@ -25873,7 +25872,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
25873
25872
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "color-picker-saturation-h" }, null, -1))
|
|
25874
25873
|
], 544),
|
|
25875
25874
|
createElementVNode("div", _hoisted_4$14, [
|
|
25876
|
-
createElementVNode("div", _hoisted_5$
|
|
25875
|
+
createElementVNode("div", _hoisted_5$Q, [
|
|
25877
25876
|
createElementVNode("div", {
|
|
25878
25877
|
class: "hue-slider",
|
|
25879
25878
|
ref_key: "hueSliderRef",
|
|
@@ -25900,7 +25899,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
25900
25899
|
}, null, 4)
|
|
25901
25900
|
], 544)
|
|
25902
25901
|
]),
|
|
25903
|
-
createElementVNode("div", _hoisted_6$
|
|
25902
|
+
createElementVNode("div", _hoisted_6$E, [
|
|
25904
25903
|
createElementVNode("div", {
|
|
25905
25904
|
style: normalizeStyle(`background-color: ${colorObj.value.rgba};width: 100%;height: 100%;box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);`)
|
|
25906
25905
|
}, null, 4)
|
|
@@ -25913,7 +25912,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
25913
25912
|
value: colorObj.value.hex8,
|
|
25914
25913
|
onInput: hexChange,
|
|
25915
25914
|
spellcheck: "false"
|
|
25916
|
-
}, null, 40, _hoisted_9$
|
|
25915
|
+
}, null, 40, _hoisted_9$i)
|
|
25917
25916
|
]),
|
|
25918
25917
|
_cache[2] || (_cache[2] = createElementVNode("p", null, "Hex", -1))
|
|
25919
25918
|
]),
|
|
@@ -26167,8 +26166,8 @@ const _hoisted_1$2R = ["aria-label"];
|
|
|
26167
26166
|
const _hoisted_2$22 = { class: "inline-media-modal__header" };
|
|
26168
26167
|
const _hoisted_3$1x = ["aria-label"];
|
|
26169
26168
|
const _hoisted_4$13 = ["aria-selected"];
|
|
26170
|
-
const _hoisted_5$
|
|
26171
|
-
const _hoisted_6$
|
|
26169
|
+
const _hoisted_5$P = ["aria-selected"];
|
|
26170
|
+
const _hoisted_6$D = {
|
|
26172
26171
|
key: 0,
|
|
26173
26172
|
class: "inline-media-modal__body icon-picker"
|
|
26174
26173
|
};
|
|
@@ -26177,7 +26176,7 @@ const _hoisted_8$m = {
|
|
|
26177
26176
|
key: 0,
|
|
26178
26177
|
class: "icon-picker__group-block"
|
|
26179
26178
|
};
|
|
26180
|
-
const _hoisted_9$
|
|
26179
|
+
const _hoisted_9$h = ["aria-expanded"];
|
|
26181
26180
|
const _hoisted_10$e = ["src"];
|
|
26182
26181
|
const _hoisted_11$c = {
|
|
26183
26182
|
key: 0,
|
|
@@ -26447,10 +26446,10 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
26447
26446
|
"aria-selected": activeTab.value === "image",
|
|
26448
26447
|
class: normalizeClass([activeTab.value === "image" && "inline-media-modal__tab--active", "inline-media-modal__tab"]),
|
|
26449
26448
|
onClick: _cache[1] || (_cache[1] = ($event) => activeTab.value = "image")
|
|
26450
|
-
}, toDisplayString$1(_ctx.$t("sys.image")), 11, _hoisted_5$
|
|
26449
|
+
}, toDisplayString$1(_ctx.$t("sys.image")), 11, _hoisted_5$P)
|
|
26451
26450
|
], 8, _hoisted_3$1x)
|
|
26452
26451
|
]),
|
|
26453
|
-
activeTab.value === "icon" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
26452
|
+
activeTab.value === "icon" ? (openBlock(), createElementBlock("div", _hoisted_6$D, [
|
|
26454
26453
|
createElementVNode("aside", {
|
|
26455
26454
|
class: "icon-picker__sidebar",
|
|
26456
26455
|
"aria-label": _ctx.$t("sys.onlineForm.inlineMedia.categoryAriaLabel")
|
|
@@ -26476,7 +26475,7 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
26476
26475
|
}, null, 8, _hoisted_10$e)
|
|
26477
26476
|
], 2),
|
|
26478
26477
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.onlineForm.inlineMedia.assetIcons")), 1)
|
|
26479
|
-
], 8, _hoisted_9$
|
|
26478
|
+
], 8, _hoisted_9$h),
|
|
26480
26479
|
assetExpanded.value ? (openBlock(), createElementBlock("div", _hoisted_11$c, [
|
|
26481
26480
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(assetIconGroups), (group) => {
|
|
26482
26481
|
return openBlock(), createElementBlock("button", {
|
|
@@ -26750,11 +26749,11 @@ const _hoisted_1$2Q = { class: "designer__toolbar" };
|
|
|
26750
26749
|
const _hoisted_2$21 = { class: "designer__toolbar__left" };
|
|
26751
26750
|
const _hoisted_3$1w = { class: "designer__toolbar__left__second" };
|
|
26752
26751
|
const _hoisted_4$12 = { class: "second__top" };
|
|
26753
|
-
const _hoisted_5$
|
|
26754
|
-
const _hoisted_6$
|
|
26752
|
+
const _hoisted_5$O = { class: "tool--dropdown" };
|
|
26753
|
+
const _hoisted_6$C = { class: "flex items-center text-14px" };
|
|
26755
26754
|
const _hoisted_7$q = { class: "tool--dropdown" };
|
|
26756
26755
|
const _hoisted_8$l = { class: "tool--dropdown" };
|
|
26757
|
-
const _hoisted_9$
|
|
26756
|
+
const _hoisted_9$g = { class: "designer__toolbar__left__third" };
|
|
26758
26757
|
const _hoisted_10$d = ["onClick"];
|
|
26759
26758
|
const _hoisted_11$b = ["aria-disabled"];
|
|
26760
26759
|
const _hoisted_12$8 = ["src"];
|
|
@@ -27064,7 +27063,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
27064
27063
|
]),
|
|
27065
27064
|
_: 1
|
|
27066
27065
|
}),
|
|
27067
|
-
createElementVNode("div", _hoisted_5$
|
|
27066
|
+
createElementVNode("div", _hoisted_5$O, [
|
|
27068
27067
|
createElementVNode("i", {
|
|
27069
27068
|
onClick: _cache[6] || (_cache[6] = ($event) => unref(setBorder)(borderIconType.value))
|
|
27070
27069
|
}, [
|
|
@@ -27085,7 +27084,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
27085
27084
|
key: item.type
|
|
27086
27085
|
}, {
|
|
27087
27086
|
default: withCtx(() => [
|
|
27088
|
-
createElementVNode("div", _hoisted_6$
|
|
27087
|
+
createElementVNode("div", _hoisted_6$C, [
|
|
27089
27088
|
createVNode(BorderIcon, {
|
|
27090
27089
|
type: item.type,
|
|
27091
27090
|
class: "mr-6px relative -top-1px"
|
|
@@ -27162,7 +27161,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
27162
27161
|
])
|
|
27163
27162
|
]),
|
|
27164
27163
|
_cache[28] || (_cache[28] = createElementVNode("div", { class: "vertical-divider" }, null, -1)),
|
|
27165
|
-
createElementVNode("div", _hoisted_9$
|
|
27164
|
+
createElementVNode("div", _hoisted_9$g, [
|
|
27166
27165
|
(openBlock(true), createElementBlock(Fragment, null, renderList(alignList.value, (item, index2) => {
|
|
27167
27166
|
return openBlock(), createBlock(_component_a_tooltip, {
|
|
27168
27167
|
placement: "bottom",
|
|
@@ -28488,7 +28487,7 @@ const _hoisted_1$2I = ["title"];
|
|
|
28488
28487
|
const _hoisted_2$1Y = ["title"];
|
|
28489
28488
|
const _hoisted_3$1r = ["title"];
|
|
28490
28489
|
const _hoisted_4$11 = { class: "group-fields__content" };
|
|
28491
|
-
const _hoisted_5$
|
|
28490
|
+
const _hoisted_5$N = ["title"];
|
|
28492
28491
|
const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
28493
28492
|
__name: "toolkit-content-param",
|
|
28494
28493
|
props: {
|
|
@@ -28613,7 +28612,7 @@ const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
|
28613
28612
|
class: "group-fields__field",
|
|
28614
28613
|
key: field.key,
|
|
28615
28614
|
title: field.tooltip
|
|
28616
|
-
}, toDisplayString$1(field.caption), 9, _hoisted_5$
|
|
28615
|
+
}, toDisplayString$1(field.caption), 9, _hoisted_5$N);
|
|
28617
28616
|
}), 128))
|
|
28618
28617
|
])
|
|
28619
28618
|
]);
|
|
@@ -29274,7 +29273,7 @@ const _hoisted_2$1U = {
|
|
|
29274
29273
|
};
|
|
29275
29274
|
const _hoisted_3$1o = { class: "guides" };
|
|
29276
29275
|
const _hoisted_4$10 = ["onClick"];
|
|
29277
|
-
const _hoisted_5$
|
|
29276
|
+
const _hoisted_5$M = ["onClick"];
|
|
29278
29277
|
const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
29279
29278
|
__name: "toolkit-hook",
|
|
29280
29279
|
setup(__props) {
|
|
@@ -29349,7 +29348,7 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
29349
29348
|
key: 1,
|
|
29350
29349
|
class: normalizeClass(["iconfont", config2.icon]),
|
|
29351
29350
|
onClick: config2.onClick
|
|
29352
|
-
}, null, 10, _hoisted_5$
|
|
29351
|
+
}, null, 10, _hoisted_5$M))
|
|
29353
29352
|
]);
|
|
29354
29353
|
}), 128))
|
|
29355
29354
|
])
|
|
@@ -32273,8 +32272,8 @@ const _hoisted_1$2A = { style: { "float": "right" } };
|
|
|
32273
32272
|
const _hoisted_2$1R = { class: "option-container" };
|
|
32274
32273
|
const _hoisted_3$1n = { class: "option" };
|
|
32275
32274
|
const _hoisted_4$$ = { class: "option__label" };
|
|
32276
|
-
const _hoisted_5$
|
|
32277
|
-
const _hoisted_6$
|
|
32275
|
+
const _hoisted_5$L = { class: "option-container" };
|
|
32276
|
+
const _hoisted_6$B = { class: "option" };
|
|
32278
32277
|
const _hoisted_7$p = { class: "option__label" };
|
|
32279
32278
|
const _sfc_main$4M = /* @__PURE__ */ defineComponent({
|
|
32280
32279
|
__name: "boolean-props",
|
|
@@ -32368,8 +32367,8 @@ const _sfc_main$4M = /* @__PURE__ */ defineComponent({
|
|
|
32368
32367
|
"onUpdate:items": _cache[2] || (_cache[2] = ($event) => formState.value.trueAttachFields = $event)
|
|
32369
32368
|
}, null, 8, ["disabled", "items"])) : createCommentVNode("", true)
|
|
32370
32369
|
]),
|
|
32371
|
-
createElementVNode("div", _hoisted_5$
|
|
32372
|
-
createElementVNode("div", _hoisted_6$
|
|
32370
|
+
createElementVNode("div", _hoisted_5$L, [
|
|
32371
|
+
createElementVNode("div", _hoisted_6$B, [
|
|
32373
32372
|
createElementVNode("span", _hoisted_7$p, toDisplayString$1(`${_ctx.$t("sys.fake")}`), 1),
|
|
32374
32373
|
createVNode(_component_a_input, {
|
|
32375
32374
|
class: "option__input",
|
|
@@ -37364,7 +37363,7 @@ const _sfc_main$4j = /* @__PURE__ */ defineComponent({
|
|
|
37364
37363
|
mode: "multiple",
|
|
37365
37364
|
showArrow: "",
|
|
37366
37365
|
"max-tag-count": "responsive",
|
|
37367
|
-
allowClear: !__props.disabled
|
|
37366
|
+
allowClear: !__props.disabled,
|
|
37368
37367
|
open: false,
|
|
37369
37368
|
showSearch: false,
|
|
37370
37369
|
options: selectorInfo.value.options,
|
|
@@ -37396,7 +37395,7 @@ const _sfc_main$4j = /* @__PURE__ */ defineComponent({
|
|
|
37396
37395
|
};
|
|
37397
37396
|
}
|
|
37398
37397
|
});
|
|
37399
|
-
const DisplayFieldsEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4j, [["__scopeId", "data-v-
|
|
37398
|
+
const DisplayFieldsEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4j, [["__scopeId", "data-v-9ad99a29"]]);
|
|
37400
37399
|
const _hoisted_1$2q = {
|
|
37401
37400
|
key: 0,
|
|
37402
37401
|
class: "quick-search-editor"
|
|
@@ -37793,11 +37792,11 @@ const _hoisted_1$2o = {
|
|
|
37793
37792
|
const _hoisted_2$1F = { class: "section-heading" };
|
|
37794
37793
|
const _hoisted_3$1g = { class: "section-title" };
|
|
37795
37794
|
const _hoisted_4$Y = { class: "rule-count" };
|
|
37796
|
-
const _hoisted_5$
|
|
37797
|
-
const _hoisted_6$
|
|
37795
|
+
const _hoisted_5$K = { class: "section-hint" };
|
|
37796
|
+
const _hoisted_6$A = { class: "built-in-table" };
|
|
37798
37797
|
const _hoisted_7$o = { class: "built-in-table-head" };
|
|
37799
37798
|
const _hoisted_8$k = ["title"];
|
|
37800
|
-
const _hoisted_9$
|
|
37799
|
+
const _hoisted_9$f = { class: "field-name" };
|
|
37801
37800
|
const _hoisted_10$c = { class: "field-key" };
|
|
37802
37801
|
const _hoisted_11$a = ["aria-label"];
|
|
37803
37802
|
const _hoisted_12$7 = ["title"];
|
|
@@ -38103,9 +38102,9 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
38103
38102
|
createTextVNode(toDisplayString$1(unref($t2)("sys.pageDesigner.builtInFillRules")) + " ", 1),
|
|
38104
38103
|
createElementVNode("span", _hoisted_4$Y, toDisplayString$1(builtInDisplayRules.value.length), 1)
|
|
38105
38104
|
]),
|
|
38106
|
-
createElementVNode("span", _hoisted_5$
|
|
38105
|
+
createElementVNode("span", _hoisted_5$K, toDisplayString$1(unref($t2)("sys.pageDesigner.builtInFillRulesTip")), 1)
|
|
38107
38106
|
]),
|
|
38108
|
-
createElementVNode("div", _hoisted_6$
|
|
38107
|
+
createElementVNode("div", _hoisted_6$A, [
|
|
38109
38108
|
createElementVNode("div", _hoisted_7$o, [
|
|
38110
38109
|
createElementVNode("span", null, toDisplayString$1(unref($t2)("sys.pageDesigner.valueSource")), 1),
|
|
38111
38110
|
_cache[0] || (_cache[0] = createElementVNode("span", null, null, -1)),
|
|
@@ -38120,7 +38119,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
38120
38119
|
class: "field-cell",
|
|
38121
38120
|
title: rule.fromField
|
|
38122
38121
|
}, [
|
|
38123
|
-
createElementVNode("span", _hoisted_9$
|
|
38122
|
+
createElementVNode("span", _hoisted_9$f, toDisplayString$1(rule.sourceLabel), 1),
|
|
38124
38123
|
createElementVNode("code", _hoisted_10$c, toDisplayString$1(rule.fromField), 1)
|
|
38125
38124
|
], 8, _hoisted_8$k),
|
|
38126
38125
|
createElementVNode("span", {
|
|
@@ -46767,8 +46766,8 @@ const _hoisted_1$2e = { class: "card-signer" };
|
|
|
46767
46766
|
const _hoisted_2$1B = { class: "card-account" };
|
|
46768
46767
|
const _hoisted_3$1f = ["aria-busy"];
|
|
46769
46768
|
const _hoisted_4$X = ["src"];
|
|
46770
|
-
const _hoisted_5$
|
|
46771
|
-
const _hoisted_6$
|
|
46769
|
+
const _hoisted_5$J = { class: "card-message" };
|
|
46770
|
+
const _hoisted_6$z = ["disabled"];
|
|
46772
46771
|
const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
46773
46772
|
__name: "card-signer",
|
|
46774
46773
|
props: {
|
|
@@ -46912,7 +46911,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
46912
46911
|
class: normalizeClass(["card-image", { waiting: status.value === "NORMAL" }]),
|
|
46913
46912
|
alt: ""
|
|
46914
46913
|
}, null, 10, _hoisted_4$X),
|
|
46915
|
-
createElementVNode("div", _hoisted_5$
|
|
46914
|
+
createElementVNode("div", _hoisted_5$J, toDisplayString$1(statusInfo.value.title), 1)
|
|
46916
46915
|
], 8, _hoisted_3$1f),
|
|
46917
46916
|
withDirectives(createElementVNode("input", {
|
|
46918
46917
|
ref_key: "inputRef",
|
|
@@ -46926,7 +46925,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
46926
46925
|
onKeydown: onCardInput,
|
|
46927
46926
|
onPaste: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
46928
46927
|
}, ["prevent"]))
|
|
46929
|
-
}, null, 40, _hoisted_6$
|
|
46928
|
+
}, null, 40, _hoisted_6$z), [
|
|
46930
46929
|
[vModelText, cardNo.value]
|
|
46931
46930
|
])
|
|
46932
46931
|
]);
|
|
@@ -46960,7 +46959,7 @@ const _hoisted_4$W = {
|
|
|
46960
46959
|
key: 0,
|
|
46961
46960
|
class: "sign-popover-content__methods"
|
|
46962
46961
|
};
|
|
46963
|
-
const _hoisted_5$
|
|
46962
|
+
const _hoisted_5$I = { class: "sign-popover-content__footer" };
|
|
46964
46963
|
const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
46965
46964
|
__name: "sign-popover-content",
|
|
46966
46965
|
props: {
|
|
@@ -47104,7 +47103,7 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
47104
47103
|
"signature-image-direction": __props.signatureImageDirection
|
|
47105
47104
|
}, null, 8, ["sign-mode", "hidden-sign-mode", "fix-sign-mode", "get-sign-img-by-account", "upload-sign-file", "disable-user-name", "fill-user-name", "default-user-name", "enable-sign-password", "signature-image-direction"]))
|
|
47106
47105
|
], 64)),
|
|
47107
|
-
withDirectives(createElementVNode("div", _hoisted_5$
|
|
47106
|
+
withDirectives(createElementVNode("div", _hoisted_5$I, [
|
|
47108
47107
|
createVNode(_component_a_button, {
|
|
47109
47108
|
size: "small",
|
|
47110
47109
|
onClick: _cache[3] || (_cache[3] = ($event) => emit2("cancel"))
|
|
@@ -47139,8 +47138,8 @@ const _hoisted_1$2c = { class: "adaptive-warning" };
|
|
|
47139
47138
|
const _hoisted_2$1z = { class: "warning-title" };
|
|
47140
47139
|
const _hoisted_3$1d = { class: "warning-list" };
|
|
47141
47140
|
const _hoisted_4$V = { class: "signature-format-selects" };
|
|
47142
|
-
const _hoisted_5$
|
|
47143
|
-
const _hoisted_6$
|
|
47141
|
+
const _hoisted_5$H = { class: "signature-select-wrapper" };
|
|
47142
|
+
const _hoisted_6$y = {
|
|
47144
47143
|
key: 4,
|
|
47145
47144
|
class: "fill-fields-area"
|
|
47146
47145
|
};
|
|
@@ -47497,7 +47496,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
47497
47496
|
}, {
|
|
47498
47497
|
default: withCtx(() => [
|
|
47499
47498
|
createElementVNode("div", null, [
|
|
47500
|
-
createElementVNode("div", _hoisted_5$
|
|
47499
|
+
createElementVNode("div", _hoisted_5$H, [
|
|
47501
47500
|
createElementVNode("div", {
|
|
47502
47501
|
onClick: _cache[6] || (_cache[6] = ($event) => setSignDisplayStyle(unref(SignShowTypeEnum).VERTICAL)),
|
|
47503
47502
|
class: "cursor-pointer"
|
|
@@ -47527,7 +47526,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
47527
47526
|
}, 8, ["label"])) : createCommentVNode("", true),
|
|
47528
47527
|
!isNewSignatureConfig.value && [unref(SignatureTypeEnum).SIGNATURE_DATE, unref(SignatureTypeEnum).SIGNATURE_DATETIME].includes(
|
|
47529
47528
|
formState.value.signatureType
|
|
47530
|
-
) && formState.value.signTimeType === unref(SignatureTimeTypeEnum).POPULATE_FIELD ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
47529
|
+
) && formState.value.signTimeType === unref(SignatureTimeTypeEnum).POPULATE_FIELD ? (openBlock(), createElementBlock("div", _hoisted_6$y, [
|
|
47531
47530
|
createVNode(AttachFieldEditor, mergeProps({
|
|
47532
47531
|
items: formState.value.populateFields,
|
|
47533
47532
|
"onUpdate:items": _cache[8] || (_cache[8] = ($event) => formState.value.populateFields = $event),
|
|
@@ -47706,11 +47705,11 @@ const _hoisted_1$2a = { class: "common-regex-panel__header" };
|
|
|
47706
47705
|
const _hoisted_2$1x = { class: "common-regex-panel__title" };
|
|
47707
47706
|
const _hoisted_3$1b = { class: "common-regex-panel__empty" };
|
|
47708
47707
|
const _hoisted_4$U = { class: "common-regex-panel__empty-tip" };
|
|
47709
|
-
const _hoisted_5$
|
|
47710
|
-
const _hoisted_6$
|
|
47708
|
+
const _hoisted_5$G = { class: "common-regex-panel__header has-border" };
|
|
47709
|
+
const _hoisted_6$x = { class: "common-regex-panel__title" };
|
|
47711
47710
|
const _hoisted_7$m = { class: "common-regex-panel__list" };
|
|
47712
47711
|
const _hoisted_8$i = { class: "common-regex-panel__item-main" };
|
|
47713
|
-
const _hoisted_9$
|
|
47712
|
+
const _hoisted_9$e = ["title"];
|
|
47714
47713
|
const _hoisted_10$b = ["title"];
|
|
47715
47714
|
const _hoisted_11$9 = { class: "common-regex-panel__item-actions" };
|
|
47716
47715
|
const _hoisted_12$6 = ["onClick"];
|
|
@@ -47918,8 +47917,8 @@ const _sfc_main$3$ = /* @__PURE__ */ defineComponent({
|
|
|
47918
47917
|
})
|
|
47919
47918
|
])
|
|
47920
47919
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
47921
|
-
createElementVNode("div", _hoisted_5$
|
|
47922
|
-
createElementVNode("span", _hoisted_6$
|
|
47920
|
+
createElementVNode("div", _hoisted_5$G, [
|
|
47921
|
+
createElementVNode("span", _hoisted_6$x, toDisplayString$1(_ctx.$t("sys.regexEditor.commonReg")), 1),
|
|
47923
47922
|
createElementVNode("button", {
|
|
47924
47923
|
class: "common-regex-panel__add",
|
|
47925
47924
|
type: "button",
|
|
@@ -47943,7 +47942,7 @@ const _sfc_main$3$ = /* @__PURE__ */ defineComponent({
|
|
|
47943
47942
|
createElementVNode("div", {
|
|
47944
47943
|
class: "common-regex-panel__item-name",
|
|
47945
47944
|
title: item.name
|
|
47946
|
-
}, toDisplayString$1(item.name), 9, _hoisted_9$
|
|
47945
|
+
}, toDisplayString$1(item.name), 9, _hoisted_9$e),
|
|
47947
47946
|
createElementVNode("div", {
|
|
47948
47947
|
class: "common-regex-panel__item-value",
|
|
47949
47948
|
title: item.value
|
|
@@ -48051,8 +48050,8 @@ const _hoisted_1$29 = { class: "regex-editor-modal" };
|
|
|
48051
48050
|
const _hoisted_2$1w = { class: "regex-editor-modal__item" };
|
|
48052
48051
|
const _hoisted_3$1a = { class: "regex-editor-modal__label" };
|
|
48053
48052
|
const _hoisted_4$T = { class: "regex-editor-modal__regex-row" };
|
|
48054
|
-
const _hoisted_5$
|
|
48055
|
-
const _hoisted_6$
|
|
48053
|
+
const _hoisted_5$F = { class: "regex-editor-modal__regex-main" };
|
|
48054
|
+
const _hoisted_6$w = {
|
|
48056
48055
|
key: 0,
|
|
48057
48056
|
class: "error"
|
|
48058
48057
|
};
|
|
@@ -48061,7 +48060,7 @@ const _hoisted_7$l = {
|
|
|
48061
48060
|
class: "regex-editor-modal__tags"
|
|
48062
48061
|
};
|
|
48063
48062
|
const _hoisted_8$h = ["onClick"];
|
|
48064
|
-
const _hoisted_9$
|
|
48063
|
+
const _hoisted_9$d = { class: "regex-common-panel-overlay__clip" };
|
|
48065
48064
|
const _hoisted_10$a = { class: "delete-confirm__title" };
|
|
48066
48065
|
const _hoisted_11$8 = { class: "delete-confirm__actions" };
|
|
48067
48066
|
const _hoisted_12$5 = { class: "regex-editor-modal__item regex-editor-modal__item--hint" };
|
|
@@ -48201,7 +48200,7 @@ const _sfc_main$3_ = /* @__PURE__ */ defineComponent({
|
|
|
48201
48200
|
createElementVNode("div", _hoisted_2$1w, [
|
|
48202
48201
|
createElementVNode("div", _hoisted_3$1a, toDisplayString$1(_ctx.$t("sys.regexEditor.regex")), 1),
|
|
48203
48202
|
createElementVNode("div", _hoisted_4$T, [
|
|
48204
|
-
createElementVNode("div", _hoisted_5$
|
|
48203
|
+
createElementVNode("div", _hoisted_5$F, [
|
|
48205
48204
|
createElementVNode("div", {
|
|
48206
48205
|
class: normalizeClass({ "ant-form-item-has-error": !!errors.regex })
|
|
48207
48206
|
}, [
|
|
@@ -48217,7 +48216,7 @@ const _sfc_main$3_ = /* @__PURE__ */ defineComponent({
|
|
|
48217
48216
|
onBlur: _cache[2] || (_cache[2] = ($event) => validateField("regex"))
|
|
48218
48217
|
}, null, 8, ["value", "placeholder", "disabled"])
|
|
48219
48218
|
], 2),
|
|
48220
|
-
errors.regex ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
48219
|
+
errors.regex ? (openBlock(), createElementBlock("div", _hoisted_6$w, toDisplayString$1(errors.regex), 1)) : createCommentVNode("", true),
|
|
48221
48220
|
commonList.value.length && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_7$l, [
|
|
48222
48221
|
(openBlock(true), createElementBlock(Fragment, null, renderList(commonList.value, (item) => {
|
|
48223
48222
|
return openBlock(), createBlock(_component_a_tooltip, {
|
|
@@ -48254,7 +48253,7 @@ const _sfc_main$3_ = /* @__PURE__ */ defineComponent({
|
|
|
48254
48253
|
onClick: _cache[7] || (_cache[7] = withModifiers(() => {
|
|
48255
48254
|
}, ["stop"]))
|
|
48256
48255
|
}, [
|
|
48257
|
-
createElementVNode("div", _hoisted_9$
|
|
48256
|
+
createElementVNode("div", _hoisted_9$d, [
|
|
48258
48257
|
panelShown.value ? (openBlock(), createBlock(CommonRegexPanel, {
|
|
48259
48258
|
key: 0,
|
|
48260
48259
|
ref_key: "commonPanelRef",
|
|
@@ -50903,7 +50902,8 @@ const _sfc_main$3H = /* @__PURE__ */ defineComponent({
|
|
|
50903
50902
|
}
|
|
50904
50903
|
});
|
|
50905
50904
|
const optionGap = computed({
|
|
50906
|
-
|
|
50905
|
+
// 只展示旧组件的实际间距,不在打开属性面板时补默认值。
|
|
50906
|
+
get: () => props2.widget.optionGap ?? (props2.widget.direction === Orientation.Portrait ? 0 : 4),
|
|
50907
50907
|
set: (value) => {
|
|
50908
50908
|
formState.value.optionGap = value ?? DEFAULT_OPTION_GAP$1;
|
|
50909
50909
|
}
|
|
@@ -51087,7 +51087,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
51087
51087
|
});
|
|
51088
51088
|
const optionGap = computed({
|
|
51089
51089
|
get() {
|
|
51090
|
-
return props2.widget.optionGap ??
|
|
51090
|
+
return props2.widget.optionGap ?? (props2.widget.direction === Orientation.Portrait ? 0 : 4);
|
|
51091
51091
|
},
|
|
51092
51092
|
set(v) {
|
|
51093
51093
|
formState.value.optionGap = v ?? DEFAULT_OPTION_GAP;
|
|
@@ -52385,34 +52385,31 @@ const _sfc_main$3i = /* @__PURE__ */ defineComponent({
|
|
|
52385
52385
|
group: { id: "ONLINE_FORM_FUNC", name: "业务函数" },
|
|
52386
52386
|
functions: [
|
|
52387
52387
|
{
|
|
52388
|
-
id: "
|
|
52388
|
+
id: "PROCESSPARAMCHECK",
|
|
52389
52389
|
returnType: "boolean",
|
|
52390
52390
|
args: ["key", "value"],
|
|
52391
|
-
desc:
|
|
52392
|
-
|
|
52393
|
-
|
|
52394
|
-
|
|
52395
|
-
definition: "declare function RoutingParamCheck(key:string; value: number): Promise<boolean | null>;"
|
|
52391
|
+
desc: `PROCESSPARAMCHECK(参数字段KEY,参数字段)
|
|
52392
|
+
根据表单填报的工艺参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
52393
|
+
示例:PROCESSPARAMCHECK('gycs',灭菌参数) 返回 true`,
|
|
52394
|
+
definition: "declare function PROCESSPARAMCHECK(key:string; value: number): Promise<boolean | null>;"
|
|
52396
52395
|
},
|
|
52397
52396
|
{
|
|
52398
|
-
id: "
|
|
52397
|
+
id: "DEVICEPARAMCHECK",
|
|
52399
52398
|
returnType: "boolean",
|
|
52400
52399
|
args: ["id", "key", "value"],
|
|
52401
|
-
desc:
|
|
52402
|
-
|
|
52403
|
-
|
|
52404
|
-
|
|
52405
|
-
definition: "declare function DeviceParamCheck(id:string; key:string, value: number): Promise<boolean | null>;"
|
|
52400
|
+
desc: `DEVICEPARAMCHECK(设备字段,参数字段KEY,参数字段)
|
|
52401
|
+
根据表单填报的设备参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
52402
|
+
示例:DEVICEPARAMCHECK(设备字段,'sbcs',运行转速) 返回 true`,
|
|
52403
|
+
definition: "declare function DEVICEPARAMCHECK(id:string; key:string, value: number): Promise<boolean | null>;"
|
|
52406
52404
|
},
|
|
52407
52405
|
{
|
|
52408
|
-
id: "
|
|
52406
|
+
id: "INSPECTIONPARAMCHECK",
|
|
52409
52407
|
returnType: "boolean",
|
|
52410
52408
|
args: ["key", "value"],
|
|
52411
|
-
desc:
|
|
52412
|
-
|
|
52413
|
-
|
|
52414
|
-
|
|
52415
|
-
definition: "declare function InspectionParamCheck(key:string; value: number): Promise<boolean | null>;"
|
|
52409
|
+
desc: `INSPECTIONPARAMCHECK(参数字段KEY,参数字段)
|
|
52410
|
+
根据表单填报的检验参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
52411
|
+
示例:INSPECTIONPARAMCHECK('jycs',含量) 返回 true`,
|
|
52412
|
+
definition: "declare function INSPECTIONPARAMCHECK(key:string; value: number): Promise<boolean | null>;"
|
|
52416
52413
|
}
|
|
52417
52414
|
]
|
|
52418
52415
|
}
|
|
@@ -52612,16 +52609,16 @@ const _sfc_main$3i = /* @__PURE__ */ defineComponent({
|
|
|
52612
52609
|
};
|
|
52613
52610
|
}
|
|
52614
52611
|
});
|
|
52615
|
-
const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3i, [["__scopeId", "data-v-
|
|
52612
|
+
const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3i, [["__scopeId", "data-v-d15f9081"]]);
|
|
52616
52613
|
const _hoisted_1$1Y = { class: "text-[#C3C3C3] text-12px mb8px" };
|
|
52617
52614
|
const _hoisted_2$1p = { class: "ks-row" };
|
|
52618
52615
|
const _hoisted_3$16 = { class: "mr-auto" };
|
|
52619
52616
|
const _hoisted_4$R = { class: "text-[#212528] text-[400]" };
|
|
52620
|
-
const _hoisted_5$
|
|
52617
|
+
const _hoisted_5$E = {
|
|
52621
52618
|
key: 0,
|
|
52622
52619
|
class: "ml5px text-[#c3c3c3]"
|
|
52623
52620
|
};
|
|
52624
|
-
const _hoisted_6$
|
|
52621
|
+
const _hoisted_6$v = ["onClick"];
|
|
52625
52622
|
const _hoisted_7$k = { class: "text-[#797A7D] bg-[#fff] p-4px mt-2px ell h26px" };
|
|
52626
52623
|
const _sfc_main$3h = /* @__PURE__ */ defineComponent({
|
|
52627
52624
|
__name: "cell-widget-dependency",
|
|
@@ -52775,7 +52772,7 @@ const _sfc_main$3h = /* @__PURE__ */ defineComponent({
|
|
|
52775
52772
|
createElementVNode("div", _hoisted_2$1p, [
|
|
52776
52773
|
createElementVNode("div", _hoisted_3$16, [
|
|
52777
52774
|
createElementVNode("span", _hoisted_4$R, toDisplayString$1(_ctx.$t("sys.pageDesigner." + item)), 1),
|
|
52778
|
-
item === unref(Dependency_ENUM).ASSIGNMENT ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
52775
|
+
item === unref(Dependency_ENUM).ASSIGNMENT ? (openBlock(), createElementBlock("span", _hoisted_5$E, [
|
|
52779
52776
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.pageDesigner.formulaCalculation")) + " ", 1),
|
|
52780
52777
|
configDependency.value[item]?.strategy ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
52781
52778
|
createTextVNode(" · " + toDisplayString$1(_ctx.$t("sys.pageDesigner." + configDependency.value[item].strategy)), 1)
|
|
@@ -52790,7 +52787,7 @@ const _sfc_main$3h = /* @__PURE__ */ defineComponent({
|
|
|
52790
52787
|
createElementVNode("i", {
|
|
52791
52788
|
class: "iconfont icon-bianji cursor-pointer ml8px primary-gct-hover text-[#797A7D] allow-readonly-view",
|
|
52792
52789
|
onClick: ($event) => editList(item, index2)
|
|
52793
|
-
}, null, 8, _hoisted_6$
|
|
52790
|
+
}, null, 8, _hoisted_6$v)
|
|
52794
52791
|
]),
|
|
52795
52792
|
_: 2
|
|
52796
52793
|
}, 1024),
|
|
@@ -53090,6 +53087,10 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
53090
53087
|
}
|
|
53091
53088
|
return tabs;
|
|
53092
53089
|
});
|
|
53090
|
+
const formatKey = computed(() => {
|
|
53091
|
+
const fk = props2.fieldMeta?.field?.split("$") || [];
|
|
53092
|
+
return fk[fk.length - 1];
|
|
53093
|
+
});
|
|
53093
53094
|
watch(
|
|
53094
53095
|
[availableTabs, activeTab],
|
|
53095
53096
|
([tabs, currentTab]) => {
|
|
@@ -53176,9 +53177,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
53176
53177
|
label: _ctx.$t("sys.onlineForm.fieldKey")
|
|
53177
53178
|
}, {
|
|
53178
53179
|
default: withCtx(() => [
|
|
53179
|
-
createVNode(FieldAttributeValue, {
|
|
53180
|
-
value: __props.fieldMeta?.field
|
|
53181
|
-
}, null, 8, ["value"])
|
|
53180
|
+
createVNode(FieldAttributeValue, { value: formatKey.value }, null, 8, ["value"])
|
|
53182
53181
|
]),
|
|
53183
53182
|
_: 1
|
|
53184
53183
|
}, 8, ["label"]),
|
|
@@ -53359,7 +53358,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
53359
53358
|
};
|
|
53360
53359
|
}
|
|
53361
53360
|
});
|
|
53362
|
-
const FieldConfig = /* @__PURE__ */ _export_sfc(_sfc_main$3c, [["__scopeId", "data-v-
|
|
53361
|
+
const FieldConfig = /* @__PURE__ */ _export_sfc(_sfc_main$3c, [["__scopeId", "data-v-b57d639e"]]);
|
|
53363
53362
|
const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
53364
53363
|
__name: "panel-seal",
|
|
53365
53364
|
setup(__props) {
|
|
@@ -53375,7 +53374,7 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
53375
53374
|
}
|
|
53376
53375
|
});
|
|
53377
53376
|
function asyncImportWidgetProp() {
|
|
53378
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
53377
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BYiE3tsx.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-DHQFi6CR.js"), "./widget-image.vue": () => import("./widget-image-id71BcU3.js"), "./widget-line.vue": () => import("./widget-line-Cp0b7r3U.js"), "./widget-pagination.vue": () => import("./widget-pagination-BtlUxqBg.js"), "./widget-power.vue": () => import("./widget-power-DHRfJ48L.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-DNCRxnIr.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-BSSBKq1C.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-CUluNTQw.js"), "./widget-text.vue": () => import("./widget-text-BdzPeniw.js"), "./widget-timediff.vue": () => import("./widget-timediff-DerdwjRU.js") });
|
|
53379
53378
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
53380
53379
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
53381
53380
|
if (mKey) {
|
|
@@ -54340,8 +54339,8 @@ const _hoisted_1$1N = { class: "dynamic-table__header mb-4px" };
|
|
|
54340
54339
|
const _hoisted_2$1h = ["onClick"];
|
|
54341
54340
|
const _hoisted_3$12 = { class: "dynamic-table__body" };
|
|
54342
54341
|
const _hoisted_4$P = ["onClick"];
|
|
54343
|
-
const _hoisted_5$
|
|
54344
|
-
const _hoisted_6$
|
|
54342
|
+
const _hoisted_5$D = ["onClick"];
|
|
54343
|
+
const _hoisted_6$u = {
|
|
54345
54344
|
key: 0,
|
|
54346
54345
|
class: "flex justify-center color-[#bebdc7]"
|
|
54347
54346
|
};
|
|
@@ -54397,11 +54396,11 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
54397
54396
|
key: 0,
|
|
54398
54397
|
class: "iconfont icon-shanchu2",
|
|
54399
54398
|
onClick: withModifiers(() => unref(removeSubTable)(item), ["stop"])
|
|
54400
|
-
}, null, 8, _hoisted_5$
|
|
54399
|
+
}, null, 8, _hoisted_5$D)) : createCommentVNode("", true)
|
|
54401
54400
|
])
|
|
54402
54401
|
]);
|
|
54403
54402
|
}), 128)),
|
|
54404
|
-
!__props.tables.length ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
54403
|
+
!__props.tables.length ? (openBlock(), createElementBlock("div", _hoisted_6$u, toDisplayString$1(_ctx.$t("sys.onlineForm.notSetYet")) + toDisplayString$1(_ctx.$t("sys.onlineForm.subTableType." + __props.type)), 1)) : createCommentVNode("", true)
|
|
54405
54404
|
]),
|
|
54406
54405
|
_: 1
|
|
54407
54406
|
}, 8, ["label"])) : createCommentVNode("", true);
|
|
@@ -54505,14 +54504,14 @@ const _hoisted_1$1L = {
|
|
|
54505
54504
|
const _hoisted_2$1g = { class: "rules-item rules-item-title" };
|
|
54506
54505
|
const _hoisted_3$11 = { class: "title left" };
|
|
54507
54506
|
const _hoisted_4$O = { class: "title right" };
|
|
54508
|
-
const _hoisted_5$
|
|
54509
|
-
const _hoisted_6$
|
|
54507
|
+
const _hoisted_5$C = { class: "rules-item-value" };
|
|
54508
|
+
const _hoisted_6$t = { class: "rules-item-middle" };
|
|
54510
54509
|
const _hoisted_7$j = { class: "rules-item-value" };
|
|
54511
54510
|
const _hoisted_8$g = {
|
|
54512
54511
|
key: 0,
|
|
54513
54512
|
class: "rules-item-ope"
|
|
54514
54513
|
};
|
|
54515
|
-
const _hoisted_9$
|
|
54514
|
+
const _hoisted_9$c = ["onClick"];
|
|
54516
54515
|
const _sfc_main$2$ = /* @__PURE__ */ defineComponent({
|
|
54517
54516
|
__name: "config-modal",
|
|
54518
54517
|
props: {
|
|
@@ -54656,7 +54655,7 @@ const _sfc_main$2$ = /* @__PURE__ */ defineComponent({
|
|
|
54656
54655
|
key: i,
|
|
54657
54656
|
class: "rules-item"
|
|
54658
54657
|
}, [
|
|
54659
|
-
createElementVNode("div", _hoisted_5$
|
|
54658
|
+
createElementVNode("div", _hoisted_5$C, [
|
|
54660
54659
|
createVNode(_component_a_form_item, {
|
|
54661
54660
|
name: ["configList", i, "main", "key"],
|
|
54662
54661
|
rules: __props.readonly ? [] : [{ required: true, message: _ctx.$t("sys.chooseText") }]
|
|
@@ -54674,7 +54673,7 @@ const _sfc_main$2$ = /* @__PURE__ */ defineComponent({
|
|
|
54674
54673
|
_: 2
|
|
54675
54674
|
}, 1032, ["name", "rules"])
|
|
54676
54675
|
]),
|
|
54677
|
-
createElementVNode("div", _hoisted_6$
|
|
54676
|
+
createElementVNode("div", _hoisted_6$t, toDisplayString$1(_ctx.$t("sys.edhr.mutualExclusion")), 1),
|
|
54678
54677
|
createElementVNode("div", _hoisted_7$j, [
|
|
54679
54678
|
createVNode(_component_a_form_item, {
|
|
54680
54679
|
name: ["configList", i, "checkIds"],
|
|
@@ -54698,7 +54697,7 @@ const _sfc_main$2$ = /* @__PURE__ */ defineComponent({
|
|
|
54698
54697
|
createElementVNode("i", {
|
|
54699
54698
|
class: "iconfont icon-shanchu2 error-gct cursor-pointer lh-32px",
|
|
54700
54699
|
onClick: ($event) => onDelete(i)
|
|
54701
|
-
}, null, 8, _hoisted_9$
|
|
54700
|
+
}, null, 8, _hoisted_9$c)
|
|
54702
54701
|
])) : createCommentVNode("", true)
|
|
54703
54702
|
]);
|
|
54704
54703
|
}), 128))
|
|
@@ -54742,14 +54741,14 @@ const _hoisted_1$1K = { class: "panel-document" };
|
|
|
54742
54741
|
const _hoisted_2$1f = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
54743
54742
|
const _hoisted_3$10 = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
54744
54743
|
const _hoisted_4$N = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
54745
|
-
const _hoisted_5$
|
|
54746
|
-
const _hoisted_6$
|
|
54744
|
+
const _hoisted_5$B = { class: "flex justify-end" };
|
|
54745
|
+
const _hoisted_6$s = { class: "flex justify-end" };
|
|
54747
54746
|
const _hoisted_7$i = {
|
|
54748
54747
|
key: 0,
|
|
54749
54748
|
class: "dynamic-table"
|
|
54750
54749
|
};
|
|
54751
54750
|
const _hoisted_8$f = { class: "dynamic-table__header" };
|
|
54752
|
-
const _hoisted_9$
|
|
54751
|
+
const _hoisted_9$b = {
|
|
54753
54752
|
key: 1,
|
|
54754
54753
|
class: "flex justify-center color-[#bebdc7]"
|
|
54755
54754
|
};
|
|
@@ -55034,7 +55033,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
55034
55033
|
class: "justify-between"
|
|
55035
55034
|
}, {
|
|
55036
55035
|
default: withCtx(() => [
|
|
55037
|
-
createElementVNode("div", _hoisted_5$
|
|
55036
|
+
createElementVNode("div", _hoisted_5$B, [
|
|
55038
55037
|
createVNode(_component_a_switch, {
|
|
55039
55038
|
size: "small",
|
|
55040
55039
|
disabled: unref(sheetReadonly2),
|
|
@@ -55050,7 +55049,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
55050
55049
|
class: "justify-between"
|
|
55051
55050
|
}, {
|
|
55052
55051
|
default: withCtx(() => [
|
|
55053
|
-
createElementVNode("div", _hoisted_6$
|
|
55052
|
+
createElementVNode("div", _hoisted_6$s, [
|
|
55054
55053
|
createVNode(_component_a_switch, {
|
|
55055
55054
|
size: "small",
|
|
55056
55055
|
disabled: unref(sheetReadonly2),
|
|
@@ -55075,7 +55074,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
55075
55074
|
onClick: _cache[6] || (_cache[6] = withModifiers(() => unref(removeThead)(), ["stop"]))
|
|
55076
55075
|
})) : createCommentVNode("", true)
|
|
55077
55076
|
])
|
|
55078
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_9$
|
|
55077
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_9$b, toDisplayString$1(_ctx.$t("sys.onlineForm.noHeaderSetYet")), 1))
|
|
55079
55078
|
]),
|
|
55080
55079
|
_: 1
|
|
55081
55080
|
}, 8, ["label"]),
|
|
@@ -55249,8 +55248,8 @@ const _hoisted_1$1I = { class: "p-12px h-full flex flex-col" };
|
|
|
55249
55248
|
const _hoisted_2$1d = { class: "text-12px font-500 flex-none" };
|
|
55250
55249
|
const _hoisted_3$_ = ["id"];
|
|
55251
55250
|
const _hoisted_4$L = { key: 0 };
|
|
55252
|
-
const _hoisted_5$
|
|
55253
|
-
const _hoisted_6$
|
|
55251
|
+
const _hoisted_5$A = ["onMouseenter"];
|
|
55252
|
+
const _hoisted_6$r = ["onClick"];
|
|
55254
55253
|
const _hoisted_7$h = ["onClick"];
|
|
55255
55254
|
const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
55256
55255
|
__name: "panel-paper-widget-group",
|
|
@@ -55353,13 +55352,13 @@ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
|
55353
55352
|
class: normalizeClass(["iconfont", widget2.icon])
|
|
55354
55353
|
}, null, 2),
|
|
55355
55354
|
createElementVNode("span", null, toDisplayString$1(widget2.name), 1)
|
|
55356
|
-
], 8, _hoisted_6$
|
|
55355
|
+
], 8, _hoisted_6$r),
|
|
55357
55356
|
!unref(sheetReadonly2) ? (openBlock(), createElementBlock("i", {
|
|
55358
55357
|
key: 0,
|
|
55359
55358
|
class: "iconfont icon-shanchu2",
|
|
55360
55359
|
onClick: withModifiers(($event) => handleRemovePaperWidget(widget2.id), ["stop"])
|
|
55361
55360
|
}, null, 8, _hoisted_7$h)) : createCommentVNode("", true)
|
|
55362
|
-
], 42, _hoisted_5$
|
|
55361
|
+
], 42, _hoisted_5$A);
|
|
55363
55362
|
}), 128))
|
|
55364
55363
|
])
|
|
55365
55364
|
], 40, _hoisted_3$_)
|
|
@@ -55414,11 +55413,11 @@ const _hoisted_1$1G = { class: "panel-fixed-table" };
|
|
|
55414
55413
|
const _hoisted_2$1b = { class: "readonly-text" };
|
|
55415
55414
|
const _hoisted_3$Z = { class: "readonly-text" };
|
|
55416
55415
|
const _hoisted_4$K = { class: "readonly-text" };
|
|
55417
|
-
const _hoisted_5$
|
|
55418
|
-
const _hoisted_6$
|
|
55416
|
+
const _hoisted_5$z = { class: "readonly-text" };
|
|
55417
|
+
const _hoisted_6$q = { class: "readonly-text" };
|
|
55419
55418
|
const _hoisted_7$g = { class: "mt-12px text-12px color-[#252525]" };
|
|
55420
55419
|
const _hoisted_8$e = { class: "color-[#3168EC]" };
|
|
55421
|
-
const _hoisted_9$
|
|
55420
|
+
const _hoisted_9$a = { class: "config-tip" };
|
|
55422
55421
|
const _hoisted_10$8 = { class: "config-extra" };
|
|
55423
55422
|
const _hoisted_11$6 = { class: "config-tip" };
|
|
55424
55423
|
const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
@@ -55607,7 +55606,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
|
55607
55606
|
label: _ctx.$t("sys.onlineForm.numberOfRows")
|
|
55608
55607
|
}, {
|
|
55609
55608
|
default: withCtx(() => [
|
|
55610
|
-
createElementVNode("span", _hoisted_5$
|
|
55609
|
+
createElementVNode("span", _hoisted_5$z, toDisplayString$1(rowCount.value), 1)
|
|
55611
55610
|
]),
|
|
55612
55611
|
_: 1
|
|
55613
55612
|
}, 8, ["label"])
|
|
@@ -55620,7 +55619,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
|
55620
55619
|
label: _ctx.$t("sys.onlineForm.numberOfColumns")
|
|
55621
55620
|
}, {
|
|
55622
55621
|
default: withCtx(() => [
|
|
55623
|
-
createElementVNode("span", _hoisted_6$
|
|
55622
|
+
createElementVNode("span", _hoisted_6$q, toDisplayString$1(colCount.value), 1)
|
|
55624
55623
|
]),
|
|
55625
55624
|
_: 1
|
|
55626
55625
|
}, 8, ["label"])
|
|
@@ -55681,7 +55680,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
|
55681
55680
|
disabled: unref(sheetReadonly2),
|
|
55682
55681
|
placeholder: _ctx.$t("sys.chooseText")
|
|
55683
55682
|
}, null, 8, ["value", "options", "disabled", "placeholder"]),
|
|
55684
|
-
createElementVNode("div", _hoisted_9$
|
|
55683
|
+
createElementVNode("div", _hoisted_9$a, toDisplayString$1(_ctx.$t("sys.fixedTableMainFieldBindingTip")), 1)
|
|
55685
55684
|
]),
|
|
55686
55685
|
_: 1
|
|
55687
55686
|
}, 8, ["label"]),
|
|
@@ -55726,7 +55725,7 @@ const _hoisted_1$1F = { class: "p-16px" };
|
|
|
55726
55725
|
const _hoisted_2$1a = { class: "flex" };
|
|
55727
55726
|
const _hoisted_3$Y = { class: "section-title" };
|
|
55728
55727
|
const _hoisted_4$J = { class: "ml-16px" };
|
|
55729
|
-
const _hoisted_5$
|
|
55728
|
+
const _hoisted_5$y = { class: "section-title" };
|
|
55730
55729
|
const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
55731
55730
|
__name: "select-modal",
|
|
55732
55731
|
props: {
|
|
@@ -55951,7 +55950,7 @@ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
|
55951
55950
|
}, null, 8, ["row-selection", "columns", "data-source", "loading"])
|
|
55952
55951
|
]),
|
|
55953
55952
|
createElementVNode("div", _hoisted_4$J, [
|
|
55954
|
-
createElementVNode("div", _hoisted_5$
|
|
55953
|
+
createElementVNode("div", _hoisted_5$y, toDisplayString$1(_ctx.$t("sys.appDesigner.newViewField.selectedArea")), 1),
|
|
55955
55954
|
createVNode(_component_a_table, {
|
|
55956
55955
|
"row-key": "id_",
|
|
55957
55956
|
columns: selectedColumns,
|
|
@@ -56550,7 +56549,7 @@ const _hoisted_3$X = {
|
|
|
56550
56549
|
class: /* @__PURE__ */ normalizeClass(["right-list__list"])
|
|
56551
56550
|
};
|
|
56552
56551
|
const _hoisted_4$I = ["title"];
|
|
56553
|
-
const _hoisted_5$
|
|
56552
|
+
const _hoisted_5$x = {
|
|
56554
56553
|
key: 1,
|
|
56555
56554
|
class: /* @__PURE__ */ normalizeClass(["right-list__empty"])
|
|
56556
56555
|
};
|
|
@@ -56601,7 +56600,7 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
|
56601
56600
|
}, null, 8, ["onClick"])
|
|
56602
56601
|
]);
|
|
56603
56602
|
}), 128))
|
|
56604
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_5$
|
|
56603
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_5$x, [
|
|
56605
56604
|
createVNode(_component_a_empty, {
|
|
56606
56605
|
class: "empty-data",
|
|
56607
56606
|
description: "未选择检验项目",
|
|
@@ -57064,8 +57063,8 @@ const _hoisted_1$1A = { class: "panel-data-group" };
|
|
|
57064
57063
|
const _hoisted_2$15 = { class: "readonly-text" };
|
|
57065
57064
|
const _hoisted_3$U = { class: "readonly-text" };
|
|
57066
57065
|
const _hoisted_4$G = { class: "flex justify-end" };
|
|
57067
|
-
const _hoisted_5$
|
|
57068
|
-
const _hoisted_6$
|
|
57066
|
+
const _hoisted_5$w = { class: "readonly-text" };
|
|
57067
|
+
const _hoisted_6$p = { class: "readonly-text" };
|
|
57069
57068
|
const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
57070
57069
|
__name: "panel-data-group",
|
|
57071
57070
|
setup(__props) {
|
|
@@ -57195,7 +57194,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
|
57195
57194
|
label: _ctx.$t("sys.onlineForm.numberOfRows")
|
|
57196
57195
|
}, {
|
|
57197
57196
|
default: withCtx(() => [
|
|
57198
|
-
createElementVNode("span", _hoisted_5$
|
|
57197
|
+
createElementVNode("span", _hoisted_5$w, toDisplayString$1(rowCount.value), 1)
|
|
57199
57198
|
]),
|
|
57200
57199
|
_: 1
|
|
57201
57200
|
}, 8, ["label"])
|
|
@@ -57208,7 +57207,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
|
57208
57207
|
label: _ctx.$t("sys.onlineForm.numberOfColumns")
|
|
57209
57208
|
}, {
|
|
57210
57209
|
default: withCtx(() => [
|
|
57211
|
-
createElementVNode("span", _hoisted_6$
|
|
57210
|
+
createElementVNode("span", _hoisted_6$p, toDisplayString$1(colCount.value), 1)
|
|
57212
57211
|
]),
|
|
57213
57212
|
_: 1
|
|
57214
57213
|
}, 8, ["label"])
|
|
@@ -57254,8 +57253,8 @@ const _hoisted_1$1z = { class: "panel-data-group" };
|
|
|
57254
57253
|
const _hoisted_2$14 = { class: "readonly-text" };
|
|
57255
57254
|
const _hoisted_3$T = { class: "readonly-text" };
|
|
57256
57255
|
const _hoisted_4$F = { class: "flex justify-end" };
|
|
57257
|
-
const _hoisted_5$
|
|
57258
|
-
const _hoisted_6$
|
|
57256
|
+
const _hoisted_5$v = { class: "readonly-text" };
|
|
57257
|
+
const _hoisted_6$o = { class: "readonly-text" };
|
|
57259
57258
|
const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
57260
57259
|
__name: "panel-data-group-2d",
|
|
57261
57260
|
setup(__props) {
|
|
@@ -57447,7 +57446,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
57447
57446
|
label: _ctx.$t("sys.onlineForm.numberOfRows")
|
|
57448
57447
|
}, {
|
|
57449
57448
|
default: withCtx(() => [
|
|
57450
|
-
createElementVNode("span", _hoisted_5$
|
|
57449
|
+
createElementVNode("span", _hoisted_5$v, toDisplayString$1(rowCount.value), 1)
|
|
57451
57450
|
]),
|
|
57452
57451
|
_: 1
|
|
57453
57452
|
}, 8, ["label"])
|
|
@@ -57460,7 +57459,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
57460
57459
|
label: _ctx.$t("sys.onlineForm.numberOfColumns")
|
|
57461
57460
|
}, {
|
|
57462
57461
|
default: withCtx(() => [
|
|
57463
|
-
createElementVNode("span", _hoisted_6$
|
|
57462
|
+
createElementVNode("span", _hoisted_6$o, toDisplayString$1(colCount.value), 1)
|
|
57464
57463
|
]),
|
|
57465
57464
|
_: 1
|
|
57466
57465
|
}, 8, ["label"])
|
|
@@ -57637,11 +57636,11 @@ const _hoisted_1$1x = { class: "panel-global-config" };
|
|
|
57637
57636
|
const _hoisted_2$12 = { class: "option-item-title" };
|
|
57638
57637
|
const _hoisted_3$R = { class: "actions" };
|
|
57639
57638
|
const _hoisted_4$E = ["onClick"];
|
|
57640
|
-
const _hoisted_5$
|
|
57641
|
-
const _hoisted_6$
|
|
57639
|
+
const _hoisted_5$u = ["onClick"];
|
|
57640
|
+
const _hoisted_6$n = { class: "ks-row-middle fieldrow mb5px" };
|
|
57642
57641
|
const _hoisted_7$f = { class: "ks-col ks-row" };
|
|
57643
57642
|
const _hoisted_8$d = { class: "min-w-86px flex-grow-1" };
|
|
57644
|
-
const _hoisted_9$
|
|
57643
|
+
const _hoisted_9$9 = { class: "min-w-86px flex-grow-1" };
|
|
57645
57644
|
const _hoisted_10$7 = ["onClick"];
|
|
57646
57645
|
const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
57647
57646
|
__name: "panel-global-config",
|
|
@@ -57748,7 +57747,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
57748
57747
|
}, [
|
|
57749
57748
|
_cache[1] || (_cache[1] = createElementVNode("i", { class: "iconfont icon-chuangjian mr-4px" }, null, -1)),
|
|
57750
57749
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.insert")), 1)
|
|
57751
|
-
], 8, _hoisted_5$
|
|
57750
|
+
], 8, _hoisted_5$u)
|
|
57752
57751
|
])
|
|
57753
57752
|
])
|
|
57754
57753
|
]),
|
|
@@ -57763,7 +57762,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
57763
57762
|
class: "field-list"
|
|
57764
57763
|
}, {
|
|
57765
57764
|
item: withCtx(({ element: option2 }) => [
|
|
57766
|
-
createElementVNode("div", _hoisted_6$
|
|
57765
|
+
createElementVNode("div", _hoisted_6$n, [
|
|
57767
57766
|
_cache[3] || (_cache[3] = createElementVNode("i", { class: "icon-drag iconfont mr4px cursor-move text-[#C3C3C3] primary-gct-hover" }, null, -1)),
|
|
57768
57767
|
createElementVNode("div", _hoisted_7$f, [
|
|
57769
57768
|
createElementVNode("div", _hoisted_8$d, [
|
|
@@ -57775,7 +57774,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
57775
57774
|
}, null, 8, ["value", "onUpdate:value", "placeholder"])
|
|
57776
57775
|
]),
|
|
57777
57776
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "w4px" }, null, -1)),
|
|
57778
|
-
createElementVNode("div", _hoisted_9$
|
|
57777
|
+
createElementVNode("div", _hoisted_9$9, [
|
|
57779
57778
|
createVNode(_component_a_input, {
|
|
57780
57779
|
value: option2.value,
|
|
57781
57780
|
"onUpdate:value": ($event) => option2.value = $event,
|
|
@@ -57826,8 +57825,8 @@ const _hoisted_1$1w = { class: "tmpl-card" };
|
|
|
57826
57825
|
const _hoisted_2$11 = { class: "tmpl-card__header" };
|
|
57827
57826
|
const _hoisted_3$Q = { class: "flex items-center" };
|
|
57828
57827
|
const _hoisted_4$D = ["src"];
|
|
57829
|
-
const _hoisted_5$
|
|
57830
|
-
const _hoisted_6$
|
|
57828
|
+
const _hoisted_5$t = { class: "tmpl-card__title" };
|
|
57829
|
+
const _hoisted_6$m = { class: "tmpl-card__body" };
|
|
57831
57830
|
const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
57832
57831
|
__name: "tmpl-card",
|
|
57833
57832
|
props: {
|
|
@@ -57869,13 +57868,13 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
57869
57868
|
class: normalizeClass([`${type2Icon[props2.type]}`, "text-14px!"])
|
|
57870
57869
|
}, null, 2))
|
|
57871
57870
|
], 2),
|
|
57872
|
-
createElementVNode("div", _hoisted_5$
|
|
57871
|
+
createElementVNode("div", _hoisted_5$t, toDisplayString$1(type2Title[props2.type]), 1)
|
|
57873
57872
|
]),
|
|
57874
57873
|
createVNode(unref(RemoveIcon), {
|
|
57875
57874
|
onClick: _cache[0] || (_cache[0] = ($event) => emit2("remove"))
|
|
57876
57875
|
})
|
|
57877
57876
|
]),
|
|
57878
|
-
createElementVNode("div", _hoisted_6$
|
|
57877
|
+
createElementVNode("div", _hoisted_6$m, [
|
|
57879
57878
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
57880
57879
|
])
|
|
57881
57880
|
]);
|
|
@@ -58120,8 +58119,8 @@ const _hoisted_1$1t = { class: "params-item-card" };
|
|
|
58120
58119
|
const _hoisted_2$$ = { class: "flex justify-between items-center" };
|
|
58121
58120
|
const _hoisted_3$O = ["title"];
|
|
58122
58121
|
const _hoisted_4$C = { class: "w-50% pl-11px flex items-center justify-end" };
|
|
58123
|
-
const _hoisted_5$
|
|
58124
|
-
const _hoisted_6$
|
|
58122
|
+
const _hoisted_5$s = ["title"];
|
|
58123
|
+
const _hoisted_6$l = { class: "flex items-center" };
|
|
58125
58124
|
const _hoisted_7$e = { class: "flex-grow-1 w-1px" };
|
|
58126
58125
|
const _hoisted_8$c = {
|
|
58127
58126
|
key: 0,
|
|
@@ -58153,7 +58152,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
|
58153
58152
|
createElementVNode("span", {
|
|
58154
58153
|
class: "flex-shrink-1 truncate",
|
|
58155
58154
|
title: __props.deviceParams.name
|
|
58156
|
-
}, toDisplayString$1(__props.deviceParams.name), 9, _hoisted_5$
|
|
58155
|
+
}, toDisplayString$1(__props.deviceParams.name), 9, _hoisted_5$s),
|
|
58157
58156
|
createVNode(_component_a_popover, {
|
|
58158
58157
|
placement: "bottomRight",
|
|
58159
58158
|
overlayClassName: "dhr-custom-popover"
|
|
@@ -58174,7 +58173,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
|
58174
58173
|
])]),
|
|
58175
58174
|
_: 1
|
|
58176
58175
|
}),
|
|
58177
|
-
createElementVNode("div", _hoisted_6$
|
|
58176
|
+
createElementVNode("div", _hoisted_6$l, [
|
|
58178
58177
|
createElementVNode("div", _hoisted_7$e, [
|
|
58179
58178
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58180
58179
|
]),
|
|
@@ -58562,14 +58561,14 @@ const _hoisted_1$1p = { class: "ai-tmpl-editor__section" };
|
|
|
58562
58561
|
const _hoisted_2$X = { class: "ai-tmpl-editor__section-content--basic" };
|
|
58563
58562
|
const _hoisted_3$L = { class: "ai-tmpl-editor__field-list" };
|
|
58564
58563
|
const _hoisted_4$B = { class: "ai-tmpl-editor__section" };
|
|
58565
|
-
const _hoisted_5$
|
|
58566
|
-
const _hoisted_6$
|
|
58564
|
+
const _hoisted_5$r = { class: "ai-tmpl-editor__section-content--model" };
|
|
58565
|
+
const _hoisted_6$k = { class: "ai-tmpl-editor__field-list" };
|
|
58567
58566
|
const _hoisted_7$d = {
|
|
58568
58567
|
key: 0,
|
|
58569
58568
|
class: "ai-tmpl-editor__advanced-card"
|
|
58570
58569
|
};
|
|
58571
58570
|
const _hoisted_8$b = { class: "ai-tmpl-editor__advanced-row" };
|
|
58572
|
-
const _hoisted_9$
|
|
58571
|
+
const _hoisted_9$8 = {
|
|
58573
58572
|
key: 0,
|
|
58574
58573
|
class: "ai-tmpl-editor__advanced-sub-row"
|
|
58575
58574
|
};
|
|
@@ -58817,8 +58816,8 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
|
58817
58816
|
}, null, 8, ["class"]),
|
|
58818
58817
|
_cache[20] || (_cache[20] = createElementVNode("span", null, "模型配置", -1))
|
|
58819
58818
|
]),
|
|
58820
|
-
withDirectives(createElementVNode("div", _hoisted_5$
|
|
58821
|
-
createElementVNode("div", _hoisted_6$
|
|
58819
|
+
withDirectives(createElementVNode("div", _hoisted_5$r, [
|
|
58820
|
+
createElementVNode("div", _hoisted_6$k, [
|
|
58822
58821
|
createVNode(FormItem, {
|
|
58823
58822
|
isFirst: "",
|
|
58824
58823
|
class: "ai-tmpl-editor__form-row",
|
|
@@ -58866,7 +58865,7 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
|
58866
58865
|
"onUpdate:checked": _cache[7] || (_cache[7] = ($event) => formState.enableDenoise = $event)
|
|
58867
58866
|
}, null, 8, ["checked"])
|
|
58868
58867
|
]),
|
|
58869
|
-
formState.enableDenoise ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
58868
|
+
formState.enableDenoise ? (openBlock(), createElementBlock("div", _hoisted_9$8, [
|
|
58870
58869
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.onlineForm.denoiseMethod")) + ":", 1),
|
|
58871
58870
|
createVNode(_component_a_select, {
|
|
58872
58871
|
value: formState.denoiseMethod,
|
|
@@ -60122,11 +60121,11 @@ const _hoisted_1$1l = { class: "object-init-list" };
|
|
|
60122
60121
|
const _hoisted_2$U = { class: "object-init-list__meta header" };
|
|
60123
60122
|
const _hoisted_3$I = { class: "object-init-list__label" };
|
|
60124
60123
|
const _hoisted_4$y = ["title"];
|
|
60125
|
-
const _hoisted_5$
|
|
60126
|
-
const _hoisted_6$
|
|
60124
|
+
const _hoisted_5$q = ["onClick"];
|
|
60125
|
+
const _hoisted_6$j = { class: "object-init-list__meta" };
|
|
60127
60126
|
const _hoisted_7$c = { class: "object-init-list__label" };
|
|
60128
60127
|
const _hoisted_8$a = { class: "object-init-list__value" };
|
|
60129
|
-
const _hoisted_9$
|
|
60128
|
+
const _hoisted_9$7 = { class: "object-init-list__actions" };
|
|
60130
60129
|
const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
60131
60130
|
__name: "object-init-list",
|
|
60132
60131
|
props: {
|
|
@@ -60160,13 +60159,13 @@ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
|
60160
60159
|
createElementVNode("i", {
|
|
60161
60160
|
class: "iconfont icon-shanchu2 primary-gct-hover ml-8px",
|
|
60162
60161
|
onClick: ($event) => emit2("remove", item.objectField)
|
|
60163
|
-
}, null, 8, _hoisted_5$
|
|
60162
|
+
}, null, 8, _hoisted_5$q)
|
|
60164
60163
|
]),
|
|
60165
|
-
createElementVNode("div", _hoisted_6$
|
|
60164
|
+
createElementVNode("div", _hoisted_6$j, [
|
|
60166
60165
|
createElementVNode("span", _hoisted_7$c, toDisplayString$1(_ctx.$t("sys.onlineForm.fieldType")) + ":", 1),
|
|
60167
60166
|
createElementVNode("span", _hoisted_8$a, toDisplayString$1(__props.getObjectFieldTypeName(item.objectFieldMeta)), 1)
|
|
60168
60167
|
]),
|
|
60169
|
-
createElementVNode("div", _hoisted_9$
|
|
60168
|
+
createElementVNode("div", _hoisted_9$7, [
|
|
60170
60169
|
__props.hasValues(item) ? (openBlock(), createBlock(_component_a_button, {
|
|
60171
60170
|
key: 0,
|
|
60172
60171
|
type: "primary",
|
|
@@ -60409,7 +60408,7 @@ const _hoisted_4$x = {
|
|
|
60409
60408
|
key: 2,
|
|
60410
60409
|
class: "cell-wrapper-affix cell-wrapper-affix--prefix"
|
|
60411
60410
|
};
|
|
60412
|
-
const _hoisted_5$
|
|
60411
|
+
const _hoisted_5$p = {
|
|
60413
60412
|
key: 5,
|
|
60414
60413
|
class: "cell-wrapper-affix cell-wrapper-affix--suffix"
|
|
60415
60414
|
};
|
|
@@ -60547,7 +60546,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
60547
60546
|
}, null, 8, ["class", "readonlyText", "type", "nullValSymbol", "style", "filledBackground", "required", "renderScript"]),
|
|
60548
60547
|
renderSlot(_ctx.$slots, "readonlyIntroduce", {}, void 0, true)
|
|
60549
60548
|
], 64)) : renderSlot(_ctx.$slots, "default", {}, void 0, true, 4),
|
|
60550
|
-
unref(suffix) ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
60549
|
+
unref(suffix) ? (openBlock(), createElementBlock("span", _hoisted_5$p, toDisplayString$1(unref(suffix)), 1)) : createCommentVNode("", true)
|
|
60551
60550
|
], 14, _hoisted_1$1j);
|
|
60552
60551
|
};
|
|
60553
60552
|
}
|
|
@@ -61299,8 +61298,8 @@ const _hoisted_1$1h = { class: "cell-textarea-wrap" };
|
|
|
61299
61298
|
const _hoisted_2$R = ["title"];
|
|
61300
61299
|
const _hoisted_3$G = { class: "cell-textarea-modal-header" };
|
|
61301
61300
|
const _hoisted_4$w = { class: "cell-textarea-modal-title" };
|
|
61302
|
-
const _hoisted_5$
|
|
61303
|
-
const _hoisted_6$
|
|
61301
|
+
const _hoisted_5$o = { class: "cell-textarea-modal-body" };
|
|
61302
|
+
const _hoisted_6$i = ["placeholder", "maxlength"];
|
|
61304
61303
|
const _hoisted_7$b = { class: "cell-textarea-modal-footer" };
|
|
61305
61304
|
const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
61306
61305
|
__name: "cell-textarea",
|
|
@@ -61406,14 +61405,14 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
|
61406
61405
|
onClick: onModalCancel
|
|
61407
61406
|
}, "×")
|
|
61408
61407
|
]),
|
|
61409
|
-
createElementVNode("div", _hoisted_5$
|
|
61408
|
+
createElementVNode("div", _hoisted_5$o, [
|
|
61410
61409
|
withDirectives(createElementVNode("textarea", {
|
|
61411
61410
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => modalValue.value = $event),
|
|
61412
61411
|
placeholder: __props.placeholder,
|
|
61413
61412
|
maxlength: unref(maxlength),
|
|
61414
61413
|
rows: "8",
|
|
61415
61414
|
class: "cell-textarea-modal-input"
|
|
61416
|
-
}, null, 8, _hoisted_6$
|
|
61415
|
+
}, null, 8, _hoisted_6$i), [
|
|
61417
61416
|
[vModelText, modalValue.value]
|
|
61418
61417
|
])
|
|
61419
61418
|
]),
|
|
@@ -64086,7 +64085,7 @@ const _hoisted_1$1d = { class: "search-wrapper" };
|
|
|
64086
64085
|
const _hoisted_2$Q = { class: "inner-list search-visible" };
|
|
64087
64086
|
const _hoisted_3$F = ["onContextmenu"];
|
|
64088
64087
|
const _hoisted_4$v = { class: "inner-label-box" };
|
|
64089
|
-
const _hoisted_5$
|
|
64088
|
+
const _hoisted_5$n = ["title"];
|
|
64090
64089
|
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
64091
64090
|
__name: "select-enum",
|
|
64092
64091
|
props: {
|
|
@@ -64192,7 +64191,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
64192
64191
|
onContextmenu: (e) => unref(handleShowCustomTooltip)(e, label)
|
|
64193
64192
|
}, [
|
|
64194
64193
|
createElementVNode("div", _hoisted_4$v, [
|
|
64195
|
-
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$
|
|
64194
|
+
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$n)
|
|
64196
64195
|
])
|
|
64197
64196
|
], 40, _hoisted_3$F)
|
|
64198
64197
|
]),
|
|
@@ -64272,12 +64271,12 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
64272
64271
|
};
|
|
64273
64272
|
});
|
|
64274
64273
|
const separatorAttr = computed(() => {
|
|
64275
|
-
const cmpStyle = {};
|
|
64274
|
+
const cmpStyle = { "--option-gap": "0px" };
|
|
64276
64275
|
const cmpClass = [
|
|
64277
64276
|
props2.widget.props.direction,
|
|
64278
64277
|
`text-pos-${props2.widget.props.labelPos}`,
|
|
64279
64278
|
bindCompStyleType,
|
|
64280
|
-
"has-option-gap",
|
|
64279
|
+
!isNil(props2.widget.props.optionGap) && "has-option-gap",
|
|
64281
64280
|
showRequired.value && "is-show-required",
|
|
64282
64281
|
realFieldId.value
|
|
64283
64282
|
];
|
|
@@ -64286,11 +64285,13 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
64286
64285
|
"--space": `${props2.widget.props.letterSpace}px`
|
|
64287
64286
|
});
|
|
64288
64287
|
}
|
|
64289
|
-
|
|
64290
|
-
|
|
64291
|
-
|
|
64292
|
-
|
|
64293
|
-
|
|
64288
|
+
if (!isNil(props2.widget.props.optionGap)) {
|
|
64289
|
+
const optionGap = `${props2.widget.props.optionGap}px`;
|
|
64290
|
+
Object.assign(cmpStyle, {
|
|
64291
|
+
"--option-gap": optionGap,
|
|
64292
|
+
gap: optionGap
|
|
64293
|
+
});
|
|
64294
|
+
}
|
|
64294
64295
|
let attr = {
|
|
64295
64296
|
placeholder,
|
|
64296
64297
|
disabled: showDisabled.value,
|
|
@@ -64435,7 +64436,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
64435
64436
|
};
|
|
64436
64437
|
}
|
|
64437
64438
|
});
|
|
64438
|
-
const enumSelectRender = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__scopeId", "data-v-
|
|
64439
|
+
const enumSelectRender = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__scopeId", "data-v-6db9b17f"]]);
|
|
64439
64440
|
const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
64440
64441
|
__proto__: null,
|
|
64441
64442
|
default: enumSelectRender
|
|
@@ -67537,7 +67538,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
67537
67538
|
}
|
|
67538
67539
|
});
|
|
67539
67540
|
const VueVideoPlayer = defineAsyncComponent(
|
|
67540
|
-
() => import("./VueVideoPlayer-
|
|
67541
|
+
() => import("./VueVideoPlayer-BeylL5J6.js")
|
|
67541
67542
|
);
|
|
67542
67543
|
const _hoisted_1$19 = {
|
|
67543
67544
|
key: 0,
|
|
@@ -67859,11 +67860,9 @@ function getSealUserTime() {
|
|
|
67859
67860
|
return dayjs().format("YYYY-MM-DD HH:mm:ss");
|
|
67860
67861
|
}
|
|
67861
67862
|
function createSealStampFlow(deps) {
|
|
67862
|
-
const step = ref("signature");
|
|
67863
67863
|
const detailStatus = ref("idle");
|
|
67864
67864
|
const passwordStatus = ref("idle");
|
|
67865
67865
|
const sealDetail = ref();
|
|
67866
|
-
const signInfo = ref();
|
|
67867
67866
|
const password = ref("");
|
|
67868
67867
|
const passwordError = ref("");
|
|
67869
67868
|
const error = ref("");
|
|
@@ -67871,7 +67870,7 @@ function createSealStampFlow(deps) {
|
|
|
67871
67870
|
let disposed = false, session = 0, detailVersion = 0, passwordVersion = 0;
|
|
67872
67871
|
let validation;
|
|
67873
67872
|
const active = () => !disposed && deps.isActive();
|
|
67874
|
-
const current = (s, d, p) => active() &&
|
|
67873
|
+
const current = (s, d, p) => active() && session === s && detailVersion === d && (p === void 0 || passwordVersion === p);
|
|
67875
67874
|
const validDetail = (value) => value.id === deps.sealId && !!value.name?.trim() && !!value.code?.trim() && !!value.sealImage?.trim();
|
|
67876
67875
|
const snapshot = (value) => ({
|
|
67877
67876
|
id: value.id,
|
|
@@ -67887,7 +67886,7 @@ function createSealStampFlow(deps) {
|
|
|
67887
67886
|
}
|
|
67888
67887
|
const stopWatch = watch(password, invalidatePassword, { flush: "sync" });
|
|
67889
67888
|
async function loadDetail() {
|
|
67890
|
-
if (!active() ||
|
|
67889
|
+
if (!active() || submitting.value) return;
|
|
67891
67890
|
const s = session, d = ++detailVersion;
|
|
67892
67891
|
invalidatePassword();
|
|
67893
67892
|
sealDetail.value = void 0;
|
|
@@ -67906,19 +67905,8 @@ function createSealStampFlow(deps) {
|
|
|
67906
67905
|
}
|
|
67907
67906
|
}
|
|
67908
67907
|
}
|
|
67909
|
-
async function authenticated(info) {
|
|
67910
|
-
if (!active() || step.value !== "signature") return;
|
|
67911
|
-
if (!info.userId || !info.username || !info.historyId) {
|
|
67912
|
-
error.value = deps.translate("signatureInvalid");
|
|
67913
|
-
return;
|
|
67914
|
-
}
|
|
67915
|
-
signInfo.value = { ...info };
|
|
67916
|
-
step.value = "seal";
|
|
67917
|
-
await loadDetail();
|
|
67918
|
-
}
|
|
67919
67908
|
function validatePassword() {
|
|
67920
|
-
if (!active() ||
|
|
67921
|
-
return Promise.resolve(false);
|
|
67909
|
+
if (!active() || detailStatus.value !== "ready") return Promise.resolve(false);
|
|
67922
67910
|
if (!password.value.trim()) {
|
|
67923
67911
|
passwordStatus.value = "invalid";
|
|
67924
67912
|
passwordError.value = deps.translate("passwordRequired");
|
|
@@ -67959,8 +67947,7 @@ function createSealStampFlow(deps) {
|
|
|
67959
67947
|
return task.promise;
|
|
67960
67948
|
}
|
|
67961
67949
|
async function confirm() {
|
|
67962
|
-
if (!active() || submitting.value ||
|
|
67963
|
-
return;
|
|
67950
|
+
if (!active() || submitting.value || detailStatus.value !== "ready") return;
|
|
67964
67951
|
const s = session, d = detailVersion, p = passwordVersion;
|
|
67965
67952
|
submitting.value = true;
|
|
67966
67953
|
error.value = "";
|
|
@@ -67976,13 +67963,18 @@ function createSealStampFlow(deps) {
|
|
|
67976
67963
|
error.value = deps.translate("detailChanged");
|
|
67977
67964
|
return;
|
|
67978
67965
|
}
|
|
67966
|
+
const user = deps.getCurrentUser();
|
|
67967
|
+
if (!user.sealUserId || !user.sealUserName) {
|
|
67968
|
+
error.value = deps.translate("currentUserInvalid");
|
|
67969
|
+
return;
|
|
67970
|
+
}
|
|
67979
67971
|
return {
|
|
67980
67972
|
sealId: value.id,
|
|
67981
67973
|
sealName: value.name,
|
|
67982
67974
|
sealType: value.code,
|
|
67983
67975
|
sealImage: value.sealImage,
|
|
67984
|
-
sealUserId:
|
|
67985
|
-
sealUserName:
|
|
67976
|
+
sealUserId: user.sealUserId,
|
|
67977
|
+
sealUserName: user.sealUserName,
|
|
67986
67978
|
sealUserTime: deps.now()
|
|
67987
67979
|
};
|
|
67988
67980
|
} catch {
|
|
@@ -67996,32 +67988,17 @@ function createSealStampFlow(deps) {
|
|
|
67996
67988
|
if (session === s) submitting.value = false;
|
|
67997
67989
|
}
|
|
67998
67990
|
}
|
|
67999
|
-
function back() {
|
|
68000
|
-
if (!active()) return;
|
|
68001
|
-
session++;
|
|
68002
|
-
detailVersion++;
|
|
68003
|
-
step.value = "signature";
|
|
68004
|
-
signInfo.value = void 0;
|
|
68005
|
-
sealDetail.value = void 0;
|
|
68006
|
-
password.value = "";
|
|
68007
|
-
invalidatePassword();
|
|
68008
|
-
detailStatus.value = "idle";
|
|
68009
|
-
submitting.value = false;
|
|
68010
|
-
error.value = "";
|
|
68011
|
-
}
|
|
68012
67991
|
function dispose() {
|
|
68013
67992
|
disposed = true;
|
|
68014
67993
|
session++;
|
|
68015
67994
|
detailVersion++;
|
|
68016
67995
|
stopWatch();
|
|
68017
67996
|
password.value = "";
|
|
68018
|
-
signInfo.value = void 0;
|
|
68019
67997
|
sealDetail.value = void 0;
|
|
68020
67998
|
invalidatePassword();
|
|
68021
67999
|
submitting.value = false;
|
|
68022
68000
|
}
|
|
68023
68001
|
return {
|
|
68024
|
-
step,
|
|
68025
68002
|
detailStatus,
|
|
68026
68003
|
passwordStatus,
|
|
68027
68004
|
sealDetail,
|
|
@@ -68029,37 +68006,33 @@ function createSealStampFlow(deps) {
|
|
|
68029
68006
|
passwordError,
|
|
68030
68007
|
error,
|
|
68031
68008
|
submitting,
|
|
68032
|
-
authenticated,
|
|
68033
68009
|
loadDetail,
|
|
68034
68010
|
validatePassword,
|
|
68035
68011
|
confirm,
|
|
68036
|
-
back,
|
|
68037
68012
|
dispose
|
|
68038
68013
|
};
|
|
68039
68014
|
}
|
|
68040
68015
|
const _hoisted_1$18 = { class: "seal-stamp-modal" };
|
|
68041
|
-
const _hoisted_2$M = {
|
|
68016
|
+
const _hoisted_2$M = { class: "seal-stamp-modal__content" };
|
|
68017
|
+
const _hoisted_3$C = {
|
|
68042
68018
|
key: 0,
|
|
68043
68019
|
class: "seal-stamp-modal__preview",
|
|
68044
68020
|
role: "status"
|
|
68045
68021
|
};
|
|
68046
|
-
const
|
|
68022
|
+
const _hoisted_4$t = {
|
|
68047
68023
|
key: 1,
|
|
68048
68024
|
class: "seal-stamp-modal__preview",
|
|
68049
68025
|
role: "alert"
|
|
68050
68026
|
};
|
|
68051
|
-
const
|
|
68052
|
-
const
|
|
68053
|
-
const
|
|
68054
|
-
const
|
|
68027
|
+
const _hoisted_5$m = { class: "seal-stamp-modal__preview" };
|
|
68028
|
+
const _hoisted_6$h = ["src", "alt"];
|
|
68029
|
+
const _hoisted_7$a = { class: "seal-stamp-modal__name" };
|
|
68030
|
+
const _hoisted_8$9 = {
|
|
68055
68031
|
key: 3,
|
|
68056
68032
|
class: "seal-stamp-modal__error",
|
|
68057
68033
|
role: "alert"
|
|
68058
68034
|
};
|
|
68059
|
-
const
|
|
68060
|
-
key: 0,
|
|
68061
|
-
class: "seal-stamp-modal__footer"
|
|
68062
|
-
};
|
|
68035
|
+
const _hoisted_9$6 = { class: "seal-stamp-modal__footer" };
|
|
68063
68036
|
const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
68064
68037
|
__name: "seal-stamp-modal",
|
|
68065
68038
|
props: {
|
|
@@ -68073,12 +68046,18 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
68073
68046
|
sealId: props2.sealId,
|
|
68074
68047
|
fetchDetail: getSealDetail,
|
|
68075
68048
|
verifyPassword: verifySealPassword,
|
|
68049
|
+
getCurrentUser: () => {
|
|
68050
|
+
const user = window.NocodeAdapter.stores?.userInfo?.value;
|
|
68051
|
+
return {
|
|
68052
|
+
sealUserId: user?.userId?.trim() || "",
|
|
68053
|
+
sealUserName: user?.fullname?.trim() || user?.username?.trim() || ""
|
|
68054
|
+
};
|
|
68055
|
+
},
|
|
68076
68056
|
now: getSealUserTime,
|
|
68077
68057
|
isActive: props2.canStamp,
|
|
68078
68058
|
translate: (key) => $t(`sys.seal.${key}`)
|
|
68079
68059
|
});
|
|
68080
68060
|
const {
|
|
68081
|
-
step,
|
|
68082
68061
|
detailStatus,
|
|
68083
68062
|
passwordStatus,
|
|
68084
68063
|
sealDetail,
|
|
@@ -68086,11 +68065,13 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
68086
68065
|
passwordError,
|
|
68087
68066
|
error,
|
|
68088
68067
|
submitting,
|
|
68089
|
-
authenticated,
|
|
68090
68068
|
loadDetail
|
|
68091
68069
|
} = flow;
|
|
68092
68070
|
const { transfer } = useWebUpload();
|
|
68093
68071
|
const sealPreviewUrl = computed(() => transfer(sealDetail.value?.sealImage || ""));
|
|
68072
|
+
onMounted(() => {
|
|
68073
|
+
void loadDetail();
|
|
68074
|
+
});
|
|
68094
68075
|
onBeforeUnmount(flow.dispose);
|
|
68095
68076
|
modal?.callback(void 0, async () => {
|
|
68096
68077
|
flow.dispose();
|
|
@@ -68099,13 +68080,6 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
68099
68080
|
watch(props2.canStamp, (active) => {
|
|
68100
68081
|
if (!active) void cancel();
|
|
68101
68082
|
});
|
|
68102
|
-
function validateSignature(info) {
|
|
68103
|
-
if (!info.userId || !info.username || !info.historyId) {
|
|
68104
|
-
const text = $t("sys.seal.signatureInvalid");
|
|
68105
|
-
message.error(text);
|
|
68106
|
-
throw new Error(text);
|
|
68107
|
-
}
|
|
68108
|
-
}
|
|
68109
68083
|
function onPasswordEnter(event2) {
|
|
68110
68084
|
event2.preventDefault();
|
|
68111
68085
|
event2.stopPropagation();
|
|
@@ -68127,76 +68101,59 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
68127
68101
|
const _component_a_input_password = resolveComponent("a-input-password");
|
|
68128
68102
|
const _component_a_form_item = resolveComponent("a-form-item");
|
|
68129
68103
|
return openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
68130
|
-
createElementVNode("div",
|
|
68131
|
-
|
|
68132
|
-
|
|
68133
|
-
unref(
|
|
68134
|
-
|
|
68135
|
-
|
|
68136
|
-
"fix-sign-mode": true,
|
|
68137
|
-
"disable-user-name": false,
|
|
68138
|
-
"fill-user-name": true,
|
|
68139
|
-
"confirm-text": _ctx.$t("sys.seal.next"),
|
|
68140
|
-
"show-card-cancel": true,
|
|
68141
|
-
"validate-signature": validateSignature,
|
|
68142
|
-
onConfirm: unref(authenticated),
|
|
68143
|
-
onCancel: cancel
|
|
68144
|
-
}, null, 8, ["default-sign-mode", "confirm-text", "onConfirm"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
68145
|
-
unref(detailStatus) === "loading" ? (openBlock(), createElementBlock("div", _hoisted_2$M, [
|
|
68146
|
-
createVNode(_component_a_spin)
|
|
68147
|
-
])) : unref(detailStatus) === "error" ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
68148
|
-
createElementVNode("p", null, toDisplayString$1(unref(error)), 1),
|
|
68149
|
-
createVNode(_component_a_button, { onClick: unref(loadDetail) }, {
|
|
68150
|
-
default: withCtx(() => [
|
|
68151
|
-
createTextVNode(toDisplayString$1(_ctx.$t("sys.seal.retry")), 1)
|
|
68152
|
-
]),
|
|
68153
|
-
_: 1
|
|
68154
|
-
}, 8, ["onClick"])
|
|
68155
|
-
])) : unref(sealDetail) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
68156
|
-
createElementVNode("div", _hoisted_4$t, [
|
|
68157
|
-
createElementVNode("img", {
|
|
68158
|
-
src: sealPreviewUrl.value,
|
|
68159
|
-
alt: unref(sealDetail).name
|
|
68160
|
-
}, null, 8, _hoisted_5$n)
|
|
68161
|
-
]),
|
|
68162
|
-
createElementVNode("div", _hoisted_6$i, [
|
|
68163
|
-
createTextVNode(toDisplayString$1(_ctx.$t("sys.seal.currentSeal")) + ":", 1),
|
|
68164
|
-
createElementVNode("strong", null, toDisplayString$1(unref(sealDetail).name), 1)
|
|
68165
|
-
])
|
|
68166
|
-
], 64)) : createCommentVNode("", true),
|
|
68167
|
-
createVNode(_component_a_form_item, {
|
|
68168
|
-
label: _ctx.$t("sys.seal.password"),
|
|
68169
|
-
required: "",
|
|
68170
|
-
"validate-status": unref(passwordError) ? "error" : void 0,
|
|
68171
|
-
help: unref(passwordError) || void 0
|
|
68172
|
-
}, {
|
|
68104
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
68105
|
+
unref(detailStatus) === "loading" ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
68106
|
+
createVNode(_component_a_spin)
|
|
68107
|
+
])) : unref(detailStatus) === "error" ? (openBlock(), createElementBlock("div", _hoisted_4$t, [
|
|
68108
|
+
createElementVNode("p", null, toDisplayString$1(unref(error)), 1),
|
|
68109
|
+
createVNode(_component_a_button, { onClick: unref(loadDetail) }, {
|
|
68173
68110
|
default: withCtx(() => [
|
|
68174
|
-
|
|
68175
|
-
value: unref(password),
|
|
68176
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => isRef(password) ? password.value = $event : null),
|
|
68177
|
-
autocomplete: "new-password",
|
|
68178
|
-
placeholder: _ctx.$t("sys.seal.passwordRequired"),
|
|
68179
|
-
disabled: unref(detailStatus) !== "ready" || unref(submitting),
|
|
68180
|
-
onPressEnter: onPasswordEnter
|
|
68181
|
-
}, null, 8, ["value", "placeholder", "disabled"])
|
|
68111
|
+
createTextVNode(toDisplayString$1(_ctx.$t("sys.seal.retry")), 1)
|
|
68182
68112
|
]),
|
|
68183
68113
|
_: 1
|
|
68184
|
-
}, 8, ["
|
|
68185
|
-
|
|
68186
|
-
|
|
68187
|
-
|
|
68188
|
-
|
|
68189
|
-
|
|
68190
|
-
|
|
68114
|
+
}, 8, ["onClick"])
|
|
68115
|
+
])) : unref(sealDetail) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
68116
|
+
createElementVNode("div", _hoisted_5$m, [
|
|
68117
|
+
createElementVNode("img", {
|
|
68118
|
+
src: sealPreviewUrl.value,
|
|
68119
|
+
alt: unref(sealDetail).name
|
|
68120
|
+
}, null, 8, _hoisted_6$h)
|
|
68121
|
+
]),
|
|
68122
|
+
createElementVNode("div", _hoisted_7$a, [
|
|
68123
|
+
createTextVNode(toDisplayString$1(_ctx.$t("sys.seal.currentSeal")) + ":", 1),
|
|
68124
|
+
createElementVNode("strong", null, toDisplayString$1(unref(sealDetail).name), 1)
|
|
68125
|
+
])
|
|
68126
|
+
], 64)) : createCommentVNode("", true),
|
|
68127
|
+
createVNode(_component_a_form_item, {
|
|
68128
|
+
label: _ctx.$t("sys.seal.password"),
|
|
68129
|
+
required: "",
|
|
68130
|
+
"validate-status": unref(passwordError) ? "error" : void 0,
|
|
68131
|
+
help: unref(passwordError) || void 0
|
|
68191
68132
|
}, {
|
|
68192
68133
|
default: withCtx(() => [
|
|
68193
|
-
|
|
68134
|
+
createVNode(_component_a_input_password, {
|
|
68135
|
+
value: unref(password),
|
|
68136
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => isRef(password) ? password.value = $event : null),
|
|
68137
|
+
autocomplete: "new-password",
|
|
68138
|
+
placeholder: _ctx.$t("sys.seal.passwordRequired"),
|
|
68139
|
+
disabled: unref(detailStatus) !== "ready" || unref(submitting),
|
|
68140
|
+
onPressEnter: onPasswordEnter
|
|
68141
|
+
}, null, 8, ["value", "placeholder", "disabled"])
|
|
68142
|
+
]),
|
|
68143
|
+
_: 1
|
|
68144
|
+
}, 8, ["label", "validate-status", "help"]),
|
|
68145
|
+
unref(error) && unref(detailStatus) !== "error" ? (openBlock(), createElementBlock("p", _hoisted_8$9, toDisplayString$1(unref(error)), 1)) : createCommentVNode("", true)
|
|
68146
|
+
]),
|
|
68147
|
+
createElementVNode("div", _hoisted_9$6, [
|
|
68148
|
+
createVNode(_component_a_button, { onClick: cancel }, {
|
|
68149
|
+
default: withCtx(() => [
|
|
68150
|
+
createTextVNode(toDisplayString$1(_ctx.$t("sys.cancelText")), 1)
|
|
68194
68151
|
]),
|
|
68195
68152
|
_: 1
|
|
68196
|
-
}
|
|
68153
|
+
}),
|
|
68197
68154
|
createVNode(_component_a_button, {
|
|
68198
68155
|
type: "primary",
|
|
68199
|
-
loading: unref(passwordStatus) === "validating",
|
|
68156
|
+
loading: unref(submitting) || unref(passwordStatus) === "validating",
|
|
68200
68157
|
disabled: unref(detailStatus) !== "ready" || unref(submitting),
|
|
68201
68158
|
onClick: confirmStamp
|
|
68202
68159
|
}, {
|
|
@@ -68205,22 +68162,17 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
68205
68162
|
]),
|
|
68206
68163
|
_: 1
|
|
68207
68164
|
}, 8, ["loading", "disabled"])
|
|
68208
|
-
])
|
|
68165
|
+
])
|
|
68209
68166
|
]);
|
|
68210
68167
|
};
|
|
68211
68168
|
}
|
|
68212
68169
|
});
|
|
68213
|
-
const SealStampModal = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["__scopeId", "data-v-
|
|
68170
|
+
const SealStampModal = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["__scopeId", "data-v-f5e19737"]]);
|
|
68214
68171
|
const _hoisted_1$17 = ["title"];
|
|
68215
68172
|
const _hoisted_2$L = ["src", "alt"];
|
|
68216
|
-
const _hoisted_3$B =
|
|
68217
|
-
|
|
68218
|
-
|
|
68219
|
-
};
|
|
68220
|
-
const _hoisted_4$s = { key: 4 };
|
|
68221
|
-
const _hoisted_5$m = ["title"];
|
|
68222
|
-
const _hoisted_6$h = {
|
|
68223
|
-
key: 7,
|
|
68173
|
+
const _hoisted_3$B = ["title"];
|
|
68174
|
+
const _hoisted_4$s = {
|
|
68175
|
+
key: 5,
|
|
68224
68176
|
class: "seal-error",
|
|
68225
68177
|
"data-seal-no-drag": ""
|
|
68226
68178
|
};
|
|
@@ -68229,8 +68181,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68229
68181
|
props: {
|
|
68230
68182
|
modelValue: {},
|
|
68231
68183
|
widget: {},
|
|
68232
|
-
formData: {}
|
|
68233
|
-
printMode: { type: Boolean }
|
|
68184
|
+
formData: {}
|
|
68234
68185
|
},
|
|
68235
68186
|
emits: ["update:modelValue"],
|
|
68236
68187
|
setup(__props, { emit: __emit }) {
|
|
@@ -68240,7 +68191,6 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68240
68191
|
const showSealException = computed(
|
|
68241
68192
|
() => !!(annotationInfo.value && annotationInfo.value.showValidatorClass)
|
|
68242
68193
|
);
|
|
68243
|
-
const pdfMode = inject(NCB_PROVIDE.IS_PDF, false);
|
|
68244
68194
|
const { showRequired, showDisabled, showDisplayStatus, dataRelationShip } = useWidgetStaticAttrs(
|
|
68245
68195
|
props2.widget
|
|
68246
68196
|
);
|
|
@@ -68248,11 +68198,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68248
68198
|
const { transfer } = useWebUpload();
|
|
68249
68199
|
const sealImageUrl = computed(() => transfer(value.value.sealImage || ""));
|
|
68250
68200
|
const stamped = computed(() => isSealStamped(props2.modelValue));
|
|
68251
|
-
const
|
|
68252
|
-
() => props2.printMode || pdfMode || !!dataRelationShip?.__isPrintRender
|
|
68253
|
-
);
|
|
68254
|
-
const isDetailMode = computed(() => dataRelationShip?.renderModeType === RenderModeEnum.ViewMode);
|
|
68255
|
-
const isReadOnlyMode = computed(() => isDetailMode.value || printMode.value);
|
|
68201
|
+
const isReadonly = computed(() => showDisplayStatus.value !== "edit-component");
|
|
68256
68202
|
const hasNullValSymbol = computed(() => {
|
|
68257
68203
|
const symbol = props2.widget.props.nullValSymbol;
|
|
68258
68204
|
return symbol != null && String(symbol).trim().length > 0;
|
|
@@ -68260,10 +68206,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68260
68206
|
const emptySymbolText = computed(
|
|
68261
68207
|
() => hasNullValSymbol.value ? $t(`sys.edhr.emptySymbol.${props2.widget.props.nullValSymbol}`) : ""
|
|
68262
68208
|
);
|
|
68263
|
-
const
|
|
68264
|
-
() => !isReadOnlyMode.value && !["readonly-text", "readonly-component"].includes(showDisplayStatus.value)
|
|
68265
|
-
);
|
|
68266
|
-
const editable = computed(() => draggable.value && !showDisabled.value);
|
|
68209
|
+
const editable = computed(() => !isReadonly.value && !showDisabled.value);
|
|
68267
68210
|
const showRequiredBorder = computed(() => {
|
|
68268
68211
|
if (!showSealException.value || !editable.value || !showRequired.value || stamped.value) {
|
|
68269
68212
|
return false;
|
|
@@ -68335,29 +68278,29 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68335
68278
|
const _component_a_button = resolveComponent("a-button");
|
|
68336
68279
|
return openBlock(), createElementBlock("div", {
|
|
68337
68280
|
class: normalizeClass(["seal-render", {
|
|
68338
|
-
"is-draggable":
|
|
68281
|
+
"is-draggable": editable.value,
|
|
68339
68282
|
"validator-mark": showRequiredBorder.value
|
|
68340
68283
|
}]),
|
|
68341
68284
|
title: error.value
|
|
68342
68285
|
}, [
|
|
68343
|
-
showSealException.value
|
|
68286
|
+
createTextVNode(toDisplayString$1(showSealException.value) + "-- ", 1),
|
|
68287
|
+
stamped.value ? (openBlock(), createElementBlock("img", {
|
|
68344
68288
|
key: 0,
|
|
68345
|
-
required: true,
|
|
68346
|
-
disabled: false
|
|
68347
|
-
})) : stamped.value ? (openBlock(), createElementBlock("img", {
|
|
68348
|
-
key: 1,
|
|
68349
68289
|
class: "seal-image",
|
|
68350
68290
|
src: sealImageUrl.value,
|
|
68351
68291
|
alt: value.value.sealName,
|
|
68352
68292
|
draggable: "false"
|
|
68353
|
-
}, null, 8, _hoisted_2$L)) :
|
|
68354
|
-
hasNullValSymbol.value ? (openBlock(), createElementBlock("div",
|
|
68355
|
-
|
|
68356
|
-
|
|
68293
|
+
}, null, 8, _hoisted_2$L)) : isReadonly.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
68294
|
+
hasNullValSymbol.value || showSealException.value ? (openBlock(), createElementBlock("div", {
|
|
68295
|
+
key: 0,
|
|
68296
|
+
class: normalizeClass(["seal-detail-empty", [showSealException.value && "error"]])
|
|
68297
|
+
}, toDisplayString$1(hasNullValSymbol.value ? emptySymbolText.value : ""), 3)) : createCommentVNode("", true)
|
|
68298
|
+
], 64)) : (openBlock(), createBlock(SealPlaceholder, {
|
|
68299
|
+
key: 2,
|
|
68357
68300
|
required: unref(showRequired),
|
|
68358
68301
|
disabled: unref(showDisabled)
|
|
68359
|
-
}, null, 8, ["required", "disabled"]))
|
|
68360
|
-
editable.value ? (openBlock(), createElementBlock(Fragment, { key:
|
|
68302
|
+
}, null, 8, ["required", "disabled"])),
|
|
68303
|
+
editable.value ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
68361
68304
|
stamped.value ? (openBlock(), createElementBlock("button", {
|
|
68362
68305
|
key: 0,
|
|
68363
68306
|
class: "seal-delete",
|
|
@@ -68366,7 +68309,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68366
68309
|
onClick: withModifiers(remove, ["stop"])
|
|
68367
68310
|
}, [..._cache[0] || (_cache[0] = [
|
|
68368
68311
|
createElementVNode("i", { class: "iconfont icon-a-shanchubiaoge" }, null, -1)
|
|
68369
|
-
])], 8,
|
|
68312
|
+
])], 8, _hoisted_3$B)) : createCommentVNode("", true),
|
|
68370
68313
|
createVNode(_component_a_button, {
|
|
68371
68314
|
class: "seal-apply",
|
|
68372
68315
|
type: "primary",
|
|
@@ -68379,8 +68322,8 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68379
68322
|
]),
|
|
68380
68323
|
_: 1
|
|
68381
68324
|
}, 8, ["disabled", "loading"])
|
|
68382
|
-
], 64)) : unref(showDisabled) && !
|
|
68383
|
-
key:
|
|
68325
|
+
], 64)) : unref(showDisabled) && !isReadonly.value ? (openBlock(), createBlock(_component_a_button, {
|
|
68326
|
+
key: 4,
|
|
68384
68327
|
class: "seal-apply",
|
|
68385
68328
|
disabled: ""
|
|
68386
68329
|
}, {
|
|
@@ -68389,12 +68332,12 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68389
68332
|
]),
|
|
68390
68333
|
_: 1
|
|
68391
68334
|
})) : createCommentVNode("", true),
|
|
68392
|
-
error.value ? (openBlock(), createElementBlock("span",
|
|
68335
|
+
error.value ? (openBlock(), createElementBlock("span", _hoisted_4$s, toDisplayString$1(error.value), 1)) : createCommentVNode("", true)
|
|
68393
68336
|
], 10, _hoisted_1$17);
|
|
68394
68337
|
};
|
|
68395
68338
|
}
|
|
68396
68339
|
});
|
|
68397
|
-
const sealRender = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__scopeId", "data-v-
|
|
68340
|
+
const sealRender = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__scopeId", "data-v-32510b5c"]]);
|
|
68398
68341
|
const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
68399
68342
|
__proto__: null,
|
|
68400
68343
|
default: sealRender
|
|
@@ -72252,7 +72195,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
72252
72195
|
};
|
|
72253
72196
|
});
|
|
72254
72197
|
const separatorAttr = computed(() => {
|
|
72255
|
-
const cmpStyle = {};
|
|
72198
|
+
const cmpStyle = { "--option-gap": "0px", "--legacy-option-margin": "4px" };
|
|
72256
72199
|
const cmpClass = [
|
|
72257
72200
|
direction,
|
|
72258
72201
|
`text-pos-${labelPos}`,
|
|
@@ -72264,12 +72207,14 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
72264
72207
|
"--space": `${letterSpace}px`
|
|
72265
72208
|
});
|
|
72266
72209
|
}
|
|
72267
|
-
|
|
72268
|
-
|
|
72269
|
-
|
|
72270
|
-
|
|
72271
|
-
|
|
72272
|
-
|
|
72210
|
+
if (!isNil(props2.widget.props.optionGap)) {
|
|
72211
|
+
const optionGap = `${props2.widget.props.optionGap}px`;
|
|
72212
|
+
Object.assign(cmpStyle, {
|
|
72213
|
+
"--option-gap": optionGap,
|
|
72214
|
+
"--legacy-option-margin": "0px",
|
|
72215
|
+
gap: optionGap
|
|
72216
|
+
});
|
|
72217
|
+
}
|
|
72273
72218
|
return {
|
|
72274
72219
|
placeholder,
|
|
72275
72220
|
fieldType,
|
|
@@ -72304,7 +72249,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
72304
72249
|
immediate: true
|
|
72305
72250
|
}
|
|
72306
72251
|
);
|
|
72307
|
-
function readonlyCallback(
|
|
72252
|
+
function readonlyCallback(_val) {
|
|
72308
72253
|
return renderUtils.getLabJsonValue(props2.formData, field);
|
|
72309
72254
|
}
|
|
72310
72255
|
function getOptionLabel(val) {
|
|
@@ -72372,7 +72317,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
72372
72317
|
};
|
|
72373
72318
|
}
|
|
72374
72319
|
});
|
|
72375
|
-
const switchRender = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-
|
|
72320
|
+
const switchRender = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-2cdeac24"]]);
|
|
72376
72321
|
const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
72377
72322
|
__proto__: null,
|
|
72378
72323
|
default: switchRender
|
|
@@ -78213,13 +78158,21 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
78213
78158
|
setup(__props) {
|
|
78214
78159
|
const props2 = __props;
|
|
78215
78160
|
const { fields } = reactive(props2.widget.props);
|
|
78161
|
+
const dataRelationShip = inject(NCB_PROVIDE.DATA_RELATION_SHIP);
|
|
78162
|
+
const isPreview = computed(() => dataRelationShip?.renderModeType === RenderModeEnum.ViewMode);
|
|
78216
78163
|
const wrapFields = computed(
|
|
78217
78164
|
() => props2.widget.style?.whiteSpace === "pre-wrap" && props2.widget.style?.wordBreak === "break-all"
|
|
78218
78165
|
);
|
|
78219
78166
|
const layoutStyle = computed(() => {
|
|
78220
78167
|
const { textAlign, verticalAlign } = props2.widget.style ?? {};
|
|
78168
|
+
const mode = props2.widget.style?.["--composite-text-writing-mode"] ?? "horizontal-tb";
|
|
78221
78169
|
const vertical = verticalAlign === "top" ? "flex-start" : verticalAlign === "bottom" ? "flex-end" : "center";
|
|
78222
78170
|
return {
|
|
78171
|
+
"--composite-text-writing-mode": mode,
|
|
78172
|
+
// 竖向时数字、字母逐字正立;两个 90° 方向选项沿用旋转显示。
|
|
78173
|
+
"--composite-text-orientation": mode === "vertical-lr" ? "upright" : "mixed",
|
|
78174
|
+
// 固定组合容器的布局轴,避免控件排列和占位宽度随文字方向改变。
|
|
78175
|
+
writingMode: "horizontal-tb",
|
|
78223
78176
|
justifyContent: textAlign === "right" ? "flex-end" : textAlign === "left" ? "flex-start" : "center",
|
|
78224
78177
|
alignItems: vertical,
|
|
78225
78178
|
alignContent: vertical
|
|
@@ -78227,7 +78180,10 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
78227
78180
|
});
|
|
78228
78181
|
return (_ctx, _cache) => {
|
|
78229
78182
|
return openBlock(), createElementBlock("div", {
|
|
78230
|
-
class: normalizeClass(["combine-fields-area", {
|
|
78183
|
+
class: normalizeClass(["combine-fields-area", {
|
|
78184
|
+
"combine-fields-area--wrap": wrapFields.value,
|
|
78185
|
+
"combine-fields-area--preview": isPreview.value
|
|
78186
|
+
}]),
|
|
78231
78187
|
style: normalizeStyle(layoutStyle.value)
|
|
78232
78188
|
}, [
|
|
78233
78189
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(fields), (fieldWidget) => {
|
|
@@ -78254,7 +78210,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
78254
78210
|
};
|
|
78255
78211
|
}
|
|
78256
78212
|
});
|
|
78257
|
-
const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-
|
|
78213
|
+
const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-23527377"]]);
|
|
78258
78214
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
78259
78215
|
__proto__: null,
|
|
78260
78216
|
default: combineFieldsRender
|
|
@@ -79520,7 +79476,9 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
79520
79476
|
);
|
|
79521
79477
|
}
|
|
79522
79478
|
const componentType = computed(() => {
|
|
79523
|
-
if (props2.dynamicConfig?.isDynRo
|
|
79479
|
+
if (props2.dynamicConfig?.isDynRo && props2.widget.component !== ComponentTypeEnum.CombineFields) {
|
|
79480
|
+
return ComponentTypeEnum.DynRo;
|
|
79481
|
+
}
|
|
79524
79482
|
if (props2.componentOverride) return props2.componentOverride;
|
|
79525
79483
|
const widget2 = dateObjectWidget.value ?? props2.widget;
|
|
79526
79484
|
if (!widget2?.props?.field) return widget2?.component;
|
|
@@ -87202,6 +87160,7 @@ const sys$1 = {
|
|
|
87202
87160
|
detailLoadFailed: "Failed to load seal details. Please retry",
|
|
87203
87161
|
detailChanged: "Seal details have changed. Verify the password and confirm again",
|
|
87204
87162
|
confirmFailed: "Stamp confirmation failed. Reload the seal and retry",
|
|
87163
|
+
currentUserInvalid: "Current user information is incomplete. Please sign in again",
|
|
87205
87164
|
signatureInvalid: "Signature identity is incomplete. Authenticate again",
|
|
87206
87165
|
uncategorized: "Uncategorized",
|
|
87207
87166
|
diameter: "Seal diameter",
|
|
@@ -87463,6 +87422,7 @@ const sys = {
|
|
|
87463
87422
|
detailLoadFailed: "印章详情加载失败,请重试",
|
|
87464
87423
|
detailChanged: "印章信息已更新,请重新验证密码并确认",
|
|
87465
87424
|
confirmFailed: "盖章确认失败,请重新加载印章后重试",
|
|
87425
|
+
currentUserInvalid: "当前登录用户信息不完整,请重新登录后重试",
|
|
87466
87426
|
signatureInvalid: "签名人员信息不完整,请重新认证",
|
|
87467
87427
|
uncategorized: "未分类",
|
|
87468
87428
|
diameter: "印章尺寸(直径)",
|
|
@@ -88274,8 +88234,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
88274
88234
|
props: {
|
|
88275
88235
|
widget: {},
|
|
88276
88236
|
formData: {},
|
|
88277
|
-
surfaceGroup: {}
|
|
88278
|
-
printMode: { type: Boolean }
|
|
88237
|
+
surfaceGroup: {}
|
|
88279
88238
|
},
|
|
88280
88239
|
setup(__props) {
|
|
88281
88240
|
const props2 = __props;
|
|
@@ -88283,16 +88242,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
88283
88242
|
const position = computed(
|
|
88284
88243
|
() => readSealValue(props2.formData[field.value], props2.widget.props.sealPosition).sealPosition
|
|
88285
88244
|
);
|
|
88286
|
-
const { showDisplayStatus, showDisabled
|
|
88287
|
-
const
|
|
88288
|
-
const
|
|
88289
|
-
() => props2.printMode || pdfMode || !!dataRelationShip?.__isPrintRender
|
|
88290
|
-
);
|
|
88291
|
-
const isDetailMode = computed(() => dataRelationShip?.renderModeType === RenderModeEnum.ViewMode);
|
|
88292
|
-
const isReadOnlyMode = computed(() => isDetailMode.value || printMode.value);
|
|
88293
|
-
const blocked = computed(
|
|
88294
|
-
() => isReadOnlyMode.value || showDisabled.value || ["readonly-text", "readonly-component"].includes(showDisplayStatus.value)
|
|
88295
|
-
);
|
|
88245
|
+
const { showDisplayStatus, showDisabled } = useWidgetStaticAttrs(props2.widget);
|
|
88246
|
+
const isReadonly = computed(() => showDisplayStatus.value !== "edit-component");
|
|
88247
|
+
const blocked = computed(() => isReadonly.value || showDisabled.value);
|
|
88296
88248
|
const { onChange, annotationInfo } = useNocodeFormWidget(
|
|
88297
88249
|
{
|
|
88298
88250
|
widget: props2.widget,
|
|
@@ -88307,7 +88259,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
88307
88259
|
);
|
|
88308
88260
|
const visible = computed(() => {
|
|
88309
88261
|
if (annotationInfo.value && annotationInfo.value.showValidatorClass) return true;
|
|
88310
|
-
if (!
|
|
88262
|
+
if (!isReadonly.value || isSealStamped(props2.formData[field.value])) return true;
|
|
88311
88263
|
const symbol = props2.widget.props.nullValSymbol;
|
|
88312
88264
|
return symbol != null && String(symbol).trim().length > 0;
|
|
88313
88265
|
});
|
|
@@ -88327,15 +88279,14 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
88327
88279
|
"diameter-mm": __props.widget.props.diameterMm,
|
|
88328
88280
|
"surface-group": __props.surfaceGroup,
|
|
88329
88281
|
disabled: blocked.value,
|
|
88330
|
-
"pass-through":
|
|
88282
|
+
"pass-through": isReadonly.value,
|
|
88331
88283
|
onMove: move
|
|
88332
88284
|
}, {
|
|
88333
88285
|
default: withCtx(() => [
|
|
88334
88286
|
createVNode(_sfc_main$1e, {
|
|
88335
88287
|
widget: __props.widget,
|
|
88336
|
-
"form-data": __props.formData
|
|
88337
|
-
|
|
88338
|
-
}, null, 8, ["widget", "form-data", "print-mode"])
|
|
88288
|
+
"form-data": __props.formData
|
|
88289
|
+
}, null, 8, ["widget", "form-data"])
|
|
88339
88290
|
]),
|
|
88340
88291
|
_: 1
|
|
88341
88292
|
}, 8, ["visible", "position", "diameter-mm", "surface-group", "disabled", "pass-through"]);
|
|
@@ -88347,8 +88298,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
88347
88298
|
props: {
|
|
88348
88299
|
basicInfo: {},
|
|
88349
88300
|
dataCenter: {},
|
|
88350
|
-
formData: {}
|
|
88351
|
-
printMode: { type: Boolean }
|
|
88301
|
+
formData: {}
|
|
88352
88302
|
},
|
|
88353
88303
|
setup(__props) {
|
|
88354
88304
|
const props2 = __props;
|
|
@@ -88356,9 +88306,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
88356
88306
|
provide(NCB_PROVIDE.DATA_RELATION_SHIP, props2.basicInfo);
|
|
88357
88307
|
provide(NCB_PROVIDE.PAGER, paper2);
|
|
88358
88308
|
const widgets = computed(
|
|
88359
|
-
() => (paper2.props.floatingFieldIds ?? []).map((id) => props2.dataCenter[id]).filter(Boolean)
|
|
88360
|
-
(widget2) => props2.printMode ? { ...widget2, props: { ...widget2.props, field_readonly: true } } : widget2
|
|
88361
|
-
)
|
|
88309
|
+
() => (paper2.props.floatingFieldIds ?? []).map((id) => props2.dataCenter[id]).filter(Boolean)
|
|
88362
88310
|
);
|
|
88363
88311
|
return (_ctx, _cache) => {
|
|
88364
88312
|
return openBlock(true), createElementBlock(Fragment, null, renderList(widgets.value, (widget2) => {
|
|
@@ -88366,9 +88314,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
88366
88314
|
key: widget2.id,
|
|
88367
88315
|
widget: widget2,
|
|
88368
88316
|
"form-data": __props.formData,
|
|
88369
|
-
"surface-group": __props.basicInfo.uniqueId
|
|
88370
|
-
|
|
88371
|
-
}, null, 8, ["widget", "form-data", "surface-group", "print-mode"]);
|
|
88317
|
+
"surface-group": __props.basicInfo.uniqueId
|
|
88318
|
+
}, null, 8, ["widget", "form-data", "surface-group"]);
|
|
88372
88319
|
}), 128);
|
|
88373
88320
|
};
|
|
88374
88321
|
}
|
|
@@ -88513,14 +88460,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
88513
88460
|
key: activeSheetId2.value,
|
|
88514
88461
|
"basic-info": __props.basicInfo,
|
|
88515
88462
|
"data-center": widgetCenter.value,
|
|
88516
|
-
"form-data": formState.value
|
|
88517
|
-
|
|
88518
|
-
}, null, 8, ["basic-info", "data-center", "form-data", "print-mode"])) : createCommentVNode("", true)
|
|
88463
|
+
"form-data": formState.value
|
|
88464
|
+
}, null, 8, ["basic-info", "data-center", "form-data"])) : createCommentVNode("", true)
|
|
88519
88465
|
], 64);
|
|
88520
88466
|
};
|
|
88521
88467
|
}
|
|
88522
88468
|
});
|
|
88523
|
-
const ActiveSheetRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
88469
|
+
const ActiveSheetRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-ed96ebf7"]]);
|
|
88524
88470
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
88525
88471
|
__name: "all-sheets-renderer",
|
|
88526
88472
|
props: {
|
|
@@ -89149,8 +89095,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
89149
89095
|
printTask = (async () => {
|
|
89150
89096
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
89151
89097
|
await nextTick();
|
|
89152
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
89153
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
89098
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-BmJ9GNr2.js");
|
|
89099
|
+
const { default: renderer } = await import("./print-snapshot-renderer-NCND8gig.js");
|
|
89154
89100
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
89155
89101
|
printRenderer.value = markRaw(renderer);
|
|
89156
89102
|
await printRuntimeInstance(
|