@ohioepa/oepa-ui-lib 2.0.23 → 2.0.25
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/esm2022/lib/action-btn/action-btn.component.mjs +30 -3
- package/esm2022/lib/action-btn-modal/action-btn-modal.component.mjs +1 -1
- package/esm2022/lib/table/oepa-table-config.mjs +1 -1
- package/esm2022/lib/table/table-data-cell/table-data-cell.component.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +7 -7
- package/fesm2022/ohioepa-oepa-ui-lib.mjs +37 -10
- package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -1
- package/lib/action-btn/action-btn.component.d.ts +5 -1
- package/lib/masks/oepa-create-integer-mask.d.ts +1 -1
- package/lib/table/oepa-table-config.d.ts +2 -1
- package/ohioepa-oepa-ui-lib-2.0.25.tgz +0 -0
- package/package.json +1 -1
- package/ohioepa-oepa-ui-lib-2.0.23.tgz +0 -0
|
@@ -9,6 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class ActionBtnComponent {
|
|
10
10
|
private sanitizer;
|
|
11
11
|
busy: boolean;
|
|
12
|
+
effectiveDropup: boolean;
|
|
12
13
|
actionMenuItems: QueryList<ElementRef<HTMLAnchorElement>>;
|
|
13
14
|
/** Emits true when dropdown opens, false when closes */
|
|
14
15
|
dropdownOpenChange: EventEmitter<boolean>;
|
|
@@ -24,6 +25,8 @@ export declare class ActionBtnComponent {
|
|
|
24
25
|
normalSize: boolean;
|
|
25
26
|
/** dropup? */
|
|
26
27
|
dropup: boolean;
|
|
28
|
+
/** automatically open upward when there is not enough space below */
|
|
29
|
+
autoDropup: boolean;
|
|
27
30
|
/** Event emitted when an action is selected */
|
|
28
31
|
actionClicked: EventEmitter<OepaActionEvent>;
|
|
29
32
|
constructor(sanitizer: DomSanitizer);
|
|
@@ -35,9 +38,10 @@ export declare class ActionBtnComponent {
|
|
|
35
38
|
dropdownOpened(): void;
|
|
36
39
|
dropdownClosed(): void;
|
|
37
40
|
onToggleKeydown(event: KeyboardEvent): void;
|
|
41
|
+
updateDropDirection(): void;
|
|
38
42
|
onMenuKeydown(event: KeyboardEvent): void;
|
|
39
43
|
private getMenuItems;
|
|
40
44
|
private focusFirstOrLastItem;
|
|
41
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionBtnComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionBtnComponent, "oepa-action-btn", never, { "label": { "alias": "label"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "normalSize": { "alias": "normalSize"; "required": false; }; "dropup": { "alias": "dropup"; "required": false; }; }, { "dropdownOpenChange": "dropdownOpenChange"; "actionClicked": "actionClicked"; }, never, never, false, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionBtnComponent, "oepa-action-btn", never, { "label": { "alias": "label"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "normalSize": { "alias": "normalSize"; "required": false; }; "dropup": { "alias": "dropup"; "required": false; }; "autoDropup": { "alias": "autoDropup"; "required": false; }; }, { "dropdownOpenChange": "dropdownOpenChange"; "actionClicked": "actionClicked"; }, never, never, false, never>;
|
|
43
47
|
}
|
|
@@ -5,4 +5,4 @@ import { OepaIntegerMaskArgs } from './oepa-integer-mask-args';
|
|
|
5
5
|
* specified using args.
|
|
6
6
|
* @param args
|
|
7
7
|
*/
|
|
8
|
-
export declare function oepaCreateIntegerMask(args: OepaIntegerMaskArgs): (rawValue?: string) =>
|
|
8
|
+
export declare function oepaCreateIntegerMask(args: OepaIntegerMaskArgs): (rawValue?: string) => string[] | RegExp[];
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface OepaTableConfig {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Additional class name(s) for the div surrounding table.
|
|
7
|
+
* Horizontal scrolling support is applied automatically by the component.
|
|
7
8
|
*/
|
|
8
9
|
divClassName?: string;
|
|
9
10
|
/**
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|