@quidgest/ui 0.16.74 → 0.17.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 (341) hide show
  1. package/dist/json/api.json +38 -48
  2. package/dist/ui.css +234 -1361
  3. package/dist/ui.esm.js +5373 -12098
  4. package/dist/ui.js +28 -28
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +917 -1390
  7. package/dist/ui.scss +220 -42
  8. package/esm/components/QAccordion/QAccordion.d.ts +1 -1
  9. package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
  10. package/esm/components/QAccordion/QAccordionItem.d.ts +1 -1
  11. package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -1
  12. package/esm/components/QAvatar/QAvatar.d.ts +1 -1
  13. package/esm/components/QAvatar/QAvatar.d.ts.map +1 -1
  14. package/esm/components/QAvatar/QAvatar.vue.js +15 -15
  15. package/esm/components/QBadge/QBadge.d.ts +2 -2
  16. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  17. package/esm/components/QBadge/index.d.ts +3 -3
  18. package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts +1 -1
  19. package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
  20. package/esm/components/QButton/QButton.d.ts +2 -2
  21. package/esm/components/QButton/QButton.d.ts.map +1 -1
  22. package/esm/components/QButton/index.d.ts +3 -3
  23. package/esm/components/QButtonGroup/QButtonGroup.d.ts +1 -1
  24. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  25. package/esm/components/QCard/QCard.d.ts +1 -1
  26. package/esm/components/QCard/QCard.d.ts.map +1 -1
  27. package/esm/components/QCarousel/QCarousel.d.ts +1 -1
  28. package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
  29. package/esm/components/QCarousel/QCarousel.vue.js +127 -127
  30. package/esm/components/QCheckbox/QCheckbox.d.ts +1 -1
  31. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  32. package/esm/components/QCheckbox/QCheckbox.vue.js +29 -27
  33. package/esm/components/QCheckbox/index.d.ts +3 -0
  34. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  35. package/esm/components/QCheckbox/types.d.ts +6 -0
  36. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  37. package/esm/components/QCollapsible/QCollapsible.d.ts +1 -1
  38. package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
  39. package/esm/components/QCollapsible/QCollapsible.vue.js +42 -42
  40. package/esm/components/QColorPicker/QColorPicker.d.ts +1 -1
  41. package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
  42. package/esm/components/QCombobox/QCombobox.d.ts +91 -117
  43. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  44. package/esm/components/QCombobox/QCombobox.vue.js +34 -34
  45. package/esm/components/QCombobox/index.d.ts +105 -138
  46. package/esm/components/QCombobox/index.d.ts.map +1 -1
  47. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +398 -7
  48. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  49. package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +1298 -154
  50. package/esm/components/QDateTimePicker/constants.d.ts +58 -0
  51. package/esm/components/QDateTimePicker/constants.d.ts.map +1 -1
  52. package/esm/components/QDateTimePicker/constants.js +84 -7
  53. package/esm/components/QDateTimePicker/index.d.ts +210 -24
  54. package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
  55. package/esm/components/QDateTimePicker/types.d.ts +33 -23
  56. package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
  57. package/esm/components/QDefaultsProvider/QDefaultsProvider.d.ts +1 -1
  58. package/esm/components/QDefaultsProvider/QDefaultsProvider.d.ts.map +1 -1
  59. package/esm/components/QDialog/QDialog.d.ts +1 -1
  60. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  61. package/esm/components/QDialog/QDialogProvider.d.ts +1 -1
  62. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  63. package/esm/components/QDialog/QDialogProvider.vue.js +2 -3
  64. package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts +1 -1
  65. package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts.map +1 -1
  66. package/esm/components/QDivider/QDivider.d.ts +1 -1
  67. package/esm/components/QDivider/QDivider.d.ts.map +1 -1
  68. package/esm/components/QDivider/QDivider.vue.js +2 -2
  69. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +2 -2
  70. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  71. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +38 -44
  72. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  73. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +11 -11
  74. package/esm/components/QDropdownMenu/index.d.ts +3 -3
  75. package/esm/components/QField/QField.d.ts +1 -1
  76. package/esm/components/QField/QField.d.ts.map +1 -1
  77. package/esm/components/QFileUpload/QFileUpload.d.ts +1 -1
  78. package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
  79. package/esm/components/QFocusWrap/QFocusWrap.d.ts +1 -1
  80. package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
  81. package/esm/components/QGrid/QCol.d.ts +1 -1
  82. package/esm/components/QGrid/QCol.d.ts.map +1 -1
  83. package/esm/components/QGrid/QContainer.d.ts +1 -1
  84. package/esm/components/QGrid/QContainer.d.ts.map +1 -1
  85. package/esm/components/QGrid/QRow.d.ts +1 -1
  86. package/esm/components/QGrid/QRow.d.ts.map +1 -1
  87. package/esm/components/QGroupBox/QGroupBox.d.ts +1 -1
  88. package/esm/components/QGroupBox/QGroupBox.d.ts.map +1 -1
  89. package/esm/components/QIcon/QIcon.d.ts +1 -1
  90. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  91. package/esm/components/QIcon/QIconFont.d.ts +1 -1
  92. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  93. package/esm/components/QIcon/QIconImg.d.ts +1 -1
  94. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  95. package/esm/components/QIcon/QIconSvg.d.ts +1 -1
  96. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  97. package/esm/components/QInputGroup/QInputGroup.d.ts +1 -1
  98. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  99. package/esm/components/QLabel/QLabel.d.ts +1 -1
  100. package/esm/components/QLabel/QLabel.d.ts.map +1 -1
  101. package/esm/components/QLineLoader/QLineLoader.d.ts +1 -1
  102. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  103. package/esm/components/QList/QList.d.ts +18 -20
  104. package/esm/components/QList/QList.d.ts.map +1 -1
  105. package/esm/components/QList/QList.vue.js +17 -16
  106. package/esm/components/QList/QListItem.d.ts +2 -2
  107. package/esm/components/QList/QListItem.d.ts.map +1 -1
  108. package/esm/components/QList/QListItem.vue.js +50 -49
  109. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  110. package/esm/components/QList/index.d.ts +18 -19
  111. package/esm/components/QList/index.d.ts.map +1 -1
  112. package/esm/components/QList/types.d.ts +6 -0
  113. package/esm/components/QList/types.d.ts.map +1 -1
  114. package/esm/components/QMeter/QMeter.d.ts +1 -1
  115. package/esm/components/QMeter/QMeter.d.ts.map +1 -1
  116. package/esm/components/QOverlay/QOverlay.d.ts +8 -8
  117. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  118. package/esm/components/QOverlay/QOverlay.vue.js +67 -70
  119. package/esm/components/QOverlay/index.d.ts +6 -6
  120. package/esm/components/QPasswordField/QPasswordField.d.ts +25 -33
  121. package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  122. package/esm/components/QPasswordField/QPasswordFieldMessages.d.ts +1 -1
  123. package/esm/components/QPasswordField/QPasswordFieldMessages.d.ts.map +1 -1
  124. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.d.ts +1 -1
  125. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.d.ts.map +1 -1
  126. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +13 -13
  127. package/esm/components/QPasswordField/index.d.ts +12 -16
  128. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  129. package/esm/components/QPopover/QPopover.d.ts +1 -1
  130. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  131. package/esm/components/QPropertyList/QPropertyList.d.ts +1 -1
  132. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  133. package/esm/components/QPropertyList/QPropertyList.vue.js +3 -3
  134. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +1 -1
  135. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
  136. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +8 -8
  137. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +1 -1
  138. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
  139. package/esm/components/QPropertyList/QPropertyListRow.d.ts +2 -2
  140. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  141. package/esm/components/QPropertyList/index.d.ts +1 -1
  142. package/esm/components/QPropertyList/index.d.ts.map +1 -1
  143. package/esm/components/QRadioGroup/QRadioButton.d.ts +1 -1
  144. package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
  145. package/esm/components/QRadioGroup/QRadioButton.vue.js +26 -26
  146. package/esm/components/QRadioGroup/QRadioGroup.d.ts +1 -1
  147. package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
  148. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts +1 -1
  149. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
  150. package/esm/components/QSelect/QSelect.d.ts +197 -65
  151. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  152. package/esm/components/QSelect/QSelect.vue.js +411 -311
  153. package/esm/components/QSelect/index.d.ts +98 -32
  154. package/esm/components/QSelect/index.d.ts.map +1 -1
  155. package/esm/components/QSidebar/QSidebar.d.ts +1 -1
  156. package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
  157. package/esm/components/QSidebar/QSidebar.vue.js +12 -12
  158. package/esm/components/QSidebar/QSidebarAnchor.d.ts +5 -9
  159. package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
  160. package/esm/components/QSidebar/QSidebarAnchor.vue.js +8 -8
  161. package/esm/components/QSidebar/QSidebarPanel.d.ts +1 -1
  162. package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
  163. package/esm/components/QSidebar/QSidebarPanel.vue.js +23 -23
  164. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +1 -1
  165. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  166. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +3 -3
  167. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +1 -1
  168. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  169. package/esm/components/QSwitch/QSwitch.d.ts +1 -1
  170. package/esm/components/QSwitch/QSwitch.d.ts.map +1 -1
  171. package/esm/components/QTextArea/QTextArea.d.ts +1 -1
  172. package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
  173. package/esm/components/QTextField/QTextField.d.ts +14 -18
  174. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  175. package/esm/components/QTextField/QTextField.vue.js +31 -33
  176. package/esm/components/QTextField/index.d.ts +9 -11
  177. package/esm/components/QTextField/index.d.ts.map +1 -1
  178. package/esm/components/QThemeProvider/QThemeProvider.d.ts +1 -1
  179. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  180. package/esm/components/QToast/QToast.d.ts +2 -2
  181. package/esm/components/QToast/QToast.d.ts.map +1 -1
  182. package/esm/components/QToast/QToaster.d.ts +1 -1
  183. package/esm/components/QToast/QToaster.d.ts.map +1 -1
  184. package/esm/components/QToast/index.d.ts +3 -3
  185. package/esm/components/QToggle/QToggle.d.ts +1 -1
  186. package/esm/components/QToggle/QToggle.d.ts.map +1 -1
  187. package/esm/components/QToggleGroup/QToggleGroup.d.ts +1 -1
  188. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
  189. package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +1 -1
  190. package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -1
  191. package/esm/components/QTooltip/QTooltip.d.ts +1 -1
  192. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  193. package/esm/components/__internal__/QChevron/QChevron.d.ts +1 -1
  194. package/esm/components/__internal__/QChevron/QChevron.d.ts.map +1 -1
  195. package/esm/components/__internal__/QClearButton/QClearButton.d.ts +1 -1
  196. package/esm/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -1
  197. package/esm/composables/useInputMask/index.d.ts +50 -0
  198. package/esm/composables/useInputMask/index.d.ts.map +1 -0
  199. package/esm/composables/useInputMask/index.js +420 -0
  200. package/esm/utils/date.d.ts +190 -0
  201. package/esm/utils/date.d.ts.map +1 -0
  202. package/esm/utils/date.js +479 -0
  203. package/esm/utils/index.d.ts +1 -0
  204. package/esm/utils/index.d.ts.map +1 -1
  205. package/esm/utils/index.js +41 -18
  206. package/package.json +2 -4
  207. package/esm/composables/maska.d.ts +0 -28
  208. package/esm/composables/maska.d.ts.map +0 -1
  209. package/esm/composables/maska.js +0 -26
  210. package/esm/utils/date/date.d.ts +0 -9
  211. package/esm/utils/date/date.d.ts.map +0 -1
  212. package/esm/utils/date/date.js +0 -91
  213. package/esm/utils/date/index.d.ts +0 -4
  214. package/esm/utils/date/index.d.ts.map +0 -1
  215. package/esm/utils/date/tokens.d.ts +0 -49
  216. package/esm/utils/date/tokens.d.ts.map +0 -1
  217. package/esm/utils/date/tokens.js +0 -243
  218. package/esm/utils/time.js +0 -14
  219. package/esm/vendors/@vuepic/vue-datepicker/dist/vue-datepicker.js +0 -5150
  220. package/esm/vendors/date-fns/_lib/addLeadingZeros.js +0 -7
  221. package/esm/vendors/date-fns/_lib/defaultOptions.js +0 -7
  222. package/esm/vendors/date-fns/_lib/format/formatters.js +0 -583
  223. package/esm/vendors/date-fns/_lib/format/lightFormatters.js +0 -59
  224. package/esm/vendors/date-fns/_lib/format/longFormatters.js +0 -52
  225. package/esm/vendors/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -18
  226. package/esm/vendors/date-fns/_lib/normalizeDates.js +0 -11
  227. package/esm/vendors/date-fns/_lib/normalizeInterval.js +0 -8
  228. package/esm/vendors/date-fns/_lib/protectedTokens.js +0 -20
  229. package/esm/vendors/date-fns/add.js +0 -20
  230. package/esm/vendors/date-fns/addDays.js +0 -10
  231. package/esm/vendors/date-fns/addHours.js +0 -9
  232. package/esm/vendors/date-fns/addMilliseconds.js +0 -9
  233. package/esm/vendors/date-fns/addMonths.js +0 -20
  234. package/esm/vendors/date-fns/addQuarters.js +0 -8
  235. package/esm/vendors/date-fns/addYears.js +0 -8
  236. package/esm/vendors/date-fns/compareAsc.js +0 -9
  237. package/esm/vendors/date-fns/constants.js +0 -9
  238. package/esm/vendors/date-fns/constructFrom.js +0 -8
  239. package/esm/vendors/date-fns/differenceInCalendarDays.js +0 -16
  240. package/esm/vendors/date-fns/differenceInCalendarYears.js +0 -13
  241. package/esm/vendors/date-fns/differenceInYears.js +0 -17
  242. package/esm/vendors/date-fns/eachDayOfInterval.js +0 -17
  243. package/esm/vendors/date-fns/eachQuarterOfInterval.js +0 -18
  244. package/esm/vendors/date-fns/endOfQuarter.js +0 -9
  245. package/esm/vendors/date-fns/endOfWeek.js +0 -11
  246. package/esm/vendors/date-fns/endOfYear.js +0 -9
  247. package/esm/vendors/date-fns/format.js +0 -59
  248. package/esm/vendors/date-fns/getDay.js +0 -8
  249. package/esm/vendors/date-fns/getDayOfYear.js +0 -11
  250. package/esm/vendors/date-fns/getDaysInMonth.js +0 -10
  251. package/esm/vendors/date-fns/getDefaultOptions.js +0 -8
  252. package/esm/vendors/date-fns/getHours.js +0 -8
  253. package/esm/vendors/date-fns/getISODay.js +0 -9
  254. package/esm/vendors/date-fns/getISOWeek.js +0 -12
  255. package/esm/vendors/date-fns/getISOWeekYear.js +0 -15
  256. package/esm/vendors/date-fns/getMinutes.js +0 -8
  257. package/esm/vendors/date-fns/getMonth.js +0 -8
  258. package/esm/vendors/date-fns/getQuarter.js +0 -9
  259. package/esm/vendors/date-fns/getSeconds.js +0 -8
  260. package/esm/vendors/date-fns/getWeek.js +0 -12
  261. package/esm/vendors/date-fns/getWeekYear.js +0 -17
  262. package/esm/vendors/date-fns/getYear.js +0 -8
  263. package/esm/vendors/date-fns/isAfter.js +0 -8
  264. package/esm/vendors/date-fns/isBefore.js +0 -8
  265. package/esm/vendors/date-fns/isDate.js +0 -7
  266. package/esm/vendors/date-fns/isEqual.js +0 -8
  267. package/esm/vendors/date-fns/isSameQuarter.js +0 -14
  268. package/esm/vendors/date-fns/isValid.js +0 -9
  269. package/esm/vendors/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
  270. package/esm/vendors/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
  271. package/esm/vendors/date-fns/locale/_lib/buildMatchFn.js +0 -31
  272. package/esm/vendors/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
  273. package/esm/vendors/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
  274. package/esm/vendors/date-fns/locale/en-US/_lib/formatLong.js +0 -33
  275. package/esm/vendors/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  276. package/esm/vendors/date-fns/locale/en-US/_lib/localize.js +0 -155
  277. package/esm/vendors/date-fns/locale/en-US/_lib/match.js +0 -110
  278. package/esm/vendors/date-fns/locale/en-US.js +0 -21
  279. package/esm/vendors/date-fns/parse/_lib/Parser.js +0 -22
  280. package/esm/vendors/date-fns/parse/_lib/Setter.js +0 -41
  281. package/esm/vendors/date-fns/parse/_lib/constants.js +0 -49
  282. package/esm/vendors/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -49
  283. package/esm/vendors/date-fns/parse/_lib/parsers/AMPMParser.js +0 -49
  284. package/esm/vendors/date-fns/parse/_lib/parsers/DateParser.js +0 -61
  285. package/esm/vendors/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -51
  286. package/esm/vendors/date-fns/parse/_lib/parsers/DayParser.js +0 -49
  287. package/esm/vendors/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -49
  288. package/esm/vendors/date-fns/parse/_lib/parsers/EraParser.js +0 -33
  289. package/esm/vendors/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -21
  290. package/esm/vendors/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -22
  291. package/esm/vendors/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -32
  292. package/esm/vendors/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -32
  293. package/esm/vendors/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -33
  294. package/esm/vendors/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -33
  295. package/esm/vendors/date-fns/parse/_lib/parsers/ISODayParser.js +0 -105
  296. package/esm/vendors/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -48
  297. package/esm/vendors/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -48
  298. package/esm/vendors/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -49
  299. package/esm/vendors/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -40
  300. package/esm/vendors/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -80
  301. package/esm/vendors/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -48
  302. package/esm/vendors/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -69
  303. package/esm/vendors/date-fns/parse/_lib/parsers/MinuteParser.js +0 -32
  304. package/esm/vendors/date-fns/parse/_lib/parsers/MonthParser.js +0 -77
  305. package/esm/vendors/date-fns/parse/_lib/parsers/QuarterParser.js +0 -75
  306. package/esm/vendors/date-fns/parse/_lib/parsers/SecondParser.js +0 -32
  307. package/esm/vendors/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -80
  308. package/esm/vendors/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -77
  309. package/esm/vendors/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -75
  310. package/esm/vendors/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -22
  311. package/esm/vendors/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -22
  312. package/esm/vendors/date-fns/parse/_lib/parsers/YearParser.js +0 -49
  313. package/esm/vendors/date-fns/parse/_lib/parsers.js +0 -67
  314. package/esm/vendors/date-fns/parse/_lib/utils.js +0 -103
  315. package/esm/vendors/date-fns/parse.js +0 -89
  316. package/esm/vendors/date-fns/set.js +0 -11
  317. package/esm/vendors/date-fns/setDay.js +0 -12
  318. package/esm/vendors/date-fns/setHours.js +0 -9
  319. package/esm/vendors/date-fns/setISODay.js +0 -11
  320. package/esm/vendors/date-fns/setISOWeek.js +0 -10
  321. package/esm/vendors/date-fns/setMilliseconds.js +0 -9
  322. package/esm/vendors/date-fns/setMinutes.js +0 -9
  323. package/esm/vendors/date-fns/setMonth.js +0 -13
  324. package/esm/vendors/date-fns/setSeconds.js +0 -9
  325. package/esm/vendors/date-fns/setWeek.js +0 -10
  326. package/esm/vendors/date-fns/setYear.js +0 -10
  327. package/esm/vendors/date-fns/startOfDay.js +0 -9
  328. package/esm/vendors/date-fns/startOfISOWeek.js +0 -8
  329. package/esm/vendors/date-fns/startOfISOWeekYear.js +0 -11
  330. package/esm/vendors/date-fns/startOfMonth.js +0 -9
  331. package/esm/vendors/date-fns/startOfQuarter.js +0 -9
  332. package/esm/vendors/date-fns/startOfWeek.js +0 -11
  333. package/esm/vendors/date-fns/startOfWeekYear.js +0 -13
  334. package/esm/vendors/date-fns/startOfYear.js +0 -9
  335. package/esm/vendors/date-fns/sub.js +0 -19
  336. package/esm/vendors/date-fns/subDays.js +0 -8
  337. package/esm/vendors/date-fns/subMonths.js +0 -8
  338. package/esm/vendors/date-fns/subYears.js +0 -8
  339. package/esm/vendors/date-fns/toDate.js +0 -8
  340. package/esm/vendors/date-fns/transpose.js +0 -18
  341. package/esm/vendors/maska/dist/maska.js +0 -179
