@covalent/core 9.1.3 → 10.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.
Files changed (222) hide show
  1. package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +1 -1
  2. package/breadcrumbs/breadcrumbs.component.d.ts +1 -1
  3. package/breadcrumbs/breadcrumbs.module.d.ts +5 -3
  4. package/common/common.module.d.ts +5 -1
  5. package/common/directives/fullscreen/fullscreen.directive.d.ts +1 -1
  6. package/common/forms/auto-trim/auto-trim.directive.d.ts +1 -1
  7. package/common/material-icons.css +1 -1
  8. package/common/pipes/bytes/bytes.pipe.d.ts +1 -1
  9. package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +1 -1
  10. package/common/pipes/digits/digits.pipe.d.ts +1 -1
  11. package/common/pipes/time-ago/time-ago.pipe.d.ts +1 -1
  12. package/common/pipes/time-difference/time-difference.pipe.d.ts +1 -1
  13. package/common/pipes/time-until/time-until.pipe.d.ts +1 -1
  14. package/common/pipes/truncate/truncate.pipe.d.ts +1 -1
  15. package/common/platform.css +1 -1
  16. package/common/platform.css.map +1 -1
  17. package/dialogs/alert-dialog/alert-dialog.component.d.ts +1 -1
  18. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +1 -1
  19. package/dialogs/dialog.component.d.ts +5 -5
  20. package/dialogs/dialogs.module.d.ts +5 -9
  21. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +1 -1
  22. package/dialogs/status-dialog/status-dialog.component.d.ts +1 -1
  23. package/dialogs/window-dialog/window-dialog.component.d.ts +1 -1
  24. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +1 -1
  25. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +1 -1
  26. package/dynamic-menu/dynamic-menu.component.d.ts +1 -1
  27. package/dynamic-menu/dynamic-menu.module.d.ts +5 -7
  28. package/fesm2022/covalent-core-breadcrumbs.mjs +83 -44
  29. package/fesm2022/covalent-core-breadcrumbs.mjs.map +1 -1
  30. package/fesm2022/covalent-core-common.mjs +146 -138
  31. package/fesm2022/covalent-core-common.mjs.map +1 -1
  32. package/fesm2022/covalent-core-dialogs.mjs +448 -169
  33. package/fesm2022/covalent-core-dialogs.mjs.map +1 -1
  34. package/fesm2022/covalent-core-dynamic-menu.mjs +351 -82
  35. package/fesm2022/covalent-core-dynamic-menu.mjs.map +1 -1
  36. package/fesm2022/covalent-core-file.mjs +256 -181
  37. package/fesm2022/covalent-core-file.mjs.map +1 -1
  38. package/fesm2022/covalent-core-json-formatter.mjs +119 -31
  39. package/fesm2022/covalent-core-json-formatter.mjs.map +1 -1
  40. package/fesm2022/covalent-core-layout.mjs +738 -384
  41. package/fesm2022/covalent-core-layout.mjs.map +1 -1
  42. package/fesm2022/covalent-core-loading.mjs +98 -76
  43. package/fesm2022/covalent-core-loading.mjs.map +1 -1
  44. package/fesm2022/covalent-core-menu.mjs +33 -19
  45. package/fesm2022/covalent-core-menu.mjs.map +1 -1
  46. package/fesm2022/covalent-core-message.mjs +112 -53
  47. package/fesm2022/covalent-core-message.mjs.map +1 -1
  48. package/fesm2022/covalent-core-search.mjs +260 -193
  49. package/fesm2022/covalent-core-search.mjs.map +1 -1
  50. package/fesm2022/covalent-core-side-sheet.mjs +224 -192
  51. package/fesm2022/covalent-core-side-sheet.mjs.map +1 -1
  52. package/fesm2022/covalent-core-user-profile.mjs +118 -59
  53. package/fesm2022/covalent-core-user-profile.mjs.map +1 -1
  54. package/file/directives/file-drop.directive.d.ts +1 -1
  55. package/file/directives/file-select.directive.d.ts +1 -1
  56. package/file/file-input/file-input.component.d.ts +2 -2
  57. package/file/file-upload/file-upload.component.d.ts +1 -1
  58. package/file/file.module.d.ts +5 -6
  59. package/json-formatter/json-formatter.component.d.ts +1 -1
  60. package/json-formatter/json-formatter.module.d.ts +5 -4
  61. package/layout/layout-card-over/layout-card-over.component.d.ts +1 -1
  62. package/layout/layout-footer/layout-footer.component.d.ts +1 -1
  63. package/layout/layout-manage-list/layout-manage-list.component.d.ts +1 -1
  64. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +3 -3
  65. package/layout/layout-nav/layout-nav.component.d.ts +1 -1
  66. package/layout/layout-nav-list/layout-nav-list.component.d.ts +1 -1
  67. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +3 -3
  68. package/layout/layout-toggle.class.d.ts +1 -1
  69. package/layout/layout.component.d.ts +1 -1
  70. package/layout/layout.directives.d.ts +3 -3
  71. package/layout/layout.module.d.ts +5 -10
  72. package/layout/navigation-drawer/navigation-drawer.component.d.ts +3 -3
  73. package/loading/directives/loading.directive.d.ts +1 -1
  74. package/loading/loading.component.d.ts +1 -1
  75. package/loading/loading.module.d.ts +1 -6
  76. package/menu/menu.component.d.ts +1 -1
  77. package/menu/menu.module.d.ts +5 -4
  78. package/message/message.component.d.ts +2 -2
  79. package/message/message.module.d.ts +5 -3
  80. package/package.json +13 -38
  81. package/search/search-box/search-box.component.d.ts +1 -1
  82. package/search/search-input/search-input.component.d.ts +1 -1
  83. package/search/search.module.d.ts +5 -6
  84. package/side-sheet/side-sheet-container.d.ts +2 -2
  85. package/side-sheet/side-sheet.content-directives.d.ts +5 -5
  86. package/side-sheet/side-sheet.d.ts +1 -1
  87. package/side-sheet/side-sheet.module.d.ts +5 -4
  88. package/theming/prebuilt/all-theme-dark.css +1 -1
  89. package/theming/prebuilt/all-theme-dark.css.map +1 -1
  90. package/theming/prebuilt/all-theme-light.css +1 -1
  91. package/theming/prebuilt/all-theme-light.css.map +1 -1
  92. package/theming/prebuilt/blue-grey-deep-orange.css +1 -1
  93. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  94. package/theming/prebuilt/blue-orange.css +1 -1
  95. package/theming/prebuilt/blue-orange.css.map +1 -1
  96. package/theming/prebuilt/indigo-pink.css +1 -1
  97. package/theming/prebuilt/indigo-pink.css.map +1 -1
  98. package/theming/prebuilt/orange-light-blue.css +1 -1
  99. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  100. package/theming/prebuilt/teal-orange.css +1 -1
  101. package/theming/prebuilt/teal-orange.css.map +1 -1
  102. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +1 -1
  103. package/user-profile/user-profile.component.d.ts +1 -1
  104. package/user-profile/user-profile.module.d.ts +5 -8
  105. package/esm2022/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -94
  106. package/esm2022/breadcrumbs/breadcrumbs.component.mjs +0 -142
  107. package/esm2022/breadcrumbs/breadcrumbs.module.mjs +0 -20
  108. package/esm2022/breadcrumbs/covalent-core-breadcrumbs.mjs +0 -5
  109. package/esm2022/breadcrumbs/public_api.mjs +0 -4
  110. package/esm2022/common/animations/bounce/bounce.animation.mjs +0 -70
  111. package/esm2022/common/animations/collapse/collapse.animation.mjs +0 -51
  112. package/esm2022/common/animations/common/interfaces.mjs +0 -2
  113. package/esm2022/common/animations/fade/fadeInOut.animation.mjs +0 -37
  114. package/esm2022/common/animations/flash/flash.animation.mjs +0 -34
  115. package/esm2022/common/animations/headshake/headshake.animation.mjs +0 -47
  116. package/esm2022/common/animations/jello/jello.animation.mjs +0 -59
  117. package/esm2022/common/animations/pulse/pulse.animation.mjs +0 -32
  118. package/esm2022/common/animations/rotate/rotate.animation.mjs +0 -30
  119. package/esm2022/common/behaviors/control-value-accesor.mixin.mjs +0 -43
  120. package/esm2022/common/behaviors/disable-ripple.mixin.mjs +0 -24
  121. package/esm2022/common/behaviors/disabled.mixin.mjs +0 -24
  122. package/esm2022/common/common.module.mjs +0 -83
  123. package/esm2022/common/covalent-core-common.mjs +0 -5
  124. package/esm2022/common/directives/fullscreen/fullscreen.directive.mjs +0 -87
  125. package/esm2022/common/forms/auto-trim/auto-trim.directive.mjs +0 -37
  126. package/esm2022/common/forms/validators/validators.mjs +0 -29
  127. package/esm2022/common/functions/clipboard.mjs +0 -23
  128. package/esm2022/common/functions/convert.mjs +0 -84
  129. package/esm2022/common/functions/download.mjs +0 -75
  130. package/esm2022/common/functions/file.mjs +0 -16
  131. package/esm2022/common/pipes/bytes/bytes.pipe.mjs +0 -42
  132. package/esm2022/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +0 -42
  133. package/esm2022/common/pipes/digits/digits.pipe.mjs +0 -41
  134. package/esm2022/common/pipes/time-ago/time-ago.pipe.mjs +0 -72
  135. package/esm2022/common/pipes/time-difference/time-difference.pipe.mjs +0 -51
  136. package/esm2022/common/pipes/time-until/time-until.pipe.mjs +0 -72
  137. package/esm2022/common/pipes/truncate/truncate.pipe.mjs +0 -27
  138. package/esm2022/common/public_api.mjs +0 -39
  139. package/esm2022/common/services/icon.service.mjs +0 -1087
  140. package/esm2022/common/services/router-path.service.mjs +0 -30
  141. package/esm2022/covalent-core.mjs +0 -5
  142. package/esm2022/dialogs/alert-dialog/alert-dialog.component.mjs +0 -26
  143. package/esm2022/dialogs/confirm-dialog/confirm-dialog.component.mjs +0 -31
  144. package/esm2022/dialogs/covalent-core-dialogs.mjs +0 -5
  145. package/esm2022/dialogs/dialog.component.mjs +0 -75
  146. package/esm2022/dialogs/dialogs.module.mjs +0 -94
  147. package/esm2022/dialogs/prompt-dialog/prompt-dialog.component.mjs +0 -84
  148. package/esm2022/dialogs/public_api.mjs +0 -10
  149. package/esm2022/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +0 -222
  150. package/esm2022/dialogs/services/dialog.service.mjs +0 -215
  151. package/esm2022/dialogs/status-dialog/status-dialog.component.mjs +0 -55
  152. package/esm2022/dialogs/window-dialog/window-dialog.component.mjs +0 -40
  153. package/esm2022/dynamic-menu/covalent-core-dynamic-menu.mjs +0 -5
  154. package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +0 -30
  155. package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +0 -23
  156. package/esm2022/dynamic-menu/dynamic-menu.component.mjs +0 -28
  157. package/esm2022/dynamic-menu/dynamic-menu.menu.mjs +0 -2
  158. package/esm2022/dynamic-menu/dynamic-menu.module.mjs +0 -55
  159. package/esm2022/dynamic-menu/public_api.mjs +0 -6
  160. package/esm2022/file/covalent-core-file.mjs +0 -5
  161. package/esm2022/file/directives/file-drop.directive.mjs +0 -145
  162. package/esm2022/file/directives/file-select.directive.mjs +0 -78
  163. package/esm2022/file/file-input/file-input.component.mjs +0 -146
  164. package/esm2022/file/file-upload/file-upload.component.mjs +0 -188
  165. package/esm2022/file/file.module.mjs +0 -56
  166. package/esm2022/file/public_api.mjs +0 -7
  167. package/esm2022/file/services/file.service.mjs +0 -66
  168. package/esm2022/json-formatter/collapse.animation.mjs +0 -51
  169. package/esm2022/json-formatter/covalent-core-json-formatter.mjs +0 -5
  170. package/esm2022/json-formatter/json-formatter.component.mjs +0 -222
  171. package/esm2022/json-formatter/json-formatter.module.mjs +0 -20
  172. package/esm2022/json-formatter/public_api.mjs +0 -3
  173. package/esm2022/layout/covalent-core-layout.mjs +0 -5
  174. package/esm2022/layout/layout-card-over/layout-card-over.component.mjs +0 -50
  175. package/esm2022/layout/layout-footer/layout-footer.component.mjs +0 -36
  176. package/esm2022/layout/layout-manage-list/layout-manage-list.component.mjs +0 -92
  177. package/esm2022/layout/layout-manage-list/layout-manage-list.directives.mjs +0 -84
  178. package/esm2022/layout/layout-nav/layout-nav.component.mjs +0 -76
  179. package/esm2022/layout/layout-nav-list/layout-nav-list.component.mjs +0 -154
  180. package/esm2022/layout/layout-nav-list/layout-nav-list.directives.mjs +0 -84
  181. package/esm2022/layout/layout-toggle.class.mjs +0 -96
  182. package/esm2022/layout/layout.component.mjs +0 -91
  183. package/esm2022/layout/layout.directives.mjs +0 -85
  184. package/esm2022/layout/layout.module.mjs +0 -115
  185. package/esm2022/layout/navigation-drawer/navigation-drawer.component.mjs +0 -221
  186. package/esm2022/layout/public_api.mjs +0 -13
  187. package/esm2022/loading/covalent-core-loading.mjs +0 -5
  188. package/esm2022/loading/directives/loading.directive.mjs +0 -133
  189. package/esm2022/loading/loading.component.mjs +0 -193
  190. package/esm2022/loading/loading.module.mjs +0 -41
  191. package/esm2022/loading/public_api.mjs +0 -6
  192. package/esm2022/loading/services/loading.factory.mjs +0 -210
  193. package/esm2022/loading/services/loading.service.mjs +0 -219
  194. package/esm2022/menu/covalent-core-menu.mjs +0 -5
  195. package/esm2022/menu/menu.component.mjs +0 -12
  196. package/esm2022/menu/menu.module.mjs +0 -21
  197. package/esm2022/menu/public_api.mjs +0 -3
  198. package/esm2022/message/collapse.animation.mjs +0 -51
  199. package/esm2022/message/covalent-core-message.mjs +0 -5
  200. package/esm2022/message/message.component.mjs +0 -222
  201. package/esm2022/message/message.module.mjs +0 -25
  202. package/esm2022/message/public_api.mjs +0 -3
  203. package/esm2022/public_api.mjs +0 -2
  204. package/esm2022/search/covalent-core-search.mjs +0 -5
  205. package/esm2022/search/public_api.mjs +0 -4
  206. package/esm2022/search/search-box/search-box.component.mjs +0 -198
  207. package/esm2022/search/search-input/search-input.component.mjs +0 -219
  208. package/esm2022/search/search.module.mjs +0 -37
  209. package/esm2022/side-sheet/covalent-core-side-sheet.mjs +0 -5
  210. package/esm2022/side-sheet/public_api.mjs +0 -6
  211. package/esm2022/side-sheet/side-sheet-container.mjs +0 -285
  212. package/esm2022/side-sheet/side-sheet-ref.mjs +0 -30
  213. package/esm2022/side-sheet/side-sheet.animation.mjs +0 -12
  214. package/esm2022/side-sheet/side-sheet.config.mjs +0 -11
  215. package/esm2022/side-sheet/side-sheet.content-directives.mjs +0 -206
  216. package/esm2022/side-sheet/side-sheet.mjs +0 -236
  217. package/esm2022/side-sheet/side-sheet.module.mjs +0 -45
  218. package/esm2022/user-profile/covalent-core-user-profile.mjs +0 -5
  219. package/esm2022/user-profile/public_api.mjs +0 -4
  220. package/esm2022/user-profile/user-profile-menu/user-profile-menu.component.mjs +0 -25
  221. package/esm2022/user-profile/user-profile.component.mjs +0 -21
  222. package/esm2022/user-profile/user-profile.module.mjs +0 -42
