angular-toolbox 1.3.2 → 1.3.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/README.md +1 -1
- package/esm2022/lib/component/dropdown/dropdown.component.mjs +10 -3
- package/esm2022/lib/model/business/ui/dropdown/index.mjs +2 -1
- package/esm2022/lib/model/business/ui/dropdown/popover-state.mjs +9 -0
- package/esm2022/lib/model/service/version/angular-toolbox-version.service.mjs +5 -5
- package/fesm2022/angular-toolbox.mjs +21 -6
- package/fesm2022/angular-toolbox.mjs.map +1 -1
- package/lib/component/dropdown/dropdown.component.d.ts +7 -2
- package/lib/model/business/ui/dropdown/index.d.ts +1 -0
- package/lib/model/business/ui/dropdown/popover-state.d.ts +11 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { EventEmitter } from '@angular/core';
|
|
9
9
|
import { IdentifiableComponent } from '../../core';
|
|
10
|
-
import { DropdownEvent, DropdownHorizontalPosition, DropdownVerticalPosition } from '../../model';
|
|
10
|
+
import { DropdownEvent, DropdownHorizontalPosition, DropdownVerticalPosition, PopoverState } from '../../model';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* The ATX dropdown component allows to create popup containers that are displayed by clicking on a button.
|
|
@@ -39,6 +39,11 @@ export declare class DropdownComponent extends IdentifiableComponent {
|
|
|
39
39
|
* Sets the horizontal position of the content container.
|
|
40
40
|
*/
|
|
41
41
|
hPos: DropdownHorizontalPosition;
|
|
42
|
+
/**
|
|
43
|
+
* Indicates whether the content container can be "light dismissed" by selecting outside the popover area
|
|
44
|
+
* (`auto`), or not (`manual`).
|
|
45
|
+
*/
|
|
46
|
+
popoverState: PopoverState;
|
|
42
47
|
/**
|
|
43
48
|
* @private
|
|
44
49
|
*/
|
|
@@ -78,5 +83,5 @@ export declare class DropdownComponent extends IdentifiableComponent {
|
|
|
78
83
|
*/
|
|
79
84
|
private buildEvent;
|
|
80
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "atx-dropdown", never, { "buttonClass": { "alias": "buttonClass"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "vPos": { "alias": "vPos"; "required": false; }; "hPos": { "alias": "hPos"; "required": false; }; }, { "toggle": "toggle"; "beforeToggle": "beforeToggle"; }, never, ["*", "[content]"], true, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "atx-dropdown", never, { "buttonClass": { "alias": "buttonClass"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "vPos": { "alias": "vPos"; "required": false; }; "hPos": { "alias": "hPos"; "required": false; }; "popoverState": { "alias": "popoverState"; "required": false; }; }, { "toggle": "toggle"; "beforeToggle": "beforeToggle"; }, never, ["*", "[content]"], true, never>;
|
|
82
87
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Defines the "popover" state of the content container whithin dropdown component.
|
|
10
|
+
*/
|
|
11
|
+
export type PopoverState = "auto" | "manual";
|