@@ -1,21 +1,21 @@
1
- import { defineComponent as ne, mergeModels as z, useModel as re, ref as E, computed as N, watch as B, onMounted as ie, onUnmounted as ce, createElementBlock as l, openBlock as s, normalizeClass as L, createCommentVNode as a, createVNode as u, createElementVNode as q, unref as d, Fragment as p, normalizeStyle as $, renderList as Q, withModifiers as ue, renderSlot as de, toDisplayString as b, withCtx as F, mergeProps as U, nextTick as fe } from "vue";
2
- import { DEFAULT_TEXTS as he, DEFAULT_ICONS as _e } from "./constants.js";
1
+ import { defineComponent as se, mergeModels as z, useModel as ie, ref as E, computed as N, watch as B, onMounted as re, onUnmounted as ce, createElementBlock as a, openBlock as n, normalizeClass as L, createCommentVNode as s, createVNode as d, createElementVNode as b, unref as f, Fragment as y, normalizeStyle as $, renderList as Q, withModifiers as ue, renderSlot as de, toDisplayString as T, withCtx as F, mergeProps as U, nextTick as fe } from "vue";
2
+ import { DEFAULT_TEXTS as he, DEFAULT_ICONS as ve } from "./constants.js";
3
3
  import { QButton as K } from "../QButton/index.js";
