@quidgest/ui 0.13.2 → 0.14.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 (180) hide show
  1. package/dist/manifest/components.json +4 -0
  2. package/dist/ui.css +77 -0
  3. package/dist/ui.esm.js +1134 -912
  4. package/dist/ui.js +6 -6
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +96 -87
  7. package/dist/ui.scss +86 -4
  8. package/esm/components/QBadge/QBadge.d.ts +10 -35
  9. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  10. package/esm/components/QBadge/QBadge.vue.js +19 -22
  11. package/esm/components/QBadge/index.d.ts +3 -139
  12. package/esm/components/QBadge/index.d.ts.map +1 -1
  13. package/esm/components/QBadge/types.d.ts +30 -0
  14. package/esm/components/QBadge/types.d.ts.map +1 -0
  15. package/esm/components/QBadge/types.js +8 -0
  16. package/esm/components/QButton/QButton.d.ts +8 -50
  17. package/esm/components/QButton/QButton.d.ts.map +1 -1
  18. package/esm/components/QButton/index.d.ts +3 -197
  19. package/esm/components/QButton/index.d.ts.map +1 -1
  20. package/esm/components/QButton/types.d.ts +47 -0
  21. package/esm/components/QButton/types.d.ts.map +1 -0
  22. package/esm/components/QButtonGroup/QButtonGroup.d.ts +7 -21
  23. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  24. package/esm/components/QButtonGroup/index.d.ts +3 -79
  25. package/esm/components/QButtonGroup/index.d.ts.map +1 -1
  26. package/esm/components/QButtonGroup/types.d.ts +19 -0
  27. package/esm/components/QButtonGroup/types.d.ts.map +1 -0
  28. package/esm/components/QButtonToggle/QButtonToggle.d.ts +6 -33
  29. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  30. package/esm/components/QButtonToggle/index.d.ts +3 -115
  31. package/esm/components/QButtonToggle/index.d.ts.map +1 -1
  32. package/esm/components/QButtonToggle/types.d.ts +32 -0
  33. package/esm/components/QButtonToggle/types.d.ts.map +1 -0
  34. package/esm/components/QCombobox/QCombobox.d.ts +266 -144
  35. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  36. package/esm/components/QCombobox/QCombobox.vue.js +52 -62
  37. package/esm/components/QCombobox/index.d.ts +3 -1075
  38. package/esm/components/QCombobox/index.d.ts.map +1 -1
  39. package/esm/components/QCombobox/types.d.ts +92 -0
  40. package/esm/components/QCombobox/types.d.ts.map +1 -0
  41. package/esm/components/QCombobox/types.js +14 -0
  42. package/esm/components/QDialog/QDialog.d.ts +18 -93
  43. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  44. package/esm/components/QDialog/QDialog.vue.js +45 -61
  45. package/esm/components/QDialog/index.d.ts +3 -267
  46. package/esm/components/QDialog/index.d.ts.map +1 -1
  47. package/esm/components/QDialog/types.d.ts +82 -0
  48. package/esm/components/QDialog/types.d.ts.map +1 -0
  49. package/esm/components/QDialog/types.js +23 -0
  50. package/esm/components/QField/QField.d.ts +15 -47
  51. package/esm/components/QField/QField.d.ts.map +1 -1
  52. package/esm/components/QField/index.d.ts +3 -168
  53. package/esm/components/QField/index.d.ts.map +1 -1
  54. package/esm/components/QField/types.d.ts +37 -0
  55. package/esm/components/QField/types.d.ts.map +1 -0
  56. package/esm/components/QIcon/InlineSvg.d.ts.map +1 -1
  57. package/esm/components/QIcon/InlineSvg.js +6 -13
  58. package/esm/components/QIcon/QIcon.d.ts +3 -19
  59. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  60. package/esm/components/QIcon/QIcon.vue.js +2 -2
  61. package/esm/components/QIcon/QIconFont.d.ts +2 -22
  62. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  63. package/esm/components/QIcon/QIconFont.vue.js +9 -9
  64. package/esm/components/QIcon/QIconImg.d.ts +3 -27
  65. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  66. package/esm/components/QIcon/QIconImg.vue.js +3 -3
  67. package/esm/components/QIcon/QIconSvg.d.ts +4 -36
  68. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  69. package/esm/components/QIcon/QIconSvg.vue.js +9 -9
  70. package/esm/components/QIcon/index.d.ts +9 -156
  71. package/esm/components/QIcon/index.d.ts.map +1 -1
  72. package/esm/components/QIcon/types.d.ts +40 -0
  73. package/esm/components/QIcon/types.d.ts.map +1 -0
  74. package/esm/components/QInputGroup/QInputGroup.d.ts +12 -42
  75. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  76. package/esm/components/QInputGroup/index.d.ts +3 -153
  77. package/esm/components/QInputGroup/index.d.ts.map +1 -1
  78. package/esm/components/QInputGroup/types.d.ts +35 -0
  79. package/esm/components/QInputGroup/types.d.ts.map +1 -0
  80. package/esm/components/QLineLoader/QLineLoader.d.ts +2 -6
  81. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  82. package/esm/components/QLineLoader/index.d.ts +3 -13
  83. package/esm/components/QLineLoader/index.d.ts.map +1 -1
  84. package/esm/components/QLineLoader/types.d.ts +7 -0
  85. package/esm/components/QLineLoader/types.d.ts.map +1 -0
  86. package/esm/components/QList/QList.d.ts +11 -52
  87. package/esm/components/QList/QList.d.ts.map +1 -1
  88. package/esm/components/QList/QListItem.d.ts +10 -53
  89. package/esm/components/QList/QListItem.d.ts.map +1 -1
  90. package/esm/components/QList/QListItem.vue.js +22 -28
  91. package/esm/components/QList/QListItemGroup.d.ts +7 -13
  92. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  93. package/esm/components/QList/index.d.ts +7 -452
  94. package/esm/components/QList/index.d.ts.map +1 -1
  95. package/esm/components/QList/types.d.ts +102 -0
  96. package/esm/components/QList/types.d.ts.map +1 -0
  97. package/esm/components/QList/types.js +11 -0
  98. package/esm/components/QOverlay/QOverlay.d.ts +33 -118
  99. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  100. package/esm/components/QOverlay/QOverlay.vue.js +1 -2
  101. package/esm/components/QOverlay/index.d.ts +3 -339
  102. package/esm/components/QOverlay/index.d.ts.map +1 -1
  103. package/esm/components/QOverlay/types.d.ts +88 -0
  104. package/esm/components/QOverlay/types.d.ts.map +1 -0
  105. package/esm/components/QPopover/QPopover.d.ts +17 -58
  106. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  107. package/esm/components/QPopover/QPopover.vue.js +25 -24
  108. package/esm/components/QPopover/index.d.ts +3 -180
  109. package/esm/components/QPopover/index.d.ts.map +1 -1
  110. package/esm/components/QPopover/types.d.ts +44 -0
  111. package/esm/components/QPopover/types.d.ts.map +1 -0
  112. package/esm/components/QPropertyList/QPropertyList.d.ts +70 -0
  113. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -0
  114. package/esm/components/QPropertyList/QPropertyList.vue.js +146 -0
  115. package/esm/components/QPropertyList/QPropertyList.vue2.js +4 -0
  116. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +48 -0
  117. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -0
  118. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +72 -0
  119. package/esm/components/QPropertyList/QPropertyListGroup.vue2.js +4 -0
  120. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +53 -0
  121. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -0
  122. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +45 -0
  123. package/esm/components/QPropertyList/QPropertyListPanel.vue2.js +4 -0
  124. package/esm/components/QPropertyList/QPropertyListRow.d.ts +29 -0
  125. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -0
  126. package/esm/components/QPropertyList/QPropertyListRow.vue.js +64 -0
  127. package/esm/components/QPropertyList/QPropertyListRow.vue2.js +4 -0
  128. package/esm/components/QPropertyList/index.d.ts +13 -0
  129. package/esm/components/QPropertyList/index.d.ts.map +1 -0
  130. package/esm/components/QPropertyList/index.js +12 -0
  131. package/esm/components/QPropertyList/types.d.ts +101 -0
  132. package/esm/components/QPropertyList/types.d.ts.map +1 -0
  133. package/esm/components/QPropertyList/types.js +14 -0
  134. package/esm/components/QSelect/QSelect.d.ts +25 -102
  135. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  136. package/esm/components/QSelect/QSelect.vue.js +80 -91
  137. package/esm/components/QSelect/index.d.ts +3 -369
  138. package/esm/components/QSelect/index.d.ts.map +1 -1
  139. package/esm/components/QSelect/types.d.ts +80 -0
  140. package/esm/components/QSelect/types.d.ts.map +1 -0
  141. package/esm/components/QSelect/types.js +14 -0
  142. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +2 -14
  143. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  144. package/esm/components/QSkeletonLoader/index.d.ts +3 -31
  145. package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
  146. package/esm/components/QSkeletonLoader/types.d.ts +15 -0
  147. package/esm/components/QSkeletonLoader/types.d.ts.map +1 -0
  148. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +2 -10
  149. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  150. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +6 -6
  151. package/esm/components/QSpinnerLoader/index.d.ts +3 -22
  152. package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
  153. package/esm/components/QSpinnerLoader/types.d.ts +11 -0
  154. package/esm/components/QSpinnerLoader/types.d.ts.map +1 -0
  155. package/esm/components/QTextField/QTextField.d.ts +13 -61
  156. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  157. package/esm/components/QTextField/index.d.ts +3 -229
  158. package/esm/components/QTextField/index.d.ts.map +1 -1
  159. package/esm/components/QTextField/types.d.ts +51 -0
  160. package/esm/components/QTextField/types.d.ts.map +1 -0
  161. package/esm/components/QThemeProvider/QThemeProvider.d.ts +6 -8
  162. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  163. package/esm/components/QThemeProvider/index.d.ts +3 -37
  164. package/esm/components/QThemeProvider/index.d.ts.map +1 -1
  165. package/esm/components/QThemeProvider/types.d.ts +7 -0
  166. package/esm/components/QThemeProvider/types.d.ts.map +1 -0
  167. package/esm/components/QTooltip/QTooltip.d.ts +30 -94
  168. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  169. package/esm/components/QTooltip/index.d.ts +3 -279
  170. package/esm/components/QTooltip/index.d.ts.map +1 -1
  171. package/esm/components/QTooltip/types.d.ts +67 -0
  172. package/esm/components/QTooltip/types.d.ts.map +1 -0
  173. package/esm/components/index.d.ts +1 -0
  174. package/esm/components/index.d.ts.map +1 -1
  175. package/esm/components/index.js +42 -37
  176. package/esm/composables/defaults.js +3 -6
  177. package/esm/index.d.ts +4 -0
  178. package/esm/utils/color.js +1 -2
  179. package/esm/utils/setupPropsProxy.js +2 -4
  180. package/package.json +35 -36
