maz-ui 3.11.3 → 3.12.0

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 (358) hide show
  1. package/components/MazAvatar.d.ts +154 -0
  2. package/components/MazBackdrop.d.ts +91 -0
  3. package/components/MazBadge.d.ts +73 -0
  4. package/components/MazBottomSheet.d.ts +36 -0
  5. package/components/MazBtn.d.ts +195 -0
  6. package/components/MazCard.d.ts +194 -0
  7. package/components/MazCarousel.d.ts +24 -0
  8. package/components/MazChart.d.ts +95 -0
  9. package/components/MazCheckbox.d.ts +52 -0
  10. package/components/MazDialog.d.ts +91 -0
  11. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -0
  12. package/components/MazDialogPromise.d.ts +72 -0
  13. package/components/MazDrawer.d.ts +69 -0
  14. package/components/MazDropzone.d.ts +128 -0
  15. package/components/MazGallery.d.ts +125 -0
  16. package/components/MazIcon.d.ts +64 -0
  17. package/components/MazInput.d.ts +271 -0
  18. package/components/MazInputNumber.d.ts +65 -0
  19. package/components/MazInputPrice.d.ts +69 -0
  20. package/components/MazInputTags.d.ts +92 -0
  21. package/components/MazLazyImg.d.ts +77 -0
  22. package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -0
  23. package/components/MazPhoneNumberInput/types.d.ts +21 -0
  24. package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -0
  25. package/components/MazPhoneNumberInput/utils/index.d.ts +12 -0
  26. package/components/MazPhoneNumberInput.d.ts +251 -0
  27. package/components/MazPicker/MazPickerCalendar.vue.d.ts +135 -0
  28. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -0
  29. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +112 -0
  30. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +122 -0
  31. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +36 -0
  32. package/components/MazPicker/MazPickerContainer.vue.d.ts +210 -0
  33. package/components/MazPicker/MazPickerFooter.vue.d.ts +16 -0
  34. package/components/MazPicker/MazPickerHeader.vue.d.ts +82 -0
  35. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +41 -0
  36. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +60 -0
  37. package/components/MazPicker/MazPickerTime.vue.d.ts +127 -0
  38. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +33 -0
  39. package/components/MazPicker/types.d.ts +15 -0
  40. package/components/MazPicker/utils.d.ts +54 -0
  41. package/components/MazPicker.d.ts +309 -0
  42. package/components/MazRadioButtons.d.ts +77 -0
  43. package/components/MazSelect.d.ts +184 -0
  44. package/components/MazSlider/utils.d.ts +15 -0
  45. package/components/MazSlider.d.ts +92 -0
  46. package/components/MazSpinner.d.ts +26 -0
  47. package/components/MazStepper.d.ts +112 -0
  48. package/components/MazSwitch.d.ts +54 -0
  49. package/components/MazTabs.d.ts +28 -0
  50. package/components/MazTabsBar.d.ts +55 -0
  51. package/components/MazTabsContent.d.ts +9 -0
  52. package/components/MazTabsContentItem.d.ts +19 -0
  53. package/components/MazTextarea/textarea-autogrow.d.ts +9 -0
  54. package/components/MazTextarea.d.ts +121 -0
  55. package/components/MazTransitionExpand.d.ts +9 -0
  56. package/components/component-list.d.ts +1 -0
  57. package/components/index.d.ts +35 -0
  58. package/components/types.d.ts +17 -0
  59. package/icons/academic-cap.svg +5 -0
  60. package/icons/adjustments-horizontal.svg +5 -0
  61. package/icons/adjustments-vertical.svg +5 -0
  62. package/icons/archive-box-arrow-down.svg +5 -0
  63. package/icons/archive-box-x-mark.svg +5 -0
  64. package/icons/archive-box.svg +5 -0
  65. package/icons/arrow-down-circle.svg +5 -0
  66. package/icons/arrow-down-left.svg +4 -0
  67. package/icons/arrow-down-on-square-stack.svg +5 -0
  68. package/icons/arrow-down-on-square.svg +5 -0
  69. package/icons/arrow-down-right.svg +4 -0
  70. package/icons/arrow-down-tray.svg +5 -0
  71. package/icons/arrow-down.svg +4 -0
  72. package/icons/arrow-left-circle.svg +5 -0
  73. package/icons/arrow-left-on-rectangle.svg +5 -0
  74. package/icons/arrow-left.svg +4 -0
  75. package/icons/arrow-long-down.svg +4 -0
  76. package/icons/arrow-long-left.svg +4 -0
  77. package/icons/arrow-long-right.svg +4 -0
  78. package/icons/arrow-long-up.svg +4 -0
  79. package/icons/arrow-path-rounded-square.svg +5 -0
  80. package/icons/arrow-path.svg +5 -0
  81. package/icons/arrow-right-circle.svg +5 -0
  82. package/icons/arrow-right-on-rectangle.svg +5 -0
  83. package/icons/arrow-right.svg +4 -0
  84. package/icons/arrow-small-down.svg +4 -0
  85. package/icons/arrow-small-left.svg +4 -0
  86. package/icons/arrow-small-right.svg +4 -0
  87. package/icons/arrow-small-up.svg +4 -0
  88. package/icons/arrow-top-right-on-square.svg +5 -0
  89. package/icons/arrow-trending-down.svg +5 -0
  90. package/icons/arrow-trending-up.svg +5 -0
  91. package/icons/arrow-up-circle.svg +5 -0
  92. package/icons/arrow-up-left.svg +4 -0
  93. package/icons/arrow-up-on-square-stack.svg +5 -0
  94. package/icons/arrow-up-on-square.svg +5 -0
  95. package/icons/arrow-up-right.svg +4 -0
  96. package/icons/arrow-up-tray.svg +5 -0
  97. package/icons/arrow-up.svg +4 -0
  98. package/icons/arrow-uturn-down.svg +4 -0
  99. package/icons/arrow-uturn-left.svg +4 -0
  100. package/icons/arrow-uturn-right.svg +4 -0
  101. package/icons/arrow-uturn-up.svg +4 -0
  102. package/icons/arrows-pointing-in.svg +5 -0
  103. package/icons/arrows-pointing-out.svg +5 -0
  104. package/icons/arrows-right-left.svg +4 -0
  105. package/icons/arrows-up-down.svg +4 -0
  106. package/icons/at-symbol.svg +5 -0
  107. package/icons/backspace.svg +5 -0
  108. package/icons/backward.svg +8 -0
  109. package/icons/banknotes.svg +5 -0
  110. package/icons/bars-2.svg +4 -0
  111. package/icons/bars-3-bottom-left.svg +4 -0
  112. package/icons/bars-3-bottom-right.svg +4 -0
  113. package/icons/bars-3-center-left.svg +4 -0
  114. package/icons/bars-3.svg +4 -0
  115. package/icons/bars-4.svg +4 -0
  116. package/icons/bars-arrow-down.svg +4 -0
  117. package/icons/bars-arrow-up.svg +4 -0
  118. package/icons/battery-0.svg +5 -0
  119. package/icons/battery-100.svg +5 -0
  120. package/icons/battery-50.svg +5 -0
  121. package/icons/beaker.svg +5 -0
  122. package/icons/bell-alert.svg +5 -0
  123. package/icons/bell-slash.svg +5 -0
  124. package/icons/bell-snooze.svg +5 -0
  125. package/icons/bell.svg +5 -0
  126. package/icons/bolt-slash.svg +5 -0
  127. package/icons/bolt.svg +4 -0
  128. package/icons/book-open.svg +5 -0
  129. package/icons/bookmark-slash.svg +5 -0
  130. package/icons/bookmark-square.svg +5 -0
  131. package/icons/bookmark.svg +5 -0
  132. package/icons/briefcase.svg +7 -0
  133. package/icons/bug-ant.svg +5 -0
  134. package/icons/building-library.svg +5 -0
  135. package/icons/building-office-2.svg +5 -0
  136. package/icons/building-office.svg +5 -0
  137. package/icons/building-storefront.svg +5 -0
  138. package/icons/cake.svg +5 -0
  139. package/icons/calculator.svg +5 -0
  140. package/icons/calendar-days.svg +5 -0
  141. package/icons/calendar.svg +5 -0
  142. package/icons/camera.svg +10 -0
  143. package/icons/chart-bar-square.svg +5 -0
  144. package/icons/chart-bar.svg +11 -0
  145. package/icons/chart-pie.svg +6 -0
  146. package/icons/chat-bubble-bottom-center-text.svg +5 -0
  147. package/icons/chat-bubble-bottom-center.svg +5 -0
  148. package/icons/chat-bubble-left-ellipsis.svg +5 -0
  149. package/icons/chat-bubble-left-right.svg +5 -0
  150. package/icons/chat-bubble-left.svg +5 -0
  151. package/icons/chat-bubble-oval-left-ellipsis.svg +5 -0
  152. package/icons/chat-bubble-oval-left.svg +5 -0
  153. package/icons/check-badge.svg +5 -0
  154. package/icons/check-circle.svg +5 -0
  155. package/icons/check.svg +4 -0
  156. package/icons/chevron-double-down.svg +4 -0
  157. package/icons/chevron-double-left.svg +4 -0
  158. package/icons/chevron-double-right.svg +4 -0
  159. package/icons/chevron-double-up.svg +4 -0
  160. package/icons/chevron-down.svg +4 -0
  161. package/icons/chevron-left.svg +4 -0
  162. package/icons/chevron-right.svg +4 -0
  163. package/icons/chevron-up-down.svg +4 -0
  164. package/icons/chevron-up.svg +4 -0
  165. package/icons/circle-stack.svg +5 -0
  166. package/icons/clipboard-document-check.svg +5 -0
  167. package/icons/clipboard-document-list.svg +5 -0
  168. package/icons/clipboard-document.svg +5 -0
  169. package/icons/clipboard.svg +5 -0
  170. package/icons/clock.svg +5 -0
  171. package/icons/cloud-arrow-down.svg +5 -0
  172. package/icons/cloud-arrow-up.svg +5 -0
  173. package/icons/cloud.svg +5 -0
  174. package/icons/code-bracket-square.svg +5 -0
  175. package/icons/code-bracket.svg +4 -0
  176. package/icons/cog-6-tooth.svg +8 -0
  177. package/icons/cog-8-tooth.svg +8 -0
  178. package/icons/cog.svg +5 -0
  179. package/icons/command-line.svg +5 -0
  180. package/icons/computer-desktop.svg +5 -0
  181. package/icons/cpu-chip.svg +5 -0
  182. package/icons/credit-card.svg +5 -0
  183. package/icons/cube-transparent.svg +5 -0
  184. package/icons/cube.svg +4 -0
  185. package/icons/currency-bangladeshi.svg +5 -0
  186. package/icons/currency-dollar.svg +5 -0
  187. package/icons/currency-euro.svg +5 -0
  188. package/icons/currency-pound.svg +5 -0
  189. package/icons/currency-rupee.svg +5 -0
  190. package/icons/currency-yen.svg +5 -0
  191. package/icons/cursor-arrow-rays.svg +5 -0
  192. package/icons/cursor-arrow-ripple.svg +5 -0
  193. package/icons/device-phone-mobile.svg +5 -0
  194. package/icons/device-tablet.svg +5 -0
  195. package/icons/document-arrow-down.svg +5 -0
  196. package/icons/document-arrow-up.svg +5 -0
  197. package/icons/document-chart-bar.svg +5 -0
  198. package/icons/document-check.svg +5 -0
  199. package/icons/document-duplicate.svg +5 -0
  200. package/icons/document-magnifying-glass.svg +5 -0
  201. package/icons/document-minus.svg +5 -0
  202. package/icons/document-plus.svg +5 -0
  203. package/icons/document-text.svg +5 -0
  204. package/icons/document.svg +5 -0
  205. package/icons/ellipsis-horizontal-circle.svg +5 -0
  206. package/icons/ellipsis-horizontal.svg +11 -0
  207. package/icons/ellipsis-vertical.svg +11 -0
  208. package/icons/envelope-open.svg +5 -0
  209. package/icons/envelope.svg +5 -0
  210. package/icons/exclamation-circle.svg +5 -0
  211. package/icons/exclamation-triangle.svg +5 -0
  212. package/icons/eye-dropper.svg +5 -0
  213. package/icons/eye-slash.svg +5 -0
  214. package/icons/eye.svg +8 -0
  215. package/icons/face-frown.svg +5 -0
  216. package/icons/face-smile.svg +5 -0
  217. package/icons/film.svg +5 -0
  218. package/icons/finger-print.svg +5 -0
  219. package/icons/fire.svg +8 -0
  220. package/icons/flag.svg +5 -0
  221. package/icons/folder-arrow-down.svg +5 -0
  222. package/icons/folder-minus.svg +5 -0
  223. package/icons/folder-open.svg +5 -0
  224. package/icons/folder-plus.svg +5 -0
  225. package/icons/folder.svg +5 -0
  226. package/icons/fork.svg +6 -0
  227. package/icons/forward.svg +8 -0
  228. package/icons/funnel.svg +5 -0
  229. package/icons/gif.svg +5 -0
  230. package/icons/gift-top.svg +5 -0
  231. package/icons/gift.svg +5 -0
  232. package/icons/github.svg +5 -0
  233. package/icons/globe-alt.svg +5 -0
  234. package/icons/globe-americas.svg +5 -0
  235. package/icons/globe-asia-australia.svg +5 -0
  236. package/icons/globe-europe-africa.svg +5 -0
  237. package/icons/hand-raised.svg +5 -0
  238. package/icons/hand-thumb-down.svg +5 -0
  239. package/icons/hand-thumb-up.svg +5 -0
  240. package/icons/hashtag.svg +4 -0
  241. package/icons/heart.svg +5 -0
  242. package/icons/home-modern.svg +5 -0
  243. package/icons/home.svg +5 -0
  244. package/icons/identification.svg +5 -0
  245. package/icons/inbox-arrow-down.svg +5 -0
  246. package/icons/inbox-stack.svg +5 -0
  247. package/icons/inbox.svg +5 -0
  248. package/icons/information-circle.svg +5 -0
  249. package/icons/key.svg +5 -0
  250. package/icons/language.svg +5 -0
  251. package/icons/lifebuoy.svg +5 -0
  252. package/icons/light-bulb.svg +5 -0
  253. package/icons/link.svg +5 -0
  254. package/icons/list-bullet.svg +5 -0
  255. package/icons/lock-closed.svg +5 -0
  256. package/icons/lock-open.svg +5 -0
  257. package/icons/magnifying-glass-circle.svg +5 -0
  258. package/icons/magnifying-glass-minus.svg +5 -0
  259. package/icons/magnifying-glass-plus.svg +5 -0
  260. package/icons/magnifying-glass.svg +5 -0
  261. package/icons/map-pin.svg +8 -0
  262. package/icons/map.svg +5 -0
  263. package/icons/megaphone.svg +5 -0
  264. package/icons/microphone.svg +5 -0
  265. package/icons/minus-circle.svg +5 -0
  266. package/icons/minus-small.svg +3 -0
  267. package/icons/minus.svg +3 -0
  268. package/icons/moon.svg +5 -0
  269. package/icons/musical-note.svg +5 -0
  270. package/icons/newspaper.svg +5 -0
  271. package/icons/no-photography.svg +10 -0
  272. package/icons/no-symbol.svg +5 -0
  273. package/icons/paint-brush.svg +5 -0
  274. package/icons/paper-airplane.svg +5 -0
  275. package/icons/paper-clip.svg +5 -0
  276. package/icons/pause-circle.svg +5 -0
  277. package/icons/pause.svg +4 -0
  278. package/icons/pencil-square.svg +5 -0
  279. package/icons/pencil.svg +5 -0
  280. package/icons/phone-arrow-down-left.svg +5 -0
  281. package/icons/phone-arrow-up-right.svg +5 -0
  282. package/icons/phone-x-mark.svg +5 -0
  283. package/icons/phone.svg +5 -0
  284. package/icons/photo.svg +5 -0
  285. package/icons/play-circle.svg +8 -0
  286. package/icons/play-pause.svg +5 -0
  287. package/icons/play.svg +5 -0
  288. package/icons/plus-circle.svg +5 -0
  289. package/icons/plus-small.svg +4 -0
  290. package/icons/plus.svg +4 -0
  291. package/icons/power.svg +5 -0
  292. package/icons/presentation-chart-bar.svg +5 -0
  293. package/icons/presentation-chart-line.svg +5 -0
  294. package/icons/printer.svg +5 -0
  295. package/icons/puzzle-piece.svg +5 -0
  296. package/icons/qr-code.svg +27 -0
  297. package/icons/question-mark-circle.svg +5 -0
  298. package/icons/queue-list.svg +5 -0
  299. package/icons/radio.svg +5 -0
  300. package/icons/receipt-percent.svg +5 -0
  301. package/icons/receipt-refund.svg +5 -0
  302. package/icons/rectangle-group.svg +11 -0
  303. package/icons/rectangle-stack.svg +5 -0
  304. package/icons/rocket-launch.svg +5 -0
  305. package/icons/rss.svg +5 -0
  306. package/icons/scale.svg +5 -0
  307. package/icons/scissors.svg +5 -0
  308. package/icons/server-stack.svg +5 -0
  309. package/icons/server.svg +5 -0
  310. package/icons/share.svg +5 -0
  311. package/icons/shield-check.svg +5 -0
  312. package/icons/shield-exclamation.svg +5 -0
  313. package/icons/shopping-bag.svg +5 -0
  314. package/icons/shopping-cart.svg +5 -0
  315. package/icons/signal-slash.svg +5 -0
  316. package/icons/signal.svg +5 -0
  317. package/icons/sparkles.svg +11 -0
  318. package/icons/speaker-wave.svg +5 -0
  319. package/icons/speaker-x-mark.svg +5 -0
  320. package/icons/square-2-stack.svg +5 -0
  321. package/icons/square-3-stack-3d.svg +5 -0
  322. package/icons/squares-2x2.svg +14 -0
  323. package/icons/squares-plus.svg +5 -0
  324. package/icons/star.svg +5 -0
  325. package/icons/stop-circle.svg +8 -0
  326. package/icons/stop.svg +5 -0
  327. package/icons/sun.svg +5 -0
  328. package/icons/swatch.svg +5 -0
  329. package/icons/table-cells.svg +5 -0
  330. package/icons/tag.svg +7 -0
  331. package/icons/ticket.svg +5 -0
  332. package/icons/trash.svg +5 -0
  333. package/icons/trophy.svg +5 -0
  334. package/icons/truck.svg +5 -0
  335. package/icons/tv.svg +5 -0
  336. package/icons/user-circle.svg +5 -0
  337. package/icons/user-group.svg +5 -0
  338. package/icons/user-minus.svg +5 -0
  339. package/icons/user-plus.svg +5 -0
  340. package/icons/user.svg +8 -0
  341. package/icons/users.svg +5 -0
  342. package/icons/variable.svg +5 -0
  343. package/icons/video-camera-slash.svg +5 -0
  344. package/icons/video-camera.svg +5 -0
  345. package/icons/view-columns.svg +5 -0
  346. package/icons/viewfinder-circle.svg +5 -0
  347. package/icons/wallet.svg +5 -0
  348. package/icons/wifi.svg +5 -0
  349. package/icons/window.svg +5 -0
  350. package/icons/wrench-screwdriver.svg +5 -0
  351. package/icons/wrench.svg +7 -0
  352. package/icons/x-circle.svg +5 -0
  353. package/icons/x-mark.svg +4 -0
  354. package/nuxt/index.ts +49 -21
  355. package/package.json +12 -8
  356. package/tailwindcss/tailwind.config.ts +2 -2
  357. package/types/nuxt/index.d.ts +12 -8
  358. package/types/tailwindcss/tailwind.config.d.ts +75 -1
