desy-angular 3.0.0 → 5.0.2
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/README.md +3 -3
- package/bundles/desy-angular.umd.js +1740 -776
- package/bundles/desy-angular.umd.js.map +1 -1
- package/bundles/desy-angular.umd.min.js +2 -2
- package/bundles/desy-angular.umd.min.js.map +1 -1
- package/desy-angular.d.ts +28 -24
- package/desy-angular.metadata.json +1 -1
- package/esm2015/desy-angular.js +29 -25
- package/esm2015/lib/desy-angular.module.js +1 -3
- package/esm2015/lib/desy-buttons/components/button/button.component.js +9 -16
- package/esm2015/lib/desy-buttons/components/button-loader/button-loader.component.js +8 -3
- package/esm2015/lib/desy-buttons/components/dropdown/dropdown.component.js +70 -70
- package/esm2015/lib/desy-buttons/components/listbox/listbox-label/listbox-label.component.js +6 -15
- package/esm2015/lib/desy-buttons/components/listbox/listbox.component.js +67 -55
- package/esm2015/lib/desy-buttons/components/pill/pill.component.js +5 -3
- package/esm2015/lib/desy-commons/interfaces/title-data.js +1 -1
- package/esm2015/lib/desy-forms/components/character-count/character-count.component.js +2 -2
- package/esm2015/lib/desy-forms/components/checkboxes/checkbox-item/checkbox-item.component.js +36 -2
- package/esm2015/lib/desy-forms/components/checkboxes/checkboxes.component.js +2 -2
- package/esm2015/lib/desy-forms/components/date-input/date-input-day/date-input-day.component.js +46 -0
- package/esm2015/lib/desy-forms/components/date-input/date-input-divider/date-input-divider.component.js +19 -0
- package/esm2015/lib/desy-forms/components/date-input/date-input-item/date-input-item.component.js +13 -0
- package/esm2015/lib/desy-forms/components/date-input/date-input-month/date-input-month.component.js +46 -0
- package/esm2015/lib/desy-forms/components/date-input/date-input-year/date-input-year.component.js +44 -0
- package/esm2015/lib/desy-forms/components/date-input/date-input.component.js +131 -25
- package/esm2015/lib/desy-forms/components/input/input.component.js +2 -3
- package/esm2015/lib/desy-forms/components/input-group/input-group-divider/input-group-divider.component.js +20 -0
- package/esm2015/lib/desy-forms/components/input-group/input-group-input/input-group-input.component.js +46 -0
- package/esm2015/lib/desy-forms/components/input-group/input-group-item/input-group-item.component.js +13 -0
- package/esm2015/lib/desy-forms/components/input-group/input-group-select/input-group-select.component.js +42 -0
- package/esm2015/lib/desy-forms/components/input-group/input-group.component.js +115 -21
- package/esm2015/lib/desy-forms/components/radios/radios.component.js +2 -2
- package/esm2015/lib/desy-forms/components/select/option/option.component.js +7 -7
- package/esm2015/lib/desy-forms/components/select/option-group/option-group.component.js +17 -0
- package/esm2015/lib/desy-forms/components/select/select-item/select-item.component.js +14 -0
- package/esm2015/lib/desy-forms/components/select/select.component.js +19 -6
- package/esm2015/lib/desy-forms/desy-forms.module.js +31 -1
- package/esm2015/lib/desy-forms/interfaces/fieldset-data.js +1 -1
- package/esm2015/lib/desy-forms/interfaces/item-checkbox-data.js +1 -1
- package/esm2015/lib/desy-forms/interfaces/item-date-input-data.js +1 -1
- package/esm2015/lib/desy-forms/interfaces/item-divider-date-input-data.js +2 -0
- package/esm2015/lib/desy-forms/interfaces/item-input-group-data.js +1 -1
- package/esm2015/lib/desy-forms/interfaces/select-item-data.js +1 -1
- package/esm2015/lib/desy-modals/components/modal/modal.component.js +3 -3
- package/esm2015/lib/desy-nav/components/error-summary/error-summary.component.js +2 -2
- package/esm2015/lib/desy-nav/components/footer/footer-meta/footer-meta-item/footer-meta-item.component.js +16 -0
- package/esm2015/lib/desy-nav/components/footer/footer-meta/footer-meta.component.js +23 -0
- package/esm2015/lib/desy-nav/components/footer/footer-navigation/footer-navigation-item/footer-navigation-item.component.js +16 -0
- package/esm2015/lib/desy-nav/components/footer/footer-navigation/footer-navigation.component.js +16 -0
- package/esm2015/lib/desy-nav/components/footer/footer.component.js +31 -4
- package/esm2015/lib/desy-nav/components/header/header-dropdown/header-dropdown.component.js +26 -36
- package/esm2015/lib/desy-nav/components/header/header-navigation/header-navigation-item/header-navigation-item.component.js +19 -0
- package/esm2015/lib/desy-nav/components/header/header-navigation/header-navigation.component.js +15 -4
- package/esm2015/lib/desy-nav/components/header/header-offcanvas/header-offcanvas-button/header-offcanvas-button.component.js +25 -0
- package/esm2015/lib/desy-nav/components/header/header-offcanvas/header-offcanvas-close-button/header-offcanvas-close-button.component.js +11 -0
- package/esm2015/lib/desy-nav/components/header/header-offcanvas/header-offcanvas.component.js +76 -13
- package/esm2015/lib/desy-nav/components/header/header-subnav/header-subnav.component.js +26 -36
- package/esm2015/lib/desy-nav/components/header/header.component.js +39 -4
- package/esm2015/lib/desy-nav/components/menu-horizontal/menu-horizontal.component.js +2 -2
- package/esm2015/lib/desy-nav/components/menu-vertical/menu-vertical-item/menu-vertical-item.component.js +32 -0
- package/esm2015/lib/desy-nav/components/menu-vertical/menu-vertical-item-sub/menu-vertical-item-sub.component.js +16 -0
- package/esm2015/lib/desy-nav/components/menu-vertical/menu-vertical-item-sub-item/menu-vertical-item-sub-item.component.js +24 -0
- package/esm2015/lib/desy-nav/components/menu-vertical/menu-vertical.component.js +35 -23
- package/esm2015/lib/desy-nav/components/menubar/menubar.component.js +3 -3
- package/esm2015/lib/desy-nav/components/skip-link/skip-link.component.js +24 -5
- package/esm2015/lib/desy-nav/desy-nav.module.js +37 -4
- package/esm2015/lib/desy-nav/interfaces/footer-data.js +1 -1
- package/esm2015/lib/desy-nav/interfaces/header-dropdown-data.js +1 -1
- package/esm2015/lib/desy-nav/interfaces/header-subnav-data.js +1 -1
- package/esm2015/lib/desy-nav/interfaces/menu-vertical-items-data.js +1 -1
- package/esm2015/lib/desy-pagination/components/pagination/pagination.component.js +2 -2
- package/esm2015/lib/desy-tables/components/table/table.component.js +3 -2
- package/esm2015/lib/desy-tables/components/table-advanced/table-advanced.component.js +5 -3
- package/esm2015/lib/desy-tables/interfaces/index.js +2 -1
- package/esm2015/lib/desy-tables/interfaces/wrapper-data.js +2 -0
- package/esm2015/lib/desy-views/components/accordion/accordion.component.js +2 -2
- package/esm2015/lib/desy-views/components/alert/alert.component.js +28 -23
- package/esm2015/lib/desy-views/components/item/item.component.js +11 -2
- package/esm2015/lib/desy-views/components/status-item/status-item.component.js +2 -2
- package/esm2015/lib/desy-views/components/tabs/panel/panel.component.js +15 -0
- package/esm2015/lib/desy-views/components/tabs/tab-item/tab-item.component.js +28 -0
- package/esm2015/lib/desy-views/components/tabs/tabs.component.js +57 -36
- package/esm2015/lib/desy-views/components/tooltip/tooltip.component.js +1 -1
- package/esm2015/lib/desy-views/desy-views.module.js +7 -1
- package/esm2015/lib/desy-views/interfaces/tabs-items-data.js +1 -1
- package/esm2015/lib/desy-views/interfaces/tabs-panel-data.js +1 -1
- package/esm2015/public-api.js +20 -1
- package/fesm2015/desy-angular.js +1533 -677
- package/fesm2015/desy-angular.js.map +1 -1
- package/lib/desy-buttons/components/button/button.component.d.ts +6 -6
- package/lib/desy-buttons/components/button-loader/button-loader.component.d.ts +1 -0
- package/lib/desy-buttons/components/dropdown/dropdown.component.d.ts +4 -7
- package/lib/desy-buttons/components/listbox/listbox-label/listbox-label.component.d.ts +2 -6
- package/lib/desy-buttons/components/listbox/listbox.component.d.ts +1 -2
- package/lib/desy-buttons/components/pill/pill.component.d.ts +1 -0
- package/lib/desy-commons/interfaces/title-data.d.ts +2 -1
- package/lib/desy-forms/components/checkboxes/checkbox-item/checkbox-item.component.d.ts +5 -0
- package/lib/desy-forms/components/date-input/date-input-day/date-input-day.component.d.ts +22 -0
- package/lib/desy-forms/components/date-input/date-input-divider/date-input-divider.component.d.ts +7 -0
- package/lib/desy-forms/components/date-input/date-input-item/date-input-item.component.d.ts +4 -0
- package/lib/desy-forms/components/date-input/date-input-month/date-input-month.component.d.ts +22 -0
- package/lib/desy-forms/components/date-input/date-input-year/date-input-year.component.d.ts +19 -0
- package/lib/desy-forms/components/date-input/date-input.component.d.ts +21 -4
- package/lib/desy-forms/components/input-group/input-group-divider/input-group-divider.component.d.ts +8 -0
- package/lib/desy-forms/components/input-group/input-group-input/input-group-input.component.d.ts +20 -0
- package/lib/desy-forms/components/input-group/input-group-item/input-group-item.component.d.ts +4 -0
- package/lib/desy-forms/components/input-group/input-group-select/input-group-select.component.d.ts +16 -0
- package/lib/desy-forms/components/input-group/input-group.component.d.ts +24 -6
- package/lib/desy-forms/components/select/option/option.component.d.ts +6 -7
- package/lib/desy-forms/components/select/option-group/option-group.component.d.ts +7 -0
- package/lib/desy-forms/components/select/select-item/select-item.component.d.ts +4 -0
- package/lib/desy-forms/components/select/select.component.d.ts +6 -3
- package/lib/desy-forms/interfaces/fieldset-data.d.ts +1 -0
- package/lib/desy-forms/interfaces/item-checkbox-data.d.ts +1 -0
- package/lib/desy-forms/interfaces/item-date-input-data.d.ts +2 -0
- package/lib/desy-forms/interfaces/item-divider-date-input-data.d.ts +5 -0
- package/lib/desy-forms/interfaces/item-input-group-data.d.ts +1 -2
- package/lib/desy-forms/interfaces/select-item-data.d.ts +2 -1
- package/lib/desy-nav/components/footer/footer-meta/footer-meta-item/footer-meta-item.component.d.ts +7 -0
- package/lib/desy-nav/components/footer/footer-meta/footer-meta.component.d.ts +10 -0
- package/lib/desy-nav/components/footer/footer-navigation/footer-navigation-item/footer-navigation-item.component.d.ts +7 -0
- package/lib/desy-nav/components/footer/footer-navigation/footer-navigation.component.d.ts +8 -0
- package/lib/desy-nav/components/footer/footer.component.d.ts +14 -2
- package/lib/desy-nav/components/header/header-dropdown/header-dropdown.component.d.ts +10 -6
- package/lib/desy-nav/components/header/header-navigation/header-navigation-item/header-navigation-item.component.d.ts +10 -0
- package/lib/desy-nav/components/header/header-navigation/header-navigation.component.d.ts +6 -1
- package/lib/desy-nav/components/header/header-offcanvas/header-offcanvas-button/header-offcanvas-button.component.d.ts +6 -0
- package/lib/desy-nav/components/header/header-offcanvas/header-offcanvas-close-button/header-offcanvas-close-button.component.d.ts +3 -0
- package/lib/desy-nav/components/header/header-offcanvas/header-offcanvas.component.d.ts +30 -8
- package/lib/desy-nav/components/header/header-subnav/header-subnav.component.d.ts +11 -8
- package/lib/desy-nav/components/header/header.component.d.ts +12 -0
- package/lib/desy-nav/components/menu-vertical/menu-vertical-item/menu-vertical-item.component.d.ts +18 -0
- package/lib/desy-nav/components/menu-vertical/menu-vertical-item-sub/menu-vertical-item-sub.component.d.ts +8 -0
- package/lib/desy-nav/components/menu-vertical/menu-vertical-item-sub-item/menu-vertical-item-sub-item.component.d.ts +15 -0
- package/lib/desy-nav/components/menu-vertical/menu-vertical.component.d.ts +11 -7
- package/lib/desy-nav/components/skip-link/skip-link.component.d.ts +9 -2
- package/lib/desy-nav/interfaces/footer-data.d.ts +7 -7
- package/lib/desy-nav/interfaces/header-dropdown-data.d.ts +5 -1
- package/lib/desy-nav/interfaces/header-subnav-data.d.ts +6 -1
- package/lib/desy-tables/components/table/table.component.d.ts +2 -1
- package/lib/desy-tables/components/table-advanced/table-advanced.component.d.ts +6 -4
- package/lib/desy-tables/interfaces/index.d.ts +1 -0
- package/lib/desy-tables/interfaces/wrapper-data.d.ts +4 -0
- package/lib/desy-views/components/alert/alert.component.d.ts +6 -4
- package/lib/desy-views/components/item/item.component.d.ts +5 -2
- package/lib/desy-views/components/tabs/panel/panel.component.d.ts +6 -0
- package/lib/desy-views/components/tabs/tab-item/tab-item.component.d.ts +12 -0
- package/lib/desy-views/components/tabs/tabs.component.d.ts +14 -3
- package/lib/desy-views/interfaces/tabs-items-data.d.ts +5 -5
- package/lib/desy-views/interfaces/tabs-panel-data.d.ts +4 -4
- package/package.json +2 -2
- package/public-api.d.ts +19 -0
- package/esm2015/lib/desy-nav/components/header/header-offcanvas-button/header-offcanvas-button.component.js +0 -58
- package/lib/desy-nav/components/header/header-offcanvas-button/header-offcanvas-button.component.d.ts +0 -18
|
@@ -1,9 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ContentComponent } from '../../../../desy-commons/components/content/content.component';
|
|
3
|
+
import { HeaderOffcanvasCloseButtonComponent } from './header-offcanvas-close-button/header-offcanvas-close-button.component';
|
|
4
|
+
import { DialogService } from '../../../../desy-modals/services/dialog.service';
|
|
5
|
+
import { HeaderOffcanvasButtonComponent } from './header-offcanvas-button/header-offcanvas-button.component';
|
|
6
|
+
export declare class HeaderOffcanvasComponent implements OnDestroy {
|
|
7
|
+
private dialogService;
|
|
8
|
+
private static dialogOptions;
|
|
9
|
+
classes: string;
|
|
10
|
+
hostClass: string;
|
|
11
|
+
offcanvasContent: TemplateRef<any>;
|
|
12
|
+
button: HeaderOffcanvasButtonComponent;
|
|
13
|
+
content: ContentComponent;
|
|
14
|
+
closeButton: HeaderOffcanvasCloseButtonComponent;
|
|
15
|
+
private dialog;
|
|
16
|
+
constructor(dialogService: DialogService);
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
open(): Promise<void>;
|
|
19
|
+
close(): void;
|
|
20
|
+
isOpen(): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Estable las clases del elemento html del componente
|
|
23
|
+
*/
|
|
24
|
+
setHostClass(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Enlaza el botón del componente hijo con la acción de abrir de este componente
|
|
27
|
+
* @param button componente botón pasado como contenido
|
|
28
|
+
*/
|
|
29
|
+
bindButton(button: HeaderOffcanvasButtonComponent): void;
|
|
30
|
+
handleEmptyContent(element: string): void;
|
|
9
31
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare class HeaderSubnavComponent extends
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { NavComponent } from '../../nav/nav.component';
|
|
2
|
+
import { AccessibilityComponent } from "../../../../shared/components";
|
|
3
|
+
export declare class HeaderSubnavComponent extends AccessibilityComponent {
|
|
4
|
+
hiddenText: string;
|
|
5
|
+
classesContainer: string;
|
|
6
|
+
classesTooltip: string;
|
|
7
|
+
classes: string;
|
|
8
|
+
nav: NavComponent;
|
|
9
|
+
hasSubnavItems(): boolean;
|
|
10
|
+
overrideNavParams(nav: NavComponent): void;
|
|
11
|
+
handleEmptyContent(element: string): void;
|
|
9
12
|
}
|
|
@@ -3,6 +3,11 @@ import { HeaderSubnavData } from '../../interfaces';
|
|
|
3
3
|
import { HeaderNavigationData } from '../../interfaces';
|
|
4
4
|
import { HeaderDropdownData } from '../../interfaces';
|
|
5
5
|
import { HeaderOffcanvasData } from '../../interfaces';
|
|
6
|
+
import { HeaderOffcanvasComponent } from './header-offcanvas/header-offcanvas.component';
|
|
7
|
+
import { HeaderNavigationComponent } from './header-navigation/header-navigation.component';
|
|
8
|
+
import { HeaderSubnavComponent } from './header-subnav/header-subnav.component';
|
|
9
|
+
import { HeaderDropdownComponent } from './header-dropdown/header-dropdown.component';
|
|
10
|
+
import { SkipLinkComponent } from '../skip-link/skip-link.component';
|
|
6
11
|
export declare class HeaderComponent extends AccessibilityComponent {
|
|
7
12
|
classes: string;
|
|
8
13
|
containerClasses: string;
|
|
@@ -14,4 +19,11 @@ export declare class HeaderComponent extends AccessibilityComponent {
|
|
|
14
19
|
navigationData: HeaderNavigationData;
|
|
15
20
|
dropdownData: HeaderDropdownData;
|
|
16
21
|
offcanvasData: HeaderOffcanvasData;
|
|
22
|
+
skiplinkComponent: SkipLinkComponent;
|
|
23
|
+
subnavComponent: HeaderSubnavComponent;
|
|
24
|
+
navigationComponent: HeaderNavigationComponent;
|
|
25
|
+
dropdownComponent: HeaderDropdownComponent;
|
|
26
|
+
offcanvasComponent: HeaderOffcanvasComponent;
|
|
27
|
+
overrideSkipLinkParams(skiplinkComponent: SkipLinkComponent): void;
|
|
28
|
+
overrideNavigationParams(navigationComponent: HeaderNavigationComponent): void;
|
|
17
29
|
}
|
package/lib/desy-nav/components/menu-vertical/menu-vertical-item/menu-vertical-item.component.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MenuVerticalItemsData } from '../../../interfaces';
|
|
2
|
+
import { ContentBaseComponent } from '../../../../shared/components';
|
|
3
|
+
import { MenuVerticalItemSubComponent } from '../menu-vertical-item-sub/menu-vertical-item-sub.component';
|
|
4
|
+
export declare class MenuVerticalItemComponent extends ContentBaseComponent implements MenuVerticalItemsData {
|
|
5
|
+
id?: string;
|
|
6
|
+
classes?: string;
|
|
7
|
+
href?: string;
|
|
8
|
+
routerLink?: string;
|
|
9
|
+
routerLinkActiveClasses?: string;
|
|
10
|
+
fragment?: string;
|
|
11
|
+
target?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
active?: boolean;
|
|
14
|
+
divider?: boolean;
|
|
15
|
+
title?: string;
|
|
16
|
+
expanded?: boolean;
|
|
17
|
+
subComponent: MenuVerticalItemSubComponent;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { QueryList } from '@angular/core';
|
|
2
|
+
import { MenuVerticalSubData } from '../../../interfaces';
|
|
3
|
+
import { MenuVerticalItemSubItemComponent } from '../menu-vertical-item-sub-item/menu-vertical-item-sub-item.component';
|
|
4
|
+
import { ContentBaseComponent } from '../../../../shared/components';
|
|
5
|
+
export declare class MenuVerticalItemSubComponent extends ContentBaseComponent implements MenuVerticalSubData {
|
|
6
|
+
classes?: string;
|
|
7
|
+
itemComponents: QueryList<MenuVerticalItemSubItemComponent>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MenuVerticalSubItemsData } from '../../../interfaces';
|
|
2
|
+
import { ContentBaseComponent } from '../../../../shared/components';
|
|
3
|
+
export declare class MenuVerticalItemSubItemComponent extends ContentBaseComponent implements MenuVerticalSubItemsData {
|
|
4
|
+
id?: string;
|
|
5
|
+
classes?: string;
|
|
6
|
+
href?: string;
|
|
7
|
+
routerLink?: string;
|
|
8
|
+
routerLinkActiveClasses?: string;
|
|
9
|
+
fragment?: string;
|
|
10
|
+
target?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
active?: boolean;
|
|
13
|
+
divider?: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { QueryList } from '@angular/core';
|
|
2
2
|
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
|
-
import { MenuVerticalItemsData } from '../../interfaces';
|
|
4
|
-
|
|
3
|
+
import { MenuVerticalItemsData, MenuVerticalSubData, MenuVerticalSubItemsData } from '../../interfaces';
|
|
4
|
+
import { MenuVerticalItemComponent } from './menu-vertical-item/menu-vertical-item.component';
|
|
5
|
+
export declare class MenuVerticalComponent extends AccessibilityComponent {
|
|
5
6
|
id: string;
|
|
6
7
|
idPrefix: string;
|
|
7
|
-
items:
|
|
8
|
+
items: MenuVerticalItemsData[];
|
|
8
9
|
hasUnderline: boolean;
|
|
9
10
|
classes: string;
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
itemComponents: QueryList<MenuVerticalItemComponent>;
|
|
12
|
+
handleItemContentEmpty(index: number, isRoot: boolean): void;
|
|
13
|
+
getItemHtml(item: MenuVerticalItemsData): string;
|
|
12
14
|
getId(item: MenuVerticalItemsData, i: number): string;
|
|
13
15
|
getSubItemId(item: MenuVerticalItemsData, itemIndex: number, subItemIndex: number): string;
|
|
14
|
-
|
|
16
|
+
getItems(): MenuVerticalItemsData[];
|
|
17
|
+
getItemSub(item: MenuVerticalItemsData): MenuVerticalSubData;
|
|
18
|
+
getSubItems(sub: MenuVerticalSubData): MenuVerticalSubItemsData[];
|
|
15
19
|
}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
|
+
export declare class SkipLinkComponent extends AccessibilityComponent {
|
|
4
|
+
private changeDetectorRef;
|
|
5
|
+
html: string;
|
|
6
|
+
text: string;
|
|
3
7
|
fragment: string;
|
|
4
8
|
classes: string;
|
|
5
9
|
id: string;
|
|
10
|
+
hasContent: boolean;
|
|
11
|
+
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
6
12
|
getClassNames(): string;
|
|
13
|
+
handleNoContent(): void;
|
|
7
14
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AccesibilityData } from '../../shared/interfaces/accesibility-data';
|
|
2
2
|
export interface MetaData {
|
|
3
|
-
visuallyHiddenTitle
|
|
4
|
-
html
|
|
5
|
-
text
|
|
6
|
-
items
|
|
3
|
+
visuallyHiddenTitle?: string;
|
|
4
|
+
html?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
items?: MetaItemData[];
|
|
7
7
|
}
|
|
8
8
|
export interface MetaItemData extends AccesibilityData {
|
|
9
|
-
text
|
|
9
|
+
text?: string;
|
|
10
10
|
href?: string;
|
|
11
11
|
routerLink?: string;
|
|
12
12
|
fragment?: string;
|
|
@@ -14,10 +14,10 @@ export interface MetaItemData extends AccesibilityData {
|
|
|
14
14
|
export interface NavigationData {
|
|
15
15
|
title: string;
|
|
16
16
|
columns: number;
|
|
17
|
-
items
|
|
17
|
+
items?: NavigationItemData[];
|
|
18
18
|
}
|
|
19
19
|
export interface NavigationItemData extends AccesibilityData {
|
|
20
|
-
text
|
|
20
|
+
text?: string;
|
|
21
21
|
href?: string;
|
|
22
22
|
routerLink?: string;
|
|
23
23
|
fragment?: string;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { NavItemData } from './nav-item.data';
|
|
2
|
-
|
|
2
|
+
import { AccesibilityData } from "../../shared/interfaces/accesibility-data";
|
|
3
|
+
export interface HeaderDropdownData extends AccesibilityData {
|
|
3
4
|
text?: string;
|
|
4
5
|
html?: string;
|
|
5
6
|
classes?: string;
|
|
7
|
+
classesContainer?: string;
|
|
8
|
+
classesTooltip?: string;
|
|
9
|
+
hiddenText?: string;
|
|
6
10
|
items?: NavItemData[];
|
|
7
11
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { NavItemData } from './nav-item.data';
|
|
2
|
-
|
|
2
|
+
import { AccesibilityData } from "../../shared/interfaces/accesibility-data";
|
|
3
|
+
export interface HeaderSubnavData extends AccesibilityData {
|
|
3
4
|
html?: string;
|
|
4
5
|
text?: string;
|
|
6
|
+
classes?: string;
|
|
7
|
+
classesContainer?: string;
|
|
8
|
+
classesTooltip?: string;
|
|
9
|
+
hiddenText?: string;
|
|
5
10
|
items?: NavItemData[];
|
|
6
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QueryList } from '@angular/core';
|
|
2
2
|
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
|
-
import { CellData } from '../../interfaces';
|
|
3
|
+
import { CellData, WrapperData } from '../../interfaces';
|
|
4
4
|
import { TableHeaderComponent } from './components/table-header.component';
|
|
5
5
|
import { TableCellComponent } from './components/table-cell.component';
|
|
6
6
|
import { TableCaptionComponent } from './components/table-caption.component';
|
|
@@ -13,6 +13,7 @@ export declare class TableComponent extends AccessibilityComponent {
|
|
|
13
13
|
firstCellIsHeader: boolean;
|
|
14
14
|
classes: string;
|
|
15
15
|
id: string;
|
|
16
|
+
wrapper: WrapperData;
|
|
16
17
|
captionComponent: TableCaptionComponent;
|
|
17
18
|
headerComponent: TableHeaderComponent;
|
|
18
19
|
rowComponentList: QueryList<TableRowComponent>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, QueryList } from '@angular/core';
|
|
2
2
|
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
|
-
import { HeadCellModelData, OrderBy, RowData } from '../../interfaces';
|
|
3
|
+
import { HeadCellModelData, OrderBy, RowData, WrapperData } from '../../interfaces';
|
|
4
4
|
import { TableCaptionComponent } from '../table/components/table-caption.component';
|
|
5
5
|
import { TableAdvancedHeaderCellComponent } from './components/table-advanced-header-cell.component';
|
|
6
6
|
import { TableAdvancedHeaderComponent } from './components/table-advanced-header.component';
|
|
@@ -19,17 +19,19 @@ export declare class TableAdvancedComponent extends AccessibilityComponent imple
|
|
|
19
19
|
hasCheckboxes: boolean;
|
|
20
20
|
idPrefix: string;
|
|
21
21
|
classes: string;
|
|
22
|
+
checkboxClasses: string;
|
|
22
23
|
id: string;
|
|
24
|
+
wrapper: WrapperData;
|
|
23
25
|
captionComponent: TableCaptionComponent;
|
|
24
26
|
headerComponent: TableAdvancedHeaderComponent;
|
|
25
27
|
rowComponentList: QueryList<TableAdvancedRowComponent>;
|
|
26
28
|
rowData: QueryList<RowDirective>;
|
|
27
|
-
visibleRows: RowData[] | TableAdvancedRowComponent[];
|
|
28
|
-
orderByType: typeof OrderBy;
|
|
29
|
-
isReset: boolean;
|
|
30
29
|
rowsChange: EventEmitter<any>;
|
|
31
30
|
rowsChecked: EventEmitter<any>;
|
|
32
31
|
recalculateTable: EventEmitter<RecalculateTableParams>;
|
|
32
|
+
visibleRows: RowData[] | TableAdvancedRowComponent[];
|
|
33
|
+
orderByType: typeof OrderBy;
|
|
34
|
+
isReset: boolean;
|
|
33
35
|
constructor(el: ElementRef, changeDetector: ChangeDetectorRef);
|
|
34
36
|
ngAfterViewInit(): void;
|
|
35
37
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, ElementRef, EventEmitter,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, ElementRef, EventEmitter, OnDestroy, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
3
|
declare type AlertCreationCallback = ((dialog: AlertComponent, caller: ComponentRef<any>) => void);
|
|
4
|
-
export declare class AlertComponent extends AccessibilityComponent implements
|
|
4
|
+
export declare class AlertComponent extends AccessibilityComponent implements OnDestroy, AfterViewInit {
|
|
5
5
|
private cdRef;
|
|
6
6
|
private factoryResolver;
|
|
7
7
|
alertWrapper: ElementRef;
|
|
@@ -10,15 +10,17 @@ export declare class AlertComponent extends AccessibilityComponent implements On
|
|
|
10
10
|
classes: string;
|
|
11
11
|
caller: TemplateRef<any>;
|
|
12
12
|
focusFirst: boolean;
|
|
13
|
-
active: boolean;
|
|
13
|
+
set active(value: boolean);
|
|
14
|
+
get active(): boolean;
|
|
14
15
|
activeChange: EventEmitter<boolean>;
|
|
16
|
+
private _active;
|
|
15
17
|
callerContext: any;
|
|
16
18
|
callerType: Type<any>;
|
|
17
19
|
onCallerCreationCallback: AlertCreationCallback;
|
|
18
20
|
private lastActiveState;
|
|
19
21
|
private hasViewinit;
|
|
22
|
+
private createdCallerFromType;
|
|
20
23
|
constructor(cdRef: ChangeDetectorRef, factoryResolver: ComponentFactoryResolver);
|
|
21
|
-
ngOnChanges(): void;
|
|
22
24
|
ngOnDestroy(): void;
|
|
23
25
|
ngAfterViewInit(): void;
|
|
24
26
|
dismiss(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, QueryList, TemplateRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
3
|
import { ContentData, DescriptionData, IconData, TitleData } from '../../../desy-commons/interfaces';
|
|
4
4
|
import { TitleComponent } from '../../../desy-commons/components/title/title.component';
|
|
@@ -7,10 +7,11 @@ import { ItemContentRightComponent } from './item-content-right/item-content-rig
|
|
|
7
7
|
import { ItemContentBottomComponent } from './item-content-bottom/item-content-bottom.component';
|
|
8
8
|
import { ItemItemComponent } from './item-item/item-item.component';
|
|
9
9
|
import { IconComponent } from '../../../desy-commons/components/icon/icon.component';
|
|
10
|
-
export declare class ItemComponent extends AccessibilityComponent {
|
|
10
|
+
export declare class ItemComponent extends AccessibilityComponent implements AfterViewInit {
|
|
11
11
|
private changeDetectorRef;
|
|
12
12
|
title: TitleData;
|
|
13
13
|
description: DescriptionData;
|
|
14
|
+
headingLevel: number;
|
|
14
15
|
items: string[];
|
|
15
16
|
content: ContentData;
|
|
16
17
|
icon: IconData;
|
|
@@ -27,7 +28,9 @@ export declare class ItemComponent extends AccessibilityComponent {
|
|
|
27
28
|
itemComponents: QueryList<ItemItemComponent>;
|
|
28
29
|
hasIconContent: boolean;
|
|
29
30
|
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
31
|
+
ngAfterViewInit(): void;
|
|
30
32
|
getItems(): string[] | ItemItemComponent[];
|
|
31
33
|
handleIconContentEmpty(isEmpty: boolean): void;
|
|
32
34
|
handleRequiredEmpty(text: string): void;
|
|
35
|
+
getTitle(): TitleData;
|
|
33
36
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ContentComponent } from '../../../../desy-commons/components/content/content.component';
|
|
2
|
+
import { PanelComponent } from '../panel/panel.component';
|
|
3
|
+
import { TabsItemsData, TabsPanelData } from '../../../interfaces';
|
|
4
|
+
import { AccessibilityComponent } from '../../../../shared/components';
|
|
5
|
+
export declare class TabItemComponent extends AccessibilityComponent implements TabsItemsData {
|
|
6
|
+
contentComponent: ContentComponent;
|
|
7
|
+
panelComponent: PanelComponent;
|
|
8
|
+
classes: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
id: string;
|
|
11
|
+
panel?: TabsPanelData;
|
|
12
|
+
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
|
-
import { TabsItemsData } from '../../interfaces
|
|
3
|
+
import { TabsItemsData } from '../../interfaces';
|
|
4
|
+
import { TabItemComponent } from './tab-item/tab-item.component';
|
|
4
5
|
export declare class TabsComponent extends AccessibilityComponent implements OnChanges, AfterViewInit {
|
|
6
|
+
private changeDetector;
|
|
7
|
+
itemComponents: QueryList<TabItemComponent>;
|
|
5
8
|
tabSelectors: QueryList<ElementRef>;
|
|
9
|
+
tabSelectorContentWrapper: QueryList<ElementRef>;
|
|
10
|
+
tabSrOnly: ElementRef;
|
|
6
11
|
id: string;
|
|
7
12
|
idPrefix: string;
|
|
8
13
|
classes: string;
|
|
@@ -11,7 +16,13 @@ export declare class TabsComponent extends AccessibilityComponent implements OnC
|
|
|
11
16
|
tablistAriaLabel: string;
|
|
12
17
|
items: TabsItemsData[];
|
|
13
18
|
currentTab: number;
|
|
19
|
+
currentPanel: any;
|
|
20
|
+
constructor(changeDetector: ChangeDetectorRef);
|
|
14
21
|
ngOnChanges(changes: SimpleChanges): void;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
getItems(): TabsItemsData[] | TabItemComponent[];
|
|
24
|
+
getItemPanel(tab: number): TabItemComponent;
|
|
25
|
+
handleContentEmpty(element: string): void;
|
|
15
26
|
getIdPrefix(): string;
|
|
16
27
|
getItemId(index: number): string;
|
|
17
28
|
isDisabled(item: TabsItemsData): boolean;
|
|
@@ -20,5 +31,5 @@ export declare class TabsComponent extends AccessibilityComponent implements OnC
|
|
|
20
31
|
focusLastTab(event?: any): void;
|
|
21
32
|
focusNextTab(focusedTab: number): void;
|
|
22
33
|
focusPreviousTab(focusedTab: number): void;
|
|
23
|
-
|
|
34
|
+
getPanelContent(tab: number): string;
|
|
24
35
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AccesibilityData } from '../../shared/interfaces/accesibility-data';
|
|
2
2
|
import { TabsPanelData } from './tabs-panel-data';
|
|
3
3
|
export interface TabsItemsData extends AccesibilityData {
|
|
4
|
-
id
|
|
5
|
-
text
|
|
6
|
-
html
|
|
7
|
-
disabled
|
|
8
|
-
panel
|
|
4
|
+
id?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
html?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
panel?: TabsPanelData;
|
|
9
9
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { AccesibilityData } from '../../shared/interfaces/accesibility-data';
|
|
3
3
|
export interface TabsPanelData extends AccesibilityData {
|
|
4
|
-
id
|
|
5
|
-
text
|
|
6
|
-
html
|
|
7
|
-
classes
|
|
4
|
+
id?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
html?: TemplateRef<any>;
|
|
7
|
+
classes?: string;
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "desy-angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "Desy Angular contains the code you need to start building your Angular app for Gobierno de Aragón.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^12.18.0"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@angular/platform-browser": "^11.0.0",
|
|
32
32
|
"@angular/platform-browser-dynamic": "^11.0.0",
|
|
33
33
|
"@angular/router": "^11.0.0",
|
|
34
|
-
"desy-
|
|
34
|
+
"desy-html": "^5.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"ngx-tippy-wrapper": "2.1.0",
|
package/public-api.d.ts
CHANGED
|
@@ -40,7 +40,12 @@ export * from './lib/desy-forms/interfaces/item-checkbox-data';
|
|
|
40
40
|
export * from './lib/desy-forms/interfaces/label-data';
|
|
41
41
|
export * from './lib/desy-forms/interfaces/select-item-data';
|
|
42
42
|
export * from './lib/desy-forms/components/checkboxes/checkbox-item/checkbox-item.component';
|
|
43
|
+
export * from './lib/desy-forms/components/input-group/input-group-divider/input-group-divider.component';
|
|
44
|
+
export * from './lib/desy-forms/components/input-group/input-group-input/input-group-input.component';
|
|
45
|
+
export * from './lib/desy-forms/components/input-group/input-group-select/input-group-select.component';
|
|
43
46
|
export * from './lib/desy-forms/components/radios/radio-item/radio-item.component';
|
|
47
|
+
export * from './lib/desy-forms/components/select/option/option.component';
|
|
48
|
+
export * from './lib/desy-forms/components/select/option-group/option-group.component';
|
|
44
49
|
export * from './lib/desy-modals/components/modal/modal.component';
|
|
45
50
|
export * from './lib/desy-modals/components/dialog/dialog.component';
|
|
46
51
|
export * from './lib/desy-modals/interfaces/modal-icon-data';
|
|
@@ -85,7 +90,20 @@ export * from './lib/desy-nav/interfaces/notification-items-data';
|
|
|
85
90
|
export * from './lib/desy-nav/interfaces/notification-options';
|
|
86
91
|
export * from './lib/desy-nav/components/breadcrumbs/breadcrumbs-item/breadcrumbs-item.component';
|
|
87
92
|
export * from './lib/desy-nav/components/error-summary/error-summary-item/error-summary-item.component';
|
|
93
|
+
export * from './lib/desy-nav/components/footer/footer-meta/footer-meta.component';
|
|
94
|
+
export * from './lib/desy-nav/components/footer/footer-meta/footer-meta-item/footer-meta-item.component';
|
|
95
|
+
export * from './lib/desy-nav/components/footer/footer-navigation/footer-navigation.component';
|
|
96
|
+
export * from './lib/desy-nav/components/footer/footer-navigation/footer-navigation-item/footer-navigation-item.component';
|
|
97
|
+
export * from './lib/desy-nav/components/header/header-dropdown/header-dropdown.component';
|
|
98
|
+
export * from './lib/desy-nav/components/header/header-navigation/header-navigation.component';
|
|
99
|
+
export * from './lib/desy-nav/components/header/header-offcanvas/header-offcanvas.component';
|
|
100
|
+
export * from './lib/desy-nav/components/header/header-offcanvas/header-offcanvas-button/header-offcanvas-button.component';
|
|
101
|
+
export * from './lib/desy-nav/components/header/header-offcanvas/header-offcanvas-close-button/header-offcanvas-close-button.component';
|
|
102
|
+
export * from './lib/desy-nav/components/header/header-subnav/header-subnav.component';
|
|
88
103
|
export * from './lib/desy-nav/components/menu-horizontal/menu-horizontal-item/menu-horizontal-item.component';
|
|
104
|
+
export * from './lib/desy-nav/components/menu-vertical/menu-vertical-item/menu-vertical-item.component';
|
|
105
|
+
export * from './lib/desy-nav/components/menu-vertical/menu-vertical-item-sub/menu-vertical-item-sub.component';
|
|
106
|
+
export * from './lib/desy-nav/components/menu-vertical/menu-vertical-item-sub-item/menu-vertical-item-sub-item.component';
|
|
89
107
|
export * from './lib/desy-nav/components/menubar/components/menubar-label/menubar-label.component';
|
|
90
108
|
export * from './lib/desy-nav/components/menubar/components/menubar-item/menubar-item.component';
|
|
91
109
|
export * from './lib/desy-nav/components/menubar/components/menubar-subitem/menubar-subitem.component';
|
|
@@ -98,6 +116,7 @@ export * from './lib/desy-tables/interfaces/head-cell-data';
|
|
|
98
116
|
export * from './lib/desy-tables/interfaces/cell-data';
|
|
99
117
|
export * from './lib/desy-tables/interfaces/row-data';
|
|
100
118
|
export * from './lib/desy-tables/interfaces/recalculate-table-params';
|
|
119
|
+
export * from './lib/desy-tables/interfaces/wrapper-data';
|
|
101
120
|
export * from './lib/desy-tables/components/table/components/table-cell.component';
|
|
102
121
|
export * from './lib/desy-tables/components/table/components/table-caption.component';
|
|
103
122
|
export * from './lib/desy-tables/components/table/components/table-header.component';
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { Component, HostBinding, Input } from '@angular/core';
|
|
3
|
-
import { DialogService } from '../../../../desy-modals/services/dialog.service';
|
|
4
|
-
import { TextOrHtmlRequiredComponent } from '../../../../shared/components';
|
|
5
|
-
export class HeaderOffcanvasButtonComponent extends TextOrHtmlRequiredComponent {
|
|
6
|
-
constructor(dialogService) {
|
|
7
|
-
super();
|
|
8
|
-
this.dialogService = dialogService;
|
|
9
|
-
this.dialogOptions = {
|
|
10
|
-
id: 'header-offcanvas-dialog',
|
|
11
|
-
focusOnClose: 'header-offcanvas',
|
|
12
|
-
ariaModal: 'true'
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
openDialog(offcanvas) {
|
|
16
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17
|
-
if (!this.dialog) {
|
|
18
|
-
this.dialogOptions.ariaLabelledBy = 'header-offcanvas-button';
|
|
19
|
-
this.dialog = (yield this.dialogService.openDialog(offcanvas, this.dialogOptions)).dialog;
|
|
20
|
-
this.dialogService.onCloseDialog(this.dialog).then(() => this.dialog = null);
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
closeDialog() {
|
|
25
|
-
if (this.dialog) {
|
|
26
|
-
this.dialogService.closeDialog(this.dialog);
|
|
27
|
-
this.dialog = null;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
ngOnChanges(changes) {
|
|
31
|
-
this.checkRequiredParams();
|
|
32
|
-
this.class = this.classes ? this.classes : '-mr-2 flex lg:hidden';
|
|
33
|
-
}
|
|
34
|
-
checkRequiredParams() {
|
|
35
|
-
if (!this.offcanvasText) {
|
|
36
|
-
throw new Error(`offcanvasText is required`);
|
|
37
|
-
}
|
|
38
|
-
if (!this.offcanvasContentHtml) {
|
|
39
|
-
throw new Error(`offcanvasContentHtml is required`);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
HeaderOffcanvasButtonComponent.decorators = [
|
|
44
|
-
{ type: Component, args: [{
|
|
45
|
-
selector: 'desy-header-offcanvas-button',
|
|
46
|
-
template: "<ng-template #offcanvas>\r\n <desy-header-offcanvas [text]=\"offcanvasText\" [contentHtml]=\"offcanvasContentHtml\"\r\n (closeDialog)=\"closeDialog()\"></desy-header-offcanvas>\r\n</ng-template>\r\n\r\n<button id=\"header-offcanvas-button\"\r\n (click)=\"openDialog(offcanvas)\"\r\n tabindex=\"0\"\r\n class=\"inline-flex items-center px-3 py-4 text-sm text-white focus:outline-none focus:shadow-outline-warning\" aria-haspopup=\"true\">\r\n <span class=\"inline-block align-middle text-right\" [desyInnerContent]=\"html ? html : text\" [isHtml]=\"html\"></span> <svg role=\"img\" aria-label=\"Cerrado\" class=\"inline-block align-middle\" viewBox=\"0 0 96 96\" fill=\"currentColor\" width=\"1.5em\" height=\"1.5em\"><g><path d=\"M46.71 58.037a1.823 1.823 0 002.581 0L62.048 45.28a1.823 1.823 0 00-1.29-3.113H35.243a1.823 1.823 0 00-1.291 3.113z\"/></g></svg>\r\n</button>\r\n\r\n"
|
|
47
|
-
},] }
|
|
48
|
-
];
|
|
49
|
-
HeaderOffcanvasButtonComponent.ctorParameters = () => [
|
|
50
|
-
{ type: DialogService }
|
|
51
|
-
];
|
|
52
|
-
HeaderOffcanvasButtonComponent.propDecorators = {
|
|
53
|
-
classes: [{ type: Input }],
|
|
54
|
-
offcanvasText: [{ type: Input }],
|
|
55
|
-
offcanvasContentHtml: [{ type: Input }],
|
|
56
|
-
class: [{ type: HostBinding, args: ['class',] }]
|
|
57
|
-
};
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLW9mZmNhbnZhcy1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGVzeS1hbmd1bGFyL3NyYy9saWIvZGVzeS1uYXYvY29tcG9uZW50cy9oZWFkZXIvaGVhZGVyLW9mZmNhbnZhcy1idXR0b24vaGVhZGVyLW9mZmNhbnZhcy1idXR0b24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUVULFdBQVcsRUFDWCxLQUFLLEVBSU4sTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGlEQUFpRCxDQUFDO0FBR2hGLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBTTVFLE1BQU0sT0FBTyw4QkFBK0IsU0FBUSwyQkFBMkI7SUFpQjdFLFlBQW9CLGFBQTRCO1FBQzlDLEtBQUssRUFBRSxDQUFDO1FBRFUsa0JBQWEsR0FBYixhQUFhLENBQWU7UUFWeEMsa0JBQWEsR0FBa0I7WUFDckMsR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zQ29udGVudEh0bWwgaXMgcmVxdWlyZWRgKTtcclxuICAgIH1cclxuICB9XHJcblxyXG59XHJcbiJdfQ==
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { DialogService } from '../../../../desy-modals/services/dialog.service';
|
|
3
|
-
import { DialogComponent } from '../../../../desy-modals/components/dialog/dialog.component';
|
|
4
|
-
import { TextOrHtmlRequiredComponent } from '../../../../shared/components';
|
|
5
|
-
export declare class HeaderOffcanvasButtonComponent extends TextOrHtmlRequiredComponent implements OnChanges {
|
|
6
|
-
private dialogService;
|
|
7
|
-
classes: string;
|
|
8
|
-
offcanvasText: string;
|
|
9
|
-
offcanvasContentHtml: TemplateRef<any>;
|
|
10
|
-
private dialogOptions;
|
|
11
|
-
dialog: ComponentRef<DialogComponent>;
|
|
12
|
-
class: any;
|
|
13
|
-
constructor(dialogService: DialogService);
|
|
14
|
-
openDialog(offcanvas: TemplateRef<any>): Promise<void>;
|
|
15
|
-
closeDialog(): void;
|
|
16
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
-
private checkRequiredParams;
|
|
18
|
-
}
|