monkey-front-components 0.0.784 → 0.0.786
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/base/base-validators.mjs +8 -2
- package/esm2020/lib/components/shared/filter/options/options.component.mjs +7 -6
- package/esm2020/lib/components/shared/filter/options/options.module.mjs +13 -8
- package/esm2020/lib/components/shared/filter/options/value-range/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/options/value-range/value-range.component.mjs +119 -0
- package/esm2020/lib/components/shared/filter/selected/item/index.mjs +2 -1
- package/esm2020/lib/components/shared/filter/selected/item/item.component.mjs +12 -11
- package/esm2020/lib/components/shared/filter/selected/item/value-range/index.mjs +2 -0
- package/esm2020/lib/components/shared/filter/selected/item/value-range/value-range.component.mjs +48 -0
- package/esm2020/lib/components/shared/filter/selected/selected.module.mjs +12 -9
- package/fesm2015/monkey-front-components.mjs +200 -32
- package/fesm2015/monkey-front-components.mjs.map +1 -1
- package/fesm2020/monkey-front-components.mjs +198 -32
- package/fesm2020/monkey-front-components.mjs.map +1 -1
- package/lib/components/shared/filter/options/options.module.d.ts +8 -7
- package/lib/components/shared/filter/options/value-range/index.d.ts +1 -0
- package/lib/components/shared/filter/options/value-range/value-range.component.d.ts +24 -0
- package/lib/components/shared/filter/selected/item/index.d.ts +1 -0
- package/lib/components/shared/filter/selected/item/value-range/index.d.ts +1 -0
- package/lib/components/shared/filter/selected/item/value-range/value-range.component.d.ts +13 -0
- package/lib/components/shared/filter/selected/selected.module.d.ts +13 -12
- package/monkey-front-components-0.0.786.tgz +0 -0
- package/package.json +2 -2
- package/monkey-front-components-0.0.784.tgz +0 -0
|
@@ -6,14 +6,15 @@ import * as i4 from "./date-range/date-range.component";
|
|
|
6
6
|
import * as i5 from "./input/input.component";
|
|
7
7
|
import * as i6 from "./status/status.component";
|
|
8
8
|
import * as i7 from "./status-radio/status-radio.component";
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "@angular/
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "monkey-
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "@
|
|
9
|
+
import * as i8 from "./value-range/value-range.component";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "@angular/forms";
|
|
12
|
+
import * as i11 from "monkey-style-guide";
|
|
13
|
+
import * as i12 from "monkey-front-core";
|
|
14
|
+
import * as i13 from "@angular/router";
|
|
15
|
+
import * as i14 from "@ngx-translate/core";
|
|
15
16
|
export declare class MECXFilterOptionsModule {
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterOptionsModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MECXFilterOptionsModule, [typeof i1.MECXFilterOptionsChildrenComponent, typeof i2.MECXFilterOptionsComponent, typeof i3.MECXFilterOptionsCurrencyComponent, typeof i4.MECXFilterOptionsDateRangeComponent, typeof i5.MECXFilterOptionsInputComponent, typeof i6.MECXFilterOptionsStatusComponent, typeof i7.MECXFilterOptionsStatusRadioComponent], [typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MECXFilterOptionsModule, [typeof i1.MECXFilterOptionsChildrenComponent, typeof i2.MECXFilterOptionsComponent, typeof i3.MECXFilterOptionsCurrencyComponent, typeof i4.MECXFilterOptionsDateRangeComponent, typeof i5.MECXFilterOptionsInputComponent, typeof i6.MECXFilterOptionsStatusComponent, typeof i7.MECXFilterOptionsStatusRadioComponent, typeof i8.MECXFilterOptionsValueRangeComponent], [typeof i9.CommonModule, typeof i10.FormsModule, typeof i11.MonkeyBadgeModule, typeof i11.MonkeyButtonModule, typeof i11.MonkeyCheckboxModule, typeof i11.MonkeyRadioButtonModule, typeof i11.MonkeyDateRangePickerModule, typeof i12.MonkeyEcxDirectivesModule, typeof i11.MonkeyIconModule, typeof i11.MonkeyInputModule, typeof i11.MonkeyOptionModule, typeof i11.MonkeySelectModule, typeof i10.ReactiveFormsModule, typeof i13.RouterModule, typeof i14.TranslateModule], [typeof i1.MECXFilterOptionsChildrenComponent, typeof i2.MECXFilterOptionsComponent, typeof i3.MECXFilterOptionsCurrencyComponent, typeof i4.MECXFilterOptionsDateRangeComponent, typeof i5.MECXFilterOptionsInputComponent, typeof i6.MECXFilterOptionsStatusComponent, typeof i7.MECXFilterOptionsStatusRadioComponent, typeof i8.MECXFilterOptionsValueRangeComponent]>;
|
|
18
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<MECXFilterOptionsModule>;
|
|
19
20
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './value-range.component';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { MonkeyEcxFilterMenu } from 'monkey-front-core';
|
|
4
|
+
import { BaseComponent } from '../../../../base/base-component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MECXFilterOptionsValueRangeComponent extends BaseComponent implements AfterViewInit, OnChanges {
|
|
7
|
+
option: MonkeyEcxFilterMenu;
|
|
8
|
+
onSubmit: EventEmitter<any>;
|
|
9
|
+
_max: string;
|
|
10
|
+
_min: string;
|
|
11
|
+
_form: FormGroup;
|
|
12
|
+
_selected: string;
|
|
13
|
+
_hasValue: boolean;
|
|
14
|
+
private eventHandle;
|
|
15
|
+
constructor();
|
|
16
|
+
private bindValidations;
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
onChooseOption(value: string): void;
|
|
20
|
+
onClearAllInputs(): void;
|
|
21
|
+
onApplyFilter(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterOptionsValueRangeComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterOptionsValueRangeComponent, "mecx-filter-options-value-range", never, { "option": "option"; }, { "onSubmit": "onSubmit"; }, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './value-range.component';
|
|
@@ -0,0 +1,13 @@
|
|
|
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 MECXFilterSelectedItemValueRangeComponent implements OnChanges {
|
|
5
|
+
option: MonkeyEcxFilterMenu | MonkeyEcxFilterMenuChildren;
|
|
6
|
+
_min: string;
|
|
7
|
+
_max: string;
|
|
8
|
+
_hasFilter: boolean;
|
|
9
|
+
private onHandleSelectedValue;
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedItemValueRangeComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MECXFilterSelectedItemValueRangeComponent, "mecx-filter-selected-item-value-range", never, { "option": "option"; }, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -4,19 +4,20 @@ import * as i2 from "./item/children/children.component";
|
|
|
4
4
|
import * as i3 from "./item/item.component";
|
|
5
5
|
import * as i4 from "./item/currency/currency.component";
|
|
6
6
|
import * as i5 from "./item/date-range/date-range.component";
|
|
7
|
-
import * as i6 from "./item/
|
|
8
|
-
import * as i7 from "./item/
|
|
9
|
-
import * as i8 from "./item/
|
|
10
|
-
import * as i9 from "./item/status
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "@angular/
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "monkey-
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "@
|
|
7
|
+
import * as i6 from "./item/value-range/value-range.component";
|
|
8
|
+
import * as i7 from "./item/date-with-action/date-with-action.component";
|
|
9
|
+
import * as i8 from "./item/input/input.component";
|
|
10
|
+
import * as i9 from "./item/status/status.component";
|
|
11
|
+
import * as i10 from "./item/status-radio/status-radio.component";
|
|
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 "monkey-style-guide";
|
|
16
|
+
import * as i15 from "monkey-front-core";
|
|
17
|
+
import * as i16 from "@angular/router";
|
|
18
|
+
import * as i17 from "@ngx-translate/core";
|
|
18
19
|
export declare class MECXFilterSelectedModule {
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<MECXFilterSelectedModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MECXFilterSelectedModule, [typeof i1.MECXFilterSelectedComponent, typeof i2.MECXFilterSelectedItemChildrenComponent, typeof i3.MECXFilterSelectedItemComponent, typeof i4.MECXFilterSelectedItemCurrencyComponent, typeof i5.MECXFilterSelectedItemDateRangeComponent, typeof i6.
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MECXFilterSelectedModule, [typeof i1.MECXFilterSelectedComponent, typeof i2.MECXFilterSelectedItemChildrenComponent, typeof i3.MECXFilterSelectedItemComponent, typeof i4.MECXFilterSelectedItemCurrencyComponent, typeof i5.MECXFilterSelectedItemDateRangeComponent, typeof i6.MECXFilterSelectedItemValueRangeComponent, typeof i7.MECXFilterSelectedItemDateWithActionComponent, typeof i8.MECXFilterSelectedItemInputComponent, typeof i9.MECXFilterSelectedItemStatusComponent, typeof i10.MECXFilterSelectedItemStatusRadioComponent], [typeof i11.CommonModule, typeof i12.FormsModule, typeof i13.MECXFilterOptionsModule, typeof i14.MonkeyBadgeModule, typeof i14.MonkeyButtonModule, typeof i14.MonkeyCheckboxModule, typeof i14.MonkeyDateRangePickerModule, typeof i15.MonkeyEcxDirectivesModule, typeof i15.MonkeyEcxPipesModule, typeof i14.MonkeyIconModule, typeof i14.MonkeyInputModule, typeof i14.MonkeyOptionModule, typeof i14.MonkeySelectModule, typeof i12.ReactiveFormsModule, typeof i16.RouterModule, typeof i17.TranslateModule], [typeof i1.MECXFilterSelectedComponent]>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<MECXFilterSelectedModule>;
|
|
22
23
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monkey-front-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.786",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "13.1.1",
|
|
6
6
|
"@angular/core": "13.1.1",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"rxjs": "^6.6.3",
|
|
10
10
|
"@ngx-translate/core": "^13.0.0",
|
|
11
11
|
"monkey-style-guide": "2.0.212",
|
|
12
|
-
"monkey-front-core": "0.0.
|
|
12
|
+
"monkey-front-core": "0.0.606",
|
|
13
13
|
"ngx-mask": "^12.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
Binary file
|