@koi-design/uxd-ui 14.0.0 → 14.0.2
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/AutoComplete/AutoComplete.vue.d.ts +9 -0
- package/es/components/AutoComplete/index.d.ts +18 -0
- package/es/components/ColorPicker/ColorPicker.vue.d.ts +9 -0
- package/es/components/ColorPicker/index.d.ts +18 -0
- package/es/components/Dropdown/DropdownMenu.mjs +0 -1
- package/es/components/Dropdown/DropdownMenu.mjs.map +1 -1
- package/es/components/Input/Input.d.ts +6 -0
- package/es/components/Input/Input.mjs +1 -0
- package/es/components/Input/Input.mjs.map +1 -1
- package/es/components/Input/Input.type.d.ts +3 -0
- package/es/components/Input/Input.type.mjs +3 -0
- package/es/components/Input/Input.type.mjs.map +1 -1
- package/es/components/Input/index.d.ts +9 -0
- package/es/components/Modal/ConfirmDialog.mjs +24 -27
- package/es/components/Modal/ConfirmDialog.mjs.map +1 -1
- package/es/components/Modal/ConfirmDialog.vue.d.ts +18 -11
- package/es/components/Modal/Modal.mjs +6 -6
- package/es/components/Modal/Modal.mjs.map +1 -1
- package/es/components/Modal/Modal.type.d.ts +8 -5
- package/es/components/Modal/Modal.type.mjs +8 -5
- package/es/components/Modal/Modal.type.mjs.map +1 -1
- package/es/components/Modal/Modal.vue.d.ts +18 -11
- package/es/components/Modal/index.d.ts +30 -18
- package/es/components/Pagination/Options.d.ts +8 -0
- package/es/components/Pagination/Options.mjs +6 -1
- package/es/components/Pagination/Options.mjs.map +1 -1
- package/es/components/Pagination/Pagination.d.ts +8 -0
- package/es/components/Pagination/Pagination.mjs +2 -0
- package/es/components/Pagination/Pagination.mjs.map +1 -1
- package/es/components/Pagination/index.d.ts +16 -0
- package/es/components/Table/Table.vue.d.ts +16 -0
- package/es/components/Transfer/Transfer.vue.d.ts +27 -0
- package/es/components/Transfer/TransferList.vue.d.ts +9 -0
- package/es/components/Transfer/index.d.ts +72 -0
- package/lib/components/AutoComplete/AutoComplete.vue.d.ts +9 -0
- package/lib/components/AutoComplete/index.d.ts +18 -0
- package/lib/components/ColorPicker/ColorPicker.vue.d.ts +9 -0
- package/lib/components/ColorPicker/index.d.ts +18 -0
- package/lib/components/Dropdown/DropdownMenu.js +0 -1
- package/lib/components/Dropdown/DropdownMenu.js.map +1 -1
- package/lib/components/Input/Input.d.ts +6 -0
- package/lib/components/Input/Input.js +1 -0
- package/lib/components/Input/Input.js.map +1 -1
- package/lib/components/Input/Input.type.d.ts +3 -0
- package/lib/components/Input/Input.type.js +3 -0
- package/lib/components/Input/Input.type.js.map +1 -1
- package/lib/components/Input/index.d.ts +9 -0
- package/lib/components/Modal/ConfirmDialog.js +23 -26
- package/lib/components/Modal/ConfirmDialog.js.map +1 -1
- package/lib/components/Modal/ConfirmDialog.vue.d.ts +18 -11
- package/lib/components/Modal/Modal.js +6 -6
- package/lib/components/Modal/Modal.js.map +1 -1
- package/lib/components/Modal/Modal.type.d.ts +8 -5
- package/lib/components/Modal/Modal.type.js +8 -5
- package/lib/components/Modal/Modal.type.js.map +1 -1
- package/lib/components/Modal/Modal.vue.d.ts +18 -11
- package/lib/components/Modal/index.d.ts +30 -18
- package/lib/components/Pagination/Options.d.ts +8 -0
- package/lib/components/Pagination/Options.js +6 -1
- package/lib/components/Pagination/Options.js.map +1 -1
- package/lib/components/Pagination/Pagination.d.ts +8 -0
- package/lib/components/Pagination/Pagination.js +2 -0
- package/lib/components/Pagination/Pagination.js.map +1 -1
- package/lib/components/Pagination/index.d.ts +16 -0
- package/lib/components/Table/Table.vue.d.ts +16 -0
- package/lib/components/Transfer/Transfer.vue.d.ts +27 -0
- package/lib/components/Transfer/TransferList.vue.d.ts +9 -0
- package/lib/components/Transfer/index.d.ts +72 -0
- package/package.json +1 -1
- package/styles/animation/zoom.less +1 -3
- package/styles/components/alert/index.css +1 -1
- 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/var.less +2 -2
- 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/colorPicker/index.css +1 -1
- package/styles/components/colorPicker/var.less +1 -1
- package/styles/components/datePicker/index.css +1 -1
- package/styles/components/datePicker/picker.less +1 -1
- package/styles/components/dropdown/index.css +1 -1
- package/styles/components/dropdown/index.less +12 -26
- package/styles/components/dropdown/var.less +6 -19
- package/styles/components/form/index.css +1 -1
- package/styles/components/form/index.less +50 -30
- package/styles/components/form/var.less +5 -8
- package/styles/components/icon/index.css +1 -1
- package/styles/components/input/index.css +1 -1
- package/styles/components/input/index.less +4 -3
- package/styles/components/inputNumber/index.css +1 -1
- package/styles/components/link/index.css +1 -1
- package/styles/components/link/var.less +4 -4
- package/styles/components/loadingBar/index.css +1 -1
- package/styles/components/loadingBar/index.less +1 -1
- package/styles/components/mentions/index.css +1 -1
- package/styles/components/message/index.css +1 -1
- package/styles/components/message/var.less +1 -1
- package/styles/components/modal/confirm.less +15 -32
- package/styles/components/modal/index.css +1 -1
- package/styles/components/modal/index.less +1 -0
- package/styles/components/modal/modal.less +34 -68
- package/styles/components/modal/var.less +20 -26
- package/styles/components/pagination/index.css +1 -1
- package/styles/components/pagination/index.less +41 -178
- package/styles/components/pagination/var.less +8 -21
- package/styles/components/progress/index.css +1 -1
- package/styles/components/progress/index.less +2 -2
- package/styles/components/progress/var.less +1 -1
- package/styles/components/result/index.css +1 -1
- package/styles/components/result/var.less +1 -1
- package/styles/components/select/index.css +1 -1
- package/styles/components/select/index.less +4 -11
- package/styles/components/select/var.less +1 -8
- package/styles/components/spin/index.css +1 -1
- package/styles/components/steps/index.css +1 -1
- package/styles/components/steps/var.less +10 -10
- package/styles/components/tabs/index.css +1 -1
- package/styles/components/tabs/var.less +1 -1
- package/styles/components/tag/index.css +1 -1
- package/styles/components/tag/var.less +1 -1
- package/styles/components/text/index.css +1 -1
- package/styles/components/text/index.less +1 -1
- package/styles/components/timePicker/index.css +1 -1
- package/styles/components/timePicker/index.less +3 -3
- package/styles/components/timeline/index.css +1 -1
- package/styles/components/timeline/index.less +2 -2
- package/styles/components/transfer/index.css +1 -1
- package/styles/components/transfer/var.less +1 -1
- package/styles/components/upload/index.css +1 -1
- package/styles/components/upload/var.less +2 -2
- package/styles/cssVariable.css +1 -1
- package/styles/cssVariable.less +1 -1
- package/styles/index.css +1 -1
- package/types/components/AutoComplete/AutoComplete.vue.d.ts +9 -0
- package/types/components/AutoComplete/index.d.ts +18 -0
- package/types/components/ColorPicker/ColorPicker.vue.d.ts +9 -0
- package/types/components/ColorPicker/index.d.ts +18 -0
- package/types/components/Input/Input.d.ts +6 -0
- package/types/components/Input/Input.type.d.ts +3 -0
- package/types/components/Input/index.d.ts +9 -0
- package/types/components/Modal/ConfirmDialog.vue.d.ts +18 -11
- package/types/components/Modal/Modal.type.d.ts +8 -5
- package/types/components/Modal/Modal.vue.d.ts +18 -11
- package/types/components/Modal/index.d.ts +30 -18
- package/types/components/Pagination/Options.d.ts +8 -0
- package/types/components/Pagination/Pagination.d.ts +8 -0
- package/types/components/Pagination/index.d.ts +16 -0
- package/types/components/Table/Table.vue.d.ts +16 -0
- package/types/components/Transfer/Transfer.vue.d.ts +27 -0
- package/types/components/Transfer/TransferList.vue.d.ts +9 -0
- package/types/components/Transfer/index.d.ts +72 -0
- package/uxd-ui.css +1 -1
- package/uxd-ui.esm.min.mjs +6 -6
- package/uxd-ui.esm.mjs +50 -40
- package/uxd-ui.umd.js +50 -40
- package/uxd-ui.umd.min.js +4 -4
package/uxd-ui.esm.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @koi-design/uxd-ui@4.0.
|
|
1
|
+
/*! @koi-design/uxd-ui@4.0.2 */
|
|
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
4
|
import { X, CircleCheck, CircleX, CircleAlert, Info, LoaderCircle, 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';
|
|
@@ -6590,6 +6590,9 @@ const inputProps = {
|
|
|
6590
6590
|
},
|
|
6591
6591
|
direction: {
|
|
6592
6592
|
type: String
|
|
6593
|
+
},
|
|
6594
|
+
inputSize: {
|
|
6595
|
+
type: Number
|
|
6593
6596
|
}
|
|
6594
6597
|
};
|
|
6595
6598
|
const inputEmits = {
|
|
@@ -6919,6 +6922,7 @@ var Input = defineComponent({
|
|
|
6919
6922
|
"ref": "inputRef",
|
|
6920
6923
|
"class": [`${this.prefixCls}`],
|
|
6921
6924
|
"type": this.nativeType,
|
|
6925
|
+
"size": this.inputSize,
|
|
6922
6926
|
"readonly": this.readonly,
|
|
6923
6927
|
"placeholder": this.placeholder,
|
|
6924
6928
|
"autofocus": this.autofocus,
|
|
@@ -12489,7 +12493,6 @@ var DropdownMenu = defineComponent({
|
|
|
12489
12493
|
});
|
|
12490
12494
|
}
|
|
12491
12495
|
return createVNode(UMenu.Item, {
|
|
12492
|
-
"prefixCls": prefixCls,
|
|
12493
12496
|
"name": m.value,
|
|
12494
12497
|
"color": m.color,
|
|
12495
12498
|
"disabled": m.disabled,
|
|
@@ -28865,6 +28868,10 @@ var Options = defineComponent({
|
|
|
28865
28868
|
dropdownWidth: {
|
|
28866
28869
|
type: Number,
|
|
28867
28870
|
default: 128
|
|
28871
|
+
},
|
|
28872
|
+
totalPage: {
|
|
28873
|
+
type: Number,
|
|
28874
|
+
required: true
|
|
28868
28875
|
}
|
|
28869
28876
|
},
|
|
28870
28877
|
emits: {
|
|
@@ -28938,7 +28945,8 @@ var Options = defineComponent({
|
|
|
28938
28945
|
"modelValue": stateValue.value,
|
|
28939
28946
|
"onUpdate:modelValue": ($event) => stateValue.value = $event,
|
|
28940
28947
|
"onKeyup": handleJumpTo,
|
|
28941
|
-
"onBlur": handleBlur
|
|
28948
|
+
"onBlur": handleBlur,
|
|
28949
|
+
"inputSize": props.totalPage.toString().length
|
|
28942
28950
|
}, null), createVNode("span", null, [props.locale.page])]);
|
|
28943
28951
|
}
|
|
28944
28952
|
return null;
|
|
@@ -29247,6 +29255,7 @@ var Pagination = defineComponent({
|
|
|
29247
29255
|
"modelValue": this.stateCurrent,
|
|
29248
29256
|
"disabled": this.disabled,
|
|
29249
29257
|
"size": this.size,
|
|
29258
|
+
"inputSize": this.totalPage.toString().length,
|
|
29250
29259
|
"onKeyup": this.onKeyUp,
|
|
29251
29260
|
"onKeydown": this.onKeyDown,
|
|
29252
29261
|
"onBlur": this.onBlur
|
|
@@ -29296,6 +29305,7 @@ var Pagination = defineComponent({
|
|
|
29296
29305
|
"dropdownWidth": this.selectDropdownWidth,
|
|
29297
29306
|
"variant": this.variant,
|
|
29298
29307
|
"pageSizeOptions": this.pageSizeOptions,
|
|
29308
|
+
"totalPage": this.totalPage,
|
|
29299
29309
|
"onChange-page-size": this.onChangePageSize,
|
|
29300
29310
|
"onChange-page": this.onChangePage
|
|
29301
29311
|
}, null)]);
|
|
@@ -41530,7 +41540,14 @@ const modalProps = {
|
|
|
41530
41540
|
type: Boolean,
|
|
41531
41541
|
default: false
|
|
41532
41542
|
},
|
|
41533
|
-
title:
|
|
41543
|
+
title: {
|
|
41544
|
+
type: String,
|
|
41545
|
+
default: ""
|
|
41546
|
+
},
|
|
41547
|
+
description: {
|
|
41548
|
+
type: String,
|
|
41549
|
+
default: ""
|
|
41550
|
+
},
|
|
41534
41551
|
closable: {
|
|
41535
41552
|
type: Boolean,
|
|
41536
41553
|
default: false
|
|
@@ -41571,10 +41588,6 @@ const modalProps = {
|
|
|
41571
41588
|
default: () => X
|
|
41572
41589
|
},
|
|
41573
41590
|
afterClose: Function,
|
|
41574
|
-
vertical: {
|
|
41575
|
-
type: Boolean,
|
|
41576
|
-
default: false
|
|
41577
|
-
},
|
|
41578
41591
|
locale: Object,
|
|
41579
41592
|
top: {
|
|
41580
41593
|
type: Number,
|
|
@@ -41681,9 +41694,6 @@ const _sfc_main$7 = defineComponent({
|
|
|
41681
41694
|
} else {
|
|
41682
41695
|
const width = typeof props.width === "number" ? `${props.width}px` : props.width;
|
|
41683
41696
|
style.width = width;
|
|
41684
|
-
if (!props.vertical) {
|
|
41685
|
-
style.marginTop = `${props.top}px`;
|
|
41686
|
-
}
|
|
41687
41697
|
}
|
|
41688
41698
|
if (props.draggable) {
|
|
41689
41699
|
style.transform = `translate(${dragData.x}px, ${dragData.y}px)`;
|
|
@@ -41867,10 +41877,8 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41867
41877
|
createElementVNode("div", {
|
|
41868
41878
|
class: normalizeClass([
|
|
41869
41879
|
`${_ctx.prefixCls}-wrap`,
|
|
41870
|
-
`${_ctx.prefixCls}-size-${_ctx.size}`,
|
|
41871
41880
|
..._ctx.customClass,
|
|
41872
41881
|
{
|
|
41873
|
-
[`${_ctx.prefixCls}-vertical`]: _ctx.vertical,
|
|
41874
41882
|
[`${_ctx.prefixCls}-no-mask`]: _ctx.draggable,
|
|
41875
41883
|
[`${_ctx.prefixCls}-visible`]: _ctx.wrapVisible,
|
|
41876
41884
|
[`${_ctx.prefixCls}-full-screen`]: _ctx.fullScreen
|
|
@@ -41896,6 +41904,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41896
41904
|
ref: "contentRef",
|
|
41897
41905
|
class: normalizeClass([
|
|
41898
41906
|
`${_ctx.prefixCls}`,
|
|
41907
|
+
`${_ctx.prefixCls}-size-${_ctx.size}`,
|
|
41899
41908
|
{
|
|
41900
41909
|
[`${_ctx.prefixCls}-drag`]: _ctx.draggable,
|
|
41901
41910
|
[`${_ctx.prefixCls}-dragging`]: _ctx.draggable && _ctx.dragData.dragging,
|
|
@@ -41931,7 +41940,11 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41931
41940
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
41932
41941
|
createElementVNode("div", {
|
|
41933
41942
|
class: normalizeClass(`${_ctx.prefixCls}-title`)
|
|
41934
|
-
}, toDisplayString(_ctx.title), 3)
|
|
41943
|
+
}, toDisplayString(_ctx.title), 3),
|
|
41944
|
+
_ctx.description ? (openBlock(), createElementBlock("div", {
|
|
41945
|
+
key: 0,
|
|
41946
|
+
class: normalizeClass(`${_ctx.prefixCls}-description`)
|
|
41947
|
+
}, toDisplayString(_ctx.description), 3)) : createCommentVNode("v-if", true)
|
|
41935
41948
|
])
|
|
41936
41949
|
], 2)) : createCommentVNode("v-if", true),
|
|
41937
41950
|
createElementVNode("div", {
|
|
@@ -42068,11 +42081,33 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42068
42081
|
"mask-closable": false,
|
|
42069
42082
|
width: _ctx.computedWidth,
|
|
42070
42083
|
size: _ctx.size,
|
|
42071
|
-
"footer-hide": "",
|
|
42072
42084
|
"after-close": _ctx.afterClose,
|
|
42073
42085
|
closable: _ctx.closable,
|
|
42074
42086
|
onClose: _ctx.closableClose
|
|
42075
42087
|
}, {
|
|
42088
|
+
footer: withCtx(() => [
|
|
42089
|
+
_ctx.okCancel ? (openBlock(), createBlock(_component_UButton, {
|
|
42090
|
+
key: 0,
|
|
42091
|
+
size: _ctx.size,
|
|
42092
|
+
onClick: _ctx.handleCancel
|
|
42093
|
+
}, {
|
|
42094
|
+
default: withCtx(() => [
|
|
42095
|
+
createTextVNode(toDisplayString(_ctx.cancelText || _ctx.computedLocale.cancelText), 1)
|
|
42096
|
+
]),
|
|
42097
|
+
_: 1
|
|
42098
|
+
}, 8, ["size", "onClick"])) : createCommentVNode("v-if", true),
|
|
42099
|
+
createVNode(_component_UButton, {
|
|
42100
|
+
type: "primary",
|
|
42101
|
+
size: _ctx.size,
|
|
42102
|
+
loading: _ctx.stateLoading,
|
|
42103
|
+
onClick: _ctx.handleOk
|
|
42104
|
+
}, {
|
|
42105
|
+
default: withCtx(() => [
|
|
42106
|
+
createTextVNode(toDisplayString(_ctx.okText || _ctx.computedLocale.okText), 1)
|
|
42107
|
+
]),
|
|
42108
|
+
_: 1
|
|
42109
|
+
}, 8, ["size", "loading", "onClick"])
|
|
42110
|
+
]),
|
|
42076
42111
|
default: withCtx(() => [
|
|
42077
42112
|
createElementVNode("div", {
|
|
42078
42113
|
class: normalizeClass(`${_ctx.prefixCls}-confirm-body-wrapper`)
|
|
@@ -42106,31 +42141,6 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42106
42141
|
], 64))
|
|
42107
42142
|
], 2)
|
|
42108
42143
|
], 2)
|
|
42109
|
-
], 2),
|
|
42110
|
-
createElementVNode("div", {
|
|
42111
|
-
class: normalizeClass(`${_ctx.prefixCls}-confirm-button-wrap`)
|
|
42112
|
-
}, [
|
|
42113
|
-
_ctx.okCancel ? (openBlock(), createBlock(_component_UButton, {
|
|
42114
|
-
key: 0,
|
|
42115
|
-
size: _ctx.size,
|
|
42116
|
-
onClick: _ctx.handleCancel
|
|
42117
|
-
}, {
|
|
42118
|
-
default: withCtx(() => [
|
|
42119
|
-
createTextVNode(toDisplayString(_ctx.cancelText || _ctx.computedLocale.cancelText), 1)
|
|
42120
|
-
]),
|
|
42121
|
-
_: 1
|
|
42122
|
-
}, 8, ["size", "onClick"])) : createCommentVNode("v-if", true),
|
|
42123
|
-
createVNode(_component_UButton, {
|
|
42124
|
-
type: "primary",
|
|
42125
|
-
size: _ctx.size,
|
|
42126
|
-
loading: _ctx.stateLoading,
|
|
42127
|
-
onClick: _ctx.handleOk
|
|
42128
|
-
}, {
|
|
42129
|
-
default: withCtx(() => [
|
|
42130
|
-
createTextVNode(toDisplayString(_ctx.okText || _ctx.computedLocale.okText), 1)
|
|
42131
|
-
]),
|
|
42132
|
-
_: 1
|
|
42133
|
-
}, 8, ["size", "loading", "onClick"])
|
|
42134
42144
|
], 2)
|
|
42135
42145
|
], 2)
|
|
42136
42146
|
]),
|
package/uxd-ui.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @koi-design/uxd-ui@4.0.
|
|
1
|
+
/*! @koi-design/uxd-ui@4.0.2 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('lucide-vue-next')) :
|
|
@@ -6593,6 +6593,9 @@
|
|
|
6593
6593
|
},
|
|
6594
6594
|
direction: {
|
|
6595
6595
|
type: String
|
|
6596
|
+
},
|
|
6597
|
+
inputSize: {
|
|
6598
|
+
type: Number
|
|
6596
6599
|
}
|
|
6597
6600
|
};
|
|
6598
6601
|
const inputEmits = {
|
|
@@ -6922,6 +6925,7 @@
|
|
|
6922
6925
|
"ref": "inputRef",
|
|
6923
6926
|
"class": [`${this.prefixCls}`],
|
|
6924
6927
|
"type": this.nativeType,
|
|
6928
|
+
"size": this.inputSize,
|
|
6925
6929
|
"readonly": this.readonly,
|
|
6926
6930
|
"placeholder": this.placeholder,
|
|
6927
6931
|
"autofocus": this.autofocus,
|
|
@@ -12492,7 +12496,6 @@
|
|
|
12492
12496
|
});
|
|
12493
12497
|
}
|
|
12494
12498
|
return vue.createVNode(UMenu.Item, {
|
|
12495
|
-
"prefixCls": prefixCls,
|
|
12496
12499
|
"name": m.value,
|
|
12497
12500
|
"color": m.color,
|
|
12498
12501
|
"disabled": m.disabled,
|
|
@@ -28868,6 +28871,10 @@
|
|
|
28868
28871
|
dropdownWidth: {
|
|
28869
28872
|
type: Number,
|
|
28870
28873
|
default: 128
|
|
28874
|
+
},
|
|
28875
|
+
totalPage: {
|
|
28876
|
+
type: Number,
|
|
28877
|
+
required: true
|
|
28871
28878
|
}
|
|
28872
28879
|
},
|
|
28873
28880
|
emits: {
|
|
@@ -28941,7 +28948,8 @@
|
|
|
28941
28948
|
"modelValue": stateValue.value,
|
|
28942
28949
|
"onUpdate:modelValue": ($event) => stateValue.value = $event,
|
|
28943
28950
|
"onKeyup": handleJumpTo,
|
|
28944
|
-
"onBlur": handleBlur
|
|
28951
|
+
"onBlur": handleBlur,
|
|
28952
|
+
"inputSize": props.totalPage.toString().length
|
|
28945
28953
|
}, null), vue.createVNode("span", null, [props.locale.page])]);
|
|
28946
28954
|
}
|
|
28947
28955
|
return null;
|
|
@@ -29250,6 +29258,7 @@
|
|
|
29250
29258
|
"modelValue": this.stateCurrent,
|
|
29251
29259
|
"disabled": this.disabled,
|
|
29252
29260
|
"size": this.size,
|
|
29261
|
+
"inputSize": this.totalPage.toString().length,
|
|
29253
29262
|
"onKeyup": this.onKeyUp,
|
|
29254
29263
|
"onKeydown": this.onKeyDown,
|
|
29255
29264
|
"onBlur": this.onBlur
|
|
@@ -29299,6 +29308,7 @@
|
|
|
29299
29308
|
"dropdownWidth": this.selectDropdownWidth,
|
|
29300
29309
|
"variant": this.variant,
|
|
29301
29310
|
"pageSizeOptions": this.pageSizeOptions,
|
|
29311
|
+
"totalPage": this.totalPage,
|
|
29302
29312
|
"onChange-page-size": this.onChangePageSize,
|
|
29303
29313
|
"onChange-page": this.onChangePage
|
|
29304
29314
|
}, null)]);
|
|
@@ -41533,7 +41543,14 @@
|
|
|
41533
41543
|
type: Boolean,
|
|
41534
41544
|
default: false
|
|
41535
41545
|
},
|
|
41536
|
-
title:
|
|
41546
|
+
title: {
|
|
41547
|
+
type: String,
|
|
41548
|
+
default: ""
|
|
41549
|
+
},
|
|
41550
|
+
description: {
|
|
41551
|
+
type: String,
|
|
41552
|
+
default: ""
|
|
41553
|
+
},
|
|
41537
41554
|
closable: {
|
|
41538
41555
|
type: Boolean,
|
|
41539
41556
|
default: false
|
|
@@ -41574,10 +41591,6 @@
|
|
|
41574
41591
|
default: () => lucideVueNext.X
|
|
41575
41592
|
},
|
|
41576
41593
|
afterClose: Function,
|
|
41577
|
-
vertical: {
|
|
41578
|
-
type: Boolean,
|
|
41579
|
-
default: false
|
|
41580
|
-
},
|
|
41581
41594
|
locale: Object,
|
|
41582
41595
|
top: {
|
|
41583
41596
|
type: Number,
|
|
@@ -41684,9 +41697,6 @@
|
|
|
41684
41697
|
} else {
|
|
41685
41698
|
const width = typeof props.width === "number" ? `${props.width}px` : props.width;
|
|
41686
41699
|
style.width = width;
|
|
41687
|
-
if (!props.vertical) {
|
|
41688
|
-
style.marginTop = `${props.top}px`;
|
|
41689
|
-
}
|
|
41690
41700
|
}
|
|
41691
41701
|
if (props.draggable) {
|
|
41692
41702
|
style.transform = `translate(${dragData.x}px, ${dragData.y}px)`;
|
|
@@ -41870,10 +41880,8 @@
|
|
|
41870
41880
|
vue.createElementVNode("div", {
|
|
41871
41881
|
class: vue.normalizeClass([
|
|
41872
41882
|
`${_ctx.prefixCls}-wrap`,
|
|
41873
|
-
`${_ctx.prefixCls}-size-${_ctx.size}`,
|
|
41874
41883
|
..._ctx.customClass,
|
|
41875
41884
|
{
|
|
41876
|
-
[`${_ctx.prefixCls}-vertical`]: _ctx.vertical,
|
|
41877
41885
|
[`${_ctx.prefixCls}-no-mask`]: _ctx.draggable,
|
|
41878
41886
|
[`${_ctx.prefixCls}-visible`]: _ctx.wrapVisible,
|
|
41879
41887
|
[`${_ctx.prefixCls}-full-screen`]: _ctx.fullScreen
|
|
@@ -41899,6 +41907,7 @@
|
|
|
41899
41907
|
ref: "contentRef",
|
|
41900
41908
|
class: vue.normalizeClass([
|
|
41901
41909
|
`${_ctx.prefixCls}`,
|
|
41910
|
+
`${_ctx.prefixCls}-size-${_ctx.size}`,
|
|
41902
41911
|
{
|
|
41903
41912
|
[`${_ctx.prefixCls}-drag`]: _ctx.draggable,
|
|
41904
41913
|
[`${_ctx.prefixCls}-dragging`]: _ctx.draggable && _ctx.dragData.dragging,
|
|
@@ -41934,7 +41943,11 @@
|
|
|
41934
41943
|
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
41935
41944
|
vue.createElementVNode("div", {
|
|
41936
41945
|
class: vue.normalizeClass(`${_ctx.prefixCls}-title`)
|
|
41937
|
-
}, vue.toDisplayString(_ctx.title), 3)
|
|
41946
|
+
}, vue.toDisplayString(_ctx.title), 3),
|
|
41947
|
+
_ctx.description ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
41948
|
+
key: 0,
|
|
41949
|
+
class: vue.normalizeClass(`${_ctx.prefixCls}-description`)
|
|
41950
|
+
}, vue.toDisplayString(_ctx.description), 3)) : vue.createCommentVNode("v-if", true)
|
|
41938
41951
|
])
|
|
41939
41952
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
41940
41953
|
vue.createElementVNode("div", {
|
|
@@ -42071,11 +42084,33 @@
|
|
|
42071
42084
|
"mask-closable": false,
|
|
42072
42085
|
width: _ctx.computedWidth,
|
|
42073
42086
|
size: _ctx.size,
|
|
42074
|
-
"footer-hide": "",
|
|
42075
42087
|
"after-close": _ctx.afterClose,
|
|
42076
42088
|
closable: _ctx.closable,
|
|
42077
42089
|
onClose: _ctx.closableClose
|
|
42078
42090
|
}, {
|
|
42091
|
+
footer: vue.withCtx(() => [
|
|
42092
|
+
_ctx.okCancel ? (vue.openBlock(), vue.createBlock(_component_UButton, {
|
|
42093
|
+
key: 0,
|
|
42094
|
+
size: _ctx.size,
|
|
42095
|
+
onClick: _ctx.handleCancel
|
|
42096
|
+
}, {
|
|
42097
|
+
default: vue.withCtx(() => [
|
|
42098
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.cancelText || _ctx.computedLocale.cancelText), 1)
|
|
42099
|
+
]),
|
|
42100
|
+
_: 1
|
|
42101
|
+
}, 8, ["size", "onClick"])) : vue.createCommentVNode("v-if", true),
|
|
42102
|
+
vue.createVNode(_component_UButton, {
|
|
42103
|
+
type: "primary",
|
|
42104
|
+
size: _ctx.size,
|
|
42105
|
+
loading: _ctx.stateLoading,
|
|
42106
|
+
onClick: _ctx.handleOk
|
|
42107
|
+
}, {
|
|
42108
|
+
default: vue.withCtx(() => [
|
|
42109
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.okText || _ctx.computedLocale.okText), 1)
|
|
42110
|
+
]),
|
|
42111
|
+
_: 1
|
|
42112
|
+
}, 8, ["size", "loading", "onClick"])
|
|
42113
|
+
]),
|
|
42079
42114
|
default: vue.withCtx(() => [
|
|
42080
42115
|
vue.createElementVNode("div", {
|
|
42081
42116
|
class: vue.normalizeClass(`${_ctx.prefixCls}-confirm-body-wrapper`)
|
|
@@ -42109,31 +42144,6 @@
|
|
|
42109
42144
|
], 64))
|
|
42110
42145
|
], 2)
|
|
42111
42146
|
], 2)
|
|
42112
|
-
], 2),
|
|
42113
|
-
vue.createElementVNode("div", {
|
|
42114
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-confirm-button-wrap`)
|
|
42115
|
-
}, [
|
|
42116
|
-
_ctx.okCancel ? (vue.openBlock(), vue.createBlock(_component_UButton, {
|
|
42117
|
-
key: 0,
|
|
42118
|
-
size: _ctx.size,
|
|
42119
|
-
onClick: _ctx.handleCancel
|
|
42120
|
-
}, {
|
|
42121
|
-
default: vue.withCtx(() => [
|
|
42122
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.cancelText || _ctx.computedLocale.cancelText), 1)
|
|
42123
|
-
]),
|
|
42124
|
-
_: 1
|
|
42125
|
-
}, 8, ["size", "onClick"])) : vue.createCommentVNode("v-if", true),
|
|
42126
|
-
vue.createVNode(_component_UButton, {
|
|
42127
|
-
type: "primary",
|
|
42128
|
-
size: _ctx.size,
|
|
42129
|
-
loading: _ctx.stateLoading,
|
|
42130
|
-
onClick: _ctx.handleOk
|
|
42131
|
-
}, {
|
|
42132
|
-
default: vue.withCtx(() => [
|
|
42133
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.okText || _ctx.computedLocale.okText), 1)
|
|
42134
|
-
]),
|
|
42135
|
-
_: 1
|
|
42136
|
-
}, 8, ["size", "loading", "onClick"])
|
|
42137
42147
|
], 2)
|
|
42138
42148
|
], 2)
|
|
42139
42149
|
]),
|