@rocketui/vue 0.2.69 → 0.2.71-beta

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.
Files changed (57) hide show
  1. package/dist/rocket-ui-vue.js +1692 -1388
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/dist/style.css +1 -1
  4. package/dist/types/components/Accordion/RAccordion.vue.d.ts +70 -0
  5. package/dist/types/components/Accordion/RAccordion.vue.d.ts.map +1 -0
  6. package/dist/types/components/Alert/RAlert.vue.d.ts +109 -0
  7. package/dist/types/components/Alert/RAlert.vue.d.ts.map +1 -0
  8. package/dist/types/components/Avatar/RAvatar.vue.d.ts +92 -0
  9. package/dist/types/components/Avatar/RAvatar.vue.d.ts.map +1 -0
  10. package/dist/types/components/Badge/RBadge.vue.d.ts +143 -0
  11. package/dist/types/components/Badge/RBadge.vue.d.ts.map +1 -0
  12. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts +50 -0
  13. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
  14. package/dist/types/components/Button/RButton.vue.d.ts +193 -0
  15. package/dist/types/components/Button/RButton.vue.d.ts.map +1 -0
  16. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +164 -0
  17. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
  18. package/dist/types/components/Chips/RChip.vue.d.ts +132 -0
  19. package/dist/types/components/Chips/RChip.vue.d.ts.map +1 -0
  20. package/dist/types/components/Dropdown/RDropdown.vue.d.ts +442 -0
  21. package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
  22. package/dist/types/components/Icon/RIcon.vue.d.ts +59 -0
  23. package/dist/types/components/Icon/RIcon.vue.d.ts.map +1 -0
  24. package/dist/types/components/ItemGroup/RItem.vue.d.ts +65 -0
  25. package/dist/types/components/ItemGroup/RItem.vue.d.ts.map +1 -0
  26. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts +123 -0
  27. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
  28. package/dist/types/components/Label/RLabel.vue.d.ts +68 -0
  29. package/dist/types/components/Label/RLabel.vue.d.ts.map +1 -0
  30. package/dist/types/components/Modal/RModal.vue.d.ts +208 -0
  31. package/dist/types/components/Modal/RModal.vue.d.ts.map +1 -0
  32. package/dist/types/components/Pagination/RPagination.vue.d.ts +110 -0
  33. package/dist/types/components/Pagination/RPagination.vue.d.ts.map +1 -0
  34. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts +34 -0
  35. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
  36. package/dist/types/components/Radio/RRadio.vue.d.ts +125 -0
  37. package/dist/types/components/Radio/RRadio.vue.d.ts.map +1 -0
  38. package/dist/types/components/Sidebar/RSidebar.vue.d.ts +53 -0
  39. package/dist/types/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
  40. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts +113 -0
  41. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
  42. package/dist/types/components/Switch/RSwitch.vue.d.ts +214 -0
  43. package/dist/types/components/Switch/RSwitch.vue.d.ts.map +1 -0
  44. package/dist/types/components/TabItem/RTabItem.vue.d.ts +155 -0
  45. package/dist/types/components/TabItem/RTabItem.vue.d.ts.map +1 -0
  46. package/dist/types/components/Tabs/RTabs.vue.d.ts +95 -0
  47. package/dist/types/components/Tabs/RTabs.vue.d.ts.map +1 -0
  48. package/dist/types/components/TextArea/RTextArea.vue.d.ts +171 -0
  49. package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +1 -0
  50. package/dist/types/components/Textfield/RTextfield.vue.d.ts +293 -0
  51. package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +1 -0
  52. package/dist/types/components/Tooltip/RTooltip.vue.d.ts +253 -0
  53. package/dist/types/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
  54. package/dist/types/lib/main.d.ts +26 -0
  55. package/dist/types/lib/main.d.ts.map +1 -0
  56. package/package.json +3 -2
  57. package/dist/rocket-ui-vue.d.ts +0 -3325
