ll-plus 2.7.8 → 2.7.9

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 (190) hide show
  1. package/es/components/advanced-filtering/index.d.ts +288 -288
  2. package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +144 -144
  3. package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +144 -144
  4. package/es/components/breadcrumb-card/index.d.ts +1 -1
  5. package/es/components/breadcrumb-card/src/breadcrumb-card.vue.d.ts +1 -1
  6. package/es/components/cascader/index.d.ts +8 -8
  7. package/es/components/cascader/src/cascader.vue.d.ts +8 -8
  8. package/es/components/checkbox/index.d.ts +217 -217
  9. package/es/components/checkbox/src/checkbox-group.vue.d.ts +217 -217
  10. package/es/components/checkbox/src/checkbox.d.ts +56 -56
  11. package/es/components/drawer/index.d.ts +5 -5
  12. package/es/components/drawer/src/components/second-confirmation/index.d.ts +1 -1
  13. package/es/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +1 -1
  14. package/es/components/drawer/src/drawer.vue.d.ts +5 -5
  15. package/es/components/easy-cron/index.d.ts +88 -88
  16. package/es/components/easy-cron/src/components/easy-cron-inner.vue.d.ts +88 -88
  17. package/es/components/easy-cron/src/components/easy-cron-modal.vue.d.ts +88 -88
  18. package/es/components/easy-cron/src/easy-cron.vue.d.ts +88 -88
  19. package/es/components/form/index.d.ts +144 -144
  20. package/es/components/form/src/components/form-component.vue.d.ts +1 -1
  21. package/es/components/form/src/config/form.d.ts +56 -56
  22. package/es/components/form/src/form.vue.d.ts +143 -143
  23. package/es/components/icon-picker/index.d.ts +1 -1
  24. package/es/components/icon-picker/src/components/modal.vue.d.ts +1 -1
  25. package/es/components/icon-picker/src/icon-picker.vue.d.ts +1 -1
  26. package/es/components/input/index.d.ts +39 -34
  27. package/es/components/input/src/input.d.ts +1 -0
  28. package/es/components/input/src/input.vue.d.ts +39 -34
  29. package/es/components/key-value/index.d.ts +690 -690
  30. package/es/components/key-value/src/components/key-value-item.vue.d.ts +230 -230
  31. package/es/components/key-value/src/key-value.vue.d.ts +690 -690
  32. package/es/components/modal/index.d.ts +1 -1
  33. package/es/components/modal/src/modal.vue.d.ts +1 -1
  34. package/es/components/new-drawer/index.d.ts +7 -7
  35. package/es/components/new-drawer/src/drawer.vue.d.ts +7 -7
  36. package/es/components/new-modal/index.d.ts +2 -2
  37. package/es/components/new-modal/src/modal.vue.d.ts +2 -2
  38. package/es/components/rich-text-editor/index.d.ts +1 -1
  39. package/es/components/rich-text-editor/src/rich-text-editor.vue.d.ts +1 -1
  40. package/es/components/select/index.d.ts +4 -4
  41. package/es/components/select/src/select.vue.d.ts +4 -4
  42. package/es/components/select-group/index.d.ts +2 -2
  43. package/es/components/select-group/src/select-group.d.ts +1 -1
  44. package/es/components/select-group/src/select-group.vue.d.ts +2 -2
  45. package/es/components/table/index.d.ts +6 -6
  46. package/es/components/table/src/components/main-table.vue.d.ts +2 -2
  47. package/es/components/table/src/config/table.d.ts +2 -2
  48. package/es/components/table/src/table.vue.d.ts +6 -6
  49. package/es/components/textarea/index.d.ts +5 -5
  50. package/es/components/textarea/src/textarea.vue.d.ts +5 -5
  51. package/es/components/tooltip/index.d.ts +4 -4
  52. package/es/components/tooltip/src/tooltip.d.ts +1 -1
  53. package/es/components/tooltip/src/tooltip.vue.d.ts +4 -4
  54. package/es/components/tree-search/index.d.ts +1 -1
  55. package/es/components/tree-search/src/tree-search.vue.d.ts +1 -1
  56. package/es/components/upload-drag/index.d.ts +2 -2
  57. package/es/components/upload-drag/src/upload-drag.vue.d.ts +2 -2
  58. package/es/packages/components/input/src/input.mjs +7 -0
  59. package/es/packages/components/input/src/input.mjs.map +1 -1
  60. package/es/packages/components/input/src/input.vue2.mjs +4 -3
  61. package/es/packages/components/input/src/input.vue2.mjs.map +1 -1
  62. package/index.full.js +11 -3
  63. package/index.full.min.js +2 -2
  64. package/index.full.min.js.map +1 -1
  65. package/index.full.min.mjs +2 -2
  66. package/index.full.min.mjs.map +1 -1
  67. package/index.full.mjs +11 -3
  68. package/lib/components/advanced-filtering/index.d.ts +288 -288
  69. package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +144 -144
  70. package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +144 -144
  71. package/lib/components/breadcrumb-card/index.d.ts +1 -1
  72. package/lib/components/breadcrumb-card/src/breadcrumb-card.vue.d.ts +1 -1
  73. package/lib/components/cascader/index.d.ts +8 -8
  74. package/lib/components/cascader/src/cascader.vue.d.ts +8 -8
  75. package/lib/components/checkbox/index.d.ts +217 -217
  76. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +217 -217
  77. package/lib/components/checkbox/src/checkbox.d.ts +56 -56
  78. package/lib/components/drawer/index.d.ts +5 -5
  79. package/lib/components/drawer/src/components/second-confirmation/index.d.ts +1 -1
  80. package/lib/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +1 -1
  81. package/lib/components/drawer/src/drawer.vue.d.ts +5 -5
  82. package/lib/components/easy-cron/index.d.ts +88 -88
  83. package/lib/components/easy-cron/src/components/easy-cron-inner.vue.d.ts +88 -88
  84. package/lib/components/easy-cron/src/components/easy-cron-modal.vue.d.ts +88 -88
  85. package/lib/components/easy-cron/src/easy-cron.vue.d.ts +88 -88
  86. package/lib/components/form/index.d.ts +144 -144
  87. package/lib/components/form/src/components/form-component.vue.d.ts +1 -1
  88. package/lib/components/form/src/config/form.d.ts +56 -56
  89. package/lib/components/form/src/form.vue.d.ts +143 -143
  90. package/lib/components/icon-picker/index.d.ts +1 -1
  91. package/lib/components/icon-picker/src/components/modal.vue.d.ts +1 -1
  92. package/lib/components/icon-picker/src/icon-picker.vue.d.ts +1 -1
  93. package/lib/components/input/index.d.ts +39 -34
  94. package/lib/components/input/src/input.d.ts +1 -0
  95. package/lib/components/input/src/input.vue.d.ts +39 -34
  96. package/lib/components/key-value/index.d.ts +690 -690
  97. package/lib/components/key-value/src/components/key-value-item.vue.d.ts +230 -230
  98. package/lib/components/key-value/src/key-value.vue.d.ts +690 -690
  99. package/lib/components/modal/index.d.ts +1 -1
  100. package/lib/components/modal/src/modal.vue.d.ts +1 -1
  101. package/lib/components/new-drawer/index.d.ts +7 -7
  102. package/lib/components/new-drawer/src/drawer.vue.d.ts +7 -7
  103. package/lib/components/new-modal/index.d.ts +2 -2
  104. package/lib/components/new-modal/src/modal.vue.d.ts +2 -2
  105. package/lib/components/rich-text-editor/index.d.ts +1 -1
  106. package/lib/components/rich-text-editor/src/rich-text-editor.vue.d.ts +1 -1
  107. package/lib/components/select/index.d.ts +4 -4
  108. package/lib/components/select/src/select.vue.d.ts +4 -4
  109. package/lib/components/select-group/index.d.ts +2 -2
  110. package/lib/components/select-group/src/select-group.d.ts +1 -1
  111. package/lib/components/select-group/src/select-group.vue.d.ts +2 -2
  112. package/lib/components/table/index.d.ts +6 -6
  113. package/lib/components/table/src/components/main-table.vue.d.ts +2 -2
  114. package/lib/components/table/src/config/table.d.ts +2 -2
  115. package/lib/components/table/src/table.vue.d.ts +6 -6
  116. package/lib/components/textarea/index.d.ts +5 -5
  117. package/lib/components/textarea/src/textarea.vue.d.ts +5 -5
  118. package/lib/components/tooltip/index.d.ts +4 -4
  119. package/lib/components/tooltip/src/tooltip.d.ts +1 -1
  120. package/lib/components/tooltip/src/tooltip.vue.d.ts +4 -4
  121. package/lib/components/tree-search/index.d.ts +1 -1
  122. package/lib/components/tree-search/src/tree-search.vue.d.ts +1 -1
  123. package/lib/components/upload-drag/index.d.ts +2 -2
  124. package/lib/components/upload-drag/src/upload-drag.vue.d.ts +2 -2
  125. package/lib/packages/components/input/src/input.js +7 -0
  126. package/lib/packages/components/input/src/input.js.map +1 -1
  127. package/lib/packages/components/input/src/input.vue2.js +4 -3
  128. package/lib/packages/components/input/src/input.vue2.js.map +1 -1
  129. package/package.json +1 -1
  130. package/theme-chalk/css/easy-cron.css +1 -1
  131. package/theme-chalk/css/index.css +1 -1
  132. package/theme-chalk/fonts/iconfont.js +1 -1
  133. package/theme-chalk/fonts/iconfont.json +14 -0
  134. package/types/packages/components/advanced-filtering/index.d.ts +288 -288
  135. package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +144 -144
  136. package/types/packages/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +144 -144
  137. package/types/packages/components/breadcrumb-card/index.d.ts +1 -1
  138. package/types/packages/components/breadcrumb-card/src/breadcrumb-card.vue.d.ts +1 -1
  139. package/types/packages/components/cascader/index.d.ts +8 -8
  140. package/types/packages/components/cascader/src/cascader.vue.d.ts +8 -8
  141. package/types/packages/components/checkbox/index.d.ts +217 -217
  142. package/types/packages/components/checkbox/src/checkbox-group.vue.d.ts +217 -217
  143. package/types/packages/components/checkbox/src/checkbox.d.ts +56 -56
  144. package/types/packages/components/drawer/index.d.ts +5 -5
  145. package/types/packages/components/drawer/src/components/second-confirmation/index.d.ts +1 -1
  146. package/types/packages/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +1 -1
  147. package/types/packages/components/drawer/src/drawer.vue.d.ts +5 -5
  148. package/types/packages/components/easy-cron/index.d.ts +88 -88
  149. package/types/packages/components/easy-cron/src/components/easy-cron-inner.vue.d.ts +88 -88
  150. package/types/packages/components/easy-cron/src/components/easy-cron-modal.vue.d.ts +88 -88
  151. package/types/packages/components/easy-cron/src/easy-cron.vue.d.ts +88 -88
  152. package/types/packages/components/form/index.d.ts +144 -144
  153. package/types/packages/components/form/src/components/form-component.vue.d.ts +1 -1
  154. package/types/packages/components/form/src/config/form.d.ts +56 -56
  155. package/types/packages/components/form/src/form.vue.d.ts +143 -143
  156. package/types/packages/components/icon-picker/index.d.ts +1 -1
  157. package/types/packages/components/icon-picker/src/components/modal.vue.d.ts +1 -1
  158. package/types/packages/components/icon-picker/src/icon-picker.vue.d.ts +1 -1
  159. package/types/packages/components/input/index.d.ts +39 -34
  160. package/types/packages/components/input/src/input.d.ts +1 -0
  161. package/types/packages/components/input/src/input.vue.d.ts +39 -34
  162. package/types/packages/components/key-value/index.d.ts +690 -690
  163. package/types/packages/components/key-value/src/components/key-value-item.vue.d.ts +230 -230
  164. package/types/packages/components/key-value/src/key-value.vue.d.ts +690 -690
  165. package/types/packages/components/modal/index.d.ts +1 -1
  166. package/types/packages/components/modal/src/modal.vue.d.ts +1 -1
  167. package/types/packages/components/new-drawer/index.d.ts +7 -7
  168. package/types/packages/components/new-drawer/src/drawer.vue.d.ts +7 -7
  169. package/types/packages/components/new-modal/index.d.ts +2 -2
  170. package/types/packages/components/new-modal/src/modal.vue.d.ts +2 -2
  171. package/types/packages/components/rich-text-editor/index.d.ts +1 -1
  172. package/types/packages/components/rich-text-editor/src/rich-text-editor.vue.d.ts +1 -1
  173. package/types/packages/components/select/index.d.ts +4 -4
  174. package/types/packages/components/select/src/select.vue.d.ts +4 -4
  175. package/types/packages/components/select-group/index.d.ts +2 -2
  176. package/types/packages/components/select-group/src/select-group.d.ts +1 -1
  177. package/types/packages/components/select-group/src/select-group.vue.d.ts +2 -2
  178. package/types/packages/components/table/index.d.ts +6 -6
  179. package/types/packages/components/table/src/components/main-table.vue.d.ts +2 -2
  180. package/types/packages/components/table/src/config/table.d.ts +2 -2
  181. package/types/packages/components/table/src/table.vue.d.ts +6 -6
  182. package/types/packages/components/textarea/index.d.ts +5 -5
  183. package/types/packages/components/textarea/src/textarea.vue.d.ts +5 -5
  184. package/types/packages/components/tooltip/index.d.ts +4 -4
  185. package/types/packages/components/tooltip/src/tooltip.d.ts +1 -1
  186. package/types/packages/components/tooltip/src/tooltip.vue.d.ts +4 -4
  187. package/types/packages/components/tree-search/index.d.ts +1 -1
  188. package/types/packages/components/tree-search/src/tree-search.vue.d.ts +1 -1
  189. package/types/packages/components/upload-drag/index.d.ts +2 -2
  190. package/types/packages/components/upload-drag/src/upload-drag.vue.d.ts +2 -2
