@tuki-io/tuki-widgets 0.0.219-dev.40 → 0.0.219-dev.41

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 (221) hide show
  1. package/README.md +24 -24
  2. package/esm2020/contact-center/cc-readiness/cc-readiness.module.mjs +1 -1
  3. package/esm2020/contact-center/cc-readiness/cc-readiness.service.mjs +1 -1
  4. package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +3 -3
  5. package/esm2020/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.mjs +3 -3
  6. package/esm2020/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.mjs +2 -2
  7. package/esm2020/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +17 -17
  8. package/esm2020/lib/widgets.component.mjs +9 -9
  9. package/esm2020/lib/widgets.module.mjs +1 -1
  10. package/esm2020/lib/widgets.service.mjs +1 -1
  11. package/esm2020/locations/public-api.mjs +1 -1
  12. package/esm2020/locations/src/app.constants.mjs +1 -1
  13. package/esm2020/locations/src/locations.component.mjs +3 -3
  14. package/esm2020/locations/src/locations.module.mjs +1 -1
  15. package/esm2020/locations/src/material.module.mjs +1 -1
  16. package/esm2020/locations/src/services/api.service.mjs +1 -1
  17. package/esm2020/locations/src/services/locations.service.mjs +1 -1
  18. package/esm2020/locations/src/types/location.mjs +1 -1
  19. package/esm2020/locations/src/utils/app-loader/app-loader.mjs +3 -3
  20. package/esm2020/meetings/src/app.constants.mjs +1 -1
  21. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +3 -3
  22. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +3 -3
  23. package/esm2020/meetings/src/meetings.component.mjs +3 -3
  24. package/esm2020/meetings/src/meetings.module.mjs +1 -1
  25. package/esm2020/meetings/src/services/live-meetings.service.mjs +1 -1
  26. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +1 -1
  27. package/esm2020/meetings/src/types/live-meeting.mjs +1 -1
  28. package/esm2020/meetings/src/types/meeting-space.mjs +1 -1
  29. package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +3 -3
  30. package/esm2020/public-api.mjs +1 -1
  31. package/esm2020/user-creation/src/app.constants.mjs +1 -1
  32. package/esm2020/user-creation/src/classes/notification.mjs +1 -1
  33. package/esm2020/user-creation/src/classes/site.mjs +1 -1
  34. package/esm2020/user-creation/src/environments/environment.mjs +1 -1
  35. package/esm2020/user-creation/src/interfaces/user-creation-wizard.interfaces.mjs +1 -1
  36. package/esm2020/user-creation/src/shared/components/notification/notification.component.mjs +3 -3
  37. package/esm2020/user-creation/src/shared/pipes/truncate.pipe.mjs +1 -1
  38. package/esm2020/user-creation/src/shared/services/notification.service.mjs +1 -1
  39. package/esm2020/user-creation/src/shared/services/user-creation-api.service.mjs +1 -1
  40. package/esm2020/user-creation/src/shared/services/utils.mjs +1 -1
  41. package/esm2020/user-creation/src/utils/app-loader/app-loader.mjs +3 -3
  42. package/esm2020/user-creation/src/utils/build-savable-end-user.mjs +1 -1
  43. package/esm2020/user-creation/src/utils/device-default-prefix.mjs +1 -1
  44. package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +1 -1
  45. package/esm2020/user-creation/src/utils/device-name-validation.mjs +1 -1
  46. package/esm2020/user-creation/src/utils/model.mjs +1 -1
  47. package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +1 -1
  48. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +3 -3
  49. package/esm2020/user-device-manage/public-api.mjs +1 -1
  50. package/esm2020/user-device-manage/src/app.constants.mjs +1 -1
  51. package/esm2020/user-device-manage/src/classes/device.mjs +1 -1
  52. package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +1 -1
  53. package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +1 -1
  54. package/esm2020/user-device-manage/src/classes/line-association.mjs +1 -1
  55. package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +1 -1
  56. package/esm2020/user-device-manage/src/classes/line-directory.mjs +1 -1
  57. package/esm2020/user-device-manage/src/classes/line.mjs +1 -1
  58. package/esm2020/user-device-manage/src/classes/notification.mjs +1 -1
  59. package/esm2020/user-device-manage/src/classes/recording-options.mjs +1 -1
  60. package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
  61. package/esm2020/user-device-manage/src/classes/site-defaults.mjs +1 -1
  62. package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +1 -1
  63. package/esm2020/user-device-manage/src/classes/types.mjs +1 -1
  64. package/esm2020/user-device-manage/src/common-functions.mjs +1 -1
  65. package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +3 -3
  66. package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +3 -3
  67. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +3 -3
  68. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +3 -3
  69. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +1 -1
  70. package/esm2020/user-device-manage/src/device-info/device-info.component.mjs +3 -3
  71. package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +2 -2
  72. package/esm2020/user-device-manage/src/environments/environment.mjs +1 -1
  73. package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +1 -1
  74. package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  75. package/esm2020/user-device-manage/src/material.module.mjs +1 -1
  76. package/esm2020/user-device-manage/src/notifications/notification.component.mjs +3 -3
  77. package/esm2020/user-device-manage/src/pipes/mac-address.pipe.mjs +1 -1
  78. package/esm2020/user-device-manage/src/services/api.service.mjs +1 -1
  79. package/esm2020/user-device-manage/src/services/device.service.mjs +1 -1
  80. package/esm2020/user-device-manage/src/services/dns.service.mjs +1 -1
  81. package/esm2020/user-device-manage/src/services/line.service.mjs +1 -1
  82. package/esm2020/user-device-manage/src/services/notification.service.mjs +1 -1
  83. package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  84. package/esm2020/user-device-manage/src/services/site-settings.service.mjs +1 -1
  85. package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +1 -1
  86. package/esm2020/user-device-manage/src/services/user.service.mjs +1 -1
  87. package/esm2020/user-device-manage/src/services/utils.service.mjs +1 -1
  88. package/esm2020/user-device-manage/src/services/validation.service.mjs +1 -1
  89. package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +3 -3
  90. package/esm2020/user-manage/public-api.mjs +1 -1
  91. package/esm2020/user-manage/src/app.constants.mjs +1 -1
  92. package/esm2020/user-manage/src/classes/device.mjs +1 -1
  93. package/esm2020/user-manage/src/classes/line-association-interface.mjs +1 -1
  94. package/esm2020/user-manage/src/classes/line-association.mjs +1 -1
  95. package/esm2020/user-manage/src/classes/line-call-info-display.mjs +1 -1
  96. package/esm2020/user-manage/src/classes/line-directory.mjs +1 -1
  97. package/esm2020/user-manage/src/classes/line.mjs +1 -1
  98. package/esm2020/user-manage/src/classes/notification.mjs +1 -1
  99. package/esm2020/user-manage/src/classes/pagination.mjs +1 -1
  100. package/esm2020/user-manage/src/classes/recording-options.mjs +1 -1
  101. package/esm2020/user-manage/src/classes/simplified-user.mjs +1 -1
  102. package/esm2020/user-manage/src/classes/table-data.mjs +1 -1
  103. package/esm2020/user-manage/src/classes/translation-pattern.mjs +1 -1
  104. package/esm2020/user-manage/src/classes/user-list.mjs +1 -1
  105. package/esm2020/user-manage/src/common-functions.mjs +1 -1
  106. package/esm2020/user-manage/src/device-list/device-list.component.mjs +3 -3
  107. package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +3 -3
  108. package/esm2020/user-manage/src/environments/environment.mjs +1 -1
  109. package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +1 -1
  110. package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  111. package/esm2020/user-manage/src/material.module.mjs +1 -1
  112. package/esm2020/user-manage/src/notifications/notification.component.mjs +3 -3
  113. package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +1 -1
  114. package/esm2020/user-manage/src/services/api.service.mjs +1 -1
  115. package/esm2020/user-manage/src/services/dcp-api.service.mjs +1 -1
  116. package/esm2020/user-manage/src/services/dns.service.mjs +1 -1
  117. package/esm2020/user-manage/src/services/line.service.mjs +1 -1
  118. package/esm2020/user-manage/src/services/notification.service.mjs +1 -1
  119. package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  120. package/esm2020/user-manage/src/services/site-settings.service.mjs +1 -1
  121. package/esm2020/user-manage/src/services/sorting-utils.service.mjs +1 -1
  122. package/esm2020/user-manage/src/services/user.service.mjs +1 -1
  123. package/esm2020/user-manage/src/services/utils.service.mjs +1 -1
  124. package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +3 -3
  125. package/esm2020/user-manage/src/user-info/user-info.component.mjs +3 -3
  126. package/esm2020/user-manage/src/user-manage-widget.component.mjs +2 -2
  127. package/esm2020/user-manage/src/user-manage.module.mjs +1 -1
  128. package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +3 -3
  129. package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +3 -3
  130. package/esm2020/users-list/public-api.mjs +1 -1
  131. package/esm2020/users-list/src/app.constants.mjs +1 -1
  132. package/esm2020/users-list/src/classes/app-location.mjs +1 -1
  133. package/esm2020/users-list/src/classes/device.mjs +1 -1
  134. package/esm2020/users-list/src/classes/line.mjs +1 -1
  135. package/esm2020/users-list/src/classes/move-user.mjs +1 -1
  136. package/esm2020/users-list/src/classes/notification.mjs +1 -1
  137. package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
  138. package/esm2020/users-list/src/classes/table-data.mjs +1 -1
  139. package/esm2020/users-list/src/classes/user-list.mjs +1 -1
  140. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +3 -3
  141. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +3 -3
  142. package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +3 -3
  143. package/esm2020/users-list/src/services/api-webex.service.mjs +1 -1
  144. package/esm2020/users-list/src/services/api.service.mjs +1 -1
  145. package/esm2020/users-list/src/services/dns.service.mjs +1 -1
  146. package/esm2020/users-list/src/services/events-communication.service.mjs +1 -1
  147. package/esm2020/users-list/src/services/notification.service.mjs +1 -1
  148. package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +1 -1
  149. package/esm2020/users-list/src/services/site-settings.service.mjs +1 -1
  150. package/esm2020/users-list/src/services/user.service.mjs +1 -1
  151. package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +3 -3
  152. package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +3 -3
  153. package/esm2020/users-list/src/utils/common-functions.mjs +1 -1
  154. package/esm2020/users-list/src/utils/notifications/notification.component.mjs +3 -3
  155. package/esm2020/users-list/src/utils/utils.service.mjs +1 -1
  156. package/esm2020/workspaces/public-api.mjs +1 -1
  157. package/esm2020/workspaces/src/app.constants.mjs +10 -2
  158. package/esm2020/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.mjs +32 -0
  159. package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +3 -3
  160. package/esm2020/workspaces/src/components/workspaces-filters/workspaces-filters.component.mjs +3 -3
  161. package/esm2020/workspaces/src/components/workspaces-table/workspaces-table.component.mjs +38 -10
  162. package/esm2020/workspaces/src/material.module.mjs +12 -5
  163. package/esm2020/workspaces/src/services/api-webex.service.mjs +14 -0
  164. package/esm2020/workspaces/src/services/api.service.mjs +1 -1
  165. package/esm2020/workspaces/src/services/workspace-detail.service.mjs +1 -1
  166. package/esm2020/workspaces/src/services/workspaces-migration.service.mjs +59 -0
  167. package/esm2020/workspaces/src/services/workspaces.service.mjs +1 -1
  168. package/esm2020/workspaces/src/types/workspace.mjs +1 -1
  169. package/esm2020/workspaces/src/utils/app-loader/app-loader.mjs +3 -3
  170. package/esm2020/workspaces/src/utils/device-icon.mjs +1 -1
  171. package/esm2020/workspaces/src/workspaces.component.mjs +189 -18
  172. package/esm2020/workspaces/src/workspaces.module.mjs +4 -1
  173. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  174. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  175. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +20 -20
  176. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  177. package/fesm2015/tuki-io-tuki-widgets-locations.mjs +4 -4
  178. package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -1
  179. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +8 -8
  180. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  181. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +6 -6
  182. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  183. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
  184. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  185. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +18 -18
  186. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  187. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +12 -12
  188. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  189. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +343 -36
  190. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
  191. package/fesm2015/tuki-io-tuki-widgets.mjs +8 -8
  192. package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -1
  193. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  194. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  195. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +20 -20
  196. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  197. package/fesm2020/tuki-io-tuki-widgets-locations.mjs +4 -4
  198. package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -1
  199. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +8 -8
  200. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  201. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +6 -6
  202. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  203. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
  204. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  205. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +18 -18
  206. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  207. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +12 -12
  208. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  209. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +340 -36
  210. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
  211. package/fesm2020/tuki-io-tuki-widgets.mjs +8 -8
  212. package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -1
  213. package/package.json +1 -1
  214. package/workspaces/src/app.constants.d.ts +8 -0
  215. package/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.d.ts +20 -0
  216. package/workspaces/src/components/workspaces-table/workspaces-table.component.d.ts +10 -3
  217. package/workspaces/src/material.module.d.ts +2 -1
  218. package/workspaces/src/services/api-webex.service.d.ts +6 -0
  219. package/workspaces/src/services/workspaces-migration.service.d.ts +18 -0
  220. package/workspaces/src/workspaces.component.d.ts +20 -6
  221. package/workspaces/src/workspaces.module.d.ts +7 -6