@@ -0,0 +1,65 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ export interface ItemProps {
3
+ /**
4
+ * The value of the item
5
+ * @default null
6
+ * @type any
7
+ * @example
8
+ * <RItem :value="1" />
9
+ */
10
+ value: any;
11
+ /**
12
+ * The class to apply to the selected item
13
+ * @default ''
14
+ * @type string
15
+ * @example
16
+ * <RItem selectedClass="bg-blue-500 text-white" />
17
+ */
18
+ selectedClass?: string | string[];
19
+ }
20
+ declare function handleToggle(): void;
21
+ declare function handleSelect(): void;
22
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemProps>, {
23
+ disabled: boolean;
24
+ selectedClass: string;
25
+ value: null;
26
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemProps>, {
27
+ disabled: boolean;
28
+ selectedClass: string;
29
+ value: null;
30
+ }>>>, {
31
+ value: any;
32
+ selectedClass: string | string[];
33
+ }, {}>, {
34
+ default?(_: {
35
+ disabled: boolean;
36
+ isSelected: boolean;
37
+ select: typeof handleSelect;
38
+ selectedClass: (string | string[]) & (false | (string | string[])[]);
39
+ toggle: typeof handleToggle;
40
+ }): any;
41
+ }>;
42
+ export default _default;
43
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
45
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
46
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
47
+ } : {
48
+ type: PropType<T[K]>;
49
+ required: true;
50
+ };
51
+ };
52
+ declare type __VLS_WithDefaults<P, D> = {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
+ default: D[K];
55
+ }> : P[K];
56
+ };
57
+ declare type __VLS_Prettify<T> = {
58
+ [K in keyof T]: T[K];
59
+ } & {};
60
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
61
+ new (): {
62
+ $slots: S;
63
+ };
64
+ };
65
+ //# sourceMappingURL=RItem.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ItemGroup/RItem.vue"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB;;;;;;OAMG;IACH,KAAK,EAAE,GAAG,CAAA;IAEV;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAClC;AA+BD,iBAAS,YAAY,SAIpB;AAED,iBAAS,YAAY,SAIpB;;;;;;;;;;;;;;;;;;;;;AAkED,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,123 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ export interface ItemGroupProps {
3
+ /**
4
+ * The value of the selected items
5
+ * @default []
6
+ * @model
7
+ * @type {number[] | string[]}
8
+ * @example
9
+ * <RItemGroup v-model="selectedItems" />
10
+ */
11
+ modelValue: number[] | string[];
12
+ /**
13
+ * The class to apply to the selected items
14
+ * @default ''
15
+ * @type {string}
16
+ * @example
17
+ * <RItemGroup selectedClass="bg-blue-500 text-white" />
18
+ */
19
+ selectedClass?: string | string[];
20
+ /**
21
+ * Whether the item group is disabled
22
+ * @default false
23
+ * @type {boolean}
24
+ * @example
25
+ * <RItemGroup :disabled="true" />
26
+ */
27
+ disabled?: boolean;
28
+ /**
29
+ * Whether the item group is mandatory
30
+ * @default false
31
+ * @type {boolean}
32
+ * @example
33
+ * ```js
34
+ * const selected = ref<number[]>([1]);
35
+ * ```
36
+ * ```html
37
+ * <RItemGroup :mandatory="true" v-model="selected" />
38
+ * ```
39
+ */
40
+ mandatory?: boolean;
41
+ /**
42
+ * The maximum number of items that can be selected
43
+ * @default 0
44
+ * @type {number}
45
+ * @example
46
+ * <RItemGroup :max="5" />
47
+ */
48
+ max?: number;
49
+ /**
50
+ * The tag to use for the item group
51
+ * @default div
52
+ * @type {string}
53
+ * @example
54
+ * <RItemGroup as="ul" />
55
+ */
56
+ as?: string;
57
+ /**
58
+ * Whether the item group allows multiple selections
59
+ * @default false
60
+ * @type {boolean}
61
+ * @example
62
+ * <RItemGroup :multiple="true" />
63
+ */
64
+ multiple?: boolean;
65
+ }
66
+ declare function isSelected(id: never): boolean;
67
+ declare function select(id: never, value: boolean): void;
68
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemGroupProps>, {
69
+ disabled: boolean;
70
+ mandatory: boolean;
71
+ max: number;
72
+ as: string;
73
+ selectedClass: string;
74
+ modelValue: () => number[];
75
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
76
+ "update:modelValue": (...args: any[]) => void;
77
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemGroupProps>, {
78
+ disabled: boolean;
79
+ mandatory: boolean;
80
+ max: number;
81
+ as: string;
82
+ selectedClass: string;
83
+ modelValue: () => number[];
84
+ }>>> & {
85
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
86
+ }, {
87
+ disabled: boolean;
88
+ as: string;
89
+ modelValue: string[] | number[];
90
+ selectedClass: string | string[];
91
+ mandatory: boolean;
92
+ max: number;
93
+ }, {}>, {
94
+ default?(_: {
95
+ isSelected: typeof isSelected;
96
+ select: typeof select;
97
+ selected: string[] | number[];
98
+ }): any;
99
+ }>;
100
+ export default _default;
101
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
102
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
103
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
104
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
105
+ } : {
106
+ type: PropType<T[K]>;
107
+ required: true;
108
+ };
109
+ };
110
+ declare type __VLS_WithDefaults<P, D> = {
111
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
112
+ default: D[K];
113
+ }> : P[K];
114
+ };
115
+ declare type __VLS_Prettify<T> = {
116
+ [K in keyof T]: T[K];
117
+ } & {};
118
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
119
+ new (): {
120
+ $slots: S;
121
+ };
122
+ };
123
+ //# sourceMappingURL=RItemGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RItemGroup.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ItemGroup/RItemGroup.vue"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B;;;;;;;OAOG;IACH,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAA;IAE/B;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEjC;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;;;;;;OAWG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;;;OAMG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAwBD,iBAAS,UAAU,CAAC,EAAE,EAAE,KAAK,WAE5B;AAGD,iBAAS,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,QAgBxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuFD,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,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,cAA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,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,208 @@
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
+ * ID of the modal for accessibility
109
+ * @type string
110
+ * @default generated unique id
111
+ */
112
+ id?: string;
113
+ /**
114
+ * Label for the modal (for screen readers)
115
+ * @type string
116
+ * @default ''
117
+ */
118
+ ariaLabel?: string;
119
+ /**
120
+ * Description for the modal (for screen readers)
121
+ * @type string
122
+ * @default ''
123
+ */
124
+ ariaDescription?: string;
125
+ }
126
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
127
+ modelValue: boolean;
128
+ block: boolean;
129
+ title: string;
130
+ description: string;
131
+ icon: string;
132
+ width: string;
133
+ height: string;
134
+ outsideClick: boolean;
135
+ clearContent: boolean;
136
+ class: string;
137
+ overlayClass: string;
138
+ style: string;
139
+ allowBodyScroll: boolean;
140
+ id: undefined;
141
+ ariaLabel: string;
142
+ ariaDescription: string;
143
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
144
+ "update:modelValue": (...args: any[]) => void;
145
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
146
+ modelValue: boolean;
147
+ block: boolean;
148
+ title: string;
149
+ description: string;
150
+ icon: string;
151
+ width: string;
152
+ height: string;
153
+ outsideClick: boolean;
154
+ clearContent: boolean;
155
+ class: string;
156
+ overlayClass: string;
157
+ style: string;
158
+ allowBodyScroll: boolean;
159
+ id: undefined;
160
+ ariaLabel: string;
161
+ ariaDescription: string;
162
+ }>>> & {
163
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
164
+ }, {
165
+ width: string;
166
+ height: string;
167
+ style: string;
168
+ title: string;
169
+ class: string | string[];
170
+ description: string;
171
+ block: boolean;
172
+ icon: string;
173
+ ariaLabel: string;
174
+ id: string;
175
+ modelValue: boolean;
176
+ outsideClick: boolean;
177
+ clearContent: boolean;
178
+ overlayClass: string | string[];
179
+ allowBodyScroll: boolean;
180
+ ariaDescription: string;
181
+ }, {}>, {
182
+ default?(_: {}): any;
183
+ actions?(_: {}): any;
184
+ }>;
185
+ export default _default;
186
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
187
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
188
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
189
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
190
+ } : {
191
+ type: PropType<T[K]>;
192
+ required: true;
193
+ };
194
+ };
195
+ declare type __VLS_WithDefaults<P, D> = {
196
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
197
+ default: D[K];
198
+ }> : P[K];
199
+ };
200
+ declare type __VLS_Prettify<T> = {
201
+ [K in keyof T]: T[K];
202
+ } & {};
203
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
204
+ new (): {
205
+ $slots: S;
206
+ };
207
+ };
208
+ //# 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,EA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,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,110 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, 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"}