@@ -1,58 +1,75 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Directive, Component, ContentChildren, ElementRef, ViewChild, Injectable, Inject, EventEmitter, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
3
3
  import * as i2 from '@angular/common';
4
- import { DOCUMENT, CommonModule } from '@angular/common';
5
- import * as i2$1 from '@angular/forms';
6
- import { FormsModule } from '@angular/forms';
4
+ import { CommonModule, DOCUMENT } from '@angular/common';
7
5
  import * as i1 from '@angular/material/dialog';
8
- import { MatDialogConfig, MatDialogModule } from '@angular/material/dialog';
9
- import * as i4 from '@angular/material/input';
10
- import { MatInputModule } from '@angular/material/input';
6
+ import { MatDialogModule, MatDialogConfig } from '@angular/material/dialog';
11
7
  import * as i3 from '@angular/material/button';
12
- import { MatButtonModule } from '@angular/material/button';
8
+ import { MatButtonModule, MatButton, MatIconButton } from '@angular/material/button';
13
9
  import { RIGHT_ARROW, LEFT_ARROW } from '@angular/cdk/keycodes';
14
10
  import { Subject, fromEvent, takeUntil, merge } from 'rxjs';
15
- import * as i5 from '@angular/material/form-field';
16
- import * as i4$1 from '@angular/material/icon';
17
- import { MatIconModule } from '@angular/material/icon';
18
- import * as i2$2 from '@angular/cdk/drag-drop';
19
- import * as i2$3 from '@angular/material/toolbar';
20
- import { MatToolbarModule } from '@angular/material/toolbar';
21
- import * as i3$1 from '@angular/material/tooltip';
22
- import { MatTooltipModule } from '@angular/material/tooltip';
11
+ import * as i3$1 from '@angular/forms';
12
+ import { FormsModule } from '@angular/forms';
13
+ import { MatFormField } from '@angular/material/form-field';
14
+ import { MatInput } from '@angular/material/input';
15
+ import { MatIcon } from '@angular/material/icon';
16
+ import * as i2$1 from '@angular/cdk/drag-drop';
17
+ import { MatToolbar, MatToolbarRow } from '@angular/material/toolbar';
18
+ import { MatTooltip } from '@angular/material/tooltip';
23
19
 
20
+ const _c0$3 = [[["", "tdDialogStatus", ""]], [["", "tdDialogTitle", ""]], [["", "tdDialogContent", ""]], [["", "tdDialogActions", ""]]];
21
+ const _c1$1 = ["[tdDialogStatus]", "[tdDialogTitle]", "[tdDialogContent]", "[tdDialogActions]"];
22
+ function TdDialogComponent_ng_content_1_Template(rf, ctx) { if (rf & 1) {
23
+ i0.ɵɵprojection(0, 0, ["*ngIf", "dialogStatus.length > 0"]);
24
+ } }
25
+ function TdDialogComponent_div_3_Template(rf, ctx) { if (rf & 1) {
26
+ i0.ɵɵelementStart(0, "div", 6);
27
+ i0.ɵɵprojection(1, 1);
28
+ i0.ɵɵelementEnd();
29
+ } }
30
+ function TdDialogComponent_mat_dialog_content_4_Template(rf, ctx) { if (rf & 1) {
31
+ i0.ɵɵelementStart(0, "mat-dialog-content", 7);
32
+ i0.ɵɵprojection(1, 2);
33
+ i0.ɵɵelementEnd();
34
+ } }
35
+ function TdDialogComponent_mat_dialog_actions_5_Template(rf, ctx) { if (rf & 1) {
36
+ i0.ɵɵelementStart(0, "mat-dialog-actions", 8);
37
+ i0.ɵɵelement(1, "span", 9);
38
+ i0.ɵɵprojection(2, 3);
39
+ i0.ɵɵelementEnd();
40
+ } }
24
41
  class TdDialogTitleDirective {
25
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
26
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.11", type: TdDialogTitleDirective, selector: "[tdDialogTitle]", ngImport: i0 });
42
+ static ɵfac = function TdDialogTitleDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdDialogTitleDirective)(); };
43
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdDialogTitleDirective, selectors: [["", "tdDialogTitle", ""]] });
27
44
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogTitleDirective, decorators: [{
29
- type: Directive,
30
- args: [{ selector: '[tdDialogTitle]' }]
31
- }] });
45
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDialogTitleDirective, [{
46
+ type: Directive,
47
+ args: [{ selector: '[tdDialogTitle]' }]
48
+ }], null, null); })();
32
49
  class TdDialogContentDirective {
33
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
34
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.11", type: TdDialogContentDirective, selector: "[tdDialogContent]", ngImport: i0 });
50
+ static ɵfac = function TdDialogContentDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdDialogContentDirective)(); };
51
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdDialogContentDirective, selectors: [["", "tdDialogContent", ""]] });
35
52
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogContentDirective, decorators: [{
37
- type: Directive,
38
- args: [{ selector: '[tdDialogContent]' }]
39
- }] });
53
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDialogContentDirective, [{
54
+ type: Directive,
55
+ args: [{ selector: '[tdDialogContent]' }]
56
+ }], null, null); })();
40
57
  class TdDialogActionsDirective {
41
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
42
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.11", type: TdDialogActionsDirective, selector: "[tdDialogActions]", ngImport: i0 });
58
+ static ɵfac = function TdDialogActionsDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdDialogActionsDirective)(); };
59
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdDialogActionsDirective, selectors: [["", "tdDialogActions", ""]] });
43
60
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogActionsDirective, decorators: [{
45
- type: Directive,
46
- args: [{ selector: '[tdDialogActions]' }]
47
- }] });
61
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDialogActionsDirective, [{
62
+ type: Directive,
63
+ args: [{ selector: '[tdDialogActions]' }]
64
+ }], null, null); })();
48
65
  class TdDialogStatusDirective {
49
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogStatusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
50
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.11", type: TdDialogStatusDirective, selector: "[tdDialogStatus]", ngImport: i0 });
66
+ static ɵfac = function TdDialogStatusDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdDialogStatusDirective)(); };
67
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdDialogStatusDirective, selectors: [["", "tdDialogStatus", ""]] });
51
68
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogStatusDirective, decorators: [{
53
- type: Directive,
54
- args: [{ selector: '[tdDialogStatus]' }]
55
- }] });
69
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDialogStatusDirective, [{
70
+ type: Directive,
71
+ args: [{ selector: '[tdDialogStatus]' }]
72
+ }], null, null); })();
56
73
  class TdDialogComponent {
57
74
  dialogTitle;
58
75
  dialogContent;
@@ -72,26 +89,63 @@ class TdDialogComponent {
72
89
  throw new Error('Duplicate td-dialog-status component at in td-dialog.');
73
90
  }
74
91
  }
