@ascentgl/ads-ui 21.130.0 → 21.131.0
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
|
@@ -262,7 +262,7 @@ declare class AdsButtonModule {
|
|
|
262
262
|
|
|
263
263
|
declare class AdsButtonContainerComponent {
|
|
264
264
|
/** How buttons in the container should be placed */
|
|
265
|
-
justify: i0.InputSignal<"
|
|
265
|
+
justify: i0.InputSignal<"flex-start" | "flex-end" | "center">;
|
|
266
266
|
/** The gap between elements */
|
|
267
267
|
gap: i0.InputSignal<number>;
|
|
268
268
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonContainerComponent, never>;
|
|
@@ -2724,7 +2724,7 @@ declare class AdsExpansionPanelComponent implements AfterContentInit {
|
|
|
2724
2724
|
/** Component width. Must include units of measure: px, %, em, rem, etc. */
|
|
2725
2725
|
width: i0.InputSignal<string>;
|
|
2726
2726
|
/** The Chevron Icon size () */
|
|
2727
|
-
chevronSize: i0.InputSignal<"
|
|
2727
|
+
chevronSize: i0.InputSignal<"base" | "xs">;
|
|
2728
2728
|
/** Header padding size () */
|
|
2729
2729
|
headerPadding: i0.InputSignal<string>;
|
|
2730
2730
|
/** Content padding size () */
|
|
@@ -2941,7 +2941,7 @@ declare class AdsSortMenuComponent implements OnChanges, OnDestroy {
|
|
|
2941
2941
|
/** All column sort/filter configs (all possible columns) */
|
|
2942
2942
|
columnSortFilterConfigs: ColumnSortFilterConfig[];
|
|
2943
2943
|
/** Current column sort states from the table */
|
|
2944
|
-
columnSortStates: Map<string, "
|
|
2944
|
+
columnSortStates: Map<string, "desc" | "asc" | null>;
|
|
2945
2945
|
/** Emits when sort configuration changes (order or direction) */
|
|
2946
2946
|
sortChanged: EventEmitter<SortMenuChangeEvent>;
|
|
2947
2947
|
/** Emits when sorts are removed for columns */
|
|
@@ -3124,7 +3124,7 @@ declare class AdsTableComponent implements AfterViewInit, AfterViewChecked, OnCh
|
|
|
3124
3124
|
values: string[];
|
|
3125
3125
|
}>;
|
|
3126
3126
|
/** Event emitted when view mode changes between grid and list */
|
|
3127
|
-
viewChanged: EventEmitter<"
|
|
3127
|
+
viewChanged: EventEmitter<"list" | "grid">;
|
|
3128
3128
|
/** @ignore - Current view mode: grid or list */
|
|
3129
3129
|
isListView: i0.WritableSignal<boolean>;
|
|
3130
3130
|
/** @ignore - Cached filtered row data for list view */
|
|
@@ -3164,7 +3164,7 @@ declare class AdsTableComponent implements AfterViewInit, AfterViewChecked, OnCh
|
|
|
3164
3164
|
/** @ignore */
|
|
3165
3165
|
activeColumnMenu: i0.WritableSignal<string | null>;
|
|
3166
3166
|
/** @ignore */
|
|
3167
|
-
columnSortStates: i0.WritableSignal<Map<string, "
|
|
3167
|
+
columnSortStates: i0.WritableSignal<Map<string, "desc" | "asc" | null>>;
|
|
3168
3168
|
/** @ignore */
|
|
3169
3169
|
columnFilterStates: i0.WritableSignal<Map<string, string[]>>;
|
|
3170
3170
|
/** @ignore */
|
|
@@ -4056,7 +4056,7 @@ declare class AdsHorizontalStepperComponent {
|
|
|
4056
4056
|
/**
|
|
4057
4057
|
* Stepper size
|
|
4058
4058
|
*/
|
|
4059
|
-
size: i0.InputSignal<"
|
|
4059
|
+
size: i0.InputSignal<"base" | "xs">;
|
|
4060
4060
|
/** @ignore */
|
|
4061
4061
|
protected isBaseSize: i0.Signal<boolean>;
|
|
4062
4062
|
/** Event emitted when a step is clicked */
|
|
@@ -4144,41 +4144,37 @@ type ShipmentHistoryGroup = {
|
|
|
4144
4144
|
events: ShipmentHistoryEvent[];
|
|
4145
4145
|
};
|
|
4146
4146
|
|
|
4147
|
-
type
|
|
4148
|
-
kind: 'separator';
|
|
4149
|
-
date: string;
|
|
4150
|
-
};
|
|
4151
|
-
type HistoryEventItem = {
|
|
4152
|
-
kind: 'event';
|
|
4147
|
+
type HistoryListItem = {
|
|
4153
4148
|
event: ShipmentHistoryEvent;
|
|
4154
4149
|
isLast: boolean;
|
|
4150
|
+
/** Set only for the first event in each group — renders the date header above the event row */
|
|
4151
|
+
dateHeader?: string;
|
|
4155
4152
|
};
|
|
4156
|
-
type HistoryListItem = HistorySeparatorItem | HistoryEventItem;
|
|
4157
4153
|
declare class AdsShipmentHistoryStepperComponent {
|
|
4158
4154
|
private registry;
|
|
4159
4155
|
/** @ignore */
|
|
4160
4156
|
constructor(registry: AdsIconRegistry);
|
|
4161
4157
|
/** Grouped history events, each group representing a single day */
|
|
4162
4158
|
groups: i0.InputSignal<ShipmentHistoryGroup[]>;
|
|
4159
|
+
/** Estimated item height in px used by the virtual scroll viewport */
|
|
4160
|
+
protected readonly ITEM_HEIGHT = 120;
|
|
4163
4161
|
/** @ignore */
|
|
4164
4162
|
protected readonly ShipmentHistoryAction: typeof ShipmentHistoryAction;
|
|
4165
4163
|
/** @ignore */
|
|
4166
4164
|
protected listItems: i0.Signal<HistoryListItem[]>;
|
|
4167
4165
|
/** @ignore */
|
|
4168
|
-
protected
|
|
4169
|
-
/** @ignore */
|
|
4170
|
-
protected isEvent(item: HistoryListItem): item is HistoryEventItem;
|
|
4166
|
+
protected trackItem(_index: number, item: HistoryListItem): string;
|
|
4171
4167
|
/** @ignore */
|
|
4172
4168
|
protected resolveTagColor(color: Colors | undefined): Colors;
|
|
4173
4169
|
/** @ignore */
|
|
4174
|
-
protected resolveIconName(action: ShipmentHistoryAction): 'pencil' | 'file_add' | 'cross';
|
|
4170
|
+
protected resolveIconName(action: ShipmentHistoryAction): 'pencil' | 'file_add' | 'cross' | 'canceled_shipment';
|
|
4175
4171
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsShipmentHistoryStepperComponent, never>;
|
|
4176
4172
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdsShipmentHistoryStepperComponent, "ads-shipment-history-stepper", never, { "groups": { "alias": "groups"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
4177
4173
|
}
|
|
4178
4174
|
|
|
4179
4175
|
declare class AdsShipmentHistoryStepperModule {
|
|
4180
4176
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsShipmentHistoryStepperModule, never>;
|
|
4181
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsShipmentHistoryStepperModule, [typeof AdsShipmentHistoryStepperComponent], [typeof i2.CommonModule, typeof i4.AdsIconModule, typeof AdsTagModule], [typeof AdsShipmentHistoryStepperComponent]>;
|
|
4177
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsShipmentHistoryStepperModule, [typeof AdsShipmentHistoryStepperComponent], [typeof i2.CommonModule, typeof i3$8.ScrollingModule, typeof i4.AdsIconModule, typeof AdsTagModule], [typeof AdsShipmentHistoryStepperComponent]>;
|
|
4182
4178
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsShipmentHistoryStepperModule>;
|
|
4183
4179
|
}
|
|
4184
4180
|
|