carriera-intern-components 0.0.991 → 0.0.992
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.
|
@@ -14,6 +14,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
14
14
|
inputRef: ElementRef<HTMLInputElement>;
|
|
15
15
|
containerRef: ElementRef<HTMLInputElement>;
|
|
16
16
|
dropdown: NgbPopover;
|
|
17
|
+
closeTooltip: NgbPopover;
|
|
17
18
|
PasswordDirective: PasswordDirective;
|
|
18
19
|
NumberFormatDirective: NumberFormatDirective;
|
|
19
20
|
MaskDirective: MaskDirective;
|
|
@@ -53,7 +54,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
53
54
|
- `reveal`: For password inputs, the number of characters to reveal from the end.
|
|
54
55
|
- `icon`: Name of an icon to display (e.g., `'cai-email'`).
|
|
55
56
|
- `iconColor`: Color of the displayed icon (e.g., `'#FF0000'`).
|
|
56
|
-
- `dropdown`: If `true`, the input is associated with a dropdown menu, can also have `'dispatch'`, `'ftl-dispatch'`, `'broker'`, `'contact'`, `'shipper'`, `'dispatcher'` or `'label'` variants.
|
|
57
|
+
- `dropdown`: If `true`, the input is associated with a dropdown menu, can also have `'dispatch'`, `'ftl-dispatch'`, `'broker'`, `'contact'`, `'shipper'`, `'dispatcher'`, `'truck'`, `'trailer'`, `'bank'` or `'label'` variants.
|
|
57
58
|
- `options`: An array of options for the dropdown can be of type `DropdownOption[]` | `LabelOption[]` | `DispatchBoard[]` | `Broker[]` | `DepartmentContactsPair[]` | `Shipper[]` | `Bank[]` | `Dispatcher[]`.
|
|
58
59
|
- `labelColors`: An array of label colors for the label picker.
|
|
59
60
|
- `search`: Enables search within the dropdown.
|
|
@@ -62,10 +63,12 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
62
63
|
- `errorBehavior`: Defines error animation (`'static'`, `'dynamic'`, `'floating'`).
|
|
63
64
|
- `label`: An `aria-label` for accessibility.
|
|
64
65
|
- `list`: If `true`, the input has no validation, no background and no separators for icons
|
|
66
|
+
- `inTable`: If `true`, has in-table styles
|
|
65
67
|
- `mask`: A pattern string for input masking (e.g., `'(000) 000-0000'`).
|
|
66
68
|
- `min`: Minimum value for number inputs.
|
|
67
69
|
- `max`: Maximum value for number inputs (e.g., `999` meaning 3 characters) or maximum length for text inputs in characters.
|
|
68
70
|
- `textTransform`: Text transformation for text inputs (`'capitalize'`, `'uppercase'`, `'lowercase'`).
|
|
71
|
+
- `textColor`: Text color for text inputs (`'positive'`).
|
|
69
72
|
- `step`: Step value for number inputs. Can also be `automatic` for automatic step calculation.
|
|
70
73
|
- `withButtons`: If `true`, adds increment/decrement buttons for number inputs.
|
|
71
74
|
- `autocomplete`: The HTML `autocomplete` attribute.
|
|
@@ -13,6 +13,7 @@ export interface CaiInputConfig {
|
|
|
13
13
|
add?: boolean;
|
|
14
14
|
subcontent?: string;
|
|
15
15
|
textTransform?: 'capitalize' | 'uppercase' | 'lowercase';
|
|
16
|
+
textColor?: 'positive';
|
|
16
17
|
placeholderBehavior?: 'dynamic' | 'fade' | 'static';
|
|
17
18
|
errorBehavior?: 'dynamic' | 'static' | 'floating';
|
|
18
19
|
label?: string;
|
|
@@ -24,6 +25,7 @@ export interface CaiInputConfig {
|
|
|
24
25
|
withButtons?: boolean;
|
|
25
26
|
autocomplete?: string;
|
|
26
27
|
list?: boolean;
|
|
28
|
+
inTable?: boolean;
|
|
27
29
|
disabled?: boolean;
|
|
28
30
|
passwordRequirements?: boolean;
|
|
29
31
|
optionValue?: string;
|