@gct-paas/excel 0.1.39-beta.43 → 0.1.39-beta.45
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-DhTXxc4x.js → BaseComponent-BcMUXzWr.js} +1 -1
- package/dist/{barcode-design-NS1lArmz.js → barcode-design-DCo5X-NW.js} +1 -1
- package/dist/base/index.es.js +4 -4
- package/dist/{diagonal-design-Cwftu7hx.js → diagonal-design-CTC7YZ27.js} +1 -1
- package/dist/{dynamic-table-action-prScpPSO.js → dynamic-table-action-CTBy77AD.js} +16 -14
- package/dist/excel.css +64 -50
- package/dist/{exceljs.min-C8jXFWc7.js → exceljs.min-BHi5L338.js} +1 -1
- package/dist/{font-editor-CsApTDPC.js → font-editor--mgAlMck.js} +1 -1
- package/dist/{index-D9hguffi.js → index-B2tkugA7.js} +52 -37
- package/dist/{index-DCrPZFf7.js → index-B39BtiX-.js} +2 -2
- package/dist/{index-CKEpTba9.js → index-BMEKVMta.js} +2 -2
- package/dist/{index-D1mJkeww.js → index-B_wIm0c_.js} +1 -1
- package/dist/{index-DyMkQIRS.js → index-Bz009Lre.js} +1 -1
- package/dist/{index-D_up7D_j.js → index-CDLTNhDs.js} +1 -1
- package/dist/{index-CbsfoOi4.js → index-CFZlwM2O.js} +1 -1
- package/dist/{index-DxlyGiK8.js → index-CPgE97o3.js} +2 -2
- package/dist/{index-k2fPE1RL.js → index-CiW7CSPh.js} +1 -1
- package/dist/{index-Bjd5wuw-.js → index-Cit7v0Sn.js} +1 -1
- package/dist/{index-BEIwixHG.js → index-CizCUtiP.js} +1 -1
- package/dist/{index-CxPjhQyf.js → index-Clecgmwq.js} +1 -1
- package/dist/{index-D9x5f9Aq.js → index-CqDSzVbY.js} +1 -1
- package/dist/{index-BHvLNvGx.js → index-CrAk2XO5.js} +1 -1
- package/dist/{index-8qbd3NxM.js → index-D2OOg_P9.js} +2 -2
- package/dist/{index-BH-h7Bat.js → index-DAYRbY4X.js} +1 -1
- package/dist/{index-D6wyJoQk.js → index-DMPLAalb.js} +3 -3
- package/dist/{index-yo02_Auy.js → index-DOkOt95L.js} +1 -1
- package/dist/{index-BVdJYwE3.js → index-Des_Z7g-.js} +1 -1
- package/dist/{index-COddIoq-.js → index-Dig1Y-WI.js} +2 -2
- package/dist/{index-D-Xv5wzv.js → index-Dnaztyex.js} +1 -1
- package/dist/{index-DK3dd2is.js → index-DtpStBfx.js} +2 -2
- package/dist/{index-mfqsTXoB.js → index-GQjqLjCV.js} +1 -1
- package/dist/{index-0mcNFwv7.js → index-_l9ejJci.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-DITDQsUU.js → pagination-design-D8s2QR4I.js} +1 -1
- package/dist/paper-widget-design-CEdEkvnQ.js +4 -0
- package/dist/{print-runtime-instance-CvgieNN9.js → print-runtime-instance-DMKmR64C.js} +1 -1
- package/dist/{print-snapshot-renderer-ex82O_4p.js → print-snapshot-renderer-Dqh4wq32.js} +3 -3
- package/dist/{qrcode-design-BGpk7DbL.js → qrcode-design-CAl6czye.js} +1 -1
- package/dist/seal-design-CWPtNAMf.js +4 -0
- package/dist/{single-field-drop-D6uaQgvU.js → single-field-drop-VsopxP2Q.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +2 -2
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -0
- package/dist/{sub-table-factory-BN0oN8fv.js → sub-table-factory-Ch6_9YNA.js} +1 -1
- package/dist/{text-design-BWOLDnTX.js → text-design-BhAmwouQ.js} +1 -1
- package/dist/{trace-like-wrapper-Cpc_zYa_.js → trace-like-wrapper-BKilXIvf.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-frsVEjsA.js → value-editor.vue_vue_type_style_index_0_lang-D8HDJ4_Y.js} +1 -1
- package/dist/{widget-barcode-EVHu7mED.js → widget-barcode-BRgk5gJJ.js} +2 -2
- package/dist/{widget-diagonal-Diw_gUHO.js → widget-diagonal-ZRIIfCLT.js} +2 -2
- package/dist/{widget-image-Cbtyhn6y.js → widget-image-BYbhP5K2.js} +1 -1
- package/dist/{widget-line-DUUUqzV9.js → widget-line-D_AZ1rPP.js} +1 -1
- package/dist/{widget-pagination-BN0-keGV.js → widget-pagination-a49kG9bb.js} +2 -2
- package/dist/{widget-power-Bh_7NHI0.js → widget-power-CXpS_5Fa.js} +2 -2
- package/dist/{widget-qrcode-B03rwAGe.js → widget-qrcode-31D-nG6D.js} +2 -2
- package/dist/{widget-rangelimit-BInkWZeQ.js → widget-rangelimit-CbKUOqCH.js} +2 -2
- package/dist/{widget-serialnumber-BaL2uasA.js → widget-serialnumber-Dd3xlWF_.js} +1 -1
- package/dist/{widget-text-C0Y_wCd_.js → widget-text-B9Sz6JsF.js} +3 -3
- package/dist/{widget-timediff-vo-vEV1L.js → widget-timediff-DL5l1QV-.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-BGs8VQMz.js +0 -4
- package/dist/seal-design-BTVRnLdn.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { h as normalizeFieldWidth } from "./dynamic-table-action-CTBy77AD.js";
|
|
2
2
|
import { get, pick } from "lodash-es";
|
|
3
3
|
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
4
4
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-B2tkugA7.js";
|
|
4
4
|
import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { E as api, _ as PlatformEnum, F as FIELD_TYPE, bc as getRowId, bd as findRuntimeTableRow, b5 as RenderModeEnum, C as ComponentTypeEnum, aF as Dependency_ENUM, aE as ASSIGNMENTSTRATEGY_ENUM, bn as fetchHistoryConsume, bo as isBomGranted, aT as renderUtils, bm as uuid2, bp as parseFrontConfig, aI as CheckDsTypeEnum, aC as transformUtils, bq as baseDataUtils, X as FormTypeEnum, br as normalizeToArray, bs as safeParseArray, bt as BpmnNodeTypeEnum, bu as mergeByMultiKey, a7 as _export_sfc, bv as evaluateInspectionDecisionRule, bw as useNocodeEmitter, bx as commonUtils, aG as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
2
2
|
import { aL, aN, a_, a0, by, bz, B, bA, y, af, bB, bC, bD, bb, bE, aQ, av, aM, aJ, aK, bF, ag, ak, bG, bH, aD, a2, ae, aw, aO, $, ai, L, bI, bJ, bK, O, p, P, a9, o, Q, A, bL, bM, au, at, a5, a1, a3, a4, a6, f, bN, aj, an, ah, bO, bP, bQ, bR, ba, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, be, c0, c1, aW, c2, a$, b0, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, aV, cd, b1, b8, ce, cf, al, t, aP, cg, ch, bf, aX } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
3
|
-
import { a2 as getRuntimeDataFieldId, O as parseRuntimeFieldPath, a3 as buildRuntimeFieldPath, a4 as resolveRuntimeFieldProps, a5 as resolveRuntimeFieldState, a6 as assembleRules, a7 as isAttachFieldActive, P as calculateFormula, a8 as getRuntimeDependencyOutputKey, a9 as isRowAddedInCurrentFormChange, c as getParseFormulaVarInfos, w as MaterialConsumptionPatternEnum, aa as MaterialConsumeTableController, ab as setFormulaParamsConfig, ac as normalizeRuntime, V as createRuntimeInstanceContext, ad as initializeSealFields, U as RuntimeFormStateStore, ae as RuntimeSheetService, g as getBusinessFieldKey, af as validateObjectBomQtyOnSubmit, ag as areValidationCommentsEqual, ah as closeValidatorPopovers, ai as enrichFormChangeRowDetails, N as NCB_PROVIDE, W as RuntimeInstanceRegistry, aj as useMaterialBalance, ak as collectFormChangeFieldLocations, al as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, am, k, a1 as a12, an as an2, $ as $2, ao, a0 as a02, F, ap, aq, ar, as, at as at2, M, a, au as au2, b, av as av2, aw as aw2, ax, ay, az, aA, aB, aC, C, aD as aD2, t as t2, aE, d, aF, aG, aH, aI, r, E, aJ as aJ2, aK as aK2, aL as aL2, aM as aM2, l, G, j, aN as aN2, aO as aO2, aP as aP2, aQ as aQ2, aR, aS, aT, y as y2, v, aU, z, p as p2, aV as aV2, s, aW as aW2, R, S, u, A as A2, T, o as o2, q, Q as Q2, m, x } from "../dynamic-table-action-
|
|
3
|
+
import { a2 as getRuntimeDataFieldId, O as parseRuntimeFieldPath, a3 as buildRuntimeFieldPath, a4 as resolveRuntimeFieldProps, a5 as resolveRuntimeFieldState, a6 as assembleRules, a7 as isAttachFieldActive, P as calculateFormula, a8 as getRuntimeDependencyOutputKey, a9 as isRowAddedInCurrentFormChange, c as getParseFormulaVarInfos, w as MaterialConsumptionPatternEnum, aa as MaterialConsumeTableController, ab as setFormulaParamsConfig, ac as normalizeRuntime, V as createRuntimeInstanceContext, ad as initializeSealFields, U as RuntimeFormStateStore, ae as RuntimeSheetService, g as getBusinessFieldKey, af as validateObjectBomQtyOnSubmit, ag as areValidationCommentsEqual, ah as closeValidatorPopovers, ai as enrichFormChangeRowDetails, N as NCB_PROVIDE, W as RuntimeInstanceRegistry, aj as useMaterialBalance, ak as collectFormChangeFieldLocations, al as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-CTBy77AD.js";
|
|
4
|
+
import { B as B2, am, k, a1 as a12, an as an2, $ as $2, ao, a0 as a02, F, ap, aq, ar, as, at as at2, M, a, au as au2, b, av as av2, aw as aw2, ax, ay, az, aA, aB, aC, C, aD as aD2, t as t2, aE, d, aF, aG, aH, aI, r, E, aJ as aJ2, aK as aK2, aL as aL2, aM as aM2, l, G, j, aN as aN2, aO as aO2, aP as aP2, aQ as aQ2, aR, aS, aT, y as y2, v, aU, z, p as p2, aV as aV2, s, aW as aW2, R, S, u, A as A2, T, o as o2, q, Q as Q2, m, x } from "../dynamic-table-action-CTBy77AD.js";
|
|
5
5
|
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, ref, provide, onUnmounted, markRaw, reactive, onBeforeUnmount } from "vue";
|
|
6
6
|
import { cloneDeep, defaults, isEmpty, merge } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-
|
|
9
|
-
import { A as A3, D, M as M2, a as a7, P as P2, b as b2, c, d as d2, e, W, f as f2, g, h } from "../sub-table-factory-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-Ch6_9YNA.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a7, P as P2, b as b2, c, d as d2, e, W, f as f2, g, h } from "../sub-table-factory-Ch6_9YNA.js";
|
|
10
10
|
import { B as B3, F as F2, M as M3, a as a8, u as u2 } from "../mb-render-BjNRjLdf.js";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { h as useModelFields, D as Diagonal } from "./index-
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-B2tkugA7.js";
|
|
3
3
|
import { al as resolveDiagonalVertex, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -146,7 +146,8 @@ class RuntimeDependencyService {
|
|
|
146
146
|
}
|
|
147
147
|
schedule(change) {
|
|
148
148
|
if (this.disposed) return;
|
|
149
|
-
|
|
149
|
+
const labelsOnly = change.paths.length > 0 && change.paths.every((path) => path.endsWith("_lb_"));
|
|
150
|
+
if (change.source === "restore" && !labelsOnly) change = { ...change, paths: ["*"] };
|
|
150
151
|
this.effects.forEach((effect) => {
|
|
151
152
|
if (this.matches(effect, change.paths)) this.cancelExecution(effect.id);
|
|
152
153
|
});
|
|
@@ -4738,7 +4739,7 @@ class BomEntryValidator {
|
|
|
4738
4739
|
}
|
|
4739
4740
|
/** 需求总量 = 数量倍数 × BOM 单位用量 */
|
|
4740
4741
|
get total() {
|
|
4741
|
-
return this.materialNoNum * this.bomEntry.qty_required_;
|
|
4742
|
+
return this.materialNoNum * Number(this.bomEntry.qty_required_);
|
|
4742
4743
|
}
|
|
4743
4744
|
/**
|
|
4744
4745
|
* 翻译物料的code
|
|
@@ -4892,12 +4893,12 @@ class BomEntryValidator {
|
|
|
4892
4893
|
*/
|
|
4893
4894
|
calcQtyConsumed(arr = this.historyData) {
|
|
4894
4895
|
const groupData = this.filterGroupData(arr);
|
|
4895
|
-
return groupData.reduce((acc, cur) => acc + (cur.qty_ ?? 0), 0);
|
|
4896
|
+
return groupData.reduce((acc, cur) => acc + Number(cur.qty_ ?? 0), 0);
|
|
4896
4897
|
}
|
|
4897
4898
|
/** 上下限校验统一按需求单位口径取转换数量,历史数据未转换时兼容原数量。 */
|
|
4898
4899
|
calcQtyForBounds(arr) {
|
|
4899
4900
|
const groupData = this.filterGroupData(arr);
|
|
4900
|
-
return groupData.reduce((acc, cur) => acc + (cur.qty_transfer_ ?? cur.qty_ ?? 0), 0);
|
|
4901
|
+
return groupData.reduce((acc, cur) => acc + Number(cur.qty_transfer_ ?? cur.qty_ ?? 0), 0);
|
|
4901
4902
|
}
|
|
4902
4903
|
/**
|
|
4903
4904
|
* 计算自定义的数量校验的最大值和最小值
|
|
@@ -4912,9 +4913,10 @@ class BomEntryValidator {
|
|
|
4912
4913
|
try {
|
|
4913
4914
|
const json = JSON.parse(str);
|
|
4914
4915
|
if (json.expr) {
|
|
4915
|
-
|
|
4916
|
-
qty_required_: data.qty_required_
|
|
4916
|
+
const value = await window.gct_expression.execute(json.expr, {
|
|
4917
|
+
qty_required_: data.qty_required_ == null ? data.qty_required_ : Number(data.qty_required_)
|
|
4917
4918
|
});
|
|
4919
|
+
return value == null ? void 0 : Number(value);
|
|
4918
4920
|
} else {
|
|
4919
4921
|
console.warn("没有配置表达式");
|
|
4920
4922
|
}
|
|
@@ -4941,8 +4943,8 @@ class BomEntryValidator {
|
|
|
4941
4943
|
const loaded = this.calcQtyConsumed(arr);
|
|
4942
4944
|
let required4 = this.remainingNum;
|
|
4943
4945
|
if (this.isCustomRequiredQty) {
|
|
4944
|
-
const currentQty = groupData[0]?.qty_required_;
|
|
4945
|
-
if (
|
|
4946
|
+
const currentQty = Number(groupData[0]?.qty_required_);
|
|
4947
|
+
if (!Number.isFinite(currentQty) || currentQty <= 0) {
|
|
4946
4948
|
throw new Error(
|
|
4947
4949
|
groupNo != null && groupNo > 0 ? `序号${groupNo},需求数量必须大于 0` : "需求数量必须大于 0"
|
|
4948
4950
|
);
|
|
@@ -5756,7 +5758,7 @@ function calcGroupRowSpans(rows, validator) {
|
|
|
5756
5758
|
function calcGroupQtyConsumedTotal(entryIdx, tableData, validator) {
|
|
5757
5759
|
if (entryIdx < 0) return 0;
|
|
5758
5760
|
return tableData.reduce((sum, row) => {
|
|
5759
|
-
return validator.resolveEntryIndex(row) === entryIdx ? sum + (row.qty_ ?? 0) : sum;
|
|
5761
|
+
return validator.resolveEntryIndex(row) === entryIdx ? sum + Number(row.qty_ ?? 0) : sum;
|
|
5760
5762
|
}, 0);
|
|
5761
5763
|
}
|
|
5762
5764
|
function syncGroupQtyConsumedTotals(tableData, validator) {
|
|
@@ -6007,7 +6009,7 @@ class MaterialConsumeTableController {
|
|
|
6007
6009
|
return this.actualBomEntries.map((i) => {
|
|
6008
6010
|
return {
|
|
6009
6011
|
product_id_: i.product_id_,
|
|
6010
|
-
...materialNoNum === void 0 ? {} : { qty_required_: i.qty_required_ * materialNoNum },
|
|
6012
|
+
...materialNoNum === void 0 ? {} : { qty_required_: Number(i.qty_required_) * Number(materialNoNum) },
|
|
6011
6013
|
bom_entry_id_: i.id_
|
|
6012
6014
|
};
|
|
6013
6015
|
});
|
|
@@ -6338,7 +6340,7 @@ class MaterialConsumeTableController {
|
|
|
6338
6340
|
const formData = transformFields.reduce((acc, cur) => {
|
|
6339
6341
|
if (!cur.targetField) return acc;
|
|
6340
6342
|
if (cur.sourceField === FormulaRuleFieldKeyEnum.INPUT) {
|
|
6341
|
-
acc[cur.sourceField] = row.qty_;
|
|
6343
|
+
acc[cur.sourceField] = row.qty_ == null ? row.qty_ : Number(row.qty_);
|
|
6342
6344
|
} else if (cur.targetField.includes(".")) {
|
|
6343
6345
|
const fieldKey = cur.targetField.split(".").pop();
|
|
6344
6346
|
acc[cur.sourceField] = row[fieldKey];
|
|
@@ -6350,7 +6352,7 @@ class MaterialConsumeTableController {
|
|
|
6350
6352
|
try {
|
|
6351
6353
|
const res = await calculate(formulaContent, formData);
|
|
6352
6354
|
Object.assign(row, {
|
|
6353
|
-
qty_transfer_: res,
|
|
6355
|
+
qty_transfer_: res == null ? res : Number(res),
|
|
6354
6356
|
qty_transfer_uom_id_: targetUnitId,
|
|
6355
6357
|
transfer_formula_: formulaContent
|
|
6356
6358
|
});
|
|
@@ -6534,7 +6536,7 @@ class MaterialConsumeTableController {
|
|
|
6534
6536
|
const modifySingleRow = (index) => {
|
|
6535
6537
|
const row = this.actualTableData[index];
|
|
6536
6538
|
if (!row.product_id_) {
|
|
6537
|
-
row.qty_consumed_ =
|
|
6539
|
+
row.qty_consumed_ = Number(row.qty_ ?? 0);
|
|
6538
6540
|
return;
|
|
6539
6541
|
}
|
|
6540
6542
|
let total = 0;
|
|
@@ -6543,7 +6545,7 @@ class MaterialConsumeTableController {
|
|
|
6543
6545
|
if (util) {
|
|
6544
6546
|
total += util.hasConsumed;
|
|
6545
6547
|
util.filterGroupData(beforeArr).forEach((i) => {
|
|
6546
|
-
total += i.qty_ ?? 0;
|
|
6548
|
+
total += Number(i.qty_ ?? 0);
|
|
6547
6549
|
});
|
|
6548
6550
|
row.qty_consumed_ = total;
|
|
6549
6551
|
}
|
package/dist/excel.css
CHANGED
|
@@ -2661,7 +2661,7 @@ body > div {
|
|
|
2661
2661
|
* }
|
|
2662
2662
|
*/
|
|
2663
2663
|
/* stylelint-disable scss/no-global-function-names */
|
|
2664
|
-
.cell-widget-design[data-v-
|
|
2664
|
+
.cell-widget-design[data-v-0c318157] {
|
|
2665
2665
|
display: inline-flex;
|
|
2666
2666
|
position: relative;
|
|
2667
2667
|
z-index: 2;
|
|
@@ -2675,31 +2675,31 @@ body > div {
|
|
|
2675
2675
|
font-weight: 400;
|
|
2676
2676
|
line-height: 18px;
|
|
2677
2677
|
}
|
|
2678
|
-
.cell-widget-design .prefix[data-v-
|
|
2679
|
-
.cell-widget-design .suffix[data-v-
|
|
2678
|
+
.cell-widget-design .prefix[data-v-0c318157],
|
|
2679
|
+
.cell-widget-design .suffix[data-v-0c318157] {
|
|
2680
2680
|
flex-shrink: 0;
|
|
2681
2681
|
}
|
|
2682
|
-
.cell-widget-design[data-v-
|
|
2682
|
+
.cell-widget-design[data-v-0c318157] * {
|
|
2683
2683
|
pointer-events: none;
|
|
2684
2684
|
}
|
|
2685
|
-
.cell-widget-design--with-prefix[data-v-
|
|
2686
|
-
.cell-widget-design--with-suffix[data-v-
|
|
2685
|
+
.cell-widget-design--with-prefix[data-v-0c318157],
|
|
2686
|
+
.cell-widget-design--with-suffix[data-v-0c318157] {
|
|
2687
2687
|
box-sizing: border-box;
|
|
2688
2688
|
}
|
|
2689
|
-
.cell-widget-design--with-prefix[data-v-
|
|
2689
|
+
.cell-widget-design--with-prefix[data-v-0c318157] {
|
|
2690
2690
|
padding-left: 2px;
|
|
2691
2691
|
}
|
|
2692
|
-
.cell-widget-design--with-suffix[data-v-
|
|
2692
|
+
.cell-widget-design--with-suffix[data-v-0c318157] {
|
|
2693
2693
|
padding-right: 2px;
|
|
2694
2694
|
}
|
|
2695
|
-
.cell-widget-design--fixed-affix[data-v-
|
|
2695
|
+
.cell-widget-design--fixed-affix[data-v-0c318157] {
|
|
2696
2696
|
max-width: none;
|
|
2697
2697
|
}
|
|
2698
|
-
.cell-widget-design--fixed-affix > .cell-widget-design__component[data-v-
|
|
2698
|
+
.cell-widget-design--fixed-affix > .cell-widget-design__component[data-v-0c318157] {
|
|
2699
2699
|
flex: 0 0 auto;
|
|
2700
2700
|
max-width: none;
|
|
2701
2701
|
}
|
|
2702
|
-
.cell-widget-design__component[data-v-
|
|
2702
|
+
.cell-widget-design__component[data-v-0c318157] {
|
|
2703
2703
|
display: inline-flex;
|
|
2704
2704
|
flex: 1 1 auto;
|
|
2705
2705
|
align-items: center;
|
|
@@ -2707,14 +2707,23 @@ body > div {
|
|
|
2707
2707
|
max-width: 100%;
|
|
2708
2708
|
vertical-align: middle;
|
|
2709
2709
|
}
|
|
2710
|
-
.cell-widget-design--
|
|
2710
|
+
.cell-widget-design--unwrapped-options[data-v-0c318157] {
|
|
2711
|
+
flex-shrink: 0;
|
|
2712
|
+
min-width: max-content;
|
|
2713
|
+
max-width: none;
|
|
2714
|
+
}
|
|
2715
|
+
.cell-widget-design--unwrapped-options > .cell-widget-design__component[data-v-0c318157] {
|
|
2716
|
+
min-width: max-content;
|
|
2717
|
+
max-width: none;
|
|
2718
|
+
}
|
|
2719
|
+
.cell-widget-design--wrap-affix[data-v-0c318157] {
|
|
2711
2720
|
display: inline-block;
|
|
2712
2721
|
max-width: 100%;
|
|
2713
2722
|
}
|
|
2714
|
-
.cell-widget-design--wrap-affix > .cell-widget-design__component[data-v-
|
|
2723
|
+
.cell-widget-design--wrap-affix > .cell-widget-design__component[data-v-0c318157] {
|
|
2715
2724
|
max-width: none;
|
|
2716
2725
|
}
|
|
2717
|
-
.cell-widget-design--wrap-affix > div[data-v-
|
|
2726
|
+
.cell-widget-design--wrap-affix > div[data-v-0c318157]:not(.cell-widget-design__component) {
|
|
2718
2727
|
display: inline;
|
|
2719
2728
|
}.widget-barcode .wrapper[data-v-e32407c0] {
|
|
2720
2729
|
text-align: center;
|
|
@@ -3094,13 +3103,13 @@ body > div {
|
|
|
3094
3103
|
max-width: 20px;
|
|
3095
3104
|
height: 20px;
|
|
3096
3105
|
}
|
|
3097
|
-
td[data-v-
|
|
3106
|
+
td[data-v-e082ef2d] {
|
|
3098
3107
|
position: relative;
|
|
3099
3108
|
}
|
|
3100
|
-
td.sheet-cell--edit[data-v-
|
|
3109
|
+
td.sheet-cell--edit[data-v-e082ef2d] {
|
|
3101
3110
|
overflow: visible;
|
|
3102
3111
|
}
|
|
3103
|
-
td .input[data-v-
|
|
3112
|
+
td .input[data-v-e082ef2d] {
|
|
3104
3113
|
position: absolute;
|
|
3105
3114
|
top: 0;
|
|
3106
3115
|
left: 0;
|
|
@@ -3110,8 +3119,8 @@ td .input[data-v-e393c404] {
|
|
|
3110
3119
|
height: fit-content;
|
|
3111
3120
|
min-height: 100%;
|
|
3112
3121
|
}
|
|
3113
|
-
td .input > .input-auto-expand[data-v-
|
|
3114
|
-
td .input > .input-component[data-v-
|
|
3122
|
+
td .input > .input-auto-expand[data-v-e082ef2d],
|
|
3123
|
+
td .input > .input-component[data-v-e082ef2d] {
|
|
3115
3124
|
box-sizing: border-box;
|
|
3116
3125
|
min-height: 32px;
|
|
3117
3126
|
padding: 4px 11px;
|
|
@@ -3123,7 +3132,7 @@ td .input > .input-component[data-v-e393c404] {
|
|
|
3123
3132
|
vertical-align: bottom;
|
|
3124
3133
|
white-space: pre;
|
|
3125
3134
|
}
|
|
3126
|
-
td .input > .input-component[data-v-
|
|
3135
|
+
td .input > .input-component[data-v-e082ef2d] {
|
|
3127
3136
|
position: absolute;
|
|
3128
3137
|
top: 0;
|
|
3129
3138
|
left: 0;
|
|
@@ -3133,7 +3142,7 @@ td .input > .input-component[data-v-e393c404] {
|
|
|
3133
3142
|
overflow: hidden;
|
|
3134
3143
|
resize: none;
|
|
3135
3144
|
}
|
|
3136
|
-
td .input > .input-component[data-v-
|
|
3145
|
+
td .input > .input-component[data-v-e082ef2d]:focus {
|
|
3137
3146
|
border: none;
|
|
3138
3147
|
/* 移除边框颜色 */
|
|
3139
3148
|
border-radius: 2px;
|
|
@@ -3143,14 +3152,14 @@ td .input > .input-component[data-v-e393c404]:focus {
|
|
|
3143
3152
|
box-shadow: none;
|
|
3144
3153
|
/* 移除阴影 */
|
|
3145
3154
|
}
|
|
3146
|
-
td > span[data-v-
|
|
3155
|
+
td > span[data-v-e082ef2d] {
|
|
3147
3156
|
visibility: hidden;
|
|
3148
3157
|
}
|
|
3149
|
-
td .multi-fields-area[data-v-
|
|
3158
|
+
td .multi-fields-area[data-v-e082ef2d] {
|
|
3150
3159
|
flex-wrap: var(--auto-line-break, no-wrap);
|
|
3151
3160
|
align-content: var(--alignItems, center);
|
|
3152
3161
|
}
|
|
3153
|
-
td .multi-fields-area[data-v-
|
|
3162
|
+
td .multi-fields-area[data-v-e082ef2d]::before {
|
|
3154
3163
|
content: attr(data-placeholder);
|
|
3155
3164
|
position: absolute;
|
|
3156
3165
|
z-index: 9;
|
|
@@ -3164,7 +3173,7 @@ td .multi-fields-area[data-v-e393c404]::before {
|
|
|
3164
3173
|
line-height: 18px;
|
|
3165
3174
|
pointer-events: none;
|
|
3166
3175
|
}
|
|
3167
|
-
td .multi-fields-spacer[data-v-
|
|
3176
|
+
td .multi-fields-spacer[data-v-e082ef2d] {
|
|
3168
3177
|
flex: none;
|
|
3169
3178
|
align-self: stretch;
|
|
3170
3179
|
background: transparent;
|
|
@@ -22104,7 +22113,7 @@ svg[data-v-9a7c8184] {
|
|
|
22104
22113
|
cursor: pointer;
|
|
22105
22114
|
pointer-events: none;
|
|
22106
22115
|
}
|
|
22107
|
-
.enum-checkbox-group[data-v-
|
|
22116
|
+
.enum-checkbox-group[data-v-784964bd] {
|
|
22108
22117
|
display: flex;
|
|
22109
22118
|
flex-wrap: var(--auto-line-break, nowrap);
|
|
22110
22119
|
align-items: center;
|
|
@@ -22117,88 +22126,88 @@ svg[data-v-9a7c8184] {
|
|
|
22117
22126
|
/*** 水平(横向) */
|
|
22118
22127
|
/*** 垂直(纵向) */
|
|
22119
22128
|
}
|
|
22120
|
-
.enum-checkbox-group > span[data-v-
|
|
22129
|
+
.enum-checkbox-group > span[data-v-784964bd] {
|
|
22121
22130
|
display: inline-flex;
|
|
22122
22131
|
flex: 0 0 auto;
|
|
22123
22132
|
align-items: center;
|
|
22124
22133
|
}
|
|
22125
|
-
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-
|
|
22134
|
+
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-784964bd] {
|
|
22126
22135
|
display: inline-flex;
|
|
22127
22136
|
align-items: center;
|
|
22128
22137
|
margin: 0;
|
|
22129
22138
|
font-size: var(--size, 12px);
|
|
22130
22139
|
line-height: 18px;
|
|
22131
22140
|
}
|
|
22132
|
-
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-
|
|
22141
|
+
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-784964bd]::after {
|
|
22133
22142
|
display: none;
|
|
22134
22143
|
}
|
|
22135
|
-
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-
|
|
22144
|
+
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-784964bd] > span.ant-checkbox {
|
|
22136
22145
|
top: 0;
|
|
22137
22146
|
}
|
|
22138
|
-
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-
|
|
22147
|
+
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-784964bd] > span:last-child {
|
|
22139
22148
|
padding-right: 0;
|
|
22140
22149
|
padding-left: 0;
|
|
22141
22150
|
font-size: var(--size, 12px);
|
|
22142
22151
|
line-height: 18px;
|
|
22143
22152
|
text-wrap: nowrap;
|
|
22144
22153
|
}
|
|
22145
|
-
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-
|
|
22154
|
+
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-784964bd]:not(.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-checked) .ant-checkbox-inner {
|
|
22146
22155
|
border-color: var(--cell-field-border-color);
|
|
22147
22156
|
background-color: var(--cell-field-background-color);
|
|
22148
22157
|
}
|
|
22149
|
-
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-checked[data-v-
|
|
22158
|
+
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-checked[data-v-784964bd] .ant-checkbox-inner {
|
|
22150
22159
|
border: none;
|
|
22151
22160
|
background: url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%20427319677'%3e%3crect%20id='Rectangle%205160'%20width='16'%20height='16'%20rx='2'%20fill='%23026AC8'/%3e%3cpath%20id='check'%20d='M6.82634%2011.4861L6.81307%2011.5L3.5%208.0363L4.5788%206.90847L6.82638%209.2582L11.4212%204.5L12.5%205.62783L6.83965%2011.5L6.82634%2011.4861Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e") center / 16px 16px no-repeat;
|
|
22152
22161
|
}
|
|
22153
|
-
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-checked[data-v-
|
|
22162
|
+
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-checked[data-v-784964bd] .ant-checkbox-inner::after {
|
|
22154
22163
|
display: none;
|
|
22155
22164
|
}
|
|
22156
|
-
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-
|
|
22165
|
+
.enum-checkbox-group label.ant-checkbox-wrapper[data-v-784964bd]:hover:not(.enum-checkbox-group label.ant-checkbox-wrapper:hover.ant-checkbox-wrapper-checked) .ant-checkbox-inner {
|
|
22157
22166
|
border-color: var(--cell-field-border-hover-color);
|
|
22158
22167
|
}
|
|
22159
|
-
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled[data-v-
|
|
22168
|
+
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled[data-v-784964bd] {
|
|
22160
22169
|
color: #8b8b8b;
|
|
22161
22170
|
}
|
|
22162
|
-
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled[data-v-
|
|
22171
|
+
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled[data-v-784964bd] .ant-checkbox-inner {
|
|
22163
22172
|
border-color: #e0e3eb !important;
|
|
22164
22173
|
background-color: #f2f3f5 !important;
|
|
22165
22174
|
}
|
|
22166
|
-
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled.ant-checkbox-wrapper-checked[data-v-
|
|
22175
|
+
.enum-checkbox-group label.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled.ant-checkbox-wrapper-checked[data-v-784964bd] .ant-checkbox-inner {
|
|
22167
22176
|
background-image: url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%20427319677'%3e%3crect%20id='Rectangle%205160'%20x='0.5'%20y='0.5'%20width='15'%20height='15'%20rx='1.5'%20fill='%23F2F3F5'%20stroke='%23E0E3EB'/%3e%3cpath%20id='check'%20d='M6.82634%2011.4861L6.81307%2011.5L3.5%208.0363L4.5788%206.90847L6.82638%209.2582L11.4212%204.5L12.5%205.62783L6.83965%2011.5L6.82634%2011.4861Z'%20fill='%23B1B4BA'/%3e%3c/g%3e%3c/svg%3e");
|
|
22168
22177
|
}
|
|
22169
|
-
.enum-checkbox-group.text-pos-after label.ant-checkbox-wrapper[data-v-
|
|
22178
|
+
.enum-checkbox-group.text-pos-after label.ant-checkbox-wrapper[data-v-784964bd] > span:last-child {
|
|
22170
22179
|
padding-left: var(--space, 0);
|
|
22171
22180
|
}
|
|
22172
|
-
.enum-checkbox-group.text-pos-before label.ant-checkbox-wrapper[data-v-
|
|
22181
|
+
.enum-checkbox-group.text-pos-before label.ant-checkbox-wrapper[data-v-784964bd] {
|
|
22173
22182
|
display: inline-flex;
|
|
22174
22183
|
flex-direction: row-reverse;
|
|
22175
22184
|
}
|
|
22176
|
-
.enum-checkbox-group.text-pos-before label.ant-checkbox-wrapper[data-v-
|
|
22185
|
+
.enum-checkbox-group.text-pos-before label.ant-checkbox-wrapper[data-v-784964bd] > span:last-child {
|
|
22177
22186
|
padding-right: var(--space, 0);
|
|
22178
22187
|
}
|
|
22179
|
-
.enum-checkbox-group.landscape:not(.has-option-gap) > span[data-v-
|
|
22188
|
+
.enum-checkbox-group.landscape:not(.has-option-gap) > span[data-v-784964bd]:not(:last-child) > :last-child {
|
|
22180
22189
|
margin-right: 4px;
|
|
22181
22190
|
}
|
|
22182
|
-
.enum-checkbox-group.portrait[data-v-
|
|
22191
|
+
.enum-checkbox-group.portrait[data-v-784964bd] {
|
|
22183
22192
|
flex-direction: column;
|
|
22184
22193
|
align-items: safe var(--enum-option-align, flex-start);
|
|
22185
22194
|
justify-content: flex-start;
|
|
22186
22195
|
}
|
|
22187
|
-
.enum-checkbox-group--auto-line-break[data-v-
|
|
22196
|
+
.enum-checkbox-group--auto-line-break[data-v-784964bd] {
|
|
22188
22197
|
display: inline-flex;
|
|
22189
22198
|
flex-wrap: wrap;
|
|
22190
22199
|
width: var(--cmp-width, 100%);
|
|
22191
22200
|
min-width: 0;
|
|
22192
22201
|
max-width: 100%;
|
|
22193
22202
|
}
|
|
22194
|
-
.enum-checkbox-group--auto-line-break > span[data-v-
|
|
22203
|
+
.enum-checkbox-group--auto-line-break > span[data-v-784964bd] {
|
|
22195
22204
|
max-width: 100%;
|
|
22196
22205
|
}
|
|
22197
|
-
.enum-checkbox-group--auto-line-break[data-v-
|
|
22206
|
+
.enum-checkbox-group--auto-line-break[data-v-784964bd] label.ant-checkbox-wrapper {
|
|
22198
22207
|
min-width: 0;
|
|
22199
22208
|
max-width: 100%;
|
|
22200
22209
|
}
|
|
22201
|
-
.enum-checkbox-group--auto-line-break[data-v-
|
|
22210
|
+
.enum-checkbox-group--auto-line-break[data-v-784964bd] label.ant-checkbox-wrapper > span:last-child {
|
|
22202
22211
|
min-width: 0;
|
|
22203
22212
|
text-wrap: wrap;
|
|
22204
22213
|
word-break: break-all;
|
|
@@ -23798,20 +23807,25 @@ svg[data-v-9a7c8184] {
|
|
|
23798
23807
|
top: 0;
|
|
23799
23808
|
overflow: hidden;
|
|
23800
23809
|
}
|
|
23801
|
-
.combine-fields-area[data-v-
|
|
23810
|
+
.combine-fields-area[data-v-a4017dec] {
|
|
23802
23811
|
display: flex;
|
|
23803
23812
|
align-items: stretch;
|
|
23804
23813
|
height: 100%;
|
|
23805
23814
|
}
|
|
23806
|
-
.combine-fields-area--wrap[data-v-
|
|
23815
|
+
.combine-fields-area--wrap[data-v-a4017dec] {
|
|
23807
23816
|
flex-wrap: wrap;
|
|
23808
23817
|
width: 100%;
|
|
23809
23818
|
min-width: 0;
|
|
23810
23819
|
}
|
|
23811
|
-
.combine-fields-spacer[data-v-
|
|
23820
|
+
.combine-fields-spacer[data-v-a4017dec] {
|
|
23812
23821
|
flex: none;
|
|
23813
23822
|
background: transparent;
|
|
23814
23823
|
}
|
|
23824
|
+
.combine-fields-area[data-v-a4017dec] > .combine-fields-item--unwrapped-options {
|
|
23825
|
+
flex-shrink: 0;
|
|
23826
|
+
min-width: max-content;
|
|
23827
|
+
max-width: none;
|
|
23828
|
+
}
|
|
23815
23829
|
|
|
23816
23830
|
.diagonal-area[data-v-93431c1c] {
|
|
23817
23831
|
font-size: 14px;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
2
|
+
import { c as commonjsRequire } from "./index-B2tkugA7.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
|
|
2
2
|
import { A as AlignEditor } from "./align-editor-CUUJFEyr.js";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
|
-
import { z as _sfc_main$1, C as ColorPicker } from "./index-
|
|
4
|
+
import { z as _sfc_main$1, C as ColorPicker } from "./index-B2tkugA7.js";
|
|
5
5
|
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|