@rocketui/vue 0.2.69 → 0.2.70
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/rocket-ui-vue.js +894 -885
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/Accordion/RAccordion.vue.d.ts +70 -0
- package/dist/types/components/Accordion/RAccordion.vue.d.ts.map +1 -0
- package/dist/types/components/Alert/RAlert.vue.d.ts +109 -0
- package/dist/types/components/Alert/RAlert.vue.d.ts.map +1 -0
- package/dist/types/components/Avatar/RAvatar.vue.d.ts +92 -0
- package/dist/types/components/Avatar/RAvatar.vue.d.ts.map +1 -0
- package/dist/types/components/Badge/RBadge.vue.d.ts +143 -0
- package/dist/types/components/Badge/RBadge.vue.d.ts.map +1 -0
- package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts +50 -0
- package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
- package/dist/types/components/Button/RButton.vue.d.ts +155 -0
- package/dist/types/components/Button/RButton.vue.d.ts.map +1 -0
- package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +120 -0
- package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
- package/dist/types/components/Chips/RChip.vue.d.ts +132 -0
- package/dist/types/components/Chips/RChip.vue.d.ts.map +1 -0
- package/dist/types/components/Dropdown/RDropdown.vue.d.ts +415 -0
- package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
- package/dist/types/components/Icon/RIcon.vue.d.ts +59 -0
- package/dist/types/components/Icon/RIcon.vue.d.ts.map +1 -0
- package/dist/types/components/ItemGroup/RItem.vue.d.ts +65 -0
- package/dist/types/components/ItemGroup/RItem.vue.d.ts.map +1 -0
- package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts +123 -0
- package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
- package/dist/types/components/Label/RLabel.vue.d.ts +68 -0
- package/dist/types/components/Label/RLabel.vue.d.ts.map +1 -0
- package/dist/types/components/Modal/RModal.vue.d.ts +183 -0
- package/dist/types/components/Modal/RModal.vue.d.ts.map +1 -0
- package/dist/types/components/Pagination/RPagination.vue.d.ts +110 -0
- package/dist/types/components/Pagination/RPagination.vue.d.ts.map +1 -0
- package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts +34 -0
- package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
- package/dist/types/components/Radio/RRadio.vue.d.ts +66 -0
- package/dist/types/components/Radio/RRadio.vue.d.ts.map +1 -0
- package/dist/types/components/Sidebar/RSidebar.vue.d.ts +53 -0
- package/dist/types/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
- package/dist/types/components/Snackbar/RSnackbar.vue.d.ts +113 -0
- package/dist/types/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
- package/dist/types/components/Switch/RSwitch.vue.d.ts +135 -0
- package/dist/types/components/Switch/RSwitch.vue.d.ts.map +1 -0
- package/dist/types/components/TabItem/RTabItem.vue.d.ts +155 -0
- package/dist/types/components/TabItem/RTabItem.vue.d.ts.map +1 -0
- package/dist/types/components/Tabs/RTabs.vue.d.ts +95 -0
- package/dist/types/components/Tabs/RTabs.vue.d.ts.map +1 -0
- package/dist/types/components/TextArea/RTextArea.vue.d.ts +120 -0
- package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +1 -0
- package/dist/types/components/Textfield/RTextfield.vue.d.ts +249 -0
- package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +1 -0
- package/dist/types/components/Tooltip/RTooltip.vue.d.ts +253 -0
- package/dist/types/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
- package/dist/types/lib/main.d.ts +26 -0
- package/dist/types/lib/main.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/rocket-ui-vue.d.ts +0 -3325
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, HTMLAttributes, LabelHTMLAttributes } from 'vue';
|
|
2
|
+
export interface LabelProps {
|
|
3
|
+
/**
|
|
4
|
+
* id of the label
|
|
5
|
+
* @type HTMLAttributes['id']
|
|
6
|
+
* @default ''
|
|
7
|
+
* @example
|
|
8
|
+
* <Label id="label" />
|
|
9
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
10
|
+
*/
|
|
11
|
+
id: HTMLAttributes['id'];
|
|
12
|
+
/**
|
|
13
|
+
* for of the label
|
|
14
|
+
* @type LabelHTMLAttributes['for']
|
|
15
|
+
* @default ''
|
|
16
|
+
* @example
|
|
17
|
+
* <Label for="label" />
|
|
18
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
19
|
+
*/
|
|
20
|
+
for: LabelHTMLAttributes['for'];
|
|
21
|
+
/**
|
|
22
|
+
* text of the label
|
|
23
|
+
* @type string | number
|
|
24
|
+
* @default ''
|
|
25
|
+
* @example
|
|
26
|
+
* <Label text="Label" />
|
|
27
|
+
*/
|
|
28
|
+
text: string | number;
|
|
29
|
+
}
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LabelProps>, {
|
|
31
|
+
id: string;
|
|
32
|
+
for: string;
|
|
33
|
+
text: string;
|
|
34
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LabelProps>, {
|
|
35
|
+
id: string;
|
|
36
|
+
for: string;
|
|
37
|
+
text: string;
|
|
38
|
+
}>>>, {
|
|
39
|
+
text: string | number;
|
|
40
|
+
id: string | undefined;
|
|
41
|
+
for: string | undefined;
|
|
42
|
+
}, {}>, {
|
|
43
|
+
default?(_: {}): any;
|
|
44
|
+
}>;
|
|
45
|
+
export default _default;
|
|
46
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
56
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
+
default: D[K];
|
|
58
|
+
}> : P[K];
|
|
59
|
+
};
|
|
60
|
+
declare type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
63
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=RLabel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RLabel.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Label/RLabel.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,KAAK,CAAA;AAC9D,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAU;IACzB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAExB;;;;;;;OAOG;IACH,GAAG,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAE/B;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB;;;;;;;;;;;;;;;;AAyED,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export interface ModalProps {
|
|
3
|
+
/**
|
|
4
|
+
* modelValue the modal
|
|
5
|
+
* @type boolean
|
|
6
|
+
* @default false
|
|
7
|
+
* @example
|
|
8
|
+
* <Modal :modelValue="true" />
|
|
9
|
+
*/
|
|
10
|
+
modelValue: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Modal width is 100%
|
|
13
|
+
* @type boolean
|
|
14
|
+
* @default false
|
|
15
|
+
* @example
|
|
16
|
+
* <Modal block />
|
|
17
|
+
*/
|
|
18
|
+
block?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Title of the Modal
|
|
21
|
+
* @type string
|
|
22
|
+
* @default ''
|
|
23
|
+
* @example
|
|
24
|
+
* <Modal title="Modal Title" />
|
|
25
|
+
*/
|
|
26
|
+
title?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Description of the Modal
|
|
29
|
+
* @type string
|
|
30
|
+
* @default ''
|
|
31
|
+
* @example
|
|
32
|
+
* <Modal description="Modal Description" />
|
|
33
|
+
*/
|
|
34
|
+
description?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Icon of the Modal
|
|
37
|
+
* @type string
|
|
38
|
+
* @default ''
|
|
39
|
+
* @example
|
|
40
|
+
* <Modal icon="mdiMail" />
|
|
41
|
+
*/
|
|
42
|
+
icon?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Width of the Modal
|
|
45
|
+
* @type string
|
|
46
|
+
* @default ''
|
|
47
|
+
* @example
|
|
48
|
+
* <Modal width="500px" />
|
|
49
|
+
*/
|
|
50
|
+
width?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Height of the Modal
|
|
53
|
+
* @type string
|
|
54
|
+
* @default ''
|
|
55
|
+
* @example
|
|
56
|
+
* <Modal height="500px" />
|
|
57
|
+
*/
|
|
58
|
+
height?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Close the modal when clicking outside
|
|
61
|
+
* @type boolean
|
|
62
|
+
* @default false
|
|
63
|
+
* @example
|
|
64
|
+
* <Modal :modelValue="true" :outsideClick="true" />
|
|
65
|
+
*/
|
|
66
|
+
outsideClick?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Remove padding and gap from the modal
|
|
69
|
+
* @type boolean
|
|
70
|
+
* @default false
|
|
71
|
+
* @example
|
|
72
|
+
* <Modal :modelValue="true" :clearContent="true" />
|
|
73
|
+
*/
|
|
74
|
+
clearContent?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Class of the Modal
|
|
77
|
+
* @type string
|
|
78
|
+
* @default ''
|
|
79
|
+
* @example
|
|
80
|
+
* <Modal class="my-class" />
|
|
81
|
+
*/
|
|
82
|
+
class?: string | string[];
|
|
83
|
+
/**
|
|
84
|
+
* Class of the overlay
|
|
85
|
+
* @type string
|
|
86
|
+
* @default ''
|
|
87
|
+
* @example
|
|
88
|
+
* <Modal overlayClass="my-class" />
|
|
89
|
+
*/
|
|
90
|
+
overlayClass?: string | string[];
|
|
91
|
+
/**
|
|
92
|
+
* Style of the Modal
|
|
93
|
+
* @type string
|
|
94
|
+
* @default ''
|
|
95
|
+
* @example
|
|
96
|
+
* <Modal style="color: red" />
|
|
97
|
+
*/
|
|
98
|
+
style?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Control the scroll of the body
|
|
101
|
+
* @type boolean
|
|
102
|
+
* @default false
|
|
103
|
+
* @example
|
|
104
|
+
* <Modal :modelValue="true" :allowBodyScroll="true" />
|
|
105
|
+
*/
|
|
106
|
+
allowBodyScroll?: boolean;
|
|
107
|
+
}
|
|
108
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
|
|
109
|
+
modelValue: boolean;
|
|
110
|
+
block: boolean;
|
|
111
|
+
title: string;
|
|
112
|
+
description: string;
|
|
113
|
+
icon: string;
|
|
114
|
+
width: string;
|
|
115
|
+
height: string;
|
|
116
|
+
outsideClick: boolean;
|
|
117
|
+
clearContent: boolean;
|
|
118
|
+
class: string;
|
|
119
|
+
overlayClass: string;
|
|
120
|
+
style: string;
|
|
121
|
+
allowBodyScroll: boolean;
|
|
122
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
123
|
+
"update:modelValue": (...args: any[]) => void;
|
|
124
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
|
|
125
|
+
modelValue: boolean;
|
|
126
|
+
block: boolean;
|
|
127
|
+
title: string;
|
|
128
|
+
description: string;
|
|
129
|
+
icon: string;
|
|
130
|
+
width: string;
|
|
131
|
+
height: string;
|
|
132
|
+
outsideClick: boolean;
|
|
133
|
+
clearContent: boolean;
|
|
134
|
+
class: string;
|
|
135
|
+
overlayClass: string;
|
|
136
|
+
style: string;
|
|
137
|
+
allowBodyScroll: boolean;
|
|
138
|
+
}>>> & {
|
|
139
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
width: string;
|
|
142
|
+
height: string;
|
|
143
|
+
style: string;
|
|
144
|
+
title: string;
|
|
145
|
+
class: string | string[];
|
|
146
|
+
description: string;
|
|
147
|
+
block: boolean;
|
|
148
|
+
icon: string;
|
|
149
|
+
modelValue: boolean;
|
|
150
|
+
outsideClick: boolean;
|
|
151
|
+
clearContent: boolean;
|
|
152
|
+
overlayClass: string | string[];
|
|
153
|
+
allowBodyScroll: boolean;
|
|
154
|
+
}, {}>, {
|
|
155
|
+
wrapper?(_: {}): any;
|
|
156
|
+
header?(_: {}): any;
|
|
157
|
+
default?(_: {}): any;
|
|
158
|
+
actions?(_: {}): any;
|
|
159
|
+
}>;
|
|
160
|
+
export default _default;
|
|
161
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
162
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
163
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
164
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
165
|
+
} : {
|
|
166
|
+
type: PropType<T[K]>;
|
|
167
|
+
required: true;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
171
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
172
|
+
default: D[K];
|
|
173
|
+
}> : P[K];
|
|
174
|
+
};
|
|
175
|
+
declare type __VLS_Prettify<T> = {
|
|
176
|
+
[K in keyof T]: T[K];
|
|
177
|
+
} & {};
|
|
178
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
179
|
+
new (): {
|
|
180
|
+
$slots: S;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
//# sourceMappingURL=RModal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/RModal.vue"],"names":[],"mappings":"AAGA,OAAO,aAAa,CAAA;AAGpB,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,UAAU,EAAE,OAAO,CAAA;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEhC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;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ComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export interface PaginationProps {
|
|
3
|
+
/**
|
|
4
|
+
* @default 1
|
|
5
|
+
* The current page number.
|
|
6
|
+
* @type number
|
|
7
|
+
*/
|
|
8
|
+
page: number;
|
|
9
|
+
/**
|
|
10
|
+
* @default 10
|
|
11
|
+
* The number of items per page.
|
|
12
|
+
* @type number
|
|
13
|
+
*/
|
|
14
|
+
perPage: number;
|
|
15
|
+
/**
|
|
16
|
+
* @default 100
|
|
17
|
+
* The total number of items.
|
|
18
|
+
* @type number
|
|
19
|
+
*/
|
|
20
|
+
totalItems: number;
|
|
21
|
+
/**
|
|
22
|
+
* @default [10, 20, 50, 100]
|
|
23
|
+
* The options to display in the per page dropdown.
|
|
24
|
+
* @type number[]
|
|
25
|
+
*/
|
|
26
|
+
perPageOptions?: number[];
|
|
27
|
+
/**
|
|
28
|
+
* @default 'Items per page:'
|
|
29
|
+
* The text to display for the items per page label.
|
|
30
|
+
*/
|
|
31
|
+
itemsPerPageText?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @default 'right'
|
|
34
|
+
* The position of the pagination component.
|
|
35
|
+
* @type 'left' | 'center' | 'right' | string
|
|
36
|
+
*/
|
|
37
|
+
position?: 'left' | 'center' | 'right' | string;
|
|
38
|
+
/**
|
|
39
|
+
* @default '1-10 of 100'
|
|
40
|
+
* The text to display for the info section.
|
|
41
|
+
* The text can contain the following placeholders:
|
|
42
|
+
* - `{{ start }}` - The start index of the current page.
|
|
43
|
+
* - `{{ end }}` - The end index of the current page.
|
|
44
|
+
* - `{{ total }}` - The total number of items.
|
|
45
|
+
* @type string
|
|
46
|
+
*/
|
|
47
|
+
infoText?: string;
|
|
48
|
+
}
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PaginationProps>, {
|
|
50
|
+
page: number;
|
|
51
|
+
perPage: number;
|
|
52
|
+
totalItems: number;
|
|
53
|
+
perPageOptions: () => number[];
|
|
54
|
+
itemsPerPageText: string;
|
|
55
|
+
position: string;
|
|
56
|
+
infoText: string;
|
|
57
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
58
|
+
"update:page": (...args: any[]) => void;
|
|
59
|
+
"update:perPage": (...args: any[]) => void;
|
|
60
|
+
"update:info": (...args: any[]) => void;
|
|
61
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PaginationProps>, {
|
|
62
|
+
page: number;
|
|
63
|
+
perPage: number;
|
|
64
|
+
totalItems: number;
|
|
65
|
+
perPageOptions: () => number[];
|
|
66
|
+
itemsPerPageText: string;
|
|
67
|
+
position: string;
|
|
68
|
+
infoText: string;
|
|
69
|
+
}>>> & {
|
|
70
|
+
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
"onUpdate:perPage"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
"onUpdate:info"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
page: number;
|
|
75
|
+
perPage: number;
|
|
76
|
+
totalItems: number;
|
|
77
|
+
perPageOptions: number[];
|
|
78
|
+
itemsPerPageText: string;
|
|
79
|
+
position: string;
|
|
80
|
+
infoText: string;
|
|
81
|
+
}, {}>, {
|
|
82
|
+
first?(_: {}): any;
|
|
83
|
+
prev?(_: {}): any;
|
|
84
|
+
next?(_: {}): any;
|
|
85
|
+
last?(_: {}): any;
|
|
86
|
+
}>;
|
|
87
|
+
export default _default;
|
|
88
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
89
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
90
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
91
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
92
|
+
} : {
|
|
93
|
+
type: PropType<T[K]>;
|
|
94
|
+
required: true;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
98
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
99
|
+
default: D[K];
|
|
100
|
+
}> : P[K];
|
|
101
|
+
};
|
|
102
|
+
declare type __VLS_Prettify<T> = {
|
|
103
|
+
[K in keyof T]: T[K];
|
|
104
|
+
} & {};
|
|
105
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
//# sourceMappingURL=RPagination.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RPagination.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/RPagination.vue"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAA;AAGzB,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IAEzB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;IAE/C;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwZD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export interface ProgressBarProps {
|
|
3
|
+
value: number;
|
|
4
|
+
height?: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProgressBarProps>, {
|
|
7
|
+
value: number;
|
|
8
|
+
height: number;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProgressBarProps>, {
|
|
10
|
+
value: number;
|
|
11
|
+
height: number;
|
|
12
|
+
}>>>, {
|
|
13
|
+
height: number;
|
|
14
|
+
value: number;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
declare type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
34
|
+
//# sourceMappingURL=RProgressbar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RProgressbar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressBar/RProgressbar.vue"],"names":[],"mappings":"AAEA,OAAO,mBAAmB,CAAA;AAE1B,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;;;;;;;;;;;AAqDD,wBAMG;AACH,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export interface Props {
|
|
3
|
+
id: string;
|
|
4
|
+
modelValue?: boolean;
|
|
5
|
+
name?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
label?: string;
|
|
8
|
+
hint?: string;
|
|
9
|
+
errorMsg?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
14
|
+
id: string;
|
|
15
|
+
modelValue: boolean;
|
|
16
|
+
name: string;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
label: string;
|
|
19
|
+
hint: string;
|
|
20
|
+
errorMsg: string;
|
|
21
|
+
title: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (...args: any[]) => void;
|
|
25
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
26
|
+
id: string;
|
|
27
|
+
modelValue: boolean;
|
|
28
|
+
name: string;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
label: string;
|
|
31
|
+
hint: string;
|
|
32
|
+
errorMsg: string;
|
|
33
|
+
title: string;
|
|
34
|
+
value: string;
|
|
35
|
+
}>>> & {
|
|
36
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
name: string;
|
|
39
|
+
label: string;
|
|
40
|
+
title: string;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
id: string;
|
|
43
|
+
modelValue: boolean;
|
|
44
|
+
hint: string;
|
|
45
|
+
errorMsg: string;
|
|
46
|
+
value: string;
|
|
47
|
+
}, {}>;
|
|
48
|
+
export default _default;
|
|
49
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
59
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
+
default: D[K];
|
|
61
|
+
}> : P[K];
|
|
62
|
+
};
|
|
63
|
+
declare type __VLS_Prettify<T> = {
|
|
64
|
+
[K in keyof T]: T[K];
|
|
65
|
+
} & {};
|
|
66
|
+
//# sourceMappingURL=RRadio.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RRadio.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Radio/RRadio.vue"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAA;AAGpB,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8LD,wBAOG;AACH,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export interface RSidebarProps {
|
|
3
|
+
modelValue: boolean;
|
|
4
|
+
showTrigger?: boolean;
|
|
5
|
+
class?: string | string[];
|
|
6
|
+
triggerClass?: string | string[];
|
|
7
|
+
wrapperClass?: string | string[];
|
|
8
|
+
}
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RSidebarProps>, {
|
|
10
|
+
modelValue: boolean;
|
|
11
|
+
showTrigger: boolean;
|
|
12
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RSidebarProps>, {
|
|
15
|
+
modelValue: boolean;
|
|
16
|
+
showTrigger: boolean;
|
|
17
|
+
}>>> & {
|
|
18
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
modelValue: boolean;
|
|
21
|
+
showTrigger: boolean;
|
|
22
|
+
}, {}>, {
|
|
23
|
+
default?(_: {
|
|
24
|
+
open: boolean;
|
|
25
|
+
}): any;
|
|
26
|
+
trigger?(_: {
|
|
27
|
+
open: boolean;
|
|
28
|
+
}): any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
declare type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
48
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=RSidebar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/RSidebar.vue"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAA;AAEtB,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,YAAY,CAAC,EAAE,MAAM,GAA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Props {
|
|
3
|
+
/**
|
|
4
|
+
* Show of the snackbar
|
|
5
|
+
* @type boolean
|
|
6
|
+
* @default false
|
|
7
|
+
* @example
|
|
8
|
+
* <Snackbar show />
|
|
9
|
+
*/
|
|
10
|
+
modelValue: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Text of the snackbar
|
|
13
|
+
* @type string
|
|
14
|
+
* @default ''
|
|
15
|
+
* @example
|
|
16
|
+
* <Snackbar text="Snackbar" />
|
|
17
|
+
*/
|
|
18
|
+
text: string;
|
|
19
|
+
/**
|
|
20
|
+
* Show close of the snackbar
|
|
21
|
+
* @type boolean
|
|
22
|
+
* @default false
|
|
23
|
+
* @example
|
|
24
|
+
* <Snackbar closable />
|
|
25
|
+
*/
|
|
26
|
+
closable?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Set the snackbar slide from left otherwise slide from right
|
|
29
|
+
* @type boolean
|
|
30
|
+
* @default false
|
|
31
|
+
* @example
|
|
32
|
+
* <Snackbar left />
|
|
33
|
+
*/
|
|
34
|
+
left?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Timeout of the snackbar. <br />
|
|
37
|
+
* If timeout is 0, the snackbar will not close automatically
|
|
38
|
+
* @type number
|
|
39
|
+
* @default 0
|
|
40
|
+
* @example
|
|
41
|
+
* <Snackbar timeout="1000" />
|
|
42
|
+
*/
|
|
43
|
+
timeout?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Variant of the snackbar
|
|
46
|
+
* @type 'success' | 'error' | 'warning' | 'info'
|
|
47
|
+
* @default 'info'
|
|
48
|
+
* @example
|
|
49
|
+
* <Snackbar variant="success" />
|
|
50
|
+
*/
|
|
51
|
+
variant?: 'success' | 'error' | 'warning' | 'info';
|
|
52
|
+
/**
|
|
53
|
+
* Set the snackbar slide on top otherwise slide on bottom
|
|
54
|
+
* @type boolean
|
|
55
|
+
* @default false
|
|
56
|
+
* @example
|
|
57
|
+
* <Snackbar top />
|
|
58
|
+
*/
|
|
59
|
+
top?: boolean;
|
|
60
|
+
}
|
|
61
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
62
|
+
text: string;
|
|
63
|
+
closable: boolean;
|
|
64
|
+
left: boolean;
|
|
65
|
+
modelValue: boolean;
|
|
66
|
+
timeout: number;
|
|
67
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
68
|
+
"update:modelValue": (...args: any[]) => void;
|
|
69
|
+
action: (...args: any[]) => void;
|
|
70
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
71
|
+
text: string;
|
|
72
|
+
closable: boolean;
|
|
73
|
+
left: boolean;
|
|
74
|
+
modelValue: boolean;
|
|
75
|
+
timeout: number;
|
|
76
|
+
}>>> & {
|
|
77
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
onAction?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
}, {
|
|
80
|
+
text: string;
|
|
81
|
+
closable: boolean;
|
|
82
|
+
left: boolean;
|
|
83
|
+
modelValue: boolean;
|
|
84
|
+
timeout: number;
|
|
85
|
+
}, {}>, {
|
|
86
|
+
icon?(_: {}): any;
|
|
87
|
+
default?(_: {}): any;
|
|
88
|
+
close?(_: {}): any;
|
|
89
|
+
}>;
|
|
90
|
+
export default _default;
|
|
91
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
92
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
93
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
94
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
95
|
+
} : {
|
|
96
|
+
type: PropType<T[K]>;
|
|
97
|
+
required: true;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
101
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
102
|
+
default: D[K];
|
|
103
|
+
}> : P[K];
|
|
104
|
+
};
|
|
105
|
+
declare type __VLS_Prettify<T> = {
|
|
106
|
+
[K in keyof T]: T[K];
|
|
107
|
+
} & {};
|
|
108
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
109
|
+
new (): {
|
|
110
|
+
$slots: S;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=RSnackbar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RSnackbar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Snackbar/RSnackbar.vue"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,CAAA;AAEvB,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,UAAU,EAAE,OAAO,CAAA;IACnB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IAElD;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;CACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgMD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GA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