vue-devui 1.6.4-markdown.0 → 1.6.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/auto-complete/index.es.js +2 -1
- package/auto-complete/index.umd.js +1 -1
- package/button/index.es.js +2 -1
- package/button/index.umd.js +1 -1
- package/carousel/index.es.js +213 -36
- package/carousel/index.umd.js +1 -1
- package/carousel/style.css +1 -1
- package/category-search/index.es.js +2 -1
- package/category-search/index.umd.js +1 -1
- package/collapse/index.es.js +18 -15
- package/collapse/index.umd.js +5 -5
- package/data-grid/index.es.js +2 -1
- package/data-grid/index.umd.js +1 -1
- package/date-picker-pro/index.es.js +6 -21
- package/date-picker-pro/index.umd.js +12 -12
- package/date-picker-pro/style.css +1 -1
- package/editable-select/index.es.js +2 -1
- package/editable-select/index.umd.js +1 -1
- package/editor-md/index.es.js +2 -18
- package/editor-md/index.umd.js +19 -19
- package/icon/index.es.js +2 -1
- package/icon/index.umd.js +1 -1
- package/input/index.es.js +6 -21
- package/input/index.umd.js +11 -11
- package/input/style.css +1 -1
- package/mention/index.es.js +2 -1
- package/mention/index.umd.js +1 -1
- package/message/index.es.js +2 -1
- package/message/index.umd.js +1 -1
- package/modal/index.es.js +4 -27
- package/modal/index.umd.js +1 -7
- package/modal/style.css +1 -1
- package/notification/index.es.js +2 -1
- package/notification/index.umd.js +2 -2
- package/package.json +1 -1
- package/pagination/index.es.js +238 -50
- package/pagination/index.umd.js +21 -16
- package/pagination/style.css +1 -1
- package/result/index.es.js +2 -1
- package/result/index.umd.js +1 -1
- package/search/index.es.js +27 -48
- package/search/index.umd.js +14 -18
- package/search/style.css +1 -1
- package/select/index.es.js +42 -40
- package/select/index.umd.js +15 -10
- package/select/style.css +1 -1
- package/steps/index.es.js +2 -1
- package/steps/index.umd.js +1 -1
- package/style.css +2 -2
- package/table/index.es.js +2 -1
- package/table/index.umd.js +1 -1
- package/time-picker/index.es.js +6 -21
- package/time-picker/index.umd.js +16 -16
- package/time-picker/style.css +1 -1
- package/time-select/index.es.js +42 -40
- package/time-select/index.umd.js +10 -5
- package/time-select/style.css +1 -1
- package/timeline/index.es.js +2 -1
- package/timeline/index.umd.js +1 -1
- package/types/editor-md/src/composables/use-editor-md.d.ts +0 -1
- package/types/icon/src/icon-types.d.ts +1 -0
- package/types/search/src/components/search-close-icon.d.ts +2 -0
- package/types/search/src/components/search-icon.d.ts +2 -0
- package/types/select/src/components/select-arrow-icon.d.ts +2 -0
- package/upload/index.es.js +2 -1
- package/upload/index.umd.js +2 -2
- package/vue-devui.es.js +79 -168
- package/vue-devui.umd.js +81 -92
- package/types/carousel/src/components/carousel-icons.d.ts +0 -2
- package/types/modal/src/components/modal-icons.d.ts +0 -1
- package/types/svg-icons/index.d.ts +0 -3
package/vue-devui.es.js
CHANGED
|
@@ -10302,7 +10302,8 @@ const DEFAULT_PREFIX = "icon";
|
|
|
10302
10302
|
const iconProps = {
|
|
10303
10303
|
name: {
|
|
10304
10304
|
type: String,
|
|
10305
|
-
default: ""
|
|
10305
|
+
default: "",
|
|
10306
|
+
required: true
|
|
10306
10307
|
},
|
|
10307
10308
|
size: {
|
|
10308
10309
|
type: [Number, String],
|
|
@@ -11991,41 +11992,6 @@ const carouselProps = {
|
|
|
11991
11992
|
default: 500
|
|
11992
11993
|
}
|
|
11993
11994
|
};
|
|
11994
|
-
function CarouselArrowLeft() {
|
|
11995
|
-
return createVNode("svg", {
|
|
11996
|
-
"width": "18px",
|
|
11997
|
-
"height": "18px",
|
|
11998
|
-
"viewBox": "0 0 16 16",
|
|
11999
|
-
"version": "1.1"
|
|
12000
|
-
}, [createVNode("g", {
|
|
12001
|
-
"stroke": "none",
|
|
12002
|
-
"stroke-width": "1",
|
|
12003
|
-
"fill": "none",
|
|
12004
|
-
"fill-rule": "evenodd"
|
|
12005
|
-
}, [createVNode("polygon", {
|
|
12006
|
-
"fill": "#293040",
|
|
12007
|
-
"fill-rule": "nonzero",
|
|
12008
|
-
"points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
|
|
12009
|
-
}, null)])]);
|
|
12010
|
-
}
|
|
12011
|
-
function CarouselArrowRight() {
|
|
12012
|
-
return createVNode("svg", {
|
|
12013
|
-
"width": "18px",
|
|
12014
|
-
"height": "18px",
|
|
12015
|
-
"viewBox": "0 0 16 16",
|
|
12016
|
-
"version": "1.1"
|
|
12017
|
-
}, [createVNode("g", {
|
|
12018
|
-
"stroke": "none",
|
|
12019
|
-
"stroke-width": "1",
|
|
12020
|
-
"fill": "none",
|
|
12021
|
-
"fill-rule": "evenodd"
|
|
12022
|
-
}, [createVNode("polygon", {
|
|
12023
|
-
"fill": "#293040",
|
|
12024
|
-
"fill-rule": "nonzero",
|
|
12025
|
-
"transform": "translate(8.146447, 8.000000) scale(-1, 1) translate(-8.146447, -8.000000) ",
|
|
12026
|
-
"points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
|
|
12027
|
-
}, null)])]);
|
|
12028
|
-
}
|
|
12029
11995
|
var carousel = "";
|
|
12030
11996
|
var Carousel = defineComponent({
|
|
12031
11997
|
name: "DCarousel",
|
|
@@ -12185,10 +12151,14 @@ var Carousel = defineComponent({
|
|
|
12185
12151
|
}, [createVNode("button", {
|
|
12186
12152
|
"class": "arrow-left",
|
|
12187
12153
|
"onClick": () => prev()
|
|
12188
|
-
}, [createVNode(
|
|
12154
|
+
}, [createVNode(DIcon, {
|
|
12155
|
+
"name": "arrow-left"
|
|
12156
|
+
}, null)]), createVNode("button", {
|
|
12189
12157
|
"class": "arrow-right",
|
|
12190
12158
|
"onClick": () => next()
|
|
12191
|
-
}, [createVNode(
|
|
12159
|
+
}, [createVNode(DIcon, {
|
|
12160
|
+
"name": "arrow-right"
|
|
12161
|
+
}, null)])]) : null, createVNode("div", {
|
|
12192
12162
|
"class": ns2.e("item-wrapper"),
|
|
12193
12163
|
"ref": wrapperRef
|
|
12194
12164
|
}, [createVNode("div", {
|
|
@@ -13514,71 +13484,6 @@ const inputProps = {
|
|
|
13514
13484
|
default: false
|
|
13515
13485
|
}
|
|
13516
13486
|
};
|
|
13517
|
-
function SelectArrowIcon() {
|
|
13518
|
-
return createVNode("svg", {
|
|
13519
|
-
"width": "16px",
|
|
13520
|
-
"height": "16px",
|
|
13521
|
-
"viewBox": "0 0 16 16",
|
|
13522
|
-
"version": "1.1",
|
|
13523
|
-
"xmlns": "http://www.w3.org/2000/svg"
|
|
13524
|
-
}, [createVNode("g", {
|
|
13525
|
-
"stroke": "none",
|
|
13526
|
-
"stroke-width": "1",
|
|
13527
|
-
"fill": "none",
|
|
13528
|
-
"fill-rule": "evenodd"
|
|
13529
|
-
}, [createVNode("path", {
|
|
13530
|
-
"d": `M3.64644661,5.64644661 C3.82001296,5.47288026 4.08943736,5.45359511 4.2843055,5.58859116 L4.35355339,5.64644661
|
|
13531
|
-
L8,9.293 L11.6464466,5.64644661 C11.820013,5.47288026 12.0894374,5.45359511 12.2843055,5.58859116 L12.3535534,5.64644661
|
|
13532
|
-
C12.5271197,5.82001296 12.5464049,6.08943736 12.4114088,6.2843055 L12.3535534,6.35355339 L8.35355339,10.3535534
|
|
13533
|
-
C8.17998704,10.5271197 7.91056264,10.5464049 7.7156945,10.4114088 L7.64644661,10.3535534 L3.64644661,6.35355339
|
|
13534
|
-
C3.45118446,6.15829124 3.45118446,5.84170876 3.64644661,5.64644661 Z`
|
|
13535
|
-
}, null)])]);
|
|
13536
|
-
}
|
|
13537
|
-
function SearchIcon$1() {
|
|
13538
|
-
return createVNode("svg", {
|
|
13539
|
-
"width": "16px",
|
|
13540
|
-
"height": "16px",
|
|
13541
|
-
"viewBox": "0 0 16 16",
|
|
13542
|
-
"version": "1.1",
|
|
13543
|
-
"xmlns": "http://www.w3.org/2000/svg"
|
|
13544
|
-
}, [createVNode("g", {
|
|
13545
|
-
"id": "dv-search-icon",
|
|
13546
|
-
"stroke": "none",
|
|
13547
|
-
"stroke-width": "1",
|
|
13548
|
-
"fill": "none",
|
|
13549
|
-
"fill-rule": "evenodd"
|
|
13550
|
-
}, [createVNode("path", {
|
|
13551
|
-
"d": `M7.71295742,1.53283795 C11.0266659,1.53283795 13.7129574,4.21912945 13.7129574,7.53283795 C13.7129574,9.0690006
|
|
13552
|
-
13.1356609,10.4703284 12.1861834,11.5317059 L14.5333041,13.8784875 C14.7285663,14.0737497 14.7285663,14.3903321
|
|
13553
|
-
14.5333041,14.5855943 C14.3597378,14.7591606 14.0903134,14.7784458 13.8954453,14.6434497 L13.8261974,14.5855943
|
|
13554
|
-
L11.4604434,12.2188804 C10.4336319,13.0411023 9.13072017,13.5328379 7.71295742,13.5328379 C4.39924893,13.5328379
|
|
13555
|
-
1.71295742,10.8465464 1.71295742,7.53283795 C1.71295742,4.21912945 4.39924893,1.53283795 7.71295742,1.53283795 Z M7.71295742,2.53283795
|
|
13556
|
-
C4.95153368,2.53283795 2.71295742,4.7714142 2.71295742,7.53283795 C2.71295742,10.2942617 4.95153368,12.5328379 7.71295742,12.5328379
|
|
13557
|
-
C10.4743812,12.5328379 12.7129574,10.2942617 12.7129574,7.53283795 C12.7129574,4.7714142 10.4743812,2.53283795 7.71295742,2.53283795 Z`,
|
|
13558
|
-
"id": "\u5F62\u72B6\u7ED3\u5408",
|
|
13559
|
-
"fill": "#71757F",
|
|
13560
|
-
"fill-rule": "nonzero"
|
|
13561
|
-
}, null)])]);
|
|
13562
|
-
}
|
|
13563
|
-
function InputClearIcon() {
|
|
13564
|
-
return createVNode("svg", {
|
|
13565
|
-
"width": "16px",
|
|
13566
|
-
"height": "16px",
|
|
13567
|
-
"viewBox": "0 0 16 16",
|
|
13568
|
-
"version": "1.1",
|
|
13569
|
-
"xmlns": "http://www.w3.org/2000/svg"
|
|
13570
|
-
}, [createVNode("g", {
|
|
13571
|
-
"stroke": "none",
|
|
13572
|
-
"stroke-width": "1",
|
|
13573
|
-
"fill": "none",
|
|
13574
|
-
"fill-rule": "evenodd"
|
|
13575
|
-
}, [createVNode("path", {
|
|
13576
|
-
"d": "M8,1 C11.8659932,1 15,4.13400675 15,8 C15,11.8659932 11.8659932,15 8,15 C4.13400675,15 1,11.8659932 1,8 C1,4.13400675 4.13400675,1 8,1 Z M5.87867966,5.17157288 C5.68341751,4.97631073 5.36683502,4.97631073 5.17157288,5.17157288 C4.99800652,5.34513923 4.97872137,5.61456363 5.11371742,5.80943177 L5.17157288,5.87867966 L7.29218611,7.99929289 L5.17157288,10.1213203 C4.97631073,10.3165825 4.97631073,10.633165 5.17157288,10.8284271 C5.34513923,11.0019935 5.61456363,11.0212786 5.80943177,10.8862826 L5.87867966,10.8284271 L7.99929289,8.70639967 L10.1213203,10.8284271 C10.3165825,11.0236893 10.633165,11.0236893 10.8284271,10.8284271 C11.0019935,10.6548608 11.0212786,10.3854364 10.8862826,10.1905682 L10.8284271,10.1213203 L8.70710678,8 L10.8284271,5.87867966 C11.0236893,5.68341751 11.0236893,5.36683502 10.8284271,5.17157288 C10.6548608,4.99800652 10.3854364,4.97872137 10.1905682,5.11371742 L10.1213203,5.17157288 L8,7.29289322 L5.87867966,5.17157288 Z",
|
|
13577
|
-
"id": "\u5F62\u72B6",
|
|
13578
|
-
"fill": "#D5D5DB",
|
|
13579
|
-
"fill-rule": "nonzero"
|
|
13580
|
-
}, null)])]);
|
|
13581
|
-
}
|
|
13582
13487
|
function useInputRender$1(props, ctx2) {
|
|
13583
13488
|
const formContext = inject(FORM_TOKEN, void 0);
|
|
13584
13489
|
const formItemContext = inject(FORM_ITEM_TOKEN, void 0);
|
|
@@ -13787,8 +13692,11 @@ var DInput = defineComponent({
|
|
|
13787
13692
|
"class": ns2.em("password", "icon"),
|
|
13788
13693
|
"name": passwordVisible.value ? "preview" : "preview-forbidden",
|
|
13789
13694
|
"onClick": clickPasswordIcon
|
|
13790
|
-
}, null), showClearable.value && createVNode(
|
|
13695
|
+
}, null), showClearable.value && createVNode(DIcon, {
|
|
13696
|
+
"size": inputSize.value,
|
|
13791
13697
|
"class": ns2.em("clear", "icon"),
|
|
13698
|
+
"name": "error-o",
|
|
13699
|
+
"color": "#adb0b8",
|
|
13792
13700
|
"onClick": onClear
|
|
13793
13701
|
}, null)])]), ctx2.slots.append && createVNode("div", {
|
|
13794
13702
|
"class": slotNs.e("append")
|
|
@@ -13852,12 +13760,16 @@ var Cascader = defineComponent({
|
|
|
13852
13760
|
"onBlur": onBlur
|
|
13853
13761
|
}, null), !showClearable.value && createVNode("div", {
|
|
13854
13762
|
"class": `${ns2.e("icon")} ${ns2.m("drop-icon-animation")}`
|
|
13855
|
-
}, [createVNode(
|
|
13763
|
+
}, [createVNode(resolveComponent("d-icon"), {
|
|
13764
|
+
"name": "select-arrow",
|
|
13765
|
+
"size": "12px"
|
|
13766
|
+
}, null)]), showClearable.value && props.clearable && createVNode("div", {
|
|
13856
13767
|
"class": `${ns2.e("icon")} ${ns2.e("close")}`,
|
|
13857
13768
|
"onClick": clearData
|
|
13858
|
-
}, [createVNode("
|
|
13859
|
-
"
|
|
13860
|
-
|
|
13769
|
+
}, [createVNode(resolveComponent("d-icon"), {
|
|
13770
|
+
"name": "close",
|
|
13771
|
+
"size": "12px"
|
|
13772
|
+
}, null)])])]
|
|
13861
13773
|
}), createVNode(Teleport, {
|
|
13862
13774
|
"to": "body"
|
|
13863
13775
|
}, {
|
|
@@ -13909,7 +13821,7 @@ var CascaderInstall = {
|
|
|
13909
13821
|
app.component(Cascader.name, Cascader);
|
|
13910
13822
|
}
|
|
13911
13823
|
};
|
|
13912
|
-
function SearchIcon() {
|
|
13824
|
+
function SearchIcon$1() {
|
|
13913
13825
|
return createVNode("svg", {
|
|
13914
13826
|
"width": "16px",
|
|
13915
13827
|
"height": "16px",
|
|
@@ -17101,7 +17013,7 @@ var CategorySearch = defineComponent({
|
|
|
17101
17013
|
}, [createVNode("div", {
|
|
17102
17014
|
"class": "dp-category-search-icon",
|
|
17103
17015
|
"onClick": onSearch
|
|
17104
|
-
}, [createVNode(SearchIcon, null, null)]), createVNode("div", {
|
|
17016
|
+
}, [createVNode(SearchIcon$1, null, null)]), createVNode("div", {
|
|
17105
17017
|
"ref": scrollBarRef,
|
|
17106
17018
|
"class": "dp-category-search-line-container"
|
|
17107
17019
|
}, [createVNode("ul", {
|
|
@@ -18814,7 +18726,7 @@ var CollapseItem = defineComponent({
|
|
|
18814
18726
|
"onClick": handlerTitleClick
|
|
18815
18727
|
}, [ctx2.slots.title ? ctx2.slots.title() : props.title, createVNode("span", {
|
|
18816
18728
|
"class": ns2.e("open-icon")
|
|
18817
|
-
}, [createVNode(
|
|
18729
|
+
}, [createVNode(OpenIcon, null, null)])]), createVNode(Transition, {
|
|
18818
18730
|
"name": transitionNs.b(),
|
|
18819
18731
|
"onEnter": enter,
|
|
18820
18732
|
"onLeave": leave
|
|
@@ -35941,7 +35853,6 @@ function useEditorMd(props, ctx2) {
|
|
|
35941
35853
|
const renderRef = ref();
|
|
35942
35854
|
const overlayRef = ref();
|
|
35943
35855
|
const cursorRef = ref();
|
|
35944
|
-
const containerRef = ref();
|
|
35945
35856
|
const isHintShow = ref();
|
|
35946
35857
|
const previewHtmlList = ref([]);
|
|
35947
35858
|
let editorIns;
|
|
@@ -36169,22 +36080,12 @@ function useEditorMd(props, ctx2) {
|
|
|
36169
36080
|
}
|
|
36170
36081
|
}
|
|
36171
36082
|
};
|
|
36172
|
-
const onDocumentClick = (e) => {
|
|
36173
|
-
var _a2;
|
|
36174
|
-
if (isHintShow.value && e.target !== containerRef.value && !((_a2 = containerRef.value) == null ? void 0 : _a2.contains(e.target))) {
|
|
36175
|
-
hideHint();
|
|
36176
|
-
}
|
|
36177
|
-
};
|
|
36178
36083
|
onMounted(async () => {
|
|
36179
36084
|
await import("codemirror/addon/display/placeholder.js");
|
|
36180
36085
|
await import("codemirror/mode/markdown/markdown.js");
|
|
36181
36086
|
const module2 = await import("codemirror");
|
|
36182
36087
|
CodeMirror = module2.default;
|
|
36183
36088
|
initEditor();
|
|
36184
|
-
document.addEventListener("click", onDocumentClick);
|
|
36185
|
-
});
|
|
36186
|
-
onBeforeUnmount(() => {
|
|
36187
|
-
document.removeEventListener("click", onDocumentClick);
|
|
36188
36089
|
});
|
|
36189
36090
|
watch(modelValue, (val) => {
|
|
36190
36091
|
if (editorIns) {
|
|
@@ -36225,7 +36126,6 @@ function useEditorMd(props, ctx2) {
|
|
|
36225
36126
|
overlayRef,
|
|
36226
36127
|
cursorRef,
|
|
36227
36128
|
renderRef,
|
|
36228
|
-
containerRef,
|
|
36229
36129
|
toolbars,
|
|
36230
36130
|
previewHtmlList,
|
|
36231
36131
|
isHintShow,
|
|
@@ -37213,7 +37113,6 @@ var EditorMd = defineComponent({
|
|
|
37213
37113
|
overlayRef,
|
|
37214
37114
|
cursorRef,
|
|
37215
37115
|
renderRef,
|
|
37216
|
-
containerRef,
|
|
37217
37116
|
isHintShow,
|
|
37218
37117
|
toolbars,
|
|
37219
37118
|
previewHtmlList,
|
|
@@ -37244,7 +37143,6 @@ var EditorMd = defineComponent({
|
|
|
37244
37143
|
"z-index": fullscreenZIndex.value
|
|
37245
37144
|
}, {
|
|
37246
37145
|
default: () => [createVNode("div", {
|
|
37247
|
-
"ref": containerRef,
|
|
37248
37146
|
"class": ["dp-md-container", {
|
|
37249
37147
|
"dp-md-readonly": mode.value === "readonly",
|
|
37250
37148
|
"dp-md-editonly": mode.value === "editonly",
|
|
@@ -37271,9 +37169,7 @@ var EditorMd = defineComponent({
|
|
|
37271
37169
|
"onUpdate:modelValue": ($event) => isHintShow.value = $event,
|
|
37272
37170
|
"origin": cursorRef.value || void 0,
|
|
37273
37171
|
"align": "start",
|
|
37274
|
-
"position": ["bottom-start"]
|
|
37275
|
-
"onClick": withModifiers(() => {
|
|
37276
|
-
}, ["stop"])
|
|
37172
|
+
"position": ["bottom-start"]
|
|
37277
37173
|
}, {
|
|
37278
37174
|
default: () => {
|
|
37279
37175
|
var _a2, _b;
|
|
@@ -41325,30 +41221,6 @@ var ModalBody = defineComponent({
|
|
|
41325
41221
|
};
|
|
41326
41222
|
}
|
|
41327
41223
|
});
|
|
41328
|
-
function CloseIcon() {
|
|
41329
|
-
return createVNode("svg", {
|
|
41330
|
-
"width": "16px",
|
|
41331
|
-
"height": "16px",
|
|
41332
|
-
"viewBox": "0 0 16 16",
|
|
41333
|
-
"version": "1.1",
|
|
41334
|
-
"xmlns": "http://www.w3.org/2000/svg"
|
|
41335
|
-
}, [createVNode("g", {
|
|
41336
|
-
"stroke": "none",
|
|
41337
|
-
"stroke-width": "1",
|
|
41338
|
-
"fill": "none",
|
|
41339
|
-
"fill-rule": "evenodd"
|
|
41340
|
-
}, [createVNode("path", {
|
|
41341
|
-
"d": `M14.6887175,1.25368865 C15.0770801,1.64205125 15.0121881,2.34244569 14.544513,2.81012074 L9.383,7.971 L14.544513,13.1322854
|
|
41342
|
-
C14.9787827,13.5665551 15.0657548,14.2014859 14.7650189,14.6009195 L14.6887175,14.6887175 C14.3003549,15.0770801
|
|
41343
|
-
13.5999604,15.0121881 13.1322854,14.544513 L13.1322854,14.544513 L7.971,9.383 L2.81012075,14.544513 C2.3424457,15.0121881
|
|
41344
|
-
1.64205125,15.0770801 1.25368865,14.6887175 C0.865326051,14.3003549 0.930218063,13.5999605 1.39789313,13.1322854 L6.558,7.971
|
|
41345
|
-
L1.39789311,2.81012074 C0.963623424,2.37585105 0.876651354,1.74092026 1.17738727,1.34148668 L1.25368865,1.25368865
|
|
41346
|
-
C1.64205125,0.865326051 2.34244569,0.930218063 2.81012074,1.39789311 L2.81012074,1.39789311 L7.971,6.558 L13.1322854,1.39789311
|
|
41347
|
-
C13.5999605,0.930218063 14.3003549,0.865326051 14.6887175,1.25368865 Z`,
|
|
41348
|
-
"fill": "#8A8E99",
|
|
41349
|
-
"fill-rule": "nonzero"
|
|
41350
|
-
}, null)])]);
|
|
41351
|
-
}
|
|
41352
41224
|
var modal = "";
|
|
41353
41225
|
var Modal = defineComponent({
|
|
41354
41226
|
name: "DModal",
|
|
@@ -41465,8 +41337,8 @@ var Modal = defineComponent({
|
|
|
41465
41337
|
"onClick": execClose,
|
|
41466
41338
|
"class": "btn-close"
|
|
41467
41339
|
}, [createVNode(DIcon, {
|
|
41468
|
-
"
|
|
41469
|
-
"
|
|
41340
|
+
"name": "close",
|
|
41341
|
+
"size": "20px"
|
|
41470
41342
|
}, null)]), props.type ? renderType() : createVNode("div", {
|
|
41471
41343
|
"style": {
|
|
41472
41344
|
cursor: props.draggable ? "move" : "default"
|
|
@@ -42499,6 +42371,24 @@ var Option = defineComponent({
|
|
|
42499
42371
|
};
|
|
42500
42372
|
}
|
|
42501
42373
|
});
|
|
42374
|
+
const SelectArrowIcon = () => createVNode("svg", {
|
|
42375
|
+
"width": "1em",
|
|
42376
|
+
"height": "1em",
|
|
42377
|
+
"viewBox": "0 0 16 16",
|
|
42378
|
+
"version": "1.1",
|
|
42379
|
+
"xmlns": "http://www.w3.org/2000/svg"
|
|
42380
|
+
}, [createVNode("g", {
|
|
42381
|
+
"stroke": "none",
|
|
42382
|
+
"stroke-width": "1",
|
|
42383
|
+
"fill": "none",
|
|
42384
|
+
"fill-rule": "evenodd"
|
|
42385
|
+
}, [createVNode("path", {
|
|
42386
|
+
"d": `M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088
|
|
42387
|
+
7.64644661,10.6464466 L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876
|
|
42388
|
+
3.85355339,6.14644661 C3.94732158,6.05267842 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6
|
|
42389
|
+
12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824 12.2402148,6.7597852 12.1464466,6.85355339 Z`,
|
|
42390
|
+
"fill-rule": "nonzero"
|
|
42391
|
+
}, null)])]);
|
|
42502
42392
|
function useSelectContent() {
|
|
42503
42393
|
const ns2 = useNamespace$1("select");
|
|
42504
42394
|
const select2 = inject(SELECT_TOKEN);
|
|
@@ -42689,7 +42579,7 @@ var SelectContent = defineComponent({
|
|
|
42689
42579
|
}, null), createVNode("span", {
|
|
42690
42580
|
"onClick": handleClear,
|
|
42691
42581
|
"class": clearCls.value
|
|
42692
|
-
}, [createVNode(
|
|
42582
|
+
}, [createVNode(AlertCloseIcon, null, null)]), createVNode("span", {
|
|
42693
42583
|
"class": arrowCls.value
|
|
42694
42584
|
}, [createVNode(SelectArrowIcon, null, null)])]);
|
|
42695
42585
|
};
|
|
@@ -43387,7 +43277,7 @@ var PageSize = defineComponent({
|
|
|
43387
43277
|
setup() {
|
|
43388
43278
|
const ns2 = useNamespace("pagination");
|
|
43389
43279
|
const paginationContext = inject(paginationInjectionKey);
|
|
43390
|
-
const
|
|
43280
|
+
const iconRotate = ref(0);
|
|
43391
43281
|
const {
|
|
43392
43282
|
size,
|
|
43393
43283
|
currentPageSize,
|
|
@@ -43396,13 +43286,8 @@ var PageSize = defineComponent({
|
|
|
43396
43286
|
pageSizeChange,
|
|
43397
43287
|
t
|
|
43398
43288
|
} = paginationContext;
|
|
43399
|
-
const pageSizeClasses = computed(() => ({
|
|
43400
|
-
[ns2.e("size")]: true,
|
|
43401
|
-
[ns2.em("size", size.value)]: Boolean(size.value),
|
|
43402
|
-
[ns2.em("size", "open")]: isOpen.value
|
|
43403
|
-
}));
|
|
43404
43289
|
const onDropdownToggle = (e) => {
|
|
43405
|
-
|
|
43290
|
+
iconRotate.value = e ? 180 : 0;
|
|
43406
43291
|
};
|
|
43407
43292
|
return () => createVNode(Fragment, null, [createVNode(Dropdown$1, {
|
|
43408
43293
|
"position": pageSizeDirection.value,
|
|
@@ -43411,8 +43296,14 @@ var PageSize = defineComponent({
|
|
|
43411
43296
|
}, {
|
|
43412
43297
|
default: () => createVNode("div", {
|
|
43413
43298
|
"tabindex": "0",
|
|
43414
|
-
"class":
|
|
43415
|
-
}, [createVNode(
|
|
43299
|
+
"class": [ns2.e("size"), size.value ? ns2.em("size", size.value) : ""]
|
|
43300
|
+
}, [createVNode(DIcon, {
|
|
43301
|
+
"name": "select-arrow",
|
|
43302
|
+
"size": "16px",
|
|
43303
|
+
"rotate": iconRotate.value
|
|
43304
|
+
}, {
|
|
43305
|
+
prefix: () => createVNode("span", null, [currentPageSize.value])
|
|
43306
|
+
})]),
|
|
43416
43307
|
menu: () => createVNode("ul", null, [pageSizeOptions.value.map((item, index2) => createVNode("li", {
|
|
43417
43308
|
"class": {
|
|
43418
43309
|
active: item === currentPageSize.value
|
|
@@ -45414,6 +45305,26 @@ const keydownHandles = (ctx2, keywords, props) => {
|
|
|
45414
45305
|
};
|
|
45415
45306
|
};
|
|
45416
45307
|
var search = "";
|
|
45308
|
+
const SearchCloseIcon = () => createVNode("svg", {
|
|
45309
|
+
"viewBox": "0 0 1024 1024",
|
|
45310
|
+
"width": "12px",
|
|
45311
|
+
"height": "12px"
|
|
45312
|
+
}, [createVNode("path", {
|
|
45313
|
+
"d": `M940.8 207.530667L818.602667 85.333333l-305.493334 305.493334L207.616 85.333333
|
|
45314
|
+
85.333333 207.530667l305.493334 305.493333L85.333333 818.517333l122.282667 122.282667
|
|
45315
|
+
305.493333-305.493333 305.493334 305.493333 122.197333-122.282667-305.493333-305.493333z`,
|
|
45316
|
+
"p-id": "30810"
|
|
45317
|
+
}, null)]);
|
|
45318
|
+
const SearchIcon = () => createVNode("svg", {
|
|
45319
|
+
"viewBox": "0 0 1024 1024",
|
|
45320
|
+
"version": "1.1",
|
|
45321
|
+
"width": "12px",
|
|
45322
|
+
"height": "12px"
|
|
45323
|
+
}, [createVNode("path", {
|
|
45324
|
+
"d": "M1005.312 914.752l-198.528-198.464A448 448 0 1 0 0 448a448 448 0 0 0 716.288 358.784l198.4 198.4a64 64 0 1 0 90.624-90.432zM448 767.936A320 320 0 1 1 448 128a320 320 0 0 1 0 640z",
|
|
45325
|
+
"fill": "#262626",
|
|
45326
|
+
"p-id": "32547"
|
|
45327
|
+
}, null)]);
|
|
45417
45328
|
var DSearch = defineComponent({
|
|
45418
45329
|
name: "DSearch",
|
|
45419
45330
|
props: searchProps,
|
|
@@ -45468,13 +45379,13 @@ var DSearch = defineComponent({
|
|
|
45468
45379
|
}, [props.iconPosition === "left" && createVNode("div", {
|
|
45469
45380
|
"class": ns2.e("icon"),
|
|
45470
45381
|
"onClick": onClickHandle
|
|
45471
|
-
}, [createVNode(SearchIcon
|
|
45382
|
+
}, [createVNode(SearchIcon, null, null)]), createVNode(DInput, inputProps2, null), clearIconShow.value && createVNode("div", {
|
|
45472
45383
|
"class": ns2.e("clear"),
|
|
45473
45384
|
"onClick": onClearHandle
|
|
45474
|
-
}, [createVNode(
|
|
45385
|
+
}, [createVNode(SearchCloseIcon, null, null)]), props.iconPosition === "right" && createVNode("div", {
|
|
45475
45386
|
"class": ns2.e("icon"),
|
|
45476
45387
|
"onClick": onClickHandle
|
|
45477
|
-
}, [createVNode(SearchIcon
|
|
45388
|
+
}, [createVNode(SearchIcon, null, null)])]);
|
|
45478
45389
|
};
|
|
45479
45390
|
}
|
|
45480
45391
|
});
|
|
@@ -54187,7 +54098,7 @@ const installs = [
|
|
|
54187
54098
|
VirtualListInstall
|
|
54188
54099
|
];
|
|
54189
54100
|
var vueDevui = {
|
|
54190
|
-
version: "1.6.4
|
|
54101
|
+
version: "1.6.4",
|
|
54191
54102
|
install(app) {
|
|
54192
54103
|
installs.forEach((p) => app.use(p));
|
|
54193
54104
|
}
|