@entake/particle 19.1.3 → 20.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/fesm2022/entake-particle.mjs +267 -264
- package/fesm2022/entake-particle.mjs.map +1 -1
- package/index.d.ts +3850 -3
- package/package.json +14 -14
- package/particle.css +1 -1
- package/app/shared/components/accordion/accordion.component.d.ts +0 -26
- package/app/shared/components/calendar/calendar.component.d.ts +0 -206
- package/app/shared/components/checkbox/checkbox.component.d.ts +0 -41
- package/app/shared/components/color-picker/color-picker.component.d.ts +0 -143
- package/app/shared/components/date-picker/date-picker.component.d.ts +0 -253
- package/app/shared/components/date-range-picker/date-range-picker.component.d.ts +0 -94
- package/app/shared/components/dialog/dialog.component.d.ts +0 -79
- package/app/shared/components/dropdown/dropdown.component.d.ts +0 -290
- package/app/shared/components/icon-select/icon-select.component.d.ts +0 -226
- package/app/shared/components/idle-timeout/idle-timeout.component.d.ts +0 -34
- package/app/shared/components/input-mask/input-mask.component.d.ts +0 -85
- package/app/shared/components/layout-full-framing/layout-full-framing.component.d.ts +0 -27
- package/app/shared/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.d.ts +0 -23
- package/app/shared/components/loader/loader.component.d.ts +0 -11
- package/app/shared/components/multi-select/multi-select.component.d.ts +0 -273
- package/app/shared/components/notification/notification.component.d.ts +0 -38
- package/app/shared/components/paginator/paginator.component.d.ts +0 -112
- package/app/shared/components/popover/popover.component.d.ts +0 -135
- package/app/shared/components/profile-pic/profile-pic.component.d.ts +0 -33
- package/app/shared/components/progress-bar/progress-bar.component.d.ts +0 -15
- package/app/shared/components/radio-buttons/radio-buttons.component.d.ts +0 -36
- package/app/shared/components/rich-text/rich-text.component.d.ts +0 -50
- package/app/shared/components/scroll-to-top/scroll-to-top.component.d.ts +0 -18
- package/app/shared/components/slideover/slideover.component.d.ts +0 -35
- package/app/shared/components/slider/slider.component.d.ts +0 -129
- package/app/shared/components/toggle-switch/toggle-switch.component.d.ts +0 -41
- package/app/shared/components/week-picker/week-picker.component.d.ts +0 -288
- package/app/shared/directives/accordion-content.directive.d.ts +0 -7
- package/app/shared/directives/accordion-header.directive.d.ts +0 -7
- package/app/shared/directives/accordion-item.directive.d.ts +0 -13
- package/app/shared/directives/background-carousel.directive.d.ts +0 -42
- package/app/shared/directives/keyfilter.directive.d.ts +0 -60
- package/app/shared/directives/tooltip.directive.d.ts +0 -151
- package/app/shared/interceptors/json.interceptor.d.ts +0 -17
- package/app/shared/models/auditable.model.d.ts +0 -21
- package/app/shared/models/carousel-options.model.d.ts +0 -21
- package/app/shared/models/data-list.model.d.ts +0 -9
- package/app/shared/models/dropdown-option-group.model.d.ts +0 -16
- package/app/shared/models/dropdown-option.model.d.ts +0 -25
- package/app/shared/models/fontawesome-icons-brands.model.d.ts +0 -13
- package/app/shared/models/fontawesome-icons-regular.model.d.ts +0 -13
- package/app/shared/models/fontawesome-icons-solid.model.d.ts +0 -13
- package/app/shared/models/id.model.d.ts +0 -9
- package/app/shared/models/multi-select-option-group.model.d.ts +0 -16
- package/app/shared/models/multi-select-option.model.d.ts +0 -25
- package/app/shared/models/notification.model.d.ts +0 -21
- package/app/shared/models/observable-container.d.ts +0 -8
- package/app/shared/models/pagination-event.model.d.ts +0 -8
- package/app/shared/models/particle-component-text.model.d.ts +0 -191
- package/app/shared/models/particle-icons-brands.model.d.ts +0 -21
- package/app/shared/models/particle-icons-regular.model.d.ts +0 -37
- package/app/shared/models/particle-icons-solid.model.d.ts +0 -61
- package/app/shared/models/rich-text-capabilities.model.d.ts +0 -8
- package/app/shared/models/theme.model.d.ts +0 -88
- package/app/shared/models/toggle-options.model.d.ts +0 -11
- package/app/shared/modules/icons/particle-icons.module.d.ts +0 -7
- package/app/shared/pipes/ordinal-number.pipe.d.ts +0 -15
- package/app/shared/services/base-data.service.d.ts +0 -130
- package/app/shared/services/dialog.service.d.ts +0 -10
- package/app/shared/services/icons.service.d.ts +0 -40
- package/app/shared/services/idle-timer.d.ts +0 -14
- package/app/shared/services/local-storage.service.d.ts +0 -41
- package/app/shared/services/notification.service.d.ts +0 -50
- package/app/shared/services/theme-change-detection.service.d.ts +0 -26
- package/app/shared/services/theming.service.d.ts +0 -123
- package/public_api.d.ts +0 -63
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
-
import { DropdownOption } from '../../models/dropdown-option.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RadioButtonsComponent implements ControlValueAccessor {
|
|
5
|
-
private changeDetectorRef;
|
|
6
|
-
readonly disabled: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
-
readonly value: import("@angular/core").WritableSignal<string>;
|
|
8
|
-
readonly options: import("@angular/core").InputSignal<DropdownOption[]>;
|
|
9
|
-
readonly colorClass: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly isDisplayColumn: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
onChange: (value: any) => void;
|
|
12
|
-
onTouched: () => any;
|
|
13
|
-
/**
|
|
14
|
-
* Set internal value when external value changes
|
|
15
|
-
* @param value the external value
|
|
16
|
-
*/
|
|
17
|
-
writeValue(value: string): void;
|
|
18
|
-
/**
|
|
19
|
-
* Register onChange function
|
|
20
|
-
* @param fn the function to register
|
|
21
|
-
*/
|
|
22
|
-
registerOnChange(fn: any): void;
|
|
23
|
-
/**
|
|
24
|
-
* Register onTouched function
|
|
25
|
-
* @param fn the function to register
|
|
26
|
-
*/
|
|
27
|
-
registerOnTouched(fn: any): void;
|
|
28
|
-
/**
|
|
29
|
-
* Set the disabled state of the component
|
|
30
|
-
* @param isDisabled disabled or not
|
|
31
|
-
*/
|
|
32
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
33
|
-
handleInput(value: string | number): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonsComponent, "particle-radio-buttons", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "colorClass": { "alias": "colorClass"; "required": false; "isSignal": true; }; "isDisplayColumn": { "alias": "isDisplayColumn"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import { Editor } from '@tiptap/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { RichTextEditorText } from '../../models/particle-component-text.model';
|
|
5
|
-
import { RichTextCapabilities } from '../../models/rich-text-capabilities.model';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare const RICH_TEXT_VALUE_ACCESSOR: any;
|
|
8
|
-
export declare class RichTextComponent implements ControlValueAccessor, AfterViewInit {
|
|
9
|
-
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly hideControls: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
readonly height: import("@angular/core").InputSignal<string>;
|
|
12
|
-
get readonly(): boolean;
|
|
13
|
-
set readonly(readonly: boolean);
|
|
14
|
-
readonly text: import("@angular/core").InputSignal<RichTextEditorText>;
|
|
15
|
-
readonly capabilities: import("@angular/core").InputSignal<RichTextCapabilities>;
|
|
16
|
-
readonly borderRadius: import("@angular/core").InputSignal<string>;
|
|
17
|
-
readonly textChanged: import("@angular/core").OutputEmitterRef<{
|
|
18
|
-
htmlValue: string;
|
|
19
|
-
textValue: string;
|
|
20
|
-
}>;
|
|
21
|
-
showDialog: any;
|
|
22
|
-
dialogLink: string;
|
|
23
|
-
dialogType: string;
|
|
24
|
-
/**
|
|
25
|
-
* Function called on change
|
|
26
|
-
*/
|
|
27
|
-
onChange: ((value: string) => void) | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* Function called on touch
|
|
30
|
-
*/
|
|
31
|
-
onTouched: (() => void) | undefined;
|
|
32
|
-
private _value;
|
|
33
|
-
private _editable;
|
|
34
|
-
protected readonly window: Window & typeof globalThis;
|
|
35
|
-
private CustomLink;
|
|
36
|
-
editor: Editor;
|
|
37
|
-
get value(): any;
|
|
38
|
-
set value(value: string);
|
|
39
|
-
ngAfterViewInit(): void;
|
|
40
|
-
writeValue(value: string): void;
|
|
41
|
-
registerOnChange(fn: any): void;
|
|
42
|
-
registerOnTouched(fn: any): void;
|
|
43
|
-
setDisabledState(isDisabled: boolean): void;
|
|
44
|
-
openLinkDialog(): void;
|
|
45
|
-
openImageDialog(): void;
|
|
46
|
-
changeEditorLink(action: string): void;
|
|
47
|
-
focus(position?: any): void;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextComponent, "particle-rich-text", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "hideControls": { "alias": "hideControls"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "capabilities": { "alias": "capabilities"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; }, { "textChanged": "textChanged"; }, never, never, true, never>;
|
|
50
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { ScrollToTopText } from '../../models/particle-component-text.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ScrollToTopComponent implements OnDestroy, AfterViewInit {
|
|
6
|
-
renderer: Renderer2;
|
|
7
|
-
readonly content: import("@angular/core").InputSignal<HTMLElement>;
|
|
8
|
-
readonly scrollDistance: import("@angular/core").InputSignal<number>;
|
|
9
|
-
readonly bottomOffset: import("@angular/core").InputSignal<number>;
|
|
10
|
-
readonly text: import("@angular/core").InputSignal<ScrollToTopText>;
|
|
11
|
-
$scrollTop: BehaviorSubject<number>;
|
|
12
|
-
private _listener;
|
|
13
|
-
ngAfterViewInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
scrollToTop(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollToTopComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScrollToTopComponent, "particle-scroll-to-top", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "scrollDistance": { "alias": "scrollDistance"; "required": false; "isSignal": true; }; "bottomOffset": { "alias": "bottomOffset"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { SlideoverText } from '../../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
|
-
readonly modal: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
readonly width: import("@angular/core").InputSignal<string>;
|
|
12
|
-
readonly height: import("@angular/core").InputSignal<string>;
|
|
13
|
-
readonly bgClass: import("@angular/core").InputSignal<string>;
|
|
14
|
-
readonly text: import("@angular/core").InputSignal<SlideoverText>;
|
|
15
|
-
/**
|
|
16
|
-
* Breakpoint that will make the container take over the screen when it's crossed.
|
|
17
|
-
*/
|
|
18
|
-
readonly breakpoint: import("@angular/core").InputSignal<number>;
|
|
19
|
-
readonly hideCloseButton: import("@angular/core").InputSignal<boolean>;
|
|
20
|
-
readonly opened: import("@angular/core").OutputEmitterRef<any>;
|
|
21
|
-
readonly closed: import("@angular/core").OutputEmitterRef<any>;
|
|
22
|
-
overlay: ElementRef;
|
|
23
|
-
breakpointExceeded: boolean;
|
|
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; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "bgClass": { "alias": "bgClass"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "hideCloseButton": { "alias": "hideCloseButton"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "closed": "closed"; }, never, ["*"], true, never>;
|
|
35
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { SliderText } from '../../models/particle-component-text.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Component that wraps the native HTML5 slider
|
|
7
|
-
*/
|
|
8
|
-
export declare class SliderComponent implements ControlValueAccessor, OnInit {
|
|
9
|
-
private changeDetectorRef;
|
|
10
|
-
/**
|
|
11
|
-
* ViewChild of the slider input
|
|
12
|
-
*/
|
|
13
|
-
sliderInput: ElementRef<HTMLInputElement>;
|
|
14
|
-
/**
|
|
15
|
-
* Set the value of the component
|
|
16
|
-
* @param value the value to set
|
|
17
|
-
*/
|
|
18
|
-
set value(value: number);
|
|
19
|
-
get value(): number;
|
|
20
|
-
/**
|
|
21
|
-
* Set the minimum slider value
|
|
22
|
-
* @param min the value to set
|
|
23
|
-
*/
|
|
24
|
-
set min(min: number);
|
|
25
|
-
/**
|
|
26
|
-
* Set the maximum slider value
|
|
27
|
-
* @param max the value to set
|
|
28
|
-
*/
|
|
29
|
-
set max(max: number);
|
|
30
|
-
/**
|
|
31
|
-
* Set the slider step size
|
|
32
|
-
* @param step the value to set
|
|
33
|
-
*/
|
|
34
|
-
set step(step: number);
|
|
35
|
-
/**
|
|
36
|
-
* Set the disabled state of the slider/input
|
|
37
|
-
* @param disabled the value to set
|
|
38
|
-
*/
|
|
39
|
-
set disabled(disabled: boolean);
|
|
40
|
-
/**
|
|
41
|
-
* Set the input class list
|
|
42
|
-
* @param inputClassList the value to set
|
|
43
|
-
*/
|
|
44
|
-
set inputClassList(inputClassList: string);
|
|
45
|
-
/**
|
|
46
|
-
* The unit being represented by the slider
|
|
47
|
-
*/
|
|
48
|
-
readonly unit: import("@angular/core").InputSignal<string>;
|
|
49
|
-
/**
|
|
50
|
-
* The aria-label to append to the slider/input
|
|
51
|
-
*/
|
|
52
|
-
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
53
|
-
readonly text: import("@angular/core").InputSignal<SliderText>;
|
|
54
|
-
/**
|
|
55
|
-
* Event emitted on slider/slider input input event
|
|
56
|
-
*/
|
|
57
|
-
readonly input: import("@angular/core").OutputEmitterRef<number>;
|
|
58
|
-
/**
|
|
59
|
-
* The internal value of the component
|
|
60
|
-
*/
|
|
61
|
-
_value: number;
|
|
62
|
-
/**
|
|
63
|
-
* The minimum slider value
|
|
64
|
-
*/
|
|
65
|
-
_min: number;
|
|
66
|
-
/**
|
|
67
|
-
* The maximum slider value
|
|
68
|
-
*/
|
|
69
|
-
_max: number;
|
|
70
|
-
/**
|
|
71
|
-
* The step size of the slider
|
|
72
|
-
*/
|
|
73
|
-
_step: number;
|
|
74
|
-
/**
|
|
75
|
-
* Whether the slider is disabled or not
|
|
76
|
-
*/
|
|
77
|
-
_disabled: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* The class list to apply to the number input
|
|
80
|
-
*/
|
|
81
|
-
_inputClassList: string;
|
|
82
|
-
/**
|
|
83
|
-
* The width of the colored section of the slider bar
|
|
84
|
-
*/
|
|
85
|
-
sliderWidth: number;
|
|
86
|
-
onChange: (value: any) => void;
|
|
87
|
-
onTouched: () => any;
|
|
88
|
-
/**
|
|
89
|
-
* Init component
|
|
90
|
-
*/
|
|
91
|
-
ngOnInit(): void;
|
|
92
|
-
/**
|
|
93
|
-
* Set internal value when external value changes
|
|
94
|
-
* @param value the external value
|
|
95
|
-
*/
|
|
96
|
-
writeValue(value: number): void;
|
|
97
|
-
/**
|
|
98
|
-
* Register onChange function
|
|
99
|
-
* @param fn the function to register
|
|
100
|
-
*/
|
|
101
|
-
registerOnChange(fn: any): void;
|
|
102
|
-
/**
|
|
103
|
-
* Register onTouched function
|
|
104
|
-
* @param fn the function to register
|
|
105
|
-
*/
|
|
106
|
-
registerOnTouched(fn: any): void;
|
|
107
|
-
/**
|
|
108
|
-
* Set the disabled state of the component
|
|
109
|
-
* @param isDisabled disabled or not
|
|
110
|
-
*/
|
|
111
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
112
|
-
/**
|
|
113
|
-
* Update value on input
|
|
114
|
-
* @param value the new value of the component
|
|
115
|
-
*/
|
|
116
|
-
handleInput(value: number): void;
|
|
117
|
-
/**
|
|
118
|
-
* Prevent the paste event from completing
|
|
119
|
-
* @param event the paste ClipboardEvent
|
|
120
|
-
*/
|
|
121
|
-
preventPaste(event: ClipboardEvent): void;
|
|
122
|
-
/**
|
|
123
|
-
* Set the slider width
|
|
124
|
-
* @private
|
|
125
|
-
*/
|
|
126
|
-
private setSliderWidth;
|
|
127
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
|
|
128
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "particle-slider", never, { "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "inputClassList": { "alias": "inputClassList"; "required": false; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "input": "input"; }, never, never, true, never>;
|
|
129
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
-
import { ToggleOptions } from '../../models/toggle-options.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ToggleSwitchComponent implements ControlValueAccessor {
|
|
5
|
-
private changeDetectorRef;
|
|
6
|
-
private _options$;
|
|
7
|
-
options$: import("rxjs").Observable<ToggleOptions>;
|
|
8
|
-
set options(options: ToggleOptions);
|
|
9
|
-
readonly disabled: import("@angular/core").ModelSignal<boolean>;
|
|
10
|
-
readonly changed: import("@angular/core").OutputEmitterRef<boolean>;
|
|
11
|
-
private _value;
|
|
12
|
-
get value(): boolean;
|
|
13
|
-
set value(value: boolean);
|
|
14
|
-
/**
|
|
15
|
-
* Function called on change
|
|
16
|
-
*/
|
|
17
|
-
onChange: ((value: boolean) => void) | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* Function called on touch
|
|
20
|
-
*/
|
|
21
|
-
onTouched: (() => void) | undefined;
|
|
22
|
-
handleClick(): void;
|
|
23
|
-
/**
|
|
24
|
-
* Register function on change
|
|
25
|
-
* @param fn the function to register
|
|
26
|
-
*/
|
|
27
|
-
registerOnChange(fn: any): void;
|
|
28
|
-
/**
|
|
29
|
-
* Register function on touch
|
|
30
|
-
* @param fn the function to register
|
|
31
|
-
*/
|
|
32
|
-
registerOnTouched(fn: any): void;
|
|
33
|
-
/**
|
|
34
|
-
* Set the disabled state
|
|
35
|
-
* @param isDisabled disabled or not
|
|
36
|
-
*/
|
|
37
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
38
|
-
writeValue(value: boolean): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitchComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitchComponent, "particle-toggle-switch", never, { "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "changed": "changed"; }, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { PopoverComponent } from '../popover/popover.component';
|
|
4
|
-
import { WeekPickerText } from '../../models/particle-component-text.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Interface representing a Date broken down by day/date/week/month/year
|
|
8
|
-
* with extended metadata
|
|
9
|
-
*/
|
|
10
|
-
declare interface MetaDate {
|
|
11
|
-
/**
|
|
12
|
-
* The day of the week (starting at 0)
|
|
13
|
-
*/
|
|
14
|
-
day: number;
|
|
15
|
-
/**
|
|
16
|
-
* The day of the month (starting at 1)
|
|
17
|
-
*/
|
|
18
|
-
date: number;
|
|
19
|
-
/**
|
|
20
|
-
* The week of the year
|
|
21
|
-
*/
|
|
22
|
-
week: number;
|
|
23
|
-
/**
|
|
24
|
-
* The month (starting at 0)
|
|
25
|
-
*/
|
|
26
|
-
month: number;
|
|
27
|
-
/**
|
|
28
|
-
* The full year
|
|
29
|
-
*/
|
|
30
|
-
year: number;
|
|
31
|
-
/**
|
|
32
|
-
* Whether the day is selectable
|
|
33
|
-
*/
|
|
34
|
-
selectable: boolean;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Interface representing a week of the year with metadata
|
|
38
|
-
*/
|
|
39
|
-
declare interface MetaWeek {
|
|
40
|
-
/**
|
|
41
|
-
* The week of the year (starting at 1)
|
|
42
|
-
*/
|
|
43
|
-
week: number;
|
|
44
|
-
/**
|
|
45
|
-
* The year of the week
|
|
46
|
-
*/
|
|
47
|
-
year: number;
|
|
48
|
-
/**
|
|
49
|
-
* Whether the week can be selected in the week picker
|
|
50
|
-
*/
|
|
51
|
-
selectable: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* The numeric dates of the days in the week
|
|
54
|
-
*/
|
|
55
|
-
dates: Array<number>;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Component to allow a user to select a week
|
|
59
|
-
*/
|
|
60
|
-
export declare class WeekPickerComponent implements ControlValueAccessor {
|
|
61
|
-
private changeDetectorRef;
|
|
62
|
-
/**
|
|
63
|
-
* Set the value of the week picker
|
|
64
|
-
* @param value the value to set
|
|
65
|
-
*/
|
|
66
|
-
set value(value: {
|
|
67
|
-
start: Date;
|
|
68
|
-
end: Date;
|
|
69
|
-
});
|
|
70
|
-
/**
|
|
71
|
-
* Get the value of the week picker
|
|
72
|
-
*/
|
|
73
|
-
get value(): {
|
|
74
|
-
start: Date;
|
|
75
|
-
end: Date;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Get whether the control is disabled
|
|
79
|
-
*/
|
|
80
|
-
get disabled(): boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Set disabled
|
|
83
|
-
*/
|
|
84
|
-
set disabled(disabled: boolean);
|
|
85
|
-
/**
|
|
86
|
-
* Set the valid date boundary for the week picker
|
|
87
|
-
* @param dateRange
|
|
88
|
-
*/
|
|
89
|
-
set dateRange(dateRange: {
|
|
90
|
-
start?: Date;
|
|
91
|
-
end?: Date;
|
|
92
|
-
});
|
|
93
|
-
/**
|
|
94
|
-
* Class list to apply to the date range input
|
|
95
|
-
*/
|
|
96
|
-
readonly inputClassList: import("@angular/core").InputSignal<any>;
|
|
97
|
-
/**
|
|
98
|
-
* Class list to apply to the week picker button
|
|
99
|
-
*/
|
|
100
|
-
readonly calendarButtonClassList: import("@angular/core").InputSignal<string>;
|
|
101
|
-
/**
|
|
102
|
-
* The aria label to apply to the date range input
|
|
103
|
-
*/
|
|
104
|
-
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
105
|
-
/**
|
|
106
|
-
* Format for the selected date range in the selection preview. Must
|
|
107
|
-
* be a valid Angular DatePipe format
|
|
108
|
-
*/
|
|
109
|
-
readonly dateFormat: import("@angular/core").InputSignal<string>;
|
|
110
|
-
/**
|
|
111
|
-
* Close the picker when a selection is made
|
|
112
|
-
*/
|
|
113
|
-
readonly closeOnSelect: import("@angular/core").InputSignal<boolean>;
|
|
114
|
-
readonly text: import("@angular/core").InputSignal<WeekPickerText>;
|
|
115
|
-
/**
|
|
116
|
-
* Event emitted on week select
|
|
117
|
-
*/
|
|
118
|
-
readonly weekSelected: import("@angular/core").OutputEmitterRef<{
|
|
119
|
-
start: Date;
|
|
120
|
-
end: Date;
|
|
121
|
-
}>;
|
|
122
|
-
/**
|
|
123
|
-
* ViewChild of the calendar popover
|
|
124
|
-
*/
|
|
125
|
-
calendarPopover: PopoverComponent;
|
|
126
|
-
/**
|
|
127
|
-
* The current date
|
|
128
|
-
*/
|
|
129
|
-
readonly currentDate: MetaDate;
|
|
130
|
-
/**
|
|
131
|
-
* BehaviorSubject tracking the value of the week picker
|
|
132
|
-
*/
|
|
133
|
-
readonly _internalValue: BehaviorSubject<{
|
|
134
|
-
start: Date;
|
|
135
|
-
end: Date;
|
|
136
|
-
}>;
|
|
137
|
-
/**
|
|
138
|
-
* BehaviorSubject tracking the selectable date range
|
|
139
|
-
*/
|
|
140
|
-
readonly _validSelectionInterval: BehaviorSubject<{
|
|
141
|
-
start: Date;
|
|
142
|
-
end: Date;
|
|
143
|
-
}>;
|
|
144
|
-
/**
|
|
145
|
-
* BehaviorSubject tracking the currently selected month
|
|
146
|
-
*/
|
|
147
|
-
readonly _selectedMonth: BehaviorSubject<number>;
|
|
148
|
-
/**
|
|
149
|
-
* BehaviorSubject tracking the currently selected year
|
|
150
|
-
*/
|
|
151
|
-
readonly _selectedYear: BehaviorSubject<number>;
|
|
152
|
-
/**
|
|
153
|
-
* The selected week of the year of the start of the selection as an Observable
|
|
154
|
-
*/
|
|
155
|
-
readonly selectedWeek$: Observable<number>;
|
|
156
|
-
/**
|
|
157
|
-
* The year of the start of the selected week as an Observable
|
|
158
|
-
*/
|
|
159
|
-
readonly selectedYear$: Observable<number>;
|
|
160
|
-
/**
|
|
161
|
-
* Observable boolean representing if next week (relative to the current selection) is selectable
|
|
162
|
-
*/
|
|
163
|
-
readonly canSelectNextWeek$: Observable<boolean>;
|
|
164
|
-
/**
|
|
165
|
-
* Observable boolean representing if last week (relative to the current selection) is selectable
|
|
166
|
-
*/
|
|
167
|
-
readonly canSelectLastWeek$: Observable<boolean>;
|
|
168
|
-
/**
|
|
169
|
-
* The range of selectable years as an Observable
|
|
170
|
-
*/
|
|
171
|
-
readonly validYearRange$: Observable<Array<number>>;
|
|
172
|
-
/**
|
|
173
|
-
* An array of MetaWeeks representing a month as an Observable
|
|
174
|
-
*/
|
|
175
|
-
readonly fullMonth$: Observable<Array<MetaWeek>>;
|
|
176
|
-
/**
|
|
177
|
-
* The value of the week picker
|
|
178
|
-
* @private
|
|
179
|
-
*/
|
|
180
|
-
private _value;
|
|
181
|
-
/**
|
|
182
|
-
* Whether the control is disabled
|
|
183
|
-
* @private
|
|
184
|
-
*/
|
|
185
|
-
private _disabled;
|
|
186
|
-
/**
|
|
187
|
-
* Generate an Array of numbers representing the span of years between the input
|
|
188
|
-
* @param minYear the start of the range
|
|
189
|
-
* @param maxYear the end of the range
|
|
190
|
-
* @param currentYear the current year
|
|
191
|
-
*/
|
|
192
|
-
private static generateYearRange;
|
|
193
|
-
/**
|
|
194
|
-
* Generate a month with week and selectable status metadata
|
|
195
|
-
* @param month the month to generate
|
|
196
|
-
* @param year the year of the month to generate
|
|
197
|
-
* @param selectionInterval the interval representing the
|
|
198
|
-
* minimum to the maximum week of the year
|
|
199
|
-
* @private
|
|
200
|
-
*/
|
|
201
|
-
private static generateMonth;
|
|
202
|
-
/**
|
|
203
|
-
* Get the input date as a MetaDate
|
|
204
|
-
* @param date the date to transform
|
|
205
|
-
* @param selectable whether or not the date is selectable
|
|
206
|
-
* @private
|
|
207
|
-
*/
|
|
208
|
-
private static getMetaDate;
|
|
209
|
-
/**
|
|
210
|
-
* Function to call on change
|
|
211
|
-
*/
|
|
212
|
-
onChange: (value: any) => void;
|
|
213
|
-
/**
|
|
214
|
-
* Function to call on touch
|
|
215
|
-
*/
|
|
216
|
-
onTouched: () => any;
|
|
217
|
-
/**
|
|
218
|
-
* Dependency injection site
|
|
219
|
-
* @param changeDetectorRef the Angular ChangeDetectorRef
|
|
220
|
-
*/
|
|
221
|
-
constructor();
|
|
222
|
-
/**
|
|
223
|
-
* Write value
|
|
224
|
-
* @param value the value to write
|
|
225
|
-
*/
|
|
226
|
-
writeValue(value: {
|
|
227
|
-
start: Date;
|
|
228
|
-
end: Date;
|
|
229
|
-
}): void;
|
|
230
|
-
/**
|
|
231
|
-
* Register function on change
|
|
232
|
-
* @param fn the function to change
|
|
233
|
-
*/
|
|
234
|
-
registerOnChange(fn: any): void;
|
|
235
|
-
/**
|
|
236
|
-
* Register function on touch
|
|
237
|
-
* @param fn the function to register
|
|
238
|
-
*/
|
|
239
|
-
registerOnTouched(fn: any): void;
|
|
240
|
-
/**
|
|
241
|
-
* Set disabled state
|
|
242
|
-
* @param isDisabled whether or not the control is disabled
|
|
243
|
-
*/
|
|
244
|
-
setDisabledState(isDisabled: boolean): void;
|
|
245
|
-
/**
|
|
246
|
-
* Open the week picker popover
|
|
247
|
-
* @param event the event to pass to the popover
|
|
248
|
-
*/
|
|
249
|
-
openCalendar(event: Event): void;
|
|
250
|
-
/**
|
|
251
|
-
* Handle week select
|
|
252
|
-
* @param week the week of the year
|
|
253
|
-
* @param selectable whether or not the week is selectable
|
|
254
|
-
*/
|
|
255
|
-
onWeekSelect(week: number, selectable: boolean): void;
|
|
256
|
-
/**
|
|
257
|
-
* Select next week (relative to the week of the current selection)
|
|
258
|
-
*/
|
|
259
|
-
selectNextWeek(): void;
|
|
260
|
-
/**
|
|
261
|
-
* Select last week (relative to the week of the current selection)
|
|
262
|
-
*/
|
|
263
|
-
selectLastWeek(): void;
|
|
264
|
-
/**
|
|
265
|
-
* Select the current week
|
|
266
|
-
*/
|
|
267
|
-
selectCurrentWeek(): void;
|
|
268
|
-
/**
|
|
269
|
-
* Update model
|
|
270
|
-
* @param value the new value of the model
|
|
271
|
-
* @private
|
|
272
|
-
*/
|
|
273
|
-
private updateModel;
|
|
274
|
-
/**
|
|
275
|
-
* Set the selection interval
|
|
276
|
-
* @param interval the input selection interval
|
|
277
|
-
* @private
|
|
278
|
-
*/
|
|
279
|
-
private setSelectionInterval;
|
|
280
|
-
/**
|
|
281
|
-
* Set the selectable status of the current date
|
|
282
|
-
* @private
|
|
283
|
-
*/
|
|
284
|
-
private setCurrentDateSelectable;
|
|
285
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WeekPickerComponent, never>;
|
|
286
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WeekPickerComponent, "particle-week-picker", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; "inputClassList": { "alias": "inputClassList"; "required": false; "isSignal": true; }; "calendarButtonClassList": { "alias": "calendarButtonClassList"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "weekSelected": "weekSelected"; }, never, never, true, never>;
|
|
287
|
-
}
|
|
288
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AccordionContentDirective {
|
|
4
|
-
templateRef: TemplateRef<any>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionContentDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionContentDirective, "[particleAccordionContent]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AccordionHeaderDirective {
|
|
4
|
-
templateRef: TemplateRef<any>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionHeaderDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionHeaderDirective, "[particleAccordionHeader]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AccordionContentDirective } from './accordion-content.directive';
|
|
2
|
-
import { AccordionHeaderDirective } from './accordion-header.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AccordionItemDirective {
|
|
5
|
-
header: string;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
open: boolean;
|
|
8
|
-
headerClass: string;
|
|
9
|
-
headerTemplate: AccordionHeaderDirective;
|
|
10
|
-
content: AccordionContentDirective;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionItemDirective, "particle-accordion-item", never, { "header": { "alias": "header"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "open": { "alias": "open"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; }, {}, ["headerTemplate", "content"], never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { CarouselOptions } from '../models/carousel-options.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* This directive when applied to a div will hijack its background and apply a carousel of images.
|
|
6
|
-
*/
|
|
7
|
-
export declare class BackgroundCarouselDirective implements OnDestroy {
|
|
8
|
-
/**
|
|
9
|
-
* Carousel Options
|
|
10
|
-
*/
|
|
11
|
-
private _options;
|
|
12
|
-
/**
|
|
13
|
-
* Reference to the interval for swapping the background image.
|
|
14
|
-
*/
|
|
15
|
-
private _interval;
|
|
16
|
-
/**
|
|
17
|
-
* Sets the options for the carousel
|
|
18
|
-
*
|
|
19
|
-
* @param value
|
|
20
|
-
*/
|
|
21
|
-
set options(value: CarouselOptions);
|
|
22
|
-
/**
|
|
23
|
-
* Gets the options for the carousel
|
|
24
|
-
*/
|
|
25
|
-
get options(): CarouselOptions;
|
|
26
|
-
/**
|
|
27
|
-
* Constructor will set up all of the behavior for the carousel based on the options supplied by the user.
|
|
28
|
-
*
|
|
29
|
-
* @param el
|
|
30
|
-
*/
|
|
31
|
-
constructor();
|
|
32
|
-
/**
|
|
33
|
-
* Initializes the options to default settings for whatever isn't provided by the developer
|
|
34
|
-
*/
|
|
35
|
-
private initOptions;
|
|
36
|
-
/**
|
|
37
|
-
* Clears the interval when the component is destroyed.
|
|
38
|
-
*/
|
|
39
|
-
ngOnDestroy(): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundCarouselDirective, never>;
|
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundCarouselDirective, "[particleCarousel]", never, { "options": { "alias": "particleCarouselOptions"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
|
-
}
|