ngx-register-base 1.2.1 → 1.2.2
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/components/inputs/param-text/param-text.component.mjs +4 -9
- package/esm2022/lib/components/inputs/param-textarea/param-textarea.component.mjs +4 -8
- package/esm2022/lib/core/param/index.mjs +3 -1
- package/esm2022/lib/core/param/param-text-base.mjs +25 -0
- package/esm2022/lib/core/param/param.tokens.mjs +4 -0
- package/fesm2022/ngx-register-base.mjs +29 -14
- package/fesm2022/ngx-register-base.mjs.map +1 -1
- package/lib/components/inputs/param-text/param-text.component.d.ts +3 -8
- package/lib/components/inputs/param-textarea/param-textarea.component.d.ts +3 -7
- package/lib/core/param/index.d.ts +2 -0
- package/lib/core/param/param-text-base.d.ts +15 -0
- package/lib/core/param/param.tokens.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import { ParamBase } from '../../../core/param/param-base';
|
|
2
1
|
import { MaskitoOptions } from '@maskito/core';
|
|
2
|
+
import { ParamTextBase } from '../../../core/param';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ParamTextComponent extends
|
|
5
|
-
placeholder: import("@angular/core").InputSignal<string>;
|
|
6
|
-
buildShowedValue: import("@angular/core").InputSignal<(value: string | null) => string>;
|
|
7
|
-
stringifyText: import("@angular/core").InputSignal<(value: string) => string>;
|
|
4
|
+
export declare class ParamTextComponent extends ParamTextBase {
|
|
8
5
|
maskOptions: import("@angular/core").InputSignal<MaskitoOptions | null>;
|
|
9
6
|
/** сообщение об ошибке для текстового поля */
|
|
10
7
|
errorMessage: import("@angular/core").InputSignal<string>;
|
|
11
|
-
/** Максимальное кол-во символов */
|
|
12
|
-
maxLength: import("@angular/core").InputSignal<number>;
|
|
13
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ParamTextComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ParamTextComponent, "sproc-param-text", never, { "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ParamTextComponent, "sproc-param-text", never, { "maskOptions": { "alias": "maskOptions"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
10
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ParamTextBase } from '../../../core/param';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ParamTextareaComponent extends
|
|
4
|
-
placeholder: import("@angular/core").InputSignal<string>;
|
|
5
|
-
buildShowedValue: import("@angular/core").InputSignal<(value: string | null) => string>;
|
|
3
|
+
export declare class ParamTextareaComponent extends ParamTextBase {
|
|
6
4
|
/** Минимальное кол-во строк в инпуте */
|
|
7
5
|
min: import("@angular/core").InputSignal<number>;
|
|
8
6
|
/** Максимальное кол-во строк в инпуте */
|
|
9
7
|
max: import("@angular/core").InputSignal<number>;
|
|
10
|
-
/** Максимальное кол-во символов */
|
|
11
|
-
maxLength: import("@angular/core").InputSignal<number>;
|
|
12
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ParamTextareaComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ParamTextareaComponent, "sproc-param-textarea", never, { "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ParamTextareaComponent, "sproc-param-textarea", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
10
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ParamBase } from './param-base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class ParamTextBase extends ParamBase<string | null, string | null> {
|
|
4
|
+
private readonly _initMaxLength;
|
|
5
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
6
|
+
buildShowedValue: import("@angular/core").InputSignal<(value: string | null) => string>;
|
|
7
|
+
/**
|
|
8
|
+
* Максимальное кол-во символов
|
|
9
|
+
*
|
|
10
|
+
* @default 1000
|
|
11
|
+
* */
|
|
12
|
+
maxLength: import("@angular/core").InputSignal<number>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ParamTextBase, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ParamTextBase, never, never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "buildShowedValue": { "alias": "buildShowedValue"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
15
|
+
}
|