@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,3400 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Directive, ElementRef, InjectionToken, ChangeDetectorRef, Optional, Inject, HostBinding, Input, HostListener, forwardRef, isDevMode, Component, ChangeDetectionStrategy, ViewEncapsulation, ViewContainerRef, ContentChild, TemplateRef, NgModule, ViewChild, Injectable, EventEmitter, ViewChildren, Output, ComponentFactoryResolver, SkipSelf, Host, Self, ContentChildren } from '@angular/core';
3
- import { tap, startWith, switchMap, map, shareReplay, mapTo, take, auditTime, debounceTime, takeUntil, distinctUntilChanged, finalize, filter } from 'rxjs/operators';
4
- import { TemplatePortal, PortalModule, ComponentPortal, BasePortalOutlet } from '@angular/cdk/portal';
5
- import { BehaviorSubject, isObservable, from, Subject, of, combineLatest, defer, Observable } from 'rxjs';
6
- import { faAngleDoubleRight, faAngleDoubleLeft, faLock, faUnlock, faBars, faAngleLeft, faAngleDown } from '@fortawesome/free-solid-svg-icons';
7
- import { TheSeamLayoutService, TheSeamLayoutModule } from '@theseam/ui-common/layout';
8
- import { CommonModule } from '@angular/common';
9
- import { TheSeamButtonsModule } from '@theseam/ui-common/buttons';
10
- import { TheSeamIconModule } from '@theseam/ui-common/icon';
11
- import { TheSeamScrollbarModule } from '@theseam/ui-common/scrollbar';
12
- import { __decorate } from 'tslib';
13
- import { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';
14
- import { moveItemInArray, transferArrayItem, CdkDrag, DragDropModule } from '@angular/cdk/drag-drop';
15
- import { InputBoolean, InputNumber, mixinDisabled } from '@theseam/ui-common/core';
16
- import { THESEAM_WIDGET_ACCESSOR } from '@theseam/ui-common/widget';
17
- import * as i1 from '@theseam/ui-common/dynamic-component-loader';
18
- import { TheSeamDynamicComponentLoader } from '@theseam/ui-common/dynamic-component-loader';
19
- import { hasProperty, notNullOrUndefined, observeControlValue, observeControlStatus, isNullOrUndefined } from '@theseam/ui-common/utils';
20
- import { TheSeamSharedModule } from '@theseam/ui-common/shared';
21
- import { trigger, transition, group, query, animateChild, state, style, animate, keyframes } from '@angular/animations';
22
- import { NavigationEnd, Router, RouterModule, NavigationStart, ActivatedRoute } from '@angular/router';
23
- import { A11yModule } from '@angular/cdk/a11y';
24
- import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
25
- import { MenuComponent, TheSeamMenuModule } from '@theseam/ui-common/menu';
26
- import { faUserCircle } from '@fortawesome/free-regular-svg-icons';
27
- import { JsonSchemaFormService, isArray, buildTitleMap, hasOwn, Framework, JsonSchemaFormModule, WidgetLibraryModule, FrameworkLibraryService, WidgetLibraryService } from '@ajsf/core';
28
- import { ReactiveFormsModule } from '@angular/forms';
29
- import { NgSelectModule } from '@ng-select/ng-select';
30
- import { TheSeamCheckboxModule } from '@theseam/ui-common/checkbox';
31
- import { TheSeamFormFieldModule } from '@theseam/ui-common/form-field';
32
-
33
- class BaseLayoutContentFooterDirective {
34
- constructor(_elementRef) {
35
- this._elementRef = _elementRef;
36
- }
37
- }
38
- BaseLayoutContentFooterDirective.decorators = [
39
- { type: Directive, args: [{
40
- selector: '[seamBaseLayoutContentFooter]'
41
- },] }
42
- ];
43
- BaseLayoutContentFooterDirective.ctorParameters = () => [
44
- { type: ElementRef }
45
- ];
46
-
47
- class BaseLayoutContentHeaderDirective {
48
- constructor(_elementRef) {
49
- this._elementRef = _elementRef;
50
- }
51
- }
52
- BaseLayoutContentHeaderDirective.decorators = [
53
- { type: Directive, args: [{
54
- selector: '[seamBaseLayoutContentHeader]'
55
- },] }
56
- ];
57
- BaseLayoutContentHeaderDirective.ctorParameters = () => [
58
- { type: ElementRef }
59
- ];
60
-
61
- class BaseLayoutContentDirective {
62
- constructor(_elementRef) {
63
- this._elementRef = _elementRef;
64
- }
65
- }
66
- BaseLayoutContentDirective.decorators = [
67
- { type: Directive, args: [{
68
- selector: '[seamBaseLayoutContent]'
69
- },] }
70
- ];
71
- BaseLayoutContentDirective.ctorParameters = () => [
72
- { type: ElementRef }
73
- ];
74
-
75
- const THESEAM_BASE_LAYOUT_REF = new InjectionToken('seamBaseLayoutRef');
76
-
77
- /**
78
- * Can be used to toggle the expand state of the registered nav.
79
- */
80
- class BaseLayoutNavToggleDirective {
81
- constructor(_cdr, _baseLayout) {
82
- this._cdr = _cdr;
83
- this.type = 'button';
84
- /** Screenreader label for the button. */
85
- this.ariaLabel = 'Navigation toggle';
86
- this._toggleClass = true;
87
- this._expandedClass = false;
88
- this.baseLayout = _baseLayout;
89
- }
90
- get _attrType() { return this.type; }
91
- get _attrAriaLabel() { return this.ariaLabel || null; }
92
- _onClick() {
93
- if (this.baseLayout && this.baseLayout.registeredNav) {
94
- this.baseLayout.registeredNav.toggle();
95
- }
96
- }
97
- ngOnInit() {
98
- var _a, _b;
99
- (_b = (_a = this.baseLayout) === null || _a === void 0 ? void 0 : _a.registeredNav) === null || _b === void 0 ? void 0 : _b.expanded$.pipe(tap(exp => {
100
- this._expandedClass = exp;
101
- this._cdr.markForCheck();
102
- })).subscribe();
103
- }
104
- }
105
- BaseLayoutNavToggleDirective.decorators = [
106
- { type: Directive, args: [{
107
- selector: 'button[seamBaseLayoutNavToggle]',
108
- exportAs: 'seamBaseLayoutNavToggle'
109
- },] }
110
- ];
111
- BaseLayoutNavToggleDirective.ctorParameters = () => [
112
- { type: ChangeDetectorRef },
113
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
114
- ];
115
- BaseLayoutNavToggleDirective.propDecorators = {
116
- _attrType: [{ type: HostBinding, args: ['attr.type',] }],
117
- type: [{ type: Input }],
118
- _attrAriaLabel: [{ type: HostBinding, args: ['attr.aria-label',] }],
119
- ariaLabel: [{ type: Input, args: ['aria-label',] }],
120
- _toggleClass: [{ type: HostBinding, args: ['class.base-layout-nav-toggle',] }],
121
- _expandedClass: [{ type: HostBinding, args: ['class.base-layout-nav-toggle--expanded',] }],
122
- _onClick: [{ type: HostListener, args: ['click',] }]
123
- };
124
-
125
- class BaseLayoutSideBarDirective {
126
- constructor(_elementRef) {
127
- this._elementRef = _elementRef;
128
- }
129
- }
130
- BaseLayoutSideBarDirective.decorators = [
131
- { type: Directive, args: [{
132
- selector: '[seamBaseLayoutSideBar]'
133
- },] }
134
- ];
135
- BaseLayoutSideBarDirective.ctorParameters = () => [
136
- { type: ElementRef }
137
- ];
138
-
139
- class BaseLayoutTopBarDirective {
140
- constructor(_elementRef) {
141
- this._elementRef = _elementRef;
142
- }
143
- }
144
- BaseLayoutTopBarDirective.decorators = [
145
- { type: Directive, args: [{
146
- selector: '[seamBaseLayoutTopBar]'
147
- },] }
148
- ];
149
- BaseLayoutTopBarDirective.ctorParameters = () => [
150
- { type: ElementRef }
151
- ];
152
-
153
- const THE_SEAM_BASE_LAYOUT = {
154
- provide: THESEAM_BASE_LAYOUT_REF,
155
- // tslint:disable-next-line:no-use-before-declare
156
- useExisting: forwardRef(() => TheSeamBaseLayoutComponent),
157
- multi: false,
158
- };
159
- class TheSeamBaseLayoutComponent {
160
- constructor(_viewContainerRef, _layout) {
161
- this._viewContainerRef = _viewContainerRef;
162
- this._layout = _layout;
163
- this.faAngleDoubleRight = faAngleDoubleRight;
164
- this.faAngleDoubleLeft = faAngleDoubleLeft;
165
- this.overlayNav = false;
166
- this.showSidebar = true;
167
- this._hasSideBar = new BehaviorSubject(false);
168
- this._registeredNav = new BehaviorSubject(undefined);
169
- this.registeredNav$ = this._registeredNav.asObservable();
170
- this._registeredActions = new BehaviorSubject([]);
171
- this.registeredActions$ = this._registeredActions.asObservable();
172
- this.isMobile$ = this._layout.isMobile$;
173
- this.hasSideBar$ = this._hasSideBar.asObservable();
174
- }
175
- get registeredNav() { return this._registeredNav.value; }
176
- get registeredActions() { return this._registeredActions.value; }
177
- ngOnInit() {
178
- if (this.mobileBreakpoint) {
179
- this._layout.setMobileBreakpoint(this.mobileBreakpoint);
180
- }
181
- if (this._topBarTpl) {
182
- this._topBarPortal = new TemplatePortal(this._topBarTpl, this._viewContainerRef);
183
- }
184
- if (this._sideBarTpl) {
185
- this._sideBarPortal = new TemplatePortal(this._sideBarTpl, this._viewContainerRef);
186
- if (this.showSidebar) {
187
- this._hasSideBar.next(true);
188
- }
189
- }
190
- if (this._contentTpl) {
191
- this._contentPortal = new TemplatePortal(this._contentTpl, this._viewContainerRef);
192
- }
193
- if (this._contentHeaderTpl) {
194
- this._contentHeaderPortal = new TemplatePortal(this._contentHeaderTpl, this._viewContainerRef);
195
- }
196
- if (this._contentFooterTpl) {
197
- this._contentFooterPortal = new TemplatePortal(this._contentFooterTpl, this._viewContainerRef);
198
- }
199
- }
200
- registerNav(nav) {
201
- // TODO: Allow multiple registered navs
202
- // if (this.registeredNav) {
203
- // throw new Error('[TheSeamBaseLayoutComponent] A nav is already registered.')
204
- // }
205
- // console.log('register nav', nav)
206
- this._registeredNav.next(nav);
207
- }
208
- unregisterNav(nav) {
209
- if (this.registeredNav === nav) {
210
- this._registeredNav.next(undefined);
211
- }
212
- }
213
- registerAction(action) {
214
- const actions = this._registeredActions.value;
215
- if (actions.findIndex(a => a.name === action.name) !== -1) {
216
- if (isDevMode()) {
217
- console.warn(`[TheSeamBaseLayoutComponent] registerAction(): Action ${action.name} not ` +
218
- 'registered, because another action by that name is already registered.');
219
- }
220
- return;
221
- }
222
- actions.push(action);
223
- }
224
- unregisterAction(action) {
225
- const actionName = typeof action === 'string' ? action : action.name;
226
- const actions = this._registeredActions.value;
227
- this._registeredActions.next(actions.filter(f => f.name !== actionName));
228
- }
229
- isActionRegistered(actionName) {
230
- const actions = this._registeredActions.value;
231
- const action = actions.find(f => f.name === actionName);
232
- return !!action;
233
- }
234
- _handleButtonAction(action) {
235
- this._execButtonAction(action).subscribe();
236
- }
237
- _execButtonAction(action) {
238
- const fnRes = action.exec();
239
- return isObservable(fnRes) ? fnRes : from(Promise.resolve(fnRes));
240
- }
241
- }
242
- TheSeamBaseLayoutComponent.decorators = [
243
- { type: Component, args: [{
244
- selector: 'seam-base-layout',
245
- 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",
246
- providers: [THE_SEAM_BASE_LAYOUT],
247
- changeDetection: ChangeDetectionStrategy.OnPush,
248
- encapsulation: ViewEncapsulation.None,
249
- 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"]
250
- },] }
251
- ];
252
- TheSeamBaseLayoutComponent.ctorParameters = () => [
253
- { type: ViewContainerRef },
254
- { type: TheSeamLayoutService }
255
- ];
256
- TheSeamBaseLayoutComponent.propDecorators = {
257
- overlayNav: [{ type: Input }],
258
- mobileBreakpoint: [{ type: Input }],
259
- showSidebar: [{ type: Input }],
260
- _topBarTpl: [{ type: ContentChild, args: [BaseLayoutTopBarDirective, { static: true, read: TemplateRef },] }],
261
- _sideBarTpl: [{ type: ContentChild, args: [BaseLayoutSideBarDirective, { static: true, read: TemplateRef },] }],
262
- _contentTpl: [{ type: ContentChild, args: [BaseLayoutContentDirective, { static: true, read: TemplateRef },] }],
263
- _contentHeaderTpl: [{ type: ContentChild, args: [BaseLayoutContentHeaderDirective, { static: true, read: TemplateRef },] }],
264
- _contentFooterTpl: [{ type: ContentChild, args: [BaseLayoutContentFooterDirective, { static: true, read: TemplateRef },] }]
265
- };
266
-
267
- class BaseLayoutSideBarFooterDirective {
268
- constructor(_elementRef) {
269
- this._elementRef = _elementRef;
270
- }
271
- }
272
- BaseLayoutSideBarFooterDirective.decorators = [
273
- { type: Directive, args: [{
274
- selector: '[seamBaseLayoutSideBarFooter]'
275
- },] }
276
- ];
277
- BaseLayoutSideBarFooterDirective.ctorParameters = () => [
278
- { type: ElementRef }
279
- ];
280
-
281
- class BaseLayoutSideBarHeaderDirective {
282
- constructor(_elementRef) {
283
- this._elementRef = _elementRef;
284
- }
285
- }
286
- BaseLayoutSideBarHeaderDirective.decorators = [
287
- { type: Directive, args: [{
288
- selector: '[seamBaseLayoutSideBarHeader]'
289
- },] }
290
- ];
291
- BaseLayoutSideBarHeaderDirective.ctorParameters = () => [
292
- { type: ElementRef }
293
- ];
294
-
295
- class TheSeamBaseLayoutModule {
296
- }
297
- TheSeamBaseLayoutModule.decorators = [
298
- { type: NgModule, args: [{
299
- declarations: [
300
- TheSeamBaseLayoutComponent,
301
- BaseLayoutContentDirective,
302
- BaseLayoutSideBarDirective,
303
- BaseLayoutSideBarFooterDirective,
304
- BaseLayoutSideBarHeaderDirective,
305
- BaseLayoutTopBarDirective,
306
- BaseLayoutNavToggleDirective,
307
- BaseLayoutContentHeaderDirective,
308
- BaseLayoutContentFooterDirective
309
- ],
310
- imports: [
311
- CommonModule,
312
- PortalModule,
313
- TheSeamScrollbarModule,
314
- TheSeamIconModule,
315
- TheSeamButtonsModule
316
- ],
317
- exports: [
318
- TheSeamBaseLayoutComponent,
319
- BaseLayoutContentDirective,
320
- BaseLayoutSideBarDirective,
321
- BaseLayoutSideBarFooterDirective,
322
- BaseLayoutSideBarHeaderDirective,
323
- BaseLayoutTopBarDirective,
324
- BaseLayoutNavToggleDirective,
325
- BaseLayoutContentHeaderDirective,
326
- BaseLayoutContentFooterDirective
327
- ]
328
- },] }
329
- ];
330
-
331
- class DashboardWidgetContainerComponent {
332
- constructor() { }
333
- ngOnInit() { }
334
- }
335
- DashboardWidgetContainerComponent.decorators = [
336
- { type: Component, args: [{
337
- selector: 'seam-dashboard-widget-container',
338
- template: "<ng-template><ng-content></ng-content></ng-template>\n",
339
- changeDetection: ChangeDetectionStrategy.OnPush,
340
- styles: [""]
341
- },] }
342
- ];
343
- DashboardWidgetContainerComponent.ctorParameters = () => [];
344
- DashboardWidgetContainerComponent.propDecorators = {
345
- def: [{ type: Input }],
346
- templateRef: [{ type: ViewChild, args: [TemplateRef,] }]
347
- };
348
-
349
- const THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR = new InjectionToken('ITheSeamDashboardWidgetsPreferencesAccessor');
350
-
351
- // TODO: This needs a unit test to make sure it will not cause a race condition
352
- // if update is called faster than the previous can respond.
353
- //
354
- // The ideal approach I am thinking, without steping through the process too
355
- // thoroughly is to hold the new data emit until all pending updates are done.
356
- // Any pending updates other than the most recently requested will be ignored
357
- // and just wait on the most recent, and if already running it should be
358
- // canceled if possible. Also, incase something happens that causes the new data
359
- // emissions to get held up too long, there could be a threshold time that the
360
- // new data can be held up.
361
- /**
362
- * Manages anything dealing with retrieving and updating dashboard widget
363
- * preference data from the provided accessor.
364
- */
365
- class DashboardWidgetsPreferencesService {
366
- // private _pending = false
367
- // public get pending() { return this._pending }
368
- constructor(_prefsAccessor) {
369
- this._prefsAccessor = _prefsAccessor;
370
- this._tablePrefsMap = new Map();
371
- }
372
- preferences(preferenceKey) {
373
- let prefs = this._tablePrefsMap.get(preferenceKey);
374
- if (!prefs) {
375
- const refreshSubject = new Subject();
376
- prefs = {
377
- observable: this._createObservable(refreshSubject, preferenceKey),
378
- refresh: refreshSubject
379
- };
380
- this._tablePrefsMap.set(preferenceKey, prefs);
381
- }
382
- return prefs.observable;
383
- }
384
- _createObservable(refreshSubject, prefKey) {
385
- if (!this._prefsAccessor) {
386
- return of({});
387
- }
388
- const accessor = (key) => this._prefsAccessor ? this._prefsAccessor.get(key) : of('{}');
389
- return refreshSubject.pipe(startWith({}),
390
- // tap(() => console.log('Start requesting: ', prefKey)),
391
- switchMap(() => accessor(prefKey).pipe(map(v => {
392
- if (!v) {
393
- return null;
394
- }
395
- // TODO: Add a schema validator and migration tool to avoid parsing issues.
396
- try {
397
- return JSON.parse(v);
398
- }
399
- catch (error) {
400
- if (isDevMode()) {
401
- console.error(error);
402
- }
403
- return null;
404
- }
405
- }), map(v => !!v ? v : {}))), shareReplay({ bufferSize: 1, refCount: true }));
406
- }
407
- refresh(preferenceKey) {
408
- const prefs = this._tablePrefsMap.get(preferenceKey);
409
- if (prefs) {
410
- // this._pending = true
411
- // prefs.refresh.next()
412
- return prefs.observable.pipe(
413
- // tap(() => prefs.refresh.next()),
414
- tap(() => setTimeout(() => { prefs.refresh.next(); }, 0)), mapTo(undefined), take(1));
415
- }
416
- return of(undefined);
417
- }
418
- selectLayout(preferenceKey, layoutName) {
419
- return this.preferences(preferenceKey).pipe(map(prefs => (prefs.layouts || []).find(l => l.name === layoutName)));
420
- }
421
- // TODO: Improve this updating to not be more generic, so we can quickly add
422
- // edits for different preference schema's.
423
- //
424
- // TODO: Decide if a send queue/merging of pending queue is needed to avoid
425
- // out of order updates. This shouldn't be an issue, with how fast preferences
426
- // will most likely be changing, but it could happen in situations, such as
427
- // network issues.
428
- updateLayout(preferenceKey, layout) {
429
- if (!this._prefsAccessor) {
430
- return of(undefined);
431
- }
432
- if (!hasProperty(layout, 'name')) {
433
- throw Error(`Unable to save layout preference. 'name' is required for a layout preference.`);
434
- }
435
- const _layout = this.toSerializeableLayout(layout);
436
- // this._pending = true
437
- return this.preferences(preferenceKey).pipe(map(prefs => {
438
- // Making the preferences immutable may not be necessary, but for now
439
- // this obj->str->obj will work as a naive clone.
440
- const layouts = JSON.parse(JSON.stringify(prefs.layouts || []));
441
- const _layoutPref = layouts.find((c) => c.name === _layout.name);
442
- // console.log('has', _layoutPref)
443
- if (_layoutPref) {
444
- if (hasProperty(_layout, 'name')) {
445
- _layoutPref.name = _layout.name;
446
- }
447
- if (hasProperty(_layout, 'label')) {
448
- _layoutPref.label = _layout.label;
449
- }
450
- if (hasProperty(_layout, 'items')) {
451
- _layoutPref.items = _layout.items;
452
- }
453
- }
454
- else {
455
- layouts.push(Object.assign({}, _layout));
456
- }
457
- const newPrefs = Object.assign(Object.assign({}, prefs), { layouts });
458
- return newPrefs;
459
- }),
460
- // tap(v => console.log('newPrefs', v)),
461
- take(1), switchMap(newPrefs => this._prefsAccessor
462
- ? this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
463
- : of(newPrefs)), switchMap(() => this.refresh(preferenceKey).pipe(mapTo(undefined))));
464
- // .subscribe()
465
- }
466
- toSerializeableLayout(layout) {
467
- const serialized = {
468
- name: layout.name,
469
- label: layout.label,
470
- items: this.toSerializeableItems(layout.items) || []
471
- };
472
- return serialized;
473
- }
474
- // public toDeserializedLayout(layout: IDashboardWidgetItemLayoutSerialized): IDashboardWidgetItemLayoutDef {
475
- // // For now there is nothing to do. Eventually this should have at least
476
- // // validation on the deserialized object.
477
- // return layout
478
- // }
479
- /**
480
- * Returns the serializable widget items as objects that can be serialized to
481
- * a JSON string for storage.
482
- */
483
- toSerializeableItems(widgets) {
484
- const serialized = [];
485
- for (const w of widgets) {
486
- // if (!w.__itemDef.component || typeof w.__itemDef.component !== 'string') {
487
- // console.warn(`[DashboardWidgetsService] Widget item def must have a string 'component' property to be serialized.`, w)
488
- // continue
489
- // }
490
- // serialized.push({
491
- // widgetId: w.widgetId,
492
- // col: w.col,
493
- // order: w.order,
494
- // component: w.__itemDef.component
495
- // })
496
- // TODO: Remove this, it is only here for initial dev debugging.
497
- serialized.push({
498
- widgetId: w.widgetId,
499
- col: w.col,
500
- order: w.order,
501
- // component: w.__itemDef.component as string
502
- });
503
- }
504
- return serialized;
505
- }
506
- }
507
- DashboardWidgetsPreferencesService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DashboardWidgetsPreferencesService_Factory() { return new DashboardWidgetsPreferencesService(i0.ɵɵinject(THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR, 8)); }, token: DashboardWidgetsPreferencesService, providedIn: "root" });
508
- DashboardWidgetsPreferencesService.decorators = [
509
- { type: Injectable, args: [{
510
- providedIn: 'root'
511
- },] }
512
- ];
513
- DashboardWidgetsPreferencesService.ctorParameters = () => [
514
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR,] }] }
515
- ];
516
-
517
- class DashboardWidgetsService {
518
- constructor(_dynamicComponentLoaderModule, _preferences) {
519
- this._dynamicComponentLoaderModule = _dynamicComponentLoaderModule;
520
- this._preferences = _preferences;
521
- this.preferenceKey = 'datatable-widgets';
522
- this.defaultNumColumns = 3;
523
- /** Used for operations, such as 'addWidget', if the column is not specified. */
524
- this.defaultColumn = 0;
525
- this._widgets = new BehaviorSubject([]);
526
- this._numColumns = new BehaviorSubject(this.defaultNumColumns);
527
- this._viewContainerRefSubject = new BehaviorSubject(undefined);
528
- this.numColumns$ = this._numColumns.asObservable();
529
- // Widget items without preferences
530
- const _widgetItems$ = combineLatest([this._widgets, this._viewContainerRefSubject])
531
- .pipe(switchMap(([defs, vcr]) => this.createWidgetItems(defs, vcr)));
532
- // Widget items with preferences
533
- this.widgetItems$ = combineLatest([_widgetItems$, this.numColumns$])
534
- .pipe(
535
- // Wait until the current tick is done, incase both the widgets and
536
- // number of columns are set durring the same tick. Without the audit,
537
- // this would get called twice when the component is initialized with
538
- // both inputs set one after the other individually.
539
- auditTime(0), switchMap(([items, numColumns]) => this._preferences.selectLayout(this.preferenceKey, this._layoutName(numColumns)).pipe(map(layout => layout ? this.withLayoutPreferences(items, layout) : items))), shareReplay({ bufferSize: 1, refCount: true }));
540
- this.widgetColumns$ = this.widgetItems$
541
- .pipe(map(items => this.toColumnRecords(items)), shareReplay({ bufferSize: 1, refCount: true }));
542
- }
543
- get widgets() { return this._widgets.value; }
544
- set widgets(value) { this._widgets.next(value); }
545
- get numColumns() { return this._numColumns.value; }
546
- set numColumns(value) {
547
- if (value !== this._numColumns.value) {
548
- this._numColumns.next(value);
549
- }
550
- }
551
- _layoutName(numColumns) {
552
- return `columns-${numColumns}`;
553
- }
554
- setViewContainerRef(vcr) {
555
- this._viewContainerRefSubject.next(vcr);
556
- }
557
- createWidgetItems(defs, vcr) {
558
- const _createObservables = (defs || []).map(d => this.createWidgetItem(d, vcr));
559
- const items$ = _createObservables.length > 0 ? combineLatest(_createObservables) : of([]);
560
- return items$.pipe(map(items => items.filter(notNullOrUndefined)), tap(items => {
561
- if (isDevMode()) {
562
- const ids = items.map(v => v.widgetId);
563
- if ((new Set(ids)).size !== ids.length) {
564
- console.warn(`[DashboardWidgetsService] Duplicate widget's with the same 'widgetId' found.`);
565
- }
566
- }
567
- }));
568
- }
569
- createWidgetItem(def, vcr) {
570
- if (!def.widgetId || typeof def.widgetId !== 'string' || def.widgetId.length < 1) {
571
- if (isDevMode()) {
572
- console.warn(`[DashboardWidgetsService] Widget ignored. All widgets must have a 'widgetId'.`, def);
573
- }
574
- return of(undefined);
575
- }
576
- return this.createWidgetPortal(def, vcr).pipe(map(portal => (Object.assign(Object.assign({}, def), { col: def.col || this.defaultColumn, order: def.order || 0, portal, __itemDef: def }))));
577
- }
578
- createWidgetPortal(def, vcr) {
579
- if (typeof def.component === 'string') {
580
- return this._dynamicComponentLoaderModule
581
- .getComponentFactory(def.component)
582
- .pipe(map(componentFactory => {
583
- return new ComponentPortal(componentFactory.componentType, vcr, undefined, componentFactory.ngModule.componentFactoryResolver);
584
- }), take(1));
585
- }
586
- return def.componentFactoryResolver
587
- ? of(new ComponentPortal(def.component, vcr, undefined, def.componentFactoryResolver))
588
- : of(new ComponentPortal(def.component, vcr));
589
- }
590
- updateOrder() {
591
- return this.widgetColumns$
592
- .pipe(take(1), tap(columns => columns.forEach(col => {
593
- let i = 0;
594
- col.items.forEach(itm => itm.order = i++);
595
- })), mapTo(undefined));
596
- }
597
- toColumnRecords(items) {
598
- let columns = [];
599
- for (let i = 0; i < this.numColumns; i++) {
600
- columns.push({ column: i, items: [] });
601
- }
602
- const colNotFound = [];
603
- // Distribute items into columns
604
- for (const item of items) {
605
- const col = columns.find(c => c.column === item.col);
606
- if (!col) {
607
- // columns.push({ column: item.col, items: [ item ] })
608
- // if (item.col < 0) {
609
- // const col0: IDashboardWidgetsColumnRecord | undefined = columns.find(c => c.column === 0)
610
- // if (col0) {
611
- // col0.items.push(item)
612
- // }
613
- // } else if (item.col > this.numColumns - 1) {
614
- // const colMax: IDashboardWidgetsColumnRecord | undefined = columns.find(c => c.column === this.numColumns - 1)
615
- // if (colMax) {
616
- // colMax.items.push(item)
617
- // }
618
- // }
619
- colNotFound.push(item);
620
- }
621
- else {
622
- col.items.push(item);
623
- }
624
- }
625
- for (let i = 0; i < colNotFound.length; i++) {
626
- const item = colNotFound[i];
627
- const col = columns
628
- .find(c => c.column === i % this.numColumns);
629
- if (col) {
630
- col.items.push(item);
631
- }
632
- }
633
- // Sort columns
634
- columns = columns.sort((a, b) => a.column - b.column);
635
- // Sort columns items
636
- columns.forEach(col => col.items.sort((a, b) => a.order - b.order));
637
- return columns;
638
- }
639
- withLayoutPreferences(items, layout) {
640
- const _items = [];
641
- for (const item of items) {
642
- const itemPref = layout.items.find(x => x.widgetId === item.widgetId);
643
- _items.push(Object.assign(Object.assign({}, item), (itemPref || {})));
644
- }
645
- return _items;
646
- }
647
- savePreferences() {
648
- // Right now the items are moved between the column record arrays, but the
649
- // 'col' prop is not updated, so it is mapped to corrected items here from
650
- // the column records.
651
- const items$ = this.widgetColumns$.pipe(map(columns => []
652
- .concat(...(columns.map(c => c.items.map(itm => (Object.assign(Object.assign({}, itm), { col: c.column }))))))));
653
- return combineLatest([items$, this.numColumns$]).pipe(auditTime(0), take(1), switchMap(([items, numColumns]) => {
654
- return this._preferences.updateLayout(this.preferenceKey, {
655
- name: this._layoutName(numColumns),
656
- items
657
- });
658
- }), mapTo(undefined));
659
- }
660
- }
661
- DashboardWidgetsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DashboardWidgetsService_Factory() { return new DashboardWidgetsService(i0.ɵɵinject(i1.TheSeamDynamicComponentLoader), i0.ɵɵinject(DashboardWidgetsPreferencesService)); }, token: DashboardWidgetsService, providedIn: "root" });
662
- DashboardWidgetsService.decorators = [
663
- { type: Injectable, args: [{
664
- providedIn: 'root'
665
- },] }
666
- ];
667
- DashboardWidgetsService.ctorParameters = () => [
668
- { type: TheSeamDynamicComponentLoader },
669
- { type: DashboardWidgetsPreferencesService }
670
- ];
671
-
672
- class DashboardWidgetsComponent {
673
- constructor(_dashboardWidgets, _viewContainerRef, _cdr, _baseLayoutRef) {
674
- this._dashboardWidgets = _dashboardWidgets;
675
- this._viewContainerRef = _viewContainerRef;
676
- this._cdr = _cdr;
677
- this._baseLayoutRef = _baseLayoutRef;
678
- this.faLock = faLock;
679
- this.faUnlock = faUnlock;
680
- this._actionWidgetDragToggleName = 'widget-drag-toggle';
681
- this._ngUnsubscribe = new Subject();
682
- this._gapSize = new BehaviorSubject(30);
683
- this.widgetsDraggable = false;
684
- this._dragToggleVisible = new BehaviorSubject(true);
685
- this._containers = new BehaviorSubject([]);
686
- this._layoutChange = new Subject();
687
- this.widgetsChange = new EventEmitter();
688
- this._widthChange = new Subject();
689
- this.containers$ = this._containers.asObservable();
690
- this._gapStyleSize$ = this._gapSize.pipe(auditTime(0), map(size => size / 2), shareReplay({ bufferSize: 1, refCount: true }));
691
- this._widthChange.pipe(debounceTime(30), tap(width => {
692
- if (width > 1300) {
693
- this.numColumns = 3;
694
- }
695
- else if (width > 800) {
696
- this.numColumns = 2;
697
- }
698
- else {
699
- this.numColumns = 1;
700
- }
701
- }), takeUntil(this._ngUnsubscribe)).subscribe();
702
- this.widgetItems$ = this._dashboardWidgets.widgetItems$;
703
- this.widgetColumns$ = this._dashboardWidgets.widgetColumns$;
704
- }
705
- get gapSize() { return this._gapSize.value; }
706
- set gapSize(val) {
707
- this._gapSize.next(coerceNumberProperty(val));
708
- }
709
- get dragToggleVisible() { return this._dragToggleVisible.value; }
710
- set dragToggleVisible(val) {
711
- this._dragToggleVisible.next(coerceBooleanProperty(val));
712
- }
713
- get numColumns() { return this._dashboardWidgets.numColumns; }
714
- set numColumns(val) {
715
- this._dashboardWidgets.numColumns = coerceNumberProperty(val);
716
- }
717
- set widgets(value) { this._dashboardWidgets.widgets = value || []; }
718
- get widgets() { return this._dashboardWidgets.widgets; }
719
- ngOnInit() {
720
- // this._dashboardWidgets.setViewContainerRef(this._viewContainerRef)
721
- this._layoutChange.pipe(switchMap(() => this.widgetItems$.pipe(take(1), tap(widgetItems => this.widgetsChange.emit(widgetItems)),
722
- // map(widgetItems => this._dashboardWidgets.toSerializeableItems(widgetItems)),
723
- // tap(v => console.log('serializable', v)),
724
- switchMap(() => this._dashboardWidgets.savePreferences()))), takeUntil(this._ngUnsubscribe)).subscribe();
725
- }
726
- ngOnDestroy() {
727
- this._unregisterToggleAction();
728
- this._ngUnsubscribe.next();
729
- this._ngUnsubscribe.complete();
730
- }
731
- ngAfterViewInit() {
732
- var _a;
733
- if (this._baseLayoutRef) {
734
- this._dragToggleVisible.pipe(distinctUntilChanged(), tap(visible => {
735
- const isRegistered = this._isActionToggleActionRegistered();
736
- if (visible && !isRegistered) {
737
- this._registerToggleAction();
738
- }
739
- else if (!visible && isRegistered) {
740
- this._unregisterToggleAction();
741
- }
742
- }), takeUntil(this._ngUnsubscribe)).subscribe();
743
- }
744
- (_a = this.containers) === null || _a === void 0 ? void 0 : _a.changes.pipe(startWith(undefined), map(() => { var _a; return ((_a = this.containers) === null || _a === void 0 ? void 0 : _a.toArray()) || []; }), takeUntil(this._ngUnsubscribe), finalize(() => this._containers.next([]))).subscribe(v => this._containers.next(v));
745
- }
746
- _registerToggleAction() {
747
- if (this._baseLayoutRef) {
748
- // This should probably use a component dynamically created from the
749
- // config and return a ref to it, instead of using a template.
750
- if (this._toggleBtnTpl) {
751
- this._baseLayoutRef.registerAction({
752
- // type: 'button',
753
- type: 'template',
754
- name: this._actionWidgetDragToggleName,
755
- label: 'Toggle Widget Dragging',
756
- // exec: () => {
757
- // console.log('toggle')
758
- // },
759
- template: this._toggleBtnTpl
760
- });
761
- }
762
- }
763
- }
764
- _unregisterToggleAction() {
765
- if (this._baseLayoutRef) {
766
- this._baseLayoutRef.unregisterAction(this._actionWidgetDragToggleName);
767
- }
768
- }
769
- _isActionToggleActionRegistered() {
770
- if (!this._baseLayoutRef) {
771
- return false;
772
- }
773
- return this._baseLayoutRef.isActionRegistered(this._actionWidgetDragToggleName);
774
- }
775
- drop(event) {
776
- if (event.previousContainer === event.container) {
777
- moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
778
- this._dashboardWidgets.updateOrder().subscribe(() => this._layoutChange.next());
779
- }
780
- else {
781
- transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);
782
- this._dashboardWidgets.updateOrder().subscribe(() => this._layoutChange.next());
783
- }
784
- }
785
- _containerTrackByFn(index, item) {
786
- return item.widgetId;
787
- }
788
- _columnsTrackByFn(index, record) {
789
- return record.column;
790
- }
791
- toggleDragging() {
792
- this.widgetsDraggable = !this.widgetsDraggable;
793
- this._cdr.detectChanges();
794
- }
795
- _resized(event) {
796
- this._widthChange.next(event.size.width);
797
- }
798
- }
799
- DashboardWidgetsComponent.decorators = [
800
- { type: Component, args: [{
801
- selector: 'seam-dashboard-widgets',
802
- 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",
803
- providers: [
804
- {
805
- provide: THESEAM_WIDGET_ACCESSOR,
806
- // tslint:disable-next-line:no-use-before-declare
807
- useExisting: forwardRef(() => DashboardWidgetsComponent)
808
- }
809
- ],
810
- changeDetection: ChangeDetectionStrategy.OnPush,
811
- encapsulation: ViewEncapsulation.None,
812
- 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"]
813
- },] }
814
- ];
815
- DashboardWidgetsComponent.ctorParameters = () => [
816
- { type: DashboardWidgetsService },
817
- { type: ViewContainerRef },
818
- { type: ChangeDetectorRef },
819
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
820
- ];
821
- DashboardWidgetsComponent.propDecorators = {
822
- gapSize: [{ type: Input }],
823
- widgetsDraggable: [{ type: Input }],
824
- dragToggleVisible: [{ type: Input }],
825
- numColumns: [{ type: Input }],
826
- widgets: [{ type: Input }],
827
- containers: [{ type: ViewChildren, args: [DashboardWidgetContainerComponent,] }],
828
- cdkDragDirectives: [{ type: ViewChildren, args: [CdkDrag,] }],
829
- _toggleBtnTpl: [{ type: ViewChild, args: ['toggleBtnTpl', { static: true },] }],
830
- widgetsChange: [{ type: Output }]
831
- };
832
- __decorate([
833
- InputBoolean()
834
- ], DashboardWidgetsComponent.prototype, "widgetsDraggable", void 0);
835
-
836
- class DashboardWidgetTemplateContainerComponent {
837
- constructor(_dashboardWidgetsComponent) {
838
- this._dashboardWidgetsComponent = _dashboardWidgetsComponent;
839
- this.template$ = this._dashboardWidgetsComponent.containers$.pipe(map(containers => containers.find((c) => { var _a; return c.def.widgetId === ((_a = this.item) === null || _a === void 0 ? void 0 : _a.widgetId); })), map(container => container && container.templateRef));
840
- }
841
- ngOnInit() { }
842
- }
843
- DashboardWidgetTemplateContainerComponent.decorators = [
844
- { type: Component, args: [{
845
- selector: 'seam-dashboard-widget-template-container',
846
- template: "<ng-template [ngTemplateOutlet]=\"$any(template$ | async)\"></ng-template>\n",
847
- changeDetection: ChangeDetectionStrategy.OnPush,
848
- styles: [""]
849
- },] }
850
- ];
851
- DashboardWidgetTemplateContainerComponent.ctorParameters = () => [
852
- { type: DashboardWidgetsComponent }
853
- ];
854
- DashboardWidgetTemplateContainerComponent.propDecorators = {
855
- item: [{ type: Input }]
856
- };
857
-
858
- /**
859
- * Mostly copied from
860
- * `https://github.com/angular/components/blob/master/src/cdk/portal/portal-directives.ts`
861
- * until I can figure out how to hold off removing the DOM nodes with the
862
- * cdkPortalOutlet. When we update to Angular 9 I may be able to do this better
863
- * with the new DomPortal.
864
- *
865
- * Directive version of a PortalOutlet. Because the directive *is* a
866
- * PortalOutlet, portals can be directly attached to it, enabling declarative
867
- * use.
868
- *
869
- * Usage: `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
870
- */
871
- class DashboardWidgetPortalOutletDirective extends BasePortalOutlet {
872
- constructor(_componentFactoryResolver, _viewContainerRef, _elementRef) {
873
- super();
874
- this._componentFactoryResolver = _componentFactoryResolver;
875
- this._viewContainerRef = _viewContainerRef;
876
- this._elementRef = _elementRef;
877
- /** Whether the portal component is initialized. */
878
- this._isInitialized = false;
879
- /** Emits when a portal is attached to the outlet. */
880
- this.attached = new EventEmitter();
881
- }
882
- /** Portal associated with the Portal outlet. */
883
- get portal() {
884
- return this._attachedPortal;
885
- }
886
- set portal(portal) {
887
- // console.log('[DashboardWidgetPortalOutletDirective] set portal', portal, this.hasAttached())
888
- // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have
889
- // run. This handles the cases where the user might do something like `<div cdkPortalOutlet>`
890
- // and attach a portal programmatically in the parent component. When Angular does the first CD
891
- // round, it will fire the setter with empty string, causing the user's content to be cleared.
892
- if (this.hasAttached() && !portal && !this._isInitialized) {
893
- return;
894
- }
895
- if (this.hasAttached()) {
896
- super.detach();
897
- }
898
- if (portal) {
899
- super.attach(portal);
900
- }
901
- this._attachedPortal = portal;
902
- }
903
- /** Component or view reference that is attached to the portal. */
904
- get attachedRef() {
905
- return this._attachedRef;
906
- }
907
- ngOnInit() {
908
- this._isInitialized = true;
909
- }
910
- ngOnDestroy() {
911
- // console.log('[DashboardWidgetPortalOutletDirective] ngOnDestroy')
912
- // TODO: Figure out the right way to call dispose without messing up
913
- // animation. This setTimeout way assumes the transition is 500ms, but that
914
- // may not always be the case and isn't guaranteed to match the animation ms
915
- // duration, since setTimeout isn't really meant for accurate timing. It
916
- // also makes debugging animations difficult, because you can pause an
917
- // animation, but the timeout will still run.
918
- setTimeout(() => {
919
- super.dispose();
920
- this._attachedPortal = null;
921
- this._attachedRef = null;
922
- }, 500);
923
- }
924
- /**
925
- * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.
926
- *
927
- * @param portal Portal to be attached to the portal outlet.
928
- * @returns Reference to the created component.
929
- */
930
- attachComponentPortal(portal) {
931
- portal.setAttachedHost(this);
932
- // If the portal specifies an origin, use that as the logical location of the component
933
- // in the application tree. Otherwise use the location of this PortalOutlet.
934
- const viewContainerRef = portal.viewContainerRef != null ?
935
- portal.viewContainerRef :
936
- this._viewContainerRef;
937
- const resolver = portal.componentFactoryResolver || this._componentFactoryResolver;
938
- const componentFactory = resolver.resolveComponentFactory(portal.component);
939
- const ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector);
940
- super.setDisposeFn(() => ref.destroy());
941
- this._attachedPortal = portal;
942
- this._attachedRef = ref;
943
- this.attached.emit(ref);
944
- return ref;
945
- }
946
- /**
947
- * Attach the given TemplatePortal to this PortlHost as an embedded View.
948
- * @param portal Portal to be attached.
949
- * @returns Reference to the created embedded view.
950
- */
951
- attachTemplatePortal(portal) {
952
- portal.setAttachedHost(this);
953
- const viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context);
954
- super.setDisposeFn(() => this._viewContainerRef.clear());
955
- this._attachedPortal = portal;
956
- this._attachedRef = viewRef;
957
- this.attached.emit(viewRef);
958
- return viewRef;
959
- }
960
- }
961
- DashboardWidgetPortalOutletDirective.decorators = [
962
- { type: Directive, args: [{
963
- selector: '[seamDashboardWidgetPortalOutlet]',
964
- exportAs: 'seamDashboardWidgetPortalOutlet',
965
- inputs: ['portal: seamDashboardWidgetPortalOutlet']
966
- },] }
967
- ];
968
- DashboardWidgetPortalOutletDirective.ctorParameters = () => [
969
- { type: ComponentFactoryResolver },
970
- { type: ViewContainerRef },
971
- { type: ElementRef }
972
- ];
973
- DashboardWidgetPortalOutletDirective.propDecorators = {
974
- attached: [{ type: Output }]
975
- };
976
-
977
- class DashboardComponent {
978
- constructor() {
979
- this.widgetsDraggable = true;
980
- }
981
- }
982
- DashboardComponent.decorators = [
983
- { type: Component, args: [{
984
- selector: 'seam-dashboard',
985
- template: "<seam-dashboard-widgets [widgets]=\"widgets\" [widgetsDraggable]=\"widgetsDraggable\"></seam-dashboard-widgets>\n",
986
- changeDetection: ChangeDetectionStrategy.OnPush,
987
- styles: [""]
988
- },] }
989
- ];
990
- DashboardComponent.ctorParameters = () => [];
991
- DashboardComponent.propDecorators = {
992
- widgets: [{ type: Input }],
993
- widgetsDraggable: [{ type: Input }]
994
- };
995
- __decorate([
996
- InputBoolean()
997
- ], DashboardComponent.prototype, "widgetsDraggable", void 0);
998
-
999
- class TheSeamDashboardModule {
1000
- }
1001
- TheSeamDashboardModule.decorators = [
1002
- { type: NgModule, args: [{
1003
- declarations: [
1004
- DashboardComponent,
1005
- DashboardWidgetsComponent,
1006
- DashboardWidgetContainerComponent,
1007
- DashboardWidgetTemplateContainerComponent,
1008
- DashboardWidgetPortalOutletDirective
1009
- ],
1010
- imports: [
1011
- CommonModule,
1012
- PortalModule,
1013
- DragDropModule,
1014
- TheSeamButtonsModule,
1015
- TheSeamIconModule,
1016
- TheSeamSharedModule
1017
- ],
1018
- exports: [
1019
- DashboardComponent,
1020
- DashboardWidgetsComponent,
1021
- DashboardWidgetPortalOutletDirective
1022
- ]
1023
- },] }
1024
- ];
1025
-
1026
- function isNavItemType(item, type) {
1027
- return item.itemType === type;
1028
- }
1029
- function isNavItemActive(item) {
1030
- var _a, _b;
1031
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.active) !== null && _b !== void 0 ? _b : false;
1032
- }
1033
- function isExpanded(item) {
1034
- var _a, _b;
1035
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.expanded) !== null && _b !== void 0 ? _b : false;
1036
- }
1037
- function hasChildren(item) {
1038
- return canHaveChildren(item) && hasProperty(item, 'children') && item.children.length > 0;
1039
- }
1040
- function canHaveChildren(item) {
1041
- return isNavItemType(item, 'basic') || isNavItemType(item, 'link');
1042
- }
1043
- function hasActiveChild(item) {
1044
- if (!hasChildren(item)) {
1045
- return false;
1046
- }
1047
- for (const child of item.children) {
1048
- if (getItemStateProp(child, 'active')) {
1049
- return true;
1050
- }
1051
- }
1052
- return false;
1053
- }
1054
- function hasExpandedChild(item) {
1055
- if (!hasChildren(item)) {
1056
- return false;
1057
- }
1058
- for (const child of item.children) {
1059
- if (getItemStateProp(child, 'expanded')) {
1060
- return true;
1061
- }
1062
- }
1063
- return false;
1064
- }
1065
- function canBeActive(item) {
1066
- return isNavItemType(item, 'basic') || isNavItemType(item, 'link');
1067
- }
1068
- function canExpand(item) {
1069
- return canHaveChildren(item);
1070
- }
1071
- function findLinkItems(items) {
1072
- const linkItems = [];
1073
- const _fn = (_items) => {
1074
- for (const item of _items) {
1075
- if (isNavItemType(item, 'link')) {
1076
- linkItems.push(item);
1077
- }
1078
- if (canHaveChildren(item) && hasProperty(item, 'children')) {
1079
- _fn(item.children);
1080
- }
1081
- }
1082
- };
1083
- _fn(items);
1084
- return linkItems;
1085
- }
1086
- function setItemStateProp(item, prop, value) {
1087
- if (hasProperty(item, '__state')) {
1088
- item.__state[prop] = value;
1089
- }
1090
- }
1091
- function getItemStateProp(item, prop) {
1092
- return setDefaultState(item).__state[prop];
1093
- }
1094
- function setDefaultState(item) {
1095
- if (hasProperty(item, '__state')) {
1096
- return item;
1097
- }
1098
- item.__state = {
1099
- active: false,
1100
- expanded: false
1101
- };
1102
- // TODO: See if there is a nice way to fix the typing for this.
1103
- return item;
1104
- }
1105
-
1106
- class TheSeamSideNavService {
1107
- constructor(_router) {
1108
- this._router = _router;
1109
- this._updatingCount = new BehaviorSubject(0);
1110
- this.itemChanged = new Subject();
1111
- this.loading$ = this._updatingCount.pipe(map(count => count > 0), distinctUntilChanged(), shareReplay({ bufferSize: 1, refCount: true }));
1112
- }
1113
- createItemsObservable(items) {
1114
- return defer(() => {
1115
- this.updateItemsStates(items);
1116
- return new Observable((subscriber) => {
1117
- const stateChangeSub = this.itemChanged.pipe(switchMap(() => this.loading$.pipe(filter(loading => !loading)))).subscribe(() => {
1118
- subscriber.next(items);
1119
- });
1120
- try {
1121
- this.updateItemsStates(items);
1122
- }
1123
- catch (err) {
1124
- subscriber.error(err);
1125
- }
1126
- // const linkItems = findLinkItems(items)
1127
- const routeChangeSub = this._router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe(() => {
1128
- try {
1129
- this.updateItemsStates(items);
1130
- }
1131
- catch (err) {
1132
- subscriber.error(err);
1133
- }
1134
- });
1135
- return () => {
1136
- stateChangeSub.unsubscribe();
1137
- routeChangeSub.unsubscribe();
1138
- };
1139
- }).pipe(startWith(items));
1140
- });
1141
- }
1142
- _incUpdatingCount() {
1143
- this._updatingCount.next(this._updatingCount.value + 1);
1144
- }
1145
- _decrUpdatingCount() {
1146
- this._updatingCount.next(this._updatingCount.value - 1);
1147
- }
1148
- updateItemsStates(items) {
1149
- this._incUpdatingCount();
1150
- try {
1151
- for (const item of items) {
1152
- if (hasChildren(item)) {
1153
- this.updateItemsStates(item.children);
1154
- }
1155
- this.updateItemState(item);
1156
- }
1157
- this._decrUpdatingCount();
1158
- }
1159
- catch (err) {
1160
- this._decrUpdatingCount();
1161
- throw err;
1162
- }
1163
- }
1164
- updateItemState(item) {
1165
- this._incUpdatingCount();
1166
- try {
1167
- setDefaultState(item);
1168
- if (isNavItemType(item, 'link')) {
1169
- const url = this._getUrl(item);
1170
- if (notNullOrUndefined(url)) {
1171
- const opts = this._getMatchOptions(item);
1172
- this.setItemStateProp(item, 'active', this._router.isActive(url, opts));
1173
- }
1174
- }
1175
- // TODO: Implement this in a more optimized way. Unless our apps start
1176
- // having large side-navs constantly updating their state, this shouldn't
1177
- // have much impact on performance.
1178
- this._updateItemExpandedState(item);
1179
- this._decrUpdatingCount();
1180
- }
1181
- catch (err) {
1182
- this._decrUpdatingCount();
1183
- throw err;
1184
- }
1185
- }
1186
- _updateItemsExpandedState(items) {
1187
- for (const item of items) {
1188
- if (hasChildren(item)) {
1189
- this._updateItemsExpandedState(item.children);
1190
- }
1191
- this._updateItemExpandedState(item);
1192
- }
1193
- }
1194
- _updateItemExpandedState(item) {
1195
- if (!canExpand(item)) {
1196
- if (getItemStateProp(item, 'expanded')) {
1197
- this.setItemStateProp(item, 'expanded', false);
1198
- }
1199
- return;
1200
- }
1201
- if (hasChildren(item)) {
1202
- this._updateItemsExpandedState(item.children);
1203
- }
1204
- if (hasActiveChild(item) || hasExpandedChild(item)) {
1205
- if (!getItemStateProp(item, 'expanded')) {
1206
- this.setItemStateProp(item, 'expanded', true);
1207
- }
1208
- }
1209
- else {
1210
- if (getItemStateProp(item, 'expanded')) {
1211
- this.setItemStateProp(item, 'expanded', false);
1212
- }
1213
- }
1214
- }
1215
- _getNavExtras(item) {
1216
- const navigationExtras = {};
1217
- if (hasProperty(item, 'queryParams')) {
1218
- navigationExtras.queryParams = item.queryParams;
1219
- }
1220
- if (hasProperty(item, 'fragment')) {
1221
- navigationExtras.fragment = item.fragment;
1222
- }
1223
- if (hasProperty(item, 'queryParamsHandling')) {
1224
- navigationExtras.queryParamsHandling = item.queryParamsHandling;
1225
- }
1226
- if (hasProperty(item, 'preserveFragment')) {
1227
- navigationExtras.preserveFragment = item.preserveFragment;
1228
- }
1229
- return navigationExtras;
1230
- }
1231
- _getUrl(item) {
1232
- const link = item.link;
1233
- if (typeof link === 'string') {
1234
- return this._router.createUrlTree([link], this._getNavExtras(item)).toString();
1235
- }
1236
- else if (Array.isArray(link)) {
1237
- return this._router.createUrlTree(link, this._getNavExtras(item)).toString();
1238
- }
1239
- return null;
1240
- }
1241
- _getMatchOptions(item) {
1242
- const defaultMatchOpts = {
1243
- paths: 'subset',
1244
- queryParams: 'subset',
1245
- fragment: 'ignored',
1246
- matrixParams: 'ignored'
1247
- };
1248
- if (hasProperty(item, 'matchOptions')) {
1249
- return Object.assign(Object.assign({}, defaultMatchOpts), item.matchOptions);
1250
- }
1251
- return defaultMatchOpts;
1252
- }
1253
- setItemStateProp(item, prop, value) {
1254
- const currentValue = getItemStateProp(item, prop);
1255
- if (currentValue !== value) {
1256
- setItemStateProp(item, prop, value);
1257
- const changed = {
1258
- item,
1259
- prop,
1260
- prevValue: currentValue,
1261
- newValue: value
1262
- };
1263
- this.itemChanged.next(changed);
1264
- }
1265
- }
1266
- }
1267
- TheSeamSideNavService.decorators = [
1268
- { type: Injectable }
1269
- ];
1270
- TheSeamSideNavService.ctorParameters = () => [
1271
- { type: Router }
1272
- ];
1273
-
1274
- const EXPANDED_STATE$1 = 'expanded';
1275
- const COLLAPSED_STATE$1 = 'collapsed';
1276
- const EXPANDED_OVERLAY_STATE = 'expanded-overlay';
1277
- const COLLAPSED_OVERLAY_STATE = 'collapsed-overlay';
1278
- const EXPANDED_STATES = [EXPANDED_STATE$1, EXPANDED_OVERLAY_STATE];
1279
- const COLLAPSED_STATES = [COLLAPSED_STATE$1, COLLAPSED_OVERLAY_STATE];
1280
- const EXPAND_STATES = [...EXPANDED_STATES, ...COLLAPSED_STATES];
1281
- function sideNavExpandStateChangeFn(fromState, toState) {
1282
- // console.log({ fromState, toState })
1283
- return fromState !== toState &&
1284
- (
1285
- // NOTE: The current way the side nav is being used it causes the
1286
- // component to sometimes get placed in the wrong location initially. It
1287
- // is fast enough to not be noticed without an initial animation usually,
1288
- // so it is commented out below until the initial placement issue it
1289
- // fixed.
1290
- //
1291
- // (
1292
- // fromState === 'void' && EXPAND_STATES.indexOf(toState) !== -1
1293
- // ||
1294
- // toState === 'void' && EXPAND_STATES.indexOf(fromState) !== -1
1295
- // )
1296
- // ||
1297
- ((EXPANDED_STATES.indexOf(fromState) !== -1 && COLLAPSED_STATES.indexOf(toState) !== -1)
1298
- ||
1299
- (EXPANDED_STATES.indexOf(toState) !== -1 && COLLAPSED_STATES.indexOf(fromState) !== -1)));
1300
- }
1301
- class SideNavComponent {
1302
- constructor(_viewContainerRef, _layout, _sideNav, _baseLayoutRef) {
1303
- this._viewContainerRef = _viewContainerRef;
1304
- this._layout = _layout;
1305
- this._sideNav = _sideNav;
1306
- this._baseLayoutRef = _baseLayoutRef;
1307
- this._ngUnsubscribe = new Subject();
1308
- this.faBars = faBars;
1309
- // @HostBinding('@sideNavExpand') _sideNavExpand = EXPANDED_STATE
1310
- // _sideNavExpand = EXPANDED_STATE
1311
- // @HostBinding('@sideNavAnim') _sideNavExpand = EXPANDED_STATE
1312
- this._sideNavExpand = 'initial';
1313
- this.hasHeaderToggle = true;
1314
- this.toggleIcon = faBars;
1315
- this._items = new BehaviorSubject([]);
1316
- this.indentSize = 10;
1317
- this._expanded = new BehaviorSubject(true);
1318
- this.expanded$ = this._expanded.asObservable();
1319
- this.expandOrigin = 'left';
1320
- this.expandHeight = '100%';
1321
- this.expandWidth = 'calc(100vw - 50px)';
1322
- this._overlay = new BehaviorSubject(false);
1323
- this.overlay$ = this._overlay.asObservable();
1324
- this.toggleExpand = new EventEmitter();
1325
- this._backdropHidden = new BehaviorSubject(true);
1326
- this.items$ = this._items.asObservable().pipe(switchMap(items => items ? this._sideNav.createItemsObservable(items) : []), shareReplay({ bufferSize: 1, refCount: true }));
1327
- this.isMobile$ = this._layout.isMobile$.pipe(tap(isMobile => isMobile ? this.collapse() : this.expand()));
1328
- this.sideNavExpandedState$ = combineLatest([this.expanded$, this.overlay$]).pipe(map(([expanded, overlay]) => expanded
1329
- ? overlay ? EXPANDED_OVERLAY_STATE : EXPANDED_STATE$1
1330
- : overlay ? COLLAPSED_OVERLAY_STATE : COLLAPSED_STATE$1), distinctUntilChanged());
1331
- }
1332
- get items() { return this._items.value; }
1333
- set items(value) { this._items.next(value); }
1334
- get expanded() { return this._expanded.value; }
1335
- set expanded(value) {
1336
- const expanded = coerceBooleanProperty(value);
1337
- const emit = expanded !== this.expanded;
1338
- this._expanded.next(expanded);
1339
- if (emit) {
1340
- this.toggleExpand.emit(coerceBooleanProperty(value));
1341
- }
1342
- }
1343
- get overlay() { return this._overlay.value; }
1344
- set overlay(value) { this._overlay.next(coerceBooleanProperty(value)); }
1345
- ngOnInit() {
1346
- if (this._baseLayoutRef) {
1347
- this._baseLayoutRef.registerNav(this);
1348
- }
1349
- this.isMobile$
1350
- .pipe(takeUntil(this._ngUnsubscribe))
1351
- .subscribe(b => this.overlay = b);
1352
- this.sideNavExpandedState$
1353
- .pipe(takeUntil(this._ngUnsubscribe))
1354
- .subscribe(v => this._sideNavExpand = v);
1355
- if (this._sideBarHeaderTpl) {
1356
- this._sideBarHeaderPortal = new TemplatePortal(this._sideBarHeaderTpl, this._viewContainerRef);
1357
- }
1358
- if (this._sideBarFooterTpl) {
1359
- this._sideBarFooterPortal = new TemplatePortal(this._sideBarFooterTpl, this._viewContainerRef);
1360
- }
1361
- }
1362
- ngOnDestroy() {
1363
- this._ngUnsubscribe.next();
1364
- this._ngUnsubscribe.complete();
1365
- if (this._baseLayoutRef) {
1366
- this._baseLayoutRef.unregisterNav(this);
1367
- }
1368
- }
1369
- expand() {
1370
- this.expanded = true;
1371
- }
1372
- collapse() {
1373
- this.expanded = false;
1374
- }
1375
- toggle() {
1376
- this.expanded = !this.expanded;
1377
- }
1378
- animateStart() {
1379
- if (this.expanded) {
1380
- this._backdropHidden.next(false);
1381
- }
1382
- }
1383
- animateEnd() {
1384
- if (!this.expanded) {
1385
- this._backdropHidden.next(true);
1386
- }
1387
- }
1388
- get expandOriginTransform() {
1389
- switch (this.expandOrigin) {
1390
- case 'right':
1391
- return this._sideNavExpand === EXPANDED_OVERLAY_STATE ? 'translateX(100vw) translateX(-100%)' :
1392
- this._sideNavExpand === COLLAPSED_OVERLAY_STATE ? 'translateX(100vw)' : null;
1393
- case 'top':
1394
- return this._sideNavExpand === EXPANDED_OVERLAY_STATE ? 'translateY(0)' :
1395
- this._sideNavExpand === COLLAPSED_OVERLAY_STATE ? 'translateY(-100%)' : null;
1396
- case 'bottom':
1397
- return this._sideNavExpand === EXPANDED_OVERLAY_STATE ? 'translateY(100vh) translateY(-100%)' :
1398
- this._sideNavExpand === COLLAPSED_OVERLAY_STATE ? 'translateY(100vh)' : null;
1399
- case 'left':
1400
- default:
1401
- return this._sideNavExpand === EXPANDED_OVERLAY_STATE ? 'translateX(0)' :
1402
- this._sideNavExpand === COLLAPSED_OVERLAY_STATE ? 'translateX(-100%)' : null;
1403
- }
1404
- }
1405
- }
1406
- SideNavComponent.decorators = [
1407
- { type: Component, args: [{
1408
- selector: 'seam-side-nav',
1409
- 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",
1410
- providers: [
1411
- TheSeamSideNavService
1412
- ],
1413
- animations: [
1414
- //
1415
- // TODO: This animation code turned into a mess. Clean it up and make it
1416
- // more smooth.
1417
- //
1418
- trigger('sideNavAnim', [
1419
- transition(sideNavExpandStateChangeFn, [
1420
- group([
1421
- query('@sideNavBackdrop', animateChild(), { optional: true }),
1422
- query('@sideNavExpand', animateChild(), { optional: true }),
1423
- ]),
1424
- ]),
1425
- ]),
1426
- trigger('sideNavBackdrop', [
1427
- state(EXPANDED_OVERLAY_STATE, style({ opacity: '1' })),
1428
- state(COLLAPSED_OVERLAY_STATE, style({ opacity: '0' })),
1429
- // transition((fromState, toState, element, params) => {
1430
- // console.log('sideNavBackdrop v', fromState, toState, element, params)
1431
- // return false
1432
- // }, []),
1433
- transition(sideNavExpandStateChangeFn, animate('0.2s ease-in-out')),
1434
- ]),
1435
- trigger('sideNavExpand', [
1436
- // TODO: Make width configurable for non-overlay state.
1437
- state(EXPANDED_STATE$1, style({ width: '260px' })),
1438
- state(COLLAPSED_STATE$1, style({ width: '50px', 'overflow-x': 'hidden' })),
1439
- state(EXPANDED_OVERLAY_STATE, style({
1440
- position: 'absolute',
1441
- top: 0,
1442
- bottom: 0,
1443
- left: 0,
1444
- height: '{{ height }}',
1445
- width: '{{ width }}',
1446
- transform: '{{ origin }}',
1447
- zIndex: '9999',
1448
- }), {
1449
- params: {
1450
- origin: 'translateX(100%)',
1451
- height: '100%',
1452
- width: 'calc(100vw - 50px)',
1453
- }
1454
- }),
1455
- state(COLLAPSED_OVERLAY_STATE, style({
1456
- position: 'absolute',
1457
- top: 0,
1458
- bottom: 0,
1459
- left: 0,
1460
- height: '{{ height }}',
1461
- width: '{{ width }}',
1462
- transform: '{{ origin }}',
1463
- 'overflow-x': 'hidden',
1464
- zIndex: '9999',
1465
- }), {
1466
- params: {
1467
- origin: 'translateX(0)',
1468
- height: '100%',
1469
- width: 'calc(100vw - 50px)',
1470
- }
1471
- }),
1472
- // transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
1473
- transition(sideNavExpandStateChangeFn, animate('0.2s ease-in-out')),
1474
- // transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, [
1475
- // // query(':leave', animateChild(), { optional: true }),
1476
- // // query(':enter', animateChild(), { optional: true }),
1477
- // group([
1478
- // query(':leave', animateChild(), { optional: true }),
1479
- // query(':enter', animateChild(), { optional: true }),
1480
- // query('@compactAnim', animateChild(), { optional: true }),
1481
- // animate('5.2s ease-in-out')
1482
- // ])
1483
- // ]),
1484
- ])
1485
- ],
1486
- changeDetection: ChangeDetectionStrategy.OnPush,
1487
- encapsulation: ViewEncapsulation.None,
1488
- 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"]
1489
- },] }
1490
- ];
1491
- SideNavComponent.ctorParameters = () => [
1492
- { type: ViewContainerRef },
1493
- { type: TheSeamLayoutService },
1494
- { type: TheSeamSideNavService },
1495
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
1496
- ];
1497
- SideNavComponent.propDecorators = {
1498
- _sideNavExpand: [{ type: HostBinding, args: ['@sideNavAnim',] }],
1499
- hasHeaderToggle: [{ type: Input }],
1500
- toggleIcon: [{ type: Input }],
1501
- toggleTpl: [{ type: Input }],
1502
- items: [{ type: Input }],
1503
- hideEmptyIcon: [{ type: Input }],
1504
- indentSize: [{ type: Input }],
1505
- expanded: [{ type: Input }],
1506
- expandOrigin: [{ type: Input }],
1507
- expandHeight: [{ type: Input }],
1508
- expandWidth: [{ type: Input }],
1509
- overlay: [{ type: Input }],
1510
- toggleExpand: [{ type: Output }],
1511
- _sideBarHeaderTpl: [{ type: ContentChild, args: [BaseLayoutSideBarHeaderDirective, { static: true, read: TemplateRef },] }],
1512
- _sideBarFooterTpl: [{ type: ContentChild, args: [BaseLayoutSideBarFooterDirective, { static: true, read: TemplateRef },] }]
1513
- };
1514
- __decorate([
1515
- InputBoolean()
1516
- ], SideNavComponent.prototype, "hasHeaderToggle", void 0);
1517
- __decorate([
1518
- InputNumber(10)
1519
- ], SideNavComponent.prototype, "indentSize", void 0);
1520
-
1521
- const EXPANDED_STATE = 'expanded';
1522
- const COLLAPSED_STATE = 'collapsed';
1523
- const FULL_STATE = 'full';
1524
- const COMPACT_STATE = 'compact';
1525
- class SideNavItemComponent {
1526
- constructor(_sideNav, _parent) {
1527
- this._sideNav = _sideNav;
1528
- this._parent = _parent;
1529
- this._ngUnsubscribe = new Subject();
1530
- this.faAngleLeft = faAngleLeft;
1531
- this.active = false;
1532
- this._link = new BehaviorSubject(undefined);
1533
- this.link$ = this._link.asObservable();
1534
- this.hierLevel = 0;
1535
- this.indentSize = 10;
1536
- this._expanded = new BehaviorSubject(false);
1537
- this.expanded$ = this._expanded.asObservable();
1538
- this._compact = new BehaviorSubject(false);
1539
- this.compact$ = this._compact.asObservable();
1540
- this.badgeTheme = 'danger';
1541
- this.childGroupAnimState$ = this.expanded$
1542
- .pipe(map(expanded => expanded ? EXPANDED_STATE : COLLAPSED_STATE));
1543
- this.compactAnimState$ = this.compact$
1544
- .pipe(map(compact => compact ? COMPACT_STATE : FULL_STATE));
1545
- }
1546
- set link(value) { this._link.next(value); }
1547
- get link() { return this._link.value; }
1548
- set expanded(value) { this._expanded.next(coerceBooleanProperty(value)); }
1549
- get expanded() { return this._expanded.value; }
1550
- set compact(value) { this._compact.next(coerceBooleanProperty(value)); }
1551
- get compact() { return this._compact.value; }
1552
- get badgeTooltip() { return this._badgeTooltip; }
1553
- set badgeTooltip(value) {
1554
- if (value !== null && value !== undefined) {
1555
- if (typeof value === 'string') {
1556
- this._badgeTooltip = {
1557
- tooltip: value,
1558
- placement: 'auto',
1559
- disabled: false,
1560
- container: 'body'
1561
- };
1562
- }
1563
- else {
1564
- this._badgeTooltip = Object.assign(Object.assign({}, value), { placement: value.placement || 'auto', disabled: typeof (value === null || value === void 0 ? void 0 : value.disabled) === 'boolean'
1565
- ? value.disabled
1566
- : typeof value.tooltip === 'string' ? false : true, container: value.container || 'body' });
1567
- }
1568
- }
1569
- else {
1570
- this._badgeTooltip = undefined;
1571
- }
1572
- }
1573
- get _isActiveCssClass() { return this.active; }
1574
- get _attrDataHierLevel() { return this.hierLevel; }
1575
- ngOnDestroy() {
1576
- this._ngUnsubscribe.next();
1577
- this._ngUnsubscribe.complete();
1578
- }
1579
- get hasChildren() {
1580
- return Array.isArray(this.children) && this.children.length > 0;
1581
- }
1582
- toggleChildren() {
1583
- this.expanded = !this.expanded;
1584
- }
1585
- _linkClicked() {
1586
- // Close nav when link is clicked while in overlay state
1587
- if (this._sideNav.overlay) {
1588
- this._sideNav.collapse();
1589
- }
1590
- }
1591
- get showIconBlock() {
1592
- return notNullOrUndefined(this.icon) || this.hideEmptyIcon !== true;
1593
- }
1594
- }
1595
- SideNavItemComponent.decorators = [
1596
- { type: Component, args: [{
1597
- selector: 'seam-side-nav-item',
1598
- 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",
1599
- exportAs: 'seamSideNavItem',
1600
- animations: [
1601
- trigger('childGroupAnim', [
1602
- state(EXPANDED_STATE, style({ height: '*' })),
1603
- state(COLLAPSED_STATE, style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
1604
- transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
1605
- ]),
1606
- trigger('compactAnim', [
1607
- // transition('* <=> *', [
1608
- // query(':enter', [
1609
- // style({ opacity: '0' }),
1610
- // animate('5.2s ease-in-out', style({ opacity: '1' }))
1611
- // ], { optional: true }),
1612
- // query(':leave', [
1613
- // style({ opacity: '1' }),
1614
- // animate('5.2s ease-in-out', style({ opacity: '0' }))
1615
- // ], { optional: true })
1616
- // ])
1617
- // state(FULL_STATE, style({ opacity: '1' })),
1618
- // state(COMPACT_STATE, style({ opacity: '0' })),
1619
- // transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, animate('5.2s ease-in-out')),
1620
- // transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, [
1621
- // transition('* <=> *', [
1622
- // query(':leave', [
1623
- // style({ opacity: '1' }),
1624
- // animate('5.2s ease-in-out', style({ opacity: '0' }))
1625
- // ], { optional: true })
1626
- // ]),
1627
- ])
1628
- ],
1629
- changeDetection: ChangeDetectionStrategy.OnPush,
1630
- encapsulation: ViewEncapsulation.None,
1631
- 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"]
1632
- },] }
1633
- ];
1634
- SideNavItemComponent.ctorParameters = () => [
1635
- { type: SideNavComponent },
1636
- { type: SideNavItemComponent, decorators: [{ type: Optional }, { type: SkipSelf }, { type: Host }] }
1637
- ];
1638
- SideNavItemComponent.propDecorators = {
1639
- itemType: [{ type: Input }],
1640
- icon: [{ type: Input }],
1641
- hideEmptyIcon: [{ type: Input }],
1642
- label: [{ type: Input }],
1643
- active: [{ type: Input }],
1644
- link: [{ type: Input }],
1645
- queryParams: [{ type: Input }],
1646
- children: [{ type: Input }],
1647
- hierLevel: [{ type: Input }],
1648
- indentSize: [{ type: Input }],
1649
- expanded: [{ type: Input }],
1650
- compact: [{ type: Input }],
1651
- badgeText: [{ type: Input }],
1652
- badgeTheme: [{ type: Input }],
1653
- badgeSrContent: [{ type: Input }],
1654
- badgeTooltip: [{ type: Input }],
1655
- _isActiveCssClass: [{ type: HostBinding, args: ['class.seam-side-nav-item--active',] }],
1656
- _attrDataHierLevel: [{ type: HostBinding, args: ['attr.data-hier-level',] }]
1657
- };
1658
- __decorate([
1659
- InputBoolean()
1660
- ], SideNavItemComponent.prototype, "active", void 0);
1661
- __decorate([
1662
- InputNumber(0)
1663
- ], SideNavItemComponent.prototype, "hierLevel", void 0);
1664
- __decorate([
1665
- InputNumber(10)
1666
- ], SideNavItemComponent.prototype, "indentSize", void 0);
1667
-
1668
- class SideNavToggleComponent {
1669
- constructor() {
1670
- this.expanded = false;
1671
- this.toggleExpand = new EventEmitter();
1672
- }
1673
- ngOnInit() { }
1674
- toggle() {
1675
- this.toggleExpand.emit();
1676
- }
1677
- }
1678
- SideNavToggleComponent.decorators = [
1679
- { type: Component, args: [{
1680
- selector: 'seam-side-nav-toggle',
1681
- 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",
1682
- host: {
1683
- '[class.side-nav-toggle--compact]': '!expanded'
1684
- },
1685
- changeDetection: ChangeDetectionStrategy.OnPush,
1686
- encapsulation: ViewEncapsulation.None,
1687
- 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"]
1688
- },] }
1689
- ];
1690
- SideNavToggleComponent.ctorParameters = () => [];
1691
- SideNavToggleComponent.propDecorators = {
1692
- expanded: [{ type: Input }],
1693
- toggleIcon: [{ type: Input }],
1694
- toggleTpl: [{ type: Input }],
1695
- toggleExpand: [{ type: Output }]
1696
- };
1697
- __decorate([
1698
- InputBoolean()
1699
- ], SideNavToggleComponent.prototype, "expanded", void 0);
1700
-
1701
- class TheSeamSideNavModule {
1702
- }
1703
- TheSeamSideNavModule.decorators = [
1704
- { type: NgModule, args: [{
1705
- declarations: [
1706
- SideNavItemComponent,
1707
- SideNavComponent,
1708
- SideNavToggleComponent
1709
- ],
1710
- imports: [
1711
- CommonModule,
1712
- RouterModule,
1713
- TheSeamIconModule,
1714
- A11yModule,
1715
- TheSeamScrollbarModule,
1716
- TheSeamLayoutModule,
1717
- NgbTooltipModule,
1718
- PortalModule
1719
- ],
1720
- exports: [
1721
- SideNavItemComponent,
1722
- SideNavComponent,
1723
- SideNavToggleComponent
1724
- ]
1725
- },] }
1726
- ];
1727
-
1728
- class TopBarMenuButtonBase {
1729
- }
1730
- const _TopBarMenuButtonMixinBase = mixinDisabled(TopBarMenuButtonBase);
1731
- class TopBarMenuButtonComponent extends _TopBarMenuButtonMixinBase {
1732
- constructor() {
1733
- super(...arguments);
1734
- this.faAngleDown = faAngleDown;
1735
- this.compact = false;
1736
- }
1737
- get _hasCompactClass() { return this.compact; }
1738
- get _hasPadding0Class() { return this.compact; }
1739
- get _hasRoundedClass() { return this.compact; }
1740
- get _hasBtnLinkClass() { return !this.compact; }
1741
- ngOnInit() { }
1742
- ngOnDestroy() { }
1743
- }
1744
- TopBarMenuButtonComponent.decorators = [
1745
- { type: Component, args: [{
1746
- // tslint:disable-next-line:component-selector
1747
- selector: 'button[seamTopBarMenuButton]',
1748
- 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",
1749
- encapsulation: ViewEncapsulation.None,
1750
- exportAs: 'seamButton',
1751
- // tslint:disable-next-line:use-input-property-decorator
1752
- inputs: ['disabled'],
1753
- // tslint:disable-next-line:use-host-property-decorator
1754
- host: {
1755
- 'attr.type': 'button',
1756
- 'class': 'btn border text-decoration-none py-0 top-bar-menu-button',
1757
- '[attr.aria-disabled]': 'disabled.toString()',
1758
- '[attr.disabled]': 'disabled || null',
1759
- },
1760
- changeDetection: ChangeDetectionStrategy.OnPush,
1761
- 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"]
1762
- },] }
1763
- ];
1764
- TopBarMenuButtonComponent.propDecorators = {
1765
- detailTpl: [{ type: Input }],
1766
- compactDetailTpl: [{ type: Input }],
1767
- compact: [{ type: Input }],
1768
- profileIcon: [{ type: Input }],
1769
- _hasCompactClass: [{ type: HostBinding, args: ['class.top-bar-menu-button--compact',] }],
1770
- _hasPadding0Class: [{ type: HostBinding, args: ['class.p-0',] }],
1771
- _hasRoundedClass: [{ type: HostBinding, args: ['class.rounded',] }],
1772
- _hasBtnLinkClass: [{ type: HostBinding, args: ['class.btn-link',] }]
1773
- };
1774
- __decorate([
1775
- InputBoolean()
1776
- ], TopBarMenuButtonComponent.prototype, "compact", void 0);
1777
-
1778
- class TopBarTitleComponent {
1779
- constructor() { }
1780
- ngOnInit() { }
1781
- }
1782
- TopBarTitleComponent.decorators = [
1783
- { type: Component, args: [{
1784
- selector: 'seam-top-bar-title',
1785
- 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",
1786
- encapsulation: ViewEncapsulation.None,
1787
- changeDetection: ChangeDetectionStrategy.OnPush,
1788
- styles: ["seam-top-bar-title{flex:1 1 auto;display:flex;flex-direction:row;align-items:center}\n"]
1789
- },] }
1790
- ];
1791
- TopBarTitleComponent.ctorParameters = () => [];
1792
- TopBarTitleComponent.propDecorators = {
1793
- titleText: [{ type: Input }],
1794
- subTitleText: [{ type: Input }]
1795
- };
1796
-
1797
- class TopBarItemDirective {
1798
- constructor(template) {
1799
- this.template = template;
1800
- this.position = 'right';
1801
- }
1802
- set seamTopBarItem(value) {
1803
- this.position = value;
1804
- }
1805
- }
1806
- TopBarItemDirective.decorators = [
1807
- { type: Directive, args: [{
1808
- selector: '[seamTopBarItem]'
1809
- },] }
1810
- ];
1811
- TopBarItemDirective.ctorParameters = () => [
1812
- { type: TemplateRef }
1813
- ];
1814
- TopBarItemDirective.propDecorators = {
1815
- seamTopBarItem: [{ type: Input }]
1816
- };
1817
-
1818
- class TopBarMenuBtnDetailDirective {
1819
- constructor(template) {
1820
- this.template = template;
1821
- }
1822
- }
1823
- TopBarMenuBtnDetailDirective.decorators = [
1824
- { type: Directive, args: [{
1825
- selector: '[seamTopBarMenuBtnDetail]'
1826
- },] }
1827
- ];
1828
- TopBarMenuBtnDetailDirective.ctorParameters = () => [
1829
- { type: TemplateRef }
1830
- ];
1831
-
1832
- class TopBarMenuDirective {
1833
- constructor(menu) {
1834
- this.menu = menu;
1835
- }
1836
- }
1837
- TopBarMenuDirective.decorators = [
1838
- { type: Directive, args: [{
1839
- selector: 'seam-menu[seamTopBarMenu]'
1840
- },] }
1841
- ];
1842
- TopBarMenuDirective.ctorParameters = () => [
1843
- { type: MenuComponent, decorators: [{ type: Self }] }
1844
- ];
1845
-
1846
- class TopBarCompactMenuBtnDetailDirective {
1847
- constructor(template) {
1848
- this.template = template;
1849
- }
1850
- }
1851
- TopBarCompactMenuBtnDetailDirective.decorators = [
1852
- { type: Directive, args: [{
1853
- selector: '[seamTopBarCompactMenuBtnDetail]'
1854
- },] }
1855
- ];
1856
- TopBarCompactMenuBtnDetailDirective.ctorParameters = () => [
1857
- { type: TemplateRef }
1858
- ];
1859
-
1860
- class TopBarNavToggleBtnDetailDirective {
1861
- constructor(template) {
1862
- this.template = template;
1863
- }
1864
- }
1865
- TopBarNavToggleBtnDetailDirective.decorators = [
1866
- { type: Directive, args: [{
1867
- selector: '[seamTopBarNavToggleBtnDetail]'
1868
- },] }
1869
- ];
1870
- TopBarNavToggleBtnDetailDirective.ctorParameters = () => [
1871
- { type: TemplateRef }
1872
- ];
1873
-
1874
- /**
1875
- * Top bar of an app.
1876
- *
1877
- * The top bar is fairly opinionated, so most parts are not intended to be
1878
- * customized unless there is an input.
1879
- *
1880
- * > If you have to make a change and apply it externally with a css class or js
1881
- * > make sure there is an issue to get the feature changed, so we don't have
1882
- * > different modifications across our apps. Also, this will help make sure
1883
- * > your change should have even been done.
1884
- */
1885
- class TheSeamTopBarComponent {
1886
- constructor(_layout) {
1887
- this._layout = _layout;
1888
- /** @ignore */
1889
- this._ngUnsubscribe = new Subject();
1890
- /** @ignore */
1891
- this.faBars = faBars;
1892
- /** Link target used when `logoHref` is specified. Defaults to `"_blank"` */
1893
- this.logoHrefTarget = '_blank';
1894
- /** Route to link to when `logo` is clicked. Defaults to `/`. */
1895
- this.logoRoute = '/';
1896
- /** Determines if the title should be displayed. */
1897
- this.hasTitle = false;
1898
- /** Determines if the top bar button should be displayed. */
1899
- this.hasTopBarMenuButton = true;
1900
- /** Icon to display on mobile to activate profile dropdown. Defaults to faUserCircle. */
1901
- this.profileIcon = faUserCircle;
1902
- /** Icon to display for mobile nav toggle. Defaults to faBars. */
1903
- this.toggleIcon = faBars;
1904
- /** Display nav toggle on either left or right side of top bar. Defaults to left. */
1905
- this.navToggleAlign = 'left';
1906
- /** @ignore */
1907
- this._leftItems = new BehaviorSubject([]);
1908
- /** Additional templates to display on left side of top bar */
1909
- this.leftItems$ = this._leftItems.asObservable();
1910
- /** @ignore */
1911
- this._centerItems = new BehaviorSubject([]);
1912
- /** Additional templates to display in center of top bar */
1913
- this.centerItems$ = this._centerItems.asObservable();
1914
- /** @ignore */
1915
- this._rightItems = new BehaviorSubject([]);
1916
- /** Additional templates to display on right side of top bar */
1917
- this.rightItems$ = this._rightItems.asObservable();
1918
- this.isMobile$ = this._layout.isMobile$;
1919
- }
1920
- /** @ignore */
1921
- ngOnInit() { }
1922
- /** @ignore */
1923
- ngOnDestroy() {
1924
- this._ngUnsubscribe.next();
1925
- this._ngUnsubscribe.complete();
1926
- }
1927
- /** @ignore */
1928
- ngAfterContentInit() {
1929
- if (this._topBarItems) {
1930
- this._topBarItems.changes.pipe(startWith(undefined), takeUntil(this._ngUnsubscribe), map(() => {
1931
- var _a;
1932
- const items = ((_a = this._topBarItems) === null || _a === void 0 ? void 0 : _a.toArray()) || [];
1933
- const left = items.filter(i => i.position === 'left');
1934
- const right = items.filter(i => i.position === 'right');
1935
- const center = items.filter(i => i.position === 'center');
1936
- this._leftItems.next(left);
1937
- this._rightItems.next(right);
1938
- this._centerItems.next(center);
1939
- }), shareReplay({ bufferSize: 1, refCount: true })).subscribe();
1940
- }
1941
- }
1942
- }
1943
- TheSeamTopBarComponent.decorators = [
1944
- { type: Component, args: [{
1945
- selector: 'seam-top-bar',
1946
- 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",
1947
- encapsulation: ViewEncapsulation.None,
1948
- exportAs: 'seamTopBar',
1949
- changeDetection: ChangeDetectionStrategy.OnPush,
1950
- 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"]
1951
- },] }
1952
- ];
1953
- TheSeamTopBarComponent.ctorParameters = () => [
1954
- { type: TheSeamLayoutService }
1955
- ];
1956
- TheSeamTopBarComponent.propDecorators = {
1957
- _topBarMenu: [{ type: ContentChild, args: [TopBarMenuDirective, { static: true },] }],
1958
- _topBarItems: [{ type: ContentChildren, args: [TopBarItemDirective,] }],
1959
- _topBarMenuBtnDetailTpl: [{ type: ContentChild, args: [TopBarMenuBtnDetailDirective,] }],
1960
- _topBarCompactMenuBtnDetailTpl: [{ type: ContentChild, args: [TopBarCompactMenuBtnDetailDirective,] }],
1961
- _topBarNavToggleBtnDetailTpl: [{ type: ContentChild, args: [TopBarNavToggleBtnDetailDirective,] }],
1962
- logo: [{ type: Input }],
1963
- logoSm: [{ type: Input }],
1964
- logoHref: [{ type: Input }],
1965
- logoHrefTarget: [{ type: Input }],
1966
- logoRoute: [{ type: Input }],
1967
- hasTitle: [{ type: Input }],
1968
- titleText: [{ type: Input }],
1969
- subTitleText: [{ type: Input }],
1970
- hasTopBarMenuButton: [{ type: Input }],
1971
- profileIcon: [{ type: Input }],
1972
- toggleIcon: [{ type: Input }],
1973
- navToggleAlign: [{ type: Input }]
1974
- };
1975
- __decorate([
1976
- InputBoolean()
1977
- ], TheSeamTopBarComponent.prototype, "hasTitle", void 0);
1978
- __decorate([
1979
- InputBoolean()
1980
- ], TheSeamTopBarComponent.prototype, "hasTopBarMenuButton", void 0);
1981
-
1982
- class TheSeamTopBarModule {
1983
- }
1984
- TheSeamTopBarModule.decorators = [
1985
- { type: NgModule, args: [{
1986
- declarations: [
1987
- TheSeamTopBarComponent,
1988
- TopBarTitleComponent,
1989
- TopBarMenuButtonComponent,
1990
- TopBarMenuDirective,
1991
- TopBarItemDirective,
1992
- TopBarMenuBtnDetailDirective,
1993
- TopBarCompactMenuBtnDetailDirective,
1994
- TopBarNavToggleBtnDetailDirective
1995
- ],
1996
- imports: [
1997
- CommonModule,
1998
- TheSeamLayoutModule,
1999
- TheSeamButtonsModule,
2000
- TheSeamIconModule,
2001
- TheSeamMenuModule,
2002
- TheSeamBaseLayoutModule,
2003
- RouterModule
2004
- ],
2005
- exports: [
2006
- TheSeamTopBarComponent,
2007
- TopBarMenuButtonComponent,
2008
- TopBarMenuDirective,
2009
- TheSeamMenuModule,
2010
- TopBarItemDirective,
2011
- TopBarMenuBtnDetailDirective,
2012
- TopBarCompactMenuBtnDetailDirective,
2013
- TopBarNavToggleBtnDetailDirective
2014
- ]
2015
- },] }
2016
- ];
2017
-
2018
- const fader = trigger('routeAnimations', [
2019
- transition('* <=> *', [
2020
- // Set a default style for enter and leave
2021
- query(':enter, :leave', [
2022
- style({
2023
- position: 'absolute',
2024
- left: 0,
2025
- width: '100%',
2026
- opacity: 0,
2027
- transform: 'scale(0) translateY(100%)',
2028
- }),
2029
- ], { optional: true }),
2030
- // Animate the new page in
2031
- query(':enter', [
2032
- animate('600ms ease', style({ opacity: 1, transform: 'scale(1) translateY(0)' })),
2033
- ], { optional: true })
2034
- ]),
2035
- ]);
2036
- // function slideTo(direction) {
2037
- // return [
2038
- // query(':enter, :leave', [
2039
- // style({
2040
- // position: 'absolute',
2041
- // top: 0,
2042
- // [direction]: 0,
2043
- // width: '100%'
2044
- // })
2045
- // ], { optional: true }),
2046
- // query(':enter', [
2047
- // style({ [direction]: '-100%'})
2048
- // ], { optional: true }),
2049
- // group([
2050
- // query(':leave', [
2051
- // animate('1000ms ease', style({ [direction]: '100%'}))
2052
- // ], { optional: true }),
2053
- // query(':enter', [
2054
- // animate('1000ms ease', style({ [direction]: '0%'}))
2055
- // ], { optional: true })
2056
- // ]),
2057
- // // Normalize the page style... Might not be necessary
2058
- // // Required only if you have child animations on the page
2059
- // query(':leave', animateChild(), { optional: true }),
2060
- // query(':enter', animateChild(), { optional: true }),
2061
- // ]
2062
- // }
2063
- // TODO: Refactor the slider animation, because AOT or ng-packagr, I haven't
2064
- // looked into what exactly is preventing it, doesn't allow the function call.
2065
- // export const slider =
2066
- // trigger('routeAnimations', [
2067
- // transition('* => isLeft', slideTo('left') ),
2068
- // transition('* => isRight', slideTo('right') ),
2069
- // transition('isRight => *', slideTo('left') ),
2070
- // transition('isLeft => *', slideTo('right') )
2071
- // ])
2072
- // export const contentLeave =
2073
- // trigger('contentLeave', [
2074
- // transition(':leave', [
2075
- // ])
2076
- // ])
2077
- const slider = trigger('routeAnimations', [
2078
- transition('* => isLeft', [
2079
- query('.router-container :enter, .router-container :leave', [
2080
- style({
2081
- position: 'absolute',
2082
- top: 0,
2083
- left: 0,
2084
- width: '100%'
2085
- })
2086
- ], { optional: true }),
2087
- query('.router-container :enter', [
2088
- style({ left: '-100%' })
2089
- ], { optional: true }),
2090
- query('.hierarchy-router-outlet--content', [
2091
- style({ left: '0%', position: 'absolute' })
2092
- ], { optional: true }),
2093
- group([
2094
- query('.router-container :leave', [
2095
- animate('1000ms ease', style({ left: '100%' }))
2096
- ], { optional: true }),
2097
- query('.router-container :enter', [
2098
- animate('1000ms ease', style({ left: '0%' }))
2099
- ], { optional: true }),
2100
- query('.hierarchy-router-outlet--content', [
2101
- animate('1000ms ease', style({ left: '-100%' }))
2102
- ], { optional: true }),
2103
- ]),
2104
- // Normalize the page style... Might not be necessary
2105
- // Required only if you have child animations on the page
2106
- query('.router-container :leave', animateChild(), { optional: true }),
2107
- query('.router-container :enter', animateChild(), { optional: true }),
2108
- ]),
2109
- transition('* => isRight', [
2110
- query('.router-container :enter, .router-container :leave', [
2111
- style({
2112
- position: 'absolute',
2113
- top: 0,
2114
- right: 0,
2115
- width: '100%'
2116
- })
2117
- ], { optional: true }),
2118
- query('.router-container :enter', [
2119
- style({ right: '-100%' })
2120
- ], { optional: true }),
2121
- query('.hierarchy-router-outlet--content', [
2122
- style({ left: '0%', position: 'absolute' })
2123
- ], { optional: true }),
2124
- group([
2125
- query('.router-container :leave', [
2126
- animate('1000ms ease', style({ right: '100%' }))
2127
- ], { optional: true }),
2128
- query('.router-container :enter', [
2129
- animate('1000ms ease', style({ right: '0%' }))
2130
- ], { optional: true }),
2131
- query('.hierarchy-router-outlet--content', [
2132
- animate('1000ms ease', style({ left: '-100%' }))
2133
- ], { optional: true }),
2134
- ]),
2135
- // Normalize the page style... Might not be necessary
2136
- // Required only if you have child animations on the page
2137
- query('.router-container :leave', animateChild(), { optional: true }),
2138
- query('.router-container :enter', animateChild(), { optional: true }),
2139
- ]),
2140
- transition('isRight => *', [
2141
- query('.router-container :enter, .router-container :leave', [
2142
- style({
2143
- position: 'absolute',
2144
- top: 0,
2145
- left: 0,
2146
- width: '100%'
2147
- })
2148
- ], { optional: true }),
2149
- query('.router-container :enter', [
2150
- style({ left: '-100%' })
2151
- ], { optional: true }),
2152
- query('.hierarchy-router-outlet--content', [
2153
- style({ left: '0%', position: 'absolute' })
2154
- ], { optional: true }),
2155
- group([
2156
- query('.router-container :leave', [
2157
- animate('1000ms ease', style({ left: '100%' }))
2158
- ], { optional: true }),
2159
- query('.router-container :enter', [
2160
- animate('1000ms ease', style({ left: '0%' }))
2161
- ], { optional: true }),
2162
- query('.hierarchy-router-outlet--content', [
2163
- animate('1000ms ease', style({ left: '-100%' }))
2164
- ], { optional: true }),
2165
- ]),
2166
- // Normalize the page style... Might not be necessary
2167
- // Required only if you have child animations on the page
2168
- query('.router-container :leave', animateChild(), { optional: true }),
2169
- query('.router-container :enter', animateChild(), { optional: true }),
2170
- ]),
2171
- transition('isLeft => *', [
2172
- query('.router-container :enter, .router-container :leave', [
2173
- style({
2174
- position: 'absolute',
2175
- top: 0,
2176
- right: 0,
2177
- width: '100%'
2178
- })
2179
- ], { optional: true }),
2180
- query('.router-container :enter', [
2181
- style({ right: '-100%' })
2182
- ], { optional: true }),
2183
- group([
2184
- query('.router-container :leave', [
2185
- animate('1000ms ease', style({ right: '100%' }))
2186
- ], { optional: true }),
2187
- query('.router-container :enter', [
2188
- animate('1000ms ease', style({ right: '0%' }))
2189
- ], { optional: true })
2190
- ]),
2191
- // Normalize the page style... Might not be necessary
2192
- // Required only if you have child animations on the page
2193
- query('.router-container :leave', animateChild(), { optional: true }),
2194
- query('.router-container :enter', animateChild(), { optional: true }),
2195
- ])
2196
- ]);
2197
- const transformer = trigger('routeAnimations', [
2198
- transition('* => isLeft', transformTo({ x: -100, y: -100, rotate: -720 })),
2199
- transition('* => isRight', transformTo({ x: 100, y: -100, rotate: 90 })),
2200
- transition('isRight => *', transformTo({ x: -100, y: -100, rotate: 360 })),
2201
- transition('isLeft => *', transformTo({ x: 100, y: -100, rotate: -360 }))
2202
- ]);
2203
- function transformTo({ x = 100, y = 0, rotate = 0 }) {
2204
- const optional = { optional: true };
2205
- return [
2206
- query(':enter, :leave', [
2207
- style({
2208
- position: 'absolute',
2209
- top: 0,
2210
- left: 0,
2211
- width: '100%'
2212
- })
2213
- ], optional),
2214
- query(':enter', [
2215
- style({ transform: `translate(${x}%, ${y}%) rotate(${rotate}deg)` })
2216
- ], { optional: true }),
2217
- group([
2218
- query(':leave', [
2219
- animate('600ms ease-out', style({ transform: `translate(${x}%, ${y}%) rotate(${rotate}deg)` }))
2220
- ], optional),
2221
- query(':enter', [
2222
- animate('600ms ease-out', style({ transform: `translate(0, 0) rotate(0)` }))
2223
- ], { optional: true })
2224
- ]),
2225
- ];
2226
- }
2227
- const stepper = trigger('routeAnimations', [
2228
- transition('* <=> *', [
2229
- query(':enter, :leave', [
2230
- style({
2231
- position: 'absolute',
2232
- left: 0,
2233
- width: '100%',
2234
- }),
2235
- ], { optional: true }),
2236
- group([
2237
- query(':enter', [
2238
- animate('2000ms ease', keyframes([
2239
- style({ transform: 'scale(0) translateX(100%)', offset: 0 }),
2240
- style({ transform: 'scale(0.5) translateX(25%)', offset: 0.3 }),
2241
- style({ transform: 'scale(1) translateX(0%)', offset: 1 }),
2242
- ])),
2243
- ], { optional: true }),
2244
- query(':leave', [
2245
- animate('2000ms ease', keyframes([
2246
- style({ transform: 'scale(1)', offset: 0 }),
2247
- style({ transform: 'scale(0.5) translateX(-25%) rotate(0)', offset: 0.35 }),
2248
- style({ opacity: 0, transform: 'translateX(-50%) rotate(-180deg) scale(6)', offset: 1 }),
2249
- ])),
2250
- ], { optional: true })
2251
- ]),
2252
- ])
2253
- ]);
2254
- const sideToSide = trigger('routeAnimations', [
2255
- transition('* => *', [
2256
- style({
2257
- position: 'fixed',
2258
- width: '100%',
2259
- transform: 'translateX(-100%)'
2260
- }),
2261
- animate('1000ms ease', style({ transform: 'translateX(0%)' }))
2262
- ]),
2263
- transition(':leave', [
2264
- style({
2265
- position: 'fixed',
2266
- width: '100%',
2267
- transform: 'translateX(0%)'
2268
- }),
2269
- animate('1000ms ease', style({ transform: 'translateX(-100%)' }))
2270
- ])
2271
- ]);
2272
-
2273
- function routeChanges(router) {
2274
- return router.events.pipe(filter(event => event instanceof NavigationStart || event instanceof NavigationEnd), distinctUntilChanged((x, y) => x.id === y.id), map(event => ({ url: event.url })));
2275
- }
2276
- //
2277
- // TODO: Animation improvement: Try adding a full component animation that
2278
- // queries the <ng-content> and <router-outlet> blocks. When the outlet
2279
- // activates, set the animation state to a transition that moves both blocks
2280
- // together.
2281
- //
2282
- let _uid = 0;
2283
- class HierarchyRouterOutletComponent {
2284
- constructor(_route, _router) {
2285
- this._route = _route;
2286
- this._router = _router;
2287
- this._uid = _uid++;
2288
- this._ngUnsubscribe = new Subject();
2289
- this.animState = 'isRight';
2290
- // animState = ''
2291
- this.outletActive = false;
2292
- this.ngContentVisible = true;
2293
- this._router.events.pipe(filter(event => event instanceof NavigationEnd),
2294
- // tap(v => console.log(`_hasChildren()[${this._uid}]`, this._hasChildren())),
2295
- takeUntil(this._ngUnsubscribe))
2296
- .subscribe();
2297
- // routeChanges(this._router)
2298
- // .pipe(
2299
- // untilDestroyed(this),
2300
- // tap(() => {
2301
- // // if (this._hasChildren()) {
2302
- // // this.animState = 'isLeft'
2303
- // // } else {
2304
- // // this.animState = 'isRight'
2305
- // // }
2306
- // })
2307
- // )
2308
- // .subscribe(v => console.log(`routeChanges[${this._uid}]`, v))
2309
- }
2310
- ngOnInit() { }
2311
- ngOnDestroy() {
2312
- this._ngUnsubscribe.next();
2313
- this._ngUnsubscribe.complete();
2314
- }
2315
- _hasChildren() {
2316
- const count = this._route.pathFromRoot.length - 1;
2317
- let countFull = 0;
2318
- if (this._router.parseUrl(this._router.url).root.children.primary) {
2319
- countFull = this._router.parseUrl(this._router.url).root.children.primary.segments.length;
2320
- }
2321
- // console.log(`_hasChildren[${this._uid}]`, { count, countFull })
2322
- return countFull > count;
2323
- }
2324
- prepareRoute(outlet) {
2325
- // console.log(`outlet[${this._uid}]`, outlet, this.animState, this._hasChildren(), this.outletActive)
2326
- if (outlet.isActivated) {
2327
- // console.log(outlet.isActivated)
2328
- // console.log(outlet.component)
2329
- console.log(this.animState);
2330
- return this.animState;
2331
- }
2332
- else {
2333
- return undefined;
2334
- }
2335
- // console.log(`prepareRoute[${this._uid}]`, this.animState, this._hasChildren())
2336
- // console.log('activatedRouteData', outlet && outlet.activatedRouteData)
2337
- // if (outlet && outlet.isActivated) {
2338
- // console.log('activatedRoute', outlet.activatedRoute && outlet.activatedRoute.snapshot.url)
2339
- // }
2340
- // return outlet && outlet.activatedRouteData && outlet.activatedRouteData['animation']
2341
- // console.log('')
2342
- // return this.animState
2343
- }
2344
- outletActivate(event) {
2345
- // console.log(`outletActivate[${this._uid}]`, event)
2346
- this.outletActive = true;
2347
- }
2348
- outletDeactivate(event) {
2349
- // console.log(`outletDeactivate[${this._uid}]`, event)
2350
- this.outletActive = false;
2351
- }
2352
- routeAnimationsStart(event) {
2353
- // console.log('routeAnimationsStart', event)
2354
- this.ngContentVisible = true;
2355
- }
2356
- routeAnimationsDone(event) {
2357
- // console.log('routeAnimationsDone', event)
2358
- this.ngContentVisible = !this.outletActive;
2359
- }
2360
- }
2361
- HierarchyRouterOutletComponent.decorators = [
2362
- { type: Component, args: [{
2363
- selector: 'seam-hierarchy-router-outlet',
2364
- 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",
2365
- animations: [
2366
- // fader,
2367
- slider,
2368
- // transformer,
2369
- // stepper,
2370
- // sideToSide
2371
- // contentLeave
2372
- ],
2373
- changeDetection: ChangeDetectionStrategy.OnPush,
2374
- styles: [":host{display:block;height:100%}:host ::ng-deep router-outlet+*{background-color:#fff;height:100%}\n"]
2375
- },] }
2376
- ];
2377
- HierarchyRouterOutletComponent.ctorParameters = () => [
2378
- { type: ActivatedRoute },
2379
- { type: Router }
2380
- ];
2381
-
2382
- class HierarchyLevelResolver {
2383
- constructor() { }
2384
- resolve(route, state) {
2385
- // console.log('[HierarchyLevelResolver]', route)
2386
- // console.log('[HierarchyLevelResolver]', state)
2387
- return this._getMaxHierLevel(route);
2388
- }
2389
- _getMaxHierLevel(route) {
2390
- let curr = route;
2391
- while (curr.parent) {
2392
- curr = curr.parent;
2393
- if (curr.data['hierLevel']) {
2394
- return curr.data['hierLevel'] + 1;
2395
- }
2396
- }
2397
- return 0;
2398
- }
2399
- }
2400
- HierarchyLevelResolver.ɵprov = i0.ɵɵdefineInjectable({ factory: function HierarchyLevelResolver_Factory() { return new HierarchyLevelResolver(); }, token: HierarchyLevelResolver, providedIn: "root" });
2401
- HierarchyLevelResolver.decorators = [
2402
- { type: Injectable, args: [{ providedIn: 'root' },] }
2403
- ];
2404
- HierarchyLevelResolver.ctorParameters = () => [];
2405
-
2406
- class TheSeamDynamicRouterModule {
2407
- }
2408
- TheSeamDynamicRouterModule.decorators = [
2409
- { type: NgModule, args: [{
2410
- declarations: [
2411
- HierarchyRouterOutletComponent
2412
- ],
2413
- imports: [
2414
- CommonModule,
2415
- RouterModule
2416
- ],
2417
- exports: [
2418
- HierarchyRouterOutletComponent
2419
- ]
2420
- },] }
2421
- ];
2422
-
2423
- class TheSeamSchemaFormCheckboxComponent {
2424
- constructor(jsf) {
2425
- this.jsf = jsf;
2426
- this.controlDisabled = false;
2427
- this.boundControl = false;
2428
- this.trueValue = true;
2429
- this.falseValue = false;
2430
- }
2431
- ngOnInit() {
2432
- this.options = this.layoutNode.options || {};
2433
- this.jsf.initializeControl(this);
2434
- if (this.controlValue === null || this.controlValue === undefined) {
2435
- this.controlValue = this.options.title;
2436
- }
2437
- }
2438
- updateValue(event) {
2439
- event.preventDefault();
2440
- this.jsf.updateValue(this, event.target.checked ? this.trueValue : this.falseValue);
2441
- }
2442
- get isChecked() {
2443
- return this.jsf.getFormControlValue(this) === this.trueValue;
2444
- }
2445
- }
2446
- TheSeamSchemaFormCheckboxComponent.decorators = [
2447
- { type: Component, args: [{
2448
- selector: 'seam-schema-form-checkbox',
2449
- 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",
2450
- styles: [""]
2451
- },] }
2452
- ];
2453
- TheSeamSchemaFormCheckboxComponent.ctorParameters = () => [
2454
- { type: JsonSchemaFormService }
2455
- ];
2456
- TheSeamSchemaFormCheckboxComponent.propDecorators = {
2457
- layoutNode: [{ type: Input }],
2458
- layoutIndex: [{ type: Input }],
2459
- dataIndex: [{ type: Input }]
2460
- };
2461
-
2462
- class TheSeamSchemaFormInputComponent {
2463
- constructor(jsf) {
2464
- this.jsf = jsf;
2465
- this.controlDisabled = false;
2466
- this.boundControl = false;
2467
- this.autoCompleteList = [];
2468
- }
2469
- ngOnInit() {
2470
- this.options = this.layoutNode.options || {};
2471
- this.jsf.initializeControl(this);
2472
- }
2473
- updateValue(event) {
2474
- this.jsf.updateValue(this, event.target.value);
2475
- }
2476
- }
2477
- TheSeamSchemaFormInputComponent.decorators = [
2478
- { type: Component, args: [{
2479
- selector: 'seam-schema-form-input',
2480
- 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",
2481
- changeDetection: ChangeDetectionStrategy.OnPush,
2482
- styles: [":host{display:block}\n"]
2483
- },] }
2484
- ];
2485
- TheSeamSchemaFormInputComponent.ctorParameters = () => [
2486
- { type: JsonSchemaFormService }
2487
- ];
2488
- TheSeamSchemaFormInputComponent.propDecorators = {
2489
- layoutNode: [{ type: Input }],
2490
- layoutIndex: [{ type: Input }],
2491
- dataIndex: [{ type: Input }]
2492
- };
2493
-
2494
- class TheSeamSchemaFormNumberComponent {
2495
- constructor(jsf) {
2496
- this.jsf = jsf;
2497
- this.controlDisabled = false;
2498
- this.boundControl = false;
2499
- this.allowNegative = true;
2500
- this.allowDecimal = true;
2501
- this.allowExponents = false;
2502
- this.lastValidNumber = '';
2503
- }
2504
- ngOnInit() {
2505
- this.options = this.layoutNode.options || {};
2506
- this.jsf.initializeControl(this);
2507
- if (this.layoutNode.dataType === 'integer') {
2508
- this.allowDecimal = false;
2509
- }
2510
- }
2511
- updateValue(event) {
2512
- this.jsf.updateValue(this, event.target.value);
2513
- }
2514
- }
2515
- TheSeamSchemaFormNumberComponent.decorators = [
2516
- { type: Component, args: [{
2517
- selector: 'seam-schema-form-number',
2518
- 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",
2519
- changeDetection: ChangeDetectionStrategy.OnPush,
2520
- styles: [":host{display:block}\n"]
2521
- },] }
2522
- ];
2523
- TheSeamSchemaFormNumberComponent.ctorParameters = () => [
2524
- { type: JsonSchemaFormService }
2525
- ];
2526
- TheSeamSchemaFormNumberComponent.propDecorators = {
2527
- layoutNode: [{ type: Input }],
2528
- layoutIndex: [{ type: Input }],
2529
- dataIndex: [{ type: Input }]
2530
- };
2531
-
2532
- class TheSeamSchemaFormSelectComponent {
2533
- constructor(jsf) {
2534
- this.jsf = jsf;
2535
- this.controlDisabled = false;
2536
- this.boundControl = false;
2537
- this.selectList = [];
2538
- this.isArray = isArray;
2539
- }
2540
- ngOnInit() {
2541
- this.options = this.layoutNode.options || {};
2542
- this.selectList = buildTitleMap(this.options.titleMap || this.options.enumNames, this.options.enum, !!this.options.required, !!this.options.flatList);
2543
- this.jsf.initializeControl(this);
2544
- }
2545
- updateValue(event) {
2546
- this.jsf.updateValue(this, event.value);
2547
- }
2548
- }
2549
- TheSeamSchemaFormSelectComponent.decorators = [
2550
- { type: Component, args: [{
2551
- selector: 'seam-schema-form-select',
2552
- 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",
2553
- changeDetection: ChangeDetectionStrategy.OnPush,
2554
- styles: [":host{display:block}\n"]
2555
- },] }
2556
- ];
2557
- TheSeamSchemaFormSelectComponent.ctorParameters = () => [
2558
- { type: JsonSchemaFormService }
2559
- ];
2560
- TheSeamSchemaFormSelectComponent.propDecorators = {
2561
- layoutNode: [{ type: Input }],
2562
- layoutIndex: [{ type: Input }],
2563
- dataIndex: [{ type: Input }]
2564
- };
2565
-
2566
- // NOTE: This component is a little hacky, because I am basically creating a
2567
- // data widget that acts like a data and 'submit' widget at the same time.
2568
- //
2569
- // TODO: Try and think of a nicer way to implement this, but still make sense
2570
- // from a schema definition. The library may need to me forked to actually
2571
- // support this in the way I expect, but maybe there is another way.
2572
- class TheSeamSchemaFormSubmitSplitComponent {
2573
- constructor(jsf) {
2574
- this.jsf = jsf;
2575
- /** @ignore */
2576
- this._ngUnsubscribe = new Subject();
2577
- this.controlDisabled = false;
2578
- this.boundControl = false;
2579
- this._buttonLabel = '';
2580
- this._dropdownDisabled = false;
2581
- this._selectList = [];
2582
- }
2583
- /** @ignore */
2584
- ngOnInit() {
2585
- this.options = this.layoutNode.options || {};
2586
- this.jsf.initializeControl(this);
2587
- // NOTE: This is commented out, because there is a bug with submit widgets
2588
- // manually defined in layout. All nodes initialized from the provided
2589
- // layout have their options populated from the defaults and 'disabled' is
2590
- // on of the default properties, so the 'disableInvalidSubmit' condition
2591
- // never gets reached.
2592
- //
2593
- // My initial idea for fixing would be to check if the disabled property
2594
- // exists and is a boolean, or possibly anything defined that can coerce
2595
- // into a boolean. I can't think of a reason disabled should be anything
2596
- // else, so that may be an acceptable fix, but I don't want to enable that
2597
- // yet.
2598
- //
2599
- // if (hasOwn(this.options, 'disabled')) {
2600
- // console.log('[TheSeamSchemaFormSubmitSplitComponent] hasDisabled', this.options.disabled)
2601
- // this.controlDisabled = this.options.disabled
2602
- // } else
2603
- if (this.jsf.formOptions.disableInvalidSubmit) {
2604
- this.controlDisabled = !this.jsf.isValid;
2605
- this.jsf.isValidChanges.subscribe(isValid => this.controlDisabled = !isValid);
2606
- }
2607
- if (this.controlValue === null || this.controlValue === undefined) {
2608
- this.controlValue = this.options.title;
2609
- }
2610
- if (hasOwn(this.options, 'title')) {
2611
- this._buttonLabel = this.options.title;
2612
- }
2613
- this._initDropdown();
2614
- // console.log('this', this)
2615
- }
2616
- /** @ignore */
2617
- ngOnDestroy() {
2618
- this._ngUnsubscribe.next();
2619
- this._ngUnsubscribe.complete();
2620
- }
2621
- updateValue(event) {
2622
- if (typeof this.options.onClick === 'function') {
2623
- this.options.onClick(event);
2624
- }
2625
- else {
2626
- this.jsf.updateValue(this, event.target.value);
2627
- }
2628
- }
2629
- _initDropdown() {
2630
- var _a;
2631
- if (!hasOwn(this.layoutNode, 'items') || !(this.layoutNode.items || []).length) {
2632
- return;
2633
- }
2634
- if (isDevMode()) {
2635
- if (this.layoutNode.items.length > 1) {
2636
- console.warn(`TheSeamSchemaFormSubmitSplitComponent only supports one item.` +
2637
- ` items after index 0 will be ignored.`);
2638
- }
2639
- }
2640
- const idx = 0;
2641
- const item = this.layoutNode.items[idx];
2642
- this._dropdownObj = {
2643
- layoutNode: item,
2644
- layoutIndex: (this.layoutIndex || []).concat(idx),
2645
- dataIndex: ((_a = this.layoutNode) === null || _a === void 0 ? void 0 : _a.dataType) === 'array' ? (this.dataIndex || []).concat(idx) : this.dataIndex,
2646
- options: item.options || {}
2647
- };
2648
- this.jsf.initializeControl(this._dropdownObj);
2649
- const items = buildTitleMap(this._dropdownObj.options.titleMap || this._dropdownObj.options.enumNames, this._dropdownObj.options.enum, !!this._dropdownObj.options.required, !!this._dropdownObj.options.flatList);
2650
- this._selectList = items;
2651
- // TODO: Should this be checking if the control is bound?
2652
- const dropdownControl = this._getDropdownControl();
2653
- if (!dropdownControl) {
2654
- return;
2655
- }
2656
- observeControlValue(dropdownControl).pipe(takeUntil(this._ngUnsubscribe)).subscribe(value => {
2657
- this._setSelectListCheckedProp(value);
2658
- this._selectedItem = this._getSelectedItem();
2659
- });
2660
- observeControlStatus(dropdownControl).pipe(takeUntil(this._ngUnsubscribe)).subscribe(value => {
2661
- this._dropdownDisabled = dropdownControl.disabled;
2662
- });
2663
- }
2664
- _getDropdownControl() {
2665
- return this._dropdownObj.formControl;
2666
- }
2667
- _setSelectListCheckedProp(value) {
2668
- const items = this._selectList;
2669
- for (const item of items) {
2670
- if (item.value === value) {
2671
- item.checked = true;
2672
- }
2673
- else if (item.checked) {
2674
- item.checked = false;
2675
- }
2676
- }
2677
- this._selectList = [...items];
2678
- }
2679
- _getSelectedItem() {
2680
- return (this._selectList || []).find(x => x.checked === true);
2681
- }
2682
- _setDropdownValue(value) {
2683
- const formControl = this._getDropdownControl();
2684
- formControl === null || formControl === void 0 ? void 0 : formControl.setValue(value);
2685
- }
2686
- }
2687
- TheSeamSchemaFormSubmitSplitComponent.decorators = [
2688
- { type: Component, args: [{
2689
- selector: 'seam-schema-form-submit-split',
2690
- 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",
2691
- styles: [":host{display:block}\n"]
2692
- },] }
2693
- ];
2694
- TheSeamSchemaFormSubmitSplitComponent.ctorParameters = () => [
2695
- { type: JsonSchemaFormService }
2696
- ];
2697
- TheSeamSchemaFormSubmitSplitComponent.propDecorators = {
2698
- layoutNode: [{ type: Input }],
2699
- layoutIndex: [{ type: Input }],
2700
- dataIndex: [{ type: Input }]
2701
- };
2702
-
2703
- class TheSeamSchemaFormFrameworkComponent {
2704
- }
2705
- TheSeamSchemaFormFrameworkComponent.decorators = [
2706
- { type: Component, args: [{
2707
- selector: 'seam-schema-form-framework',
2708
- template: "<select-widget-widget\n [dataIndex]=\"$any(dataIndex)\"\n [layoutIndex]=\"$any(layoutIndex)\"\n [layoutNode]=\"layoutNode\">\n</select-widget-widget>\n",
2709
- styles: [""]
2710
- },] }
2711
- ];
2712
- TheSeamSchemaFormFrameworkComponent.propDecorators = {
2713
- layoutNode: [{ type: Input }],
2714
- layoutIndex: [{ type: Input }],
2715
- dataIndex: [{ type: Input }]
2716
- };
2717
-
2718
- class TheSeamFramework extends Framework {
2719
- constructor() {
2720
- super(...arguments);
2721
- this.name = 'seam-framework';
2722
- this.framework = TheSeamSchemaFormFrameworkComponent;
2723
- this.widgets = {
2724
- 'checkbox': TheSeamSchemaFormCheckboxComponent,
2725
- // 'submit': TheSeamSchemaFormSubmitComponent,
2726
- 'submit': TheSeamSchemaFormSubmitSplitComponent,
2727
- 'text': TheSeamSchemaFormInputComponent,
2728
- 'number': TheSeamSchemaFormNumberComponent,
2729
- 'select': TheSeamSchemaFormSelectComponent
2730
- };
2731
- }
2732
- }
2733
- TheSeamFramework.decorators = [
2734
- { type: Injectable }
2735
- ];
2736
-
2737
- class TheSeamSchemaFormSubmitComponent {
2738
- constructor(jsf) {
2739
- this.jsf = jsf;
2740
- this.controlDisabled = false;
2741
- this.boundControl = false;
2742
- }
2743
- ngOnInit() {
2744
- this.options = this.layoutNode.options || {};
2745
- this.jsf.initializeControl(this);
2746
- if (hasOwn(this.options, 'disabled')) {
2747
- this.controlDisabled = this.options.disabled;
2748
- }
2749
- else if (this.jsf.formOptions.disableInvalidSubmit) {
2750
- this.controlDisabled = !this.jsf.isValid;
2751
- this.jsf.isValidChanges.subscribe(isValid => this.controlDisabled = !isValid);
2752
- }
2753
- if (this.controlValue === null || this.controlValue === undefined) {
2754
- this.controlValue = this.options.title;
2755
- }
2756
- }
2757
- updateValue(event) {
2758
- if (typeof this.options.onClick === 'function') {
2759
- this.options.onClick(event);
2760
- }
2761
- else {
2762
- this.jsf.updateValue(this, event.target.value);
2763
- }
2764
- }
2765
- }
2766
- TheSeamSchemaFormSubmitComponent.decorators = [
2767
- { type: Component, args: [{
2768
- selector: 'seam-schema-form-submit',
2769
- 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"
2770
- },] }
2771
- ];
2772
- TheSeamSchemaFormSubmitComponent.ctorParameters = () => [
2773
- { type: JsonSchemaFormService }
2774
- ];
2775
- TheSeamSchemaFormSubmitComponent.propDecorators = {
2776
- layoutNode: [{ type: Input }],
2777
- layoutIndex: [{ type: Input }],
2778
- dataIndex: [{ type: Input }]
2779
- };
2780
-
2781
- const controls = [
2782
- TheSeamSchemaFormCheckboxComponent,
2783
- TheSeamSchemaFormSubmitComponent,
2784
- TheSeamSchemaFormSelectComponent,
2785
- TheSeamSchemaFormInputComponent,
2786
- TheSeamSchemaFormNumberComponent,
2787
- TheSeamSchemaFormSubmitSplitComponent
2788
- ];
2789
- class TheSeamSchemaFormControlsModule {
2790
- }
2791
- TheSeamSchemaFormControlsModule.decorators = [
2792
- { type: NgModule, args: [{
2793
- declarations: [
2794
- ...controls
2795
- ],
2796
- imports: [
2797
- CommonModule,
2798
- ReactiveFormsModule,
2799
- JsonSchemaFormModule,
2800
- TheSeamFormFieldModule,
2801
- TheSeamCheckboxModule,
2802
- TheSeamMenuModule,
2803
- TheSeamButtonsModule,
2804
- NgSelectModule
2805
- ],
2806
- exports: [
2807
- ...controls,
2808
- JsonSchemaFormModule
2809
- ],
2810
- entryComponents: [
2811
- ...controls
2812
- ]
2813
- },] }
2814
- ];
2815
-
2816
- class TheSeamSchemaFormModule {
2817
- }
2818
- TheSeamSchemaFormModule.decorators = [
2819
- { type: NgModule, args: [{
2820
- declarations: [
2821
- TheSeamSchemaFormFrameworkComponent
2822
- ],
2823
- imports: [
2824
- CommonModule,
2825
- JsonSchemaFormModule,
2826
- TheSeamSchemaFormControlsModule,
2827
- WidgetLibraryModule,
2828
- ],
2829
- providers: [
2830
- JsonSchemaFormService,
2831
- FrameworkLibraryService,
2832
- WidgetLibraryService,
2833
- { provide: Framework, useClass: TheSeamFramework, multi: true }
2834
- ],
2835
- exports: [
2836
- TheSeamSchemaFormFrameworkComponent,
2837
- JsonSchemaFormModule
2838
- ],
2839
- entryComponents: [
2840
- TheSeamSchemaFormFrameworkComponent
2841
- ]
2842
- },] }
2843
- ];
2844
-
2845
- function isHorizontalNavItemType(item, type) {
2846
- return item.itemType === type;
2847
- }
2848
- function isHorizontalNavItemActive(item) {
2849
- var _a, _b;
2850
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.active) !== null && _b !== void 0 ? _b : false;
2851
- }
2852
- function isHorizontalNavItemExpanded(item) {
2853
- var _a, _b;
2854
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.expanded) !== null && _b !== void 0 ? _b : false;
2855
- }
2856
- function isHorizontalNavItemFocused(item) {
2857
- var _a, _b;
2858
- return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.focused) !== null && _b !== void 0 ? _b : false;
2859
- }
2860
- function horizontalNavItemHasChildren(item) {
2861
- return horizontalNavItemCanHaveChildren(item) && hasProperty(item, 'children') && item.children.length > 0;
2862
- }
2863
- function horizontalNavItemCanHaveChildren(item) {
2864
- return isHorizontalNavItemType(item, 'basic') || isHorizontalNavItemType(item, 'link');
2865
- }
2866
- function horizontalNavItemHasActiveChild(item) {
2867
- if (!horizontalNavItemHasChildren(item)) {
2868
- return false;
2869
- }
2870
- for (const child of item.children) {
2871
- if (getHorizontalNavItemStateProp(child, 'active') || horizontalNavItemHasActiveChild(child)) {
2872
- return true;
2873
- }
2874
- }
2875
- return false;
2876
- }
2877
- function horizontalNavItemHasExpandedChild(item) {
2878
- if (!horizontalNavItemHasChildren(item)) {
2879
- return false;
2880
- }
2881
- for (const child of item.children) {
2882
- if (getHorizontalNavItemStateProp(child, 'expanded')) {
2883
- return true;
2884
- }
2885
- }
2886
- return false;
2887
- }
2888
- function horizontalNavItemCanBeActive(item) {
2889
- return isHorizontalNavItemType(item, 'basic') || isHorizontalNavItemType(item, 'link');
2890
- }
2891
- function horizontalNavItemCanExpand(item) {
2892
- return horizontalNavItemCanHaveChildren(item);
2893
- }
2894
- function findHorizontalNavLinkItems(items) {
2895
- const linkItems = [];
2896
- const _fn = (_items) => {
2897
- for (const item of _items) {
2898
- if (isHorizontalNavItemType(item, 'link')) {
2899
- linkItems.push(item);
2900
- }
2901
- if (horizontalNavItemCanHaveChildren(item) && hasProperty(item, 'children')) {
2902
- _fn(item.children);
2903
- }
2904
- }
2905
- };
2906
- _fn(items);
2907
- return linkItems;
2908
- }
2909
- function setHorizontalNavItemStateProp(item, prop, value) {
2910
- if (hasProperty(item, '__state')) {
2911
- item.__state[prop] = value;
2912
- }
2913
- }
2914
- function getHorizontalNavItemStateProp(item, prop) {
2915
- return setDefaultHorizontalNavItemState(item).__state[prop];
2916
- }
2917
- function setDefaultHorizontalNavItemState(item) {
2918
- if (hasProperty(item, '__state')) {
2919
- return item;
2920
- }
2921
- item.__state = {
2922
- active: false,
2923
- expanded: false,
2924
- focused: false
2925
- };
2926
- // TODO: See if there is a nice way to fix the typing for this.
2927
- return item;
2928
- }
2929
- function areSameHorizontalNavItem(item1, item2) {
2930
- if (isNullOrUndefined(item1) || isNullOrUndefined(item2)) {
2931
- return false;
2932
- }
2933
- if (item1.itemType !== item2.itemType) {
2934
- return false;
2935
- }
2936
- if (isHorizontalNavItemType(item1, 'title') && isHorizontalNavItemType(item2, 'title')) {
2937
- return item1.label === item2.label;
2938
- }
2939
- else if (isHorizontalNavItemType(item1, 'divider') && isHorizontalNavItemType(item2, 'divider')) {
2940
- return item1.label === item2.label;
2941
- }
2942
- else if (isHorizontalNavItemType(item1, 'basic') && isHorizontalNavItemType(item2, 'basic')) {
2943
- return item1.label === item2.label;
2944
- }
2945
- else if (isHorizontalNavItemType(item1, 'link') && isHorizontalNavItemType(item2, 'link')) {
2946
- return item1.label === item2.label && item1.link === item2.link;
2947
- }
2948
- else if (isHorizontalNavItemType(item1, 'button') && isHorizontalNavItemType(item2, 'button')) {
2949
- return item1.onClick === item2.onClick;
2950
- }
2951
- return false;
2952
- }
2953
-
2954
- class TheSeamNavService {
2955
- constructor(_router) {
2956
- this._router = _router;
2957
- this._updatingCount = new BehaviorSubject(0);
2958
- this.itemChanged = new Subject();
2959
- this.loading$ = this._updatingCount.pipe(map(count => count > 0), distinctUntilChanged(), shareReplay({ bufferSize: 1, refCount: true }));
2960
- }
2961
- createItemsObservable(items) {
2962
- return defer(() => {
2963
- this.updateItemsStates(items);
2964
- this.updateRouterFocusedItem(items);
2965
- return new Observable((subscriber) => {
2966
- const stateChangeSub = this.itemChanged.pipe(switchMap(change => {
2967
- if (change.prop === 'focused' && change.newValue) {
2968
- this.updateFocusedItem(items, change.item);
2969
- }
2970
- return this.loading$.pipe(filter(loading => !loading));
2971
- })).subscribe(() => {
2972
- subscriber.next(items);
2973
- });
2974
- try {
2975
- this.updateItemsStates(items);
2976
- }
2977
- catch (err) {
2978
- subscriber.error(err);
2979
- }
2980
- const routeChangeSub = this._router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe(event => {
2981
- try {
2982
- this.updateItemsStates(items);
2983
- this.updateRouterFocusedItem(items);
2984
- }
2985
- catch (err) {
2986
- subscriber.error(err);
2987
- }
2988
- });
2989
- return () => {
2990
- stateChangeSub.unsubscribe();
2991
- routeChangeSub.unsubscribe();
2992
- };
2993
- }).pipe(startWith(items));
2994
- });
2995
- }
2996
- _incUpdatingCount() {
2997
- this._updatingCount.next(this._updatingCount.value + 1);
2998
- }
2999
- _decrUpdatingCount() {
3000
- this._updatingCount.next(this._updatingCount.value - 1);
3001
- }
3002
- updateItemsStates(items) {
3003
- this._incUpdatingCount();
3004
- try {
3005
- for (const item of items) {
3006
- if (horizontalNavItemHasChildren(item)) {
3007
- this.updateItemsStates(item.children);
3008
- }
3009
- this.updateItemState(item);
3010
- }
3011
- this._decrUpdatingCount();
3012
- }
3013
- catch (err) {
3014
- this._decrUpdatingCount();
3015
- throw err;
3016
- }
3017
- }
3018
- updateItemState(item) {
3019
- this._incUpdatingCount();
3020
- try {
3021
- setDefaultHorizontalNavItemState(item);
3022
- this.setItemStateProp(item, 'active', this.horizontalNavLinkActive(item));
3023
- // TODO: Implement this in a more optimized way. Unless our apps start
3024
- // having large navs constantly updating their state, this shouldn't
3025
- // have much impact on performance.
3026
- this._updateItemExpandedState(item);
3027
- this._decrUpdatingCount();
3028
- }
3029
- catch (err) {
3030
- this._decrUpdatingCount();
3031
- throw err;
3032
- }
3033
- }
3034
- horizontalNavLinkActive(item) {
3035
- if (isHorizontalNavItemType(item, 'link')) {
3036
- const url = this._getUrl(item);
3037
- if (notNullOrUndefined(url)) {
3038
- const opts = this._getMatchOptions(item);
3039
- return this._router.isActive(url, opts);
3040
- }
3041
- }
3042
- return false;
3043
- }
3044
- _updateItemsExpandedState(items) {
3045
- for (const item of items) {
3046
- if (horizontalNavItemHasChildren(item)) {
3047
- this._updateItemsExpandedState(item.children);
3048
- }
3049
- this._updateItemExpandedState(item);
3050
- }
3051
- }
3052
- _updateItemExpandedState(item) {
3053
- if (!horizontalNavItemCanExpand(item)) {
3054
- if (getHorizontalNavItemStateProp(item, 'expanded')) {
3055
- this.setItemStateProp(item, 'expanded', false);
3056
- }
3057
- return;
3058
- }
3059
- if (horizontalNavItemHasChildren(item)) {
3060
- this._updateItemsExpandedState(item.children);
3061
- }
3062
- if (horizontalNavItemHasActiveChild(item) || horizontalNavItemHasExpandedChild(item)) {
3063
- if (!getHorizontalNavItemStateProp(item, 'expanded')) {
3064
- this.setItemStateProp(item, 'expanded', true);
3065
- }
3066
- }
3067
- else {
3068
- if (getHorizontalNavItemStateProp(item, 'expanded')) {
3069
- this.setItemStateProp(item, 'expanded', false);
3070
- }
3071
- }
3072
- }
3073
- updateRouterFocusedItem(items) {
3074
- const focusedItem = items.find(i => isHorizontalNavItemActive(i)) || items.find(i => horizontalNavItemHasActiveChild(i));
3075
- if (notNullOrUndefined(focusedItem)) {
3076
- this.updateFocusedItem(items, focusedItem);
3077
- }
3078
- }
3079
- updateFocusedItem(items, focusedItem) {
3080
- for (const item of items) {
3081
- if (areSameHorizontalNavItem(item, focusedItem)) {
3082
- setHorizontalNavItemStateProp(item, 'focused', true);
3083
- }
3084
- else {
3085
- setHorizontalNavItemStateProp(item, 'focused', false);
3086
- }
3087
- }
3088
- }
3089
- _getNavExtras(item) {
3090
- const navigationExtras = {};
3091
- if (hasProperty(item, 'queryParams')) {
3092
- navigationExtras.queryParams = item.queryParams;
3093
- }
3094
- if (hasProperty(item, 'fragment')) {
3095
- navigationExtras.fragment = item.fragment;
3096
- }
3097
- if (hasProperty(item, 'queryParamsHandling')) {
3098
- navigationExtras.queryParamsHandling = item.queryParamsHandling;
3099
- }
3100
- if (hasProperty(item, 'preserveFragment')) {
3101
- navigationExtras.preserveFragment = item.preserveFragment;
3102
- }
3103
- return navigationExtras;
3104
- }
3105
- _getUrl(item) {
3106
- const link = item.link;
3107
- if (typeof link === 'string') {
3108
- return this._router.createUrlTree([link], this._getNavExtras(item)).toString();
3109
- }
3110
- else if (Array.isArray(link)) {
3111
- return this._router.createUrlTree(link, this._getNavExtras(item)).toString();
3112
- }
3113
- return null;
3114
- }
3115
- _getMatchOptions(item) {
3116
- const defaultMatchOpts = {
3117
- paths: 'subset',
3118
- queryParams: 'subset',
3119
- fragment: 'ignored',
3120
- matrixParams: 'ignored'
3121
- };
3122
- if (hasProperty(item, 'matchOptions')) {
3123
- return Object.assign(Object.assign({}, defaultMatchOpts), item.matchOptions);
3124
- }
3125
- return defaultMatchOpts;
3126
- }
3127
- setItemStateProp(item, prop, value) {
3128
- const currentValue = getHorizontalNavItemStateProp(item, prop);
3129
- if (currentValue !== value) {
3130
- setHorizontalNavItemStateProp(item, prop, value);
3131
- const changed = {
3132
- item,
3133
- prop,
3134
- prevValue: currentValue,
3135
- newValue: value
3136
- };
3137
- this.itemChanged.next(changed);
3138
- }
3139
- }
3140
- }
3141
- TheSeamNavService.decorators = [
3142
- { type: Injectable }
3143
- ];
3144
- TheSeamNavService.ctorParameters = () => [
3145
- { type: Router }
3146
- ];
3147
-
3148
- class NavItemComponent {
3149
- constructor(_nav) {
3150
- this._nav = _nav;
3151
- this._ngUnsubscribe = new Subject();
3152
- this.faAngleLeft = faAngleLeft;
3153
- this.active = false;
3154
- this._link = new BehaviorSubject(undefined);
3155
- this.link$ = this._link.asObservable();
3156
- this.hierLevel = 0;
3157
- this.indentSize = 10;
3158
- this._expanded = new BehaviorSubject(false);
3159
- this.expanded$ = this._expanded.asObservable();
3160
- this._compact = new BehaviorSubject(false);
3161
- this.compact$ = this._compact.asObservable();
3162
- this.focused = false;
3163
- this.badgeTheme = 'danger';
3164
- this.childAction = 'menu';
3165
- this.expandAction = 'toggle';
3166
- this.navItemExpanded = new EventEmitter();
3167
- }
3168
- set link(value) { this._link.next(value); }
3169
- get link() { return this._link.value; }
3170
- set expanded(value) {
3171
- this._expanded.next(coerceBooleanProperty(value));
3172
- }
3173
- get expanded() { return this._expanded.value; }
3174
- set compact(value) { this._compact.next(coerceBooleanProperty(value)); }
3175
- get compact() { return this._compact.value; }
3176
- get badgeTooltip() { return this._badgeTooltip; }
3177
- set badgeTooltip(value) {
3178
- if (value !== null && value !== undefined) {
3179
- if (typeof value === 'string') {
3180
- this._badgeTooltip = {
3181
- tooltip: value,
3182
- placement: 'auto',
3183
- disabled: false
3184
- };
3185
- }
3186
- else {
3187
- this._badgeTooltip = Object.assign(Object.assign({}, value), { placement: value.placement || 'auto', disabled: typeof (value === null || value === void 0 ? void 0 : value.disabled) === 'boolean'
3188
- ? value.disabled
3189
- : typeof value.tooltip === 'string' ? false : true });
3190
- }
3191
- }
3192
- else {
3193
- this._badgeTooltip = undefined;
3194
- }
3195
- }
3196
- get _isActiveCssClass() { return this.active; }
3197
- get _isChildActiveCssClass() { return this.hasActiveChild; }
3198
- get _isExpandedCssClass() { return this.expanded; }
3199
- get _isFocusedCssClass() { return this.focused; }
3200
- get _attrDataHierLevel() { return this.hierLevel; }
3201
- ngOnDestroy() {
3202
- this._ngUnsubscribe.next();
3203
- this._ngUnsubscribe.complete();
3204
- }
3205
- get hasChildren() {
3206
- return Array.isArray(this.children) && this.children.length > 0;
3207
- }
3208
- get hasActiveChild() {
3209
- if (notNullOrUndefined(this.item)) {
3210
- return horizontalNavItemHasActiveChild(this.item);
3211
- }
3212
- return false;
3213
- }
3214
- get hasMenuToggle() {
3215
- return this.hasChildren && this.childAction === 'menu';
3216
- }
3217
- get menuTpl() {
3218
- return this.hasMenuToggle ? this._menu : undefined;
3219
- }
3220
- get hasExpandingChildren() {
3221
- return this.hasChildren && this.childAction === 'expand';
3222
- }
3223
- _toggleChildren(event) {
3224
- let ex = !this.expanded;
3225
- if (this.expandAction === 'expandOnly') {
3226
- ex = true;
3227
- }
3228
- this.expanded = ex;
3229
- this.navItemExpanded.emit(this.expanded);
3230
- if (this.item && this.expanded) {
3231
- this._nav.setItemStateProp(this.item, 'focused', this.expanded);
3232
- }
3233
- // Prevents seam-menu from closing out when toggling child expand
3234
- event.stopPropagation();
3235
- }
3236
- // Updates expanded state when user exits seam-menu
3237
- _menuEvent(menuExpanded) {
3238
- if (menuExpanded === false) {
3239
- this.expanded = false;
3240
- // TODO: figure out why closing seam-menu with expanded submenu messes up animation
3241
- if (this._navItems && this._navItems.length) {
3242
- this._navItems.forEach(navItem => {
3243
- navItem.expanded = false;
3244
- });
3245
- }
3246
- }
3247
- }
3248
- get showIconBlock() {
3249
- return notNullOrUndefined(this.icon) || this.hideEmptyIcon !== true;
3250
- }
3251
- }
3252
- NavItemComponent.decorators = [
3253
- { type: Component, args: [{
3254
- selector: 'seam-nav-item',
3255
- 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",
3256
- exportAs: 'seamNavItem',
3257
- animations: [
3258
- trigger('childGroupAnim', [
3259
- transition(':enter', [
3260
- style({ height: 0 }),
3261
- animate('0.2s ease-in-out', style({ height: '*' }))
3262
- ]),
3263
- transition(':leave', [
3264
- style({ height: '*' }),
3265
- animate('0.2s ease-in-out', style({ height: 0 }))
3266
- ])
3267
- ])
3268
- ],
3269
- changeDetection: ChangeDetectionStrategy.OnPush,
3270
- encapsulation: ViewEncapsulation.None,
3271
- 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"]
3272
- },] }
3273
- ];
3274
- NavItemComponent.ctorParameters = () => [
3275
- { type: TheSeamNavService }
3276
- ];
3277
- NavItemComponent.propDecorators = {
3278
- item: [{ type: Input }],
3279
- itemType: [{ type: Input }],
3280
- icon: [{ type: Input }],
3281
- hideEmptyIcon: [{ type: Input }],
3282
- label: [{ type: Input }],
3283
- active: [{ type: Input }],
3284
- link: [{ type: Input }],
3285
- queryParams: [{ type: Input }],
3286
- children: [{ type: Input }],
3287
- hierLevel: [{ type: Input }],
3288
- indentSize: [{ type: Input }],
3289
- expanded: [{ type: Input }],
3290
- compact: [{ type: Input }],
3291
- focused: [{ type: Input }],
3292
- badgeText: [{ type: Input }],
3293
- badgeTheme: [{ type: Input }],
3294
- badgeSrContent: [{ type: Input }],
3295
- badgeTooltip: [{ type: Input }],
3296
- childAction: [{ type: Input }],
3297
- expandAction: [{ type: Input }],
3298
- navItemExpanded: [{ type: Output }],
3299
- _isActiveCssClass: [{ type: HostBinding, args: ['class.seam-nav-item--active',] }],
3300
- _isChildActiveCssClass: [{ type: HostBinding, args: ['class.seam-nav-item--child-active',] }],
3301
- _isExpandedCssClass: [{ type: HostBinding, args: ['class.seam-nav-item--expanded',] }],
3302
- _isFocusedCssClass: [{ type: HostBinding, args: ['class.seam-nav-item--focused',] }],
3303
- _attrDataHierLevel: [{ type: HostBinding, args: ['attr.data-hier-level',] }],
3304
- _menu: [{ type: ViewChild, args: [MenuComponent,] }],
3305
- _navItems: [{ type: ViewChildren, args: [NavItemComponent,] }]
3306
- };
3307
- __decorate([
3308
- InputBoolean()
3309
- ], NavItemComponent.prototype, "active", void 0);
3310
- __decorate([
3311
- InputNumber(0)
3312
- ], NavItemComponent.prototype, "hierLevel", void 0);
3313
- __decorate([
3314
- InputNumber(10)
3315
- ], NavItemComponent.prototype, "indentSize", void 0);
3316
-
3317
- class HorizontalNavComponent {
3318
- constructor(_nav) {
3319
- this._nav = _nav;
3320
- this._ngUnsubscribe = new Subject();
3321
- this._items = new BehaviorSubject([]);
3322
- this.hideEmptyIcon = true;
3323
- this.hierLevel = 0;
3324
- this.childAction = 'menu';
3325
- this.expandAction = 'toggle';
3326
- this.navItemExpanded = new EventEmitter();
3327
- this.items$ = this._items.asObservable().pipe(switchMap(items => items ? this._nav.createItemsObservable(items) : []), shareReplay({ bufferSize: 1, refCount: true }));
3328
- }
3329
- get items() { return this._items.value; }
3330
- set items(value) {
3331
- this._items.next(value);
3332
- }
3333
- ngOnInit() { }
3334
- ngOnDestroy() {
3335
- this._ngUnsubscribe.next();
3336
- this._ngUnsubscribe.complete();
3337
- }
3338
- _navItemExpanded(item, expanded) {
3339
- this.navItemExpanded.emit({ navItem: item, expanded });
3340
- }
3341
- }
3342
- HorizontalNavComponent.decorators = [
3343
- { type: Component, args: [{
3344
- selector: 'seam-horizontal-nav',
3345
- 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",
3346
- providers: [
3347
- TheSeamNavService
3348
- ],
3349
- changeDetection: ChangeDetectionStrategy.OnPush,
3350
- encapsulation: ViewEncapsulation.None,
3351
- 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"]
3352
- },] }
3353
- ];
3354
- HorizontalNavComponent.ctorParameters = () => [
3355
- { type: TheSeamNavService }
3356
- ];
3357
- HorizontalNavComponent.propDecorators = {
3358
- items: [{ type: Input }],
3359
- hideEmptyIcon: [{ type: Input }],
3360
- hierLevel: [{ type: Input }],
3361
- childAction: [{ type: Input }],
3362
- expandAction: [{ type: Input }],
3363
- navItemExpanded: [{ type: Output }]
3364
- };
3365
-
3366
- class TheSeamNavModule {
3367
- }
3368
- TheSeamNavModule.decorators = [
3369
- { type: NgModule, args: [{
3370
- declarations: [
3371
- NavItemComponent,
3372
- HorizontalNavComponent,
3373
- ],
3374
- imports: [
3375
- CommonModule,
3376
- RouterModule,
3377
- TheSeamIconModule,
3378
- A11yModule,
3379
- TheSeamScrollbarModule,
3380
- TheSeamLayoutModule,
3381
- NgbTooltipModule,
3382
- PortalModule,
3383
- TheSeamMenuModule
3384
- ],
3385
- exports: [
3386
- NavItemComponent,
3387
- HorizontalNavComponent,
3388
- ],
3389
- providers: [
3390
- TheSeamNavService,
3391
- ]
3392
- },] }
3393
- ];
3394
-
3395
- /**
3396
- * Generated bundle index. Do not edit.
3397
- */
3398
-
3399
- export { BaseLayoutContentDirective, BaseLayoutContentFooterDirective, BaseLayoutContentHeaderDirective, BaseLayoutNavToggleDirective, BaseLayoutSideBarDirective, BaseLayoutTopBarDirective, DashboardComponent, DashboardWidgetContainerComponent, DashboardWidgetPortalOutletDirective, DashboardWidgetTemplateContainerComponent, DashboardWidgetsComponent, DashboardWidgetsPreferencesService, DashboardWidgetsService, HierarchyLevelResolver, HierarchyRouterOutletComponent, HorizontalNavComponent, NavItemComponent, SideNavComponent, SideNavItemComponent, SideNavToggleComponent, THESEAM_BASE_LAYOUT_REF, THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR, THE_SEAM_BASE_LAYOUT, TheSeamBaseLayoutComponent, TheSeamBaseLayoutModule, TheSeamDashboardModule, TheSeamDynamicRouterModule, TheSeamFramework, TheSeamNavModule, TheSeamSchemaFormFrameworkComponent, TheSeamSchemaFormModule, TheSeamSideNavModule, TheSeamTopBarComponent, TheSeamTopBarModule, TopBarItemDirective, TopBarMenuBtnDetailDirective, TopBarMenuButtonComponent, TopBarMenuDirective, TopBarTitleComponent, areSameHorizontalNavItem, canBeActive, canExpand, canHaveChildren, fader, findHorizontalNavLinkItems, findLinkItems, getHorizontalNavItemStateProp, getItemStateProp, hasActiveChild, hasChildren, hasExpandedChild, horizontalNavItemCanBeActive, horizontalNavItemCanExpand, horizontalNavItemCanHaveChildren, horizontalNavItemHasActiveChild, horizontalNavItemHasChildren, horizontalNavItemHasExpandedChild, isExpanded, isHorizontalNavItemActive, isHorizontalNavItemExpanded, isHorizontalNavItemFocused, isHorizontalNavItemType, isNavItemActive, isNavItemType, routeChanges, setDefaultHorizontalNavItemState, setDefaultState, setHorizontalNavItemStateProp, setItemStateProp, sideNavExpandStateChangeFn, sideToSide, slider, stepper, transformer, BaseLayoutSideBarFooterDirective as ɵa, BaseLayoutSideBarHeaderDirective as ɵb, TheSeamSideNavService as ɵc, TopBarCompactMenuBtnDetailDirective as ɵd, TopBarNavToggleBtnDetailDirective as ɵe, TheSeamSchemaFormControlsModule as ɵf, TheSeamSchemaFormCheckboxComponent as ɵg, TheSeamSchemaFormSubmitComponent as ɵh, TheSeamSchemaFormSelectComponent as ɵi, TheSeamSchemaFormInputComponent as ɵj, TheSeamSchemaFormNumberComponent as ɵk, TheSeamSchemaFormSubmitSplitComponent as ɵl, TheSeamNavService as ɵm };
3400
- //# sourceMappingURL=theseam-ui-common-framework.js.map