3h1-ui 3.0.0-next.77 → 3.0.0-next.78
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 +19 -13
- package/es/style.css +84 -391
- package/lib/index.js +21 -15
- package/lib/style.css +8889 -0
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -10277,6 +10277,9 @@ const BasicButton = /* @__PURE__ */ vue.defineComponent({
|
|
|
10277
10277
|
attrs,
|
|
10278
10278
|
slots
|
|
10279
10279
|
}) {
|
|
10280
|
+
const {
|
|
10281
|
+
getVarColor
|
|
10282
|
+
} = use.useTheme();
|
|
10280
10283
|
const getBindValue = vue.computed(() => {
|
|
10281
10284
|
return {
|
|
10282
10285
|
...attrs,
|
|
@@ -10295,19 +10298,19 @@ const BasicButton = /* @__PURE__ */ vue.defineComponent({
|
|
|
10295
10298
|
let colorPrimary;
|
|
10296
10299
|
switch (props2.type || props2.color) {
|
|
10297
10300
|
case "danger":
|
|
10298
|
-
colorPrimary =
|
|
10301
|
+
colorPrimary = getVarColor("--red-5");
|
|
10299
10302
|
break;
|
|
10300
10303
|
case "waring":
|
|
10301
|
-
colorPrimary =
|
|
10304
|
+
colorPrimary = getVarColor("--yellow-5");
|
|
10302
10305
|
break;
|
|
10303
10306
|
case "success":
|
|
10304
|
-
colorPrimary =
|
|
10307
|
+
colorPrimary = getVarColor("--green-5");
|
|
10305
10308
|
break;
|
|
10306
10309
|
case "message":
|
|
10307
|
-
colorPrimary =
|
|
10310
|
+
colorPrimary = getVarColor("--blue-5");
|
|
10308
10311
|
break;
|
|
10309
10312
|
default:
|
|
10310
|
-
colorPrimary =
|
|
10313
|
+
colorPrimary = getVarColor("--primary-5");
|
|
10311
10314
|
break;
|
|
10312
10315
|
}
|
|
10313
10316
|
return colorPrimary;
|
|
@@ -10611,8 +10614,8 @@ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
|
10611
10614
|
};
|
|
10612
10615
|
}
|
|
10613
10616
|
});
|
|
10614
|
-
const
|
|
10615
|
-
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-
|
|
10617
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_383d2177_lang = "";
|
|
10618
|
+
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-383d2177"]]);
|
|
10616
10619
|
const _sfc_main$1h = vue.defineComponent({
|
|
10617
10620
|
name: "BasicModalHeader",
|
|
10618
10621
|
components: { BasicTitle },
|
|
@@ -12239,7 +12242,7 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12239
12242
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
12240
12243
|
vue.createVNode(vue.unref(antDesignVue.Space), null, {
|
|
12241
12244
|
default: vue.withCtx(() => [
|
|
12242
|
-
vue.createVNode(vue.unref(
|
|
12245
|
+
vue.createVNode(vue.unref(BasicButton), {
|
|
12243
12246
|
type: "primary",
|
|
12244
12247
|
onClick: vue.unref(openUploadModal),
|
|
12245
12248
|
preIcon: "carbon:cloud-upload"
|
|
@@ -16354,7 +16357,7 @@ const ShyFormTable = /* @__PURE__ */ vue.defineComponent({
|
|
|
16354
16357
|
title: "操作",
|
|
16355
16358
|
dataIndex: "_action",
|
|
16356
16359
|
width: 80,
|
|
16357
|
-
align: "
|
|
16360
|
+
align: "left"
|
|
16358
16361
|
};
|
|
16359
16362
|
return [indexColumn, ...props2.columns.map((item) => ({
|
|
16360
16363
|
...item,
|
|
@@ -16421,7 +16424,7 @@ const ShyFormTable = /* @__PURE__ */ vue.defineComponent({
|
|
|
16421
16424
|
},
|
|
16422
16425
|
"data-source": dataSource.value,
|
|
16423
16426
|
"pagination": false,
|
|
16424
|
-
"bordered":
|
|
16427
|
+
"bordered": false,
|
|
16425
16428
|
"size": "small",
|
|
16426
16429
|
"class": `${prefixCls2}-body`,
|
|
16427
16430
|
"align": "center",
|
|
@@ -21918,6 +21921,9 @@ const FormItem = /* @__PURE__ */ vue.defineComponent({
|
|
|
21918
21921
|
label: (schema2 == null ? void 0 : schema2.label) || ""
|
|
21919
21922
|
});
|
|
21920
21923
|
}
|
|
21924
|
+
if (schema2.component.includes("Picker") || schema2.component.includes("Select")) {
|
|
21925
|
+
componentProps.getPopupContainer = () => document.body;
|
|
21926
|
+
}
|
|
21921
21927
|
if (["RangePicker", "DatePicker"].includes(schema2.component)) {
|
|
21922
21928
|
componentProps.monthCellRender = ({
|
|
21923
21929
|
current
|
|
@@ -23251,8 +23257,8 @@ const ShyForm = /* @__PURE__ */ vue.defineComponent({
|
|
|
23251
23257
|
"class": `${prefixCls2}-show`,
|
|
23252
23258
|
"onClick": handleChangeState
|
|
23253
23259
|
}, [vue.createVNode(LeftOutlined$1, {
|
|
23254
|
-
"rotate": isShowFormInside.value ?
|
|
23255
|
-
}, null), isShowFormInside.value ? "
|
|
23260
|
+
"rotate": isShowFormInside.value ? 0 : 270
|
|
23261
|
+
}, null), isShowFormInside.value ? "收起" : "展开"]) : null
|
|
23256
23262
|
})]
|
|
23257
23263
|
}) : null;
|
|
23258
23264
|
};
|
|
@@ -23692,7 +23698,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
23692
23698
|
},
|
|
23693
23699
|
"data-source": vue.unref(state),
|
|
23694
23700
|
pagination: false,
|
|
23695
|
-
bordered:
|
|
23701
|
+
bordered: false,
|
|
23696
23702
|
size: "small",
|
|
23697
23703
|
class: "table-children",
|
|
23698
23704
|
align: "center"
|
|
@@ -23795,8 +23801,8 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
23795
23801
|
};
|
|
23796
23802
|
}
|
|
23797
23803
|
});
|
|
23798
|
-
const
|
|
23799
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-
|
|
23804
|
+
const Table_vue_vue_type_style_index_0_scoped_d23ebe75_lang = "";
|
|
23805
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-d23ebe75"]]);
|
|
23800
23806
|
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
23801
23807
|
__name: "DeptTree",
|
|
23802
23808
|
props: {
|