@coolon/angular-ui-powerups 16.1.0-aplpha.120 → 16.1.0-aplpha.122
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/esm2022/lib/animations/slide-animations.mjs +14 -14
- package/esm2022/lib/components/disposable-component.mjs +5 -2
- package/esm2022/lib/components/forms/number-input/number-input.component.mjs +41 -5
- package/fesm2022/coolon-angular-ui-powerups.mjs +57 -18
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/disposable-component.d.ts +1 -0
- package/lib/components/forms/number-input/number-input.component.d.ts +10 -2
- package/package.json +2 -2
|
@@ -20,6 +20,7 @@ export declare class DisposableComponent extends GarbageCollector implements OnI
|
|
|
20
20
|
* @protected
|
|
21
21
|
*/
|
|
22
22
|
protected viewStateDependsOn(...models: HasValue<any>[]): void;
|
|
23
|
+
protected markForCheck(): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisposableComponent, never>;
|
|
24
25
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DisposableComponent, never, never, {}, {}, never, never, false, never>;
|
|
25
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command, ValueModel } from "@coolon/pectin";
|
|
1
|
+
import { Command, ValueModel, ValueModelChain } from "@coolon/pectin";
|
|
2
2
|
import { AbstractValueInputComponent } from '../abstract-value-input.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NumberInputComponent extends AbstractValueInputComponent<number> {
|
|
@@ -7,9 +7,17 @@ export declare class NumberInputComponent extends AbstractValueInputComponent<nu
|
|
|
7
7
|
accessor min: number;
|
|
8
8
|
accessor max$: ValueModel<number>;
|
|
9
9
|
accessor max: number;
|
|
10
|
+
accessor significantDigits$: ValueModel<number>;
|
|
11
|
+
accessor significantDigits: number;
|
|
10
12
|
protected readonly incrementCommand: Command<void>;
|
|
11
13
|
protected readonly decrementCommand: Command<void>;
|
|
14
|
+
protected readonly displayValue$: ValueModel<number>;
|
|
15
|
+
protected readonly step$: ValueModelChain<number>;
|
|
12
16
|
constructor();
|
|
17
|
+
private increment;
|
|
18
|
+
private decrement;
|
|
19
|
+
private clampSignificantDigits;
|
|
20
|
+
onValueChange(value: number): void;
|
|
13
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "aup-number-input", never, { "autocomplete": { "alias": "autocomplete"; "required": false; }; "min$": { "alias": "min$"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max$": { "alias": "max$"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "aup-number-input", never, { "autocomplete": { "alias": "autocomplete"; "required": false; }; "min$": { "alias": "min$"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max$": { "alias": "max$"; "required": false; }; "max": { "alias": "max"; "required": false; }; "significantDigits$": { "alias": "significantDigits$"; "required": false; }; "significantDigits": { "alias": "significantDigits"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "16.1.0-aplpha.
|
|
3
|
+
"version": "16.1.0-aplpha.122",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^16.2.9",
|
|
6
6
|
"@angular/common": "^16.2.9",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@angular/platform-browser-dynamic": "^16.2.9",
|
|
13
13
|
"@angular/material-moment-adapter": "^16.2.10",
|
|
14
14
|
"@angular/router": "^16.2.9",
|
|
15
|
-
"@coolon/pectin": "^5.0.0-alpha.
|
|
15
|
+
"@coolon/pectin": "^5.0.0-alpha.56",
|
|
16
16
|
"fast-typescript-memoize": "^1.1.1",
|
|
17
17
|
"lodash-es": "^4.17.21",
|
|
18
18
|
"marked": "4.0.10",
|