@spicainternational/ngx-sds-components 5.9.2 → 5.10.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/esm2020/public-api.mjs +3 -1
- package/esm2020/src/lib/badge/badge.directive.mjs +88 -0
- package/esm2020/src/lib/badge/badge.module.mjs +29 -0
- package/esm2020/src/lib/badge/badge.types.mjs +2 -0
- package/esm2020/src/lib/badge/components/badge.component.mjs +59 -0
- package/esm2020/src/lib/badge/public-api.mjs +3 -0
- package/esm2020/src/lib/badge/spicainternational-ngx-sds-components-src-lib-badge.mjs +5 -0
- package/esm2020/src/lib/date-picker/date-picker.component.mjs +65 -15
- package/esm2020/src/lib/expansion-panel/expansion-panel.component.mjs +37 -11
- package/esm2020/src/lib/expansion-panel/expansion-panel.module.mjs +11 -20
- package/esm2020/src/lib/expansion-panel/expansion-panel.types.mjs +2 -0
- package/esm2020/src/lib/modal/dialog/dialog.component.mjs +11 -5
- package/esm2020/src/lib/modal/dialog/dialog.types.mjs +2 -0
- package/esm2020/src/lib/quick-info/quick-info.component.mjs +47 -10
- package/esm2020/src/lib/side-bar/side-bar.component.mjs +11 -4
- package/esm2020/src/lib/side-bar/side-bar.module.mjs +5 -4
- package/esm2020/src/lib/tooltip/components/tooltip.component.mjs +5 -4
- package/esm2020/src/lib/tooltip/tooltip.directive.mjs +28 -2
- package/esm2020/src/lib/tooltip/tooltip.module.mjs +8 -4
- package/esm2020/src/lib/tooltip/tooltip.types.mjs +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-badge.mjs +176 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-badge.mjs.map +1 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +64 -14
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +45 -28
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-modal.mjs +10 -4
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +46 -9
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +14 -6
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-side-bar.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-tooltip.mjs +38 -7
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-tooltip.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components.mjs +2 -0
- package/fesm2015/spicainternational-ngx-sds-components.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-badge.mjs +176 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-badge.mjs.map +1 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +64 -14
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +45 -28
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-modal.mjs +10 -4
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +46 -9
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +14 -6
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-side-bar.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-tooltip.mjs +38 -7
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-tooltip.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components.mjs +2 -0
- package/fesm2020/spicainternational-ngx-sds-components.mjs.map +1 -1
- package/package.json +9 -1
- package/public-api.d.ts +2 -0
- package/src/lib/badge/badge.directive.d.ts +23 -0
- package/src/lib/badge/badge.module.d.ts +9 -0
- package/src/lib/badge/badge.types.d.ts +2 -0
- package/src/lib/badge/components/badge.component.d.ts +23 -0
- package/src/lib/badge/package.json +10 -0
- package/src/lib/badge/public-api.d.ts +2 -0
- package/src/lib/badge/spicainternational-ngx-sds-components-src-lib-badge.d.ts +5 -0
- package/src/lib/date-picker/date-picker.component.d.ts +12 -2
- package/src/lib/expansion-panel/expansion-panel.component.d.ts +21 -6
- package/src/lib/expansion-panel/expansion-panel.module.d.ts +5 -5
- package/src/lib/expansion-panel/expansion-panel.types.d.ts +1 -0
- package/src/lib/modal/dialog/dialog.component.d.ts +5 -2
- package/src/lib/modal/dialog/dialog.types.d.ts +1 -0
- package/src/lib/quick-info/quick-info.component.d.ts +11 -2
- package/src/lib/side-bar/side-bar.component.d.ts +5 -1
- package/src/lib/side-bar/side-bar.module.d.ts +2 -1
- package/src/lib/tooltip/components/tooltip.component.d.ts +4 -1
- package/src/lib/tooltip/tooltip.directive.d.ts +7 -3
- package/src/lib/tooltip/tooltip.module.d.ts +2 -1
- package/src/lib/tooltip/tooltip.types.d.ts +1 -1
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, ElementRef, Injector } from '@angular/core';
|
|
1
|
+
import { ApplicationRef, ComponentFactoryResolver, ElementRef, Injector, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TooltipPosition, TooltipTheme } from './tooltip.types';
|
|
3
|
+
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TooltipDirective {
|
|
5
|
+
export declare class TooltipDirective implements OnChanges {
|
|
5
6
|
private elementRef;
|
|
6
7
|
private appRef;
|
|
7
8
|
private componentFactoryResolver;
|
|
8
9
|
private injector;
|
|
9
10
|
tooltip: string;
|
|
11
|
+
tooltipClass: string;
|
|
12
|
+
tooltipIcon?: IconProp;
|
|
10
13
|
position: TooltipPosition;
|
|
11
14
|
theme: TooltipTheme;
|
|
12
15
|
showDelay: number;
|
|
@@ -16,6 +19,7 @@ export declare class TooltipDirective {
|
|
|
16
19
|
private hideTimeout?;
|
|
17
20
|
private touchTimeout?;
|
|
18
21
|
constructor(elementRef: ElementRef, appRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
23
|
onMouseEnter(): void;
|
|
20
24
|
onMouseLeave(): void;
|
|
21
25
|
onMouseMove($event: MouseEvent): void;
|
|
@@ -28,5 +32,5 @@ export declare class TooltipDirective {
|
|
|
28
32
|
ngOnDestroy(): void;
|
|
29
33
|
destroy(): void;
|
|
30
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[sdsTooltip]", never, { "tooltip": "tooltip"; "position": "position"; "theme": "theme"; "showDelay": "showDelay"; "hideDelay": "hideDelay"; }, {}, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[sdsTooltip]", never, { "tooltip": "tooltip"; "tooltipClass": "tooltipClass"; "tooltipIcon": "tooltipIcon"; "position": "position"; "theme": "theme"; "showDelay": "showDelay"; "hideDelay": "hideDelay"; }, {}, never>;
|
|
32
36
|
}
|
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./components/tooltip.component";
|
|
3
3
|
import * as i2 from "./tooltip.directive";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@fortawesome/angular-fontawesome";
|
|
5
6
|
export declare class SdsTooltipModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsTooltipModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SdsTooltipModule, [typeof i1.SdsTooltipComponent, typeof i2.TooltipDirective], [typeof i3.CommonModule], [typeof i2.TooltipDirective]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SdsTooltipModule, [typeof i1.SdsTooltipComponent, typeof i2.TooltipDirective], [typeof i3.CommonModule, typeof i4.FontAwesomeModule], [typeof i2.TooltipDirective]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<SdsTooltipModule>;
|
|
9
10
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare type TooltipPosition = 'above' | 'below' | 'left' | 'right' | 'dynamic';
|
|
2
|
-
export declare type TooltipTheme = 'dark' | 'light';
|
|
2
|
+
export declare type TooltipTheme = 'dark' | 'light' | 'danger' | 'success' | 'warning' | 'info';
|