@ascentgl/ads-ui 22.10.0 → 22.11.1
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/package.json
CHANGED
|
@@ -1359,6 +1359,13 @@ declare class AdsInputComponent extends AbstractInputComponent implements OnInit
|
|
|
1359
1359
|
readOnly: boolean;
|
|
1360
1360
|
/** Show search icon */
|
|
1361
1361
|
showSearchIcon: boolean;
|
|
1362
|
+
/** Minimum allowed numeric value. When `type="number"`, sets the native `min` attribute
|
|
1363
|
+
* (limits spinner + browser validation) and blocks paste of values below it.
|
|
1364
|
+
* Also allows typing `-` when the min value is negative. */
|
|
1365
|
+
min?: number;
|
|
1366
|
+
/** Maximum allowed numeric value. When `type="number"`, sets the native `max` attribute
|
|
1367
|
+
* (limits spinner + browser validation) and blocks paste of values above it. */
|
|
1368
|
+
max?: number;
|
|
1362
1369
|
/** Custom function to execute on focus event */
|
|
1363
1370
|
onFocus: (event: FocusEvent) => void;
|
|
1364
1371
|
/** Custom function to execute on blur event */
|
|
@@ -1376,12 +1383,14 @@ declare class AdsInputComponent extends AbstractInputComponent implements OnInit
|
|
|
1376
1383
|
showHidePassword(): void;
|
|
1377
1384
|
/** @ignore */
|
|
1378
1385
|
restrictInput(event: KeyboardEvent): void;
|
|
1386
|
+
/** @ignore Prevents paste of values outside [min, max] or non-numeric text for number inputs. */
|
|
1387
|
+
handlePaste(event: ClipboardEvent): void;
|
|
1379
1388
|
/** @ignore — prevents focus on read-only inputs */
|
|
1380
1389
|
handleFocusInternal(event: FocusEvent): void;
|
|
1381
1390
|
/** @ignore Prevent scroll wheel from changing number input value */
|
|
1382
1391
|
preventScroll(event: WheelEvent): void;
|
|
1383
1392
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsInputComponent, never>;
|
|
1384
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputComponent, "ads-input", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "isPasswordField": { "alias": "isPasswordField"; "required": false; }; "showClockIcon": { "alias": "showClockIcon"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "outputTransformFn": { "alias": "outputTransformFn"; "required": false; }; "matAutocomplete": { "alias": "matAutocomplete"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "showSearchIcon": { "alias": "showSearchIcon"; "required": false; }; "onFocus": { "alias": "onFocus"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "rightHint": { "alias": "rightHint"; "required": false; }; }, {}, never, never, true, never>;
|
|
1393
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputComponent, "ads-input", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "isPasswordField": { "alias": "isPasswordField"; "required": false; }; "showClockIcon": { "alias": "showClockIcon"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "outputTransformFn": { "alias": "outputTransformFn"; "required": false; }; "matAutocomplete": { "alias": "matAutocomplete"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "showSearchIcon": { "alias": "showSearchIcon"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "onFocus": { "alias": "onFocus"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "rightHint": { "alias": "rightHint"; "required": false; }; }, {}, never, never, true, never>;
|
|
1385
1394
|
}
|
|
1386
1395
|
|
|
1387
1396
|
declare class AdsPhoneFieldComponent extends AbstractInputComponent implements OnInit, OnDestroy {
|
|
@@ -2702,7 +2711,7 @@ declare class AdsSortMenuComponent implements OnChanges, OnDestroy {
|
|
|
2702
2711
|
/** All column sort/filter configs (all possible columns) */
|
|
2703
2712
|
columnSortFilterConfigs: ColumnSortFilterConfig[];
|
|
2704
2713
|
/** Current column sort states from the table */
|
|
2705
|
-
columnSortStates: Map<string, "
|
|
2714
|
+
columnSortStates: Map<string, "asc" | "desc" | null>;
|
|
2706
2715
|
/** Emits when sort configuration changes (order or direction) */
|
|
2707
2716
|
sortChanged: EventEmitter<SortMenuChangeEvent>;
|
|
2708
2717
|
/** Emits when sorts are removed for columns */
|
|
@@ -2819,7 +2828,7 @@ declare class AdsTableComponent implements AfterViewInit, AfterViewChecked, OnCh
|
|
|
2819
2828
|
values: string[];
|
|
2820
2829
|
}>;
|
|
2821
2830
|
/** Event emitted when view mode changes between grid and list */
|
|
2822
|
-
viewChanged: EventEmitter<"
|
|
2831
|
+
viewChanged: EventEmitter<"grid" | "list">;
|
|
2823
2832
|
/** @ignore - Current view mode: grid or list */
|
|
2824
2833
|
isListView: i0.WritableSignal<boolean>;
|
|
2825
2834
|
/** @ignore - Cached filtered row data for list view */
|
|
@@ -2859,7 +2868,7 @@ declare class AdsTableComponent implements AfterViewInit, AfterViewChecked, OnCh
|
|
|
2859
2868
|
/** @ignore */
|
|
2860
2869
|
activeColumnMenu: i0.WritableSignal<string | null>;
|
|
2861
2870
|
/** @ignore */
|
|
2862
|
-
columnSortStates: i0.WritableSignal<Map<string, "
|
|
2871
|
+
columnSortStates: i0.WritableSignal<Map<string, "asc" | "desc" | null>>;
|
|
2863
2872
|
/** @ignore */
|
|
2864
2873
|
columnFilterStates: i0.WritableSignal<Map<string, string[]>>;
|
|
2865
2874
|
/** @ignore */
|