@tuki-io/tuki-widgets 0.0.219-dev.34 → 0.0.219-dev.37

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 (204) 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 +8 -0
  12. package/esm2020/locations/src/app.constants.mjs +6 -0
  13. package/esm2020/locations/src/locations.component.mjs +215 -0
  14. package/esm2020/locations/src/locations.module.mjs +39 -0
  15. package/esm2020/locations/src/material.module.mjs +48 -0
  16. package/esm2020/locations/src/services/api.service.mjs +67 -0
  17. package/esm2020/locations/src/services/locations.service.mjs +51 -0
  18. package/esm2020/locations/src/types/location.mjs +2 -0
  19. package/esm2020/locations/src/utils/app-loader/app-loader.mjs +14 -0
  20. package/esm2020/locations/tuki-io-tuki-widgets-locations.mjs +5 -0
  21. package/esm2020/meetings/src/app.constants.mjs +1 -1
  22. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +3 -3
  23. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +3 -3
  24. package/esm2020/meetings/src/meetings.component.mjs +3 -3
  25. package/esm2020/meetings/src/meetings.module.mjs +1 -1
  26. package/esm2020/meetings/src/services/live-meetings.service.mjs +1 -1
  27. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +1 -1
  28. package/esm2020/meetings/src/types/live-meeting.mjs +1 -1
  29. package/esm2020/meetings/src/types/meeting-space.mjs +1 -1
  30. package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +3 -3
  31. package/esm2020/public-api.mjs +1 -1
  32. package/esm2020/user-creation/src/app.constants.mjs +1 -1
  33. package/esm2020/user-creation/src/classes/notification.mjs +1 -1
  34. package/esm2020/user-creation/src/classes/site.mjs +1 -1
  35. package/esm2020/user-creation/src/environments/environment.mjs +1 -1
  36. package/esm2020/user-creation/src/interfaces/user-creation-wizard.interfaces.mjs +1 -1
  37. package/esm2020/user-creation/src/shared/components/notification/notification.component.mjs +3 -3
  38. package/esm2020/user-creation/src/shared/pipes/truncate.pipe.mjs +1 -1
  39. package/esm2020/user-creation/src/shared/services/notification.service.mjs +1 -1
  40. package/esm2020/user-creation/src/shared/services/user-creation-api.service.mjs +1 -1
  41. package/esm2020/user-creation/src/shared/services/utils.mjs +1 -1
  42. package/esm2020/user-creation/src/utils/app-loader/app-loader.mjs +3 -3
  43. package/esm2020/user-creation/src/utils/build-savable-end-user.mjs +1 -1
  44. package/esm2020/user-creation/src/utils/device-default-prefix.mjs +1 -1
  45. package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +1 -1
  46. package/esm2020/user-creation/src/utils/device-name-validation.mjs +1 -1
  47. package/esm2020/user-creation/src/utils/model.mjs +1 -1
  48. package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +1 -1
  49. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.mjs +2 -1
  50. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +3 -3
  51. package/esm2020/user-device-manage/public-api.mjs +1 -1
  52. package/esm2020/user-device-manage/src/app.constants.mjs +1 -1
  53. package/esm2020/user-device-manage/src/classes/device.mjs +1 -1
  54. package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +1 -1
  55. package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +1 -1
  56. package/esm2020/user-device-manage/src/classes/line-association.mjs +1 -1
  57. package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +1 -1
  58. package/esm2020/user-device-manage/src/classes/line-directory.mjs +1 -1
  59. package/esm2020/user-device-manage/src/classes/line.mjs +1 -1
  60. package/esm2020/user-device-manage/src/classes/notification.mjs +1 -1
  61. package/esm2020/user-device-manage/src/classes/recording-options.mjs +1 -1
  62. package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
  63. package/esm2020/user-device-manage/src/classes/site-defaults.mjs +1 -1
  64. package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +1 -1
  65. package/esm2020/user-device-manage/src/classes/types.mjs +1 -1
  66. package/esm2020/user-device-manage/src/common-functions.mjs +1 -1
  67. package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +3 -3
  68. package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +3 -3
  69. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +3 -3
  70. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +3 -3
  71. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +1 -1
  72. package/esm2020/user-device-manage/src/device-info/device-info.component.mjs +3 -3
  73. package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +2 -2
  74. package/esm2020/user-device-manage/src/environments/environment.mjs +1 -1
  75. package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +1 -1
  76. package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  77. package/esm2020/user-device-manage/src/material.module.mjs +1 -1
  78. package/esm2020/user-device-manage/src/notifications/notification.component.mjs +3 -3
  79. package/esm2020/user-device-manage/src/pipes/mac-address.pipe.mjs +1 -1
  80. package/esm2020/user-device-manage/src/services/api.service.mjs +1 -1
  81. package/esm2020/user-device-manage/src/services/device.service.mjs +1 -1
  82. package/esm2020/user-device-manage/src/services/dns.service.mjs +1 -1
  83. package/esm2020/user-device-manage/src/services/line.service.mjs +1 -1
  84. package/esm2020/user-device-manage/src/services/notification.service.mjs +1 -1
  85. package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  86. package/esm2020/user-device-manage/src/services/site-settings.service.mjs +1 -1
  87. package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +1 -1
  88. package/esm2020/user-device-manage/src/services/user.service.mjs +1 -1
  89. package/esm2020/user-device-manage/src/services/utils.service.mjs +1 -1
  90. package/esm2020/user-device-manage/src/services/validation.service.mjs +1 -1
  91. package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +3 -3
  92. package/esm2020/user-manage/public-api.mjs +1 -1
  93. package/esm2020/user-manage/src/app.constants.mjs +1 -1
  94. package/esm2020/user-manage/src/classes/device.mjs +1 -1
  95. package/esm2020/user-manage/src/classes/line-association-interface.mjs +1 -1
  96. package/esm2020/user-manage/src/classes/line-association.mjs +1 -1
  97. package/esm2020/user-manage/src/classes/line-call-info-display.mjs +1 -1
  98. package/esm2020/user-manage/src/classes/line-directory.mjs +1 -1
  99. package/esm2020/user-manage/src/classes/line.mjs +1 -1
  100. package/esm2020/user-manage/src/classes/notification.mjs +1 -1
  101. package/esm2020/user-manage/src/classes/pagination.mjs +1 -1
  102. package/esm2020/user-manage/src/classes/recording-options.mjs +1 -1
  103. package/esm2020/user-manage/src/classes/simplified-user.mjs +1 -1
  104. package/esm2020/user-manage/src/classes/table-data.mjs +1 -1
  105. package/esm2020/user-manage/src/classes/translation-pattern.mjs +1 -1
  106. package/esm2020/user-manage/src/classes/user-list.mjs +1 -1
  107. package/esm2020/user-manage/src/common-functions.mjs +1 -1
  108. package/esm2020/user-manage/src/device-list/device-list.component.mjs +3 -3
  109. package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +3 -3
  110. package/esm2020/user-manage/src/environments/environment.mjs +1 -1
  111. package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +1 -1
  112. package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  113. package/esm2020/user-manage/src/material.module.mjs +1 -1
  114. package/esm2020/user-manage/src/notifications/notification.component.mjs +3 -3
  115. package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +1 -1
  116. package/esm2020/user-manage/src/services/api.service.mjs +1 -1
  117. package/esm2020/user-manage/src/services/dcp-api.service.mjs +1 -1
  118. package/esm2020/user-manage/src/services/dns.service.mjs +1 -1
  119. package/esm2020/user-manage/src/services/line.service.mjs +1 -1
  120. package/esm2020/user-manage/src/services/notification.service.mjs +1 -1
  121. package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  122. package/esm2020/user-manage/src/services/site-settings.service.mjs +1 -1
  123. package/esm2020/user-manage/src/services/sorting-utils.service.mjs +1 -1
  124. package/esm2020/user-manage/src/services/user.service.mjs +1 -1
  125. package/esm2020/user-manage/src/services/utils.service.mjs +1 -1
  126. package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +3 -3
  127. package/esm2020/user-manage/src/user-info/user-info.component.mjs +3 -3
  128. package/esm2020/user-manage/src/user-manage-widget.component.mjs +2 -2
  129. package/esm2020/user-manage/src/user-manage.module.mjs +1 -1
  130. package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +3 -3
  131. package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +3 -3
  132. package/esm2020/users-list/public-api.mjs +1 -1
  133. package/esm2020/users-list/src/app.constants.mjs +1 -1
  134. package/esm2020/users-list/src/classes/app-location.mjs +1 -1
  135. package/esm2020/users-list/src/classes/device.mjs +1 -1
  136. package/esm2020/users-list/src/classes/line.mjs +1 -1
  137. package/esm2020/users-list/src/classes/move-user.mjs +1 -1
  138. package/esm2020/users-list/src/classes/notification.mjs +1 -1
  139. package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
  140. package/esm2020/users-list/src/classes/table-data.mjs +1 -1
  141. package/esm2020/users-list/src/classes/user-list.mjs +1 -1
  142. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +3 -3
  143. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +3 -3
  144. package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +3 -3
  145. package/esm2020/users-list/src/services/api-webex.service.mjs +1 -1
  146. package/esm2020/users-list/src/services/api.service.mjs +1 -1
  147. package/esm2020/users-list/src/services/dns.service.mjs +1 -1
  148. package/esm2020/users-list/src/services/events-communication.service.mjs +1 -1
  149. package/esm2020/users-list/src/services/notification.service.mjs +1 -1
  150. package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +1 -1
  151. package/esm2020/users-list/src/services/site-settings.service.mjs +1 -1
  152. package/esm2020/users-list/src/services/user.service.mjs +1 -1
  153. package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +3 -3
  154. package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +3 -3
  155. package/esm2020/users-list/src/utils/common-functions.mjs +1 -1
  156. package/esm2020/users-list/src/utils/notifications/notification.component.mjs +3 -3
  157. package/esm2020/users-list/src/utils/utils.service.mjs +1 -1
  158. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  159. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  160. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +20 -20
  161. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  162. package/fesm2015/tuki-io-tuki-widgets-locations.mjs +439 -0
  163. package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  164. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +8 -8
  165. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  166. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +7 -6
  167. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  168. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
  169. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  170. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +18 -18
  171. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  172. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +12 -12
  173. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  174. package/fesm2015/tuki-io-tuki-widgets.mjs +8 -8
  175. package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -1
  176. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  177. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  178. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +20 -20
  179. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  180. package/fesm2020/tuki-io-tuki-widgets-locations.mjs +433 -0
  181. package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  182. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +8 -8
  183. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  184. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +7 -6
  185. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  186. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
  187. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  188. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +18 -18
  189. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  190. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +12 -12
  191. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  192. package/fesm2020/tuki-io-tuki-widgets.mjs +8 -8
  193. package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -1
  194. package/locations/index.d.ts +5 -0
  195. package/locations/public-api.d.ts +2 -0
  196. package/locations/src/app.constants.d.ts +5 -0
  197. package/locations/src/locations.component.d.ts +68 -0
  198. package/locations/src/locations.module.d.ts +12 -0
  199. package/locations/src/material.module.d.ts +11 -0
  200. package/locations/src/services/api.service.d.ts +18 -0
  201. package/locations/src/services/locations.service.d.ts +15 -0
  202. package/locations/src/types/location.d.ts +17 -0
  203. package/locations/src/utils/app-loader/app-loader.d.ts +6 -0
  204. package/package.json +9 -1
