desy-angular 4.0.0 → 5.0.0
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/bundles/desy-angular.umd.js +115 -137
- 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 +2 -2
- package/desy-angular.metadata.json +1 -1
- package/esm2015/desy-angular.js +3 -3
- 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 +2 -2
- package/esm2015/lib/desy-buttons/components/listbox/listbox.component.js +1 -1
- package/esm2015/lib/desy-buttons/components/pill/pill.component.js +5 -3
- 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/interfaces/item-checkbox-data.js +1 -1
- package/esm2015/lib/desy-modals/components/modal/modal.component.js +2 -2
- package/esm2015/lib/desy-nav/components/header/header-dropdown/header-dropdown.component.js +8 -48
- package/esm2015/lib/desy-nav/components/header/header-subnav/header-subnav.component.js +9 -37
- package/esm2015/lib/desy-nav/components/header/header.component.js +2 -2
- package/esm2015/lib/desy-nav/components/menu-horizontal/menu-horizontal.component.js +2 -2
- package/esm2015/lib/desy-nav/components/menubar/menubar.component.js +3 -3
- package/esm2015/lib/desy-nav/desy-nav.module.js +4 -2
- 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-views/components/alert/alert.component.js +28 -23
- package/fesm2015/desy-angular.js +98 -129
- 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/pill/pill.component.d.ts +1 -0
- package/lib/desy-forms/components/checkboxes/checkbox-item/checkbox-item.component.d.ts +5 -0
- package/lib/desy-forms/interfaces/item-checkbox-data.d.ts +1 -0
- package/lib/desy-nav/components/header/header-dropdown/header-dropdown.component.d.ts +5 -10
- package/lib/desy-nav/components/header/header-subnav/header-subnav.component.d.ts +5 -5
- package/lib/desy-nav/interfaces/header-dropdown-data.d.ts +5 -1
- package/lib/desy-nav/interfaces/header-subnav-data.d.ts +5 -1
- package/lib/desy-views/components/alert/alert.component.d.ts +6 -4
- package/package.json +2 -2
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import {
|
|
3
|
-
export declare class ButtonComponent extends
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
|
+
export declare class ButtonComponent extends AccessibilityComponent {
|
|
4
4
|
static readonly ELEMENT_A: string;
|
|
5
5
|
static readonly ELEMENT_BUTTON: string;
|
|
6
6
|
static readonly ELEMENT_INPUT: string;
|
|
7
|
+
readonly hostTabIndex: any;
|
|
7
8
|
id: string;
|
|
8
9
|
classes: string;
|
|
10
|
+
html: string;
|
|
11
|
+
text: string;
|
|
9
12
|
element: string;
|
|
10
13
|
name: string;
|
|
11
14
|
type: string;
|
|
@@ -18,9 +21,6 @@ export declare class ButtonComponent extends AccessibilityAndContentRequiredComp
|
|
|
18
21
|
routerLinkActiveClasses: string | string[];
|
|
19
22
|
clickEvent: EventEmitter<any>;
|
|
20
23
|
avoidingDoubleClick: boolean;
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
-
required(): void;
|
|
24
24
|
onClick(event: any): void;
|
|
25
25
|
getElement(): string;
|
|
26
26
|
getClassNames(): string;
|
|
@@ -4,6 +4,7 @@ export declare class ButtonLoaderComponent extends ButtonComponent {
|
|
|
4
4
|
static readonly STATE_SUCCESS: string;
|
|
5
5
|
private static readonly DEFAULT_LOADER_TEXT;
|
|
6
6
|
private static readonly DEFAULT_SUCCESS_TEXT;
|
|
7
|
+
readonly hostTabIndex: any;
|
|
7
8
|
loaderText: string;
|
|
8
9
|
loaderClasses: string;
|
|
9
10
|
state: string;
|
|
@@ -15,13 +15,16 @@ export declare class CheckboxItemComponent extends AccessibilityComponent implem
|
|
|
15
15
|
conditional: boolean;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
isIndeterminate: boolean;
|
|
18
|
+
indeterminateChecked: boolean;
|
|
18
19
|
classes: string;
|
|
19
20
|
labelComponentList: QueryList<LabelComponent>;
|
|
20
21
|
hintComponentList: QueryList<HintComponent>;
|
|
21
22
|
conditionalContentList: QueryList<ContentComponent>;
|
|
22
23
|
checked: boolean;
|
|
23
24
|
checkedChange: EventEmitter<any>;
|
|
25
|
+
indeterminateChange: EventEmitter<any>;
|
|
24
26
|
lastChecked: any;
|
|
27
|
+
lastIndeterminate: any;
|
|
25
28
|
lastValue: any;
|
|
26
29
|
checkboxId: any;
|
|
27
30
|
constructor(checkboxes: CheckboxesComponent, changeDetectorRef: ChangeDetectorRef);
|
|
@@ -32,6 +35,8 @@ export declare class CheckboxItemComponent extends AccessibilityComponent implem
|
|
|
32
35
|
getItemHintId(): string;
|
|
33
36
|
hasChanged(): void;
|
|
34
37
|
setChecked(checked: boolean): void;
|
|
38
|
+
setIndeterminateChecked(indeterminateChecked: boolean): void;
|
|
39
|
+
setIndeterminateStatus(): void;
|
|
35
40
|
isInit(): boolean;
|
|
36
41
|
getValue(): any;
|
|
37
42
|
updateCheckboxId(index?: number): void;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { NavComponent } from '../../nav/nav.component';
|
|
2
|
-
|
|
2
|
+
import { AccessibilityComponent } from "../../../../shared/components";
|
|
3
|
+
export declare class HeaderDropdownComponent extends AccessibilityComponent {
|
|
4
|
+
hiddenText: string;
|
|
5
|
+
classesContainer: string;
|
|
6
|
+
classesTooltip: string;
|
|
3
7
|
classes: string;
|
|
4
|
-
hostClass: string;
|
|
5
8
|
nav: NavComponent;
|
|
6
|
-
isOpen: boolean;
|
|
7
|
-
clickOutsideEnabled: boolean;
|
|
8
|
-
toggleOpen(): void;
|
|
9
|
-
onKeydownEscape(): void;
|
|
10
9
|
overrideNavParams(nav: NavComponent): void;
|
|
11
|
-
/**
|
|
12
|
-
* Estable las clases del elemento html del componente
|
|
13
|
-
*/
|
|
14
|
-
setHostClass(): void;
|
|
15
10
|
handleEmptyContent(element: string): void;
|
|
16
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NavComponent } from '../../nav/nav.component';
|
|
2
|
-
|
|
2
|
+
import { AccessibilityComponent } from "../../../../shared/components";
|
|
3
|
+
export declare class HeaderSubnavComponent extends AccessibilityComponent {
|
|
4
|
+
hiddenText: string;
|
|
5
|
+
classesContainer: string;
|
|
6
|
+
classesTooltip: string;
|
|
3
7
|
classes: string;
|
|
4
8
|
nav: NavComponent;
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
clickOutsideEnabled: boolean;
|
|
7
|
-
toggleOpen(): void;
|
|
8
|
-
onKeydownEscape(): void;
|
|
9
9
|
hasSubnavItems(): boolean;
|
|
10
10
|
overrideNavParams(nav: NavComponent): void;
|
|
11
11
|
handleEmptyContent(element: string): void;
|
|
@@ -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,7 +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;
|
|
5
6
|
classes?: string;
|
|
7
|
+
classesContainer?: string;
|
|
8
|
+
classesTooltip?: string;
|
|
9
|
+
hiddenText?: string;
|
|
6
10
|
items?: NavItemData[];
|
|
7
11
|
}
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "desy-angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
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",
|