@gct-paas/excel 0.1.7 → 0.1.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/{Scrollbar-B7JBEV1a.js → Scrollbar-Bl3GZ5Xl.js} +2 -2
- package/dist/{VueVideoPlayer-DaQz5GJ-.js → VueVideoPlayer-OKUZ-GWX.js} +2 -2
- package/dist/{agg-design-DQ-BW6Wp.js → agg-design-CuvQmaG4.js} +1 -1
- package/dist/{agg-props-pP0E3mbR.js → agg-props-DnZalom4.js} +1 -1
- package/dist/{agg-style-CPNDZOrv.js → agg-style-DfsRu2Br.js} +1 -1
- package/dist/{align-editor-DUCeImpf.js → align-editor-ChKObpC1.js} +1 -1
- package/dist/{attach-fields-editor-CdtnInv8.js → attach-fields-editor-DPF-vSk6.js} +2 -2
- package/dist/{barcode-design-D_FwFBHn.js → barcode-design-DLP8_r7t.js} +2 -2
- package/dist/base/index.es.js +29 -29
- package/dist/{base-font-editor-BxXZUYlm.js → base-font-editor-Bnrk336n.js} +2 -2
- package/dist/{boolean-design-CJ54p6GD.js → boolean-design-CzJfRrpG.js} +2 -2
- package/dist/{boolean-props-CqnHYhfU.js → boolean-props-CVrBd32I.js} +3 -3
- package/dist/{boolean-style-BISfAKQN.js → boolean-style-BamZLdDO.js} +4 -4
- package/dist/{cell-upload-BhvgDxZZ.js → cell-upload-BuhFy0lc.js} +2 -2
- package/dist/{date-format-editor-BfpAkGaH.js → date-format-editor-DEs1D5RR.js} +2 -2
- package/dist/{date-time-design-iHzRcZ2Z.js → date-time-design-BsrXN-oK.js} +1 -1
- package/dist/{date-time-props-DKu8RxHo.js → date-time-props-C7lk3Svg.js} +3 -3
- package/dist/{date-time-style-BuceVhbM.js → date-time-style-CuSYq9AB.js} +1 -1
- package/dist/{decimal-design-qNDqq7oV.js → decimal-design-EX_cJfEM.js} +1 -1
- package/dist/{decimal-display-mode-CRE2lUH0.js → decimal-display-mode-DQtJPnvZ.js} +2 -2
- package/dist/{decimal-props-DlZ1tbs4.js → decimal-props-BJaAZ2YP.js} +4 -4
- package/dist/{decimal-style-pShvLMIT.js → decimal-style-8NhUAojc.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-DjWHIcsL.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-cSxqO5gw.js} +2 -2
- package/dist/{diagonal-design-Cds1_VOU.js → diagonal-design-BpN765Fh.js} +2 -2
- package/dist/{double-design-KpjZVekY.js → double-design-AkCIFKZo.js} +1 -1
- package/dist/{double-props-CLDo0OMF.js → double-props-2dVzEEcb.js} +4 -4
- package/dist/{double-style-Dk4bWTOC.js → double-style-SMbNlcUz.js} +1 -1
- package/dist/{edit.utils-CXmmCnxE-DmboFGWY.js → edit.utils-CXmmCnxE-89_3EOvf.js} +1 -1
- package/dist/{enum-design-DWBVKgpn.js → enum-design-XBA6PBCE.js} +2 -2
- package/dist/{enum-props-BMqvi-h7.js → enum-props-0Kx2rVCh.js} +4 -4
- package/dist/{enum-style-Dg8FVDC8.js → enum-style-YQoX2ssf.js} +2 -2
- package/dist/{error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-_YqKZ9BJ.js → error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js} +328 -19470
- package/dist/excel.css +273 -273
- package/dist/{exceljs.min-D8o4bQuo.js → exceljs.min-CtZPH3-_.js} +2 -2
- package/dist/{expression-design-C2wvd8JA.js → expression-design-iUYp6X2j.js} +1 -1
- package/dist/{expression-props-DCxZKIhB.js → expression-props-CM-D6-8X.js} +1 -1
- package/dist/{expression-style-BHrUq0q6.js → expression-style-CKP_OY8W.js} +1 -1
- package/dist/{file-design-CAIp6Sxw.js → file-design-DgVL4fBf.js} +1 -1
- package/dist/{file-props-RSS1kA9M.js → file-props-Dk4NxkWu.js} +2 -2
- package/dist/{file-style-C_egOJZs.js → file-style-BvnlfLqa.js} +1 -1
- package/dist/{font-editor-bSMMIfN6.js → font-editor-V3OI5elc.js} +3 -3
- package/dist/{form-annotation-controller-BW5Z5Km-.js → form-annotation-controller-DnefDlQD.js} +2 -2
- package/dist/{image-design-9zFKEj7j.js → image-design-CGB0GQ0M.js} +2 -2
- package/dist/{image-design-D43cm8v9.js → image-design-dF-80JDP.js} +2 -2
- package/dist/{image-props-BhAoKssZ.js → image-props-CtkG1D8P.js} +1 -1
- package/dist/{image-style-CWSi-cNF.js → image-style-D09kZZlb.js} +1 -1
- package/dist/{index-C5UcOth6.js → index-B4euEA-1.js} +1 -1
- package/dist/{index-n-nmT24v.js → index-BHaE9Ha6.js} +1 -1
- package/dist/{index-CZTQaArc.js → index-BSxaKbNe.js} +1 -1
- package/dist/{index-v2uwFW0w.js → index-BXwQGIfF.js} +1 -1
- package/dist/{index-DDsAwVgc.js → index-Bbt2mKIq.js} +1 -1
- package/dist/{index-CisiQ6o8.js → index-BdmkrzfX.js} +1 -1
- package/dist/{index-BR6tPbJL.js → index-Bh0W0uqc.js} +1 -1
- package/dist/{index-DoHv-Wat.js → index-BkMb7NQi.js} +1 -1
- package/dist/{index-Cg_oo-85.js → index-Bkmo6-xe.js} +2 -2
- package/dist/{index-B5OinRVD.js → index-BxzatoGT.js} +2 -2
- package/dist/{index-3-nPfz8f.js → index-BztM-YU8.js} +1 -1
- package/dist/{index-DOLGt-oq.js → index-C-usEGmM.js} +1 -1
- package/dist/{index-Cf66ceay.js → index-C1WGDTJI.js} +1 -1
- package/dist/{index-DCUzC9E1.js → index-C4f8PF4f.js} +1 -1
- package/dist/{index-DdHFG9gu.js → index-CI3VUQXT.js} +1 -1
- package/dist/{index-DxpaKPpt.js → index-CNzpmRjY.js} +1 -1
- package/dist/{index-B8Ishhy1.js → index-CZUFfnOl.js} +4 -5
- package/dist/{index-DPic0PAg.js → index-C_CfahTy.js} +1 -1
- package/dist/{index-Wc8s0XWz.js → index-CcXsD6l_.js} +1 -1
- package/dist/{index-CXO7yNtU.js → index-Cgd529ST.js} +2 -2
- package/dist/{index-Ce5aQSOG.js → index-CiTedbWs.js} +1 -1
- package/dist/{index-CSfsaSES.js → index-CjZ7wlRK.js} +1 -1
- package/dist/{index-DuyXOtQd.js → index-D03nSfs8.js} +104 -108
- package/dist/{index-wT1_RQsk.js → index-D4xFADGG.js} +1 -1
- package/dist/{index-B0826EbX.js → index-DNVAx1YG.js} +1 -1
- package/dist/{index-DC7jXgI1.js → index-DWXSDfBE.js} +1 -1
- package/dist/{index-CYx4a6ZF.js → index-D_nLh3kx.js} +2 -2
- package/dist/{index-v5VaTR1M.js → index-DtD57fTj.js} +1 -1
- package/dist/{index-CiJDBVfG.js → index-DwGlVXdO.js} +1 -1
- package/dist/{index-D0oKqTXq.js → index-ESLtLBIP.js} +2 -2
- package/dist/{index-EgjSgxmn.js → index-Qyom-xcp.js} +1 -1
- package/dist/{index-G8p5DlES.js → index-Vk9W2Vk3.js} +1 -1
- package/dist/{index-DUwxlUsk.js → index-zPJznjNc.js} +1 -1
- package/dist/index.es.js +9 -8
- package/dist/{integer-design-CZY_GaX4.js → integer-design-BDjQOFfK.js} +1 -1
- package/dist/{integer-props-CiWN81iV.js → integer-props-BYaEWt-9.js} +4 -4
- package/dist/{integer-style-CmDVOU3z.js → integer-style-CrzX24vm.js} +1 -1
- package/dist/{mb-render-DH3wjHF6.js → mb-render-2WbFdaDi.js} +1 -1
- package/dist/{number-input-ex-DBP6bH2g.js → number-input-ex-C_2Kjg36.js} +1 -1
- package/dist/{org-props-BbognFne.js → org-props-D_Bu0nH4.js} +2 -2
- package/dist/{org-style-CKcKh--d.js → org-style-Dh73zVkt.js} +1 -1
- package/dist/{pagination-design-CGQoxT1c.js → pagination-design-BqbaPMlu.js} +2 -2
- package/dist/paper-widget-design-hS86nhxN.js +4 -0
- package/dist/{qrcode-design-nmvc6IKq.js → qrcode-design-CzGMQTA9.js} +1 -1
- package/dist/{ref-autofill-editor-BuwJ25wY.js → ref-autofill-editor-CL-7lNvM.js} +3 -3
- package/dist/{ref-props-GcDi5wEa.js → ref-props-CrYIPN6D.js} +3 -3
- package/dist/{ref-style-CiNfw28x.js → ref-style-BPhhCRWX.js} +1 -1
- package/dist/{revo-grid.entry-0NNTZ0B8.js → revo-grid.entry-CL40FYg-.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CoBqkZ5n.js → revogr-attribution_7.entry-DEDOtdW-.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CAhzTbEf.js → revogr-clipboard_3.entry-Td0o90v0.js} +2 -2
- package/dist/{revogr-data_4.entry-CFMX1h_E.js → revogr-data_4.entry-CJBQtNZl.js} +2 -2
- package/dist/{revogr-filter-panel.entry-D-iVwIOe.js → revogr-filter-panel.entry-26PC7Amw.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-BVkJaE6C.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-CSG9fYXQ.js} +2 -2
- package/dist/{serialnumber-design-Bh-HXqce.js → serialnumber-design-CrKouQeH.js} +1 -1
- package/dist/shared/index.es.js +12 -12
- package/dist/{signature-design-dZn3EpuN.js → signature-design-BgGom6V8.js} +1 -1
- package/dist/{signature-props-_279L5dA.js → signature-props-DvEKSdl7.js} +3 -3
- package/dist/{signature-style-BjgT1D8c.js → signature-style-C275-nSw.js} +1 -1
- package/dist/{single-field-drop-HJs82PTz.js → single-field-drop-Z5De5Xrl.js} +2 -2
- package/dist/{size-editor-DqrqaJWc.js → size-editor-B_RIOXxg.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +30 -3
- package/dist/src/adapter/setup.d.ts +23 -5
- package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +2 -2
- package/dist/src/nocode-base/src/hooks/form-model/fetcher.d.ts +4 -4
- package/dist/src/nocode-base/src/hooks/model-relation/index.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/service-util/sn-rule.d.ts +1 -1
- package/dist/src/nocode-base/src/interface/data.d.ts +3 -3
- package/dist/src/nocode-base/src/interface/util.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -1
- package/dist/src/shared/utils/host-api.d.ts +11 -0
- package/dist/{text-design-BaXlEfHf.js → text-design-CHIjLXqt.js} +2 -2
- package/dist/{text-design-BDWhD2sy.js → text-design-MVF30X3y.js} +2 -2
- package/dist/{text-props-BAQWLAYY.js → text-props-z4L3VUrk.js} +4 -4
- package/dist/{text-style-BpCU0KMs.js → text-style-BlN5tprd.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-Cuw2Gnao.js → throttle-Cpk1LoGk-Bcmbf_W9.js} +1 -1
- package/dist/{timediff-design-CJnQ__0R.js → timediff-design-QoNenLDK.js} +1 -1
- package/dist/{trace-design-C6D8PxA2.js → trace-design-Bu-w7hDU.js} +2 -2
- package/dist/{trace-props-BIqLaT63.js → trace-props-zh5b1sKb.js} +5 -5
- package/dist/{trace-style-Dukw7NV9.js → trace-style-B3FAcu-t.js} +1 -1
- package/dist/{user-props-DBYsHkOT.js → user-props-BLw4wDIp.js} +2 -2
- package/dist/{user-style-BuDaimJL.js → user-style-BZPs3tM8.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CDf0_29c.js → value-editor.vue_vue_type_style_index_0_lang-B9hRSOD-.js} +2 -2
- package/dist/{version-select-1agZAO_o.js → version-select-309M4sOF.js} +4 -4
- package/dist/web-render/index.es.js +5 -6
- package/dist/{widget-barcode-DFhW7uOh.js → widget-barcode-Bol2RKzB.js} +4 -4
- package/dist/{widget-diagonal-qNoAh0-Z.js → widget-diagonal-V7yG04qt.js} +3 -3
- package/dist/{widget-image-DrviL5SX.js → widget-image-BAnuKi6V.js} +5 -5
- package/dist/{widget-line-DGdSOlvg.js → widget-line-XlC3UkVA.js} +2 -2
- package/dist/{widget-pagination-CPG8FDLZ.js → widget-pagination-BAehVkHt.js} +5 -5
- package/dist/{widget-power-Drk4rLyc.js → widget-power-Ws0NDEww.js} +3 -3
- package/dist/{widget-qrcode-DOVzlS-t.js → widget-qrcode-DiOWbJWD.js} +3 -3
- package/dist/{widget-rangelimit-Dn1QB6xI.js → widget-rangelimit-D8qkFYi3.js} +3 -3
- package/dist/{widget-serialnumber-ByGCzq5B.js → widget-serialnumber-CQjRJG_9.js} +1 -1
- package/dist/{widget-text-BUUOZTKg.js → widget-text-DlSNHoqu.js} +5 -5
- package/dist/{widget-timediff-BviY2xd0.js → widget-timediff-BIhFKsok.js} +2 -2
- package/package.json +3 -2
- package/dist/paper-widget-design-C2R1vq4x.js +0 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createVNode, computed, unref, ref, defineComponent, inject, reactive, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, createCommentVNode, watch, createElementVNode, defineAsyncComponent, normalizeClass, onMounted, toRaw, normalizeStyle, watchEffect, renderSlot, resolveDynamicComponent, mergeProps, normalizeProps, guardReactiveProps, withModifiers, withKeys, nextTick, withDirectives, vShow, onBeforeUnmount, onUnmounted, isRef, provide, isVNode, toRef, mergeDefaults, TransitionGroup, h, useCssVars, onBeforeMount, toHandlers, createSlots } from "vue";
|
|
2
|
-
import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, P as PaginationFormat, a as PaperWidgeType, B as BwipCodeType, L as LineType, b as PageSizeEnum, O as Orientation, F as FIELD_TYPE, c as FIELD_TYPE_TRACE, d as FIELD_TYPE_BUSINESS, e as src, C as CreateType, f as ComponentTypeEnum, p as parse, g as estraverse, S as Syntax, h as SubTableType, i as CellType, j as api, k as FieldTypeToJs, r as requireEstraverse, l as commonjsGlobal, m as getDefaultExportFromCjs, n as PaperWidgeValueType, o as useCalculateFormula, q as onlineFormMasterModelTypeEnum, t as FIELD_TYPE_WAREHOUSE, U as UniqueConstraintType, v as FieldDefaultValueTypeEnum, x as FormTypeEnum, y as LabelPosition, z as BooleanShowMode, A as SignatureNumberTypeEnum, D as SignatureTimeTypeEnum, E as SignShowTypeEnum, G as SignatureTypeEnum, H as useModal, J as useNamespace, _ as _export_sfc, K as mitt, M as PlatformEnum, N as FieldIconMap, Q as CellWidgetViewState, R as DiagonalDirection, W as WidgetImageSizeMode, T as LineDirection, V as TimeDiffFormat, X as ViewTypeEnum, Y as EntityModelTypeEnum, Z as EmptySymbol, $ as ASSIGNMENTSTRATEGY_ENUM, a0 as Dependency_ENUM, a1 as ExpressionModeEnum, a2 as ExpressionTabEnum, a3 as ReturnTypeEnum, a4 as ImageDisplayModeEnum, a5 as PaperSizeMap, a6 as EntityModelCategoryEnum, a7 as CheckDsTypeEnum, a8 as DeviceLink, a9 as DeviceParamsTypeTitle, aa as AITooltips, ab as DenoiseMethodOptions, ac as BinarizeMethodOptions, ad as FormDesignEnum, ae as ParamModelTypeEnum, af as JoinModelTypeEum, ag as sqlUtils, ah as useWidgetStaticAttrs, ai as setSelectValidatorId, aj as setSelectAnnotationId, ak as useCurrentPageFormState, al as useNocodeFormWidget, am as RangeValidateMode, an as renderUtils, ao as DateFormat, ap as BindCmpStyleEnum, aq as DecimalDisplayMode, ar as NCB_PROVIDE, as as normalizeRefLoaderResult, at as refUtils, au as getParseRuleInfo, av as getParseRuleValue, aw as RenderModeEnum, ax as useValidator, ay as EFieldBizTypeEnum, az as FormulaRuleFieldKeyEnum, aA as formulaRuleFieldDict, aB as
|
|
2
|
+
import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, P as PaginationFormat, a as PaperWidgeType, B as BwipCodeType, L as LineType, b as PageSizeEnum, O as Orientation, F as FIELD_TYPE, c as FIELD_TYPE_TRACE, d as FIELD_TYPE_BUSINESS, e as src, C as CreateType, f as ComponentTypeEnum, p as parse, g as estraverse, S as Syntax, h as SubTableType, i as CellType, j as api, k as FieldTypeToJs, r as requireEstraverse, l as commonjsGlobal, m as getDefaultExportFromCjs, n as PaperWidgeValueType, o as useCalculateFormula, q as onlineFormMasterModelTypeEnum, t as FIELD_TYPE_WAREHOUSE, U as UniqueConstraintType, v as FieldDefaultValueTypeEnum, x as FormTypeEnum, y as LabelPosition, z as BooleanShowMode, A as SignatureNumberTypeEnum, D as SignatureTimeTypeEnum, E as SignShowTypeEnum, G as SignatureTypeEnum, H as useModal, J as useNamespace, _ as _export_sfc, K as mitt, M as PlatformEnum, N as FieldIconMap, Q as CellWidgetViewState, R as DiagonalDirection, W as WidgetImageSizeMode, T as LineDirection, V as TimeDiffFormat, X as ViewTypeEnum, Y as EntityModelTypeEnum, Z as EmptySymbol, $ as ASSIGNMENTSTRATEGY_ENUM, a0 as Dependency_ENUM, a1 as ExpressionModeEnum, a2 as ExpressionTabEnum, a3 as ReturnTypeEnum, a4 as ImageDisplayModeEnum, a5 as PaperSizeMap, a6 as EntityModelCategoryEnum, a7 as CheckDsTypeEnum, a8 as DeviceLink, a9 as DeviceParamsTypeTitle, aa as AITooltips, ab as DenoiseMethodOptions, ac as BinarizeMethodOptions, ad as FormDesignEnum, ae as ParamModelTypeEnum, af as JoinModelTypeEum, ag as sqlUtils, ah as useWidgetStaticAttrs, ai as setSelectValidatorId, aj as setSelectAnnotationId, ak as useCurrentPageFormState, al as useNocodeFormWidget, am as RangeValidateMode, an as renderUtils, ao as DateFormat, ap as BindCmpStyleEnum, aq as DecimalDisplayMode, ar as NCB_PROVIDE, as as normalizeRefLoaderResult, at as refUtils, au as getParseRuleInfo, av as getParseRuleValue, aw as RenderModeEnum, ax as useValidator, ay as EFieldBizTypeEnum, az as FormulaRuleFieldKeyEnum, aA as formulaRuleFieldDict, aB as useNocodeEmitter } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
|
|
3
3
|
import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, omit, has, debounce, isNil, times, orderBy, last, mapValues, set as set$2, hasIn, isEqual } from "lodash-es";
|
|
4
4
|
import dayjs from "dayjs";
|
|
5
5
|
import { message, Modal, Empty, InputSearch, Cascader, Tooltip, DatePicker, TreeSelect, CheckboxGroup, Checkbox, Radio, Select, Input, Textarea, AutoComplete, RadioGroup, TimePicker } from "ant-design-vue";
|
|
6
|
-
import { u as useOnlineFormTransformField2Component, B as BorderTD, a as useFormTmplConfig, D as DeviceLinkTmplUtil, S as Scrollbar, C as CaretRightOutlined, b as useFormulaExpWatcher, c as useStyles, d as useDependency, M as MaterialConsumptionPatternEnum, _ as _sfc_main$4j, e as DocumentPaper, f as DocumentSubTableAction } from "./Scrollbar-
|
|
7
|
-
import { u as uuid2, b as buildUUID, a as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, c as useEventListener, e as unrefElement, G as GctDialog, M as ModalWrapper, F as FormFieldSelect, g as getPreviewUrl, o as openSignModal, S as SignMode, f as useWindowSize, h as onClickOutside$1, U as Uploader, A as AddRuleBtn, j as initWebNocodeAdapter } from "./index-
|
|
8
|
-
import { S as SEARCH_SEVICE, C as CloseOutlined, E as EmptyImg$2, F as FileOnlineForm, V as ViewOnlineForm, P as ProccessOnlineForm, B as BaseOnlineForm, T as TextOnlineForm } from "./version-select-
|
|
9
|
-
import { u as useFormModel, a as useThrottleFn, n as noop, i as isIOS, I as InstanceStatusValues } from "./mb-render-
|
|
6
|
+
import { u as useOnlineFormTransformField2Component, B as BorderTD, a as useFormTmplConfig, D as DeviceLinkTmplUtil, S as Scrollbar, C as CaretRightOutlined, b as useFormulaExpWatcher, c as useStyles, d as useDependency, M as MaterialConsumptionPatternEnum, _ as _sfc_main$4j, e as DocumentPaper, f as DocumentSubTableAction } from "./Scrollbar-Bl3GZ5Xl.js";
|
|
7
|
+
import { u as uuid2, b as buildUUID, a as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, c as useEventListener, e as unrefElement, G as GctDialog, M as ModalWrapper, F as FormFieldSelect, g as getPreviewUrl, o as openSignModal, S as SignMode, f as useWindowSize, h as onClickOutside$1, U as Uploader, A as AddRuleBtn, j as initWebNocodeAdapter } from "./index-CZUFfnOl.js";
|
|
8
|
+
import { S as SEARCH_SEVICE, C as CloseOutlined, E as EmptyImg$2, F as FileOnlineForm, V as ViewOnlineForm, P as ProccessOnlineForm, B as BaseOnlineForm, T as TextOnlineForm } from "./version-select-309M4sOF.js";
|
|
9
|
+
import { u as useFormModel, a as useThrottleFn, n as noop, i as isIOS, I as InstanceStatusValues } from "./mb-render-2WbFdaDi.js";
|
|
10
10
|
import { useRoute } from "vue-router";
|
|
11
11
|
var AppleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z" } }] }, "name": "apple", "theme": "filled" };
|
|
12
12
|
function _objectSpread$c(target) {
|
|
@@ -1317,7 +1317,7 @@ const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
|
1317
1317
|
const TRACE_FIELDS = Object.values(FIELD_TYPE_TRACE);
|
|
1318
1318
|
const BUSINESS_FIELDS = Object.values(FIELD_TYPE_BUSINESS);
|
|
1319
1319
|
async function createWorkbook() {
|
|
1320
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1320
|
+
const ExcelJs = (await import("./exceljs.min-CtZPH3-_.js").then((n) => n.e)).default;
|
|
1321
1321
|
return new ExcelJs.Workbook();
|
|
1322
1322
|
}
|
|
1323
1323
|
class XlsxParser {
|
|
@@ -1547,9 +1547,8 @@ class XlsxParser {
|
|
|
1547
1547
|
const { type, required } = field;
|
|
1548
1548
|
field.required = required === $t("sys.true") ? 1 : 0;
|
|
1549
1549
|
const filterFieldTypeLabels = FieldTypeLabels?.filter(([key, type2]) => {
|
|
1550
|
-
const appInfoStore = window.NocodeAdapter.hooks?.useAppInfoStore?.();
|
|
1551
1550
|
const { businessSetting } = window.NocodeAdapter.hooks?.useBusinessSetting?.();
|
|
1552
|
-
if (
|
|
1551
|
+
if (window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR" && !businessSetting?.enableUserField) {
|
|
1553
1552
|
return key !== FIELD_TYPE.USER && key !== FIELD_TYPE.USER_MULTI;
|
|
1554
1553
|
}
|
|
1555
1554
|
return true;
|
|
@@ -1605,37 +1604,37 @@ class XlsxParser {
|
|
|
1605
1604
|
}
|
|
1606
1605
|
function asyncImportClassModules() {
|
|
1607
1606
|
const modules = /* @__PURE__ */ Object.assign({
|
|
1608
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
1609
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
1610
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
1611
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
1612
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
1613
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
1614
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
1615
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
1616
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
1617
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
1618
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
1619
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
1620
|
-
"./_field_/trace/index.ts": () => import("./index-
|
|
1621
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
1622
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
1623
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
1624
|
-
"./_widget_/barcode/index.ts": () => import("./index-
|
|
1625
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
1626
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
1627
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
1628
|
-
"./_widget_/image/index.ts": () => import("./index-
|
|
1629
|
-
"./_widget_/line/index.ts": () => import("./index-
|
|
1630
|
-
"./_widget_/power/index.ts": () => import("./index-
|
|
1631
|
-
"./_widget_/qrcode/index.ts": () => import("./index-
|
|
1632
|
-
"./_widget_/ro/index.ts": () => import("./index-
|
|
1633
|
-
"./_widget_/serialnumber/index.ts": () => import("./index-
|
|
1634
|
-
"./_widget_/sub-table/index.ts": () => import("./index-
|
|
1635
|
-
"./_widget_/timediff/index.ts": () => import("./index-
|
|
1636
|
-
"./paper/index.ts": () => import("./index-
|
|
1637
|
-
"./td/index.ts": () => import("./index-
|
|
1638
|
-
"./tr/index.ts": () => import("./index-
|
|
1607
|
+
"./_field_/datepicker/index.ts": () => import("./index-BdmkrzfX.js").then((m) => m["default"]),
|
|
1608
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-CiTedbWs.js").then((m) => m["default"]),
|
|
1609
|
+
"./_field_/department/index.ts": () => import("./index-C-usEGmM.js").then((m) => m["default"]),
|
|
1610
|
+
"./_field_/enum-select/index.ts": () => import("./index-BxzatoGT.js").then((m) => m["default"]),
|
|
1611
|
+
"./_field_/input/index.ts": () => import("./index-BztM-YU8.js").then((m) => m["default"]),
|
|
1612
|
+
"./_field_/inputdouble/index.ts": () => import("./index-CjZ7wlRK.js").then((m) => m["default"]),
|
|
1613
|
+
"./_field_/inputnumber/index.ts": () => import("./index-BkMb7NQi.js").then((m) => m["default"]),
|
|
1614
|
+
"./_field_/select/index.ts": () => import("./index-zPJznjNc.js").then((m) => m["default"]),
|
|
1615
|
+
"./_field_/sign/index.ts": () => import("./index-Qyom-xcp.js").then((m) => m["default"]),
|
|
1616
|
+
"./_field_/switch/index.ts": () => import("./index-D_nLh3kx.js").then((m) => m["default"]),
|
|
1617
|
+
"./_field_/textarea/index.ts": () => import("./index-C4f8PF4f.js").then((m) => m["default"]),
|
|
1618
|
+
"./_field_/timepicker/index.ts": () => import("./index-D4xFADGG.js").then((m) => m["default"]),
|
|
1619
|
+
"./_field_/trace/index.ts": () => import("./index-CcXsD6l_.js").then((m) => m["default"]),
|
|
1620
|
+
"./_field_/upload-file/index.ts": () => import("./index-C1WGDTJI.js").then((m) => m["default"]),
|
|
1621
|
+
"./_field_/upload-image/index.ts": () => import("./index-BXwQGIfF.js").then((m) => m["default"]),
|
|
1622
|
+
"./_field_/userpicker/index.ts": () => import("./index-DNVAx1YG.js").then((m) => m["default"]),
|
|
1623
|
+
"./_widget_/barcode/index.ts": () => import("./index-C_CfahTy.js").then((m) => m["default"]),
|
|
1624
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-Cgd529ST.js").then((m) => m["default"]),
|
|
1625
|
+
"./_widget_/diagonal/index.ts": () => import("./index-Bh0W0uqc.js").then((m) => m["default"]),
|
|
1626
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-CNzpmRjY.js").then((m) => m["default"]),
|
|
1627
|
+
"./_widget_/image/index.ts": () => import("./index-B4euEA-1.js").then((m) => m["default"]),
|
|
1628
|
+
"./_widget_/line/index.ts": () => import("./index-Vk9W2Vk3.js").then((m) => m["default"]),
|
|
1629
|
+
"./_widget_/power/index.ts": () => import("./index-BSxaKbNe.js").then((m) => m["default"]),
|
|
1630
|
+
"./_widget_/qrcode/index.ts": () => import("./index-BHaE9Ha6.js").then((m) => m["default"]),
|
|
1631
|
+
"./_widget_/ro/index.ts": () => import("./index-CI3VUQXT.js").then((m) => m["default"]),
|
|
1632
|
+
"./_widget_/serialnumber/index.ts": () => import("./index-DwGlVXdO.js").then((m) => m["default"]),
|
|
1633
|
+
"./_widget_/sub-table/index.ts": () => import("./index-Bbt2mKIq.js").then((m) => m["default"]),
|
|
1634
|
+
"./_widget_/timediff/index.ts": () => import("./index-DtD57fTj.js").then((m) => m["default"]),
|
|
1635
|
+
"./paper/index.ts": () => import("./index-DWXSDfBE.js").then((m) => m["default"]),
|
|
1636
|
+
"./td/index.ts": () => import("./index-Bkmo6-xe.js").then((m) => m["default"]),
|
|
1637
|
+
"./tr/index.ts": () => import("./index-ESLtLBIP.js").then((m) => m["default"])
|
|
1639
1638
|
});
|
|
1640
1639
|
return modules;
|
|
1641
1640
|
}
|
|
@@ -8913,8 +8912,7 @@ const _sfc_main$4i = /* @__PURE__ */ defineComponent({
|
|
|
8913
8912
|
type: { default: SubTableType.DEFAULT }
|
|
8914
8913
|
},
|
|
8915
8914
|
setup(__props) {
|
|
8916
|
-
const
|
|
8917
|
-
const isInEDHR = computed(() => appInfoStore.appInfo.suiteKey === "eDHR");
|
|
8915
|
+
const isInEDHR = computed(() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR");
|
|
8918
8916
|
const props2 = __props;
|
|
8919
8917
|
const { subTableFieldModel: subTableFieldModel2, masterModel: masterModel2 } = useModelFields();
|
|
8920
8918
|
const { paper: paper2, isEasyEdition: isEasyEdition2, globalSubTables: globalSubTables2 } = useSpreadSheet();
|
|
@@ -9561,7 +9559,7 @@ function asyncImportWidgetConfig() {
|
|
|
9561
9559
|
}
|
|
9562
9560
|
const widgetConfigMap = asyncImportWidgetConfig();
|
|
9563
9561
|
function asyncImportWidgetDesign$1() {
|
|
9564
|
-
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-design.vue": () => import("./agg-design-
|
|
9562
|
+
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-design.vue": () => import("./agg-design-CuvQmaG4.js"), "./boolean/boolean-design.vue": () => import("./boolean-design-CzJfRrpG.js"), "./cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./date-time/date-time-design.vue": () => import("./date-time-design-BsrXN-oK.js"), "./decimal/decimal-design.vue": () => import("./decimal-design-EX_cJfEM.js"), "./double/double-design.vue": () => import("./double-design-AkCIFKZo.js"), "./enum/enum-design.vue": () => import("./enum-design-XBA6PBCE.js"), "./expression/expression-design.vue": () => import("./expression-design-iUYp6X2j.js"), "./file/file-design.vue": () => import("./file-design-DgVL4fBf.js"), "./image/image-design.vue": () => import("./image-design-CGB0GQ0M.js"), "./integer/integer-design.vue": () => import("./integer-design-BDjQOFfK.js"), "./org/org-design.vue": () => import("./org-design-DEibx7uD.js"), "./ref/ref-design.vue": () => import("./ref-design-C7LbDVQz.js"), "./signature/signature-design.vue": () => import("./signature-design-BgGom6V8.js"), "./text/text-design.vue": () => import("./text-design-CHIjLXqt.js"), "./trace/trace-design.vue": () => import("./trace-design-Bu-w7hDU.js"), "./user/user-design.vue": () => import("./user-design-BRIV937X.js") });
|
|
9565
9563
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
9566
9564
|
const mKey = path.match(/\/([a-z-]+)-design\.vue$/)?.[1];
|
|
9567
9565
|
if (mKey) {
|
|
@@ -9572,7 +9570,7 @@ function asyncImportWidgetDesign$1() {
|
|
|
9572
9570
|
return widgetDesignMap;
|
|
9573
9571
|
}
|
|
9574
9572
|
function asyncImportWidgetProps() {
|
|
9575
|
-
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-props.vue": () => import("./agg-props-
|
|
9573
|
+
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-props.vue": () => import("./agg-props-DnZalom4.js"), "./boolean/boolean-props.vue": () => import("./boolean-props-CVrBd32I.js"), "./cell-widget-props.vue": () => Promise.resolve().then(() => cellWidgetProps), "./date-time/date-time-props.vue": () => import("./date-time-props-C7lk3Svg.js"), "./decimal/decimal-props.vue": () => import("./decimal-props-BJaAZ2YP.js"), "./double/double-props.vue": () => import("./double-props-2dVzEEcb.js"), "./enum/enum-props.vue": () => import("./enum-props-0Kx2rVCh.js"), "./expression/expression-props.vue": () => import("./expression-props-CM-D6-8X.js"), "./file/file-props.vue": () => import("./file-props-Dk4NxkWu.js"), "./image/image-props.vue": () => import("./image-props-CtkG1D8P.js"), "./integer/integer-props.vue": () => import("./integer-props-BYaEWt-9.js"), "./org/org-props.vue": () => import("./org-props-D_Bu0nH4.js"), "./ref/ref-props.vue": () => import("./ref-props-CrYIPN6D.js"), "./signature/signature-props.vue": () => import("./signature-props-DvEKSdl7.js"), "./text/text-props.vue": () => import("./text-props-z4L3VUrk.js"), "./trace/trace-props.vue": () => import("./trace-props-zh5b1sKb.js"), "./user/user-props.vue": () => import("./user-props-BLw4wDIp.js") });
|
|
9576
9574
|
const widgetPropsMap = Object.keys(modules).reduce((map2, path) => {
|
|
9577
9575
|
const mKey = path.match(/\/([a-z-]+)-props\.vue$/)?.[1];
|
|
9578
9576
|
if (mKey) {
|
|
@@ -9584,7 +9582,7 @@ function asyncImportWidgetProps() {
|
|
|
9584
9582
|
return widgetPropsMap;
|
|
9585
9583
|
}
|
|
9586
9584
|
function asyncImportWidgetStyle() {
|
|
9587
|
-
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-style.vue": () => import("./agg-style-
|
|
9585
|
+
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-style.vue": () => import("./agg-style-DfsRu2Br.js"), "./boolean/boolean-style.vue": () => import("./boolean-style-BamZLdDO.js"), "./cell-widget-style.vue": () => Promise.resolve().then(() => cellWidgetStyle), "./date-time/date-time-style.vue": () => import("./date-time-style-CuSYq9AB.js"), "./decimal/decimal-style.vue": () => import("./decimal-style-8NhUAojc.js"), "./double/double-style.vue": () => import("./double-style-SMbNlcUz.js"), "./enum/enum-style.vue": () => import("./enum-style-YQoX2ssf.js"), "./expression/expression-style.vue": () => import("./expression-style-CKP_OY8W.js"), "./file/file-style.vue": () => import("./file-style-BvnlfLqa.js"), "./image/image-style.vue": () => import("./image-style-D09kZZlb.js"), "./integer/integer-style.vue": () => import("./integer-style-CrzX24vm.js"), "./org/org-style.vue": () => import("./org-style-Dh73zVkt.js"), "./ref/ref-style.vue": () => import("./ref-style-BPhhCRWX.js"), "./signature/signature-style.vue": () => import("./signature-style-C275-nSw.js"), "./text/text-style.vue": () => import("./text-style-BlN5tprd.js"), "./trace/trace-style.vue": () => import("./trace-style-B3FAcu-t.js"), "./user/user-style.vue": () => import("./user-style-BZPs3tM8.js") });
|
|
9588
9586
|
const widgetStyleMap = Object.keys(modules).reduce((map2, path) => {
|
|
9589
9587
|
const mKey = path.match(/\/([a-z-]+)-style\.vue$/)?.[1];
|
|
9590
9588
|
if (mKey) {
|
|
@@ -14102,7 +14100,7 @@ function asyncImportWidgetConfigList() {
|
|
|
14102
14100
|
return widgetConfigList;
|
|
14103
14101
|
}
|
|
14104
14102
|
function asyncImportWidgetDesign() {
|
|
14105
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/agg/agg-design.vue": () => import("./agg-design-
|
|
14103
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/agg/agg-design.vue": () => import("./agg-design-CuvQmaG4.js"), "../__cell_widgets__/boolean/boolean-design.vue": () => import("./boolean-design-CzJfRrpG.js"), "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/date-time/date-time-design.vue": () => import("./date-time-design-BsrXN-oK.js"), "../__cell_widgets__/decimal/decimal-design.vue": () => import("./decimal-design-EX_cJfEM.js"), "../__cell_widgets__/double/double-design.vue": () => import("./double-design-AkCIFKZo.js"), "../__cell_widgets__/enum/enum-design.vue": () => import("./enum-design-XBA6PBCE.js"), "../__cell_widgets__/expression/expression-design.vue": () => import("./expression-design-iUYp6X2j.js"), "../__cell_widgets__/file/file-design.vue": () => import("./file-design-DgVL4fBf.js"), "../__cell_widgets__/image/image-design.vue": () => import("./image-design-CGB0GQ0M.js"), "../__cell_widgets__/integer/integer-design.vue": () => import("./integer-design-BDjQOFfK.js"), "../__cell_widgets__/org/org-design.vue": () => import("./org-design-DEibx7uD.js"), "../__cell_widgets__/ref/ref-design.vue": () => import("./ref-design-C7LbDVQz.js"), "../__cell_widgets__/signature/signature-design.vue": () => import("./signature-design-BgGom6V8.js"), "../__cell_widgets__/text/text-design.vue": () => import("./text-design-CHIjLXqt.js"), "../__cell_widgets__/trace/trace-design.vue": () => import("./trace-design-Bu-w7hDU.js"), "../__cell_widgets__/user/user-design.vue": () => import("./user-design-BRIV937X.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-DLP8_r7t.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-BpN765Fh.js"), "./image/image-design.vue": () => import("./image-design-dF-80JDP.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BqbaPMlu.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-hS86nhxN.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-CzGMQTA9.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-CrKouQeH.js"), "./text/text-design.vue": () => import("./text-design-MVF30X3y.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-QoNenLDK.js") });
|
|
14106
14104
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
14107
14105
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
14108
14106
|
if (mKey) {
|
|
@@ -18386,9 +18384,8 @@ const _sfc_main$3m = /* @__PURE__ */ defineComponent({
|
|
|
18386
18384
|
isTextOnlineForm: isTextOnlineForm2
|
|
18387
18385
|
} = useSpreadSheet();
|
|
18388
18386
|
const { cellStyleState: cellStyleState2, cellStyleValue: cellStyleValue2 } = useState();
|
|
18389
|
-
const appInfoStore = window.NocodeAdapter.hooks?.useAppInfoStore?.();
|
|
18390
18387
|
const { businessSetting } = window.NocodeAdapter.hooks?.useBusinessSetting?.();
|
|
18391
|
-
const isEDhr = computed(() =>
|
|
18388
|
+
const isEDhr = computed(() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR");
|
|
18392
18389
|
const canShowBizItem = computed(() => !isTextOnlineForm2.value);
|
|
18393
18390
|
const businessMenuGroups = computed(() => [
|
|
18394
18391
|
{
|
|
@@ -19010,7 +19007,7 @@ const _sfc_main$3m = /* @__PURE__ */ defineComponent({
|
|
|
19010
19007
|
};
|
|
19011
19008
|
}
|
|
19012
19009
|
});
|
|
19013
|
-
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$3m, [["__scopeId", "data-v-
|
|
19010
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$3m, [["__scopeId", "data-v-9abae507"]]);
|
|
19014
19011
|
const _hoisted_1$1V = { class: "toolbar-hook-wrapper" };
|
|
19015
19012
|
const _sfc_main$3l = /* @__PURE__ */ defineComponent({
|
|
19016
19013
|
__name: "toolbar-hook",
|
|
@@ -19185,8 +19182,7 @@ const _hoisted_3$12 = ["data-type"];
|
|
|
19185
19182
|
const _sfc_main$3h = /* @__PURE__ */ defineComponent({
|
|
19186
19183
|
__name: "form-widgets",
|
|
19187
19184
|
setup(__props) {
|
|
19188
|
-
const
|
|
19189
|
-
const isInEDHR = computed(() => appInfoStore.appInfo.suiteKey === "eDHR");
|
|
19185
|
+
const isInEDHR = computed(() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR");
|
|
19190
19186
|
const { businessSetting } = window.NocodeAdapter.hooks?.useBusinessSetting?.();
|
|
19191
19187
|
const OnlineFormWidgetTypes = OnlineFormNormalTypes.filter((it) => {
|
|
19192
19188
|
const { enableUserField } = businessSetting;
|
|
@@ -19241,7 +19237,7 @@ const _sfc_main$3h = /* @__PURE__ */ defineComponent({
|
|
|
19241
19237
|
};
|
|
19242
19238
|
}
|
|
19243
19239
|
});
|
|
19244
|
-
const FormWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$3h, [["__scopeId", "data-v-
|
|
19240
|
+
const FormWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$3h, [["__scopeId", "data-v-25306d3a"]]);
|
|
19245
19241
|
const _hoisted_1$1R = { class: "wrapper" };
|
|
19246
19242
|
const _hoisted_2$1j = { class: "title" };
|
|
19247
19243
|
const _hoisted_3$11 = ["data-type"];
|
|
@@ -19353,8 +19349,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
19353
19349
|
__name: "toolkit-content-widgets",
|
|
19354
19350
|
setup(__props) {
|
|
19355
19351
|
const { isTextOnlineForm: isTextOnlineForm2, isEasyEdition: isEasyEdition2 } = useSpreadSheet();
|
|
19356
|
-
const
|
|
19357
|
-
const isEDHR = computed(() => appInfo.suiteKey === "eDHR");
|
|
19352
|
+
const isEDHR = computed(() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR");
|
|
19358
19353
|
const showFormWidgets = computed(() => isEasyEdition2.value && !isTextOnlineForm2.value);
|
|
19359
19354
|
const showEDHRWidgets = computed(() => showFormWidgets.value && isEDHR.value);
|
|
19360
19355
|
return (_ctx, _cache) => {
|
|
@@ -19367,7 +19362,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
19367
19362
|
};
|
|
19368
19363
|
}
|
|
19369
19364
|
});
|
|
19370
|
-
const ToolkitContentWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$3e, [["__scopeId", "data-v-
|
|
19365
|
+
const ToolkitContentWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$3e, [["__scopeId", "data-v-eea7e894"]]);
|
|
19371
19366
|
const _sfc_main$3d = /* @__PURE__ */ defineComponent({
|
|
19372
19367
|
__name: "add-field-btn",
|
|
19373
19368
|
props: {
|
|
@@ -19490,7 +19485,7 @@ const _sfc_main$3d = /* @__PURE__ */ defineComponent({
|
|
|
19490
19485
|
};
|
|
19491
19486
|
}
|
|
19492
19487
|
});
|
|
19493
|
-
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$3d, [["__scopeId", "data-v-
|
|
19488
|
+
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$3d, [["__scopeId", "data-v-8bc92836"]]);
|
|
19494
19489
|
function _isSlot(s) {
|
|
19495
19490
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
19496
19491
|
}
|
|
@@ -20923,7 +20918,7 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
20923
20918
|
});
|
|
20924
20919
|
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$36, [["__scopeId", "data-v-463388f0"]]);
|
|
20925
20920
|
function asyncImportWidgetProp() {
|
|
20926
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
20921
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-Bol2RKzB.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-V7yG04qt.js"), "./widget-image.vue": () => import("./widget-image-BAnuKi6V.js"), "./widget-line.vue": () => import("./widget-line-XlC3UkVA.js"), "./widget-pagination.vue": () => import("./widget-pagination-BAehVkHt.js"), "./widget-power.vue": () => import("./widget-power-Ws0NDEww.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-DiOWbJWD.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-D8qkFYi3.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-CQjRJG_9.js"), "./widget-text.vue": () => import("./widget-text-DlSNHoqu.js"), "./widget-timediff.vue": () => import("./widget-timediff-BIhFKsok.js") });
|
|
20927
20922
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
20928
20923
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
20929
20924
|
if (mKey) {
|
|
@@ -27999,7 +27994,7 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
27999
27994
|
};
|
|
28000
27995
|
}
|
|
28001
27996
|
});
|
|
28002
|
-
const CheckItemSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2A, [["__scopeId", "data-v-
|
|
27997
|
+
const CheckItemSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2A, [["__scopeId", "data-v-9aea5c34"]]);
|
|
28003
27998
|
class CheckTable {
|
|
28004
27999
|
paper;
|
|
28005
28000
|
table;
|
|
@@ -28744,7 +28739,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
28744
28739
|
};
|
|
28745
28740
|
}
|
|
28746
28741
|
});
|
|
28747
|
-
const SelectCheckDsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2x, [["__scopeId", "data-v-
|
|
28742
|
+
const SelectCheckDsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2x, [["__scopeId", "data-v-c1da858b"]]);
|
|
28748
28743
|
const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
28749
28744
|
__name: "add-ds-btn",
|
|
28750
28745
|
props: {
|
|
@@ -30088,7 +30083,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
30088
30083
|
};
|
|
30089
30084
|
}
|
|
30090
30085
|
});
|
|
30091
|
-
const DeviceTable = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["__scopeId", "data-v-
|
|
30086
|
+
const DeviceTable = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["__scopeId", "data-v-b1edd8ac"]]);
|
|
30092
30087
|
const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
30093
30088
|
__name: "device-select-modal",
|
|
30094
30089
|
props: {
|
|
@@ -31236,7 +31231,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
31236
31231
|
};
|
|
31237
31232
|
}
|
|
31238
31233
|
});
|
|
31239
|
-
const OnlineFormModelModal = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__scopeId", "data-v-
|
|
31234
|
+
const OnlineFormModelModal = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__scopeId", "data-v-0c95ee3b"]]);
|
|
31240
31235
|
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
31241
31236
|
__name: "online-form-model-select",
|
|
31242
31237
|
props: {
|
|
@@ -31612,7 +31607,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
31612
31607
|
}
|
|
31613
31608
|
});
|
|
31614
31609
|
const dataSource = computed(() => {
|
|
31615
|
-
const
|
|
31610
|
+
const appInfo = window.NocodeAdapter.stores?.appInfo?.value;
|
|
31616
31611
|
return appInfo?.onlineFormBuiltinParamList?.map((item) => {
|
|
31617
31612
|
return {
|
|
31618
31613
|
key: item.key,
|
|
@@ -34117,7 +34112,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
|
34117
34112
|
};
|
|
34118
34113
|
}
|
|
34119
34114
|
});
|
|
34120
|
-
const DataSourceModelLink = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["__scopeId", "data-v-
|
|
34115
|
+
const DataSourceModelLink = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["__scopeId", "data-v-f62eb805"]]);
|
|
34121
34116
|
const _hoisted_1$T = { class: "add-builtin-field-modal-container" };
|
|
34122
34117
|
const _hoisted_2$A = { class: "title" };
|
|
34123
34118
|
const _hoisted_3$s = { class: "search" };
|
|
@@ -35858,7 +35853,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
35858
35853
|
};
|
|
35859
35854
|
}
|
|
35860
35855
|
});
|
|
35861
|
-
const EsopVersionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-
|
|
35856
|
+
const EsopVersionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-1b134794"]]);
|
|
35862
35857
|
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
35863
35858
|
__name: "input-render",
|
|
35864
35859
|
props: {
|
|
@@ -37869,7 +37864,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
37869
37864
|
};
|
|
37870
37865
|
}
|
|
37871
37866
|
});
|
|
37872
|
-
const inputnumberRender = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-
|
|
37867
|
+
const inputnumberRender = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-57e1c7b0"]]);
|
|
37873
37868
|
const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37874
37869
|
__proto__: null,
|
|
37875
37870
|
default: inputnumberRender
|
|
@@ -38020,7 +38015,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
38020
38015
|
FIELD_TYPE.SCRAP_GROUP,
|
|
38021
38016
|
FIELD_TYPE.DEVICE_REF,
|
|
38022
38017
|
FIELD_TYPE.DEVICE_REF_MULTI
|
|
38023
|
-
].includes(fieldType) && window?.
|
|
38018
|
+
].includes(fieldType) && window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR") {
|
|
38024
38019
|
return true;
|
|
38025
38020
|
}
|
|
38026
38021
|
return void 0;
|
|
@@ -38301,7 +38296,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
38301
38296
|
};
|
|
38302
38297
|
}
|
|
38303
38298
|
});
|
|
38304
|
-
const RefSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-
|
|
38299
|
+
const RefSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-d9618a96"]]);
|
|
38305
38300
|
const PRODUCTION_CONTAINER_FIELD = "production_container_id_";
|
|
38306
38301
|
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
38307
38302
|
__name: "select-render",
|
|
@@ -39452,7 +39447,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
39452
39447
|
const queryName = `${searchField}.like`;
|
|
39453
39448
|
const codeName = "code_.like";
|
|
39454
39449
|
const queryData = {
|
|
39455
|
-
operating_state_:
|
|
39450
|
+
operating_state_: window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR" && fieldType !== FIELD_TYPE.MFG_ORDER ? true : void 0
|
|
39456
39451
|
};
|
|
39457
39452
|
if (keyword2?.trim()) {
|
|
39458
39453
|
queryData[queryName] = keyword2;
|
|
@@ -39583,7 +39578,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
39583
39578
|
exp: `OR(code_.eq)`,
|
|
39584
39579
|
queryData: {
|
|
39585
39580
|
["code_.eq"]: code2,
|
|
39586
|
-
operating_state_:
|
|
39581
|
+
operating_state_: window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR" && fieldType !== FIELD_TYPE.MFG_ORDER ? true : void 0,
|
|
39587
39582
|
...newQueryDataRef.value || {}
|
|
39588
39583
|
},
|
|
39589
39584
|
pageSize: 30
|
|
@@ -39645,7 +39640,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
39645
39640
|
};
|
|
39646
39641
|
}
|
|
39647
39642
|
});
|
|
39648
|
-
const TraceSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-
|
|
39643
|
+
const TraceSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-a7f903c9"]]);
|
|
39649
39644
|
const _hoisted_1$M = ["title"];
|
|
39650
39645
|
const _hoisted_2$t = {
|
|
39651
39646
|
key: 0,
|
|
@@ -40164,7 +40159,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
40164
40159
|
};
|
|
40165
40160
|
}
|
|
40166
40161
|
});
|
|
40167
|
-
const TraceRdoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-
|
|
40162
|
+
const TraceRdoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-8a861bb9"]]);
|
|
40168
40163
|
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
40169
40164
|
__name: "lot-select-table",
|
|
40170
40165
|
props: {
|
|
@@ -40420,7 +40415,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
40420
40415
|
};
|
|
40421
40416
|
}
|
|
40422
40417
|
});
|
|
40423
|
-
const TraceLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-
|
|
40418
|
+
const TraceLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-65359cb4"]]);
|
|
40424
40419
|
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
40425
40420
|
__name: "trace-sterilize-lot-select",
|
|
40426
40421
|
props: {
|
|
@@ -40559,7 +40554,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
40559
40554
|
};
|
|
40560
40555
|
}
|
|
40561
40556
|
});
|
|
40562
|
-
const TraceSterilizeLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-
|
|
40557
|
+
const TraceSterilizeLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-a58ede01"]]);
|
|
40563
40558
|
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
40564
40559
|
__name: "material-lot-select-table",
|
|
40565
40560
|
props: {
|
|
@@ -40810,7 +40805,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
40810
40805
|
};
|
|
40811
40806
|
}
|
|
40812
40807
|
});
|
|
40813
|
-
const TraceMaterialLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-
|
|
40808
|
+
const TraceMaterialLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-dbedfa16"]]);
|
|
40814
40809
|
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
40815
40810
|
__name: "trace-date",
|
|
40816
40811
|
props: {
|
|
@@ -41437,7 +41432,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
41437
41432
|
};
|
|
41438
41433
|
}
|
|
41439
41434
|
});
|
|
41440
|
-
const TraceDevice = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-
|
|
41435
|
+
const TraceDevice = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-80c0468d"]]);
|
|
41441
41436
|
const _hoisted_1$J = { class: "allocate-product__dropdown" };
|
|
41442
41437
|
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
41443
41438
|
__name: "allocate-product",
|
|
@@ -41731,7 +41726,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
41731
41726
|
};
|
|
41732
41727
|
}
|
|
41733
41728
|
});
|
|
41734
|
-
const AllocateProduct = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-
|
|
41729
|
+
const AllocateProduct = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-d4437740"]]);
|
|
41735
41730
|
const VuePdfEmbed = defineAsyncComponent(() => import("./index-IoZ43cS-.js"));
|
|
41736
41731
|
if (typeof window !== "undefined") {
|
|
41737
41732
|
if (window.NodeList && !NodeList.prototype.forEach) {
|
|
@@ -42559,7 +42554,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
42559
42554
|
}
|
|
42560
42555
|
});
|
|
42561
42556
|
const VueVideoPlayer = defineAsyncComponent(
|
|
42562
|
-
() => import("./VueVideoPlayer-
|
|
42557
|
+
() => import("./VueVideoPlayer-OKUZ-GWX.js")
|
|
42563
42558
|
);
|
|
42564
42559
|
const _hoisted_1$I = {
|
|
42565
42560
|
key: 0,
|
|
@@ -42714,7 +42709,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
42714
42709
|
};
|
|
42715
42710
|
}
|
|
42716
42711
|
});
|
|
42717
|
-
const ESOPReadonly = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-
|
|
42712
|
+
const ESOPReadonly = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-46c93c2c"]]);
|
|
42718
42713
|
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
42719
42714
|
__name: "trace-render",
|
|
42720
42715
|
props: {
|
|
@@ -42946,7 +42941,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
42946
42941
|
};
|
|
42947
42942
|
}
|
|
42948
42943
|
});
|
|
42949
|
-
const traceRender = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-
|
|
42944
|
+
const traceRender = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-5f3e54b1"]]);
|
|
42950
42945
|
const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42951
42946
|
__proto__: null,
|
|
42952
42947
|
default: traceRender
|
|
@@ -49929,8 +49924,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
49929
49924
|
const ipaasList = ref([]);
|
|
49930
49925
|
const builtinList = ref([]);
|
|
49931
49926
|
const activeKeys = ref([]);
|
|
49932
|
-
const
|
|
49933
|
-
const isInMedpro = computed(() => appInfoStore.appInfo.suiteKey === "MEDPRO");
|
|
49927
|
+
const isInMedpro = computed(() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "MEDPRO");
|
|
49934
49928
|
watch(
|
|
49935
49929
|
showTmplConfig,
|
|
49936
49930
|
(visible) => {
|
|
@@ -50233,7 +50227,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
50233
50227
|
};
|
|
50234
50228
|
}
|
|
50235
50229
|
});
|
|
50236
|
-
const PanelDataInitConfig = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-
|
|
50230
|
+
const PanelDataInitConfig = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-48d622c9"]]);
|
|
50237
50231
|
const MODEL_KEY = "em_product";
|
|
50238
50232
|
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
50239
50233
|
__name: "material-rdo-select",
|
|
@@ -50400,7 +50394,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
50400
50394
|
};
|
|
50401
50395
|
}
|
|
50402
50396
|
});
|
|
50403
|
-
const MaterialRdoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
50397
|
+
const MaterialRdoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-3d37abf4"]]);
|
|
50404
50398
|
const _hoisted_1$r = ["title"];
|
|
50405
50399
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
50406
50400
|
__name: "form-field-tree-select",
|
|
@@ -50942,7 +50936,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
50942
50936
|
};
|
|
50943
50937
|
}
|
|
50944
50938
|
});
|
|
50945
|
-
const AddRuleModel = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
50939
|
+
const AddRuleModel = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-c56c177b"]]);
|
|
50946
50940
|
const _hoisted_1$p = { class: "panel-rule-config" };
|
|
50947
50941
|
const _hoisted_2$j = { class: "rule-area" };
|
|
50948
50942
|
const _hoisted_3$h = { class: "ks-row" };
|
|
@@ -52916,6 +52910,15 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
52916
52910
|
};
|
|
52917
52911
|
}
|
|
52918
52912
|
});
|
|
52913
|
+
function getGctStore() {
|
|
52914
|
+
return window?._gct?.store;
|
|
52915
|
+
}
|
|
52916
|
+
function createDefaultExcelStores() {
|
|
52917
|
+
return {
|
|
52918
|
+
userInfo: computed(() => getGctStore()?.userInfo ?? {}),
|
|
52919
|
+
appInfo: computed(() => getGctStore()?.appInfo ?? {})
|
|
52920
|
+
};
|
|
52921
|
+
}
|
|
52919
52922
|
class NocodeAdapter {
|
|
52920
52923
|
/** 通用消息弹出等行为 */
|
|
52921
52924
|
static openUtil;
|
|
@@ -52931,6 +52934,8 @@ class NocodeAdapter {
|
|
|
52931
52934
|
static allocateRender;
|
|
52932
52935
|
/** 宿主 hooks */
|
|
52933
52936
|
static hooks;
|
|
52937
|
+
/** 宿主 stores */
|
|
52938
|
+
static stores;
|
|
52934
52939
|
/** 宿主组件(按需注入) */
|
|
52935
52940
|
static components;
|
|
52936
52941
|
/** 宿主 API */
|
|
@@ -52952,24 +52957,9 @@ const ExcelHostComponentNames = {
|
|
|
52952
52957
|
function ensureWindowT() {
|
|
52953
52958
|
window.$t = window.$t ?? ((key) => key);
|
|
52954
52959
|
}
|
|
52955
|
-
function setupHttpInterceptors(interceptors) {
|
|
52956
|
-
if (interceptors) {
|
|
52957
|
-
HttpUtil.use(interceptors);
|
|
52958
|
-
}
|
|
52959
|
-
HttpUtil.use((inst) => {
|
|
52960
|
-
inst.interceptors.response.use((response) => {
|
|
52961
|
-
if (response.config.__useWordMessage && !response.data.ok) {
|
|
52962
|
-
response.data.message = void 0;
|
|
52963
|
-
message.error(response.data.subMessage);
|
|
52964
|
-
}
|
|
52965
|
-
return response;
|
|
52966
|
-
});
|
|
52967
|
-
});
|
|
52968
|
-
}
|
|
52969
52960
|
function setupExcel(options = {}) {
|
|
52970
|
-
const { platform = "web",
|
|
52961
|
+
const { platform = "web", minioPath, hooks: hooks2, stores, components, apis: apis2, utils: utils2 } = options;
|
|
52971
52962
|
ensureWindowT();
|
|
52972
|
-
setupHttpInterceptors(interceptors);
|
|
52973
52963
|
if (platform === "web") {
|
|
52974
52964
|
initWebNocodeAdapter();
|
|
52975
52965
|
}
|
|
@@ -52982,6 +52972,11 @@ function setupExcel(options = {}) {
|
|
|
52982
52972
|
...hooks2
|
|
52983
52973
|
};
|
|
52984
52974
|
}
|
|
52975
|
+
NocodeAdapter.stores = {
|
|
52976
|
+
...createDefaultExcelStores(),
|
|
52977
|
+
...NocodeAdapter.stores,
|
|
52978
|
+
...stores
|
|
52979
|
+
};
|
|
52985
52980
|
if (components) {
|
|
52986
52981
|
NocodeAdapter.components = {
|
|
52987
52982
|
...NocodeAdapter.components,
|
|
@@ -53215,7 +53210,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
53215
53210
|
};
|
|
53216
53211
|
}
|
|
53217
53212
|
});
|
|
53218
|
-
const UploadFilePreview = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
53213
|
+
const UploadFilePreview = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-bacf6fd3"]]);
|
|
53219
53214
|
const fieldId = "file_";
|
|
53220
53215
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
53221
53216
|
__name: "widget-file-form",
|
|
@@ -53915,7 +53910,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
53915
53910
|
};
|
|
53916
53911
|
}
|
|
53917
53912
|
});
|
|
53918
|
-
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
53913
|
+
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-3cf328d9"]]);
|
|
53919
53914
|
const _hoisted_1$5 = { class: "bg-[#F7F8FA] h100% pt8px pr4px pl9px overflow-auto" };
|
|
53920
53915
|
const _hoisted_2$4 = { class: "bg-[#fff] rounded-4px p16px item" };
|
|
53921
53916
|
const _hoisted_3$4 = { class: "item-title" };
|
|
@@ -54723,7 +54718,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54723
54718
|
};
|
|
54724
54719
|
}
|
|
54725
54720
|
});
|
|
54726
|
-
const previewRouter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
54721
|
+
const previewRouter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d4a4f5f2"]]);
|
|
54727
54722
|
function openVersionDiff(id) {
|
|
54728
54723
|
window.NocodeAdapter.utils.overlay.fullScreen(VersionDiffIndex, { id });
|
|
54729
54724
|
}
|
|
@@ -54767,12 +54762,13 @@ export {
|
|
|
54767
54762
|
previewRouter as a6,
|
|
54768
54763
|
XlsxParser as a7,
|
|
54769
54764
|
calcUsedFields as a8,
|
|
54770
|
-
|
|
54771
|
-
|
|
54772
|
-
|
|
54773
|
-
|
|
54774
|
-
|
|
54775
|
-
|
|
54765
|
+
createDefaultExcelStores as a9,
|
|
54766
|
+
isReverseModelingEnabled as aa,
|
|
54767
|
+
openVersionDiff as ab,
|
|
54768
|
+
registerExcelHostComponents as ac,
|
|
54769
|
+
scanField as ad,
|
|
54770
|
+
setupExcel as ae,
|
|
54771
|
+
useCheckItem as af,
|
|
54776
54772
|
FormulaEditor as b,
|
|
54777
54773
|
useSpreadSheet as c,
|
|
54778
54774
|
useReverseModeling as d,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { f as ComponentTypeEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-
|
|
2
|
+
import { f as ComponentTypeEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|