@rebilly/revel 4.21.2 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/CHANGELOG.md +28 -46
  2. package/README.md +23 -14
  3. package/dist/common/date-picker-compat.d.ts +1 -0
  4. package/dist/common/datetime-formats.d.ts +28 -0
  5. package/dist/common/helpers/debounce.d.ts +2 -0
  6. package/dist/common/helpers/deep-clone.d.ts +2 -0
  7. package/dist/common/helpers/format-date.d.ts +4 -0
  8. package/dist/common/helpers/index.d.ts +6 -0
  9. package/dist/common/helpers/is-object.d.ts +2 -0
  10. package/dist/common/helpers/kebab-case.d.ts +2 -0
  11. package/dist/components/index.d.ts +27 -0
  12. package/dist/components/r-avatar/r-avatar.vue.d.ts +86 -0
  13. package/dist/components/r-badge/r-badge.vue.d.ts +40 -0
  14. package/dist/components/r-button/r-button.vue.d.ts +195 -0
  15. package/dist/components/r-button-group/r-button-group.vue.d.ts +18 -0
  16. package/dist/components/r-checkbox/r-checkbox.vue.d.ts +148 -0
  17. package/dist/components/r-date-input/calendar-presets.d.ts +36 -0
  18. package/dist/components/r-date-input/r-calendar.vue.d.ts +159 -0
  19. package/dist/components/r-date-input/r-date-input.vue.d.ts +297 -0
  20. package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +167 -0
  21. package/dist/components/r-date-input/r-range-calendar.vue.d.ts +211 -0
  22. package/dist/components/r-date-input/shared-calendar-options.d.ts +64 -0
  23. package/dist/components/r-date-input/types.d.ts +8 -0
  24. package/dist/components/r-date-input/v-calendar.es.d.ts +459 -0
  25. package/dist/components/r-file-upload/r-file-upload.vue.d.ts +68 -0
  26. package/dist/components/r-grid/columnTypes/badge.vue.d.ts +42 -0
  27. package/dist/components/r-grid/columnTypes/date.vue.d.ts +25 -0
  28. package/dist/components/r-grid/columnTypes/index.d.ts +93 -0
  29. package/dist/components/r-grid/columnTypes/numeric.vue.d.ts +24 -0
  30. package/dist/components/r-grid/columnTypes/text.vue.d.ts +26 -0
  31. package/dist/components/r-grid/columnTypes/types.d.ts +24 -0
  32. package/dist/components/r-grid/helpers/color-generator.d.ts +4 -0
  33. package/dist/components/r-grid/r-grid.vue.d.ts +196 -0
  34. package/dist/components/r-icon/r-icon-sprites.d.ts +128 -0
  35. package/dist/components/r-icon/r-icon.vue.d.ts +61 -0
  36. package/dist/components/r-icon-button/r-icon-button.vue.d.ts +133 -0
  37. package/dist/components/r-img/r-img.vue.d.ts +96 -0
  38. package/dist/components/r-input/r-input.vue.d.ts +411 -0
  39. package/dist/components/r-loader/r-loader.vue.d.ts +55 -0
  40. package/dist/components/r-modal/r-modal.vue.d.ts +132 -0
  41. package/dist/components/r-month-picker/months.d.ts +1 -0
  42. package/dist/components/r-month-picker/r-month-picker.vue.d.ts +122 -0
  43. package/dist/components/r-pagination/r-pagination.vue.d.ts +97 -0
  44. package/dist/components/r-pagination/types.d.ts +8 -0
  45. package/dist/components/r-pagination-control/r-pagination-control.vue.d.ts +33 -0
  46. package/dist/components/r-popper/r-popper.vue.d.ts +275 -0
  47. package/dist/components/r-radio/r-radio.vue.d.ts +132 -0
  48. package/dist/components/r-repeater/r-repeater.vue.d.ts +58 -0
  49. package/dist/components/r-select/async-extension.d.ts +91 -0
  50. package/dist/components/r-select/r-select.vue.d.ts +733 -0
  51. package/dist/components/r-select/types.d.ts +29 -0
  52. package/dist/components/r-tabs/r-tab.vue.d.ts +70 -0
  53. package/dist/components/r-tabs/r-tabs.vue.d.ts +6983 -0
  54. package/dist/components/r-tabs/types.d.ts +23 -0
  55. package/dist/components/r-tile/r-tile.vue.d.ts +2 -0
  56. package/dist/components/r-toast/default-error-handler.d.ts +4 -0
  57. package/dist/components/r-toast/r-toast-manager.d.ts +17 -0
  58. package/dist/components/r-toast/r-toast.vue.d.ts +141 -0
  59. package/dist/components/r-toast/types.d.ts +19 -0
  60. package/dist/components/r-toggle/r-toggle.vue.d.ts +69 -0
  61. package/dist/directives/index.d.ts +8 -0
  62. package/dist/directives/r-click-outside/r-click-outside.d.ts +10 -0
  63. package/dist/directives/r-content/r-content.d.ts +9 -0
  64. package/dist/directives/r-fs-exclude.d.ts +7 -0
  65. package/dist/directives/r-lazy.d.ts +5 -0
  66. package/dist/directives/r-tooltip/r-tooltip.d.ts +12 -0
  67. package/dist/index.d.ts +20 -0
  68. package/dist/playground/Playground-copyme.vue.d.ts +2 -0
  69. package/dist/playground/main.d.ts +1 -0
  70. package/dist/revel.mjs +5577 -4744
  71. package/dist/revel.umd.js +115 -115
  72. package/dist/style.css +1 -1
  73. package/dist/styles/config.d.ts +32 -0
  74. package/dist/styles/index.d.ts +5 -0
  75. package/dist/styles/tokens.d.ts +130 -0
  76. package/dist/types.d.ts +24 -0
  77. package/package.json +107 -85
