pxd 0.1.3 → 0.1.6

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 (295) hide show
  1. package/dist/components/_internal/dismiss-container.d.vue.ts +2 -2
  2. package/dist/components/_internal/dismiss-container.vue +2 -2
  3. package/dist/components/_internal/mention-editor.d.vue.ts +2 -3
  4. package/dist/components/_internal/mention-editor.vue +9 -7
  5. package/dist/components/_internal/step-item.vue +1 -1
  6. package/dist/components/_internal/tree-node.d.vue.ts +13 -1
  7. package/dist/components/_internal/tree-node.vue +43 -14
  8. package/dist/components/active-graph/index.d.vue.ts +1 -1
  9. package/dist/components/active-graph/index.vue +4 -18
  10. package/dist/components/active-graph/types.d.ts +1 -1
  11. package/dist/components/approval-card/index.d.vue.ts +2 -2
  12. package/dist/components/approval-card/index.vue +8 -4
  13. package/dist/components/approval-card/types.d.ts +1 -1
  14. package/dist/components/avatar/index.vue +1 -1
  15. package/dist/components/backtop/index.vue +1 -1
  16. package/dist/components/badge/index.vue +4 -2
  17. package/dist/components/badge/types.d.ts +7 -2
  18. package/dist/components/browser/index.vue +1 -1
  19. package/dist/components/bubble/index.vue +39 -18
  20. package/dist/components/bubble/types.d.ts +2 -1
  21. package/dist/components/bubble-group/index.vue +21 -8
  22. package/dist/components/bubble-group/types.d.ts +4 -4
  23. package/dist/components/button/index.vue +8 -7
  24. package/dist/components/button/types.d.ts +1 -1
  25. package/dist/components/button-group/types.d.ts +1 -1
  26. package/dist/components/calendar/index.d.vue.ts +2 -2
  27. package/dist/components/calendar/index.vue +8 -8
  28. package/dist/components/calendar/types.d.ts +1 -1
  29. package/dist/components/card/index.vue +2 -2
  30. package/dist/components/carousel/index.d.vue.ts +0 -1
  31. package/dist/components/carousel/index.vue +22 -17
  32. package/dist/components/carousel/types.d.ts +0 -1
  33. package/dist/components/checkbox/index.d.vue.ts +2 -2
  34. package/dist/components/checkbox/index.vue +4 -4
  35. package/dist/components/checkbox/types.d.ts +1 -1
  36. package/dist/components/checkbox-group/index.d.vue.ts +2 -2
  37. package/dist/components/checkbox-group/index.vue +2 -2
  38. package/dist/components/checkbox-group/types.d.ts +1 -1
  39. package/dist/components/checkerboard/index.d.vue.ts +3 -1
  40. package/dist/components/checkerboard/index.vue +13 -2
  41. package/dist/components/checkerboard/types.d.ts +1 -0
  42. package/dist/components/choicebox/index.d.vue.ts +2 -2
  43. package/dist/components/choicebox/index.vue +2 -2
  44. package/dist/components/choicebox/types.d.ts +1 -1
  45. package/dist/components/choicebox-item/index.vue +3 -3
  46. package/dist/components/code-block/index.d.vue.ts +26 -0
  47. package/dist/components/code-block/index.vue +362 -0
  48. package/dist/components/code-block/types.d.ts +33 -0
  49. package/dist/components/collapse/index.d.vue.ts +3 -1
  50. package/dist/components/collapse/index.vue +34 -38
  51. package/dist/components/collapse/types.d.ts +3 -1
  52. package/dist/components/collapse-group/index.vue +3 -3
  53. package/dist/components/color-selector/index.d.vue.ts +2 -2
  54. package/dist/components/color-selector/index.vue +2 -2
  55. package/dist/components/color-selector/types.d.ts +1 -1
  56. package/dist/components/command-menu/index.d.vue.ts +2 -2
  57. package/dist/components/command-menu/index.vue +3 -4
  58. package/dist/components/command-menu/types.d.ts +1 -1
  59. package/dist/components/config-provider/index.d.vue.ts +4 -0
  60. package/dist/components/confirm-popover/index.d.vue.ts +9 -10
  61. package/dist/components/confirm-popover/index.vue +40 -19
  62. package/dist/components/confirm-popover/types.d.ts +7 -6
  63. package/dist/components/context-usage/index.d.vue.ts +6 -0
  64. package/dist/components/context-usage/index.vue +120 -0
  65. package/dist/components/context-usage/types.d.ts +13 -0
  66. package/dist/components/copy-button/index.vue +17 -13
  67. package/dist/components/copy-button/types.d.ts +3 -1
  68. package/dist/components/countdown/index.vue +1 -1
  69. package/dist/components/date-picker/index.d.vue.ts +2 -2
  70. package/dist/components/date-picker/index.vue +3 -3
  71. package/dist/components/date-picker/types.d.ts +1 -1
  72. package/dist/components/description/index.vue +2 -2
  73. package/dist/components/description/types.d.ts +3 -1
  74. package/dist/components/drawer/index.d.vue.ts +2 -2
  75. package/dist/components/drawer/index.vue +17 -23
  76. package/dist/components/drawer/types.d.ts +2 -2
  77. package/dist/components/effort-slider/index.d.vue.ts +2 -2
  78. package/dist/components/effort-slider/index.vue +63 -17
  79. package/dist/components/effort-slider/types.d.ts +3 -1
  80. package/dist/components/ellipsis-text/index.d.vue.ts +3 -3
  81. package/dist/components/ellipsis-text/index.vue +4 -4
  82. package/dist/components/ellipsis-text/types.d.ts +4 -2
  83. package/dist/components/empty-state/index.vue +1 -1
  84. package/dist/components/empty-state/types.d.ts +3 -1
  85. package/dist/components/error/index.vue +2 -2
  86. package/dist/components/feedback-bar/index.d.vue.ts +4 -4
  87. package/dist/components/feedback-bar/index.vue +4 -4
  88. package/dist/components/feedback-bar/types.d.ts +2 -2
  89. package/dist/components/gauge/index.vue +75 -79
  90. package/dist/components/gauge/types.d.ts +2 -0
  91. package/dist/components/hint/index.vue +2 -3
  92. package/dist/components/hold-button/index.d.vue.ts +4 -4
  93. package/dist/components/hold-button/index.vue +86 -75
  94. package/dist/components/hue-text/index.vue +2 -2
  95. package/dist/components/hue-text/types.d.ts +3 -1
  96. package/dist/components/image-preview/index.d.vue.ts +40 -0
  97. package/dist/components/image-preview/index.vue +376 -0
  98. package/dist/components/image-preview/types.d.ts +18 -0
  99. package/dist/components/index.d.ts +134 -0
  100. package/dist/components/index.js +5 -0
  101. package/dist/components/input/index.d.vue.ts +2 -2
  102. package/dist/components/input/index.vue +7 -6
  103. package/dist/components/input/types.d.ts +1 -1
  104. package/dist/components/kbd/index.vue +1 -1
  105. package/dist/components/link-button/index.vue +1 -1
  106. package/dist/components/link-button/types.d.ts +1 -1
  107. package/dist/components/list/index.d.vue.ts +2 -2
  108. package/dist/components/list/index.vue +4 -4
  109. package/dist/components/list/types.d.ts +1 -1
  110. package/dist/components/list-group/index.vue +7 -1
  111. package/dist/components/list-item/index.vue +21 -8
  112. package/dist/components/{_internal/loading-mask.d.vue.ts → loading-mask/index.d.vue.ts} +2 -4
  113. package/dist/components/{_internal/loading-mask.vue → loading-mask/index.vue} +1 -1
  114. package/dist/components/loading-mask/types.d.ts +3 -0
  115. package/dist/components/marquee/index.d.vue.ts +1 -1
  116. package/dist/components/marquee/index.vue +7 -3
  117. package/dist/components/marquee/types.d.ts +2 -2
  118. package/dist/components/mention/index.d.vue.ts +2 -2
  119. package/dist/components/mention/index.vue +2 -2
  120. package/dist/components/mention/types.d.ts +1 -1
  121. package/dist/components/menu/index.d.vue.ts +2 -2
  122. package/dist/components/menu/index.vue +2 -2
  123. package/dist/components/menu/types.d.ts +1 -1
  124. package/dist/components/message/index.vue +1 -1
  125. package/dist/components/modal/index.d.vue.ts +2 -2
  126. package/dist/components/modal/index.vue +17 -23
  127. package/dist/components/modal/types.d.ts +2 -2
  128. package/dist/components/more-button/index.d.vue.ts +4 -4
  129. package/dist/components/more-button/index.vue +4 -4
  130. package/dist/components/more-button/types.d.ts +3 -3
  131. package/dist/components/note/index.vue +2 -2
  132. package/dist/components/note/types.d.ts +1 -1
  133. package/dist/components/number-input/index.d.vue.ts +2 -2
  134. package/dist/components/number-input/index.vue +8 -8
  135. package/dist/components/number-input/types.d.ts +1 -1
  136. package/dist/components/overlay/index.d.vue.ts +2 -3
  137. package/dist/components/overlay/index.vue +6 -12
  138. package/dist/components/overlay/types.d.ts +2 -3
  139. package/dist/components/page-number/index.d.vue.ts +3 -3
  140. package/dist/components/page-number/index.vue +3 -3
  141. package/dist/components/page-number/types.d.ts +1 -1
  142. package/dist/components/pagination/index.vue +4 -4
  143. package/dist/components/pin-input/index.d.vue.ts +2 -2
  144. package/dist/components/pin-input/index.vue +8 -4
  145. package/dist/components/pin-input/types.d.ts +1 -1
  146. package/dist/components/placeholder/index.vue +3 -3
  147. package/dist/components/placeholder/types.d.ts +1 -1
  148. package/dist/components/popover/index.vue +92 -50
  149. package/dist/components/popover/types.d.ts +1 -1
  150. package/dist/components/project-banner/index.vue +22 -9
  151. package/dist/components/questionnaire/index.d.vue.ts +1 -0
  152. package/dist/components/questionnaire/index.vue +83 -85
  153. package/dist/components/questionnaire/types.d.ts +1 -3
  154. package/dist/components/radio/index.d.vue.ts +2 -2
  155. package/dist/components/radio/index.vue +3 -3
  156. package/dist/components/radio/types.d.ts +1 -1
  157. package/dist/components/radio-group/index.d.vue.ts +2 -2
  158. package/dist/components/radio-group/index.vue +2 -2
  159. package/dist/components/radio-group/types.d.ts +1 -1
  160. package/dist/components/rating/index.d.vue.ts +2 -2
  161. package/dist/components/rating/index.vue +2 -2
  162. package/dist/components/rating/types.d.ts +1 -1
  163. package/dist/components/reactions/index.d.vue.ts +34 -0
  164. package/dist/components/reactions/index.vue +143 -0
  165. package/dist/components/reactions/types.d.ts +23 -0
  166. package/dist/components/reasoning/index.d.vue.ts +2 -0
  167. package/dist/components/reasoning/index.vue +49 -30
  168. package/dist/components/reasoning/types.d.ts +9 -0
  169. package/dist/components/resizable/index.d.vue.ts +7 -2
  170. package/dist/components/resizable/index.vue +258 -109
  171. package/dist/components/resizable/types.d.ts +7 -1
  172. package/dist/components/rolling-number/index.vue +1 -1
  173. package/dist/components/scroll-text/index.d.vue.ts +1 -1
  174. package/dist/components/scroll-text/index.vue +2 -2
  175. package/dist/components/scroll-text/types.d.ts +2 -2
  176. package/dist/components/scrollable/index.d.vue.ts +3 -2
  177. package/dist/components/scrollable/types.d.ts +0 -15
  178. package/dist/components/search-input/index.d.vue.ts +5 -5
  179. package/dist/components/search-input/index.vue +1 -1
  180. package/dist/components/select/index.d.vue.ts +2 -2
  181. package/dist/components/select/index.vue +10 -8
  182. package/dist/components/select/types.d.ts +1 -1
  183. package/dist/components/shimmer-text/index.vue +1 -1
  184. package/dist/components/shimmer-text/types.d.ts +1 -1
  185. package/dist/components/slider/index.d.vue.ts +2 -3
  186. package/dist/components/slider/index.vue +17 -6
  187. package/dist/components/slider/types.d.ts +2 -1
  188. package/dist/components/snippet/index.vue +1 -5
  189. package/dist/components/snippet/types.d.ts +6 -2
  190. package/dist/components/spinner-dots/types.d.ts +1 -1
  191. package/dist/components/split-button/index.d.vue.ts +2 -2
  192. package/dist/components/split-button/index.vue +2 -2
  193. package/dist/components/split-button/types.d.ts +1 -1
  194. package/dist/components/steps/index.d.vue.ts +2 -2
  195. package/dist/components/steps/index.vue +2 -2
  196. package/dist/components/steps/types.d.ts +1 -1
  197. package/dist/components/stick-to-bottom/index.vue +3 -6
  198. package/dist/components/swipe-cell/index.d.vue.ts +2 -2
  199. package/dist/components/swipe-cell/index.vue +4 -4
  200. package/dist/components/swipe-cell/types.d.ts +1 -1
  201. package/dist/components/switch/index.d.vue.ts +2 -2
  202. package/dist/components/switch/index.vue +3 -3
  203. package/dist/components/switch/types.d.ts +1 -1
  204. package/dist/components/switch-item/index.vue +2 -2
  205. package/dist/components/tabs/index.d.vue.ts +2 -2
  206. package/dist/components/tabs/index.vue +3 -3
  207. package/dist/components/tabs/types.d.ts +1 -1
  208. package/dist/components/teleport/index.vue +20 -22
  209. package/dist/components/text/index.vue +1 -1
  210. package/dist/components/text/types.d.ts +1 -1
  211. package/dist/components/textarea/index.d.vue.ts +2 -2
  212. package/dist/components/textarea/index.vue +3 -2
  213. package/dist/components/textarea/types.d.ts +1 -1
  214. package/dist/components/theme-switcher/index.d.vue.ts +2 -3
  215. package/dist/components/theme-switcher/index.vue +7 -7
  216. package/dist/components/time-picker/index.d.vue.ts +2 -2
  217. package/dist/components/time-picker/index.vue +6 -6
  218. package/dist/components/time-picker/types.d.ts +1 -1
  219. package/dist/components/timeline-item/index.d.vue.ts +0 -1
  220. package/dist/components/timeline-item/index.vue +20 -4
  221. package/dist/components/timeline-item/types.d.ts +2 -2
  222. package/dist/components/toc/index.vue +1 -1
  223. package/dist/components/todo-list/index.d.vue.ts +4 -13
  224. package/dist/components/todo-list/index.vue +122 -133
  225. package/dist/components/todo-list/types.d.ts +5 -4
  226. package/dist/components/toggle/index.d.vue.ts +4 -4
  227. package/dist/components/toggle/index.vue +5 -5
  228. package/dist/components/toggle/types.d.ts +6 -6
  229. package/dist/components/toggle-button/index.d.vue.ts +2 -2
  230. package/dist/components/toggle-button/index.vue +13 -7
  231. package/dist/components/toggle-button/types.d.ts +4 -3
  232. package/dist/components/toggle-button-group/index.d.vue.ts +2 -2
  233. package/dist/components/toggle-button-group/index.vue +3 -2
  234. package/dist/components/toggle-button-group/types.d.ts +3 -3
  235. package/dist/components/tool-call/index.d.vue.ts +2 -0
  236. package/dist/components/tool-call/index.vue +139 -133
  237. package/dist/components/tool-call/types.d.ts +6 -1
  238. package/dist/components/tooltip/index.d.vue.ts +1 -1
  239. package/dist/components/tooltip/index.vue +1 -0
  240. package/dist/components/tour/index.d.vue.ts +2 -2
  241. package/dist/components/tour/index.vue +6 -6
  242. package/dist/components/tour/types.d.ts +5 -5
  243. package/dist/components/tree/index.d.vue.ts +31 -19
  244. package/dist/components/tree/index.vue +196 -103
  245. package/dist/components/tree/types.d.ts +22 -17
  246. package/dist/components/virtual-list/index.d.vue.ts +4 -4
  247. package/dist/components/virtual-list/index.vue +3 -3
  248. package/dist/components/virtual-list/types.d.ts +10 -8
  249. package/dist/composables/_internal/use-code-highlight.d.ts +12 -0
  250. package/dist/composables/_internal/use-code-highlight.js +49 -0
  251. package/dist/composables/_internal/use-details-collapse.d.ts +7 -0
  252. package/dist/composables/_internal/use-details-collapse.js +68 -0
  253. package/dist/composables/_internal/use-list-selection.d.ts +1 -1
  254. package/dist/composables/_internal/use-list-selection.js +2 -2
  255. package/dist/composables/_internal/use-lock-scroll.js +5 -22
  256. package/dist/composables/_internal/use-model-value.d.ts +1 -1
  257. package/dist/composables/_internal/use-model-value.js +1 -1
  258. package/dist/composables/_internal/use-overlay-manager.d.ts +0 -1
  259. package/dist/composables/_internal/use-overlay-manager.js +2 -18
  260. package/dist/composables/_internal/use-popover-responsive.js +9 -12
  261. package/dist/composables/_internal/use-swipe-gesture.d.ts +1 -1
  262. package/dist/composables/_internal/use-swipe-gesture.js +5 -4
  263. package/dist/composables/_internal/use-tree.d.ts +32 -6
  264. package/dist/composables/_internal/use-tree.js +89 -54
  265. package/dist/composables/use-color-scheme.d.ts +1 -1
  266. package/dist/composables/use-color-scheme.js +7 -3
  267. package/dist/composables/use-countdown.d.ts +1 -1
  268. package/dist/composables/use-countdown.js +9 -9
  269. package/dist/composables/use-loading-bar.js +4 -0
  270. package/dist/composables/use-media-query.d.ts +3 -1
  271. package/dist/composables/use-media-query.js +33 -51
  272. package/dist/composables/use-outside-click.d.ts +2 -1
  273. package/dist/composables/use-outside-click.js +3 -7
  274. package/dist/composables/use-repeat-action.d.ts +1 -1
  275. package/dist/composables/use-repeat-action.js +3 -3
  276. package/dist/composables/use-stick-to-bottom.d.ts +5 -0
  277. package/dist/composables/use-stick-to-bottom.js +45 -31
  278. package/dist/composables/use-virtual-list.d.ts +1 -1
  279. package/dist/constants/size.d.ts +1 -0
  280. package/dist/constants/size.js +7 -6
  281. package/dist/constants/tooltip-variants.d.ts +2 -2
  282. package/dist/constants/tooltip-variants.js +3 -3
  283. package/dist/contexts/collapse.d.ts +1 -1
  284. package/dist/locales/en-us.d.ts +4 -0
  285. package/dist/locales/en-us.js +4 -0
  286. package/dist/locales/zh-cn.d.ts +4 -0
  287. package/dist/locales/zh-cn.js +4 -0
  288. package/dist/styles/styles.css +1 -1
  289. package/dist/styles/tw.css +20 -10
  290. package/package.json +10 -9
  291. package/volar.d.ts +5 -0
  292. package/dist/components/bubble-group/types.js +0 -0
  293. package/dist/components/virtual-list/types.js +0 -0
  294. package/dist/composables/_internal/use-collapse-motion.d.ts +0 -6
  295. package/dist/composables/_internal/use-collapse-motion.js +0 -85