75
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
76
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdDialogComponent, selector: "td-dialog", queries: [{ propertyName: "dialogTitle", predicate: TdDialogTitleDirective, descendants: true }, { propertyName: "dialogContent", predicate: TdDialogContentDirective, descendants: true }, { propertyName: "dialogActions", predicate: TdDialogActionsDirective, descendants: true }, { propertyName: "dialogStatus", predicate: TdDialogStatusDirective, descendants: true }], ngImport: i0, template: "<div class=\"td-dialog-wrapper\">\n <ng-content\n *ngIf=\"dialogStatus.length > 0\"\n select=\"[tdDialogStatus]\"\n ></ng-content>\n <section class=\"td-dialog\">\n <div mat-dialog-title *ngIf=\"dialogTitle.length > 0\">\n <ng-content select=\"[tdDialogTitle]\"></ng-content>\n </div>\n <mat-dialog-content\n class=\"td-dialog-content\"\n *ngIf=\"dialogContent.length > 0\"\n >\n <ng-content select=\"[tdDialogContent]\"></ng-content>\n </mat-dialog-content>\n <mat-dialog-actions\n class=\"td-dialog-actions\"\n *ngIf=\"dialogActions.length > 0\"\n >\n <span class=\"td-dialog-spacer\"></span>\n <ng-content select=\"[tdDialogActions]\"></ng-content>\n </mat-dialog-actions>\n </section>\n</div>\n", styles: [".td-dialog{width:100%}.td-dialog-wrapper{display:flex}.td-dialog-actions{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-actions .td-dialog-spacer{flex:1}.td-dialog-actions ::ng-deep button{text-transform:uppercase;margin-left:8px;padding-left:8px;padding-right:8px;min-width:64px}[dir=rtl] .td-dialog-actions ::ng-deep button{margin-right:8px;margin-left:inherit}.td-dialog-actions ::ng-deep .td-status-dialog___button{padding:9px 16px}@media screen and (max-width: 480px){.td-dialog-wrapper{flex-direction:column}}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] });
92
+ static ɵfac = function TdDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdDialogComponent)(); };
93
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdDialogComponent, selectors: [["td-dialog"]], contentQueries: function TdDialogComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
94
+ i0.ɵɵcontentQuery(dirIndex, TdDialogTitleDirective, 5);
95
+ i0.ɵɵcontentQuery(dirIndex, TdDialogContentDirective, 5);
96
+ i0.ɵɵcontentQuery(dirIndex, TdDialogActionsDirective, 5);
97
+ i0.ɵɵcontentQuery(dirIndex, TdDialogStatusDirective, 5);
98
+ } if (rf & 2) {
99
+ let _t;
100
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialogTitle = _t);
101
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialogContent = _t);
102
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialogActions = _t);
103
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialogStatus = _t);
104
+ } }, ngContentSelectors: _c1$1, decls: 6, vars: 4, consts: [[1, "td-dialog-wrapper"], [4, "ngIf"], [1, "td-dialog"], ["mat-dialog-title", "", 4, "ngIf"], ["class", "td-dialog-content", 4, "ngIf"], ["class", "td-dialog-actions", 4, "ngIf"], ["mat-dialog-title", ""], [1, "td-dialog-content"], [1, "td-dialog-actions"], [1, "td-dialog-spacer"]], template: function TdDialogComponent_Template(rf, ctx) { if (rf & 1) {
105
+ i0.ɵɵprojectionDef(_c0$3);
106
+ i0.ɵɵelementStart(0, "div", 0);
107
+ i0.ɵɵtemplate(1, TdDialogComponent_ng_content_1_Template, 1, 0, "ng-content", 1);
108
+ i0.ɵɵelementStart(2, "section", 2);
109
+ i0.ɵɵtemplate(3, TdDialogComponent_div_3_Template, 2, 0, "div", 3)(4, TdDialogComponent_mat_dialog_content_4_Template, 2, 0, "mat-dialog-content", 4)(5, TdDialogComponent_mat_dialog_actions_5_Template, 3, 0, "mat-dialog-actions", 5);
110
+ i0.ɵɵelementEnd()();
111
+ } if (rf & 2) {
112
+ i0.ɵɵadvance();
113
+ i0.ɵɵproperty("ngIf", ctx.dialogStatus.length > 0);
114
+ i0.ɵɵadvance(2);
115
+ i0.ɵɵproperty("ngIf", ctx.dialogTitle.length > 0);
116
+ i0.ɵɵadvance();
117
+ i0.ɵɵproperty("ngIf", ctx.dialogContent.length > 0);
118
+ i0.ɵɵadvance();
119
+ i0.ɵɵproperty("ngIf", ctx.dialogActions.length > 0);
120
+ } }, dependencies: [CommonModule, i2.NgIf, MatDialogModule, i1.MatDialogTitle, i1.MatDialogActions, i1.MatDialogContent], styles: [".td-dialog[_ngcontent-%COMP%]{width:100%}.td-dialog-wrapper[_ngcontent-%COMP%]{display:flex}.td-dialog-actions[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-actions[_ngcontent-%COMP%] .td-dialog-spacer[_ngcontent-%COMP%]{flex:1}.td-dialog-actions[_ngcontent-%COMP%] button{text-transform:uppercase;margin-left:8px;padding-left:8px;padding-right:8px;min-width:64px}[dir=rtl][_ngcontent-%COMP%] .td-dialog-actions[_ngcontent-%COMP%] button{margin-right:8px;margin-left:inherit}.td-dialog-actions[_ngcontent-%COMP%] .td-status-dialog___button{padding:9px 16px}@media screen and (max-width: 480px){.td-dialog-wrapper[_ngcontent-%COMP%]{flex-direction:column}}"] });
77
121
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogComponent, decorators: [{
79
- type: Component,
80
- args: [{ selector: 'td-dialog', template: "<div class=\"td-dialog-wrapper\">\n <ng-content\n *ngIf=\"dialogStatus.length > 0\"\n select=\"[tdDialogStatus]\"\n ></ng-content>\n <section class=\"td-dialog\">\n <div mat-dialog-title *ngIf=\"dialogTitle.length > 0\">\n <ng-content select=\"[tdDialogTitle]\"></ng-content>\n </div>\n <mat-dialog-content\n class=\"td-dialog-content\"\n *ngIf=\"dialogContent.length > 0\"\n >\n <ng-content select=\"[tdDialogContent]\"></ng-content>\n </mat-dialog-content>\n <mat-dialog-actions\n class=\"td-dialog-actions\"\n *ngIf=\"dialogActions.length > 0\"\n >\n <span class=\"td-dialog-spacer\"></span>\n <ng-content select=\"[tdDialogActions]\"></ng-content>\n </mat-dialog-actions>\n </section>\n</div>\n", styles: [".td-dialog{width:100%}.td-dialog-wrapper{display:flex}.td-dialog-actions{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-actions .td-dialog-spacer{flex:1}.td-dialog-actions ::ng-deep button{text-transform:uppercase;margin-left:8px;padding-left:8px;padding-right:8px;min-width:64px}[dir=rtl] .td-dialog-actions ::ng-deep button{margin-right:8px;margin-left:inherit}.td-dialog-actions ::ng-deep .td-status-dialog___button{padding:9px 16px}@media screen and (max-width: 480px){.td-dialog-wrapper{flex-direction:column}}\n"] }]
81
- }], propDecorators: { dialogTitle: [{
82
- type: ContentChildren,
83
- args: [TdDialogTitleDirective, { descendants: true }]
84
- }], dialogContent: [{
85
- type: ContentChildren,
86
- args: [TdDialogContentDirective, { descendants: true }]
87
- }], dialogActions: [{
88
- type: ContentChildren,
89
- args: [TdDialogActionsDirective, { descendants: true }]
90
- }], dialogStatus: [{
91
- type: ContentChildren,
92
- args: [TdDialogStatusDirective, { descendants: true }]
93
- }] } });
122
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDialogComponent, [{
123
+ type: Component,
124
+ args: [{ selector: 'td-dialog', imports: [CommonModule, MatDialogModule], template: "<div class=\"td-dialog-wrapper\">\n <ng-content\n *ngIf=\"dialogStatus.length > 0\"\n select=\"[tdDialogStatus]\"\n ></ng-content>\n <section class=\"td-dialog\">\n <div mat-dialog-title *ngIf=\"dialogTitle.length > 0\">\n <ng-content select=\"[tdDialogTitle]\"></ng-content>\n </div>\n <mat-dialog-content\n class=\"td-dialog-content\"\n *ngIf=\"dialogContent.length > 0\"\n >\n <ng-content select=\"[tdDialogContent]\"></ng-content>\n </mat-dialog-content>\n <mat-dialog-actions\n class=\"td-dialog-actions\"\n *ngIf=\"dialogActions.length > 0\"\n >\n <span class=\"td-dialog-spacer\"></span>\n <ng-content select=\"[tdDialogActions]\"></ng-content>\n </mat-dialog-actions>\n </section>\n</div>\n", styles: [".td-dialog{width:100%}.td-dialog-wrapper{display:flex}.td-dialog-actions{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-actions .td-dialog-spacer{flex:1}.td-dialog-actions ::ng-deep button{text-transform:uppercase;margin-left:8px;padding-left:8px;padding-right:8px;min-width:64px}[dir=rtl] .td-dialog-actions ::ng-deep button{margin-right:8px;margin-left:inherit}.td-dialog-actions ::ng-deep .td-status-dialog___button{padding:9px 16px}@media screen and (max-width: 480px){.td-dialog-wrapper{flex-direction:column}}\n"] }]
125
+ }], null, { dialogTitle: [{
126
+ type: ContentChildren,
127
+ args: [TdDialogTitleDirective, { descendants: true }]
128
+ }], dialogContent: [{
129
+ type: ContentChildren,
130
+ args: [TdDialogContentDirective, { descendants: true }]
131
+ }], dialogActions: [{
132
+ type: ContentChildren,
133
+ args: [TdDialogActionsDirective, { descendants: true }]
134
+ }], dialogStatus: [{
135
+ type: ContentChildren,
136
+ args: [TdDialogStatusDirective, { descendants: true }]
137
+ }] }); })();
138
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdDialogComponent, { className: "TdDialogComponent", filePath: "dialog.component.ts", lineNumber: 29 }); })();
94
139
 
140
+ function TdAlertDialogComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
141
+ i0.ɵɵelementContainerStart(0, 5);
142
+ i0.ɵɵtext(1);
143
+ i0.ɵɵelementContainerEnd();
144
+ } if (rf & 2) {
145
+ const ctx_r0 = i0.ɵɵnextContext();
146
+ i0.ɵɵadvance();
147
+ i0.ɵɵtextInterpolate(ctx_r0.title);
148
+ } }
95
149
  class TdAlertDialogComponent {
96
150
  _dialogRef;
97
151
  title;
@@ -103,14 +157,46 @@ class TdAlertDialogComponent {
103
157
  close() {
104
158
  this._dialogRef.close();
105
159
  }
106
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdAlertDialogComponent, deps: [{ token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
107
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdAlertDialogComponent, selector: "td-alert-dialog", ngImport: i0, template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button color=\"accent\" (click)=\"close()\">\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: TdDialogComponent, selector: "td-dialog" }, { kind: "directive", type: TdDialogTitleDirective, selector: "[tdDialogTitle]" }, { kind: "directive", type: TdDialogActionsDirective, selector: "[tdDialogActions]" }, { kind: "directive", type: TdDialogContentDirective, selector: "[tdDialogContent]" }] });
160
+ static ɵfac = function TdAlertDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdAlertDialogComponent)(i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
161
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdAlertDialogComponent, selectors: [["td-alert-dialog"]], decls: 8, vars: 3, consts: [["tdDialogTitle", "", 4, "ngIf"], ["tdDialogContent", ""], [1, "td-dialog-message"], ["tdDialogActions", ""], ["mat-button", "", "color", "accent", 3, "click"], ["tdDialogTitle", ""]], template: function TdAlertDialogComponent_Template(rf, ctx) { if (rf & 1) {
162
+ i0.ɵɵelementStart(0, "td-dialog");
163
+ i0.ɵɵtemplate(1, TdAlertDialogComponent_ng_container_1_Template, 2, 1, "ng-container", 0);
164
+ i0.ɵɵelementContainerStart(2, 1);
165
+ i0.ɵɵelementStart(3, "span", 2);
166
+ i0.ɵɵtext(4);
167
+ i0.ɵɵelementEnd();
168
+ i0.ɵɵelementContainerEnd();
169
+ i0.ɵɵelementContainerStart(5, 3);
170
+ i0.ɵɵelementStart(6, "button", 4);
171
+ i0.ɵɵlistener("click", function TdAlertDialogComponent_Template_button_click_6_listener() { return ctx.close(); });
172
+ i0.ɵɵtext(7);
173
+ i0.ɵɵelementEnd();
174
+ i0.ɵɵelementContainerEnd();
175
+ i0.ɵɵelementEnd();
176
+ } if (rf & 2) {
177
+ i0.ɵɵadvance();
178
+ i0.ɵɵproperty("ngIf", ctx.title);
179
+ i0.ɵɵadvance(3);
180
+ i0.ɵɵtextInterpolate(ctx.message);
181
+ i0.ɵɵadvance(3);
182
+ i0.ɵɵtextInterpolate1(" ", ctx.closeButton, " ");
183
+ } }, dependencies: [CommonModule, i2.NgIf, MatButtonModule, i3.MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective], styles: [".td-dialog-message[_ngcontent-%COMP%]{word-break:break-word}"] });
108
184
  }
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdAlertDialogComponent, decorators: [{
110
- type: Component,
111
- args: [{ selector: 'td-alert-dialog', template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button color=\"accent\" (click)=\"close()\">\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"] }]
112
- }], ctorParameters: () => [{ type: i1.MatDialogRef }] });
185
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdAlertDialogComponent, [{
186
+ type: Component,
187
+ args: [{ selector: 'td-alert-dialog', imports: [CommonModule, MatButtonModule, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective], template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button color=\"accent\" (click)=\"close()\">\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"] }]
188
+ }], () => [{ type: i1.MatDialogRef }], null); })();
189
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdAlertDialogComponent, { className: "TdAlertDialogComponent", filePath: "alert-dialog/alert-dialog.component.ts", lineNumber: 13 }); })();
113
190
 
