3h1-ui 1.0.133 → 1.0.134
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 +7 -15
- package/es/style.css +7 -7
- package/lib/index.js +7 -15
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -5303,13 +5303,6 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5303
5303
|
setup(__props, { expose, emit }) {
|
|
5304
5304
|
const props2 = __props;
|
|
5305
5305
|
const listFormRefs = ref([]);
|
|
5306
|
-
onMounted(() => {
|
|
5307
|
-
listFormRefs.value.forEach((ref2) => {
|
|
5308
|
-
console.log(ref2);
|
|
5309
|
-
const res = ref2.getFieldsValue();
|
|
5310
|
-
console.log(res);
|
|
5311
|
-
});
|
|
5312
|
-
});
|
|
5313
5306
|
const emitData = ref([]);
|
|
5314
5307
|
const [state] = useRuleFormItem(props2, "value", "change", emitData);
|
|
5315
5308
|
const getColumns = computed(() => {
|
|
@@ -5351,12 +5344,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5351
5344
|
);
|
|
5352
5345
|
const validate = async () => {
|
|
5353
5346
|
try {
|
|
5354
|
-
listFormRefs.value
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
});
|
|
5347
|
+
for (let formRef of listFormRefs.value) {
|
|
5348
|
+
await formRef.validate();
|
|
5349
|
+
}
|
|
5358
5350
|
} catch {
|
|
5359
|
-
|
|
5351
|
+
throw new Error("\u6821\u9A8C\u5931\u8D25");
|
|
5360
5352
|
}
|
|
5361
5353
|
};
|
|
5362
5354
|
expose({ validate });
|
|
@@ -5445,8 +5437,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5445
5437
|
};
|
|
5446
5438
|
}
|
|
5447
5439
|
});
|
|
5448
|
-
const
|
|
5449
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-
|
|
5440
|
+
const Table_vue_vue_type_style_index_0_scoped_7465b460_lang = "";
|
|
5441
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-7465b460"]]);
|
|
5450
5442
|
const componentMap$1 = /* @__PURE__ */ new Map();
|
|
5451
5443
|
componentMap$1.set("Input", Input);
|
|
5452
5444
|
componentMap$1.set("InputGroup", Input.Group);
|
|
@@ -12777,7 +12769,7 @@ const _sfc_main$h = defineComponent({
|
|
|
12777
12769
|
if (index2 !== unref(getViewColumns).length - 1) {
|
|
12778
12770
|
item.resizable = true;
|
|
12779
12771
|
}
|
|
12780
|
-
if (!Object.prototype.hasOwnProperty.call(item, "width")) {
|
|
12772
|
+
if (!Object.prototype.hasOwnProperty.call(item, "width") && item.dataIndex !== "index" && item.dataIndex !== "action") {
|
|
12781
12773
|
item.width = 80;
|
|
12782
12774
|
}
|
|
12783
12775
|
return item;
|
package/es/style.css
CHANGED
|
@@ -706,7 +706,7 @@ span.iconify {
|
|
|
706
706
|
}
|
|
707
707
|
.shy-countdown-input .ant-input-group-addon button {
|
|
708
708
|
font-size: 14px;
|
|
709
|
-
}.table-plus[data-v-
|
|
709
|
+
}.table-plus[data-v-7465b460] {
|
|
710
710
|
width: 30px;
|
|
711
711
|
height: 30px;
|
|
712
712
|
font-size: 24px;
|
|
@@ -717,21 +717,21 @@ span.iconify {
|
|
|
717
717
|
line-height: 30px;
|
|
718
718
|
cursor: pointer;
|
|
719
719
|
}
|
|
720
|
-
.table-children[data-v-
|
|
720
|
+
.table-children[data-v-7465b460] .ant-form-item {
|
|
721
721
|
margin-bottom: 0 !important;
|
|
722
722
|
}
|
|
723
|
-
.delete-wrapper[data-v-
|
|
723
|
+
.delete-wrapper[data-v-7465b460] {
|
|
724
724
|
height: 100%;
|
|
725
725
|
}
|
|
726
|
-
.delete-wrapper:hover .delete-item[data-v-
|
|
726
|
+
.delete-wrapper:hover .delete-item[data-v-7465b460] {
|
|
727
727
|
display: flex;
|
|
728
728
|
justify-content: center;
|
|
729
729
|
align-items: center;
|
|
730
730
|
}
|
|
731
|
-
.delete-wrapper:hover .delete-index[data-v-
|
|
731
|
+
.delete-wrapper:hover .delete-index[data-v-7465b460] {
|
|
732
732
|
display: none;
|
|
733
733
|
}
|
|
734
|
-
.delete-wrapper .delete-item[data-v-
|
|
734
|
+
.delete-wrapper .delete-item[data-v-7465b460] {
|
|
735
735
|
background-color: red;
|
|
736
736
|
border-radius: 50%;
|
|
737
737
|
width: 30px;
|
|
@@ -740,7 +740,7 @@ span.iconify {
|
|
|
740
740
|
display: none;
|
|
741
741
|
cursor: pointer;
|
|
742
742
|
}
|
|
743
|
-
.delete-wrapper .delete-index[data-v-
|
|
743
|
+
.delete-wrapper .delete-index[data-v-7465b460] {
|
|
744
744
|
display: inline-block;
|
|
745
745
|
}@media screen and (max-height: 600px) {
|
|
746
746
|
.ant-modal {
|
package/lib/index.js
CHANGED
|
@@ -5308,13 +5308,6 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
5308
5308
|
setup(__props, { expose, emit }) {
|
|
5309
5309
|
const props2 = __props;
|
|
5310
5310
|
const listFormRefs = vue.ref([]);
|
|
5311
|
-
vue.onMounted(() => {
|
|
5312
|
-
listFormRefs.value.forEach((ref2) => {
|
|
5313
|
-
console.log(ref2);
|
|
5314
|
-
const res = ref2.getFieldsValue();
|
|
5315
|
-
console.log(res);
|
|
5316
|
-
});
|
|
5317
|
-
});
|
|
5318
5311
|
const emitData = vue.ref([]);
|
|
5319
5312
|
const [state] = use.useRuleFormItem(props2, "value", "change", emitData);
|
|
5320
5313
|
const getColumns = vue.computed(() => {
|
|
@@ -5356,12 +5349,11 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
5356
5349
|
);
|
|
5357
5350
|
const validate = async () => {
|
|
5358
5351
|
try {
|
|
5359
|
-
listFormRefs.value
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
});
|
|
5352
|
+
for (let formRef of listFormRefs.value) {
|
|
5353
|
+
await formRef.validate();
|
|
5354
|
+
}
|
|
5363
5355
|
} catch {
|
|
5364
|
-
|
|
5356
|
+
throw new Error("\u6821\u9A8C\u5931\u8D25");
|
|
5365
5357
|
}
|
|
5366
5358
|
};
|
|
5367
5359
|
expose({ validate });
|
|
@@ -5450,8 +5442,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
5450
5442
|
};
|
|
5451
5443
|
}
|
|
5452
5444
|
});
|
|
5453
|
-
const
|
|
5454
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-
|
|
5445
|
+
const Table_vue_vue_type_style_index_0_scoped_7465b460_lang = "";
|
|
5446
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-7465b460"]]);
|
|
5455
5447
|
const componentMap$1 = /* @__PURE__ */ new Map();
|
|
5456
5448
|
componentMap$1.set("Input", antDesignVue.Input);
|
|
5457
5449
|
componentMap$1.set("InputGroup", antDesignVue.Input.Group);
|
|
@@ -12782,7 +12774,7 @@ const _sfc_main$h = vue.defineComponent({
|
|
|
12782
12774
|
if (index2 !== vue.unref(getViewColumns).length - 1) {
|
|
12783
12775
|
item.resizable = true;
|
|
12784
12776
|
}
|
|
12785
|
-
if (!Object.prototype.hasOwnProperty.call(item, "width")) {
|
|
12777
|
+
if (!Object.prototype.hasOwnProperty.call(item, "width") && item.dataIndex !== "index" && item.dataIndex !== "action") {
|
|
12786
12778
|
item.width = 80;
|
|
12787
12779
|
}
|
|
12788
12780
|
return item;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.134",
|
|
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/utils": "1.0.14",
|
|
35
|
+
"@shy-plugins/use": "1.0.3"
|
|
36
36
|
},
|
|
37
37
|
"types": "lib/ui/index.d.ts",
|
|
38
38
|
"devDependencies": {
|