@@ -1,7 +1,7 @@
1
1
  import Tooltip from './src/tooltip.vue';
2
2
  export declare const LlTooltip: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
3
3
  readonly tip: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
4
- readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
4
+ readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
5
5
  readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
6
6
  readonly tipEllipsis: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
7
7
  readonly tipEllipsisLine: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
@@ -21,7 +21,7 @@ export declare const LlTooltip: import("ll-plus/es/utils").SFCWithInstall<import
21
21
  readonly width: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
22
22
  }, {
23
23
  props: import("@vue/shared").LooseRequired<{
24
- readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
24
+ readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
25
25
  readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
26
26
  readonly width: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
27
27
  readonly tip: string;
@@ -65,7 +65,7 @@ export declare const LlTooltip: import("ll-plus/es/utils").SFCWithInstall<import
65
65
  }>;
66
66
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
67
67
  readonly tip: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
68
- readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
68
+ readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
69
69
  readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
70
70
  readonly tipEllipsis: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
71
71
  readonly tipEllipsisLine: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
@@ -84,7 +84,7 @@ export declare const LlTooltip: import("ll-plus/es/utils").SFCWithInstall<import
84
84
  readonly ellipsis: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
85
85
  readonly width: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
86
86
  }>>, {
87
- readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
87
+ readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
88
88
  readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
89
89
  readonly width: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
90
90
  readonly tip: string;
@@ -3,7 +3,7 @@ import type Tooltip from './tooltip.vue';
3
3
  export declare const placement: readonly ["top", "left", "right", "bottom", "topLeft", "topRight", "bottomLeft", "bottomRight", "leftTop", "leftBottom", "rightTop", "rightBottom"];
4
4
  export declare const tooltipProps: {
5
5
  readonly tip: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
6
- readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
6
+ readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
7
7
  readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
8
8
  readonly tipEllipsis: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
9
9
  readonly tipEllipsisLine: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  readonly tip: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
3
- readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
3
+ readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
4
4
  readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
5
5
  readonly tipEllipsis: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
6
6
  readonly tipEllipsisLine: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  readonly width: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
21
21
  }, {
22
22
  props: import("@vue/shared").LooseRequired<{
23
- readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
23
+ readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
24
24
  readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
25
25
  readonly width: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
26
26
  readonly tip: string;
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
64
64
  }>;
65
65
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
66
66
  readonly tip: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
67
- readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
67
+ readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
68
68
  readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
69
69
  readonly tipEllipsis: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
70
70
  readonly tipEllipsisLine: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
@@ -83,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
83
83
  readonly ellipsis: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
84
84
  readonly width: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
85
85
  }>>, {
86
- readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
86
+ readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
87
87
  readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
88
88
  readonly width: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
89
89
  readonly tip: string;
@@ -105,7 +105,7 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
105
105
  readonly onCancel?: (() => any) | undefined;
106
106
  readonly onClickAdd?: (() => any) | undefined;
107
107
  } & {}>;
108
- emits: ((event: "cancel") => void) & ((event: "close") => void) & ((event: "select", selectedKeys: string[], e: Event) => void) & ((event: "ok") => void) & ((event: "expand", expandedKeys: string[], data: any) => void) & ((event: "clickAdd") => void);
108
+ emits: ((event: "close") => void) & ((event: "select", selectedKeys: string[], e: Event) => void) & ((event: "ok") => void) & ((event: "cancel") => void) & ((event: "expand", expandedKeys: string[], data: any) => void) & ((event: "clickAdd") => void);
109
109
  isCollapseMenu: import("vue").Ref<boolean>;
110
110
  newExpandedKeys: import("vue").Ref<string[]>;
111
111
  bem: {
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
104
104
  readonly onCancel?: (() => any) | undefined;
105
105
  readonly onClickAdd?: (() => any) | undefined;
106
106
  } & {}>;
107
- emits: ((event: "cancel") => void) & ((event: "close") => void) & ((event: "select", selectedKeys: string[], e: Event) => void) & ((event: "ok") => void) & ((event: "expand", expandedKeys: string[], data: any) => void) & ((event: "clickAdd") => void);
107
+ emits: ((event: "close") => void) & ((event: "select", selectedKeys: string[], e: Event) => void) & ((event: "ok") => void) & ((event: "cancel") => void) & ((event: "expand", expandedKeys: string[], data: any) => void) & ((event: "clickAdd") => void);
108
108
  isCollapseMenu: import("vue").Ref<boolean>;
109
109
  newExpandedKeys: import("vue").Ref<string[]>;
110
110
  bem: {
@@ -39,7 +39,7 @@ export declare const LlUploadDrag: import("ll-plus/es/utils").SFCWithInstall<imp
39
39
  readonly onCancel?: ((...args: any[]) => any) | undefined;
40
40
  readonly onCustomRequest?: ((...args: any[]) => any) | undefined;
41
41
  } & {}>;
42
- emits: (event: "cancel" | "update:value" | "confirm" | "customRequest", ...args: any[]) => void;
42
+ emits: (event: "update:value" | "confirm" | "customRequest" | "cancel", ...args: any[]) => void;
43
43
  bem: {
44
44
  b: (blockSuffix?: string) => string;
45
45
  e: (element?: string) => string;
@@ -61,7 +61,7 @@ export declare const LlUploadDrag: import("ll-plus/es/utils").SFCWithInstall<imp
61
61
  handleDragReject: () => void;
62
62
  handleClickCancelBtn: () => void;
63
63
  handleClickOkBtn: () => void;
64
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "update:value" | "confirm" | "customRequest")[], "cancel" | "update:value" | "confirm" | "customRequest", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "confirm" | "customRequest" | "cancel")[], "update:value" | "confirm" | "customRequest" | "cancel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
65
  value: {
66
66
  type: ArrayConstructor;
67
67
  default: () => never[];
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  readonly onCancel?: ((...args: any[]) => any) | undefined;
40
40
  readonly onCustomRequest?: ((...args: any[]) => any) | undefined;
41
41
  } & {}>;
