@gct-paas/excel 0.1.40-beta.26 → 0.1.40-beta.27
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-ClKLQPlb.js → BaseComponent-B0s9C7u7.js} +2 -2
- package/dist/{VueVideoPlayer-D7buOU3g.js → VueVideoPlayer-BCGJs86_.js} +2 -2
- package/dist/{align-editor-BM2D1Kjn.js → align-editor-DBWdbAV_.js} +1 -1
- package/dist/{barcode-design-D8H2Bg9b.js → barcode-design-YdLnj4EK.js} +2 -2
- package/dist/base/index.es.js +183 -191
- package/dist/{diagonal-design-Ca9DW4R9.js → diagonal-design-vCovyGwZ.js} +2 -2
- package/dist/{dynamic-table-action-DPgnmGmu.js → dynamic-table-action-9oc6dkLz.js} +124 -214
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js} +729 -318
- package/dist/{edit.utils-CXmmCnxE-ogCEEMW7.js → edit.utils-CXmmCnxE-BvWz-8bv.js} +1 -1
- package/dist/excel.css +3 -3
- package/dist/{exceljs.min-BzSfyOeP.js → exceljs.min-Dp6PAQE9.js} +2 -2
- package/dist/{font-editor-tmQsLM86.js → font-editor-gcStnuue.js} +3 -3
- package/dist/{image-design-oRvqavKb.js → image-design-DJ3VRU2t.js} +2 -2
- package/dist/{index-D1KO6u1Z.js → index-2mRh7iFw.js} +45 -46
- package/dist/{index-Coz70NtU.js → index-7WwJSlNN.js} +2 -2
- package/dist/{index-D0PRNLPd.js → index-AmKjgww5.js} +1 -1
- package/dist/{index-B3_1mcU-.js → index-Avrz1-1F.js} +2 -2
- package/dist/{index-1GK0_6yB.js → index-B5AUi6i3.js} +1 -1
- package/dist/{index-61ZlwI2f.js → index-BCeR77y-.js} +2 -2
- package/dist/{index-DS7TSyjT.js → index-BHTcJLrz.js} +1 -1
- package/dist/{index-ZHmmTlG-.js → index-BYf9Fudx.js} +3 -3
- package/dist/{index-CMKlsuD6.js → index-BaCa0TgP.js} +2 -2
- package/dist/{index-eyK5xPX3.js → index-BsmHcJs3.js} +2 -2
- package/dist/{index-BVJENFMM.js → index-CFTsMiRR.js} +1 -1
- package/dist/{index-cBtITF-e.js → index-CFvLIeFl.js} +1 -1
- package/dist/{index-C5Bdrx4J.js → index-CLLc5Ob2.js} +1 -1
- package/dist/{index-CcC1xcOH.js → index-COOampHb.js} +1 -1
- package/dist/{index-CI051jjs.js → index-Ck06j4gn.js} +2 -2
- package/dist/{index-AU7rrK9g.js → index-Cl-QMM1R.js} +2 -2
- package/dist/{index-CHTrEvG1.js → index-CtEUzXVk.js} +2 -2
- package/dist/{index-DAuoR0-c.js → index-CzUGIYOv.js} +2 -2
- package/dist/{index-C8-IDtVr.js → index-D3ZQLjrQ.js} +2 -2
- package/dist/{index-C4txo2fg.js → index-D6eANpFX.js} +2 -2
- package/dist/{index-DvXsENIM.js → index-D90UOUAU.js} +3 -3
- package/dist/{index-DbuDWYlA.js → index-D9j3S6qI.js} +1 -1
- package/dist/{index-B_CDhpav.js → index-DIodi5gH.js} +4 -4
- package/dist/{index-BMUAwQmf.js → index-DPP4WDPc.js} +2 -2
- package/dist/{index-C4v0H4FC.js → index-DXqsUrWV.js} +3 -3
- package/dist/{index-CKyxWh-q.js → index-DnsZjDDh.js} +2 -2
- package/dist/{index-DLRVgGXr.js → index-Dzl5Ukft.js} +1 -1
- package/dist/{index-zJwCoxly.js → index-Mg-zrcwn.js} +2 -2
- package/dist/{index-DUrJEPXQ.js → index-agcLaGBj.js} +2 -2
- package/dist/{index-sEcLP8dk.js → index-cOcBl2Ga.js} +2 -2
- package/dist/{index-ZxBcNN-g.js → index-gWEP20xe.js} +3 -3
- package/dist/{index-nhC91wtN.js → index-iYYd2oH1.js} +3 -3
- package/dist/{index-3K7-At9-.js → index-sWtzbaDv.js} +3 -3
- package/dist/{index-IlasHrys.js → index-y3jt4BZe.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhmtOtIs.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B79l8Vcj.js} +1 -1
- package/dist/{pagination-design-Bh5sF0VU.js → pagination-design-BZZcBbIF.js} +2 -2
- package/dist/paper-widget-design-Coh8v5mV.js +4 -0
- package/dist/{print-runtime-instance-19OA8Ubq.js → print-runtime-instance-CV0WcU-Z.js} +1 -1
- package/dist/{print-snapshot-renderer-D5OUO3Sx.js → print-snapshot-renderer-hHd4ThE0.js} +3 -3
- package/dist/{qrcode-design-CkwIXxb_.js → qrcode-design-C8d7cE3K.js} +1 -1
- package/dist/{revo-grid.entry-CJ1rhBKH.js → revo-grid.entry-DSnc_nH1.js} +1 -1
- package/dist/{revogr-attribution_7.entry-Ba9MJ5p9.js → revogr-attribution_7.entry-D67ci-yw.js} +3 -3
- package/dist/{revogr-clipboard_3.entry--neB-vq8.js → revogr-clipboard_3.entry-C9h0dhAb.js} +2 -2
- package/dist/{revogr-data_4.entry-BcmetTvO.js → revogr-data_4.entry-DuuRVRex.js} +2 -2
- package/dist/{revogr-filter-panel.entry-jp8iD-xn.js → revogr-filter-panel.entry-BeIaYORN.js} +1 -1
- package/dist/seal-design-DfKie-Qg.js +4 -0
- package/dist/{serialnumber-design-LzvbjC79.js → serialnumber-design-wyJY14Fx.js} +1 -1
- package/dist/shared/index.es.js +25 -25
- package/dist/{single-field-drop-CEbaTw0-.js → single-field-drop-CA6EtCtR.js} +2 -2
- package/dist/{size-editor-CaFqQHeU.js → size-editor-lAn0ECzs.js} +1 -1
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +3 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +2 -1
- package/dist/src/nocode-base/src/interface/transform.d.ts +3 -0
- package/dist/src/nocode-base/src/runtime/designer-default-values.d.ts +23 -0
- package/dist/src/nocode-base/src/runtime/runtime-default-value-validation.d.ts +23 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +3 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +2 -2
- package/dist/src/shared/enum/field-type.d.ts +1 -1
- package/dist/{sub-table-factory-_1c-Dsu_.js → sub-table-factory-CwbQEPJq.js} +2 -2
- package/dist/{text-design-D5QIq5aE.js → text-design-Bv4PfeOW.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BMfNVrvD.js → throttle-Cpk1LoGk-BaXaGrUw.js} +1 -1
- package/dist/{timediff-design-B9m-zonK.js → timediff-design-CxT_O6R8.js} +1 -1
- package/dist/{trace-like-wrapper-C_NJVd6e.js → trace-like-wrapper-CGe5K_FN.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BpZAIeLC.js → value-editor.vue_vue_type_style_index_0_lang-CQTuzWX2.js} +2 -2
- package/dist/{widget-barcode-CDMJo5uk.js → widget-barcode-C83yiwNl.js} +4 -4
- package/dist/{widget-diagonal-D9AC_qNv.js → widget-diagonal-C-zD-MLy.js} +3 -3
- package/dist/{widget-image-DMiIjg8J.js → widget-image-DIcnWHn7.js} +4 -4
- package/dist/{widget-line-BwSO-GKu.js → widget-line-BnMezWy-.js} +2 -2
- package/dist/{widget-pagination-Buo5s7Xq.js → widget-pagination-QWM1Nmlo.js} +5 -5
- package/dist/{widget-power-D8HtIVO2.js → widget-power-DnqxPUmW.js} +3 -3
- package/dist/{widget-qrcode-XEY9m1Dj.js → widget-qrcode-PBnm6ehD.js} +3 -3
- package/dist/{widget-rangelimit-C9j1s6Md.js → widget-rangelimit-CDyYKHeg.js} +3 -3
- package/dist/{widget-serialnumber-B_IA4_De.js → widget-serialnumber-BwS-Ac9h.js} +1 -1
- package/dist/{widget-text-Bp0FEZa1.js → widget-text-COW-IQ1P.js} +5 -5
- package/dist/{widget-timediff-BlYRlDYp.js → widget-timediff-RpQcMPpb.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-DZrP96jp.js +0 -4
- package/dist/seal-design-DX7PP65G.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as normalizeFieldWidth } from "./dynamic-table-action-9oc6dkLz.js";
|
|
2
2
|
import { get, pick } from "lodash-es";
|
|
3
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
3
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
4
4
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
5
5
|
const DESIGNER_DEFAULT_TYPES = /* @__PURE__ */ new Set([
|
|
6
6
|
FIELD_TYPE.DEVICE,
|
|
@@ -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
|
-
import {
|
|
3
|
-
import { G as require$$0 } from "./index-
|
|
2
|
+
import { W as commonjsGlobal, X as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
|
+
import { G as require$$0 } from "./index-2mRh7iFw.js";
|
|
4
4
|
var window_1;
|
|
5
5
|
var hasRequiredWindow;
|
|
6
6
|
function requireWindow() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
3
|
const _hoisted_1 = { class: "align-group-box" };
|
|
4
4
|
const _hoisted_2 = ["onClick"];
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import {
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-2mRh7iFw.js";
|
|
4
|
+
import { Y as PaperWidgeValueType, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { p as api,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { as, B as B2,
|
|
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-CMil2DLD.js";
|
|
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, a_, cx, cy, bq, b7 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
|
+
import { l as findFieldProfile, a6 as resolveRuntimeFieldProps, a7 as resolveRuntimeFieldState, a8 as assembleRules, S as calculateFormula, a9 as getRuntimeDependencyOutputKey, aa as isRowAddedInCurrentFormChange, g as getParseFormulaVarInfos, z as MaterialConsumptionPatternEnum, ab as MaterialConsumeTableController, ac as setFormulaParamsConfig, ad as normalizeRuntime, Y as createRuntimeInstanceContext, ae as initializeSealFields, X as RuntimeFormStateStore, af as RuntimeSheetService, ag as validateObjectBomQtyOnSubmit, ah as areValidationCommentsEqual, ai as closeValidatorPopovers, aj as enrichFormChangeRowDetails, R as NCB_PROVIDE, Z as RuntimeInstanceRegistry, ak as useMaterialBalance, al as collectFormChangeFieldLocations, am as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-9oc6dkLz.js";
|
|
4
|
+
import { an as an2, B as B2, ao as ao2, o, a5 as a52, ap as ap2, a3, aq as aq2, a4, J, ar as ar2, F, as as as2, at, au as au2, av, M, a, a0, aw, a1, d, ax, ay, az, aA, aB as aB2, aC, aD, aE, H as H2, aF as aF2, x, aG as aG2, e, aH, aI, aJ as aJ2, aK as aK2, w, I, aL, aM, aN, aO as aO2, p, K as K2, m, aP, aQ, aR, aS, aT, aU as aU2, aV as aV2, C, y as y2, aW as aW2, E, t as t2, aX as aX2, s, aY as aY2, U, V, u, k, G, W, r, v, T, q as q2, A } from "../dynamic-table-action-9oc6dkLz.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 { 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, D, M as M2, a as
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-CwbQEPJq.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-CwbQEPJq.js";
|
|
10
10
|
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillTableRows, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillTable, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
@@ -180,24 +180,6 @@ async function fetchInspectionModuleQty(txnInstId) {
|
|
|
180
180
|
);
|
|
181
181
|
return parseInspectionModuleQty(res);
|
|
182
182
|
}
|
|
183
|
-
function listRuntimeFieldRows(record, subFieldKey, targetFieldId) {
|
|
184
|
-
if (!subFieldKey) {
|
|
185
|
-
return [{ row: record.formState.state }];
|
|
186
|
-
}
|
|
187
|
-
const value = record.formState.state[subFieldKey];
|
|
188
|
-
const table2DInfo = [
|
|
189
|
-
...record.context.businessIndex.subTable2DList,
|
|
190
|
-
...record.context.businessIndex.checkTable2DList
|
|
191
|
-
].find((item) => item.rowSubFieldKey === subFieldKey);
|
|
192
|
-
const isChild = table2DInfo && (table2DInfo.crossFieldKeys ?? []).includes(targetFieldId);
|
|
193
|
-
return Array.isArray(value) ? value.flatMap((row) => {
|
|
194
|
-
if (row?.deleted_) return [];
|
|
195
|
-
if (!isChild) return [{ row }];
|
|
196
|
-
return (Array.isArray(row._2DTABLE_) ? row._2DTABLE_ : []).flatMap(
|
|
197
|
-
(child) => child?.deleted_ ? [] : [{ row: child, parentRow: row }]
|
|
198
|
-
);
|
|
199
|
-
}) : [];
|
|
200
|
-
}
|
|
201
183
|
const isPresent = (value) => value !== void 0 && value !== null && value !== "";
|
|
202
184
|
class RuntimeFieldInitializer {
|
|
203
185
|
constructor(record, info, metadata) {
|
|
@@ -1561,7 +1543,9 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1561
1543
|
window.NocodeAdapter.openUtil?.message({ type: "warning", content, duration: 8 });
|
|
1562
1544
|
}
|
|
1563
1545
|
});
|
|
1546
|
+
const defaultValueOrigins = new DesignerDefaultValues();
|
|
1564
1547
|
const defaultDataMap = renderUtils.getDefaultValueMapByField({
|
|
1548
|
+
onDesignerDefault: (field, value) => defaultValueOrigins.add(field.subFieldKey, field.fieldId, value),
|
|
1565
1549
|
objectProductDefaults,
|
|
1566
1550
|
defaultValueFields: fieldInfoMap.useDefaultValueFields,
|
|
1567
1551
|
mainMaterialNo: paramsConfig?.materialNo || selfInfo.materialNo,
|
|
@@ -1591,6 +1575,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1591
1575
|
tmplBomC.handleDefaultMap(defaultDataMap);
|
|
1592
1576
|
runtimeContext.defaultData = defaultDataMap;
|
|
1593
1577
|
const defaultData = transformUtils.getDefaultData({
|
|
1578
|
+
defaultValueOrigins,
|
|
1594
1579
|
defaultDataMap,
|
|
1595
1580
|
subTableInfo,
|
|
1596
1581
|
viewMode: result.fillModeType,
|
|
@@ -1629,6 +1614,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1629
1614
|
isMockReport: payload.isMockReport
|
|
1630
1615
|
});
|
|
1631
1616
|
const formState = transformUtils.conversionFormState({
|
|
1617
|
+
defaultValueOrigins,
|
|
1632
1618
|
defaultData,
|
|
1633
1619
|
paramData,
|
|
1634
1620
|
customData,
|
|
@@ -1728,6 +1714,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1728
1714
|
// 注册表显式接收初始化阶段创建的 Store,避免通过 context.services 中转。
|
|
1729
1715
|
runtimeFormStateStore,
|
|
1730
1716
|
runtimeFieldMetadata: fieldInfoMap.fieldMetadata,
|
|
1717
|
+
defaultValueOrigins,
|
|
1731
1718
|
// 与 Store 一起显式移交给实例记录,basicInfo 不再携带脚本服务。
|
|
1732
1719
|
scriptRunner,
|
|
1733
1720
|
basicInfo: {
|
|
@@ -1765,7 +1752,8 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1765
1752
|
showPrintFieldBg: paramsConfig?.showPrintFieldBg,
|
|
1766
1753
|
paramsConfig,
|
|
1767
1754
|
businessType: selfInfo.businessType,
|
|
1768
|
-
instanceStatus: selfInfo.instanceStatus
|
|
1755
|
+
instanceStatus: selfInfo.instanceStatus,
|
|
1756
|
+
dataStatus: selfInfo.dataStatus
|
|
1769
1757
|
},
|
|
1770
1758
|
selfInfo: runtimeSelfInfo
|
|
1771
1759
|
};
|
|
@@ -2509,6 +2497,7 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2509
2497
|
);
|
|
2510
2498
|
if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2511
2499
|
syncInspectionDecisionRule(uniqueId);
|
|
2500
|
+
record.defaultValueValidation?.requestCheck();
|
|
2512
2501
|
await record.validation.validate("display");
|
|
2513
2502
|
});
|
|
2514
2503
|
await record.controller.waitUntilPrepared();
|
|
@@ -2887,6 +2876,9 @@ function useRenderPageFactory(props, payload) {
|
|
|
2887
2876
|
record.fieldInitializer = markRaw(
|
|
2888
2877
|
new RuntimeFieldInitializer(record, res.basicInfo, res.selfInfo)
|
|
2889
2878
|
);
|
|
2879
|
+
record.defaultValueValidation = markRaw(
|
|
2880
|
+
new RuntimeDefaultValueValidation(record, reactiveInfo, res.defaultValueOrigins)
|
|
2881
|
+
);
|
|
2890
2882
|
bindRuntimeBusinessServices(runtimeRegistry, record, res.selfInfo.dataStatus);
|
|
2891
2883
|
dataSourceBindings.push(bindDataSources(record, reactiveInfo, res.selfInfo));
|
|
2892
2884
|
}
|
|
@@ -3618,9 +3610,9 @@ class FormAnnotationController {
|
|
|
3618
3610
|
const items = this.normalizeAllResponse(res);
|
|
3619
3611
|
this.applyAnnotationItems(items, () => true);
|
|
3620
3612
|
return items;
|
|
3621
|
-
} catch (
|
|
3622
|
-
console.error("加载所有批注信息 error",
|
|
3623
|
-
throw
|
|
3613
|
+
} catch (e3) {
|
|
3614
|
+
console.error("加载所有批注信息 error", e3);
|
|
3615
|
+
throw e3;
|
|
3624
3616
|
}
|
|
3625
3617
|
};
|
|
3626
3618
|
handleOpenAnnotation = async () => {
|
|
@@ -3667,250 +3659,250 @@ function filterAnnotationItemsUpToCurrent(items) {
|
|
|
3667
3659
|
});
|
|
3668
3660
|
}
|
|
3669
3661
|
export {
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3662
|
+
aW as AITooltips,
|
|
3663
|
+
A2 as AllocateTableCore,
|
|
3664
|
+
an2 as BaseFormModelFetcher,
|
|
3665
|
+
aY as BinarizeMethodOptions,
|
|
3666
|
+
ba as BindCmpStyleEnum,
|
|
3667
|
+
a6 as BooleanShowMode,
|
|
3676
3668
|
B2 as BorderTD,
|
|
3677
3669
|
BpmnNodeTypeEnum,
|
|
3678
|
-
|
|
3679
|
-
|
|
3670
|
+
bP as BpmnSignatureTypeEnum,
|
|
3671
|
+
bQ as ButtonTypeEnum,
|
|
3680
3672
|
B as BwipCodeType,
|
|
3681
|
-
|
|
3673
|
+
bR as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3682
3674
|
H as CellType,
|
|
3683
|
-
|
|
3675
|
+
am as CellWidgetViewState,
|
|
3684
3676
|
CheckDsTypeEnum,
|
|
3685
|
-
|
|
3677
|
+
bS as CodeRunner,
|
|
3686
3678
|
ComponentTypeEnum,
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3679
|
+
bT as Config_Fields,
|
|
3680
|
+
bU as ControlStatusEnum,
|
|
3681
|
+
bk as DEVICE_GROUP_QUERY_KEY,
|
|
3682
|
+
bV as DEVICE_SEARCH_API,
|
|
3683
|
+
a$ as DateFormat,
|
|
3684
|
+
aF as DecimalDisplayMode,
|
|
3685
|
+
aX as DenoiseMethodOptions,
|
|
3686
|
+
ao2 as DeviceConnector,
|
|
3687
|
+
aU as DeviceLink,
|
|
3688
|
+
o as DeviceLinkTmplUtil,
|
|
3689
|
+
aV as DeviceParamsTypeTitle,
|
|
3698
3690
|
D as DevicePartConsumeTableCore,
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3691
|
+
bW as DeviceStatus,
|
|
3692
|
+
an as DiagonalDirection,
|
|
3693
|
+
ar as DiagonalVertex,
|
|
3694
|
+
a52 as DocumentLayout,
|
|
3695
|
+
ap2 as DocumentLoading,
|
|
3696
|
+
a3 as DocumentPaper,
|
|
3697
|
+
aq2 as DynamicQuickFillModal,
|
|
3698
|
+
a4 as DynamicTableAction,
|
|
3699
|
+
bX as EBR_PROVIDE_ENUM,
|
|
3700
|
+
bY as EFieldBizTypeEnum,
|
|
3701
|
+
J as EMPTY_PRODUCT_VERSION_ID,
|
|
3702
|
+
aO as EmptySymbol,
|
|
3703
|
+
a8 as FallbackSignTypeEnum,
|
|
3704
|
+
al as FieldSysVarDefaultValueEnum,
|
|
3713
3705
|
FillingTypeEnum,
|
|
3714
|
-
|
|
3706
|
+
ar2 as FixedQuickFillModal,
|
|
3715
3707
|
FormAnnotationController,
|
|
3716
3708
|
F as FormModelController,
|
|
3717
3709
|
FormTmplBomController,
|
|
3718
|
-
|
|
3710
|
+
as2 as FormTmplConfigController,
|
|
3719
3711
|
FormTypeEnum,
|
|
3720
|
-
|
|
3712
|
+
aG as ImageDisplayModeEnum,
|
|
3721
3713
|
InstanceStatusValues,
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3714
|
+
aZ as JoinModelTypeEum,
|
|
3715
|
+
at as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3716
|
+
au2 as LEGACY_RUNTIME_SHEET_ID,
|
|
3717
|
+
av as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3718
|
+
a5 as LabelPosition,
|
|
3719
|
+
ap as LineDirection,
|
|
3728
3720
|
L as LineType,
|
|
3729
|
-
|
|
3721
|
+
bZ as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3730
3722
|
M as MAX_RUNTIME_SHEETS,
|
|
3731
3723
|
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3724
|
+
a0 as MBRender,
|
|
3725
|
+
aw as MCDataUtil,
|
|
3726
|
+
a1 as MCRender,
|
|
3735
3727
|
d as MULTI_SHEET_SCHEMA_VERSION,
|
|
3736
3728
|
MaterialConsumeTableController,
|
|
3737
3729
|
MaterialConsumptionPatternEnum,
|
|
3738
3730
|
M2 as MaterialRequisitionTableCore,
|
|
3739
3731
|
MaterialStatusEnum,
|
|
3740
|
-
|
|
3741
|
-
|
|
3732
|
+
a2 as MaterialSubstitutionTableCore,
|
|
3733
|
+
b_ as MobileFillTypeEnum,
|
|
3742
3734
|
NCB_PROVIDE,
|
|
3743
|
-
|
|
3744
|
-
|
|
3735
|
+
ax as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3736
|
+
b$ as OfficeTypeEnum,
|
|
3745
3737
|
O as Orientation,
|
|
3746
3738
|
t as PageSizeEnum,
|
|
3747
3739
|
P as PaginationFormat,
|
|
3748
|
-
|
|
3740
|
+
ag as PaperSizeMap,
|
|
3749
3741
|
q as PaperWidgeType,
|
|
3750
|
-
|
|
3742
|
+
Y as PaperWidgeValueType,
|
|
3751
3743
|
K as ParamModelTypeEnum,
|
|
3752
3744
|
P2 as PartStocktakeTableCore,
|
|
3753
3745
|
PlatformEnum,
|
|
3754
|
-
|
|
3746
|
+
c0 as PosEnum,
|
|
3755
3747
|
b as PretreatmentListTableCore,
|
|
3756
3748
|
c as ProfileDrivenSubTableCore,
|
|
3757
|
-
|
|
3758
|
-
|
|
3749
|
+
c1 as RUNTIME_COLUMN_ROW_KEY,
|
|
3750
|
+
aB as RangeCompareOp,
|
|
3759
3751
|
RangeValidateMode,
|
|
3760
3752
|
RenderModeEnum,
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3753
|
+
ay as RuntimeAsyncTaskCoordinator,
|
|
3754
|
+
az as RuntimeDependencyService,
|
|
3755
|
+
aA as RuntimeFieldRegistry,
|
|
3764
3756
|
RuntimeFormStateStore,
|
|
3765
3757
|
RuntimeInstanceController,
|
|
3766
|
-
|
|
3758
|
+
aB2 as RuntimeInstanceEventBus,
|
|
3767
3759
|
RuntimeInstanceRegistry,
|
|
3768
|
-
|
|
3760
|
+
aC as RuntimePersistenceCoordinator,
|
|
3769
3761
|
RuntimeRuleCompiler,
|
|
3770
3762
|
RuntimeSheetService,
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3763
|
+
aD as RuntimeValidationService,
|
|
3764
|
+
ab as SignShowTypeEnum,
|
|
3765
|
+
a7 as SignatureImageDirectionEnum,
|
|
3766
|
+
a9 as SignatureNumberTypeEnum,
|
|
3767
|
+
aa as SignatureTimeTypeEnum,
|
|
3768
|
+
ac as SignatureTypeEnum,
|
|
3777
3769
|
d2 as SterilizeBatchTableCore,
|
|
3778
|
-
|
|
3779
|
-
|
|
3770
|
+
e2 as StocktakeTableCore,
|
|
3771
|
+
aE as SubTableCore,
|
|
3780
3772
|
SubTableCoreFactory,
|
|
3781
3773
|
h as SubTableType,
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3774
|
+
c2 as SummaryApproveHisTypeEnum,
|
|
3775
|
+
aq as TimeDiffFormat,
|
|
3776
|
+
au as ViewTypeEnum,
|
|
3785
3777
|
W2 as WarehouseInTableCore,
|
|
3786
|
-
|
|
3778
|
+
f as WarehouseInboundTableCore,
|
|
3787
3779
|
g as WarehouseOutTableCore,
|
|
3788
3780
|
h2 as WarehouseOutboundTableCore,
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3781
|
+
ao as WidgetImageSizeMode,
|
|
3782
|
+
c3 as applyCheckDsDataToRuntime,
|
|
3783
|
+
H2 as applyConsumeObjectTraceChange,
|
|
3784
|
+
c4 as applyMedProCheckDsDataToRuntime,
|
|
3793
3785
|
baseDataUtils,
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3786
|
+
c5 as bindRuntimeTableColumns,
|
|
3787
|
+
c6 as buildDeviceBaseQuery,
|
|
3788
|
+
aJ as buildDeviceFilterQuery,
|
|
3789
|
+
aF2 as buildFormChangeDisplayRows,
|
|
3790
|
+
x as buildObjectLotExtraQuery,
|
|
3799
3791
|
buildRuntimeFieldPath,
|
|
3800
|
-
|
|
3801
|
-
|
|
3792
|
+
c7 as calcFillData,
|
|
3793
|
+
c8 as calcUtils,
|
|
3802
3794
|
calculateFormula,
|
|
3803
3795
|
collectAnnotationItemsByLocation,
|
|
3804
3796
|
collectFormChangeFieldLocations,
|
|
3805
3797
|
commonUtils,
|
|
3806
3798
|
convertHistoricalAnnotationLocation,
|
|
3807
|
-
|
|
3808
|
-
|
|
3799
|
+
aG2 as convertV1Runtime,
|
|
3800
|
+
e as createRuntimeDocumentV2,
|
|
3809
3801
|
createRuntimeInstanceContext,
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3802
|
+
c9 as decodeTableCellRowKey,
|
|
3803
|
+
aH as detailsHaveFormChangeRowOps,
|
|
3804
|
+
ca as encodeTableCellRowKey,
|
|
3813
3805
|
enrichFormChangeRowDetails,
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3806
|
+
cb as ensureFrontRowKey,
|
|
3807
|
+
cc as ensureTableRowKeys,
|
|
3808
|
+
aI as extractFormChangeRowDetails,
|
|
3809
|
+
cd as extractKeywordFromQueryData,
|
|
3810
|
+
ce as fetchCheckDsDataForTable,
|
|
3811
|
+
cf as fetchCustomCheckDsData,
|
|
3820
3812
|
fetchHistoryConsume,
|
|
3821
|
-
|
|
3813
|
+
cg as fetchMedProCheckDsData,
|
|
3822
3814
|
fetchOperationReceiveQty,
|
|
3823
3815
|
fetchUdi,
|
|
3824
3816
|
filterAnnotationItemsUpToCurrent,
|
|
3825
|
-
|
|
3826
|
-
|
|
3817
|
+
bp as findRuntimeParentRow,
|
|
3818
|
+
ch as findRuntimeTableCell,
|
|
3827
3819
|
findRuntimeTableRow,
|
|
3828
3820
|
getAppInfo,
|
|
3829
3821
|
getBusinessFieldKey,
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3822
|
+
ci as getCheckTableSnapshotKey,
|
|
3823
|
+
aJ2 as getFormChangeRowKey,
|
|
3824
|
+
aK2 as getFormChangeRowOp,
|
|
3825
|
+
b6 as getLotLockedReason,
|
|
3826
|
+
w as getObjectBomMaterialLotQuery,
|
|
3827
|
+
I as getObjectBomProductQuery,
|
|
3836
3828
|
getParseFormulaVarInfos,
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3829
|
+
cj as getParseRuleConfig,
|
|
3830
|
+
bb as getParseRuleInfo,
|
|
3831
|
+
bc as getParseRuleValue,
|
|
3832
|
+
ck as getReinspectionDate,
|
|
3833
|
+
cl as getRenderedRuntimeTableCell,
|
|
3842
3834
|
getRuntimeDataFieldId,
|
|
3843
3835
|
getRuntimeDependencyOutputKey,
|
|
3844
|
-
|
|
3836
|
+
aL as getSubTableQuickFillInfo,
|
|
3845
3837
|
getSuiteKey,
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3838
|
+
cm as handleOldConfig,
|
|
3839
|
+
cn as hasAnyCheckTableSnapshot,
|
|
3840
|
+
co as hasByTableCheckTableSnapshot,
|
|
3841
|
+
cp as hasSharedCheckTableSnapshot,
|
|
3842
|
+
aM as isAnnLocationSelected,
|
|
3843
|
+
aN as isBlank,
|
|
3852
3844
|
isBomGranted,
|
|
3853
3845
|
isEdhrSuite,
|
|
3854
3846
|
isEqmSuite,
|
|
3855
|
-
|
|
3856
|
-
|
|
3847
|
+
aO2 as isFormChangeGhostRow,
|
|
3848
|
+
cq as isMedProSuite,
|
|
3857
3849
|
isRowAddedInCurrentFormChange,
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3850
|
+
cr as isTableRowKeyMatch,
|
|
3851
|
+
cs as jsonSchemaUtils,
|
|
3852
|
+
ct as judgeUnique,
|
|
3853
|
+
b5 as materialCheck,
|
|
3854
|
+
cu as migrateDiagonalDirectionToVertex,
|
|
3863
3855
|
nextFormChangeRowViewHistoryId,
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3856
|
+
p as normalizeAIOcrTmpl,
|
|
3857
|
+
K2 as normalizeHistoricalAutofillRow,
|
|
3858
|
+
m as normalizeHistoricalBusinessRow,
|
|
3859
|
+
aP as normalizeHistoricalFieldConfig,
|
|
3860
|
+
bd as normalizeRefLoaderResult,
|
|
3869
3861
|
normalizeRuntime,
|
|
3870
3862
|
parseFrontConfig,
|
|
3871
3863
|
parseRuntimeFieldPath,
|
|
3872
3864
|
parseUdi,
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3865
|
+
aQ as pickObjectFieldKeys,
|
|
3866
|
+
aR as recordSubtableRowAdd,
|
|
3867
|
+
aS as recordSubtableRowDelete,
|
|
3868
|
+
aK as refUtils,
|
|
3869
|
+
aT as relocateDeletedRowsToEnd,
|
|
3878
3870
|
renderUtils,
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3871
|
+
cv as requestMedProCheckDsData,
|
|
3872
|
+
cw as requestNonMedProCheckDsData,
|
|
3873
|
+
aU2 as resolveAnnotationFieldLocation,
|
|
3874
|
+
as as resolveDiagonalVertex,
|
|
3883
3875
|
y as resolveFieldRenderComponent,
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3876
|
+
aV2 as resolveFormChangeRowUi,
|
|
3877
|
+
C as resolveObjectBomEntry,
|
|
3878
|
+
y2 as resolveObjectFieldKeys,
|
|
3879
|
+
aW2 as resolveRowFormChangeMark,
|
|
3888
3880
|
resolveUdiQuery,
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3881
|
+
E as runWithFillProduct,
|
|
3882
|
+
t2 as setSelectAnnotationId,
|
|
3883
|
+
aX2 as setSelectMobileTdId,
|
|
3884
|
+
s as setSelectValidatorId,
|
|
3885
|
+
a_ as sqlUtils,
|
|
3886
|
+
cx as stockCheck,
|
|
3887
|
+
aY2 as stripLegacyFormConfigFromPaper,
|
|
3896
3888
|
transformUtils,
|
|
3897
|
-
|
|
3889
|
+
U as useDependency,
|
|
3898
3890
|
useEbrWikiFactoryV2,
|
|
3899
|
-
|
|
3891
|
+
V as useFieldPresentation,
|
|
3900
3892
|
u as useFormModel,
|
|
3901
|
-
|
|
3893
|
+
k as useFormTmplConfig,
|
|
3902
3894
|
useMaterialBalance,
|
|
3903
3895
|
useNocodeEmitter,
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3896
|
+
G as useNocodeFormWidget,
|
|
3897
|
+
cy as useOnlineFormActionButton,
|
|
3898
|
+
bq as useOnlineFormTransformField2Component,
|
|
3907
3899
|
useRenderPageFactory,
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3900
|
+
W as useRuntimeEditorFlusher,
|
|
3901
|
+
r as useRuntimeInstanceServices,
|
|
3902
|
+
v as useRuntimeRowState,
|
|
3903
|
+
T as useStyles,
|
|
3904
|
+
q2 as useWidgetStaticAttrs,
|
|
3905
|
+
A as validateObjectBomForScan,
|
|
3914
3906
|
validateObjectBomQtyOnSubmit,
|
|
3915
|
-
|
|
3907
|
+
b7 as validateReinspectionDate
|
|
3916
3908
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { h as useModelFields, D as Diagonal } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-2mRh7iFw.js";
|
|
3
|
+
import { as as resolveDiagonalVertex, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|