@agorapulse/ui-components 0.0.1

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 (144) hide show
  1. package/agorapulse-ui-components-0.0.1.tgz +0 -0
  2. package/agorapulse-ui-components.d.ts +9 -0
  3. package/agorapulse-ui-components.metadata.json +1 -0
  4. package/assets/lib-ui/icons/facebook-icon.png +0 -0
  5. package/assets/lib-ui/icons/google-icon.png +0 -0
  6. package/assets/lib-ui/icons/instagram-icon.png +0 -0
  7. package/assets/lib-ui/icons/linkedin-icon.png +0 -0
  8. package/assets/lib-ui/icons/pinterest-icon.png +0 -0
  9. package/assets/lib-ui/icons/twitter-icon.png +0 -0
  10. package/assets/lib-ui/icons/youtube-icon.png +0 -0
  11. package/assets/lib-ui/img/default-avatar-organization.png +0 -0
  12. package/assets/lib-ui/img/default-avatar-user.png +0 -0
  13. package/assets/lib-ui/img/default-avatar.png +0 -0
  14. package/assets/lib-ui/img/spinner_animation.gif +0 -0
  15. package/bundles/agorapulse-ui-components.umd.js +4448 -0
  16. package/bundles/agorapulse-ui-components.umd.js.map +1 -0
  17. package/esm2015/agorapulse-ui-components.js +10 -0
  18. package/esm2015/index.js +57 -0
  19. package/esm2015/src/lib/add-comment/add-comment.component.js +54 -0
  20. package/esm2015/src/lib/agorapulse-ui-components.module.js +279 -0
  21. package/esm2015/src/lib/avatar/avatar.component.js +82 -0
  22. package/esm2015/src/lib/confirm-modal/confirm-modal-texts.model.js +2 -0
  23. package/esm2015/src/lib/confirm-modal/confirm-modal.component.js +59 -0
  24. package/esm2015/src/lib/datepicker/datepicker.component.js +213 -0
  25. package/esm2015/src/lib/directives/autosize-textarea.directive.js +43 -0
  26. package/esm2015/src/lib/directives/default-image.directive.js +25 -0
  27. package/esm2015/src/lib/directives/ellipsis.directive.js +82 -0
  28. package/esm2015/src/lib/directives/equal-validator.directive.js +53 -0
  29. package/esm2015/src/lib/directives/frozen-gif.directive.js +113 -0
  30. package/esm2015/src/lib/directives/multi-style-text.directive.js +103 -0
  31. package/esm2015/src/lib/directives/truncate-tooltip.directive.js +36 -0
  32. package/esm2015/src/lib/dots-stepper/dots-stepper.component.js +41 -0
  33. package/esm2015/src/lib/edit-tag-modal/edit-tags-modal.component.js +129 -0
  34. package/esm2015/src/lib/edit-tag-modal/model/edit-tags-modal.model.js +2 -0
  35. package/esm2015/src/lib/feature-onboarding/feature-onboarding.component.js +35 -0
  36. package/esm2015/src/lib/image-carousel/image-carousel.component.js +143 -0
  37. package/esm2015/src/lib/lead-modal/lead-info.model.js +2 -0
  38. package/esm2015/src/lib/lead-modal/lead-modal.component.js +47 -0
  39. package/esm2015/src/lib/media-display-overlay/media-display-overlay-dialog.component.js +87 -0
  40. package/esm2015/src/lib/modal/modal.component.js +88 -0
  41. package/esm2015/src/lib/notification/notification.component.js +18 -0
  42. package/esm2015/src/lib/overlay/overlay-dialog-service.component.js +62 -0
  43. package/esm2015/src/lib/overlay/overlay-dialog.component.js +33 -0
  44. package/esm2015/src/lib/overlay-in-div/overlay-in-div.component.js +23 -0
  45. package/esm2015/src/lib/paginator/paginator-button/paginator-button.component.js +22 -0
  46. package/esm2015/src/lib/paginator/paginator.component.js +47 -0
  47. package/esm2015/src/lib/password-input/password-input.component.js +65 -0
  48. package/esm2015/src/lib/password-strength-bar/password-strength-bar.component.js +82 -0
  49. package/esm2015/src/lib/password-strength-display-bar/password-strength-display-bar.component.js +41 -0
  50. package/esm2015/src/lib/phone-number-input/phone-number-input.component.js +123 -0
  51. package/esm2015/src/lib/places/place-list.component.js +12 -0
  52. package/esm2015/src/lib/places/place.component.js +15 -0
  53. package/esm2015/src/lib/popmenu/options.js +16 -0
  54. package/esm2015/src/lib/popmenu/popmenu-options.interface.js +2 -0
  55. package/esm2015/src/lib/popmenu/popmenu-options.service.js +7 -0
  56. package/esm2015/src/lib/popmenu/popmenu.component.js +322 -0
  57. package/esm2015/src/lib/popmenu/popmenu.directive.js +215 -0
  58. package/esm2015/src/lib/popmenu/popmenu.module.js +38 -0
  59. package/esm2015/src/lib/slide-toggle/slide-toggle.component.js +59 -0
  60. package/esm2015/src/lib/snackbar/snackbar.component.js +22 -0
  61. package/esm2015/src/lib/snackbars-thread/component/snackbars-thread.component.js +50 -0
  62. package/esm2015/src/lib/snackbars-thread/model/snackbars-thread.model.js +41 -0
  63. package/esm2015/src/lib/snackbars-thread/service/snackbars-thread.service.js +44 -0
  64. package/esm2015/src/lib/snackbars-thread/utils/const/snackbars-thread.const.js +13 -0
  65. package/esm2015/src/lib/splashscreen/splashscreen.component.js +37 -0
  66. package/esm2015/src/lib/star-rating/star-rating.component.js +38 -0
  67. package/esm2015/src/lib/stepper/step.model.js +2 -0
  68. package/esm2015/src/lib/stepper/stepper.component.js +37 -0
  69. package/esm2015/src/lib/tags/tag-list.component.js +12 -0
  70. package/esm2015/src/lib/tags/tag.component.js +20 -0
  71. package/esm2015/src/lib/tags-selector/tags-selector.component.js +73 -0
  72. package/esm2015/src/lib/timepicker/timepicker.component.js +375 -0
  73. package/esm2015/src/lib/tooltip-neo/tooltip-neo.component.js +46 -0
  74. package/esm2015/src/lib/tooltip-neo/tooltip-neo.const.js +67 -0
  75. package/esm2015/src/lib/tooltip-neo/tooltip-neo.directive.js +107 -0
  76. package/esm2015/src/lib/tooltip-neo/tooltip-neo.model.js +2 -0
  77. package/esm2015/src/lib/tooltip-neo/tooltip-neo.service.js +15 -0
  78. package/esm2015/src/lib/try-popup/try-popup-texts.model.js +2 -0
  79. package/esm2015/src/lib/try-popup/try-popup.component.js +33 -0
  80. package/fesm2015/agorapulse-ui-components.js +3805 -0
  81. package/fesm2015/agorapulse-ui-components.js.map +1 -0
  82. package/index.d.ts +54 -0
  83. package/package.json +37 -0
  84. package/src/lib/add-comment/add-comment.component.d.ts +17 -0
  85. package/src/lib/agorapulse-ui-components.module.d.ts +2 -0
  86. package/src/lib/avatar/avatar.component.d.ts +23 -0
  87. package/src/lib/confirm-modal/confirm-modal-texts.model.d.ts +8 -0
  88. package/src/lib/confirm-modal/confirm-modal.component.d.ts +17 -0
  89. package/src/lib/datepicker/datepicker.component.d.ts +69 -0
  90. package/src/lib/directives/autosize-textarea.directive.d.ts +9 -0
  91. package/src/lib/directives/default-image.directive.d.ts +5 -0
  92. package/src/lib/directives/ellipsis.directive.d.ts +27 -0
  93. package/src/lib/directives/equal-validator.directive.d.ts +10 -0
  94. package/src/lib/directives/frozen-gif.directive.d.ts +27 -0
  95. package/src/lib/directives/multi-style-text.directive.d.ts +15 -0
  96. package/src/lib/directives/truncate-tooltip.directive.d.ts +13 -0
  97. package/src/lib/dots-stepper/dots-stepper.component.d.ts +13 -0
  98. package/src/lib/edit-tag-modal/edit-tags-modal.component.d.ts +29 -0
  99. package/src/lib/edit-tag-modal/model/edit-tags-modal.model.d.ts +21 -0
  100. package/src/lib/feature-onboarding/feature-onboarding.component.d.ts +15 -0
  101. package/src/lib/image-carousel/image-carousel.component.d.ts +45 -0
  102. package/src/lib/lead-modal/lead-info.model.d.ts +7 -0
  103. package/src/lib/lead-modal/lead-modal.component.d.ts +28 -0
  104. package/src/lib/media-display-overlay/media-display-overlay-dialog.component.d.ts +28 -0
  105. package/src/lib/modal/modal.component.d.ts +47 -0
  106. package/src/lib/notification/notification.component.d.ts +3 -0
  107. package/src/lib/overlay/overlay-dialog-service.component.d.ts +20 -0
  108. package/src/lib/overlay/overlay-dialog.component.d.ts +17 -0
  109. package/src/lib/overlay-in-div/overlay-in-div.component.d.ts +8 -0
  110. package/src/lib/paginator/paginator-button/paginator-button.component.d.ts +6 -0
  111. package/src/lib/paginator/paginator.component.d.ts +14 -0
  112. package/src/lib/password-input/password-input.component.d.ts +28 -0
  113. package/src/lib/password-strength-bar/password-strength-bar.component.d.ts +21 -0
  114. package/src/lib/password-strength-display-bar/password-strength-display-bar.component.d.ts +14 -0
  115. package/src/lib/phone-number-input/phone-number-input.component.d.ts +42 -0
  116. package/src/lib/places/place-list.component.d.ts +2 -0
  117. package/src/lib/places/place.component.d.ts +3 -0
  118. package/src/lib/popmenu/options.d.ts +15 -0
  119. package/src/lib/popmenu/popmenu-options.interface.d.ts +24 -0
  120. package/src/lib/popmenu/popmenu-options.service.d.ts +7 -0
  121. package/src/lib/popmenu/popmenu.component.d.ts +58 -0
  122. package/src/lib/popmenu/popmenu.directive.d.ts +69 -0
  123. package/src/lib/popmenu/popmenu.module.d.ts +5 -0
  124. package/src/lib/slide-toggle/slide-toggle.component.d.ts +16 -0
  125. package/src/lib/snackbar/snackbar.component.d.ts +6 -0
  126. package/src/lib/snackbars-thread/component/snackbars-thread.component.d.ts +18 -0
  127. package/src/lib/snackbars-thread/model/snackbars-thread.model.d.ts +32 -0
  128. package/src/lib/snackbars-thread/service/snackbars-thread.service.d.ts +12 -0
  129. package/src/lib/snackbars-thread/utils/const/snackbars-thread.const.d.ts +12 -0
  130. package/src/lib/splashscreen/splashscreen.component.d.ts +15 -0
  131. package/src/lib/star-rating/star-rating.component.d.ts +10 -0
  132. package/src/lib/stepper/step.model.d.ts +5 -0
  133. package/src/lib/stepper/stepper.component.d.ts +14 -0
  134. package/src/lib/tags/tag-list.component.d.ts +2 -0
  135. package/src/lib/tags/tag.component.d.ts +4 -0
  136. package/src/lib/tags-selector/tags-selector.component.d.ts +29 -0
  137. package/src/lib/timepicker/timepicker.component.d.ts +68 -0
  138. package/src/lib/tooltip-neo/tooltip-neo.component.d.ts +12 -0
  139. package/src/lib/tooltip-neo/tooltip-neo.const.d.ts +4 -0
  140. package/src/lib/tooltip-neo/tooltip-neo.directive.d.ts +29 -0
  141. package/src/lib/tooltip-neo/tooltip-neo.model.d.ts +12 -0
  142. package/src/lib/tooltip-neo/tooltip-neo.service.d.ts +4 -0
  143. package/src/lib/try-popup/try-popup-texts.model.d.ts +4 -0
  144. package/src/lib/try-popup/try-popup.component.d.ts +12 -0