191
+ function TdConfirmDialogComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
192
+ i0.ɵɵelementContainerStart(0, 8);
193
+ i0.ɵɵtext(1);
194
+ i0.ɵɵelementContainerEnd();
195
+ } if (rf & 2) {
196
+ const ctx_r1 = i0.ɵɵnextContext();
197
+ i0.ɵɵadvance();
198
+ i0.ɵɵtextInterpolate(ctx_r1.title);
199
+ } }
114
200
  class TdConfirmDialogComponent {
115
201
  _dialogRef;
116
202
  title;
@@ -127,14 +213,58 @@ class TdConfirmDialogComponent {
127
213
  accept() {
128
214
  this._dialogRef.close(true);
129
215
  }
130
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdConfirmDialogComponent, deps: [{ token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
131
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdConfirmDialogComponent, selector: "td-confirm-dialog", ngImport: i0, template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-button\n #closeBtn\n (keydown.arrowright)=\"acceptBtn.focus()\"\n (click)=\"cancel()\"\n >\n {{ cancelButton }}\n </button>\n <button\n mat-button\n [color]=\"isDestructive ? 'warn' : 'accent'\"\n #acceptBtn\n (keydown.arrowleft)=\"closeBtn.focus()\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: TdDialogComponent, selector: "td-dialog" }, { kind: "directive", type: TdDialogTitleDirective, selector: "[tdDialogTitle]" }, { kind: "directive", type: TdDialogActionsDirective, selector: "[tdDialogActions]" }, { kind: "directive", type: TdDialogContentDirective, selector: "[tdDialogContent]" }] });
216
+ static ɵfac = function TdConfirmDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdConfirmDialogComponent)(i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
217
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdConfirmDialogComponent, selectors: [["td-confirm-dialog"]], decls: 12, vars: 5, consts: [["closeBtn", ""], ["acceptBtn", ""], ["tdDialogTitle", "", 4, "ngIf"], ["tdDialogContent", ""], [1, "td-dialog-message"], ["tdDialogActions", ""], ["mat-button", "", 3, "keydown.arrowright", "click"], ["mat-button", "", 3, "keydown.arrowleft", "click", "color"], ["tdDialogTitle", ""]], template: function TdConfirmDialogComponent_Template(rf, ctx) { if (rf & 1) {
218
+ const _r1 = i0.ɵɵgetCurrentView();
219
+ i0.ɵɵelementStart(0, "td-dialog");
220
+ i0.ɵɵtemplate(1, TdConfirmDialogComponent_ng_container_1_Template, 2, 1, "ng-container", 2);
221
+ i0.ɵɵelementContainerStart(2, 3);
222
+ i0.ɵɵelementStart(3, "span", 4);
223
+ i0.ɵɵtext(4);
224
+ i0.ɵɵelementEnd();
225
+ i0.ɵɵelementContainerEnd();
226
+ i0.ɵɵelementContainerStart(5, 5);
227
+ i0.ɵɵelementStart(6, "button", 6, 0);
228
+ i0.ɵɵlistener("keydown.arrowright", function TdConfirmDialogComponent_Template_button_keydown_arrowright_6_listener() { i0.ɵɵrestoreView(_r1); const acceptBtn_r3 = i0.ɵɵreference(10); return i0.ɵɵresetView(acceptBtn_r3.focus()); })("click", function TdConfirmDialogComponent_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancel()); });
229
+ i0.ɵɵtext(8);
230
+ i0.ɵɵelementEnd();
231
+ i0.ɵɵelementStart(9, "button", 7, 1);
232
+ i0.ɵɵlistener("keydown.arrowleft", function TdConfirmDialogComponent_Template_button_keydown_arrowleft_9_listener() { i0.ɵɵrestoreView(_r1); const closeBtn_r4 = i0.ɵɵreference(7); return i0.ɵɵresetView(closeBtn_r4.focus()); })("click", function TdConfirmDialogComponent_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.accept()); });
233
+ i0.ɵɵtext(11);
234
+ i0.ɵɵelementEnd();
235
+ i0.ɵɵelementContainerEnd();
236
+ i0.ɵɵelementEnd();
237
+ } if (rf & 2) {
238
+ i0.ɵɵadvance();
239
+ i0.ɵɵproperty("ngIf", ctx.title);
240
+ i0.ɵɵadvance(3);
241
+ i0.ɵɵtextInterpolate(ctx.message);
242
+ i0.ɵɵadvance(4);
243
+ i0.ɵɵtextInterpolate1(" ", ctx.cancelButton, " ");
244
+ i0.ɵɵadvance();
245
+ i0.ɵɵproperty("color", ctx.isDestructive ? "warn" : "accent");
246
+ i0.ɵɵadvance(2);
247
+ i0.ɵɵtextInterpolate1(" ", ctx.acceptButton, " ");
248
+ } }, dependencies: [CommonModule, i2.NgIf, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective, MatButtonModule, i3.MatButton], styles: [".td-dialog-message[_ngcontent-%COMP%]{word-break:break-word}"] });
132
249
  }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdConfirmDialogComponent, decorators: [{
134
- type: Component,
135
- args: [{ selector: 'td-confirm-dialog', template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-button\n #closeBtn\n (keydown.arrowright)=\"acceptBtn.focus()\"\n (click)=\"cancel()\"\n >\n {{ cancelButton }}\n </button>\n <button\n mat-button\n [color]=\"isDestructive ? 'warn' : 'accent'\"\n #acceptBtn\n (keydown.arrowleft)=\"closeBtn.focus()\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"] }]
136
- }], ctorParameters: () => [{ type: i1.MatDialogRef }] });
250
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdConfirmDialogComponent, [{
251
+ type: Component,
252
+ args: [{ selector: 'td-confirm-dialog', imports: [CommonModule, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective, MatButtonModule], template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-button\n #closeBtn\n (keydown.arrowright)=\"acceptBtn.focus()\"\n (click)=\"cancel()\"\n >\n {{ cancelButton }}\n </button>\n <button\n mat-button\n [color]=\"isDestructive ? 'warn' : 'accent'\"\n #acceptBtn\n (keydown.arrowleft)=\"closeBtn.focus()\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"] }]
253
+ }], () => [{ type: i1.MatDialogRef }], null); })();
254
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdConfirmDialogComponent, { className: "TdConfirmDialogComponent", filePath: "confirm-dialog/confirm-dialog.component.ts", lineNumber: 13 }); })();
137
255
 
