@gct-paas/excel 0.1.40-beta.25 → 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-gOtXQLY_.js → BaseComponent-B0s9C7u7.js} +2 -2
- package/dist/{VueVideoPlayer-CB5VHlj2.js → VueVideoPlayer-BCGJs86_.js} +2 -2
- package/dist/{align-editor-ssy7gJsD.js → align-editor-DBWdbAV_.js} +1 -1
- package/dist/{barcode-design-Mjrep3H_.js → barcode-design-YdLnj4EK.js} +2 -2
- package/dist/base/index.es.js +189 -193
- package/dist/{diagonal-design-CFBp2E-O.js → diagonal-design-vCovyGwZ.js} +2 -2
- package/dist/{dynamic-table-action-BKX0Oeoy.js → dynamic-table-action-9oc6dkLz.js} +144 -215
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js} +751 -320
- package/dist/{edit.utils-CXmmCnxE-CwPcGg-f.js → edit.utils-CXmmCnxE-BvWz-8bv.js} +1 -1
- package/dist/excel.css +12 -12
- package/dist/{exceljs.min-eo-E80If.js → exceljs.min-Dp6PAQE9.js} +2 -2
- package/dist/{font-editor-CAZX85G4.js → font-editor-gcStnuue.js} +3 -3
- package/dist/{image-design-g9R_z-IY.js → image-design-DJ3VRU2t.js} +2 -2
- package/dist/{index--7My1yo5.js → index-2mRh7iFw.js} +350 -192
- package/dist/{index-BBq6DSLI.js → index-7WwJSlNN.js} +2 -2
- package/dist/{index-DEMinegB.js → index-AmKjgww5.js} +1 -1
- package/dist/{index--RhdrCZV.js → index-Avrz1-1F.js} +2 -2
- package/dist/{index-C6oivLbu.js → index-B5AUi6i3.js} +1 -1
- package/dist/{index-DifKRFVy.js → index-BCeR77y-.js} +2 -2
- package/dist/{index-D3cPbNne.js → index-BHTcJLrz.js} +1 -1
- package/dist/{index-DzT1SZ9z.js → index-BYf9Fudx.js} +3 -3
- package/dist/{index-CoKpbR25.js → index-BaCa0TgP.js} +2 -2
- package/dist/{index-BycDrbO0.js → index-BsmHcJs3.js} +2 -2
- package/dist/{index-D-WSp3EA.js → index-CFTsMiRR.js} +1 -1
- package/dist/{index-CpQiCEe7.js → index-CFvLIeFl.js} +1 -1
- package/dist/{index-B9hIqELW.js → index-CLLc5Ob2.js} +1 -1
- package/dist/{index-PUFY8idd.js → index-COOampHb.js} +1 -1
- package/dist/{index-Cpn8pcne.js → index-Ck06j4gn.js} +2 -2
- package/dist/{index-NH1JcF4s.js → index-Cl-QMM1R.js} +2 -2
- package/dist/{index-0S-kw2HL.js → index-CtEUzXVk.js} +2 -2
- package/dist/{index-iYrfBvkL.js → index-CzUGIYOv.js} +2 -2
- package/dist/{index-0pYUJqWX.js → index-D3ZQLjrQ.js} +2 -2
- package/dist/{index-BoGFEaqo.js → index-D6eANpFX.js} +2 -2
- package/dist/{index-NulsmEum.js → index-D90UOUAU.js} +3 -3
- package/dist/{index-DozFqpk2.js → index-D9j3S6qI.js} +1 -1
- package/dist/{index-SrAjB-wq.js → index-DIodi5gH.js} +4 -4
- package/dist/{index-8WHvZyAx.js → index-DPP4WDPc.js} +2 -2
- package/dist/{index-hNdJpzws.js → index-DXqsUrWV.js} +3 -3
- package/dist/{index-BLv5fzzG.js → index-DnsZjDDh.js} +2 -2
- package/dist/{index-Cmr9DRpz.js → index-Dzl5Ukft.js} +1 -1
- package/dist/{index-BMlGh5m0.js → index-Mg-zrcwn.js} +2 -2
- package/dist/{index-jTfc0zM7.js → index-agcLaGBj.js} +2 -2
- package/dist/{index-BLqJtzs6.js → index-cOcBl2Ga.js} +2 -2
- package/dist/{index-DgEDg0_J.js → index-gWEP20xe.js} +3 -3
- package/dist/{index-fcxbS2U1.js → index-iYYd2oH1.js} +3 -3
- package/dist/{index-9Mi1Iiw8.js → index-sWtzbaDv.js} +3 -3
- package/dist/{index-YteSvWxT.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-DjI5GeWt.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-DelDPMV6.js → pagination-design-BZZcBbIF.js} +2 -2
- package/dist/paper-widget-design-Coh8v5mV.js +4 -0
- package/dist/{print-runtime-instance-NcHBwPwX.js → print-runtime-instance-CV0WcU-Z.js} +1 -1
- package/dist/{print-snapshot-renderer-Dw-xzoDx.js → print-snapshot-renderer-hHd4ThE0.js} +3 -3
- package/dist/{qrcode-design-DAYfoLN-.js → qrcode-design-C8d7cE3K.js} +1 -1
- package/dist/{revo-grid.entry-Bh8ebL13.js → revo-grid.entry-DSnc_nH1.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CsJaMH68.js → revogr-attribution_7.entry-D67ci-yw.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DgmZ8Pc0.js → revogr-clipboard_3.entry-C9h0dhAb.js} +2 -2
- package/dist/{revogr-data_4.entry-CPW7BILy.js → revogr-data_4.entry-DuuRVRex.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BpIcSbuR.js → revogr-filter-panel.entry-BeIaYORN.js} +1 -1
- package/dist/seal-design-DfKie-Qg.js +4 -0
- package/dist/{serialnumber-design-C92sT5qW.js → serialnumber-design-wyJY14Fx.js} +1 -1
- package/dist/shared/index.es.js +25 -25
- package/dist/{single-field-drop-BcuqHgNO.js → single-field-drop-CA6EtCtR.js} +2 -2
- package/dist/{size-editor-JdHGylGx.js → size-editor-lAn0ECzs.js} +1 -1
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +2 -0
- 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 +8 -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/online-form/src/views/render/__components__/_field_/trace/composables/useReferenceLabel.d.ts +4 -0
- package/dist/src/shared/enum/field-type.d.ts +1 -1
- package/dist/{sub-table-factory-v9spfnMN.js → sub-table-factory-CwbQEPJq.js} +14 -2
- package/dist/{text-design-BjhwgpUv.js → text-design-Bv4PfeOW.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DQh0IPeE.js → throttle-Cpk1LoGk-BaXaGrUw.js} +1 -1
- package/dist/{timediff-design-D84T_Isx.js → timediff-design-CxT_O6R8.js} +1 -1
- package/dist/{trace-like-wrapper-DHb2jlre.js → trace-like-wrapper-CGe5K_FN.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CV1HsENd.js → value-editor.vue_vue_type_style_index_0_lang-CQTuzWX2.js} +2 -2
- package/dist/{widget-barcode-CNB9Sqle.js → widget-barcode-C83yiwNl.js} +4 -4
- package/dist/{widget-diagonal-6ZDcxCwX.js → widget-diagonal-C-zD-MLy.js} +3 -3
- package/dist/{widget-image-D--Ynjra.js → widget-image-DIcnWHn7.js} +4 -4
- package/dist/{widget-line-CpwqEFD9.js → widget-line-BnMezWy-.js} +2 -2
- package/dist/{widget-pagination-BN3wWsKq.js → widget-pagination-QWM1Nmlo.js} +5 -5
- package/dist/{widget-power-Cn61OOWe.js → widget-power-DnqxPUmW.js} +3 -3
- package/dist/{widget-qrcode-BgUCM01T.js → widget-qrcode-PBnm6ehD.js} +3 -3
- package/dist/{widget-rangelimit-CnNNwIo0.js → widget-rangelimit-CDyYKHeg.js} +3 -3
- package/dist/{widget-serialnumber-gZih5585.js → widget-serialnumber-BwS-Ac9h.js} +1 -1
- package/dist/{widget-text--iXnC5zl.js → widget-text-COW-IQ1P.js} +5 -5
- package/dist/{widget-timediff-DN-FCR7T.js → widget-timediff-RpQcMPpb.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-UPTi8CN4.js +0 -4
- package/dist/seal-design-CeJEHJ-K.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();
|
|
@@ -2868,8 +2857,12 @@ function useRenderPageFactory(props, payload) {
|
|
|
2868
2857
|
onValidate: () => runSubmissionValidation(uniqueId),
|
|
2869
2858
|
onValidationFailed: (result) => record.sheetService.navigateFirstError(Object.keys(result.fields ?? {})),
|
|
2870
2859
|
onGetSubmitData: (formState) => {
|
|
2871
|
-
record.context.services.subTableCoreFactory
|
|
2872
|
-
|
|
2860
|
+
const subTableFactory = record.context.services.subTableCoreFactory;
|
|
2861
|
+
subTableFactory?.prepareSubmitFormState(formState);
|
|
2862
|
+
return transformUtils.getSubmitFormData(formState, {
|
|
2863
|
+
...record.context.businessIndex,
|
|
2864
|
+
businessTableFields: subTableFactory?.getBusinessTableFields() ?? []
|
|
2865
|
+
});
|
|
2873
2866
|
}
|
|
2874
2867
|
})
|
|
2875
2868
|
);
|
|
@@ -2883,6 +2876,9 @@ function useRenderPageFactory(props, payload) {
|
|
|
2883
2876
|
record.fieldInitializer = markRaw(
|
|
2884
2877
|
new RuntimeFieldInitializer(record, res.basicInfo, res.selfInfo)
|
|
2885
2878
|
);
|
|
2879
|
+
record.defaultValueValidation = markRaw(
|
|
2880
|
+
new RuntimeDefaultValueValidation(record, reactiveInfo, res.defaultValueOrigins)
|
|
2881
|
+
);
|
|
2886
2882
|
bindRuntimeBusinessServices(runtimeRegistry, record, res.selfInfo.dataStatus);
|
|
2887
2883
|
dataSourceBindings.push(bindDataSources(record, reactiveInfo, res.selfInfo));
|
|
2888
2884
|
}
|
|
@@ -3614,9 +3610,9 @@ class FormAnnotationController {
|
|
|
3614
3610
|
const items = this.normalizeAllResponse(res);
|
|
3615
3611
|
this.applyAnnotationItems(items, () => true);
|
|
3616
3612
|
return items;
|
|
3617
|
-
} catch (
|
|
3618
|
-
console.error("加载所有批注信息 error",
|
|
3619
|
-
throw
|
|
3613
|
+
} catch (e3) {
|
|
3614
|
+
console.error("加载所有批注信息 error", e3);
|
|
3615
|
+
throw e3;
|
|
3620
3616
|
}
|
|
3621
3617
|
};
|
|
3622
3618
|
handleOpenAnnotation = async () => {
|
|
@@ -3663,250 +3659,250 @@ function filterAnnotationItemsUpToCurrent(items) {
|
|
|
3663
3659
|
});
|
|
3664
3660
|
}
|
|
3665
3661
|
export {
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3662
|
+
aW as AITooltips,
|
|
3663
|
+
A2 as AllocateTableCore,
|
|
3664
|
+
an2 as BaseFormModelFetcher,
|
|
3665
|
+
aY as BinarizeMethodOptions,
|
|
3666
|
+
ba as BindCmpStyleEnum,
|
|
3667
|
+
a6 as BooleanShowMode,
|
|
3672
3668
|
B2 as BorderTD,
|
|
3673
3669
|
BpmnNodeTypeEnum,
|
|
3674
|
-
|
|
3675
|
-
|
|
3670
|
+
bP as BpmnSignatureTypeEnum,
|
|
3671
|
+
bQ as ButtonTypeEnum,
|
|
3676
3672
|
B as BwipCodeType,
|
|
3677
|
-
|
|
3673
|
+
bR as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3678
3674
|
H as CellType,
|
|
3679
|
-
|
|
3675
|
+
am as CellWidgetViewState,
|
|
3680
3676
|
CheckDsTypeEnum,
|
|
3681
|
-
|
|
3677
|
+
bS as CodeRunner,
|
|
3682
3678
|
ComponentTypeEnum,
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
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,
|
|
3694
3690
|
D as DevicePartConsumeTableCore,
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
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,
|
|
3709
3705
|
FillingTypeEnum,
|
|
3710
|
-
|
|
3706
|
+
ar2 as FixedQuickFillModal,
|
|
3711
3707
|
FormAnnotationController,
|
|
3712
3708
|
F as FormModelController,
|
|
3713
3709
|
FormTmplBomController,
|
|
3714
|
-
|
|
3710
|
+
as2 as FormTmplConfigController,
|
|
3715
3711
|
FormTypeEnum,
|
|
3716
|
-
|
|
3712
|
+
aG as ImageDisplayModeEnum,
|
|
3717
3713
|
InstanceStatusValues,
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
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,
|
|
3724
3720
|
L as LineType,
|
|
3725
|
-
|
|
3721
|
+
bZ as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3726
3722
|
M as MAX_RUNTIME_SHEETS,
|
|
3727
3723
|
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3724
|
+
a0 as MBRender,
|
|
3725
|
+
aw as MCDataUtil,
|
|
3726
|
+
a1 as MCRender,
|
|
3731
3727
|
d as MULTI_SHEET_SCHEMA_VERSION,
|
|
3732
3728
|
MaterialConsumeTableController,
|
|
3733
3729
|
MaterialConsumptionPatternEnum,
|
|
3734
3730
|
M2 as MaterialRequisitionTableCore,
|
|
3735
3731
|
MaterialStatusEnum,
|
|
3736
|
-
|
|
3737
|
-
|
|
3732
|
+
a2 as MaterialSubstitutionTableCore,
|
|
3733
|
+
b_ as MobileFillTypeEnum,
|
|
3738
3734
|
NCB_PROVIDE,
|
|
3739
|
-
|
|
3740
|
-
|
|
3735
|
+
ax as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3736
|
+
b$ as OfficeTypeEnum,
|
|
3741
3737
|
O as Orientation,
|
|
3742
3738
|
t as PageSizeEnum,
|
|
3743
3739
|
P as PaginationFormat,
|
|
3744
|
-
|
|
3740
|
+
ag as PaperSizeMap,
|
|
3745
3741
|
q as PaperWidgeType,
|
|
3746
|
-
|
|
3742
|
+
Y as PaperWidgeValueType,
|
|
3747
3743
|
K as ParamModelTypeEnum,
|
|
3748
3744
|
P2 as PartStocktakeTableCore,
|
|
3749
3745
|
PlatformEnum,
|
|
3750
|
-
|
|
3746
|
+
c0 as PosEnum,
|
|
3751
3747
|
b as PretreatmentListTableCore,
|
|
3752
3748
|
c as ProfileDrivenSubTableCore,
|
|
3753
|
-
|
|
3754
|
-
|
|
3749
|
+
c1 as RUNTIME_COLUMN_ROW_KEY,
|
|
3750
|
+
aB as RangeCompareOp,
|
|
3755
3751
|
RangeValidateMode,
|
|
3756
3752
|
RenderModeEnum,
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3753
|
+
ay as RuntimeAsyncTaskCoordinator,
|
|
3754
|
+
az as RuntimeDependencyService,
|
|
3755
|
+
aA as RuntimeFieldRegistry,
|
|
3760
3756
|
RuntimeFormStateStore,
|
|
3761
3757
|
RuntimeInstanceController,
|
|
3762
|
-
|
|
3758
|
+
aB2 as RuntimeInstanceEventBus,
|
|
3763
3759
|
RuntimeInstanceRegistry,
|
|
3764
|
-
|
|
3760
|
+
aC as RuntimePersistenceCoordinator,
|
|
3765
3761
|
RuntimeRuleCompiler,
|
|
3766
3762
|
RuntimeSheetService,
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3763
|
+
aD as RuntimeValidationService,
|
|
3764
|
+
ab as SignShowTypeEnum,
|
|
3765
|
+
a7 as SignatureImageDirectionEnum,
|
|
3766
|
+
a9 as SignatureNumberTypeEnum,
|
|
3767
|
+
aa as SignatureTimeTypeEnum,
|
|
3768
|
+
ac as SignatureTypeEnum,
|
|
3773
3769
|
d2 as SterilizeBatchTableCore,
|
|
3774
|
-
|
|
3775
|
-
|
|
3770
|
+
e2 as StocktakeTableCore,
|
|
3771
|
+
aE as SubTableCore,
|
|
3776
3772
|
SubTableCoreFactory,
|
|
3777
3773
|
h as SubTableType,
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3774
|
+
c2 as SummaryApproveHisTypeEnum,
|
|
3775
|
+
aq as TimeDiffFormat,
|
|
3776
|
+
au as ViewTypeEnum,
|
|
3781
3777
|
W2 as WarehouseInTableCore,
|
|
3782
|
-
|
|
3778
|
+
f as WarehouseInboundTableCore,
|
|
3783
3779
|
g as WarehouseOutTableCore,
|
|
3784
3780
|
h2 as WarehouseOutboundTableCore,
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3781
|
+
ao as WidgetImageSizeMode,
|
|
3782
|
+
c3 as applyCheckDsDataToRuntime,
|
|
3783
|
+
H2 as applyConsumeObjectTraceChange,
|
|
3784
|
+
c4 as applyMedProCheckDsDataToRuntime,
|
|
3789
3785
|
baseDataUtils,
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3786
|
+
c5 as bindRuntimeTableColumns,
|
|
3787
|
+
c6 as buildDeviceBaseQuery,
|
|
3788
|
+
aJ as buildDeviceFilterQuery,
|
|
3789
|
+
aF2 as buildFormChangeDisplayRows,
|
|
3790
|
+
x as buildObjectLotExtraQuery,
|
|
3795
3791
|
buildRuntimeFieldPath,
|
|
3796
|
-
|
|
3797
|
-
|
|
3792
|
+
c7 as calcFillData,
|
|
3793
|
+
c8 as calcUtils,
|
|
3798
3794
|
calculateFormula,
|
|
3799
3795
|
collectAnnotationItemsByLocation,
|
|
3800
3796
|
collectFormChangeFieldLocations,
|
|
3801
3797
|
commonUtils,
|
|
3802
3798
|
convertHistoricalAnnotationLocation,
|
|
3803
|
-
|
|
3804
|
-
|
|
3799
|
+
aG2 as convertV1Runtime,
|
|
3800
|
+
e as createRuntimeDocumentV2,
|
|
3805
3801
|
createRuntimeInstanceContext,
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3802
|
+
c9 as decodeTableCellRowKey,
|
|
3803
|
+
aH as detailsHaveFormChangeRowOps,
|
|
3804
|
+
ca as encodeTableCellRowKey,
|
|
3809
3805
|
enrichFormChangeRowDetails,
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3806
|
+
cb as ensureFrontRowKey,
|
|
3807
|
+
cc as ensureTableRowKeys,
|
|
3808
|
+
aI as extractFormChangeRowDetails,
|
|
3809
|
+
cd as extractKeywordFromQueryData,
|
|
3810
|
+
ce as fetchCheckDsDataForTable,
|
|
3811
|
+
cf as fetchCustomCheckDsData,
|
|
3816
3812
|
fetchHistoryConsume,
|
|
3817
|
-
|
|
3813
|
+
cg as fetchMedProCheckDsData,
|
|
3818
3814
|
fetchOperationReceiveQty,
|
|
3819
3815
|
fetchUdi,
|
|
3820
3816
|
filterAnnotationItemsUpToCurrent,
|
|
3821
|
-
|
|
3822
|
-
|
|
3817
|
+
bp as findRuntimeParentRow,
|
|
3818
|
+
ch as findRuntimeTableCell,
|
|
3823
3819
|
findRuntimeTableRow,
|
|
3824
3820
|
getAppInfo,
|
|
3825
3821
|
getBusinessFieldKey,
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3822
|
+
ci as getCheckTableSnapshotKey,
|
|
3823
|
+
aJ2 as getFormChangeRowKey,
|
|
3824
|
+
aK2 as getFormChangeRowOp,
|
|
3825
|
+
b6 as getLotLockedReason,
|
|
3826
|
+
w as getObjectBomMaterialLotQuery,
|
|
3827
|
+
I as getObjectBomProductQuery,
|
|
3832
3828
|
getParseFormulaVarInfos,
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3829
|
+
cj as getParseRuleConfig,
|
|
3830
|
+
bb as getParseRuleInfo,
|
|
3831
|
+
bc as getParseRuleValue,
|
|
3832
|
+
ck as getReinspectionDate,
|
|
3833
|
+
cl as getRenderedRuntimeTableCell,
|
|
3838
3834
|
getRuntimeDataFieldId,
|
|
3839
3835
|
getRuntimeDependencyOutputKey,
|
|
3840
|
-
|
|
3836
|
+
aL as getSubTableQuickFillInfo,
|
|
3841
3837
|
getSuiteKey,
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3838
|
+
cm as handleOldConfig,
|
|
3839
|
+
cn as hasAnyCheckTableSnapshot,
|
|
3840
|
+
co as hasByTableCheckTableSnapshot,
|
|
3841
|
+
cp as hasSharedCheckTableSnapshot,
|
|
3842
|
+
aM as isAnnLocationSelected,
|
|
3843
|
+
aN as isBlank,
|
|
3848
3844
|
isBomGranted,
|
|
3849
3845
|
isEdhrSuite,
|
|
3850
3846
|
isEqmSuite,
|
|
3851
|
-
|
|
3852
|
-
|
|
3847
|
+
aO2 as isFormChangeGhostRow,
|
|
3848
|
+
cq as isMedProSuite,
|
|
3853
3849
|
isRowAddedInCurrentFormChange,
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3850
|
+
cr as isTableRowKeyMatch,
|
|
3851
|
+
cs as jsonSchemaUtils,
|
|
3852
|
+
ct as judgeUnique,
|
|
3853
|
+
b5 as materialCheck,
|
|
3854
|
+
cu as migrateDiagonalDirectionToVertex,
|
|
3859
3855
|
nextFormChangeRowViewHistoryId,
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3856
|
+
p as normalizeAIOcrTmpl,
|
|
3857
|
+
K2 as normalizeHistoricalAutofillRow,
|
|
3858
|
+
m as normalizeHistoricalBusinessRow,
|
|
3859
|
+
aP as normalizeHistoricalFieldConfig,
|
|
3860
|
+
bd as normalizeRefLoaderResult,
|
|
3865
3861
|
normalizeRuntime,
|
|
3866
3862
|
parseFrontConfig,
|
|
3867
3863
|
parseRuntimeFieldPath,
|
|
3868
3864
|
parseUdi,
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3865
|
+
aQ as pickObjectFieldKeys,
|
|
3866
|
+
aR as recordSubtableRowAdd,
|
|
3867
|
+
aS as recordSubtableRowDelete,
|
|
3868
|
+
aK as refUtils,
|
|
3869
|
+
aT as relocateDeletedRowsToEnd,
|
|
3874
3870
|
renderUtils,
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3871
|
+
cv as requestMedProCheckDsData,
|
|
3872
|
+
cw as requestNonMedProCheckDsData,
|
|
3873
|
+
aU2 as resolveAnnotationFieldLocation,
|
|
3874
|
+
as as resolveDiagonalVertex,
|
|
3879
3875
|
y as resolveFieldRenderComponent,
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3876
|
+
aV2 as resolveFormChangeRowUi,
|
|
3877
|
+
C as resolveObjectBomEntry,
|
|
3878
|
+
y2 as resolveObjectFieldKeys,
|
|
3879
|
+
aW2 as resolveRowFormChangeMark,
|
|
3884
3880
|
resolveUdiQuery,
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
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,
|
|
3892
3888
|
transformUtils,
|
|
3893
|
-
|
|
3889
|
+
U as useDependency,
|
|
3894
3890
|
useEbrWikiFactoryV2,
|
|
3895
|
-
|
|
3891
|
+
V as useFieldPresentation,
|
|
3896
3892
|
u as useFormModel,
|
|
3897
|
-
|
|
3893
|
+
k as useFormTmplConfig,
|
|
3898
3894
|
useMaterialBalance,
|
|
3899
3895
|
useNocodeEmitter,
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3896
|
+
G as useNocodeFormWidget,
|
|
3897
|
+
cy as useOnlineFormActionButton,
|
|
3898
|
+
bq as useOnlineFormTransformField2Component,
|
|
3903
3899
|
useRenderPageFactory,
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3900
|
+
W as useRuntimeEditorFlusher,
|
|
3901
|
+
r as useRuntimeInstanceServices,
|
|
3902
|
+
v as useRuntimeRowState,
|
|
3903
|
+
T as useStyles,
|
|
3904
|
+
q2 as useWidgetStaticAttrs,
|
|
3905
|
+
A as validateObjectBomForScan,
|
|
3910
3906
|
validateObjectBomQtyOnSubmit,
|
|
3911
|
-
|
|
3907
|
+
b7 as validateReinspectionDate
|
|
3912
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";
|