package/index.d.ts ADDED
@@ -0,0 +1,54 @@
1
+ export { AgorapulseUiComponentsModule } from './src/lib/agorapulse-ui-components.module';
2
+ export { AutosizeTextareaDirective } from './src/lib/directives/autosize-textarea.directive';
3
+ export { DefaultImageDirective } from './src/lib/directives/default-image.directive';
4
+ export { EllipsisDirective } from './src/lib/directives/ellipsis.directive';
5
+ export { FrozenGifDirective } from './src/lib/directives/frozen-gif.directive';
6
+ export { EqualValidatorDirective } from './src/lib/directives/equal-validator.directive';
7
+ export { MultiStyleTextDirective } from './src/lib/directives/multi-style-text.directive';
8
+ export { PopmenuDirective } from './src/lib/popmenu/popmenu.directive';
9
+ export { TruncateTooltipDirective } from './src/lib/directives/truncate-tooltip.directive';
10
+ export { TooltipNeoDirective } from './src/lib/tooltip-neo/tooltip-neo.directive';
11
+ export { AddCommentComponent } from './src/lib/add-comment/add-comment.component';
12
+ export { AvatarComponent } from './src/lib/avatar/avatar.component';
13
+ export { StepperComponent } from './src/lib/stepper/stepper.component';
14
+ export { ConfirmModalComponent } from './src/lib/confirm-modal/confirm-modal.component';
15
+ export { DatepickerComponent, DatepickerMode, I18nDatePicker, Period } from './src/lib/datepicker/datepicker.component';
16
+ export { DotsStepperComponent } from './src/lib/dots-stepper/dots-stepper.component';
17
+ export { EditTagsModalComponent } from './src/lib/edit-tag-modal/edit-tags-modal.component';
18
+ export { ImageCarouselComponent, InstagramCarouselItemType } from './src/lib/image-carousel/image-carousel.component';
19
+ export { FeatureOnboardingComponent } from './src/lib/feature-onboarding/feature-onboarding.component';
20
+ export { LeadModalComponent } from './src/lib/lead-modal/lead-modal.component';
21
+ export { MediaDisplayOverlayDialogComponent } from './src/lib/media-display-overlay/media-display-overlay-dialog.component';
22
+ export { ModalComponent, ModalConfig } from './src/lib/modal/modal.component';
23
+ export { OverlayDialogComponent } from './src/lib/overlay/overlay-dialog.component';
24
+ export { OverlayInDivComponent } from './src/lib/overlay-in-div/overlay-in-div.component';
25
+ export { OverlayDialogService } from './src/lib/overlay/overlay-dialog-service.component';
26
+ export { PaginatorComponent } from './src/lib/paginator/paginator.component';
27
+ export { PasswordInputComponent } from './src/lib/password-input/password-input.component';
28
+ export { PhoneNumberInputComponent } from './src/lib/phone-number-input/phone-number-input.component';
29
+ export { PlaceComponent } from './src/lib/places/place.component';
30
+ export { PlaceListComponent } from './src/lib/places/place-list.component';
31
+ export { PopmenuComponent } from './src/lib/popmenu/popmenu.component';
32
+ export { PopmenuModule } from './src/lib/popmenu/popmenu.module';
33
+ export { SplashscreenComponent } from './src/lib/splashscreen/splashscreen.component';
34
+ export { SnackBarComponent } from './src/lib/snackbar/snackbar.component';
35
+ export { TagComponent } from './src/lib/tags/tag.component';
36
+ export { TagListComponent } from './src/lib/tags/tag-list.component';
37
+ export { TagsSelectorComponent } from './src/lib/tags-selector/tags-selector.component';
38
+ export { Time, TimeFormat } from './src/lib/timepicker/timepicker.component';
39
+ export { TryPopupComponent } from './src/lib/try-popup/try-popup.component';
40
+ export { NotificationComponent } from './src/lib/notification/notification.component';
41
+ export { PasswordStrengthBarComponent } from './src/lib/password-strength-bar/password-strength-bar.component';
42
+ export { PasswordStrengthDisplayBarComponent } from './src/lib/password-strength-display-bar/password-strength-display-bar.component';
43
+ export { TimepickerComponent } from './src/lib/timepicker/timepicker.component';
44
+ export { PaginatorButtonComponent } from './src/lib/paginator/paginator-button/paginator-button.component';
45
+ export { SlideToggleComponent } from './src/lib/slide-toggle/slide-toggle.component';
46
+ export { SnackbarsThreadComponent } from './src/lib/snackbars-thread/component/snackbars-thread.component';
47
+ export { StarRatingComponent } from './src/lib/star-rating/star-rating.component';
48
+ export { SnackbarsThreadService } from './src/lib/snackbars-thread/service/snackbars-thread.service';
49
+ export { Step } from './src/lib/stepper/step.model';
50
+ export { ConfirmModalTexts } from './src/lib/confirm-modal/confirm-modal-texts.model';
51
+ export { LeadInfo } from './src/lib/lead-modal/lead-info.model';
52
+ export { TryPopupTexts } from './src/lib/try-popup/try-popup-texts.model';
53
+ export { generateCodeStatus, SnackbarsThreadBase, SnackbarTypeValues, externalSnackbarTypeAllowed } from './src/lib/snackbars-thread/model/snackbars-thread.model';
54
+ export { EditTagsModalData, TagStatus, TranslatedStrings } from './src/lib/edit-tag-modal/model/edit-tags-modal.model';
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@agorapulse/ui-components",
3
+ "description": "Agorapulse UI Components Library",
4
+ "version": "0.0.1",
5
+ "author": "Benoit Hediard",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/agorapulse/design.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/agorapulse/design/issues"
12
+ },
13
+ "homepage": "https://github.com/agorapulse/design",
14
+ "peerDependencies": {
15
+ "@agorapulse/ui-symbol": "^1.0.2",
16
+ "@angular/common": "^12.0.2",
17
+ "@angular/core": "^12.0.2",
18
+ "@angular/material": "^12.0.0",
19
+ "@angular/animations": "^12.0.2",
20
+ "@ng-select/ng-select": "^6.0.0",
21
+ "hammerjs": "^2.0.8",
22
+ "moment": "^2.24.0",
23
+ "ngx-daterangepicker-material": "^4.0.1",
24
+ "ngx-device-detector": "^2.0.0"
25
+ },
26
+ "main": "bundles/agorapulse-ui-components.umd.js",
27
+ "module": "fesm2015/agorapulse-ui-components.js",
28
+ "es2015": "fesm2015/agorapulse-ui-components.js",
29
+ "esm2015": "esm2015/agorapulse-ui-components.js",
30
+ "fesm2015": "fesm2015/agorapulse-ui-components.js",
31
+ "typings": "agorapulse-ui-components.d.ts",
32
+ "metadata": "agorapulse-ui-components.metadata.json",
33
+ "sideEffects": false,
34
+ "dependencies": {
35
+ "tslib": "^2.2.0"
36
+ }
37
+ }
@@ -0,0 +1,17 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { ControlValueAccessor } from "@angular/forms";
3
+ export declare class AddCommentComponent implements ControlValueAccessor {
4
+ placeholder: string;
5
+ customTemplate: TemplateRef<any>;
6
+ disable: boolean;
7
+ action: EventEmitter<string>;
8
+ _commentValue: string;
9
+ get commentValue(): string;
10
+ set commentValue(value: string);
11
+ propagateChange: any;
12
+ registerOnChange(fn: any): void;
13
+ registerOnTouched(fn: any): void;
14
+ setDisabledState(isDisabled: boolean): void;
15
+ writeValue(obj: any): void;
16
+ onChange(event: any): void;
17
+ }
@@ -0,0 +1,2 @@
1
+ export declare class AgorapulseUiComponentsModule {
2
+ }
@@ -0,0 +1,23 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { customSvgsSymbolIds, flagSymbolIds, officialSymbolIds, symbolIds, SymbolType } from "@agorapulse/ui-symbol";
3
+ export declare class AvatarComponent implements OnInit, OnChanges {
4
+ border: string;
5
+ defaultImageEnabled: boolean;
6
+ fallbackSymbolId: SymbolType<typeof symbolIds> | SymbolType<typeof officialSymbolIds> | SymbolType<typeof customSvgsSymbolIds> | SymbolType<typeof flagSymbolIds>;
7
+ fallbackSymbolSize: string | 'none' | 'pico' | 'nano' | 'micro' | 'mini' | 'small' | 'medium' | 'normal' | 'large';
8
+ imageUrl: string;
9
+ loading: 'auto' | 'lazy' | 'eager';
10
+ outerBorderHidden: boolean;
11
+ size: 'large' | 'normal' | 'medium' | 'medium-sm' | 'small' | 'mini' | 'mini-sm' | 'micro' | 'facebook' | 'twitter' | 'linkedin' | 'instagram' | 'youtube' | 'google';
12
+ social: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'youtube' | 'google';
13
+ username: string;
14
+ rounded: boolean;
15
+ online: boolean;
16
+ socialSize: string;
17
+ sizeMap: {
18
+ [key: string]: string;
19
+ };
20
+ ngOnInit(): void;
21
+ ngOnChanges(changes: SimpleChanges): void;
22
+ onError(): void;
23
+ }
@@ -0,0 +1,8 @@
1
+ export interface ConfirmModalTexts {
2
+ footerConfirmButtonId: string | 'confirm';
3
+ footerConfirmButtonLabel: string;
4
+ contentText: string;
5
+ footerCancelButtonId: string | 'cancel';
6
+ footerCancelButtonLabel: string;
7
+ headerTitle: string;
8
+ }
@@ -0,0 +1,17 @@
1
+ import { ComponentType } from '@angular/cdk/portal';
2
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
3
+ import { ModalConfig } from '../modal/modal.component';
4
+ import { ConfirmModalTexts } from './confirm-modal-texts.model';
5
+ export declare class ConfirmModalComponent {
6
+ dialogRef: MatDialogRef<ComponentType<any>>;
7
+ contentText: string;
8
+ footerCancelButtonId: string;
9
+ footerCancelButtonLabel: string;
10
+ footerConfirmButtonId: string;
11
+ footerConfirmButtonLabel: string;
12
+ headerTitle: string;
13
+ constructor(dialogRef: MatDialogRef<ComponentType<any>>);
14
+ onCancel(): void;
15
+ onConfirm(): void;
16
+ static open(dialog: MatDialog, confirmModalTexts: ConfirmModalTexts, modalConfig?: ModalConfig): MatDialogRef<ConfirmModalComponent, any>;
17
+ }
@@ -0,0 +1,69 @@
1
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
2
+ import { DaterangepickerComponent } from "ngx-daterangepicker-material";
3
+ import { Moment } from 'moment';
4
+ export declare enum DatepickerMode {
5
+ Single = "Single",
6
+ Multiple = "Multiple",
7
+ Range = "Range"
8
+ }
9
+ export interface Period {
10
+ startDate: Moment;
11
+ endDate: Moment;
12
+ }
13
+ export interface I18nDatePicker {
14
+ ranges: {
15
+ yesterday: string;
16
+ lastWeek: string;
17
+ last30Days: string;
18
+ lastMonth: string;
19
+ thisMonth: string;
20
+ };
21
+ }
22
+ export declare class DatepickerComponent implements OnInit, OnChanges, AfterViewInit {
23
+ changeDetectorRef: ChangeDetectorRef;
24
+ datepickerRef: DaterangepickerComponent;
25
+ firstDayOfWeek: string;
26
+ i18n: I18nDatePicker;
27
+ locale: any;
28
+ maxDate: Moment;
29
+ minDate: Moment;
30
+ mode: DatepickerMode;
31
+ selectedDate: Moment;
32
+ selectedDates: Moment[];
33
+ selectedPeriod: Period;
34
+ showRanges: boolean;
35
+ dateSelected: EventEmitter<any>;
36
+ periodSelected: EventEmitter<Period>;
37
+ DatepickerMode: typeof DatepickerMode;
38
+ doubleCalendarWidth: number;
39
+ localeConfig: {
40
+ customRangeLabel: string;
41
+ daysOfWeek: string[];
42
+ monthNames: string[];
43
+ firstDay: number;
44
+ };
45
+ ranges: {
46
+ [period: string]: [Moment, Moment];
47
+ };
48
+ rangePickerWidth: number;
49
+ width: number;
50
+ pageSet: boolean;
51
+ constructor(changeDetectorRef: ChangeDetectorRef);
52
+ ngOnInit(): void;
53
+ ngOnChanges(changes: any): void;
54
+ ngAfterViewInit(): void;
55
+ initDatePickerLocale(): void;
56
+ initRanges(): void;
57
+ isCustomDate: (date: any) => string[];
58
+ private isSelected;
59
+ onStartDateChanged(event: any): void;
60
+ onDatesUpdated(event: any): void;
61
+ onNextMonth(): void;
62
+ onPreviousMonth(): void;
63
+ /**
64
+ * Ugly hack used here to open the calendar on the right day if they are selected dates
65
+ * * https://github.com/fetrarij/ngx-daterangepicker-material/issues/139
66
+ */
67
+ setCalendarCurrentPage(): void;
68
+ setWidth(): void;
69
+ }
@@ -0,0 +1,9 @@
1
+ import { AfterContentChecked, ElementRef } from '@angular/core';
2
+ export declare class AutosizeTextareaDirective implements AfterContentChecked {
3
+ element: ElementRef;
4
+ static maxHeight: number;
5
+ constructor(element: ElementRef);
6
+ onInput(): void;
7
+ ngAfterContentChecked(): void;
8
+ resize(): void;
9
+ }
@@ -0,0 +1,5 @@
1
+ export declare class DefaultImageDirective {
2
+ src: string;
3
+ default: string;
4
+ updateUrl(): void;
5
+ }
@@ -0,0 +1,27 @@
1
+ import { AfterContentChecked, ElementRef, EventEmitter } from '@angular/core';
2
+ /**
3
+ * Removes excess text from element until it fits in elements
4
+ * and appends a ellipsis symbol to end of text. This requires that
5
+ * the elements height be fixed
6
+ *
7
+ * @example
8
+ * ```html
9
+ * <p apEllipsis>Ullamco esse laborum</p>
10
+ * ```
11
+ *
12
+ */
13
+ export declare class EllipsisDirective implements AfterContentChecked {
14
+ private el;
15
+ apEllipsisSeparator: string;
16
+ apEllipsisClip: boolean;
17
+ apEllipsisIndex: number;
18
+ apEllipsisChar: string;
19
+ apEllipsisClickable: boolean;
20
+ apEllipsisRemovedElementsCount: EventEmitter<number>;
21
+ apEllipsisRemovedText: EventEmitter<string>;
22
+ private get hasOverflow();
23
+ constructor(el: ElementRef);
24
+ ngAfterContentChecked(): void;
25
+ private clipText;
26
+ private handleReadmore;
27
+ }
@@ -0,0 +1,10 @@
1
+ import { Validator, AbstractControl } from '@angular/forms';
2
+ export declare class EqualValidatorDirective implements Validator {
3
+ validateEqual: string;
4
+ validateEqualReference: string;
5
+ constructor(validateEqual: string, validateEqualReference: string);
6
+ validate(self: AbstractControl): {
7
+ [key: string]: any;
8
+ };
9
+ private isReference;
10
+ }
@@ -0,0 +1,27 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ export declare class GifService {
3
+ static isGif(src: String): boolean;
4
+ }
5
+ /**
6
+ * If the image is a GIF then replace the img element by a canvas containing a frozen gif.
7
+ * Note 1: if the image is displayed under a condition, the condition must be applied on the parent of the image, so the
8
+ * new canvas element will have the same condition.
9
+ * Note 2: the image must not have the properties "display" and "visibility" in its style. Since they are used to frozen
10
+ * the GIF. You need to apply this properties on the parent element.
11
+ * Note 3: If the GIF is frozen, all the event are propagated to the image. However, all events are dispatched
12
+ * with an Event instance. Ex: click event is not dispatched with a MouseEvent instance.
13
+ */
14
+ export declare class FrozenGifDirective implements OnChanges {
15
+ private elementRef;
16
+ src: string;
17
+ frozen: boolean;
18
+ events: string[];
19
+ private readonly element;
20
+ private canvas;
21
+ constructor(elementRef: ElementRef);
22
+ ngOnChanges(changes: any): void;
23
+ private freeze;
24
+ private addCanvas;
25
+ private addEvents;
26
+ private unfreeze;
27
+ }
@@ -0,0 +1,15 @@
1
+ import { Renderer2, ElementRef } from '@angular/core';
2
+ /**
3
+ * This directive aims to parse simple string to extract some specific tags and to turn them into SPAN with styling classes attributes.
4
+ * The specific tags must this schema: <ng-container data-mst="STYLING-CLASSES>TEXT</ng-container>.
5
+ * Example: 'Lorem <ng-container data-mst="my-style">ipsum</ng-container> dolor sit amet'.
6
+ */
7
+ export declare class MultiStyleTextDirective {
8
+ private elRef;
9
+ private renderer;
10
+ private childrenCreated;
11
+ set multiStyleText(fullText: string);
12
+ constructor(elRef: ElementRef, renderer: Renderer2);
13
+ private static parse;
14
+ private static cutFirstGroup;
15
+ }
@@ -0,0 +1,13 @@
1
+ import { TooltipNeoDirective } from '../tooltip-neo/tooltip-neo.directive';
2
+ import { TooltipNeoParams } from '../tooltip-neo/tooltip-neo.model';
3
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
4
+ export declare class TruncateTooltipDirective implements OnInit, OnDestroy {
5
+ private tooltipNeo;
6
+ private elementRef;
7
+ truncateTooltip: string | TooltipNeoParams;
8
+ private elementRefMouseOver$;
9
+ constructor(tooltipNeo: TooltipNeoDirective, elementRef: ElementRef<HTMLElement>);
10
+ private updateTruncateState;
11
+ ngOnInit(): void;
12
+ ngOnDestroy(): void;
13
+ }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter, OnChanges } from '@angular/core';
2
+ export declare class DotsStepperComponent implements OnChanges {
3
+ disabled: boolean;
4
+ forwardAllowed: boolean;
5
+ index: number;
6
+ items: any[];
7
+ size: string;
8
+ dotClick: EventEmitter<number>;
9
+ currentItem: any;
10
+ constructor();
11
+ ngOnChanges(): void;
12
+ onDotClick(event: any, item: any, index: any): void;
13
+ }
@@ -0,0 +1,29 @@
1
+ import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
3
+ import { EditTagsModalData } from './model/edit-tags-modal.model';
4
+ export declare class EditTagsModalComponent implements OnDestroy {
5
+ data: EditTagsModalData;
6
+ dialogRef: MatDialogRef<EditTagsModalComponent>;
7
+ dialog: MatDialog;
8
+ deletedTags: string[];
9
+ editTag: EventEmitter<Map<string, string>>;
10
+ filteredTags: string[];
11
+ savingTags: string[];
12
+ tagEditedIndex: number;
13
+ tags: string[];
14
+ updatedTags: Map<string, string>;
15
+ updateStatusByTags: Map<string, boolean>;
16
+ tagInput: ElementRef;
17
+ private readonly destroy$;
18
+ constructor(data: EditTagsModalData, dialogRef: MatDialogRef<EditTagsModalComponent>, dialog: MatDialog);
19
+ cancelEdit(): void;
20
+ onDone(): void;
21
+ onEdit(index: number): void;
22
+ onRemove(tag: string): void;
23
+ onValidateInput(index: number): void;
24
+ onValidate(value: string, index: number): void;
25
+ onValidateEnter(event: any, index: number): void;
26
+ onSearch(tag: string): void;
27
+ updateTagSuccess(tag: string): void;
28
+ ngOnDestroy(): void;
29
+ }
@@ -0,0 +1,21 @@
1
+ import { Observable } from 'rxjs';
2
+ export interface EditTagsModalData {
3
+ tags$: Observable<string[]>;
4
+ updateStatusByTag$: Observable<TagStatus[]>;
5
+ translatedString: TranslatedStrings;
6
+ }
7
+ export interface TagStatus {
8
+ tag: string;
9
+ loading: boolean;
10
+ }
11
+ export interface TranslatedStrings {
12
+ cancelTooltip: string;
13
+ deletedLabel: string;
14
+ deleteTooltip?: string;
15
+ doneLabel: string;
16
+ savedLabel: string;
17
+ searchPlaceholder: string;
18
+ subtitle: string;
19
+ title: string;
20
+ validateTooltip: string;
21
+ }
@@ -0,0 +1,15 @@
1
+ import { MatDialogRef } from "@angular/material/dialog";
2
+ import { ComponentType } from "@angular/cdk/overlay";
3
+ export declare class FeatureOnboardingComponent {
4
+ dialogRef: MatDialogRef<ComponentType<any>>;
5
+ backButtonLabel: string;
6
+ finishButtonLabel: string;
7
+ nextButtonLabel: string;
8
+ arrowsDisplayed: boolean;
9
+ templates: any[];
10
+ slideDisplayedIndex: number;
11
+ constructor(dialogRef: MatDialogRef<ComponentType<any>>);
12
+ onClickNext(): void;
13
+ onClickPrevious(): void;
14
+ onCloseCarousel(): void;
15
+ }
@@ -0,0 +1,45 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AnimationBuilder } from '@angular/animations';
3
+ export declare enum InstagramCarouselItemType {
4
+ IMAGE = "photo",
5
+ VIDEO = "video"
6
+ }
7
+ export interface InstagramCarouselItem {
8
+ type: InstagramCarouselItemType;
9
+ url: string;
10
+ thumbnailUrl?: string;
11
+ }
12
+ export declare class ImageCarouselComponent {
13
+ private animationBuilder;
14
+ InstagramCarouselItemType: typeof InstagramCarouselItemType;
15
+ private carousel;
16
+ items: InstagramCarouselItem[];
17
+ dotsInside: boolean;
18
+ soundEnabled: boolean;
19
+ supportGif: boolean;
20
+ tinyMode: boolean;
21
+ currentImageChanged: EventEmitter<InstagramCarouselItem>;
22
+ private _selectedIndex;
23
+ carouselOffset: number;
24
+ isPlaying: boolean;
25
+ private mouseOver;
26
+ videoPlayers: HTMLVideoElement[];
27
+ constructor(animationBuilder: AnimationBuilder);
28
+ get selectedIndex(): number;
29
+ set selectedIndex(value: number);
30
+ isPrevButtonEnabled(): boolean;
31
+ isNextButtonEnabled(): boolean;
32
+ isVideo(): boolean;
33
+ dotsDisplayed(): boolean;
34
+ prev(): void;
35
+ next(): void;
36
+ play(event: any, index: number): void;
37
+ move(instantaneous?: boolean): void;
38
+ onMouseEntersVideo(event: any, index: any): void;
39
+ onMouseLeavesVideo(event: any, index: any): void;
40
+ onResize(event: any): void;
41
+ registerVideoPlayer(event: any, index: number): void;
42
+ private videoPause;
43
+ private videoPlay;
44
+ switchSound(): void;
45
+ }
@@ -0,0 +1,7 @@
1
+ export interface LeadInfo {
2
+ language: string;
3
+ profileType: string;
4
+ qualifiedPlan: string;
5
+ qualifiedProfilePlan: string;
6
+ qualifiedTeamPlan: string;
7
+ }
@@ -0,0 +1,28 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { LeadInfo } from './lead-info.model';
3
+ export interface TranslatedStrings {
4
+ agencyFieldLabel: string;
5
+ agencyNoLabel: string;
6
+ agencyYesLabel: string;
7
+ profileFieldLabel: string;
8
+ teamFieldLabel: string;
9
+ teamMeLabel: string;
10
+ title: string;
11
+ validateButtonLabel: string;
12
+ }
13
+ export declare class LeadModalComponent {
14
+ dialogRef: MatDialogRef<LeadModalComponent>;
15
+ translatedStrings: TranslatedStrings;
16
+ constructor(dialogRef: MatDialogRef<LeadModalComponent>, translatedStrings: TranslatedStrings);
17
+ plans: {
18
+ PRO: string;
19
+ PREMIUM: string;
20
+ PREMIUM_PLUS: string;
21
+ ENTERPRISE: string;
22
+ };
23
+ orderedPlans: string[];
24
+ qualifiedProfilePlan: string;
25
+ qualifiedTeamPlan: string;
26
+ profileType: string;
27
+ onValidate(qualifiedProfilePlan: string, qualifiedTeamPlan: string, profileType: string): LeadInfo;
28
+ }
@@ -0,0 +1,28 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
3
+ export interface MediaDisplayData {
4
+ urls: string[];
5
+ url: string;
6
+ mediaType: string;
7
+ supportGif: boolean;
8
+ }
9
+ export declare enum KEY_CODE {
10
+ RIGHT_ARROW = 39,
11
+ LEFT_ARROW = 37
12
+ }
13
+ export declare class MediaDisplayOverlayDialogComponent implements OnInit {
14
+ dialogRef: MatDialogRef<MediaDisplayOverlayDialogComponent>;
15
+ data: MediaDisplayData;
16
+ static config: MatDialogConfig;
17
+ currentUrlIndex: number;
18
+ urls: string[];
19
+ url: string;
20
+ mediaType: string;
21
+ supportGif: boolean;
22
+ constructor(dialogRef: MatDialogRef<MediaDisplayOverlayDialogComponent>, data: MediaDisplayData);
23
+ ngOnInit(): void;
24
+ onClose(): void;
25
+ onNext($event: UIEvent): void;
26
+ onPrevious($event: UIEvent): void;
27
+ keyEvent(event: KeyboardEvent): void;
28
+ }
@@ -0,0 +1,47 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
3
+ import { MatDialogConfig } from '@angular/material/dialog';
4
+ import { ComponentType } from '@angular/cdk/portal';
5
+ export interface ModalConfig extends ModalConfigBase {
6
+ closable?: boolean;
7
+ headerBottomBorderEnabled?: boolean;
8
+ }
9
+ export interface ModalConfigBase {
10
+ backdropCloseEnable?: boolean;
11
+ matDialogConfig?: MatDialogConfig;
12
+ }
13
+ export declare class ModalComponent {
14
+ dialogRef: MatDialogRef<ComponentType<any>>;
15
+ static readonly PANEL_CLASS = "modal-container";
16
+ constructor(dialogRef: MatDialogRef<ComponentType<any>>);
17
+ closable: boolean;
18
+ headerBottomBorderEnabled: boolean;
19
+ footerTemplate: TemplateRef<any>;
20
+ footerVisible: boolean;
21
+ headerTemplate: TemplateRef<any>;
22
+ headerVisible: boolean;
23
+ mainTemplate: TemplateRef<any>;
24
+ config: MatDialogConfig;
25
+ containerStyle: {
26
+ [arg: string]: string;
27
+ };
28
+ headerStyle: {
29
+ [arg: string]: string;
30
+ };
31
+ contentStyle: {
32
+ [arg: string]: string;
33
+ };
34
+ footerStyle: {
35
+ [arg: string]: string;
36
+ };
37
+ defaultLayout: boolean;
38
+ /**
39
+ * Use it to open a modal containing the {@link componentType} component, with the right configuration.
40
+ */
41
+ static openWithComponent<T>(matDialog: MatDialog, config: ModalConfigBase, componentType: ComponentType<T>): MatDialogRef<T>;
42
+ /**
43
+ * Use it to open a modal containing the provided templates, with the right configuration.
44
+ */
45
+ static openWithTemplates(matDialog: MatDialog, headerTemplate: TemplateRef<any>, mainTemplate: TemplateRef<any>, footerTemplate?: TemplateRef<any>, config?: ModalConfig): MatDialogRef<ModalComponent>;
46
+ close(): void;
47
+ }
@@ -0,0 +1,3 @@
1
+ export declare class NotificationComponent {
2
+ type: 'info' | 'warning' | 'error' | 'success';
3
+ }
@@ -0,0 +1,20 @@
1
+ import { Injector } from '@angular/core';
2
+ import { Overlay } from '@angular/cdk/overlay';
3
+ import { OverlayDialogRef } from './overlay-dialog.component';
4
+ interface OverlaywDialogConfig {
5
+ panelClass?: string;
6
+ hasBackdrop?: boolean;
7
+ backdropClass?: string;
8
+ template?: any;
9
+ }
10
+ export declare class OverlayDialogService {
11
+ private injector;
12
+ private overlay;
13
+ constructor(injector: Injector, overlay: Overlay);
14
+ open(config?: OverlaywDialogConfig): OverlayDialogRef;
15
+ private createOverlay;
16
+ private attachDialogContainer;
17
+ private createInjector;
18
+ private getOverlayConfig;
19
+ }
20
+ export {};
@@ -0,0 +1,17 @@
1
+ import { OverlayRef } from '@angular/cdk/overlay';
2
+ import { InjectionToken } from '@angular/core';
3
+ export interface OverlayData {
4
+ template: string;
5
+ }
6
+ export declare class OverlayDialogRef {
7
+ private overlayRef;
8
+ constructor(overlayRef: OverlayRef);
9
+ close(): void;
10
+ }
11
+ export declare const OVERLAY_DATA: InjectionToken<OverlayData>;
12
+ export declare class OverlayDialogComponent {
13
+ dialogRef: OverlayDialogRef;
14
+ data: any;
15
+ constructor(dialogRef: OverlayDialogRef, data: any);
16
+ close(): void;
17
+ }
@@ -0,0 +1,8 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ export declare class OverlayInDivComponent {
3
+ title: string;
4
+ subtitle: string;
5
+ imgPath: string;
6
+ closable: boolean;
7
+ close: EventEmitter<any>;
8
+ }