@@ -7,6 +7,7 @@ import { WorkspacesComponent } from './workspaces.component';
7
7
  import { WorkspacesFiltersComponent } from './components/workspaces-filters/workspaces-filters.component';
8
8
  import { WorkspacesTableComponent } from './components/workspaces-table/workspaces-table.component';
9
9
  import { WorkspaceDetailComponent } from './components/workspace-detail/workspace-detail.component';
10
+ import { WorkspaceConfirmDialogComponent } from './components/workspace-confirm-dialog/workspace-confirm-dialog.component';
10
11
  import { AppLoaderComponent } from './utils/app-loader/app-loader';
11
12
  import * as i0 from "@angular/core";
12
13
  export class WorkspacesModule {
@@ -16,6 +17,7 @@ WorkspacesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
16
17
  WorkspacesFiltersComponent,
17
18
  WorkspacesTableComponent,
18
19
  WorkspaceDetailComponent,
20
+ WorkspaceConfirmDialogComponent,
19
21
  AppLoaderComponent], imports: [CommonModule,
20
22
  HttpClientModule,
21
23
  FormsModule,
@@ -32,6 +34,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
34
  WorkspacesFiltersComponent,
33
35
  WorkspacesTableComponent,
34
36
  WorkspaceDetailComponent,
37
+ WorkspaceConfirmDialogComponent,
35
38
  AppLoaderComponent,
36
39
  ],
