@quidgest/ui 0.16.2 → 0.16.4
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.
- package/dist/manifest/components.json +6 -0
- package/dist/ui.css +819 -55
- package/dist/ui.esm.js +5300 -4847
- package/dist/ui.js +26 -26
- package/dist/ui.min.css +2 -1
- package/dist/ui.min.js +960 -934
- package/dist/ui.scss +480 -69
- package/esm/_virtual/_plugin-vue_export-helper.js +9 -0
- package/esm/components/QCombobox/QCombobox.d.ts +14 -0
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +9 -8
- package/esm/components/QCombobox/index.d.ts +7 -0
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +4 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +115 -95
- package/esm/components/QDialog/index.d.ts +12 -1
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +9 -0
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDivider/QDivider.d.ts +21 -0
- package/esm/components/QDivider/QDivider.d.ts.map +1 -0
- package/esm/components/QDivider/QDivider.vue.js +57 -0
- package/esm/components/QDivider/QDivider.vue2.js +4 -0
- package/esm/components/QDivider/index.d.ts +25 -0
- package/esm/components/QDivider/index.d.ts.map +1 -0
- package/esm/components/QDivider/index.js +6 -0
- package/esm/components/QDivider/types.d.ts +11 -0
- package/esm/components/QDivider/types.d.ts.map +1 -0
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +14 -0
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QGrid/QCol.d.ts +19 -0
- package/esm/components/QGrid/QCol.d.ts.map +1 -0
- package/esm/components/QGrid/QCol.vue.js +46 -0
- package/esm/components/QGrid/QCol.vue2.js +4 -0
- package/esm/components/QGrid/QContainer.d.ts +19 -0
- package/esm/components/QGrid/QContainer.d.ts.map +1 -0
- package/esm/components/QGrid/QContainer.vue.js +24 -0
- package/esm/components/QGrid/QContainer.vue2.js +4 -0
- package/esm/components/QGrid/QRow.d.ts +23 -0
- package/esm/components/QGrid/QRow.d.ts.map +1 -0
- package/esm/components/QGrid/QRow.vue.js +36 -0
- package/esm/components/QGrid/QRow.vue2.js +4 -0
- package/esm/components/QGrid/QSpacer.d.ts +3 -0
- package/esm/components/QGrid/QSpacer.d.ts.map +1 -0
- package/esm/components/QGrid/QSpacer.vue.js +10 -0
- package/esm/components/QGrid/index.d.ts +66 -0
- package/esm/components/QGrid/index.d.ts.map +1 -0
- package/esm/components/QGrid/index.js +12 -0
- package/esm/components/QGrid/types.d.ts +47 -0
- package/esm/components/QGrid/types.d.ts.map +1 -0
- package/esm/components/QLineLoader/QLineLoader.d.ts +2 -1
- package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.vue.js +18 -9
- package/esm/components/QLineLoader/index.d.ts +1 -1
- package/esm/components/QLineLoader/index.d.ts.map +1 -1
- package/esm/components/QLineLoader/types.d.ts +11 -1
- package/esm/components/QLineLoader/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +1 -0
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +130 -120
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +57 -43
- package/esm/components/QList/index.d.ts +7 -0
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +8 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +29 -27
- package/esm/components/QOverlay/index.d.ts +3 -0
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +4 -0
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +8 -7
- package/esm/components/QSelect/QSelect.d.ts +14 -0
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +1 -0
- package/esm/components/QSelect/index.d.ts +7 -0
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts +39 -0
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -0
- package/esm/components/QSidebar/QSidebar.vue.js +155 -0
- package/esm/components/QSidebar/QSidebar.vue2.js +4 -0
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +219 -0
- package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -0
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +110 -0
- package/esm/components/QSidebar/QSidebarAnchor.vue2.js +4 -0
- package/esm/components/QSidebar/QSidebarPanel.d.ts +41 -0
- package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -0
- package/esm/components/QSidebar/QSidebarPanel.vue.js +90 -0
- package/esm/components/QSidebar/QSidebarPanel.vue2.js +4 -0
- package/esm/components/QSidebar/index.d.ts +72 -0
- package/esm/components/QSidebar/index.d.ts.map +1 -0
- package/esm/components/QSidebar/index.js +6 -0
- package/esm/components/QSidebar/types.d.ts +63 -0
- package/esm/components/QSidebar/types.d.ts.map +1 -0
- package/esm/components/QToggleGroup/types.d.ts +1 -1
- package/esm/components/index.d.ts +3 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +71 -62
- package/esm/composables/useGroup/index.d.ts.map +1 -1
- package/esm/composables/useGroup/index.js +23 -21
- package/esm/index.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,C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A;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA"}
|
package/esm/components/index.js
CHANGED
|
@@ -7,34 +7,37 @@ import { QCard as d } from "./QCard/index.js";
|
|
|
7
7
|
import { QCheckbox as s, QCheckboxLabel as L } from "./QCheckbox/index.js";
|
|
8
8
|
import { QCollapsible as g } from "./QCollapsible/index.js";
|
|
9
9
|
import { QColorPicker as P } from "./QColorPicker/index.js";
|
|
10
|
-
import { QCombobox as
|
|
11
|
-
import { QDateTimePicker as
|
|
10
|
+
import { QCombobox as T } from "./QCombobox/index.js";
|
|
11
|
+
import { QDateTimePicker as G } from "./QDateTimePicker/index.js";
|
|
12
12
|
import { QDialog as F } from "./QDialog/index.js";
|
|
13
|
-
import { QDismissibleLayer as
|
|
14
|
-
import {
|
|
13
|
+
import { QDismissibleLayer as k } from "./QDismissibleLayer/index.js";
|
|
14
|
+
import { QDivider as B } from "./QDivider/index.js";
|
|
15
|
+
import { QDropdownMenu as w } from "./QDropdownMenu/index.js";
|
|
15
16
|
import { QField as h } from "./QField/index.js";
|
|
16
|
-
import { QFileUpload as
|
|
17
|
-
import { QFocusTrap as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
17
|
+
import { QFileUpload as M } from "./QFileUpload/index.js";
|
|
18
|
+
import { QFocusTrap as U } from "./QFocusTrap/index.js";
|
|
19
|
+
import { QCol as q, QContainer as z, QRow as E, QSpacer as H } from "./QGrid/index.js";
|
|
20
|
+
import { QIcon as K, QIconFont as N, QIconImg as V, QIconSvg as W } from "./QIcon/index.js";
|
|
21
|
+
import { QInputGroup as Y } from "./QInputGroup/index.js";
|
|
22
|
+
import { QLabel as _ } from "./QLabel/index.js";
|
|
23
|
+
import { QLineLoader as oo } from "./QLineLoader/index.js";
|
|
24
|
+
import { QList as eo, QListItem as to, QListItemGroup as po } from "./QList/index.js";
|
|
25
|
+
import { QMeter as mo } from "./QMeter/index.js";
|
|
26
|
+
import { QOverlay as fo } from "./QOverlay/index.js";
|
|
27
|
+
import { QPasswordField as ao } from "./QPasswordField/index.js";
|
|
28
|
+
import { QPopover as no } from "./QPopover/index.js";
|
|
29
|
+
import { QPropertyList as so, QPropertyListGroup as Lo, QPropertyListPanel as uo, QPropertyListRow as go } from "./QPropertyList/index.js";
|
|
30
|
+
import { QRadioButton as Po, QRadioGroup as bo } from "./QRadioGroup/index.js";
|
|
31
|
+
import { QSelect as Co } from "./QSelect/index.js";
|
|
32
|
+
import { QSidebar as yo } from "./QSidebar/index.js";
|
|
33
|
+
import { QSkeletonLoader as So } from "./QSkeletonLoader/index.js";
|
|
34
|
+
import { QSpinnerLoader as vo } from "./QSpinnerLoader/index.js";
|
|
35
|
+
import { QTextArea as Do } from "./QTextArea/index.js";
|
|
36
|
+
import { QTextField as Ro } from "./QTextField/index.js";
|
|
37
|
+
import { QThemeProvider as Ao } from "./QThemeProvider/index.js";
|
|
38
|
+
import { QToggle as Oo } from "./QToggle/index.js";
|
|
39
|
+
import { QToggleGroup as jo, QToggleGroupItem as qo } from "./QToggleGroup/index.js";
|
|
40
|
+
import { QTooltip as Eo } from "./QTooltip/index.js";
|
|
38
41
|
export {
|
|
39
42
|
e as QAccordion,
|
|
40
43
|
t as QAccordionItem,
|
|
@@ -45,44 +48,50 @@ export {
|
|
|
45
48
|
d as QCard,
|
|
46
49
|
s as QCheckbox,
|
|
47
50
|
L as QCheckboxLabel,
|
|
51
|
+
q as QCol,
|
|
48
52
|
g as QCollapsible,
|
|
49
53
|
P as QColorPicker,
|
|
50
|
-
|
|
51
|
-
|
|
54
|
+
T as QCombobox,
|
|
55
|
+
z as QContainer,
|
|
56
|
+
G as QDateTimePicker,
|
|
52
57
|
F as QDialog,
|
|
53
|
-
|
|
54
|
-
|
|
58
|
+
k as QDismissibleLayer,
|
|
59
|
+
B as QDivider,
|
|
60
|
+
w as QDropdownMenu,
|
|
55
61
|
h as QField,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
62
|
+
M as QFileUpload,
|
|
63
|
+
U as QFocusTrap,
|
|
64
|
+
K as QIcon,
|
|
65
|
+
N as QIconFont,
|
|
66
|
+
V as QIconImg,
|
|
67
|
+
W as QIconSvg,
|
|
68
|
+
Y as QInputGroup,
|
|
69
|
+
_ as QLabel,
|
|
70
|
+
oo as QLineLoader,
|
|
71
|
+
eo as QList,
|
|
72
|
+
to as QListItem,
|
|
73
|
+
po as QListItemGroup,
|
|
74
|
+
mo as QMeter,
|
|
75
|
+
fo as QOverlay,
|
|
76
|
+
ao as QPasswordField,
|
|
77
|
+
no as QPopover,
|
|
78
|
+
so as QPropertyList,
|
|
79
|
+
Lo as QPropertyListGroup,
|
|
80
|
+
uo as QPropertyListPanel,
|
|
81
|
+
go as QPropertyListRow,
|
|
82
|
+
Po as QRadioButton,
|
|
83
|
+
bo as QRadioGroup,
|
|
84
|
+
E as QRow,
|
|
85
|
+
Co as QSelect,
|
|
86
|
+
yo as QSidebar,
|
|
87
|
+
So as QSkeletonLoader,
|
|
88
|
+
H as QSpacer,
|
|
89
|
+
vo as QSpinnerLoader,
|
|
90
|
+
Do as QTextArea,
|
|
91
|
+
Ro as QTextField,
|
|
92
|
+
Ao as QThemeProvider,
|
|
93
|
+
Oo as QToggle,
|
|
94
|
+
jo as QToggleGroup,
|
|
95
|
+
qo as QToggleGroupItem,
|
|
96
|
+
Eo as QTooltip
|
|
88
97
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAKnE,qDAAqD;AACrD,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAyB,CAAA;AAE9E;;;GAGG;AAC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AC,EAAE,GAAG,SAAS,CAAC,CAAA;IAErC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAE5B;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,KAAK,CAAC,CAAC;IACvB;;;;OAIG;IACH,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,SAAS,CAAC,CAAA;IAEhC;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAE9B;;OAEG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAA;IAElB;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CAC9B;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAuC5D;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,YAAY,GAAG,SAAS,CAyC/E"}
|
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
import { inject as
|
|
1
|
+
import { inject as s, computed as r, unref as v, ref as o, isRef as m, watch as f, provide as y } from "vue";
|
|
2
2
|
const n = Symbol.for("q-group");
|
|
3
|
-
function
|
|
3
|
+
function q(a) {
|
|
4
4
|
const e = {
|
|
5
|
-
active:
|
|
6
|
-
|
|
5
|
+
active: o(
|
|
6
|
+
v(a.multiple) ? Array.isArray(v(a.active)) ? v(a.active) : v(a.active) !== void 0 ? [v(a.active)] : [] : v(a.active)
|
|
7
7
|
),
|
|
8
|
-
multiple:
|
|
9
|
-
required:
|
|
8
|
+
multiple: r(() => v(a.multiple) || !1),
|
|
9
|
+
required: r(() => v(a.required) || !1)
|
|
10
10
|
};
|
|
11
|
-
return
|
|
11
|
+
return m(a.active) && f(a.active, (i) => {
|
|
12
|
+
e.active.value = i;
|
|
13
|
+
}), f(
|
|
12
14
|
() => e.multiple.value,
|
|
13
15
|
(i) => {
|
|
14
16
|
i && e.active.value ? e.active.value = [e.active.value] : i ? e.active.value = [] : Array.isArray(e.active.value) && e.active.value.length === 1 ? e.active.value = e.active.value[0] : e.active.value = void 0;
|
|
15
17
|
}
|
|
16
|
-
),
|
|
18
|
+
), y(n, e), e;
|
|
17
19
|
}
|
|
18
|
-
function
|
|
19
|
-
const e =
|
|
20
|
+
function h(a) {
|
|
21
|
+
const e = s(n, void 0);
|
|
20
22
|
if (!e) return;
|
|
21
|
-
const i =
|
|
22
|
-
var
|
|
23
|
-
const
|
|
24
|
-
return Array.isArray(e.active.value) ? (
|
|
23
|
+
const i = r(() => {
|
|
24
|
+
var l;
|
|
25
|
+
const u = v(a);
|
|
26
|
+
return Array.isArray(e.active.value) ? (l = e.active.value) == null ? void 0 : l.includes(u) : e.active.value === u;
|
|
25
27
|
});
|
|
26
28
|
return { isActive: i, toggle: () => {
|
|
27
|
-
var
|
|
28
|
-
const
|
|
29
|
-
Array.isArray(e.active.value) ? i.value ? (!((
|
|
30
|
-
(
|
|
31
|
-
)) : e.active.value.push(
|
|
29
|
+
var l, t, c;
|
|
30
|
+
const u = v(a);
|
|
31
|
+
Array.isArray(e.active.value) ? i.value ? (!((l = e.required) != null && l.value) || e.active.value.length > 1) && (e.active.value = (t = e.active.value) == null ? void 0 : t.filter(
|
|
32
|
+
(d) => d !== u
|
|
33
|
+
)) : e.active.value.push(u) : e.active.value !== u ? e.active.value = u : (c = e.required) != null && c.value || (e.active.value = void 0);
|
|
32
34
|
} };
|
|
33
35
|
}
|
|
34
36
|
export {
|
|
35
37
|
n as GroupSymbol,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
q as useGroup,
|
|
39
|
+
h as useGroupItem
|
|
38
40
|
};
|
package/esm/index.d.ts
CHANGED
|
@@ -22,10 +22,15 @@ declare module '@vue/runtime-core' {
|
|
|
22
22
|
QDateTimePicker: typeof import('@quidgest/ui/components')['QDateTimePicker']
|
|
23
23
|
QDialog: typeof import('@quidgest/ui/components')['QDialog']
|
|
24
24
|
QDismissibleLayer: typeof import('@quidgest/ui/components')['QDismissibleLayer']
|
|
25
|
+
QDivider: typeof import('@quidgest/ui/components')['QDivider']
|
|
25
26
|
QDropdownMenu: typeof import('@quidgest/ui/components')['QDropdownMenu']
|
|
26
27
|
QField: typeof import('@quidgest/ui/components')['QField']
|
|
27
28
|
QFileUpload: typeof import('@quidgest/ui/components')['QFileUpload']
|
|
28
29
|
QFocusTrap: typeof import('@quidgest/ui/components')['QFocusTrap']
|
|
30
|
+
QCol: typeof import('@quidgest/ui/components')['QCol']
|
|
31
|
+
QContainer: typeof import('@quidgest/ui/components')['QContainer']
|
|
32
|
+
QRow: typeof import('@quidgest/ui/components')['QRow']
|
|
33
|
+
QSpacer: typeof import('@quidgest/ui/components')['QSpacer']
|
|
29
34
|
QIcon: typeof import('@quidgest/ui/components')['QIcon']
|
|
30
35
|
QIconFont: typeof import('@quidgest/ui/components')['QIconFont']
|
|
31
36
|
QIconImg: typeof import('@quidgest/ui/components')['QIconImg']
|
|
@@ -47,6 +52,7 @@ declare module '@vue/runtime-core' {
|
|
|
47
52
|
QRadioButton: typeof import('@quidgest/ui/components')['QRadioButton']
|
|
48
53
|
QRadioGroup: typeof import('@quidgest/ui/components')['QRadioGroup']
|
|
49
54
|
QSelect: typeof import('@quidgest/ui/components')['QSelect']
|
|
55
|
+
QSidebar: typeof import('@quidgest/ui/components')['QSidebar']
|
|
50
56
|
QSkeletonLoader: typeof import('@quidgest/ui/components')['QSkeletonLoader']
|
|
51
57
|
QSpinnerLoader: typeof import('@quidgest/ui/components')['QSpinnerLoader']
|
|
52
58
|
QTextArea: typeof import('@quidgest/ui/components')['QTextArea']
|