@quidgest/ui 0.14.0 → 0.14.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 (117) hide show
  1. package/dist/ui.css +4 -0
  2. package/dist/ui.esm.js +693 -686
  3. package/dist/ui.js +4 -4
  4. package/dist/ui.min.js +51 -51
  5. package/dist/ui.scss +1053 -1049
  6. package/esm/components/QBadge/QBadge.d.ts +14 -41
  7. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  8. package/esm/components/QBadge/QBadge.vue.js +33 -33
  9. package/esm/components/QBadge/index.d.ts +0 -1
  10. package/esm/components/QBadge/types.d.ts +6 -7
  11. package/esm/components/QBadge/types.d.ts.map +1 -1
  12. package/esm/components/QButton/QButton.d.ts +12 -35
  13. package/esm/components/QButton/QButton.d.ts.map +1 -1
  14. package/esm/components/QButton/index.d.ts +0 -1
  15. package/esm/components/QButtonGroup/QButtonGroup.d.ts +9 -26
  16. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  17. package/esm/components/QButtonGroup/index.d.ts +0 -1
  18. package/esm/components/QButtonToggle/QButtonToggle.d.ts +17 -47
  19. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  20. package/esm/components/QButtonToggle/index.d.ts +0 -1
  21. package/esm/components/QCombobox/QCombobox.d.ts +373 -485
  22. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  23. package/esm/components/QCombobox/QCombobox.vue.js +92 -87
  24. package/esm/components/QCombobox/index.d.ts +0 -1
  25. package/esm/components/QCombobox/types.d.ts +9 -8
  26. package/esm/components/QCombobox/types.d.ts.map +1 -1
  27. package/esm/components/QCombobox/types.js +3 -1
  28. package/esm/components/QDialog/QDialog.d.ts +21 -109
  29. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  30. package/esm/components/QDialog/QDialog.vue.js +16 -16
  31. package/esm/components/QDialog/index.d.ts +0 -1
  32. package/esm/components/QDialog/types.d.ts +6 -8
  33. package/esm/components/QDialog/types.d.ts.map +1 -1
  34. package/esm/components/QField/QField.d.ts +18 -41
  35. package/esm/components/QField/QField.d.ts.map +1 -1
  36. package/esm/components/QField/index.d.ts +0 -1
  37. package/esm/components/QIcon/InlineSvg.d.ts +6 -6
  38. package/esm/components/QIcon/QIcon.d.ts +2 -28
  39. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  40. package/esm/components/QIcon/QIconFont.d.ts +2 -30
  41. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  42. package/esm/components/QIcon/QIconImg.d.ts +1 -11
  43. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  44. package/esm/components/QIcon/QIconSvg.d.ts +6 -32
  45. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  46. package/esm/components/QIcon/index.d.ts +0 -1
  47. package/esm/components/QInputGroup/QInputGroup.d.ts +12 -39
  48. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  49. package/esm/components/QInputGroup/index.d.ts +0 -1
  50. package/esm/components/QInputGroup/types.d.ts +0 -1
  51. package/esm/components/QLineLoader/QLineLoader.d.ts +2 -24
  52. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  53. package/esm/components/QLineLoader/index.d.ts +0 -1
  54. package/esm/components/QList/QList.d.ts +22 -72
  55. package/esm/components/QList/QList.d.ts.map +1 -1
  56. package/esm/components/QList/QListItem.d.ts +14 -39
  57. package/esm/components/QList/QListItem.d.ts.map +1 -1
  58. package/esm/components/QList/QListItem.vue.js +5 -5
  59. package/esm/components/QList/QListItemGroup.d.ts +9 -26
  60. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  61. package/esm/components/QList/index.d.ts +0 -1
  62. package/esm/components/QList/types.d.ts +5 -7
  63. package/esm/components/QList/types.d.ts.map +1 -1
  64. package/esm/components/QOverlay/QOverlay.d.ts +23 -141
  65. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  66. package/esm/components/QOverlay/index.d.ts +0 -1
  67. package/esm/components/QOverlay/types.d.ts +0 -1
  68. package/esm/components/QPopover/QPopover.d.ts +19 -77
  69. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  70. package/esm/components/QPopover/index.d.ts +0 -1
  71. package/esm/components/QPopover/types.d.ts +0 -1
  72. package/esm/components/QPropertyList/QPropertyList.d.ts +28 -56
  73. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  74. package/esm/components/QPropertyList/QPropertyList.vue.js +61 -62
  75. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +7 -44
  76. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
  77. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +22 -26
  78. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +11 -43
  79. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
  80. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +14 -16
  81. package/esm/components/QPropertyList/QPropertyListRow.d.ts +12 -17
  82. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  83. package/esm/components/QPropertyList/index.d.ts +0 -1
  84. package/esm/components/QPropertyList/types.d.ts +70 -34
  85. package/esm/components/QPropertyList/types.d.ts.map +1 -1
  86. package/esm/components/QSelect/QSelect.d.ts +199 -147
  87. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  88. package/esm/components/QSelect/QSelect.vue.js +130 -125
  89. package/esm/components/QSelect/index.d.ts +0 -1
  90. package/esm/components/QSelect/types.d.ts +9 -8
  91. package/esm/components/QSelect/types.d.ts.map +1 -1
  92. package/esm/components/QSelect/types.js +5 -3
  93. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +2 -28
  94. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  95. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +19 -19
  96. package/esm/components/QSkeletonLoader/index.d.ts +0 -1
  97. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +2 -26
  98. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  99. package/esm/components/QSpinnerLoader/index.d.ts +0 -1
  100. package/esm/components/QTextField/QTextField.d.ts +100 -96
  101. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  102. package/esm/components/QTextField/index.d.ts +0 -1
  103. package/esm/components/QTextField/types.d.ts +0 -1
  104. package/esm/components/QThemeProvider/QThemeProvider.d.ts +8 -13
  105. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  106. package/esm/components/QThemeProvider/index.d.ts +0 -1
  107. package/esm/components/QTooltip/QTooltip.d.ts +23 -121
  108. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  109. package/esm/components/QTooltip/index.d.ts +0 -1
  110. package/esm/components/QTooltip/types.d.ts +0 -1
  111. package/esm/composables/defaults.d.ts +0 -1
  112. package/esm/composables/theme.d.ts +0 -1
  113. package/esm/framework.d.ts +0 -1
  114. package/esm/templates/theme.d.ts +0 -1
  115. package/esm/utils/setupPropsProxy.d.ts +0 -1
  116. package/esm/utils/theme.d.ts +0 -1
  117. package/package.json +31 -31
