@wizishop/angular-components 14.1.1 → 14.1.2
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/angular-components.scss +328 -32
- package/esm2020/lib/components/button/button.component.mjs +2 -1
- package/esm2020/lib/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/lib/components/common/label/label.component.mjs +16 -0
- package/esm2020/lib/components/common/placeholder/placeholder.component.mjs +16 -0
- package/esm2020/lib/components/edit-in-place/edit-in-place.component.mjs +1 -1
- package/esm2020/lib/components/selects/option/option-selection-handler.interface.mjs +2 -0
- package/esm2020/lib/components/selects/option/option-selection-handler.token.mjs +3 -0
- package/esm2020/lib/components/selects/option/option.component.mjs +62 -0
- package/esm2020/lib/components/selects/option/select-option.directive.mjs +61 -0
- package/esm2020/lib/components/selects/option-call-to-action/option-call-to-action.component.mjs +12 -0
- package/esm2020/lib/components/selects/select/select.component.mjs +12 -15
- package/esm2020/lib/components/selects/select-in-text/select-in-text.component.mjs +1 -1
- package/esm2020/lib/components/selects/select-search-trigger/select-search-trigger.component.mjs +38 -0
- package/esm2020/lib/components/selects/select-test/select.component.mjs +216 -0
- package/esm2020/lib/components/selects/select-test/value-change.service.mjs +116 -0
- package/esm2020/lib/components/shared-components.module.mjs +32 -8
- package/esm2020/lib/components/tag-label/tag-label.component.mjs +34 -0
- package/esm2020/lib/directives/shared-directives.module.mjs +4 -3
- package/esm2020/lib/pipes/select/filter-options.pipe.mjs +19 -0
- package/esm2020/lib/pipes/shared-pipes.module.mjs +5 -4
- package/esm2020/public-api.mjs +10 -2
- package/fesm2015/wizishop-angular-components.mjs +565 -27
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +563 -27
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/common/label/label.component.d.ts +8 -0
- package/lib/components/common/placeholder/placeholder.component.d.ts +8 -0
- package/lib/components/selects/option/option-selection-handler.interface.d.ts +7 -0
- package/lib/components/selects/option/option-selection-handler.token.d.ts +3 -0
- package/lib/components/selects/option/option.component.d.ts +24 -0
- package/lib/components/selects/option/select-option.directive.d.ts +21 -0
- package/lib/components/selects/option-call-to-action/option-call-to-action.component.d.ts +6 -0
- package/lib/components/selects/select/select.component.d.ts +3 -6
- package/lib/components/selects/select-search-trigger/select-search-trigger.component.d.ts +14 -0
- package/lib/components/selects/select-test/select.component.d.ts +55 -0
- package/lib/components/selects/select-test/value-change.service.d.ts +30 -0
- package/lib/components/shared-components.module.d.ts +41 -35
- package/lib/components/tag-label/tag-label.component.d.ts +12 -0
- package/lib/directives/shared-directives.module.d.ts +4 -3
- package/lib/pipes/select/filter-options.pipe.d.ts +7 -0
- package/lib/pipes/shared-pipes.module.d.ts +6 -5
- package/package.json +1 -1
- package/public-api.d.ts +9 -1
- package/wizishop-angular-components-14.1.2.tgz +0 -0
- package/esm2020/lib/components/label/label.component.mjs +0 -34
- package/lib/components/label/label.component.d.ts +0 -12
- package/wizishop-angular-components-14.1.1.tgz +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LabelComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "wac-label", never, {}, {}, never, ["*"], false>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PlaceholderComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceholderComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlaceholderComponent, "wac-placeholder", never, {}, {}, never, ["*"], false>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { OptionSelectionHandler } from './option-selection-handler.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class OptionComponent implements OnInit, OptionSelectionHandler {
|
|
5
|
+
private renderer;
|
|
6
|
+
private elementRef;
|
|
7
|
+
contentRef: ElementRef;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
value: any;
|
|
10
|
+
set selected(selected: boolean);
|
|
11
|
+
get selected(): boolean;
|
|
12
|
+
_selected: boolean;
|
|
13
|
+
selectedChange: EventEmitter<any>;
|
|
14
|
+
constructor(renderer: Renderer2, elementRef: ElementRef);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onSelectOption(): void;
|
|
17
|
+
getValue(): any;
|
|
18
|
+
setValue(value: any): void;
|
|
19
|
+
isSelected(): boolean;
|
|
20
|
+
setSelected(selected: boolean): void;
|
|
21
|
+
getContentRef(): ElementRef<any>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "wac-option", never, { "disabled": "disabled"; "value": "value"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, never, ["*"], false>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { OptionSelectionHandler } from './option-selection-handler.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SelectOptionDirective implements OptionSelectionHandler {
|
|
5
|
+
private contentRef;
|
|
6
|
+
onClick(): void;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
value: any;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
selectedChange: EventEmitter<any>;
|
|
11
|
+
constructor(contentRef: ElementRef);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
onSelectOption(): void;
|
|
14
|
+
getValue(): any;
|
|
15
|
+
setValue(value: any): void;
|
|
16
|
+
isSelected(): boolean;
|
|
17
|
+
setSelected(selected: boolean): void;
|
|
18
|
+
getContentRef(): ElementRef<any>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectOptionDirective, "[selectOption]", never, { "disabled": "disabled"; "value": "value"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, never, never, false>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class OptionCallToActionComponent {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionCallToActionComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionCallToActionComponent, "wac-option-call-to-action", never, {}, {}, never, ["*"], false>;
|
|
6
|
+
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { CalllToAction } from '../call-to-action.model';
|
|
3
3
|
import { SelectItem } from '../select-items.dto';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SelectComponent implements
|
|
8
|
-
private translateService;
|
|
6
|
+
export declare class SelectComponent implements ControlValueAccessor {
|
|
9
7
|
_items: SelectItem[];
|
|
10
8
|
set items(items: SelectItem[]);
|
|
11
9
|
get items(): SelectItem[];
|
|
@@ -26,8 +24,7 @@ export declare class SelectComponent implements OnInit, ControlValueAccessor {
|
|
|
26
24
|
searchElement: ElementRef;
|
|
27
25
|
openCategories: boolean;
|
|
28
26
|
indexItemSelected: number;
|
|
29
|
-
constructor(
|
|
30
|
-
ngOnInit(): void;
|
|
27
|
+
constructor();
|
|
31
28
|
onClose(): void;
|
|
32
29
|
customTB(item: SelectItem, index: number): string;
|
|
33
30
|
onSelectItem(id: number): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SelectSearchTriggerComponent {
|
|
4
|
+
searchValue: string;
|
|
5
|
+
searchValueChange: EventEmitter<string>;
|
|
6
|
+
searchInputKeyEnterPressed: EventEmitter<void>;
|
|
7
|
+
searchInput: any;
|
|
8
|
+
constructor();
|
|
9
|
+
onSearchValueChange(): void;
|
|
10
|
+
onKeypressEnter(): void;
|
|
11
|
+
setFocus(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectSearchTriggerComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectSearchTriggerComponent, "wac-select-search-trigger", never, { "searchValue": "searchValue"; }, { "searchValueChange": "searchValueChange"; "searchInputKeyEnterPressed": "searchInputKeyEnterPressed"; }, never, never, false>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { ValueChangeService } from './value-change.service';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { OptionSelectionHandler } from '../option/option-selection-handler.interface';
|
|
6
|
+
import { SelectSearchTriggerComponent } from '../select-search-trigger/select-search-trigger.component';
|
|
7
|
+
import { LabelComponent } from '../../common/label/label.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SelectTestComponent implements OnInit, ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
10
|
+
private valueChangeService;
|
|
11
|
+
role: string;
|
|
12
|
+
optionChildren: QueryList<OptionSelectionHandler>;
|
|
13
|
+
customSearchTrigger: SelectSearchTriggerComponent;
|
|
14
|
+
label: LabelComponent;
|
|
15
|
+
set value(value: any);
|
|
16
|
+
get value(): any;
|
|
17
|
+
_value: any;
|
|
18
|
+
valueChange: EventEmitter<any>;
|
|
19
|
+
/** Whether the component is required. */
|
|
20
|
+
get required(): boolean;
|
|
21
|
+
set required(value: boolean);
|
|
22
|
+
private _required;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
get selectedOptionContent(): any;
|
|
25
|
+
set keepPanelOpen(keepPanelOpen: boolean);
|
|
26
|
+
get keepPanelOpen(): boolean;
|
|
27
|
+
private _keepPanelOpen;
|
|
28
|
+
set openPanel(openPanel: boolean);
|
|
29
|
+
get openPanel(): boolean;
|
|
30
|
+
_openPanel: boolean;
|
|
31
|
+
openPanelChange: EventEmitter<boolean>;
|
|
32
|
+
enableSearch: boolean;
|
|
33
|
+
isDestroyed$: Subject<void>;
|
|
34
|
+
constructor(valueChangeService: ValueChangeService);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
private handleValueChange;
|
|
38
|
+
private handleOptionChildren;
|
|
39
|
+
onTogglePanel(): void;
|
|
40
|
+
onClosePanel(): void;
|
|
41
|
+
/** Handles all keydown events on the select. */
|
|
42
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
43
|
+
/** Handles keyboard events while the select is closed. */
|
|
44
|
+
private _handleClosedKeydown;
|
|
45
|
+
/** Handles keyboard events when the selected is open. */
|
|
46
|
+
private _handleOpenKeydown;
|
|
47
|
+
onChange: (value: any) => void;
|
|
48
|
+
onTouch: (value: any) => void;
|
|
49
|
+
writeValue(value: any): void;
|
|
50
|
+
registerOnChange(fn: any): void;
|
|
51
|
+
registerOnTouched(fn: any): void;
|
|
52
|
+
ngOnDestroy(): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectTestComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectTestComponent, "wac-select-test", never, { "value": "value"; "required": "required"; "disabled": "disabled"; "keepPanelOpen": "keepPanelOpen"; "openPanel": "openPanel"; "enableSearch": "enableSearch"; }, { "valueChange": "valueChange"; "openPanelChange": "openPanelChange"; }, ["customSearchTrigger", "label", "optionChildren"], ["wac-label, .wac-label", "wac-select-search-trigger", "wac-placeholder,[role=placeholder]", "wac-option-call-to-action, wac-option, option, .option, [selectOption]"], false>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { QueryList } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { OptionComponent } from '../option/option.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ValueChangeService {
|
|
6
|
+
valueChange$: Subject<any>;
|
|
7
|
+
set value(value: any);
|
|
8
|
+
get value(): any;
|
|
9
|
+
private _value;
|
|
10
|
+
optionChildren: QueryList<OptionComponent>;
|
|
11
|
+
selectedOptionContent: any;
|
|
12
|
+
indexSelectedOption: number;
|
|
13
|
+
resetListeners$: Subject<void>;
|
|
14
|
+
constructor();
|
|
15
|
+
handleSelectOptionsChange(optionChildren: QueryList<OptionComponent>, value: any): void;
|
|
16
|
+
assignValue(value: any): void;
|
|
17
|
+
handleValueChange(): void;
|
|
18
|
+
selectNextOption(): void;
|
|
19
|
+
selectPreviousOption(): void;
|
|
20
|
+
private handleInitialSelectedOption;
|
|
21
|
+
private findInitialSelectedOption;
|
|
22
|
+
private handleSelectedOptionsEvent;
|
|
23
|
+
private updateSelectPlaceholder;
|
|
24
|
+
private getSelectedOptionComponent;
|
|
25
|
+
private optionSelectedChangeListeners;
|
|
26
|
+
private changeSelectedOption;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueChangeService, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ValueChangeService>;
|
|
30
|
+
}
|
|
@@ -12,7 +12,7 @@ import * as i10 from "./separator/separator.component";
|
|
|
12
12
|
import * as i11 from "./logo/logo.component";
|
|
13
13
|
import * as i12 from "./radio/radio.component";
|
|
14
14
|
import * as i13 from "./state/state.component";
|
|
15
|
-
import * as i14 from "./label/label.component";
|
|
15
|
+
import * as i14 from "./tag-label/tag-label.component";
|
|
16
16
|
import * as i15 from "./calendar/calendar.component";
|
|
17
17
|
import * as i16 from "./edit-in-place/edit-in-place.component";
|
|
18
18
|
import * as i17 from "./alert/alert.component";
|
|
@@ -41,41 +41,47 @@ import * as i39 from "./snackbar/snackbar.component";
|
|
|
41
41
|
import * as i40 from "./search/search.component";
|
|
42
42
|
import * as i41 from "./selected-list/selected-list.component";
|
|
43
43
|
import * as i42 from "./optional-disable-container/optional-disable-container.component";
|
|
44
|
-
import * as i43 from "
|
|
45
|
-
import * as i44 from "
|
|
46
|
-
import * as i45 from "
|
|
47
|
-
import * as i46 from "
|
|
48
|
-
import * as i47 from "
|
|
49
|
-
import * as i48 from "
|
|
50
|
-
import * as i49 from "@angular/
|
|
51
|
-
import * as i50 from "
|
|
52
|
-
import * as i51 from "
|
|
53
|
-
import * as i52 from "
|
|
54
|
-
import * as i53 from "
|
|
55
|
-
import * as i54 from "
|
|
56
|
-
import * as i55 from "
|
|
57
|
-
import * as i56 from "
|
|
58
|
-
import * as i57 from "./
|
|
59
|
-
import * as i58 from "./
|
|
60
|
-
import * as i59 from "
|
|
61
|
-
import * as i60 from "./
|
|
62
|
-
import * as i61 from "
|
|
63
|
-
import * as i62 from "./
|
|
64
|
-
import * as i63 from "./
|
|
65
|
-
import * as i64 from "./
|
|
66
|
-
import * as i65 from "
|
|
67
|
-
import * as i66 from "./
|
|
68
|
-
import * as i67 from "
|
|
69
|
-
import * as i68 from "./
|
|
70
|
-
import * as i69 from "./
|
|
71
|
-
import * as i70 from "./
|
|
72
|
-
import * as i71 from "./
|
|
73
|
-
import * as i72 from "./
|
|
74
|
-
import * as i73 from "./
|
|
75
|
-
import * as i74 from "./
|
|
76
|
-
import * as i75 from "./
|
|
44
|
+
import * as i43 from "./selects/select-test/select.component";
|
|
45
|
+
import * as i44 from "./selects/option/option.component";
|
|
46
|
+
import * as i45 from "./selects/option-call-to-action/option-call-to-action.component";
|
|
47
|
+
import * as i46 from "./common/placeholder/placeholder.component";
|
|
48
|
+
import * as i47 from "./common/label/label.component";
|
|
49
|
+
import * as i48 from "./selects/select-search-trigger/select-search-trigger.component";
|
|
50
|
+
import * as i49 from "@angular/common";
|
|
51
|
+
import * as i50 from "@angular/forms";
|
|
52
|
+
import * as i51 from "@wizishop/ng-wizi-bulma";
|
|
53
|
+
import * as i52 from "@ngx-translate/core";
|
|
54
|
+
import * as i53 from "../directives/shared-directives.module";
|
|
55
|
+
import * as i54 from "../pipes/shared-pipes.module";
|
|
56
|
+
import * as i55 from "@angular/cdk/table";
|
|
57
|
+
import * as i56 from "ngx-chips";
|
|
58
|
+
import * as i57 from "./pagination/pagination.module";
|
|
59
|
+
import * as i58 from "./table/table.module";
|
|
60
|
+
import * as i59 from "./inputs/input-search/input-search.module";
|
|
61
|
+
import * as i60 from "./tooltip/tooltip.module";
|
|
62
|
+
import * as i61 from "./checkbox/checkbox.module";
|
|
63
|
+
import * as i62 from "./inputs/input/input.module";
|
|
64
|
+
import * as i63 from "./loader/loader.module";
|
|
65
|
+
import * as i64 from "./progress-bar/progress-bar.module";
|
|
66
|
+
import * as i65 from "ngx-perfect-scrollbar";
|
|
67
|
+
import * as i66 from "./alert-popup/alert-popup-module";
|
|
68
|
+
import * as i67 from "@angular/router";
|
|
69
|
+
import * as i68 from "./tree/tree.module";
|
|
70
|
+
import * as i69 from "./pagination/pagination.component";
|
|
71
|
+
import * as i70 from "./table/table.component";
|
|
72
|
+
import * as i71 from "./table/directives/column.directive";
|
|
73
|
+
import * as i72 from "./table/directives/checkBoxRow.directive";
|
|
74
|
+
import * as i73 from "./table/directives/columnHeader.directive";
|
|
75
|
+
import * as i74 from "./table/directives/raw.directive";
|
|
76
|
+
import * as i75 from "./inputs/input-search/input-search.component";
|
|
77
|
+
import * as i76 from "./inputs/input/input.component";
|
|
78
|
+
import * as i77 from "./tooltip/tooltip.component";
|
|
79
|
+
import * as i78 from "./checkbox/checkbox.component";
|
|
80
|
+
import * as i79 from "./loader/loader.component";
|
|
81
|
+
import * as i80 from "./progress-bar/progress-bar.component";
|
|
82
|
+
import * as i81 from "./tree/tree.component";
|
|
77
83
|
export declare class SharedComponentsModule {
|
|
78
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
|
|
79
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof i1.TagComponent, typeof i2.TabComponent, typeof i3.ButtonComponent, typeof i4.InfoComponent, typeof i5.SettingsComponent, typeof i6.DeleteComponent, typeof i7.DropdownComponent, typeof i8.ImageComponent, typeof i9.BackComponent, typeof i10.SeparatorComponent, typeof i11.LogoComponent, typeof i12.RadioComponent, typeof i13.StateComponent, typeof i14.
|
|
85
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof i1.TagComponent, typeof i2.TabComponent, typeof i3.ButtonComponent, typeof i4.InfoComponent, typeof i5.SettingsComponent, typeof i6.DeleteComponent, typeof i7.DropdownComponent, typeof i8.ImageComponent, typeof i9.BackComponent, typeof i10.SeparatorComponent, typeof i11.LogoComponent, typeof i12.RadioComponent, typeof i13.StateComponent, typeof i14.TagLabelComponent, typeof i15.CalendarComponent, typeof i16.WzEditInPlaceComponent, typeof i17.AlertComponent, typeof i18.HeaderPageComponent, typeof i19.SwitchComponent, typeof i20.LinkComponent, typeof i21.H1Component, typeof i22.H2Component, typeof i23.H3Component, typeof i24.H4Component, typeof i25.TextComponent, typeof i26.TextAreaComponent, typeof i27.UploadComponent, typeof i28.SelectInTextComponent, typeof i29.SelectComponent, typeof i30.MultipleSearchComponent, typeof i31.MultipleSearchPlusComponent, typeof i32.InputWithSelectComponent, typeof i33.PopinComponent, typeof i34.FreePopinComponent, typeof i35.BlockComponent, typeof i36.WrapperComponent, typeof i37.FiltersComponent, typeof i38.WrapperBlocsComponent, typeof i39.SnackbarComponent, typeof i40.SearchComponent, typeof i41.SelectedListComponent, typeof i42.OptionalDisableContainerComponent, typeof i43.SelectTestComponent, typeof i44.OptionComponent, typeof i45.OptionCallToActionComponent, typeof i46.PlaceholderComponent, typeof i47.LabelComponent, typeof i48.SelectSearchTriggerComponent], [typeof i49.CommonModule, typeof i50.FormsModule, typeof i51.NwbAllModule, typeof i52.TranslateModule, typeof i50.ReactiveFormsModule, typeof i53.SharedDirectives, typeof i54.SharedPipes, typeof i55.CdkTableModule, typeof i56.TagInputModule, typeof i57.PaginationModule, typeof i58.TableModule, typeof i59.InputSearchModule, typeof i60.TooltipModule, typeof i61.CheckboxModule, typeof i62.InputModule, typeof i63.LoaderModule, typeof i64.ProgressBarModule, typeof i65.PerfectScrollbarModule, typeof i66.AlertPopupModule, typeof i67.RouterModule, typeof i68.TreeModule], [typeof i1.TagComponent, typeof i2.TabComponent, typeof i3.ButtonComponent, typeof i4.InfoComponent, typeof i5.SettingsComponent, typeof i6.DeleteComponent, typeof i7.DropdownComponent, typeof i8.ImageComponent, typeof i9.BackComponent, typeof i10.SeparatorComponent, typeof i11.LogoComponent, typeof i12.RadioComponent, typeof i13.StateComponent, typeof i14.TagLabelComponent, typeof i15.CalendarComponent, typeof i16.WzEditInPlaceComponent, typeof i17.AlertComponent, typeof i18.HeaderPageComponent, typeof i19.SwitchComponent, typeof i20.LinkComponent, typeof i21.H1Component, typeof i22.H2Component, typeof i23.H3Component, typeof i24.H4Component, typeof i25.TextComponent, typeof i26.TextAreaComponent, typeof i27.UploadComponent, typeof i28.SelectInTextComponent, typeof i29.SelectComponent, typeof i30.MultipleSearchComponent, typeof i31.MultipleSearchPlusComponent, typeof i32.InputWithSelectComponent, typeof i33.PopinComponent, typeof i34.FreePopinComponent, typeof i35.BlockComponent, typeof i36.WrapperComponent, typeof i37.FiltersComponent, typeof i38.WrapperBlocsComponent, typeof i39.SnackbarComponent, typeof i40.SearchComponent, typeof i41.SelectedListComponent, typeof i42.OptionalDisableContainerComponent, typeof i43.SelectTestComponent, typeof i44.OptionComponent, typeof i45.OptionCallToActionComponent, typeof i46.PlaceholderComponent, typeof i47.LabelComponent, typeof i48.SelectSearchTriggerComponent, typeof i69.PaginationComponent, typeof i70.TableComponent, typeof i71.TableColumn, typeof i72.CheckBoxRow, typeof i73.TableColumnHeader, typeof i74.TableRow, typeof i75.InputSearchComponent, typeof i76.InputComponent, typeof i77.TooltipComponent, typeof i78.CheckboxComponent, typeof i79.LoaderComponent, typeof i80.ProgressBarComponent, typeof i81.TreeComponent]>;
|
|
80
86
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
|
|
81
87
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TagLabelComponent {
|
|
4
|
+
index: number;
|
|
5
|
+
label: string;
|
|
6
|
+
deleted: boolean;
|
|
7
|
+
onDeleteLabel: EventEmitter<any>;
|
|
8
|
+
constructor();
|
|
9
|
+
deleteLabel(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagLabelComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagLabelComponent, "wac-tag-label", never, { "index": "index"; "label": "label"; "deleted": "deleted"; }, { "onDeleteLabel": "onDeleteLabel"; }, never, never, false>;
|
|
12
|
+
}
|
|
@@ -5,10 +5,11 @@ import * as i3 from "./auto-hide/auto-hide.directive";
|
|
|
5
5
|
import * as i4 from "./zindex-toggle/zindex-toggle.directive";
|
|
6
6
|
import * as i5 from "./ng-var.directive";
|
|
7
7
|
import * as i6 from "./keyboard-events/keypress-enter.directive";
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@angular/
|
|
8
|
+
import * as i7 from "../components/selects/option/select-option.directive";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "@angular/forms";
|
|
10
11
|
export declare class SharedDirectives {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectives, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectives, [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective], [typeof
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectives, [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective], [typeof i8.CommonModule, typeof i9.FormsModule], [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectives>;
|
|
14
15
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FilterOptionsPipe implements PipeTransform {
|
|
4
|
+
transform(options: any[], searchValue: string, ...args: string[]): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterOptionsPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterOptionsPipe, "filterOptions", false>;
|
|
7
|
+
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./tree/format-object-to-recursif-tree.pipe";
|
|
3
3
|
import * as i2 from "./tree/format-object-to-simple-tree.pipe";
|
|
4
|
-
import * as i3 from "./select/
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "@angular/
|
|
4
|
+
import * as i3 from "./select/filter-options.pipe";
|
|
5
|
+
import * as i4 from "./select/select-filters.pipe";
|
|
6
|
+
import * as i5 from "./selected-list/are-all-options-selected.pipe";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@angular/forms";
|
|
8
9
|
export declare class SharedPipes {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipes, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipes, [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipes, [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.SelectFiltersPipe, typeof i5.AreAllOptionsSelectedPipe], [typeof i6.CommonModule, typeof i7.FormsModule], [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.SelectFiltersPipe, typeof i5.AreAllOptionsSelectedPipe]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipes>;
|
|
12
13
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export * from './lib/components/separator/separator.component';
|
|
|
13
13
|
export * from './lib/components/logo/logo.component';
|
|
14
14
|
export * from './lib/components/radio/radio.component';
|
|
15
15
|
export * from './lib/components/state/state.component';
|
|
16
|
-
export * from './lib/components/label/label.component';
|
|
16
|
+
export * from './lib/components/tag-label/tag-label.component';
|
|
17
17
|
export * from './lib/components/calendar/calendar.component';
|
|
18
18
|
export * from './lib/components/edit-in-place/edit-in-place.component';
|
|
19
19
|
export * from './lib/components/alert/alert.component';
|
|
@@ -85,3 +85,11 @@ export * from './lib/pipes/select/select-filters.pipe';
|
|
|
85
85
|
export * from './lib/pipes/selected-list/are-all-options-selected.pipe';
|
|
86
86
|
export * from './lib/directives/keyboard-events/keypress-enter.directive';
|
|
87
87
|
export * from './lib/components/optional-disable-container/optional-disable-container.component';
|
|
88
|
+
export * from './lib/components/selects/select-test/select.component';
|
|
89
|
+
export * from './lib/components/selects/option/option.component';
|
|
90
|
+
export * from './lib/components/selects/option-call-to-action/option-call-to-action.component';
|
|
91
|
+
export * from './lib/components/common/placeholder/placeholder.component';
|
|
92
|
+
export * from './lib/components/common/label/label.component';
|
|
93
|
+
export * from './lib/components/selects/option/select-option.directive';
|
|
94
|
+
export * from './lib/components/selects/select-search-trigger/select-search-trigger.component';
|
|
95
|
+
export * from './lib/pipes/select/filter-options.pipe';
|
|
Binary file
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { inOutX } from '../../animations/in-out/in-out-x.animation';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class LabelComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.index = 0;
|
|
8
|
-
this.label = '';
|
|
9
|
-
this.deleted = false;
|
|
10
|
-
this.onDeleteLabel = new EventEmitter();
|
|
11
|
-
}
|
|
12
|
-
deleteLabel() {
|
|
13
|
-
this.deleted = true;
|
|
14
|
-
this.onDeleteLabel.emit({
|
|
15
|
-
index: this.index,
|
|
16
|
-
label: this.label
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
LabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: LabelComponent, selector: "wac-label", inputs: { index: "index", label: "label", deleted: "deleted" }, outputs: { onDeleteLabel: "onDeleteLabel" }, ngImport: i0, template: "<div *ngIf=\"!deleted\" [@inOutXAnimation] class=\"wac-label\">\n <div class=\"wac-label__wrapper\">\n {{ label }}\n <i class=\"far fa-times\" (click)=\"deleteLabel()\"></i>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [inOutX], encapsulation: i0.ViewEncapsulation.None });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: LabelComponent, decorators: [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{ selector: 'wac-label', encapsulation: ViewEncapsulation.None, animations: [inOutX], template: "<div *ngIf=\"!deleted\" [@inOutXAnimation] class=\"wac-label\">\n <div class=\"wac-label__wrapper\">\n {{ label }}\n <i class=\"far fa-times\" (click)=\"deleteLabel()\"></i>\n </div>\n</div>\n" }]
|
|
25
|
-
}], ctorParameters: function () { return []; }, propDecorators: { index: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], label: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], deleted: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}], onDeleteLabel: [{
|
|
32
|
-
type: Output
|
|
33
|
-
}] } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9sYWJlbC9sYWJlbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi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ZhLXRpbWVzXCIgKGNsaWNrKT1cImRlbGV0ZUxhYmVsKClcIj48L2k+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LabelComponent {
|
|
4
|
-
index: number;
|
|
5
|
-
label: string;
|
|
6
|
-
deleted: boolean;
|
|
7
|
-
onDeleteLabel: EventEmitter<any>;
|
|
8
|
-
constructor();
|
|
9
|
-
deleteLabel(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "wac-label", never, { "index": "index"; "label": "label"; "deleted": "deleted"; }, { "onDeleteLabel": "onDeleteLabel"; }, never, never, false>;
|
|
12
|
-
}
|
|
Binary file
|