@vueland/ui 0.0.1 → 0.0.3

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 (383) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +147 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  4. package/dist/components/CApp/CApp.js +4 -5
  5. package/dist/components/CAutocomplete/CAutocomplete.js +200 -91
  6. package/dist/components/CBtn/CBtn.js +26 -27
  7. package/dist/components/CCheckbox/CCheckbox.js +40 -58
  8. package/dist/components/CCheckbox/CheckboxElement.js +96 -0
  9. package/dist/components/CCheckbox/index2.js +5 -0
  10. package/dist/components/CChip/CChip.js +13 -0
  11. package/dist/components/CDateInput/CDateInput.js +245 -0
  12. package/dist/components/CDateInput/index.js +5 -0
  13. package/dist/components/CDatePicker/CDatePicker.js +324 -0
  14. package/dist/components/CDatePicker/CDatePickerDates.js +300 -0
  15. package/dist/components/CDatePicker/CDatePickerHeader.js +62 -0
  16. package/dist/components/CDatePicker/CDatePickerMonths.js +114 -0
  17. package/dist/components/CDatePicker/CDatePickerYears.js +143 -0
  18. package/dist/components/CDatePicker/helpers.js +17 -0
  19. package/dist/components/CDatePicker/index.js +14 -0
  20. package/dist/components/CDatePicker/index2.js +5 -0
  21. package/dist/components/CDatePicker/index3.js +5 -0
  22. package/dist/components/CDatePicker/index4.js +5 -0
  23. package/dist/components/CDatePicker/index5.js +5 -0
  24. package/dist/components/CDatePicker/index6.js +5 -0
  25. package/dist/components/CDatePicker/locales/en.json.js +44 -0
  26. package/dist/components/CDatePicker/locales/index.js +9 -0
  27. package/dist/components/CDatePicker/locales/ru.json.js +44 -0
  28. package/dist/components/CDatePicker/utils.js +20 -0
  29. package/dist/components/CDialog/CDialog.js +2 -4
  30. package/dist/components/CField/CField.js +160 -28
  31. package/dist/components/CForm/CForm.js +38 -22
  32. package/dist/components/CGrid/CCol.js +1 -3
  33. package/dist/components/CGrid/CRow.js +5 -7
  34. package/dist/components/CIcon/CIcon.js +3 -3
  35. package/dist/components/CInput/CInput.js +119 -109
  36. package/dist/components/CList/CList.js +106 -34
  37. package/dist/components/CList/CListItem.js +44 -14
  38. package/dist/components/CMenu/CMenu.js +54 -55
  39. package/dist/components/COverlay/COverlay.js +6 -5
  40. package/dist/components/CRadio/CRadio.js +11 -5
  41. package/dist/components/CRadio/CRadioGroup.js +10 -0
  42. package/dist/components/CSelect/CSelect.js +180 -71
  43. package/dist/components/CSelectControl/CSelectControl.js +14 -2
  44. package/dist/components/CTextField/CTextField.js +79 -52
  45. package/dist/components/CTextField/index.js +2 -2
  46. package/dist/components/CTextField/index2.js +5 -0
  47. package/dist/components/CToolbar/CToolbar.js +1 -3
  48. package/dist/components/CTooltip/CTooltip.js +13 -11
  49. package/dist/components/CTooltip/index.js +2 -2
  50. package/dist/components/CTooltip/index2.js +5 -0
  51. package/dist/components/global-components.d.ts +44 -0
  52. package/dist/components/index.d.ts +841 -504
  53. package/dist/components/index.js +11 -7
  54. package/dist/composables/index.d.ts +384 -235
  55. package/dist/composables/index.js +22 -14
  56. package/dist/composables/use-activator.js +15 -25
  57. package/dist/composables/{use-app-scroll.js → use-application-scroll.js} +4 -8
  58. package/dist/composables/use-aria-activator.js +15 -0
  59. package/dist/composables/use-aria-dialog.js +16 -0
  60. package/dist/composables/use-aria-field.js +18 -0
  61. package/dist/composables/use-aria-listbox.js +14 -0
  62. package/dist/composables/use-aria-toggle.js +15 -0
  63. package/dist/composables/use-auto-position.js +206 -118
  64. package/dist/composables/use-autocomplete.js +21 -19
  65. package/dist/composables/use-breakpoints.js +8 -0
  66. package/dist/composables/use-button-presets.js +3 -7
  67. package/dist/composables/use-delay-actions.js +8 -2
  68. package/dist/composables/use-display.js +26 -18
  69. package/dist/composables/use-field-presets.js +82 -0
  70. package/dist/composables/use-icon.js +106 -34
  71. package/dist/composables/use-id.js +9 -0
  72. package/dist/composables/use-input-presets.js +88 -19
  73. package/dist/composables/use-keyboard.js +52 -0
  74. package/dist/composables/use-list.js +8 -0
  75. package/dist/composables/use-menu.js +8 -0
  76. package/dist/composables/use-normalized-items.js +22 -0
  77. package/dist/composables/use-overlay-stack.js +4 -1
  78. package/dist/composables/use-presets.js +2 -2
  79. package/dist/composables/use-select-control.js +8 -0
  80. package/dist/composables/use-selected-chips.js +40 -0
  81. package/dist/composables/use-validate.js +32 -24
  82. package/dist/constants/aria.js +32 -0
  83. package/dist/constants/attrs.js +21 -0
  84. package/dist/constants/icons.js +55 -8
  85. package/dist/constants/index.d.ts +187 -53
  86. package/dist/constants/index.js +3 -1
  87. package/dist/constants/provide-keys.js +2 -1
  88. package/dist/css/lib.css +1 -0
  89. package/dist/css/utils/_borders.css +1 -0
  90. package/dist/css/utils/_borders.js +3 -0
  91. package/dist/css/utils/_display.css +1 -1
  92. package/dist/css/utils/_flex.css +1 -1
  93. package/dist/css/utils/_grid.css +1 -0
  94. package/dist/css/utils/_grid.js +3 -0
  95. package/dist/css/utils/_helpers.css +1 -1
  96. package/dist/css/utils/_positions.css +1 -1
  97. package/dist/css/utils/_radius.css +1 -1
  98. package/dist/css/utils/_sizing.css +1 -1
  99. package/dist/css/utils/_spaces.css +1 -1
  100. package/dist/css/utils/_text.css +1 -1
  101. package/dist/css/utils/_transitions.css +1 -1
  102. package/dist/css/utils/_typography.css +1 -1
  103. package/dist/enums/IconName.js +13 -0
  104. package/dist/enums/index.d.ts +15 -2
  105. package/dist/helpers/preset.js +11 -0
  106. package/dist/helpers/theme.js +41 -0
  107. package/dist/library.js +31 -9
  108. package/dist/resolvers/font-awesome.js +30 -0
  109. package/dist/resolvers/index.d.ts +48 -0
  110. package/dist/resolvers/index.js +1 -0
  111. package/dist/scss/lib.scss +26 -0
  112. package/dist/scss/maps/colors-map.scss +342 -0
  113. package/dist/scss/maps/elevations-map.scss +88 -0
  114. package/dist/scss/maps/flexes-map.scss +24 -0
  115. package/dist/scss/maps/grids.scss +23 -0
  116. package/dist/scss/modules/_global-vars.scss +88 -0
  117. package/dist/scss/ress.scss +281 -0
  118. package/dist/scss/styles.scss +20 -0
  119. package/dist/scss/utils/_borders.scss +28 -0
  120. package/dist/scss/utils/_colors.scss +86 -0
  121. package/dist/scss/utils/_cursor.scss +140 -0
  122. package/dist/scss/utils/_display.scss +32 -0
  123. package/dist/scss/utils/_elevations.scss +15 -0
  124. package/dist/scss/utils/_flex.scss +137 -0
  125. package/dist/scss/utils/_grid.scss +173 -0
  126. package/dist/scss/utils/_helpers.scss +47 -0
  127. package/dist/scss/utils/_opacity.scss +13 -0
  128. package/dist/scss/utils/_overflow.scss +51 -0
  129. package/dist/scss/utils/_positions.scss +42 -0
  130. package/dist/scss/utils/_radius.scss +41 -0
  131. package/dist/scss/utils/_sizing.scss +40 -0
  132. package/dist/scss/utils/_spaces.scss +164 -0
  133. package/dist/scss/utils/_text.scss +76 -0
  134. package/dist/scss/utils/_transitions.scss +98 -0
  135. package/dist/scss/utils/_typography.scss +81 -0
  136. package/dist/styles.css +1 -1
  137. package/dist/temp-types/src/components/CApp/CApp.vue.d.ts +2 -4
  138. package/dist/temp-types/src/components/CApp/CApp.vue.d.ts.map +1 -1
  139. package/dist/temp-types/src/components/CApp/types.d.ts +4 -0
  140. package/dist/temp-types/src/components/CApp/types.d.ts.map +1 -1
  141. package/dist/temp-types/src/components/CAutocomplete/CAutocomplete.vue.d.ts +7 -2
  142. package/dist/temp-types/src/components/CAutocomplete/CAutocomplete.vue.d.ts.map +1 -1
  143. package/dist/temp-types/src/components/CAutocomplete/types.d.ts +16 -6
  144. package/dist/temp-types/src/components/CAutocomplete/types.d.ts.map +1 -1
  145. package/dist/temp-types/src/components/CBtn/CBtn.vue.d.ts +5 -1
  146. package/dist/temp-types/src/components/CBtn/CBtn.vue.d.ts.map +1 -1
  147. package/dist/temp-types/src/components/CBtn/index.d.ts +1 -0
  148. package/dist/temp-types/src/components/CBtn/index.d.ts.map +1 -1
  149. package/dist/temp-types/src/components/CBtn/types.d.ts +1 -0
  150. package/dist/temp-types/src/components/CBtn/types.d.ts.map +1 -1
  151. package/dist/temp-types/src/components/CCheckbox/CCheckbox.vue.d.ts +2 -6
  152. package/dist/temp-types/src/components/CCheckbox/CCheckbox.vue.d.ts.map +1 -1
  153. package/dist/temp-types/src/components/CCheckbox/CheckboxElement.vue.d.ts +32 -0
  154. package/dist/temp-types/src/components/CCheckbox/CheckboxElement.vue.d.ts.map +1 -0
  155. package/dist/temp-types/src/components/CCheckbox/types.d.ts +7 -4
  156. package/dist/temp-types/src/components/CCheckbox/types.d.ts.map +1 -1
  157. package/dist/temp-types/src/components/CChip/CChip.vue.d.ts +13 -0
  158. package/dist/temp-types/src/components/CChip/CChip.vue.d.ts.map +1 -0
  159. package/dist/temp-types/src/components/CChip/index.d.ts +2 -0
  160. package/dist/temp-types/src/components/CChip/index.d.ts.map +1 -0
  161. package/dist/temp-types/src/components/CDateInput/CDateInput.vue.d.ts +61 -0
  162. package/dist/temp-types/src/components/CDateInput/CDateInput.vue.d.ts.map +1 -0
  163. package/dist/temp-types/src/components/CDateInput/index.d.ts +3 -0
  164. package/dist/temp-types/src/components/CDateInput/index.d.ts.map +1 -0
  165. package/dist/temp-types/src/components/CDatePicker/CDatePicker.vue.d.ts +82 -0
  166. package/dist/temp-types/src/components/CDatePicker/CDatePicker.vue.d.ts.map +1 -0
  167. package/dist/temp-types/src/components/CDatePicker/CDatePickerDates.vue.d.ts +60 -0
  168. package/dist/temp-types/src/components/CDatePicker/CDatePickerDates.vue.d.ts.map +1 -0
  169. package/dist/temp-types/src/components/CDatePicker/CDatePickerHeader.vue.d.ts +27 -0
  170. package/dist/temp-types/src/components/CDatePicker/CDatePickerHeader.vue.d.ts.map +1 -0
  171. package/dist/temp-types/src/components/CDatePicker/CDatePickerMonths.vue.d.ts +40 -0
  172. package/dist/temp-types/src/components/CDatePicker/CDatePickerMonths.vue.d.ts.map +1 -0
  173. package/dist/temp-types/src/components/CDatePicker/CDatePickerYears.vue.d.ts +34 -0
  174. package/dist/temp-types/src/components/CDatePicker/CDatePickerYears.vue.d.ts.map +1 -0
  175. package/dist/temp-types/src/components/CDatePicker/helpers.d.ts +4 -0
  176. package/dist/temp-types/src/components/CDatePicker/helpers.d.ts.map +1 -0
  177. package/dist/temp-types/src/components/CDatePicker/index.d.ts +6 -0
  178. package/dist/temp-types/src/components/CDatePicker/index.d.ts.map +1 -0
  179. package/dist/temp-types/src/components/CDatePicker/locales/index.d.ts +7 -0
  180. package/dist/temp-types/src/components/CDatePicker/locales/index.d.ts.map +1 -0
  181. package/dist/temp-types/src/components/CDatePicker/types.d.ts +22 -0
  182. package/dist/temp-types/src/components/CDatePicker/types.d.ts.map +1 -0
  183. package/dist/temp-types/src/components/CDatePicker/utils.d.ts +8 -0
  184. package/dist/temp-types/src/components/CDatePicker/utils.d.ts.map +1 -0
  185. package/dist/temp-types/src/components/CDialog/CDialog.vue.d.ts +1 -1
  186. package/dist/temp-types/src/components/CDialog/CDialog.vue.d.ts.map +1 -1
  187. package/dist/temp-types/src/components/CDialog/CDialogsStack.vue.d.ts.map +1 -1
  188. package/dist/temp-types/src/components/CDialog/types.d.ts.map +1 -1
  189. package/dist/temp-types/src/components/CField/CField.vue.d.ts +26 -10
  190. package/dist/temp-types/src/components/CField/CField.vue.d.ts.map +1 -1
  191. package/dist/temp-types/src/components/CField/index.d.ts +1 -0
  192. package/dist/temp-types/src/components/CField/index.d.ts.map +1 -1
  193. package/dist/temp-types/src/components/CField/types.d.ts +22 -0
  194. package/dist/temp-types/src/components/CField/types.d.ts.map +1 -0
  195. package/dist/temp-types/src/components/CForm/CForm.vue.d.ts +10 -8
  196. package/dist/temp-types/src/components/CForm/CForm.vue.d.ts.map +1 -1
  197. package/dist/temp-types/src/components/CForm/types.d.ts +13 -3
  198. package/dist/temp-types/src/components/CForm/types.d.ts.map +1 -1
  199. package/dist/temp-types/src/components/CGrid/CCol.d.ts.map +1 -1
  200. package/dist/temp-types/src/components/CGrid/CRow.d.ts +1 -1
  201. package/dist/temp-types/src/components/CGrid/CRow.d.ts.map +1 -1
  202. package/dist/temp-types/src/components/CGrid/index.d.ts +1 -1
  203. package/dist/temp-types/src/components/CIcon/CIcon.vue.d.ts.map +1 -1
  204. package/dist/temp-types/src/components/CIcon/types.d.ts +1 -2
  205. package/dist/temp-types/src/components/CIcon/types.d.ts.map +1 -1
  206. package/dist/temp-types/src/components/CInput/CInput.vue.d.ts +23 -7
  207. package/dist/temp-types/src/components/CInput/CInput.vue.d.ts.map +1 -1
  208. package/dist/temp-types/src/components/CInput/types.d.ts +42 -28
  209. package/dist/temp-types/src/components/CInput/types.d.ts.map +1 -1
  210. package/dist/temp-types/src/components/CLabel/CLabel.d.ts.map +1 -1
  211. package/dist/temp-types/src/components/CList/CList.vue.d.ts +7 -1
  212. package/dist/temp-types/src/components/CList/CList.vue.d.ts.map +1 -1
  213. package/dist/temp-types/src/components/CList/CListItem.vue.d.ts.map +1 -1
  214. package/dist/temp-types/src/components/CList/types.d.ts +18 -1
  215. package/dist/temp-types/src/components/CList/types.d.ts.map +1 -1
  216. package/dist/temp-types/src/components/CMenu/CMenu.vue.d.ts +6 -6
  217. package/dist/temp-types/src/components/CMenu/CMenu.vue.d.ts.map +1 -1
  218. package/dist/temp-types/src/components/CMenu/types.d.ts +2 -2
  219. package/dist/temp-types/src/components/CMenu/types.d.ts.map +1 -1
  220. package/dist/temp-types/src/components/COverlay/COverlay.vue.d.ts.map +1 -1
  221. package/dist/temp-types/src/components/CRadio/CRadio.vue.d.ts.map +1 -1
  222. package/dist/temp-types/src/components/CRadio/CRadioGroup.vue.d.ts +13 -0
  223. package/dist/temp-types/src/components/CRadio/CRadioGroup.vue.d.ts.map +1 -0
  224. package/dist/temp-types/src/components/CRadio/index.d.ts +1 -0
  225. package/dist/temp-types/src/components/CRadio/index.d.ts.map +1 -1
  226. package/dist/temp-types/src/components/CScrim/index.d.ts.map +1 -1
  227. package/dist/temp-types/src/components/CSelect/CSelect.vue.d.ts +7 -2
  228. package/dist/temp-types/src/components/CSelect/CSelect.vue.d.ts.map +1 -1
  229. package/dist/temp-types/src/components/CSelect/types.d.ts +16 -6
  230. package/dist/temp-types/src/components/CSelect/types.d.ts.map +1 -1
  231. package/dist/temp-types/src/components/CSelectControl/CSelectControl.vue.d.ts +5 -1
  232. package/dist/temp-types/src/components/CSelectControl/CSelectControl.vue.d.ts.map +1 -1
  233. package/dist/temp-types/src/components/CTextField/CTextField.vue.d.ts +19 -17
  234. package/dist/temp-types/src/components/CTextField/CTextField.vue.d.ts.map +1 -1
  235. package/dist/temp-types/src/components/CTextField/index.d.ts +10 -1
  236. package/dist/temp-types/src/components/CTextField/index.d.ts.map +1 -1
  237. package/dist/temp-types/src/components/CTextField/types.d.ts +16 -0
  238. package/dist/temp-types/src/components/CTextField/types.d.ts.map +1 -0
  239. package/dist/temp-types/src/components/CToolbar/CToolbar.vue.d.ts.map +1 -1
  240. package/dist/temp-types/src/components/CTooltip/CTooltip.vue.d.ts +3 -1
  241. package/dist/temp-types/src/components/CTooltip/CTooltip.vue.d.ts.map +1 -1
  242. package/dist/temp-types/src/components/CTooltip/index.d.ts +7 -1
  243. package/dist/temp-types/src/components/CTooltip/index.d.ts.map +1 -1
  244. package/dist/temp-types/src/components/index.d.ts +17 -15
  245. package/dist/temp-types/src/components/index.d.ts.map +1 -1
  246. package/dist/temp-types/src/composables/index.d.ts +22 -14
  247. package/dist/temp-types/src/composables/index.d.ts.map +1 -1
  248. package/dist/temp-types/src/composables/use-activator.d.ts +4 -2
  249. package/dist/temp-types/src/composables/use-activator.d.ts.map +1 -1
  250. package/dist/temp-types/src/composables/{use-app-scroll.d.ts → use-application-scroll.d.ts} +2 -2
  251. package/dist/temp-types/src/composables/use-application-scroll.d.ts.map +1 -0
  252. package/dist/temp-types/src/composables/use-application.d.ts.map +1 -1
  253. package/dist/temp-types/src/composables/use-aria-activator.d.ts +8 -0
  254. package/dist/temp-types/src/composables/use-aria-activator.d.ts.map +1 -0
  255. package/dist/temp-types/src/composables/use-aria-dialog.d.ts +9 -0
  256. package/dist/temp-types/src/composables/use-aria-dialog.d.ts.map +1 -0
  257. package/dist/temp-types/src/composables/use-aria-field.d.ts +13 -0
  258. package/dist/temp-types/src/composables/use-aria-field.d.ts.map +1 -0
  259. package/dist/temp-types/src/composables/use-aria-listbox.d.ts +8 -0
  260. package/dist/temp-types/src/composables/use-aria-listbox.d.ts.map +1 -0
  261. package/dist/temp-types/src/composables/use-aria-toggle.d.ts +11 -0
  262. package/dist/temp-types/src/composables/use-aria-toggle.d.ts.map +1 -0
  263. package/dist/temp-types/src/composables/use-auto-position.d.ts +12 -9
  264. package/dist/temp-types/src/composables/use-auto-position.d.ts.map +1 -1
  265. package/dist/temp-types/src/composables/use-autocomplete.d.ts +9 -4
  266. package/dist/temp-types/src/composables/use-autocomplete.d.ts.map +1 -1
  267. package/dist/temp-types/src/composables/use-breakpoints.d.ts +1 -0
  268. package/dist/temp-types/src/composables/use-breakpoints.d.ts.map +1 -1
  269. package/dist/temp-types/src/composables/use-button-presets.d.ts +2 -2
  270. package/dist/temp-types/src/composables/use-button-presets.d.ts.map +1 -1
  271. package/dist/temp-types/src/composables/use-core.d.ts.map +1 -1
  272. package/dist/temp-types/src/composables/use-delay-actions.d.ts.map +1 -1
  273. package/dist/temp-types/src/composables/use-dialogs-stack.d.ts +3 -3
  274. package/dist/temp-types/src/composables/use-dialogs-stack.d.ts.map +1 -1
  275. package/dist/temp-types/src/composables/use-display.d.ts +29 -55
  276. package/dist/temp-types/src/composables/use-display.d.ts.map +1 -1
  277. package/dist/temp-types/src/composables/use-effect.d.ts.map +1 -1
  278. package/dist/temp-types/src/composables/use-field-presets.d.ts +12 -0
  279. package/dist/temp-types/src/composables/use-field-presets.d.ts.map +1 -0
  280. package/dist/temp-types/src/composables/use-form.d.ts +1 -1
  281. package/dist/temp-types/src/composables/use-form.d.ts.map +1 -1
  282. package/dist/temp-types/src/composables/use-icon.d.ts +32 -4
  283. package/dist/temp-types/src/composables/use-icon.d.ts.map +1 -1
  284. package/dist/temp-types/src/composables/use-id.d.ts +6 -0
  285. package/dist/temp-types/src/composables/use-id.d.ts.map +1 -0
  286. package/dist/temp-types/src/composables/use-input-presets.d.ts +6 -7
  287. package/dist/temp-types/src/composables/use-input-presets.d.ts.map +1 -1
  288. package/dist/temp-types/src/composables/use-keyboard.d.ts +11 -0
  289. package/dist/temp-types/src/composables/use-keyboard.d.ts.map +1 -0
  290. package/dist/temp-types/src/composables/use-list.d.ts +3 -0
  291. package/dist/temp-types/src/composables/use-list.d.ts.map +1 -0
  292. package/dist/temp-types/src/composables/use-menu.d.ts +2 -0
  293. package/dist/temp-types/src/composables/use-menu.d.ts.map +1 -0
  294. package/dist/temp-types/src/composables/use-normalized-items.d.ts +18 -0
  295. package/dist/temp-types/src/composables/use-normalized-items.d.ts.map +1 -0
  296. package/dist/temp-types/src/composables/use-overlay-stack.d.ts +1 -0
  297. package/dist/temp-types/src/composables/use-overlay-stack.d.ts.map +1 -1
  298. package/dist/temp-types/src/composables/use-presets.d.ts.map +1 -1
  299. package/dist/temp-types/src/composables/use-select-control.d.ts +2 -0
  300. package/dist/temp-types/src/composables/use-select-control.d.ts.map +1 -0
  301. package/dist/temp-types/src/composables/use-selected-chips.d.ts +16 -0
  302. package/dist/temp-types/src/composables/use-selected-chips.d.ts.map +1 -0
  303. package/dist/temp-types/src/composables/use-toggle.d.ts +1 -1
  304. package/dist/temp-types/src/composables/use-toggle.d.ts.map +1 -1
  305. package/dist/temp-types/src/composables/use-validate.d.ts +10 -8
  306. package/dist/temp-types/src/composables/use-validate.d.ts.map +1 -1
  307. package/dist/temp-types/src/constants/aria.d.ts +35 -0
  308. package/dist/temp-types/src/constants/aria.d.ts.map +1 -0
  309. package/dist/temp-types/src/constants/attrs.d.ts +2 -0
  310. package/dist/temp-types/src/constants/attrs.d.ts.map +1 -0
  311. package/dist/temp-types/src/constants/icons.d.ts +91 -18
  312. package/dist/temp-types/src/constants/icons.d.ts.map +1 -1
  313. package/dist/temp-types/src/constants/index.d.ts +3 -1
  314. package/dist/temp-types/src/constants/index.d.ts.map +1 -1
  315. package/dist/temp-types/src/constants/provide-keys.d.ts +7 -6
  316. package/dist/temp-types/src/constants/provide-keys.d.ts.map +1 -1
  317. package/dist/temp-types/src/directives/v-click-outside.d.ts.map +1 -1
  318. package/dist/temp-types/src/enums/IconName.d.ts +15 -2
  319. package/dist/temp-types/src/enums/IconName.d.ts.map +1 -1
  320. package/dist/temp-types/src/helpers/index.d.ts +2 -0
  321. package/dist/temp-types/src/helpers/index.d.ts.map +1 -1
  322. package/dist/temp-types/src/helpers/preset.d.ts +8 -0
  323. package/dist/temp-types/src/helpers/preset.d.ts.map +1 -0
  324. package/dist/temp-types/src/helpers/theme.d.ts +4 -0
  325. package/dist/temp-types/src/helpers/theme.d.ts.map +1 -0
  326. package/dist/temp-types/src/index.d.ts.map +1 -1
  327. package/dist/temp-types/src/library.d.ts +10 -3
  328. package/dist/temp-types/src/library.d.ts.map +1 -1
  329. package/dist/temp-types/src/resolvers/font-awesome.d.ts +18 -0
  330. package/dist/temp-types/src/resolvers/font-awesome.d.ts.map +1 -0
  331. package/dist/temp-types/src/resolvers/index.d.ts +2 -0
  332. package/dist/temp-types/src/resolvers/index.d.ts.map +1 -0
  333. package/dist/temp-types/src/resolvers/material.d.ts +1 -0
  334. package/dist/temp-types/src/resolvers/material.d.ts.map +1 -0
  335. package/dist/temp-types/src/types/icons.d.ts +29 -0
  336. package/dist/temp-types/src/types/icons.d.ts.map +1 -0
  337. package/dist/temp-types/src/types/index.d.ts +4 -2
  338. package/dist/temp-types/src/types/index.d.ts.map +1 -1
  339. package/dist/temp-types/src/types/presets.d.ts +35 -47
  340. package/dist/temp-types/src/types/presets.d.ts.map +1 -1
  341. package/dist/temp-types/src/types/theme.d.ts +32 -0
  342. package/dist/temp-types/src/types/theme.d.ts.map +1 -0
  343. package/dist/temp-types/src/utils/aria.d.ts +36 -0
  344. package/dist/temp-types/src/utils/aria.d.ts.map +1 -0
  345. package/dist/temp-types/src/utils/compile-css-classes.d.ts.map +1 -1
  346. package/dist/temp-types/src/utils/create-simple-functional.d.ts.map +1 -1
  347. package/dist/temp-types/src/utils/index.d.ts +3 -2
  348. package/dist/temp-types/src/utils/index.d.ts.map +1 -1
  349. package/dist/temp-types/src/utils/throttle.d.ts.map +1 -1
  350. package/dist/temp-types/tsconfig.build.tsbuildinfo +1 -1
  351. package/dist/types/index.d.ts +125 -0
  352. package/dist/types.d.ts +137 -72
  353. package/dist/utils/aria.js +95 -0
  354. package/dist/utils/compile-css-classes.js +3 -13
  355. package/dist/utils/create-simple-functional.js +1 -5
  356. package/dist/utils/index.d.ts +48 -10
  357. package/dist/utils/index.js +3 -2
  358. package/package.json +35 -9
  359. package/dist/components/CItems/CItems.js +0 -66
  360. package/dist/composables/use-field-attrs.js +0 -43
  361. package/dist/composables/use-input-state.js +0 -41
  362. package/dist/composables/use-input-value.js +0 -18
  363. package/dist/composables/use-menu-presets.js +0 -17
  364. package/dist/composables/use-position-classes.js +0 -12
  365. package/dist/css/themes/default-theme.css +0 -1
  366. package/dist/temp-types/src/components/CItems/CItems.d.ts +0 -16
  367. package/dist/temp-types/src/components/CItems/CItems.d.ts.map +0 -1
  368. package/dist/temp-types/src/components/CItems/index.d.ts +0 -2
  369. package/dist/temp-types/src/components/CItems/index.d.ts.map +0 -1
  370. package/dist/temp-types/src/composables/use-app-scroll.d.ts.map +0 -1
  371. package/dist/temp-types/src/composables/use-field-attrs.d.ts +0 -10
  372. package/dist/temp-types/src/composables/use-field-attrs.d.ts.map +0 -1
  373. package/dist/temp-types/src/composables/use-input-state.d.ts +0 -17
  374. package/dist/temp-types/src/composables/use-input-state.d.ts.map +0 -1
  375. package/dist/temp-types/src/composables/use-input-value.d.ts +0 -3
  376. package/dist/temp-types/src/composables/use-input-value.d.ts.map +0 -1
  377. package/dist/temp-types/src/composables/use-menu-presets.d.ts +0 -7
  378. package/dist/temp-types/src/composables/use-menu-presets.d.ts.map +0 -1
  379. package/dist/temp-types/src/composables/use-position-classes.d.ts +0 -10
  380. package/dist/temp-types/src/composables/use-position-classes.d.ts.map +0 -1
  381. package/dist/temp-types/src/utils/define-preset.d.ts +0 -2
  382. package/dist/temp-types/src/utils/define-preset.d.ts.map +0 -1
  383. /package/dist/css/{themes/default-theme.js → lib.js} +0 -0