@@ -1,38 +1,14 @@
1
- import { Icon } from '../QIcon';
1
+ import { QBadgeProps } from './types';
2
2
 
3
- export type QBadgeProps = {
4
- /**
5
- * The color of the badge.
6
- * Can be chosen from utility colors like 'success' or 'danger', or specified using CSS color codes.
7
- */
8
- color?: string;
9
- /**
10
- * The visual style variant of the badge.
11
- */
12
- variant?: 'tonal' | 'bold' | 'outlined';
13
- /**
14
- * Indicates if the badge can be removed.
15
- */
16
- removable?: boolean;
17
- /**
18
- * Whether to convey a pill shape to the badge.
19
- */
20
- pill?: boolean;
21
- /**
22
- * The internal elements of the component.
23
- */
24
- internals?: Internals;
25
- };
26
- declare const DEFAULT_ICONS: Record<string, Icon>;
27
- type Internals = {
28
- icons: typeof DEFAULT_ICONS;
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
29
5
  };
30
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QBadgeProps>, {
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QBadgeProps>, {
31
7
  text: string;
32
8
  color: string;
33
9
  variant: string;
34
10
  internals: () => {
35
- icons: Record<string, Icon>;
11
+ icons: Record<string, import('../QIcon').Icon>;
36
12
  };
37
13
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
14
  "click:remove": () => void;
@@ -41,17 +17,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
41
17
  color: string;
42
18
  variant: string;
43
19
  internals: () => {
44
- icons: Record<string, Icon>;
20
+ icons: Record<string, import('../QIcon').Icon>;
45
21
  };
46
22
  }>>> & {
47
23
  "onClick:remove"?: (() => any) | undefined;
48
24
  }, {
49
- variant: "bold" | "tonal" | "outlined";
25
+ variant: "tonal" | "bold" | "outlined";
50
26
  color: string;
51
- internals: Internals;
52
- }, {}>, {
53
- default?(_: {}): any;
54
- }>;
27
+ internals: import('./types').Internals;
28
+ }, {}>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
55
30
  export default _default;
