@ethlete/components 1.0.0-next.79 → 1.0.0-next.80
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/CHANGELOG.md +26 -0
- package/design/anchored-dialog.ts +92 -0
- package/design/button.ts +13 -1
- package/design/config.json +6 -1
- package/design/dialog.ts +5 -3
- package/design/form-field.ts +3 -0
- package/design/menu.ts +8 -4
- package/design/notification.ts +8 -4
- package/design/sdk/components/accordion/accordion.ts +5 -1
- package/design/sdk/components/anchored-dialog/anchored-dialog.css +63 -0
- package/design/sdk/components/anchored-dialog/anchored-dialog.ts +65 -0
- package/design/sdk/components/avatar/avatar.ts +3 -2
- package/design/sdk/components/badge/badge.ts +2 -1
- package/design/sdk/components/banner/banner.ts +2 -1
- package/design/sdk/components/bracket/bracket.ts +2 -1
- package/design/sdk/components/breadcrumb/breadcrumb.ts +2 -1
- package/design/sdk/components/button/button.css +11 -3
- package/design/sdk/components/button/button.ts +11 -2
- package/design/sdk/components/calendar/calendar.ts +2 -1
- package/design/sdk/components/card/card.ts +2 -1
- package/design/sdk/components/carousel/carousel.ts +2 -1
- package/design/sdk/components/chart/chart.ts +2 -1
- package/design/sdk/components/checkbox/checkbox.css +65 -0
- package/design/sdk/components/checkbox/checkbox.ts +180 -0
- package/design/sdk/components/chip/chip.ts +2 -1
- package/design/sdk/components/copy-button/copy-button.ts +2 -1
- package/design/sdk/components/description-list/description-list.ts +2 -1
- package/design/sdk/components/dialog/dialog.ts +2 -1
- package/design/sdk/components/divider/divider.ts +2 -1
- package/design/sdk/components/empty-state/empty-state.ts +2 -1
- package/design/sdk/components/grid/grid.ts +3 -2
- package/design/sdk/components/input/input.ts +2 -1
- package/design/sdk/components/kbd/kbd.ts +2 -1
- package/design/sdk/components/loader/loader.ts +2 -1
- package/design/sdk/components/masonry/masonry.ts +3 -2
- package/design/sdk/components/match/match.ts +2 -1
- package/design/sdk/components/menu/menu.ts +19 -7
- package/design/sdk/components/notification/notification.ts +2 -1
- package/design/sdk/components/otp-input/otp-input.ts +2 -1
- package/design/sdk/components/pagination/pagination.ts +2 -1
- package/design/sdk/components/picture/picture.ts +2 -1
- package/design/sdk/components/progress-steps/progress-steps.ts +2 -1
- package/design/sdk/components/query-error/query-error.ts +2 -1
- package/design/sdk/components/radio-group/radio-group.css +46 -0
- package/design/sdk/components/radio-group/radio-group.ts +167 -0
- package/design/sdk/components/scheduler/scheduler.ts +2 -1
- package/design/sdk/components/scrollable/scrollable.ts +2 -2
- package/design/sdk/components/scrollbar/scrollbar.ts +2 -1
- package/design/sdk/components/select/shared/select-part.ts +9 -2
- package/design/sdk/components/select-panel/select-panel.ts +2 -1
- package/design/sdk/components/skeleton/skeleton.ts +2 -1
- package/design/sdk/components/slider/slider.ts +2 -1
- package/design/sdk/components/standings/standings.ts +2 -1
- package/design/sdk/components/stat-tile/stat-tile.ts +2 -1
- package/design/sdk/components/stream/stream.ts +6 -1
- package/design/sdk/components/switch/switch.css +4 -2
- package/design/sdk/components/switch/switch.ts +2 -2
- package/design/sdk/components/table/table.ts +2 -1
- package/design/sdk/components/textarea/textarea.ts +4 -3
- package/design/sdk/components/timeline/timeline.ts +2 -2
- package/design/sdk/components/toolbar/toolbar.ts +2 -1
- package/design/sdk/foundations/colors/colors.css +16 -0
- package/design/sdk/foundations/colors/colors.ts +1 -1
- package/design/sdk/foundations/colors/shared/contrast.ts +1 -1
- package/design/sdk/pictures.json +1183 -0
- package/design/select.ts +5 -4
- package/design/textarea.ts +2 -0
- package/design/tooltip.ts +5 -5
- package/fesm2022/ethlete-components.mjs +1147 -957
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/generators/generators.json +2 -0
- package/package.json +1 -1
- package/src/lib/button/button-properties-styles.component.css +6 -6
- package/src/lib/button/button.component.css +11 -7
- package/src/lib/button/button.types.ts +33 -0
- package/src/lib/button/icon-button.component.css +3 -3
- package/src/lib/button/window-control-button.component.css +43 -3
- package/src/lib/calendar/calendar.component.css +2 -2
- package/src/lib/chip/chip.component.css +4 -4
- package/src/lib/forms/switch/switch.component.css +1 -14
- package/src/lib/kbd/kbd.component.css +1 -1
- package/src/lib/menu/menu.component.css +2 -2
- package/src/lib/notification/notification.component.css +3 -3
- package/types/ethlete-components.d.ts +146 -127
|
@@ -3930,6 +3930,8 @@ export declare class ButtonComponent {
|
|
|
3930
3930
|
variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
3931
3931
|
size: import("@angular/core").InputSignal<ButtonSize>;
|
|
3932
3932
|
iconAlignment: import("@angular/core").InputSignal<ButtonIconAlignment>;
|
|
3933
|
+
/** Lets the projected contents fill the space beside the icon, e.g. to push a trailing element to the far edge. */
|
|
3934
|
+
stretchContents: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3933
3935
|
canAnimate: {
|
|
3934
3936
|
state: import("@angular/core").Signal<boolean>;
|
|
3935
3937
|
};
|
|
@@ -3955,6 +3957,11 @@ export declare class ButtonComponent {
|
|
|
3955
3957
|
"required": false;
|
|
3956
3958
|
"isSignal": true;
|
|
3957
3959
|
};
|
|
3960
|
+
"stretchContents": {
|
|
3961
|
+
"alias": "stretchContents";
|
|
3962
|
+
"required": false;
|
|
3963
|
+
"isSignal": true;
|
|
3964
|
+
};
|
|
3958
3965
|
}, {}, never, ["*", "[etIcon]"], true, [{
|
|
3959
3966
|
directive: typeof ButtonDirective;
|
|
3960
3967
|
inputs: {
|
|
@@ -4175,10 +4182,17 @@ export declare const WINDOW_CONTROL_BUTTON_KINDS: {
|
|
|
4175
4182
|
readonly CLOSE: "close";
|
|
4176
4183
|
};
|
|
4177
4184
|
export type WindowControlButtonKind = (typeof WINDOW_CONTROL_BUTTON_KINDS)[keyof typeof WINDOW_CONTROL_BUTTON_KINDS];
|
|
4185
|
+
export declare const WINDOW_CONTROL_BUTTON_SHAPES: {
|
|
4186
|
+
readonly SQUARE: "square";
|
|
4187
|
+
readonly ROUND: "round";
|
|
4188
|
+
};
|
|
4189
|
+
export type WindowControlButtonShape = (typeof WINDOW_CONTROL_BUTTON_SHAPES)[keyof typeof WINDOW_CONTROL_BUTTON_SHAPES];
|
|
4178
4190
|
export declare class WindowControlButtonComponent {
|
|
4179
4191
|
protected buttonDir: ButtonDirective;
|
|
4180
4192
|
size: import("@angular/core").InputSignal<WindowControlButtonSize>;
|
|
4181
4193
|
kind: import("@angular/core").InputSignal<WindowControlButtonKind>;
|
|
4194
|
+
/** `square` is a Windows-style tile with a red close hover; `round` is a GNOME (Adwaita) style circle. */
|
|
4195
|
+
shape: import("@angular/core").InputSignal<WindowControlButtonShape>;
|
|
4182
4196
|
canAnimate: {
|
|
4183
4197
|
state: import("@angular/core").Signal<boolean>;
|
|
4184
4198
|
};
|
|
@@ -4198,6 +4212,11 @@ export declare class WindowControlButtonComponent {
|
|
|
4198
4212
|
"required": false;
|
|
4199
4213
|
"isSignal": true;
|
|
4200
4214
|
};
|
|
4215
|
+
"shape": {
|
|
4216
|
+
"alias": "shape";
|
|
4217
|
+
"required": false;
|
|
4218
|
+
"isSignal": true;
|
|
4219
|
+
};
|
|
4201
4220
|
}, {}, never, ["*"], true, [{
|
|
4202
4221
|
directive: typeof ButtonDirective;
|
|
4203
4222
|
inputs: {
|
|
@@ -6427,11 +6446,6 @@ export declare class TooltipDirective {
|
|
|
6427
6446
|
* leave. A press anywhere else is unambiguous, so treat it as a dismissal.
|
|
6428
6447
|
*/
|
|
6429
6448
|
private dismissOnOutsidePointer;
|
|
6430
|
-
/**
|
|
6431
|
-
* Escape is consumed here rather than left to the runtime: a shown tooltip counts as the topmost
|
|
6432
|
-
* overlay, so a dialog beneath it would otherwise ignore the key - and a hover-shown tooltip has no
|
|
6433
|
-
* focused host for a host listener to catch it on.
|
|
6434
|
-
*/
|
|
6435
6449
|
private dismissOnEscape;
|
|
6436
6450
|
private setupFocusBehavior;
|
|
6437
6451
|
private syncHostDescription;
|
|
@@ -7045,6 +7059,8 @@ export declare class PieChartComponent {
|
|
|
7045
7059
|
outputs: {};
|
|
7046
7060
|
}]>;
|
|
7047
7061
|
}
|
|
7062
|
+
/** Which way the flow runs: left to right in columns, or top to bottom in rows. */
|
|
7063
|
+
export type SankeyChartDirection = 'horizontal' | 'vertical';
|
|
7048
7064
|
/** Where a keyboard-focused link sits among its source's outgoing links. `position` counts from 1. */
|
|
7049
7065
|
export type SankeyChartLinkKeyHintContext = {
|
|
7050
7066
|
position: number;
|
|
@@ -7127,8 +7143,6 @@ export type SankeyChartLinkInput = {
|
|
|
7127
7143
|
};
|
|
7128
7144
|
/** Formats a value for the tooltips and the table. */
|
|
7129
7145
|
export type SankeyChartValueFormatter = ChartValueFormatter;
|
|
7130
|
-
/** Which way the flow runs: left to right in columns, or top to bottom in rows. */
|
|
7131
|
-
export type SankeyChartDirection = 'horizontal' | 'vertical';
|
|
7132
7146
|
/** Where a node's label sits along the flow: before the node (first column), after it, or on a chip centred on it (large middle-column nodes). */
|
|
7133
7147
|
export type SankeyChartLabelSide = 'start' | 'end' | 'center';
|
|
7134
7148
|
/** A node with its geometry in plot pixels, ready to render. */
|
|
@@ -17350,6 +17364,7 @@ export declare class MenuItemDirective {
|
|
|
17350
17364
|
private pointerInside;
|
|
17351
17365
|
protected role: Signal<string>;
|
|
17352
17366
|
protected isActive: Signal<boolean>;
|
|
17367
|
+
protected activeSource: Signal<"pointer" | "keyboard" | null>;
|
|
17353
17368
|
protected isHighlightHeld: Signal<boolean>;
|
|
17354
17369
|
protected tabIndex: Signal<-1 | 0>;
|
|
17355
17370
|
constructor();
|
|
@@ -17359,6 +17374,7 @@ export declare class MenuItemDirective {
|
|
|
17359
17374
|
protected handlePointerMove(event: PointerEvent): void;
|
|
17360
17375
|
protected handlePointerLeave(): void;
|
|
17361
17376
|
protected handleFocus(): void;
|
|
17377
|
+
private keyboardTookOver;
|
|
17362
17378
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemDirective, never>;
|
|
17363
17379
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuItemDirective, "[etMenuItem]", ["etMenuItem"], {
|
|
17364
17380
|
"disabled": {
|
|
@@ -19320,6 +19336,7 @@ export declare class SelectDirective<TValue = unknown> extends FieldStateControl
|
|
|
19320
19336
|
virtualizedItems: Signal<SelectItem[]>;
|
|
19321
19337
|
private pendingActiveScrollItem;
|
|
19322
19338
|
private anchorBoxAtPointerMove;
|
|
19339
|
+
private openSource;
|
|
19323
19340
|
/** True once `maxSelection` is reached (multi select) - further adds are ignored. */
|
|
19324
19341
|
isFull: Signal<boolean>;
|
|
19325
19342
|
/**
|
|
@@ -19380,6 +19397,7 @@ export declare class SelectDirective<TValue = unknown> extends FieldStateControl
|
|
|
19380
19397
|
* single mode. Returns whether the value was committed.
|
|
19381
19398
|
*/
|
|
19382
19399
|
commitCustomValue(raw: string): boolean;
|
|
19400
|
+
private showFromKeyboard;
|
|
19383
19401
|
private toggleMultiValue;
|
|
19384
19402
|
private handleMultiSelectShortcut;
|
|
19385
19403
|
private toggleVisibleSelection;
|
|
@@ -19406,6 +19424,7 @@ export declare class SelectDirective<TValue = unknown> extends FieldStateControl
|
|
|
19406
19424
|
private resolveAnchorElement;
|
|
19407
19425
|
private handleFrameClick;
|
|
19408
19426
|
private handlePanelMounted;
|
|
19427
|
+
private handleMousePointerMove;
|
|
19409
19428
|
private handlePanelBeforeClosed;
|
|
19410
19429
|
private handlePanelKeydown;
|
|
19411
19430
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectDirective<any>, never>;
|
|
@@ -19727,34 +19746,6 @@ export declare class SelectOptionDirective {
|
|
|
19727
19746
|
};
|
|
19728
19747
|
}, {}, never, never, true, never>;
|
|
19729
19748
|
}
|
|
19730
|
-
/** Config for {@link selectOptionsFromQuery}. */
|
|
19731
|
-
export type SelectOptionsFromQueryConfig<TCreator extends AnyQueryCreator, TOption> = {
|
|
19732
|
-
/**
|
|
19733
|
-
* The query creator to run (e.g. from `createGetQuery`). Its pages run on a paged query stack that
|
|
19734
|
-
* restarts when the debounced search query changes - never per keystroke.
|
|
19735
|
-
*/
|
|
19736
|
-
queryCreator: TCreator;
|
|
19737
|
-
/**
|
|
19738
|
-
* Builds the request args from the debounced search query and the current `page`. Return `null`
|
|
19739
|
-
* to skip a request (e.g. for an empty query) - `options` is empty while skipped.
|
|
19740
|
-
*/
|
|
19741
|
-
args: (query: Signal<string>, page: Signal<number>) => RequestArgs<QueryArgsOf<TCreator>> | null;
|
|
19742
|
-
/**
|
|
19743
|
-
* Maps a successful response to the option slice for the **current page**. The factory appends
|
|
19744
|
-
* each page's slice to the accumulated `options` (and resets when the query changes).
|
|
19745
|
-
*/
|
|
19746
|
-
toOptions: (response: ResponseType<QueryArgsOf<TCreator>>) => TOption[];
|
|
19747
|
-
/** Derives whether more pages exist from the latest page's response - drives `hasMoreItems` and gates `loadMore()`. */
|
|
19748
|
-
toHasMore?: (response: ResponseType<QueryArgsOf<TCreator>>) => boolean;
|
|
19749
|
-
/** Turns a query failure into the select's error text. Defaults to the first error message, else `SELECT_LABELS.error`. */
|
|
19750
|
-
toErrorMessage?: (error: QueryErrorResponse) => string;
|
|
19751
|
-
/** Minimum query length before requests run. @default 0 */
|
|
19752
|
-
minQueryLength?: number;
|
|
19753
|
-
/** Debounce applied to the query before it reaches `args`, in ms. @default 300 */
|
|
19754
|
-
debounceTime?: number;
|
|
19755
|
-
/** The page `args` receives on first load and after each query change. @default 1 */
|
|
19756
|
-
initialPage?: number;
|
|
19757
|
-
};
|
|
19758
19749
|
export type SelectOptionsFromQuery<TOption> = {
|
|
19759
19750
|
/** The mapped options - render them with an `@for` of `et-select-option`s (`filterMode="external"`). */
|
|
19760
19751
|
options: Signal<TOption[]>;
|
|
@@ -19774,38 +19765,6 @@ export type SelectOptionsFromQuery<TOption> = {
|
|
|
19774
19765
|
*/
|
|
19775
19766
|
loadMore: () => void;
|
|
19776
19767
|
};
|
|
19777
|
-
/**
|
|
19778
|
-
* Feeds a select's options from an `@ethlete/query` query as the user searches. It takes the
|
|
19779
|
-
* `queryCreator` plus a reactive `args` builder and runs them on a `createPagedQueryStack`: the stack
|
|
19780
|
-
* restarts at `initialPage` as the (debounced) search query changes. Bind the returned bundle with
|
|
19781
|
-
* `[etSelectOptions]` - it wires the async state and the query/load-more plumbing - and render
|
|
19782
|
-
* `options` yourself:
|
|
19783
|
-
*
|
|
19784
|
-
* ```ts
|
|
19785
|
-
* users = selectOptionsFromQuery({
|
|
19786
|
-
* queryCreator: searchUsers,
|
|
19787
|
-
* args: (query, page) => (query() ? { queryParams: { q: query(), page: page() } } : null),
|
|
19788
|
-
* toOptions: (res) => res.items,
|
|
19789
|
-
* toHasMore: (res) => res.page < res.totalPages,
|
|
19790
|
-
* });
|
|
19791
|
-
* ```
|
|
19792
|
-
*
|
|
19793
|
-
* ```html
|
|
19794
|
-
* <et-select [formField]="form.assignee" [etSelectOptions]="users">
|
|
19795
|
-
* <input etSelectSearch placeholder="Search users" />
|
|
19796
|
-
* @for (user of users.options(); track user.id) {
|
|
19797
|
-
* <et-select-option [value]="user.id">{{ user.name }}</et-select-option>
|
|
19798
|
-
* }
|
|
19799
|
-
* </et-select>
|
|
19800
|
-
* ```
|
|
19801
|
-
*
|
|
19802
|
-
* To intercept a single binding, wire `loading`, `loadError`, `hasMoreItems`, `queryChange`, `loadMore` and
|
|
19803
|
-
* `filterMode="external"` by hand instead - see the select guide's async options section.
|
|
19804
|
-
*
|
|
19805
|
-
* Call it from a field initializer / constructor (injection context), the same place you'd create
|
|
19806
|
-
* a query or a query stack.
|
|
19807
|
-
*/
|
|
19808
|
-
export declare const selectOptionsFromQuery: <TCreator extends AnyQueryCreator, TOption>(config: SelectOptionsFromQueryConfig<TCreator, TOption>) => SelectOptionsFromQuery<TOption>;
|
|
19809
19768
|
/**
|
|
19810
19769
|
* Wires an async options bundle - the return value of `selectOptionsFromQuery` or
|
|
19811
19770
|
* `selectOptionsFromV2Query` - into a select with a single binding, replacing the manual
|
|
@@ -20095,6 +20054,66 @@ export declare class SelectOptionComponent {
|
|
|
20095
20054
|
outputs: {};
|
|
20096
20055
|
}]>;
|
|
20097
20056
|
}
|
|
20057
|
+
/** Config for {@link selectOptionsFromQuery}. */
|
|
20058
|
+
export type SelectOptionsFromQueryConfig<TCreator extends AnyQueryCreator, TOption> = {
|
|
20059
|
+
/**
|
|
20060
|
+
* The query creator to run (e.g. from `createGetQuery`). Its pages run on a paged query stack that
|
|
20061
|
+
* restarts when the debounced search query changes - never per keystroke.
|
|
20062
|
+
*/
|
|
20063
|
+
queryCreator: TCreator;
|
|
20064
|
+
/**
|
|
20065
|
+
* Builds the request args from the debounced search query and the current `page`. Return `null`
|
|
20066
|
+
* to skip a request (e.g. for an empty query) - `options` is empty while skipped.
|
|
20067
|
+
*/
|
|
20068
|
+
args: (query: Signal<string>, page: Signal<number>) => RequestArgs<QueryArgsOf<TCreator>> | null;
|
|
20069
|
+
/**
|
|
20070
|
+
* Maps a successful response to the option slice for the **current page**. The factory appends
|
|
20071
|
+
* each page's slice to the accumulated `options` (and resets when the query changes).
|
|
20072
|
+
*/
|
|
20073
|
+
toOptions: (response: ResponseType<QueryArgsOf<TCreator>>) => TOption[];
|
|
20074
|
+
/** Derives whether more pages exist from the latest page's response - drives `hasMoreItems` and gates `loadMore()`. */
|
|
20075
|
+
toHasMore?: (response: ResponseType<QueryArgsOf<TCreator>>) => boolean;
|
|
20076
|
+
/** Turns a query failure into the select's error text. Defaults to the first error message, else `SELECT_LABELS.error`. */
|
|
20077
|
+
toErrorMessage?: (error: QueryErrorResponse) => string;
|
|
20078
|
+
/** Minimum query length before requests run. @default 0 */
|
|
20079
|
+
minQueryLength?: number;
|
|
20080
|
+
/** Debounce applied to the query before it reaches `args`, in ms. @default 300 */
|
|
20081
|
+
debounceTime?: number;
|
|
20082
|
+
/** The page `args` receives on first load and after each query change. @default 1 */
|
|
20083
|
+
initialPage?: number;
|
|
20084
|
+
};
|
|
20085
|
+
/**
|
|
20086
|
+
* Feeds a select's options from an `@ethlete/query` query as the user searches. It takes the
|
|
20087
|
+
* `queryCreator` plus a reactive `args` builder and runs them on a `createPagedQueryStack`: the stack
|
|
20088
|
+
* restarts at `initialPage` as the (debounced) search query changes. Bind the returned bundle with
|
|
20089
|
+
* `[etSelectOptions]` - it wires the async state and the query/load-more plumbing - and render
|
|
20090
|
+
* `options` yourself:
|
|
20091
|
+
*
|
|
20092
|
+
* ```ts
|
|
20093
|
+
* users = selectOptionsFromQuery({
|
|
20094
|
+
* queryCreator: searchUsers,
|
|
20095
|
+
* args: (query, page) => (query() ? { queryParams: { q: query(), page: page() } } : null),
|
|
20096
|
+
* toOptions: (res) => res.items,
|
|
20097
|
+
* toHasMore: (res) => res.page < res.totalPages,
|
|
20098
|
+
* });
|
|
20099
|
+
* ```
|
|
20100
|
+
*
|
|
20101
|
+
* ```html
|
|
20102
|
+
* <et-select [formField]="form.assignee" [etSelectOptions]="users">
|
|
20103
|
+
* <input etSelectSearch placeholder="Search users" />
|
|
20104
|
+
* @for (user of users.options(); track user.id) {
|
|
20105
|
+
* <et-select-option [value]="user.id">{{ user.name }}</et-select-option>
|
|
20106
|
+
* }
|
|
20107
|
+
* </et-select>
|
|
20108
|
+
* ```
|
|
20109
|
+
*
|
|
20110
|
+
* To intercept a single binding, wire `loading`, `loadError`, `hasMoreItems`, `queryChange`, `loadMore` and
|
|
20111
|
+
* `filterMode="external"` by hand instead - see the select guide's async options section.
|
|
20112
|
+
*
|
|
20113
|
+
* Call it from a field initializer / constructor (injection context), the same place you'd create
|
|
20114
|
+
* a query or a query stack.
|
|
20115
|
+
*/
|
|
20116
|
+
export declare const selectOptionsFromQuery: <TCreator extends AnyQueryCreator, TOption>(config: SelectOptionsFromQueryConfig<TCreator, TOption>) => SelectOptionsFromQuery<TOption>;
|
|
20098
20117
|
/** The args accepted by the creator's `prepare()` - includes `mock`/`config` extras. */
|
|
20099
20118
|
export type V2PrepareArgsOf<TCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator> = Parameters<TCreator['prepare']>[0];
|
|
20100
20119
|
/** Config for {@link selectOptionsFromV2Query}. */
|
|
@@ -35055,6 +35074,65 @@ export declare class TimelineComponent {
|
|
|
35055
35074
|
}
|
|
35056
35075
|
export declare const TIMELINE_IMPORTS: readonly [typeof TimelineComponent, typeof TimelineItemComponent];
|
|
35057
35076
|
export type ToggletipContent = string | TemplateRef<unknown>;
|
|
35077
|
+
export declare class ToggletipComponent {
|
|
35078
|
+
private ownColorProvider;
|
|
35079
|
+
private triggerColorProvider;
|
|
35080
|
+
protected injector: Injector;
|
|
35081
|
+
toggletipId: import("@angular/core").InputSignal<string>;
|
|
35082
|
+
protected contentId: import("@angular/core").InputSignal<string>;
|
|
35083
|
+
content: import("@angular/core").InputSignal<ToggletipContent>;
|
|
35084
|
+
colorProvider: import("@angular/core").InputSignal<ProvideColorDirective | null>;
|
|
35085
|
+
hasTemplate: import("@angular/core").Signal<boolean>;
|
|
35086
|
+
contentText: import("@angular/core").Signal<string | null>;
|
|
35087
|
+
contentTemplate: import("@angular/core").Signal<TemplateRef<unknown> | null>;
|
|
35088
|
+
constructor();
|
|
35089
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggletipComponent, never>;
|
|
35090
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggletipComponent, "et-toggletip", never, {
|
|
35091
|
+
"toggletipId": {
|
|
35092
|
+
"alias": "toggletipId";
|
|
35093
|
+
"required": true;
|
|
35094
|
+
"isSignal": true;
|
|
35095
|
+
};
|
|
35096
|
+
"contentId": {
|
|
35097
|
+
"alias": "contentId";
|
|
35098
|
+
"required": true;
|
|
35099
|
+
"isSignal": true;
|
|
35100
|
+
};
|
|
35101
|
+
"content": {
|
|
35102
|
+
"alias": "content";
|
|
35103
|
+
"required": true;
|
|
35104
|
+
"isSignal": true;
|
|
35105
|
+
};
|
|
35106
|
+
"colorProvider": {
|
|
35107
|
+
"alias": "colorProvider";
|
|
35108
|
+
"required": true;
|
|
35109
|
+
"isSignal": true;
|
|
35110
|
+
};
|
|
35111
|
+
}, {}, never, never, true, [{
|
|
35112
|
+
directive: typeof i1$1.ProvideColorDirective;
|
|
35113
|
+
inputs: {};
|
|
35114
|
+
outputs: {};
|
|
35115
|
+
}, {
|
|
35116
|
+
directive: typeof i1$1.AutoSurfaceDirective;
|
|
35117
|
+
inputs: {};
|
|
35118
|
+
outputs: {};
|
|
35119
|
+
}]>;
|
|
35120
|
+
}
|
|
35121
|
+
export declare class ToggletipCloseDirective {
|
|
35122
|
+
protected overlayRef: OverlayRef<ToggletipComponent, unknown>;
|
|
35123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggletipCloseDirective, never>;
|
|
35124
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToggletipCloseDirective, "[etToggletipClose]", never, {}, {}, never, never, true, never>;
|
|
35125
|
+
}
|
|
35126
|
+
export declare class ToggletipTriggerDirective {
|
|
35127
|
+
private button;
|
|
35128
|
+
private destroyRef;
|
|
35129
|
+
private elementRef;
|
|
35130
|
+
private toggletip;
|
|
35131
|
+
constructor();
|
|
35132
|
+
isOpen(): boolean;
|
|
35133
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggletipTriggerDirective, never>;
|
|
35134
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToggletipTriggerDirective, "[etToggletipTrigger]", ["etToggletipTrigger"], {}, {}, never, never, true, never>;
|
|
35135
|
+
}
|
|
35058
35136
|
export declare class ToggletipDirective {
|
|
35059
35137
|
private destroyRef;
|
|
35060
35138
|
private reportError;
|
|
@@ -35150,65 +35228,6 @@ export declare class ToggletipDirective {
|
|
|
35150
35228
|
"open": "etToggletipOpenChange";
|
|
35151
35229
|
}, never, never, true, never>;
|
|
35152
35230
|
}
|
|
35153
|
-
export declare class ToggletipComponent {
|
|
35154
|
-
private ownColorProvider;
|
|
35155
|
-
private triggerColorProvider;
|
|
35156
|
-
protected injector: Injector;
|
|
35157
|
-
toggletipId: import("@angular/core").InputSignal<string>;
|
|
35158
|
-
protected contentId: import("@angular/core").InputSignal<string>;
|
|
35159
|
-
content: import("@angular/core").InputSignal<ToggletipContent>;
|
|
35160
|
-
colorProvider: import("@angular/core").InputSignal<ProvideColorDirective | null>;
|
|
35161
|
-
hasTemplate: import("@angular/core").Signal<boolean>;
|
|
35162
|
-
contentText: import("@angular/core").Signal<string | null>;
|
|
35163
|
-
contentTemplate: import("@angular/core").Signal<TemplateRef<unknown> | null>;
|
|
35164
|
-
constructor();
|
|
35165
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToggletipComponent, never>;
|
|
35166
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggletipComponent, "et-toggletip", never, {
|
|
35167
|
-
"toggletipId": {
|
|
35168
|
-
"alias": "toggletipId";
|
|
35169
|
-
"required": true;
|
|
35170
|
-
"isSignal": true;
|
|
35171
|
-
};
|
|
35172
|
-
"contentId": {
|
|
35173
|
-
"alias": "contentId";
|
|
35174
|
-
"required": true;
|
|
35175
|
-
"isSignal": true;
|
|
35176
|
-
};
|
|
35177
|
-
"content": {
|
|
35178
|
-
"alias": "content";
|
|
35179
|
-
"required": true;
|
|
35180
|
-
"isSignal": true;
|
|
35181
|
-
};
|
|
35182
|
-
"colorProvider": {
|
|
35183
|
-
"alias": "colorProvider";
|
|
35184
|
-
"required": true;
|
|
35185
|
-
"isSignal": true;
|
|
35186
|
-
};
|
|
35187
|
-
}, {}, never, never, true, [{
|
|
35188
|
-
directive: typeof i1$1.ProvideColorDirective;
|
|
35189
|
-
inputs: {};
|
|
35190
|
-
outputs: {};
|
|
35191
|
-
}, {
|
|
35192
|
-
directive: typeof i1$1.AutoSurfaceDirective;
|
|
35193
|
-
inputs: {};
|
|
35194
|
-
outputs: {};
|
|
35195
|
-
}]>;
|
|
35196
|
-
}
|
|
35197
|
-
export declare class ToggletipCloseDirective {
|
|
35198
|
-
protected overlayRef: OverlayRef<ToggletipComponent, unknown>;
|
|
35199
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToggletipCloseDirective, never>;
|
|
35200
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ToggletipCloseDirective, "[etToggletipClose]", never, {}, {}, never, never, true, never>;
|
|
35201
|
-
}
|
|
35202
|
-
export declare class ToggletipTriggerDirective {
|
|
35203
|
-
private button;
|
|
35204
|
-
private destroyRef;
|
|
35205
|
-
private elementRef;
|
|
35206
|
-
private toggletip;
|
|
35207
|
-
constructor();
|
|
35208
|
-
isOpen(): boolean;
|
|
35209
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToggletipTriggerDirective, never>;
|
|
35210
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ToggletipTriggerDirective, "[etToggletipTrigger]", ["etToggletipTrigger"], {}, {}, never, never, true, never>;
|
|
35211
|
-
}
|
|
35212
35231
|
export declare const TOGGLETIP_ERROR_CODES: {
|
|
35213
35232
|
readonly TEMPLATE_TOGGLETIP_REQUIRES_LABEL: 1500;
|
|
35214
35233
|
readonly TRIGGER_REQUIRES_BUTTON: 1501;
|
|
@@ -35788,5 +35807,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
|
|
|
35788
35807
|
export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
|
|
35789
35808
|
export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
|
|
35790
35809
|
/** The version of `@ethlete/components` this build was cut from. */
|
|
35791
|
-
export declare const COMPONENTS_VERSION = "1.0.0-next.
|
|
35810
|
+
export declare const COMPONENTS_VERSION = "1.0.0-next.80";
|
|
35792
35811
|
export { type AppointmentTreeNode, BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SWISS_GROUP_COLOR_TYPE, type Bracket, type BracketByeSlotSource, type BracketComponents, type BracketContinueComponent, type BracketDataLayout, type BracketDataSource, type BracketDrawing, type BracketEdge, type BracketExternalSlotSource, type BracketGradient, type BracketGradientStop, BracketMap, type BracketMatch, type BracketMatchComponent, type BracketMatchFactor, type BracketMatchId, type BracketMatchOutcomeSlotSource, type BracketMatchParticipant, type BracketMatchPosition, type BracketMatchRelation, type BracketMatchRelationNone, type BracketMatchRelationNothingToOne, type BracketMatchRelationOneToNothing, type BracketMatchRelationOneToOne, type BracketMatchRelationTwoToNothing, type BracketMatchRelationTwoToOne, type BracketMatchShortId, type BracketMatchSlot, type BracketMatchSource, type BracketMatchStatus, type BracketParticipant, type BracketParticipantMatch, type BracketPickMigration, type BracketPickMigrationOptions, type BracketPickSet, type BracketRect, type BracketRound, type BracketRoundHeaderComponent, type BracketRoundId, type BracketRoundMapWithSwissData, type BracketRoundMirrorType, type BracketRoundPosition, type BracketRoundRelation, type BracketRoundRelationNone, type BracketRoundRelationNothingToOne, type BracketRoundRelationOneToNothing, type BracketRoundRelationOneToOne, type BracketRoundRelationTwoToNothing, type BracketRoundRelationTwoToOne, type BracketRoundShortId, type BracketRoundSource, type BracketRoundSwissData, type BracketRoundSwissGroup, type BracketRoundSwissGroupId, type BracketRoundSwissGroupMap, type BracketRoundType, BracketRuntimeError, type BracketSeedSlotSource, type BracketSlotResolutionPolicy, type BracketSlotSource, type BracketSlotSourceKind, type BracketStandingRankSide, type BracketStandingRankSlotSource, type BracketSwissBucketSlotSource, type BracketSwissColors, type BracketSwissGroupColorType, type BracketWarning, COMMON_BRACKET_ROUND_TYPE, type CalendarBandPosition, type CalendarInterval, type CalendarPrecision, type CalendarSelectionFlags, type CalendarView, type CalendarWeekStartsOn, type CascaderCompareWith, type CascaderDataSource, type CascaderNode, type CommonBracketRoundType, type ComputedBracketGrid, type CreateBracketGridConfig, type CreateBracketOptions, type CreateGridAdapterOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, type DateRangeSide, type DateRangeSide as TimeRangeInputSide, type DateRangeValue, type DateRangeValue as DateTimeRangeValue, type DateRangeValue as TimeRangeValue, type DoubleEliminationBracketRoundType, type DurationFormatSpec, type DurationSegment, type DurationUnit, GROUP_BRACKET_ROUND_TYPE, type GridAdapter, type GridAdapterBreakpoints, type GridConfig, type GroupBracketRoundType, type MatchParticipantId, type MatchParticipantShortId, type MatchParticipantSide, type ParticipantMatchResult, type PlaceholderBracketShape, type RichTextEditorHeadingLevel, type RichTextEditorImageFailure, type RichTextEditorImageFailureReason, type RichTextEditorImageUpload, type RichTextEditorImageUploadContext, type RichTextEditorImageUploadFn, type RichTextEditorTokenChip, type RichTextEditorTokenCodec, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, type SchedulerAgendaDay, type SchedulerMonthDayCell, type SchedulerTimeGridAllDayEntry, type SchedulerTimeGridBlock, type SchedulerTimeGridDay, type SchedulerTimeGridSegment, type ScrollableActiveChildRef, type ScrollableButtonPosition, type ScrollableButtonsConfig, type ScrollableChrome, type ScrollableChromeSlot, type ScrollableDirection, type ScrollableIntersectionChange, type ScrollableItemSize, type ScrollableLoadingTemplatePosition, type ScrollableLoadingTemplateRef, type ScrollableMaskVariant, type ScrollableNavigation, type ScrollableNavigationConfig, type ScrollableNavigationItem, type ScrollableScrollMode, type ScrollableScrollOrigin, type ScrollableScrollState, type ScrollbarGeometry, type ScrollbarOrientation, type ScrollbarTarget, type SerializeOptions, type SingleEliminationBracketRoundType, type StandingPick, type StandingPickOutcome, type SwissBracketRoundType, TOURNAMENT_MODE, type TournamentMode, bracketSlot, createBracket, createPlaceholderBracketSource, injectRichTextEditorTools, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource };
|