@quidgest/ui 0.11.0 → 0.12.1

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 (200) hide show
  1. package/dist/manifest/components.json +24 -0
  2. package/dist/ui.css +27 -2
  3. package/dist/ui.esm.js +700 -654
  4. package/dist/ui.js +8 -5
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +147 -133
  7. package/dist/ui.scss +28 -3
  8. package/esm/components/QButton/QButton.d.ts +92 -0
  9. package/esm/components/QButton/QButton.d.ts.map +1 -0
  10. package/esm/components/QButton/QButton.vue.js +87 -0
  11. package/esm/components/QButton/QButton.vue2.js +4 -0
  12. package/esm/components/QButton/index.d.ts +4 -0
  13. package/esm/components/QButton/index.d.ts.map +1 -0
  14. package/esm/components/QButtonGroup/QButtonGroup.d.ts +51 -0
  15. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -0
  16. package/esm/components/QButtonGroup/QButtonGroup.vue.js +41 -0
  17. package/esm/components/QButtonGroup/QButtonGroup.vue2.js +4 -0
  18. package/esm/components/QButtonGroup/index.d.ts +4 -0
  19. package/esm/components/QButtonGroup/index.d.ts.map +1 -0
  20. package/esm/components/QButtonToggle/QButtonToggle.d.ts +81 -0
  21. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -0
  22. package/esm/components/QButtonToggle/QButtonToggle.vue.js +58 -0
  23. package/esm/components/QButtonToggle/QButtonToggle.vue2.js +4 -0
  24. package/esm/components/QButtonToggle/index.d.ts +4 -0
  25. package/esm/components/QButtonToggle/index.d.ts.map +1 -0
  26. package/esm/components/QCombobox/QCombobox.d.ts +524 -0
  27. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -0
  28. package/esm/components/QCombobox/QCombobox.vue.js +381 -0
  29. package/esm/components/QCombobox/QCombobox.vue2.js +4 -0
  30. package/esm/components/QCombobox/index.d.ts +4 -0
  31. package/esm/components/QCombobox/index.d.ts.map +1 -0
  32. package/esm/components/QField/QField.d.ts +89 -0
  33. package/esm/components/QField/QField.d.ts.map +1 -0
  34. package/esm/components/QField/QField.vue.js +81 -0
  35. package/esm/components/QField/QField.vue2.js +4 -0
  36. package/esm/components/QField/index.d.ts +5 -0
  37. package/esm/components/QField/index.d.ts.map +1 -0
  38. package/esm/components/QField/index.js +6 -0
  39. package/esm/components/QIcon/InlineSvg.d.ts +110 -0
  40. package/esm/components/QIcon/InlineSvg.d.ts.map +1 -0
  41. package/esm/components/QIcon/InlineSvg.js +139 -0
  42. package/esm/components/QIcon/QIcon.d.ts +50 -0
  43. package/esm/components/QIcon/QIcon.d.ts.map +1 -0
  44. package/esm/components/QIcon/QIcon.vue.js +36 -0
  45. package/esm/components/QIcon/QIcon.vue2.js +4 -0
  46. package/esm/components/QIcon/QIconFont.d.ts +57 -0
  47. package/esm/components/QIcon/QIconFont.d.ts.map +1 -0
  48. package/esm/components/QIcon/QIconFont.vue.js +29 -0
  49. package/esm/components/QIcon/QIconFont.vue2.js +4 -0
  50. package/esm/components/QIcon/QIconImg.d.ts +38 -0
  51. package/esm/components/QIcon/QIconImg.d.ts.map +1 -0
  52. package/esm/components/QIcon/QIconImg.vue.js +22 -0
  53. package/esm/components/QIcon/QIconImg.vue2.js +4 -0
  54. package/esm/components/QIcon/QIconSvg.d.ts +72 -0
  55. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -0
  56. package/esm/components/QIcon/QIconSvg.vue.js +34 -0
  57. package/esm/components/QIcon/QIconSvg.vue2.js +4 -0
  58. package/esm/components/QIcon/index.d.ts +8 -0
  59. package/esm/components/QIcon/index.d.ts.map +1 -0
  60. package/esm/components/QIcon/index.js +15 -0
  61. package/esm/components/QInputGroup/QInputGroup.d.ts +85 -0
  62. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -0
  63. package/esm/components/QInputGroup/QInputGroup.vue.js +79 -0
  64. package/esm/components/QInputGroup/QInputGroup.vue2.js +4 -0
  65. package/esm/components/QInputGroup/index.d.ts +4 -0
  66. package/esm/components/QInputGroup/index.d.ts.map +1 -0
  67. package/esm/components/QLineLoader/QLineLoader.d.ts +32 -0
  68. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -0
  69. package/esm/components/QLineLoader/QLineLoader.vue.js +22 -0
  70. package/esm/components/QLineLoader/QLineLoader.vue2.js +4 -0
  71. package/esm/components/QLineLoader/index.d.ts +4 -0
  72. package/esm/components/QLineLoader/index.d.ts.map +1 -0
  73. package/esm/components/QList/QList.d.ts +159 -0
  74. package/esm/components/QList/QList.d.ts.map +1 -0
  75. package/esm/components/QList/QList.vue.js +187 -0
  76. package/esm/components/QList/QList.vue2.js +4 -0
  77. package/esm/components/QList/QListItem.d.ts +89 -0
  78. package/esm/components/QList/QListItem.d.ts.map +1 -0
  79. package/esm/components/QList/QListItem.vue.js +102 -0
  80. package/esm/components/QList/QListItem.vue2.js +4 -0
  81. package/esm/components/QList/QListItemGroup.d.ts +43 -0
  82. package/esm/components/QList/QListItemGroup.d.ts.map +1 -0
  83. package/esm/components/QList/QListItemGroup.vue.js +29 -0
  84. package/esm/components/QList/QListItemGroup.vue2.js +4 -0
  85. package/esm/components/QList/index.d.ts +7 -0
  86. package/esm/components/QList/index.d.ts.map +1 -0
  87. package/esm/components/QList/index.js +12 -0
  88. package/esm/components/QOverlay/QOverlay.d.ts +236 -0
  89. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -0
  90. package/esm/components/QOverlay/QOverlay.vue.js +250 -0
  91. package/esm/components/QOverlay/QOverlay.vue2.js +4 -0
  92. package/esm/components/QOverlay/index.d.ts +4 -0
  93. package/esm/components/QOverlay/index.d.ts.map +1 -0
  94. package/esm/components/QOverlay/index.js +6 -0
  95. package/esm/components/QPopover/QPopover.d.ts +132 -0
  96. package/esm/components/QPopover/QPopover.d.ts.map +1 -0
  97. package/esm/components/QPopover/QPopover.vue.js +71 -0
  98. package/esm/components/QPopover/QPopover.vue2.js +4 -0
  99. package/esm/components/QPopover/index.d.ts +4 -0
  100. package/esm/components/QPopover/index.d.ts.map +1 -0
  101. package/esm/components/QSelect/QSelect.d.ts +265 -0
  102. package/esm/components/QSelect/QSelect.d.ts.map +1 -0
  103. package/esm/components/QSelect/QSelect.vue.js +317 -0
  104. package/esm/components/QSelect/QSelect.vue2.js +4 -0
  105. package/esm/components/QSelect/index.d.ts +4 -0
  106. package/esm/components/QSelect/index.d.ts.map +1 -0
  107. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +46 -0
  108. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -0
  109. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +39 -0
  110. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue2.js +4 -0
  111. package/esm/components/QSkeletonLoader/index.d.ts +4 -0
  112. package/esm/components/QSkeletonLoader/index.d.ts.map +1 -0
  113. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +39 -0
  114. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -0
  115. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +26 -0
  116. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue2.js +4 -0
  117. package/esm/components/QSpinnerLoader/index.d.ts +4 -0
  118. package/esm/components/QSpinnerLoader/index.d.ts.map +1 -0
  119. package/esm/components/QSpinnerLoader/index.js +6 -0
  120. package/esm/components/QTextField/QTextField.d.ts +162 -0
  121. package/esm/components/QTextField/QTextField.d.ts.map +1 -0
  122. package/esm/components/QTextField/QTextField.vue.js +99 -0
  123. package/esm/components/QTextField/QTextField.vue2.js +4 -0
  124. package/esm/components/QTextField/index.d.ts +4 -0
  125. package/esm/components/QTextField/index.d.ts.map +1 -0
  126. package/esm/components/QTextField/index.js +6 -0
  127. package/esm/components/QThemeProvider/QThemeProvider.d.ts +25 -0
  128. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -0
  129. package/esm/components/QThemeProvider/QThemeProvider.vue.js +24 -0
  130. package/esm/components/QThemeProvider/QThemeProvider.vue2.js +4 -0
  131. package/esm/components/QThemeProvider/index.d.ts +4 -0
  132. package/esm/components/QThemeProvider/index.d.ts.map +1 -0
  133. package/esm/components/QTooltip/QTooltip.d.ts +189 -0
  134. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -0
  135. package/esm/components/QTooltip/QTooltip.vue.js +74 -0
  136. package/esm/components/QTooltip/QTooltip.vue2.js +4 -0
  137. package/esm/components/QTooltip/index.d.ts +4 -0
  138. package/esm/components/QTooltip/index.d.ts.map +1 -0
  139. package/esm/components/index.d.ts +18 -0
  140. package/esm/components/index.d.ts.map +1 -0
  141. package/esm/components/index.js +46 -0
  142. package/esm/composables/defaults.d.ts +25 -0
  143. package/esm/composables/defaults.d.ts.map +1 -0
  144. package/esm/composables/defaults.js +33 -0
  145. package/esm/composables/index.d.ts +2 -0
  146. package/esm/composables/index.d.ts.map +1 -0
  147. package/esm/composables/overlay.d.ts +116 -0
  148. package/esm/composables/overlay.d.ts.map +1 -0
  149. package/esm/composables/overlay.js +142 -0
  150. package/esm/composables/theme.d.ts +18 -0
  151. package/esm/composables/theme.d.ts.map +1 -0
  152. package/esm/composables/theme.js +20 -0
  153. package/esm/composables/uid.d.ts +8 -0
  154. package/esm/composables/uid.d.ts.map +1 -0
  155. package/esm/composables/uid.js +7 -0
  156. package/esm/framework.d.ts +29 -0
  157. package/esm/framework.d.ts.map +1 -0
  158. package/esm/framework.js +47 -0
  159. package/esm/index.d.ts +35 -0
  160. package/esm/index.d.ts.map +1 -0
  161. package/esm/index.js +12 -0
  162. package/esm/templates/index.d.ts +2 -0
  163. package/esm/templates/index.d.ts.map +1 -0
  164. package/esm/templates/index.js +5 -0
  165. package/esm/templates/theme.d.ts +5 -0
  166. package/esm/templates/theme.d.ts.map +1 -0
  167. package/esm/templates/theme.js +67 -0
  168. package/esm/types/primitive.d.ts +2 -0
  169. package/esm/types/primitive.d.ts.map +1 -0
  170. package/esm/utils/color.d.ts +105 -0
  171. package/esm/utils/color.d.ts.map +1 -0
  172. package/esm/utils/color.js +14 -0
  173. package/esm/utils/getCurrentInstance.d.ts +2 -0
  174. package/esm/utils/getCurrentInstance.d.ts.map +1 -0
  175. package/esm/utils/getElement.d.ts +6 -0
  176. package/esm/utils/getElement.d.ts.map +1 -0
  177. package/esm/utils/getElement.js +6 -0
  178. package/esm/utils/isEmpty.d.ts +2 -0
  179. package/esm/utils/isEmpty.d.ts.map +1 -0
  180. package/esm/utils/isEmpty.js +6 -0
  181. package/esm/utils/isObject.d.ts +2 -0
  182. package/esm/utils/isObject.d.ts.map +1 -0
  183. package/esm/utils/isObject.js +6 -0
  184. package/esm/utils/merge.d.ts +2 -0
  185. package/esm/utils/merge.d.ts.map +1 -0
  186. package/esm/utils/merge.js +21 -0
  187. package/esm/utils/setupPropsProxy.d.ts +12 -0
  188. package/esm/utils/setupPropsProxy.d.ts.map +1 -0
  189. package/esm/utils/setupPropsProxy.js +32 -0
  190. package/esm/utils/string.d.ts +7 -0
  191. package/esm/utils/string.d.ts.map +1 -0
  192. package/esm/utils/string.js +6 -0
  193. package/esm/utils/theme.d.ts +22 -0
  194. package/esm/utils/theme.d.ts.map +1 -0
  195. package/esm/utils/theme.js +40 -0
  196. package/package.json +48 -50
  197. package/dist/index.d.ts +0 -4076
  198. package/dist/ui.esm.js.map +0 -1
  199. package/dist/ui.js.map +0 -1
  200. package/dist/ui.min.js.map +0 -1
