@wizishop/angular-components 14.1.1 → 14.1.3

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 (86) hide show
  1. package/angular-components.scss +1872 -183
  2. package/esm2020/lib/components/block-with-checkbox/block-with-checkbox.component.mjs +47 -0
  3. package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +27 -0
  4. package/esm2020/lib/components/breadcrumbs/breadcrumbs.dto.mjs +2 -0
  5. package/esm2020/lib/components/button/button.component.mjs +23 -3
  6. package/esm2020/lib/components/card-price/card-price.component.mjs +66 -0
  7. package/esm2020/lib/components/checkbox/checkbox.component.mjs +3 -3
  8. package/esm2020/lib/components/common/label/label.component.mjs +16 -0
  9. package/esm2020/lib/components/common/placeholder/placeholder.component.mjs +16 -0
  10. package/esm2020/lib/components/confirm-delete/confirm-delete.component.mjs +64 -0
  11. package/esm2020/lib/components/content-with-buttons/content-with-buttons.component.mjs +69 -0
  12. package/esm2020/lib/components/draganddrop-list/draganddrop-list.component.mjs +61 -0
  13. package/esm2020/lib/components/edit-in-place/edit-in-place.component.mjs +1 -1
  14. package/esm2020/lib/components/free-popin/free-popin.component.mjs +1 -1
  15. package/esm2020/lib/components/header-page/header-page.component.mjs +6 -4
  16. package/esm2020/lib/components/hn/h1/h1.component.mjs +10 -5
  17. package/esm2020/lib/components/inputs/input/input.component.mjs +10 -3
  18. package/esm2020/lib/components/link/link.component.mjs +6 -4
  19. package/esm2020/lib/components/mosaic/mosaic.component.mjs +81 -0
  20. package/esm2020/lib/components/popin/popin.component.mjs +3 -3
  21. package/esm2020/lib/components/selected-list/selected-list.component.mjs +1 -1
  22. package/esm2020/lib/components/selects/option/option-selection-handler.interface.mjs +2 -0
  23. package/esm2020/lib/components/selects/option/option-selection-handler.token.mjs +3 -0
  24. package/esm2020/lib/components/selects/option/option.component.mjs +62 -0
  25. package/esm2020/lib/components/selects/option/select-option.directive.mjs +61 -0
  26. package/esm2020/lib/components/selects/option-call-to-action/option-call-to-action.component.mjs +12 -0
  27. package/esm2020/lib/components/selects/select/select.component.mjs +16 -16
  28. package/esm2020/lib/components/selects/select-in-text/select-in-text.component.mjs +5 -4
  29. package/esm2020/lib/components/selects/select-search-trigger/select-search-trigger.component.mjs +38 -0
  30. package/esm2020/lib/components/selects/select-test/select.component.mjs +216 -0
  31. package/esm2020/lib/components/selects/select-test/value-change.service.mjs +116 -0
  32. package/esm2020/lib/components/shared-components.module.mjs +88 -8
  33. package/esm2020/lib/components/switch/switch.component.mjs +40 -11
  34. package/esm2020/lib/components/tag-label/tag-label.component.mjs +34 -0
  35. package/esm2020/lib/components/text-area/text-area.component.mjs +19 -5
  36. package/esm2020/lib/components/token-check/token-check.component.mjs +21 -0
  37. package/esm2020/lib/components/wrapper-multiple-block/wrapper-multiple-block.component.mjs +12 -0
  38. package/esm2020/lib/components/wrapper-sidebar/wrapper-sidebar.component.mjs +27 -0
  39. package/esm2020/lib/directives/shared-directives.module.mjs +4 -3
  40. package/esm2020/lib/pipes/select/filter-options.pipe.mjs +19 -0
  41. package/esm2020/lib/pipes/shared-pipes.module.mjs +5 -4
  42. package/esm2020/public-api.mjs +20 -2
  43. package/fesm2015/wizishop-angular-components.mjs +1164 -64
  44. package/fesm2015/wizishop-angular-components.mjs.map +1 -1
  45. package/fesm2020/wizishop-angular-components.mjs +1162 -64
  46. package/fesm2020/wizishop-angular-components.mjs.map +1 -1
  47. package/lib/components/block-with-checkbox/block-with-checkbox.component.d.ts +17 -0
  48. package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +13 -0
  49. package/lib/components/breadcrumbs/breadcrumbs.dto.d.ts +5 -0
  50. package/lib/components/button/button.component.d.ts +8 -1
  51. package/lib/components/card-price/card-price.component.d.ts +27 -0
  52. package/lib/components/common/label/label.component.d.ts +8 -0
  53. package/lib/components/common/placeholder/placeholder.component.d.ts +8 -0
  54. package/lib/components/confirm-delete/confirm-delete.component.d.ts +21 -0
  55. package/lib/components/content-with-buttons/content-with-buttons.component.d.ts +26 -0
  56. package/lib/components/draganddrop-list/draganddrop-list.component.d.ts +20 -0
  57. package/lib/components/header-page/header-page.component.d.ts +3 -4
  58. package/lib/components/hn/h1/h1.component.d.ts +4 -4
  59. package/lib/components/inputs/input/input.component.d.ts +4 -1
  60. package/lib/components/link/link.component.d.ts +4 -4
  61. package/lib/components/mosaic/mosaic.component.d.ts +28 -0
  62. package/lib/components/selects/option/option-selection-handler.interface.d.ts +7 -0
  63. package/lib/components/selects/option/option-selection-handler.token.d.ts +3 -0
  64. package/lib/components/selects/option/option.component.d.ts +24 -0
  65. package/lib/components/selects/option/select-option.directive.d.ts +21 -0
  66. package/lib/components/selects/option-call-to-action/option-call-to-action.component.d.ts +6 -0
  67. package/lib/components/selects/select/select.component.d.ts +5 -7
  68. package/lib/components/selects/select-search-trigger/select-search-trigger.component.d.ts +14 -0
  69. package/lib/components/selects/select-test/select.component.d.ts +55 -0
  70. package/lib/components/selects/select-test/value-change.service.d.ts +30 -0
  71. package/lib/components/shared-components.module.d.ts +55 -35
  72. package/lib/components/switch/switch.component.d.ts +13 -3
  73. package/lib/components/tag-label/tag-label.component.d.ts +12 -0
  74. package/lib/components/text-area/text-area.component.d.ts +8 -3
  75. package/lib/components/token-check/token-check.component.d.ts +10 -0
  76. package/lib/components/wrapper-multiple-block/wrapper-multiple-block.component.d.ts +6 -0
  77. package/lib/components/wrapper-sidebar/wrapper-sidebar.component.d.ts +11 -0
  78. package/lib/directives/shared-directives.module.d.ts +4 -3
  79. package/lib/pipes/select/filter-options.pipe.d.ts +7 -0
  80. package/lib/pipes/shared-pipes.module.d.ts +6 -5
  81. package/package.json +1 -1
  82. package/public-api.d.ts +19 -1
  83. package/wizishop-angular-components-14.1.3.tgz +0 -0
  84. package/esm2020/lib/components/label/label.component.mjs +0 -34
  85. package/lib/components/label/label.component.d.ts +0 -12
  86. package/wizishop-angular-components-14.1.1.tgz +0 -0
