carriera-intern-components 0.0.992 → 0.0.994
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/app/components/input/directives/password.directive.d.ts +5 -1
- package/app/components/input/input.component.d.ts +3 -2
- package/app/components/input/models/input.model.d.ts +2 -1
- package/fesm2022/carriera-intern-components.mjs +70 -36
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public/assets/icons/general/cai-phone-extension.svg +3 -0
- package/public/assets/json/icons.json +4 -0
|
@@ -10,6 +10,10 @@ export declare class PasswordDirective implements OnInit {
|
|
|
10
10
|
* Input property to hide or show the password
|
|
11
11
|
*/
|
|
12
12
|
visible: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
/**
|
|
14
|
+
* Input property to specify the type of the password
|
|
15
|
+
*/
|
|
16
|
+
account: import("@angular/core").InputSignal<boolean>;
|
|
13
17
|
/**
|
|
14
18
|
* Input property to specify how many characters from the end of the
|
|
15
19
|
* password should be revealed. Defaults to 0 (fully masked).
|
|
@@ -90,5 +94,5 @@ export declare class PasswordDirective implements OnInit {
|
|
|
90
94
|
*/
|
|
91
95
|
setRealValue(value: string): void;
|
|
92
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordDirective, never>;
|
|
93
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordDirective, "[appPassword]", never, { "appPassword": { "alias": "appPassword"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "reveal": { "alias": "reveal"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
97
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordDirective, "[appPassword]", never, { "appPassword": { "alias": "appPassword"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "account": { "alias": "account"; "required": false; "isSignal": true; }; "reveal": { "alias": "reveal"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
94
98
|
}
|
|
@@ -46,7 +46,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
46
46
|
/**
|
|
47
47
|
* Configuration object for the input's behavior and appearance.
|
|
48
48
|
* It is provided by the parent component as an Angular `input()` signal.
|
|
49
|
-
- `type`: HTML input type (`'text'`, `'password'`, `'number'`).
|
|
49
|
+
- `type`: HTML input type (`'text'`, `'password'`, `'account'`, `'number'`).
|
|
50
50
|
- `name`: The HTML `name` attribute.
|
|
51
51
|
- `required`: If `true`, the input is required for form submission.
|
|
52
52
|
- `alignment`: Text alignment within the input (`'left'` or `'right'`).
|
|
@@ -79,6 +79,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
79
79
|
- `subContent`: An optional slot for additional content to be displayed next to the content the user is entering. (ex. lbs, months, etc.)
|
|
80
80
|
- `removable`: If `true`, displays `cai-delete` icon over clear button.
|
|
81
81
|
- `autofocus`: If `true`, the input will be focused when the component is initialized.
|
|
82
|
+
- `canOpenModal`: If `true`, the input can open a modal for adding new options.
|
|
82
83
|
*/
|
|
83
84
|
config: import("@angular/core").InputSignal<CaiInputConfig>;
|
|
84
85
|
/**
|
|
@@ -98,7 +99,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
98
99
|
*/
|
|
99
100
|
value: import("@angular/core").WritableSignal<string>;
|
|
100
101
|
/**
|
|
101
|
-
* Tracks the visibility state for inputs of `type='password'`.
|
|
102
|
+
* Tracks the visibility state for inputs of `type='password' and 'account'`.
|
|
102
103
|
*/
|
|
103
104
|
visible: import("@angular/core").WritableSignal<boolean>;
|
|
104
105
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Bank, Broker, Contact, DepartmentContactsPair, Dispatch, DispatchBoard, Dispatcher, DropdownOption, LabelOption, Shipper, TrailerOption, TruckOption } from './dropdown.model';
|
|
2
2
|
export interface CaiInputConfig {
|
|
3
|
-
type?: 'text' | 'password' | 'number';
|
|
3
|
+
type?: 'text' | 'password' | 'number' | 'account';
|
|
4
4
|
name?: string;
|
|
5
5
|
required?: boolean;
|
|
6
6
|
alignment?: 'left' | 'right';
|
|
@@ -28,6 +28,7 @@ export interface CaiInputConfig {
|
|
|
28
28
|
inTable?: boolean;
|
|
29
29
|
disabled?: boolean;
|
|
30
30
|
passwordRequirements?: boolean;
|
|
31
|
+
canOpenModal?: boolean;
|
|
31
32
|
optionValue?: string;
|
|
32
33
|
optionLabel?: string;
|
|
33
34
|
removable?: boolean;
|