@@ -8,7 +8,7 @@ export interface DrawerProps {
8
8
  loading?: boolean
9
9
  position?: BasePosition
10
10
  modelValue?: boolean
11
- loadingText?: string
11
+ loadingText?: ComponentLabel
12
12
  wrapperClass?: ComponentClass
13
13
  contentClass?: ComponentClass
14
14
  autoFocusElement?: string | boolean
@@ -25,5 +25,5 @@ export interface DrawerEmits {
25
25
  change: [boolean]
26
26
  'outside-click': [PointerEvent]
27
27
  'visible-change': [visible: boolean]
28
- 'update:modelValue': [visible: boolean]
28
+ 'update:model-value': [visible: boolean]
29
29
  }
@@ -1,10 +1,10 @@
1
1
  import type { EffortSliderProps } from './types';
2
2
  declare const __VLS_export: import("vue").DefineComponent<EffortSliderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (args_0: string | number) => any;
4
- "update:modelValue": (args_0: string | number) => any;
4
+ "update:model-value": (args_0: string | number) => any;
5
5
  }, string, import("vue").PublicProps, Readonly<EffortSliderProps> & Readonly<{
6
6
  onChange?: ((args_0: string | number) => any) | undefined;
7
- "onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
7
+ "onUpdate:model-value"?: ((args_0: string | number) => any) | undefined;
8
8
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
9
  declare const _default: typeof __VLS_export;
10
10
  export default _default;
@@ -10,13 +10,9 @@ defineOptions({
10
10
  inheritAttrs: false,
11
11
  model: {
12
12
  prop: "modelValue",
13
- event: "update:modelValue"
13
+ event: "update:model-value"
14
14
  }
15
15
  });
16
- const PRIMARY_COLOR = "var(--color-primary)";
17
- function clamp(value, lower, upper) {
18
- return Math.min(Math.max(value, lower), upper);
19
- }
20
16
  const props = defineProps({
21
17
  options: {
22
18
  type: Array,
@@ -30,6 +26,10 @@ const props = defineProps({
30
26
  type: Boolean,
31
27
  required: false
32
28
  },
29
+ particles: {
30
+ type: Boolean,
31
+ required: false
32
+ },
33
33
  size: {
34
34
  type: String,
35
35
  required: false
@@ -41,9 +41,17 @@ const props = defineProps({
41
41
  null
42
42
  ],
43
43
  required: false
44
+ },
45
+ defaultValue: {
46
+ type: [
47
+ String,
48
+ Number,
49
+ null
50
+ ],
51
+ required: false
44
52
  }
45
53
  });
46
- const emits = defineEmits(["change", "update:modelValue"]);
54
+ const emits = defineEmits(["change", "update:model-value"]);
47
55
  const configProvider = useConfigProvider();
48
56
  const modelValue = useModelValue(props, emits, { withChange: false });
49
57
  const { attrs, classes } = useTailwindVariant({
@@ -77,6 +85,8 @@ let lastClientX = null;
77
85
  let dragStartValue = null;
78
86
  let lastUpdatedValue = null;
79
87
  let stopMoveListener = null;
88
+ const PARTICLE_COUNT = 10;
89
+ const PARTICLE_DURATION = 2;
80
90
  const trackRef = shallowRef();
81
91
  const thumbRef = shallowRef();
82
92
  const labelRef = shallowRef();
@@ -84,6 +94,8 @@ const dragging = shallowRef(false);
84
94
  const focused = shallowRef(false);
85
95
  const dragPosition = shallowRef(null);
86
96
  const labelShift = shallowRef(0);
97
+ const innerValue = shallowRef(props.defaultValue);
98
+ const activeValue = computed(() => props.modelValue ?? innerValue.value);
87
99
  const optionList = computed(() => props.options.map((option, index) => typeof option === "string" ? {
88
100
  label: option,
89
101
  value: option
@@ -93,7 +105,7 @@ const optionList = computed(() => props.options.map((option, index) => typeof op
93
105
  }));
94
106
  const levelCount = computed(() => optionList.value.length);
95
107
  const currentIndex = computed(() => {
96
- const index = optionList.value.findIndex((option) => option.value === modelValue.value);
108
+ const index = optionList.value.findIndex((option) => option.value === activeValue.value);
97
109
  return index === -1 ? 0 : index;
98
110
  });
99
111
  const currentOptionLabel = computed(() => optionList.value[currentIndex.value]?.label);
@@ -107,8 +119,13 @@ const percentage = computed(() => {
107
119
  return count > 1 ? currentIndex.value / (count - 1) * 100 : 100;
108
120
  });
109
121
  const labelVisible = computed(() => dragging.value || focused.value);
110
- // The label stays centred on the thumb and is clamped against the thumb box instead of
111
- // switching its alignment per level, so a label at either end lines up with the thumb edge.
122
+ function clamp(value, lower, upper) {
123
+ return Math.min(Math.max(value, lower), upper);
124
+ }
125
+ function particleSeed(index, salt) {
126
+ const value = Math.sin(index * 127.1 + salt * 311.7) * 43758.5453;
127
+ return value - Math.floor(value);
128
+ }
112
129
  function updateLabelShift() {
113
130
  const label = labelRef.value;
114
131
  const thumb = thumbRef.value;
@@ -141,19 +158,39 @@ const tickList = computed(() => {
141
158
  });
142
159
  });
143
160
  const fillColor = computed(() => getColorByThreshold(currentIndex.value, {
144
- 0: PRIMARY_COLOR,
161
+ 0: "var(--color-primary)",
145
162
  ...props.colors
146
163
  }));
147
164
  const fillStyle = computed(() => ({
148
- backgroundColor: fillColor.value,
165
+ background: fillColor.value,
149
166
  clipPath: `inset(0 ${100 - percentage.value}% 0 0)`
150
167
  }));
168
+ const particleList = computed(() => {
169
+ if (!props.particles) {
170
+ return [];
171
+ }
172
+ return Array.from({ length: PARTICLE_COUNT }, (_, index) => {
173
+ const duration = PARTICLE_DURATION + particleSeed(index, 5) * 2;
174
+ const position = (index + .5 + (particleSeed(index, 1) - .5) * .9) / PARTICLE_COUNT;
175
+ return {
176
+ id: index,
177
+ style: {
178
+ "--p-duration": `${duration.toFixed(2)}s`,
179
+ "--p-delay": `${(-(position * duration)).toFixed(2)}s`,
180
+ "--p-size": `${(1.5 + particleSeed(index, 2) * 3).toFixed(2)}px`,
181
+ "--p-y": `${(particleSeed(index, 3) * 50 - 25).toFixed(1)}%`,
182
+ "--p-opacity": (.35 + particleSeed(index, 4) * .55).toFixed(2)
183
+ }
184
+ };
185
+ });
186
+ });
151
187
  function setValue(index) {
152
188
  const option = optionList.value[index];
153
189
  if (!option) {
154
190
  return null;
155
191
  }
156
- if (option.value !== modelValue.value) {
192
+ if (option.value !== activeValue.value) {
193
+ innerValue.value = option.value;
157
194
  modelValue.value = option.value;
158
195
  }
159
196
  return option.value;
@@ -194,7 +231,7 @@ function onTrackPointerdown(ev) {
194
231
  return;
195
232
  }
196
233
  trackRect = trackRef.value?.getBoundingClientRect() ?? null;
197
- dragStartValue = modelValue.value ?? null;
234
+ dragStartValue = activeValue.value ?? null;
198
235
  lastUpdatedValue = null;
199
236
  lastClientX = ev.clientX;
200
237
  dragging.value = true;
@@ -267,8 +304,9 @@ function initModelValue() {
267
304
  if (!option) {
268
305
  return;
269
306
  }
270
- const isValid = optionList.value.some((item) => item.value === props.modelValue);
307
+ const isValid = optionList.value.some((item) => item.value === activeValue.value);
271
308
  if (!isValid) {
309
+ innerValue.value = option.value;
272
310
  modelValue.value = option.value;
273
311
  }
274
312
  }
@@ -295,10 +333,18 @@ onBeforeUnmount(() => {
295
333
  @pointerdown.prevent="onTrackPointerdown"
296
334
  >
297
335
  <div
298
- class="pxd-effort-slider--fill inset-0 pointer-events-none absolute rounded-full motion-safe:transition-[clip-path,background-color]"
336
+ class="pxd-effort-slider--fill inset-0 pointer-events-none absolute overflow-hidden rounded-full motion-safe:transition-[clip-path,background-color]"
299
337
  :class="{ 'motion-safe:transition-colors': dragging || focused }"
300
338
  :style="fillStyle"
301
- />
339
+ >
340
+ <span
341
+ v-for="particle in particleList"
342
+ :key="particle.id"
343
+ aria-hidden="true"
344
+ class="pxd-effort-slider--particle inset-y-0 left-0 absolute w-full motion-reduce:animate-none!"
345
+ :style="particle.style"
346
+ />
347
+ </div>
302
348
 
303
349
  <span
304
350
  v-for="tick in tickList"
@@ -337,5 +383,5 @@ onBeforeUnmount(() => {
337
383
  </template>
338
384
 
339
385
  <style>
340
- .pxd-effort-slider--thumb:active,.pxd-effort-slider--thumb[data-dragging=true]{--slider-thumb-scale:1.3;z-index:1}.pxd-effort-slider--thumb:after,.pxd-effort-slider--thumb:before{border-radius:inherit;content:"";left:50%;position:absolute;top:50%;transform:translate3d(-50%,-50%,0) scale(var(--slider-thumb-scale,1))}.pxd-effort-slider--thumb:before{background-color:#fff;box-shadow:0 0 0 1px var(--color-gray-alpha-500),0 1px 2px var(--color-gray-alpha-100);height:100%;width:100%}.pxd-effort-slider--thumb:after{height:200%;width:200%}.dark .pxd-effort-slider--thumb:before{box-shadow:0 0 0 1px var(--color-background-200)}
386
+ .pxd-effort-slider--thumb:active,.pxd-effort-slider--thumb[data-dragging=true]{--slider-thumb-scale:1.3;z-index:1}.pxd-effort-slider--thumb:after,.pxd-effort-slider--thumb:before{border-radius:inherit;content:"";left:50%;position:absolute;top:50%;transform:translate3d(-50%,-50%,0) scale(var(--slider-thumb-scale,1))}.pxd-effort-slider--thumb:before{background-color:#fff;box-shadow:0 0 0 1px var(--color-gray-alpha-500),0 1px 2px var(--color-gray-alpha-100);height:100%;width:100%}.pxd-effort-slider--thumb:after{height:200%;width:200%}.dark .pxd-effort-slider--thumb:before{box-shadow:0 0 0 1px var(--color-background-200)}.pxd-effort-slider--particle{animation:pxd-effort-slider-particle-flow var(--p-duration) linear infinite;animation-delay:var(--p-delay)}.pxd-effort-slider--particle:before{background-color:var(--color-gray-500);border-radius:50%;content:"";height:var(--p-size);left:50%;opacity:var(--p-opacity);position:absolute;top:calc(50% + var(--p-y));transform:translate(-50%,-50%);width:var(--p-size)}@keyframes pxd-effort-slider-particle-flow{0%{transform:translateX(50%)}to{transform:translateX(-50%)}}
341
387
  </style>
@@ -4,11 +4,13 @@ export interface EffortSliderProps {
4
4
  options: Array<ComponentOption | string>
5
5
  colors?: Record<string, string>
6
6
  disabled?: boolean
7
+ particles?: boolean
7
8
  size?: ComponentSize
8
9
  modelValue?: string | number | null
10
+ defaultValue?: string | number | null
9
11
  }
10
12
 
11
13
  export interface EffortSliderEmits {
12
14
  change: [string | number]
13
- 'update:modelValue': [string | number]
15
+ 'update:model-value': [string | number]
14
16
  }
@@ -7,11 +7,11 @@ declare const __VLS_export: import("vue").DefineComponent<EllipsisTextProps, {
7
7
  }, string, import("vue").PublicProps, Readonly<EllipsisTextProps> & Readonly<{
8
8
  onToggle?: ((expanded: boolean) => any) | undefined;
9
9
  }>, {
10
- position: "start" | "end" | "middle";
11
10
  dots: string;
11
+ position: "start" | "end" | "middle";
12
12
  rows: number;
13
- moreText: string;
14
- lessText: string;
13
+ moreText: string | number | null;
14
+ lessText: string | number | null;
15
15
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
17
17
  export default _default;
@@ -36,12 +36,12 @@ const props = defineProps({
36
36
  default: "end"
37
37
  },
38
38
  moreText: {
39
- type: String,
39
+ type: null,
40
40
  required: false,
41
41
  default: "Expand"
42
42
  },
43
43
  lessText: {
44
- type: String,
44
+ type: null,
45
45
  required: false,
46
46
  default: "Collapse"
47
47
  },
@@ -113,7 +113,7 @@ const updateEllipsis = scheduleByRaf(async () => {
113
113
  while (low <= high) {
114
114
  const mid = Math.floor((low + high) / 2);
115
115
  const candidate = `${joinChars(baseChars, 0, mid)}${dots}`;
116
- if (measureLineCount(candidate, textFont, availableWidth, actionText, actionFont) <= maxRows.value) {
116
+ if (measureLineCount(candidate, textFont, availableWidth, String(actionText ?? ""), actionFont) <= maxRows.value) {
117
117
  best = candidate;
118
118
  low = mid + 1;
119
119
  } else {
@@ -130,7 +130,7 @@ const updateEllipsis = scheduleByRaf(async () => {
130
130
  while (low <= high) {
131
131
  const mid = Math.floor((low + high) / 2);
132
132
  const candidate = buildCandidate(chars, mid, dots, props.position);
133
- if (measureLineCount(candidate, textFont, availableWidth, actionText, actionFont) <= maxRows.value) {
133
+ if (measureLineCount(candidate, textFont, availableWidth, String(actionText ?? ""), actionFont) <= maxRows.value) {
134
134
  best = candidate;
135
135
  low = mid + 1;
136
136
  } else {
@@ -1,11 +1,13 @@
1
+ import type { ComponentLabel } from '../../types/shared/props'
2
+
1
3
  export interface EllipsisTextProps {
2
4
  text: string
3
5
  dots?: string
4
6
  rows?: number
5
7
  action?: boolean
6
8
  position?: 'start' | 'middle' | 'end'
7
- moreText?: string
8
- lessText?: string
9
+ moreText?: ComponentLabel
10
+ lessText?: ComponentLabel
9
11
  moreActionClass?: string
10
12
  lessActionClass?: string
11
13
  }
@@ -5,7 +5,7 @@ defineOptions({
5
5
  });
6
6
  defineProps({
7
7
  title: {
8
- type: String,
8
+ type: null,
9
9
  required: false
10
10
  },
11
11
  description: {
@@ -1,4 +1,6 @@
1
+ import type { ComponentLabel } from '../../types/shared/props'
2
+
1
3
  export interface EmptyStateProps {
2
- title?: string
4
+ title?: ComponentLabel
3
5
  description?: string
4
6
  }
@@ -33,11 +33,11 @@ const { attrs, classes } = useTailwindVariant({
33
33
  variants: {
34
34
  variant: {
35
35
  default: "",
36
- card: "p-4 gap-2 w-full max-w-full flex-col items-center rounded-lg border border-red-400 bg-red-200 empty:hidden"
36
+ card: "p-3 gap-2 w-full max-w-full flex-col items-center rounded-lg border border-red-400 bg-red-200 empty:hidden"
37
37
  },
38
38
  size: {
39
39
  xs: "text-xs [--mt:0.125rem]",
40
- sm: "text-13 [--mt:0.125rem]",
40
+ sm: "text-sm [--mt:0.125rem]",
41
41
  md: "text-sm [--mt:0.125rem]",
42
42
  lg: "text-base [--mt:0.25rem]"
43
43
  }
@@ -1,12 +1,12 @@
1
1
  import type { FeedbackBarProps } from './types';
2
2
  declare const __VLS_export: import("vue").DefineComponent<FeedbackBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  close: () => any;
4
- thumbUp: () => any;
5
- thumbDown: () => any;
4
+ "thumb-up": () => any;
5
+ "thumb-down": () => any;
6
6
  }, string, import("vue").PublicProps, Readonly<FeedbackBarProps> & Readonly<{
7
7
  onClose?: (() => any) | undefined;
8
- onThumbUp?: (() => any) | undefined;
9
- onThumbDown?: (() => any) | undefined;
8
+ "onThumb-up"?: (() => any) | undefined;
9
+ "onThumb-down"?: (() => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -15,18 +15,18 @@ const props = defineProps({ label: {
15
15
  } });
16
16
  const emits = defineEmits([
17
17
  "close",
18
- "thumbUp",
19
- "thumbDown"
18
+ "thumb-up",
19
+ "thumb-down"
20
20
  ]);
21
21
  const configProvider = useConfigProvider();
22
22
  function handleClose() {
23
23
  emits("close");
24
24
  }
25
25
  function handleThumbUp() {
26
- emits("thumbUp");
26
+ emits("thumb-up");
27
27
  }
28
28
  function handleThumbDown() {
29
- emits("thumbDown");
29
+ emits("thumb-down");
30
30
  }
31
31
  </script>
32
32
 
@@ -4,6 +4,6 @@ export interface FeedbackBarProps {
4
4
 
5
5
  export interface FeedbackBarEmits {
6
6
  close: []
7
- thumbUp: []
8
- thumbDown: []
7
+ 'thumb-up': []
8
+ 'thumb-down': []
9
9
  }
@@ -8,7 +8,7 @@ defineOptions({
8
8
  inheritAttrs: false,
9
9
  model: {
10
10
  prop: "modelValue",
11
- event: "update:modelValue"
11
+ event: "update:model-value"
12
12
  }
13
13
  });
14
14
  const props = defineProps({
@@ -33,20 +33,30 @@ const props = defineProps({
33
33
  colors: {
34
34
  type: Object,
35
35
  required: false
36
+ },
37
+ primaryColor: {
38
+ type: String,
39
+ required: false
40
+ },
41
+ secondaryColor: {
42
+ type: String,
43
+ required: false
36
44
  }
37
45
  });
38
46
  const SIZES = {
39
- xs: "24",
47
+ xs: "16",
40
48
  sm: "32",
41
49
  md: "64",
42
50
  lg: "128"
43
51
  };
44
52
  const PROGRESS_BAR_GAP = 5;
45
- const MIN_VISIBLE_TRACK = PROGRESS_BAR_GAP * 2;
46
53
  const RADIUS = 42;
47
- const STROKE_WIDTH = 10;
48
54
  const CIRCUMFERENCE = 2 * Math.PI * RADIUS;
49
55
  const GAP_LENGTH = PROGRESS_BAR_GAP / 100 * CIRCUMFERENCE;
56
+ const GAP_OFFSET = GAP_LENGTH / 2;
57
+ // `<circle>` starts at 3 o'clock and dashes don't wrap the seam, so trace the ring from 12 o'clock
58
+ const RING_PATH = `M 50 ${50 - RADIUS} A ${RADIUS} ${RADIUS} 0 1 1 50 ${50 + RADIUS}` + ` A ${RADIUS} ${RADIUS} 0 1 1 50 ${50 - RADIUS}`;
59
+ const DEFAULT_TRACK_COLOR = "var(--color-gray-200)";
50
60
  const defaultColors = {
51
61
  0: "var(--color-red-800)",
52
62
  30: "var(--color-amber-800)",
@@ -58,61 +68,48 @@ const progress = computed(() => {
58
68
  }
59
69
  return Math.min(Math.max(props.modelValue || 0, 0), 100);
60
70
  });
61
- // Arc length is taken as a percentage of the geometric arc; round linecap overhangs
62
- // past the endpoints, so trimming slightly keeps gaps from looking too full.
63
- const progressArc = computed(() => {
64
- if (progress.value === 0 || progress.value === 100) {
65
- return progress.value / 100 * CIRCUMFERENCE;
71
+ const isComplete = computed(() => progress.value >= 100);
72
+ const hasProgress = computed(() => progress.value > 0);
73
+ const strokeWidth = computed(() => props.size === "xs" ? 16 : 10);
74
+ const bar = computed(() => {
75
+ const arc = progress.value / 100 * CIRCUMFERENCE;
76
+ if (arc === 0 || arc === CIRCUMFERENCE) {
77
+ return {
78
+ arc,
79
+ offset: 0
80
+ };
66
81
  }
67
- const baseArc = progress.value / 100 * CIRCUMFERENCE;
68
- const roundCapTrim = STROKE_WIDTH;
69
- return Math.max(0, baseArc - roundCapTrim);
70
- });
71
- const progressStatus = computed(() => {
72
- const _progress = progress.value;
73
82
  return {
74
- isComplete: props.indeterminate ? false : _progress >= 100,
75
- hasProgress: props.indeterminate ? false : _progress > 0
83
+ arc: Math.max(strokeWidth.value / 2, arc - strokeWidth.value),
84
+ offset: -GAP_OFFSET
76
85
  };
77
86
  });
78
- const shouldShowTrack = computed(() => {
79
- if (progressStatus.value.isComplete) {
80
- return false;
81
- }
82
- if (!progressStatus.value.hasProgress) {
83
- return true;
84
- }
85
- const remainingPercent = 100 - progress.value;
86
- return remainingPercent >= MIN_VISIBLE_TRACK;
87
- });
88
- const trackArc = computed(() => {
89
- if (!shouldShowTrack.value) {
90
- return 0;
91
- }
92
- if (!progressStatus.value.hasProgress) {
93
- return CIRCUMFERENCE;
87
+ const track = computed(() => {
88
+ if (isComplete.value || 100 - progress.value < PROGRESS_BAR_GAP * 2) {
89
+ return undefined;
94
90
  }
95
- return CIRCUMFERENCE - progressArc.value - GAP_LENGTH * 2;
96
- });
97
- const trackOffset = computed(() => {
98
- if (!shouldShowTrack.value || !progressStatus.value.hasProgress) {
99
- return 0;
91
+ if (!hasProgress.value) {
92
+ return {
93
+ arc: CIRCUMFERENCE,
94
+ offset: 0
95
+ };
100
96
  }
101
- return -progressArc.value - GAP_LENGTH;
97
+ const { arc } = bar.value;
98
+ return {
99
+ arc: CIRCUMFERENCE - arc - GAP_LENGTH * 2,
100
+ offset: -arc - GAP_LENGTH - GAP_OFFSET
101
+ };
102
102
  });
103
103
  const progressColors = computed(() => {
104
- const colors = props.colors || defaultColors;
105
- let primaryColor = colors.primary;
106
- let secondaryColor = colors.secondary || "hsl(var(--color-gray-200-value))";
107
104
  if (props.indeterminate) {
108
- primaryColor = "hsl(var(--color-gray-200-value))";
109
- secondaryColor = "hsl(var(--color-gray-200-value))";
110
- } else if (!primaryColor) {
111
- primaryColor = getColorByThreshold(progress.value, colors) || colors.primary;
105
+ return {
106
+ primary: DEFAULT_TRACK_COLOR,
107
+ secondary: DEFAULT_TRACK_COLOR
108
+ };
112
109
  }
113
110
  return {
114
- primary: primaryColor,
115
- secondary: secondaryColor
111
+ primary: props.primaryColor || getColorByThreshold(progress.value, props.colors || defaultColors),
112
+ secondary: props.secondaryColor || DEFAULT_TRACK_COLOR
116
113
  };
117
114
  });
118
115
  const configProvider = useConfigProvider();
@@ -122,8 +119,13 @@ const computedSize = computed(() => getFallbackValue(props.size, SIZES, configPr
122
119
  <template>
123
120
  <div
124
121
  data-gauge
122
+ role="progressbar"
125
123
  class="pxd-gauge relative size-max"
126
124
  :style="`--gauge-size: ${computedSize}px`"
125
+ :aria-valuemin="0"
126
+ :aria-valuemax="100"
127
+ :aria-valuenow="indeterminate ? void 0 : progress"
128
+ :aria-valuetext="indeterminate ? void 0 : `${progress}%`"
127
129
  v-bind="$attrs"
128
130
  >
129
131
  <svg
@@ -132,41 +134,34 @@ const computedSize = computed(() => getFallbackValue(props.size, SIZES, configPr
132
134
  fill="none"
133
135
  viewBox="0 0 100 100"
134
136
  >
135
- <g transform="rotate(-83 50 50)">
136
- <circle
137
- v-if="shouldShowTrack"
138
- cx="50"
139
- cy="50"
140
- fill="none"
141
- :r="RADIUS"
142
- :stroke-width="STROKE_WIDTH"
143
- stroke-linecap="round"
144
- :stroke-dashoffset="trackOffset"
145
- :stroke="progressColors.secondary"
146
- class="pxd-gauge--track motion-safe:transition-[stroke,stroke-dasharray,stroke-dashoffset]"
147
- :stroke-dasharray="
148
- progressStatus.hasProgress ? `${trackArc} ${CIRCUMFERENCE}` : void 0
149
- "
150
- />
137
+ <path
138
+ v-if="track"
139
+ :d="RING_PATH"
140
+ fill="none"
141
+ :stroke-width="strokeWidth"
142
+ stroke-linecap="round"
143
+ :stroke-dashoffset="track.offset"
144
+ :stroke="progressColors.secondary"
145
+ class="pxd-gauge--track motion-safe:transition-[stroke,stroke-dasharray,stroke-dashoffset]"
146
+ :stroke-dasharray="hasProgress ? `${track.arc} ${CIRCUMFERENCE}` : void 0"
147
+ />
151
148
 
152
- <circle
153
- v-if="progressStatus.hasProgress || progressStatus.isComplete"
154
- cx="50"
155
- cy="50"
156
- fill="none"
157
- :r="RADIUS"
158
- :stroke-width="STROKE_WIDTH"
159
- stroke-dashoffset="0"
160
- stroke-linecap="round"
161
- :stroke="progressColors.primary"
162
- class="pxd-gauge--bar motion-safe:transition-[stroke,stroke-dasharray,stroke-dashoffset]"
163
- :stroke-dasharray="`${progressArc} ${CIRCUMFERENCE}`"
164
- />
165
- </g>
149
+ <path
150
+ v-if="hasProgress || isComplete"
151
+ :d="RING_PATH"
152
+ fill="none"
153
+ :stroke-width="strokeWidth"
154
+ :stroke-dashoffset="bar.offset"
155
+ stroke-linecap="round"
156
+ :stroke="progressColors.primary"
157
+ class="pxd-gauge--bar motion-safe:transition-[stroke,stroke-dasharray,stroke-dashoffset]"
158
+ :stroke-dasharray="`${bar.arc} ${CIRCUMFERENCE}`"
159
+ />
166
160
  </svg>
167
161
 
168
162
  <div
169
163
  v-if="indeterminate"
164
+ aria-hidden="true"
170
165
  class="pxd-gauge--indeterminate inset-0 font-medium absolute flex items-center justify-center text-center text-foreground-secondary"
171
166
  style="font-size: clamp(10px, calc(var(--gauge-size, 48px) * 0.38), 50px)"
172
167
  >
@@ -174,7 +169,8 @@ const computedSize = computed(() => getFallbackValue(props.size, SIZES, configPr
174
169
  </div>
175
170
 
176
171
  <div
177
- v-else-if="showValue && size !== 'xs'"
172
+ v-else-if="showValue && computedSize !== SIZES.xs"
173
+ aria-hidden="true"
178
174
  class="pxd-gauge--value inset-0 font-medium absolute flex items-center justify-center text-center"
179
175
  style="font-size: calc(var(--gauge-size, 48px) * 0.28)"
180
176
  >
@@ -6,4 +6,6 @@ export interface GaugeProps {
6
6
  indeterminate?: boolean
7
7
  size?: ComponentSizeWithXs
8
8
  colors?: Record<string, string>
9
+ primaryColor?: string
10
+ secondaryColor?: string
9
11
  }
@@ -61,7 +61,6 @@ const progressVisible = computed(() => visible.value && progressDuration.value >
61
61
  const statusVariant = computed(() => status.value === "success" || status.value === "error" ? status.value : "default");
62
62
  const computedVariant = computed(() => TOOLTIP_VARIANTS[statusVariant.value]);
63
63
  const contentClassComputed = computed(() => [
64
- "relative",
65
64
  TOOLTIP_CONTENT_CLASS,
66
65
  computedVariant.value.base,
67
66
  props.contentClass
@@ -196,8 +195,8 @@ onBeforeUnmount(() => {
196
195
 
197
196
  <template #content="{ activeTrigger, activeTriggerIndex }">
198
197
  <div
199
- class="pxd-hint--content gap-1.5 flex items-center"
200
- :data-pause-on-hover="pauseOnHover ? 'true' : 'false'"
198
+ class="pxd-hint--content gap-2 px-3 py-2 flex items-center"
199
+ :data-pause-on-hover="pauseOnHover"
201
200
  @pointerenter="pauseCloseTimer"
202
201
  @pointerleave="resumeCloseTimer"
203
202
  >
@@ -1,11 +1,11 @@
1
1
  import type { HoldButtonProps } from './types';
2
- declare var __VLS_12: {}, __VLS_14: {}, __VLS_17: {};
2
+ declare var __VLS_14: {}, __VLS_16: {}, __VLS_19: {};
3
3
  type __VLS_Slots = {} & {
4
- prefix?: (props: typeof __VLS_12) => any;
4
+ prefix?: (props: typeof __VLS_14) => any;
5
5
  } & {
6
- default?: (props: typeof __VLS_14) => any;
6
+ default?: (props: typeof __VLS_16) => any;
7
7
  } & {
8
- suffix?: (props: typeof __VLS_17) => any;
8
+ suffix?: (props: typeof __VLS_19) => any;
9
9
  };
10
10
  declare const __VLS_base: import("vue").DefineComponent<HoldButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  cancel: () => any;