@quidgest/ui 0.4.0 → 0.5.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 (105) hide show
  1. package/dist/index.d.ts +1590 -0
  2. package/dist/ui.esm.js +895 -1628
  3. package/dist/ui.esm.js.map +1 -1
  4. package/dist/ui.js +4 -4
  5. package/dist/ui.js.map +1 -1
  6. package/dist/ui.min.js +172 -362
  7. package/dist/ui.min.js.map +1 -1
  8. package/{lib/styles → dist}/ui.scss +1 -1
  9. package/package.json +23 -24
  10. package/lib/components/QButton/QButton.vue.d.ts +0 -128
  11. package/lib/components/QButton/QButton.vue.d.ts.map +0 -1
  12. package/lib/components/QButton/index.d.ts +0 -3
  13. package/lib/components/QButton/index.d.ts.map +0 -1
  14. package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts +0 -36
  15. package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts.map +0 -1
  16. package/lib/components/QButtonGroup/index.d.ts +0 -3
  17. package/lib/components/QButtonGroup/index.d.ts.map +0 -1
  18. package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts +0 -57
  19. package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts.map +0 -1
  20. package/lib/components/QButtonToggle/index.d.ts +0 -3
  21. package/lib/components/QButtonToggle/index.d.ts.map +0 -1
  22. package/lib/components/QIcon/InlineSvg.d.ts +0 -72
  23. package/lib/components/QIcon/InlineSvg.d.ts.map +0 -1
  24. package/lib/components/QIcon/QIcon.vue.d.ts +0 -46
  25. package/lib/components/QIcon/QIcon.vue.d.ts.map +0 -1
  26. package/lib/components/QIcon/QIconFont.vue.d.ts +0 -59
  27. package/lib/components/QIcon/QIconFont.vue.d.ts.map +0 -1
  28. package/lib/components/QIcon/QIconImg.vue.d.ts +0 -19
  29. package/lib/components/QIcon/QIconImg.vue.d.ts.map +0 -1
  30. package/lib/components/QIcon/QIconSvg.vue.d.ts +0 -38
  31. package/lib/components/QIcon/QIconSvg.vue.d.ts.map +0 -1
  32. package/lib/components/QIcon/index.d.ts +0 -8
  33. package/lib/components/QIcon/index.d.ts.map +0 -1
  34. package/lib/components/QInput/QInput.vue.d.ts +0 -43
  35. package/lib/components/QInput/QInput.vue.d.ts.map +0 -1
  36. package/lib/components/QInput/index.d.ts +0 -3
  37. package/lib/components/QInput/index.d.ts.map +0 -1
  38. package/lib/components/QLineLoader/QLineLoader.vue.d.ts +0 -3
  39. package/lib/components/QLineLoader/QLineLoader.vue.d.ts.map +0 -1
  40. package/lib/components/QLineLoader/index.d.ts +0 -3
  41. package/lib/components/QLineLoader/index.d.ts.map +0 -1
  42. package/lib/components/QList/QList.vue.d.ts +0 -66
  43. package/lib/components/QList/QList.vue.d.ts.map +0 -1
  44. package/lib/components/QList/QListItem.vue.d.ts +0 -80
  45. package/lib/components/QList/QListItem.vue.d.ts.map +0 -1
  46. package/lib/components/QList/QListItemGroup.vue.d.ts +0 -54
  47. package/lib/components/QList/QListItemGroup.vue.d.ts.map +0 -1
  48. package/lib/components/QList/index.d.ts +0 -7
  49. package/lib/components/QList/index.d.ts.map +0 -1
  50. package/lib/components/QOverlay/QOverlay.vue.d.ts +0 -143
  51. package/lib/components/QOverlay/QOverlay.vue.d.ts.map +0 -1
  52. package/lib/components/QOverlay/index.d.ts +0 -3
  53. package/lib/components/QOverlay/index.d.ts.map +0 -1
  54. package/lib/components/QPopover/QPopover.vue.d.ts +0 -97
  55. package/lib/components/QPopover/QPopover.vue.d.ts.map +0 -1
  56. package/lib/components/QPopover/index.d.ts +0 -3
  57. package/lib/components/QPopover/index.d.ts.map +0 -1
  58. package/lib/components/QSelect/QSelect.vue.d.ts +0 -135
  59. package/lib/components/QSelect/QSelect.vue.d.ts.map +0 -1
  60. package/lib/components/QSelect/index.d.ts +0 -3
  61. package/lib/components/QSelect/index.d.ts.map +0 -1
  62. package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts +0 -15
  63. package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts.map +0 -1
  64. package/lib/components/QSpinnerLoader/index.d.ts +0 -3
  65. package/lib/components/QSpinnerLoader/index.d.ts.map +0 -1
  66. package/lib/components/QTooltip/QTooltip.vue.d.ts +0 -99
  67. package/lib/components/QTooltip/QTooltip.vue.d.ts.map +0 -1
  68. package/lib/components/QTooltip/index.d.ts +0 -3
  69. package/lib/components/QTooltip/index.d.ts.map +0 -1
  70. package/lib/components/index.d.ts +0 -13
  71. package/lib/components/index.d.ts.map +0 -1
  72. package/lib/composables/defaults.d.ts +0 -7
  73. package/lib/composables/defaults.d.ts.map +0 -1
  74. package/lib/composables/index.d.ts +0 -4
  75. package/lib/composables/index.d.ts.map +0 -1
  76. package/lib/composables/overlay.d.ts +0 -14
  77. package/lib/composables/overlay.d.ts.map +0 -1
  78. package/lib/composables/theme.d.ts +0 -26
  79. package/lib/composables/theme.d.ts.map +0 -1
  80. package/lib/composables/uid.d.ts +0 -2
  81. package/lib/composables/uid.d.ts.map +0 -1
  82. package/lib/directives/click-outside/index.d.ts +0 -7
  83. package/lib/directives/click-outside/index.d.ts.map +0 -1
  84. package/lib/directives/index.d.ts +0 -2
  85. package/lib/directives/index.d.ts.map +0 -1
  86. package/lib/framework.d.ts +0 -9
  87. package/lib/framework.d.ts.map +0 -1
  88. package/lib/index.d.ts +0 -5
  89. package/lib/index.d.ts.map +0 -1
  90. package/lib/templates/index.d.ts +0 -2
  91. package/lib/templates/index.d.ts.map +0 -1
  92. package/lib/templates/theme.d.ts +0 -4
  93. package/lib/templates/theme.d.ts.map +0 -1
  94. package/lib/types/primitive.d.ts +0 -2
  95. package/lib/types/primitive.d.ts.map +0 -1
  96. package/lib/utils/color.d.ts +0 -74
  97. package/lib/utils/color.d.ts.map +0 -1
  98. package/lib/utils/defineComponent.d.ts +0 -4
  99. package/lib/utils/defineComponent.d.ts.map +0 -1
  100. package/lib/utils/getCurrentInstance.d.ts +0 -2
  101. package/lib/utils/getCurrentInstance.d.ts.map +0 -1
  102. package/lib/utils/getElement.d.ts +0 -7
  103. package/lib/utils/getElement.d.ts.map +0 -1
  104. /package/{lib/styles → dist}/ui.css +0 -0
  105. /package/{lib/styles → dist}/ui.min.css +0 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quid UI Framework v0.4.0
