mis-crystal-design-system 1.1.8 → 2.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/bundles/mis-crystal-design-system-src-datepicker.umd.js +1 -1
- package/bundles/mis-crystal-design-system-src-datepicker.umd.js.map +1 -1
- package/bundles/mis-crystal-design-system-src-datepicker.umd.min.js.map +1 -1
- package/bundles/mis-crystal-design-system.umd.js +441 -34
- package/bundles/mis-crystal-design-system.umd.js.map +1 -1
- package/bundles/mis-crystal-design-system.umd.min.js +6 -6
- package/bundles/mis-crystal-design-system.umd.min.js.map +1 -1
- package/drawer/drawer-body/drawer-body.component.d.ts +12 -0
- package/drawer/drawer-constants.d.ts +3 -0
- package/drawer/drawer-ref.d.ts +13 -0
- package/drawer/drawer.module.d.ts +5 -0
- package/drawer/drawer.scss +20 -0
- package/drawer/drawer.service.d.ts +18 -0
- package/drawer/index.d.ts +1 -0
- package/drawer/public_api.d.ts +4 -0
- package/esm2015/chip/chip.module.js +1 -1
- package/esm2015/drawer/drawer-body/drawer-body.component.js +44 -0
- package/esm2015/drawer/drawer-constants.js +4 -0
- package/esm2015/drawer/drawer-ref.js +28 -0
- package/esm2015/drawer/drawer.module.js +28 -0
- package/esm2015/drawer/drawer.service.js +59 -0
- package/esm2015/drawer/index.js +2 -0
- package/esm2015/drawer/public_api.js +5 -0
- package/esm2015/dropdown/dropdown.component.js +3 -3
- package/esm2015/fab/fab.component.js +66 -0
- package/esm2015/fab/fab.module.js +16 -0
- package/esm2015/fab/index.js +2 -0
- package/esm2015/fab/public_api.js +3 -0
- package/esm2015/mis-crystal-design-system.js +1 -23
- package/esm2015/multi-select-dropdown/multi-select-dropdown.component.js +2 -2
- package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.component.js +2 -2
- package/esm2015/public-api.js +16 -13
- package/esm2015/table/table.component.js +1 -1
- package/esm2015/toast/index.js +2 -0
- package/esm2015/toast/public_api.js +3 -0
- package/esm2015/toast/toast.component.js +30 -0
- package/esm2015/toast/toast.data.service.js +29 -0
- package/esm2015/toast/toast.module.js +28 -0
- package/esm2015/toast/toast.service.js +99 -0
- package/fab/fab.component.d.ts +29 -0
- package/fab/fab.module.d.ts +4 -0
- package/fab/index.d.ts +1 -0
- package/fab/public_api.d.ts +2 -0
- package/fesm2015/mis-crystal-design-system.js +400 -12
- package/fesm2015/mis-crystal-design-system.js.map +1 -1
- package/mis-crystal-design-system.d.ts +0 -22
- package/mis-crystal-design-system.metadata.json +1 -1
- package/package.json +3 -2
- package/public-api.d.ts +15 -12
- package/toast/index.d.ts +1 -0
- package/toast/public_api.d.ts +2 -0
- package/toast/toast.component.d.ts +5 -0
- package/toast/toast.data.service.d.ts +8 -0
- package/toast/toast.module.d.ts +5 -0
- package/toast/toast.service.d.ts +35 -0
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
export * from './button
|
|
2
|
-
export * from './checkbox
|
|
3
|
-
export * from './chip
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
1
|
+
export * from './button';
|
|
2
|
+
export * from './checkbox';
|
|
3
|
+
export * from './chip';
|
|
4
|
+
export * from './drawer';
|
|
5
|
+
export * from './dropdown';
|
|
6
|
+
export * from './fab';
|
|
7
|
+
export * from './loader';
|
|
8
|
+
export * from './multi-select-dropdown';
|
|
9
|
+
export * from './nested-multi-select-dropdown';
|
|
10
|
+
export * from './radio-button';
|
|
11
|
+
export * from './switch';
|
|
12
|
+
export * from './table';
|
|
13
|
+
export * from './toast';
|
|
14
|
+
export * from './tooltip';
|
|
15
|
+
export * from './datepicker';
|
package/toast/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { ToastDataService } from './toast.data.service';
|
|
3
|
+
declare type Operations = 'created' | 'updated' | 'deleted' | 'create' | 'update' | 'delete';
|
|
4
|
+
export declare class ToastService {
|
|
5
|
+
private overlay;
|
|
6
|
+
private data;
|
|
7
|
+
constructor(overlay: Overlay, data: ToastDataService);
|
|
8
|
+
private toastWrapperRef;
|
|
9
|
+
private messagePromises;
|
|
10
|
+
private userProfilePortal;
|
|
11
|
+
messageBuilder: {
|
|
12
|
+
error: {
|
|
13
|
+
simple: string;
|
|
14
|
+
400: string;
|
|
15
|
+
401: string;
|
|
16
|
+
403: string;
|
|
17
|
+
404: string;
|
|
18
|
+
};
|
|
19
|
+
item: (item: string) => {
|
|
20
|
+
action: (act?: Operations) => {
|
|
21
|
+
success: string;
|
|
22
|
+
failure: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
short: (act?: Operations) => {
|
|
26
|
+
success: string;
|
|
27
|
+
failure: string;
|
|
28
|
+
};
|
|
29
|
+
simple: (...args: string[]) => string;
|
|
30
|
+
simplest: string;
|
|
31
|
+
};
|
|
32
|
+
displayMsg(msg: string, timeout?: number): void;
|
|
33
|
+
private closeToastOverlay;
|
|
34
|
+
}
|
|
35
|
+
export {};
|