@daffodil/design 0.94.1-rc.0 → 0.95.0
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/README.md +1 -2
- package/accordion/src/accordion-theme.scss +4 -4
- package/article/README.md +4 -27
- package/article/src/article-theme.scss +14 -14
- package/badge/src/badge-theme.scss +0 -6
- package/button/README.md +0 -4
- package/button/src/button/basic/button-theme.scss +17 -42
- package/button/src/button/button-base.scss +12 -3
- package/button/src/button/flat/flat-theme.scss +14 -12
- package/button/src/button/icon/icon-theme.scss +19 -40
- package/button/src/button/stroked/stroked-theme.scss +22 -36
- package/card/src/card/stroked/stroked-theme.scss +1 -1
- package/card/src/card-base.scss +0 -1
- package/fesm2022/daffodil-design-accordion.mjs +285 -188
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +578 -340
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-badge.mjs +166 -84
- package/fesm2022/daffodil-design-badge.mjs.map +1 -1
- package/fesm2022/daffodil-design-beacon.mjs +109 -47
- package/fesm2022/daffodil-design-beacon.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb.mjs +384 -277
- package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +541 -408
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +349 -224
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +496 -327
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox.mjs +373 -313
- package/fesm2022/daffodil-design-checkbox.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +103 -60
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-form-field.mjs +441 -352
- package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
- package/fesm2022/daffodil-design-form.mjs +155 -57
- package/fesm2022/daffodil-design-form.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +349 -234
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image-lite.mjs +60 -0
- package/fesm2022/daffodil-design-image-lite.mjs.map +1 -0
- package/fesm2022/daffodil-design-image.mjs +245 -107
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-input.mjs +217 -164
- package/fesm2022/daffodil-design-input.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +308 -170
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +351 -278
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +525 -417
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +680 -450
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-native-select.mjs +175 -166
- package/fesm2022/daffodil-design-native-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +145 -68
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +376 -226
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +296 -192
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +243 -157
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-radio.mjs +382 -300
- package/fesm2022/daffodil-design-radio.mjs.map +1 -1
- package/fesm2022/daffodil-design-select.mjs +424 -364
- package/fesm2022/daffodil-design-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +874 -887
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-spinner.mjs +156 -99
- package/fesm2022/daffodil-design-spinner.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch.mjs +176 -106
- package/fesm2022/daffodil-design-switch.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs.mjs +685 -427
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
- package/fesm2022/daffodil-design-tag.mjs +251 -133
- package/fesm2022/daffodil-design-tag.mjs.map +1 -1
- package/fesm2022/daffodil-design-testing.mjs +4 -16
- package/fesm2022/daffodil-design-testing.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet.mjs +140 -54
- package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
- package/fesm2022/daffodil-design-textarea.mjs +170 -150
- package/fesm2022/daffodil-design-textarea.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +658 -481
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +456 -469
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design-youtube-player.mjs +168 -115
- package/fesm2022/daffodil-design-youtube-player.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +1628 -1650
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/form-field/README.md +0 -4
- package/form-field/src/form-field-theme.scss +12 -4
- package/image/README.md +4 -0
- package/image-lite/README.md +58 -0
- package/image-lite/src/image-theme.scss +18 -0
- package/list/src/list-base.scss +3 -4
- package/list/src/list-theme.scss +6 -5
- package/media-gallery/README.md +1 -1
- package/media-gallery/src/media-gallery-theme.scss +3 -3
- package/menu/src/menu-theme.scss +6 -2
- package/notification/src/notification-theme.scss +10 -10
- package/package.json +1 -1
- package/scss/global.scss +17 -11
- package/scss/theme.scss +2 -18
- package/scss/theming/_get-palette.scss +0 -3
- package/scss/theming/_index.scss +0 -1
- package/scss/theming/_light-dark.scss +2 -2
- package/scss/theming/_theme-css-variables.scss +1 -1
- package/scss/theming/create-theme/_create-theme.scss +2 -2
- package/scss/theming/get-font-colors/_get-font-colors.scss +7 -25
- package/scss/theming/get-font-colors/_get-font-colors.spec.scss +0 -12
- package/scss/typography/_classes.scss +0 -6
- package/scss/typography/_index.scss +0 -1
- package/scss/typography/mixins/_sizes.scss +0 -1
- package/scss/typography/utilities/_variables.scss +3 -0
- package/select/src/select-theme.scss +10 -14
- package/switch/src/switch-theme.scss +2 -2
- package/tabs/src/tabs-theme.scss +4 -4
- package/types/daffodil-design-accordion.d.ts +92 -67
- package/types/daffodil-design-article.d.ts +49 -56
- package/types/daffodil-design-badge.d.ts +56 -33
- package/types/daffodil-design-beacon.d.ts +35 -14
- package/types/daffodil-design-breadcrumb.d.ts +89 -85
- package/types/daffodil-design-button.d.ts +128 -146
- package/types/daffodil-design-callout.d.ts +55 -39
- package/types/daffodil-design-card.d.ts +66 -56
- package/types/daffodil-design-checkbox.d.ts +211 -167
- package/types/daffodil-design-container.d.ts +17 -16
- package/types/daffodil-design-form-field.d.ts +273 -240
- package/types/daffodil-design-form.d.ts +21 -21
- package/types/daffodil-design-hero.d.ts +55 -39
- package/types/daffodil-design-image-lite.d.ts +17 -0
- package/types/daffodil-design-image.d.ts +89 -55
- package/types/daffodil-design-input.d.ts +86 -72
- package/types/daffodil-design-list.d.ts +49 -43
- package/types/daffodil-design-media-gallery.d.ts +176 -148
- package/types/daffodil-design-menu.d.ts +177 -169
- package/types/daffodil-design-modal.d.ts +205 -205
- package/types/daffodil-design-native-select.d.ts +94 -84
- package/types/daffodil-design-navbar.d.ts +34 -24
- package/types/daffodil-design-notification.d.ts +82 -67
- package/types/daffodil-design-paginator.d.ts +140 -118
- package/types/daffodil-design-progress-bar.d.ts +92 -74
- package/types/daffodil-design-radio.d.ts +183 -144
- package/types/daffodil-design-select.d.ts +207 -178
- package/types/daffodil-design-sidebar.d.ts +270 -253
- package/types/daffodil-design-spinner.d.ts +49 -36
- package/types/daffodil-design-switch.d.ts +77 -46
- package/types/daffodil-design-tabs.d.ts +248 -198
- package/types/daffodil-design-tag.d.ts +91 -56
- package/types/daffodil-design-testing.d.ts +1 -3
- package/types/daffodil-design-text-snippet.d.ts +48 -37
- package/types/daffodil-design-textarea.d.ts +88 -79
- package/types/daffodil-design-toast.d.ts +175 -183
- package/types/daffodil-design-tree.d.ts +186 -169
- package/types/daffodil-design-youtube-player.d.ts +56 -52
- package/types/daffodil-design.d.ts +614 -695
- package/button/src/button/raised/raised-theme.scss +0 -92
- package/button/src/button/underline/underline-theme.scss +0 -141
- package/fesm2022/daffodil-design-link-set.mjs +0 -160
- package/fesm2022/daffodil-design-link-set.mjs.map +0 -1
- package/fesm2022/daffodil-design-quantity-field.mjs +0 -364
- package/fesm2022/daffodil-design-quantity-field.mjs.map +0 -1
- package/link-set/README.md +0 -86
- package/quantity-field/README.md +0 -63
- package/scss/theming/_configure-theme.scss +0 -120
- package/scss/typography/mixins/_font-weight.scss +0 -14
- package/types/daffodil-design-link-set.d.ts +0 -72
- package/types/daffodil-design-quantity-field.d.ts +0 -171
|
@@ -1,35 +1,45 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import * as i1
|
|
3
|
-
import * as i1 from
|
|
4
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i1$1 from "@daffodil/design";
|
|
5
4
|
/**
|
|
6
5
|
* Navbar is a flexible and extensible component that provides a container for navigation elements.
|
|
7
6
|
*/
|
|
8
|
-
declare class DaffNavbarComponent {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
export declare class DaffNavbarComponent {
|
|
8
|
+
/**
|
|
9
|
+
* Whether the navbar should have an elevated appearance with a shadow effect.
|
|
10
|
+
*/
|
|
11
|
+
elevated: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the navbar should have a blurred background effect.
|
|
14
|
+
*/
|
|
15
|
+
blurred: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavbarComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffNavbarComponent, "nav[daff-navbar]", never, {
|
|
18
|
+
"elevated": {
|
|
19
|
+
"alias": "elevated";
|
|
20
|
+
"required": false;
|
|
21
|
+
"isSignal": true;
|
|
22
|
+
};
|
|
23
|
+
"blurred": {
|
|
24
|
+
"alias": "blurred";
|
|
25
|
+
"required": false;
|
|
26
|
+
"isSignal": true;
|
|
27
|
+
};
|
|
28
|
+
}, {}, never, ["*"], true, [{
|
|
29
|
+
directive: typeof i1$1.DaffManageContainerLayoutDirective;
|
|
30
|
+
inputs: {};
|
|
31
|
+
outputs: {};
|
|
32
|
+
}]>;
|
|
19
33
|
}
|
|
20
|
-
|
|
21
34
|
/**
|
|
22
35
|
* @deprecated in favor of {@link DAFF_NAVBAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
23
36
|
*/
|
|
24
|
-
declare class DaffNavbarModule {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
37
|
+
export declare class DaffNavbarModule {
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavbarModule, never>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffNavbarModule, never, [typeof i1.CommonModule, typeof DaffNavbarComponent], [typeof DaffNavbarComponent]>;
|
|
40
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffNavbarModule>;
|
|
28
41
|
}
|
|
29
|
-
|
|
30
42
|
/**
|
|
31
43
|
* @docs-private
|
|
32
44
|
*/
|
|
33
|
-
declare const DAFF_NAVBAR_COMPONENTS: readonly [typeof DaffNavbarComponent];
|
|
34
|
-
|
|
35
|
-
export { DAFF_NAVBAR_COMPONENTS, DaffNavbarComponent, DaffNavbarModule };
|
|
45
|
+
export declare const DAFF_NAVBAR_COMPONENTS: readonly [typeof DaffNavbarComponent];
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import * as i1
|
|
3
|
-
import * as i1 from
|
|
4
|
-
import { DaffPrefixDirective, DaffStatusableDirective
|
|
5
|
-
import * as i3 from
|
|
6
|
-
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
7
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i1$1 from "@daffodil/design";
|
|
4
|
+
import { DaffOrientableDirective, DaffPrefixDirective, DaffStatusableDirective } from "@daffodil/design";
|
|
5
|
+
import * as i3 from "@fortawesome/angular-fontawesome";
|
|
8
6
|
/**
|
|
9
7
|
* Actions is used to include actionable buttons related to the notification (e.g., dismiss, navigate).
|
|
10
8
|
*
|
|
@@ -16,11 +14,10 @@ import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome
|
|
|
16
14
|
* </div>
|
|
17
15
|
* ```
|
|
18
16
|
*/
|
|
19
|
-
declare class DaffNotificationActionsDirective {
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
export declare class DaffNotificationActionsDirective {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationActionsDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationActionsDirective, "[daffNotificationActions]", never, {}, {}, never, never, true, never>;
|
|
22
20
|
}
|
|
23
|
-
|
|
24
21
|
/**
|
|
25
22
|
* Notifications provide contextual feedback or information related to user actions within a page's content.
|
|
26
23
|
*
|
|
@@ -39,47 +36,70 @@ declare class DaffNotificationActionsDirective {
|
|
|
39
36
|
* </daff-notification>
|
|
40
37
|
* ```
|
|
41
38
|
*/
|
|
42
|
-
declare class DaffNotificationComponent {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
39
|
+
export declare class DaffNotificationComponent {
|
|
40
|
+
private statusDirective;
|
|
41
|
+
private orientation;
|
|
42
|
+
/**
|
|
43
|
+
* @docs-private
|
|
44
|
+
*/
|
|
45
|
+
faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
46
|
+
/**
|
|
47
|
+
* @docs-private
|
|
48
|
+
*/
|
|
49
|
+
_prefix: import("@angular/core").Signal<DaffPrefixDirective>;
|
|
50
|
+
/**
|
|
51
|
+
* @docs-private
|
|
52
|
+
*/
|
|
53
|
+
_actions: import("@angular/core").Signal<DaffNotificationActionsDirective>;
|
|
54
|
+
/**
|
|
55
|
+
* @docs-private
|
|
56
|
+
*
|
|
57
|
+
* Sets role to alert when `status="warn"` or `status="critical"`.
|
|
58
|
+
* Sets role to status on all other instances.
|
|
59
|
+
*/
|
|
60
|
+
get role(): "status" | "alert";
|
|
61
|
+
/** Whether the notification can be dismissed by the user.
|
|
62
|
+
* Displays a close icon if `true`.
|
|
63
|
+
*/
|
|
64
|
+
dismissible: import("@angular/core").InputSignal<boolean>;
|
|
65
|
+
constructor(statusDirective: DaffStatusableDirective, orientation: DaffOrientableDirective);
|
|
66
|
+
/**
|
|
67
|
+
* Emits when the notification is closed.
|
|
68
|
+
*/
|
|
69
|
+
closeNotification: import("@angular/core").OutputEmitterRef<void>;
|
|
70
|
+
/**
|
|
71
|
+
* @docs-private
|
|
72
|
+
*
|
|
73
|
+
* Internal handler for the close icon click.
|
|
74
|
+
*/
|
|
75
|
+
onCloseNotification(event: Event): void;
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationComponent, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffNotificationComponent, "daff-notification", never, {
|
|
78
|
+
"dismissible": {
|
|
79
|
+
"alias": "dismissible";
|
|
80
|
+
"required": false;
|
|
81
|
+
"isSignal": true;
|
|
82
|
+
};
|
|
83
|
+
}, {
|
|
84
|
+
"closeNotification": "closeNotification";
|
|
85
|
+
}, ["_prefix", "_actions"], ["[daffPrefix]", "[daffNotificationTitle]", "[daffNotificationMessage]", "[daffNotificationActions]"], true, [{
|
|
86
|
+
directive: typeof i1$1.DaffArticleEncapsulatedDirective;
|
|
87
|
+
inputs: {};
|
|
88
|
+
outputs: {};
|
|
89
|
+
}, {
|
|
90
|
+
directive: typeof i1$1.DaffStatusableDirective;
|
|
91
|
+
inputs: {
|
|
92
|
+
"status": "status";
|
|
93
|
+
};
|
|
94
|
+
outputs: {};
|
|
95
|
+
}, {
|
|
96
|
+
directive: typeof i1$1.DaffOrientableDirective;
|
|
97
|
+
inputs: {
|
|
98
|
+
"orientation": "orientation";
|
|
99
|
+
};
|
|
100
|
+
outputs: {};
|
|
101
|
+
}]>;
|
|
81
102
|
}
|
|
82
|
-
|
|
83
103
|
/**
|
|
84
104
|
* Message provides additional details or supporting context that supplements
|
|
85
105
|
* the notification title. Keep this brief—ideally one to two short sentences.
|
|
@@ -89,11 +109,10 @@ declare class DaffNotificationComponent {
|
|
|
89
109
|
* <div daffNotificationMessage>We were unable to process your payment for order #12345. Please update your payment details and try again.</div>
|
|
90
110
|
* ```
|
|
91
111
|
*/
|
|
92
|
-
declare class DaffNotificationMessageDirective {
|
|
93
|
-
|
|
94
|
-
|
|
112
|
+
export declare class DaffNotificationMessageDirective {
|
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationMessageDirective, never>;
|
|
114
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationMessageDirective, "[daffNotificationMessage]", never, {}, {}, never, never, true, never>;
|
|
95
115
|
}
|
|
96
|
-
|
|
97
116
|
/**
|
|
98
117
|
* Title is the primary text summarizing the notification.
|
|
99
118
|
*
|
|
@@ -102,23 +121,19 @@ declare class DaffNotificationMessageDirective {
|
|
|
102
121
|
* <div daffNotificationTitle>Payment Failed</div>
|
|
103
122
|
* ```
|
|
104
123
|
*/
|
|
105
|
-
declare class DaffNotificationTitleDirective {
|
|
106
|
-
|
|
107
|
-
|
|
124
|
+
export declare class DaffNotificationTitleDirective {
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationTitleDirective, never>;
|
|
126
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationTitleDirective, "[daffNotificationTitle]", never, {}, {}, never, never, true, never>;
|
|
108
127
|
}
|
|
109
|
-
|
|
110
128
|
/**
|
|
111
129
|
* @deprecated in favor of {@link DAFF_NOTIFICATION_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
112
130
|
*/
|
|
113
|
-
declare class DaffNotificationModule {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
131
|
+
export declare class DaffNotificationModule {
|
|
132
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationModule, never>;
|
|
133
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffNotificationModule, never, [typeof i1.CommonModule, typeof i1$1.DaffPrefixSuffixModule, typeof i3.FontAwesomeModule, typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective], [typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective, typeof i1$1.DaffPrefixSuffixModule]>;
|
|
134
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffNotificationModule>;
|
|
117
135
|
}
|
|
118
|
-
|
|
119
136
|
/**
|
|
120
137
|
* @docs-private
|
|
121
138
|
*/
|
|
122
|
-
declare const DAFF_NOTIFICATION_COMPONENTS: readonly [typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective, typeof DaffPrefixDirective];
|
|
123
|
-
|
|
124
|
-
export { DAFF_NOTIFICATION_COMPONENTS, DaffNotificationActionsDirective, DaffNotificationComponent, DaffNotificationMessageDirective, DaffNotificationModule, DaffNotificationTitleDirective };
|
|
139
|
+
export declare const DAFF_NOTIFICATION_COMPONENTS: readonly [typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective, typeof DaffPrefixDirective];
|
|
@@ -1,126 +1,148 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as i1 from
|
|
3
|
-
import * as i2 from
|
|
4
|
-
import { Params } from
|
|
5
|
-
import * as i3 from
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/router";
|
|
4
|
+
import { Params } from "@angular/router";
|
|
5
|
+
import * as i3 from "@fortawesome/angular-fontawesome";
|
|
6
|
+
export declare class DaffPaginatorComponent {
|
|
7
|
+
/**
|
|
8
|
+
* @docs-private
|
|
9
|
+
*/
|
|
10
|
+
faChevronRight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
|
+
/**
|
|
12
|
+
* @docs-private
|
|
13
|
+
*/
|
|
14
|
+
faChevronLeft: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
15
|
+
/**
|
|
16
|
+
* The total number of pages the paginator tracks. This number can change dynamically, but the end user is responsible for keeping `numberOfPages`
|
|
17
|
+
* and `currentPage` in sync.
|
|
18
|
+
*
|
|
19
|
+
* For example, if the `numberOfPages` is dynamically changed to a value less than the `currentPage`, the paginator will break.
|
|
20
|
+
*/
|
|
21
|
+
numberOfPages: import("@angular/core").InputSignal<number>;
|
|
22
|
+
/**
|
|
23
|
+
* The currently selected page.
|
|
24
|
+
*/
|
|
25
|
+
currentPage: import("@angular/core").InputSignal<number>;
|
|
26
|
+
/**
|
|
27
|
+
* Replace the paginator buttons with links. `url` is required if using this mode.
|
|
28
|
+
*/
|
|
29
|
+
linkMode: import("@angular/core").InputSignal<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
* The url to which to navigate if the paginator is in link mode.
|
|
32
|
+
* This paginator component will set the page query param.
|
|
33
|
+
*/
|
|
34
|
+
url: import("@angular/core").InputSignal<string>;
|
|
35
|
+
/**
|
|
36
|
+
* The query param to which the paginator component will set the current page value in link mode.
|
|
37
|
+
*/
|
|
38
|
+
queryParam: import("@angular/core").InputSignal<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Emits when the current page changes with the new current page.
|
|
41
|
+
*/
|
|
42
|
+
notifyPageChange: import("@angular/core").OutputEmitterRef<any>;
|
|
43
|
+
/**
|
|
44
|
+
* @docs-private
|
|
45
|
+
*/
|
|
46
|
+
_numberOfPagesArray: import("@angular/core").Signal<number[]>;
|
|
47
|
+
/**
|
|
48
|
+
* Determines when ellipsis after the first page number should show.
|
|
49
|
+
*
|
|
50
|
+
* @docs-private
|
|
51
|
+
*/
|
|
52
|
+
_showFirstEllipsis: import("@angular/core").Signal<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* Determines when ellipsis before the final page number should show.
|
|
55
|
+
*
|
|
56
|
+
* @docs-private
|
|
57
|
+
*/
|
|
58
|
+
_showLastEllipsis: import("@angular/core").Signal<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* Determines when the Previous button should be disabled.
|
|
61
|
+
*
|
|
62
|
+
* @docs-private
|
|
63
|
+
*/
|
|
64
|
+
_disablePrev: import("@angular/core").Signal<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* Determines when the Next button should be disabled.
|
|
67
|
+
*
|
|
68
|
+
* @docs-private
|
|
69
|
+
*/
|
|
70
|
+
_disableNext: import("@angular/core").Signal<boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* Emits the previous page number through notifyPageChange Output.
|
|
73
|
+
*
|
|
74
|
+
* @docs-private
|
|
75
|
+
*/
|
|
76
|
+
_onNotifyPrevPageChange(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Emits the next page number through notifyPageChange Output.
|
|
79
|
+
*
|
|
80
|
+
* @docs-private
|
|
81
|
+
*/
|
|
82
|
+
_onNotifyNextPageChange(): void;
|
|
83
|
+
/**
|
|
84
|
+
* Emits a pageNumber to notifyPageChange Output.
|
|
85
|
+
*
|
|
86
|
+
* @docs-private
|
|
87
|
+
*/
|
|
88
|
+
_onNotifyPageChange(pageNumber: number): void;
|
|
89
|
+
/**
|
|
90
|
+
* A simple function that determines if the given page number is the current page number.
|
|
91
|
+
*
|
|
92
|
+
* @docs-private
|
|
93
|
+
*/
|
|
94
|
+
_isSelected(page: number): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Determines if the given page number should be shown. The two additional 'or' conditionals are needed
|
|
97
|
+
* so the paginator retains the same total width at the extreme page numbers (1 and numberOfPages).
|
|
98
|
+
*
|
|
99
|
+
* @docs-private
|
|
100
|
+
*/
|
|
101
|
+
_showNumber(pageNumber: number): boolean;
|
|
102
|
+
/**
|
|
103
|
+
* @docs-private
|
|
104
|
+
*/
|
|
105
|
+
_buildPageQueryParams(page: number): Params;
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffPaginatorComponent, never>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffPaginatorComponent, "daff-paginator", never, {
|
|
108
|
+
"numberOfPages": {
|
|
109
|
+
"alias": "numberOfPages";
|
|
110
|
+
"required": true;
|
|
111
|
+
"isSignal": true;
|
|
112
|
+
};
|
|
113
|
+
"currentPage": {
|
|
114
|
+
"alias": "currentPage";
|
|
115
|
+
"required": true;
|
|
116
|
+
"isSignal": true;
|
|
117
|
+
};
|
|
118
|
+
"linkMode": {
|
|
119
|
+
"alias": "linkMode";
|
|
120
|
+
"required": false;
|
|
121
|
+
"isSignal": true;
|
|
122
|
+
};
|
|
123
|
+
"url": {
|
|
124
|
+
"alias": "url";
|
|
125
|
+
"required": false;
|
|
126
|
+
"isSignal": true;
|
|
127
|
+
};
|
|
128
|
+
"queryParam": {
|
|
129
|
+
"alias": "queryParam";
|
|
130
|
+
"required": false;
|
|
131
|
+
"isSignal": true;
|
|
132
|
+
};
|
|
133
|
+
}, {
|
|
134
|
+
"notifyPageChange": "notifyPageChange";
|
|
135
|
+
}, never, never, true, never>;
|
|
110
136
|
}
|
|
111
|
-
|
|
112
137
|
/**
|
|
113
138
|
* @deprecated in favor of {@link DAFF_PAGINATOR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
114
139
|
*/
|
|
115
|
-
declare class DaffPaginatorModule {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
140
|
+
export declare class DaffPaginatorModule {
|
|
141
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffPaginatorModule, never>;
|
|
142
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffPaginatorModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.FontAwesomeModule, typeof DaffPaginatorComponent], [typeof DaffPaginatorComponent]>;
|
|
143
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffPaginatorModule>;
|
|
119
144
|
}
|
|
120
|
-
|
|
121
145
|
/**
|
|
122
146
|
* @docs-private
|
|
123
147
|
*/
|
|
124
|
-
declare const DAFF_PAGINATOR_COMPONENTS: readonly [typeof DaffPaginatorComponent];
|
|
125
|
-
|
|
126
|
-
export { DAFF_PAGINATOR_COMPONENTS, DaffPaginatorComponent, DaffPaginatorModule };
|
|
148
|
+
export declare const DAFF_PAGINATOR_COMPONENTS: readonly [typeof DaffPaginatorComponent];
|