@quidgest/ui 0.23.4 → 0.25.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.
- package/CHANGELOG.md +24 -0
- package/dist/json/api.json +44 -12
- package/dist/ui.css +221 -188
- package/dist/ui.esm.js +573 -569
- package/dist/ui.js +529 -525
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +529 -525
- package/dist/ui.scss +272 -255
- package/esm/components/QBadge/constants.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +3 -2
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +68 -40
- package/esm/components/QButton/index.d.ts +8 -5
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButton/types.d.ts +8 -0
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QCarousel/QCarousel.d.ts +2 -2
- package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
- package/esm/components/QCarousel/constants.d.ts.map +1 -1
- package/esm/components/QCarousel/index.d.ts +6 -6
- package/esm/components/QCarousel/types.d.ts +2 -2
- package/esm/components/QCarousel/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/constants.d.ts.map +1 -1
- package/esm/components/QCollapsible/constants.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +34 -28
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/constants.d.ts.map +1 -1
- package/esm/components/QCombobox/index.d.ts +26 -23
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +3 -3
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +54 -36
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/constants.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/index.d.ts +27 -18
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts +3 -3
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDefaultsProvider/types.d.ts +2 -2
- package/esm/components/QDefaultsProvider/types.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +3 -3
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/constants.d.ts +4 -4
- package/esm/components/QDialog/constants.d.ts.map +1 -1
- package/esm/components/QDialog/index.d.ts +12 -12
- package/esm/components/QDialog/types.d.ts +5 -5
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts +9 -9
- package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts.map +1 -1
- package/esm/components/QDismissibleLayer/index.d.ts +20 -20
- package/esm/components/QDismissibleLayer/types.d.ts +2 -2
- package/esm/components/QDismissibleLayer/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +2 -2
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +20 -20
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/constants.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/index.d.ts +8 -8
- package/esm/components/QDropdownMenu/types.d.ts +3 -3
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/constants.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +4 -4
- package/esm/components/QIcon/types.d.ts +1 -2
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/types.d.ts +3 -3
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +6 -6
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/constants.d.ts.map +1 -1
- package/esm/components/QList/index.d.ts +6 -6
- package/esm/components/QList/types.d.ts +6 -6
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QObfuscation/constants.d.ts.map +1 -1
- package/esm/components/QOverflow/constants.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/constants.d.ts.map +1 -1
- package/esm/components/QPasswordField/index.d.ts +3 -3
- package/esm/components/QPasswordField/types.d.ts +4 -4
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +38 -38
- package/esm/components/QPhoneField/index.d.ts +19 -19
- package/esm/components/QPropertyList/QPropertyList.d.ts +1 -1
- package/esm/components/QPropertyList/constants.d.ts.map +1 -1
- package/esm/components/QPropertyList/index.d.ts +3 -3
- package/esm/components/QPropertyList/types.d.ts +2 -2
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts +2 -2
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/index.d.ts +3 -3
- package/esm/components/QRemoveScrollBar/types.d.ts +2 -2
- package/esm/components/QRemoveScrollBar/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts +3 -3
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +18 -18
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/constants.d.ts.map +1 -1
- package/esm/components/QSelect/index.d.ts +18 -18
- package/esm/components/QSelect/types.d.ts +3 -3
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts +5 -5
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +2 -2
- package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.d.ts +6 -0
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/context.d.ts +6 -6
- package/esm/components/QSidebar/context.d.ts.map +1 -1
- package/esm/components/QSidebar/index.d.ts +5 -2
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSidebar/types.d.ts +2 -2
- package/esm/components/QSidebar/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +18 -12
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/context.d.ts +5 -5
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTabs/index.d.ts +9 -6
- package/esm/components/QTabs/index.d.ts.map +1 -1
- package/esm/components/QThemeProvider/types.d.ts +2 -2
- package/esm/components/QThemeProvider/types.d.ts.map +1 -1
- package/esm/components/QToast/QToaster.vue.js +1 -1
- package/esm/components/QToast/constants.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +1 -0
- package/esm/components/QToggle/index.d.ts +3 -0
- package/esm/components/QToggle/index.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +1 -0
- package/esm/components/QTooltip/index.d.ts +3 -3
- package/esm/components/QTooltip/types.d.ts +2 -2
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/constants.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/constants.d.ts.map +1 -1
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +1 -1
- package/esm/components/__internal__/QSafeTriangle/index.d.ts +1 -1
- package/esm/composables/defaults.d.ts +7 -7
- package/esm/composables/defaults.d.ts.map +1 -1
- package/esm/composables/index.d.ts +3 -3
- package/esm/composables/index.d.ts.map +1 -1
- package/esm/composables/theme.d.ts +20 -20
- package/esm/composables/theme.d.ts.map +1 -1
- package/esm/composables/useColor/index.d.ts +24 -9
- package/esm/composables/useColor/index.d.ts.map +1 -1
- package/esm/composables/useColor/index.js +17 -10
- package/esm/composables/useColor/types.d.ts +3 -3
- package/esm/composables/useColor/types.d.ts.map +1 -1
- package/esm/composables/useDialog/index.d.ts +3 -3
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/esm/composables/useDialog/types.d.ts +3 -3
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useDismissibleLayerStack/index.d.ts +2 -2
- package/esm/composables/useDismissibleLayerStack/index.d.ts.map +1 -1
- package/esm/composables/useGroup/index.d.ts +6 -6
- package/esm/composables/useGroup/index.d.ts.map +1 -1
- package/esm/composables/useToast/index.d.ts +3 -3
- package/esm/composables/useToast/index.d.ts.map +1 -1
- package/esm/composables/useToast/types.d.ts +3 -3
- package/esm/composables/useToast/types.d.ts.map +1 -1
- package/esm/framework.d.ts +6 -6
- package/esm/framework.d.ts.map +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/symbols/dismissibleLayer.d.ts +2 -2
- package/esm/symbols/dismissibleLayer.d.ts.map +1 -1
- package/esm/templates/theme.d.ts +3 -3
- package/esm/templates/theme.d.ts.map +1 -1
- package/esm/utils/color/merge.d.ts +3 -3
- package/esm/utils/color/merge.d.ts.map +1 -1
- package/esm/utils/color/theme-colors.d.ts +2 -2
- package/esm/utils/color/theme-colors.d.ts.map +1 -1
- package/esm/utils/color/types.d.ts +2 -2
- package/esm/utils/color/types.d.ts.map +1 -1
- package/esm/utils/theme.d.ts +9 -9
- package/esm/utils/theme.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
2
|
-
import {
|
|
2
|
+
import { QListItemData } from '../QList';
|
|
3
3
|
import { QSelectProps } from '.';
|
|
4
4
|
import { nextTick } from 'vue';
|
|
5
5
|
type __VLS_Props = QSelectProps;
|
|
@@ -17,14 +17,14 @@ declare function __VLS_template(): {
|
|
|
17
17
|
prepend?(_: {}): any;
|
|
18
18
|
value?(_: {
|
|
19
19
|
empty: boolean;
|
|
20
|
-
items:
|
|
20
|
+
items: QListItemData[];
|
|
21
21
|
value: any;
|
|
22
22
|
}): any;
|
|
23
23
|
append?(_: {}): any;
|
|
24
24
|
extras?(_: {}): any;
|
|
25
25
|
'body.prepend'?(_: {}): any;
|
|
26
26
|
item?(_: {
|
|
27
|
-
item:
|
|
27
|
+
item: QListItemData;
|
|
28
28
|
}): any;
|
|
29
29
|
'body.append'?(_: {}): any;
|
|
30
30
|
};
|
|
@@ -257,8 +257,8 @@ declare function __VLS_template(): {
|
|
|
257
257
|
readonly class?: string | unknown[] | undefined;
|
|
258
258
|
readonly modelValue?: any;
|
|
259
259
|
readonly highlighted?: any;
|
|
260
|
-
readonly items?:
|
|
261
|
-
readonly groups?: import('..').
|
|
260
|
+
readonly items?: QListItemData[] | undefined;
|
|
261
|
+
readonly groups?: import('..').QListItemGroupData[] | undefined;
|
|
262
262
|
readonly selectable?: boolean | undefined;
|
|
263
263
|
readonly selectOnTab?: boolean | undefined;
|
|
264
264
|
readonly multiple?: boolean | undefined;
|
|
@@ -282,7 +282,7 @@ declare function __VLS_template(): {
|
|
|
282
282
|
readonly modelValue?: boolean | undefined;
|
|
283
283
|
readonly value: any;
|
|
284
284
|
readonly label: string;
|
|
285
|
-
readonly icon?: import('..').
|
|
285
|
+
readonly icon?: import('..').QIconProps | undefined;
|
|
286
286
|
readonly description?: string | undefined;
|
|
287
287
|
readonly selectable?: boolean | undefined;
|
|
288
288
|
readonly selectOnTab?: boolean | undefined;
|
|
@@ -376,7 +376,7 @@ declare function __VLS_template(): {
|
|
|
376
376
|
click: (key: any) => any;
|
|
377
377
|
"mouseenter:item": (key: any) => any;
|
|
378
378
|
}, string, {
|
|
379
|
-
groups: import('..').
|
|
379
|
+
groups: import('..').QListItemGroupData[];
|
|
380
380
|
selectOnTab: boolean;
|
|
381
381
|
itemValue: string;
|
|
382
382
|
itemLabel: string;
|
|
@@ -401,7 +401,7 @@ declare function __VLS_template(): {
|
|
|
401
401
|
$nextTick: typeof nextTick;
|
|
402
402
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
403
403
|
} & Readonly<{
|
|
404
|
-
groups: import('..').
|
|
404
|
+
groups: import('..').QListItemGroupData[];
|
|
405
405
|
selectOnTab: boolean;
|
|
406
406
|
itemValue: string;
|
|
407
407
|
itemLabel: string;
|
|
@@ -419,11 +419,11 @@ declare function __VLS_template(): {
|
|
|
419
419
|
$slots: {
|
|
420
420
|
default?(_: {}): any;
|
|
421
421
|
item?(_: {
|
|
422
|
-
item:
|
|
422
|
+
item: QListItemData;
|
|
423
423
|
element: HTMLLIElement | undefined;
|
|
424
424
|
}): any;
|
|
425
425
|
'item.append'?(_: {
|
|
426
|
-
item:
|
|
426
|
+
item: QListItemData;
|
|
427
427
|
element: HTMLLIElement | undefined;
|
|
428
428
|
}): any;
|
|
429
429
|
};
|
|
@@ -452,7 +452,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
452
452
|
}>, {
|
|
453
453
|
icons: typeof DEFAULT_ICONS;
|
|
454
454
|
texts: typeof DEFAULT_TEXTS;
|
|
455
|
-
groups: import('..').
|
|
455
|
+
groups: import('..').QListItemGroupData[];
|
|
456
456
|
selectOnTab: boolean;
|
|
457
457
|
itemValue: string;
|
|
458
458
|
itemLabel: string;
|
|
@@ -685,8 +685,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
685
685
|
readonly class?: string | unknown[] | undefined;
|
|
686
686
|
readonly modelValue?: any;
|
|
687
687
|
readonly highlighted?: any;
|
|
688
|
-
readonly items?:
|
|
689
|
-
readonly groups?: import('..').
|
|
688
|
+
readonly items?: QListItemData[] | undefined;
|
|
689
|
+
readonly groups?: import('..').QListItemGroupData[] | undefined;
|
|
690
690
|
readonly selectable?: boolean | undefined;
|
|
691
691
|
readonly selectOnTab?: boolean | undefined;
|
|
692
692
|
readonly multiple?: boolean | undefined;
|
|
@@ -710,7 +710,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
710
710
|
readonly modelValue?: boolean | undefined;
|
|
711
711
|
readonly value: any;
|
|
712
712
|
readonly label: string;
|
|
713
|
-
readonly icon?: import('..').
|
|
713
|
+
readonly icon?: import('..').QIconProps | undefined;
|
|
714
714
|
readonly description?: string | undefined;
|
|
715
715
|
readonly selectable?: boolean | undefined;
|
|
716
716
|
readonly selectOnTab?: boolean | undefined;
|
|
@@ -804,7 +804,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
804
804
|
click: (key: any) => any;
|
|
805
805
|
"mouseenter:item": (key: any) => any;
|
|
806
806
|
}, string, {
|
|
807
|
-
groups: import('..').
|
|
807
|
+
groups: import('..').QListItemGroupData[];
|
|
808
808
|
selectOnTab: boolean;
|
|
809
809
|
itemValue: string;
|
|
810
810
|
itemLabel: string;
|
|
@@ -829,7 +829,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
829
829
|
$nextTick: typeof nextTick;
|
|
830
830
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
831
831
|
} & Readonly<{
|
|
832
|
-
groups: import('..').
|
|
832
|
+
groups: import('..').QListItemGroupData[];
|
|
833
833
|
selectOnTab: boolean;
|
|
834
834
|
itemValue: string;
|
|
835
835
|
itemLabel: string;
|
|
@@ -847,11 +847,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
847
847
|
$slots: {
|
|
848
848
|
default?(_: {}): any;
|
|
849
849
|
item?(_: {
|
|
850
|
-
item:
|
|
850
|
+
item: QListItemData;
|
|
851
851
|
element: HTMLLIElement | undefined;
|
|
852
852
|
}): any;
|
|
853
853
|
'item.append'?(_: {
|
|
854
|
-
item:
|
|
854
|
+
item: QListItemData;
|
|
855
855
|
element: HTMLLIElement | undefined;
|
|
856
856
|
}): any;
|
|
857
857
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AA+PA;AAstBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAoB1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AA+PA;AAstBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAoB1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,CAAA;AAGrC,OAAO,EAEN,QAAQ,EAOR,MAAM,KAAK,CAAA;AAEZ,KAAK,WAAW,GAAG,YAAY,CAAC;AAoUhC;;GAEG;AACH,iBAAS,SAAS,SAEjB;AAsHF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WA+kBT,OAAO,IAA6B;;yBAzBpB,GAAG;;;;;YACL,GAAG;wBACF,GAAG;wBACH,GAAG;gCACM,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAtxBrC,GACF,8CACQ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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAJV,GACF,8CACQ,GAAG,yBACD,GAAG,6DACJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAJV,GACF,8CACQ,GAAG,yBACD,GAAG,6DACJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA61BX,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/constants.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa;;;;;CAKQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/constants.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa;;;;;CAKQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGY,CAAA"}
|
|
@@ -14,8 +14,8 @@ declare const QSelect: {
|
|
|
14
14
|
required?: boolean;
|
|
15
15
|
invalid?: boolean;
|
|
16
16
|
} & {
|
|
17
|
-
items?: import('..').
|
|
18
|
-
groups?: import('..').
|
|
17
|
+
items?: import('..').QListItemData[];
|
|
18
|
+
groups?: import('..').QListItemGroupData[];
|
|
19
19
|
clearable?: boolean;
|
|
20
20
|
inline?: boolean;
|
|
21
21
|
overlayAnchor?: import('..').QOverlayAnchor;
|
|
@@ -48,7 +48,7 @@ declare const QSelect: {
|
|
|
48
48
|
}, import('vue').PublicProps, {
|
|
49
49
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
50
50
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
51
|
-
groups: import('..').
|
|
51
|
+
groups: import('..').QListItemGroupData[];
|
|
52
52
|
selectOnTab: boolean;
|
|
53
53
|
itemValue: string;
|
|
54
54
|
itemLabel: string;
|
|
@@ -281,8 +281,8 @@ declare const QSelect: {
|
|
|
281
281
|
readonly class?: string | unknown[] | undefined;
|
|
282
282
|
readonly modelValue?: any;
|
|
283
283
|
readonly highlighted?: any;
|
|
284
|
-
readonly items?: import('..').
|
|
285
|
-
readonly groups?: import('..').
|
|
284
|
+
readonly items?: import('..').QListItemData[] | undefined;
|
|
285
|
+
readonly groups?: import('..').QListItemGroupData[] | undefined;
|
|
286
286
|
readonly selectable?: boolean | undefined;
|
|
287
287
|
readonly selectOnTab?: boolean | undefined;
|
|
288
288
|
readonly multiple?: boolean | undefined;
|
|
@@ -306,7 +306,7 @@ declare const QSelect: {
|
|
|
306
306
|
readonly modelValue?: boolean | undefined;
|
|
307
307
|
readonly value: any;
|
|
308
308
|
readonly label: string;
|
|
309
|
-
readonly icon?: import('..').
|
|
309
|
+
readonly icon?: import('..').QIconProps | undefined;
|
|
310
310
|
readonly description?: string | undefined;
|
|
311
311
|
readonly selectable?: boolean | undefined;
|
|
312
312
|
readonly selectOnTab?: boolean | undefined;
|
|
@@ -400,7 +400,7 @@ declare const QSelect: {
|
|
|
400
400
|
click: (key: any) => any;
|
|
401
401
|
"mouseenter:item": (key: any) => any;
|
|
402
402
|
}, string, {
|
|
403
|
-
groups: import('..').
|
|
403
|
+
groups: import('..').QListItemGroupData[];
|
|
404
404
|
selectOnTab: boolean;
|
|
405
405
|
itemValue: string;
|
|
406
406
|
itemLabel: string;
|
|
@@ -425,7 +425,7 @@ declare const QSelect: {
|
|
|
425
425
|
$nextTick: typeof import('vue').nextTick;
|
|
426
426
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
427
427
|
} & Readonly<{
|
|
428
|
-
groups: import('..').
|
|
428
|
+
groups: import('..').QListItemGroupData[];
|
|
429
429
|
selectOnTab: boolean;
|
|
430
430
|
itemValue: string;
|
|
431
431
|
itemLabel: string;
|
|
@@ -443,11 +443,11 @@ declare const QSelect: {
|
|
|
443
443
|
$slots: {
|
|
444
444
|
default?(_: {}): any;
|
|
445
445
|
item?(_: {
|
|
446
|
-
item: import('..').
|
|
446
|
+
item: import('..').QListItemData;
|
|
447
447
|
element: HTMLLIElement | undefined;
|
|
448
448
|
}): any;
|
|
449
449
|
'item.append'?(_: {
|
|
450
|
-
item: import('..').
|
|
450
|
+
item: import('..').QListItemData;
|
|
451
451
|
element: HTMLLIElement | undefined;
|
|
452
452
|
}): any;
|
|
453
453
|
};
|
|
@@ -474,8 +474,8 @@ declare const QSelect: {
|
|
|
474
474
|
required?: boolean;
|
|
475
475
|
invalid?: boolean;
|
|
476
476
|
} & {
|
|
477
|
-
items?: import('..').
|
|
478
|
-
groups?: import('..').
|
|
477
|
+
items?: import('..').QListItemData[];
|
|
478
|
+
groups?: import('..').QListItemGroupData[];
|
|
479
479
|
clearable?: boolean;
|
|
480
480
|
inline?: boolean;
|
|
481
481
|
overlayAnchor?: import('..').QOverlayAnchor;
|
|
@@ -500,7 +500,7 @@ declare const QSelect: {
|
|
|
500
500
|
}, {}, {}, {}, {
|
|
501
501
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
502
502
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
503
|
-
groups: import('..').
|
|
503
|
+
groups: import('..').QListItemGroupData[];
|
|
504
504
|
selectOnTab: boolean;
|
|
505
505
|
itemValue: string;
|
|
506
506
|
itemLabel: string;
|
|
@@ -523,8 +523,8 @@ declare const QSelect: {
|
|
|
523
523
|
required?: boolean;
|
|
524
524
|
invalid?: boolean;
|
|
525
525
|
} & {
|
|
526
|
-
items?: import('..').
|
|
527
|
-
groups?: import('..').
|
|
526
|
+
items?: import('..').QListItemData[];
|
|
527
|
+
groups?: import('..').QListItemGroupData[];
|
|
528
528
|
clearable?: boolean;
|
|
529
529
|
inline?: boolean;
|
|
530
530
|
overlayAnchor?: import('..').QOverlayAnchor;
|
|
@@ -557,7 +557,7 @@ declare const QSelect: {
|
|
|
557
557
|
}, string, {
|
|
558
558
|
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
559
559
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
560
|
-
groups: import('..').
|
|
560
|
+
groups: import('..').QListItemGroupData[];
|
|
561
561
|
selectOnTab: boolean;
|
|
562
562
|
itemValue: string;
|
|
563
563
|
itemLabel: string;
|
|
@@ -566,14 +566,14 @@ declare const QSelect: {
|
|
|
566
566
|
prepend?(_: {}): any;
|
|
567
567
|
value?(_: {
|
|
568
568
|
empty: boolean;
|
|
569
|
-
items: import('..').
|
|
569
|
+
items: import('..').QListItemData[];
|
|
570
570
|
value: any;
|
|
571
571
|
}): any;
|
|
572
572
|
append?(_: {}): any;
|
|
573
573
|
extras?(_: {}): any;
|
|
574
574
|
'body.prepend'?(_: {}): any;
|
|
575
575
|
item?(_: {
|
|
576
|
-
item: import('..').
|
|
576
|
+
item: import('..').QListItemData;
|
|
577
577
|
}): any;
|
|
578
578
|
'body.append'?(_: {}): any;
|
|
579
579
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QFieldProps } from '../QField';
|
|
2
|
-
import {
|
|
2
|
+
import { QListItemData, QListItemGroupData } from '../QList/types';
|
|
3
3
|
import { QOverlayAnchor } from '../QOverlay';
|
|
4
4
|
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
5
5
|
export type QSelectProps = QFieldProps & {
|
|
@@ -8,13 +8,13 @@ export type QSelectProps = QFieldProps & {
|
|
|
8
8
|
*
|
|
9
9
|
* @category Content
|
|
10
10
|
*/
|
|
11
|
-
items?:
|
|
11
|
+
items?: QListItemData[];
|
|
12
12
|
/**
|
|
13
13
|
* The item groups used for organizing the available items.
|
|
14
14
|
*
|
|
15
15
|
* @category Content
|
|
16
16
|
*/
|
|
17
|
-
groups?:
|
|
17
|
+
groups?: QListItemGroupData[];
|
|
18
18
|
/**
|
|
19
19
|
* Whether the value of the component can be cleared.
|
|
20
20
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE/D,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG;IACxC;;;;OAIG;IACH,KAAK,CAAC,EAAE,aAAa,EAAE,CAAA;IAEvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAE7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,aAAa,CAAC,EAAE,cAAc,CAAA;IAE9B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { QSidebarItemRegistration } from './context';
|
|
2
2
|
import { QSidebarProps } from './types';
|
|
3
3
|
type __VLS_Props = QSidebarProps;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
@@ -13,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
13
13
|
anchor: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
14
14
|
anchorWidth?: number;
|
|
15
15
|
modelValue?: string;
|
|
16
|
-
items:
|
|
16
|
+
items: QSidebarItemRegistration[];
|
|
17
17
|
}> & Readonly<{}>, {
|
|
18
18
|
itemsEl: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
|
|
19
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -28,7 +28,7 @@ declare function __VLS_template(): {
|
|
|
28
28
|
}, Readonly<{
|
|
29
29
|
anchorWidth?: number;
|
|
30
30
|
modelValue?: string;
|
|
31
|
-
items:
|
|
31
|
+
items: QSidebarItemRegistration[];
|
|
32
32
|
}> & Readonly<{}>, {
|
|
33
33
|
itemsEl: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
|
|
34
34
|
}, {}, {}, {}, {}> | null;
|
|
@@ -55,7 +55,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
55
55
|
anchor: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
56
56
|
anchorWidth?: number;
|
|
57
57
|
modelValue?: string;
|
|
58
|
-
items:
|
|
58
|
+
items: QSidebarItemRegistration[];
|
|
59
59
|
}> & Readonly<{}>, {
|
|
60
60
|
itemsEl: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
|
|
61
61
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -70,7 +70,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
70
70
|
}, Readonly<{
|
|
71
71
|
anchorWidth?: number;
|
|
72
72
|
modelValue?: string;
|
|
73
|
-
items:
|
|
73
|
+
items: QSidebarItemRegistration[];
|
|
74
74
|
}> & Readonly<{}>, {
|
|
75
75
|
itemsEl: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
|
|
76
76
|
}, {}, {}, {}, {}> | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/QSidebar.vue"],"names":[],"mappings":"AAgBA;AA6PC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"QSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/QSidebar.vue"],"names":[],"mappings":"AAgBA;AA6PC,OAAO,KAAK,EAAmB,wBAAwB,EAAE,MAAM,WAAW,CAAA;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAO5C,KAAK,WAAW,GAAG,aAAa,CAAC;AA2NlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAiDT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAUnB,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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { QSidebarItemRegistration } from './context';
|
|
2
2
|
/** Internal props for the anchor strip (not part of the public package API). */
|
|
3
3
|
type QSidebarAnchorProps = {
|
|
4
4
|
/**
|
|
@@ -19,7 +19,7 @@ type QSidebarAnchorProps = {
|
|
|
19
19
|
*
|
|
20
20
|
* @category Configuration
|
|
21
21
|
*/
|
|
22
|
-
items:
|
|
22
|
+
items: QSidebarItemRegistration[];
|
|
23
23
|
};
|
|
24
24
|
declare const _default: import('vue').DefineComponent<QSidebarAnchorProps, {
|
|
25
25
|
itemsEl: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSidebarAnchor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/QSidebarAnchor.vue"],"names":[],"mappings":"AAaA;AA6IC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"QSidebarAnchor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/QSidebarAnchor.vue"],"names":[],"mappings":"AAaA;AA6IC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AAKzD,gFAAgF;AAChF,KAAK,mBAAmB,GAAG;IAC1B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;OAIG;IACH,KAAK,EAAE,wBAAwB,EAAE,CAAA;CACjC,CAAA;;;;;;AAmJF,wBASG"}
|
|
@@ -26,6 +26,7 @@ declare function __VLS_template(): {
|
|
|
26
26
|
readonly size?: import('../..').QComponentSize | undefined;
|
|
27
27
|
readonly iconPos?: import('..').QButtonIconPosition | undefined;
|
|
28
28
|
readonly pill?: boolean | undefined;
|
|
29
|
+
readonly effect?: import('..').QButtonEffect | undefined;
|
|
29
30
|
readonly disabled?: boolean | undefined;
|
|
30
31
|
readonly loading?: boolean | undefined;
|
|
31
32
|
readonly tabindex?: number | undefined;
|
|
@@ -55,6 +56,7 @@ declare function __VLS_template(): {
|
|
|
55
56
|
size?: import('../..').QComponentSize;
|
|
56
57
|
iconPos?: import('..').QButtonIconPosition;
|
|
57
58
|
pill?: boolean;
|
|
59
|
+
effect?: import('..').QButtonEffect;
|
|
58
60
|
disabled?: boolean;
|
|
59
61
|
loading?: boolean;
|
|
60
62
|
tabindex?: number;
|
|
@@ -94,6 +96,7 @@ declare function __VLS_template(): {
|
|
|
94
96
|
size?: import('../..').QComponentSize;
|
|
95
97
|
iconPos?: import('..').QButtonIconPosition;
|
|
96
98
|
pill?: boolean;
|
|
99
|
+
effect?: import('..').QButtonEffect;
|
|
97
100
|
disabled?: boolean;
|
|
98
101
|
loading?: boolean;
|
|
99
102
|
tabindex?: number;
|
|
@@ -130,6 +133,7 @@ declare const __VLS_component: import('vue').DefineComponent<QSidebarItemProps,
|
|
|
130
133
|
readonly size?: import('../..').QComponentSize | undefined;
|
|
131
134
|
readonly iconPos?: import('..').QButtonIconPosition | undefined;
|
|
132
135
|
readonly pill?: boolean | undefined;
|
|
136
|
+
readonly effect?: import('..').QButtonEffect | undefined;
|
|
133
137
|
readonly disabled?: boolean | undefined;
|
|
134
138
|
readonly loading?: boolean | undefined;
|
|
135
139
|
readonly tabindex?: number | undefined;
|
|
@@ -159,6 +163,7 @@ declare const __VLS_component: import('vue').DefineComponent<QSidebarItemProps,
|
|
|
159
163
|
size?: import('../..').QComponentSize;
|
|
160
164
|
iconPos?: import('..').QButtonIconPosition;
|
|
161
165
|
pill?: boolean;
|
|
166
|
+
effect?: import('..').QButtonEffect;
|
|
162
167
|
disabled?: boolean;
|
|
163
168
|
loading?: boolean;
|
|
164
169
|
tabindex?: number;
|
|
@@ -198,6 +203,7 @@ declare const __VLS_component: import('vue').DefineComponent<QSidebarItemProps,
|
|
|
198
203
|
size?: import('../..').QComponentSize;
|
|
199
204
|
iconPos?: import('..').QButtonIconPosition;
|
|
200
205
|
pill?: boolean;
|
|
206
|
+
effect?: import('..').QButtonEffect;
|
|
201
207
|
disabled?: boolean;
|
|
202
208
|
loading?: boolean;
|
|
203
209
|
tabindex?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/QSidebarItem.vue"],"names":[],"mappings":"AAkEA;AA8LC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AA6GjD,iBAAS,cAAc;WAiMT,OAAO,IAA6B;;wBAhBrB,GAAG;kCACO,GAAG;wBACb,GAAG;iCACM,GAAG;yBACX,GAAG;wBACJ,GAAG
|
|
1
|
+
{"version":3,"file":"QSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/QSidebarItem.vue"],"names":[],"mappings":"AAkEA;AA8LC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AA6GjD,iBAAS,cAAc;WAiMT,OAAO,IAA6B;;wBAhBrB,GAAG;kCACO,GAAG;wBACb,GAAG;iCACM,GAAG;yBACX,GAAG;wBACJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAmEyjS,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;EAnD9sS;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA6BokS,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;OArB7sS,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"}
|
|
@@ -3,7 +3,7 @@ import { QSidebarPanelSize } from './types';
|
|
|
3
3
|
/**
|
|
4
4
|
* Metadata registered by each {@link QSidebarItem} with its parent {@link QSidebar}.
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type QSidebarItemRegistration = {
|
|
7
7
|
/**
|
|
8
8
|
* Identity of the item, matching the value used by `v-model` on `QSidebar`.
|
|
9
9
|
*/
|
|
@@ -34,7 +34,7 @@ export type SidebarItemRegistration = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Provide/inject context shared between {@link QSidebar} and its {@link QSidebarItem} children.
|
|
36
36
|
*/
|
|
37
|
-
export type
|
|
37
|
+
export type QSidebarContext = {
|
|
38
38
|
/**
|
|
39
39
|
* DOM element that hosts teleported anchor toggles.
|
|
40
40
|
*/
|
|
@@ -60,13 +60,13 @@ export type SidebarContext = {
|
|
|
60
60
|
/**
|
|
61
61
|
* Registered sidebar items in mount order.
|
|
62
62
|
*/
|
|
63
|
-
items: ShallowRef<
|
|
63
|
+
items: ShallowRef<QSidebarItemRegistration[]>;
|
|
64
64
|
/**
|
|
65
65
|
* Registers an item with the parent sidebar.
|
|
66
66
|
*
|
|
67
67
|
* @param item - Item metadata to register.
|
|
68
68
|
*/
|
|
69
|
-
register: (item:
|
|
69
|
+
register: (item: QSidebarItemRegistration) => void;
|
|
70
70
|
/**
|
|
71
71
|
* Removes a previously registered item (typically on unmount).
|
|
72
72
|
*
|
|
@@ -109,7 +109,7 @@ export type SidebarContext = {
|
|
|
109
109
|
onPanelAfterLeave: () => void;
|
|
110
110
|
};
|
|
111
111
|
/**
|
|
112
|
-
* Injection key for the {@link
|
|
112
|
+
* Injection key for the {@link QSidebarContext} provided by `QSidebar`.
|
|
113
113
|
*/
|
|
114
|
-
export declare const SidebarSymbol: InjectionKey<
|
|
114
|
+
export declare const SidebarSymbol: InjectionKey<QSidebarContext>;
|
|
115
115
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEhD;;GAEG;AACH,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEhD;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,SAAS,EAAE,GAA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AI,CAAA;IAEzB;;;;OAIG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAEtC;;;;OAIG;IACH,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAEpC;;;OAGG;IACH,iBAAiB,EAAE,MAAM,IAAI,CAAA;CAC7B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,eAAe,CAAuB,CAAA"}
|
|
@@ -24,7 +24,7 @@ declare const QSidebar: {
|
|
|
24
24
|
anchor: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
25
25
|
anchorWidth?: number;
|
|
26
26
|
modelValue?: string;
|
|
27
|
-
items: import('./context').
|
|
27
|
+
items: import('./context').QSidebarItemRegistration[];
|
|
28
28
|
}> & Readonly<{}>, {
|
|
29
29
|
itemsEl: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
|
|
30
30
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -39,7 +39,7 @@ declare const QSidebar: {
|
|
|
39
39
|
}, Readonly<{
|
|
40
40
|
anchorWidth?: number;
|
|
41
41
|
modelValue?: string;
|
|
42
|
-
items: import('./context').
|
|
42
|
+
items: import('./context').QSidebarItemRegistration[];
|
|
43
43
|
}> & Readonly<{}>, {
|
|
44
44
|
itemsEl: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
|
|
45
45
|
}, {}, {}, {}, {}> | null;
|
|
@@ -117,6 +117,7 @@ declare const QSidebarItem: {
|
|
|
117
117
|
readonly size?: import('../..').QComponentSize | undefined;
|
|
118
118
|
readonly iconPos?: import('..').QButtonIconPosition | undefined;
|
|
119
119
|
readonly pill?: boolean | undefined;
|
|
120
|
+
readonly effect?: import('..').QButtonEffect | undefined;
|
|
120
121
|
readonly disabled?: boolean | undefined;
|
|
121
122
|
readonly loading?: boolean | undefined;
|
|
122
123
|
readonly tabindex?: number | undefined;
|
|
@@ -146,6 +147,7 @@ declare const QSidebarItem: {
|
|
|
146
147
|
size?: import('../..').QComponentSize;
|
|
147
148
|
iconPos?: import('..').QButtonIconPosition;
|
|
148
149
|
pill?: boolean;
|
|
150
|
+
effect?: import('..').QButtonEffect;
|
|
149
151
|
disabled?: boolean;
|
|
150
152
|
loading?: boolean;
|
|
151
153
|
tabindex?: number;
|
|
@@ -185,6 +187,7 @@ declare const QSidebarItem: {
|
|
|
185
187
|
size?: import('../..').QComponentSize;
|
|
186
188
|
iconPos?: import('..').QButtonIconPosition;
|
|
187
189
|
pill?: boolean;
|
|
190
|
+
effect?: import('..').QButtonEffect;
|
|
188
191
|
disabled?: boolean;
|
|
189
192
|
loading?: boolean;
|
|
190
193
|
tabindex?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA;AAC3C,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA;AAC3C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO0z0B,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAP/40B,CAAA;AAGnD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAA;AAGjC,cAAc,SAAS,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QBaseComponentProps } from '../../types/component';
|
|
2
|
-
import {
|
|
2
|
+
import { QIconProps } from '../QIcon';
|
|
3
3
|
/**
|
|
4
4
|
* Predefined panel size options for the sidebar.
|
|
5
5
|
*/
|
|
@@ -50,7 +50,7 @@ export type QSidebarItemProps = QBaseComponentProps & {
|
|
|
50
50
|
*
|
|
51
51
|
* @category Content
|
|
52
52
|
*/
|
|
53
|
-
icon?:
|
|
53
|
+
icon?: QIconProps;
|
|
54
54
|
/**
|
|
55
55
|
* Identity used by `v-model` on `QSidebar`.
|
|
56
56
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSidebar/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAE1C;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEjF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EA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