@gct-paas/excel 0.1.40-beta.27 → 0.1.40-beta.28
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-B0s9C7u7.js → BaseComponent-EzX32ZdY.js} +2 -2
- package/dist/{VueVideoPlayer-BCGJs86_.js → VueVideoPlayer-BuuQaqyI.js} +2 -2
- package/dist/{align-editor-DBWdbAV_.js → align-editor-DWHHVeY1.js} +1 -1
- package/dist/{barcode-design-YdLnj4EK.js → barcode-design-B0WcJSEI.js} +2 -2
- package/dist/base/index.es.js +109 -62
- package/dist/{diagonal-design-vCovyGwZ.js → diagonal-design-D6uOJZmP.js} +2 -2
- package/dist/{dynamic-table-action-9oc6dkLz.js → dynamic-table-action-D-ub6KoK.js} +106 -84
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js} +385 -371
- package/dist/{edit.utils-CXmmCnxE-BvWz-8bv.js → edit.utils-CXmmCnxE-CXdATd1V.js} +1 -1
- package/dist/excel.css +29 -20
- package/dist/{exceljs.min-Dp6PAQE9.js → exceljs.min-BXhhaToT.js} +2 -2
- package/dist/{font-editor-gcStnuue.js → font-editor-_HTdKFX6.js} +3 -3
- package/dist/{image-design-DJ3VRU2t.js → image-design-4Ee8rZqa.js} +2 -2
- package/dist/{index-agcLaGBj.js → index-7AmrbQlC.js} +2 -2
- package/dist/{index-DXqsUrWV.js → index-8ZnBcx1k.js} +3 -3
- package/dist/{index-Ck06j4gn.js → index-B4LuUmbW.js} +2 -2
- package/dist/{index-BHTcJLrz.js → index-BCCIwSnM.js} +1 -1
- package/dist/{index-y3jt4BZe.js → index-BHJxBByd.js} +1 -1
- package/dist/{index-sWtzbaDv.js → index-BLf1U1A9.js} +3 -3
- package/dist/{index-CFvLIeFl.js → index-BYq7x5n6.js} +1 -1
- package/dist/{index-DnsZjDDh.js → index-B_DPnVrC.js} +2 -2
- package/dist/{index-D3ZQLjrQ.js → index-Bbyb-owd.js} +2 -2
- package/dist/{index-B5AUi6i3.js → index-BlMiHVOC.js} +1 -1
- package/dist/{index-D6eANpFX.js → index-BnOOLcX1.js} +2 -2
- package/dist/{index-Avrz1-1F.js → index-Bnt54Sc6.js} +2 -2
- package/dist/{index-CtEUzXVk.js → index-CH_C9ijO.js} +2 -2
- package/dist/{index-7WwJSlNN.js → index-CMdXdyvs.js} +2 -2
- package/dist/{index-CzUGIYOv.js → index-CQ0_Kx1_.js} +2 -2
- package/dist/{index-Mg-zrcwn.js → index-Cb7Fh_E2.js} +2 -2
- package/dist/{index-D90UOUAU.js → index-CtVFTmHZ.js} +3 -3
- package/dist/{index-CFTsMiRR.js → index-D3KiKYMR.js} +1 -1
- package/dist/{index-BaCa0TgP.js → index-D87CVHA-.js} +2 -2
- package/dist/{index-AmKjgww5.js → index-DM0OEvdI.js} +1 -1
- package/dist/{index-Dzl5Ukft.js → index-DPTR_QJn.js} +1 -1
- package/dist/{index-cOcBl2Ga.js → index-DVzaxa5k.js} +2 -2
- package/dist/{index-DIodi5gH.js → index-DcXbL-0o.js} +4 -4
- package/dist/{index-iYYd2oH1.js → index-Dn0qfALy.js} +3 -3
- package/dist/{index-Cl-QMM1R.js → index-Dnz3YPDV.js} +2 -2
- package/dist/{index-DPP4WDPc.js → index-DoWp9uDw.js} +2 -2
- package/dist/{index-BCeR77y-.js → index-Dstr-PNj.js} +2 -2
- package/dist/{index-BsmHcJs3.js → index-DzqaKW6e.js} +2 -2
- package/dist/{index-2mRh7iFw.js → index-GoAXo3fT.js} +224 -180
- package/dist/{index-gWEP20xe.js → index-Jy2tofdo.js} +3 -3
- package/dist/{index-BYf9Fudx.js → index-KRo2-iQv.js} +3 -3
- package/dist/{index-COOampHb.js → index-KuhYPy5i.js} +1 -1
- package/dist/{index-CLLc5Ob2.js → index-YlEOHde0.js} +1 -1
- package/dist/{index-D9j3S6qI.js → index-toqlO_-B.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-B79l8Vcj.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAAF0eOB.js} +1 -1
- package/dist/{pagination-design-BZZcBbIF.js → pagination-design-DANnqQdI.js} +2 -2
- package/dist/paper-widget-design-BrE7Bb4V.js +4 -0
- package/dist/{print-runtime-instance-CV0WcU-Z.js → print-runtime-instance-PabaORE2.js} +1 -1
- package/dist/{print-snapshot-renderer-hHd4ThE0.js → print-snapshot-renderer-DQr2G7Hv.js} +3 -3
- package/dist/{qrcode-design-C8d7cE3K.js → qrcode-design-BEA1JchI.js} +1 -1
- package/dist/{revo-grid.entry-DSnc_nH1.js → revo-grid.entry-Bj-4xHie.js} +1 -1
- package/dist/{revogr-attribution_7.entry-D67ci-yw.js → revogr-attribution_7.entry-NvaozwYj.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-C9h0dhAb.js → revogr-clipboard_3.entry-CkRbECsx.js} +2 -2
- package/dist/{revogr-data_4.entry-DuuRVRex.js → revogr-data_4.entry-Dbbd8Mpz.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BeIaYORN.js → revogr-filter-panel.entry-lcMbXUNb.js} +1 -1
- package/dist/seal-design-CX-ZxOn3.js +4 -0
- package/dist/{serialnumber-design-wyJY14Fx.js → serialnumber-design-B608oYcy.js} +1 -1
- package/dist/shared/index.es.js +6 -6
- package/dist/{single-field-drop-CA6EtCtR.js → single-field-drop-CkUP3H7u.js} +2 -2
- package/dist/{size-editor-lAn0ECzs.js → size-editor-Bl-lUcdU.js} +1 -1
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +2 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +2 -1
- package/dist/src/online-form/src/views/designer/types/index.d.ts +3 -1
- package/dist/{sub-table-factory-CwbQEPJq.js → sub-table-factory-GzYKYE9t.js} +2 -2
- package/dist/{text-design-Bv4PfeOW.js → text-design-V3TQuLps.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BaXaGrUw.js → throttle-Cpk1LoGk-CFMeLNb-.js} +1 -1
- package/dist/{timediff-design-CxT_O6R8.js → timediff-design-DRum3zZt.js} +1 -1
- package/dist/{trace-like-wrapper-CGe5K_FN.js → trace-like-wrapper-D1Gzs1mF.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CQTuzWX2.js → value-editor.vue_vue_type_style_index_0_lang-DoOuCca5.js} +2 -2
- package/dist/{widget-barcode-C83yiwNl.js → widget-barcode-CNrl2NxY.js} +4 -4
- package/dist/{widget-diagonal-C-zD-MLy.js → widget-diagonal-CqjD1SwW.js} +3 -3
- package/dist/{widget-image-DIcnWHn7.js → widget-image-Xjl5W2Fp.js} +4 -4
- package/dist/{widget-line-BnMezWy-.js → widget-line-BUVVnwrU.js} +2 -2
- package/dist/{widget-pagination-QWM1Nmlo.js → widget-pagination-DjMXWioI.js} +5 -5
- package/dist/{widget-power-DnqxPUmW.js → widget-power-Dck9H8a9.js} +3 -3
- package/dist/{widget-qrcode-PBnm6ehD.js → widget-qrcode-Cu8BwE24.js} +3 -3
- package/dist/{widget-rangelimit-CDyYKHeg.js → widget-rangelimit-DLxebCKf.js} +3 -3
- package/dist/{widget-serialnumber-BwS-Ac9h.js → widget-serialnumber-DecFCGS0.js} +1 -1
- package/dist/{widget-text-COW-IQ1P.js → widget-text-DV3yKKsx.js} +5 -5
- package/dist/{widget-timediff-RpQcMPpb.js → widget-timediff-BIwewJ39.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-Coh8v5mV.js +0 -4
- package/dist/seal-design-DfKie-Qg.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { has,
|
|
2
|
-
import { computed, defineComponent, ref, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, vShow, createVNode, render as render$1,
|
|
1
|
+
import { has, keyBy, pick, isNil, isEmpty, mapKeys, cloneDeep, flatMap, omit, merge, pickBy, isObject as isObject$1, omitBy, defaults, groupBy, isEqual, get as get$1, last, first } from "lodash-es";
|
|
2
|
+
import { computed, toRaw, defineComponent, ref, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, vShow, createVNode, render as render$1, watch, inject, nextTick as nextTick$1, h as h$1, defineAsyncComponent, getCurrentInstance } from "vue";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
4
|
import { api as api$1 } from "@gct-paas/api";
|
|
5
5
|
var PlatformEnum = /* @__PURE__ */ ((PlatformEnum2) => {
|
|
@@ -4274,6 +4274,240 @@ function resolveDesignPanelFeatures(tableType) {
|
|
|
4274
4274
|
showConfigSection
|
|
4275
4275
|
};
|
|
4276
4276
|
}
|
|
4277
|
+
const uuid2 = (len, radix) => {
|
|
4278
|
+
const chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
|
|
4279
|
+
let uuid = [], i2;
|
|
4280
|
+
radix = radix || chars.length;
|
|
4281
|
+
if (len) {
|
|
4282
|
+
for (i2 = 0; i2 < len; i2++) uuid[i2] = chars[0 | Math.random() * radix];
|
|
4283
|
+
} else {
|
|
4284
|
+
let r;
|
|
4285
|
+
uuid[8] = uuid[13] = uuid[18] = uuid[23] = "-";
|
|
4286
|
+
uuid[14] = "4";
|
|
4287
|
+
for (i2 = 0; i2 < 36; i2++) {
|
|
4288
|
+
if (!uuid[i2]) {
|
|
4289
|
+
r = 0 | Math.random() * 16;
|
|
4290
|
+
uuid[i2] = chars[i2 == 19 ? r & 3 | 8 : r];
|
|
4291
|
+
}
|
|
4292
|
+
}
|
|
4293
|
+
}
|
|
4294
|
+
return uuid.join("");
|
|
4295
|
+
};
|
|
4296
|
+
const normalizeToArray = (val) => Array.isArray(val) ? val.filter((v) => !isNil(v)) : !isNil(val) ? [val] : [];
|
|
4297
|
+
const safeParseArray = (str) => {
|
|
4298
|
+
try {
|
|
4299
|
+
if (!str) return [];
|
|
4300
|
+
const v = JSON.parse(str);
|
|
4301
|
+
return Array.isArray(v) ? v : [];
|
|
4302
|
+
} catch {
|
|
4303
|
+
return [];
|
|
4304
|
+
}
|
|
4305
|
+
};
|
|
4306
|
+
const mergeByMultiKey = (A, B, {
|
|
4307
|
+
keyFields = ["type", "isCustom"],
|
|
4308
|
+
fieldsToMerge = ["alias", "enable"],
|
|
4309
|
+
isAllowMerge = true,
|
|
4310
|
+
isConcat = false
|
|
4311
|
+
} = {}) => {
|
|
4312
|
+
if (!Array.isArray(A)) return [];
|
|
4313
|
+
if (!isAllowMerge || !Array.isArray(B) || B.length === 0) return [...A];
|
|
4314
|
+
if (isConcat && Array.isArray(A) && A.length === 0) return [...B];
|
|
4315
|
+
const keyFn = (item) => keyFields.map((k) => {
|
|
4316
|
+
const v = item?.[k];
|
|
4317
|
+
if (typeof v === "boolean") return String(v);
|
|
4318
|
+
return v == null ? "" : String(v);
|
|
4319
|
+
}).join("::");
|
|
4320
|
+
const bMap = keyBy(B, keyFn);
|
|
4321
|
+
const result = A.map((a) => {
|
|
4322
|
+
const info = bMap[keyFn(a)];
|
|
4323
|
+
return info ? { ...a, ...pick(info, fieldsToMerge) } : { ...a };
|
|
4324
|
+
});
|
|
4325
|
+
return result;
|
|
4326
|
+
};
|
|
4327
|
+
const CLIENT_ROW_UID_KEY = "__gct_rv_uid";
|
|
4328
|
+
const FRONT_ROW_KEY = "front_row_key_";
|
|
4329
|
+
function ensureFrontRowKey(row) {
|
|
4330
|
+
if (!row) return "";
|
|
4331
|
+
const existing = row[FRONT_ROW_KEY];
|
|
4332
|
+
if (existing != null && String(existing).trim() !== "") return String(existing);
|
|
4333
|
+
const uid = Array.isArray(row._2DTABLE_) && row.group_ != null && String(row.group_).trim() !== "" ? `group:${row.group_}` : `r_${Date.now()}_${uuid2(8)}`;
|
|
4334
|
+
row[FRONT_ROW_KEY] = uid;
|
|
4335
|
+
return uid;
|
|
4336
|
+
}
|
|
4337
|
+
const getRowId = (row) => ensureFrontRowKey(row);
|
|
4338
|
+
function ensureTableRowKeys(rows) {
|
|
4339
|
+
if (!Array.isArray(rows)) return;
|
|
4340
|
+
rows.forEach((row) => {
|
|
4341
|
+
if (!row || typeof row !== "object" || Array.isArray(row)) return;
|
|
4342
|
+
ensureFrontRowKey(row);
|
|
4343
|
+
ensureTableRowKeys(row._2DTABLE_);
|
|
4344
|
+
});
|
|
4345
|
+
}
|
|
4346
|
+
function resetTableRowIdentity(row) {
|
|
4347
|
+
delete row.id_;
|
|
4348
|
+
delete row[FRONT_ROW_KEY];
|
|
4349
|
+
if (Array.isArray(row._2DTABLE_) && row.group_ != null) row.group_ = `dyn${uuid2(16)}`;
|
|
4350
|
+
ensureFrontRowKey(row);
|
|
4351
|
+
if (Array.isArray(row._2DTABLE_)) row._2DTABLE_.forEach(resetTableRowIdentity);
|
|
4352
|
+
}
|
|
4353
|
+
const RUNTIME_COLUMN_ROW_KEY = "_column_row_key_";
|
|
4354
|
+
const MAX_FRONT_ROW_KEY_LENGTH = 255;
|
|
4355
|
+
const TABLE_2D_ROW_KEY_PREFIX = "2d1.";
|
|
4356
|
+
function encodeBase64Url(value) {
|
|
4357
|
+
return btoa(
|
|
4358
|
+
Array.from(new TextEncoder().encode(value), (byte) => String.fromCharCode(byte)).join("")
|
|
4359
|
+
).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
4360
|
+
}
|
|
4361
|
+
function decodeBase64Url(value) {
|
|
4362
|
+
const base64 = value.replace(/-/g, "+").replace(/_/g, "/");
|
|
4363
|
+
const padded = base64 + "=".repeat((4 - base64.length % 4) % 4);
|
|
4364
|
+
return new TextDecoder().decode(Uint8Array.from(atob(padded), (char) => char.charCodeAt(0)));
|
|
4365
|
+
}
|
|
4366
|
+
function decodeTableCellRowKey(rowKey) {
|
|
4367
|
+
if (typeof rowKey !== "string" || !rowKey.startsWith(TABLE_2D_ROW_KEY_PREFIX)) return void 0;
|
|
4368
|
+
try {
|
|
4369
|
+
const parsed = JSON.parse(decodeBase64Url(rowKey.slice(TABLE_2D_ROW_KEY_PREFIX.length)));
|
|
4370
|
+
if (!Array.isArray(parsed) || parsed.length !== 2 || parsed.some((item) => typeof item !== "string" || item === ""))
|
|
4371
|
+
return void 0;
|
|
4372
|
+
return { cellRowKey: parsed[0], columnRowKey: parsed[1] };
|
|
4373
|
+
} catch {
|
|
4374
|
+
return void 0;
|
|
4375
|
+
}
|
|
4376
|
+
}
|
|
4377
|
+
function encodeTableCellRowKey(cellRowKey, columnRowKey) {
|
|
4378
|
+
const decoded = decodeTableCellRowKey(cellRowKey);
|
|
4379
|
+
const originalCellRowKey = decoded?.cellRowKey ?? String(cellRowKey ?? "");
|
|
4380
|
+
const persistedColumnRowKey = String(columnRowKey ?? "");
|
|
4381
|
+
if (!originalCellRowKey || !persistedColumnRowKey)
|
|
4382
|
+
throw new Error("二维表子行或关联列缺少 front_row_key_");
|
|
4383
|
+
if (decoded?.columnRowKey === persistedColumnRowKey) return String(cellRowKey);
|
|
4384
|
+
const encoded = `${TABLE_2D_ROW_KEY_PREFIX}${encodeBase64Url(
|
|
4385
|
+
JSON.stringify([originalCellRowKey, persistedColumnRowKey])
|
|
4386
|
+
)}`;
|
|
4387
|
+
if (encoded.length > MAX_FRONT_ROW_KEY_LENGTH)
|
|
4388
|
+
throw new Error(`二维表内置关联键长度超过 ${MAX_FRONT_ROW_KEY_LENGTH},不能提交`);
|
|
4389
|
+
return encoded;
|
|
4390
|
+
}
|
|
4391
|
+
function isTableRowKeyMatch(rowKey, expected) {
|
|
4392
|
+
if (rowKey == null || expected == null) return false;
|
|
4393
|
+
const actual = String(rowKey);
|
|
4394
|
+
const target = String(expected);
|
|
4395
|
+
return actual === target || decodeTableCellRowKey(actual)?.cellRowKey === target;
|
|
4396
|
+
}
|
|
4397
|
+
function splitRuntimeDataPath(path) {
|
|
4398
|
+
const parts = path.split(".");
|
|
4399
|
+
const result = [];
|
|
4400
|
+
for (let index2 = 0; index2 < parts.length; index2++) {
|
|
4401
|
+
const part = parts[index2];
|
|
4402
|
+
const candidate = `${part}.${parts[index2 + 1] ?? ""}`;
|
|
4403
|
+
if (part === "2d1" && decodeTableCellRowKey(candidate)) {
|
|
4404
|
+
result.push(candidate);
|
|
4405
|
+
index2++;
|
|
4406
|
+
} else result.push(part);
|
|
4407
|
+
}
|
|
4408
|
+
return result;
|
|
4409
|
+
}
|
|
4410
|
+
function findRuntimeTableRow(rows, rowKey) {
|
|
4411
|
+
if (!rowKey || !Array.isArray(rows)) return void 0;
|
|
4412
|
+
for (const row of rows) {
|
|
4413
|
+
if (!row || row.deleted_) continue;
|
|
4414
|
+
if (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey)) return row;
|
|
4415
|
+
const child = findRuntimeTableRow(row._2DTABLE_, rowKey);
|
|
4416
|
+
if (child) return child;
|
|
4417
|
+
}
|
|
4418
|
+
return void 0;
|
|
4419
|
+
}
|
|
4420
|
+
function findRuntimeParentRow(rows, rowKey) {
|
|
4421
|
+
if (!rowKey || !Array.isArray(rows)) return void 0;
|
|
4422
|
+
return rows.find(
|
|
4423
|
+
(row) => !row?.deleted_ && (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey) || row._2DTABLE_?.some(
|
|
4424
|
+
(child) => !child?.deleted_ && isTableRowKeyMatch(child[FRONT_ROW_KEY], rowKey)
|
|
4425
|
+
))
|
|
4426
|
+
);
|
|
4427
|
+
}
|
|
4428
|
+
function findRuntimeTableCell(parent, columnRowKey) {
|
|
4429
|
+
if (!columnRowKey || !Array.isArray(parent?._2DTABLE_)) return void 0;
|
|
4430
|
+
return parent._2DTABLE_.find(
|
|
4431
|
+
(child) => !child?.deleted_ && child[RUNTIME_COLUMN_ROW_KEY] === columnRowKey
|
|
4432
|
+
);
|
|
4433
|
+
}
|
|
4434
|
+
function getRenderedRuntimeTableCell(state, info, parent, displayColumn) {
|
|
4435
|
+
if (!info?.colSubFieldKey) {
|
|
4436
|
+
return parent?._2DTABLE_?.at(displayColumn);
|
|
4437
|
+
}
|
|
4438
|
+
const column = state[info.colSubFieldKey]?.at(displayColumn);
|
|
4439
|
+
return column ? findRuntimeTableCell(parent, ensureFrontRowKey(column)) : void 0;
|
|
4440
|
+
}
|
|
4441
|
+
function bindRuntimeTableColumns(state, relations) {
|
|
4442
|
+
const expandedTables = /* @__PURE__ */ new Set();
|
|
4443
|
+
for (const info of relations) {
|
|
4444
|
+
const rows = state[info.rowSubFieldKey];
|
|
4445
|
+
const columns = info.colSubFieldKey ? state[info.colSubFieldKey] : void 0;
|
|
4446
|
+
if (!Array.isArray(rows) || !Array.isArray(columns)) continue;
|
|
4447
|
+
ensureTableRowKeys(columns);
|
|
4448
|
+
for (const parent of rows) {
|
|
4449
|
+
if (!Array.isArray(parent?._2DTABLE_)) continue;
|
|
4450
|
+
ensureTableRowKeys([parent]);
|
|
4451
|
+
const existingKeys = parent._2DTABLE_.map((child) => child[RUNTIME_COLUMN_ROW_KEY]).filter(Boolean);
|
|
4452
|
+
const bound = new Set(existingKeys);
|
|
4453
|
+
if (bound.size !== existingKeys.length)
|
|
4454
|
+
throw new Error(`二维表「${info.rowSubFieldKey}」存在重复的关联列行键`);
|
|
4455
|
+
const available = columns.filter(
|
|
4456
|
+
(column) => !column.deleted_ && !bound.has(ensureFrontRowKey(column))
|
|
4457
|
+
);
|
|
4458
|
+
for (const child of parent._2DTABLE_) {
|
|
4459
|
+
if (child[RUNTIME_COLUMN_ROW_KEY]) continue;
|
|
4460
|
+
const persistedIdentity = decodeTableCellRowKey(child[FRONT_ROW_KEY]);
|
|
4461
|
+
const reference = info.rowRefFieldKey ? child[info.rowRefFieldKey] : void 0;
|
|
4462
|
+
let businessColumn;
|
|
4463
|
+
if (reference != null && reference !== "" && info.colRefFieldKey) {
|
|
4464
|
+
const matches = columns.filter(
|
|
4465
|
+
(candidate) => String(candidate[info.colRefFieldKey]) === String(reference)
|
|
4466
|
+
);
|
|
4467
|
+
if (matches.length !== 1)
|
|
4468
|
+
throw new Error(
|
|
4469
|
+
`二维表「${info.rowSubFieldKey}」的关联列引用「${reference}」无法唯一匹配`
|
|
4470
|
+
);
|
|
4471
|
+
businessColumn = matches[0];
|
|
4472
|
+
}
|
|
4473
|
+
const persistedColumn = persistedIdentity ? columns.find(
|
|
4474
|
+
(candidate) => ensureFrontRowKey(candidate) === persistedIdentity.columnRowKey
|
|
4475
|
+
) : void 0;
|
|
4476
|
+
if (persistedIdentity && !persistedColumn)
|
|
4477
|
+
throw new Error(
|
|
4478
|
+
`二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的内置关联列不存在`
|
|
4479
|
+
);
|
|
4480
|
+
if (businessColumn && persistedColumn && businessColumn !== persistedColumn)
|
|
4481
|
+
throw new Error(
|
|
4482
|
+
`二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的业务引用与内置关联冲突`
|
|
4483
|
+
);
|
|
4484
|
+
const column = businessColumn ?? persistedColumn ?? available.shift();
|
|
4485
|
+
if (!column) throw new Error(`二维表「${info.rowSubFieldKey}」缺少可绑定的关联列行`);
|
|
4486
|
+
const columnKey = ensureFrontRowKey(column);
|
|
4487
|
+
if (bound.has(columnKey))
|
|
4488
|
+
throw new Error(`二维表「${info.rowSubFieldKey}」重复绑定关联列行「${columnKey}」`);
|
|
4489
|
+
toRaw(child)[RUNTIME_COLUMN_ROW_KEY] = columnKey;
|
|
4490
|
+
bound.add(columnKey);
|
|
4491
|
+
const availablePosition = available.indexOf(column);
|
|
4492
|
+
if (availablePosition >= 0) available.splice(availablePosition, 1);
|
|
4493
|
+
}
|
|
4494
|
+
if (!parent.deleted_) {
|
|
4495
|
+
for (const column of available) {
|
|
4496
|
+
const child = {
|
|
4497
|
+
_DICT: {},
|
|
4498
|
+
_OPCT: {},
|
|
4499
|
+
_MCTABLE: {},
|
|
4500
|
+
[RUNTIME_COLUMN_ROW_KEY]: ensureFrontRowKey(column)
|
|
4501
|
+
};
|
|
4502
|
+
ensureFrontRowKey(child);
|
|
4503
|
+
parent._2DTABLE_.push(child);
|
|
4504
|
+
expandedTables.add(info.rowSubFieldKey);
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
}
|
|
4509
|
+
return Array.from(expandedTables);
|
|
4510
|
+
}
|
|
4277
4511
|
function getRuntimeDataFieldId(props = {}) {
|
|
4278
4512
|
return props.field ? props.isFieldModel ? props.fieldLink ?? "" : props.field : "";
|
|
4279
4513
|
}
|
|
@@ -5616,82 +5850,6 @@ function toPx(length, element) {
|
|
|
5616
5850
|
return unit == "px" ? val : pxPerUnit(unit, element) * val;
|
|
5617
5851
|
}
|
|
5618
5852
|
var src = toPx;
|
|
5619
|
-
const uuid2 = (len, radix) => {
|
|
5620
|
-
const chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
|
|
5621
|
-
let uuid = [], i2;
|
|
5622
|
-
radix = radix || chars.length;
|
|
5623
|
-
if (len) {
|
|
5624
|
-
for (i2 = 0; i2 < len; i2++) uuid[i2] = chars[0 | Math.random() * radix];
|
|
5625
|
-
} else {
|
|
5626
|
-
let r;
|
|
5627
|
-
uuid[8] = uuid[13] = uuid[18] = uuid[23] = "-";
|
|
5628
|
-
uuid[14] = "4";
|
|
5629
|
-
for (i2 = 0; i2 < 36; i2++) {
|
|
5630
|
-
if (!uuid[i2]) {
|
|
5631
|
-
r = 0 | Math.random() * 16;
|
|
5632
|
-
uuid[i2] = chars[i2 == 19 ? r & 3 | 8 : r];
|
|
5633
|
-
}
|
|
5634
|
-
}
|
|
5635
|
-
}
|
|
5636
|
-
return uuid.join("");
|
|
5637
|
-
};
|
|
5638
|
-
const normalizeToArray = (val) => Array.isArray(val) ? val.filter((v) => !isNil(v)) : !isNil(val) ? [val] : [];
|
|
5639
|
-
const safeParseArray = (str) => {
|
|
5640
|
-
try {
|
|
5641
|
-
if (!str) return [];
|
|
5642
|
-
const v = JSON.parse(str);
|
|
5643
|
-
return Array.isArray(v) ? v : [];
|
|
5644
|
-
} catch {
|
|
5645
|
-
return [];
|
|
5646
|
-
}
|
|
5647
|
-
};
|
|
5648
|
-
const mergeByMultiKey = (A, B, {
|
|
5649
|
-
keyFields = ["type", "isCustom"],
|
|
5650
|
-
fieldsToMerge = ["alias", "enable"],
|
|
5651
|
-
isAllowMerge = true,
|
|
5652
|
-
isConcat = false
|
|
5653
|
-
} = {}) => {
|
|
5654
|
-
if (!Array.isArray(A)) return [];
|
|
5655
|
-
if (!isAllowMerge || !Array.isArray(B) || B.length === 0) return [...A];
|
|
5656
|
-
if (isConcat && Array.isArray(A) && A.length === 0) return [...B];
|
|
5657
|
-
const keyFn = (item) => keyFields.map((k) => {
|
|
5658
|
-
const v = item?.[k];
|
|
5659
|
-
if (typeof v === "boolean") return String(v);
|
|
5660
|
-
return v == null ? "" : String(v);
|
|
5661
|
-
}).join("::");
|
|
5662
|
-
const bMap = keyBy(B, keyFn);
|
|
5663
|
-
const result = A.map((a) => {
|
|
5664
|
-
const info = bMap[keyFn(a)];
|
|
5665
|
-
return info ? { ...a, ...pick(info, fieldsToMerge) } : { ...a };
|
|
5666
|
-
});
|
|
5667
|
-
return result;
|
|
5668
|
-
};
|
|
5669
|
-
const CLIENT_ROW_UID_KEY = "__gct_rv_uid";
|
|
5670
|
-
const FRONT_ROW_KEY = "front_row_key_";
|
|
5671
|
-
function ensureFrontRowKey(row) {
|
|
5672
|
-
if (!row) return "";
|
|
5673
|
-
const existing = row[FRONT_ROW_KEY];
|
|
5674
|
-
if (existing != null && String(existing).trim() !== "") return String(existing);
|
|
5675
|
-
const uid = Array.isArray(row._2DTABLE_) && row.group_ != null && String(row.group_).trim() !== "" ? `group:${row.group_}` : `r_${Date.now()}_${uuid2(8)}`;
|
|
5676
|
-
row[FRONT_ROW_KEY] = uid;
|
|
5677
|
-
return uid;
|
|
5678
|
-
}
|
|
5679
|
-
const getRowId = (row) => ensureFrontRowKey(row);
|
|
5680
|
-
function ensureTableRowKeys(rows) {
|
|
5681
|
-
if (!Array.isArray(rows)) return;
|
|
5682
|
-
rows.forEach((row) => {
|
|
5683
|
-
if (!row || typeof row !== "object" || Array.isArray(row)) return;
|
|
5684
|
-
ensureFrontRowKey(row);
|
|
5685
|
-
ensureTableRowKeys(row._2DTABLE_);
|
|
5686
|
-
});
|
|
5687
|
-
}
|
|
5688
|
-
function resetTableRowIdentity(row) {
|
|
5689
|
-
delete row.id_;
|
|
5690
|
-
delete row[FRONT_ROW_KEY];
|
|
5691
|
-
if (Array.isArray(row._2DTABLE_) && row.group_ != null) row.group_ = `dyn${uuid2(16)}`;
|
|
5692
|
-
ensureFrontRowKey(row);
|
|
5693
|
-
if (Array.isArray(row._2DTABLE_)) row._2DTABLE_.forEach(resetTableRowIdentity);
|
|
5694
|
-
}
|
|
5695
5853
|
var Syntax;
|
|
5696
5854
|
(function(Syntax2) {
|
|
5697
5855
|
Syntax2["AssignmentExpression"] = "AssignmentExpression";
|
|
@@ -59870,151 +60028,6 @@ async function requestNonMedProCheckDsData(payload) {
|
|
|
59870
60028
|
}
|
|
59871
60029
|
return Object.keys(byTable).length > 0 ? { byTable } : void 0;
|
|
59872
60030
|
}
|
|
59873
|
-
const RUNTIME_COLUMN_ROW_KEY = "_column_row_key_";
|
|
59874
|
-
const MAX_FRONT_ROW_KEY_LENGTH = 255;
|
|
59875
|
-
const TABLE_2D_ROW_KEY_PREFIX = "2d1.";
|
|
59876
|
-
function encodeBase64Url(value) {
|
|
59877
|
-
return btoa(
|
|
59878
|
-
Array.from(new TextEncoder().encode(value), (byte) => String.fromCharCode(byte)).join("")
|
|
59879
|
-
).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
59880
|
-
}
|
|
59881
|
-
function decodeBase64Url(value) {
|
|
59882
|
-
const base64 = value.replace(/-/g, "+").replace(/_/g, "/");
|
|
59883
|
-
const padded = base64 + "=".repeat((4 - base64.length % 4) % 4);
|
|
59884
|
-
return new TextDecoder().decode(Uint8Array.from(atob(padded), (char) => char.charCodeAt(0)));
|
|
59885
|
-
}
|
|
59886
|
-
function decodeTableCellRowKey(rowKey) {
|
|
59887
|
-
if (typeof rowKey !== "string" || !rowKey.startsWith(TABLE_2D_ROW_KEY_PREFIX)) return void 0;
|
|
59888
|
-
try {
|
|
59889
|
-
const parsed = JSON.parse(decodeBase64Url(rowKey.slice(TABLE_2D_ROW_KEY_PREFIX.length)));
|
|
59890
|
-
if (!Array.isArray(parsed) || parsed.length !== 2 || parsed.some((item) => typeof item !== "string" || item === ""))
|
|
59891
|
-
return void 0;
|
|
59892
|
-
return { cellRowKey: parsed[0], columnRowKey: parsed[1] };
|
|
59893
|
-
} catch {
|
|
59894
|
-
return void 0;
|
|
59895
|
-
}
|
|
59896
|
-
}
|
|
59897
|
-
function encodeTableCellRowKey(cellRowKey, columnRowKey) {
|
|
59898
|
-
const decoded = decodeTableCellRowKey(cellRowKey);
|
|
59899
|
-
const originalCellRowKey = decoded?.cellRowKey ?? String(cellRowKey ?? "");
|
|
59900
|
-
const persistedColumnRowKey = String(columnRowKey ?? "");
|
|
59901
|
-
if (!originalCellRowKey || !persistedColumnRowKey)
|
|
59902
|
-
throw new Error("二维表子行或关联列缺少 front_row_key_");
|
|
59903
|
-
if (decoded?.columnRowKey === persistedColumnRowKey) return String(cellRowKey);
|
|
59904
|
-
const encoded = `${TABLE_2D_ROW_KEY_PREFIX}${encodeBase64Url(
|
|
59905
|
-
JSON.stringify([originalCellRowKey, persistedColumnRowKey])
|
|
59906
|
-
)}`;
|
|
59907
|
-
if (encoded.length > MAX_FRONT_ROW_KEY_LENGTH)
|
|
59908
|
-
throw new Error(`二维表内置关联键长度超过 ${MAX_FRONT_ROW_KEY_LENGTH},不能提交`);
|
|
59909
|
-
return encoded;
|
|
59910
|
-
}
|
|
59911
|
-
function isTableRowKeyMatch(rowKey, expected) {
|
|
59912
|
-
if (rowKey == null || expected == null) return false;
|
|
59913
|
-
const actual = String(rowKey);
|
|
59914
|
-
const target = String(expected);
|
|
59915
|
-
return actual === target || decodeTableCellRowKey(actual)?.cellRowKey === target;
|
|
59916
|
-
}
|
|
59917
|
-
function findRuntimeTableRow(rows, rowKey) {
|
|
59918
|
-
if (!rowKey || !Array.isArray(rows)) return void 0;
|
|
59919
|
-
for (const row of rows) {
|
|
59920
|
-
if (!row || row.deleted_) continue;
|
|
59921
|
-
if (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey)) return row;
|
|
59922
|
-
const child = findRuntimeTableRow(row._2DTABLE_, rowKey);
|
|
59923
|
-
if (child) return child;
|
|
59924
|
-
}
|
|
59925
|
-
return void 0;
|
|
59926
|
-
}
|
|
59927
|
-
function findRuntimeParentRow(rows, rowKey) {
|
|
59928
|
-
if (!rowKey || !Array.isArray(rows)) return void 0;
|
|
59929
|
-
return rows.find(
|
|
59930
|
-
(row) => !row?.deleted_ && (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey) || row._2DTABLE_?.some(
|
|
59931
|
-
(child) => !child?.deleted_ && isTableRowKeyMatch(child[FRONT_ROW_KEY], rowKey)
|
|
59932
|
-
))
|
|
59933
|
-
);
|
|
59934
|
-
}
|
|
59935
|
-
function findRuntimeTableCell(parent, columnRowKey) {
|
|
59936
|
-
if (!columnRowKey || !Array.isArray(parent?._2DTABLE_)) return void 0;
|
|
59937
|
-
return parent._2DTABLE_.find(
|
|
59938
|
-
(child) => !child?.deleted_ && child[RUNTIME_COLUMN_ROW_KEY] === columnRowKey
|
|
59939
|
-
);
|
|
59940
|
-
}
|
|
59941
|
-
function getRenderedRuntimeTableCell(state, info, parent, displayColumn) {
|
|
59942
|
-
if (!info?.colSubFieldKey) {
|
|
59943
|
-
return parent?._2DTABLE_?.at(displayColumn);
|
|
59944
|
-
}
|
|
59945
|
-
const column = state[info.colSubFieldKey]?.at(displayColumn);
|
|
59946
|
-
return column ? findRuntimeTableCell(parent, ensureFrontRowKey(column)) : void 0;
|
|
59947
|
-
}
|
|
59948
|
-
function bindRuntimeTableColumns(state, relations) {
|
|
59949
|
-
const expandedTables = /* @__PURE__ */ new Set();
|
|
59950
|
-
for (const info of relations) {
|
|
59951
|
-
const rows = state[info.rowSubFieldKey];
|
|
59952
|
-
const columns = info.colSubFieldKey ? state[info.colSubFieldKey] : void 0;
|
|
59953
|
-
if (!Array.isArray(rows) || !Array.isArray(columns)) continue;
|
|
59954
|
-
ensureTableRowKeys(columns);
|
|
59955
|
-
for (const parent of rows) {
|
|
59956
|
-
if (!Array.isArray(parent?._2DTABLE_)) continue;
|
|
59957
|
-
ensureTableRowKeys([parent]);
|
|
59958
|
-
const existingKeys = parent._2DTABLE_.map((child) => child[RUNTIME_COLUMN_ROW_KEY]).filter(Boolean);
|
|
59959
|
-
const bound = new Set(existingKeys);
|
|
59960
|
-
if (bound.size !== existingKeys.length)
|
|
59961
|
-
throw new Error(`二维表「${info.rowSubFieldKey}」存在重复的关联列行键`);
|
|
59962
|
-
const available = columns.filter(
|
|
59963
|
-
(column) => !column.deleted_ && !bound.has(ensureFrontRowKey(column))
|
|
59964
|
-
);
|
|
59965
|
-
for (const child of parent._2DTABLE_) {
|
|
59966
|
-
if (child[RUNTIME_COLUMN_ROW_KEY]) continue;
|
|
59967
|
-
const persistedIdentity = decodeTableCellRowKey(child[FRONT_ROW_KEY]);
|
|
59968
|
-
const reference = info.rowRefFieldKey ? child[info.rowRefFieldKey] : void 0;
|
|
59969
|
-
let businessColumn;
|
|
59970
|
-
if (reference != null && reference !== "" && info.colRefFieldKey) {
|
|
59971
|
-
const matches = columns.filter(
|
|
59972
|
-
(candidate) => String(candidate[info.colRefFieldKey]) === String(reference)
|
|
59973
|
-
);
|
|
59974
|
-
if (matches.length !== 1)
|
|
59975
|
-
throw new Error(
|
|
59976
|
-
`二维表「${info.rowSubFieldKey}」的关联列引用「${reference}」无法唯一匹配`
|
|
59977
|
-
);
|
|
59978
|
-
businessColumn = matches[0];
|
|
59979
|
-
}
|
|
59980
|
-
const persistedColumn = persistedIdentity ? columns.find(
|
|
59981
|
-
(candidate) => ensureFrontRowKey(candidate) === persistedIdentity.columnRowKey
|
|
59982
|
-
) : void 0;
|
|
59983
|
-
if (persistedIdentity && !persistedColumn)
|
|
59984
|
-
throw new Error(
|
|
59985
|
-
`二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的内置关联列不存在`
|
|
59986
|
-
);
|
|
59987
|
-
if (businessColumn && persistedColumn && businessColumn !== persistedColumn)
|
|
59988
|
-
throw new Error(
|
|
59989
|
-
`二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的业务引用与内置关联冲突`
|
|
59990
|
-
);
|
|
59991
|
-
const column = businessColumn ?? persistedColumn ?? available.shift();
|
|
59992
|
-
if (!column) throw new Error(`二维表「${info.rowSubFieldKey}」缺少可绑定的关联列行`);
|
|
59993
|
-
const columnKey = ensureFrontRowKey(column);
|
|
59994
|
-
if (bound.has(columnKey))
|
|
59995
|
-
throw new Error(`二维表「${info.rowSubFieldKey}」重复绑定关联列行「${columnKey}」`);
|
|
59996
|
-
toRaw(child)[RUNTIME_COLUMN_ROW_KEY] = columnKey;
|
|
59997
|
-
bound.add(columnKey);
|
|
59998
|
-
const availablePosition = available.indexOf(column);
|
|
59999
|
-
if (availablePosition >= 0) available.splice(availablePosition, 1);
|
|
60000
|
-
}
|
|
60001
|
-
if (!parent.deleted_) {
|
|
60002
|
-
for (const column of available) {
|
|
60003
|
-
const child = {
|
|
60004
|
-
_DICT: {},
|
|
60005
|
-
_OPCT: {},
|
|
60006
|
-
_MCTABLE: {},
|
|
60007
|
-
[RUNTIME_COLUMN_ROW_KEY]: ensureFrontRowKey(column)
|
|
60008
|
-
};
|
|
60009
|
-
ensureFrontRowKey(child);
|
|
60010
|
-
parent._2DTABLE_.push(child);
|
|
60011
|
-
expandedTables.add(info.rowSubFieldKey);
|
|
60012
|
-
}
|
|
60013
|
-
}
|
|
60014
|
-
}
|
|
60015
|
-
}
|
|
60016
|
-
return Array.from(expandedTables);
|
|
60017
|
-
}
|
|
60018
60031
|
const DEFAULT_FROM_STATE = {
|
|
60019
60032
|
_DICT: {},
|
|
60020
60033
|
//翻译的字段
|
|
@@ -68600,27 +68613,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
68600
68613
|
case "revo-grid":
|
|
68601
68614
|
return import(
|
|
68602
68615
|
/* webpackMode: "lazy" */
|
|
68603
|
-
"./revo-grid.entry-
|
|
68616
|
+
"./revo-grid.entry-Bj-4xHie.js"
|
|
68604
68617
|
).then(processMod, consoleError);
|
|
68605
68618
|
case "revogr-filter-panel":
|
|
68606
68619
|
return import(
|
|
68607
68620
|
/* webpackMode: "lazy" */
|
|
68608
|
-
"./revogr-filter-panel.entry-
|
|
68621
|
+
"./revogr-filter-panel.entry-lcMbXUNb.js"
|
|
68609
68622
|
).then(processMod, consoleError);
|
|
68610
68623
|
case "revogr-attribution_7":
|
|
68611
68624
|
return import(
|
|
68612
68625
|
/* webpackMode: "lazy" */
|
|
68613
|
-
"./revogr-attribution_7.entry-
|
|
68626
|
+
"./revogr-attribution_7.entry-NvaozwYj.js"
|
|
68614
68627
|
).then(processMod, consoleError);
|
|
68615
68628
|
case "revogr-clipboard_3":
|
|
68616
68629
|
return import(
|
|
68617
68630
|
/* webpackMode: "lazy" */
|
|
68618
|
-
"./revogr-clipboard_3.entry-
|
|
68631
|
+
"./revogr-clipboard_3.entry-CkRbECsx.js"
|
|
68619
68632
|
).then(processMod, consoleError);
|
|
68620
68633
|
case "revogr-data_4":
|
|
68621
68634
|
return import(
|
|
68622
68635
|
/* webpackMode: "lazy" */
|
|
68623
|
-
"./revogr-data_4.entry-
|
|
68636
|
+
"./revogr-data_4.entry-Dbbd8Mpz.js"
|
|
68624
68637
|
).then(processMod, consoleError);
|
|
68625
68638
|
}
|
|
68626
68639
|
}
|
|
@@ -79015,7 +79028,7 @@ export {
|
|
|
79015
79028
|
getRuntimeDataFieldId as by,
|
|
79016
79029
|
listRuntimeFieldRows as bz,
|
|
79017
79030
|
getProfileByTableType as c,
|
|
79018
|
-
|
|
79031
|
+
TABLE_TYPE$b as c$,
|
|
79019
79032
|
PosEnum as c0,
|
|
79020
79033
|
RUNTIME_COLUMN_ROW_KEY as c1,
|
|
79021
79034
|
SummaryApproveHisTypeEnum as c2,
|
|
@@ -79026,33 +79039,33 @@ export {
|
|
|
79026
79039
|
calcFillData as c7,
|
|
79027
79040
|
calcUtils as c8,
|
|
79028
79041
|
decodeTableCellRowKey as c9,
|
|
79029
|
-
|
|
79030
|
-
|
|
79031
|
-
|
|
79032
|
-
|
|
79033
|
-
|
|
79034
|
-
|
|
79035
|
-
|
|
79036
|
-
|
|
79037
|
-
|
|
79038
|
-
|
|
79039
|
-
|
|
79040
|
-
|
|
79041
|
-
|
|
79042
|
-
|
|
79043
|
-
|
|
79044
|
-
|
|
79045
|
-
|
|
79046
|
-
|
|
79047
|
-
|
|
79048
|
-
|
|
79049
|
-
F$
|
|
79050
|
-
|
|
79051
|
-
|
|
79052
|
-
|
|
79053
|
-
|
|
79054
|
-
|
|
79055
|
-
|
|
79042
|
+
getFieldPlaceholder as cA,
|
|
79043
|
+
isReferenceOptionActive as cB,
|
|
79044
|
+
FRONT_ROW_KEY as cC,
|
|
79045
|
+
getCurrentFormData as cD,
|
|
79046
|
+
resetTableRowIdentity as cE,
|
|
79047
|
+
q as cF,
|
|
79048
|
+
QUICK_FILL_ALLOWED_FIELDS as cG,
|
|
79049
|
+
groupFixedTableRows as cH,
|
|
79050
|
+
processQuickFillRows as cI,
|
|
79051
|
+
getIsGroupEmpty as cJ,
|
|
79052
|
+
CardControlEnum as cK,
|
|
79053
|
+
EntityModelTypeEnum as cL,
|
|
79054
|
+
RecordNoGenerateEnum as cM,
|
|
79055
|
+
TagTypeEnum as cN,
|
|
79056
|
+
F$3 as cO,
|
|
79057
|
+
FILL_FROM_TARGET_PRODUCT_OPTION as cP,
|
|
79058
|
+
F$6 as cQ,
|
|
79059
|
+
SCAN_ROW_CONTENT_FIELDS as cR,
|
|
79060
|
+
F$7 as cS,
|
|
79061
|
+
runRowHandler as cT,
|
|
79062
|
+
F$a as cU,
|
|
79063
|
+
F$9 as cV,
|
|
79064
|
+
FILL_FROM_SOURCE_PRODUCT_OPTION as cW,
|
|
79065
|
+
FILL_FROM_TARGET_MATERIAL_NO_OPTION as cX,
|
|
79066
|
+
FILL_FROM_INVENTORY_OPTION$2 as cY,
|
|
79067
|
+
FILL_FROM_PART_OPTION as cZ,
|
|
79068
|
+
FILL_FROM_INVENTORY_OPTION$3 as c_,
|
|
79056
79069
|
encodeTableCellRowKey as ca,
|
|
79057
79070
|
ensureFrontRowKey as cb,
|
|
79058
79071
|
ensureTableRowKeys as cc,
|
|
@@ -79076,123 +79089,124 @@ export {
|
|
|
79076
79089
|
migrateDiagonalDirectionToVertex as cu,
|
|
79077
79090
|
requestMedProCheckDsData as cv,
|
|
79078
79091
|
requestNonMedProCheckDsData as cw,
|
|
79079
|
-
|
|
79080
|
-
|
|
79081
|
-
|
|
79092
|
+
splitRuntimeDataPath as cx,
|
|
79093
|
+
stockCheck as cy,
|
|
79094
|
+
useOnlineFormActionButton as cz,
|
|
79082
79095
|
getBusinessProfileByRefModelType as d,
|
|
79083
|
-
|
|
79084
|
-
|
|
79085
|
-
|
|
79086
|
-
|
|
79087
|
-
|
|
79088
|
-
|
|
79089
|
-
|
|
79090
|
-
|
|
79091
|
-
|
|
79092
|
-
|
|
79093
|
-
|
|
79094
|
-
|
|
79095
|
-
|
|
79096
|
-
|
|
79097
|
-
|
|
79098
|
-
|
|
79099
|
-
|
|
79100
|
-
|
|
79101
|
-
|
|
79102
|
-
|
|
79103
|
-
|
|
79104
|
-
|
|
79105
|
-
|
|
79106
|
-
|
|
79107
|
-
|
|
79108
|
-
|
|
79109
|
-
|
|
79110
|
-
|
|
79111
|
-
|
|
79112
|
-
|
|
79113
|
-
|
|
79114
|
-
|
|
79115
|
-
|
|
79116
|
-
|
|
79117
|
-
|
|
79118
|
-
|
|
79119
|
-
|
|
79120
|
-
|
|
79121
|
-
|
|
79122
|
-
|
|
79123
|
-
|
|
79124
|
-
|
|
79125
|
-
|
|
79126
|
-
|
|
79127
|
-
|
|
79128
|
-
|
|
79129
|
-
|
|
79130
|
-
|
|
79131
|
-
|
|
79132
|
-
|
|
79133
|
-
|
|
79134
|
-
|
|
79135
|
-
|
|
79136
|
-
|
|
79137
|
-
|
|
79138
|
-
|
|
79139
|
-
|
|
79140
|
-
|
|
79141
|
-
|
|
79142
|
-
|
|
79143
|
-
|
|
79144
|
-
|
|
79145
|
-
|
|
79096
|
+
nextCell as d$,
|
|
79097
|
+
FILL_FROM_INVENTORY_OPTION$1 as d0,
|
|
79098
|
+
INVENTORY_BASE_FIELDS as d1,
|
|
79099
|
+
resolveGroupByWarehouse as d2,
|
|
79100
|
+
AUTO_LOAD_READONLY_SELECT_FIELDS as d3,
|
|
79101
|
+
buildFillFromInventoryOption as d4,
|
|
79102
|
+
resolveStocktakeInventoryApi as d5,
|
|
79103
|
+
F$5 as d6,
|
|
79104
|
+
FILL_FROM_INVENTORY_OPTION as d7,
|
|
79105
|
+
LOCKED_INPUT_FIELDS as d8,
|
|
79106
|
+
composeProductionLotListQuery as d9,
|
|
79107
|
+
isStretchPlugin as dA,
|
|
79108
|
+
AutoSizeColumnPlugin as dB,
|
|
79109
|
+
FilterPlugin as dC,
|
|
79110
|
+
ExportFilePlugin as dD,
|
|
79111
|
+
SortingPlugin as dE,
|
|
79112
|
+
ColumnMovePlugin as dF,
|
|
79113
|
+
ThemeService as dG,
|
|
79114
|
+
h as dH,
|
|
79115
|
+
Host as dI,
|
|
79116
|
+
getElement as dJ,
|
|
79117
|
+
BasePlugin as dK,
|
|
79118
|
+
reduce as dL,
|
|
79119
|
+
columnTypes as dM,
|
|
79120
|
+
debounce$1 as dN,
|
|
79121
|
+
RESIZE_INTERVAL as dO,
|
|
79122
|
+
DimensionStore as dP,
|
|
79123
|
+
gatherTrimmedItems as dQ,
|
|
79124
|
+
getColumnSizes as dR,
|
|
79125
|
+
getItemByIndex as dS,
|
|
79126
|
+
DataStore as dT,
|
|
79127
|
+
getSourceItem as dU,
|
|
79128
|
+
getSourceItemVirtualIndexByProp as dV,
|
|
79129
|
+
getColumnType as dW,
|
|
79130
|
+
setSourceByPhysicalIndex as dX,
|
|
79131
|
+
setSourceByVirtualIndex as dY,
|
|
79132
|
+
SelectionStore as dZ,
|
|
79133
|
+
cropCellToMax as d_,
|
|
79134
|
+
F as da,
|
|
79135
|
+
isProductManuallyEditable as db,
|
|
79136
|
+
applyFillFromMfgOrderOption as dc,
|
|
79137
|
+
applyFillFromOption as dd,
|
|
79138
|
+
applyFillFromProductOption as de,
|
|
79139
|
+
mergeQueryFilters as df,
|
|
79140
|
+
composeMaterialLotListQuery as dg,
|
|
79141
|
+
MATERIAL_CONTAINER_ID as dh,
|
|
79142
|
+
F$c as di,
|
|
79143
|
+
PRODUCT_QUICK_SEARCH_FIELDS as dj,
|
|
79144
|
+
PRODUCT_QUICK_SEARCH_EXP as dk,
|
|
79145
|
+
isProductManuallyEditable$1 as dl,
|
|
79146
|
+
applyFillFromMaterialNoOption as dm,
|
|
79147
|
+
applyFillFromProductOption$1 as dn,
|
|
79148
|
+
F$b as dp,
|
|
79149
|
+
FILL_FROM_INVENTORY_OPTION$4 as dq,
|
|
79150
|
+
registerInstance as dr,
|
|
79151
|
+
createEvent as ds,
|
|
79152
|
+
getColumnByProp as dt,
|
|
79153
|
+
timeout as du,
|
|
79154
|
+
getVisibleSourceItem as dv,
|
|
79155
|
+
getColumns as dw,
|
|
79156
|
+
rowTypes as dx,
|
|
79157
|
+
GroupingRowPlugin as dy,
|
|
79158
|
+
StretchColumn as dz,
|
|
79146
79159
|
expandAutofillTemplates as e,
|
|
79147
|
-
|
|
79148
|
-
|
|
79149
|
-
|
|
79150
|
-
|
|
79151
|
-
|
|
79152
|
-
|
|
79153
|
-
|
|
79154
|
-
|
|
79155
|
-
|
|
79156
|
-
|
|
79157
|
-
|
|
79158
|
-
|
|
79159
|
-
|
|
79160
|
-
|
|
79161
|
-
|
|
79162
|
-
|
|
79163
|
-
|
|
79164
|
-
|
|
79165
|
-
|
|
79166
|
-
|
|
79167
|
-
|
|
79168
|
-
|
|
79169
|
-
|
|
79170
|
-
|
|
79171
|
-
|
|
79172
|
-
|
|
79173
|
-
|
|
79174
|
-
|
|
79175
|
-
|
|
79176
|
-
|
|
79177
|
-
|
|
79178
|
-
|
|
79179
|
-
|
|
79180
|
-
|
|
79181
|
-
|
|
79182
|
-
|
|
79183
|
-
|
|
79184
|
-
|
|
79185
|
-
|
|
79186
|
-
|
|
79187
|
-
|
|
79188
|
-
|
|
79189
|
-
|
|
79190
|
-
|
|
79191
|
-
|
|
79192
|
-
|
|
79193
|
-
|
|
79194
|
-
|
|
79195
|
-
|
|
79160
|
+
isRowType as e0,
|
|
79161
|
+
ViewportStore as e1,
|
|
79162
|
+
AndOrButton as e2,
|
|
79163
|
+
ReorderButton as e3,
|
|
79164
|
+
TrashButton as e4,
|
|
79165
|
+
isFilterBtn as e5,
|
|
79166
|
+
ColumnService as e6,
|
|
79167
|
+
MOBILE_CLASS as e7,
|
|
79168
|
+
SELECTION_BORDER_CLASS as e8,
|
|
79169
|
+
getCellData as e9,
|
|
79170
|
+
isRowDragService as eA,
|
|
79171
|
+
DRAG_ICON_CLASS as eB,
|
|
79172
|
+
DRAGGABLE_CLASS as eC,
|
|
79173
|
+
getCellDataParsed as eD,
|
|
79174
|
+
GROUP_EXPAND_EVENT as eE,
|
|
79175
|
+
isGrouping as eF,
|
|
79176
|
+
HEADER_ROW_CLASS as eG,
|
|
79177
|
+
HEADER_ACTUAL_ROW_CLASS as eH,
|
|
79178
|
+
ROW_FOCUSED_CLASS as eI,
|
|
79179
|
+
HEADER_SORTABLE_CLASS as eJ,
|
|
79180
|
+
MIN_COL_SIZE as eK,
|
|
79181
|
+
FilterButton as eL,
|
|
79182
|
+
HeaderCellRenderer as eM,
|
|
79183
|
+
HEADER_CLASS as eN,
|
|
79184
|
+
getCellEditor as ea,
|
|
79185
|
+
getRange as eb,
|
|
79186
|
+
isRangeSingleCell as ec,
|
|
79187
|
+
codesLetter as ed,
|
|
79188
|
+
calculateRowHeaderSize as ee,
|
|
79189
|
+
ROW_HEADER_TYPE as ef,
|
|
79190
|
+
getScrollbarSize as eg,
|
|
79191
|
+
FOCUS_CLASS as eh,
|
|
79192
|
+
CELL_HANDLER_CLASS as ei,
|
|
79193
|
+
TMP_SELECTION_BG_CLASS as ej,
|
|
79194
|
+
getItemByPosition as ek,
|
|
79195
|
+
EDIT_INPUT_WR as el,
|
|
79196
|
+
keyValues as em,
|
|
79197
|
+
isObject as en,
|
|
79198
|
+
DRAGG_TEXT as eo,
|
|
79199
|
+
PSEUDO_GROUP_ITEM as ep,
|
|
79200
|
+
GROUP_EXPANDED as eq,
|
|
79201
|
+
GROUP_DEPTH as er,
|
|
79202
|
+
GROUP_EXPAND_BTN as es,
|
|
79203
|
+
DATA_ROW as et,
|
|
79204
|
+
isGroupingColumn as eu,
|
|
79205
|
+
GROUP_COLUMN_PROP as ev,
|
|
79206
|
+
getCellRaw as ew,
|
|
79207
|
+
DATA_COL as ex,
|
|
79208
|
+
CELL_CLASS as ey,
|
|
79209
|
+
Build as ez,
|
|
79196
79210
|
resolveAutofillToField as f,
|
|
79197
79211
|
getAllDataProfiles as g,
|
|
79198
79212
|
SubTableType as h,
|