gi-component 0.0.52 → 0.0.54
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/dist/components/comment/index.d.ts +5 -0
- package/dist/components/comment/index.d.ts.map +1 -0
- package/dist/components/comment/src/comment.d.ts +37 -0
- package/dist/components/comment/src/comment.d.ts.map +1 -0
- package/dist/components/comment/src/type.d.ts +7 -0
- package/dist/components/comment/src/type.d.ts.map +1 -0
- package/dist/components/dialog/src/dialog.d.ts +1 -0
- package/dist/components/dialog/src/dialog.d.ts.map +1 -1
- package/dist/components/dialog/src/type.d.ts +1 -0
- package/dist/components/dialog/src/type.d.ts.map +1 -1
- package/dist/components/drawer/src/drawer.d.ts.map +1 -1
- package/dist/components/form/index.d.ts +2 -2
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/gi.css +1 -1
- package/dist/global.d.ts +1 -0
- package/dist/index.d.ts +13 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +241 -28
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, getCurrentInstance, ref, onMounted, watch, toValue, toRef, nextTick, onUnmounted, useAttrs, computed, createBlock, unref, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString, useSlots, normalizeClass, createCommentVNode, normalizeStyle, createVNode, createSlots, Fragment, renderList, mergeModels, useModel, resolveDynamicComponent, resolveComponent, h, createApp, onUpdated, inject, toRefs, watchEffect, reactive, provide, onBeforeUnmount, resolveDirective, normalizeProps, guardReactiveProps, withDirectives, useTemplateRef } from "vue";
|
|
2
2
|
import * as El from "element-plus";
|
|
3
|
-
import El__default, { ElButton, ElSpace, ElDescriptions, ElDescriptionsItem, ElDialog, ElDrawer, ElInput, ElForm, ElTable, ElTableColumn, ElFormItem, ElText, ElMessage,
|
|
3
|
+
import El__default, { ElButton, ElSpace, ElAvatar, ElDescriptions, ElDescriptionsItem, ElDialog, ElIcon, ElDrawer, ElInput, ElForm, ElTable, ElTableColumn, ElFormItem, ElText, ElMessage, ElSplitter, ElSplitterPanel, ElRow, ElPagination, ElTabs, ElTabPane, ElCheckbox, ElScrollbar, ElTree, ElCheckboxGroup, ElEmpty } from "element-plus";
|
|
4
4
|
/*! Element Plus Icons Vue v2.3.2 */
|
|
5
5
|
var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
6
6
|
name: "ArrowDown",
|
|
@@ -171,6 +171,21 @@ var _sfc_main94 = /* @__PURE__ */ defineComponent({
|
|
|
171
171
|
]));
|
|
172
172
|
}
|
|
173
173
|
}), edit_default = _sfc_main94;
|
|
174
|
+
var _sfc_main118 = /* @__PURE__ */ defineComponent({
|
|
175
|
+
name: "FullScreen",
|
|
176
|
+
__name: "full-screen",
|
|
177
|
+
setup(__props) {
|
|
178
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
179
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
180
|
+
viewBox: "0 0 1024 1024"
|
|
181
|
+
}, [
|
|
182
|
+
createElementVNode("path", {
|
|
183
|
+
fill: "currentColor",
|
|
184
|
+
d: "m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"
|
|
185
|
+
})
|
|
186
|
+
]));
|
|
187
|
+
}
|
|
188
|
+
}), full_screen_default = _sfc_main118;
|
|
174
189
|
var _sfc_main143 = /* @__PURE__ */ defineComponent({
|
|
175
190
|
name: "InfoFilled",
|
|
176
191
|
__name: "info-filled",
|
|
@@ -645,7 +660,7 @@ function useNavTabs(options) {
|
|
|
645
660
|
canScrollRight
|
|
646
661
|
};
|
|
647
662
|
}
|
|
648
|
-
const _sfc_main$
|
|
663
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
649
664
|
__name: "button",
|
|
650
665
|
props: {
|
|
651
666
|
type: { default: "" },
|
|
@@ -711,7 +726,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
711
726
|
};
|
|
712
727
|
}
|
|
713
728
|
});
|
|
714
|
-
const _sfc_main$
|
|
729
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
715
730
|
__name: "card",
|
|
716
731
|
props: {
|
|
717
732
|
title: { default: "" },
|
|
@@ -796,7 +811,91 @@ const _export_sfc = (sfc, props) => {
|
|
|
796
811
|
}
|
|
797
812
|
return target;
|
|
798
813
|
};
|
|
799
|
-
const Card = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
814
|
+
const Card = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-4f2bae7b"]]);
|
|
815
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
816
|
+
__name: "comment",
|
|
817
|
+
props: {
|
|
818
|
+
author: { default: "" },
|
|
819
|
+
avatar: { default: "" },
|
|
820
|
+
content: { default: "" },
|
|
821
|
+
datetime: { default: "" }
|
|
822
|
+
},
|
|
823
|
+
setup(__props) {
|
|
824
|
+
const props = __props;
|
|
825
|
+
const slots = useSlots();
|
|
826
|
+
const { b } = useBemClass();
|
|
827
|
+
const hasAuthor = computed(() => !!slots.author || !!props.author);
|
|
828
|
+
const hasDatetime = computed(() => !!slots.datetime || !!props.datetime);
|
|
829
|
+
const hasContent = computed(() => !!slots.content || !!props.content);
|
|
830
|
+
return (_ctx, _cache) => {
|
|
831
|
+
return openBlock(), createElementBlock("div", {
|
|
832
|
+
class: normalizeClass(unref(b)("comment"))
|
|
833
|
+
}, [
|
|
834
|
+
createElementVNode("div", {
|
|
835
|
+
class: normalizeClass(unref(b)("comment__inner"))
|
|
836
|
+
}, [
|
|
837
|
+
createElementVNode("div", {
|
|
838
|
+
class: normalizeClass(unref(b)("comment__avatar"))
|
|
839
|
+
}, [
|
|
840
|
+
renderSlot(_ctx.$slots, "avatar", {}, () => [
|
|
841
|
+
props.avatar ? (openBlock(), createBlock(unref(ElAvatar), {
|
|
842
|
+
key: 0,
|
|
843
|
+
size: 40,
|
|
844
|
+
src: props.avatar
|
|
845
|
+
}, null, 8, ["src"])) : createCommentVNode("", true)
|
|
846
|
+
], true)
|
|
847
|
+
], 2),
|
|
848
|
+
createElementVNode("div", {
|
|
849
|
+
class: normalizeClass(unref(b)("comment__content"))
|
|
850
|
+
}, [
|
|
851
|
+
hasAuthor.value || hasDatetime.value ? (openBlock(), createElementBlock("div", {
|
|
852
|
+
key: 0,
|
|
853
|
+
class: normalizeClass(unref(b)("comment__content-author"))
|
|
854
|
+
}, [
|
|
855
|
+
hasAuthor.value ? (openBlock(), createElementBlock("span", {
|
|
856
|
+
key: 0,
|
|
857
|
+
class: normalizeClass(unref(b)("comment__author"))
|
|
858
|
+
}, [
|
|
859
|
+
renderSlot(_ctx.$slots, "author", {}, () => [
|
|
860
|
+
createTextVNode(toDisplayString(props.author), 1)
|
|
861
|
+
], true)
|
|
862
|
+
], 2)) : createCommentVNode("", true),
|
|
863
|
+
hasDatetime.value ? (openBlock(), createElementBlock("span", {
|
|
864
|
+
key: 1,
|
|
865
|
+
class: normalizeClass(unref(b)("comment__datetime"))
|
|
866
|
+
}, [
|
|
867
|
+
renderSlot(_ctx.$slots, "datetime", {}, () => [
|
|
868
|
+
createTextVNode(toDisplayString(props.datetime), 1)
|
|
869
|
+
], true)
|
|
870
|
+
], 2)) : createCommentVNode("", true)
|
|
871
|
+
], 2)) : createCommentVNode("", true),
|
|
872
|
+
hasContent.value ? (openBlock(), createElementBlock("div", {
|
|
873
|
+
key: 1,
|
|
874
|
+
class: normalizeClass(unref(b)("comment__content-detail"))
|
|
875
|
+
}, [
|
|
876
|
+
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
877
|
+
createTextVNode(toDisplayString(props.content), 1)
|
|
878
|
+
], true)
|
|
879
|
+
], 2)) : createCommentVNode("", true),
|
|
880
|
+
unref(slots).actions ? (openBlock(), createElementBlock("div", {
|
|
881
|
+
key: 2,
|
|
882
|
+
class: normalizeClass(unref(b)("comment__actions"))
|
|
883
|
+
}, [
|
|
884
|
+
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
885
|
+
], 2)) : createCommentVNode("", true)
|
|
886
|
+
], 2)
|
|
887
|
+
], 2),
|
|
888
|
+
unref(slots).default ? (openBlock(), createElementBlock("div", {
|
|
889
|
+
key: 0,
|
|
890
|
+
class: normalizeClass(unref(b)("comment__nested"))
|
|
891
|
+
}, [
|
|
892
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
893
|
+
], 2)) : createCommentVNode("", true)
|
|
894
|
+
], 2);
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
});
|
|
898
|
+
const Comment = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-1c0cf275"]]);
|
|
800
899
|
const _hoisted_1$6 = { key: 2 };
|
|
801
900
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
802
901
|
__name: "descriptions",
|
|
@@ -910,7 +1009,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
910
1009
|
};
|
|
911
1010
|
}
|
|
912
1011
|
});
|
|
913
|
-
const _hoisted_1$5 =
|
|
1012
|
+
const _hoisted_1$5 = ["id"];
|
|
1013
|
+
const _hoisted_2$2 = { key: 0 };
|
|
914
1014
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
915
1015
|
__name: "dialog",
|
|
916
1016
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -922,6 +1022,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
922
1022
|
cancelButtonProps: {},
|
|
923
1023
|
style: {},
|
|
924
1024
|
simple: { type: Boolean },
|
|
1025
|
+
showFullscreen: { type: Boolean, default: false },
|
|
925
1026
|
onOk: {},
|
|
926
1027
|
onBeforeOk: {},
|
|
927
1028
|
onCancel: {},
|
|
@@ -968,6 +1069,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
968
1069
|
const visible = useModel(__props, "modelValue");
|
|
969
1070
|
const props = __props;
|
|
970
1071
|
const { b } = useBemClass();
|
|
1072
|
+
const isFullscreen = ref(false);
|
|
1073
|
+
watch(
|
|
1074
|
+
() => props.fullscreen,
|
|
1075
|
+
(val) => {
|
|
1076
|
+
isFullscreen.value = !!val;
|
|
1077
|
+
},
|
|
1078
|
+
{ immediate: true }
|
|
1079
|
+
);
|
|
971
1080
|
const getClass = computed(() => {
|
|
972
1081
|
const arr = [b("dialog")];
|
|
973
1082
|
if (props.simple) {
|
|
@@ -987,10 +1096,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
987
1096
|
onOk: void 0,
|
|
988
1097
|
onBeforeOk: void 0,
|
|
989
1098
|
onCancel: void 0,
|
|
990
|
-
simple: void 0
|
|
1099
|
+
simple: void 0,
|
|
1100
|
+
showFullscreen: void 0,
|
|
1101
|
+
fullscreen: void 0,
|
|
1102
|
+
title: void 0
|
|
991
1103
|
};
|
|
992
1104
|
});
|
|
993
1105
|
const okLoading = ref(false);
|
|
1106
|
+
const toggleFullscreen = () => {
|
|
1107
|
+
isFullscreen.value = !isFullscreen.value;
|
|
1108
|
+
};
|
|
994
1109
|
const handleCancel = () => {
|
|
995
1110
|
var _a;
|
|
996
1111
|
(_a = props.onCancel) == null ? void 0 : _a.call(props);
|
|
@@ -1020,17 +1135,69 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1020
1135
|
modelValue: visible.value,
|
|
1021
1136
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
1022
1137
|
class: getClass.value,
|
|
1023
|
-
|
|
1024
|
-
|
|
1138
|
+
fullscreen: isFullscreen.value,
|
|
1139
|
+
"show-close": false,
|
|
1140
|
+
style: { maxWidth: !isFullscreen.value ? "480px" : "100%", ...props.style }
|
|
1025
1141
|
}), createSlots({
|
|
1142
|
+
header: withCtx(({ close, titleId, titleClass }) => [
|
|
1143
|
+
createElementVNode("div", {
|
|
1144
|
+
class: normalizeClass(unref(b)("dialog-header"))
|
|
1145
|
+
}, [
|
|
1146
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1147
|
+
createElementVNode("div", {
|
|
1148
|
+
id: titleId,
|
|
1149
|
+
class: normalizeClass(["el-dialog__title", [titleClass, unref(b)("dialog-title")]])
|
|
1150
|
+
}, toDisplayString(props.title), 11, _hoisted_1$5)
|
|
1151
|
+
], true),
|
|
1152
|
+
createVNode(unref(ElSpace), { size: 8 }, {
|
|
1153
|
+
default: withCtx(() => [
|
|
1154
|
+
props.showFullscreen ? (openBlock(), createBlock(unref(ElButton), {
|
|
1155
|
+
key: 0,
|
|
1156
|
+
class: normalizeClass(unref(b)("dialog-button")),
|
|
1157
|
+
text: "",
|
|
1158
|
+
circle: "",
|
|
1159
|
+
onClick: toggleFullscreen
|
|
1160
|
+
}, {
|
|
1161
|
+
default: withCtx(() => [
|
|
1162
|
+
createVNode(unref(ElIcon), { size: 16 }, {
|
|
1163
|
+
default: withCtx(() => [
|
|
1164
|
+
createVNode(unref(full_screen_default))
|
|
1165
|
+
]),
|
|
1166
|
+
_: 1
|
|
1167
|
+
})
|
|
1168
|
+
]),
|
|
1169
|
+
_: 1
|
|
1170
|
+
}, 8, ["class"])) : createCommentVNode("", true),
|
|
1171
|
+
props.showClose ? (openBlock(), createBlock(unref(ElButton), {
|
|
1172
|
+
key: 1,
|
|
1173
|
+
class: normalizeClass(unref(b)("dialog-button")),
|
|
1174
|
+
text: "",
|
|
1175
|
+
circle: "",
|
|
1176
|
+
onClick: close
|
|
1177
|
+
}, {
|
|
1178
|
+
default: withCtx(() => [
|
|
1179
|
+
createVNode(unref(ElIcon), { size: 16 }, {
|
|
1180
|
+
default: withCtx(() => [
|
|
1181
|
+
createVNode(unref(close_default))
|
|
1182
|
+
]),
|
|
1183
|
+
_: 1
|
|
1184
|
+
})
|
|
1185
|
+
]),
|
|
1186
|
+
_: 1
|
|
1187
|
+
}, 8, ["class", "onClick"])) : createCommentVNode("", true)
|
|
1188
|
+
]),
|
|
1189
|
+
_: 2
|
|
1190
|
+
}, 1024)
|
|
1191
|
+
], 2)
|
|
1192
|
+
]),
|
|
1026
1193
|
default: withCtx(() => [
|
|
1027
1194
|
renderSlot(_ctx.$slots, "default", {}, () => {
|
|
1028
1195
|
var _a;
|
|
1029
1196
|
return [
|
|
1030
|
-
typeof props.content === "string" ? (openBlock(), createElementBlock("p",
|
|
1197
|
+
typeof props.content === "string" ? (openBlock(), createElementBlock("p", _hoisted_2$2, toDisplayString(props.content), 1)) : createCommentVNode("", true),
|
|
1031
1198
|
typeof props.content === "function" ? (openBlock(), createBlock(resolveDynamicComponent((_a = props == null ? void 0 : props.content) == null ? void 0 : _a.call(props)), { key: 1 })) : createCommentVNode("", true)
|
|
1032
1199
|
];
|
|
1033
|
-
})
|
|
1200
|
+
}, true)
|
|
1034
1201
|
]),
|
|
1035
1202
|
_: 2
|
|
1036
1203
|
}, [
|
|
@@ -1061,14 +1228,15 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1061
1228
|
]),
|
|
1062
1229
|
_: 1
|
|
1063
1230
|
})) : (openBlock(), createBlock(resolveDynamicComponent(props.footer()), { key: 1 }))
|
|
1064
|
-
])
|
|
1231
|
+
], true)
|
|
1065
1232
|
]),
|
|
1066
1233
|
key: "0"
|
|
1067
1234
|
} : void 0
|
|
1068
|
-
]), 1040, ["modelValue", "class", "
|
|
1235
|
+
]), 1040, ["modelValue", "class", "fullscreen", "style"]);
|
|
1069
1236
|
};
|
|
1070
1237
|
}
|
|
1071
1238
|
});
|
|
1239
|
+
const DialogComponent = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-166b4c09"]]);
|
|
1072
1240
|
const _hoisted_1$4 = { class: "el-message-box__message" };
|
|
1073
1241
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1074
1242
|
__name: "dialog-content",
|
|
@@ -1122,7 +1290,7 @@ function createDialog() {
|
|
|
1122
1290
|
dialogApp.unmount();
|
|
1123
1291
|
container.remove();
|
|
1124
1292
|
};
|
|
1125
|
-
return () => h(
|
|
1293
|
+
return () => h(DialogComponent, {
|
|
1126
1294
|
...dialogOptions.value,
|
|
1127
1295
|
"modelValue": visible.value,
|
|
1128
1296
|
"onUpdate:modelValue": (val) => visible.value = val,
|
|
@@ -1234,7 +1402,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1234
1402
|
}
|
|
1235
1403
|
});
|
|
1236
1404
|
const Dot = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-575d79dc"]]);
|
|
1237
|
-
const _hoisted_1$3 =
|
|
1405
|
+
const _hoisted_1$3 = ["id"];
|
|
1406
|
+
const _hoisted_2$1 = { key: 0 };
|
|
1238
1407
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
1239
1408
|
__name: "drawer",
|
|
1240
1409
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1312,7 +1481,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1312
1481
|
onOk: void 0,
|
|
1313
1482
|
onBeforeOk: void 0,
|
|
1314
1483
|
onCancel: void 0,
|
|
1315
|
-
|
|
1484
|
+
title: void 0
|
|
1316
1485
|
};
|
|
1317
1486
|
});
|
|
1318
1487
|
const okLoading = ref(false);
|
|
@@ -1345,20 +1514,58 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1345
1514
|
modelValue: visible.value,
|
|
1346
1515
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
1347
1516
|
class: getClass.value,
|
|
1348
|
-
|
|
1517
|
+
"show-close": false,
|
|
1349
1518
|
style: { ...props.style }
|
|
1350
1519
|
}), createSlots({
|
|
1351
1520
|
default: withCtx(() => [
|
|
1352
1521
|
renderSlot(_ctx.$slots, "default", {}, () => {
|
|
1353
1522
|
var _a;
|
|
1354
1523
|
return [
|
|
1355
|
-
typeof props.content === "string" ? (openBlock(), createElementBlock("p",
|
|
1524
|
+
typeof props.content === "string" ? (openBlock(), createElementBlock("p", _hoisted_2$1, toDisplayString(props.content), 1)) : createCommentVNode("", true),
|
|
1356
1525
|
typeof props.content === "function" ? (openBlock(), createBlock(resolveDynamicComponent((_a = props == null ? void 0 : props.content) == null ? void 0 : _a.call(props)), { key: 1 })) : createCommentVNode("", true)
|
|
1357
1526
|
];
|
|
1358
|
-
})
|
|
1527
|
+
}, true)
|
|
1359
1528
|
]),
|
|
1360
1529
|
_: 2
|
|
1361
1530
|
}, [
|
|
1531
|
+
props.withHeader ? {
|
|
1532
|
+
name: "header",
|
|
1533
|
+
fn: withCtx(({ close, titleId, titleClass }) => [
|
|
1534
|
+
createElementVNode("div", {
|
|
1535
|
+
class: normalizeClass(unref(b)("drawer-header"))
|
|
1536
|
+
}, [
|
|
1537
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1538
|
+
createElementVNode("div", {
|
|
1539
|
+
id: titleId,
|
|
1540
|
+
class: normalizeClass(["el-drawer__title", [titleClass, unref(b)("drawer-title")]])
|
|
1541
|
+
}, toDisplayString(props.title), 11, _hoisted_1$3)
|
|
1542
|
+
], true),
|
|
1543
|
+
createVNode(unref(ElSpace), { size: 8 }, {
|
|
1544
|
+
default: withCtx(() => [
|
|
1545
|
+
props.showClose ? (openBlock(), createBlock(unref(ElButton), {
|
|
1546
|
+
key: 0,
|
|
1547
|
+
class: normalizeClass(unref(b)("drawer-button")),
|
|
1548
|
+
text: "",
|
|
1549
|
+
circle: "",
|
|
1550
|
+
onClick: close
|
|
1551
|
+
}, {
|
|
1552
|
+
default: withCtx(() => [
|
|
1553
|
+
createVNode(unref(ElIcon), { size: 16 }, {
|
|
1554
|
+
default: withCtx(() => [
|
|
1555
|
+
createVNode(unref(close_default))
|
|
1556
|
+
]),
|
|
1557
|
+
_: 1
|
|
1558
|
+
})
|
|
1559
|
+
]),
|
|
1560
|
+
_: 1
|
|
1561
|
+
}, 8, ["class", "onClick"])) : createCommentVNode("", true)
|
|
1562
|
+
]),
|
|
1563
|
+
_: 2
|
|
1564
|
+
}, 1024)
|
|
1565
|
+
], 2)
|
|
1566
|
+
]),
|
|
1567
|
+
key: "0"
|
|
1568
|
+
} : void 0,
|
|
1362
1569
|
props.footer ? {
|
|
1363
1570
|
name: "footer",
|
|
1364
1571
|
fn: withCtx(() => [
|
|
@@ -1386,14 +1593,15 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1386
1593
|
]),
|
|
1387
1594
|
_: 1
|
|
1388
1595
|
})) : (openBlock(), createBlock(resolveDynamicComponent(props.footer()), { key: 1 }))
|
|
1389
|
-
])
|
|
1596
|
+
], true)
|
|
1390
1597
|
]),
|
|
1391
|
-
key: "
|
|
1598
|
+
key: "1"
|
|
1392
1599
|
} : void 0
|
|
1393
|
-
]), 1040, ["modelValue", "class", "
|
|
1600
|
+
]), 1040, ["modelValue", "class", "style"]);
|
|
1394
1601
|
};
|
|
1395
1602
|
}
|
|
1396
1603
|
});
|
|
1604
|
+
const Drawer$1 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-a9d2ac8f"]]);
|
|
1397
1605
|
const DEF_OPTIONS = {};
|
|
1398
1606
|
function createDrawer() {
|
|
1399
1607
|
const Drawer2 = {
|
|
@@ -1411,7 +1619,7 @@ function createDrawer() {
|
|
|
1411
1619
|
drawerApp.unmount();
|
|
1412
1620
|
container.remove();
|
|
1413
1621
|
};
|
|
1414
|
-
return () => h(
|
|
1622
|
+
return () => h(Drawer$1, {
|
|
1415
1623
|
...dialogOptions.value,
|
|
1416
1624
|
"modelValue": visible.value,
|
|
1417
1625
|
"onUpdate:modelValue": (val) => visible.value = val,
|
|
@@ -9158,10 +9366,11 @@ const createSelectDialog = (params) => {
|
|
|
9158
9366
|
};
|
|
9159
9367
|
void [Dialog.info, Dialog.success, Dialog.warning, Dialog.error];
|
|
9160
9368
|
const components = {
|
|
9161
|
-
Button: _sfc_main$
|
|
9369
|
+
Button: _sfc_main$m,
|
|
9162
9370
|
Card,
|
|
9371
|
+
Comment,
|
|
9163
9372
|
Descriptions: _sfc_main$j,
|
|
9164
|
-
Drawer:
|
|
9373
|
+
Drawer: Drawer$1,
|
|
9165
9374
|
Dot,
|
|
9166
9375
|
Tabs,
|
|
9167
9376
|
InputGroup,
|
|
@@ -9172,16 +9381,17 @@ const components = {
|
|
|
9172
9381
|
GridItem,
|
|
9173
9382
|
Form: _Form,
|
|
9174
9383
|
PageLayout,
|
|
9175
|
-
Dialog:
|
|
9384
|
+
Dialog: DialogComponent,
|
|
9176
9385
|
EditTable,
|
|
9177
9386
|
Table: _Table,
|
|
9178
9387
|
Tag,
|
|
9179
9388
|
TreeTransfer
|
|
9180
9389
|
};
|
|
9181
|
-
const GiButton = _sfc_main$
|
|
9390
|
+
const GiButton = _sfc_main$m;
|
|
9182
9391
|
const GiCard = Card;
|
|
9392
|
+
const GiComment = Comment;
|
|
9183
9393
|
const GiDescriptions = _sfc_main$j;
|
|
9184
|
-
const GiDrawer =
|
|
9394
|
+
const GiDrawer = Drawer$1;
|
|
9185
9395
|
const GiDot = Dot;
|
|
9186
9396
|
const GiTabs = Tabs;
|
|
9187
9397
|
const GiInputGroup = InputGroup;
|
|
@@ -9192,7 +9402,7 @@ const GiGrid = Grid;
|
|
|
9192
9402
|
const GiGridItem = GridItem;
|
|
9193
9403
|
const GiForm = _Form;
|
|
9194
9404
|
const GiPageLayout = PageLayout;
|
|
9195
|
-
const GiDialog =
|
|
9405
|
+
const GiDialog = DialogComponent;
|
|
9196
9406
|
const GiEditTable = EditTable;
|
|
9197
9407
|
const GiTable = _Table;
|
|
9198
9408
|
const GiTag = Tag;
|
|
@@ -9217,6 +9427,7 @@ export {
|
|
|
9217
9427
|
Drawer,
|
|
9218
9428
|
GiButton,
|
|
9219
9429
|
GiCard,
|
|
9430
|
+
GiComment,
|
|
9220
9431
|
GiDescriptions,
|
|
9221
9432
|
GiDialog,
|
|
9222
9433
|
GiDot,
|
|
@@ -9234,6 +9445,8 @@ export {
|
|
|
9234
9445
|
GiTabs,
|
|
9235
9446
|
GiTag,
|
|
9236
9447
|
GiTreeTransfer,
|
|
9448
|
+
Grid,
|
|
9449
|
+
GridItem,
|
|
9237
9450
|
createDialog,
|
|
9238
9451
|
createDrawer,
|
|
9239
9452
|
createSelectDialog,
|