@wizishop/angular-components 15.1.5 → 15.1.7

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.
Files changed (64) hide show
  1. package/angular-components.scss +154 -139
  2. package/esm2020/lib/components/alert-popup/alert-popup.component.mjs +3 -3
  3. package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.mjs +1 -2
  4. package/esm2020/lib/components/inputs/input-search/input-search.component.mjs +1 -1
  5. package/esm2020/lib/components/radio/radio-directive.mjs +3 -3
  6. package/esm2020/lib/components/radio/radio-group.directive.mjs +4 -4
  7. package/esm2020/lib/components/search/search.component.mjs +1 -1
  8. package/esm2020/lib/components/select/call-to-action.model.mjs +2 -0
  9. package/esm2020/lib/components/select/option/option-selection-handler.interface.mjs +2 -0
  10. package/esm2020/lib/components/select/option/option-selection-handler.token.mjs +3 -0
  11. package/esm2020/lib/components/{selects → select}/option/option.component.mjs +1 -1
  12. package/esm2020/lib/components/select/option/select-option.directive.mjs +97 -0
  13. package/esm2020/lib/components/{selects → select}/option-call-to-action/option-call-to-action.component.mjs +1 -1
  14. package/esm2020/lib/components/select/select/select.component.mjs +194 -0
  15. package/esm2020/lib/components/select/select/select.directive.mjs +164 -0
  16. package/esm2020/lib/components/select/select/value-change.service.mjs +190 -0
  17. package/esm2020/lib/components/select/select-items.dto.mjs +2 -0
  18. package/esm2020/lib/components/{selects → select}/select-search-trigger/select-search-trigger.component.mjs +1 -1
  19. package/esm2020/lib/components/select-in-text/select-in-text.component.mjs +103 -0
  20. package/esm2020/lib/components/shared-components.module.mjs +15 -14
  21. package/esm2020/lib/components/tab/tab.component.mjs +4 -3
  22. package/esm2020/lib/components/table/directives/checkBoxRow.directive.mjs +4 -7
  23. package/esm2020/lib/components/table/directives/column.directive.mjs +3 -5
  24. package/esm2020/lib/components/table/directives/columnHeader.directive.mjs +7 -13
  25. package/esm2020/lib/directives/copy-to-clipboard/copy-to-clipboard.directive.mjs +32 -0
  26. package/esm2020/lib/directives/shared-directives.module.mjs +9 -8
  27. package/esm2020/lib/pipes/select/select-filters.pipe.mjs +1 -1
  28. package/esm2020/public-api.mjs +12 -11
  29. package/fesm2015/wizishop-angular-components.mjs +61 -45
  30. package/fesm2015/wizishop-angular-components.mjs.map +1 -1
  31. package/fesm2020/wizishop-angular-components.mjs +61 -45
  32. package/fesm2020/wizishop-angular-components.mjs.map +1 -1
  33. package/lib/components/radio/radio-directive.d.ts +1 -1
  34. package/lib/components/radio/radio-group.directive.d.ts +2 -2
  35. package/lib/components/{selects → select}/call-to-action.model.d.ts +0 -0
  36. package/lib/components/{selects → select}/option/option-selection-handler.interface.d.ts +0 -0
  37. package/lib/components/{selects → select}/option/option-selection-handler.token.d.ts +0 -0
  38. package/lib/components/{selects → select}/option/option.component.d.ts +0 -0
  39. package/lib/components/{selects → select}/option/select-option.directive.d.ts +0 -0
  40. package/lib/components/{selects → select}/option-call-to-action/option-call-to-action.component.d.ts +0 -0
  41. package/lib/components/{selects → select}/select/select.component.d.ts +1 -2
  42. package/lib/components/{selects → select}/select/select.directive.d.ts +0 -0
  43. package/lib/components/{selects → select}/select/value-change.service.d.ts +0 -0
  44. package/lib/components/{selects → select}/select-items.dto.d.ts +0 -0
  45. package/lib/components/{selects → select}/select-search-trigger/select-search-trigger.component.d.ts +0 -0
  46. package/lib/components/{selects/select-in-text → select-in-text}/select-in-text.component.d.ts +2 -2
  47. package/lib/components/shared-components.module.d.ts +88 -88
  48. package/lib/components/tab/tab.component.d.ts +1 -1
  49. package/lib/directives/copy-to-clipboard/copy-to-clipboard.directive.d.ts +12 -0
  50. package/lib/directives/shared-directives.module.d.ts +4 -3
  51. package/lib/pipes/select/select-filters.pipe.d.ts +1 -1
  52. package/package.json +1 -1
  53. package/public-api.d.ts +11 -10
  54. package/wizishop-angular-components-15.1.7.tgz +0 -0
  55. package/esm2020/lib/components/selects/call-to-action.model.mjs +0 -2
  56. package/esm2020/lib/components/selects/option/option-selection-handler.interface.mjs +0 -2
  57. package/esm2020/lib/components/selects/option/option-selection-handler.token.mjs +0 -3
  58. package/esm2020/lib/components/selects/option/select-option.directive.mjs +0 -97
  59. package/esm2020/lib/components/selects/select/select.component.mjs +0 -197
  60. package/esm2020/lib/components/selects/select/select.directive.mjs +0 -164
  61. package/esm2020/lib/components/selects/select/value-change.service.mjs +0 -190
  62. package/esm2020/lib/components/selects/select-in-text/select-in-text.component.mjs +0 -103
  63. package/esm2020/lib/components/selects/select-items.dto.mjs +0 -2
  64. package/wizishop-angular-components-15.1.5.tgz +0 -0
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, ElementRef } from '@angular/core';
2
- import { SelectOptionDirective } from '../selects/option/select-option.directive';
2
+ import { SelectOptionDirective } from '../select/option/select-option.directive';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class RadioDirective<TOptionValue> extends SelectOptionDirective<TOptionValue> {
5
5
  protected contentRef: ElementRef;
@@ -1,5 +1,5 @@
1
- import { SelectDirective } from '../selects/select/select.directive';
2
- import { ValueChangeService } from '../selects/select/value-change.service';
1
+ import { SelectDirective } from '../select/select/select.directive';
2
+ import { ValueChangeService } from '../select/select/value-change.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class RadioGroupDirective<TOptionValue> extends SelectDirective<TOptionValue> {
5
5
  protected valueChangeService: ValueChangeService<TOptionValue>;
@@ -23,7 +23,6 @@ export declare class SelectComponent<TOptionValue> extends SelectDirective<TOpti
23
23
  get openPanel(): boolean;
24
24
  _openPanel: boolean;
25
25
  openPanelChange: EventEmitter<boolean>;
26
- enableSearch: boolean;
27
26
  tabIndex: number;
28
27
  isDestroyed$: Subject<void>;
29
28
  private isKeyBoardAction;
@@ -43,5 +42,5 @@ export declare class SelectComponent<TOptionValue> extends SelectDirective<TOpti
43
42
  registerOnTouched(fn: any): void;
44
43
  ngOnDestroy(): void;
45
44
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "wac-select", never, { "required": "required"; "keepPanelOpen": "keepPanelOpen"; "openPanel": "openPanel"; "enableSearch": "enableSearch"; }, { "openPanelChange": "openPanelChange"; }, ["customSearchTrigger", "label"], ["wac-label, .wac-label", "wac-select-search-trigger", "wac-placeholder,[role=placeholder]", "wac-option-call-to-action, wac-option, option, .option, [selectOption]"], false, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "wac-select", never, { "required": "required"; "keepPanelOpen": "keepPanelOpen"; "openPanel": "openPanel"; }, { "openPanelChange": "openPanelChange"; }, ["customSearchTrigger", "label"], ["wac-label, .wac-label", "wac-select-search-trigger", "wac-placeholder,[role=placeholder]", "wac-option-call-to-action, wac-option, option, .option, [selectOption]"], false, never>;
47
46
  }
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { CalllToAction } from '../call-to-action.model';
3
- import { SelectItem } from '../select-items.dto';
2
+ import { CalllToAction } from '../select/call-to-action.model';
3
+ import { SelectItem } from '../select/select-items.dto';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SelectInTextComponent implements OnInit {
6
6
  set items(items: SelectItem[]);
@@ -1,92 +1,92 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./tag/tag.component";
3
- import * as i2 from "./tab/tab.component";
4
- import * as i3 from "./button/button.component";
5
- import * as i4 from "./info/info.component";
6
- import * as i5 from "./settings/settings.component";
7
- import * as i6 from "./delete/delete.component";
8
- import * as i7 from "./dropdown/dropdown.component";
9
- import * as i8 from "./image/image.component";
10
- import * as i9 from "./back/back.component";
11
- import * as i10 from "./separator/separator.component";
12
- import * as i11 from "./logo/logo.component";
13
- import * as i12 from "./radio/radio.component";
14
- import * as i13 from "./state/state.component";
15
- import * as i14 from "./tag-label/tag-label.component";
16
- import * as i15 from "./calendar/calendar.component";
17
- import * as i16 from "./edit-in-place/edit-in-place.component";
18
- import * as i17 from "./alert/alert.component";
19
- import * as i18 from "./header-page/header-page.component";
20
- import * as i19 from "./switch/switch.component";
21
- import * as i20 from "./link/link.component";
22
- import * as i21 from "./hn/h1/h1.component";
23
- import * as i22 from "./hn/h2/h2.component";
24
- import * as i23 from "./hn/h3/h3.component";
25
- import * as i24 from "./hn/h4/h4.component";
26
- import * as i25 from "./text/text.component";
27
- import * as i26 from "./text-area/text-area.component";
28
- import * as i27 from "./upload/upload.component";
29
- import * as i28 from "./selects/select-in-text/select-in-text.component";
30
- import * as i29 from "./multiple-search/multiple-search.component";
31
- import * as i30 from "./multiple-search-plus/multiple-search-plus.component";
32
- import * as i31 from "./inputs/input-with-select/input-with-select.component";
33
- import * as i32 from "./popin/popin.component";
34
- import * as i33 from "./free-popin/free-popin.component";
35
- import * as i34 from "./block/block.component";
36
- import * as i35 from "./block/block-title-legacy/block-title-legacy.component";
37
- import * as i36 from "./wrapper/wrapper.component";
38
- import * as i37 from "./filters/filters.component";
39
- import * as i38 from "./wrapper-blocs/wrapper-blocs.component";
40
- import * as i39 from "./snackbar/snackbar.component";
41
- import * as i40 from "./search/search.component";
42
- import * as i41 from "./selected-list/selected-list.component";
43
- import * as i42 from "./optional-disable-container/optional-disable-container.component";
44
- import * as i43 from "./selects/select/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 "./wrapper-sidebar/wrapper-sidebar.component";
51
- import * as i50 from "./breadcrumbs/breadcrumbs.component";
52
- import * as i51 from "./card-price/card-price.component";
53
- import * as i52 from "./token-check/token-check.component";
54
- import * as i53 from "./block-with-checkbox/block-with-checkbox.component";
55
- import * as i54 from "./confirm-delete/confirm-delete.component";
56
- import * as i55 from "./mosaic/mosaic.component";
57
- import * as i56 from "./content-with-buttons/content-with-buttons.component";
58
- import * as i57 from "./wrapper-multiple-block/wrapper-multiple-block.component";
59
- import * as i58 from "./draganddrop-list/draganddrop-list.component";
60
- import * as i59 from "./block/separator/block-separator.component";
61
- import * as i60 from "./summary/summary.component";
62
- import * as i61 from "./google-preview/google-preview.component";
63
- import * as i62 from "./charging-bar/charging-bar.component";
64
- import * as i63 from "./expanded-panel/expanded-panel.component";
65
- import * as i64 from "@angular/common";
66
- import * as i65 from "@angular/forms";
67
- import * as i66 from "@wizishop/ng-wizi-bulma";
68
- import * as i67 from "@ngx-translate/core";
69
- import * as i68 from "../directives/shared-directives.module";
70
- import * as i69 from "../pipes/shared-pipes.module";
71
- import * as i70 from "@angular/cdk/table";
72
- import * as i71 from "ngx-chips";
73
- import * as i72 from "@angular/cdk/drag-drop";
74
- import * as i73 from "./pagination/pagination.module";
75
- import * as i74 from "./table/table.module";
76
- import * as i75 from "./inputs/input-search/input-search.module";
77
- import * as i76 from "./tooltip/tooltip.module";
78
- import * as i77 from "./checkbox/checkbox.module";
79
- import * as i78 from "./inputs/input/input.module";
80
- import * as i79 from "./loader/loader.module";
81
- import * as i80 from "./progress-bar/progress-bar.module";
82
- import * as i81 from "ngx-perfect-scrollbar";
83
- import * as i82 from "./alert-popup/alert-popup-module";
84
- import * as i83 from "@angular/router";
85
- import * as i84 from "ngx-autosize";
86
- import * as i85 from "ngx-scrollbar";
87
- import * as i86 from "ngx-scrollbar/reached-event";
88
- import * as i87 from "./tree/tree.module";
89
- import * as i88 from "./expansion/expansion.module";
3
+ import * as i2 from "./button/button.component";
4
+ import * as i3 from "./info/info.component";
5
+ import * as i4 from "./settings/settings.component";
6
+ import * as i5 from "./delete/delete.component";
7
+ import * as i6 from "./dropdown/dropdown.component";
8
+ import * as i7 from "./image/image.component";
9
+ import * as i8 from "./back/back.component";
10
+ import * as i9 from "./separator/separator.component";
11
+ import * as i10 from "./logo/logo.component";
12
+ import * as i11 from "./radio/radio.component";
13
+ import * as i12 from "./state/state.component";
14
+ import * as i13 from "./tag-label/tag-label.component";
15
+ import * as i14 from "./calendar/calendar.component";
16
+ import * as i15 from "./edit-in-place/edit-in-place.component";
17
+ import * as i16 from "./alert/alert.component";
18
+ import * as i17 from "./header-page/header-page.component";
19
+ import * as i18 from "./switch/switch.component";
20
+ import * as i19 from "./link/link.component";
21
+ import * as i20 from "./hn/h1/h1.component";
22
+ import * as i21 from "./hn/h2/h2.component";
23
+ import * as i22 from "./hn/h3/h3.component";
24
+ import * as i23 from "./hn/h4/h4.component";
25
+ import * as i24 from "./text/text.component";
26
+ import * as i25 from "./text-area/text-area.component";
27
+ import * as i26 from "./upload/upload.component";
28
+ import * as i27 from "./select-in-text/select-in-text.component";
29
+ import * as i28 from "./multiple-search/multiple-search.component";
30
+ import * as i29 from "./multiple-search-plus/multiple-search-plus.component";
31
+ import * as i30 from "./inputs/input-with-select/input-with-select.component";
32
+ import * as i31 from "./popin/popin.component";
33
+ import * as i32 from "./free-popin/free-popin.component";
34
+ import * as i33 from "./block/block.component";
35
+ import * as i34 from "./block/block-title-legacy/block-title-legacy.component";
36
+ import * as i35 from "./wrapper/wrapper.component";
37
+ import * as i36 from "./filters/filters.component";
38
+ import * as i37 from "./wrapper-blocs/wrapper-blocs.component";
39
+ import * as i38 from "./snackbar/snackbar.component";
40
+ import * as i39 from "./search/search.component";
41
+ import * as i40 from "./selected-list/selected-list.component";
42
+ import * as i41 from "./optional-disable-container/optional-disable-container.component";
43
+ import * as i42 from "./select/select/select.component";
44
+ import * as i43 from "./select/option/option.component";
45
+ import * as i44 from "./select/option-call-to-action/option-call-to-action.component";
46
+ import * as i45 from "./common/placeholder/placeholder.component";
47
+ import * as i46 from "./common/label/label.component";
48
+ import * as i47 from "./select/select-search-trigger/select-search-trigger.component";
49
+ import * as i48 from "./wrapper-sidebar/wrapper-sidebar.component";
50
+ import * as i49 from "./breadcrumbs/breadcrumbs.component";
51
+ import * as i50 from "./card-price/card-price.component";
52
+ import * as i51 from "./token-check/token-check.component";
53
+ import * as i52 from "./block-with-checkbox/block-with-checkbox.component";
54
+ import * as i53 from "./confirm-delete/confirm-delete.component";
55
+ import * as i54 from "./mosaic/mosaic.component";
56
+ import * as i55 from "./content-with-buttons/content-with-buttons.component";
57
+ import * as i56 from "./wrapper-multiple-block/wrapper-multiple-block.component";
58
+ import * as i57 from "./draganddrop-list/draganddrop-list.component";
59
+ import * as i58 from "./block/separator/block-separator.component";
60
+ import * as i59 from "./summary/summary.component";
61
+ import * as i60 from "./google-preview/google-preview.component";
62
+ import * as i61 from "./charging-bar/charging-bar.component";
63
+ import * as i62 from "./expanded-panel/expanded-panel.component";
64
+ import * as i63 from "@angular/common";
65
+ import * as i64 from "@angular/forms";
66
+ import * as i65 from "@wizishop/ng-wizi-bulma";
67
+ import * as i66 from "@ngx-translate/core";
68
+ import * as i67 from "../directives/shared-directives.module";
69
+ import * as i68 from "../pipes/shared-pipes.module";
70
+ import * as i69 from "@angular/cdk/table";
71
+ import * as i70 from "ngx-chips";
72
+ import * as i71 from "@angular/cdk/drag-drop";
73
+ import * as i72 from "./pagination/pagination.module";
74
+ import * as i73 from "./table/table.module";
75
+ import * as i74 from "./inputs/input-search/input-search.module";
76
+ import * as i75 from "./tooltip/tooltip.module";
77
+ import * as i76 from "./checkbox/checkbox.module";
78
+ import * as i77 from "./inputs/input/input.module";
79
+ import * as i78 from "./loader/loader.module";
80
+ import * as i79 from "./progress-bar/progress-bar.module";
81
+ import * as i80 from "ngx-perfect-scrollbar";
82
+ import * as i81 from "./alert-popup/alert-popup-module";
83
+ import * as i82 from "@angular/router";
84
+ import * as i83 from "ngx-autosize";
85
+ import * as i84 from "ngx-scrollbar";
86
+ import * as i85 from "ngx-scrollbar/reached-event";
87
+ import * as i86 from "./tree/tree.module";
88
+ import * as i87 from "./expansion/expansion.module";
89
+ import * as i88 from "./tab/tab.component";
90
90
  import * as i89 from "./pagination/pagination.component";
91
91
  import * as i90 from "./table/table.component";
92
92
  import * as i91 from "./table/directives/column.directive";
@@ -107,6 +107,6 @@ import * as i105 from "./expansion/expansion-panel/expansion-panel.directive";
107
107
  import * as i106 from "./expansion/expansion-panel-header/expansion-panel-header.directive";
108
108
  export declare class SharedComponentsModule {
109
109
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
110
- 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.MultipleSearchComponent, typeof i30.MultipleSearchPlusComponent, typeof i31.InputWithSelectComponent, typeof i32.PopinComponent, typeof i33.FreePopinComponent, typeof i34.BlockComponent, typeof i35.BlockTitleLegacyComponent, typeof i36.WrapperComponent, typeof i37.FiltersComponent, typeof i38.WrapperBlocsComponent, typeof i39.SnackbarComponent, typeof i40.SearchComponent, typeof i41.SelectedListComponent, typeof i42.OptionalDisableContainerComponent, typeof i43.SelectComponent, typeof i44.OptionComponent, typeof i45.OptionCallToActionComponent, typeof i46.PlaceholderComponent, typeof i47.LabelComponent, typeof i48.SelectSearchTriggerComponent, typeof i49.WrapperSidebarComponent, typeof i50.BreadcrumbsComponent, typeof i51.CardPriceComponent, typeof i52.TokenCheckComponent, typeof i53.BlockWithCheckboxComponent, typeof i54.ConfirmDeleteComponent, typeof i55.MosaicComponent, typeof i56.ContentWithButtonsComponent, typeof i57.WrapperMultipleBlockComponent, typeof i58.DraganddropListComponent, typeof i59.BlockSeparatorComponent, typeof i60.SummaryComponent, typeof i61.GooglePreviewComponent, typeof i58.DraganddropListComponent, typeof i62.ChargingBarComponent, typeof i63.ExpandedPanelComponent], [typeof i64.CommonModule, typeof i65.FormsModule, typeof i66.NwbAllModule, typeof i67.TranslateModule, typeof i65.ReactiveFormsModule, typeof i68.SharedDirectives, typeof i69.SharedPipes, typeof i70.CdkTableModule, typeof i71.TagInputModule, typeof i72.DragDropModule, typeof i73.PaginationModule, typeof i74.TableModule, typeof i75.InputSearchModule, typeof i76.TooltipModule, typeof i77.CheckboxModule, typeof i78.InputModule, typeof i79.LoaderModule, typeof i80.ProgressBarModule, typeof i81.PerfectScrollbarModule, typeof i82.AlertPopupModule, typeof i83.RouterModule, typeof i84.AutosizeModule, typeof i85.NgScrollbarModule, typeof i86.NgScrollbarReachedModule, typeof i87.TreeModule, typeof i88.ExpansionModule], [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.MultipleSearchComponent, typeof i30.MultipleSearchPlusComponent, typeof i31.InputWithSelectComponent, typeof i32.PopinComponent, typeof i33.FreePopinComponent, typeof i34.BlockComponent, typeof i35.BlockTitleLegacyComponent, typeof i36.WrapperComponent, typeof i37.FiltersComponent, typeof i38.WrapperBlocsComponent, typeof i39.SnackbarComponent, typeof i40.SearchComponent, typeof i41.SelectedListComponent, typeof i42.OptionalDisableContainerComponent, typeof i43.SelectComponent, typeof i44.OptionComponent, typeof i45.OptionCallToActionComponent, typeof i46.PlaceholderComponent, typeof i47.LabelComponent, typeof i48.SelectSearchTriggerComponent, typeof i49.WrapperSidebarComponent, typeof i50.BreadcrumbsComponent, typeof i51.CardPriceComponent, typeof i52.TokenCheckComponent, typeof i53.BlockWithCheckboxComponent, typeof i54.ConfirmDeleteComponent, typeof i55.MosaicComponent, typeof i56.ContentWithButtonsComponent, typeof i57.WrapperMultipleBlockComponent, typeof i58.DraganddropListComponent, typeof i59.BlockSeparatorComponent, typeof i60.SummaryComponent, typeof i61.GooglePreviewComponent, typeof i58.DraganddropListComponent, typeof i62.ChargingBarComponent, typeof i63.ExpandedPanelComponent, typeof i89.PaginationComponent, typeof i90.TableComponent, typeof i91.TableColumn, typeof i92.CheckBoxRow, typeof i93.TableColumnHeader, typeof i94.TableRow, typeof i95.InputSearchComponent, typeof i96.InputComponent, typeof i97.TooltipComponent, typeof i98.CheckboxComponent, typeof i99.LoaderComponent, typeof i100.ProgressBarComponent, typeof i101.TreeComponent, typeof i102.ExpansionPanelComponent, typeof i103.ExpansionPanelHeaderComponent, typeof i104.AccordionComponent, typeof i105.ExpansionPanelDirective, typeof i106.ExpansionPanelHeaderDirective]>;
110
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof i1.TagComponent, typeof i2.ButtonComponent, typeof i3.InfoComponent, typeof i4.SettingsComponent, typeof i5.DeleteComponent, typeof i6.DropdownComponent, typeof i7.ImageComponent, typeof i8.BackComponent, typeof i9.SeparatorComponent, typeof i10.LogoComponent, typeof i11.RadioComponent, typeof i12.StateComponent, typeof i13.TagLabelComponent, typeof i14.CalendarComponent, typeof i15.WzEditInPlaceComponent, typeof i16.AlertComponent, typeof i17.HeaderPageComponent, typeof i18.SwitchComponent, typeof i19.LinkComponent, typeof i20.H1Component, typeof i21.H2Component, typeof i22.H3Component, typeof i23.H4Component, typeof i24.TextComponent, typeof i25.TextAreaComponent, typeof i26.UploadComponent, typeof i27.SelectInTextComponent, typeof i28.MultipleSearchComponent, typeof i29.MultipleSearchPlusComponent, typeof i30.InputWithSelectComponent, typeof i31.PopinComponent, typeof i32.FreePopinComponent, typeof i33.BlockComponent, typeof i34.BlockTitleLegacyComponent, typeof i35.WrapperComponent, typeof i36.FiltersComponent, typeof i37.WrapperBlocsComponent, typeof i38.SnackbarComponent, typeof i39.SearchComponent, typeof i40.SelectedListComponent, typeof i41.OptionalDisableContainerComponent, typeof i42.SelectComponent, typeof i43.OptionComponent, typeof i44.OptionCallToActionComponent, typeof i45.PlaceholderComponent, typeof i46.LabelComponent, typeof i47.SelectSearchTriggerComponent, typeof i48.WrapperSidebarComponent, typeof i49.BreadcrumbsComponent, typeof i50.CardPriceComponent, typeof i51.TokenCheckComponent, typeof i52.BlockWithCheckboxComponent, typeof i53.ConfirmDeleteComponent, typeof i54.MosaicComponent, typeof i55.ContentWithButtonsComponent, typeof i56.WrapperMultipleBlockComponent, typeof i57.DraganddropListComponent, typeof i58.BlockSeparatorComponent, typeof i59.SummaryComponent, typeof i60.GooglePreviewComponent, typeof i57.DraganddropListComponent, typeof i61.ChargingBarComponent, typeof i62.ExpandedPanelComponent], [typeof i63.CommonModule, typeof i64.FormsModule, typeof i65.NwbAllModule, typeof i66.TranslateModule, typeof i64.ReactiveFormsModule, typeof i67.SharedDirectives, typeof i68.SharedPipes, typeof i69.CdkTableModule, typeof i70.TagInputModule, typeof i71.DragDropModule, typeof i72.PaginationModule, typeof i73.TableModule, typeof i74.InputSearchModule, typeof i75.TooltipModule, typeof i76.CheckboxModule, typeof i77.InputModule, typeof i78.LoaderModule, typeof i79.ProgressBarModule, typeof i80.PerfectScrollbarModule, typeof i81.AlertPopupModule, typeof i82.RouterModule, typeof i83.AutosizeModule, typeof i84.NgScrollbarModule, typeof i85.NgScrollbarReachedModule, typeof i86.TreeModule, typeof i87.ExpansionModule, typeof i88.TabComponent], [typeof i1.TagComponent, typeof i2.ButtonComponent, typeof i3.InfoComponent, typeof i4.SettingsComponent, typeof i5.DeleteComponent, typeof i6.DropdownComponent, typeof i7.ImageComponent, typeof i8.BackComponent, typeof i9.SeparatorComponent, typeof i10.LogoComponent, typeof i11.RadioComponent, typeof i12.StateComponent, typeof i13.TagLabelComponent, typeof i14.CalendarComponent, typeof i15.WzEditInPlaceComponent, typeof i16.AlertComponent, typeof i17.HeaderPageComponent, typeof i18.SwitchComponent, typeof i19.LinkComponent, typeof i20.H1Component, typeof i21.H2Component, typeof i22.H3Component, typeof i23.H4Component, typeof i24.TextComponent, typeof i25.TextAreaComponent, typeof i26.UploadComponent, typeof i27.SelectInTextComponent, typeof i28.MultipleSearchComponent, typeof i29.MultipleSearchPlusComponent, typeof i30.InputWithSelectComponent, typeof i31.PopinComponent, typeof i32.FreePopinComponent, typeof i33.BlockComponent, typeof i34.BlockTitleLegacyComponent, typeof i35.WrapperComponent, typeof i36.FiltersComponent, typeof i37.WrapperBlocsComponent, typeof i38.SnackbarComponent, typeof i39.SearchComponent, typeof i40.SelectedListComponent, typeof i41.OptionalDisableContainerComponent, typeof i42.SelectComponent, typeof i43.OptionComponent, typeof i44.OptionCallToActionComponent, typeof i45.PlaceholderComponent, typeof i46.LabelComponent, typeof i47.SelectSearchTriggerComponent, typeof i48.WrapperSidebarComponent, typeof i49.BreadcrumbsComponent, typeof i50.CardPriceComponent, typeof i51.TokenCheckComponent, typeof i52.BlockWithCheckboxComponent, typeof i53.ConfirmDeleteComponent, typeof i54.MosaicComponent, typeof i55.ContentWithButtonsComponent, typeof i56.WrapperMultipleBlockComponent, typeof i57.DraganddropListComponent, typeof i58.BlockSeparatorComponent, typeof i59.SummaryComponent, typeof i60.GooglePreviewComponent, typeof i57.DraganddropListComponent, typeof i61.ChargingBarComponent, typeof i62.ExpandedPanelComponent, typeof i89.PaginationComponent, typeof i90.TableComponent, typeof i91.TableColumn, typeof i92.CheckBoxRow, typeof i93.TableColumnHeader, typeof i94.TableRow, typeof i95.InputSearchComponent, typeof i96.InputComponent, typeof i97.TooltipComponent, typeof i98.CheckboxComponent, typeof i99.LoaderComponent, typeof i100.ProgressBarComponent, typeof i101.TreeComponent, typeof i102.ExpansionPanelComponent, typeof i103.ExpansionPanelHeaderComponent, typeof i104.AccordionComponent, typeof i105.ExpansionPanelDirective, typeof i106.ExpansionPanelHeaderDirective, typeof i88.TabComponent]>;
111
111
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
112
112
  }