@@ -1,19 +1,5 @@
1
1
  import * as vue from 'vue';
2
- import { VNode, Component, FunctionalComponent, PropType } from 'vue';
3
-
4
- declare var __VLS_1$4: {};
5
- type __VLS_Slots$8 = {} & {
6
- default?: (props: typeof __VLS_1$4) => any;
7
- };
8
- declare const __VLS_component$8: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
9
- declare const _default$j: __VLS_WithSlots$8<typeof __VLS_component$8, __VLS_Slots$8>;
10
-
11
- type __VLS_WithSlots$8<T, S> = T & {
12
- new (): {
13
- $slots: S;
14
- };
15
- };
16
- //# sourceMappingURL=CApp.vue.d.ts.map
2
+ import { VNode, ComponentPublicInstance, VNodeChild, PropType, Component, FunctionalComponent, ComputedRef } from 'vue';
17
3
 
18
4
  type ApplicationApi = {
19
5
  blockScroll(): void;
@@ -21,37 +7,20 @@ type ApplicationApi = {
21
7
  getScrollTop(): number;
22
8
  getScrollLeft(): number;
23
9
  };
24
-
25
- type Maybe<T> = T | undefined;
26
-
27
- interface DimensionsProps {
28
- width?: number | string;
29
- height?: number | string;
30
- minWidth?: number | string;
31
- maxWidth?: number | string;
32
- minHeight?: number | string;
33
- maxHeight?: number | string;
34
- }
35
-
36
- type InputStateProps = {
37
- disabled?: boolean;
38
- focused?: boolean;
39
- readonly?: boolean;
10
+ type CAppSlots = {
11
+ default(): VNode | VNode[];
40
12
  };
41
13
 
42
- type ValidateFn = (value: any) => ({
43
- valid: boolean;
44
- message: string;
45
- });
46
- type ValidateOn = 'input' | 'blur';
47
- type ValidateProps = {
48
- rules?: ValidateFn[];
49
- validateOn?: ValidateOn;
50
- };
51
- type ValidateState = {
52
- errorMessage: Maybe<string>;
53
- hasError: boolean;
14
+ type __VLS_Slots$b = CAppSlots;
15
+ declare const __VLS_component$b: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
16
+ declare const _default$l: __VLS_WithSlots$b<typeof __VLS_component$b, __VLS_Slots$b>;
17
+
18
+ type __VLS_WithSlots$b<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
54
22
  };
23
+ //# sourceMappingURL=CApp.vue.d.ts.map
55
24
 
56
25
  type ActivatorProps = {
57
26
  closeOnClick?: boolean;
@@ -59,6 +28,7 @@ type ActivatorProps = {
59
28
  openOnHover?: boolean;
60
29
  closeOnLeave?: boolean;
61
30
  openOnFocus?: boolean;
31
+ activator?: ComponentPublicInstance | Element;
62
32
  };
63
33
  type ActivatorListeners = {
64
34
  mouseenter?: (e: Event) => void;
@@ -73,128 +43,159 @@ type ActivatorListeners = {
73
43
  change?: (e: Event) => void;
74
44
  };
75
45
 
76
- interface PositionProps {
77
- left?: boolean;
78
- right?: boolean;
79
- top?: boolean;
80
- bottom?: boolean;
46
+ interface DimensionsProps {
47
+ width?: number | string;
48
+ height?: number | string;
49
+ minWidth?: number | string;
50
+ maxWidth?: number | string;
51
+ minHeight?: number | string;
52
+ maxHeight?: number | string;
81
53
  }
82
54
 
83
- type DelayProps = {
84
- openDelay?: number | string;
85
- closeDelay?: number | string;
86
- };
55
+ type Maybe<T> = T | undefined;
87
56
 
88
- interface CoordsProps {
57
+ type AlignSide = 'top' | 'bottom' | 'left' | 'right';
58
+ type AlignValue$1 = AlignSide | 'top-center' | 'top-left' | 'top-right' | 'bottom-center' | 'bottom-left' | 'bottom-right' | 'left-center' | 'right-center';
59
+ interface AutoPositionProps {
60
+ strategy?: 'reverse' | 'bounce';
89
61
  positionX?: number;
90
62
  positionY?: number;
91
63
  offsetX?: number | string;
92
64
  offsetY?: number | string;
93
- }
94
- interface AutoPositionProps {
95
- strategy?: 'reverse' | 'bounce';
65
+ align?: AlignValue$1;
96
66
  }
97
67
 
98
- type PresetProps = {
99
- preset?: string;
68
+ type Primitive = string | number | boolean | bigint | symbol | null | undefined | Date;
69
+ type Path<T> = T extends Primitive ? never : T extends readonly unknown[] ? never : T extends object ? {
70
+ [K in keyof T & string]: T[K] extends Primitive ? K : K | `${K}.${Path<T[K]>}`;
71
+ }[keyof T & string] : never;
72
+ type LoosePath<T> = Path<T> | (string & {});
73
+ type IterableItemsProps<T> = {
74
+ items: readonly T[];
75
+ titleKey?: LoosePath<T>;
76
+ valueKey?: LoosePath<T>;
77
+ };
78
+ type NormalizedItem<T> = {
79
+ raw: T;
80
+ title: unknown;
81
+ value: unknown;
82
+ key: string;
83
+ };
84
+
85
+ type SelectableProps<T> = {
86
+ modelValue: T | T[];
87
+ multiple?: boolean;
88
+ mandatory?: boolean;
100
89
  };
101
90
 
102
91
  type CBtnProps = PresetProps & {
103
92
  variant?: 'flat' | 'outlined';
104
93
  block?: boolean;
94
+ disabled?: boolean;
105
95
  };
106
96
 
107
- declare var __VLS_1$3: {};
108
- type __VLS_Slots$7 = {} & {
109
- default?: (props: typeof __VLS_1$3) => any;
97
+ declare var __VLS_1$5: {};
98
+ type __VLS_Slots$a = {} & {
99
+ default?: (props: typeof __VLS_1$5) => any;
110
100
  };
111
- declare const __VLS_component$7: vue.DefineComponent<CBtnProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CBtnProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
112
- declare const _default$i: __VLS_WithSlots$7<typeof __VLS_component$7, __VLS_Slots$7>;
101
+ declare const __VLS_component$a: vue.DefineComponent<CBtnProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
102
+ click: (e: MouseEvent) => any;
103
+ }, string, vue.PublicProps, Readonly<CBtnProps> & Readonly<{
104
+ onClick?: ((e: MouseEvent) => any) | undefined;
105
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
106
+ declare const _default$k: __VLS_WithSlots$a<typeof __VLS_component$a, __VLS_Slots$a>;
113
107
 
114
- type __VLS_WithSlots$7<T, S> = T & {
108
+ type __VLS_WithSlots$a<T, S> = T & {
115
109
  new (): {
116
110
  $slots: S;
117
111
  };
118
112
  };
119
113
  //# sourceMappingURL=CBtn.vue.d.ts.map
120
114
 
121
- declare function validate(): Promise<boolean>;
122
- declare var __VLS_1$2: {
123
- validate: typeof validate;
124
- };
125
- type __VLS_Slots$6 = {} & {
126
- default?: (props: typeof __VLS_1$2) => any;
115
+ type DelayProps = {
116
+ openDelay?: number | string;
117
+ closeDelay?: number | string;
127
118
  };
128
- declare const __VLS_component$6: vue.DefineComponent<{}, {
129
- validate: typeof validate;
130
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
131
- declare const _default$h: __VLS_WithSlots$6<typeof __VLS_component$6, __VLS_Slots$6>;
132
119
 
133
- type __VLS_WithSlots$6<T, S> = T & {
134
- new (): {
135
- $slots: S;
136
- };
137
- };
138
- //# sourceMappingURL=CForm.vue.d.ts.map
120
+ type IconMode = 'sprite' | 'component' | 'raw' | 'fa' | 'md';
139
121
 
140
- type ValidatorFn = () => boolean;
141
- interface FormApi {
142
- add(fn: ValidatorFn): void;
143
- remove(fn: ValidatorFn): void;
122
+ interface InputState {
123
+ focused: boolean;
124
+ isDirty: boolean;
144
125
  }
145
- type FormSlots = {
146
- default(props: {
147
- validate: ValidatorFn;
148
- }): VNode;
149
- };
150
-
151
- type CInputProps<T = any> = ValidateProps & InputStateProps & PresetProps & {
126
+ type CInputRole = 'combobox' | 'checkbox' | 'radio' | 'listbox';
127
+ type CInputProps<T = any> = ValidateProps & PresetProps & {
152
128
  id?: string;
153
- modelValue: T;
129
+ modelValue: T | T[] | undefined | null;
154
130
  label?: string;
155
131
  details?: string;
156
132
  noDetails?: boolean;
157
133
  clearable?: boolean;
134
+ disabled?: boolean;
135
+ focused?: boolean;
136
+ readonly?: boolean;
137
+ role?: CInputRole;
138
+ };
139
+ type CInputEmits<T = any> = {
140
+ (e: 'update:modelValue', value: T): void;
141
+ (e: 'update:focused', value: boolean): void;
142
+ };
143
+ type CInputDetailsSlotProps = {
144
+ errorMessage: ValidateState['errorMessage'];
145
+ hasError: ValidateState['hasError'];
146
+ validating: ValidateState['validating'];
147
+ uid: string;
148
+ details?: string;
149
+ };
150
+ type CInputFieldSlotProps = {
151
+ focus(): void;
152
+ blur(): void;
153
+ reset(): void;
154
+ label?: string;
155
+ focused: boolean;
156
+ clearable?: boolean;
157
+ readonly?: boolean;
158
+ disabled?: boolean;
159
+ preset?: string;
160
+ errorMessage: ValidateState['errorMessage'];
161
+ hasError: ValidateState['hasError'];
162
+ validating: ValidateState['validating'];
163
+ attrs: Record<string, unknown>;
164
+ uid: string;
165
+ validate(): boolean | Promise<boolean>;
158
166
  };
159
167
  type CInputSlots = {
160
- label?(props: {
161
- uid: string;
162
- }): VNode | string;
163
- prepend?(): VNode | string;
164
- append?(): VNode | string;
165
- details?(props: {
166
- errorMessage: ValidateState['errorMessage'];
167
- hasError: ValidateState['hasError'];
168
- uid: string;
169
- }): VNode | string;
170
- field?(props: {
171
- onInput(): void;
172
- onFocus(): void;
173
- onBlur(): void;
168
+ details?(props: CInputDetailsSlotProps): VNode | string;
169
+ field?(props: CInputFieldSlotProps): VNode;
170
+ };
171
+
172
+ declare const _default$j: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$7<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
173
+ props: __VLS_PrettifyLocal$7<Pick<Partial<{}> & Omit<{
174
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
175
+ readonly "onUpdate:focused"?: ((value: boolean) => any) | undefined;
176
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:focused"> & (ValidateProps & PresetProps & {
177
+ id?: string;
178
+ modelValue: T | T[] | null | undefined;
174
179
  label?: string;
180
+ details?: string;
181
+ noDetails?: boolean;
182
+ clearable?: boolean;
183
+ disabled?: boolean;
184
+ focused?: boolean;
175
185
  readonly?: boolean;
186
+ role?: CInputRole;
187
+ } & {
176
188
  focused?: boolean;
177
- disabled?: boolean;
178
- presets?: string[] | string[][];
179
- errorMessage: ValidateState['errorMessage'];
180
- hasError: ValidateState['hasError'];
181
- attrs: Record<string, any>;
182
- uid: string;
183
- validate(): boolean;
184
- }): VNode;
185
- };
186
-
187
- declare const _default$g: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$7<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
188
- props: __VLS_PrettifyLocal$7<Pick<Partial<{}> & Omit<{} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, never> & CInputProps<T> & Partial<{}>> & vue.PublicProps;
189
+ }) & Partial<{}>> & vue.PublicProps;
189
190
  expose(exposed: vue.ShallowUnwrapRef<{
190
- validate: () => boolean;
191
- onFocus: () => void;
192
- onBlur: () => void;
193
- onInput: () => void;
191
+ validate: () => Promise<boolean>;
192
+ focus: () => void;
193
+ blur: () => void;
194
+ reset: () => void;
194
195
  }>): void;
195
196
  attrs: any;
196
197
  slots: CInputSlots;
197
- emit: {};
198
+ emit: CInputEmits<T> & ((evt: "update:focused", value: boolean) => void);
198
199
  }>) => vue.VNode & {
199
200
  __ctx?: Awaited<typeof __VLS_setup>;
200
201
  };
@@ -204,68 +205,61 @@ type __VLS_PrettifyLocal$7<T> = {
204
205
  } & {};
205
206
  //# sourceMappingURL=CInput.vue.d.ts.map
206
207
 
207
- type __VLS_PublicProps$4 = {
208
- modelValue?: string | number;
208
+ type ValidateResult = {
209
+ valid: boolean;
210
+ message: string;
209
211
  };
210
- declare var __VLS_17: string | number;
211
- declare var __VLS_18: any;
212
- type __VLS_Slots$5 = {} & {
213
- [K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
212
+ type ValidateFn = (value: any) => ValidateResult | Promise<ValidateResult>;
213
+ type ValidateOn = 'input' | 'blur';
214
+ type ValidateProps = {
215
+ rules?: ValidateFn[];
216
+ validateOn?: ValidateOn;
214
217
  };
215
- declare const __VLS_component$5: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
216
- "update:modelValue": (value: string | number | undefined) => any;
217
- }, string, vue.PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
218
- "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
219
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
220
- declare const _default$f: __VLS_WithSlots$5<typeof __VLS_component$5, __VLS_Slots$5>;
221
-
222
- type __VLS_WithSlots$5<T, S> = T & {
223
- new (): {
224
- $slots: S;
225
- };
218
+ type ValidateState = {
219
+ errorMessage: Maybe<string>;
220
+ hasError: boolean;
221
+ validating: boolean;
226
222
  };
227
- //# sourceMappingURL=CTextField.vue.d.ts.map
228
223
 
229
- type __VLS_Props$4 = {
230
- tag?: 'input' | 'textarea';
231
- focused?: boolean;
232
- };
233
- type __VLS_PublicProps$3 = __VLS_Props$4 & {
234
- modelValue?: string | number | undefined;
224
+ type PresetProps = {
225
+ preset?: string;
235
226
  };
236
- declare const _default$e: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
237
- "update:modelValue": (value: string | number | undefined) => any;
238
- } & {
239
- focus: () => any;
240
- }, string, vue.PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
241
- onFocus?: (() => any) | undefined;
242
- "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
243
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
244
- //# sourceMappingURL=CField.vue.d.ts.map
245
227
 
246
- type CAutocompleteProps<T> = {
247
- modelValue: T | T[];
248
- items: T[];
249
- multiple?: boolean;
228
+ type CAutocompleteProps<T> = IterableItemsProps<T> & SelectableProps<T> & {
250
229
  options?: {
251
- extKey?: string;
252
230
  noItemsMessage?: string;
253
231
  menuPreset?: string;
254
232
  };
255
233
  };
256
234
  type CAutocompleteSlots<T> = {
257
235
  menu(props: {
258
- items: T[];
236
+ items: NormalizedItem<T>[];
259
237
  onSelect(val: T): void;
260
238
  }): void;
239
+ field: CInputSlots['field'];
240
+ prepend(): VNode;
241
+ append(): VNode;
242
+ chips(props: {
243
+ items: T[];
244
+ }): VNode[];
245
+ details(props: {
246
+ errorMessage?: string;
247
+ details?: string;
248
+ }): VNode;
261
249
  ['no-items-message'](): string;
262
250
  };
251
+ type CAutocompletePublicProps<T> = CInputProps<T> & CAutocompleteProps<T>;
263
252
 
264
- declare const _default$d: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
253
+ declare const _default$i: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
265
254
  props: __VLS_PrettifyLocal$6<Pick<Partial<{}> & Omit<{
266
255
  readonly "onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
267
256
  readonly "onUpdate:search"?: ((val: string) => any) | undefined;
268
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:search"> & (CAutocompleteProps<T> & {
257
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:search"> & (IterableItemsProps<T> & SelectableProps<T> & {
258
+ options?: {
259
+ noItemsMessage?: string;
260
+ menuPreset?: string;
261
+ };
262
+ } & {
269
263
  modelValue?: T | T[];
270
264
  }) & Partial<{}>> & vue.PublicProps;
271
265
  expose(exposed: vue.ShallowUnwrapRef<{}>): void;
@@ -281,33 +275,43 @@ type __VLS_PrettifyLocal$6<T> = {
281
275
  } & {};
282
276
  //# sourceMappingURL=CAutocomplete.vue.d.ts.map
283
277
 
284
- type CSelectProps<T> = {
285
- modelValue: T | T[];
286
- items: T[];
278
+ declare const CCard: vue.FunctionalComponent<{}, {}, any, {}>;
279
+ declare const CCardHeader: vue.FunctionalComponent<{}, {}, any, {}>;
280
+ declare const CCardBody: vue.FunctionalComponent<{}, {}, any, {}>;
281
+ declare const CCardFooter: vue.FunctionalComponent<{}, {}, any, {}>;
282
+
283
+ interface CSelectControlProps<T = any> {
284
+ modelValue: T | T[] | boolean;
285
+ value?: T;
287
286
  multiple?: boolean;
288
- options?: {
289
- extKey?: string;
290
- noItemsMessage?: string;
291
- };
292
- };
293
- type CSelectSlots<T> = {
294
- menu(props: {
295
- items: T[];
296
- onSelect(item: T): void;
297
- }): void;
298
- ['no-items-message'](): string;
299
- };
287
+ focused?: boolean;
288
+ disabled?: boolean;
289
+ readonly?: boolean;
290
+ name?: string;
291
+ }
292
+ interface CSelectControlSlots {
293
+ default(props: {
294
+ checked: boolean;
295
+ disabled: boolean;
296
+ readonly: boolean;
297
+ toggle: () => void;
298
+ }): VNode;
299
+ }
300
300
 
301
- declare const _default$c: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
301
+ declare const _default$h: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
302
302
  props: __VLS_PrettifyLocal$5<Pick<Partial<{}> & Omit<{
303
- readonly "onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
304
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue"> & (CSelectProps<T> & {
305
- modelValue?: T | T[];
303
+ readonly "onUpdate:modelValue"?: ((value: boolean | T | T[]) => any) | undefined;
304
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue"> & (CSelectControlProps<any> & {
305
+ modelValue?: T | T[] | boolean;
306
306
  }) & Partial<{}>> & vue.PublicProps;
307
- expose(exposed: vue.ShallowUnwrapRef<{}>): void;
307
+ expose(exposed: vue.ShallowUnwrapRef<{
308
+ checkOn: () => void;
309
+ checkOff: () => void;
310
+ toggle: () => void;
311
+ }>): void;
308
312
  attrs: any;
309
- slots: CSelectSlots<T>;
310
- emit: (evt: "update:modelValue", value: T | T[] | undefined) => void;
313
+ slots: CSelectControlSlots;
314
+ emit: (evt: "update:modelValue", value: boolean | T | T[]) => void;
311
315
  }>) => vue.VNode & {
312
316
  __ctx?: Awaited<typeof __VLS_setup>;
313
317
  };
@@ -315,240 +319,519 @@ declare const _default$c: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setu
315
319
  type __VLS_PrettifyLocal$5<T> = {
316
320
  [K in keyof T]: T[K];
317
321
  } & {};
318
- //# sourceMappingURL=CSelect.vue.d.ts.map
322
+ //# sourceMappingURL=CSelectControl.vue.d.ts.map
319
323
 
320
- type COverlayProps = {
321
- modelValue: boolean;
322
- to?: string;
324
+ type CCheckboxModel<T> = T | T[] | boolean;
325
+ type CCheckboxProps<T> = {
326
+ modelValue: CCheckboxModel<T>;
327
+ value?: T;
328
+ size?: number;
323
329
  };
324
- type COverlaySlots = {
325
- default?(props: {
326
- zIndex: number;
330
+ type CCheckboxSlots = {
331
+ icon(props: {
332
+ checked: boolean;
327
333
  }): VNode;
334
+ default(): VNode;
335
+ };
336
+ type CCheckboxEvents<T> = {
337
+ (e: 'update:modelValue', value: T): void;
328
338
  };
339
+ type CCheckboxPublicProps<T> = CCheckboxProps<T> & CSelectControlProps<T> & CInputProps<CCheckboxModel<T>>;
329
340
 
330
- type __VLS_Props$3 = COverlayProps;
331
- type __VLS_Slots$4 = COverlaySlots;
332
- type __VLS_PublicProps$2 = __VLS_Props$3 & {
333
- modelValue?: boolean;
341
+ declare const _default$g: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
342
+ props: __VLS_PrettifyLocal$4<Pick<Partial<{}> & Omit<{
343
+ readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
344
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue"> & (CCheckboxProps<T> & {
345
+ modelValue?: T;
346
+ }) & Partial<{}>> & vue.PublicProps;
347
+ expose(exposed: vue.ShallowUnwrapRef<{}>): void;
348
+ attrs: any;
349
+ slots: CCheckboxSlots;
350
+ emit: (evt: "update:modelValue", value: T | undefined) => void;
351
+ }>) => vue.VNode & {
352
+ __ctx?: Awaited<typeof __VLS_setup>;
334
353
  };
335
- declare const __VLS_component$4: vue.DefineComponent<__VLS_PublicProps$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
336
- "update:modelValue": (value: boolean) => any;
337
- }, string, vue.PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
338
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
339
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
340
- declare const _default$b: __VLS_WithSlots$4<typeof __VLS_component$4, __VLS_Slots$4>;
341
354
 
342
- type __VLS_WithSlots$4<T, S> = T & {
355
+ type __VLS_PrettifyLocal$4<T> = {
356
+ [K in keyof T]: T[K];
357
+ } & {};
358
+ //# sourceMappingURL=CCheckbox.vue.d.ts.map
359
+
360
+ declare var __VLS_1$4: {};
361
+ type __VLS_Slots$9 = {} & {
362
+ default?: (props: typeof __VLS_1$4) => any;
363
+ };
364
+ declare const __VLS_component$9: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
365
+ declare const _default$f: __VLS_WithSlots$9<typeof __VLS_component$9, __VLS_Slots$9>;
366
+
367
+ type __VLS_WithSlots$9<T, S> = T & {
343
368
  new (): {
344
369
  $slots: S;
345
370
  };
346
371
  };
347
- //# sourceMappingURL=COverlay.vue.d.ts.map
372
+ //# sourceMappingURL=CChip.vue.d.ts.map
373
+
374
+ type DatePickerDate = {
375
+ year: number;
376
+ month: number;
377
+ date: number | null;
378
+ day: number;
379
+ mls?: number;
380
+ isHoliday?: boolean;
381
+ isHighlighted?: boolean;
382
+ };
383
+ type DisabledDates = {
384
+ daysOfMonth?: number[];
385
+ from?: Date | string;
386
+ to?: Date | string;
387
+ dates?: (Date | string)[];
388
+ days?: number[];
389
+ ranges?: Array<{
390
+ from: Date | string;
391
+ to: Date | string;
392
+ }>;
393
+ custom?: (date: DatePickerDate) => boolean;
394
+ };
395
+
396
+ type EnrichedDate = {
397
+ dateObj: DatePickerDate | null;
398
+ empty: boolean;
399
+ disabled: boolean;
400
+ highlighted: boolean;
401
+ isSelected: boolean;
402
+ isToday: boolean;
403
+ };
404
+
405
+ type EnrichedMonth = {
406
+ month: number;
407
+ label: string;
408
+ disabled: boolean;
409
+ isSelected: boolean;
410
+ isCurrent: boolean;
411
+ onSelect: () => void;
412
+ };
413
+
414
+ type EnrichedYear = {
415
+ year: number;
416
+ disabled: boolean;
417
+ isSelected: boolean;
418
+ isCurrent: boolean;
419
+ onSelect: () => void;
420
+ };
421
+
422
+ type __VLS_Slots$8 = {
423
+ 'before-header'?(props: DatePickerSlotApi): VNodeChild;
424
+ header?(props: DatePickerSlotApi): VNodeChild;
425
+ 'before-body'?(props: DatePickerSlotApi): VNodeChild;
426
+ body?(props: DatePickerSlotApi): VNodeChild;
427
+ footer?(props: DatePickerSlotApi): VNodeChild;
428
+ week?(props: {
429
+ days: DatePickerWeekDay[];
430
+ }): VNodeChild;
431
+ dates?(props: {
432
+ dates: EnrichedDate[];
433
+ onSelect: (d: DatePickerDate) => void;
434
+ }): any;
435
+ date?(props: DatePickerDate & {
436
+ isSelected: boolean;
437
+ isToday: boolean;
438
+ }): VNodeChild;
439
+ months?(props: {
440
+ months: EnrichedMonth[];
441
+ }): VNodeChild;
442
+ month?(props: EnrichedMonth): VNodeChild;
443
+ years?(props: {
444
+ years: EnrichedYear[];
445
+ }): VNodeChild;
446
+ year?(props: EnrichedYear): VNodeChild;
447
+ };
448
+ declare const enum ViewMode {
449
+ DATES = 0,
450
+ MONTHS = 1,
451
+ YEARS = 2
452
+ }
453
+ type DatePickerSlotApi = {
454
+ view: ViewMode;
455
+ value: string;
456
+ selected: DatePickerDate;
457
+ disablePrev: boolean;
458
+ disableNext: boolean;
459
+ onNext: () => void;
460
+ onPrev: () => void;
461
+ onTable: () => void;
462
+ onToday: () => void;
463
+ };
464
+ type DatePickerWeekDay = {
465
+ day: number;
466
+ label: string | undefined;
467
+ };
468
+ type DatePickerEnrichedDate = EnrichedDate;
469
+ type DatePickerEnrichedMonth = EnrichedMonth;
470
+ type DatePickerEnrichedYear = EnrichedYear;
471
+ type CDatePickerProps = {
472
+ modelValue?: Date | string | null;
473
+ lang?: string;
474
+ format?: string;
475
+ mondayFirst?: boolean;
476
+ disabledDates?: DisabledDates;
477
+ highlightedDates?: (Date | string)[];
478
+ minDate?: Date | string;
479
+ maxDate?: Date | string;
480
+ };
481
+ declare const __VLS_component$8: vue.DefineComponent<CDatePickerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
482
+ "update:modelValue": (value: Date | null) => any;
483
+ selected: (value: Date | null) => any;
484
+ }, string, vue.PublicProps, Readonly<CDatePickerProps> & Readonly<{
485
+ "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
486
+ onSelected?: ((value: Date | null) => any) | undefined;
487
+ }>, {
488
+ lang: string;
489
+ format: string;
490
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
491
+ declare const _default$e: __VLS_WithSlots$8<typeof __VLS_component$8, __VLS_Slots$8>;
348
492
 
349
- type CMenuProps = ActivatorProps & CoordsProps & DimensionsProps & PositionProps & AutoPositionProps & DelayProps & PresetProps & Partial<COverlayProps> & {
350
- closeOnClickOutside?: boolean;
351
- closeOnContentClick?: boolean;
352
- ssr?: boolean;
353
- transition?: string;
493
+ type __VLS_WithSlots$8<T, S> = T & {
494
+ new (): {
495
+ $slots: S;
496
+ };
354
497
  };
355
- type CMenuSlots = {
356
- activator?(props: {
357
- on: ActivatorListeners;
358
- activator: Record<string, any>;
359
- }): VNode;
360
- default(): VNode;
361
- };
362
- type CMenuEvents = {
363
- (e: 'outside-click'): void;
364
- (e: 'click'): void;
365
- (e: 'open'): void;
366
- (e: 'close'): void;
367
- (e: 'update:modelValue', val: boolean): void;
498
+
499
+ type DateLocale = {
500
+ months: string[];
501
+ monthsAbbr: string[];
502
+ week: string[];
503
+ };
504
+
505
+ declare function datePickerValueToString(value: Date | string | null | undefined, format: string, lang: string): string;
506
+
507
+ type __VLS_Props$5 = CDateInputProps;
508
+ type __VLS_Slots$7 = {
509
+ prepend?(): any;
510
+ append?(): any;
511
+ date?(props: DatePickerDate & {
512
+ isSelected: boolean;
513
+ isToday: boolean;
514
+ }): any;
515
+ week?(props: {
516
+ days: DatePickerWeekDay[];
517
+ }): any;
518
+ dates?(props: {
519
+ dates: DatePickerEnrichedDate[];
520
+ onSelect: (d: DatePickerDate) => void;
521
+ }): any;
522
+ 'before-header'?(props: DatePickerSlotApi): any;
523
+ header?(props: DatePickerSlotApi): any;
524
+ 'before-body'?(props: DatePickerSlotApi): any;
525
+ body?(props: DatePickerSlotApi): any;
526
+ footer?(props: DatePickerSlotApi): any;
527
+ };
528
+ type CDateInputProps = ValidateProps & PresetProps & {
529
+ modelValue?: Date | null;
530
+ label?: string;
531
+ details?: string;
532
+ noDetails?: boolean;
533
+ clearable?: boolean;
534
+ disabled?: boolean;
535
+ readonly?: boolean;
536
+ typeable?: boolean;
537
+ placeholder?: string;
538
+ lang?: string;
539
+ format?: string;
540
+ mondayFirst?: boolean;
541
+ disabledDates?: DisabledDates;
542
+ highlightedDates?: (Date | string)[];
543
+ minDate?: Date | string;
544
+ maxDate?: Date | string;
545
+ };
546
+ type __VLS_PublicProps$4 = __VLS_Props$5 & {
547
+ modelValue?: Date | null;
548
+ };
549
+ declare const __VLS_component$7: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
550
+ focus: () => any;
551
+ blur: () => any;
552
+ "update:modelValue": (...args: unknown[]) => any;
553
+ }, string, vue.PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
554
+ onFocus?: (() => any) | undefined;
555
+ onBlur?: (() => any) | undefined;
556
+ "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
557
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
558
+ declare const _default$d: __VLS_WithSlots$7<typeof __VLS_component$7, __VLS_Slots$7>;
559
+
560
+ type __VLS_WithSlots$7<T, S> = T & {
561
+ new (): {
562
+ $slots: S;
563
+ };
368
564
  };
369
565
 
370
- type __VLS_Props$2 = CMenuProps;
371
- type __VLS_PublicProps$1 = __VLS_Props$2 & {
372
- modelValue?: boolean;
566
+ type COverlayProps = {
567
+ modelValue: boolean;
568
+ to?: string;
373
569
  };
374
- declare var __VLS_1$1: {
375
- on: vue.Raw<{
376
- focus?: (() => void) | undefined;
377
- click?: (() => void) | undefined;
378
- mouseleave?: (() => void) | undefined;
379
- mouseenter?: (() => void) | undefined;
380
- }>;
381
- activator: Record<string, any>;
570
+ type COverlaySlots = {
571
+ default?(props: {
572
+ zIndex: number;
573
+ }): VNode;
382
574
  };
383
- declare var __VLS_11: {};
384
- type __VLS_Slots$3 = {} & {
385
- activator?: (props: typeof __VLS_1$1) => any;
386
- } & {
387
- default?: (props: typeof __VLS_11) => any;
575
+
576
+ type __VLS_Props$4 = COverlayProps;
577
+ type __VLS_Slots$6 = COverlaySlots;
578
+ type __VLS_PublicProps$3 = __VLS_Props$4 & {
579
+ modelValue?: boolean;
388
580
  };
389
- declare const __VLS_component$3: vue.DefineComponent<__VLS_PublicProps$1, {
390
- open: () => Promise<void>;
391
- close: () => void;
392
- toggle: () => void | Promise<void>;
393
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
581
+ declare const __VLS_component$6: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
394
582
  "update:modelValue": (value: boolean) => any;
395
- } & {
396
- click: () => any;
397
- close: () => any;
398
- "update:modelValue": (val: boolean) => any;
399
- "outside-click": () => any;
400
- open: () => any;
401
- }, string, vue.PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
402
- onClick?: (() => any) | undefined;
403
- onClose?: (() => any) | undefined;
583
+ }, string, vue.PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
404
584
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
405
- "onOutside-click"?: (() => any) | undefined;
406
- onOpen?: (() => any) | undefined;
407
585
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
408
- declare const _default$a: __VLS_WithSlots$3<typeof __VLS_component$3, __VLS_Slots$3>;
586
+ declare const _default$c: __VLS_WithSlots$6<typeof __VLS_component$6, __VLS_Slots$6>;
409
587
 
410
- type __VLS_WithSlots$3<T, S> = T & {
588
+ type __VLS_WithSlots$6<T, S> = T & {
411
589
  new (): {
412
590
  $slots: S;
413
591
  };
414
592
  };
415
- //# sourceMappingURL=CMenu.vue.d.ts.map
416
-
417
- type IconMode = 'lib' | 'sprite' | 'component' | 'raw';
418
- type CIconProps = {
419
- name?: string | number;
420
- source?: IconMode;
421
- component?: Component | null;
422
- body?: string;
423
- viewBox?: string;
424
- size?: string | number;
425
- width?: string | number;
426
- height?: string | number;
427
- tag?: string;
428
- spritePrefix?: string;
429
- spritePath?: string;
430
- };
431
-
432
- declare const _default$9: vue.DefineComponent<CIconProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CIconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
433
- //# sourceMappingURL=CIcon.vue.d.ts.map
593
+ //# sourceMappingURL=COverlay.vue.d.ts.map
434
594
 
435
- type CCheckboxProps<T> = Omit<ValidateProps, 'validateOn'> & {
436
- modelValue: T | T[] | boolean;
437
- label?: string;
438
- size?: number;
595
+ type CDialogProps = COverlayProps & {
596
+ closeOnClickOutside?: boolean;
439
597
  };
440
- type CCheckboxSlots = {
441
- icon(props: {
442
- checked: boolean;
443
- }): VNode;
598
+ type CDialogSlots = {
444
599
  default(): VNode;
445
600
  };
446
- type CCheckboxEvents<T> = {
447
- (e: 'update:modelValue', value: T): void;
448
- };
449
601
 
450
- declare const _default$8: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
451
- props: __VLS_PrettifyLocal$4<Pick<Partial<{}> & Omit<{
452
- readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
453
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue"> & (Omit<ValidateProps, "validateOn"> & {
454
- modelValue: boolean | T | T[];
455
- label?: string;
456
- size?: number;
457
- } & {
458
- modelValue?: T;
459
- }) & Partial<{}>> & vue.PublicProps;
460
- expose(exposed: vue.ShallowUnwrapRef<{}>): void;
461
- attrs: any;
462
- slots: CCheckboxSlots;
463
- emit: (evt: "update:modelValue", value: T | undefined) => void;
464
- }>) => vue.VNode & {
465
- __ctx?: Awaited<typeof __VLS_setup>;
602
+ type __VLS_Props$3 = CDialogProps;
603
+ type __VLS_Slots$5 = CDialogSlots;
604
+ type __VLS_PublicProps$2 = __VLS_Props$3 & {
605
+ modelValue?: boolean;
466
606
  };
607
+ declare const __VLS_component$5: vue.DefineComponent<__VLS_PublicProps$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
608
+ "update:modelValue": (value: boolean) => any;
609
+ }, string, vue.PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
610
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
611
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
612
+ declare const _default$b: __VLS_WithSlots$5<typeof __VLS_component$5, __VLS_Slots$5>;
467
613
 
468
- type __VLS_PrettifyLocal$4<T> = {
469
- [K in keyof T]: T[K];
470
- } & {};
471
- //# sourceMappingURL=CCheckbox.vue.d.ts.map
472
-
473
- declare const _default$7: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
474
- props: __VLS_PrettifyLocal$3<Pick<Partial<{}> & Omit<{
475
- readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
476
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
477
- label?: string;
478
- } & {
479
- modelValue?: T;
480
- }) & Partial<{}>> & vue.PublicProps;
481
- expose(exposed: vue.ShallowUnwrapRef<{}>): void;
482
- attrs: any;
483
- slots: {
484
- default?: (props: {}) => any;
614
+ type __VLS_WithSlots$5<T, S> = T & {
615
+ new (): {
616
+ $slots: S;
485
617
  };
486
- emit: (evt: "update:modelValue", value: T | undefined) => void;
487
- }>) => vue.VNode & {
488
- __ctx?: Awaited<typeof __VLS_setup>;
489
618
  };
619
+ //# sourceMappingURL=CDialog.vue.d.ts.map
490
620
 
491
- type __VLS_PrettifyLocal$3<T> = {
492
- [K in keyof T]: T[K];
493
- } & {};
494
- //# sourceMappingURL=CRadio.vue.d.ts.map
621
+ declare const _default$a: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
622
+ //# sourceMappingURL=CDialogsStack.vue.d.ts.map
495
623
 
496
- declare var __VLS_6: {
497
- activator: Record<string, any>;
498
- on: vue.Raw<{
499
- focus?: (() => void) | undefined;
500
- click?: (() => void) | undefined;
501
- mouseleave?: (() => void) | undefined;
502
- mouseenter?: (() => void) | undefined;
503
- }>;
624
+ type CFieldProps = {
625
+ tag?: 'input' | 'textarea';
626
+ label?: string;
627
+ filled?: boolean;
628
+ preset?: string;
629
+ focused?: boolean;
630
+ clearable?: boolean;
631
+ error?: boolean;
632
+ disabled?: boolean;
633
+ readonly?: boolean;
634
+ noInput?: boolean;
635
+ modelValue?: string | number | undefined | null;
504
636
  };
505
- declare var __VLS_8: {};
506
- type __VLS_Slots$2 = {} & {
507
- activator?: (props: typeof __VLS_6) => any;
637
+ type CFieldSlots = {
638
+ prepend?(): VNode;
639
+ append?(): VNode;
640
+ before?(): VNode | VNode[];
641
+ after?(): VNode | VNode[];
642
+ clear?(): VNode;
643
+ };
644
+
645
+ type __VLS_Props$2 = CFieldProps;
646
+ type __VLS_PublicProps$1 = __VLS_Props$2 & {
647
+ modelValue?: string | number | undefined | null;
648
+ };
649
+ declare var __VLS_1$3: {};
650
+ declare var __VLS_7: {};
651
+ declare var __VLS_19: {};
652
+ declare var __VLS_25: {};
653
+ declare var __VLS_31: {};
654
+ type __VLS_Slots$4 = {} & {
655
+ prepend?: (props: typeof __VLS_1$3) => any;
508
656
  } & {
509
- default?: (props: typeof __VLS_8) => any;
657
+ before?: (props: typeof __VLS_7) => any;
658
+ } & {
659
+ after?: (props: typeof __VLS_19) => any;
660
+ } & {
661
+ clear?: (props: typeof __VLS_25) => any;
662
+ } & {
663
+ append?: (props: typeof __VLS_31) => any;
510
664
  };
511
- declare const __VLS_component$2: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
512
- declare const _default$6: __VLS_WithSlots$2<typeof __VLS_component$2, __VLS_Slots$2>;
665
+ declare const __VLS_component$4: vue.DefineComponent<__VLS_PublicProps$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
666
+ "update:modelValue": (value: string | number | null | undefined) => any;
667
+ } & {
668
+ clear: () => any;
669
+ }, string, vue.PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
670
+ onClear?: (() => any) | undefined;
671
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
672
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
673
+ declare const _default$9: __VLS_WithSlots$4<typeof __VLS_component$4, __VLS_Slots$4>;
513
674
 
514
- type __VLS_WithSlots$2<T, S> = T & {
675
+ type __VLS_WithSlots$4<T, S> = T & {
515
676
  new (): {
516
677
  $slots: S;
517
678
  };
518
679
  };
519
- //# sourceMappingURL=CTooltip.vue.d.ts.map
680
+ //# sourceMappingURL=CField.vue.d.ts.map
520
681
 
521
- type CLabelProps = {
522
- tag?: string;
682
+ type ValidatorFn = () => boolean | Promise<boolean>;
683
+ type ResetFn = () => void;
684
+ interface FormAPI {
685
+ add(fn: ValidatorFn): void;
686
+ remove(fn: ValidatorFn): void;
687
+ addReset(fn: ResetFn): void;
688
+ removeReset(fn: ResetFn): void;
689
+ }
690
+ type CFormProps = {
691
+ label?: string;
523
692
  };
524
-
525
- declare const CLabel: FunctionalComponent<CLabelProps>;
526
-
527
- type __VLS_Props$1 = {
528
- fixed?: boolean;
693
+ type CFormEmits = {
694
+ submit: [event: Event];
529
695
  };
530
- declare var __VLS_1: {};
531
- type __VLS_Slots$1 = {} & {
532
- default?: (props: typeof __VLS_1) => any;
696
+ type CFormSlots = {
697
+ default(props: {
698
+ validate: ValidatorFn;
699
+ reset: () => void;
700
+ }): VNode;
533
701
  };
534
- declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
535
- declare const _default$5: __VLS_WithSlots$1<typeof __VLS_component$1, __VLS_Slots$1>;
536
702
 
537
- type __VLS_WithSlots$1<T, S> = T & {
703
+ type __VLS_Slots$3 = CFormSlots;
704
+ declare function validate(): Promise<boolean>;
705
+ declare function reset(): void;
706
+ declare const __VLS_component$3: vue.DefineComponent<CFormProps, {
707
+ validate: typeof validate;
708
+ reset: typeof reset;
709
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
710
+ submit: (event: Event) => any;
711
+ }, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
712
+ onSubmit?: ((event: Event) => any) | undefined;
713
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
714
+ declare const _default$8: __VLS_WithSlots$3<typeof __VLS_component$3, __VLS_Slots$3>;
715
+
716
+ type __VLS_WithSlots$3<T, S> = T & {
538
717
  new (): {
539
718
  $slots: S;
540
719
  };
541
720
  };
542
- //# sourceMappingURL=CToolbar.vue.d.ts.map
721
+ //# sourceMappingURL=CForm.vue.d.ts.map
722
+
723
+ declare const CCol: vue.DefineComponent<vue.ExtractPropTypes<{
724
+ order: {
725
+ type: PropType<string | number>;
726
+ default: null;
727
+ };
728
+ cols: {
729
+ type: PropType<string | number>;
730
+ default: null;
731
+ };
732
+ offset: {
733
+ type: PropType<string | number>;
734
+ default: null;
735
+ };
736
+ }>, () => VNode, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
737
+ order: {
738
+ type: PropType<string | number>;
739
+ default: null;
740
+ };
741
+ cols: {
742
+ type: PropType<string | number>;
743
+ default: null;
744
+ };
745
+ offset: {
746
+ type: PropType<string | number>;
747
+ default: null;
748
+ };
749
+ }>> & Readonly<{}>, {
750
+ order: string | number;
751
+ cols: string | number;
752
+ offset: string | number;
753
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
754
+
755
+ declare const justifyValues: readonly ["start", "center", "end", "space-between", "space-around"];
756
+ declare const alignValues: readonly ["start", "center", "end", "baseline", "stretch"];
757
+ declare const alignContentValues: readonly ["start", "center", "end", "space-between", "space-around", "stretch"];
758
+ type JustifyValue = (typeof justifyValues)[number];
759
+ type AlignValue = (typeof alignValues)[number];
760
+ type AlignContentValue = (typeof alignContentValues)[number];
761
+ declare const CRow: vue.DefineComponent<vue.ExtractPropTypes<{
762
+ align: {
763
+ type: PropType<AlignValue>;
764
+ default: null;
765
+ validator: (value: string) => boolean;
766
+ };
767
+ alignContent: {
768
+ type: PropType<AlignContentValue>;
769
+ default: null;
770
+ validator: (value: string) => boolean;
771
+ };
772
+ justify: {
773
+ type: PropType<JustifyValue>;
774
+ default: null;
775
+ validator: (value: string) => boolean;
776
+ };
777
+ noGutter: BooleanConstructor;
778
+ }>, () => VNode, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
779
+ align: {
780
+ type: PropType<AlignValue>;
781
+ default: null;
782
+ validator: (value: string) => boolean;
783
+ };
784
+ alignContent: {
785
+ type: PropType<AlignContentValue>;
786
+ default: null;
787
+ validator: (value: string) => boolean;
788
+ };
789
+ justify: {
790
+ type: PropType<JustifyValue>;
791
+ default: null;
792
+ validator: (value: string) => boolean;
793
+ };
794
+ noGutter: BooleanConstructor;
795
+ }>> & Readonly<{}>, {
796
+ align: "start" | "center" | "end" | "baseline" | "stretch";
797
+ noGutter: boolean;
798
+ alignContent: "start" | "center" | "end" | "space-between" | "space-around" | "stretch";
799
+ justify: "start" | "center" | "end" | "space-between" | "space-around";
800
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
801
+
802
+ declare const CSpacer: vue.FunctionalComponent<{}, {}, any, {}>;
803
+
804
+ type CIconProps = {
805
+ name?: string | number;
806
+ source?: IconMode;
807
+ component?: Component | null;
808
+ body?: string;
809
+ viewBox?: string;
810
+ size?: string | number;
811
+ width?: string | number;
812
+ height?: string | number;
813
+ tag?: string;
814
+ spritePrefix?: string;
815
+ spritePath?: string;
816
+ };
817
+
818
+ declare const _default$7: vue.DefineComponent<CIconProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CIconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
819
+ //# sourceMappingURL=CIcon.vue.d.ts.map
820
+
821
+ type CLabelProps = {
822
+ tag?: string;
823
+ };
543
824
 
544
- declare const CToolbarLogo: vue.FunctionalComponent<{}, {}, any, {}>;
545
- declare const CToolbarItems: vue.FunctionalComponent<{}, {}, any, {}>;
825
+ declare const CLabel: FunctionalComponent<CLabelProps>;
546
826
 
827
+ type CListRole = 'listbox' | 'menu' | undefined;
547
828
  type CListProps<T> = {
548
829
  modelValue?: T | T[] | null;
549
830
  multiple?: boolean;
550
831
  mandatory?: boolean;
551
832
  readonly?: boolean;
833
+ selectable?: boolean;
834
+ role?: CListRole;
552
835
  };
553
836
  type CListSlots<T> = {
554
837
  default?(props: {
@@ -557,14 +840,34 @@ type CListSlots<T> = {
557
840
  isActive(item: T): boolean;
558
841
  }): VNode | VNode[];
559
842
  };
843
+ type ListItemControls = {
844
+ focus(): void;
845
+ blur(): void;
846
+ };
847
+ type ListAPI<T = any> = {
848
+ role: ComputedRef<CListRole>;
849
+ listId: string;
850
+ register(controls: ListItemControls): number;
851
+ unregister(controls: ListItemControls): void;
852
+ select(value: T): void;
853
+ unselect(value: T): void;
854
+ isActive(value: T): boolean;
855
+ setDescendant(id: string | undefined): void;
856
+ };
560
857
 
561
- declare const _default$4: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
562
- props: __VLS_PrettifyLocal$2<Pick<Partial<{}> & Omit<{
858
+ declare const _default$6: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
859
+ props: __VLS_PrettifyLocal$3<Pick<Partial<{}> & Omit<{
563
860
  readonly "onUpdate:modelValue"?: ((value: T | T[] | null) => any) | undefined;
564
861
  } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue"> & (CListProps<T> & {
565
862
  modelValue?: T | T[] | null;
566
863
  }) & Partial<{}>> & vue.PublicProps;
567
- expose(exposed: vue.ShallowUnwrapRef<{}>): void;
864
+ expose(exposed: vue.ShallowUnwrapRef<{
865
+ focus: () => Promise<void>;
866
+ listId: string;
867
+ activeDescendant: vue.ShallowRef<string | undefined, string | undefined>;
868
+ navigateDown: () => void;
869
+ navigateUp: () => void;
870
+ }>): void;
568
871
  attrs: any;
569
872
  slots: CListSlots<T>;
570
873
  emit: (evt: "update:modelValue", value: T | T[] | null) => void;
@@ -572,13 +875,13 @@ declare const _default$4: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setu
572
875
  __ctx?: Awaited<typeof __VLS_setup>;
573
876
  };
574
877
 
575
- type __VLS_PrettifyLocal$2<T> = {
878
+ type __VLS_PrettifyLocal$3<T> = {
576
879
  [K in keyof T]: T[K];
577
880
  } & {};
578
881
  //# sourceMappingURL=CList.vue.d.ts.map
579
882
 
580
- declare const _default$3: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
581
- props: __VLS_PrettifyLocal$1<Pick<Partial<{}> & Omit<{} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, never> & {
883
+ declare const _default$5: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
884
+ props: __VLS_PrettifyLocal$2<Pick<Partial<{}> & Omit<{} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, never> & {
582
885
  value?: T;
583
886
  } & Partial<{}>> & vue.PublicProps;
584
887
  expose(exposed: vue.ShallowUnwrapRef<{}>): void;
@@ -591,7 +894,7 @@ declare const _default$3: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VL
591
894
  __ctx?: Awaited<typeof __VLS_setup>;
592
895
  };
593
896
 
594
- type __VLS_PrettifyLocal$1<T> = {
897
+ type __VLS_PrettifyLocal$2<T> = {
595
898
  [K in keyof T]: T[K];
596
899
  } & {};
597
900
  //# sourceMappingURL=CListItem.vue.d.ts.map
@@ -599,138 +902,112 @@ type __VLS_PrettifyLocal$1<T> = {
599
902
  declare const CListItemIcon: vue.FunctionalComponent<{}, {}, any, {}>;
600
903
  declare const CListItemTitle: vue.FunctionalComponent<{}, {}, any, {}>;
601
904
 
602
- type CItemsProps = {
603
- modelValue: any;
604
- multiple?: boolean;
605
- mandatory?: boolean;
606
- options?: {
607
- extKey?: string;
608
- noItemsMessage?: string;
609
- menuClass?: string;
610
- };
611
- items: any[];
612
- };
613
- type CItemsSlots = {
614
- 'no-items-message'?: () => any;
615
- };
616
- declare const CItems: vue.DefineComponent<CItemsProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CItemsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
617
-
618
905
  declare const CMain: vue.FunctionalComponent<{}, {}, any, {}>;
619
906
 
620
- declare const CCard: vue.FunctionalComponent<{}, {}, any, {}>;
621
- declare const CCardHeader: vue.FunctionalComponent<{}, {}, any, {}>;
622
- declare const CCardBody: vue.FunctionalComponent<{}, {}, any, {}>;
623
- declare const CCardFooter: vue.FunctionalComponent<{}, {}, any, {}>;
624
-
625
- declare const justifyValues: readonly ["start", "center", "end", "space-between", "space-around"];
626
- declare const alignValues: readonly ["start", "center", "end", "baseline", "stretch"];
627
- declare const alignContentValues: readonly ["start", "center", "end", "space-between", "space-around", "stretch"];
628
- type JustifyValue = (typeof justifyValues)[number];
629
- type AlignValue = (typeof alignValues)[number];
630
- type AlignContentValue = (typeof alignContentValues)[number];
631
- declare const CRow: vue.DefineComponent<vue.ExtractPropTypes<{
632
- align: {
633
- type: PropType<AlignValue>;
634
- default: null;
635
- validator: (value: string) => boolean;
636
- };
637
- alignContent: {
638
- type: PropType<AlignContentValue>;
639
- default: null;
640
- validator: (value: string) => boolean;
641
- };
642
- justify: {
643
- type: PropType<JustifyValue>;
644
- default: null;
645
- validator: (value: string) => boolean;
646
- };
647
- noGutter: BooleanConstructor;
648
- }>, () => VNode, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
649
- align: {
650
- type: PropType<AlignValue>;
651
- default: null;
652
- validator: (value: string) => boolean;
653
- };
654
- alignContent: {
655
- type: PropType<AlignContentValue>;
656
- default: null;
657
- validator: (value: string) => boolean;
658
- };
659
- justify: {
660
- type: PropType<JustifyValue>;
661
- default: null;
662
- validator: (value: string) => boolean;
663
- };
664
- noGutter: BooleanConstructor;
665
- }>> & Readonly<{}>, {
666
- noGutter: boolean;
667
- align: "start" | "center" | "end" | "baseline" | "stretch";
668
- alignContent: "start" | "center" | "end" | "space-between" | "space-around" | "stretch";
669
- justify: "start" | "center" | "end" | "space-between" | "space-around";
670
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
671
-
672
- declare const CCol: vue.DefineComponent<vue.ExtractPropTypes<{
673
- order: {
674
- type: PropType<string | number>;
675
- default: null;
676
- };
677
- cols: {
678
- type: PropType<string | number>;
679
- default: null;
680
- };
681
- offset: {
682
- type: PropType<string | number>;
683
- default: null;
684
- };
685
- }>, () => VNode, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
686
- order: {
687
- type: PropType<string | number>;
688
- default: null;
689
- };
690
- cols: {
691
- type: PropType<string | number>;
692
- default: null;
693
- };
694
- offset: {
695
- type: PropType<string | number>;
696
- default: null;
697
- };
698
- }>> & Readonly<{}>, {
699
- order: string | number;
700
- cols: string | number;
701
- offset: string | number;
702
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
703
-
704
- declare const CSpacer: vue.FunctionalComponent<{}, {}, any, {}>;
705
-
706
- type CDialogProps = COverlayProps & {
907
+ type CMenuProps = ActivatorProps & DimensionsProps & AutoPositionProps & DelayProps & Partial<COverlayProps> & {
707
908
  closeOnClickOutside?: boolean;
909
+ closeOnContentClick?: boolean;
910
+ ssr?: boolean;
911
+ transition?: string;
708
912
  };
709
- type CDialogSlots = {
913
+ type CMenuSlots = {
914
+ activator?(props: {
915
+ on: ActivatorListeners;
916
+ activator: Record<string, any>;
917
+ }): VNode;
710
918
  default(): VNode;
711
919
  };
920
+ type CMenuEvents = {
921
+ (e: 'outside-click'): void;
922
+ (e: 'click'): void;
923
+ (e: 'open'): void;
924
+ (e: 'close'): void;
925
+ (e: 'update:modelValue', val: boolean): void;
926
+ };
712
927
 
713
- type __VLS_Slots = CDialogSlots;
714
- type __VLS_Props = CDialogProps;
715
- type __VLS_PublicProps = __VLS_Props & {
928
+ type __VLS_Props$1 = CMenuProps;
929
+ type __VLS_PublicProps = __VLS_Props$1 & {
716
930
  modelValue?: boolean;
717
931
  };
718
- declare const __VLS_component: vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
932
+ declare var __VLS_1$2: {
933
+ on: vue.Raw<{
934
+ focus?: (() => void) | undefined;
935
+ click?: (() => void) | undefined;
936
+ mouseleave?: (() => void) | undefined;
937
+ mouseenter?: (() => void) | undefined;
938
+ }>;
939
+ activator: Record<string, any>;
940
+ };
941
+ declare var __VLS_11: {};
942
+ type __VLS_Slots$2 = {} & {
943
+ activator?: (props: typeof __VLS_1$2) => any;
944
+ } & {
945
+ default?: (props: typeof __VLS_11) => any;
946
+ };
947
+ declare const __VLS_component$2: vue.DefineComponent<__VLS_PublicProps, {
948
+ open: () => void;
949
+ close: () => void;
950
+ toggle: () => void;
951
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
719
952
  "update:modelValue": (value: boolean) => any;
953
+ } & {
954
+ open: () => any;
955
+ close: () => any;
956
+ click: () => any;
957
+ "update:modelValue": (val: boolean) => any;
958
+ "outside-click": () => any;
720
959
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
960
+ onOpen?: (() => any) | undefined;
961
+ onClose?: (() => any) | undefined;
962
+ onClick?: (() => any) | undefined;
721
963
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
964
+ "onOutside-click"?: (() => any) | undefined;
722
965
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
723
- declare const _default$2: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
966
+ declare const _default$4: __VLS_WithSlots$2<typeof __VLS_component$2, __VLS_Slots$2>;
724
967
 
725
- type __VLS_WithSlots<T, S> = T & {
968
+ type __VLS_WithSlots$2<T, S> = T & {
726
969
  new (): {
727
970
  $slots: S;
728
971
  };
729
972
  };
730
- //# sourceMappingURL=CDialog.vue.d.ts.map
973
+ //# sourceMappingURL=CMenu.vue.d.ts.map
731
974
 
732
- declare const _default$1: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
733
- //# sourceMappingURL=CDialogsStack.vue.d.ts.map
975
+ declare const _default$3: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
976
+ props: __VLS_PrettifyLocal$1<Pick<Partial<{}> & Omit<{
977
+ readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
978
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
979
+ label?: string;
980
+ } & {
981
+ modelValue?: T;
982
+ }) & Partial<{}>> & vue.PublicProps;
983
+ expose(exposed: vue.ShallowUnwrapRef<{}>): void;
984
+ attrs: any;
985
+ slots: {
986
+ default?: (props: {}) => any;
987
+ };
988
+ emit: (evt: "update:modelValue", value: T | undefined) => void;
989
+ }>) => vue.VNode & {
990
+ __ctx?: Awaited<typeof __VLS_setup>;
991
+ };
992
+
993
+ type __VLS_PrettifyLocal$1<T> = {
994
+ [K in keyof T]: T[K];
995
+ } & {};
996
+ //# sourceMappingURL=CRadio.vue.d.ts.map
997
+
998
+ declare var __VLS_1$1: {};
999
+ type __VLS_Slots$1 = {} & {
1000
+ default?: (props: typeof __VLS_1$1) => any;
1001
+ };
1002
+ declare const __VLS_component$1: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
1003
+ declare const _default$2: __VLS_WithSlots$1<typeof __VLS_component$1, __VLS_Slots$1>;
1004
+
1005
+ type __VLS_WithSlots$1<T, S> = T & {
1006
+ new (): {
1007
+ $slots: S;
1008
+ };
1009
+ };
1010
+ //# sourceMappingURL=CRadioGroup.vue.d.ts.map
734
1011
 
735
1012
  type CScrimProps = {
736
1013
  blur?: boolean;
@@ -738,34 +1015,45 @@ type CScrimProps = {
738
1015
  };
739
1016
  declare const CScrim: (props: CScrimProps, ctx: any) => VNode;
740
1017
 
741
- interface CSelectControlProps<T = any> {
742
- modelValue: T | T[] | boolean;
743
- value?: T;
744
- multiple?: boolean;
745
- focused?: boolean;
746
- disabled?: boolean;
747
- readonly?: boolean;
748
- name?: string;
749
- }
750
- interface CSelectControlSlots {
751
- default(props: {
752
- checked: boolean;
753
- disabled: boolean;
754
- readonly: boolean;
755
- toggle: () => void;
1018
+ type CSelectProps<T> = SelectableProps<T> & IterableItemsProps<T> & {
1019
+ options?: {
1020
+ extKey?: string;
1021
+ noItemsMessage?: string;
1022
+ };
1023
+ };
1024
+ type CSelectSlots<T> = {
1025
+ menu(props: {
1026
+ items: NormalizedItem<T>[];
1027
+ onSelect(val: T): void;
1028
+ }): void;
1029
+ field: CInputSlots['field'];
1030
+ prepend(): VNode;
1031
+ append(): VNode;
1032
+ selects(props: {
1033
+ items: T[];
1034
+ }): VNode[];
1035
+ details(props: {
1036
+ errorMessage?: string;
1037
+ details?: string;
756
1038
  }): VNode;
757
- }
1039
+ ['no-items-message'](): string;
1040
+ };
758
1041
 
759
- declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1042
+ declare const _default$1: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
760
1043
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
761
- readonly "onUpdate:modelValue"?: ((value: boolean | T | T[]) => any) | undefined;
762
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue"> & (CSelectControlProps<any> & {
763
- modelValue?: T | T[] | boolean;
1044
+ readonly "onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
1045
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, never>, "onUpdate:modelValue"> & (SelectableProps<T> & IterableItemsProps<T> & {
1046
+ options?: {
1047
+ extKey?: string;
1048
+ noItemsMessage?: string;
1049
+ };
1050
+ } & {
1051
+ modelValue?: T | T[];
764
1052
  }) & Partial<{}>> & vue.PublicProps;
765
1053
  expose(exposed: vue.ShallowUnwrapRef<{}>): void;
766
1054
  attrs: any;
767
- slots: CSelectControlSlots;
768
- emit: (evt: "update:modelValue", value: boolean | T | T[]) => void;
1055
+ slots: CSelectSlots<T>;
1056
+ emit: (evt: "update:modelValue", value: T | T[] | undefined) => void;
769
1057
  }>) => vue.VNode & {
770
1058
  __ctx?: Awaited<typeof __VLS_setup>;
771
1059
  };
@@ -773,7 +1061,56 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
773
1061
  type __VLS_PrettifyLocal<T> = {
774
1062
  [K in keyof T]: T[K];
775
1063
  } & {};
776
- //# sourceMappingURL=CSelectControl.vue.d.ts.map
1064
+ //# sourceMappingURL=CSelect.vue.d.ts.map
1065
+
1066
+ type CTextFieldProps = Omit<CInputProps, 'modelValue' | 'role'>;
1067
+ type CTextFieldSlots = {
1068
+ prepend(): VNode;
1069
+ append(): VNode;
1070
+ details(props: {
1071
+ errorMessage?: string;
1072
+ details?: string;
1073
+ hasError: boolean;
1074
+ }): VNode;
1075
+ };
1076
+ type CTextFieldEmits<T = any> = {
1077
+ (e: 'update:modelValue', val: T): void;
1078
+ };
1079
+
1080
+ type CTextFieldComponent = new <T = any>() => {
1081
+ $props: CTextFieldProps & {
1082
+ modelValue?: T;
1083
+ };
1084
+ $slots: CTextFieldSlots;
1085
+ $emits: CTextFieldEmits<T>;
1086
+ };
1087
+ declare const CTextField: CTextFieldComponent;
1088
+
1089
+ type __VLS_Props = {
1090
+ fixed?: boolean;
1091
+ };
1092
+ declare var __VLS_1: {};
1093
+ type __VLS_Slots = {} & {
1094
+ default?: (props: typeof __VLS_1) => any;
1095
+ };
1096
+ declare const __VLS_component: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
1097
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
1098
+
1099
+ type __VLS_WithSlots<T, S> = T & {
1100
+ new (): {
1101
+ $slots: S;
1102
+ };
1103
+ };
1104
+ //# sourceMappingURL=CToolbar.vue.d.ts.map
1105
+
1106
+ declare const CToolbarLogo: vue.FunctionalComponent<{}, {}, any, {}>;
1107
+ declare const CToolbarItems: vue.FunctionalComponent<{}, {}, any, {}>;
1108
+
1109
+ type CTooltipComponent = new () => {
1110
+ $props: CMenuProps;
1111
+ $slots: CMenuSlots;
1112
+ };
1113
+ declare const CTooltip: CTooltipComponent;
777
1114
 
778
- export { _default$j as CApp, _default$d as CAutocomplete, _default$i as CBtn, CCard, CCardBody, CCardFooter, CCardHeader, _default$8 as CCheckbox, CCol, _default$2 as CDialog, _default$1 as CDialogsStack, _default$e as CField, _default$h as CForm, _default$9 as CIcon, _default$g as CInput, CItems, CLabel, _default$4 as CList, _default$3 as CListItem, CListItemIcon, CListItemTitle, CMain, _default$a as CMenu, _default$b as COverlay, _default$7 as CRadio, CRow, CScrim, _default$c as CSelect, _default as CSelectControl, CSpacer, _default$f as CTextField, _default$5 as CToolbar, CToolbarItems, CToolbarLogo, _default$6 as CTooltip };
779
- export type { ApplicationApi, CAutocompleteProps, CAutocompleteSlots, CCheckboxEvents, CCheckboxProps, CCheckboxSlots, CDialogProps, CDialogSlots, CInputProps, CInputSlots, CItemsProps, CItemsSlots, CListProps, CListSlots, CMenuEvents, CMenuProps, CMenuSlots, COverlayProps, COverlaySlots, CScrimProps, CSelectControlProps, CSelectControlSlots, CSelectProps, CSelectSlots, FormApi, FormSlots, ValidatorFn };
1115
+ export { _default$l as CApp, _default$i as CAutocomplete, _default$k as CBtn, CCard, CCardBody, CCardFooter, CCardHeader, _default$g as CCheckbox, _default$f as CChip, CCol, _default$d as CDateInput, _default$e as CDatePicker, _default$b as CDialog, _default$a as CDialogsStack, _default$9 as CField, _default$8 as CForm, _default$7 as CIcon, _default$j as CInput, CLabel, _default$6 as CList, _default$5 as CListItem, CListItemIcon, CListItemTitle, CMain, _default$4 as CMenu, _default$c as COverlay, _default$3 as CRadio, _default$2 as CRadioGroup, CRow, CScrim, _default$1 as CSelect, _default$h as CSelectControl, CSpacer, CTextField, _default as CToolbar, CToolbarItems, CToolbarLogo, CTooltip, datePickerValueToString };
1116
+ export type { ApplicationApi, CAppSlots, CAutocompleteProps, CAutocompletePublicProps, CAutocompleteSlots, CBtnProps, CCheckboxEvents, CCheckboxModel, CCheckboxProps, CCheckboxPublicProps, CCheckboxSlots, CDateInputProps, CDatePickerProps, CDialogProps, CDialogSlots, CFieldProps, CFieldSlots, CFormEmits, CFormProps, CFormSlots, CInputDetailsSlotProps, CInputEmits, CInputFieldSlotProps, CInputProps, CInputRole, CInputSlots, CLabelProps, CListProps, CListRole, CListSlots, CMenuEvents, CMenuProps, CMenuSlots, COverlayProps, COverlaySlots, CScrimProps, CSelectControlProps, CSelectControlSlots, CSelectProps, CSelectSlots, CTextFieldProps, CTextFieldSlots, DateLocale, DatePickerDate, DatePickerEnrichedDate, DatePickerEnrichedMonth, DatePickerEnrichedYear, DatePickerSlotApi, DatePickerWeekDay, DisabledDates, FormAPI, InputState, ListAPI, ListItemControls, ResetFn, ValidatorFn };