42
- emits: (event: "cancel" | "update:value" | "confirm" | "customRequest", ...args: any[]) => void;
42
+ emits: (event: "update:value" | "confirm" | "customRequest" | "cancel", ...args: any[]) => void;
43
43
  bem: {
44
44
  b: (blockSuffix?: string) => string;
45
45
  e: (element?: string) => string;
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
61
61
  handleDragReject: () => void;
62
62
  handleClickCancelBtn: () => void;
63
63
  handleClickOkBtn: () => void;
64
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "update:value" | "confirm" | "customRequest")[], "cancel" | "update:value" | "confirm" | "customRequest", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "confirm" | "customRequest" | "cancel")[], "update:value" | "confirm" | "customRequest" | "cancel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
65
  value: {
66
66
  type: ArrayConstructor;
67
67
  default: () => never[];
@@ -33,6 +33,13 @@ const inputProps = buildProps({
33
33
  allowClear: {
34
34
  type: Boolean,
35
35
  default: true
36
+ },
37
+ /**
38
+ * @description 是否禁用状态,默认为 false
39
+ */
40
+ disabled: {
41
+ type: Boolean,
42
+ default: false
36
43
  }
37
44
  });
38
45
 
@@ -1 +1 @@
1
- {"version":3,"file":"input.mjs","sources":["../../../../../../packages/components/input/src/input.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { InputProps as AntInputProps } from 'ant-design-vue'\nimport type Input from './input.vue'\n\nexport const inputProps = buildProps({\n /**\n * @description input的value\n */\n value: {\n type: definePropType<AntInputProps['value']>(String)\n },\n /**\n * @description 带有前缀图标的 input\n */\n prefixIcon: {\n type: String\n },\n /**\n * @description 带有后缀图标的 input\n */\n suffixIcon: {\n type: String\n },\n /**\n * @description 是否显示密码框\n */\n showPassword: {\n type: Boolean\n },\n /**\n * @description 是否点击清除图标删除内容\n */\n allowClear: {\n type: Boolean,\n default: true\n }\n} as const)\n\n// props\nexport type InputProps = ExtractPropTypes<typeof inputProps> // ExtractPropTypes和defineCpmponent类似\nexport type InputValue = AntInputProps['value']\n\n// instance\nexport type InputInstance = InstanceType<typeof Input>\n"],"names":[],"mappings":";;;;AAMO,MAAM,aAAa,UAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAInC,KAAO,EAAA;AAAA,IACL,IAAA,EAAM,eAAuC,MAAM,CAAA;AAAA,GACrD;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,OAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF,CAAU;;;;"}
1
+ {"version":3,"file":"input.mjs","sources":["../../../../../../packages/components/input/src/input.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { InputProps as AntInputProps } from 'ant-design-vue'\nimport type Input from './input.vue'\n\nexport const inputProps = buildProps({\n /**\n * @description input的value\n */\n value: {\n type: definePropType<AntInputProps['value']>(String)\n },\n /**\n * @description 带有前缀图标的 input\n */\n prefixIcon: {\n type: String\n },\n /**\n * @description 带有后缀图标的 input\n */\n suffixIcon: {\n type: String\n },\n /**\n * @description 是否显示密码框\n */\n showPassword: {\n type: Boolean\n },\n /**\n * @description 是否点击清除图标删除内容\n */\n allowClear: {\n type: Boolean,\n default: true\n },\n /**\n * @description 是否禁用状态,默认为 false\n */\n disabled: {\n type: Boolean,\n default: false\n }\n} as const)\n\n// props\nexport type InputProps = ExtractPropTypes<typeof inputProps> // ExtractPropTypes和defineCpmponent类似\nexport type InputValue = AntInputProps['value']\n\n// instance\nexport type InputInstance = InstanceType<typeof Input>\n"],"names":[],"mappings":";;;;AAMO,MAAM,aAAa,UAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAInC,KAAO,EAAA;AAAA,IACL,IAAA,EAAM,eAAuC,MAAM,CAAA;AAAA,GACrD;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,OAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AACF,CAAU;;;;"}
@@ -18,7 +18,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
18
18
  const innerValue = ref("");
19
19
  const inputRef = ref();
20
20
  const isMouseOver = ref(false);
21
- const hasValue = computed(() => innerValue.value !== "");
21
+ const hasValue = computed(() => innerValue.value);
22
22
  const handleMouseOver = () => {
23
23
  isMouseOver.value = true;
24
24
  };
@@ -69,8 +69,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
69
69
  value: innerValue.value,
70
70
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => innerValue.value = $event),
71
71
  "allow-clear": props.allowClear,
