@kms-ngx-ui/presentational 20.1.13 → 20.1.15
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/index.d.ts
CHANGED
|
@@ -931,6 +931,7 @@ declare enum FieldType {
|
|
|
931
931
|
SLIDE_TOGGLE = "slideToggle",
|
|
932
932
|
MULTI_SELECT = "multiSelect",
|
|
933
933
|
COLOR = "color",
|
|
934
|
+
COUNTER = "counter",
|
|
934
935
|
MONTH_PICKER = "monthPicker",
|
|
935
936
|
TEMPLATE = "template",
|
|
936
937
|
OFFSET = "offset"
|
|
@@ -968,12 +969,16 @@ interface AutocompleteFieldOptions {
|
|
|
968
969
|
minChars?: number;
|
|
969
970
|
selectFirst?: boolean;
|
|
970
971
|
}
|
|
971
|
-
/** Options for FieldType.NUMBER —
|
|
972
|
+
/** Options for FieldType.NUMBER — numeric text input. */
|
|
972
973
|
interface NumberFieldOptions {
|
|
973
974
|
min?: number;
|
|
974
975
|
max?: number;
|
|
976
|
+
}
|
|
977
|
+
/** Options for FieldType.COUNTER — passed to `kms-numeric-input`. */
|
|
978
|
+
interface CounterFieldOptions {
|
|
979
|
+
min?: number;
|
|
980
|
+
max?: number;
|
|
975
981
|
step?: number;
|
|
976
|
-
decimalPlaces?: number;
|
|
977
982
|
}
|
|
978
983
|
/** Options for FieldType.DATE and FieldType.MONTH_PICKER. */
|
|
979
984
|
interface DateFieldOptions {
|
|
@@ -1010,7 +1015,7 @@ interface PasswordFieldOptions {
|
|
|
1010
1015
|
withStrength?: boolean;
|
|
1011
1016
|
}
|
|
1012
1017
|
/** Union of all type-specific option interfaces. Assign the one matching your FieldType. */
|
|
1013
|
-
type FieldTypeOptions = SelectFieldOptions | AutocompleteFieldOptions | NumberFieldOptions | DateFieldOptions | DateRangeFieldOptions | TimeFieldOptions | RadioGroupFieldOptions | TextareaFieldOptions | PasswordFieldOptions;
|
|
1018
|
+
type FieldTypeOptions = SelectFieldOptions | AutocompleteFieldOptions | NumberFieldOptions | CounterFieldOptions | DateFieldOptions | DateRangeFieldOptions | TimeFieldOptions | RadioGroupFieldOptions | TextareaFieldOptions | PasswordFieldOptions;
|
|
1014
1019
|
|
|
1015
1020
|
/** Form layout mode. Currently only GRID is implemented. */
|
|
1016
1021
|
declare enum FormLayout {
|
|
@@ -1172,6 +1177,7 @@ declare class FormFieldComponent {
|
|
|
1172
1177
|
isNativeType: _angular_core.Signal<boolean>;
|
|
1173
1178
|
isGroupType: _angular_core.Signal<boolean>;
|
|
1174
1179
|
isTextInputType: _angular_core.Signal<boolean>;
|
|
1180
|
+
isNumberInputType: _angular_core.Signal<boolean>;
|
|
1175
1181
|
isDateType: _angular_core.Signal<boolean>;
|
|
1176
1182
|
dateMode: _angular_core.Signal<"date" | "range">;
|
|
1177
1183
|
isMonthPicker: _angular_core.Signal<boolean>;
|
|
@@ -1227,7 +1233,7 @@ declare class DynamicFieldDirective implements OnDestroy {
|
|
|
1227
1233
|
private mapSelectBehaviour;
|
|
1228
1234
|
private mapPrefixSuffix;
|
|
1229
1235
|
private mapPassword;
|
|
1230
|
-
private
|
|
1236
|
+
private mapCounter;
|
|
1231
1237
|
private trySetInput;
|
|
1232
1238
|
private teardown;
|
|
1233
1239
|
ngOnDestroy(): void;
|
|
@@ -1247,6 +1253,7 @@ declare class TextInputComponent implements ControlValueAccessor {
|
|
|
1247
1253
|
autocomplete: _angular_core.InputSignal<string>;
|
|
1248
1254
|
prefix: _angular_core.InputSignal<string>;
|
|
1249
1255
|
suffix: _angular_core.InputSignal<string>;
|
|
1256
|
+
numericOnly: _angular_core.InputSignal<boolean>;
|
|
1250
1257
|
prefixIcon: _angular_core.InputSignal<string>;
|
|
1251
1258
|
suffixIcon: _angular_core.InputSignal<string>;
|
|
1252
1259
|
IconSizePx: typeof IconSizePx;
|
|
@@ -1267,7 +1274,7 @@ declare class TextInputComponent implements ControlValueAccessor {
|
|
|
1267
1274
|
registerOnTouched(fn: () => void): void;
|
|
1268
1275
|
setDisabledState(isDisabled: boolean): void;
|
|
1269
1276
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextInputComponent, never>;
|
|
1270
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextInputComponent, "kms-text-input", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
1277
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextInputComponent, "kms-text-input", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "numericOnly": { "alias": "numericOnly"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
1271
1278
|
}
|
|
1272
1279
|
|
|
1273
1280
|
/**
|
|
@@ -1818,4 +1825,4 @@ declare class FieldRegistryService {
|
|
|
1818
1825
|
}
|
|
1819
1826
|
|
|
1820
1827
|
export { BackToTopComponent, Breakpoint, ButtonAppearance, ButtonComponent, ButtonResponseType, CardComponent, CheckboxComponent, Color, ColorInputComponent, ConfirmationDialogComponent, CustomPipesModule, DateInputComponent, DirectivesModule, DropdownFromDataComponent, DynamicFieldDirective, EnumRadiogroupComponent, FieldRegistryService, FieldType, FileInputComponent, FlyoutComponent, FormActionsComponent, FormFieldComponent, FormLayout, FormParentComponent, FormSectionComponent, GenericFormComponent, GenericFormModule, GenericFormService, GetMaxHeightDirective, IconComponent, IconSizePx, IconSizesArr, ImageSliderComponent, ImageSnippet$1 as ImageSnippet, ImageSourceType$1 as ImageSourceType, IntegerCurrency, KMSAccordionItemComponent, KeyValuePair, KmsUiPresentationalComponent, KmsUiPresentationalModule, KmsUiPresentationalService, LabelValuePair, LoaderComponent, MapComponent, Marker, MarkerLabel, MarkerOptions, NumericInputComponent, PasswordComponent, RadioButtonComponent, RadioButtonSize, RadioGroupComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SalutationDropdownComponent, SalutationEnum, SalutationRadiogroupComponent, SanitizeNullPipe, SimpleBreakpoint, SlideToggleComponent, SliderComponent, StylingTheme, SwipeDirective, TextInputComponent, TextValuePair, TextValuePairArray, TimeDirective, TimeInputComponent, TooltipDirective, TooltipIconComponent, TrimPipe, TypeofPipe, ViewportService, WindowDimensions, YesNoRadiogroupComponent, noSpecialCharsOnly, noWhitespaceOnly };
|
|
1821
|
-
export type { AsyncValidatorConfig, AutocompleteFieldOptions, DateFieldOptions, DateRangeFieldOptions, DateRangeValue, DialogConfig, DialogData, DisabledConfig, ErrorDisplayConfig, ErrorDisplayStrategy, FieldAffixConfig, FieldConfig, FieldTypeOptions, FormActionsConfig, FormSectionConfig, GenericFormConfig, GenericFormState, GridAlign, GridVerticalAlign, NullAble, NumberFieldOptions, PasswordFieldOptions, RadioGroupFieldOptions, RadiobuttonInterface, SelectFieldOptions, SelectTranslation, TextareaFieldOptions, TimeFieldOptions, ValidatorConfig };
|
|
1828
|
+
export type { AsyncValidatorConfig, AutocompleteFieldOptions, CounterFieldOptions, DateFieldOptions, DateRangeFieldOptions, DateRangeValue, DialogConfig, DialogData, DisabledConfig, ErrorDisplayConfig, ErrorDisplayStrategy, FieldAffixConfig, FieldConfig, FieldTypeOptions, FormActionsConfig, FormSectionConfig, GenericFormConfig, GenericFormState, GridAlign, GridVerticalAlign, NullAble, NumberFieldOptions, PasswordFieldOptions, RadioGroupFieldOptions, RadiobuttonInterface, SelectFieldOptions, SelectTranslation, TextareaFieldOptions, TimeFieldOptions, ValidatorConfig };
|