@@ -0,0 +1,17 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BlockWithCheckboxComponent implements OnInit {
4
+ selected: boolean;
5
+ disabled: boolean;
6
+ checkboxAction: EventEmitter<boolean>;
7
+ randomLabelName: string;
8
+ nameRadio: string;
9
+ isFirst: boolean;
10
+ opacity: string;
11
+ constructor();
12
+ ngOnInit(): void;
13
+ eventSelected(event: any): void;
14
+ removeFirstClass(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlockWithCheckboxComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockWithCheckboxComponent, "wac-block-with-checkbox", never, { "selected": "selected"; "disabled": "disabled"; "nameRadio": "nameRadio"; "isFirst": "isFirst"; "opacity": "opacity"; }, { "checkboxAction": "checkboxAction"; }, never, ["*"], false>;
17
+ }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BreadcrumbsDto } from './breadcrumbs.dto';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BreadcrumbsComponent {
5
+ breadcrumbs: BreadcrumbsDto[];
6
+ noResponsive: boolean;
7
+ index: number;
8
+ indexChange: EventEmitter<any>;
9
+ constructor();
10
+ valueChanged(i: any): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsComponent, "wac-breadcrumbs", never, { "breadcrumbs": "breadcrumbs"; "noResponsive": "noResponsive"; }, { "indexChange": "indexChange"; }, never, never, false>;
13
+ }
@@ -0,0 +1,5 @@
1
+ export interface BreadcrumbsDto {
2
+ name: string;
3
+ current: boolean;
4
+ valid: boolean;
5
+ }
@@ -5,6 +5,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
5
5
  label: string;
