@koi-design/uxd-ui 14.0.2 → 14.0.4
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/components/Alert/Alert.mjs +10 -24
- package/es/components/Alert/Alert.mjs.map +1 -1
- package/es/components/Alert/Alert.type.d.ts +5 -7
- package/es/components/Alert/Alert.type.mjs +4 -7
- package/es/components/Alert/Alert.type.mjs.map +1 -1
- package/es/components/Alert/Alert.vue.d.ts +5 -15
- package/es/components/Alert/index.d.ts +9 -27
- package/es/components/Alert/index.mjs +1 -1
- package/es/components/Badge/Badge.mjs +3 -5
- package/es/components/Badge/Badge.mjs.map +1 -1
- package/es/components/Calendar/Calendar.vue.d.ts +2 -2
- package/es/components/Calendar/index.d.ts +6 -6
- package/es/components/DatePicker/DatePicker.vue.d.ts +14 -14
- package/es/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +4 -4
- package/es/components/DatePicker/Panel/DateRangePanel.vue.d.ts +6 -6
- package/es/components/DatePicker/Panel/RangePart.vue.d.ts +2 -2
- package/es/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +4 -4
- package/es/components/DatePicker/index.d.ts +28 -28
- package/es/components/Drawer/Drawer.d.ts +9 -0
- package/es/components/Drawer/Drawer.mjs +10 -8
- package/es/components/Drawer/Drawer.mjs.map +1 -1
- package/es/components/Drawer/Drawer.type.d.ts +4 -0
- package/es/components/Drawer/Drawer.type.mjs +4 -0
- package/es/components/Drawer/Drawer.type.mjs.map +1 -1
- package/es/components/Drawer/index.d.ts +15 -0
- package/es/components/Mask/Mask.d.ts +2 -1
- package/es/components/Mask/Mask.mjs +6 -2
- package/es/components/Mask/Mask.mjs.map +1 -1
- package/es/components/Mask/index.d.ts +5 -2
- package/es/components/Menu/MenuItem.vue.d.ts +33 -33
- package/es/components/Menu/index.d.ts +33 -33
- package/es/components/Message/Message.mjs +4 -3
- package/es/components/Message/Message.mjs.map +1 -1
- package/es/components/Message/Message.type.d.ts +1 -0
- package/es/components/Notice/Notice.mjs +15 -13
- package/es/components/Notice/Notice.mjs.map +1 -1
- package/es/components/Notice/Notice.type.d.ts +3 -2
- package/es/components/Notification/Notice.mjs +1 -5
- package/es/components/Notification/Notice.mjs.map +1 -1
- package/es/components/Notification/Notification.mjs.map +1 -1
- package/es/components/Rate/Rate.vue.d.ts +33 -33
- package/es/components/Rate/index.d.ts +66 -66
- package/es/components/Slider/Slider.d.ts +0 -20
- package/es/components/Slider/Slider.mjs +1 -2
- package/es/components/Slider/Slider.mjs.map +1 -1
- package/es/components/Slider/Slider.type.d.ts +0 -9
- package/es/components/Slider/Slider.type.mjs +0 -13
- package/es/components/Slider/Slider.type.mjs.map +1 -1
- package/es/components/Slider/index.d.ts +0 -33
- package/es/components/Statistic/Statistic.vue.d.ts +33 -33
- package/es/components/Statistic/index.d.ts +66 -66
- package/es/components/Table/BaseTable.vue.d.ts +132 -132
- package/es/components/Table/BodyTable.vue.d.ts +132 -132
- package/es/components/Table/HeadTable.vue.d.ts +132 -132
- package/es/components/Table/Table.vue.d.ts +264 -264
- package/es/components/Table/TableBox.vue.d.ts +264 -264
- package/es/components/Table/tableUnits/ExpandRows.vue.d.ts +33 -33
- package/es/components/Table/tableUnits/FilterDropdown.vue.d.ts +66 -66
- package/es/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +66 -66
- package/es/components/Table/tableUnits/TableBody.vue.d.ts +66 -66
- package/es/components/Table/tableUnits/TableCell.vue.d.ts +33 -33
- package/es/components/Table/tableUnits/TableHeader.vue.d.ts +66 -66
- package/es/components/Table/tableUnits/TableHeaderRow.vue.d.ts +66 -66
- package/es/components/Table/tableUnits/TableRow.vue.d.ts +33 -33
- package/es/components/Tag/Tag.mjs +6 -9
- package/es/components/Tag/Tag.mjs.map +1 -1
- package/es/components/Tag/Tag.type.d.ts +0 -4
- package/es/components/Tag/Tag.type.mjs +0 -4
- package/es/components/Tag/Tag.type.mjs.map +1 -1
- package/es/components/Tag/Tag.vue.d.ts +7 -20
- package/es/components/Tag/index.d.ts +21 -48
- package/es/components/ThemePanel/ThemePanel.vue.d.ts +33 -33
- package/es/components/ThemePanel/index.d.ts +66 -66
- package/es/components/TimePicker/Panel/TimeRangePane.vue.d.ts +4 -4
- package/es/components/TimePicker/TimePicker.vue.d.ts +12 -12
- package/es/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +4 -4
- package/es/components/TimePicker/index.d.ts +28 -28
- package/es/components/Tooltip/Tooltip.mjs +84 -8
- package/es/components/Tooltip/Tooltip.mjs.map +1 -1
- package/es/components/Tooltip/Tooltip.type.d.ts +2 -2
- package/es/components/Tooltip/Tooltip.type.mjs +1 -3
- package/es/components/Tooltip/Tooltip.type.mjs.map +1 -1
- package/es/components/Tooltip/Tooltip.vue.d.ts +13 -13
- package/es/components/Tooltip/index.d.ts +33 -33
- package/es/components/TreeSelect/TreeSelect.vue.d.ts +1 -1
- package/es/components/TreeSelect/index.d.ts +3 -3
- package/es/components/index.mjs +1 -1
- package/es/index.mjs +1 -1
- package/lib/components/Alert/Alert.js +9 -23
- package/lib/components/Alert/Alert.js.map +1 -1
- package/lib/components/Alert/Alert.type.d.ts +5 -7
- package/lib/components/Alert/Alert.type.js +4 -6
- package/lib/components/Alert/Alert.type.js.map +1 -1
- package/lib/components/Alert/Alert.vue.d.ts +5 -15
- package/lib/components/Alert/index.d.ts +9 -27
- package/lib/components/Alert/index.js +1 -0
- package/lib/components/Alert/index.js.map +1 -1
- package/lib/components/Badge/Badge.js +3 -5
- package/lib/components/Badge/Badge.js.map +1 -1
- package/lib/components/Calendar/Calendar.vue.d.ts +2 -2
- package/lib/components/Calendar/index.d.ts +6 -6
- package/lib/components/DatePicker/DatePicker.vue.d.ts +14 -14
- package/lib/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +4 -4
- package/lib/components/DatePicker/Panel/DateRangePanel.vue.d.ts +6 -6
- package/lib/components/DatePicker/Panel/RangePart.vue.d.ts +2 -2
- package/lib/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +4 -4
- package/lib/components/DatePicker/index.d.ts +28 -28
- package/lib/components/Drawer/Drawer.d.ts +9 -0
- package/lib/components/Drawer/Drawer.js +10 -8
- package/lib/components/Drawer/Drawer.js.map +1 -1
- package/lib/components/Drawer/Drawer.type.d.ts +4 -0
- package/lib/components/Drawer/Drawer.type.js +4 -0
- package/lib/components/Drawer/Drawer.type.js.map +1 -1
- package/lib/components/Drawer/index.d.ts +15 -0
- package/lib/components/Mask/Mask.d.ts +2 -1
- package/lib/components/Mask/Mask.js +6 -2
- package/lib/components/Mask/Mask.js.map +1 -1
- package/lib/components/Mask/index.d.ts +5 -2
- package/lib/components/Menu/MenuItem.vue.d.ts +33 -33
- package/lib/components/Menu/index.d.ts +33 -33
- package/lib/components/Message/Message.js +4 -3
- package/lib/components/Message/Message.js.map +1 -1
- package/lib/components/Message/Message.type.d.ts +1 -0
- package/lib/components/Notice/Notice.js +15 -13
- package/lib/components/Notice/Notice.js.map +1 -1
- package/lib/components/Notice/Notice.type.d.ts +3 -2
- package/lib/components/Notification/Notice.js +1 -5
- package/lib/components/Notification/Notice.js.map +1 -1
- package/lib/components/Notification/Notification.js.map +1 -1
- package/lib/components/Rate/Rate.vue.d.ts +33 -33
- package/lib/components/Rate/index.d.ts +66 -66
- package/lib/components/Slider/Slider.d.ts +0 -20
- package/lib/components/Slider/Slider.js +1 -2
- package/lib/components/Slider/Slider.js.map +1 -1
- package/lib/components/Slider/Slider.type.d.ts +0 -9
- package/lib/components/Slider/Slider.type.js +0 -13
- package/lib/components/Slider/Slider.type.js.map +1 -1
- package/lib/components/Slider/index.d.ts +0 -33
- package/lib/components/Statistic/Statistic.vue.d.ts +33 -33
- package/lib/components/Statistic/index.d.ts +66 -66
- package/lib/components/Table/BaseTable.vue.d.ts +132 -132
- package/lib/components/Table/BodyTable.vue.d.ts +132 -132
- package/lib/components/Table/HeadTable.vue.d.ts +132 -132
- package/lib/components/Table/Table.vue.d.ts +264 -264
- package/lib/components/Table/TableBox.vue.d.ts +264 -264
- package/lib/components/Table/tableUnits/ExpandRows.vue.d.ts +33 -33
- package/lib/components/Table/tableUnits/FilterDropdown.vue.d.ts +66 -66
- package/lib/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +66 -66
- package/lib/components/Table/tableUnits/TableBody.vue.d.ts +66 -66
- package/lib/components/Table/tableUnits/TableCell.vue.d.ts +33 -33
- package/lib/components/Table/tableUnits/TableHeader.vue.d.ts +66 -66
- package/lib/components/Table/tableUnits/TableHeaderRow.vue.d.ts +66 -66
- package/lib/components/Table/tableUnits/TableRow.vue.d.ts +33 -33
- package/lib/components/Tag/Tag.js +6 -9
- package/lib/components/Tag/Tag.js.map +1 -1
- package/lib/components/Tag/Tag.type.d.ts +0 -4
- package/lib/components/Tag/Tag.type.js +0 -4
- package/lib/components/Tag/Tag.type.js.map +1 -1
- package/lib/components/Tag/Tag.vue.d.ts +7 -20
- package/lib/components/Tag/index.d.ts +21 -48
- package/lib/components/ThemePanel/ThemePanel.vue.d.ts +33 -33
- package/lib/components/ThemePanel/index.d.ts +66 -66
- package/lib/components/TimePicker/Panel/TimeRangePane.vue.d.ts +4 -4
- package/lib/components/TimePicker/TimePicker.vue.d.ts +12 -12
- package/lib/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +4 -4
- package/lib/components/TimePicker/index.d.ts +28 -28
- package/lib/components/Tooltip/Tooltip.js +84 -8
- package/lib/components/Tooltip/Tooltip.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.type.d.ts +2 -2
- package/lib/components/Tooltip/Tooltip.type.js +1 -3
- package/lib/components/Tooltip/Tooltip.type.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.vue.d.ts +13 -13
- package/lib/components/Tooltip/index.d.ts +33 -33
- package/lib/components/TreeSelect/TreeSelect.vue.d.ts +1 -1
- package/lib/components/TreeSelect/index.d.ts +3 -3
- package/lib/components/index.js +1 -0
- package/lib/components/index.js.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components/alert/index.css +1 -1
- package/styles/components/alert/index.less +51 -48
- package/styles/components/alert/var.less +8 -42
- package/styles/components/autoComplete/index.css +1 -1
- package/styles/components/avatar/index.css +1 -1
- package/styles/components/badge/index.css +1 -1
- package/styles/components/badge/index.less +14 -48
- package/styles/components/badge/var.less +7 -17
- package/styles/components/button/index.css +1 -1
- package/styles/components/carousel/index.css +1 -1
- package/styles/components/cascader/index.css +1 -1
- package/styles/components/datePicker/index.css +1 -1
- package/styles/components/drawer/index.css +1 -1
- package/styles/components/drawer/index.less +43 -49
- package/styles/components/drawer/var.less +7 -20
- package/styles/components/form/index.css +1 -1
- package/styles/components/icon/index.css +1 -1
- package/styles/components/input/index.css +1 -1
- package/styles/components/inputNumber/index.css +1 -1
- package/styles/components/link/index.css +1 -1
- package/styles/components/mentions/index.css +1 -1
- package/styles/components/message/index.css +1 -1
- package/styles/components/message/index.less +63 -30
- package/styles/components/message/var.less +6 -27
- package/styles/components/modal/index.css +1 -1
- package/styles/components/notice/index.css +1 -1
- package/styles/components/notice/index.less +93 -49
- package/styles/components/notice/var.less +10 -33
- package/styles/components/select/index.css +1 -1
- package/styles/components/slider/index.css +1 -1
- package/styles/components/slider/index.less +36 -156
- package/styles/components/slider/var.less +5 -33
- package/styles/components/spin/index.css +1 -1
- package/styles/components/tag/index.css +1 -1
- package/styles/components/tag/index.less +12 -25
- package/styles/components/tag/var.less +26 -84
- package/styles/components/timePicker/index.css +1 -1
- package/styles/components/tooltip/index.css +1 -1
- package/styles/components/tooltip/index.less +3 -55
- package/styles/components/tooltip/var.less +15 -14
- package/styles/cssVariable.css +1 -1
- package/styles/cssVariable.less +8 -10
- package/styles/index.css +1 -1
- package/styles/mixins/index.less +0 -1
- package/types/components/Alert/Alert.type.d.ts +5 -7
- package/types/components/Alert/Alert.vue.d.ts +5 -15
- package/types/components/Alert/index.d.ts +9 -27
- package/types/components/Calendar/Calendar.vue.d.ts +2 -2
- package/types/components/Calendar/index.d.ts +6 -6
- package/types/components/DatePicker/DatePicker.vue.d.ts +14 -14
- package/types/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +4 -4
- package/types/components/DatePicker/Panel/DateRangePanel.vue.d.ts +6 -6
- package/types/components/DatePicker/Panel/RangePart.vue.d.ts +2 -2
- package/types/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +4 -4
- package/types/components/DatePicker/index.d.ts +28 -28
- package/types/components/Drawer/Drawer.d.ts +9 -0
- package/types/components/Drawer/Drawer.type.d.ts +4 -0
- package/types/components/Drawer/index.d.ts +15 -0
- package/types/components/Mask/Mask.d.ts +2 -1
- package/types/components/Mask/index.d.ts +5 -2
- package/types/components/Menu/MenuItem.vue.d.ts +33 -33
- package/types/components/Menu/index.d.ts +33 -33
- package/types/components/Message/Message.type.d.ts +1 -0
- package/types/components/Notice/Notice.type.d.ts +3 -2
- package/types/components/Rate/Rate.vue.d.ts +33 -33
- package/types/components/Rate/index.d.ts +66 -66
- package/types/components/Slider/Slider.d.ts +0 -20
- package/types/components/Slider/Slider.type.d.ts +0 -9
- package/types/components/Slider/index.d.ts +0 -33
- package/types/components/Statistic/Statistic.vue.d.ts +33 -33
- package/types/components/Statistic/index.d.ts +66 -66
- package/types/components/Table/BaseTable.vue.d.ts +132 -132
- package/types/components/Table/BodyTable.vue.d.ts +132 -132
- package/types/components/Table/HeadTable.vue.d.ts +132 -132
- package/types/components/Table/Table.vue.d.ts +264 -264
- package/types/components/Table/TableBox.vue.d.ts +264 -264
- package/types/components/Table/tableUnits/ExpandRows.vue.d.ts +33 -33
- package/types/components/Table/tableUnits/FilterDropdown.vue.d.ts +66 -66
- package/types/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +66 -66
- package/types/components/Table/tableUnits/TableBody.vue.d.ts +66 -66
- package/types/components/Table/tableUnits/TableCell.vue.d.ts +33 -33
- package/types/components/Table/tableUnits/TableHeader.vue.d.ts +66 -66
- package/types/components/Table/tableUnits/TableHeaderRow.vue.d.ts +66 -66
- package/types/components/Table/tableUnits/TableRow.vue.d.ts +33 -33
- package/types/components/Tag/Tag.type.d.ts +0 -4
- package/types/components/Tag/Tag.vue.d.ts +7 -20
- package/types/components/Tag/index.d.ts +21 -48
- package/types/components/ThemePanel/ThemePanel.vue.d.ts +33 -33
- package/types/components/ThemePanel/index.d.ts +66 -66
- package/types/components/TimePicker/Panel/TimeRangePane.vue.d.ts +4 -4
- package/types/components/TimePicker/TimePicker.vue.d.ts +12 -12
- package/types/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +4 -4
- package/types/components/TimePicker/index.d.ts +28 -28
- package/types/components/Tooltip/Tooltip.type.d.ts +2 -2
- package/types/components/Tooltip/Tooltip.vue.d.ts +13 -13
- package/types/components/Tooltip/index.d.ts +33 -33
- package/types/components/TreeSelect/TreeSelect.vue.d.ts +1 -1
- package/types/components/TreeSelect/index.d.ts +3 -3
- package/uxd-ui.css +1 -1
- package/uxd-ui.esm.min.mjs +6 -6
- package/uxd-ui.esm.mjs +152 -103
- package/uxd-ui.umd.js +151 -101
- package/uxd-ui.umd.min.js +6 -6
- package/styles/mixins/close.less +0 -12
package/uxd-ui.esm.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @koi-design/uxd-ui@4.0.
|
|
1
|
+
/*! @koi-design/uxd-ui@4.0.4 */
|
|
2
2
|
|
|
3
3
|
import { defineComponent, reactive, watch, provide, inject, computed, onMounted, ref, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, withDirectives, vShow, createBlock, resolveDynamicComponent, createCommentVNode, toRaw, resolveComponent, Transition, withCtx, createVNode, toDisplayString, isVNode, Comment as Comment$1, Fragment, Text as Text$1, h, shallowRef, toRef, nextTick, onUpdated, onUnmounted, cloneVNode, Teleport, toRefs, withModifiers, mergeProps, renderList, onBeforeUpdate, createTextVNode, createStaticVNode, watchEffect, onActivated, onDeactivated, normalizeProps, guardReactiveProps, withKeys, TransitionGroup, createApp, onBeforeMount, unref } from 'vue';
|
|
4
|
-
import { X,
|
|
4
|
+
import { X, Terminal, CircleAlert, Info, CircleCheck, LoaderCircle, CircleX, Search, Eye, EyeOff, Check, CornerDownLeft, ChevronUp, ChevronDown, ChevronRight, MenuIcon, Minus, ChevronLeft, CheckCircle, ChevronsLeft, ChevronsRight, Calendar as Calendar$1, ZoomIn, ZoomOut, RotateCcw, RotateCw, PanelLeft, Image as Image$2, XCircle, Star as Star$1, CheckIcon, XIcon, FilterIcon, GripVertical, Plus, Clock, FileIcon, HelpCircle, CircleHelp, AlertCircle, SearchIcon } from 'lucide-vue-next';
|
|
5
5
|
|
|
6
6
|
const isFunction$2 = (val) => typeof val === "function";
|
|
7
7
|
const cacheStringFunction = (fn) => {
|
|
@@ -687,9 +687,9 @@ const _sfc_main$2h = defineComponent({
|
|
|
687
687
|
};
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
|
-
const _hoisted_1$
|
|
690
|
+
const _hoisted_1$Z = { ref: "containerRef" };
|
|
691
691
|
function _sfc_render$2f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
692
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
692
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
693
693
|
createElementVNode("div", {
|
|
694
694
|
ref: "pointRef",
|
|
695
695
|
class: normalizeClass(_ctx.classes),
|
|
@@ -1065,12 +1065,13 @@ const isArrayOf = (arg) => {
|
|
|
1065
1065
|
};
|
|
1066
1066
|
};
|
|
1067
1067
|
|
|
1068
|
-
const alertType = ["success", "info", "warning", "error"];
|
|
1068
|
+
const alertType = ["default", "success", "info", "warning", "error", "error-outline"];
|
|
1069
|
+
const alertVariant = ["surface", "outline"];
|
|
1069
1070
|
const alertProps = {
|
|
1070
1071
|
type: {
|
|
1071
1072
|
type: String,
|
|
1072
1073
|
validator: oneOf(alertType),
|
|
1073
|
-
default: "
|
|
1074
|
+
default: "default"
|
|
1074
1075
|
},
|
|
1075
1076
|
closable: {
|
|
1076
1077
|
type: Boolean,
|
|
@@ -1090,10 +1091,6 @@ const alertProps = {
|
|
|
1090
1091
|
type: String,
|
|
1091
1092
|
default: ""
|
|
1092
1093
|
},
|
|
1093
|
-
banner: {
|
|
1094
|
-
type: Boolean,
|
|
1095
|
-
default: false
|
|
1096
|
-
},
|
|
1097
1094
|
visible: {
|
|
1098
1095
|
type: Boolean,
|
|
1099
1096
|
default: true
|
|
@@ -1124,9 +1121,10 @@ const _sfc_main$2f = defineComponent({
|
|
|
1124
1121
|
case "warning":
|
|
1125
1122
|
return CircleAlert;
|
|
1126
1123
|
case "error":
|
|
1127
|
-
|
|
1124
|
+
case "error-outline":
|
|
1125
|
+
return CircleAlert;
|
|
1128
1126
|
default:
|
|
1129
|
-
return
|
|
1127
|
+
return Terminal;
|
|
1130
1128
|
}
|
|
1131
1129
|
});
|
|
1132
1130
|
const handleClose = (e) => {
|
|
@@ -1146,28 +1144,15 @@ const _sfc_main$2f = defineComponent({
|
|
|
1146
1144
|
props.afterClose();
|
|
1147
1145
|
}
|
|
1148
1146
|
};
|
|
1149
|
-
const computedColor = computed(() => {
|
|
1150
|
-
switch (props.type) {
|
|
1151
|
-
case "info":
|
|
1152
|
-
case "error":
|
|
1153
|
-
case "warning":
|
|
1154
|
-
case "success":
|
|
1155
|
-
return props.type;
|
|
1156
|
-
default:
|
|
1157
|
-
return void 0;
|
|
1158
|
-
}
|
|
1159
|
-
});
|
|
1160
1147
|
return {
|
|
1161
1148
|
prefixCls,
|
|
1162
1149
|
iconType,
|
|
1163
1150
|
stateVisible,
|
|
1164
1151
|
handleClose,
|
|
1165
|
-
onTransitionOver
|
|
1166
|
-
computedColor
|
|
1152
|
+
onTransitionOver
|
|
1167
1153
|
};
|
|
1168
1154
|
}
|
|
1169
1155
|
});
|
|
1170
|
-
const _hoisted_1$Z = ["data-color"];
|
|
1171
1156
|
function _sfc_render$2d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1172
1157
|
const _component_UIcon = resolveComponent("UIcon");
|
|
1173
1158
|
const _component_X = resolveComponent("X");
|
|
@@ -1183,11 +1168,9 @@ function _sfc_render$2d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1183
1168
|
`${_ctx.prefixCls}-${_ctx.type}`,
|
|
1184
1169
|
{
|
|
1185
1170
|
[`${_ctx.prefixCls}-with-icon`]: _ctx.showIcon,
|
|
1186
|
-
[`${_ctx.prefixCls}-with-desc`]: _ctx.description
|
|
1187
|
-
[`${_ctx.prefixCls}-with-banner`]: _ctx.banner
|
|
1171
|
+
[`${_ctx.prefixCls}-with-desc`]: _ctx.description
|
|
1188
1172
|
}
|
|
1189
|
-
])
|
|
1190
|
-
"data-color": _ctx.computedColor
|
|
1173
|
+
])
|
|
1191
1174
|
}, [
|
|
1192
1175
|
_ctx.showIcon ? (openBlock(), createElementBlock("span", {
|
|
1193
1176
|
key: 0,
|
|
@@ -1200,12 +1183,12 @@ function _sfc_render$2d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1200
1183
|
_: 1
|
|
1201
1184
|
})
|
|
1202
1185
|
], 2)) : createCommentVNode("v-if", true),
|
|
1203
|
-
createElementVNode("
|
|
1186
|
+
createElementVNode("div", {
|
|
1204
1187
|
class: normalizeClass(`${_ctx.prefixCls}-message`)
|
|
1205
1188
|
}, [
|
|
1206
1189
|
renderSlot(_ctx.$slots, "default")
|
|
1207
1190
|
], 2),
|
|
1208
|
-
createElementVNode("
|
|
1191
|
+
createElementVNode("div", {
|
|
1209
1192
|
class: normalizeClass(`${_ctx.prefixCls}-desc`)
|
|
1210
1193
|
}, toDisplayString(_ctx.description), 3),
|
|
1211
1194
|
_ctx.closable ? (openBlock(), createElementBlock("a", {
|
|
@@ -1222,7 +1205,7 @@ function _sfc_render$2d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1222
1205
|
})
|
|
1223
1206
|
])
|
|
1224
1207
|
], 2)) : createCommentVNode("v-if", true)
|
|
1225
|
-
],
|
|
1208
|
+
], 2)) : createCommentVNode("v-if", true)
|
|
1226
1209
|
]),
|
|
1227
1210
|
_: 3
|
|
1228
1211
|
}, 8, ["onAfterLeave"]);
|
|
@@ -10967,13 +10950,11 @@ const _sfc_main$23 = defineComponent({
|
|
|
10967
10950
|
if (props.status) {
|
|
10968
10951
|
switch (props.status) {
|
|
10969
10952
|
case "success":
|
|
10970
|
-
return "green";
|
|
10971
|
-
case "processing":
|
|
10972
|
-
return "blue";
|
|
10973
10953
|
case "error":
|
|
10974
|
-
return "red";
|
|
10975
10954
|
case "warning":
|
|
10976
|
-
return
|
|
10955
|
+
return props.status;
|
|
10956
|
+
case "processing":
|
|
10957
|
+
return "primary";
|
|
10977
10958
|
default:
|
|
10978
10959
|
return void 0;
|
|
10979
10960
|
}
|
|
@@ -11945,7 +11926,7 @@ const tooltipsProps = {
|
|
|
11945
11926
|
color: {
|
|
11946
11927
|
type: String,
|
|
11947
11928
|
default: void 0,
|
|
11948
|
-
validator: oneOf([
|
|
11929
|
+
validator: oneOf(["red", "light"])
|
|
11949
11930
|
}
|
|
11950
11931
|
};
|
|
11951
11932
|
const tooltipEmits = {
|
|
@@ -11970,44 +11951,120 @@ const _sfc_main$21 = defineComponent({
|
|
|
11970
11951
|
if (((_a = popupRef.value) == null ? void 0 : _a.reference) && innerRef.value) {
|
|
11971
11952
|
const { width, height } = findDOMNode(popupRef.value.reference).getBoundingClientRect();
|
|
11972
11953
|
const { width: contentWidth, height: contentHeight } = innerRef.value.getBoundingClientRect();
|
|
11973
|
-
if (props.placement === "left
|
|
11954
|
+
if (props.placement === "left") {
|
|
11955
|
+
return {
|
|
11956
|
+
top: "50%",
|
|
11957
|
+
right: "0",
|
|
11958
|
+
transform: "translateY(-50%) translateX(-50%)"
|
|
11959
|
+
};
|
|
11960
|
+
}
|
|
11961
|
+
if (props.placement === "left-start") {
|
|
11974
11962
|
let top = height / 2;
|
|
11975
11963
|
if (top > contentHeight) {
|
|
11976
11964
|
top = 8;
|
|
11977
11965
|
}
|
|
11978
11966
|
return {
|
|
11979
11967
|
top: `${top}px`,
|
|
11980
|
-
|
|
11968
|
+
right: "0",
|
|
11969
|
+
transform: "translateY(-50%) translateX(-50%)"
|
|
11981
11970
|
};
|
|
11982
11971
|
}
|
|
11983
|
-
if (props.placement === "left-end"
|
|
11972
|
+
if (props.placement === "left-end") {
|
|
11984
11973
|
let bottom = height / 2;
|
|
11985
11974
|
if (bottom > contentHeight) {
|
|
11986
11975
|
bottom = 8;
|
|
11987
11976
|
}
|
|
11988
11977
|
return {
|
|
11989
11978
|
bottom: `${bottom}px`,
|
|
11990
|
-
|
|
11979
|
+
right: "0",
|
|
11980
|
+
transform: "translateY(50%) translateX(-50%)"
|
|
11991
11981
|
};
|
|
11992
11982
|
}
|
|
11993
|
-
if (props.placement === "
|
|
11983
|
+
if (props.placement === "right") {
|
|
11984
|
+
return {
|
|
11985
|
+
top: "50%",
|
|
11986
|
+
left: "0",
|
|
11987
|
+
transform: "translateY(-50%) translateX(50%)"
|
|
11988
|
+
};
|
|
11989
|
+
}
|
|
11990
|
+
if (props.placement === "right-start") {
|
|
11991
|
+
let top = height / 2;
|
|
11992
|
+
if (top > contentHeight) {
|
|
11993
|
+
top = 8;
|
|
11994
|
+
}
|
|
11995
|
+
return {
|
|
11996
|
+
top: `${top}px`,
|
|
11997
|
+
left: "0",
|
|
11998
|
+
transform: "translateY(-50%) translateX(50%)"
|
|
11999
|
+
};
|
|
12000
|
+
}
|
|
12001
|
+
if (props.placement === "right-end") {
|
|
12002
|
+
let bottom = height / 2;
|
|
12003
|
+
if (bottom > contentHeight) {
|
|
12004
|
+
bottom = 8;
|
|
12005
|
+
}
|
|
12006
|
+
return {
|
|
12007
|
+
bottom: `${bottom}px`,
|
|
12008
|
+
left: "0",
|
|
12009
|
+
transform: "translateY(50%) translateX(50%)"
|
|
12010
|
+
};
|
|
12011
|
+
}
|
|
12012
|
+
if (props.placement === "top") {
|
|
12013
|
+
return {
|
|
12014
|
+
left: "50%",
|
|
12015
|
+
bottom: "0",
|
|
12016
|
+
transform: "translateX(-50%) translateY(-50%)"
|
|
12017
|
+
};
|
|
12018
|
+
}
|
|
12019
|
+
if (props.placement === "top-start") {
|
|
11994
12020
|
let left = width / 2;
|
|
11995
12021
|
if (left > contentWidth) {
|
|
11996
12022
|
left = 16;
|
|
11997
12023
|
}
|
|
11998
12024
|
return {
|
|
11999
12025
|
left: `${left}px`,
|
|
12000
|
-
|
|
12026
|
+
bottom: "0",
|
|
12027
|
+
transform: "translateX(-50%) translateY(-50%)"
|
|
12001
12028
|
};
|
|
12002
12029
|
}
|
|
12003
|
-
if (props.placement === "top-end"
|
|
12030
|
+
if (props.placement === "top-end") {
|
|
12004
12031
|
let right = width / 2;
|
|
12005
12032
|
if (right > contentWidth) {
|
|
12006
12033
|
right = 16;
|
|
12007
12034
|
}
|
|
12008
12035
|
return {
|
|
12009
12036
|
right: `${right}px`,
|
|
12010
|
-
|
|
12037
|
+
bottom: "0",
|
|
12038
|
+
transform: "translateX(50%) translateY(-50%)"
|
|
12039
|
+
};
|
|
12040
|
+
}
|
|
12041
|
+
if (props.placement === "bottom") {
|
|
12042
|
+
return {
|
|
12043
|
+
left: "50%",
|
|
12044
|
+
top: "0",
|
|
12045
|
+
transform: "translateX(-50%) translateY(50%)"
|
|
12046
|
+
};
|
|
12047
|
+
}
|
|
12048
|
+
if (props.placement === "bottom-start") {
|
|
12049
|
+
let left = width / 2;
|
|
12050
|
+
if (left > contentWidth) {
|
|
12051
|
+
left = 16;
|
|
12052
|
+
}
|
|
12053
|
+
return {
|
|
12054
|
+
left: `${left}px`,
|
|
12055
|
+
top: "0",
|
|
12056
|
+
transform: "translateX(-50%) translateY(50%)"
|
|
12057
|
+
};
|
|
12058
|
+
}
|
|
12059
|
+
if (props.placement === "bottom-end") {
|
|
12060
|
+
let right = width / 2;
|
|
12061
|
+
if (right > contentWidth) {
|
|
12062
|
+
right = 16;
|
|
12063
|
+
}
|
|
12064
|
+
return {
|
|
12065
|
+
right: `${right}px`,
|
|
12066
|
+
top: "0",
|
|
12067
|
+
transform: "translateX(50%) translateY(50%)"
|
|
12011
12068
|
};
|
|
12012
12069
|
}
|
|
12013
12070
|
}
|
|
@@ -24940,7 +24997,7 @@ const maskProps = {
|
|
|
24940
24997
|
var Mask = defineComponent({
|
|
24941
24998
|
name: "UMask",
|
|
24942
24999
|
props: maskProps,
|
|
24943
|
-
emits: ["after-show-mask-change"],
|
|
25000
|
+
emits: ["after-show-mask-change", "click"],
|
|
24944
25001
|
setup(props, {
|
|
24945
25002
|
slots,
|
|
24946
25003
|
emit,
|
|
@@ -24971,6 +25028,9 @@ var Mask = defineComponent({
|
|
|
24971
25028
|
const maskColor = props.color === "white" ? "255, 255, 255" : "0, 0, 0";
|
|
24972
25029
|
return `rgba(${maskColor}, ${opacity})`;
|
|
24973
25030
|
});
|
|
25031
|
+
const handleClick = () => {
|
|
25032
|
+
emit("click");
|
|
25033
|
+
};
|
|
24974
25034
|
const renderMask = lazyRender(() => {
|
|
24975
25035
|
const style = {
|
|
24976
25036
|
backgroundColor: maskBackground.value,
|
|
@@ -24986,7 +25046,8 @@ var Mask = defineComponent({
|
|
|
24986
25046
|
"class": prefixCls.value,
|
|
24987
25047
|
"onTouchmove": props.preventScroll ? handleTouchMove : () => {
|
|
24988
25048
|
},
|
|
24989
|
-
"onAnimationend": handleAnimationend
|
|
25049
|
+
"onAnimationend": handleAnimationend,
|
|
25050
|
+
"onClick": handleClick
|
|
24990
25051
|
}, [useShouldRender(props.show, props.desdroyOnClose, animationEnd.value, slots.default)]), [[vShow, props.show]]);
|
|
24991
25052
|
});
|
|
24992
25053
|
return () => createVNode(Transition, {
|
|
@@ -25030,6 +25091,10 @@ const drawerProps = {
|
|
|
25030
25091
|
type: String,
|
|
25031
25092
|
default: ""
|
|
25032
25093
|
},
|
|
25094
|
+
description: {
|
|
25095
|
+
type: String,
|
|
25096
|
+
default: ""
|
|
25097
|
+
},
|
|
25033
25098
|
closable: {
|
|
25034
25099
|
type: Boolean,
|
|
25035
25100
|
default: true
|
|
@@ -25297,20 +25362,22 @@ var Drawer = defineComponent({
|
|
|
25297
25362
|
const renderDrawer = lazyRender(() => {
|
|
25298
25363
|
const renderConrent = () => {
|
|
25299
25364
|
var _a;
|
|
25300
|
-
return createVNode(Fragment, null, [createVNode("
|
|
25301
|
-
"ref": headerRef,
|
|
25302
|
-
"class": `${prefixCls.value}-header`,
|
|
25303
|
-
"style": props.headerStyle
|
|
25304
|
-
}, [createVNode("h2", {
|
|
25305
|
-
"class": `${prefixCls.value}-header-title`
|
|
25306
|
-
}, [slots.title ? slots.title() : props.title]), props.closable && createVNode("button", {
|
|
25365
|
+
return createVNode(Fragment, null, [props.closable && createVNode("button", {
|
|
25307
25366
|
"class": `${prefixCls.value}-close`,
|
|
25308
25367
|
"onClick": () => handleClose("close")
|
|
25309
25368
|
}, [createVNode(UIcon, {
|
|
25310
25369
|
"class": `${prefixCls.value}-close-icon`
|
|
25311
25370
|
}, {
|
|
25312
25371
|
default: () => [createVNode(X, null, null)]
|
|
25313
|
-
})])
|
|
25372
|
+
})]), createVNode("div", {
|
|
25373
|
+
"ref": headerRef,
|
|
25374
|
+
"class": `${prefixCls.value}-header`,
|
|
25375
|
+
"style": props.headerStyle
|
|
25376
|
+
}, [createVNode("h2", {
|
|
25377
|
+
"class": `${prefixCls.value}-header-title`
|
|
25378
|
+
}, [slots.title ? slots.title() : props.title]), props.description && createVNode("p", {
|
|
25379
|
+
"class": `${prefixCls.value}-header-description`
|
|
25380
|
+
}, [props.description])]), createVNode("div", {
|
|
25314
25381
|
"class": `${prefixCls.value}-body`,
|
|
25315
25382
|
"style": {
|
|
25316
25383
|
...props.bodyStyle,
|
|
@@ -30824,15 +30891,6 @@ const sliderProps = {
|
|
|
30824
30891
|
type: String,
|
|
30825
30892
|
default: "surface"
|
|
30826
30893
|
},
|
|
30827
|
-
color: {
|
|
30828
|
-
type: String,
|
|
30829
|
-
default: void 0,
|
|
30830
|
-
validator: oneOf(colorType)
|
|
30831
|
-
},
|
|
30832
|
-
size: {
|
|
30833
|
-
type: String,
|
|
30834
|
-
default: "default"
|
|
30835
|
-
},
|
|
30836
30894
|
direction: {
|
|
30837
30895
|
type: String
|
|
30838
30896
|
}
|
|
@@ -31250,13 +31308,12 @@ var Slider = defineComponent({
|
|
|
31250
31308
|
})]);
|
|
31251
31309
|
return createVNode("div", {
|
|
31252
31310
|
"ref": "sliderRef",
|
|
31253
|
-
"class": [this.prefixCls, `${this.prefixCls}-variant-${this.variant}`,
|
|
31311
|
+
"class": [this.prefixCls, `${this.prefixCls}-variant-${this.variant}`, {
|
|
31254
31312
|
[`${this.prefixCls}-with-marks`]: this.marks && Object.keys(this.marks).length,
|
|
31255
31313
|
[`${this.prefixCls}-disabled`]: this.disabled,
|
|
31256
31314
|
[`${this.prefixCls}-vertical`]: this.vertical,
|
|
31257
31315
|
[`${this.prefixCls}-rtl`]: this.direction === "rtl" && !this.vertical
|
|
31258
31316
|
}],
|
|
31259
|
-
"data-color": this.color,
|
|
31260
31317
|
"onMousedown": this.handleMouseDown,
|
|
31261
31318
|
"onMouseup": this.handleMouseUp
|
|
31262
31319
|
}, [createVNode("div", {
|
|
@@ -36544,10 +36601,6 @@ const tagProps = {
|
|
|
36544
36601
|
type: String,
|
|
36545
36602
|
default: "surface"
|
|
36546
36603
|
},
|
|
36547
|
-
size: {
|
|
36548
|
-
type: String,
|
|
36549
|
-
default: "default"
|
|
36550
|
-
},
|
|
36551
36604
|
round: {
|
|
36552
36605
|
type: Boolean,
|
|
36553
36606
|
default: false
|
|
@@ -36641,25 +36694,23 @@ const _sfc_main$q = defineComponent({
|
|
|
36641
36694
|
}
|
|
36642
36695
|
if (props.variant === "outline") {
|
|
36643
36696
|
return {
|
|
36644
|
-
|
|
36645
|
-
color: props.color
|
|
36646
|
-
boxShadow: `0 0 0 1px ${props.color} inset`
|
|
36697
|
+
border: `1px solid ${props.color}`,
|
|
36698
|
+
color: props.color
|
|
36647
36699
|
};
|
|
36648
36700
|
}
|
|
36649
36701
|
if (props.variant === "solid") {
|
|
36650
36702
|
return {
|
|
36651
|
-
backgroundColor: props.color
|
|
36703
|
+
backgroundColor: props.color,
|
|
36704
|
+
color: "white"
|
|
36652
36705
|
};
|
|
36653
36706
|
}
|
|
36654
36707
|
return {
|
|
36655
36708
|
backgroundColor: hexToRgba(props.color, 0.1),
|
|
36656
36709
|
color: props.color,
|
|
36657
|
-
|
|
36710
|
+
border: `1px solid ${props.color}`
|
|
36658
36711
|
};
|
|
36659
36712
|
}
|
|
36660
|
-
return {
|
|
36661
|
-
backgroundColor: void 0
|
|
36662
|
-
};
|
|
36713
|
+
return {};
|
|
36663
36714
|
});
|
|
36664
36715
|
const showIcon = computed(() => {
|
|
36665
36716
|
return !!slots.icon || !!props.icon;
|
|
@@ -36686,7 +36737,6 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36686
36737
|
class: normalizeClass([
|
|
36687
36738
|
`${_ctx.prefixCls}`,
|
|
36688
36739
|
`${_ctx.prefixCls}-variant-${_ctx.variant}`,
|
|
36689
|
-
`${_ctx.prefixCls}-${_ctx.size}`,
|
|
36690
36740
|
{
|
|
36691
36741
|
[`${_ctx.prefixCls}-has-color ${_ctx.prefixCls}-has-color-${_ctx.variant}`]: _ctx.color && !_ctx.isPresetColor && !_ctx.isStatusType,
|
|
36692
36742
|
[`${_ctx.prefixCls}-has-icon`]: _ctx.showIcon,
|
|
@@ -42394,11 +42444,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42394
42444
|
}
|
|
42395
42445
|
])
|
|
42396
42446
|
}, [
|
|
42397
|
-
|
|
42398
|
-
class: normalizeClass(`${_ctx.prefixCls}-content-text`)
|
|
42399
|
-
}, [
|
|
42400
|
-
createVNode(_component_Render, { render: _ctx.content }, null, 8, ["render"])
|
|
42401
|
-
], 2),
|
|
42447
|
+
createVNode(_component_Render, { render: _ctx.content }, null, 8, ["render"]),
|
|
42402
42448
|
_ctx.closable ? (openBlock(), createElementBlock("a", {
|
|
42403
42449
|
key: 0,
|
|
42404
42450
|
tabindex: "0",
|
|
@@ -42548,9 +42594,9 @@ Notification.newInstance = (props) => {
|
|
|
42548
42594
|
let prefixCls$1 = "uui-notice";
|
|
42549
42595
|
const prefixKey$1 = "uui_notice_key_";
|
|
42550
42596
|
let defaultDuration$1 = 4.5;
|
|
42551
|
-
let defaultPlacement = "
|
|
42552
|
-
let defaultBottom = "
|
|
42553
|
-
let defaultTop$1 = "
|
|
42597
|
+
let defaultPlacement = "bottom-right";
|
|
42598
|
+
let defaultBottom = "0px";
|
|
42599
|
+
let defaultTop$1 = "0px";
|
|
42554
42600
|
let key$1 = 0;
|
|
42555
42601
|
const noticeInstance = {};
|
|
42556
42602
|
const transitionName$1 = "move-notice";
|
|
@@ -42625,7 +42671,8 @@ const notice$2 = (args) => {
|
|
|
42625
42671
|
placement,
|
|
42626
42672
|
top,
|
|
42627
42673
|
bottom,
|
|
42628
|
-
|
|
42674
|
+
action,
|
|
42675
|
+
showIcon = true
|
|
42629
42676
|
} = args;
|
|
42630
42677
|
const duration = args.duration !== void 0 ? args.duration : defaultDuration$1;
|
|
42631
42678
|
let iconType = propIconType || void 0;
|
|
@@ -42639,15 +42686,14 @@ const notice$2 = (args) => {
|
|
|
42639
42686
|
top,
|
|
42640
42687
|
bottom
|
|
42641
42688
|
});
|
|
42642
|
-
const IconNode = iconType ? createVNode("span", {
|
|
42643
|
-
"class": `${prefixCls$1}-icon ${prefixCls$1}-icon-${type}
|
|
42644
|
-
"data-color": type || void 0
|
|
42689
|
+
const IconNode = showIcon && iconType ? createVNode("span", {
|
|
42690
|
+
"class": `${prefixCls$1}-icon ${prefixCls$1}-icon-${type}`
|
|
42645
42691
|
}, [createVNode(UIcon, {
|
|
42646
42692
|
"class": `${iconClass || ""}`
|
|
42647
42693
|
}, {
|
|
42648
42694
|
default: () => [createVNode(iconType, null, null)]
|
|
42649
42695
|
})]) : null;
|
|
42650
|
-
const withIconCls = iconType ? `${prefixCls$1}-with-icon ${prefixCls$1}-with-${type} ` : "";
|
|
42696
|
+
const withIconCls = showIcon && iconType ? `${prefixCls$1}-with-icon ${prefixCls$1}-with-${type} ` : "";
|
|
42651
42697
|
const withDescCls = desc ? `${prefixCls$1}-with-desc` : "";
|
|
42652
42698
|
instance.notice({
|
|
42653
42699
|
key: target,
|
|
@@ -42657,14 +42703,16 @@ const notice$2 = (args) => {
|
|
|
42657
42703
|
style: args.style || {},
|
|
42658
42704
|
class: args.class,
|
|
42659
42705
|
content: () => createVNode("div", {
|
|
42660
|
-
"class": `${withIconCls} ${withDescCls}
|
|
42661
|
-
|
|
42706
|
+
"class": `${prefixCls$1}-wrapper ${withIconCls} ${withDescCls}`,
|
|
42707
|
+
"data-type": type || void 0
|
|
42708
|
+
}, [IconNode, createVNode("div", null, [createVNode("div", {
|
|
42662
42709
|
"class": `${prefixCls$1}-title`
|
|
42663
42710
|
}, [typeof title === "function" ? title() : title]), createVNode("div", {
|
|
42664
42711
|
"class": `${prefixCls$1}-desc`
|
|
42665
|
-
}, [typeof desc === "function" ? desc() : desc]),
|
|
42666
|
-
"class": `${prefixCls$1}-btn
|
|
42667
|
-
|
|
42712
|
+
}, [typeof desc === "function" ? desc() : desc])]), action ? createVNode("button", {
|
|
42713
|
+
"class": `${prefixCls$1}-btn`,
|
|
42714
|
+
"onClick": args.onAction
|
|
42715
|
+
}, [action]) : null])
|
|
42668
42716
|
});
|
|
42669
42717
|
const result = () => {
|
|
42670
42718
|
const cls = `${prefixCls$1}-${placement}`;
|
|
@@ -42989,7 +43037,8 @@ const getMessageInstance = () => {
|
|
|
42989
43037
|
const notice = (args) => {
|
|
42990
43038
|
const {
|
|
42991
43039
|
type,
|
|
42992
|
-
content
|
|
43040
|
+
content,
|
|
43041
|
+
showIcon = true
|
|
42993
43042
|
} = args;
|
|
42994
43043
|
const duration = args.duration !== void 0 ? args.duration : defaultDuration;
|
|
42995
43044
|
const iconType = iconTypes[type];
|
|
@@ -43006,8 +43055,8 @@ const notice = (args) => {
|
|
|
43006
43055
|
background: args.background,
|
|
43007
43056
|
content: () => createVNode("div", {
|
|
43008
43057
|
"class": `${prefixCls}-custom-content ${prefixCls}-${type}`,
|
|
43009
|
-
"data-
|
|
43010
|
-
}, [createVNode(UIcon, {
|
|
43058
|
+
"data-type": type
|
|
43059
|
+
}, [showIcon && createVNode(UIcon, {
|
|
43011
43060
|
"spin": type === "loading"
|
|
43012
43061
|
}, {
|
|
43013
43062
|
default: () => [createVNode(iconType, null, null)]
|
|
@@ -44533,4 +44582,4 @@ var installer = {
|
|
|
44533
44582
|
|
|
44534
44583
|
const { install } = installer;
|
|
44535
44584
|
|
|
44536
|
-
export { ConfigDefaultProps, DEFAULT_COLUMN_MAP, FormItemKey, MAX_SAFE_INTEGER, MentionsopenDialogValue, ModalFunction, TREE_CONTEXT_INJECTION_KEY, UAffix, UAlert, UAnchor, AnchorLink as UAnchorLink, UAutoComplete, UAvatar, AvatarGroup as UAvatarGroup, UBackTop, UBadge, UBreadcrumb, BreadcrumbItem as UBreadcrumbItem, UButton, ButtonGroup as UButtonGroup, UCalendar, UCard, CardGrid as UCardGrid, CardMeta as UCardMeta, UCarousel, CarouselItem as UCarouselItem, UCascader, UCheckbox, CheckboxGroup as UCheckboxGroup, Col as UCol, UCollapse, CollapsePanel as UCollapsePanel, UColorPicker, UComment, UConfigProvider, Content as UContent, UDatePicker, UDivider, UDrawer, UDropdown, DropdownMenu as UDropdownMenu, DropdownTrigger as UDropdownTrigger, UEmpty, Footer as UFooter, UForm, FormItem as UFormItem, UGrid, Header as UHeader, UIcon, UImage, ImageViewer as UImageViewer, UInfiniteScroll, UInfoView, UInput, UInputNumber, ULayout, ULink, UList, ListItem$1 as UListItem, ListItemMeta as UListItemMeta, UMask, UMentions, UMenu, MenuDivider as UMenuDivider, MenuItem$2 as UMenuItem, MenuItemGroup as UMenuItemGroup, UModal, Option as UOption, OptionGroup as UOptionGroup, UPageHeader, UPagination, UPopConfirm, UPopover, UProgress, URadio, RadioGroup as URadioGroup, URate, UResult, Row$1 as URow, UScrollbar, USelect, Sider as USider, USkeleton, SkeletonItem as USkeletonItem, USlider, USpace, USpin, UStatistic, USteps, SubMenu as USubMenu, USwitch, TabNav as UTabNav, TabPane as UTabPane, UTable, UTabs, UTag, UText, ThemeConfigProvider as UThemeConfigProvider, UThemePanel, UTimePicker, UTimeline, TimelineItem as UTimelineItem, UTooltip, UTransfer, UTree, UTreeSelect, UUpload, affixEmits, affixProps, alertEmits, alertProps, alertType, anchorEmits, anchorLinkEmits, anchorLinkProps, anchorProps, anyType, appearanceType, arrayType, autoCompleteEmits, autoCompleteProps, avatarEmits, avatarProps, avatarShape, backTopProps, badgeProps, badgeStatus, badgeType, baseOptionsProps, breadcrumbProps, buttonEmits, buttonGroupProps, buttonProps, buttonType, buttonVariantType, calendarEmits, calendarProps, cardMetaProps, cardProps, carouselArrow, carouselDirection, carouselDots, carouselEffect, carouselEmits, carouselProps, carouselTrigger, cascaderEmits, cascaderProps, checkboxButtonType, checkboxEmits, checkboxGroupEmits, checkboxGroupProps, checkboxGroupType, checkboxProps, checkedStrategy, colProps, collapseEmits, collapsePanelProps, collapseProps, colorPickerEmits, colorPickerFormat, colorPickerProps, colorType, datePickerEmits, datePickerProps, installer as default, directionType, dividerOrientation, dividerProps, dividerSize, dividerType, drawerCloseType, drawerEmits, drawerPlacement, drawerProps, drawerSize, dropdownEmits, dropdownProps, dropdownTrigger, emptyProps, extraPosition, formEmits, formItemProps, formLayout, formProps, gridAlign, gridJustify, hackColors, iconEmits, iconProps, imageEmits, imageProps, imageViewerEmits, imageViewerProps, infoViewProps, infoViewSize, inputEmits, inputNumberEmits, inputNumberProps, inputNumberType, inputProps, inputType, install, isCascaderSingleValue, isCascaderUnitValue, labelAlign, linkEmits, linkProps, linkType, listExtraPopsition, listItemLayout, listItemMetaProps, listItemProps, listProps, loadingBar, menuEmits, menuItemEmits, menuItemGroupProps, menuItemProps, menuMode, menuProps, menuTheme, message, middleSizeMap, normalSizeMap, notice$1 as notice, objectType, optionProps, pageHeaderEmits, pageHeaderProps, pageinationSize, paginationEmits, paginationProps, paginationVariants, popConfirmEmits, popConfirmProps, popoverEmits, popoverProps, popoverTrigger, popoverType, progressEmits, progressProps, progressStatus, progressType, radioButtonType, radioEmits, radioGroupEmits, radioGroupProps, radioGroupType, radioProps, radiusType, rangeDirection, rateEmits, rateProps, resultProps, resultStatus, rowProps, scrollbarContextKey, scrollbarEmits, scrollbarProps, selectEmits, selectProps, siderEmits, siderProps, siderTheme, skeletionProps, skeletonItemProps, sliderEmits, sliderProps, spaceAlign, spaceDirection, spaceProps, spaceSizeMap, spinAnimation, spinProps, statisticProps, statusType, stepProps, stepsEmits, stepsLabelPlacement, stepsProps, stepsSize, stepsStatus, stepsType, subMenuEmits, subMenuProps, switchEmits, switchProps, tabNavEmits, tabNavProps, tabPaneProps, tabPosition, tableEmits, tableProps, tabsEmits, tabsProps, tabsType, tagEmits, tagProps, themeConfigProviderProps, themePanelProps, timePickerEmits, timePickerProps, timelineItemPosition, timelineItemProps, timelineMode, timelineProps, tooltipEmits, tooltipTrigger, tooltipsProps, transferEmits, transferProps, transferSide, treeEmits, treeNodeProps, treeProps, treeSelectEmits, treeSelectProps, uploadEmits, uploadProps, validateStatus, variantType };
|
|
44585
|
+
export { ConfigDefaultProps, DEFAULT_COLUMN_MAP, FormItemKey, MAX_SAFE_INTEGER, MentionsopenDialogValue, ModalFunction, TREE_CONTEXT_INJECTION_KEY, UAffix, UAlert, UAnchor, AnchorLink as UAnchorLink, UAutoComplete, UAvatar, AvatarGroup as UAvatarGroup, UBackTop, UBadge, UBreadcrumb, BreadcrumbItem as UBreadcrumbItem, UButton, ButtonGroup as UButtonGroup, UCalendar, UCard, CardGrid as UCardGrid, CardMeta as UCardMeta, UCarousel, CarouselItem as UCarouselItem, UCascader, UCheckbox, CheckboxGroup as UCheckboxGroup, Col as UCol, UCollapse, CollapsePanel as UCollapsePanel, UColorPicker, UComment, UConfigProvider, Content as UContent, UDatePicker, UDivider, UDrawer, UDropdown, DropdownMenu as UDropdownMenu, DropdownTrigger as UDropdownTrigger, UEmpty, Footer as UFooter, UForm, FormItem as UFormItem, UGrid, Header as UHeader, UIcon, UImage, ImageViewer as UImageViewer, UInfiniteScroll, UInfoView, UInput, UInputNumber, ULayout, ULink, UList, ListItem$1 as UListItem, ListItemMeta as UListItemMeta, UMask, UMentions, UMenu, MenuDivider as UMenuDivider, MenuItem$2 as UMenuItem, MenuItemGroup as UMenuItemGroup, UModal, Option as UOption, OptionGroup as UOptionGroup, UPageHeader, UPagination, UPopConfirm, UPopover, UProgress, URadio, RadioGroup as URadioGroup, URate, UResult, Row$1 as URow, UScrollbar, USelect, Sider as USider, USkeleton, SkeletonItem as USkeletonItem, USlider, USpace, USpin, UStatistic, USteps, SubMenu as USubMenu, USwitch, TabNav as UTabNav, TabPane as UTabPane, UTable, UTabs, UTag, UText, ThemeConfigProvider as UThemeConfigProvider, UThemePanel, UTimePicker, UTimeline, TimelineItem as UTimelineItem, UTooltip, UTransfer, UTree, UTreeSelect, UUpload, affixEmits, affixProps, alertEmits, alertProps, alertType, alertVariant, anchorEmits, anchorLinkEmits, anchorLinkProps, anchorProps, anyType, appearanceType, arrayType, autoCompleteEmits, autoCompleteProps, avatarEmits, avatarProps, avatarShape, backTopProps, badgeProps, badgeStatus, badgeType, baseOptionsProps, breadcrumbProps, buttonEmits, buttonGroupProps, buttonProps, buttonType, buttonVariantType, calendarEmits, calendarProps, cardMetaProps, cardProps, carouselArrow, carouselDirection, carouselDots, carouselEffect, carouselEmits, carouselProps, carouselTrigger, cascaderEmits, cascaderProps, checkboxButtonType, checkboxEmits, checkboxGroupEmits, checkboxGroupProps, checkboxGroupType, checkboxProps, checkedStrategy, colProps, collapseEmits, collapsePanelProps, collapseProps, colorPickerEmits, colorPickerFormat, colorPickerProps, colorType, datePickerEmits, datePickerProps, installer as default, directionType, dividerOrientation, dividerProps, dividerSize, dividerType, drawerCloseType, drawerEmits, drawerPlacement, drawerProps, drawerSize, dropdownEmits, dropdownProps, dropdownTrigger, emptyProps, extraPosition, formEmits, formItemProps, formLayout, formProps, gridAlign, gridJustify, hackColors, iconEmits, iconProps, imageEmits, imageProps, imageViewerEmits, imageViewerProps, infoViewProps, infoViewSize, inputEmits, inputNumberEmits, inputNumberProps, inputNumberType, inputProps, inputType, install, isCascaderSingleValue, isCascaderUnitValue, labelAlign, linkEmits, linkProps, linkType, listExtraPopsition, listItemLayout, listItemMetaProps, listItemProps, listProps, loadingBar, menuEmits, menuItemEmits, menuItemGroupProps, menuItemProps, menuMode, menuProps, menuTheme, message, middleSizeMap, normalSizeMap, notice$1 as notice, objectType, optionProps, pageHeaderEmits, pageHeaderProps, pageinationSize, paginationEmits, paginationProps, paginationVariants, popConfirmEmits, popConfirmProps, popoverEmits, popoverProps, popoverTrigger, popoverType, progressEmits, progressProps, progressStatus, progressType, radioButtonType, radioEmits, radioGroupEmits, radioGroupProps, radioGroupType, radioProps, radiusType, rangeDirection, rateEmits, rateProps, resultProps, resultStatus, rowProps, scrollbarContextKey, scrollbarEmits, scrollbarProps, selectEmits, selectProps, siderEmits, siderProps, siderTheme, skeletionProps, skeletonItemProps, sliderEmits, sliderProps, spaceAlign, spaceDirection, spaceProps, spaceSizeMap, spinAnimation, spinProps, statisticProps, statusType, stepProps, stepsEmits, stepsLabelPlacement, stepsProps, stepsSize, stepsStatus, stepsType, subMenuEmits, subMenuProps, switchEmits, switchProps, tabNavEmits, tabNavProps, tabPaneProps, tabPosition, tableEmits, tableProps, tabsEmits, tabsProps, tabsType, tagEmits, tagProps, themeConfigProviderProps, themePanelProps, timePickerEmits, timePickerProps, timelineItemPosition, timelineItemProps, timelineMode, timelineProps, tooltipEmits, tooltipTrigger, tooltipsProps, transferEmits, transferProps, transferSide, treeEmits, treeNodeProps, treeProps, treeSelectEmits, treeSelectProps, uploadEmits, uploadProps, validateStatus, variantType };
|