monkey-front-components 0.0.293 → 0.0.294
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/components/shared/filter/filter.component.mjs +110 -0
- package/esm2020/lib/components/shared/filter/filter.module.mjs +63 -0
- package/esm2020/lib/components/shared/filter/index.mjs +3 -0
- package/esm2020/lib/components/shared/filter/menu/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/menu/menu.component.mjs +120 -0
- package/esm2020/lib/components/shared/filter/menu/menu.module.mjs +70 -0
- package/esm2020/lib/components/shared/filter/options/children/children.component.mjs +49 -0
- package/esm2020/lib/components/shared/filter/options/children/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/options/currency/currency.component.mjs +46 -0
- package/esm2020/lib/components/shared/filter/options/currency/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/options/date-range/date-range.component.mjs +65 -0
- package/esm2020/lib/components/shared/filter/options/date-range/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/options/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/options/options.component.mjs +67 -0
- package/esm2020/lib/components/shared/filter/options/options.module.mjs +90 -0
- package/esm2020/lib/components/shared/filter/options/status/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/options/status/status.component.mjs +66 -0
- package/esm2020/lib/components/shared/filter/selected/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/selected/item/children/children.component.mjs +56 -0
- package/esm2020/lib/components/shared/filter/selected/item/children/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/selected/item/currency/currency.component.mjs +29 -0
- package/esm2020/lib/components/shared/filter/selected/item/currency/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/selected/item/date-range/date-range.component.mjs +42 -0
- package/esm2020/lib/components/shared/filter/selected/item/date-range/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/selected/item/date-with-action/date-with-action.component.mjs +33 -0
- package/esm2020/lib/components/shared/filter/selected/item/date-with-action/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/selected/item/index.mjs +7 -0
- package/esm2020/lib/components/shared/filter/selected/item/item.component.mjs +73 -0
- package/esm2020/lib/components/shared/filter/selected/item/status/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/selected/item/status/status.component.mjs +39 -0
- package/esm2020/lib/components/shared/filter/selected/selected.component.mjs +80 -0
- package/esm2020/lib/components/shared/filter/selected/selected.module.mjs +88 -0
- package/esm2020/lib/components/shared/index.mjs +2 -1
- package/fesm2015/monkey-front-components.mjs +1074 -20
- package/fesm2015/monkey-front-components.mjs.map +1 -1
- package/fesm2020/monkey-front-components.mjs +1076 -20
- package/fesm2020/monkey-front-components.mjs.map +1 -1
- package/lib/components/shared/filter/filter.component.d.ts +29 -0
- package/lib/components/shared/filter/filter.module.d.ts +14 -0
- package/lib/components/shared/filter/index.d.ts +2 -0
- package/lib/components/shared/filter/menu/index.d.ts +1 -0
- package/lib/components/shared/filter/menu/menu.component.d.ts +24 -0
- package/lib/components/shared/filter/menu/menu.module.d.ts +14 -0
- package/lib/components/shared/filter/options/children/children.component.d.ts +17 -0
- package/lib/components/shared/filter/options/children/index.d.ts +1 -0
- package/lib/components/shared/filter/options/currency/currency.component.d.ts +17 -0
- package/lib/components/shared/filter/options/currency/index.d.ts +1 -0
- package/lib/components/shared/filter/options/date-range/date-range.component.d.ts +24 -0
- package/lib/components/shared/filter/options/date-range/index.d.ts +1 -0
- package/lib/components/shared/filter/options/index.d.ts +1 -0
- package/lib/components/shared/filter/options/options.component.d.ts +20 -0
- package/lib/components/shared/filter/options/options.module.d.ts +17 -0
- package/lib/components/shared/filter/options/status/index.d.ts +1 -0
- package/lib/components/shared/filter/options/status/status.component.d.ts +19 -0
- package/lib/components/shared/filter/selected/index.d.ts +1 -0
- package/lib/components/shared/filter/selected/item/children/children.component.d.ts +16 -0
- package/lib/components/shared/filter/selected/item/children/index.d.ts +1 -0
- package/lib/components/shared/filter/selected/item/currency/currency.component.d.ts +11 -0
- package/lib/components/shared/filter/selected/item/currency/index.d.ts +1 -0
- package/lib/components/shared/filter/selected/item/date-range/date-range.component.d.ts +12 -0
- package/lib/components/shared/filter/selected/item/date-range/index.d.ts +1 -0
- package/lib/components/shared/filter/selected/item/date-with-action/date-with-action.component.d.ts +11 -0
- package/lib/components/shared/filter/selected/item/date-with-action/index.d.ts +1 -0
- package/lib/components/shared/filter/selected/item/index.d.ts +6 -0
- package/lib/components/shared/filter/selected/item/item.component.d.ts +20 -0
- package/lib/components/shared/filter/selected/item/status/index.d.ts +1 -0
- package/lib/components/shared/filter/selected/item/status/status.component.d.ts +13 -0
- package/lib/components/shared/filter/selected/selected.component.d.ts +18 -0
- package/lib/components/shared/filter/selected/selected.module.d.ts +20 -0
- package/lib/components/shared/index.d.ts +1 -0
- package/monkey-front-components-0.0.294.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-components-0.0.293.tgz +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu, MonkeyEcxFilterOrder } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterComponent implements OnChanges {
|
|
5
|
+
menus: MonkeyEcxFilterMenu[];
|
|
6
|
+
orders: MonkeyEcxFilterOrder[];
|
|
7
|
+
set search(value: string);
|
|
8
|
+
set order(value: any);
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
onFilter: EventEmitter<any>;
|
|
11
|
+
_order: MonkeyEcxFilterOrder;
|
|
12
|
+
_search: string;
|
|
13
|
+
_showMenu: boolean;
|
|
14
|
+
_hasFilterByMenu: boolean;
|
|
15
|
+
_actionElement: HTMLElement;
|
|
16
|
+
closeMenu: () => void;
|
|
17
|
+
constructor();
|
|
18
|
+
private validateValue;
|
|
19
|
+
private handleFilters;
|
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
+
onSearchFilter(event: string): void;
|
|
22
|
+
onClearFilter(): void;
|
|
23
|
+
onHandleSubmit(event: any): void;
|
|
24
|
+
onHandleShowMenu(): void;
|
|
25
|
+
onHandleClose(): void;
|
|
26
|
+
onHandleOrder(event: any): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterComponent, "mecx-filter", never, { "menus": "menus"; "orders": "orders"; "search": "search"; "order": "order"; "isLoading": "isLoading"; }, { "onFilter": "onFilter"; }, never, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./filter.component";
|
|
3
|
+
import * as i2 from "monkey-front-core";
|
|
4
|
+
import * as i3 from "monkey-style-guide";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "./menu/menu.module";
|
|
7
|
+
import * as i6 from "./selected/selected.module";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
export declare class MECXFilterModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MECXFilterModule, [typeof i1.MECXFilterComponent], [typeof i2.MonkeyEcxDirectivesModule, typeof i2.MonkeyEcxPipesModule, typeof i3.MonkeyButtonModule, typeof i3.MonkeyInputModule, typeof i3.MonkeyIconModule, typeof i3.MonkeySelectModule, typeof i3.MonkeyOptionModule, typeof i4.TranslateModule, typeof i5.MECXFilterMenuModule, typeof i6.MECXFilterSelectedModule, typeof i7.CommonModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule], [typeof i1.MECXFilterComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MECXFilterModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './menu.module';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu, MonkeyEcxFilterMenuChildren } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterMenuComponent implements OnChanges {
|
|
5
|
+
model: MonkeyEcxFilterMenu[];
|
|
6
|
+
onClose: EventEmitter<any>;
|
|
7
|
+
onSubmit: EventEmitter<any>;
|
|
8
|
+
_onHandleSubmit: Function;
|
|
9
|
+
_model: MonkeyEcxFilterMenu[];
|
|
10
|
+
_showMenu: boolean;
|
|
11
|
+
_menuOption: MonkeyEcxFilterMenu | MonkeyEcxFilterMenuChildren;
|
|
12
|
+
closeMenu: () => void;
|
|
13
|
+
constructor();
|
|
14
|
+
private validateValue;
|
|
15
|
+
private onHandleSubmitValue;
|
|
16
|
+
private onHandleMenus;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
+
onHandleChildrenAction(option: MonkeyEcxFilterMenu, child: MonkeyEcxFilterMenuChildren): void;
|
|
19
|
+
onHandleShowMenu(option: MonkeyEcxFilterMenu): void;
|
|
20
|
+
onHandleClose(): void;
|
|
21
|
+
onHandleSubmit(event: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterMenuComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterMenuComponent, "mecx-filter-menu", never, { "model": "model"; }, { "onClose": "onClose"; "onSubmit": "onSubmit"; }, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./menu.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "monkey-front-core";
|
|
6
|
+
import * as i5 from "monkey-style-guide";
|
|
7
|
+
import * as i6 from "@angular/router";
|
|
8
|
+
import * as i7 from "../options/options.module";
|
|
9
|
+
import * as i8 from "@ngx-translate/core";
|
|
10
|
+
export declare class MECXFilterMenuModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterMenuModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MECXFilterMenuModule, [typeof i1.MECXFilterMenuComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MonkeyEcxDirectivesModule, typeof i5.MonkeyButtonModule, typeof i5.MonkeyBadgeModule, typeof i5.MonkeyIconModule, typeof i5.MonkeyInputModule, typeof i5.MonkeyCheckboxModule, typeof i5.MonkeySelectModule, typeof i5.MonkeyOptionModule, typeof i5.MonkeyDateRangePickerModule, typeof i6.RouterModule, typeof i7.MECXFilterOptionsModule, typeof i8.TranslateModule], [typeof i1.MECXFilterMenuComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MECXFilterMenuModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterOptionsChildrenComponent implements OnInit, OnDestroy {
|
|
5
|
+
option: MonkeyEcxFilterMenu;
|
|
6
|
+
onSubmit: EventEmitter<any>;
|
|
7
|
+
onShow: EventEmitter<any>;
|
|
8
|
+
private eventHandle;
|
|
9
|
+
private eventSubscription;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
onHandleChildrenAction(child: any): void;
|
|
14
|
+
onHandleValidateSelected({ field, getValue }: any): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterOptionsChildrenComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterOptionsChildrenComponent, "mecx-filter-options-children", never, { "option": "option"; }, { "onSubmit": "onSubmit"; "onShow": "onShow"; }, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './children.component';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterOptionsCurrencyComponent implements OnInit, OnChanges, OnDestroy {
|
|
5
|
+
option: MonkeyEcxFilterMenu;
|
|
6
|
+
onSubmit: EventEmitter<any>;
|
|
7
|
+
_value: number;
|
|
8
|
+
private eventHandle;
|
|
9
|
+
private eventSubscription;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
+
onChangeFilter(value: number): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterOptionsCurrencyComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterOptionsCurrencyComponent, "mecx-filter-options-currency", never, { "option": "option"; }, { "onSubmit": "onSubmit"; }, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './currency.component';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { MonkeyEcxFilterMenu, MonkeyEcxFilterMenuChildren } from 'monkey-front-core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MECXFilterOptionsDateRangeComponent implements OnInit, OnChanges, OnDestroy {
|
|
6
|
+
option: MonkeyEcxFilterMenu | MonkeyEcxFilterMenuChildren;
|
|
7
|
+
onSubmit: EventEmitter<any>;
|
|
8
|
+
_value: any;
|
|
9
|
+
_form: FormGroup;
|
|
10
|
+
_moveDaysForward: boolean;
|
|
11
|
+
private eventHandle;
|
|
12
|
+
private eventSubscription;
|
|
13
|
+
constructor();
|
|
14
|
+
private onHandleSelectedValue;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
+
onChangeFilter(value: {
|
|
19
|
+
startDate: string;
|
|
20
|
+
endDate: string;
|
|
21
|
+
}): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterOptionsDateRangeComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterOptionsDateRangeComponent, "mecx-filter-options-date-range", never, { "option": "option"; }, { "onSubmit": "onSubmit"; }, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './date-range.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './options.module';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu, MonkeyEcxFilterMenuChildren } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterOptionsComponent {
|
|
5
|
+
option: MonkeyEcxFilterMenu;
|
|
6
|
+
closeDirectly: boolean;
|
|
7
|
+
onClose: EventEmitter<any>;
|
|
8
|
+
onRemove: EventEmitter<any>;
|
|
9
|
+
onSubmit: EventEmitter<any>;
|
|
10
|
+
onShowFromChildren: EventEmitter<any>;
|
|
11
|
+
_showMenu: boolean;
|
|
12
|
+
closeMenu: () => void;
|
|
13
|
+
constructor();
|
|
14
|
+
onHandleChildrenAction(child: MonkeyEcxFilterMenuChildren): void;
|
|
15
|
+
onHandleSubmitChildren(event: any): void;
|
|
16
|
+
onHandleSubmit(event: any): void;
|
|
17
|
+
onHandleShowMenu(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterOptionsComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterOptionsComponent, "mecx-filter-options", never, { "option": "option"; "closeDirectly": "closeDirectly"; }, { "onClose": "onClose"; "onRemove": "onRemove"; "onSubmit": "onSubmit"; "onShowFromChildren": "onShowFromChildren"; }, never, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./options.component";
|
|
3
|
+
import * as i2 from "./status/status.component";
|
|
4
|
+
import * as i3 from "./date-range/date-range.component";
|
|
5
|
+
import * as i4 from "./currency/currency.component";
|
|
6
|
+
import * as i5 from "./children/children.component";
|
|
7
|
+
import * as i6 from "monkey-front-core";
|
|
8
|
+
import * as i7 from "monkey-style-guide";
|
|
9
|
+
import * as i8 from "@angular/router";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "@angular/forms";
|
|
12
|
+
import * as i11 from "@ngx-translate/core";
|
|
13
|
+
export declare class MECXFilterOptionsModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterOptionsModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MECXFilterOptionsModule, [typeof i1.MECXFilterOptionsComponent, typeof i2.MECXFilterOptionsStatusComponent, typeof i3.MECXFilterOptionsDateRangeComponent, typeof i4.MECXFilterOptionsCurrencyComponent, typeof i5.MECXFilterOptionsChildrenComponent], [typeof i6.MonkeyEcxDirectivesModule, typeof i7.MonkeyButtonModule, typeof i7.MonkeyBadgeModule, typeof i7.MonkeyIconModule, typeof i7.MonkeyInputModule, typeof i7.MonkeyCheckboxModule, typeof i7.MonkeySelectModule, typeof i7.MonkeyOptionModule, typeof i7.MonkeyDateRangePickerModule, typeof i8.RouterModule, typeof i9.CommonModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.TranslateModule], [typeof i1.MECXFilterOptionsComponent, typeof i2.MECXFilterOptionsStatusComponent, typeof i3.MECXFilterOptionsDateRangeComponent, typeof i4.MECXFilterOptionsCurrencyComponent, typeof i5.MECXFilterOptionsChildrenComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MECXFilterOptionsModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './status.component';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterOptionsStatusComponent implements OnInit, OnChanges, OnDestroy {
|
|
5
|
+
option: MonkeyEcxFilterMenu;
|
|
6
|
+
onSubmit: EventEmitter<any>;
|
|
7
|
+
_value: string;
|
|
8
|
+
private eventHandle;
|
|
9
|
+
private eventSubscription;
|
|
10
|
+
constructor();
|
|
11
|
+
private verifySelected;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
+
onHandleChecked(cmp: string): boolean;
|
|
16
|
+
onChangeFilter(event: any, value: string): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterOptionsStatusComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterOptionsStatusComponent, "mecx-filter-options-status", never, { "option": "option"; }, { "onSubmit": "onSubmit"; }, never, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selected.module';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterSelectedItemChildrenComponent implements OnChanges {
|
|
5
|
+
private elRef;
|
|
6
|
+
option: MonkeyEcxFilterMenu;
|
|
7
|
+
onShow: EventEmitter<any>;
|
|
8
|
+
onRemove: EventEmitter<any>;
|
|
9
|
+
_child: any;
|
|
10
|
+
constructor(elRef: ElementRef);
|
|
11
|
+
private validateValue;
|
|
12
|
+
private onHandleSelectedValue;
|
|
13
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedItemChildrenComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterSelectedItemChildrenComponent, "mecx-filter-selected-item-children", never, { "option": "option"; }, { "onShow": "onShow"; "onRemove": "onRemove"; }, never, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './children.component';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterSelectedItemCurrencyComponent implements OnChanges {
|
|
5
|
+
option: MonkeyEcxFilterMenu;
|
|
6
|
+
_value: any;
|
|
7
|
+
private onHandleSelectedValue;
|
|
8
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedItemCurrencyComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterSelectedItemCurrencyComponent, "mecx-filter-selected-item-currency", never, { "option": "option"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './currency.component';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu, MonkeyEcxFilterMenuChildren } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterSelectedItemDateRangeComponent implements OnChanges {
|
|
5
|
+
option: MonkeyEcxFilterMenu | MonkeyEcxFilterMenuChildren;
|
|
6
|
+
_startDate: string;
|
|
7
|
+
_endDate: string;
|
|
8
|
+
private onHandleSelectedValue;
|
|
9
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedItemDateRangeComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterSelectedItemDateRangeComponent, "mecx-filter-selected-item-date-range", never, { "option": "option"; }, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './date-range.component';
|
package/lib/components/shared/filter/selected/item/date-with-action/date-with-action.component.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenuChildren } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterSelectedItemDateWithActionComponent implements OnChanges {
|
|
5
|
+
option: MonkeyEcxFilterMenuChildren;
|
|
6
|
+
_date: string;
|
|
7
|
+
private onHandleSelectedValue;
|
|
8
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedItemDateWithActionComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterSelectedItemDateWithActionComponent, "mecx-filter-selected-item-date-with-action", never, { "option": "option"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './date-with-action.component';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterSelectedItemComponent {
|
|
5
|
+
set option(value: MonkeyEcxFilterMenu);
|
|
6
|
+
onClose: EventEmitter<any>;
|
|
7
|
+
onSubmit: EventEmitter<any>;
|
|
8
|
+
_option: MonkeyEcxFilterMenu;
|
|
9
|
+
_showMenu: boolean;
|
|
10
|
+
_actionElement: HTMLElement;
|
|
11
|
+
closeMenu: () => void;
|
|
12
|
+
constructor();
|
|
13
|
+
onHandleShowMenu(): void;
|
|
14
|
+
onHandleClose(): void;
|
|
15
|
+
onHandleSubmit(event: any): void;
|
|
16
|
+
onHandleRemove(): void;
|
|
17
|
+
onHandleShowFromChildren(event: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedItemComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterSelectedItemComponent, "mecx-filter-selected-item", never, { "option": "option"; }, { "onClose": "onClose"; "onSubmit": "onSubmit"; }, never, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './status.component';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterSelectedItemStatusComponent implements OnChanges {
|
|
5
|
+
option: MonkeyEcxFilterMenu;
|
|
6
|
+
labelMoreValues: string;
|
|
7
|
+
_selectedValue: string;
|
|
8
|
+
_labelMoreValues: string;
|
|
9
|
+
private onHandleSelectedValue;
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedItemStatusComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterSelectedItemStatusComponent, "mecx-filter-selected-item-status", never, { "option": "option"; "labelMoreValues": "labelMoreValues"; }, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFilterMenu } from 'monkey-front-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MECXFilterSelectedComponent implements OnChanges {
|
|
5
|
+
model: MonkeyEcxFilterMenu[];
|
|
6
|
+
onOpenFilters: EventEmitter<any>;
|
|
7
|
+
onClose: EventEmitter<any>;
|
|
8
|
+
onSubmit: EventEmitter<any>;
|
|
9
|
+
_model: MonkeyEcxFilterMenu[];
|
|
10
|
+
constructor();
|
|
11
|
+
private validateValue;
|
|
12
|
+
private onHandleSelectedValue;
|
|
13
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
+
onHandleClose(): void;
|
|
15
|
+
onHandleSubmit(event: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterSelectedComponent, "mecx-filter-selected", never, { "model": "model"; }, { "onOpenFilters": "onOpenFilters"; "onClose": "onClose"; "onSubmit": "onSubmit"; }, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./selected.component";
|
|
3
|
+
import * as i2 from "./item/item.component";
|
|
4
|
+
import * as i3 from "./item/currency/currency.component";
|
|
5
|
+
import * as i4 from "./item/date-range/date-range.component";
|
|
6
|
+
import * as i5 from "./item/status/status.component";
|
|
7
|
+
import * as i6 from "./item/date-with-action/date-with-action.component";
|
|
8
|
+
import * as i7 from "./item/children/children.component";
|
|
9
|
+
import * as i8 from "monkey-front-core";
|
|
10
|
+
import * as i9 from "monkey-style-guide";
|
|
11
|
+
import * as i10 from "@angular/router";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "@angular/forms";
|
|
14
|
+
import * as i13 from "../options/options.module";
|
|
15
|
+
import * as i14 from "@ngx-translate/core";
|
|
16
|
+
export declare class MECXFilterSelectedModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MECXFilterSelectedModule, [typeof i1.MECXFilterSelectedComponent, typeof i2.MECXFilterSelectedItemComponent, typeof i3.MECXFilterSelectedItemCurrencyComponent, typeof i4.MECXFilterSelectedItemDateRangeComponent, typeof i5.MECXFilterSelectedItemStatusComponent, typeof i6.MECXFilterSelectedItemDateWithActionComponent, typeof i7.MECXFilterSelectedItemChildrenComponent], [typeof i8.MonkeyEcxPipesModule, typeof i8.MonkeyEcxDirectivesModule, typeof i9.MonkeyButtonModule, typeof i9.MonkeyBadgeModule, typeof i9.MonkeyIconModule, typeof i9.MonkeyInputModule, typeof i9.MonkeyCheckboxModule, typeof i9.MonkeySelectModule, typeof i9.MonkeyOptionModule, typeof i9.MonkeyDateRangePickerModule, typeof i10.RouterModule, typeof i11.CommonModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.MECXFilterOptionsModule, typeof i14.TranslateModule], [typeof i1.MECXFilterSelectedComponent]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MECXFilterSelectedModule>;
|
|
20
|
+
}
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|