3h1-ui 2.14.23 → 2.14.24
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 +18 -8
- package/es/style.css +7 -7
- package/lib/index.js +18 -8
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -7061,7 +7061,7 @@ const _hoisted_1$r = { class: "flex justify-between" };
|
|
|
7061
7061
|
const _hoisted_2$9 = { key: 0 };
|
|
7062
7062
|
const _hoisted_3$6 = { class: "flex flex-wrap px-2" };
|
|
7063
7063
|
const _hoisted_4$5 = ["onClick", "title"];
|
|
7064
|
-
const _hoisted_5$
|
|
7064
|
+
const _hoisted_5$4 = {
|
|
7065
7065
|
key: 0,
|
|
7066
7066
|
class: "flex py-2 items-center justify-center"
|
|
7067
7067
|
};
|
|
@@ -7198,7 +7198,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
7198
7198
|
]),
|
|
7199
7199
|
_: 1
|
|
7200
7200
|
}),
|
|
7201
|
-
unref(getTotal) >= __props.pageSize ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
7201
|
+
unref(getTotal) >= __props.pageSize ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
7202
7202
|
createVNode(unref(APagination), {
|
|
7203
7203
|
showLessItems: "",
|
|
7204
7204
|
size: "small",
|
|
@@ -7381,6 +7381,10 @@ const _hoisted_2$8 = {
|
|
|
7381
7381
|
};
|
|
7382
7382
|
const _hoisted_3$5 = { class: "delete-index" };
|
|
7383
7383
|
const _hoisted_4$4 = ["onClick"];
|
|
7384
|
+
const _hoisted_5$3 = {
|
|
7385
|
+
key: 1,
|
|
7386
|
+
class: "delete-index"
|
|
7387
|
+
};
|
|
7384
7388
|
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
7385
7389
|
__name: "Table",
|
|
7386
7390
|
props: {
|
|
@@ -7391,6 +7395,10 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
7391
7395
|
value: {
|
|
7392
7396
|
type: Array,
|
|
7393
7397
|
default: () => []
|
|
7398
|
+
},
|
|
7399
|
+
isShowAction: {
|
|
7400
|
+
type: Boolean,
|
|
7401
|
+
default: () => true
|
|
7394
7402
|
}
|
|
7395
7403
|
},
|
|
7396
7404
|
emits: ["update:value", "change"],
|
|
@@ -7505,8 +7513,9 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
7505
7513
|
}, null, 8, ["value", "onUpdate:value", "min", "max", "precision"])) : (openBlock(), createBlock(unref(Input), {
|
|
7506
7514
|
key: 3,
|
|
7507
7515
|
value: record[column.dataIndex],
|
|
7508
|
-
"onUpdate:value": ($event) => record[column.dataIndex] = $event
|
|
7509
|
-
|
|
7516
|
+
"onUpdate:value": ($event) => record[column.dataIndex] = $event,
|
|
7517
|
+
disabled: !props2.isShowAction
|
|
7518
|
+
}, null, 8, ["value", "onUpdate:value", "disabled"]))
|
|
7510
7519
|
]),
|
|
7511
7520
|
_: 2
|
|
7512
7521
|
}, 1032, ["rules", "name"])
|
|
@@ -7514,7 +7523,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
7514
7523
|
_: 2
|
|
7515
7524
|
}, 1032, ["model"])) : (openBlock(), createElementBlock("div", _hoisted_2$8, [
|
|
7516
7525
|
createElementVNode("span", _hoisted_3$5, toDisplayString(index2 + 1), 1),
|
|
7517
|
-
|
|
7526
|
+
props2.isShowAction ? (openBlock(), createElementBlock("div", {
|
|
7527
|
+
key: 0,
|
|
7518
7528
|
class: "delete-item",
|
|
7519
7529
|
onClick: ($event) => rowClickEvent(index2)
|
|
7520
7530
|
}, [
|
|
@@ -7522,7 +7532,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
7522
7532
|
icon: "ant-design:delete-filled",
|
|
7523
7533
|
color: "#fff"
|
|
7524
7534
|
})
|
|
7525
|
-
], 8, _hoisted_4$4)
|
|
7535
|
+
], 8, _hoisted_4$4)) : (openBlock(), createElementBlock("span", _hoisted_5$3, toDisplayString(index2 + 1), 1))
|
|
7526
7536
|
]))
|
|
7527
7537
|
]),
|
|
7528
7538
|
_: 1
|
|
@@ -7530,8 +7540,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
7530
7540
|
};
|
|
7531
7541
|
}
|
|
7532
7542
|
});
|
|
7533
|
-
const
|
|
7534
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
7543
|
+
const Table_vue_vue_type_style_index_0_scoped_d4551041_lang = "";
|
|
7544
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-d4551041"]]);
|
|
7535
7545
|
const componentMap$2 = /* @__PURE__ */ new Map();
|
|
7536
7546
|
componentMap$2.set("Input", Input);
|
|
7537
7547
|
componentMap$2.set("InputGroup", Input.Group);
|
package/es/style.css
CHANGED
|
@@ -24831,7 +24831,7 @@ span.iconify {
|
|
|
24831
24831
|
}
|
|
24832
24832
|
.shy-countdown-input .ant-input-group-addon button {
|
|
24833
24833
|
font-size: 14px;
|
|
24834
|
-
}.table-plus[data-v-
|
|
24834
|
+
}.table-plus[data-v-d4551041] {
|
|
24835
24835
|
width: 30px;
|
|
24836
24836
|
height: 30px;
|
|
24837
24837
|
font-size: 24px;
|
|
@@ -24842,21 +24842,21 @@ span.iconify {
|
|
|
24842
24842
|
line-height: 30px;
|
|
24843
24843
|
cursor: pointer;
|
|
24844
24844
|
}
|
|
24845
|
-
.table-children[data-v-
|
|
24845
|
+
.table-children[data-v-d4551041] .ant-form-item {
|
|
24846
24846
|
margin-bottom: 0 !important;
|
|
24847
24847
|
}
|
|
24848
|
-
.delete-wrapper[data-v-
|
|
24848
|
+
.delete-wrapper[data-v-d4551041] {
|
|
24849
24849
|
height: 100%;
|
|
24850
24850
|
}
|
|
24851
|
-
.delete-wrapper:hover .delete-item[data-v-
|
|
24851
|
+
.delete-wrapper:hover .delete-item[data-v-d4551041] {
|
|
24852
24852
|
display: flex;
|
|
24853
24853
|
justify-content: center;
|
|
24854
24854
|
align-items: center;
|
|
24855
24855
|
}
|
|
24856
|
-
.delete-wrapper:hover .delete-index[data-v-
|
|
24856
|
+
.delete-wrapper:hover .delete-index[data-v-d4551041] {
|
|
24857
24857
|
display: none;
|
|
24858
24858
|
}
|
|
24859
|
-
.delete-wrapper .delete-item[data-v-
|
|
24859
|
+
.delete-wrapper .delete-item[data-v-d4551041] {
|
|
24860
24860
|
background-color: red;
|
|
24861
24861
|
border-radius: 50%;
|
|
24862
24862
|
width: 30px;
|
|
@@ -24865,7 +24865,7 @@ span.iconify {
|
|
|
24865
24865
|
display: none;
|
|
24866
24866
|
cursor: pointer;
|
|
24867
24867
|
}
|
|
24868
|
-
.delete-wrapper .delete-index[data-v-
|
|
24868
|
+
.delete-wrapper .delete-index[data-v-d4551041] {
|
|
24869
24869
|
display: inline-block;
|
|
24870
24870
|
}@media screen and (max-height: 600px) {
|
|
24871
24871
|
.ant-modal {
|
package/lib/index.js
CHANGED
|
@@ -7063,7 +7063,7 @@ const _hoisted_1$r = { class: "flex justify-between" };
|
|
|
7063
7063
|
const _hoisted_2$9 = { key: 0 };
|
|
7064
7064
|
const _hoisted_3$6 = { class: "flex flex-wrap px-2" };
|
|
7065
7065
|
const _hoisted_4$5 = ["onClick", "title"];
|
|
7066
|
-
const _hoisted_5$
|
|
7066
|
+
const _hoisted_5$4 = {
|
|
7067
7067
|
key: 0,
|
|
7068
7068
|
class: "flex py-2 items-center justify-center"
|
|
7069
7069
|
};
|
|
@@ -7200,7 +7200,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7200
7200
|
]),
|
|
7201
7201
|
_: 1
|
|
7202
7202
|
}),
|
|
7203
|
-
vue.unref(getTotal) >= __props.pageSize ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
7203
|
+
vue.unref(getTotal) >= __props.pageSize ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [
|
|
7204
7204
|
vue.createVNode(vue.unref(APagination), {
|
|
7205
7205
|
showLessItems: "",
|
|
7206
7206
|
size: "small",
|
|
@@ -7383,6 +7383,10 @@ const _hoisted_2$8 = {
|
|
|
7383
7383
|
};
|
|
7384
7384
|
const _hoisted_3$5 = { class: "delete-index" };
|
|
7385
7385
|
const _hoisted_4$4 = ["onClick"];
|
|
7386
|
+
const _hoisted_5$3 = {
|
|
7387
|
+
key: 1,
|
|
7388
|
+
class: "delete-index"
|
|
7389
|
+
};
|
|
7386
7390
|
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
7387
7391
|
__name: "Table",
|
|
7388
7392
|
props: {
|
|
@@ -7393,6 +7397,10 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
7393
7397
|
value: {
|
|
7394
7398
|
type: Array,
|
|
7395
7399
|
default: () => []
|
|
7400
|
+
},
|
|
7401
|
+
isShowAction: {
|
|
7402
|
+
type: Boolean,
|
|
7403
|
+
default: () => true
|
|
7396
7404
|
}
|
|
7397
7405
|
},
|
|
7398
7406
|
emits: ["update:value", "change"],
|
|
@@ -7507,8 +7515,9 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
7507
7515
|
}, null, 8, ["value", "onUpdate:value", "min", "max", "precision"])) : (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Input), {
|
|
7508
7516
|
key: 3,
|
|
7509
7517
|
value: record[column.dataIndex],
|
|
7510
|
-
"onUpdate:value": ($event) => record[column.dataIndex] = $event
|
|
7511
|
-
|
|
7518
|
+
"onUpdate:value": ($event) => record[column.dataIndex] = $event,
|
|
7519
|
+
disabled: !props2.isShowAction
|
|
7520
|
+
}, null, 8, ["value", "onUpdate:value", "disabled"]))
|
|
7512
7521
|
]),
|
|
7513
7522
|
_: 2
|
|
7514
7523
|
}, 1032, ["rules", "name"])
|
|
@@ -7516,7 +7525,8 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
7516
7525
|
_: 2
|
|
7517
7526
|
}, 1032, ["model"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, [
|
|
7518
7527
|
vue.createElementVNode("span", _hoisted_3$5, vue.toDisplayString(index2 + 1), 1),
|
|
7519
|
-
vue.
|
|
7528
|
+
props2.isShowAction ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
7529
|
+
key: 0,
|
|
7520
7530
|
class: "delete-item",
|
|
7521
7531
|
onClick: ($event) => rowClickEvent(index2)
|
|
7522
7532
|
}, [
|
|
@@ -7524,7 +7534,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
7524
7534
|
icon: "ant-design:delete-filled",
|
|
7525
7535
|
color: "#fff"
|
|
7526
7536
|
})
|
|
7527
|
-
], 8, _hoisted_4$4)
|
|
7537
|
+
], 8, _hoisted_4$4)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$3, vue.toDisplayString(index2 + 1), 1))
|
|
7528
7538
|
]))
|
|
7529
7539
|
]),
|
|
7530
7540
|
_: 1
|
|
@@ -7532,8 +7542,8 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
7532
7542
|
};
|
|
7533
7543
|
}
|
|
7534
7544
|
});
|
|
7535
|
-
const
|
|
7536
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
7545
|
+
const Table_vue_vue_type_style_index_0_scoped_d4551041_lang = "";
|
|
7546
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-d4551041"]]);
|
|
7537
7547
|
const componentMap$2 = /* @__PURE__ */ new Map();
|
|
7538
7548
|
componentMap$2.set("Input", antDesignVue.Input);
|
|
7539
7549
|
componentMap$2.set("InputGroup", antDesignVue.Input.Group);
|