72
+ disabled: props.disabled,
72
73
  class: {
73
- "show-clear-icon": props.allowClear && hasValue.value && isMouseOver.value
74
+ "show-clear-icon": props.allowClear && hasValue.value && isMouseOver.value && !props.disabled
74
75
  }
75
76
  }), createSlots({
76
77
  _: 2
@@ -104,7 +105,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
104
105
  ]),
105
106
  key: "1"
106
107
  } : void 0
107
- ]), 1040, ["value", "allow-clear", "class"]))
108
+ ]), 1040, ["value", "allow-clear", "disabled", "class"]))
108
109
  ],
109
110
  34
110
111
  /* CLASS, NEED_HYDRATION */
@@ -1 +1 @@
1
- {"version":3,"file":"input.vue2.mjs","sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\" @mouseover=\"handleMouseOver\" @mouseout=\"handleMouseOut\">\n <component\n :is=\"componentType\"\n ref=\"inputRef\"\n v-bind=\"computedAttrs\"\n v-model:value=\"innerValue\"\n :allow-clear=\"props.allowClear\"\n :class=\"{\n 'show-clear-icon': props.allowClear && hasValue && isMouseOver\n }\"\n >\n <template v-for=\"item in Object.keys($slots)\" :key=\"item\" #[item]=\"data\">\n <slot :name=\"item\" v-bind=\"data || {}\"></slot>\n </template>\n <template v-if=\"prefixIcon\" #prefix>\n <ll-icon :icon-name=\"prefixIcon\" class=\"prefix-icon\" />\n </template>\n <template v-if=\"suffixIcon\" #suffix>\n <ll-icon :icon-name=\"suffixIcon\" class=\"suffix-icon\" />\n </template>\n </component>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, useAttrs, watch } from 'vue'\nimport { Input } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\nimport { InputValue, inputProps } from './input'\nimport { omit } from 'lodash'\n\ndefineOptions({ name: 'LlInput' })\n\nconst bem = createNamespace('input')\n\nconst props = defineProps(inputProps)\n\nconst emit = defineEmits(['update:value'])\n\nconst innerValue = ref<InputValue>('')\n\nconst inputRef = ref()\n\nconst isMouseOver = ref(false)\n\n// 判断当前输入框是否有值\nconst hasValue = computed(() => innerValue.value !== '')\n\n// 鼠标移入事件\nconst handleMouseOver = () => {\n isMouseOver.value = true\n}\n\n// 鼠标移出事件\nconst handleMouseOut = () => {\n isMouseOver.value = false\n}\n\n// 监听props.value的变化\nwatch(\n () => props.value,\n newValue => {\n innerValue.value = newValue\n },\n {\n immediate: true\n }\n)\n\n// 监听innerValue的变化,触发update:value事件\nwatch(\n innerValue,\n newValue => {\n emit('update:value', newValue)\n },\n {\n immediate: true\n }\n)\n\n// 根据showPassword属性决定组件类型\nconst componentType = props.showPassword ? Input.Password : Input\n\n// 计算属性,合并attrs和props\nconst computedAttrs = computed(() => {\n const attrs = { ...omit(useAttrs(), ['class', 'style']), props }\n return attrs\n})\n\n// 聚焦输入框\nconst focus = () => {\n inputRef.value.focus()\n}\n\n// 公开focus方法\ndefineExpose({ focus })\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAkCA,IAAM,MAAA,GAAA,GAAM,gBAAgB,OAAO,CAAA,CAAA;AAEnC,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAEb,IAAM,MAAA,UAAA,GAAa,IAAgB,EAAE,CAAA,CAAA;AAErC,IAAA,MAAM,WAAW,GAAI,EAAA,CAAA;AAErB,IAAM,MAAA,WAAA,GAAc,IAAI,KAAK,CAAA,CAAA;AAG7B,IAAA,MAAM,QAAW,GAAA,QAAA,CAAS,MAAM,UAAA,CAAW,UAAU,EAAE,CAAA,CAAA;AAGvD,IAAA,MAAM,kBAAkB,MAAM;AAC5B,MAAA,WAAA,CAAY,KAAQ,GAAA,IAAA,CAAA;AAAA,KACtB,CAAA;AAGA,IAAA,MAAM,iBAAiB,MAAM;AAC3B,MAAA,WAAA,CAAY,KAAQ,GAAA,KAAA,CAAA;AAAA,KACtB,CAAA;AAGA,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,KAAA;AAAA,MACZ,CAAY,QAAA,KAAA;AACV,QAAA,UAAA,CAAW,KAAQ,GAAA,QAAA,CAAA;AAAA,OACrB;AAAA,MACA;AAAA,QACE,SAAW,EAAA,IAAA;AAAA,OACb;AAAA,KACF,CAAA;AAGA,IAAA,KAAA;AAAA,MACE,UAAA;AAAA,MACA,CAAY,QAAA,KAAA;AACV,QAAA,IAAA,CAAK,gBAAgB,QAAQ,CAAA,CAAA;AAAA,OAC/B;AAAA,MACA;AAAA,QACE,SAAW,EAAA,IAAA;AAAA,OACb;AAAA,KACF,CAAA;AAGA,IAAA,MAAM,aAAgB,GAAA,KAAA,CAAM,YAAe,GAAA,KAAA,CAAM,QAAW,GAAA,KAAA,CAAA;AAG5D,IAAM,MAAA,aAAA,GAAgB,SAAS,MAAM;AACnC,MAAM,MAAA,KAAA,GAAQ,EAAE,GAAG,IAAK,CAAA,QAAA,EAAY,EAAA,CAAC,OAAS,EAAA,OAAO,CAAC,CAAA,EAAG,KAAM,EAAA,CAAA;AAC/D,MAAO,OAAA,KAAA,CAAA;AAAA,KACR,CAAA,CAAA;AAGD,IAAA,MAAM,QAAQ,MAAM;AAClB,MAAA,QAAA,CAAS,MAAM,KAAM,EAAA,CAAA;AAAA,KACvB,CAAA;AAGA,IAAa,QAAA,CAAA,EAAE,OAAO,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"input.vue2.mjs","sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\" @mouseover=\"handleMouseOver\" @mouseout=\"handleMouseOut\">\n <component\n :is=\"componentType\"\n ref=\"inputRef\"\n v-bind=\"computedAttrs\"\n v-model:value=\"innerValue\"\n :allow-clear=\"props.allowClear\"\n :disabled=\"props.disabled\"\n :class=\"{\n 'show-clear-icon':\n props.allowClear && hasValue && isMouseOver && !props.disabled\n }\"\n >\n <template v-for=\"item in Object.keys($slots)\" :key=\"item\" #[item]=\"data\">\n <slot :name=\"item\" v-bind=\"data || {}\"></slot>\n </template>\n <template v-if=\"prefixIcon\" #prefix>\n <ll-icon :icon-name=\"prefixIcon\" class=\"prefix-icon\" />\n </template>\n <template v-if=\"suffixIcon\" #suffix>\n <ll-icon :icon-name=\"suffixIcon\" class=\"suffix-icon\" />\n </template>\n </component>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, useAttrs, watch } from 'vue'\nimport { Input } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\nimport { InputValue, inputProps } from './input'\nimport { omit } from 'lodash'\n\ndefineOptions({ name: 'LlInput' })\n\nconst bem = createNamespace('input')\n\nconst props = defineProps(inputProps)\n\nconst emit = defineEmits(['update:value'])\n\nconst innerValue = ref<InputValue>('')\n\nconst inputRef = ref()\n\nconst isMouseOver = ref(false)\n\n// 判断当前输入框是否有值\nconst hasValue = computed(() => innerValue.value)\n\n// 鼠标移入事件\nconst handleMouseOver = () => {\n isMouseOver.value = true\n}\n\n// 鼠标移出事件\nconst handleMouseOut = () => {\n isMouseOver.value = false\n}\n\n// 监听props.value的变化\nwatch(\n () => props.value,\n newValue => {\n innerValue.value = newValue\n },\n {\n immediate: true\n }\n)\n\n// 监听innerValue的变化,触发update:value事件\nwatch(\n innerValue,\n newValue => {\n emit('update:value', newValue)\n },\n {\n immediate: true\n }\n)\n\n// 根据showPassword属性决定组件类型\nconst componentType = props.showPassword ? Input.Password : Input\n\n// 计算属性,合并attrs和props\nconst computedAttrs = computed(() => {\n const attrs = { ...omit(useAttrs(), ['class', 'style']), props }\n return attrs\n})\n\n// 聚焦输入框\nconst focus = () => {\n inputRef.value.focus()\n}\n\n// 公开focus方法\ndefineExpose({ focus })\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAoCA,IAAM,MAAA,GAAA,GAAM,gBAAgB,OAAO,CAAA,CAAA;AAEnC,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAEb,IAAM,MAAA,UAAA,GAAa,IAAgB,EAAE,CAAA,CAAA;AAErC,IAAA,MAAM,WAAW,GAAI,EAAA,CAAA;AAErB,IAAM,MAAA,WAAA,GAAc,IAAI,KAAK,CAAA,CAAA;AAG7B,IAAA,MAAM,QAAW,GAAA,QAAA,CAAS,MAAM,UAAA,CAAW,KAAK,CAAA,CAAA;AAGhD,IAAA,MAAM,kBAAkB,MAAM;AAC5B,MAAA,WAAA,CAAY,KAAQ,GAAA,IAAA,CAAA;AAAA,KACtB,CAAA;AAGA,IAAA,MAAM,iBAAiB,MAAM;AAC3B,MAAA,WAAA,CAAY,KAAQ,GAAA,KAAA,CAAA;AAAA,KACtB,CAAA;AAGA,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,KAAA;AAAA,MACZ,CAAY,QAAA,KAAA;AACV,QAAA,UAAA,CAAW,KAAQ,GAAA,QAAA,CAAA;AAAA,OACrB;AAAA,MACA;AAAA,QACE,SAAW,EAAA,IAAA;AAAA,OACb;AAAA,KACF,CAAA;AAGA,IAAA,KAAA;AAAA,MACE,UAAA;AAAA,MACA,CAAY,QAAA,KAAA;AACV,QAAA,IAAA,CAAK,gBAAgB,QAAQ,CAAA,CAAA;AAAA,OAC/B;AAAA,MACA;AAAA,QACE,SAAW,EAAA,IAAA;AAAA,OACb;AAAA,KACF,CAAA;AAGA,IAAA,MAAM,aAAgB,GAAA,KAAA,CAAM,YAAe,GAAA,KAAA,CAAM,QAAW,GAAA,KAAA,CAAA;AAG5D,IAAM,MAAA,aAAA,GAAgB,SAAS,MAAM;AACnC,MAAM,MAAA,KAAA,GAAQ,EAAE,GAAG,IAAK,CAAA,QAAA,EAAY,EAAA,CAAC,OAAS,EAAA,OAAO,CAAC,CAAA,EAAG,KAAM,EAAA,CAAA;AAC/D,MAAO,OAAA,KAAA,CAAA;AAAA,KACR,CAAA,CAAA;AAGD,IAAA,MAAM,QAAQ,MAAM;AAClB,MAAA,QAAA,CAAS,MAAM,KAAM,EAAA,CAAA;AAAA,KACvB,CAAA;AAGA,IAAa,QAAA,CAAA,EAAE,OAAO,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/index.full.js CHANGED
@@ -63206,6 +63206,13 @@
63206
63206
  allowClear: {
63207
63207
  type: Boolean,
63208
63208
  default: true
63209
+ },
63210
+ /**
63211
+ * @description 是否禁用状态,默认为 false
63212
+ */
63213
+ disabled: {
63214
+ type: Boolean,
63215
+ default: false
63209
63216
  }
63210
63217
  });