2
+ * Quidgest Framework v0.5.0
3
3
  * (c) 2023 Quidgest - Consultores de Gestão, SA
4
4
  */
5
5
  /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@quidgest/ui",
3
3
  "private": false,
4
4
  "description": "Quidgest UI kit",
5
- "version": "0.4.0",
5
+ "version": "0.5.0",
6
6
  "author": {
7
7
  "name": "Quidgest"
8
8
  },
@@ -10,9 +10,9 @@
10
10
  "module": "dist/ui.esm.js",
11
11
  "jsdelivr": "dist/ui.js",
12
12
  "unpkg": "dist/ui.js",
13
- "types": "lib/index.d.ts",
14
- "sass": "lib/styles/ui.scss",
15
- "style": "lib/styles/ui.css",
13
+ "types": "dist/index.d.ts",
14
+ "sass": "dist/ui.scss",
15
+ "style": "dist/ui.css",
16
16
  "sideEffects": [
17
17
  "*.sass",
18
18
  "*.scss",
@@ -20,30 +20,30 @@
20
20
  "*.vue"
21
21
  ],
22
22
  "files": [
23
- "dist",
24
- "lib"
23
+ "dist"
25
24
  ],
26
25
  "exports": {
27
26
  ".": {
28
- "sass": "./lib/styles/ui.scss",
29
- "style": "./dist/ui.css",
30
- "types": "./lib/index.d.ts",
31
- "default": "./dist/ui.js"
27
+ "require": {
28
+ "sass": "./dist/ui.scss",
29
+ "style": "./dist/ui.css",
30
+ "types": "./dist/index.d.ts",
31
+ "default": "./dist/ui.js"
32
+ },
33
+ "import": {
34
+ "sass": "./dist/ui.scss",
35
+ "style": "./dist/ui.css",
36
+ "types": "./dist/index.d.ts",
37
+ "default": "./dist/ui.esm.js"
38
+ }
32
39
  },
33
40
  "./styles": {
34
- "sass": "./lib/styles/ui.scss",
41
+ "sass": "./dist/ui.scss",
35
42
  "default": "./dist/ui.css"
36
- },
37
- "./styles/*": "./lib/styles/*",
38
- "./*": "./*"
39
- },
40
- "dependencies": {
41
- "lodash-es": "^4.17.21"
43
+ }
42
44
  },
