@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,2988 @@
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 () { return [{ type: undefined, decorators: [{
121
+ type: Optional
122
+ }, {
123
+ type: Inject,
124
+ args: [THESEAM_BASE_LAYOUT_REF]
125
+ }] }]; }, propDecorators: { _attrType: [{
126
+ type: HostBinding,
127
+ args: ['attr.type']
128
+ }], type: [{
129
+ type: Input
130
+ }], _attrAriaLabel: [{
131
+ type: HostBinding,
132
+ args: ['attr.aria-label']
133
+ }], ariaLabel: [{
134
+ type: Input,
135
+ args: ['aria-label']
136
+ }], _onClick: [{
137
+ type: HostListener,
138
+ args: ['click']
139
+ }] } });
140
+
141
+ class BaseLayoutSideBarFooterDirective {
142
+ constructor(_elementRef) {
143
+ this._elementRef = _elementRef;
144
+ }
145
+ }
146
+ BaseLayoutSideBarFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BaseLayoutSideBarFooterDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
147
+ BaseLayoutSideBarFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: BaseLayoutSideBarFooterDirective, selector: "[seamBaseLayoutSideBarFooter]", ngImport: i0 });
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BaseLayoutSideBarFooterDirective, decorators: [{
149
+ type: Directive,
150
+ args: [{
151
+ selector: '[seamBaseLayoutSideBarFooter]'
152
+ }]
153
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
154
+
155
+ class BaseLayoutSideBarDirective {
156
+ constructor(_elementRef) {
157
+ this._elementRef = _elementRef;
158
+ }
159
+ }
160
+ BaseLayoutSideBarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BaseLayoutSideBarDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
161
+ BaseLayoutSideBarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: BaseLayoutSideBarDirective, selector: "[seamBaseLayoutSideBar]", ngImport: i0 });
162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BaseLayoutSideBarDirective, decorators: [{
163
+ type: Directive,
164
+ args: [{
165
+ selector: '[seamBaseLayoutSideBar]'
166
+ }]
167
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
168
+
169
+ class BaseLayoutTopBarDirective {
170
+ constructor(_elementRef) {
171
+ this._elementRef = _elementRef;
172
+ }
173
+ }
174
+ BaseLayoutTopBarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BaseLayoutTopBarDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
175
+ BaseLayoutTopBarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: BaseLayoutTopBarDirective, selector: "[seamBaseLayoutTopBar]", ngImport: i0 });
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BaseLayoutTopBarDirective, decorators: [{
177
+ type: Directive,
178
+ args: [{
179
+ selector: '[seamBaseLayoutTopBar]'
180
+ }]
181
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
182
+
183
+ const THE_SEAM_BASE_LAYOUT = {
184
+ provide: THESEAM_BASE_LAYOUT_REF,
185
+ // tslint:disable-next-line:no-use-before-declare
186
+ useExisting: forwardRef(() => TheSeamBaseLayoutComponent),
187
+ multi: false,
188
+ };
189
+ class TheSeamBaseLayoutComponent {
190
+ constructor(_viewContainerRef, _layout) {
191
+ this._viewContainerRef = _viewContainerRef;
192
+ this._layout = _layout;
193
+ this.faAngleDoubleRight = faAngleDoubleRight;
194
+ this.faAngleDoubleLeft = faAngleDoubleLeft;
195
+ this.overlayNav = false;
196
+ this._hasSideBar = new BehaviorSubject(false);
197
+ this._registeredNav = new BehaviorSubject(undefined);
198
+ this.registeredNav$ = this._registeredNav.asObservable();
199
+ this._registeredActions = new BehaviorSubject([]);
200
+ this.registeredActions$ = this._registeredActions.asObservable();
201
+ this.isMobile$ = this._layout.isMobile$;
202
+ this.hasSideBar$ = this._hasSideBar.asObservable();
203
+ }
204
+ get registeredNav() { return this._registeredNav.value; }
205
+ get registeredActions() { return this._registeredActions.value; }
206
+ ngOnInit() {
207
+ if (this._topBarTpl) {
208
+ this._topBarPortal = new TemplatePortal(this._topBarTpl, this._viewContainerRef);
209
+ }
210
+ if (this._sideBarTpl) {
211
+ this._sideBarPortal = new TemplatePortal(this._sideBarTpl, this._viewContainerRef);
212
+ this._hasSideBar.next(true);
213
+ }
214
+ if (this._contentTpl) {
215
+ this._contentPortal = new TemplatePortal(this._contentTpl, this._viewContainerRef);
216
+ }
217
+ if (this._contentHeaderTpl) {
218
+ this._contentHeaderPortal = new TemplatePortal(this._contentHeaderTpl, this._viewContainerRef);
219
+ }
220
+ if (this._contentFooterTpl) {
221
+ this._contentFooterPortal = new TemplatePortal(this._contentFooterTpl, this._viewContainerRef);
222
+ }
223
+ }
224
+ registerNav(nav) {
225
+ // TODO: Allow multiple registered navs
226
+ // if (this.registeredNav) {
227
+ // throw new Error('[TheSeamBaseLayoutComponent] A nav is already registered.')
228
+ // }
229
+ // console.log('register nav', nav)
230
+ this._registeredNav.next(nav);
231
+ }
232
+ unregisterNav(nav) {
233
+ if (this.registeredNav === nav) {
234
+ this._registeredNav.next(undefined);
235
+ }
236
+ }
237
+ registerAction(action) {
238
+ const actions = this._registeredActions.value;
239
+ if (actions.findIndex(a => a.name === action.name) !== -1) {
240
+ if (isDevMode()) {
241
+ console.warn(`[TheSeamBaseLayoutComponent] registerAction(): Action ${action.name} not ` +
242
+ 'registered, because another action by that name is already registered.');
243
+ }
244
+ return;
245
+ }
246
+ actions.push(action);
247
+ }
248
+ unregisterAction(action) {
249
+ const actionName = typeof action === 'string' ? action : action.name;
250
+ const actions = this._registeredActions.value;
251
+ this._registeredActions.next(actions.filter(f => f.name !== actionName));
252
+ }
253
+ isActionRegistered(actionName) {
254
+ const actions = this._registeredActions.value;
255
+ const action = actions.find(f => f.name === actionName);
256
+ return !!action;
257
+ }
258
+ _handleButtonAction(action) {
259
+ this._execButtonAction(action).subscribe();
260
+ }
261
+ _execButtonAction(action) {
262
+ const fnRes = action.exec();
263
+ return isObservable(fnRes) ? fnRes : from(Promise.resolve(fnRes));
264
+ }
265
+ }
266
+ 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 });
267
+ 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 });
268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamBaseLayoutComponent, decorators: [{
269
+ type: Component,
270
+ 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"] }]
271
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i1.TheSeamLayoutService }]; }, propDecorators: { overlayNav: [{
272
+ type: Input
273
+ }], _topBarTpl: [{
274
+ type: ContentChild,
275
+ args: [BaseLayoutTopBarDirective, { static: true, read: TemplateRef }]
276
+ }], _sideBarTpl: [{
277
+ type: ContentChild,
278
+ args: [BaseLayoutSideBarDirective, { static: true, read: TemplateRef }]
279
+ }], _contentTpl: [{
280
+ type: ContentChild,
281
+ args: [BaseLayoutContentDirective, { static: true, read: TemplateRef }]
282
+ }], _contentHeaderTpl: [{
283
+ type: ContentChild,
284
+ args: [BaseLayoutContentHeaderDirective, { static: true, read: TemplateRef }]
285
+ }], _contentFooterTpl: [{
286
+ type: ContentChild,
287
+ args: [BaseLayoutContentFooterDirective, { static: true, read: TemplateRef }]
288
+ }] } });
289
+
290
+ class TheSeamBaseLayoutModule {
291
+ }
292
+ TheSeamBaseLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamBaseLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
293
+ TheSeamBaseLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TheSeamBaseLayoutModule, declarations: [TheSeamBaseLayoutComponent,
294
+ BaseLayoutContentDirective,
295
+ BaseLayoutSideBarDirective,
296
+ BaseLayoutSideBarFooterDirective,
297
+ BaseLayoutTopBarDirective,
298
+ BaseLayoutNavToggleDirective,
299
+ BaseLayoutContentHeaderDirective,
300
+ BaseLayoutContentFooterDirective], imports: [CommonModule,
301
+ PortalModule,
302
+ TheSeamScrollbarModule,
303
+ TheSeamIconModule,
304
+ TheSeamButtonsModule], exports: [TheSeamBaseLayoutComponent,
305
+ BaseLayoutContentDirective,
306
+ BaseLayoutSideBarDirective,
307
+ BaseLayoutSideBarFooterDirective,
308
+ BaseLayoutTopBarDirective,
309
+ BaseLayoutNavToggleDirective,
310
+ BaseLayoutContentHeaderDirective,
311
+ BaseLayoutContentFooterDirective] });
312
+ TheSeamBaseLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamBaseLayoutModule, imports: [CommonModule,
313
+ PortalModule,
314
+ TheSeamScrollbarModule,
315
+ TheSeamIconModule,
316
+ TheSeamButtonsModule] });
317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamBaseLayoutModule, decorators: [{
318
+ type: NgModule,
319
+ args: [{
320
+ declarations: [
321
+ TheSeamBaseLayoutComponent,
322
+ BaseLayoutContentDirective,
323
+ BaseLayoutSideBarDirective,
324
+ BaseLayoutSideBarFooterDirective,
325
+ BaseLayoutTopBarDirective,
326
+ BaseLayoutNavToggleDirective,
327
+ BaseLayoutContentHeaderDirective,
328
+ BaseLayoutContentFooterDirective
329
+ ],
330
+ imports: [
331
+ CommonModule,
332
+ PortalModule,
333
+ TheSeamScrollbarModule,
334
+ TheSeamIconModule,
335
+ TheSeamButtonsModule
336
+ ],
337
+ exports: [
338
+ TheSeamBaseLayoutComponent,
339
+ BaseLayoutContentDirective,
340
+ BaseLayoutSideBarDirective,
341
+ BaseLayoutSideBarFooterDirective,
342
+ BaseLayoutTopBarDirective,
343
+ BaseLayoutNavToggleDirective,
344
+ BaseLayoutContentHeaderDirective,
345
+ BaseLayoutContentFooterDirective
346
+ ]
347
+ }]
348
+ }] });
349
+
350
+ class DashboardWidgetContainerComponent {
351
+ constructor() { }
352
+ ngOnInit() { }
353
+ }
354
+ DashboardWidgetContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DashboardWidgetContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
355
+ 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 });
356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DashboardWidgetContainerComponent, decorators: [{
357
+ type: Component,
358
+ args: [{ selector: 'seam-dashboard-widget-container', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template><ng-content></ng-content></ng-template>\n" }]
359
+ }], ctorParameters: function () { return []; }, propDecorators: { def: [{
360
+ type: Input
361
+ }], templateRef: [{
362
+ type: ViewChild,
363
+ args: [TemplateRef]
364
+ }] } });
365
+
366
+ const THESEAM_DASHBOARD_WIDGETS_ACCESSOR = new InjectionToken('THESEAM_DASHBOARD_WIDGETS_ACCESSOR');
367
+
368
+ class DashboardWidgetTemplateContainerComponent {
369
+ constructor(_dashboardWidgetsComponent) {
370
+ this._dashboardWidgetsComponent = _dashboardWidgetsComponent;
371
+ this.template$ = this._dashboardWidgetsComponent.containers$.pipe(map(containers => containers.find((c) => c.def.widgetId === this.item?.widgetId)), map(container => container && container.templateRef));
372
+ }
373
+ ngOnInit() { }
374
+ }
375
+ 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 });
376
+ 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 });
377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DashboardWidgetTemplateContainerComponent, decorators: [{
378
+ type: Component,
379
+ args: [{ selector: 'seam-dashboard-widget-template-container', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template [ngTemplateOutlet]=\"$any(template$ | async)\"></ng-template>\n" }]
380
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
381
+ type: Inject,
382
+ args: [THESEAM_DASHBOARD_WIDGETS_ACCESSOR]
383
+ }] }]; }, propDecorators: { item: [{
384
+ type: Input
385
+ }] } });
386
+
387
+ /**
388
+ * Mostly copied from
389
+ * `https://github.com/angular/components/blob/master/src/cdk/portal/portal-directives.ts`
390
+ * until I can figure out how to hold off removing the DOM nodes with the
391
+ * cdkPortalOutlet. When we update to Angular 9 I may be able to do this better
392
+ * with the new DomPortal.
393
+ *
394
+ * Directive version of a PortalOutlet. Because the directive *is* a
395
+ * PortalOutlet, portals can be directly attached to it, enabling declarative
396
+ * use.
397
+ *
398
+ * Usage: `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
399
+ */
400
+ class DashboardWidgetPortalOutletDirective extends BasePortalOutlet {
401
+ constructor(_componentFactoryResolver, _viewContainerRef, _elementRef) {
402
+ super();
403
+ this._componentFactoryResolver = _componentFactoryResolver;
404
+ this._viewContainerRef = _viewContainerRef;
405
+ this._elementRef = _elementRef;
406
+ /** Whether the portal component is initialized. */
407
+ this._isInitialized = false;
408
+ /** Emits when a portal is attached to the outlet. */
409
+ this.attached = new EventEmitter();
410
+ }
411
+ /** Portal associated with the Portal outlet. */
412
+ get portal() {
413
+ return this._attachedPortal;
414
+ }
415
+ set portal(portal) {
416
+ // console.log('[DashboardWidgetPortalOutletDirective] set portal', portal, this.hasAttached())
417
+ // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have
418
+ // run. This handles the cases where the user might do something like `<div cdkPortalOutlet>`
419
+ // and attach a portal programmatically in the parent component. When Angular does the first CD
420
+ // round, it will fire the setter with empty string, causing the user's content to be cleared.
421
+ if (this.hasAttached() && !portal && !this._isInitialized) {
422
+ return;
423
+ }
424
+ if (this.hasAttached()) {
425
+ super.detach();
426
+ }
427
+ if (portal) {
428
+ super.attach(portal);
429
+ }
430
+ this._attachedPortal = portal;
431
+ }
432
+ /** Component or view reference that is attached to the portal. */
433
+ get attachedRef() {
434
+ return this._attachedRef;
435
+ }
436
+ ngOnInit() {
437
+ this._isInitialized = true;
438
+ }
439
+ ngOnDestroy() {
440
+ // console.log('[DashboardWidgetPortalOutletDirective] ngOnDestroy')
441
+ // TODO: Figure out the right way to call dispose without messing up
442
+ // animation. This setTimeout way assumes the transition is 500ms, but that
443
+ // may not always be the case and isn't guaranteed to match the animation ms
444
+ // duration, since setTimeout isn't really meant for accurate timing. It
445
+ // also makes debugging animations difficult, because you can pause an
446
+ // animation, but the timeout will still run.
447
+ setTimeout(() => {
448
+ super.dispose();
449
+ this._attachedPortal = null;
450
+ this._attachedRef = null;
451
+ }, 500);
452
+ }
453
+ /**
454
+ * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.
455
+ *
456
+ * @param portal Portal to be attached to the portal outlet.
457
+ * @returns Reference to the created component.
458
+ */
459
+ attachComponentPortal(portal) {
460
+ portal.setAttachedHost(this);
461
+ // If the portal specifies an origin, use that as the logical location of the component
462
+ // in the application tree. Otherwise use the location of this PortalOutlet.
463
+ const viewContainerRef = portal.viewContainerRef != null ?
464
+ portal.viewContainerRef :
465
+ this._viewContainerRef;
466
+ const resolver = portal.componentFactoryResolver || this._componentFactoryResolver;
467
+ const componentFactory = resolver.resolveComponentFactory(portal.component);
468
+ const ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector);
469
+ super.setDisposeFn(() => ref.destroy());
470
+ this._attachedPortal = portal;
471
+ this._attachedRef = ref;
472
+ this.attached.emit(ref);
473
+ return ref;
474
+ }
475
+ /**
476
+ * Attach the given TemplatePortal to this PortlHost as an embedded View.
477
+ * @param portal Portal to be attached.
478
+ * @returns Reference to the created embedded view.
479
+ */
480
+ attachTemplatePortal(portal) {
481
+ portal.setAttachedHost(this);
482
+ const viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context);
483
+ super.setDisposeFn(() => this._viewContainerRef.clear());
484
+ this._attachedPortal = portal;
485
+ this._attachedRef = viewRef;
486
+ this.attached.emit(viewRef);
487
+ return viewRef;
488
+ }
489
+ }
490
+ 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 });
491
+ 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 });
492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DashboardWidgetPortalOutletDirective, decorators: [{
493
+ type: Directive,
494
+ args: [{
495
+ selector: '[seamDashboardWidgetPortalOutlet]',
496
+ exportAs: 'seamDashboardWidgetPortalOutlet',
497
+ inputs: ['portal: seamDashboardWidgetPortalOutlet']
498
+ }]
499
+ }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }]; }, propDecorators: { attached: [{
500
+ type: Output
501
+ }] } });
502
+
503
+ const THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR = new InjectionToken('ITheSeamDashboardWidgetsPreferencesAccessor');
504
+
505
+ // TODO: This needs a unit test to make sure it will not cause a race condition
506
+ // if update is called faster than the previous can respond.
507
+ //
508
+ // The ideal approach I am thinking, without steping through the process too
509
+ // thoroughly is to hold the new data emit until all pending updates are done.
510
+ // Any pending updates other than the most recently requested will be ignored
511
+ // and just wait on the most recent, and if already running it should be
512
+ // canceled if possible. Also, incase something happens that causes the new data
513
+ // emissions to get held up too long, there could be a threshold time that the
514
+ // new data can be held up.
515
+ /**
516
+ * Manages anything dealing with retrieving and updating dashboard widget
517
+ * preference data from the provided accessor.
518
+ */
519
+ class DashboardWidgetsPreferencesService {
520
+ // private _pending = false
521
+ // public get pending() { return this._pending }
522
+ constructor(_prefsAccessor) {
523
+ this._prefsAccessor = _prefsAccessor;
524
+ this._tablePrefsMap = new Map();
525
+ }
526
+ preferences(preferenceKey) {
527
+ let prefs = this._tablePrefsMap.get(preferenceKey);
528
+ if (!prefs) {
529
+ const refreshSubject = new Subject();
530
+ prefs = {
531
+ observable: this._createObservable(refreshSubject, preferenceKey),
532
+ refresh: refreshSubject
533
+ };
534
+ this._tablePrefsMap.set(preferenceKey, prefs);
535
+ }
536
+ return prefs.observable;
537
+ }
538
+ _createObservable(refreshSubject, prefKey) {
539
+ if (!this._prefsAccessor) {
540
+ return of({});
541
+ }
542
+ const accessor = (key) => this._prefsAccessor ? this._prefsAccessor.get(key) : of('{}');
543
+ return refreshSubject.pipe(startWith({}),
544
+ // tap(() => console.log('Start requesting: ', prefKey)),
545
+ switchMap(() => accessor(prefKey).pipe(map(v => {
546
+ if (!v) {
547
+ return null;
548
+ }
549
+ // TODO: Add a schema validator and migration tool to avoid parsing issues.
550
+ try {
551
+ return JSON.parse(v);
552
+ }
553
+ catch (error) {
554
+ if (isDevMode()) {
555
+ console.error(error);
556
+ }
557
+ return null;
558
+ }
559
+ }), map(v => !!v ? v : {}))), shareReplay({ bufferSize: 1, refCount: true }));
560
+ }
561
+ refresh(preferenceKey) {
562
+ const prefs = this._tablePrefsMap.get(preferenceKey);
563
+ if (prefs) {
564
+ // this._pending = true
565
+ // prefs.refresh.next()
566
+ return prefs.observable.pipe(
567
+ // tap(() => prefs.refresh.next()),
568
+ tap(() => setTimeout(() => { prefs.refresh.next(); }, 0)), mapTo(undefined), take(1));
569
+ }
570
+ return of(undefined);
571
+ }
572
+ selectLayout(preferenceKey, layoutName) {
573
+ return this.preferences(preferenceKey).pipe(map(prefs => (prefs.layouts || []).find(l => l.name === layoutName)));
574
+ }
575
+ // TODO: Improve this updating to not be more generic, so we can quickly add
576
+ // edits for different preference schema's.
577
+ //
578
+ // TODO: Decide if a send queue/merging of pending queue is needed to avoid
579
+ // out of order updates. This shouldn't be an issue, with how fast preferences
580
+ // will most likely be changing, but it could happen in situations, such as
581
+ // network issues.
582
+ updateLayout(preferenceKey, layout) {
583
+ if (!this._prefsAccessor) {
584
+ return of(undefined);
585
+ }
586
+ if (!hasProperty(layout, 'name')) {
587
+ throw Error(`Unable to save layout preference. 'name' is required for a layout preference.`);
588
+ }
589
+ const _layout = this.toSerializeableLayout(layout);
590
+ // this._pending = true
591
+ return this.preferences(preferenceKey).pipe(map(prefs => {
592
+ // Making the preferences immutable may not be necessary, but for now
593
+ // this obj->str->obj will work as a naive clone.
594
+ const layouts = JSON.parse(JSON.stringify(prefs.layouts || []));
595
+ const _layoutPref = layouts.find((c) => c.name === _layout.name);
596
+ // console.log('has', _layoutPref)
597
+ if (_layoutPref) {
598
+ if (hasProperty(_layout, 'name')) {
599
+ _layoutPref.name = _layout.name;
600
+ }
601
+ if (hasProperty(_layout, 'label')) {
602
+ _layoutPref.label = _layout.label;
603
+ }
604
+ if (hasProperty(_layout, 'items')) {
605
+ _layoutPref.items = _layout.items;
606
+ }
607
+ }
608
+ else {
609
+ layouts.push({ ..._layout });
610
+ }
611
+ const newPrefs = { ...prefs, layouts };
612
+ return newPrefs;
613
+ }),
614
+ // tap(v => console.log('newPrefs', v)),
615
+ take(1), switchMap(newPrefs => this._prefsAccessor
616
+ ? this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
617
+ : of(newPrefs)), switchMap(() => this.refresh(preferenceKey).pipe(mapTo(undefined))));
618
+ // .subscribe()
619
+ }
620
+ toSerializeableLayout(layout) {
621
+ const serialized = {
622
+ name: layout.name,
623
+ label: layout.label,
624
+ items: this.toSerializeableItems(layout.items) || []
625
+ };
626
+ return serialized;
627
+ }
628
+ // public toDeserializedLayout(layout: IDashboardWidgetItemLayoutSerialized): IDashboardWidgetItemLayoutDef {
629
+ // // For now there is nothing to do. Eventually this should have at least
630
+ // // validation on the deserialized object.
631
+ // return layout
632
+ // }
633
+ /**
634
+ * Returns the serializable widget items as objects that can be serialized to
635
+ * a JSON string for storage.
636
+ */
637
+ toSerializeableItems(widgets) {
638
+ const serialized = [];
639
+ for (const w of widgets) {
640
+ // if (!w.__itemDef.component || typeof w.__itemDef.component !== 'string') {
641
+ // console.warn(`[DashboardWidgetsService] Widget item def must have a string 'component' property to be serialized.`, w)
642
+ // continue
643
+ // }
644
+ // serialized.push({
645
+ // widgetId: w.widgetId,
646
+ // col: w.col,
647
+ // order: w.order,
648
+ // component: w.__itemDef.component
649
+ // })
650
+ // TODO: Remove this, it is only here for initial dev debugging.
651
+ serialized.push({
652
+ widgetId: w.widgetId,
653
+ col: w.col,
654
+ order: w.order,
655
+ // component: w.__itemDef.component as string
656
+ });
657
+ }
658
+ return serialized;
659
+ }
660
+ }
661
+ 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 });
662
+ DashboardWidgetsPreferencesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DashboardWidgetsPreferencesService, providedIn: 'root' });
663
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DashboardWidgetsPreferencesService, decorators: [{
664
+ type: Injectable,
665
+ args: [{
666
+ providedIn: 'root'
667
+ }]
668
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
669
+ type: Optional
670
+ }, {
671
+ type: Inject,
672
+ args: [THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR]
673
+ }] }]; } });
674
+
675
+ class DashboardWidgetsService {
676
+ constructor(_dynamicComponentLoaderModule, _preferences) {
677
+ this._dynamicComponentLoaderModule = _dynamicComponentLoaderModule;
678
+ this._preferences = _preferences;
679
+ this.preferenceKey = 'datatable-widgets';
680
+ this.defaultNumColumns = 3;
681
+ /** Used for operations, such as 'addWidget', if the column is not specified. */
682
+ this.defaultColumn = 0;
683
+ this._widgets = new BehaviorSubject([]);
684
+ this._numColumns = new BehaviorSubject(this.defaultNumColumns);
685
+ this._viewContainerRefSubject = new BehaviorSubject(undefined);
686
+ this.numColumns$ = this._numColumns.asObservable();
687
+ // Widget items without preferences
688
+ const _widgetItems$ = combineLatest([this._widgets, this._viewContainerRefSubject])
689
+ .pipe(switchMap(([defs, vcr]) => this.createWidgetItems(defs, vcr)));
690
+ // Widget items with preferences
691
+ this.widgetItems$ = combineLatest([_widgetItems$, this.numColumns$])
692
+ .pipe(
693
+ // Wait until the current tick is done, incase both the widgets and
694
+ // number of columns are set durring the same tick. Without the audit,
695
+ // this would get called twice when the component is initialized with
696
+ // both inputs set one after the other individually.
697
+ 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 }));
698
+ this.widgetColumns$ = this.widgetItems$
699
+ .pipe(map(items => this.toColumnRecords(items)), shareReplay({ bufferSize: 1, refCount: true }));
700
+ }
701
+ get widgets() { return this._widgets.value; }
702
+ set widgets(value) { this._widgets.next(value); }
703
+ get numColumns() { return this._numColumns.value; }
704
+ set numColumns(value) {
705
+ if (value !== this._numColumns.value) {
706
+ this._numColumns.next(value);
707
+ }
708
+ }
709
+ _layoutName(numColumns) {
710
+ return `columns-${numColumns}`;
711
+ }
712
+ setViewContainerRef(vcr) {
713
+ this._viewContainerRefSubject.next(vcr);
714
+ }
715
+ createWidgetItems(defs, vcr) {
716
+ const _createObservables = (defs || []).map(d => this.createWidgetItem(d, vcr));
717
+ const items$ = _createObservables.length > 0 ? combineLatest(_createObservables) : of([]);
718
+ return items$.pipe(map(items => items.filter(notNullOrUndefined)), tap(items => {
719
+ if (isDevMode()) {
720
+ const ids = items.map(v => v.widgetId);
721
+ if ((new Set(ids)).size !== ids.length) {
722
+ console.warn(`[DashboardWidgetsService] Duplicate widget's with the same 'widgetId' found.`);
723
+ }
724
+ }
725
+ }));
726
+ }
727
+ createWidgetItem(def, vcr) {
728
+ if (!def.widgetId || typeof def.widgetId !== 'string' || def.widgetId.length < 1) {
729
+ if (isDevMode()) {
730
+ console.warn(`[DashboardWidgetsService] Widget ignored. All widgets must have a 'widgetId'.`, def);
731
+ }
732
+ return of(undefined);
733
+ }
734
+ return this.createWidgetPortal(def, vcr).pipe(map(portal => ({
735
+ ...def,
736
+ col: def.col || this.defaultColumn,
737
+ order: def.order || 0,
738
+ portal,
739
+ __itemDef: def
740
+ })));
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({
808
+ ...item,
809
+ ...(itemPref || {})
810
+ });
811
+ }
812
+ return _items;
813
+ }
814
+ savePreferences() {
815
+ // Right now the items are moved between the column record arrays, but the
816
+ // 'col' prop is not updated, so it is mapped to corrected items here from
817
+ // the column records.
818
+ const items$ = this.widgetColumns$.pipe(map(columns => []
819
+ .concat(...(columns.map(c => c.items.map(itm => ({ ...itm, col: c.column })))))));
820
+ return combineLatest([items$, this.numColumns$]).pipe(auditTime(0), take(1), switchMap(([items, numColumns]) => {
821
+ return this._preferences.updateLayout(this.preferenceKey, {
822
+ name: this._layoutName(numColumns),
823
+ items
824
+ });
825
+ }), mapTo(undefined));
826
+ }
827
+ }
828
+ 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 });
829
+ DashboardWidgetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DashboardWidgetsService, providedIn: 'root' });
830
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DashboardWidgetsService, decorators: [{
831
+ type: Injectable,
832
+ args: [{
833
+ providedIn: 'root'
834
+ }]
835
+ }], ctorParameters: function () { return [{ type: i1$1.TheSeamDynamicComponentLoader }, { type: DashboardWidgetsPreferencesService }]; } });
836
+
837
+ class DashboardWidgetsComponent {
838
+ constructor(_dashboardWidgets, _viewContainerRef, _cdr, _baseLayoutRef) {
839
+ this._dashboardWidgets = _dashboardWidgets;
840
+ this._viewContainerRef = _viewContainerRef;
841
+ this._cdr = _cdr;
842
+ this._baseLayoutRef = _baseLayoutRef;
843
+ this.faLock = faLock;
844
+ this.faUnlock = faUnlock;
845
+ this._actionWidgetDragToggleName = 'widget-drag-toggle';
846
+ this._ngUnsubscribe = new Subject();
847
+ this._gapSize = new BehaviorSubject(30);
848
+ this.widgetsDraggable = false;
849
+ this._dragToggleVisible = new BehaviorSubject(true);
850
+ this._containers = new BehaviorSubject([]);
851
+ this._layoutChange = new Subject();
852
+ this.widgetsChange = new EventEmitter();
853
+ this._widthChange = new Subject();
854
+ this.containers$ = this._containers.asObservable();
855
+ this._gapStyleSize$ = this._gapSize.pipe(auditTime(0), map(size => size / 2), shareReplay({ bufferSize: 1, refCount: true }));
856
+ this._widthChange.pipe(debounceTime(30), tap(width => {
857
+ if (width > 1300) {
858
+ this.numColumns = 3;
859
+ }
860
+ else if (width > 800) {
861
+ this.numColumns = 2;
862
+ }
863
+ else {
864
+ this.numColumns = 1;
865
+ }
866
+ }), takeUntil(this._ngUnsubscribe)).subscribe();
867
+ this.widgetItems$ = this._dashboardWidgets.widgetItems$;
868
+ this.widgetColumns$ = this._dashboardWidgets.widgetColumns$;
869
+ }
870
+ get gapSize() { return this._gapSize.value; }
871
+ set gapSize(val) {
872
+ this._gapSize.next(coerceNumberProperty(val));
873
+ }
874
+ get dragToggleVisible() { return this._dragToggleVisible.value; }
875
+ set dragToggleVisible(val) {
876
+ this._dragToggleVisible.next(coerceBooleanProperty(val));
877
+ }
878
+ get numColumns() { return this._dashboardWidgets.numColumns; }
879
+ set numColumns(val) {
880
+ this._dashboardWidgets.numColumns = coerceNumberProperty(val);
881
+ }
882
+ set widgets(value) { this._dashboardWidgets.widgets = value || []; }
883
+ get widgets() { return this._dashboardWidgets.widgets; }
884
+ ngOnInit() {
885
+ // this._dashboardWidgets.setViewContainerRef(this._viewContainerRef)
886
+ this._layoutChange.pipe(switchMap(() => this.widgetItems$.pipe(take(1), tap(widgetItems => this.widgetsChange.emit(widgetItems)),
887
+ // map(widgetItems => this._dashboardWidgets.toSerializeableItems(widgetItems)),
888
+ // tap(v => console.log('serializable', v)),
889
+ switchMap(() => this._dashboardWidgets.savePreferences()))), takeUntil(this._ngUnsubscribe)).subscribe();
890
+ }
891
+ ngOnDestroy() {
892
+ this._unregisterToggleAction();
893
+ this._ngUnsubscribe.next(undefined);
894
+ this._ngUnsubscribe.complete();
895
+ }
896
+ ngAfterViewInit() {
897
+ if (this._baseLayoutRef) {
898
+ this._dragToggleVisible.pipe(distinctUntilChanged(), tap(visible => {
899
+ const isRegistered = this._isActionToggleActionRegistered();
900
+ if (visible && !isRegistered) {
901
+ this._registerToggleAction();
902
+ }
903
+ else if (!visible && isRegistered) {
904
+ this._unregisterToggleAction();
905
+ }
906
+ }), takeUntil(this._ngUnsubscribe)).subscribe();
907
+ }
908
+ this.containers?.changes.pipe(startWith(undefined), map(() => this.containers?.toArray() || []), takeUntil(this._ngUnsubscribe), finalize(() => this._containers.next([]))).subscribe(v => this._containers.next(v));
909
+ }
910
+ _registerToggleAction() {
911
+ if (this._baseLayoutRef) {
912
+ // This should probably use a component dynamically created from the
913
+ // config and return a ref to it, instead of using a template.
914
+ if (this._toggleBtnTpl) {
915
+ this._baseLayoutRef.registerAction({
916
+ // type: 'button',
917
+ type: 'template',
918
+ name: this._actionWidgetDragToggleName,
919
+ label: 'Toggle Widget Dragging',
920
+ // exec: () => {
921
+ // console.log('toggle')
922
+ // },
923
+ template: this._toggleBtnTpl
924
+ });
925
+ }
926
+ }
927
+ }
928
+ _unregisterToggleAction() {
929
+ if (this._baseLayoutRef) {
930
+ this._baseLayoutRef.unregisterAction(this._actionWidgetDragToggleName);
931
+ }
932
+ }
933
+ _isActionToggleActionRegistered() {
934
+ if (!this._baseLayoutRef) {
935
+ return false;
936
+ }
937
+ return this._baseLayoutRef.isActionRegistered(this._actionWidgetDragToggleName);
938
+ }
939
+ drop(event) {
940
+ if (event.previousContainer === event.container) {
941
+ moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
942
+ this._dashboardWidgets.updateOrder().subscribe(() => this._layoutChange.next());
943
+ }
944
+ else {
945
+ transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);
946
+ this._dashboardWidgets.updateOrder().subscribe(() => this._layoutChange.next());
947
+ }
948
+ }
949
+ _containerTrackByFn(index, item) {
950
+ return item.widgetId;
951
+ }
952
+ _columnsTrackByFn(index, record) {
953
+ return record.column;
954
+ }
955
+ toggleDragging() {
956
+ this.widgetsDraggable = !this.widgetsDraggable;
957
+ this._cdr.detectChanges();
958
+ }
959
+ _resized(event) {
960
+ this._widthChange.next(event.size.width);
961
+ }
962
+ }
963
+ 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 });
964
+ 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: [
965
+ {
966
+ provide: THESEAM_WIDGET_ACCESSOR,
967
+ // tslint:disable-next-line:no-use-before-declare
968
+ useExisting: forwardRef(() => DashboardWidgetsComponent)
969
+ },
970
+ {
971
+ provide: THESEAM_DASHBOARD_WIDGETS_ACCESSOR,
972
+ // tslint:disable-next-line:no-use-before-declare
973
+ useExisting: forwardRef(() => DashboardWidgetsComponent)
974
+ },
975
+ ], 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 });
976
+ __decorate([
977
+ InputBoolean()
978
+ ], DashboardWidgetsComponent.prototype, "widgetsDraggable", void 0);
979
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DashboardWidgetsComponent, decorators: [{
980
+ type: Component,
981
+ args: [{ selector: 'seam-dashboard-widgets', providers: [
982
+ {
983
+ provide: THESEAM_WIDGET_ACCESSOR,
984
+ // tslint:disable-next-line:no-use-before-declare
985
+ useExisting: forwardRef(() => DashboardWidgetsComponent)
986
+ },
987
+ {
988
+ provide: THESEAM_DASHBOARD_WIDGETS_ACCESSOR,
989
+ // tslint:disable-next-line:no-use-before-declare
990
+ useExisting: forwardRef(() => DashboardWidgetsComponent)
991
+ },
992
+ ], 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"] }]
993
+ }], ctorParameters: function () { return [{ type: DashboardWidgetsService }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
994
+ type: Optional
995
+ }, {
996
+ type: Inject,
997
+ args: [THESEAM_BASE_LAYOUT_REF]
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 = {
1132
+ ...value,
1133
+ placement: value.placement || 'auto',
1134
+ disabled: typeof value?.disabled === 'boolean'
1135
+ ? value.disabled
1136
+ : typeof value.tooltip === 'string' ? false : true
1137
+ };
1138
+ }
1139
+ }
1140
+ else {
1141
+ this._badgeTooltip = undefined;
1142
+ }
1143
+ }
1144
+ get _isActiveCssClass() { return this.active; }
1145
+ get _attrDataHierLevel() { return this.hierLevel; }
1146
+ ngOnDestroy() {
1147
+ this._ngUnsubscribe.next(undefined);
1148
+ this._ngUnsubscribe.complete();
1149
+ }
1150
+ get hasChildren() {
1151
+ return Array.isArray(this.children) && this.children.length > 0;
1152
+ }
1153
+ toggleChildren() {
1154
+ this.expanded = !this.expanded;
1155
+ }
1156
+ _linkClicked() {
1157
+ // Close nav when link is clicked while in overlay state
1158
+ if (this._sideNav.overlay) {
1159
+ this._sideNav.collapse();
1160
+ }
1161
+ }
1162
+ }
1163
+ 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 });
1164
+ 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: [
1165
+ trigger('childGroupAnim', [
1166
+ state(EXPANDED_STATE$1, style({ height: '*' })),
1167
+ state(COLLAPSED_STATE$1, style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
1168
+ transition(`${EXPANDED_STATE$1} <=> ${COLLAPSED_STATE$1}`, animate('0.2s ease-in-out')),
1169
+ ]),
1170
+ trigger('compactAnim', [
1171
+ // transition('* <=> *', [
1172
+ // query(':enter', [
1173
+ // style({ opacity: '0' }),
1174
+ // animate('5.2s ease-in-out', style({ opacity: '1' }))
1175
+ // ], { optional: true }),
1176
+ // query(':leave', [
1177
+ // style({ opacity: '1' }),
1178
+ // animate('5.2s ease-in-out', style({ opacity: '0' }))
1179
+ // ], { optional: true })
1180
+ // ])
1181
+ // state(FULL_STATE, style({ opacity: '1' })),
1182
+ // state(COMPACT_STATE, style({ opacity: '0' })),
1183
+ // transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, animate('5.2s ease-in-out')),
1184
+ // transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, [
1185
+ // transition('* <=> *', [
1186
+ // query(':leave', [
1187
+ // style({ opacity: '1' }),
1188
+ // animate('5.2s ease-in-out', style({ opacity: '0' }))
1189
+ // ], { optional: true })
1190
+ // ]),
1191
+ ])
1192
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1193
+ __decorate([
1194
+ InputBoolean()
1195
+ ], SideNavItemComponent.prototype, "active", void 0);
1196
+ __decorate([
1197
+ InputNumber(0)
1198
+ ], SideNavItemComponent.prototype, "hierLevel", void 0);
1199
+ __decorate([
1200
+ InputNumber(10)
1201
+ ], SideNavItemComponent.prototype, "indentSize", void 0);
1202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SideNavItemComponent, decorators: [{
1203
+ type: Component,
1204
+ args: [{ selector: 'seam-side-nav-item', exportAs: 'seamSideNavItem', animations: [
1205
+ trigger('childGroupAnim', [
1206
+ state(EXPANDED_STATE$1, style({ height: '*' })),
1207
+ state(COLLAPSED_STATE$1, style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
1208
+ transition(`${EXPANDED_STATE$1} <=> ${COLLAPSED_STATE$1}`, animate('0.2s ease-in-out')),
1209
+ ]),
1210
+ trigger('compactAnim', [
1211
+ // transition('* <=> *', [
1212
+ // query(':enter', [
1213
+ // style({ opacity: '0' }),
1214
+ // animate('5.2s ease-in-out', style({ opacity: '1' }))
1215
+ // ], { optional: true }),
1216
+ // query(':leave', [
1217
+ // style({ opacity: '1' }),
1218
+ // animate('5.2s ease-in-out', style({ opacity: '0' }))
1219
+ // ], { optional: true })
1220
+ // ])
1221
+ // state(FULL_STATE, style({ opacity: '1' })),
1222
+ // state(COMPACT_STATE, style({ opacity: '0' })),
1223
+ // transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, animate('5.2s ease-in-out')),
1224
+ // transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, [
1225
+ // transition('* <=> *', [
1226
+ // query(':leave', [
1227
+ // style({ opacity: '1' }),
1228
+ // animate('5.2s ease-in-out', style({ opacity: '0' }))
1229
+ // ], { optional: true })
1230
+ // ]),
1231
+ ])
1232
+ ], 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"] }]
1233
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1234
+ type: Inject,
1235
+ args: [THESEAM_SIDE_NAV_ACCESSOR]
1236
+ }] }, { type: SideNavItemComponent, decorators: [{
1237
+ type: Optional
1238
+ }, {
1239
+ type: SkipSelf
1240
+ }, {
1241
+ type: Host
1242
+ }] }]; }, propDecorators: { itemType: [{
1243
+ type: Input
1244
+ }], icon: [{
1245
+ type: Input
1246
+ }], label: [{
1247
+ type: Input
1248
+ }], active: [{
1249
+ type: Input
1250
+ }], link: [{
1251
+ type: Input
1252
+ }], queryParams: [{
1253
+ type: Input
1254
+ }], children: [{
1255
+ type: Input
1256
+ }], hierLevel: [{
1257
+ type: Input
1258
+ }], indentSize: [{
1259
+ type: Input
1260
+ }], expanded: [{
1261
+ type: Input
1262
+ }], compact: [{
1263
+ type: Input
1264
+ }], badgeText: [{
1265
+ type: Input
1266
+ }], badgeTheme: [{
1267
+ type: Input
1268
+ }], badgeSrContent: [{
1269
+ type: Input
1270
+ }], badgeTooltip: [{
1271
+ type: Input
1272
+ }], _isActiveCssClass: [{
1273
+ type: HostBinding,
1274
+ args: ['class.seam-side-nav-item--active']
1275
+ }], _attrDataHierLevel: [{
1276
+ type: HostBinding,
1277
+ args: ['attr.data-hier-level']
1278
+ }] } });
1279
+
1280
+ class SideNavToggleComponent {
1281
+ constructor() {
1282
+ this.faBars = faBars;
1283
+ this.expanded = false;
1284
+ this.toggleExpand = new EventEmitter();
1285
+ }
1286
+ ngOnInit() { }
1287
+ toggle() {
1288
+ this.toggleExpand.emit();
1289
+ }
1290
+ }
1291
+ SideNavToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SideNavToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1292
+ 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 });
1293
+ __decorate([
1294
+ InputBoolean()
1295
+ ], SideNavToggleComponent.prototype, "expanded", void 0);
1296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SideNavToggleComponent, decorators: [{
1297
+ type: Component,
1298
+ args: [{ selector: 'seam-side-nav-toggle', host: {
1299
+ '[class.side-nav-toggle--compact]': '!expanded'
1300
+ }, 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"] }]
1301
+ }], ctorParameters: function () { return []; }, propDecorators: { expanded: [{
1302
+ type: Input
1303
+ }], toggleExpand: [{
1304
+ type: Output
1305
+ }] } });
1306
+
1307
+ function isNavItemType(item, type) {
1308
+ return item.itemType === type;
1309
+ }
1310
+ function isNavItemActive(item) {
1311
+ return item.__state?.active ?? false;
1312
+ }
1313
+ function isExpanded(item) {
1314
+ return item.__state?.expanded ?? 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 {
1529
+ ...defaultMatchOpts,
1530
+ ...item.matchOptions
1531
+ };
1532
+ }
1533
+ return defaultMatchOpts;
1534
+ }
1535
+ setItemStateProp(item, prop, value) {
1536
+ const currentValue = getItemStateProp(item, prop);
1537
+ if (currentValue !== value) {
1538
+ setItemStateProp(item, prop, value);
1539
+ const changed = {
1540
+ item,
1541
+ prop,
1542
+ prevValue: currentValue,
1543
+ newValue: value
1544
+ };
1545
+ this.itemChanged.next(changed);
1546
+ }
1547
+ }
1548
+ }
1549
+ 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 });
1550
+ TheSeamSideNavService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSideNavService });
1551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSideNavService, decorators: [{
1552
+ type: Injectable
1553
+ }], ctorParameters: function () { return [{ type: i1$2.Router }]; } });
1554
+
1555
+ const EXPANDED_STATE = 'expanded';
1556
+ const COLLAPSED_STATE = 'collapsed';
1557
+ const EXPANDED_OVERLAY_STATE = 'expanded-overlay';
1558
+ const COLLAPSED_OVERLAY_STATE = 'collapsed-overlay';
1559
+ const EXPANDED_STATES = [EXPANDED_STATE, EXPANDED_OVERLAY_STATE];
1560
+ const COLLAPSED_STATES = [COLLAPSED_STATE, COLLAPSED_OVERLAY_STATE];
1561
+ const EXPAND_STATES = [...EXPANDED_STATES, ...COLLAPSED_STATES];
1562
+ function sideNavExpandStateChangeFn(fromState, toState) {
1563
+ // console.log({ fromState, toState })
1564
+ return fromState !== toState &&
1565
+ (
1566
+ // NOTE: The current way the side nav is being used it causes the
1567
+ // component to sometimes get placed in the wrong location initially. It
1568
+ // is fast enough to not be noticed without an initial animation usually,
1569
+ // so it is commented out below until the initial placement issue it
1570
+ // fixed.
1571
+ //
1572
+ // (
1573
+ // fromState === 'void' && EXPAND_STATES.indexOf(toState) !== -1
1574
+ // ||
1575
+ // toState === 'void' && EXPAND_STATES.indexOf(fromState) !== -1
1576
+ // )
1577
+ // ||
1578
+ ((EXPANDED_STATES.indexOf(fromState) !== -1 && COLLAPSED_STATES.indexOf(toState) !== -1)
1579
+ ||
1580
+ (EXPANDED_STATES.indexOf(toState) !== -1 && COLLAPSED_STATES.indexOf(fromState) !== -1)));
1581
+ }
1582
+ class SideNavComponent {
1583
+ constructor(_viewContainerRef, _layout, _sideNav, _baseLayoutRef) {
1584
+ this._viewContainerRef = _viewContainerRef;
1585
+ this._layout = _layout;
1586
+ this._sideNav = _sideNav;
1587
+ this._baseLayoutRef = _baseLayoutRef;
1588
+ this._ngUnsubscribe = new Subject();
1589
+ // @HostBinding('@sideNavExpand') _sideNavExpand = EXPANDED_STATE
1590
+ // _sideNavExpand = EXPANDED_STATE
1591
+ // @HostBinding('@sideNavAnim') _sideNavExpand = EXPANDED_STATE
1592
+ this._sideNavExpand = 'initial';
1593
+ this.hasHeaderToggle = true;
1594
+ this._items = new BehaviorSubject([]);
1595
+ this._expanded = new BehaviorSubject(true);
1596
+ this.expanded$ = this._expanded.asObservable();
1597
+ this._overlay = new BehaviorSubject(false);
1598
+ this.overlay$ = this._overlay.asObservable();
1599
+ this.toggleExpand = new EventEmitter();
1600
+ this._backdropHidden = new BehaviorSubject(true);
1601
+ this.items$ = this._items.asObservable().pipe(switchMap(items => this._sideNav.createItemsObservable(items)), shareReplay({ bufferSize: 1, refCount: true }));
1602
+ this.isMobile$ = this._layout.isMobile$.pipe(tap(isMobile => isMobile ? this.collapse() : this.expand()));
1603
+ this.sideNavExpandedState$ = combineLatest([this.expanded$, this.overlay$]).pipe(map(([expanded, overlay]) => expanded
1604
+ ? overlay ? EXPANDED_OVERLAY_STATE : EXPANDED_STATE
1605
+ : overlay ? COLLAPSED_OVERLAY_STATE : COLLAPSED_STATE), distinctUntilChanged());
1606
+ }
1607
+ get items() { return this._items.value; }
1608
+ set items(value) { this._items.next(value); }
1609
+ get expanded() { return this._expanded.value; }
1610
+ set expanded(value) {
1611
+ const expanded = coerceBooleanProperty(value);
1612
+ const emit = expanded !== this.expanded;
1613
+ this._expanded.next(expanded);
1614
+ if (emit) {
1615
+ this.toggleExpand.emit(coerceBooleanProperty(value));
1616
+ }
1617
+ }
1618
+ get overlay() { return this._overlay.value; }
1619
+ set overlay(value) { this._overlay.next(coerceBooleanProperty(value)); }
1620
+ ngOnInit() {
1621
+ if (this._baseLayoutRef) {
1622
+ this._baseLayoutRef.registerNav(this);
1623
+ }
1624
+ this.isMobile$
1625
+ .pipe(takeUntil(this._ngUnsubscribe))
1626
+ .subscribe(b => this.overlay = b);
1627
+ this.sideNavExpandedState$
1628
+ .pipe(takeUntil(this._ngUnsubscribe))
1629
+ .subscribe(v => this._sideNavExpand = v);
1630
+ if (this._sideBarFooterTpl) {
1631
+ this._sideBarFooterPortal = new TemplatePortal(this._sideBarFooterTpl, this._viewContainerRef);
1632
+ }
1633
+ }
1634
+ ngOnDestroy() {
1635
+ this._ngUnsubscribe.next(undefined);
1636
+ this._ngUnsubscribe.complete();
1637
+ if (this._baseLayoutRef) {
1638
+ this._baseLayoutRef.unregisterNav(this);
1639
+ }
1640
+ }
1641
+ expand() {
1642
+ this.expanded = true;
1643
+ }
1644
+ collapse() {
1645
+ this.expanded = false;
1646
+ }
1647
+ toggle() {
1648
+ this.expanded = !this.expanded;
1649
+ }
1650
+ animateStart() {
1651
+ if (this.expanded) {
1652
+ this._backdropHidden.next(false);
1653
+ }
1654
+ }
1655
+ animateEnd() {
1656
+ if (!this.expanded) {
1657
+ this._backdropHidden.next(true);
1658
+ }
1659
+ }
1660
+ }
1661
+ 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 });
1662
+ 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: [
1663
+ TheSeamSideNavService,
1664
+ {
1665
+ provide: THESEAM_SIDE_NAV_ACCESSOR,
1666
+ // tslint:disable-next-line:no-use-before-declare
1667
+ useExisting: forwardRef(() => SideNavComponent)
1668
+ },
1669
+ ], 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: [
1670
+ //
1671
+ // TODO: This animation code turned into a mess. Clean it up and make it
1672
+ // more smooth.
1673
+ //
1674
+ trigger('sideNavAnim', [
1675
+ transition(sideNavExpandStateChangeFn, [
1676
+ group([
1677
+ query('@sideNavBackdrop', animateChild(), { optional: true }),
1678
+ query('@sideNavExpand', animateChild(), { optional: true }),
1679
+ ]),
1680
+ ]),
1681
+ ]),
1682
+ trigger('sideNavBackdrop', [
1683
+ state(EXPANDED_OVERLAY_STATE, style({ opacity: '1' })),
1684
+ state(COLLAPSED_OVERLAY_STATE, style({ opacity: '0' })),
1685
+ // transition((fromState, toState, element, params) => {
1686
+ // console.log('sideNavBackdrop v', fromState, toState, element, params)
1687
+ // return false
1688
+ // }, []),
1689
+ transition(sideNavExpandStateChangeFn, animate('0.2s ease-in-out')),
1690
+ ]),
1691
+ trigger('sideNavExpand', [
1692
+ // TODO: Make width configurable.
1693
+ state(EXPANDED_STATE, style({ width: '260px' })),
1694
+ state(COLLAPSED_STATE, style({ width: '50px', 'overflow-x': 'hidden' })),
1695
+ state(EXPANDED_OVERLAY_STATE, style({
1696
+ position: 'absolute',
1697
+ top: 0,
1698
+ height: '100%',
1699
+ bottom: 0,
1700
+ left: 0,
1701
+ float: 'left',
1702
+ zIndex: '9999',
1703
+ width: 'calc(100vw - 50px)',
1704
+ transform: 'translateX(0)'
1705
+ })),
1706
+ state(COLLAPSED_OVERLAY_STATE, style({
1707
+ position: 'absolute',
1708
+ top: 0,
1709
+ height: '100%',
1710
+ bottom: 0,
1711
+ left: 0,
1712
+ float: 'left',
1713
+ zIndex: '9999',
1714
+ width: 'calc(100vw - 50px)',
1715
+ transform: 'translateX(calc(-100vw + 50px))',
1716
+ 'overflow-x': 'hidden'
1717
+ })),
1718
+ // transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
1719
+ transition(sideNavExpandStateChangeFn, animate('0.2s ease-in-out')),
1720
+ // transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, [
1721
+ // // query(':leave', animateChild(), { optional: true }),
1722
+ // // query(':enter', animateChild(), { optional: true }),
1723
+ // group([
1724
+ // query(':leave', animateChild(), { optional: true }),
1725
+ // query(':enter', animateChild(), { optional: true }),
1726
+ // query('@compactAnim', animateChild(), { optional: true }),
1727
+ // animate('5.2s ease-in-out')
1728
+ // ])
1729
+ // ]),
1730
+ ])
1731
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1732
+ __decorate([
1733
+ InputBoolean()
1734
+ ], SideNavComponent.prototype, "hasHeaderToggle", void 0);
1735
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SideNavComponent, decorators: [{
1736
+ type: Component,
1737
+ args: [{ selector: 'seam-side-nav', providers: [
1738
+ TheSeamSideNavService,
1739
+ {
1740
+ provide: THESEAM_SIDE_NAV_ACCESSOR,
1741
+ // tslint:disable-next-line:no-use-before-declare
1742
+ useExisting: forwardRef(() => SideNavComponent)
1743
+ },
1744
+ ], animations: [
1745
+ //
1746
+ // TODO: This animation code turned into a mess. Clean it up and make it
1747
+ // more smooth.
1748
+ //
1749
+ trigger('sideNavAnim', [
1750
+ transition(sideNavExpandStateChangeFn, [
1751
+ group([
1752
+ query('@sideNavBackdrop', animateChild(), { optional: true }),
1753
+ query('@sideNavExpand', animateChild(), { optional: true }),
1754
+ ]),
1755
+ ]),
1756
+ ]),
1757
+ trigger('sideNavBackdrop', [
1758
+ state(EXPANDED_OVERLAY_STATE, style({ opacity: '1' })),
1759
+ state(COLLAPSED_OVERLAY_STATE, style({ opacity: '0' })),
1760
+ // transition((fromState, toState, element, params) => {
1761
+ // console.log('sideNavBackdrop v', fromState, toState, element, params)
1762
+ // return false
1763
+ // }, []),
1764
+ transition(sideNavExpandStateChangeFn, animate('0.2s ease-in-out')),
1765
+ ]),
1766
+ trigger('sideNavExpand', [
1767
+ // TODO: Make width configurable.
1768
+ state(EXPANDED_STATE, style({ width: '260px' })),
1769
+ state(COLLAPSED_STATE, style({ width: '50px', 'overflow-x': 'hidden' })),
1770
+ state(EXPANDED_OVERLAY_STATE, style({
1771
+ position: 'absolute',
1772
+ top: 0,
1773
+ height: '100%',
1774
+ bottom: 0,
1775
+ left: 0,
1776
+ float: 'left',
1777
+ zIndex: '9999',
1778
+ width: 'calc(100vw - 50px)',
1779
+ transform: 'translateX(0)'
1780
+ })),
1781
+ state(COLLAPSED_OVERLAY_STATE, style({
1782
+ position: 'absolute',
1783
+ top: 0,
1784
+ height: '100%',
1785
+ bottom: 0,
1786
+ left: 0,
1787
+ float: 'left',
1788
+ zIndex: '9999',
1789
+ width: 'calc(100vw - 50px)',
1790
+ transform: 'translateX(calc(-100vw + 50px))',
1791
+ 'overflow-x': 'hidden'
1792
+ })),
1793
+ // transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
1794
+ transition(sideNavExpandStateChangeFn, animate('0.2s ease-in-out')),
1795
+ // transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, [
1796
+ // // query(':leave', animateChild(), { optional: true }),
1797
+ // // query(':enter', animateChild(), { optional: true }),
1798
+ // group([
1799
+ // query(':leave', animateChild(), { optional: true }),
1800
+ // query(':enter', animateChild(), { optional: true }),
1801
+ // query('@compactAnim', animateChild(), { optional: true }),
1802
+ // animate('5.2s ease-in-out')
1803
+ // ])
1804
+ // ]),
1805
+ ])
1806
+ ], 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"] }]
1807
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i1.TheSeamLayoutService }, { type: TheSeamSideNavService }, { type: undefined, decorators: [{
1808
+ type: Optional
1809
+ }, {
1810
+ type: Inject,
1811
+ args: [THESEAM_BASE_LAYOUT_REF]
1812
+ }] }]; }, propDecorators: { _sideNavExpand: [{
1813
+ type: HostBinding,
1814
+ args: ['@sideNavAnim']
1815
+ }], hasHeaderToggle: [{
1816
+ type: Input
1817
+ }], items: [{
1818
+ type: Input
1819
+ }], expanded: [{
1820
+ type: Input
1821
+ }], overlay: [{
1822
+ type: Input
1823
+ }], toggleExpand: [{
1824
+ type: Output
1825
+ }], _sideBarFooterTpl: [{
1826
+ type: ContentChild,
1827
+ args: [BaseLayoutSideBarFooterDirective, { static: true, read: TemplateRef }]
1828
+ }] } });
1829
+
1830
+ class TheSeamSideNavModule {
1831
+ }
1832
+ TheSeamSideNavModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSideNavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1833
+ TheSeamSideNavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSideNavModule, declarations: [SideNavItemComponent,
1834
+ SideNavComponent,
1835
+ SideNavToggleComponent], imports: [CommonModule,
1836
+ RouterModule,
1837
+ TheSeamIconModule,
1838
+ A11yModule,
1839
+ TheSeamScrollbarModule,
1840
+ TheSeamLayoutModule,
1841
+ NgbTooltipModule,
1842
+ PortalModule], exports: [SideNavItemComponent,
1843
+ SideNavComponent,
1844
+ SideNavToggleComponent] });
1845
+ TheSeamSideNavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSideNavModule, imports: [CommonModule,
1846
+ RouterModule,
1847
+ TheSeamIconModule,
1848
+ A11yModule,
1849
+ TheSeamScrollbarModule,
1850
+ TheSeamLayoutModule,
1851
+ NgbTooltipModule,
1852
+ PortalModule] });
1853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSideNavModule, decorators: [{
1854
+ type: NgModule,
1855
+ args: [{
1856
+ declarations: [
1857
+ SideNavItemComponent,
1858
+ SideNavComponent,
1859
+ SideNavToggleComponent
1860
+ ],
1861
+ imports: [
1862
+ CommonModule,
1863
+ RouterModule,
1864
+ TheSeamIconModule,
1865
+ A11yModule,
1866
+ TheSeamScrollbarModule,
1867
+ TheSeamLayoutModule,
1868
+ NgbTooltipModule,
1869
+ PortalModule
1870
+ ],
1871
+ exports: [
1872
+ SideNavItemComponent,
1873
+ SideNavComponent,
1874
+ SideNavToggleComponent
1875
+ ]
1876
+ }]
1877
+ }] });
1878
+
1879
+ class TopBarMenuButtonBase {
1880
+ }
1881
+ const _TopBarMenuButtonMixinBase = mixinDisabled(TopBarMenuButtonBase);
1882
+ class TopBarMenuButtonComponent extends _TopBarMenuButtonMixinBase {
1883
+ constructor() {
1884
+ super(...arguments);
1885
+ this.faAngleDown = faAngleDown;
1886
+ this.compact = false;
1887
+ }
1888
+ get _hasCompactClass() { return this.compact; }
1889
+ get _hasPadding0Class() { return this.compact; }
1890
+ get _hasRoundedClass() { return this.compact; }
1891
+ get _hasBtnLinkClass() { return !this.compact; }
1892
+ ngOnInit() { }
1893
+ ngOnDestroy() { }
1894
+ }
1895
+ TopBarMenuButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TopBarMenuButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1896
+ 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 });
1897
+ __decorate([
1898
+ InputBoolean()
1899
+ ], TopBarMenuButtonComponent.prototype, "compact", void 0);
1900
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TopBarMenuButtonComponent, decorators: [{
1901
+ type: Component,
1902
+ args: [{ selector: 'button[seamTopBarMenuButton]', encapsulation: ViewEncapsulation.None, exportAs: 'seamButton', inputs: ['disabled'], host: {
1903
+ 'attr.type': 'button',
1904
+ 'class': 'btn border text-decoration-none py-0',
1905
+ '[attr.aria-disabled]': 'disabled.toString()',
1906
+ '[attr.disabled]': 'disabled || null',
1907
+ }, 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"] }]
1908
+ }], propDecorators: { detailTpl: [{
1909
+ type: Input
1910
+ }], compact: [{
1911
+ type: Input
1912
+ }], profileIcon: [{
1913
+ type: Input
1914
+ }], _hasCompactClass: [{
1915
+ type: HostBinding,
1916
+ args: ['class.top-bar-menu-button--compact']
1917
+ }], _hasPadding0Class: [{
1918
+ type: HostBinding,
1919
+ args: ['class.p-0']
1920
+ }], _hasRoundedClass: [{
1921
+ type: HostBinding,
1922
+ args: ['class.rounded']
1923
+ }], _hasBtnLinkClass: [{
1924
+ type: HostBinding,
1925
+ args: ['class.btn-link']
1926
+ }] } });
1927
+
1928
+ class TopBarTitleComponent {
1929
+ constructor() { }
1930
+ ngOnInit() { }
1931
+ }
1932
+ TopBarTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TopBarTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1933
+ 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 });
1934
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TopBarTitleComponent, decorators: [{
1935
+ type: Component,
1936
+ 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"] }]
1937
+ }], ctorParameters: function () { return []; }, propDecorators: { titleText: [{
1938
+ type: Input
1939
+ }], subTitleText: [{
1940
+ type: Input
1941
+ }] } });
1942
+
1943
+ class TopBarItemDirective {
1944
+ constructor(template) {
1945
+ this.template = template;
1946
+ }
1947
+ }
1948
+ TopBarItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TopBarItemDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
1949
+ TopBarItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: TopBarItemDirective, selector: "[seamTopBarItem]", ngImport: i0 });
1950
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TopBarItemDirective, decorators: [{
1951
+ type: Directive,
1952
+ args: [{
1953
+ selector: '[seamTopBarItem]'
1954
+ }]
1955
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
1956
+
1957
+ class TopBarMenuBtnDetailDirective {
1958
+ constructor(template) {
1959
+ this.template = template;
1960
+ }
1961
+ }
1962
+ TopBarMenuBtnDetailDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TopBarMenuBtnDetailDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
1963
+ TopBarMenuBtnDetailDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: TopBarMenuBtnDetailDirective, selector: "[seamTopBarMenuBtnDetail]", ngImport: i0 });
1964
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TopBarMenuBtnDetailDirective, decorators: [{
1965
+ type: Directive,
1966
+ args: [{
1967
+ selector: '[seamTopBarMenuBtnDetail]'
1968
+ }]
1969
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
1970
+
1971
+ class TopBarMenuDirective {
1972
+ constructor(menu) {
1973
+ this.menu = menu;
1974
+ }
1975
+ }
1976
+ 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 });
1977
+ TopBarMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: TopBarMenuDirective, selector: "seam-menu[seamTopBarMenu]", ngImport: i0 });
1978
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TopBarMenuDirective, decorators: [{
1979
+ type: Directive,
1980
+ args: [{
1981
+ selector: 'seam-menu[seamTopBarMenu]'
1982
+ }]
1983
+ }], ctorParameters: function () { return [{ type: i3$2.MenuComponent, decorators: [{
1984
+ type: Self
1985
+ }] }]; } });
1986
+
1987
+ /**
1988
+ * Top bar of an app.
1989
+ *
1990
+ * The top bar is fairly opinionated, so most parts are not intended to be
1991
+ * customized unless there is an input.
1992
+ *
1993
+ * > If you have to make a change and apply it externally with a css class or js
1994
+ * > make sure there is an issue to get the feature changed, so we don't have
1995
+ * > different modifications across our apps. Also, this will help make sure
1996
+ * > your change should have even been done.
1997
+ */
1998
+ class TheSeamTopBarComponent {
1999
+ constructor(_layout) {
2000
+ this._layout = _layout;
2001
+ /** @ignore */
2002
+ this._ngUnsubscribe = new Subject();
2003
+ /** @ignore */
2004
+ this.faBars = faBars;
2005
+ /** Link target used when `logoHref` is specified. Defaults to `"_blank"` */
2006
+ this.logoHrefTarget = '_blank';
2007
+ /** Route to link to when `logo` is clicked. Defaults to `/`. */
2008
+ this.logoRoute = '/';
2009
+ /** Determines if the title should be displayed. */
2010
+ this.hasTitle = false;
2011
+ /** Icon to display on mobile to activate profile dropdown. Defaults to faUserCircle. */
2012
+ this.profileIcon = faUserCircle;
2013
+ this.isMobile$ = this._layout.isMobile$;
2014
+ }
2015
+ /** @ignore */
2016
+ ngOnInit() { }
2017
+ /** @ignore */
2018
+ ngOnDestroy() {
2019
+ this._ngUnsubscribe.next(undefined);
2020
+ this._ngUnsubscribe.complete();
2021
+ }
2022
+ /** @ignore */
2023
+ ngAfterContentInit() {
2024
+ if (this._topBarItems) {
2025
+ this._items$ = this._topBarItems.changes.pipe(startWith(undefined), takeUntil(this._ngUnsubscribe), map(() => this._topBarItems?.toArray() || []), shareReplay({ bufferSize: 1, refCount: true }));
2026
+ }
2027
+ }
2028
+ }
2029
+ TheSeamTopBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamTopBarComponent, deps: [{ token: i1.TheSeamLayoutService }], target: i0.ɵɵFactoryTarget.Component });
2030
+ 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 });
2031
+ __decorate([
2032
+ InputBoolean()
2033
+ ], TheSeamTopBarComponent.prototype, "hasTitle", void 0);
2034
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamTopBarComponent, decorators: [{
2035
+ type: Component,
2036
+ 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"] }]
2037
+ }], ctorParameters: function () { return [{ type: i1.TheSeamLayoutService }]; }, propDecorators: { _topBarMenu: [{
2038
+ type: ContentChild,
2039
+ args: [TopBarMenuDirective, { static: true }]
2040
+ }], _topBarItems: [{
2041
+ type: ContentChildren,
2042
+ args: [TopBarItemDirective]
2043
+ }], _topBarMenuBtnDetailTpl: [{
2044
+ type: ContentChild,
2045
+ args: [TopBarMenuBtnDetailDirective]
2046
+ }], logo: [{
2047
+ type: Input
2048
+ }], logoSm: [{
2049
+ type: Input
2050
+ }], logoHref: [{
2051
+ type: Input
2052
+ }], logoHrefTarget: [{
2053
+ type: Input
2054
+ }], logoRoute: [{
2055
+ type: Input
2056
+ }], hasTitle: [{
2057
+ type: Input
2058
+ }], titleText: [{
2059
+ type: Input
2060
+ }], subTitleText: [{
2061
+ type: Input
2062
+ }], profileIcon: [{
2063
+ type: Input
2064
+ }] } });
2065
+
2066
+ class TheSeamTopBarModule {
2067
+ }
2068
+ TheSeamTopBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamTopBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2069
+ TheSeamTopBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TheSeamTopBarModule, declarations: [TheSeamTopBarComponent,
2070
+ TopBarTitleComponent,
2071
+ TopBarMenuButtonComponent,
2072
+ TopBarMenuDirective,
2073
+ TopBarItemDirective,
2074
+ TopBarMenuBtnDetailDirective], imports: [CommonModule,
2075
+ TheSeamLayoutModule,
2076
+ TheSeamButtonsModule,
2077
+ TheSeamIconModule,
2078
+ TheSeamMenuModule,
2079
+ TheSeamBaseLayoutModule,
2080
+ RouterModule], exports: [TheSeamTopBarComponent,
2081
+ TopBarMenuButtonComponent,
2082
+ TopBarMenuDirective,
2083
+ TheSeamMenuModule,
2084
+ TopBarItemDirective,
2085
+ TopBarMenuBtnDetailDirective] });
2086
+ TheSeamTopBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamTopBarModule, imports: [CommonModule,
2087
+ TheSeamLayoutModule,
2088
+ TheSeamButtonsModule,
2089
+ TheSeamIconModule,
2090
+ TheSeamMenuModule,
2091
+ TheSeamBaseLayoutModule,
2092
+ RouterModule, TheSeamMenuModule] });
2093
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamTopBarModule, decorators: [{
2094
+ type: NgModule,
2095
+ args: [{
2096
+ declarations: [
2097
+ TheSeamTopBarComponent,
2098
+ TopBarTitleComponent,
2099
+ TopBarMenuButtonComponent,
2100
+ TopBarMenuDirective,
2101
+ TopBarItemDirective,
2102
+ TopBarMenuBtnDetailDirective
2103
+ ],
2104
+ imports: [
2105
+ CommonModule,
2106
+ TheSeamLayoutModule,
2107
+ TheSeamButtonsModule,
2108
+ TheSeamIconModule,
2109
+ TheSeamMenuModule,
2110
+ TheSeamBaseLayoutModule,
2111
+ RouterModule
2112
+ ],
2113
+ exports: [
2114
+ TheSeamTopBarComponent,
2115
+ TopBarMenuButtonComponent,
2116
+ TopBarMenuDirective,
2117
+ TheSeamMenuModule,
2118
+ TopBarItemDirective,
2119
+ TopBarMenuBtnDetailDirective
2120
+ ]
2121
+ }]
2122
+ }] });
2123
+
2124
+ const fader = trigger('routeAnimations', [
2125
+ transition('* <=> *', [
2126
+ // Set a default style for enter and leave
2127
+ query(':enter, :leave', [
2128
+ style({
2129
+ position: 'absolute',
2130
+ left: 0,
2131
+ width: '100%',
2132
+ opacity: 0,
2133
+ transform: 'scale(0) translateY(100%)',
2134
+ }),
2135
+ ], { optional: true }),
2136
+ // Animate the new page in
2137
+ query(':enter', [
2138
+ animate('600ms ease', style({ opacity: 1, transform: 'scale(1) translateY(0)' })),
2139
+ ], { optional: true })
2140
+ ]),
2141
+ ]);
2142
+ // function slideTo(direction) {
2143
+ // return [
2144
+ // query(':enter, :leave', [
2145
+ // style({
2146
+ // position: 'absolute',
2147
+ // top: 0,
2148
+ // [direction]: 0,
2149
+ // width: '100%'
2150
+ // })
2151
+ // ], { optional: true }),
2152
+ // query(':enter', [
2153
+ // style({ [direction]: '-100%'})
2154
+ // ], { optional: true }),
2155
+ // group([
2156
+ // query(':leave', [
2157
+ // animate('1000ms ease', style({ [direction]: '100%'}))
2158
+ // ], { optional: true }),
2159
+ // query(':enter', [
2160
+ // animate('1000ms ease', style({ [direction]: '0%'}))
2161
+ // ], { optional: true })
2162
+ // ]),
2163
+ // // Normalize the page style... Might not be necessary
2164
+ // // Required only if you have child animations on the page
2165
+ // query(':leave', animateChild(), { optional: true }),
2166
+ // query(':enter', animateChild(), { optional: true }),
2167
+ // ]
2168
+ // }
2169
+ // TODO: Refactor the slider animation, because AOT or ng-packagr, I haven't
2170
+ // looked into what exactly is preventing it, doesn't allow the function call.
2171
+ // export const slider =
2172
+ // trigger('routeAnimations', [
2173
+ // transition('* => isLeft', slideTo('left') ),
2174
+ // transition('* => isRight', slideTo('right') ),
2175
+ // transition('isRight => *', slideTo('left') ),
2176
+ // transition('isLeft => *', slideTo('right') )
2177
+ // ])
2178
+ // export const contentLeave =
2179
+ // trigger('contentLeave', [
2180
+ // transition(':leave', [
2181
+ // ])
2182
+ // ])
2183
+ const slider = trigger('routeAnimations', [
2184
+ transition('* => isLeft', [
2185
+ query('.router-container :enter, .router-container :leave', [
2186
+ style({
2187
+ position: 'absolute',
2188
+ top: 0,
2189
+ left: 0,
2190
+ width: '100%'
2191
+ })
2192
+ ], { optional: true }),
2193
+ query('.router-container :enter', [
2194
+ style({ left: '-100%' })
2195
+ ], { optional: true }),
2196
+ query('.hierarchy-router-outlet--content', [
2197
+ style({ left: '0%', position: 'absolute' })
2198
+ ], { optional: true }),
2199
+ group([
2200
+ query('.router-container :leave', [
2201
+ animate('1000ms ease', style({ left: '100%' }))
2202
+ ], { optional: true }),
2203
+ query('.router-container :enter', [
2204
+ animate('1000ms ease', style({ left: '0%' }))
2205
+ ], { optional: true }),
2206
+ query('.hierarchy-router-outlet--content', [
2207
+ animate('1000ms ease', style({ left: '-100%' }))
2208
+ ], { optional: true }),
2209
+ ]),
2210
+ // Normalize the page style... Might not be necessary
2211
+ // Required only if you have child animations on the page
2212
+ query('.router-container :leave', animateChild(), { optional: true }),
2213
+ query('.router-container :enter', animateChild(), { optional: true }),
2214
+ ]),
2215
+ transition('* => isRight', [
2216
+ query('.router-container :enter, .router-container :leave', [
2217
+ style({
2218
+ position: 'absolute',
2219
+ top: 0,
2220
+ right: 0,
2221
+ width: '100%'
2222
+ })
2223
+ ], { optional: true }),
2224
+ query('.router-container :enter', [
2225
+ style({ right: '-100%' })
2226
+ ], { optional: true }),
2227
+ query('.hierarchy-router-outlet--content', [
2228
+ style({ left: '0%', position: 'absolute' })
2229
+ ], { optional: true }),
2230
+ group([
2231
+ query('.router-container :leave', [
2232
+ animate('1000ms ease', style({ right: '100%' }))
2233
+ ], { optional: true }),
2234
+ query('.router-container :enter', [
2235
+ animate('1000ms ease', style({ right: '0%' }))
2236
+ ], { optional: true }),
2237
+ query('.hierarchy-router-outlet--content', [
2238
+ animate('1000ms ease', style({ left: '-100%' }))
2239
+ ], { optional: true }),
2240
+ ]),
2241
+ // Normalize the page style... Might not be necessary
2242
+ // Required only if you have child animations on the page
2243
+ query('.router-container :leave', animateChild(), { optional: true }),
2244
+ query('.router-container :enter', animateChild(), { optional: true }),
2245
+ ]),
2246
+ transition('isRight => *', [
2247
+ query('.router-container :enter, .router-container :leave', [
2248
+ style({
2249
+ position: 'absolute',
2250
+ top: 0,
2251
+ left: 0,
2252
+ width: '100%'
2253
+ })
2254
+ ], { optional: true }),
2255
+ query('.router-container :enter', [
2256
+ style({ left: '-100%' })
2257
+ ], { optional: true }),
2258
+ query('.hierarchy-router-outlet--content', [
2259
+ style({ left: '0%', position: 'absolute' })
2260
+ ], { optional: true }),
2261
+ group([
2262
+ query('.router-container :leave', [
2263
+ animate('1000ms ease', style({ left: '100%' }))
2264
+ ], { optional: true }),
2265
+ query('.router-container :enter', [
2266
+ animate('1000ms ease', style({ left: '0%' }))
2267
+ ], { optional: true }),
2268
+ query('.hierarchy-router-outlet--content', [
2269
+ animate('1000ms ease', style({ left: '-100%' }))
2270
+ ], { optional: true }),
2271
+ ]),
2272
+ // Normalize the page style... Might not be necessary
2273
+ // Required only if you have child animations on the page
2274
+ query('.router-container :leave', animateChild(), { optional: true }),
2275
+ query('.router-container :enter', animateChild(), { optional: true }),
2276
+ ]),
2277
+ transition('isLeft => *', [
2278
+ query('.router-container :enter, .router-container :leave', [
2279
+ style({
2280
+ position: 'absolute',
2281
+ top: 0,
2282
+ right: 0,
2283
+ width: '100%'
2284
+ })
2285
+ ], { optional: true }),
2286
+ query('.router-container :enter', [
2287
+ style({ right: '-100%' })
2288
+ ], { optional: true }),
2289
+ group([
2290
+ query('.router-container :leave', [
2291
+ animate('1000ms ease', style({ right: '100%' }))
2292
+ ], { optional: true }),
2293
+ query('.router-container :enter', [
2294
+ animate('1000ms ease', style({ right: '0%' }))
2295
+ ], { optional: true })
2296
+ ]),
2297
+ // Normalize the page style... Might not be necessary
2298
+ // Required only if you have child animations on the page
2299
+ query('.router-container :leave', animateChild(), { optional: true }),
2300
+ query('.router-container :enter', animateChild(), { optional: true }),
2301
+ ])
2302
+ ]);
2303
+ const transformer = trigger('routeAnimations', [
2304
+ transition('* => isLeft', transformTo({ x: -100, y: -100, rotate: -720 })),
2305
+ transition('* => isRight', transformTo({ x: 100, y: -100, rotate: 90 })),
2306
+ transition('isRight => *', transformTo({ x: -100, y: -100, rotate: 360 })),
2307
+ transition('isLeft => *', transformTo({ x: 100, y: -100, rotate: -360 }))
2308
+ ]);
2309
+ function transformTo({ x = 100, y = 0, rotate = 0 }) {
2310
+ const optional = { optional: true };
2311
+ return [
2312
+ query(':enter, :leave', [
2313
+ style({
2314
+ position: 'absolute',
2315
+ top: 0,
2316
+ left: 0,
2317
+ width: '100%'
2318
+ })
2319
+ ], optional),
2320
+ query(':enter', [
2321
+ style({ transform: `translate(${x}%, ${y}%) rotate(${rotate}deg)` })
2322
+ ], { optional: true }),
2323
+ group([
2324
+ query(':leave', [
2325
+ animate('600ms ease-out', style({ transform: `translate(${x}%, ${y}%) rotate(${rotate}deg)` }))
2326
+ ], optional),
2327
+ query(':enter', [
2328
+ animate('600ms ease-out', style({ transform: `translate(0, 0) rotate(0)` }))
2329
+ ], { optional: true })
2330
+ ]),
2331
+ ];
2332
+ }
2333
+ const stepper = trigger('routeAnimations', [
2334
+ transition('* <=> *', [
2335
+ query(':enter, :leave', [
2336
+ style({
2337
+ position: 'absolute',
2338
+ left: 0,
2339
+ width: '100%',
2340
+ }),
2341
+ ], { optional: true }),
2342
+ group([
2343
+ query(':enter', [
2344
+ animate('2000ms ease', keyframes([
2345
+ style({ transform: 'scale(0) translateX(100%)', offset: 0 }),
2346
+ style({ transform: 'scale(0.5) translateX(25%)', offset: 0.3 }),
2347
+ style({ transform: 'scale(1) translateX(0%)', offset: 1 }),
2348
+ ])),
2349
+ ], { optional: true }),
2350
+ query(':leave', [
2351
+ animate('2000ms ease', keyframes([
2352
+ style({ transform: 'scale(1)', offset: 0 }),
2353
+ style({ transform: 'scale(0.5) translateX(-25%) rotate(0)', offset: 0.35 }),
2354
+ style({ opacity: 0, transform: 'translateX(-50%) rotate(-180deg) scale(6)', offset: 1 }),
2355
+ ])),
2356
+ ], { optional: true })
2357
+ ]),
2358
+ ])
2359
+ ]);
2360
+ const sideToSide = trigger('routeAnimations', [
2361
+ transition('* => *', [
2362
+ style({
2363
+ position: 'fixed',
2364
+ width: '100%',
2365
+ transform: 'translateX(-100%)'
2366
+ }),
2367
+ animate('1000ms ease', style({ transform: 'translateX(0%)' }))
2368
+ ]),
2369
+ transition(':leave', [
2370
+ style({
2371
+ position: 'fixed',
2372
+ width: '100%',
2373
+ transform: 'translateX(0%)'
2374
+ }),
2375
+ animate('1000ms ease', style({ transform: 'translateX(-100%)' }))
2376
+ ])
2377
+ ]);
2378
+
2379
+ function routeChanges(router) {
2380
+ return router.events.pipe(filter(event => event instanceof NavigationStart || event instanceof NavigationEnd), distinctUntilChanged((x, y) => x.id === y.id), map(event => ({ url: event.url })));
2381
+ }
2382
+ //
2383
+ // TODO: Animation improvement: Try adding a full component animation that
2384
+ // queries the <ng-content> and <router-outlet> blocks. When the outlet
2385
+ // activates, set the animation state to a transition that moves both blocks
2386
+ // together.
2387
+ //
2388
+ let _uid = 0;
2389
+ class HierarchyRouterOutletComponent {
2390
+ constructor(_route, _router) {
2391
+ this._route = _route;
2392
+ this._router = _router;
2393
+ this._uid = _uid++;
2394
+ this._ngUnsubscribe = new Subject();
2395
+ this.animState = 'isRight';
2396
+ // animState = ''
2397
+ this.outletActive = false;
2398
+ this.ngContentVisible = true;
2399
+ this._router.events.pipe(filter(event => event instanceof NavigationEnd),
2400
+ // tap(v => console.log(`_hasChildren()[${this._uid}]`, this._hasChildren())),
2401
+ takeUntil(this._ngUnsubscribe))
2402
+ .subscribe();
2403
+ // routeChanges(this._router)
2404
+ // .pipe(
2405
+ // untilDestroyed(this),
2406
+ // tap(() => {
2407
+ // // if (this._hasChildren()) {
2408
+ // // this.animState = 'isLeft'
2409
+ // // } else {
2410
+ // // this.animState = 'isRight'
2411
+ // // }
2412
+ // })
2413
+ // )
2414
+ // .subscribe(v => console.log(`routeChanges[${this._uid}]`, v))
2415
+ }
2416
+ ngOnInit() { }
2417
+ ngOnDestroy() {
2418
+ this._ngUnsubscribe.next(undefined);
2419
+ this._ngUnsubscribe.complete();
2420
+ }
2421
+ _hasChildren() {
2422
+ const count = this._route.pathFromRoot.length - 1;
2423
+ let countFull = 0;
2424
+ if (this._router.parseUrl(this._router.url).root.children.primary) {
2425
+ countFull = this._router.parseUrl(this._router.url).root.children.primary.segments.length;
2426
+ }
2427
+ // console.log(`_hasChildren[${this._uid}]`, { count, countFull })
2428
+ return countFull > count;
2429
+ }
2430
+ prepareRoute(outlet) {
2431
+ // console.log(`outlet[${this._uid}]`, outlet, this.animState, this._hasChildren(), this.outletActive)
2432
+ if (outlet.isActivated) {
2433
+ // console.log(outlet.isActivated)
2434
+ // console.log(outlet.component)
2435
+ console.log(this.animState);
2436
+ return this.animState;
2437
+ }
2438
+ else {
2439
+ return undefined;
2440
+ }
2441
+ // console.log(`prepareRoute[${this._uid}]`, this.animState, this._hasChildren())
2442
+ // console.log('activatedRouteData', outlet && outlet.activatedRouteData)
2443
+ // if (outlet && outlet.isActivated) {
2444
+ // console.log('activatedRoute', outlet.activatedRoute && outlet.activatedRoute.snapshot.url)
2445
+ // }
2446
+ // return outlet && outlet.activatedRouteData && outlet.activatedRouteData['animation']
2447
+ // console.log('')
2448
+ // return this.animState
2449
+ }
2450
+ outletActivate(event) {
2451
+ // console.log(`outletActivate[${this._uid}]`, event)
2452
+ this.outletActive = true;
2453
+ }
2454
+ outletDeactivate(event) {
2455
+ // console.log(`outletDeactivate[${this._uid}]`, event)
2456
+ this.outletActive = false;
2457
+ }
2458
+ routeAnimationsStart(event) {
2459
+ // console.log('routeAnimationsStart', event)
2460
+ this.ngContentVisible = true;
2461
+ }
2462
+ routeAnimationsDone(event) {
2463
+ // console.log('routeAnimationsDone', event)
2464
+ this.ngContentVisible = !this.outletActive;
2465
+ }
2466
+ }
2467
+ 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 });
2468
+ 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: [
2469
+ // fader,
2470
+ slider,
2471
+ // transformer,
2472
+ // stepper,
2473
+ // sideToSide
2474
+ // contentLeave
2475
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HierarchyRouterOutletComponent, decorators: [{
2477
+ type: Component,
2478
+ args: [{ selector: 'seam-hierarchy-router-outlet', animations: [
2479
+ // fader,
2480
+ slider,
2481
+ // transformer,
2482
+ // stepper,
2483
+ // sideToSide
2484
+ // contentLeave
2485
+ ], 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"] }]
2486
+ }], ctorParameters: function () { return [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }]; } });
2487
+
2488
+ class HierarchyLevelResolver {
2489
+ constructor() { }
2490
+ resolve(route, state) {
2491
+ // console.log('[HierarchyLevelResolver]', route)
2492
+ // console.log('[HierarchyLevelResolver]', state)
2493
+ return this._getMaxHierLevel(route);
2494
+ }
2495
+ _getMaxHierLevel(route) {
2496
+ let curr = route;
2497
+ while (curr.parent) {
2498
+ curr = curr.parent;
2499
+ if (curr.data['hierLevel']) {
2500
+ return curr.data['hierLevel'] + 1;
2501
+ }
2502
+ }
2503
+ return 0;
2504
+ }
2505
+ }
2506
+ HierarchyLevelResolver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HierarchyLevelResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2507
+ HierarchyLevelResolver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HierarchyLevelResolver, providedIn: 'root' });
2508
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HierarchyLevelResolver, decorators: [{
2509
+ type: Injectable,
2510
+ args: [{ providedIn: 'root' }]
2511
+ }], ctorParameters: function () { return []; } });
2512
+
2513
+ class TheSeamDynamicRouterModule {
2514
+ }
2515
+ TheSeamDynamicRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamDynamicRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2516
+ TheSeamDynamicRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TheSeamDynamicRouterModule, declarations: [HierarchyRouterOutletComponent], imports: [CommonModule,
2517
+ RouterModule], exports: [HierarchyRouterOutletComponent] });
2518
+ TheSeamDynamicRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamDynamicRouterModule, imports: [CommonModule,
2519
+ RouterModule] });
2520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamDynamicRouterModule, decorators: [{
2521
+ type: NgModule,
2522
+ args: [{
2523
+ declarations: [
2524
+ HierarchyRouterOutletComponent
2525
+ ],
2526
+ imports: [
2527
+ CommonModule,
2528
+ RouterModule
2529
+ ],
2530
+ exports: [
2531
+ HierarchyRouterOutletComponent
2532
+ ]
2533
+ }]
2534
+ }] });
2535
+
2536
+ class TheSeamSchemaFormCheckboxComponent {
2537
+ constructor(jsf) {
2538
+ this.jsf = jsf;
2539
+ this.controlDisabled = false;
2540
+ this.boundControl = false;
2541
+ this.trueValue = true;
2542
+ this.falseValue = false;
2543
+ }
2544
+ ngOnInit() {
2545
+ this.options = this.layoutNode.options || {};
2546
+ this.jsf.initializeControl(this);
2547
+ if (this.controlValue === null || this.controlValue === undefined) {
2548
+ this.controlValue = this.options.title;
2549
+ }
2550
+ }
2551
+ updateValue(event) {
2552
+ event.preventDefault();
2553
+ this.jsf.updateValue(this, event.target.checked ? this.trueValue : this.falseValue);
2554
+ }
2555
+ get isChecked() {
2556
+ return this.jsf.getFormControlValue(this) === this.trueValue;
2557
+ }
2558
+ }
2559
+ 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 });
2560
+ 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"] }] });
2561
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormCheckboxComponent, decorators: [{
2562
+ type: Component,
2563
+ 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" }]
2564
+ }], ctorParameters: function () { return [{ type: i1$3.JsonSchemaFormService }]; }, propDecorators: { layoutNode: [{
2565
+ type: Input
2566
+ }], layoutIndex: [{
2567
+ type: Input
2568
+ }], dataIndex: [{
2569
+ type: Input
2570
+ }] } });
2571
+
2572
+ class TheSeamSchemaFormInputComponent {
2573
+ constructor(jsf) {
2574
+ this.jsf = jsf;
2575
+ this.controlDisabled = false;
2576
+ this.boundControl = false;
2577
+ this.autoCompleteList = [];
2578
+ }
2579
+ ngOnInit() {
2580
+ this.options = this.layoutNode.options || {};
2581
+ this.jsf.initializeControl(this);
2582
+ }
2583
+ updateValue(event) {
2584
+ this.jsf.updateValue(this, event.target.value);
2585
+ }
2586
+ }
2587
+ 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 });
2588
+ 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 });
2589
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormInputComponent, decorators: [{
2590
+ type: Component,
2591
+ 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"] }]
2592
+ }], ctorParameters: function () { return [{ type: i1$3.JsonSchemaFormService }]; }, propDecorators: { layoutNode: [{
2593
+ type: Input
2594
+ }], layoutIndex: [{
2595
+ type: Input
2596
+ }], dataIndex: [{
2597
+ type: Input
2598
+ }] } });
2599
+
2600
+ class TheSeamSchemaFormNumberComponent {
2601
+ constructor(jsf) {
2602
+ this.jsf = jsf;
2603
+ this.controlDisabled = false;
2604
+ this.boundControl = false;
2605
+ this.allowNegative = true;
2606
+ this.allowDecimal = true;
2607
+ this.allowExponents = false;
2608
+ this.lastValidNumber = '';
2609
+ }
2610
+ ngOnInit() {
2611
+ this.options = this.layoutNode.options || {};
2612
+ this.jsf.initializeControl(this);
2613
+ if (this.layoutNode.dataType === 'integer') {
2614
+ this.allowDecimal = false;
2615
+ }
2616
+ }
2617
+ updateValue(event) {
2618
+ this.jsf.updateValue(this, event.target.value);
2619
+ }
2620
+ }
2621
+ 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 });
2622
+ 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 });
2623
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormNumberComponent, decorators: [{
2624
+ type: Component,
2625
+ 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"] }]
2626
+ }], ctorParameters: function () { return [{ type: i1$3.JsonSchemaFormService }]; }, propDecorators: { layoutNode: [{
2627
+ type: Input
2628
+ }], layoutIndex: [{
2629
+ type: Input
2630
+ }], dataIndex: [{
2631
+ type: Input
2632
+ }] } });
2633
+
2634
+ class TheSeamSchemaFormSelectComponent {
2635
+ constructor(jsf) {
2636
+ this.jsf = jsf;
2637
+ this.controlDisabled = false;
2638
+ this.boundControl = false;
2639
+ this.selectList = [];
2640
+ this.isArray = isArray;
2641
+ }
2642
+ ngOnInit() {
2643
+ this.options = this.layoutNode.options || {};
2644
+ this.selectList = buildTitleMap(this.options.titleMap || this.options.enumNames, this.options.enum, !!this.options.required, !!this.options.flatList);
2645
+ this.jsf.initializeControl(this);
2646
+ }
2647
+ updateValue(event) {
2648
+ this.jsf.updateValue(this, event.value);
2649
+ }
2650
+ }
2651
+ 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 });
2652
+ 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 });
2653
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormSelectComponent, decorators: [{
2654
+ type: Component,
2655
+ 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"] }]
2656
+ }], ctorParameters: function () { return [{ type: i1$3.JsonSchemaFormService }]; }, propDecorators: { layoutNode: [{
2657
+ type: Input
2658
+ }], layoutIndex: [{
2659
+ type: Input
2660
+ }], dataIndex: [{
2661
+ type: Input
2662
+ }] } });
2663
+
2664
+ // NOTE: This component is a little hacky, because I am basically creating a
2665
+ // data widget that acts like a data and 'submit' widget at the same time.
2666
+ //
2667
+ // TODO: Try and think of a nicer way to implement this, but still make sense
2668
+ // from a schema definition. The library may need to me forked to actually
2669
+ // support this in the way I expect, but maybe there is another way.
2670
+ class TheSeamSchemaFormSubmitSplitComponent {
2671
+ constructor(jsf) {
2672
+ this.jsf = jsf;
2673
+ /** @ignore */
2674
+ this._ngUnsubscribe = new Subject();
2675
+ this.controlDisabled = false;
2676
+ this.boundControl = false;
2677
+ this._buttonLabel = '';
2678
+ this._dropdownDisabled = false;
2679
+ this._selectList = [];
2680
+ }
2681
+ /** @ignore */
2682
+ ngOnInit() {
2683
+ this.options = this.layoutNode.options || {};
2684
+ this.jsf.initializeControl(this);
2685
+ // NOTE: This is commented out, because there is a bug with submit widgets
2686
+ // manually defined in layout. All nodes initialized from the provided
2687
+ // layout have their options populated from the defaults and 'disabled' is
2688
+ // on of the default properties, so the 'disableInvalidSubmit' condition
2689
+ // never gets reached.
2690
+ //
2691
+ // My initial idea for fixing would be to check if the disabled property
2692
+ // exists and is a boolean, or possibly anything defined that can coerce
2693
+ // into a boolean. I can't think of a reason disabled should be anything
2694
+ // else, so that may be an acceptable fix, but I don't want to enable that
2695
+ // yet.
2696
+ //
2697
+ // if (hasOwn(this.options, 'disabled')) {
2698
+ // console.log('[TheSeamSchemaFormSubmitSplitComponent] hasDisabled', this.options.disabled)
2699
+ // this.controlDisabled = this.options.disabled
2700
+ // } else
2701
+ if (this.jsf.formOptions.disableInvalidSubmit) {
2702
+ this.controlDisabled = !this.jsf.isValid;
2703
+ this.jsf.isValidChanges.subscribe(isValid => this.controlDisabled = !isValid);
2704
+ }
2705
+ if (this.controlValue === null || this.controlValue === undefined) {
2706
+ this.controlValue = this.options.title;
2707
+ }
2708
+ if (hasOwn(this.options, 'title')) {
2709
+ this._buttonLabel = this.options.title;
2710
+ }
2711
+ this._initDropdown();
2712
+ // console.log('this', this)
2713
+ }
2714
+ /** @ignore */
2715
+ ngOnDestroy() {
2716
+ this._ngUnsubscribe.next(undefined);
2717
+ this._ngUnsubscribe.complete();
2718
+ }
2719
+ updateValue(event) {
2720
+ if (typeof this.options.onClick === 'function') {
2721
+ this.options.onClick(event);
2722
+ }
2723
+ else {
2724
+ this.jsf.updateValue(this, event.target.value);
2725
+ }
2726
+ }
2727
+ _initDropdown() {
2728
+ if (!hasOwn(this.layoutNode, 'items') || !(this.layoutNode.items || []).length) {
2729
+ return;
2730
+ }
2731
+ if (isDevMode()) {
2732
+ if (this.layoutNode.items.length > 1) {
2733
+ console.warn(`TheSeamSchemaFormSubmitSplitComponent only supports one item.` +
2734
+ ` items after index 0 will be ignored.`);
2735
+ }
2736
+ }
2737
+ const idx = 0;
2738
+ const item = this.layoutNode.items[idx];
2739
+ this._dropdownObj = {
2740
+ layoutNode: item,
2741
+ layoutIndex: (this.layoutIndex || []).concat(idx),
2742
+ dataIndex: this.layoutNode?.dataType === 'array' ? (this.dataIndex || []).concat(idx) : this.dataIndex,
2743
+ options: item.options || {}
2744
+ };
2745
+ this.jsf.initializeControl(this._dropdownObj);
2746
+ const items = buildTitleMap(this._dropdownObj.options.titleMap || this._dropdownObj.options.enumNames, this._dropdownObj.options.enum, !!this._dropdownObj.options.required, !!this._dropdownObj.options.flatList);
2747
+ this._selectList = items;
2748
+ // TODO: Should this be checking if the control is bound?
2749
+ const dropdownControl = this._getDropdownControl();
2750
+ if (!dropdownControl) {
2751
+ return;
2752
+ }
2753
+ observeControlValue(dropdownControl).pipe(takeUntil(this._ngUnsubscribe)).subscribe(value => {
2754
+ this._setSelectListCheckedProp(value);
2755
+ this._selectedItem = this._getSelectedItem();
2756
+ });
2757
+ observeControlStatus(dropdownControl).pipe(takeUntil(this._ngUnsubscribe)).subscribe(value => {
2758
+ this._dropdownDisabled = dropdownControl.disabled;
2759
+ });
2760
+ }
2761
+ _getDropdownControl() {
2762
+ return this._dropdownObj.formControl;
2763
+ }
2764
+ _setSelectListCheckedProp(value) {
2765
+ const items = this._selectList;
2766
+ for (const item of items) {
2767
+ if (item.value === value) {
2768
+ item.checked = true;
2769
+ }
2770
+ else if (item.checked) {
2771
+ item.checked = false;
2772
+ }
2773
+ }
2774
+ this._selectList = [...items];
2775
+ }
2776
+ _getSelectedItem() {
2777
+ return (this._selectList || []).find(x => x.checked === true);
2778
+ }
2779
+ _setDropdownValue(value) {
2780
+ const formControl = this._getDropdownControl();
2781
+ formControl?.setValue(value);
2782
+ }
2783
+ }
2784
+ 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 });
2785
+ 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"] }] });
2786
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormSubmitSplitComponent, decorators: [{
2787
+ type: Component,
2788
+ 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"] }]
2789
+ }], ctorParameters: function () { return [{ type: i1$3.JsonSchemaFormService }]; }, propDecorators: { layoutNode: [{
2790
+ type: Input
2791
+ }], layoutIndex: [{
2792
+ type: Input
2793
+ }], dataIndex: [{
2794
+ type: Input
2795
+ }] } });
2796
+
2797
+ class TheSeamSchemaFormFrameworkComponent {
2798
+ }
2799
+ TheSeamSchemaFormFrameworkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormFrameworkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2800
+ 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"] }] });
2801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormFrameworkComponent, decorators: [{
2802
+ type: Component,
2803
+ 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" }]
2804
+ }], propDecorators: { layoutNode: [{
2805
+ type: Input
2806
+ }], layoutIndex: [{
2807
+ type: Input
2808
+ }], dataIndex: [{
2809
+ type: Input
2810
+ }] } });
2811
+
2812
+ class TheSeamFramework extends Framework {
2813
+ constructor() {
2814
+ super(...arguments);
2815
+ this.name = 'seam-framework';
2816
+ this.framework = TheSeamSchemaFormFrameworkComponent;
2817
+ this.widgets = {
2818
+ 'checkbox': TheSeamSchemaFormCheckboxComponent,
2819
+ // 'submit': TheSeamSchemaFormSubmitComponent,
2820
+ 'submit': TheSeamSchemaFormSubmitSplitComponent,
2821
+ 'text': TheSeamSchemaFormInputComponent,
2822
+ 'number': TheSeamSchemaFormNumberComponent,
2823
+ 'select': TheSeamSchemaFormSelectComponent
2824
+ };
2825
+ }
2826
+ }
2827
+ TheSeamFramework.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamFramework, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
2828
+ TheSeamFramework.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamFramework });
2829
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamFramework, decorators: [{
2830
+ type: Injectable
2831
+ }] });
2832
+
2833
+ class TheSeamSchemaFormSubmitComponent {
2834
+ constructor(jsf) {
2835
+ this.jsf = jsf;
2836
+ this.controlDisabled = false;
2837
+ this.boundControl = false;
2838
+ }
2839
+ ngOnInit() {
2840
+ this.options = this.layoutNode.options || {};
2841
+ this.jsf.initializeControl(this);
2842
+ if (hasOwn(this.options, 'disabled')) {
2843
+ this.controlDisabled = this.options.disabled;
2844
+ }
2845
+ else if (this.jsf.formOptions.disableInvalidSubmit) {
2846
+ this.controlDisabled = !this.jsf.isValid;
2847
+ this.jsf.isValidChanges.subscribe(isValid => this.controlDisabled = !isValid);
2848
+ }
2849
+ if (this.controlValue === null || this.controlValue === undefined) {
2850
+ this.controlValue = this.options.title;
2851
+ }
2852
+ }
2853
+ updateValue(event) {
2854
+ if (typeof this.options.onClick === 'function') {
2855
+ this.options.onClick(event);
2856
+ }
2857
+ else {
2858
+ this.jsf.updateValue(this, event.target.value);
2859
+ }
2860
+ }
2861
+ }
2862
+ 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 });
2863
+ 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" });
2864
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormSubmitComponent, decorators: [{
2865
+ type: Component,
2866
+ 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" }]
2867
+ }], ctorParameters: function () { return [{ type: i1$3.JsonSchemaFormService }]; }, propDecorators: { layoutNode: [{
2868
+ type: Input
2869
+ }], layoutIndex: [{
2870
+ type: Input
2871
+ }], dataIndex: [{
2872
+ type: Input
2873
+ }] } });
2874
+
2875
+ const controls = [
2876
+ TheSeamSchemaFormCheckboxComponent,
2877
+ TheSeamSchemaFormSubmitComponent,
2878
+ TheSeamSchemaFormSelectComponent,
2879
+ TheSeamSchemaFormInputComponent,
2880
+ TheSeamSchemaFormNumberComponent,
2881
+ TheSeamSchemaFormSubmitSplitComponent
2882
+ ];
2883
+ class TheSeamSchemaFormControlsModule {
2884
+ }
2885
+ TheSeamSchemaFormControlsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormControlsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2886
+ TheSeamSchemaFormControlsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormControlsModule, declarations: [TheSeamSchemaFormCheckboxComponent,
2887
+ TheSeamSchemaFormSubmitComponent,
2888
+ TheSeamSchemaFormSelectComponent,
2889
+ TheSeamSchemaFormInputComponent,
2890
+ TheSeamSchemaFormNumberComponent,
2891
+ TheSeamSchemaFormSubmitSplitComponent], imports: [CommonModule,
2892
+ ReactiveFormsModule,
2893
+ JsonSchemaFormModule,
2894
+ TheSeamFormFieldModule,
2895
+ TheSeamCheckboxModule,
2896
+ TheSeamMenuModule,
2897
+ TheSeamButtonsModule,
2898
+ NgSelectModule], exports: [TheSeamSchemaFormCheckboxComponent,
2899
+ TheSeamSchemaFormSubmitComponent,
2900
+ TheSeamSchemaFormSelectComponent,
2901
+ TheSeamSchemaFormInputComponent,
2902
+ TheSeamSchemaFormNumberComponent,
2903
+ TheSeamSchemaFormSubmitSplitComponent, JsonSchemaFormModule] });
2904
+ TheSeamSchemaFormControlsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormControlsModule, imports: [CommonModule,
2905
+ ReactiveFormsModule,
2906
+ JsonSchemaFormModule,
2907
+ TheSeamFormFieldModule,
2908
+ TheSeamCheckboxModule,
2909
+ TheSeamMenuModule,
2910
+ TheSeamButtonsModule,
2911
+ NgSelectModule, JsonSchemaFormModule] });
2912
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormControlsModule, decorators: [{
2913
+ type: NgModule,
2914
+ args: [{
2915
+ declarations: [
2916
+ ...controls
2917
+ ],
2918
+ imports: [
2919
+ CommonModule,
2920
+ ReactiveFormsModule,
2921
+ JsonSchemaFormModule,
2922
+ TheSeamFormFieldModule,
2923
+ TheSeamCheckboxModule,
2924
+ TheSeamMenuModule,
2925
+ TheSeamButtonsModule,
2926
+ NgSelectModule
2927
+ ],
2928
+ exports: [
2929
+ ...controls,
2930
+ JsonSchemaFormModule
2931
+ ],
2932
+ entryComponents: [
2933
+ ...controls
2934
+ ]
2935
+ }]
2936
+ }] });
2937
+
2938
+ class TheSeamSchemaFormModule {
2939
+ }
2940
+ TheSeamSchemaFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2941
+ TheSeamSchemaFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormModule, declarations: [TheSeamSchemaFormFrameworkComponent], imports: [CommonModule,
2942
+ JsonSchemaFormModule,
2943
+ TheSeamSchemaFormControlsModule,
2944
+ WidgetLibraryModule], exports: [TheSeamSchemaFormFrameworkComponent,
2945
+ JsonSchemaFormModule] });
2946
+ TheSeamSchemaFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormModule, providers: [
2947
+ JsonSchemaFormService,
2948
+ FrameworkLibraryService,
2949
+ WidgetLibraryService,
2950
+ { provide: Framework, useClass: TheSeamFramework, multi: true }
2951
+ ], imports: [CommonModule,
2952
+ JsonSchemaFormModule,
2953
+ TheSeamSchemaFormControlsModule,
2954
+ WidgetLibraryModule, JsonSchemaFormModule] });
2955
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamSchemaFormModule, decorators: [{
2956
+ type: NgModule,
2957
+ args: [{
2958
+ declarations: [
2959
+ TheSeamSchemaFormFrameworkComponent
2960
+ ],
2961
+ imports: [
2962
+ CommonModule,
2963
+ JsonSchemaFormModule,
2964
+ TheSeamSchemaFormControlsModule,
2965
+ WidgetLibraryModule,
2966
+ ],
2967
+ providers: [
2968
+ JsonSchemaFormService,
2969
+ FrameworkLibraryService,
2970
+ WidgetLibraryService,
2971
+ { provide: Framework, useClass: TheSeamFramework, multi: true }
2972
+ ],
2973
+ exports: [
2974
+ TheSeamSchemaFormFrameworkComponent,
2975
+ JsonSchemaFormModule
2976
+ ],
2977
+ entryComponents: [
2978
+ TheSeamSchemaFormFrameworkComponent
2979
+ ]
2980
+ }]
2981
+ }] });
2982
+
2983
+ /**
2984
+ * Generated bundle index. Do not edit.
2985
+ */
2986
+
2987
+ 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 };
2988
+ //# sourceMappingURL=theseam-ui-common-framework.mjs.map