37
40
  imports: [
@@ -45,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
45
48
  ],
46
49
  }]
47
50
  }] });
48
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29ya3NwYWNlcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dWtpL3dpZGdldHMvd29ya3NwYWNlcy9zcmMvd29ya3NwYWNlcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQ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vYWRlckNvbXBvbmVudCB9IGZyb20gJy4vdXRpbHMvYXBwLWxvYWRlci9hcHAtbG9hZGVyJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBXb3Jrc3BhY2VzQ29tcG9uZW50LFxyXG4gICAgV29ya3NwYWNlc0ZpbHRlcnNDb21wb25lbnQsXHJcbiAgICBXb3Jrc3BhY2VzVGFibGVDb21wb25lbnQsXHJcbiAgICBXb3Jrc3BhY2VEZXRhaWxDb21wb25lbnQsXHJcbiAgICBXb3Jrc3BhY2VDb25maXJtRGlhbG9nQ29tcG9uZW50LFxyXG4gICAgQXBwTG9hZGVyQ29tcG9uZW50LFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgSHR0cENsaWVudE1vZHVsZSxcclxuICAgIEZvcm1zTW9kdWxlLFxyXG4gICAgTWF0ZXJpYWxNb2R1bGUsXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBXb3Jrc3BhY2VzQ29tcG9uZW50LFxyXG4gIF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBXb3Jrc3BhY2VzTW9kdWxlIHsgfVxyXG4iXX0=
@@ -342,10 +342,10 @@ class LicencesRequirementComponent {
342
342
  }
