@gct-paas/excel 0.1.40-beta.32 → 0.1.40-beta.33
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-DGDCBRk0.js → BaseComponent-DxhjB3q7.js} +1 -1
- package/dist/{VueVideoPlayer-PvVgN6cu.js → VueVideoPlayer-D8ROwh6R.js} +1 -1
- package/dist/{barcode-design-CR0W34F3.js → barcode-design-BgQWAbPg.js} +1 -1
- package/dist/base/index.es.js +32 -4
- package/dist/{diagonal-design-B4laGJOK.js → diagonal-design-thqBT2R5.js} +1 -1
- package/dist/{dynamic-table-action-C7X637ej.js → dynamic-table-action-Bc7yXz3G.js} +6 -1
- package/dist/{exceljs.min-BQiifwH2.js → exceljs.min-Bs_MiB-c.js} +1 -1
- package/dist/{font-editor-BdGF4SV2.js → font-editor-Bg0PFKU6.js} +1 -1
- package/dist/{index-DzcDFerr.js → index-BEZ491o7.js} +1 -1
- package/dist/{index-CwD_ZRvt.js → index-BT26ksf1.js} +1 -1
- package/dist/{index-DgeuySJj.js → index-BVeiNXJu.js} +1 -1
- package/dist/{index-C4GwnW2Z.js → index-BXuWJZET.js} +1 -1
- package/dist/{index-DsQzEHba.js → index-Bh2jNQCB.js} +1 -1
- package/dist/{index-BQerE52c.js → index-BmdUEx5G.js} +2 -2
- package/dist/{index-Dh3xyOtQ.js → index-BzzDCpIa.js} +30 -30
- package/dist/{index-F9ECuj9g.js → index-C9rWxn2O.js} +1 -1
- package/dist/{index-CIFAKgUA.js → index-CHXZ0Jx4.js} +1 -1
- package/dist/{index-DLIdNitz.js → index-CR8YuUTK.js} +2 -2
- package/dist/{index-DPEzqvzK.js → index-CSPZa-Yx.js} +3 -3
- package/dist/{index-BcHL9KWF.js → index-CTGFfYxu.js} +1 -1
- package/dist/{index-B3luAn4M.js → index-CWPTIlNB.js} +1 -1
- package/dist/{index-Ck4Q_9lu.js → index-CctUmK0i.js} +1 -1
- package/dist/{index-BuZTg7oL.js → index-CsF-c8Ig.js} +1 -1
- package/dist/{index-w6HiTGe4.js → index-CtVIWevt.js} +1 -1
- package/dist/{index-C8LIBvXg.js → index-CvisAU9z.js} +1 -1
- package/dist/{index-DkH-Ah_v.js → index-DAUzzuMc.js} +1 -1
- package/dist/{index-Bub1G_R9.js → index-DDv6kGJ1.js} +2 -2
- package/dist/{index-D_5g5fWJ.js → index-DMVZNwaY.js} +2 -2
- package/dist/{index-BdvNISWN.js → index-DO029v0L.js} +2 -2
- package/dist/{index-DPXedkcp.js → index-Dy0K-wRi.js} +1 -1
- package/dist/{index-DD3QCIAj.js → index-YzpTNb9E.js} +1 -1
- package/dist/{index-DecmZMkU.js → index-uksJr_Yi.js} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-C48IH-f5.js → pagination-design-DSBkFyKE.js} +1 -1
- package/dist/paper-widget-design-BuZsRX0C.js +4 -0
- package/dist/{print-runtime-instance-B3exnvCB.js → print-runtime-instance-VkEhvyE2.js} +1 -1
- package/dist/{print-snapshot-renderer-Bo30n-DA.js → print-snapshot-renderer-CDWMLRpr.js} +3 -3
- package/dist/{qrcode-design-CyjyBBNO.js → qrcode-design-CuRu8U92.js} +1 -1
- package/dist/seal-design-BWTr4KWW.js +4 -0
- package/dist/{single-field-drop-C8ftlb8q.js → single-field-drop-SIHeEGRV.js} +1 -1
- package/dist/src/nocode-base/src/hooks/render-page/initial-value-data-sources.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +10 -4
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +10 -4
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +5 -2
- package/dist/{sub-table-factory-BbMkYFyu.js → sub-table-factory-DtohfawW.js} +1 -1
- package/dist/{text-design-BCA18gMZ.js → text-design-B45BP7g7.js} +1 -1
- package/dist/{trace-like-wrapper-K2NswNjM.js → trace-like-wrapper-BGPnzRCX.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-kacN-m_0.js → value-editor.vue_vue_type_style_index_0_lang-C5AZRekX.js} +1 -1
- package/dist/{widget-barcode-CmzPjhKL.js → widget-barcode-BdX11UR3.js} +2 -2
- package/dist/{widget-diagonal-H0pWUZjX.js → widget-diagonal-BCgR1cPm.js} +2 -2
- package/dist/{widget-image-BWZiMjcL.js → widget-image-BT5eEGg5.js} +1 -1
- package/dist/{widget-line-CUv08q7K.js → widget-line-CGJQ4U1P.js} +1 -1
- package/dist/{widget-pagination-CGidsSXl.js → widget-pagination-CzzjDbbx.js} +2 -2
- package/dist/{widget-power-DizR9QDi.js → widget-power-V2R3qTzb.js} +2 -2
- package/dist/{widget-qrcode-CXdjkpnC.js → widget-qrcode-DASaSYeb.js} +2 -2
- package/dist/{widget-rangelimit-DBdVKsqh.js → widget-rangelimit-DKj_Exgi.js} +2 -2
- package/dist/{widget-serialnumber-Kh5Kn38O.js → widget-serialnumber-C40xoj6C.js} +1 -1
- package/dist/{widget-text-DwfSTaky.js → widget-text-eOWyJoWF.js} +3 -3
- package/dist/{widget-timediff-CyFxlbTX.js → widget-timediff-CXUbpYxL.js} +1 -1
- package/package.json +2 -2
- package/dist/paper-widget-design-CprS9J43.js +0 -4
- package/dist/seal-design-DeuKfg8f.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { i as normalizeFieldWidth } from "./dynamic-table-action-Bc7yXz3G.js";
|
|
2
2
|
import { get, pick } from "lodash-es";
|
|
3
3
|
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
4
4
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, toRaw, shallowRef, computed, ref, readonly, onMounted, watch, normalizeClass, onBeforeUnmount, h as h$1, watchEffect, unref, createVNode, reactive } from "vue";
|
|
2
2
|
import { W as commonjsGlobal, X as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
3
|
-
import { G as require$$0 } from "./index-
|
|
3
|
+
import { G as require$$0 } from "./index-BzzDCpIa.js";
|
|
4
4
|
var window_1;
|
|
5
5
|
var hasRequiredWindow;
|
|
6
6
|
function requireWindow() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-BzzDCpIa.js";
|
|
4
4
|
import { Y as PaperWidgeValueType, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { p as api, a4 as PlatformEnum, by as getRuntimeDataFieldId, F as FIELD_TYPE, bz as listRuntimeFieldRows, bm as getRowId, bn as findRuntimeTableRow, bl as parseRuntimeFieldPath, bA as buildRuntimeFieldPath, bo as RenderModeEnum, C as ComponentTypeEnum, aE as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, aA as RangeValidateMode, bB as isAttachFieldActive, aQ as Dependency_ENUM, aP as ASSIGNMENTSTRATEGY_ENUM, bC as fetchHistoryConsume, bD as isBomGranted, b3 as renderUtils, bx as uuid2, bE as parseFrontConfig, aT as CheckDsTypeEnum, aN as transformUtils, bF as DesignerDefaultValues, bG as baseDataUtils, a1 as FormTypeEnum, bH as normalizeToArray, M as getBusinessFieldKey, bI as safeParseArray, bJ as BpmnNodeTypeEnum, bK as mergeByMultiKey, ae as _export_sfc, bL as evaluateInspectionDecisionRule, bM as RuntimeDefaultValueValidation, bN as useNocodeEmitter, bO as commonUtils, aR as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
2
2
|
import { aW, aY, ba, a6, bP, bQ, B, bR, H, am, bS, bT, bU, bk, bV, a$, aF, aX, aU, aV, bW, an, ar, bX, bY, aO, a8, al, aG, aZ, a5, ap, L, bZ, b_, b$, O, t, P, ag, q, Y, K, c0, c1, aB, ab, a7, a9, aa, ac, h, c2, aq, au, ao, c3, c4, c5, c6, aJ, c7, c8, c9, ca, cb, cc, cd, ce, cf, cg, bp, ch, ci, b6, cj, bb, bc, ck, cl, cm, cn, co, cp, cq, cr, cs, ct, b5, cu, bd, aK, cv, cw, as, y, cx, a_, cy, cz, bq, b7 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
3
|
-
import { l as findFieldProfile, a6 as resolveRuntimeFieldProps, a7 as resolveRuntimeFieldState, a8 as assembleRules, S as calculateFormula, a9 as getRuntimeDependencyOutputKey, aa as isRowAddedInCurrentFormChange, ab as resolveFormulaData, g as getParseFormulaVarInfos, z as MaterialConsumptionPatternEnum, ac as MaterialConsumeTableController, ad as setFormulaParamsConfig, ae as normalizeRuntime, Y as createRuntimeInstanceContext, af as initializeSealFields, X as RuntimeFormStateStore, ag as RuntimeSheetService, ah as validateObjectBomQtyOnSubmit, ai as areValidationCommentsEqual, aj as closeValidatorPopovers, ak as enrichFormChangeRowDetails, R as NCB_PROVIDE, Z as RuntimeInstanceRegistry, al as useMaterialBalance, am as collectFormChangeFieldLocations, an as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-
|
|
4
|
-
import { ao as ao2, B as B2, ap as ap2, o, a5 as a52, aq as aq2, a3, ar as ar2, a4, J, as as as2, F, at, au as au2, av, aw, M, a, a0, ax, a1, d, ay, az, aA, aB as aB2, aC, aD, aE, aF as aF2, H as H2, aG as aG2, x, aH, e, aI, aJ as aJ2, aK as aK2, aL, w, I, aM, aN, aO as aO2, aP, p, K as K2, m, aQ, aR, aS, aT, aU as aU2, aV as aV2, aW as aW2, C, y as y2, aX as aX2, E, t as t2, aY as aY2, s, aZ as aZ2, U, V, u, k, G, W, r, v, T, q as q2, A } from "../dynamic-table-action-
|
|
3
|
+
import { l as findFieldProfile, a6 as resolveRuntimeFieldProps, a7 as resolveRuntimeFieldState, a8 as assembleRules, S as calculateFormula, a9 as getRuntimeDependencyOutputKey, aa as isRowAddedInCurrentFormChange, ab as resolveFormulaData, g as getParseFormulaVarInfos, z as MaterialConsumptionPatternEnum, ac as MaterialConsumeTableController, ad as setFormulaParamsConfig, ae as normalizeRuntime, Y as createRuntimeInstanceContext, af as initializeSealFields, X as RuntimeFormStateStore, ag as RuntimeSheetService, ah as validateObjectBomQtyOnSubmit, ai as areValidationCommentsEqual, aj as closeValidatorPopovers, ak as enrichFormChangeRowDetails, R as NCB_PROVIDE, Z as RuntimeInstanceRegistry, al as useMaterialBalance, am as collectFormChangeFieldLocations, an as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-Bc7yXz3G.js";
|
|
4
|
+
import { ao as ao2, B as B2, ap as ap2, o, a5 as a52, aq as aq2, a3, ar as ar2, a4, J, as as as2, F, at, au as au2, av, aw, M, a, a0, ax, a1, d, ay, az, aA, aB as aB2, aC, aD, aE, aF as aF2, H as H2, aG as aG2, x, aH, e, aI, aJ as aJ2, aK as aK2, aL, w, I, aM, aN, aO as aO2, aP, p, K as K2, m, aQ, aR, aS, aT, aU as aU2, aV as aV2, aW as aW2, C, y as y2, aX as aX2, E, t as t2, aY as aY2, s, aZ as aZ2, U, V, u, k, G, W, r, v, T, q as q2, A } from "../dynamic-table-action-Bc7yXz3G.js";
|
|
5
5
|
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, shallowRef, markRaw, ref, provide, onUnmounted, reactive, onBeforeUnmount } from "vue";
|
|
6
6
|
import { isEqual, cloneDeep, defaults, isEmpty, merge, get } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-
|
|
9
|
-
import { A as A2, D, M as M2, a as a2, P as P2, b, c, d as d2, e as e2, W as W2, f, g, h as h2 } from "../sub-table-factory-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DtohfawW.js";
|
|
9
|
+
import { A as A2, D, M as M2, a as a2, P as P2, b, c, d as d2, e as e2, W as W2, f, g, h as h2 } from "../sub-table-factory-DtohfawW.js";
|
|
10
10
|
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillTableRows, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillTable, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
@@ -2722,6 +2722,32 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2722
2722
|
}
|
|
2723
2723
|
return { dataSourceManagerMap, bindDataSources };
|
|
2724
2724
|
}
|
|
2725
|
+
async function queryInitialValueDataSources(record) {
|
|
2726
|
+
const manager = record.dataSourceManager;
|
|
2727
|
+
if (!manager?.canExecute()) return;
|
|
2728
|
+
const keys = /* @__PURE__ */ new Set();
|
|
2729
|
+
for (const { widget, referenceInfo } of record.fields.allWidgets()) {
|
|
2730
|
+
const props = widget.props;
|
|
2731
|
+
const bindings = props.valueChangeDataSourceKeys;
|
|
2732
|
+
if (!bindings?.length) continue;
|
|
2733
|
+
const field = getRuntimeDataFieldId(props);
|
|
2734
|
+
if (!field) continue;
|
|
2735
|
+
const path = props.isFieldModel ? `_OPCT.${field}` : field;
|
|
2736
|
+
const present = listRuntimeFieldRows(
|
|
2737
|
+
record,
|
|
2738
|
+
props.subFieldKey,
|
|
2739
|
+
referenceInfo?.scopeFieldId ?? field
|
|
2740
|
+
).some(({ row }) => {
|
|
2741
|
+
const value = get(row, path);
|
|
2742
|
+
return value != null && value !== "" && (!Array.isArray(value) || value.length > 0);
|
|
2743
|
+
});
|
|
2744
|
+
if (!present) continue;
|
|
2745
|
+
for (const key of bindings) {
|
|
2746
|
+
if (manager.states[key]?.status === "idle") keys.add(key);
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
if (keys.size) await manager.queryOnValueChange([...keys]);
|
|
2750
|
+
}
|
|
2725
2751
|
function createRuntimeAnnotationBinding(runtimeRegistry, basicInfoList, props, payload, updateRenderModeType) {
|
|
2726
2752
|
const normalizeAnnotationLocation = (uniqueId, path, sheetId) => {
|
|
2727
2753
|
const record = runtimeRegistry.require(uniqueId);
|
|
@@ -2932,6 +2958,8 @@ function useRenderPageFactory(props, payload) {
|
|
|
2932
2958
|
if (!isCurrent()) return;
|
|
2933
2959
|
await Promise.all(installed.map(prepareInitialView));
|
|
2934
2960
|
if (!isCurrent()) return;
|
|
2961
|
+
await Promise.all(installed.map(queryInitialValueDataSources));
|
|
2962
|
+
if (!isCurrent()) return;
|
|
2935
2963
|
const selfId = Array.isArray(props.selfId) ? props.selfId[0] : props.selfId;
|
|
2936
2964
|
if (selfId)
|
|
2937
2965
|
await payload.onFinisher?.(props.selfId, findBasicInsInfo(selfId)?.renderModeType);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { h as useModelFields, D as Diagonal } from "./index-
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-BzzDCpIa.js";
|
|
3
3
|
import { as as resolveDiagonalVertex, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -8060,7 +8060,12 @@ function useNocodeFormWidget(props, emit) {
|
|
|
8060
8060
|
}
|
|
8061
8061
|
if (eventType === "onChange" && dataRelationShip?.renderModeType === RenderModeEnum.FormMode) {
|
|
8062
8062
|
const keys = widget.props?.valueChangeDataSourceKeys;
|
|
8063
|
-
if (keys?.length)
|
|
8063
|
+
if (keys?.length) {
|
|
8064
|
+
const current = value.value;
|
|
8065
|
+
await instance.value?.dataSourceManager?.queryOnValueChange(keys, {
|
|
8066
|
+
cleared: current == null || current === "" || Array.isArray(current) && !current.length
|
|
8067
|
+
});
|
|
8068
|
+
}
|
|
8064
8069
|
}
|
|
8065
8070
|
if (eventType === "onBlur" && dataRelationShip?.renderModeType === RenderModeEnum.FormMode && !instance.value?.controller?.preparing) {
|
|
8066
8071
|
instance.value?.validation.requestLive("blur", true);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { W as commonjsGlobal, X as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
2
|
+
import { c as commonjsRequire } from "./index-BzzDCpIa.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
|
|
2
2
|
import { A as AlignEditor } from "./align-editor-Wvo1sj8u.js";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
|
-
import { z as _sfc_main$1, C as ColorPicker } from "./index-
|
|
4
|
+
import { z as _sfc_main$1, C as ColorPicker } from "./index-BzzDCpIa.js";
|
|
5
5
|
import { ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class Timepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Timepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class DynValue extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DynValue;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class Userpicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Userpicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class UploadImage extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadImage;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class InputNumber extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Inputnumber;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,10 +2,10 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import { h as normalizeSealDiameter } from "./dynamic-table-action-
|
|
5
|
+
import { h as normalizeSealDiameter } from "./dynamic-table-action-Bc7yXz3G.js";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
9
9
|
class Seal extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Seal;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -6,7 +6,7 @@ import dayjs from "dayjs";
|
|
|
6
6
|
import { useFormBaseModal, DataSourceChangeEvent, getBuiltinContextFields, DataSources, FieldFills, closeAllFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
7
7
|
import * as Antd from "ant-design-vue";
|
|
8
8
|
import { message, Modal, Alert, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, Form, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
|
|
9
|
-
import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as createRuntimeDocumentV2, f as clampSealPosition, h as normalizeSealDiameter, i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, j as isCellAutoLineBreak, B as BorderTD, u as useFormModel, k as useFormTmplConfig, l as findFieldProfile, m as normalizeHistoricalBusinessRow, o as DeviceLinkTmplUtil, p as normalizeAIOcrTmpl, q as useWidgetStaticAttrs, r as useRuntimeInstanceServices, s as setSelectValidatorId, t as setSelectAnnotationId, v as useRuntimeRowState, w as getObjectBomMaterialLotQuery, x as buildObjectLotExtraQuery, y as resolveObjectFieldKeys, F as FormModelController, z as MaterialConsumptionPatternEnum, A as validateObjectBomForScan, C as resolveObjectBomEntry, E as runWithFillProduct, G as useNocodeFormWidget, H as applyConsumeObjectTraceChange, I as getObjectBomProductQuery, J as EMPTY_PRODUCT_VERSION_ID, K as normalizeHistoricalAutofillRow, L as readSealValue, N as isSealStamped, O as stampSealValue, P as isValidSealValue, Q as clearSealValue, R as NCB_PROVIDE, S as calculateFormula, T as useStyles, U as useDependency, V as useFieldPresentation, W as useRuntimeEditorFlusher, X as RuntimeFormStateStore, Y as createRuntimeInstanceContext, Z as RuntimeInstanceRegistry, _ as ScanParamType, $ as RequiredQtyCalcRule, a0 as MBRender, a1 as MCRender, a2 as moveSealValue, a3 as DocumentPaper, a4 as DynamicTableAction, a5 as _sfc_main$6C } from "./dynamic-table-action-
|
|
9
|
+
import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as createRuntimeDocumentV2, f as clampSealPosition, h as normalizeSealDiameter, i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, j as isCellAutoLineBreak, B as BorderTD, u as useFormModel, k as useFormTmplConfig, l as findFieldProfile, m as normalizeHistoricalBusinessRow, o as DeviceLinkTmplUtil, p as normalizeAIOcrTmpl, q as useWidgetStaticAttrs, r as useRuntimeInstanceServices, s as setSelectValidatorId, t as setSelectAnnotationId, v as useRuntimeRowState, w as getObjectBomMaterialLotQuery, x as buildObjectLotExtraQuery, y as resolveObjectFieldKeys, F as FormModelController, z as MaterialConsumptionPatternEnum, A as validateObjectBomForScan, C as resolveObjectBomEntry, E as runWithFillProduct, G as useNocodeFormWidget, H as applyConsumeObjectTraceChange, I as getObjectBomProductQuery, J as EMPTY_PRODUCT_VERSION_ID, K as normalizeHistoricalAutofillRow, L as readSealValue, N as isSealStamped, O as stampSealValue, P as isValidSealValue, Q as clearSealValue, R as NCB_PROVIDE, S as calculateFormula, T as useStyles, U as useDependency, V as useFieldPresentation, W as useRuntimeEditorFlusher, X as RuntimeFormStateStore, Y as createRuntimeInstanceContext, Z as RuntimeInstanceRegistry, _ as ScanParamType, $ as RequiredQtyCalcRule, a0 as MBRender, a1 as MCRender, a2 as moveSealValue, a3 as DocumentPaper, a4 as DynamicTableAction, a5 as _sfc_main$6C } from "./dynamic-table-action-Bc7yXz3G.js";
|
|
10
10
|
import { S as SEARCH_SEVICE, u as useWebUpload, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6B, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAafXJ42.js";
|
|
11
11
|
import { HttpUtil } from "@gct-paas/api";
|
|
12
12
|
import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
|
|
@@ -2016,7 +2016,7 @@ function openWindow(url, opt) {
|
|
|
2016
2016
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
2017
2017
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
2018
2018
|
async function createWorkbook() {
|
|
2019
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
2019
|
+
const ExcelJs = (await import("./exceljs.min-Bs_MiB-c.js").then((n) => n.e)).default;
|
|
2020
2020
|
return new ExcelJs.Workbook();
|
|
2021
2021
|
}
|
|
2022
2022
|
class XlsxParser {
|
|
@@ -2387,28 +2387,28 @@ class XlsxParser {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
function asyncImportClassModules() {
|
|
2389
2389
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2390
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2391
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2392
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2393
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2394
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2395
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2396
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2397
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2398
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2399
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2400
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2401
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2402
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2403
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2404
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2405
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2406
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2407
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2390
|
+
"./_field_/auto-complete/index.ts": () => import("./index-DO029v0L.js").then((m) => m["default"]),
|
|
2391
|
+
"./_field_/datepicker/index.ts": () => import("./index-YzpTNb9E.js").then((m) => m["default"]),
|
|
2392
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-CHXZ0Jx4.js").then((m) => m["default"]),
|
|
2393
|
+
"./_field_/department/index.ts": () => import("./index-CTGFfYxu.js").then((m) => m["default"]),
|
|
2394
|
+
"./_field_/enum-select/index.ts": () => import("./index-DMVZNwaY.js").then((m) => m["default"]),
|
|
2395
|
+
"./_field_/input/index.ts": () => import("./index-CvisAU9z.js").then((m) => m["default"]),
|
|
2396
|
+
"./_field_/inputdouble/index.ts": () => import("./index-CWPTIlNB.js").then((m) => m["default"]),
|
|
2397
|
+
"./_field_/inputnumber/index.ts": () => import("./index-Bh2jNQCB.js").then((m) => m["default"]),
|
|
2398
|
+
"./_field_/rdo-select/index.ts": () => import("./index-CR8YuUTK.js").then((m) => m["default"]),
|
|
2399
|
+
"./_field_/seal/index.ts": () => import("./index-BmdUEx5G.js").then((m) => m["default"]),
|
|
2400
|
+
"./_field_/select/index.ts": () => import("./index-uksJr_Yi.js").then((m) => m["default"]),
|
|
2401
|
+
"./_field_/sign/index.ts": () => import("./index-CsF-c8Ig.js").then((m) => m["default"]),
|
|
2402
|
+
"./_field_/switch/index.ts": () => import("./index-CSPZa-Yx.js").then((m) => m["default"]),
|
|
2403
|
+
"./_field_/textarea/index.ts": () => import("./index-C9rWxn2O.js").then((m) => m["default"]),
|
|
2404
|
+
"./_field_/timepicker/index.ts": () => import("./index-BEZ491o7.js").then((m) => m["default"]),
|
|
2405
|
+
"./_field_/upload-file/index.ts": () => import("./index-CtVIWevt.js").then((m) => m["default"]),
|
|
2406
|
+
"./_field_/upload-image/index.ts": () => import("./index-BXuWJZET.js").then((m) => m["default"]),
|
|
2407
|
+
"./_field_/userpicker/index.ts": () => import("./index-BVeiNXJu.js").then((m) => m["default"]),
|
|
2408
2408
|
"./_widget_/barcode/index.ts": () => import("./index-B8RwUwjv.js").then((m) => m["default"]),
|
|
2409
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2410
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2411
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2409
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-CctUmK0i.js").then((m) => m["default"]),
|
|
2410
|
+
"./_widget_/diagonal/index.ts": () => import("./index-DAUzzuMc.js").then((m) => m["default"]),
|
|
2411
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-BT26ksf1.js").then((m) => m["default"]),
|
|
2412
2412
|
"./_widget_/image/index.ts": () => import("./index-VyXT9Zho.js").then((m) => m["default"]),
|
|
2413
2413
|
"./_widget_/line/index.ts": () => import("./index-BVpn4h4X.js").then((m) => m["default"]),
|
|
2414
2414
|
"./_widget_/power/index.ts": () => import("./index-C4Dwu_PF.js").then((m) => m["default"]),
|
|
@@ -2418,8 +2418,8 @@ function asyncImportClassModules() {
|
|
|
2418
2418
|
"./_widget_/sub-table/index.ts": () => import("./index-BfVfmEwC.js").then((m) => m["default"]),
|
|
2419
2419
|
"./_widget_/timediff/index.ts": () => import("./index-WkRaeG4c.js").then((m) => m["default"]),
|
|
2420
2420
|
"./paper/index.ts": () => import("./index-CNsrOwaF.js").then((m) => m["default"]),
|
|
2421
|
-
"./td/index.ts": () => import("./index-
|
|
2422
|
-
"./tr/index.ts": () => import("./index-
|
|
2421
|
+
"./td/index.ts": () => import("./index-DDv6kGJ1.js").then((m) => m["default"]),
|
|
2422
|
+
"./tr/index.ts": () => import("./index-Dy0K-wRi.js").then((m) => m["default"])
|
|
2423
2423
|
});
|
|
2424
2424
|
return modules;
|
|
2425
2425
|
}
|
|
@@ -16260,7 +16260,7 @@ function asyncImportWidgetConfigList() {
|
|
|
16260
16260
|
return widgetConfigList;
|
|
16261
16261
|
}
|
|
16262
16262
|
function asyncImportWidgetDesign() {
|
|
16263
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
16263
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-BWTr4KWW.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-BgQWAbPg.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-thqBT2R5.js"), "./image/image-design.vue": () => import("./image-design-OhBdKUs2.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-DSBkFyKE.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BuZsRX0C.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-CuRu8U92.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-CUkjBnDt.js"), "./text/text-design.vue": () => import("./text-design-B45BP7g7.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-kEIo8l2p.js") });
|
|
16264
16264
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
16265
16265
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
16266
16266
|
if (mKey) {
|
|
@@ -56837,7 +56837,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
56837
56837
|
}
|
|
56838
56838
|
});
|
|
56839
56839
|
function asyncImportWidgetProp() {
|
|
56840
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
56840
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BdX11UR3.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-BCgR1cPm.js"), "./widget-image.vue": () => import("./widget-image-BT5eEGg5.js"), "./widget-line.vue": () => import("./widget-line-CGJQ4U1P.js"), "./widget-pagination.vue": () => import("./widget-pagination-CzzjDbbx.js"), "./widget-power.vue": () => import("./widget-power-V2R3qTzb.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-DASaSYeb.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DKj_Exgi.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-C40xoj6C.js"), "./widget-text.vue": () => import("./widget-text-eOWyJoWF.js"), "./widget-timediff.vue": () => import("./widget-timediff-CXUbpYxL.js") });
|
|
56841
56841
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
56842
56842
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
56843
56843
|
if (mKey) {
|
|
@@ -74486,7 +74486,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
74486
74486
|
}
|
|
74487
74487
|
});
|
|
74488
74488
|
const VueVideoPlayer = defineAsyncComponent(
|
|
74489
|
-
() => import("./VueVideoPlayer-
|
|
74489
|
+
() => import("./VueVideoPlayer-D8ROwh6R.js")
|
|
74490
74490
|
);
|
|
74491
74491
|
const _hoisted_1$18 = {
|
|
74492
74492
|
key: 0,
|
|
@@ -96183,8 +96183,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
96183
96183
|
printTask = (async () => {
|
|
96184
96184
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
96185
96185
|
await nextTick();
|
|
96186
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
96187
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
96186
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-VkEhvyE2.js");
|
|
96187
|
+
const { default: renderer } = await import("./print-snapshot-renderer-CDWMLRpr.js");
|
|
96188
96188
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
96189
96189
|
printRenderer.value = markRaw(renderer);
|
|
96190
96190
|
await printRuntimeInstance(
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class Textarea extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Textarea;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class DateTimepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DateTimepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BGPnzRCX.js";
|
|
9
9
|
class RdoSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.RdoSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-
|
|
2
|
+
import { i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-Bc7yXz3G.js";
|
|
3
3
|
import { C as ComponentTypeEnum, O as Orientation, a6 as BooleanShowMode, a5 as LabelPosition, ba as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
9
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
+
import { g as getFieldWidget } from "./index-BzzDCpIa.js";
|
|
9
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
10
10
|
class Switch extends BaseComponent {
|
|
11
11
|
component = ComponentTypeEnum.Switch;
|
|
12
12
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class Department extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Department;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class InputDouble extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.InputDouble;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -5,7 +5,7 @@ import { pick } from "lodash-es";
|
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-
|
|
8
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-BzzDCpIa.js";
|
|
9
9
|
class CombineFields {
|
|
10
10
|
component = ComponentTypeEnum.CombineFields;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class Sign extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Sign;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class UploadFile extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadFile;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class Input extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Input;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import { pick } from "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class Diagonal extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Diagonal;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
3
|
-
import { j as isCellAutoLineBreak } from "./dynamic-table-action-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-BzzDCpIa.js";
|
|
3
|
+
import { j as isCellAutoLineBreak } from "./dynamic-table-action-Bc7yXz3G.js";
|
|
4
4
|
import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
import "dayjs";
|
|
@@ -4,8 +4,8 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
|
+
import { g as getFieldWidget } from "./index-BzzDCpIa.js";
|
|
9
9
|
class EnumSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.EnumSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BGPnzRCX.js";
|
|
9
9
|
class AutoComplete extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.AutoComplete;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
7
|
+
import { A as AsyncGctOnlineComponents } from "./index-BzzDCpIa.js";
|
|
8
8
|
class Tr {
|
|
9
9
|
component = "tr";
|
|
10
10
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
8
|
class Datepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Datepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-DxhjB3q7.js";
|
|
8
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-BzzDCpIa.js";
|
|
9
9
|
class Select extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Select;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-
|
|
1
|
+
import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-BzzDCpIa.js";
|
|
2
2
|
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAafXJ42.js";
|
|
3
3
|
import { DataSources } from "@gct-paas/form-base";
|
|
4
4
|
export {
|
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { j as calcText } from "./index-
|
|
7
|
+
import { j as calcText } from "./index-BzzDCpIa.js";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "pagination-design",
|
|
10
10
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-
|
|
1
|
+
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-BzzDCpIa.js";
|
|
2
2
|
async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
|
|
3
3
|
if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
|
|
4
4
|
const snapshot = await record.controller.preparePrintSnapshot(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
|
|
2
|
-
import { X as RuntimeFormStateStore, Z as RuntimeInstanceRegistry, R as NCB_PROVIDE } from "./dynamic-table-action-
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { X as RuntimeFormStateStore, Z as RuntimeInstanceRegistry, R as NCB_PROVIDE } from "./dynamic-table-action-Bc7yXz3G.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-DtohfawW.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-BzzDCpIa.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "print-snapshot-renderer",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-
|
|
2
|
+
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-BzzDCpIa.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-BzzDCpIa.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "single-field-drop",
|
|
6
6
|
props: {
|
|
@@ -12,14 +12,17 @@ export declare function createRuntimeDataSourceBinding(registry: RuntimeInstance
|
|
|
12
12
|
readonly [x: string]: {
|
|
13
13
|
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
14
14
|
readonly data?: Readonly<unknown> | undefined;
|
|
15
|
+
readonly clearTargets?: boolean | undefined;
|
|
15
16
|
readonly error?: string | undefined;
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
|
-
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
19
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters, clearOnEmpty?: boolean) => Promise<unknown>;
|
|
19
20
|
cancel: (key: string) => boolean;
|
|
20
21
|
getResult(key: string): unknown;
|
|
21
22
|
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
22
|
-
queryOnValueChange(keys: readonly string[]
|
|
23
|
+
queryOnValueChange(keys: readonly string[], changeOptions?: {
|
|
24
|
+
cleared?: boolean;
|
|
25
|
+
}): Promise<PromiseSettledResult<unknown>[]>;
|
|
23
26
|
dispose(): void;
|
|
24
27
|
}>, Record<string, {
|
|
25
28
|
getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
|
|
@@ -31,14 +34,17 @@ export declare function createRuntimeDataSourceBinding(registry: RuntimeInstance
|
|
|
31
34
|
readonly [x: string]: {
|
|
32
35
|
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
33
36
|
readonly data?: Readonly<unknown> | undefined;
|
|
37
|
+
readonly clearTargets?: boolean | undefined;
|
|
34
38
|
readonly error?: string | undefined;
|
|
35
39
|
};
|
|
36
40
|
};
|
|
37
|
-
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
41
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters, clearOnEmpty?: boolean) => Promise<unknown>;
|
|
38
42
|
cancel: (key: string) => boolean;
|
|
39
43
|
getResult(key: string): unknown;
|
|
40
44
|
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
41
|
-
queryOnValueChange(keys: readonly string[]
|
|
45
|
+
queryOnValueChange(keys: readonly string[], changeOptions?: {
|
|
46
|
+
cleared?: boolean;
|
|
47
|
+
}): Promise<PromiseSettledResult<unknown>[]>;
|
|
42
48
|
dispose(): void;
|
|
43
49
|
}>>;
|
|
44
50
|
bindDataSources: (record: RuntimeInstanceRecord, info: IBasicInfoItem, selfInfo: RuntimeSelfInfo) => Promise<void>;
|
|
@@ -13,14 +13,17 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
13
13
|
readonly [x: string]: {
|
|
14
14
|
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
15
15
|
readonly data?: Readonly<unknown> | undefined;
|
|
16
|
+
readonly clearTargets?: boolean | undefined;
|
|
16
17
|
readonly error?: string | undefined;
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
|
-
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
20
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters, clearOnEmpty?: boolean) => Promise<unknown>;
|
|
20
21
|
cancel: (key: string) => boolean;
|
|
21
22
|
getResult(key: string): unknown;
|
|
22
23
|
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
23
|
-
queryOnValueChange(keys: readonly string[]
|
|
24
|
+
queryOnValueChange(keys: readonly string[], changeOptions?: {
|
|
25
|
+
cleared?: boolean;
|
|
26
|
+
}): Promise<PromiseSettledResult<unknown>[]>;
|
|
24
27
|
dispose(): void;
|
|
25
28
|
}>, Record<string, {
|
|
26
29
|
getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
|
|
@@ -32,14 +35,17 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
32
35
|
readonly [x: string]: {
|
|
33
36
|
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
34
37
|
readonly data?: Readonly<unknown> | undefined;
|
|
38
|
+
readonly clearTargets?: boolean | undefined;
|
|
35
39
|
readonly error?: string | undefined;
|
|
36
40
|
};
|
|
37
41
|
};
|
|
38
|
-
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
42
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters, clearOnEmpty?: boolean) => Promise<unknown>;
|
|
39
43
|
cancel: (key: string) => boolean;
|
|
40
44
|
getResult(key: string): unknown;
|
|
41
45
|
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
42
|
-
queryOnValueChange(keys: readonly string[]
|
|
46
|
+
queryOnValueChange(keys: readonly string[], changeOptions?: {
|
|
47
|
+
cleared?: boolean;
|
|
48
|
+
}): Promise<PromiseSettledResult<unknown>[]>;
|
|
43
49
|
dispose(): void;
|
|
44
50
|
}>>;
|
|
45
51
|
counter: import('vue').Ref<number, number>;
|
|
@@ -20,14 +20,17 @@ export declare function useRuntimeInstanceServices(uniqueIdSource?: RuntimeInsta
|
|
|
20
20
|
readonly [x: string]: {
|
|
21
21
|
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
22
22
|
readonly data?: Readonly<unknown> | undefined;
|
|
23
|
+
readonly clearTargets?: boolean | undefined;
|
|
23
24
|
readonly error?: string | undefined;
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
|
-
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
27
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters, clearOnEmpty?: boolean) => Promise<unknown>;
|
|
27
28
|
cancel: (key: string) => boolean;
|
|
28
29
|
getResult(key: string): unknown;
|
|
29
30
|
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
30
|
-
queryOnValueChange(keys: readonly string[]
|
|
31
|
+
queryOnValueChange(keys: readonly string[], changeOptions?: {
|
|
32
|
+
cleared?: boolean;
|
|
33
|
+
}): Promise<PromiseSettledResult<unknown>[]>;
|
|
31
34
|
dispose(): void;
|
|
32
35
|
} | undefined>;
|
|
33
36
|
/** 表单级配置独立于 Sheet 的 paper;实例未注册时提供空配置。 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowReactive } from "vue";
|
|
2
|
-
import { a_ as SubTableActionMenuTypeEnum, a$ as getMenuByAction, b0 as SubTableActionEnum, b1 as resolveScanFillData, aF as SubTableCore, b2 as buildDefaultMapFromProfile, b3 as buildFieldStatusFromProfile, b4 as getRowHandlersForFieldChange, b5 as getInsertSubMenu, b6 as resolveScanAdjustType, b7 as resolveScanQty, b8 as toDateOnly, b9 as hasSubtableBusinessData, ba as getCopySubMenu, bb as resolveScanParsedValue, bc as isProductBatchEmptyRow } from "./dynamic-table-action-
|
|
2
|
+
import { a_ as SubTableActionMenuTypeEnum, a$ as getMenuByAction, b0 as SubTableActionEnum, b1 as resolveScanFillData, aF as SubTableCore, b2 as buildDefaultMapFromProfile, b3 as buildFieldStatusFromProfile, b4 as getRowHandlersForFieldChange, b5 as getInsertSubMenu, b6 as resolveScanAdjustType, b7 as resolveScanQty, b8 as toDateOnly, b9 as hasSubtableBusinessData, ba as getCopySubMenu, bb as resolveScanParsedValue, bc as isProductBatchEmptyRow } from "./dynamic-table-action-Bc7yXz3G.js";
|
|
3
3
|
import { p as api, cO as F$1, aS as resolveLotDisplayLabel, cP as FILL_FROM_TARGET_PRODUCT_OPTION, b4 as resolveLotRecordByValue, b9 as ProductionIdentificationTypeEnum, b2 as buildLotSnListQuery, cQ as F$2, cR as SCAN_ROW_CONTENT_FIELDS, cS as F$3, cT as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cU as F$4, cV as F$5, cW as FILL_FROM_SOURCE_PRODUCT_OPTION, cX as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cY as FILL_FROM_INVENTORY_OPTION, cZ as FILL_FROM_PART_OPTION, c_ as FILL_FROM_INVENTORY_OPTION$1, c$ as TABLE_TYPE, d0 as FILL_FROM_INVENTORY_OPTION$2, bf as F$6, d1 as INVENTORY_BASE_FIELDS, d2 as resolveGroupByWarehouse, d3 as AUTO_LOAD_READONLY_SELECT_FIELDS, be as STOCKTAKE_DIMENSION, bb as getParseRuleInfo, d4 as buildFillFromInventoryOption, c7 as calcFillData, d5 as resolveStocktakeInventoryApi, bc as getParseRuleValue, d6 as F$7, d7 as FILL_FROM_INVENTORY_OPTION$3, d8 as LOCKED_INPUT_FIELDS, cd as extractKeywordFromQueryData, d9 as composeProductionLotListQuery, da as F$8, db as isProductManuallyEditable, dc as applyFillFromMfgOrderOption, dd as applyFillFromOption$1, de as applyFillFromProductOption, df as mergeQueryFilters, dg as composeMaterialLotListQuery, b1 as LOT_CONTAINER_ROLE, dh as MATERIAL_CONTAINER_ID, di as F$9, dj as PRODUCT_QUICK_SEARCH_FIELDS, dk as PRODUCT_QUICK_SEARCH_EXP, dl as isProductManuallyEditable$1, dm as applyFillFromMaterialNoOption, dn as applyFillFromProductOption$1, dp as F$a, dq as FILL_FROM_INVENTORY_OPTION$4, a1 as FormTypeEnum, d as getBusinessProfileByRefModelType, aN as transformUtils, h as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
4
4
|
import { has, merge } from "lodash-es";
|
|
5
5
|
class RuntimeInstanceController {
|
|
@@ -4,7 +4,7 @@ import { Y as PaperWidgeValueType, ae as _export_sfc } from "./dynamic-table-act
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { u as useSpreadSheet, h as useModelFields } from "./index-
|
|
7
|
+
import { u as useSpreadSheet, h as useModelFields } from "./index-BzzDCpIa.js";
|
|
8
8
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "text-design",
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-BzzDCpIa.js";
|
|
8
8
|
function getTraceLikeSelectProps(data) {
|
|
9
9
|
const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
|
|
10
10
|
const displayFields = (() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-
|
|
3
|
+
import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-BzzDCpIa.js";
|
|
4
4
|
import { Y as PaperWidgeValueType, ax as ExpressionModeEnum, az as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BzzDCpIa.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C5AZRekX.js";
|
|
4
4
|
import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
|
|
2
|
-
import { F as FormItem, q as SelectEx } from "./index-
|
|
2
|
+
import { F as FormItem, q as SelectEx } from "./index-BzzDCpIa.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
4
|
import { ad as useNamespace, F as FIELD_TYPE, ae as _export_sfc, an as DiagonalDirection, ar as DiagonalVertex, cu as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import { message } from "ant-design-vue";
|
|
8
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
8
|
+
import { S as SingleFieldDrop } from "./single-field-drop-SIHeEGRV.js";
|
|
9
9
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "diagonal-name-editor",
|
|
11
11
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
|
|
2
|
-
import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-
|
|
2
|
+
import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-BzzDCpIa.js";
|
|
3
3
|
import { S as SizeEditor } from "./size-editor-Bokwr74O.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
5
|
import { ao as WidgetImageSizeMode, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-
|
|
7
|
+
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-BzzDCpIa.js";
|
|
8
8
|
const _hoisted_1 = { class: "ks-row-middle" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "widget-line",
|
|
@@ -4,10 +4,10 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { F as FormItem, y as PaginationFormatOptions } from "./index-
|
|
7
|
+
import { F as FormItem, y as PaginationFormatOptions } from "./index-BzzDCpIa.js";
|
|
8
8
|
import { S as SizeEditor } from "./size-editor-Bokwr74O.js";
|
|
9
9
|
import { A as AlignEditor } from "./align-editor-Wvo1sj8u.js";
|
|
10
|
-
import { F as FontEditor } from "./font-editor-
|
|
10
|
+
import { F as FontEditor } from "./font-editor-Bg0PFKU6.js";
|
|
11
11
|
const _hoisted_1 = { class: "pl-6px" };
|
|
12
12
|
const _hoisted_2 = { class: "pl-6px" };
|
|
13
13
|
const DefaultCustomFormat = "Page ${no} / ${total}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
2
|
+
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-BzzDCpIa.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-SIHeEGRV.js";
|
|
4
4
|
import { F as FIELD_TYPE, ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
import "lodash-es";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BzzDCpIa.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C5AZRekX.js";
|
|
4
4
|
import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
2
|
+
import { F as FormItem } from "./index-BzzDCpIa.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-SIHeEGRV.js";
|
|
4
4
|
import { F as FIELD_TYPE, ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
2
|
+
import { F as FormItem } from "./index-BzzDCpIa.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "widget-serialnumber",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { u as useSpreadSheet, F as FormItem } from "./index-BzzDCpIa.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C5AZRekX.js";
|
|
4
4
|
import { S as SizeEditor } from "./size-editor-Bokwr74O.js";
|
|
5
5
|
import { A as AlignEditor } from "./align-editor-Wvo1sj8u.js";
|
|
6
|
-
import { F as FontEditor } from "./font-editor-
|
|
6
|
+
import { F as FontEditor } from "./font-editor-Bg0PFKU6.js";
|
|
7
7
|
const _hoisted_1 = { class: "pl-6px" };
|
|
8
8
|
const _hoisted_2 = { class: "pl-6px" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-
|
|
2
|
+
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-BzzDCpIa.js";
|
|
3
3
|
import { F as FIELD_TYPE, aq as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsAJe1I6.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/excel",
|
|
3
|
-
"version": "0.1.40-beta.
|
|
3
|
+
"version": "0.1.40-beta.33",
|
|
4
4
|
"description": "GCT Excel online form rendering",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@ant-design/icons-vue": "^6.1.0",
|
|
47
47
|
"@gct-paas/core": "0.1.6-dev.41",
|
|
48
|
-
"@gct-paas/form-base": "0.1.7-beta.
|
|
48
|
+
"@gct-paas/form-base": "0.1.7-beta.2",
|
|
49
49
|
"@gct-paas/scss": "0.1.6-dev.41",
|
|
50
50
|
"@panzoom/panzoom": "^4.6.2",
|
|
51
51
|
"@revolist/vue3-datagrid": "^4.24.2",
|