@quidgest/ui 0.13.3 → 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 (187) hide show
  1. package/dist/manifest/components.json +4 -0
  2. package/dist/ui.css +81 -0
  3. package/dist/ui.esm.js +1163 -935
  4. package/dist/ui.js +6 -6
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +110 -101
  7. package/dist/ui.scss +1059 -973
  8. package/esm/components/QBadge/QBadge.d.ts +16 -68
  9. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  10. package/esm/components/QBadge/QBadge.vue.js +29 -32
  11. package/esm/components/QBadge/index.d.ts +2 -139
  12. package/esm/components/QBadge/index.d.ts.map +1 -1
  13. package/esm/components/QBadge/types.d.ts +29 -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 +15 -80
  17. package/esm/components/QButton/QButton.d.ts.map +1 -1
  18. package/esm/components/QButton/index.d.ts +3 -198
  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 +11 -42
  23. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  24. package/esm/components/QButtonGroup/index.d.ts +2 -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 +16 -73
  29. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  30. package/esm/components/QButtonToggle/index.d.ts +2 -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 +445 -435
  35. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  36. package/esm/components/QCombobox/QCombobox.vue.js +121 -126
  37. package/esm/components/QCombobox/index.d.ts +2 -1075
  38. package/esm/components/QCombobox/index.d.ts.map +1 -1
  39. package/esm/components/QCombobox/types.d.ts +93 -0
  40. package/esm/components/QCombobox/types.d.ts.map +1 -0
  41. package/esm/components/QCombobox/types.js +16 -0
  42. package/esm/components/QDialog/QDialog.d.ts +23 -186
  43. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  44. package/esm/components/QDialog/QDialog.vue.js +48 -64
  45. package/esm/components/QDialog/index.d.ts +3 -268
  46. package/esm/components/QDialog/index.d.ts.map +1 -1
  47. package/esm/components/QDialog/types.d.ts +80 -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 +22 -77
  51. package/esm/components/QField/QField.d.ts.map +1 -1
  52. package/esm/components/QField/index.d.ts +3 -169
  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 +6 -6
  57. package/esm/components/QIcon/InlineSvg.d.ts.map +1 -1
  58. package/esm/components/QIcon/InlineSvg.js +6 -13
  59. package/esm/components/QIcon/QIcon.d.ts +4 -46
  60. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  61. package/esm/components/QIcon/QIcon.vue.js +2 -2
  62. package/esm/components/QIcon/QIconFont.d.ts +3 -51
  63. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  64. package/esm/components/QIcon/QIconFont.vue.js +9 -9
  65. package/esm/components/QIcon/QIconImg.d.ts +2 -36
  66. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  67. package/esm/components/QIcon/QIconImg.vue.js +3 -3
  68. package/esm/components/QIcon/QIconSvg.d.ts +7 -65
  69. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  70. package/esm/components/QIcon/QIconSvg.vue.js +9 -9
  71. package/esm/components/QIcon/index.d.ts +9 -157
  72. package/esm/components/QIcon/index.d.ts.map +1 -1
  73. package/esm/components/QIcon/types.d.ts +40 -0
  74. package/esm/components/QIcon/types.d.ts.map +1 -0
  75. package/esm/components/QInputGroup/QInputGroup.d.ts +17 -74
  76. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  77. package/esm/components/QInputGroup/index.d.ts +2 -153
  78. package/esm/components/QInputGroup/index.d.ts.map +1 -1
  79. package/esm/components/QInputGroup/types.d.ts +34 -0
  80. package/esm/components/QInputGroup/types.d.ts.map +1 -0
  81. package/esm/components/QLineLoader/QLineLoader.d.ts +3 -29
  82. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  83. package/esm/components/QLineLoader/index.d.ts +2 -13
  84. package/esm/components/QLineLoader/index.d.ts.map +1 -1
  85. package/esm/components/QLineLoader/types.d.ts +7 -0
  86. package/esm/components/QLineLoader/types.d.ts.map +1 -0
  87. package/esm/components/QList/QList.d.ts +25 -116
  88. package/esm/components/QList/QList.d.ts.map +1 -1
  89. package/esm/components/QList/QListItem.d.ts +16 -84
  90. package/esm/components/QList/QListItem.d.ts.map +1 -1
  91. package/esm/components/QList/QListItem.vue.js +25 -31
  92. package/esm/components/QList/QListItemGroup.d.ts +11 -34
  93. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  94. package/esm/components/QList/index.d.ts +7 -453
  95. package/esm/components/QList/index.d.ts.map +1 -1
  96. package/esm/components/QList/types.d.ts +100 -0
  97. package/esm/components/QList/types.d.ts.map +1 -0
  98. package/esm/components/QList/types.js +11 -0
  99. package/esm/components/QOverlay/QOverlay.d.ts +31 -234
  100. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  101. package/esm/components/QOverlay/QOverlay.vue.js +1 -2
  102. package/esm/components/QOverlay/index.d.ts +2 -339
  103. package/esm/components/QOverlay/index.d.ts.map +1 -1
  104. package/esm/components/QOverlay/types.d.ts +87 -0
  105. package/esm/components/QOverlay/types.d.ts.map +1 -0
  106. package/esm/components/QPopover/QPopover.d.ts +21 -120
  107. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  108. package/esm/components/QPopover/index.d.ts +2 -180
  109. package/esm/components/QPopover/index.d.ts.map +1 -1
  110. package/esm/components/QPopover/types.d.ts +43 -0
  111. package/esm/components/QPopover/types.d.ts.map +1 -0
  112. package/esm/components/QPropertyList/QPropertyList.d.ts +42 -0
  113. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -0
  114. package/esm/components/QPropertyList/QPropertyList.vue.js +145 -0
  115. package/esm/components/QPropertyList/QPropertyList.vue2.js +4 -0
  116. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +11 -0
  117. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -0
  118. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +68 -0
  119. package/esm/components/QPropertyList/QPropertyListGroup.vue2.js +4 -0
  120. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +21 -0
  121. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -0
  122. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +43 -0
  123. package/esm/components/QPropertyList/QPropertyListPanel.vue2.js +4 -0
  124. package/esm/components/QPropertyList/QPropertyListRow.d.ts +24 -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 +12 -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 +137 -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 +202 -227
  135. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  136. package/esm/components/QSelect/QSelect.vue.js +140 -146
  137. package/esm/components/QSelect/index.d.ts +2 -369
  138. package/esm/components/QSelect/index.d.ts.map +1 -1
  139. package/esm/components/QSelect/types.d.ts +81 -0
  140. package/esm/components/QSelect/types.d.ts.map +1 -0
  141. package/esm/components/QSelect/types.js +16 -0
  142. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +3 -41
  143. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  144. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +19 -19
  145. package/esm/components/QSkeletonLoader/index.d.ts +2 -31
  146. package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
  147. package/esm/components/QSkeletonLoader/types.d.ts +15 -0
  148. package/esm/components/QSkeletonLoader/types.d.ts.map +1 -0
  149. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +3 -35
  150. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  151. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +6 -6
  152. package/esm/components/QSpinnerLoader/index.d.ts +2 -22
  153. package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
  154. package/esm/components/QSpinnerLoader/types.d.ts +11 -0
  155. package/esm/components/QSpinnerLoader/types.d.ts.map +1 -0
  156. package/esm/components/QTextField/QTextField.d.ts +103 -147
  157. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  158. package/esm/components/QTextField/index.d.ts +2 -229
  159. package/esm/components/QTextField/index.d.ts.map +1 -1
  160. package/esm/components/QTextField/types.d.ts +50 -0
  161. package/esm/components/QTextField/types.d.ts.map +1 -0
  162. package/esm/components/QThemeProvider/QThemeProvider.d.ts +10 -17
  163. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  164. package/esm/components/QThemeProvider/index.d.ts +2 -37
  165. package/esm/components/QThemeProvider/index.d.ts.map +1 -1
  166. package/esm/components/QThemeProvider/types.d.ts +7 -0
  167. package/esm/components/QThemeProvider/types.d.ts.map +1 -0
  168. package/esm/components/QTooltip/QTooltip.d.ts +28 -190
  169. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  170. package/esm/components/QTooltip/index.d.ts +2 -279
  171. package/esm/components/QTooltip/index.d.ts.map +1 -1
  172. package/esm/components/QTooltip/types.d.ts +66 -0
  173. package/esm/components/QTooltip/types.d.ts.map +1 -0
  174. package/esm/components/index.d.ts +1 -0
  175. package/esm/components/index.d.ts.map +1 -1
  176. package/esm/components/index.js +42 -37
  177. package/esm/composables/defaults.d.ts +0 -1
  178. package/esm/composables/defaults.js +3 -6
  179. package/esm/composables/theme.d.ts +0 -1
  180. package/esm/framework.d.ts +0 -1
  181. package/esm/index.d.ts +4 -0
  182. package/esm/templates/theme.d.ts +0 -1
  183. package/esm/utils/color.js +1 -2
  184. package/esm/utils/setupPropsProxy.d.ts +0 -1
  185. package/esm/utils/setupPropsProxy.js +2 -4
  186. package/esm/utils/theme.d.ts +0 -1
  187. package/package.json +40 -41
