@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
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Copyright 2022
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
-
|
|
5
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1
|
+
Copyright 2022 Entake LLC
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, QueryList } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { AccordionText } from '../../models/particle-component-text.model';
|
|
3
|
+
import { AccordionItemDirective } from '../../directives/accordion-item.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AccordionComponent implements AfterContentInit, AfterViewInit {
|
|
6
6
|
expanded: Set<number>;
|
|
@@ -22,5 +22,5 @@ export declare class AccordionComponent implements AfterContentInit, AfterViewIn
|
|
|
22
22
|
getToggleState: (index: number) => any;
|
|
23
23
|
toggleState: (index: number) => void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "particle-accordion", never, { "multiple": { "alias": "multiple"; "required": false; }; "height": { "alias": "height"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "textClass": { "alias": "textClass"; "required": false; }; "iconCollapsed": { "alias": "iconCollapsed"; "required": false; }; "iconExpanded": { "alias": "iconExpanded"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, ["items"], never,
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "particle-accordion", never, { "multiple": { "alias": "multiple"; "required": false; }; "height": { "alias": "height"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "textClass": { "alias": "textClass"; "required": false; }; "iconCollapsed": { "alias": "iconCollapsed"; "required": false; }; "iconExpanded": { "alias": "iconExpanded"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, ["items"], never, true, never>;
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { CalendarText } from '
|
|
3
|
+
import { CalendarText } from '../../models/particle-component-text.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Interface representing a date interval
|
|
@@ -39,7 +39,6 @@ declare interface MetaDate {
|
|
|
39
39
|
* Component that allows a user to select a date from a calendar
|
|
40
40
|
*/
|
|
41
41
|
export declare class CalendarComponent implements OnDestroy, OnInit {
|
|
42
|
-
private renderer;
|
|
43
42
|
/**
|
|
44
43
|
* The keyboard arrow keys
|
|
45
44
|
* @private
|
|
@@ -74,18 +73,18 @@ export declare class CalendarComponent implements OnDestroy, OnInit {
|
|
|
74
73
|
});
|
|
75
74
|
set text(text: CalendarText);
|
|
76
75
|
get text(): CalendarText;
|
|
77
|
-
showControls: boolean
|
|
76
|
+
readonly showControls: import("@angular/core").InputSignal<boolean>;
|
|
78
77
|
private _text;
|
|
79
78
|
/**
|
|
80
79
|
* Event emitted on date select
|
|
81
80
|
*/
|
|
82
|
-
selected:
|
|
81
|
+
readonly selected: import("@angular/core").OutputEmitterRef<Date>;
|
|
83
82
|
/**
|
|
84
83
|
* Event emitted on close (either through the button, escape keyup or click off of widget).
|
|
85
84
|
* Note: it is the parent component's job to actually hide the calendar, this event
|
|
86
85
|
* acts as a signal that that action should be taken
|
|
87
86
|
*/
|
|
88
|
-
closed:
|
|
87
|
+
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
89
88
|
/**
|
|
90
89
|
* The current Date broken down by day/month/year
|
|
91
90
|
*/
|
|
@@ -142,11 +141,7 @@ export declare class CalendarComponent implements OnDestroy, OnInit {
|
|
|
142
141
|
* @param currentYear the current year
|
|
143
142
|
*/
|
|
144
143
|
private static generateYearRange;
|
|
145
|
-
|
|
146
|
-
* Dependency injection site
|
|
147
|
-
* @param renderer the Angular renderer
|
|
148
|
-
*/
|
|
149
|
-
constructor(renderer: Renderer2);
|
|
144
|
+
constructor();
|
|
150
145
|
/**
|
|
151
146
|
* Init component
|
|
152
147
|
*/
|
|
@@ -206,6 +201,6 @@ export declare class CalendarComponent implements OnDestroy, OnInit {
|
|
|
206
201
|
private navigateDown;
|
|
207
202
|
clear(): void;
|
|
208
203
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
|
|
209
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "particle-calendar", never, { "value": { "alias": "value"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; "text": { "alias": "text"; "required": false; }; "showControls": { "alias": "showControls"; "required": false; }; }, { "selected": "selected"; "closed": "closed"; }, never, never,
|
|
204
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "particle-calendar", never, { "value": { "alias": "value"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; "text": { "alias": "text"; "required": false; }; "showControls": { "alias": "showControls"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "closed": "closed"; }, never, never, true, never>;
|
|
210
205
|
}
|
|
211
206
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { CheckboxText } from '../../
|
|
2
|
+
import { CheckboxText } from '../../models/particle-component-text.model';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class CheckboxComponent implements ControlValueAccessor {
|
|
6
5
|
private changeDetectorRef;
|
|
@@ -12,11 +11,10 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
12
11
|
get disabled(): boolean;
|
|
13
12
|
set value(value: string | boolean);
|
|
14
13
|
get value(): string | boolean;
|
|
15
|
-
size: number
|
|
16
|
-
inputId: string
|
|
17
|
-
text: CheckboxText
|
|
14
|
+
readonly size: import("@angular/core").InputSignal<number>;
|
|
15
|
+
readonly inputId: import("@angular/core").InputSignal<string>;
|
|
16
|
+
readonly text: import("@angular/core").InputSignal<CheckboxText>;
|
|
18
17
|
type: string;
|
|
19
|
-
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
20
18
|
/**
|
|
21
19
|
* Write value
|
|
22
20
|
* @param value the value to write
|
|
@@ -39,5 +37,5 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
39
37
|
setDisabledState?(isDisabled: boolean): void;
|
|
40
38
|
click(): void;
|
|
41
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "particle-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never,
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "particle-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
43
41
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { ColorPickerText } from '../../
|
|
3
|
+
import { ColorPickerText } from '../../models/particle-component-text.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Component that wraps the native HTML5 color picker for supported browsers
|
|
@@ -87,12 +87,6 @@ export declare class ColorPickerComponent implements ControlValueAccessor, OnIni
|
|
|
87
87
|
* Function to call on touch
|
|
88
88
|
*/
|
|
89
89
|
onTouched: () => any;
|
|
90
|
-
/**
|
|
91
|
-
* Dependency injection site
|
|
92
|
-
* @param renderer the Angular renderer
|
|
93
|
-
* @param changeDetectorRef the Angular ChangeDetectorRef
|
|
94
|
-
*/
|
|
95
|
-
constructor(renderer: Renderer2, changeDetectorRef: ChangeDetectorRef);
|
|
96
90
|
/**
|
|
97
91
|
* Init component, check for color picker browser support
|
|
98
92
|
*/
|
|
@@ -145,5 +139,5 @@ export declare class ColorPickerComponent implements ControlValueAccessor, OnIni
|
|
|
145
139
|
*/
|
|
146
140
|
private isColorPickerSupported;
|
|
147
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
|
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "particle-color-picker", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "classList": { "alias": "classList"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "input": "input"; "colorSelected": "colorSelected"; }, never, never,
|
|
142
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "particle-color-picker", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "classList": { "alias": "classList"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "input": "input"; "colorSelected": "colorSelected"; }, never, never, true, never>;
|
|
149
143
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { DatePickerText } from '../../
|
|
3
|
+
import { DatePickerText } from '../../models/particle-component-text.model';
|
|
4
4
|
import { PopoverComponent } from '../popover/popover.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
@@ -47,7 +47,15 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnDest
|
|
|
47
47
|
* Value input setter
|
|
48
48
|
*/
|
|
49
49
|
set value(value: Date);
|
|
50
|
+
/**
|
|
51
|
+
* Value getter
|
|
52
|
+
*/
|
|
53
|
+
get value(): Date;
|
|
50
54
|
set disabled(disabled: boolean);
|
|
55
|
+
/**
|
|
56
|
+
* Disabled getter
|
|
57
|
+
*/
|
|
58
|
+
get disabled(): boolean;
|
|
51
59
|
set dateRange(dateRange: {
|
|
52
60
|
minDate: Date;
|
|
53
61
|
maxDate: Date;
|
|
@@ -55,39 +63,39 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnDest
|
|
|
55
63
|
/**
|
|
56
64
|
* The ID to set on the input
|
|
57
65
|
*/
|
|
58
|
-
inputId: string
|
|
66
|
+
readonly inputId: import("@angular/core").InputSignal<string>;
|
|
59
67
|
/**
|
|
60
68
|
* Value to use as the date picker input's aria label
|
|
61
69
|
*/
|
|
62
|
-
ariaLabel: string
|
|
70
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
63
71
|
/**
|
|
64
72
|
* Optional class-list to add to the date picker input
|
|
65
73
|
*/
|
|
66
|
-
inputClassList: any
|
|
74
|
+
readonly inputClassList: import("@angular/core").InputSignal<any>;
|
|
67
75
|
/**
|
|
68
76
|
* Optional class-list to add to the calendar button
|
|
69
77
|
*/
|
|
70
|
-
calendarButtonClassList: string
|
|
78
|
+
readonly calendarButtonClassList: import("@angular/core").InputSignal<string>;
|
|
71
79
|
/**
|
|
72
80
|
* Close the picker when a selection is made
|
|
73
81
|
*/
|
|
74
|
-
closeOnSelect: boolean
|
|
82
|
+
readonly closeOnSelect: import("@angular/core").InputSignal<boolean>;
|
|
75
83
|
/**
|
|
76
84
|
* Placeholder override
|
|
77
85
|
*/
|
|
78
|
-
placeholder: string
|
|
79
|
-
inputOnly: boolean
|
|
86
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
87
|
+
readonly inputOnly: import("@angular/core").InputSignal<boolean>;
|
|
80
88
|
private _text;
|
|
81
89
|
set text(text: DatePickerText);
|
|
82
90
|
get text(): DatePickerText;
|
|
83
91
|
/**
|
|
84
92
|
* Event emitted on date picker input
|
|
85
93
|
*/
|
|
86
|
-
input:
|
|
94
|
+
readonly input: import("@angular/core").OutputEmitterRef<void>;
|
|
87
95
|
/**
|
|
88
96
|
* Event emitted on valid date selection/input
|
|
89
97
|
*/
|
|
90
|
-
dateSelected:
|
|
98
|
+
readonly dateSelected: import("@angular/core").OutputEmitterRef<Date>;
|
|
91
99
|
/**
|
|
92
100
|
* ViewChild of the date picker div
|
|
93
101
|
*/
|
|
@@ -176,20 +184,6 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnDest
|
|
|
176
184
|
* Function to call on touch
|
|
177
185
|
*/
|
|
178
186
|
onTouched: () => any;
|
|
179
|
-
/**
|
|
180
|
-
* Dependency injection site
|
|
181
|
-
* @param renderer the Angular renderer
|
|
182
|
-
* @param changeDetectorRef the Angular change detector
|
|
183
|
-
*/
|
|
184
|
-
constructor(renderer: Renderer2, changeDetectorRef: ChangeDetectorRef);
|
|
185
|
-
/**
|
|
186
|
-
* Value getter
|
|
187
|
-
*/
|
|
188
|
-
get value(): Date;
|
|
189
|
-
/**
|
|
190
|
-
* Disabled getter
|
|
191
|
-
*/
|
|
192
|
-
get disabled(): boolean;
|
|
193
187
|
onWindowResize(event: any): void;
|
|
194
188
|
/**
|
|
195
189
|
* Init component, set up window resize listener
|
|
@@ -255,5 +249,5 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnDest
|
|
|
255
249
|
*/
|
|
256
250
|
private setCalendarPosition;
|
|
257
251
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
258
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "particle-date-picker", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "inputClassList": { "alias": "inputClassList"; "required": false; }; "calendarButtonClassList": { "alias": "calendarButtonClassList"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputOnly": { "alias": "inputOnly"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "input": "input"; "dateSelected": "dateSelected"; }, never, never,
|
|
252
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "particle-date-picker", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "inputClassList": { "alias": "inputClassList"; "required": false; "isSignal": true; }; "calendarButtonClassList": { "alias": "calendarButtonClassList"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "inputOnly": { "alias": "inputOnly"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; }; }, { "input": "input"; "dateSelected": "dateSelected"; }, never, never, true, never>;
|
|
259
253
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AfterViewInit
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
4
|
-
import { PopoverComponent } from '../../../popover/popover.component';
|
|
3
|
+
import { PopoverComponent } from '../popover/popover.component';
|
|
5
4
|
import { CalendarComponent } from '../calendar/calendar.component';
|
|
5
|
+
import { DateRangePickerText } from '../../models/particle-component-text.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DateRangePickerComponent implements ControlValueAccessor, AfterViewInit {
|
|
8
8
|
private changeDetectorRef;
|
|
@@ -12,10 +12,10 @@ export declare class DateRangePickerComponent implements ControlValueAccessor, A
|
|
|
12
12
|
private _lastValue;
|
|
13
13
|
private _init;
|
|
14
14
|
valueObs$: import("rxjs").Observable<any>;
|
|
15
|
-
inputId: string
|
|
16
|
-
inputClassList: string
|
|
17
|
-
calendarButtonClassList: string
|
|
18
|
-
text: DateRangePickerText
|
|
15
|
+
readonly inputId: import("@angular/core").InputSignal<string>;
|
|
16
|
+
readonly inputClassList: import("@angular/core").InputSignal<string>;
|
|
17
|
+
readonly calendarButtonClassList: import("@angular/core").InputSignal<string>;
|
|
18
|
+
readonly text: import("@angular/core").InputSignal<DateRangePickerText>;
|
|
19
19
|
set dateRange(value: {
|
|
20
20
|
minDate: Date;
|
|
21
21
|
maxDate: Date;
|
|
@@ -40,12 +40,12 @@ export declare class DateRangePickerComponent implements ControlValueAccessor, A
|
|
|
40
40
|
};
|
|
41
41
|
set disabled(disabled: boolean);
|
|
42
42
|
get disabled(): boolean;
|
|
43
|
-
ariaLabel: string
|
|
43
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
44
44
|
/**
|
|
45
45
|
* Format for the selected date range in the selection preview. Must
|
|
46
46
|
* be a valid Angular DatePipe format
|
|
47
47
|
*/
|
|
48
|
-
dateFormat: string
|
|
48
|
+
readonly dateFormat: import("@angular/core").InputSignal<string>;
|
|
49
49
|
calendarPopover: PopoverComponent;
|
|
50
50
|
beginCalendar: CalendarComponent;
|
|
51
51
|
endCalendar: CalendarComponent;
|
|
@@ -62,7 +62,6 @@ export declare class DateRangePickerComponent implements ControlValueAccessor, A
|
|
|
62
62
|
* Function to call on touch
|
|
63
63
|
*/
|
|
64
64
|
onTouched: () => any;
|
|
65
|
-
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
66
65
|
/**
|
|
67
66
|
* Write value
|
|
68
67
|
* @param value the value to write
|
|
@@ -91,5 +90,5 @@ export declare class DateRangePickerComponent implements ControlValueAccessor, A
|
|
|
91
90
|
checkState(): void;
|
|
92
91
|
clear(): void;
|
|
93
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "particle-date-range-picker", never, { "inputId": { "alias": "inputId"; "required": false; }; "inputClassList": { "alias": "inputClassList"; "required": false; }; "calendarButtonClassList": { "alias": "calendarButtonClassList"; "required": false; }; "text": { "alias": "text"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, {}, never, never,
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "particle-date-range-picker", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "inputClassList": { "alias": "inputClassList"; "required": false; "isSignal": true; }; "calendarButtonClassList": { "alias": "calendarButtonClassList"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "dateRange": { "alias": "dateRange"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
95
94
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ElementRef
|
|
2
|
-
import { DialogService } from '../../shared/services/dialog.service';
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import { AnimationEvent } from '@angular/animations';
|
|
5
|
-
import { DialogText } from '../../
|
|
4
|
+
import { DialogText } from '../../models/particle-component-text.model';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
/**
|
|
8
7
|
* Component to display a dialog with dynamic content
|
|
@@ -13,6 +12,7 @@ export declare class DialogComponent {
|
|
|
13
12
|
* Element reference to the dialog close button
|
|
14
13
|
*/
|
|
15
14
|
closeButton: ElementRef<HTMLButtonElement>;
|
|
15
|
+
protected isMaximized: boolean;
|
|
16
16
|
/**
|
|
17
17
|
* Observable to update the effective width of the dialog on screen resize
|
|
18
18
|
*/
|
|
@@ -29,59 +29,51 @@ export declare class DialogComponent {
|
|
|
29
29
|
/**
|
|
30
30
|
* Title to show at the top of the dialog
|
|
31
31
|
*/
|
|
32
|
-
title: string
|
|
32
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
33
33
|
/**
|
|
34
34
|
* Class to apply to the title of the dialog
|
|
35
35
|
*/
|
|
36
|
-
titleClass: string
|
|
36
|
+
readonly titleClass: import("@angular/core").InputSignal<string>;
|
|
37
37
|
/**
|
|
38
38
|
* Show or hide the title bar
|
|
39
39
|
*/
|
|
40
|
-
showTitle: boolean
|
|
40
|
+
readonly showTitle: import("@angular/core").InputSignal<boolean>;
|
|
41
41
|
/**
|
|
42
42
|
* Whether to show close button and allow escape to close
|
|
43
43
|
*/
|
|
44
|
-
allowClose: boolean
|
|
44
|
+
readonly allowClose: import("@angular/core").InputSignal<boolean>;
|
|
45
45
|
/**
|
|
46
46
|
* Class to apply to the body of the dialog
|
|
47
47
|
*/
|
|
48
|
-
bodyClass: string
|
|
48
|
+
readonly bodyClass: import("@angular/core").InputSignal<string>;
|
|
49
49
|
/**
|
|
50
50
|
* Height of the dialog (can use any height measurement)
|
|
51
51
|
*/
|
|
52
|
-
height: string
|
|
52
|
+
readonly height: import("@angular/core").InputSignal<string>;
|
|
53
53
|
/**
|
|
54
54
|
* Width of the dialog (can use any width measurement)
|
|
55
55
|
*/
|
|
56
|
-
width: string
|
|
57
|
-
borderRadius: string
|
|
58
|
-
text: DialogText
|
|
56
|
+
readonly width: import("@angular/core").InputSignal<string>;
|
|
57
|
+
readonly borderRadius: import("@angular/core").InputSignal<string>;
|
|
58
|
+
readonly text: import("@angular/core").InputSignal<DialogText>;
|
|
59
59
|
/**
|
|
60
60
|
* Event Emitter for when the dialog is closed
|
|
61
61
|
*/
|
|
62
|
-
closed:
|
|
62
|
+
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
63
63
|
/**
|
|
64
64
|
* Event emitted when dialog has finished opening
|
|
65
65
|
*/
|
|
66
|
-
opened:
|
|
67
|
-
|
|
68
|
-
* Dependency injection site
|
|
69
|
-
* @param dialogService the dialog service
|
|
70
|
-
*/
|
|
71
|
-
constructor(dialogService: DialogService);
|
|
66
|
+
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
67
|
+
toggleMaximize(): void;
|
|
72
68
|
/**
|
|
73
69
|
* Null the object to close the dialog, emit the close event.
|
|
74
70
|
*/
|
|
75
71
|
close(): void;
|
|
76
|
-
/**
|
|
77
|
-
* Method for compatibility with legacy dialog API. Method does nothing.
|
|
78
|
-
*/
|
|
79
|
-
open(): void;
|
|
80
72
|
/**
|
|
81
73
|
* Emit closed/opened events based on state when dialog animation ends
|
|
82
74
|
* @param event
|
|
83
75
|
*/
|
|
84
76
|
onAnimationDone(event: AnimationEvent): void;
|
|
85
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
86
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "particle-dialog", never, { "object": { "alias": "object"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleClass": { "alias": "titleClass"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "allowClose": { "alias": "allowClose"; "required": false; }; "bodyClass": { "alias": "bodyClass"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, never, ["*"],
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "particle-dialog", never, { "object": { "alias": "object"; "required": false; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "titleClass": { "alias": "titleClass"; "required": false; "isSignal": true; }; "showTitle": { "alias": "showTitle"; "required": false; "isSignal": true; }; "allowClose": { "alias": "allowClose"; "required": false; "isSignal": true; }; "bodyClass": { "alias": "bodyClass"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "opened": "opened"; }, never, ["*"], true, never>;
|
|
87
79
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
|
-
import {
|
|
2
|
+
import { ElementRef, QueryList, TemplateRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { DropdownText } from '../../models/particle-component-text.model';
|
|
6
|
+
import { DropdownOption } from '../../models/dropdown-option.model';
|
|
7
|
+
import { DropdownOptionGroup } from '../../models/dropdown-option-group.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Type representing the dropdown component option input
|
|
@@ -31,7 +31,7 @@ export declare class DropdownComponent implements ControlValueAccessor {
|
|
|
31
31
|
* @param renderer the Angular renderer
|
|
32
32
|
* @param changeDetectorRef reference to the Angular change detector
|
|
33
33
|
*/
|
|
34
|
-
constructor(
|
|
34
|
+
constructor();
|
|
35
35
|
/**
|
|
36
36
|
* The amount of offset (in pixels) to place between the dropdown
|
|
37
37
|
* and its list overlay
|
|
@@ -66,17 +66,17 @@ export declare class DropdownComponent implements ControlValueAccessor {
|
|
|
66
66
|
/**
|
|
67
67
|
* Whether the dropdown should be disabled
|
|
68
68
|
*/
|
|
69
|
-
disabled: boolean
|
|
70
|
-
text: DropdownText
|
|
69
|
+
readonly disabled: import("@angular/core").ModelSignal<boolean>;
|
|
70
|
+
readonly text: import("@angular/core").InputSignal<DropdownText>;
|
|
71
71
|
/**
|
|
72
72
|
* Class list to assign to the dropdown
|
|
73
73
|
*/
|
|
74
|
-
classList: string
|
|
75
|
-
buttonClassList: string
|
|
74
|
+
readonly classList: import("@angular/core").InputSignal<string>;
|
|
75
|
+
readonly buttonClassList: import("@angular/core").InputSignal<string>;
|
|
76
76
|
/**
|
|
77
77
|
* Event emitted on value change, emits the new value
|
|
78
78
|
*/
|
|
79
|
-
|
|
79
|
+
readonly changed: import("@angular/core").OutputEmitterRef<string | number>;
|
|
80
80
|
/**
|
|
81
81
|
* BehaviorSubject tracking the input dropdown options/option groups
|
|
82
82
|
*/
|
|
@@ -107,9 +107,7 @@ export declare class DropdownComponent implements ControlValueAccessor {
|
|
|
107
107
|
/**
|
|
108
108
|
* The data context of the selected option as an Observable
|
|
109
109
|
*/
|
|
110
|
-
readonly selectedDataContext$: Observable<
|
|
111
|
-
[key: string]: unknown;
|
|
112
|
-
}>;
|
|
110
|
+
readonly selectedDataContext$: Observable<Record<string, unknown>>;
|
|
113
111
|
private static getAllOptions;
|
|
114
112
|
/**
|
|
115
113
|
* Unique ID to assign to the dropdown
|
|
@@ -283,6 +281,6 @@ export declare class DropdownComponent implements ControlValueAccessor {
|
|
|
283
281
|
*/
|
|
284
282
|
private getPreviousOption;
|
|
285
283
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
286
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "particle-dropdown", never, { "value": { "alias": "value"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; }; "classList": { "alias": "classList"; "required": false; }; "buttonClassList": { "alias": "buttonClassList"; "required": false; }; }, { "
|
|
284
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "particle-dropdown", never, { "value": { "alias": "value"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "classList": { "alias": "classList"; "required": false; "isSignal": true; }; "buttonClassList": { "alias": "buttonClassList"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "changed": "changed"; }, ["template"], ["template"], true, never>;
|
|
287
285
|
}
|
|
288
286
|
export {};
|
package/app/{modules/icons/components → shared/components/icon-select}/icon-select.component.d.ts
RENAMED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import { IconSelectText } from '../../../shared/models/particle-component-text.model';
|
|
4
|
+
import { IconSelectText } from '../../models/particle-component-text.model';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
/**
|
|
8
7
|
* Particle Icon Select component provides a button and an icon picker that includes all of the Particle Icons as well as the FAS icons.
|
|
@@ -20,32 +19,34 @@ export declare class IconSelectComponent implements ControlValueAccessor, OnDest
|
|
|
20
19
|
* @param value the value to set
|
|
21
20
|
*/
|
|
22
21
|
set value(value: string);
|
|
22
|
+
get value(): string;
|
|
23
23
|
/**
|
|
24
24
|
* Set disabled
|
|
25
25
|
* @param disabled whether or not the icon picker should be disabled
|
|
26
26
|
*/
|
|
27
27
|
set disabled(disabled: boolean);
|
|
28
|
+
get disabled(): boolean;
|
|
28
29
|
/**
|
|
29
30
|
* Color class of the button
|
|
30
31
|
*/
|
|
31
|
-
buttonColorClass: string
|
|
32
|
+
readonly buttonColorClass: import("@angular/core").InputSignal<string>;
|
|
32
33
|
/**
|
|
33
34
|
* The value to set to the button's width, min-width, height and min-height
|
|
34
35
|
*/
|
|
35
|
-
buttonSizing: string
|
|
36
|
-
text: IconSelectText
|
|
36
|
+
readonly buttonSizing: import("@angular/core").InputSignal<string>;
|
|
37
|
+
readonly text: import("@angular/core").InputSignal<IconSelectText>;
|
|
37
38
|
/**
|
|
38
39
|
* Icon select opened event emitter
|
|
39
40
|
*/
|
|
40
|
-
opened:
|
|
41
|
+
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
41
42
|
/**
|
|
42
43
|
* Icon selected event emitter
|
|
43
44
|
*/
|
|
44
|
-
selected:
|
|
45
|
+
readonly selected: import("@angular/core").OutputEmitterRef<any>;
|
|
45
46
|
/**
|
|
46
47
|
* Dialog closed event emitter
|
|
47
48
|
*/
|
|
48
|
-
closed:
|
|
49
|
+
readonly closed: import("@angular/core").OutputEmitterRef<any>;
|
|
49
50
|
/**
|
|
50
51
|
* The scrollable icon container
|
|
51
52
|
*/
|
|
@@ -61,8 +62,8 @@ export declare class IconSelectComponent implements ControlValueAccessor, OnDest
|
|
|
61
62
|
* BehaviorSubject tracking the current filter value selection for icons
|
|
62
63
|
*/
|
|
63
64
|
readonly _filter: BehaviorSubject<{
|
|
64
|
-
style:
|
|
65
|
-
type:
|
|
65
|
+
style: "all" | "solid" | "regular" | "brands";
|
|
66
|
+
type: "all" | "particle" | "fontawesome";
|
|
66
67
|
}>;
|
|
67
68
|
/**
|
|
68
69
|
* BehaviorSubject tracking the current icon search text value
|
|
@@ -144,11 +145,7 @@ export declare class IconSelectComponent implements ControlValueAccessor, OnDest
|
|
|
144
145
|
* @param service the IconsService
|
|
145
146
|
* @param changeDetectorRef the Angular ChangeDetectorRef
|
|
146
147
|
*/
|
|
147
|
-
constructor(
|
|
148
|
-
/**
|
|
149
|
-
* Get disabled
|
|
150
|
-
*/
|
|
151
|
-
get disabled(): boolean;
|
|
148
|
+
constructor();
|
|
152
149
|
/**
|
|
153
150
|
* Destroy component, unsubscribe from search input enter keyup subscription
|
|
154
151
|
*/
|
|
@@ -225,5 +222,5 @@ export declare class IconSelectComponent implements ControlValueAccessor, OnDest
|
|
|
225
222
|
*/
|
|
226
223
|
private reset;
|
|
227
224
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconSelectComponent, never>;
|
|
228
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconSelectComponent, "particle-icon-select", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonColorClass": { "alias": "buttonColorClass"; "required": false; }; "buttonSizing": { "alias": "buttonSizing"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "opened": "opened"; "selected": "selected"; "closed": "closed"; }, never, never,
|
|
225
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconSelectComponent, "particle-icon-select", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonColorClass": { "alias": "buttonColorClass"; "required": false; "isSignal": true; }; "buttonSizing": { "alias": "buttonSizing"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "selected": "selected"; "closed": "closed"; }, never, never, true, never>;
|
|
229
226
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { DialogComponent } from '../dialog/dialog.component';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { IdleTimeoutText } from '../../models/particle-component-text.model';
|
|
4
|
+
import { IdleTimer } from '../../services/idle-timer';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class IdleTimeoutComponent implements OnInit {
|
|
7
7
|
borderRadius: string;
|
|
@@ -24,12 +24,11 @@ export declare class IdleTimeoutComponent implements OnInit {
|
|
|
24
24
|
private readonly COUNTDOWN_LENGTH;
|
|
25
25
|
private finalCountdown;
|
|
26
26
|
private timerReset;
|
|
27
|
-
constructor();
|
|
28
27
|
ngOnInit(): void;
|
|
29
28
|
openDialog(): void;
|
|
30
29
|
private setupFinalCountdown;
|
|
31
30
|
private handleTimerEnd;
|
|
32
31
|
resetTimer(): void;
|
|
33
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdleTimeoutComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IdleTimeoutComponent, "particle-idle-timeout", never, { "borderRadius": { "alias": "borderRadius"; "required": false; }; "timeoutInSeconds": { "alias": "timeoutInSeconds"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "timerEnd": "timerEnd"; }, never, never,
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdleTimeoutComponent, "particle-idle-timeout", never, { "borderRadius": { "alias": "borderRadius"; "required": false; }; "timeoutInSeconds": { "alias": "timeoutInSeconds"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "timerEnd": "timerEnd"; }, never, never, true, never>;
|
|
35
34
|
}
|