vue-devui 1.6.9 → 1.6.11

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.
Files changed (57) hide show
  1. package/auto-complete/index.es.js +8 -24
  2. package/auto-complete/index.umd.js +15 -15
  3. package/category-search/index.es.js +19 -36
  4. package/category-search/index.umd.js +18 -18
  5. package/checkbox/index.es.js +16 -33
  6. package/checkbox/index.umd.js +17 -17
  7. package/data-grid/index.es.js +11 -28
  8. package/data-grid/index.umd.js +7 -7
  9. package/date-picker-pro/index.es.js +36 -30
  10. package/date-picker-pro/index.umd.js +11 -11
  11. package/editor-md/index.es.js +0 -1
  12. package/editor-md/index.umd.js +4 -4
  13. package/form/index.es.js +14 -30
  14. package/form/index.umd.js +12 -12
  15. package/input/index.es.js +14 -30
  16. package/input/index.umd.js +10 -10
  17. package/input-number/index.es.js +14 -30
  18. package/input-number/index.umd.js +13 -13
  19. package/mention/index.es.js +8 -24
  20. package/mention/index.umd.js +13 -13
  21. package/menu/index.es.js +26 -2
  22. package/menu/index.umd.js +5 -1
  23. package/menu/style.css +1 -1
  24. package/modal/index.es.js +18 -12
  25. package/modal/index.umd.js +7 -7
  26. package/package.json +1 -1
  27. package/pagination/index.es.js +10 -27
  28. package/pagination/index.umd.js +7 -7
  29. package/radio/index.es.js +14 -30
  30. package/radio/index.umd.js +19 -19
  31. package/search/index.es.js +20 -30
  32. package/search/index.umd.js +11 -11
  33. package/search/style.css +1 -1
  34. package/select/index.es.js +16 -33
  35. package/select/index.umd.js +9 -9
  36. package/style.css +1 -1
  37. package/switch/index.es.js +8 -24
  38. package/switch/index.umd.js +15 -15
  39. package/table/index.es.js +10 -27
  40. package/table/index.umd.js +7 -7
  41. package/textarea/index.es.js +14 -30
  42. package/textarea/index.umd.js +18 -18
  43. package/time-picker/index.es.js +8 -24
  44. package/time-picker/index.umd.js +9 -9
  45. package/time-select/index.es.js +16 -33
  46. package/time-select/index.umd.js +14 -14
  47. package/tree/index.es.js +10 -27
  48. package/tree/index.umd.js +9 -9
  49. package/types/checkbox/src/checkbox-types.d.ts +0 -2
  50. package/types/date-picker-pro/src/date-picker-pro-types.d.ts +13 -0
  51. package/types/date-picker-pro/src/range-date-picker-types.d.ts +4 -0
  52. package/types/form/src/components/form-item/form-item-types.d.ts +4 -0
  53. package/types/form/src/components/form-item/form-item.d.ts +9 -0
  54. package/types/search/src/search-types.d.ts +4 -0
  55. package/types/search/src/search.d.ts +9 -0
  56. package/vue-devui.es.js +79 -59
  57. package/vue-devui.umd.js +43 -43
@@ -64,7 +64,6 @@ export declare const checkboxProps: {
64
64
  };
65
65
  readonly size: {
66
66
  readonly type: PropType<Size>;
67
- readonly default: "md";
68
67
  };
