@quoreadmin/ui 1.4.0 → 1.4.2
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/index.d.ts +2 -0
- package/dist/index.js +14365 -16291
- package/dist/index.umd.cjs +935 -113
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/components/accordion/accordion.d.ts +113 -0
- package/dist/src/components/accordion/accordion.stories.d.ts +803 -0
- package/dist/src/components/accordion/accordion.vue.d.ts +2 -0
- package/dist/src/components/activity-item/activity-item.d.ts +83 -0
- package/dist/src/components/activity-item/activity-item.stories.d.ts +7 -0
- package/dist/src/components/activity-item/activity-item.vue.d.ts +2 -0
- package/dist/src/components/avatar/avatar.d.ts +54 -0
- package/dist/src/components/avatar/avatar.stories.d.ts +68 -0
- package/dist/src/components/avatar/avatar.vue.d.ts +2 -0
- package/dist/src/components/badge/badge.d.ts +31 -0
- package/dist/src/components/badge/badge.stories.d.ts +135 -0
- package/dist/src/components/badge/badge.vue.d.ts +2 -0
- package/dist/src/components/banner/banner.d.ts +24 -0
- package/dist/src/components/banner/banner.stories.d.ts +40 -0
- package/dist/src/components/banner/banner.vue.d.ts +2 -0
- package/dist/src/components/bottom-sheet/bottom-sheet.d.ts +120 -0
- package/dist/src/components/bottom-sheet/bottom-sheet.stories.d.ts +925 -0
- package/dist/src/components/bottom-sheet/bottom-sheet.vue.d.ts +2 -0
- package/dist/src/components/button/button.d.ts +121 -0
- package/dist/src/components/button/button.stories.d.ts +518 -0
- package/dist/src/components/button/button.vue.d.ts +2 -0
- package/dist/src/components/button-group/button-group.d.ts +92 -0
- package/dist/src/components/button-group/button-group.stories.d.ts +325 -0
- package/dist/src/components/button-group/button-group.vue.d.ts +2 -0
- package/dist/src/components/checkbox/checkbox.d.ts +205 -0
- package/dist/src/components/checkbox/checkbox.vue.d.ts +2 -0
- package/dist/src/components/comment/comment.d.ts +3157 -0
- package/dist/src/components/comment/comment.stories.d.ts +3186 -0
- package/dist/src/components/comment/comment.vue.d.ts +2 -0
- package/dist/src/components/comment-section/comment-section.d.ts +4866 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +6541 -0
- package/dist/src/components/comment-section/comment-section.vue.d.ts +2 -0
- package/dist/src/components/counter/counter.d.ts +53 -0
- package/dist/src/components/counter/counter.stories.d.ts +120 -0
- package/dist/src/components/counter/counter.vue.d.ts +2 -0
- package/dist/src/components/data-filter/data-filter.d.ts +773 -0
- package/dist/src/components/data-filter/data-filter.vue.d.ts +2 -0
- package/dist/src/components/data-list/data-list.d.ts +945 -0
- package/dist/src/components/data-list/data-list.vue.d.ts +2 -0
- package/dist/src/components/data-table/data-table.d.ts +543 -0
- package/dist/src/components/data-table/data-table.vue.d.ts +2 -0
- package/dist/src/components/data-table-cell/data-table-cell.d.ts +42 -0
- package/dist/src/components/data-table-cell/data-table-cell.vue.d.ts +2 -0
- package/dist/src/components/data-table-head/data-table-head.d.ts +110 -0
- package/dist/src/components/data-table-head/data-table-head.vue.d.ts +2 -0
- package/dist/src/components/date-picker/date-picker.d.ts +672 -0
- package/dist/src/components/date-picker/date-picker.stories.d.ts +1316 -0
- package/dist/src/components/date-picker/date-picker.vue.d.ts +2 -0
- package/dist/src/components/divider/divider.d.ts +41 -0
- package/dist/src/components/divider/divider.stories.d.ts +103 -0
- package/dist/src/components/divider/divider.vue.d.ts +2 -0
- package/dist/src/components/file-upload/file-upload.d.ts +1214 -0
- package/dist/src/components/file-upload/file-upload.stories.d.ts +6974 -0
- package/dist/src/components/file-upload/file-upload.vue.d.ts +2 -0
- package/dist/src/components/footer-actions/footer-actions.d.ts +3 -0
- package/dist/src/components/footer-actions/footer-actions.stories.d.ts +17 -0
- package/dist/src/components/footer-actions/footer-actions.vue.d.ts +2 -0
- package/dist/src/components/form-group/form-group.d.ts +33 -0
- package/dist/src/components/form-group/form-group.stories.d.ts +230 -0
- package/dist/src/components/form-group/form-group.vue.d.ts +2 -0
- package/dist/src/components/grid/grid.d.ts +267 -0
- package/dist/src/components/grid/grid.stories.d.ts +3523 -0
- package/dist/src/components/grid/grid.vue.d.ts +2 -0
- package/dist/src/components/icon/icon.d.ts +93 -0
- package/dist/src/components/icon/icon.stories.d.ts +115 -0
- package/dist/src/components/icon/icon.vue.d.ts +2 -0
- package/dist/src/components/icon-action-group/icon-action-group.d.ts +513 -0
- package/dist/src/components/icon-action-group/icon-action-group.stories.d.ts +2570 -0
- package/dist/src/components/icon-action-group/icon-action-group.vue.d.ts +2 -0
- package/dist/src/components/image-gallery/image-gallery.d.ts +840 -0
- package/dist/src/components/image-gallery/image-gallery.stories.d.ts +1711 -0
- package/dist/src/components/image-gallery/image-gallery.vue.d.ts +2 -0
- package/dist/src/components/input/input.d.ts +185 -0
- package/dist/src/components/input/input.stories.d.ts +1065 -0
- package/dist/src/components/input/input.vue.d.ts +2 -0
- package/dist/src/components/list/list.d.ts +209 -0
- package/dist/src/components/list/list.stories.d.ts +1682 -0
- package/dist/src/components/list/list.vue.d.ts +2 -0
- package/dist/src/components/menu/menu.d.ts +120 -0
- package/dist/src/components/menu/menu.stories.d.ts +239 -0
- package/dist/src/components/menu/menu.vue.d.ts +2 -0
- package/dist/src/components/modal/modal.d.ts +192 -0
- package/dist/src/components/modal/modal.stories.d.ts +2102 -0
- package/dist/src/components/modal/modal.vue.d.ts +2 -0
- package/dist/src/components/modal/variants/error-modal/error-modal.d.ts +221 -0
- package/dist/src/components/modal/variants/error-modal/error-modal.vue.d.ts +2 -0
- package/dist/src/components/modal/variants/warning-modal/warning-modal.d.ts +241 -0
- package/dist/src/components/modal/variants/warning-modal/warning-modal.vue.d.ts +2 -0
- package/dist/src/components/modal-content/modal-content.d.ts +37 -0
- package/dist/src/components/modal-content/modal-content.vue.d.ts +2 -0
- package/dist/src/components/page-heading/page-heading.d.ts +57 -0
- package/dist/src/components/page-heading/page-heading.vue.d.ts +2 -0
- package/dist/src/components/page-navigation/page-navigation.d.ts +15 -0
- package/dist/src/components/page-navigation/page-navigation.vue.d.ts +2 -0
- package/dist/src/components/pdf-viewer/pdf-viewer.d.ts +243 -0
- package/dist/src/components/pdf-viewer/pdf-viewer.stories.d.ts +260 -0
- package/dist/src/components/pdf-viewer/pdf-viewer.vue.d.ts +2 -0
- package/dist/src/components/popover/popover.d.ts +118 -0
- package/dist/src/components/popover/popover.stories.d.ts +411 -0
- package/dist/src/components/popover/popover.vue.d.ts +2 -0
- package/dist/src/components/progress-bar/progress-bar.d.ts +85 -0
- package/dist/src/components/progress-bar/progress-bar.stories.d.ts +103 -0
- package/dist/src/components/progress-bar/progress-bar.vue.d.ts +2 -0
- package/dist/src/components/progress-bar-group/progress-bar-group.d.ts +152 -0
- package/dist/src/components/progress-bar-group/progress-bar-group.stories.d.ts +5 -0
- package/dist/src/components/progress-bar-group/progress-bar-group.vue.d.ts +2 -0
- package/dist/src/components/radio/radio.d.ts +93 -0
- package/dist/src/components/radio/radio.stories.d.ts +233 -0
- package/dist/src/components/radio/radio.vue.d.ts +2 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +6467 -0
- package/dist/src/components/room-details-popover/room-details-popover.vue.d.ts +2 -0
- package/dist/src/components/select/select.d.ts +407 -0
- package/dist/src/components/select/select.stories.d.ts +1297 -0
- package/dist/src/components/select/select.vue.d.ts +2 -0
- package/dist/src/components/table/table.d.ts +407 -0
- package/dist/src/components/table/table.vue.d.ts +2 -0
- package/dist/src/components/tag/tag.d.ts +43 -0
- package/dist/src/components/tag/tag.stories.d.ts +176 -0
- package/dist/src/components/tag/tag.vue.d.ts +2 -0
- package/dist/src/components/textarea/textarea.d.ts +92 -0
- package/dist/src/components/textarea/textarea.stories.d.ts +111 -0
- package/dist/src/components/textarea/textarea.vue.d.ts +2 -0
- package/dist/src/components/toast/toast.d.ts +117 -0
- package/dist/src/components/toast/toast.stories.d.ts +661 -0
- package/dist/src/components/toast/toast.vue.d.ts +2 -0
- package/dist/src/components/tooltip/tooltip.d.ts +137 -0
- package/dist/src/components/tooltip/tooltip.stories.d.ts +953 -0
- package/dist/src/components/tooltip/tooltip.vue.d.ts +2 -0
- package/dist/src/components/tour/tour.d.ts +364 -0
- package/dist/src/components/tour/tour.vue.d.ts +2 -0
- package/dist/src/components/wysiwyg/wysiwyg.d.ts +1560 -0
- package/dist/src/components/wysiwyg/wysiwyg.stories.d.ts +1583 -0
- package/dist/src/components/wysiwyg/wysiwyg.vue.d.ts +2 -0
- package/dist/src/composables/filtering.d.ts +22 -0
- package/dist/src/composables/mq.d.ts +12 -0
- package/dist/src/composables/nanopop.d.ts +77 -0
- package/dist/src/composables/table-data.d.ts +138 -0
- package/dist/src/composables/useDeviceType.d.ts +4 -0
- package/dist/src/index.d.ts +58 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/plugins/luxon.d.ts +3 -0
- package/dist/src/router/index.d.ts +2 -0
- package/dist/src/views/lists.vue.d.ts +2491 -0
- package/dist/src/views/rdp.vue.d.ts +9 -0
- package/dist/src/views/showcase.vue.d.ts +523 -0
- package/dist/src/views/tables.vue.d.ts +1846 -0
- package/dist/src/views/tour.vue.d.ts +48 -0
- package/package.json +30 -5
- package/tailwind.preset.ts +245 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const QActivityItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
type: {
|
|
4
|
+
type: PropType<"complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
text: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
time: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
isClickable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
wrapTime: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}>, {
|
|
24
|
+
props: import('@vue/shared').LooseRequired<Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
type: {
|
|
26
|
+
type: PropType<"complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order">;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
text: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
time: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
isClickable: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
wrapTime: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{
|
|
46
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
}> & {}>;
|
|
48
|
+
isHistory: import('vue').ComputedRef<boolean>;
|
|
49
|
+
isLineIcon: import('vue').ComputedRef<boolean>;
|
|
50
|
+
typeIcon: import('vue').ComputedRef<"history" | "na" | "face-sad" | "close" | "check" | "minus" | "bell-concierge" | "phone-plus" | "tasks" | "hammer">;
|
|
51
|
+
handleClick: () => void;
|
|
52
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
53
|
+
type: {
|
|
54
|
+
type: PropType<"complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order">;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
text: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
time: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
isClickable: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
wrapTime: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{
|
|
74
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
}>, {
|
|
76
|
+
type: "complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order";
|
|
77
|
+
text: string;
|
|
78
|
+
time: string;
|
|
79
|
+
isClickable: boolean;
|
|
80
|
+
wrapTime: boolean;
|
|
81
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
82
|
+
export type QActivityItemType = typeof QActivityItem;
|
|
83
|
+
export default QActivityItem;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const QAvatar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
/** Determines the size of the avatar (currently, only 'sm' is supported) */
|
|
3
|
+
size: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
/** Currently used for displaying user initials */
|
|
8
|
+
text: {
|
|
9
|
+
type: StringConstructor[];
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
/** Background that shows up behind the avatar */
|
|
13
|
+
bgColor: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
/** Image source of photo */
|
|
18
|
+
src: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>, {
|
|
23
|
+
validSrc: import('vue').Ref<boolean, boolean>;
|
|
24
|
+
isLoaded: import('vue').Ref<boolean, boolean>;
|
|
25
|
+
onImageLoad: () => void;
|
|
26
|
+
onImageError: () => void;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
/** Determines the size of the avatar (currently, only 'sm' is supported) */
|
|
29
|
+
size: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
/** Currently used for displaying user initials */
|
|
34
|
+
text: {
|
|
35
|
+
type: StringConstructor[];
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
/** Background that shows up behind the avatar */
|
|
39
|
+
bgColor: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
/** Image source of photo */
|
|
44
|
+
src: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
}>> & Readonly<{}>, {
|
|
49
|
+
text: string;
|
|
50
|
+
size: string;
|
|
51
|
+
bgColor: string;
|
|
52
|
+
src: string;
|
|
53
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
54
|
+
export default QAvatar;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Args, Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as QAvatar } from './avatar.vue';
|
|
3
|
+
declare const meta: Meta<typeof QAvatar>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: {
|
|
7
|
+
name: string;
|
|
8
|
+
render: (args: Args) => {
|
|
9
|
+
components: {
|
|
10
|
+
QAvatar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
size: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
text: {
|
|
16
|
+
type: StringConstructor[];
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
bgColor: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
src: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>, {
|
|
28
|
+
validSrc: import('vue').Ref<boolean, boolean>;
|
|
29
|
+
isLoaded: import('vue').Ref<boolean, boolean>;
|
|
30
|
+
onImageLoad: () => void;
|
|
31
|
+
onImageError: () => void;
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
size: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
text: {
|
|
38
|
+
type: StringConstructor[];
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
bgColor: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
src: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
text: string;
|
|
51
|
+
size: string;
|
|
52
|
+
bgColor: string;
|
|
53
|
+
src: string;
|
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
55
|
+
};
|
|
56
|
+
setup(this: void): {
|
|
57
|
+
args: Args;
|
|
58
|
+
};
|
|
59
|
+
template: string;
|
|
60
|
+
};
|
|
61
|
+
args: {
|
|
62
|
+
text: string;
|
|
63
|
+
bgColor: string;
|
|
64
|
+
size: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export declare const PhotoAvatar: Story;
|
|
68
|
+
export declare const InvalidPhoto: Story;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const QBadge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
/** Background of the badge */
|
|
3
|
+
color: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
/** shape of the badge */
|
|
8
|
+
shape: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}>, {
|
|
13
|
+
bgColor: import('vue').ComputedRef<string>;
|
|
14
|
+
hasIcon: import('vue').ComputedRef<boolean>;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
/** Background of the badge */
|
|
17
|
+
color: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
/** shape of the badge */
|
|
22
|
+
shape: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>> & Readonly<{}>, {
|
|
27
|
+
color: string;
|
|
28
|
+
shape: string;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export type QBadgeType = typeof QBadge;
|
|
31
|
+
export default QBadge;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { Args, Meta } from '@storybook/vue3';
|
|
2
|
+
import { default as QBadge } from './badge.vue';
|
|
3
|
+
declare const meta: Meta<typeof QBadge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Example: {
|
|
6
|
+
name: string;
|
|
7
|
+
render: (args: Args) => {
|
|
8
|
+
components: {
|
|
9
|
+
QBadge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
10
|
+
color: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
shape: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {
|
|
19
|
+
bgColor: import('vue').ComputedRef<string>;
|
|
20
|
+
hasIcon: import('vue').ComputedRef<boolean>;
|
|
21
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
+
color: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
shape: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{}>, {
|
|
31
|
+
color: string;
|
|
32
|
+
shape: string;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
QIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
35
|
+
icon: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
type: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
width: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
required: false;
|
|
47
|
+
};
|
|
48
|
+
height: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
size: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
color: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
inline: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
customClass: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
customSize: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
}>, {
|
|
74
|
+
iconPath: import('vue').ComputedRef<string>;
|
|
75
|
+
customizedSize: import('vue').ComputedRef<boolean>;
|
|
76
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
77
|
+
icon: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
type: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
width: {
|
|
86
|
+
type: NumberConstructor;
|
|
87
|
+
default: number;
|
|
88
|
+
required: false;
|
|
89
|
+
};
|
|
90
|
+
height: {
|
|
91
|
+
type: NumberConstructor;
|
|
92
|
+
default: number;
|
|
93
|
+
required: false;
|
|
94
|
+
};
|
|
95
|
+
size: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
color: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
inline: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
customClass: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
customSize: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
}>> & Readonly<{}>, {
|
|
116
|
+
type: string;
|
|
117
|
+
color: string;
|
|
118
|
+
size: string;
|
|
119
|
+
height: number;
|
|
120
|
+
width: number;
|
|
121
|
+
inline: boolean;
|
|
122
|
+
customClass: string;
|
|
123
|
+
customSize: boolean;
|
|
124
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
125
|
+
};
|
|
126
|
+
setup(this: void): {
|
|
127
|
+
args: Args;
|
|
128
|
+
};
|
|
129
|
+
template: string;
|
|
130
|
+
};
|
|
131
|
+
args: {
|
|
132
|
+
color: string;
|
|
133
|
+
shape: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const QBanner: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
backgroundColor: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
textColor: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
backgroundColor: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
textColor: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
textColor: string;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export type QBannerType = typeof QBanner;
|
|
24
|
+
export default QBanner;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Args, Meta } from '@storybook/vue3';
|
|
2
|
+
import { default as QBanner } from './banner.vue';
|
|
3
|
+
declare const meta: Meta<typeof QBanner>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Example: {
|
|
6
|
+
name: string;
|
|
7
|
+
render: (args: Args) => {
|
|
8
|
+
components: {
|
|
9
|
+
QBanner: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
10
|
+
backgroundColor: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
textColor: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
backgroundColor: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
textColor: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
backgroundColor: string;
|
|
29
|
+
textColor: string;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
};
|
|
32
|
+
setup(this: void): {
|
|
33
|
+
args: Args;
|
|
34
|
+
};
|
|
35
|
+
template: string;
|
|
36
|
+
};
|
|
37
|
+
args: {
|
|
38
|
+
backgroundColor: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
declare const QSheet: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
/** is card visible */
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
/** If user clicks outside of the bottom sheet it closes */
|
|
8
|
+
allowOnClickOutside: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
allowDrag: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
/** Background of the sheet */
|
|
17
|
+
backgroundColor: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
setNoScroll: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
showCloseButton: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
topPosition: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
headerClass: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
titleClass: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
contentClass: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
}>, {
|
|
46
|
+
sheetRef: import('vue').Ref<any, any>;
|
|
47
|
+
headerRef: import('vue').Ref<any, any>;
|
|
48
|
+
windowHeight: import('vue').Ref<number, number>;
|
|
49
|
+
isDragging: import('vue').Ref<boolean, boolean>;
|
|
50
|
+
bgColor: import('vue').ComputedRef<string>;
|
|
51
|
+
containerClasses: import('vue').ComputedRef<"z-[201]" | "-z-40">;
|
|
52
|
+
show: import('vue').WritableComputedRef<boolean, boolean>;
|
|
53
|
+
hasHeaderAction: import('vue').ComputedRef<boolean>;
|
|
54
|
+
onClickOutside: () => void;
|
|
55
|
+
onClose: (option?: {
|
|
56
|
+
clickOutside: boolean;
|
|
57
|
+
}) => Promise<void>;
|
|
58
|
+
onOpen: () => void;
|
|
59
|
+
dragHandler: (ctx: any) => void;
|
|
60
|
+
handleDrag: (ctx: any) => void;
|
|
61
|
+
handleDragEnd: (ctx: any) => void;
|
|
62
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:model-value"[], "update:model-value", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
63
|
+
/** is card visible */
|
|
64
|
+
modelValue: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
/** If user clicks outside of the bottom sheet it closes */
|
|
69
|
+
allowOnClickOutside: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
allowDrag: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
/** Background of the sheet */
|
|
78
|
+
backgroundColor: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
setNoScroll: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
showCloseButton: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
topPosition: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
headerClass: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
titleClass: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
contentClass: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{
|
|
107
|
+
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
}>, {
|
|
109
|
+
modelValue: boolean;
|
|
110
|
+
contentClass: string;
|
|
111
|
+
backgroundColor: string;
|
|
112
|
+
allowOnClickOutside: boolean;
|
|
113
|
+
allowDrag: boolean;
|
|
114
|
+
setNoScroll: boolean;
|
|
115
|
+
showCloseButton: boolean;
|
|
116
|
+
topPosition: string;
|
|
117
|
+
headerClass: string;
|
|
118
|
+
titleClass: string;
|
|
119
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
120
|
+
export default QSheet;
|