@gct-paas/excel 0.1.48 → 0.1.49
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-CZpM9r44.js → BaseComponent-BujOt502.js} +1 -1
- package/dist/{barcode-design-c3GTQF-e.js → barcode-design-DGX6Ol4t.js} +1 -1
- package/dist/base/index.es.js +10 -6
- package/dist/{diagonal-design-rPVXdCYs.js → diagonal-design-oiPfvxr7.js} +1 -1
- package/dist/{dynamic-table-action-UhdVqWq_.js → dynamic-table-action-Bhkrp7KE.js} +31 -8
- package/dist/{exceljs.min-Cr3KhthP.js → exceljs.min-Ta0dJQqu.js} +1 -1
- package/dist/{font-editor-D8hczTjp.js → font-editor-Dmj2hu7T.js} +1 -1
- package/dist/{index-uIGXMq0b.js → index-1kD3Vcrg.js} +1 -1
- package/dist/{index-rFlXPuqT.js → index-B0Qf1-mt.js} +2 -2
- package/dist/{index-BrXTVTZI.js → index-B2VHOqo4.js} +1 -1
- package/dist/{index-Ns6S766a.js → index-B4ZpSIPH.js} +2 -2
- package/dist/{index-xTU-LDgM.js → index-B4hIBKZ6.js} +1 -1
- package/dist/{index-QwgVd2p_.js → index-BEEhGWk7.js} +1 -1
- package/dist/{index-DphaGraj.js → index-BOMuRlHQ.js} +1 -1
- package/dist/{index-Bj0FhTCX.js → index-BlCF32GJ.js} +2 -2
- package/dist/{index-BAzcfKM5.js → index-BtAlyN0W.js} +1 -1
- package/dist/{index-DNBQ2Mcz.js → index-BwuwoFQQ.js} +1 -1
- package/dist/{index-CSCuwunJ.js → index-C4SreE7Q.js} +1 -1
- package/dist/{index-rpyMdjHC.js → index-CEYSrHod.js} +1 -1
- package/dist/{index-DDi7ZgcG.js → index-CMN1t7G7.js} +2 -2
- package/dist/{index-Bt9PAFFY.js → index-CUTV5Yr2.js} +3 -3
- package/dist/{index-C-1l-W9I.js → index-CaLRSpkL.js} +1 -1
- package/dist/{index-CDhYyvG6.js → index-D9lmC_sX.js} +2 -2
- package/dist/{index-D6p0ybhH.js → index-DF8n1Gru.js} +2 -2
- package/dist/{index-9AkXvLCn.js → index-DLTES9Zq.js} +1 -1
- package/dist/{index-BCoiCGuV.js → index-DdOpcuy6.js} +29 -29
- package/dist/{index-DeLqXVq_.js → index-GIYmXP7h.js} +1 -1
- package/dist/{index-CBb53WuP.js → index-IOqBW_eS.js} +1 -1
- package/dist/{index-DGhgiFKR.js → index-KQqw3i9h.js} +1 -1
- package/dist/{index-dJ-8GxrY.js → index-L7CRRS4N.js} +1 -1
- package/dist/{index-6D_uimK5.js → index-OwTnsnnd.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-CHYFEADY.js → pagination-design-CNML3qGx.js} +1 -1
- package/dist/paper-widget-design-B8WyX87-.js +4 -0
- package/dist/{print-runtime-instance-BpLQbf4O.js → print-runtime-instance-DKR1MX8-.js} +1 -1
- package/dist/{print-snapshot-renderer-Di_OBv6Z.js → print-snapshot-renderer-BIWDQkSC.js} +3 -3
- package/dist/{qrcode-design-BDBuzKwl.js → qrcode-design-CUQ4gaJ0.js} +1 -1
- package/dist/seal-design-Q8W8Umib.js +4 -0
- package/dist/{single-field-drop-BmHF9A4z.js → single-field-drop-CnuMgeEW.js} +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +7 -2
- package/dist/{sub-table-factory-ZW7olA2I.js → sub-table-factory-Df_Z-LYK.js} +1 -1
- package/dist/{text-design-Br0TEp5D.js → text-design-gySXbKUQ.js} +1 -1
- package/dist/{trace-like-wrapper-Bdu2jxVN.js → trace-like-wrapper-CD0q7Bpg.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-B9PzsrIT.js → value-editor.vue_vue_type_style_index_0_lang-Dp_NLPcS.js} +1 -1
- package/dist/{widget-barcode-CGOzhXgh.js → widget-barcode-Dho-QBc4.js} +2 -2
- package/dist/{widget-diagonal-D8MBtLON.js → widget-diagonal-LOzS5LGZ.js} +2 -2
- package/dist/{widget-image-CT93IXuR.js → widget-image-CE9y7lzB.js} +1 -1
- package/dist/{widget-line-BYSp1hP9.js → widget-line-DK-tRBi0.js} +1 -1
- package/dist/{widget-pagination-no9iK43-.js → widget-pagination-JLrTk_QY.js} +2 -2
- package/dist/{widget-power-5rx7wvJp.js → widget-power-B136JrJ6.js} +2 -2
- package/dist/{widget-qrcode-D2E9PmDl.js → widget-qrcode-CQ79eZwR.js} +2 -2
- package/dist/{widget-rangelimit-F4ize9rw.js → widget-rangelimit-DORQgXtz.js} +2 -2
- package/dist/{widget-serialnumber-Ci8R_067.js → widget-serialnumber-BvhwTK5N.js} +1 -1
- package/dist/{widget-text-DuMr7oMw.js → widget-text-D6au0tli.js} +3 -3
- package/dist/{widget-timediff-DBgkCEqn.js → widget-timediff-C3SAIS2-.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-DytgPKbZ.js +0 -4
- package/dist/seal-design-Bku0cT8Z.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-Bhkrp7KE.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_53d7e66c_lang-CidYX2eX.js";
|
|
4
4
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
@@ -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-DdOpcuy6.js";
|
|
4
4
|
import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { E as api, _ as PlatformEnum, F as FIELD_TYPE, bd as getRowId, be as findRuntimeTableRow, b6 as RenderModeEnum, C as ComponentTypeEnum, ax as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, at as RangeValidateMode, aG as Dependency_ENUM, aF as ASSIGNMENTSTRATEGY_ENUM, bo as fetchHistoryConsume, bp as isBomGranted, aU as renderUtils, bn as uuid2, bq as parseFrontConfig, aJ as CheckDsTypeEnum, aD as transformUtils, br as baseDataUtils, X as FormTypeEnum, bs as normalizeToArray, bt as safeParseArray, bu as BpmnNodeTypeEnum, bv as mergeByMultiKey, a7 as _export_sfc, bw as evaluateInspectionDecisionRule, bx as useNocodeEmitter, by as commonUtils, aH as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
2
2
|
import { aM, aO, a$, a0, bz, bA, B, bB, y, af, bC, bD, bE, bc, bF, aR, ay, aN, aK, aL, bG, ag, ak, bH, bI, aE, a2, ae, az, aP, $, ai, L, bJ, bK, bL, O, p, P, a9, o, Q, A, bM, bN, au, a5, a1, a3, a4, a6, f, bO, aj, an, ah, bP, bQ, bR, bS, bb, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, bf, c1, c2, aX, c3, b0, b1, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, aW, ce, b2, b9, cf, cg, al, t, ch, aQ, ci, cj, bg, aY } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
|
-
import { a4 as getRuntimeDataFieldId, Q as parseRuntimeFieldPath, a5 as buildRuntimeFieldPath, k as findFieldProfile, a6 as resolveRuntimeFieldProps, a7 as resolveRuntimeFieldState, a8 as assembleRules, a9 as isAttachFieldActive, R as calculateFormula, aa as getRuntimeDependencyOutputKey, ab as isRowAddedInCurrentFormChange, ac as resolveFormulaData, d as getParseFormulaVarInfos, y as MaterialConsumptionPatternEnum, ad as MaterialConsumeTableController, ae as setFormulaParamsConfig, af as normalizeRuntime, X as createRuntimeInstanceContext, ag as initializeSealFields, W as RuntimeFormStateStore, ah as RuntimeSheetService, g as getBusinessFieldKey, ai as validateObjectBomQtyOnSubmit, aj as areValidationCommentsEqual, ak as closeValidatorPopovers, al as enrichFormChangeRowDetails, N as NCB_PROVIDE, Y as RuntimeInstanceRegistry, am as useMaterialBalance, an as collectFormChangeFieldLocations, ao as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, ap, m, a3 as a32, aq, a1 as a12, ar, a2 as a22, H, as, at, au as au2, av, aw, M, a, ax, b, ay as ay2, az as az2, aA, aB, aC, aD, aE as aE2, aF, F, aG, w, aH, e, aI, aJ, aK as aK2, aL as aL2, v, G, aM as aM2, aN as aN2, aO as aO2, aP as aP2, o as o2, I, l, aQ as aQ2, aR as aR2, aS, aT, aU, aV, aW as aW2, A as A2, x, aX as aX2, C, r, aY as aY2, s, aZ, T, U, u, E, V, q, t as t2, S, p as p2, z } from "../dynamic-table-action-
|
|
3
|
+
import { a4 as getRuntimeDataFieldId, Q as parseRuntimeFieldPath, a5 as buildRuntimeFieldPath, k as findFieldProfile, a6 as resolveRuntimeFieldProps, a7 as resolveRuntimeFieldState, a8 as assembleRules, a9 as isAttachFieldActive, R as calculateFormula, aa as getRuntimeDependencyOutputKey, ab as isRowAddedInCurrentFormChange, ac as resolveFormulaData, d as getParseFormulaVarInfos, y as MaterialConsumptionPatternEnum, ad as MaterialConsumeTableController, ae as setFormulaParamsConfig, af as normalizeRuntime, X as createRuntimeInstanceContext, ag as initializeSealFields, W as RuntimeFormStateStore, ah as RuntimeSheetService, g as getBusinessFieldKey, ai as validateObjectBomQtyOnSubmit, aj as areValidationCommentsEqual, ak as closeValidatorPopovers, al as enrichFormChangeRowDetails, N as NCB_PROVIDE, Y as RuntimeInstanceRegistry, am as useMaterialBalance, an as collectFormChangeFieldLocations, ao as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-Bhkrp7KE.js";
|
|
4
|
+
import { B as B2, ap, m, a3 as a32, aq, a1 as a12, ar, a2 as a22, H, as, at, au as au2, av, aw, M, a, ax, b, ay as ay2, az as az2, aA, aB, aC, aD, aE as aE2, aF, F, aG, w, aH, e, aI, aJ, aK as aK2, aL as aL2, v, G, aM as aM2, aN as aN2, aO as aO2, aP as aP2, o as o2, I, l, aQ as aQ2, aR as aR2, aS, aT, aU, aV, aW as aW2, A as A2, x, aX as aX2, C, r, aY as aY2, s, aZ, T, U, u, E, V, q, t as t2, S, p as p2, z } from "../dynamic-table-action-Bhkrp7KE.js";
|
|
5
5
|
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, ref, provide, onUnmounted, markRaw, reactive, onBeforeUnmount } from "vue";
|
|
6
6
|
import { isEqual, cloneDeep, defaults, isEmpty, merge } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-
|
|
9
|
-
import { A as A3, D, M as M2, a as a7, P as P2, b as b3, c, d, e as e2, W, f as f2, g, h } from "../sub-table-factory-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-Df_Z-LYK.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a7, P as P2, b as b3, c, d, e as e2, W, f as f2, g, h } from "../sub-table-factory-Df_Z-LYK.js";
|
|
10
10
|
import { B as B3, F as F2, M as M3, a as a8, u as u2 } from "../mb-render-CQlqaMrC.js";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
@@ -2019,7 +2019,7 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
2019
2019
|
const quickSearchRenderData = async (uniqueId, currentSelfInfo, saveToken) => {
|
|
2020
2020
|
const runtimeRecord = runtimeRegistry.require(uniqueId);
|
|
2021
2021
|
const requestedRevision = saveToken?.revision ?? runtimeRecord.formState.revision;
|
|
2022
|
-
if (saveToken && !runtimeRecord.persistence.
|
|
2022
|
+
if (saveToken && !runtimeRecord.persistence.isLatestSaveRequest(saveToken)) return false;
|
|
2023
2023
|
const selfInfo = await payload.requestCallback({ id: currentSelfInfo.id });
|
|
2024
2024
|
const interfaceData = await baseDataUtils.requestRenderData({
|
|
2025
2025
|
info: currentSelfInfo,
|
|
@@ -2030,7 +2030,7 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
2030
2030
|
isMockReport: false
|
|
2031
2031
|
});
|
|
2032
2032
|
if (runtimeRegistry.get(uniqueId) !== runtimeRecord) return false;
|
|
2033
|
-
if (saveToken ? !runtimeRecord.persistence.
|
|
2033
|
+
if (saveToken ? !runtimeRecord.persistence.isLatestSaveRequest(saveToken) : requestedRevision !== runtimeRecord.formState.revision)
|
|
2034
2034
|
return false;
|
|
2035
2035
|
const runtimeContext = runtimeRecord.context;
|
|
2036
2036
|
const subTableCoreFactory = runtimeContext.services.subTableCoreFactory;
|
|
@@ -2050,6 +2050,10 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
2050
2050
|
...runtimeContext.businessIndex.checkTable2DList
|
|
2051
2051
|
]
|
|
2052
2052
|
});
|
|
2053
|
+
if (saveToken && (requestedRevision !== runtimeRecord.formState.revision || runtimeRecord.persistence.needsSaveIdentityRecovery(saveToken))) {
|
|
2054
|
+
runtimeRecord.formState.patchSavedIdentity(transformUtils.getFormDataIdsMap(newFormState));
|
|
2055
|
+
return false;
|
|
2056
|
+
}
|
|
2053
2057
|
const signatureKeys = (runtimeRecord.context.businessIndex.useSignatureFields || []).map(
|
|
2054
2058
|
(item) => item.fieldId
|
|
2055
2059
|
);
|
|
@@ -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-DdOpcuy6.js";
|
|
3
3
|
import { al as resolveDiagonalVertex, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1754,6 +1754,12 @@ class RuntimeFormStateStore {
|
|
|
1754
1754
|
restoreScope: "fields"
|
|
1755
1755
|
});
|
|
1756
1756
|
}
|
|
1757
|
+
/** 保存期间有新输入时只补齐已存在行的数据库 ID,不恢复已移除的行或覆盖业务值。 */
|
|
1758
|
+
patchSavedIdentity(values) {
|
|
1759
|
+
this.transaction("restore", () => this.mergeSavedMetadata(this.state, values, "", true), {
|
|
1760
|
+
restoreScope: "fields"
|
|
1761
|
+
});
|
|
1762
|
+
}
|
|
1757
1763
|
/**
|
|
1758
1764
|
* 用新对象整体替换实例数据,删除旧对象中多余的顶层字段。
|
|
1759
1765
|
* 草稿/接口恢复后会清空用户修改标记;restore 来源同时恢复为非脏状态。
|
|
@@ -1876,10 +1882,10 @@ class RuntimeFormStateStore {
|
|
|
1876
1882
|
target[key] = incoming;
|
|
1877
1883
|
});
|
|
1878
1884
|
}
|
|
1879
|
-
mergeSavedMetadata(target, incoming, path = "") {
|
|
1885
|
+
mergeSavedMetadata(target, incoming, path = "", identityOnly = false) {
|
|
1880
1886
|
if (Array.isArray(incoming)) {
|
|
1881
1887
|
const isTableRows = this.subtableFields.has(path) || path.endsWith("._2DTABLE_");
|
|
1882
|
-
if (!isTableRows || !Array.isArray(target)) return incoming;
|
|
1888
|
+
if (!isTableRows || !Array.isArray(target)) return identityOnly ? target : incoming;
|
|
1883
1889
|
incoming.forEach((savedRow) => {
|
|
1884
1890
|
const rowKey = savedRow?.[FRONT_ROW_KEY];
|
|
1885
1891
|
const savedId = savedRow?.id_;
|
|
@@ -1902,17 +1908,23 @@ class RuntimeFormStateStore {
|
|
|
1902
1908
|
this.mergeSavedMetadata(
|
|
1903
1909
|
currentRow,
|
|
1904
1910
|
matchedByGroup ? { ...savedRow, [FRONT_ROW_KEY]: currentRow[FRONT_ROW_KEY] } : savedRow,
|
|
1905
|
-
path
|
|
1911
|
+
path,
|
|
1912
|
+
identityOnly
|
|
1906
1913
|
);
|
|
1907
1914
|
}
|
|
1908
1915
|
});
|
|
1909
1916
|
return target;
|
|
1910
1917
|
}
|
|
1911
1918
|
if (!incoming || typeof incoming !== "object") return incoming;
|
|
1912
|
-
if (!target || typeof target !== "object" || Array.isArray(target))
|
|
1919
|
+
if (!target || typeof target !== "object" || Array.isArray(target))
|
|
1920
|
+
return identityOnly ? target : incoming;
|
|
1913
1921
|
Object.entries(incoming).forEach(([key, value]) => {
|
|
1922
|
+
if (identityOnly && (!value || typeof value !== "object")) {
|
|
1923
|
+
if (key !== "id_" || value == null || value === "") return;
|
|
1924
|
+
if (target.id_ != null && target.id_ !== "" && String(target.id_) !== String(value)) return;
|
|
1925
|
+
}
|
|
1914
1926
|
const childPath = path ? `${path}.${key}` : key;
|
|
1915
|
-
const merged = this.mergeSavedMetadata(target[key], value, childPath);
|
|
1927
|
+
const merged = this.mergeSavedMetadata(target[key], value, childPath, identityOnly);
|
|
1916
1928
|
this.setObjectField(target, key, merged, "restore");
|
|
1917
1929
|
});
|
|
1918
1930
|
return target;
|
|
@@ -4141,6 +4153,8 @@ class RuntimePersistenceCoordinator {
|
|
|
4141
4153
|
saveSequence = 0;
|
|
4142
4154
|
/** 同一实例的业务写请求串行发送,避免较早的暂存最后落库覆盖较新的提交。 */
|
|
4143
4155
|
saveTail = Promise.resolve();
|
|
4156
|
+
/** 请求抛错时写入结果可能未知;重试前只恢复身份,不能将旧查询值当成已保存的新输入。 */
|
|
4157
|
+
unconfirmedSaveSequence;
|
|
4144
4158
|
preparingSubmission;
|
|
4145
4159
|
disposed = false;
|
|
4146
4160
|
/** 导航等异步 UI 工作结束后,Controller 再确认返回快照仍属于当前数据版本。 */
|
|
@@ -4159,11 +4173,18 @@ class RuntimePersistenceCoordinator {
|
|
|
4159
4173
|
revision: this.formState.revision
|
|
4160
4174
|
});
|
|
4161
4175
|
}
|
|
4162
|
-
/**
|
|
4176
|
+
/** 行身份回填只检查实例及请求顺序;保存期间编辑不能丢失已落库行的 id_。 */
|
|
4177
|
+
isLatestSaveRequest(token) {
|
|
4178
|
+
return !this.disposed && token.coordinatorId === this.coordinatorId && token.sequence === this.saveSequence;
|
|
4179
|
+
}
|
|
4180
|
+
/** 清除脏标记和回填业务值还必须确认数据版本未变化。 */
|
|
4163
4181
|
isLatestSave(token) {
|
|
4164
|
-
return
|
|
4182
|
+
return this.isLatestSaveRequest(token) && token.revision === this.formState.revision;
|
|
4183
|
+
}
|
|
4184
|
+
needsSaveIdentityRecovery(token) {
|
|
4185
|
+
return this.isLatestSaveRequest(token) && token.sequence === this.unconfirmedSaveSequence;
|
|
4165
4186
|
}
|
|
4166
|
-
/**
|
|
4187
|
+
/** false 表示不能确认当前草稿或回填业务值;已落库行的身份仍可单独恢复。 */
|
|
4167
4188
|
completeSave(token) {
|
|
4168
4189
|
if (!this.isLatestSave(token)) return false;
|
|
4169
4190
|
return this.formState.markClean(token.revision);
|
|
@@ -4176,7 +4197,9 @@ class RuntimePersistenceCoordinator {
|
|
|
4176
4197
|
this.assertAlive();
|
|
4177
4198
|
const operation = this.saveTail.then(async () => {
|
|
4178
4199
|
if (!this.isLatestSave(token)) return false;
|
|
4200
|
+
this.unconfirmedSaveSequence = token.sequence;
|
|
4179
4201
|
await send();
|
|
4202
|
+
this.unconfirmedSaveSequence = void 0;
|
|
4180
4203
|
return this.completeSave(token);
|
|
4181
4204
|
});
|
|
4182
4205
|
this.saveTail = operation.catch(() => void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
2
|
+
import { c as commonjsRequire } from "./index-DdOpcuy6.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--BUxJjPg.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-DdOpcuy6.js";
|
|
5
5
|
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, au as RangeCompareOp, at as RangeValidateMode }
|
|
|
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-BujOt502.js";
|
|
7
7
|
class Datepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Datepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.
|
|
|
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-BujOt502.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-DdOpcuy6.js";
|
|
8
8
|
class Select extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Select;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, a1 as SignatureImageDirectionEnum, a2 as Fallba
|
|
|
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-BujOt502.js";
|
|
7
7
|
class Sign extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Sign;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ 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-BujOt502.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CD0q7Bpg.js";
|
|
8
8
|
class RdoSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.RdoSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, az as ImageDisplayModeEnum } from "./dynamic-ta
|
|
|
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-BujOt502.js";
|
|
7
7
|
class UploadImage extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadImage;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ 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-DdOpcuy6.js";
|
|
7
7
|
class Tr {
|
|
8
8
|
component = "tr";
|
|
9
9
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
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-BujOt502.js";
|
|
7
7
|
class Timepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Timepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ 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-BujOt502.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CD0q7Bpg.js";
|
|
8
8
|
class AutoComplete extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.AutoComplete;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, a$ as BindCmpStyleEnum } from "./dynamic-table-
|
|
|
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-BujOt502.js";
|
|
7
7
|
class Textarea extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Textarea;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
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-BujOt502.js";
|
|
7
7
|
class UploadFile extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadFile;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
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-BujOt502.js";
|
|
7
7
|
class Userpicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Userpicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, ay as DecimalDisplayMode, au as RangeCompareOp,
|
|
|
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-BujOt502.js";
|
|
7
7
|
class InputNumber extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Inputnumber;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,9 +2,9 @@ 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-Bhkrp7KE.js";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BujOt502.js";
|
|
8
8
|
class Seal extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Seal;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
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-Bhkrp7KE.js";
|
|
3
3
|
import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
8
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { g as getFieldWidget } from "./index-DdOpcuy6.js";
|
|
8
|
+
import { B as BaseComponent } from "./BaseComponent-BujOt502.js";
|
|
9
9
|
class Switch extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Switch;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
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-BujOt502.js";
|
|
7
7
|
class Department extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Department;
|
|
9
9
|
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-DdOpcuy6.js";
|
|
3
|
+
import { j as isCellAutoLineBreak } from "./dynamic-table-action-Bhkrp7KE.js";
|
|
4
4
|
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
import "dayjs";
|
|
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, O as Orientation, $ as LabelPosition, a$ as Bin
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BujOt502.js";
|
|
7
|
+
import { g as getFieldWidget } from "./index-DdOpcuy6.js";
|
|
8
8
|
class EnumSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.EnumSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, a$ as BindCmpStyleEnum } from "./dynamic-table-
|
|
|
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-BujOt502.js";
|
|
7
7
|
class Input extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Input;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -5,7 +5,7 @@ import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, omit, has, d
|
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import * as Antd from "ant-design-vue";
|
|
7
7
|
import { message, Modal, Alert, 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 { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, n as normalizeFieldFontSize, g as getBusinessFieldKey, b as MULTI_SHEET_SCHEMA_VERSION, c as normalizeGridColumnWidth, d 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 useFormTmplConfig, k as findFieldProfile, l as normalizeHistoricalBusinessRow, m as DeviceLinkTmplUtil, o as normalizeAIOcrTmpl, p as useWidgetStaticAttrs, q as useRuntimeInstanceServices, s as setSelectValidatorId, r as setSelectAnnotationId, t as useRuntimeRowState, v as getObjectBomMaterialLotQuery, w as buildObjectLotExtraQuery, x as resolveObjectFieldKeys, y as MaterialConsumptionPatternEnum, z as validateObjectBomForScan, A as resolveObjectBomEntry, C as runWithFillProduct, E as useNocodeFormWidget, F as applyConsumeObjectTraceChange, G as getObjectBomProductQuery, H as EMPTY_PRODUCT_VERSION_ID, I as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, J as readSealValue, K as isSealStamped, L as stampSealValue, O as isValidSealValue, P as clearSealValue, Q as parseRuntimeFieldPath, R as calculateFormula, S as useStyles, T as useDependency, U as useFieldPresentation, V as useRuntimeEditorFlusher, W as RuntimeFormStateStore, X as createRuntimeInstanceContext, Y as RuntimeInstanceRegistry, Z as ScanParamType, _ as RequiredQtyCalcRule, $ as registerFormulaFuncs, a0 as moveSealValue, a1 as DocumentPaper, a2 as DynamicTableAction, a3 as _sfc_main$6w } from "./dynamic-table-action-
|
|
8
|
+
import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, n as normalizeFieldFontSize, g as getBusinessFieldKey, b as MULTI_SHEET_SCHEMA_VERSION, c as normalizeGridColumnWidth, d 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 useFormTmplConfig, k as findFieldProfile, l as normalizeHistoricalBusinessRow, m as DeviceLinkTmplUtil, o as normalizeAIOcrTmpl, p as useWidgetStaticAttrs, q as useRuntimeInstanceServices, s as setSelectValidatorId, r as setSelectAnnotationId, t as useRuntimeRowState, v as getObjectBomMaterialLotQuery, w as buildObjectLotExtraQuery, x as resolveObjectFieldKeys, y as MaterialConsumptionPatternEnum, z as validateObjectBomForScan, A as resolveObjectBomEntry, C as runWithFillProduct, E as useNocodeFormWidget, F as applyConsumeObjectTraceChange, G as getObjectBomProductQuery, H as EMPTY_PRODUCT_VERSION_ID, I as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, J as readSealValue, K as isSealStamped, L as stampSealValue, O as isValidSealValue, P as clearSealValue, Q as parseRuntimeFieldPath, R as calculateFormula, S as useStyles, T as useDependency, U as useFieldPresentation, V as useRuntimeEditorFlusher, W as RuntimeFormStateStore, X as createRuntimeInstanceContext, Y as RuntimeInstanceRegistry, Z as ScanParamType, _ as RequiredQtyCalcRule, $ as registerFormulaFuncs, a0 as moveSealValue, a1 as DocumentPaper, a2 as DynamicTableAction, a3 as _sfc_main$6w } from "./dynamic-table-action-Bhkrp7KE.js";
|
|
9
9
|
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6u, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-219qzsVL.js";
|
|
10
10
|
import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
11
11
|
import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6v, h as initWebNocodeAdapter } from "./index-B6csmYLK.js";
|
|
@@ -1931,7 +1931,7 @@ function openWindow(url, opt) {
|
|
|
1931
1931
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
1932
1932
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
1933
1933
|
async function createWorkbook() {
|
|
1934
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1934
|
+
const ExcelJs = (await import("./exceljs.min-Ta0dJQqu.js").then((n) => n.e)).default;
|
|
1935
1935
|
return new ExcelJs.Workbook();
|
|
1936
1936
|
}
|
|
1937
1937
|
class XlsxParser {
|
|
@@ -2302,28 +2302,28 @@ class XlsxParser {
|
|
|
2302
2302
|
}
|
|
2303
2303
|
function asyncImportClassModules() {
|
|
2304
2304
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2305
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2306
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2307
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2308
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2309
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2310
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2311
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2312
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2313
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2314
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2315
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2316
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2317
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2318
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2319
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2320
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2321
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2322
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2305
|
+
"./_field_/auto-complete/index.ts": () => import("./index-BlCF32GJ.js").then((m) => m["default"]),
|
|
2306
|
+
"./_field_/datepicker/index.ts": () => import("./index-1kD3Vcrg.js").then((m) => m["default"]),
|
|
2307
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-KQqw3i9h.js").then((m) => m["default"]),
|
|
2308
|
+
"./_field_/department/index.ts": () => import("./index-CaLRSpkL.js").then((m) => m["default"]),
|
|
2309
|
+
"./_field_/enum-select/index.ts": () => import("./index-DF8n1Gru.js").then((m) => m["default"]),
|
|
2310
|
+
"./_field_/input/index.ts": () => import("./index-DLTES9Zq.js").then((m) => m["default"]),
|
|
2311
|
+
"./_field_/inputdouble/index.ts": () => import("./index-OwTnsnnd.js").then((m) => m["default"]),
|
|
2312
|
+
"./_field_/inputnumber/index.ts": () => import("./index-CEYSrHod.js").then((m) => m["default"]),
|
|
2313
|
+
"./_field_/rdo-select/index.ts": () => import("./index-B4ZpSIPH.js").then((m) => m["default"]),
|
|
2314
|
+
"./_field_/seal/index.ts": () => import("./index-CMN1t7G7.js").then((m) => m["default"]),
|
|
2315
|
+
"./_field_/select/index.ts": () => import("./index-B0Qf1-mt.js").then((m) => m["default"]),
|
|
2316
|
+
"./_field_/sign/index.ts": () => import("./index-B2VHOqo4.js").then((m) => m["default"]),
|
|
2317
|
+
"./_field_/switch/index.ts": () => import("./index-CUTV5Yr2.js").then((m) => m["default"]),
|
|
2318
|
+
"./_field_/textarea/index.ts": () => import("./index-BtAlyN0W.js").then((m) => m["default"]),
|
|
2319
|
+
"./_field_/timepicker/index.ts": () => import("./index-BOMuRlHQ.js").then((m) => m["default"]),
|
|
2320
|
+
"./_field_/upload-file/index.ts": () => import("./index-BwuwoFQQ.js").then((m) => m["default"]),
|
|
2321
|
+
"./_field_/upload-image/index.ts": () => import("./index-B4hIBKZ6.js").then((m) => m["default"]),
|
|
2322
|
+
"./_field_/userpicker/index.ts": () => import("./index-C4SreE7Q.js").then((m) => m["default"]),
|
|
2323
2323
|
"./_widget_/barcode/index.ts": () => import("./index-Bd15pfRH.js").then((m) => m["default"]),
|
|
2324
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2325
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2326
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2324
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-IOqBW_eS.js").then((m) => m["default"]),
|
|
2325
|
+
"./_widget_/diagonal/index.ts": () => import("./index-GIYmXP7h.js").then((m) => m["default"]),
|
|
2326
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-L7CRRS4N.js").then((m) => m["default"]),
|
|
2327
2327
|
"./_widget_/image/index.ts": () => import("./index-DMAuxwlt.js").then((m) => m["default"]),
|
|
2328
2328
|
"./_widget_/line/index.ts": () => import("./index-UnwowxL3.js").then((m) => m["default"]),
|
|
2329
2329
|
"./_widget_/power/index.ts": () => import("./index-DBSvao2o.js").then((m) => m["default"]),
|
|
@@ -2333,8 +2333,8 @@ function asyncImportClassModules() {
|
|
|
2333
2333
|
"./_widget_/sub-table/index.ts": () => import("./index-DQC7zJRO.js").then((m) => m["default"]),
|
|
2334
2334
|
"./_widget_/timediff/index.ts": () => import("./index-CZo7qVZK.js").then((m) => m["default"]),
|
|
2335
2335
|
"./paper/index.ts": () => import("./index-DRKCOV3w.js").then((m) => m["default"]),
|
|
2336
|
-
"./td/index.ts": () => import("./index-
|
|
2337
|
-
"./tr/index.ts": () => import("./index-
|
|
2336
|
+
"./td/index.ts": () => import("./index-D9lmC_sX.js").then((m) => m["default"]),
|
|
2337
|
+
"./tr/index.ts": () => import("./index-BEEhGWk7.js").then((m) => m["default"])
|
|
2338
2338
|
});
|
|
2339
2339
|
return modules;
|
|
2340
2340
|
}
|
|
@@ -16112,7 +16112,7 @@ function asyncImportWidgetConfigList() {
|
|
|
16112
16112
|
return widgetConfigList;
|
|
16113
16113
|
}
|
|
16114
16114
|
function asyncImportWidgetDesign() {
|
|
16115
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
16115
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-Q8W8Umib.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-DGX6Ol4t.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-oiPfvxr7.js"), "./image/image-design.vue": () => import("./image-design-C3yJcthI.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-CNML3qGx.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-B8WyX87-.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-CUQ4gaJ0.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-hcI8TwmS.js"), "./text/text-design.vue": () => import("./text-design-gySXbKUQ.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-BHLUYM_L.js") });
|
|
16116
16116
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
16117
16117
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
16118
16118
|
if (mKey) {
|
|
@@ -53058,7 +53058,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
|
|
|
53058
53058
|
}
|
|
53059
53059
|
});
|
|
53060
53060
|
function asyncImportWidgetProp() {
|
|
53061
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
53061
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-Dho-QBc4.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-LOzS5LGZ.js"), "./widget-image.vue": () => import("./widget-image-CE9y7lzB.js"), "./widget-line.vue": () => import("./widget-line-DK-tRBi0.js"), "./widget-pagination.vue": () => import("./widget-pagination-JLrTk_QY.js"), "./widget-power.vue": () => import("./widget-power-B136JrJ6.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-CQ79eZwR.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DORQgXtz.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-BvhwTK5N.js"), "./widget-text.vue": () => import("./widget-text-D6au0tli.js"), "./widget-timediff.vue": () => import("./widget-timediff-C3SAIS2-.js") });
|
|
53062
53062
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
53063
53063
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
53064
53064
|
if (mKey) {
|
|
@@ -91463,8 +91463,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
91463
91463
|
printTask = (async () => {
|
|
91464
91464
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
91465
91465
|
await nextTick();
|
|
91466
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
91467
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
91466
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-DKR1MX8-.js");
|
|
91467
|
+
const { default: renderer } = await import("./print-snapshot-renderer-BIWDQkSC.js");
|
|
91468
91468
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
91469
91469
|
printRenderer.value = markRaw(renderer);
|
|
91470
91470
|
await printRuntimeInstance(
|
|
@@ -3,7 +3,7 @@ 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-BujOt502.js";
|
|
7
7
|
class Diagonal extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Diagonal;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-
|
|
7
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-DdOpcuy6.js";
|
|
8
8
|
class CombineFields {
|
|
9
9
|
component = ComponentTypeEnum.CombineFields;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE, au as RangeCompareOp, at as Ra
|
|
|
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-BujOt502.js";
|
|
7
7
|
class DateTimepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DateTimepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as L
|
|
|
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-BujOt502.js";
|
|
7
7
|
class DynValue extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DynValue;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, ay as DecimalDisplayMode, au as RangeCompareOp,
|
|
|
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-BujOt502.js";
|
|
7
7
|
class InputDouble extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.InputDouble;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-
|
|
1
|
+
import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-DdOpcuy6.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-219qzsVL.js";
|
|
3
3
|
export {
|
|
4
4
|
G as AiTmplEditor,
|
|
@@ -3,7 +3,7 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { j as calcText } from "./index-
|
|
6
|
+
import { j as calcText } from "./index-DdOpcuy6.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "pagination-design",
|
|
9
9
|
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-DdOpcuy6.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 { W as RuntimeFormStateStore, Y as RuntimeInstanceRegistry, N 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 { W as RuntimeFormStateStore, Y as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-Bhkrp7KE.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-Df_Z-LYK.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-DdOpcuy6.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-DdOpcuy6.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 { a as useNamespace } from "./AntdIcon-DCIaV352.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-DdOpcuy6.js";
|
|
4
4
|
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
@@ -95,6 +95,8 @@ export declare class RuntimeFormStateStore {
|
|
|
95
95
|
* 保存回填只通知实际变化的字段,不作为整份数据恢复触发全部赋值规则。
|
|
96
96
|
*/
|
|
97
97
|
patchSavedMetadata(values: Record<string, any>): void;
|
|
98
|
+
/** 保存期间有新输入时只补齐已存在行的数据库 ID,不恢复已移除的行或覆盖业务值。 */
|
|
99
|
+
patchSavedIdentity(values: Record<string, any>): void;
|
|
98
100
|
/**
|
|
99
101
|
* 用新对象整体替换实例数据,删除旧对象中多余的顶层字段。
|
|
100
102
|
* 草稿/接口恢复后会清空用户修改标记;restore 来源同时恢复为非脏状态。
|
|
@@ -52,6 +52,8 @@ export declare class RuntimePersistenceCoordinator {
|
|
|
52
52
|
private saveSequence;
|
|
53
53
|
/** 同一实例的业务写请求串行发送,避免较早的暂存最后落库覆盖较新的提交。 */
|
|
54
54
|
private saveTail;
|
|
55
|
+
/** 请求抛错时写入结果可能未知;重试前只恢复身份,不能将旧查询值当成已保存的新输入。 */
|
|
56
|
+
private unconfirmedSaveSequence?;
|
|
55
57
|
private preparingSubmission?;
|
|
56
58
|
private disposed;
|
|
57
59
|
constructor(formState: RuntimeFormStateStore, asyncTasks: RuntimeAsyncTaskCoordinator, sheets: RuntimeSheetService);
|
|
@@ -59,9 +61,12 @@ export declare class RuntimePersistenceCoordinator {
|
|
|
59
61
|
isCurrentRevision(revision: number): boolean;
|
|
60
62
|
/** 【宿主接入·已接通】业务按钮用快照 revision 创建令牌,交给 runSave 串行发送。 */
|
|
61
63
|
beginSave(expectedRevision?: number): RuntimeSaveToken;
|
|
62
|
-
/**
|
|
64
|
+
/** 行身份回填只检查实例及请求顺序;保存期间编辑不能丢失已落库行的 id_。 */
|
|
65
|
+
isLatestSaveRequest(token: RuntimeSaveToken): boolean;
|
|
66
|
+
/** 清除脏标记和回填业务值还必须确认数据版本未变化。 */
|
|
63
67
|
isLatestSave(token: RuntimeSaveToken): boolean;
|
|
64
|
-
|
|
68
|
+
needsSaveIdentityRecovery(token: RuntimeSaveToken): boolean;
|
|
69
|
+
/** false 表示不能确认当前草稿或回填业务值;已落库行的身份仍可单独恢复。 */
|
|
65
70
|
completeSave(token: RuntimeSaveToken): boolean;
|
|
66
71
|
/**
|
|
67
72
|
* 宿主提供实际请求;队列开始及响应回来均检查令牌。失败不确认保存,且不阻塞下一次重试。
|
|
@@ -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-Bhkrp7KE.js";
|
|
3
3
|
import { E as api, cx as F$1, cy as SCAN_ROW_CONTENT_FIELDS, cz as F$2, cA as F$3, cB as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cC as F$4, cD as F$5, cE as FILL_FROM_SOURCE_PRODUCT_OPTION, cF as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cG as FILL_FROM_INVENTORY_OPTION, cH as FILL_FROM_PART_OPTION, cI as FILL_FROM_INVENTORY_OPTION$1, cJ as TABLE_TYPE, cK as FILL_FROM_INVENTORY_OPTION$2, b4 as F$6, cL as INVENTORY_BASE_FIELDS, cM as resolveGroupByWarehouse, cN as AUTO_LOAD_READONLY_SELECT_FIELDS, b3 as STOCKTAKE_DIMENSION, b0 as getParseRuleInfo, cO as buildFillFromInventoryOption, bT as calcFillData, cP as resolveStocktakeInventoryApi, b1 as getParseRuleValue, cQ as F$7, cR as FILL_FROM_INVENTORY_OPTION$3, bZ as extractKeywordFromQueryData, cS as composeProductionLotListQuery, aI as resolveLotDisplayLabel, cT as F$8, cU as isProductManuallyEditable, cV as applyFillFromMfgOrderOption, cW as applyFillFromOption$1, cX as applyFillFromProductOption, a_ as ProductionIdentificationTypeEnum, cY as mergeQueryFilters, cZ as composeMaterialLotListQuery, aS as LOT_CONTAINER_ROLE, c_ as MATERIAL_CONTAINER_ID, c$ as F$9, d0 as PRODUCT_QUICK_SEARCH_FIELDS, d1 as PRODUCT_QUICK_SEARCH_EXP, d2 as isProductManuallyEditable$1, d3 as applyFillFromMaterialNoOption, d4 as applyFillFromProductOption$1, d5 as F$a, d6 as FILL_FROM_INVENTORY_OPTION$4, X as FormTypeEnum, d as getBusinessProfileByRefModelType, aD as transformUtils, f as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
4
4
|
import { has, merge } from "lodash-es";
|
|
5
5
|
class RuntimeInstanceController {
|
|
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
|
|
|
3
3
|
import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { u as useSpreadSheet, h as useModelFields } from "./index-
|
|
6
|
+
import { u as useSpreadSheet, h as useModelFields } from "./index-DdOpcuy6.js";
|
|
7
7
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "text-design",
|
|
@@ -3,7 +3,7 @@ import { F as FIELD_TYPE, a$ as BindCmpStyleEnum } from "./dynamic-table-action.
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-
|
|
6
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-DdOpcuy6.js";
|
|
7
7
|
function getTraceLikeSelectProps(data) {
|
|
8
8
|
const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
|
|
9
9
|
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-DdOpcuy6.js";
|
|
4
4
|
import { Q as PaperWidgeValueType, aq as ExpressionModeEnum, as as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -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-DdOpcuy6.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-Dp_NLPcS.js";
|
|
4
4
|
import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.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-DdOpcuy6.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
4
|
import { F as FIELD_TYPE, a7 as _export_sfc, ag as DiagonalDirection, ak as DiagonalVertex, ce as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
7
7
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
8
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
8
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CnuMgeEW.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-DdOpcuy6.js";
|
|
3
3
|
import { S as SizeEditor } from "./size-editor-D4ZNlV-c.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
5
|
import { ah as WidgetImageSizeMode, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
@@ -3,7 +3,7 @@ import { ai as LineDirection } from "./dynamic-table-action.vue_vue_type_style_i
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-
|
|
6
|
+
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-DdOpcuy6.js";
|
|
7
7
|
const _hoisted_1 = { class: "ks-row-middle" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "widget-line",
|
|
@@ -3,10 +3,10 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { F as FormItem, y as PaginationFormatOptions } from "./index-
|
|
6
|
+
import { F as FormItem, y as PaginationFormatOptions } from "./index-DdOpcuy6.js";
|
|
7
7
|
import { S as SizeEditor } from "./size-editor-D4ZNlV-c.js";
|
|
8
8
|
import { A as AlignEditor } from "./align-editor--BUxJjPg.js";
|
|
9
|
-
import { F as FontEditor } from "./font-editor-
|
|
9
|
+
import { F as FontEditor } from "./font-editor-Dmj2hu7T.js";
|
|
10
10
|
const _hoisted_1 = { class: "pl-6px" };
|
|
11
11
|
const _hoisted_2 = { class: "pl-6px" };
|
|
12
12
|
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-DdOpcuy6.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CnuMgeEW.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
5
|
import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
@@ -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-DdOpcuy6.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-Dp_NLPcS.js";
|
|
4
4
|
import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.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-DdOpcuy6.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CnuMgeEW.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
5
|
import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
@@ -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-DdOpcuy6.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-DdOpcuy6.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-Dp_NLPcS.js";
|
|
4
4
|
import { S as SizeEditor } from "./size-editor-D4ZNlV-c.js";
|
|
5
5
|
import { A as AlignEditor } from "./align-editor--BUxJjPg.js";
|
|
6
|
-
import { F as FontEditor } from "./font-editor-
|
|
6
|
+
import { F as FontEditor } from "./font-editor-Dmj2hu7T.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-DdOpcuy6.js";
|
|
3
3
|
import { F as FIELD_TYPE, aj as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
package/package.json
CHANGED