@@ -0,0 +1,37 @@
1
+ export type QFieldSize = 'mini' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'block';
2
+ export type QFieldProps = {
3
+ /**
4
+ * The field unique identifier.
5
+ */
6
+ id?: string;
7
+ /**
8
+ * The label of the input.
9
+ */
10
+ label?: string;
11
+ /**
12
+ * The form field associated with the label.
13
+ */
14
+ for?: string;
15
+ /**
16
+ * The size category of the field.
17
+ */
18
+ size?: QFieldSize;
19
+ /**
20
+ * Whether the input is readonly.
21
+ */
22
+ readonly?: boolean;
23
+ /**
24
+ * Whether the input is disabled.
25
+ */
26
+ disabled?: boolean;
27
+ /**
28
+ * If set to true, an asterisk (*) is displayed
29
+ * to indicate that the field is required.
30
+ */
31
+ required?: boolean;
32
+ /**
33
+ * Custom set of classes to apply to the component.
34
+ */
35
+ class?: string | unknown[];
36
+ };
37
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QField/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAE/F,MAAM,MAAM,WAAW,GAAG;IACzB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA"}
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  /**
3
3
  * The source URL of the SVG bundle.
4
4
  */
@@ -36,7 +36,7 @@ declare const _default: import('vue').DefineComponent<{
36
36
  type: BooleanConstructor;
37
37
  default: boolean;
38
38
  };