256
+ const _c0$2 = ["input"];
257
+ const _c1 = ["closeBtn"];
258
+ const _c2 = ["acceptBtn"];
259
+ function TdPromptDialogComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
260
+ i0.ɵɵelementContainerStart(0, 14);
261
+ i0.ɵɵtext(1);
262
+ i0.ɵɵelementContainerEnd();
263
+ } if (rf & 2) {
264
+ const ctx_r1 = i0.ɵɵnextContext();
265
+ i0.ɵɵadvance();
266
+ i0.ɵɵtextInterpolate(ctx_r1.title);
267
+ } }
138
268
  class TdPromptDialogComponent {
139
269
  _ngZone;
140
270
  _dialogRef;
@@ -190,23 +320,105 @@ class TdPromptDialogComponent {
190
320
  accept() {
191
321
  this._dialogRef.close(this.value);
192
322
  }
193
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdPromptDialogComponent, deps: [{ token: i0.NgZone }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
194
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdPromptDialogComponent, selector: "td-prompt-dialog", viewQueries: [{ propertyName: "_input", first: true, predicate: ["input"], descendants: true, static: true }, { propertyName: "_closeBtn", first: true, predicate: ["closeBtn"], descendants: true, read: ElementRef, static: true }, { propertyName: "_acceptBtn", first: true, predicate: ["acceptBtn"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n <form #form=\"ngForm\" novalidate>\n <div class=\"td-dialog-input-wrapper\">\n <mat-form-field class=\"td-dialog-input\">\n <input\n matInput\n #input\n (keydown.enter)=\"$event.preventDefault(); form.valid && accept()\"\n [(ngModel)]=\"value\"\n name=\"value\"\n required\n />\n </mat-form-field>\n </div>\n </form>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button #closeBtn (click)=\"cancel()\">{{ cancelButton }}</button>\n <button\n mat-button\n color=\"accent\"\n #acceptBtn\n [disabled]=\"!form.valid\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-input-wrapper{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-input-wrapper .td-dialog-input{flex:1;box-sizing:border-box}.td-dialog-message{word-break:break-word}\n"], dependencies: [{ kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: TdDialogComponent, selector: "td-dialog" }, { kind: "directive", type: TdDialogTitleDirective, selector: "[tdDialogTitle]" }, { kind: "directive", type: TdDialogActionsDirective, selector: "[tdDialogActions]" }, { kind: "directive", type: TdDialogContentDirective, selector: "[tdDialogContent]" }] });
323
+ static ɵfac = function TdPromptDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdPromptDialogComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
324
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdPromptDialogComponent, selectors: [["td-prompt-dialog"]], viewQuery: function TdPromptDialogComponent_Query(rf, ctx) { if (rf & 1) {
325
+ i0.ɵɵviewQuery(_c0$2, 7);
326
+ i0.ɵɵviewQuery(_c1, 7, ElementRef);
327
+ i0.ɵɵviewQuery(_c2, 7, ElementRef);
328
+ } if (rf & 2) {
329
+ let _t;
330
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._input = _t.first);
331
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._closeBtn = _t.first);
332
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._acceptBtn = _t.first);
333
+ } }, decls: 18, vars: 6, consts: [["form", "ngForm"], ["input", ""], ["closeBtn", ""], ["acceptBtn", ""], ["tdDialogTitle", "", 4, "ngIf"], ["tdDialogContent", ""], [1, "td-dialog-message"], ["novalidate", ""], [1, "td-dialog-input-wrapper"], [1, "td-dialog-input"], ["matInput", "", "name", "value", "required", "", 3, "keydown.enter", "ngModelChange", "ngModel"], ["tdDialogActions", ""], ["mat-button", "", 3, "click"], ["mat-button", "", "color", "accent", 3, "click", "disabled"], ["tdDialogTitle", ""]], template: function TdPromptDialogComponent_Template(rf, ctx) { if (rf & 1) {
334
+ const _r1 = i0.ɵɵgetCurrentView();
335
+ i0.ɵɵelementStart(0, "td-dialog");
336
+ i0.ɵɵtemplate(1, TdPromptDialogComponent_ng_container_1_Template, 2, 1, "ng-container", 4);
337
+ i0.ɵɵelementContainerStart(2, 5);
338
+ i0.ɵɵelementStart(3, "span", 6);
339
+ i0.ɵɵtext(4);
340
+ i0.ɵɵelementEnd();
341
+ i0.ɵɵelementStart(5, "form", 7, 0)(7, "div", 8)(8, "mat-form-field", 9)(9, "input", 10, 1);
342
+ i0.ɵɵlistener("keydown.enter", function TdPromptDialogComponent_Template_input_keydown_enter_9_listener($event) { i0.ɵɵrestoreView(_r1); const form_r3 = i0.ɵɵreference(6); $event.preventDefault(); return i0.ɵɵresetView(form_r3.valid && ctx.accept()); });
343
+ i0.ɵɵtwoWayListener("ngModelChange", function TdPromptDialogComponent_Template_input_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.value, $event) || (ctx.value = $event); return i0.ɵɵresetView($event); });
344
+ i0.ɵɵelementEnd()()()();
345
+ i0.ɵɵelementContainerEnd();
346
+ i0.ɵɵelementContainerStart(11, 11);
347
+ i0.ɵɵelementStart(12, "button", 12, 2);
348
+ i0.ɵɵlistener("click", function TdPromptDialogComponent_Template_button_click_12_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancel()); });
349
+ i0.ɵɵtext(14);
350
+ i0.ɵɵelementEnd();
351
+ i0.ɵɵelementStart(15, "button", 13, 3);
352
+ i0.ɵɵlistener("click", function TdPromptDialogComponent_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.accept()); });
353
+ i0.ɵɵtext(17);
354
+ i0.ɵɵelementEnd();
355
+ i0.ɵɵelementContainerEnd();
356
+ i0.ɵɵelementEnd();
357
+ } if (rf & 2) {
358
+ const form_r3 = i0.ɵɵreference(6);
359
+ i0.ɵɵadvance();
360
+ i0.ɵɵproperty("ngIf", ctx.title);
361
+ i0.ɵɵadvance(3);
362
+ i0.ɵɵtextInterpolate(ctx.message);
363
+ i0.ɵɵadvance(5);
364
+ i0.ɵɵtwoWayProperty("ngModel", ctx.value);
365
+ i0.ɵɵadvance(5);
366
+ i0.ɵɵtextInterpolate(ctx.cancelButton);
367
+ i0.ɵɵadvance();
368
+ i0.ɵɵproperty("disabled", !form_r3.valid);
369
+ i0.ɵɵadvance(2);
370
+ i0.ɵɵtextInterpolate1(" ", ctx.acceptButton, " ");
371
+ } }, dependencies: [CommonModule, i2.NgIf, FormsModule, i3$1.ɵNgNoValidate, i3$1.DefaultValueAccessor, i3$1.NgControlStatus, i3$1.NgControlStatusGroup, i3$1.RequiredValidator, i3$1.NgModel, i3$1.NgForm, MatFormField, MatInput, MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective], styles: [".td-dialog-input-wrapper[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-input-wrapper[_ngcontent-%COMP%] .td-dialog-input[_ngcontent-%COMP%]{flex:1;box-sizing:border-box}.td-dialog-message[_ngcontent-%COMP%]{word-break:break-word}"] });
195
372
  }
196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdPromptDialogComponent, decorators: [{
197
- type: Component,
198
- args: [{ selector: 'td-prompt-dialog', template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n <form #form=\"ngForm\" novalidate>\n <div class=\"td-dialog-input-wrapper\">\n <mat-form-field class=\"td-dialog-input\">\n <input\n matInput\n #input\n (keydown.enter)=\"$event.preventDefault(); form.valid && accept()\"\n [(ngModel)]=\"value\"\n name=\"value\"\n required\n />\n </mat-form-field>\n </div>\n </form>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button #closeBtn (click)=\"cancel()\">{{ cancelButton }}</button>\n <button\n mat-button\n color=\"accent\"\n #acceptBtn\n [disabled]=\"!form.valid\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-input-wrapper{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-input-wrapper .td-dialog-input{flex:1;box-sizing:border-box}.td-dialog-message{word-break:break-word}\n"] }]
199
- }], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.MatDialogRef }], propDecorators: { _input: [{
200
- type: ViewChild,
201
- args: ['input', { static: true }]
202
- }], _closeBtn: [{
203
- type: ViewChild,
204
- args: ['closeBtn', { static: true, read: ElementRef }]
205
- }], _acceptBtn: [{
206
- type: ViewChild,
207
- args: ['acceptBtn', { static: true, read: ElementRef }]
208
- }] } });
373
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdPromptDialogComponent, [{
374
+ type: Component,
375
+ args: [{ selector: 'td-prompt-dialog', imports: [CommonModule, FormsModule, MatFormField, MatInput, MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective], template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n <form #form=\"ngForm\" novalidate>\n <div class=\"td-dialog-input-wrapper\">\n <mat-form-field class=\"td-dialog-input\">\n <input\n matInput\n #input\n (keydown.enter)=\"$event.preventDefault(); form.valid && accept()\"\n [(ngModel)]=\"value\"\n name=\"value\"\n required\n />\n </mat-form-field>\n </div>\n </form>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button #closeBtn (click)=\"cancel()\">{{ cancelButton }}</button>\n <button\n mat-button\n color=\"accent\"\n #acceptBtn\n [disabled]=\"!form.valid\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-input-wrapper{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-input-wrapper .td-dialog-input{flex:1;box-sizing:border-box}.td-dialog-message{word-break:break-word}\n"] }]
376
+ }], () => [{ type: i0.NgZone }, { type: i1.MatDialogRef }], { _input: [{
377
+ type: ViewChild,
378
+ args: ['input', { static: true }]
379
+ }], _closeBtn: [{
380
+ type: ViewChild,
381
+ args: ['closeBtn', { static: true, read: ElementRef }]
382
+ }], _acceptBtn: [{
383
+ type: ViewChild,
384
+ args: ['acceptBtn', { static: true, read: ElementRef }]
385
+ }] }); })();
386
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdPromptDialogComponent, { className: "TdPromptDialogComponent", filePath: "prompt-dialog/prompt-dialog.component.ts", lineNumber: 25 }); })();
209
387
 