63211
63218
 
@@ -68710,7 +68717,7 @@
68710
68717
  const innerValue = require$$0.ref("");
68711
68718
  const inputRef = require$$0.ref();
68712
68719
  const isMouseOver = require$$0.ref(false);
68713
- const hasValue = require$$0.computed(() => innerValue.value !== "");
68720
+ const hasValue = require$$0.computed(() => innerValue.value);
68714
68721
  const handleMouseOver = () => {
68715
68722
  isMouseOver.value = true;
68716
68723
  };
@@ -68761,8 +68768,9 @@
68761
68768
  value: innerValue.value,
68762
68769
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => innerValue.value = $event),
68763
68770
  "allow-clear": props.allowClear,
68771
+ disabled: props.disabled,
68764
68772
  class: {
68765
- "show-clear-icon": props.allowClear && hasValue.value && isMouseOver.value
68773
+ "show-clear-icon": props.allowClear && hasValue.value && isMouseOver.value && !props.disabled
68766
68774
  }
68767
68775
  }), require$$0.createSlots({
68768
68776
  _: 2
@@ -68796,7 +68804,7 @@
68796
68804
  ]),
68797
68805
  key: "1"
68798
68806
  } : void 0
68799
- ]), 1040, ["value", "allow-clear", "class"]))
68807
+ ]), 1040, ["value", "allow-clear", "disabled", "class"]))
68800
68808
  ],
68801
68809
  34
68802
68810
  /* CLASS, NEED_HYDRATION */