@entake/particle 18.0.5 → 19.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.
- package/LICENSE +7 -7
- package/app/{modules → shared/components}/accordion/accordion.component.d.ts +3 -3
- package/app/{modules/date-picker → shared}/components/calendar/calendar.component.d.ts +7 -12
- package/app/{modules → shared/components}/checkbox/checkbox.component.d.ts +5 -7
- package/app/{modules → shared/components}/color-picker/color-picker.component.d.ts +3 -9
- package/app/{modules → shared/components}/date-picker/date-picker.component.d.ts +20 -26
- package/app/{modules/date-picker → shared}/components/date-range-picker/date-range-picker.component.d.ts +10 -11
- package/app/{modules → shared/components}/dialog/dialog.component.d.ts +16 -24
- package/app/{modules → shared/components}/dropdown/dropdown.component.d.ts +12 -14
- package/app/{modules/icons/components → shared/components/icon-select}/icon-select.component.d.ts +14 -17
- package/app/{modules → shared/components}/idle-timeout/idle-timeout.component.d.ts +3 -4
- package/app/{modules → shared/components}/input-mask/input-mask.component.d.ts +6 -7
- package/app/shared/components/layout-full-framing/layout-full-framing.component.d.ts +27 -0
- package/app/shared/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.d.ts +23 -0
- package/app/{modules/loader/components → shared/components/loader}/loader.component.d.ts +2 -2
- package/app/{modules → shared/components}/multi-select/multi-select.component.d.ts +18 -24
- package/app/{modules → shared/components}/notification/notification.component.d.ts +5 -13
- package/app/{modules → shared/components}/paginator/paginator.component.d.ts +12 -11
- package/app/{modules → shared/components}/popover/popover.component.d.ts +10 -15
- package/app/{modules → shared/components}/profile-pic/profile-pic.component.d.ts +1 -1
- package/app/shared/components/progress-bar/progress-bar.component.d.ts +15 -0
- package/app/{modules → shared/components}/rich-text/rich-text.component.d.ts +11 -12
- package/app/shared/components/scroll-to-top/scroll-to-top.component.d.ts +18 -0
- package/app/shared/components/slideover/slideover.component.d.ts +35 -0
- package/app/{modules → shared/components}/slider/slider.component.d.ts +8 -22
- package/app/{modules → shared/components}/toggle-switch/toggle-switch.component.d.ts +4 -6
- package/app/{modules → shared/components}/week-picker/week-picker.component.d.ts +21 -22
- package/app/{modules/accordion → shared}/directives/accordion-content.directive.d.ts +1 -2
- package/app/{modules/accordion → shared}/directives/accordion-header.directive.d.ts +1 -2
- package/app/{modules/accordion → shared}/directives/accordion-item.directive.d.ts +1 -1
- package/app/{modules/background-carousel → shared/directives}/background-carousel.directive.d.ts +4 -4
- package/app/{modules/keyfilter → shared/directives}/keyfilter.directive.d.ts +1 -7
- package/app/{modules/tooltip → shared/directives}/tooltip.directive.d.ts +3 -9
- package/app/shared/models/carousel-options.model.d.ts +21 -0
- package/app/shared/models/pagination-event.model.d.ts +8 -0
- package/app/shared/models/particle-component-text.model.d.ts +2 -24
- package/app/{modules/icons → shared}/models/particle-icons-solid.model.d.ts +6 -6
- package/app/shared/modules/icons/particle-icons.module.d.ts +7 -0
- package/app/{modules/ordinal-number-pipe → shared/pipes}/ordinal-number.pipe.d.ts +1 -1
- package/app/shared/services/base-data.service.d.ts +2 -2
- package/app/shared/services/dialog.service.d.ts +1 -1
- package/app/{modules/notification → shared}/services/notification.service.d.ts +0 -4
- package/app/{modules/theming → shared}/services/theming.service.d.ts +0 -19
- package/fesm2022/entake-particle.mjs +4026 -5721
- package/fesm2022/entake-particle.mjs.map +1 -1
- package/package.json +16 -25
- package/public_api.d.ts +47 -82
- package/app/modules/accordion/accordion.module.d.ts +0 -11
- package/app/modules/background-carousel/carousel-options.model.d.ts +0 -30
- package/app/modules/background-carousel/particle-background-carousel.module.d.ts +0 -8
- package/app/modules/checkbox/checkbox.module.d.ts +0 -9
- package/app/modules/color-picker/color-picker.module.d.ts +0 -9
- package/app/modules/date-picker/date-picker.module.d.ts +0 -15
- package/app/modules/dialog/dialog.module.d.ts +0 -9
- package/app/modules/dropdown/dropdown.module.d.ts +0 -9
- package/app/modules/endpoint-state/components/endpoint-state.component.d.ts +0 -46
- package/app/modules/endpoint-state/endpoint-state.module.d.ts +0 -8
- package/app/modules/icons/particle-icons.module.d.ts +0 -13
- package/app/modules/idle-timeout/particle-idle-timeout.module.d.ts +0 -9
- package/app/modules/input-mask/input-mask.module.d.ts +0 -8
- package/app/modules/keyfilter/keyfilter.module.d.ts +0 -8
- package/app/modules/layout/components/layout-full-framing/layout-full-framing.component.d.ts +0 -27
- package/app/modules/layout/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.d.ts +0 -23
- package/app/modules/layout/layout.module.d.ts +0 -10
- package/app/modules/loader/loader.module.d.ts +0 -8
- package/app/modules/multi-select/multi-select.module.d.ts +0 -8
- package/app/modules/notification/notification.module.d.ts +0 -8
- package/app/modules/ordinal-number-pipe/ordinal-number-pipe.module.d.ts +0 -8
- package/app/modules/paginator/pagination-event.model.d.ts +0 -24
- package/app/modules/paginator/particle-paginator.module.d.ts +0 -13
- package/app/modules/popover/popover.module.d.ts +0 -9
- package/app/modules/profile-pic/particle-profile-pic.module.d.ts +0 -9
- package/app/modules/progress-bar/progress-bar.component.d.ts +0 -16
- package/app/modules/progress-bar/progress-bar.module.d.ts +0 -8
- package/app/modules/push-container/particle-push-container.module.d.ts +0 -9
- package/app/modules/push-container/push-container-state.model.d.ts +0 -7
- package/app/modules/push-container/push-container.component.d.ts +0 -137
- package/app/modules/rich-text/particle-rich-text.module.d.ts +0 -15
- package/app/modules/rich-text/render-rich-text.component.d.ts +0 -6
- package/app/modules/scroll-to-top/particle-scroll-to-top.module.d.ts +0 -8
- package/app/modules/scroll-to-top/scroll-to-top.component.d.ts +0 -19
- package/app/modules/slideover/particle-slideover.module.d.ts +0 -8
- package/app/modules/slideover/slideover.component.d.ts +0 -35
- package/app/modules/slider/slider.module.d.ts +0 -9
- package/app/modules/theming/components/theming.component.d.ts +0 -43
- package/app/modules/theming/theming.module.d.ts +0 -12
- package/app/modules/toggle-switch/toggle-switch.module.d.ts +0 -8
- package/app/modules/tooltip/tooltip.module.d.ts +0 -8
- package/app/modules/week-picker/week-picker.module.d.ts +0 -13
- package/app/shared/enums/endpoint-status.enum.d.ts +0 -9
- package/esm2022/app/modules/accordion/accordion.component.mjs +0 -101
- package/esm2022/app/modules/accordion/accordion.module.mjs +0 -37
- package/esm2022/app/modules/accordion/directives/accordion-content.directive.mjs +0 -17
- package/esm2022/app/modules/accordion/directives/accordion-header.directive.mjs +0 -17
- package/esm2022/app/modules/accordion/directives/accordion-item.directive.mjs +0 -36
- package/esm2022/app/modules/background-carousel/background-carousel.directive.mjs +0 -91
- package/esm2022/app/modules/background-carousel/carousel-options.model.mjs +0 -36
- package/esm2022/app/modules/background-carousel/particle-background-carousel.module.mjs +0 -24
- package/esm2022/app/modules/checkbox/checkbox.component.mjs +0 -108
- package/esm2022/app/modules/checkbox/checkbox.module.mjs +0 -28
- package/esm2022/app/modules/color-picker/color-picker.component.mjs +0 -306
- package/esm2022/app/modules/color-picker/color-picker.module.mjs +0 -19
- package/esm2022/app/modules/date-picker/components/calendar/calendar.component.mjs +0 -496
- package/esm2022/app/modules/date-picker/components/date-range-picker/date-range-picker.component.mjs +0 -250
- package/esm2022/app/modules/date-picker/date-picker.component.mjs +0 -538
- package/esm2022/app/modules/date-picker/date-picker.module.mjs +0 -56
- package/esm2022/app/modules/dialog/dialog.component.mjs +0 -177
- package/esm2022/app/modules/dialog/dialog.module.mjs +0 -28
- package/esm2022/app/modules/dropdown/dropdown.component.mjs +0 -682
- package/esm2022/app/modules/dropdown/dropdown.module.mjs +0 -28
- package/esm2022/app/modules/dropdown/models/dropdown-option-group.model.mjs +0 -2
- package/esm2022/app/modules/dropdown/models/dropdown-option.model.mjs +0 -2
- package/esm2022/app/modules/endpoint-state/components/endpoint-state.component.mjs +0 -75
- package/esm2022/app/modules/endpoint-state/endpoint-state.module.mjs +0 -22
- package/esm2022/app/modules/icons/components/icon-select.component.mjs +0 -376
- package/esm2022/app/modules/icons/models/fontawesome-icons-brands.model.mjs +0 -471
- package/esm2022/app/modules/icons/models/fontawesome-icons-regular.model.mjs +0 -166
- package/esm2022/app/modules/icons/models/fontawesome-icons-solid.model.mjs +0 -1016
- package/esm2022/app/modules/icons/models/particle-icons-brands.model.mjs +0 -24
- package/esm2022/app/modules/icons/models/particle-icons-regular.model.mjs +0 -50
- package/esm2022/app/modules/icons/models/particle-icons-solid.model.mjs +0 -89
- package/esm2022/app/modules/icons/particle-icons.module.mjs +0 -66
- package/esm2022/app/modules/icons/services/icons.service.mjs +0 -82
- package/esm2022/app/modules/idle-timeout/idle-timeout.component.mjs +0 -85
- package/esm2022/app/modules/idle-timeout/idle-timer.mjs +0 -66
- package/esm2022/app/modules/idle-timeout/particle-idle-timeout.module.mjs +0 -28
- package/esm2022/app/modules/input-mask/input-mask.component.mjs +0 -594
- package/esm2022/app/modules/input-mask/input-mask.module.mjs +0 -18
- package/esm2022/app/modules/keyfilter/keyfilter.directive.mjs +0 -174
- package/esm2022/app/modules/keyfilter/keyfilter.module.mjs +0 -18
- package/esm2022/app/modules/layout/components/layout-full-framing/layout-full-framing.component.mjs +0 -81
- package/esm2022/app/modules/layout/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.mjs +0 -67
- package/esm2022/app/modules/layout/layout.module.mjs +0 -33
- package/esm2022/app/modules/loader/components/loader.component.mjs +0 -30
- package/esm2022/app/modules/loader/loader.module.mjs +0 -24
- package/esm2022/app/modules/multi-select/models/multi-select-option-group.model.mjs +0 -2
- package/esm2022/app/modules/multi-select/models/multi-select-option.model.mjs +0 -2
- package/esm2022/app/modules/multi-select/multi-select.component.mjs +0 -665
- package/esm2022/app/modules/multi-select/multi-select.module.mjs +0 -18
- package/esm2022/app/modules/notification/models/notification.model.mjs +0 -2
- package/esm2022/app/modules/notification/notification.component.mjs +0 -122
- package/esm2022/app/modules/notification/notification.module.mjs +0 -18
- package/esm2022/app/modules/notification/services/notification.service.mjs +0 -84
- package/esm2022/app/modules/ordinal-number-pipe/ordinal-number-pipe.module.mjs +0 -20
- package/esm2022/app/modules/ordinal-number-pipe/ordinal-number.pipe.mjs +0 -49
- package/esm2022/app/modules/paginator/pagination-event.model.mjs +0 -29
- package/esm2022/app/modules/paginator/paginator.component.mjs +0 -207
- package/esm2022/app/modules/paginator/particle-paginator.module.mjs +0 -48
- package/esm2022/app/modules/popover/popover.component.mjs +0 -352
- package/esm2022/app/modules/popover/popover.module.mjs +0 -24
- package/esm2022/app/modules/profile-pic/particle-profile-pic.module.mjs +0 -28
- package/esm2022/app/modules/profile-pic/profile-pic.component.mjs +0 -75
- package/esm2022/app/modules/progress-bar/progress-bar.component.mjs +0 -43
- package/esm2022/app/modules/progress-bar/progress-bar.module.mjs +0 -24
- package/esm2022/app/modules/push-container/particle-push-container.module.mjs +0 -26
- package/esm2022/app/modules/push-container/push-container-state.model.mjs +0 -2
- package/esm2022/app/modules/push-container/push-container.component.mjs +0 -363
- package/esm2022/app/modules/rich-text/particle-rich-text.module.mjs +0 -64
- package/esm2022/app/modules/rich-text/render-rich-text.component.mjs +0 -18
- package/esm2022/app/modules/rich-text/rich-text-capabilities.model.mjs +0 -2
- package/esm2022/app/modules/rich-text/rich-text.component.mjs +0 -209
- package/esm2022/app/modules/scroll-to-top/particle-scroll-to-top.module.mjs +0 -24
- package/esm2022/app/modules/scroll-to-top/scroll-to-top.component.mjs +0 -49
- package/esm2022/app/modules/slideover/particle-slideover.module.mjs +0 -24
- package/esm2022/app/modules/slideover/slideover.component.mjs +0 -115
- package/esm2022/app/modules/slider/slider.component.mjs +0 -243
- package/esm2022/app/modules/slider/slider.module.mjs +0 -26
- package/esm2022/app/modules/theming/components/theming.component.mjs +0 -86
- package/esm2022/app/modules/theming/models/theme.model.mjs +0 -9
- package/esm2022/app/modules/theming/services/theme-change-detection.service.mjs +0 -38
- package/esm2022/app/modules/theming/services/theming.service.mjs +0 -510
- package/esm2022/app/modules/theming/theming.module.mjs +0 -55
- package/esm2022/app/modules/toggle-switch/models/toggle-options.model.mjs +0 -2
- package/esm2022/app/modules/toggle-switch/toggle-switch.component.mjs +0 -107
- package/esm2022/app/modules/toggle-switch/toggle-switch.module.mjs +0 -24
- package/esm2022/app/modules/tooltip/tooltip.directive.mjs +0 -381
- package/esm2022/app/modules/tooltip/tooltip.module.mjs +0 -18
- package/esm2022/app/modules/week-picker/week-picker.component.mjs +0 -511
- package/esm2022/app/modules/week-picker/week-picker.module.mjs +0 -40
- package/esm2022/app/shared/enums/endpoint-status.enum.mjs +0 -11
- package/esm2022/app/shared/interceptors/json.interceptor.mjs +0 -23
- package/esm2022/app/shared/models/auditable.model.mjs +0 -2
- package/esm2022/app/shared/models/data-list.model.mjs +0 -2
- package/esm2022/app/shared/models/id.model.mjs +0 -2
- package/esm2022/app/shared/models/observable-container.mjs +0 -15
- package/esm2022/app/shared/models/particle-component-text.model.mjs +0 -2
- package/esm2022/app/shared/services/base-data.service.mjs +0 -190
- package/esm2022/app/shared/services/dialog.service.mjs +0 -50
- package/esm2022/app/shared/services/local-storage.service.mjs +0 -60
- package/esm2022/entake-particle.mjs +0 -5
- package/esm2022/public_api.mjs +0 -98
- /package/app/{modules/dropdown → shared}/models/dropdown-option-group.model.d.ts +0 -0
- /package/app/{modules/dropdown → shared}/models/dropdown-option.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/fontawesome-icons-brands.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/fontawesome-icons-regular.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/fontawesome-icons-solid.model.d.ts +0 -0
- /package/app/{modules/multi-select → shared}/models/multi-select-option-group.model.d.ts +0 -0
- /package/app/{modules/multi-select → shared}/models/multi-select-option.model.d.ts +0 -0
- /package/app/{modules/notification → shared}/models/notification.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/particle-icons-brands.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/particle-icons-regular.model.d.ts +0 -0
- /package/app/{modules/rich-text → shared/models}/rich-text-capabilities.model.d.ts +0 -0
- /package/app/{modules/theming → shared}/models/theme.model.d.ts +0 -0
- /package/app/{modules/toggle-switch → shared}/models/toggle-options.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/services/icons.service.d.ts +0 -0
- /package/app/{modules/idle-timeout → shared/services}/idle-timer.d.ts +0 -0
- /package/app/{modules/theming → shared}/services/theme-change-detection.service.d.ts +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ProgressBarComponent {
|
|
3
|
-
private _percentComplete;
|
|
4
|
-
set percentComplete(percentComplete: number);
|
|
5
|
-
get percentComplete(): number;
|
|
6
|
-
backgroundColorClass: string;
|
|
7
|
-
progressColorClass: string;
|
|
8
|
-
showPercentComplete: boolean;
|
|
9
|
-
borderRadius: number;
|
|
10
|
-
height: number;
|
|
11
|
-
showBorder: boolean;
|
|
12
|
-
showMovement: boolean;
|
|
13
|
-
constructor();
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "particle-progress-bar", never, { "percentComplete": { "alias": "percentComplete"; "required": false; }; "backgroundColorClass": { "alias": "backgroundColorClass"; "required": false; }; "progressColorClass": { "alias": "progressColorClass"; "required": false; }; "showPercentComplete": { "alias": "showPercentComplete"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "height": { "alias": "height"; "required": false; }; "showBorder": { "alias": "showBorder"; "required": false; }; "showMovement": { "alias": "showMovement"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./progress-bar.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class ParticleProgressBarModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleProgressBarModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleProgressBarModule, [typeof i1.ProgressBarComponent], [typeof i2.CommonModule], [typeof i1.ProgressBarComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleProgressBarModule>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./push-container.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../tooltip/tooltip.module";
|
|
5
|
-
export declare class ParticlePushContainerModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticlePushContainerModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticlePushContainerModule, [typeof i1.PushContainerComponent], [typeof i2.CommonModule, typeof i3.ParticleTooltipModule], [typeof i1.PushContainerComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticlePushContainerModule>;
|
|
9
|
-
}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { PushContainerState } from './push-container-state.model';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { PushContainerText } from '../../shared/models/particle-component-text.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Push Container that'll either push the content or overlay the content based on screen width.
|
|
8
|
-
*/
|
|
9
|
-
export declare class PushContainerComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
10
|
-
private _width;
|
|
11
|
-
/**
|
|
12
|
-
* Width of the container in pixels.
|
|
13
|
-
*/
|
|
14
|
-
set width(width: number);
|
|
15
|
-
get width(): number;
|
|
16
|
-
/**
|
|
17
|
-
* Show the side panel on load?
|
|
18
|
-
*/
|
|
19
|
-
showSidePanel: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Main Content ID that will be pushed by this
|
|
22
|
-
*/
|
|
23
|
-
mainContentId: string;
|
|
24
|
-
/**
|
|
25
|
-
* Side to push from (left/right)
|
|
26
|
-
*/
|
|
27
|
-
side: string;
|
|
28
|
-
/**
|
|
29
|
-
* Top offset to account for a nav bar
|
|
30
|
-
*/
|
|
31
|
-
set topOffset(topOffset: string);
|
|
32
|
-
get topOffset(): string;
|
|
33
|
-
private _topOffset;
|
|
34
|
-
set bottomOffset(bottomOffset: string);
|
|
35
|
-
get bottomOffset(): string;
|
|
36
|
-
private _bottomOffset;
|
|
37
|
-
/**
|
|
38
|
-
* If the screen resizes, it will either overlay or close depending on this variable
|
|
39
|
-
*/
|
|
40
|
-
closeOnResize: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Background color for the container
|
|
43
|
-
*/
|
|
44
|
-
backgroundColorClass: string;
|
|
45
|
-
/**
|
|
46
|
-
* Breakpoint that will make the container take over the screen when it's crossed.
|
|
47
|
-
*/
|
|
48
|
-
breakpoint: number;
|
|
49
|
-
/**
|
|
50
|
-
* Whether to always hide the close button, defaults to false.
|
|
51
|
-
*/
|
|
52
|
-
hideCloseButton: boolean;
|
|
53
|
-
showTabOnClose: boolean;
|
|
54
|
-
tabColorClass: string;
|
|
55
|
-
text: PushContainerText;
|
|
56
|
-
/**
|
|
57
|
-
* Event emitter for open
|
|
58
|
-
*/
|
|
59
|
-
opened: EventEmitter<any>;
|
|
60
|
-
/**
|
|
61
|
-
* Event emitter for close
|
|
62
|
-
*/
|
|
63
|
-
closed: EventEmitter<any>;
|
|
64
|
-
/**
|
|
65
|
-
* Visibility variable for accessibility
|
|
66
|
-
*/
|
|
67
|
-
visibility: boolean;
|
|
68
|
-
private unclickable;
|
|
69
|
-
/**
|
|
70
|
-
* Private variable to detect if the breakpoint is exceeded
|
|
71
|
-
*/
|
|
72
|
-
breakpointExceeded: boolean;
|
|
73
|
-
containerState: BehaviorSubject<PushContainerState>;
|
|
74
|
-
zIndex: string;
|
|
75
|
-
private _height;
|
|
76
|
-
private _lastWidth;
|
|
77
|
-
private _originalTopOffset;
|
|
78
|
-
private _originalHideCloseButton;
|
|
79
|
-
/**
|
|
80
|
-
* Constructor
|
|
81
|
-
*/
|
|
82
|
-
ngOnInit(): void;
|
|
83
|
-
/**
|
|
84
|
-
* Show or close the push container on load depending on the state passed in.
|
|
85
|
-
*/
|
|
86
|
-
ngAfterViewInit(): void;
|
|
87
|
-
/**
|
|
88
|
-
* Close the push container on destroy
|
|
89
|
-
*/
|
|
90
|
-
ngOnDestroy(): void;
|
|
91
|
-
/**
|
|
92
|
-
* Monitor the screen size and perform actions as specified by the input options
|
|
93
|
-
*
|
|
94
|
-
* @param event
|
|
95
|
-
*/
|
|
96
|
-
onResize(event: any): void;
|
|
97
|
-
/**
|
|
98
|
-
* Open or close based on current state.
|
|
99
|
-
*/
|
|
100
|
-
toggle(): void;
|
|
101
|
-
/**
|
|
102
|
-
* Open the push container
|
|
103
|
-
*
|
|
104
|
-
* @param init
|
|
105
|
-
*/
|
|
106
|
-
open(init?: boolean): void;
|
|
107
|
-
/**
|
|
108
|
-
* Close the push container
|
|
109
|
-
*/
|
|
110
|
-
close(): void;
|
|
111
|
-
/**
|
|
112
|
-
* Set the margin
|
|
113
|
-
*
|
|
114
|
-
* @param size
|
|
115
|
-
*/
|
|
116
|
-
private setMargin;
|
|
117
|
-
/**
|
|
118
|
-
* Get the width of the container
|
|
119
|
-
*/
|
|
120
|
-
getWidth(): string;
|
|
121
|
-
/**
|
|
122
|
-
* Get the side panel class based on the current state.
|
|
123
|
-
*/
|
|
124
|
-
private getSidePanelClass;
|
|
125
|
-
/**
|
|
126
|
-
* Get the left size based on the options
|
|
127
|
-
*/
|
|
128
|
-
private getLeftProperty;
|
|
129
|
-
/**
|
|
130
|
-
* Get the right size based on the options
|
|
131
|
-
*/
|
|
132
|
-
private getRightProperty;
|
|
133
|
-
private updateContainerState;
|
|
134
|
-
private setDefaultHeight;
|
|
135
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PushContainerComponent, never>;
|
|
136
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PushContainerComponent, "particle-push-container", never, { "width": { "alias": "width"; "required": false; }; "showSidePanel": { "alias": "showSidePanel"; "required": false; }; "mainContentId": { "alias": "mainContentId"; "required": false; }; "side": { "alias": "side"; "required": false; }; "topOffset": { "alias": "topOffset"; "required": false; }; "bottomOffset": { "alias": "bottomOffset"; "required": false; }; "closeOnResize": { "alias": "closeOnResize"; "required": false; }; "backgroundColorClass": { "alias": "backgroundColorClass"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "hideCloseButton": { "alias": "hideCloseButton"; "required": false; }; "showTabOnClose": { "alias": "showTabOnClose"; "required": false; }; "tabColorClass": { "alias": "tabColorClass"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, ["*"], false, never>;
|
|
137
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./rich-text.component";
|
|
3
|
-
import * as i2 from "./render-rich-text.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "../tooltip/tooltip.module";
|
|
6
|
-
import * as i5 from "ngx-tiptap";
|
|
7
|
-
import * as i6 from "@angular/forms";
|
|
8
|
-
import * as i7 from "@angular/platform-browser";
|
|
9
|
-
import * as i8 from "@tinkoff/ng-dompurify";
|
|
10
|
-
import * as i9 from "../dialog/dialog.module";
|
|
11
|
-
export declare class ParticleRichTextModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleRichTextModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleRichTextModule, [typeof i1.RichTextComponent, typeof i2.RenderRichTextComponent], [typeof i3.CommonModule, typeof i4.ParticleTooltipModule, typeof i5.NgxTiptapModule, typeof i6.FormsModule, typeof i7.BrowserModule, typeof i8.NgDompurifyModule, typeof i9.ParticleDialogModule], [typeof i1.RichTextComponent, typeof i2.RenderRichTextComponent]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleRichTextModule>;
|
|
15
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class RenderRichTextComponent {
|
|
3
|
-
html: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RenderRichTextComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RenderRichTextComponent, "particle-render-rich-text", never, { "html": { "alias": "html"; "required": false; }; }, {}, never, never, false, never>;
|
|
6
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./scroll-to-top.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class ParticleScrollToTopModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleScrollToTopModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleScrollToTopModule, [typeof i1.ScrollToTopComponent], [typeof i2.CommonModule], [typeof i1.ScrollToTopComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleScrollToTopModule>;
|
|
8
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { ScrollToTopText } from '../../shared/models/particle-component-text.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ScrollToTopComponent implements OnDestroy, AfterViewInit {
|
|
6
|
-
renderer: Renderer2;
|
|
7
|
-
content: HTMLElement;
|
|
8
|
-
scrollDistance: number;
|
|
9
|
-
bottomOffset: number;
|
|
10
|
-
text: ScrollToTopText;
|
|
11
|
-
$scrollTop: BehaviorSubject<number>;
|
|
12
|
-
private _listener;
|
|
13
|
-
constructor(renderer: Renderer2);
|
|
14
|
-
ngAfterViewInit(): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
scrollToTop(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollToTopComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScrollToTopComponent, "particle-scroll-to-top", never, { "content": { "alias": "content"; "required": false; }; "scrollDistance": { "alias": "scrollDistance"; "required": false; }; "bottomOffset": { "alias": "bottomOffset"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./slideover.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class ParticleSlideoverModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleSlideoverModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleSlideoverModule, [typeof i1.SlideoverComponent], [typeof i2.CommonModule], [typeof i1.SlideoverComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleSlideoverModule>;
|
|
8
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { SlideoverText } from '../../shared/models/particle-component-text.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SlideoverComponent implements AfterViewInit, OnDestroy {
|
|
5
|
-
private _position;
|
|
6
|
-
slideoverOpen: boolean;
|
|
7
|
-
visible: boolean;
|
|
8
|
-
set position(position: string);
|
|
9
|
-
get position(): string;
|
|
10
|
-
modal: boolean;
|
|
11
|
-
width: string;
|
|
12
|
-
height: string;
|
|
13
|
-
bgClass: string;
|
|
14
|
-
text: SlideoverText;
|
|
15
|
-
/**
|
|
16
|
-
* Breakpoint that will make the container take over the screen when it's crossed.
|
|
17
|
-
*/
|
|
18
|
-
breakpoint: number;
|
|
19
|
-
opened: EventEmitter<any>;
|
|
20
|
-
closed: EventEmitter<any>;
|
|
21
|
-
overlay: ElementRef;
|
|
22
|
-
breakpointExceeded: boolean;
|
|
23
|
-
constructor();
|
|
24
|
-
onResize(event: any): void;
|
|
25
|
-
private _determineBreakpointExceeded;
|
|
26
|
-
open(): void;
|
|
27
|
-
close(): void;
|
|
28
|
-
toggle(): void;
|
|
29
|
-
private addModalMask;
|
|
30
|
-
private removeModalMask;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
ngAfterViewInit(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SlideoverComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SlideoverComponent, "particle-slideover", never, { "position": { "alias": "position"; "required": false; }; "modal": { "alias": "modal"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "bgClass": { "alias": "bgClass"; "required": false; }; "text": { "alias": "text"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, ["*"], false, never>;
|
|
35
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./slider.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
export declare class ParticleSliderModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleSliderModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleSliderModule, [typeof i1.SliderComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.SliderComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleSliderModule>;
|
|
9
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ThemingService } from '../services/theming.service';
|
|
2
|
-
import { Theme } from '../models/theme.model';
|
|
3
|
-
import { DropdownOption } from '../../dropdown/models/dropdown-option.model';
|
|
4
|
-
import { ThemingText } from '../../../shared/models/particle-component-text.model';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* This will produce a dropdown that can be embedded to allow a user to choose their theme.
|
|
9
|
-
*/
|
|
10
|
-
export declare class ThemingComponent {
|
|
11
|
-
private themingService;
|
|
12
|
-
/**
|
|
13
|
-
* Constructor
|
|
14
|
-
*
|
|
15
|
-
* @param themingService
|
|
16
|
-
*/
|
|
17
|
-
constructor(themingService: ThemingService);
|
|
18
|
-
/**
|
|
19
|
-
* Override class for the embedded dropdown
|
|
20
|
-
*/
|
|
21
|
-
selectClass: string;
|
|
22
|
-
/**
|
|
23
|
-
* ID for the embedded dropdown (allows for linking a label)
|
|
24
|
-
*/
|
|
25
|
-
selectId: string;
|
|
26
|
-
text: ThemingText;
|
|
27
|
-
/**
|
|
28
|
-
* Selected Theme ID
|
|
29
|
-
*/
|
|
30
|
-
private _themeId;
|
|
31
|
-
/**
|
|
32
|
-
* List of available themes
|
|
33
|
-
*/
|
|
34
|
-
readonly options$: Observable<Array<DropdownOption>>;
|
|
35
|
-
readonly themes$: Observable<Array<Theme>>;
|
|
36
|
-
readonly selectedTheme$: Observable<Theme>;
|
|
37
|
-
/**
|
|
38
|
-
* Update the user's selected theme
|
|
39
|
-
*/
|
|
40
|
-
changeTheme(selectedValue: string | number, themes: Array<Theme>): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemingComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThemingComponent, "particle-theming", never, { "selectClass": { "alias": "selectClass"; "required": false; }; "selectId": { "alias": "selectId"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, false, never>;
|
|
43
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/theming.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/platform-browser";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "@angular/platform-browser/animations";
|
|
7
|
-
import * as i6 from "../dropdown/dropdown.module";
|
|
8
|
-
export declare class ParticleThemingModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleThemingModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleThemingModule, [typeof i1.ThemingComponent], [typeof i2.CommonModule, typeof i3.BrowserModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.BrowserAnimationsModule, typeof i6.ParticleDropdownModule], [typeof i1.ThemingComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleThemingModule>;
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./toggle-switch.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class ParticleToggleSwitchModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleToggleSwitchModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleToggleSwitchModule, [typeof i1.ToggleSwitchComponent], [typeof i2.CommonModule], [typeof i1.ToggleSwitchComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleToggleSwitchModule>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./tooltip.directive";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class ParticleTooltipModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleTooltipModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleTooltipModule, [typeof i1.TooltipDirective], [typeof i2.CommonModule], [typeof i1.TooltipDirective]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleTooltipModule>;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./week-picker.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../ordinal-number-pipe/ordinal-number-pipe.module";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "@angular/cdk/a11y";
|
|
7
|
-
import * as i6 from "../popover/popover.module";
|
|
8
|
-
import * as i7 from "../tooltip/tooltip.module";
|
|
9
|
-
export declare class ParticleWeekPickerModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleWeekPickerModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleWeekPickerModule, [typeof i1.WeekPickerComponent], [typeof i2.CommonModule, typeof i3.ParticleOrdinalNumberPipeModule, typeof i4.FormsModule, typeof i5.A11yModule, typeof i6.ParticlePopoverModule, typeof i7.ParticleTooltipModule], [typeof i1.WeekPickerComponent]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleWeekPickerModule>;
|
|
13
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ContentChildren, Input, ViewChildren } from '@angular/core';
|
|
2
|
-
import { AccordionItemDirective } from './directives/accordion-item.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class AccordionComponent {
|
|
6
|
-
expanded = new Set();
|
|
7
|
-
multiple = false;
|
|
8
|
-
height = '40px';
|
|
9
|
-
headerClass = 'bg_overlay brdr border_bottom';
|
|
10
|
-
textClass = 'md bolder';
|
|
11
|
-
iconCollapsed = 'fas fa-caret-right';
|
|
12
|
-
iconExpanded = 'fas fa-caret-down';
|
|
13
|
-
showIcon = true;
|
|
14
|
-
text = {
|
|
15
|
-
expand: 'Expand',
|
|
16
|
-
collapse: 'Collapse'
|
|
17
|
-
};
|
|
18
|
-
items = null;
|
|
19
|
-
contentDivs = null;
|
|
20
|
-
ngAfterContentInit() {
|
|
21
|
-
for (let i = 0; i < this.items.length; i++) {
|
|
22
|
-
const item = this.items.get(i);
|
|
23
|
-
if (item.open && !item.disabled) {
|
|
24
|
-
this.expanded.add(i);
|
|
25
|
-
if (!this.multiple) {
|
|
26
|
-
break;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
ngAfterViewInit() {
|
|
32
|
-
for (let i = 0; i < this.contentDivs.length; i++) {
|
|
33
|
-
const el = this.contentDivs.get(i).nativeElement;
|
|
34
|
-
const item = this.items.get(i);
|
|
35
|
-
if (el) {
|
|
36
|
-
if (item && item.open && !item.disabled) {
|
|
37
|
-
el.style.maxHeight = el.scrollHeight + 'px';
|
|
38
|
-
el.ariaHidden = 'false';
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
el.style.maxHeight = '0';
|
|
42
|
-
el.ariaHidden = 'true';
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @param index - index of the accordion item
|
|
49
|
-
*/
|
|
50
|
-
getToggleState = (index) => {
|
|
51
|
-
return this.toggleState.bind(this, index);
|
|
52
|
-
};
|
|
53
|
-
toggleState = (index) => {
|
|
54
|
-
if (this.expanded.has(index)) {
|
|
55
|
-
this.expanded.delete(index);
|
|
56
|
-
this.contentDivs.get(index).nativeElement.style.maxHeight = '0';
|
|
57
|
-
this.contentDivs.get(index).nativeElement.ariaHidden = 'true';
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
if (!this.multiple) {
|
|
61
|
-
this.expanded.clear();
|
|
62
|
-
for (let i = 0; i < this.contentDivs.length; i++) {
|
|
63
|
-
this.contentDivs.get(i).nativeElement.style.maxHeight = '0';
|
|
64
|
-
this.contentDivs.get(i).nativeElement.ariaHidden = 'true';
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
this.expanded.add(index);
|
|
68
|
-
this.contentDivs.get(index).nativeElement.style.maxHeight = `${this.contentDivs.get(index).nativeElement.scrollHeight}px`;
|
|
69
|
-
this.contentDivs.get(index).nativeElement.ariaHidden = 'false';
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
73
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: AccordionComponent, selector: "particle-accordion", inputs: { multiple: "multiple", height: "height", headerClass: "headerClass", textClass: "textClass", iconCollapsed: "iconCollapsed", iconExpanded: "iconExpanded", showIcon: "showIcon", text: "text" }, queries: [{ propertyName: "items", predicate: AccordionItemDirective }], viewQueries: [{ propertyName: "contentDivs", predicate: ["ref"], descendants: true }], ngImport: i0, template: "<div *ngFor=\"let item of items;index as i\" class=\"particle_accordion_item\" [class.disabled]=\"item.disabled\" [class.active]=\"expanded.has(i)\">\r\n <button type=\"button\" class=\"particle_accordion_header width100\"\r\n [ngClass]=\"(item.headerClass ? item.headerClass : headerClass) + (!item.disabled ? ' access' : '')\"\r\n [style.height]=\"height\"\r\n (click)=\"!item.disabled ? toggleState(i) : {}\"\r\n [attr.aria-label]=\"!expanded.has(i) ? text.expand : text.collapse\">\r\n <ng-container *ngIf=\"item.headerTemplate\">\r\n <ng-container *ngTemplateOutlet=\"item.headerTemplate.templateRef\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!item.headerTemplate\">\r\n <div class=\"text\" [ngClass]=\"textClass\" *ngIf=\"showIcon\">\r\n <span *ngIf=\"!expanded.has(i)\"><i [ngClass]=\"iconCollapsed + ' fa-fw'\"></i></span>\r\n <span *ngIf=\"expanded.has(i)\"><i [ngClass]=\"iconExpanded + ' fa-fw'\"></i></span>\r\n {{item?.header}}\r\n </div>\r\n <div class=\"text\" [ngClass]=\"textClass\" *ngIf=\"!showIcon\">\r\n <span>{{item?.header}}</span>\r\n </div>\r\n </ng-container>\r\n </button>\r\n <div class=\"particle_accordion_content\" #ref>\r\n <ng-container *ngTemplateOutlet=\"$any(item?.content?.templateRef)\"></ng-container>\r\n </div>\r\n</div>\r\n", styles: [":host{--accordion-disabled: rgb(159, 159, 161)}.particle_accordion_header{display:flex;justify-content:flex-start;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.particle_accordion_toggle_button{border:none;transition:transform .2s ease-in;background:none}.particle_accordion_item.disabled .particle_accordion_header{color:var(--accordion-disabled);cursor:auto}.particle_accordion_toggle_button:disabled{cursor:auto}.particle_accordion_toggle_button:disabled svg path:nth-child(2){fill:var(--accordion-disabled)}.particle_accordion_toggle_button:focus{outline:none}.particle_accordion_content{-webkit-user-select:text;user-select:text;overflow:hidden;transition:max-height .2s ease-out}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
74
|
-
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AccordionComponent, decorators: [{
|
|
76
|
-
type: Component,
|
|
77
|
-
args: [{ selector: 'particle-accordion', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngFor=\"let item of items;index as i\" class=\"particle_accordion_item\" [class.disabled]=\"item.disabled\" [class.active]=\"expanded.has(i)\">\r\n <button type=\"button\" class=\"particle_accordion_header width100\"\r\n [ngClass]=\"(item.headerClass ? item.headerClass : headerClass) + (!item.disabled ? ' access' : '')\"\r\n [style.height]=\"height\"\r\n (click)=\"!item.disabled ? toggleState(i) : {}\"\r\n [attr.aria-label]=\"!expanded.has(i) ? text.expand : text.collapse\">\r\n <ng-container *ngIf=\"item.headerTemplate\">\r\n <ng-container *ngTemplateOutlet=\"item.headerTemplate.templateRef\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!item.headerTemplate\">\r\n <div class=\"text\" [ngClass]=\"textClass\" *ngIf=\"showIcon\">\r\n <span *ngIf=\"!expanded.has(i)\"><i [ngClass]=\"iconCollapsed + ' fa-fw'\"></i></span>\r\n <span *ngIf=\"expanded.has(i)\"><i [ngClass]=\"iconExpanded + ' fa-fw'\"></i></span>\r\n {{item?.header}}\r\n </div>\r\n <div class=\"text\" [ngClass]=\"textClass\" *ngIf=\"!showIcon\">\r\n <span>{{item?.header}}</span>\r\n </div>\r\n </ng-container>\r\n </button>\r\n <div class=\"particle_accordion_content\" #ref>\r\n <ng-container *ngTemplateOutlet=\"$any(item?.content?.templateRef)\"></ng-container>\r\n </div>\r\n</div>\r\n", styles: [":host{--accordion-disabled: rgb(159, 159, 161)}.particle_accordion_header{display:flex;justify-content:flex-start;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.particle_accordion_toggle_button{border:none;transition:transform .2s ease-in;background:none}.particle_accordion_item.disabled .particle_accordion_header{color:var(--accordion-disabled);cursor:auto}.particle_accordion_toggle_button:disabled{cursor:auto}.particle_accordion_toggle_button:disabled svg path:nth-child(2){fill:var(--accordion-disabled)}.particle_accordion_toggle_button:focus{outline:none}.particle_accordion_content{-webkit-user-select:text;user-select:text;overflow:hidden;transition:max-height .2s ease-out}\n"] }]
|
|
78
|
-
}], propDecorators: { multiple: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], height: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], headerClass: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], textClass: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], iconCollapsed: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], iconExpanded: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], showIcon: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], text: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], items: [{
|
|
95
|
-
type: ContentChildren,
|
|
96
|
-
args: [AccordionItemDirective]
|
|
97
|
-
}], contentDivs: [{
|
|
98
|
-
type: ViewChildren,
|
|
99
|
-
args: ['ref']
|
|
100
|
-
}] } });
|
|
101
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9hY2NvcmRpb24vYWNjb3JkaW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9hY2NvcmRpb24vYWNjb3JkaW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULGVBQWUsRUFDZixLQUFLLEVBRUwsWUFBWSxFQUNiLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDOzs7QUFTL0UsTUFBTSxPQUFPLGtCQUFrQjtJQUM3QixRQUFRLEdBQUcsSUFBSSxHQUFHLEVBQVUsQ0FBQztJQUc3QixRQU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XG4gICAgICA8L2Rpdj5cclxuICAgIDwvbmctY29udGFpbmVyPlxyXG4gIDwvYnV0dG9uPlxyXG4gIDxkaXYgY2xhc3M9XCJwYXJ0aWNsZV9hY2NvcmRpb25fY29udGVudFwiICNyZWY+XHJcbiAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiJGFueShpdGVtPy5jb250ZW50Py50ZW1wbGF0ZVJlZilcIj48L25nLWNvbnRhaW5lcj5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { AccordionComponent } from './accordion.component';
|
|
4
|
-
import { AccordionItemDirective } from './directives/accordion-item.directive';
|
|
5
|
-
import { AccordionContentDirective } from './directives/accordion-content.directive';
|
|
6
|
-
import { AccordionHeaderDirective } from './directives/accordion-header.directive';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class ParticleAccordionModule {
|
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ParticleAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: ParticleAccordionModule, declarations: [AccordionComponent,
|
|
11
|
-
AccordionItemDirective,
|
|
12
|
-
AccordionContentDirective,
|
|
13
|
-
AccordionHeaderDirective], imports: [CommonModule], exports: [AccordionComponent,
|
|
14
|
-
AccordionItemDirective,
|
|
15
|
-
AccordionContentDirective,
|
|
16
|
-
AccordionHeaderDirective] });
|
|
17
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ParticleAccordionModule, imports: [CommonModule] });
|
|
18
|
-
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ParticleAccordionModule, decorators: [{
|
|
20
|
-
type: NgModule,
|
|
21
|
-
args: [{
|
|
22
|
-
declarations: [
|
|
23
|
-
AccordionComponent,
|
|
24
|
-
AccordionItemDirective,
|
|
25
|
-
AccordionContentDirective,
|
|
26
|
-
AccordionHeaderDirective
|
|
27
|
-
],
|
|
28
|
-
imports: [CommonModule],
|
|
29
|
-
exports: [
|
|
30
|
-
AccordionComponent,
|
|
31
|
-
AccordionItemDirective,
|
|
32
|
-
AccordionContentDirective,
|
|
33
|
-
AccordionHeaderDirective
|
|
34
|
-
]
|
|
35
|
-
}]
|
|
36
|
-
}] });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9hY2NvcmRpb24vYWNjb3JkaW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV2QyxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUN6RCxPQUFPLEVBQUMsc0JBQXNCLEVBQUMsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSwwQ0FBMEMsQ0FBQztBQUNuRixPQUFPLEVBQUMsd0JBQXdCLEVBQUMsTUFBTSx5Q0FBeUMsQ0FBQzs7QUFpQmpGLE1BQU0sT0FBTyx1QkFBdUI7dUdBQXZCLHVCQUF1Qjt3R0FBdkIsdUJBQXVCLGlCQWJoQ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RpdmUnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIEFjY29yZGlvbkNvbXBvbmVudCxcclxuICAgIEFjY29yZGlvbkl0ZW1EaXJlY3RpdmUsXHJcbiAgICBBY2NvcmRpb25Db250ZW50RGlyZWN0aXZlLFxyXG4gICAgQWNjb3JkaW9uSGVhZGVyRGlyZWN0aXZlXHJcbiAgXSxcclxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBBY2NvcmRpb25Db21wb25lbnQsXHJcbiAgICBBY2NvcmRpb25JdGVtRGlyZWN0aXZlLFxyXG4gICAgQWNjb3JkaW9uQ29udGVudERpcmVjdGl2ZSxcclxuICAgIEFjY29yZGlvbkhlYWRlckRpcmVjdGl2ZVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFBhcnRpY2xlQWNjb3JkaW9uTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class AccordionContentDirective {
|
|
4
|
-
templateRef;
|
|
5
|
-
constructor(templateRef) {
|
|
6
|
-
this.templateRef = templateRef;
|
|
7
|
-
}
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AccordionContentDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: AccordionContentDirective, selector: "[particleAccordionContent]", ngImport: i0 });
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AccordionContentDirective, decorators: [{
|
|
12
|
-
type: Directive,
|
|
13
|
-
args: [{
|
|
14
|
-
selector: '[particleAccordionContent]'
|
|
15
|
-
}]
|
|
16
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWNvbnRlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2FjY29yZGlvbi9kaXJlY3RpdmVzL2FjY29yZGlvbi1jb250ZW50LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFlLE1BQU0sZUFBZSxDQUFDOztBQUt2RCxNQUFNLE9BQU8seUJBQXlCO0lBQ2pCO0lBQW5CLFlBQW1CLFdBQTZCO1FBQTdCLGdCQUFXLEdBQVgsV0FBVyxDQUFrQjtJQUFHLENBQUM7dUdBRHpDLHlCQUF5QjsyRkFBekIseUJBQXlCOzsyRkFBekIseUJBQXlCO2tCQUhyQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSw0QkFBNEI7aUJBQ3ZDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBUZW1wbGF0ZVJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQERpcmVjdGl2ZSh7XHJcbiAgc2VsZWN0b3I6ICdbcGFydGljbGVBY2NvcmRpb25Db250ZW50XSdcclxufSlcclxuZXhwb3J0IGNsYXNzIEFjY29yZGlvbkNvbnRlbnREaXJlY3RpdmUge1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyB0ZW1wbGF0ZVJlZjogVGVtcGxhdGVSZWY8YW55Pikge31cclxufVxyXG4iXX0=
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class AccordionHeaderDirective {
|
|
4
|
-
templateRef;
|
|
5
|
-
constructor(templateRef) {
|
|
6
|
-
this.templateRef = templateRef;
|
|
7
|
-
}
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AccordionHeaderDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: AccordionHeaderDirective, selector: "[particleAccordionHeader]", ngImport: i0 });
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AccordionHeaderDirective, decorators: [{
|
|
12
|
-
type: Directive,
|
|
13
|
-
args: [{
|
|
14
|
-
selector: '[particleAccordionHeader]'
|
|
15
|
-
}]
|
|
16
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWhlYWRlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvYWNjb3JkaW9uL2RpcmVjdGl2ZXMvYWNjb3JkaW9uLWhlYWRlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBYyxNQUFNLGVBQWUsQ0FBQzs7QUFLckQsTUFBTSxPQUFPLHdCQUF3QjtJQUNoQjtJQUFuQixZQUFtQixXQUE2QjtRQUE3QixnQkFBVyxHQUFYLFdBQVcsQ0FBa0I7SUFBRyxDQUFDO3VHQUR6Qyx3QkFBd0I7MkZBQXhCLHdCQUF3Qjs7MkZBQXhCLHdCQUF3QjtrQkFIcEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsMkJBQTJCO2lCQUN0QyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7RGlyZWN0aXZlLCBUZW1wbGF0ZVJlZn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5ARGlyZWN0aXZlKHtcclxuICBzZWxlY3RvcjogJ1twYXJ0aWNsZUFjY29yZGlvbkhlYWRlcl0nXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBY2NvcmRpb25IZWFkZXJEaXJlY3RpdmUge1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyB0ZW1wbGF0ZVJlZjogVGVtcGxhdGVSZWY8YW55Pikge31cclxufVxyXG4iXX0=
|