39
- }, any, {
39
+ }>, {}, {
40
40
  /** @type SVGElement */
41
41
  svgElSource: SVGElement;
42
42
  }, {}, {
@@ -96,15 +96,15 @@ declare const _default: import('vue').DefineComponent<{
96
96
  type: BooleanConstructor;
97
97
  default: boolean;
98
98
  };
99
- }>> & {
100
- onError?: ((payload?: any) => any) | undefined;
99
+ }>> & Readonly<{
101
100
  onLoaded?: ((payload?: any) => any) | undefined;
102
101
  onUnloaded?: (() => any) | undefined;
103
- }, {
102
+ onError?: ((payload?: any) => any) | undefined;
103
+ }>, {
104
104
  symbol: string;
105
105
  title: string;
106
106
  transformSource: Function;
107
107
  keepDuringLoading: boolean;
108
- }, {}>;
108
+ }, {}, {}, {}, never, import('vue').ComponentProvideOptions, true, {}, any>;
109
109
  export default _default;
110
110
  //# sourceMappingURL=InlineSvg.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InlineSvg.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/InlineSvg.js"],"names":[],"mappings":";IAoCE;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IASF,uBAAuB;iBAAb,UAAU;;;;;IAwCrB;;;OAGG;mBADQ,MAAM;IAoCjB;;;;OAIG;kBAFQ,MAAM;;;;;;IA7HjB;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