56
31
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
57
32
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1 +1 @@
1
- {"version":3,"file":"QBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/QBadge.vue"],"names":[],"mappings":"AAmBA;AAOC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAM9C,MAAM,MAAM,WAAW,GAAG;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,CAAA;IAEvC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAKD,QAAA,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAIvC,CAAA;AAGD,KAAK,SAAS,GA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AAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,41 +1,38 @@
1
- import { defineComponent as g, computed as l, openBlock as n, createElementBlock as _, normalizeClass as b, normalizeStyle as C, createElementVNode as s, renderSlot as y, createBlock as q, unref as a, withCtx as k, createVNode as B, normalizeProps as h, guardReactiveProps as x, createCommentVNode as N } from "vue";
1
+ import { defineComponent as g, computed as r, openBlock as a, createElementBlock as _, normalizeClass as b, normalizeStyle as C, createElementVNode as s, renderSlot as y, createBlock as q, unref as n, withCtx as k, createVNode as B, normalizeProps as h, guardReactiveProps as x, createCommentVNode as N } from "vue";
2
2
  import { QButton as z } from "../QButton/index.js";
3
3
  import { QIcon as E } from "../QIcon/index.js";
4
- import { parseColor as Q, rgbToHsl as S, getContrastingColor as V } from "../../utils/color.js";
5
- const $ = /* @__PURE__ */ s(
4
+ import { DEFAULT_ICONS as Q } from "./types.js";
5
+ import { parseColor as S, rgbToHsl as V, getContrastingColor as $ } from "../../utils/color.js";
6
+ const w = /* @__PURE__ */ s(
6
7
  "div",
7
8
  { class: "q-badge__underlay" },
8
9
  null,
9
10
  -1
10
11
  /* HOISTED */
11
- ), w = { class: "q-badge__content" }, I = {
12
- remove: {
13
- icon: "close"
14
- }
15
- }, A = /* @__PURE__ */ g({
12
+ ), I = { class: "q-badge__content" }, D = /* @__PURE__ */ g({
16
13
  __name: "QBadge",
17
14
  props: {
18
15
  color: { default: "primary" },
19
16
  variant: { default: "tonal" },
20
17
  removable: { type: Boolean },
21
18
  pill: { type: Boolean },
22
- internals: { default: () => ({ icons: I }) }
19
+ internals: { default: () => ({ icons: Q }) }
23
20
  },
24
21
  emits: ["click:remove"],
25
22
  setup(c, { emit: i }) {
26
- const e = c, d = i, r = l(
23
+ const e = c, d = i, l = r(
27
24
  () => ["primary", "info", "success", "warning", "danger"].includes(e.color)
28
- ), m = l(() => {
29
- const o = r.value ? `q-badge--${e.color}` : void 0;
25
+ ), m = r(() => {
26
+ const o = l.value ? `q-badge--${e.color}` : void 0;
30
27
  return ["q-badge", `q-badge--${e.variant}`, o, { "q-badge--pill": e.pill }];
31
- }), u = l(() => {
28
+ }), u = r(() => {
32
29
  let o, t;
33
- if (!r.value)
30
+ if (!l.value)
34
31
  if (o = e.color, e.variant === "tonal")
35
32
  t = e.color;
36
33
  else {
37
- const v = Q(o), f = S(v);
38
- t = V(f.l);
34
+ const v = S(o), f = V(v);
35
+ t = $(f.l);
39
36
  }
40
37
  return {
41
38
  "--q-badge-color": o,
@@ -45,7 +42,7 @@ const $ = /* @__PURE__ */ s(
45
42
  function p() {
46
43
  d("click:remove");
47
44
  }
48
- return (o, t) => (n(), _(
45
+ return (o, t) => (a(), _(
49
46
  "span",
50
47
  {
51
48
  class: b(m.value),
@@ -53,10 +50,10 @@ const $ = /* @__PURE__ */ s(
53
50
  style: C(u.value)
54
51
  },
55
52
  [
56
- $,
57
- s("div", w, [
53
+ w,
54
+ s("div", I, [
58
55
  y(o.$slots, "default"),
59
- e.removable ? (n(), q(a(z), {
56
+ e.removable ? (a(), q(n(z), {
60
57
  key: 0,
61
58
  class: "q-badge__remove",
62
59
  borderless: "",
@@ -65,7 +62,7 @@ const $ = /* @__PURE__ */ s(
65
62
  }, {
66
63
  default: k(() => [
67
64
  B(
68
- a(E),
65
+ n(E),
69
66
  h(x(e.internals.icons.remove)),
70
67
  null,
71
68
  16
@@ -83,5 +80,5 @@ const $ = /* @__PURE__ */ s(
83
80
  }
84
81
  });
85
82
  export {
86
- A as default
83
+ D as default
87
84
  };
@@ -1,141 +1,5 @@
1
- declare const QBadge: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
- variant: {
4
- type: import('vue').PropType<"bold" | "tonal" | "outlined">;
5
- default: string;
6
- };
7
- color: {
8
- type: import('vue').PropType<string>;
9
- default: string;
10
- };
11
- removable: {
12
- type: import('vue').PropType<boolean>;
13
- };
14
- pill: {
15
- type: import('vue').PropType<boolean>;
16
- };
17
- internals: {
18
- type: import('vue').PropType<{
19
- icons: Record<string, import('..').Icon>;
20
- }>;
21
- default: () => {
22
- icons: Record<string, import('..').Icon>;
23
- };
24
- };
25
- }>> & {
26
- "onClick:remove"?: (() => any) | undefined;
27
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
- "click:remove": () => void;
29
- }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
30
- variant: {
31
- type: import('vue').PropType<"bold" | "tonal" | "outlined">;
32
- default: string;
33
- };
34
- color: {
35
- type: import('vue').PropType<string>;
36
- default: string;
37
- };
38
- removable: {
39
- type: import('vue').PropType<boolean>;
40
- };
41
- pill: {
42
- type: import('vue').PropType<boolean>;
43
- };
44
- internals: {
45
- type: import('vue').PropType<{
46
- icons: Record<string, import('..').Icon>;
47
- }>;
48
- default: () => {
49
- icons: Record<string, import('..').Icon>;
50
- };
51
- };
52
- }>> & {
53
- "onClick:remove"?: (() => any) | undefined;
54
- }, {
55
- variant: "bold" | "tonal" | "outlined";
56
- color: string;
57
- internals: {
58
- icons: Record<string, import('..').Icon>;
59
- };
60
- }, true, {}, {}, {
61
- P: {};
62
- B: {};
63
- D: {};
64
- C: {};
65
- M: {};
66
- Defaults: {};
67
- }, Readonly<import('vue').ExtractPropTypes<{
68
- variant: {
69
- type: import('vue').PropType<"bold" | "tonal" | "outlined">;
70
- default: string;
71
- };
72
- color: {
73
- type: import('vue').PropType<string>;
74
- default: string;
75
- };
76
- removable: {
77
- type: import('vue').PropType<boolean>;
78
- };
79
- pill: {
80
- type: import('vue').PropType<boolean>;
81
- };
82
- internals: {
83
- type: import('vue').PropType<{
84
- icons: Record<string, import('..').Icon>;
85
- }>;
86
- default: () => {
87
- icons: Record<string, import('..').Icon>;
88
- };
89
- };
90
- }>> & {
91
- "onClick:remove"?: (() => any) | undefined;
92
- }, {}, {}, {}, {}, {
93
- variant: "bold" | "tonal" | "outlined";
94
- color: string;
95
- internals: {
96
- icons: Record<string, import('..').Icon>;
97
- };
98
- }>;
99
- __isFragment?: undefined;
100
- __isTeleport?: undefined;
101
- __isSuspense?: undefined;
102
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
103
- variant: {
104
- type: import('vue').PropType<"bold" | "tonal" | "outlined">;
105
- default: string;
106
- };
107
- color: {
108
- type: import('vue').PropType<string>;
109
- default: string;
110
- };
111
- removable: {
112
- type: import('vue').PropType<boolean>;
113
- };
114
- pill: {
115
- type: import('vue').PropType<boolean>;
116
- };
117
- internals: {
118
- type: import('vue').PropType<{
119
- icons: Record<string, import('..').Icon>;
120
- }>;
121
- default: () => {
122
- icons: Record<string, import('..').Icon>;
123
- };
124
- };
125
- }>> & {
126
- "onClick:remove"?: (() => any) | undefined;
127
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
128
- "click:remove": () => void;
129
- }, string, {
130
- variant: "bold" | "tonal" | "outlined";
131
- color: string;
132
- internals: {
133
- icons: Record<string, import('..').Icon>;
134
- };
135
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
136
- $slots: {
137
- default?(_: {}): any;
138
- };
139
- });
1
+ import { default as _QBadge } from './QBadge';
2
+
3
+ declare const QBadge: typeof _QBadge;
140
4
  export { QBadge };
141
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6C,CAAA;AAGzD,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/index.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,cAAc,CAAA;AAKlC,QAAA,MAAM,MAAM,EAA+B,OAAO,OAAO,CAAA;AAGzD,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -0,0 +1,30 @@
1
+ import { Icon } from '../QIcon';
2
+
3
+ export type QBadgeProps = {
4
+ /**
5
+ * The color of the badge.
6
+ * Can be chosen from utility colors like 'success' or 'danger', or specified using CSS color codes.
7
+ */
8
+ color?: string;
9
+ /**
10
+ * The visual style variant of the badge.
11
+ */
12
+ variant?: 'tonal' | 'bold' | 'outlined';
13
+ /**
14
+ * Indicates if the badge can be removed.
15
+ */
16
+ removable?: boolean;
17
+ /**
18
+ * Whether to convey a pill shape to the badge.
19
+ */
20
+ pill?: boolean;
21
+ /**
22
+ * The internal elements of the component.
23
+ */
24
+ internals?: Internals;
25
+ };
26
+ export declare const DEFAULT_ICONS: Record<string, Icon>;
27
+ export type Internals = {
28
+ icons: typeof DEFAULT_ICONS;
29
+ };
30
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,MAAM,MAAM,WAAW,GAAG;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,CAAA;IAEvC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAGD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAI9C,CAAA;AAGD,MAAM,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,OAAO,aAAa,CAAA;CAC3B,CAAA"}
@@ -0,0 +1,8 @@
1
+ const o = {
2
+ remove: {
3
+ icon: "close"
4
+ }
5
+ };
6
+ export {
7
+ o as DEFAULT_ICONS
8
+ };
@@ -1,50 +1,9 @@
1
- export type QButtonProps = {
2
- /**
3
- * Indicates whether the button is active or not.
4
- */
5
- active?: boolean;
6
- /**
7
- * The style of the button.
8
- */
9
- bStyle?: 'primary' | 'secondary' | 'tertiary' | 'danger' | 'plain';
10
- /**
11
- * The text content of the button.
12
- */
13
- label?: string;
14
- /**
15
- * If true, the button is disabled and cannot be interacted with.
16
- */
17
- disabled?: boolean;
18
- /**
19
- * If true, the button icon is displayed on the right side.
20
- */
21
- iconOnRight?: boolean;
22
- /**
23
- * If true, the button has no borders.
24
- */
25
- borderless?: boolean;
26
- /**
27
- * If true, the button has an elevated appearance.
28
- */
29
- elevated?: boolean;
30
- /**
31
- * If true, the button spans the full width of its container.
32
- */
33
- block?: boolean;
34
- /**
35
- * If true, the button is in a loading state, indicating ongoing activity.
36
- */
37
- loading?: boolean;
38
- /**
39
- * The size of the button, either 'regular' or 'small'.
40
- */
41
- size?: 'regular' | 'small';
42
- /**
43
- * Custom set of classes to apply to the component.
44
- */
45
- class?: string | unknown[];
1
+ import { QButtonProps } from './types';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
46
5
  };
47
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QButtonProps>, {
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QButtonProps>, {
48
7
  bStyle: string;
49
8
  label: string;
50
9
  size: string;
@@ -59,13 +18,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
59
18
  }>>> & {
60
19
  onClick?: ((event: Event) => any) | undefined;
61
20
  }, {
62
- size: "small" | "regular";
21
+ size: "regular" | "small";
63
22
  class: string | unknown[];
64
23
  label: string;
65
24
  bStyle: "primary" | "secondary" | "tertiary" | "danger" | "plain";
66
- }, {}>, {
67
- default?(_: {}): any;
68
- }>;
25
+ }, {}>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
69
27
  export default _default;
70
28
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
71
29
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1 +1 @@
1
- {"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AAwBA;AAQC,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAA;IAElE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA;;;;;;;;;;;;;;;;;;;;;;;AA6JF,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,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cAAc,CAAC,CAAC;AAAvG,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"}
@@ -1,201 +1,7 @@
1
- import { QButtonProps } from './QButton';
1
+ import { default as _QButton } from './QButton';
2
+ import { QButtonProps } from './types';
2
3
 
3
- declare const QButton: {
4
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
5
- size: {
6
- type: import('vue').PropType<"small" | "regular">;
7
- default: string;
8
- };
9
- class: {
10
- type: import('vue').PropType<string | unknown[]>;
11
- default: undefined;
12
- };
13
- label: {
14
- type: import('vue').PropType<string>;
15
- default: string;
16
- };
17
- active: {
18
- type: import('vue').PropType<boolean>;
19
- };
20
- bStyle: {
21
- type: import('vue').PropType<"primary" | "secondary" | "tertiary" | "danger" | "plain">;
22
- default: string;
23
- };
24
- disabled: {
25
- type: import('vue').PropType<boolean>;
26
- };
27
- iconOnRight: {
28
- type: import('vue').PropType<boolean>;
29
- };
30
- borderless: {
31
- type: import('vue').PropType<boolean>;
32
- };
33
- elevated: {
34
- type: import('vue').PropType<boolean>;
35
- };
36
- block: {
37
- type: import('vue').PropType<boolean>;
38
- };
39
- loading: {
40
- type: import('vue').PropType<boolean>;
41
- };
42
- }>> & {
43
- onClick?: ((event: Event) => any) | undefined;
44
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
- click: (event: Event) => void;
46
- }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
47
- size: {
48
- type: import('vue').PropType<"small" | "regular">;
49
- default: string;
50
- };
51
- class: {
52
- type: import('vue').PropType<string | unknown[]>;
53
- default: undefined;
54
- };
55
- label: {
56
- type: import('vue').PropType<string>;
57
- default: string;
58
- };
59
- active: {
60
- type: import('vue').PropType<boolean>;
61
- };
62
- bStyle: {
63
- type: import('vue').PropType<"primary" | "secondary" | "tertiary" | "danger" | "plain">;
64
- default: string;
65
- };
66
- disabled: {
67
- type: import('vue').PropType<boolean>;
68
- };
69
- iconOnRight: {
70
- type: import('vue').PropType<boolean>;
71
- };
72
- borderless: {
73
- type: import('vue').PropType<boolean>;
74
- };
75
- elevated: {
76
- type: import('vue').PropType<boolean>;
77
- };
78
- block: {
79
- type: import('vue').PropType<boolean>;
80
- };
81
- loading: {
82
- type: import('vue').PropType<boolean>;
83
- };
84
- }>> & {
85
- onClick?: ((event: Event) => any) | undefined;
86
- }, {
87
- size: "small" | "regular";
88
- class: string | unknown[];
89
- label: string;
90
- bStyle: "primary" | "secondary" | "tertiary" | "danger" | "plain";
91
- }, true, {}, {}, {
92
- P: {};
93
- B: {};
94
- D: {};
95
- C: {};
96
- M: {};
97
- Defaults: {};
98
- }, Readonly<import('vue').ExtractPropTypes<{
99
- size: {
100
- type: import('vue').PropType<"small" | "regular">;
101
- default: string;
102
- };
103
- class: {
104
- type: import('vue').PropType<string | unknown[]>;
105
- default: undefined;
106
- };
107
- label: {
108
- type: import('vue').PropType<string>;
109
- default: string;
110
- };
111
- active: {
112
- type: import('vue').PropType<boolean>;
113
- };
114
- bStyle: {
115
- type: import('vue').PropType<"primary" | "secondary" | "tertiary" | "danger" | "plain">;
116
- default: string;
117
- };
118
- disabled: {
119
- type: import('vue').PropType<boolean>;
120
- };
121
- iconOnRight: {
122
- type: import('vue').PropType<boolean>;
123
- };
124
- borderless: {
125
- type: import('vue').PropType<boolean>;
126
- };
127
- elevated: {
128
- type: import('vue').PropType<boolean>;
129
- };
130
- block: {
131
- type: import('vue').PropType<boolean>;
132
- };
133
- loading: {
134
- type: import('vue').PropType<boolean>;
135
- };
136
- }>> & {
137
- onClick?: ((event: Event) => any) | undefined;
138
- }, {}, {}, {}, {}, {
139
- size: "small" | "regular";
140
- class: string | unknown[];
141
- label: string;
142
- bStyle: "primary" | "secondary" | "tertiary" | "danger" | "plain";
143
- }>;
144
- __isFragment?: undefined;
145
- __isTeleport?: undefined;
146
- __isSuspense?: undefined;
147
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
148
- size: {
149
- type: import('vue').PropType<"small" | "regular">;
150
- default: string;
151
- };
152
- class: {
153
- type: import('vue').PropType<string | unknown[]>;
154
- default: undefined;
155
- };
156
- label: {
157
- type: import('vue').PropType<string>;
158
- default: string;
159
- };
160
- active: {
161
- type: import('vue').PropType<boolean>;
162
- };
163
- bStyle: {
164
- type: import('vue').PropType<"primary" | "secondary" | "tertiary" | "danger" | "plain">;
165
- default: string;
166
- };
167
- disabled: {
168
- type: import('vue').PropType<boolean>;
169
- };
170
- iconOnRight: {
171
- type: import('vue').PropType<boolean>;
172
- };
173
- borderless: {
174
- type: import('vue').PropType<boolean>;
175
- };
176
- elevated: {
177
- type: import('vue').PropType<boolean>;
178
- };
179
- block: {
180
- type: import('vue').PropType<boolean>;
181
- };
182
- loading: {
183
- type: import('vue').PropType<boolean>;
184
- };
185
- }>> & {
186
- onClick?: ((event: Event) => any) | undefined;
187
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
188
- click: (event: Event) => void;
189
- }, string, {
190
- size: "small" | "regular";
191
- class: string | unknown[];
192
- label: string;
193
- bStyle: "primary" | "secondary" | "tertiary" | "danger" | "plain";
194
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
195
- $slots: {
196
- default?(_: {}): any;
197
- };
198
- });
4
+ declare const QButton: typeof _QButton;
199
5
  export { QButton };
200
6
  export type { QButtonProps };
201
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAKjD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C,CAAA;AAG5D,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,YAAY,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/index.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAA;AAGpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,QAAA,MAAM,OAAO,EAAgC,OAAO,QAAQ,CAAA;AAG5D,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,YAAY,EAAE,YAAY,EAAE,CAAA"}