6
6
  icon: string;
7
7
  iconNext: string;
8
+ textcolor: any;
8
9
  widthAuto: boolean;
9
10
  contentHorizontalPosition: 'left' | 'center' | 'right';
10
11
  iconFontSize: number;
@@ -17,6 +18,12 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
17
18
  animationText: string;
18
19
  confirmDelete: boolean;
19
20
  confirmDeleteText: string;
21
+ coin: number | string;
22
+ tooltip: string;
23
+ tooltipWidth: string;
24
+ noPadding: boolean;
25
+ tooltipPosition: 'top-center' | 'top-right' | 'top-left' | 'bottom-center' | 'bottom-right' | 'bottom-left' | 'left' | 'right';
26
+ tooltipOneline: boolean;
20
27
  confirmDeletePosition: string;
21
28
  click: EventEmitter<MouseEvent>;
22
29
  set isLoading(isLoading: boolean);
@@ -42,5 +49,5 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
42
49
  onButtonClick(event: any): void;
43
50
  ngAfterViewInit(): void;
44
51
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "wac-button", never, { "extraClasses": "extraClasses"; "label": "label"; "icon": "icon"; "iconNext": "iconNext"; "widthAuto": "widthAuto"; "contentHorizontalPosition": "contentHorizontalPosition"; "iconFontSize": "iconFontSize"; "hasLoader": "hasLoader"; "disabled": "disabled"; "whiteSpaceNowrap": "whiteSpaceNowrap"; "opacity": "opacity"; "animation": "animation"; "animationRight": "animationRight"; "animationText": "animationText"; "confirmDelete": "confirmDelete"; "confirmDeleteText": "confirmDeleteText"; "confirmDeletePosition": "confirmDeletePosition"; "isLoading": "isLoading"; }, { "click": "click"; "isLoadingChange": "isLoadingChange"; }, never, never, false>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "wac-button", never, { "extraClasses": "extraClasses"; "label": "label"; "icon": "icon"; "iconNext": "iconNext"; "textcolor": "textcolor"; "widthAuto": "widthAuto"; "contentHorizontalPosition": "contentHorizontalPosition"; "iconFontSize": "iconFontSize"; "hasLoader": "hasLoader"; "disabled": "disabled"; "whiteSpaceNowrap": "whiteSpaceNowrap"; "opacity": "opacity"; "animation": "animation"; "animationRight": "animationRight"; "animationText": "animationText"; "confirmDelete": "confirmDelete"; "confirmDeleteText": "confirmDeleteText"; "coin": "coin"; "tooltip": "tooltip"; "tooltipWidth": "tooltipWidth"; "noPadding": "noPadding"; "tooltipPosition": "tooltipPosition"; "tooltipOneline": "tooltipOneline"; "confirmDeletePosition": "confirmDeletePosition"; "isLoading": "isLoading"; }, { "click": "click"; "isLoadingChange": "isLoadingChange"; }, never, never, false>;
46
53
  }
