@gct-paas/excel 0.1.33-beta.1 → 0.1.33-beta.2
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-CAe1GFCG.js → BaseComponent-iMG-slZ6.js} +1 -1
- package/dist/{VueVideoPlayer-BR4RbIhY.js → VueVideoPlayer-D0SQGvMx.js} +2 -2
- package/dist/{align-editor-jvwZmJhi.js → align-editor-Ss2gJqa-.js} +1 -1
- package/dist/{barcode-design-D-RUtBUQ.js → barcode-design-BR54lzNP.js} +2 -2
- package/dist/base/index.es.js +5 -5
- package/dist/{diagonal-design-D0-8xfY9.js → diagonal-design-CJWfwmxE.js} +2 -2
- package/dist/{dynamic-table-action-CuwejY0h.js → dynamic-table-action-CmCkKNy1.js} +2 -2
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CFFrNEYh.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js} +6 -6
- package/dist/{edit.utils-CXmmCnxE-DsHacnTy.js → edit.utils-CXmmCnxE-CaZYkGtk.js} +1 -1
- package/dist/excel.css +51 -51
- package/dist/{exceljs.min-Cq93OYx0.js → exceljs.min-CPqsNaat.js} +2 -2
- package/dist/{font-editor-STIcKQS9.js → font-editor-BascUFg2.js} +3 -3
- package/dist/{image-design-BE0reQ2L.js → image-design-hTV7cmpq.js} +2 -2
- package/dist/{index-uyTvicTO.js → index-0naSKwsT.js} +1 -1
- package/dist/{index-Boh-6KTf.js → index-2cn_RO0y.js} +3 -3
- package/dist/{index-B_Vz06n5.js → index-AB4yCMyX.js} +2 -2
- package/dist/{index-CrlUK3mJ.js → index-B4O876kc.js} +3 -3
- package/dist/{index-B8UxP4I8.js → index-B93hJuCY.js} +2 -2
- package/dist/{index-D9JmIbUb.js → index-Bb9_9KOc.js} +1 -1
- package/dist/{index-CsE9ftfx.js → index-BpIDnEb4.js} +2 -2
- package/dist/{index-Dl5qzD_4.js → index-BrTAmCnc.js} +2 -2
- package/dist/{index-BHKYBIU4.js → index-Bs12lNOF.js} +1 -1
- package/dist/{index-DwQuEur6.js → index-C17RBnDD.js} +2 -2
- package/dist/{index-CxOH8cdl.js → index-CBWRF4iQ.js} +1 -1
- package/dist/{index-CZjv5O4w.js → index-CCXNE6Ql.js} +2 -2
- package/dist/{index-C1qPKXtI.js → index-CFuJks3C.js} +2 -2
- package/dist/{index-DvbyBcoW.js → index-CO3IUige.js} +3 -3
- package/dist/{index-BzYqBsXt.js → index-CbVXT1EA.js} +1 -1
- package/dist/{index-BR8jTu0U.js → index-Cjnc37XN.js} +3 -3
- package/dist/{index-DogAqNJV.js → index-Cz5LjlUS.js} +2 -2
- package/dist/{index-BDEROc8n.js → index-CzST9LRd.js} +2 -2
- package/dist/{index-D5aim6xd.js → index-D1uEF2Q-.js} +1 -1
- package/dist/{index-CaAA6yTk.js → index-DIBG4TOH.js} +2 -2
- package/dist/{index-GZPHkfRf.js → index-DL0STF2C.js} +2 -2
- package/dist/{index-vCGSByW_.js → index-DR2i2wAk.js} +2 -2
- package/dist/{index-DcN-7DVw.js → index-D_jEtEOJ.js} +95 -49
- package/dist/{index-CTtq3ytv.js → index-Dd2Vzf8C.js} +2 -2
- package/dist/{index-CZ_rns9z.js → index-Dsg2tRIM.js} +3 -3
- package/dist/{index-D1qAQzmB.js → index-DwXGYgpd.js} +2 -2
- package/dist/{index-Gqpg9XkM.js → index-DyYU91oc.js} +2 -2
- package/dist/{index-TfrN14XT.js → index-EpRxP-KJ.js} +2 -2
- package/dist/{index-7fOfFIWA.js → index-KYZ_LYw8.js} +1 -1
- package/dist/{index-wGLH0bRh.js → index-QOhjFhUU.js} +1 -1
- package/dist/{index-CzZMgyTs.js → index-hQB6BP8F.js} +1 -1
- package/dist/{index-OQIgIej5.js → index-m1firQQM.js} +1 -1
- package/dist/{index-ByFo5Dnd.js → index-w1K0Xebt.js} +2 -2
- package/dist/{index-D5ZIZcxA.js → index-xkbxNAKp.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-CtCYbeiE.js → mb-render-lZnQMwuY.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhcW_QTf.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Dxi-5wnV.js} +1 -1
- package/dist/{pagination-design-Dww0Y1-3.js → pagination-design-BQ-_HVZH.js} +2 -2
- package/dist/paper-widget-design-STFSgVx4.js +4 -0
- package/dist/{qrcode-design-D0aSeR4l.js → qrcode-design-CKvV5FgN.js} +1 -1
- package/dist/{revo-grid.entry-DI2rNob_.js → revo-grid.entry-BxGIzM1P.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CBbD7d-g.js → revogr-attribution_7.entry-D-RfLR2_.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CLAxZ5jH.js → revogr-clipboard_3.entry-CZXj_qxx.js} +2 -2
- package/dist/{revogr-data_4.entry-7VW0g6vl.js → revogr-data_4.entry-3DDluLT2.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DGHVS3a2.js → revogr-filter-panel.entry-DIcPvy6A.js} +1 -1
- package/dist/{serialnumber-design-D37xioAJ.js → serialnumber-design-BgIZu0sW.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-D5eogcuY.js → single-field-drop-Do6tRaIk.js} +2 -2
- package/dist/{size-editor-_oGc1_8M.js → size-editor-B5f5QFKt.js} +1 -1
- package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- package/dist/src/domain/table/design/ribbon-options.d.ts +1 -0
- package/dist/src/nocode-base/src/constant/index.d.ts +1 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +7 -0
- package/dist/src/shared/enum/online-form.d.ts +1 -1
- package/dist/{text-design-CHoQtOBi.js → text-design-C8QBoCib.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-CEvaM6uf.js → throttle-Cpk1LoGk-D8x0_nKc.js} +1 -1
- package/dist/{timediff-design-BxItKsBW.js → timediff-design-CsDLmpYK.js} +1 -1
- package/dist/{trace-like-wrapper-BNwwljhN.js → trace-like-wrapper-fqCKv1tP.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-WwOnevs0.js → value-editor.vue_vue_type_style_index_0_lang-BiFdaVMQ.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-CmzvEEWx.js → widget-barcode-DWJWHhHw.js} +4 -4
- package/dist/{widget-diagonal-B6Mvq_Ck.js → widget-diagonal-ChaNFnER.js} +3 -3
- package/dist/{widget-image-DPd6ZI2K.js → widget-image-B6V9q5Dd.js} +5 -5
- package/dist/{widget-line-BRgNGqLk.js → widget-line-8n0EWml2.js} +2 -2
- package/dist/{widget-pagination-Dn3BpM0I.js → widget-pagination-CVgdkFav.js} +5 -5
- package/dist/{widget-power-C6BzkxLE.js → widget-power-CRvjhBum.js} +3 -3
- package/dist/{widget-qrcode-_Fe3bqQy.js → widget-qrcode-DPP5sjhy.js} +3 -3
- package/dist/{widget-rangelimit-Dlt83D9J.js → widget-rangelimit-ceyBLia0.js} +3 -3
- package/dist/{widget-serialnumber-VA2ngpH9.js → widget-serialnumber-NUpJm-iS.js} +1 -1
- package/dist/{widget-text-CiwYrzt_.js → widget-text-B9yOrDvs.js} +5 -5
- package/dist/{widget-timediff-Ch3L6a1S.js → widget-timediff-BKWA2ekE.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-D_mxf4dD.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { has, get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode, b4 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode, b4 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
7
|
class InputNumber extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Inputnumber;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-fqCKv1tP.js";
|
|
8
8
|
class RdoSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.RdoSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as PageSizeEnum, C as ComponentTypeEnum, aQ as ParamModelTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { p as PageSizeEnum, C as ComponentTypeEnum, aQ as ParamModelTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-D_jEtEOJ.js";
|
|
8
8
|
class Select extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Select;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
7
|
class DynValue extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DynValue;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
6
|
+
import { A as AsyncGctOnlineComponents } from "./index-D_jEtEOJ.js";
|
|
7
7
|
class Tr {
|
|
8
8
|
component = "tr";
|
|
9
9
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick, get } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
7
|
class Userpicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Userpicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
7
|
class Diagonal extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Diagonal;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
7
|
class Department extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Department;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as Vue from "vue";
|
|
2
2
|
import { computed, unref, ref, defineComponent, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, watch, toRaw, inject, reactive, createBlock, Fragment, renderList, createTextVNode, toDisplayString as toDisplayString$1, createCommentVNode, createElementVNode, normalizeClass, normalizeStyle, watchEffect, renderSlot, shallowRef, defineAsyncComponent, resolveDynamicComponent, mergeProps, normalizeProps, guardReactiveProps, onUnmounted, h, Text, nextTick, onBeforeUnmount, withModifiers, withDirectives, vShow, withKeys, vModelText, isRef, provide, isVNode as isVNode$1, createApp, render, TransitionGroup, toRefs, createSlots, toRef, mergeDefaults, useCssVars, onBeforeMount, toHandlers, getCurrentInstance as getCurrentInstance$1, Teleport, useAttrs, onScopeDispose, Transition, useModel, mergeModels as mergeModels$1 } from "vue";
|
|
3
|
-
import { D as DateObjectContext, i as isBlank$1, F as FIELD_TYPE, a as isSameFieldValue$1, r as runDateObjectHandler, c as companionIdKey, b as companionLabelKey, g as getAllDataProfiles, d as isDataTableProfile, e as getProfile, f as isBusinessSubTableProfile, h as getProfileByTableType, j as resolveCreateTargetByTableType, k as getBusinessProfileByRefModelType, S as SUB_TABLE_PANEL_TYPE_NAME, l as expandAutofillTemplates, m as SubTableType, n as getAllBusinessRefModelTypes, P as PaginationFormat, o as PaperWidgeType, B as BwipCodeType, L as LineType, p as PageSizeEnum, O as Orientation, s as src, T as TRACE_FIELD_TYPES, q as BUSINESS_FIELD_TYPES, t as resolveFieldRenderComponent, C as ComponentTypeEnum, u as parse$1, v as estraverse, w as Syntax, x as isDynamicCreateTarget, y as CellType, z as isDynamicCellSubTable, A as api, E as FieldTypeToJs, G as CreateType, H as useModal, I as requireEstraverse, J as commonjsGlobal, K as getDefaultExportFromCjs, M as uuid2, N as PaperWidgeValueType, Q as useCalculateFormula, R as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, U as UniqueConstraintType, V as FieldDefaultValueTypeEnum, X as FormTypeEnum, Y as mitt, Z as isDateObjectField, _ as PlatformEnum, $ as LabelPosition, a0 as BooleanShowMode, a1 as SignatureImageDirectionEnum, a2 as FallbackSignTypeEnum, a3 as SignatureNumberTypeEnum, a4 as SignatureTimeTypeEnum, a5 as SignShowTypeEnum, a6 as SignatureTypeEnum, a7 as _export_sfc, a8 as PaperSizeMap, a9 as getFieldMain, aa as buildUUID, ab as FieldIconMap, ac as normalizeFieldType, ad as BigNumber, ae as FieldSysVarDefaultValueEnum, af as CellWidgetViewState, ag as DiagonalDirection, ah as WidgetImageSizeMode, ai as LineDirection, aj as TimeDiffFormat, ak as DiagonalVertex, al as resolveDiagonalVertex, am as getThemeColorByTableType, an as ViewTypeEnum, ao as useThrottleFn, ap as noop, aq as isIOS, ar as isDynamicSubTablePanelType, as as isFixedSubTablePanelType, at as ExpressionModeEnum, au as ReturnTypeEnum, av as ExpressionTabEnum, aw as RangeValidateMode, ax as RangeCompareOp, ay as DecimalDisplayMode$1, az as ImageDisplayModeEnum, aA as FormDesignEnum, aB as BASIC_FIELD_TYPES, aC as watchDebounced, aD as getExclusiveBusinessTypeTokens, aE as getSubTableTypeByRefModelType, aF as EmptySymbol, aG as ASSIGNMENTSTRATEGY_ENUM, aH as Dependency_ENUM, aI as EntityModelCategoryEnum, aJ as resolveLotDisplayLabel, aK as CheckDsTypeEnum, aL as DeviceLink, aM as DeviceParamsTypeTitle, aN as AITooltips, aO as DenoiseMethodOptions, aP as BinarizeMethodOptions, aQ as ParamModelTypeEnum, aR as JoinModelTypeEum, aS as sqlUtils, aT as useWidgetStaticAttrs, aU as setSelectValidatorId, aV as setSelectAnnotationId, aW as DateFormat, aX as LOT_CONTAINER_ROLE, aY as buildLotSnListQuery, aZ as renderUtils, a_ as NCB_PROVIDE, a$ as resolveLotRecordByValue, b0 as materialCheck, b1 as getLotLockedReason, b2 as validateReinspectionDate, b3 as useNocodeFormWidget, b4 as BindCmpStyleEnum, b5 as getParseRuleInfo, b6 as getParseRuleValue, b7 as useCurrentPageFormState, b8 as normalizeRefLoaderResult, b9 as STOCKTAKE_DIMENSION, ba as F, bb as resolveStocktakeSelectApi, bc as normalizeProductionContainerOptions, bd as buildProductionLotListQuery, be as refUtils, bf as transformUtils, bg as buildDeviceFilterQuery, bh as DEVICE_GROUP_QUERY_KEY, bi as getValidationRuleKeys, bj as validateFields, bk as useOnlineFormTransformField2Component, bl as RenderModeEnum, bm as useDependency, bn as FormulaRuleFieldKeyEnum, bo as formulaRuleFieldDict, bp as resolveDesignPanelFeatures, bq as BIZ_TABLE_CONFIG_SEED_TYPES, br as STOCKTAKE_DIMENSION_OPTIONS, bs as getAllTableProfiles, bt as isRepeatingSubTablePanelType, bu as useNocodeEmitter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { D as DateObjectContext, i as isBlank$1, F as FIELD_TYPE, a as isSameFieldValue$1, r as runDateObjectHandler, c as companionIdKey, b as companionLabelKey, g as getAllDataProfiles, d as isDataTableProfile, e as getProfile, f as isBusinessSubTableProfile, h as getProfileByTableType, j as resolveCreateTargetByTableType, k as getBusinessProfileByRefModelType, S as SUB_TABLE_PANEL_TYPE_NAME, l as expandAutofillTemplates, m as SubTableType, n as getAllBusinessRefModelTypes, P as PaginationFormat, o as PaperWidgeType, B as BwipCodeType, L as LineType, p as PageSizeEnum, O as Orientation, s as src, T as TRACE_FIELD_TYPES, q as BUSINESS_FIELD_TYPES, t as resolveFieldRenderComponent, C as ComponentTypeEnum, u as parse$1, v as estraverse, w as Syntax, x as isDynamicCreateTarget, y as CellType, z as isDynamicCellSubTable, A as api, E as FieldTypeToJs, G as CreateType, H as useModal, I as requireEstraverse, J as commonjsGlobal, K as getDefaultExportFromCjs, M as uuid2, N as PaperWidgeValueType, Q as useCalculateFormula, R as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, U as UniqueConstraintType, V as FieldDefaultValueTypeEnum, X as FormTypeEnum, Y as mitt, Z as isDateObjectField, _ as PlatformEnum, $ as LabelPosition, a0 as BooleanShowMode, a1 as SignatureImageDirectionEnum, a2 as FallbackSignTypeEnum, a3 as SignatureNumberTypeEnum, a4 as SignatureTimeTypeEnum, a5 as SignShowTypeEnum, a6 as SignatureTypeEnum, a7 as _export_sfc, a8 as PaperSizeMap, a9 as getFieldMain, aa as buildUUID, ab as FieldIconMap, ac as normalizeFieldType, ad as BigNumber, ae as FieldSysVarDefaultValueEnum, af as CellWidgetViewState, ag as DiagonalDirection, ah as WidgetImageSizeMode, ai as LineDirection, aj as TimeDiffFormat, ak as DiagonalVertex, al as resolveDiagonalVertex, am as getThemeColorByTableType, an as ViewTypeEnum, ao as useThrottleFn, ap as noop, aq as isIOS, ar as isDynamicSubTablePanelType, as as isFixedSubTablePanelType, at as ExpressionModeEnum, au as ReturnTypeEnum, av as ExpressionTabEnum, aw as RangeValidateMode, ax as RangeCompareOp, ay as DecimalDisplayMode$1, az as ImageDisplayModeEnum, aA as FormDesignEnum, aB as BASIC_FIELD_TYPES, aC as watchDebounced, aD as getExclusiveBusinessTypeTokens, aE as getSubTableTypeByRefModelType, aF as EmptySymbol, aG as ASSIGNMENTSTRATEGY_ENUM, aH as Dependency_ENUM, aI as EntityModelCategoryEnum, aJ as resolveLotDisplayLabel, aK as CheckDsTypeEnum, aL as DeviceLink, aM as DeviceParamsTypeTitle, aN as AITooltips, aO as DenoiseMethodOptions, aP as BinarizeMethodOptions, aQ as ParamModelTypeEnum, aR as JoinModelTypeEum, aS as sqlUtils, aT as useWidgetStaticAttrs, aU as setSelectValidatorId, aV as setSelectAnnotationId, aW as DateFormat, aX as LOT_CONTAINER_ROLE, aY as buildLotSnListQuery, aZ as renderUtils, a_ as NCB_PROVIDE, a$ as resolveLotRecordByValue, b0 as materialCheck, b1 as getLotLockedReason, b2 as validateReinspectionDate, b3 as useNocodeFormWidget, b4 as BindCmpStyleEnum, b5 as getParseRuleInfo, b6 as getParseRuleValue, b7 as useCurrentPageFormState, b8 as normalizeRefLoaderResult, b9 as STOCKTAKE_DIMENSION, ba as F, bb as resolveStocktakeSelectApi, bc as normalizeProductionContainerOptions, bd as buildProductionLotListQuery, be as refUtils, bf as transformUtils, bg as buildDeviceFilterQuery, bh as DEVICE_GROUP_QUERY_KEY, bi as getValidationRuleKeys, bj as validateFields, bk as useOnlineFormTransformField2Component, bl as RenderModeEnum, bm as useDependency, bn as FormulaRuleFieldKeyEnum, bo as formulaRuleFieldDict, bp as resolveDesignPanelFeatures, bq as BIZ_TABLE_CONFIG_SEED_TYPES, br as STOCKTAKE_DIMENSION_OPTIONS, bs as getAllTableProfiles, bt as isRepeatingSubTablePanelType, bu as useNocodeEmitter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
4
4
|
import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, debounce, omit, has, isNil, times, clone as clone$3, differenceBy, last, mapValues, set as set$2, hasIn, isEqual } from "lodash-es";
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import * as Antd from "ant-design-vue";
|
|
7
7
|
import { message, Modal, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
|
|
8
|
-
import { S as SEARCH_SEVICE, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$68 } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
8
|
+
import { S as SEARCH_SEVICE, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$68 } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Dxi-5wnV.js";
|
|
9
9
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
10
|
-
import { n as normalizeFieldWidth, B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, a as useTmplBom, g as getObjectBomMaterialLotQuery, b as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, c as resolveObjectBomEntry, d as runWithFillProduct, e as applyConsumeObjectTraceChange, i as isEdhrSuite, I as InstanceStatusValues, f as fetchUdi, h as fetchOperationReceiveQty, j as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, k as useStyles, l as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, _ as _sfc_main$6a, m as DocumentPaper, o as DynamicTableAction } from "./dynamic-table-action-
|
|
11
|
-
import { u as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, a as useEventListener, b as unrefElement, r as require$$0, U as Uploader, c as useIntersectionObserver, e as cacheAdapter, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$69, f as initWebNocodeAdapter } from "./index-
|
|
10
|
+
import { n as normalizeFieldWidth, B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, a as useTmplBom, g as getObjectBomMaterialLotQuery, b as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, c as resolveObjectBomEntry, d as runWithFillProduct, e as applyConsumeObjectTraceChange, i as isEdhrSuite, I as InstanceStatusValues, f as fetchUdi, h as fetchOperationReceiveQty, j as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, k as useStyles, l as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, _ as _sfc_main$6a, m as DocumentPaper, o as DynamicTableAction } from "./dynamic-table-action-CmCkKNy1.js";
|
|
11
|
+
import { u as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, a as useEventListener, b as unrefElement, r as require$$0, U as Uploader, c as useIntersectionObserver, e as cacheAdapter, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$69, f as initWebNocodeAdapter } from "./index-B93hJuCY.js";
|
|
12
12
|
import { useFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
13
13
|
import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
|
|
14
|
-
import { u as useFormModel, F as FormModelController } from "./mb-render-
|
|
14
|
+
import { u as useFormModel, F as FormModelController } from "./mb-render-lZnQMwuY.js";
|
|
15
|
+
import { HttpUtil } from "@gct-paas/api";
|
|
15
16
|
import { useModal as useModal$1 } from "@gct-paas/core";
|
|
16
17
|
import { useRoute } from "vue-router";
|
|
17
18
|
import "@gct-paas/form-base/style.css";
|
|
@@ -194,6 +195,14 @@ const BOM_GRANT_PROFILE_TYPES = /* @__PURE__ */ new Set([
|
|
|
194
195
|
"warehouse-allocate",
|
|
195
196
|
"material-balance"
|
|
196
197
|
]);
|
|
198
|
+
const MAX_EDITION_PROFILE_TYPES = /* @__PURE__ */ new Set([
|
|
199
|
+
"warehouse-in",
|
|
200
|
+
"warehouse-out",
|
|
201
|
+
"warehouse-inventory",
|
|
202
|
+
"warehouse-allocate",
|
|
203
|
+
"material-balance",
|
|
204
|
+
"material-requisition"
|
|
205
|
+
]);
|
|
197
206
|
function isRibbonVisibleForSuite(profile, suiteKey) {
|
|
198
207
|
if (profile.ribbonSuites?.length) {
|
|
199
208
|
return Boolean(suiteKey && profile.ribbonSuites.includes(suiteKey));
|
|
@@ -211,6 +220,9 @@ function isProfileVisible(profile, ctx) {
|
|
|
211
220
|
if (BOM_GRANT_PROFILE_TYPES.has(profile.type) && !ctx.isBomGranted) {
|
|
212
221
|
return false;
|
|
213
222
|
}
|
|
223
|
+
if (MAX_EDITION_PROFILE_TYPES.has(profile.type) && !ctx.canUseMaxEditionTables) {
|
|
224
|
+
return false;
|
|
225
|
+
}
|
|
214
226
|
}
|
|
215
227
|
return true;
|
|
216
228
|
}
|
|
@@ -1237,7 +1249,7 @@ function openWindow(url, opt) {
|
|
|
1237
1249
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
1238
1250
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
1239
1251
|
async function createWorkbook() {
|
|
1240
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1252
|
+
const ExcelJs = (await import("./exceljs.min-CPqsNaat.js").then((n) => n.e)).default;
|
|
1241
1253
|
return new ExcelJs.Workbook();
|
|
1242
1254
|
}
|
|
1243
1255
|
class XlsxParser {
|
|
@@ -1524,38 +1536,38 @@ class XlsxParser {
|
|
|
1524
1536
|
}
|
|
1525
1537
|
function asyncImportClassModules() {
|
|
1526
1538
|
const modules = /* @__PURE__ */ Object.assign({
|
|
1527
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
1528
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
1529
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
1530
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
1531
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
1532
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
1533
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
1534
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
1535
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
1536
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
1537
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
1538
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
1539
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
1540
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
1541
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
1542
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
1543
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
1544
|
-
"./_widget_/barcode/index.ts": () => import("./index-
|
|
1545
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
1546
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
1547
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
1548
|
-
"./_widget_/image/index.ts": () => import("./index-
|
|
1549
|
-
"./_widget_/line/index.ts": () => import("./index-
|
|
1550
|
-
"./_widget_/power/index.ts": () => import("./index-
|
|
1551
|
-
"./_widget_/qrcode/index.ts": () => import("./index-
|
|
1552
|
-
"./_widget_/ro/index.ts": () => import("./index-
|
|
1553
|
-
"./_widget_/serialnumber/index.ts": () => import("./index-
|
|
1554
|
-
"./_widget_/sub-table/index.ts": () => import("./index-
|
|
1555
|
-
"./_widget_/timediff/index.ts": () => import("./index-
|
|
1556
|
-
"./paper/index.ts": () => import("./index-
|
|
1557
|
-
"./td/index.ts": () => import("./index-
|
|
1558
|
-
"./tr/index.ts": () => import("./index-
|
|
1539
|
+
"./_field_/auto-complete/index.ts": () => import("./index-Dsg2tRIM.js").then((m) => m["default"]),
|
|
1540
|
+
"./_field_/datepicker/index.ts": () => import("./index-BrTAmCnc.js").then((m) => m["default"]),
|
|
1541
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-DyYU91oc.js").then((m) => m["default"]),
|
|
1542
|
+
"./_field_/department/index.ts": () => import("./index-DR2i2wAk.js").then((m) => m["default"]),
|
|
1543
|
+
"./_field_/enum-select/index.ts": () => import("./index-B4O876kc.js").then((m) => m["default"]),
|
|
1544
|
+
"./_field_/input/index.ts": () => import("./index-Dd2Vzf8C.js").then((m) => m["default"]),
|
|
1545
|
+
"./_field_/inputdouble/index.ts": () => import("./index-AB4yCMyX.js").then((m) => m["default"]),
|
|
1546
|
+
"./_field_/inputnumber/index.ts": () => import("./index-CFuJks3C.js").then((m) => m["default"]),
|
|
1547
|
+
"./_field_/rdo-select/index.ts": () => import("./index-CO3IUige.js").then((m) => m["default"]),
|
|
1548
|
+
"./_field_/select/index.ts": () => import("./index-Cjnc37XN.js").then((m) => m["default"]),
|
|
1549
|
+
"./_field_/sign/index.ts": () => import("./index-BpIDnEb4.js").then((m) => m["default"]),
|
|
1550
|
+
"./_field_/switch/index.ts": () => import("./index-2cn_RO0y.js").then((m) => m["default"]),
|
|
1551
|
+
"./_field_/textarea/index.ts": () => import("./index-xkbxNAKp.js").then((m) => m["default"]),
|
|
1552
|
+
"./_field_/timepicker/index.ts": () => import("./index-C17RBnDD.js").then((m) => m["default"]),
|
|
1553
|
+
"./_field_/upload-file/index.ts": () => import("./index-w1K0Xebt.js").then((m) => m["default"]),
|
|
1554
|
+
"./_field_/upload-image/index.ts": () => import("./index-CCXNE6Ql.js").then((m) => m["default"]),
|
|
1555
|
+
"./_field_/userpicker/index.ts": () => import("./index-DIBG4TOH.js").then((m) => m["default"]),
|
|
1556
|
+
"./_widget_/barcode/index.ts": () => import("./index-Bs12lNOF.js").then((m) => m["default"]),
|
|
1557
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-DwXGYgpd.js").then((m) => m["default"]),
|
|
1558
|
+
"./_widget_/diagonal/index.ts": () => import("./index-DL0STF2C.js").then((m) => m["default"]),
|
|
1559
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-Cz5LjlUS.js").then((m) => m["default"]),
|
|
1560
|
+
"./_widget_/image/index.ts": () => import("./index-CBWRF4iQ.js").then((m) => m["default"]),
|
|
1561
|
+
"./_widget_/line/index.ts": () => import("./index-m1firQQM.js").then((m) => m["default"]),
|
|
1562
|
+
"./_widget_/power/index.ts": () => import("./index-0naSKwsT.js").then((m) => m["default"]),
|
|
1563
|
+
"./_widget_/qrcode/index.ts": () => import("./index-hQB6BP8F.js").then((m) => m["default"]),
|
|
1564
|
+
"./_widget_/ro/index.ts": () => import("./index-Bb9_9KOc.js").then((m) => m["default"]),
|
|
1565
|
+
"./_widget_/serialnumber/index.ts": () => import("./index-KYZ_LYw8.js").then((m) => m["default"]),
|
|
1566
|
+
"./_widget_/sub-table/index.ts": () => import("./index-QOhjFhUU.js").then((m) => m["default"]),
|
|
1567
|
+
"./_widget_/timediff/index.ts": () => import("./index-D1uEF2Q-.js").then((m) => m["default"]),
|
|
1568
|
+
"./paper/index.ts": () => import("./index-CbVXT1EA.js").then((m) => m["default"]),
|
|
1569
|
+
"./td/index.ts": () => import("./index-EpRxP-KJ.js").then((m) => m["default"]),
|
|
1570
|
+
"./tr/index.ts": () => import("./index-CzST9LRd.js").then((m) => m["default"])
|
|
1559
1571
|
});
|
|
1560
1572
|
return modules;
|
|
1561
1573
|
}
|
|
@@ -14703,7 +14715,7 @@ function asyncImportWidgetConfigList() {
|
|
|
14703
14715
|
return widgetConfigList;
|
|
14704
14716
|
}
|
|
14705
14717
|
function asyncImportWidgetDesign() {
|
|
14706
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-
|
|
14718
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-BR54lzNP.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-CJWfwmxE.js"), "./image/image-design.vue": () => import("./image-design-hTV7cmpq.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BQ-_HVZH.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-STFSgVx4.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-CKvV5FgN.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BgIZu0sW.js"), "./text/text-design.vue": () => import("./text-design-C8QBoCib.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CsDLmpYK.js") });
|
|
14707
14719
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
14708
14720
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
14709
14721
|
if (mKey) {
|
|
@@ -23752,6 +23764,33 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
23752
23764
|
}
|
|
23753
23765
|
});
|
|
23754
23766
|
const SpreadSheet = /* @__PURE__ */ _export_sfc(_sfc_main$58, [["__scopeId", "data-v-85921d5d"]]);
|
|
23767
|
+
const DHR_LICENSE_API = "/gct-apaas/api/dhr/license/module";
|
|
23768
|
+
const AVAILABLE_EDITIONS = ["eDHR Max", "eDHR Ultra"];
|
|
23769
|
+
let dhrEditionRequest;
|
|
23770
|
+
function requestDhrEditions() {
|
|
23771
|
+
dhrEditionRequest ??= HttpUtil.get(DHR_LICENSE_API).catch((error) => {
|
|
23772
|
+
dhrEditionRequest = void 0;
|
|
23773
|
+
throw error;
|
|
23774
|
+
});
|
|
23775
|
+
return dhrEditionRequest;
|
|
23776
|
+
}
|
|
23777
|
+
function useDhrEdition(suiteKey) {
|
|
23778
|
+
const canUseMaxEditionTables = ref(false);
|
|
23779
|
+
async function loadDhrEdition() {
|
|
23780
|
+
canUseMaxEditionTables.value = false;
|
|
23781
|
+
if (suiteKey.value !== "eDHR") return;
|
|
23782
|
+
try {
|
|
23783
|
+
const modules = await requestDhrEditions();
|
|
23784
|
+
canUseMaxEditionTables.value = Array.isArray(modules) && modules.some(
|
|
23785
|
+
(edition) => typeof edition === "string" && AVAILABLE_EDITIONS.includes(edition)
|
|
23786
|
+
);
|
|
23787
|
+
} catch (error) {
|
|
23788
|
+
console.warn("[Excel DHR license] Failed to load editions", error);
|
|
23789
|
+
}
|
|
23790
|
+
}
|
|
23791
|
+
watch(suiteKey, () => void loadDhrEdition(), { immediate: true });
|
|
23792
|
+
return { canUseMaxEditionTables };
|
|
23793
|
+
}
|
|
23755
23794
|
const { paper: paper$1, selection } = useSpreadSheet();
|
|
23756
23795
|
const cellStyleValue = computed(() => {
|
|
23757
23796
|
const { _t, _l } = selection.e;
|
|
@@ -25170,10 +25209,12 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
25170
25209
|
const suiteKey = computed(
|
|
25171
25210
|
() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey
|
|
25172
25211
|
);
|
|
25212
|
+
const { canUseMaxEditionTables } = useDhrEdition(suiteKey);
|
|
25173
25213
|
const menuVisibilityCtx = computed(() => ({
|
|
25174
25214
|
isTextOnlineForm: isTextOnlineForm2.value,
|
|
25175
25215
|
suiteKey: suiteKey.value,
|
|
25176
|
-
isBomGranted: !!businessSetting?.isBomGranted
|
|
25216
|
+
isBomGranted: !!businessSetting?.isBomGranted,
|
|
25217
|
+
canUseMaxEditionTables: canUseMaxEditionTables.value
|
|
25177
25218
|
}));
|
|
25178
25219
|
const visibleDataMenuItems = computed(() => {
|
|
25179
25220
|
const items = getDataRibbonMenuItems(menuVisibilityCtx.value).map((item) => ({
|
|
@@ -25744,7 +25785,7 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
25744
25785
|
};
|
|
25745
25786
|
}
|
|
25746
25787
|
});
|
|
25747
|
-
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$51, [["__scopeId", "data-v-
|
|
25788
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$51, [["__scopeId", "data-v-4849bbb1"]]);
|
|
25748
25789
|
const _hoisted_1$2Q = { class: "toolbar-hook-wrapper" };
|
|
25749
25790
|
const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
25750
25791
|
__name: "toolbar-hook",
|
|
@@ -28372,7 +28413,7 @@ const _sfc_main$4N = /* @__PURE__ */ defineComponent({
|
|
|
28372
28413
|
});
|
|
28373
28414
|
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$4N, [["__scopeId", "data-v-463388f0"]]);
|
|
28374
28415
|
function asyncImportWidgetProp() {
|
|
28375
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
28416
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-DWJWHhHw.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-ChaNFnER.js"), "./widget-image.vue": () => import("./widget-image-B6V9q5Dd.js"), "./widget-line.vue": () => import("./widget-line-8n0EWml2.js"), "./widget-pagination.vue": () => import("./widget-pagination-CVgdkFav.js"), "./widget-power.vue": () => import("./widget-power-CRvjhBum.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-DPP5sjhy.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-ceyBLia0.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-NUpJm-iS.js"), "./widget-text.vue": () => import("./widget-text-B9yOrDvs.js"), "./widget-timediff.vue": () => import("./widget-timediff-BKWA2ekE.js") });
|
|
28376
28417
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
28377
28418
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
28378
28419
|
if (mKey) {
|
|
@@ -67287,7 +67328,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
67287
67328
|
}
|
|
67288
67329
|
});
|
|
67289
67330
|
const VueVideoPlayer = defineAsyncComponent(
|
|
67290
|
-
() => import("./VueVideoPlayer-
|
|
67331
|
+
() => import("./VueVideoPlayer-D0SQGvMx.js")
|
|
67291
67332
|
);
|
|
67292
67333
|
const _hoisted_1$13 = {
|
|
67293
67334
|
key: 0,
|
|
@@ -78700,6 +78741,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
78700
78741
|
const RenderFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-e9679977"]]);
|
|
78701
78742
|
function useObjectInitModal() {
|
|
78702
78743
|
const objectInit = useObjectInit();
|
|
78744
|
+
const suiteKey = computed(
|
|
78745
|
+
() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey
|
|
78746
|
+
);
|
|
78747
|
+
const { canUseMaxEditionTables } = useDhrEdition(suiteKey);
|
|
78703
78748
|
async function openAdd(objectFieldKey) {
|
|
78704
78749
|
objectInit.prepareOpen(objectFieldKey);
|
|
78705
78750
|
openConfigModal2(
|
|
@@ -78743,6 +78788,7 @@ function useObjectInitModal() {
|
|
|
78743
78788
|
{
|
|
78744
78789
|
...params,
|
|
78745
78790
|
RenderFieldWrapper,
|
|
78791
|
+
showMaterialStrategy: canUseMaxEditionTables.value,
|
|
78746
78792
|
showConsumePolicy: businessSetting.materialSourceType === "line_side_inventory" || params.editingItem?.objectBomConfig?.material_consumption_pattern_ === MaterialConsumptionPatternEnum.RECORD,
|
|
78747
78793
|
openFormulaEditor: window.NocodeAdapter?.utils?.openFormulaEditor
|
|
78748
78794
|
},
|
|
@@ -85298,7 +85344,7 @@ const sys$1 = {
|
|
|
85298
85344
|
warehouseInOutTableConfig: "Inbound/Outbound Detail Table Config",
|
|
85299
85345
|
warehouseInTableConfig: "Inbound Detail Table Config",
|
|
85300
85346
|
warehouseOutTableConfig: "Outbound Detail Table Config",
|
|
85301
|
-
materialRequisitionTableConfig: "Production Receiving Table Config",
|
|
85347
|
+
materialRequisitionTableConfig: "Production Line Receiving Table Config",
|
|
85302
85348
|
materialSubstitutionTableConfig: "Material Substitution Table Config",
|
|
85303
85349
|
edhr: {
|
|
85304
85350
|
mcTable: {
|
|
@@ -85425,7 +85471,7 @@ const sys$1 = {
|
|
|
85425
85471
|
WAREHOUSE_OUTBOUND: "Outbound Detail Table",
|
|
85426
85472
|
PART_STOCKTAKE: "Stocktake Table",
|
|
85427
85473
|
DEVICE_PART_CONSUME: "Spare Part Consumption Table",
|
|
85428
|
-
MATERIAL_REQUISITION: "Production Receiving Table",
|
|
85474
|
+
MATERIAL_REQUISITION: "Production Line Receiving Table",
|
|
85429
85475
|
MATERIAL_SUBSTITUTION: "Material Substitution Table"
|
|
85430
85476
|
},
|
|
85431
85477
|
inlineMedia: {
|
|
@@ -85474,7 +85520,7 @@ const sys$1 = {
|
|
|
85474
85520
|
warehouse_outbound: "Outbound Detail Table",
|
|
85475
85521
|
part_stocktake: "Stocktake Table",
|
|
85476
85522
|
device_part_consume: "Spare Part Consumption Table",
|
|
85477
|
-
material_requisition: "Production Receiving Table",
|
|
85523
|
+
material_requisition: "Production Line Receiving Table",
|
|
85478
85524
|
material_substitution: "Material Substitution Table"
|
|
85479
85525
|
}
|
|
85480
85526
|
},
|
|
@@ -85575,7 +85621,7 @@ const sys = {
|
|
|
85575
85621
|
warehouseInOutTableConfig: "出入库明细表配置",
|
|
85576
85622
|
warehouseInTableConfig: "入库明细表配置",
|
|
85577
85623
|
warehouseOutTableConfig: "出库明细表配置",
|
|
85578
|
-
materialRequisitionTableConfig: "
|
|
85624
|
+
materialRequisitionTableConfig: "产线收料表配置",
|
|
85579
85625
|
materialSubstitutionTableConfig: "物料替换表配置",
|
|
85580
85626
|
pretreatmentTableConfig: "预处理表配置",
|
|
85581
85627
|
sterilizeBatchConfig: "委托灭菌生产批次表配置",
|
|
@@ -85772,7 +85818,7 @@ const sys = {
|
|
|
85772
85818
|
WAREHOUSE_OUTBOUND: "出库明细表",
|
|
85773
85819
|
PART_STOCKTAKE: "库存盘点表",
|
|
85774
85820
|
DEVICE_PART_CONSUME: "备件消耗表",
|
|
85775
|
-
MATERIAL_REQUISITION: "
|
|
85821
|
+
MATERIAL_REQUISITION: "产线收料表",
|
|
85776
85822
|
MATERIAL_SUBSTITUTION: "物料替换表"
|
|
85777
85823
|
},
|
|
85778
85824
|
inlineMedia: {
|
|
@@ -85821,7 +85867,7 @@ const sys = {
|
|
|
85821
85867
|
warehouse_outbound: "出库明细表",
|
|
85822
85868
|
part_stocktake: "库存盘点表",
|
|
85823
85869
|
device_part_consume: "备件消耗表",
|
|
85824
|
-
material_requisition: "
|
|
85870
|
+
material_requisition: "产线收料表",
|
|
85825
85871
|
material_substitution: "物料替换表"
|
|
85826
85872
|
}
|
|
85827
85873
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, b4 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, b4 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
7
|
class Input extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Input;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-fqCKv1tP.js";
|
|
8
8
|
class AutoComplete extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.AutoComplete;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
7
|
+
import { g as getFieldWidget } from "./index-D_jEtEOJ.js";
|
|
8
8
|
class CombineFields {
|
|
9
9
|
component = ComponentTypeEnum.CombineFields;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
7
|
class DateTimepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DateTimepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
3
|
-
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-D_jEtEOJ.js";
|
|
3
|
+
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE, m as SubTableType, bM as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE, m as SubTableType, bM as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
7
|
class UploadFile extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadFile;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, b4 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, b4 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-iMG-slZ6.js";
|
|
7
7
|
class Textarea extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Textarea;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t, v, w, x, y, z, E, G, H, B, J, K, M, N, O, Q, U, W, X, Y, Z, $, a0, a1, n, a2, a3, o, a4, P, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, d } from "./index-
|
|
2
|
-
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
1
|
+
import { t, v, w, x, y, z, E, G, H, B, J, K, M, N, O, Q, U, W, X, Y, Z, $, a0, a1, n, a2, a3, o, a4, P, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, d } from "./index-D_jEtEOJ.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Dxi-5wnV.js";
|
|
3
3
|
export {
|
|
4
4
|
t as AiTmplEditor,
|
|
5
5
|
v as AiTmplModal,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive, inject, provide } from "vue";
|
|
2
|
-
import { A as api, F as FIELD_TYPE, G as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { A as api, F as FIELD_TYPE, G as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
class MCRender {
|
|
4
4
|
/**
|
|
5
5
|
* 提示信息
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nextTick, h, createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, watch, withCtx, withKeys, mergeProps, toRaw, withModifiers } from "vue";
|
|
2
2
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
-
import { X as FormTypeEnum, a7 as _export_sfc, aA as FormDesignEnum, A as api, H as useModal, cy as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { X as FormTypeEnum, a7 as _export_sfc, aA as FormDesignEnum, A as api, H as useModal, cy as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
4
4
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import { Form } from "ant-design-vue";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
|
|
2
|
-
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { e as calcText } from "./index-
|
|
6
|
+
import { e as calcText } from "./index-D_jEtEOJ.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "pagination-design",
|
|
9
9
|
props: {
|