@quidgest/ui 0.28.0 → 0.29.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 (203) hide show
  1. package/CHANGELOG.md +51 -8
  2. package/README.md +19 -0
  3. package/dist/json/api.json +1517 -86
  4. package/dist/manifest/components.json +0 -1
  5. package/dist/ui.css +59 -68
  6. package/dist/ui.esm.js +1031 -1043
  7. package/dist/ui.js +1000 -1013
  8. package/dist/ui.min.css +1 -1
  9. package/dist/ui.min.js +1000 -1013
  10. package/dist/ui.scss +83 -27
  11. package/esm/components/QAccordion/QAccordion.d.ts +3 -3
  12. package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
  13. package/esm/components/QAccordion/QAccordion.vue.js +33 -30
  14. package/esm/components/QAccordion/QAccordionItem.d.ts +4 -1
  15. package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -1
  16. package/esm/components/QAccordion/QAccordionItem.vue.js +37 -6
  17. package/esm/components/QAccordion/index.d.ts +20 -11
  18. package/esm/components/QAccordion/index.d.ts.map +1 -1
  19. package/esm/components/QAvatar/QAvatar.d.ts.map +1 -1
  20. package/esm/components/QAvatar/QAvatar.vue.js +19 -12
  21. package/esm/components/QAvatar/types.d.ts +2 -1
  22. package/esm/components/QAvatar/types.d.ts.map +1 -1
  23. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  24. package/esm/components/QBadge/QBadge.vue.js +36 -37
  25. package/esm/components/QButtonGroup/QButtonGroup.vue.js +18 -18
  26. package/esm/components/QCarousel/QCarousel.d.ts +1 -1
  27. package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
  28. package/esm/components/QCarousel/QCarousel.vue.js +99 -95
  29. package/esm/components/QCarousel/constants.d.ts +1 -0
  30. package/esm/components/QCarousel/constants.d.ts.map +1 -1
  31. package/esm/components/QCarousel/constants.js +2 -1
  32. package/esm/components/QCarousel/index.d.ts +3 -3
  33. package/esm/components/QCheckbox/QCheckbox.d.ts +0 -2
  34. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  35. package/esm/components/QCheckbox/QCheckbox.vue.js +33 -36
  36. package/esm/components/QCheckbox/index.d.ts +0 -1
  37. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  38. package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
  39. package/esm/components/QColorPicker/QColorPicker.vue.js +1 -2
  40. package/esm/components/QCombobox/QCombobox.d.ts +9 -0
  41. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  42. package/esm/components/QCombobox/QCombobox.vue.js +142 -134
  43. package/esm/components/QCombobox/index.d.ts +10 -0
  44. package/esm/components/QCombobox/index.d.ts.map +1 -1
  45. package/esm/components/QCombobox/types.d.ts +8 -0
  46. package/esm/components/QCombobox/types.d.ts.map +1 -1
  47. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  48. package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +199 -219
  49. package/esm/components/QDialog/QDialog.d.ts +1 -1
  50. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  51. package/esm/components/QDialog/QDialog.vue.js +4 -4
  52. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  53. package/esm/components/QDialog/index.d.ts +6 -6
  54. package/esm/components/QDialog/types.d.ts +3 -3
  55. package/esm/components/QDialog/types.d.ts.map +1 -1
  56. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +8 -0
  57. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  58. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +136 -124
  59. package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
  60. package/esm/components/QFileUpload/QFileUpload.vue.js +82 -79
  61. package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
  62. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  63. package/esm/components/QIcon/QSvgSymbol.d.ts.map +1 -1
  64. package/esm/components/QIcon/QSvgSymbol.vue.js +31 -31
  65. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  66. package/esm/components/QInputGroup/QInputGroup.vue.js +67 -41
  67. package/esm/components/QInputGroup/types.d.ts +15 -1
  68. package/esm/components/QInputGroup/types.d.ts.map +1 -1
  69. package/esm/components/QList/QList.d.ts +6 -0
  70. package/esm/components/QList/QList.d.ts.map +1 -1
  71. package/esm/components/QList/QList.vue.js +4 -1
  72. package/esm/components/QList/QListItem.d.ts +6 -2
  73. package/esm/components/QList/QListItem.d.ts.map +1 -1
  74. package/esm/components/QList/QListItem.vue.js +54 -41
  75. package/esm/components/QList/index.d.ts +6 -1
  76. package/esm/components/QList/index.d.ts.map +1 -1
  77. package/esm/components/QList/types.d.ts +16 -0
  78. package/esm/components/QList/types.d.ts.map +1 -1
  79. package/esm/components/QOverflow/QOverflow.d.ts +6 -1
  80. package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
  81. package/esm/components/QOverflow/QOverflow.vue.js +90 -95
  82. package/esm/components/QOverflow/index.d.ts +3 -3
  83. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  84. package/esm/components/QOverlay/QOverlay.vue.js +125 -117
  85. package/esm/components/QOverlay/types.d.ts +9 -2
  86. package/esm/components/QOverlay/types.d.ts.map +1 -1
  87. package/esm/components/QPasswordField/QPasswordField.d.ts +1 -0
  88. package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  89. package/esm/components/QPasswordField/QPasswordField.vue.js +5 -0
  90. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +1 -0
  91. package/esm/components/QPasswordField/index.d.ts +6 -0
  92. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  93. package/esm/components/QPasswordField/types.d.ts +10 -0
  94. package/esm/components/QPasswordField/types.d.ts.map +1 -1
  95. package/esm/components/QPhoneField/QPhoneField.d.ts +184 -18
  96. package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
  97. package/esm/components/QPhoneField/index.d.ts +92 -9
  98. package/esm/components/QPhoneField/index.d.ts.map +1 -1
  99. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  100. package/esm/components/QPropertyList/QPropertyList.vue.js +62 -60
  101. package/esm/components/QPropertyList/QPropertyListRow.vue.js +2 -2
  102. package/esm/components/QPropertyList/index.d.ts.map +1 -1
  103. package/esm/components/QRadioGroup/QRadioButton.vue.js +2 -2
  104. package/esm/components/QRadioGroup/QRadioGroup.vue.js +46 -46
  105. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
  106. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +7 -7
  107. package/esm/components/QRemoveScrollBar/utils/gap.d.ts +0 -6
  108. package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
  109. package/esm/components/QRemoveScrollBar/utils/gap.js +12 -18
  110. package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts +11 -0
  111. package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts.map +1 -1
  112. package/esm/components/QRemoveScrollBar/utils/stylesheet.js +5 -5
  113. package/esm/components/QSelect/QSelect.d.ts +157 -0
  114. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  115. package/esm/components/QSelect/QSelect.vue.js +240 -212
  116. package/esm/components/QSelect/index.d.ts +84 -0
  117. package/esm/components/QSelect/index.d.ts.map +1 -1
  118. package/esm/components/QSelect/types.d.ts +8 -0
  119. package/esm/components/QSelect/types.d.ts.map +1 -1
  120. package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
  121. package/esm/components/QSidebar/QSidebar.vue.js +1 -2
  122. package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
  123. package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
  124. package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
  125. package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
  126. package/esm/components/QSidebar/QSidebarPanel.vue.js +5 -5
  127. package/esm/components/QSidebar/context.d.ts +3 -3
  128. package/esm/components/QSidebar/context.d.ts.map +1 -1
  129. package/esm/components/QSteps/QSteps.d.ts +4 -4
  130. package/esm/components/QSteps/QSteps.d.ts.map +1 -1
  131. package/esm/components/QSteps/QSteps.vue.js +9 -15
  132. package/esm/components/QSteps/index.d.ts +2 -2
  133. package/esm/components/QSteps/types.d.ts +2 -1
  134. package/esm/components/QSteps/types.d.ts.map +1 -1
  135. package/esm/components/QTabs/QTab.d.ts.map +1 -1
  136. package/esm/components/QTabs/QTab.vue.js +2 -2
  137. package/esm/components/QTabs/QTabs.d.ts +4 -4
  138. package/esm/components/QTabs/QTabs.d.ts.map +1 -1
  139. package/esm/components/QTabs/QTabs.vue.js +86 -85
  140. package/esm/components/QTabs/context.d.ts +3 -3
  141. package/esm/components/QTabs/context.d.ts.map +1 -1
  142. package/esm/components/QTabs/index.d.ts +2 -2
  143. package/esm/components/QTextArea/QTextArea.d.ts +1 -1
  144. package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
  145. package/esm/components/QTextArea/QTextArea.vue.js +25 -24
  146. package/esm/components/QTextArea/index.d.ts +3 -3
  147. package/esm/components/QToast/QToast.d.ts.map +1 -1
  148. package/esm/components/QToast/QToast.vue.js +7 -4
  149. package/esm/components/QToast/QToaster.d.ts.map +1 -1
  150. package/esm/components/QToast/types.d.ts +3 -3
  151. package/esm/components/QToggleGroup/QToggleGroup.d.ts +3 -3
  152. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
  153. package/esm/components/QToggleGroup/QToggleGroup.vue.js +34 -31
  154. package/esm/components/QToggleGroup/index.d.ts +8 -8
  155. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  156. package/esm/components/QTooltip/QTooltip.vue.js +1 -1
  157. package/esm/composables/defaults.d.ts +10 -0
  158. package/esm/composables/defaults.d.ts.map +1 -1
  159. package/esm/composables/defaults.js +8 -5
  160. package/esm/composables/useDialog/_internal.js +8 -11
  161. package/esm/composables/useDialog/index.js +1 -2
  162. package/esm/composables/useDialog/types.d.ts.map +1 -1
  163. package/esm/composables/useDropZone/index.d.ts +1 -11
  164. package/esm/composables/useDropZone/index.d.ts.map +1 -1
  165. package/esm/composables/useDropZone/index.js +23 -26
  166. package/esm/composables/useGroup/index.d.ts.map +1 -1
  167. package/esm/composables/useGroup/index.js +15 -15
  168. package/esm/composables/useOverlayScope/index.d.ts +29 -0
  169. package/esm/composables/useOverlayScope/index.d.ts.map +1 -0
  170. package/esm/composables/useOverlayScope/index.js +23 -0
  171. package/esm/composables/useTextareaAutosize/index.d.ts +3 -1
  172. package/esm/composables/useTextareaAutosize/index.d.ts.map +1 -1
  173. package/esm/composables/useTextareaAutosize/index.js +6 -6
  174. package/esm/composables/useToast/_internal.js +10 -15
  175. package/esm/composables/useToast/index.js +1 -2
  176. package/esm/composables/useToast/types.d.ts.map +1 -1
  177. package/esm/framework.js +14 -12
  178. package/esm/index.d.ts +1 -2
  179. package/esm/index.d.ts.map +1 -1
  180. package/esm/symbols/overlayScope.d.ts +4 -0
  181. package/esm/symbols/overlayScope.d.ts.map +1 -0
  182. package/esm/symbols/overlayScope.js +4 -0
  183. package/esm/types/component.d.ts +8 -0
  184. package/esm/types/component.d.ts.map +1 -1
  185. package/esm/types/index.d.ts +1 -1
  186. package/esm/types/index.d.ts.map +1 -1
  187. package/esm/utils/color/parse.d.ts.map +1 -1
  188. package/esm/utils/color/parse.js +3 -10
  189. package/esm/utils/date.d.ts +35 -13
  190. package/esm/utils/date.d.ts.map +1 -1
  191. package/esm/utils/date.js +313 -253
  192. package/esm/utils/mask.d.ts +1 -0
  193. package/esm/utils/mask.d.ts.map +1 -1
  194. package/esm/utils/mask.js +42 -100
  195. package/esm/utils/overlay.d.ts +13 -1
  196. package/esm/utils/overlay.d.ts.map +1 -1
  197. package/esm/utils/overlay.js +55 -41
  198. package/esm/utils/safeTriangle.d.ts.map +1 -1
  199. package/esm/utils/safeTriangle.js +2 -2
  200. package/esm/utils/setupPropsProxy.d.ts +3 -1
  201. package/esm/utils/setupPropsProxy.d.ts.map +1 -1
  202. package/esm/utils/setupPropsProxy.js +2 -2
  203. package/package.json +9 -6
