@camaradesuk/m3e-angular 0.2.0-alpha.13 → 0.2.0-alpha.14

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camaradesuk/m3e-angular",
3
- "version": "0.2.0-alpha.13",
3
+ "version": "0.2.0-alpha.14",
4
4
  "description": "Angular Material Expressive is a library that provides a set of components and styles for Angular Material based on the latest Material Design 3 Expressive Design System.",
5
5
  "keywords": [
6
6
  "angular",
@@ -11,6 +11,7 @@ import { FocusOrigin } from '@angular/cdk/a11y';
11
11
  import { Menu } from '@angular/aria/menu';
12
12
  import * as i1$1 from '@angular/material/core';
13
13
  import { ConnectedPosition, GlobalPositionStrategy } from '@angular/cdk/overlay';
14
+ import { MatPaginatorIntl, MatPaginator } from '@angular/material/paginator';
14
15
  import { ComponentPortal, ComponentType } from '@angular/cdk/portal';
15
16
  import { MatDialogConfig, MatDialogState, DialogPosition } from '@angular/material/dialog';
16
17
  import * as rxjs from 'rxjs';
@@ -2544,6 +2545,13 @@ declare class MatExpSelect<T = string> implements ControlValueAccessor {
2544
2545
  readonly options: _angular_core.InputSignal<readonly MatExpSelectOption<T>[]>;
2545
2546
  readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
2546
2547
  readonly label: _angular_core.InputSignal<string>;
2548
+ /** Use a 40px, content-width field for dense toolbars and table footers. */
2549
+ readonly compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
2550
+ /**
2551
+ * Id of an external element that names this select. When set, no visible label is
2552
+ * rendered, `label` is ignored, and the trigger and listbox reference this id.
2553
+ */
2554
+ readonly ariaLabelledby: _angular_core.InputSignalWithTransform<string | null, string | null | undefined>;
2547
2555
  readonly placeholder: _angular_core.InputSignal<string>;
2548
2556
  readonly emptyLabel: _angular_core.InputSignal<string>;
2549
2557
  readonly color: _angular_core.InputSignal<MatExpMenuColor>;
@@ -2584,6 +2592,7 @@ declare class MatExpSelect<T = string> implements ControlValueAccessor {
2584
2592
  private readonly _trigger;
2585
2593
  private readonly _originElement;
2586
2594
  protected readonly _popupWidth: _angular_core.Signal<number>;
2595
+ protected readonly _overlayWidth: _angular_core.Signal<number>;
2587
2596
  private readonly _panel;
2588
2597
  private readonly _surface;
2589
2598
  private readonly _listbox;
@@ -2624,7 +2633,102 @@ declare class MatExpSelect<T = string> implements ControlValueAccessor {
2624
2633
  private _scrollActiveIntoView;
2625
2634
  private _commit;
2626
2635
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MatExpSelect<any>, never>;
2627
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatExpSelect<any>, "mat-exp-select", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "motion": { "alias": "motion"; "required": false; "isSignal": true; }; "popupMotion": { "alias": "popupMotion"; "required": false; "isSignal": true; }; "rtl": { "alias": "rtl"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "selectionChange": "selectionChange"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
2636
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatExpSelect<any>, "mat-exp-select", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "motion": { "alias": "motion"; "required": false; "isSignal": true; }; "popupMotion": { "alias": "popupMotion"; "required": false; "isSignal": true; }; "rtl": { "alias": "rtl"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "selectionChange": "selectionChange"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
2637
+ }
2638
+
2639
+ /**
2640
+ * Wording for `MatExpPaginator`. Provide your own instance (globally or on a component) to
2641
+ * translate or reword M3E paginators; providing only Material's `MatPaginatorIntl` does not
2642
+ * affect them. Numbers are formatted for the app's `LOCALE_ID`.
2643
+ */
2644
+ declare class MatExpPaginatorIntl extends MatPaginatorIntl {
2645
+ /** @internal */
2646
+ private readonly _locale;
2647
+ /**
2648
+ * Text beside the page-size field, which also names it.
2649
+ * @default 'Rows per page'
2650
+ */
2651
+ itemsPerPageLabel: string;
2652
+ /**
2653
+ * Accessible name for a paginator without its own `aria-label`.
2654
+ * @default 'Pagination'
2655
+ */
2656
+ paginationLabel: string;
2657
+ /** Visible range, such as `1–10 of 248` (closed en dash, locale-grouped numbers). */
2658
+ getRangeLabel: (page: number, pageSize: number, length: number) => string;
2659
+ /** Range as announced by screen readers, such as `1 to 10 of 248`. */
2660
+ getRangeAnnouncement(page: number, pageSize: number, length: number): string;
2661
+ /** Second line shown when the list is filtered, such as `filtered from 1,204`. */
2662
+ getFilteredLabel(unfilteredLength: number): string;
2663
+ /**
2664
+ * Material's default range maths with M3E punctuation and number formatting.
2665
+ * @internal
2666
+ */
2667
+ private _range;
2668
+ /** @internal */
2669
+ private _format;
2670
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MatExpPaginatorIntl, never>;
2671
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
2672
+ }
2673
+
2674
+ /** Navigation target of a paginator button. */
2675
+ type MatExpPaginatorTarget = 'first' | 'previous' | 'next' | 'last';
2676
+ /**
2677
+ * Material 3 Expressive paginator. A drop-in replacement for `mat-paginator`: it extends
2678
+ * `MatPaginator`, so `MatTableDataSource`, `@ViewChild(MatPaginator)`, the inputs and the `page`
2679
+ * event work unchanged. `color` and `selectConfig` are inherited but have no effect. Wording comes
2680
+ * from `MatExpPaginatorIntl`, not Material's `MatPaginatorIntl`.
2681
+ */
2682
+ declare class MatExpPaginator extends MatPaginator {
2683
+ /**
2684
+ * Total number of items before filtering. When set and different from `length`, a
2685
+ * "filtered from N" line is shown under the range and announced with it.
2686
+ * @default null
2687
+ */
2688
+ readonly unfilteredLength: _angular_core.InputSignalWithTransform<number | null, unknown>;
2689
+ /**
2690
+ * Accessible name of the paginator group. Name each paginator after its table, such as
2691
+ * "Studies pagination"; without one, `MatExpPaginatorIntl.paginationLabel` is used.
2692
+ * @default null
2693
+ */
2694
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
2695
+ /**
2696
+ * The same instance as the inherited `_intl`: this component's providers alias
2697
+ * `MatPaginatorIntl` to `MatExpPaginatorIntl`, typed here for the M3E-only members.
2698
+ * @internal
2699
+ */
2700
+ protected readonly _labels: MatExpPaginatorIntl;
2701
+ /** @internal */
2702
+ private readonly _locale;
2703
+ /** @internal */
2704
+ protected _filteredFrom(): number | null;
2705
+ /** @internal */
2706
+ protected _announcement(): string;
2707
+ /** @internal */
2708
+ protected _formatSize(value: number): string;
2709
+ /** @internal */
2710
+ private _sizeOptionsCache;
2711
+ /**
2712
+ * Page sizes shown in the select: Material's displayed options, which include a `pageSize`
2713
+ * missing from `pageSizeOptions`. Material recomputes them in a private method and marks for
2714
+ * check, so they are derived here and memoised to keep the select's input stable.
2715
+ * @internal
2716
+ */
2717
+ protected _sizeOptions(): readonly MatExpSelectOption<number>[];
2718
+ /** @internal */
2719
+ protected _onPageSize(value: unknown): void;
2720
+ /** @internal */
2721
+ protected _prevDisabled(): boolean;
2722
+ /** @internal */
2723
+ protected _nextDisabled(): boolean;
2724
+ /**
2725
+ * Buttons use `disabledInteractive`, so clicks still arrive while disabled; Material's
2726
+ * `_buttonClicked` ignores them.
2727
+ * @internal
2728
+ */
2729
+ protected _go(target: MatExpPaginatorTarget): void;
2730
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MatExpPaginator, never>;
2731
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatExpPaginator, "mat-exp-paginator", ["matExpPaginator"], { "unfilteredLength": { "alias": "unfilteredLength"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2628
2732
  }
2629
2733
 
2630
2734
  /** @internal Uses CDK's documented custom-container extension points. */
@@ -2859,5 +2963,5 @@ declare class MatExpDialogClose {
2859
2963
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MatExpDialogClose, "[matExpDialogClose]", ["matExpDialogClose"], { "result": { "alias": "matExpDialogClose"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2860
2964
  }
2861
2965
 
2862
- export { ButtonAdapter, IconButtonAdapter, MAT_EXP_BUTTON_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP, MAT_EXP_BUTTON_GROUP_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP_OPTIONS, MAT_EXP_BUTTON_GROUP_VALUE_ACCESSOR, MAT_EXP_BUTTON_OPTIONS, MAT_EXP_DIALOG_OPTIONS, MAT_EXP_FAB_MENU_OPTIONS, MAT_EXP_ICON_BUTTON_DEFAULT_OPTIONS, MAT_EXP_ICON_BUTTON_OPTIONS, MAT_EXP_LIST_DEFAULT_OPTIONS, MAT_EXP_LIST_OPTIONS, MAT_EXP_LOADING_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_LOADING_INDICATOR_OPTIONS, MAT_EXP_LOADING_INDICATOR_SHAPES, MAT_EXP_LOADING_INDICATOR_VIEW_BOX, MAT_EXP_MENU_DEFAULT_OPTIONS, MAT_EXP_MENU_OPTIONS, MAT_EXP_MENU_SURFACE, MAT_EXP_NAVIGATION_RAIL_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_OPTIONS, MAT_EXP_RICH_TOOLTIP_DEFAULT_OPTIONS, MAT_EXP_RICH_TOOLTIP_OPTIONS, MAT_EXP_SEARCH_DEFAULT_OPTIONS, MAT_EXP_SEARCH_OPTIONS, MAT_EXP_SPLIT_BUTTON_DEFAULT_OPTIONS, MAT_EXP_SPLIT_BUTTON_OPTIONS, MAT_EXP_STEPPER_OPTIONS, MAT_EXP_TOOLBAR_OPTIONS, MatExpAutocomplete, MatExpButton, MatExpButtonGroup, MatExpDialog, MatExpDialogActions, MatExpDialogClose, MatExpDialogLayout, MatExpDialogRef, MatExpFabMenu, MatExpFabMenuButton, MatExpFabMenuTrigger, MatExpIconButton, MatExpList, MatExpListItem, MatExpListMediaDirective, MatExpLoadingIndicator, MatExpMenu, MatExpMenuContent, MatExpMenuContextTrigger, MatExpMenuItemDirective, MatExpMenuItemTemplate, MatExpMenuTrigger, MatExpNavigationRail, MatExpNavigationRailGroup, MatExpNavigationRailItem, MatExpNavigationRailSection, MatExpProgressIndicator, MatExpRichTooltip, MatExpRichTooltipTrigger, MatExpSearch, MatExpSearchResult, MatExpSelect, MatExpSelectableButtonChange, MatExpSplitButton, MatExpStep, MatExpStepper, MatExpToolbar, MatExpToolbarItem, bindButtonGroupChildren, injectMatExpButtonGroupOptions, injectMatExpButtonOptions, injectMatExpFabMenuOptions, injectMatExpIconButtonOptions, injectMatExpLoadingIndicatorOptions, injectMatExpMenuOptions, injectMatExpProgressIndicatorOptions, injectMatExpRichTooltipOptions, injectMatExpSearchOptions, injectMatExpSplitButtonOptions, provideMatExpButtonGroupOptions, provideMatExpButtonOptions, provideMatExpDialogOptions, provideMatExpFabMenuOptions, provideMatExpIconButtonOptions, provideMatExpListOptions, provideMatExpLoadingIndicatorOptions, provideMatExpMenuOptions, provideMatExpNavigationRailOptions, provideMatExpProgressIndicatorOptions, provideMatExpRichTooltipOptions, provideMatExpSearchOptions, provideMatExpSplitButtonOptions, provideMatExpStepperOptions, provideMatExpToolbarOptions, toButtonGroupChild };
2966
+ export { ButtonAdapter, IconButtonAdapter, MAT_EXP_BUTTON_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP, MAT_EXP_BUTTON_GROUP_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP_OPTIONS, MAT_EXP_BUTTON_GROUP_VALUE_ACCESSOR, MAT_EXP_BUTTON_OPTIONS, MAT_EXP_DIALOG_OPTIONS, MAT_EXP_FAB_MENU_OPTIONS, MAT_EXP_ICON_BUTTON_DEFAULT_OPTIONS, MAT_EXP_ICON_BUTTON_OPTIONS, MAT_EXP_LIST_DEFAULT_OPTIONS, MAT_EXP_LIST_OPTIONS, MAT_EXP_LOADING_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_LOADING_INDICATOR_OPTIONS, MAT_EXP_LOADING_INDICATOR_SHAPES, MAT_EXP_LOADING_INDICATOR_VIEW_BOX, MAT_EXP_MENU_DEFAULT_OPTIONS, MAT_EXP_MENU_OPTIONS, MAT_EXP_MENU_SURFACE, MAT_EXP_NAVIGATION_RAIL_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_OPTIONS, MAT_EXP_RICH_TOOLTIP_DEFAULT_OPTIONS, MAT_EXP_RICH_TOOLTIP_OPTIONS, MAT_EXP_SEARCH_DEFAULT_OPTIONS, MAT_EXP_SEARCH_OPTIONS, MAT_EXP_SPLIT_BUTTON_DEFAULT_OPTIONS, MAT_EXP_SPLIT_BUTTON_OPTIONS, MAT_EXP_STEPPER_OPTIONS, MAT_EXP_TOOLBAR_OPTIONS, MatExpAutocomplete, MatExpButton, MatExpButtonGroup, MatExpDialog, MatExpDialogActions, MatExpDialogClose, MatExpDialogLayout, MatExpDialogRef, MatExpFabMenu, MatExpFabMenuButton, MatExpFabMenuTrigger, MatExpIconButton, MatExpList, MatExpListItem, MatExpListMediaDirective, MatExpLoadingIndicator, MatExpMenu, MatExpMenuContent, MatExpMenuContextTrigger, MatExpMenuItemDirective, MatExpMenuItemTemplate, MatExpMenuTrigger, MatExpNavigationRail, MatExpNavigationRailGroup, MatExpNavigationRailItem, MatExpNavigationRailSection, MatExpPaginator, MatExpPaginatorIntl, MatExpProgressIndicator, MatExpRichTooltip, MatExpRichTooltipTrigger, MatExpSearch, MatExpSearchResult, MatExpSelect, MatExpSelectableButtonChange, MatExpSplitButton, MatExpStep, MatExpStepper, MatExpToolbar, MatExpToolbarItem, bindButtonGroupChildren, injectMatExpButtonGroupOptions, injectMatExpButtonOptions, injectMatExpFabMenuOptions, injectMatExpIconButtonOptions, injectMatExpLoadingIndicatorOptions, injectMatExpMenuOptions, injectMatExpProgressIndicatorOptions, injectMatExpRichTooltipOptions, injectMatExpSearchOptions, injectMatExpSplitButtonOptions, provideMatExpButtonGroupOptions, provideMatExpButtonOptions, provideMatExpDialogOptions, provideMatExpFabMenuOptions, provideMatExpIconButtonOptions, provideMatExpListOptions, provideMatExpLoadingIndicatorOptions, provideMatExpMenuOptions, provideMatExpNavigationRailOptions, provideMatExpProgressIndicatorOptions, provideMatExpRichTooltipOptions, provideMatExpSearchOptions, provideMatExpSplitButtonOptions, provideMatExpStepperOptions, provideMatExpToolbarOptions, toButtonGroupChild };
2863
2967
  export type { ButtonGroupChild, ButtonGroupChildBroadcastConfig, MatExpAutocompleteFilterMotion, MatExpButtonGroupAppearance, MatExpButtonGroupOptions, MatExpButtonGroupSelection, MatExpButtonGroupSelectionMultiSelect, MatExpButtonGroupSelectionSingleSelect, MatExpButtonGroupSemantics, MatExpButtonGroupShape, MatExpButtonGroupSize, MatExpButtonGroupVariant, MatExpButtonGroupVariantConnected, MatExpButtonGroupVariantStandard, MatExpButtonOptions, MatExpButtonShape, MatExpButtonShapeRound, MatExpButtonShapeSquare, MatExpButtonSize, MatExpButtonSizeL, MatExpButtonSizeM, MatExpButtonSizeS, MatExpButtonSizeXL, MatExpButtonSizeXS, MatExpButtonState, MatExpButtonStateActive, MatExpButtonStateDisabled, MatExpButtonStateFocused, MatExpButtonStateHovered, MatExpButtonStatePressed, MatExpButtonToggle, MatExpButtonToggleSelected, MatExpButtonToggleUnselected, MatExpDialogCloseButton, MatExpDialogCompactActions, MatExpDialogConfig, MatExpDialogConfirmationConfig, MatExpDialogMode, MatExpDialogMotion, MatExpDialogOptions, MatExpFabColor, MatExpFabMenuColor, MatExpFabMenuOptions, MatExpFabMenuTriggerColor, MatExpIconButtonAppearance, MatExpIconButtonOptions, MatExpIconButtonWidth, MatExpIconButtonWidthDefault, MatExpIconButtonWidthNarrow, MatExpIconButtonWidthWide, MatExpListAppearance, MatExpListMedia, MatExpListOptions, MatExpListPosition, MatExpListTextWrap, MatExpLoadingIndicatorConfig, MatExpLoadingIndicatorOptions, MatExpLoadingIndicatorSpeed, MatExpMenuCloseReason, MatExpMenuColor, MatExpMenuDensity, MatExpMenuEntry, MatExpMenuGroup, MatExpMenuItem, MatExpMenuItemContext, MatExpMenuOpenOptions, MatExpMenuOptions, MatExpMenuSeparation, MatExpNavigationRailAlignment, MatExpNavigationRailCollapsedLayout, MatExpNavigationRailDensity, MatExpNavigationRailMode, MatExpNavigationRailOptions, MatExpProgressIndicatorOptions, MatExpProgressMode, MatExpProgressShape, MatExpProgressVariant, MatExpRadioState, MatExpRichTooltipOptions, MatExpRichTooltipPosition, MatExpSearchAlignment, MatExpSearchAppearance, MatExpSearchLayout, MatExpSearchOptions, MatExpSearchState, MatExpSelectOption, MatExpSelectPopupMotion, MatExpSelectableButton, MatExpSplitButtonAppearance, MatExpSplitButtonOptions, MatExpStepState, MatExpStepperLayout, MatExpStepperMotion, MatExpStepperOptions, MatExpToolbarAlignment, MatExpToolbarAppearance, MatExpToolbarExitEdge, MatExpToolbarLayout, MatExpToolbarOptions };