343
343
  }
344
344
  LicencesRequirementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LicencesRequirementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
345
- LicencesRequirementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LicencesRequirementComponent, selector: "cc-licenses-requirement", inputs: { customerId: "customerId", host: "host", token: "token" }, usesOnChanges: true, ngImport: i0, template: "<tk-card title=\"Licenses requirement\">\n <ng-container ngProjectAs=\"card-content\">\n <div\n class=\"widget-body\"\n *ngIf=\"!loading && !error && viewModel; else widgetState\"\n >\n <div class=\"left-section\">\n <mat-select\n [(value)]=\"selectedSummaryIndex\"\n (selectionChange)=\"onFilterChange($event.value)\"\n class=\"filter-select\"\n >\n <mat-option *ngFor=\"let option of filters; index as i\" [value]=\"i\">\n {{ option }}\n </mat-option>\n </mat-select>\n\n <div class=\"chart-section\">\n <div class=\"chart-wrapper\">\n <apx-chart\n [series]=\"viewModel.chartOptions.series\"\n [chart]=\"viewModel.chartOptions.chart\"\n [labels]=\"viewModel.chartOptions.labels\"\n [colors]=\"viewModel.chartOptions.colors\"\n [legend]=\"viewModel.chartOptions.legend\"\n [plotOptions]=\"viewModel.chartOptions.plotOptions\"\n [dataLabels]=\"viewModel.chartOptions.dataLabels\"\n [tooltip]=\"viewModel.chartOptions.tooltip\"\n >\n </apx-chart>\n </div>\n <div class=\"legend\">\n <div class=\"legend-item\" *ngFor=\"let item of viewModel.legendItems\">\n <span\n class=\"legend-marker\"\n [style.backgroundColor]=\"item.color\"\n ></span>\n <span class=\"legend-label\">{{ item.label }}</span>\n <span class=\"legend-value\">{{ item.count | number }}</span>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"divider\" aria-hidden=\"true\"></div>\n\n <div class=\"table-section\">\n <div class=\"lic-table-header\">\n <span>License</span>\n <span>Required</span>\n </div>\n <div class=\"table-row\" *ngFor=\"let row of viewModel.rows\">\n <span>{{ row.label }}</span>\n <span>{{ row.value | number }}</span>\n </div>\n <div class=\"table-row total-row\">\n <span>Total</span>\n <span>{{ viewModel.totalRequired | number }}</span>\n </div>\n </div>\n </div>\n\n <ng-template #widgetState>\n <div class=\"state-message\" *ngIf=\"loading\">\n Loading license requirements\u2026\n </div>\n <div class=\"state-message error\" *ngIf=\"!loading && error\">\n Unable to load license requirements.\n </div>\n <div class=\"state-message\" *ngIf=\"!loading && !error && !viewModel\">\n No license data available.\n </div>\n </ng-template>\n </ng-container>\n</tk-card>\n", styles: ["@import\"https://fonts.googleapis.com/css?family=Poppins:400,100,200,300,500,600,800,700,900\";@import\"https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap\";:host{display:block;width:100%;box-sizing:border-box}.filter-select{font-family:Inter,Inter,sans-serif;font-size:14px;min-width:140px;border:1px solid #e5e7eb;border-radius:.5rem;padding:.5rem .75rem;background-color:#fff}.filter-select:hover{border-color:#d1d5db}:host ::ng-deep .filter-select.mat-mdc-select{border:1px solid #e5e7eb;border-radius:.5rem;background-color:#fff}:host ::ng-deep .filter-select.mat-mdc-select:hover{border-color:#d1d5db}:host ::ng-deep .filter-select.mat-mdc-select.mat-focused{border-color:#16a693}:host ::ng-deep .filter-select .mat-mdc-select-trigger{font-size:14px;padding:.5rem .75rem}:host ::ng-deep .filter-select .mat-mdc-select-value{color:#111827}:host ::ng-deep .filter-select .mat-mdc-select-arrow-wrapper{padding-left:.5rem}.widget-body{display:flex;gap:2.5rem;align-items:flex-start}.left-section{flex:2;display:flex;flex-direction:column;gap:1rem}.chart-section{display:flex;gap:1.5rem;align-items:center}.chart-wrapper{width:220px;min-height:220px;flex-shrink:0}.chart-wrapper apx-chart{width:220px!important;height:220px!important}.legend{display:flex;flex-direction:column;gap:.75rem}.legend-item{display:flex;align-items:center;gap:.5rem;font-family:Inter,Inter,sans-serif;font-size:14px}.legend-marker{width:14px;height:14px;border-radius:50%;display:inline-flex}.legend-label{color:#4b5563}.legend-value{margin-left:auto;font-weight:600;color:#111827}.divider{width:1px;min-height:200px;align-self:stretch;background:#e5e7eb}.table-section{flex:3;display:flex;flex-direction:column;gap:.75rem;font-family:Inter,Inter,sans-serif}.lic-table-header,.table-row{display:flex;justify-content:space-between;font-size:14px}.lic-table-header{font-weight:600;color:#6b7280;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.table-row{color:#111827}.total-row{font-weight:700;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e5e7eb}.state-message{font-family:Inter,Inter,sans-serif;font-size:14px;color:#6b7280}.state-message.error{color:#b91c1c}@media (max-width: 960px){.widget-body{flex-direction:column}.divider{display:none}.chart-section{justify-content:space-between}}:host ::ng-deep .apexcharts-legend{display:none!important}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ChartComponent, selector: "apx-chart", inputs: ["chart", "annotations", "colors", "dataLabels", "series", "stroke", "labels", "legend", "markers", "noData", "fill", "tooltip", "plotOptions", "responsive", "xaxis", "yaxis", "forecastDataPoints", "grid", "states", "title", "subtitle", "theme", "autoUpdateSeries"] }, { kind: "component", type: i3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: CardComponent, selector: "tk-card", inputs: ["title"] }, { kind: "pipe", type: i1$1.DecimalPipe, name: "number" }] });
345
+ LicencesRequirementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LicencesRequirementComponent, selector: "cc-licenses-requirement", inputs: { customerId: "customerId", host: "host", token: "token" }, usesOnChanges: true, ngImport: i0, template: "<tk-card title=\"Licenses requirement\">\r\n <ng-container ngProjectAs=\"card-content\">\r\n <div\r\n class=\"widget-body\"\r\n *ngIf=\"!loading && !error && viewModel; else widgetState\"\r\n >\r\n <div class=\"left-section\">\r\n <mat-select\r\n [(value)]=\"selectedSummaryIndex\"\r\n (selectionChange)=\"onFilterChange($event.value)\"\r\n class=\"filter-select\"\r\n >\r\n <mat-option *ngFor=\"let option of filters; index as i\" [value]=\"i\">\r\n {{ option }}\r\n </mat-option>\r\n </mat-select>\r\n\r\n <div class=\"chart-section\">\r\n <div class=\"chart-wrapper\">\r\n <apx-chart\r\n [series]=\"viewModel.chartOptions.series\"\r\n [chart]=\"viewModel.chartOptions.chart\"\r\n [labels]=\"viewModel.chartOptions.labels\"\r\n [colors]=\"viewModel.chartOptions.colors\"\r\n [legend]=\"viewModel.chartOptions.legend\"\r\n [plotOptions]=\"viewModel.chartOptions.plotOptions\"\r\n [dataLabels]=\"viewModel.chartOptions.dataLabels\"\r\n [tooltip]=\"viewModel.chartOptions.tooltip\"\r\n >\r\n </apx-chart>\r\n </div>\r\n <div class=\"legend\">\r\n <div class=\"legend-item\" *ngFor=\"let item of viewModel.legendItems\">\r\n <span\r\n class=\"legend-marker\"\r\n [style.backgroundColor]=\"item.color\"\r\n ></span>\r\n <span class=\"legend-label\">{{ item.label }}</span>\r\n <span class=\"legend-value\">{{ item.count | number }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"divider\" aria-hidden=\"true\"></div>\r\n\r\n <div class=\"table-section\">\r\n <div class=\"lic-table-header\">\r\n <span>License</span>\r\n <span>Required</span>\r\n </div>\r\n <div class=\"table-row\" *ngFor=\"let row of viewModel.rows\">\r\n <span>{{ row.label }}</span>\r\n <span>{{ row.value | number }}</span>\r\n </div>\r\n <div class=\"table-row total-row\">\r\n <span>Total</span>\r\n <span>{{ viewModel.totalRequired | number }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <ng-template #widgetState>\r\n <div class=\"state-message\" *ngIf=\"loading\">\r\n Loading license requirements\u2026\r\n </div>\r\n <div class=\"state-message error\" *ngIf=\"!loading && error\">\r\n Unable to load license requirements.\r\n </div>\r\n <div class=\"state-message\" *ngIf=\"!loading && !error && !viewModel\">\r\n No license data available.\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</tk-card>\r\n", styles: ["@import\"https://fonts.googleapis.com/css?family=Poppins:400,100,200,300,500,600,800,700,900\";@import\"https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap\";:host{display:block;width:100%;box-sizing:border-box}.filter-select{font-family:Inter,Inter,sans-serif;font-size:14px;min-width:140px;border:1px solid #e5e7eb;border-radius:.5rem;padding:.5rem .75rem;background-color:#fff}.filter-select:hover{border-color:#d1d5db}:host ::ng-deep .filter-select.mat-mdc-select{border:1px solid #e5e7eb;border-radius:.5rem;background-color:#fff}:host ::ng-deep .filter-select.mat-mdc-select:hover{border-color:#d1d5db}:host ::ng-deep .filter-select.mat-mdc-select.mat-focused{border-color:#16a693}:host ::ng-deep .filter-select .mat-mdc-select-trigger{font-size:14px;padding:.5rem .75rem}:host ::ng-deep .filter-select .mat-mdc-select-value{color:#111827}:host ::ng-deep .filter-select .mat-mdc-select-arrow-wrapper{padding-left:.5rem}.widget-body{display:flex;gap:2.5rem;align-items:flex-start}.left-section{flex:2;display:flex;flex-direction:column;gap:1rem}.chart-section{display:flex;gap:1.5rem;align-items:center}.chart-wrapper{width:220px;min-height:220px;flex-shrink:0}.chart-wrapper apx-chart{width:220px!important;height:220px!important}.legend{display:flex;flex-direction:column;gap:.75rem}.legend-item{display:flex;align-items:center;gap:.5rem;font-family:Inter,Inter,sans-serif;font-size:14px}.legend-marker{width:14px;height:14px;border-radius:50%;display:inline-flex}.legend-label{color:#4b5563}.legend-value{margin-left:auto;font-weight:600;color:#111827}.divider{width:1px;min-height:200px;align-self:stretch;background:#e5e7eb}.table-section{flex:3;display:flex;flex-direction:column;gap:.75rem;font-family:Inter,Inter,sans-serif}.lic-table-header,.table-row{display:flex;justify-content:space-between;font-size:14px}.lic-table-header{font-weight:600;color:#6b7280;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.table-row{color:#111827}.total-row{font-weight:700;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e5e7eb}.state-message{font-family:Inter,Inter,sans-serif;font-size:14px;color:#6b7280}.state-message.error{color:#b91c1c}@media (max-width: 960px){.widget-body{flex-direction:column}.divider{display:none}.chart-section{justify-content:space-between}}:host ::ng-deep .apexcharts-legend{display:none!important}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ChartComponent, selector: "apx-chart", inputs: ["chart", "annotations", "colors", "dataLabels", "series", "stroke", "labels", "legend", "markers", "noData", "fill", "tooltip", "plotOptions", "responsive", "xaxis", "yaxis", "forecastDataPoints", "grid", "states", "title", "subtitle", "theme", "autoUpdateSeries"] }, { kind: "component", type: i3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: CardComponent, selector: "tk-card", inputs: ["title"] }, { kind: "pipe", type: i1$1.DecimalPipe, name: "number" }] });
346
346
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LicencesRequirementComponent, decorators: [{
347
347
  type: Component,
348
- args: [{ selector: 'cc-licenses-requirement', template: "<tk-card title=\"Licenses requirement\">\n <ng-container ngProjectAs=\"card-content\">\n <div\n class=\"widget-body\"\n *ngIf=\"!loading && !error && viewModel; else widgetState\"\n >\n <div class=\"left-section\">\n <mat-select\n [(value)]=\"selectedSummaryIndex\"\n (selectionChange)=\"onFilterChange($event.value)\"\n class=\"filter-select\"\n >\n <mat-option *ngFor=\"let option of filters; index as i\" [value]=\"i\">\n {{ option }}\n </mat-option>\n </mat-select>\n\n <div class=\"chart-section\">\n <div class=\"chart-wrapper\">\n <apx-chart\n [series]=\"viewModel.chartOptions.series\"\n [chart]=\"viewModel.chartOptions.chart\"\n [labels]=\"viewModel.chartOptions.labels\"\n [colors]=\"viewModel.chartOptions.colors\"\n [legend]=\"viewModel.chartOptions.legend\"\n [plotOptions]=\"viewModel.chartOptions.plotOptions\"\n [dataLabels]=\"viewModel.chartOptions.dataLabels\"\n [tooltip]=\"viewModel.chartOptions.tooltip\"\n >\n </apx-chart>\n </div>\n <div class=\"legend\">\n <div class=\"legend-item\" *ngFor=\"let item of viewModel.legendItems\">\n <span\n class=\"legend-marker\"\n [style.backgroundColor]=\"item.color\"\n ></span>\n <span class=\"legend-label\">{{ item.label }}</span>\n <span class=\"legend-value\">{{ item.count | number }}</span>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"divider\" aria-hidden=\"true\"></div>\n\n <div class=\"table-section\">\n <div class=\"lic-table-header\">\n <span>License</span>\n <span>Required</span>\n </div>\n <div class=\"table-row\" *ngFor=\"let row of viewModel.rows\">\n <span>{{ row.label }}</span>\n <span>{{ row.value | number }}</span>\n </div>\n <div class=\"table-row total-row\">\n <span>Total</span>\n <span>{{ viewModel.totalRequired | number }}</span>\n </div>\n </div>\n </div>\n\n <ng-template #widgetState>\n <div class=\"state-message\" *ngIf=\"loading\">\n Loading license requirements\u2026\n </div>\n <div class=\"state-message error\" *ngIf=\"!loading && error\">\n Unable to load license requirements.\n </div>\n <div class=\"state-message\" *ngIf=\"!loading && !error && !viewModel\">\n No license data available.\n </div>\n </ng-template>\n </ng-container>\n</tk-card>\n", styles: ["@import\"https://fonts.googleapis.com/css?family=Poppins:400,100,200,300,500,600,800,700,900\";@import\"https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap\";:host{display:block;width:100%;box-sizing:border-box}.filter-select{font-family:Inter,Inter,sans-serif;font-size:14px;min-width:140px;border:1px solid #e5e7eb;border-radius:.5rem;padding:.5rem .75rem;background-color:#fff}.filter-select:hover{border-color:#d1d5db}:host ::ng-deep .filter-select.mat-mdc-select{border:1px solid #e5e7eb;border-radius:.5rem;background-color:#fff}:host ::ng-deep .filter-select.mat-mdc-select:hover{border-color:#d1d5db}:host ::ng-deep .filter-select.mat-mdc-select.mat-focused{border-color:#16a693}:host ::ng-deep .filter-select .mat-mdc-select-trigger{font-size:14px;padding:.5rem .75rem}:host ::ng-deep .filter-select .mat-mdc-select-value{color:#111827}:host ::ng-deep .filter-select .mat-mdc-select-arrow-wrapper{padding-left:.5rem}.widget-body{display:flex;gap:2.5rem;align-items:flex-start}.left-section{flex:2;display:flex;flex-direction:column;gap:1rem}.chart-section{display:flex;gap:1.5rem;align-items:center}.chart-wrapper{width:220px;min-height:220px;flex-shrink:0}.chart-wrapper apx-chart{width:220px!important;height:220px!important}.legend{display:flex;flex-direction:column;gap:.75rem}.legend-item{display:flex;align-items:center;gap:.5rem;font-family:Inter,Inter,sans-serif;font-size:14px}.legend-marker{width:14px;height:14px;border-radius:50%;display:inline-flex}.legend-label{color:#4b5563}.legend-value{margin-left:auto;font-weight:600;color:#111827}.divider{width:1px;min-height:200px;align-self:stretch;background:#e5e7eb}.table-section{flex:3;display:flex;flex-direction:column;gap:.75rem;font-family:Inter,Inter,sans-serif}.lic-table-header,.table-row{display:flex;justify-content:space-between;font-size:14px}.lic-table-header{font-weight:600;color:#6b7280;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.table-row{color:#111827}.total-row{font-weight:700;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e5e7eb}.state-message{font-family:Inter,Inter,sans-serif;font-size:14px;color:#6b7280}.state-message.error{color:#b91c1c}@media (max-width: 960px){.widget-body{flex-direction:column}.divider{display:none}.chart-section{justify-content:space-between}}:host ::ng-deep .apexcharts-legend{display:none!important}\n"] }]
348
+ args: [{ selector: 'cc-licenses-requirement', template: "<tk-card title=\"Licenses requirement\">\r\n <ng-container ngProjectAs=\"card-content\">\r\n <div\r\n class=\"widget-body\"\r\n *ngIf=\"!loading && !error && viewModel; else widgetState\"\r\n >\r\n <div class=\"left-section\">\r\n <mat-select\r\n [(value)]=\"selectedSummaryIndex\"\r\n (selectionChange)=\"onFilterChange($event.value)\"\r\n class=\"filter-select\"\r\n >\r\n <mat-option *ngFor=\"let option of filters; index as i\" [value]=\"i\">\r\n {{ option }}\r\n </mat-option>\r\n </mat-select>\r\n\r\n <div class=\"chart-section\">\r\n <div class=\"chart-wrapper\">\r\n <apx-chart\r\n [series]=\"viewModel.chartOptions.series\"\r\n [chart]=\"viewModel.chartOptions.chart\"\r\n [labels]=\"viewModel.chartOptions.labels\"\r\n [colors]=\"viewModel.chartOptions.colors\"\r\n [legend]=\"viewModel.chartOptions.legend\"\r\n [plotOptions]=\"viewModel.chartOptions.plotOptions\"\r\n [dataLabels]=\"viewModel.chartOptions.dataLabels\"\r\n [tooltip]=\"viewModel.chartOptions.tooltip\"\r\n >\r\n </apx-chart>\r\n </div>\r\n <div class=\"legend\">\r\n <div class=\"legend-item\" *ngFor=\"let item of viewModel.legendItems\">\r\n <span\r\n class=\"legend-marker\"\r\n [style.backgroundColor]=\"item.color\"\r\n ></span>\r\n <span class=\"legend-label\">{{ item.label }}</span>\r\n <span class=\"legend-value\">{{ item.count | number }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"divider\" aria-hidden=\"true\"></div>\r\n\r\n <div class=\"table-section\">\r\n <div class=\"lic-table-header\">\r\n <span>License</span>\r\n <span>Required</span>\r\n </div>\r\n <div class=\"table-row\" *ngFor=\"let row of viewModel.rows\">\r\n <span>{{ row.label }}</span>\r\n <span>{{ row.value | number }}</span>\r\n </div>\r\n <div class=\"table-row total-row\">\r\n <span>Total</span>\r\n <span>{{ viewModel.totalRequired | number }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <ng-template #widgetState>\r\n <div class=\"state-message\" *ngIf=\"loading\">\r\n Loading license requirements\u2026\r\n </div>\r\n <div class=\"state-message error\" *ngIf=\"!loading && error\">\r\n Unable to load license requirements.\r\n </div>\r\n <div class=\"state-message\" *ngIf=\"!loading && !error && !viewModel\">\r\n No license data available.\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</tk-card>\r\n", styles: ["@import\"https://fonts.googleapis.com/css?family=Poppins:400,100,200,300,500,600,800,700,900\";@import\"https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap\";:host{display:block;width:100%;box-sizing:border-box}.filter-select{font-family:Inter,Inter,sans-serif;font-size:14px;min-width:140px;border:1px solid #e5e7eb;border-radius:.5rem;padding:.5rem .75rem;background-color:#fff}.filter-select:hover{border-color:#d1d5db}:host ::ng-deep .filter-select.mat-mdc-select{border:1px solid #e5e7eb;border-radius:.5rem;background-color:#fff}:host ::ng-deep .filter-select.mat-mdc-select:hover{border-color:#d1d5db}:host ::ng-deep .filter-select.mat-mdc-select.mat-focused{border-color:#16a693}:host ::ng-deep .filter-select .mat-mdc-select-trigger{font-size:14px;padding:.5rem .75rem}:host ::ng-deep .filter-select .mat-mdc-select-value{color:#111827}:host ::ng-deep .filter-select .mat-mdc-select-arrow-wrapper{padding-left:.5rem}.widget-body{display:flex;gap:2.5rem;align-items:flex-start}.left-section{flex:2;display:flex;flex-direction:column;gap:1rem}.chart-section{display:flex;gap:1.5rem;align-items:center}.chart-wrapper{width:220px;min-height:220px;flex-shrink:0}.chart-wrapper apx-chart{width:220px!important;height:220px!important}.legend{display:flex;flex-direction:column;gap:.75rem}.legend-item{display:flex;align-items:center;gap:.5rem;font-family:Inter,Inter,sans-serif;font-size:14px}.legend-marker{width:14px;height:14px;border-radius:50%;display:inline-flex}.legend-label{color:#4b5563}.legend-value{margin-left:auto;font-weight:600;color:#111827}.divider{width:1px;min-height:200px;align-self:stretch;background:#e5e7eb}.table-section{flex:3;display:flex;flex-direction:column;gap:.75rem;font-family:Inter,Inter,sans-serif}.lic-table-header,.table-row{display:flex;justify-content:space-between;font-size:14px}.lic-table-header{font-weight:600;color:#6b7280;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.table-row{color:#111827}.total-row{font-weight:700;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e5e7eb}.state-message{font-family:Inter,Inter,sans-serif;font-size:14px;color:#6b7280}.state-message.error{color:#b91c1c}@media (max-width: 960px){.widget-body{flex-direction:column}.divider{display:none}.chart-section{justify-content:space-between}}:host ::ng-deep .apexcharts-legend{display:none!important}\n"] }]
349
349
  }], propDecorators: { customerId: [{
350
350
  type: Input
351
351
  }], host: [{