@@ -1,50 +1,23 @@
1
- import { QBadgeProps } from './types';
2
-
1
+ import { QBadgeProps, DEFAULT_ICONS } from './types';
3
2
  declare function __VLS_template(): {
4
- default?(_: {}): any;
5
- };
6
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QBadgeProps>, {
7
- text: string;
8
- color: string;
9
- variant: string;
10
- internals: () => {
11
- icons: Record<string, import('../QIcon').Icon>;
12
- };
13
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- "click:remove": () => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QBadgeProps>, {
16
- text: string;
17
- color: string;
18
- variant: string;
19
- internals: () => {
20
- icons: Record<string, import('../QIcon').Icon>;
3
+ slots: {
4
+ default?(_: {}): any;
21
5
  };
22
- }>>> & {
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<QBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
+ "click:remove": () => any;
12
+ }, string, import('vue').PublicProps, Readonly<QBadgeProps> & Readonly<{
23
13
  "onClick:remove"?: (() => any) | undefined;
24
- }, {
14
+ }>, {
25
15
  variant: "tonal" | "bold" | "outlined";
26
16
  color: string;
27
- internals: import('./types').Internals;
28
- }, {}>;
29
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
+ icons: typeof DEFAULT_ICONS;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
20
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToRuntimeProps<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
40
- type __VLS_WithDefaults<P, D> = {
41
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
- default: D[K];
43
- }> : P[K];
44
- };
45
- type __VLS_Prettify<T> = {
46
- [K in keyof T]: T[K];
47
- } & {};
48
21
  type __VLS_WithTemplateSlots<T, S> = T & {
49
22
  new (): {
50
23
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"QBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/QBadge.vue"],"names":[],"mappings":"AAmBA;AAOC,OAAO,KAAK,EAAE,WAAW,E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CAAE,CAAC"}
1
+ {"version":3,"file":"QBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/QBadge.vue"],"names":[],"mappings":"AAsFC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAG1C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAkExC,iBAAS,cAAc;;yBA6DM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;6EAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,69 +1,69 @@
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
- import { QButton as z } from "../QButton/index.js";
3
- import { QIcon as E } from "../QIcon/index.js";
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(
7
- "div",
8
- { class: "q-badge__underlay" },
9
- null,
10
- -1
11
- /* HOISTED */
12
- ), I = { class: "q-badge__content" }, D = /* @__PURE__ */ g({
1
+ import { defineComponent as g, computed as l, openBlock as a, createElementBlock as b, normalizeClass as C, normalizeStyle as _, createElementVNode as n, renderSlot as y, createBlock as q, unref as s, withCtx as k, createVNode as B, normalizeProps as x, guardReactiveProps as N, createCommentVNode as z } from "vue";
2
+ import { QButton as E } from "../QButton/index.js";
3
+ import { QIcon as Q } from "../QIcon/index.js";
4
+ import { DEFAULT_ICONS as S } from "./types.js";
5
+ import { parseColor as V, rgbToHsl as $, getContrastingColor as h } from "../../utils/color.js";
6
+ const w = { class: "q-badge__content" }, A = /* @__PURE__ */ g({
13
7
  __name: "QBadge",
14
8
  props: {
15
9
  color: { default: "primary" },
16
10
  variant: { default: "tonal" },
17
11
  removable: { type: Boolean },
18
12
  pill: { type: Boolean },
19
- internals: { default: () => ({ icons: Q }) }
13
+ icons: { default: () => S }
20
14
  },
21
15
  emits: ["click:remove"],
22
- setup(c, { emit: i }) {
23
- const e = c, d = i, l = r(
16
+ setup(i, { emit: c }) {
17
+ const e = i, d = c, r = l(
24
18
  () => ["primary", "info", "success", "warning", "danger"].includes(e.color)
25
- ), m = r(() => {
26
- const o = l.value ? `q-badge--${e.color}` : void 0;
19
+ ), m = l(() => {
20
+ const o = r.value ? `q-badge--${e.color}` : void 0;
27
21
  return ["q-badge", `q-badge--${e.variant}`, o, { "q-badge--pill": e.pill }];
28
- }), u = r(() => {
22
+ }), p = l(() => {
29
23
  let o, t;
30
- if (!l.value)
24
+ if (!r.value)
31
25
  if (o = e.color, e.variant === "tonal")
32
26
  t = e.color;
33
27
  else {
34
- const v = S(o), f = V(v);
35
- t = $(f.l);
28
+ const v = V(o), f = $(v);
29
+ t = h(f.l);
36
30
  }
37
31
  return {
38
32
  "--q-badge-color": o,
39
33
  "--q-badge-text-color": t
40
34
  };
41
35
  });
42
- function p() {
36
+ function u() {
43
37
  d("click:remove");
44
38
  }
45
- return (o, t) => (a(), _(
39
+ return (o, t) => (a(), b(
46
40
  "span",
47
41
  {
48
- class: b(m.value),
42
+ class: C(m.value),
49
43
  role: "presentation",
50
- style: C(u.value)
44
+ style: _(p.value)
51
45
  },
52
46
  [
53
- w,
54
- s("div", I, [
47
+ t[0] || (t[0] = n(
48
+ "div",
49
+ { class: "q-badge__underlay" },
50
+ null,
51
+ -1
52
+ /* HOISTED */
53
+ )),
54
+ n("div", w, [
55
55
  y(o.$slots, "default"),
56
- e.removable ? (a(), q(n(z), {
56
+ e.removable ? (a(), q(s(E), {
57
57
  key: 0,
58
58
  class: "q-badge__remove",
59
59
  borderless: "",
60
60
  tabindex: "0",
61
- onClick: p
61
+ onClick: u
62
62
  }, {
63
63
  default: k(() => [
64
64
  B(
65
- n(E),
66
- h(x(e.internals.icons.remove)),
65
+ s(Q),
66
+ x(N(e.icons.remove)),
67
67
  null,
68
68
  16
69
69
  /* FULL_PROPS */
@@ -71,7 +71,7 @@ const w = /* @__PURE__ */ s(
71
71
  ]),
72
72
  _: 1
73
73
  /* STABLE */
74
- })) : N("v-if", !0)
74
+ })) : z("v-if", !0)
75
75
  ])
76
76
  ],
77
77
  6
@@ -80,5 +80,5 @@ const w = /* @__PURE__ */ s(
80
80
  }
81
81
  });
82
82
  export {
83
- D as default
83
+ A as default
84
84
  };
@@ -1,5 +1,4 @@
1
1
  import { default as _QBadge } from './QBadge';
2
-
3
2
  declare const QBadge: typeof _QBadge;
4
3
  export { QBadge };
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,3 @@
1
- import { Icon } from '../QIcon';
2
-
3
1
  export type QBadgeProps = {
4
2
  /**
5
3
  * The color of the badge.
@@ -19,12 +17,13 @@ export type QBadgeProps = {
19
17
  */
20
18
  pill?: boolean;
21
19
  /**
22
- * The internal elements of the component.
20
+ * Custom icon configurations.
23
21
  */
24
- internals?: Internals;
22
+ icons?: typeof DEFAULT_ICONS;
25
23
  };
26
- export declare const DEFAULT_ICONS: Record<string, Icon>;
27
- export type Internals = {
28
- icons: typeof DEFAULT_ICONS;
24
+ export declare const DEFAULT_ICONS: {
25
+ remove: {
26
+ icon: string;
27
+ };
29
28
  };
30
29
  //# sourceMappingURL=types.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/types.ts"],"names":[],"mappings":"AAAA,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,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIzB,CAAA"}
@@ -1,47 +1,24 @@
1
1
  import { QButtonProps } from './types';
2
-
3
2
  declare function __VLS_template(): {
4
- default?(_: {}): any;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
5
8
  };
6
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QButtonProps>, {
7
- bStyle: string;
8
- label: string;
9
- size: string;
10
- class: undefined;
11
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- click: (event: Event) => void;
13
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QButtonProps>, {
14
- bStyle: string;
15
- label: string;
16
- size: string;
17
- class: undefined;
18
- }>>> & {
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<QButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
+ click: (event: Event) => any;
12
+ }, string, import('vue').PublicProps, Readonly<QButtonProps> & Readonly<{
19
13
  onClick?: ((event: Event) => any) | undefined;
20
- }, {
14
+ }>, {
21
15
  size: "regular" | "small";
22
16
  class: string | unknown[];
23
17
  label: string;
24
18
  bStyle: "primary" | "secondary" | "tertiary" | "danger" | "plain";
25
- }, {}>;
26
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
21
  export default _default;
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToRuntimeProps<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: import('vue').PropType<T[K]>;
34
- required: true;
35
- };
36
- };
37
- type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
- default: D[K];
40
- }> : P[K];
41
- };
42
- type __VLS_Prettify<T> = {
43
- [K in keyof T]: T[K];
44
- } & {};
45
22
  type __VLS_WithTemplateSlots<T, S> = T & {
46
23
  new (): {
47
24
  $slots: S;
@@ -1 +1 @@
1
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ACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AA4EC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAwD5C,iBAAS,cAAc;;yBA4CM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;6EAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { default as _QButton } from './QButton';
2
2
  import { QButtonProps } from './types';
3
-
4
3
  declare const QButton: typeof _QButton;
5
4
  export { QButton };
6
5
  export type { QButtonProps };
@@ -1,34 +1,17 @@
1
1
  import { QButtonGroupProps } from './types';
2
-
3
2
  declare function __VLS_template(): {
4
- default?(_: {}): any;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
5
8
  };
6
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QButtonGroupProps>, {
7
- class: undefined;
8
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QButtonGroupProps>, {
9
- class: undefined;
10
- }>>>, {
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<QButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QButtonGroupProps> & Readonly<{}>, {
11
11
  class: string | unknown[];
12
- }, {}>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
14
  export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
- type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
- default: D[K];
27
- }> : P[K];
28
- };
29
- type __VLS_Prettify<T> = {
30
- [K in keyof T]: T[K];
31
- } & {};
32
15
  type __VLS_WithTemplateSlots<T, S> = T & {
33
16
  new (): {
34
17
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"QButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/QButtonGroup.vue"],"names":[],"mappings":"AAYA;AAMC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AA0BjD,iBAAS,cAAc;qBAgDM,GAAG;EAG/B;AAQD,QAAA,MAAM,eAAe;;;;;;MAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sB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;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;6EAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { default as _QButtonGroup } from './QButtonGroup';
2
-
3
2
  declare const QButtonGroup: typeof _QButtonGroup;
4
3
  export { QButtonGroup };
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,50 +1,20 @@
1
- import { Option } from './types';
2
-
3
- declare function __VLS_template(): Partial<Record<string, (_: {}) => any>>;
4
- declare const __VLS_component: import('vue').DefineComponent<{
5
- modelValue: import('vue').PropType<string>;
6
- options: {
7
- type: import('vue').PropType<Option[]>;
8
- required: true;
9
- };
10
- disabled: {
11
- type: import('vue').PropType<boolean>;
12
- };
13
- borderless: {
14
- type: import('vue').PropType<boolean>;
15
- };
16
- elevated: {
17
- type: import('vue').PropType<boolean>;
18
- };
19
- required: {
20
- type: import('vue').PropType<boolean>;
21
- };
22
- class: {
23
- type: import('vue').PropType<string | unknown[]>;
24
- };
25
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
26
- modelValue: import('vue').PropType<string>;
27
- options: {
28
- type: import('vue').PropType<Option[]>;
29
- required: true;
30
- };
31
- disabled: {
32
- type: import('vue').PropType<boolean>;
33
- };
34
- borderless: {
35
- type: import('vue').PropType<boolean>;
36
- };
37
- elevated: {
38
- type: import('vue').PropType<boolean>;
39
- };
40
- required: {
41
- type: import('vue').PropType<boolean>;
42
- };
43
- class: {
44
- type: import('vue').PropType<string | unknown[]>;
45
- };
46
- }>>, {}, {}>;
47
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
1
+ import { QButtonToggleProps } from './types';
2
+ declare let __VLS_typeProps: QButtonToggleProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string;
5
+ } & typeof __VLS_typeProps;
6
+ declare function __VLS_template(): {
7
+ slots: Partial<Record<string, (_: {}) => any>>;
8
+ refs: {};
9
+ attrs: Partial<{}>;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "update:modelValue": (modelValue: string) => any;
14
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
18
  export default _default;
49
19
  type __VLS_WithTemplateSlots<T, S> = T & {
50
20
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"QButtonToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonToggle/QButtonToggle.vue"],"names":[],"mappings":"AAkBA;AAOC,OAAO,KAAK,EAAE,MAAM,EAAsB,MAAM,SAAS,CAAA;AAmB1D,iBAAS,cAAc,sCA+D+D,GAAG,GAIxF;AAeD,QAAA,MAAM,eAAe;gBAxFT,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC;;;kBAoG2J,IAAI;;;;;;;;;;;;;;;;;;gBApG7L,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC;;;kBAoG2J,IAAI;;;;;;;;;;;;;;;;;YAHvM,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"QButtonToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonToggle/QButtonToggle.vue"],"names":[],"mappings":"AA2CC,OAAO,KAAK,EAAU,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAI1D,QAAA,IAAI,eAAe,EAAG,kBAAkB,CAAC;AAgBzC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,eAAe,CAAC;AAI3B,iBAAS,cAAc;6CAyD+D,GAAG;;WAU3E,OAAO,IAA6B;EAEjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { default as _QButtonToggle } from './QButtonToggle';
2
-
3
2
  declare const QButtonToggle: typeof _QButtonToggle;
4
3
  export { QButtonToggle };
5
4
  //# sourceMappingURL=index.d.ts.map