3h1-ui 1.0.141 → 1.0.150
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 +90 -81
- package/es/style.css +10 -9
- package/lib/index.js +90 -81
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -4339,7 +4339,7 @@ const _sfc_main$_ = defineComponent({
|
|
|
4339
4339
|
}
|
|
4340
4340
|
});
|
|
4341
4341
|
const StrengthMeter_vue_vue_type_style_index_0_scoped_c3da4a85_lang = "";
|
|
4342
|
-
const _hoisted_1$
|
|
4342
|
+
const _hoisted_1$l = ["data-score"];
|
|
4343
4343
|
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4344
4344
|
const _component_InputPassword = resolveComponent("InputPassword");
|
|
4345
4345
|
return openBlock(), createElementBlock("div", {
|
|
@@ -4366,7 +4366,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4366
4366
|
createElementVNode("div", {
|
|
4367
4367
|
class: normalizeClass(`${_ctx.prefixCls}-bar--fill`),
|
|
4368
4368
|
"data-score": _ctx.getPasswordStrength
|
|
4369
|
-
}, null, 10, _hoisted_1$
|
|
4369
|
+
}, null, 10, _hoisted_1$l)
|
|
4370
4370
|
], 2)
|
|
4371
4371
|
], 2);
|
|
4372
4372
|
}
|
|
@@ -4407,14 +4407,14 @@ const _sfc_main$Z = defineComponent({
|
|
|
4407
4407
|
}
|
|
4408
4408
|
});
|
|
4409
4409
|
const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
|
|
4410
|
-
const _hoisted_1$
|
|
4410
|
+
const _hoisted_1$k = ["xlink:href"];
|
|
4411
4411
|
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4412
4412
|
return openBlock(), createElementBlock("svg", {
|
|
4413
4413
|
class: normalizeClass([_ctx.prefixCls, _ctx.$attrs.class, _ctx.spin && "svg-icon-spin"]),
|
|
4414
4414
|
style: normalizeStyle(_ctx.getStyle),
|
|
4415
4415
|
"aria-hidden": "true"
|
|
4416
4416
|
}, [
|
|
4417
|
-
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$
|
|
4417
|
+
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$k)
|
|
4418
4418
|
], 6);
|
|
4419
4419
|
}
|
|
4420
4420
|
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$D], ["__scopeId", "data-v-905fa4a6"]]);
|
|
@@ -4856,7 +4856,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4856
4856
|
], 2);
|
|
4857
4857
|
}
|
|
4858
4858
|
const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$A]]);
|
|
4859
|
-
const _hoisted_1$
|
|
4859
|
+
const _hoisted_1$j = { class: "p-2" };
|
|
4860
4860
|
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
4861
4861
|
__name: "CollapseContainer",
|
|
4862
4862
|
props: {
|
|
@@ -4900,7 +4900,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
4900
4900
|
]),
|
|
4901
4901
|
_: 3
|
|
4902
4902
|
}, 16, ["show"]),
|
|
4903
|
-
createElementVNode("div", _hoisted_1$
|
|
4903
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
4904
4904
|
createVNode(unref(CollapseTransition), { enable: __props.canExpan }, {
|
|
4905
4905
|
default: withCtx(() => [
|
|
4906
4906
|
__props.loading ? (openBlock(), createBlock(unref(Skeleton), {
|
|
@@ -5147,10 +5147,10 @@ const _sfc_main$R = defineComponent({
|
|
|
5147
5147
|
}
|
|
5148
5148
|
});
|
|
5149
5149
|
const Scrollbar_vue_vue_type_style_index_0_lang = "";
|
|
5150
|
-
const _hoisted_1$
|
|
5150
|
+
const _hoisted_1$i = { class: "scrollbar" };
|
|
5151
5151
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5152
5152
|
const _component_bar = resolveComponent("bar");
|
|
5153
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5153
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
5154
5154
|
createElementVNode("div", {
|
|
5155
5155
|
ref: "wrap",
|
|
5156
5156
|
class: normalizeClass([
|
|
@@ -5342,7 +5342,7 @@ const _sfc_main$P = defineComponent({
|
|
|
5342
5342
|
};
|
|
5343
5343
|
}
|
|
5344
5344
|
});
|
|
5345
|
-
const _hoisted_1$
|
|
5345
|
+
const _hoisted_1$h = { key: "component" };
|
|
5346
5346
|
const _hoisted_2$5 = { key: "skeleton" };
|
|
5347
5347
|
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5348
5348
|
const _component_Skeleton = resolveComponent("Skeleton");
|
|
@@ -5353,7 +5353,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5353
5353
|
mode: "out-in"
|
|
5354
5354
|
}), {
|
|
5355
5355
|
default: withCtx(() => [
|
|
5356
|
-
_ctx.isInit ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5356
|
+
_ctx.isInit ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
5357
5357
|
renderSlot(_ctx.$slots, "default", { loading: _ctx.loading })
|
|
5358
5358
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
5359
5359
|
_ctx.$slots.skeleton ? renderSlot(_ctx.$slots, "skeleton", { key: 0 }) : (openBlock(), createBlock(_component_Skeleton, { key: 1 }))
|
|
@@ -6709,7 +6709,7 @@ function useTransition(source, options = {}) {
|
|
|
6709
6709
|
return isNumber$1(sourceValue.value) ? targetVector.value[0] : targetVector.value;
|
|
6710
6710
|
});
|
|
6711
6711
|
}
|
|
6712
|
-
const _hoisted_1$
|
|
6712
|
+
const _hoisted_1$g = { class: "flex justify-between" };
|
|
6713
6713
|
const _hoisted_2$4 = { key: 0 };
|
|
6714
6714
|
const _hoisted_3$2 = { class: "flex flex-wrap px-2" };
|
|
6715
6715
|
const _hoisted_4$1 = ["onClick", "title"];
|
|
@@ -6818,7 +6818,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6818
6818
|
overlayClassName: `${prefixCls2}-popover`
|
|
6819
6819
|
}, {
|
|
6820
6820
|
title: withCtx(() => [
|
|
6821
|
-
createElementVNode("div", _hoisted_1$
|
|
6821
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
6822
6822
|
createVNode(unref(AInput), {
|
|
6823
6823
|
placeholder: "\u641C\u7D22\u56FE\u6807",
|
|
6824
6824
|
onChange: unref(debounceHandleSearchChange),
|
|
@@ -7027,7 +7027,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7027
7027
|
]), 1040, ["class", "size", "value"]);
|
|
7028
7028
|
}
|
|
7029
7029
|
const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$v]]);
|
|
7030
|
-
const _hoisted_1$
|
|
7030
|
+
const _hoisted_1$f = { key: 0 };
|
|
7031
7031
|
const _hoisted_2$3 = {
|
|
7032
7032
|
key: 1,
|
|
7033
7033
|
class: "delete-wrapper"
|
|
@@ -7110,7 +7110,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
7110
7110
|
align: "center"
|
|
7111
7111
|
}, {
|
|
7112
7112
|
headerCell: withCtx(({ column }) => [
|
|
7113
|
-
column.dataIndex === "index" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7113
|
+
column.dataIndex === "index" ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
7114
7114
|
createElementVNode("div", {
|
|
7115
7115
|
class: "table-plus",
|
|
7116
7116
|
onClick: plusClickEvent
|
|
@@ -8977,7 +8977,7 @@ const _sfc_main$F = defineComponent({
|
|
|
8977
8977
|
return { wrapperRef, spinRef, spinStyle, scrollTop, setModalHeight };
|
|
8978
8978
|
}
|
|
8979
8979
|
});
|
|
8980
|
-
const _hoisted_1$
|
|
8980
|
+
const _hoisted_1$e = ["loading-tip"];
|
|
8981
8981
|
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8982
8982
|
const _component_ScrollContainer = resolveComponent("ScrollContainer");
|
|
8983
8983
|
return openBlock(), createBlock(_component_ScrollContainer, { ref: "wrapperRef" }, {
|
|
@@ -8988,7 +8988,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8988
8988
|
"loading-tip": _ctx.loadingTip
|
|
8989
8989
|
}, [
|
|
8990
8990
|
renderSlot(_ctx.$slots, "default")
|
|
8991
|
-
], 12, _hoisted_1$
|
|
8991
|
+
], 12, _hoisted_1$e)
|
|
8992
8992
|
]),
|
|
8993
8993
|
_: 3
|
|
8994
8994
|
}, 512);
|
|
@@ -9324,7 +9324,8 @@ const _sfc_main$z = defineComponent({
|
|
|
9324
9324
|
"cancel",
|
|
9325
9325
|
"ok",
|
|
9326
9326
|
"register",
|
|
9327
|
-
"update:visible"
|
|
9327
|
+
"update:visible",
|
|
9328
|
+
"full-screen"
|
|
9328
9329
|
],
|
|
9329
9330
|
setup(props2, { emit, attrs }) {
|
|
9330
9331
|
const visibleRef = ref(false);
|
|
@@ -9360,6 +9361,10 @@ const _sfc_main$z = defineComponent({
|
|
|
9360
9361
|
wrapClassName: toRef(getMergeProps.value, "wrapClassName")
|
|
9361
9362
|
}
|
|
9362
9363
|
);
|
|
9364
|
+
const handleModalFull = ($event) => {
|
|
9365
|
+
emit("full-screen");
|
|
9366
|
+
handleFullScreen($event);
|
|
9367
|
+
};
|
|
9363
9368
|
const getProps = computed(() => {
|
|
9364
9369
|
const opt = {
|
|
9365
9370
|
...unref(getMergeProps),
|
|
@@ -9464,7 +9469,8 @@ const _sfc_main$z = defineComponent({
|
|
|
9464
9469
|
handleExtHeight,
|
|
9465
9470
|
handleHeightChange,
|
|
9466
9471
|
handleTitleDbClick,
|
|
9467
|
-
getWrapperHeight
|
|
9472
|
+
getWrapperHeight,
|
|
9473
|
+
handleModalFull
|
|
9468
9474
|
};
|
|
9469
9475
|
}
|
|
9470
9476
|
});
|
|
@@ -9510,7 +9516,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9510
9516
|
canFullscreen: _ctx.getProps.canFullscreen,
|
|
9511
9517
|
fullScreen: _ctx.fullScreenRef,
|
|
9512
9518
|
onCancel: _ctx.handleCancel,
|
|
9513
|
-
onFullscreen: _ctx.
|
|
9519
|
+
onFullscreen: _ctx.handleModalFull
|
|
9514
9520
|
}, null, 8, ["canFullscreen", "fullScreen", "onCancel", "onFullscreen"])
|
|
9515
9521
|
]),
|
|
9516
9522
|
key: "0"
|
|
@@ -10286,7 +10292,7 @@ const treeProps = buildProps({
|
|
|
10286
10292
|
},
|
|
10287
10293
|
treeWrapperClassName: String
|
|
10288
10294
|
});
|
|
10289
|
-
const _hoisted_1$
|
|
10295
|
+
const _hoisted_1$d = {
|
|
10290
10296
|
key: 2,
|
|
10291
10297
|
class: "shy-search"
|
|
10292
10298
|
};
|
|
@@ -10427,7 +10433,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
10427
10433
|
]),
|
|
10428
10434
|
_: 1
|
|
10429
10435
|
}, 8, ["helpMessage"])) : createCommentVNode("", true),
|
|
10430
|
-
_ctx.search || _ctx.toolbar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10436
|
+
_ctx.search || _ctx.toolbar ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
10431
10437
|
_ctx.search ? (openBlock(), createElementBlock("div", {
|
|
10432
10438
|
key: 0,
|
|
10433
10439
|
class: normalizeClass(unref(getInputSearchCls))
|
|
@@ -11589,7 +11595,7 @@ const _sfc_main$q = defineComponent({
|
|
|
11589
11595
|
}
|
|
11590
11596
|
});
|
|
11591
11597
|
const HeaderCell_vue_vue_type_style_index_0_lang = "";
|
|
11592
|
-
const _hoisted_1$
|
|
11598
|
+
const _hoisted_1$c = { key: 1 };
|
|
11593
11599
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11594
11600
|
const _component_EditTableHeaderCell = resolveComponent("EditTableHeaderCell");
|
|
11595
11601
|
const _component_BasicHelp = resolveComponent("BasicHelp");
|
|
@@ -11599,7 +11605,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11599
11605
|
createTextVNode(toDisplayString(_ctx.getTitle), 1)
|
|
11600
11606
|
]),
|
|
11601
11607
|
_: 1
|
|
11602
|
-
})) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11608
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_1$c, toDisplayString(_ctx.getTitle), 1)),
|
|
11603
11609
|
_ctx.getHelpMessage ? (openBlock(), createBlock(_component_BasicHelp, {
|
|
11604
11610
|
key: 2,
|
|
11605
11611
|
text: _ctx.getHelpMessage,
|
|
@@ -13853,13 +13859,13 @@ const _sfc_main$l = defineComponent({
|
|
|
13853
13859
|
return { redo, t: t2 };
|
|
13854
13860
|
}
|
|
13855
13861
|
});
|
|
13856
|
-
const _hoisted_1$
|
|
13862
|
+
const _hoisted_1$b = /* @__PURE__ */ createElementVNode("span", null, "\u663E\u9690\u641C\u7D22", -1);
|
|
13857
13863
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13858
13864
|
const _component_BarsOutlined = resolveComponent("BarsOutlined");
|
|
13859
13865
|
const _component_Tooltip = resolveComponent("Tooltip");
|
|
13860
13866
|
return openBlock(), createBlock(_component_Tooltip, { placement: "top" }, {
|
|
13861
13867
|
title: withCtx(() => [
|
|
13862
|
-
_hoisted_1$
|
|
13868
|
+
_hoisted_1$b
|
|
13863
13869
|
]),
|
|
13864
13870
|
default: withCtx(() => [
|
|
13865
13871
|
createVNode(_component_BarsOutlined, { onClick: _ctx.redo }, null, 8, ["onClick"])
|
|
@@ -13905,14 +13911,14 @@ const _sfc_main$k = defineComponent({
|
|
|
13905
13911
|
}
|
|
13906
13912
|
});
|
|
13907
13913
|
const index_vue_vue_type_style_index_0_lang = "";
|
|
13908
|
-
const _hoisted_1$
|
|
13914
|
+
const _hoisted_1$a = { class: "table-settings" };
|
|
13909
13915
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13910
13916
|
var _a2, _b, _c, _d, _e;
|
|
13911
13917
|
const _component_ShowSearchSetting = resolveComponent("ShowSearchSetting");
|
|
13912
13918
|
const _component_SizeSetting = resolveComponent("SizeSetting");
|
|
13913
13919
|
const _component_ColumnSetting = resolveComponent("ColumnSetting");
|
|
13914
13920
|
const _component_FullScreenSetting = resolveComponent("FullScreenSetting");
|
|
13915
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13921
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
13916
13922
|
((_b = (_a2 = _ctx.getBindValues) == null ? void 0 : _a2.formConfig) == null ? void 0 : _b.schemas) && ((_e = (_d = (_c = _ctx.getBindValues) == null ? void 0 : _c.formConfig) == null ? void 0 : _d.schemas) == null ? void 0 : _e.length) !== 0 ? (openBlock(), createBlock(_component_ShowSearchSetting, {
|
|
13917
13923
|
key: 0,
|
|
13918
13924
|
getPopupContainer: _ctx.getTableContainer
|
|
@@ -13963,7 +13969,7 @@ const _sfc_main$j = defineComponent({
|
|
|
13963
13969
|
}
|
|
13964
13970
|
});
|
|
13965
13971
|
const TableHeader_vue_vue_type_style_index_0_lang = "";
|
|
13966
|
-
const _hoisted_1$
|
|
13972
|
+
const _hoisted_1$9 = { style: { "width": "100%" } };
|
|
13967
13973
|
const _hoisted_2$2 = {
|
|
13968
13974
|
key: 0,
|
|
13969
13975
|
style: { "margin": "5px" }
|
|
@@ -13971,7 +13977,7 @@ const _hoisted_2$2 = {
|
|
|
13971
13977
|
const _hoisted_3 = { class: "flex items-center" };
|
|
13972
13978
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13973
13979
|
const _component_TableSetting = resolveComponent("TableSetting");
|
|
13974
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13980
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
13975
13981
|
_ctx.$slots.headerTop ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
13976
13982
|
renderSlot(_ctx.$slots, "headerTop")
|
|
13977
13983
|
])) : createCommentVNode("", true),
|
|
@@ -14512,7 +14518,7 @@ const _sfc_main$h = defineComponent({
|
|
|
14512
14518
|
tableLayout: "fixed",
|
|
14513
14519
|
rowSelection: unref(getRowSelectionRef),
|
|
14514
14520
|
rowKey: unref(getRowKey),
|
|
14515
|
-
columns: toRaw(unref(getViewColumns)).map((item) => {
|
|
14521
|
+
columns: toRaw(unref(getViewColumns)).map((item, index2) => {
|
|
14516
14522
|
return item;
|
|
14517
14523
|
}),
|
|
14518
14524
|
pagination: toRaw(unref(getPaginationInfo)),
|
|
@@ -14613,6 +14619,7 @@ const _sfc_main$h = defineComponent({
|
|
|
14613
14619
|
};
|
|
14614
14620
|
}
|
|
14615
14621
|
});
|
|
14622
|
+
const _hoisted_1$8 = { class: "shy-page" };
|
|
14616
14623
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14617
14624
|
const _component_BasicForm = resolveComponent("BasicForm");
|
|
14618
14625
|
const _component_HeaderCell = resolveComponent("HeaderCell");
|
|
@@ -14622,57 +14629,59 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14622
14629
|
ref: "wrapRef",
|
|
14623
14630
|
class: normalizeClass(_ctx.getWrapperClass)
|
|
14624
14631
|
}, [
|
|
14625
|
-
|
|
14626
|
-
|
|
14627
|
-
|
|
14628
|
-
|
|
14629
|
-
|
|
14630
|
-
|
|
14631
|
-
|
|
14632
|
-
|
|
14633
|
-
|
|
14634
|
-
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
|
|
14639
|
-
|
|
14640
|
-
|
|
14641
|
-
|
|
14642
|
-
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
-
|
|
14652
|
-
|
|
14653
|
-
|
|
14654
|
-
|
|
14655
|
-
|
|
14656
|
-
|
|
14657
|
-
|
|
14658
|
-
|
|
14659
|
-
|
|
14660
|
-
|
|
14661
|
-
|
|
14662
|
-
|
|
14663
|
-
|
|
14664
|
-
|
|
14665
|
-
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
|
|
14672
|
-
|
|
14673
|
-
|
|
14674
|
-
|
|
14675
|
-
[
|
|
14632
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
14633
|
+
_ctx.getBindValues.useSearchForm ? (openBlock(), createBlock(_component_BasicForm, mergeProps({
|
|
14634
|
+
key: 0,
|
|
14635
|
+
ref: "formRef",
|
|
14636
|
+
submitOnReset: ""
|
|
14637
|
+
}, _ctx.getFormProps, {
|
|
14638
|
+
tableAction: _ctx.tableAction,
|
|
14639
|
+
onRegister: _ctx.registerForm,
|
|
14640
|
+
onSubmit: _ctx.handleSearchInfoChange,
|
|
14641
|
+
onAdvancedChange: _ctx.redoHeight
|
|
14642
|
+
}), createSlots({ _: 2 }, [
|
|
14643
|
+
renderList(_ctx.getFormSlotKeys, (item) => {
|
|
14644
|
+
return {
|
|
14645
|
+
name: _ctx.replaceFormSlotKey(item),
|
|
14646
|
+
fn: withCtx((data) => [
|
|
14647
|
+
renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
|
|
14648
|
+
])
|
|
14649
|
+
};
|
|
14650
|
+
})
|
|
14651
|
+
]), 1040, ["tableAction", "onRegister", "onSubmit", "onAdvancedChange"])) : createCommentVNode("", true),
|
|
14652
|
+
withDirectives(createVNode(_component_Table, mergeProps({ ref: "tableElRef" }, _ctx.getBindValues, {
|
|
14653
|
+
rowClassName: _ctx.getRowClassName,
|
|
14654
|
+
onChange: _ctx.handleTableChange,
|
|
14655
|
+
onResizeColumn: _ctx.handleResizeColumn,
|
|
14656
|
+
class: "enter-x"
|
|
14657
|
+
}), createSlots({
|
|
14658
|
+
headerCell: withCtx(({ column }) => [
|
|
14659
|
+
createVNode(_component_HeaderCell, { column }, null, 8, ["column"])
|
|
14660
|
+
]),
|
|
14661
|
+
emptyText: withCtx(() => [
|
|
14662
|
+
createElementVNode("div", {
|
|
14663
|
+
class: "flex justify-center items-center",
|
|
14664
|
+
style: normalizeStyle({ height: `${_ctx.getHeight.y - 40}px` })
|
|
14665
|
+
}, [
|
|
14666
|
+
createVNode(_component_Empty)
|
|
14667
|
+
], 4)
|
|
14668
|
+
]),
|
|
14669
|
+
bodyCell: withCtx((data) => [
|
|
14670
|
+
renderSlot(_ctx.$slots, "bodyCell", normalizeProps(guardReactiveProps(data || {})))
|
|
14671
|
+
]),
|
|
14672
|
+
_: 2
|
|
14673
|
+
}, [
|
|
14674
|
+
renderList(Object.keys(_ctx.$slots), (item) => {
|
|
14675
|
+
return {
|
|
14676
|
+
name: item,
|
|
14677
|
+
fn: withCtx((data) => [
|
|
14678
|
+
renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
|
|
14679
|
+
])
|
|
14680
|
+
};
|
|
14681
|
+
})
|
|
14682
|
+
]), 1040, ["rowClassName", "onChange", "onResizeColumn"]), [
|
|
14683
|
+
[vShow, _ctx.getEmptyDataIsShowTable]
|
|
14684
|
+
])
|
|
14676
14685
|
])
|
|
14677
14686
|
], 2);
|
|
14678
14687
|
}
|
package/es/style.css
CHANGED
|
@@ -1309,9 +1309,16 @@ span.iconify {
|
|
|
1309
1309
|
}[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 {
|
|
1310
1310
|
background-color: #262626;
|
|
1311
1311
|
}
|
|
1312
|
+
[data-theme='light'] .shy-basic-table > .ant-table-wrapper {
|
|
1313
|
+
border: 1px solid #efeff5;
|
|
1314
|
+
box-shadow: 0 20px 27px rgba(0, 0, 0, 0.05);
|
|
1315
|
+
}
|
|
1316
|
+
[data-theme='light'] .shy-basic-table-form-container > .ant-form {
|
|
1317
|
+
border: 1px solid #efeff5;
|
|
1318
|
+
box-shadow: 0 20px 27px rgba(107, 106, 106, 0.05);
|
|
1319
|
+
}
|
|
1312
1320
|
.shy-basic-table {
|
|
1313
|
-
|
|
1314
|
-
width: 100%;
|
|
1321
|
+
max-width: 100%;
|
|
1315
1322
|
height: 100%;
|
|
1316
1323
|
}
|
|
1317
1324
|
.shy-basic-table-row__striped td {
|
|
@@ -1328,7 +1335,7 @@ span.iconify {
|
|
|
1328
1335
|
margin-right: 0;
|
|
1329
1336
|
}
|
|
1330
1337
|
.shy-basic-table .ant-table-wrapper {
|
|
1331
|
-
padding:
|
|
1338
|
+
padding: 6px;
|
|
1332
1339
|
background-color: #fff;
|
|
1333
1340
|
border-radius: 12px;
|
|
1334
1341
|
}
|
|
@@ -1364,18 +1371,12 @@ span.iconify {
|
|
|
1364
1371
|
}
|
|
1365
1372
|
.shy-basic-table .ant-table-footer .ant-table-body {
|
|
1366
1373
|
overflow-x: hidden !important;
|
|
1367
|
-
overflow-y: scroll !important;
|
|
1368
|
-
padding-right: 7px;
|
|
1369
1374
|
}
|
|
1370
1375
|
.shy-basic-table .ant-table-footer td {
|
|
1371
1376
|
padding: 12px 8px;
|
|
1372
1377
|
}
|
|
1373
1378
|
.shy-basic-table--inset .ant-table-wrapper {
|
|
1374
1379
|
padding: 0;
|
|
1375
|
-
}
|
|
1376
|
-
.shy-basic-table .ant-table-container {
|
|
1377
|
-
border-bottom: 1px solid #f0f0f0;
|
|
1378
|
-
border-right: 1px solid #f0f0f0;
|
|
1379
1380
|
}.wrapper[data-v-dbd84c9c] {
|
|
1380
1381
|
display: flex;
|
|
1381
1382
|
}
|
package/lib/index.js
CHANGED
|
@@ -4344,7 +4344,7 @@ const _sfc_main$_ = vue.defineComponent({
|
|
|
4344
4344
|
}
|
|
4345
4345
|
});
|
|
4346
4346
|
const StrengthMeter_vue_vue_type_style_index_0_scoped_c3da4a85_lang = "";
|
|
4347
|
-
const _hoisted_1$
|
|
4347
|
+
const _hoisted_1$l = ["data-score"];
|
|
4348
4348
|
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4349
4349
|
const _component_InputPassword = vue.resolveComponent("InputPassword");
|
|
4350
4350
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -4371,7 +4371,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4371
4371
|
vue.createElementVNode("div", {
|
|
4372
4372
|
class: vue.normalizeClass(`${_ctx.prefixCls}-bar--fill`),
|
|
4373
4373
|
"data-score": _ctx.getPasswordStrength
|
|
4374
|
-
}, null, 10, _hoisted_1$
|
|
4374
|
+
}, null, 10, _hoisted_1$l)
|
|
4375
4375
|
], 2)
|
|
4376
4376
|
], 2);
|
|
4377
4377
|
}
|
|
@@ -4412,14 +4412,14 @@ const _sfc_main$Z = vue.defineComponent({
|
|
|
4412
4412
|
}
|
|
4413
4413
|
});
|
|
4414
4414
|
const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
|
|
4415
|
-
const _hoisted_1$
|
|
4415
|
+
const _hoisted_1$k = ["xlink:href"];
|
|
4416
4416
|
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4417
4417
|
return vue.openBlock(), vue.createElementBlock("svg", {
|
|
4418
4418
|
class: vue.normalizeClass([_ctx.prefixCls, _ctx.$attrs.class, _ctx.spin && "svg-icon-spin"]),
|
|
4419
4419
|
style: vue.normalizeStyle(_ctx.getStyle),
|
|
4420
4420
|
"aria-hidden": "true"
|
|
4421
4421
|
}, [
|
|
4422
|
-
vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$
|
|
4422
|
+
vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$k)
|
|
4423
4423
|
], 6);
|
|
4424
4424
|
}
|
|
4425
4425
|
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$D], ["__scopeId", "data-v-905fa4a6"]]);
|
|
@@ -4861,7 +4861,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4861
4861
|
], 2);
|
|
4862
4862
|
}
|
|
4863
4863
|
const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$A]]);
|
|
4864
|
-
const _hoisted_1$
|
|
4864
|
+
const _hoisted_1$j = { class: "p-2" };
|
|
4865
4865
|
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
4866
4866
|
__name: "CollapseContainer",
|
|
4867
4867
|
props: {
|
|
@@ -4905,7 +4905,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
4905
4905
|
]),
|
|
4906
4906
|
_: 3
|
|
4907
4907
|
}, 16, ["show"]),
|
|
4908
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
4908
|
+
vue.createElementVNode("div", _hoisted_1$j, [
|
|
4909
4909
|
vue.createVNode(vue.unref(CollapseTransition), { enable: __props.canExpan }, {
|
|
4910
4910
|
default: vue.withCtx(() => [
|
|
4911
4911
|
__props.loading ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Skeleton), {
|
|
@@ -5152,10 +5152,10 @@ const _sfc_main$R = vue.defineComponent({
|
|
|
5152
5152
|
}
|
|
5153
5153
|
});
|
|
5154
5154
|
const Scrollbar_vue_vue_type_style_index_0_lang = "";
|
|
5155
|
-
const _hoisted_1$
|
|
5155
|
+
const _hoisted_1$i = { class: "scrollbar" };
|
|
5156
5156
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5157
5157
|
const _component_bar = vue.resolveComponent("bar");
|
|
5158
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5158
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
|
|
5159
5159
|
vue.createElementVNode("div", {
|
|
5160
5160
|
ref: "wrap",
|
|
5161
5161
|
class: vue.normalizeClass([
|
|
@@ -5347,7 +5347,7 @@ const _sfc_main$P = vue.defineComponent({
|
|
|
5347
5347
|
};
|
|
5348
5348
|
}
|
|
5349
5349
|
});
|
|
5350
|
-
const _hoisted_1$
|
|
5350
|
+
const _hoisted_1$h = { key: "component" };
|
|
5351
5351
|
const _hoisted_2$5 = { key: "skeleton" };
|
|
5352
5352
|
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5353
5353
|
const _component_Skeleton = vue.resolveComponent("Skeleton");
|
|
@@ -5358,7 +5358,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5358
5358
|
mode: "out-in"
|
|
5359
5359
|
}), {
|
|
5360
5360
|
default: vue.withCtx(() => [
|
|
5361
|
-
_ctx.isInit ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5361
|
+
_ctx.isInit ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
|
|
5362
5362
|
vue.renderSlot(_ctx.$slots, "default", { loading: _ctx.loading })
|
|
5363
5363
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$5, [
|
|
5364
5364
|
_ctx.$slots.skeleton ? vue.renderSlot(_ctx.$slots, "skeleton", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_Skeleton, { key: 1 }))
|
|
@@ -6714,7 +6714,7 @@ function useTransition(source, options = {}) {
|
|
|
6714
6714
|
return isNumber$1(sourceValue.value) ? targetVector.value[0] : targetVector.value;
|
|
6715
6715
|
});
|
|
6716
6716
|
}
|
|
6717
|
-
const _hoisted_1$
|
|
6717
|
+
const _hoisted_1$g = { class: "flex justify-between" };
|
|
6718
6718
|
const _hoisted_2$4 = { key: 0 };
|
|
6719
6719
|
const _hoisted_3$2 = { class: "flex flex-wrap px-2" };
|
|
6720
6720
|
const _hoisted_4$1 = ["onClick", "title"];
|
|
@@ -6823,7 +6823,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
6823
6823
|
overlayClassName: `${prefixCls2}-popover`
|
|
6824
6824
|
}, {
|
|
6825
6825
|
title: vue.withCtx(() => [
|
|
6826
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
6826
|
+
vue.createElementVNode("div", _hoisted_1$g, [
|
|
6827
6827
|
vue.createVNode(vue.unref(AInput), {
|
|
6828
6828
|
placeholder: "\u641C\u7D22\u56FE\u6807",
|
|
6829
6829
|
onChange: vue.unref(debounceHandleSearchChange),
|
|
@@ -7032,7 +7032,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7032
7032
|
]), 1040, ["class", "size", "value"]);
|
|
7033
7033
|
}
|
|
7034
7034
|
const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$v]]);
|
|
7035
|
-
const _hoisted_1$
|
|
7035
|
+
const _hoisted_1$f = { key: 0 };
|
|
7036
7036
|
const _hoisted_2$3 = {
|
|
7037
7037
|
key: 1,
|
|
7038
7038
|
class: "delete-wrapper"
|
|
@@ -7115,7 +7115,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
7115
7115
|
align: "center"
|
|
7116
7116
|
}, {
|
|
7117
7117
|
headerCell: vue.withCtx(({ column }) => [
|
|
7118
|
-
column.dataIndex === "index" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7118
|
+
column.dataIndex === "index" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
|
|
7119
7119
|
vue.createElementVNode("div", {
|
|
7120
7120
|
class: "table-plus",
|
|
7121
7121
|
onClick: plusClickEvent
|
|
@@ -8982,7 +8982,7 @@ const _sfc_main$F = vue.defineComponent({
|
|
|
8982
8982
|
return { wrapperRef, spinRef, spinStyle, scrollTop, setModalHeight };
|
|
8983
8983
|
}
|
|
8984
8984
|
});
|
|
8985
|
-
const _hoisted_1$
|
|
8985
|
+
const _hoisted_1$e = ["loading-tip"];
|
|
8986
8986
|
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8987
8987
|
const _component_ScrollContainer = vue.resolveComponent("ScrollContainer");
|
|
8988
8988
|
return vue.openBlock(), vue.createBlock(_component_ScrollContainer, { ref: "wrapperRef" }, {
|
|
@@ -8993,7 +8993,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8993
8993
|
"loading-tip": _ctx.loadingTip
|
|
8994
8994
|
}, [
|
|
8995
8995
|
vue.renderSlot(_ctx.$slots, "default")
|
|
8996
|
-
], 12, _hoisted_1$
|
|
8996
|
+
], 12, _hoisted_1$e)
|
|
8997
8997
|
]),
|
|
8998
8998
|
_: 3
|
|
8999
8999
|
}, 512);
|
|
@@ -9329,7 +9329,8 @@ const _sfc_main$z = vue.defineComponent({
|
|
|
9329
9329
|
"cancel",
|
|
9330
9330
|
"ok",
|
|
9331
9331
|
"register",
|
|
9332
|
-
"update:visible"
|
|
9332
|
+
"update:visible",
|
|
9333
|
+
"full-screen"
|
|
9333
9334
|
],
|
|
9334
9335
|
setup(props2, { emit, attrs }) {
|
|
9335
9336
|
const visibleRef = vue.ref(false);
|
|
@@ -9365,6 +9366,10 @@ const _sfc_main$z = vue.defineComponent({
|
|
|
9365
9366
|
wrapClassName: vue.toRef(getMergeProps.value, "wrapClassName")
|
|
9366
9367
|
}
|
|
9367
9368
|
);
|
|
9369
|
+
const handleModalFull = ($event) => {
|
|
9370
|
+
emit("full-screen");
|
|
9371
|
+
handleFullScreen($event);
|
|
9372
|
+
};
|
|
9368
9373
|
const getProps = vue.computed(() => {
|
|
9369
9374
|
const opt = {
|
|
9370
9375
|
...vue.unref(getMergeProps),
|
|
@@ -9469,7 +9474,8 @@ const _sfc_main$z = vue.defineComponent({
|
|
|
9469
9474
|
handleExtHeight,
|
|
9470
9475
|
handleHeightChange,
|
|
9471
9476
|
handleTitleDbClick,
|
|
9472
|
-
getWrapperHeight
|
|
9477
|
+
getWrapperHeight,
|
|
9478
|
+
handleModalFull
|
|
9473
9479
|
};
|
|
9474
9480
|
}
|
|
9475
9481
|
});
|
|
@@ -9515,7 +9521,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9515
9521
|
canFullscreen: _ctx.getProps.canFullscreen,
|
|
9516
9522
|
fullScreen: _ctx.fullScreenRef,
|
|
9517
9523
|
onCancel: _ctx.handleCancel,
|
|
9518
|
-
onFullscreen: _ctx.
|
|
9524
|
+
onFullscreen: _ctx.handleModalFull
|
|
9519
9525
|
}, null, 8, ["canFullscreen", "fullScreen", "onCancel", "onFullscreen"])
|
|
9520
9526
|
]),
|
|
9521
9527
|
key: "0"
|
|
@@ -10291,7 +10297,7 @@ const treeProps = utils.buildProps({
|
|
|
10291
10297
|
},
|
|
10292
10298
|
treeWrapperClassName: String
|
|
10293
10299
|
});
|
|
10294
|
-
const _hoisted_1$
|
|
10300
|
+
const _hoisted_1$d = {
|
|
10295
10301
|
key: 2,
|
|
10296
10302
|
class: "shy-search"
|
|
10297
10303
|
};
|
|
@@ -10432,7 +10438,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
10432
10438
|
]),
|
|
10433
10439
|
_: 1
|
|
10434
10440
|
}, 8, ["helpMessage"])) : vue.createCommentVNode("", true),
|
|
10435
|
-
_ctx.search || _ctx.toolbar ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
10441
|
+
_ctx.search || _ctx.toolbar ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
10436
10442
|
_ctx.search ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
10437
10443
|
key: 0,
|
|
10438
10444
|
class: vue.normalizeClass(vue.unref(getInputSearchCls))
|
|
@@ -11594,7 +11600,7 @@ const _sfc_main$q = vue.defineComponent({
|
|
|
11594
11600
|
}
|
|
11595
11601
|
});
|
|
11596
11602
|
const HeaderCell_vue_vue_type_style_index_0_lang = "";
|
|
11597
|
-
const _hoisted_1$
|
|
11603
|
+
const _hoisted_1$c = { key: 1 };
|
|
11598
11604
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11599
11605
|
const _component_EditTableHeaderCell = vue.resolveComponent("EditTableHeaderCell");
|
|
11600
11606
|
const _component_BasicHelp = vue.resolveComponent("BasicHelp");
|
|
@@ -11604,7 +11610,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11604
11610
|
vue.createTextVNode(vue.toDisplayString(_ctx.getTitle), 1)
|
|
11605
11611
|
]),
|
|
11606
11612
|
_: 1
|
|
11607
|
-
})) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
11613
|
+
})) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$c, vue.toDisplayString(_ctx.getTitle), 1)),
|
|
11608
11614
|
_ctx.getHelpMessage ? (vue.openBlock(), vue.createBlock(_component_BasicHelp, {
|
|
11609
11615
|
key: 2,
|
|
11610
11616
|
text: _ctx.getHelpMessage,
|
|
@@ -13858,13 +13864,13 @@ const _sfc_main$l = vue.defineComponent({
|
|
|
13858
13864
|
return { redo, t: t2 };
|
|
13859
13865
|
}
|
|
13860
13866
|
});
|
|
13861
|
-
const _hoisted_1$
|
|
13867
|
+
const _hoisted_1$b = /* @__PURE__ */ vue.createElementVNode("span", null, "\u663E\u9690\u641C\u7D22", -1);
|
|
13862
13868
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13863
13869
|
const _component_BarsOutlined = vue.resolveComponent("BarsOutlined");
|
|
13864
13870
|
const _component_Tooltip = vue.resolveComponent("Tooltip");
|
|
13865
13871
|
return vue.openBlock(), vue.createBlock(_component_Tooltip, { placement: "top" }, {
|
|
13866
13872
|
title: vue.withCtx(() => [
|
|
13867
|
-
_hoisted_1$
|
|
13873
|
+
_hoisted_1$b
|
|
13868
13874
|
]),
|
|
13869
13875
|
default: vue.withCtx(() => [
|
|
13870
13876
|
vue.createVNode(_component_BarsOutlined, { onClick: _ctx.redo }, null, 8, ["onClick"])
|
|
@@ -13910,14 +13916,14 @@ const _sfc_main$k = vue.defineComponent({
|
|
|
13910
13916
|
}
|
|
13911
13917
|
});
|
|
13912
13918
|
const index_vue_vue_type_style_index_0_lang = "";
|
|
13913
|
-
const _hoisted_1$
|
|
13919
|
+
const _hoisted_1$a = { class: "table-settings" };
|
|
13914
13920
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13915
13921
|
var _a2, _b, _c, _d, _e;
|
|
13916
13922
|
const _component_ShowSearchSetting = vue.resolveComponent("ShowSearchSetting");
|
|
13917
13923
|
const _component_SizeSetting = vue.resolveComponent("SizeSetting");
|
|
13918
13924
|
const _component_ColumnSetting = vue.resolveComponent("ColumnSetting");
|
|
13919
13925
|
const _component_FullScreenSetting = vue.resolveComponent("FullScreenSetting");
|
|
13920
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
13926
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
13921
13927
|
((_b = (_a2 = _ctx.getBindValues) == null ? void 0 : _a2.formConfig) == null ? void 0 : _b.schemas) && ((_e = (_d = (_c = _ctx.getBindValues) == null ? void 0 : _c.formConfig) == null ? void 0 : _d.schemas) == null ? void 0 : _e.length) !== 0 ? (vue.openBlock(), vue.createBlock(_component_ShowSearchSetting, {
|
|
13922
13928
|
key: 0,
|
|
13923
13929
|
getPopupContainer: _ctx.getTableContainer
|
|
@@ -13968,7 +13974,7 @@ const _sfc_main$j = vue.defineComponent({
|
|
|
13968
13974
|
}
|
|
13969
13975
|
});
|
|
13970
13976
|
const TableHeader_vue_vue_type_style_index_0_lang = "";
|
|
13971
|
-
const _hoisted_1$
|
|
13977
|
+
const _hoisted_1$9 = { style: { "width": "100%" } };
|
|
13972
13978
|
const _hoisted_2$2 = {
|
|
13973
13979
|
key: 0,
|
|
13974
13980
|
style: { "margin": "5px" }
|
|
@@ -13976,7 +13982,7 @@ const _hoisted_2$2 = {
|
|
|
13976
13982
|
const _hoisted_3 = { class: "flex items-center" };
|
|
13977
13983
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13978
13984
|
const _component_TableSetting = vue.resolveComponent("TableSetting");
|
|
13979
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
13985
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
|
|
13980
13986
|
_ctx.$slots.headerTop ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$2, [
|
|
13981
13987
|
vue.renderSlot(_ctx.$slots, "headerTop")
|
|
13982
13988
|
])) : vue.createCommentVNode("", true),
|
|
@@ -14517,7 +14523,7 @@ const _sfc_main$h = vue.defineComponent({
|
|
|
14517
14523
|
tableLayout: "fixed",
|
|
14518
14524
|
rowSelection: vue.unref(getRowSelectionRef),
|
|
14519
14525
|
rowKey: vue.unref(getRowKey),
|
|
14520
|
-
columns: vue.toRaw(vue.unref(getViewColumns)).map((item) => {
|
|
14526
|
+
columns: vue.toRaw(vue.unref(getViewColumns)).map((item, index2) => {
|
|
14521
14527
|
return item;
|
|
14522
14528
|
}),
|
|
14523
14529
|
pagination: vue.toRaw(vue.unref(getPaginationInfo)),
|
|
@@ -14618,6 +14624,7 @@ const _sfc_main$h = vue.defineComponent({
|
|
|
14618
14624
|
};
|
|
14619
14625
|
}
|
|
14620
14626
|
});
|
|
14627
|
+
const _hoisted_1$8 = { class: "shy-page" };
|
|
14621
14628
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14622
14629
|
const _component_BasicForm = vue.resolveComponent("BasicForm");
|
|
14623
14630
|
const _component_HeaderCell = vue.resolveComponent("HeaderCell");
|
|
@@ -14627,57 +14634,59 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14627
14634
|
ref: "wrapRef",
|
|
14628
14635
|
class: vue.normalizeClass(_ctx.getWrapperClass)
|
|
14629
14636
|
}, [
|
|
14630
|
-
|
|
14631
|
-
|
|
14632
|
-
|
|
14633
|
-
|
|
14634
|
-
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
|
|
14639
|
-
|
|
14640
|
-
vue.
|
|
14641
|
-
|
|
14642
|
-
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
-
|
|
14652
|
-
|
|
14653
|
-
|
|
14654
|
-
|
|
14655
|
-
|
|
14656
|
-
vue.
|
|
14657
|
-
|
|
14658
|
-
|
|
14659
|
-
vue.
|
|
14660
|
-
|
|
14661
|
-
|
|
14662
|
-
|
|
14663
|
-
|
|
14664
|
-
|
|
14665
|
-
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
|
|
14672
|
-
|
|
14673
|
-
|
|
14674
|
-
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
-
|
|
14679
|
-
|
|
14680
|
-
[
|
|
14637
|
+
vue.createElementVNode("div", _hoisted_1$8, [
|
|
14638
|
+
_ctx.getBindValues.useSearchForm ? (vue.openBlock(), vue.createBlock(_component_BasicForm, vue.mergeProps({
|
|
14639
|
+
key: 0,
|
|
14640
|
+
ref: "formRef",
|
|
14641
|
+
submitOnReset: ""
|
|
14642
|
+
}, _ctx.getFormProps, {
|
|
14643
|
+
tableAction: _ctx.tableAction,
|
|
14644
|
+
onRegister: _ctx.registerForm,
|
|
14645
|
+
onSubmit: _ctx.handleSearchInfoChange,
|
|
14646
|
+
onAdvancedChange: _ctx.redoHeight
|
|
14647
|
+
}), vue.createSlots({ _: 2 }, [
|
|
14648
|
+
vue.renderList(_ctx.getFormSlotKeys, (item) => {
|
|
14649
|
+
return {
|
|
14650
|
+
name: _ctx.replaceFormSlotKey(item),
|
|
14651
|
+
fn: vue.withCtx((data) => [
|
|
14652
|
+
vue.renderSlot(_ctx.$slots, item, vue.normalizeProps(vue.guardReactiveProps(data || {})))
|
|
14653
|
+
])
|
|
14654
|
+
};
|
|
14655
|
+
})
|
|
14656
|
+
]), 1040, ["tableAction", "onRegister", "onSubmit", "onAdvancedChange"])) : vue.createCommentVNode("", true),
|
|
14657
|
+
vue.withDirectives(vue.createVNode(_component_Table, vue.mergeProps({ ref: "tableElRef" }, _ctx.getBindValues, {
|
|
14658
|
+
rowClassName: _ctx.getRowClassName,
|
|
14659
|
+
onChange: _ctx.handleTableChange,
|
|
14660
|
+
onResizeColumn: _ctx.handleResizeColumn,
|
|
14661
|
+
class: "enter-x"
|
|
14662
|
+
}), vue.createSlots({
|
|
14663
|
+
headerCell: vue.withCtx(({ column }) => [
|
|
14664
|
+
vue.createVNode(_component_HeaderCell, { column }, null, 8, ["column"])
|
|
14665
|
+
]),
|
|
14666
|
+
emptyText: vue.withCtx(() => [
|
|
14667
|
+
vue.createElementVNode("div", {
|
|
14668
|
+
class: "flex justify-center items-center",
|
|
14669
|
+
style: vue.normalizeStyle({ height: `${_ctx.getHeight.y - 40}px` })
|
|
14670
|
+
}, [
|
|
14671
|
+
vue.createVNode(_component_Empty)
|
|
14672
|
+
], 4)
|
|
14673
|
+
]),
|
|
14674
|
+
bodyCell: vue.withCtx((data) => [
|
|
14675
|
+
vue.renderSlot(_ctx.$slots, "bodyCell", vue.normalizeProps(vue.guardReactiveProps(data || {})))
|
|
14676
|
+
]),
|
|
14677
|
+
_: 2
|
|
14678
|
+
}, [
|
|
14679
|
+
vue.renderList(Object.keys(_ctx.$slots), (item) => {
|
|
14680
|
+
return {
|
|
14681
|
+
name: item,
|
|
14682
|
+
fn: vue.withCtx((data) => [
|
|
14683
|
+
vue.renderSlot(_ctx.$slots, item, vue.normalizeProps(vue.guardReactiveProps(data || {})))
|
|
14684
|
+
])
|
|
14685
|
+
};
|
|
14686
|
+
})
|
|
14687
|
+
]), 1040, ["rowClassName", "onChange", "onResizeColumn"]), [
|
|
14688
|
+
[vue.vShow, _ctx.getEmptyDataIsShowTable]
|
|
14689
|
+
])
|
|
14681
14690
|
])
|
|
14682
14691
|
], 2);
|
|
14683
14692
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.150",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"vue-types": "^5.0.2",
|
|
32
32
|
"vxe-table": "^4.3.6",
|
|
33
33
|
"xe-utils": "^3.5.7",
|
|
34
|
-
"@shy-plugins/
|
|
35
|
-
"@shy-plugins/
|
|
34
|
+
"@shy-plugins/use": "1.0.3",
|
|
35
|
+
"@shy-plugins/utils": "1.0.14"
|
|
36
36
|
},
|
|
37
37
|
"types": "lib/ui/index.d.ts",
|
|
38
38
|
"devDependencies": {
|