@@ -13,5 +13,5 @@ export declare class TabComponent {
13
13
  constructor();
14
14
  valueChanged(i: any): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "wac-tab", never, { "underline": "underline"; "button": "button"; "tabs": "tabs"; "index": "index"; }, { "indexChange": "indexChange"; }, never, never, false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "wac-tab", never, { "underline": "underline"; "button": "button"; "tabs": "tabs"; "index": "index"; }, { "indexChange": "indexChange"; }, never, never, true, never>;
17
17
  }
@@ -0,0 +1,12 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CopyToClipBoardDirective {
4
+ private element;
5
+ onClick: () => void;
6
+ cursor: string;
7
+ textCopy: EventEmitter<string>;
8
+ constructor(element: ElementRef);
9
+ copyToClipboard: (text: string) => void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CopyToClipBoardDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CopyToClipBoardDirective, "[wacCopyToClipboard]", never, {}, { "textCopy": "textCopy"; }, never, never, true, never>;
12
+ }
@@ -5,16 +5,17 @@ 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 "../components/selects/option/select-option.directive";
9
- import * as i8 from "../components/selects/select/select.directive";
8
+ import * as i7 from "../components/select/option/select-option.directive";
9
+ import * as i8 from "../components/select/select/select.directive";
10
10
  import * as i9 from "./keyboard-events/only-numbers.directive";
