@corvina/web-components-library 0.1.7 → 0.2.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/README.md +20 -0
- package/components/AnimatedButton.vue.d.ts +197 -0
- package/components/AutocompleteFilter.vue.d.ts +144 -0
- package/components/CorvinaBreadcrumb.ce.vue.d.ts +105 -0
- package/components/CorvinaBreadcrumbDivider.ce.vue.d.ts +2 -0
- package/components/CorvinaButton.ce.vue.d.ts +84 -0
- package/components/CorvinaIcon.ce.vue.d.ts +35 -0
- package/components/CorvinaIconInternal.vue.d.ts +39 -0
- package/components/CorvinaSelect.ce.vue.d.ts +56 -0
- package/components/CorvinaTable.ce.vue.d.ts +176 -0
- package/components/CustomRenderer.vue.d.ts +15 -0
- package/components/InfiniteLoaderAutocomplete.vue.d.ts +21 -0
- package/components/Searchbar.vue.d.ts +105 -0
- package/components/Slots.d.ts +10 -0
- package/components/TableHeader.vue.d.ts +51 -0
- package/index.d.ts +250 -0
- package/package.json +6 -7
- package/plugins/vuetify.d.ts +3 -0
- package/theme/blueprint.d.ts +3 -0
- package/theme/ecciconset.d.ts +5 -0
- package/theme/icons-list.d.ts +1 -0
- package/utils/webfontloader.d.ts +1 -0
- package/vscode.html-custom-data.json +603 -0
- package/vue-components.d.ts +25 -0
- package/web-components-library.cjs.js +37 -28
- package/web-components-library.es.d.ts +2 -0
- package/web-components-library.es.js +8323 -8003
- package/web-components-library.umd.js +39 -27
- package/web-components.d.ts +7 -0
- package/webcomponent-utils/external-styles.d.ts +1 -0
- package/webcomponent-utils/utils.d.ts +2 -0
- package/webcomponent-utils/web-component-creator.d.ts +24 -0
- package/webcomponent-utils/web-components.d.ts +4 -0
package/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Corvina Components Library
|
|
2
2
|
This library is a collection of web components aimed to be used in the Corvina App.
|
|
3
3
|
|
|
4
|
+
# Documentation
|
|
5
|
+
|
|
6
|
+
The components documentation and live examples are available in the [Storybook for web components](https://docs.components.corvina.cloud/).
|
|
7
|
+
The Vue components version is available [here](https://docs.components.corvina.cloud/vue/).
|
|
8
|
+
|
|
4
9
|
# Installation
|
|
5
10
|
|
|
6
11
|
To install the package run the following command:
|
|
@@ -22,3 +27,18 @@ Add the following code to your main.js file:
|
|
|
22
27
|
and add reference to css and font to your code.
|
|
23
28
|
If you use Vuetify in the hosting app set shouldLoadTheme to false otherwise to true.
|
|
24
29
|
If you already load the fonts in the hosting app (Roboto, MaterialSymbols) set shouldLoadFonts to false otherwise to true.
|
|
30
|
+
|
|
31
|
+
# VS Code IntelliSense
|
|
32
|
+
|
|
33
|
+
The package ships a [VS Code custom data](https://github.com/microsoft/vscode-custom-data) file that adds tag and
|
|
34
|
+
attribute completion, enum values and hover documentation for the `<corvina-*>` elements in HTML files.
|
|
35
|
+
Add it to the `.vscode/settings.json` of your project:
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"html.customData": ["./node_modules/@corvina/web-components-library/vscode.html-custom-data.json"]
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Reload the VS Code window after changing the setting.
|
|
44
|
+
Attributes marked as *complex value* (arrays and objects, e.g. the table `headers` and `items`) must be set as JavaScript properties, not as HTML attributes.
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { CORVINA } from '../index';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
attach: {
|
|
5
|
+
type: {
|
|
6
|
+
new (): Element;
|
|
7
|
+
prototype: Element;
|
|
8
|
+
};
|
|
9
|
+
default: null;
|
|
10
|
+
};
|
|
11
|
+
icon: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
activeIcon: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
dataQa: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
label: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
isToggle: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
value: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
loading: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
shrink: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
danger: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
tooltip: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
darkMode: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
iconSize: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
location: {
|
|
64
|
+
type: () => CORVINA.Anchor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>, {}, {
|
|
68
|
+
active: boolean;
|
|
69
|
+
}, {
|
|
70
|
+
isActive(): boolean;
|
|
71
|
+
}, {
|
|
72
|
+
click($event: Event): void;
|
|
73
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click" | "changed")[], "click" | "changed", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
74
|
+
attach: {
|
|
75
|
+
type: {
|
|
76
|
+
new (): Element;
|
|
77
|
+
prototype: Element;
|
|
78
|
+
};
|
|
79
|
+
default: null;
|
|
80
|
+
};
|
|
81
|
+
icon: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
activeIcon: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
dataQa: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
label: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
disabled: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
isToggle: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
value: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: undefined;
|
|
108
|
+
};
|
|
109
|
+
loading: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
shrink: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
danger: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
tooltip: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
darkMode: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
iconSize: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
location: {
|
|
134
|
+
type: () => CORVINA.Anchor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{
|
|
138
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
onChanged?: ((...args: any[]) => any) | undefined;
|
|
140
|
+
}>, {
|
|
141
|
+
loading: boolean;
|
|
142
|
+
icon: string;
|
|
143
|
+
disabled: boolean;
|
|
144
|
+
attach: Element;
|
|
145
|
+
activeIcon: string;
|
|
146
|
+
dataQa: string;
|
|
147
|
+
label: string;
|
|
148
|
+
isToggle: boolean;
|
|
149
|
+
value: boolean;
|
|
150
|
+
shrink: boolean;
|
|
151
|
+
danger: boolean;
|
|
152
|
+
tooltip: string;
|
|
153
|
+
darkMode: boolean;
|
|
154
|
+
iconSize: string;
|
|
155
|
+
location: CORVINA.Anchor;
|
|
156
|
+
}, {}, {
|
|
157
|
+
CorvinaIconInternal: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
158
|
+
icon: {
|
|
159
|
+
type: import('vue').PropType<string>;
|
|
160
|
+
required: true;
|
|
161
|
+
default: () => "";
|
|
162
|
+
};
|
|
163
|
+
size: {
|
|
164
|
+
type: import('vue').PropType<string | number>;
|
|
165
|
+
default: () => CORVINA.ICON.SIZE.DEFAULT;
|
|
166
|
+
};
|
|
167
|
+
disabled: {
|
|
168
|
+
type: import('vue').PropType<boolean>;
|
|
169
|
+
default: () => false;
|
|
170
|
+
};
|
|
171
|
+
color: {
|
|
172
|
+
type: import('vue').PropType<CORVINA.COLOR>;
|
|
173
|
+
};
|
|
174
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
175
|
+
icon: {
|
|
176
|
+
type: import('vue').PropType<string>;
|
|
177
|
+
required: true;
|
|
178
|
+
default: () => "";
|
|
179
|
+
};
|
|
180
|
+
size: {
|
|
181
|
+
type: import('vue').PropType<string | number>;
|
|
182
|
+
default: () => CORVINA.ICON.SIZE.DEFAULT;
|
|
183
|
+
};
|
|
184
|
+
disabled: {
|
|
185
|
+
type: import('vue').PropType<boolean>;
|
|
186
|
+
default: () => false;
|
|
187
|
+
};
|
|
188
|
+
color: {
|
|
189
|
+
type: import('vue').PropType<CORVINA.COLOR>;
|
|
190
|
+
};
|
|
191
|
+
}>> & Readonly<{}>, {
|
|
192
|
+
icon: string;
|
|
193
|
+
size: string | number;
|
|
194
|
+
disabled: boolean;
|
|
195
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
196
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
197
|
+
export default _default;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { StateHandler } from 'v3-infinite-loading/lib/types';
|
|
2
|
+
export interface Props {
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
items: any[];
|
|
6
|
+
rules?: any[];
|
|
7
|
+
required?: boolean;
|
|
8
|
+
solo?: boolean;
|
|
9
|
+
hideDetails?: boolean;
|
|
10
|
+
hideNoData?: boolean;
|
|
11
|
+
returnObject?: boolean;
|
|
12
|
+
autofocus?: boolean;
|
|
13
|
+
itemsTitleKey?: string;
|
|
14
|
+
itemsIdKey?: string;
|
|
15
|
+
functionDisable?: (v: any) => boolean;
|
|
16
|
+
combobox?: boolean;
|
|
17
|
+
initialValue?: number | string | any;
|
|
18
|
+
appendIcon?: string;
|
|
19
|
+
type?: string;
|
|
20
|
+
readonly?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
prefix?: string;
|
|
23
|
+
allowBack?: boolean;
|
|
24
|
+
parentLoading?: boolean;
|
|
25
|
+
resetOnSelect?: boolean;
|
|
26
|
+
useInfiniteLoader?: boolean;
|
|
27
|
+
noDataText?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface AUTOCOMPLETE_FILTER_FETCH_OPTIONS {
|
|
30
|
+
search: string;
|
|
31
|
+
page: number;
|
|
32
|
+
infinityLoaderState: StateHandler;
|
|
33
|
+
}
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
35
|
+
rules: () => never[];
|
|
36
|
+
required: boolean;
|
|
37
|
+
solo: boolean;
|
|
38
|
+
hideDetails: boolean;
|
|
39
|
+
hideNoData: boolean;
|
|
40
|
+
returnObject: boolean;
|
|
41
|
+
autofocus: boolean;
|
|
42
|
+
itemsTitleKey: string;
|
|
43
|
+
itemsIdKey: string;
|
|
44
|
+
functionDisable: () => false;
|
|
45
|
+
combobox: boolean;
|
|
46
|
+
appendIcon: string;
|
|
47
|
+
readonly: boolean;
|
|
48
|
+
disabled: boolean;
|
|
49
|
+
prefix: string;
|
|
50
|
+
allowBack: boolean;
|
|
51
|
+
parentLoading: boolean;
|
|
52
|
+
resetOnSelect: boolean;
|
|
53
|
+
useInfiniteLoader: boolean;
|
|
54
|
+
noDataText: string;
|
|
55
|
+
}>>, {
|
|
56
|
+
resetSearch: () => void;
|
|
57
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
setValue: (value: any, wrapperObject: any) => void;
|
|
59
|
+
inputEvent: (value: string) => void;
|
|
60
|
+
closeEvent: () => void;
|
|
61
|
+
backEvent: () => void;
|
|
62
|
+
fetchData: (options: AUTOCOMPLETE_FILTER_FETCH_OPTIONS) => void;
|
|
63
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
64
|
+
rules: () => never[];
|
|
65
|
+
required: boolean;
|
|
66
|
+
solo: boolean;
|
|
67
|
+
hideDetails: boolean;
|
|
68
|
+
hideNoData: boolean;
|
|
69
|
+
returnObject: boolean;
|
|
70
|
+
autofocus: boolean;
|
|
71
|
+
itemsTitleKey: string;
|
|
72
|
+
itemsIdKey: string;
|
|
73
|
+
functionDisable: () => false;
|
|
74
|
+
combobox: boolean;
|
|
75
|
+
appendIcon: string;
|
|
76
|
+
readonly: boolean;
|
|
77
|
+
disabled: boolean;
|
|
78
|
+
prefix: string;
|
|
79
|
+
allowBack: boolean;
|
|
80
|
+
parentLoading: boolean;
|
|
81
|
+
resetOnSelect: boolean;
|
|
82
|
+
useInfiniteLoader: boolean;
|
|
83
|
+
noDataText: string;
|
|
84
|
+
}>>> & Readonly<{
|
|
85
|
+
onSetValue?: ((value: any, wrapperObject: any) => any) | undefined;
|
|
86
|
+
onInputEvent?: ((value: string) => any) | undefined;
|
|
87
|
+
onCloseEvent?: (() => any) | undefined;
|
|
88
|
+
onBackEvent?: (() => any) | undefined;
|
|
89
|
+
onFetchData?: ((options: AUTOCOMPLETE_FILTER_FETCH_OPTIONS) => any) | undefined;
|
|
90
|
+
}>, {
|
|
91
|
+
disabled: boolean;
|
|
92
|
+
required: boolean;
|
|
93
|
+
rules: any[];
|
|
94
|
+
solo: boolean;
|
|
95
|
+
hideDetails: boolean;
|
|
96
|
+
hideNoData: boolean;
|
|
97
|
+
returnObject: boolean;
|
|
98
|
+
autofocus: boolean;
|
|
99
|
+
itemsTitleKey: string;
|
|
100
|
+
itemsIdKey: string;
|
|
101
|
+
functionDisable: (v: any) => boolean;
|
|
102
|
+
combobox: boolean;
|
|
103
|
+
appendIcon: string;
|
|
104
|
+
readonly: boolean;
|
|
105
|
+
prefix: string;
|
|
106
|
+
allowBack: boolean;
|
|
107
|
+
parentLoading: boolean;
|
|
108
|
+
resetOnSelect: boolean;
|
|
109
|
+
useInfiniteLoader: boolean;
|
|
110
|
+
noDataText: string;
|
|
111
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
112
|
+
item?: (props: {
|
|
113
|
+
data: any;
|
|
114
|
+
}) => any;
|
|
115
|
+
'prepend-inner'?: () => any;
|
|
116
|
+
}> & {
|
|
117
|
+
item?: (props: {
|
|
118
|
+
data: any;
|
|
119
|
+
}) => any;
|
|
120
|
+
'prepend-inner'?: () => any;
|
|
121
|
+
}>;
|
|
122
|
+
export default _default;
|
|
123
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
124
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
125
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
126
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
127
|
+
} : {
|
|
128
|
+
type: import('vue').PropType<T[K]>;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
type __VLS_WithDefaults<P, D> = {
|
|
133
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
134
|
+
default: D[K];
|
|
135
|
+
}> : P[K];
|
|
136
|
+
};
|
|
137
|
+
type __VLS_Prettify<T> = {
|
|
138
|
+
[K in keyof T]: T[K];
|
|
139
|
+
} & {};
|
|
140
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
141
|
+
new (): {
|
|
142
|
+
$slots: S;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { CORVINA } from '../index';
|
|
2
|
+
|
|
3
|
+
export interface Props {
|
|
4
|
+
icon: string;
|
|
5
|
+
path: Array<string | {
|
|
6
|
+
text: string;
|
|
7
|
+
onClick: Function;
|
|
8
|
+
}>;
|
|
9
|
+
activeControl?: CORVINA.BREADCRUMB.ACTIVE_CONTROL;
|
|
10
|
+
showSearchBar?: boolean;
|
|
11
|
+
searchPlaceholder?: string;
|
|
12
|
+
searchModel?: string;
|
|
13
|
+
showFilterChips?: boolean;
|
|
14
|
+
filterChipsKeyPlaceholder?: string;
|
|
15
|
+
filterChipsValuePlaceholder?: string;
|
|
16
|
+
filterChipsLoadingText?: string;
|
|
17
|
+
filterChipsNoDataText?: string;
|
|
18
|
+
allowedFilters?: Array<CORVINA.BREADCRUMB.FILTER_BY>;
|
|
19
|
+
filters?: Array<CORVINA.BREADCRUMB.FILTER>;
|
|
20
|
+
filtersCustomComponent?: CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
23
|
+
icon: string;
|
|
24
|
+
path: () => string[];
|
|
25
|
+
activeControl: CORVINA.BREADCRUMB.ACTIVE_CONTROL;
|
|
26
|
+
showSearchBar: boolean;
|
|
27
|
+
searchPlaceholder: string;
|
|
28
|
+
searchModel: string;
|
|
29
|
+
showFilterChips: boolean;
|
|
30
|
+
filterChipsKeyPlaceholder: string;
|
|
31
|
+
filterChipsValuePlaceholder: string;
|
|
32
|
+
filterChipsLoadingText: string;
|
|
33
|
+
filterChipsNoDataText: string;
|
|
34
|
+
allowedFilters: () => never[];
|
|
35
|
+
filters: () => never[];
|
|
36
|
+
filtersCustomComponent: () => CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
|
|
37
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
"update:searchModel": (value: string) => void;
|
|
39
|
+
"update:activeControl": (value: CORVINA.BREADCRUMB.ACTIVE_CONTROL) => void;
|
|
40
|
+
"update:filters": (value: CORVINA.BREADCRUMB.FILTER[]) => void;
|
|
41
|
+
"update:filterBy": (value: CORVINA.BREADCRUMB.FILTER_BY) => void;
|
|
42
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
43
|
+
icon: string;
|
|
44
|
+
path: () => string[];
|
|
45
|
+
activeControl: CORVINA.BREADCRUMB.ACTIVE_CONTROL;
|
|
46
|
+
showSearchBar: boolean;
|
|
47
|
+
searchPlaceholder: string;
|
|
48
|
+
searchModel: string;
|
|
49
|
+
showFilterChips: boolean;
|
|
50
|
+
filterChipsKeyPlaceholder: string;
|
|
51
|
+
filterChipsValuePlaceholder: string;
|
|
52
|
+
filterChipsLoadingText: string;
|
|
53
|
+
filterChipsNoDataText: string;
|
|
54
|
+
allowedFilters: () => never[];
|
|
55
|
+
filters: () => never[];
|
|
56
|
+
filtersCustomComponent: () => CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
|
|
57
|
+
}>>> & Readonly<{
|
|
58
|
+
"onUpdate:searchModel"?: ((value: string) => any) | undefined;
|
|
59
|
+
"onUpdate:activeControl"?: ((value: CORVINA.BREADCRUMB.ACTIVE_CONTROL) => any) | undefined;
|
|
60
|
+
"onUpdate:filters"?: ((value: CORVINA.BREADCRUMB.FILTER[]) => any) | undefined;
|
|
61
|
+
"onUpdate:filterBy"?: ((value: CORVINA.BREADCRUMB.FILTER_BY) => any) | undefined;
|
|
62
|
+
}>, {
|
|
63
|
+
icon: string;
|
|
64
|
+
filters: Array<CORVINA.BREADCRUMB.FILTER>;
|
|
65
|
+
path: Array<string | {
|
|
66
|
+
text: string;
|
|
67
|
+
onClick: Function;
|
|
68
|
+
}>;
|
|
69
|
+
searchPlaceholder: string;
|
|
70
|
+
searchModel: string;
|
|
71
|
+
activeControl: CORVINA.BREADCRUMB.ACTIVE_CONTROL;
|
|
72
|
+
showSearchBar: boolean;
|
|
73
|
+
showFilterChips: boolean;
|
|
74
|
+
filterChipsKeyPlaceholder: string;
|
|
75
|
+
filterChipsValuePlaceholder: string;
|
|
76
|
+
filterChipsLoadingText: string;
|
|
77
|
+
filterChipsNoDataText: string;
|
|
78
|
+
allowedFilters: Array<CORVINA.BREADCRUMB.FILTER_BY>;
|
|
79
|
+
filtersCustomComponent: CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
|
|
80
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
81
|
+
default?(_: {}): any;
|
|
82
|
+
}>;
|
|
83
|
+
export default _default;
|
|
84
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
85
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
86
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
87
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
88
|
+
} : {
|
|
89
|
+
type: import('vue').PropType<T[K]>;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
type __VLS_WithDefaults<P, D> = {
|
|
94
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
95
|
+
default: D[K];
|
|
96
|
+
}> : P[K];
|
|
97
|
+
};
|
|
98
|
+
type __VLS_Prettify<T> = {
|
|
99
|
+
[K in keyof T]: T[K];
|
|
100
|
+
} & {};
|
|
101
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
102
|
+
new (): {
|
|
103
|
+
$slots: S;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { CORVINA } from '../index';
|
|
2
|
+
|
|
3
|
+
export interface Props {
|
|
4
|
+
tooltip?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
variant?: CORVINA.BUTTON.VARIANT;
|
|
7
|
+
icon?: string;
|
|
8
|
+
dataQa?: string;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
isToggle?: boolean;
|
|
12
|
+
activeTooltip?: string;
|
|
13
|
+
activeText?: string;
|
|
14
|
+
activeIcon?: string;
|
|
15
|
+
activeStatus?: boolean;
|
|
16
|
+
tooltipLocation?: CORVINA.TOOLTIP_LOCATION;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
19
|
+
tooltip: () => "";
|
|
20
|
+
text: () => "";
|
|
21
|
+
variant: () => CORVINA.BUTTON.VARIANT.FREE;
|
|
22
|
+
icon: () => "";
|
|
23
|
+
loading: () => false;
|
|
24
|
+
disabled: () => false;
|
|
25
|
+
isToggle: () => false;
|
|
26
|
+
dataQa: () => "";
|
|
27
|
+
activeTooltip: () => "";
|
|
28
|
+
activeText: () => "";
|
|
29
|
+
activeIcon: () => "";
|
|
30
|
+
activeStatus: () => false;
|
|
31
|
+
tooltipLocation: () => CORVINA.TOOLTIP_LOCATION.TOP;
|
|
32
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
+
clicked: (event: Event) => void;
|
|
34
|
+
"update:activeStatus": (status: boolean) => void;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
36
|
+
tooltip: () => "";
|
|
37
|
+
text: () => "";
|
|
38
|
+
variant: () => CORVINA.BUTTON.VARIANT.FREE;
|
|
39
|
+
icon: () => "";
|
|
40
|
+
loading: () => false;
|
|
41
|
+
disabled: () => false;
|
|
42
|
+
isToggle: () => false;
|
|
43
|
+
dataQa: () => "";
|
|
44
|
+
activeTooltip: () => "";
|
|
45
|
+
activeText: () => "";
|
|
46
|
+
activeIcon: () => "";
|
|
47
|
+
activeStatus: () => false;
|
|
48
|
+
tooltipLocation: () => CORVINA.TOOLTIP_LOCATION.TOP;
|
|
49
|
+
}>>> & Readonly<{
|
|
50
|
+
onClicked?: ((event: Event) => any) | undefined;
|
|
51
|
+
"onUpdate:activeStatus"?: ((status: boolean) => any) | undefined;
|
|
52
|
+
}>, {
|
|
53
|
+
loading: boolean;
|
|
54
|
+
icon: string;
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
activeIcon: string;
|
|
57
|
+
dataQa: string;
|
|
58
|
+
isToggle: boolean;
|
|
59
|
+
tooltip: string;
|
|
60
|
+
text: string;
|
|
61
|
+
variant: CORVINA.BUTTON.VARIANT;
|
|
62
|
+
activeTooltip: string;
|
|
63
|
+
activeText: string;
|
|
64
|
+
activeStatus: boolean;
|
|
65
|
+
tooltipLocation: CORVINA.TOOLTIP_LOCATION;
|
|
66
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
export default _default;
|
|
68
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
70
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
71
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
72
|
+
} : {
|
|
73
|
+
type: import('vue').PropType<T[K]>;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
type __VLS_WithDefaults<P, D> = {
|
|
78
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
79
|
+
default: D[K];
|
|
80
|
+
}> : P[K];
|
|
81
|
+
};
|
|
82
|
+
type __VLS_Prettify<T> = {
|
|
83
|
+
[K in keyof T]: T[K];
|
|
84
|
+
} & {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CORVINA } from '../index';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
icon: string;
|
|
5
|
+
size?: string | number;
|
|
6
|
+
color?: CORVINA.COLOR;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
9
|
+
icon: () => "";
|
|
10
|
+
size: () => "24px";
|
|
11
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
|
+
icon: () => "";
|
|
13
|
+
size: () => "24px";
|
|
14
|
+
}>>> & Readonly<{}>, {
|
|
15
|
+
icon: string;
|
|
16
|
+
size: string | number;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CORVINA } from '../index';
|
|
2
|
+
|
|
3
|
+
export interface Props {
|
|
4
|
+
icon: string;
|
|
5
|
+
size?: string | number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
color?: CORVINA.COLOR;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
icon: () => "";
|
|
11
|
+
size: () => CORVINA.ICON.SIZE.DEFAULT;
|
|
12
|
+
disabled: () => false;
|
|
13
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
14
|
+
icon: () => "";
|
|
15
|
+
size: () => CORVINA.ICON.SIZE.DEFAULT;
|
|
16
|
+
disabled: () => false;
|
|
17
|
+
}>>> & Readonly<{}>, {
|
|
18
|
+
icon: string;
|
|
19
|
+
size: string | number;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
type __VLS_WithDefaults<P, D> = {
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
}> : P[K];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_Prettify<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
items: object[];
|
|
3
|
+
itemTitle?: string;
|
|
4
|
+
itemValue?: string;
|
|
5
|
+
model: object | string | null;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
returnObject?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
|
+
items: () => never[];
|
|
12
|
+
itemTitle: string;
|
|
13
|
+
itemValue: string;
|
|
14
|
+
model: null;
|
|
15
|
+
placeholder: undefined;
|
|
16
|
+
returnObject: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
"update:model": (value: string | object | null) => void;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
21
|
+
items: () => never[];
|
|
22
|
+
itemTitle: string;
|
|
23
|
+
itemValue: string;
|
|
24
|
+
model: null;
|
|
25
|
+
placeholder: undefined;
|
|
26
|
+
returnObject: boolean;
|
|
27
|
+
loading: boolean;
|
|
28
|
+
}>>> & Readonly<{
|
|
29
|
+
"onUpdate:model"?: ((value: string | object | null) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
loading: boolean;
|
|
32
|
+
placeholder: string;
|
|
33
|
+
items: object[];
|
|
34
|
+
returnObject: boolean;
|
|
35
|
+
itemTitle: string;
|
|
36
|
+
itemValue: string;
|
|
37
|
+
model: object | string | null;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|