@frollo/frollo-web-ui 2.0.0 → 3.0.1
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/cjs/index.js +17802 -1708
- package/esm/add-to-unscopables-2400f45b.js +25 -0
- package/esm/array-iteration-107f927f.js +92 -0
- package/esm/array-method-has-species-support-3d413468.js +23 -0
- package/esm/array-method-is-strict-055b1830.js +14 -0
- package/esm/array-species-create-a5f5503b.js +97 -0
- package/esm/{classof-088c9833.js → classof-39c30bd5.js} +1 -2
- package/esm/create-property-534611fd.js +14 -0
- package/esm/delete-property-or-throw-8032646c.js +31 -0
- package/esm/does-not-exceed-safe-integer-31d08811.js +11 -0
- package/esm/es.array.concat-987938be.js +69 -0
- package/esm/{es.array.find-54b8f84b.js → es.array.find-dfa1f42f.js} +5 -6
- package/esm/{es.array.includes-9a6e4066.js → es.array.includes-91be7771.js} +3 -4
- package/esm/{es.function.name-2fa3a718.js → es.function.name-557cb1f9.js} +1 -1
- package/esm/{es.number.constructor-b7faae1f.js → es.number.constructor-1249bd78.js} +2 -3
- package/esm/es.string.iterator-284b31d4.js +470 -0
- package/esm/{object-keys-3c73c404.js → export-a37ba078.js} +2 -13
- package/esm/function-apply-ce251590.js +14 -0
- package/esm/fw-accordion.js +2 -8
- package/esm/fw-animations.js +6 -20
- package/esm/fw-bar-chart.js +19 -0
- package/esm/{fw-button-765b9d52.js → fw-button-1486e2d9.js} +6 -24
- package/esm/fw-button.js +9 -8
- package/esm/fw-card-1b6a67fe.js +90 -0
- package/esm/fw-card.js +2 -95
- package/esm/fw-checkbox.js +27 -17
- package/esm/fw-dropdown.js +17 -33
- package/esm/fw-image-4727ac61.js +289 -0
- package/esm/fw-image.js +22 -847
- package/esm/fw-input.js +24 -25
- package/esm/fw-loading-bar-f5ca605c.js +22 -0
- package/esm/{fw-loading-spinner-01b9a040.js → fw-loading-spinner-df1627c0.js} +1 -2
- package/esm/fw-loading.js +6 -9
- package/esm/fw-modal.js +218 -11
- package/esm/fw-navigation-menu.js +11 -19
- package/esm/fw-progress-bar.js +4 -11
- package/esm/fw-table.js +12 -56
- package/esm/fw-tabs.js +60 -20
- package/esm/fw-tag.js +8 -8
- package/esm/fw-toast.js +276 -0
- package/esm/fw-transactions-card.js +115 -0
- package/esm/index-1a41e7bf.js +15838 -0
- package/esm/{index-7833cf39.js → index-4605e00e.js} +114 -86
- package/esm/index.js +87 -73
- package/esm/is-forced-752b5893.js +927 -0
- package/esm/{add-to-unscopables-a5032b1d.js → object-create-f6f3a673.js} +3 -25
- package/esm/object-keys-4f5bf4e7.js +13 -0
- package/esm/{to-string-c2bd1f4d.js → to-string-12728fd2.js} +2 -2
- package/esm/uniqueId-fe08534a.js +279 -0
- package/esm/web.timers-0f117224.js +72 -0
- package/frollo-web-ui.esm.js +18020 -1824
- package/icons/index.ts +5 -1
- package/icons/solid-check.svg +3 -0
- package/icons/solid-xmark.svg +3 -0
- package/index.d.ts +344 -22
- package/package.json +5 -1
- package/styles/web-components.scss +8 -0
- package/types/components/fw-bar-chart/fw-bar-chart.vue.d.ts +83 -0
- package/types/components/fw-bar-chart/index.d.ts +2 -0
- package/types/components/fw-bar-chart/index.types.d.ts +11 -0
- package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +3 -1
- package/types/components/fw-input/fw-input.vue.d.ts +1 -0
- package/types/components/fw-modal/fw-modal.vue.d.ts +16 -0
- package/types/components/fw-modal/index.types.d.ts +1 -0
- package/types/components/fw-toast/fw-toast.vue.d.ts +121 -0
- package/types/components/fw-toast/index.d.ts +2 -0
- package/types/components/fw-toast/index.types.d.ts +13 -0
- package/types/components/fw-transactions-card/fw-transactions-card.vue.d.ts +58 -0
- package/types/components/fw-transactions-card/index.d.ts +2 -0
- package/types/components/fw-transactions-card/index.types.d.ts +6 -0
- package/types/components/index.d.ts +3 -0
- package/types/components/index.types.d.ts +3 -0
- package/types/icons/index.d.ts +3 -1
- package/types/index.browser-umd.d.ts +1 -0
- package/types/services/index.d.ts +1 -0
- package/types/services/modal.d.ts +1 -1
- package/types/services/toast.d.ts +9 -0
- package/web-components/index.js +36612 -0
- package/esm/array-iteration-4f83e223.js +0 -186
- package/esm/create-property-da6d232b.js +0 -26
- package/esm/function-name-c49146fc.js +0 -492
- package/esm/fw-loading-bar-da7d53fb.js +0 -22
- package/esm/index-06f4e5f1.js +0 -482
- package/esm/is-forced-fd46b5f2.js +0 -438
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { FwBarGraphData } from './index.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* The transaction title of the chart
|
|
6
|
+
*/
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* The marker label of the y-axis transactions
|
|
12
|
+
*/
|
|
13
|
+
yMarker: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* The x axis data.
|
|
18
|
+
*/
|
|
19
|
+
x: {
|
|
20
|
+
type: PropType<string | string[] | undefined>;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* The y axis data.
|
|
24
|
+
*/
|
|
25
|
+
y: {
|
|
26
|
+
type: PropType<string | (string | number)[] | undefined>;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The x and y axis data.
|
|
30
|
+
*/
|
|
31
|
+
graphData: {
|
|
32
|
+
type: PropType<string | FwBarGraphData[] | undefined>;
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
uuid: string;
|
|
36
|
+
xModel: import("vue").ComputedRef<string[]>;
|
|
37
|
+
yModel: import("vue").ComputedRef<number[]>;
|
|
38
|
+
chartOptions: import("vue").ComputedRef<import("chart.js/dist/types/utils")._DeepPartialObject<import("chart.js").CoreChartOptions<keyof import("chart.js").ChartTypeRegistry> & import("chart.js").ElementChartOptions<keyof import("chart.js").ChartTypeRegistry> & import("chart.js").PluginChartOptions<keyof import("chart.js").ChartTypeRegistry> & import("chart.js").DatasetChartOptions<keyof import("chart.js").ChartTypeRegistry> & import("chart.js").ScaleChartOptions<keyof import("chart.js").ChartTypeRegistry>>>;
|
|
39
|
+
chartData: import("vue").ComputedRef<{
|
|
40
|
+
labels: string[];
|
|
41
|
+
datasets: {
|
|
42
|
+
backgroundColor: string[] | undefined;
|
|
43
|
+
data: number[];
|
|
44
|
+
borderWidth: number;
|
|
45
|
+
borderRadius: number;
|
|
46
|
+
barPercentage: number;
|
|
47
|
+
}[];
|
|
48
|
+
}>;
|
|
49
|
+
bgColor: string;
|
|
50
|
+
primaryFade: string;
|
|
51
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
/**
|
|
53
|
+
* The transaction title of the chart
|
|
54
|
+
*/
|
|
55
|
+
title: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* The marker label of the y-axis transactions
|
|
60
|
+
*/
|
|
61
|
+
yMarker: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* The x axis data.
|
|
66
|
+
*/
|
|
67
|
+
x: {
|
|
68
|
+
type: PropType<string | string[] | undefined>;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* The y axis data.
|
|
72
|
+
*/
|
|
73
|
+
y: {
|
|
74
|
+
type: PropType<string | (string | number)[] | undefined>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* The x and y axis data.
|
|
78
|
+
*/
|
|
79
|
+
graphData: {
|
|
80
|
+
type: PropType<string | FwBarGraphData[] | undefined>;
|
|
81
|
+
};
|
|
82
|
+
}>>, {}>;
|
|
83
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare interface FwBarGraphData {
|
|
2
|
+
name: string;
|
|
3
|
+
value: string | number;
|
|
4
|
+
}
|
|
5
|
+
export declare interface FwBarChartProps {
|
|
6
|
+
title?: string;
|
|
7
|
+
yMarker?: string;
|
|
8
|
+
x?: string[] | string;
|
|
9
|
+
y?: (string | number)[] | string;
|
|
10
|
+
graphData?: FwBarGraphData[] | string;
|
|
11
|
+
}
|
|
@@ -25,7 +25,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
hint: {
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
};
|
|
28
|
-
},
|
|
28
|
+
}, {
|
|
29
|
+
uuid: string;
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
31
|
/**
|
|
30
32
|
* The name of the input field. Must be unique per form.
|
|
31
33
|
*/
|
|
@@ -70,6 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
default: string;
|
|
71
71
|
};
|
|
72
72
|
}, {
|
|
73
|
+
uuid: string;
|
|
73
74
|
inputBaseClass: import("vue").Ref<string>;
|
|
74
75
|
inputValue: import("vue").WritableComputedRef<string>;
|
|
75
76
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -13,6 +13,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
header: {
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* The element to attach the modal too. Defaults to `#app` element.
|
|
18
|
+
*/
|
|
19
|
+
element: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
16
23
|
/**
|
|
17
24
|
* The body description of the modal
|
|
18
25
|
*/
|
|
@@ -73,6 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
80
|
}, {
|
|
74
81
|
isOpen: import("vue").ComputedRef<boolean>;
|
|
75
82
|
uuid: string;
|
|
83
|
+
isMounted: import("vue").Ref<boolean>;
|
|
76
84
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
85
|
/**
|
|
78
86
|
* The modal's v-model. Controls the visibility of the modal.
|
|
@@ -86,6 +94,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
94
|
header: {
|
|
87
95
|
type: StringConstructor;
|
|
88
96
|
};
|
|
97
|
+
/**
|
|
98
|
+
* The element to attach the modal too. Defaults to `#app` element.
|
|
99
|
+
*/
|
|
100
|
+
element: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
89
104
|
/**
|
|
90
105
|
* The body description of the modal
|
|
91
106
|
*/
|
|
@@ -148,6 +163,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
148
163
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
149
164
|
}, {
|
|
150
165
|
modelValue: boolean;
|
|
166
|
+
element: string;
|
|
151
167
|
role: string;
|
|
152
168
|
showCancel: boolean;
|
|
153
169
|
showConfirm: boolean;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ToastType, ToastPosition } from './index.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* The toast's v-model. Controls the visibility of the toast.
|
|
6
|
+
*/
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* The type of the toast.
|
|
12
|
+
* Accepts: 'success', 'error', 'warning'
|
|
13
|
+
*/
|
|
14
|
+
type: {
|
|
15
|
+
type: PropType<ToastType>;
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (value: string) => boolean;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The position of the toast on the screen.
|
|
21
|
+
* Accepts: 'top', 'bottom', 'top-left', 'top-right', 'bottom-left', 'bottom-right'
|
|
22
|
+
*/
|
|
23
|
+
position: {
|
|
24
|
+
type: PropType<ToastPosition>;
|
|
25
|
+
default: string;
|
|
26
|
+
validator: (value: string) => boolean;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The content of the toast.
|
|
30
|
+
*/
|
|
31
|
+
content: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* The base container to attach to. Defaults to `#app` element.
|
|
36
|
+
*/
|
|
37
|
+
element: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* The duration timeout before the toast is dismissed.
|
|
43
|
+
*/
|
|
44
|
+
timeout: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
}, {
|
|
49
|
+
containerEl: import("vue").ComputedRef<string>;
|
|
50
|
+
baseClass: string;
|
|
51
|
+
typeClasses: import("vue").Ref<{
|
|
52
|
+
success: string;
|
|
53
|
+
error: string;
|
|
54
|
+
warning: string;
|
|
55
|
+
}>;
|
|
56
|
+
svgComponent: import("vue").Ref<{
|
|
57
|
+
success: string;
|
|
58
|
+
error: string;
|
|
59
|
+
warning: string;
|
|
60
|
+
}>;
|
|
61
|
+
isOpen: import("vue").WritableComputedRef<import("vue").Ref<boolean>>;
|
|
62
|
+
uuid: string;
|
|
63
|
+
isMounted: import("vue").Ref<boolean>;
|
|
64
|
+
mountContainer: import("vue").Ref<boolean>;
|
|
65
|
+
isLeftRightorCenter: import("vue").ComputedRef<"Right" | "Left" | "Center">;
|
|
66
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "dismissed")[], "update:modelValue" | "dismissed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
/**
|
|
68
|
+
* The toast's v-model. Controls the visibility of the toast.
|
|
69
|
+
*/
|
|
70
|
+
modelValue: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* The type of the toast.
|
|
75
|
+
* Accepts: 'success', 'error', 'warning'
|
|
76
|
+
*/
|
|
77
|
+
type: {
|
|
78
|
+
type: PropType<ToastType>;
|
|
79
|
+
default: string;
|
|
80
|
+
validator: (value: string) => boolean;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* The position of the toast on the screen.
|
|
84
|
+
* Accepts: 'top', 'bottom', 'top-left', 'top-right', 'bottom-left', 'bottom-right'
|
|
85
|
+
*/
|
|
86
|
+
position: {
|
|
87
|
+
type: PropType<ToastPosition>;
|
|
88
|
+
default: string;
|
|
89
|
+
validator: (value: string) => boolean;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* The content of the toast.
|
|
93
|
+
*/
|
|
94
|
+
content: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* The base container to attach to. Defaults to `#app` element.
|
|
99
|
+
*/
|
|
100
|
+
element: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* The duration timeout before the toast is dismissed.
|
|
106
|
+
*/
|
|
107
|
+
timeout: {
|
|
108
|
+
type: NumberConstructor;
|
|
109
|
+
default: number;
|
|
110
|
+
};
|
|
111
|
+
}>> & {
|
|
112
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
onDismissed?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
modelValue: boolean;
|
|
116
|
+
type: ToastType;
|
|
117
|
+
position: ToastPosition;
|
|
118
|
+
element: string;
|
|
119
|
+
timeout: number;
|
|
120
|
+
}>;
|
|
121
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare type ToastType = 'success' | 'error' | 'warning';
|
|
2
|
+
export declare type ToastTypes = {
|
|
3
|
+
[key in ToastType]: string;
|
|
4
|
+
};
|
|
5
|
+
export declare type ToastPosition = 'top' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
6
|
+
export declare interface FwToastProps {
|
|
7
|
+
modelValue: boolean;
|
|
8
|
+
type?: ToastType;
|
|
9
|
+
position?: ToastPosition;
|
|
10
|
+
content?: string;
|
|
11
|
+
element?: string;
|
|
12
|
+
timeout?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* The transaction title of the card
|
|
4
|
+
*/
|
|
5
|
+
title: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* The transaction sub-title of the card
|
|
10
|
+
*/
|
|
11
|
+
subTitle: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The transaction amount.
|
|
17
|
+
*/
|
|
18
|
+
amount: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* The src url for the image.
|
|
24
|
+
*/
|
|
25
|
+
imageUrl: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
/**
|
|
31
|
+
* The transaction title of the card
|
|
32
|
+
*/
|
|
33
|
+
title: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The transaction sub-title of the card
|
|
38
|
+
*/
|
|
39
|
+
subTitle: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* The transaction amount.
|
|
45
|
+
*/
|
|
46
|
+
amount: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* The src url for the image.
|
|
52
|
+
*/
|
|
53
|
+
imageUrl: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
required: false;
|
|
56
|
+
};
|
|
57
|
+
}>>, {}>;
|
|
58
|
+
export default _default;
|
|
@@ -13,4 +13,7 @@ export * from './fw-table';
|
|
|
13
13
|
export * from './fw-accordion';
|
|
14
14
|
export * from './fw-image';
|
|
15
15
|
export * from './fw-loading';
|
|
16
|
+
export * from './fw-toast';
|
|
17
|
+
export * from './fw-transactions-card';
|
|
18
|
+
export * from './fw-bar-chart';
|
|
16
19
|
export * from './fw-animations';
|
|
@@ -10,3 +10,6 @@ export * from '../components/fw-table/index.types';
|
|
|
10
10
|
export * from '../components/fw-dropdown/index.types';
|
|
11
11
|
export * from '../components/fw-accordion/index.types';
|
|
12
12
|
export * from '../components/fw-image/index.types';
|
|
13
|
+
export * from '../components/fw-toast/index.types';
|
|
14
|
+
export * from '../components/fw-transactions-card/index.types';
|
|
15
|
+
export * from '../components/fw-bar-chart/index.types';
|
package/types/icons/index.d.ts
CHANGED
|
@@ -26,4 +26,6 @@ import PlusSvg from './plus.svg';
|
|
|
26
26
|
import UserSvg from './user.svg';
|
|
27
27
|
import LoadingSvg from './loading.svg';
|
|
28
28
|
import BullseyeSvg from './bullseye.svg';
|
|
29
|
-
|
|
29
|
+
import SolidCheckSvg from './solid-check.svg';
|
|
30
|
+
import SolidXMarkSvg from './solid-xmark.svg';
|
|
31
|
+
export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg, EnvelopeSvg, CheckSvg, ChevronUpSvg, ChevronDownSvg, ErrorFilledSvg, LightBulbSvg, LandmarkSvg, CoinsSvg, CaretDownSvg, SortLightSvg, PlusSvg, UserSvg, LoadingSvg, BullseyeSvg, SolidCheckSvg, SolidXMarkSvg };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/styles/web-components.scss';
|
|
@@ -3,7 +3,7 @@ export declare interface ModalServiceProps extends Omit<FwModalProps, 'modelValu
|
|
|
3
3
|
onConfirm?: () => void;
|
|
4
4
|
onCancel?: () => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const modalService: (options?: ModalServiceProps
|
|
6
|
+
export declare const modalService: (options?: ModalServiceProps) => {
|
|
7
7
|
open: () => void;
|
|
8
8
|
close: () => void;
|
|
9
9
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FwToastProps } from '../components/fw-toast/index.types';
|
|
2
|
+
export declare interface ToastServiceProps extends Omit<FwToastProps, 'modelValue' | 'type'> {
|
|
3
|
+
onDismissed?: () => void;
|
|
4
|
+
}
|
|
5
|
+
export declare const toastService: () => {
|
|
6
|
+
success: (options?: ToastServiceProps) => void;
|
|
7
|
+
error: (options?: ToastServiceProps) => void;
|
|
8
|
+
warning: (options?: ToastServiceProps) => void;
|
|
9
|
+
};
|