@flywheel-io/vision 0.11.3 → 0.13.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.
Files changed (142) hide show
  1. package/README.md +28 -2
  2. package/components/button/button.component.d.ts +2 -1
  3. package/components/button/button.directives.d.ts +37 -0
  4. package/components/button/button.module.d.ts +5 -4
  5. package/components/card/card-attribute/card-attribute.component.d.ts +7 -0
  6. package/components/card/card-author/card-author.component.d.ts +7 -0
  7. package/components/card/card-content/card-content.component.d.ts +5 -0
  8. package/components/card/card-footer/card-footer.component.d.ts +9 -0
  9. package/components/card/card-header/card-header.component.d.ts +8 -0
  10. package/components/card/card.component.d.ts +12 -0
  11. package/components/card/card.module.d.ts +15 -0
  12. package/components/chip/chip.component.d.ts +1 -0
  13. package/components/dialog/dialog-confirm.component.d.ts +22 -0
  14. package/components/dialog/dialog-simple.component.d.ts +19 -0
  15. package/components/dialog/dialog.component.d.ts +41 -0
  16. package/components/dialog/dialogs.module.d.ts +15 -0
  17. package/components/icon-button/icon-button.component.d.ts +1 -0
  18. package/components/layouts/context/context.component.d.ts +12 -0
  19. package/components/layouts/layout-group.component.d.ts +7 -0
  20. package/components/layouts/layout-width.d.ts +6 -0
  21. package/components/layouts/layouts.module.d.ts +9 -0
  22. package/components/layouts/toolbar/toolbar.component.d.ts +5 -0
  23. package/components/{dialog → legacy/dialog}/choice-dialog.component.d.ts +4 -1
  24. package/components/{dialog → legacy/dialog}/confirm-dialog.component.d.ts +4 -1
  25. package/components/{dialog → legacy/dialog}/dialog.module.d.ts +4 -1
  26. package/components/{dialog → legacy/dialog}/dialog.service.d.ts +3 -0
  27. package/components/{dialog → legacy/dialog}/error-dialog.component.d.ts +4 -1
  28. package/components/{dialog → legacy/dialog}/portal-dialog.component.d.ts +4 -1
  29. package/components/{notification → legacy/notification}/notification.module.d.ts +2 -2
  30. package/components/menu/menu-container/menu-container.component.d.ts +21 -0
  31. package/components/menu/menu-header/menu-header.component.d.ts +5 -0
  32. package/components/menu/menu-item/menu-item.component.d.ts +22 -0
  33. package/components/menu/menu-separator/menu-separator.component.d.ts +5 -0
  34. package/components/menu/menu.component.d.ts +32 -0
  35. package/components/menu/menu.module.d.ts +20 -0
  36. package/components/select-menu/multi-select-menu/multi-select-menu.component.d.ts +54 -0
  37. package/components/select-menu/select-menu.component.d.ts +38 -0
  38. package/components/select-menu/select-menu.module.d.ts +16 -0
  39. package/components/stepper/step.component.d.ts +20 -0
  40. package/components/stepper/stepper.component.d.ts +23 -0
  41. package/components/stepper/stepper.module.d.ts +11 -0
  42. package/components/text-input/text-input.component.d.ts +2 -1
  43. package/esm2020/components/alert/alert.component.mjs +2 -2
  44. package/esm2020/components/button/button.component.mjs +7 -4
  45. package/esm2020/components/button/button.directives.mjs +129 -0
  46. package/esm2020/components/button/button.module.mjs +24 -3
  47. package/esm2020/components/button-group/button-group.component.mjs +2 -2
  48. package/esm2020/components/card/card-attribute/card-attribute.component.mjs +17 -0
  49. package/esm2020/components/card/card-author/card-author.component.mjs +15 -0
  50. package/esm2020/components/card/card-content/card-content.component.mjs +11 -0
  51. package/esm2020/components/card/card-footer/card-footer.component.mjs +29 -0
  52. package/esm2020/components/card/card-header/card-header.component.mjs +19 -0
  53. package/esm2020/components/card/card.component.mjs +27 -0
  54. package/esm2020/components/card/card.module.mjs +57 -0
  55. package/esm2020/components/chip/chip.component.mjs +9 -3
  56. package/esm2020/components/dialog/dialog-confirm.component.mjs +56 -0
  57. package/esm2020/components/dialog/dialog-simple.component.mjs +46 -0
  58. package/esm2020/components/dialog/dialog.component.mjs +122 -0
  59. package/esm2020/components/dialog/dialogs.module.mjs +66 -0
  60. package/esm2020/components/icon-button/icon-button.component.mjs +6 -3
  61. package/esm2020/components/layouts/context/context.component.mjs +38 -0
  62. package/esm2020/components/layouts/layout-group.component.mjs +27 -0
  63. package/esm2020/components/layouts/layout-width.mjs +8 -0
  64. package/esm2020/components/layouts/layouts.module.mjs +29 -0
  65. package/esm2020/components/layouts/toolbar/toolbar.component.mjs +11 -0
  66. package/esm2020/components/legacy/dialog/choice-dialog.component.mjs +107 -0
  67. package/esm2020/components/legacy/dialog/confirm-dialog.component.mjs +61 -0
  68. package/esm2020/components/legacy/dialog/dialog.module.mjs +82 -0
  69. package/esm2020/components/legacy/dialog/dialog.service.mjs +75 -0
  70. package/esm2020/components/legacy/dialog/error-dialog.component.mjs +52 -0
  71. package/esm2020/components/legacy/dialog/portal-dialog.component.mjs +109 -0
  72. package/esm2020/components/legacy/notification/notification/notification.component.mjs +74 -0
  73. package/esm2020/components/legacy/notification/notification/notification.model.mjs +9 -0
  74. package/esm2020/components/legacy/notification/notification-container/notification-container.component.mjs +98 -0
  75. package/esm2020/components/legacy/notification/notification-timer.service.mjs +29 -0
  76. package/esm2020/components/legacy/notification/notification.module.mjs +51 -0
  77. package/esm2020/components/legacy/notification/notification.service.mjs +36 -0
  78. package/esm2020/components/legacy/popover/popover-trigger.component.mjs +66 -0
  79. package/esm2020/components/legacy/popover/popover-trigger.directive.mjs +139 -0
  80. package/esm2020/components/{popover → legacy/popover}/popover.component.mjs +1 -1
  81. package/esm2020/components/{popover → legacy/popover}/popover.module.mjs +1 -1
  82. package/esm2020/components/menu/menu-container/menu-container.component.mjs +71 -0
  83. package/esm2020/components/menu/menu-header/menu-header.component.mjs +11 -0
  84. package/esm2020/components/menu/menu-item/menu-item.component.mjs +70 -0
  85. package/esm2020/components/menu/menu-separator/menu-separator.component.mjs +11 -0
  86. package/esm2020/components/menu/menu.component.mjs +165 -0
  87. package/esm2020/components/menu/menu.module.mjs +76 -0
  88. package/esm2020/components/select-menu/multi-select-menu/multi-select-menu.component.mjs +281 -0
  89. package/esm2020/components/select-menu/select-menu.component.mjs +127 -0
  90. package/esm2020/components/select-menu/select-menu.module.mjs +57 -0
  91. package/esm2020/components/stepper/step.component.mjs +52 -0
  92. package/esm2020/components/stepper/stepper.component.mjs +95 -0
  93. package/esm2020/components/stepper/stepper.module.mjs +37 -0
  94. package/esm2020/components/text-input/text-input.component.mjs +6 -4
  95. package/esm2020/public-api.mjs +44 -16
  96. package/fesm2015/flywheel-io-vision.mjs +1927 -249
  97. package/fesm2015/flywheel-io-vision.mjs.map +1 -1
  98. package/fesm2020/flywheel-io-vision.mjs +1925 -253
  99. package/fesm2020/flywheel-io-vision.mjs.map +1 -1
  100. package/package.json +1 -9
  101. package/public-api.d.ts +43 -15
  102. package/scss/config/general.scss +4 -0
  103. package/scss/config/typography.scss +1 -1
  104. package/scss/config/vision-colors.scss +5 -5
  105. package/scss/icons/_icon-glyphs.scss +1 -0
  106. package/styles.css +12 -7
  107. package/elements/README.md +0 -20
  108. package/elements/elements.d.ts +0 -3
  109. package/elements/index.d.ts +0 -5
  110. package/elements/polyfills.d.ts +0 -57
  111. package/elements/public-api.d.ts +0 -1
  112. package/esm2020/components/dialog/choice-dialog.component.mjs +0 -90
  113. package/esm2020/components/dialog/confirm-dialog.component.mjs +0 -54
  114. package/esm2020/components/dialog/dialog.module.mjs +0 -79
  115. package/esm2020/components/dialog/dialog.service.mjs +0 -72
  116. package/esm2020/components/dialog/error-dialog.component.mjs +0 -49
  117. package/esm2020/components/dialog/portal-dialog.component.mjs +0 -106
  118. package/esm2020/components/notification/notification/notification.component.mjs +0 -74
  119. package/esm2020/components/notification/notification/notification.model.mjs +0 -9
  120. package/esm2020/components/notification/notification-container/notification-container.component.mjs +0 -98
  121. package/esm2020/components/notification/notification-timer.service.mjs +0 -29
  122. package/esm2020/components/notification/notification.module.mjs +0 -51
  123. package/esm2020/components/notification/notification.service.mjs +0 -36
  124. package/esm2020/components/popover/popover-trigger.component.mjs +0 -66
  125. package/esm2020/components/popover/popover-trigger.directive.mjs +0 -139
  126. package/esm2020/elements/elements.mjs +0 -59
  127. package/esm2020/elements/flywheel-io-vision-elements.mjs +0 -5
  128. package/esm2020/elements/polyfills.mjs +0 -60
  129. package/esm2020/elements/public-api.mjs +0 -2
  130. package/fesm2015/flywheel-io-vision-elements.mjs +0 -83
  131. package/fesm2015/flywheel-io-vision-elements.mjs.map +0 -1
  132. package/fesm2020/flywheel-io-vision-elements.mjs +0 -83
  133. package/fesm2020/flywheel-io-vision-elements.mjs.map +0 -1
  134. /package/components/{notification → legacy/notification}/notification/notification.component.d.ts +0 -0
  135. /package/components/{notification → legacy/notification}/notification/notification.model.d.ts +0 -0
  136. /package/components/{notification → legacy/notification}/notification-container/notification-container.component.d.ts +0 -0
  137. /package/components/{notification → legacy/notification}/notification-timer.service.d.ts +0 -0
  138. /package/components/{notification → legacy/notification}/notification.service.d.ts +0 -0
  139. /package/components/{popover → legacy/popover}/popover-trigger.component.d.ts +0 -0
  140. /package/components/{popover → legacy/popover}/popover-trigger.directive.d.ts +0 -0
  141. /package/components/{popover → legacy/popover}/popover.component.d.ts +0 -0
  142. /package/components/{popover → legacy/popover}/popover.module.d.ts +0 -0
