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/lib/index.js
CHANGED
|
@@ -5420,7 +5420,7 @@ const _sfc_main$1F = vue.defineComponent({
|
|
|
5420
5420
|
};
|
|
5421
5421
|
}
|
|
5422
5422
|
});
|
|
5423
|
-
const
|
|
5423
|
+
const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
|
|
5424
5424
|
const _hoisted_1$G = ["data-score"];
|
|
5425
5425
|
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5426
5426
|
const _component_InputPassword = vue.resolveComponent("InputPassword");
|
|
@@ -5452,7 +5452,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5452
5452
|
], 2)
|
|
5453
5453
|
], 2);
|
|
5454
5454
|
}
|
|
5455
|
-
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-
|
|
5455
|
+
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-c8d77eaa"]]);
|
|
5456
5456
|
const _sfc_main$1E = vue.defineComponent({
|
|
5457
5457
|
name: "SvgIcon",
|
|
5458
5458
|
props: {
|
|
@@ -5488,7 +5488,7 @@ const _sfc_main$1E = vue.defineComponent({
|
|
|
5488
5488
|
return { symbolId, prefixCls: prefixCls2, getStyle };
|
|
5489
5489
|
}
|
|
5490
5490
|
});
|
|
5491
|
-
const
|
|
5491
|
+
const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
|
|
5492
5492
|
const _hoisted_1$F = ["xlink:href"];
|
|
5493
5493
|
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5494
5494
|
return vue.openBlock(), vue.createElementBlock("svg", {
|
|
@@ -5499,7 +5499,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5499
5499
|
vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$F)
|
|
5500
5500
|
], 6);
|
|
5501
5501
|
}
|
|
5502
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-
|
|
5502
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-fa64fe87"]]);
|
|
5503
5503
|
const SVG_END_WITH_FLAG = "|svg";
|
|
5504
5504
|
const _sfc_main$1D = vue.defineComponent({
|
|
5505
5505
|
name: "Icon",
|
|
@@ -5810,8 +5810,8 @@ const _sfc_main$1B = /* @__PURE__ */ vue.defineComponent({
|
|
|
5810
5810
|
};
|
|
5811
5811
|
}
|
|
5812
5812
|
});
|
|
5813
|
-
const
|
|
5814
|
-
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-
|
|
5813
|
+
const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
|
|
5814
|
+
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-03d87956"]]);
|
|
5815
5815
|
const props$c = {
|
|
5816
5816
|
/**
|
|
5817
5817
|
* Help text max-width
|
|
@@ -5988,8 +5988,8 @@ const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
|
|
|
5988
5988
|
};
|
|
5989
5989
|
}
|
|
5990
5990
|
});
|
|
5991
|
-
const
|
|
5992
|
-
const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-
|
|
5991
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_c885e8af_lang = "";
|
|
5992
|
+
const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-c885e8af"]]);
|
|
5993
5993
|
const props$b = {
|
|
5994
5994
|
prefixCls: { type: String },
|
|
5995
5995
|
helpMessage: {
|
|
@@ -9574,8 +9574,8 @@ const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
|
|
|
9574
9574
|
};
|
|
9575
9575
|
}
|
|
9576
9576
|
});
|
|
9577
|
-
const
|
|
9578
|
-
const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-
|
|
9577
|
+
const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
|
|
9578
|
+
const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-9232fde4"]]);
|
|
9579
9579
|
const modal = "";
|
|
9580
9580
|
const modalProps = {
|
|
9581
9581
|
visible: { type: Boolean },
|
|
@@ -9863,7 +9863,8 @@ const Modal$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9863
9863
|
...props2,
|
|
9864
9864
|
onCancel
|
|
9865
9865
|
};
|
|
9866
|
-
|
|
9866
|
+
const modalProps2 = omit$1(propsData, "visible");
|
|
9867
|
+
return vue.createVNode(antDesignVue.Modal, modalProps2, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
|
|
9867
9868
|
default: () => [_slot]
|
|
9868
9869
|
});
|
|
9869
9870
|
};
|
|
@@ -10621,8 +10622,8 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
|
10621
10622
|
};
|
|
10622
10623
|
}
|
|
10623
10624
|
});
|
|
10624
|
-
const
|
|
10625
|
-
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-
|
|
10625
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
|
|
10626
|
+
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-a48f9d86"]]);
|
|
10626
10627
|
const _sfc_main$1i = vue.defineComponent({
|
|
10627
10628
|
name: "BasicModalHeader",
|
|
10628
10629
|
components: { BasicTitle },
|
|
@@ -14601,8 +14602,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
14601
14602
|
};
|
|
14602
14603
|
}
|
|
14603
14604
|
});
|
|
14604
|
-
const
|
|
14605
|
-
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
14605
|
+
const TreeHeader_vue_vue_type_style_index_0_scoped_8dfdfcea_lang = "";
|
|
14606
|
+
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-8dfdfcea"]]);
|
|
14606
14607
|
process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
14607
14608
|
process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
14608
14609
|
const isString$1 = (val) => typeof val === "string";
|
|
@@ -15496,7 +15497,7 @@ const _sfc_main$11 = vue.defineComponent({
|
|
|
15496
15497
|
return { prefixCls: prefixCls2, getCalcContentWidth };
|
|
15497
15498
|
}
|
|
15498
15499
|
});
|
|
15499
|
-
const
|
|
15500
|
+
const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
|
|
15500
15501
|
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15501
15502
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15502
15503
|
class: vue.normalizeClass(_ctx.prefixCls),
|
|
@@ -15515,7 +15516,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15515
15516
|
], 2)
|
|
15516
15517
|
], 6);
|
|
15517
15518
|
}
|
|
15518
|
-
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-
|
|
15519
|
+
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-b4695833"]]);
|
|
15519
15520
|
const _sfc_main$10 = vue.defineComponent({
|
|
15520
15521
|
name: "PageWrapper",
|
|
15521
15522
|
components: { PageFooter, PageHeader: antDesignVue.PageHeader },
|
|
@@ -18131,8 +18132,8 @@ const _sfc_main$U = vue.defineComponent({
|
|
|
18131
18132
|
return { isVisibleAdvancedSearch, handleIconClick };
|
|
18132
18133
|
}
|
|
18133
18134
|
});
|
|
18134
|
-
const
|
|
18135
|
-
const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-
|
|
18135
|
+
const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
|
|
18136
|
+
const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-c5892da8"), n = n(), vue.popScopeId(), n);
|
|
18136
18137
|
const _hoisted_1$r = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("span", null, "高级搜索", -1));
|
|
18137
18138
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18138
18139
|
const _component_FilterOutlined = vue.resolveComponent("FilterOutlined");
|
|
@@ -18150,7 +18151,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18150
18151
|
_: 1
|
|
18151
18152
|
});
|
|
18152
18153
|
}
|
|
18153
|
-
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-
|
|
18154
|
+
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-c5892da8"]]);
|
|
18154
18155
|
const index$4 = "";
|
|
18155
18156
|
const searchType = [
|
|
18156
18157
|
{
|
|
@@ -19523,8 +19524,8 @@ const _sfc_main$N = vue.defineComponent({
|
|
|
19523
19524
|
};
|
|
19524
19525
|
}
|
|
19525
19526
|
});
|
|
19526
|
-
const
|
|
19527
|
-
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-
|
|
19527
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
|
|
19528
|
+
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-5f6e7403"), n = n(), vue.popScopeId(), n);
|
|
19528
19529
|
const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
|
|
19529
19530
|
const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
|
|
19530
19531
|
const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
|
|
@@ -19582,7 +19583,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19582
19583
|
])
|
|
19583
19584
|
], 4);
|
|
19584
19585
|
}
|
|
19585
|
-
const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
19586
|
+
const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-5f6e7403"]]);
|
|
19586
19587
|
const _sfc_main$M = vue.defineComponent({
|
|
19587
19588
|
components: {
|
|
19588
19589
|
TableAdvancedSearch: TableAdvancedSearch$1,
|
|
@@ -20136,7 +20137,7 @@ const _sfc_main$K = vue.defineComponent({
|
|
|
20136
20137
|
setup() {
|
|
20137
20138
|
}
|
|
20138
20139
|
});
|
|
20139
|
-
const
|
|
20140
|
+
const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
|
|
20140
20141
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20141
20142
|
var _a2;
|
|
20142
20143
|
const _component_Icon = vue.resolveComponent("Icon");
|
|
@@ -20165,7 +20166,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20165
20166
|
]), 1032, ["color"])
|
|
20166
20167
|
]);
|
|
20167
20168
|
}
|
|
20168
|
-
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-
|
|
20169
|
+
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-21146269"]]);
|
|
20169
20170
|
const index$3 = "";
|
|
20170
20171
|
function useTable(tableProps) {
|
|
20171
20172
|
const tableRef = vue.ref(null);
|
|
@@ -20437,8 +20438,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
20437
20438
|
};
|
|
20438
20439
|
}
|
|
20439
20440
|
});
|
|
20440
|
-
const
|
|
20441
|
-
const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
20441
|
+
const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
|
|
20442
|
+
const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-24f758b3"]]);
|
|
20442
20443
|
const _hoisted_1$i = { class: "api-modal-select" };
|
|
20443
20444
|
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
20444
20445
|
__name: "ApiModalSelect",
|
|
@@ -20586,8 +20587,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
20586
20587
|
};
|
|
20587
20588
|
}
|
|
20588
20589
|
});
|
|
20589
|
-
const
|
|
20590
|
-
const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
20590
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
|
|
20591
|
+
const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-5427533c"]]);
|
|
20591
20592
|
const Description$1 = "";
|
|
20592
20593
|
const basicColProps = 24;
|
|
20593
20594
|
const basicProps$3 = vue.reactive({
|
|
@@ -20595,6 +20596,14 @@ const basicProps$3 = vue.reactive({
|
|
|
20595
20596
|
type: Array,
|
|
20596
20597
|
default: () => []
|
|
20597
20598
|
},
|
|
20599
|
+
summaryPrecision: {
|
|
20600
|
+
type: Number,
|
|
20601
|
+
default: 2
|
|
20602
|
+
},
|
|
20603
|
+
summaryTotalFields: {
|
|
20604
|
+
type: Array,
|
|
20605
|
+
default: () => []
|
|
20606
|
+
},
|
|
20598
20607
|
labelAlign: {
|
|
20599
20608
|
type: String,
|
|
20600
20609
|
default: () => "right"
|
|
@@ -20704,7 +20713,7 @@ const Description = /* @__PURE__ */ vue.defineComponent({
|
|
|
20704
20713
|
const rows = vue.computed(() => {
|
|
20705
20714
|
let element = null;
|
|
20706
20715
|
return getProps.value.schema.map((item) => {
|
|
20707
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
20716
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
20708
20717
|
if ((item == null ? void 0 : item.component) === "Divider") {
|
|
20709
20718
|
return vue.createVNode(antDesignVue.Divider, null, null);
|
|
20710
20719
|
} else if ((item == null ? void 0 : item.component) === "Group") {
|
|
@@ -20716,30 +20725,36 @@ const Description = /* @__PURE__ */ vue.defineComponent({
|
|
|
20716
20725
|
"label": item == null ? void 0 : item.label
|
|
20717
20726
|
}, null)]);
|
|
20718
20727
|
} else {
|
|
20728
|
+
const data = getProps.value.data;
|
|
20719
20729
|
if (item == null ? void 0 : item.customRender) {
|
|
20720
|
-
element = (item == null ? void 0 : item.customRender) ? item.customRender(
|
|
20730
|
+
element = (item == null ? void 0 : item.customRender) ? item.customRender(data) : null;
|
|
20731
|
+
} else if ((_a2 = getProps.value.summaryTotalFields) == null ? void 0 : _a2.length) {
|
|
20732
|
+
element = slots[`${item.field}Value`] ? (_b = slots[`${item.field}Value`]) == null ? void 0 : _b.call(slots, {
|
|
20733
|
+
model: data,
|
|
20734
|
+
field: data[`${item.field}`]
|
|
20735
|
+
}) : utils.isNumber(+data[`${item.field}`]) && !isNaN(+data[`${item.field}`]) ? (+data[`${item.field}`]).toFixed(getProps.value.summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : data[`${item.field}`];
|
|
20721
20736
|
} else {
|
|
20722
|
-
element = slots[`${item.field}Value`] ? (
|
|
20723
|
-
model:
|
|
20724
|
-
field:
|
|
20725
|
-
}) :
|
|
20737
|
+
element = slots[`${item.field}Value`] ? (_c = slots[`${item.field}Value`]) == null ? void 0 : _c.call(slots, {
|
|
20738
|
+
model: data,
|
|
20739
|
+
field: data[`${item.field}`]
|
|
20740
|
+
}) : data[`${item.field}`];
|
|
20726
20741
|
}
|
|
20727
|
-
const ifShow = utils.isBoolean(item == null ? void 0 : item.ifShow) || utils.isFunction(item == null ? void 0 : item.ifShow) ? utils.isFunction(item.ifShow) ? item.ifShow(
|
|
20742
|
+
const ifShow = utils.isBoolean(item == null ? void 0 : item.ifShow) || utils.isFunction(item == null ? void 0 : item.ifShow) ? utils.isFunction(item.ifShow) ? item.ifShow(data) : item.ifShow : true;
|
|
20728
20743
|
return ifShow ? vue.createVNode("div", {
|
|
20729
20744
|
"class": `${prefixCls2}-row`,
|
|
20730
20745
|
"style": {
|
|
20731
|
-
flex: `0 0 ${(((
|
|
20746
|
+
flex: `0 0 ${(((_d = item == null ? void 0 : item.colProps) == null ? void 0 : _d.span) || basicColProps) / 24 * 100}%`,
|
|
20732
20747
|
flexDirection: getProps.value.mode === "horizontal" ? "row" : "column"
|
|
20733
20748
|
}
|
|
20734
20749
|
}, [(slots == null ? void 0 : slots[`${item.field}Label`]) || item.label ? vue.createVNode("span", {
|
|
20735
20750
|
"style": {
|
|
20736
20751
|
width: getProps.value.mode === "horizontal" ? `${getProps.value.labelWidth}px` : "auto",
|
|
20737
20752
|
...labelAlignCss.value,
|
|
20738
|
-
...((
|
|
20753
|
+
...((_e = getProps.value) == null ? void 0 : _e.labelStyle) ? (_f = getProps.value) == null ? void 0 : _f.labelStyle : {},
|
|
20739
20754
|
...(item == null ? void 0 : item.labelStyle) ? item == null ? void 0 : item.labelStyle : {}
|
|
20740
20755
|
},
|
|
20741
20756
|
"class": `${prefixCls2}-label`
|
|
20742
|
-
}, [slots[`${item.field}Label`] ? (
|
|
20757
|
+
}, [slots[`${item.field}Label`] ? (_g = slots[`${item.field}Label`]) == null ? void 0 : _g.call(slots, {
|
|
20743
20758
|
model: getProps.value.data,
|
|
20744
20759
|
field: item.label
|
|
20745
20760
|
}) : item.label, (item == null ? void 0 : item.helpMessage) ? vue.createVNode(_sfc_main$1A, {
|
|
@@ -20750,10 +20765,10 @@ const Description = /* @__PURE__ */ vue.defineComponent({
|
|
|
20750
20765
|
"class": "mx-1",
|
|
20751
20766
|
"text": item == null ? void 0 : item.helpMessage,
|
|
20752
20767
|
"iconSize": "9px"
|
|
20753
|
-
}, null) : "", ((
|
|
20768
|
+
}, null) : "", ((_h = getProps.value) == null ? void 0 : _h.isShowColon) ? ":" : vue.createVNode("span", null, null)]) : vue.createVNode(vue.Fragment, null, [vue.createTextVNode(" ")]), vue.createVNode("span", {
|
|
20754
20769
|
"class": `${prefixCls2}-value`,
|
|
20755
20770
|
"style": {
|
|
20756
|
-
...((
|
|
20771
|
+
...((_i = getProps.value) == null ? void 0 : _i.contentStyle) ? (_j = getProps.value) == null ? void 0 : _j.contentStyle : {},
|
|
20757
20772
|
...(item == null ? void 0 : item.contentStyle) ? item == null ? void 0 : item.contentStyle : {}
|
|
20758
20773
|
}
|
|
20759
20774
|
}, [element, (item == null ? void 0 : item.isCopy) ? vue.createVNode("span", {
|
|
@@ -24620,7 +24635,7 @@ const _sfc_main$B = vue.defineComponent({
|
|
|
24620
24635
|
};
|
|
24621
24636
|
}
|
|
24622
24637
|
});
|
|
24623
|
-
const
|
|
24638
|
+
const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
|
|
24624
24639
|
const _hoisted_1$e = ["src"];
|
|
24625
24640
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24626
24641
|
const _component_Icon = vue.resolveComponent("Icon");
|
|
@@ -24671,7 +24686,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24671
24686
|
}, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
|
|
24672
24687
|
], 6);
|
|
24673
24688
|
}
|
|
24674
|
-
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
24689
|
+
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-6ac45907"]]);
|
|
24675
24690
|
const props = {
|
|
24676
24691
|
startVal: { type: Number, default: 0 },
|
|
24677
24692
|
endVal: { type: Number, default: 2021 },
|
|
@@ -24843,7 +24858,7 @@ const _sfc_main$y = vue.defineComponent({
|
|
|
24843
24858
|
}
|
|
24844
24859
|
}
|
|
24845
24860
|
});
|
|
24846
|
-
const
|
|
24861
|
+
const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
|
|
24847
24862
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24848
24863
|
const _component_Spin = vue.resolveComponent("Spin");
|
|
24849
24864
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("section", {
|
|
@@ -24859,7 +24874,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24859
24874
|
[vue.vShow, _ctx.loading]
|
|
24860
24875
|
]);
|
|
24861
24876
|
}
|
|
24862
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
24877
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-33b23b82"]]);
|
|
24863
24878
|
function createLoading(props2, target, wait = false) {
|
|
24864
24879
|
let vm = null;
|
|
24865
24880
|
const data = vue.reactive({
|
|
@@ -26652,7 +26667,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
26652
26667
|
},
|
|
26653
26668
|
setup(__props, { expose: __expose }) {
|
|
26654
26669
|
vue.useCssVars((_ctx) => ({
|
|
26655
|
-
"
|
|
26670
|
+
"7210fae1": props2.labelWidth
|
|
26656
26671
|
}));
|
|
26657
26672
|
const props2 = __props;
|
|
26658
26673
|
const form = vue.ref({});
|
|
@@ -26823,8 +26838,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
26823
26838
|
};
|
|
26824
26839
|
}
|
|
26825
26840
|
});
|
|
26826
|
-
const
|
|
26827
|
-
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
26841
|
+
const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
|
|
26842
|
+
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-b1ced086"]]);
|
|
26828
26843
|
const DescriptionsForm = utils.withInstall(descriptionsForm);
|
|
26829
26844
|
const basicResizeWrapperProps = vue.reactive({
|
|
26830
26845
|
designWidth: {
|
|
@@ -26869,8 +26884,8 @@ const __default__$1 = vue.defineComponent({
|
|
|
26869
26884
|
});
|
|
26870
26885
|
const __injectCSSVars__ = () => {
|
|
26871
26886
|
vue.useCssVars((_ctx) => ({
|
|
26872
|
-
"
|
|
26873
|
-
"
|
|
26887
|
+
"1a93f028": _ctx.designWidth,
|
|
26888
|
+
"1e1b1b05": _ctx.designHeight
|
|
26874
26889
|
}));
|
|
26875
26890
|
};
|
|
26876
26891
|
const __setup__ = __default__$1.setup;
|
|
@@ -27350,7 +27365,7 @@ const styles = `.vue-colorful {
|
|
|
27350
27365
|
border-color: transparent;
|
|
27351
27366
|
border-bottom: 12px solid #000;
|
|
27352
27367
|
border-radius: 8px 8px 0 0;
|
|
27353
|
-
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0))
|
|
27368
|
+
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
|
|
27354
27369
|
linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
|
27355
27370
|
}
|
|
27356
27371
|
.vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
|
|
@@ -27371,15 +27386,15 @@ const styles = `.vue-colorful {
|
|
|
27371
27386
|
height: 24px;
|
|
27372
27387
|
}
|
|
27373
27388
|
.vue-colorful__hue {
|
|
27374
|
-
background: linear-gradient(
|
|
27375
|
-
to right
|
|
27376
|
-
#f00 0
|
|
27377
|
-
#ff0 17
|
|
27378
|
-
#0f0 33
|
|
27379
|
-
#0ff 50
|
|
27380
|
-
#00f 67
|
|
27381
|
-
#f0f 83
|
|
27382
|
-
#f00 100
|
|
27389
|
+
background: linear-gradient(\r
|
|
27390
|
+
to right,\r
|
|
27391
|
+
#f00 0%,\r
|
|
27392
|
+
#ff0 17%,\r
|
|
27393
|
+
#0f0 33%,\r
|
|
27394
|
+
#0ff 50%,\r
|
|
27395
|
+
#00f 67%,\r
|
|
27396
|
+
#f0f 83%,\r
|
|
27397
|
+
#f00 100%\r
|
|
27383
27398
|
);
|
|
27384
27399
|
}
|
|
27385
27400
|
.vue-colorful__last-control {
|
|
@@ -31927,11 +31942,15 @@ const DEFAULT_FILTER_FN = defaultFilterFn;
|
|
|
31927
31942
|
let DEFAULT_ALIGN = "left";
|
|
31928
31943
|
const INDEX_COLUMN_FLAG = "INDEX";
|
|
31929
31944
|
const ACTION_COLUMN_FLAG = "ACTION";
|
|
31930
|
-
const ACTION_COLUMN_WIDTH =
|
|
31945
|
+
const ACTION_COLUMN_WIDTH = 65;
|
|
31931
31946
|
const setConstConfig = (config) => {
|
|
31932
31947
|
DEFAULT_ALIGN = config.align;
|
|
31933
31948
|
};
|
|
31934
31949
|
const shyTableBasicProps = vue.reactive({
|
|
31950
|
+
summaryPrecision: {
|
|
31951
|
+
type: Number,
|
|
31952
|
+
default: 2
|
|
31953
|
+
},
|
|
31935
31954
|
isShowTitle: {
|
|
31936
31955
|
type: Boolean,
|
|
31937
31956
|
default: true
|
|
@@ -33429,8 +33448,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
33429
33448
|
};
|
|
33430
33449
|
}
|
|
33431
33450
|
});
|
|
33432
|
-
const
|
|
33433
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
33451
|
+
const Table_vue_vue_type_style_index_0_scoped_0d7f83ba_lang = "";
|
|
33452
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-0d7f83ba"]]);
|
|
33434
33453
|
const ShyComponentMap = /* @__PURE__ */ new Map();
|
|
33435
33454
|
ShyComponentMap.set("Input", antDesignVue.Input);
|
|
33436
33455
|
ShyComponentMap.set("InputGroup", antDesignVue.Input.Group);
|
|
@@ -35319,8 +35338,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35319
35338
|
};
|
|
35320
35339
|
}
|
|
35321
35340
|
});
|
|
35322
|
-
const
|
|
35323
|
-
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
35341
|
+
const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
|
|
35342
|
+
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-15e2dcbb"]]);
|
|
35324
35343
|
const _hoisted_1$4 = { class: "api-modal-select" };
|
|
35325
35344
|
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
35326
35345
|
__name: "ApiModalSelect",
|
|
@@ -35468,8 +35487,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35468
35487
|
};
|
|
35469
35488
|
}
|
|
35470
35489
|
});
|
|
35471
|
-
const
|
|
35472
|
-
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
35490
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
|
|
35491
|
+
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5019fbdf"]]);
|
|
35473
35492
|
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
35474
35493
|
__name: "FormWrapper",
|
|
35475
35494
|
props: {
|
|
@@ -35755,7 +35774,7 @@ function useDataSource(propsRef, {
|
|
|
35755
35774
|
const total = dataSourceRef.value.reduce((acc, cur) => {
|
|
35756
35775
|
return +acc + (+cur[field] || 0);
|
|
35757
35776
|
}, 0);
|
|
35758
|
-
obj[field] =
|
|
35777
|
+
obj[field] = total.toFixed(vue.unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
|
|
35759
35778
|
});
|
|
35760
35779
|
return obj;
|
|
35761
35780
|
});
|
|
@@ -37790,12 +37809,12 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
|
|
|
37790
37809
|
return hasPermission(column2.auth) && isIfShow(column2);
|
|
37791
37810
|
}).map((column2) => {
|
|
37792
37811
|
var _a2, _b;
|
|
37793
|
-
const isSummaryCol =
|
|
37812
|
+
const isSummaryCol = (_b = (_a2 = vue.unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(
|
|
37794
37813
|
_a2,
|
|
37795
37814
|
column2.dataIndex
|
|
37796
|
-
)
|
|
37815
|
+
);
|
|
37797
37816
|
const summaryFormat = (text) => {
|
|
37798
|
-
return text ? utils.isNumber(+text) && !isNaN(+text) ?
|
|
37817
|
+
return text ? utils.isNumber(+text) && !isNaN(+text) ? (+text).toFixed(vue.unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : text : "";
|
|
37799
37818
|
};
|
|
37800
37819
|
const {
|
|
37801
37820
|
slots,
|
|
@@ -38368,8 +38387,8 @@ const _sfc_main$3 = vue.defineComponent({
|
|
|
38368
38387
|
};
|
|
38369
38388
|
}
|
|
38370
38389
|
});
|
|
38371
|
-
const
|
|
38372
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-
|
|
38390
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ac81b595_lang = "";
|
|
38391
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-ac81b595"), n = n(), vue.popScopeId(), n);
|
|
38373
38392
|
const _hoisted_1$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
|
|
38374
38393
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
|
|
38375
38394
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
|
|
@@ -38427,7 +38446,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38427
38446
|
])
|
|
38428
38447
|
], 4);
|
|
38429
38448
|
}
|
|
38430
|
-
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
38449
|
+
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-ac81b595"]]);
|
|
38431
38450
|
const _sfc_main$2 = vue.defineComponent({
|
|
38432
38451
|
name: "EditTableHeaderIcon",
|
|
38433
38452
|
components: { FormOutlined: FormOutlined$1 },
|
|
@@ -39097,7 +39116,7 @@ const ShyTableAction = /* @__PURE__ */ vue.defineComponent({
|
|
|
39097
39116
|
isInButton && e.stopPropagation();
|
|
39098
39117
|
};
|
|
39099
39118
|
const renderDivider = (index2, length2) => {
|
|
39100
|
-
const isShow = props2.divider && index2 < length2 && ["action"].includes(props2.type);
|
|
39119
|
+
const isShow = props2.divider && index2 < length2 - +!getDropdownList.value.length && ["action"].includes(props2.type);
|
|
39101
39120
|
return isShow ? vue.createVNode(antDesignVue.Divider, {
|
|
39102
39121
|
"type": "vertical",
|
|
39103
39122
|
"class": "action-divider"
|
|
@@ -39437,7 +39456,7 @@ const ShyContainer = /* @__PURE__ */ vue.defineComponent({
|
|
|
39437
39456
|
BreadcrumbItem
|
|
39438
39457
|
},
|
|
39439
39458
|
props: shyContainerProps,
|
|
39440
|
-
emits: ["submit", "cancel", "save"],
|
|
39459
|
+
emits: ["submit", "cancel", "save", "route-change"],
|
|
39441
39460
|
setup(props2, {
|
|
39442
39461
|
slots,
|
|
39443
39462
|
emit
|
|
@@ -39509,7 +39528,8 @@ const ShyContainer = /* @__PURE__ */ vue.defineComponent({
|
|
|
39509
39528
|
}, _isSlot(_slot = props2.navBars.map((item) => {
|
|
39510
39529
|
return vue.createVNode(BreadcrumbItem, null, {
|
|
39511
39530
|
default: () => [item.path ? vue.createVNode(vue.resolveComponent("router-link"), {
|
|
39512
|
-
"to": item.path
|
|
39531
|
+
"to": item.path,
|
|
39532
|
+
"onClick": () => emit("route-change", item)
|
|
39513
39533
|
}, {
|
|
39514
39534
|
default: () => [item.name]
|
|
39515
39535
|
}) : vue.createVNode("span", null, [item.name])]
|
|
@@ -39646,8 +39666,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39646
39666
|
};
|
|
39647
39667
|
}
|
|
39648
39668
|
});
|
|
39649
|
-
const
|
|
39650
|
-
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
39669
|
+
const Process_vue_vue_type_style_index_0_scoped_d4b02362_lang = "";
|
|
39670
|
+
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d4b02362"]]);
|
|
39651
39671
|
exports.AdvancedSearch = _sfc_main$T;
|
|
39652
39672
|
exports.ApiCascader = ApiCascader$1;
|
|
39653
39673
|
exports.ApiModalSelect = ApiModalSelect$1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.54",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"vue-json-pretty": "^2.2.3",
|
|
30
30
|
"vxe-table": "^4.3.6",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
|
+
"@shy-plugins/use": "1.0.0-next.1",
|
|
32
33
|
"@shy-plugins/tinymce": "^1.0.6",
|
|
33
|
-
"@shy-plugins/utils": "1.0.0-next.1"
|
|
34
|
-
"@shy-plugins/use": "1.0.0-next.1"
|
|
34
|
+
"@shy-plugins/utils": "1.0.0-next.1"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|