@ascentgl/ads-ui 21.108.0 → 21.108.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
|
@@ -140,7 +140,7 @@ declare class AdsNumericBadgeComponent extends AdsIconHoverComponent {
|
|
|
140
140
|
/** provide icon name. NOTE: the icon must be registered in icon registry **/
|
|
141
141
|
name: i0.InputSignal<adsIcon>;
|
|
142
142
|
/** choose ads icon theme **/
|
|
143
|
-
theme: i0.InputSignal<"
|
|
143
|
+
theme: i0.InputSignal<"primary" | "iconPrimary" | "success" | "warn" | "white">;
|
|
144
144
|
/** set badge value as number **/
|
|
145
145
|
value: i0.InputSignal<number>;
|
|
146
146
|
/** @ignore **/
|
|
@@ -216,7 +216,7 @@ declare class AdsButtonComponent {
|
|
|
216
216
|
/** Whether the button is a smaller version */
|
|
217
217
|
size: i0.InputSignal<Size>;
|
|
218
218
|
/** Sets the "type" attribute on the button */
|
|
219
|
-
type: i0.InputSignal<"
|
|
219
|
+
type: i0.InputSignal<"button" | "submit" | "reset">;
|
|
220
220
|
/** Makes the button take 100% width of its container */
|
|
221
221
|
fullWidth: i0.InputSignal<boolean>;
|
|
222
222
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonComponent, never>;
|
|
@@ -469,10 +469,6 @@ declare class AdsCreateTagComponent {
|
|
|
469
469
|
displayInput(): void;
|
|
470
470
|
/** @ignore — Validates the current form state: checks name length, color selection, and tag uniqueness */
|
|
471
471
|
isValueInvalid(): boolean;
|
|
472
|
-
/** @ignore */
|
|
473
|
-
onTagUpdated(tag: Tag): void;
|
|
474
|
-
/** @ignore */
|
|
475
|
-
onTagCreated(tag: Tag): void;
|
|
476
472
|
/** @ignore — Adds a suggestion to the tags list with a generated id, emits tagCreate,
|
|
477
473
|
* and optionally closes the overlay based on closeOnSelect. Does nothing if the tag limit is reached. */
|
|
478
474
|
onSuggestionSelect(suggestion: Tag): void;
|
|
@@ -484,16 +480,12 @@ declare class AdsCreateTagComponent {
|
|
|
484
480
|
contrastTextColor(color: string): string;
|
|
485
481
|
/** @ignore — Sets a random palette color as default when creating a new tag */
|
|
486
482
|
private setDefaultSelectedColor;
|
|
487
|
-
/** @ignore — Applies formatting rules to the tag name: alphanumeric filtering, lowercase, space normalization */
|
|
488
|
-
private formatTagName;
|
|
489
|
-
/** @ignore */
|
|
490
|
-
private trimString;
|
|
491
|
-
/** @ignore — Builds a comparison key for tag identity: case-insensitive name and color */
|
|
492
|
-
private tagKey;
|
|
493
483
|
/** @ignore — Appends a tag to the model signal and emits the tagCreate output */
|
|
494
484
|
private appendTag;
|
|
495
|
-
/** @ignore
|
|
496
|
-
private
|
|
485
|
+
/** @ignore */
|
|
486
|
+
private onTagUpdated;
|
|
487
|
+
/** @ignore */
|
|
488
|
+
private onTagCreated;
|
|
497
489
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsCreateTagComponent, never>;
|
|
498
490
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdsCreateTagComponent, "ads-create-tag", never, { "limit": { "alias": "limit"; "required": false; "isSignal": true; }; "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "maxSuggestions": { "alias": "maxSuggestions"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "lowercase": { "alias": "lowercase"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "alphanumeric": { "alias": "alphanumeric"; "required": false; "isSignal": true; }; }, { "tags": "tagsChange"; "tagCreate": "tagCreate"; "tagRemove": "tagRemove"; }, never, never, false, never>;
|
|
499
491
|
}
|
|
@@ -2814,7 +2806,7 @@ declare class AdsSortMenuComponent implements OnChanges, OnDestroy {
|
|
|
2814
2806
|
/** All column sort/filter configs (all possible columns) */
|
|
2815
2807
|
columnSortFilterConfigs: ColumnSortFilterConfig[];
|
|
2816
2808
|
/** Current column sort states from the table */
|
|
2817
|
-
columnSortStates: Map<string, "
|
|
2809
|
+
columnSortStates: Map<string, "desc" | "asc" | null>;
|
|
2818
2810
|
/** Emits when sort configuration changes (order or direction) */
|
|
2819
2811
|
sortChanged: EventEmitter<SortMenuChangeEvent>;
|
|
2820
2812
|
/** Emits when sorts are removed for columns */
|
|
@@ -3030,7 +3022,7 @@ declare class AdsTableComponent implements AfterViewInit, AfterViewChecked, OnCh
|
|
|
3030
3022
|
/** @ignore */
|
|
3031
3023
|
activeColumnMenu: i0.WritableSignal<string | null>;
|
|
3032
3024
|
/** @ignore */
|
|
3033
|
-
columnSortStates: i0.WritableSignal<Map<string, "
|
|
3025
|
+
columnSortStates: i0.WritableSignal<Map<string, "desc" | "asc" | null>>;
|
|
3034
3026
|
/** @ignore */
|
|
3035
3027
|
columnFilterStates: i0.WritableSignal<Map<string, string[]>>;
|
|
3036
3028
|
/** @ignore */
|