mis-crystal-design-system 17.0.3 → 17.0.4
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/analytics/analytics.service.d.ts +1 -1
- package/esm2022/analytics/analytics.service.mjs +3 -3
- package/esm2022/filter/filter-panel/filter-panel.component.mjs +19 -19
- package/esm2022/slider/slider.component.mjs +2 -2
- package/esm2022/table/actions-cell/actions-cell.component.mjs +389 -0
- package/esm2022/table/public_api.mjs +5 -3
- package/esm2022/table/sort-icons.directive.mjs +139 -0
- package/esm2022/table/table.component.mjs +286 -109
- package/esm2022/table/table.module.mjs +41 -6
- package/esm2022/toast/public_api.mjs +3 -1
- package/esm2022/toast/toast.component.mjs +73 -16
- package/esm2022/toast/toast.constants.mjs +7 -0
- package/esm2022/toast/toast.data.service.mjs +1 -1
- package/esm2022/toast/toast.interface.mjs +2 -0
- package/esm2022/toast/toast.service.mjs +14 -7
- package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-analytics.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-analytics.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-drawer.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-filter.mjs +18 -18
- package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-input-stepper.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-input.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-loader.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-menu.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-modal.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-phone-input.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-radio-button.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-slider.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-slider.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-table.mjs +1143 -411
- package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-timepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-toast.mjs +93 -22
- package/fesm2022/mis-crystal-design-system-toast.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-tooltip.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-widgets.mjs.map +1 -1
- package/filter/filter-panel/filter-panel.component.d.ts +4 -3
- package/package.json +35 -35
- package/table/actions-cell/actions-cell.component.d.ts +45 -0
- package/table/filter/filter.component.d.ts +1 -1
- package/table/public_api.d.ts +4 -2
- package/table/sort-icons.directive.d.ts +36 -0
- package/table/table.component.d.ts +56 -10
- package/table/table.module.d.ts +8 -4
- package/toast/public_api.d.ts +2 -0
- package/toast/toast.component.d.ts +13 -1
- package/toast/toast.constants.d.ts +5 -0
- package/toast/toast.data.service.d.ts +3 -2
- package/toast/toast.interface.d.ts +6 -0
- package/toast/toast.service.d.ts +2 -1
|
@@ -1,8 +1,20 @@
|
|
|
1
|
+
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
1
2
|
import { ToastDataService } from "./toast.data.service";
|
|
3
|
+
import { ToastState } from "./toast.interface";
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Toast = string | {
|
|
6
|
+
text: string;
|
|
7
|
+
state?: ToastState;
|
|
8
|
+
};
|
|
3
9
|
export declare class ToastComponent {
|
|
4
10
|
data: ToastDataService;
|
|
5
|
-
|
|
11
|
+
private sanitizer;
|
|
12
|
+
constructor(data: ToastDataService, sanitizer: DomSanitizer);
|
|
13
|
+
getMessage(toast: Toast): string;
|
|
14
|
+
shouldShowIcon(toast: Toast): boolean;
|
|
15
|
+
getStateIcon(state?: ToastState): SafeHtml;
|
|
16
|
+
private isStringToast;
|
|
6
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
7
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "mis-teams-toast", never, {}, {}, never, never, false, never>;
|
|
8
19
|
}
|
|
20
|
+
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ToastMessage } from "./toast.interface";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ToastDataService {
|
|
3
4
|
private messageMap;
|
|
4
|
-
get messages(): string[];
|
|
5
|
+
get messages(): (ToastMessage | string)[];
|
|
5
6
|
constructor();
|
|
6
|
-
updateMessage(msg: string): number;
|
|
7
|
+
updateMessage(msg: ToastMessage | string): number;
|
|
7
8
|
removeMessage(id: number): void;
|
|
8
9
|
hasMessage(): boolean;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastDataService, never>;
|
package/toast/toast.service.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Overlay } from "@angular/cdk/overlay";
|
|
2
2
|
import { ToastDataService } from "./toast.data.service";
|
|
3
|
+
import { ToastState } from "./toast.interface";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
type Operations = "created" | "updated" | "deleted" | "create" | "update" | "delete";
|
|
5
6
|
export declare class ToastService {
|
|
@@ -30,7 +31,7 @@ export declare class ToastService {
|
|
|
30
31
|
simple: (...args: string[]) => string;
|
|
31
32
|
simplest: string;
|
|
32
33
|
};
|
|
33
|
-
displayMsg(
|
|
34
|
+
displayMsg(message: string, timeout?: number, state?: ToastState): void;
|
|
34
35
|
private closeToastOverlay;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
36
37
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|