11
11
  import * as i10 from "./keyboard-events/two-digital-decimal-number.directive";
12
12
  import * as i11 from "../components/radio/radio-directive";
13
13
  import * as i12 from "../components/radio/radio-group.directive";
14
14
  import * as i13 from "@angular/common";
15
15
  import * as i14 from "@angular/forms";
16
+ import * as i15 from "./copy-to-clipboard/copy-to-clipboard.directive";
16
17
  export declare class SharedDirectives {
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectives, never>;
18
- 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.SelectDirective, typeof i9.OnlyNumberDirective, typeof i10.TwoDigitDecimalNumberDirective, typeof i11.RadioDirective, typeof i12.RadioGroupDirective], [typeof i13.CommonModule, typeof i14.FormsModule], [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective, typeof i8.SelectDirective, typeof i9.OnlyNumberDirective, typeof i10.TwoDigitDecimalNumberDirective, typeof i11.RadioDirective, typeof i12.RadioGroupDirective]>;
19
+ 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.SelectDirective, typeof i9.OnlyNumberDirective, typeof i10.TwoDigitDecimalNumberDirective, typeof i11.RadioDirective, typeof i12.RadioGroupDirective], [typeof i13.CommonModule, typeof i14.FormsModule, typeof i15.CopyToClipBoardDirective], [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective, typeof i8.SelectDirective, typeof i9.OnlyNumberDirective, typeof i10.TwoDigitDecimalNumberDirective, typeof i11.RadioDirective, typeof i12.RadioGroupDirective, typeof i15.CopyToClipBoardDirective]>;
19
20
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectives>;
20
21
  }