@@ -4,12 +4,13 @@ import { QIcon as n } from "../QIcon/index.js";
4
4
  import { QButton as r } from "../QButton/index.js";
5
5
  import { DEFAULT_ICONS as i, DEFAULT_TEXTS as a } from "./constants.js";
6
6
  import { QButtonGroup as o } from "../QButtonGroup/index.js";
7
- import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, guardReactiveProps as m, mergeProps as h, normalizeClass as g, normalizeProps as _, normalizeStyle as v, openBlock as y, renderSlot as b, resolveDynamicComponent as x, toRef as S, unref as C, useAttrs as w, withCtx as T } from "vue";
7
+ import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, guardReactiveProps as m, mergeProps as h, normalizeProps as g, openBlock as _, renderSlot as v, resolveDynamicComponent as y, toRef as b, unref as x, useAttrs as S, withCtx as C } from "vue";
8
8
  //#region src/components/QBadge/QBadge.vue?vue&type=script&setup=true&lang.ts
9
- var E = ["id"], D = {
9
+ var w = ["id"], T = {
10
10
  key: 0,
11
11
  class: "q-badge__underlay"
12
- }, O = { class: "q-badge__content" }, k = /*@__PURE__*/ p({
12
+ }, E = { class: "q-badge__content" }, D = /*@__PURE__*/ p({
13
+ inheritAttrs: !1,
13
14
  __name: "QBadge",
14
15
  props: {
15
16
  id: {},
@@ -29,55 +30,54 @@ var E = ["id"], D = {
29
30
  },
30
31
  emits: ["click:remove"],
31
32
  setup(i, { emit: a }) {
32
- let p = i, k = a, A = e(S(p, "id")), j = w(), M = s(() => !!j.onClick), N = s(() => {
33
+ let p = i, D = a, O = e(b(p, "id")), k = S(), A = s(() => !!k.onClick), j = s(() => {
33
34
  let e = p.size === "small" || p.size === "large" ? `q-badge--${p.size}` : void 0;
34
35
  return [
35
36
  { "q-badge--pill": p.pill },
36
37
  e,
37
38
  p.class
38
39
  ];
39
- }), P = s(() => [
40
+ }), M = s(() => [
40
41
  "q-badge",
41
42
  `q-badge--${p.variant}`,
42
43
  {
43
44
  "q-badge--removable": p.removable,
44
45
  "q-badge--disabled": p.disabled
45
46
  },
46
- N.value
47
- ]), F = s(() => !M.value && p.disabled ? "neutral" : p.color), { style: I } = t(F), L = s(() => {
48
- if (I.value) return {
49
- "--q-badge-main-color": I.value.mainColor,
50
- "--q-badge-on-main-color": I.value.onMainColor,
51
- "--q-badge-text-color": I.value.textColor,
52
- "--q-badge-hover-color": I.value.hoverColor,
53
- "--q-badge-on-hover-color": I.value.onHoverColor
47
+ j.value
48
+ ]), N = s(() => !A.value && p.disabled ? "neutral" : p.color), { style: P } = t(N), F = s(() => {
49
+ if (P.value) return {
50
+ "--q-badge-main-color": P.value.mainColor,
51
+ "--q-badge-on-main-color": P.value.onMainColor,
52
+ "--q-badge-text-color": P.value.textColor,
53
+ "--q-badge-hover-color": P.value.hoverColor,
54
+ "--q-badge-on-hover-color": P.value.onHoverColor
54
55
  };
55
- }), R = s(() => j.onClick), z = s(() => p.focusable ? void 0 : -1), B = s(() => ({
56
+ }), I = s(() => k.onClick), L = s(() => Object.fromEntries(Object.entries(k).filter(([e]) => e !== "onClick"))), R = s(() => p.focusable ? void 0 : -1), z = s(() => ({
56
57
  class: "q-badge__remove",
57
58
  variant: p.variant,
58
- color: F.value,
59
+ color: N.value,
59
60
  ariaLabel: p.texts.remove,
60
61
  title: p.texts.remove,
61
62
  disabled: p.disabled,
62
63
  ...p.focusable ? {} : { tabindex: -1 }
63
64
  }));
64
- function V() {
65
- k("click:remove");
65
+ function B() {
66
+ D("click:remove");
66
67
  }
67
- return (e, t) => M.value ? (y(), c(x(p.removable ? C(o) : "span"), {
68
- key: 1,
69
- id: C(A),
70
- class: g(N.value)
71
- }, {
72
- default: T(() => [f(C(r), {
68
+ return (e, t) => A.value ? (_(), c(y(p.removable ? x(o) : "span"), h({ key: 1 }, L.value, {
69
+ id: x(O),
70
+ class: j.value
71
+ }), {
72
+ default: C(() => [f(x(r), {
73
73
  class: "q-badge__content",
74
74
  variant: p.variant,
75
75
  color: p.color,
76
76
  disabled: p.disabled,
77
- tabindex: z.value,
78
- onClick: R.value
77
+ tabindex: R.value,
78
+ onClick: I.value
79
79
  }, {
80
- default: T(() => [b(e.$slots, "default")]),
80
+ default: C(() => [v(e.$slots, "default")]),
81
81
  _: 3
82
82
  }, 8, [
83
83
  "variant",
@@ -85,21 +85,20 @@ var E = ["id"], D = {
85
85
  "disabled",
86
86
  "tabindex",
87
87
  "onClick"
88
- ]), p.removable ? (y(), c(C(r), h({ key: 0 }, B.value, { onClick: V }), {
89
- default: T(() => [f(C(n), _(m(p.icons.remove)), null, 16)]),
88
+ ]), p.removable ? (_(), c(x(r), h({ key: 0 }, z.value, { onClick: B }), {
89
+ default: C(() => [f(x(n), g(m(p.icons.remove)), null, 16)]),
90
90
  _: 1
91
91
  }, 16)) : l("v-if", !0)]),
92
92
  _: 3
93
- }, 8, ["id", "class"])) : (y(), u("span", {
94
- key: 0,
95
- id: C(A),
96
- class: g(P.value),
97
- style: v(L.value)
98
- }, [p.variant === "tonal" ? (y(), u("div", D)) : l("v-if", !0), d("span", null, [d("div", O, [b(e.$slots, "default")]), p.removable ? (y(), c(C(r), h({ key: 0 }, B.value, { onClick: V }), {
99
- default: T(() => [f(C(n), _(m(p.icons.remove)), null, 16)]),
93
+ }, 16, ["id", "class"])) : (_(), u("span", h({ key: 0 }, L.value, {
94
+ id: x(O),
95
+ class: M.value,
96
+ style: F.value
97
+ }), [p.variant === "tonal" ? (_(), u("div", T)) : l("v-if", !0), d("span", null, [d("div", E, [v(e.$slots, "default")]), p.removable ? (_(), c(x(r), h({ key: 0 }, z.value, { onClick: B }), {
98
+ default: C(() => [f(x(n), g(m(p.icons.remove)), null, 16)]),
100
99
  _: 1
101
- }, 16)) : l("v-if", !0)])], 14, E));
100
+ }, 16)) : l("v-if", !0)])], 16, w));
102
101
  }
103
102
  });
104
103
  //#endregion
105
- export { k as default };
104
+ export { D as default };
@@ -1,8 +1,8 @@
1
- import { provideDefaults as e } from "../../composables/defaults.js";
2
- import { useId as t } from "../../composables/useId/index.js";
3
- import { createElementBlock as n, defineComponent as r, normalizeClass as i, openBlock as a, renderSlot as o, toRef as s, unref as c } from "vue";
1
+ import { booleanDefault as e, provideDefaults as t } from "../../composables/defaults.js";
2
+ import { useId as n } from "../../composables/useId/index.js";
3
+ import { createElementBlock as r, defineComponent as i, normalizeClass as a, openBlock as o, renderSlot as s, toRef as c, unref as l } from "vue";
4
4
  //#region src/components/QButtonGroup/QButtonGroup.vue?vue&type=script&setup=true&lang.ts
5
- var l = ["id"], u = /*@__PURE__*/ r({
5
+ var u = ["id"], d = /*@__PURE__*/ i({
6
6
  __name: "QButtonGroup",
7
7
  props: {
8
8
  id: {},
@@ -13,25 +13,25 @@ var l = ["id"], u = /*@__PURE__*/ r({
13
13
  size: {},
14
14
  disabled: { type: Boolean }
15
15
  },
16
- setup(r) {
17
- let u = r, d = t(s(u, "id"));
18
- return e({ QButton: {
19
- size: s(u, "size"),
20
- disabled: s(u, "disabled"),
21
- borderless: s(u, "borderless")
22
- } }), (e, t) => (a(), n("div", {
23
- id: c(d),
24
- class: i([
16
+ setup(i) {
17
+ let d = i, f = n(c(d, "id"));
18
+ return t({ QButton: {
19
+ size: c(d, "size"),
20
+ disabled: e(() => d.disabled),
21
+ borderless: e(() => d.borderless)
22
+ } }), (e, t) => (o(), r("div", {
23
+ id: l(f),
24
+ class: a([
25
25
  "q-button-group",
26
26
  {
27
- "q-button-group--elevated": u.elevated,
28
- "q-button-group--block": u.block
27
+ "q-button-group--elevated": d.elevated,
28
+ "q-button-group--block": d.block
29
29
  },
30
- u.class
30
+ d.class
31
31
  ]),
32
32
  role: "group"
33
- }, [o(e.$slots, "default")], 10, l));
33
+ }, [s(e.$slots, "default")], 10, u));
34
34
  }
35
35
  });
36
36
  //#endregion
37
- export { u as default };
37
+ export { d as default };
@@ -24,9 +24,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
24
24
  "onSlide:click"?: ((id: string) => any) | undefined;
25
25
  "onUpdate:currentSlide"?: ((value: number) => any) | undefined;
26
26
  }>, {
27
+ wrap: boolean;
27
28
  icons: typeof DEFAULT_ICONS;
28
29
  texts: typeof DEFAULT_TEXTS;
29
- wrap: boolean;
30
30
  slides: QCarouselSlide[];
31
31
  autoCycleInterval: number;
32
32
  autoCyclePause: "hover" | "false";
@@ -1 +1 @@
1
- {"version":3,"file":"QCarousel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/QCarousel.vue"],"names":[],"mappings":"AAmJA;AAifC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAY1D,OAAO,KAAK,EAAkB,cAAc,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAKvE,KAAK,WAAW,GAAG,cAAc,CAAC;AAwVnC,KAAK,iBAAiB,GAAG;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyQT,OAAO,IAA6B;;uBAVtB,GAAG;;;;EAe9B;AA6BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;wFASnB,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":"QCarousel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/QCarousel.vue"],"names":[],"mappings":"AAmJA;AA2gBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAY1D,OAAO,KAAK,EAAkB,cAAc,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAKvE,KAAK,WAAW,GAAG,cAAc,CAAC;AAkXnC,KAAK,iBAAiB,GAAG;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyQT,OAAO,IAA6B;;uBAVtB,GAAG;;;;EAe9B;AA8BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;wFASnB,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"}
@@ -5,32 +5,32 @@ import { DEFAULT_ICONS as r, DEFAULT_TEXTS as i } from "./constants.js";
5
5
  import { QSkeletonLoader as a } from "../QSkeletonLoader/index.js";
6
6
  import { Fragment as o, computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, mergeModels as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onMounted as v, onUnmounted as y, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, toRef as T, unref as E, useModel as D, watch as O, withCtx as k, withModifiers as A } from "vue";
7
7
  //#region src/components/QCarousel/QCarousel.vue?vue&type=script&setup=true&lang.ts
8
- var j = ["id"], M = {
8
+ var j = ["id"], ee = {
9
9
  key: 0,
10
10
  class: "q-carousel__skeleton"
11
- }, ee = { class: "q-carousel__skeleton-caption" }, te = {
11
+ }, te = { class: "q-carousel__skeleton-caption" }, ne = {
12
12
  key: 0,
13
13
  class: "q-carousel__skeleton-controls"
14
- }, ne = ["onClick"], re = ["src", "alt"], ie = {
14
+ }, re = ["onClick"], ie = ["src", "alt"], ae = {
15
15
  key: 1,
16
16
  class: "q-carousel__empty-container"
17
- }, ae = {
17
+ }, oe = {
18
18
  key: 2,
19
19
  class: "q-carousel__caption-global"
20
- }, oe = {
20
+ }, se = {
21
21
  key: 0,
22
22
  class: "q-carousel__title"
23
- }, se = {
23
+ }, ce = {
24
24
  key: 1,
25
25
  class: "q-carousel__subtitle"
26
- }, N = {
26
+ }, le = {
27
27
  key: 3,
28
28
  class: "q-carousel__indicators"
29
- }, P = [
29
+ }, M = [
30
30
  "aria-label",
31
31
  "aria-current",
32
32
  "onClick"
33
- ], F = { class: "q-sr-only" }, I = { class: "q-sr-only" }, L = /*@__PURE__*/ f({
33
+ ], N = { class: "q-sr-only" }, P = { class: "q-sr-only" }, F = /*@__PURE__*/ f({
34
34
  __name: "QCarousel",
35
35
  props: /*@__PURE__*/ p({
36
36
  id: {},
@@ -60,116 +60,120 @@ var j = ["id"], M = {
60
60
  "slide:click"
61
61
  ], ["update:currentSlide"]),
62
62
  setup(r, { emit: i }) {
63
- let f = r, p = i, L = D(r, "currentSlide"), R = e(T(f, "id")), z = x(0), B = !1, V = !1, H = 0, U = 0, W = x(0), G = x(0), K, q, ce = s(() => ({
64
- transform: `translateX(-${z.value * 100}%)`,
65
- transition: B ? `transform ${f.animationDuration}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none"
66
- })), le = s(() => ({
63
+ let f = r, p = i, F = D(r, "currentSlide"), I = e(T(f, "id")), L = x(R());
64
+ function R() {
65
+ return Math.max(F.value, 0);
66
+ }
67
+ let z = !1, B = !1, V = 0, H = 0, U = x(0), W = x(0), G, K, ue = s(() => ({
68
+ transform: `translateX(-${L.value * 100}%)`,
69
+ transition: z ? `transform ${f.animationDuration}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none"
70
+ })), de = s(() => ({
67
71
  "--q-carousel-progress-duration": `${f.autoCycleInterval}ms`,
68
- "--q-carousel-progress-width": `${W.value}%`
72
+ "--q-carousel-progress-width": `${U.value}%`
69
73
  }));
70
- function J(e) {
71
- if (e < 0 || e >= f.slides.length || e === z.value || B) return;
72
- let t = z.value, n = f.slides[t], r = f.slides[e];
73
- p("slide:before-change", r.id, n?.id), z.value = e, L.value = e, f.animationDuration > 0 ? (B = !0, setTimeout(() => {
74
- B = !1, p("slide:after-change", r.id, n?.id);
74
+ function q(e) {
75
+ if (e < 0 || e >= f.slides.length || e === L.value || z) return;
76
+ let t = L.value, n = f.slides[t], r = f.slides[e];
77
+ p("slide:before-change", r.id, n?.id), L.value = e, F.value = e, f.animationDuration > 0 ? (z = !0, setTimeout(() => {
78
+ z = !1, p("slide:after-change", r.id, n?.id);
75
79
  }, f.animationDuration)) : h(() => {
76
80
  p("slide:after-change", r.id, n?.id);
77
81
  });
78
82
  }
79
- function Y() {
80
- let e = z.value + 1;
81
- e >= f.slides.length ? f.wrap && J(0) : J(e);
83
+ function J() {
84
+ let e = L.value + 1;
85
+ e >= f.slides.length ? f.wrap && q(0) : q(e);
82
86
  }
83
- function X() {
84
- let e = z.value - 1;
85
- e < 0 ? f.wrap && J(f.slides.length - 1) : J(e);
87
+ function Y() {
88
+ let e = L.value - 1;
89
+ e < 0 ? f.wrap && q(f.slides.length - 1) : q(e);
86
90
  }
87
- function ue(e) {
88
- if (window.getSelection()?.toString().length) return;
89
- let t = f.slides[e];
90
- p("slide:click", t.id);
91
+ function fe(e) {
92
+ p("slide:click", f.slides[e].id);
91
93
  }
92
- function de(e) {
94
+ function pe(e) {
93
95
  let t = {};
94
96
  return e?.colorPlaceholder && (t["background-color"] = e.colorPlaceholder), t;
95
97
  }
96
- function fe() {
97
- f.autoCycleInterval && (q = window.setInterval(() => {
98
- W.value = (Date.now() - G.value) / f.autoCycleInterval * 100;
99
- }, 50));
98
+ function me() {
99
+ K = window.setInterval(() => {
100
+ U.value = (Date.now() - W.value) / f.autoCycleInterval * 100, U.value >= 100 && (window.clearInterval(K), K = void 0);
101
+ }, 50);
102
+ }
103
+ function X() {
104
+ !f.autoCycleInterval || f.slides.length <= 1 || (Z(), f.ride === "carousel" && !B && (W.value = Date.now(), me(), G = window.setTimeout(J, f.autoCycleInterval)));
100
105
  }
101
106
  function Z() {
102
- !f.autoCycleInterval || f.slides.length <= 1 || (Q(), f.ride === "carousel" && !V && (G.value = Date.now(), fe(), K = window.setTimeout(Y, f.autoCycleInterval)));
107
+ G && window.clearTimeout(G), K && window.clearInterval(K), G = void 0, K = void 0, W.value = 0, U.value = 0;
103
108
  }
104
109
  function Q() {
105
- K && window.clearTimeout(K), q && window.clearInterval(q), K = void 0, q = void 0, G.value = 0, W.value = 0;
110
+ Z(), X();
106
111
  }
107
- function pe() {
108
- Q(), Z();
112
+ function he() {
113
+ f.autoCyclePause === "hover" && (B = !0, Z());
109
114
  }
110
- function $() {
111
- f.autoCyclePause === "hover" && (V = !0, Q());
115
+ function ge() {
116
+ f.autoCyclePause === "hover" && (B = !1, X());
112
117
  }
113
- function me() {
114
- f.autoCyclePause === "hover" && (V = !1, Z());
115
- }
116
- function he(e) {
117
- if (!B) switch (e.key) {
118
+ function _e(e) {
119
+ if (!z) switch (e.key) {
118
120
  case "ArrowLeft":
119
- e.preventDefault(), X();
121
+ e.preventDefault(), Y();
120
122
  break;
121
123
  case "ArrowRight":
122
- e.preventDefault(), Y();
124
+ e.preventDefault(), J();
123
125
  break;
124
126
  case "Home":
125
- e.preventDefault(), J(0);
127
+ e.preventDefault(), q(0);
126
128
  break;
127
129
  case "End":
128
- e.preventDefault(), J(f.slides.length - 1);
130
+ e.preventDefault(), q(f.slides.length - 1);
129
131
  break;
130
132
  }
131
133
  }
132
- function ge(e) {
133
- B || (H = e.touches[0].clientX, Q());
134
+ function ve(e) {
135
+ V = H = e.touches[0].clientX, Z();
134
136
  }
135
- function _e(e) {
136
- B || (U = e.touches[0].clientX);
137
+ function ye(e) {
138
+ H = e.touches[0].clientX;
137
139
  }
138
- function ve() {
139
- if (B) return;
140
- let e = H - U;
141
- Math.abs(e) > f.swipeThreshold && (e > 0 ? Y() : X()), H = 0, U = 0, Z();
140
+ function be() {
141
+ let e = V - H;
142
+ Math.abs(e) > f.swipeThreshold && (e > 0 ? J() : Y()), X();
142
143
  }
143
- function ye(e) {
144
- return f.texts.goToSlide.replace("{0}", `${e + 1}`);
144
+ function $(e, t) {
145
+ return e.replace("{0}", `${t + 1}`);
146
+ }
147
+ function xe(e) {
148
+ return $(f.texts.goToSlide, e);
145
149
  }
146
- function be(e) {
150
+ function Se(e) {
147
151
  if (e.length === 0) {
148
- z.value = 0, L.value = 0, Q();
152
+ L.value = 0, F.value = 0, Z();
149
153
  return;
150
154
  }
151
- z.value >= e.length && J(0);
155
+ L.value >= e.length && q(0);
152
156
  }
153
- return O(() => f.slides, be, {
157
+ return O(() => f.slides, Se, {
154
158
  immediate: !0,
155
159
  deep: !0
156
- }), O(z, pe), O(L, (e) => {
157
- e !== z.value && J(e);
158
- }), v(Z), y(Q), (e, i) => (b(), l("div", {
159
- id: E(R),
160
+ }), O(L, Q), O(F, (e) => {
161
+ e !== L.value && q(e);
162
+ }), v(X), y(Z), (e, i) => (b(), l("div", {
163
+ id: E(I),
160
164
  class: g(["q-carousel", f.class]),
161
165
  tabindex: "0",
162
- onMouseenter: $,
163
- onMouseleave: me,
164
- onKeydown: he
165
- }, [c(" Skeleton Loader "), r.loading ? (b(), l("div", M, [
166
+ onMouseenter: he,
167
+ onMouseleave: ge,
168
+ onKeydown: _e
169
+ }, [c(" Skeleton Loader "), r.loading ? (b(), l("div", ee, [
166
170
  c(" Image placeholder "),
167
171
  d(E(a), {
168
172
  width: "100%",
169
173
  height: "100%"
170
174
  }),
171
175
  c(" Overlay skeletons for text/captions "),
172
- u("div", ee, [d(E(a), {
176
+ u("div", te, [d(E(a), {
173
177
  type: "text",
174
178
  width: "40%",
175
179
  height: "24px",
@@ -181,7 +185,7 @@ var j = ["id"], M = {
181
185
  class: "q-carousel__skeleton-subtitle"
182
186
  })]),
183
187
  c(" Controls "),
184
- f.showControls ? (b(), l("div", te, [d(E(a), {
188
+ f.showControls ? (b(), l("div", ne, [d(E(a), {
185
189
  type: "icon",
186
190
  width: "40px",
187
191
  height: "40px",
@@ -195,58 +199,58 @@ var j = ["id"], M = {
195
199
  ])) : (b(), l(o, { key: 1 }, [
196
200
  r.slides?.length ? (b(), l(o, { key: 0 }, [c(" Carousel Content "), u("div", {
197
201
  class: "q-carousel__track",
198
- style: _(ce.value),
199
- onTouchstart: ge,
200
- onTouchmove: _e,
201
- onTouchend: ve
202
+ style: _(ue.value),
203
+ onTouchstart: ve,
204
+ onTouchmove: ye,
205
+ onTouchend: be
202
206
  }, [(b(!0), l(o, null, S(r.slides, (e, t) => (b(), l("div", {
203
207
  key: e.id,
204
- class: g(["q-carousel__slide", { "q-carousel__slide--active": t === z.value }]),
205
- style: _(de(e)),
206
- onClick: A(() => ue(t), ["stop", "prevent"])
208
+ class: g(["q-carousel__slide", { "q-carousel__slide--active": t === L.value }]),
209
+ style: _(pe(e)),
210
+ onClick: A(() => fe(t), ["stop", "prevent"])
207
211
  }, [e.image ? (b(), l("img", {
208
212
  key: 0,
209
213
  src: e.image,
210
- alt: e.title || `Slide ${t + 1}`,
214
+ alt: e.title || $(f.texts.slide, t),
211
215
  class: "q-carousel__image",
212
216
  decoding: "async",
213
217
  loading: "lazy"
214
- }, null, 8, re)) : c("v-if", !0)], 14, ne))), 128))], 36)], 64)) : (b(), l("div", ie, [C(e.$slots, "empty")])),
218
+ }, null, 8, ie)) : c("v-if", !0)], 14, re))), 128))], 36)], 64)) : (b(), l("div", ae, [C(e.$slots, "empty")])),
215
219
  c(" Captions (centered, above indicators) "),
216
- r.slides[z.value] ? (b(), l("div", ae, [r.slides[z.value]?.title ? (b(), l("h2", oe, w(r.slides[z.value].title), 1)) : c("v-if", !0), r.slides[z.value]?.subtitle ? (b(), l("p", se, w(r.slides[z.value].subtitle), 1)) : c("v-if", !0)])) : c("v-if", !0),
220
+ r.slides[L.value] ? (b(), l("div", oe, [r.slides[L.value]?.title ? (b(), l("h2", se, w(r.slides[L.value].title), 1)) : c("v-if", !0), r.slides[L.value]?.subtitle ? (b(), l("p", ce, w(r.slides[L.value].subtitle), 1)) : c("v-if", !0)])) : c("v-if", !0),
217
221
  c(" Indicators "),
218
- r.showIndicators && r.slides.length > 1 ? (b(), l("ol", N, [(b(!0), l(o, null, S(r.slides, (e, t) => (b(), l("li", {
222
+ r.showIndicators && r.slides.length > 1 ? (b(), l("ol", le, [(b(!0), l(o, null, S(r.slides, (e, t) => (b(), l("li", {
219
223
  key: e.id,
220
- class: g(["q-carousel__indicator", { "q-carousel__indicator--active": t === z.value }]),
221
- style: _(t === z.value ? le.value : {})
224
+ class: g(["q-carousel__indicator", { "q-carousel__indicator--active": t === L.value }]),
225
+ style: _(t === L.value ? de.value : {})
222
226
  }, [u("button", {
223
227
  type: "button",
224
228
  class: "q-carousel__indicator-button",
225
229
  "data-testid": "carousel-indicator",
226
- "aria-label": ye(t),
227
- "aria-current": t === z.value || void 0,
228
- onClick: () => J(t)
229
- }, null, 8, P)], 6))), 128))])) : c("v-if", !0),
230
+ "aria-label": xe(t),
231
+ "aria-current": t === L.value || void 0,
232
+ onClick: () => q(t)
233
+ }, null, 8, M)], 6))), 128))])) : c("v-if", !0),
230
234
  c(" Controls "),
231
235
  r.showControls && r.slides.length > 1 ? (b(), l(o, { key: 4 }, [d(E(n), {
232
236
  class: "q-carousel__control q-carousel__control--prev",
233
237
  "data-testid": "carousel-prev",
234
238
  "aria-label": r.texts.back,
235
- onClick: X
239
+ onClick: Y
236
240
  }, {
237
- default: k(() => [d(E(t), m({ class: "q-carousel__control-icon q-carousel__control-icon--prev" }, f.icons.back), null, 16), u("span", F, w(r.texts.back), 1)]),
241
+ default: k(() => [d(E(t), m({ class: "q-carousel__control-icon q-carousel__control-icon--prev" }, f.icons.back), null, 16), u("span", N, w(r.texts.back), 1)]),
238
242
  _: 1
239
243
  }, 8, ["aria-label"]), d(E(n), {
240
244
  class: "q-carousel__control q-carousel__control--next",
241
245
  "data-testid": "carousel-next",
242
246
  "aria-label": r.texts.forward,
243
- onClick: Y
247
+ onClick: J
244
248
  }, {
245
- default: k(() => [d(E(t), m({ class: "q-carousel__control-icon q-carousel__control-icon--next" }, f.icons.forward), null, 16), u("span", I, w(r.texts.forward), 1)]),
249
+ default: k(() => [d(E(t), m({ class: "q-carousel__control-icon q-carousel__control-icon--next" }, f.icons.forward), null, 16), u("span", P, w(r.texts.forward), 1)]),
246
250
  _: 1
247
251
  }, 8, ["aria-label"])], 64)) : c("v-if", !0)
248
252
  ], 64))], 42, j));
249
253
  }
250
254
  });
251
255
  //#endregion
252
- export { L as default };
256
+ export { F as default };
@@ -10,5 +10,6 @@ export declare const DEFAULT_TEXTS: {
10
10
  back: string;
11
11
  forward: string;
12
12
  goToSlide: string;
13
+ slide: string;
13
14
  };
14
15
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;CAOY,CAAA;AAGtC,eAAO,MAAM,aAAa;;;;CAIQ,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCarousel/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;CAOY,CAAA;AAGtC,eAAO,MAAM,aAAa;;;;;CAKQ,CAAA"}
@@ -5,7 +5,8 @@ var e = {
5
5
  }, t = {
6
6
  back: "Previous",
7
7
  forward: "Next",
8
- goToSlide: "Go to slide {0}"
8
+ goToSlide: "Go to slide {0}",
9
+ slide: "Slide {0}"
9
10
  };
10
11
  //#endregion
11
12
  export { e as DEFAULT_ICONS, t as DEFAULT_TEXTS };
@@ -25,9 +25,9 @@ declare const QCarousel: {
25
25
  "slide:click": (id: string) => any;
26
26
  "update:currentSlide": (value: number) => any;
27
27
  }, import('vue').PublicProps, {
28
+ wrap: boolean;
28
29
  icons: typeof import('./constants').DEFAULT_ICONS;
29
30
  texts: typeof import('./constants').DEFAULT_TEXTS;
30
- wrap: boolean;
31
31
  slides: import('./types').QCarouselSlide[];
32
32
  autoCycleInterval: number;
33
33
  autoCyclePause: "hover" | "false";
@@ -62,9 +62,9 @@ declare const QCarousel: {
62
62
  "onSlide:click"?: ((id: string) => any) | undefined;
63
63
  "onUpdate:currentSlide"?: ((value: number) => any) | undefined;
64
64
  }>, {}, {}, {}, {}, {
65
+ wrap: boolean;
65
66
  icons: typeof import('./constants').DEFAULT_ICONS;
66
67
  texts: typeof import('./constants').DEFAULT_TEXTS;
67
- wrap: boolean;
68
68
  slides: import('./types').QCarouselSlide[];
69
69
  autoCycleInterval: number;
70
70
  autoCyclePause: "hover" | "false";
@@ -101,9 +101,9 @@ declare const QCarousel: {
101
101
  "slide:click": (id: string) => any;
102
102
  "update:currentSlide": (value: number) => any;
103
103
  }, string, {
104
+ wrap: boolean;
104
105
  icons: typeof import('./constants').DEFAULT_ICONS;
105
106
  texts: typeof import('./constants').DEFAULT_TEXTS;
106
- wrap: boolean;
107
107
  slides: import('./types').QCarouselSlide[];
108
108
  autoCycleInterval: number;
109
109
  autoCyclePause: "hover" | "false";
@@ -11,7 +11,6 @@ declare function __VLS_template(): {
11
11
  extras?(_: {}): any;
12
12
  };
13
13
  refs: {
14
- inputEl: HTMLInputElement;
15
14
  buttonEl: HTMLButtonElement;
16
15
  };
17
16
  rootEl: any;
@@ -41,7 +40,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
41
40
  labelPlacement: import('../..').QSelectionLabelPlacement;
42
41
  hasFocusOutline: boolean;
43
42
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
44
- inputEl: HTMLInputElement;
45
43
  buttonEl: HTMLButtonElement;
46
44
  }, any>;
47
45
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1 +1 @@
1
- {"version":3,"file":"QCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/QCheckbox.vue"],"names":[],"mappings":"AAuEA;AA+LC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAMvC,KAAK,WAAW,GAAG,cAAc,CAAC;AAgGnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA0IT,OAAO,IAA6B;;iCAfb,GAAG;gCACJ,GAAG;wBACV,GAAG;;;;;;;EAkB/B;AAuBD,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":"AAsEA;AAqLC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAMvC,KAAK,WAAW,GAAG,cAAc,CAAC;AAuFnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAsIT,OAAO,IAA6B;;iCAdb,GAAG;gCACJ,GAAG;wBACV,GAAG;;;;;;EAiB/B;AAuBD,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"}