388
+ const _c0$1 = (a0, a1) => ({ "td-status-dialog__arrow-icon": true, close: a0, open: a1 });
389
+ function TdStatusDialogComponent_span_6_Template(rf, ctx) { if (rf & 1) {
390
+ i0.ɵɵelementStart(0, "span", 12);
391
+ i0.ɵɵtext(1);
392
+ i0.ɵɵelementEnd();
393
+ } if (rf & 2) {
394
+ const ctx_r0 = i0.ɵɵnextContext();
395
+ i0.ɵɵadvance();
396
+ i0.ɵɵtextInterpolate(ctx_r0.title);
397
+ } }
398
+ function TdStatusDialogComponent_div_13_Template(rf, ctx) { if (rf & 1) {
399
+ const _r2 = i0.ɵɵgetCurrentView();
400
+ i0.ɵɵelementStart(0, "div", 13);
401
+ i0.ɵɵlistener("click", function TdStatusDialogComponent_div_13_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.toggleDetails()); })("keydown.enter", function TdStatusDialogComponent_div_13_Template_div_keydown_enter_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.toggleDetails()); });
402
+ i0.ɵɵtext(1);
403
+ i0.ɵɵelementStart(2, "mat-icon", 14);
404
+ i0.ɵɵtext(3, "arrow_drop_down");
405
+ i0.ɵɵelementEnd()();
406
+ } if (rf & 2) {
407
+ const ctx_r0 = i0.ɵɵnextContext();
408
+ i0.ɵɵadvance();
409
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.showDetails ? ctx_r0.detailsLabels == null ? null : ctx_r0.detailsLabels.hideDetailsLabel : ctx_r0.detailsLabels == null ? null : ctx_r0.detailsLabels.showDetailsLabel, " ");
410
+ i0.ɵɵadvance();
411
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(2, _c0$1, !ctx_r0.showDetails, ctx_r0.showDetails));
412
+ } }
413
+ function TdStatusDialogComponent_div_14_Template(rf, ctx) { if (rf & 1) {
414
+ i0.ɵɵelementStart(0, "div");
415
+ i0.ɵɵtext(1);
416
+ i0.ɵɵelementEnd();
417
+ } if (rf & 2) {
418
+ const ctx_r0 = i0.ɵɵnextContext();
419
+ i0.ɵɵadvance();
420
+ i0.ɵɵtextInterpolate(ctx_r0.details);
421
+ } }
210
422
  class TdStatusDialogComponent {
211
423
  _dialogRef;
212
424
  // Label of the close button in the footer
@@ -246,13 +458,55 @@ class TdStatusDialogComponent {
246
458
  toggleDetails() {
247
459
  this.showDetails = !this.showDetails;
248
460
  }
249
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdStatusDialogComponent, deps: [{ token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
250
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdStatusDialogComponent, selector: "td-status-dialog", ngImport: i0, template: "<td-dialog class=\"td-status-dialog\">\n <!-- Displays the icon and background color according to the state -->\n <div tdDialogStatus class=\"td-status-dialog-state\" [ngClass]=\"state\">\n <mat-icon>\n {{ getStatusIcon() }}\n </mat-icon>\n </div>\n <!-- Dialog title and the close icon -->\n <ng-container tdDialogTitle>\n <div class=\"td-status-dialog-title\">\n <span *ngIf=\"title\" class=\"\">{{ title }}</span>\n <button\n mat-icon-button\n class=\"td-status-dialog__icon-button\"\n (click)=\"close()\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n <!-- Dialog content with additonal information -->\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">\n {{ message }}\n <div\n class=\"td-status-dialog__toggle-details\"\n role=\"button\"\n tabindex=\"0\"\n *ngIf=\"details\"\n (click)=\"toggleDetails()\"\n (keydown.enter)=\"toggleDetails()\"\n >\n {{\n showDetails\n ? detailsLabels?.hideDetailsLabel\n : detailsLabels?.showDetailsLabel\n }}\n <mat-icon\n [ngClass]=\"{\n 'td-status-dialog__arrow-icon': true,\n close: !showDetails,\n open: showDetails\n }\"\n >arrow_drop_down</mat-icon\n >\n </div>\n <div *ngIf=\"showDetails\">{{ details }}</div>\n </span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-raised-button\n color=\"primary\"\n class=\"td-status-dialog___button\"\n (click)=\"close()\"\n >\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: ["::ng-deep .mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--cv-theme-surface-container-lowest);border-radius:12px}::ng-deep .td-status-dialog-title{align-items:flex-start;display:inline-flex;justify-content:space-between;width:100%;-webkit-font-smoothing:antialiased}::ng-deep .td-status-dialog-title :first-child{padding-right:40px}::ng-deep [mat-icon-button].td-status-dialog__icon-button{--mdc-icon-button-state-layer-size: 40px;padding:8px;position:absolute;right:8px;top:10px}::ng-deep .td-status-dialog___button{border-radius:8px}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title{padding:18px 16px;line-height:var(--mdc-dialog-supporting-text-line-height)}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title:before{display:none}::ng-deep .mat-mdc-icon-button .mat-mdc-button-base{padding:8px}::ng-deep .mdc-dialog .mdc-dialog__content{padding:0 16px;-webkit-font-smoothing:antialiased}::ng-deep .mdc-dialog__actions{padding:16px}.td-status-dialog{width:auto}.td-status-dialog:before{padding:14px 16px 0}.td-status-dialog .td-dialog-message{font-feature-settings:\"clig\" off,\"liga\" off;color:var(--cv-theme-on-surface-variant);line-height:var(--mdc-dialog-supporting-text-line-height)}.td-status-dialog-state{padding:14px 16px 0}.td-status-dialog-state .mat-icon{font-size:var(--mat-toolbar-title-text-line-height);height:var(--mat-toolbar-title-text-line-height);width:var(--mat-toolbar-title-text-line-height);font-variation-settings:\"FILL\" 1}.td-status-dialog-state.error{background-color:var(--cv-theme-negative-8)}.td-status-dialog-state.error .mat-icon{color:var(--cv-theme-negative)}.td-status-dialog-state.positive{background-color:var(--cv-theme-positive-8)}.td-status-dialog-state.positive .mat-icon{color:var(--cv-theme-positive)}.td-status-dialog-state.warning{background-color:var(--cv-theme-caution-8)}.td-status-dialog-state.warning .mat-icon{color:var(--cv-theme-caution)}.td-status-dialog__toggle-details{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:flex;font-size:var(--mat-expansion-container-text-size);letter-spacing:.25px;line-height:var(--mat-expansion-container-text-line-height);padding:16px 0}.td-status-dialog__arrow-icon{margin-top:2px}.td-status-dialog__arrow-icon.open{transform:rotate(0);transition:transform .25s ease-out}.td-status-dialog__arrow-icon.close{transform:rotate(180deg);transition:transform .25s ease-in}@media screen and (max-width: 480px){:host .td-status-dialog-state{padding:4px}:host .td-status-dialog-state .mat-icon{display:none}:host .td-status-dialog-state.error{background-color:var(--cv-theme-negative)}:host .td-status-dialog-state.positive{background-color:var(--cv-theme-positive)}:host .td-status-dialog-state.warning{background-color:var(--cv-theme-caution)}}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: TdDialogComponent, selector: "td-dialog" }, { kind: "directive", type: TdDialogStatusDirective, selector: "[tdDialogStatus]" }, { kind: "directive", type: TdDialogTitleDirective, selector: "[tdDialogTitle]" }, { kind: "directive", type: TdDialogActionsDirective, selector: "[tdDialogActions]" }, { kind: "directive", type: TdDialogContentDirective, selector: "[tdDialogContent]" }] });
461
+ static ɵfac = function TdStatusDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdStatusDialogComponent)(i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
462
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdStatusDialogComponent, selectors: [["td-status-dialog"]], decls: 18, vars: 7, consts: [[1, "td-status-dialog"], ["tdDialogStatus", "", 1, "td-status-dialog-state", 3, "ngClass"], ["tdDialogTitle", ""], [1, "td-status-dialog-title"], ["class", "", 4, "ngIf"], ["mat-icon-button", "", 1, "td-status-dialog__icon-button", 3, "click"], ["tdDialogContent", ""], [1, "td-dialog-message"], ["class", "td-status-dialog__toggle-details", "role", "button", "tabindex", "0", 3, "click", "keydown.enter", 4, "ngIf"], [4, "ngIf"], ["tdDialogActions", ""], ["mat-raised-button", "", "color", "primary", 1, "td-status-dialog___button", 3, "click"], [1, ""], ["role", "button", "tabindex", "0", 1, "td-status-dialog__toggle-details", 3, "click", "keydown.enter"], [3, "ngClass"]], template: function TdStatusDialogComponent_Template(rf, ctx) { if (rf & 1) {
463
+ i0.ɵɵelementStart(0, "td-dialog", 0)(1, "div", 1)(2, "mat-icon");
464
+ i0.ɵɵtext(3);
465
+ i0.ɵɵelementEnd()();
466
+ i0.ɵɵelementContainerStart(4, 2);
467
+ i0.ɵɵelementStart(5, "div", 3);
468
+ i0.ɵɵtemplate(6, TdStatusDialogComponent_span_6_Template, 2, 1, "span", 4);
469
+ i0.ɵɵelementStart(7, "button", 5);
470
+ i0.ɵɵlistener("click", function TdStatusDialogComponent_Template_button_click_7_listener() { return ctx.close(); });
471
+ i0.ɵɵelementStart(8, "mat-icon");
472
+ i0.ɵɵtext(9, "close");
473
+ i0.ɵɵelementEnd()()();
474
+ i0.ɵɵelementContainerEnd();
475
+ i0.ɵɵelementContainerStart(10, 6);
476
+ i0.ɵɵelementStart(11, "span", 7);
477
+ i0.ɵɵtext(12);
478
+ i0.ɵɵtemplate(13, TdStatusDialogComponent_div_13_Template, 4, 5, "div", 8)(14, TdStatusDialogComponent_div_14_Template, 2, 1, "div", 9);
479
+ i0.ɵɵelementEnd();
480
+ i0.ɵɵelementContainerEnd();
481
+ i0.ɵɵelementContainerStart(15, 10);
482
+ i0.ɵɵelementStart(16, "button", 11);
483
+ i0.ɵɵlistener("click", function TdStatusDialogComponent_Template_button_click_16_listener() { return ctx.close(); });
484
+ i0.ɵɵtext(17);
485
+ i0.ɵɵelementEnd();
486
+ i0.ɵɵelementContainerEnd();
487
+ i0.ɵɵelementEnd();
488
+ } if (rf & 2) {
489
+ i0.ɵɵadvance();
490
+ i0.ɵɵproperty("ngClass", ctx.state);
491
+ i0.ɵɵadvance(2);
492
+ i0.ɵɵtextInterpolate1(" ", ctx.getStatusIcon(), " ");
493
+ i0.ɵɵadvance(3);
494
+ i0.ɵɵproperty("ngIf", ctx.title);
495
+ i0.ɵɵadvance(6);
496
+ i0.ɵɵtextInterpolate1(" ", ctx.message, " ");
497
+ i0.ɵɵadvance();
498
+ i0.ɵɵproperty("ngIf", ctx.details);
499
+ i0.ɵɵadvance();
500
+ i0.ɵɵproperty("ngIf", ctx.showDetails);
501
+ i0.ɵɵadvance(3);
502
+ i0.ɵɵtextInterpolate1(" ", ctx.closeButton, " ");
503
+ } }, dependencies: [CommonModule, i2.NgClass, i2.NgIf, MatIcon, MatIconButton, MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective, TdDialogStatusDirective], styles: [".mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--cv-theme-surface-container-lowest);border-radius:12px} .td-status-dialog-title{align-items:flex-start;display:inline-flex;justify-content:space-between;width:100%;-webkit-font-smoothing:antialiased} .td-status-dialog-title :first-child{padding-right:40px} [mat-icon-button].td-status-dialog__icon-button{--mdc-icon-button-state-layer-size: 40px;padding:8px;position:absolute;right:8px;top:10px} .td-status-dialog___button{border-radius:8px} .mat-mdc-dialog-container .mdc-dialog__title{padding:18px 16px;line-height:var(--mdc-dialog-supporting-text-line-height)} .mat-mdc-dialog-container .mdc-dialog__title:before{display:none} .mat-mdc-icon-button .mat-mdc-button-base{padding:8px} .mdc-dialog .mdc-dialog__content{padding:0 16px;-webkit-font-smoothing:antialiased} .mdc-dialog__actions{padding:16px}.td-status-dialog[_ngcontent-%COMP%]{width:auto}.td-status-dialog[_ngcontent-%COMP%]:before{padding:14px 16px 0}.td-status-dialog[_ngcontent-%COMP%] .td-dialog-message[_ngcontent-%COMP%]{font-feature-settings:\"clig\" off,\"liga\" off;color:var(--cv-theme-on-surface-variant);line-height:var(--mdc-dialog-supporting-text-line-height)}.td-status-dialog-state[_ngcontent-%COMP%]{padding:14px 16px 0}.td-status-dialog-state[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:var(--mat-toolbar-title-text-line-height);height:var(--mat-toolbar-title-text-line-height);width:var(--mat-toolbar-title-text-line-height);font-variation-settings:\"FILL\" 1}.td-status-dialog-state.error[_ngcontent-%COMP%]{background-color:var(--cv-theme-negative-8)}.td-status-dialog-state.error[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--cv-theme-negative)}.td-status-dialog-state.positive[_ngcontent-%COMP%]{background-color:var(--cv-theme-positive-8)}.td-status-dialog-state.positive[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--cv-theme-positive)}.td-status-dialog-state.warning[_ngcontent-%COMP%]{background-color:var(--cv-theme-caution-8)}.td-status-dialog-state.warning[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--cv-theme-caution)}.td-status-dialog__toggle-details[_ngcontent-%COMP%]{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:flex;font-size:var(--mat-expansion-container-text-size);letter-spacing:.25px;line-height:var(--mat-expansion-container-text-line-height);padding:16px 0}.td-status-dialog__arrow-icon[_ngcontent-%COMP%]{margin-top:2px}.td-status-dialog__arrow-icon.open[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .25s ease-out}.td-status-dialog__arrow-icon.close[_ngcontent-%COMP%]{transform:rotate(180deg);transition:transform .25s ease-in}@media screen and (max-width: 480px){[_nghost-%COMP%] .td-status-dialog-state[_ngcontent-%COMP%]{padding:4px}[_nghost-%COMP%] .td-status-dialog-state[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .td-status-dialog-state.error[_ngcontent-%COMP%]{background-color:var(--cv-theme-negative)}[_nghost-%COMP%] .td-status-dialog-state.positive[_ngcontent-%COMP%]{background-color:var(--cv-theme-positive)}[_nghost-%COMP%] .td-status-dialog-state.warning[_ngcontent-%COMP%]{background-color:var(--cv-theme-caution)}}"] });
251
504
  }
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdStatusDialogComponent, decorators: [{
253
- type: Component,
254
- args: [{ selector: 'td-status-dialog', template: "<td-dialog class=\"td-status-dialog\">\n <!-- Displays the icon and background color according to the state -->\n <div tdDialogStatus class=\"td-status-dialog-state\" [ngClass]=\"state\">\n <mat-icon>\n {{ getStatusIcon() }}\n </mat-icon>\n </div>\n <!-- Dialog title and the close icon -->\n <ng-container tdDialogTitle>\n <div class=\"td-status-dialog-title\">\n <span *ngIf=\"title\" class=\"\">{{ title }}</span>\n <button\n mat-icon-button\n class=\"td-status-dialog__icon-button\"\n (click)=\"close()\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n <!-- Dialog content with additonal information -->\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">\n {{ message }}\n <div\n class=\"td-status-dialog__toggle-details\"\n role=\"button\"\n tabindex=\"0\"\n *ngIf=\"details\"\n (click)=\"toggleDetails()\"\n (keydown.enter)=\"toggleDetails()\"\n >\n {{\n showDetails\n ? detailsLabels?.hideDetailsLabel\n : detailsLabels?.showDetailsLabel\n }}\n <mat-icon\n [ngClass]=\"{\n 'td-status-dialog__arrow-icon': true,\n close: !showDetails,\n open: showDetails\n }\"\n >arrow_drop_down</mat-icon\n >\n </div>\n <div *ngIf=\"showDetails\">{{ details }}</div>\n </span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-raised-button\n color=\"primary\"\n class=\"td-status-dialog___button\"\n (click)=\"close()\"\n >\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: ["::ng-deep .mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--cv-theme-surface-container-lowest);border-radius:12px}::ng-deep .td-status-dialog-title{align-items:flex-start;display:inline-flex;justify-content:space-between;width:100%;-webkit-font-smoothing:antialiased}::ng-deep .td-status-dialog-title :first-child{padding-right:40px}::ng-deep [mat-icon-button].td-status-dialog__icon-button{--mdc-icon-button-state-layer-size: 40px;padding:8px;position:absolute;right:8px;top:10px}::ng-deep .td-status-dialog___button{border-radius:8px}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title{padding:18px 16px;line-height:var(--mdc-dialog-supporting-text-line-height)}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title:before{display:none}::ng-deep .mat-mdc-icon-button .mat-mdc-button-base{padding:8px}::ng-deep .mdc-dialog .mdc-dialog__content{padding:0 16px;-webkit-font-smoothing:antialiased}::ng-deep .mdc-dialog__actions{padding:16px}.td-status-dialog{width:auto}.td-status-dialog:before{padding:14px 16px 0}.td-status-dialog .td-dialog-message{font-feature-settings:\"clig\" off,\"liga\" off;color:var(--cv-theme-on-surface-variant);line-height:var(--mdc-dialog-supporting-text-line-height)}.td-status-dialog-state{padding:14px 16px 0}.td-status-dialog-state .mat-icon{font-size:var(--mat-toolbar-title-text-line-height);height:var(--mat-toolbar-title-text-line-height);width:var(--mat-toolbar-title-text-line-height);font-variation-settings:\"FILL\" 1}.td-status-dialog-state.error{background-color:var(--cv-theme-negative-8)}.td-status-dialog-state.error .mat-icon{color:var(--cv-theme-negative)}.td-status-dialog-state.positive{background-color:var(--cv-theme-positive-8)}.td-status-dialog-state.positive .mat-icon{color:var(--cv-theme-positive)}.td-status-dialog-state.warning{background-color:var(--cv-theme-caution-8)}.td-status-dialog-state.warning .mat-icon{color:var(--cv-theme-caution)}.td-status-dialog__toggle-details{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:flex;font-size:var(--mat-expansion-container-text-size);letter-spacing:.25px;line-height:var(--mat-expansion-container-text-line-height);padding:16px 0}.td-status-dialog__arrow-icon{margin-top:2px}.td-status-dialog__arrow-icon.open{transform:rotate(0);transition:transform .25s ease-out}.td-status-dialog__arrow-icon.close{transform:rotate(180deg);transition:transform .25s ease-in}@media screen and (max-width: 480px){:host .td-status-dialog-state{padding:4px}:host .td-status-dialog-state .mat-icon{display:none}:host .td-status-dialog-state.error{background-color:var(--cv-theme-negative)}:host .td-status-dialog-state.positive{background-color:var(--cv-theme-positive)}:host .td-status-dialog-state.warning{background-color:var(--cv-theme-caution)}}\n"] }]
255
- }], ctorParameters: () => [{ type: i1.MatDialogRef }] });
505
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdStatusDialogComponent, [{
506
+ type: Component,
507
+ args: [{ selector: 'td-status-dialog', imports: [CommonModule, MatIcon, MatIconButton, MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective, TdDialogStatusDirective], template: "<td-dialog class=\"td-status-dialog\">\n <!-- Displays the icon and background color according to the state -->\n <div tdDialogStatus class=\"td-status-dialog-state\" [ngClass]=\"state\">\n <mat-icon>\n {{ getStatusIcon() }}\n </mat-icon>\n </div>\n <!-- Dialog title and the close icon -->\n <ng-container tdDialogTitle>\n <div class=\"td-status-dialog-title\">\n <span *ngIf=\"title\" class=\"\">{{ title }}</span>\n <button\n mat-icon-button\n class=\"td-status-dialog__icon-button\"\n (click)=\"close()\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n <!-- Dialog content with additonal information -->\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">\n {{ message }}\n <div\n class=\"td-status-dialog__toggle-details\"\n role=\"button\"\n tabindex=\"0\"\n *ngIf=\"details\"\n (click)=\"toggleDetails()\"\n (keydown.enter)=\"toggleDetails()\"\n >\n {{\n showDetails\n ? detailsLabels?.hideDetailsLabel\n : detailsLabels?.showDetailsLabel\n }}\n <mat-icon\n [ngClass]=\"{\n 'td-status-dialog__arrow-icon': true,\n close: !showDetails,\n open: showDetails\n }\"\n >arrow_drop_down</mat-icon\n >\n </div>\n <div *ngIf=\"showDetails\">{{ details }}</div>\n </span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-raised-button\n color=\"primary\"\n class=\"td-status-dialog___button\"\n (click)=\"close()\"\n >\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: ["::ng-deep .mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--cv-theme-surface-container-lowest);border-radius:12px}::ng-deep .td-status-dialog-title{align-items:flex-start;display:inline-flex;justify-content:space-between;width:100%;-webkit-font-smoothing:antialiased}::ng-deep .td-status-dialog-title :first-child{padding-right:40px}::ng-deep [mat-icon-button].td-status-dialog__icon-button{--mdc-icon-button-state-layer-size: 40px;padding:8px;position:absolute;right:8px;top:10px}::ng-deep .td-status-dialog___button{border-radius:8px}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title{padding:18px 16px;line-height:var(--mdc-dialog-supporting-text-line-height)}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title:before{display:none}::ng-deep .mat-mdc-icon-button .mat-mdc-button-base{padding:8px}::ng-deep .mdc-dialog .mdc-dialog__content{padding:0 16px;-webkit-font-smoothing:antialiased}::ng-deep .mdc-dialog__actions{padding:16px}.td-status-dialog{width:auto}.td-status-dialog:before{padding:14px 16px 0}.td-status-dialog .td-dialog-message{font-feature-settings:\"clig\" off,\"liga\" off;color:var(--cv-theme-on-surface-variant);line-height:var(--mdc-dialog-supporting-text-line-height)}.td-status-dialog-state{padding:14px 16px 0}.td-status-dialog-state .mat-icon{font-size:var(--mat-toolbar-title-text-line-height);height:var(--mat-toolbar-title-text-line-height);width:var(--mat-toolbar-title-text-line-height);font-variation-settings:\"FILL\" 1}.td-status-dialog-state.error{background-color:var(--cv-theme-negative-8)}.td-status-dialog-state.error .mat-icon{color:var(--cv-theme-negative)}.td-status-dialog-state.positive{background-color:var(--cv-theme-positive-8)}.td-status-dialog-state.positive .mat-icon{color:var(--cv-theme-positive)}.td-status-dialog-state.warning{background-color:var(--cv-theme-caution-8)}.td-status-dialog-state.warning .mat-icon{color:var(--cv-theme-caution)}.td-status-dialog__toggle-details{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:flex;font-size:var(--mat-expansion-container-text-size);letter-spacing:.25px;line-height:var(--mat-expansion-container-text-line-height);padding:16px 0}.td-status-dialog__arrow-icon{margin-top:2px}.td-status-dialog__arrow-icon.open{transform:rotate(0);transition:transform .25s ease-out}.td-status-dialog__arrow-icon.close{transform:rotate(180deg);transition:transform .25s ease-in}@media screen and (max-width: 480px){:host .td-status-dialog-state{padding:4px}:host .td-status-dialog-state .mat-icon{display:none}:host .td-status-dialog-state.error{background-color:var(--cv-theme-negative)}:host .td-status-dialog-state.positive{background-color:var(--cv-theme-positive)}:host .td-status-dialog-state.warning{background-color:var(--cv-theme-caution)}}\n"] }]
508
+ }], () => [{ type: i1.MatDialogRef }], null); })();
509
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdStatusDialogComponent, { className: "TdStatusDialogComponent", filePath: "status-dialog/status-dialog.component.ts", lineNumber: 21 }); })();
256
510
 