@@ -0,0 +1,89 @@
1
+ import { Icon } from '../QIcon';
2
+ import { Primitive } from '../../types/primitive';
3
+
4
+ export type ListItem = {
5
+ [key: string]: any;
6
+ icon?: Icon;
7
+ selected?: boolean;
8
+ group?: string;
9
+ disabled?: boolean;
10
+ };
11
+ export type Icons = typeof DEFAULT_ICONS;
12
+ export type QListItemProps = {
13
+ /**
14
+ * The value of the item.
15
+ */
16
+ value: Primitive;
17
+ /**
18
+ * The label of the item.
19
+ */
20
+ label: string;
21
+ /**
22
+ * The icon of the item.
23
+ */
24
+ icon?: Icon;
25
+ /**
26
+ * Whether this item is selected.
27
+ */
28
+ selected?: boolean;
29
+ /**
30
+ * Whether this item is highlighted.
31
+ */
32
+ highlighted?: boolean;
33
+ /**
34
+ * The icons of the component.
35
+ */
36
+ icons?: Icons;
37
+ /**
38
+ * Whether the item is disabled.
39
+ */
40
+ disabled?: boolean;
41
+ /**
42
+ * The description of the item.
43
+ */
44
+ description?: string;
45
+ };
46
+ declare const DEFAULT_ICONS: Record<string, Icon>;
47
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QListItemProps>, {
48
+ icon: undefined;
49
+ icons: () => Record<string, Icon>;
50
+ description: undefined;
51
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
52
+ select: (value: Primitive) => void;
53
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QListItemProps>, {
54
+ icon: undefined;
55
+ icons: () => Record<string, Icon>;
56
+ description: undefined;
57
+ }>>> & {
58
+ onSelect?: ((value: Primitive) => any) | undefined;
59
+ }, {
60
+ icon: Icon;
61
+ icons: Record<string, Icon>;
62
+ description: string;
63
+ }, {}>, {
64
+ default?(_: {}): any;
65
+ }>;
66
+ export default _default;
67
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
68
+ type __VLS_TypePropsToRuntimeProps<T> = {
69
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
70
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
71
+ } : {
72
+ type: import('vue').PropType<T[K]>;
73
+ required: true;
74
+ };
75
+ };
76
+ type __VLS_WithDefaults<P, D> = {
77
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
78
+ default: D[K];
79
+ }> : P[K];
80
+ };
81
+ type __VLS_Prettify<T> = {
82
+ [K in keyof T]: T[K];
83
+ } & {};
84
+ type __VLS_WithTemplateSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };
89
+ //# sourceMappingURL=QListItem.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItem.vue"],"names":[],"mappings":"AA4CA;AAMC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAKlD,MAAM,MAAM,QAAQ,GAAG;IAEtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAClB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG,OAAO,aAAa,CAAA;AAExC,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,KAAK,EAAE,SAAS,CAAA;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAKD,QAAA,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAOvC,CAAA;;;;;;;;;;;;;;;;;;qBAoL4B,GAAG;;AAnLjC,wBA4MI;AAAA,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACrE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,102 @@
1
+ import { defineComponent as v, openBlock as i, createElementBlock as a, unref as o, normalizeClass as b, withModifiers as y, createElementVNode as l, renderSlot as g, createBlock as d, normalizeProps as r, mergeProps as m, createCommentVNode as n, createTextVNode as q, toDisplayString as p, createVNode as B, guardReactiveProps as N } from "vue";
2
+ import "../QIcon/index.js";
3
+ import { useId as S } from "../../composables/uid.js";
4
+ import c from "../QIcon/QIcon.vue.js";
5
+ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { class: "q-list-item__container" }, D = { class: "q-list-item__content" }, E = {
6
+ key: 0,
7
+ class: "q-list-item__description"
8
+ }, P = { class: "q-list-item__check-container" }, V = {
9
+ check: {
10
+ icon: "check"
11
+ },
12
+ description: {
13
+ icon: "information-outline"
14
+ }
15
+ }, L = /* @__PURE__ */ v({
16
+ __name: "QListItem",
17
+ props: {
18
+ value: { type: [String, Number, Boolean, Symbol] },
19
+ label: {},
20
+ icon: { default: void 0 },
21
+ selected: { type: Boolean },
22
+ highlighted: { type: Boolean },
23
+ icons: { default: () => V },
24
+ disabled: { type: Boolean },
25
+ description: { default: void 0 }
26
+ },
27
+ emits: ["select"],
28
+ setup(_, { emit: u }) {
29
+ const e = _, f = u, h = S();
30
+ function s() {
31
+ e.disabled || f("select", e.value);
32
+ }
33
+ function k(t) {
34
+ t.key === "Tab" && s(), (t.key === "Enter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), s());
35
+ }
36
+ return (t, w) => (i(), a("li", {
37
+ id: o(h),
38
+ "data-key": e.value,
39
+ role: "option",
40
+ tabindex: e.disabled ? void 0 : -2,
41
+ class: b([
42
+ "q-list-item",
43
+ {
44
+ "q-list-item--disabled": e.disabled,
45
+ "q-list-item--selected": e.selected,
46
+ "q-list-item--highlighted": e.highlighted
47
+ }
48
+ ]),
49
+ "aria-label": e.label,
50
+ "aria-selected": e.disabled ? void 0 : e.selected,
51
+ onKeydown: k,
52
+ onClick: y(s, ["stop", "prevent"])
53
+ }, [
54
+ l("div", x, [
55
+ l("div", D, [
56
+ g(t.$slots, "default", {}, () => [
57
+ e.icon ? (i(), d(
58
+ o(c),
59
+ r(m({ key: 0 }, e.icon)),
60
+ null,
61
+ 16
62
+ /* FULL_PROPS */
63
+ )) : n("v-if", !0),
64
+ q(
65
+ " " + p(e.label),
66
+ 1
67
+ /* TEXT */
68
+ )
69
+ ])
70
+ ]),
71
+ e.description ? (i(), a("div", E, [
72
+ B(
73
+ o(c),
74
+ r(N(e.icons.description)),
75
+ null,
76
+ 16
77
+ /* FULL_PROPS */
78
+ ),
79
+ l(
80
+ "span",
81
+ null,
82
+ p(e.description),
83
+ 1
84
+ /* TEXT */
85
+ )
86
+ ])) : n("v-if", !0)
87
+ ]),
88
+ l("div", P, [
89
+ e.selected ? (i(), d(
90
+ o(c),
91
+ m({ key: 0 }, e.icons.check, { class: "q-list-item__check" }),
92
+ null,
93
+ 16
94
+ /* FULL_PROPS */
95
+ )) : n("v-if", !0)
96
+ ])
97
+ ], 42, C));
98
+ }
99
+ });
100
+ export {
101
+ L as default
102
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QListItem.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,43 @@
1
+ export type QListItemGroupProps = {
2
+ /**
3
+ * The id of the group.
4
+ */
5
+ id: string;
6
+ /**
7
+ * The title of the group.
8
+ */
9
+ title?: string;
10
+ };
11
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QListItemGroupProps>, {
12
+ title: string;
13
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QListItemGroupProps>, {
14
+ title: string;
15
+ }>>>, {
16
+ title: string;
17
+ }, {}>, {
18
+ default?(_: {}): any;
19
+ }>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
43
+ //# sourceMappingURL=QListItemGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QListItemGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItemGroup.vue"],"names":[],"mappings":"AAgBA;AAKC,MAAM,MAAM,mBAAmB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;;;;;;;;;;AAsFF,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { defineComponent as a, openBlock as o, createElementBlock as i, unref as l, toDisplayString as n, createCommentVNode as d, renderSlot as p } from "vue";
2
+ import { useId as u } from "../../composables/uid.js";
3
+ const c = ["data-key", "aria-labelledby"], m = ["id"], k = /* @__PURE__ */ a({
4
+ __name: "QListItemGroup",
5
+ props: {
6
+ id: {},
7
+ title: { default: "" }
8
+ },
9
+ setup(r) {
10
+ const e = r, t = u();
11
+ return (s, _) => (o(), i("ul", {
12
+ class: "q-list-item-group",
13
+ role: "group",
14
+ "data-key": e.id,
15
+ "aria-labelledby": e.title ? l(t) : void 0
16
+ }, [
17
+ e.title ? (o(), i("li", {
18
+ key: 0,
19
+ id: l(t),
20
+ class: "q-list-item-group__title",
21
+ role: "presentation"
22
+ }, n(e.title), 9, m)) : d("v-if", !0),
23
+ p(s.$slots, "default")
24
+ ], 8, c));
25
+ }
26
+ });
27
+ export {
28
+ k as default
29
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QListItemGroup.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,7 @@
1
+ import { default as QList, QListProps } from './QList';
2
+ import { default as QListItem, QListItemProps } from './QListItem';
3
+ import { default as QListItemGroup, QListItemGroupProps } from './QListItemGroup';
4
+
5
+ export { QList, QListItem, QListItemGroup };
6
+ export type { QListProps, QListItemProps, QListItemGroupProps };
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,aAAa,CAAA;AAC/B,OAAO,SAAS,MAAM,iBAAiB,CAAA;AACvC,OAAO,cAAc,MAAM,sBAAsB,CAAA;AAGjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAU/D,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAG3C,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAA"}
@@ -0,0 +1,12 @@
1
+ import o from "./QList.vue.js";
2
+ import r from "./QListItem.vue.js";
3
+ import s from "./QListItemGroup.vue.js";
4
+ import { setupPropsProxy as m } from "../../utils/setupPropsProxy.js";
5
+ m(o);
6
+ m(r);
7
+ m(s);
8
+ export {
9
+ o as QList,
10
+ r as QListItem,
11
+ s as QListItemGroup
12
+ };
@@ -0,0 +1,236 @@
1
+ import { Appearance, Placement, Trigger } from '../../composables/overlay';
2
+ import { Selector } from '../../utils/getElement';
3
+
4
+ export type QOverlayProps = {
5
+ /**
6
+ * The DOM element the overlay should be anchored to.
7
+ */
8
+ anchor?: Selector;
9
+ /**
10
+ * The appearance of the overlay.
11
+ * 'regular' uses body text color for background and body background color for text.
12
+ * 'inverted' matches body color scheme.
13
+ */
14
+ appearance?: Appearance;
15
+ /**
16
+ * Whether the overlay has an arrow pointing to the target.
17
+ */
18
+ arrow?: boolean;
19
+ /**
20
+ * The DOM element the overlay should be teleported to.
21
+ * Defaults to the body of the document.
22
+ */
23
+ attach?: string;
24
+ /**
25
+ * Whether to disable teleport.
26
+ * If enabled, the prop `attach` is ignored.
27
+ */
28
+ inline?: boolean;
29
+ /**
30
+ * Applies a backdrop blur effect behind the overlay.
31
+ */
32
+ backdropBlur?: boolean;
33
+ /**
34
+ * The delay in milliseconds before showing the overlay.
35
+ */
36
+ delay?: number;
37
+ /**
38
+ * Whether elements outside of the overlay can be interacted with.
39
+ * Should be used with care and only in certain components, such as comboboxes,
40
+ * with proper handling of the `focusout` event.
41
+ */
42
+ nonModal?: boolean;
43
+ /**
44
+ * Whether to prevent scrolling while the overlay is open.
45
+ */
46
+ scrollLock?: boolean;
47
+ /**
48
+ * Offset the overlay in the given amount of pixels.
49
+ */
50
+ offset?: number;
51
+ /**
52
+ * If enabled, deactivation of the element will not occur upon clicking outside
53
+ * or pressing the escape key.
54
+ */
55
+ persistent?: boolean;
56
+ /**
57
+ * The placement of the overlay.
58
+ */
59
+ placement?: Placement;
60
+ /**
61
+ * Whether to spy on the real-time position of the anchor,
62
+ * to keep the position of the overlay up-to-date at all times.
63
+ */
64
+ spy?: boolean;
65
+ /**
66
+ * The name of the transition to apply.
67
+ */
68
+ transition?: string;
69
+ /**
70
+ * The method to trigger the overlay.
71
+ */
72
+ trigger?: Trigger;
73
+ /**
74
+ * The width of the overlay.
75
+ * Either is automatic, based on the overlay content,
76
+ * or matches the overlay's anchor.
77
+ */
78
+ width?: 'auto' | 'anchor';
79
+ /**
80
+ * Custom set of classes to apply to the component.
81
+ */
82
+ class?: string | unknown[];
83
+ };
84
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
85
+ modelValue: import('vue').PropType<boolean>;
86
+ class: {
87
+ type: import('vue').PropType<string | unknown[]>;
88
+ default: undefined;
89
+ };
90
+ anchor: {
91
+ type: import('vue').PropType<Selector>;
92
+ default: undefined;
93
+ };
94
+ transition: {
95
+ type: import('vue').PropType<string>;
96
+ default: string;
97
+ };
98
+ offset: {
99
+ type: import('vue').PropType<number>;
100
+ default: number;
101
+ };
102
+ placement: {
103
+ type: import('vue').PropType<Placement>;
104
+ default: string;
105
+ };
106
+ width: {
107
+ type: import('vue').PropType<"anchor" | "auto">;
108
+ default: string;
109
+ };
110
+ appearance: {
111
+ type: import('vue').PropType<Appearance>;
112
+ default: string;
113
+ };
114
+ arrow: {
115
+ type: import('vue').PropType<boolean>;
116
+ };
117
+ attach: {
118
+ type: import('vue').PropType<string>;
119
+ default: string;
120
+ };
121
+ inline: {
122
+ type: import('vue').PropType<boolean>;
123
+ };
124
+ backdropBlur: {
125
+ type: import('vue').PropType<boolean>;
126
+ };
127
+ delay: {
128
+ type: import('vue').PropType<number>;
129
+ default: number;
130
+ };
131
+ nonModal: {
132
+ type: import('vue').PropType<boolean>;
133
+ };
134
+ scrollLock: {
135
+ type: import('vue').PropType<boolean>;
136
+ };
137
+ persistent: {
138
+ type: import('vue').PropType<boolean>;
139
+ };
140
+ spy: {
141
+ type: import('vue').PropType<boolean>;
142
+ };
143
+ trigger: {
144
+ type: import('vue').PropType<Trigger>;
145
+ default: string;
146
+ };
147
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
148
+ enter: () => void;
149
+ leave: () => void;
150
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
151
+ modelValue: import('vue').PropType<boolean>;
152
+ class: {
153
+ type: import('vue').PropType<string | unknown[]>;
154
+ default: undefined;
155
+ };
156
+ anchor: {
157
+ type: import('vue').PropType<Selector>;
158
+ default: undefined;
159
+ };
160
+ transition: {
161
+ type: import('vue').PropType<string>;
162
+ default: string;
163
+ };
164
+ offset: {
165
+ type: import('vue').PropType<number>;
166
+ default: number;
167
+ };
168
+ placement: {
169
+ type: import('vue').PropType<Placement>;
170
+ default: string;
171
+ };
172
+ width: {
173
+ type: import('vue').PropType<"anchor" | "auto">;
174
+ default: string;
175
+ };
176
+ appearance: {
177
+ type: import('vue').PropType<Appearance>;
178
+ default: string;
179
+ };
180
+ arrow: {
181
+ type: import('vue').PropType<boolean>;
182
+ };
183
+ attach: {
184
+ type: import('vue').PropType<string>;
185
+ default: string;
186
+ };
187
+ inline: {
188
+ type: import('vue').PropType<boolean>;
189
+ };
190
+ backdropBlur: {
191
+ type: import('vue').PropType<boolean>;
192
+ };
193
+ delay: {
194
+ type: import('vue').PropType<number>;
195
+ default: number;
196
+ };
197
+ nonModal: {
198
+ type: import('vue').PropType<boolean>;
199
+ };
200
+ scrollLock: {
201
+ type: import('vue').PropType<boolean>;
202
+ };
203
+ persistent: {
204
+ type: import('vue').PropType<boolean>;
205
+ };
206
+ spy: {
207
+ type: import('vue').PropType<boolean>;
208
+ };
209
+ trigger: {
210
+ type: import('vue').PropType<Trigger>;
211
+ default: string;
212
+ };
213
+ }>> & {
214
+ onEnter?: (() => any) | undefined;
215
+ onLeave?: (() => any) | undefined;
216
+ }, {
217
+ class: string | unknown[];
218
+ anchor: Selector;
219
+ transition: string;
220
+ offset: number;
221
+ placement: Placement;
222
+ width: "anchor" | "auto";
223
+ appearance: Appearance;
224
+ attach: string;
225
+ delay: number;
226
+ trigger: Trigger;
227
+ }, {}>, {
228
+ default?(_: {}): any;
229
+ }>;
230
+ export default _default;
231
+ type __VLS_WithTemplateSlots<T, S> = T & {
232
+ new (): {
233
+ $slots: S;
234
+ };
235
+ };
236
+ //# sourceMappingURL=QOverlay.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue"],"names":[],"mappings":"AAsCA;AAMC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAMlD,MAAM,MAAM,aAAa,GAAG;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAA;IAEjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmfF,wBAAwG;AAUxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}