@mozaic-ds/angular 2.0.2 → 2.0.4
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 {
|
|
@@ -803,8 +803,6 @@ declare class MozTextarea implements ControlValueAccessor, AfterViewInit, OnDest
|
|
|
803
803
|
|
|
804
804
|
type MozTextInputSize = 's' | 'm';
|
|
805
805
|
declare class MozTextInput implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
806
|
-
private elementRef;
|
|
807
|
-
private renderer;
|
|
808
806
|
readonly isInvalid: _angular_core.InputSignal<boolean>;
|
|
809
807
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
810
808
|
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
@@ -822,9 +820,13 @@ declare class MozTextInput implements ControlValueAccessor, AfterViewInit, OnDes
|
|
|
822
820
|
readonly isClearable: _angular_core.Signal<string | false>;
|
|
823
821
|
readonly isDisabledState: _angular_core.Signal<boolean>;
|
|
824
822
|
private environmentInjector;
|
|
825
|
-
|
|
823
|
+
private applicationRef;
|
|
824
|
+
private renderer;
|
|
825
|
+
private elementRef;
|
|
826
|
+
private injector;
|
|
826
827
|
ngAfterViewInit(): void;
|
|
827
828
|
ngOnDestroy(): void;
|
|
829
|
+
private setupEffects;
|
|
828
830
|
private wrapInput;
|
|
829
831
|
private createAddon;
|
|
830
832
|
private findIconElement;
|
|
@@ -1903,7 +1905,7 @@ declare class MozTileExpandableComponent {
|
|
|
1903
1905
|
|
|
1904
1906
|
type MozDrawerPosition = 'left' | 'right';
|
|
1905
1907
|
|
|
1906
|
-
interface
|
|
1908
|
+
interface MozDrawerConfig<D = unknown> {
|
|
1907
1909
|
title: string;
|
|
1908
1910
|
contentTitle?: string;
|
|
1909
1911
|
position?: MozDrawerPosition;
|
|
@@ -1911,10 +1913,10 @@ interface DrawerConfig<D = unknown> {
|
|
|
1911
1913
|
back?: boolean;
|
|
1912
1914
|
data?: D;
|
|
1913
1915
|
}
|
|
1914
|
-
declare const DRAWER_CONFIG: InjectionToken<
|
|
1916
|
+
declare const DRAWER_CONFIG: InjectionToken<MozDrawerConfig<unknown>>;
|
|
1915
1917
|
declare const DRAWER_DATA: InjectionToken<unknown>;
|
|
1916
1918
|
|
|
1917
|
-
declare class
|
|
1919
|
+
declare class MozDrawerRef<R = unknown> {
|
|
1918
1920
|
private readonly overlayRef;
|
|
1919
1921
|
private readonly afterClosed$;
|
|
1920
1922
|
private readonly afterOpened$;
|
|
@@ -1930,13 +1932,13 @@ declare class DrawerRef<R = unknown> {
|
|
|
1930
1932
|
onBackClick(): Observable<void>;
|
|
1931
1933
|
}
|
|
1932
1934
|
|
|
1933
|
-
declare class
|
|
1935
|
+
declare class MozDrawerService {
|
|
1934
1936
|
private readonly overlay;
|
|
1935
1937
|
private readonly injector;
|
|
1936
|
-
open<C, D = unknown, R = unknown>(component: Type<C>, config:
|
|
1938
|
+
open<C, D = unknown, R = unknown>(component: Type<C>, config: MozDrawerConfig<D>): MozDrawerRef<R>;
|
|
1937
1939
|
private createOverlay;
|
|
1938
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1939
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1940
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MozDrawerService, never>;
|
|
1941
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<MozDrawerService>;
|
|
1940
1942
|
}
|
|
1941
1943
|
|
|
1942
1944
|
declare class MozDrawerFooterDirective {
|
|
@@ -1948,8 +1950,8 @@ declare class MozDrawerFooterDirective {
|
|
|
1948
1950
|
}
|
|
1949
1951
|
|
|
1950
1952
|
declare class DrawerContainerComponent {
|
|
1951
|
-
readonly drawerRef:
|
|
1952
|
-
readonly config:
|
|
1953
|
+
readonly drawerRef: MozDrawerRef<any>;
|
|
1954
|
+
readonly config: MozDrawerConfig<unknown>;
|
|
1953
1955
|
readonly portalOutlet: _angular_core.Signal<CdkPortalOutlet | undefined>;
|
|
1954
1956
|
footerTpl: TemplateRef<void> | null;
|
|
1955
1957
|
private componentRef;
|
|
@@ -2146,5 +2148,5 @@ declare class MozNavigationIndicatorComponent {
|
|
|
2146
2148
|
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
2149
|
}
|
|
2148
2150
|
|
|
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,
|
|
2151
|
+
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 };
|
|
2152
|
+
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 };
|