@mozaic-ds/angular 2.0.1 → 2.0.3
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
|
@@ -351,7 +351,7 @@ declare class MozModalComponent {
|
|
|
351
351
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MozModalComponent, "moz-modal", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "hasCloseButton": { "alias": "hasCloseButton"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; }, ["footerTpl"], ["*"], true, never>;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
interface
|
|
354
|
+
interface MozModalConfig<D = unknown> {
|
|
355
355
|
title: string;
|
|
356
356
|
size?: MozModalSize;
|
|
357
357
|
hasCloseButton?: boolean;
|
|
@@ -359,11 +359,11 @@ interface ModalConfig<D = unknown> {
|
|
|
359
359
|
closeOnEscape?: boolean;
|
|
360
360
|
data?: D;
|
|
361
361
|
}
|
|
362
|
-
declare const MODAL_CONFIG: InjectionToken<
|
|
362
|
+
declare const MODAL_CONFIG: InjectionToken<MozModalConfig<unknown>>;
|
|
363
363
|
declare const MODAL_DATA: InjectionToken<unknown>;
|
|
364
|
-
declare const DEFAULT_MODAL_CONFIG: Partial<
|
|
364
|
+
declare const DEFAULT_MODAL_CONFIG: Partial<MozModalConfig>;
|
|
365
365
|
|
|
366
|
-
declare class
|
|
366
|
+
declare class MozModalRef<R = unknown> {
|
|
367
367
|
private readonly overlayRef;
|
|
368
368
|
private readonly afterClosed$;
|
|
369
369
|
private readonly afterOpened$;
|
|
@@ -376,13 +376,13 @@ declare class ModalRef<R = unknown> {
|
|
|
376
376
|
afterOpened(): Observable<void>;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
declare class
|
|
379
|
+
declare class MozModalService {
|
|
380
380
|
private readonly overlay;
|
|
381
381
|
private readonly injector;
|
|
382
|
-
open<C, D = unknown, R = unknown>(component: Type<C>, config:
|
|
382
|
+
open<C, D = unknown, R = unknown>(component: Type<C>, config: MozModalConfig<D>): MozModalRef<R>;
|
|
383
383
|
private createOverlay;
|
|
384
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
385
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
384
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MozModalService, never>;
|
|
385
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<MozModalService>;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
declare class MozModalFooterDirective {
|
|
@@ -1903,7 +1903,7 @@ declare class MozTileExpandableComponent {
|
|
|
1903
1903
|
|
|
1904
1904
|
type MozDrawerPosition = 'left' | 'right';
|
|
1905
1905
|
|
|
1906
|
-
interface
|
|
1906
|
+
interface MozDrawerConfig<D = unknown> {
|
|
1907
1907
|
title: string;
|
|
1908
1908
|
contentTitle?: string;
|
|
1909
1909
|
position?: MozDrawerPosition;
|
|
@@ -1911,10 +1911,10 @@ interface DrawerConfig<D = unknown> {
|
|
|
1911
1911
|
back?: boolean;
|
|
1912
1912
|
data?: D;
|
|
1913
1913
|
}
|
|
1914
|
-
declare const DRAWER_CONFIG: InjectionToken<
|
|
1914
|
+
declare const DRAWER_CONFIG: InjectionToken<MozDrawerConfig<unknown>>;
|
|
1915
1915
|
declare const DRAWER_DATA: InjectionToken<unknown>;
|
|
1916
1916
|
|
|
1917
|
-
declare class
|
|
1917
|
+
declare class MozDrawerRef<R = unknown> {
|
|
1918
1918
|
private readonly overlayRef;
|
|
1919
1919
|
private readonly afterClosed$;
|
|
1920
1920
|
private readonly afterOpened$;
|
|
@@ -1930,13 +1930,13 @@ declare class DrawerRef<R = unknown> {
|
|
|
1930
1930
|
onBackClick(): Observable<void>;
|
|
1931
1931
|
}
|
|
1932
1932
|
|
|
1933
|
-
declare class
|
|
1933
|
+
declare class MozDrawerService {
|
|
1934
1934
|
private readonly overlay;
|
|
1935
1935
|
private readonly injector;
|
|
1936
|
-
open<C, D = unknown, R = unknown>(component: Type<C>, config:
|
|
1936
|
+
open<C, D = unknown, R = unknown>(component: Type<C>, config: MozDrawerConfig<D>): MozDrawerRef<R>;
|
|
1937
1937
|
private createOverlay;
|
|
1938
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1939
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1938
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MozDrawerService, never>;
|
|
1939
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<MozDrawerService>;
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
1942
|
declare class MozDrawerFooterDirective {
|
|
@@ -1948,8 +1948,8 @@ declare class MozDrawerFooterDirective {
|
|
|
1948
1948
|
}
|
|
1949
1949
|
|
|
1950
1950
|
declare class DrawerContainerComponent {
|
|
1951
|
-
readonly drawerRef:
|
|
1952
|
-
readonly config:
|
|
1951
|
+
readonly drawerRef: MozDrawerRef<any>;
|
|
1952
|
+
readonly config: MozDrawerConfig<unknown>;
|
|
1953
1953
|
readonly portalOutlet: _angular_core.Signal<CdkPortalOutlet | undefined>;
|
|
1954
1954
|
footerTpl: TemplateRef<void> | null;
|
|
1955
1955
|
private componentRef;
|
|
@@ -2146,5 +2146,5 @@ declare class MozNavigationIndicatorComponent {
|
|
|
2146
2146
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MozNavigationIndicatorComponent, "moz-navigation-indicator", never, { "steps": { "alias": "steps"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "light": { "alias": "light"; "required": false; "isSignal": true; }; "hideAction": { "alias": "hideAction"; "required": false; "isSignal": true; }; "pauseLabel": { "alias": "pauseLabel"; "required": false; "isSignal": true; }; "resumeLabel": { "alias": "resumeLabel"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "stepClick": "stepClick"; "actionClick": "actionClick"; }, never, never, true, never>;
|
|
2147
2147
|
}
|
|
2148
2148
|
|
|
2149
|
-
export { ACTION_LISTBOX_CONFIG, ActionListboxContainerComponent, ActionListboxRef, BuiltInMenuComponent, DEFAULT_ACTION_LISTBOX_CONFIG, DEFAULT_MODAL_CONFIG, DRAWER_CONFIG, DRAWER_DATA, DrawerContainerComponent,
|
|
2150
|
-
export type { ActionListboxConfig, ActionListboxPosition,
|
|
2149
|
+
export { ACTION_LISTBOX_CONFIG, ActionListboxContainerComponent, ActionListboxRef, BuiltInMenuComponent, DEFAULT_ACTION_LISTBOX_CONFIG, DEFAULT_MODAL_CONFIG, DRAWER_CONFIG, DRAWER_DATA, DrawerContainerComponent, MODAL_CONFIG, MODAL_DATA, MozAccordionComponent, MozAccordionContentComponent, MozAccordionHeaderComponent, MozAccordionPanelComponent, MozActionBottomBarComponent, MozActionListboxComponent, MozActionListboxTriggerDirective, MozAvatarComponent, MozBreadcrumbComponent, MozButtonComponent, MozCalloutComponent, MozCarouselComponent, MozCheckListMenuComponent, MozCheckboxComponent, MozCheckboxGroupComponent, MozCircularProgressBarComponent, MozDatepickerComponent, MozDividerComponent, MozDrawerComponent, MozDrawerFooterDirective, MozDrawerRef, MozDrawerService, MozFieldComponent, MozFieldGroupComponent, MozFileUploaderComponent, MozFileUploaderItemComponent, MozFlagComponent, MozIconButtonComponent, MozKpiComponent, MozLinearProgressBarBufferComponent, MozLinearProgressBarPercentageComponent, MozLinkComponent, MozLoaderComponent, MozLoadingOverlayComponent, MozModalComponent, MozModalFooterDirective, MozModalRef, MozModalService, MozNavigationIndicatorComponent, MozNumberBadgeComponent, MozOverlayComponent, MozPageHeaderComponent, MozPaginationComponent, MozPasswordInputDirective, MozPhoneNumberComponent, MozPincodeInputComponent, MozPopoverComponent, MozPopoverFooterDirective, MozPopoverTriggerDirective, MozQuantitySelectorComponent, MozRadioComponent, MozRadioGroupComponent, MozSegmentedControlComponent, MozSelectComponent, MozSidebarComponent, MozStarRatingComponent, MozStatusBadgeComponent, MozStatusDotComponent, MozStatusMessageComponent, MozStatusNotificationComponent, MozStepperBottomBarComponent, MozStepperCompactComponent, MozStepperInlineComponent, MozStepperStackedComponent, MozTabComponent, MozTabsComponent, MozTagComponent, MozTextInput, MozTextarea, MozTileComponent, MozTileExpandableComponent, MozTileSelectableComponent, MozToasterComponent, MozToggleComponent, MozTooltipComponent, MozTooltipDirective, POPOVER_CONFIG, POPOVER_DATA, PopoverContainerComponent, PopoverRef, PopoverService };
|
|
2150
|
+
export type { ActionListboxConfig, ActionListboxPosition, MozActionListItem, MozActionListItemAppearance, MozAvatarSize, MozBreadcrumbAppearance, MozBreadcrumbLink, MozBuiltInMenuItem, MozBuiltInMenuItemTarget, MozButtonAppearance, MozButtonIconPosition, MozButtonSize, MozButtonType, MozCalloutVariant, MozCheckListMenuItem, MozCircularProgessBarSize, MozDatepickerSize, MozDividerAppearance, MozDividerOrientation, MozDividerSize, MozDrawerConfig, MozDrawerPosition, MozFileUploaderFormat, MozFileUploaderItemFormat, MozFlagType, MozIconButtonAppearance, MozIconButtonSize, MozIconButtonType, MozKpiSize, MozKpiStatus, MozKpiTrend, MozLinearProgressBarBufferSize, MozLinkAppearance, MozLinkIconPosition, MozLinkSize, MozLoaderAppearance, MozLoaderSize, MozNavigationIndicatorAction, MozNumberBadgeAppearance, MozNumberBadgeSize, MozPageHeaderScope, MozPhoneNumberCountry, MozPhoneNumberSize, MozPhoneNumberValue, MozPincodeLength, MozPopoverAppearance, MozPopoverPosition, MozPopoverSize, MozQuantitySelectorSize, MozSegmentedControlSize, MozSegmentedItem, MozSelectOption, MozSelectSize, MozSelectValue, MozSidebarItem, MozSidebarSubItem, MozStarRatingAppearance, MozStarRatingSize, MozStatusBadgeStatus, MozStatusDotSize, MozStatusDotStatus, MozStatusMessageStatus, MozStatusNotificationStatus, MozStepperBottomBarStep, MozStepperInlineStep, MozStepperStackedStep, MozTabItem, MozTagSize, MozTagType, MozTextInputSize, MozTileAppearance, MozTileExpandableTrigger, MozTileInputPosition, MozTileInputVerticalPosition, MozTileSelectableAppearance, MozTileSelectableType, MozToasterPosition, MozToasterRole, MozToasterStatus, MozToggleSize, MozTooltipPosition, PopoverConfig };
|