4
4
  import { QIcon as O } from "../QIcon/index.js";
5
- import { QSkeletonLoader as m } from "../QSkeletonLoader/index.js";
6
- const ve = ["id"], pe = {
5
+ import { QSkeletonLoader as g } from "../QSkeletonLoader/index.js";
6
+ const _e = ["id"], me = {
7
7
  key: 0,
8
8
  class: "q-carousel__skeleton"
9
- }, me = { class: "q-carousel__skeleton-caption" }, ye = {
9
+ }, ye = { class: "q-carousel__skeleton-caption" }, ge = {
10
10
  key: 0,
11
11
  class: "q-carousel__skeleton-controls"
12
- }, ge = ["onClick"], ke = ["src", "alt"], we = {
12
+ }, ke = ["onClick"], we = ["src", "alt"], Ce = {
13
13
  key: 1,
14
14
  class: "q-carousel__empty-container"
15
- }, Ce = {
15
+ }, qe = {
16
16
  key: 2,
17
17
  class: "q-carousel__caption-global"
18
- }, qe = {
18
+ }, pe = {
19
19
  key: 0,
20
20
  class: "q-carousel__title"
21
21
  }, be = {
@@ -24,7 +24,7 @@ const ve = ["id"], pe = {
24
24
  }, Te = {
25
25
  key: 3,
26
26
  class: "q-carousel__indicators"
27
- }, Se = ["aria-label", "aria-current", "onClick"], Ie = { class: "q-carousel__sr-only" }, De = { class: "q-carousel__sr-only" }, Le = /* @__PURE__ */ ne({
27
+ }, Se = ["aria-label", "aria-current", "onClick"], xe = { class: "q-carousel__sr-only" }, Ie = { class: "q-carousel__sr-only" }, Be = /* @__PURE__ */ se({
28
28
  __name: "QCarousel",
29
29
  props: /* @__PURE__ */ z({
30
30
  id: {},
@@ -39,80 +39,80 @@ const ve = ["id"], pe = {
39
39
  wrap: { type: Boolean, default: !0 },
40
40
  animationDuration: { default: 500 },
41
41
  loading: { type: Boolean },
42
- icons: { default: () => _e },
42
+ icons: { default: () => ve },
43
43
  texts: { default: () => he }
44
44
  }, {
45
45
  currentSlide: { default: 0 },
46
46
  currentSlideModifiers: {}
47
47
  }),
48
48
  emits: /* @__PURE__ */ z(["slide:before-change", "slide:after-change", "slide:click"], ["update:currentSlide"]),
49
- setup(X, { emit: V }) {
50
- const t = X, y = V, T = re(X, "currentSlide"), o = E(0);
51
- let f = !1, S = !1, I = 0, D = 0;
49
+ setup(o, { emit: V }) {
50
+ const t = o, k = V, S = ie(o, "currentSlide"), l = E(0);
51
+ let h = !1, x = !1, I = 0, D = 0;
52
52
  const P = E(0), M = E(0);
53
- let g, k;
53
+ let w, C;
54
54
  const H = N(() => ({
55
- transform: `translateX(-${o.value * 100}%)`,
56
- transition: f ? `transform ${t.animationDuration}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none"
55
+ transform: `translateX(-${l.value * 100}%)`,
56
+ transition: h ? `transform ${t.animationDuration}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none"
57
57
  })), R = N(() => ({
58
58
  "--q-carousel-progress-duration": `${t.autoCycleInterval}ms`,
59
59
  "--q-carousel-progress-width": `${P.value}%`
60
60
  }));
61
61
  function r(e) {
62
- if (e < 0 || e >= t.slides.length || e === o.value || f) return;
63
- const i = o.value, n = t.slides[i], v = t.slides[e];
64
- y("slide:before-change", v.id, n == null ? void 0 : n.id), o.value = e, T.value = e, t.animationDuration > 0 ? (f = !0, setTimeout(() => {
65
- f = !1, y("slide:after-change", v.id, n == null ? void 0 : n.id);
62
+ if (e < 0 || e >= t.slides.length || e === l.value || h) return;
63
+ const c = l.value, i = t.slides[c], m = t.slides[e];
64
+ k("slide:before-change", m.id, i == null ? void 0 : i.id), l.value = e, S.value = e, t.animationDuration > 0 ? (h = !0, setTimeout(() => {
65
+ h = !1, k("slide:after-change", m.id, i == null ? void 0 : i.id);
66
66
  }, t.animationDuration)) : fe(() => {
67
- y("slide:after-change", v.id, n == null ? void 0 : n.id);
67
+ k("slide:after-change", m.id, i == null ? void 0 : i.id);
68
68
  });
69
69
  }
70
- function w() {
71
- const e = o.value + 1;
70
+ function q() {
71
+ const e = l.value + 1;
72
72
  e >= t.slides.length ? t.wrap && r(0) : r(e);
73
73
  }
74
74
  function A() {
75
- const e = o.value - 1;
75
+ const e = l.value - 1;
76
76
  e < 0 ? t.wrap && r(t.slides.length - 1) : r(e);
77
77
  }
78
78
  function j(e) {
79
- const i = window.getSelection();
80
- if (i != null && i.toString().length) return;
81
- const n = t.slides[e];
82
- y("slide:click", n.id);
79
+ const c = window.getSelection();
80
+ if (c != null && c.toString().length) return;
81
+ const i = t.slides[e];
82
+ k("slide:click", i.id);
83
83
  }
84
84
  function G(e) {
85
- const i = {};
86
- return e != null && e.colorPlaceholder && (i["background-color"] = e.colorPlaceholder), i;
85
+ const c = {};
86
+ return e != null && e.colorPlaceholder && (c["background-color"] = e.colorPlaceholder), c;
87
87
  }
88
88
  function J() {
89
- t.autoCycleInterval && (k = window.setInterval(() => {
89
+ t.autoCycleInterval && (C = window.setInterval(() => {
90
90
  P.value = (Date.now() - M.value) / t.autoCycleInterval * 100;
91
91
  }, 50));
92
92
  }
93
- function C() {
94
- !t.autoCycleInterval || t.slides.length <= 1 || (_(), t.ride === "carousel" && !S && (M.value = Date.now(), J(), g = window.setTimeout(w, t.autoCycleInterval)));
93
+ function p() {
94
+ !t.autoCycleInterval || t.slides.length <= 1 || (_(), t.ride === "carousel" && !x && (M.value = Date.now(), J(), w = window.setTimeout(q, t.autoCycleInterval)));
95
95
  }
96
96
  function _() {
97
- g && window.clearTimeout(g), k && window.clearInterval(k), g = void 0, k = void 0, M.value = 0, P.value = 0;
97
+ w && window.clearTimeout(w), C && window.clearInterval(C), w = void 0, C = void 0, M.value = 0, P.value = 0;
98
98
  }
99
99
  function W() {
100
- _(), C();
100
+ _(), p();
101
101
  }
102
102
  function Y() {
103
- t.autoCyclePause === "hover" && (S = !0, _());
103
+ t.autoCyclePause === "hover" && (x = !0, _());
104
104
  }
105
105
  function Z() {
106
- t.autoCyclePause === "hover" && (S = !1, C());
106
+ t.autoCyclePause === "hover" && (x = !1, p());
107
107
  }
108
108
  function ee(e) {
109
- if (!f)
109
+ if (!h)
110
110
  switch (e.key) {
111
111
  case "ArrowLeft":
112
112
  e.preventDefault(), A();
113
113
  break;
114
114
  case "ArrowRight":
115
- e.preventDefault(), w();
115
+ e.preventDefault(), q();
116
116
  break;
117
117
  case "Home":
118
118
  e.preventDefault(), r(0);
@@ -123,31 +123,31 @@ const ve = ["id"], pe = {
123
123
  }
124
124
  }
125
125
  function te(e) {
126
- f || (I = e.touches[0].clientX, _());
126
+ h || (I = e.touches[0].clientX, _());
127
127
  }
128
128
  function oe(e) {
129
- f || (D = e.touches[0].clientX);
129
+ h || (D = e.touches[0].clientX);
130
130
  }
131
131
  function le() {
132
- if (f) return;
132
+ if (h) return;
133
133
  const e = I - D;
134
- Math.abs(e) > t.swipeThreshold && (e > 0 ? w() : A()), I = 0, D = 0, C();
134
+ Math.abs(e) > t.swipeThreshold && (e > 0 ? q() : A()), I = 0, D = 0, p();
135
135
  }
136
- function se(e) {
136
+ function ae(e) {
137
137
  return t.texts.goToSlide.replace("{0}", `${e + 1}`);
138
138
  }
139
- function ae(e) {
139
+ function ne(e) {
140
140
  if (e.length === 0) {
141
- o.value = 0, T.value = 0, _();
141
+ l.value = 0, S.value = 0, _();
142
142
  return;
143
143
  }
144
- o.value >= e.length && r(0);
144
+ l.value >= e.length && r(0);
145
145
  }
146
- return B(() => t.slides, ae, { immediate: !0, deep: !0 }), B(o, W), B(T, (e) => {
147
- e !== o.value && r(e);
148
- }), ie(C), ce(_), (e, i) => {
149
- var n, v, x;
150
- return s(), l("div", {
146
+ return B(() => t.slides, ne, { immediate: !0, deep: !0 }), B(l, W), B(S, (e) => {
147
+ e !== l.value && r(e);
148
+ }), re(p), ce(_), (e, c) => {
149
+ var i, m, X;
150
+ return n(), a("div", {
151
151
  id: t.id,
152
152
  class: L(["q-carousel", t.class]),
153
153
  tabindex: "0",
@@ -155,53 +155,53 @@ const ve = ["id"], pe = {
155
155
  onMouseleave: Z,
156
156
  onKeydown: ee
157
157
  }, [
158
- a(" Skeleton Loader "),
159
- e.loading ? (s(), l("div", pe, [
160
- a(" Image placeholder "),
161
- u(d(m), {
158
+ s(" Skeleton Loader "),
159
+ o.loading ? (n(), a("div", me, [
160
+ s(" Image placeholder "),
161
+ d(f(g), {
162
162
  width: "100%",
163
163
  height: "100%"
164
164
  }),
165
- a(" Overlay skeletons for text/captions "),
166
- q("div", me, [
167
- u(d(m), {
165
+ s(" Overlay skeletons for text/captions "),
166
+ b("div", ye, [
167
+ d(f(g), {
168
168
  type: "text",
169
169
  width: "40%",
170
170
  height: "24px",
171
171
  class: "q-carousel__skeleton-title"
172
172
  }),
173
- u(d(m), {
173
+ d(f(g), {
174
174
  type: "text",
175
175
  width: "60%",
176
176
  height: "16px",
177
177
  class: "q-carousel__skeleton-subtitle"
178
178
  })
179
179
  ]),
180
- a(" Controls "),
181
- t.showControls ? (s(), l("div", ye, [
182
- u(d(m), {
180
+ s(" Controls "),
181
+ t.showControls ? (n(), a("div", ge, [
182
+ d(f(g), {
183
183
  type: "icon",
184
184
  width: "40px",
185
185
  height: "40px",
186
186
  class: "q-carousel__skeleton-control"
187
187
  }),
188
- u(d(m), {
188
+ d(f(g), {
189
189
  type: "icon",
190
190
  width: "40px",
191
191
  height: "40px",
192
192
  class: "q-carousel__skeleton-control"
193
193
  })
194
- ])) : a("v-if", !0)
195
- ])) : (s(), l(
196
- p,
194
+ ])) : s("v-if", !0)
195
+ ])) : (n(), a(
196
+ y,
197
197
  { key: 1 },
198
198
  [
199
- (n = e.slides) != null && n.length ? (s(), l(
200
- p,
199
+ (i = o.slides) != null && i.length ? (n(), a(
200
+ y,
201
201
  { key: 0 },
202
202
  [
203
- a(" Carousel Content "),
204
- q(
203
+ s(" Carousel Content "),
204
+ b(
205
205
  "div",
206
206
  {
207
207
  class: "q-carousel__track",
@@ -211,27 +211,27 @@ const ve = ["id"], pe = {
211
211
  onTouchend: le
212
212
  },
213
213
  [
214
- (s(!0), l(
215
- p,
214
+ (n(!0), a(
215
+ y,
216
216
  null,
217
- Q(e.slides, (h, c) => (s(), l("div", {
218
- key: h.id,
217
+ Q(o.slides, (v, u) => (n(), a("div", {
218
+ key: v.id,
219
219
  class: L([
220
220
  "q-carousel__slide",
221
- { "q-carousel__slide--active": c === o.value }
221
+ { "q-carousel__slide--active": u === l.value }
222
222
  ]),
223
- style: $(G(h)),
224
- onClick: ue(() => j(c), ["stop", "prevent"])
223
+ style: $(G(v)),
224
+ onClick: ue(() => j(u), ["stop", "prevent"])
225
225
  }, [
226
- h.image ? (s(), l("img", {
226
+ v.image ? (n(), a("img", {
227
227
  key: 0,
228
- src: h.image,
229
- alt: h.title || `Slide ${c + 1}`,
228
+ src: v.image,
229
+ alt: v.title || `Slide ${u + 1}`,
230
230
  class: "q-carousel__image",
231
231
  decoding: "async",
232
232
  loading: "lazy"
233
- }, null, 8, ke)) : a("v-if", !0)
234
- ], 14, ge))),
233
+ }, null, 8, we)) : s("v-if", !0)
234
+ ], 14, ke))),
235
235
  128
236
236
  /* KEYED_FRAGMENT */
237
237
  ))
@@ -242,70 +242,70 @@ const ve = ["id"], pe = {
242
242
  ],
243
243
  64
244
244
  /* STABLE_FRAGMENT */
245
- )) : (s(), l("div", we, [
245
+ )) : (n(), a("div", Ce, [
246
246
  de(e.$slots, "empty")
247
247
  ])),
248
- a(" Captions (centered, above indicators) "),
249
- e.slides[o.value] ? (s(), l("div", Ce, [
250
- (v = e.slides[o.value]) != null && v.title ? (s(), l(
248
+ s(" Captions (centered, above indicators) "),
249
+ o.slides[l.value] ? (n(), a("div", qe, [
250
+ (m = o.slides[l.value]) != null && m.title ? (n(), a(
251
251
  "h2",
252
- qe,
253
- b(e.slides[o.value].title),
252
+ pe,
253
+ T(o.slides[l.value].title),
254
254
  1
255
255
  /* TEXT */
256
- )) : a("v-if", !0),
257
- (x = e.slides[o.value]) != null && x.subtitle ? (s(), l(
256
+ )) : s("v-if", !0),
257
+ (X = o.slides[l.value]) != null && X.subtitle ? (n(), a(
258
258
  "p",
259
259
  be,
260
- b(e.slides[o.value].subtitle),
260
+ T(o.slides[l.value].subtitle),
261
261
  1
262
262
  /* TEXT */
263
- )) : a("v-if", !0)
264
- ])) : a("v-if", !0),
265
- a(" Indicators "),
266
- e.showIndicators && e.slides.length > 1 ? (s(), l("ol", Te, [
267
- (s(!0), l(
268
- p,
263
+ )) : s("v-if", !0)
264
+ ])) : s("v-if", !0),
265
+ s(" Indicators "),
266
+ o.showIndicators && o.slides.length > 1 ? (n(), a("ol", Te, [
267
+ (n(!0), a(
268
+ y,
269
269
  null,
270
- Q(e.slides, (h, c) => (s(), l("li", {
271
- key: h.id,
270
+ Q(o.slides, (v, u) => (n(), a("li", {
271
+ key: v.id,
272
272
  class: L([
273
273
  "q-carousel__indicator",
274
- { "q-carousel__indicator--active": c === o.value }
274
+ { "q-carousel__indicator--active": u === l.value }
275
275
  ]),
276
276
  "data-testid": "carousel-indicator",
277
- style: $(c === o.value ? R.value : {}),
278
- "aria-label": se(c),
279
- "aria-current": c === o.value,
280
- onClick: () => r(c)
277
+ style: $(u === l.value ? R.value : {}),
278
+ "aria-label": ae(u),
279
+ "aria-current": u === l.value,
280
+ onClick: () => r(u)
281
281
  }, null, 14, Se))),
282
282
  128
283
283
  /* KEYED_FRAGMENT */
284
284
  ))
285
- ])) : a("v-if", !0),
286
- a(" Controls "),
287
- e.showControls && e.slides.length > 1 ? (s(), l(
288
- p,
285
+ ])) : s("v-if", !0),
286
+ s(" Controls "),
287
+ o.showControls && o.slides.length > 1 ? (n(), a(
288
+ y,
289
289
  { key: 4 },
290
290
  [
291
- u(d(K), {
291
+ d(f(K), {
292
292
  class: "q-carousel__control q-carousel__control--prev",
293
293
  "data-testid": "carousel-prev",
294
- "aria-label": e.texts.previousText,
294
+ "aria-label": o.texts.previousText,
295
295
  onClick: A
296
296
  }, {
297
297
  default: F(() => [
298
- u(
299
- d(O),
298
+ d(
299
+ f(O),
300
300
  U({ class: "q-carousel__control-icon q-carousel__control-icon--prev" }, t.icons.back),
301
301
  null,
302
302
  16
303
303
  /* FULL_PROPS */
304
304
  ),
305
- q(
305
+ b(
306
306
  "span",
307
- Ie,
308
- b(e.texts.previousText),
307
+ xe,
308
+ T(o.texts.previousText),
309
309
  1
310
310
  /* TEXT */
311
311
  )
@@ -313,24 +313,24 @@ const ve = ["id"], pe = {
313
313
  _: 1
314
314
  /* STABLE */
315
315
  }, 8, ["aria-label"]),
316
- u(d(K), {
316
+ d(f(K), {
317
317
  class: "q-carousel__control q-carousel__control--next",
318
318
  "data-testid": "carousel-next",
319
- "aria-label": e.texts.nextText,
320
- onClick: w
319
+ "aria-label": o.texts.nextText,
320
+ onClick: q
321
321
  }, {
322
322
  default: F(() => [
323
- u(
324
- d(O),
323
+ d(
324
+ f(O),
325
325
  U({ class: "q-carousel__control-icon q-carousel__control-icon--next" }, t.icons.forward),
326
326
  null,
327
327
  16
328
328
  /* FULL_PROPS */
329
329
  ),
330
- q(
330
+ b(
331
331
  "span",
332
- De,
333
- b(e.texts.nextText),
332
+ Ie,
333
+ T(o.texts.nextText),
334
334
  1
335
335
  /* TEXT */
336
336
  )
@@ -341,15 +341,15 @@ const ve = ["id"], pe = {
341
341
  ],
342
342
  64
343
343
  /* STABLE_FRAGMENT */
344
- )) : a("v-if", !0)
344
+ )) : s("v-if", !0)
345
345
  ],
346
346
  64
347
347
  /* STABLE_FRAGMENT */
348
348
  ))
349
- ], 42, ve);
349
+ ], 42, _e);
350
350
  };
351
351
  }
352
352
  });
353
353
  export {
354
- Le as default
354
+ Be as default
355
355
  };
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_ICONS } from './constants';
2
- import { QCheckboxProps } from './types';
2
+ import { QCheckboxProps } from '.';
3
3
  type __VLS_Props = QCheckboxProps;
4
4
  type __VLS_PublicProps = {
5
5
  modelValue?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"QCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/QCheckbox.vue"],"names":[],"mappings":"AAgEA;AA8IC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAU3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,KAAK,WAAW,GAAG,cAAc,CAAC;AAoEnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyHT,OAAO,IAA6B;;wBAdtB,GAAG;wBACF,GAAG;;;;;;;EAkB/B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/QCheckbox.vue"],"names":[],"mappings":"AAgEA;AA+IC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAU3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAKvC,KAAK,WAAW,GAAG,cAAc,CAAC;AAqEnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyHT,OAAO,IAA6B;;wBAdtB,GAAG;wBACF,GAAG;;;;;;;EAkB/B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,12 +1,12 @@
1
- import { defineComponent as E, mergeModels as _, useModel as g, toRef as w, useTemplateRef as f, computed as $, watch as M, createElementBlock as P, openBlock as r, withModifiers as a, normalizeClass as V, createBlock as s, createCommentVNode as n, createElementVNode as m, unref as l, createSlots as p, withCtx as h, renderSlot as k, mergeProps as y, withKeys as v } from "vue";
1
+ import { defineComponent as E, mergeModels as g, useModel as _, toRef as w, useTemplateRef as f, computed as $, watch as M, createElementBlock as P, openBlock as n, withModifiers as a, normalizeClass as V, createBlock as c, createCommentVNode as r, createElementVNode as m, unref as l, createSlots as p, withCtx as h, renderSlot as k, mergeProps as y, withKeys as v } from "vue";
2
2
  import { DEFAULT_ICONS as R } from "./constants.js";
3
3
  import { QIcon as z } from "../QIcon/index.js";
4
- import { QCheckboxLabel as q } from "./index.js";
4
+ import { QCheckboxLabel as x } from "./index.js";
5
5
  import { useId as F } from "../../composables/uid.js";
6
6
  const I = ["checked", "disabled", "readonly", "required", "aria-readonly"], K = ["id", "aria-checked", "disabled", "readonly", "onKeydown"], L = /* @__PURE__ */ E({
7
7
  inheritAttrs: !1,
8
8
  __name: "QCheckbox",
9
- props: /* @__PURE__ */ _({
9
+ props: /* @__PURE__ */ g({
10
10
  id: {},
11
11
  class: {},
12
12
  label: {},
@@ -20,14 +20,15 @@ const I = ["checked", "disabled", "readonly", "required", "aria-readonly"], K =
20
20
  readonly: { type: Boolean },
21
21
  indeterminate: { type: Boolean },
22
22
  icons: { default: () => R },
23
- hasFocusOutline: { type: Boolean, default: !0 }
23
+ hasFocusOutline: { type: Boolean, default: !0 },
24
+ borderless: { type: Boolean }
24
25
  }, {
25
26
  modelValue: { type: Boolean },
26
27
  modelModifiers: {}
27
28
  }),
28
29
  emits: ["update:modelValue"],
29
- setup(c) {
30
- const e = c, t = g(c, "modelValue"), i = F(w(e, "id")), u = f("inputEl"), x = f("buttonEl"), C = $(() => [
30
+ setup(i) {
31
+ const e = i, t = _(i, "modelValue"), d = F(w(e, "id")), u = f("inputEl"), q = f("buttonEl"), B = $(() => [
31
32
  "q-checkbox",
32
33
  `q-checkbox--${e.size}`,
33
34
  `q-checkbox--${e.color}`,
@@ -36,30 +37,31 @@ const I = ["checked", "disabled", "readonly", "required", "aria-readonly"], K =
36
37
  "q-checkbox--disabled": e.disabled,
37
38
  "q-checkbox--checked": t.value,
38
39
  "q-checkbox--indeterminate": e.indeterminate,
39
- "q-checkbox--focus-style": e.hasFocusOutline
40
+ "q-checkbox--focus-style": e.hasFocusOutline,
41
+ "q-checkbox--borderless": e.borderless
40
42
  },
41
43
  e.class
42
44
  ]);
43
- function d() {
45
+ function s() {
44
46
  !e.disabled && !e.readonly && (t.value = !t.value);
45
47
  }
46
- function B() {
48
+ function C() {
47
49
  var o;
48
- (o = x.value) == null || o.focus();
50
+ (o = q.value) == null || o.focus();
49
51
  }
50
52
  return M(t, (o) => {
51
53
  u.value && (u.value.checked = !!o);
52
- }), (o, b) => (r(), P(
54
+ }), (o, b) => (n(), P(
53
55
  "div",
54
56
  {
55
- class: V(C.value),
56
- onClick: a(d, ["prevent"]),
57
- onMousedown: a(B, ["prevent"])
57
+ class: V(B.value),
58
+ onClick: a(s, ["prevent"]),
59
+ onMousedown: a(C, ["prevent"])
58
60
  },
59
61
  [
60
- e.label && e.labelPlacement !== "right" ? (r(), s(l(q), {
62
+ e.label && e.labelPlacement !== "right" ? (n(), c(l(x), {
61
63
  key: 0,
62
- for: l(i),
64
+ for: l(d),
63
65
  label: e.label,
64
66
  required: e.required
65
67
  }, p({
@@ -73,8 +75,8 @@ const I = ["checked", "disabled", "readonly", "required", "aria-readonly"], K =
73
75
  ]),
74
76
  key: "0"
75
77
  } : void 0
76
- ]), 1032, ["for", "label", "required"])) : n("v-if", !0),
77
- n(" Hidden native input for form submission "),
78
+ ]), 1032, ["for", "label", "required"])) : r("v-if", !0),
79
+ r(" Hidden native input for form submission "),
78
80
  m("input", {
79
81
  ref: "inputEl",
80
82
  type: "checkbox",
@@ -87,9 +89,9 @@ const I = ["checked", "disabled", "readonly", "required", "aria-readonly"], K =
87
89
  tabindex: "-1",
88
90
  "aria-hidden": "true"
89
91
  }, null, 8, I),
90
- n(" Custom interactive button "),
92
+ r(" Custom interactive button "),
91
93
  m("button", y({
92
- id: l(i),
94
+ id: l(d),
93
95
  ref: "buttonEl",
94
96
  role: "checkbox",
95
97
  type: "button",
@@ -99,24 +101,24 @@ const I = ["checked", "disabled", "readonly", "required", "aria-readonly"], K =
99
101
  disabled: e.disabled,
100
102
  readonly: e.readonly
101
103
  }, o.$attrs, {
102
- onClick: a(d, ["stop", "prevent"]),
104
+ onClick: a(s, ["stop", "prevent"]),
103
105
  onKeydown: [
104
- v(a(d, ["prevent"]), ["space"]),
106
+ v(a(s, ["prevent"]), ["space"]),
105
107
  b[0] || (b[0] = v(a(() => {
106
108
  }, ["prevent"]), ["enter"]))
107
109
  ]
108
110
  }), [
109
- t.value || o.indeterminate ? (r(), s(
111
+ t.value || i.indeterminate ? (n(), c(
110
112
  l(z),
111
113
  y({ key: 0 }, t.value ? e.icons.checked : e.icons.indeterminate, { class: "q-checkbox__input-icon" }),
112
114
  null,
113
115
  16
114
116
  /* FULL_PROPS */
115
- )) : n("v-if", !0)
117
+ )) : r("v-if", !0)
116
118
  ], 16, K),
117
- e.label && e.labelPlacement === "right" ? (r(), s(l(q), {
119
+ e.label && e.labelPlacement === "right" ? (n(), c(l(x), {
118
120
  key: 1,
119
- for: l(i),
121
+ for: l(d),
120
122
  label: e.label,
121
123
  required: e.required
122
124
  }, p({
@@ -130,7 +132,7 @@ const I = ["checked", "disabled", "readonly", "required", "aria-readonly"], K =
130
132
  ]),
131
133
  key: "0"
132
134
  } : void 0
133
- ]), 1032, ["for", "label", "required"])) : n("v-if", !0)
135
+ ]), 1032, ["for", "label", "required"])) : r("v-if", !0)
134
136
  ],
135
137
  34
136
138
  /* CLASS, NEED_HYDRATION */
@@ -15,6 +15,7 @@ declare const QCheckbox: {
15
15
  indeterminate?: boolean;
16
16
  icons?: typeof import('./constants').DEFAULT_ICONS;
17
17
  hasFocusOutline?: boolean;
18
+ borderless?: boolean;
18
19
  }> & Readonly<{
19
20
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
20
21
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -51,6 +52,7 @@ declare const QCheckbox: {
51
52
  indeterminate?: boolean;
52
53
  icons?: typeof import('./constants').DEFAULT_ICONS;
53
54
  hasFocusOutline?: boolean;
55
+ borderless?: boolean;
54
56
  }> & Readonly<{
55
57
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
56
58
  }>, {}, {}, {}, {}, {
@@ -79,6 +81,7 @@ declare const QCheckbox: {
79
81
  indeterminate?: boolean;
80
82
  icons?: typeof import('./constants').DEFAULT_ICONS;
81
83
  hasFocusOutline?: boolean;
84
+ borderless?: boolean;
82
85
  }> & Readonly<{
83
86
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
84
87
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAGpC,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAGpC,cAAc,SAAS,CAAA"}