@@ -0,0 +1,27 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CardPriceComponent {
4
+ amount: string;
5
+ title: string;
6
+ selected: boolean;
7
+ btnLabelSelected: string;
8
+ price: string | number;
9
+ currency: string;
10
+ priceWording: string;
11
+ subtitle: string;
12
+ btnLabel: string;
13
+ packageSubtitle: string;
14
+ linkPackageLabel: string;
15
+ disabled: boolean;
16
+ btnTextcolor: string;
17
+ extraClasses: string;
18
+ extraClassesSelected: string;
19
+ hideButton: boolean;
20
+ confirm: EventEmitter<any>;
21
+ cancel: EventEmitter<any>;
22
+ constructor();
23
+ triggerClick(): void;
24
+ removePackageTrigger(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardPriceComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardPriceComponent, "wac-card-price", never, { "amount": "amount"; "title": "title"; "selected": "selected"; "btnLabelSelected": "btnLabelSelected"; "price": "price"; "currency": "currency"; "priceWording": "priceWording"; "subtitle": "subtitle"; "btnLabel": "btnLabel"; "packageSubtitle": "packageSubtitle"; "linkPackageLabel": "linkPackageLabel"; "disabled": "disabled"; "btnTextcolor": "btnTextcolor"; "extraClasses": "extraClasses"; "extraClassesSelected": "extraClassesSelected"; "hideButton": "hideButton"; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, never, false>;
27
+ }
@@ -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,21 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ConfirmDeleteComponent implements AfterViewInit {
4
+ open: boolean;
5
+ label: string;
6
+ labelCancel: string;
7
+ labelConfirm: string;
8
+ confirm: EventEmitter<boolean>;
9
+ backgroundColor: string;
10
+ borderRadius: string;
11
+ hideText: boolean;
12
+ container: ElementRef;
13
+ constructor();
14
+ eventCancel(event: any): void;
15
+ eventConfirm(event: any): void;
16
+ responsiveControl(size: any): void;
17
+ onResize(): void;
18
+ ngAfterViewInit(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDeleteComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDeleteComponent, "wac-confirm-delete", never, { "open": "open"; "label": "label"; "labelCancel": "labelCancel"; "labelConfirm": "labelConfirm"; "backgroundColor": "backgroundColor"; "borderRadius": "borderRadius"; }, { "confirm": "confirm"; }, never, never, false>;
21
+ }
@@ -0,0 +1,26 @@
1
+ import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ContentWithButtonsComponent implements OnInit, AfterViewInit {
4
+ iconCopy: string;
5
+ iconTranslate: string;
6
+ tooltipCopy: string;
7
+ tooltipTranslate: string;
8
+ count: boolean;
9
+ countCharacterLabel: string;
10
+ countWordsLabel: string;
11
+ reportLabel: string;
12
+ copyAction: EventEmitter<boolean>;
13
+ reportAction: EventEmitter<boolean>;
14
+ translateAction: EventEmitter<boolean>;
15
+ countWords: number;
16
+ countIsReady: boolean;
17
+ countCharacter: number;
18
+ randomLabelName: string;
19
+ ngOnInit(): void;
20
+ ngAfterViewInit(): void;
21
+ eventCopy(): void;
22
+ eventTranslate(): void;
23
+ eventReport(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentWithButtonsComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContentWithButtonsComponent, "wac-content-with-buttons", never, { "iconCopy": "iconCopy"; "iconTranslate": "iconTranslate"; "tooltipCopy": "tooltipCopy"; "tooltipTranslate": "tooltipTranslate"; "count": "count"; "countCharacterLabel": "countCharacterLabel"; "countWordsLabel": "countWordsLabel"; "reportLabel": "reportLabel"; }, { "copyAction": "copyAction"; "reportAction": "reportAction"; "translateAction": "translateAction"; }, never, ["*"], false>;
26
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DraganddropListComponent {
5
+ label: string;
6
+ items: Array<string>;
7
+ disabled: boolean;
8
+ max: number;
9
+ labelBtnAdd: string;
10
+ backgroundColor: string;
11
+ showTriggerSave: boolean;
12
+ itemsChange: EventEmitter<string[]>;
13
+ drop(event: CdkDragDrop<string[]>): void;
14
+ delete(index: any): void;
15
+ saveFieldEnd(index: any, event: any): void;
16
+ addField(): void;
17
+ saveNewField(event: any): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DraganddropListComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DraganddropListComponent, "wac-draganddrop-list", never, { "label": "label"; "items": "items"; "disabled": "disabled"; "max": "max"; "labelBtnAdd": "labelBtnAdd"; "backgroundColor": "backgroundColor"; }, { "itemsChange": "itemsChange"; }, never, never, false>;
20
+ }
@@ -1,11 +1,10 @@
1
- import { OnInit } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- export declare class HeaderPageComponent implements OnInit {
2
+ export declare class HeaderPageComponent {
4
3
  title: string;
5
4
  linkBack: string[];
6
5
  withImg: boolean;
6
+ center: boolean;
7
7
  constructor();
8
- ngOnInit(): void;
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderPageComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderPageComponent, "wac-header-page", never, { "title": "title"; "linkBack": "linkBack"; "withImg": "withImg"; }, {}, never, ["[role=header]", "*"], false>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderPageComponent, "wac-header-page", never, { "title": "title"; "linkBack": "linkBack"; "withImg": "withImg"; "center": "center"; }, {}, never, ["[role=header]", "[role=subtitle]", "*"], false>;
11
10
  }
@@ -1,9 +1,9 @@
1
- import { OnInit } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- export declare class H1Component implements OnInit {
2
+ export declare class H1Component {
3
+ annotation: string;
4
4
  withImg: boolean;
5
+ center: boolean;
5
6
  constructor();
6
- ngOnInit(): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<H1Component, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<H1Component, "wac-h1", never, { "withImg": "withImg"; }, {}, never, ["*"], false>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<H1Component, "wac-h1", never, { "annotation": "annotation"; "withImg": "withImg"; "center": "center"; }, {}, never, ["*"], false>;
9
9
  }
@@ -32,6 +32,9 @@ export declare class InputComponent implements ControlValueAccessor {
32
32
  disabled: boolean;
33
33
  indication: string;
34
34
  success: boolean;
35
+ error: boolean;
36
+ maxlength: number | string;
37
+ minlength: number | string;
35
38
  indicationLeft: boolean;
36
39
  keypressEnter: EventEmitter<boolean>;
37
40
  blurred: EventEmitter<void>;
@@ -49,5 +52,5 @@ export declare class InputComponent implements ControlValueAccessor {
49
52
  onFocusOut(): void;
50
53
  keyPress(event: KeyboardEvent): void;
51
54
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "wac-input", never, { "label": "label"; "value": "value"; "type": "type"; "placeholder": "placeholder"; "textInfo": "textInfo"; "textError": "textError"; "size": "size"; "isNumber": "isNumber"; "withoutBlock": "withoutBlock"; "icon": "icon"; "big": "big"; "medium": "medium"; "boldLabel": "boldLabel"; "min": "min"; "max": "max"; "disableMargin": "disableMargin"; "textPrepend": "textPrepend"; "textAppend": "textAppend"; "progressBar": "progressBar"; "extraClasses": "extraClasses"; "keyPreventDefault": "keyPreventDefault"; "showTooltip": "showTooltip"; "textTooltip": "textTooltip"; "iconTooltip": "iconTooltip"; "urlTooltip": "urlTooltip"; "linkTooltip": "linkTooltip"; "padding": "padding"; "disabled": "disabled"; "indication": "indication"; "success": "success"; "indicationLeft": "indicationLeft"; }, { "keypressEnter": "keypressEnter"; "blurred": "blurred"; }, never, never, false>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "wac-input", never, { "label": "label"; "value": "value"; "type": "type"; "placeholder": "placeholder"; "textInfo": "textInfo"; "textError": "textError"; "size": "size"; "isNumber": "isNumber"; "withoutBlock": "withoutBlock"; "icon": "icon"; "big": "big"; "medium": "medium"; "boldLabel": "boldLabel"; "min": "min"; "max": "max"; "disableMargin": "disableMargin"; "textPrepend": "textPrepend"; "textAppend": "textAppend"; "progressBar": "progressBar"; "extraClasses": "extraClasses"; "keyPreventDefault": "keyPreventDefault"; "showTooltip": "showTooltip"; "textTooltip": "textTooltip"; "iconTooltip": "iconTooltip"; "urlTooltip": "urlTooltip"; "linkTooltip": "linkTooltip"; "padding": "padding"; "disabled": "disabled"; "indication": "indication"; "success": "success"; "error": "error"; "maxlength": "maxlength"; "minlength": "minlength"; "indicationLeft": "indicationLeft"; }, { "keypressEnter": "keypressEnter"; "blurred": "blurred"; }, never, never, false>;
53
56
  }
@@ -1,6 +1,6 @@
1
- import { ElementRef, OnInit, Renderer2 } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class LinkComponent implements OnInit {
3
+ export declare class LinkComponent implements AfterViewInit {
4
4
  private renderer2;
5
5
  _link: string;
6
6
  set href(link: string);
@@ -8,11 +8,11 @@ export declare class LinkComponent implements OnInit {
8
8
  target: '_self' | '_blank' | '_parent' | '_top';
9
9
  id: string;
10
10
  class: string;
11
+ fontSize: string;
11
12
  linkComponent: ElementRef;
12
13
  constructor(renderer2: Renderer2);
13
- ngOnInit(): void;
14
14
  ngAfterViewInit(): void;
15
15
  setAttributesLink(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "wac-link", never, { "href": "href"; "target": "target"; "id": "id"; "class": "class"; }, {}, never, ["*"], false>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "wac-link", never, { "href": "href"; "target": "target"; "id": "id"; "class": "class"; "fontSize": "fontSize"; }, {}, never, ["*"], false>;
18
18
  }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare type ImageSource = string;
4
+ export declare type ImageAlt = string;
5
+ export declare type MosaicImage = {
6
+ src: ImageSource;
7
+ alt: ImageAlt;
8
+ };
9
+ export declare type MosaicImages = Readonly<MosaicImage[]>;
10
+ export declare class MosaicComponent implements OnChanges {
11
+ imagesList: MosaicImages;
12
+ isLoading: boolean;
13
+ numberOfColumn: number;
14
+ hoverImageTemplate: TemplateRef<any>;
15
+ importImageSrc: EventEmitter<string>;
16
+ loadMoreImages: EventEmitter<void>;
17
+ columns: MosaicImages[];
18
+ trackColumn(index: number): number;
19
+ trackImage(index: number, image: MosaicImage): string;
20
+ ngOnChanges(changes: SimpleChanges): void;
21
+ generateColumns(previousList: MosaicImages, currentList: MosaicImages, isNumberOfColumnChange: boolean): void;
22
+ separateImagesIntoColumns(newImagesToDisplay: MosaicImages): MosaicImages[];
23
+ concatColumns(oldColumns: MosaicImages[], newColumns: MosaicImages[]): MosaicImages[];
24
+ onBottomReached(): void;
25
+ onImportImage(src: ImageSource): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<MosaicComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<MosaicComponent, "wac-mosaic", never, { "imagesList": "imagesList"; "isLoading": "isLoading"; "numberOfColumn": "numberOfColumn"; "hoverImageTemplate": "hoverImageTemplate"; }, { "importImageSrc": "importImageSrc"; "loadMoreImages": "loadMoreImages"; }, never, never, false>;
28
+ }
@@ -0,0 +1,7 @@
1
+ import { ElementRef, EventEmitter } from "@angular/core";
2
+ export interface OptionSelectionHandler {
3
+ value: any;
4
+ selected: boolean;
5
+ selectedChange: EventEmitter<any>;
6
+ getContentRef(): ElementRef<any>;
7
+ }
@@ -0,0 +1,3 @@
1
+ import { InjectionToken } from "@angular/core";
2
+ import { OptionSelectionHandler } from "./option-selection-handler.interface";
3
+ export declare const OPTION_SELECTION_HANDLER: InjectionToken<OptionSelectionHandler>;
@@ -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, OnInit } from '@angular/core';
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 OnInit, ControlValueAccessor {
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[];
@@ -14,6 +12,7 @@ export declare class SelectComponent implements OnInit, ControlValueAccessor {
14
12
  maxWidthItems: string;
15
13
  search: boolean;
16
14
  searchValue: string;
15
+ openUp: boolean;
17
16
  searchValueChange: EventEmitter<string>;
18
17
  type: string;
19
18
  _calllToAction: CalllToAction;
@@ -26,8 +25,7 @@ export declare class SelectComponent implements OnInit, ControlValueAccessor {
26
25
  searchElement: ElementRef;
27
26
  openCategories: boolean;
28
27
  indexItemSelected: number;
29
- constructor(translateService: TranslateService);
30
- ngOnInit(): void;
28
+ constructor();
31
29
  onClose(): void;
32
30
  customTB(item: SelectItem, index: number): string;
33
31
  onSelectItem(id: number): void;
@@ -44,5 +42,5 @@ export declare class SelectComponent implements OnInit, ControlValueAccessor {
44
42
  registerOnChange(fn: any): void;
45
43
  registerOnTouched(fn: any): void;
46
44
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "wac-select", never, { "items": "items"; "placeholder": "placeholder"; "label": "label"; "maxWidthItems": "maxWidthItems"; "search": "search"; "searchValue": "searchValue"; "type": "type"; "callToAction": "callToAction"; "maxWidth": "maxWidth"; "disabled": "disabled"; }, { "searchValueChange": "searchValueChange"; "selectValue": "selectValue"; "clickOnCallToAction": "clickOnCallToAction"; }, never, never, false>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "wac-select", never, { "items": "items"; "placeholder": "placeholder"; "label": "label"; "maxWidthItems": "maxWidthItems"; "search": "search"; "searchValue": "searchValue"; "openUp": "openUp"; "type": "type"; "callToAction": "callToAction"; "maxWidth": "maxWidth"; "disabled": "disabled"; }, { "searchValueChange": "searchValueChange"; "selectValue": "selectValue"; "clickOnCallToAction": "clickOnCallToAction"; }, never, never, false>;
48
46
  }
@@ -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: number) => void;
48
+ onTouch: (value: any) => void;
49
+ writeValue(value: number): 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
+ }