monkey-front-core 0.0.148 → 0.0.149
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/esm2020/lib/core/directives/index.mjs +3 -1
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +19 -6
- package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +39 -0
- package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +198 -0
- package/esm2020/lib/monkey-front-core.module.mjs +6 -6
- package/fesm2015/monkey-front-core.mjs +265 -20
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +261 -20
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/directives/index.d.ts +2 -0
- package/lib/core/directives/monkeyecx-directives-module.d.ts +5 -1
- package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +19 -0
- package/lib/core/directives/monkeyecx-popover.directive.d.ts +38 -0
- package/lib/monkey-front-core.module.d.ts +4 -4
- package/monkey-front-core-0.0.149.tgz +0 -0
- package/package.json +2 -1
- package/monkey-front-core-0.0.148.tgz +0 -0
|
@@ -3,6 +3,8 @@ export * from './monkeyecx-format-currency';
|
|
|
3
3
|
export * from './monkeyecx-format-upper';
|
|
4
4
|
export * from './monkeyecx-only-alpha-numeric-directive';
|
|
5
5
|
export * from './monkeyecx-only-number-directive';
|
|
6
|
+
export * from './monkeyecx-popover-options.directive';
|
|
7
|
+
export * from './monkeyecx-popover.directive';
|
|
6
8
|
export * from './monkeyecx-security-directive';
|
|
7
9
|
export * from './monkeyecx-tooltip-directive';
|
|
8
10
|
export * from './monkeyecx-directives-module';
|
|
@@ -7,8 +7,12 @@ import * as i5 from "./monkeyecx-only-alpha-numeric-directive";
|
|
|
7
7
|
import * as i6 from "./monkeyecx-only-number-directive";
|
|
8
8
|
import * as i7 from "./monkeyecx-security-directive";
|
|
9
9
|
import * as i8 from "./monkeyecx-tooltip-directive";
|
|
10
|
+
import * as i9 from "./monkeyecx-popover.directive";
|
|
11
|
+
import * as i10 from "./monkeyecx-popover-options.directive";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "@angular/cdk/overlay";
|
|
10
14
|
export declare class MonkeyEcxDirectivesModule {
|
|
11
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxDirectivesModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxDirectivesModule, [typeof i1.MonkeyEcxDragDropDirective, typeof i2.MonkeyEcxFormatCurrency, typeof i3.MonkeyEcxFeatureDirective, typeof i4.MonkeyEcxFormatUpper, typeof i5.MonkeyEcxOnlyAlphaNumericDirective, typeof i6.MonkeyEcxOnlyNumbersDirective, typeof i7.MonkeyEcxSecurityDirective, typeof i8.MonkeyEcxTooltipDirective],
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxDirectivesModule, [typeof i1.MonkeyEcxDragDropDirective, typeof i2.MonkeyEcxFormatCurrency, typeof i3.MonkeyEcxFeatureDirective, typeof i4.MonkeyEcxFormatUpper, typeof i5.MonkeyEcxOnlyAlphaNumericDirective, typeof i6.MonkeyEcxOnlyNumbersDirective, typeof i7.MonkeyEcxSecurityDirective, typeof i8.MonkeyEcxTooltipDirective, typeof i9.MonkeyEcxPopoverDirective, typeof i10.MonkeyEcxPopoverOptionsDirective], [typeof i11.CommonModule, typeof i12.OverlayModule], [typeof i1.MonkeyEcxDragDropDirective, typeof i2.MonkeyEcxFormatCurrency, typeof i3.MonkeyEcxFeatureDirective, typeof i4.MonkeyEcxFormatUpper, typeof i5.MonkeyEcxOnlyAlphaNumericDirective, typeof i6.MonkeyEcxOnlyNumbersDirective, typeof i7.MonkeyEcxSecurityDirective, typeof i8.MonkeyEcxTooltipDirective, typeof i9.MonkeyEcxPopoverDirective, typeof i10.MonkeyEcxPopoverOptionsDirective]>;
|
|
13
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyEcxDirectivesModule>;
|
|
14
18
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const POPOVER_OPTIONS: InjectionToken<unknown>;
|
|
4
|
+
export declare type PopoverDir = 'rtl' | 'ltr' | 'trtl' | 'tltr' | 'ct' | 'cc' | 'cr' | 'rt' | 'rb' | 'lt' | 'lb';
|
|
5
|
+
export interface MonkeyEcxPopoverOptions {
|
|
6
|
+
dir?: PopoverDir;
|
|
7
|
+
minwidth?: boolean;
|
|
8
|
+
backdrop?: boolean;
|
|
9
|
+
contextmenu?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class MonkeyEcxPopoverOptionsDirective implements MonkeyEcxPopoverOptions {
|
|
12
|
+
set options(options: MonkeyEcxPopoverOptions);
|
|
13
|
+
minwidth?: boolean;
|
|
14
|
+
dir?: PopoverDir;
|
|
15
|
+
backdrop?: boolean;
|
|
16
|
+
contextmenu?: boolean;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxPopoverOptionsDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyEcxPopoverOptionsDirective, "[monkeyecxPopoverOptions]", never, { "options": "monkeyecxPopoverOptions"; }, {}, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ConnectedPosition, FlexibleConnectedPositionStrategyOrigin, Overlay, OverlayPositionBuilder } from '@angular/cdk/overlay';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import type { PopoverDir, MonkeyEcxPopoverOptions } from './monkeyecx-popover-options.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MonkeyEcxPopoverDirective implements OnDestroy {
|
|
6
|
+
private tpl;
|
|
7
|
+
private vcr;
|
|
8
|
+
private el;
|
|
9
|
+
private zone;
|
|
10
|
+
private _viewContainerRef;
|
|
11
|
+
private _cd;
|
|
12
|
+
private overlay;
|
|
13
|
+
private overlayPositionBuilder;
|
|
14
|
+
private options;
|
|
15
|
+
private _popover;
|
|
16
|
+
get popover(): boolean;
|
|
17
|
+
set popover(show: boolean);
|
|
18
|
+
closed: (e: MouseEvent) => void;
|
|
19
|
+
private _target;
|
|
20
|
+
get target(): HTMLElement;
|
|
21
|
+
set target(target: HTMLElement);
|
|
22
|
+
minwidth: boolean;
|
|
23
|
+
backdrop: boolean;
|
|
24
|
+
watch: boolean;
|
|
25
|
+
dir: PopoverDir;
|
|
26
|
+
contextmenu: boolean;
|
|
27
|
+
height: number | string;
|
|
28
|
+
private overlayRef;
|
|
29
|
+
private positionStrategy;
|
|
30
|
+
private templatePortal;
|
|
31
|
+
private subs;
|
|
32
|
+
constructor(tpl: TemplateRef<any>, vcr: ViewContainerRef, el: ElementRef, zone: NgZone, _viewContainerRef: ViewContainerRef, _cd: ChangeDetectorRef, overlay: Overlay, overlayPositionBuilder: OverlayPositionBuilder, options: MonkeyEcxPopoverOptions);
|
|
33
|
+
getDirPositions(dir?: PopoverDir): ConnectedPosition[];
|
|
34
|
+
createPopover(origin?: FlexibleConnectedPositionStrategyOrigin, options?: MonkeyEcxPopoverOptions): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxPopoverDirective, [null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyEcxPopoverDirective, "[monkeyecxPopover]", never, { "popover": "monkeyecxPopover"; "closed": "monkeyecxPopoverClosed"; "target": "monkeyecxPopoverTarget"; "minwidth": "monkeyecxPopoverMinwidth"; "backdrop": "monkeyecxPopoverBackdrop"; "watch": "monkeyecxPopoverWatch"; "dir": "monkeyecxPopoverDir"; "contextmenu": "monkeyecxPopoverContextmenu"; "height": "monkeyecxPopoverHeight"; }, {}, never>;
|
|
38
|
+
}
|
|
@@ -9,8 +9,8 @@ import * as i7 from "monkey-style-guide";
|
|
|
9
9
|
import * as i8 from "@angular/service-worker";
|
|
10
10
|
import * as i9 from "./components/closed-to-maintenance/closed-to-maintenance.module";
|
|
11
11
|
import * as i10 from "./components/version-changed/version-changed.module";
|
|
12
|
-
export declare class
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
12
|
+
export declare class MonkeyFrontCoreModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFrontCoreModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyFrontCoreModule, never, [typeof i1.CommonModule, typeof i2.HttpClientModule, typeof i3.TranslateModule, typeof i4.MonkeyEcxConfigModule, typeof i5.MonkeyEcxHttpConfigInterceptorModule, typeof i6.MonkeyEcxErrorHandlingModule, typeof i7.MonkeyStyleGuideModule, typeof i8.ServiceWorkerModule, typeof i9.ClosedToMaintenanceModule, typeof i10.VersionChangedModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyFrontCoreModule>;
|
|
16
16
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|