@ngx-stoui/core 13.0.2 → 14.0.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/esm2020/lib/sto-directives/context-menu.directive.mjs +3 -3
- package/esm2020/lib/sto-directives/date-form-field-click.directive.mjs +3 -3
- package/esm2020/lib/sto-directives/directives.module.mjs +5 -5
- package/esm2020/lib/sto-directives/menu-overlay.directive.mjs +4 -4
- package/esm2020/lib/sto-directives/quick-keys.directive.mjs +5 -5
- package/esm2020/lib/sto-directives/sto-grid.directive.mjs +9 -9
- package/esm2020/lib/sto-directives/sto-select-text-on-focus.directive.mjs +3 -3
- package/esm2020/lib/sto-pipes/currency-format.pipe.mjs +3 -3
- package/esm2020/lib/sto-pipes/date-format.pipe.mjs +12 -6
- package/esm2020/lib/sto-pipes/keys.pipe.mjs +3 -3
- package/esm2020/lib/sto-pipes/number-format.pipe.mjs +3 -3
- package/esm2020/lib/sto-pipes/sto-pipes.module.mjs +5 -5
- package/esm2020/lib/sto-pipes/with-unit.mjs +6 -6
- package/esm2020/lib/sto-pipes/yes-no.mjs +3 -3
- package/esm2020/lib/sto-user-preference/sto-user-preference.component.mjs +9 -9
- package/esm2020/lib/sto-user-preference/sto-user-preference.module.mjs +5 -5
- package/esm2020/lib/sto-user-preference/sto-user-preference.service.mjs +3 -3
- package/fesm2015/ngx-stoui-core.mjs +75 -69
- package/fesm2015/ngx-stoui-core.mjs.map +1 -1
- package/fesm2020/ngx-stoui-core.mjs +75 -69
- package/fesm2020/ngx-stoui-core.mjs.map +1 -1
- package/lib/sto-directives/context-menu.directive.d.ts +1 -1
- package/lib/sto-directives/date-form-field-click.directive.d.ts +1 -1
- package/lib/sto-directives/menu-overlay.directive.d.ts +1 -1
- package/lib/sto-directives/quick-keys.directive.d.ts +3 -3
- package/lib/sto-directives/sto-grid.directive.d.ts +3 -3
- package/lib/sto-directives/sto-select-text-on-focus.directive.d.ts +1 -1
- package/lib/sto-pipes/currency-format.pipe.d.ts +1 -1
- package/lib/sto-pipes/date-format.pipe.d.ts +1 -1
- package/lib/sto-pipes/keys.pipe.d.ts +1 -1
- package/lib/sto-pipes/number-format.pipe.d.ts +1 -1
- package/lib/sto-pipes/with-unit.d.ts +2 -2
- package/lib/sto-pipes/yes-no.d.ts +1 -1
- package/lib/sto-user-preference/sto-user-preference.component.d.ts +4 -4
- package/ngx-stoui.css +372 -99
- package/package.json +5 -5
- package/ngx-stoui-core.d.ts +0 -5
|
@@ -7,5 +7,5 @@ export declare class ContextMenuDirective {
|
|
|
7
7
|
menuContext: unknown;
|
|
8
8
|
contextMenu(event: MouseEvent): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[stoContextMenu]", never, { "menuTrigger": "menuTrigger"; "overlayDirective": "overlayDirective"; "menuContext": "menuContext"; }, {}, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[stoContextMenu]", never, { "menuTrigger": "menuTrigger"; "overlayDirective": "overlayDirective"; "menuContext": "menuContext"; }, {}, never, never, false>;
|
|
11
11
|
}
|
|
@@ -16,5 +16,5 @@ export declare class DateFormFieldClickDirective implements OnInit, OnDestroy {
|
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormFieldClickDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateFormFieldClickDirective, "[stoDateFormFieldClick]", never, { "stoDateFormFieldClick": "stoDateFormFieldClick"; }, {}, ["inputs"]>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateFormFieldClickDirective, "[stoDateFormFieldClick]", never, { "stoDateFormFieldClick": "stoDateFormFieldClick"; }, {}, ["inputs"], never, false>;
|
|
20
20
|
}
|
|
@@ -10,5 +10,5 @@ export declare class MenuOverlayDirective {
|
|
|
10
10
|
updatePosition(event: MouseEvent): void;
|
|
11
11
|
private setStyle;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuOverlayDirective, [{ host: true; }, null]>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuOverlayDirective, "[stoMenuOverlay]", ["stoMenuOverlay"], {}, {}, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuOverlayDirective, "[stoMenuOverlay]", ["stoMenuOverlay"], {}, {}, never, never, false>;
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* QuickKeysDirective is used to implement shortcut keys on DOM elements, e.g to submit or reset a form on enter/escape
|
|
@@ -10,7 +10,7 @@ export declare class QuickKeysDirective {
|
|
|
10
10
|
/**
|
|
11
11
|
* Optional formGroup input, when used in combination with a reactive form
|
|
12
12
|
*/
|
|
13
|
-
formGroup:
|
|
13
|
+
formGroup: UntypedFormGroup;
|
|
14
14
|
/**
|
|
15
15
|
* Emits when ctrl + enter is clicked in combination
|
|
16
16
|
* <form (quickSubmit)="save()">
|
|
@@ -38,5 +38,5 @@ export declare class QuickKeysDirective {
|
|
|
38
38
|
*/
|
|
39
39
|
private handleFormKeys;
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuickKeysDirective, never>;
|
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QuickKeysDirective, "[stoQuickKeys]", never, { "quickKeys": "quickKeys"; "formGroup": "formGroup"; }, { "quickSubmit": "quickSubmit"; "quickCancel": "quickCancel"; }, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<QuickKeysDirective, "[stoQuickKeys]", never, { "quickKeys": "quickKeys"; "formGroup": "formGroup"; }, { "quickSubmit": "quickSubmit"; "quickCancel": "quickCancel"; }, never, never, false>;
|
|
42
42
|
}
|
|
@@ -7,13 +7,13 @@ interface BreakpointConfig {
|
|
|
7
7
|
export declare class StoGridSpacerDirective {
|
|
8
8
|
useClass: boolean;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoGridSpacerDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StoGridSpacerDirective, "[stoGridSpacer]", never, {}, {}, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StoGridSpacerDirective, "[stoGridSpacer]", never, {}, {}, never, never, false>;
|
|
11
11
|
}
|
|
12
12
|
export declare class StoGridColumnDirective {
|
|
13
13
|
useClass: boolean;
|
|
14
14
|
stoGridColumnDouble: boolean;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoGridColumnDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StoGridColumnDirective, "[stoGridColumn]", never, { "stoGridColumnDouble": "stoGridColumnDouble"; }, {}, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StoGridColumnDirective, "[stoGridColumn]", never, { "stoGridColumnDouble": "stoGridColumnDouble"; }, {}, never, never, false>;
|
|
17
17
|
}
|
|
18
18
|
export declare class StoGridDirective implements AfterViewInit, OnDestroy {
|
|
19
19
|
private elRef;
|
|
@@ -27,6 +27,6 @@ export declare class StoGridDirective implements AfterViewInit, OnDestroy {
|
|
|
27
27
|
ngAfterViewInit(): void;
|
|
28
28
|
ngOnDestroy(): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoGridDirective, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StoGridDirective, "[stoGrid]", ["stoGrid"], { "maxWidth": "maxWidth"; "minWidth": "minWidth"; "breakpoints": "breakpoints"; }, {}, ["columns"]>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StoGridDirective, "[stoGrid]", ["stoGrid"], { "maxWidth": "maxWidth"; "minWidth": "minWidth"; "breakpoints": "breakpoints"; }, {}, ["columns"], never, false>;
|
|
31
31
|
}
|
|
32
32
|
export {};
|
|
@@ -22,5 +22,5 @@ export declare class StoSelectTextOnFocusDirective implements OnInit, OnDestroy
|
|
|
22
22
|
ngOnInit(): void;
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoSelectTextOnFocusDirective, [null, { optional: true; }]>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StoSelectTextOnFocusDirective, "[stoSelectTextOnFocus]", never, {}, {}, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StoSelectTextOnFocusDirective, "[stoSelectTextOnFocus]", never, {}, {}, never, never, false>;
|
|
26
26
|
}
|
|
@@ -12,5 +12,5 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export declare class CurrencyFormatPipe implements PipeTransform {
|
|
13
13
|
transform(value: number, unit?: string, maximumFractionDigits?: number): string | null;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyFormatPipe, never>;
|
|
15
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyFormatPipe, "currencyFormat">;
|
|
15
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyFormatPipe, "currencyFormat", false>;
|
|
16
16
|
}
|
|
@@ -12,5 +12,5 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export declare class DateFormatPipe implements PipeTransform {
|
|
13
13
|
transform(value: string | number | Date | null, format?: string): string | null;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatPipe, never>;
|
|
15
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatPipe, "formatDate">;
|
|
15
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatPipe, "formatDate", false>;
|
|
16
16
|
}
|
|
@@ -11,5 +11,5 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
export declare class KeysPipe implements PipeTransform {
|
|
12
12
|
transform(value: Record<string, unknown>): Array<string>;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeysPipe, never>;
|
|
14
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<KeysPipe, "keys">;
|
|
14
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KeysPipe, "keys", false>;
|
|
15
15
|
}
|
|
@@ -16,5 +16,5 @@ export declare class NumberFormatPipe implements PipeTransform {
|
|
|
16
16
|
private prettyPrintValue;
|
|
17
17
|
private toFixed;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberFormatPipe, never>;
|
|
19
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NumberFormatPipe, "numberFormat">;
|
|
19
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberFormatPipe, "numberFormat", false>;
|
|
20
20
|
}
|
|
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class GetUnit implements PipeTransform {
|
|
4
4
|
transform(value: string, withParens?: boolean): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<GetUnit, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetUnit, "getUnit">;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetUnit, "getUnit", false>;
|
|
7
7
|
}
|
|
8
8
|
export declare class ExcludeUnit implements PipeTransform {
|
|
9
9
|
transform(value: string): string;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExcludeUnit, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ExcludeUnit, "excludeUnit">;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ExcludeUnit, "excludeUnit", false>;
|
|
12
12
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class YesNoPipe implements PipeTransform {
|
|
4
4
|
transform(value: boolean, ignoreNulls?: boolean): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<YesNoPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<YesNoPipe, "yesNo">;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<YesNoPipe, "yesNo", false>;
|
|
7
7
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { StoUserPreferenceService } from './sto-user-preference.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class StoUserPreferenceComponent implements OnInit, OnDestroy {
|
|
6
6
|
private fb;
|
|
7
7
|
private service;
|
|
8
|
-
form:
|
|
8
|
+
form: UntypedFormGroup;
|
|
9
9
|
private destroyed$;
|
|
10
|
-
constructor(fb:
|
|
10
|
+
constructor(fb: UntypedFormBuilder, service: StoUserPreferenceService);
|
|
11
11
|
private initForm;
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoUserPreferenceComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StoUserPreferenceComponent, "sto-user-preference", never, {}, {}, never, ["*"]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoUserPreferenceComponent, "sto-user-preference", never, {}, {}, never, ["*"], false>;
|
|
16
16
|
}
|