43
45
  "devDependencies": {
44
46
  "@fortawesome/fontawesome-free": "^6.4.2",
45
- "@rollup/plugin-alias": "^5.0.1",
46
- "@rollup/plugin-node-resolve": "^15.2.2",
47
47
  "@rollup/plugin-terser": "^0.4.4",
48
48
  "@storybook/addon-essentials": "7.4.6",
49
49
  "@storybook/addon-interactions": "7.4.6",
@@ -80,9 +80,9 @@
80
80
  "storybook": "7.4.6",
81
81
  "typescript": "^5.2.2",
82
82
  "vite": "^4.4.11",
83
+ "vite-plugin-dts": "^3.6.3",
83
84
  "vitest": "^0.34.6",
84
- "vue-eslint-parser": "^9.3.1",
85
- "vue-tsc": "^1.8.15"
85
+ "vue-eslint-parser": "^9.3.1"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "vue": "^3.3.4"
@@ -94,10 +94,9 @@
94
94
  },
95
95
  "scripts": {
96
96
  "clean": "rimraf dist lib",
97
- "build": "pnpm clean && pnpm build:dist && pnpm build:lib && pnpm build:types",
97
+ "build": "pnpm clean && pnpm build:dist && pnpm build:css",
98
98
  "build:dist": "vite build",
99
- "build:lib": "node build/css.mjs",
100
- "build:types": "vue-tsc --pretty --emitDeclarationOnly -p tsconfig.dist.json",
99
+ "build:css": "node build/css.mjs",
101
100
  "format": "prettier . --check",
102
101
  "format:fix": "prettier . --write",
103
102
  "lint": "eslint --max-warnings 0 --ext .ts,.vue .",
@@ -1,128 +0,0 @@
1
- export type QButtonProps = {
2
- /**
3
- * Whether the button is in an active state.
4
- */
5
- active?: boolean;
6
- /**
7
- * The style of the button.
8
- */
9
- bStyle?: 'primary' | 'secondary' | 'tertiary' | 'danger' | 'plain';
10
- /**
11
- * The label of the button.
12
- */
13
- label?: string;
14
- /**
15
- * Indicates if the button is disabled.
16
- */
17
- disabled?: boolean;
18
- /**
19
- * Indicates if the icon should be displayed on the right side.
20
- */
21
- iconOnRight?: boolean;
22
- /**
23
- * Indicates if the button's border should be removed.
24
- */
25
- borderless?: boolean;
26
- /**
27
- * Indicates if the button should have an elevated appearance.
28
- */
29
- elevated?: boolean;
30
- /**
31
- * Indicates if the button should span the full width of its container.
32
- */
33
- block?: boolean;
34
- /**
35
- * Indicates whether the button is in a loading state.
36
- */
37
- loading?: boolean;
38
- /**
39
- * The size of the button.
40
- */
41
- size?: 'regular' | 'small';
42
- };
43
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
- size: {
45
- type: import("vue").PropType<"small" | "regular">;
46
- default: string;
47
- };
48
- label: {
49
- type: import("vue").PropType<string>;
50
- default: string;
51
- };
52
- active: {
53
- type: import("vue").PropType<boolean>;
54
- };
55
- bStyle: {
56
- type: import("vue").PropType<"primary" | "secondary" | "tertiary" | "danger" | "plain">;
57
- default: string;
58
- };
59
- disabled: {
60
- type: import("vue").PropType<boolean>;
61
- };
62
- iconOnRight: {
63
- type: import("vue").PropType<boolean>;
64
- };
65
- borderless: {
66
- type: import("vue").PropType<boolean>;
67
- };
68
- elevated: {
69
- type: import("vue").PropType<boolean>;
70
- };
71
- block: {
72
- type: import("vue").PropType<boolean>;
73
- };
74
- loading: {
75
- type: import("vue").PropType<boolean>;
76
- };
77
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
78
- click: (event: Event) => void;
79
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
80
- size: {
81
- type: import("vue").PropType<"small" | "regular">;
82
- default: string;
83
- };
84
- label: {
85
- type: import("vue").PropType<string>;
86
- default: string;
87
- };
88
- active: {
89
- type: import("vue").PropType<boolean>;
90
- };
91
- bStyle: {
92
- type: import("vue").PropType<"primary" | "secondary" | "tertiary" | "danger" | "plain">;
93
- default: string;
94
- };
95
- disabled: {
96
- type: import("vue").PropType<boolean>;
97
- };
98
- iconOnRight: {
99
- type: import("vue").PropType<boolean>;
100
- };
101
- borderless: {
102
- type: import("vue").PropType<boolean>;
103
- };
104
- elevated: {
105
- type: import("vue").PropType<boolean>;
106
- };
107
- block: {
108
- type: import("vue").PropType<boolean>;
109
- };
110
- loading: {
111
- type: import("vue").PropType<boolean>;
112
- };
113
- }>> & {
114
- onClick?: ((event: Event) => any) | undefined;
115
- }, {
116
- size: "small" | "regular";
117
- label: string;
118
- bStyle: "primary" | "secondary" | "tertiary" | "danger" | "plain";
119
- }, {}>, {
120
- default?(_: {}): any;
121
- }>;
122
- export default _default;
123
- type __VLS_WithTemplateSlots<T, S> = T & {
124
- new (): {
125
- $slots: S;
126
- };
127
- };
128
- //# sourceMappingURL=QButton.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue.ts"],"names":[],"mappings":"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;CAC1B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuKF,wBAAwG;AAWxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import QButton from './QButton.vue';
2
- export { QButton };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,eAAe,CAAA;AAEnC,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -1,36 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- bStyle: {
3
- type: import("vue").PropType<"primary" | "secondary" | "danger">;
4
- };
5
- disabled: {
6
- type: import("vue").PropType<boolean>;
7
- };
8
- borderless: {
9
- type: import("vue").PropType<boolean>;
10
- };
11
- elevated: {
12
- type: import("vue").PropType<boolean>;
13
- };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
- bStyle: {
16
- type: import("vue").PropType<"primary" | "secondary" | "danger">;
17
- };
18
- disabled: {
19
- type: import("vue").PropType<boolean>;
20
- };
21
- borderless: {
22
- type: import("vue").PropType<boolean>;
23
- };
24
- elevated: {
25
- type: import("vue").PropType<boolean>;
26
- };
27
- }>>, {}, {}>, {
28
- default?(_: {}): any;
29
- }>;
30
- export default _default;
31
- type __VLS_WithTemplateSlots<T, S> = T & {
32
- new (): {
33
- $slots: S;
34
- };
35
- };
36
- //# sourceMappingURL=QButtonGroup.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/QButtonGroup.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0JA,wBAAwG;AAKxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import QButtonGroup from './QButtonGroup.vue';
2
- export { QButtonGroup };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,oBAAoB,CAAA;AAE7C,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1,57 +0,0 @@
1
- export type QButtonToggleOption = {
2
- key: string;
3
- title?: string;
4
- label?: string;
5
- };
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
- modelValue: {
8
- type: import("vue").PropType<string>;
9
- };
10
- options: {
11
- type: import("vue").PropType<QButtonToggleOption[]>;
12
- required: true;
13
- };
14
- disabled: {
15
- type: import("vue").PropType<boolean>;
16
- };
17
- borderless: {
18
- type: import("vue").PropType<boolean>;
19
- };
20
- elevated: {
21
- type: import("vue").PropType<boolean>;
22
- };
23
- mandatory: {
24
- type: import("vue").PropType<boolean>;
25
- };
26
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
- "update:modelValue": (value: unknown) => void;
28
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
- modelValue: {
30
- type: import("vue").PropType<string>;
31
- };
32
- options: {
33
- type: import("vue").PropType<QButtonToggleOption[]>;
34
- required: true;
35
- };
36
- disabled: {
37
- type: import("vue").PropType<boolean>;
38
- };
39
- borderless: {
40
- type: import("vue").PropType<boolean>;
41
- };
42
- elevated: {
43
- type: import("vue").PropType<boolean>;
44
- };
45
- mandatory: {
46
- type: import("vue").PropType<boolean>;
47
- };
48
- }>> & {
49
- "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
50
- }, {}, {}>, Partial<Record<string, (_: {}) => any>>>;
51
- export default _default;
52
- type __VLS_WithTemplateSlots<T, S> = T & {
53
- new (): {
54
- $slots: S;
55
- };
56
- };
57
- //# sourceMappingURL=QButtonToggle.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QButtonToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonToggle/QButtonToggle.vue.ts"],"names":[],"mappings":"AAeC,MAAM,MAAM,mBAAmB,GAAG;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuNF,wBAAwG;AAKxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import QButtonToggle from './QButtonToggle.vue';
2
- export { QButtonToggle };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonToggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1,72 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- src: {
3
- type: StringConstructor;
4
- required: true;
5
- };
6
- symbol: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- title: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- transformSource: {
15
- type: FunctionConstructor;
16
- default: undefined;
17
- };
18
- keepDuringLoading: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- }, any, {
23
- /** @type SVGElement */
24
- svgElSource: SVGElement;
25
- }, {}, {
26
- copySvgAttrs(target: any, source: any): void;
27
- copyComponentAttrs(target: any, source: any): void;
28
- getSvgContent(svgEl: any): any;
29
- /**
30
- * Get svgElSource
31
- * @param {string} src
32
- */
33
- getSource(src: string): Promise<void>;
34
- /**
35
- * Get the contents of the SVG
36
- * @param {string} url
37
- * @returns {PromiseWithState<Element>}
38
- */
39
- download(url: string): PromiseWithState<Element>;
40
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("loaded" | "unloaded" | "error")[], "loaded" | "unloaded" | "error", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
- src: {
42
- type: StringConstructor;
43
- required: true;
44
- };
45
- symbol: {
46
- type: StringConstructor;
47
- default: string;
48
- };
49
- title: {
50
- type: StringConstructor;
51
- default: string;
52
- };
53
- transformSource: {
54
- type: FunctionConstructor;
55
- default: undefined;
56
- };
57
- keepDuringLoading: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- }>> & {
62
- onError?: ((...args: any[]) => any) | undefined;
63
- onLoaded?: ((...args: any[]) => any) | undefined;
64
- onUnloaded?: ((...args: any[]) => any) | undefined;
65
- }, {
66
- symbol: string;
67
- title: string;
68
- transformSource: Function;
69
- keepDuringLoading: boolean;
70
- }, {}>;
71
- export default _default;
72
- //# sourceMappingURL=InlineSvg.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineSvg.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/InlineSvg.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;IA4DG,uBAAuB;iBAAb,UAAU;;;;;IAwCrB;;;OAGG;mBADQ,MAAM;IAoCjB;;;;OAIG;kBAFQ,MAAM"}
@@ -1,46 +0,0 @@
1
- export type Icon = {
2
- /**
3
- * The name of the icon.
4
- */
5
- name: 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
- declare const _default: import("vue").DefineComponent<{
16
- size: {
17
- type: import("vue").PropType<number>;
18
- default: undefined;
19
- };
20
- type: {
21
- type: import("vue").PropType<"img" | "svg" | "font">;
22
- default: string;
23
- };
24
- name: {
25
- type: import("vue").PropType<string>;
26
- required: true;
27
- };
28
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
- size: {
30
- type: import("vue").PropType<number>;
31
- default: undefined;
32
- };
33
- type: {
34
- type: import("vue").PropType<"img" | "svg" | "font">;
35
- default: string;
36
- };
37
- name: {
38
- type: import("vue").PropType<string>;
39
- required: true;
40
- };
41
- }>>, {
42
- size: number;
43
- type: "img" | "svg" | "font";
44
- }, {}>;
45
- export default _default;
46
- //# sourceMappingURL=QIcon.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIcon.vue.ts"],"names":[],"mappings":"AAEC,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;CACb,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDF,wBAQG"}
@@ -1,59 +0,0 @@
1
- export type QIconFontProps = {
2
- /**
3
- * The name 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
- declare const _default: import("vue").DefineComponent<{
20
- size: {
21
- type: import("vue").PropType<number>;
22
- default: undefined;
23
- };
24
- icon: {
25
- type: import("vue").PropType<string>;
26
- required: true;
27
- };
28
- library: {
29
- type: import("vue").PropType<string>;
30
- default: string;
31
- };
32
- variant: {
33
- type: import("vue").PropType<string>;
34
- default: string;
35
- };
36
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
- size: {
38
- type: import("vue").PropType<number>;
39
- default: undefined;
40
- };
41
- icon: {
42
- type: import("vue").PropType<string>;
43
- required: true;
44
- };
45
- library: {
46
- type: import("vue").PropType<string>;
47
- default: string;
48
- };
49
- variant: {
50
- type: import("vue").PropType<string>;
51
- default: string;
52
- };
53
- }>>, {
54
- size: number;
55
- library: string;
56
- variant: string;
57
- }, {}>;
58
- export default _default;
59
- //# sourceMappingURL=QIconFont.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QIconFont.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconFont.vue.ts"],"names":[],"mappings":"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;CACb,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6EF,wBAQG"}
@@ -1,19 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- icon: {
3
- type: import("vue").PropType<string>;
4
- required: true;
5
- };
6
- size: {
7
- type: import("vue").PropType<number>;
8
- };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
- icon: {
11
- type: import("vue").PropType<string>;
12
- required: true;
13
- };
14
- size: {
15
- type: import("vue").PropType<number>;
16
- };
17
- }>>, {}, {}>;
18
- export default _default;
19
- //# sourceMappingURL=QIconImg.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QIconImg.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconImg.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAoFA,wBAkBG"}
@@ -1,38 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- size: {
3
- type: import("vue").PropType<number>;
4
- default: undefined;
5
- };
6
- icon: {
7
- type: import("vue").PropType<string>;
8
- required: true;
9
- };
10
- bundle: {
11
- type: import("vue").PropType<string>;
12
- default: string;
13
- };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- loaded: (value: unknown) => void;
16
- unloaded: (value: unknown) => void;
17
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- size: {
19
- type: import("vue").PropType<number>;
20
- default: undefined;
21
- };
22
- icon: {
23
- type: import("vue").PropType<string>;
24
- required: true;
25
- };
26
- bundle: {
27
- type: import("vue").PropType<string>;
28
- default: string;
29
- };
30
- }>> & {
31
- onLoaded?: ((value: unknown) => any) | undefined;
32
- onUnloaded?: ((value: unknown) => any) | undefined;
33
- }, {
34
- size: number;
35
- bundle: string;
36
- }, {}>;
37
- export default _default;
38
- //# sourceMappingURL=QIconSvg.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QIconSvg.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconSvg.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAgJU,MAAM;YALJ,MAAM;;AAXlB,wBAwBG"}
@@ -1,8 +0,0 @@
1
- import QIcon from './QIcon.vue';
2
- import QIconFont from './QIconFont.vue';
3
- import QIconImg from './QIconImg.vue';
4
- import QIconSvg from './QIconSvg.vue';
5
- export { QIcon, QIconFont, QIconImg, QIconSvg };
6
- import type { Icon } from './QIcon.vue';
7
- export type { Icon };
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAA;AAC/B,OAAO,SAAS,MAAM,iBAAiB,CAAA;AACvC,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AACrC,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAA;AAG/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvC,YAAY,EAAE,IAAI,EAAE,CAAA"}