3h1-ui 3.0.0-next.52 → 3.0.0-next.54
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 +99 -79
- package/es/style.css +121 -121
- package/lib/index.js +99 -79
- 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 },
|
|
@@ -9839,7 +9839,8 @@ const Modal$2 = /* @__PURE__ */ defineComponent({
|
|
|
9839
9839
|
...props2,
|
|
9840
9840
|
onCancel
|
|
9841
9841
|
};
|
|
9842
|
-
|
|
9842
|
+
const modalProps2 = omit$1(propsData, "visible");
|
|
9843
|
+
return createVNode(Modal$3, modalProps2, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
|
|
9843
9844
|
default: () => [_slot]
|
|
9844
9845
|
});
|
|
9845
9846
|
};
|
|
@@ -10597,8 +10598,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
10597
10598
|
};
|
|
10598
10599
|
}
|
|
10599
10600
|
});
|
|
10600
|
-
const
|
|
10601
|
-
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-
|
|
10601
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
|
|
10602
|
+
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-a48f9d86"]]);
|
|
10602
10603
|
const _sfc_main$1i = defineComponent({
|
|
10603
10604
|
name: "BasicModalHeader",
|
|
10604
10605
|
components: { BasicTitle },
|
|
@@ -14577,8 +14578,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
14577
14578
|
};
|
|
14578
14579
|
}
|
|
14579
14580
|
});
|
|
14580
|
-
const
|
|
14581
|
-
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
14581
|
+
const TreeHeader_vue_vue_type_style_index_0_scoped_8dfdfcea_lang = "";
|
|
14582
|
+
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-8dfdfcea"]]);
|
|
14582
14583
|
process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
14583
14584
|
process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
14584
14585
|
const isString$1 = (val) => typeof val === "string";
|
|
@@ -15472,7 +15473,7 @@ const _sfc_main$11 = defineComponent({
|
|
|
15472
15473
|
return { prefixCls: prefixCls2, getCalcContentWidth };
|
|
15473
15474
|
}
|
|
15474
15475
|
});
|
|
15475
|
-
const
|
|
15476
|
+
const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
|
|
15476
15477
|
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15477
15478
|
return openBlock(), createElementBlock("div", {
|
|
15478
15479
|
class: normalizeClass(_ctx.prefixCls),
|
|
@@ -15491,7 +15492,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15491
15492
|
], 2)
|
|
15492
15493
|
], 6);
|
|
15493
15494
|
}
|
|
15494
|
-
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-
|
|
15495
|
+
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-b4695833"]]);
|
|
15495
15496
|
const _sfc_main$10 = defineComponent({
|
|
15496
15497
|
name: "PageWrapper",
|
|
15497
15498
|
components: { PageFooter, PageHeader },
|
|
@@ -18107,8 +18108,8 @@ const _sfc_main$U = defineComponent({
|
|
|
18107
18108
|
return { isVisibleAdvancedSearch, handleIconClick };
|
|
18108
18109
|
}
|
|
18109
18110
|
});
|
|
18110
|
-
const
|
|
18111
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
18111
|
+
const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
|
|
18112
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-c5892da8"), n = n(), popScopeId(), n);
|
|
18112
18113
|
const _hoisted_1$r = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", null, "高级搜索", -1));
|
|
18113
18114
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18114
18115
|
const _component_FilterOutlined = resolveComponent("FilterOutlined");
|
|
@@ -18126,7 +18127,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18126
18127
|
_: 1
|
|
18127
18128
|
});
|
|
18128
18129
|
}
|
|
18129
|
-
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-
|
|
18130
|
+
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-c5892da8"]]);
|
|
18130
18131
|
const index$4 = "";
|
|
18131
18132
|
const searchType = [
|
|
18132
18133
|
{
|
|
@@ -19499,8 +19500,8 @@ const _sfc_main$N = defineComponent({
|
|
|
19499
19500
|
};
|
|
19500
19501
|
}
|
|
19501
19502
|
});
|
|
19502
|
-
const
|
|
19503
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
19503
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
|
|
19504
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-5f6e7403"), n = n(), popScopeId(), n);
|
|
19504
19505
|
const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
|
|
19505
19506
|
const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
|
|
19506
19507
|
const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
@@ -19558,7 +19559,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19558
19559
|
])
|
|
19559
19560
|
], 4);
|
|
19560
19561
|
}
|
|
19561
|
-
const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
19562
|
+
const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-5f6e7403"]]);
|
|
19562
19563
|
const _sfc_main$M = defineComponent({
|
|
19563
19564
|
components: {
|
|
19564
19565
|
TableAdvancedSearch: TableAdvancedSearch$1,
|
|
@@ -20112,7 +20113,7 @@ const _sfc_main$K = defineComponent({
|
|
|
20112
20113
|
setup() {
|
|
20113
20114
|
}
|
|
20114
20115
|
});
|
|
20115
|
-
const
|
|
20116
|
+
const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
|
|
20116
20117
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20117
20118
|
var _a2;
|
|
20118
20119
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -20141,7 +20142,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20141
20142
|
]), 1032, ["color"])
|
|
20142
20143
|
]);
|
|
20143
20144
|
}
|
|
20144
|
-
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-
|
|
20145
|
+
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-21146269"]]);
|
|
20145
20146
|
const index$3 = "";
|
|
20146
20147
|
function useTable(tableProps) {
|
|
20147
20148
|
const tableRef = ref(null);
|
|
@@ -20413,8 +20414,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
20413
20414
|
};
|
|
20414
20415
|
}
|
|
20415
20416
|
});
|
|
20416
|
-
const
|
|
20417
|
-
const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
20417
|
+
const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
|
|
20418
|
+
const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-24f758b3"]]);
|
|
20418
20419
|
const _hoisted_1$i = { class: "api-modal-select" };
|
|
20419
20420
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
20420
20421
|
__name: "ApiModalSelect",
|
|
@@ -20562,8 +20563,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20562
20563
|
};
|
|
20563
20564
|
}
|
|
20564
20565
|
});
|
|
20565
|
-
const
|
|
20566
|
-
const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
20566
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
|
|
20567
|
+
const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-5427533c"]]);
|
|
20567
20568
|
const Description$1 = "";
|
|
20568
20569
|
const basicColProps = 24;
|
|
20569
20570
|
const basicProps$3 = reactive({
|
|
@@ -20571,6 +20572,14 @@ const basicProps$3 = reactive({
|
|
|
20571
20572
|
type: Array,
|
|
20572
20573
|
default: () => []
|
|
20573
20574
|
},
|
|
20575
|
+
summaryPrecision: {
|
|
20576
|
+
type: Number,
|
|
20577
|
+
default: 2
|
|
20578
|
+
},
|
|
20579
|
+
summaryTotalFields: {
|
|
20580
|
+
type: Array,
|
|
20581
|
+
default: () => []
|
|
20582
|
+
},
|
|
20574
20583
|
labelAlign: {
|
|
20575
20584
|
type: String,
|
|
20576
20585
|
default: () => "right"
|
|
@@ -20680,7 +20689,7 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
20680
20689
|
const rows = computed(() => {
|
|
20681
20690
|
let element = null;
|
|
20682
20691
|
return getProps.value.schema.map((item) => {
|
|
20683
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
20692
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
20684
20693
|
if ((item == null ? void 0 : item.component) === "Divider") {
|
|
20685
20694
|
return createVNode(Divider$2, null, null);
|
|
20686
20695
|
} else if ((item == null ? void 0 : item.component) === "Group") {
|
|
@@ -20692,30 +20701,36 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
20692
20701
|
"label": item == null ? void 0 : item.label
|
|
20693
20702
|
}, null)]);
|
|
20694
20703
|
} else {
|
|
20704
|
+
const data = getProps.value.data;
|
|
20695
20705
|
if (item == null ? void 0 : item.customRender) {
|
|
20696
|
-
element = (item == null ? void 0 : item.customRender) ? item.customRender(
|
|
20706
|
+
element = (item == null ? void 0 : item.customRender) ? item.customRender(data) : null;
|
|
20707
|
+
} else if ((_a2 = getProps.value.summaryTotalFields) == null ? void 0 : _a2.length) {
|
|
20708
|
+
element = slots[`${item.field}Value`] ? (_b = slots[`${item.field}Value`]) == null ? void 0 : _b.call(slots, {
|
|
20709
|
+
model: data,
|
|
20710
|
+
field: data[`${item.field}`]
|
|
20711
|
+
}) : 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
20712
|
} else {
|
|
20698
|
-
element = slots[`${item.field}Value`] ? (
|
|
20699
|
-
model:
|
|
20700
|
-
field:
|
|
20701
|
-
}) :
|
|
20713
|
+
element = slots[`${item.field}Value`] ? (_c = slots[`${item.field}Value`]) == null ? void 0 : _c.call(slots, {
|
|
20714
|
+
model: data,
|
|
20715
|
+
field: data[`${item.field}`]
|
|
20716
|
+
}) : data[`${item.field}`];
|
|
20702
20717
|
}
|
|
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(
|
|
20718
|
+
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
20719
|
return ifShow ? createVNode("div", {
|
|
20705
20720
|
"class": `${prefixCls2}-row`,
|
|
20706
20721
|
"style": {
|
|
20707
|
-
flex: `0 0 ${(((
|
|
20722
|
+
flex: `0 0 ${(((_d = item == null ? void 0 : item.colProps) == null ? void 0 : _d.span) || basicColProps) / 24 * 100}%`,
|
|
20708
20723
|
flexDirection: getProps.value.mode === "horizontal" ? "row" : "column"
|
|
20709
20724
|
}
|
|
20710
20725
|
}, [(slots == null ? void 0 : slots[`${item.field}Label`]) || item.label ? createVNode("span", {
|
|
20711
20726
|
"style": {
|
|
20712
20727
|
width: getProps.value.mode === "horizontal" ? `${getProps.value.labelWidth}px` : "auto",
|
|
20713
20728
|
...labelAlignCss.value,
|
|
20714
|
-
...((
|
|
20729
|
+
...((_e = getProps.value) == null ? void 0 : _e.labelStyle) ? (_f = getProps.value) == null ? void 0 : _f.labelStyle : {},
|
|
20715
20730
|
...(item == null ? void 0 : item.labelStyle) ? item == null ? void 0 : item.labelStyle : {}
|
|
20716
20731
|
},
|
|
20717
20732
|
"class": `${prefixCls2}-label`
|
|
20718
|
-
}, [slots[`${item.field}Label`] ? (
|
|
20733
|
+
}, [slots[`${item.field}Label`] ? (_g = slots[`${item.field}Label`]) == null ? void 0 : _g.call(slots, {
|
|
20719
20734
|
model: getProps.value.data,
|
|
20720
20735
|
field: item.label
|
|
20721
20736
|
}) : item.label, (item == null ? void 0 : item.helpMessage) ? createVNode(_sfc_main$1A, {
|
|
@@ -20726,10 +20741,10 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
20726
20741
|
"class": "mx-1",
|
|
20727
20742
|
"text": item == null ? void 0 : item.helpMessage,
|
|
20728
20743
|
"iconSize": "9px"
|
|
20729
|
-
}, null) : "", ((
|
|
20744
|
+
}, null) : "", ((_h = getProps.value) == null ? void 0 : _h.isShowColon) ? ":" : createVNode("span", null, null)]) : createVNode(Fragment, null, [createTextVNode(" ")]), createVNode("span", {
|
|
20730
20745
|
"class": `${prefixCls2}-value`,
|
|
20731
20746
|
"style": {
|
|
20732
|
-
...((
|
|
20747
|
+
...((_i = getProps.value) == null ? void 0 : _i.contentStyle) ? (_j = getProps.value) == null ? void 0 : _j.contentStyle : {},
|
|
20733
20748
|
...(item == null ? void 0 : item.contentStyle) ? item == null ? void 0 : item.contentStyle : {}
|
|
20734
20749
|
}
|
|
20735
20750
|
}, [element, (item == null ? void 0 : item.isCopy) ? createVNode("span", {
|
|
@@ -24596,7 +24611,7 @@ const _sfc_main$B = defineComponent({
|
|
|
24596
24611
|
};
|
|
24597
24612
|
}
|
|
24598
24613
|
});
|
|
24599
|
-
const
|
|
24614
|
+
const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
|
|
24600
24615
|
const _hoisted_1$e = ["src"];
|
|
24601
24616
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24602
24617
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -24647,7 +24662,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24647
24662
|
}, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
|
|
24648
24663
|
], 6);
|
|
24649
24664
|
}
|
|
24650
|
-
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
24665
|
+
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-6ac45907"]]);
|
|
24651
24666
|
const props = {
|
|
24652
24667
|
startVal: { type: Number, default: 0 },
|
|
24653
24668
|
endVal: { type: Number, default: 2021 },
|
|
@@ -24819,7 +24834,7 @@ const _sfc_main$y = defineComponent({
|
|
|
24819
24834
|
}
|
|
24820
24835
|
}
|
|
24821
24836
|
});
|
|
24822
|
-
const
|
|
24837
|
+
const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
|
|
24823
24838
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24824
24839
|
const _component_Spin = resolveComponent("Spin");
|
|
24825
24840
|
return withDirectives((openBlock(), createElementBlock("section", {
|
|
@@ -24835,7 +24850,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24835
24850
|
[vShow, _ctx.loading]
|
|
24836
24851
|
]);
|
|
24837
24852
|
}
|
|
24838
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
24853
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-33b23b82"]]);
|
|
24839
24854
|
function createLoading(props2, target, wait = false) {
|
|
24840
24855
|
let vm = null;
|
|
24841
24856
|
const data = reactive({
|
|
@@ -26628,7 +26643,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
26628
26643
|
},
|
|
26629
26644
|
setup(__props, { expose: __expose }) {
|
|
26630
26645
|
useCssVars((_ctx) => ({
|
|
26631
|
-
"
|
|
26646
|
+
"7210fae1": props2.labelWidth
|
|
26632
26647
|
}));
|
|
26633
26648
|
const props2 = __props;
|
|
26634
26649
|
const form = ref({});
|
|
@@ -26799,8 +26814,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
26799
26814
|
};
|
|
26800
26815
|
}
|
|
26801
26816
|
});
|
|
26802
|
-
const
|
|
26803
|
-
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
26817
|
+
const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
|
|
26818
|
+
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-b1ced086"]]);
|
|
26804
26819
|
const DescriptionsForm = withInstall$8(descriptionsForm);
|
|
26805
26820
|
const basicResizeWrapperProps = reactive({
|
|
26806
26821
|
designWidth: {
|
|
@@ -26845,8 +26860,8 @@ const __default__$1 = defineComponent({
|
|
|
26845
26860
|
});
|
|
26846
26861
|
const __injectCSSVars__ = () => {
|
|
26847
26862
|
useCssVars((_ctx) => ({
|
|
26848
|
-
"
|
|
26849
|
-
"
|
|
26863
|
+
"1a93f028": _ctx.designWidth,
|
|
26864
|
+
"1e1b1b05": _ctx.designHeight
|
|
26850
26865
|
}));
|
|
26851
26866
|
};
|
|
26852
26867
|
const __setup__ = __default__$1.setup;
|
|
@@ -27326,7 +27341,7 @@ const styles = `.vue-colorful {
|
|
|
27326
27341
|
border-color: transparent;
|
|
27327
27342
|
border-bottom: 12px solid #000;
|
|
27328
27343
|
border-radius: 8px 8px 0 0;
|
|
27329
|
-
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0))
|
|
27344
|
+
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
|
|
27330
27345
|
linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
|
27331
27346
|
}
|
|
27332
27347
|
.vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
|
|
@@ -27347,15 +27362,15 @@ const styles = `.vue-colorful {
|
|
|
27347
27362
|
height: 24px;
|
|
27348
27363
|
}
|
|
27349
27364
|
.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
|
|
27365
|
+
background: linear-gradient(\r
|
|
27366
|
+
to right,\r
|
|
27367
|
+
#f00 0%,\r
|
|
27368
|
+
#ff0 17%,\r
|
|
27369
|
+
#0f0 33%,\r
|
|
27370
|
+
#0ff 50%,\r
|
|
27371
|
+
#00f 67%,\r
|
|
27372
|
+
#f0f 83%,\r
|
|
27373
|
+
#f00 100%\r
|
|
27359
27374
|
);
|
|
27360
27375
|
}
|
|
27361
27376
|
.vue-colorful__last-control {
|
|
@@ -31903,11 +31918,15 @@ const DEFAULT_FILTER_FN = defaultFilterFn;
|
|
|
31903
31918
|
let DEFAULT_ALIGN = "left";
|
|
31904
31919
|
const INDEX_COLUMN_FLAG = "INDEX";
|
|
31905
31920
|
const ACTION_COLUMN_FLAG = "ACTION";
|
|
31906
|
-
const ACTION_COLUMN_WIDTH =
|
|
31921
|
+
const ACTION_COLUMN_WIDTH = 65;
|
|
31907
31922
|
const setConstConfig = (config) => {
|
|
31908
31923
|
DEFAULT_ALIGN = config.align;
|
|
31909
31924
|
};
|
|
31910
31925
|
const shyTableBasicProps = reactive({
|
|
31926
|
+
summaryPrecision: {
|
|
31927
|
+
type: Number,
|
|
31928
|
+
default: 2
|
|
31929
|
+
},
|
|
31911
31930
|
isShowTitle: {
|
|
31912
31931
|
type: Boolean,
|
|
31913
31932
|
default: true
|
|
@@ -33405,8 +33424,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33405
33424
|
};
|
|
33406
33425
|
}
|
|
33407
33426
|
});
|
|
33408
|
-
const
|
|
33409
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
33427
|
+
const Table_vue_vue_type_style_index_0_scoped_0d7f83ba_lang = "";
|
|
33428
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-0d7f83ba"]]);
|
|
33410
33429
|
const ShyComponentMap = /* @__PURE__ */ new Map();
|
|
33411
33430
|
ShyComponentMap.set("Input", Input);
|
|
33412
33431
|
ShyComponentMap.set("InputGroup", Input.Group);
|
|
@@ -35295,8 +35314,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
35295
35314
|
};
|
|
35296
35315
|
}
|
|
35297
35316
|
});
|
|
35298
|
-
const
|
|
35299
|
-
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
35317
|
+
const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
|
|
35318
|
+
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-15e2dcbb"]]);
|
|
35300
35319
|
const _hoisted_1$4 = { class: "api-modal-select" };
|
|
35301
35320
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
35302
35321
|
__name: "ApiModalSelect",
|
|
@@ -35444,8 +35463,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
35444
35463
|
};
|
|
35445
35464
|
}
|
|
35446
35465
|
});
|
|
35447
|
-
const
|
|
35448
|
-
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
35466
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
|
|
35467
|
+
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5019fbdf"]]);
|
|
35449
35468
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
35450
35469
|
__name: "FormWrapper",
|
|
35451
35470
|
props: {
|
|
@@ -35731,7 +35750,7 @@ function useDataSource(propsRef, {
|
|
|
35731
35750
|
const total = dataSourceRef.value.reduce((acc, cur) => {
|
|
35732
35751
|
return +acc + (+cur[field] || 0);
|
|
35733
35752
|
}, 0);
|
|
35734
|
-
obj[field] =
|
|
35753
|
+
obj[field] = total.toFixed(unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
|
|
35735
35754
|
});
|
|
35736
35755
|
return obj;
|
|
35737
35756
|
});
|
|
@@ -37766,12 +37785,12 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
|
|
|
37766
37785
|
return hasPermission(column2.auth) && isIfShow(column2);
|
|
37767
37786
|
}).map((column2) => {
|
|
37768
37787
|
var _a2, _b;
|
|
37769
|
-
const isSummaryCol =
|
|
37788
|
+
const isSummaryCol = (_b = (_a2 = unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(
|
|
37770
37789
|
_a2,
|
|
37771
37790
|
column2.dataIndex
|
|
37772
|
-
)
|
|
37791
|
+
);
|
|
37773
37792
|
const summaryFormat = (text) => {
|
|
37774
|
-
return text ? isNumber$2(+text) && !isNaN(+text) ?
|
|
37793
|
+
return text ? isNumber$2(+text) && !isNaN(+text) ? (+text).toFixed(unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : text : "";
|
|
37775
37794
|
};
|
|
37776
37795
|
const {
|
|
37777
37796
|
slots,
|
|
@@ -38344,8 +38363,8 @@ const _sfc_main$3 = defineComponent({
|
|
|
38344
38363
|
};
|
|
38345
38364
|
}
|
|
38346
38365
|
});
|
|
38347
|
-
const
|
|
38348
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
38366
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ac81b595_lang = "";
|
|
38367
|
+
const _withScopeId = (n) => (pushScopeId("data-v-ac81b595"), n = n(), popScopeId(), n);
|
|
38349
38368
|
const _hoisted_1$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
|
|
38350
38369
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
|
|
38351
38370
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
@@ -38403,7 +38422,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38403
38422
|
])
|
|
38404
38423
|
], 4);
|
|
38405
38424
|
}
|
|
38406
|
-
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
38425
|
+
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-ac81b595"]]);
|
|
38407
38426
|
const _sfc_main$2 = defineComponent({
|
|
38408
38427
|
name: "EditTableHeaderIcon",
|
|
38409
38428
|
components: { FormOutlined: FormOutlined$1 },
|
|
@@ -39073,7 +39092,7 @@ const ShyTableAction = /* @__PURE__ */ defineComponent({
|
|
|
39073
39092
|
isInButton && e.stopPropagation();
|
|
39074
39093
|
};
|
|
39075
39094
|
const renderDivider = (index2, length2) => {
|
|
39076
|
-
const isShow = props2.divider && index2 < length2 && ["action"].includes(props2.type);
|
|
39095
|
+
const isShow = props2.divider && index2 < length2 - +!getDropdownList.value.length && ["action"].includes(props2.type);
|
|
39077
39096
|
return isShow ? createVNode(Divider$2, {
|
|
39078
39097
|
"type": "vertical",
|
|
39079
39098
|
"class": "action-divider"
|
|
@@ -39413,7 +39432,7 @@ const ShyContainer = /* @__PURE__ */ defineComponent({
|
|
|
39413
39432
|
BreadcrumbItem
|
|
39414
39433
|
},
|
|
39415
39434
|
props: shyContainerProps,
|
|
39416
|
-
emits: ["submit", "cancel", "save"],
|
|
39435
|
+
emits: ["submit", "cancel", "save", "route-change"],
|
|
39417
39436
|
setup(props2, {
|
|
39418
39437
|
slots,
|
|
39419
39438
|
emit
|
|
@@ -39485,7 +39504,8 @@ const ShyContainer = /* @__PURE__ */ defineComponent({
|
|
|
39485
39504
|
}, _isSlot(_slot = props2.navBars.map((item) => {
|
|
39486
39505
|
return createVNode(BreadcrumbItem, null, {
|
|
39487
39506
|
default: () => [item.path ? createVNode(resolveComponent("router-link"), {
|
|
39488
|
-
"to": item.path
|
|
39507
|
+
"to": item.path,
|
|
39508
|
+
"onClick": () => emit("route-change", item)
|
|
39489
39509
|
}, {
|
|
39490
39510
|
default: () => [item.name]
|
|
39491
39511
|
}) : createVNode("span", null, [item.name])]
|
|
@@ -39622,8 +39642,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39622
39642
|
};
|
|
39623
39643
|
}
|
|
39624
39644
|
});
|
|
39625
|
-
const
|
|
39626
|
-
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
39645
|
+
const Process_vue_vue_type_style_index_0_scoped_d4b02362_lang = "";
|
|
39646
|
+
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d4b02362"]]);
|
|
39627
39647
|
export {
|
|
39628
39648
|
_sfc_main$T as AdvancedSearch,
|
|
39629
39649
|
ApiCascader$1 as ApiCascader,
|