package/README.md CHANGED
@@ -21,15 +21,41 @@ For an Angular application, import and add the modules you would like to use to
21
21
 
22
22
  ```ts
23
23
  import '@flywheel-io/vision/styles.scss'; // global styles and theme
24
- import { FwButtonModule, FwButtonGroupModule } from '@flywheel-io/vision';
24
+ import { CommonModule } from '@angular/common';
25
+ import { BrowserModule } from '@angular/platform-browser';
26
+ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
27
+ import {
28
+ FwAlertModule, FwAvatarModule, FwBreadcrumbsModule,
29
+ FwButtonModule, FwButtonGroupModule, FwCardModule,
30
+ FwChipModule, FwDialogsModule, FwIconModule,
31
+ FwIconButtonModule, FwLayoutsModule, FwMenuModule,
32
+ FwSectionHeadingModule, FwSelectMenuModule,
33
+ FwStepperModule, FwTextInputModule
34
+ } from '@flywheel-io/vision';
25
35
 
26
36
  @NgModule({
27
37
  imports: [
28
38
  BrowserModule,
29
39
  BrowserAnimationsModule,
40
+ CommonModule,
41
+ FwAlertModule,
42
+ FwAvatarModule,
43
+ FwBreadcrumbsModule,
30
44
  FwButtonModule,
31
45
  FwButtonGroupModule,
46
+ FwCardModule,
47
+ FwChipModule,
48
+ FwDialogsModule,
49
+ FwIconModule,
50
+ FwIconButtonModule,
51
+ FwLayoutsModule,
52
+ FwMenuModule,
53
+ FwSectionHeadingModule,
54
+ FwSelectMenuModule,
55
+ FwStepperModule,
56
+ FwTextInputModule
32
57
  ],
33
58
  })
34
- export class AppModule {}
59
+ export class AppModule {
60
+ }
35
61
  ```