1
+ {"version":3,"file":"InlineSvg.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/InlineSvg.js"],"names":[],"mappings":";IAoCE;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IASF,uBAAuB;iBAAb,UAAU;;;;;IAwCrB;;;OAGG;mBADQ,MAAM;IAoCjB;;;;OAIG;kBAFQ,MAAM,GACJ,gBAAgB,CAAC,OAAO,CAAC;;;;;;IA9HtC;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
@@ -8,11 +8,9 @@ const o = {}, h = a({
8
8
  },
9
9
  inheritAttrs: !1,
10
10
  render() {
11
- if (!this.svgElSource)
12
- return null;
11
+ if (!this.svgElSource) return null;
13
12
  const t = this.getSvgContent(this.svgElSource);
14
- if (!t)
15
- return s("div", this.$attrs);
13
+ if (!t) return s("div", this.$attrs);
16
14
  const e = {};
17
15
  return this.copySvgAttrs(e, this.svgElSource), this.copySvgAttrs(e, t), this.copyComponentAttrs(e, this.$attrs), e.innerHTML = t.innerHTML, s("svg", e);
18
16
  },
@@ -67,9 +65,7 @@ const o = {}, h = a({
67
65
  methods: {
68
66
  copySvgAttrs(t, e) {
69
67
  const r = e.attributes;
70
- if (r)
71
- for (const n of r)
72
- t[n.name] = n.value;
68
+ if (r) for (const n of r) t[n.name] = n.value;
73
69
  },
74
70
  copyComponentAttrs(t, e) {
75
71
  for (const [r, n] of Object.entries(e))
@@ -98,11 +94,9 @@ const o = {}, h = a({
98
94
  */
99
95
  async download(t) {
100
96
  const e = await fetch(t);
101
- if (!e.ok)
102
- throw new Error("Error loading SVG");
97
+ if (!e.ok) throw new Error("Error loading SVG");
103
98
  const r = await e.text(), i = new DOMParser().parseFromString(r, "text/xml").getElementsByTagName("svg")[0];
104
- if (!i)
105
- throw new Error("Loaded file is not a valid SVG");
99
+ if (!i) throw new Error("Loaded file is not a valid SVG");
106
100
  return i;
107
101
  }
108
102
  },
@@ -123,8 +117,7 @@ function l(t, e) {
123
117
  }
124
118
  }
125
119
  function u(t) {
126
- if (t.getIsPending)
127
- return t;
120
+ if (t.getIsPending) return t;
128
121
  let e = !0;
129
122
  const r = t.then(
130
123
  (n) => (e = !1, n),
@@ -1,50 +1,8 @@
1
- export type Icon = {
2
- /**
3
- * The identifier of the icon.
4
- */
5
- icon: string;
6
- /**
7
- * The type of resource.
8
- */
9
- type?: 'svg' | 'font' | 'img';
10
- /**
11
- * The size of the icon, in pixels.
12
- */
13
- size?: number;
14
- /**
15
- * Custom set of classes to apply to the component.
16
- */
17
- class?: string | unknown[];
18
- };
19
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Icon>, {
20
- type: string;
21
- size: undefined;
22
- class: undefined;
23
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Icon>, {
24
- type: string;
25
- size: undefined;
26
- class: undefined;
27
- }>>>, {
1
+ import { Icon } from './types';
2
+ declare const _default: import('vue').DefineComponent<Icon, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Icon> & Readonly<{}>, {
28
3
  size: number;
29
4
  class: string | unknown[];
30
- type: "img" | "svg" | "font";
31
- }, {}>;
5
+ type: "svg" | "font" | "img";
6
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
7
  export default _default;
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToRuntimeProps<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
42
- type __VLS_WithDefaults<P, D> = {
43
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
- default: D[K];
45
- }> : P[K];
46
- };
47
- type __VLS_Prettify<T> = {
48
- [K in keyof T]: T[K];
49
- } & {};
50
8
  //# sourceMappingURL=QIcon.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIcon.vue"],"names":[],"mappings":"AAOA;AAQC,MAAM,MAAM,IAAI,GAAG;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,CAAA;IAE7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA;;;;;;;;;;;;;;AAsEF,wBAMG;AACH,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"}
1
+ {"version":3,"file":"QIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIcon.vue"],"names":[],"mappings":"AA2CC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;;;;;;AAoFpC,wBAOG"}
@@ -4,9 +4,9 @@ const _ = /* @__PURE__ */ c({
4
4
  __name: "QIcon",
5
5
  props: {
6
6
  icon: {},
7
- type: { default: "svg" },
8
7
  size: { default: void 0 },
9
- class: { default: void 0 }
8
+ class: { default: void 0 },
9
+ type: { default: "svg" }
10
10
  },
11
11
  setup(o) {
12
12
  const e = o, n = s(() => {
@@ -1,57 +1,9 @@
1
- export type QIconFontProps = {
2
- /**
3
- * The classname containing the content of the font icon.
4
- */
5
- icon: string;
6
- /**
7
- * The name of the icon library.
8
- */
9
- library?: string;
10
- /**
11
- * The icon variant.
12
- */
13
- variant?: string;
14
- /**
15
- * The size of the icon, in pixels.
16
- */
17
- size?: number;
18
- /**
19
- * Custom set of classes to apply to the component.
20
- */
21
- class?: string | unknown[];
22
- };
23
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QIconFontProps>, {
24
- library: string;
25
- variant: string;
26
- size: undefined;
27
- class: undefined;
28
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QIconFontProps>, {
29
- library: string;
30
- variant: string;
31
- size: undefined;
32
- class: undefined;
33
- }>>>, {
1
+ import { QIconFontProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<QIconFontProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QIconFontProps> & Readonly<{}>, {
34
3
  size: number;
35
4
  class: string | unknown[];
36
5
  library: string;
37
6
  variant: string;
38
- }, {}>;
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
8
  export default _default;
40
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
- type __VLS_TypePropsToRuntimeProps<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K> ? {
43
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
- } : {
45
- type: import('vue').PropType<T[K]>;
46
- required: true;
47
- };
48
- };
49
- type __VLS_WithDefaults<P, D> = {
50
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
- default: D[K];
52
- }> : P[K];
53
- };
54
- type __VLS_Prettify<T> = {
55
- [K in keyof T]: T[K];
56
- } & {};
57
9
  //# sourceMappingURL=QIconFont.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QIconFont.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconFont.vue"],"names":[],"mappings":"AAMA;AAKC,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA;;;;;;;;;;;;;;;;;AA8EF,wBAMG;AACH,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"}
1
+ {"version":3,"file":"QIconFont.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconFont.vue"],"names":[],"mappings":"AAsCC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;;;;;;;AAwF9C,wBAOG"}
@@ -1,22 +1,22 @@
1
- import { defineComponent as o, computed as r, openBlock as l, createElementBlock as c, normalizeClass as s, normalizeStyle as u } from "vue";
2
- const v = /* @__PURE__ */ o({
1
+ import { defineComponent as t, computed as e, openBlock as l, createElementBlock as c, normalizeClass as s, normalizeStyle as u } from "vue";
2
+ const v = /* @__PURE__ */ t({
3
3
  __name: "QIconFont",
4
4
  props: {
5
5
  icon: {},
6
- library: { default: "" },
7
- variant: { default: "" },
8
6
  size: { default: void 0 },
9
- class: { default: void 0 }
7
+ class: { default: void 0 },
8
+ library: { default: "" },
9
+ variant: { default: "" }
10
10
  },
11
- setup(e) {
12
- const n = e, t = r(() => n.variant ? `${n.library}-${n.variant}` : n.library), a = r(() => n.library && n.icon ? `${n.library}-${n.icon}` : n.icon), i = r(() => ({
11
+ setup(r) {
12
+ const n = r, a = e(() => n.variant ? `${n.library}-${n.variant}` : n.library), i = e(() => n.library && n.icon ? `${n.library}-${n.icon}` : n.icon), o = e(() => ({
13
13
  "font-size": n.size !== void 0 ? `${n.size}px` : void 0
14
14
  }));
15
15
  return (f, d) => (l(), c(
16
16
  "i",
17
17
  {
18
- class: s(["q-icon", "q-icon__font", t.value, a.value, n.class]),
19
- style: u(i.value)
18
+ class: s(["q-icon", "q-icon__font", a.value, i.value, n.class]),
19
+ style: u(o.value)
20
20
  },
21
21
  null,
22
22
  6
@@ -1,38 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- /**
3
- * The URL of the image to be used as the icon.
4
- */
5
- icon: string;
6
- /**
7
- * The size of the icon, in pixels.
8
- */
9
- size?: number | undefined;
10
- /**
11
- * Custom set of classes to apply to the component.
12
- */
13
- class?: string | unknown[] | undefined;
14
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
15
- /**
16
- * The URL of the image to be used as the icon.
17
- */
18
- icon: string;
19
- /**
20
- * The size of the icon, in pixels.
21
- */
22
- size?: number | undefined;
23
- /**
24
- * Custom set of classes to apply to the component.
25
- */
26
- class?: string | unknown[] | undefined;
27
- }>>>, {}, {}>;
1
+ import { QIconGenericProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<QIconGenericProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QIconGenericProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
3
  export default _default;
29
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToRuntimeProps<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
- } : {
34
- type: import('vue').PropType<T[K]>;
35
- required: true;
36
- };
37
- };
38
4
  //# sourceMappingURL=QIconImg.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QIconImg.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconImg.vue"],"names":[],"mappings":"AAMA;;IA8FE;;OAEG;UACG,MAAM;IAEZ;;OAEG;;IAGH;;OAEG;;;IAZH;;OAEG;UACG,MAAM;IAEZ;;OAEG;;IAGH;;OAEG;;;AAlBL,wBAqBG;AACH,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"}
1
+ {"version":3,"file":"QIconImg.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconImg.vue"],"names":[],"mappings":"AAuBC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;;AAgEjD,wBAMG"}
@@ -1,5 +1,5 @@
1
- import { defineComponent as n, computed as c, openBlock as t, createElementBlock as i, normalizeClass as l, normalizeStyle as r } from "vue";
2
- const a = ["src"], u = /* @__PURE__ */ n({
1
+ import { defineComponent as c, computed as n, openBlock as t, createElementBlock as i, normalizeClass as l, normalizeStyle as r } from "vue";
2
+ const a = ["src"], u = /* @__PURE__ */ c({
3
3
  __name: "QIconImg",
4
4
  props: {
5
5
  icon: {},
@@ -7,7 +7,7 @@ const a = ["src"], u = /* @__PURE__ */ n({
7
7
  class: {}
8
8
  },
9
9
  setup(o) {
10
- const e = o, s = c(() => ({
10
+ const e = o, s = n(() => ({
11
11
  "font-size": e.size !== void 0 ? `${e.size}px` : void 0
12
12
  }));
13
13
  return (m, p) => (t(), i("img", {
@@ -1,72 +1,14 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- /**
3
- * The identifier of the SVG.
4
- */
5
- icon: string;
6
- /**
7
- * The name of the SVG bundle.
8
- */
9
- bundle?: string | undefined;
10
- /**
11
- * The size of the icon, in pixels.
12
- */
13
- size?: number | undefined;
14
- /**
15
- * Custom set of classes to apply to the component.
16
- */
17
- class?: string | unknown[] | undefined;
18
- }>, {
19
- bundle: string;
20
- size: undefined;
21
- class: undefined;
22
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- loaded: (value: Element) => void;
24
- unloaded: () => void;
25
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
26
- /**
27
- * The identifier of the SVG.
28
- */
29
- icon: string;
30
- /**
31
- * The name of the SVG bundle.
32
- */
33
- bundle?: string | undefined;
34
- /**
35
- * The size of the icon, in pixels.
36
- */
37
- size?: number | undefined;
38
- /**
39
- * Custom set of classes to apply to the component.
40
- */
41
- class?: string | unknown[] | undefined;
42
- }>, {
43
- bundle: string;
44
- size: undefined;
45
- class: undefined;
46
- }>>> & {
1
+ import { QIconSvgProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<QIconSvgProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ loaded: (value: Element) => any;
4
+ unloaded: () => any;
5
+ }, string, import('vue').PublicProps, Readonly<QIconSvgProps> & Readonly<{
47
6
  onLoaded?: ((value: Element) => any) | undefined;
48
7
  onUnloaded?: (() => any) | undefined;
49
- }, {
8
+ }>, {
50
9
  size: number;
51
10
  class: string | unknown[];
52
11
  bundle: string;
53
- }, {}>;
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
54
13
  export default _default;
55
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
56
- type __VLS_TypePropsToRuntimeProps<T> = {
57
- [K in keyof T]-?: {} extends Pick<T, K> ? {
58
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
59
- } : {
60
- type: import('vue').PropType<T[K]>;
61
- required: true;
62
- };
63
- };
64
- type __VLS_WithDefaults<P, D> = {
65
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
66
- default: D[K];
67
- }> : P[K];
68
- };
69
- type __VLS_Prettify<T> = {
70
- [K in keyof T]: T[K];
71
- } & {};
72
14
  //# sourceMappingURL=QIconSvg.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QIconSvg.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconSvg.vue"],"names":[],"mappings":"AASA;;IAgJG;;OAEG;UACG,MAAM;IAEZ;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;IAjBH;;OAEG;UACG,MAAM;IAEZ;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;UAJI,MAAM;WAKL,MAAM,GAAG,OAAO,EAAE;YAVjB,MAAM;;AAdlB,wBA2BG;AACH,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"}
1
+ {"version":3,"file":"QIconSvg.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconSvg.vue"],"names":[],"mappings":"AAiDC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;AAiI7C,wBAWG"}
@@ -4,25 +4,25 @@ const b = /* @__PURE__ */ d({
4
4
  __name: "QIconSvg",
5
5
  props: {
6
6
  icon: {},
7
- bundle: { default: "" },
8
7
  size: { default: void 0 },
9
- class: { default: void 0 }
8
+ class: { default: void 0 },
9
+ bundle: { default: "" }
10
10
  },
11
11
  emits: ["loaded", "unloaded"],
12
12
  setup(s, { emit: l }) {
13
- const e = s, o = l, t = a(() => ({
14
- "font-size": e.size !== void 0 ? `${e.size}px` : void 0
13
+ const o = s, e = l, t = a(() => ({
14
+ "font-size": o.size !== void 0 ? `${o.size}px` : void 0
15
15
  }));
16
16
  function c(n) {
17
- o("loaded", n);
17
+ e("loaded", n);
18
18
  }
19
19
  function i() {
20
- o("unloaded");
20
+ e("unloaded");
21
21
  }
22
22
  return (n, _) => (r(), u(m(v), {
23
- class: f(["q-icon", "q-icon__svg", e.class]),
24
- src: e.bundle,
25
- symbol: e.icon,
23
+ class: f(["q-icon", "q-icon__svg", o.class]),
24
+ src: o.bundle,
25
+ symbol: o.icon,
26
26
  style: p(t.value),
27
27
  onLoaded: c,
28
28
  onUnloaded: i
@@ -1,160 +1,12 @@
1
- import { Icon } from './QIcon';
2
-
3
- declare const QIcon: import('vue').DefineComponent<{
4
- size: {
5
- type: import('vue').PropType<number>;
6
- default: undefined;
7
- };
8
- class: {
9
- type: import('vue').PropType<string | unknown[]>;
10
- default: undefined;
11
- };
12
- type: {
13
- type: import('vue').PropType<"img" | "svg" | "font">;
14
- default: string;
15
- };
16
- icon: {
17
- type: import('vue').PropType<string>;
18
- required: true;
19
- };
20
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
- size: {
22
- type: import('vue').PropType<number>;
23
- default: undefined;
24
- };
25
- class: {
26
- type: import('vue').PropType<string | unknown[]>;
27
- default: undefined;
28
- };
29
- type: {
30
- type: import('vue').PropType<"img" | "svg" | "font">;
31
- default: string;
32
- };
33
- icon: {
34
- type: import('vue').PropType<string>;
35
- required: true;
36
- };
37
- }>>, {
38
- size: number;
39
- class: string | unknown[];
40
- type: "img" | "svg" | "font";
41
- }, {}>;
42
- declare const QIconFont: import('vue').DefineComponent<{
43
- size: {
44
- type: import('vue').PropType<number>;
45
- default: undefined;
46
- };
47
- class: {
48
- type: import('vue').PropType<string | unknown[]>;
49
- default: undefined;
50
- };
51
- icon: {
52
- type: import('vue').PropType<string>;
53
- required: true;
54
- };
55
- library: {
56
- type: import('vue').PropType<string>;
57
- default: string;
58
- };
59
- variant: {
60
- type: import('vue').PropType<string>;
61
- default: string;
62
- };
63
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
64
- size: {
65
- type: import('vue').PropType<number>;
66
- default: undefined;
67
- };
68
- class: {
69
- type: import('vue').PropType<string | unknown[]>;
70
- default: undefined;
71
- };
72
- icon: {
73
- type: import('vue').PropType<string>;
74
- required: true;
75
- };
76
- library: {
77
- type: import('vue').PropType<string>;
78
- default: string;
79
- };
80
- variant: {
81
- type: import('vue').PropType<string>;
82
- default: string;
83
- };
84
- }>>, {
85
- size: number;
86
- class: string | unknown[];
87
- library: string;
88
- variant: string;
89
- }, {}>;
90
- declare const QIconImg: import('vue').DefineComponent<{
91
- icon: {
92
- type: import('vue').PropType<string>;
93
- required: true;
94
- };
95
- size: {
96
- type: import('vue').PropType<number>;
97
- };
98
- class: {
99
- type: import('vue').PropType<string | unknown[]>;
100
- };
101
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
102
- icon: {
103
- type: import('vue').PropType<string>;
104
- required: true;
105
- };
106
- size: {
107
- type: import('vue').PropType<number>;
108
- };
109
- class: {
110
- type: import('vue').PropType<string | unknown[]>;
111
- };
112
- }>>, {}, {}>;
113
- declare const QIconSvg: import('vue').DefineComponent<{
114
- size: {
115
- type: import('vue').PropType<number>;
116
- default: undefined;
117
- };
118
- class: {
119
- type: import('vue').PropType<string | unknown[]>;
120
- default: undefined;
121
- };
122
- icon: {
123
- type: import('vue').PropType<string>;
124
- required: true;
125
- };
126
- bundle: {
127
- type: import('vue').PropType<string>;
128
- default: string;
129
- };
130
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
131
- loaded: (value: Element) => void;
132
- unloaded: () => void;
133
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
134
- size: {
135
- type: import('vue').PropType<number>;
136
- default: undefined;
137
- };
138
- class: {
139
- type: import('vue').PropType<string | unknown[]>;
140
- default: undefined;
141
- };
142
- icon: {
143
- type: import('vue').PropType<string>;
144
- required: true;
145
- };
146
- bundle: {
147
- type: import('vue').PropType<string>;
148
- default: string;
149
- };
150
- }>> & {
151
- onLoaded?: ((value: Element) => any) | undefined;
152
- onUnloaded?: (() => any) | undefined;
153
- }, {
154
- size: number;
155
- class: string | unknown[];
156
- bundle: string;
157
- }, {}>;
1
+ import { default as _QIcon } from './QIcon';
2
+ import { default as _QIconFont } from './QIconFont';
3
+ import { default as _QIconImg } from './QIconImg';
4
+ import { default as _QIconSvg } from './QIconSvg';
5
+ import { Icon } from './types';
6
+ declare const QIcon: typeof _QIcon;
7
+ declare const QIconFont: typeof _QIconFont;
8
+ declare const QIconImg: typeof _QIconImg;
9
+ declare const QIconSvg: typeof _QIconSvg;
158
10
  export { QIcon, QIconFont, QIconImg, QIconSvg };
159
11
  export type { Icon };
160
12
  //# sourceMappingURL=index.d.ts.map