@@ -1,5 +1,5 @@
1
1
  import { PipeTransform } from '@angular/core';
2
- import { SelectItem } from '../../components/selects/select-items.dto';
2
+ import { SelectItem } from '../../components/select/select-items.dto';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SelectFiltersPipe implements PipeTransform {
5
5
  transform(items: SelectItem[], filterName: string): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "15.1.5",
3
+ "version": "15.1.7",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~15.0.2",
6
6
  "@angular/cdk": "^15.0.1",
package/public-api.d.ts CHANGED
@@ -26,7 +26,7 @@ export * from './lib/components/hn/h1/h1.component';
26
26
  export * from './lib/components/hn/h2/h2.component';
27
27
  export * from './lib/components/hn/h3/h3.component';
28
28
  export * from './lib/components/hn/h4/h4.component';
29
- export * from './lib/components/selects/select-in-text/select-in-text.component';
29
+ export * from './lib/components/select-in-text/select-in-text.component';
30
30
  export * from './lib/components/text/text.component';
31
31
  export * from './lib/components/text-area/text-area.component';
32
32
  export * from './lib/components/pagination/pagination.component';
@@ -45,7 +45,7 @@ export * from './lib/components/loader/loader.component';
45
45
  export * from './lib/components/loader/loader.module';
46
46
  export * from './lib/components/progress-bar/progress-bar.component';
47
47
  export * from './lib/components/upload/upload.component';
48
- export * from './lib/components/selects/select-items.dto';
48
+ export * from './lib/components/select/select-items.dto';
49
49
  export * from './lib/components/inputs/input-with-select/input-with-select.component';
50
50
  export * from './lib/components/inputs/input-with-select/option-item.dto';
51
51
  export * from './lib/components/multiple-search/multiple-search.component';
@@ -59,7 +59,7 @@ export * from './lib/directives/keyboard-events/only-numbers.directive';
59
59
  export * from './lib/directives/ng-var.directive';
60
60
  export * from './lib/utils/html-container.class';
61
61
  export * from './lib/utils/uuid';
62
- export * from './lib/components/selects/call-to-action.model';
62
+ export * from './lib/components/select/call-to-action.model';
63
63
  export * from './lib/components/table/shared/filters-table.service';
64
64
  export * from './lib/components/table/shared/table-filters.model';
65
65
  export * from './lib/components/popin/popin.component';
@@ -105,18 +105,19 @@ export * from './lib/pipes/selected-list/are-all-options-selected.pipe';
105
105
  export * from './lib/pipes/find-option-selected-field.pipe';
106
106
  export * from './lib/pipes/call-component-function.pipe';
107
107
  export * from './lib/directives/keyboard-events/keypress-enter.directive';
108
+ export * from './lib/directives/copy-to-clipboard/copy-to-clipboard.directive';
108
109
  export * from './lib/directives/keyboard-events/two-digital-decimal-number.directive';
109
110
  export * from './lib/components/optional-disable-container/optional-disable-container.component';
110
111
  export * from './lib/components/summary/summary.component';
111
- export * from './lib/components/selects/select/select.component';
112
- export * from './lib/components/selects/select/value-change.service';
113
- export * from './lib/components/selects/select/select.directive';
114
- export * from './lib/components/selects/option/option.component';
115
- export * from './lib/components/selects/option-call-to-action/option-call-to-action.component';
112
+ export * from './lib/components/select/select/select.component';
113
+ export * from './lib/components/select/select/value-change.service';
114
+ export * from './lib/components/select/select/select.directive';
115
+ export * from './lib/components/select/option/option.component';
116
+ export * from './lib/components/select/option-call-to-action/option-call-to-action.component';
116
117
  export * from './lib/components/common/placeholder/placeholder.component';
117
118
  export * from './lib/components/common/label/label.component';
118
- export * from './lib/components/selects/option/select-option.directive';
119
- export * from './lib/components/selects/select-search-trigger/select-search-trigger.component';
119
+ export * from './lib/components/select/option/select-option.directive';
120
+ export * from './lib/components/select/select-search-trigger/select-search-trigger.component';
120
121
  export * from './lib/pipes/select/filter-options.pipe';
121
122
  export * from './lib/components/expansion/expansion.module';
122
123
  export * from './lib/components/expansion/accordion/accordion.component';
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsbC10by1hY3Rpb24ubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NlbGVjdHMvY2FsbC10by1hY3Rpb24ubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgQ2FsbGxUb0FjdGlvbiB7XG4gICAgdmFsdWU/OiBhbnk7XG4gICAgbmFtZT86IHN0cmluZztcbiAgICBpY29uPzogc3RyaW5nO1xuICAgIGJvbGRUZXh0Pzogc3RyaW5nO1xufSJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uLXNlbGVjdGlvbi1oYW5kbGVyLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc2VsZWN0cy9vcHRpb24vb3B0aW9uLXNlbGVjdGlvbi1oYW5kbGVyLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRWxlbWVudFJlZiwgRXZlbnRFbWl0dGVyIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcblxuZXhwb3J0IGludGVyZmFjZSBPcHRpb25TZWxlY3Rpb25IYW5kbGVyPFRPcHRpb25WYWx1ZT4ge1xuICAgIHZhbHVlOiBUT3B0aW9uVmFsdWU7XG4gICAgc2VsZWN0ZWQ6IGJvb2xlYW47XG4gICAgc2VsZWN0ZWRDaGFuZ2U6IEV2ZW50RW1pdHRlcjxib29sZWFuPjtcbiAgICBnZXRDb250ZW50UmVmKCk6IEVsZW1lbnRSZWY8YW55PjtcbiAgICBzZXREaXNhYmxlZFN0YXRlKGlzRGlzYWJsZWQ6IGJvb2xlYW4pOiB2b2lkO1xuICAgIHNldFNlbGVjdGVkKHNlbGVjdGVkOiBib29sZWFuKTogdm9pZDtcbiAgICBzZXRNdWx0aXBsZShtdWx0aXBsZTogYm9vbGVhbik6IHZvaWQ7XG59Il19
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from "@angular/core";
2
- export const OPTION_SELECTION_HANDLER = new InjectionToken('OPTION_SELECTION_HANDLER');
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uLXNlbGVjdGlvbi1oYW5kbGVyLnRva2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9zZWxlY3RzL29wdGlvbi9vcHRpb24tc2VsZWN0aW9uLWhhbmRsZXIudG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcvQyxNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBRyxJQUFJLGNBQWMsQ0FBOEIsMEJBQTBCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcbmltcG9ydCB7IE9wdGlvblNlbGVjdGlvbkhhbmRsZXIgfSBmcm9tIFwiLi9vcHRpb24tc2VsZWN0aW9uLWhhbmRsZXIuaW50ZXJmYWNlXCI7XG5cbmV4cG9ydCBjb25zdCBPUFRJT05fU0VMRUNUSU9OX0hBTkRMRVIgPSBuZXcgSW5qZWN0aW9uVG9rZW48T3B0aW9uU2VsZWN0aW9uSGFuZGxlcjxhbnk+PignT1BUSU9OX1NFTEVDVElPTl9IQU5ETEVSJyk7Il19
@@ -1,97 +0,0 @@
1
- import { Directive, EventEmitter, HostBinding, HostListener, Input, Output } from '@angular/core';
2
- import { OPTION_SELECTION_HANDLER } from './option-selection-handler.token';
3
- import * as i0 from "@angular/core";
4
- // todo create a select module and in the select-option.directive.ts
5
- export class SelectOptionDirective {
6
- onClick(event) {
7
- this.onSelectOption();
8
- if (this.onClickEventPreventDefault) {
9
- event.preventDefault();
10
- }
11
- }
12
- get isOptionSelected() {
13
- return this.selected;
14
- }
15
- get isOptionDisabled() {
16
- return this.disabled || this.disabledByParent;
17
- }
18
- get cursor() {
19
- return this.disabled || this.disabledByParent ? 'not-allowed' : 'pointer';
20
- }
21
- constructor(contentRef, changeDetectorRef) {
22
- this.contentRef = contentRef;
23
- this.changeDetectorRef = changeDetectorRef;
24
- this.disabled = false;
25
- this.disabledByParent = false;
26
- this.selected = false;
27
- this.onClickEventPreventDefault = true;
28
- this.selectedChange = new EventEmitter();
29
- this.multiple = false;
30
- }
31
- setSelected(selected) {
32
- this.selected = selected;
33
- this.changeDetectorRef.markForCheck();
34
- }
35
- onSelectOption() {
36
- if (this.disabled || this.disabledByParent) {
37
- return;
38
- }
39
- this.selected = this.multiple ? !this.selected : true; // If not multiple mode -> can not be unselected
40
- this.selectedChange.emit(this.selected);
41
- this.changeDetectorRef.markForCheck();
42
- }
43
- getValue() {
44
- return this.value;
45
- }
46
- setValue(value) {
47
- this.value = value;
48
- this.changeDetectorRef.markForCheck();
49
- }
50
- isSelected() {
51
- return this.selected;
52
- }
53
- getContentRef() {
54
- return this.contentRef;
55
- }
56
- setDisabledState(isDisabled) {
57
- this.disabledByParent = isDisabled;
58
- this.changeDetectorRef.markForCheck();
59
- }
60
- setMultiple(multiple) {
61
- this.multiple = multiple;
62
- this.changeDetectorRef.markForCheck();
63
- }
64
- }
65
- SelectOptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SelectOptionDirective, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
66
- SelectOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: SelectOptionDirective, selector: "[wacOption]", inputs: { disabled: "disabled", value: "value", selected: "selected", onClickEventPreventDefault: "onClickEventPreventDefault" }, outputs: { selectedChange: "selectedChange" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.wac-option-selected": "this.isOptionSelected", "class.wac-option-disabled": "this.isOptionDisabled", "style.cursor": "this.cursor" } }, providers: [{ provide: OPTION_SELECTION_HANDLER, useExisting: SelectOptionDirective }], exportAs: ["wacOption"], ngImport: i0 });
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SelectOptionDirective, decorators: [{
68
- type: Directive,
69
- args: [{
70
- selector: '[wacOption]',
71
- providers: [{ provide: OPTION_SELECTION_HANDLER, useExisting: SelectOptionDirective }],
72
- exportAs: 'wacOption'
73
- }]
74
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onClick: [{
75
- type: HostListener,
76
- args: ['click', ['$event']]
77
- }], isOptionSelected: [{
78
- type: HostBinding,
79
- args: ['class.wac-option-selected']
80
- }], isOptionDisabled: [{
81
- type: HostBinding,
82
- args: ['class.wac-option-disabled']
83
- }], cursor: [{
84
- type: HostBinding,
85
- args: ['style.cursor']
86
- }], disabled: [{
87
- type: Input
88
- }], value: [{
89
- type: Input
90
- }], selected: [{
91
- type: Input
92
- }], onClickEventPreventDefault: [{
93
- type: Input
94
- }], selectedChange: [{
95
- type: Output
96
- }] } });
97
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LW9wdGlvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NlbGVjdHMvb3B0aW9uL3NlbGVjdC1vcHRpb24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBcUIsU0FBUyxFQUFjLFlBQVksRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFakksT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sa0NBQWtDLENBQUM7O0FBRTVFLG9FQUFvRTtBQU1wRSxNQUFNLE9BQU8scUJBQXFCO0lBRUcsT0FBTyxDQUFDLEtBQW1CO1FBQzVELElBQUksQ0FBQyxjQUFjLEVBQUUsQ0FBQztRQUN0QixJQUFJLElBQUksQ0FBQywwQkFBMEIsRUFBRTtZQUNuQyxLQUFLLENBQUMsY0FBYyxFQUFFLENBQUM7U0FDeEI7SUFDSCxDQUFDO0lBRUQsSUFBOEMsZ0JBQWdCO1FBQzVELE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQztJQUN2QixDQUFDO0lBRUQsSUFBOEMsZ0JBQWdCO1FBQzVELE9BQU8sSUFBSSxDQUFDLFFBQVEsSUFBSSxJQUFJLENBQUMsZ0JBQWdCLENBQUM7SUFDaEQsQ0FBQztJQUVELElBQWlDL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