@@ -5,8 +5,9 @@ export declare class FwButtonComponent {
5
5
  size?: 'small' | 'medium' | 'large';
6
6
  type?: 'ghost' | 'solid' | 'outline';
7
7
  disabled?: boolean;
8
+ fullWidth?: boolean;
8
9
  leftIcon?: string;
9
10
  rightIcon?: string;
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<FwButtonComponent, "fw-button", never, { "color": "color"; "size": "size"; "type": "type"; "disabled": "disabled"; "leftIcon": "leftIcon"; "rightIcon": "rightIcon"; }, {}, never, ["*"], false>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwButtonComponent, "fw-button", never, { "color": "color"; "size": "size"; "type": "type"; "disabled": "disabled"; "fullWidth": "fullWidth"; "leftIcon": "leftIcon"; "rightIcon": "rightIcon"; }, {}, never, ["*"], false>;
12
13
  }
@@ -0,0 +1,37 @@
1
+ import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FwButtonDirective {
4
+ private sanitizer;
5
+ get style(): SafeStyle;
6
+ constructor(sanitizer: DomSanitizer);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FwButtonDirective, "[fwButton]", never, {}, {}, never, never, false>;
9
+ }
10
+ export declare class FwButtonPrimaryDirective {
11
+ private sanitizer;
12
+ get style(): SafeStyle;
13
+ constructor(sanitizer: DomSanitizer);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonPrimaryDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FwButtonPrimaryDirective, "[fwButtonPrimary]", never, {}, {}, never, never, false>;
16
+ }
17
+ export declare class FwButtonSecondaryDirective {
18
+ private sanitizer;
19
+ get style(): SafeStyle;
20
+ constructor(sanitizer: DomSanitizer);
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonSecondaryDirective, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FwButtonSecondaryDirective, "[fwButtonSecondary]", never, {}, {}, never, never, false>;
23
+ }
24
+ export declare class FwButtonDangerDirective {
25
+ private sanitizer;
26
+ get style(): SafeStyle;
27
+ constructor(sanitizer: DomSanitizer);
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonDangerDirective, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FwButtonDangerDirective, "[fwButtonDanger]", never, {}, {}, never, never, false>;
30
+ }
31
+ export declare class FwButtonSuccessDirective {
32
+ private sanitizer;
33
+ get style(): SafeStyle;
34
+ constructor(sanitizer: DomSanitizer);
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonSuccessDirective, never>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FwButtonSuccessDirective, "[fwButtonSuccess]", never, {}, {}, never, never, false>;
37
+ }
@@ -1,10 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./button.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/button";
5
- import * as i4 from "../icon/icon.module";
3
+ import * as i2 from "./button.directives";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/material/button";
6
+ import * as i5 from "../icon/icon.module";
6
7
  export declare class FwButtonModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<FwButtonModule, [typeof i1.FwButtonComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.FwIconModule], [typeof i1.FwButtonComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FwButtonModule, [typeof i1.FwButtonComponent, typeof i2.FwButtonDirective, typeof i2.FwButtonDangerDirective, typeof i2.FwButtonPrimaryDirective, typeof i2.FwButtonSecondaryDirective, typeof i2.FwButtonSuccessDirective], [typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i5.FwIconModule], [typeof i1.FwButtonComponent, typeof i2.FwButtonDirective, typeof i2.FwButtonDangerDirective, typeof i2.FwButtonPrimaryDirective, typeof i2.FwButtonSecondaryDirective, typeof i2.FwButtonSuccessDirective]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<FwButtonModule>;
10
11
  }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FwCardAttributeComponent {
3
+ icon: string;
4
+ label: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwCardAttributeComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwCardAttributeComponent, "fw-card-attr", never, { "icon": "icon"; "label": "label"; }, {}, never, ["*"], false>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FwCardAuthorComponent {
3
+ name: string;
4
+ details: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwCardAuthorComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwCardAuthorComponent, "fw-card-author", never, { "name": "name"; "details": "details"; }, {}, never, ["fw-avatar"], false>;
7
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FwCardContentComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwCardContentComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwCardContentComponent, "fw-card-content", never, {}, {}, never, ["*"], false>;
5
+ }
@@ -0,0 +1,9 @@
1
+ import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FwCardFooterComponent {
4
+ private sanitizer;
5
+ get style(): SafeStyle;
6
+ constructor(sanitizer: DomSanitizer);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwCardFooterComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwCardFooterComponent, "fw-card-footer", never, {}, {}, never, ["*"], false>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FwCardHeaderComponent {
3
+ title?: string;
4
+ subtitle?: string;
5
+ leftIcon?: string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwCardHeaderComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwCardHeaderComponent, "fw-card-header", never, { "title": "title"; "subtitle": "subtitle"; "leftIcon": "leftIcon"; }, {}, never, ["*"], false>;
8
+ }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FwCardComponent {
4
+ value?: object | string;
5
+ disabled?: boolean;
6
+ focused?: boolean;
7
+ constrained?: boolean;
8
+ selectable?: boolean;
9
+ select?: EventEmitter<object | string>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwCardComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwCardComponent, "fw-card", never, { "value": "value"; "disabled": "disabled"; "focused": "focused"; "constrained": "constrained"; "selectable": "selectable"; }, { "select": "select"; }, never, ["fw-card-header", "fw-card-author", "fw-card-content", "fw-card-footer"], false>;
12
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./card-header/card-header.component";
3
+ import * as i2 from "./card-author/card-author.component";
4
+ import * as i3 from "./card-content/card-content.component";
5
+ import * as i4 from "./card-attribute/card-attribute.component";
6
+ import * as i5 from "./card-footer/card-footer.component";
7
+ import * as i6 from "./card.component";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "../icon/icon.module";
10
+ import * as i9 from "../avatar/avatar.module";
11
+ export declare class FwCardModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwCardModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FwCardModule, [typeof i1.FwCardHeaderComponent, typeof i2.FwCardAuthorComponent, typeof i3.FwCardContentComponent, typeof i4.FwCardAttributeComponent, typeof i5.FwCardFooterComponent, typeof i6.FwCardComponent], [typeof i7.CommonModule, typeof i8.FwIconModule, typeof i9.FwAvatarModule], [typeof i1.FwCardHeaderComponent, typeof i2.FwCardAuthorComponent, typeof i3.FwCardContentComponent, typeof i4.FwCardAttributeComponent, typeof i5.FwCardFooterComponent, typeof i6.FwCardComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<FwCardModule>;
15
+ }
@@ -13,6 +13,7 @@ export declare class FwChipComponent {
13
13
  selectable?: boolean;
14
14
  close?: EventEmitter<null>;
15
15
  select?: EventEmitter<object | string>;
16
+ handleClose(event: MouseEvent): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<FwChipComponent, never>;
17
18
  static ɵcmp: i0.ɵɵComponentDeclaration<FwChipComponent, "fw-chip", never, { "value": "value"; "variant": "variant"; "color": "color"; "icon": "icon"; "label": "label"; "secondaryLabel": "secondaryLabel"; "showClose": "showClose"; "disabled": "disabled"; "selected": "selected"; "selectable": "selectable"; }, { "close": "close"; "select": "select"; }, never, ["fw-avatar"], false>;
18
19
  }
@@ -0,0 +1,22 @@
1
+ import { DialogRef } from '@angular/cdk/dialog';
2
+ import { EventEmitter } from '@angular/core';
3
+ import { DialogWidth } from './dialog.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FwDialogConfirmComponent {
6
+ dialogRef: DialogRef;
7
+ title?: string;
8
+ confirmColor?: 'primary' | 'secondary' | 'danger' | 'slate' | 'warning' | 'success';
9
+ confirmButtonText?: string;
10
+ confirmButtonIcon?: string;
11
+ cancelButtonText?: string;
12
+ contentIcon?: string;
13
+ contentTitle?: string;
14
+ contentText?: string;
15
+ close?: EventEmitter<null>;
16
+ confirm?: EventEmitter<null>;
17
+ protected readonly DialogWidth: typeof DialogWidth;
18
+ constructor(dialogRef: DialogRef);
19
+ handleCloseButton(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogConfirmComponent, [{ optional: true; }]>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwDialogConfirmComponent, "fw-dialog-confirm", never, { "title": "title"; "confirmColor": "confirmColor"; "confirmButtonText": "confirmButtonText"; "confirmButtonIcon": "confirmButtonIcon"; "cancelButtonText": "cancelButtonText"; "contentIcon": "contentIcon"; "contentTitle": "contentTitle"; "contentText": "contentText"; }, { "close": "close"; "confirm": "confirm"; }, never, never, false>;
22
+ }
@@ -0,0 +1,19 @@
1
+ import { DialogRef } from '@angular/cdk/dialog';
2
+ import { EventEmitter } from '@angular/core';
3
+ import { DialogWidth } from './dialog.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FwDialogSimpleComponent {
6
+ dialogRef: DialogRef;
7
+ width?: DialogWidth;
8
+ title?: string;
9
+ showClose?: boolean;
10
+ actionButtonText?: string;
11
+ cancelButtonText?: string;
12
+ contentText?: string;
13
+ close?: EventEmitter<null>;
14
+ action?: EventEmitter<null>;
15
+ constructor(dialogRef: DialogRef);
16
+ handleCloseButton(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogSimpleComponent, [{ optional: true; }]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwDialogSimpleComponent, "fw-dialog-simple", never, { "width": "width"; "title": "title"; "showClose": "showClose"; "actionButtonText": "actionButtonText"; "cancelButtonText": "cancelButtonText"; "contentText": "contentText"; }, { "close": "close"; "action": "action"; }, never, ["fw-dialog-content"], false>;
19
+ }
@@ -0,0 +1,41 @@
1
+ import { DialogRef } from '@angular/cdk/dialog';
2
+ import { EventEmitter } from '@angular/core';
3
+ import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
4
+ import * as i0 from "@angular/core";
5
+ export declare enum DialogWidth {
6
+ ExtraSmall = "extra-small",
7
+ Small = "small",
8
+ Medium = "medium",
9
+ Large = "large",
10
+ ExtraLarge = "extra-large"
11
+ }
12
+ export declare class FwDialogComponent {
13
+ protected dialogRef: DialogRef;
14
+ width?: DialogWidth;
15
+ title?: string;
16
+ showClose?: boolean;
17
+ close?: EventEmitter<null>;
18
+ constructor(dialogRef: DialogRef);
19
+ get classes(): string;
20
+ protected handleCloseButton(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogComponent, [{ optional: true; }]>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwDialogComponent, "fw-dialog", never, { "width": "width"; "title": "title"; "showClose": "showClose"; }, { "close": "close"; }, never, ["fw-dialog-header", "fw-dialog-content", "fw-dialog-actions"], false>;
23
+ }
24
+ export declare class FwDialogHeaderComponent {
25
+ private sanitizer;
26
+ get style(): SafeStyle;
27
+ constructor(sanitizer: DomSanitizer);
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogHeaderComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwDialogHeaderComponent, "fw-dialog-header", never, {}, {}, never, ["*"], false>;
30
+ }
31
+ export declare class FwDialogContentComponent {
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogContentComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwDialogContentComponent, "fw-dialog-content", never, {}, {}, never, ["*"], false>;
34
+ }
35
+ export declare class FwDialogActionsComponent {
36
+ private sanitizer;
37
+ get style(): SafeStyle;
38
+ constructor(sanitizer: DomSanitizer);
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogActionsComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwDialogActionsComponent, "fw-dialog-actions", never, {}, {}, never, ["*"], false>;
41
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dialog.component";
3
+ import * as i2 from "./dialog-confirm.component";
4
+ import * as i3 from "./dialog-simple.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/cdk/dialog";
7
+ import * as i6 from "../shared/pipes/pipes.module";
8
+ import * as i7 from "../icon-button/icon-button.module";
9
+ import * as i8 from "../button/button.module";
10
+ import * as i9 from "../icon/icon.module";
11
+ export declare class FwDialogsModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogsModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FwDialogsModule, [typeof i1.FwDialogComponent, typeof i1.FwDialogHeaderComponent, typeof i1.FwDialogContentComponent, typeof i1.FwDialogActionsComponent, typeof i2.FwDialogConfirmComponent, typeof i3.FwDialogSimpleComponent], [typeof i4.CommonModule, typeof i5.DialogModule, typeof i6.PipesModule, typeof i7.FwIconButtonModule, typeof i8.FwButtonModule, typeof i9.FwIconModule], [typeof i1.FwDialogComponent, typeof i1.FwDialogHeaderComponent, typeof i1.FwDialogContentComponent, typeof i1.FwDialogActionsComponent, typeof i2.FwDialogConfirmComponent, typeof i3.FwDialogSimpleComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<FwDialogsModule>;
15
+ }
@@ -1,6 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class FwIconButtonComponent {
3
3
  get classes(): string;
4
+ tabindex: string;
4
5
  color?: 'primary' | 'secondary' | 'red' | 'error' | 'warning' | 'orange' | 'success' | 'green' | 'light-slate' | 'slate' | 'overlay' | 'info';
5
6
  icon: string;
6
7
  size?: 'large' | 'medium' | 'small';
@@ -0,0 +1,12 @@
1
+ import { LayoutWidth } from '../layout-width';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FwLayoutContextComponent {
4
+ width?: LayoutWidth;
5
+ icon?: string;
6
+ iconColor?: 'primary' | 'secondary' | 'danger' | 'slate' | 'warning' | 'success';
7
+ title?: string;
8
+ description?: string;
9
+ get classes(): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwLayoutContextComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwLayoutContextComponent, "fw-layout-context", never, { "width": "width"; "icon": "icon"; "iconColor": "iconColor"; "title": "title"; "description": "description"; }, {}, never, ["fw-button"], false>;
12
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FwLayoutGroupComponent {
3
+ stackable: boolean;
4
+ get classes(): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwLayoutGroupComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwLayoutGroupComponent, "fw-layout-group", never, { "stackable": "stackable"; }, {}, never, ["*"], false>;
7
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum LayoutWidth {
2
+ Small = "small",
3
+ Medium = "medium",
4
+ Large = "large",
5
+ ExtraLarge = "extra-large"
6
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./toolbar/toolbar.component";
3
+ import * as i2 from "./layout-group.component";
4
+ import * as i3 from "@angular/common";
5
+ export declare class FwLayoutsModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwLayoutsModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FwLayoutsModule, [typeof i1.FwLayoutToolbarComponent, typeof i2.FwLayoutGroupComponent], [typeof i3.CommonModule], [typeof i1.FwLayoutToolbarComponent, typeof i2.FwLayoutGroupComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<FwLayoutsModule>;
9
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FwLayoutToolbarComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwLayoutToolbarComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwLayoutToolbarComponent, "fw-layout-toolbar", never, {}, {}, never, ["*"], false>;
5
+ }
@@ -14,6 +14,9 @@ export interface FwChoiceDialogData {
14
14
  content: string;
15
15
  title?: string;
16
16
  }
17
+ /**
18
+ * @deprecated Legacy Vision: Please upgrade to the newer FwDialogComponent
19
+ */
17
20
  export declare class FwChoiceDialogComponent {
18
21
  private data;
19
22
  class: string;
@@ -27,6 +30,6 @@ export declare class FwChoiceDialogComponent {
27
30
  get showCloseButton(): boolean;
28
31
  getTestId(choice: Choice): string;
29
32
  static ɵfac: i0.ɵɵFactoryDeclaration<FwChoiceDialogComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<FwChoiceDialogComponent, "fw-choice-dialog", never, {}, {}, never, never, false>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwChoiceDialogComponent, "fw-dialog-choice-dialog", never, {}, {}, never, never, false>;
31
34
  }
32
35
  export {};
@@ -4,6 +4,9 @@ export interface FwConfirmDialogData {
4
4
  content?: string;
5
5
  html?: string;
6
6
  }
7
+ /**
8
+ * @deprecated Legacy Vision: Please upgrade to the newer FwDialogConfirmComponent
9
+ */
7
10
  export declare class FwConfirmDialogComponent {
8
11
  private data;
9
12
  class: string;
@@ -13,5 +16,5 @@ export declare class FwConfirmDialogComponent {
13
16
  html: string;
14
17
  constructor(data: FwConfirmDialogData);
15
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FwConfirmDialogComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<FwConfirmDialogComponent, "fw-confirm-dialog", never, {}, {}, never, never, false>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwConfirmDialogComponent, "fw-dialog-confirm-dialog", never, {}, {}, never, never, false>;
17
20
  }
@@ -7,8 +7,11 @@ import * as i5 from "@angular/common";
7
7
  import * as i6 from "@angular/material/button";
8
8
  import * as i7 from "@angular/material/dialog";
9
9
  import * as i8 from "@angular/material/icon";
10
- import * as i9 from "../shared/pipes/pipes.module";
10
+ import * as i9 from "../../shared/pipes/pipes.module";
11
11
  import * as i10 from "@angular/cdk/portal";
12
+ /**
13
+ * @deprecated Legacy Vision: Please upgrade to the newer FwDialogsModule
14
+ */
12
15
  export declare class FwDialogModule {
13
16
  static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogModule, never>;
14
17
  static ɵmod: i0.ɵɵNgModuleDeclaration<FwDialogModule, [typeof i1.FwChoiceDialogComponent, typeof i2.FwConfirmDialogComponent, typeof i3.FwErrorDialogComponent, typeof i4.FwPortalDialogComponent], [typeof i5.CommonModule, typeof i6.MatButtonModule, typeof i7.MatDialogModule, typeof i8.MatIconModule, typeof i9.PipesModule, typeof i10.PortalModule], [typeof i1.FwChoiceDialogComponent, typeof i2.FwConfirmDialogComponent, typeof i3.FwErrorDialogComponent, typeof i4.FwPortalDialogComponent]>;
@@ -9,6 +9,9 @@ export interface OpenDialog<T> {
9
9
  component: Type<T>;
10
10
  ref: MatDialogRef<T>;
11
11
  }
12
+ /**
13
+ * @deprecated Legacy Vision: Please upgrade to the newer CdkDialogService
14
+ */
12
15
  export declare class FwDialogService {
13
16
  private matDialog;
14
17
  readonly dialogs: OpenDialog<unknown>[];
@@ -3,6 +3,9 @@ import * as i0 from "@angular/core";
3
3
  export interface FwErrorDialogData {
4
4
  message: string;
5
5
  }
6
+ /**
7
+ * @deprecated Legacy Vision: Please upgrade to the newer FwDialogConfirmComponent
8
+ */
6
9
  export declare class FwErrorDialogComponent {
7
10
  private data;
8
11
  private ref;
@@ -11,5 +14,5 @@ export declare class FwErrorDialogComponent {
11
14
  message: string;
12
15
  constructor(data: FwErrorDialogData, ref: MatDialogRef<FwErrorDialogComponent>);
13
16
  static ɵfac: i0.ɵɵFactoryDeclaration<FwErrorDialogComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FwErrorDialogComponent, "fw-error-dialog", never, {}, {}, never, never, false>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwErrorDialogComponent, "fw-dialog-error-dialog", never, {}, {}, never, never, false>;
15
18
  }
@@ -12,6 +12,9 @@ export interface FwPortalDialogData {
12
12
  template?: TemplateRef<unknown>;
13
13
  title?: string;
14
14
  }
15
+ /**
16
+ * @deprecated Legacy Vision: Please upgrade to the newer FwDialogComponent
17
+ */
15
18
  export declare class FwPortalDialogComponent implements OnDestroy {
16
19
  private data;
17
20
  private viewContainerRef;
@@ -25,6 +28,6 @@ export declare class FwPortalDialogComponent implements OnDestroy {
25
28
  ngOnDestroy(): void;
26
29
  attached(ref: CdkPortalOutletAttachedRef): void;
27
30
  static ɵfac: i0.ɵɵFactoryDeclaration<FwPortalDialogComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<FwPortalDialogComponent, "fw-portal-dialog", never, {}, {}, never, never, false>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwPortalDialogComponent, "fw-dialog-portal-dialog", never, {}, {}, never, never, false>;
29
32
  }
30
33
  export {};
@@ -2,8 +2,8 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./notification/notification.component";
3
3
  import * as i2 from "./notification-container/notification-container.component";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "../button/button.module";
6
- import * as i5 from "../button-group/button-group.module";
5
+ import * as i4 from "../../button/button.module";
6
+ import * as i5 from "../../button-group/button-group.module";
7
7
  import * as i6 from "@angular/material/button";
8
8
  import * as i7 from "@angular/material/icon";
9
9
  export declare class FwNotificationModule {
@@ -0,0 +1,21 @@
1
+ import { AfterContentInit } from '@angular/core';
2
+ import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
3
+ import { FwMenuComponent } from '../menu.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FwMenuContainerComponent implements AfterContentInit {
6
+ private sanitizer;
7
+ width?: string;
8
+ maxHeight?: string;
9
+ border?: 'none' | 'default';
10
+ shadow?: 'none' | 'small' | 'medium' | 'large' | 'extra-large' | 'inner';
11
+ showFilter?: boolean;
12
+ filterText?: string;
13
+ menu: FwMenuComponent;
14
+ get classes(): string;
15
+ get style(): SafeStyle;
16
+ constructor(sanitizer: DomSanitizer);
17
+ ngAfterContentInit(): void;
18
+ filterTextChange(text: string): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuContainerComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuContainerComponent, "fw-menu-container", never, { "width": "width"; "maxHeight": "maxHeight"; "border": "border"; "shadow": "shadow"; "showFilter": "showFilter"; "filterText": "filterText"; }, {}, ["menu"], ["*"], false>;
21
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FwMenuHeaderComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuHeaderComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuHeaderComponent, "fw-menu-header", never, {}, {}, never, ["*"], false>;
5
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FwMenuItemComponent {
4
+ value?: string;
5
+ variant?: 'default' | 'modern' | 'button';
6
+ size?: 'default' | 'compact';
7
+ label: string;
8
+ subtitle?: string;
9
+ icon?: string;
10
+ disabled?: boolean;
11
+ showCheckbox?: boolean;
12
+ hidden?: boolean;
13
+ collapsed?: boolean;
14
+ href?: string;
15
+ routerLink?: string[] | string | null | undefined;
16
+ select?: EventEmitter<string>;
17
+ focused?: boolean;
18
+ selected?: boolean;
19
+ handleClick(evt: Event): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuItemComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuItemComponent, "fw-menu-item", never, { "value": "value"; "variant": "variant"; "size": "size"; "label": "label"; "subtitle": "subtitle"; "icon": "icon"; "disabled": "disabled"; "showCheckbox": "showCheckbox"; "hidden": "hidden"; "collapsed": "collapsed"; "href": "href"; "routerLink": "routerLink"; "focused": "focused"; "selected": "selected"; }, { "select": "select"; }, never, ["fw-avatar", "*"], false>;
22
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FwMenuSeparatorComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuSeparatorComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuSeparatorComponent, "fw-menu-separator", never, {}, {}, never, never, false>;
5
+ }
@@ -0,0 +1,32 @@
1
+ import { AfterContentInit, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { FwMenuItemComponent } from './menu-item/menu-item.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FwMenuComponent implements ControlValueAccessor, OnChanges, OnDestroy, AfterContentInit {
6
+ disabled: boolean;
7
+ size?: 'default' | 'compact';
8
+ variant?: 'default' | 'modern' | 'button';
9
+ collapsed?: boolean;
10
+ multiSelect?: boolean;
11
+ useCheckbox?: boolean;
12
+ openWidth?: string;
13
+ collapsedWidth?: string;
14
+ value?: string | string[];
15
+ menuItems: QueryList<FwMenuItemComponent>;
16
+ private _filterText;
17
+ onChange: (value: string | string[]) => void;
18
+ onTouched: () => void;
19
+ private subscriptions;
20
+ ngOnChanges(changes: SimpleChanges): void;
21
+ ngOnDestroy(): void;
22
+ ngAfterContentInit(): void;
23
+ writeValue(value: string | string[]): void;
24
+ registerOnChange(fn: (value: string | string[]) => void): void;
25
+ registerOnTouched(fn: () => void): void;
26
+ setDisabledState?(isDisabled: boolean): void;
27
+ setFilter(filterText: string): void;
28
+ handleSelect(value: string): void;
29
+ updateLayout(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuComponent, "fw-menu", never, { "disabled": "disabled"; "size": "size"; "variant": "variant"; "collapsed": "collapsed"; "multiSelect": "multiSelect"; "useCheckbox": "useCheckbox"; "openWidth": "openWidth"; "collapsedWidth": "collapsedWidth"; "value": "value"; }, {}, ["menuItems"], ["*"], false>;
32
+ }
@@ -0,0 +1,20 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./menu.component";
3
+ import * as i2 from "./menu-container/menu-container.component";
4
+ import * as i3 from "./menu-header/menu-header.component";
5
+ import * as i4 from "./menu-item/menu-item.component";
6
+ import * as i5 from "./menu-separator/menu-separator.component";
7
+ import * as i6 from "@angular/cdk/menu";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/forms";
10
+ import * as i9 from "../icon-button/icon-button.module";
11
+ import * as i10 from "../icon/icon.module";
12
+ import * as i11 from "@angular/material/checkbox";
13
+ import * as i12 from "@angular/material/menu";
14
+ import * as i13 from "@angular/router";
15
+ import * as i14 from "../text-input/text-input.module";
16
+ export declare class FwMenuModule {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FwMenuModule, [typeof i1.FwMenuComponent, typeof i2.FwMenuContainerComponent, typeof i3.FwMenuHeaderComponent, typeof i4.FwMenuItemComponent, typeof i5.FwMenuSeparatorComponent], [typeof i6.CdkMenuModule, typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.FwIconButtonModule, typeof i10.FwIconModule, typeof i11.MatCheckboxModule, typeof i12.MatMenuModule, typeof i13.RouterModule, typeof i14.FwTextInputModule], [typeof i1.FwMenuComponent, typeof i2.FwMenuContainerComponent, typeof i3.FwMenuHeaderComponent, typeof i4.FwMenuItemComponent, typeof i5.FwMenuSeparatorComponent]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<FwMenuModule>;
20
+ }