@muziehdesign/components 18.2.0-beta.2193 → 18.2.0-beta.2213
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/design/_button.scss +6 -2
- package/design/_dropdown-menu.scss +4 -0
- package/design/_form.scss +1 -0
- package/design/_mixins.scss +1 -1
- package/esm2022/lib/dropdown/dropdown-item.directive.mjs +28 -0
- package/esm2022/lib/dropdown/dropdown.component.mjs +27 -0
- package/esm2022/lib/dropdown/dropdown.module.mjs +17 -0
- package/esm2022/lib/filter/filter2/filter2.component.mjs +39 -0
- package/esm2022/lib/filter/options-filter/options-filter.component.mjs +53 -0
- package/esm2022/public-api.mjs +7 -1
- package/fesm2022/muziehdesign-components.mjs +147 -5
- package/fesm2022/muziehdesign-components.mjs.map +1 -1
- package/lib/dropdown/dropdown-item.directive.d.ts +9 -0
- package/lib/dropdown/dropdown.component.d.ts +9 -0
- package/lib/dropdown/dropdown.module.d.ts +8 -0
- package/lib/filter/filter2/filter2.component.d.ts +15 -0
- package/lib/filter/options-filter/options-filter.component.d.ts +26 -0
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MzDropdownComponent } from './dropdown.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MzDropdownItemDirective {
|
|
4
|
+
private dropdown;
|
|
5
|
+
constructor(dropdown: MzDropdownComponent);
|
|
6
|
+
close(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MzDropdownItemDirective, [{ host: true; }]>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MzDropdownItemDirective, "[mzDropdownItem]", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MzDropdownComponent {
|
|
3
|
+
label: string;
|
|
4
|
+
open: boolean;
|
|
5
|
+
toggle(): void;
|
|
6
|
+
collapse(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MzDropdownComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MzDropdownComponent, "mz-dropdown", never, { "label": { "alias": "label"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dropdown.component";
|
|
3
|
+
import * as i2 from "./dropdown-item.directive";
|
|
4
|
+
export declare class MzDropdownModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MzDropdownModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MzDropdownModule, never, [typeof i1.MzDropdownComponent, typeof i2.MzDropdownItemDirective], [typeof i1.MzDropdownComponent, typeof i2.MzDropdownItemDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MzDropdownModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AfterContentInit } from '@angular/core';
|
|
2
|
+
import { NgForm } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class Filter2Component implements AfterContentInit {
|
|
5
|
+
protected open: boolean;
|
|
6
|
+
menuForm: NgForm;
|
|
7
|
+
private initialValues;
|
|
8
|
+
ngAfterContentInit(): void;
|
|
9
|
+
toggleOverlay(): void;
|
|
10
|
+
dismiss(): void;
|
|
11
|
+
clear(): void;
|
|
12
|
+
apply(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Filter2Component, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Filter2Component, "mz-filter2", never, {}, {}, ["menuForm"], ["*"], true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FilterOptionModel } from '../filter-option.model';
|
|
3
|
+
import { NgForm } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OptionsFilterComponent {
|
|
6
|
+
options?: FilterOptionModel<string>[];
|
|
7
|
+
values: string[];
|
|
8
|
+
multiselect: boolean;
|
|
9
|
+
label: string;
|
|
10
|
+
change: EventEmitter<string[]>;
|
|
11
|
+
protected open: boolean;
|
|
12
|
+
form: NgForm;
|
|
13
|
+
constructor();
|
|
14
|
+
apply(): void;
|
|
15
|
+
clear(): void;
|
|
16
|
+
toggleOption(option: FilterOptionModel<string>): void;
|
|
17
|
+
toggleOverlay(): void;
|
|
18
|
+
dismiss(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionsFilterComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionsFilterComponent, "mz-options-filter", never, { "options": { "alias": "options"; "required": false; }; "values": { "alias": "values"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
export type OptionValueType = string | number | string[] | number[];
|
|
23
|
+
export type SelectOption = {
|
|
24
|
+
label: string;
|
|
25
|
+
value: OptionValueType;
|
|
26
|
+
};
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -32,5 +32,10 @@ export { SortEvent } from './lib/models/sort-event';
|
|
|
32
32
|
export { WizardStepLink } from './lib/models/wizard-step-link';
|
|
33
33
|
export { WizardProgressTrackerComponent } from './lib/wizard-progress-tracker/wizard-progress-tracker.component';
|
|
34
34
|
export { DrawerContainerComponent } from './lib/drawer/drawer-container.component';
|
|
35
|
+
export { MzDropdownComponent } from './lib/dropdown/dropdown.component';
|
|
36
|
+
export { MzDropdownItemDirective } from './lib/dropdown/dropdown-item.directive';
|
|
37
|
+
export { MzDropdownModule } from './lib/dropdown/dropdown.module';
|
|
35
38
|
export { FilterComponent } from './lib/filter/filter.component';
|
|
36
39
|
export { FilterOptionModel } from './lib/filter/filter-option.model';
|
|
40
|
+
export { OptionsFilterComponent } from './lib/filter/options-filter/options-filter.component';
|
|
41
|
+
export { Filter2Component } from './lib/filter/filter2/filter2.component';
|