monkey-front-core 0.0.147 → 0.0.150
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/core/pipes/index.mjs +3 -1
- package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +38 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +2 -2
- package/esm2020/lib/core/pipes/monkeyecx-format-date-unix-timelapse.mjs +36 -0
- package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +14 -4
- package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +11 -3
- package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +6 -2
- package/esm2020/lib/monkey-front-core.module.mjs +6 -6
- package/fesm2015/monkey-front-core.mjs +373 -40
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +369 -40
- 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/core/pipes/index.d.ts +2 -0
- package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +8 -0
- package/lib/core/pipes/monkeyecx-format-date-unix-timelapse.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-pipes.module.d.ts +3 -1
- package/lib/monkey-front-core.module.d.ts +4 -4
- package/monkey-front-core-0.0.150.tgz +0 -0
- package/package.json +2 -1
- package/monkey-front-core-0.0.147.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
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from './monkeyecx-display-first-name';
|
|
2
2
|
export * from './monkeyecx-format-address';
|
|
3
|
+
export * from './monkeyecx-format-beautify-json';
|
|
3
4
|
export * from './monkeyecx-format-currency';
|
|
4
5
|
export * from './monkeyecx-format-date-timelapse';
|
|
6
|
+
export * from './monkeyecx-format-date-unix-timelapse';
|
|
5
7
|
export * from './monkeyecx-format-date-group';
|
|
6
8
|
export * from './monkeyecx-format-document';
|
|
7
9
|
export * from './monkeyecx-format-number';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MonkeyEcxFormatBeaufityJSONPipe implements PipeTransform {
|
|
4
|
+
constructor();
|
|
5
|
+
transform(value: any): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxFormatBeaufityJSONPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MonkeyEcxFormatBeaufityJSONPipe, "monkeyecxFormatBeautifyJSON">;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MonkeyEcxFormatDateUnixTimelapsePipe implements PipeTransform {
|
|
4
|
+
transform(date: any | Date, showTime?: boolean, useUtc?: boolean, format?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxFormatDateUnixTimelapsePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MonkeyEcxFormatDateUnixTimelapsePipe, "monkeyecxFormatDateUnixTimelapse">;
|
|
7
|
+
}
|
|
@@ -14,8 +14,10 @@ import * as i12 from "./monkeyecx-format-value";
|
|
|
14
14
|
import * as i13 from "./monkeyecx-format-zipcode";
|
|
15
15
|
import * as i14 from "./monkeyecx-text-truncate";
|
|
16
16
|
import * as i15 from "./monkeyecx-truncate-qtd";
|
|
17
|
+
import * as i16 from "./monkeyecx-format-beautify-json";
|
|
18
|
+
import * as i17 from "./monkeyecx-format-date-unix-timelapse";
|
|
17
19
|
export declare class MonkeyEcxPipesModule {
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxPipesModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxPipesModule, [typeof i1.MonkeyEcxDisplayFirstNamePipe, typeof i2.MonkeyEcxFormatAddressPipe, typeof i3.MonkeyEcxFormatCurrencyPipe, typeof i4.MonkeyEcxFormatDateTimelapsePipe, typeof i5.MonkeyEcxFormatDateGroupPipe, typeof i6.MonkeyEcxFormatDocumentPipe, typeof i7.MonkeyEcxFormatNumberPipe, typeof i8.MonkeyEcxFormatPhonePipe, typeof i9.MonkeyEcxFormatSizePipe, typeof i10.MonkeyEcxFormatTaxPipe, typeof i11.MonkeyEcxFormatDocumentTypePipe, typeof i12.MonkeyEcxFormatValue, typeof i13.MonkeyEcxFormatZipCodePipe, typeof i14.MonkeyEcxTextTruncatePipe, typeof i15.MonkeyEcxTruncateQtdPipe], never, [typeof i1.MonkeyEcxDisplayFirstNamePipe, typeof i2.MonkeyEcxFormatAddressPipe, typeof i3.MonkeyEcxFormatCurrencyPipe, typeof i4.MonkeyEcxFormatDateTimelapsePipe, typeof i5.MonkeyEcxFormatDateGroupPipe, typeof i6.MonkeyEcxFormatDocumentPipe, typeof i7.MonkeyEcxFormatNumberPipe, typeof i8.MonkeyEcxFormatPhonePipe, typeof i9.MonkeyEcxFormatSizePipe, typeof i10.MonkeyEcxFormatTaxPipe, typeof i11.MonkeyEcxFormatDocumentTypePipe, typeof i12.MonkeyEcxFormatValue, typeof i13.MonkeyEcxFormatZipCodePipe, typeof i14.MonkeyEcxTextTruncatePipe, typeof i15.MonkeyEcxTruncateQtdPipe]>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxPipesModule, [typeof i1.MonkeyEcxDisplayFirstNamePipe, typeof i2.MonkeyEcxFormatAddressPipe, typeof i3.MonkeyEcxFormatCurrencyPipe, typeof i4.MonkeyEcxFormatDateTimelapsePipe, typeof i5.MonkeyEcxFormatDateGroupPipe, typeof i6.MonkeyEcxFormatDocumentPipe, typeof i7.MonkeyEcxFormatNumberPipe, typeof i8.MonkeyEcxFormatPhonePipe, typeof i9.MonkeyEcxFormatSizePipe, typeof i10.MonkeyEcxFormatTaxPipe, typeof i11.MonkeyEcxFormatDocumentTypePipe, typeof i12.MonkeyEcxFormatValue, typeof i13.MonkeyEcxFormatZipCodePipe, typeof i14.MonkeyEcxTextTruncatePipe, typeof i15.MonkeyEcxTruncateQtdPipe, typeof i16.MonkeyEcxFormatBeaufityJSONPipe, typeof i17.MonkeyEcxFormatDateUnixTimelapsePipe], never, [typeof i1.MonkeyEcxDisplayFirstNamePipe, typeof i2.MonkeyEcxFormatAddressPipe, typeof i3.MonkeyEcxFormatCurrencyPipe, typeof i4.MonkeyEcxFormatDateTimelapsePipe, typeof i5.MonkeyEcxFormatDateGroupPipe, typeof i6.MonkeyEcxFormatDocumentPipe, typeof i7.MonkeyEcxFormatNumberPipe, typeof i8.MonkeyEcxFormatPhonePipe, typeof i9.MonkeyEcxFormatSizePipe, typeof i10.MonkeyEcxFormatTaxPipe, typeof i11.MonkeyEcxFormatDocumentTypePipe, typeof i12.MonkeyEcxFormatValue, typeof i13.MonkeyEcxFormatZipCodePipe, typeof i14.MonkeyEcxTextTruncatePipe, typeof i15.MonkeyEcxTruncateQtdPipe, typeof i16.MonkeyEcxFormatBeaufityJSONPipe, typeof i17.MonkeyEcxFormatDateUnixTimelapsePipe]>;
|
|
20
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyEcxPipesModule>;
|
|
21
23
|
}
|
|
@@ -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
|