@@ -0,0 +1,93 @@
1
+ export declare const ColumnTypes: {
2
+ badge: import("vue").DefineComponent<{
3
+ value: {
4
+ type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
5
+ required: true;
6
+ };
7
+ row: {
8
+ type: ObjectConstructor;
9
+ required: true;
10
+ };
11
+ column: {
12
+ type: import("vue").PropType<import("./types").GridColumn>;
13
+ required: true;
14
+ };
15
+ }, unknown, unknown, {
16
+ badgeType(): unknown;
17
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ value: {
19
+ type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
20
+ required: true;
21
+ };
22
+ row: {
23
+ type: ObjectConstructor;
24
+ required: true;
25
+ };
26
+ column: {
27
+ type: import("vue").PropType<import("./types").GridColumn>;
28
+ required: true;
29
+ };
30
+ }>>, {}>;
31
+ text: import("vue").DefineComponent<{
32
+ column: {
33
+ type: import("vue").PropType<import("./types").GridColumn>;
34
+ required: true;
35
+ };
36
+ value: {
37
+ type: StringConstructor;
38
+ required: true;
39
+ };
40
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
+ column: {
42
+ type: import("vue").PropType<import("./types").GridColumn>;
43
+ required: true;
44
+ };
45
+ value: {
46
+ type: StringConstructor;
47
+ required: true;
48
+ };
49
+ }>>, {}>;
50
+ date: import("vue").DefineComponent<{
51
+ column: {
52
+ type: import("vue").PropType<import("./types").DateColumn>;
53
+ required: true;
54
+ };
55
+ value: {
56
+ type: StringConstructor;
57
+ required: true;
58
+ };
59
+ }, unknown, unknown, {
60
+ displayValue(): string;
61
+ title(): string;
62
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63
+ column: {
64
+ type: import("vue").PropType<import("./types").DateColumn>;
65
+ required: true;
66
+ };
67
+ value: {
68
+ type: StringConstructor;
69
+ required: true;
70
+ };
71
+ }>>, {}>;
72
+ numeric: import("vue").DefineComponent<{
73
+ value: {
74
+ type: import("vue").PropType<string | number>;
75
+ required: true;
76
+ };
77
+ column: {
78
+ type: import("vue").PropType<import("./types").NumericColumn>;
79
+ required: true;
80
+ };
81
+ }, unknown, unknown, {
82
+ displayValue(): string | number | null;
83
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
84
+ value: {
85
+ type: import("vue").PropType<string | number>;
86
+ required: true;
87
+ };
88
+ column: {
89
+ type: import("vue").PropType<import("./types").NumericColumn>;
90
+ required: true;
91
+ };
92
+ }>>, {}>;
93
+ };
@@ -0,0 +1,24 @@
1
+ import { type PropType } from 'vue';
2
+ import type { NumericColumn } from './types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ value: {
5
+ type: PropType<string | number>;
6
+ required: true;
7
+ };
8
+ column: {
9
+ type: PropType<NumericColumn>;
10
+ required: true;
11
+ };
12
+ }, unknown, unknown, {
13
+ displayValue(): string | number | null;
14
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ value: {
16
+ type: PropType<string | number>;
17
+ required: true;
18
+ };
19
+ column: {
20
+ type: PropType<NumericColumn>;
21
+ required: true;
22
+ };
23
+ }>>, {}>;
24
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import type { PropType } from 'vue';
2
+ import type { GridColumn } from './types';
3
+ /**
4
+ * Available renderOptions
5
+ * class: provide a class to be applied to the span wrapping the text
6
+ */
7
+ declare const _default: import("vue").DefineComponent<{
8
+ column: {
9
+ type: PropType<GridColumn>;
10
+ required: true;
11
+ };
12
+ value: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ column: {
18
+ type: PropType<GridColumn>;
19
+ required: true;
20
+ };
21
+ value: {
22
+ type: StringConstructor;
23
+ required: true;
24
+ };
25
+ }>>, {}>;
26
+ export default _default;
@@ -0,0 +1,24 @@
1
+ import type { DateTimeFormatsVariant } from '../../../common/datetime-formats';
2
+ export type ColumnType = 'date' | 'badge' | 'text' | 'numeric';
3
+ export interface GridColumn {
4
+ name: string;
5
+ renderAs: ColumnType;
6
+ renderOptions?: Record<string, unknown>;
7
+ }
8
+ export interface NumericColumn extends GridColumn {
9
+ renderOptions: {
10
+ approximate: boolean;
11
+ currency: string;
12
+ currencyDigits: number;
13
+ digits: number;
14
+ duration: boolean;
15
+ internationalFormat: boolean;
16
+ percentage: boolean;
17
+ };
18
+ }
19
+ export interface DateColumn extends GridColumn {
20
+ renderOptions: {
21
+ dateFormat: DateTimeFormatsVariant;
22
+ timezone: string;
23
+ };
24
+ }
@@ -0,0 +1,4 @@
1
+ export declare const getColorFromIndex: (value: string | number, baseRGB?: string) => {
2
+ color: string;
3
+ backgroundColor: string;
4
+ } | undefined;
@@ -0,0 +1,196 @@
1
+ import type { PropType } from 'vue';
2
+ import type { GridColumn } from './columnTypes/types';
3
+ interface Column extends GridColumn {
4
+ [key: string]: unknown;
5
+ name: string;
6
+ renderOptions?: Record<string, unknown>;
7
+ class: Record<string, boolean>;
8
+ style: Record<string, unknown>;
9
+ highlight: boolean;
10
+ header?: (column: unknown) => string;
11
+ label: string;
12
+ }
13
+ declare const _default: import("vue").DefineComponent<{
14
+ /**
15
+ * Specify the columns
16
+ */
17
+ columns: {
18
+ type: PropType<{
19
+ columns: Column[];
20
+ }>;
21
+ required: true;
22
+ };
23
+ /**
24
+ * Specify if the grid has frozen (fixed) left column
25
+ */
26
+ hasFrozenColumn: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ /**
31
+ * Defines the property, which changes will trigger the fetching of data
32
+ */
33
+ watcher: {
34
+ type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
35
+ default: null;
36
+ };
37
+ /**
38
+ * Returns some data to be rendered by the default scoped slot
39
+ */
40
+ provider: {
41
+ type: (ArrayConstructor | FunctionConstructor | PromiseConstructor)[];
42
+ required: true;
43
+ };
44
+ /**
45
+ * Defines if the loading state is fullscreen
46
+ */
47
+ isLoaderFullscreen: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ }, unknown, {
52
+ data: never[];
53
+ }, {
54
+ computedColumns(): Column[];
55
+ computedProvider(): () => Promise<unknown>;
56
+ }, {
57
+ getColorFromIndex: (value: string | number, baseRGB?: string) => {
58
+ color: string;
59
+ backgroundColor: string;
60
+ } | undefined;
61
+ getComponent({ renderAs }: Column): import("vue").DefineComponent<{
62
+ value: {
63
+ type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
64
+ required: true;
65
+ };
66
+ row: {
67
+ type: ObjectConstructor;
68
+ required: true;
69
+ };
70
+ column: {
71
+ type: PropType<GridColumn>;
72
+ required: true; /**
73
+ * Specify if the grid has frozen (fixed) left column
74
+ */
75
+ };
76
+ }, unknown, unknown, {
77
+ badgeType(): unknown;
78
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
79
+ value: {
80
+ type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
81
+ required: true;
82
+ };
83
+ row: {
84
+ type: ObjectConstructor;
85
+ required: true;
86
+ };
87
+ column: {
88
+ type: PropType<GridColumn>;
89
+ required: true; /**
90
+ * Specify if the grid has frozen (fixed) left column
91
+ */
92
+ };
93
+ }>>, {}> | import("vue").DefineComponent<{
94
+ column: {
95
+ type: PropType<GridColumn>;
96
+ required: true;
97
+ };
98
+ value: {
99
+ type: StringConstructor;
100
+ required: true;
101
+ };
102
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
103
+ column: {
104
+ type: PropType<GridColumn>;
105
+ required: true;
106
+ };
107
+ value: {
108
+ type: StringConstructor;
109
+ required: true;
110
+ };
111
+ }>>, {}> | import("vue").DefineComponent<{
112
+ column: {
113
+ type: PropType<import("./columnTypes/types").DateColumn>;
114
+ required: true;
115
+ };
116
+ value: {
117
+ type: StringConstructor;
118
+ required: true;
119
+ };
120
+ }, unknown, unknown, {
121
+ displayValue(): string;
122
+ title(): string;
123
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
124
+ column: {
125
+ type: PropType<import("./columnTypes/types").DateColumn>;
126
+ required: true;
127
+ };
128
+ value: {
129
+ type: StringConstructor;
130
+ required: true;
131
+ };
132
+ }>>, {}> | import("vue").DefineComponent<{
133
+ value: {
134
+ type: PropType<string | number>;
135
+ required: true;
136
+ };
137
+ column: {
138
+ type: PropType<import("./columnTypes/types").NumericColumn>;
139
+ required: true;
140
+ };
141
+ }, unknown, unknown, {
142
+ displayValue(): string | number | null;
143
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
144
+ value: {
145
+ type: PropType<string | number>;
146
+ required: true;
147
+ };
148
+ column: {
149
+ type: PropType<import("./columnTypes/types").NumericColumn>;
150
+ required: true;
151
+ };
152
+ }>>, {}>;
153
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
154
+ /**
155
+ * Specify the columns
156
+ */
157
+ columns: {
158
+ type: PropType<{
159
+ columns: Column[];
160
+ }>;
161
+ required: true;
162
+ };
163
+ /**
164
+ * Specify if the grid has frozen (fixed) left column
165
+ */
166
+ hasFrozenColumn: {
167
+ type: BooleanConstructor;
168
+ default: boolean;
169
+ };
170
+ /**
171
+ * Defines the property, which changes will trigger the fetching of data
172
+ */
173
+ watcher: {
174
+ type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
175
+ default: null;
176
+ };
177
+ /**
178
+ * Returns some data to be rendered by the default scoped slot
179
+ */
180
+ provider: {
181
+ type: (ArrayConstructor | FunctionConstructor | PromiseConstructor)[];
182
+ required: true;
183
+ };
184
+ /**
185
+ * Defines if the loading state is fullscreen
186
+ */
187
+ isLoaderFullscreen: {
188
+ type: BooleanConstructor;
189
+ default: boolean;
190
+ };
191
+ }>>, {
192
+ watcher: string | number | boolean | Record<string, any>;
193
+ isLoaderFullscreen: boolean;
194
+ hasFrozenColumn: boolean;
195
+ }>;
196
+ export default _default;
@@ -0,0 +1,128 @@
1
+ export declare const iconNames: {
2
+ fingerprint: string;
3
+ dashboard: string;
4
+ lists: string;
5
+ automation: string;
6
+ customers: string;
7
+ orders: string;
8
+ transactions: string;
9
+ guides: string;
10
+ settings: string;
11
+ alerts: string;
12
+ stream: string;
13
+ search: string;
14
+ filter: string;
15
+ 'collapse-segments': string;
16
+ 'resize-columns': string;
17
+ segments: string;
18
+ lock: string;
19
+ 'caret-up': string;
20
+ 'caret-down': string;
21
+ 'caret-down-s': string;
22
+ 'caret-left': string;
23
+ 'caret-right': string;
24
+ 'arrow-up': string;
25
+ 'arrow-down': string;
26
+ 'arrow-left': string;
27
+ 'arrow-right': string;
28
+ 'arrow-up-l': string;
29
+ 'arrow-down-l': string;
30
+ 'arrow-left-l': string;
31
+ 'arrow-right-l': string;
32
+ close: string;
33
+ 'close-s': string;
34
+ logout: string;
35
+ actions: string;
36
+ circle: string;
37
+ eye: string;
38
+ 'eye-closed': string;
39
+ burger: string;
40
+ help: string;
41
+ info: string;
42
+ 'dash-l': string;
43
+ company: string;
44
+ website: string;
45
+ email: string;
46
+ 'external-link': string;
47
+ trash: string;
48
+ bank: string;
49
+ 'map-marker': string;
50
+ 'credit-card': string;
51
+ checkout: string;
52
+ 'check-s': string;
53
+ 'custom-fields': string;
54
+ calendar: string;
55
+ columns: string;
56
+ blocklists: string;
57
+ webhooks: string;
58
+ 'sticky-note': string;
59
+ clip: string;
60
+ loading: string;
61
+ product: string;
62
+ 'api-key': string;
63
+ coupon: string;
64
+ average: string;
65
+ payments: string;
66
+ tag: string;
67
+ clone: string;
68
+ copy: string;
69
+ edit: string;
70
+ 'edit-s': string;
71
+ stop: string;
72
+ unlock: string;
73
+ event: string;
74
+ invoices: string;
75
+ rules: string;
76
+ users: string;
77
+ sharp: string;
78
+ at: string;
79
+ file: string;
80
+ download: string;
81
+ export: string;
82
+ 'data-exports': string;
83
+ shipping: string;
84
+ plus: string;
85
+ drag: string;
86
+ reset: string;
87
+ 'drag-move': string;
88
+ world: string;
89
+ integrations: string;
90
+ id: string;
91
+ phone: string;
92
+ batch: string;
93
+ merge: string;
94
+ placeholders: string;
95
+ 'caret-double-left': string;
96
+ 'caret-double-right': string;
97
+ heart: string;
98
+ 'checkbox-checkmark': string;
99
+ 'radio-checkmark': string;
100
+ star: string;
101
+ 'star-empty': string;
102
+ 'report-match': string;
103
+ emulate: string;
104
+ 'billing-portal': string;
105
+ 'app-store': string;
106
+ kyc: string;
107
+ cake: string;
108
+ briefcase: string;
109
+ 'tag-untag': string;
110
+ 'risk-score': string;
111
+ list: string;
112
+ notifications: string;
113
+ 'one-column': string;
114
+ 'rebilly-logo': string;
115
+ 'two-columns': string;
116
+ meter: string;
117
+ reports: string;
118
+ };
119
+ export declare const iconColors: {
120
+ default: null;
121
+ 'on-surface': string;
122
+ primary: string;
123
+ success: string;
124
+ warning: string;
125
+ danger: string;
126
+ info: string;
127
+ };
128
+ export declare const RIconSprites: string;
@@ -0,0 +1,61 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ /**
3
+ * Select any icon available in our svg sprite
4
+ */
5
+ icon: {
6
+ type: StringConstructor;
7
+ default: null;
8
+ };
9
+ /**
10
+ * Choose any color available in our pallete
11
+ */
12
+ color: {
13
+ type: StringConstructor;
14
+ default: null;
15
+ validator: (val: string) => boolean;
16
+ };
17
+ /**
18
+ * Prevent native click events from capturing in parent components
19
+ */
20
+ stopPropagation: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ }, unknown, unknown, {
25
+ iconName(): string;
26
+ classes(): {
27
+ [x: string]: boolean;
28
+ };
29
+ }, {
30
+ bubbleClick(evt: Event): void;
31
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ /**
33
+ * Select any icon available in our svg sprite
34
+ */
35
+ icon: {
36
+ type: StringConstructor;
37
+ default: null;
38
+ };
39
+ /**
40
+ * Choose any color available in our pallete
41
+ */
42
+ color: {
43
+ type: StringConstructor;
44
+ default: null;
45
+ validator: (val: string) => boolean;
46
+ };
47
+ /**
48
+ * Prevent native click events from capturing in parent components
49
+ */
50
+ stopPropagation: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ }>> & {
55
+ onClick?: ((...args: any[]) => any) | undefined;
56
+ }, {
57
+ icon: string;
58
+ color: string;
59
+ stopPropagation: boolean;
60
+ }>;
61
+ export default _default;
@@ -0,0 +1,133 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ /**
3
+ * TBD
4
+ */
5
+ type: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ validator: (val: string) => boolean;
9
+ };
10
+ /**
11
+ * TBD
12
+ */
13
+ size: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ validator: (val: string) => boolean;
17
+ };
18
+ /**
19
+ * TBD
20
+ */
21
+ disabled: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ /**
26
+ * TBD
27
+ */
28
+ fluid: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ /**
33
+ * TBD
34
+ */
35
+ tooltip: {
36
+ type: StringConstructor;
37
+ default: null;
38
+ };
39
+ /**
40
+ * TBD
41
+ */
42
+ fitted: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ /**
47
+ * TBD
48
+ */
49
+ tooltipRightEdge: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ /**
54
+ * Capitalize the first letter
55
+ */
56
+ capitalizeFirstLetter: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ }, unknown, unknown, {
61
+ classes(): Record<string, boolean>;
62
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63
+ /**
64
+ * TBD
65
+ */
66
+ type: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ validator: (val: string) => boolean;
70
+ };
71
+ /**
72
+ * TBD
73
+ */
74
+ size: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ validator: (val: string) => boolean;
78
+ };
79
+ /**
80
+ * TBD
81
+ */
82
+ disabled: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ /**
87
+ * TBD
88
+ */
89
+ fluid: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ /**
94
+ * TBD
95
+ */
96
+ tooltip: {
97
+ type: StringConstructor;
98
+ default: null;
99
+ };
100
+ /**
101
+ * TBD
102
+ */
103
+ fitted: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ /**
108
+ * TBD
109
+ */
110
+ tooltipRightEdge: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
114
+ /**
115
+ * Capitalize the first letter
116
+ */
117
+ capitalizeFirstLetter: {
118
+ type: BooleanConstructor;
119
+ default: boolean;
120
+ };
121
+ }>> & {
122
+ onClick?: ((...args: any[]) => any) | undefined;
123
+ }, {
124
+ type: string;
125
+ size: string;
126
+ disabled: boolean;
127
+ fluid: boolean;
128
+ capitalizeFirstLetter: boolean;
129
+ tooltip: string;
130
+ fitted: boolean;
131
+ tooltipRightEdge: boolean;
132
+ }>;
133
+ export default _default;