@@ -0,0 +1,69 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: undefined;
5
+ };
6
+ currency: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ locale: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ min: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ };
18
+ max: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
22
+ noIcon: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:model-value" | "formatted")[], "update:model-value" | "formatted", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ modelValue: {
28
+ type: (StringConstructor | NumberConstructor)[];
29
+ default: undefined;
30
+ };
31
+ currency: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ locale: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ min: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ max: {
44
+ type: NumberConstructor;
45
+ default: number;
46
+ };
47
+ noIcon: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ }>> & {
52
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
53
+ onFormatted?: ((...args: any[]) => any) | undefined;
54
+ }, {
55
+ max: number;
56
+ min: number;
57
+ modelValue: string | number;
58
+ currency: string;
59
+ locale: string;
60
+ noIcon: boolean;
61
+ }, {}>, {
62
+ "left-icon"?(_: {}): any;
63
+ }>;
64
+ export default _default;
65
+ type __VLS_WithTemplateSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
@@ -0,0 +1,92 @@
1
+ import { type PropType } from 'vue';
2
+ import type { Color, Size } from './types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ modelValue: {
5
+ type: PropType<string[] | number[]>;
6
+ default: undefined;
7
+ };
8
+ placeholder: {
9
+ type: StringConstructor;
10
+ default: undefined;
11
+ };
12
+ label: {
13
+ type: StringConstructor;
14
+ default: undefined;
15
+ };
16
+ disabled: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ error: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ success: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ warning: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ size: {
33
+ type: PropType<Size>;
34
+ default: string;
35
+ validator: (value: string) => boolean;
36
+ };
37
+ color: {
38
+ type: PropType<Color>;
39
+ default: string;
40
+ };
41
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ modelValue: {
43
+ type: PropType<string[] | number[]>;
44
+ default: undefined;
45
+ };
46
+ placeholder: {
47
+ type: StringConstructor;
48
+ default: undefined;
49
+ };
50
+ label: {
51
+ type: StringConstructor;
52
+ default: undefined;
53
+ };
54
+ disabled: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ error: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ success: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ warning: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ size: {
71
+ type: PropType<Size>;
72
+ default: string;
73
+ validator: (value: string) => boolean;
74
+ };
75
+ color: {
76
+ type: PropType<Color>;
77
+ default: string;
78
+ };
79
+ }>> & {
80
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
81
+ }, {
82
+ label: string;
83
+ success: boolean;
84
+ warning: boolean;
85
+ placeholder: string;
86
+ color: Color;
87
+ disabled: boolean;
88
+ error: boolean;
89
+ size: Size;
90
+ modelValue: string[] | number[];
91
+ }, {}>;
92
+ export default _default;
@@ -0,0 +1,77 @@
1
+ import { type Prop } from 'vue';
2
+ import type { Image } from './types';
3
+ export type { Image } from './types';
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ image: Prop<Image>;
6
+ noPhoto: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ noLoader: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ noObserverOnce: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ loadOnce: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ imageHeightFull: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ observerOptions: Prop<{
27
+ root?: HTMLElement | null | undefined;
28
+ threshold: number;
29
+ rootMargin?: string | undefined;
30
+ } | undefined>;
31
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "intersecting" | "loading" | "loaded")[], "error" | "intersecting" | "loading" | "loaded", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ image: Prop<Image>;
33
+ noPhoto: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ noLoader: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ noObserverOnce: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ loadOnce: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ imageHeightFull: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ observerOptions: Prop<{
54
+ root?: HTMLElement | null | undefined;
55
+ threshold: number;
56
+ rootMargin?: string | undefined;
57
+ } | undefined>;
58
+ }>> & {
59
+ onError?: ((...args: any[]) => any) | undefined;
60
+ onLoading?: ((...args: any[]) => any) | undefined;
61
+ onLoaded?: ((...args: any[]) => any) | undefined;
62
+ onIntersecting?: ((...args: any[]) => any) | undefined;
63
+ }, {
64
+ noPhoto: boolean;
65
+ loadOnce: boolean;
66
+ noLoader: boolean;
67
+ noObserverOnce: boolean;
68
+ imageHeightFull: boolean;
69
+ }, {}>, {
70
+ default?(_: {}): any;
71
+ }>;
72
+ export default _default;
73
+ type __VLS_WithTemplateSlots<T, S> = T & {
74
+ new (): {
75
+ $slots: S;
76
+ };
77
+ };
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ countrySelector: {
3
+ placeholder: string;
4
+ error: string;
5
+ searchPlaceholder: string;
6
+ };
7
+ phoneInput: {
8
+ placeholder: string;
9
+ example: string;
10
+ };
11
+ };
12
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import type { CountryCallingCode, CountryCode, NationalNumber, NumberType } from 'libphonenumber-js';
2
+ import type locales from './constantes/locales';
3
+ export type Result = {
4
+ isValid: boolean;
5
+ isPossible?: boolean;
6
+ countryCode?: CountryCode;
7
+ countryCallingCode?: CountryCallingCode;
8
+ nationalNumber?: NationalNumber;
9
+ type?: NumberType;
10
+ formatInternational?: string;
11
+ formatNational?: string;
12
+ uri?: string;
13
+ e164?: string;
14
+ rfc3966?: string;
15
+ };
16
+ export type Translations = typeof locales;
17
+ export type Country = {
18
+ iso2: CountryCode;
19
+ dialCode: CountryCallingCode;
20
+ name: string;
21
+ };
@@ -0,0 +1,2 @@
1
+ import type { CountryCode } from 'libphonenumber-js';
2
+ export declare const countriesNameListByIsoCode: Record<CountryCode, string>;
@@ -0,0 +1,12 @@
1
+ import { type CountryCode, type Examples } from 'libphonenumber-js';
2
+ import type { Country, Result } from '../types';
3
+ export declare function getCountryName(code: CountryCode | string, customCountriesNameListByIsoCode?: Record<CountryCode, string>): string | undefined;
4
+ export declare function loadPhoneNumberExamplesFile(): Promise<Examples>;
5
+ export declare function getExamplePhoneNumber(countryCode: CountryCode): import("libphonenumber-js").PhoneNumber | undefined;
6
+ export declare function sanitizePhoneNumber(input?: string): string | undefined;
7
+ export declare function getCountriesList(customCountriesNameListByIsoCode?: Record<CountryCode, string>): Country[] | undefined;
8
+ export declare function browserLocale(): string | undefined;
9
+ export declare function isCountryAvailable(locale: string): boolean;
10
+ export declare const getResultsFromPhoneNumber: (countryCode?: CountryCode, phoneNumber?: string) => Result;
11
+ export declare function getAsYouTypeFormat(countryCode: CountryCode, phoneNumber?: string): string | undefined;
12
+ export declare function fetchCountryCode(): Promise<string | undefined>;
@@ -0,0 +1,251 @@
1
+ import type { CountryCode } from 'libphonenumber-js';
2
+ import type { Color, Position, Size } from './types';
3
+ import { type PropType } from 'vue';
4
+ export type { Color, Size, Position } from './types';
5
+ export type { CountryCode } from 'libphonenumber-js';
6
+ export type { Result, Translations } from './MazPhoneNumberInput/types';
7
+ declare const _default: import("vue").DefineComponent<{
8
+ modelValue: {
9
+ type: StringConstructor;
10
+ validator: (prop: string) => boolean;
11
+ default: undefined;
12
+ };
13
+ id: {
14
+ type: StringConstructor;
15
+ default: undefined;
16
+ };
17
+ placeholder: {
18
+ type: StringConstructor;
19
+ default: undefined;
20
+ };
21
+ defaultPhoneNumber: {
22
+ type: StringConstructor;
23
+ default: undefined;
24
+ };
25
+ defaultCountryCode: {
26
+ type: PropType<string>;
27
+ default: undefined;
28
+ validator: (code: string) => boolean;
29
+ };
30
+ preferredCountries: {
31
+ type: PropType<CountryCode[]>;
32
+ default: undefined;
33
+ };
34
+ ignoredCountries: {
35
+ type: PropType<CountryCode[]>;
36
+ default: undefined;
37
+ };
38
+ onlyCountries: {
39
+ type: PropType<CountryCode[]>;
40
+ default: undefined;
41
+ };
42
+ translations: {
43
+ type: PropType<{
44
+ countrySelector: {
45
+ placeholder: string;
46
+ error: string;
47
+ searchPlaceholder: string;
48
+ };
49
+ phoneInput: {
50
+ placeholder: string;
51
+ example: string;
52
+ };
53
+ }>;
54
+ default: undefined;
55
+ };
56
+ listPosition: {
57
+ type: PropType<Position>;
58
+ default: string;
59
+ validator: (value: Position) => boolean;
60
+ };
61
+ color: {
62
+ type: PropType<Color>;
63
+ default: string;
64
+ };
65
+ size: {
66
+ type: PropType<Size>;
67
+ default: string;
68
+ validator: (value: string) => boolean;
69
+ };
70
+ noFlags: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ disabled: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ noExample: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ noSearch: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ noUseBrowserLocale: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ };
90
+ fetchCountry: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ noCountrySelector: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ showCodeOnList: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ error: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ customCountriesList: {
107
+ type: PropType<Record<CountryCode, string>>;
108
+ default: undefined;
109
+ };
110
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update" | "update:model-value" | "country-code")[], "update" | "update:model-value" | "country-code", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
111
+ modelValue: {
112
+ type: StringConstructor;
113
+ validator: (prop: string) => boolean;
114
+ default: undefined;
115
+ };
116
+ id: {
117
+ type: StringConstructor;
118
+ default: undefined;
119
+ };
120
+ placeholder: {
121
+ type: StringConstructor;
122
+ default: undefined;
123
+ };
124
+ defaultPhoneNumber: {
125
+ type: StringConstructor;
126
+ default: undefined;
127
+ };
128
+ defaultCountryCode: {
129
+ type: PropType<string>;
130
+ default: undefined;
131
+ validator: (code: string) => boolean;
132
+ };
133
+ preferredCountries: {
134
+ type: PropType<CountryCode[]>;
135
+ default: undefined;
136
+ };
137
+ ignoredCountries: {
138
+ type: PropType<CountryCode[]>;
139
+ default: undefined;
140
+ };
141
+ onlyCountries: {
142
+ type: PropType<CountryCode[]>;
143
+ default: undefined;
144
+ };
145
+ translations: {
146
+ type: PropType<{
147
+ countrySelector: {
148
+ placeholder: string;
149
+ error: string;
150
+ searchPlaceholder: string;
151
+ };
152
+ phoneInput: {
153
+ placeholder: string;
154
+ example: string;
155
+ };
156
+ }>;
157
+ default: undefined;
158
+ };
159
+ listPosition: {
160
+ type: PropType<Position>;
161
+ default: string;
162
+ validator: (value: Position) => boolean;
163
+ };
164
+ color: {
165
+ type: PropType<Color>;
166
+ default: string;
167
+ };
168
+ size: {
169
+ type: PropType<Size>;
170
+ default: string;
171
+ validator: (value: string) => boolean;
172
+ };
173
+ noFlags: {
174
+ type: BooleanConstructor;
175
+ default: boolean;
176
+ };
177
+ disabled: {
178
+ type: BooleanConstructor;
179
+ default: boolean;
180
+ };
181
+ noExample: {
182
+ type: BooleanConstructor;
183
+ default: boolean;
184
+ };
185
+ noSearch: {
186
+ type: BooleanConstructor;
187
+ default: boolean;
188
+ };
189
+ noUseBrowserLocale: {
190
+ type: BooleanConstructor;
191
+ default: boolean;
192
+ };
193
+ fetchCountry: {
194
+ type: BooleanConstructor;
195
+ default: boolean;
196
+ };
197
+ noCountrySelector: {
198
+ type: BooleanConstructor;
199
+ default: boolean;
200
+ };
201
+ showCodeOnList: {
202
+ type: BooleanConstructor;
203
+ default: boolean;
204
+ };
205
+ error: {
206
+ type: BooleanConstructor;
207
+ default: boolean;
208
+ };
209
+ customCountriesList: {
210
+ type: PropType<Record<CountryCode, string>>;
211
+ default: undefined;
212
+ };
213
+ }>> & {
214
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
215
+ onUpdate?: ((...args: any[]) => any) | undefined;
216
+ "onCountry-code"?: ((...args: any[]) => any) | undefined;
217
+ }, {
218
+ id: string;
219
+ placeholder: string;
220
+ color: Color;
221
+ disabled: boolean;
222
+ error: boolean;
223
+ size: Size;
224
+ modelValue: string;
225
+ listPosition: Position;
226
+ defaultPhoneNumber: string;
227
+ defaultCountryCode: string;
228
+ preferredCountries: CountryCode[];
229
+ ignoredCountries: CountryCode[];
230
+ onlyCountries: CountryCode[];
231
+ translations: {
232
+ countrySelector: {
233
+ placeholder: string;
234
+ error: string;
235
+ searchPlaceholder: string;
236
+ };
237
+ phoneInput: {
238
+ placeholder: string;
239
+ example: string;
240
+ };
241
+ };
242
+ noFlags: boolean;
243
+ noExample: boolean;
244
+ noSearch: boolean;
245
+ noUseBrowserLocale: boolean;
246
+ fetchCountry: boolean;
247
+ noCountrySelector: boolean;
248
+ showCodeOnList: boolean;
249
+ customCountriesList: Record<CountryCode, string>;
250
+ }, {}>;
251
+ export default _default;
@@ -0,0 +1,135 @@
1
+ import { type PropType } from 'vue';
2
+ import type { Color } from '../types';
3
+ import type { PickerShortcut, PickerValue } from './types';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ modelValue: {
6
+ type: PropType<PickerValue>;
7
+ default: undefined;
8
+ };
9
+ calendarDate: {
10
+ type: StringConstructor;
11
+ required: true;
12
+ };
13
+ color: {
14
+ type: PropType<Color>;
15
+ required: true;
16
+ };
17
+ locale: {
18
+ type: StringConstructor;
19
+ required: true;
20
+ };
21
+ firstDayOfWeek: {
22
+ type: NumberConstructor;
23
+ required: true;
24
+ };
25
+ double: {
26
+ type: BooleanConstructor;
27
+ required: true;
28
+ };
29
+ minDate: {
30
+ type: StringConstructor;
31
+ default: undefined;
32
+ };
33
+ maxDate: {
34
+ type: StringConstructor;
35
+ default: undefined;
36
+ };
37
+ disabledWeekly: {
38
+ type: PropType<number[]>;
39
+ required: true;
40
+ };
41
+ disabledDates: {
42
+ type: PropType<string[]>;
43
+ required: true;
44
+ };
45
+ shortcuts: {
46
+ type: PropType<PickerShortcut[]>;
47
+ required: true;
48
+ };
49
+ noShortcuts: {
50
+ type: BooleanConstructor;
51
+ required: true;
52
+ };
53
+ hasTime: {
54
+ type: BooleanConstructor;
55
+ required: true;
56
+ };
57
+ shortcut: {
58
+ type: StringConstructor;
59
+ default: undefined;
60
+ };
61
+ disabled: {
62
+ type: BooleanConstructor;
63
+ required: true;
64
+ };
65
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:model-value" | "update:calendar-date")[], "update:model-value" | "update:calendar-date", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
66
+ modelValue: {
67
+ type: PropType<PickerValue>;
68
+ default: undefined;
69
+ };
70
+ calendarDate: {
71
+ type: StringConstructor;
72
+ required: true;
73
+ };
74
+ color: {
75
+ type: PropType<Color>;
76
+ required: true;
77
+ };
78
+ locale: {
79
+ type: StringConstructor;
80
+ required: true;
81
+ };
82
+ firstDayOfWeek: {
83
+ type: NumberConstructor;
84
+ required: true;
85
+ };
86
+ double: {
87
+ type: BooleanConstructor;
88
+ required: true;
89
+ };
90
+ minDate: {
91
+ type: StringConstructor;
92
+ default: undefined;
93
+ };
94
+ maxDate: {
95
+ type: StringConstructor;
96
+ default: undefined;
97
+ };
98
+ disabledWeekly: {
99
+ type: PropType<number[]>;
100
+ required: true;
101
+ };
102
+ disabledDates: {
103
+ type: PropType<string[]>;
104
+ required: true;
105
+ };
106
+ shortcuts: {
107
+ type: PropType<PickerShortcut[]>;
108
+ required: true;
109
+ };
110
+ noShortcuts: {
111
+ type: BooleanConstructor;
112
+ required: true;
113
+ };
114
+ hasTime: {
115
+ type: BooleanConstructor;
116
+ required: true;
117
+ };
118
+ shortcut: {
119
+ type: StringConstructor;
120
+ default: undefined;
121
+ };
122
+ disabled: {
123
+ type: BooleanConstructor;
124
+ required: true;
125
+ };
126
+ }>> & {
127
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
128
+ "onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
129
+ }, {
130
+ modelValue: PickerValue;
131
+ minDate: string;
132
+ maxDate: string;
133
+ shortcut: string;
134
+ }, {}>;
135
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ locale: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ firstDayOfWeek: {
7
+ type: NumberConstructor;
8
+ required: true;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ locale: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ firstDayOfWeek: {
16
+ type: NumberConstructor;
17
+ required: true;
18
+ };
19
+ }>>, {}, {}>;
20
+ export default _default;