@comercti/web-components 0.2.0 → 0.4.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.
- package/comerc-style-guide.cjs.js +30 -27
- package/comerc-style-guide.es.js +2228 -2033
- package/comerc-style-guide.umd.js +31 -28
- package/index.d.ts +20 -15
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { IData } from './toast/interfaces';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
3
|
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const activateCeLoading: () => void;
|
|
5
|
+
|
|
6
|
+
export declare const addCeToast: (title: string, message: string, type: "success" | "error" | "warn" | "info", duration?: number, data?: IData | null) => void;
|
|
7
|
+
|
|
8
|
+
export declare const disableCeLoading: () => void;
|
|
5
9
|
|
|
6
10
|
export declare const isMobile: Ref<boolean, boolean>;
|
|
7
11
|
|
|
8
|
-
export declare const
|
|
12
|
+
export declare const removeCeToast: (id: number) => void;
|
|
9
13
|
|
|
10
14
|
export declare const toasts: Ref< {
|
|
11
15
|
title: string;
|
|
@@ -74,19 +78,6 @@ declare module 'vue' {
|
|
|
74
78
|
}
|
|
75
79
|
|
|
76
80
|
|
|
77
|
-
declare module 'vue' {
|
|
78
|
-
interface GlobalComponents {
|
|
79
|
-
'ce-card': typeof CardComponent;
|
|
80
|
-
'ce-card-header': typeof CardHeaderComponent;
|
|
81
|
-
'ce-card-text': typeof CardTextComponent;
|
|
82
|
-
'ce-content-divider': typeof ContentDividerComponent;
|
|
83
|
-
'ce-footer': typeof FooterComponent;
|
|
84
|
-
'ce-layout': typeof LayoutComponent;
|
|
85
|
-
'ce-section-footer': typeof SectionFooterComponent;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
81
|
declare module 'vue' {
|
|
91
82
|
interface GlobalComponents {
|
|
92
83
|
'ce-banners': typeof BannersComponent;
|
|
@@ -104,6 +95,20 @@ declare module 'vue' {
|
|
|
104
95
|
'ce-progress-indicator': typeof ProgressIndicatorComponent;
|
|
105
96
|
'ce-progress-steps': typeof ProgressStepsComponent;
|
|
106
97
|
'ce-data-table': typeof DataTableComponent;
|
|
98
|
+
'ce-items-per-page': typeof ItemsPerPageComponent;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
declare module 'vue' {
|
|
104
|
+
interface GlobalComponents {
|
|
105
|
+
'ce-card': typeof CardComponent;
|
|
106
|
+
'ce-card-header': typeof CardHeaderComponent;
|
|
107
|
+
'ce-card-text': typeof CardTextComponent;
|
|
108
|
+
'ce-content-divider': typeof ContentDividerComponent;
|
|
109
|
+
'ce-footer': typeof FooterComponent;
|
|
110
|
+
'ce-layout': typeof LayoutComponent;
|
|
111
|
+
'ce-section-footer': typeof SectionFooterComponent;
|
|
107
112
|
}
|
|
108
113
|
}
|
|
109
114
|
|