@@ -19,17 +19,17 @@ class WidgetsComponent {
19
19
  }
20
20
  }
21
21
  WidgetsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WidgetsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22
- WidgetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WidgetsComponent, selector: "lib-widgets", ngImport: i0, template: `
23
- <p>
24
- widgets works!
25
- </p>
22
+ WidgetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WidgetsComponent, selector: "lib-widgets", ngImport: i0, template: `
23
+ <p>
24
+ widgets works!
25
+ </p>
26
26
  `, isInline: true });
27
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WidgetsComponent, decorators: [{
28
28
  type: Component,
29
- args: [{ selector: 'lib-widgets', template: `
30
- <p>
31
- widgets works!
32
- </p>
29
+ args: [{ selector: 'lib-widgets', template: `
30
+ <p>
31
+ widgets works!
32
+ </p>
33
33
  ` }]
34
34
  }], ctorParameters: function () { return []; } });
35
35
 
@@ -1 +1 @@
1
- {"version":3,"file":"tuki-io-tuki-widgets.mjs","sources":["../../../../projects/tuki/widgets/src/lib/widgets.service.ts","../../../../projects/tuki/widgets/src/lib/widgets.component.ts","../../../../projects/tuki/widgets/src/lib/widgets.module.ts","../../../../projects/tuki/widgets/src/public-api.ts","../../../../projects/tuki/widgets/src/tuki-io-tuki-widgets.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WidgetsService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-widgets',\r\n template: `\r\n <p>\r\n widgets works!\r\n </p>\r\n `,\r\n styles: [\r\n ]\r\n})\r\nexport class WidgetsComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { WidgetsComponent } from './widgets.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n WidgetsComponent\r\n ],\r\n imports: [\r\n ],\r\n exports: [\r\n WidgetsComponent\r\n ]\r\n})\r\nexport class WidgetsModule { }\r\n","/*\r\n * Public API Surface of widgets\r\n */\r\n\r\nexport * from './lib/widgets.service';\r\nexport * from './lib/widgets.component';\r\nexport * from './lib/widgets.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA,GAAiB;;4GAFN,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AAC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widgets.mjs","sources":["../../../../projects/tuki/widgets/src/lib/widgets.service.ts","../../../../projects/tuki/widgets/src/lib/widgets.component.ts","../../../../projects/tuki/widgets/src/lib/widgets.module.ts","../../../../projects/tuki/widgets/src/public-api.ts","../../../../projects/tuki/widgets/src/tuki-io-tuki-widgets.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class WidgetsService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-widgets',\n template: `\n <p>\n widgets works!\n </p>\n `,\n styles: [\n ]\n})\nexport class WidgetsComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { WidgetsComponent } from './widgets.component';\n\n\n\n@NgModule({\n declarations: [\n WidgetsComponent\n ],\n imports: [\n ],\n exports: [\n WidgetsComponent\n ]\n})\nexport class WidgetsModule { }\n","/*\n * Public API Surface of widgets\n */\n\nexport * from './lib/widgets.service';\nexport * from './lib/widgets.component';\nexport * from './lib/widgets.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA,GAAiB;;4GAFN,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCQY,gBAAgB,CAAA;AAE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 export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './src/locations.module';
2
+ export * from './src/locations.component';
@@ -0,0 +1,5 @@
1
+ export declare const API: {
2
+ LOCATIONS: {
3
+ GET_ALL: string;
4
+ };
5
+ };
@@ -0,0 +1,68 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { APIService } from './services/api.service';
3
+ import { LocationsService } from './services/locations.service';
4
+ import { Location } from './types/location';
5
+ import * as i0 from "@angular/core";
6
+ type LocationsSortDirection = 'asc' | 'desc';
7
+ export declare class LocationsComponent implements OnInit {
8
+ private apiService;
9
+ private locationsService;
10
+ exHost: string;
11
+ token: string;
12
+ customerId: number;
13
+ openLocation: EventEmitter<string>;
14
+ editLocation: EventEmitter<string>;
15
+ removeLocation: EventEmitter<string>;
16
+ addLocation: EventEmitter<void>;
17
+ importLocations: EventEmitter<void>;
18
+ locations: Location[];
19
+ totalElements: number;
20
+ isLoading: boolean;
21
+ searchTerm: string;
22
+ sortDirection: LocationsSortDirection;
23
+ isBannerDismissed: boolean;
24
+ readonly pageSizeOptions: number[];
25
+ pageIndex: number;
26
+ pageSize: number;
27
+ isFilterPanelOpen: boolean;
28
+ filters: {
29
+ country: string;
30
+ pendingActions: string;
31
+ };
32
+ private readonly countryDisplayNames;
33
+ constructor(apiService: APIService, locationsService: LocationsService);
34
+ ngOnInit(): void;
35
+ private loadPage;
36
+ get pendingLocations(): Location[];
37
+ get showPendingBanner(): boolean;
38
+ get countries(): string[];
39
+ get filteredLocations(): Location[];
40
+ get pageRangeLabel(): string;
41
+ get hasPreviousPage(): boolean;
42
+ get hasNextPage(): boolean;
43
+ addressLine(location: Location): string;
44
+ countryLabel(location: Location): string;
45
+ private readonly provisioningTypeIcons;
46
+ provisioningTypeIcon(location: Location): {
47
+ src: string;
48
+ tooltip: string;
49
+ } | null;
50
+ onSearchInputChange(event: Event): void;
51
+ toggleNameSort(): void;
52
+ dismissBanner(): void;
53
+ toggleFilterPanel(): void;
54
+ closeFilterPanel(): void;
55
+ clearFilters(): void;
56
+ onPageSizeChange(event: Event): void;
57
+ goToPreviousPage(): void;
58
+ goToNextPage(): void;
59
+ onOpenLocation(location: Location): void;
60
+ onEditLocation(location: Location): void;
61
+ onRemoveLocation(location: Location): void;
62
+ onAddLocation(): void;
63
+ onImportLocations(): void;
64
+ exportLocations(): void;
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationsComponent, never>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<LocationsComponent, "tk-locations", never, { "exHost": "exHost"; "token": "token"; "customerId": "customerId"; }, { "openLocation": "openLocation"; "editLocation": "editLocation"; "removeLocation": "removeLocation"; "addLocation": "addLocation"; "importLocations": "importLocations"; }, never, never, false, never>;
67
+ }
68
+ export {};
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./locations.component";
3
+ import * as i2 from "./utils/app-loader/app-loader";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/common/http";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "./material.module";
8
+ export declare class LocationsModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationsModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LocationsModule, [typeof i1.LocationsComponent, typeof i2.AppLoaderComponent], [typeof i3.CommonModule, typeof i4.HttpClientModule, typeof i5.FormsModule, typeof i6.MaterialModule], [typeof i1.LocationsComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<LocationsModule>;
12
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/material/button";
3
+ import * as i2 from "@angular/material/icon";
4
+ import * as i3 from "@angular/material/menu";
5
+ import * as i4 from "@angular/material/progress-spinner";
6
+ import * as i5 from "@angular/material/tooltip";
7
+ export declare class MaterialModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatMenuModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule], [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatMenuModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
11
+ }
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class APIService {
5
+ private httpClient;
6
+ token: string;
7
+ apiUrl: string;
8
+ constructor(httpClient: HttpClient);
9
+ fetch(url: string, params?: any, cache?: boolean): Observable<any>;
10
+ post(url: string, body: any, params?: {}): Observable<any>;
11
+ put(url: string, body?: any, params?: {}): Observable<any>;
12
+ delete(url: string, params?: {}): Observable<Object>;
13
+ private prepareEncodedParams;
14
+ private getHeaders;
15
+ private getParameterByName;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<APIService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<APIService>;
18
+ }
@@ -0,0 +1,15 @@
1
+ import { Observable } from 'rxjs';
2
+ import { APIService } from './api.service';
3
+ import { Location } from '../types/location';
4
+ import * as i0 from "@angular/core";
5
+ export interface LocationsPage {
6
+ locations: Location[];
7
+ totalElements: number;
8
+ }
9
+ export declare class LocationsService {
10
+ private apiService;
11
+ constructor(apiService: APIService);
12
+ fetchLocations(customerId: number, page: number, size: number): Observable<LocationsPage>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationsService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocationsService>;
15
+ }
@@ -0,0 +1,17 @@
1
+ export interface LocationAddress {
2
+ address1: string;
3
+ address2: string;
4
+ city: string;
5
+ state: string;
6
+ postalCode: string;
7
+ country: string;
8
+ countryName: string;
9
+ }
10
+ export interface Location {
11
+ id: string;
12
+ name: string;
13
+ timeZone: string;
14
+ address: LocationAddress;
15
+ provisioningType: string;
16
+ hasPendingActions: boolean;
17
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AppLoaderComponent {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppLoaderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppLoaderComponent, "app-loader", never, {}, {}, never, never, false, never>;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuki-io/tuki-widgets",
3
- "version": "0.0.219-dev.34",
3
+ "version": "0.0.219-dev.37",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -44,6 +44,14 @@
44
44
  "node": "./fesm2015/tuki-io-tuki-widgets-di2mt.mjs",
45
45
  "default": "./fesm2020/tuki-io-tuki-widgets-di2mt.mjs"
46
46
  },
47
+ "./locations": {
48
+ "types": "./locations/index.d.ts",
49
+ "esm2020": "./esm2020/locations/tuki-io-tuki-widgets-locations.mjs",
50
+ "es2020": "./fesm2020/tuki-io-tuki-widgets-locations.mjs",
51
+ "es2015": "./fesm2015/tuki-io-tuki-widgets-locations.mjs",
52
+ "node": "./fesm2015/tuki-io-tuki-widgets-locations.mjs",
53
+ "default": "./fesm2020/tuki-io-tuki-widgets-locations.mjs"
54
+ },
47
55
  "./meetings": {
48
56
  "types": "./meetings/index.d.ts",
49
57
  "esm2020": "./esm2020/meetings/tuki-io-tuki-widgets-meetings.mjs",