@theseam/ui-common 0.3.11 → 0.4.0-beta.0

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