3h1-ui 3.0.0-next.52 → 3.0.0-next.53
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/es/index.js +92 -74
- package/es/style.css +111 -111
- package/lib/index.js +92 -74
- package/package.json +3 -3
- package/lib/style.css +0 -9066
package/es/index.js
CHANGED
|
@@ -5396,7 +5396,7 @@ const _sfc_main$1F = defineComponent({
|
|
|
5396
5396
|
};
|
|
5397
5397
|
}
|
|
5398
5398
|
});
|
|
5399
|
-
const
|
|
5399
|
+
const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
|
|
5400
5400
|
const _hoisted_1$G = ["data-score"];
|
|
5401
5401
|
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5402
5402
|
const _component_InputPassword = resolveComponent("InputPassword");
|
|
@@ -5428,7 +5428,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5428
5428
|
], 2)
|
|
5429
5429
|
], 2);
|
|
5430
5430
|
}
|
|
5431
|
-
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-
|
|
5431
|
+
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-c8d77eaa"]]);
|
|
5432
5432
|
const _sfc_main$1E = defineComponent({
|
|
5433
5433
|
name: "SvgIcon",
|
|
5434
5434
|
props: {
|
|
@@ -5464,7 +5464,7 @@ const _sfc_main$1E = defineComponent({
|
|
|
5464
5464
|
return { symbolId, prefixCls: prefixCls2, getStyle };
|
|
5465
5465
|
}
|
|
5466
5466
|
});
|
|
5467
|
-
const
|
|
5467
|
+
const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
|
|
5468
5468
|
const _hoisted_1$F = ["xlink:href"];
|
|
5469
5469
|
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5470
5470
|
return openBlock(), createElementBlock("svg", {
|
|
@@ -5475,7 +5475,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5475
5475
|
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$F)
|
|
5476
5476
|
], 6);
|
|
5477
5477
|
}
|
|
5478
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-
|
|
5478
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-fa64fe87"]]);
|
|
5479
5479
|
const SVG_END_WITH_FLAG = "|svg";
|
|
5480
5480
|
const _sfc_main$1D = defineComponent({
|
|
5481
5481
|
name: "Icon",
|
|
@@ -5786,8 +5786,8 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
5786
5786
|
};
|
|
5787
5787
|
}
|
|
5788
5788
|
});
|
|
5789
|
-
const
|
|
5790
|
-
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-
|
|
5789
|
+
const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
|
|
5790
|
+
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-03d87956"]]);
|
|
5791
5791
|
const props$c = {
|
|
5792
5792
|
/**
|
|
5793
5793
|
* Help text max-width
|
|
@@ -5964,8 +5964,8 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
5964
5964
|
};
|
|
5965
5965
|
}
|
|
5966
5966
|
});
|
|
5967
|
-
const
|
|
5968
|
-
const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-
|
|
5967
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_c885e8af_lang = "";
|
|
5968
|
+
const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-c885e8af"]]);
|
|
5969
5969
|
const props$b = {
|
|
5970
5970
|
prefixCls: { type: String },
|
|
5971
5971
|
helpMessage: {
|
|
@@ -9550,8 +9550,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
9550
9550
|
};
|
|
9551
9551
|
}
|
|
9552
9552
|
});
|
|
9553
|
-
const
|
|
9554
|
-
const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-
|
|
9553
|
+
const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
|
|
9554
|
+
const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-9232fde4"]]);
|
|
9555
9555
|
const modal = "";
|
|
9556
9556
|
const modalProps = {
|
|
9557
9557
|
visible: { type: Boolean },
|
|
@@ -10597,8 +10597,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
10597
10597
|
};
|
|
10598
10598
|
}
|
|
10599
10599
|
});
|
|
10600
|
-
const
|
|
10601
|
-
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-
|
|
10600
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
|
|
10601
|
+
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-a48f9d86"]]);
|
|
10602
10602
|
const _sfc_main$1i = defineComponent({
|
|
10603
10603
|
name: "BasicModalHeader",
|
|
10604
10604
|
components: { BasicTitle },
|
|
@@ -14577,8 +14577,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
14577
14577
|
};
|
|
14578
14578
|
}
|
|
14579
14579
|
});
|
|
14580
|
-
const
|
|
14581
|
-
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
14580
|
+
const TreeHeader_vue_vue_type_style_index_0_scoped_8dfdfcea_lang = "";
|
|
14581
|
+
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-8dfdfcea"]]);
|
|
14582
14582
|
process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
14583
14583
|
process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
14584
14584
|
const isString$1 = (val) => typeof val === "string";
|
|
@@ -15472,7 +15472,7 @@ const _sfc_main$11 = defineComponent({
|
|
|
15472
15472
|
return { prefixCls: prefixCls2, getCalcContentWidth };
|
|
15473
15473
|
}
|
|
15474
15474
|
});
|
|
15475
|
-
const
|
|
15475
|
+
const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
|
|
15476
15476
|
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15477
15477
|
return openBlock(), createElementBlock("div", {
|
|
15478
15478
|
class: normalizeClass(_ctx.prefixCls),
|
|
@@ -15491,7 +15491,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15491
15491
|
], 2)
|
|
15492
15492
|
], 6);
|
|
15493
15493
|
}
|
|
15494
|
-
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-
|
|
15494
|
+
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-b4695833"]]);
|
|
15495
15495
|
const _sfc_main$10 = defineComponent({
|
|
15496
15496
|
name: "PageWrapper",
|
|
15497
15497
|
components: { PageFooter, PageHeader },
|
|
@@ -18107,8 +18107,8 @@ const _sfc_main$U = defineComponent({
|
|
|
18107
18107
|
return { isVisibleAdvancedSearch, handleIconClick };
|
|
18108
18108
|
}
|
|
18109
18109
|
});
|
|
18110
|
-
const
|
|
18111
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
18110
|
+
const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
|
|
18111
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-c5892da8"), n = n(), popScopeId(), n);
|
|
18112
18112
|
const _hoisted_1$r = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", null, "高级搜索", -1));
|
|
18113
18113
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18114
18114
|
const _component_FilterOutlined = resolveComponent("FilterOutlined");
|
|
@@ -18126,7 +18126,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18126
18126
|
_: 1
|
|
18127
18127
|
});
|
|
18128
18128
|
}
|
|
18129
|
-
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-
|
|
18129
|
+
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-c5892da8"]]);
|
|
18130
18130
|
const index$4 = "";
|
|
18131
18131
|
const searchType = [
|
|
18132
18132
|
{
|
|
@@ -19499,8 +19499,8 @@ const _sfc_main$N = defineComponent({
|
|
|
19499
19499
|
};
|
|
19500
19500
|
}
|
|
19501
19501
|
});
|
|
19502
|
-
const
|
|
19503
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
19502
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
|
|
19503
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-5f6e7403"), n = n(), popScopeId(), n);
|
|
19504
19504
|
const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
|
|
19505
19505
|
const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
|
|
19506
19506
|
const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
@@ -19558,7 +19558,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19558
19558
|
])
|
|
19559
19559
|
], 4);
|
|
19560
19560
|
}
|
|
19561
|
-
const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
19561
|
+
const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-5f6e7403"]]);
|
|
19562
19562
|
const _sfc_main$M = defineComponent({
|
|
19563
19563
|
components: {
|
|
19564
19564
|
TableAdvancedSearch: TableAdvancedSearch$1,
|
|
@@ -20112,7 +20112,7 @@ const _sfc_main$K = defineComponent({
|
|
|
20112
20112
|
setup() {
|
|
20113
20113
|
}
|
|
20114
20114
|
});
|
|
20115
|
-
const
|
|
20115
|
+
const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
|
|
20116
20116
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20117
20117
|
var _a2;
|
|
20118
20118
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -20141,7 +20141,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20141
20141
|
]), 1032, ["color"])
|
|
20142
20142
|
]);
|
|
20143
20143
|
}
|
|
20144
|
-
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-
|
|
20144
|
+
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-21146269"]]);
|
|
20145
20145
|
const index$3 = "";
|
|
20146
20146
|
function useTable(tableProps) {
|
|
20147
20147
|
const tableRef = ref(null);
|
|
@@ -20413,8 +20413,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
20413
20413
|
};
|
|
20414
20414
|
}
|
|
20415
20415
|
});
|
|
20416
|
-
const
|
|
20417
|
-
const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
20416
|
+
const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
|
|
20417
|
+
const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-24f758b3"]]);
|
|
20418
20418
|
const _hoisted_1$i = { class: "api-modal-select" };
|
|
20419
20419
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
20420
20420
|
__name: "ApiModalSelect",
|
|
@@ -20562,8 +20562,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20562
20562
|
};
|
|
20563
20563
|
}
|
|
20564
20564
|
});
|
|
20565
|
-
const
|
|
20566
|
-
const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
20565
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
|
|
20566
|
+
const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-5427533c"]]);
|
|
20567
20567
|
const Description$1 = "";
|
|
20568
20568
|
const basicColProps = 24;
|
|
20569
20569
|
const basicProps$3 = reactive({
|
|
@@ -20571,6 +20571,14 @@ const basicProps$3 = reactive({
|
|
|
20571
20571
|
type: Array,
|
|
20572
20572
|
default: () => []
|
|
20573
20573
|
},
|
|
20574
|
+
summaryPrecision: {
|
|
20575
|
+
type: Number,
|
|
20576
|
+
default: 2
|
|
20577
|
+
},
|
|
20578
|
+
summaryTotalFields: {
|
|
20579
|
+
type: Array,
|
|
20580
|
+
default: () => []
|
|
20581
|
+
},
|
|
20574
20582
|
labelAlign: {
|
|
20575
20583
|
type: String,
|
|
20576
20584
|
default: () => "right"
|
|
@@ -20680,7 +20688,7 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
20680
20688
|
const rows = computed(() => {
|
|
20681
20689
|
let element = null;
|
|
20682
20690
|
return getProps.value.schema.map((item) => {
|
|
20683
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
20691
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
20684
20692
|
if ((item == null ? void 0 : item.component) === "Divider") {
|
|
20685
20693
|
return createVNode(Divider$2, null, null);
|
|
20686
20694
|
} else if ((item == null ? void 0 : item.component) === "Group") {
|
|
@@ -20692,30 +20700,36 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
20692
20700
|
"label": item == null ? void 0 : item.label
|
|
20693
20701
|
}, null)]);
|
|
20694
20702
|
} else {
|
|
20703
|
+
const data = getProps.value.data;
|
|
20695
20704
|
if (item == null ? void 0 : item.customRender) {
|
|
20696
|
-
element = (item == null ? void 0 : item.customRender) ? item.customRender(
|
|
20705
|
+
element = (item == null ? void 0 : item.customRender) ? item.customRender(data) : null;
|
|
20706
|
+
} else if ((_a2 = getProps.value.summaryTotalFields) == null ? void 0 : _a2.length) {
|
|
20707
|
+
element = slots[`${item.field}Value`] ? (_b = slots[`${item.field}Value`]) == null ? void 0 : _b.call(slots, {
|
|
20708
|
+
model: data,
|
|
20709
|
+
field: data[`${item.field}`]
|
|
20710
|
+
}) : isNumber$2(+data[`${item.field}`]) && !isNaN(+data[`${item.field}`]) ? (+data[`${item.field}`]).toFixed(getProps.value.summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : data[`${item.field}`];
|
|
20697
20711
|
} else {
|
|
20698
|
-
element = slots[`${item.field}Value`] ? (
|
|
20699
|
-
model:
|
|
20700
|
-
field:
|
|
20701
|
-
}) :
|
|
20712
|
+
element = slots[`${item.field}Value`] ? (_c = slots[`${item.field}Value`]) == null ? void 0 : _c.call(slots, {
|
|
20713
|
+
model: data,
|
|
20714
|
+
field: data[`${item.field}`]
|
|
20715
|
+
}) : data[`${item.field}`];
|
|
20702
20716
|
}
|
|
20703
|
-
const ifShow = isBoolean$1(item == null ? void 0 : item.ifShow) || isFunction$4(item == null ? void 0 : item.ifShow) ? isFunction$4(item.ifShow) ? item.ifShow(
|
|
20717
|
+
const ifShow = isBoolean$1(item == null ? void 0 : item.ifShow) || isFunction$4(item == null ? void 0 : item.ifShow) ? isFunction$4(item.ifShow) ? item.ifShow(data) : item.ifShow : true;
|
|
20704
20718
|
return ifShow ? createVNode("div", {
|
|
20705
20719
|
"class": `${prefixCls2}-row`,
|
|
20706
20720
|
"style": {
|
|
20707
|
-
flex: `0 0 ${(((
|
|
20721
|
+
flex: `0 0 ${(((_d = item == null ? void 0 : item.colProps) == null ? void 0 : _d.span) || basicColProps) / 24 * 100}%`,
|
|
20708
20722
|
flexDirection: getProps.value.mode === "horizontal" ? "row" : "column"
|
|
20709
20723
|
}
|
|
20710
20724
|
}, [(slots == null ? void 0 : slots[`${item.field}Label`]) || item.label ? createVNode("span", {
|
|
20711
20725
|
"style": {
|
|
20712
20726
|
width: getProps.value.mode === "horizontal" ? `${getProps.value.labelWidth}px` : "auto",
|
|
20713
20727
|
...labelAlignCss.value,
|
|
20714
|
-
...((
|
|
20728
|
+
...((_e = getProps.value) == null ? void 0 : _e.labelStyle) ? (_f = getProps.value) == null ? void 0 : _f.labelStyle : {},
|
|
20715
20729
|
...(item == null ? void 0 : item.labelStyle) ? item == null ? void 0 : item.labelStyle : {}
|
|
20716
20730
|
},
|
|
20717
20731
|
"class": `${prefixCls2}-label`
|
|
20718
|
-
}, [slots[`${item.field}Label`] ? (
|
|
20732
|
+
}, [slots[`${item.field}Label`] ? (_g = slots[`${item.field}Label`]) == null ? void 0 : _g.call(slots, {
|
|
20719
20733
|
model: getProps.value.data,
|
|
20720
20734
|
field: item.label
|
|
20721
20735
|
}) : item.label, (item == null ? void 0 : item.helpMessage) ? createVNode(_sfc_main$1A, {
|
|
@@ -20726,10 +20740,10 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
20726
20740
|
"class": "mx-1",
|
|
20727
20741
|
"text": item == null ? void 0 : item.helpMessage,
|
|
20728
20742
|
"iconSize": "9px"
|
|
20729
|
-
}, null) : "", ((
|
|
20743
|
+
}, null) : "", ((_h = getProps.value) == null ? void 0 : _h.isShowColon) ? ":" : createVNode("span", null, null)]) : createVNode(Fragment, null, [createTextVNode(" ")]), createVNode("span", {
|
|
20730
20744
|
"class": `${prefixCls2}-value`,
|
|
20731
20745
|
"style": {
|
|
20732
|
-
...((
|
|
20746
|
+
...((_i = getProps.value) == null ? void 0 : _i.contentStyle) ? (_j = getProps.value) == null ? void 0 : _j.contentStyle : {},
|
|
20733
20747
|
...(item == null ? void 0 : item.contentStyle) ? item == null ? void 0 : item.contentStyle : {}
|
|
20734
20748
|
}
|
|
20735
20749
|
}, [element, (item == null ? void 0 : item.isCopy) ? createVNode("span", {
|
|
@@ -24596,7 +24610,7 @@ const _sfc_main$B = defineComponent({
|
|
|
24596
24610
|
};
|
|
24597
24611
|
}
|
|
24598
24612
|
});
|
|
24599
|
-
const
|
|
24613
|
+
const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
|
|
24600
24614
|
const _hoisted_1$e = ["src"];
|
|
24601
24615
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24602
24616
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -24647,7 +24661,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24647
24661
|
}, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
|
|
24648
24662
|
], 6);
|
|
24649
24663
|
}
|
|
24650
|
-
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
24664
|
+
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-6ac45907"]]);
|
|
24651
24665
|
const props = {
|
|
24652
24666
|
startVal: { type: Number, default: 0 },
|
|
24653
24667
|
endVal: { type: Number, default: 2021 },
|
|
@@ -24819,7 +24833,7 @@ const _sfc_main$y = defineComponent({
|
|
|
24819
24833
|
}
|
|
24820
24834
|
}
|
|
24821
24835
|
});
|
|
24822
|
-
const
|
|
24836
|
+
const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
|
|
24823
24837
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24824
24838
|
const _component_Spin = resolveComponent("Spin");
|
|
24825
24839
|
return withDirectives((openBlock(), createElementBlock("section", {
|
|
@@ -24835,7 +24849,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24835
24849
|
[vShow, _ctx.loading]
|
|
24836
24850
|
]);
|
|
24837
24851
|
}
|
|
24838
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
24852
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-33b23b82"]]);
|
|
24839
24853
|
function createLoading(props2, target, wait = false) {
|
|
24840
24854
|
let vm = null;
|
|
24841
24855
|
const data = reactive({
|
|
@@ -26628,7 +26642,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
26628
26642
|
},
|
|
26629
26643
|
setup(__props, { expose: __expose }) {
|
|
26630
26644
|
useCssVars((_ctx) => ({
|
|
26631
|
-
"
|
|
26645
|
+
"7210fae1": props2.labelWidth
|
|
26632
26646
|
}));
|
|
26633
26647
|
const props2 = __props;
|
|
26634
26648
|
const form = ref({});
|
|
@@ -26799,8 +26813,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
26799
26813
|
};
|
|
26800
26814
|
}
|
|
26801
26815
|
});
|
|
26802
|
-
const
|
|
26803
|
-
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
26816
|
+
const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
|
|
26817
|
+
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-b1ced086"]]);
|
|
26804
26818
|
const DescriptionsForm = withInstall$8(descriptionsForm);
|
|
26805
26819
|
const basicResizeWrapperProps = reactive({
|
|
26806
26820
|
designWidth: {
|
|
@@ -26845,8 +26859,8 @@ const __default__$1 = defineComponent({
|
|
|
26845
26859
|
});
|
|
26846
26860
|
const __injectCSSVars__ = () => {
|
|
26847
26861
|
useCssVars((_ctx) => ({
|
|
26848
|
-
"
|
|
26849
|
-
"
|
|
26862
|
+
"1a93f028": _ctx.designWidth,
|
|
26863
|
+
"1e1b1b05": _ctx.designHeight
|
|
26850
26864
|
}));
|
|
26851
26865
|
};
|
|
26852
26866
|
const __setup__ = __default__$1.setup;
|
|
@@ -27326,7 +27340,7 @@ const styles = `.vue-colorful {
|
|
|
27326
27340
|
border-color: transparent;
|
|
27327
27341
|
border-bottom: 12px solid #000;
|
|
27328
27342
|
border-radius: 8px 8px 0 0;
|
|
27329
|
-
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0))
|
|
27343
|
+
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
|
|
27330
27344
|
linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
|
27331
27345
|
}
|
|
27332
27346
|
.vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
|
|
@@ -27347,15 +27361,15 @@ const styles = `.vue-colorful {
|
|
|
27347
27361
|
height: 24px;
|
|
27348
27362
|
}
|
|
27349
27363
|
.vue-colorful__hue {
|
|
27350
|
-
background: linear-gradient(
|
|
27351
|
-
to right
|
|
27352
|
-
#f00 0
|
|
27353
|
-
#ff0 17
|
|
27354
|
-
#0f0 33
|
|
27355
|
-
#0ff 50
|
|
27356
|
-
#00f 67
|
|
27357
|
-
#f0f 83
|
|
27358
|
-
#f00 100
|
|
27364
|
+
background: linear-gradient(\r
|
|
27365
|
+
to right,\r
|
|
27366
|
+
#f00 0%,\r
|
|
27367
|
+
#ff0 17%,\r
|
|
27368
|
+
#0f0 33%,\r
|
|
27369
|
+
#0ff 50%,\r
|
|
27370
|
+
#00f 67%,\r
|
|
27371
|
+
#f0f 83%,\r
|
|
27372
|
+
#f00 100%\r
|
|
27359
27373
|
);
|
|
27360
27374
|
}
|
|
27361
27375
|
.vue-colorful__last-control {
|
|
@@ -31908,6 +31922,10 @@ const setConstConfig = (config) => {
|
|
|
31908
31922
|
DEFAULT_ALIGN = config.align;
|
|
31909
31923
|
};
|
|
31910
31924
|
const shyTableBasicProps = reactive({
|
|
31925
|
+
summaryPrecision: {
|
|
31926
|
+
type: Number,
|
|
31927
|
+
default: 2
|
|
31928
|
+
},
|
|
31911
31929
|
isShowTitle: {
|
|
31912
31930
|
type: Boolean,
|
|
31913
31931
|
default: true
|
|
@@ -33405,8 +33423,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33405
33423
|
};
|
|
33406
33424
|
}
|
|
33407
33425
|
});
|
|
33408
|
-
const
|
|
33409
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
33426
|
+
const Table_vue_vue_type_style_index_0_scoped_0d7f83ba_lang = "";
|
|
33427
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-0d7f83ba"]]);
|
|
33410
33428
|
const ShyComponentMap = /* @__PURE__ */ new Map();
|
|
33411
33429
|
ShyComponentMap.set("Input", Input);
|
|
33412
33430
|
ShyComponentMap.set("InputGroup", Input.Group);
|
|
@@ -35295,8 +35313,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
35295
35313
|
};
|
|
35296
35314
|
}
|
|
35297
35315
|
});
|
|
35298
|
-
const
|
|
35299
|
-
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
35316
|
+
const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
|
|
35317
|
+
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-15e2dcbb"]]);
|
|
35300
35318
|
const _hoisted_1$4 = { class: "api-modal-select" };
|
|
35301
35319
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
35302
35320
|
__name: "ApiModalSelect",
|
|
@@ -35444,8 +35462,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
35444
35462
|
};
|
|
35445
35463
|
}
|
|
35446
35464
|
});
|
|
35447
|
-
const
|
|
35448
|
-
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
35465
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
|
|
35466
|
+
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5019fbdf"]]);
|
|
35449
35467
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
35450
35468
|
__name: "FormWrapper",
|
|
35451
35469
|
props: {
|
|
@@ -35731,7 +35749,7 @@ function useDataSource(propsRef, {
|
|
|
35731
35749
|
const total = dataSourceRef.value.reduce((acc, cur) => {
|
|
35732
35750
|
return +acc + (+cur[field] || 0);
|
|
35733
35751
|
}, 0);
|
|
35734
|
-
obj[field] =
|
|
35752
|
+
obj[field] = total.toFixed(unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
|
|
35735
35753
|
});
|
|
35736
35754
|
return obj;
|
|
35737
35755
|
});
|
|
@@ -37766,12 +37784,12 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
|
|
|
37766
37784
|
return hasPermission(column2.auth) && isIfShow(column2);
|
|
37767
37785
|
}).map((column2) => {
|
|
37768
37786
|
var _a2, _b;
|
|
37769
|
-
const isSummaryCol =
|
|
37787
|
+
const isSummaryCol = (_b = (_a2 = unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(
|
|
37770
37788
|
_a2,
|
|
37771
37789
|
column2.dataIndex
|
|
37772
|
-
)
|
|
37790
|
+
);
|
|
37773
37791
|
const summaryFormat = (text) => {
|
|
37774
|
-
return text ? isNumber$2(+text) && !isNaN(+text) ?
|
|
37792
|
+
return text ? isNumber$2(+text) && !isNaN(+text) ? (+text).toFixed(unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : text : "";
|
|
37775
37793
|
};
|
|
37776
37794
|
const {
|
|
37777
37795
|
slots,
|
|
@@ -38344,8 +38362,8 @@ const _sfc_main$3 = defineComponent({
|
|
|
38344
38362
|
};
|
|
38345
38363
|
}
|
|
38346
38364
|
});
|
|
38347
|
-
const
|
|
38348
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
38365
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ac81b595_lang = "";
|
|
38366
|
+
const _withScopeId = (n) => (pushScopeId("data-v-ac81b595"), n = n(), popScopeId(), n);
|
|
38349
38367
|
const _hoisted_1$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
|
|
38350
38368
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
|
|
38351
38369
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
@@ -38403,7 +38421,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38403
38421
|
])
|
|
38404
38422
|
], 4);
|
|
38405
38423
|
}
|
|
38406
|
-
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
38424
|
+
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-ac81b595"]]);
|
|
38407
38425
|
const _sfc_main$2 = defineComponent({
|
|
38408
38426
|
name: "EditTableHeaderIcon",
|
|
38409
38427
|
components: { FormOutlined: FormOutlined$1 },
|
|
@@ -39622,8 +39640,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39622
39640
|
};
|
|
39623
39641
|
}
|
|
39624
39642
|
});
|
|
39625
|
-
const
|
|
39626
|
-
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
39643
|
+
const Process_vue_vue_type_style_index_0_scoped_d4b02362_lang = "";
|
|
39644
|
+
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d4b02362"]]);
|
|
39627
39645
|
export {
|
|
39628
39646
|
_sfc_main$T as AdvancedSearch,
|
|
39629
39647
|
ApiCascader$1 as ApiCascader,
|