@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
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent as v, computed as s, useSlots as u, createElementBlock as d, openBlock as o, normalizeClass as p, createCommentVNode as c, Fragment as m, createElementVNode as i, renderSlot as _ } from "vue";
|
|
2
|
+
const f = { class: "q-divider__label" }, C = /* @__PURE__ */ v({
|
|
3
|
+
__name: "QDivider",
|
|
4
|
+
props: {
|
|
5
|
+
direction: { default: "horizontal" },
|
|
6
|
+
inset: { type: Boolean }
|
|
7
|
+
},
|
|
8
|
+
setup(r) {
|
|
9
|
+
const t = r, l = s(() => !!u().default), n = s(() => [
|
|
10
|
+
"q-divider",
|
|
11
|
+
`q-divider--${t.direction}`,
|
|
12
|
+
{
|
|
13
|
+
"q-divider--inset": t.inset,
|
|
14
|
+
"q-divider--labeled": l.value
|
|
15
|
+
}
|
|
16
|
+
]);
|
|
17
|
+
return (a, e) => (o(), d(
|
|
18
|
+
"div",
|
|
19
|
+
{
|
|
20
|
+
class: p(n.value),
|
|
21
|
+
role: "separator"
|
|
22
|
+
},
|
|
23
|
+
[
|
|
24
|
+
l.value ? (o(), d(
|
|
25
|
+
m,
|
|
26
|
+
{ key: 0 },
|
|
27
|
+
[
|
|
28
|
+
e[0] || (e[0] = i(
|
|
29
|
+
"div",
|
|
30
|
+
{ class: "q-divider__line" },
|
|
31
|
+
null,
|
|
32
|
+
-1
|
|
33
|
+
/* HOISTED */
|
|
34
|
+
)),
|
|
35
|
+
i("span", f, [
|
|
36
|
+
_(a.$slots, "default")
|
|
37
|
+
]),
|
|
38
|
+
e[1] || (e[1] = i(
|
|
39
|
+
"div",
|
|
40
|
+
{ class: "q-divider__line" },
|
|
41
|
+
null,
|
|
42
|
+
-1
|
|
43
|
+
/* HOISTED */
|
|
44
|
+
))
|
|
45
|
+
],
|
|
46
|
+
64
|
|
47
|
+
/* STABLE_FRAGMENT */
|
|
48
|
+
)) : c("v-if", !0)
|
|
49
|
+
],
|
|
50
|
+
2
|
|
51
|
+
/* CLASS */
|
|
52
|
+
));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
C as default
|
|
57
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const QDivider: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QDividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
+
direction: "horizontal" | "vertical";
|
|
4
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
5
|
+
P: {};
|
|
6
|
+
B: {};
|
|
7
|
+
D: {};
|
|
8
|
+
C: {};
|
|
9
|
+
M: {};
|
|
10
|
+
Defaults: {};
|
|
11
|
+
}, Readonly<import('./types').QDividerProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
12
|
+
direction: "horizontal" | "vertical";
|
|
13
|
+
}>;
|
|
14
|
+
__isFragment?: never;
|
|
15
|
+
__isTeleport?: never;
|
|
16
|
+
__isSuspense?: never;
|
|
17
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QDividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
18
|
+
direction: "horizontal" | "vertical";
|
|
19
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
20
|
+
$slots: {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
export { QDivider };
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA;AAG3C,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IAErC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,CAAA"}
|
|
@@ -31,6 +31,8 @@ declare function __VLS_template(): {
|
|
|
31
31
|
readonly itemLabel?: string | undefined;
|
|
32
32
|
readonly disabled?: boolean | undefined;
|
|
33
33
|
readonly selectable?: boolean | undefined;
|
|
34
|
+
readonly multiple?: boolean | undefined;
|
|
35
|
+
readonly required?: boolean | undefined;
|
|
34
36
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
35
37
|
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
36
38
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -135,6 +137,8 @@ declare function __VLS_template(): {
|
|
|
135
137
|
itemLabel?: string;
|
|
136
138
|
disabled?: boolean;
|
|
137
139
|
selectable?: boolean;
|
|
140
|
+
multiple?: boolean;
|
|
141
|
+
required?: boolean;
|
|
138
142
|
}> & Readonly<{
|
|
139
143
|
onClick?: ((key: any) => any) | undefined;
|
|
140
144
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -185,6 +189,8 @@ declare function __VLS_template(): {
|
|
|
185
189
|
itemLabel?: string;
|
|
186
190
|
disabled?: boolean;
|
|
187
191
|
selectable?: boolean;
|
|
192
|
+
multiple?: boolean;
|
|
193
|
+
required?: boolean;
|
|
188
194
|
}> & Readonly<{
|
|
189
195
|
onClick?: ((key: any) => any) | undefined;
|
|
190
196
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -195,6 +201,7 @@ declare function __VLS_template(): {
|
|
|
195
201
|
getLastFocusableItemIndex: () => number;
|
|
196
202
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
197
203
|
$slots: {
|
|
204
|
+
default?(_: {}): any;
|
|
198
205
|
item?(_: {
|
|
199
206
|
item: Item;
|
|
200
207
|
element: HTMLLIElement | undefined;
|
|
@@ -246,6 +253,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
246
253
|
readonly itemLabel?: string | undefined;
|
|
247
254
|
readonly disabled?: boolean | undefined;
|
|
248
255
|
readonly selectable?: boolean | undefined;
|
|
256
|
+
readonly multiple?: boolean | undefined;
|
|
257
|
+
readonly required?: boolean | undefined;
|
|
249
258
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
250
259
|
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
251
260
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -350,6 +359,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
350
359
|
itemLabel?: string;
|
|
351
360
|
disabled?: boolean;
|
|
352
361
|
selectable?: boolean;
|
|
362
|
+
multiple?: boolean;
|
|
363
|
+
required?: boolean;
|
|
353
364
|
}> & Readonly<{
|
|
354
365
|
onClick?: ((key: any) => any) | undefined;
|
|
355
366
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -400,6 +411,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
400
411
|
itemLabel?: string;
|
|
401
412
|
disabled?: boolean;
|
|
402
413
|
selectable?: boolean;
|
|
414
|
+
multiple?: boolean;
|
|
415
|
+
required?: boolean;
|
|
403
416
|
}> & Readonly<{
|
|
404
417
|
onClick?: ((key: any) => any) | undefined;
|
|
405
418
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -410,6 +423,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
410
423
|
getLastFocusableItemIndex: () => number;
|
|
411
424
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
412
425
|
$slots: {
|
|
426
|
+
default?(_: {}): any;
|
|
413
427
|
item?(_: {
|
|
414
428
|
item: Item;
|
|
415
429
|
element: HTMLLIElement | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAiDA;AA2IC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAGxD,OAAO,EAAY,QAAQ,EAAO,MAAM,KAAK,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,WAAW,GAAG,yBAAyB,CAAC;AAwF9C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC;CACnB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WA8HT,OAAO,IAA6B;;;;YAZvB,GAAG;;;YACM,GAAG
|
|
1
|
+
{"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAiDA;AA2IC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAGxD,OAAO,EAAY,QAAQ,EAAO,MAAM,KAAK,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,WAAW,GAAG,yBAAyB,CAAC;AAwF9C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC;CACnB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WA8HT,OAAO,IAA6B;;;;YAZvB,GAAG;;;YACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAmEs+Z,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAnDloa;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+Bw/Z,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArBjoa,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { QColProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<QColProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QColProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=QCol.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QCol.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGrid/QCol.vue"],"names":[],"mappings":"AAKA;AA0DC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AA4CzC,iBAAS,cAAc;WAuBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,ySAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as c, computed as t, createElementBlock as u, openBlock as a, normalizeClass as m, renderSlot as d } from "vue";
|
|
2
|
+
import { provideDefaults as i } from "../../composables/defaults.js";
|
|
3
|
+
const p = /* @__PURE__ */ c({
|
|
4
|
+
__name: "QCol",
|
|
5
|
+
props: {
|
|
6
|
+
cols: {},
|
|
7
|
+
sm: {},
|
|
8
|
+
md: {},
|
|
9
|
+
lg: {},
|
|
10
|
+
xl: {},
|
|
11
|
+
xxl: {}
|
|
12
|
+
},
|
|
13
|
+
setup(n) {
|
|
14
|
+
const e = n, r = t(() => [
|
|
15
|
+
"q-col",
|
|
16
|
+
o("", e.cols),
|
|
17
|
+
o("sm", e.sm),
|
|
18
|
+
o("md", e.md),
|
|
19
|
+
o("lg", e.lg),
|
|
20
|
+
o("xl", e.xl),
|
|
21
|
+
o("xxl", e.xxl)
|
|
22
|
+
].filter(Boolean));
|
|
23
|
+
function o(l, s) {
|
|
24
|
+
if (s)
|
|
25
|
+
return s === "auto" ? `q-col${l ? `-${l}` : ""}-auto` : `q-col${l ? `-${l}` : ""}-${s}`;
|
|
26
|
+
}
|
|
27
|
+
return i({
|
|
28
|
+
QField: {
|
|
29
|
+
size: t(() => e.cols === "auto" ? void 0 : "block")
|
|
30
|
+
}
|
|
31
|
+
}), (l, s) => (a(), u(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
class: m(r.value)
|
|
35
|
+
},
|
|
36
|
+
[
|
|
37
|
+
d(l.$slots, "default")
|
|
38
|
+
],
|
|
39
|
+
2
|
|
40
|
+
/* CLASS */
|
|
41
|
+
));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
p as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { QContainerProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<QContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=QContainer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGrid/QContainer.vue"],"names":[],"mappings":"AAKA;AAoBC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAY/C,iBAAS,cAAc;WAuBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,qTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as a, computed as r, createElementBlock as s, openBlock as l, normalizeClass as c, renderSlot as i } from "vue";
|
|
2
|
+
const d = /* @__PURE__ */ a({
|
|
3
|
+
__name: "QContainer",
|
|
4
|
+
props: {
|
|
5
|
+
fluid: { type: Boolean }
|
|
6
|
+
},
|
|
7
|
+
setup(e) {
|
|
8
|
+
const n = e, o = r(() => ["q-container", { "q-container--fluid": n.fluid }]);
|
|
9
|
+
return (t, p) => (l(), s(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
class: c(o.value)
|
|
13
|
+
},
|
|
14
|
+
[
|
|
15
|
+
i(t.$slots, "default")
|
|
16
|
+
],
|
|
17
|
+
2
|
|
18
|
+
/* CLASS */
|
|
19
|
+
));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
d as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { QRowProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<QRowProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QRowProps> & Readonly<{}>, {
|
|
12
|
+
gutter: number;
|
|
13
|
+
justify: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
14
|
+
align: "start" | "center" | "end" | "baseline" | "stretch";
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=QRow.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QRow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGrid/QRow.vue"],"names":[],"mappings":"AAOA;AA4CC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAqCzC,iBAAS,cAAc;WAwBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as a, computed as s, createElementBlock as n, openBlock as u, normalizeStyle as c, normalizeClass as i, renderSlot as f } from "vue";
|
|
2
|
+
const m = /* @__PURE__ */ a({
|
|
3
|
+
__name: "QRow",
|
|
4
|
+
props: {
|
|
5
|
+
gutter: { default: 16 },
|
|
6
|
+
justify: { default: "start" },
|
|
7
|
+
align: { default: "stretch" }
|
|
8
|
+
},
|
|
9
|
+
setup(r) {
|
|
10
|
+
const t = r, l = s(() => [
|
|
11
|
+
"q-row",
|
|
12
|
+
{
|
|
13
|
+
[`q-row--justify-${t.justify}`]: t.justify !== "start",
|
|
14
|
+
[`q-row--align-${t.align}`]: t.align !== "stretch"
|
|
15
|
+
}
|
|
16
|
+
]), o = s(() => {
|
|
17
|
+
const e = {};
|
|
18
|
+
return t.gutter !== 16 && (e["--q-row-gutter"] = `${t.gutter}px`), e;
|
|
19
|
+
});
|
|
20
|
+
return (e, p) => (u(), n(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
class: i(l.value),
|
|
24
|
+
style: c(o.value)
|
|
25
|
+
},
|
|
26
|
+
[
|
|
27
|
+
f(e.$slots, "default")
|
|
28
|
+
],
|
|
29
|
+
6
|
|
30
|
+
/* CLASS, STYLE */
|
|
31
|
+
));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
m as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=QSpacer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QSpacer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGrid/QSpacer.vue"],"names":[],"mappings":";AAyCA,wBAMG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as c } from "vue";
|
|
2
|
+
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const o = {}, t = { class: "q-spacer" };
|
|
4
|
+
function n(s, _) {
|
|
5
|
+
return c(), e("div", t);
|
|
6
|
+
}
|
|
7
|
+
const p = /* @__PURE__ */ r(o, [["render", n]]);
|
|
8
|
+
export {
|
|
9
|
+
p as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const QCol: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QColProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<import('./types').QColProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QColProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
});
|
|
18
|
+
declare const QContainer: {
|
|
19
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QContainerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
20
|
+
P: {};
|
|
21
|
+
B: {};
|
|
22
|
+
D: {};
|
|
23
|
+
C: {};
|
|
24
|
+
M: {};
|
|
25
|
+
Defaults: {};
|
|
26
|
+
}, Readonly<import('./types').QContainerProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
27
|
+
__isFragment?: never;
|
|
28
|
+
__isTeleport?: never;
|
|
29
|
+
__isSuspense?: never;
|
|
30
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QContainerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
31
|
+
$slots: {
|
|
32
|
+
default?(_: {}): any;
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
declare const QRow: {
|
|
36
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QRowProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
37
|
+
gutter: number;
|
|
38
|
+
justify: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
39
|
+
align: "start" | "center" | "end" | "baseline" | "stretch";
|
|
40
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
41
|
+
P: {};
|
|
42
|
+
B: {};
|
|
43
|
+
D: {};
|
|
44
|
+
C: {};
|
|
45
|
+
M: {};
|
|
46
|
+
Defaults: {};
|
|
47
|
+
}, Readonly<import('./types').QRowProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
48
|
+
gutter: number;
|
|
49
|
+
justify: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
50
|
+
align: "start" | "center" | "end" | "baseline" | "stretch";
|
|
51
|
+
}>;
|
|
52
|
+
__isFragment?: never;
|
|
53
|
+
__isTeleport?: never;
|
|
54
|
+
__isSuspense?: never;
|
|
55
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QRowProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
56
|
+
gutter: number;
|
|
57
|
+
justify: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
58
|
+
align: "start" | "center" | "end" | "baseline" | "stretch";
|
|
59
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
60
|
+
$slots: {
|
|
61
|
+
default?(_: {}): any;
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
declare const QSpacer: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
65
|
+
export { QCol, QContainer, QRow, QSpacer };
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QGrid/index.ts"],"names":[],"mappings":"AASA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;EAAyB,CAAA;AACnC,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;EAA+B,CAAA;AAC/C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyB,CAAA;AACnC,QAAA,MAAM,OAAO,0RAA4B,CAAA;AAGzC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import r from "./QCol.vue.js";
|
|
2
|
+
import m from "./QContainer.vue.js";
|
|
3
|
+
import t from "./QRow.vue.js";
|
|
4
|
+
import p from "./QSpacer.vue.js";
|
|
5
|
+
import { setupPropsProxy as o } from "../../utils/setupPropsProxy.js";
|
|
6
|
+
const _ = o(r), a = o(m), e = o(t), Q = o(p);
|
|
7
|
+
export {
|
|
8
|
+
_ as QCol,
|
|
9
|
+
a as QContainer,
|
|
10
|
+
e as QRow,
|
|
11
|
+
Q as QSpacer
|
|
12
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export type QContainerProps = {
|
|
2
|
+
/**
|
|
3
|
+
* If true, container spans full width, otherwise constrained by breakpoints.
|
|
4
|
+
*/
|
|
5
|
+
fluid?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type QRowProps = {
|
|
8
|
+
/**
|
|
9
|
+
* Space between columns in pixels.
|
|
10
|
+
*/
|
|
11
|
+
gutter?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Horizontal alignment.
|
|
14
|
+
*/
|
|
15
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
16
|
+
/**
|
|
17
|
+
* Vertical alignment.
|
|
18
|
+
*/
|
|
19
|
+
align?: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
20
|
+
};
|
|
21
|
+
export type QColProps = {
|
|
22
|
+
/**
|
|
23
|
+
* Number of columns (1–12) or 'auto'.
|
|
24
|
+
*/
|
|
25
|
+
cols?: number | 'auto';
|
|
26
|
+
/**
|
|
27
|
+
* Small breakpoint columns.
|
|
28
|
+
*/
|
|
29
|
+
sm?: number | 'auto';
|
|
30
|
+
/**
|
|
31
|
+
* Medium breakpoint columns.
|
|
32
|
+
*/
|
|
33
|
+
md?: number | 'auto';
|
|
34
|
+
/**
|
|
35
|
+
* Large breakpoint columns.
|
|
36
|
+
*/
|
|
37
|
+
lg?: number | 'auto';
|
|
38
|
+
/**
|
|
39
|
+
* Extra-large breakpoint columns.
|
|
40
|
+
*/
|
|
41
|
+
xl?: number | 'auto';
|
|
42
|
+
/**
|
|
43
|
+
* Extra-extra-large breakpoint columns.
|
|
44
|
+
*/
|
|
45
|
+
xxl?: number | 'auto';
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QGrid/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IAEtE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAA;CAC3D,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEtB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEpB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEpB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEpB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEpB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACrB,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { QLineLoaderProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<QLineLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QLineLoaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2
3
|
export default _default;
|
|
3
4
|
//# sourceMappingURL=QLineLoader.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QLineLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/QLineLoader.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QLineLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/QLineLoader.vue"],"names":[],"mappings":"AAMA;AA8BC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;;AA2DhD,wBAOG"}
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as o, computed as d, createElementBlock as i, openBlock as l, normalizeStyle as r, normalizeClass as a } from "vue";
|
|
2
|
+
const s = ["id"], p = /* @__PURE__ */ o({
|
|
3
3
|
__name: "QLineLoader",
|
|
4
4
|
props: {
|
|
5
5
|
id: {},
|
|
6
|
-
class: {}
|
|
6
|
+
class: {},
|
|
7
|
+
height: {},
|
|
8
|
+
rounded: { type: Boolean }
|
|
7
9
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const e =
|
|
10
|
-
|
|
10
|
+
setup(n) {
|
|
11
|
+
const e = n, t = d(() => {
|
|
12
|
+
if (e.height !== void 0)
|
|
13
|
+
return {
|
|
14
|
+
// Clamp the height to a minimum of 4px and a maximum of 12px
|
|
15
|
+
"--q-line-loader-height": `${Math.min(12, Math.max(4, e.height))}px`
|
|
16
|
+
};
|
|
17
|
+
});
|
|
18
|
+
return (c, u) => (l(), i("div", {
|
|
11
19
|
id: e.id,
|
|
12
|
-
class: a(["q-line-loader", e.class])
|
|
13
|
-
|
|
20
|
+
class: a(["q-line-loader", { "q-line-loader--rounded": e.rounded }, e.class]),
|
|
21
|
+
style: r(t.value)
|
|
22
|
+
}, null, 14, s));
|
|
14
23
|
}
|
|
15
24
|
});
|
|
16
25
|
export {
|
|
17
|
-
|
|
26
|
+
p as default
|
|
18
27
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const QLineLoader: import('vue').DefineComponent<import('
|
|
1
|
+
declare const QLineLoader: import('vue').DefineComponent<import('./types').QLineLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./types').QLineLoaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2
2
|
export { QLineLoader };
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,WAAW,2VAAgC,CAAA;AAGjD,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { QBaseComponentProps } from '../../types/component';
|
|
2
|
-
export type QLineLoaderProps = QBaseComponentProps
|
|
2
|
+
export type QLineLoaderProps = QBaseComponentProps & {
|
|
3
|
+
/**
|
|
4
|
+
* Specifies the loader height.
|
|
5
|
+
* This value is automatically clamped to the range of 4 to 12.
|
|
6
|
+
*/
|
|
7
|
+
height?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Whether to show the loader in a rounded style.
|
|
10
|
+
*/
|
|
11
|
+
rounded?: boolean;
|
|
12
|
+
};
|
|
3
13
|
//# sourceMappingURL=types.d.ts.map
|