69
68
  readonly showGlowStyle: {
70
69
  readonly type: BooleanConstructor;
@@ -144,7 +143,6 @@ export declare const checkboxGroupProps: {
144
143
  };
145
144
  readonly size: {
146
145
  readonly type: PropType<Size>;
147
- readonly default: "md";
148
146
  };
149
147
  readonly showGlowStyle: {
150
148
  readonly type: BooleanConstructor;
@@ -2,6 +2,7 @@ import type { ComputedRef, ExtractPropTypes, PropType, Ref } from 'vue';
2
2
  import type { Dayjs } from 'dayjs';
3
3
  import { ArrType } from '../../time-picker/src/types';
4
4
  import type { InputSize } from '../../input/src/input-types';
5
+ export declare type Placement = 'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end';
5
6
  export declare const datePickerProCommonProps: {
6
7
  format: {
7
8
  type: StringConstructor;
@@ -33,6 +34,10 @@ export declare const datePickerProCommonProps: {
33
34
  type: BooleanConstructor;
34
35
  default: boolean;
35
36
  };
37
+ position: {
38
+ type: PropType<Placement[]>;
39
+ default: () => string[];
40
+ };
36
41
  };
37
42
  export declare const datePickerProProps: {
38
43
  readonly format: {
@@ -65,6 +70,10 @@ export declare const datePickerProProps: {
65
70
  type: BooleanConstructor;
66
71
  default: boolean;
67
72
  };
73
+ readonly position: {
74
+ type: PropType<Placement[]>;
75
+ default: () => string[];
76
+ };
68
77
  readonly modelValue: {
69
78
  readonly type: PropType<string | Date>;
70
79
  readonly default: "";
@@ -162,6 +171,10 @@ export declare const datePickerProPanelProps: {
162
171
  type: BooleanConstructor;
163
172
  default: boolean;
164
173
  };
174
+ readonly position: {
175
+ type: PropType<Placement[]>;
176
+ default: () => string[];
177
+ };
165
178
  readonly visible: {
166
179
  readonly type: BooleanConstructor;
167
180
  readonly default: false;
@@ -31,6 +31,10 @@ export declare const rangeDatePickerProProps: {
31
31
  type: BooleanConstructor;
32
32
  default: boolean;
33
33
  };
34
+ readonly position: {
35
+ type: PropType<import("./date-picker-pro-types").Placement[]>;
36
+ default: () => string[];
37
+ };
34
38
  readonly modelValue: {
35
39
  readonly type: PropType<(string | Date)[]>;
36
40
  readonly default: readonly ["", ""];
@@ -50,6 +50,10 @@ export declare const formItemProps: {
50
50
  type: StringConstructor;
51
51
  default: string;
52
52
  };
53
+ isAsyncValidate: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
53
57
  };
54
58
  export declare type FormItemProps = ExtractPropTypes<typeof formItemProps>;
55
59
  export declare type FormValidateCallback = (isValid: boolean, invalidFields?: ValidateFieldsError) => void;
@@ -35,6 +35,10 @@ declare const _default: import("vue").DefineComponent<{
35
35
  type: StringConstructor;
36
36
  default: string;
37
37
  };
38
+ isAsyncValidate: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
38
42
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
43
  label: {
40
44
  type: StringConstructor;
@@ -71,11 +75,16 @@ declare const _default: import("vue").DefineComponent<{
71
75
  type: StringConstructor;
72
76
  default: string;
73
77
  };
78
+ isAsyncValidate: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
74
82
  }>>, {
75
83
  required: boolean;
76
84
  field: string;
77
85
  extraInfo: string;
78
86
  showFeedback: boolean;
79
87
  helpTips: string | import("./form-item-types").HelpTips;
88
+ isAsyncValidate: boolean;
80
89
  }, {}>;
81
90
  export default _default;
@@ -49,6 +49,10 @@ export declare const searchProps: {
49
49
  readonly type: PropType<(v: string) => void>;
50
50
  readonly default: undefined;
51
51
  };
52
+ readonly showGlowStyle: {
53
+ readonly type: BooleanConstructor;
54
+ readonly default: true;
55
+ };
52
56
  };
53
57
  export declare type SearchProps = ExtractPropTypes<typeof searchProps>;
54
58
  export interface UseSearchClassTypes {
@@ -47,6 +47,10 @@ declare const _default: import("vue").DefineComponent<{
47
47
  readonly type: import("vue").PropType<(v: string) => void>;
48
48
  readonly default: undefined;
49
49
  };
50
+ readonly showGlowStyle: {
51
+ readonly type: BooleanConstructor;
52
+ readonly default: true;
53
+ };
50
54
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue")[], "search" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
55
  readonly size: {
52
56
  readonly type: import("vue").PropType<import("./search-types").Size>;
@@ -95,6 +99,10 @@ declare const _default: import("vue").DefineComponent<{
95
99
  readonly type: import("vue").PropType<(v: string) => void>;
96
100
  readonly default: undefined;
97
101
  };
102
+ readonly showGlowStyle: {
103
+ readonly type: BooleanConstructor;
104
+ readonly default: true;
105
+ };
98
106
  }>> & {
99
107
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
100
108
  onSearch?: ((...args: any[]) => any) | undefined;
@@ -105,6 +113,7 @@ declare const _default: import("vue").DefineComponent<{
105
113
  readonly cssClass: string;
106
114
  readonly modelValue: string;
107
115
  readonly delay: number;
116
+ readonly showGlowStyle: boolean;
108
117
  readonly 'onUpdate:modelValue': (v: string) => void;
109
118
  readonly maxLength: number;
110
119
  readonly isKeyupSearch: boolean;
package/vue-devui.es.js CHANGED
@@ -7746,6 +7746,10 @@ const formItemProps = {
7746
7746
  extraInfo: {
7747
7747
  type: String,
7748
7748
  default: ""
7749
+ },
7750
+ isAsyncValidate: {
7751
+ type: Boolean,
7752
+ default: false
7749
7753
  }
7750
7754
  };
7751
7755
  const FORM_ITEM_TOKEN = "dFormItem";
@@ -8577,7 +8581,6 @@ var FormControl = defineComponent({
8577
8581
  const formControl2 = ref();
8578
8582
  const popoverRef = ref();
8579
8583
  const ns2 = useNamespace("form");
8580
- const showPopoverClick = ref(true);
8581
8584
  const {
8582
8585
  controlClasses,
8583
8586
  controlContainerClasses,
@@ -8601,27 +8604,6 @@ var FormControl = defineComponent({
8601
8604
  }
8602
8605
  return void 0;
8603
8606
  });
8604
- const onDocumentClick = (e) => {
8605
- const composedPath = e.composedPath();
8606
- if (composedPath.includes(popoverRef.value.triggerEl)) {
8607
- showPopoverClick.value = true;
8608
- } else {
8609
- showPopoverClick.value = false;
8610
- }
8611
- };
8612
- watch(showPopover, (val) => {
8613
- if (val) {
8614
- setTimeout(() => {
8615
- document.addEventListener("click", onDocumentClick);
8616
- });
8617
- } else {
8618
- showPopoverClick.value = true;
8619
- document.removeEventListener("click", onDocumentClick);
8620
- }
8621
- });
8622
- onUnmounted(() => {
8623
- document.removeEventListener("click", onDocumentClick);
8624
- });
8625
8607
  return () => createVNode("div", {
8626
8608
  "class": controlClasses.value,
8627
8609
  "ref": formControl2
@@ -8629,7 +8611,7 @@ var FormControl = defineComponent({
8629
8611
  "class": controlContainerClasses.value
8630
8612
  }, [createVNode(Popover, {
8631
8613
  "ref": popoverRef,
8632
- "is-open": showPopover.value && showPopoverClick.value,
8614
+ "is-open": showPopover.value,
8633
8615
  "trigger": "manually",
8634
8616
  "content": errorMessage.value,
8635
8617
  "pop-type": "error",
@@ -9759,7 +9741,9 @@ function useFormItemValidate(props, _rules) {
9759
9741
  callback == null ? void 0 : callback(true);
9760
9742
  return true;
9761
9743
  }
9762
- validateState.value = "pending";
9744
+ if (props.isAsyncValidate) {
9745
+ validateState.value = "pending";
9746
+ }
9763
9747
  return execValidate(rules2).then(() => {
9764
9748
  callback == null ? void 0 : callback(true);
9765
9749
  return true;
@@ -12580,8 +12564,7 @@ const commonProps$2 = {
12580
12564
  default: void 0
12581
12565
  },
12582
12566
  size: {
12583
- type: String,
12584
- default: "md"
12567
+ type: String
12585
12568
  },
12586
12569
  showGlowStyle: {
12587
12570
  type: Boolean,
@@ -12781,7 +12764,7 @@ function useCheckboxGroup(props, ctx2) {
12781
12764
  formItemContext == null ? void 0 : formItemContext.validate("change").catch(() => {
12782
12765
  });
12783
12766
  }, { deep: true });
12784
- const checkboxGroupSize = computed(() => props.size || (formContext == null ? void 0 : formContext.size) || "");
12767
+ const checkboxGroupSize = computed(() => props.size || (formContext == null ? void 0 : formContext.size) || "md");
12785
12768
  provide(checkboxGroupInjectionKey, {
12786
12769
  disabled: toRef(props, "disabled"),
12787
12770
  isShowTitle: toRef(props, "isShowTitle"),
@@ -17148,13 +17131,13 @@ var CategorySearch = defineComponent({
17148
17131
  onSearch
17149
17132
  } = useCategorySearch(props, ctx2);
17150
17133
  return () => {
17151
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
17134
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
17152
17135
  return createVNode("div", {
17153
17136
  "ref": rootRef,
17154
17137
  "class": containerClasses.value,
17155
17138
  "onMouseenter": () => isHover.value = true,
17156
17139
  "onMouseleave": () => isHover.value = false
17157
- }, [createVNode("div", {
17140
+ }, [(_c = (_b = (_a2 = ctx2.slots).searchIcon) == null ? void 0 : _b.call(_a2)) != null ? _c : createVNode("div", {
17158
17141
  "class": "dp-category-search-icon",
17159
17142
  "onClick": onSearch
17160
17143
  }, [createVNode(SearchIcon, null, null)]), createVNode("div", {
@@ -17169,13 +17152,13 @@ var CategorySearch = defineComponent({
17169
17152
  "ref": inputRef
17170
17153
  }, null)])]), showExtendedConfig.value && createVNode("div", {
17171
17154
  "class": "dp-category-search-extended-container"
17172
- }, [((_a2 = operationConfig.clear) == null ? void 0 : _a2.show) && createVNode(Fragment, null, [(_e = (_c = (_b = ctx2.slots).clear) == null ? void 0 : _c.call(_b)) != null ? _e : createVNode(CategorySearchClear, {
17173
- "disabled": (_d = operationConfig.clear) == null ? void 0 : _d.disabled
17174
- }, null)]), ((_f = operationConfig.save) == null ? void 0 : _f.show) && createVNode(Fragment, null, [(_j = (_h = (_g = ctx2.slots).save) == null ? void 0 : _h.call(_g)) != null ? _j : createVNode(CategorySearchSave, {
17175
- "disabled": (_i = operationConfig.save) == null ? void 0 : _i.disabled
17176
- }, null)]), ((_k = operationConfig.more) == null ? void 0 : _k.show) && createVNode(Fragment, null, [(_o = (_m = (_l = ctx2.slots).more) == null ? void 0 : _m.call(_l)) != null ? _o : createVNode(CategorySearchMore, {
17177
- "disabled": (_n = operationConfig.more) == null ? void 0 : _n.disabled
17178
- }, null)]), (_q = (_p = ctx2.slots).operation) == null ? void 0 : _q.call(_p)])]);
17155
+ }, [((_d = operationConfig.clear) == null ? void 0 : _d.show) && createVNode(Fragment, null, [(_h = (_f = (_e = ctx2.slots).clear) == null ? void 0 : _f.call(_e)) != null ? _h : createVNode(CategorySearchClear, {
17156
+ "disabled": (_g = operationConfig.clear) == null ? void 0 : _g.disabled
17157
+ }, null)]), ((_i = operationConfig.save) == null ? void 0 : _i.show) && createVNode(Fragment, null, [(_m = (_k = (_j = ctx2.slots).save) == null ? void 0 : _k.call(_j)) != null ? _m : createVNode(CategorySearchSave, {
17158
+ "disabled": (_l = operationConfig.save) == null ? void 0 : _l.disabled
17159
+ }, null)]), ((_n = operationConfig.more) == null ? void 0 : _n.show) && createVNode(Fragment, null, [(_r = (_p = (_o = ctx2.slots).more) == null ? void 0 : _p.call(_o)) != null ? _r : createVNode(CategorySearchMore, {
17160
+ "disabled": (_q = operationConfig.more) == null ? void 0 : _q.disabled
17161
+ }, null)]), (_t = (_s = ctx2.slots).operation) == null ? void 0 : _t.call(_s)])]);
17179
17162
  };
17180
17163
  }
17181
17164
  });
@@ -23085,7 +23068,7 @@ function useDataGrid(props, ctx2) {
23085
23068
  (_a2 = scrollRef.value) == null ? void 0 : _a2.addEventListener("scroll", onScroll2);
23086
23069
  if (typeof window !== "undefined" && scrollRef.value) {
23087
23070
  resizeObserver = new ResizeObserver(() => {
23088
- if (scrollRef.value) {
23071
+ if (scrollRef.value && sliceColumns.value.length) {
23089
23072
  let distance = 0;
23090
23073
  initOriginColumnData();
23091
23074
  distance = scrollRef.value.scrollLeft;
@@ -24255,6 +24238,10 @@ const datePickerProCommonProps = {
24255
24238
  showGlowStyle: {
24256
24239
  type: Boolean,
24257
24240
  default: true
24241
+ },
24242
+ position: {
24243
+ type: Array,
24244
+ default: () => ["bottom-start", "top-start"]
24258
24245
  }
24259
24246
  };
24260
24247
  const datePickerProProps = __spreadValues({
@@ -27332,7 +27319,8 @@ var DatePickerPro = defineComponent({
27332
27319
  const app = getCurrentInstance();
27333
27320
  const t = createI18nTranslate("DDatePickerPro", app);
27334
27321
  const {
27335
- showGlowStyle
27322
+ showGlowStyle,
27323
+ position
27336
27324
  } = toRefs(props);
27337
27325
  const ns2 = useNamespace$1("date-picker-pro");
27338
27326
  const {
@@ -27353,7 +27341,6 @@ var DatePickerPro = defineComponent({
27353
27341
  onSelectedDate,
27354
27342
  handlerClearTime
27355
27343
  } = usePickerPro(props, ctx2, t);
27356
- const position = ref(["bottom-start", "top-start"]);
27357
27344
  const currentPosition = ref("bottom");
27358
27345
  const handlePositionChange = (pos) => {
27359
27346
  currentPosition.value = pos.split("-")[0] === "top" ? "top" : "bottom";
@@ -27362,6 +27349,15 @@ var DatePickerPro = defineComponent({
27362
27349
  transformOrigin: currentPosition.value === "top" ? "0% 100%" : "0% 0%",
27363
27350
  "z-index": "var(--devui-z-index-dropdown, 1052)"
27364
27351
  }));
27352
+ const align = computed(() => {
27353
+ if (position.value.some((item) => item.includes("start"))) {
27354
+ return "start";
27355
+ }
27356
+ if (position.value.some((item) => item.includes("end"))) {
27357
+ return "end";
27358
+ }
27359
+ return void 0;
27360
+ });
27365
27361
  return () => {
27366
27362
  var _a2, _b;
27367
27363
  const vSlots = {
@@ -27403,7 +27399,7 @@ var DatePickerPro = defineComponent({
27403
27399
  "onUpdate:modelValue": ($event) => isPanelShow.value = $event,
27404
27400
  "ref": overlayRef,
27405
27401
  "origin": originRef.value,
27406
- "align": "start",
27402
+ "align": align.value,
27407
27403
  "position": position.value,
27408
27404
  "style": styles.value,
27409
27405
  "onPositionChange": handlePositionChange
@@ -27569,7 +27565,8 @@ var DRangeDatePickerPro = defineComponent({
27569
27565
  const app = getCurrentInstance();
27570
27566
  const t = createI18nTranslate("DDatePickerPro", app);
27571
27567
  const {
27572
- showGlowStyle
27568
+ showGlowStyle,
27569
+ position
27573
27570
  } = toRefs(props);
27574
27571
  const ns2 = useNamespace$1("range-date-picker-pro");
27575
27572
  const {
@@ -27594,7 +27591,6 @@ var DRangeDatePickerPro = defineComponent({
27594
27591
  handlerClearTime,
27595
27592
  onChangeRangeFocusType
27596
27593
  } = useRangePickerPro(props, ctx2);
27597
- const position = ref(["bottom-start", "top-start"]);
27598
27594
  const currentPosition = ref("bottom");
27599
27595
  const handlePositionChange = (pos) => {
27600
27596
  currentPosition.value = pos.split("-")[0] === "top" ? "top" : "bottom";
@@ -27603,6 +27599,15 @@ var DRangeDatePickerPro = defineComponent({
27603
27599
  transformOrigin: currentPosition.value === "top" ? "0% 100%" : "0% 0%",
27604
27600
  "z-index": "var(--devui-z-index-dropdown, 1052)"
27605
27601
  }));
27602
+ const align = computed(() => {
27603
+ if (position.value.some((item) => item.includes("start"))) {
27604
+ return "start";
27605
+ }
27606
+ if (position.value.some((item) => item.includes("end"))) {
27607
+ return "end";
27608
+ }
27609
+ return void 0;
27610
+ });
27606
27611
  return () => {
27607
27612
  var _a2, _b;
27608
27613
  const vSlots = {
@@ -27664,7 +27669,7 @@ var DRangeDatePickerPro = defineComponent({
27664
27669
  "onUpdate:modelValue": ($event) => isPanelShow.value = $event,
27665
27670
  "ref": overlayRef,
27666
27671
  "origin": originRef.value,
27667
- "align": "start",
27672
+ "align": align.value,
27668
27673
  "position": position.value,
27669
27674
  "style": styles.value,
27670
27675
  "onPositionChange": handlePositionChange
@@ -36242,7 +36247,6 @@ function useEditorMd(props, ctx2) {
36242
36247
  editorIns.on("cursorActivity", lodash.exports.throttle(cursorActivityHandler, hintConfig.value && hintConfig.value.throttleTime || 300));
36243
36248
  editorIns.setSize("auto", "100%");
36244
36249
  refreshEditorCursor();
36245
- editorIns.setCursor(editorIns.lineCount(), 0);
36246
36250
  ctx2.emit("afterEditorInit", editorIns);
36247
36251
  editorIns.on("change", onChange);
36248
36252
  editorIns.on("scroll", onScroll2);
@@ -40707,9 +40711,13 @@ var SubMenu = defineComponent({
40707
40711
  "class": `${ns$6.b()}-icon`
40708
40712
  }, [(_b = (_a2 = ctx2.slots) == null ? void 0 : _a2.icon) == null ? void 0 : _b.call(_a2)]), withDirectives(createVNode("span", {
40709
40713
  "class": `${subMenuClass}-title-content`
40710
- }, [props.title]), [[vShow, !isCollapsed.value]]), withDirectives(createVNode("i", {
40714
+ }, [props.title]), [[vShow, !isCollapsed.value]]), withDirectives(createVNode(SelectArrowIcon, {
40715
+ "class": [ns$6.e("arrow-icon"), {
40716
+ "is-opened": isOpen.value
40717
+ }]
40718
+ }, null), [[vShow, !isCollapsed.value && key !== "overflowContainer" && class_layer.value !== `layer_${subMenuClass}`]]), withDirectives(createVNode("i", {
40711
40719
  "class": {
40712
- "icon icon-chevron-up": class_layer.value !== `layer_${subMenuClass}`,
40720
+ "icon icon-chevron-up": false,
40713
40721
  "icon icon-chevron-right": class_layer.value === `layer_${subMenuClass}`,
40714
40722
  "is-opened": isOpen.value
40715
40723
  }
@@ -41462,27 +41470,33 @@ var ModalBody = defineComponent({
41462
41470
  });
41463
41471
  function CloseIcon() {
41464
41472
  return createVNode("svg", {
41465
- "width": "16px",
41466
- "height": "16px",
41473
+ "width": "18px",
41474
+ "height": "18px",
41467
41475
  "viewBox": "0 0 16 16",
41468
41476
  "version": "1.1",
41469
41477
  "xmlns": "http://www.w3.org/2000/svg"
41470
41478
  }, [createVNode("g", {
41479
+ "id": "modal-close",
41471
41480
  "stroke": "none",
41472
41481
  "stroke-width": "1",
41473
41482
  "fill": "none",
41474
41483
  "fill-rule": "evenodd"
41484
+ }, [createVNode("g", {
41485
+ "transform": "translate(3.000000, 3.000000)",
41486
+ "fill": "#71757F",
41487
+ "fill-rule": "nonzero",
41488
+ "id": "modal-close-road"
41475
41489
  }, [createVNode("path", {
41476
- "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
41477
- C14.9787827,13.5665551 15.0657548,14.2014859 14.7650189,14.6009195 L14.6887175,14.6887175 C14.3003549,15.0770801
41478
- 13.5999604,15.0121881 13.1322854,14.544513 L13.1322854,14.544513 L7.971,9.383 L2.81012075,14.544513 C2.3424457,15.0121881
41479
- 1.64205125,15.0770801 1.25368865,14.6887175 C0.865326051,14.3003549 0.930218063,13.5999605 1.39789313,13.1322854 L6.558,7.971
41480
- L1.39789311,2.81012074 C0.963623424,2.37585105 0.876651354,1.74092026 1.17738727,1.34148668 L1.25368865,1.25368865
41481
- C1.64205125,0.865326051 2.34244569,0.930218063 2.81012074,1.39789311 L2.81012074,1.39789311 L7.971,6.558 L13.1322854,1.39789311
41482
- C13.5999605,0.930218063 14.3003549,0.865326051 14.6887175,1.25368865 Z`,
41483
- "fill": "#8A8E99",
41484
- "fill-rule": "nonzero"
41485
- }, null)])]);
41490
+ "d": `M-0.353553391,-0.353553391 C-0.179987039,-0.527119742 0.0894373624,-0.546404893 0.284305503,-0.411408841 L0.353553391,-0.353553391
41491
+ L10.3535534,9.64644661 C10.5488155,9.84170876 10.5488155,10.1582912 10.3535534,10.3535534 C10.179987,10.5271197 9.91056264,10.5464049
41492
+ 9.7156945,10.4114088 L9.64644661,10.3535534 L-0.353553391,0.353553391 C-0.548815536,0.158291245 -0.548815536,-0.158291245
41493
+ -0.353553391,-0.353553391 Z`
41494
+ }, null), createVNode("path", {
41495
+ "d": `M9.64644661,-0.353553391 C9.84170876,-0.548815536 10.1582912,-0.548815536 10.3535534,-0.353553391 C10.5271197,-0.179987039
41496
+ 10.5464049,0.0894373624 10.4114088,0.284305503 L10.3535534,0.353553391 L0.353553391,10.3535534 C0.158291245,10.5488155
41497
+ -0.158291245,10.5488155 -0.353553391,10.3535534 C-0.527119742,10.179987 -0.546404893,9.91056264 -0.411408841,9.7156945 L-0.353553391,9.64644661
41498
+ L9.64644661,-0.353553391 Z`
41499
+ }, null)])])]);
41486
41500
  }
41487
41501
  var modal = "";
41488
41502
  var Modal = defineComponent({
@@ -45473,6 +45487,10 @@ const searchProps = {
45473
45487
  "onUpdate:modelValue": {
45474
45488
  type: Function,
45475
45489
  default: void 0
45490
+ },
45491
+ showGlowStyle: {
45492
+ type: Boolean,
45493
+ default: true
45476
45494
  }
45477
45495
  };
45478
45496
  const useSearchClass = (props, isFocus) => {
@@ -45488,6 +45506,7 @@ const useSearchClass = (props, isFocus) => {
45488
45506
  [ns2.m("focus")]: isFocus.value,
45489
45507
  [ns2.m("disabled")]: props.disabled,
45490
45508
  [ns2.m("no-border")]: props.noBorder,
45509
+ [ns2.m("glow-style")]: props.showGlowStyle,
45491
45510
  [ns2.m(searchSize.value)]: !!searchSize.value,
45492
45511
  [ns2.m(props.iconPosition)]: ICON_POSITION[props.iconPosition]
45493
45512
  }));
@@ -45586,6 +45605,7 @@ var DSearch = defineComponent({
45586
45605
  maxlength: props.maxLength,
45587
45606
  modelValue: keywords.value,
45588
45607
  placeholder: props.placeholder || t("placeholder"),
45608
+ showGlowStyle: false,
45589
45609
  onKeydown: onInputKeydown,
45590
45610
  "onUpdate:modelValue": onInputUpdate,
45591
45611
  onFocus,
@@ -54337,7 +54357,7 @@ const installs = [
54337
54357
  VirtualListInstall
54338
54358
  ];
54339
54359
  var vueDevui = {
54340
- version: "1.6.9",
54360
+ version: "1.6.11",
54341
54361
  install(app) {
54342
54362
  installs.forEach((p) => app.use(p));
54343
54363
  }