3h1-ui 2.14.62 → 2.14.64
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 +80 -55
- package/es/style.css +81 -81
- package/lib/index.js +80 -55
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -4726,7 +4726,7 @@ const _sfc_main$1l = defineComponent({
|
|
|
4726
4726
|
};
|
|
4727
4727
|
}
|
|
4728
4728
|
});
|
|
4729
|
-
const
|
|
4729
|
+
const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
|
|
4730
4730
|
const _hoisted_1$z = ["data-score"];
|
|
4731
4731
|
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4732
4732
|
const _component_InputPassword = resolveComponent("InputPassword");
|
|
@@ -4758,7 +4758,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4758
4758
|
], 2)
|
|
4759
4759
|
], 2);
|
|
4760
4760
|
}
|
|
4761
|
-
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$M], ["__scopeId", "data-v-
|
|
4761
|
+
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$M], ["__scopeId", "data-v-c8d77eaa"]]);
|
|
4762
4762
|
const _sfc_main$1k = defineComponent({
|
|
4763
4763
|
name: "SvgIcon",
|
|
4764
4764
|
props: {
|
|
@@ -4794,7 +4794,7 @@ const _sfc_main$1k = defineComponent({
|
|
|
4794
4794
|
return { symbolId, prefixCls: prefixCls2, getStyle };
|
|
4795
4795
|
}
|
|
4796
4796
|
});
|
|
4797
|
-
const
|
|
4797
|
+
const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
|
|
4798
4798
|
const _hoisted_1$y = ["xlink:href"];
|
|
4799
4799
|
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4800
4800
|
return openBlock(), createElementBlock("svg", {
|
|
@@ -4805,7 +4805,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4805
4805
|
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$y)
|
|
4806
4806
|
], 6);
|
|
4807
4807
|
}
|
|
4808
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$L], ["__scopeId", "data-v-
|
|
4808
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$L], ["__scopeId", "data-v-fa64fe87"]]);
|
|
4809
4809
|
const SVG_END_WITH_FLAG = "|svg";
|
|
4810
4810
|
const _sfc_main$1j = defineComponent({
|
|
4811
4811
|
name: "Icon",
|
|
@@ -5116,8 +5116,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
5116
5116
|
};
|
|
5117
5117
|
}
|
|
5118
5118
|
});
|
|
5119
|
-
const
|
|
5120
|
-
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-
|
|
5119
|
+
const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
|
|
5120
|
+
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-03d87956"]]);
|
|
5121
5121
|
const props$c = {
|
|
5122
5122
|
/**
|
|
5123
5123
|
* Help text max-width
|
|
@@ -5259,8 +5259,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
5259
5259
|
};
|
|
5260
5260
|
}
|
|
5261
5261
|
});
|
|
5262
|
-
const
|
|
5263
|
-
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-
|
|
5262
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_c007dbdf_lang = "";
|
|
5263
|
+
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-c007dbdf"]]);
|
|
5264
5264
|
const props$b = {
|
|
5265
5265
|
prefixCls: { type: String },
|
|
5266
5266
|
helpMessage: {
|
|
@@ -7700,8 +7700,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
7700
7700
|
};
|
|
7701
7701
|
}
|
|
7702
7702
|
});
|
|
7703
|
-
const
|
|
7704
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
7703
|
+
const Table_vue_vue_type_style_index_0_scoped_c82f1009_lang = "";
|
|
7704
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-c82f1009"]]);
|
|
7705
7705
|
const modal = "";
|
|
7706
7706
|
useI18n$1();
|
|
7707
7707
|
const modalProps = {
|
|
@@ -8598,8 +8598,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
8598
8598
|
};
|
|
8599
8599
|
}
|
|
8600
8600
|
});
|
|
8601
|
-
const
|
|
8602
|
-
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
8601
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
|
|
8602
|
+
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-a48f9d86"]]);
|
|
8603
8603
|
const _sfc_main$_ = defineComponent({
|
|
8604
8604
|
name: "BasicModalHeader",
|
|
8605
8605
|
components: { BasicTitle },
|
|
@@ -12685,8 +12685,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
12685
12685
|
};
|
|
12686
12686
|
}
|
|
12687
12687
|
});
|
|
12688
|
-
const
|
|
12689
|
-
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-
|
|
12688
|
+
const TreeHeader_vue_vue_type_style_index_0_scoped_a0f20f9d_lang = "";
|
|
12689
|
+
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-a0f20f9d"]]);
|
|
12690
12690
|
process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
12691
12691
|
process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
12692
12692
|
const isString = (val) => typeof val === "string";
|
|
@@ -13575,7 +13575,7 @@ const _sfc_main$H = defineComponent({
|
|
|
13575
13575
|
return { prefixCls: prefixCls2, getCalcContentWidth };
|
|
13576
13576
|
}
|
|
13577
13577
|
});
|
|
13578
|
-
const
|
|
13578
|
+
const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
|
|
13579
13579
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13580
13580
|
return openBlock(), createElementBlock("div", {
|
|
13581
13581
|
class: normalizeClass(_ctx.prefixCls),
|
|
@@ -13594,7 +13594,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13594
13594
|
], 2)
|
|
13595
13595
|
], 6);
|
|
13596
13596
|
}
|
|
13597
|
-
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
13597
|
+
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$u], ["__scopeId", "data-v-b4695833"]]);
|
|
13598
13598
|
const _sfc_main$G = defineComponent({
|
|
13599
13599
|
name: "PageWrapper",
|
|
13600
13600
|
components: { PageFooter, PageHeader },
|
|
@@ -13790,6 +13790,14 @@ const PageSecond = /* @__PURE__ */ defineComponent({
|
|
|
13790
13790
|
isShowFooter: {
|
|
13791
13791
|
type: Boolean,
|
|
13792
13792
|
default: () => false
|
|
13793
|
+
},
|
|
13794
|
+
confirmButtonText: {
|
|
13795
|
+
type: String,
|
|
13796
|
+
default: () => "确定"
|
|
13797
|
+
},
|
|
13798
|
+
cancelButtonText: {
|
|
13799
|
+
type: String,
|
|
13800
|
+
default: () => "取消"
|
|
13793
13801
|
}
|
|
13794
13802
|
},
|
|
13795
13803
|
emits: ["click-return", "confirm", "cancel"],
|
|
@@ -13826,16 +13834,16 @@ const PageSecond = /* @__PURE__ */ defineComponent({
|
|
|
13826
13834
|
}, [createVNode(Space, null, {
|
|
13827
13835
|
default: () => {
|
|
13828
13836
|
var _a3, _b, _c;
|
|
13829
|
-
return [(_a3 = slots.
|
|
13830
|
-
"onClick": handleCancel
|
|
13831
|
-
}, {
|
|
13832
|
-
default: () => [createTextVNode("取消")]
|
|
13833
|
-
}) : null, (_b = slots.afterCancelButton) == null ? void 0 : _b.call(slots), props2.isShowConfirmButton ? createVNode(_sfc_main$Y, {
|
|
13837
|
+
return [(_a3 = slots.beforeConfirmButton) == null ? void 0 : _a3.call(slots), props2.isShowConfirmButton ? createVNode(_sfc_main$Y, {
|
|
13834
13838
|
"onClick": handleConfirm,
|
|
13835
13839
|
"type": "primary"
|
|
13836
13840
|
}, {
|
|
13837
|
-
default: () => [
|
|
13838
|
-
}) : null, (
|
|
13841
|
+
default: () => [props2.confirmButtonText]
|
|
13842
|
+
}) : null, (_b = slots.beforeCancelButton) == null ? void 0 : _b.call(slots), props2.isShowCancelButton ? createVNode(_sfc_main$Y, {
|
|
13843
|
+
"onClick": handleCancel
|
|
13844
|
+
}, {
|
|
13845
|
+
default: () => [props2.cancelButtonText]
|
|
13846
|
+
}) : null, (_c = slots.afterCancelButton) == null ? void 0 : _c.call(slots)];
|
|
13839
13847
|
}
|
|
13840
13848
|
})]) : null]);
|
|
13841
13849
|
};
|
|
@@ -15418,7 +15426,7 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDa
|
|
|
15418
15426
|
});
|
|
15419
15427
|
});
|
|
15420
15428
|
const getScrollX = computed(() => {
|
|
15421
|
-
var _a2
|
|
15429
|
+
var _a2;
|
|
15422
15430
|
let width = 0;
|
|
15423
15431
|
if (unref(rowSelectionRef)) {
|
|
15424
15432
|
width += 60;
|
|
@@ -15437,7 +15445,6 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDa
|
|
|
15437
15445
|
}
|
|
15438
15446
|
const table2 = unref(tableElRef);
|
|
15439
15447
|
const tableWidth = ((_a2 = table2 == null ? void 0 : table2.$el) == null ? void 0 : _a2.offsetWidth) ?? 0;
|
|
15440
|
-
/* @__PURE__ */ console.log(tableWidth, (_b = table2 == null ? void 0 : table2.$el) == null ? void 0 : _b.offsetWidth, width);
|
|
15441
15448
|
return tableWidth > width ? "100%" : width;
|
|
15442
15449
|
});
|
|
15443
15450
|
const getScrollRef = computed(() => {
|
|
@@ -16114,8 +16121,8 @@ const _sfc_main$y = defineComponent({
|
|
|
16114
16121
|
return { isVisibleAdvancedSearch, handleIconClick };
|
|
16115
16122
|
}
|
|
16116
16123
|
});
|
|
16117
|
-
const
|
|
16118
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
16124
|
+
const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
|
|
16125
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-c5892da8"), n = n(), popScopeId(), n);
|
|
16119
16126
|
const _hoisted_1$k = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "高级搜索", -1));
|
|
16120
16127
|
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16121
16128
|
const _component_FilterOutlined = resolveComponent("FilterOutlined");
|
|
@@ -16133,7 +16140,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16133
16140
|
_: 1
|
|
16134
16141
|
});
|
|
16135
16142
|
}
|
|
16136
|
-
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$o], ["__scopeId", "data-v-
|
|
16143
|
+
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$o], ["__scopeId", "data-v-c5892da8"]]);
|
|
16137
16144
|
const index$3 = "";
|
|
16138
16145
|
const searchType = [
|
|
16139
16146
|
{
|
|
@@ -17499,8 +17506,8 @@ const _sfc_main$r = defineComponent({
|
|
|
17499
17506
|
};
|
|
17500
17507
|
}
|
|
17501
17508
|
});
|
|
17502
|
-
const
|
|
17503
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
17509
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
|
|
17510
|
+
const _withScopeId = (n) => (pushScopeId("data-v-5f6e7403"), n = n(), popScopeId(), n);
|
|
17504
17511
|
const _hoisted_1$f = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
|
|
17505
17512
|
const _hoisted_2$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
|
|
17506
17513
|
const _hoisted_3$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
@@ -17558,7 +17565,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17558
17565
|
])
|
|
17559
17566
|
], 4);
|
|
17560
17567
|
}
|
|
17561
|
-
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
17568
|
+
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$j], ["__scopeId", "data-v-5f6e7403"]]);
|
|
17562
17569
|
const _sfc_main$q = defineComponent({
|
|
17563
17570
|
components: {
|
|
17564
17571
|
TableAdvancedSearch,
|
|
@@ -18061,7 +18068,7 @@ const _sfc_main$o = defineComponent({
|
|
|
18061
18068
|
setup() {
|
|
18062
18069
|
}
|
|
18063
18070
|
});
|
|
18064
|
-
const
|
|
18071
|
+
const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
|
|
18065
18072
|
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18066
18073
|
var _a2;
|
|
18067
18074
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -18090,7 +18097,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18090
18097
|
]), 1032, ["color"])
|
|
18091
18098
|
]);
|
|
18092
18099
|
}
|
|
18093
|
-
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
|
18100
|
+
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$g], ["__scopeId", "data-v-21146269"]]);
|
|
18094
18101
|
const index$2 = "";
|
|
18095
18102
|
var RoleEnum = /* @__PURE__ */ ((RoleEnum2) => {
|
|
18096
18103
|
RoleEnum2["SUPER"] = "super";
|
|
@@ -18366,8 +18373,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18366
18373
|
};
|
|
18367
18374
|
}
|
|
18368
18375
|
});
|
|
18369
|
-
const
|
|
18370
|
-
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
18376
|
+
const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
|
|
18377
|
+
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-24f758b3"]]);
|
|
18371
18378
|
const _hoisted_1$b = { class: "api-modal-select" };
|
|
18372
18379
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18373
18380
|
__name: "ApiModalSelect",
|
|
@@ -18514,8 +18521,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18514
18521
|
};
|
|
18515
18522
|
}
|
|
18516
18523
|
});
|
|
18517
|
-
const
|
|
18518
|
-
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
18524
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
|
|
18525
|
+
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-5427533c"]]);
|
|
18519
18526
|
const Description$1 = "";
|
|
18520
18527
|
const basicColProps = 24;
|
|
18521
18528
|
const basicProps$2 = {
|
|
@@ -22491,7 +22498,7 @@ const _sfc_main$f = defineComponent({
|
|
|
22491
22498
|
};
|
|
22492
22499
|
}
|
|
22493
22500
|
});
|
|
22494
|
-
const
|
|
22501
|
+
const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
|
|
22495
22502
|
const _hoisted_1$7 = ["src"];
|
|
22496
22503
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22497
22504
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -22542,7 +22549,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22542
22549
|
}, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
|
|
22543
22550
|
], 6);
|
|
22544
22551
|
}
|
|
22545
|
-
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$a], ["__scopeId", "data-v-
|
|
22552
|
+
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$a], ["__scopeId", "data-v-6ac45907"]]);
|
|
22546
22553
|
const props = {
|
|
22547
22554
|
startVal: { type: Number, default: 0 },
|
|
22548
22555
|
endVal: { type: Number, default: 2021 },
|
|
@@ -22713,7 +22720,7 @@ const _sfc_main$c = defineComponent({
|
|
|
22713
22720
|
}
|
|
22714
22721
|
}
|
|
22715
22722
|
});
|
|
22716
|
-
const
|
|
22723
|
+
const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
|
|
22717
22724
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22718
22725
|
const _component_Spin = resolveComponent("Spin");
|
|
22719
22726
|
return withDirectives((openBlock(), createElementBlock("section", {
|
|
@@ -22729,7 +22736,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22729
22736
|
[vShow, _ctx.loading]
|
|
22730
22737
|
]);
|
|
22731
22738
|
}
|
|
22732
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$8], ["__scopeId", "data-v-
|
|
22739
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$8], ["__scopeId", "data-v-33b23b82"]]);
|
|
22733
22740
|
function createLoading(props2, target, wait = false) {
|
|
22734
22741
|
let vm = null;
|
|
22735
22742
|
const data = reactive({
|
|
@@ -22850,9 +22857,12 @@ const usePagination = () => {
|
|
|
22850
22857
|
pageSizeOptions: ["10", "20", "30", "40"]
|
|
22851
22858
|
});
|
|
22852
22859
|
const setPage = (pageInfo) => {
|
|
22853
|
-
|
|
22854
|
-
|
|
22855
|
-
|
|
22860
|
+
return new Promise((resolve) => {
|
|
22861
|
+
nextTick(() => {
|
|
22862
|
+
Object.keys(pageInfo).forEach((key2) => {
|
|
22863
|
+
page[key2] = pageInfo[key2];
|
|
22864
|
+
});
|
|
22865
|
+
resolve({ ...page });
|
|
22856
22866
|
});
|
|
22857
22867
|
});
|
|
22858
22868
|
};
|
|
@@ -22873,8 +22883,26 @@ const useTableData = (getProps, { setPage, params, tableRef }) => {
|
|
|
22873
22883
|
var _a2;
|
|
22874
22884
|
if ((_a2 = getProps.value) == null ? void 0 : _a2.api) {
|
|
22875
22885
|
const res = await getProps.value.api(params.value);
|
|
22876
|
-
|
|
22877
|
-
|
|
22886
|
+
const isArrayResult = Array.isArray(res);
|
|
22887
|
+
let resultItems = isArrayResult ? res : get(res, "records");
|
|
22888
|
+
const resultTotal = isArrayResult ? res.length : get(res, "total");
|
|
22889
|
+
if (resultTotal) {
|
|
22890
|
+
const currentTotalPage = Math.ceil(resultTotal / params.value.size);
|
|
22891
|
+
if (params.value.current > currentTotalPage) {
|
|
22892
|
+
await setPage({
|
|
22893
|
+
total: resultTotal,
|
|
22894
|
+
current: currentTotalPage
|
|
22895
|
+
});
|
|
22896
|
+
return await reload();
|
|
22897
|
+
}
|
|
22898
|
+
}
|
|
22899
|
+
if (getProps.value.transDataAfterReload && isFunction$4(getProps.value.transDataAfterReload)) {
|
|
22900
|
+
resultItems = await getProps.value.transDataAfterReload(resultItems) || resultItems;
|
|
22901
|
+
}
|
|
22902
|
+
setTableData(resultItems);
|
|
22903
|
+
setPage({
|
|
22904
|
+
total: resultTotal
|
|
22905
|
+
});
|
|
22878
22906
|
}
|
|
22879
22907
|
};
|
|
22880
22908
|
const addTableData = (list = [{}]) => {
|
|
@@ -23810,9 +23838,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
23810
23838
|
columnSeq: { default: () => {
|
|
23811
23839
|
return {};
|
|
23812
23840
|
} },
|
|
23813
|
-
transDataAfterReload:
|
|
23814
|
-
return (res) => res.records;
|
|
23815
|
-
} }
|
|
23841
|
+
transDataAfterReload: null
|
|
23816
23842
|
},
|
|
23817
23843
|
emits: [
|
|
23818
23844
|
"register",
|
|
@@ -24410,7 +24436,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24410
24436
|
setup(__props, { expose }) {
|
|
24411
24437
|
const props2 = __props;
|
|
24412
24438
|
useCssVars((_ctx) => ({
|
|
24413
|
-
"
|
|
24439
|
+
"7210fae1": props2.labelWidth
|
|
24414
24440
|
}));
|
|
24415
24441
|
const form = ref({});
|
|
24416
24442
|
const formRef = ref();
|
|
@@ -24580,8 +24606,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24580
24606
|
};
|
|
24581
24607
|
}
|
|
24582
24608
|
});
|
|
24583
|
-
const
|
|
24584
|
-
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
24609
|
+
const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
|
|
24610
|
+
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b1ced086"]]);
|
|
24585
24611
|
const DescriptionsForm = withInstall$5(descriptionsForm);
|
|
24586
24612
|
const basicResizeWrapperProps = reactive({
|
|
24587
24613
|
designWidth: {
|
|
@@ -24601,7 +24627,6 @@ const __default__ = defineComponent({
|
|
|
24601
24627
|
setup(props2, { emit }) {
|
|
24602
24628
|
const { prefixCls: prefixCls2 } = useDesign$1("basic-resize-wrapper");
|
|
24603
24629
|
function setScale() {
|
|
24604
|
-
/* @__PURE__ */ console.log("setScale", screenRef.value, currentScreenRef.value);
|
|
24605
24630
|
screenRef.value.style.transform = `scale(${currentScreenRef.value.offsetWidth / props2.designWidth},${currentScreenRef.value.offsetHeight / props2.designHeight})`;
|
|
24606
24631
|
}
|
|
24607
24632
|
const screenRef = ref();
|
|
@@ -24627,8 +24652,8 @@ const __default__ = defineComponent({
|
|
|
24627
24652
|
});
|
|
24628
24653
|
const __injectCSSVars__ = () => {
|
|
24629
24654
|
useCssVars((_ctx) => ({
|
|
24630
|
-
"
|
|
24631
|
-
"
|
|
24655
|
+
"1a93f028": _ctx.designWidth,
|
|
24656
|
+
"1e1b1b05": _ctx.designHeight
|
|
24632
24657
|
}));
|
|
24633
24658
|
};
|
|
24634
24659
|
const __setup__ = __default__.setup;
|
package/es/style.css
CHANGED
|
@@ -24613,14 +24613,14 @@ div.ant-typography-edit-content.ant-typography-rtl {
|
|
|
24613
24613
|
.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name {
|
|
24614
24614
|
margin: 8px 0 0;
|
|
24615
24615
|
padding: 0;
|
|
24616
|
-
}.shy-strength-meter-bar[data-v-
|
|
24616
|
+
}.shy-strength-meter-bar[data-v-c8d77eaa] {
|
|
24617
24617
|
position: relative;
|
|
24618
24618
|
margin: 10px auto 6px;
|
|
24619
24619
|
height: 6px;
|
|
24620
24620
|
background-color: rgba(0, 0, 0, 0.25);
|
|
24621
24621
|
border-radius: 6px;
|
|
24622
24622
|
}
|
|
24623
|
-
.shy-strength-meter-bar[data-v-
|
|
24623
|
+
.shy-strength-meter-bar[data-v-c8d77eaa]::before, .shy-strength-meter-bar[data-v-c8d77eaa]::after {
|
|
24624
24624
|
position: absolute;
|
|
24625
24625
|
z-index: 10;
|
|
24626
24626
|
display: block;
|
|
@@ -24632,13 +24632,13 @@ div.ant-typography-edit-content.ant-typography-rtl {
|
|
|
24632
24632
|
border-color: #fff;
|
|
24633
24633
|
content: '';
|
|
24634
24634
|
}
|
|
24635
|
-
.shy-strength-meter-bar[data-v-
|
|
24635
|
+
.shy-strength-meter-bar[data-v-c8d77eaa]::before {
|
|
24636
24636
|
left: 20%;
|
|
24637
24637
|
}
|
|
24638
|
-
.shy-strength-meter-bar[data-v-
|
|
24638
|
+
.shy-strength-meter-bar[data-v-c8d77eaa]::after {
|
|
24639
24639
|
right: 20%;
|
|
24640
24640
|
}
|
|
24641
|
-
.shy-strength-meter-bar--fill[data-v-
|
|
24641
|
+
.shy-strength-meter-bar--fill[data-v-c8d77eaa] {
|
|
24642
24642
|
position: absolute;
|
|
24643
24643
|
width: 0;
|
|
24644
24644
|
height: inherit;
|
|
@@ -24646,32 +24646,32 @@ div.ant-typography-edit-content.ant-typography-rtl {
|
|
|
24646
24646
|
border-radius: inherit;
|
|
24647
24647
|
transition: width 0.5s ease-in-out, background 0.25s;
|
|
24648
24648
|
}
|
|
24649
|
-
.shy-strength-meter-bar--fill[data-score='0'][data-v-
|
|
24649
|
+
.shy-strength-meter-bar--fill[data-score='0'][data-v-c8d77eaa] {
|
|
24650
24650
|
width: 20%;
|
|
24651
24651
|
background-color: #e74242;
|
|
24652
24652
|
}
|
|
24653
|
-
.shy-strength-meter-bar--fill[data-score='1'][data-v-
|
|
24653
|
+
.shy-strength-meter-bar--fill[data-score='1'][data-v-c8d77eaa] {
|
|
24654
24654
|
width: 40%;
|
|
24655
24655
|
background-color: #ED6F6F;
|
|
24656
24656
|
}
|
|
24657
|
-
.shy-strength-meter-bar--fill[data-score='2'][data-v-
|
|
24657
|
+
.shy-strength-meter-bar--fill[data-score='2'][data-v-c8d77eaa] {
|
|
24658
24658
|
width: 60%;
|
|
24659
24659
|
background-color: #EFBD47;
|
|
24660
24660
|
}
|
|
24661
|
-
.shy-strength-meter-bar--fill[data-score='3'][data-v-
|
|
24661
|
+
.shy-strength-meter-bar--fill[data-score='3'][data-v-c8d77eaa] {
|
|
24662
24662
|
width: 80%;
|
|
24663
24663
|
background-color: rgba(85, 209, 135, 0.5);
|
|
24664
24664
|
}
|
|
24665
|
-
.shy-strength-meter-bar--fill[data-score='4'][data-v-
|
|
24665
|
+
.shy-strength-meter-bar--fill[data-score='4'][data-v-c8d77eaa] {
|
|
24666
24666
|
width: 100%;
|
|
24667
24667
|
background-color: #55D187;
|
|
24668
|
-
}.shy-svg-icon[data-v-
|
|
24668
|
+
}.shy-svg-icon[data-v-fa64fe87] {
|
|
24669
24669
|
display: inline-block;
|
|
24670
24670
|
overflow: hidden;
|
|
24671
24671
|
vertical-align: -0.15em;
|
|
24672
24672
|
fill: currentcolor;
|
|
24673
24673
|
}
|
|
24674
|
-
.svg-icon-spin[data-v-
|
|
24674
|
+
.svg-icon-spin[data-v-fa64fe87] {
|
|
24675
24675
|
animation: loadingCircle 1s infinite linear;
|
|
24676
24676
|
}.app-iconify {
|
|
24677
24677
|
display: inline-block;
|
|
@@ -24685,29 +24685,29 @@ span.iconify {
|
|
|
24685
24685
|
min-height: 1em;
|
|
24686
24686
|
background-color: #5551;
|
|
24687
24687
|
border-radius: 100%;
|
|
24688
|
-
}.shy-basic-arrow[data-v-
|
|
24688
|
+
}.shy-basic-arrow[data-v-03d87956] {
|
|
24689
24689
|
display: inline-block;
|
|
24690
24690
|
cursor: pointer;
|
|
24691
24691
|
transform: rotate(0deg);
|
|
24692
24692
|
transition: all 0.3s ease 0.1s;
|
|
24693
24693
|
transform-origin: center center;
|
|
24694
24694
|
}
|
|
24695
|
-
.shy-basic-arrow--active[data-v-
|
|
24695
|
+
.shy-basic-arrow--active[data-v-03d87956] {
|
|
24696
24696
|
transform: rotate(90deg);
|
|
24697
24697
|
}
|
|
24698
|
-
.shy-basic-arrow.inset[data-v-
|
|
24698
|
+
.shy-basic-arrow.inset[data-v-03d87956] {
|
|
24699
24699
|
line-height: 0px;
|
|
24700
24700
|
}
|
|
24701
|
-
.shy-basic-arrow.up[data-v-
|
|
24701
|
+
.shy-basic-arrow.up[data-v-03d87956] {
|
|
24702
24702
|
transform: rotate(-90deg);
|
|
24703
24703
|
}
|
|
24704
|
-
.shy-basic-arrow.down[data-v-
|
|
24704
|
+
.shy-basic-arrow.down[data-v-03d87956] {
|
|
24705
24705
|
transform: rotate(90deg);
|
|
24706
24706
|
}
|
|
24707
|
-
.shy-basic-arrow.up.shy-basic-arrow--active[data-v-
|
|
24707
|
+
.shy-basic-arrow.up.shy-basic-arrow--active[data-v-03d87956] {
|
|
24708
24708
|
transform: rotate(90deg);
|
|
24709
24709
|
}
|
|
24710
|
-
.shy-basic-arrow.down.shy-basic-arrow--active[data-v-
|
|
24710
|
+
.shy-basic-arrow.down.shy-basic-arrow--active[data-v-03d87956] {
|
|
24711
24711
|
transform: rotate(-90deg);
|
|
24712
24712
|
}.shy-basic-help {
|
|
24713
24713
|
display: inline-block;
|
|
@@ -24721,7 +24721,7 @@ span.iconify {
|
|
|
24721
24721
|
}
|
|
24722
24722
|
.shy-basic-help__wrap p {
|
|
24723
24723
|
margin-bottom: 0;
|
|
24724
|
-
}.shy-basic-title[data-v-
|
|
24724
|
+
}.shy-basic-title[data-v-c007dbdf] {
|
|
24725
24725
|
position: relative;
|
|
24726
24726
|
display: flex;
|
|
24727
24727
|
padding-left: 7px;
|
|
@@ -24732,11 +24732,11 @@ span.iconify {
|
|
|
24732
24732
|
cursor: pointer;
|
|
24733
24733
|
user-select: none;
|
|
24734
24734
|
}
|
|
24735
|
-
.shy-basic-title-normal[data-v-
|
|
24735
|
+
.shy-basic-title-normal[data-v-c007dbdf] {
|
|
24736
24736
|
font-size: 14px;
|
|
24737
24737
|
font-weight: 500;
|
|
24738
24738
|
}
|
|
24739
|
-
.shy-basic-title-show-span[data-v-
|
|
24739
|
+
.shy-basic-title-show-span[data-v-c007dbdf]::before {
|
|
24740
24740
|
position: absolute;
|
|
24741
24741
|
top: 4px;
|
|
24742
24742
|
left: 0;
|
|
@@ -24746,7 +24746,7 @@ span.iconify {
|
|
|
24746
24746
|
background-color: #006eff;
|
|
24747
24747
|
content: '';
|
|
24748
24748
|
}
|
|
24749
|
-
.shy-basic-title-help[data-v-
|
|
24749
|
+
.shy-basic-title-help[data-v-c007dbdf] {
|
|
24750
24750
|
margin-left: 10px;
|
|
24751
24751
|
}.shy-collapse-container {
|
|
24752
24752
|
background-color: #fff;
|
|
@@ -24871,7 +24871,7 @@ span.iconify {
|
|
|
24871
24871
|
.shy-tinymce-container textarea {
|
|
24872
24872
|
z-index: -1;
|
|
24873
24873
|
visibility: hidden;
|
|
24874
|
-
}.table-plus[data-v-
|
|
24874
|
+
}.table-plus[data-v-c82f1009] {
|
|
24875
24875
|
width: 30px;
|
|
24876
24876
|
height: 30px;
|
|
24877
24877
|
font-size: 24px;
|
|
@@ -24883,21 +24883,21 @@ span.iconify {
|
|
|
24883
24883
|
cursor: pointer;
|
|
24884
24884
|
text-align: center;
|
|
24885
24885
|
}
|
|
24886
|
-
.table-children[data-v-
|
|
24886
|
+
.table-children[data-v-c82f1009] .ant-form-item {
|
|
24887
24887
|
margin-bottom: 0 !important;
|
|
24888
24888
|
}
|
|
24889
|
-
.delete-wrapper[data-v-
|
|
24889
|
+
.delete-wrapper[data-v-c82f1009] {
|
|
24890
24890
|
height: 100%;
|
|
24891
24891
|
}
|
|
24892
|
-
.delete-wrapper:hover .delete-item[data-v-
|
|
24892
|
+
.delete-wrapper:hover .delete-item[data-v-c82f1009] {
|
|
24893
24893
|
display: flex;
|
|
24894
24894
|
justify-content: center;
|
|
24895
24895
|
align-items: center;
|
|
24896
24896
|
}
|
|
24897
|
-
.delete-wrapper:hover .delete-index[data-v-
|
|
24897
|
+
.delete-wrapper:hover .delete-index[data-v-c82f1009] {
|
|
24898
24898
|
display: none;
|
|
24899
24899
|
}
|
|
24900
|
-
.delete-wrapper .delete-item[data-v-
|
|
24900
|
+
.delete-wrapper .delete-item[data-v-c82f1009] {
|
|
24901
24901
|
background-color: red;
|
|
24902
24902
|
border-radius: 50%;
|
|
24903
24903
|
width: 30px;
|
|
@@ -24906,7 +24906,7 @@ span.iconify {
|
|
|
24906
24906
|
display: none;
|
|
24907
24907
|
cursor: pointer;
|
|
24908
24908
|
}
|
|
24909
|
-
.delete-wrapper .delete-index[data-v-
|
|
24909
|
+
.delete-wrapper .delete-index[data-v-c82f1009] {
|
|
24910
24910
|
display: inline-block;
|
|
24911
24911
|
}@media screen and (max-height: 600px) {
|
|
24912
24912
|
.ant-modal {
|
|
@@ -25045,7 +25045,7 @@ span.iconify {
|
|
|
25045
25045
|
}
|
|
25046
25046
|
.shy-basic-help__wrap p {
|
|
25047
25047
|
margin-bottom: 0;
|
|
25048
|
-
}.shy-basic-title[data-v-
|
|
25048
|
+
}.shy-basic-title[data-v-a48f9d86] {
|
|
25049
25049
|
position: relative;
|
|
25050
25050
|
display: flex;
|
|
25051
25051
|
padding-left: 7px;
|
|
@@ -25056,11 +25056,11 @@ span.iconify {
|
|
|
25056
25056
|
cursor: pointer;
|
|
25057
25057
|
user-select: none;
|
|
25058
25058
|
}
|
|
25059
|
-
.shy-basic-title-normal[data-v-
|
|
25059
|
+
.shy-basic-title-normal[data-v-a48f9d86] {
|
|
25060
25060
|
font-size: 14px;
|
|
25061
25061
|
font-weight: 500;
|
|
25062
25062
|
}
|
|
25063
|
-
.shy-basic-title-show-span[data-v-
|
|
25063
|
+
.shy-basic-title-show-span[data-v-a48f9d86]::before {
|
|
25064
25064
|
position: absolute;
|
|
25065
25065
|
top: 4px;
|
|
25066
25066
|
left: 0;
|
|
@@ -25070,7 +25070,7 @@ span.iconify {
|
|
|
25070
25070
|
background-color: #006eff;
|
|
25071
25071
|
content: '';
|
|
25072
25072
|
}
|
|
25073
|
-
.shy-basic-title-help[data-v-
|
|
25073
|
+
.shy-basic-title-help[data-v-a48f9d86] {
|
|
25074
25074
|
margin-left: 10px;
|
|
25075
25075
|
}.shy-basic-table-action {
|
|
25076
25076
|
display: flex;
|
|
@@ -25266,7 +25266,7 @@ span.iconify {
|
|
|
25266
25266
|
height: 14px;
|
|
25267
25267
|
content: '';
|
|
25268
25268
|
background: #2991ff;
|
|
25269
|
-
}.shy-search[data-v-
|
|
25269
|
+
}.shy-search[data-v-a0f20f9d] {
|
|
25270
25270
|
position: relative;
|
|
25271
25271
|
display: flex;
|
|
25272
25272
|
align-items: center;
|
|
@@ -25370,7 +25370,7 @@ span.iconify {
|
|
|
25370
25370
|
.shy-tree__action {
|
|
25371
25371
|
margin-left: 4px;
|
|
25372
25372
|
visibility: hidden;
|
|
25373
|
-
}.shy-page-footer[data-v-
|
|
25373
|
+
}.shy-page-footer[data-v-b4695833] {
|
|
25374
25374
|
position: fixed;
|
|
25375
25375
|
right: 0;
|
|
25376
25376
|
bottom: 0;
|
|
@@ -25385,7 +25385,7 @@ span.iconify {
|
|
|
25385
25385
|
line-height: 44px;
|
|
25386
25386
|
border-top: 1px solid #E4E7ED;
|
|
25387
25387
|
}
|
|
25388
|
-
.shy-page-footer__left[data-v-
|
|
25388
|
+
.shy-page-footer__left[data-v-b4695833] {
|
|
25389
25389
|
flex: 1 1;
|
|
25390
25390
|
}.shy-page-wrapper {
|
|
25391
25391
|
position: relative;
|
|
@@ -25557,7 +25557,7 @@ span.iconify {
|
|
|
25557
25557
|
}
|
|
25558
25558
|
.shy-basic-column-setting__cloumn-list .scrollbar {
|
|
25559
25559
|
height: 220px;
|
|
25560
|
-
}.icon-selected[data-v-
|
|
25560
|
+
}.icon-selected[data-v-c5892da8] {
|
|
25561
25561
|
color: #498bf8;
|
|
25562
25562
|
}.shy-ui-advanced-search .ant-form-item {
|
|
25563
25563
|
margin-bottom: 0;
|
|
@@ -25627,7 +25627,7 @@ span.iconify {
|
|
|
25627
25627
|
}
|
|
25628
25628
|
.shy-basic-table-header__toolbar > * {
|
|
25629
25629
|
margin-right: 8px;
|
|
25630
|
-
}.shy-basic-table-global-search[data-v-
|
|
25630
|
+
}.shy-basic-table-global-search[data-v-5f6e7403] {
|
|
25631
25631
|
position: absolute;
|
|
25632
25632
|
top: 40px;
|
|
25633
25633
|
right: 131px;
|
|
@@ -25639,7 +25639,7 @@ span.iconify {
|
|
|
25639
25639
|
border: 1px solid #ebebeb;
|
|
25640
25640
|
padding: 10px;
|
|
25641
25641
|
}
|
|
25642
|
-
.shy-basic-table-global-search-item-global[data-v-
|
|
25642
|
+
.shy-basic-table-global-search-item-global[data-v-5f6e7403] {
|
|
25643
25643
|
height: 32px;
|
|
25644
25644
|
line-height: 32px;
|
|
25645
25645
|
font-size: 14px;
|
|
@@ -25650,7 +25650,7 @@ span.iconify {
|
|
|
25650
25650
|
align-items: center;
|
|
25651
25651
|
justify-content: space-between;
|
|
25652
25652
|
}
|
|
25653
|
-
.shy-basic-table-global-search-item-special[data-v-
|
|
25653
|
+
.shy-basic-table-global-search-item-special[data-v-5f6e7403] {
|
|
25654
25654
|
height: 32px;
|
|
25655
25655
|
line-height: 32px;
|
|
25656
25656
|
font-size: 14px;
|
|
@@ -25661,10 +25661,10 @@ span.iconify {
|
|
|
25661
25661
|
align-items: center;
|
|
25662
25662
|
justify-content: space-between;
|
|
25663
25663
|
}
|
|
25664
|
-
.shy-basic-table-global-search-checkbox-wrapper[data-v-
|
|
25664
|
+
.shy-basic-table-global-search-checkbox-wrapper[data-v-5f6e7403] {
|
|
25665
25665
|
padding: 0 8px;
|
|
25666
25666
|
}
|
|
25667
|
-
.shy-basic-table-global-search .selected-bg[data-v-
|
|
25667
|
+
.shy-basic-table-global-search .selected-bg[data-v-5f6e7403] {
|
|
25668
25668
|
background-color: #ebf1ff;
|
|
25669
25669
|
}.shy-basic-table-img .ant-image {
|
|
25670
25670
|
margin-right: 4px;
|
|
@@ -25675,7 +25675,7 @@ span.iconify {
|
|
|
25675
25675
|
}
|
|
25676
25676
|
.shy-basic-table-img .img-div {
|
|
25677
25677
|
display: inline-grid;
|
|
25678
|
-
}.app-iconify[data-v-
|
|
25678
|
+
}.app-iconify[data-v-21146269] {
|
|
25679
25679
|
vertical-align: middle;
|
|
25680
25680
|
}[data-theme='dark'] .ant-table-tbody > tr:hover.ant-table-row-selected > td, [data-theme='dark'] .ant-table-tbody > tr.ant-table-row-selected td {
|
|
25681
25681
|
background-color: #262626;
|
|
@@ -25820,19 +25820,19 @@ span.iconify {
|
|
|
25820
25820
|
}
|
|
25821
25821
|
.ant-table-expanded-row-fixed {
|
|
25822
25822
|
width: 100% !important;
|
|
25823
|
-
}.wrapper[data-v-
|
|
25823
|
+
}.wrapper[data-v-24f758b3] {
|
|
25824
25824
|
display: flex;
|
|
25825
25825
|
}
|
|
25826
|
-
.tree[data-v-
|
|
25826
|
+
.tree[data-v-24f758b3] {
|
|
25827
25827
|
flex: none;
|
|
25828
25828
|
}
|
|
25829
|
-
.table-wrapper[data-v-
|
|
25829
|
+
.table-wrapper[data-v-24f758b3] {
|
|
25830
25830
|
flex: 1 1 0%;
|
|
25831
25831
|
overflow: hidden;
|
|
25832
|
-
}[data-v-
|
|
25832
|
+
}[data-v-5427533c] .ant-input-group-addon {
|
|
25833
25833
|
padding: 0;
|
|
25834
25834
|
}
|
|
25835
|
-
.btn-wrapper[data-v-
|
|
25835
|
+
.btn-wrapper[data-v-5427533c] {
|
|
25836
25836
|
padding: 0 5px;
|
|
25837
25837
|
display: flex;
|
|
25838
25838
|
align-items: center;
|
|
@@ -26236,21 +26236,21 @@ span.iconify {
|
|
|
26236
26236
|
padding-top: 8px;
|
|
26237
26237
|
margin-top: 8px;
|
|
26238
26238
|
border-top: 1px solid #E4E7ED;
|
|
26239
|
-
}.shy-cropper-avatar[data-v-
|
|
26239
|
+
}.shy-cropper-avatar[data-v-6ac45907] {
|
|
26240
26240
|
display: inline-block;
|
|
26241
26241
|
text-align: center;
|
|
26242
26242
|
}
|
|
26243
|
-
.shy-cropper-avatar-image-wrapper[data-v-
|
|
26243
|
+
.shy-cropper-avatar-image-wrapper[data-v-6ac45907] {
|
|
26244
26244
|
overflow: hidden;
|
|
26245
26245
|
cursor: pointer;
|
|
26246
26246
|
background: #fff;
|
|
26247
26247
|
border: 1px solid #E4E7ED;
|
|
26248
26248
|
border-radius: 50%;
|
|
26249
26249
|
}
|
|
26250
|
-
.shy-cropper-avatar-image-wrapper img[data-v-
|
|
26250
|
+
.shy-cropper-avatar-image-wrapper img[data-v-6ac45907] {
|
|
26251
26251
|
width: 100%;
|
|
26252
26252
|
}
|
|
26253
|
-
.shy-cropper-avatar-image-mask[data-v-
|
|
26253
|
+
.shy-cropper-avatar-image-mask[data-v-6ac45907] {
|
|
26254
26254
|
position: absolute;
|
|
26255
26255
|
width: inherit;
|
|
26256
26256
|
height: inherit;
|
|
@@ -26261,15 +26261,15 @@ span.iconify {
|
|
|
26261
26261
|
transition: opacity 0.4s;
|
|
26262
26262
|
cursor: pointer;
|
|
26263
26263
|
}
|
|
26264
|
-
.shy-cropper-avatar-image-mask[data-v-
|
|
26264
|
+
.shy-cropper-avatar-image-mask[data-v-6ac45907] svg {
|
|
26265
26265
|
margin: auto;
|
|
26266
26266
|
}
|
|
26267
|
-
.shy-cropper-avatar-image-mask[data-v-
|
|
26267
|
+
.shy-cropper-avatar-image-mask[data-v-6ac45907]:hover {
|
|
26268
26268
|
opacity: 40;
|
|
26269
26269
|
}
|
|
26270
|
-
.shy-cropper-avatar-upload-btn[data-v-
|
|
26270
|
+
.shy-cropper-avatar-upload-btn[data-v-6ac45907] {
|
|
26271
26271
|
margin: 10px auto;
|
|
26272
|
-
}.full-loading[data-v-
|
|
26272
|
+
}.full-loading[data-v-33b23b82] {
|
|
26273
26273
|
position: fixed;
|
|
26274
26274
|
top: 0;
|
|
26275
26275
|
left: 0;
|
|
@@ -26281,16 +26281,16 @@ span.iconify {
|
|
|
26281
26281
|
align-items: center;
|
|
26282
26282
|
background-color: rgba(240, 242, 245, 0.4);
|
|
26283
26283
|
}
|
|
26284
|
-
.full-loading.absolute[data-v-
|
|
26284
|
+
.full-loading.absolute[data-v-33b23b82] {
|
|
26285
26285
|
position: absolute;
|
|
26286
26286
|
top: 0;
|
|
26287
26287
|
left: 0;
|
|
26288
26288
|
z-index: 300;
|
|
26289
26289
|
}
|
|
26290
|
-
html[data-theme='dark'] .full-loading[data-v-
|
|
26290
|
+
html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
26291
26291
|
background-color: rgba(0, 0, 0, 0.45);
|
|
26292
26292
|
}
|
|
26293
|
-
.full-loading.dark[data-v-
|
|
26293
|
+
.full-loading.dark[data-v-33b23b82] {
|
|
26294
26294
|
background-color: rgba(0, 0, 0, 0.45);
|
|
26295
26295
|
}.shy-basic-table-plus-wrapper {
|
|
26296
26296
|
display: flex;
|
|
@@ -31805,19 +31805,19 @@ html[data-theme='dark'] .full-loading[data-v-ee545744]:not(.light) {
|
|
|
31805
31805
|
align-items: center;
|
|
31806
31806
|
gap: 16px;
|
|
31807
31807
|
padding: 0 16px;
|
|
31808
|
-
}[data-v-
|
|
31808
|
+
}[data-v-b1ced086] .ant-descriptions-item-content {
|
|
31809
31809
|
padding: 0 !important;
|
|
31810
31810
|
flex: 1;
|
|
31811
31811
|
height: 100%;
|
|
31812
31812
|
}
|
|
31813
|
-
[data-v-
|
|
31813
|
+
[data-v-b1ced086] .ant-form-item {
|
|
31814
31814
|
margin: 0;
|
|
31815
31815
|
}
|
|
31816
|
-
[data-v-
|
|
31816
|
+
[data-v-b1ced086] .ant-form-item-explain {
|
|
31817
31817
|
display: none;
|
|
31818
31818
|
}
|
|
31819
|
-
[data-v-
|
|
31820
|
-
--label-width: var(--
|
|
31819
|
+
[data-v-b1ced086] .ant-descriptions-item-label {
|
|
31820
|
+
--label-width: var(--7210fae1);
|
|
31821
31821
|
justify-content: right;
|
|
31822
31822
|
align-items: center;
|
|
31823
31823
|
width: var(--label-width) !important;
|
|
@@ -31826,59 +31826,59 @@ html[data-theme='dark'] .full-loading[data-v-ee545744]:not(.light) {
|
|
|
31826
31826
|
text-overflow: ellipsis;
|
|
31827
31827
|
color: #b1b1b1;
|
|
31828
31828
|
}
|
|
31829
|
-
[data-v-
|
|
31829
|
+
[data-v-b1ced086] .ant-descriptions-item-label span {
|
|
31830
31830
|
white-space: nowrap;
|
|
31831
31831
|
overflow: hidden;
|
|
31832
31832
|
text-overflow: ellipsis;
|
|
31833
31833
|
}
|
|
31834
|
-
[data-v-
|
|
31834
|
+
[data-v-b1ced086] .ant-descriptions-view tbody {
|
|
31835
31835
|
display: block;
|
|
31836
31836
|
}
|
|
31837
|
-
[data-v-
|
|
31837
|
+
[data-v-b1ced086] .ant-descriptions-view .ant-descriptions-row {
|
|
31838
31838
|
display: flex;
|
|
31839
31839
|
width: 100%;
|
|
31840
31840
|
align-items: center;
|
|
31841
31841
|
gap: 0 10px;
|
|
31842
31842
|
}
|
|
31843
|
-
[data-v-
|
|
31843
|
+
[data-v-b1ced086] .ant-descriptions-item-label.description-active::before {
|
|
31844
31844
|
content: '*';
|
|
31845
31845
|
color: red;
|
|
31846
31846
|
}
|
|
31847
|
-
[data-v-
|
|
31847
|
+
[data-v-b1ced086] .ant-descriptions-item.description-active .ant-descriptions-item-label::before {
|
|
31848
31848
|
content: '*';
|
|
31849
31849
|
color: red;
|
|
31850
31850
|
}
|
|
31851
|
-
[data-v-
|
|
31851
|
+
[data-v-b1ced086] .ant-descriptions-item-label::after {
|
|
31852
31852
|
content: '';
|
|
31853
31853
|
}
|
|
31854
|
-
[data-v-
|
|
31854
|
+
[data-v-b1ced086] .ant-descriptions-item.description-placeholder .ant-descriptions-item-label::after {
|
|
31855
31855
|
content: '';
|
|
31856
31856
|
}
|
|
31857
|
-
[data-v-
|
|
31857
|
+
[data-v-b1ced086] .ant-form-item-has-error .ant-select-selection-placeholder {
|
|
31858
31858
|
color: #ff4d4f !important;
|
|
31859
31859
|
}
|
|
31860
|
-
[data-v-
|
|
31860
|
+
[data-v-b1ced086] .ant-descriptions.ant-descriptions-bordered .ant-descriptions-view .ant-descriptions-row {
|
|
31861
31861
|
gap: 0;
|
|
31862
31862
|
}
|
|
31863
|
-
[data-v-
|
|
31863
|
+
[data-v-b1ced086] .ant-descriptions.ant-descriptions-bordered .ant-form-item div {
|
|
31864
31864
|
border: unset !important;
|
|
31865
31865
|
}
|
|
31866
|
-
[data-v-
|
|
31866
|
+
[data-v-b1ced086] .ant-descriptions-item-label.description-placeholder {
|
|
31867
31867
|
background-color: unset;
|
|
31868
31868
|
border-right: unset;
|
|
31869
31869
|
}
|
|
31870
|
-
[data-v-
|
|
31870
|
+
[data-v-b1ced086] .ant-descriptions-item {
|
|
31871
31871
|
flex: 1;
|
|
31872
31872
|
}
|
|
31873
|
-
[data-v-
|
|
31873
|
+
[data-v-b1ced086] .ant-row.ant-form-item {
|
|
31874
31874
|
width: 100%;
|
|
31875
31875
|
height: 100%;
|
|
31876
31876
|
}
|
|
31877
|
-
.descriptions-item-content[data-v-
|
|
31877
|
+
.descriptions-item-content[data-v-b1ced086] {
|
|
31878
31878
|
padding: 0 8px;
|
|
31879
31879
|
}.shy-basic-resize-wrapper {
|
|
31880
|
-
--design-width: var(--
|
|
31881
|
-
--design-height: var(--
|
|
31880
|
+
--design-width: var(--1a93f028);
|
|
31881
|
+
--design-height: var(--1e1b1b05);
|
|
31882
31882
|
}
|
|
31883
31883
|
.shy-basic-resize-wrapper-view {
|
|
31884
31884
|
position: absolute;
|
package/lib/index.js
CHANGED
|
@@ -4728,7 +4728,7 @@ const _sfc_main$1l = vue.defineComponent({
|
|
|
4728
4728
|
};
|
|
4729
4729
|
}
|
|
4730
4730
|
});
|
|
4731
|
-
const
|
|
4731
|
+
const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
|
|
4732
4732
|
const _hoisted_1$z = ["data-score"];
|
|
4733
4733
|
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4734
4734
|
const _component_InputPassword = vue.resolveComponent("InputPassword");
|
|
@@ -4760,7 +4760,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4760
4760
|
], 2)
|
|
4761
4761
|
], 2);
|
|
4762
4762
|
}
|
|
4763
|
-
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$M], ["__scopeId", "data-v-
|
|
4763
|
+
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$M], ["__scopeId", "data-v-c8d77eaa"]]);
|
|
4764
4764
|
const _sfc_main$1k = vue.defineComponent({
|
|
4765
4765
|
name: "SvgIcon",
|
|
4766
4766
|
props: {
|
|
@@ -4796,7 +4796,7 @@ const _sfc_main$1k = vue.defineComponent({
|
|
|
4796
4796
|
return { symbolId, prefixCls: prefixCls2, getStyle };
|
|
4797
4797
|
}
|
|
4798
4798
|
});
|
|
4799
|
-
const
|
|
4799
|
+
const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
|
|
4800
4800
|
const _hoisted_1$y = ["xlink:href"];
|
|
4801
4801
|
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4802
4802
|
return vue.openBlock(), vue.createElementBlock("svg", {
|
|
@@ -4807,7 +4807,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4807
4807
|
vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$y)
|
|
4808
4808
|
], 6);
|
|
4809
4809
|
}
|
|
4810
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$L], ["__scopeId", "data-v-
|
|
4810
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$L], ["__scopeId", "data-v-fa64fe87"]]);
|
|
4811
4811
|
const SVG_END_WITH_FLAG = "|svg";
|
|
4812
4812
|
const _sfc_main$1j = vue.defineComponent({
|
|
4813
4813
|
name: "Icon",
|
|
@@ -5118,8 +5118,8 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
|
5118
5118
|
};
|
|
5119
5119
|
}
|
|
5120
5120
|
});
|
|
5121
|
-
const
|
|
5122
|
-
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-
|
|
5121
|
+
const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
|
|
5122
|
+
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-03d87956"]]);
|
|
5123
5123
|
const props$c = {
|
|
5124
5124
|
/**
|
|
5125
5125
|
* Help text max-width
|
|
@@ -5261,8 +5261,8 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
5261
5261
|
};
|
|
5262
5262
|
}
|
|
5263
5263
|
});
|
|
5264
|
-
const
|
|
5265
|
-
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-
|
|
5264
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_c007dbdf_lang = "";
|
|
5265
|
+
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-c007dbdf"]]);
|
|
5266
5266
|
const props$b = {
|
|
5267
5267
|
prefixCls: { type: String },
|
|
5268
5268
|
helpMessage: {
|
|
@@ -7702,8 +7702,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7702
7702
|
};
|
|
7703
7703
|
}
|
|
7704
7704
|
});
|
|
7705
|
-
const
|
|
7706
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
7705
|
+
const Table_vue_vue_type_style_index_0_scoped_c82f1009_lang = "";
|
|
7706
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-c82f1009"]]);
|
|
7707
7707
|
const modal = "";
|
|
7708
7708
|
use.useI18n();
|
|
7709
7709
|
const modalProps = {
|
|
@@ -8600,8 +8600,8 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
8600
8600
|
};
|
|
8601
8601
|
}
|
|
8602
8602
|
});
|
|
8603
|
-
const
|
|
8604
|
-
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
8603
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
|
|
8604
|
+
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-a48f9d86"]]);
|
|
8605
8605
|
const _sfc_main$_ = vue.defineComponent({
|
|
8606
8606
|
name: "BasicModalHeader",
|
|
8607
8607
|
components: { BasicTitle },
|
|
@@ -12687,8 +12687,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
12687
12687
|
};
|
|
12688
12688
|
}
|
|
12689
12689
|
});
|
|
12690
|
-
const
|
|
12691
|
-
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-
|
|
12690
|
+
const TreeHeader_vue_vue_type_style_index_0_scoped_a0f20f9d_lang = "";
|
|
12691
|
+
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-a0f20f9d"]]);
|
|
12692
12692
|
process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
12693
12693
|
process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
12694
12694
|
const isString = (val) => typeof val === "string";
|
|
@@ -13577,7 +13577,7 @@ const _sfc_main$H = vue.defineComponent({
|
|
|
13577
13577
|
return { prefixCls: prefixCls2, getCalcContentWidth };
|
|
13578
13578
|
}
|
|
13579
13579
|
});
|
|
13580
|
-
const
|
|
13580
|
+
const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
|
|
13581
13581
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13582
13582
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
13583
13583
|
class: vue.normalizeClass(_ctx.prefixCls),
|
|
@@ -13596,7 +13596,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13596
13596
|
], 2)
|
|
13597
13597
|
], 6);
|
|
13598
13598
|
}
|
|
13599
|
-
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
13599
|
+
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$u], ["__scopeId", "data-v-b4695833"]]);
|
|
13600
13600
|
const _sfc_main$G = vue.defineComponent({
|
|
13601
13601
|
name: "PageWrapper",
|
|
13602
13602
|
components: { PageFooter, PageHeader: antDesignVue.PageHeader },
|
|
@@ -13792,6 +13792,14 @@ const PageSecond = /* @__PURE__ */ vue.defineComponent({
|
|
|
13792
13792
|
isShowFooter: {
|
|
13793
13793
|
type: Boolean,
|
|
13794
13794
|
default: () => false
|
|
13795
|
+
},
|
|
13796
|
+
confirmButtonText: {
|
|
13797
|
+
type: String,
|
|
13798
|
+
default: () => "确定"
|
|
13799
|
+
},
|
|
13800
|
+
cancelButtonText: {
|
|
13801
|
+
type: String,
|
|
13802
|
+
default: () => "取消"
|
|
13795
13803
|
}
|
|
13796
13804
|
},
|
|
13797
13805
|
emits: ["click-return", "confirm", "cancel"],
|
|
@@ -13828,16 +13836,16 @@ const PageSecond = /* @__PURE__ */ vue.defineComponent({
|
|
|
13828
13836
|
}, [vue.createVNode(antDesignVue.Space, null, {
|
|
13829
13837
|
default: () => {
|
|
13830
13838
|
var _a3, _b, _c;
|
|
13831
|
-
return [(_a3 = slots.
|
|
13832
|
-
"onClick": handleCancel
|
|
13833
|
-
}, {
|
|
13834
|
-
default: () => [vue.createTextVNode("取消")]
|
|
13835
|
-
}) : null, (_b = slots.afterCancelButton) == null ? void 0 : _b.call(slots), props2.isShowConfirmButton ? vue.createVNode(_sfc_main$Y, {
|
|
13839
|
+
return [(_a3 = slots.beforeConfirmButton) == null ? void 0 : _a3.call(slots), props2.isShowConfirmButton ? vue.createVNode(_sfc_main$Y, {
|
|
13836
13840
|
"onClick": handleConfirm,
|
|
13837
13841
|
"type": "primary"
|
|
13838
13842
|
}, {
|
|
13839
|
-
default: () => [
|
|
13840
|
-
}) : null, (
|
|
13843
|
+
default: () => [props2.confirmButtonText]
|
|
13844
|
+
}) : null, (_b = slots.beforeCancelButton) == null ? void 0 : _b.call(slots), props2.isShowCancelButton ? vue.createVNode(_sfc_main$Y, {
|
|
13845
|
+
"onClick": handleCancel
|
|
13846
|
+
}, {
|
|
13847
|
+
default: () => [props2.cancelButtonText]
|
|
13848
|
+
}) : null, (_c = slots.afterCancelButton) == null ? void 0 : _c.call(slots)];
|
|
13841
13849
|
}
|
|
13842
13850
|
})]) : null]);
|
|
13843
13851
|
};
|
|
@@ -15420,7 +15428,7 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDa
|
|
|
15420
15428
|
});
|
|
15421
15429
|
});
|
|
15422
15430
|
const getScrollX = vue.computed(() => {
|
|
15423
|
-
var _a2
|
|
15431
|
+
var _a2;
|
|
15424
15432
|
let width = 0;
|
|
15425
15433
|
if (vue.unref(rowSelectionRef)) {
|
|
15426
15434
|
width += 60;
|
|
@@ -15439,7 +15447,6 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDa
|
|
|
15439
15447
|
}
|
|
15440
15448
|
const table2 = vue.unref(tableElRef);
|
|
15441
15449
|
const tableWidth = ((_a2 = table2 == null ? void 0 : table2.$el) == null ? void 0 : _a2.offsetWidth) ?? 0;
|
|
15442
|
-
/* @__PURE__ */ console.log(tableWidth, (_b = table2 == null ? void 0 : table2.$el) == null ? void 0 : _b.offsetWidth, width);
|
|
15443
15450
|
return tableWidth > width ? "100%" : width;
|
|
15444
15451
|
});
|
|
15445
15452
|
const getScrollRef = vue.computed(() => {
|
|
@@ -16116,8 +16123,8 @@ const _sfc_main$y = vue.defineComponent({
|
|
|
16116
16123
|
return { isVisibleAdvancedSearch, handleIconClick };
|
|
16117
16124
|
}
|
|
16118
16125
|
});
|
|
16119
|
-
const
|
|
16120
|
-
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-
|
|
16126
|
+
const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
|
|
16127
|
+
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-c5892da8"), n = n(), vue.popScopeId(), n);
|
|
16121
16128
|
const _hoisted_1$k = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", null, "高级搜索", -1));
|
|
16122
16129
|
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16123
16130
|
const _component_FilterOutlined = vue.resolveComponent("FilterOutlined");
|
|
@@ -16135,7 +16142,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16135
16142
|
_: 1
|
|
16136
16143
|
});
|
|
16137
16144
|
}
|
|
16138
|
-
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$o], ["__scopeId", "data-v-
|
|
16145
|
+
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$o], ["__scopeId", "data-v-c5892da8"]]);
|
|
16139
16146
|
const index$3 = "";
|
|
16140
16147
|
const searchType = [
|
|
16141
16148
|
{
|
|
@@ -17501,8 +17508,8 @@ const _sfc_main$r = vue.defineComponent({
|
|
|
17501
17508
|
};
|
|
17502
17509
|
}
|
|
17503
17510
|
});
|
|
17504
|
-
const
|
|
17505
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-
|
|
17511
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
|
|
17512
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-5f6e7403"), n = n(), vue.popScopeId(), n);
|
|
17506
17513
|
const _hoisted_1$f = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
|
|
17507
17514
|
const _hoisted_2$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
|
|
17508
17515
|
const _hoisted_3$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
|
|
@@ -17560,7 +17567,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17560
17567
|
])
|
|
17561
17568
|
], 4);
|
|
17562
17569
|
}
|
|
17563
|
-
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
17570
|
+
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$j], ["__scopeId", "data-v-5f6e7403"]]);
|
|
17564
17571
|
const _sfc_main$q = vue.defineComponent({
|
|
17565
17572
|
components: {
|
|
17566
17573
|
TableAdvancedSearch,
|
|
@@ -18063,7 +18070,7 @@ const _sfc_main$o = vue.defineComponent({
|
|
|
18063
18070
|
setup() {
|
|
18064
18071
|
}
|
|
18065
18072
|
});
|
|
18066
|
-
const
|
|
18073
|
+
const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
|
|
18067
18074
|
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18068
18075
|
var _a2;
|
|
18069
18076
|
const _component_Icon = vue.resolveComponent("Icon");
|
|
@@ -18092,7 +18099,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18092
18099
|
]), 1032, ["color"])
|
|
18093
18100
|
]);
|
|
18094
18101
|
}
|
|
18095
|
-
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
|
18102
|
+
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$g], ["__scopeId", "data-v-21146269"]]);
|
|
18096
18103
|
const index$2 = "";
|
|
18097
18104
|
var RoleEnum = /* @__PURE__ */ ((RoleEnum2) => {
|
|
18098
18105
|
RoleEnum2["SUPER"] = "super";
|
|
@@ -18368,8 +18375,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18368
18375
|
};
|
|
18369
18376
|
}
|
|
18370
18377
|
});
|
|
18371
|
-
const
|
|
18372
|
-
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
18378
|
+
const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
|
|
18379
|
+
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-24f758b3"]]);
|
|
18373
18380
|
const _hoisted_1$b = { class: "api-modal-select" };
|
|
18374
18381
|
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
18375
18382
|
__name: "ApiModalSelect",
|
|
@@ -18516,8 +18523,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18516
18523
|
};
|
|
18517
18524
|
}
|
|
18518
18525
|
});
|
|
18519
|
-
const
|
|
18520
|
-
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
18526
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
|
|
18527
|
+
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-5427533c"]]);
|
|
18521
18528
|
const Description$1 = "";
|
|
18522
18529
|
const basicColProps = 24;
|
|
18523
18530
|
const basicProps$2 = {
|
|
@@ -22493,7 +22500,7 @@ const _sfc_main$f = vue.defineComponent({
|
|
|
22493
22500
|
};
|
|
22494
22501
|
}
|
|
22495
22502
|
});
|
|
22496
|
-
const
|
|
22503
|
+
const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
|
|
22497
22504
|
const _hoisted_1$7 = ["src"];
|
|
22498
22505
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22499
22506
|
const _component_Icon = vue.resolveComponent("Icon");
|
|
@@ -22544,7 +22551,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22544
22551
|
}, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
|
|
22545
22552
|
], 6);
|
|
22546
22553
|
}
|
|
22547
|
-
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$a], ["__scopeId", "data-v-
|
|
22554
|
+
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$a], ["__scopeId", "data-v-6ac45907"]]);
|
|
22548
22555
|
const props = {
|
|
22549
22556
|
startVal: { type: Number, default: 0 },
|
|
22550
22557
|
endVal: { type: Number, default: 2021 },
|
|
@@ -22715,7 +22722,7 @@ const _sfc_main$c = vue.defineComponent({
|
|
|
22715
22722
|
}
|
|
22716
22723
|
}
|
|
22717
22724
|
});
|
|
22718
|
-
const
|
|
22725
|
+
const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
|
|
22719
22726
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22720
22727
|
const _component_Spin = vue.resolveComponent("Spin");
|
|
22721
22728
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("section", {
|
|
@@ -22731,7 +22738,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22731
22738
|
[vue.vShow, _ctx.loading]
|
|
22732
22739
|
]);
|
|
22733
22740
|
}
|
|
22734
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$8], ["__scopeId", "data-v-
|
|
22741
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$8], ["__scopeId", "data-v-33b23b82"]]);
|
|
22735
22742
|
function createLoading(props2, target, wait = false) {
|
|
22736
22743
|
let vm = null;
|
|
22737
22744
|
const data = vue.reactive({
|
|
@@ -22852,9 +22859,12 @@ const usePagination = () => {
|
|
|
22852
22859
|
pageSizeOptions: ["10", "20", "30", "40"]
|
|
22853
22860
|
});
|
|
22854
22861
|
const setPage = (pageInfo) => {
|
|
22855
|
-
|
|
22856
|
-
|
|
22857
|
-
|
|
22862
|
+
return new Promise((resolve) => {
|
|
22863
|
+
vue.nextTick(() => {
|
|
22864
|
+
Object.keys(pageInfo).forEach((key2) => {
|
|
22865
|
+
page[key2] = pageInfo[key2];
|
|
22866
|
+
});
|
|
22867
|
+
resolve({ ...page });
|
|
22858
22868
|
});
|
|
22859
22869
|
});
|
|
22860
22870
|
};
|
|
@@ -22875,8 +22885,26 @@ const useTableData = (getProps, { setPage, params, tableRef }) => {
|
|
|
22875
22885
|
var _a2;
|
|
22876
22886
|
if ((_a2 = getProps.value) == null ? void 0 : _a2.api) {
|
|
22877
22887
|
const res = await getProps.value.api(params.value);
|
|
22878
|
-
|
|
22879
|
-
|
|
22888
|
+
const isArrayResult = Array.isArray(res);
|
|
22889
|
+
let resultItems = isArrayResult ? res : get(res, "records");
|
|
22890
|
+
const resultTotal = isArrayResult ? res.length : get(res, "total");
|
|
22891
|
+
if (resultTotal) {
|
|
22892
|
+
const currentTotalPage = Math.ceil(resultTotal / params.value.size);
|
|
22893
|
+
if (params.value.current > currentTotalPage) {
|
|
22894
|
+
await setPage({
|
|
22895
|
+
total: resultTotal,
|
|
22896
|
+
current: currentTotalPage
|
|
22897
|
+
});
|
|
22898
|
+
return await reload();
|
|
22899
|
+
}
|
|
22900
|
+
}
|
|
22901
|
+
if (getProps.value.transDataAfterReload && utils.isFunction(getProps.value.transDataAfterReload)) {
|
|
22902
|
+
resultItems = await getProps.value.transDataAfterReload(resultItems) || resultItems;
|
|
22903
|
+
}
|
|
22904
|
+
setTableData(resultItems);
|
|
22905
|
+
setPage({
|
|
22906
|
+
total: resultTotal
|
|
22907
|
+
});
|
|
22880
22908
|
}
|
|
22881
22909
|
};
|
|
22882
22910
|
const addTableData = (list = [{}]) => {
|
|
@@ -23812,9 +23840,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
23812
23840
|
columnSeq: { default: () => {
|
|
23813
23841
|
return {};
|
|
23814
23842
|
} },
|
|
23815
|
-
transDataAfterReload:
|
|
23816
|
-
return (res) => res.records;
|
|
23817
|
-
} }
|
|
23843
|
+
transDataAfterReload: null
|
|
23818
23844
|
},
|
|
23819
23845
|
emits: [
|
|
23820
23846
|
"register",
|
|
@@ -24412,7 +24438,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
24412
24438
|
setup(__props, { expose }) {
|
|
24413
24439
|
const props2 = __props;
|
|
24414
24440
|
vue.useCssVars((_ctx) => ({
|
|
24415
|
-
"
|
|
24441
|
+
"7210fae1": props2.labelWidth
|
|
24416
24442
|
}));
|
|
24417
24443
|
const form = vue.ref({});
|
|
24418
24444
|
const formRef = vue.ref();
|
|
@@ -24582,8 +24608,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
24582
24608
|
};
|
|
24583
24609
|
}
|
|
24584
24610
|
});
|
|
24585
|
-
const
|
|
24586
|
-
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
24611
|
+
const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
|
|
24612
|
+
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b1ced086"]]);
|
|
24587
24613
|
const DescriptionsForm = utils.withInstall(descriptionsForm);
|
|
24588
24614
|
const basicResizeWrapperProps = vue.reactive({
|
|
24589
24615
|
designWidth: {
|
|
@@ -24603,7 +24629,6 @@ const __default__ = vue.defineComponent({
|
|
|
24603
24629
|
setup(props2, { emit }) {
|
|
24604
24630
|
const { prefixCls: prefixCls2 } = use.useDesign("basic-resize-wrapper");
|
|
24605
24631
|
function setScale() {
|
|
24606
|
-
/* @__PURE__ */ console.log("setScale", screenRef.value, currentScreenRef.value);
|
|
24607
24632
|
screenRef.value.style.transform = `scale(${currentScreenRef.value.offsetWidth / props2.designWidth},${currentScreenRef.value.offsetHeight / props2.designHeight})`;
|
|
24608
24633
|
}
|
|
24609
24634
|
const screenRef = vue.ref();
|
|
@@ -24629,8 +24654,8 @@ const __default__ = vue.defineComponent({
|
|
|
24629
24654
|
});
|
|
24630
24655
|
const __injectCSSVars__ = () => {
|
|
24631
24656
|
vue.useCssVars((_ctx) => ({
|
|
24632
|
-
"
|
|
24633
|
-
"
|
|
24657
|
+
"1a93f028": _ctx.designWidth,
|
|
24658
|
+
"1e1b1b05": _ctx.designHeight
|
|
24634
24659
|
}));
|
|
24635
24660
|
};
|
|
24636
24661
|
const __setup__ = __default__.setup;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.64",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"vxe-table": "^4.3.6",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
32
|
"@shy-plugins/tinymce": "^1.0.6",
|
|
33
|
-
"@shy-plugins/
|
|
34
|
-
"@shy-plugins/
|
|
33
|
+
"@shy-plugins/utils": "1.1.1",
|
|
34
|
+
"@shy-plugins/use": "1.0.9"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|