@theseam/ui-common 0.3.14-beta.2 → 0.3.15-beta.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 (2114) hide show
  1. package/asset-reader/asset-reader-helper.service.d.ts +3 -0
  2. package/asset-reader/asset-reader.module.d.ts +5 -0
  3. package/asset-reader/encrypted-asset-link.directive.d.ts +3 -0
  4. package/asset-reader/index.d.ts +5 -0
  5. package/assets/storybook-intro.gif +0 -0
  6. package/breadcrumbs/breadcrumb.d.ts +1 -1
  7. package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +4 -3
  8. package/breadcrumbs/breadcrumbs-resolver.d.ts +1 -1
  9. package/breadcrumbs/breadcrumbs.module.d.ts +7 -0
  10. package/breadcrumbs/breadcrumbs.service.d.ts +3 -0
  11. package/breadcrumbs/index.d.ts +5 -0
  12. package/buttons/badge-button/badge-button.component.d.ts +5 -0
  13. package/buttons/button/button.component.d.ts +7 -0
  14. package/buttons/buttons.module.d.ts +10 -0
  15. package/buttons/index.d.ts +5 -0
  16. package/buttons/progress-circle-button/progress-circle-button.component.d.ts +3 -0
  17. package/buttons/toggle-button/toggle-button.component.d.ts +3 -0
  18. package/card/card-action/card-action.component.d.ts +3 -0
  19. package/card/card-body/card-body.component.d.ts +5 -4
  20. package/card/card-footer/card-footer.component.d.ts +4 -4
  21. package/card/card-header/card-header.component.d.ts +4 -4
  22. package/card/card.component.d.ts +4 -4
  23. package/card/card.module.d.ts +11 -0
  24. package/card/index.d.ts +5 -0
  25. package/carousel/carousel-slide.directive.d.ts +8 -0
  26. package/carousel/carousel.component.d.ts +85 -0
  27. package/carousel/carousel.module.d.ts +11 -0
  28. package/carousel/index.d.ts +5 -0
  29. package/carousel/public-api.d.ts +3 -0
  30. package/checkbox/checkbox.component.d.ts +5 -4
  31. package/checkbox/checkbox.module.d.ts +7 -0
  32. package/checkbox/index.d.ts +5 -0
  33. package/checkbox/public-api.d.ts +1 -0
  34. package/checkbox/testing/checkbox.harness.d.ts +49 -0
  35. package/checkbox/testing/index.d.ts +1 -0
  36. package/confirm-dialog/confirm-click.directive.d.ts +3 -0
  37. package/confirm-dialog/confirm-dialog.component.d.ts +3 -0
  38. package/confirm-dialog/confirm-dialog.module.d.ts +10 -0
  39. package/confirm-dialog/confirm-dialog.service.d.ts +3 -0
  40. package/confirm-dialog/index.d.ts +5 -0
  41. package/core/common-behaviors/active.d.ts +2 -2
  42. package/core/common-behaviors/constructor.d.ts +1 -1
  43. package/core/common-behaviors/disabled.d.ts +2 -2
  44. package/core/common-behaviors/initialized.d.ts +2 -2
  45. package/core/common-behaviors/size.d.ts +1 -1
  46. package/core/common-behaviors/tabindex.d.ts +1 -1
  47. package/core/common-behaviors/theme.d.ts +1 -1
  48. package/core/index.d.ts +5 -0
  49. package/core/input-decorators/input-boolean.decorator.d.ts +1 -1
  50. package/core/input-decorators/input-number.decorator.d.ts +1 -1
  51. package/data-exporter/data-exporter.d.ts +1 -1
  52. package/data-exporter/data-exporter.module.d.ts +4 -0
  53. package/data-exporter/exporters/csv-exporter.d.ts +3 -0
  54. package/data-exporter/exporters/xlsx-exporter.d.ts +3 -0
  55. package/data-exporter/index.d.ts +5 -0
  56. package/data-filters/data-filter.d.ts +4 -4
  57. package/data-filters/data-filters.module.d.ts +13 -0
  58. package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +6 -3
  59. package/data-filters/filters/data-filter-search/search-filter-options.d.ts +1 -1
  60. package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +5 -2
  61. package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +5 -2
  62. package/data-filters/index.d.ts +5 -0
  63. package/datatable/datatable/datatable.component.d.ts +8 -0
  64. package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +3 -0
  65. package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +3 -0
  66. package/datatable/datatable-column/datatable-column.component.d.ts +6 -4
  67. package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +5 -2
  68. package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +4 -3
  69. package/datatable/datatable-export-button/datatable-export-button.component.d.ts +4 -3
  70. package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +3 -0
  71. package/datatable/datatable-footer/datatable-footer.directive.d.ts +3 -0
  72. package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +5 -5
  73. package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +4 -4
  74. package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +4 -4
  75. package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +4 -4
  76. package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +4 -4
  77. package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +4 -3
  78. package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +3 -0
  79. package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +3 -0
  80. package/datatable/datatable.module.d.ts +45 -0
  81. package/datatable/directives/datatable-action-menu-item.directive.d.ts +5 -4
  82. package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +3 -0
  83. package/datatable/directives/datatable-cell-tpl.directive.d.ts +3 -0
  84. package/datatable/directives/datatable-filter.directive.d.ts +3 -0
  85. package/datatable/directives/datatable-row-action-item.directive.d.ts +3 -0
  86. package/datatable/index.d.ts +5 -0
  87. package/datatable/models/action-item-column-position.d.ts +7 -2
  88. package/datatable/models/preferences.d.ts +1 -1
  89. package/datatable/models/table-column.d.ts +1 -1
  90. package/datatable/services/columns-alterations-manager.service.d.ts +3 -0
  91. package/datatable/services/columns-manager.service.d.ts +6 -1
  92. package/datatable/services/datatable-column-changes.service.d.ts +3 -0
  93. package/datatable/services/datatable-preferences.service.d.ts +3 -0
  94. package/datatable/services/datatable-scrollbar-helper.service.d.ts +3 -0
  95. package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +4 -3
  96. package/datatable-dynamic/datatable-dynamic-def.d.ts +3 -3
  97. package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +3 -0
  98. package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +6 -4
  99. package/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.d.ts +1 -1
  100. package/datatable-dynamic/datatable-dynamic.component.d.ts +4 -4
  101. package/datatable-dynamic/datatable-dynamic.module.d.ts +20 -0
  102. package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +6 -4
  103. package/datatable-dynamic/dynamic-datatable-def.service.d.ts +3 -0
  104. package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +3 -0
  105. package/datatable-dynamic/index.d.ts +5 -0
  106. package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +1 -1
  107. package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +2 -2
  108. package/dynamic/action/api/dynamic-action-api.service.d.ts +3 -0
  109. package/dynamic/action/dynamic-action-helper.service.d.ts +3 -0
  110. package/dynamic/action/link/dynamic-action-link.service.d.ts +3 -0
  111. package/dynamic/action/modal/dynamic-action-modal-def.d.ts +1 -1
  112. package/dynamic/action/modal/dynamic-action-modal.service.d.ts +3 -0
  113. package/dynamic/dynamic-value-helper.service.d.ts +8 -4
  114. package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +3 -0
  115. package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +6 -2
  116. package/dynamic/index.d.ts +5 -0
  117. package/dynamic/models/dynamic-value-base-type.d.ts +1 -1
  118. package/dynamic/models/dynamic-value-evaluatable-type.d.ts +2 -1
  119. package/dynamic/models/dynamic-value-primitive.d.ts +1 -1
  120. package/dynamic/models/dynamic-value.d.ts +1 -1
  121. package/dynamic/tokens/api-config.d.ts +1 -1
  122. package/dynamic-component-loader/dynamic-component-loader.module.d.ts +7 -3
  123. package/dynamic-component-loader/dynamic-component-loader.service.d.ts +7 -6
  124. package/dynamic-component-loader/dynamic-component-manifest.d.ts +4 -4
  125. package/dynamic-component-loader/index.d.ts +5 -0
  126. package/esm2020/asset-reader/asset-reader-helper.service.mjs +70 -0
  127. package/esm2020/asset-reader/asset-reader.module.mjs +20 -0
  128. package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +74 -0
  129. package/esm2020/breadcrumbs/breadcrumb.mjs +2 -0
  130. package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +18 -0
  131. package/esm2020/breadcrumbs/breadcrumbs-resolver.mjs +2 -0
  132. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +28 -0
  133. package/esm2020/breadcrumbs/breadcrumbs.service.mjs +156 -0
  134. package/esm2020/buttons/badge-button/badge-button.component.mjs +62 -0
  135. package/esm2020/buttons/button/button.component.mjs +84 -0
  136. package/esm2020/buttons/buttons.module.mjs +51 -0
  137. package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +52 -0
  138. package/esm2020/buttons/toggle-button/toggle-button.component.mjs +79 -0
  139. package/esm2020/card/card-action/card-action.component.mjs +31 -0
  140. package/esm2020/card/card-body/card-body.component.mjs +32 -0
  141. package/esm2020/card/card-footer/card-footer.component.mjs +11 -0
  142. package/esm2020/card/card-header/card-header.component.mjs +21 -0
  143. package/esm2020/card/card.component.mjs +17 -0
  144. package/esm2020/card/card.module.mjs +48 -0
  145. package/esm2020/carousel/carousel-slide.directive.mjs +16 -0
  146. package/esm2020/carousel/carousel.component.mjs +211 -0
  147. package/esm2020/carousel/carousel.module.mjs +38 -0
  148. package/esm2020/carousel/public-api.mjs +4 -0
  149. package/esm2020/carousel/theseam-ui-common-carousel.mjs +5 -0
  150. package/esm2020/checkbox/checkbox.component.mjs +280 -0
  151. package/esm2020/checkbox/checkbox.module.mjs +28 -0
  152. package/esm2020/checkbox/public-api.mjs +4 -0
  153. package/esm2020/checkbox/testing/checkbox.harness.mjs +63 -0
  154. package/esm2020/checkbox/testing/index.mjs +2 -0
  155. package/esm2020/confirm-dialog/confirm-click.directive.mjs +69 -0
  156. package/esm2020/confirm-dialog/confirm-dialog.component.mjs +24 -0
  157. package/esm2020/confirm-dialog/confirm-dialog.module.mjs +47 -0
  158. package/esm2020/confirm-dialog/confirm-dialog.service.mjs +38 -0
  159. package/esm2020/core/common-behaviors/active.mjs +14 -0
  160. package/esm2020/core/common-behaviors/disabled.mjs +21 -0
  161. package/esm2020/core/common-behaviors/initialized.mjs +63 -0
  162. package/esm2020/core/common-behaviors/size.mjs +24 -0
  163. package/esm2020/core/common-behaviors/tabindex.mjs +23 -0
  164. package/esm2020/core/common-behaviors/theme.mjs +24 -0
  165. package/esm2020/core/input-decorators/input-boolean.decorator.mjs +26 -0
  166. package/esm2020/core/input-decorators/input-number.decorator.mjs +26 -0
  167. package/esm2020/data-exporter/data-exporter.module.mjs +25 -0
  168. package/esm2020/data-exporter/exporters/csv-exporter.mjs +35 -0
  169. package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +33 -0
  170. package/esm2020/data-filters/data-filter.mjs +25 -0
  171. package/esm2020/data-filters/data-filters.module.mjs +66 -0
  172. package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +121 -0
  173. package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +148 -0
  174. package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +166 -0
  175. package/esm2020/datatable/datatable/datatable.component.mjs +686 -0
  176. package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +100 -0
  177. package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +48 -0
  178. package/esm2020/datatable/datatable-column/datatable-column.component.mjs +107 -0
  179. package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +67 -0
  180. package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +51 -0
  181. package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +106 -0
  182. package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +16 -0
  183. package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +24 -0
  184. package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +49 -0
  185. package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +11 -0
  186. package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +11 -0
  187. package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +11 -0
  188. package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +11 -0
  189. package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +30 -0
  190. package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +16 -0
  191. package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +77 -0
  192. package/esm2020/datatable/datatable.module.mjs +205 -0
  193. package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +62 -0
  194. package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +137 -0
  195. package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +16 -0
  196. package/esm2020/datatable/directives/datatable-filter.directive.mjs +27 -0
  197. package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +16 -0
  198. package/esm2020/datatable/models/action-item-column-position.mjs +5 -0
  199. package/esm2020/datatable/models/columns-alteration.mjs +38 -0
  200. package/esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs +83 -0
  201. package/esm2020/datatable/models/datatable-gql-data-source.mjs +15 -0
  202. package/esm2020/datatable/models/internal-column-props.mjs +15 -0
  203. package/esm2020/datatable/models/sort-item.mjs +2 -0
  204. package/esm2020/datatable/services/columns-alterations-manager.service.mjs +136 -0
  205. package/esm2020/datatable/services/columns-manager.service.mjs +286 -0
  206. package/esm2020/datatable/services/datatable-column-changes.service.mjs +20 -0
  207. package/esm2020/datatable/services/datatable-preferences.service.mjs +166 -0
  208. package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +50 -0
  209. package/esm2020/datatable/theseam-ui-common-datatable.mjs +5 -0
  210. package/esm2020/datatable/utils/map-columns-alterations-states.mjs +42 -0
  211. package/esm2020/datatable/utils/set-column-defaults.mjs +10 -0
  212. package/esm2020/datatable/utils/with-stored-column-info.mjs +20 -0
  213. package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +118 -0
  214. package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +50 -0
  215. package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +148 -0
  216. package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs +2 -0
  217. package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +75 -0
  218. package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +80 -0
  219. package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +400 -0
  220. package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +88 -0
  221. package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +46 -0
  222. package/esm2020/datatable-dynamic/models/dynamic-datatable-menu-bar.mjs +2 -0
  223. package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +209 -0
  224. package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +158 -0
  225. package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +47 -0
  226. package/esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs +2 -0
  227. package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +85 -0
  228. package/esm2020/dynamic/dynamic-value-helper.service.mjs +105 -0
  229. package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +30 -0
  230. package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +32 -0
  231. package/esm2020/dynamic/models/dynamic-value-evaluatable-type.mjs +2 -0
  232. package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +50 -0
  233. package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +78 -0
  234. package/esm2020/dynamic-component-loader/dynamic-component-manifest.mjs +2 -0
  235. package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +11 -0
  236. package/esm2020/footer-bar/footer-bar.module.mjs +20 -0
  237. package/esm2020/form-field/form-field-error.directive.mjs +30 -0
  238. package/esm2020/form-field/form-field-help-text.directive.mjs +16 -0
  239. package/esm2020/form-field/form-field-label-tpl.directive.mjs +16 -0
  240. package/esm2020/form-field/form-field-required-indicator.component.mjs +46 -0
  241. package/esm2020/form-field/form-field-tokens.mjs +3 -0
  242. package/esm2020/form-field/form-field.component.mjs +221 -0
  243. package/esm2020/form-field/form-field.module.mjs +61 -0
  244. package/esm2020/form-field/input.directive.mjs +220 -0
  245. package/esm2020/form-field/public-api.mjs +10 -0
  246. package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +8 -0
  247. package/esm2020/form-field/testing/index.mjs +2 -0
  248. package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +26 -0
  249. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +26 -0
  250. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +18 -0
  251. package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +384 -0
  252. package/esm2020/form-field-error/form-field-error.module.mjs +39 -0
  253. package/esm2020/framework/base-layout/base-layout.component.mjs +133 -0
  254. package/esm2020/framework/base-layout/base-layout.module.mjs +80 -0
  255. package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +16 -0
  256. package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +16 -0
  257. package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +16 -0
  258. package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +66 -0
  259. package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +16 -0
  260. package/esm2020/framework/base-layout/directives/base-layout-side-bar-header.directive.mjs +16 -0
  261. package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +16 -0
  262. package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +16 -0
  263. package/esm2020/framework/base-layout/index.mjs +15 -0
  264. package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +16 -0
  265. package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +23 -0
  266. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +119 -0
  267. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +177 -0
  268. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +206 -0
  269. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +172 -0
  270. package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +3 -0
  271. package/esm2020/framework/dashboard/dashboard.component.mjs +24 -0
  272. package/esm2020/framework/dashboard/dashboard.module.mjs +60 -0
  273. package/esm2020/framework/dynamic-router/dynamic-route-def.mjs +2 -0
  274. package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +28 -0
  275. package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs +256 -0
  276. package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +116 -0
  277. package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +26 -0
  278. package/esm2020/framework/nav/horizontal-nav/horizontal-nav.component.mjs +55 -0
  279. package/esm2020/framework/nav/nav-item/nav-item.component.mjs +227 -0
  280. package/esm2020/framework/nav/nav-utils.mjs +107 -0
  281. package/esm2020/framework/nav/nav.module.mjs +67 -0
  282. package/esm2020/framework/nav/nav.service.mjs +204 -0
  283. package/esm2020/framework/schema-form/schema-form-framework.component.mjs +18 -0
  284. package/esm2020/framework/schema-form/schema-form-framework.mjs +30 -0
  285. package/esm2020/framework/schema-form/schema-form.module.mjs +52 -0
  286. package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +43 -0
  287. package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +79 -0
  288. package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +34 -0
  289. package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +40 -0
  290. package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +38 -0
  291. package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +46 -0
  292. package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +144 -0
  293. package/esm2020/framework/side-nav/index.mjs +8 -0
  294. package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +169 -0
  295. package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +40 -0
  296. package/esm2020/framework/side-nav/side-nav-tokens.mjs +3 -0
  297. package/esm2020/framework/side-nav/side-nav-utils.mjs +80 -0
  298. package/esm2020/framework/side-nav/side-nav.component.mjs +372 -0
  299. package/esm2020/framework/side-nav/side-nav.models.mjs +2 -0
  300. package/esm2020/framework/side-nav/side-nav.module.mjs +32 -0
  301. package/esm2020/framework/side-nav/side-nav.service.mjs +178 -0
  302. package/esm2020/framework/theseam-ui-common-framework.mjs +5 -0
  303. package/esm2020/framework/top-bar/index.mjs +10 -0
  304. package/esm2020/framework/top-bar/top-bar-compact-menu-btn-detail.directive.mjs +16 -0
  305. package/esm2020/framework/top-bar/top-bar-item.directive.mjs +22 -0
  306. package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +16 -0
  307. package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +56 -0
  308. package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +19 -0
  309. package/esm2020/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.mjs +16 -0
  310. package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +17 -0
  311. package/esm2020/framework/top-bar/top-bar.component.mjs +141 -0
  312. package/esm2020/framework/top-bar/top-bar.module.mjs +83 -0
  313. package/esm2020/google-maps/google-maps/google-maps.component.mjs +298 -0
  314. package/esm2020/google-maps/google-maps-api-loader/google-maps-api-loader.mjs +3 -0
  315. package/esm2020/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.mjs +103 -0
  316. package/esm2020/google-maps/google-maps-api-loader/noop-google-maps-api-loader.mjs +25 -0
  317. package/esm2020/google-maps/google-maps-contextmenu.mjs +114 -0
  318. package/esm2020/google-maps/google-maps-controls.service.mjs +67 -0
  319. package/esm2020/google-maps/google-maps-feature-helpers.mjs +211 -0
  320. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +209 -0
  321. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +165 -0
  322. package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +58 -0
  323. package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +115 -0
  324. package/esm2020/google-maps/google-maps.module.mjs +70 -0
  325. package/esm2020/google-maps/google-maps.service.mjs +355 -0
  326. package/esm2020/google-maps/map-control.component.mjs +66 -0
  327. package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +128 -0
  328. package/esm2020/google-maps/map-value-manager.service.mjs +48 -0
  329. package/esm2020/google-maps/public-api.mjs +17 -0
  330. package/esm2020/google-maps/theseam-ui-common-google-maps.mjs +5 -0
  331. package/esm2020/graphql/datatable/create-page-info-observable.mjs +38 -0
  332. package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +212 -0
  333. package/esm2020/graphql/datatable/datatable-graphql.service.mjs +50 -0
  334. package/esm2020/graphql/datatable/datatable-helpers.mjs +175 -0
  335. package/esm2020/graphql/datatable/get-page-info.mjs +10 -0
  336. package/esm2020/graphql/datatable/map-filter-states.mjs +63 -0
  337. package/esm2020/graphql/utils/inline-variables.mjs +51 -0
  338. package/esm2020/graphql/utils/parse-hints.mjs +108 -0
  339. package/esm2020/graphql/utils/to-gql.mjs +40 -0
  340. package/esm2020/icon/icon/icon.component.mjs +139 -0
  341. package/esm2020/icon/icon-btn/icon-btn.component.mjs +183 -0
  342. package/esm2020/icon/icon-notification/icon-notification.component.mjs +124 -0
  343. package/esm2020/icon/icon.module.mjs +38 -0
  344. package/esm2020/icon/utils/get-known-icon.mjs +82 -0
  345. package/esm2020/layout/breakpoint-aliases.mjs +11 -0
  346. package/esm2020/layout/layout.module.mjs +25 -0
  347. package/esm2020/layout/layout.service.mjs +32 -0
  348. package/esm2020/layout/observe-media-query.mjs +41 -0
  349. package/esm2020/loading/loading/loading.component.mjs +26 -0
  350. package/esm2020/loading/loading-overlay.service.mjs +58 -0
  351. package/esm2020/loading/loading.module.mjs +41 -0
  352. package/esm2020/menu/menu-divider.component.mjs +13 -0
  353. package/esm2020/menu/menu-footer/menu-footer.component.mjs +32 -0
  354. package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +54 -0
  355. package/esm2020/menu/menu-header/menu-header.component.mjs +32 -0
  356. package/esm2020/menu/menu-item.component.mjs +130 -0
  357. package/esm2020/menu/menu-toggle.directive.mjs +256 -0
  358. package/esm2020/menu/menu.component.mjs +177 -0
  359. package/esm2020/menu/menu.module.mjs +67 -0
  360. package/esm2020/modal/directives/modal-close.directive.mjs +74 -0
  361. package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +16 -0
  362. package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +16 -0
  363. package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +16 -0
  364. package/esm2020/modal/directives/modal-title.directive.mjs +20 -0
  365. package/esm2020/modal/directives/modal.directive.mjs +25 -0
  366. package/esm2020/modal/modal/modal.component.mjs +162 -0
  367. package/esm2020/modal/modal-body/modal-body.component.mjs +21 -0
  368. package/esm2020/modal/modal-config.mjs +47 -0
  369. package/esm2020/modal/modal-container/modal-container.component.mjs +245 -0
  370. package/esm2020/modal/modal-footer/modal-footer.component.mjs +17 -0
  371. package/esm2020/modal/modal-header/modal-header.component.mjs +28 -0
  372. package/esm2020/modal/modal-ref.mjs +171 -0
  373. package/esm2020/modal/modal.models.mjs +3 -0
  374. package/esm2020/modal/modal.module.mjs +127 -0
  375. package/esm2020/modal/modal.service.mjs +352 -0
  376. package/esm2020/modal/route-modal/route-modal.component.mjs +62 -0
  377. package/esm2020/popover/popover/popover.component.mjs +156 -0
  378. package/esm2020/popover/popover.directive.mjs +260 -0
  379. package/esm2020/popover/popover.module.mjs +40 -0
  380. package/esm2020/progress/progress-circle/progress-circle.component.mjs +65 -0
  381. package/esm2020/progress/progress.module.mjs +24 -0
  382. package/esm2020/public_api.mjs +2 -0
  383. package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +60 -0
  384. package/esm2020/scrollbar/overlay-scrollbars-config.mjs +13 -0
  385. package/esm2020/scrollbar/overlay-scrollbars.service.mjs +83 -0
  386. package/esm2020/scrollbar/scrollbar.module.mjs +30 -0
  387. package/esm2020/services/asset-loader.service.mjs +32 -0
  388. package/esm2020/services/font-loader.service.mjs +83 -0
  389. package/esm2020/services/router-helpers.service.mjs +25 -0
  390. package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +49 -0
  391. package/esm2020/shared/directives/auto-focus.directive.mjs +54 -0
  392. package/esm2020/shared/directives/click-outside.directive.mjs +52 -0
  393. package/esm2020/shared/directives/disable-control.directive.mjs +27 -0
  394. package/esm2020/shared/directives/elem-resized.directive.mjs +28 -0
  395. package/esm2020/shared/directives/hover-class-toggle.directive.mjs +88 -0
  396. package/esm2020/shared/directives/hover-class.directive.mjs +82 -0
  397. package/esm2020/shared/directives/ng-select-extra.directive.mjs +184 -0
  398. package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +61 -0
  399. package/esm2020/shared/pipes/mask-chars.pipe.mjs +25 -0
  400. package/esm2020/shared/pipes/truncate.pipe.mjs +23 -0
  401. package/esm2020/shared/shared.module.mjs +93 -0
  402. package/esm2020/storage/local-storage.service.mjs +78 -0
  403. package/esm2020/storage/localstorage-memory.mjs +64 -0
  404. package/esm2020/story-helpers/arg-type-helpers.mjs +35 -0
  405. package/esm2020/story-helpers/initial-route.service.mjs +27 -0
  406. package/esm2020/story-helpers/on-story-bootstrapped-exec.mjs +61 -0
  407. package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +39 -0
  408. package/esm2020/story-helpers/public-api.mjs +15 -0
  409. package/esm2020/story-helpers/routes-arg-type.mjs +19 -0
  410. package/esm2020/story-helpers/story-empty-with-route.component.mjs +12 -0
  411. package/esm2020/story-helpers/story-empty.component.mjs +11 -0
  412. package/esm2020/story-helpers/story-helper-components.module.mjs +42 -0
  413. package/esm2020/story-helpers/story-initial-route.mjs +28 -0
  414. package/esm2020/story-helpers/story-modal-container.component.mjs +90 -0
  415. package/esm2020/story-helpers/story-toastr.service.mjs +36 -0
  416. package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +17 -0
  417. package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +37 -0
  418. package/esm2020/tabbed/public-api.mjs +9 -0
  419. package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +16 -0
  420. package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +33 -0
  421. package/esm2020/tabbed/tabbed-models.mjs +2 -0
  422. package/esm2020/tabbed/tabbed.component.mjs +112 -0
  423. package/esm2020/tabbed/tabbed.module.mjs +54 -0
  424. package/esm2020/tabbed/tabbed.service.mjs +30 -0
  425. package/esm2020/table/table/table.component.mjs +96 -0
  426. package/esm2020/table/table.module.mjs +32 -0
  427. package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +67 -0
  428. package/esm2020/table-cell-type/table-cell-type-export-props.mjs +2 -0
  429. package/esm2020/table-cell-type/table-cell-type-models.mjs +2 -0
  430. package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +100 -0
  431. package/esm2020/table-cell-type/table-cell-type.module.mjs +29 -0
  432. package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +86 -0
  433. package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +52 -0
  434. package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +84 -0
  435. package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +175 -0
  436. package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +82 -0
  437. package/esm2020/table-cell-types/table-cell-type-manifests.mjs +92 -0
  438. package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +67 -0
  439. package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +168 -0
  440. package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +77 -0
  441. package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +197 -0
  442. package/esm2020/table-cell-types/table-cell-types.module.mjs +118 -0
  443. package/esm2020/table-cell-types/theseam-ui-common-table-cell-types.mjs +5 -0
  444. package/esm2020/tel-input/intl-tel-input.mjs +55 -0
  445. package/esm2020/tel-input/phone-number.pipe.mjs +49 -0
  446. package/esm2020/tel-input/tel-input/tel-input.component.mjs +186 -0
  447. package/esm2020/tel-input/tel-input-validator.mjs +27 -0
  448. package/esm2020/tel-input/tel-input.directive.mjs +210 -0
  449. package/esm2020/tel-input/tel-input.module.mjs +42 -0
  450. package/esm2020/tel-input/utils/add-country-code.mjs +23 -0
  451. package/esm2020/tel-input/utils/get-validation-error-message.mjs +12 -0
  452. package/esm2020/tel-input/utils/process-country-codes.mjs +46 -0
  453. package/esm2020/testing/get-harness.mjs +13 -0
  454. package/esm2020/testing/render-story.mjs +10 -0
  455. package/esm2020/testing/story-expect.mjs +39 -0
  456. package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +214 -0
  457. package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +159 -0
  458. package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +63 -0
  459. package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +17 -0
  460. package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +16 -0
  461. package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +19 -0
  462. package/esm2020/tiled-select/public-api.mjs +10 -0
  463. package/esm2020/tiled-select/testing/index.mjs +3 -0
  464. package/esm2020/tiled-select/testing/tiled-select-harness.mjs +21 -0
  465. package/esm2020/tiled-select/testing/tiled-select-tile-harness.mjs +23 -0
  466. package/esm2020/tiled-select/tiled-select.module.mjs +51 -0
  467. package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +11 -0
  468. package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +16 -0
  469. package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +57 -0
  470. package/esm2020/toggle-edit/toggle-edit.component.mjs +414 -0
  471. package/esm2020/toggle-edit/toggle-edit.module.mjs +64 -0
  472. package/esm2020/toggle-group/toggle-group-option.directive.mjs +47 -0
  473. package/esm2020/toggle-group/toggle-group.directive.mjs +198 -0
  474. package/esm2020/toggle-group/toggle-group.module.mjs +33 -0
  475. package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +30 -0
  476. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +21 -0
  477. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +38 -0
  478. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +17 -0
  479. package/esm2020/utils/array-move.mjs +62 -0
  480. package/esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs +18 -0
  481. package/esm2020/utils/file-utils.mjs +49 -0
  482. package/esm2020/utils/form/get-control-path.mjs +38 -0
  483. package/esm2020/utils/geo-json/coerce-feature-collection.mjs +44 -0
  484. package/esm2020/utils/geo-json/geo-json-to-area.mjs +11 -0
  485. package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +21 -0
  486. package/esm2020/utils/geo-json/is-only-geometry-types.mjs +23 -0
  487. package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +32 -0
  488. package/esm2020/utils/geo-json/merge-polygons.mjs +35 -0
  489. package/esm2020/utils/geo-json/min-max-points.validator.mjs +56 -0
  490. package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +63 -0
  491. package/esm2020/utils/geo-json/read-geo-file.mjs +93 -0
  492. package/esm2020/utils/geo-json/split-multi-polygons.mjs +29 -0
  493. package/esm2020/utils/has-property.mjs +7 -0
  494. package/esm2020/utils/load-style-sheet.mjs +14 -0
  495. package/esm2020/utils/load-style.mjs +13 -0
  496. package/esm2020/utils/obj-utils.mjs +26 -0
  497. package/esm2020/utils/polling-ticker.mjs +121 -0
  498. package/esm2020/utils/router/operators/activated-routes-with-data-property.mjs +11 -0
  499. package/esm2020/utils/router/route-snapshot-path-full.mjs +5 -0
  500. package/esm2020/utils/router/route-snapshot-path-relative.mjs +4 -0
  501. package/esm2020/utils/router/will-have-data-prop.mjs +10 -0
  502. package/esm2020/utils/subscriber-count.mjs +45 -0
  503. package/esm2020/utils/toggle-attribute.mjs +36 -0
  504. package/esm2020/utils/wait-on-condition-async.mjs +30 -0
  505. package/esm2020/vertical-list-filter/public-api.mjs +3 -0
  506. package/esm2020/vertical-list-filter/testing/index.mjs +2 -0
  507. package/esm2020/vertical-list-filter/testing/vertical-list-filter.harness.mjs +28 -0
  508. package/esm2020/vertical-list-filter/theseam-ui-common-vertical-list-filter.mjs +5 -0
  509. package/esm2020/vertical-list-filter/vertical-list-filter.component.mjs +52 -0
  510. package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +219 -0
  511. package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +32 -0
  512. package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +143 -0
  513. package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +28 -0
  514. package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +164 -0
  515. package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +33 -0
  516. package/esm2020/widget/directives/widget-drag-handle.directive.mjs +150 -0
  517. package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +16 -0
  518. package/esm2020/widget/directives/widget-title-tpl.directive.mjs +16 -0
  519. package/esm2020/widget/widget/widget.component.mjs +142 -0
  520. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +11 -0
  521. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +30 -0
  522. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +11 -0
  523. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +24 -0
  524. package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +11 -0
  525. package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +24 -0
  526. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +39 -0
  527. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +24 -0
  528. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +11 -0
  529. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +24 -0
  530. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +11 -0
  531. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +24 -0
  532. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +22 -0
  533. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +24 -0
  534. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +17 -0
  535. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +124 -0
  536. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +14 -0
  537. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +46 -0
  538. package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +38 -0
  539. package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +32 -0
  540. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +13 -0
  541. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +41 -0
  542. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +11 -0
  543. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +17 -0
  544. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +122 -0
  545. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +48 -0
  546. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +11 -0
  547. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +27 -0
  548. package/esm2020/widget/widget-footer/widget-footer.component.mjs +11 -0
  549. package/esm2020/widget/widget-registry.service.mjs +56 -0
  550. package/esm2020/widget/widget.module.mjs +125 -0
  551. package/fesm2015/theseam-ui-common-asset-reader.mjs +186 -0
  552. package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -0
  553. package/fesm2015/theseam-ui-common-breadcrumbs.mjs +201 -0
  554. package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -0
  555. package/fesm2015/theseam-ui-common-buttons.mjs +314 -0
  556. package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -0
  557. package/fesm2015/theseam-ui-common-card.mjs +153 -0
  558. package/fesm2015/theseam-ui-common-card.mjs.map +1 -0
  559. package/fesm2015/theseam-ui-common-carousel.mjs +265 -0
  560. package/fesm2015/theseam-ui-common-carousel.mjs.map +1 -0
  561. package/fesm2015/theseam-ui-common-checkbox.mjs +393 -0
  562. package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -0
  563. package/fesm2015/theseam-ui-common-confirm-dialog.mjs +173 -0
  564. package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -0
  565. package/fesm2015/theseam-ui-common-core.mjs +225 -0
  566. package/fesm2015/theseam-ui-common-core.mjs.map +1 -0
  567. package/fesm2015/theseam-ui-common-data-exporter.mjs +93 -0
  568. package/fesm2015/theseam-ui-common-data-exporter.mjs.map +1 -0
  569. package/fesm2015/theseam-ui-common-data-filters.mjs +508 -0
  570. package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -0
  571. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +998 -0
  572. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
  573. package/fesm2015/theseam-ui-common-datatable.mjs +2818 -0
  574. package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -0
  575. package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +135 -0
  576. package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
  577. package/fesm2015/theseam-ui-common-dynamic.mjs +722 -0
  578. package/fesm2015/theseam-ui-common-dynamic.mjs.map +1 -0
  579. package/fesm2015/theseam-ui-common-footer-bar.mjs +35 -0
  580. package/fesm2015/theseam-ui-common-footer-bar.mjs.map +1 -0
  581. package/fesm2015/theseam-ui-common-form-field-error.mjs +479 -0
  582. package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -0
  583. package/fesm2015/theseam-ui-common-form-field.mjs +601 -0
  584. package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -0
  585. package/fesm2015/theseam-ui-common-framework.mjs +3733 -0
  586. package/fesm2015/theseam-ui-common-framework.mjs.map +1 -0
  587. package/fesm2015/theseam-ui-common-google-maps.mjs +1957 -0
  588. package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -0
  589. package/fesm2015/theseam-ui-common-graphql.mjs +862 -0
  590. package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -0
  591. package/fesm2015/theseam-ui-common-icon.mjs +587 -0
  592. package/fesm2015/theseam-ui-common-icon.mjs.map +1 -0
  593. package/fesm2015/theseam-ui-common-layout.mjs +101 -0
  594. package/fesm2015/theseam-ui-common-layout.mjs.map +1 -0
  595. package/fesm2015/theseam-ui-common-loading.mjs +139 -0
  596. package/fesm2015/theseam-ui-common-loading.mjs.map +1 -0
  597. package/fesm2015/theseam-ui-common-menu.mjs +810 -0
  598. package/fesm2015/theseam-ui-common-menu.mjs.map +1 -0
  599. package/fesm2015/theseam-ui-common-modal.mjs +1378 -0
  600. package/fesm2015/theseam-ui-common-modal.mjs.map +1 -0
  601. package/fesm2015/theseam-ui-common-models.mjs +52 -0
  602. package/fesm2015/theseam-ui-common-models.mjs.map +1 -0
  603. package/fesm2015/theseam-ui-common-popover.mjs +498 -0
  604. package/fesm2015/theseam-ui-common-popover.mjs.map +1 -0
  605. package/fesm2015/theseam-ui-common-progress.mjs +93 -0
  606. package/fesm2015/theseam-ui-common-progress.mjs.map +1 -0
  607. package/fesm2015/theseam-ui-common-scrollbar.mjs +184 -0
  608. package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -0
  609. package/fesm2015/theseam-ui-common-services.mjs +139 -0
  610. package/fesm2015/theseam-ui-common-services.mjs.map +1 -0
  611. package/fesm2015/theseam-ui-common-shared.mjs +739 -0
  612. package/fesm2015/theseam-ui-common-shared.mjs.map +1 -0
  613. package/fesm2015/theseam-ui-common-storage.mjs +148 -0
  614. package/fesm2015/theseam-ui-common-storage.mjs.map +1 -0
  615. package/fesm2015/theseam-ui-common-story-helpers.mjs +402 -0
  616. package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -0
  617. package/fesm2015/theseam-ui-common-tabbed.mjs +281 -0
  618. package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -0
  619. package/fesm2015/theseam-ui-common-table-cell-type.mjs +201 -0
  620. package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +1 -0
  621. package/fesm2015/theseam-ui-common-table-cell-types.mjs +1134 -0
  622. package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -0
  623. package/fesm2015/theseam-ui-common-table.mjs +128 -0
  624. package/fesm2015/theseam-ui-common-table.mjs.map +1 -0
  625. package/fesm2015/theseam-ui-common-tel-input.mjs +765 -0
  626. package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -0
  627. package/fesm2015/theseam-ui-common-testing.mjs +192 -0
  628. package/fesm2015/theseam-ui-common-testing.mjs.map +1 -0
  629. package/fesm2015/theseam-ui-common-tiled-select.mjs +571 -0
  630. package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -0
  631. package/fesm2015/theseam-ui-common-toggle-edit.mjs +560 -0
  632. package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -0
  633. package/fesm2015/theseam-ui-common-toggle-group.mjs +279 -0
  634. package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -0
  635. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +106 -0
  636. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
  637. package/fesm2015/theseam-ui-common-utils.mjs +1319 -0
  638. package/fesm2015/theseam-ui-common-utils.mjs.map +1 -0
  639. package/fesm2015/theseam-ui-common-validators.mjs +94 -0
  640. package/fesm2015/theseam-ui-common-validators.mjs.map +1 -0
  641. package/fesm2015/theseam-ui-common-vertical-list-filter.mjs +96 -0
  642. package/fesm2015/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
  643. package/fesm2015/theseam-ui-common-viewers.mjs +602 -0
  644. package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -0
  645. package/fesm2015/theseam-ui-common-widget.mjs +1243 -0
  646. package/fesm2015/theseam-ui-common-widget.mjs.map +1 -0
  647. package/fesm2015/theseam-ui-common.mjs +6 -0
  648. package/fesm2015/theseam-ui-common.mjs.map +1 -0
  649. package/fesm2020/theseam-ui-common-asset-reader.mjs +184 -0
  650. package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -0
  651. package/fesm2020/theseam-ui-common-breadcrumbs.mjs +201 -0
  652. package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -0
  653. package/fesm2020/theseam-ui-common-buttons.mjs +314 -0
  654. package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -0
  655. package/fesm2020/theseam-ui-common-card.mjs +151 -0
  656. package/fesm2020/theseam-ui-common-card.mjs.map +1 -0
  657. package/fesm2020/theseam-ui-common-carousel.mjs +265 -0
  658. package/fesm2020/theseam-ui-common-carousel.mjs.map +1 -0
  659. package/fesm2020/theseam-ui-common-checkbox.mjs +375 -0
  660. package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -0
  661. package/fesm2020/theseam-ui-common-confirm-dialog.mjs +173 -0
  662. package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -0
  663. package/fesm2020/theseam-ui-common-core.mjs +233 -0
  664. package/fesm2020/theseam-ui-common-core.mjs.map +1 -0
  665. package/fesm2020/theseam-ui-common-data-exporter.mjs +93 -0
  666. package/fesm2020/theseam-ui-common-data-exporter.mjs.map +1 -0
  667. package/fesm2020/theseam-ui-common-data-filters.mjs +500 -0
  668. package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -0
  669. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +986 -0
  670. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
  671. package/fesm2020/theseam-ui-common-datatable.mjs +2811 -0
  672. package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -0
  673. package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +133 -0
  674. package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
  675. package/fesm2020/theseam-ui-common-dynamic.mjs +689 -0
  676. package/fesm2020/theseam-ui-common-dynamic.mjs.map +1 -0
  677. package/fesm2020/theseam-ui-common-footer-bar.mjs +35 -0
  678. package/fesm2020/theseam-ui-common-footer-bar.mjs.map +1 -0
  679. package/fesm2020/theseam-ui-common-form-field-error.mjs +483 -0
  680. package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -0
  681. package/fesm2020/theseam-ui-common-form-field.mjs +594 -0
  682. package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -0
  683. package/fesm2020/theseam-ui-common-framework.mjs +3734 -0
  684. package/fesm2020/theseam-ui-common-framework.mjs.map +1 -0
  685. package/fesm2020/theseam-ui-common-google-maps.mjs +1948 -0
  686. package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -0
  687. package/fesm2020/theseam-ui-common-graphql.mjs +868 -0
  688. package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -0
  689. package/fesm2020/theseam-ui-common-icon.mjs +587 -0
  690. package/fesm2020/theseam-ui-common-icon.mjs.map +1 -0
  691. package/fesm2020/theseam-ui-common-layout.mjs +111 -0
  692. package/fesm2020/theseam-ui-common-layout.mjs.map +1 -0
  693. package/fesm2020/theseam-ui-common-loading.mjs +138 -0
  694. package/fesm2020/theseam-ui-common-loading.mjs.map +1 -0
  695. package/fesm2020/theseam-ui-common-menu.mjs +797 -0
  696. package/fesm2020/theseam-ui-common-menu.mjs.map +1 -0
  697. package/fesm2020/theseam-ui-common-modal.mjs +1370 -0
  698. package/fesm2020/theseam-ui-common-modal.mjs.map +1 -0
  699. package/fesm2020/theseam-ui-common-models.mjs +55 -0
  700. package/fesm2020/theseam-ui-common-models.mjs.map +1 -0
  701. package/fesm2020/theseam-ui-common-popover.mjs +495 -0
  702. package/fesm2020/theseam-ui-common-popover.mjs.map +1 -0
  703. package/fesm2020/theseam-ui-common-progress.mjs +93 -0
  704. package/fesm2020/theseam-ui-common-progress.mjs.map +1 -0
  705. package/fesm2020/theseam-ui-common-scrollbar.mjs +184 -0
  706. package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -0
  707. package/fesm2020/theseam-ui-common-services.mjs +140 -0
  708. package/fesm2020/theseam-ui-common-services.mjs.map +1 -0
  709. package/fesm2020/theseam-ui-common-shared.mjs +733 -0
  710. package/fesm2020/theseam-ui-common-shared.mjs.map +1 -0
  711. package/fesm2020/theseam-ui-common-storage.mjs +148 -0
  712. package/fesm2020/theseam-ui-common-storage.mjs.map +1 -0
  713. package/fesm2020/theseam-ui-common-story-helpers.mjs +402 -0
  714. package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -0
  715. package/fesm2020/theseam-ui-common-tabbed.mjs +279 -0
  716. package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -0
  717. package/fesm2020/theseam-ui-common-table-cell-type.mjs +198 -0
  718. package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +1 -0
  719. package/fesm2020/theseam-ui-common-table-cell-types.mjs +1109 -0
  720. package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -0
  721. package/fesm2020/theseam-ui-common-table.mjs +132 -0
  722. package/fesm2020/theseam-ui-common-table.mjs.map +1 -0
  723. package/fesm2020/theseam-ui-common-tel-input.mjs +750 -0
  724. package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -0
  725. package/fesm2020/theseam-ui-common-testing.mjs +188 -0
  726. package/fesm2020/theseam-ui-common-testing.mjs.map +1 -0
  727. package/fesm2020/theseam-ui-common-tiled-select.mjs +557 -0
  728. package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -0
  729. package/fesm2020/theseam-ui-common-toggle-edit.mjs +553 -0
  730. package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -0
  731. package/fesm2020/theseam-ui-common-toggle-group.mjs +276 -0
  732. package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -0
  733. package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +106 -0
  734. package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
  735. package/fesm2020/theseam-ui-common-utils.mjs +1296 -0
  736. package/fesm2020/theseam-ui-common-utils.mjs.map +1 -0
  737. package/fesm2020/theseam-ui-common-validators.mjs +94 -0
  738. package/fesm2020/theseam-ui-common-validators.mjs.map +1 -0
  739. package/fesm2020/theseam-ui-common-vertical-list-filter.mjs +87 -0
  740. package/fesm2020/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
  741. package/fesm2020/theseam-ui-common-viewers.mjs +598 -0
  742. package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -0
  743. package/fesm2020/theseam-ui-common-widget.mjs +1239 -0
  744. package/fesm2020/theseam-ui-common-widget.mjs.map +1 -0
  745. package/fesm2020/theseam-ui-common.mjs +6 -0
  746. package/fesm2020/theseam-ui-common.mjs.map +1 -0
  747. package/footer-bar/footer-bar/footer-bar.component.d.ts +4 -4
  748. package/footer-bar/footer-bar.module.d.ts +6 -0
  749. package/footer-bar/index.d.ts +5 -0
  750. package/form-field/form-field-error.directive.d.ts +3 -0
  751. package/form-field/form-field-help-text.directive.d.ts +3 -0
  752. package/form-field/form-field-label-tpl.directive.d.ts +3 -0
  753. package/form-field/form-field-required-indicator.component.d.ts +5 -3
  754. package/form-field/form-field-tokens.d.ts +2 -0
  755. package/form-field/form-field.component.d.ts +3 -0
  756. package/form-field/form-field.module.d.ts +14 -0
  757. package/form-field/index.d.ts +5 -0
  758. package/form-field/input.directive.d.ts +3 -0
  759. package/form-field/public-api.d.ts +2 -0
  760. package/form-field/testing/form-field-required-indicator.harness.d.ts +5 -0
  761. package/form-field/testing/index.d.ts +1 -0
  762. package/form-field-error/form-field-error/form-field-error.component.d.ts +4 -4
  763. package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +3 -0
  764. package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +3 -0
  765. package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +5 -3
  766. package/form-field-error/form-field-error.module.d.ts +9 -0
  767. package/form-field-error/index.d.ts +5 -0
  768. package/framework/base-layout/base-layout-action.d.ts +1 -1
  769. package/framework/base-layout/base-layout.component.d.ts +3 -0
  770. package/framework/base-layout/base-layout.module.d.ts +18 -0
  771. package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +3 -0
  772. package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +3 -0
  773. package/framework/base-layout/directives/base-layout-content.directive.d.ts +3 -0
  774. package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +3 -0
  775. package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +3 -0
  776. package/framework/base-layout/directives/base-layout-side-bar-header.directive.d.ts +3 -0
  777. package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +3 -0
  778. package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +3 -0
  779. package/framework/base-layout/index.d.ts +2 -0
  780. package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +5 -4
  781. package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +8 -6
  782. package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +3 -0
  783. package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +3 -0
  784. package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +5 -1
  785. package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +3 -0
  786. package/framework/dashboard/dashboard-widgets-tokens.d.ts +7 -0
  787. package/framework/dashboard/dashboard.component.d.ts +3 -1
  788. package/framework/dashboard/dashboard.module.d.ts +15 -0
  789. package/framework/dynamic-router/dynamic-router.module.d.ts +7 -0
  790. package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +5 -3
  791. package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +3 -1
  792. package/framework/index.d.ts +5 -0
  793. package/framework/nav/horizontal-nav/horizontal-nav.component.d.ts +5 -3
  794. package/framework/nav/nav-item/nav-item.component.d.ts +3 -0
  795. package/framework/nav/nav.models.d.ts +3 -3
  796. package/framework/nav/nav.module.d.ts +15 -0
  797. package/framework/nav/nav.service.d.ts +3 -0
  798. package/framework/schema-form/schema-form-framework.component.d.ts +3 -0
  799. package/framework/schema-form/schema-form-framework.d.ts +3 -0
  800. package/framework/schema-form/schema-form.module.d.ts +8 -0
  801. package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +3 -0
  802. package/framework/schema-form-controls/schema-form-controls.module.d.ts +18 -0
  803. package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +3 -0
  804. package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +3 -0
  805. package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +3 -0
  806. package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +3 -0
  807. package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +4 -1
  808. package/framework/side-nav/index.d.ts +1 -0
  809. package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +7 -13
  810. package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +5 -4
  811. package/framework/side-nav/side-nav-tokens.d.ts +6 -0
  812. package/framework/side-nav/side-nav.component.d.ts +5 -2
  813. package/framework/side-nav/side-nav.models.d.ts +8 -2
  814. package/framework/side-nav/side-nav.module.d.ts +7 -0
  815. package/framework/side-nav/side-nav.service.d.ts +3 -0
  816. package/framework/top-bar/index.d.ts +2 -0
  817. package/framework/top-bar/top-bar-compact-menu-btn-detail.directive.d.ts +3 -0
  818. package/framework/top-bar/top-bar-item.directive.d.ts +4 -1
  819. package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +3 -0
  820. package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +5 -4
  821. package/framework/top-bar/top-bar-menu.directive.d.ts +3 -0
  822. package/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.d.ts +3 -0
  823. package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +4 -4
  824. package/framework/top-bar/top-bar.component.d.ts +5 -4
  825. package/framework/top-bar/top-bar.module.d.ts +19 -0
  826. package/google-maps/google-maps/google-maps.component.d.ts +18 -11
  827. package/google-maps/google-maps-api-loader/google-maps-api-loader.d.ts +4 -0
  828. package/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.d.ts +73 -0
  829. package/google-maps/google-maps-api-loader/noop-google-maps-api-loader.d.ts +13 -0
  830. package/google-maps/google-maps-contextmenu.d.ts +1 -1
  831. package/google-maps/google-maps-controls.service.d.ts +3 -0
  832. package/google-maps/google-maps-feature-helpers.d.ts +1 -1
  833. package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +6 -4
  834. package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.d.ts +4 -1
  835. package/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.d.ts +3 -0
  836. package/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.d.ts +3 -0
  837. package/google-maps/google-maps.module.d.ts +18 -0
  838. package/google-maps/google-maps.service.d.ts +4 -1
  839. package/google-maps/index.d.ts +5 -0
  840. package/google-maps/map-control.component.d.ts +3 -0
  841. package/google-maps/map-controls-service.d.ts +1 -1
  842. package/google-maps/map-file-drop/map-file-drop.component.d.ts +3 -0
  843. package/google-maps/map-value-manager.service.d.ts +4 -1
  844. package/google-maps/public-api.d.ts +3 -0
  845. package/graphql/datatable/datatable-graphql-query-ref.d.ts +2 -3
  846. package/graphql/datatable/datatable-graphql.service.d.ts +4 -1
  847. package/graphql/datatable/datatable-helpers.d.ts +2 -2
  848. package/graphql/datatable/map-filter-states.d.ts +2 -2
  849. package/graphql/datatable/map-page-info.d.ts +1 -1
  850. package/graphql/datatable/mapper-context.d.ts +1 -1
  851. package/graphql/index.d.ts +5 -0
  852. package/graphql/models/gql-datatable-accessor.d.ts +1 -1
  853. package/graphql/models/hint-transformer.d.ts +1 -1
  854. package/icon/icon/icon.component.d.ts +4 -1
  855. package/icon/icon-btn/icon-btn.component.d.ts +5 -3
  856. package/icon/icon-notification/icon-notification.component.d.ts +3 -0
  857. package/icon/icon.d.ts +1 -1
  858. package/icon/icon.module.d.ts +9 -0
  859. package/icon/index.d.ts +5 -0
  860. package/index.d.ts +5 -0
  861. package/layout/breakpoint-aliases.d.ts +1 -1
  862. package/layout/index.d.ts +5 -0
  863. package/layout/layout.module.d.ts +6 -0
  864. package/layout/layout.service.d.ts +3 -0
  865. package/loading/index.d.ts +5 -0
  866. package/loading/loading/loading.component.d.ts +4 -4
  867. package/loading/loading-overlay.service.d.ts +3 -0
  868. package/loading/loading.models.d.ts +1 -1
  869. package/loading/loading.module.d.ts +9 -0
  870. package/menu/index.d.ts +5 -0
  871. package/menu/menu-divider.component.d.ts +3 -0
  872. package/menu/menu-footer/menu-footer.component.d.ts +3 -0
  873. package/menu/menu-footer-action/menu-footer-action.component.d.ts +3 -0
  874. package/menu/menu-header/menu-header.component.d.ts +3 -0
  875. package/menu/menu-item.component.d.ts +5 -3
  876. package/menu/menu-toggle.directive.d.ts +3 -0
  877. package/menu/menu.component.d.ts +3 -0
  878. package/menu/menu.module.d.ts +14 -0
  879. package/modal/README.md +5 -0
  880. package/modal/directives/modal-close.directive.d.ts +3 -0
  881. package/modal/directives/modal-footer-tpl.directive.d.ts +3 -0
  882. package/modal/directives/modal-header-icon-tpl.directive.d.ts +3 -0
  883. package/modal/directives/modal-header-title-tpl.directive.d.ts +3 -0
  884. package/modal/directives/modal-title.directive.d.ts +3 -0
  885. package/modal/directives/modal.directive.d.ts +3 -0
  886. package/modal/index.d.ts +5 -0
  887. package/modal/modal/modal.component.d.ts +8 -6
  888. package/modal/modal-body/modal-body.component.d.ts +4 -4
  889. package/modal/modal-config.d.ts +1 -1
  890. package/modal/modal-container/modal-container.component.d.ts +5 -2
  891. package/modal/modal-footer/modal-footer.component.d.ts +4 -4
  892. package/modal/modal-header/modal-header.component.d.ts +4 -4
  893. package/modal/modal.models.d.ts +2 -2
  894. package/modal/modal.module.d.ts +23 -0
  895. package/modal/modal.service.d.ts +3 -0
  896. package/modal/route-modal/route-modal.component.d.ts +5 -3
  897. package/models/component-type.d.ts +1 -1
  898. package/models/index.d.ts +5 -0
  899. package/models/size-prefixes.d.ts +1 -1
  900. package/models/size-types.d.ts +1 -1
  901. package/models/theme-prefixes.d.ts +1 -1
  902. package/models/theme-types.d.ts +2 -2
  903. package/package.json +418 -24
  904. package/popover/index.d.ts +5 -0
  905. package/popover/popover/popover.component.d.ts +3 -0
  906. package/popover/popover.directive.d.ts +3 -0
  907. package/popover/popover.module.d.ts +9 -0
  908. package/progress/index.d.ts +5 -0
  909. package/progress/progress-circle/progress-circle.component.d.ts +3 -1
  910. package/progress/progress.module.d.ts +6 -0
  911. package/scrollbar/index.d.ts +5 -0
  912. package/scrollbar/overlay-scrollbar.directive.d.ts +5 -3
  913. package/scrollbar/overlay-scrollbars-config-model.d.ts +1 -1
  914. package/scrollbar/overlay-scrollbars.service.d.ts +3 -0
  915. package/scrollbar/scrollbar.module.d.ts +6 -0
  916. package/services/asset-loader.service.d.ts +3 -1
  917. package/services/font-loader.service.d.ts +4 -2
  918. package/services/index.d.ts +5 -0
  919. package/services/router-helpers.service.d.ts +3 -0
  920. package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +3 -0
  921. package/shared/directives/auto-focus.directive.d.ts +3 -0
  922. package/shared/directives/click-outside.directive.d.ts +3 -0
  923. package/shared/directives/disable-control.directive.d.ts +3 -0
  924. package/shared/directives/elem-resized.directive.d.ts +3 -0
  925. package/shared/directives/hover-class-toggle.directive.d.ts +3 -0
  926. package/shared/directives/hover-class.directive.d.ts +3 -0
  927. package/shared/directives/ng-select-extra.directive.d.ts +3 -0
  928. package/shared/directives/ngx-quill-extra.directive.d.ts +3 -0
  929. package/shared/index.d.ts +5 -0
  930. package/shared/pipes/mask-chars.pipe.d.ts +3 -0
  931. package/shared/pipes/truncate.pipe.d.ts +3 -0
  932. package/shared/shared.module.d.ts +20 -0
  933. package/storage/index.d.ts +5 -0
  934. package/storage/local-storage.service.d.ts +3 -0
  935. package/story-helpers/arg-type-helpers.d.ts +2 -1
  936. package/story-helpers/index.d.ts +5 -0
  937. package/story-helpers/initial-route.service.d.ts +3 -0
  938. package/story-helpers/on-story-bootstrapped-exec.d.ts +1 -6
  939. package/story-helpers/public-api.d.ts +0 -1
  940. package/story-helpers/routes-arg-type.d.ts +7 -2
  941. package/story-helpers/story-empty-with-route.component.d.ts +3 -0
  942. package/story-helpers/story-empty.component.d.ts +3 -0
  943. package/story-helpers/story-helper-components.module.d.ts +10 -0
  944. package/story-helpers/story-initial-route.d.ts +4 -0
  945. package/story-helpers/story-modal-container.component.d.ts +3 -0
  946. package/story-helpers/story-toastr.service.d.ts +3 -0
  947. package/styles/bootstrap/_bootstrap.scss +34 -34
  948. package/styles/bootstrap/_bs-utilities.scss +3 -3
  949. package/styles/theme.scss +3 -3
  950. package/styles/vendor/ngx-datatable/_ngx-datatable.scss +39 -13
  951. package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +25 -15
  952. package/styles/vendor/quill/_quill.scss +3 -3
  953. package/tabbed/directives/tabbed-tab-content.directive.d.ts +5 -2
  954. package/tabbed/directives/tabbed-tab.directive.d.ts +5 -1
  955. package/tabbed/index.d.ts +5 -0
  956. package/tabbed/public-api.d.ts +1 -0
  957. package/tabbed/tabbed-content/tabbed-content.component.d.ts +6 -6
  958. package/tabbed/tabbed-item/tabbed-item.component.d.ts +6 -4
  959. package/tabbed/tabbed-models.d.ts +12 -0
  960. package/tabbed/tabbed.component.d.ts +3 -0
  961. package/tabbed/tabbed.module.d.ts +12 -0
  962. package/tabbed/tabbed.service.d.ts +3 -1
  963. package/table/index.d.ts +5 -0
  964. package/table/table/table.component.d.ts +7 -5
  965. package/table/table.module.d.ts +8 -0
  966. package/table-cell-type/index.d.ts +5 -0
  967. package/table-cell-type/services/table-cell-types-helpers.service.d.ts +3 -0
  968. package/table-cell-type/table-cell-type-models.d.ts +4 -4
  969. package/table-cell-type/table-cell-type-name.d.ts +1 -1
  970. package/table-cell-type/table-cell-type-selector.component.d.ts +6 -4
  971. package/table-cell-type/table-cell-type.module.d.ts +7 -0
  972. package/table-cell-types/index.d.ts +5 -0
  973. package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +1 -1
  974. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +5 -3
  975. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +1 -1
  976. package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +5 -3
  977. package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +1 -1
  978. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +1 -1
  979. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +5 -3
  980. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +1 -1
  981. package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +1 -1
  982. package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +6 -4
  983. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +1 -1
  984. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +5 -3
  985. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +1 -1
  986. package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +5 -3
  987. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +1 -1
  988. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +5 -3
  989. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +1 -1
  990. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +5 -3
  991. package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +1 -1
  992. package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +4 -1
  993. package/table-cell-types/table-cell-types.module.d.ts +24 -0
  994. package/tel-input/README.md +27 -0
  995. package/tel-input/index.d.ts +5 -0
  996. package/tel-input/phone-number.pipe.d.ts +3 -0
  997. package/tel-input/tel-input/tel-input.component.d.ts +5 -2
  998. package/tel-input/tel-input-validator.d.ts +3 -3
  999. package/tel-input/tel-input.directive.d.ts +3 -0
  1000. package/tel-input/tel-input.module.d.ts +10 -0
  1001. package/tel-input/utils/coerce-phone-number-format.d.ts +1 -1
  1002. package/testing/index.d.ts +5 -0
  1003. package/tiled-select/components/tiled-select/tiled-select.component.d.ts +6 -4
  1004. package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +3 -0
  1005. package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +4 -4
  1006. package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +3 -0
  1007. package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +3 -0
  1008. package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +3 -0
  1009. package/tiled-select/index.d.ts +5 -0
  1010. package/tiled-select/public-api.d.ts +1 -0
  1011. package/tiled-select/testing/index.d.ts +2 -0
  1012. package/tiled-select/testing/tiled-select-harness.d.ts +9 -0
  1013. package/tiled-select/testing/tiled-select-tile-harness.d.ts +17 -0
  1014. package/tiled-select/tiled-select.models.d.ts +2 -2
  1015. package/tiled-select/tiled-select.module.d.ts +12 -0
  1016. package/toggle-edit/index.d.ts +5 -0
  1017. package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +4 -4
  1018. package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +3 -0
  1019. package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +3 -0
  1020. package/toggle-edit/toggle-edit.component.d.ts +3 -0
  1021. package/toggle-edit/toggle-edit.module.d.ts +16 -0
  1022. package/toggle-group/index.d.ts +5 -0
  1023. package/toggle-group/toggle-group-option.directive.d.ts +3 -0
  1024. package/toggle-group/toggle-group.directive.d.ts +3 -1
  1025. package/toggle-group/toggle-group.module.d.ts +8 -0
  1026. package/unsaved-changes-dialog/index.d.ts +5 -0
  1027. package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +3 -0
  1028. package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +4 -4
  1029. package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +3 -0
  1030. package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +5 -0
  1031. package/utils/file-utils.d.ts +1 -1
  1032. package/utils/geo-json/read-geo-file.d.ts +1 -1
  1033. package/utils/index.d.ts +5 -0
  1034. package/utils/obj-utils.d.ts +2 -2
  1035. package/utils/polling-ticker.d.ts +1 -1
  1036. package/utils/subscriber-count.d.ts +1 -1
  1037. package/validators/index.d.ts +5 -0
  1038. package/vertical-list-filter/index.d.ts +5 -0
  1039. package/vertical-list-filter/public-api.d.ts +2 -0
  1040. package/vertical-list-filter/testing/index.d.ts +1 -0
  1041. package/vertical-list-filter/testing/vertical-list-filter.harness.d.ts +9 -0
  1042. package/vertical-list-filter/vertical-list-filter.component.d.ts +17 -0
  1043. package/viewers/html-template-viewer/html-template-viewer.component.d.ts +3 -0
  1044. package/viewers/html-template-viewer/html-template-viewer.module.d.ts +8 -0
  1045. package/viewers/index.d.ts +5 -0
  1046. package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +3 -0
  1047. package/viewers/pdf-viewer/pdf-renderer.service.d.ts +3 -0
  1048. package/viewers/pdf-viewer/pdf-viewer.component.d.ts +3 -0
  1049. package/viewers/pdf-viewer/pdf-viewer.module.d.ts +8 -0
  1050. package/widget/directives/widget-drag-handle.directive.d.ts +4 -1
  1051. package/widget/directives/widget-icon-tpl.directive.d.ts +3 -0
  1052. package/widget/directives/widget-title-tpl.directive.d.ts +3 -0
  1053. package/widget/index.d.ts +5 -0
  1054. package/widget/widget/widget.component.d.ts +4 -6
  1055. package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +4 -4
  1056. package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +7 -0
  1057. package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +4 -4
  1058. package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +6 -0
  1059. package/widget/widget-content-components/widget-description/widget-description.component.d.ts +3 -0
  1060. package/widget/widget-content-components/widget-description/widget-description.module.d.ts +6 -0
  1061. package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +5 -3
  1062. package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +6 -0
  1063. package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +4 -4
  1064. package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +6 -0
  1065. package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +4 -4
  1066. package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +6 -0
  1067. package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +5 -3
  1068. package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +6 -0
  1069. package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +3 -0
  1070. package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +15 -7
  1071. package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +4 -4
  1072. package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +9 -0
  1073. package/widget/widget-content-components/widget-table/widget-table.component.d.ts +3 -1
  1074. package/widget/widget-content-components/widget-table/widget-table.module.d.ts +8 -0
  1075. package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +4 -4
  1076. package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +5 -3
  1077. package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +4 -4
  1078. package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +3 -0
  1079. package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +5 -0
  1080. package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +11 -0
  1081. package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +4 -4
  1082. package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +7 -0
  1083. package/widget/widget-footer/widget-footer.component.d.ts +4 -4
  1084. package/widget/widget-registry.service.d.ts +3 -0
  1085. package/widget/widget.module.d.ts +28 -0
  1086. package/asset-reader/package.json +0 -11
  1087. package/asset-reader/theseam-ui-common-asset-reader.d.ts +0 -4
  1088. package/asset-reader/theseam-ui-common-asset-reader.metadata.json +0 -1
  1089. package/assets/.gitkeep +0 -0
  1090. package/assets/vendor/intl-tel-input/css/intlTelInput.min.css +0 -1
  1091. package/assets/vendor/intl-tel-input/img/flags.png +0 -0
  1092. package/assets/vendor/intl-tel-input/img/flags@2x.png +0 -0
  1093. package/assets/vendor/intl-tel-input/js/utils.js +0 -502
  1094. package/breadcrumbs/package.json +0 -11
  1095. package/breadcrumbs/theseam-ui-common-breadcrumbs.d.ts +0 -4
  1096. package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +0 -1
  1097. package/bundles/theseam-ui-common-asset-reader.umd.js +0 -531
  1098. package/bundles/theseam-ui-common-asset-reader.umd.js.map +0 -1
  1099. package/bundles/theseam-ui-common-breadcrumbs.umd.js +0 -586
  1100. package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +0 -1
  1101. package/bundles/theseam-ui-common-buttons.umd.js +0 -719
  1102. package/bundles/theseam-ui-common-buttons.umd.js.map +0 -1
  1103. package/bundles/theseam-ui-common-card.umd.js +0 -480
  1104. package/bundles/theseam-ui-common-card.umd.js.map +0 -1
  1105. package/bundles/theseam-ui-common-checkbox.umd.js +0 -650
  1106. package/bundles/theseam-ui-common-checkbox.umd.js.map +0 -1
  1107. package/bundles/theseam-ui-common-confirm-dialog.umd.js +0 -491
  1108. package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +0 -1
  1109. package/bundles/theseam-ui-common-core.umd.js +0 -604
  1110. package/bundles/theseam-ui-common-core.umd.js.map +0 -1
  1111. package/bundles/theseam-ui-common-data-exporter.umd.js +0 -96
  1112. package/bundles/theseam-ui-common-data-exporter.umd.js.map +0 -1
  1113. package/bundles/theseam-ui-common-data-filters.umd.js +0 -891
  1114. package/bundles/theseam-ui-common-data-filters.umd.js.map +0 -1
  1115. package/bundles/theseam-ui-common-datatable-dynamic.umd.js +0 -1499
  1116. package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +0 -1
  1117. package/bundles/theseam-ui-common-datatable.umd.js +0 -3246
  1118. package/bundles/theseam-ui-common-datatable.umd.js.map +0 -1
  1119. package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +0 -178
  1120. package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +0 -1
  1121. package/bundles/theseam-ui-common-dynamic.umd.js +0 -1252
  1122. package/bundles/theseam-ui-common-dynamic.umd.js.map +0 -1
  1123. package/bundles/theseam-ui-common-footer-bar.umd.js +0 -49
  1124. package/bundles/theseam-ui-common-footer-bar.umd.js.map +0 -1
  1125. package/bundles/theseam-ui-common-form-field-error.umd.js +0 -884
  1126. package/bundles/theseam-ui-common-form-field-error.umd.js.map +0 -1
  1127. package/bundles/theseam-ui-common-form-field.umd.js +0 -914
  1128. package/bundles/theseam-ui-common-form-field.umd.js.map +0 -1
  1129. package/bundles/theseam-ui-common-framework.umd.js +0 -4270
  1130. package/bundles/theseam-ui-common-framework.umd.js.map +0 -1
  1131. package/bundles/theseam-ui-common-google-maps.umd.js +0 -2234
  1132. package/bundles/theseam-ui-common-google-maps.umd.js.map +0 -1
  1133. package/bundles/theseam-ui-common-graphql.umd.js +0 -1307
  1134. package/bundles/theseam-ui-common-graphql.umd.js.map +0 -1
  1135. package/bundles/theseam-ui-common-icon.umd.js +0 -890
  1136. package/bundles/theseam-ui-common-icon.umd.js.map +0 -1
  1137. package/bundles/theseam-ui-common-layout.umd.js +0 -126
  1138. package/bundles/theseam-ui-common-layout.umd.js.map +0 -1
  1139. package/bundles/theseam-ui-common-loading.umd.js +0 -152
  1140. package/bundles/theseam-ui-common-loading.umd.js.map +0 -1
  1141. package/bundles/theseam-ui-common-menu.umd.js +0 -1157
  1142. package/bundles/theseam-ui-common-menu.umd.js.map +0 -1
  1143. package/bundles/theseam-ui-common-modal.umd.js +0 -1718
  1144. package/bundles/theseam-ui-common-modal.umd.js.map +0 -1
  1145. package/bundles/theseam-ui-common-models.umd.js +0 -63
  1146. package/bundles/theseam-ui-common-models.umd.js.map +0 -1
  1147. package/bundles/theseam-ui-common-popover.umd.js +0 -504
  1148. package/bundles/theseam-ui-common-popover.umd.js.map +0 -1
  1149. package/bundles/theseam-ui-common-progress.umd.js +0 -420
  1150. package/bundles/theseam-ui-common-progress.umd.js.map +0 -1
  1151. package/bundles/theseam-ui-common-scrollbar.umd.js +0 -238
  1152. package/bundles/theseam-ui-common-scrollbar.umd.js.map +0 -1
  1153. package/bundles/theseam-ui-common-services.umd.js +0 -176
  1154. package/bundles/theseam-ui-common-services.umd.js.map +0 -1
  1155. package/bundles/theseam-ui-common-shared.umd.js +0 -1115
  1156. package/bundles/theseam-ui-common-shared.umd.js.map +0 -1
  1157. package/bundles/theseam-ui-common-storage.umd.js +0 -176
  1158. package/bundles/theseam-ui-common-storage.umd.js.map +0 -1
  1159. package/bundles/theseam-ui-common-story-helpers.umd.js +0 -795
  1160. package/bundles/theseam-ui-common-story-helpers.umd.js.map +0 -1
  1161. package/bundles/theseam-ui-common-tabbed.umd.js +0 -628
  1162. package/bundles/theseam-ui-common-tabbed.umd.js.map +0 -1
  1163. package/bundles/theseam-ui-common-table-cell-type.umd.js +0 -220
  1164. package/bundles/theseam-ui-common-table-cell-type.umd.js.map +0 -1
  1165. package/bundles/theseam-ui-common-table-cell-types.umd.js +0 -1484
  1166. package/bundles/theseam-ui-common-table-cell-types.umd.js.map +0 -1
  1167. package/bundles/theseam-ui-common-table.umd.js +0 -475
  1168. package/bundles/theseam-ui-common-table.umd.js.map +0 -1
  1169. package/bundles/theseam-ui-common-tel-input.umd.js +0 -1107
  1170. package/bundles/theseam-ui-common-tel-input.umd.js.map +0 -1
  1171. package/bundles/theseam-ui-common-testing.umd.js +0 -568
  1172. package/bundles/theseam-ui-common-testing.umd.js.map +0 -1
  1173. package/bundles/theseam-ui-common-tiled-select.umd.js +0 -866
  1174. package/bundles/theseam-ui-common-tiled-select.umd.js.map +0 -1
  1175. package/bundles/theseam-ui-common-toggle-edit.umd.js +0 -891
  1176. package/bundles/theseam-ui-common-toggle-edit.umd.js.map +0 -1
  1177. package/bundles/theseam-ui-common-toggle-group.umd.js +0 -629
  1178. package/bundles/theseam-ui-common-toggle-group.umd.js.map +0 -1
  1179. package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +0 -134
  1180. package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +0 -1
  1181. package/bundles/theseam-ui-common-utils.umd.js +0 -1890
  1182. package/bundles/theseam-ui-common-utils.umd.js.map +0 -1
  1183. package/bundles/theseam-ui-common-validators.umd.js +0 -105
  1184. package/bundles/theseam-ui-common-validators.umd.js.map +0 -1
  1185. package/bundles/theseam-ui-common-viewers.umd.js +0 -962
  1186. package/bundles/theseam-ui-common-viewers.umd.js.map +0 -1
  1187. package/bundles/theseam-ui-common-widget.umd.js +0 -1710
  1188. package/bundles/theseam-ui-common-widget.umd.js.map +0 -1
  1189. package/bundles/theseam-ui-common.umd.js +0 -54
  1190. package/bundles/theseam-ui-common.umd.js.map +0 -1
  1191. package/buttons/package.json +0 -11
  1192. package/buttons/theseam-ui-common-buttons.d.ts +0 -4
  1193. package/buttons/theseam-ui-common-buttons.metadata.json +0 -1
  1194. package/card/package.json +0 -11
  1195. package/card/theseam-ui-common-card.d.ts +0 -4
  1196. package/card/theseam-ui-common-card.metadata.json +0 -1
  1197. package/checkbox/package.json +0 -11
  1198. package/checkbox/theseam-ui-common-checkbox.d.ts +0 -4
  1199. package/checkbox/theseam-ui-common-checkbox.metadata.json +0 -1
  1200. package/confirm-dialog/package.json +0 -11
  1201. package/confirm-dialog/theseam-ui-common-confirm-dialog.d.ts +0 -4
  1202. package/confirm-dialog/theseam-ui-common-confirm-dialog.metadata.json +0 -1
  1203. package/core/package.json +0 -11
  1204. package/core/theseam-ui-common-core.d.ts +0 -4
  1205. package/core/theseam-ui-common-core.metadata.json +0 -1
  1206. package/data-exporter/package.json +0 -11
  1207. package/data-exporter/theseam-ui-common-data-exporter.d.ts +0 -4
  1208. package/data-exporter/theseam-ui-common-data-exporter.metadata.json +0 -1
  1209. package/data-filters/package.json +0 -11
  1210. package/data-filters/theseam-ui-common-data-filters.d.ts +0 -4
  1211. package/data-filters/theseam-ui-common-data-filters.metadata.json +0 -1
  1212. package/datatable/package.json +0 -11
  1213. package/datatable/theseam-ui-common-datatable.d.ts +0 -7
  1214. package/datatable/theseam-ui-common-datatable.metadata.json +0 -1
  1215. package/datatable-dynamic/package.json +0 -11
  1216. package/datatable-dynamic/theseam-ui-common-datatable-dynamic.d.ts +0 -4
  1217. package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +0 -1
  1218. package/dynamic/package.json +0 -11
  1219. package/dynamic/theseam-ui-common-dynamic.d.ts +0 -4
  1220. package/dynamic/theseam-ui-common-dynamic.metadata.json +0 -1
  1221. package/dynamic-component-loader/package.json +0 -11
  1222. package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.d.ts +0 -4
  1223. package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.metadata.json +0 -1
  1224. package/esm2015/asset-reader/asset-reader-helper.service.js +0 -68
  1225. package/esm2015/asset-reader/asset-reader.module.js +0 -15
  1226. package/esm2015/asset-reader/encrypted-asset-link.directive.js +0 -69
  1227. package/esm2015/breadcrumbs/breadcrumb.js +0 -2
  1228. package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +0 -22
  1229. package/esm2015/breadcrumbs/breadcrumbs-resolver.js +0 -2
  1230. package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -21
  1231. package/esm2015/breadcrumbs/breadcrumbs.service.js +0 -158
  1232. package/esm2015/buttons/badge-button/badge-button.component.js +0 -79
  1233. package/esm2015/buttons/button/button.component.js +0 -111
  1234. package/esm2015/buttons/buttons.module.js +0 -34
  1235. package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +0 -60
  1236. package/esm2015/buttons/toggle-button/toggle-button.component.js +0 -88
  1237. package/esm2015/card/card-action/card-action.component.js +0 -27
  1238. package/esm2015/card/card-body/card-body.component.js +0 -32
  1239. package/esm2015/card/card-footer/card-footer.component.js +0 -15
  1240. package/esm2015/card/card-header/card-header.component.js +0 -22
  1241. package/esm2015/card/card.component.js +0 -20
  1242. package/esm2015/card/card.module.js +0 -33
  1243. package/esm2015/checkbox/checkbox.component.js +0 -276
  1244. package/esm2015/checkbox/checkbox.module.js +0 -21
  1245. package/esm2015/checkbox/public-api.js +0 -3
  1246. package/esm2015/confirm-dialog/confirm-click.directive.js +0 -62
  1247. package/esm2015/confirm-dialog/confirm-dialog.component.js +0 -20
  1248. package/esm2015/confirm-dialog/confirm-dialog.module.js +0 -35
  1249. package/esm2015/confirm-dialog/confirm-dialog.service.js +0 -38
  1250. package/esm2015/core/common-behaviors/active.js +0 -13
  1251. package/esm2015/core/common-behaviors/disabled.js +0 -20
  1252. package/esm2015/core/common-behaviors/initialized.js +0 -62
  1253. package/esm2015/core/common-behaviors/size.js +0 -24
  1254. package/esm2015/core/common-behaviors/tabindex.js +0 -22
  1255. package/esm2015/core/common-behaviors/theme.js +0 -24
  1256. package/esm2015/core/input-decorators/input-boolean.decorator.js +0 -27
  1257. package/esm2015/core/input-decorators/input-number.decorator.js +0 -27
  1258. package/esm2015/data-exporter/data-exporter.module.js +0 -17
  1259. package/esm2015/data-exporter/exporters/csv-exporter.js +0 -32
  1260. package/esm2015/data-exporter/exporters/xlsx-exporter.js +0 -30
  1261. package/esm2015/data-filters/data-filter.js +0 -25
  1262. package/esm2015/data-filters/data-filters.module.js +0 -50
  1263. package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +0 -110
  1264. package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +0 -138
  1265. package/esm2015/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.js +0 -151
  1266. package/esm2015/datatable/datatable/datatable.component.js +0 -576
  1267. package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +0 -101
  1268. package/esm2015/datatable/datatable-action-menu-item/datatable-action-menu-item.component.js +0 -30
  1269. package/esm2015/datatable/datatable-column/datatable-column.component.js +0 -83
  1270. package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +0 -63
  1271. package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +0 -52
  1272. package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +0 -101
  1273. package/esm2015/datatable/datatable-footer/datatable-footer-tpl.directive.js +0 -15
  1274. package/esm2015/datatable/datatable-footer/datatable-footer.directive.js +0 -18
  1275. package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +0 -55
  1276. package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +0 -16
  1277. package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +0 -16
  1278. package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +0 -16
  1279. package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +0 -16
  1280. package/esm2015/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.js +0 -32
  1281. package/esm2015/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.js +0 -15
  1282. package/esm2015/datatable/datatable-row-detail/datatable-row-detail.directive.js +0 -69
  1283. package/esm2015/datatable/datatable.module.js +0 -126
  1284. package/esm2015/datatable/directives/datatable-action-menu-item.directive.js +0 -46
  1285. package/esm2015/datatable/directives/datatable-action-menu-toggle.directive.js +0 -128
  1286. package/esm2015/datatable/directives/datatable-cell-tpl.directive.js +0 -15
  1287. package/esm2015/datatable/directives/datatable-filter.directive.js +0 -21
  1288. package/esm2015/datatable/directives/datatable-row-action-item.directive.js +0 -15
  1289. package/esm2015/datatable/models/action-item-column-position.js +0 -2
  1290. package/esm2015/datatable/models/columns-alteration.js +0 -38
  1291. package/esm2015/datatable/models/columns-alterations/order.columns-alteration.js +0 -81
  1292. package/esm2015/datatable/models/datatable-gql-data-source.js +0 -15
  1293. package/esm2015/datatable/models/internal-column-props.js +0 -15
  1294. package/esm2015/datatable/models/sort-item.js +0 -2
  1295. package/esm2015/datatable/services/columns-alterations-manager.service.js +0 -134
  1296. package/esm2015/datatable/services/columns-manager.service.js +0 -270
  1297. package/esm2015/datatable/services/datatable-column-changes.service.js +0 -17
  1298. package/esm2015/datatable/services/datatable-preferences.service.js +0 -159
  1299. package/esm2015/datatable/services/datatable-scrollbar-helper.service.js +0 -51
  1300. package/esm2015/datatable/theseam-ui-common-datatable.js +0 -8
  1301. package/esm2015/datatable/utils/map-columns-alterations-states.js +0 -39
  1302. package/esm2015/datatable/utils/set-column-defaults.js +0 -10
  1303. package/esm2015/datatable/utils/with-stored-column-info.js +0 -20
  1304. package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +0 -119
  1305. package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +0 -53
  1306. package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.js +0 -160
  1307. package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.js +0 -2
  1308. package/esm2015/datatable-dynamic/datatable-dynamic.component.js +0 -75
  1309. package/esm2015/datatable-dynamic/datatable-dynamic.module.js +0 -49
  1310. package/esm2015/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.js +0 -408
  1311. package/esm2015/datatable-dynamic/dynamic-datatable-def.service.js +0 -84
  1312. package/esm2015/datatable-dynamic/dynamic-datatable-row-actions.service.js +0 -47
  1313. package/esm2015/datatable-dynamic/models/dynamic-datatable-menu-bar.js +0 -2
  1314. package/esm2015/dynamic/action/api/dynamic-action-api.service.js +0 -215
  1315. package/esm2015/dynamic/action/dynamic-action-helper.service.js +0 -163
  1316. package/esm2015/dynamic/action/link/dynamic-action-link.service.js +0 -50
  1317. package/esm2015/dynamic/action/modal/dynamic-action-modal-def.js +0 -2
  1318. package/esm2015/dynamic/action/modal/dynamic-action-modal.service.js +0 -92
  1319. package/esm2015/dynamic/dynamic-value-helper.service.js +0 -101
  1320. package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.js +0 -33
  1321. package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +0 -30
  1322. package/esm2015/dynamic/models/dynamic-value-evaluatable-type.js +0 -2
  1323. package/esm2015/dynamic-component-loader/dynamic-component-loader.module.js +0 -47
  1324. package/esm2015/dynamic-component-loader/dynamic-component-loader.service.js +0 -91
  1325. package/esm2015/dynamic-component-loader/dynamic-component-manifest.js +0 -2
  1326. package/esm2015/footer-bar/footer-bar/footer-bar.component.js +0 -16
  1327. package/esm2015/footer-bar/footer-bar.module.js +0 -15
  1328. package/esm2015/form-field/form-field-error.directive.js +0 -28
  1329. package/esm2015/form-field/form-field-help-text.directive.js +0 -15
  1330. package/esm2015/form-field/form-field-label-tpl.directive.js +0 -15
  1331. package/esm2015/form-field/form-field-required-indicator.component.js +0 -38
  1332. package/esm2015/form-field/form-field.component.js +0 -193
  1333. package/esm2015/form-field/form-field.module.js +0 -40
  1334. package/esm2015/form-field/input.directive.js +0 -195
  1335. package/esm2015/form-field/public-api.js +0 -8
  1336. package/esm2015/form-field-error/form-field-error/form-field-error.component.js +0 -27
  1337. package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.js +0 -25
  1338. package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item.directive.js +0 -18
  1339. package/esm2015/form-field-error/form-field-error-list/form-field-error-list.component.js +0 -370
  1340. package/esm2015/form-field-error/form-field-error.module.js +0 -28
  1341. package/esm2015/framework/base-layout/base-layout.component.js +0 -125
  1342. package/esm2015/framework/base-layout/base-layout.module.js +0 -51
  1343. package/esm2015/framework/base-layout/directives/base-layout-content-footer.directive.js +0 -15
  1344. package/esm2015/framework/base-layout/directives/base-layout-content-header.directive.js +0 -15
  1345. package/esm2015/framework/base-layout/directives/base-layout-content.directive.js +0 -15
  1346. package/esm2015/framework/base-layout/directives/base-layout-nav-toggle.directive.js +0 -51
  1347. package/esm2015/framework/base-layout/directives/base-layout-side-bar-footer.directive.js +0 -15
  1348. package/esm2015/framework/base-layout/directives/base-layout-side-bar-header.directive.js +0 -15
  1349. package/esm2015/framework/base-layout/directives/base-layout-side-bar.directive.js +0 -15
  1350. package/esm2015/framework/base-layout/directives/base-layout-top-bar.directive.js +0 -15
  1351. package/esm2015/framework/base-layout/index.js +0 -13
  1352. package/esm2015/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.js +0 -19
  1353. package/esm2015/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.js +0 -25
  1354. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.js +0 -121
  1355. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.js +0 -173
  1356. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +0 -176
  1357. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.service.js +0 -165
  1358. package/esm2015/framework/dashboard/dashboard.component.js +0 -25
  1359. package/esm2015/framework/dashboard/dashboard.module.js +0 -39
  1360. package/esm2015/framework/dynamic-router/dynamic-route-def.js +0 -2
  1361. package/esm2015/framework/dynamic-router/dynamic-router.module.js +0 -21
  1362. package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.js +0 -256
  1363. package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +0 -114
  1364. package/esm2015/framework/dynamic-router/resolvers/hierarchy-level.resolver.js +0 -26
  1365. package/esm2015/framework/nav/horizontal-nav/horizontal-nav.component.js +0 -53
  1366. package/esm2015/framework/nav/nav-item/nav-item.component.js +0 -180
  1367. package/esm2015/framework/nav/nav-utils.js +0 -110
  1368. package/esm2015/framework/nav/nav.module.js +0 -42
  1369. package/esm2015/framework/nav/nav.service.js +0 -200
  1370. package/esm2015/framework/schema-form/schema-form-framework.component.js +0 -16
  1371. package/esm2015/framework/schema-form/schema-form-framework.js +0 -27
  1372. package/esm2015/framework/schema-form/schema-form.module.js +0 -35
  1373. package/esm2015/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.js +0 -41
  1374. package/esm2015/framework/schema-form-controls/schema-form-controls.module.js +0 -50
  1375. package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +0 -34
  1376. package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +0 -40
  1377. package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +0 -36
  1378. package/esm2015/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.js +0 -46
  1379. package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +0 -142
  1380. package/esm2015/framework/side-nav/index.js +0 -7
  1381. package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +0 -157
  1382. package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +0 -36
  1383. package/esm2015/framework/side-nav/side-nav-utils.js +0 -81
  1384. package/esm2015/framework/side-nav/side-nav.component.js +0 -261
  1385. package/esm2015/framework/side-nav/side-nav.models.js +0 -2
  1386. package/esm2015/framework/side-nav/side-nav.module.js +0 -39
  1387. package/esm2015/framework/side-nav/side-nav.service.js +0 -174
  1388. package/esm2015/framework/theseam-ui-common-framework.js +0 -18
  1389. package/esm2015/framework/top-bar/index.js +0 -8
  1390. package/esm2015/framework/top-bar/top-bar-compact-menu-btn-detail.directive.js +0 -15
  1391. package/esm2015/framework/top-bar/top-bar-item.directive.js +0 -22
  1392. package/esm2015/framework/top-bar/top-bar-menu-btn-detail.directive.js +0 -15
  1393. package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +0 -54
  1394. package/esm2015/framework/top-bar/top-bar-menu.directive.js +0 -16
  1395. package/esm2015/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.js +0 -15
  1396. package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +0 -20
  1397. package/esm2015/framework/top-bar/top-bar.component.js +0 -121
  1398. package/esm2015/framework/top-bar/top-bar.module.js +0 -52
  1399. package/esm2015/google-maps/google-maps/google-maps.component.js +0 -261
  1400. package/esm2015/google-maps/google-maps-contextmenu.js +0 -113
  1401. package/esm2015/google-maps/google-maps-controls.service.js +0 -70
  1402. package/esm2015/google-maps/google-maps-feature-helpers.js +0 -186
  1403. package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.js +0 -195
  1404. package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.js +0 -163
  1405. package/esm2015/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.js +0 -57
  1406. package/esm2015/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.js +0 -119
  1407. package/esm2015/google-maps/google-maps.module.js +0 -45
  1408. package/esm2015/google-maps/google-maps.service.js +0 -354
  1409. package/esm2015/google-maps/map-control.component.js +0 -65
  1410. package/esm2015/google-maps/map-file-drop/map-file-drop.component.js +0 -135
  1411. package/esm2015/google-maps/map-value-manager.service.js +0 -46
  1412. package/esm2015/google-maps/public-api.js +0 -14
  1413. package/esm2015/google-maps/theseam-ui-common-google-maps.js +0 -6
  1414. package/esm2015/graphql/datatable/create-page-info-observable.js +0 -38
  1415. package/esm2015/graphql/datatable/datatable-graphql-query-ref.js +0 -236
  1416. package/esm2015/graphql/datatable/datatable-graphql.service.js +0 -35
  1417. package/esm2015/graphql/datatable/datatable-helpers.js +0 -170
  1418. package/esm2015/graphql/datatable/get-page-info.js +0 -11
  1419. package/esm2015/graphql/datatable/map-filter-states.js +0 -64
  1420. package/esm2015/graphql/utils/inline-variables.js +0 -50
  1421. package/esm2015/graphql/utils/parse-hints.js +0 -116
  1422. package/esm2015/graphql/utils/to-gql.js +0 -40
  1423. package/esm2015/icon/icon/icon.component.js +0 -125
  1424. package/esm2015/icon/icon-btn/icon-btn.component.js +0 -136
  1425. package/esm2015/icon/icon-notification/icon-notification.component.js +0 -120
  1426. package/esm2015/icon/icon.module.js +0 -27
  1427. package/esm2015/icon/utils/get-known-icon.js +0 -82
  1428. package/esm2015/layout/breakpoint-aliases.js +0 -11
  1429. package/esm2015/layout/layout.module.js +0 -18
  1430. package/esm2015/layout/layout.service.js +0 -34
  1431. package/esm2015/layout/observe-media-query.js +0 -41
  1432. package/esm2015/loading/loading/loading.component.js +0 -28
  1433. package/esm2015/loading/loading-overlay.service.js +0 -59
  1434. package/esm2015/loading/loading.module.js +0 -29
  1435. package/esm2015/menu/menu-divider.component.js +0 -15
  1436. package/esm2015/menu/menu-footer/menu-footer.component.js +0 -32
  1437. package/esm2015/menu/menu-footer-action/menu-footer-action.component.js +0 -48
  1438. package/esm2015/menu/menu-header/menu-header.component.js +0 -32
  1439. package/esm2015/menu/menu-item.component.js +0 -127
  1440. package/esm2015/menu/menu-toggle.directive.js +0 -253
  1441. package/esm2015/menu/menu.component.js +0 -174
  1442. package/esm2015/menu/menu.module.js +0 -43
  1443. package/esm2015/modal/directives/modal-close.directive.js +0 -63
  1444. package/esm2015/modal/directives/modal-footer-tpl.directive.js +0 -15
  1445. package/esm2015/modal/directives/modal-header-icon-tpl.directive.js +0 -15
  1446. package/esm2015/modal/directives/modal-header-title-tpl.directive.js +0 -15
  1447. package/esm2015/modal/directives/modal-title.directive.js +0 -19
  1448. package/esm2015/modal/directives/modal.directive.js +0 -25
  1449. package/esm2015/modal/modal/modal.component.js +0 -149
  1450. package/esm2015/modal/modal-body/modal-body.component.js +0 -22
  1451. package/esm2015/modal/modal-config.js +0 -47
  1452. package/esm2015/modal/modal-container/modal-container.component.js +0 -220
  1453. package/esm2015/modal/modal-footer/modal-footer.component.js +0 -20
  1454. package/esm2015/modal/modal-header/modal-header.component.js +0 -26
  1455. package/esm2015/modal/modal-ref.js +0 -171
  1456. package/esm2015/modal/modal.models.js +0 -3
  1457. package/esm2015/modal/modal.module.js +0 -83
  1458. package/esm2015/modal/modal.service.js +0 -343
  1459. package/esm2015/modal/route-modal/route-modal.component.js +0 -68
  1460. package/esm2015/popover/popover/popover.component.js +0 -149
  1461. package/esm2015/popover/popover.directive.js +0 -257
  1462. package/esm2015/popover/popover.module.js +0 -30
  1463. package/esm2015/progress/progress-circle/progress-circle.component.js +0 -63
  1464. package/esm2015/progress/progress.module.js +0 -19
  1465. package/esm2015/public_api.js +0 -43
  1466. package/esm2015/scrollbar/overlay-scrollbar.directive.js +0 -61
  1467. package/esm2015/scrollbar/overlay-scrollbars-config.js +0 -13
  1468. package/esm2015/scrollbar/overlay-scrollbars.service.js +0 -87
  1469. package/esm2015/scrollbar/scrollbar.module.js +0 -25
  1470. package/esm2015/services/asset-loader.service.js +0 -33
  1471. package/esm2015/services/font-loader.service.js +0 -81
  1472. package/esm2015/services/router-helpers.service.js +0 -26
  1473. package/esm2015/shared/components/password-input-reveal/password-input-reveal.component.js +0 -71
  1474. package/esm2015/shared/directives/auto-focus.directive.js +0 -53
  1475. package/esm2015/shared/directives/click-outside.directive.js +0 -49
  1476. package/esm2015/shared/directives/disable-control.directive.js +0 -27
  1477. package/esm2015/shared/directives/elem-resized.directive.js +0 -29
  1478. package/esm2015/shared/directives/hover-class-toggle.directive.js +0 -80
  1479. package/esm2015/shared/directives/hover-class.directive.js +0 -74
  1480. package/esm2015/shared/directives/ng-select-extra.directive.js +0 -177
  1481. package/esm2015/shared/directives/ngx-quill-extra.directive.js +0 -60
  1482. package/esm2015/shared/pipes/mask-chars.pipe.js +0 -21
  1483. package/esm2015/shared/pipes/truncate.pipe.js +0 -19
  1484. package/esm2015/shared/shared.module.js +0 -58
  1485. package/esm2015/storage/local-storage.service.js +0 -77
  1486. package/esm2015/storage/localstorage-memory.js +0 -64
  1487. package/esm2015/story-helpers/arg-type-helpers.js +0 -34
  1488. package/esm2015/story-helpers/args-to-tpl.js +0 -76
  1489. package/esm2015/story-helpers/initial-route.service.js +0 -27
  1490. package/esm2015/story-helpers/on-story-bootstrapped-exec.js +0 -64
  1491. package/esm2015/story-helpers/on-story-bootstrapped-trigger.js +0 -38
  1492. package/esm2015/story-helpers/public-api.js +0 -15
  1493. package/esm2015/story-helpers/routes-arg-type.js +0 -18
  1494. package/esm2015/story-helpers/story-empty-with-route.component.js +0 -7
  1495. package/esm2015/story-helpers/story-empty.component.js +0 -7
  1496. package/esm2015/story-helpers/story-helper-components.module.js +0 -29
  1497. package/esm2015/story-helpers/story-initial-route.js +0 -24
  1498. package/esm2015/story-helpers/story-modal-container.component.js +0 -77
  1499. package/esm2015/story-helpers/story-toastr.service.js +0 -33
  1500. package/esm2015/tabbed/directives/tabbed-tab-content.directive.js +0 -14
  1501. package/esm2015/tabbed/directives/tabbed-tab.directive.js +0 -36
  1502. package/esm2015/tabbed/public-api.js +0 -8
  1503. package/esm2015/tabbed/tabbed-content/tabbed-content.component.js +0 -17
  1504. package/esm2015/tabbed/tabbed-item/tabbed-item.component.js +0 -30
  1505. package/esm2015/tabbed/tabbed.component.js +0 -111
  1506. package/esm2015/tabbed/tabbed.module.js +0 -36
  1507. package/esm2015/tabbed/tabbed.service.js +0 -28
  1508. package/esm2015/table/table/table.component.js +0 -90
  1509. package/esm2015/table/table.module.js +0 -23
  1510. package/esm2015/table-cell-type/services/table-cell-types-helpers.service.js +0 -70
  1511. package/esm2015/table-cell-type/table-cell-type-export-props.js +0 -2
  1512. package/esm2015/table-cell-type/table-cell-type-models.js +0 -2
  1513. package/esm2015/table-cell-type/table-cell-type-selector.component.js +0 -94
  1514. package/esm2015/table-cell-type/table-cell-type.module.js +0 -23
  1515. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +0 -89
  1516. package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.component.js +0 -52
  1517. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +0 -87
  1518. package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +0 -166
  1519. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +0 -85
  1520. package/esm2015/table-cell-types/table-cell-type-manifests.js +0 -103
  1521. package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.js +0 -66
  1522. package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +0 -160
  1523. package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.js +0 -78
  1524. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +0 -180
  1525. package/esm2015/table-cell-types/table-cell-types.module.js +0 -78
  1526. package/esm2015/table-cell-types/theseam-ui-common-table-cell-types.js +0 -5
  1527. package/esm2015/tel-input/intl-tel-input.js +0 -55
  1528. package/esm2015/tel-input/phone-number.pipe.js +0 -51
  1529. package/esm2015/tel-input/tel-input/tel-input.component.js +0 -175
  1530. package/esm2015/tel-input/tel-input-validator.js +0 -27
  1531. package/esm2015/tel-input/tel-input.directive.js +0 -209
  1532. package/esm2015/tel-input/tel-input.module.js +0 -29
  1533. package/esm2015/tel-input/utils/add-country-code.js +0 -23
  1534. package/esm2015/tel-input/utils/get-validation-error-message.js +0 -12
  1535. package/esm2015/tel-input/utils/process-country-codes.js +0 -49
  1536. package/esm2015/testing/get-harness.js +0 -16
  1537. package/esm2015/testing/render-story.js +0 -12
  1538. package/esm2015/testing/story-expect.js +0 -39
  1539. package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +0 -205
  1540. package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +0 -128
  1541. package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +0 -54
  1542. package/esm2015/tiled-select/directives/tiled-select-tile-icon-tpl.directive.js +0 -16
  1543. package/esm2015/tiled-select/directives/tiled-select-tile-label-tpl.directive.js +0 -15
  1544. package/esm2015/tiled-select/directives/tiled-select-tile-overlay.directive.js +0 -19
  1545. package/esm2015/tiled-select/public-api.js +0 -10
  1546. package/esm2015/tiled-select/tiled-select.module.js +0 -35
  1547. package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +0 -15
  1548. package/esm2015/toggle-edit/toggle-edit-display-tpl.directive.js +0 -15
  1549. package/esm2015/toggle-edit/toggle-edit-keyboard-listener.service.js +0 -56
  1550. package/esm2015/toggle-edit/toggle-edit.component.js +0 -403
  1551. package/esm2015/toggle-edit/toggle-edit.module.js +0 -40
  1552. package/esm2015/toggle-group/toggle-group-option.directive.js +0 -44
  1553. package/esm2015/toggle-group/toggle-group.directive.js +0 -192
  1554. package/esm2015/toggle-group/toggle-group.module.js +0 -24
  1555. package/esm2015/unsaved-changes-dialog/unsaved-changes-can-deactivate.js +0 -27
  1556. package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.component.js +0 -20
  1557. package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.guard.js +0 -35
  1558. package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.module.js +0 -12
  1559. package/esm2015/utils/array-move.js +0 -62
  1560. package/esm2015/utils/cdk/get-closest-widget-cdk-drag.js +0 -18
  1561. package/esm2015/utils/file-utils.js +0 -68
  1562. package/esm2015/utils/form/get-control-path.js +0 -37
  1563. package/esm2015/utils/geo-json/coerce-feature-collection.js +0 -44
  1564. package/esm2015/utils/geo-json/geo-json-to-area.js +0 -11
  1565. package/esm2015/utils/geo-json/is-feature-collection.validator.js +0 -21
  1566. package/esm2015/utils/geo-json/is-only-geometry-types.js +0 -23
  1567. package/esm2015/utils/geo-json/is-only-geometry-types.validator.js +0 -32
  1568. package/esm2015/utils/geo-json/merge-polygons.js +0 -35
  1569. package/esm2015/utils/geo-json/min-max-points.validator.js +0 -56
  1570. package/esm2015/utils/geo-json/no-inner-rings.validator.js +0 -63
  1571. package/esm2015/utils/geo-json/read-geo-file.js +0 -99
  1572. package/esm2015/utils/geo-json/split-multi-polygons.js +0 -29
  1573. package/esm2015/utils/has-property.js +0 -7
  1574. package/esm2015/utils/load-style-sheet.js +0 -14
  1575. package/esm2015/utils/load-style.js +0 -13
  1576. package/esm2015/utils/obj-utils.js +0 -27
  1577. package/esm2015/utils/polling-ticker.js +0 -121
  1578. package/esm2015/utils/router/operators/activated-routes-with-data-property.js +0 -11
  1579. package/esm2015/utils/router/route-snapshot-path-full.js +0 -5
  1580. package/esm2015/utils/router/route-snapshot-path-relative.js +0 -4
  1581. package/esm2015/utils/router/will-have-data-prop.js +0 -10
  1582. package/esm2015/utils/subscriber-count.js +0 -46
  1583. package/esm2015/utils/toggle-attribute.js +0 -35
  1584. package/esm2015/utils/wait-on-condition-async.js +0 -33
  1585. package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +0 -219
  1586. package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +0 -23
  1587. package/esm2015/viewers/pdf-viewer/pdf-page/pdf-page.component.js +0 -134
  1588. package/esm2015/viewers/pdf-viewer/pdf-renderer.service.js +0 -27
  1589. package/esm2015/viewers/pdf-viewer/pdf-viewer.component.js +0 -149
  1590. package/esm2015/viewers/pdf-viewer/pdf-viewer.module.js +0 -24
  1591. package/esm2015/widget/directives/widget-drag-handle.directive.js +0 -146
  1592. package/esm2015/widget/directives/widget-icon-tpl.directive.js +0 -15
  1593. package/esm2015/widget/directives/widget-title-tpl.directive.js +0 -15
  1594. package/esm2015/widget/widget/widget.component.js +0 -121
  1595. package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +0 -16
  1596. package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.module.js +0 -22
  1597. package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +0 -16
  1598. package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.module.js +0 -19
  1599. package/esm2015/widget/widget-content-components/widget-description/widget-description.component.js +0 -12
  1600. package/esm2015/widget/widget-content-components/widget-description/widget-description.module.js +0 -19
  1601. package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +0 -39
  1602. package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.module.js +0 -19
  1603. package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +0 -16
  1604. package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.module.js +0 -19
  1605. package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +0 -16
  1606. package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.module.js +0 -19
  1607. package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +0 -31
  1608. package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.module.js +0 -19
  1609. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.js +0 -16
  1610. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.js +0 -162
  1611. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.component.js +0 -19
  1612. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.module.js +0 -31
  1613. package/esm2015/widget/widget-content-components/widget-table/widget-table.component.js +0 -35
  1614. package/esm2015/widget/widget-content-components/widget-table/widget-table.module.js +0 -23
  1615. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.js +0 -19
  1616. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +0 -43
  1617. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +0 -16
  1618. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.js +0 -16
  1619. package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +0 -110
  1620. package/esm2015/widget/widget-content-components/widget-tile/widget-tile.module.js +0 -33
  1621. package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +0 -15
  1622. package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.module.js +0 -21
  1623. package/esm2015/widget/widget-footer/widget-footer.component.js +0 -16
  1624. package/esm2015/widget/widget-registry.service.js +0 -56
  1625. package/esm2015/widget/widget.module.js +0 -70
  1626. package/fesm2015/theseam-ui-common-asset-reader.js +0 -173
  1627. package/fesm2015/theseam-ui-common-asset-reader.js.map +0 -1
  1628. package/fesm2015/theseam-ui-common-breadcrumbs.js +0 -203
  1629. package/fesm2015/theseam-ui-common-breadcrumbs.js.map +0 -1
  1630. package/fesm2015/theseam-ui-common-buttons.js +0 -362
  1631. package/fesm2015/theseam-ui-common-buttons.js.map +0 -1
  1632. package/fesm2015/theseam-ui-common-card.js +0 -145
  1633. package/fesm2015/theseam-ui-common-card.js.map +0 -1
  1634. package/fesm2015/theseam-ui-common-checkbox.js +0 -302
  1635. package/fesm2015/theseam-ui-common-checkbox.js.map +0 -1
  1636. package/fesm2015/theseam-ui-common-confirm-dialog.js +0 -153
  1637. package/fesm2015/theseam-ui-common-confirm-dialog.js.map +0 -1
  1638. package/fesm2015/theseam-ui-common-core.js +0 -231
  1639. package/fesm2015/theseam-ui-common-core.js.map +0 -1
  1640. package/fesm2015/theseam-ui-common-data-exporter.js +0 -81
  1641. package/fesm2015/theseam-ui-common-data-exporter.js.map +0 -1
  1642. package/fesm2015/theseam-ui-common-data-filters.js +0 -455
  1643. package/fesm2015/theseam-ui-common-data-filters.js.map +0 -1
  1644. package/fesm2015/theseam-ui-common-datatable-dynamic.js +0 -991
  1645. package/fesm2015/theseam-ui-common-datatable-dynamic.js.map +0 -1
  1646. package/fesm2015/theseam-ui-common-datatable.js +0 -2550
  1647. package/fesm2015/theseam-ui-common-datatable.js.map +0 -1
  1648. package/fesm2015/theseam-ui-common-dynamic-component-loader.js +0 -143
  1649. package/fesm2015/theseam-ui-common-dynamic-component-loader.js.map +0 -1
  1650. package/fesm2015/theseam-ui-common-dynamic.js +0 -700
  1651. package/fesm2015/theseam-ui-common-dynamic.js.map +0 -1
  1652. package/fesm2015/theseam-ui-common-footer-bar.js +0 -36
  1653. package/fesm2015/theseam-ui-common-footer-bar.js.map +0 -1
  1654. package/fesm2015/theseam-ui-common-form-field-error.js +0 -464
  1655. package/fesm2015/theseam-ui-common-form-field-error.js.map +0 -1
  1656. package/fesm2015/theseam-ui-common-form-field.js +0 -506
  1657. package/fesm2015/theseam-ui-common-form-field.js.map +0 -1
  1658. package/fesm2015/theseam-ui-common-framework.js +0 -3400
  1659. package/fesm2015/theseam-ui-common-framework.js.map +0 -1
  1660. package/fesm2015/theseam-ui-common-google-maps.js +0 -1748
  1661. package/fesm2015/theseam-ui-common-google-maps.js.map +0 -1
  1662. package/fesm2015/theseam-ui-common-graphql.js +0 -881
  1663. package/fesm2015/theseam-ui-common-graphql.js.map +0 -1
  1664. package/fesm2015/theseam-ui-common-icon.js +0 -518
  1665. package/fesm2015/theseam-ui-common-icon.js.map +0 -1
  1666. package/fesm2015/theseam-ui-common-layout.js +0 -98
  1667. package/fesm2015/theseam-ui-common-layout.js.map +0 -1
  1668. package/fesm2015/theseam-ui-common-loading.js +0 -131
  1669. package/fesm2015/theseam-ui-common-loading.js.map +0 -1
  1670. package/fesm2015/theseam-ui-common-menu.js +0 -767
  1671. package/fesm2015/theseam-ui-common-menu.js.map +0 -1
  1672. package/fesm2015/theseam-ui-common-modal.js +0 -1282
  1673. package/fesm2015/theseam-ui-common-modal.js.map +0 -1
  1674. package/fesm2015/theseam-ui-common-models.js +0 -54
  1675. package/fesm2015/theseam-ui-common-models.js.map +0 -1
  1676. package/fesm2015/theseam-ui-common-popover.js +0 -476
  1677. package/fesm2015/theseam-ui-common-popover.js.map +0 -1
  1678. package/fesm2015/theseam-ui-common-progress.js +0 -87
  1679. package/fesm2015/theseam-ui-common-progress.js.map +0 -1
  1680. package/fesm2015/theseam-ui-common-scrollbar.js +0 -184
  1681. package/fesm2015/theseam-ui-common-scrollbar.js.map +0 -1
  1682. package/fesm2015/theseam-ui-common-services.js +0 -140
  1683. package/fesm2015/theseam-ui-common-services.js.map +0 -1
  1684. package/fesm2015/theseam-ui-common-shared.js +0 -696
  1685. package/fesm2015/theseam-ui-common-shared.js.map +0 -1
  1686. package/fesm2015/theseam-ui-common-storage.js +0 -147
  1687. package/fesm2015/theseam-ui-common-storage.js.map +0 -1
  1688. package/fesm2015/theseam-ui-common-story-helpers.js +0 -441
  1689. package/fesm2015/theseam-ui-common-story-helpers.js.map +0 -1
  1690. package/fesm2015/theseam-ui-common-tabbed.js +0 -262
  1691. package/fesm2015/theseam-ui-common-tabbed.js.map +0 -1
  1692. package/fesm2015/theseam-ui-common-table-cell-type.js +0 -191
  1693. package/fesm2015/theseam-ui-common-table-cell-type.js.map +0 -1
  1694. package/fesm2015/theseam-ui-common-table-cell-types.js +0 -1079
  1695. package/fesm2015/theseam-ui-common-table-cell-types.js.map +0 -1
  1696. package/fesm2015/theseam-ui-common-table.js +0 -118
  1697. package/fesm2015/theseam-ui-common-table.js.map +0 -1
  1698. package/fesm2015/theseam-ui-common-tel-input.js +0 -733
  1699. package/fesm2015/theseam-ui-common-tel-input.js.map +0 -1
  1700. package/fesm2015/theseam-ui-common-testing.js +0 -191
  1701. package/fesm2015/theseam-ui-common-testing.js.map +0 -1
  1702. package/fesm2015/theseam-ui-common-tiled-select.js +0 -461
  1703. package/fesm2015/theseam-ui-common-tiled-select.js.map +0 -1
  1704. package/fesm2015/theseam-ui-common-toggle-edit.js +0 -521
  1705. package/fesm2015/theseam-ui-common-toggle-edit.js.map +0 -1
  1706. package/fesm2015/theseam-ui-common-toggle-group.js +0 -260
  1707. package/fesm2015/theseam-ui-common-toggle-group.js.map +0 -1
  1708. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js +0 -97
  1709. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js.map +0 -1
  1710. package/fesm2015/theseam-ui-common-utils.js +0 -1321
  1711. package/fesm2015/theseam-ui-common-utils.js.map +0 -1
  1712. package/fesm2015/theseam-ui-common-validators.js +0 -94
  1713. package/fesm2015/theseam-ui-common-validators.js.map +0 -1
  1714. package/fesm2015/theseam-ui-common-viewers.js +0 -563
  1715. package/fesm2015/theseam-ui-common-viewers.js.map +0 -1
  1716. package/fesm2015/theseam-ui-common-widget.js +0 -1189
  1717. package/fesm2015/theseam-ui-common-widget.js.map +0 -1
  1718. package/fesm2015/theseam-ui-common.js +0 -47
  1719. package/fesm2015/theseam-ui-common.js.map +0 -1
  1720. package/footer-bar/package.json +0 -11
  1721. package/footer-bar/theseam-ui-common-footer-bar.d.ts +0 -4
  1722. package/footer-bar/theseam-ui-common-footer-bar.metadata.json +0 -1
  1723. package/form-field/package.json +0 -11
  1724. package/form-field/theseam-ui-common-form-field.d.ts +0 -4
  1725. package/form-field/theseam-ui-common-form-field.metadata.json +0 -1
  1726. package/form-field-error/package.json +0 -11
  1727. package/form-field-error/theseam-ui-common-form-field-error.d.ts +0 -4
  1728. package/form-field-error/theseam-ui-common-form-field-error.metadata.json +0 -1
  1729. package/framework/package.json +0 -11
  1730. package/framework/theseam-ui-common-framework.d.ts +0 -17
  1731. package/framework/theseam-ui-common-framework.metadata.json +0 -1
  1732. package/google-maps/package.json +0 -11
  1733. package/google-maps/theseam-ui-common-google-maps.d.ts +0 -5
  1734. package/google-maps/theseam-ui-common-google-maps.metadata.json +0 -1
  1735. package/graphql/package.json +0 -11
  1736. package/graphql/theseam-ui-common-graphql.d.ts +0 -4
  1737. package/graphql/theseam-ui-common-graphql.metadata.json +0 -1
  1738. package/icon/package.json +0 -11
  1739. package/icon/theseam-ui-common-icon.d.ts +0 -4
  1740. package/icon/theseam-ui-common-icon.metadata.json +0 -1
  1741. package/layout/package.json +0 -11
  1742. package/layout/theseam-ui-common-layout.d.ts +0 -4
  1743. package/layout/theseam-ui-common-layout.metadata.json +0 -1
  1744. package/loading/package.json +0 -11
  1745. package/loading/theseam-ui-common-loading.d.ts +0 -4
  1746. package/loading/theseam-ui-common-loading.metadata.json +0 -1
  1747. package/menu/package.json +0 -11
  1748. package/menu/theseam-ui-common-menu.d.ts +0 -4
  1749. package/menu/theseam-ui-common-menu.metadata.json +0 -1
  1750. package/modal/package.json +0 -11
  1751. package/modal/theseam-ui-common-modal.d.ts +0 -4
  1752. package/modal/theseam-ui-common-modal.metadata.json +0 -1
  1753. package/models/package.json +0 -11
  1754. package/models/theseam-ui-common-models.d.ts +0 -4
  1755. package/models/theseam-ui-common-models.metadata.json +0 -1
  1756. package/popover/package.json +0 -11
  1757. package/popover/theseam-ui-common-popover.d.ts +0 -4
  1758. package/popover/theseam-ui-common-popover.metadata.json +0 -1
  1759. package/progress/package.json +0 -11
  1760. package/progress/theseam-ui-common-progress.d.ts +0 -4
  1761. package/progress/theseam-ui-common-progress.metadata.json +0 -1
  1762. package/scrollbar/package.json +0 -11
  1763. package/scrollbar/theseam-ui-common-scrollbar.d.ts +0 -4
  1764. package/scrollbar/theseam-ui-common-scrollbar.metadata.json +0 -1
  1765. package/services/package.json +0 -11
  1766. package/services/theseam-ui-common-services.d.ts +0 -4
  1767. package/services/theseam-ui-common-services.metadata.json +0 -1
  1768. package/shared/package.json +0 -11
  1769. package/shared/theseam-ui-common-shared.d.ts +0 -4
  1770. package/shared/theseam-ui-common-shared.metadata.json +0 -1
  1771. package/storage/package.json +0 -11
  1772. package/storage/theseam-ui-common-storage.d.ts +0 -4
  1773. package/storage/theseam-ui-common-storage.metadata.json +0 -1
  1774. package/story-helpers/args-to-tpl.d.ts +0 -24
  1775. package/story-helpers/package.json +0 -11
  1776. package/story-helpers/theseam-ui-common-story-helpers.d.ts +0 -4
  1777. package/story-helpers/theseam-ui-common-story-helpers.metadata.json +0 -1
  1778. package/tabbed/package.json +0 -11
  1779. package/tabbed/theseam-ui-common-tabbed.d.ts +0 -4
  1780. package/tabbed/theseam-ui-common-tabbed.metadata.json +0 -1
  1781. package/table/package.json +0 -11
  1782. package/table/theseam-ui-common-table.d.ts +0 -4
  1783. package/table/theseam-ui-common-table.metadata.json +0 -1
  1784. package/table-cell-type/package.json +0 -11
  1785. package/table-cell-type/theseam-ui-common-table-cell-type.d.ts +0 -4
  1786. package/table-cell-type/theseam-ui-common-table-cell-type.metadata.json +0 -1
  1787. package/table-cell-types/package.json +0 -11
  1788. package/table-cell-types/theseam-ui-common-table-cell-types.d.ts +0 -6
  1789. package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +0 -1
  1790. package/tel-input/package.json +0 -11
  1791. package/tel-input/theseam-ui-common-tel-input.d.ts +0 -4
  1792. package/tel-input/theseam-ui-common-tel-input.metadata.json +0 -1
  1793. package/testing/package.json +0 -11
  1794. package/testing/theseam-ui-common-testing.d.ts +0 -4
  1795. package/testing/theseam-ui-common-testing.metadata.json +0 -1
  1796. package/theseam-ui-common.d.ts +0 -4
  1797. package/theseam-ui-common.metadata.json +0 -1
  1798. package/tiled-select/package.json +0 -11
  1799. package/tiled-select/theseam-ui-common-tiled-select.d.ts +0 -4
  1800. package/tiled-select/theseam-ui-common-tiled-select.metadata.json +0 -1
  1801. package/toggle-edit/package.json +0 -11
  1802. package/toggle-edit/theseam-ui-common-toggle-edit.d.ts +0 -4
  1803. package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +0 -1
  1804. package/toggle-group/package.json +0 -11
  1805. package/toggle-group/theseam-ui-common-toggle-group.d.ts +0 -4
  1806. package/toggle-group/theseam-ui-common-toggle-group.metadata.json +0 -1
  1807. package/unsaved-changes-dialog/package.json +0 -11
  1808. package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.d.ts +0 -4
  1809. package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.metadata.json +0 -1
  1810. package/utils/package.json +0 -11
  1811. package/utils/theseam-ui-common-utils.d.ts +0 -4
  1812. package/utils/theseam-ui-common-utils.metadata.json +0 -1
  1813. package/validators/package.json +0 -11
  1814. package/validators/theseam-ui-common-validators.d.ts +0 -4
  1815. package/validators/theseam-ui-common-validators.metadata.json +0 -1
  1816. package/viewers/package.json +0 -11
  1817. package/viewers/theseam-ui-common-viewers.d.ts +0 -4
  1818. package/viewers/theseam-ui-common-viewers.metadata.json +0 -1
  1819. package/widget/package.json +0 -11
  1820. package/widget/theseam-ui-common-widget.d.ts +0 -4
  1821. package/widget/theseam-ui-common-widget.metadata.json +0 -1
  1822. /package/{esm2015/asset-reader/encrypted-asset-reader.js → esm2020/asset-reader/encrypted-asset-reader.mjs} +0 -0
  1823. /package/{esm2015/asset-reader/public-api.js → esm2020/asset-reader/public-api.mjs} +0 -0
  1824. /package/{esm2015/asset-reader/theseam-ui-common-asset-reader.js → esm2020/asset-reader/theseam-ui-common-asset-reader.mjs} +0 -0
  1825. /package/{esm2015/breadcrumbs/public-api.js → esm2020/breadcrumbs/public-api.mjs} +0 -0
  1826. /package/{esm2015/breadcrumbs/theseam-ui-common-breadcrumbs.js → esm2020/breadcrumbs/theseam-ui-common-breadcrumbs.mjs} +0 -0
  1827. /package/{esm2015/buttons/public-api.js → esm2020/buttons/public-api.mjs} +0 -0
  1828. /package/{esm2015/buttons/theseam-ui-common-buttons.js → esm2020/buttons/theseam-ui-common-buttons.mjs} +0 -0
  1829. /package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
  1830. /package/{esm2015/card/theseam-ui-common-card.js → esm2020/card/theseam-ui-common-card.mjs} +0 -0
  1831. /package/{esm2015/checkbox/theseam-ui-common-checkbox.js → esm2020/checkbox/theseam-ui-common-checkbox.mjs} +0 -0
  1832. /package/{esm2015/confirm-dialog/public-api.js → esm2020/confirm-dialog/public-api.mjs} +0 -0
  1833. /package/{esm2015/confirm-dialog/theseam-ui-common-confirm-dialog.js → esm2020/confirm-dialog/theseam-ui-common-confirm-dialog.mjs} +0 -0
  1834. /package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
  1835. /package/{esm2015/core/common-behaviors/element-ref.js → esm2020/core/common-behaviors/element-ref.mjs} +0 -0
  1836. /package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
  1837. /package/{esm2015/core/common-behaviors/renderer2.js → esm2020/core/common-behaviors/renderer2.mjs} +0 -0
  1838. /package/{esm2015/core/input-decorators/index.js → esm2020/core/input-decorators/index.mjs} +0 -0
  1839. /package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
  1840. /package/{esm2015/core/theseam-ui-common-core.js → esm2020/core/theseam-ui-common-core.mjs} +0 -0
  1841. /package/{esm2015/data-exporter/data-exporter.js → esm2020/data-exporter/data-exporter.mjs} +0 -0
  1842. /package/{esm2015/data-exporter/public-api.js → esm2020/data-exporter/public-api.mjs} +0 -0
  1843. /package/{esm2015/data-exporter/theseam-ui-common-data-exporter.js → esm2020/data-exporter/theseam-ui-common-data-exporter.mjs} +0 -0
  1844. /package/{esm2015/data-filters/data-filter-container.js → esm2020/data-filters/data-filter-container.mjs} +0 -0
  1845. /package/{esm2015/data-filters/data-filter-def.js → esm2020/data-filters/data-filter-def.mjs} +0 -0
  1846. /package/{esm2015/data-filters/filters/data-filter-search/search-filter-options.js → esm2020/data-filters/filters/data-filter-search/search-filter-options.mjs} +0 -0
  1847. /package/{esm2015/data-filters/filters/data-filter-text/text-filter-options.js → esm2020/data-filters/filters/data-filter-text/text-filter-options.mjs} +0 -0
  1848. /package/{esm2015/data-filters/public-api.js → esm2020/data-filters/public-api.mjs} +0 -0
  1849. /package/{esm2015/data-filters/theseam-ui-common-data-filters.js → esm2020/data-filters/theseam-ui-common-data-filters.mjs} +0 -0
  1850. /package/{esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js → esm2020/datatable/models/columns-alterations/hide-column.columns-alteration.mjs} +0 -0
  1851. /package/{esm2015/datatable/models/columns-alterations/sort.columns-alteration.js → esm2020/datatable/models/columns-alterations/sort.columns-alteration.mjs} +0 -0
  1852. /package/{esm2015/datatable/models/columns-alterations/width.columns-alteration.js → esm2020/datatable/models/columns-alterations/width.columns-alteration.mjs} +0 -0
  1853. /package/{esm2015/datatable/models/datatable-accessor.js → esm2020/datatable/models/datatable-accessor.mjs} +0 -0
  1854. /package/{esm2015/datatable/models/datatable-data-source.js → esm2020/datatable/models/datatable-data-source.mjs} +0 -0
  1855. /package/{esm2015/datatable/models/menubar-item-data.js → esm2020/datatable/models/menubar-item-data.mjs} +0 -0
  1856. /package/{esm2015/datatable/models/page-info.js → esm2020/datatable/models/page-info.mjs} +0 -0
  1857. /package/{esm2015/datatable/models/preferences-accessor.js → esm2020/datatable/models/preferences-accessor.mjs} +0 -0
  1858. /package/{esm2015/datatable/models/preferences.js → esm2020/datatable/models/preferences.mjs} +0 -0
  1859. /package/{esm2015/datatable/models/sort-event.js → esm2020/datatable/models/sort-event.mjs} +0 -0
  1860. /package/{esm2015/datatable/models/table-column.js → esm2020/datatable/models/table-column.mjs} +0 -0
  1861. /package/{esm2015/datatable/public-api.js → esm2020/datatable/public-api.mjs} +0 -0
  1862. /package/{esm2015/datatable/tokens/datatable-accessor.js → esm2020/datatable/tokens/datatable-accessor.mjs} +0 -0
  1863. /package/{esm2015/datatable/tokens/datatable-preferences-accessor.js → esm2020/datatable/tokens/datatable-preferences-accessor.mjs} +0 -0
  1864. /package/{esm2015/datatable/tokens/menubar-item-data.js → esm2020/datatable/tokens/menubar-item-data.mjs} +0 -0
  1865. /package/{esm2015/datatable/utils/create-action-menu-column.js → esm2020/datatable/utils/create-action-menu-column.mjs} +0 -0
  1866. /package/{esm2015/datatable/utils/create-checkbox-column.js → esm2020/datatable/utils/create-checkbox-column.mjs} +0 -0
  1867. /package/{esm2015/datatable/utils/get-column-prop.js → esm2020/datatable/utils/get-column-prop.mjs} +0 -0
  1868. /package/{esm2015/datatable/utils/remove-unused-diffs.js → esm2020/datatable/utils/remove-unused-diffs.mjs} +0 -0
  1869. /package/{esm2015/datatable/utils/translate-templates.js → esm2020/datatable/utils/translate-templates.mjs} +0 -0
  1870. /package/{esm2015/datatable-dynamic/datatable-dynamic-def.js → esm2020/datatable-dynamic/datatable-dynamic-def.mjs} +0 -0
  1871. /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-token.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-token.mjs} +0 -0
  1872. /package/{esm2015/datatable-dynamic/models/dynamic-datatable-action-menu-record.js → esm2020/datatable-dynamic/models/dynamic-datatable-action-menu-record.mjs} +0 -0
  1873. /package/{esm2015/datatable-dynamic/models/dynamic-datatable-filter-menu-item.js → esm2020/datatable-dynamic/models/dynamic-datatable-filter-menu-item.mjs} +0 -0
  1874. /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action-context.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action-context.mjs} +0 -0
  1875. /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action.mjs} +0 -0
  1876. /package/{esm2015/datatable-dynamic/models/index.js → esm2020/datatable-dynamic/models/index.mjs} +0 -0
  1877. /package/{esm2015/datatable-dynamic/public-api.js → esm2020/datatable-dynamic/public-api.mjs} +0 -0
  1878. /package/{esm2015/datatable-dynamic/theseam-ui-common-datatable-dynamic.js → esm2020/datatable-dynamic/theseam-ui-common-datatable-dynamic.mjs} +0 -0
  1879. /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.mjs} +0 -0
  1880. /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.mjs} +0 -0
  1881. /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.mjs} +0 -0
  1882. /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.mjs} +0 -0
  1883. /package/{esm2015/datatable-dynamic/utils/index.js → esm2020/datatable-dynamic/utils/index.mjs} +0 -0
  1884. /package/{esm2015/dynamic/action/api/dynamic-action-api-def.js → esm2020/dynamic/action/api/dynamic-action-api-def.mjs} +0 -0
  1885. /package/{esm2015/dynamic/action/api/dynamic-action-api-errors.js → esm2020/dynamic/action/api/dynamic-action-api-errors.mjs} +0 -0
  1886. /package/{esm2015/dynamic/action/api/dynamic-action-api.js → esm2020/dynamic/action/api/dynamic-action-api.mjs} +0 -0
  1887. /package/{esm2015/dynamic/action/index.js → esm2020/dynamic/action/index.mjs} +0 -0
  1888. /package/{esm2015/dynamic/action/link/dynamic-action-link-def.js → esm2020/dynamic/action/link/dynamic-action-link-def.mjs} +0 -0
  1889. /package/{esm2015/dynamic/action/link/dynamic-action-link.js → esm2020/dynamic/action/link/dynamic-action-link.mjs} +0 -0
  1890. /package/{esm2015/dynamic/action/modal/dynamic-action-modal.js → esm2020/dynamic/action/modal/dynamic-action-modal.mjs} +0 -0
  1891. /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.js → esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.mjs} +0 -0
  1892. /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/index.js → esm2020/dynamic/evaluators/exporters-data-evaluator/index.mjs} +0 -0
  1893. /package/{esm2015/dynamic/evaluators/index.js → esm2020/dynamic/evaluators/index.mjs} +0 -0
  1894. /package/{esm2015/dynamic/evaluators/jexl-evaluator/index.js → esm2020/dynamic/evaluators/jexl-evaluator/index.mjs} +0 -0
  1895. /package/{esm2015/dynamic/evaluators/jexl-evaluator/jexl-value.js → esm2020/dynamic/evaluators/jexl-evaluator/jexl-value.mjs} +0 -0
  1896. /package/{esm2015/dynamic/models/dynamic-action-confirm-def.js → esm2020/dynamic/models/dynamic-action-confirm-def.mjs} +0 -0
  1897. /package/{esm2015/dynamic/models/dynamic-action-context.js → esm2020/dynamic/models/dynamic-action-context.mjs} +0 -0
  1898. /package/{esm2015/dynamic/models/dynamic-action-def.js → esm2020/dynamic/models/dynamic-action-def.mjs} +0 -0
  1899. /package/{esm2015/dynamic/models/dynamic-action-ui-anchor-def.js → esm2020/dynamic/models/dynamic-action-ui-anchor-def.mjs} +0 -0
  1900. /package/{esm2015/dynamic/models/dynamic-action-ui-button-def.js → esm2020/dynamic/models/dynamic-action-ui-button-def.mjs} +0 -0
  1901. /package/{esm2015/dynamic/models/dynamic-action-ui-def.js → esm2020/dynamic/models/dynamic-action-ui-def.mjs} +0 -0
  1902. /package/{esm2015/dynamic/models/dynamic-action.js → esm2020/dynamic/models/dynamic-action.mjs} +0 -0
  1903. /package/{esm2015/dynamic/models/dynamic-value-base-type.js → esm2020/dynamic/models/dynamic-value-base-type.mjs} +0 -0
  1904. /package/{esm2015/dynamic/models/dynamic-value-evaluator.js → esm2020/dynamic/models/dynamic-value-evaluator.mjs} +0 -0
  1905. /package/{esm2015/dynamic/models/dynamic-value-primitive.js → esm2020/dynamic/models/dynamic-value-primitive.mjs} +0 -0
  1906. /package/{esm2015/dynamic/models/dynamic-value-type.js → esm2020/dynamic/models/dynamic-value-type.mjs} +0 -0
  1907. /package/{esm2015/dynamic/models/dynamic-value.js → esm2020/dynamic/models/dynamic-value.mjs} +0 -0
  1908. /package/{esm2015/dynamic/models/index.js → esm2020/dynamic/models/index.mjs} +0 -0
  1909. /package/{esm2015/dynamic/public-api.js → esm2020/dynamic/public-api.mjs} +0 -0
  1910. /package/{esm2015/dynamic/theseam-ui-common-dynamic.js → esm2020/dynamic/theseam-ui-common-dynamic.mjs} +0 -0
  1911. /package/{esm2015/dynamic/tokens/api-config.js → esm2020/dynamic/tokens/api-config.mjs} +0 -0
  1912. /package/{esm2015/dynamic/tokens/dynamic-action.js → esm2020/dynamic/tokens/dynamic-action.mjs} +0 -0
  1913. /package/{esm2015/dynamic/tokens/dynamic-data.js → esm2020/dynamic/tokens/dynamic-data.mjs} +0 -0
  1914. /package/{esm2015/dynamic/tokens/dynamic-value-evaluator.js → esm2020/dynamic/tokens/dynamic-value-evaluator.mjs} +0 -0
  1915. /package/{esm2015/dynamic/tokens/index.js → esm2020/dynamic/tokens/index.mjs} +0 -0
  1916. /package/{esm2015/dynamic/utils/index.js → esm2020/dynamic/utils/index.mjs} +0 -0
  1917. /package/{esm2015/dynamic/utils/is-action-type.js → esm2020/dynamic/utils/is-action-type.mjs} +0 -0
  1918. /package/{esm2015/dynamic-component-loader/dynamic-component-tokens.js → esm2020/dynamic-component-loader/dynamic-component-tokens.mjs} +0 -0
  1919. /package/{esm2015/dynamic-component-loader/public-api.js → esm2020/dynamic-component-loader/public-api.mjs} +0 -0
  1920. /package/{esm2015/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.js → esm2020/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.mjs} +0 -0
  1921. /package/{esm2015/footer-bar/public-api.js → esm2020/footer-bar/public-api.mjs} +0 -0
  1922. /package/{esm2015/footer-bar/theseam-ui-common-footer-bar.js → esm2020/footer-bar/theseam-ui-common-footer-bar.mjs} +0 -0
  1923. /package/{esm2015/form-field/theseam-ui-common-form-field.js → esm2020/form-field/theseam-ui-common-form-field.mjs} +0 -0
  1924. /package/{esm2015/form-field-error/public-api.js → esm2020/form-field-error/public-api.mjs} +0 -0
  1925. /package/{esm2015/form-field-error/theseam-ui-common-form-field-error.js → esm2020/form-field-error/theseam-ui-common-form-field-error.mjs} +0 -0
  1926. /package/{esm2015/framework/base-layout/base-layout-action.js → esm2020/framework/base-layout/base-layout-action.mjs} +0 -0
  1927. /package/{esm2015/framework/base-layout/base-layout-nav.js → esm2020/framework/base-layout/base-layout-nav.mjs} +0 -0
  1928. /package/{esm2015/framework/base-layout/base-layout-ref.js → esm2020/framework/base-layout/base-layout-ref.mjs} +0 -0
  1929. /package/{esm2015/framework/base-layout/base-layout-tokens.js → esm2020/framework/base-layout/base-layout-tokens.mjs} +0 -0
  1930. /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-item.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-item.mjs} +0 -0
  1931. /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.mjs} +0 -0
  1932. /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.mjs} +0 -0
  1933. /package/{esm2015/framework/dashboard/index.js → esm2020/framework/dashboard/index.mjs} +0 -0
  1934. /package/{esm2015/framework/dynamic-router/index.js → esm2020/framework/dynamic-router/index.mjs} +0 -0
  1935. /package/{esm2015/framework/nav/index.js → esm2020/framework/nav/index.mjs} +0 -0
  1936. /package/{esm2015/framework/nav/nav.models.js → esm2020/framework/nav/nav.models.mjs} +0 -0
  1937. /package/{esm2015/framework/public-api.js → esm2020/framework/public-api.mjs} +0 -0
  1938. /package/{esm2015/framework/schema-form/index.js → esm2020/framework/schema-form/index.mjs} +0 -0
  1939. /package/{esm2015/google-maps/map-controls-service.js → esm2020/google-maps/map-controls-service.mjs} +0 -0
  1940. /package/{esm2015/graphql/datatable/index.js → esm2020/graphql/datatable/index.mjs} +0 -0
  1941. /package/{esm2015/graphql/datatable/map-page-info.js → esm2020/graphql/datatable/map-page-info.mjs} +0 -0
  1942. /package/{esm2015/graphql/datatable/mapper-context.js → esm2020/graphql/datatable/mapper-context.mjs} +0 -0
  1943. /package/{esm2015/graphql/models/direction.js → esm2020/graphql/models/direction.mjs} +0 -0
  1944. /package/{esm2015/graphql/models/gql-datatable-accessor.js → esm2020/graphql/models/gql-datatable-accessor.mjs} +0 -0
  1945. /package/{esm2015/graphql/models/hint-definition.js → esm2020/graphql/models/hint-definition.mjs} +0 -0
  1946. /package/{esm2015/graphql/models/hint-transform-operation.js → esm2020/graphql/models/hint-transform-operation.mjs} +0 -0
  1947. /package/{esm2015/graphql/models/hint-transformer.js → esm2020/graphql/models/hint-transformer.mjs} +0 -0
  1948. /package/{esm2015/graphql/models/hints-kind.js → esm2020/graphql/models/hints-kind.mjs} +0 -0
  1949. /package/{esm2015/graphql/models/hints-token.js → esm2020/graphql/models/hints-token.mjs} +0 -0
  1950. /package/{esm2015/graphql/models/index.js → esm2020/graphql/models/index.mjs} +0 -0
  1951. /package/{esm2015/graphql/models/query-processing-config.js → esm2020/graphql/models/query-processing-config.mjs} +0 -0
  1952. /package/{esm2015/graphql/models/variable.js → esm2020/graphql/models/variable.mjs} +0 -0
  1953. /package/{esm2015/graphql/public-api.js → esm2020/graphql/public-api.mjs} +0 -0
  1954. /package/{esm2015/graphql/theseam-ui-common-graphql.js → esm2020/graphql/theseam-ui-common-graphql.mjs} +0 -0
  1955. /package/{esm2015/graphql/utils/contains-variable.js → esm2020/graphql/utils/contains-variable.mjs} +0 -0
  1956. /package/{esm2015/graphql/utils/gql-var.js → esm2020/graphql/utils/gql-var.mjs} +0 -0
  1957. /package/{esm2015/graphql/utils/hints-tokens-containing-hint.js → esm2020/graphql/utils/hints-tokens-containing-hint.mjs} +0 -0
  1958. /package/{esm2015/graphql/utils/index.js → esm2020/graphql/utils/index.mjs} +0 -0
  1959. /package/{esm2015/graphql/utils/parse-comments.js → esm2020/graphql/utils/parse-comments.mjs} +0 -0
  1960. /package/{esm2015/graphql/utils/remove-variable-definition.js → esm2020/graphql/utils/remove-variable-definition.mjs} +0 -0
  1961. /package/{esm2015/graphql/utils/remove-variable-definitions-not-defined.js → esm2020/graphql/utils/remove-variable-definitions-not-defined.mjs} +0 -0
  1962. /package/{esm2015/graphql/utils/remove-variable.js → esm2020/graphql/utils/remove-variable.mjs} +0 -0
  1963. /package/{esm2015/icon/icon.js → esm2020/icon/icon.mjs} +0 -0
  1964. /package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
  1965. /package/{esm2015/icon/theseam-ui-common-icon.js → esm2020/icon/theseam-ui-common-icon.mjs} +0 -0
  1966. /package/{esm2015/icon/utils/file-extension-icon.js → esm2020/icon/utils/file-extension-icon.mjs} +0 -0
  1967. /package/{esm2015/icon/utils/index.js → esm2020/icon/utils/index.mjs} +0 -0
  1968. /package/{esm2015/layout/public-api.js → esm2020/layout/public-api.mjs} +0 -0
  1969. /package/{esm2015/layout/theseam-ui-common-layout.js → esm2020/layout/theseam-ui-common-layout.mjs} +0 -0
  1970. /package/{esm2015/loading/loading-themes.js → esm2020/loading/loading-themes.mjs} +0 -0
  1971. /package/{esm2015/loading/loading.models.js → esm2020/loading/loading.models.mjs} +0 -0
  1972. /package/{esm2015/loading/public-api.js → esm2020/loading/public-api.mjs} +0 -0
  1973. /package/{esm2015/loading/theseam-ui-common-loading.js → esm2020/loading/theseam-ui-common-loading.mjs} +0 -0
  1974. /package/{esm2015/menu/menu-animations.js → esm2020/menu/menu-animations.mjs} +0 -0
  1975. /package/{esm2015/menu/menu-panel-token.js → esm2020/menu/menu-panel-token.mjs} +0 -0
  1976. /package/{esm2015/menu/menu-panel.js → esm2020/menu/menu-panel.mjs} +0 -0
  1977. /package/{esm2015/menu/public-api.js → esm2020/menu/public-api.mjs} +0 -0
  1978. /package/{esm2015/menu/theseam-ui-common-menu.js → esm2020/menu/theseam-ui-common-menu.mjs} +0 -0
  1979. /package/{esm2015/modal/modal-injectors.js → esm2020/modal/modal-injectors.mjs} +0 -0
  1980. /package/{esm2015/modal/modal-utils.js → esm2020/modal/modal-utils.mjs} +0 -0
  1981. /package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
  1982. /package/{esm2015/modal/theseam-ui-common-modal.js → esm2020/modal/theseam-ui-common-modal.mjs} +0 -0
  1983. /package/{esm2015/models/component-type.js → esm2020/models/component-type.mjs} +0 -0
  1984. /package/{esm2015/models/http-status-codes.js → esm2020/models/http-status-codes.mjs} +0 -0
  1985. /package/{esm2015/models/public-api.js → esm2020/models/public-api.mjs} +0 -0
  1986. /package/{esm2015/models/size-prefixes.js → esm2020/models/size-prefixes.mjs} +0 -0
  1987. /package/{esm2015/models/size-types.js → esm2020/models/size-types.mjs} +0 -0
  1988. /package/{esm2015/models/theme-names.js → esm2020/models/theme-names.mjs} +0 -0
  1989. /package/{esm2015/models/theme-prefixes.js → esm2020/models/theme-prefixes.mjs} +0 -0
  1990. /package/{esm2015/models/theme-types.js → esm2020/models/theme-types.mjs} +0 -0
  1991. /package/{esm2015/models/theseam-ui-common-models.js → esm2020/models/theseam-ui-common-models.mjs} +0 -0
  1992. /package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
  1993. /package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
  1994. /package/{esm2015/popover/theseam-ui-common-popover.js → esm2020/popover/theseam-ui-common-popover.mjs} +0 -0
  1995. /package/{esm2015/progress/public-api.js → esm2020/progress/public-api.mjs} +0 -0
  1996. /package/{esm2015/progress/theseam-ui-common-progress.js → esm2020/progress/theseam-ui-common-progress.mjs} +0 -0
  1997. /package/{esm2015/scrollbar/overlay-scrollbars-config-model.js → esm2020/scrollbar/overlay-scrollbars-config-model.mjs} +0 -0
  1998. /package/{esm2015/scrollbar/public-api.js → esm2020/scrollbar/public-api.mjs} +0 -0
  1999. /package/{esm2015/scrollbar/theseam-ui-common-scrollbar.js → esm2020/scrollbar/theseam-ui-common-scrollbar.mjs} +0 -0
  2000. /package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +0 -0
  2001. /package/{esm2015/services/theseam-ui-common-services.js → esm2020/services/theseam-ui-common-services.mjs} +0 -0
  2002. /package/{esm2015/shared/components/index.js → esm2020/shared/components/index.mjs} +0 -0
  2003. /package/{esm2015/shared/directives/index.js → esm2020/shared/directives/index.mjs} +0 -0
  2004. /package/{esm2015/shared/pipes/index.js → esm2020/shared/pipes/index.mjs} +0 -0
  2005. /package/{esm2015/shared/public-api.js → esm2020/shared/public-api.mjs} +0 -0
  2006. /package/{esm2015/shared/theseam-ui-common-shared.js → esm2020/shared/theseam-ui-common-shared.mjs} +0 -0
  2007. /package/{esm2015/storage/public-api.js → esm2020/storage/public-api.mjs} +0 -0
  2008. /package/{esm2015/storage/theseam-ui-common-storage.js → esm2020/storage/theseam-ui-common-storage.mjs} +0 -0
  2009. /package/{esm2015/story-helpers/initial-route-factory.js → esm2020/story-helpers/initial-route-factory.mjs} +0 -0
  2010. /package/{esm2015/story-helpers/route-button.js → esm2020/story-helpers/route-button.mjs} +0 -0
  2011. /package/{esm2015/story-helpers/theseam-ui-common-story-helpers.js → esm2020/story-helpers/theseam-ui-common-story-helpers.mjs} +0 -0
  2012. /package/{esm2015/tabbed/theseam-ui-common-tabbed.js → esm2020/tabbed/theseam-ui-common-tabbed.mjs} +0 -0
  2013. /package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
  2014. /package/{esm2015/table/theseam-ui-common-table.js → esm2020/table/theseam-ui-common-table.mjs} +0 -0
  2015. /package/{esm2015/table-cell-type/public-api.js → esm2020/table-cell-type/public-api.mjs} +0 -0
  2016. /package/{esm2015/table-cell-type/table-cell-type-action.js → esm2020/table-cell-type/table-cell-type-action.mjs} +0 -0
  2017. /package/{esm2015/table-cell-type/table-cell-type-column.js → esm2020/table-cell-type/table-cell-type-column.mjs} +0 -0
  2018. /package/{esm2015/table-cell-type/table-cell-type-config.js → esm2020/table-cell-type/table-cell-type-config.mjs} +0 -0
  2019. /package/{esm2015/table-cell-type/table-cell-type-manifest-provider.js → esm2020/table-cell-type/table-cell-type-manifest-provider.mjs} +0 -0
  2020. /package/{esm2015/table-cell-type/table-cell-type-name.js → esm2020/table-cell-type/table-cell-type-name.mjs} +0 -0
  2021. /package/{esm2015/table-cell-type/table-cell-type-tokens.js → esm2020/table-cell-type/table-cell-type-tokens.mjs} +0 -0
  2022. /package/{esm2015/table-cell-type/theseam-ui-common-table-cell-type.js → esm2020/table-cell-type/theseam-ui-common-table-cell-type.mjs} +0 -0
  2023. /package/{esm2015/table-cell-types/public-api.js → esm2020/table-cell-types/public-api.mjs} +0 -0
  2024. /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.mjs} +0 -0
  2025. /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.mjs} +0 -0
  2026. /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date-config.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date-config.mjs} +0 -0
  2027. /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.mjs} +0 -0
  2028. /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.mjs} +0 -0
  2029. /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.mjs} +0 -0
  2030. /package/{esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.js → esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.mjs} +0 -0
  2031. /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.mjs} +0 -0
  2032. /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.mjs} +0 -0
  2033. /package/{esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.js → esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.mjs} +0 -0
  2034. /package/{esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.js → esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.mjs} +0 -0
  2035. /package/{esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.js → esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.mjs} +0 -0
  2036. /package/{esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js → esm2020/table-cell-types/table-cell-type-string/table-cell-type-string-config.mjs} +0 -0
  2037. /package/{esm2015/tel-input/models/index.js → esm2020/tel-input/models/index.mjs} +0 -0
  2038. /package/{esm2015/tel-input/models/tel-input-country-data.js → esm2020/tel-input/models/tel-input-country-data.mjs} +0 -0
  2039. /package/{esm2015/tel-input/models/tel-input-number-format-name.js → esm2020/tel-input/models/tel-input-number-format-name.mjs} +0 -0
  2040. /package/{esm2015/tel-input/public-api.js → esm2020/tel-input/public-api.mjs} +0 -0
  2041. /package/{esm2015/tel-input/tel-input-constants.js → esm2020/tel-input/tel-input-constants.mjs} +0 -0
  2042. /package/{esm2015/tel-input/theseam-ui-common-tel-input.js → esm2020/tel-input/theseam-ui-common-tel-input.mjs} +0 -0
  2043. /package/{esm2015/tel-input/utils/coerce-phone-number-format.js → esm2020/tel-input/utils/coerce-phone-number-format.mjs} +0 -0
  2044. /package/{esm2015/tel-input/utils/get-country-code.js → esm2020/tel-input/utils/get-country-code.mjs} +0 -0
  2045. /package/{esm2015/tel-input/utils/get-dial-code.js → esm2020/tel-input/utils/get-dial-code.mjs} +0 -0
  2046. /package/{esm2015/tel-input/utils/get-global-intl-tel-input-globals.js → esm2020/tel-input/utils/get-global-intl-tel-input-globals.mjs} +0 -0
  2047. /package/{esm2015/tel-input/utils/get-global-intl-tel-input-utils.js → esm2020/tel-input/utils/get-global-intl-tel-input-utils.mjs} +0 -0
  2048. /package/{esm2015/tel-input/utils/get-intl-tel-input-utils.js → esm2020/tel-input/utils/get-intl-tel-input-utils.mjs} +0 -0
  2049. /package/{esm2015/tel-input/utils/index.js → esm2020/tel-input/utils/index.mjs} +0 -0
  2050. /package/{esm2015/testing/current-tick-time.js → esm2020/testing/current-tick-time.mjs} +0 -0
  2051. /package/{esm2015/testing/fake-toastr.js → esm2020/testing/fake-toastr.mjs} +0 -0
  2052. /package/{esm2015/testing/public-api.js → esm2020/testing/public-api.mjs} +0 -0
  2053. /package/{esm2015/testing/theseam-ui-common-testing.js → esm2020/testing/theseam-ui-common-testing.mjs} +0 -0
  2054. /package/{esm2015/testing/tick-helper.js → esm2020/testing/tick-helper.mjs} +0 -0
  2055. /package/{esm2015/theseam-ui-common.js → esm2020/theseam-ui-common.mjs} +0 -0
  2056. /package/{esm2015/tiled-select/theseam-ui-common-tiled-select.js → esm2020/tiled-select/theseam-ui-common-tiled-select.mjs} +0 -0
  2057. /package/{esm2015/tiled-select/tiled-select.models.js → esm2020/tiled-select/tiled-select.models.mjs} +0 -0
  2058. /package/{esm2015/toggle-edit/models/can-toggle-edit.js → esm2020/toggle-edit/models/can-toggle-edit.mjs} +0 -0
  2059. /package/{esm2015/toggle-edit/models/index.js → esm2020/toggle-edit/models/index.mjs} +0 -0
  2060. /package/{esm2015/toggle-edit/models/toggle-edit-ref.js → esm2020/toggle-edit/models/toggle-edit-ref.mjs} +0 -0
  2061. /package/{esm2015/toggle-edit/public-api.js → esm2020/toggle-edit/public-api.mjs} +0 -0
  2062. /package/{esm2015/toggle-edit/theseam-ui-common-toggle-edit.js → esm2020/toggle-edit/theseam-ui-common-toggle-edit.mjs} +0 -0
  2063. /package/{esm2015/toggle-group/public-api.js → esm2020/toggle-group/public-api.mjs} +0 -0
  2064. /package/{esm2015/toggle-group/theseam-ui-common-toggle-group.js → esm2020/toggle-group/theseam-ui-common-toggle-group.mjs} +0 -0
  2065. /package/{esm2015/unsaved-changes-dialog/public-api.js → esm2020/unsaved-changes-dialog/public-api.mjs} +0 -0
  2066. /package/{esm2015/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.js → esm2020/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.mjs} +0 -0
  2067. /package/{esm2015/utils/calc-percentage.js → esm2020/utils/calc-percentage.mjs} +0 -0
  2068. /package/{esm2015/utils/create-padding.js → esm2020/utils/create-padding.mjs} +0 -0
  2069. /package/{esm2015/utils/form/get-control-name.js → esm2020/utils/form/get-control-name.mjs} +0 -0
  2070. /package/{esm2015/utils/form/has-required-control.js → esm2020/utils/form/has-required-control.mjs} +0 -0
  2071. /package/{esm2015/utils/form/is-empty-input-value.js → esm2020/utils/form/is-empty-input-value.mjs} +0 -0
  2072. /package/{esm2015/utils/form/observe-control-is-different.js → esm2020/utils/form/observe-control-is-different.mjs} +0 -0
  2073. /package/{esm2015/utils/form/observe-control-status.js → esm2020/utils/form/observe-control-status.mjs} +0 -0
  2074. /package/{esm2015/utils/form/observe-control-valid.js → esm2020/utils/form/observe-control-valid.mjs} +0 -0
  2075. /package/{esm2015/utils/form/observe-control-value-change.js → esm2020/utils/form/observe-control-value-change.mjs} +0 -0
  2076. /package/{esm2015/utils/form/observe-control-value.js → esm2020/utils/form/observe-control-value.mjs} +0 -0
  2077. /package/{esm2015/utils/form/wait-on-non-pending-status.js → esm2020/utils/form/wait-on-non-pending-status.mjs} +0 -0
  2078. /package/{esm2015/utils/fractional-digits-count.js → esm2020/utils/fractional-digits-count.mjs} +0 -0
  2079. /package/{esm2015/utils/geo-json/no-kinks.validator.js → esm2020/utils/geo-json/no-kinks.validator.mjs} +0 -0
  2080. /package/{esm2015/utils/get-attribute.js → esm2020/utils/get-attribute.mjs} +0 -0
  2081. /package/{esm2015/utils/has-attribute.js → esm2020/utils/has-attribute.mjs} +0 -0
  2082. /package/{esm2015/utils/input-masks.js → esm2020/utils/input-masks.mjs} +0 -0
  2083. /package/{esm2015/utils/is-absolute-url.js → esm2020/utils/is-absolute-url.mjs} +0 -0
  2084. /package/{esm2015/utils/is-null-or-undefined.js → esm2020/utils/is-null-or-undefined.mjs} +0 -0
  2085. /package/{esm2015/utils/is-numeric.js → esm2020/utils/is-numeric.mjs} +0 -0
  2086. /package/{esm2015/utils/not-null-or-undefined.js → esm2020/utils/not-null-or-undefined.mjs} +0 -0
  2087. /package/{esm2015/utils/observe-query-list.js → esm2020/utils/observe-query-list.mjs} +0 -0
  2088. /package/{esm2015/utils/operators/index.js → esm2020/utils/operators/index.mjs} +0 -0
  2089. /package/{esm2015/utils/operators/map-each.js → esm2020/utils/operators/map-each.mjs} +0 -0
  2090. /package/{esm2015/utils/operators/tap-first.js → esm2020/utils/operators/tap-first.mjs} +0 -0
  2091. /package/{esm2015/utils/pad-end.js → esm2020/utils/pad-end.mjs} +0 -0
  2092. /package/{esm2015/utils/pad-start.js → esm2020/utils/pad-start.mjs} +0 -0
  2093. /package/{esm2015/utils/public-api.js → esm2020/utils/public-api.mjs} +0 -0
  2094. /package/{esm2015/utils/refreshable.js → esm2020/utils/refreshable.mjs} +0 -0
  2095. /package/{esm2015/utils/router/index.js → esm2020/utils/router/index.mjs} +0 -0
  2096. /package/{esm2015/utils/router/is-empty-url-route.js → esm2020/utils/router/is-empty-url-route.mjs} +0 -0
  2097. /package/{esm2015/utils/router/leaf-child-route.js → esm2020/utils/router/leaf-child-route.mjs} +0 -0
  2098. /package/{esm2015/utils/theseam-ui-common-utils.js → esm2020/utils/theseam-ui-common-utils.mjs} +0 -0
  2099. /package/{esm2015/utils/wrap-into-observable.js → esm2020/utils/wrap-into-observable.mjs} +0 -0
  2100. /package/{esm2015/validators/decimal.validator.js → esm2020/validators/decimal.validator.mjs} +0 -0
  2101. /package/{esm2015/validators/email-exists.validator.js → esm2020/validators/email-exists.validator.mjs} +0 -0
  2102. /package/{esm2015/validators/integer.validator.js → esm2020/validators/integer.validator.mjs} +0 -0
  2103. /package/{esm2015/validators/phone-length.validator.js → esm2020/validators/phone-length.validator.mjs} +0 -0
  2104. /package/{esm2015/validators/public-api.js → esm2020/validators/public-api.mjs} +0 -0
  2105. /package/{esm2015/validators/tax-id.validator.js → esm2020/validators/tax-id.validator.mjs} +0 -0
  2106. /package/{esm2015/validators/theseam-ui-common-validators.js → esm2020/validators/theseam-ui-common-validators.mjs} +0 -0
  2107. /package/{esm2015/viewers/html-template-viewer/index.js → esm2020/viewers/html-template-viewer/index.mjs} +0 -0
  2108. /package/{esm2015/viewers/pdf-viewer/index.js → esm2020/viewers/pdf-viewer/index.mjs} +0 -0
  2109. /package/{esm2015/viewers/public-api.js → esm2020/viewers/public-api.mjs} +0 -0
  2110. /package/{esm2015/viewers/theseam-ui-common-viewers.js → esm2020/viewers/theseam-ui-common-viewers.mjs} +0 -0
  2111. /package/{esm2015/widget/public-api.js → esm2020/widget/public-api.mjs} +0 -0
  2112. /package/{esm2015/widget/theseam-ui-common-widget.js → esm2020/widget/theseam-ui-common-widget.mjs} +0 -0
  2113. /package/{esm2015/widget/widget-registry.models.js → esm2020/widget/widget-registry.models.mjs} +0 -0
  2114. /package/{esm2015/widget/widget-token.js → esm2020/widget/widget-token.mjs} +0 -0
@@ -1,4270 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs/operators'), require('@angular/cdk/portal'), require('rxjs'), require('@fortawesome/free-solid-svg-icons'), require('@theseam/ui-common/layout'), require('@angular/common'), require('@theseam/ui-common/buttons'), require('@theseam/ui-common/icon'), require('@theseam/ui-common/scrollbar'), require('@angular/cdk/coercion'), require('@angular/cdk/drag-drop'), require('@theseam/ui-common/core'), require('@theseam/ui-common/widget'), require('@theseam/ui-common/dynamic-component-loader'), require('@theseam/ui-common/utils'), require('@theseam/ui-common/shared'), require('@angular/animations'), require('@angular/router'), require('@angular/cdk/a11y'), require('@ng-bootstrap/ng-bootstrap'), require('@theseam/ui-common/menu'), require('@fortawesome/free-regular-svg-icons'), require('@ajsf/core'), require('@angular/forms'), require('@ng-select/ng-select'), require('@theseam/ui-common/checkbox'), require('@theseam/ui-common/form-field')) :
3
- typeof define === 'function' && define.amd ? define('@theseam/ui-common/framework', ['exports', '@angular/core', 'rxjs/operators', '@angular/cdk/portal', 'rxjs', '@fortawesome/free-solid-svg-icons', '@theseam/ui-common/layout', '@angular/common', '@theseam/ui-common/buttons', '@theseam/ui-common/icon', '@theseam/ui-common/scrollbar', '@angular/cdk/coercion', '@angular/cdk/drag-drop', '@theseam/ui-common/core', '@theseam/ui-common/widget', '@theseam/ui-common/dynamic-component-loader', '@theseam/ui-common/utils', '@theseam/ui-common/shared', '@angular/animations', '@angular/router', '@angular/cdk/a11y', '@ng-bootstrap/ng-bootstrap', '@theseam/ui-common/menu', '@fortawesome/free-regular-svg-icons', '@ajsf/core', '@angular/forms', '@ng-select/ng-select', '@theseam/ui-common/checkbox', '@theseam/ui-common/form-field'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam["ui-common"] = global.theseam["ui-common"] || {}, global.theseam["ui-common"].framework = {}), global.ng.core, global.rxjs.operators, global.ng.cdk.portal, global.rxjs, global.freeSolidSvgIcons, global.theseam["ui-common"].layout, global.ng.common, global.theseam["ui-common"].buttons, global.theseam["ui-common"].icon, global.theseam["ui-common"].scrollbar, global.ng.cdk.coercion, global.ng.cdk.dragDrop, global.theseam["ui-common"].core, global.theseam["ui-common"].widget, global.theseam["ui-common"]["dynamic-component-loader"], global.theseam["ui-common"].utils, global.theseam["ui-common"].shared, global.ng.animations, global.ng.router, global.ng.cdk.a11y, global.ngBootstrap, global.theseam["ui-common"].menu, global.freeRegularSvgIcons, global.core$1, global.ng.forms, global.ngSelect, global.theseam["ui-common"].checkbox, global.theseam["ui-common"]["form-field"]));
5
- })(this, (function (exports, i0, operators, portal, rxjs, freeSolidSvgIcons, layout, common, buttons, icon, scrollbar, coercion, dragDrop, core, widget, i1, utils, shared, animations, router, a11y, ngBootstrap, menu, freeRegularSvgIcons, core$1, forms, ngSelect, checkbox, formField) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
-
28
- var BaseLayoutContentFooterDirective = /** @class */ (function () {
29
- function BaseLayoutContentFooterDirective(_elementRef) {
30
- this._elementRef = _elementRef;
31
- }
32
- return BaseLayoutContentFooterDirective;
33
- }());
34
- BaseLayoutContentFooterDirective.decorators = [
35
- { type: i0.Directive, args: [{
36
- selector: '[seamBaseLayoutContentFooter]'
37
- },] }
38
- ];
39
- BaseLayoutContentFooterDirective.ctorParameters = function () { return [
40
- { type: i0.ElementRef }
41
- ]; };
42
-
43
- var BaseLayoutContentHeaderDirective = /** @class */ (function () {
44
- function BaseLayoutContentHeaderDirective(_elementRef) {
45
- this._elementRef = _elementRef;
46
- }
47
- return BaseLayoutContentHeaderDirective;
48
- }());
49
- BaseLayoutContentHeaderDirective.decorators = [
50
- { type: i0.Directive, args: [{
51
- selector: '[seamBaseLayoutContentHeader]'
52
- },] }
53
- ];
54
- BaseLayoutContentHeaderDirective.ctorParameters = function () { return [
55
- { type: i0.ElementRef }
56
- ]; };
57
-
58
- var BaseLayoutContentDirective = /** @class */ (function () {
59
- function BaseLayoutContentDirective(_elementRef) {
60
- this._elementRef = _elementRef;
61
- }
62
- return BaseLayoutContentDirective;
63
- }());
64
- BaseLayoutContentDirective.decorators = [
65
- { type: i0.Directive, args: [{
66
- selector: '[seamBaseLayoutContent]'
67
- },] }
68
- ];
69
- BaseLayoutContentDirective.ctorParameters = function () { return [
70
- { type: i0.ElementRef }
71
- ]; };
72
-
73
- var THESEAM_BASE_LAYOUT_REF = new i0.InjectionToken('seamBaseLayoutRef');
74
-
75
- /**
76
- * Can be used to toggle the expand state of the registered nav.
77
- */
78
- var BaseLayoutNavToggleDirective = /** @class */ (function () {
79
- function BaseLayoutNavToggleDirective(_cdr, _baseLayout) {
80
- this._cdr = _cdr;
81
- this.type = 'button';
82
- /** Screenreader label for the button. */
83
- this.ariaLabel = 'Navigation toggle';
84
- this._toggleClass = true;
85
- this._expandedClass = false;
86
- this.baseLayout = _baseLayout;
87
- }
88
- Object.defineProperty(BaseLayoutNavToggleDirective.prototype, "_attrType", {
89
- get: function () { return this.type; },
90
- enumerable: false,
91
- configurable: true
92
- });
93
- Object.defineProperty(BaseLayoutNavToggleDirective.prototype, "_attrAriaLabel", {
94
- get: function () { return this.ariaLabel || null; },
95
- enumerable: false,
96
- configurable: true
97
- });
98
- BaseLayoutNavToggleDirective.prototype._onClick = function () {
99
- if (this.baseLayout && this.baseLayout.registeredNav) {
100
- this.baseLayout.registeredNav.toggle();
101
- }
102
- };
103
- BaseLayoutNavToggleDirective.prototype.ngOnInit = function () {
104
- var _this = this;
105
- var _a, _b;
106
- (_b = (_a = this.baseLayout) === null || _a === void 0 ? void 0 : _a.registeredNav) === null || _b === void 0 ? void 0 : _b.expanded$.pipe(operators.tap(function (exp) {
107
- _this._expandedClass = exp;
108
- _this._cdr.markForCheck();
109
- })).subscribe();
110
- };
111
- return BaseLayoutNavToggleDirective;
112
- }());
113
- BaseLayoutNavToggleDirective.decorators = [
114
- { type: i0.Directive, args: [{
115
- selector: 'button[seamBaseLayoutNavToggle]',
116
- exportAs: 'seamBaseLayoutNavToggle'
117
- },] }
118
- ];
119
- BaseLayoutNavToggleDirective.ctorParameters = function () { return [
120
- { type: i0.ChangeDetectorRef },
121
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
122
- ]; };
123
- BaseLayoutNavToggleDirective.propDecorators = {
124
- _attrType: [{ type: i0.HostBinding, args: ['attr.type',] }],
125
- type: [{ type: i0.Input }],
126
- _attrAriaLabel: [{ type: i0.HostBinding, args: ['attr.aria-label',] }],
127
- ariaLabel: [{ type: i0.Input, args: ['aria-label',] }],
128
- _toggleClass: [{ type: i0.HostBinding, args: ['class.base-layout-nav-toggle',] }],
129
- _expandedClass: [{ type: i0.HostBinding, args: ['class.base-layout-nav-toggle--expanded',] }],
130
- _onClick: [{ type: i0.HostListener, args: ['click',] }]
131
- };
132
-
133
- var BaseLayoutSideBarDirective = /** @class */ (function () {
134
- function BaseLayoutSideBarDirective(_elementRef) {
135
- this._elementRef = _elementRef;
136
- }
137
- return BaseLayoutSideBarDirective;
138
- }());
139
- BaseLayoutSideBarDirective.decorators = [
140
- { type: i0.Directive, args: [{
141
- selector: '[seamBaseLayoutSideBar]'
142
- },] }
143
- ];
144
- BaseLayoutSideBarDirective.ctorParameters = function () { return [
145
- { type: i0.ElementRef }
146
- ]; };
147
-
148
- var BaseLayoutTopBarDirective = /** @class */ (function () {
149
- function BaseLayoutTopBarDirective(_elementRef) {
150
- this._elementRef = _elementRef;
151
- }
152
- return BaseLayoutTopBarDirective;
153
- }());
154
- BaseLayoutTopBarDirective.decorators = [
155
- { type: i0.Directive, args: [{
156
- selector: '[seamBaseLayoutTopBar]'
157
- },] }
158
- ];
159
- BaseLayoutTopBarDirective.ctorParameters = function () { return [
160
- { type: i0.ElementRef }
161
- ]; };
162
-
163
- var THE_SEAM_BASE_LAYOUT = {
164
- provide: THESEAM_BASE_LAYOUT_REF,
165
- // tslint:disable-next-line:no-use-before-declare
166
- useExisting: i0.forwardRef(function () { return TheSeamBaseLayoutComponent; }),
167
- multi: false,
168
- };
169
- var TheSeamBaseLayoutComponent = /** @class */ (function () {
170
- function TheSeamBaseLayoutComponent(_viewContainerRef, _layout) {
171
- this._viewContainerRef = _viewContainerRef;
172
- this._layout = _layout;
173
- this.faAngleDoubleRight = freeSolidSvgIcons.faAngleDoubleRight;
174
- this.faAngleDoubleLeft = freeSolidSvgIcons.faAngleDoubleLeft;
175
- this.overlayNav = false;
176
- this.showSidebar = true;
177
- this._hasSideBar = new rxjs.BehaviorSubject(false);
178
- this._registeredNav = new rxjs.BehaviorSubject(undefined);
179
- this.registeredNav$ = this._registeredNav.asObservable();
180
- this._registeredActions = new rxjs.BehaviorSubject([]);
181
- this.registeredActions$ = this._registeredActions.asObservable();
182
- this.isMobile$ = this._layout.isMobile$;
183
- this.hasSideBar$ = this._hasSideBar.asObservable();
184
- }
185
- Object.defineProperty(TheSeamBaseLayoutComponent.prototype, "registeredNav", {
186
- get: function () { return this._registeredNav.value; },
187
- enumerable: false,
188
- configurable: true
189
- });
190
- Object.defineProperty(TheSeamBaseLayoutComponent.prototype, "registeredActions", {
191
- get: function () { return this._registeredActions.value; },
192
- enumerable: false,
193
- configurable: true
194
- });
195
- TheSeamBaseLayoutComponent.prototype.ngOnInit = function () {
196
- if (this.mobileBreakpoint) {
197
- this._layout.setMobileBreakpoint(this.mobileBreakpoint);
198
- }
199
- if (this._topBarTpl) {
200
- this._topBarPortal = new portal.TemplatePortal(this._topBarTpl, this._viewContainerRef);
201
- }
202
- if (this._sideBarTpl) {
203
- this._sideBarPortal = new portal.TemplatePortal(this._sideBarTpl, this._viewContainerRef);
204
- if (this.showSidebar) {
205
- this._hasSideBar.next(true);
206
- }
207
- }
208
- if (this._contentTpl) {
209
- this._contentPortal = new portal.TemplatePortal(this._contentTpl, this._viewContainerRef);
210
- }
211
- if (this._contentHeaderTpl) {
212
- this._contentHeaderPortal = new portal.TemplatePortal(this._contentHeaderTpl, this._viewContainerRef);
213
- }
214
- if (this._contentFooterTpl) {
215
- this._contentFooterPortal = new portal.TemplatePortal(this._contentFooterTpl, this._viewContainerRef);
216
- }
217
- };
218
- TheSeamBaseLayoutComponent.prototype.registerNav = function (nav) {
219
- // TODO: Allow multiple registered navs
220
- // if (this.registeredNav) {
221
- // throw new Error('[TheSeamBaseLayoutComponent] A nav is already registered.')
222
- // }
223
- // console.log('register nav', nav)
224
- this._registeredNav.next(nav);
225
- };
226
- TheSeamBaseLayoutComponent.prototype.unregisterNav = function (nav) {
227
- if (this.registeredNav === nav) {
228
- this._registeredNav.next(undefined);
229
- }
230
- };
231
- TheSeamBaseLayoutComponent.prototype.registerAction = function (action) {
232
- var actions = this._registeredActions.value;
233
- if (actions.findIndex(function (a) { return a.name === action.name; }) !== -1) {
234
- if (i0.isDevMode()) {
235
- console.warn("[TheSeamBaseLayoutComponent] registerAction(): Action " + action.name + " not " +
236
- 'registered, because another action by that name is already registered.');
237
- }
238
- return;
239
- }
240
- actions.push(action);
241
- };
242
- TheSeamBaseLayoutComponent.prototype.unregisterAction = function (action) {
243
- var actionName = typeof action === 'string' ? action : action.name;
244
- var actions = this._registeredActions.value;
245
- this._registeredActions.next(actions.filter(function (f) { return f.name !== actionName; }));
246
- };
247
- TheSeamBaseLayoutComponent.prototype.isActionRegistered = function (actionName) {
248
- var actions = this._registeredActions.value;
249
- var action = actions.find(function (f) { return f.name === actionName; });
250
- return !!action;
251
- };
252
- TheSeamBaseLayoutComponent.prototype._handleButtonAction = function (action) {
253
- this._execButtonAction(action).subscribe();
254
- };
255
- TheSeamBaseLayoutComponent.prototype._execButtonAction = function (action) {
256
- var fnRes = action.exec();
257
- return rxjs.isObservable(fnRes) ? fnRes : rxjs.from(Promise.resolve(fnRes));
258
- };
259
- return TheSeamBaseLayoutComponent;
260
- }());
261
- TheSeamBaseLayoutComponent.decorators = [
262
- { type: i0.Component, args: [{
263
- selector: 'seam-base-layout',
264
- template: "<div class=\"base-layout-side-bar-nav-content-mobile\" *ngIf=\"isMobile$ | async\">\n <ng-template [cdkPortalOutlet]=\"_sideBarPortal\"></ng-template>\n</div>\n\n<div class=\"base-layout-top-bar-container\">\n <ng-template [cdkPortalOutlet]=\"_topBarPortal\"></ng-template>\n</div>\n<div class=\"base-layout-main-container\">\n <div *ngIf=\"hasSideBar$ | async\"\n class=\"base-layout-side-bar-container\">\n <div class=\"base-layout-side-bar-nav-content\" *ngIf=\"!(isMobile$ | async)\">\n <ng-template [cdkPortalOutlet]=\"_sideBarPortal\"></ng-template>\n </div>\n </div>\n <div class=\"base-layout-content-container\">\n <div class=\"base-layout-content-container-header d-flex flex-row\">\n <div class=\"base-layout-content-container-header-left flex-grow-1\">\n <ng-template [cdkPortalOutlet]=\"_contentHeaderPortal\"></ng-template>\n </div>\n <div class=\"base-layout-content-container-header-right d-flex\">\n <ng-container *ngFor=\"let action of registeredActions$ | async; first as isFirst\">\n <div class=\"base-layout-registered-action\">\n <ng-container [ngTemplateOutlet]=\"$any(action)?.template\"></ng-container>\n </div>\n </ng-container>\n </div>\n </div>\n <div class=\"base-layout-content-container-inner\" seamOverlayScrollbar>\n <ng-template [cdkPortalOutlet]=\"_contentPortal\"></ng-template>\n </div>\n <div class=\"base-layout-content-container-footer\">\n <ng-template [cdkPortalOutlet]=\"_contentFooterPortal\"></ng-template>\n </div>\n </div>\n</div>\n",
265
- providers: [THE_SEAM_BASE_LAYOUT],
266
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
267
- encapsulation: i0.ViewEncapsulation.None,
268
- styles: ["seam-base-layout{display:flex;flex-direction:column;height:100%;width:100%}seam-base-layout .base-layout-side-bar-nav-content-mobile{position:absolute;top:0;bottom:0;left:0;z-index:999}seam-base-layout .base-layout-side-bar-container{flex:0 0 auto;display:flex;flex-direction:column;border-top:none;border-right:1px solid #dee2e6;border-bottom:none;border-left:none}seam-base-layout .base-layout-side-bar-container .base-layout-side-bar-nav-content{flex:1 1 0}seam-base-layout .base-layout-main-container{flex:1 1 100%;display:flex;flex-direction:row;transform:translateZ(0)}seam-base-layout .base-layout-top-bar-container{flex:0 0 auto;border-top:none;border-right:none;border-bottom:1px solid #dee2e6;border-left:none}seam-base-layout .base-layout-content-container{flex:1 1 auto;display:flex;flex-direction:column}seam-base-layout .base-layout-content-container .base-layout-content-container-header{flex:0 0 auto;background:none;margin:.25rem;padding:0;border-radius:0;overflow:hidden}seam-base-layout .base-layout-content-container .base-layout-content-container-header-left{background:none;padding:0;margin:0;border-radius:0}seam-base-layout .base-layout-content-container .base-layout-content-container-header-right{background:none;padding:0;margin:0;border-radius:0}seam-base-layout .base-layout-content-container .base-layout-content-container-inner{flex:1 1 auto}seam-base-layout .base-layout-content-container .base-layout-content-container-footer{flex:0 0 auto}seam-base-layout .btn-baselayout-action{margin:0 0 0 .25rem;color:#212529;background-color:#e9ecef;border-color:#e9ecef;padding:.5rem 1rem;font-size:1rem;line-height:1.5;border-radius:.25rem;border:none;color:#6c757d}seam-base-layout .btn-baselayout-action:hover{color:#212529;background-color:#d3d9df;border-color:#cbd3da}seam-base-layout .btn-baselayout-action:focus,seam-base-layout .btn-baselayout-action.focus{color:#212529;background-color:#d3d9df;border-color:#cbd3da;box-shadow:0 0 0 .2rem #cbced180}seam-base-layout .btn-baselayout-action.disabled,seam-base-layout .btn-baselayout-action:disabled{color:#212529;background-color:#e9ecef;border-color:#e9ecef}seam-base-layout .btn-baselayout-action:not(:disabled):not(.disabled):active,seam-base-layout .btn-baselayout-action:not(:disabled):not(.disabled).active,.show>seam-base-layout .btn-baselayout-action.dropdown-toggle{color:#212529;background-color:#d3d9df;border-color:#c4ccd4}seam-base-layout .btn-baselayout-action:not(:disabled):not(.disabled):active:focus,seam-base-layout .btn-baselayout-action:not(:disabled):not(.disabled).active:focus,.show>seam-base-layout .btn-baselayout-action.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #cbced180}seam-base-layout .btn-baselayout-action:hover{color:#6c757d}seam-base-layout .btn-baselayout-action:focus,seam-base-layout .btn-baselayout-action.focus{color:#6c757d}\n"]
269
- },] }
270
- ];
271
- TheSeamBaseLayoutComponent.ctorParameters = function () { return [
272
- { type: i0.ViewContainerRef },
273
- { type: layout.TheSeamLayoutService }
274
- ]; };
275
- TheSeamBaseLayoutComponent.propDecorators = {
276
- overlayNav: [{ type: i0.Input }],
277
- mobileBreakpoint: [{ type: i0.Input }],
278
- showSidebar: [{ type: i0.Input }],
279
- _topBarTpl: [{ type: i0.ContentChild, args: [BaseLayoutTopBarDirective, { static: true, read: i0.TemplateRef },] }],
280
- _sideBarTpl: [{ type: i0.ContentChild, args: [BaseLayoutSideBarDirective, { static: true, read: i0.TemplateRef },] }],
281
- _contentTpl: [{ type: i0.ContentChild, args: [BaseLayoutContentDirective, { static: true, read: i0.TemplateRef },] }],
282
- _contentHeaderTpl: [{ type: i0.ContentChild, args: [BaseLayoutContentHeaderDirective, { static: true, read: i0.TemplateRef },] }],
283
- _contentFooterTpl: [{ type: i0.ContentChild, args: [BaseLayoutContentFooterDirective, { static: true, read: i0.TemplateRef },] }]
284
- };
285
-
286
- var BaseLayoutSideBarFooterDirective = /** @class */ (function () {
287
- function BaseLayoutSideBarFooterDirective(_elementRef) {
288
- this._elementRef = _elementRef;
289
- }
290
- return BaseLayoutSideBarFooterDirective;
291
- }());
292
- BaseLayoutSideBarFooterDirective.decorators = [
293
- { type: i0.Directive, args: [{
294
- selector: '[seamBaseLayoutSideBarFooter]'
295
- },] }
296
- ];
297
- BaseLayoutSideBarFooterDirective.ctorParameters = function () { return [
298
- { type: i0.ElementRef }
299
- ]; };
300
-
301
- var BaseLayoutSideBarHeaderDirective = /** @class */ (function () {
302
- function BaseLayoutSideBarHeaderDirective(_elementRef) {
303
- this._elementRef = _elementRef;
304
- }
305
- return BaseLayoutSideBarHeaderDirective;
306
- }());
307
- BaseLayoutSideBarHeaderDirective.decorators = [
308
- { type: i0.Directive, args: [{
309
- selector: '[seamBaseLayoutSideBarHeader]'
310
- },] }
311
- ];
312
- BaseLayoutSideBarHeaderDirective.ctorParameters = function () { return [
313
- { type: i0.ElementRef }
314
- ]; };
315
-
316
- var TheSeamBaseLayoutModule = /** @class */ (function () {
317
- function TheSeamBaseLayoutModule() {
318
- }
319
- return TheSeamBaseLayoutModule;
320
- }());
321
- TheSeamBaseLayoutModule.decorators = [
322
- { type: i0.NgModule, args: [{
323
- declarations: [
324
- TheSeamBaseLayoutComponent,
325
- BaseLayoutContentDirective,
326
- BaseLayoutSideBarDirective,
327
- BaseLayoutSideBarFooterDirective,
328
- BaseLayoutSideBarHeaderDirective,
329
- BaseLayoutTopBarDirective,
330
- BaseLayoutNavToggleDirective,
331
- BaseLayoutContentHeaderDirective,
332
- BaseLayoutContentFooterDirective
333
- ],
334
- imports: [
335
- common.CommonModule,
336
- portal.PortalModule,
337
- scrollbar.TheSeamScrollbarModule,
338
- icon.TheSeamIconModule,
339
- buttons.TheSeamButtonsModule
340
- ],
341
- exports: [
342
- TheSeamBaseLayoutComponent,
343
- BaseLayoutContentDirective,
344
- BaseLayoutSideBarDirective,
345
- BaseLayoutSideBarFooterDirective,
346
- BaseLayoutSideBarHeaderDirective,
347
- BaseLayoutTopBarDirective,
348
- BaseLayoutNavToggleDirective,
349
- BaseLayoutContentHeaderDirective,
350
- BaseLayoutContentFooterDirective
351
- ]
352
- },] }
353
- ];
354
-
355
- var DashboardWidgetContainerComponent = /** @class */ (function () {
356
- function DashboardWidgetContainerComponent() {
357
- }
358
- DashboardWidgetContainerComponent.prototype.ngOnInit = function () { };
359
- return DashboardWidgetContainerComponent;
360
- }());
361
- DashboardWidgetContainerComponent.decorators = [
362
- { type: i0.Component, args: [{
363
- selector: 'seam-dashboard-widget-container',
364
- template: "<ng-template><ng-content></ng-content></ng-template>\n",
365
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
366
- styles: [""]
367
- },] }
368
- ];
369
- DashboardWidgetContainerComponent.ctorParameters = function () { return []; };
370
- DashboardWidgetContainerComponent.propDecorators = {
371
- def: [{ type: i0.Input }],
372
- templateRef: [{ type: i0.ViewChild, args: [i0.TemplateRef,] }]
373
- };
374
-
375
- /*! *****************************************************************************
376
- Copyright (c) Microsoft Corporation.
377
-
378
- Permission to use, copy, modify, and/or distribute this software for any
379
- purpose with or without fee is hereby granted.
380
-
381
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
382
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
383
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
384
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
385
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
386
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
387
- PERFORMANCE OF THIS SOFTWARE.
388
- ***************************************************************************** */
389
- /* global Reflect, Promise */
390
- var extendStatics = function (d, b) {
391
- extendStatics = Object.setPrototypeOf ||
392
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
393
- function (d, b) { for (var p in b)
394
- if (Object.prototype.hasOwnProperty.call(b, p))
395
- d[p] = b[p]; };
396
- return extendStatics(d, b);
397
- };
398
- function __extends(d, b) {
399
- if (typeof b !== "function" && b !== null)
400
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
401
- extendStatics(d, b);
402
- function __() { this.constructor = d; }
403
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
404
- }
405
- var __assign = function () {
406
- __assign = Object.assign || function __assign(t) {
407
- for (var s, i = 1, n = arguments.length; i < n; i++) {
408
- s = arguments[i];
409
- for (var p in s)
410
- if (Object.prototype.hasOwnProperty.call(s, p))
411
- t[p] = s[p];
412
- }
413
- return t;
414
- };
415
- return __assign.apply(this, arguments);
416
- };
417
- function __rest(s, e) {
418
- var t = {};
419
- for (var p in s)
420
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
421
- t[p] = s[p];
422
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
423
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
424
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
425
- t[p[i]] = s[p[i]];
426
- }
427
- return t;
428
- }
429
- function __decorate(decorators, target, key, desc) {
430
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
431
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
432
- r = Reflect.decorate(decorators, target, key, desc);
433
- else
434
- for (var i = decorators.length - 1; i >= 0; i--)
435
- if (d = decorators[i])
436
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
437
- return c > 3 && r && Object.defineProperty(target, key, r), r;
438
- }
439
- function __param(paramIndex, decorator) {
440
- return function (target, key) { decorator(target, key, paramIndex); };
441
- }
442
- function __metadata(metadataKey, metadataValue) {
443
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
444
- return Reflect.metadata(metadataKey, metadataValue);
445
- }
446
- function __awaiter(thisArg, _arguments, P, generator) {
447
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
448
- return new (P || (P = Promise))(function (resolve, reject) {
449
- function fulfilled(value) { try {
450
- step(generator.next(value));
451
- }
452
- catch (e) {
453
- reject(e);
454
- } }
455
- function rejected(value) { try {
456
- step(generator["throw"](value));
457
- }
458
- catch (e) {
459
- reject(e);
460
- } }
461
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
462
- step((generator = generator.apply(thisArg, _arguments || [])).next());
463
- });
464
- }
465
- function __generator(thisArg, body) {
466
- var _ = { label: 0, sent: function () { if (t[0] & 1)
467
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
468
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
469
- function verb(n) { return function (v) { return step([n, v]); }; }
470
- function step(op) {
471
- if (f)
472
- throw new TypeError("Generator is already executing.");
473
- while (_)
474
- try {
475
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
476
- return t;
477
- if (y = 0, t)
478
- op = [op[0] & 2, t.value];
479
- switch (op[0]) {
480
- case 0:
481
- case 1:
482
- t = op;
483
- break;
484
- case 4:
485
- _.label++;
486
- return { value: op[1], done: false };
487
- case 5:
488
- _.label++;
489
- y = op[1];
490
- op = [0];
491
- continue;
492
- case 7:
493
- op = _.ops.pop();
494
- _.trys.pop();
495
- continue;
496
- default:
497
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
498
- _ = 0;
499
- continue;
500
- }
501
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
502
- _.label = op[1];
503
- break;
504
- }
505
- if (op[0] === 6 && _.label < t[1]) {
506
- _.label = t[1];
507
- t = op;
508
- break;
509
- }
510
- if (t && _.label < t[2]) {
511
- _.label = t[2];
512
- _.ops.push(op);
513
- break;
514
- }
515
- if (t[2])
516
- _.ops.pop();
517
- _.trys.pop();
518
- continue;
519
- }
520
- op = body.call(thisArg, _);
521
- }
522
- catch (e) {
523
- op = [6, e];
524
- y = 0;
525
- }
526
- finally {
527
- f = t = 0;
528
- }
529
- if (op[0] & 5)
530
- throw op[1];
531
- return { value: op[0] ? op[1] : void 0, done: true };
532
- }
533
- }
534
- var __createBinding = Object.create ? (function (o, m, k, k2) {
535
- if (k2 === undefined)
536
- k2 = k;
537
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
538
- }) : (function (o, m, k, k2) {
539
- if (k2 === undefined)
540
- k2 = k;
541
- o[k2] = m[k];
542
- });
543
- function __exportStar(m, o) {
544
- for (var p in m)
545
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
546
- __createBinding(o, m, p);
547
- }
548
- function __values(o) {
549
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
550
- if (m)
551
- return m.call(o);
552
- if (o && typeof o.length === "number")
553
- return {
554
- next: function () {
555
- if (o && i >= o.length)
556
- o = void 0;
557
- return { value: o && o[i++], done: !o };
558
- }
559
- };
560
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
561
- }
562
- function __read(o, n) {
563
- var m = typeof Symbol === "function" && o[Symbol.iterator];
564
- if (!m)
565
- return o;
566
- var i = m.call(o), r, ar = [], e;
567
- try {
568
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
569
- ar.push(r.value);
570
- }
571
- catch (error) {
572
- e = { error: error };
573
- }
574
- finally {
575
- try {
576
- if (r && !r.done && (m = i["return"]))
577
- m.call(i);
578
- }
579
- finally {
580
- if (e)
581
- throw e.error;
582
- }
583
- }
584
- return ar;
585
- }
586
- /** @deprecated */
587
- function __spread() {
588
- for (var ar = [], i = 0; i < arguments.length; i++)
589
- ar = ar.concat(__read(arguments[i]));
590
- return ar;
591
- }
592
- /** @deprecated */
593
- function __spreadArrays() {
594
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
595
- s += arguments[i].length;
596
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
597
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
598
- r[k] = a[j];
599
- return r;
600
- }
601
- function __spreadArray(to, from, pack) {
602
- if (pack || arguments.length === 2)
603
- for (var i = 0, l = from.length, ar; i < l; i++) {
604
- if (ar || !(i in from)) {
605
- if (!ar)
606
- ar = Array.prototype.slice.call(from, 0, i);
607
- ar[i] = from[i];
608
- }
609
- }
610
- return to.concat(ar || Array.prototype.slice.call(from));
611
- }
612
- function __await(v) {
613
- return this instanceof __await ? (this.v = v, this) : new __await(v);
614
- }
615
- function __asyncGenerator(thisArg, _arguments, generator) {
616
- if (!Symbol.asyncIterator)
617
- throw new TypeError("Symbol.asyncIterator is not defined.");
618
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
619
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
620
- function verb(n) { if (g[n])
621
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
622
- function resume(n, v) { try {
623
- step(g[n](v));
624
- }
625
- catch (e) {
626
- settle(q[0][3], e);
627
- } }
628
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
629
- function fulfill(value) { resume("next", value); }
630
- function reject(value) { resume("throw", value); }
631
- function settle(f, v) { if (f(v), q.shift(), q.length)
632
- resume(q[0][0], q[0][1]); }
633
- }
634
- function __asyncDelegator(o) {
635
- var i, p;
636
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
637
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
638
- }
639
- function __asyncValues(o) {
640
- if (!Symbol.asyncIterator)
641
- throw new TypeError("Symbol.asyncIterator is not defined.");
642
- var m = o[Symbol.asyncIterator], i;
643
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
644
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
645
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
646
- }
647
- function __makeTemplateObject(cooked, raw) {
648
- if (Object.defineProperty) {
649
- Object.defineProperty(cooked, "raw", { value: raw });
650
- }
651
- else {
652
- cooked.raw = raw;
653
- }
654
- return cooked;
655
- }
656
- ;
657
- var __setModuleDefault = Object.create ? (function (o, v) {
658
- Object.defineProperty(o, "default", { enumerable: true, value: v });
659
- }) : function (o, v) {
660
- o["default"] = v;
661
- };
662
- function __importStar(mod) {
663
- if (mod && mod.__esModule)
664
- return mod;
665
- var result = {};
666
- if (mod != null)
667
- for (var k in mod)
668
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
669
- __createBinding(result, mod, k);
670
- __setModuleDefault(result, mod);
671
- return result;
672
- }
673
- function __importDefault(mod) {
674
- return (mod && mod.__esModule) ? mod : { default: mod };
675
- }
676
- function __classPrivateFieldGet(receiver, state, kind, f) {
677
- if (kind === "a" && !f)
678
- throw new TypeError("Private accessor was defined without a getter");
679
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
680
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
681
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
682
- }
683
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
684
- if (kind === "m")
685
- throw new TypeError("Private method is not writable");
686
- if (kind === "a" && !f)
687
- throw new TypeError("Private accessor was defined without a setter");
688
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
689
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
690
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
691
- }
692
-
693
- var THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR = new i0.InjectionToken('ITheSeamDashboardWidgetsPreferencesAccessor');
694
-
695
- // TODO: This needs a unit test to make sure it will not cause a race condition
696
- // if update is called faster than the previous can respond.
697
- //
698
- // The ideal approach I am thinking, without steping through the process too
699
- // thoroughly is to hold the new data emit until all pending updates are done.
700
- // Any pending updates other than the most recently requested will be ignored
701
- // and just wait on the most recent, and if already running it should be
702
- // canceled if possible. Also, incase something happens that causes the new data
703
- // emissions to get held up too long, there could be a threshold time that the
704
- // new data can be held up.
705
- /**
706
- * Manages anything dealing with retrieving and updating dashboard widget
707
- * preference data from the provided accessor.
708
- */
709
- var DashboardWidgetsPreferencesService = /** @class */ (function () {
710
- // private _pending = false
711
- // public get pending() { return this._pending }
712
- function DashboardWidgetsPreferencesService(_prefsAccessor) {
713
- this._prefsAccessor = _prefsAccessor;
714
- this._tablePrefsMap = new Map();
715
- }
716
- DashboardWidgetsPreferencesService.prototype.preferences = function (preferenceKey) {
717
- var prefs = this._tablePrefsMap.get(preferenceKey);
718
- if (!prefs) {
719
- var refreshSubject = new rxjs.Subject();
720
- prefs = {
721
- observable: this._createObservable(refreshSubject, preferenceKey),
722
- refresh: refreshSubject
723
- };
724
- this._tablePrefsMap.set(preferenceKey, prefs);
725
- }
726
- return prefs.observable;
727
- };
728
- DashboardWidgetsPreferencesService.prototype._createObservable = function (refreshSubject, prefKey) {
729
- var _this = this;
730
- if (!this._prefsAccessor) {
731
- return rxjs.of({});
732
- }
733
- var accessor = function (key) { return _this._prefsAccessor ? _this._prefsAccessor.get(key) : rxjs.of('{}'); };
734
- return refreshSubject.pipe(operators.startWith({}),
735
- // tap(() => console.log('Start requesting: ', prefKey)),
736
- operators.switchMap(function () { return accessor(prefKey).pipe(operators.map(function (v) {
737
- if (!v) {
738
- return null;
739
- }
740
- // TODO: Add a schema validator and migration tool to avoid parsing issues.
741
- try {
742
- return JSON.parse(v);
743
- }
744
- catch (error) {
745
- if (i0.isDevMode()) {
746
- console.error(error);
747
- }
748
- return null;
749
- }
750
- }), operators.map(function (v) { return !!v ? v : {}; })); }), operators.shareReplay({ bufferSize: 1, refCount: true }));
751
- };
752
- DashboardWidgetsPreferencesService.prototype.refresh = function (preferenceKey) {
753
- var prefs = this._tablePrefsMap.get(preferenceKey);
754
- if (prefs) {
755
- // this._pending = true
756
- // prefs.refresh.next()
757
- return prefs.observable.pipe(
758
- // tap(() => prefs.refresh.next()),
759
- operators.tap(function () { return setTimeout(function () { prefs.refresh.next(); }, 0); }), operators.mapTo(undefined), operators.take(1));
760
- }
761
- return rxjs.of(undefined);
762
- };
763
- DashboardWidgetsPreferencesService.prototype.selectLayout = function (preferenceKey, layoutName) {
764
- return this.preferences(preferenceKey).pipe(operators.map(function (prefs) { return (prefs.layouts || []).find(function (l) { return l.name === layoutName; }); }));
765
- };
766
- // TODO: Improve this updating to not be more generic, so we can quickly add
767
- // edits for different preference schema's.
768
- //
769
- // TODO: Decide if a send queue/merging of pending queue is needed to avoid
770
- // out of order updates. This shouldn't be an issue, with how fast preferences
771
- // will most likely be changing, but it could happen in situations, such as
772
- // network issues.
773
- DashboardWidgetsPreferencesService.prototype.updateLayout = function (preferenceKey, layout) {
774
- var _this = this;
775
- if (!this._prefsAccessor) {
776
- return rxjs.of(undefined);
777
- }
778
- if (!utils.hasProperty(layout, 'name')) {
779
- throw Error("Unable to save layout preference. 'name' is required for a layout preference.");
780
- }
781
- var _layout = this.toSerializeableLayout(layout);
782
- // this._pending = true
783
- return this.preferences(preferenceKey).pipe(operators.map(function (prefs) {
784
- // Making the preferences immutable may not be necessary, but for now
785
- // this obj->str->obj will work as a naive clone.
786
- var layouts = JSON.parse(JSON.stringify(prefs.layouts || []));
787
- var _layoutPref = layouts.find(function (c) { return c.name === _layout.name; });
788
- // console.log('has', _layoutPref)
789
- if (_layoutPref) {
790
- if (utils.hasProperty(_layout, 'name')) {
791
- _layoutPref.name = _layout.name;
792
- }
793
- if (utils.hasProperty(_layout, 'label')) {
794
- _layoutPref.label = _layout.label;
795
- }
796
- if (utils.hasProperty(_layout, 'items')) {
797
- _layoutPref.items = _layout.items;
798
- }
799
- }
800
- else {
801
- layouts.push(Object.assign({}, _layout));
802
- }
803
- var newPrefs = Object.assign(Object.assign({}, prefs), { layouts: layouts });
804
- return newPrefs;
805
- }),
806
- // tap(v => console.log('newPrefs', v)),
807
- operators.take(1), operators.switchMap(function (newPrefs) { return _this._prefsAccessor
808
- ? _this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
809
- : rxjs.of(newPrefs); }), operators.switchMap(function () { return _this.refresh(preferenceKey).pipe(operators.mapTo(undefined)); }));
810
- // .subscribe()
811
- };
812
- DashboardWidgetsPreferencesService.prototype.toSerializeableLayout = function (layout) {
813
- var serialized = {
814
- name: layout.name,
815
- label: layout.label,
816
- items: this.toSerializeableItems(layout.items) || []
817
- };
818
- return serialized;
819
- };
820
- // public toDeserializedLayout(layout: IDashboardWidgetItemLayoutSerialized): IDashboardWidgetItemLayoutDef {
821
- // // For now there is nothing to do. Eventually this should have at least
822
- // // validation on the deserialized object.
823
- // return layout
824
- // }
825
- /**
826
- * Returns the serializable widget items as objects that can be serialized to
827
- * a JSON string for storage.
828
- */
829
- DashboardWidgetsPreferencesService.prototype.toSerializeableItems = function (widgets) {
830
- var e_1, _a;
831
- var serialized = [];
832
- try {
833
- for (var widgets_1 = __values(widgets), widgets_1_1 = widgets_1.next(); !widgets_1_1.done; widgets_1_1 = widgets_1.next()) {
834
- var w = widgets_1_1.value;
835
- // if (!w.__itemDef.component || typeof w.__itemDef.component !== 'string') {
836
- // console.warn(`[DashboardWidgetsService] Widget item def must have a string 'component' property to be serialized.`, w)
837
- // continue
838
- // }
839
- // serialized.push({
840
- // widgetId: w.widgetId,
841
- // col: w.col,
842
- // order: w.order,
843
- // component: w.__itemDef.component
844
- // })
845
- // TODO: Remove this, it is only here for initial dev debugging.
846
- serialized.push({
847
- widgetId: w.widgetId,
848
- col: w.col,
849
- order: w.order,
850
- // component: w.__itemDef.component as string
851
- });
852
- }
853
- }
854
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
855
- finally {
856
- try {
857
- if (widgets_1_1 && !widgets_1_1.done && (_a = widgets_1.return)) _a.call(widgets_1);
858
- }
859
- finally { if (e_1) throw e_1.error; }
860
- }
861
- return serialized;
862
- };
863
- return DashboardWidgetsPreferencesService;
864
- }());
865
- DashboardWidgetsPreferencesService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DashboardWidgetsPreferencesService_Factory() { return new DashboardWidgetsPreferencesService(i0__namespace.ɵɵinject(THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR, 8)); }, token: DashboardWidgetsPreferencesService, providedIn: "root" });
866
- DashboardWidgetsPreferencesService.decorators = [
867
- { type: i0.Injectable, args: [{
868
- providedIn: 'root'
869
- },] }
870
- ];
871
- DashboardWidgetsPreferencesService.ctorParameters = function () { return [
872
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR,] }] }
873
- ]; };
874
-
875
- var DashboardWidgetsService = /** @class */ (function () {
876
- function DashboardWidgetsService(_dynamicComponentLoaderModule, _preferences) {
877
- var _this = this;
878
- this._dynamicComponentLoaderModule = _dynamicComponentLoaderModule;
879
- this._preferences = _preferences;
880
- this.preferenceKey = 'datatable-widgets';
881
- this.defaultNumColumns = 3;
882
- /** Used for operations, such as 'addWidget', if the column is not specified. */
883
- this.defaultColumn = 0;
884
- this._widgets = new rxjs.BehaviorSubject([]);
885
- this._numColumns = new rxjs.BehaviorSubject(this.defaultNumColumns);
886
- this._viewContainerRefSubject = new rxjs.BehaviorSubject(undefined);
887
- this.numColumns$ = this._numColumns.asObservable();
888
- // Widget items without preferences
889
- var _widgetItems$ = rxjs.combineLatest([this._widgets, this._viewContainerRefSubject])
890
- .pipe(operators.switchMap(function (_a) {
891
- var _b = __read(_a, 2), defs = _b[0], vcr = _b[1];
892
- return _this.createWidgetItems(defs, vcr);
893
- }));
894
- // Widget items with preferences
895
- this.widgetItems$ = rxjs.combineLatest([_widgetItems$, this.numColumns$])
896
- .pipe(
897
- // Wait until the current tick is done, incase both the widgets and
898
- // number of columns are set durring the same tick. Without the audit,
899
- // this would get called twice when the component is initialized with
900
- // both inputs set one after the other individually.
901
- operators.auditTime(0), operators.switchMap(function (_a) {
902
- var _b = __read(_a, 2), items = _b[0], numColumns = _b[1];
903
- return _this._preferences.selectLayout(_this.preferenceKey, _this._layoutName(numColumns)).pipe(operators.map(function (layout) { return layout ? _this.withLayoutPreferences(items, layout) : items; }));
904
- }), operators.shareReplay({ bufferSize: 1, refCount: true }));
905
- this.widgetColumns$ = this.widgetItems$
906
- .pipe(operators.map(function (items) { return _this.toColumnRecords(items); }), operators.shareReplay({ bufferSize: 1, refCount: true }));
907
- }
908
- Object.defineProperty(DashboardWidgetsService.prototype, "widgets", {
909
- get: function () { return this._widgets.value; },
910
- set: function (value) { this._widgets.next(value); },
911
- enumerable: false,
912
- configurable: true
913
- });
914
- Object.defineProperty(DashboardWidgetsService.prototype, "numColumns", {
915
- get: function () { return this._numColumns.value; },
916
- set: function (value) {
917
- if (value !== this._numColumns.value) {
918
- this._numColumns.next(value);
919
- }
920
- },
921
- enumerable: false,
922
- configurable: true
923
- });
924
- DashboardWidgetsService.prototype._layoutName = function (numColumns) {
925
- return "columns-" + numColumns;
926
- };
927
- DashboardWidgetsService.prototype.setViewContainerRef = function (vcr) {
928
- this._viewContainerRefSubject.next(vcr);
929
- };
930
- DashboardWidgetsService.prototype.createWidgetItems = function (defs, vcr) {
931
- var _this = this;
932
- var _createObservables = (defs || []).map(function (d) { return _this.createWidgetItem(d, vcr); });
933
- var items$ = _createObservables.length > 0 ? rxjs.combineLatest(_createObservables) : rxjs.of([]);
934
- return items$.pipe(operators.map(function (items) { return items.filter(utils.notNullOrUndefined); }), operators.tap(function (items) {
935
- if (i0.isDevMode()) {
936
- var ids = items.map(function (v) { return v.widgetId; });
937
- if ((new Set(ids)).size !== ids.length) {
938
- console.warn("[DashboardWidgetsService] Duplicate widget's with the same 'widgetId' found.");
939
- }
940
- }
941
- }));
942
- };
943
- DashboardWidgetsService.prototype.createWidgetItem = function (def, vcr) {
944
- var _this = this;
945
- if (!def.widgetId || typeof def.widgetId !== 'string' || def.widgetId.length < 1) {
946
- if (i0.isDevMode()) {
947
- console.warn("[DashboardWidgetsService] Widget ignored. All widgets must have a 'widgetId'.", def);
948
- }
949
- return rxjs.of(undefined);
950
- }
951
- return this.createWidgetPortal(def, vcr).pipe(operators.map(function (portal) { return (Object.assign(Object.assign({}, def), { col: def.col || _this.defaultColumn, order: def.order || 0, portal: portal, __itemDef: def })); }));
952
- };
953
- DashboardWidgetsService.prototype.createWidgetPortal = function (def, vcr) {
954
- if (typeof def.component === 'string') {
955
- return this._dynamicComponentLoaderModule
956
- .getComponentFactory(def.component)
957
- .pipe(operators.map(function (componentFactory) {
958
- return new portal.ComponentPortal(componentFactory.componentType, vcr, undefined, componentFactory.ngModule.componentFactoryResolver);
959
- }), operators.take(1));
960
- }
961
- return def.componentFactoryResolver
962
- ? rxjs.of(new portal.ComponentPortal(def.component, vcr, undefined, def.componentFactoryResolver))
963
- : rxjs.of(new portal.ComponentPortal(def.component, vcr));
964
- };
965
- DashboardWidgetsService.prototype.updateOrder = function () {
966
- return this.widgetColumns$
967
- .pipe(operators.take(1), operators.tap(function (columns) { return columns.forEach(function (col) {
968
- var i = 0;
969
- col.items.forEach(function (itm) { return itm.order = i++; });
970
- }); }), operators.mapTo(undefined));
971
- };
972
- DashboardWidgetsService.prototype.toColumnRecords = function (items) {
973
- var e_1, _a;
974
- var _this = this;
975
- var columns = [];
976
- for (var i = 0; i < this.numColumns; i++) {
977
- columns.push({ column: i, items: [] });
978
- }
979
- var colNotFound = [];
980
- var _loop_1 = function (item) {
981
- var col = columns.find(function (c) { return c.column === item.col; });
982
- if (!col) {
983
- // columns.push({ column: item.col, items: [ item ] })
984
- // if (item.col < 0) {
985
- // const col0: IDashboardWidgetsColumnRecord | undefined = columns.find(c => c.column === 0)
986
- // if (col0) {
987
- // col0.items.push(item)
988
- // }
989
- // } else if (item.col > this.numColumns - 1) {
990
- // const colMax: IDashboardWidgetsColumnRecord | undefined = columns.find(c => c.column === this.numColumns - 1)
991
- // if (colMax) {
992
- // colMax.items.push(item)
993
- // }
994
- // }
995
- colNotFound.push(item);
996
- }
997
- else {
998
- col.items.push(item);
999
- }
1000
- };
1001
- try {
1002
- // Distribute items into columns
1003
- for (var items_1 = __values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
1004
- var item = items_1_1.value;
1005
- _loop_1(item);
1006
- }
1007
- }
1008
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1009
- finally {
1010
- try {
1011
- if (items_1_1 && !items_1_1.done && (_a = items_1.return)) _a.call(items_1);
1012
- }
1013
- finally { if (e_1) throw e_1.error; }
1014
- }
1015
- var _loop_2 = function (i) {
1016
- var item = colNotFound[i];
1017
- var col = columns
1018
- .find(function (c) { return c.column === i % _this.numColumns; });
1019
- if (col) {
1020
- col.items.push(item);
1021
- }
1022
- };
1023
- for (var i = 0; i < colNotFound.length; i++) {
1024
- _loop_2(i);
1025
- }
1026
- // Sort columns
1027
- columns = columns.sort(function (a, b) { return a.column - b.column; });
1028
- // Sort columns items
1029
- columns.forEach(function (col) { return col.items.sort(function (a, b) { return a.order - b.order; }); });
1030
- return columns;
1031
- };
1032
- DashboardWidgetsService.prototype.withLayoutPreferences = function (items, layout) {
1033
- var e_2, _a;
1034
- var _items = [];
1035
- var _loop_3 = function (item) {
1036
- var itemPref = layout.items.find(function (x) { return x.widgetId === item.widgetId; });
1037
- _items.push(Object.assign(Object.assign({}, item), (itemPref || {})));
1038
- };
1039
- try {
1040
- for (var items_2 = __values(items), items_2_1 = items_2.next(); !items_2_1.done; items_2_1 = items_2.next()) {
1041
- var item = items_2_1.value;
1042
- _loop_3(item);
1043
- }
1044
- }
1045
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
1046
- finally {
1047
- try {
1048
- if (items_2_1 && !items_2_1.done && (_a = items_2.return)) _a.call(items_2);
1049
- }
1050
- finally { if (e_2) throw e_2.error; }
1051
- }
1052
- return _items;
1053
- };
1054
- DashboardWidgetsService.prototype.savePreferences = function () {
1055
- var _this = this;
1056
- // Right now the items are moved between the column record arrays, but the
1057
- // 'col' prop is not updated, so it is mapped to corrected items here from
1058
- // the column records.
1059
- var items$ = this.widgetColumns$.pipe(operators.map(function (columns) { return []
1060
- .concat.apply([], __spreadArray([], __read((columns.map(function (c) { return c.items.map(function (itm) { return (Object.assign(Object.assign({}, itm), { col: c.column })); }); }))))); }));
1061
- return rxjs.combineLatest([items$, this.numColumns$]).pipe(operators.auditTime(0), operators.take(1), operators.switchMap(function (_a) {
1062
- var _b = __read(_a, 2), items = _b[0], numColumns = _b[1];
1063
- return _this._preferences.updateLayout(_this.preferenceKey, {
1064
- name: _this._layoutName(numColumns),
1065
- items: items
1066
- });
1067
- }), operators.mapTo(undefined));
1068
- };
1069
- return DashboardWidgetsService;
1070
- }());
1071
- DashboardWidgetsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DashboardWidgetsService_Factory() { return new DashboardWidgetsService(i0__namespace.ɵɵinject(i1__namespace.TheSeamDynamicComponentLoader), i0__namespace.ɵɵinject(DashboardWidgetsPreferencesService)); }, token: DashboardWidgetsService, providedIn: "root" });
1072
- DashboardWidgetsService.decorators = [
1073
- { type: i0.Injectable, args: [{
1074
- providedIn: 'root'
1075
- },] }
1076
- ];
1077
- DashboardWidgetsService.ctorParameters = function () { return [
1078
- { type: i1.TheSeamDynamicComponentLoader },
1079
- { type: DashboardWidgetsPreferencesService }
1080
- ]; };
1081
-
1082
- var DashboardWidgetsComponent = /** @class */ (function () {
1083
- function DashboardWidgetsComponent(_dashboardWidgets, _viewContainerRef, _cdr, _baseLayoutRef) {
1084
- var _this = this;
1085
- this._dashboardWidgets = _dashboardWidgets;
1086
- this._viewContainerRef = _viewContainerRef;
1087
- this._cdr = _cdr;
1088
- this._baseLayoutRef = _baseLayoutRef;
1089
- this.faLock = freeSolidSvgIcons.faLock;
1090
- this.faUnlock = freeSolidSvgIcons.faUnlock;
1091
- this._actionWidgetDragToggleName = 'widget-drag-toggle';
1092
- this._ngUnsubscribe = new rxjs.Subject();
1093
- this._gapSize = new rxjs.BehaviorSubject(30);
1094
- this.widgetsDraggable = false;
1095
- this._dragToggleVisible = new rxjs.BehaviorSubject(true);
1096
- this._containers = new rxjs.BehaviorSubject([]);
1097
- this._layoutChange = new rxjs.Subject();
1098
- this.widgetsChange = new i0.EventEmitter();
1099
- this._widthChange = new rxjs.Subject();
1100
- this.containers$ = this._containers.asObservable();
1101
- this._gapStyleSize$ = this._gapSize.pipe(operators.auditTime(0), operators.map(function (size) { return size / 2; }), operators.shareReplay({ bufferSize: 1, refCount: true }));
1102
- this._widthChange.pipe(operators.debounceTime(30), operators.tap(function (width) {
1103
- if (width > 1300) {
1104
- _this.numColumns = 3;
1105
- }
1106
- else if (width > 800) {
1107
- _this.numColumns = 2;
1108
- }
1109
- else {
1110
- _this.numColumns = 1;
1111
- }
1112
- }), operators.takeUntil(this._ngUnsubscribe)).subscribe();
1113
- this.widgetItems$ = this._dashboardWidgets.widgetItems$;
1114
- this.widgetColumns$ = this._dashboardWidgets.widgetColumns$;
1115
- }
1116
- Object.defineProperty(DashboardWidgetsComponent.prototype, "gapSize", {
1117
- get: function () { return this._gapSize.value; },
1118
- set: function (val) {
1119
- this._gapSize.next(coercion.coerceNumberProperty(val));
1120
- },
1121
- enumerable: false,
1122
- configurable: true
1123
- });
1124
- Object.defineProperty(DashboardWidgetsComponent.prototype, "dragToggleVisible", {
1125
- get: function () { return this._dragToggleVisible.value; },
1126
- set: function (val) {
1127
- this._dragToggleVisible.next(coercion.coerceBooleanProperty(val));
1128
- },
1129
- enumerable: false,
1130
- configurable: true
1131
- });
1132
- Object.defineProperty(DashboardWidgetsComponent.prototype, "numColumns", {
1133
- get: function () { return this._dashboardWidgets.numColumns; },
1134
- set: function (val) {
1135
- this._dashboardWidgets.numColumns = coercion.coerceNumberProperty(val);
1136
- },
1137
- enumerable: false,
1138
- configurable: true
1139
- });
1140
- Object.defineProperty(DashboardWidgetsComponent.prototype, "widgets", {
1141
- get: function () { return this._dashboardWidgets.widgets; },
1142
- set: function (value) { this._dashboardWidgets.widgets = value || []; },
1143
- enumerable: false,
1144
- configurable: true
1145
- });
1146
- DashboardWidgetsComponent.prototype.ngOnInit = function () {
1147
- var _this = this;
1148
- // this._dashboardWidgets.setViewContainerRef(this._viewContainerRef)
1149
- this._layoutChange.pipe(operators.switchMap(function () { return _this.widgetItems$.pipe(operators.take(1), operators.tap(function (widgetItems) { return _this.widgetsChange.emit(widgetItems); }),
1150
- // map(widgetItems => this._dashboardWidgets.toSerializeableItems(widgetItems)),
1151
- // tap(v => console.log('serializable', v)),
1152
- operators.switchMap(function () { return _this._dashboardWidgets.savePreferences(); })); }), operators.takeUntil(this._ngUnsubscribe)).subscribe();
1153
- };
1154
- DashboardWidgetsComponent.prototype.ngOnDestroy = function () {
1155
- this._unregisterToggleAction();
1156
- this._ngUnsubscribe.next();
1157
- this._ngUnsubscribe.complete();
1158
- };
1159
- DashboardWidgetsComponent.prototype.ngAfterViewInit = function () {
1160
- var _this = this;
1161
- var _a;
1162
- if (this._baseLayoutRef) {
1163
- this._dragToggleVisible.pipe(operators.distinctUntilChanged(), operators.tap(function (visible) {
1164
- var isRegistered = _this._isActionToggleActionRegistered();
1165
- if (visible && !isRegistered) {
1166
- _this._registerToggleAction();
1167
- }
1168
- else if (!visible && isRegistered) {
1169
- _this._unregisterToggleAction();
1170
- }
1171
- }), operators.takeUntil(this._ngUnsubscribe)).subscribe();
1172
- }
1173
- (_a = this.containers) === null || _a === void 0 ? void 0 : _a.changes.pipe(operators.startWith(undefined), operators.map(function () { var _a; return ((_a = _this.containers) === null || _a === void 0 ? void 0 : _a.toArray()) || []; }), operators.takeUntil(this._ngUnsubscribe), operators.finalize(function () { return _this._containers.next([]); })).subscribe(function (v) { return _this._containers.next(v); });
1174
- };
1175
- DashboardWidgetsComponent.prototype._registerToggleAction = function () {
1176
- if (this._baseLayoutRef) {
1177
- // This should probably use a component dynamically created from the
1178
- // config and return a ref to it, instead of using a template.
1179
- if (this._toggleBtnTpl) {
1180
- this._baseLayoutRef.registerAction({
1181
- // type: 'button',
1182
- type: 'template',
1183
- name: this._actionWidgetDragToggleName,
1184
- label: 'Toggle Widget Dragging',
1185
- // exec: () => {
1186
- // console.log('toggle')
1187
- // },
1188
- template: this._toggleBtnTpl
1189
- });
1190
- }
1191
- }
1192
- };
1193
- DashboardWidgetsComponent.prototype._unregisterToggleAction = function () {
1194
- if (this._baseLayoutRef) {
1195
- this._baseLayoutRef.unregisterAction(this._actionWidgetDragToggleName);
1196
- }
1197
- };
1198
- DashboardWidgetsComponent.prototype._isActionToggleActionRegistered = function () {
1199
- if (!this._baseLayoutRef) {
1200
- return false;
1201
- }
1202
- return this._baseLayoutRef.isActionRegistered(this._actionWidgetDragToggleName);
1203
- };
1204
- DashboardWidgetsComponent.prototype.drop = function (event) {
1205
- var _this = this;
1206
- if (event.previousContainer === event.container) {
1207
- dragDrop.moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
1208
- this._dashboardWidgets.updateOrder().subscribe(function () { return _this._layoutChange.next(); });
1209
- }
1210
- else {
1211
- dragDrop.transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);
1212
- this._dashboardWidgets.updateOrder().subscribe(function () { return _this._layoutChange.next(); });
1213
- }
1214
- };
1215
- DashboardWidgetsComponent.prototype._containerTrackByFn = function (index, item) {
1216
- return item.widgetId;
1217
- };
1218
- DashboardWidgetsComponent.prototype._columnsTrackByFn = function (index, record) {
1219
- return record.column;
1220
- };
1221
- DashboardWidgetsComponent.prototype.toggleDragging = function () {
1222
- this.widgetsDraggable = !this.widgetsDraggable;
1223
- this._cdr.detectChanges();
1224
- };
1225
- DashboardWidgetsComponent.prototype._resized = function (event) {
1226
- this._widthChange.next(event.size.width);
1227
- };
1228
- return DashboardWidgetsComponent;
1229
- }());
1230
- DashboardWidgetsComponent.decorators = [
1231
- { type: i0.Component, args: [{
1232
- selector: 'seam-dashboard-widgets',
1233
- template: "<!--\n This is an ugly trick I am using to render the component into an <ng-content>\n wrapped in an <ng-template> to move the component to different outlets without\n reinitializing it. This way the widget won't reload when moving between\n columns. When I remember how I programatically did this I will remove this\n weirdness.\n -->\n <seam-dashboard-widget-container *ngFor=\"let item of widgetItems$ | async; trackBy: _containerTrackByFn\" [def]=\"$any(item)\">\n <!-- <ng-template [cdkPortalOutlet]=\"item.portal\"></ng-template> -->\n <ng-template [seamDashboardWidgetPortalOutlet]=\"item.portal\"></ng-template>\n</seam-dashboard-widget-container>\n\n<div class=\"dashboard-widgets-base d-flex flex-row justify-content-around\"\n style=\"flex: 1410px;\"\n [style.padding.px]=\"_gapStyleSize$ | async\"\n (seamElemResized)=\"_resized($event)\"\n cdkDropListGroup>\n <div *ngFor=\"let col of widgetColumns$ | async; trackBy: _columnsTrackByFn\"\n class=\"d-flex flex-column flex-grow-1 dashboard-widgets-list\"\n cdkDropList\n [cdkDropListData]=\"col.items\"\n (cdkDropListDropped)=\"drop($any($event))\">\n <div *ngFor=\"let item of col.items; trackBy: _containerTrackByFn\"\n class=\"dashboard-widgets-list-item\"\n [attr.data-widget-id]=\"item.widgetId\"\n cdkDrag\n [cdkDragDisabled]=\"!widgetsDraggable\">\n <div [style.margin.px]=\"_gapStyleSize$ | async\">\n <seam-dashboard-widget-template-container [item]=\"item\"></seam-dashboard-widget-template-container>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #toggleBtnTpl>\n <button seamButton theme=\"baselayout-action\" title=\"{{ widgetsDraggable ? 'Lock the Dashboard' : 'Modify Dashboard' }}\" (click)=\"toggleDragging()\">\n <seam-icon [icon]=\"widgetsDraggable ? faUnlock : faLock\"></seam-icon>\n </button>\n</ng-template>\n",
1234
- providers: [
1235
- {
1236
- provide: widget.THESEAM_WIDGET_ACCESSOR,
1237
- // tslint:disable-next-line:no-use-before-declare
1238
- useExisting: i0.forwardRef(function () { return DashboardWidgetsComponent; })
1239
- }
1240
- ],
1241
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1242
- encapsulation: i0.ViewEncapsulation.None,
1243
- styles: ["seam-dashboard-widgets{display:flex;justify-content:center}seam-dashboard-widgets .dashboard-widgets-base{max-width:1410px}seam-dashboard-widgets .dashboard-widgets-list{flex-basis:400px;max-width:500px}seam-dashboard-widgets .dashboard-widgets-list.cdk-drop-list-dragging .dashboard-widgets-list-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.dashboard-widgets-list-item.cdk-drag-preview{box-sizing:border-box}.dashboard-widgets-list-item.cdk-drag-preview>div{border-radius:.25rem;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.dashboard-widgets-list-item.cdk-drag-disabled .cdk-drag-handle{cursor:default}.dashboard-widgets-list-item .cdk-drag-handle{cursor:move}.dashboard-widgets-list-item.cdk-drag-placeholder{opacity:0}.dashboard-widgets-list-item.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}\n"]
1244
- },] }
1245
- ];
1246
- DashboardWidgetsComponent.ctorParameters = function () { return [
1247
- { type: DashboardWidgetsService },
1248
- { type: i0.ViewContainerRef },
1249
- { type: i0.ChangeDetectorRef },
1250
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
1251
- ]; };
1252
- DashboardWidgetsComponent.propDecorators = {
1253
- gapSize: [{ type: i0.Input }],
1254
- widgetsDraggable: [{ type: i0.Input }],
1255
- dragToggleVisible: [{ type: i0.Input }],
1256
- numColumns: [{ type: i0.Input }],
1257
- widgets: [{ type: i0.Input }],
1258
- containers: [{ type: i0.ViewChildren, args: [DashboardWidgetContainerComponent,] }],
1259
- cdkDragDirectives: [{ type: i0.ViewChildren, args: [dragDrop.CdkDrag,] }],
1260
- _toggleBtnTpl: [{ type: i0.ViewChild, args: ['toggleBtnTpl', { static: true },] }],
1261
- widgetsChange: [{ type: i0.Output }]
1262
- };
1263
- __decorate([
1264
- core.InputBoolean()
1265
- ], DashboardWidgetsComponent.prototype, "widgetsDraggable", void 0);
1266
-
1267
- var DashboardWidgetTemplateContainerComponent = /** @class */ (function () {
1268
- function DashboardWidgetTemplateContainerComponent(_dashboardWidgetsComponent) {
1269
- var _this = this;
1270
- this._dashboardWidgetsComponent = _dashboardWidgetsComponent;
1271
- this.template$ = this._dashboardWidgetsComponent.containers$.pipe(operators.map(function (containers) { return containers.find(function (c) { var _a; return c.def.widgetId === ((_a = _this.item) === null || _a === void 0 ? void 0 : _a.widgetId); }); }), operators.map(function (container) { return container && container.templateRef; }));
1272
- }
1273
- DashboardWidgetTemplateContainerComponent.prototype.ngOnInit = function () { };
1274
- return DashboardWidgetTemplateContainerComponent;
1275
- }());
1276
- DashboardWidgetTemplateContainerComponent.decorators = [
1277
- { type: i0.Component, args: [{
1278
- selector: 'seam-dashboard-widget-template-container',
1279
- template: "<ng-template [ngTemplateOutlet]=\"$any(template$ | async)\"></ng-template>\n",
1280
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1281
- styles: [""]
1282
- },] }
1283
- ];
1284
- DashboardWidgetTemplateContainerComponent.ctorParameters = function () { return [
1285
- { type: DashboardWidgetsComponent }
1286
- ]; };
1287
- DashboardWidgetTemplateContainerComponent.propDecorators = {
1288
- item: [{ type: i0.Input }]
1289
- };
1290
-
1291
- /**
1292
- * Mostly copied from
1293
- * `https://github.com/angular/components/blob/master/src/cdk/portal/portal-directives.ts`
1294
- * until I can figure out how to hold off removing the DOM nodes with the
1295
- * cdkPortalOutlet. When we update to Angular 9 I may be able to do this better
1296
- * with the new DomPortal.
1297
- *
1298
- * Directive version of a PortalOutlet. Because the directive *is* a
1299
- * PortalOutlet, portals can be directly attached to it, enabling declarative
1300
- * use.
1301
- *
1302
- * Usage: `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
1303
- */
1304
- var DashboardWidgetPortalOutletDirective = /** @class */ (function (_super) {
1305
- __extends(DashboardWidgetPortalOutletDirective, _super);
1306
- function DashboardWidgetPortalOutletDirective(_componentFactoryResolver, _viewContainerRef, _elementRef) {
1307
- var _this = _super.call(this) || this;
1308
- _this._componentFactoryResolver = _componentFactoryResolver;
1309
- _this._viewContainerRef = _viewContainerRef;
1310
- _this._elementRef = _elementRef;
1311
- /** Whether the portal component is initialized. */
1312
- _this._isInitialized = false;
1313
- /** Emits when a portal is attached to the outlet. */
1314
- _this.attached = new i0.EventEmitter();
1315
- return _this;
1316
- }
1317
- Object.defineProperty(DashboardWidgetPortalOutletDirective.prototype, "portal", {
1318
- /** Portal associated with the Portal outlet. */
1319
- get: function () {
1320
- return this._attachedPortal;
1321
- },
1322
- set: function (portal) {
1323
- // console.log('[DashboardWidgetPortalOutletDirective] set portal', portal, this.hasAttached())
1324
- // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have
1325
- // run. This handles the cases where the user might do something like `<div cdkPortalOutlet>`
1326
- // and attach a portal programmatically in the parent component. When Angular does the first CD
1327
- // round, it will fire the setter with empty string, causing the user's content to be cleared.
1328
- if (this.hasAttached() && !portal && !this._isInitialized) {
1329
- return;
1330
- }
1331
- if (this.hasAttached()) {
1332
- _super.prototype.detach.call(this);
1333
- }
1334
- if (portal) {
1335
- _super.prototype.attach.call(this, portal);
1336
- }
1337
- this._attachedPortal = portal;
1338
- },
1339
- enumerable: false,
1340
- configurable: true
1341
- });
1342
- Object.defineProperty(DashboardWidgetPortalOutletDirective.prototype, "attachedRef", {
1343
- /** Component or view reference that is attached to the portal. */
1344
- get: function () {
1345
- return this._attachedRef;
1346
- },
1347
- enumerable: false,
1348
- configurable: true
1349
- });
1350
- DashboardWidgetPortalOutletDirective.prototype.ngOnInit = function () {
1351
- this._isInitialized = true;
1352
- };
1353
- DashboardWidgetPortalOutletDirective.prototype.ngOnDestroy = function () {
1354
- var _this = this;
1355
- // console.log('[DashboardWidgetPortalOutletDirective] ngOnDestroy')
1356
- // TODO: Figure out the right way to call dispose without messing up
1357
- // animation. This setTimeout way assumes the transition is 500ms, but that
1358
- // may not always be the case and isn't guaranteed to match the animation ms
1359
- // duration, since setTimeout isn't really meant for accurate timing. It
1360
- // also makes debugging animations difficult, because you can pause an
1361
- // animation, but the timeout will still run.
1362
- setTimeout(function () {
1363
- _super.prototype.dispose.call(_this);
1364
- _this._attachedPortal = null;
1365
- _this._attachedRef = null;
1366
- }, 500);
1367
- };
1368
- /**
1369
- * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.
1370
- *
1371
- * @param portal Portal to be attached to the portal outlet.
1372
- * @returns Reference to the created component.
1373
- */
1374
- DashboardWidgetPortalOutletDirective.prototype.attachComponentPortal = function (portal) {
1375
- portal.setAttachedHost(this);
1376
- // If the portal specifies an origin, use that as the logical location of the component
1377
- // in the application tree. Otherwise use the location of this PortalOutlet.
1378
- var viewContainerRef = portal.viewContainerRef != null ?
1379
- portal.viewContainerRef :
1380
- this._viewContainerRef;
1381
- var resolver = portal.componentFactoryResolver || this._componentFactoryResolver;
1382
- var componentFactory = resolver.resolveComponentFactory(portal.component);
1383
- var ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector);
1384
- _super.prototype.setDisposeFn.call(this, function () { return ref.destroy(); });
1385
- this._attachedPortal = portal;
1386
- this._attachedRef = ref;
1387
- this.attached.emit(ref);
1388
- return ref;
1389
- };
1390
- /**
1391
- * Attach the given TemplatePortal to this PortlHost as an embedded View.
1392
- * @param portal Portal to be attached.
1393
- * @returns Reference to the created embedded view.
1394
- */
1395
- DashboardWidgetPortalOutletDirective.prototype.attachTemplatePortal = function (portal) {
1396
- var _this = this;
1397
- portal.setAttachedHost(this);
1398
- var viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context);
1399
- _super.prototype.setDisposeFn.call(this, function () { return _this._viewContainerRef.clear(); });
1400
- this._attachedPortal = portal;
1401
- this._attachedRef = viewRef;
1402
- this.attached.emit(viewRef);
1403
- return viewRef;
1404
- };
1405
- return DashboardWidgetPortalOutletDirective;
1406
- }(portal.BasePortalOutlet));
1407
- DashboardWidgetPortalOutletDirective.decorators = [
1408
- { type: i0.Directive, args: [{
1409
- selector: '[seamDashboardWidgetPortalOutlet]',
1410
- exportAs: 'seamDashboardWidgetPortalOutlet',
1411
- inputs: ['portal: seamDashboardWidgetPortalOutlet']
1412
- },] }
1413
- ];
1414
- DashboardWidgetPortalOutletDirective.ctorParameters = function () { return [
1415
- { type: i0.ComponentFactoryResolver },
1416
- { type: i0.ViewContainerRef },
1417
- { type: i0.ElementRef }
1418
- ]; };
1419
- DashboardWidgetPortalOutletDirective.propDecorators = {
1420
- attached: [{ type: i0.Output }]
1421
- };
1422
-
1423
- var DashboardComponent = /** @class */ (function () {
1424
- function DashboardComponent() {
1425
- this.widgetsDraggable = true;
1426
- }
1427
- return DashboardComponent;
1428
- }());
1429
- DashboardComponent.decorators = [
1430
- { type: i0.Component, args: [{
1431
- selector: 'seam-dashboard',
1432
- template: "<seam-dashboard-widgets [widgets]=\"widgets\" [widgetsDraggable]=\"widgetsDraggable\"></seam-dashboard-widgets>\n",
1433
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1434
- styles: [""]
1435
- },] }
1436
- ];
1437
- DashboardComponent.ctorParameters = function () { return []; };
1438
- DashboardComponent.propDecorators = {
1439
- widgets: [{ type: i0.Input }],
1440
- widgetsDraggable: [{ type: i0.Input }]
1441
- };
1442
- __decorate([
1443
- core.InputBoolean()
1444
- ], DashboardComponent.prototype, "widgetsDraggable", void 0);
1445
-
1446
- var TheSeamDashboardModule = /** @class */ (function () {
1447
- function TheSeamDashboardModule() {
1448
- }
1449
- return TheSeamDashboardModule;
1450
- }());
1451
- TheSeamDashboardModule.decorators = [
1452
- { type: i0.NgModule, args: [{
1453
- declarations: [
1454
- DashboardComponent,
1455
- DashboardWidgetsComponent,
1456
- DashboardWidgetContainerComponent,
1457
- DashboardWidgetTemplateContainerComponent,
1458
- DashboardWidgetPortalOutletDirective
1459
- ],
1460
- imports: [
1461
- common.CommonModule,
1462
- portal.PortalModule,
1463
- dragDrop.DragDropModule,
1464
- buttons.TheSeamButtonsModule,
1465
- icon.TheSeamIconModule,
1466
- shared.TheSeamSharedModule
1467
- ],
1468
- exports: [
1469
- DashboardComponent,
1470
- DashboardWidgetsComponent,
1471
- DashboardWidgetPortalOutletDirective
1472
- ]
1473
- },] }
1474
- ];
1475
-
1476
- function isNavItemType(item, type) {
1477
- return item.itemType === type;
1478
- }
1479
- function isNavItemActive(item) {
1480
- var _a, _b;
1481
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.active) !== null && _b !== void 0 ? _b : false;
1482
- }
1483
- function isExpanded(item) {
1484
- var _a, _b;
1485
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.expanded) !== null && _b !== void 0 ? _b : false;
1486
- }
1487
- function hasChildren(item) {
1488
- return canHaveChildren(item) && utils.hasProperty(item, 'children') && item.children.length > 0;
1489
- }
1490
- function canHaveChildren(item) {
1491
- return isNavItemType(item, 'basic') || isNavItemType(item, 'link');
1492
- }
1493
- function hasActiveChild(item) {
1494
- var e_1, _c;
1495
- if (!hasChildren(item)) {
1496
- return false;
1497
- }
1498
- try {
1499
- for (var _d = __values(item.children), _e = _d.next(); !_e.done; _e = _d.next()) {
1500
- var child = _e.value;
1501
- if (getItemStateProp(child, 'active')) {
1502
- return true;
1503
- }
1504
- }
1505
- }
1506
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1507
- finally {
1508
- try {
1509
- if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
1510
- }
1511
- finally { if (e_1) throw e_1.error; }
1512
- }
1513
- return false;
1514
- }
1515
- function hasExpandedChild(item) {
1516
- var e_2, _c;
1517
- if (!hasChildren(item)) {
1518
- return false;
1519
- }
1520
- try {
1521
- for (var _d = __values(item.children), _e = _d.next(); !_e.done; _e = _d.next()) {
1522
- var child = _e.value;
1523
- if (getItemStateProp(child, 'expanded')) {
1524
- return true;
1525
- }
1526
- }
1527
- }
1528
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
1529
- finally {
1530
- try {
1531
- if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
1532
- }
1533
- finally { if (e_2) throw e_2.error; }
1534
- }
1535
- return false;
1536
- }
1537
- function canBeActive(item) {
1538
- return isNavItemType(item, 'basic') || isNavItemType(item, 'link');
1539
- }
1540
- function canExpand(item) {
1541
- return canHaveChildren(item);
1542
- }
1543
- function findLinkItems(items) {
1544
- var linkItems = [];
1545
- var _fn = function (_items) {
1546
- var e_3, _c;
1547
- try {
1548
- for (var _items_1 = __values(_items), _items_1_1 = _items_1.next(); !_items_1_1.done; _items_1_1 = _items_1.next()) {
1549
- var item = _items_1_1.value;
1550
- if (isNavItemType(item, 'link')) {
1551
- linkItems.push(item);
1552
- }
1553
- if (canHaveChildren(item) && utils.hasProperty(item, 'children')) {
1554
- _fn(item.children);
1555
- }
1556
- }
1557
- }
1558
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
1559
- finally {
1560
- try {
1561
- if (_items_1_1 && !_items_1_1.done && (_c = _items_1.return)) _c.call(_items_1);
1562
- }
1563
- finally { if (e_3) throw e_3.error; }
1564
- }
1565
- };
1566
- _fn(items);
1567
- return linkItems;
1568
- }
1569
- function setItemStateProp(item, prop, value) {
1570
- if (utils.hasProperty(item, '__state')) {
1571
- item.__state[prop] = value;
1572
- }
1573
- }
1574
- function getItemStateProp(item, prop) {
1575
- return setDefaultState(item).__state[prop];
1576
- }
1577
- function setDefaultState(item) {
1578
- if (utils.hasProperty(item, '__state')) {
1579
- return item;
1580
- }
1581
- item.__state = {
1582
- active: false,
1583
- expanded: false
1584
- };
1585
- // TODO: See if there is a nice way to fix the typing for this.
1586
- return item;
1587
- }
1588
-
1589
- var TheSeamSideNavService = /** @class */ (function () {
1590
- function TheSeamSideNavService(_router) {
1591
- this._router = _router;
1592
- this._updatingCount = new rxjs.BehaviorSubject(0);
1593
- this.itemChanged = new rxjs.Subject();
1594
- this.loading$ = this._updatingCount.pipe(operators.map(function (count) { return count > 0; }), operators.distinctUntilChanged(), operators.shareReplay({ bufferSize: 1, refCount: true }));
1595
- }
1596
- TheSeamSideNavService.prototype.createItemsObservable = function (items) {
1597
- var _this = this;
1598
- return rxjs.defer(function () {
1599
- _this.updateItemsStates(items);
1600
- return new rxjs.Observable(function (subscriber) {
1601
- var stateChangeSub = _this.itemChanged.pipe(operators.switchMap(function () { return _this.loading$.pipe(operators.filter(function (loading) { return !loading; })); })).subscribe(function () {
1602
- subscriber.next(items);
1603
- });
1604
- try {
1605
- _this.updateItemsStates(items);
1606
- }
1607
- catch (err) {
1608
- subscriber.error(err);
1609
- }
1610
- // const linkItems = findLinkItems(items)
1611
- var routeChangeSub = _this._router.events.pipe(operators.filter(function (event) { return event instanceof router.NavigationEnd; })).subscribe(function () {
1612
- try {
1613
- _this.updateItemsStates(items);
1614
- }
1615
- catch (err) {
1616
- subscriber.error(err);
1617
- }
1618
- });
1619
- return function () {
1620
- stateChangeSub.unsubscribe();
1621
- routeChangeSub.unsubscribe();
1622
- };
1623
- }).pipe(operators.startWith(items));
1624
- });
1625
- };
1626
- TheSeamSideNavService.prototype._incUpdatingCount = function () {
1627
- this._updatingCount.next(this._updatingCount.value + 1);
1628
- };
1629
- TheSeamSideNavService.prototype._decrUpdatingCount = function () {
1630
- this._updatingCount.next(this._updatingCount.value - 1);
1631
- };
1632
- TheSeamSideNavService.prototype.updateItemsStates = function (items) {
1633
- var e_1, _a;
1634
- this._incUpdatingCount();
1635
- try {
1636
- try {
1637
- for (var items_1 = __values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
1638
- var item = items_1_1.value;
1639
- if (hasChildren(item)) {
1640
- this.updateItemsStates(item.children);
1641
- }
1642
- this.updateItemState(item);
1643
- }
1644
- }
1645
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1646
- finally {
1647
- try {
1648
- if (items_1_1 && !items_1_1.done && (_a = items_1.return)) _a.call(items_1);
1649
- }
1650
- finally { if (e_1) throw e_1.error; }
1651
- }
1652
- this._decrUpdatingCount();
1653
- }
1654
- catch (err) {
1655
- this._decrUpdatingCount();
1656
- throw err;
1657
- }
1658
- };
1659
- TheSeamSideNavService.prototype.updateItemState = function (item) {
1660
- this._incUpdatingCount();
1661
- try {
1662
- setDefaultState(item);
1663
- if (isNavItemType(item, 'link')) {
1664
- var url = this._getUrl(item);
1665
- if (utils.notNullOrUndefined(url)) {
1666
- var opts = this._getMatchOptions(item);
1667
- this.setItemStateProp(item, 'active', this._router.isActive(url, opts));
1668
- }
1669
- }
1670
- // TODO: Implement this in a more optimized way. Unless our apps start
1671
- // having large side-navs constantly updating their state, this shouldn't
1672
- // have much impact on performance.
1673
- this._updateItemExpandedState(item);
1674
- this._decrUpdatingCount();
1675
- }
1676
- catch (err) {
1677
- this._decrUpdatingCount();
1678
- throw err;
1679
- }
1680
- };
1681
- TheSeamSideNavService.prototype._updateItemsExpandedState = function (items) {
1682
- var e_2, _a;
1683
- try {
1684
- for (var items_2 = __values(items), items_2_1 = items_2.next(); !items_2_1.done; items_2_1 = items_2.next()) {
1685
- var item = items_2_1.value;
1686
- if (hasChildren(item)) {
1687
- this._updateItemsExpandedState(item.children);
1688
- }
1689
- this._updateItemExpandedState(item);
1690
- }
1691
- }
1692
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
1693
- finally {
1694
- try {
1695
- if (items_2_1 && !items_2_1.done && (_a = items_2.return)) _a.call(items_2);
1696
- }
1697
- finally { if (e_2) throw e_2.error; }
1698
- }
1699
- };
1700
- TheSeamSideNavService.prototype._updateItemExpandedState = function (item) {
1701
- if (!canExpand(item)) {
1702
- if (getItemStateProp(item, 'expanded')) {
1703
- this.setItemStateProp(item, 'expanded', false);
1704
- }
1705
- return;
1706
- }
1707
- if (hasChildren(item)) {
1708
- this._updateItemsExpandedState(item.children);
1709
- }
1710
- if (hasActiveChild(item) || hasExpandedChild(item)) {
1711
- if (!getItemStateProp(item, 'expanded')) {
1712
- this.setItemStateProp(item, 'expanded', true);
1713
- }
1714
- }
1715
- else {
1716
- if (getItemStateProp(item, 'expanded')) {
1717
- this.setItemStateProp(item, 'expanded', false);
1718
- }
1719
- }
1720
- };
1721
- TheSeamSideNavService.prototype._getNavExtras = function (item) {
1722
- var navigationExtras = {};
1723
- if (utils.hasProperty(item, 'queryParams')) {
1724
- navigationExtras.queryParams = item.queryParams;
1725
- }
1726
- if (utils.hasProperty(item, 'fragment')) {
1727
- navigationExtras.fragment = item.fragment;
1728
- }
1729
- if (utils.hasProperty(item, 'queryParamsHandling')) {
1730
- navigationExtras.queryParamsHandling = item.queryParamsHandling;
1731
- }
1732
- if (utils.hasProperty(item, 'preserveFragment')) {
1733
- navigationExtras.preserveFragment = item.preserveFragment;
1734
- }
1735
- return navigationExtras;
1736
- };
1737
- TheSeamSideNavService.prototype._getUrl = function (item) {
1738
- var link = item.link;
1739
- if (typeof link === 'string') {
1740
- return this._router.createUrlTree([link], this._getNavExtras(item)).toString();
1741
- }
1742
- else if (Array.isArray(link)) {
1743
- return this._router.createUrlTree(link, this._getNavExtras(item)).toString();
1744
- }
1745
- return null;
1746
- };
1747
- TheSeamSideNavService.prototype._getMatchOptions = function (item) {
1748
- var defaultMatchOpts = {
1749
- paths: 'subset',
1750
- queryParams: 'subset',
1751
- fragment: 'ignored',
1752
- matrixParams: 'ignored'
1753
- };
1754
- if (utils.hasProperty(item, 'matchOptions')) {
1755
- return Object.assign(Object.assign({}, defaultMatchOpts), item.matchOptions);
1756
- }
1757
- return defaultMatchOpts;
1758
- };
1759
- TheSeamSideNavService.prototype.setItemStateProp = function (item, prop, value) {
1760
- var currentValue = getItemStateProp(item, prop);
1761
- if (currentValue !== value) {
1762
- setItemStateProp(item, prop, value);
1763
- var changed = {
1764
- item: item,
1765
- prop: prop,
1766
- prevValue: currentValue,
1767
- newValue: value
1768
- };
1769
- this.itemChanged.next(changed);
1770
- }
1771
- };
1772
- return TheSeamSideNavService;
1773
- }());
1774
- TheSeamSideNavService.decorators = [
1775
- { type: i0.Injectable }
1776
- ];
1777
- TheSeamSideNavService.ctorParameters = function () { return [
1778
- { type: router.Router }
1779
- ]; };
1780
-
1781
- var EXPANDED_STATE$1 = 'expanded';
1782
- var COLLAPSED_STATE$1 = 'collapsed';
1783
- var EXPANDED_OVERLAY_STATE = 'expanded-overlay';
1784
- var COLLAPSED_OVERLAY_STATE = 'collapsed-overlay';
1785
- var EXPANDED_STATES = [EXPANDED_STATE$1, EXPANDED_OVERLAY_STATE];
1786
- var COLLAPSED_STATES = [COLLAPSED_STATE$1, COLLAPSED_OVERLAY_STATE];
1787
- var EXPAND_STATES = __spreadArray(__spreadArray([], __read(EXPANDED_STATES)), __read(COLLAPSED_STATES));
1788
- function sideNavExpandStateChangeFn(fromState, toState) {
1789
- // console.log({ fromState, toState })
1790
- return fromState !== toState &&
1791
- (
1792
- // NOTE: The current way the side nav is being used it causes the
1793
- // component to sometimes get placed in the wrong location initially. It
1794
- // is fast enough to not be noticed without an initial animation usually,
1795
- // so it is commented out below until the initial placement issue it
1796
- // fixed.
1797
- //
1798
- // (
1799
- // fromState === 'void' && EXPAND_STATES.indexOf(toState) !== -1
1800
- // ||
1801
- // toState === 'void' && EXPAND_STATES.indexOf(fromState) !== -1
1802
- // )
1803
- // ||
1804
- ((EXPANDED_STATES.indexOf(fromState) !== -1 && COLLAPSED_STATES.indexOf(toState) !== -1)
1805
- ||
1806
- (EXPANDED_STATES.indexOf(toState) !== -1 && COLLAPSED_STATES.indexOf(fromState) !== -1)));
1807
- }
1808
- var SideNavComponent = /** @class */ (function () {
1809
- function SideNavComponent(_viewContainerRef, _layout, _sideNav, _baseLayoutRef) {
1810
- var _this = this;
1811
- this._viewContainerRef = _viewContainerRef;
1812
- this._layout = _layout;
1813
- this._sideNav = _sideNav;
1814
- this._baseLayoutRef = _baseLayoutRef;
1815
- this._ngUnsubscribe = new rxjs.Subject();
1816
- this.faBars = freeSolidSvgIcons.faBars;
1817
- // @HostBinding('@sideNavExpand') _sideNavExpand = EXPANDED_STATE
1818
- // _sideNavExpand = EXPANDED_STATE
1819
- // @HostBinding('@sideNavAnim') _sideNavExpand = EXPANDED_STATE
1820
- this._sideNavExpand = 'initial';
1821
- this.hasHeaderToggle = true;
1822
- this.toggleIcon = freeSolidSvgIcons.faBars;
1823
- this._items = new rxjs.BehaviorSubject([]);
1824
- this.indentSize = 10;
1825
- this._expanded = new rxjs.BehaviorSubject(true);
1826
- this.expanded$ = this._expanded.asObservable();
1827
- this.expandOrigin = 'left';
1828
- this.expandHeight = '100%';
1829
- this.expandWidth = 'calc(100vw - 50px)';
1830
- this._overlay = new rxjs.BehaviorSubject(false);
1831
- this.overlay$ = this._overlay.asObservable();
1832
- this.toggleExpand = new i0.EventEmitter();
1833
- this._backdropHidden = new rxjs.BehaviorSubject(true);
1834
- this.items$ = this._items.asObservable().pipe(operators.switchMap(function (items) { return items ? _this._sideNav.createItemsObservable(items) : []; }), operators.shareReplay({ bufferSize: 1, refCount: true }));
1835
- this.isMobile$ = this._layout.isMobile$.pipe(operators.tap(function (isMobile) { return isMobile ? _this.collapse() : _this.expand(); }));
1836
- this.sideNavExpandedState$ = rxjs.combineLatest([this.expanded$, this.overlay$]).pipe(operators.map(function (_a) {
1837
- var _b = __read(_a, 2), expanded = _b[0], overlay = _b[1];
1838
- return expanded
1839
- ? overlay ? EXPANDED_OVERLAY_STATE : EXPANDED_STATE$1
1840
- : overlay ? COLLAPSED_OVERLAY_STATE : COLLAPSED_STATE$1;
1841
- }), operators.distinctUntilChanged());
1842
- }
1843
- Object.defineProperty(SideNavComponent.prototype, "items", {
1844
- get: function () { return this._items.value; },
1845
- set: function (value) { this._items.next(value); },
1846
- enumerable: false,
1847
- configurable: true
1848
- });
1849
- Object.defineProperty(SideNavComponent.prototype, "expanded", {
1850
- get: function () { return this._expanded.value; },
1851
- set: function (value) {
1852
- var expanded = coercion.coerceBooleanProperty(value);
1853
- var emit = expanded !== this.expanded;
1854
- this._expanded.next(expanded);
1855
- if (emit) {
1856
- this.toggleExpand.emit(coercion.coerceBooleanProperty(value));
1857
- }
1858
- },
1859
- enumerable: false,
1860
- configurable: true
1861
- });
1862
- Object.defineProperty(SideNavComponent.prototype, "overlay", {
1863
- get: function () { return this._overlay.value; },
1864
- set: function (value) { this._overlay.next(coercion.coerceBooleanProperty(value)); },
1865
- enumerable: false,
1866
- configurable: true
1867
- });
1868
- SideNavComponent.prototype.ngOnInit = function () {
1869
- var _this = this;
1870
- if (this._baseLayoutRef) {
1871
- this._baseLayoutRef.registerNav(this);
1872
- }
1873
- this.isMobile$
1874
- .pipe(operators.takeUntil(this._ngUnsubscribe))
1875
- .subscribe(function (b) { return _this.overlay = b; });
1876
- this.sideNavExpandedState$
1877
- .pipe(operators.takeUntil(this._ngUnsubscribe))
1878
- .subscribe(function (v) { return _this._sideNavExpand = v; });
1879
- if (this._sideBarHeaderTpl) {
1880
- this._sideBarHeaderPortal = new portal.TemplatePortal(this._sideBarHeaderTpl, this._viewContainerRef);
1881
- }
1882
- if (this._sideBarFooterTpl) {
1883
- this._sideBarFooterPortal = new portal.TemplatePortal(this._sideBarFooterTpl, this._viewContainerRef);
1884
- }
1885
- };
1886
- SideNavComponent.prototype.ngOnDestroy = function () {
1887
- this._ngUnsubscribe.next();
1888
- this._ngUnsubscribe.complete();
1889
- if (this._baseLayoutRef) {
1890
- this._baseLayoutRef.unregisterNav(this);
1891
- }
1892
- };
1893
- SideNavComponent.prototype.expand = function () {
1894
- this.expanded = true;
1895
- };
1896
- SideNavComponent.prototype.collapse = function () {
1897
- this.expanded = false;
1898
- };
1899
- SideNavComponent.prototype.toggle = function () {
1900
- this.expanded = !this.expanded;
1901
- };
1902
- SideNavComponent.prototype.animateStart = function () {
1903
- if (this.expanded) {
1904
- this._backdropHidden.next(false);
1905
- }
1906
- };
1907
- SideNavComponent.prototype.animateEnd = function () {
1908
- if (!this.expanded) {
1909
- this._backdropHidden.next(true);
1910
- }
1911
- };
1912
- Object.defineProperty(SideNavComponent.prototype, "expandOriginTransform", {
1913
- get: function () {
1914
- switch (this.expandOrigin) {
1915
- case 'right':
1916
- return this._sideNavExpand === EXPANDED_OVERLAY_STATE ? 'translateX(100vw) translateX(-100%)' :
1917
- this._sideNavExpand === COLLAPSED_OVERLAY_STATE ? 'translateX(100vw)' : null;
1918
- case 'top':
1919
- return this._sideNavExpand === EXPANDED_OVERLAY_STATE ? 'translateY(0)' :
1920
- this._sideNavExpand === COLLAPSED_OVERLAY_STATE ? 'translateY(-100%)' : null;
1921
- case 'bottom':
1922
- return this._sideNavExpand === EXPANDED_OVERLAY_STATE ? 'translateY(100vh) translateY(-100%)' :
1923
- this._sideNavExpand === COLLAPSED_OVERLAY_STATE ? 'translateY(100vh)' : null;
1924
- case 'left':
1925
- default:
1926
- return this._sideNavExpand === EXPANDED_OVERLAY_STATE ? 'translateX(0)' :
1927
- this._sideNavExpand === COLLAPSED_OVERLAY_STATE ? 'translateX(-100%)' : null;
1928
- }
1929
- },
1930
- enumerable: false,
1931
- configurable: true
1932
- });
1933
- return SideNavComponent;
1934
- }());
1935
- SideNavComponent.decorators = [
1936
- { type: i0.Component, args: [{
1937
- selector: 'seam-side-nav',
1938
- template: "<div class=\"side-nav-backdrop\" *ngIf=\"isMobile$ | async\"\n [@sideNavBackdrop]=\"_sideNavExpand\"\n [class.side-nav-backdrop-hidden]=\"_backdropHidden | async\"\n (click)=\"collapse()\"></div>\n\n<div\n class=\"side-nav-inner-wrapper\"\n [@sideNavExpand]=\"{\n value: _sideNavExpand,\n params: {\n origin: expandOriginTransform,\n height: expandHeight,\n width: expandWidth\n }\n }\"\n (@sideNavExpand.start)=\"animateStart()\"\n (@sideNavExpand.done)=\"animateEnd()\">\n <nav class=\"nav side-nav-content\">\n <seam-side-nav-toggle *ngIf=\"hasHeaderToggle\"\n [toggleIcon]=\"toggleIcon\"\n [toggleTpl]=\"toggleTpl\"\n [expanded]=\"expanded$ | async\"\n (toggleExpand)=\"toggle()\">\n <ng-template [cdkPortalOutlet]=\"_sideBarHeaderPortal\"></ng-template>\n </seam-side-nav-toggle>\n <div class=\"side-nav-items-container\" seamOverlayScrollbar>\n <div class=\"side-nav--group side-nav--group--level-0\">\n <seam-side-nav-item *ngFor=\"let item of items$ | async\"\n [compact]=\"!(expanded$ | async)\"\n [itemType]=\"$any(item)?.itemType\"\n [icon]=\"$any(item)?.icon\"\n [label]=\"$any(item)?.label\"\n [link]=\"$any(item)?.link\"\n [badgeText]=\"$any(item)?.badge?.text\"\n [badgeTheme]=\"$any(item)?.badge?.theme || 'danger'\"\n [badgeSrContent]=\"$any(item)?.badge?.srContent\"\n [badgeTooltip]=\"$any(item)?.badge?.tooltip\"\n [queryParams]=\"$any(item)?.queryParams\"\n [children]=\"$any(item)?.children\"\n [active]=\"$any(item).__state?.active\"\n [expanded]=\"$any(item).__state?.expanded\"\n [hideEmptyIcon]=\"hideEmptyIcon\"\n [indentSize]=\"indentSize\">\n </seam-side-nav-item>\n </div>\n </div>\n <ng-template [cdkPortalOutlet]=\"_sideBarFooterPortal\"></ng-template>\n </nav>\n</div>\n",
1939
- providers: [
1940
- TheSeamSideNavService
1941
- ],
1942
- animations: [
1943
- //
1944
- // TODO: This animation code turned into a mess. Clean it up and make it
1945
- // more smooth.
1946
- //
1947
- animations.trigger('sideNavAnim', [
1948
- animations.transition(sideNavExpandStateChangeFn, [
1949
- animations.group([
1950
- animations.query('@sideNavBackdrop', animations.animateChild(), { optional: true }),
1951
- animations.query('@sideNavExpand', animations.animateChild(), { optional: true }),
1952
- ]),
1953
- ]),
1954
- ]),
1955
- animations.trigger('sideNavBackdrop', [
1956
- animations.state(EXPANDED_OVERLAY_STATE, animations.style({ opacity: '1' })),
1957
- animations.state(COLLAPSED_OVERLAY_STATE, animations.style({ opacity: '0' })),
1958
- // transition((fromState, toState, element, params) => {
1959
- // console.log('sideNavBackdrop v', fromState, toState, element, params)
1960
- // return false
1961
- // }, []),
1962
- animations.transition(sideNavExpandStateChangeFn, animations.animate('0.2s ease-in-out')),
1963
- ]),
1964
- animations.trigger('sideNavExpand', [
1965
- // TODO: Make width configurable for non-overlay state.
1966
- animations.state(EXPANDED_STATE$1, animations.style({ width: '260px' })),
1967
- animations.state(COLLAPSED_STATE$1, animations.style({ width: '50px', 'overflow-x': 'hidden' })),
1968
- animations.state(EXPANDED_OVERLAY_STATE, animations.style({
1969
- position: 'absolute',
1970
- top: 0,
1971
- bottom: 0,
1972
- left: 0,
1973
- height: '{{ height }}',
1974
- width: '{{ width }}',
1975
- transform: '{{ origin }}',
1976
- zIndex: '9999',
1977
- }), {
1978
- params: {
1979
- origin: 'translateX(100%)',
1980
- height: '100%',
1981
- width: 'calc(100vw - 50px)',
1982
- }
1983
- }),
1984
- animations.state(COLLAPSED_OVERLAY_STATE, animations.style({
1985
- position: 'absolute',
1986
- top: 0,
1987
- bottom: 0,
1988
- left: 0,
1989
- height: '{{ height }}',
1990
- width: '{{ width }}',
1991
- transform: '{{ origin }}',
1992
- 'overflow-x': 'hidden',
1993
- zIndex: '9999',
1994
- }), {
1995
- params: {
1996
- origin: 'translateX(0)',
1997
- height: '100%',
1998
- width: 'calc(100vw - 50px)',
1999
- }
2000
- }),
2001
- // transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
2002
- animations.transition(sideNavExpandStateChangeFn, animations.animate('0.2s ease-in-out')),
2003
- // transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, [
2004
- // // query(':leave', animateChild(), { optional: true }),
2005
- // // query(':enter', animateChild(), { optional: true }),
2006
- // group([
2007
- // query(':leave', animateChild(), { optional: true }),
2008
- // query(':enter', animateChild(), { optional: true }),
2009
- // query('@compactAnim', animateChild(), { optional: true }),
2010
- // animate('5.2s ease-in-out')
2011
- // ])
2012
- // ]),
2013
- ])
2014
- ],
2015
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2016
- encapsulation: i0.ViewEncapsulation.None,
2017
- styles: ["seam-side-nav,.seam-side-nav{display:block;height:100%;position:relative;z-index:2;overflow:hidden}seam-side-nav .side-nav-inner-wrapper,.seam-side-nav .side-nav-inner-wrapper{background:#357ebd;height:100%}seam-side-nav .side-nav-backdrop,.seam-side-nav .side-nav-backdrop{background:rgba(52,58,64,.6);width:100vw;height:100vh}seam-side-nav .side-nav-backdrop.side-nav-backdrop-hidden,.seam-side-nav .side-nav-backdrop.side-nav-backdrop-hidden{display:none;width:0;height:0;padding:0;margin:0}seam-side-nav .side-nav-content,.seam-side-nav .side-nav-content{display:flex;flex-direction:column;height:100%;flex-wrap:nowrap}seam-side-nav .side-nav-items-container,.seam-side-nav .side-nav-items-container{display:flex;flex-direction:column;width:100%;flex:1 1 100%}\n"]
2018
- },] }
2019
- ];
2020
- SideNavComponent.ctorParameters = function () { return [
2021
- { type: i0.ViewContainerRef },
2022
- { type: layout.TheSeamLayoutService },
2023
- { type: TheSeamSideNavService },
2024
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
2025
- ]; };
2026
- SideNavComponent.propDecorators = {
2027
- _sideNavExpand: [{ type: i0.HostBinding, args: ['@sideNavAnim',] }],
2028
- hasHeaderToggle: [{ type: i0.Input }],
2029
- toggleIcon: [{ type: i0.Input }],
2030
- toggleTpl: [{ type: i0.Input }],
2031
- items: [{ type: i0.Input }],
2032
- hideEmptyIcon: [{ type: i0.Input }],
2033
- indentSize: [{ type: i0.Input }],
2034
- expanded: [{ type: i0.Input }],
2035
- expandOrigin: [{ type: i0.Input }],
2036
- expandHeight: [{ type: i0.Input }],
2037
- expandWidth: [{ type: i0.Input }],
2038
- overlay: [{ type: i0.Input }],
2039
- toggleExpand: [{ type: i0.Output }],
2040
- _sideBarHeaderTpl: [{ type: i0.ContentChild, args: [BaseLayoutSideBarHeaderDirective, { static: true, read: i0.TemplateRef },] }],
2041
- _sideBarFooterTpl: [{ type: i0.ContentChild, args: [BaseLayoutSideBarFooterDirective, { static: true, read: i0.TemplateRef },] }]
2042
- };
2043
- __decorate([
2044
- core.InputBoolean()
2045
- ], SideNavComponent.prototype, "hasHeaderToggle", void 0);
2046
- __decorate([
2047
- core.InputNumber(10)
2048
- ], SideNavComponent.prototype, "indentSize", void 0);
2049
-
2050
- var EXPANDED_STATE = 'expanded';
2051
- var COLLAPSED_STATE = 'collapsed';
2052
- var FULL_STATE = 'full';
2053
- var COMPACT_STATE = 'compact';
2054
- var SideNavItemComponent = /** @class */ (function () {
2055
- function SideNavItemComponent(_sideNav, _parent) {
2056
- this._sideNav = _sideNav;
2057
- this._parent = _parent;
2058
- this._ngUnsubscribe = new rxjs.Subject();
2059
- this.faAngleLeft = freeSolidSvgIcons.faAngleLeft;
2060
- this.active = false;
2061
- this._link = new rxjs.BehaviorSubject(undefined);
2062
- this.link$ = this._link.asObservable();
2063
- this.hierLevel = 0;
2064
- this.indentSize = 10;
2065
- this._expanded = new rxjs.BehaviorSubject(false);
2066
- this.expanded$ = this._expanded.asObservable();
2067
- this._compact = new rxjs.BehaviorSubject(false);
2068
- this.compact$ = this._compact.asObservable();
2069
- this.badgeTheme = 'danger';
2070
- this.childGroupAnimState$ = this.expanded$
2071
- .pipe(operators.map(function (expanded) { return expanded ? EXPANDED_STATE : COLLAPSED_STATE; }));
2072
- this.compactAnimState$ = this.compact$
2073
- .pipe(operators.map(function (compact) { return compact ? COMPACT_STATE : FULL_STATE; }));
2074
- }
2075
- Object.defineProperty(SideNavItemComponent.prototype, "link", {
2076
- get: function () { return this._link.value; },
2077
- set: function (value) { this._link.next(value); },
2078
- enumerable: false,
2079
- configurable: true
2080
- });
2081
- Object.defineProperty(SideNavItemComponent.prototype, "expanded", {
2082
- get: function () { return this._expanded.value; },
2083
- set: function (value) { this._expanded.next(coercion.coerceBooleanProperty(value)); },
2084
- enumerable: false,
2085
- configurable: true
2086
- });
2087
- Object.defineProperty(SideNavItemComponent.prototype, "compact", {
2088
- get: function () { return this._compact.value; },
2089
- set: function (value) { this._compact.next(coercion.coerceBooleanProperty(value)); },
2090
- enumerable: false,
2091
- configurable: true
2092
- });
2093
- Object.defineProperty(SideNavItemComponent.prototype, "badgeTooltip", {
2094
- get: function () { return this._badgeTooltip; },
2095
- set: function (value) {
2096
- if (value !== null && value !== undefined) {
2097
- if (typeof value === 'string') {
2098
- this._badgeTooltip = {
2099
- tooltip: value,
2100
- placement: 'auto',
2101
- disabled: false,
2102
- container: 'body'
2103
- };
2104
- }
2105
- else {
2106
- this._badgeTooltip = Object.assign(Object.assign({}, value), { placement: value.placement || 'auto', disabled: typeof (value === null || value === void 0 ? void 0 : value.disabled) === 'boolean'
2107
- ? value.disabled
2108
- : typeof value.tooltip === 'string' ? false : true, container: value.container || 'body' });
2109
- }
2110
- }
2111
- else {
2112
- this._badgeTooltip = undefined;
2113
- }
2114
- },
2115
- enumerable: false,
2116
- configurable: true
2117
- });
2118
- Object.defineProperty(SideNavItemComponent.prototype, "_isActiveCssClass", {
2119
- get: function () { return this.active; },
2120
- enumerable: false,
2121
- configurable: true
2122
- });
2123
- Object.defineProperty(SideNavItemComponent.prototype, "_attrDataHierLevel", {
2124
- get: function () { return this.hierLevel; },
2125
- enumerable: false,
2126
- configurable: true
2127
- });
2128
- SideNavItemComponent.prototype.ngOnDestroy = function () {
2129
- this._ngUnsubscribe.next();
2130
- this._ngUnsubscribe.complete();
2131
- };
2132
- Object.defineProperty(SideNavItemComponent.prototype, "hasChildren", {
2133
- get: function () {
2134
- return Array.isArray(this.children) && this.children.length > 0;
2135
- },
2136
- enumerable: false,
2137
- configurable: true
2138
- });
2139
- SideNavItemComponent.prototype.toggleChildren = function () {
2140
- this.expanded = !this.expanded;
2141
- };
2142
- SideNavItemComponent.prototype._linkClicked = function () {
2143
- // Close nav when link is clicked while in overlay state
2144
- if (this._sideNav.overlay) {
2145
- this._sideNav.collapse();
2146
- }
2147
- };
2148
- Object.defineProperty(SideNavItemComponent.prototype, "showIconBlock", {
2149
- get: function () {
2150
- return utils.notNullOrUndefined(this.icon) || this.hideEmptyIcon !== true;
2151
- },
2152
- enumerable: false,
2153
- configurable: true
2154
- });
2155
- return SideNavItemComponent;
2156
- }());
2157
- SideNavItemComponent.decorators = [
2158
- { type: i0.Component, args: [{
2159
- selector: 'seam-side-nav-item',
2160
- template: "<div class=\"d-flex flex-row side-nav-item-wrapper\">\n <ng-container *ngIf=\"itemType === 'basic'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeBasic\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"itemType === 'link'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeLink\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"itemType === 'divider'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeDivider\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"itemType === 'title'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeTitle\"></ng-template>\n </ng-container>\n</div>\n\n<ng-container *ngIf=\"hasChildren\">\n <div class=\"side-nav--group side-nav--group--level-{{ hierLevel + 1 }}\"\n [@childGroupAnim]=\"childGroupAnimState$ | async\">\n <seam-side-nav-item *ngFor=\"let child of children\"\n [hierLevel]=\"compact ? 0 : (hierLevel + 1)\"\n [compact]=\"compact\"\n [itemType]=\"$any(child).itemType\"\n [icon]=\"$any(child).icon\"\n [label]=\"$any(child).label\"\n [link]=\"$any(child).link\"\n [badgeText]=\"$any(child).badge?.text\"\n [badgeTheme]=\"$any(child).badge?.theme || 'danger'\"\n [badgeSrContent]=\"$any(child).badge?.srContent\"\n [badgeTooltip]=\"$any(child)?.badge?.tooltip\"\n [queryParams]=\"$any(child).queryParams\"\n routerLinkActive=\"active\"\n [routerLinkActiveOptions]=\"{ exact: true }\"\n [children]=\"$any(child)?.children\"\n [active]=\"$any(child).__state?.active\"\n [expanded]=\"$any(child).__state?.expanded\"\n [hideEmptyIcon]=\"hideEmptyIcon\"\n [indentSize]=\"indentSize\">\n </seam-side-nav-item>\n </div>\n</ng-container>\n\n<ng-template #itemTypeBasic>\n <button class=\"side-nav-item btn side-nav-btn p-0 d-flex flex-row align-items-stretch rounded-0 text-decoration-none text-nowrap w-100\"\n cdkMonitorElementFocus\n (click)=\"toggleChildren()\"\n [attr.aria-expanded]=\"expanded\">\n <div class=\"nav-link d-flex flex-row align-items-center w-100\" [class.nav-link__compact]=\"compact\">\n <div [style.padding-left.px]=\"hierLevel * indentSize\"></div>\n <div class=\"side-nav-item--icon\" *ngIf=\"showIconBlock\">\n <seam-icon *ngIf=\"icon\" [icon]=\"icon\"></seam-icon>\n <ng-container *ngIf=\"compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </div>\n <span *ngIf=\"!compact\" side-nav-item-label style=\"margin-left: 11px;\">\n {{ label }}\n </span>\n <span *ngIf=\"compact\" class=\"sr-only\" side-nav-item-label>{{ label }}</span>\n <ng-container *ngIf=\"!compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </div>\n\n <div *ngIf=\"hasChildren && !compact\"\n class=\"btn side-nav-btn side-nav-item--toggle-btn-container rounded-0\">\n <seam-icon\n class=\"side-nav-item--toggle-btn\"\n [class.side-nav-item--toggle-btn-expanded]=\"expanded\"\n [icon]=\"faAngleLeft\"\n type>\n </seam-icon>\n </div>\n </button>\n</ng-template>\n\n<ng-template #itemTypeLink>\n <a *ngIf=\"link; else noLink\" class=\"side-nav-item nav-link d-flex flex-row text-nowrap w-100 align-items-center\"\n [class.nav-link__compact]=\"compact\"\n [routerLink]=\"link\"\n [queryParams]=\"queryParams\"\n routerLinkActive=\"active\"\n [routerLinkActiveOptions]=\"{ exact: true }\"\n (click)=\"_linkClicked()\">\n <div [style.padding-left.px]=\"hierLevel * indentSize\"></div>\n <div class=\"side-nav-item--icon\" *ngIf=\"showIconBlock\">\n <seam-icon *ngIf=\"icon\" [icon]=\"icon\"></seam-icon>\n <ng-container *ngIf=\"compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </div>\n <span *ngIf=\"!compact\" style=\"margin-left: 11px;\" side-nav-item-label>\n {{ label }}\n </span>\n <span *ngIf=\"compact\" class=\"sr-only\" side-nav-item-label>{{ label }}</span>\n <ng-container *ngIf=\"!compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </a>\n\n <ng-template #noLink>\n <a class=\"side-nav-item nav-link d-flex flex-row text-nowrap w-100 align-items-center\" [class.nav-link__compact]=\"compact\">\n <div [style.padding-left.px]=\"hierLevel * indentSize\"></div>\n <div class=\"side-nav-item--icon\" *ngIf=\"showIconBlock\">\n <seam-icon *ngIf=\"icon\" [icon]=\"icon\"></seam-icon>\n </div>\n <span *ngIf=\"!compact\" style=\"margin-left: 11px;\" side-nav-item-label>\n {{ label }}\n </span>\n <span *ngIf=\"compact\" class=\"sr-only\" side-nav-item-label>{{ label }}</span>\n </a>\n </ng-template>\n\n <button *ngIf=\"hasChildren && !compact\"\n type=\"button\"\n class=\"btn side-nav-btn side-nav-item--toggle-btn-container rounded-0\"\n (click)=\"toggleChildren()\"\n [attr.aria-expanded]=\"expanded\"\n cdkMonitorElementFocus>\n <seam-icon\n class=\"side-nav-item--toggle-btn\"\n [class.side-nav-item--toggle-btn-expanded]=\"expanded\"\n [icon]=\"faAngleLeft\"\n type>\n </seam-icon>\n <span class=\"sr-only\">Group Toggle</span>\n </button>\n</ng-template>\n\n<ng-template #itemTypeDivider>\n <div class=\"px-2 w-100\">\n <hr class=\"side-nav-item--divider\" />\n </div>\n</ng-template>\n\n<ng-template #itemTypeTitle>\n <ng-container *ngIf=\"!compact\">\n <span class=\"side-nav-item--title pt-1\" side-nav-item-label>{{ label }}</span>\n </ng-container>\n</ng-template>\n\n<ng-template #itemBadge>\n <ng-container *ngIf=\"badgeText\">\n <div class=\"badge-spacer flex-grow-1\" *ngIf=\"!compact\"></div>\n <div class=\"side-nav-item--badge\"\n [class.side-nav-item--badge-no-icon]=\"!icon\"\n [ngbTooltip]=\"$any(badgeTooltip)?.tooltip\"\n [tooltipClass]=\"$any(badgeTooltip)?.class\"\n [placement]=\"$any(badgeTooltip)?.placement\"\n [container]=\"$any(badgeTooltip)?.container\"\n [disableTooltip]=\"!badgeTooltip || !!$any(badgeTooltip)?.disabled\">\n <span class=\"badge badge-pill badge-{{ badgeTheme }}\">\n <ng-container *ngIf=\"!compact || !icon\">\n {{ badgeText }}\n </ng-container>\n <span *ngIf=\"badgeSrContent\">{{ badgeSrContent }}</span>\n </span>\n </div>\n </ng-container>\n</ng-template>\n",
2161
- exportAs: 'seamSideNavItem',
2162
- animations: [
2163
- animations.trigger('childGroupAnim', [
2164
- animations.state(EXPANDED_STATE, animations.style({ height: '*' })),
2165
- animations.state(COLLAPSED_STATE, animations.style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
2166
- animations.transition(EXPANDED_STATE + " <=> " + COLLAPSED_STATE, animations.animate('0.2s ease-in-out')),
2167
- ]),
2168
- animations.trigger('compactAnim', [
2169
- // transition('* <=> *', [
2170
- // query(':enter', [
2171
- // style({ opacity: '0' }),
2172
- // animate('5.2s ease-in-out', style({ opacity: '1' }))
2173
- // ], { optional: true }),
2174
- // query(':leave', [
2175
- // style({ opacity: '1' }),
2176
- // animate('5.2s ease-in-out', style({ opacity: '0' }))
2177
- // ], { optional: true })
2178
- // ])
2179
- // state(FULL_STATE, style({ opacity: '1' })),
2180
- // state(COMPACT_STATE, style({ opacity: '0' })),
2181
- // transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, animate('5.2s ease-in-out')),
2182
- // transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, [
2183
- // transition('* <=> *', [
2184
- // query(':leave', [
2185
- // style({ opacity: '1' }),
2186
- // animate('5.2s ease-in-out', style({ opacity: '0' }))
2187
- // ], { optional: true })
2188
- // ]),
2189
- ])
2190
- ],
2191
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2192
- encapsulation: i0.ViewEncapsulation.None,
2193
- styles: ["seam-side-nav-item{display:block;transition:.25s ease-in-out background-color}seam-side-nav-item.seam-side-nav-item--active{background-color:#2a6395}seam-side-nav-item.seam-side-nav-item--active .active,seam-side-nav-item.seam-side-nav-item--active:active,seam-side-nav-item.seam-side-nav-item--active .side-nav-item.active:hover{background-color:#2a6395}seam-side-nav-item.seam-side-nav-item--active .side-nav-item:hover{background-color:#2f71a9}seam-side-nav-item.seam-side-nav-item--active .nav-link{color:#fff}seam-side-nav-item.seam-side-nav-item--active .side-nav-btn{color:#fff}seam-side-nav-item .badge{vertical-align:middle}seam-side-nav-item:not(.side-nav-item--icon) .side-nav-item--badge{pointer-events:all;margin-left:5px;margin-right:3px}seam-side-nav-item .side-nav-item--icon{position:relative;width:24px;max-width:24px;min-width:24px;height:24px;max-height:24px;min-height:24px;text-align:center}seam-side-nav-item .side-nav-item--icon .side-nav-item--badge{top:-4px;right:-4px;position:absolute}seam-side-nav-item .side-nav-item--icon .side-nav-item--badge .badge:empty{display:block;width:8px;height:8px;padding:0}seam-side-nav-item .side-nav-item--icon .side-nav-item--badge.side-nav-item--badge-no-icon{top:0px;right:0px}seam-side-nav-item .side-nav-item{min-height:45px;transition:.25s ease-in-out background-color}seam-side-nav-item .side-nav-item:hover{background-color:#2f71a9}seam-side-nav-item .side-nav-item.active{pointer-events:none;cursor:default}seam-side-nav-item a.side-nav-item:not([href]):not([tabindex]){color:#ccc}seam-side-nav-item a.side-nav-item:not([href]):not([tabindex]):hover{background-color:transparent}seam-side-nav-item .nav-link{color:#fff;padding-right:2px}seam-side-nav-item .nav-link__compact{padding-right:0;padding-left:12px}seam-side-nav-item .nav-link:last-child{padding-right:8px}seam-side-nav-item .side-nav-btn{font-weight:400;color:#fff;text-decoration:none}seam-side-nav-item .side-nav-btn:hover{color:#fff;text-decoration:underline}seam-side-nav-item .side-nav-btn:focus,seam-side-nav-item .side-nav-btn.focus{text-decoration:underline;box-shadow:none}seam-side-nav-item .side-nav-btn:disabled,seam-side-nav-item .side-nav-btn.disabled{color:#ccc;pointer-events:none}seam-side-nav-item .cdk-keyboard-focused{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}seam-side-nav-item .side-nav-item--toggle-btn-container{transition:.25s ease-in-out background-color;padding:.5rem 1rem}seam-side-nav-item button.side-nav-item--toggle-btn-container:hover{background-color:#2f71a9}seam-side-nav-item .side-nav-item--toggle-btn .svg-inline--fa{transition:.1s ease-in-out transform}seam-side-nav-item .side-nav-item--toggle-btn.side-nav-item--toggle-btn-expanded .svg-inline--fa{transform:rotate(-90deg)}seam-side-nav-item .side-nav--group{will-change:height;overflow:hidden}seam-side-nav-item .side-nav--group--level-1{background-color:#3276b1}seam-side-nav-item .side-nav--group--level-2{background-color:#2e6ea5}seam-side-nav-item .side-nav--group--level-3{background-color:#2b6699}seam-side-nav-item .side-nav--group--level-4{background-color:#285e8d}seam-side-nav-item .side-nav--group--level-5{background-color:#245681}seam-side-nav-item .side-nav--group--level-6{background-color:#214e75}seam-side-nav-item .side-nav--group--level-7{background-color:#1e4669}seam-side-nav-item .side-nav--group--level-8{background-color:#1a3e5d}seam-side-nav-item .side-nav--group--level-9{background-color:#173651}seam-side-nav-item .side-nav-item--divider{display:block;border-top:1px solid #2a6395;width:100%}seam-side-nav-item .side-nav-item--title{color:#fff;font-size:24px;padding-left:10px}seam-side-nav-item .sr-only{top:0;left:0}\n"]
2194
- },] }
2195
- ];
2196
- SideNavItemComponent.ctorParameters = function () { return [
2197
- { type: SideNavComponent },
2198
- { type: SideNavItemComponent, decorators: [{ type: i0.Optional }, { type: i0.SkipSelf }, { type: i0.Host }] }
2199
- ]; };
2200
- SideNavItemComponent.propDecorators = {
2201
- itemType: [{ type: i0.Input }],
2202
- icon: [{ type: i0.Input }],
2203
- hideEmptyIcon: [{ type: i0.Input }],
2204
- label: [{ type: i0.Input }],
2205
- active: [{ type: i0.Input }],
2206
- link: [{ type: i0.Input }],
2207
- queryParams: [{ type: i0.Input }],
2208
- children: [{ type: i0.Input }],
2209
- hierLevel: [{ type: i0.Input }],
2210
- indentSize: [{ type: i0.Input }],
2211
- expanded: [{ type: i0.Input }],
2212
- compact: [{ type: i0.Input }],
2213
- badgeText: [{ type: i0.Input }],
2214
- badgeTheme: [{ type: i0.Input }],
2215
- badgeSrContent: [{ type: i0.Input }],
2216
- badgeTooltip: [{ type: i0.Input }],
2217
- _isActiveCssClass: [{ type: i0.HostBinding, args: ['class.seam-side-nav-item--active',] }],
2218
- _attrDataHierLevel: [{ type: i0.HostBinding, args: ['attr.data-hier-level',] }]
2219
- };
2220
- __decorate([
2221
- core.InputBoolean()
2222
- ], SideNavItemComponent.prototype, "active", void 0);
2223
- __decorate([
2224
- core.InputNumber(0)
2225
- ], SideNavItemComponent.prototype, "hierLevel", void 0);
2226
- __decorate([
2227
- core.InputNumber(10)
2228
- ], SideNavItemComponent.prototype, "indentSize", void 0);
2229
-
2230
- var SideNavToggleComponent = /** @class */ (function () {
2231
- function SideNavToggleComponent() {
2232
- this.expanded = false;
2233
- this.toggleExpand = new i0.EventEmitter();
2234
- }
2235
- SideNavToggleComponent.prototype.ngOnInit = function () { };
2236
- SideNavToggleComponent.prototype.toggle = function () {
2237
- this.toggleExpand.emit();
2238
- };
2239
- return SideNavToggleComponent;
2240
- }());
2241
- SideNavToggleComponent.decorators = [
2242
- { type: i0.Component, args: [{
2243
- selector: 'seam-side-nav-toggle',
2244
- template: "<div class=\"side-nav-toggle--content\">\n <ng-container *ngIf=\"expanded\">\n <ng-content></ng-content>\n </ng-container>\n</div>\n\n<ng-container *ngIf=\"toggleTpl; else iconBtn\">\n <button\n class=\"side-nav-toggle--btn mx-1\"\n (click)=\"toggle()\">\n <span class=\"sr-only\">Toggle sidebar</span>\n <ng-container *ngTemplateOutlet=\"toggleTpl\"></ng-container>\n </button>\n</ng-container>\n\n<ng-template #iconBtn>\n <button seamIconBtn [icon]=\"toggleIcon\"\n iconType=\"borderless-styled-square\"\n btnSize=\"sm\"\n class=\"side-nav-toggle--btn mx-1\"\n (click)=\"toggle()\">\n <span class=\"sr-only\">Toggle sidebar</span>\n </button>\n</ng-template>\n",
2245
- host: {
2246
- '[class.side-nav-toggle--compact]': '!expanded'
2247
- },
2248
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2249
- encapsulation: i0.ViewEncapsulation.None,
2250
- styles: ["seam-side-nav-toggle{display:flex;flex-direction:row;flex-shrink:0;align-items:center;background:#357ebd;position:relative;height:45px;width:100%}seam-side-nav-toggle .side-nav-toggle--content{flex:1 1 0}seam-side-nav-toggle .side-nav-toggle--btn{color:#fff}seam-side-nav-toggle .side-nav-toggle--btn seam-icon{padding:5px}\n"]
2251
- },] }
2252
- ];
2253
- SideNavToggleComponent.ctorParameters = function () { return []; };
2254
- SideNavToggleComponent.propDecorators = {
2255
- expanded: [{ type: i0.Input }],
2256
- toggleIcon: [{ type: i0.Input }],
2257
- toggleTpl: [{ type: i0.Input }],
2258
- toggleExpand: [{ type: i0.Output }]
2259
- };
2260
- __decorate([
2261
- core.InputBoolean()
2262
- ], SideNavToggleComponent.prototype, "expanded", void 0);
2263
-
2264
- var TheSeamSideNavModule = /** @class */ (function () {
2265
- function TheSeamSideNavModule() {
2266
- }
2267
- return TheSeamSideNavModule;
2268
- }());
2269
- TheSeamSideNavModule.decorators = [
2270
- { type: i0.NgModule, args: [{
2271
- declarations: [
2272
- SideNavItemComponent,
2273
- SideNavComponent,
2274
- SideNavToggleComponent
2275
- ],
2276
- imports: [
2277
- common.CommonModule,
2278
- router.RouterModule,
2279
- icon.TheSeamIconModule,
2280
- a11y.A11yModule,
2281
- scrollbar.TheSeamScrollbarModule,
2282
- layout.TheSeamLayoutModule,
2283
- ngBootstrap.NgbTooltipModule,
2284
- portal.PortalModule
2285
- ],
2286
- exports: [
2287
- SideNavItemComponent,
2288
- SideNavComponent,
2289
- SideNavToggleComponent
2290
- ]
2291
- },] }
2292
- ];
2293
-
2294
- var TopBarMenuButtonBase = /** @class */ (function () {
2295
- function TopBarMenuButtonBase() {
2296
- }
2297
- return TopBarMenuButtonBase;
2298
- }());
2299
- var _TopBarMenuButtonMixinBase = core.mixinDisabled(TopBarMenuButtonBase);
2300
- var TopBarMenuButtonComponent = /** @class */ (function (_super) {
2301
- __extends(TopBarMenuButtonComponent, _super);
2302
- function TopBarMenuButtonComponent() {
2303
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
2304
- _this.faAngleDown = freeSolidSvgIcons.faAngleDown;
2305
- _this.compact = false;
2306
- return _this;
2307
- }
2308
- Object.defineProperty(TopBarMenuButtonComponent.prototype, "_hasCompactClass", {
2309
- get: function () { return this.compact; },
2310
- enumerable: false,
2311
- configurable: true
2312
- });
2313
- Object.defineProperty(TopBarMenuButtonComponent.prototype, "_hasPadding0Class", {
2314
- get: function () { return this.compact; },
2315
- enumerable: false,
2316
- configurable: true
2317
- });
2318
- Object.defineProperty(TopBarMenuButtonComponent.prototype, "_hasRoundedClass", {
2319
- get: function () { return this.compact; },
2320
- enumerable: false,
2321
- configurable: true
2322
- });
2323
- Object.defineProperty(TopBarMenuButtonComponent.prototype, "_hasBtnLinkClass", {
2324
- get: function () { return !this.compact; },
2325
- enumerable: false,
2326
- configurable: true
2327
- });
2328
- TopBarMenuButtonComponent.prototype.ngOnInit = function () { };
2329
- TopBarMenuButtonComponent.prototype.ngOnDestroy = function () { };
2330
- return TopBarMenuButtonComponent;
2331
- }(_TopBarMenuButtonMixinBase));
2332
- TopBarMenuButtonComponent.decorators = [
2333
- { type: i0.Component, args: [{
2334
- // tslint:disable-next-line:component-selector
2335
- selector: 'button[seamTopBarMenuButton]',
2336
- template: "<div class=\"d-flex flex-row\" *ngIf=\"!compact; else compactTpl\">\n <div class=\"text-left flex-grow-1 text-truncate\">\n <ng-template [ngTemplateOutlet]=\"$any(detailTpl)\"></ng-template>\n </div>\n <!-- Arrow Button -->\n <div class=\"pl-2 d-flex flex-column\">\n <div class=\"flex-grow-1\"></div>\n <seam-icon class=\"d-block\" [icon]=\"faAngleDown\"></seam-icon>\n <div class=\"flex-grow-1\"></div>\n </div>\n</div>\n<ng-template #compactTpl>\n <ng-container *ngIf=\"compactDetailTpl; else iconTpl\">\n <ng-template [ngTemplateOutlet]=\"$any(compactDetailTpl)\"></ng-template>\n </ng-container>\n <ng-template #iconTpl>\n <seam-icon [icon]=\"profileIcon\" iconType=\"borderless-styled-square\"></seam-icon>\n </ng-template>\n</ng-template>\n",
2337
- encapsulation: i0.ViewEncapsulation.None,
2338
- exportAs: 'seamButton',
2339
- // tslint:disable-next-line:use-input-property-decorator
2340
- inputs: ['disabled'],
2341
- // tslint:disable-next-line:use-host-property-decorator
2342
- host: {
2343
- 'attr.type': 'button',
2344
- 'class': 'btn border text-decoration-none py-0 top-bar-menu-button',
2345
- '[attr.aria-disabled]': 'disabled.toString()',
2346
- '[attr.disabled]': 'disabled || null',
2347
- },
2348
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2349
- styles: ["button[seamTopBarMenuButton]{min-width:200px;border-radius:0;border-top:0!important;border-bottom:0!important;border-right:0!important}button[seamTopBarMenuButton].top-bar-menu-button--compact{min-width:40px;border-left:0!important}\n"]
2350
- },] }
2351
- ];
2352
- TopBarMenuButtonComponent.propDecorators = {
2353
- detailTpl: [{ type: i0.Input }],
2354
- compactDetailTpl: [{ type: i0.Input }],
2355
- compact: [{ type: i0.Input }],
2356
- profileIcon: [{ type: i0.Input }],
2357
- _hasCompactClass: [{ type: i0.HostBinding, args: ['class.top-bar-menu-button--compact',] }],
2358
- _hasPadding0Class: [{ type: i0.HostBinding, args: ['class.p-0',] }],
2359
- _hasRoundedClass: [{ type: i0.HostBinding, args: ['class.rounded',] }],
2360
- _hasBtnLinkClass: [{ type: i0.HostBinding, args: ['class.btn-link',] }]
2361
- };
2362
- __decorate([
2363
- core.InputBoolean()
2364
- ], TopBarMenuButtonComponent.prototype, "compact", void 0);
2365
-
2366
- var TopBarTitleComponent = /** @class */ (function () {
2367
- function TopBarTitleComponent() {
2368
- }
2369
- TopBarTitleComponent.prototype.ngOnInit = function () { };
2370
- return TopBarTitleComponent;
2371
- }());
2372
- TopBarTitleComponent.decorators = [
2373
- { type: i0.Component, args: [{
2374
- selector: 'seam-top-bar-title',
2375
- template: "<h2 class=\"mb-0\" [ngStyle]=\"{ 'font-size.px': 32 }\" [ngStyle.lt-md]=\"{ 'font-size.px': 26 }\" [ngStyle.lt-sm]=\"{ 'font-size.px': 20, 'line-height': 1 }\">\n {{ titleText }}\n <br fxHide.gt-sm>\n <small *ngIf=\"subTitleText\" class=\"text-muted\">{{ subTitleText }}</small>\n</h2>\n",
2376
- encapsulation: i0.ViewEncapsulation.None,
2377
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2378
- styles: ["seam-top-bar-title{flex:1 1 auto;display:flex;flex-direction:row;align-items:center}\n"]
2379
- },] }
2380
- ];
2381
- TopBarTitleComponent.ctorParameters = function () { return []; };
2382
- TopBarTitleComponent.propDecorators = {
2383
- titleText: [{ type: i0.Input }],
2384
- subTitleText: [{ type: i0.Input }]
2385
- };
2386
-
2387
- var TopBarItemDirective = /** @class */ (function () {
2388
- function TopBarItemDirective(template) {
2389
- this.template = template;
2390
- this.position = 'right';
2391
- }
2392
- Object.defineProperty(TopBarItemDirective.prototype, "seamTopBarItem", {
2393
- set: function (value) {
2394
- this.position = value;
2395
- },
2396
- enumerable: false,
2397
- configurable: true
2398
- });
2399
- return TopBarItemDirective;
2400
- }());
2401
- TopBarItemDirective.decorators = [
2402
- { type: i0.Directive, args: [{
2403
- selector: '[seamTopBarItem]'
2404
- },] }
2405
- ];
2406
- TopBarItemDirective.ctorParameters = function () { return [
2407
- { type: i0.TemplateRef }
2408
- ]; };
2409
- TopBarItemDirective.propDecorators = {
2410
- seamTopBarItem: [{ type: i0.Input }]
2411
- };
2412
-
2413
- var TopBarMenuBtnDetailDirective = /** @class */ (function () {
2414
- function TopBarMenuBtnDetailDirective(template) {
2415
- this.template = template;
2416
- }
2417
- return TopBarMenuBtnDetailDirective;
2418
- }());
2419
- TopBarMenuBtnDetailDirective.decorators = [
2420
- { type: i0.Directive, args: [{
2421
- selector: '[seamTopBarMenuBtnDetail]'
2422
- },] }
2423
- ];
2424
- TopBarMenuBtnDetailDirective.ctorParameters = function () { return [
2425
- { type: i0.TemplateRef }
2426
- ]; };
2427
-
2428
- var TopBarMenuDirective = /** @class */ (function () {
2429
- function TopBarMenuDirective(menu) {
2430
- this.menu = menu;
2431
- }
2432
- return TopBarMenuDirective;
2433
- }());
2434
- TopBarMenuDirective.decorators = [
2435
- { type: i0.Directive, args: [{
2436
- selector: 'seam-menu[seamTopBarMenu]'
2437
- },] }
2438
- ];
2439
- TopBarMenuDirective.ctorParameters = function () { return [
2440
- { type: menu.MenuComponent, decorators: [{ type: i0.Self }] }
2441
- ]; };
2442
-
2443
- var TopBarCompactMenuBtnDetailDirective = /** @class */ (function () {
2444
- function TopBarCompactMenuBtnDetailDirective(template) {
2445
- this.template = template;
2446
- }
2447
- return TopBarCompactMenuBtnDetailDirective;
2448
- }());
2449
- TopBarCompactMenuBtnDetailDirective.decorators = [
2450
- { type: i0.Directive, args: [{
2451
- selector: '[seamTopBarCompactMenuBtnDetail]'
2452
- },] }
2453
- ];
2454
- TopBarCompactMenuBtnDetailDirective.ctorParameters = function () { return [
2455
- { type: i0.TemplateRef }
2456
- ]; };
2457
-
2458
- var TopBarNavToggleBtnDetailDirective = /** @class */ (function () {
2459
- function TopBarNavToggleBtnDetailDirective(template) {
2460
- this.template = template;
2461
- }
2462
- return TopBarNavToggleBtnDetailDirective;
2463
- }());
2464
- TopBarNavToggleBtnDetailDirective.decorators = [
2465
- { type: i0.Directive, args: [{
2466
- selector: '[seamTopBarNavToggleBtnDetail]'
2467
- },] }
2468
- ];
2469
- TopBarNavToggleBtnDetailDirective.ctorParameters = function () { return [
2470
- { type: i0.TemplateRef }
2471
- ]; };
2472
-
2473
- /**
2474
- * Top bar of an app.
2475
- *
2476
- * The top bar is fairly opinionated, so most parts are not intended to be
2477
- * customized unless there is an input.
2478
- *
2479
- * > If you have to make a change and apply it externally with a css class or js
2480
- * > make sure there is an issue to get the feature changed, so we don't have
2481
- * > different modifications across our apps. Also, this will help make sure
2482
- * > your change should have even been done.
2483
- */
2484
- var TheSeamTopBarComponent = /** @class */ (function () {
2485
- function TheSeamTopBarComponent(_layout) {
2486
- this._layout = _layout;
2487
- /** @ignore */
2488
- this._ngUnsubscribe = new rxjs.Subject();
2489
- /** @ignore */
2490
- this.faBars = freeSolidSvgIcons.faBars;
2491
- /** Link target used when `logoHref` is specified. Defaults to `"_blank"` */
2492
- this.logoHrefTarget = '_blank';
2493
- /** Route to link to when `logo` is clicked. Defaults to `/`. */
2494
- this.logoRoute = '/';
2495
- /** Determines if the title should be displayed. */
2496
- this.hasTitle = false;
2497
- /** Determines if the top bar button should be displayed. */
2498
- this.hasTopBarMenuButton = true;
2499
- /** Icon to display on mobile to activate profile dropdown. Defaults to faUserCircle. */
2500
- this.profileIcon = freeRegularSvgIcons.faUserCircle;
2501
- /** Icon to display for mobile nav toggle. Defaults to faBars. */
2502
- this.toggleIcon = freeSolidSvgIcons.faBars;
2503
- /** Display nav toggle on either left or right side of top bar. Defaults to left. */
2504
- this.navToggleAlign = 'left';
2505
- /** @ignore */
2506
- this._leftItems = new rxjs.BehaviorSubject([]);
2507
- /** Additional templates to display on left side of top bar */
2508
- this.leftItems$ = this._leftItems.asObservable();
2509
- /** @ignore */
2510
- this._centerItems = new rxjs.BehaviorSubject([]);
2511
- /** Additional templates to display in center of top bar */
2512
- this.centerItems$ = this._centerItems.asObservable();
2513
- /** @ignore */
2514
- this._rightItems = new rxjs.BehaviorSubject([]);
2515
- /** Additional templates to display on right side of top bar */
2516
- this.rightItems$ = this._rightItems.asObservable();
2517
- this.isMobile$ = this._layout.isMobile$;
2518
- }
2519
- /** @ignore */
2520
- TheSeamTopBarComponent.prototype.ngOnInit = function () { };
2521
- /** @ignore */
2522
- TheSeamTopBarComponent.prototype.ngOnDestroy = function () {
2523
- this._ngUnsubscribe.next();
2524
- this._ngUnsubscribe.complete();
2525
- };
2526
- /** @ignore */
2527
- TheSeamTopBarComponent.prototype.ngAfterContentInit = function () {
2528
- var _this = this;
2529
- if (this._topBarItems) {
2530
- this._topBarItems.changes.pipe(operators.startWith(undefined), operators.takeUntil(this._ngUnsubscribe), operators.map(function () {
2531
- var _a;
2532
- var items = ((_a = _this._topBarItems) === null || _a === void 0 ? void 0 : _a.toArray()) || [];
2533
- var left = items.filter(function (i) { return i.position === 'left'; });
2534
- var right = items.filter(function (i) { return i.position === 'right'; });
2535
- var center = items.filter(function (i) { return i.position === 'center'; });
2536
- _this._leftItems.next(left);
2537
- _this._rightItems.next(right);
2538
- _this._centerItems.next(center);
2539
- }), operators.shareReplay({ bufferSize: 1, refCount: true })).subscribe();
2540
- }
2541
- };
2542
- return TheSeamTopBarComponent;
2543
- }());
2544
- TheSeamTopBarComponent.decorators = [
2545
- { type: i0.Component, args: [{
2546
- selector: 'seam-top-bar',
2547
- template: "<div class=\"top-bar--left d-flex\">\n <!-- Nav Toggle -->\n <ng-container *ngIf=\"navToggleAlign === 'left'\">\n <ng-container *ngTemplateOutlet=\"navToggle\"></ng-container>\n </ng-container>\n\n <!-- Logo -->\n <div class=\"top-bar--logo d-flex flex-column justify-content-center\" *ngIf=\"logoHref; else useLogoRoute\"\n [class.top-bar--logo-mobile]=\"isMobile$ | async\">\n <a [href]=\"logoHref\" [target]=\"logoHrefTarget\">\n <ng-container *ngTemplateOutlet=\"logoTpl\"></ng-container>\n </a>\n </div>\n\n <ng-template #useLogoRoute>\n <div class=\"top-bar--logo d-flex flex-column justify-content-center\" [routerLink]=\"logoRoute\"\n [class.top-bar--logo-mobile]=\"isMobile$ | async\">\n <ng-container *ngTemplateOutlet=\"logoTpl\"></ng-container>\n </div>\n </ng-template>\n\n <ng-template #logoTpl>\n <div>\n <img *ngIf=\"logo\" [src]=\"logo\" [src.lt-md]=\"logoSm ? logoSm : logo\" alt=\"Logo\">\n </div>\n </ng-template>\n\n <!-- Title -->\n <div class=\"d-flex flex-column\" *ngIf=\"hasTitle\">\n <seam-top-bar-title\n [titleText]=\"titleText\"\n [subTitleText]=\"subTitleText\"\n [class.ml-2]=\"isMobile$ | async\">\n </seam-top-bar-title>\n </div>\n\n <!-- Items -->\n <div class=\"top-bar-items top-bar-items--left mr-2\">\n <ng-container *ngFor=\"let item of leftItems$ | async\">\n <ng-template [ngTemplateOutlet]=\"item.template\"></ng-template>\n </ng-container>\n </div>\n</div>\n\n<div class=\"top-bar--center\">\n <!-- Items -->\n <div class=\"top-bar-items top-bar-items--center mr-2\">\n <ng-container *ngFor=\"let item of centerItems$ | async\">\n <ng-template [ngTemplateOutlet]=\"item.template\"></ng-template>\n </ng-container>\n </div>\n</div>\n\n<div class=\"top-bar--right d-flex\">\n <!-- Items -->\n <div class=\"top-bar-items top-bar-items--right mr-2\">\n <ng-container *ngFor=\"let item of rightItems$ | async\">\n <ng-template [ngTemplateOutlet]=\"item.template\"></ng-template>\n </ng-container>\n </div>\n\n <!-- Menu -->\n <button\n *ngIf=\"hasTopBarMenuButton\"\n seamTopBarMenuButton\n [seamMenuToggle]=\"_topBarMenu?.menu\"\n [detailTpl]=\"_topBarMenuBtnDetailTpl?.template\"\n [compactDetailTpl]=\"_topBarCompactMenuBtnDetailTpl?.template\"\n [compact]=\"isMobile$ | async\"\n [profileIcon]=\"profileIcon\">\n </button>\n\n <ng-container *ngIf=\"navToggleAlign === 'right'\">\n <ng-container *ngTemplateOutlet=\"navToggle\"></ng-container>\n </ng-container>\n</div>\n\n<ng-template #navToggle>\n <div class=\"d-flex flex-column justify-content-center pr-2\" *ngIf=\"isMobile$ | async\">\n <ng-container *ngIf=\"_topBarNavToggleBtnDetailTpl; else iconBtn\">\n <button seamButton seamBaseLayoutNavToggle>\n <ng-template [ngTemplateOutlet]=\"_topBarNavToggleBtnDetailTpl?.template\"></ng-template>\n </button>\n </ng-container>\n <ng-template #iconBtn>\n <button seamBaseLayoutNavToggle seamIconBtn [icon]=\"toggleIcon\" iconType=\"borderless-styled-square\"></button>\n </ng-template>\n </div>\n</ng-template>\n\n",
2548
- encapsulation: i0.ViewEncapsulation.None,
2549
- exportAs: 'seamTopBar',
2550
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2551
- styles: ["seam-top-bar{display:flex;flex:1 1 100%;flex-direction:row;background:white;margin:0;padding:8px;border-radius:0;box-shadow:none}.top-bar--logo{flex:0 0 auto;overflow:hidden;cursor:pointer}.top-bar--logo img{height:auto;max-height:60px;width:auto;max-width:200px}.top-bar--logo.top-bar--logo-mobile img{height:auto;max-height:40px;width:auto;max-width:150px}.top-bar--left{flex-grow:1}.top-bar-items{display:flex;align-items:center}\n"]
2552
- },] }
2553
- ];
2554
- TheSeamTopBarComponent.ctorParameters = function () { return [
2555
- { type: layout.TheSeamLayoutService }
2556
- ]; };
2557
- TheSeamTopBarComponent.propDecorators = {
2558
- _topBarMenu: [{ type: i0.ContentChild, args: [TopBarMenuDirective, { static: true },] }],
2559
- _topBarItems: [{ type: i0.ContentChildren, args: [TopBarItemDirective,] }],
2560
- _topBarMenuBtnDetailTpl: [{ type: i0.ContentChild, args: [TopBarMenuBtnDetailDirective,] }],
2561
- _topBarCompactMenuBtnDetailTpl: [{ type: i0.ContentChild, args: [TopBarCompactMenuBtnDetailDirective,] }],
2562
- _topBarNavToggleBtnDetailTpl: [{ type: i0.ContentChild, args: [TopBarNavToggleBtnDetailDirective,] }],
2563
- logo: [{ type: i0.Input }],
2564
- logoSm: [{ type: i0.Input }],
2565
- logoHref: [{ type: i0.Input }],
2566
- logoHrefTarget: [{ type: i0.Input }],
2567
- logoRoute: [{ type: i0.Input }],
2568
- hasTitle: [{ type: i0.Input }],
2569
- titleText: [{ type: i0.Input }],
2570
- subTitleText: [{ type: i0.Input }],
2571
- hasTopBarMenuButton: [{ type: i0.Input }],
2572
- profileIcon: [{ type: i0.Input }],
2573
- toggleIcon: [{ type: i0.Input }],
2574
- navToggleAlign: [{ type: i0.Input }]
2575
- };
2576
- __decorate([
2577
- core.InputBoolean()
2578
- ], TheSeamTopBarComponent.prototype, "hasTitle", void 0);
2579
- __decorate([
2580
- core.InputBoolean()
2581
- ], TheSeamTopBarComponent.prototype, "hasTopBarMenuButton", void 0);
2582
-
2583
- var TheSeamTopBarModule = /** @class */ (function () {
2584
- function TheSeamTopBarModule() {
2585
- }
2586
- return TheSeamTopBarModule;
2587
- }());
2588
- TheSeamTopBarModule.decorators = [
2589
- { type: i0.NgModule, args: [{
2590
- declarations: [
2591
- TheSeamTopBarComponent,
2592
- TopBarTitleComponent,
2593
- TopBarMenuButtonComponent,
2594
- TopBarMenuDirective,
2595
- TopBarItemDirective,
2596
- TopBarMenuBtnDetailDirective,
2597
- TopBarCompactMenuBtnDetailDirective,
2598
- TopBarNavToggleBtnDetailDirective
2599
- ],
2600
- imports: [
2601
- common.CommonModule,
2602
- layout.TheSeamLayoutModule,
2603
- buttons.TheSeamButtonsModule,
2604
- icon.TheSeamIconModule,
2605
- menu.TheSeamMenuModule,
2606
- TheSeamBaseLayoutModule,
2607
- router.RouterModule
2608
- ],
2609
- exports: [
2610
- TheSeamTopBarComponent,
2611
- TopBarMenuButtonComponent,
2612
- TopBarMenuDirective,
2613
- menu.TheSeamMenuModule,
2614
- TopBarItemDirective,
2615
- TopBarMenuBtnDetailDirective,
2616
- TopBarCompactMenuBtnDetailDirective,
2617
- TopBarNavToggleBtnDetailDirective
2618
- ]
2619
- },] }
2620
- ];
2621
-
2622
- var fader = animations.trigger('routeAnimations', [
2623
- animations.transition('* <=> *', [
2624
- // Set a default style for enter and leave
2625
- animations.query(':enter, :leave', [
2626
- animations.style({
2627
- position: 'absolute',
2628
- left: 0,
2629
- width: '100%',
2630
- opacity: 0,
2631
- transform: 'scale(0) translateY(100%)',
2632
- }),
2633
- ], { optional: true }),
2634
- // Animate the new page in
2635
- animations.query(':enter', [
2636
- animations.animate('600ms ease', animations.style({ opacity: 1, transform: 'scale(1) translateY(0)' })),
2637
- ], { optional: true })
2638
- ]),
2639
- ]);
2640
- // function slideTo(direction) {
2641
- // return [
2642
- // query(':enter, :leave', [
2643
- // style({
2644
- // position: 'absolute',
2645
- // top: 0,
2646
- // [direction]: 0,
2647
- // width: '100%'
2648
- // })
2649
- // ], { optional: true }),
2650
- // query(':enter', [
2651
- // style({ [direction]: '-100%'})
2652
- // ], { optional: true }),
2653
- // group([
2654
- // query(':leave', [
2655
- // animate('1000ms ease', style({ [direction]: '100%'}))
2656
- // ], { optional: true }),
2657
- // query(':enter', [
2658
- // animate('1000ms ease', style({ [direction]: '0%'}))
2659
- // ], { optional: true })
2660
- // ]),
2661
- // // Normalize the page style... Might not be necessary
2662
- // // Required only if you have child animations on the page
2663
- // query(':leave', animateChild(), { optional: true }),
2664
- // query(':enter', animateChild(), { optional: true }),
2665
- // ]
2666
- // }
2667
- // TODO: Refactor the slider animation, because AOT or ng-packagr, I haven't
2668
- // looked into what exactly is preventing it, doesn't allow the function call.
2669
- // export const slider =
2670
- // trigger('routeAnimations', [
2671
- // transition('* => isLeft', slideTo('left') ),
2672
- // transition('* => isRight', slideTo('right') ),
2673
- // transition('isRight => *', slideTo('left') ),
2674
- // transition('isLeft => *', slideTo('right') )
2675
- // ])
2676
- // export const contentLeave =
2677
- // trigger('contentLeave', [
2678
- // transition(':leave', [
2679
- // ])
2680
- // ])
2681
- var slider = animations.trigger('routeAnimations', [
2682
- animations.transition('* => isLeft', [
2683
- animations.query('.router-container :enter, .router-container :leave', [
2684
- animations.style({
2685
- position: 'absolute',
2686
- top: 0,
2687
- left: 0,
2688
- width: '100%'
2689
- })
2690
- ], { optional: true }),
2691
- animations.query('.router-container :enter', [
2692
- animations.style({ left: '-100%' })
2693
- ], { optional: true }),
2694
- animations.query('.hierarchy-router-outlet--content', [
2695
- animations.style({ left: '0%', position: 'absolute' })
2696
- ], { optional: true }),
2697
- animations.group([
2698
- animations.query('.router-container :leave', [
2699
- animations.animate('1000ms ease', animations.style({ left: '100%' }))
2700
- ], { optional: true }),
2701
- animations.query('.router-container :enter', [
2702
- animations.animate('1000ms ease', animations.style({ left: '0%' }))
2703
- ], { optional: true }),
2704
- animations.query('.hierarchy-router-outlet--content', [
2705
- animations.animate('1000ms ease', animations.style({ left: '-100%' }))
2706
- ], { optional: true }),
2707
- ]),
2708
- // Normalize the page style... Might not be necessary
2709
- // Required only if you have child animations on the page
2710
- animations.query('.router-container :leave', animations.animateChild(), { optional: true }),
2711
- animations.query('.router-container :enter', animations.animateChild(), { optional: true }),
2712
- ]),
2713
- animations.transition('* => isRight', [
2714
- animations.query('.router-container :enter, .router-container :leave', [
2715
- animations.style({
2716
- position: 'absolute',
2717
- top: 0,
2718
- right: 0,
2719
- width: '100%'
2720
- })
2721
- ], { optional: true }),
2722
- animations.query('.router-container :enter', [
2723
- animations.style({ right: '-100%' })
2724
- ], { optional: true }),
2725
- animations.query('.hierarchy-router-outlet--content', [
2726
- animations.style({ left: '0%', position: 'absolute' })
2727
- ], { optional: true }),
2728
- animations.group([
2729
- animations.query('.router-container :leave', [
2730
- animations.animate('1000ms ease', animations.style({ right: '100%' }))
2731
- ], { optional: true }),
2732
- animations.query('.router-container :enter', [
2733
- animations.animate('1000ms ease', animations.style({ right: '0%' }))
2734
- ], { optional: true }),
2735
- animations.query('.hierarchy-router-outlet--content', [
2736
- animations.animate('1000ms ease', animations.style({ left: '-100%' }))
2737
- ], { optional: true }),
2738
- ]),
2739
- // Normalize the page style... Might not be necessary
2740
- // Required only if you have child animations on the page
2741
- animations.query('.router-container :leave', animations.animateChild(), { optional: true }),
2742
- animations.query('.router-container :enter', animations.animateChild(), { optional: true }),
2743
- ]),
2744
- animations.transition('isRight => *', [
2745
- animations.query('.router-container :enter, .router-container :leave', [
2746
- animations.style({
2747
- position: 'absolute',
2748
- top: 0,
2749
- left: 0,
2750
- width: '100%'
2751
- })
2752
- ], { optional: true }),
2753
- animations.query('.router-container :enter', [
2754
- animations.style({ left: '-100%' })
2755
- ], { optional: true }),
2756
- animations.query('.hierarchy-router-outlet--content', [
2757
- animations.style({ left: '0%', position: 'absolute' })
2758
- ], { optional: true }),
2759
- animations.group([
2760
- animations.query('.router-container :leave', [
2761
- animations.animate('1000ms ease', animations.style({ left: '100%' }))
2762
- ], { optional: true }),
2763
- animations.query('.router-container :enter', [
2764
- animations.animate('1000ms ease', animations.style({ left: '0%' }))
2765
- ], { optional: true }),
2766
- animations.query('.hierarchy-router-outlet--content', [
2767
- animations.animate('1000ms ease', animations.style({ left: '-100%' }))
2768
- ], { optional: true }),
2769
- ]),
2770
- // Normalize the page style... Might not be necessary
2771
- // Required only if you have child animations on the page
2772
- animations.query('.router-container :leave', animations.animateChild(), { optional: true }),
2773
- animations.query('.router-container :enter', animations.animateChild(), { optional: true }),
2774
- ]),
2775
- animations.transition('isLeft => *', [
2776
- animations.query('.router-container :enter, .router-container :leave', [
2777
- animations.style({
2778
- position: 'absolute',
2779
- top: 0,
2780
- right: 0,
2781
- width: '100%'
2782
- })
2783
- ], { optional: true }),
2784
- animations.query('.router-container :enter', [
2785
- animations.style({ right: '-100%' })
2786
- ], { optional: true }),
2787
- animations.group([
2788
- animations.query('.router-container :leave', [
2789
- animations.animate('1000ms ease', animations.style({ right: '100%' }))
2790
- ], { optional: true }),
2791
- animations.query('.router-container :enter', [
2792
- animations.animate('1000ms ease', animations.style({ right: '0%' }))
2793
- ], { optional: true })
2794
- ]),
2795
- // Normalize the page style... Might not be necessary
2796
- // Required only if you have child animations on the page
2797
- animations.query('.router-container :leave', animations.animateChild(), { optional: true }),
2798
- animations.query('.router-container :enter', animations.animateChild(), { optional: true }),
2799
- ])
2800
- ]);
2801
- var transformer = animations.trigger('routeAnimations', [
2802
- animations.transition('* => isLeft', transformTo({ x: -100, y: -100, rotate: -720 })),
2803
- animations.transition('* => isRight', transformTo({ x: 100, y: -100, rotate: 90 })),
2804
- animations.transition('isRight => *', transformTo({ x: -100, y: -100, rotate: 360 })),
2805
- animations.transition('isLeft => *', transformTo({ x: 100, y: -100, rotate: -360 }))
2806
- ]);
2807
- function transformTo(_a) {
2808
- var _b = _a.x, x = _b === void 0 ? 100 : _b, _c = _a.y, y = _c === void 0 ? 0 : _c, _d = _a.rotate, rotate = _d === void 0 ? 0 : _d;
2809
- var optional = { optional: true };
2810
- return [
2811
- animations.query(':enter, :leave', [
2812
- animations.style({
2813
- position: 'absolute',
2814
- top: 0,
2815
- left: 0,
2816
- width: '100%'
2817
- })
2818
- ], optional),
2819
- animations.query(':enter', [
2820
- animations.style({ transform: "translate(" + x + "%, " + y + "%) rotate(" + rotate + "deg)" })
2821
- ], { optional: true }),
2822
- animations.group([
2823
- animations.query(':leave', [
2824
- animations.animate('600ms ease-out', animations.style({ transform: "translate(" + x + "%, " + y + "%) rotate(" + rotate + "deg)" }))
2825
- ], optional),
2826
- animations.query(':enter', [
2827
- animations.animate('600ms ease-out', animations.style({ transform: "translate(0, 0) rotate(0)" }))
2828
- ], { optional: true })
2829
- ]),
2830
- ];
2831
- }
2832
- var stepper = animations.trigger('routeAnimations', [
2833
- animations.transition('* <=> *', [
2834
- animations.query(':enter, :leave', [
2835
- animations.style({
2836
- position: 'absolute',
2837
- left: 0,
2838
- width: '100%',
2839
- }),
2840
- ], { optional: true }),
2841
- animations.group([
2842
- animations.query(':enter', [
2843
- animations.animate('2000ms ease', animations.keyframes([
2844
- animations.style({ transform: 'scale(0) translateX(100%)', offset: 0 }),
2845
- animations.style({ transform: 'scale(0.5) translateX(25%)', offset: 0.3 }),
2846
- animations.style({ transform: 'scale(1) translateX(0%)', offset: 1 }),
2847
- ])),
2848
- ], { optional: true }),
2849
- animations.query(':leave', [
2850
- animations.animate('2000ms ease', animations.keyframes([
2851
- animations.style({ transform: 'scale(1)', offset: 0 }),
2852
- animations.style({ transform: 'scale(0.5) translateX(-25%) rotate(0)', offset: 0.35 }),
2853
- animations.style({ opacity: 0, transform: 'translateX(-50%) rotate(-180deg) scale(6)', offset: 1 }),
2854
- ])),
2855
- ], { optional: true })
2856
- ]),
2857
- ])
2858
- ]);
2859
- var sideToSide = animations.trigger('routeAnimations', [
2860
- animations.transition('* => *', [
2861
- animations.style({
2862
- position: 'fixed',
2863
- width: '100%',
2864
- transform: 'translateX(-100%)'
2865
- }),
2866
- animations.animate('1000ms ease', animations.style({ transform: 'translateX(0%)' }))
2867
- ]),
2868
- animations.transition(':leave', [
2869
- animations.style({
2870
- position: 'fixed',
2871
- width: '100%',
2872
- transform: 'translateX(0%)'
2873
- }),
2874
- animations.animate('1000ms ease', animations.style({ transform: 'translateX(-100%)' }))
2875
- ])
2876
- ]);
2877
-
2878
- function routeChanges(router$1) {
2879
- return router$1.events.pipe(operators.filter(function (event) { return event instanceof router.NavigationStart || event instanceof router.NavigationEnd; }), operators.distinctUntilChanged(function (x, y) { return x.id === y.id; }), operators.map(function (event) { return ({ url: event.url }); }));
2880
- }
2881
- //
2882
- // TODO: Animation improvement: Try adding a full component animation that
2883
- // queries the <ng-content> and <router-outlet> blocks. When the outlet
2884
- // activates, set the animation state to a transition that moves both blocks
2885
- // together.
2886
- //
2887
- var _uid = 0;
2888
- var HierarchyRouterOutletComponent = /** @class */ (function () {
2889
- function HierarchyRouterOutletComponent(_route, _router) {
2890
- this._route = _route;
2891
- this._router = _router;
2892
- this._uid = _uid++;
2893
- this._ngUnsubscribe = new rxjs.Subject();
2894
- this.animState = 'isRight';
2895
- // animState = ''
2896
- this.outletActive = false;
2897
- this.ngContentVisible = true;
2898
- this._router.events.pipe(operators.filter(function (event) { return event instanceof router.NavigationEnd; }),
2899
- // tap(v => console.log(`_hasChildren()[${this._uid}]`, this._hasChildren())),
2900
- operators.takeUntil(this._ngUnsubscribe))
2901
- .subscribe();
2902
- // routeChanges(this._router)
2903
- // .pipe(
2904
- // untilDestroyed(this),
2905
- // tap(() => {
2906
- // // if (this._hasChildren()) {
2907
- // // this.animState = 'isLeft'
2908
- // // } else {
2909
- // // this.animState = 'isRight'
2910
- // // }
2911
- // })
2912
- // )
2913
- // .subscribe(v => console.log(`routeChanges[${this._uid}]`, v))
2914
- }
2915
- HierarchyRouterOutletComponent.prototype.ngOnInit = function () { };
2916
- HierarchyRouterOutletComponent.prototype.ngOnDestroy = function () {
2917
- this._ngUnsubscribe.next();
2918
- this._ngUnsubscribe.complete();
2919
- };
2920
- HierarchyRouterOutletComponent.prototype._hasChildren = function () {
2921
- var count = this._route.pathFromRoot.length - 1;
2922
- var countFull = 0;
2923
- if (this._router.parseUrl(this._router.url).root.children.primary) {
2924
- countFull = this._router.parseUrl(this._router.url).root.children.primary.segments.length;
2925
- }
2926
- // console.log(`_hasChildren[${this._uid}]`, { count, countFull })
2927
- return countFull > count;
2928
- };
2929
- HierarchyRouterOutletComponent.prototype.prepareRoute = function (outlet) {
2930
- // console.log(`outlet[${this._uid}]`, outlet, this.animState, this._hasChildren(), this.outletActive)
2931
- if (outlet.isActivated) {
2932
- // console.log(outlet.isActivated)
2933
- // console.log(outlet.component)
2934
- console.log(this.animState);
2935
- return this.animState;
2936
- }
2937
- else {
2938
- return undefined;
2939
- }
2940
- // console.log(`prepareRoute[${this._uid}]`, this.animState, this._hasChildren())
2941
- // console.log('activatedRouteData', outlet && outlet.activatedRouteData)
2942
- // if (outlet && outlet.isActivated) {
2943
- // console.log('activatedRoute', outlet.activatedRoute && outlet.activatedRoute.snapshot.url)
2944
- // }
2945
- // return outlet && outlet.activatedRouteData && outlet.activatedRouteData['animation']
2946
- // console.log('')
2947
- // return this.animState
2948
- };
2949
- HierarchyRouterOutletComponent.prototype.outletActivate = function (event) {
2950
- // console.log(`outletActivate[${this._uid}]`, event)
2951
- this.outletActive = true;
2952
- };
2953
- HierarchyRouterOutletComponent.prototype.outletDeactivate = function (event) {
2954
- // console.log(`outletDeactivate[${this._uid}]`, event)
2955
- this.outletActive = false;
2956
- };
2957
- HierarchyRouterOutletComponent.prototype.routeAnimationsStart = function (event) {
2958
- // console.log('routeAnimationsStart', event)
2959
- this.ngContentVisible = true;
2960
- };
2961
- HierarchyRouterOutletComponent.prototype.routeAnimationsDone = function (event) {
2962
- // console.log('routeAnimationsDone', event)
2963
- this.ngContentVisible = !this.outletActive;
2964
- };
2965
- return HierarchyRouterOutletComponent;
2966
- }());
2967
- HierarchyRouterOutletComponent.decorators = [
2968
- { type: i0.Component, args: [{
2969
- selector: 'seam-hierarchy-router-outlet',
2970
- template: "<div class=\"h-100\"\n [@routeAnimations]=\"prepareRoute(outlet)\"\n (@routeAnimations.start)=\"routeAnimationsStart($event)\"\n (@routeAnimations.done)=\"routeAnimationsDone($event)\">\n <div class=\"hierarchy-router-outlet--content h-100\" *ngIf=\"ngContentVisible\">\n <!-- {{ animState }} -->\n <div class=\"border border-info h-100\">\n <ng-content></ng-content>\n </div>\n </div>\n <div class=\"router-container\"\n [class.h-100]=\"!ngContentVisible\"\n >\n <!-- <div [@routeAnimations]=\"animState\"> -->\n <!-- <div class=\"hierarchy-router-outlet--route-content\"> -->\n <router-outlet #outlet=\"outlet\"\n (activate)=\"outletActivate($event)\"\n (deactivate)=\"outletDeactivate($event)\">\n </router-outlet>\n </div>\n</div>\n",
2971
- animations: [
2972
- // fader,
2973
- slider,
2974
- // transformer,
2975
- // stepper,
2976
- // sideToSide
2977
- // contentLeave
2978
- ],
2979
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2980
- styles: [":host{display:block;height:100%}:host ::ng-deep router-outlet+*{background-color:#fff;height:100%}\n"]
2981
- },] }
2982
- ];
2983
- HierarchyRouterOutletComponent.ctorParameters = function () { return [
2984
- { type: router.ActivatedRoute },
2985
- { type: router.Router }
2986
- ]; };
2987
-
2988
- var HierarchyLevelResolver = /** @class */ (function () {
2989
- function HierarchyLevelResolver() {
2990
- }
2991
- HierarchyLevelResolver.prototype.resolve = function (route, state) {
2992
- // console.log('[HierarchyLevelResolver]', route)
2993
- // console.log('[HierarchyLevelResolver]', state)
2994
- return this._getMaxHierLevel(route);
2995
- };
2996
- HierarchyLevelResolver.prototype._getMaxHierLevel = function (route) {
2997
- var curr = route;
2998
- while (curr.parent) {
2999
- curr = curr.parent;
3000
- if (curr.data['hierLevel']) {
3001
- return curr.data['hierLevel'] + 1;
3002
- }
3003
- }
3004
- return 0;
3005
- };
3006
- return HierarchyLevelResolver;
3007
- }());
3008
- HierarchyLevelResolver.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function HierarchyLevelResolver_Factory() { return new HierarchyLevelResolver(); }, token: HierarchyLevelResolver, providedIn: "root" });
3009
- HierarchyLevelResolver.decorators = [
3010
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
3011
- ];
3012
- HierarchyLevelResolver.ctorParameters = function () { return []; };
3013
-
3014
- var TheSeamDynamicRouterModule = /** @class */ (function () {
3015
- function TheSeamDynamicRouterModule() {
3016
- }
3017
- return TheSeamDynamicRouterModule;
3018
- }());
3019
- TheSeamDynamicRouterModule.decorators = [
3020
- { type: i0.NgModule, args: [{
3021
- declarations: [
3022
- HierarchyRouterOutletComponent
3023
- ],
3024
- imports: [
3025
- common.CommonModule,
3026
- router.RouterModule
3027
- ],
3028
- exports: [
3029
- HierarchyRouterOutletComponent
3030
- ]
3031
- },] }
3032
- ];
3033
-
3034
- var TheSeamSchemaFormCheckboxComponent = /** @class */ (function () {
3035
- function TheSeamSchemaFormCheckboxComponent(jsf) {
3036
- this.jsf = jsf;
3037
- this.controlDisabled = false;
3038
- this.boundControl = false;
3039
- this.trueValue = true;
3040
- this.falseValue = false;
3041
- }
3042
- TheSeamSchemaFormCheckboxComponent.prototype.ngOnInit = function () {
3043
- this.options = this.layoutNode.options || {};
3044
- this.jsf.initializeControl(this);
3045
- if (this.controlValue === null || this.controlValue === undefined) {
3046
- this.controlValue = this.options.title;
3047
- }
3048
- };
3049
- TheSeamSchemaFormCheckboxComponent.prototype.updateValue = function (event) {
3050
- event.preventDefault();
3051
- this.jsf.updateValue(this, event.target.checked ? this.trueValue : this.falseValue);
3052
- };
3053
- Object.defineProperty(TheSeamSchemaFormCheckboxComponent.prototype, "isChecked", {
3054
- get: function () {
3055
- return this.jsf.getFormControlValue(this) === this.trueValue;
3056
- },
3057
- enumerable: false,
3058
- configurable: true
3059
- });
3060
- return TheSeamSchemaFormCheckboxComponent;
3061
- }());
3062
- TheSeamSchemaFormCheckboxComponent.decorators = [
3063
- { type: i0.Component, args: [{
3064
- selector: 'seam-schema-form-checkbox',
3065
- template: "<div class=\"mb-3\">\n <seam-form-field *ngIf=\"boundControl\">\n <seam-checkbox seamInput\n [formControl]=\"$any(formControl)\"\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\" [required]=\"options?.required\"></seam-form-field-required-indicator>\n </seam-checkbox>\n </seam-form-field>\n\n <seam-form-field *ngIf=\"!boundControl\">\n <seam-checkbox seamInput\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n [value]=\"controlValue\"\n (change)=\"updateValue($event)\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\" [required]=\"options?.required\"></seam-form-field-required-indicator>\n </seam-checkbox>\n </seam-form-field>\n</div>\n",
3066
- styles: [""]
3067
- },] }
3068
- ];
3069
- TheSeamSchemaFormCheckboxComponent.ctorParameters = function () { return [
3070
- { type: core$1.JsonSchemaFormService }
3071
- ]; };
3072
- TheSeamSchemaFormCheckboxComponent.propDecorators = {
3073
- layoutNode: [{ type: i0.Input }],
3074
- layoutIndex: [{ type: i0.Input }],
3075
- dataIndex: [{ type: i0.Input }]
3076
- };
3077
-
3078
- var TheSeamSchemaFormInputComponent = /** @class */ (function () {
3079
- function TheSeamSchemaFormInputComponent(jsf) {
3080
- this.jsf = jsf;
3081
- this.controlDisabled = false;
3082
- this.boundControl = false;
3083
- this.autoCompleteList = [];
3084
- }
3085
- TheSeamSchemaFormInputComponent.prototype.ngOnInit = function () {
3086
- this.options = this.layoutNode.options || {};
3087
- this.jsf.initializeControl(this);
3088
- };
3089
- TheSeamSchemaFormInputComponent.prototype.updateValue = function (event) {
3090
- this.jsf.updateValue(this, event.target.value);
3091
- };
3092
- return TheSeamSchemaFormInputComponent;
3093
- }());
3094
- TheSeamSchemaFormInputComponent.decorators = [
3095
- { type: i0.Component, args: [{
3096
- selector: 'seam-schema-form-input',
3097
- template: "<seam-form-field *ngIf=\"boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <input seamInput\n [formControl]=\"$any(formControl)\"\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.list]=\"'control' + layoutNode?._id + 'Autocomplete'\"\n [attr.maxlength]=\"options?.maxLength\"\n [attr.minlength]=\"options?.minLength\"\n [attr.pattern]=\"options?.pattern\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? 'readonly' : null\"\n [type]=\"layoutNode?.type\">\n <datalist *ngIf=\"options?.typeahead?.source\"\n [id]=\"'control' + layoutNode?._id + 'Autocomplete'\">\n <option *ngFor=\"let word of options?.typeahead?.source\" [value]=\"word\">\n </datalist>\n</seam-form-field>\n\n<seam-form-field *ngIf=\"!boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <input seamInput\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n [value]=\"controlValue\"\n (input)=\"updateValue($event)\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.list]=\"'control' + layoutNode?._id + 'Autocomplete'\"\n [attr.maxlength]=\"options?.maxLength\"\n [attr.minlength]=\"options?.minLength\"\n [attr.pattern]=\"options?.pattern\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? 'readonly' : null\"\n [type]=\"layoutNode?.type\"\n [disabled]=\"controlDisabled\">\n <datalist *ngIf=\"options?.typeahead?.source\"\n [id]=\"'control' + layoutNode?._id + 'Autocomplete'\">\n <option *ngFor=\"let word of options?.typeahead?.source\" [value]=\"word\">\n </datalist>\n</seam-form-field>\n",
3098
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
3099
- styles: [":host{display:block}\n"]
3100
- },] }
3101
- ];
3102
- TheSeamSchemaFormInputComponent.ctorParameters = function () { return [
3103
- { type: core$1.JsonSchemaFormService }
3104
- ]; };
3105
- TheSeamSchemaFormInputComponent.propDecorators = {
3106
- layoutNode: [{ type: i0.Input }],
3107
- layoutIndex: [{ type: i0.Input }],
3108
- dataIndex: [{ type: i0.Input }]
3109
- };
3110
-
3111
- var TheSeamSchemaFormNumberComponent = /** @class */ (function () {
3112
- function TheSeamSchemaFormNumberComponent(jsf) {
3113
- this.jsf = jsf;
3114
- this.controlDisabled = false;
3115
- this.boundControl = false;
3116
- this.allowNegative = true;
3117
- this.allowDecimal = true;
3118
- this.allowExponents = false;
3119
- this.lastValidNumber = '';
3120
- }
3121
- TheSeamSchemaFormNumberComponent.prototype.ngOnInit = function () {
3122
- this.options = this.layoutNode.options || {};
3123
- this.jsf.initializeControl(this);
3124
- if (this.layoutNode.dataType === 'integer') {
3125
- this.allowDecimal = false;
3126
- }
3127
- };
3128
- TheSeamSchemaFormNumberComponent.prototype.updateValue = function (event) {
3129
- this.jsf.updateValue(this, event.target.value);
3130
- };
3131
- return TheSeamSchemaFormNumberComponent;
3132
- }());
3133
- TheSeamSchemaFormNumberComponent.decorators = [
3134
- { type: i0.Component, args: [{
3135
- selector: 'seam-schema-form-number',
3136
- template: "<seam-form-field *ngIf=\"boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <input seamInput\n [formControl]=\"$any(formControl)\"\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n [attr.max]=\"options?.maximum\"\n [attr.min]=\"options?.minimum\"\n [attr.step]=\"options?.multipleOf || options?.step || 'any'\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.list]=\"'control' + layoutNode?._id + 'Autocomplete'\"\n [attr.maxlength]=\"options?.maxLength\"\n [attr.minlength]=\"options?.minLength\"\n [attr.pattern]=\"options?.pattern\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? 'readonly' : null\"\n [type]=\"layoutNode?.type === 'range' ? 'range' : 'number'\">\n <span *ngIf=\"layoutNode?.type === 'range'\" [innerHTML]=\"controlValue\"></span>\n</seam-form-field>\n\n<seam-form-field *ngIf=\"!boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <input seamInput\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n [attr.max]=\"options?.maximum\"\n [attr.min]=\"options?.minimum\"\n [attr.step]=\"options?.multipleOf || options?.step || 'any'\"\n [value]=\"controlValue\"\n (input)=\"updateValue($event)\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.list]=\"'control' + layoutNode?._id + 'Autocomplete'\"\n [attr.maxlength]=\"options?.maxLength\"\n [attr.minlength]=\"options?.minLength\"\n [attr.pattern]=\"options?.pattern\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? 'readonly' : null\"\n [type]=\"layoutNode?.type === 'range' ? 'range' : 'number'\"\n [disabled]=\"controlDisabled\">\n <span *ngIf=\"layoutNode?.type === 'range'\" [innerHTML]=\"controlValue\"></span>\n</seam-form-field>\n",
3137
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
3138
- styles: [":host{display:block}\n"]
3139
- },] }
3140
- ];
3141
- TheSeamSchemaFormNumberComponent.ctorParameters = function () { return [
3142
- { type: core$1.JsonSchemaFormService }
3143
- ]; };
3144
- TheSeamSchemaFormNumberComponent.propDecorators = {
3145
- layoutNode: [{ type: i0.Input }],
3146
- layoutIndex: [{ type: i0.Input }],
3147
- dataIndex: [{ type: i0.Input }]
3148
- };
3149
-
3150
- var TheSeamSchemaFormSelectComponent = /** @class */ (function () {
3151
- function TheSeamSchemaFormSelectComponent(jsf) {
3152
- this.jsf = jsf;
3153
- this.controlDisabled = false;
3154
- this.boundControl = false;
3155
- this.selectList = [];
3156
- this.isArray = core$1.isArray;
3157
- }
3158
- TheSeamSchemaFormSelectComponent.prototype.ngOnInit = function () {
3159
- this.options = this.layoutNode.options || {};
3160
- this.selectList = core$1.buildTitleMap(this.options.titleMap || this.options.enumNames, this.options.enum, !!this.options.required, !!this.options.flatList);
3161
- this.jsf.initializeControl(this);
3162
- };
3163
- TheSeamSchemaFormSelectComponent.prototype.updateValue = function (event) {
3164
- this.jsf.updateValue(this, event.value);
3165
- };
3166
- return TheSeamSchemaFormSelectComponent;
3167
- }());
3168
- TheSeamSchemaFormSelectComponent.decorators = [
3169
- { type: i0.Component, args: [{
3170
- selector: 'seam-schema-form-select',
3171
- template: "<seam-form-field *ngIf=\"boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <ng-select seamInput\n [formControl]=\"$any(formControl)\"\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [required]=\"options?.required\"\n [items]=\"selectList\"\n bindLabel=\"name\"\n bindValue=\"value\"\n [clearable]=\"false\"\n appendTo=\"body\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? true : false\">\n <ng-template ng-label-tmp let-item=\"item\">\n <span [innerHTML]=\"item.name\"></span>\n </ng-template>\n <ng-template ng-option-tmp let-item=\"item\" let-index=\"index\">\n <span [innerHTML]=\"item.name\"></span>\n </ng-template>\n </ng-select>\n</seam-form-field>\n\n<seam-form-field *ngIf=\"!boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <ng-select seamInput\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [required]=\"options?.required\"\n [items]=\"selectList\"\n bindLabel=\"name\"\n bindValue=\"value\"\n [clearable]=\"false\"\n (change)=\"updateValue($event)\"\n appendTo=\"body\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? true : false\"\n [disabled]=\"controlDisabled\">\n <ng-template ng-option-tmp let-item=\"item\" let-index=\"index\">\n <span [innerHTML]=\"item.name\"></span>\n </ng-template>\n </ng-select>\n</seam-form-field>\n",
3172
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
3173
- styles: [":host{display:block}\n"]
3174
- },] }
3175
- ];
3176
- TheSeamSchemaFormSelectComponent.ctorParameters = function () { return [
3177
- { type: core$1.JsonSchemaFormService }
3178
- ]; };
3179
- TheSeamSchemaFormSelectComponent.propDecorators = {
3180
- layoutNode: [{ type: i0.Input }],
3181
- layoutIndex: [{ type: i0.Input }],
3182
- dataIndex: [{ type: i0.Input }]
3183
- };
3184
-
3185
- // NOTE: This component is a little hacky, because I am basically creating a
3186
- // data widget that acts like a data and 'submit' widget at the same time.
3187
- //
3188
- // TODO: Try and think of a nicer way to implement this, but still make sense
3189
- // from a schema definition. The library may need to me forked to actually
3190
- // support this in the way I expect, but maybe there is another way.
3191
- var TheSeamSchemaFormSubmitSplitComponent = /** @class */ (function () {
3192
- function TheSeamSchemaFormSubmitSplitComponent(jsf) {
3193
- this.jsf = jsf;
3194
- /** @ignore */
3195
- this._ngUnsubscribe = new rxjs.Subject();
3196
- this.controlDisabled = false;
3197
- this.boundControl = false;
3198
- this._buttonLabel = '';
3199
- this._dropdownDisabled = false;
3200
- this._selectList = [];
3201
- }
3202
- /** @ignore */
3203
- TheSeamSchemaFormSubmitSplitComponent.prototype.ngOnInit = function () {
3204
- var _this = this;
3205
- this.options = this.layoutNode.options || {};
3206
- this.jsf.initializeControl(this);
3207
- // NOTE: This is commented out, because there is a bug with submit widgets
3208
- // manually defined in layout. All nodes initialized from the provided
3209
- // layout have their options populated from the defaults and 'disabled' is
3210
- // on of the default properties, so the 'disableInvalidSubmit' condition
3211
- // never gets reached.
3212
- //
3213
- // My initial idea for fixing would be to check if the disabled property
3214
- // exists and is a boolean, or possibly anything defined that can coerce
3215
- // into a boolean. I can't think of a reason disabled should be anything
3216
- // else, so that may be an acceptable fix, but I don't want to enable that
3217
- // yet.
3218
- //
3219
- // if (hasOwn(this.options, 'disabled')) {
3220
- // console.log('[TheSeamSchemaFormSubmitSplitComponent] hasDisabled', this.options.disabled)
3221
- // this.controlDisabled = this.options.disabled
3222
- // } else
3223
- if (this.jsf.formOptions.disableInvalidSubmit) {
3224
- this.controlDisabled = !this.jsf.isValid;
3225
- this.jsf.isValidChanges.subscribe(function (isValid) { return _this.controlDisabled = !isValid; });
3226
- }
3227
- if (this.controlValue === null || this.controlValue === undefined) {
3228
- this.controlValue = this.options.title;
3229
- }
3230
- if (core$1.hasOwn(this.options, 'title')) {
3231
- this._buttonLabel = this.options.title;
3232
- }
3233
- this._initDropdown();
3234
- // console.log('this', this)
3235
- };
3236
- /** @ignore */
3237
- TheSeamSchemaFormSubmitSplitComponent.prototype.ngOnDestroy = function () {
3238
- this._ngUnsubscribe.next();
3239
- this._ngUnsubscribe.complete();
3240
- };
3241
- TheSeamSchemaFormSubmitSplitComponent.prototype.updateValue = function (event) {
3242
- if (typeof this.options.onClick === 'function') {
3243
- this.options.onClick(event);
3244
- }
3245
- else {
3246
- this.jsf.updateValue(this, event.target.value);
3247
- }
3248
- };
3249
- TheSeamSchemaFormSubmitSplitComponent.prototype._initDropdown = function () {
3250
- var _this = this;
3251
- var _a;
3252
- if (!core$1.hasOwn(this.layoutNode, 'items') || !(this.layoutNode.items || []).length) {
3253
- return;
3254
- }
3255
- if (i0.isDevMode()) {
3256
- if (this.layoutNode.items.length > 1) {
3257
- console.warn("TheSeamSchemaFormSubmitSplitComponent only supports one item." +
3258
- " items after index 0 will be ignored.");
3259
- }
3260
- }
3261
- var idx = 0;
3262
- var item = this.layoutNode.items[idx];
3263
- this._dropdownObj = {
3264
- layoutNode: item,
3265
- layoutIndex: (this.layoutIndex || []).concat(idx),
3266
- dataIndex: ((_a = this.layoutNode) === null || _a === void 0 ? void 0 : _a.dataType) === 'array' ? (this.dataIndex || []).concat(idx) : this.dataIndex,
3267
- options: item.options || {}
3268
- };
3269
- this.jsf.initializeControl(this._dropdownObj);
3270
- var items = core$1.buildTitleMap(this._dropdownObj.options.titleMap || this._dropdownObj.options.enumNames, this._dropdownObj.options.enum, !!this._dropdownObj.options.required, !!this._dropdownObj.options.flatList);
3271
- this._selectList = items;
3272
- // TODO: Should this be checking if the control is bound?
3273
- var dropdownControl = this._getDropdownControl();
3274
- if (!dropdownControl) {
3275
- return;
3276
- }
3277
- utils.observeControlValue(dropdownControl).pipe(operators.takeUntil(this._ngUnsubscribe)).subscribe(function (value) {
3278
- _this._setSelectListCheckedProp(value);
3279
- _this._selectedItem = _this._getSelectedItem();
3280
- });
3281
- utils.observeControlStatus(dropdownControl).pipe(operators.takeUntil(this._ngUnsubscribe)).subscribe(function (value) {
3282
- _this._dropdownDisabled = dropdownControl.disabled;
3283
- });
3284
- };
3285
- TheSeamSchemaFormSubmitSplitComponent.prototype._getDropdownControl = function () {
3286
- return this._dropdownObj.formControl;
3287
- };
3288
- TheSeamSchemaFormSubmitSplitComponent.prototype._setSelectListCheckedProp = function (value) {
3289
- var e_1, _b;
3290
- var items = this._selectList;
3291
- try {
3292
- for (var items_1 = __values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
3293
- var item = items_1_1.value;
3294
- if (item.value === value) {
3295
- item.checked = true;
3296
- }
3297
- else if (item.checked) {
3298
- item.checked = false;
3299
- }
3300
- }
3301
- }
3302
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3303
- finally {
3304
- try {
3305
- if (items_1_1 && !items_1_1.done && (_b = items_1.return)) _b.call(items_1);
3306
- }
3307
- finally { if (e_1) throw e_1.error; }
3308
- }
3309
- this._selectList = __spreadArray([], __read(items));
3310
- };
3311
- TheSeamSchemaFormSubmitSplitComponent.prototype._getSelectedItem = function () {
3312
- return (this._selectList || []).find(function (x) { return x.checked === true; });
3313
- };
3314
- TheSeamSchemaFormSubmitSplitComponent.prototype._setDropdownValue = function (value) {
3315
- var formControl = this._getDropdownControl();
3316
- formControl === null || formControl === void 0 ? void 0 : formControl.setValue(value);
3317
- };
3318
- return TheSeamSchemaFormSubmitSplitComponent;
3319
- }());
3320
- TheSeamSchemaFormSubmitSplitComponent.decorators = [
3321
- { type: i0.Component, args: [{
3322
- selector: 'seam-schema-form-submit-split',
3323
- template: "<div\n [class]=\"options?.htmlClass || ''\">\n <div [class.btn-group]=\"_dropdownObj\">\n <button seamButton theme=\"primary\" type=\"submit\"\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.readonly]=\"options?.readonly ? 'readonly' : null\"\n [attr.required]=\"options?.required\"\n [class]=\"'btn btn-primary ' + (options?.fieldHtmlClass || '')\"\n [disabled]=\"controlDisabled\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [value]=\"controlValue\"\n (click)=\"updateValue($event)\">\n {{ _buttonLabel }}\n <span *ngIf=\"_selectedItem\">\n [{{ _selectedItem.name }}]\n </span>\n </button>\n <ng-container *ngIf=\"_dropdownObj\">\n <button\n [seamMenuToggle]=\"menu\" seamButton theme=\"primary\"\n class=\"dropdown-toggle dropdown-toggle-split\"\n [disabled]=\"_dropdownDisabled\">\n <span class=\"sr-only\">Toggle Dropdown</span>\n </button>\n <seam-menu #menu>\n <ng-container *ngFor=\"let item of _selectList\">\n <button seamMenuItem\n [class.active]=\"item.checked\"\n (click)=\"_setDropdownValue(item.value)\">\n {{ item.name }}\n </button>\n </ng-container>\n </seam-menu>\n </ng-container>\n </div>\n</div>\n",
3324
- styles: [":host{display:block}\n"]
3325
- },] }
3326
- ];
3327
- TheSeamSchemaFormSubmitSplitComponent.ctorParameters = function () { return [
3328
- { type: core$1.JsonSchemaFormService }
3329
- ]; };
3330
- TheSeamSchemaFormSubmitSplitComponent.propDecorators = {
3331
- layoutNode: [{ type: i0.Input }],
3332
- layoutIndex: [{ type: i0.Input }],
3333
- dataIndex: [{ type: i0.Input }]
3334
- };
3335
-
3336
- var TheSeamSchemaFormFrameworkComponent = /** @class */ (function () {
3337
- function TheSeamSchemaFormFrameworkComponent() {
3338
- }
3339
- return TheSeamSchemaFormFrameworkComponent;
3340
- }());
3341
- TheSeamSchemaFormFrameworkComponent.decorators = [
3342
- { type: i0.Component, args: [{
3343
- selector: 'seam-schema-form-framework',
3344
- template: "<select-widget-widget\n [dataIndex]=\"$any(dataIndex)\"\n [layoutIndex]=\"$any(layoutIndex)\"\n [layoutNode]=\"layoutNode\">\n</select-widget-widget>\n",
3345
- styles: [""]
3346
- },] }
3347
- ];
3348
- TheSeamSchemaFormFrameworkComponent.propDecorators = {
3349
- layoutNode: [{ type: i0.Input }],
3350
- layoutIndex: [{ type: i0.Input }],
3351
- dataIndex: [{ type: i0.Input }]
3352
- };
3353
-
3354
- var TheSeamFramework = /** @class */ (function (_super) {
3355
- __extends(TheSeamFramework, _super);
3356
- function TheSeamFramework() {
3357
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
3358
- _this.name = 'seam-framework';
3359
- _this.framework = TheSeamSchemaFormFrameworkComponent;
3360
- _this.widgets = {
3361
- 'checkbox': TheSeamSchemaFormCheckboxComponent,
3362
- // 'submit': TheSeamSchemaFormSubmitComponent,
3363
- 'submit': TheSeamSchemaFormSubmitSplitComponent,
3364
- 'text': TheSeamSchemaFormInputComponent,
3365
- 'number': TheSeamSchemaFormNumberComponent,
3366
- 'select': TheSeamSchemaFormSelectComponent
3367
- };
3368
- return _this;
3369
- }
3370
- return TheSeamFramework;
3371
- }(core$1.Framework));
3372
- TheSeamFramework.decorators = [
3373
- { type: i0.Injectable }
3374
- ];
3375
-
3376
- var TheSeamSchemaFormSubmitComponent = /** @class */ (function () {
3377
- function TheSeamSchemaFormSubmitComponent(jsf) {
3378
- this.jsf = jsf;
3379
- this.controlDisabled = false;
3380
- this.boundControl = false;
3381
- }
3382
- TheSeamSchemaFormSubmitComponent.prototype.ngOnInit = function () {
3383
- var _this = this;
3384
- this.options = this.layoutNode.options || {};
3385
- this.jsf.initializeControl(this);
3386
- if (core$1.hasOwn(this.options, 'disabled')) {
3387
- this.controlDisabled = this.options.disabled;
3388
- }
3389
- else if (this.jsf.formOptions.disableInvalidSubmit) {
3390
- this.controlDisabled = !this.jsf.isValid;
3391
- this.jsf.isValidChanges.subscribe(function (isValid) { return _this.controlDisabled = !isValid; });
3392
- }
3393
- if (this.controlValue === null || this.controlValue === undefined) {
3394
- this.controlValue = this.options.title;
3395
- }
3396
- };
3397
- TheSeamSchemaFormSubmitComponent.prototype.updateValue = function (event) {
3398
- if (typeof this.options.onClick === 'function') {
3399
- this.options.onClick(event);
3400
- }
3401
- else {
3402
- this.jsf.updateValue(this, event.target.value);
3403
- }
3404
- };
3405
- return TheSeamSchemaFormSubmitComponent;
3406
- }());
3407
- TheSeamSchemaFormSubmitComponent.decorators = [
3408
- { type: i0.Component, args: [{
3409
- selector: 'seam-schema-form-submit',
3410
- template: "<div\n [class]=\"options?.htmlClass || ''\">\n <input\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.readonly]=\"options?.readonly ? 'readonly' : null\"\n [attr.required]=\"options?.required\"\n [class]=\"'btn btn-primary ' + (options?.fieldHtmlClass || '')\"\n [disabled]=\"controlDisabled\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [type]=\"layoutNode?.type\"\n [value]=\"controlValue\"\n (click)=\"updateValue($event)\">\n</div>\n"
3411
- },] }
3412
- ];
3413
- TheSeamSchemaFormSubmitComponent.ctorParameters = function () { return [
3414
- { type: core$1.JsonSchemaFormService }
3415
- ]; };
3416
- TheSeamSchemaFormSubmitComponent.propDecorators = {
3417
- layoutNode: [{ type: i0.Input }],
3418
- layoutIndex: [{ type: i0.Input }],
3419
- dataIndex: [{ type: i0.Input }]
3420
- };
3421
-
3422
- var controls = [
3423
- TheSeamSchemaFormCheckboxComponent,
3424
- TheSeamSchemaFormSubmitComponent,
3425
- TheSeamSchemaFormSelectComponent,
3426
- TheSeamSchemaFormInputComponent,
3427
- TheSeamSchemaFormNumberComponent,
3428
- TheSeamSchemaFormSubmitSplitComponent
3429
- ];
3430
- var TheSeamSchemaFormControlsModule = /** @class */ (function () {
3431
- function TheSeamSchemaFormControlsModule() {
3432
- }
3433
- return TheSeamSchemaFormControlsModule;
3434
- }());
3435
- TheSeamSchemaFormControlsModule.decorators = [
3436
- { type: i0.NgModule, args: [{
3437
- declarations: __spreadArray([], __read(controls)),
3438
- imports: [
3439
- common.CommonModule,
3440
- forms.ReactiveFormsModule,
3441
- core$1.JsonSchemaFormModule,
3442
- formField.TheSeamFormFieldModule,
3443
- checkbox.TheSeamCheckboxModule,
3444
- menu.TheSeamMenuModule,
3445
- buttons.TheSeamButtonsModule,
3446
- ngSelect.NgSelectModule
3447
- ],
3448
- exports: __spreadArray(__spreadArray([], __read(controls)), [
3449
- core$1.JsonSchemaFormModule
3450
- ]),
3451
- entryComponents: __spreadArray([], __read(controls))
3452
- },] }
3453
- ];
3454
-
3455
- var TheSeamSchemaFormModule = /** @class */ (function () {
3456
- function TheSeamSchemaFormModule() {
3457
- }
3458
- return TheSeamSchemaFormModule;
3459
- }());
3460
- TheSeamSchemaFormModule.decorators = [
3461
- { type: i0.NgModule, args: [{
3462
- declarations: [
3463
- TheSeamSchemaFormFrameworkComponent
3464
- ],
3465
- imports: [
3466
- common.CommonModule,
3467
- core$1.JsonSchemaFormModule,
3468
- TheSeamSchemaFormControlsModule,
3469
- core$1.WidgetLibraryModule,
3470
- ],
3471
- providers: [
3472
- core$1.JsonSchemaFormService,
3473
- core$1.FrameworkLibraryService,
3474
- core$1.WidgetLibraryService,
3475
- { provide: core$1.Framework, useClass: TheSeamFramework, multi: true }
3476
- ],
3477
- exports: [
3478
- TheSeamSchemaFormFrameworkComponent,
3479
- core$1.JsonSchemaFormModule
3480
- ],
3481
- entryComponents: [
3482
- TheSeamSchemaFormFrameworkComponent
3483
- ]
3484
- },] }
3485
- ];
3486
-
3487
- function isHorizontalNavItemType(item, type) {
3488
- return item.itemType === type;
3489
- }
3490
- function isHorizontalNavItemActive(item) {
3491
- var _a, _b;
3492
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.active) !== null && _b !== void 0 ? _b : false;
3493
- }
3494
- function isHorizontalNavItemExpanded(item) {
3495
- var _a, _b;
3496
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.expanded) !== null && _b !== void 0 ? _b : false;
3497
- }
3498
- function isHorizontalNavItemFocused(item) {
3499
- var _a, _b;
3500
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.focused) !== null && _b !== void 0 ? _b : false;
3501
- }
3502
- function horizontalNavItemHasChildren(item) {
3503
- return horizontalNavItemCanHaveChildren(item) && utils.hasProperty(item, 'children') && item.children.length > 0;
3504
- }
3505
- function horizontalNavItemCanHaveChildren(item) {
3506
- return isHorizontalNavItemType(item, 'basic') || isHorizontalNavItemType(item, 'link');
3507
- }
3508
- function horizontalNavItemHasActiveChild(item) {
3509
- var e_1, _c;
3510
- if (!horizontalNavItemHasChildren(item)) {
3511
- return false;
3512
- }
3513
- try {
3514
- for (var _d = __values(item.children), _e = _d.next(); !_e.done; _e = _d.next()) {
3515
- var child = _e.value;
3516
- if (getHorizontalNavItemStateProp(child, 'active') || horizontalNavItemHasActiveChild(child)) {
3517
- return true;
3518
- }
3519
- }
3520
- }
3521
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3522
- finally {
3523
- try {
3524
- if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
3525
- }
3526
- finally { if (e_1) throw e_1.error; }
3527
- }
3528
- return false;
3529
- }
3530
- function horizontalNavItemHasExpandedChild(item) {
3531
- var e_2, _c;
3532
- if (!horizontalNavItemHasChildren(item)) {
3533
- return false;
3534
- }
3535
- try {
3536
- for (var _d = __values(item.children), _e = _d.next(); !_e.done; _e = _d.next()) {
3537
- var child = _e.value;
3538
- if (getHorizontalNavItemStateProp(child, 'expanded')) {
3539
- return true;
3540
- }
3541
- }
3542
- }
3543
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
3544
- finally {
3545
- try {
3546
- if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
3547
- }
3548
- finally { if (e_2) throw e_2.error; }
3549
- }
3550
- return false;
3551
- }
3552
- function horizontalNavItemCanBeActive(item) {
3553
- return isHorizontalNavItemType(item, 'basic') || isHorizontalNavItemType(item, 'link');
3554
- }
3555
- function horizontalNavItemCanExpand(item) {
3556
- return horizontalNavItemCanHaveChildren(item);
3557
- }
3558
- function findHorizontalNavLinkItems(items) {
3559
- var linkItems = [];
3560
- var _fn = function (_items) {
3561
- var e_3, _c;
3562
- try {
3563
- for (var _items_1 = __values(_items), _items_1_1 = _items_1.next(); !_items_1_1.done; _items_1_1 = _items_1.next()) {
3564
- var item = _items_1_1.value;
3565
- if (isHorizontalNavItemType(item, 'link')) {
3566
- linkItems.push(item);
3567
- }
3568
- if (horizontalNavItemCanHaveChildren(item) && utils.hasProperty(item, 'children')) {
3569
- _fn(item.children);
3570
- }
3571
- }
3572
- }
3573
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
3574
- finally {
3575
- try {
3576
- if (_items_1_1 && !_items_1_1.done && (_c = _items_1.return)) _c.call(_items_1);
3577
- }
3578
- finally { if (e_3) throw e_3.error; }
3579
- }
3580
- };
3581
- _fn(items);
3582
- return linkItems;
3583
- }
3584
- function setHorizontalNavItemStateProp(item, prop, value) {
3585
- if (utils.hasProperty(item, '__state')) {
3586
- item.__state[prop] = value;
3587
- }
3588
- }
3589
- function getHorizontalNavItemStateProp(item, prop) {
3590
- return setDefaultHorizontalNavItemState(item).__state[prop];
3591
- }
3592
- function setDefaultHorizontalNavItemState(item) {
3593
- if (utils.hasProperty(item, '__state')) {
3594
- return item;
3595
- }
3596
- item.__state = {
3597
- active: false,
3598
- expanded: false,
3599
- focused: false
3600
- };
3601
- // TODO: See if there is a nice way to fix the typing for this.
3602
- return item;
3603
- }
3604
- function areSameHorizontalNavItem(item1, item2) {
3605
- if (utils.isNullOrUndefined(item1) || utils.isNullOrUndefined(item2)) {
3606
- return false;
3607
- }
3608
- if (item1.itemType !== item2.itemType) {
3609
- return false;
3610
- }
3611
- if (isHorizontalNavItemType(item1, 'title') && isHorizontalNavItemType(item2, 'title')) {
3612
- return item1.label === item2.label;
3613
- }
3614
- else if (isHorizontalNavItemType(item1, 'divider') && isHorizontalNavItemType(item2, 'divider')) {
3615
- return item1.label === item2.label;
3616
- }
3617
- else if (isHorizontalNavItemType(item1, 'basic') && isHorizontalNavItemType(item2, 'basic')) {
3618
- return item1.label === item2.label;
3619
- }
3620
- else if (isHorizontalNavItemType(item1, 'link') && isHorizontalNavItemType(item2, 'link')) {
3621
- return item1.label === item2.label && item1.link === item2.link;
3622
- }
3623
- else if (isHorizontalNavItemType(item1, 'button') && isHorizontalNavItemType(item2, 'button')) {
3624
- return item1.onClick === item2.onClick;
3625
- }
3626
- return false;
3627
- }
3628
-
3629
- var TheSeamNavService = /** @class */ (function () {
3630
- function TheSeamNavService(_router) {
3631
- this._router = _router;
3632
- this._updatingCount = new rxjs.BehaviorSubject(0);
3633
- this.itemChanged = new rxjs.Subject();
3634
- this.loading$ = this._updatingCount.pipe(operators.map(function (count) { return count > 0; }), operators.distinctUntilChanged(), operators.shareReplay({ bufferSize: 1, refCount: true }));
3635
- }
3636
- TheSeamNavService.prototype.createItemsObservable = function (items) {
3637
- var _this = this;
3638
- return rxjs.defer(function () {
3639
- _this.updateItemsStates(items);
3640
- _this.updateRouterFocusedItem(items);
3641
- return new rxjs.Observable(function (subscriber) {
3642
- var stateChangeSub = _this.itemChanged.pipe(operators.switchMap(function (change) {
3643
- if (change.prop === 'focused' && change.newValue) {
3644
- _this.updateFocusedItem(items, change.item);
3645
- }
3646
- return _this.loading$.pipe(operators.filter(function (loading) { return !loading; }));
3647
- })).subscribe(function () {
3648
- subscriber.next(items);
3649
- });
3650
- try {
3651
- _this.updateItemsStates(items);
3652
- }
3653
- catch (err) {
3654
- subscriber.error(err);
3655
- }
3656
- var routeChangeSub = _this._router.events.pipe(operators.filter(function (event) { return event instanceof router.NavigationEnd; })).subscribe(function (event) {
3657
- try {
3658
- _this.updateItemsStates(items);
3659
- _this.updateRouterFocusedItem(items);
3660
- }
3661
- catch (err) {
3662
- subscriber.error(err);
3663
- }
3664
- });
3665
- return function () {
3666
- stateChangeSub.unsubscribe();
3667
- routeChangeSub.unsubscribe();
3668
- };
3669
- }).pipe(operators.startWith(items));
3670
- });
3671
- };
3672
- TheSeamNavService.prototype._incUpdatingCount = function () {
3673
- this._updatingCount.next(this._updatingCount.value + 1);
3674
- };
3675
- TheSeamNavService.prototype._decrUpdatingCount = function () {
3676
- this._updatingCount.next(this._updatingCount.value - 1);
3677
- };
3678
- TheSeamNavService.prototype.updateItemsStates = function (items) {
3679
- var e_1, _a;
3680
- this._incUpdatingCount();
3681
- try {
3682
- try {
3683
- for (var items_1 = __values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
3684
- var item = items_1_1.value;
3685
- if (horizontalNavItemHasChildren(item)) {
3686
- this.updateItemsStates(item.children);
3687
- }
3688
- this.updateItemState(item);
3689
- }
3690
- }
3691
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3692
- finally {
3693
- try {
3694
- if (items_1_1 && !items_1_1.done && (_a = items_1.return)) _a.call(items_1);
3695
- }
3696
- finally { if (e_1) throw e_1.error; }
3697
- }
3698
- this._decrUpdatingCount();
3699
- }
3700
- catch (err) {
3701
- this._decrUpdatingCount();
3702
- throw err;
3703
- }
3704
- };
3705
- TheSeamNavService.prototype.updateItemState = function (item) {
3706
- this._incUpdatingCount();
3707
- try {
3708
- setDefaultHorizontalNavItemState(item);
3709
- this.setItemStateProp(item, 'active', this.horizontalNavLinkActive(item));
3710
- // TODO: Implement this in a more optimized way. Unless our apps start
3711
- // having large navs constantly updating their state, this shouldn't
3712
- // have much impact on performance.
3713
- this._updateItemExpandedState(item);
3714
- this._decrUpdatingCount();
3715
- }
3716
- catch (err) {
3717
- this._decrUpdatingCount();
3718
- throw err;
3719
- }
3720
- };
3721
- TheSeamNavService.prototype.horizontalNavLinkActive = function (item) {
3722
- if (isHorizontalNavItemType(item, 'link')) {
3723
- var url = this._getUrl(item);
3724
- if (utils.notNullOrUndefined(url)) {
3725
- var opts = this._getMatchOptions(item);
3726
- return this._router.isActive(url, opts);
3727
- }
3728
- }
3729
- return false;
3730
- };
3731
- TheSeamNavService.prototype._updateItemsExpandedState = function (items) {
3732
- var e_2, _a;
3733
- try {
3734
- for (var items_2 = __values(items), items_2_1 = items_2.next(); !items_2_1.done; items_2_1 = items_2.next()) {
3735
- var item = items_2_1.value;
3736
- if (horizontalNavItemHasChildren(item)) {
3737
- this._updateItemsExpandedState(item.children);
3738
- }
3739
- this._updateItemExpandedState(item);
3740
- }
3741
- }
3742
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
3743
- finally {
3744
- try {
3745
- if (items_2_1 && !items_2_1.done && (_a = items_2.return)) _a.call(items_2);
3746
- }
3747
- finally { if (e_2) throw e_2.error; }
3748
- }
3749
- };
3750
- TheSeamNavService.prototype._updateItemExpandedState = function (item) {
3751
- if (!horizontalNavItemCanExpand(item)) {
3752
- if (getHorizontalNavItemStateProp(item, 'expanded')) {
3753
- this.setItemStateProp(item, 'expanded', false);
3754
- }
3755
- return;
3756
- }
3757
- if (horizontalNavItemHasChildren(item)) {
3758
- this._updateItemsExpandedState(item.children);
3759
- }
3760
- if (horizontalNavItemHasActiveChild(item) || horizontalNavItemHasExpandedChild(item)) {
3761
- if (!getHorizontalNavItemStateProp(item, 'expanded')) {
3762
- this.setItemStateProp(item, 'expanded', true);
3763
- }
3764
- }
3765
- else {
3766
- if (getHorizontalNavItemStateProp(item, 'expanded')) {
3767
- this.setItemStateProp(item, 'expanded', false);
3768
- }
3769
- }
3770
- };
3771
- TheSeamNavService.prototype.updateRouterFocusedItem = function (items) {
3772
- var focusedItem = items.find(function (i) { return isHorizontalNavItemActive(i); }) || items.find(function (i) { return horizontalNavItemHasActiveChild(i); });
3773
- if (utils.notNullOrUndefined(focusedItem)) {
3774
- this.updateFocusedItem(items, focusedItem);
3775
- }
3776
- };
3777
- TheSeamNavService.prototype.updateFocusedItem = function (items, focusedItem) {
3778
- var e_3, _a;
3779
- try {
3780
- for (var items_3 = __values(items), items_3_1 = items_3.next(); !items_3_1.done; items_3_1 = items_3.next()) {
3781
- var item = items_3_1.value;
3782
- if (areSameHorizontalNavItem(item, focusedItem)) {
3783
- setHorizontalNavItemStateProp(item, 'focused', true);
3784
- }
3785
- else {
3786
- setHorizontalNavItemStateProp(item, 'focused', false);
3787
- }
3788
- }
3789
- }
3790
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
3791
- finally {
3792
- try {
3793
- if (items_3_1 && !items_3_1.done && (_a = items_3.return)) _a.call(items_3);
3794
- }
3795
- finally { if (e_3) throw e_3.error; }
3796
- }
3797
- };
3798
- TheSeamNavService.prototype._getNavExtras = function (item) {
3799
- var navigationExtras = {};
3800
- if (utils.hasProperty(item, 'queryParams')) {
3801
- navigationExtras.queryParams = item.queryParams;
3802
- }
3803
- if (utils.hasProperty(item, 'fragment')) {
3804
- navigationExtras.fragment = item.fragment;
3805
- }
3806
- if (utils.hasProperty(item, 'queryParamsHandling')) {
3807
- navigationExtras.queryParamsHandling = item.queryParamsHandling;
3808
- }
3809
- if (utils.hasProperty(item, 'preserveFragment')) {
3810
- navigationExtras.preserveFragment = item.preserveFragment;
3811
- }
3812
- return navigationExtras;
3813
- };
3814
- TheSeamNavService.prototype._getUrl = function (item) {
3815
- var link = item.link;
3816
- if (typeof link === 'string') {
3817
- return this._router.createUrlTree([link], this._getNavExtras(item)).toString();
3818
- }
3819
- else if (Array.isArray(link)) {
3820
- return this._router.createUrlTree(link, this._getNavExtras(item)).toString();
3821
- }
3822
- return null;
3823
- };
3824
- TheSeamNavService.prototype._getMatchOptions = function (item) {
3825
- var defaultMatchOpts = {
3826
- paths: 'subset',
3827
- queryParams: 'subset',
3828
- fragment: 'ignored',
3829
- matrixParams: 'ignored'
3830
- };
3831
- if (utils.hasProperty(item, 'matchOptions')) {
3832
- return Object.assign(Object.assign({}, defaultMatchOpts), item.matchOptions);
3833
- }
3834
- return defaultMatchOpts;
3835
- };
3836
- TheSeamNavService.prototype.setItemStateProp = function (item, prop, value) {
3837
- var currentValue = getHorizontalNavItemStateProp(item, prop);
3838
- if (currentValue !== value) {
3839
- setHorizontalNavItemStateProp(item, prop, value);
3840
- var changed = {
3841
- item: item,
3842
- prop: prop,
3843
- prevValue: currentValue,
3844
- newValue: value
3845
- };
3846
- this.itemChanged.next(changed);
3847
- }
3848
- };
3849
- return TheSeamNavService;
3850
- }());
3851
- TheSeamNavService.decorators = [
3852
- { type: i0.Injectable }
3853
- ];
3854
- TheSeamNavService.ctorParameters = function () { return [
3855
- { type: router.Router }
3856
- ]; };
3857
-
3858
- var NavItemComponent = /** @class */ (function () {
3859
- function NavItemComponent(_nav) {
3860
- this._nav = _nav;
3861
- this._ngUnsubscribe = new rxjs.Subject();
3862
- this.faAngleLeft = freeSolidSvgIcons.faAngleLeft;
3863
- this.active = false;
3864
- this._link = new rxjs.BehaviorSubject(undefined);
3865
- this.link$ = this._link.asObservable();
3866
- this.hierLevel = 0;
3867
- this.indentSize = 10;
3868
- this._expanded = new rxjs.BehaviorSubject(false);
3869
- this.expanded$ = this._expanded.asObservable();
3870
- this._compact = new rxjs.BehaviorSubject(false);
3871
- this.compact$ = this._compact.asObservable();
3872
- this.focused = false;
3873
- this.badgeTheme = 'danger';
3874
- this.childAction = 'menu';
3875
- this.expandAction = 'toggle';
3876
- this.navItemExpanded = new i0.EventEmitter();
3877
- }
3878
- Object.defineProperty(NavItemComponent.prototype, "link", {
3879
- get: function () { return this._link.value; },
3880
- set: function (value) { this._link.next(value); },
3881
- enumerable: false,
3882
- configurable: true
3883
- });
3884
- Object.defineProperty(NavItemComponent.prototype, "expanded", {
3885
- get: function () { return this._expanded.value; },
3886
- set: function (value) {
3887
- this._expanded.next(coercion.coerceBooleanProperty(value));
3888
- },
3889
- enumerable: false,
3890
- configurable: true
3891
- });
3892
- Object.defineProperty(NavItemComponent.prototype, "compact", {
3893
- get: function () { return this._compact.value; },
3894
- set: function (value) { this._compact.next(coercion.coerceBooleanProperty(value)); },
3895
- enumerable: false,
3896
- configurable: true
3897
- });
3898
- Object.defineProperty(NavItemComponent.prototype, "badgeTooltip", {
3899
- get: function () { return this._badgeTooltip; },
3900
- set: function (value) {
3901
- if (value !== null && value !== undefined) {
3902
- if (typeof value === 'string') {
3903
- this._badgeTooltip = {
3904
- tooltip: value,
3905
- placement: 'auto',
3906
- disabled: false
3907
- };
3908
- }
3909
- else {
3910
- this._badgeTooltip = Object.assign(Object.assign({}, value), { placement: value.placement || 'auto', disabled: typeof (value === null || value === void 0 ? void 0 : value.disabled) === 'boolean'
3911
- ? value.disabled
3912
- : typeof value.tooltip === 'string' ? false : true });
3913
- }
3914
- }
3915
- else {
3916
- this._badgeTooltip = undefined;
3917
- }
3918
- },
3919
- enumerable: false,
3920
- configurable: true
3921
- });
3922
- Object.defineProperty(NavItemComponent.prototype, "_isActiveCssClass", {
3923
- get: function () { return this.active; },
3924
- enumerable: false,
3925
- configurable: true
3926
- });
3927
- Object.defineProperty(NavItemComponent.prototype, "_isChildActiveCssClass", {
3928
- get: function () { return this.hasActiveChild; },
3929
- enumerable: false,
3930
- configurable: true
3931
- });
3932
- Object.defineProperty(NavItemComponent.prototype, "_isExpandedCssClass", {
3933
- get: function () { return this.expanded; },
3934
- enumerable: false,
3935
- configurable: true
3936
- });
3937
- Object.defineProperty(NavItemComponent.prototype, "_isFocusedCssClass", {
3938
- get: function () { return this.focused; },
3939
- enumerable: false,
3940
- configurable: true
3941
- });
3942
- Object.defineProperty(NavItemComponent.prototype, "_attrDataHierLevel", {
3943
- get: function () { return this.hierLevel; },
3944
- enumerable: false,
3945
- configurable: true
3946
- });
3947
- NavItemComponent.prototype.ngOnDestroy = function () {
3948
- this._ngUnsubscribe.next();
3949
- this._ngUnsubscribe.complete();
3950
- };
3951
- Object.defineProperty(NavItemComponent.prototype, "hasChildren", {
3952
- get: function () {
3953
- return Array.isArray(this.children) && this.children.length > 0;
3954
- },
3955
- enumerable: false,
3956
- configurable: true
3957
- });
3958
- Object.defineProperty(NavItemComponent.prototype, "hasActiveChild", {
3959
- get: function () {
3960
- if (utils.notNullOrUndefined(this.item)) {
3961
- return horizontalNavItemHasActiveChild(this.item);
3962
- }
3963
- return false;
3964
- },
3965
- enumerable: false,
3966
- configurable: true
3967
- });
3968
- Object.defineProperty(NavItemComponent.prototype, "hasMenuToggle", {
3969
- get: function () {
3970
- return this.hasChildren && this.childAction === 'menu';
3971
- },
3972
- enumerable: false,
3973
- configurable: true
3974
- });
3975
- Object.defineProperty(NavItemComponent.prototype, "menuTpl", {
3976
- get: function () {
3977
- return this.hasMenuToggle ? this._menu : undefined;
3978
- },
3979
- enumerable: false,
3980
- configurable: true
3981
- });
3982
- Object.defineProperty(NavItemComponent.prototype, "hasExpandingChildren", {
3983
- get: function () {
3984
- return this.hasChildren && this.childAction === 'expand';
3985
- },
3986
- enumerable: false,
3987
- configurable: true
3988
- });
3989
- NavItemComponent.prototype._toggleChildren = function (event) {
3990
- var ex = !this.expanded;
3991
- if (this.expandAction === 'expandOnly') {
3992
- ex = true;
3993
- }
3994
- this.expanded = ex;
3995
- this.navItemExpanded.emit(this.expanded);
3996
- if (this.item && this.expanded) {
3997
- this._nav.setItemStateProp(this.item, 'focused', this.expanded);
3998
- }
3999
- // Prevents seam-menu from closing out when toggling child expand
4000
- event.stopPropagation();
4001
- };
4002
- // Updates expanded state when user exits seam-menu
4003
- NavItemComponent.prototype._menuEvent = function (menuExpanded) {
4004
- if (menuExpanded === false) {
4005
- this.expanded = false;
4006
- // TODO: figure out why closing seam-menu with expanded submenu messes up animation
4007
- if (this._navItems && this._navItems.length) {
4008
- this._navItems.forEach(function (navItem) {
4009
- navItem.expanded = false;
4010
- });
4011
- }
4012
- }
4013
- };
4014
- Object.defineProperty(NavItemComponent.prototype, "showIconBlock", {
4015
- get: function () {
4016
- return utils.notNullOrUndefined(this.icon) || this.hideEmptyIcon !== true;
4017
- },
4018
- enumerable: false,
4019
- configurable: true
4020
- });
4021
- return NavItemComponent;
4022
- }());
4023
- NavItemComponent.decorators = [
4024
- { type: i0.Component, args: [{
4025
- selector: 'seam-nav-item',
4026
- template: "<div class=\"d-flex flex-row h-100\">\n <ng-container *ngIf=\"itemType === 'basic'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeBasic\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"itemType === 'link'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeLink\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"itemType === 'divider'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeDivider\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"itemType === 'title'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeTitle\"></ng-template>\n </ng-container>\n</div>\n\n<ng-container *ngIf=\"hasExpandingChildren\">\n <div class=\"nav--group nav--group--level-{{ hierLevel + 1 }}\"\n *ngIf=\"expanded$ | async\" @childGroupAnim>\n <ng-container *ngTemplateOutlet=\"navChildren\"></ng-container>\n </div>\n</ng-container>\n\n<ng-template #itemTypeBasic>\n <button class=\"nav-item btn nav-btn p-0 d-flex align-items-stretch flex-row text-decoration-none w-100\"\n cdkMonitorElementFocus\n (click)=\"_toggleChildren($event)\"\n [seamMenuToggle]=\"menuTpl\"\n (menuToggle)=\"_menuEvent($event)\"\n [attr.aria-expanded]=\"expanded$ | async\">\n <div class=\"nav-link d-flex flex-row align-items-center w-100\" [class.nav-link__compact]=\"compact\">\n <div class=\"nav-item--icon\" *ngIf=\"showIconBlock\">\n <seam-icon [icon]=\"icon\" *ngIf=\"icon\"></seam-icon>\n <ng-container *ngIf=\"compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </div>\n <span *ngIf=\"!compact\" nav-item-label>\n {{ label }}\n </span>\n <span *ngIf=\"compact\" class=\"sr-only\" nav-item-label>{{ label }}</span>\n <ng-container *ngIf=\"!compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </div>\n\n <div *ngIf=\"hasChildren && !compact\"\n class=\"btn nav-btn nav-item--toggle-btn-container d-flex align-items-center\">\n <seam-icon\n class=\"nav-item--toggle-btn\"\n [class.nav-item--toggle-btn-expanded]=\"expanded$ | async\"\n [icon]=\"faAngleLeft\"\n type>\n </seam-icon>\n </div>\n </button>\n</ng-template>\n\n<ng-template #itemTypeLink>\n <a *ngIf=\"link; else noLink\" class=\"nav-item nav-link d-flex flex-row w-100 align-items-center\"\n [class.nav-link__compact]=\"compact\"\n [routerLink]=\"link\"\n [queryParams]=\"queryParams\"\n routerLinkActive=\"active\"\n [routerLinkActiveOptions]=\"{ exact: true }\">\n <div class=\"nav-item--icon\" *ngIf=\"showIconBlock\">\n <seam-icon [icon]=\"icon\" *ngIf=\"icon\"></seam-icon>\n <ng-container *ngIf=\"compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </div>\n <span *ngIf=\"!compact\" nav-item-label>\n {{ label }}\n </span>\n <span *ngIf=\"compact\" class=\"sr-only\" nav-item-label>{{ label }}</span>\n <ng-container *ngIf=\"!compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </a>\n\n <ng-template #noLink>\n <a class=\"nav-item nav-link d-flex flex-row w-100 align-items-center\" [class.nav-link__compact]=\"compact\">\n <div class=\"nav-item--icon\" *ngIf=\"showIconBlock\">\n <seam-icon [icon]=\"icon\" *ngIf=\"icon\"></seam-icon>\n </div>\n <span *ngIf=\"!compact\" nav-item-label>\n {{ label }}\n </span>\n <span *ngIf=\"compact\" class=\"sr-only\" nav-item-label>{{ label }}</span>\n </a>\n </ng-template>\n\n <button *ngIf=\"hasChildren && !compact\"\n type=\"button\"\n class=\"btn nav-btn nav-item--toggle-btn-container\"\n (click)=\"_toggleChildren($event)\"\n [seamMenuToggle]=\"menuTpl\"\n (menuToggle)=\"_menuEvent($event)\"\n [attr.aria-expanded]=\"expanded$ | async\"\n cdkMonitorElementFocus>\n <seam-icon\n class=\"nav-item--toggle-btn\"\n [class.nav-item--toggle-btn-expanded]=\"expanded$ | async\"\n [icon]=\"faAngleLeft\"\n type>\n </seam-icon>\n <span class=\"sr-only\">Group Toggle</span>\n </button>\n</ng-template>\n\n<ng-template #itemTypeDivider>\n <div class=\"px-2 w-100\">\n <hr class=\"nav-item--divider\" />\n </div>\n</ng-template>\n\n<ng-template #itemTypeTitle>\n <ng-container *ngIf=\"!compact\">\n <span class=\"nav-item--title pt-1\" nav-item-label>{{ label }}</span>\n </ng-container>\n</ng-template>\n\n<ng-template #itemBadge>\n <ng-container *ngIf=\"badgeText\">\n <div class=\"badge-spacer flex-grow-1\" *ngIf=\"!compact\"></div>\n <div class=\"nav-item--badge\"\n [class.nav-item--badge-no-icon]=\"!icon\"\n [ngbTooltip]=\"$any(badgeTooltip)?.tooltip\"\n [tooltipClass]=\"$any(badgeTooltip)?.class\"\n [placement]=\"$any(badgeTooltip)?.placement\"\n [container]=\"$any(badgeTooltip)?.container\"\n [disableTooltip]=\"!badgeTooltip || !!$any(badgeTooltip)?.disabled\">\n <span class=\"badge badge-pill badge-{{ badgeTheme }}\">\n <ng-container *ngIf=\"!compact || !icon\">\n {{ badgeText }}\n </ng-container>\n <span *ngIf=\"badgeSrContent\">{{ badgeSrContent }}</span>\n </span>\n </div>\n </ng-container>\n</ng-template>\n\n<seam-menu #menu *ngIf=\"hasMenuToggle\">\n <ng-container *ngTemplateOutlet=\"navChildren\"></ng-container>\n</seam-menu>\n\n<ng-template #navChildren>\n <seam-nav-item *ngFor=\"let child of children\"\n [item]=\"child\"\n [hierLevel]=\"compact ? 0 : (hierLevel + 1)\"\n [compact]=\"compact\"\n [itemType]=\"$any(child).itemType\"\n [icon]=\"$any(child).icon\"\n [label]=\"$any(child).label\"\n [link]=\"$any(child).link\"\n [badgeText]=\"$any(child).badge?.text\"\n [badgeTheme]=\"$any(child).badge?.theme || 'danger'\"\n [badgeSrContent]=\"$any(child).badge?.srContent\"\n [badgeTooltip]=\"$any(child)?.badge?.tooltip\"\n [queryParams]=\"$any(child).queryParams\"\n routerLinkActive=\"active\"\n [routerLinkActiveOptions]=\"{ exact: true }\"\n [children]=\"$any(child)?.children\"\n [active]=\"$any(child).__state?.active\"\n [expanded]=\"$any(child).__state?.expanded\"\n [focused]=\"$any(child).__state?.focused\"\n childAction=\"expand\"\n [hideEmptyIcon]=\"hideEmptyIcon\">\n </seam-nav-item>\n</ng-template>\n\n",
4027
- exportAs: 'seamNavItem',
4028
- animations: [
4029
- animations.trigger('childGroupAnim', [
4030
- animations.transition(':enter', [
4031
- animations.style({ height: 0 }),
4032
- animations.animate('0.2s ease-in-out', animations.style({ height: '*' }))
4033
- ]),
4034
- animations.transition(':leave', [
4035
- animations.style({ height: '*' }),
4036
- animations.animate('0.2s ease-in-out', animations.style({ height: 0 }))
4037
- ])
4038
- ])
4039
- ],
4040
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
4041
- encapsulation: i0.ViewEncapsulation.None,
4042
- styles: ["seam-nav-item{display:block;transition:.25s ease-in-out background-color;text-align:inherit;border-radius:0;overflow:hidden;background:transparent;margin:0}seam-nav-item.seam-nav-item--expanded{background-color:transparent}seam-nav-item.seam-nav-item--expanded .nav-link{color:#000}seam-nav-item.seam-nav-item--child-active{background-color:#dae0e5}seam-nav-item.seam-nav-item--child-active .nav-link{color:#000}seam-nav-item.seam-nav-item--active{background-color:#dae0e5}seam-nav-item.seam-nav-item--active .active,seam-nav-item.seam-nav-item--active:active,seam-nav-item.seam-nav-item--active .nav-item.active:hover{background-color:#dae0e5}seam-nav-item.seam-nav-item--active .nav-item:hover{background-color:#e9ecef}seam-nav-item.seam-nav-item--active .nav-link{color:#000}seam-nav-item .badge{vertical-align:middle}seam-nav-item:not(.nav-item--icon) .nav-item--badge{pointer-events:all;margin-left:5px;margin-right:3px}seam-nav-item .nav-item--icon{position:relative;width:24px;max-width:24px;min-width:24px;height:24px;max-height:24px;min-height:24px;text-align:center;margin-right:.5rem}seam-nav-item .nav-item--icon .nav-item--badge{top:-4px;right:-4px;position:absolute}seam-nav-item .nav-item--icon .nav-item--badge .badge:empty{display:block;width:8px;height:8px;padding:0}seam-nav-item .nav-item--icon .nav-item--badge.nav-item--badge-no-icon{top:0px;right:0px}seam-nav-item .nav-item{transition:.25s ease-in-out background-color}seam-nav-item .nav-item:hover{background-color:#e9ecef}seam-nav-item .nav-item.active{pointer-events:none;cursor:default}seam-nav-item a.nav-item:not([href]):not([tabindex]){color:#000}seam-nav-item a.nav-item:not([href]):not([tabindex]):hover{background-color:transparent}seam-nav-item .nav-link{color:#000}seam-nav-item .nav-btn{font-weight:400;color:#000;text-decoration:none;border-radius:0;border:0 solid #dee2e6}seam-nav-item .nav-btn:hover{color:#000;text-decoration:underline}seam-nav-item .nav-btn:focus,seam-nav-item .nav-btn.focus{text-decoration:underline;box-shadow:none}seam-nav-item .nav-btn:disabled,seam-nav-item .nav-btn.disabled{color:#000;pointer-events:none}seam-nav-item .cdk-keyboard-focused{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}seam-nav-item .nav-item--toggle-btn-container{transition:.25s ease-in-out background-color;padding:0 .5rem}seam-nav-item button.nav-item--toggle-btn-container:hover{background-color:#e9ecef}seam-nav-item .nav-item--toggle-btn .svg-inline--fa{transition:.1s ease-in-out transform;transform:none}seam-nav-item .nav-item--toggle-btn.nav-item--toggle-btn-expanded .svg-inline--fa{transform:rotate(-90deg)}seam-nav-item .nav--group{will-change:height;overflow:hidden}seam-nav-item .nav--group--level-1{background-color:#eff1f4}seam-nav-item .nav--group--level-2{background-color:#e6eaed}seam-nav-item .nav--group--level-3{background-color:#dde2e7}seam-nav-item .nav--group--level-4{background-color:#d4dae1}seam-nav-item .nav--group--level-5{background-color:#cbd3da}seam-nav-item .nav--group--level-6{background-color:#c2cbd4}seam-nav-item .nav--group--level-7{background-color:#bac3cd}seam-nav-item .nav--group--level-8{background-color:#b1bcc7}seam-nav-item .nav--group--level-9{background-color:#a8b4c1}seam-nav-item .nav-item--divider{display:block;border-top:1px solid #dae0e5;width:100%}seam-nav-item .nav-item--title{color:#000;font-size:24px;padding-left:10px}seam-nav-item .sr-only{top:0;left:0}\n"]
4043
- },] }
4044
- ];
4045
- NavItemComponent.ctorParameters = function () { return [
4046
- { type: TheSeamNavService }
4047
- ]; };
4048
- NavItemComponent.propDecorators = {
4049
- item: [{ type: i0.Input }],
4050
- itemType: [{ type: i0.Input }],
4051
- icon: [{ type: i0.Input }],
4052
- hideEmptyIcon: [{ type: i0.Input }],
4053
- label: [{ type: i0.Input }],
4054
- active: [{ type: i0.Input }],
4055
- link: [{ type: i0.Input }],
4056
- queryParams: [{ type: i0.Input }],
4057
- children: [{ type: i0.Input }],
4058
- hierLevel: [{ type: i0.Input }],
4059
- indentSize: [{ type: i0.Input }],
4060
- expanded: [{ type: i0.Input }],
4061
- compact: [{ type: i0.Input }],
4062
- focused: [{ type: i0.Input }],
4063
- badgeText: [{ type: i0.Input }],
4064
- badgeTheme: [{ type: i0.Input }],
4065
- badgeSrContent: [{ type: i0.Input }],
4066
- badgeTooltip: [{ type: i0.Input }],
4067
- childAction: [{ type: i0.Input }],
4068
- expandAction: [{ type: i0.Input }],
4069
- navItemExpanded: [{ type: i0.Output }],
4070
- _isActiveCssClass: [{ type: i0.HostBinding, args: ['class.seam-nav-item--active',] }],
4071
- _isChildActiveCssClass: [{ type: i0.HostBinding, args: ['class.seam-nav-item--child-active',] }],
4072
- _isExpandedCssClass: [{ type: i0.HostBinding, args: ['class.seam-nav-item--expanded',] }],
4073
- _isFocusedCssClass: [{ type: i0.HostBinding, args: ['class.seam-nav-item--focused',] }],
4074
- _attrDataHierLevel: [{ type: i0.HostBinding, args: ['attr.data-hier-level',] }],
4075
- _menu: [{ type: i0.ViewChild, args: [menu.MenuComponent,] }],
4076
- _navItems: [{ type: i0.ViewChildren, args: [NavItemComponent,] }]
4077
- };
4078
- __decorate([
4079
- core.InputBoolean()
4080
- ], NavItemComponent.prototype, "active", void 0);
4081
- __decorate([
4082
- core.InputNumber(0)
4083
- ], NavItemComponent.prototype, "hierLevel", void 0);
4084
- __decorate([
4085
- core.InputNumber(10)
4086
- ], NavItemComponent.prototype, "indentSize", void 0);
4087
-
4088
- var HorizontalNavComponent = /** @class */ (function () {
4089
- function HorizontalNavComponent(_nav) {
4090
- var _this = this;
4091
- this._nav = _nav;
4092
- this._ngUnsubscribe = new rxjs.Subject();
4093
- this._items = new rxjs.BehaviorSubject([]);
4094
- this.hideEmptyIcon = true;
4095
- this.hierLevel = 0;
4096
- this.childAction = 'menu';
4097
- this.expandAction = 'toggle';
4098
- this.navItemExpanded = new i0.EventEmitter();
4099
- this.items$ = this._items.asObservable().pipe(operators.switchMap(function (items) { return items ? _this._nav.createItemsObservable(items) : []; }), operators.shareReplay({ bufferSize: 1, refCount: true }));
4100
- }
4101
- Object.defineProperty(HorizontalNavComponent.prototype, "items", {
4102
- get: function () { return this._items.value; },
4103
- set: function (value) {
4104
- this._items.next(value);
4105
- },
4106
- enumerable: false,
4107
- configurable: true
4108
- });
4109
- HorizontalNavComponent.prototype.ngOnInit = function () { };
4110
- HorizontalNavComponent.prototype.ngOnDestroy = function () {
4111
- this._ngUnsubscribe.next();
4112
- this._ngUnsubscribe.complete();
4113
- };
4114
- HorizontalNavComponent.prototype._navItemExpanded = function (item, expanded) {
4115
- this.navItemExpanded.emit({ navItem: item, expanded: expanded });
4116
- };
4117
- return HorizontalNavComponent;
4118
- }());
4119
- HorizontalNavComponent.decorators = [
4120
- { type: i0.Component, args: [{
4121
- selector: 'seam-horizontal-nav',
4122
- template: "<div class=\"nav-inner-wrapper\" class=\"nav-inner-wrapper-{{hierLevel}}\">\n <div class=\"nav-items-row\">\n <seam-nav-item *ngFor=\"let item of items$ | async\"\n class=\"flex-shrink-0\"\n [item]=\"item\"\n [itemType]=\"$any(item)?.itemType\"\n [icon]=\"$any(item)?.icon\"\n [label]=\"$any(item)?.label\"\n [link]=\"$any(item)?.link\"\n [badgeText]=\"$any(item)?.badge?.text\"\n [badgeTheme]=\"$any(item)?.badge?.theme || 'danger'\"\n [badgeSrContent]=\"$any(item)?.badge?.srContent\"\n [badgeTooltip]=\"$any(item)?.badge?.tooltip\"\n [queryParams]=\"$any(item)?.queryParams\"\n [children]=\"$any(item)?.children\"\n [active]=\"$any(item).__state?.active\"\n [expanded]=\"$any(item).__state?.expanded\"\n [focused]=\"$any(item).__state?.focused\"\n [hierLevel]=\"hierLevel\"\n [childAction]=\"childAction\"\n [expandAction]=\"expandAction\"\n (navItemExpanded)=\"_navItemExpanded(item, $event)\"\n [hideEmptyIcon]=\"hideEmptyIcon\">\n </seam-nav-item>\n </div>\n</div>\n",
4123
- providers: [
4124
- TheSeamNavService
4125
- ],
4126
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
4127
- encapsulation: i0.ViewEncapsulation.None,
4128
- styles: ["seam-horizontal-nav,.seam-horizontal-nav{display:block;height:100%;position:relative;z-index:2}seam-horizontal-nav .nav-inner-wrapper,.seam-horizontal-nav .nav-inner-wrapper{background:none;height:100%}seam-horizontal-nav .nav-backdrop,.seam-horizontal-nav .nav-backdrop{background:rgba(52,58,64,.6);width:100vw;height:100vh}seam-horizontal-nav .nav-backdrop.nav-backdrop-hidden,.seam-horizontal-nav .nav-backdrop.nav-backdrop-hidden{display:none;width:0;height:0;padding:0;margin:0}seam-horizontal-nav .nav-content,.seam-horizontal-nav .nav-content{display:flex;flex-direction:column;height:100%;flex-wrap:nowrap}seam-horizontal-nav .nav-items-container,.seam-horizontal-nav .nav-items-container{display:flex;flex-direction:column;width:100%;flex:1 1 100%}seam-horizontal-nav .nav-items-row,.seam-horizontal-nav .nav-items-row{height:100%;display:flex;padding:.25rem .5rem}\n"]
4129
- },] }
4130
- ];
4131
- HorizontalNavComponent.ctorParameters = function () { return [
4132
- { type: TheSeamNavService }
4133
- ]; };
4134
- HorizontalNavComponent.propDecorators = {
4135
- items: [{ type: i0.Input }],
4136
- hideEmptyIcon: [{ type: i0.Input }],
4137
- hierLevel: [{ type: i0.Input }],
4138
- childAction: [{ type: i0.Input }],
4139
- expandAction: [{ type: i0.Input }],
4140
- navItemExpanded: [{ type: i0.Output }]
4141
- };
4142
-
4143
- var TheSeamNavModule = /** @class */ (function () {
4144
- function TheSeamNavModule() {
4145
- }
4146
- return TheSeamNavModule;
4147
- }());
4148
- TheSeamNavModule.decorators = [
4149
- { type: i0.NgModule, args: [{
4150
- declarations: [
4151
- NavItemComponent,
4152
- HorizontalNavComponent,
4153
- ],
4154
- imports: [
4155
- common.CommonModule,
4156
- router.RouterModule,
4157
- icon.TheSeamIconModule,
4158
- a11y.A11yModule,
4159
- scrollbar.TheSeamScrollbarModule,
4160
- layout.TheSeamLayoutModule,
4161
- ngBootstrap.NgbTooltipModule,
4162
- portal.PortalModule,
4163
- menu.TheSeamMenuModule
4164
- ],
4165
- exports: [
4166
- NavItemComponent,
4167
- HorizontalNavComponent,
4168
- ],
4169
- providers: [
4170
- TheSeamNavService,
4171
- ]
4172
- },] }
4173
- ];
4174
-
4175
- /**
4176
- * Generated bundle index. Do not edit.
4177
- */
4178
-
4179
- exports.BaseLayoutContentDirective = BaseLayoutContentDirective;
4180
- exports.BaseLayoutContentFooterDirective = BaseLayoutContentFooterDirective;
4181
- exports.BaseLayoutContentHeaderDirective = BaseLayoutContentHeaderDirective;
4182
- exports.BaseLayoutNavToggleDirective = BaseLayoutNavToggleDirective;
4183
- exports.BaseLayoutSideBarDirective = BaseLayoutSideBarDirective;
4184
- exports.BaseLayoutTopBarDirective = BaseLayoutTopBarDirective;
4185
- exports.DashboardComponent = DashboardComponent;
4186
- exports.DashboardWidgetContainerComponent = DashboardWidgetContainerComponent;
4187
- exports.DashboardWidgetPortalOutletDirective = DashboardWidgetPortalOutletDirective;
4188
- exports.DashboardWidgetTemplateContainerComponent = DashboardWidgetTemplateContainerComponent;
4189
- exports.DashboardWidgetsComponent = DashboardWidgetsComponent;
4190
- exports.DashboardWidgetsPreferencesService = DashboardWidgetsPreferencesService;
4191
- exports.DashboardWidgetsService = DashboardWidgetsService;
4192
- exports.HierarchyLevelResolver = HierarchyLevelResolver;
4193
- exports.HierarchyRouterOutletComponent = HierarchyRouterOutletComponent;
4194
- exports.HorizontalNavComponent = HorizontalNavComponent;
4195
- exports.NavItemComponent = NavItemComponent;
4196
- exports.SideNavComponent = SideNavComponent;
4197
- exports.SideNavItemComponent = SideNavItemComponent;
4198
- exports.SideNavToggleComponent = SideNavToggleComponent;
4199
- exports.THESEAM_BASE_LAYOUT_REF = THESEAM_BASE_LAYOUT_REF;
4200
- exports.THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR = THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR;
4201
- exports.THE_SEAM_BASE_LAYOUT = THE_SEAM_BASE_LAYOUT;
4202
- exports.TheSeamBaseLayoutComponent = TheSeamBaseLayoutComponent;
4203
- exports.TheSeamBaseLayoutModule = TheSeamBaseLayoutModule;
4204
- exports.TheSeamDashboardModule = TheSeamDashboardModule;
4205
- exports.TheSeamDynamicRouterModule = TheSeamDynamicRouterModule;
4206
- exports.TheSeamFramework = TheSeamFramework;
4207
- exports.TheSeamNavModule = TheSeamNavModule;
4208
- exports.TheSeamSchemaFormFrameworkComponent = TheSeamSchemaFormFrameworkComponent;
4209
- exports.TheSeamSchemaFormModule = TheSeamSchemaFormModule;
4210
- exports.TheSeamSideNavModule = TheSeamSideNavModule;
4211
- exports.TheSeamTopBarComponent = TheSeamTopBarComponent;
4212
- exports.TheSeamTopBarModule = TheSeamTopBarModule;
4213
- exports.TopBarItemDirective = TopBarItemDirective;
4214
- exports.TopBarMenuBtnDetailDirective = TopBarMenuBtnDetailDirective;
4215
- exports.TopBarMenuButtonComponent = TopBarMenuButtonComponent;
4216
- exports.TopBarMenuDirective = TopBarMenuDirective;
4217
- exports.TopBarTitleComponent = TopBarTitleComponent;
4218
- exports.areSameHorizontalNavItem = areSameHorizontalNavItem;
4219
- exports.canBeActive = canBeActive;
4220
- exports.canExpand = canExpand;
4221
- exports.canHaveChildren = canHaveChildren;
4222
- exports.fader = fader;
4223
- exports.findHorizontalNavLinkItems = findHorizontalNavLinkItems;
4224
- exports.findLinkItems = findLinkItems;
4225
- exports.getHorizontalNavItemStateProp = getHorizontalNavItemStateProp;
4226
- exports.getItemStateProp = getItemStateProp;
4227
- exports.hasActiveChild = hasActiveChild;
4228
- exports.hasChildren = hasChildren;
4229
- exports.hasExpandedChild = hasExpandedChild;
4230
- exports.horizontalNavItemCanBeActive = horizontalNavItemCanBeActive;
4231
- exports.horizontalNavItemCanExpand = horizontalNavItemCanExpand;
4232
- exports.horizontalNavItemCanHaveChildren = horizontalNavItemCanHaveChildren;
4233
- exports.horizontalNavItemHasActiveChild = horizontalNavItemHasActiveChild;
4234
- exports.horizontalNavItemHasChildren = horizontalNavItemHasChildren;
4235
- exports.horizontalNavItemHasExpandedChild = horizontalNavItemHasExpandedChild;
4236
- exports.isExpanded = isExpanded;
4237
- exports.isHorizontalNavItemActive = isHorizontalNavItemActive;
4238
- exports.isHorizontalNavItemExpanded = isHorizontalNavItemExpanded;
4239
- exports.isHorizontalNavItemFocused = isHorizontalNavItemFocused;
4240
- exports.isHorizontalNavItemType = isHorizontalNavItemType;
4241
- exports.isNavItemActive = isNavItemActive;
4242
- exports.isNavItemType = isNavItemType;
4243
- exports.routeChanges = routeChanges;
4244
- exports.setDefaultHorizontalNavItemState = setDefaultHorizontalNavItemState;
4245
- exports.setDefaultState = setDefaultState;
4246
- exports.setHorizontalNavItemStateProp = setHorizontalNavItemStateProp;
4247
- exports.setItemStateProp = setItemStateProp;
4248
- exports.sideNavExpandStateChangeFn = sideNavExpandStateChangeFn;
4249
- exports.sideToSide = sideToSide;
4250
- exports.slider = slider;
4251
- exports.stepper = stepper;
4252
- exports.transformer = transformer;
4253
- exports["ɵa"] = BaseLayoutSideBarFooterDirective;
4254
- exports["ɵb"] = BaseLayoutSideBarHeaderDirective;
4255
- exports["ɵc"] = TheSeamSideNavService;
4256
- exports["ɵd"] = TopBarCompactMenuBtnDetailDirective;
4257
- exports["ɵe"] = TopBarNavToggleBtnDetailDirective;
4258
- exports["ɵf"] = TheSeamSchemaFormControlsModule;
4259
- exports["ɵg"] = TheSeamSchemaFormCheckboxComponent;
4260
- exports["ɵh"] = TheSeamSchemaFormSubmitComponent;
4261
- exports["ɵi"] = TheSeamSchemaFormSelectComponent;
4262
- exports["ɵj"] = TheSeamSchemaFormInputComponent;
4263
- exports["ɵk"] = TheSeamSchemaFormNumberComponent;
4264
- exports["ɵl"] = TheSeamSchemaFormSubmitSplitComponent;
4265
- exports["ɵm"] = TheSeamNavService;
4266
-
4267
- Object.defineProperty(exports, '__esModule', { value: true });
4268
-
4269
- }));
4270
- //# sourceMappingURL=theseam-ui-common-framework.umd.js.map