257
511
  class TdDialogService {
258
512
  _document;
@@ -447,16 +701,17 @@ class TdDialogService {
447
701
  }
448
702
  return dialogRef;
449
703
  }
450
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogService, deps: [{ token: DOCUMENT }, { token: i1.MatDialog }, { token: i2$2.DragDrop }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
451
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogService });
704
+ static ɵfac = function TdDialogService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdDialogService)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(i1.MatDialog), i0.ɵɵinject(i2$1.DragDrop), i0.ɵɵinject(i0.RendererFactory2)); };
705
+ static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TdDialogService, factory: TdDialogService.ɵfac });
452
706
  }
453
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdDialogService, decorators: [{
454
- type: Injectable
455
- }], ctorParameters: () => [{ type: undefined, decorators: [{
456
- type: Inject,
457
- args: [DOCUMENT]
458
- }] }, { type: i1.MatDialog }, { type: i2$2.DragDrop }, { type: i0.RendererFactory2 }] });
707
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDialogService, [{
708
+ type: Injectable
709
+ }], () => [{ type: undefined, decorators: [{
710
+ type: Inject,
711
+ args: [DOCUMENT]
712
+ }] }, { type: i1.MatDialog }, { type: i2$1.DragDrop }, { type: i0.RendererFactory2 }], null); })();
459
713
 
