@agorapulse/ui-components 13.2.1 → 13.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agorapulse-ui-components-13.2.4.tgz +0 -0
- package/esm2020/index.mjs +2 -1
- package/esm2020/src/lib/agorapulse-ui-components.module.mjs +7 -2
- package/esm2020/src/lib/directives/loading-slider.directive.mjs +122 -0
- package/esm2020/src/lib/directives/multi-style-text.directive.mjs +66 -32
- package/esm2020/src/lib/popmenu/options.mjs +2 -1
- package/esm2020/src/lib/popmenu/popmenu-options.interface.mjs +1 -1
- package/esm2020/src/lib/popmenu/popmenu.component.mjs +24 -15
- package/esm2020/src/lib/popmenu/popmenu.directive.mjs +6 -2
- package/esm2020/src/lib/timepicker/timepicker.component.mjs +1 -1
- package/fesm2015/agorapulse-ui-components.mjs +219 -49
- package/fesm2015/agorapulse-ui-components.mjs.map +1 -1
- package/fesm2020/agorapulse-ui-components.mjs +219 -49
- package/fesm2020/agorapulse-ui-components.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/lib/agorapulse-ui-components.module.d.ts +34 -33
- package/src/lib/directives/loading-slider.directive.d.ts +27 -0
- package/src/lib/directives/multi-style-text.directive.d.ts +5 -4
- package/src/lib/popmenu/options.d.ts +1 -0
- package/src/lib/popmenu/popmenu-options.interface.d.ts +18 -0
- package/src/lib/popmenu/popmenu.component.d.ts +3 -0
- package/src/lib/popmenu/popmenu.directive.d.ts +6 -1
- package/agorapulse-ui-components-13.2.1.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { MultiStyleTextDirective } from './src/lib/directives/multi-style-text.d
|
|
|
9
9
|
export { PopmenuDirective } from './src/lib/popmenu/popmenu.directive';
|
|
10
10
|
export { TruncateTooltipDirective } from './src/lib/directives/truncate-tooltip.directive';
|
|
11
11
|
export { TooltipNeoDirective } from './src/lib/tooltip-neo/tooltip-neo.directive';
|
|
12
|
+
export { LoadingSliderDirective } from './src/lib/directives/loading-slider.directive';
|
|
12
13
|
export { AddCommentComponent } from './src/lib/add-comment/add-comment.component';
|
|
13
14
|
export { AvatarComponent } from './src/lib/avatar/avatar.component';
|
|
14
15
|
export { StepperComponent } from './src/lib/stepper/stepper.component';
|
package/package.json
CHANGED
|
@@ -36,40 +36,41 @@ import * as i34 from "./directives/equal-validator.directive";
|
|
|
36
36
|
import * as i35 from "./directives/multi-style-text.directive";
|
|
37
37
|
import * as i36 from "./directives/truncate-tooltip.directive";
|
|
38
38
|
import * as i37 from "./tooltip-neo/tooltip-neo.directive";
|
|
39
|
-
import * as i38 from "
|
|
40
|
-
import * as i39 from "@
|
|
41
|
-
import * as i40 from "
|
|
42
|
-
import * as i41 from "
|
|
43
|
-
import * as i42 from "@
|
|
44
|
-
import * as i43 from "
|
|
45
|
-
import * as i44 from "
|
|
46
|
-
import * as i45 from "@angular/
|
|
47
|
-
import * as i46 from "@angular/material/
|
|
48
|
-
import * as i47 from "@angular/material/button
|
|
49
|
-
import * as i48 from "@angular/material/
|
|
50
|
-
import * as i49 from "@angular/material/
|
|
51
|
-
import * as i50 from "@angular/material/
|
|
52
|
-
import * as i51 from "@angular/material/
|
|
53
|
-
import * as i52 from "@angular/material/
|
|
54
|
-
import * as i53 from "@angular/material/progress-
|
|
55
|
-
import * as i54 from "@angular/material/
|
|
56
|
-
import * as i55 from "@angular/material/
|
|
57
|
-
import * as i56 from "@angular/material/
|
|
58
|
-
import * as i57 from "@angular/material/
|
|
59
|
-
import * as i58 from "@angular/material/
|
|
60
|
-
import * as i59 from "@angular/material/
|
|
61
|
-
import * as i60 from "@angular/material/
|
|
62
|
-
import * as i61 from "@angular/material/
|
|
63
|
-
import * as i62 from "@angular/material/
|
|
64
|
-
import * as i63 from "@angular/material/list";
|
|
65
|
-
import * as i64 from "@angular/material/
|
|
66
|
-
import * as i65 from "@angular/material/
|
|
67
|
-
import * as i66 from "@angular/material/
|
|
68
|
-
import * as i67 from "@angular/material/
|
|
69
|
-
import * as i68 from "@angular/material/
|
|
70
|
-
import * as i69 from "@angular/material/
|
|
39
|
+
import * as i38 from "./directives/loading-slider.directive";
|
|
40
|
+
import * as i39 from "@agorapulse/ui-symbol";
|
|
41
|
+
import * as i40 from "@angular/common";
|
|
42
|
+
import * as i41 from "ngx-daterangepicker-material";
|
|
43
|
+
import * as i42 from "@angular/forms";
|
|
44
|
+
import * as i43 from "@ng-select/ng-select";
|
|
45
|
+
import * as i44 from "./popmenu/popmenu.module";
|
|
46
|
+
import * as i45 from "@angular/cdk/overlay";
|
|
47
|
+
import * as i46 from "@angular/material/badge";
|
|
48
|
+
import * as i47 from "@angular/material/button";
|
|
49
|
+
import * as i48 from "@angular/material/button-toggle";
|
|
50
|
+
import * as i49 from "@angular/material/chips";
|
|
51
|
+
import * as i50 from "@angular/material/expansion";
|
|
52
|
+
import * as i51 from "@angular/material/checkbox";
|
|
53
|
+
import * as i52 from "@angular/material/icon";
|
|
54
|
+
import * as i53 from "@angular/material/progress-bar";
|
|
55
|
+
import * as i54 from "@angular/material/progress-spinner";
|
|
56
|
+
import * as i55 from "@angular/material/radio";
|
|
57
|
+
import * as i56 from "@angular/material/slider";
|
|
58
|
+
import * as i57 from "@angular/material/slide-toggle";
|
|
59
|
+
import * as i58 from "@angular/material/menu";
|
|
60
|
+
import * as i59 from "@angular/material/sidenav";
|
|
61
|
+
import * as i60 from "@angular/material/toolbar";
|
|
62
|
+
import * as i61 from "@angular/material/card";
|
|
63
|
+
import * as i62 from "@angular/material/divider";
|
|
64
|
+
import * as i63 from "@angular/material/grid-list";
|
|
65
|
+
import * as i64 from "@angular/material/list";
|
|
66
|
+
import * as i65 from "@angular/material/tabs";
|
|
67
|
+
import * as i66 from "@angular/material/stepper";
|
|
68
|
+
import * as i67 from "@angular/material/bottom-sheet";
|
|
69
|
+
import * as i68 from "@angular/material/dialog";
|
|
70
|
+
import * as i69 from "@angular/material/snack-bar";
|
|
71
|
+
import * as i70 from "@angular/material/table";
|
|
71
72
|
export declare class AgorapulseUiComponentsModule {
|
|
72
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<AgorapulseUiComponentsModule, never>;
|
|
73
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AgorapulseUiComponentsModule, [typeof i1.AddCommentComponent, typeof i2.AvatarComponent, typeof i3.AutosizeTextareaDirective, typeof i4.StepperComponent, typeof i5.ConfirmModalComponent, typeof i6.DatepickerComponent, typeof i7.DotsStepperComponent, typeof i8.EllipsisDirective, typeof i9.ImageCarouselComponent, typeof i10.FeatureOnboardingComponent, typeof i11.LabelListComponent, typeof i12.LabelsSelectorComponent, typeof i13.MediaDisplayOverlayDialogComponent, typeof i14.ModalComponent, typeof i15.OverlayDialogComponent, typeof i16.OverlayInDivComponent, typeof i17.PasswordInputComponent, typeof i18.PlaceComponent, typeof i19.PlaceListComponent, typeof i20.SnackBarComponent, typeof i21.SplashscreenComponent, typeof i22.StarRatingComponent, typeof i23.LabelComponent, typeof i24.TimepickerComponent, typeof i25.TryPopupComponent, typeof i26.NotificationComponent, typeof i27.PaginatorComponent, typeof i28.PaginatorButtonComponent, typeof i29.SlideToggleComponent, typeof i30.SnackbarsThreadComponent, typeof i31.TooltipNeoComponent, typeof i3.AutosizeTextareaDirective, typeof i32.DefaultImageDirective, typeof i33.FrozenGifDirective, typeof i29.SlideToggleComponent, typeof i34.EqualValidatorDirective, typeof i35.MultiStyleTextDirective, typeof i36.TruncateTooltipDirective, typeof i37.TooltipNeoDirective], [typeof
|
|
74
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AgorapulseUiComponentsModule, [typeof i1.AddCommentComponent, typeof i2.AvatarComponent, typeof i3.AutosizeTextareaDirective, typeof i4.StepperComponent, typeof i5.ConfirmModalComponent, typeof i6.DatepickerComponent, typeof i7.DotsStepperComponent, typeof i8.EllipsisDirective, typeof i9.ImageCarouselComponent, typeof i10.FeatureOnboardingComponent, typeof i11.LabelListComponent, typeof i12.LabelsSelectorComponent, typeof i13.MediaDisplayOverlayDialogComponent, typeof i14.ModalComponent, typeof i15.OverlayDialogComponent, typeof i16.OverlayInDivComponent, typeof i17.PasswordInputComponent, typeof i18.PlaceComponent, typeof i19.PlaceListComponent, typeof i20.SnackBarComponent, typeof i21.SplashscreenComponent, typeof i22.StarRatingComponent, typeof i23.LabelComponent, typeof i24.TimepickerComponent, typeof i25.TryPopupComponent, typeof i26.NotificationComponent, typeof i27.PaginatorComponent, typeof i28.PaginatorButtonComponent, typeof i29.SlideToggleComponent, typeof i30.SnackbarsThreadComponent, typeof i31.TooltipNeoComponent, typeof i3.AutosizeTextareaDirective, typeof i32.DefaultImageDirective, typeof i33.FrozenGifDirective, typeof i29.SlideToggleComponent, typeof i34.EqualValidatorDirective, typeof i35.MultiStyleTextDirective, typeof i36.TruncateTooltipDirective, typeof i37.TooltipNeoDirective, typeof i38.LoadingSliderDirective], [typeof i39.AgorapulseUiSymbolModule, typeof i40.CommonModule, typeof i41.NgxDaterangepickerMd, typeof i42.FormsModule, typeof i42.ReactiveFormsModule, typeof i43.NgSelectModule, typeof i44.PopmenuModule, typeof i45.OverlayModule, typeof i46.MatBadgeModule, typeof i47.MatButtonModule, typeof i48.MatButtonToggleModule, typeof i49.MatChipsModule, typeof i50.MatExpansionModule, typeof i51.MatCheckboxModule, typeof i52.MatIconModule, typeof i53.MatProgressBarModule, typeof i54.MatProgressSpinnerModule, typeof i55.MatRadioModule, typeof i56.MatSliderModule, typeof i57.MatSlideToggleModule, typeof i58.MatMenuModule, typeof i59.MatSidenavModule, typeof i60.MatToolbarModule, typeof i61.MatCardModule, typeof i62.MatDividerModule, typeof i63.MatGridListModule, typeof i64.MatListModule, typeof i65.MatTabsModule, typeof i66.MatStepperModule, typeof i67.MatBottomSheetModule, typeof i68.MatDialogModule, typeof i69.MatSnackBarModule, typeof i70.MatTableModule], [typeof i42.FormsModule, typeof i42.ReactiveFormsModule, typeof i1.AddCommentComponent, typeof i2.AvatarComponent, typeof i4.StepperComponent, typeof i5.ConfirmModalComponent, typeof i6.DatepickerComponent, typeof i7.DotsStepperComponent, typeof i8.EllipsisDirective, typeof i9.ImageCarouselComponent, typeof i10.FeatureOnboardingComponent, typeof i23.LabelComponent, typeof i11.LabelListComponent, typeof i13.MediaDisplayOverlayDialogComponent, typeof i14.ModalComponent, typeof i15.OverlayDialogComponent, typeof i16.OverlayInDivComponent, typeof i17.PasswordInputComponent, typeof i18.PlaceComponent, typeof i19.PlaceListComponent, typeof i20.SnackBarComponent, typeof i21.SplashscreenComponent, typeof i22.StarRatingComponent, typeof i12.LabelsSelectorComponent, typeof i24.TimepickerComponent, typeof i25.TryPopupComponent, typeof i26.NotificationComponent, typeof i27.PaginatorComponent, typeof i28.PaginatorButtonComponent, typeof i29.SlideToggleComponent, typeof i30.SnackbarsThreadComponent, typeof i3.AutosizeTextareaDirective, typeof i32.DefaultImageDirective, typeof i33.FrozenGifDirective, typeof i34.EqualValidatorDirective, typeof i35.MultiStyleTextDirective, typeof i36.TruncateTooltipDirective, typeof i37.TooltipNeoDirective, typeof i38.LoadingSliderDirective, typeof i43.NgSelectModule, typeof i44.PopmenuModule, typeof i46.MatBadgeModule, typeof i47.MatButtonModule, typeof i48.MatButtonToggleModule, typeof i51.MatCheckboxModule, typeof i49.MatChipsModule, typeof i50.MatExpansionModule, typeof i52.MatIconModule, typeof i53.MatProgressBarModule, typeof i54.MatProgressSpinnerModule, typeof i55.MatRadioModule, typeof i56.MatSliderModule, typeof i57.MatSlideToggleModule, typeof i58.MatMenuModule, typeof i59.MatSidenavModule, typeof i60.MatToolbarModule, typeof i61.MatCardModule, typeof i62.MatDividerModule, typeof i63.MatGridListModule, typeof i64.MatListModule, typeof i65.MatTabsModule, typeof i66.MatStepperModule, typeof i67.MatBottomSheetModule, typeof i68.MatDialogModule, typeof i69.MatSnackBarModule, typeof i70.MatTableModule]>;
|
|
74
75
|
static ɵinj: i0.ɵɵInjectorDeclaration<AgorapulseUiComponentsModule>;
|
|
75
76
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Renderer2, ElementRef, EventEmitter, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AnimationBuilder } from '@angular/animations';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* This directive aims to manage a slider animation.
|
|
6
|
+
*/
|
|
7
|
+
export declare class LoadingSliderDirective implements OnDestroy, OnChanges {
|
|
8
|
+
private elRef;
|
|
9
|
+
private renderer;
|
|
10
|
+
private animationBuilder;
|
|
11
|
+
loadingSlider: boolean;
|
|
12
|
+
sliderWidth: string;
|
|
13
|
+
sliderColor: string;
|
|
14
|
+
sliderAnimationTime: number;
|
|
15
|
+
partEvent: EventEmitter<string>;
|
|
16
|
+
private child;
|
|
17
|
+
private animation;
|
|
18
|
+
constructor(elRef: ElementRef, renderer: Renderer2, animationBuilder: AnimationBuilder);
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
+
private createSlider;
|
|
22
|
+
private removeSlider;
|
|
23
|
+
private hideSlider;
|
|
24
|
+
private showSlider;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingSliderDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LoadingSliderDirective, "[loadingSlider]", never, { "loadingSlider": "loadingSlider"; "sliderWidth": "sliderWidth"; "sliderColor": "sliderColor"; "sliderAnimationTime": "sliderAnimationTime"; }, { "partEvent": "partEvent"; }, never>;
|
|
27
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Renderer2, ElementRef } from '@angular/core';
|
|
1
|
+
import { Renderer2, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
|
-
* This directive aims to parse simple string to extract some specific tags and to turn them into SPAN with styling classes attributes.
|
|
5
|
-
* The specific tags must this schema: <ng-container data-mst="STYLING-CLASSES>TEXT</ng-container>.
|
|
4
|
+
* This directive aims to parse simple string to extract some specific tags and to turn them into SPAN with styling classes attributes and optional event listening.
|
|
5
|
+
* The specific tags must this schema: <ng-container data-mst="STYLING-CLASSES">TEXT</ng-container>.
|
|
6
6
|
* Example: 'Lorem <ng-container data-mst="my-style">ipsum</ng-container> dolor sit amet'.
|
|
7
7
|
*/
|
|
8
8
|
export declare class MultiStyleTextDirective {
|
|
@@ -10,9 +10,10 @@ export declare class MultiStyleTextDirective {
|
|
|
10
10
|
private renderer;
|
|
11
11
|
private childrenCreated;
|
|
12
12
|
set multiStyleText(fullText: string);
|
|
13
|
+
partEvent: EventEmitter<string>;
|
|
13
14
|
constructor(elRef: ElementRef, renderer: Renderer2);
|
|
14
15
|
private static parse;
|
|
15
16
|
private static cutFirstGroup;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiStyleTextDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiStyleTextDirective, "[multiStyleText]", never, { "multiStyleText": "multiStyleText"; }, {}, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiStyleTextDirective, "[multiStyleText]", never, { "multiStyleText": "multiStyleText"; }, { "partEvent": "partEvent"; }, never>;
|
|
18
19
|
}
|
|
@@ -6,6 +6,7 @@ export interface PopmenuOptions {
|
|
|
6
6
|
'arrowPosition'?: boolean;
|
|
7
7
|
'arrowOffset'?: number;
|
|
8
8
|
'hasBackdrop'?: boolean;
|
|
9
|
+
'backdropClass'?: string;
|
|
9
10
|
'placement'?: string;
|
|
10
11
|
'rounded'?: boolean;
|
|
11
12
|
'delay'?: number;
|
|
@@ -14,7 +15,24 @@ export interface PopmenuOptions {
|
|
|
14
15
|
'trigger'?: string;
|
|
15
16
|
'shadow'?: boolean;
|
|
16
17
|
'theme'?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated use offsets (with an S at the end) instead
|
|
20
|
+
*/
|
|
17
21
|
'offset'?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Allow to customize the position of the popmenu from the target
|
|
24
|
+
*
|
|
25
|
+
* Skidding: displaces the popper along the reference element.
|
|
26
|
+
*
|
|
27
|
+
* Distance: displaces the popper away from, or toward, the reference element in the direction of its placement.
|
|
28
|
+
* A positive number displaces it further away, while a negative number lets it overlap the reference.
|
|
29
|
+
*
|
|
30
|
+
* See popper.js documentation for more explanation about skidding and distance: https://popper.js.org/docs/v2/modifiers/offset/
|
|
31
|
+
*/
|
|
32
|
+
'offsets'?: {
|
|
33
|
+
distance?: number;
|
|
34
|
+
skidding?: number;
|
|
35
|
+
};
|
|
18
36
|
'width'?: number;
|
|
19
37
|
'max-width'?: number;
|
|
20
38
|
'position'?: {
|
|
@@ -42,12 +42,15 @@ export declare class PopmenuComponent implements AfterViewInit {
|
|
|
42
42
|
get element(): any;
|
|
43
43
|
get elementPosition(): any;
|
|
44
44
|
get hasBackdrop(): any;
|
|
45
|
+
get backdropClass(): any;
|
|
45
46
|
get isThemeLight(): boolean;
|
|
46
47
|
get options(): any;
|
|
47
48
|
get placement(): any;
|
|
48
49
|
get rounded(): any;
|
|
49
50
|
get shadow(): any;
|
|
50
51
|
get tooltipOffset(): number;
|
|
52
|
+
get offsetSkidding(): number;
|
|
53
|
+
get offsetDistance(): number;
|
|
51
54
|
get value(): any;
|
|
52
55
|
constructor(renderer: Renderer2, elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef);
|
|
53
56
|
ngAfterViewInit(): void;
|
|
@@ -31,7 +31,12 @@ export declare class PopmenuDirective implements OnChanges, OnInit {
|
|
|
31
31
|
arrowPosition: string;
|
|
32
32
|
close: boolean;
|
|
33
33
|
hasBackdrop: boolean;
|
|
34
|
+
backdropClass: string;
|
|
34
35
|
offset: number;
|
|
36
|
+
offsets: {
|
|
37
|
+
distance?: number;
|
|
38
|
+
skidding?: number;
|
|
39
|
+
};
|
|
35
40
|
placement: string;
|
|
36
41
|
pointer: boolean;
|
|
37
42
|
popMenuValue: TemplateRef<any>;
|
|
@@ -68,5 +73,5 @@ export declare class PopmenuDirective implements OnChanges, OnInit {
|
|
|
68
73
|
showTooltipElem(): void;
|
|
69
74
|
hideTooltipElem(): void;
|
|
70
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopmenuDirective, [{ optional: true; }, null, null, null, null, null]>;
|
|
71
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PopmenuDirective, "[apPopmenu]", never, { "apPopmenuBorder": "apPopmenuBorder"; "apPopmenuDisabled": "apPopmenuDisabled"; "apPopmenuBackground": "apPopmenuBackground"; "arrow": "arrow"; "arrowOffset": "arrowOffset"; "arrowPosition": "arrowPosition"; "close": "close"; "hasBackdrop": "hasBackdrop"; "offset": "offset"; "placement": "placement"; "pointer": "pointer"; "popMenuValue": "apPopmenu"; "position": "position"; "rounded": "rounded"; "shadow": "shadow"; "options": "options"; }, { "menuClosed": "menuClosed"; "menuOpened": "menuOpened"; }, never>;
|
|
76
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopmenuDirective, "[apPopmenu]", never, { "apPopmenuBorder": "apPopmenuBorder"; "apPopmenuDisabled": "apPopmenuDisabled"; "apPopmenuBackground": "apPopmenuBackground"; "arrow": "arrow"; "arrowOffset": "arrowOffset"; "arrowPosition": "arrowPosition"; "close": "close"; "hasBackdrop": "hasBackdrop"; "backdropClass": "backdropClass"; "offset": "offset"; "offsets": "offsets"; "placement": "placement"; "pointer": "pointer"; "popMenuValue": "apPopmenu"; "position": "position"; "rounded": "rounded"; "shadow": "shadow"; "options": "options"; }, { "menuClosed": "menuClosed"; "menuOpened": "menuOpened"; }, never>;
|
|
72
77
|
}
|
|
Binary file
|