714
+ const _c0 = ["*"];
460
715
  class TdWindowDialogComponent {
461
716
  toolbarColor;
462
717
  docked = false;
@@ -469,27 +724,62 @@ class TdWindowDialogComponent {
469
724
  toggleDockedState() {
470
725
  this.dockToggled.emit(this.docked);
471
726
  }
472
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdWindowDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
473
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: TdWindowDialogComponent, selector: "td-window-dialog", inputs: { toolbarColor: "toolbarColor", docked: "docked", title: "title", toggleDockedStateLabel: "toggleDockedStateLabel", closeLabel: "closeLabel" }, outputs: { dockToggled: "dockToggled", closed: "closed" }, ngImport: i0, template: "<mat-toolbar\n [color]=\"toolbarColor\"\n class=\"td-window-dialog-toolbar\"\n [style.min-height.px]=\"toolbarHeight\"\n [style.cursor]=\"docked ? 'inherit' : 'move'\"\n>\n <mat-toolbar-row [style.height.px]=\"toolbarHeight\">\n <div layout=\"row\" layout-align=\"start center\" flex>\n <span class=\"mat-title td-window-dialog-title truncate\" flex>\n {{ title }}\n </span>\n\n <button\n mat-icon-button\n [matTooltip]=\"toggleDockedStateLabel ?? ''\"\n (click)=\"toggleDockedState()\"\n >\n <mat-icon [attr.aria-label]=\"toggleDockedStateLabel\"\n >dock_to_right</mat-icon\n >\n </button>\n\n <button\n mat-icon-button\n [matTooltip]=\"closeLabel ?? ''\"\n (click)=\"closed.emit()\"\n class=\"td-window-dialog-close\"\n [attr.data-test]=\"'close-button'\"\n >\n <mat-icon [attr.aria-label]=\"closeLabel\">close</mat-icon>\n </button>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n<ng-content></ng-content>\n", styles: [":host{height:100%;display:flex;flex-direction:column}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.td-window-dialog-toolbar{background:none}.td-window-dialog-title{margin-bottom:0}.td-window-dialog-close{margin-right:-8px}::ng-deep .td-window-dialog .mat-dialog-container{padding:0}\n"], dependencies: [{ kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i2$3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i2$3.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { kind: "directive", type: i3$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
727
+ static ɵfac = function TdWindowDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdWindowDialogComponent)(); };
728
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdWindowDialogComponent, selectors: [["td-window-dialog"]], inputs: { toolbarColor: "toolbarColor", docked: "docked", title: "title", toggleDockedStateLabel: "toggleDockedStateLabel", closeLabel: "closeLabel" }, outputs: { dockToggled: "dockToggled", closed: "closed" }, ngContentSelectors: _c0, decls: 12, vars: 13, consts: [[1, "td-window-dialog-toolbar", 3, "color"], ["layout", "row", "layout-align", "start center", "flex", ""], ["flex", "", 1, "mat-title", "td-window-dialog-title", "truncate"], ["mat-icon-button", "", 3, "click", "matTooltip"], ["mat-icon-button", "", 1, "td-window-dialog-close", 3, "click", "matTooltip"]], template: function TdWindowDialogComponent_Template(rf, ctx) { if (rf & 1) {
729
+ i0.ɵɵprojectionDef();
730
+ i0.ɵɵelementStart(0, "mat-toolbar", 0)(1, "mat-toolbar-row")(2, "div", 1)(3, "span", 2);
731
+ i0.ɵɵtext(4);
732
+ i0.ɵɵelementEnd();
733
+ i0.ɵɵelementStart(5, "button", 3);
734
+ i0.ɵɵlistener("click", function TdWindowDialogComponent_Template_button_click_5_listener() { return ctx.toggleDockedState(); });
735
+ i0.ɵɵelementStart(6, "mat-icon");
736
+ i0.ɵɵtext(7, "dock_to_right");
737
+ i0.ɵɵelementEnd()();
738
+ i0.ɵɵelementStart(8, "button", 4);
739
+ i0.ɵɵlistener("click", function TdWindowDialogComponent_Template_button_click_8_listener() { return ctx.closed.emit(); });
740
+ i0.ɵɵelementStart(9, "mat-icon");
741
+ i0.ɵɵtext(10, "close");
742
+ i0.ɵɵelementEnd()()()()();
743
+ i0.ɵɵprojection(11);
744
+ } if (rf & 2) {
745
+ let tmp_5_0;
746
+ let tmp_7_0;
747
+ i0.ɵɵstyleProp("min-height", ctx.toolbarHeight, "px")("cursor", ctx.docked ? "inherit" : "move");
748
+ i0.ɵɵproperty("color", ctx.toolbarColor);
749
+ i0.ɵɵadvance();
750
+ i0.ɵɵstyleProp("height", ctx.toolbarHeight, "px");
751
+ i0.ɵɵadvance(3);
752
+ i0.ɵɵtextInterpolate1(" ", ctx.title, " ");
753
+ i0.ɵɵadvance();
754
+ i0.ɵɵproperty("matTooltip", (tmp_5_0 = ctx.toggleDockedStateLabel) !== null && tmp_5_0 !== undefined ? tmp_5_0 : "");
755
+ i0.ɵɵadvance();
756
+ i0.ɵɵattribute("aria-label", ctx.toggleDockedStateLabel);
757
+ i0.ɵɵadvance(2);
758
+ i0.ɵɵproperty("matTooltip", (tmp_7_0 = ctx.closeLabel) !== null && tmp_7_0 !== undefined ? tmp_7_0 : "");
759
+ i0.ɵɵattribute("data-test", "close-button");
760
+ i0.ɵɵadvance();
761
+ i0.ɵɵattribute("aria-label", ctx.closeLabel);
762
+ } }, dependencies: [MatIcon, MatIconButton, MatToolbar, MatToolbarRow, MatTooltip], styles: ["[_nghost-%COMP%]{height:100%;display:flex;flex-direction:column}.truncate[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.td-window-dialog-toolbar[_ngcontent-%COMP%]{background:none}.td-window-dialog-title[_ngcontent-%COMP%]{margin-bottom:0}.td-window-dialog-close[_ngcontent-%COMP%]{margin-right:-8px} .td-window-dialog .mat-dialog-container{padding:0}"], changeDetection: 0 });
474
763
  }
475
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdWindowDialogComponent, decorators: [{
476
- type: Component,
477
- args: [{ selector: 'td-window-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar\n [color]=\"toolbarColor\"\n class=\"td-window-dialog-toolbar\"\n [style.min-height.px]=\"toolbarHeight\"\n [style.cursor]=\"docked ? 'inherit' : 'move'\"\n>\n <mat-toolbar-row [style.height.px]=\"toolbarHeight\">\n <div layout=\"row\" layout-align=\"start center\" flex>\n <span class=\"mat-title td-window-dialog-title truncate\" flex>\n {{ title }}\n </span>\n\n <button\n mat-icon-button\n [matTooltip]=\"toggleDockedStateLabel ?? ''\"\n (click)=\"toggleDockedState()\"\n >\n <mat-icon [attr.aria-label]=\"toggleDockedStateLabel\"\n >dock_to_right</mat-icon\n >\n </button>\n\n <button\n mat-icon-button\n [matTooltip]=\"closeLabel ?? ''\"\n (click)=\"closed.emit()\"\n class=\"td-window-dialog-close\"\n [attr.data-test]=\"'close-button'\"\n >\n <mat-icon [attr.aria-label]=\"closeLabel\">close</mat-icon>\n </button>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n<ng-content></ng-content>\n", styles: [":host{height:100%;display:flex;flex-direction:column}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.td-window-dialog-toolbar{background:none}.td-window-dialog-title{margin-bottom:0}.td-window-dialog-close{margin-right:-8px}::ng-deep .td-window-dialog .mat-dialog-container{padding:0}\n"] }]
478
- }], propDecorators: { toolbarColor: [{
479
- type: Input
480
- }], docked: [{
481
- type: Input
482
- }], title: [{
483
- type: Input
484
- }], toggleDockedStateLabel: [{
485
- type: Input
486
- }], closeLabel: [{
487
- type: Input
488
- }], dockToggled: [{
489
- type: Output
490
- }], closed: [{
491
- type: Output
492
- }] } });
764
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdWindowDialogComponent, [{
765
+ type: Component,
766
+ args: [{ selector: 'td-window-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatIcon, MatIconButton, MatToolbar, MatToolbarRow, MatTooltip], template: "<mat-toolbar\n [color]=\"toolbarColor\"\n class=\"td-window-dialog-toolbar\"\n [style.min-height.px]=\"toolbarHeight\"\n [style.cursor]=\"docked ? 'inherit' : 'move'\"\n>\n <mat-toolbar-row [style.height.px]=\"toolbarHeight\">\n <div layout=\"row\" layout-align=\"start center\" flex>\n <span class=\"mat-title td-window-dialog-title truncate\" flex>\n {{ title }}\n </span>\n\n <button\n mat-icon-button\n [matTooltip]=\"toggleDockedStateLabel ?? ''\"\n (click)=\"toggleDockedState()\"\n >\n <mat-icon [attr.aria-label]=\"toggleDockedStateLabel\"\n >dock_to_right</mat-icon\n >\n </button>\n\n <button\n mat-icon-button\n [matTooltip]=\"closeLabel ?? ''\"\n (click)=\"closed.emit()\"\n class=\"td-window-dialog-close\"\n [attr.data-test]=\"'close-button'\"\n >\n <mat-icon [attr.aria-label]=\"closeLabel\">close</mat-icon>\n </button>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n<ng-content></ng-content>\n", styles: [":host{height:100%;display:flex;flex-direction:column}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.td-window-dialog-toolbar{background:none}.td-window-dialog-title{margin-bottom:0}.td-window-dialog-close{margin-right:-8px}::ng-deep .td-window-dialog .mat-dialog-container{padding:0}\n"] }]
767
+ }], null, { toolbarColor: [{
768
+ type: Input
769
+ }], docked: [{
770
+ type: Input
771
+ }], title: [{
772
+ type: Input
773
+ }], toggleDockedStateLabel: [{
774
+ type: Input
775
+ }], closeLabel: [{
776
+ type: Input
777
+ }], dockToggled: [{
778
+ type: Output
779
+ }], closed: [{
780
+ type: Output
781
+ }] }); })();
782
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdWindowDialogComponent, { className: "TdWindowDialogComponent", filePath: "window-dialog/window-dialog.component.ts", lineNumber: 21 }); })();
493
783
 
494
784
  const TD_DIALOGS = [
495
785
  TdAlertDialogComponent,
@@ -506,67 +796,56 @@ const TD_DIALOGS = [
506
796
  TdPromptDialogComponent,
507
797
  TdStatusDialogComponent,
508
798
  ];
799
+ /**
800
+ * @deprecated This module is deprecated and will be removed in future versions.
801
+ * Please migrate to using standalone components as soon as possible.
802
+ */
509
803
  class CovalentDialogsModule {
510
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentDialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
511
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: CovalentDialogsModule, declarations: [TdAlertDialogComponent,
512
- TdConfirmDialogComponent,
513
- TdPromptDialogComponent,
514
- TdDialogComponent,
515
- TdDialogStatusDirective,
516
- TdDialogTitleDirective,
517
- TdDialogActionsDirective,
518
- TdDialogContentDirective,
519
- TdWindowDialogComponent,
520
- TdAlertDialogComponent,
521
- TdConfirmDialogComponent,
522
- TdPromptDialogComponent,
523
- TdStatusDialogComponent], imports: [FormsModule,
524
- CommonModule,
525
- MatDialogModule,
526
- MatInputModule,
527
- MatButtonModule,
528
- MatToolbarModule,
529
- MatTooltipModule,
530
- MatIconModule], exports: [TdAlertDialogComponent,
804
+ static ɵfac = function CovalentDialogsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CovalentDialogsModule)(); };
805
+ static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CovalentDialogsModule });
806
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [TdDialogService], imports: [TdAlertDialogComponent,
531
807
  TdConfirmDialogComponent,
532
808
  TdPromptDialogComponent,
533
809
  TdDialogComponent,
534
- TdDialogStatusDirective,
535
- TdDialogTitleDirective,
536
- TdDialogActionsDirective,
537
- TdDialogContentDirective,
538
810
  TdWindowDialogComponent,
539
811
  TdAlertDialogComponent,
540
812
  TdConfirmDialogComponent,
541
813
  TdPromptDialogComponent,
542
814
  TdStatusDialogComponent] });
543
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentDialogsModule, providers: [TdDialogService], imports: [FormsModule,
544
- CommonModule,
545
- MatDialogModule,
546
- MatInputModule,
547
- MatButtonModule,
548
- MatToolbarModule,
549
- MatTooltipModule,
550
- MatIconModule] });
551
815
  }
552
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentDialogsModule, decorators: [{
553
- type: NgModule,
554
- args: [{
555
- imports: [
556
- FormsModule,
557
- CommonModule,
558
- MatDialogModule,
559
- MatInputModule,
560
- MatButtonModule,
561
- MatToolbarModule,
562
- MatTooltipModule,
563
- MatIconModule,
564
- ],
565
- declarations: [...TD_DIALOGS],
566
- exports: [...TD_DIALOGS],
567
- providers: [TdDialogService],
568
- }]
569
- }] });
816
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentDialogsModule, [{
817
+ type: NgModule,
818
+ args: [{
819
+ imports: [...TD_DIALOGS],
820
+ exports: [...TD_DIALOGS],
821
+ providers: [TdDialogService],
822
+ }]
823
+ }], null, null); })();
824
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentDialogsModule, { imports: [TdAlertDialogComponent,
825
+ TdConfirmDialogComponent,
826
+ TdPromptDialogComponent,
827
+ TdDialogComponent,
828
+ TdDialogStatusDirective,
829
+ TdDialogTitleDirective,
830
+ TdDialogActionsDirective,
831
+ TdDialogContentDirective,
832
+ TdWindowDialogComponent,
833
+ TdAlertDialogComponent,
834
+ TdConfirmDialogComponent,
835
+ TdPromptDialogComponent,
836
+ TdStatusDialogComponent], exports: [TdAlertDialogComponent,
837
+ TdConfirmDialogComponent,
838
+ TdPromptDialogComponent,
839
+ TdDialogComponent,
840
+ TdDialogStatusDirective,
841
+ TdDialogTitleDirective,
842
+ TdDialogActionsDirective,
843
+ TdDialogContentDirective,
844
+ TdWindowDialogComponent,
845
+ TdAlertDialogComponent,
846
+ TdConfirmDialogComponent,
847
+ TdPromptDialogComponent,
848
+ TdStatusDialogComponent] }); })();
570
849
 
571
850
  var corners;
572
851
  (function (corners) {