@theseam/ui-common 0.2.9

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 (1567) hide show
  1. package/asset-reader/asset-reader-helper.service.d.ts +7 -0
  2. package/asset-reader/asset-reader.module.d.ts +2 -0
  3. package/asset-reader/encrypted-asset-link.directive.d.ts +23 -0
  4. package/asset-reader/encrypted-asset-reader.d.ts +24 -0
  5. package/asset-reader/package.json +11 -0
  6. package/asset-reader/public-api.d.ts +4 -0
  7. package/asset-reader/theseam-ui-common-asset-reader.d.ts +4 -0
  8. package/asset-reader/theseam-ui-common-asset-reader.metadata.json +1 -0
  9. package/assets/.gitkeep +0 -0
  10. package/assets/vendor/intl-tel-input/css/intlTelInput.min.css +1 -0
  11. package/assets/vendor/intl-tel-input/img/flags.png +0 -0
  12. package/assets/vendor/intl-tel-input/img/flags@2x.png +0 -0
  13. package/assets/vendor/intl-tel-input/js/utils.js +501 -0
  14. package/breadcrumbs/breadcrumb.d.ts +11 -0
  15. package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +10 -0
  16. package/breadcrumbs/breadcrumbs-resolver.d.ts +5 -0
  17. package/breadcrumbs/breadcrumbs.module.d.ts +2 -0
  18. package/breadcrumbs/breadcrumbs.service.d.ts +20 -0
  19. package/breadcrumbs/package.json +11 -0
  20. package/breadcrumbs/public-api.d.ts +5 -0
  21. package/breadcrumbs/theseam-ui-common-breadcrumbs.d.ts +4 -0
  22. package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +1 -0
  23. package/bundles/theseam-ui-common-asset-reader.umd.js +533 -0
  24. package/bundles/theseam-ui-common-asset-reader.umd.js.map +1 -0
  25. package/bundles/theseam-ui-common-breadcrumbs.umd.js +587 -0
  26. package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +1 -0
  27. package/bundles/theseam-ui-common-buttons.umd.js +719 -0
  28. package/bundles/theseam-ui-common-buttons.umd.js.map +1 -0
  29. package/bundles/theseam-ui-common-card.umd.js +480 -0
  30. package/bundles/theseam-ui-common-card.umd.js.map +1 -0
  31. package/bundles/theseam-ui-common-checkbox.umd.js +650 -0
  32. package/bundles/theseam-ui-common-checkbox.umd.js.map +1 -0
  33. package/bundles/theseam-ui-common-confirm-dialog.umd.js +491 -0
  34. package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +1 -0
  35. package/bundles/theseam-ui-common-core.umd.js +604 -0
  36. package/bundles/theseam-ui-common-core.umd.js.map +1 -0
  37. package/bundles/theseam-ui-common-data-exporter.umd.js +96 -0
  38. package/bundles/theseam-ui-common-data-exporter.umd.js.map +1 -0
  39. package/bundles/theseam-ui-common-data-filters.umd.js +888 -0
  40. package/bundles/theseam-ui-common-data-filters.umd.js.map +1 -0
  41. package/bundles/theseam-ui-common-datatable-dynamic.umd.js +1499 -0
  42. package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +1 -0
  43. package/bundles/theseam-ui-common-datatable.umd.js +2247 -0
  44. package/bundles/theseam-ui-common-datatable.umd.js.map +1 -0
  45. package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +180 -0
  46. package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +1 -0
  47. package/bundles/theseam-ui-common-dynamic.umd.js +1253 -0
  48. package/bundles/theseam-ui-common-dynamic.umd.js.map +1 -0
  49. package/bundles/theseam-ui-common-footer-bar.umd.js +49 -0
  50. package/bundles/theseam-ui-common-footer-bar.umd.js.map +1 -0
  51. package/bundles/theseam-ui-common-form-field-error.umd.js +884 -0
  52. package/bundles/theseam-ui-common-form-field-error.umd.js.map +1 -0
  53. package/bundles/theseam-ui-common-form-field.umd.js +914 -0
  54. package/bundles/theseam-ui-common-form-field.umd.js.map +1 -0
  55. package/bundles/theseam-ui-common-framework.umd.js +3344 -0
  56. package/bundles/theseam-ui-common-framework.umd.js.map +1 -0
  57. package/bundles/theseam-ui-common-graphql.umd.js +357 -0
  58. package/bundles/theseam-ui-common-graphql.umd.js.map +1 -0
  59. package/bundles/theseam-ui-common-icon.umd.js +890 -0
  60. package/bundles/theseam-ui-common-icon.umd.js.map +1 -0
  61. package/bundles/theseam-ui-common-layout.umd.js +119 -0
  62. package/bundles/theseam-ui-common-layout.umd.js.map +1 -0
  63. package/bundles/theseam-ui-common-loading.umd.js +152 -0
  64. package/bundles/theseam-ui-common-loading.umd.js.map +1 -0
  65. package/bundles/theseam-ui-common-menu.umd.js +1152 -0
  66. package/bundles/theseam-ui-common-menu.umd.js.map +1 -0
  67. package/bundles/theseam-ui-common-modal.umd.js +1669 -0
  68. package/bundles/theseam-ui-common-modal.umd.js.map +1 -0
  69. package/bundles/theseam-ui-common-models.umd.js +63 -0
  70. package/bundles/theseam-ui-common-models.umd.js.map +1 -0
  71. package/bundles/theseam-ui-common-popover.umd.js +504 -0
  72. package/bundles/theseam-ui-common-popover.umd.js.map +1 -0
  73. package/bundles/theseam-ui-common-progress.umd.js +420 -0
  74. package/bundles/theseam-ui-common-progress.umd.js.map +1 -0
  75. package/bundles/theseam-ui-common-scrollbar.umd.js +240 -0
  76. package/bundles/theseam-ui-common-scrollbar.umd.js.map +1 -0
  77. package/bundles/theseam-ui-common-services.umd.js +178 -0
  78. package/bundles/theseam-ui-common-services.umd.js.map +1 -0
  79. package/bundles/theseam-ui-common-shared.umd.js +1115 -0
  80. package/bundles/theseam-ui-common-shared.umd.js.map +1 -0
  81. package/bundles/theseam-ui-common-storage.umd.js +178 -0
  82. package/bundles/theseam-ui-common-storage.umd.js.map +1 -0
  83. package/bundles/theseam-ui-common-story-helpers.umd.js +795 -0
  84. package/bundles/theseam-ui-common-story-helpers.umd.js.map +1 -0
  85. package/bundles/theseam-ui-common-tabbed.umd.js +628 -0
  86. package/bundles/theseam-ui-common-tabbed.umd.js.map +1 -0
  87. package/bundles/theseam-ui-common-table-cell-type.umd.js +222 -0
  88. package/bundles/theseam-ui-common-table-cell-type.umd.js.map +1 -0
  89. package/bundles/theseam-ui-common-table-cell-types.umd.js +1174 -0
  90. package/bundles/theseam-ui-common-table-cell-types.umd.js.map +1 -0
  91. package/bundles/theseam-ui-common-table.umd.js +475 -0
  92. package/bundles/theseam-ui-common-table.umd.js.map +1 -0
  93. package/bundles/theseam-ui-common-tel-input.umd.js +1055 -0
  94. package/bundles/theseam-ui-common-tel-input.umd.js.map +1 -0
  95. package/bundles/theseam-ui-common-test-helpers.umd.js +94 -0
  96. package/bundles/theseam-ui-common-test-helpers.umd.js.map +1 -0
  97. package/bundles/theseam-ui-common-tiled-select.umd.js +849 -0
  98. package/bundles/theseam-ui-common-tiled-select.umd.js.map +1 -0
  99. package/bundles/theseam-ui-common-toggle-edit.umd.js +893 -0
  100. package/bundles/theseam-ui-common-toggle-edit.umd.js.map +1 -0
  101. package/bundles/theseam-ui-common-toggle-group.umd.js +629 -0
  102. package/bundles/theseam-ui-common-toggle-group.umd.js.map +1 -0
  103. package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +136 -0
  104. package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +1 -0
  105. package/bundles/theseam-ui-common-utils.umd.js +1245 -0
  106. package/bundles/theseam-ui-common-utils.umd.js.map +1 -0
  107. package/bundles/theseam-ui-common-validators.umd.js +105 -0
  108. package/bundles/theseam-ui-common-validators.umd.js.map +1 -0
  109. package/bundles/theseam-ui-common-viewers.umd.js +699 -0
  110. package/bundles/theseam-ui-common-viewers.umd.js.map +1 -0
  111. package/bundles/theseam-ui-common-widget.umd.js +1710 -0
  112. package/bundles/theseam-ui-common-widget.umd.js.map +1 -0
  113. package/bundles/theseam-ui-common.umd.js +54 -0
  114. package/bundles/theseam-ui-common.umd.js.map +1 -0
  115. package/buttons/badge-button/badge-button.component.d.ts +18 -0
  116. package/buttons/button/button.component.d.ts +28 -0
  117. package/buttons/buttons.module.d.ts +2 -0
  118. package/buttons/package.json +11 -0
  119. package/buttons/progress-circle-button/progress-circle-button.component.d.ts +19 -0
  120. package/buttons/public-api.d.ts +5 -0
  121. package/buttons/theseam-ui-common-buttons.d.ts +4 -0
  122. package/buttons/theseam-ui-common-buttons.metadata.json +1 -0
  123. package/buttons/toggle-button/toggle-button.component.d.ts +26 -0
  124. package/card/card-action/card-action.component.d.ts +9 -0
  125. package/card/card-body/card-body.component.d.ts +12 -0
  126. package/card/card-footer/card-footer.component.d.ts +5 -0
  127. package/card/card-header/card-header.component.d.ts +7 -0
  128. package/card/card.component.d.ts +6 -0
  129. package/card/card.module.d.ts +2 -0
  130. package/card/package.json +11 -0
  131. package/card/public-api.d.ts +6 -0
  132. package/card/theseam-ui-common-card.d.ts +4 -0
  133. package/card/theseam-ui-common-card.metadata.json +1 -0
  134. package/checkbox/checkbox.component.d.ts +140 -0
  135. package/checkbox/checkbox.module.d.ts +2 -0
  136. package/checkbox/package.json +11 -0
  137. package/checkbox/public-api.d.ts +2 -0
  138. package/checkbox/theseam-ui-common-checkbox.d.ts +4 -0
  139. package/checkbox/theseam-ui-common-checkbox.metadata.json +1 -0
  140. package/confirm-dialog/confirm-click.directive.d.ts +24 -0
  141. package/confirm-dialog/confirm-dialog.component.d.ts +6 -0
  142. package/confirm-dialog/confirm-dialog.module.d.ts +2 -0
  143. package/confirm-dialog/confirm-dialog.service.d.ts +11 -0
  144. package/confirm-dialog/package.json +11 -0
  145. package/confirm-dialog/public-api.d.ts +4 -0
  146. package/confirm-dialog/theseam-ui-common-confirm-dialog.d.ts +4 -0
  147. package/confirm-dialog/theseam-ui-common-confirm-dialog.metadata.json +1 -0
  148. package/core/common-behaviors/active.d.ts +8 -0
  149. package/core/common-behaviors/constructor.d.ts +9 -0
  150. package/core/common-behaviors/disabled.d.ts +17 -0
  151. package/core/common-behaviors/element-ref.d.ts +4 -0
  152. package/core/common-behaviors/index.d.ts +9 -0
  153. package/core/common-behaviors/initialized.d.ts +30 -0
  154. package/core/common-behaviors/renderer2.d.ts +4 -0
  155. package/core/common-behaviors/size.d.ts +9 -0
  156. package/core/common-behaviors/tabindex.d.ts +18 -0
  157. package/core/common-behaviors/theme.d.ts +10 -0
  158. package/core/input-decorators/index.d.ts +2 -0
  159. package/core/input-decorators/input-boolean.decorator.d.ts +12 -0
  160. package/core/input-decorators/input-number.decorator.d.ts +12 -0
  161. package/core/package.json +11 -0
  162. package/core/public-api.d.ts +2 -0
  163. package/core/theseam-ui-common-core.d.ts +4 -0
  164. package/core/theseam-ui-common-core.metadata.json +1 -0
  165. package/data-exporter/data-exporter.d.ts +30 -0
  166. package/data-exporter/data-exporter.module.d.ts +2 -0
  167. package/data-exporter/exporters/csv-exporter.d.ts +8 -0
  168. package/data-exporter/exporters/xlsx-exporter.d.ts +8 -0
  169. package/data-exporter/package.json +11 -0
  170. package/data-exporter/public-api.d.ts +4 -0
  171. package/data-exporter/theseam-ui-common-data-exporter.d.ts +4 -0
  172. package/data-exporter/theseam-ui-common-data-exporter.metadata.json +1 -0
  173. package/data-filters/data-filter-container.d.ts +8 -0
  174. package/data-filters/data-filter-def.d.ts +10 -0
  175. package/data-filters/data-filter.d.ts +49 -0
  176. package/data-filters/data-filters.module.d.ts +2 -0
  177. package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +36 -0
  178. package/data-filters/filters/data-filter-search/search-filter-options.d.ts +2 -0
  179. package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +34 -0
  180. package/data-filters/filters/data-filter-text/text-filter-options.d.ts +25 -0
  181. package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +43 -0
  182. package/data-filters/package.json +11 -0
  183. package/data-filters/public-api.d.ts +9 -0
  184. package/data-filters/theseam-ui-common-data-filters.d.ts +4 -0
  185. package/data-filters/theseam-ui-common-data-filters.metadata.json +1 -0
  186. package/datatable/datatable/datatable.component.d.ts +195 -0
  187. package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +15 -0
  188. package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +28 -0
  189. package/datatable/datatable-column/datatable-column.component.d.ts +41 -0
  190. package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +14 -0
  191. package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +6 -0
  192. package/datatable/datatable-export-button/datatable-export-button.component.d.ts +24 -0
  193. package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +17 -0
  194. package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +5 -0
  195. package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +5 -0
  196. package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +5 -0
  197. package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +5 -0
  198. package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +10 -0
  199. package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +5 -0
  200. package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +37 -0
  201. package/datatable/datatable.module.d.ts +2 -0
  202. package/datatable/directives/datatable-action-menu-item.directive.d.ts +35 -0
  203. package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +27 -0
  204. package/datatable/directives/datatable-cell-tpl.directive.d.ts +5 -0
  205. package/datatable/directives/datatable-filter.directive.d.ts +6 -0
  206. package/datatable/directives/datatable-row-action-item.directive.d.ts +5 -0
  207. package/datatable/models/datatable-accessor.d.ts +19 -0
  208. package/datatable/models/datatable-data-source.d.ts +14 -0
  209. package/datatable/models/datatable-gql-data-source.d.ts +7 -0
  210. package/datatable/models/menubar-item-data.d.ts +3 -0
  211. package/datatable/models/page-info.d.ts +6 -0
  212. package/datatable/models/preferences-accessor.d.ts +15 -0
  213. package/datatable/models/preferences.d.ts +9 -0
  214. package/datatable/models/sort-event.d.ts +4 -0
  215. package/datatable/models/sort-item.d.ts +4 -0
  216. package/datatable/models/table-column.d.ts +14 -0
  217. package/datatable/package.json +11 -0
  218. package/datatable/public-api.d.ts +38 -0
  219. package/datatable/services/datatable-column-changes.service.d.ts +6 -0
  220. package/datatable/services/datatable-preferences.service.d.ts +19 -0
  221. package/datatable/services/datatable-scrollbar-helper.service.d.ts +19 -0
  222. package/datatable/theseam-ui-common-datatable.d.ts +5 -0
  223. package/datatable/theseam-ui-common-datatable.metadata.json +1 -0
  224. package/datatable/tokens/datatable-accessor.d.ts +3 -0
  225. package/datatable/tokens/datatable-preferences-accessor.d.ts +3 -0
  226. package/datatable/tokens/menubar-item-data.d.ts +3 -0
  227. package/datatable/utils/with-stored-column-info.d.ts +3 -0
  228. package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +32 -0
  229. package/datatable-dynamic/datatable-dynamic-def.d.ts +71 -0
  230. package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +15 -0
  231. package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +61 -0
  232. package/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.d.ts +16 -0
  233. package/datatable-dynamic/datatable-dynamic-menu-bar-token.d.ts +3 -0
  234. package/datatable-dynamic/datatable-dynamic.component.d.ts +89 -0
  235. package/datatable-dynamic/datatable-dynamic.module.d.ts +2 -0
  236. package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +73 -0
  237. package/datatable-dynamic/dynamic-datatable-def.service.d.ts +59 -0
  238. package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +16 -0
  239. package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +17 -0
  240. package/datatable-dynamic/models/dynamic-datatable-filter-menu-item.d.ts +7 -0
  241. package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +63 -0
  242. package/datatable-dynamic/models/dynamic-datatable-row-action-context.d.ts +5 -0
  243. package/datatable-dynamic/models/dynamic-datatable-row-action.d.ts +17 -0
  244. package/datatable-dynamic/models/index.d.ts +5 -0
  245. package/datatable-dynamic/package.json +11 -0
  246. package/datatable-dynamic/public-api.d.ts +13 -0
  247. package/datatable-dynamic/theseam-ui-common-datatable-dynamic.d.ts +4 -0
  248. package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +1 -0
  249. package/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.d.ts +2 -0
  250. package/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.d.ts +2 -0
  251. package/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.d.ts +2 -0
  252. package/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.d.ts +2 -0
  253. package/datatable-dynamic/utils/index.d.ts +4 -0
  254. package/dynamic/action/api/dynamic-action-api-def.d.ts +35 -0
  255. package/dynamic/action/api/dynamic-action-api-errors.d.ts +1 -0
  256. package/dynamic/action/api/dynamic-action-api.d.ts +3 -0
  257. package/dynamic/action/api/dynamic-action-api.service.d.ts +30 -0
  258. package/dynamic/action/dynamic-action-helper.service.d.ts +36 -0
  259. package/dynamic/action/index.d.ts +10 -0
  260. package/dynamic/action/link/dynamic-action-link-def.d.ts +58 -0
  261. package/dynamic/action/link/dynamic-action-link.d.ts +3 -0
  262. package/dynamic/action/link/dynamic-action-link.service.d.ts +14 -0
  263. package/dynamic/action/modal/dynamic-action-modal-def.d.ts +10 -0
  264. package/dynamic/action/modal/dynamic-action-modal.d.ts +3 -0
  265. package/dynamic/action/modal/dynamic-action-modal.service.d.ts +29 -0
  266. package/dynamic/dynamic-value-helper.service.d.ts +34 -0
  267. package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +16 -0
  268. package/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.d.ts +8 -0
  269. package/dynamic/evaluators/exporters-data-evaluator/index.d.ts +2 -0
  270. package/dynamic/evaluators/index.d.ts +2 -0
  271. package/dynamic/evaluators/jexl-evaluator/index.d.ts +2 -0
  272. package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +9 -0
  273. package/dynamic/evaluators/jexl-evaluator/jexl-value.d.ts +11 -0
  274. package/dynamic/models/dynamic-action-confirm-def.d.ts +10 -0
  275. package/dynamic/models/dynamic-action-context.d.ts +2 -0
  276. package/dynamic/models/dynamic-action-def.d.ts +9 -0
  277. package/dynamic/models/dynamic-action-ui-anchor-def.d.ts +39 -0
  278. package/dynamic/models/dynamic-action-ui-button-def.d.ts +13 -0
  279. package/dynamic/models/dynamic-action-ui-def.d.ts +37 -0
  280. package/dynamic/models/dynamic-action.d.ts +11 -0
  281. package/dynamic/models/dynamic-value-base-type.d.ts +4 -0
  282. package/dynamic/models/dynamic-value-evaluatable-type.d.ts +2 -0
  283. package/dynamic/models/dynamic-value-evaluator.d.ts +6 -0
  284. package/dynamic/models/dynamic-value-primitive.d.ts +1 -0
  285. package/dynamic/models/dynamic-value-type.d.ts +4 -0
  286. package/dynamic/models/dynamic-value.d.ts +3 -0
  287. package/dynamic/models/index.d.ts +13 -0
  288. package/dynamic/package.json +11 -0
  289. package/dynamic/public-api.d.ts +6 -0
  290. package/dynamic/theseam-ui-common-dynamic.d.ts +4 -0
  291. package/dynamic/theseam-ui-common-dynamic.metadata.json +1 -0
  292. package/dynamic/tokens/api-config.d.ts +30 -0
  293. package/dynamic/tokens/dynamic-action.d.ts +3 -0
  294. package/dynamic/tokens/dynamic-data.d.ts +2 -0
  295. package/dynamic/tokens/dynamic-value-evaluator.d.ts +3 -0
  296. package/dynamic/tokens/index.d.ts +4 -0
  297. package/dynamic/utils/index.d.ts +1 -0
  298. package/dynamic/utils/is-action-type.d.ts +2 -0
  299. package/dynamic-component-loader/dynamic-component-loader.module.d.ts +7 -0
  300. package/dynamic-component-loader/dynamic-component-loader.service.d.ts +15 -0
  301. package/dynamic-component-loader/dynamic-component-manifest.d.ts +9 -0
  302. package/dynamic-component-loader/dynamic-component-tokens.d.ts +4 -0
  303. package/dynamic-component-loader/package.json +11 -0
  304. package/dynamic-component-loader/public-api.d.ts +4 -0
  305. package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.d.ts +4 -0
  306. package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.metadata.json +1 -0
  307. package/esm2015/asset-reader/asset-reader-helper.service.js +68 -0
  308. package/esm2015/asset-reader/asset-reader.module.js +15 -0
  309. package/esm2015/asset-reader/encrypted-asset-link.directive.js +69 -0
  310. package/esm2015/asset-reader/encrypted-asset-reader.js +20 -0
  311. package/esm2015/asset-reader/public-api.js +5 -0
  312. package/esm2015/asset-reader/theseam-ui-common-asset-reader.js +5 -0
  313. package/esm2015/breadcrumbs/breadcrumb.js +2 -0
  314. package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +21 -0
  315. package/esm2015/breadcrumbs/breadcrumbs-resolver.js +2 -0
  316. package/esm2015/breadcrumbs/breadcrumbs.module.js +21 -0
  317. package/esm2015/breadcrumbs/breadcrumbs.service.js +158 -0
  318. package/esm2015/breadcrumbs/public-api.js +6 -0
  319. package/esm2015/breadcrumbs/theseam-ui-common-breadcrumbs.js +5 -0
  320. package/esm2015/buttons/badge-button/badge-button.component.js +79 -0
  321. package/esm2015/buttons/button/button.component.js +111 -0
  322. package/esm2015/buttons/buttons.module.js +34 -0
  323. package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +60 -0
  324. package/esm2015/buttons/public-api.js +6 -0
  325. package/esm2015/buttons/theseam-ui-common-buttons.js +5 -0
  326. package/esm2015/buttons/toggle-button/toggle-button.component.js +88 -0
  327. package/esm2015/card/card-action/card-action.component.js +27 -0
  328. package/esm2015/card/card-body/card-body.component.js +32 -0
  329. package/esm2015/card/card-footer/card-footer.component.js +15 -0
  330. package/esm2015/card/card-header/card-header.component.js +22 -0
  331. package/esm2015/card/card.component.js +20 -0
  332. package/esm2015/card/card.module.js +33 -0
  333. package/esm2015/card/public-api.js +7 -0
  334. package/esm2015/card/theseam-ui-common-card.js +5 -0
  335. package/esm2015/checkbox/checkbox.component.js +276 -0
  336. package/esm2015/checkbox/checkbox.module.js +21 -0
  337. package/esm2015/checkbox/public-api.js +3 -0
  338. package/esm2015/checkbox/theseam-ui-common-checkbox.js +5 -0
  339. package/esm2015/confirm-dialog/confirm-click.directive.js +62 -0
  340. package/esm2015/confirm-dialog/confirm-dialog.component.js +20 -0
  341. package/esm2015/confirm-dialog/confirm-dialog.module.js +35 -0
  342. package/esm2015/confirm-dialog/confirm-dialog.service.js +38 -0
  343. package/esm2015/confirm-dialog/public-api.js +5 -0
  344. package/esm2015/confirm-dialog/theseam-ui-common-confirm-dialog.js +5 -0
  345. package/esm2015/core/common-behaviors/active.js +13 -0
  346. package/esm2015/core/common-behaviors/constructor.js +9 -0
  347. package/esm2015/core/common-behaviors/disabled.js +20 -0
  348. package/esm2015/core/common-behaviors/element-ref.js +2 -0
  349. package/esm2015/core/common-behaviors/index.js +10 -0
  350. package/esm2015/core/common-behaviors/initialized.js +62 -0
  351. package/esm2015/core/common-behaviors/renderer2.js +2 -0
  352. package/esm2015/core/common-behaviors/size.js +24 -0
  353. package/esm2015/core/common-behaviors/tabindex.js +22 -0
  354. package/esm2015/core/common-behaviors/theme.js +24 -0
  355. package/esm2015/core/input-decorators/index.js +3 -0
  356. package/esm2015/core/input-decorators/input-boolean.decorator.js +27 -0
  357. package/esm2015/core/input-decorators/input-number.decorator.js +27 -0
  358. package/esm2015/core/public-api.js +3 -0
  359. package/esm2015/core/theseam-ui-common-core.js +5 -0
  360. package/esm2015/data-exporter/data-exporter.js +7 -0
  361. package/esm2015/data-exporter/data-exporter.module.js +17 -0
  362. package/esm2015/data-exporter/exporters/csv-exporter.js +32 -0
  363. package/esm2015/data-exporter/exporters/xlsx-exporter.js +30 -0
  364. package/esm2015/data-exporter/public-api.js +5 -0
  365. package/esm2015/data-exporter/theseam-ui-common-data-exporter.js +5 -0
  366. package/esm2015/data-filters/data-filter-container.js +3 -0
  367. package/esm2015/data-filters/data-filter-def.js +3 -0
  368. package/esm2015/data-filters/data-filter.js +22 -0
  369. package/esm2015/data-filters/data-filters.module.js +50 -0
  370. package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +110 -0
  371. package/esm2015/data-filters/filters/data-filter-search/search-filter-options.js +2 -0
  372. package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +138 -0
  373. package/esm2015/data-filters/filters/data-filter-text/text-filter-options.js +2 -0
  374. package/esm2015/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.js +151 -0
  375. package/esm2015/data-filters/public-api.js +10 -0
  376. package/esm2015/data-filters/theseam-ui-common-data-filters.js +5 -0
  377. package/esm2015/datatable/datatable/datatable.component.js +584 -0
  378. package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +101 -0
  379. package/esm2015/datatable/datatable-action-menu-item/datatable-action-menu-item.component.js +30 -0
  380. package/esm2015/datatable/datatable-column/datatable-column.component.js +83 -0
  381. package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +46 -0
  382. package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +18 -0
  383. package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +98 -0
  384. package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +55 -0
  385. package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +16 -0
  386. package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +16 -0
  387. package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +16 -0
  388. package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +16 -0
  389. package/esm2015/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.js +32 -0
  390. package/esm2015/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.js +15 -0
  391. package/esm2015/datatable/datatable-row-detail/datatable-row-detail.directive.js +69 -0
  392. package/esm2015/datatable/datatable.module.js +120 -0
  393. package/esm2015/datatable/directives/datatable-action-menu-item.directive.js +46 -0
  394. package/esm2015/datatable/directives/datatable-action-menu-toggle.directive.js +128 -0
  395. package/esm2015/datatable/directives/datatable-cell-tpl.directive.js +15 -0
  396. package/esm2015/datatable/directives/datatable-filter.directive.js +21 -0
  397. package/esm2015/datatable/directives/datatable-row-action-item.directive.js +15 -0
  398. package/esm2015/datatable/models/datatable-accessor.js +2 -0
  399. package/esm2015/datatable/models/datatable-data-source.js +42 -0
  400. package/esm2015/datatable/models/datatable-gql-data-source.js +15 -0
  401. package/esm2015/datatable/models/menubar-item-data.js +2 -0
  402. package/esm2015/datatable/models/page-info.js +2 -0
  403. package/esm2015/datatable/models/preferences-accessor.js +2 -0
  404. package/esm2015/datatable/models/preferences.js +2 -0
  405. package/esm2015/datatable/models/sort-event.js +2 -0
  406. package/esm2015/datatable/models/sort-item.js +2 -0
  407. package/esm2015/datatable/models/table-column.js +2 -0
  408. package/esm2015/datatable/public-api.js +39 -0
  409. package/esm2015/datatable/services/datatable-column-changes.service.js +17 -0
  410. package/esm2015/datatable/services/datatable-preferences.service.js +113 -0
  411. package/esm2015/datatable/services/datatable-scrollbar-helper.service.js +51 -0
  412. package/esm2015/datatable/theseam-ui-common-datatable.js +6 -0
  413. package/esm2015/datatable/tokens/datatable-accessor.js +3 -0
  414. package/esm2015/datatable/tokens/datatable-preferences-accessor.js +3 -0
  415. package/esm2015/datatable/tokens/menubar-item-data.js +3 -0
  416. package/esm2015/datatable/utils/with-stored-column-info.js +20 -0
  417. package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +119 -0
  418. package/esm2015/datatable-dynamic/datatable-dynamic-def.js +2 -0
  419. package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +53 -0
  420. package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.js +160 -0
  421. package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.js +2 -0
  422. package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-token.js +3 -0
  423. package/esm2015/datatable-dynamic/datatable-dynamic.component.js +75 -0
  424. package/esm2015/datatable-dynamic/datatable-dynamic.module.js +49 -0
  425. package/esm2015/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.js +408 -0
  426. package/esm2015/datatable-dynamic/dynamic-datatable-def.service.js +84 -0
  427. package/esm2015/datatable-dynamic/dynamic-datatable-row-actions.service.js +47 -0
  428. package/esm2015/datatable-dynamic/models/dynamic-datatable-action-menu-record.js +2 -0
  429. package/esm2015/datatable-dynamic/models/dynamic-datatable-filter-menu-item.js +2 -0
  430. package/esm2015/datatable-dynamic/models/dynamic-datatable-menu-bar.js +2 -0
  431. package/esm2015/datatable-dynamic/models/dynamic-datatable-row-action-context.js +2 -0
  432. package/esm2015/datatable-dynamic/models/dynamic-datatable-row-action.js +2 -0
  433. package/esm2015/datatable-dynamic/models/index.js +6 -0
  434. package/esm2015/datatable-dynamic/public-api.js +14 -0
  435. package/esm2015/datatable-dynamic/theseam-ui-common-datatable-dynamic.js +5 -0
  436. package/esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.js +8 -0
  437. package/esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.js +13 -0
  438. package/esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.js +6 -0
  439. package/esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.js +6 -0
  440. package/esm2015/datatable-dynamic/utils/index.js +5 -0
  441. package/esm2015/dynamic/action/api/dynamic-action-api-def.js +2 -0
  442. package/esm2015/dynamic/action/api/dynamic-action-api-errors.js +4 -0
  443. package/esm2015/dynamic/action/api/dynamic-action-api.js +2 -0
  444. package/esm2015/dynamic/action/api/dynamic-action-api.service.js +215 -0
  445. package/esm2015/dynamic/action/dynamic-action-helper.service.js +163 -0
  446. package/esm2015/dynamic/action/index.js +11 -0
  447. package/esm2015/dynamic/action/link/dynamic-action-link-def.js +2 -0
  448. package/esm2015/dynamic/action/link/dynamic-action-link.js +2 -0
  449. package/esm2015/dynamic/action/link/dynamic-action-link.service.js +50 -0
  450. package/esm2015/dynamic/action/modal/dynamic-action-modal-def.js +2 -0
  451. package/esm2015/dynamic/action/modal/dynamic-action-modal.js +2 -0
  452. package/esm2015/dynamic/action/modal/dynamic-action-modal.service.js +92 -0
  453. package/esm2015/dynamic/dynamic-value-helper.service.js +101 -0
  454. package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.js +33 -0
  455. package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.js +2 -0
  456. package/esm2015/dynamic/evaluators/exporters-data-evaluator/index.js +3 -0
  457. package/esm2015/dynamic/evaluators/index.js +3 -0
  458. package/esm2015/dynamic/evaluators/jexl-evaluator/index.js +3 -0
  459. package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +29 -0
  460. package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-value.js +2 -0
  461. package/esm2015/dynamic/models/dynamic-action-confirm-def.js +2 -0
  462. package/esm2015/dynamic/models/dynamic-action-context.js +2 -0
  463. package/esm2015/dynamic/models/dynamic-action-def.js +3 -0
  464. package/esm2015/dynamic/models/dynamic-action-ui-anchor-def.js +2 -0
  465. package/esm2015/dynamic/models/dynamic-action-ui-button-def.js +2 -0
  466. package/esm2015/dynamic/models/dynamic-action-ui-def.js +2 -0
  467. package/esm2015/dynamic/models/dynamic-action.js +2 -0
  468. package/esm2015/dynamic/models/dynamic-value-base-type.js +2 -0
  469. package/esm2015/dynamic/models/dynamic-value-evaluatable-type.js +2 -0
  470. package/esm2015/dynamic/models/dynamic-value-evaluator.js +2 -0
  471. package/esm2015/dynamic/models/dynamic-value-primitive.js +2 -0
  472. package/esm2015/dynamic/models/dynamic-value-type.js +2 -0
  473. package/esm2015/dynamic/models/dynamic-value.js +2 -0
  474. package/esm2015/dynamic/models/index.js +14 -0
  475. package/esm2015/dynamic/public-api.js +7 -0
  476. package/esm2015/dynamic/theseam-ui-common-dynamic.js +5 -0
  477. package/esm2015/dynamic/tokens/api-config.js +29 -0
  478. package/esm2015/dynamic/tokens/dynamic-action.js +3 -0
  479. package/esm2015/dynamic/tokens/dynamic-data.js +3 -0
  480. package/esm2015/dynamic/tokens/dynamic-value-evaluator.js +3 -0
  481. package/esm2015/dynamic/tokens/index.js +5 -0
  482. package/esm2015/dynamic/utils/index.js +2 -0
  483. package/esm2015/dynamic/utils/is-action-type.js +4 -0
  484. package/esm2015/dynamic-component-loader/dynamic-component-loader.module.js +47 -0
  485. package/esm2015/dynamic-component-loader/dynamic-component-loader.service.js +91 -0
  486. package/esm2015/dynamic-component-loader/dynamic-component-manifest.js +2 -0
  487. package/esm2015/dynamic-component-loader/dynamic-component-tokens.js +5 -0
  488. package/esm2015/dynamic-component-loader/public-api.js +5 -0
  489. package/esm2015/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.js +5 -0
  490. package/esm2015/footer-bar/footer-bar/footer-bar.component.js +16 -0
  491. package/esm2015/footer-bar/footer-bar.module.js +15 -0
  492. package/esm2015/footer-bar/public-api.js +3 -0
  493. package/esm2015/footer-bar/theseam-ui-common-footer-bar.js +5 -0
  494. package/esm2015/form-field/form-field-error.directive.js +28 -0
  495. package/esm2015/form-field/form-field-help-text.directive.js +15 -0
  496. package/esm2015/form-field/form-field-label-tpl.directive.js +15 -0
  497. package/esm2015/form-field/form-field-required-indicator.component.js +38 -0
  498. package/esm2015/form-field/form-field.component.js +193 -0
  499. package/esm2015/form-field/form-field.module.js +40 -0
  500. package/esm2015/form-field/input.directive.js +195 -0
  501. package/esm2015/form-field/public-api.js +8 -0
  502. package/esm2015/form-field/theseam-ui-common-form-field.js +5 -0
  503. package/esm2015/form-field-error/form-field-error/form-field-error.component.js +27 -0
  504. package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.js +25 -0
  505. package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item.directive.js +18 -0
  506. package/esm2015/form-field-error/form-field-error-list/form-field-error-list.component.js +370 -0
  507. package/esm2015/form-field-error/form-field-error.module.js +28 -0
  508. package/esm2015/form-field-error/public-api.js +6 -0
  509. package/esm2015/form-field-error/theseam-ui-common-form-field-error.js +5 -0
  510. package/esm2015/framework/base-layout/base-layout-action.js +2 -0
  511. package/esm2015/framework/base-layout/base-layout-nav.js +2 -0
  512. package/esm2015/framework/base-layout/base-layout-ref.js +2 -0
  513. package/esm2015/framework/base-layout/base-layout-tokens.js +3 -0
  514. package/esm2015/framework/base-layout/base-layout.component.js +117 -0
  515. package/esm2015/framework/base-layout/base-layout.module.js +45 -0
  516. package/esm2015/framework/base-layout/directives/base-layout-content-footer.directive.js +15 -0
  517. package/esm2015/framework/base-layout/directives/base-layout-content-header.directive.js +15 -0
  518. package/esm2015/framework/base-layout/directives/base-layout-content.directive.js +15 -0
  519. package/esm2015/framework/base-layout/directives/base-layout-nav-toggle.directive.js +37 -0
  520. package/esm2015/framework/base-layout/directives/base-layout-side-bar.directive.js +15 -0
  521. package/esm2015/framework/base-layout/directives/base-layout-top-bar.directive.js +15 -0
  522. package/esm2015/framework/base-layout/index.js +13 -0
  523. package/esm2015/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.js +19 -0
  524. package/esm2015/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.js +25 -0
  525. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.js +121 -0
  526. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-item.js +2 -0
  527. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.js +3 -0
  528. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.js +2 -0
  529. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.js +173 -0
  530. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +176 -0
  531. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.service.js +165 -0
  532. package/esm2015/framework/dashboard/dashboard.component.js +25 -0
  533. package/esm2015/framework/dashboard/dashboard.module.js +39 -0
  534. package/esm2015/framework/dashboard/index.js +12 -0
  535. package/esm2015/framework/dynamic-router/dynamic-route-def.js +2 -0
  536. package/esm2015/framework/dynamic-router/dynamic-router.module.js +21 -0
  537. package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.js +256 -0
  538. package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +114 -0
  539. package/esm2015/framework/dynamic-router/index.js +6 -0
  540. package/esm2015/framework/dynamic-router/resolvers/hierarchy-level.resolver.js +26 -0
  541. package/esm2015/framework/public-api.js +7 -0
  542. package/esm2015/framework/schema-form/index.js +4 -0
  543. package/esm2015/framework/schema-form/schema-form-framework.component.js +16 -0
  544. package/esm2015/framework/schema-form/schema-form-framework.js +27 -0
  545. package/esm2015/framework/schema-form/schema-form.module.js +35 -0
  546. package/esm2015/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.js +41 -0
  547. package/esm2015/framework/schema-form-controls/schema-form-controls.module.js +50 -0
  548. package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +34 -0
  549. package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +40 -0
  550. package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +36 -0
  551. package/esm2015/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.js +46 -0
  552. package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +142 -0
  553. package/esm2015/framework/side-nav/index.js +7 -0
  554. package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +151 -0
  555. package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +36 -0
  556. package/esm2015/framework/side-nav/side-nav-utils.js +81 -0
  557. package/esm2015/framework/side-nav/side-nav.component.js +195 -0
  558. package/esm2015/framework/side-nav/side-nav.models.js +2 -0
  559. package/esm2015/framework/side-nav/side-nav.module.js +37 -0
  560. package/esm2015/framework/side-nav/side-nav.service.js +174 -0
  561. package/esm2015/framework/theseam-ui-common-framework.js +13 -0
  562. package/esm2015/framework/top-bar/index.js +8 -0
  563. package/esm2015/framework/top-bar/top-bar-item.directive.js +15 -0
  564. package/esm2015/framework/top-bar/top-bar-menu-btn-detail.directive.js +15 -0
  565. package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +53 -0
  566. package/esm2015/framework/top-bar/top-bar-menu.directive.js +16 -0
  567. package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +19 -0
  568. package/esm2015/framework/top-bar/top-bar.component.js +82 -0
  569. package/esm2015/framework/top-bar/top-bar.module.js +46 -0
  570. package/esm2015/graphql/models/direction.js +8 -0
  571. package/esm2015/graphql/models/hint-definition.js +2 -0
  572. package/esm2015/graphql/models/hint-transform-operation.js +2 -0
  573. package/esm2015/graphql/models/hint-transformer.js +2 -0
  574. package/esm2015/graphql/models/hints-kind.js +9 -0
  575. package/esm2015/graphql/models/hints-token.js +2 -0
  576. package/esm2015/graphql/models/index.js +9 -0
  577. package/esm2015/graphql/models/query-processing-config.js +2 -0
  578. package/esm2015/graphql/models/variable.js +7 -0
  579. package/esm2015/graphql/public-api.js +2 -0
  580. package/esm2015/graphql/theseam-ui-common-graphql.js +5 -0
  581. package/esm2015/graphql/utils/contains-variable.js +14 -0
  582. package/esm2015/graphql/utils/gql-var.js +4 -0
  583. package/esm2015/graphql/utils/hints-tokens-containing-hint.js +4 -0
  584. package/esm2015/graphql/utils/index.js +11 -0
  585. package/esm2015/graphql/utils/inline-variables.js +50 -0
  586. package/esm2015/graphql/utils/parse-comments.js +24 -0
  587. package/esm2015/graphql/utils/parse-hints.js +116 -0
  588. package/esm2015/graphql/utils/remove-variable-definition.js +14 -0
  589. package/esm2015/graphql/utils/remove-variable-definitions-not-defined.js +19 -0
  590. package/esm2015/graphql/utils/remove-variable.js +22 -0
  591. package/esm2015/graphql/utils/to-gql.js +40 -0
  592. package/esm2015/icon/icon/icon.component.js +125 -0
  593. package/esm2015/icon/icon-btn/icon-btn.component.js +136 -0
  594. package/esm2015/icon/icon-notification/icon-notification.component.js +120 -0
  595. package/esm2015/icon/icon.js +2 -0
  596. package/esm2015/icon/icon.module.js +27 -0
  597. package/esm2015/icon/public-api.js +7 -0
  598. package/esm2015/icon/theseam-ui-common-icon.js +5 -0
  599. package/esm2015/icon/utils/file-extension-icon.js +33 -0
  600. package/esm2015/icon/utils/get-known-icon.js +82 -0
  601. package/esm2015/icon/utils/index.js +3 -0
  602. package/esm2015/layout/breakpoint-aliases.js +11 -0
  603. package/esm2015/layout/layout.module.js +18 -0
  604. package/esm2015/layout/layout.service.js +24 -0
  605. package/esm2015/layout/observe-media-query.js +41 -0
  606. package/esm2015/layout/public-api.js +5 -0
  607. package/esm2015/layout/theseam-ui-common-layout.js +5 -0
  608. package/esm2015/loading/loading/loading.component.js +28 -0
  609. package/esm2015/loading/loading-overlay.service.js +59 -0
  610. package/esm2015/loading/loading-themes.js +18 -0
  611. package/esm2015/loading/loading.models.js +2 -0
  612. package/esm2015/loading/loading.module.js +29 -0
  613. package/esm2015/loading/public-api.js +6 -0
  614. package/esm2015/loading/theseam-ui-common-loading.js +5 -0
  615. package/esm2015/menu/menu-animations.js +58 -0
  616. package/esm2015/menu/menu-divider.component.js +15 -0
  617. package/esm2015/menu/menu-footer/menu-footer.component.js +32 -0
  618. package/esm2015/menu/menu-footer-action/menu-footer-action.component.js +48 -0
  619. package/esm2015/menu/menu-header/menu-header.component.js +32 -0
  620. package/esm2015/menu/menu-item.component.js +127 -0
  621. package/esm2015/menu/menu-panel-token.js +6 -0
  622. package/esm2015/menu/menu-panel.js +2 -0
  623. package/esm2015/menu/menu-toggle.directive.js +248 -0
  624. package/esm2015/menu/menu.component.js +174 -0
  625. package/esm2015/menu/menu.module.js +43 -0
  626. package/esm2015/menu/public-api.js +12 -0
  627. package/esm2015/menu/theseam-ui-common-menu.js +5 -0
  628. package/esm2015/modal/directives/modal-close.directive.js +63 -0
  629. package/esm2015/modal/directives/modal-footer-tpl.directive.js +15 -0
  630. package/esm2015/modal/directives/modal-header-icon-tpl.directive.js +15 -0
  631. package/esm2015/modal/directives/modal-header-title-tpl.directive.js +15 -0
  632. package/esm2015/modal/directives/modal-title.directive.js +19 -0
  633. package/esm2015/modal/directives/modal.directive.js +25 -0
  634. package/esm2015/modal/modal/modal.component.js +149 -0
  635. package/esm2015/modal/modal-body/modal-body.component.js +22 -0
  636. package/esm2015/modal/modal-config.js +47 -0
  637. package/esm2015/modal/modal-container/modal-container.component.js +217 -0
  638. package/esm2015/modal/modal-footer/modal-footer.component.js +20 -0
  639. package/esm2015/modal/modal-header/modal-header.component.js +26 -0
  640. package/esm2015/modal/modal-injectors.js +23 -0
  641. package/esm2015/modal/modal-ref.js +126 -0
  642. package/esm2015/modal/modal-utils.js +14 -0
  643. package/esm2015/modal/modal.models.js +3 -0
  644. package/esm2015/modal/modal.module.js +83 -0
  645. package/esm2015/modal/modal.service.js +343 -0
  646. package/esm2015/modal/public-api.js +20 -0
  647. package/esm2015/modal/route-modal/route-modal.component.js +68 -0
  648. package/esm2015/modal/theseam-ui-common-modal.js +5 -0
  649. package/esm2015/models/component-type.js +4 -0
  650. package/esm2015/models/http-status-codes.js +20 -0
  651. package/esm2015/models/public-api.js +8 -0
  652. package/esm2015/models/size-prefixes.js +2 -0
  653. package/esm2015/models/size-types.js +2 -0
  654. package/esm2015/models/theme-names.js +26 -0
  655. package/esm2015/models/theme-prefixes.js +2 -0
  656. package/esm2015/models/theme-types.js +2 -0
  657. package/esm2015/models/theseam-ui-common-models.js +5 -0
  658. package/esm2015/popover/popover/popover.component.js +149 -0
  659. package/esm2015/popover/popover-animations.js +46 -0
  660. package/esm2015/popover/popover.directive.js +257 -0
  661. package/esm2015/popover/popover.module.js +30 -0
  662. package/esm2015/popover/public-api.js +5 -0
  663. package/esm2015/popover/theseam-ui-common-popover.js +5 -0
  664. package/esm2015/progress/progress-circle/progress-circle.component.js +63 -0
  665. package/esm2015/progress/progress.module.js +19 -0
  666. package/esm2015/progress/public-api.js +3 -0
  667. package/esm2015/progress/theseam-ui-common-progress.js +5 -0
  668. package/esm2015/public_api.js +43 -0
  669. package/esm2015/scrollbar/overlay-scrollbar.directive.js +61 -0
  670. package/esm2015/scrollbar/overlay-scrollbars-config-model.js +2 -0
  671. package/esm2015/scrollbar/overlay-scrollbars-config.js +13 -0
  672. package/esm2015/scrollbar/overlay-scrollbars.service.js +87 -0
  673. package/esm2015/scrollbar/public-api.js +6 -0
  674. package/esm2015/scrollbar/scrollbar.module.js +25 -0
  675. package/esm2015/scrollbar/theseam-ui-common-scrollbar.js +5 -0
  676. package/esm2015/services/asset-loader.service.js +33 -0
  677. package/esm2015/services/font-loader.service.js +81 -0
  678. package/esm2015/services/public-api.js +4 -0
  679. package/esm2015/services/router-helpers.service.js +26 -0
  680. package/esm2015/services/theseam-ui-common-services.js +5 -0
  681. package/esm2015/shared/components/index.js +2 -0
  682. package/esm2015/shared/components/password-input-reveal/password-input-reveal.component.js +71 -0
  683. package/esm2015/shared/directives/auto-focus.directive.js +53 -0
  684. package/esm2015/shared/directives/click-outside.directive.js +49 -0
  685. package/esm2015/shared/directives/disable-control.directive.js +27 -0
  686. package/esm2015/shared/directives/elem-resized.directive.js +29 -0
  687. package/esm2015/shared/directives/hover-class-toggle.directive.js +80 -0
  688. package/esm2015/shared/directives/hover-class.directive.js +74 -0
  689. package/esm2015/shared/directives/index.js +9 -0
  690. package/esm2015/shared/directives/ng-select-extra.directive.js +177 -0
  691. package/esm2015/shared/directives/ngx-quill-extra.directive.js +60 -0
  692. package/esm2015/shared/pipes/index.js +3 -0
  693. package/esm2015/shared/pipes/mask-chars.pipe.js +21 -0
  694. package/esm2015/shared/pipes/truncate.pipe.js +19 -0
  695. package/esm2015/shared/public-api.js +5 -0
  696. package/esm2015/shared/shared.module.js +58 -0
  697. package/esm2015/shared/theseam-ui-common-shared.js +5 -0
  698. package/esm2015/storage/local-storage.service.js +77 -0
  699. package/esm2015/storage/localstorage-memory.js +64 -0
  700. package/esm2015/storage/public-api.js +2 -0
  701. package/esm2015/storage/theseam-ui-common-storage.js +5 -0
  702. package/esm2015/story-helpers/arg-type-helpers.js +34 -0
  703. package/esm2015/story-helpers/args-to-tpl.js +76 -0
  704. package/esm2015/story-helpers/initial-route-factory.js +4 -0
  705. package/esm2015/story-helpers/initial-route.service.js +27 -0
  706. package/esm2015/story-helpers/on-story-bootstrapped-exec.js +64 -0
  707. package/esm2015/story-helpers/on-story-bootstrapped-trigger.js +38 -0
  708. package/esm2015/story-helpers/public-api.js +15 -0
  709. package/esm2015/story-helpers/route-button.js +12 -0
  710. package/esm2015/story-helpers/routes-arg-type.js +18 -0
  711. package/esm2015/story-helpers/story-empty-with-route.component.js +7 -0
  712. package/esm2015/story-helpers/story-empty.component.js +7 -0
  713. package/esm2015/story-helpers/story-helper-components.module.js +29 -0
  714. package/esm2015/story-helpers/story-initial-route.js +24 -0
  715. package/esm2015/story-helpers/story-modal-container.component.js +77 -0
  716. package/esm2015/story-helpers/story-toastr.service.js +33 -0
  717. package/esm2015/story-helpers/theseam-ui-common-story-helpers.js +5 -0
  718. package/esm2015/tabbed/directives/tabbed-tab-content.directive.js +14 -0
  719. package/esm2015/tabbed/directives/tabbed-tab.directive.js +36 -0
  720. package/esm2015/tabbed/public-api.js +8 -0
  721. package/esm2015/tabbed/tabbed-content/tabbed-content.component.js +17 -0
  722. package/esm2015/tabbed/tabbed-item/tabbed-item.component.js +30 -0
  723. package/esm2015/tabbed/tabbed.component.js +111 -0
  724. package/esm2015/tabbed/tabbed.module.js +36 -0
  725. package/esm2015/tabbed/tabbed.service.js +28 -0
  726. package/esm2015/tabbed/theseam-ui-common-tabbed.js +5 -0
  727. package/esm2015/table/public-api.js +3 -0
  728. package/esm2015/table/table/table.component.js +90 -0
  729. package/esm2015/table/table.module.js +23 -0
  730. package/esm2015/table/theseam-ui-common-table.js +5 -0
  731. package/esm2015/table-cell-type/public-api.js +12 -0
  732. package/esm2015/table-cell-type/services/table-cell-types-helpers.service.js +70 -0
  733. package/esm2015/table-cell-type/table-cell-type-action.js +2 -0
  734. package/esm2015/table-cell-type/table-cell-type-column.js +2 -0
  735. package/esm2015/table-cell-type/table-cell-type-config.js +2 -0
  736. package/esm2015/table-cell-type/table-cell-type-export-props.js +2 -0
  737. package/esm2015/table-cell-type/table-cell-type-manifest-provider.js +2 -0
  738. package/esm2015/table-cell-type/table-cell-type-models.js +2 -0
  739. package/esm2015/table-cell-type/table-cell-type-name.js +2 -0
  740. package/esm2015/table-cell-type/table-cell-type-selector.component.js +94 -0
  741. package/esm2015/table-cell-type/table-cell-type-tokens.js +4 -0
  742. package/esm2015/table-cell-type/table-cell-type.module.js +23 -0
  743. package/esm2015/table-cell-type/theseam-ui-common-table-cell-type.js +5 -0
  744. package/esm2015/table-cell-types/public-api.js +16 -0
  745. package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date-config.js +2 -0
  746. package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.component.js +55 -0
  747. package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.js +2 -0
  748. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js +2 -0
  749. package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.js +2 -0
  750. package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +166 -0
  751. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js +2 -0
  752. package/esm2015/table-cell-types/table-cell-type-manifests.js +91 -0
  753. package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.js +2 -0
  754. package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.js +66 -0
  755. package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.js +2 -0
  756. package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +160 -0
  757. package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.js +2 -0
  758. package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.js +78 -0
  759. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js +2 -0
  760. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +150 -0
  761. package/esm2015/table-cell-types/table-cell-types.module.js +71 -0
  762. package/esm2015/table-cell-types/theseam-ui-common-table-cell-types.js +5 -0
  763. package/esm2015/tel-input/intl-tel-input.js +55 -0
  764. package/esm2015/tel-input/models/index.js +3 -0
  765. package/esm2015/tel-input/models/tel-input-country-data.js +2 -0
  766. package/esm2015/tel-input/models/tel-input-number-format-name.js +8 -0
  767. package/esm2015/tel-input/phone-number.pipe.js +51 -0
  768. package/esm2015/tel-input/public-api.js +10 -0
  769. package/esm2015/tel-input/tel-input/tel-input.component.js +167 -0
  770. package/esm2015/tel-input/tel-input-constants.js +18 -0
  771. package/esm2015/tel-input/tel-input-validator.js +27 -0
  772. package/esm2015/tel-input/tel-input.directive.js +164 -0
  773. package/esm2015/tel-input/tel-input.module.js +29 -0
  774. package/esm2015/tel-input/theseam-ui-common-tel-input.js +5 -0
  775. package/esm2015/tel-input/utils/add-country-code.js +23 -0
  776. package/esm2015/tel-input/utils/coerce-phone-number-format.js +22 -0
  777. package/esm2015/tel-input/utils/get-country-code.js +9 -0
  778. package/esm2015/tel-input/utils/get-dial-code.js +45 -0
  779. package/esm2015/tel-input/utils/get-global-intl-tel-input-globals.js +4 -0
  780. package/esm2015/tel-input/utils/get-global-intl-tel-input-utils.js +4 -0
  781. package/esm2015/tel-input/utils/get-intl-tel-input-utils.js +17 -0
  782. package/esm2015/tel-input/utils/get-validation-error-message.js +12 -0
  783. package/esm2015/tel-input/utils/index.js +10 -0
  784. package/esm2015/tel-input/utils/process-country-codes.js +49 -0
  785. package/esm2015/test-helpers/public-api.js +2 -0
  786. package/esm2015/test-helpers/theseam-ui-common-test-helpers.js +5 -0
  787. package/esm2015/test-helpers/tick-helper.js +74 -0
  788. package/esm2015/theseam-ui-common.js +5 -0
  789. package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +197 -0
  790. package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +125 -0
  791. package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +54 -0
  792. package/esm2015/tiled-select/directives/tiled-select-tile-icon-tpl.directive.js +16 -0
  793. package/esm2015/tiled-select/directives/tiled-select-tile-label-tpl.directive.js +15 -0
  794. package/esm2015/tiled-select/directives/tiled-select-tile-overlay.directive.js +19 -0
  795. package/esm2015/tiled-select/public-api.js +9 -0
  796. package/esm2015/tiled-select/theseam-ui-common-tiled-select.js +5 -0
  797. package/esm2015/tiled-select/tiled-select.models.js +2 -0
  798. package/esm2015/tiled-select/tiled-select.module.js +35 -0
  799. package/esm2015/toggle-edit/models/can-toggle-edit.js +2 -0
  800. package/esm2015/toggle-edit/models/index.js +3 -0
  801. package/esm2015/toggle-edit/models/toggle-edit-ref.js +2 -0
  802. package/esm2015/toggle-edit/public-api.js +7 -0
  803. package/esm2015/toggle-edit/theseam-ui-common-toggle-edit.js +5 -0
  804. package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +15 -0
  805. package/esm2015/toggle-edit/toggle-edit-display-tpl.directive.js +15 -0
  806. package/esm2015/toggle-edit/toggle-edit-keyboard-listener.service.js +56 -0
  807. package/esm2015/toggle-edit/toggle-edit.component.js +403 -0
  808. package/esm2015/toggle-edit/toggle-edit.module.js +40 -0
  809. package/esm2015/toggle-group/public-api.js +4 -0
  810. package/esm2015/toggle-group/theseam-ui-common-toggle-group.js +5 -0
  811. package/esm2015/toggle-group/toggle-group-option.directive.js +44 -0
  812. package/esm2015/toggle-group/toggle-group.directive.js +192 -0
  813. package/esm2015/toggle-group/toggle-group.module.js +24 -0
  814. package/esm2015/unsaved-changes-dialog/public-api.js +5 -0
  815. package/esm2015/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.js +5 -0
  816. package/esm2015/unsaved-changes-dialog/unsaved-changes-can-deactivate.js +27 -0
  817. package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.component.js +20 -0
  818. package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.guard.js +35 -0
  819. package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.module.js +12 -0
  820. package/esm2015/utils/calc-percentage.js +4 -0
  821. package/esm2015/utils/cdk/get-closest-widget-cdk-drag.js +18 -0
  822. package/esm2015/utils/create-padding.js +17 -0
  823. package/esm2015/utils/file-utils.js +68 -0
  824. package/esm2015/utils/form/get-control-name.js +31 -0
  825. package/esm2015/utils/form/get-control-path.js +37 -0
  826. package/esm2015/utils/form/has-required-control.js +50 -0
  827. package/esm2015/utils/form/is-empty-input-value.js +6 -0
  828. package/esm2015/utils/form/observe-control-is-different.js +18 -0
  829. package/esm2015/utils/form/observe-control-status.js +17 -0
  830. package/esm2015/utils/form/observe-control-valid.js +30 -0
  831. package/esm2015/utils/form/observe-control-value-change.js +10 -0
  832. package/esm2015/utils/form/observe-control-value.js +11 -0
  833. package/esm2015/utils/form/wait-on-non-pending-status.js +18 -0
  834. package/esm2015/utils/fractional-digits-count.js +19 -0
  835. package/esm2015/utils/get-attribute.js +7 -0
  836. package/esm2015/utils/has-attribute.js +7 -0
  837. package/esm2015/utils/has-property.js +7 -0
  838. package/esm2015/utils/input-masks.js +2 -0
  839. package/esm2015/utils/is-absolute-url.js +17 -0
  840. package/esm2015/utils/is-null-or-undefined.js +4 -0
  841. package/esm2015/utils/is-numeric.js +4 -0
  842. package/esm2015/utils/load-style-sheet.js +14 -0
  843. package/esm2015/utils/load-style.js +13 -0
  844. package/esm2015/utils/not-null-or-undefined.js +4 -0
  845. package/esm2015/utils/obj-utils.js +27 -0
  846. package/esm2015/utils/observe-query-list.js +5 -0
  847. package/esm2015/utils/operators/index.js +3 -0
  848. package/esm2015/utils/operators/map-each.js +6 -0
  849. package/esm2015/utils/operators/tap-first.js +14 -0
  850. package/esm2015/utils/pad-end.js +9 -0
  851. package/esm2015/utils/pad-start.js +9 -0
  852. package/esm2015/utils/polling-ticker.js +121 -0
  853. package/esm2015/utils/public-api.js +38 -0
  854. package/esm2015/utils/refreshable.js +65 -0
  855. package/esm2015/utils/router/index.js +7 -0
  856. package/esm2015/utils/router/is-empty-url-route.js +4 -0
  857. package/esm2015/utils/router/leaf-child-route.js +8 -0
  858. package/esm2015/utils/router/operators/activated-routes-with-data-property.js +11 -0
  859. package/esm2015/utils/router/route-snapshot-path-full.js +5 -0
  860. package/esm2015/utils/router/route-snapshot-path-relative.js +4 -0
  861. package/esm2015/utils/router/will-have-data-prop.js +10 -0
  862. package/esm2015/utils/subscriber-count.js +19 -0
  863. package/esm2015/utils/theseam-ui-common-utils.js +5 -0
  864. package/esm2015/utils/toggle-attribute.js +35 -0
  865. package/esm2015/utils/wait-on-condition-async.js +33 -0
  866. package/esm2015/utils/wrap-into-observable.js +8 -0
  867. package/esm2015/validators/decimal.validator.js +25 -0
  868. package/esm2015/validators/email-exists.validator.js +18 -0
  869. package/esm2015/validators/integer.validator.js +25 -0
  870. package/esm2015/validators/phone-length.validator.js +8 -0
  871. package/esm2015/validators/public-api.js +6 -0
  872. package/esm2015/validators/tax-id.validator.js +13 -0
  873. package/esm2015/validators/theseam-ui-common-validators.js +5 -0
  874. package/esm2015/viewers/pdf-viewer/index.js +4 -0
  875. package/esm2015/viewers/pdf-viewer/pdf-page/pdf-page.component.js +134 -0
  876. package/esm2015/viewers/pdf-viewer/pdf-renderer.service.js +27 -0
  877. package/esm2015/viewers/pdf-viewer/pdf-viewer.component.js +149 -0
  878. package/esm2015/viewers/pdf-viewer/pdf-viewer.module.js +24 -0
  879. package/esm2015/viewers/public-api.js +2 -0
  880. package/esm2015/viewers/theseam-ui-common-viewers.js +5 -0
  881. package/esm2015/widget/directives/widget-drag-handle.directive.js +146 -0
  882. package/esm2015/widget/directives/widget-icon-tpl.directive.js +15 -0
  883. package/esm2015/widget/directives/widget-title-tpl.directive.js +15 -0
  884. package/esm2015/widget/public-api.js +38 -0
  885. package/esm2015/widget/theseam-ui-common-widget.js +5 -0
  886. package/esm2015/widget/widget/widget.component.js +121 -0
  887. package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +16 -0
  888. package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.module.js +22 -0
  889. package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +16 -0
  890. package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.module.js +19 -0
  891. package/esm2015/widget/widget-content-components/widget-description/widget-description.component.js +12 -0
  892. package/esm2015/widget/widget-content-components/widget-description/widget-description.module.js +19 -0
  893. package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +39 -0
  894. package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.module.js +19 -0
  895. package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +16 -0
  896. package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.module.js +19 -0
  897. package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +16 -0
  898. package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.module.js +19 -0
  899. package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +31 -0
  900. package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.module.js +19 -0
  901. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.js +16 -0
  902. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.js +162 -0
  903. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.component.js +19 -0
  904. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.module.js +31 -0
  905. package/esm2015/widget/widget-content-components/widget-table/widget-table.component.js +35 -0
  906. package/esm2015/widget/widget-content-components/widget-table/widget-table.module.js +23 -0
  907. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.js +19 -0
  908. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +43 -0
  909. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +16 -0
  910. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.js +16 -0
  911. package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +108 -0
  912. package/esm2015/widget/widget-content-components/widget-tile/widget-tile.module.js +33 -0
  913. package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +15 -0
  914. package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.module.js +21 -0
  915. package/esm2015/widget/widget-footer/widget-footer.component.js +16 -0
  916. package/esm2015/widget/widget-registry.models.js +2 -0
  917. package/esm2015/widget/widget-registry.service.js +56 -0
  918. package/esm2015/widget/widget-token.js +3 -0
  919. package/esm2015/widget/widget.module.js +70 -0
  920. package/fesm2015/theseam-ui-common-asset-reader.js +173 -0
  921. package/fesm2015/theseam-ui-common-asset-reader.js.map +1 -0
  922. package/fesm2015/theseam-ui-common-breadcrumbs.js +202 -0
  923. package/fesm2015/theseam-ui-common-breadcrumbs.js.map +1 -0
  924. package/fesm2015/theseam-ui-common-buttons.js +362 -0
  925. package/fesm2015/theseam-ui-common-buttons.js.map +1 -0
  926. package/fesm2015/theseam-ui-common-card.js +145 -0
  927. package/fesm2015/theseam-ui-common-card.js.map +1 -0
  928. package/fesm2015/theseam-ui-common-checkbox.js +302 -0
  929. package/fesm2015/theseam-ui-common-checkbox.js.map +1 -0
  930. package/fesm2015/theseam-ui-common-confirm-dialog.js +153 -0
  931. package/fesm2015/theseam-ui-common-confirm-dialog.js.map +1 -0
  932. package/fesm2015/theseam-ui-common-core.js +231 -0
  933. package/fesm2015/theseam-ui-common-core.js.map +1 -0
  934. package/fesm2015/theseam-ui-common-data-exporter.js +81 -0
  935. package/fesm2015/theseam-ui-common-data-exporter.js.map +1 -0
  936. package/fesm2015/theseam-ui-common-data-filters.js +452 -0
  937. package/fesm2015/theseam-ui-common-data-filters.js.map +1 -0
  938. package/fesm2015/theseam-ui-common-datatable-dynamic.js +991 -0
  939. package/fesm2015/theseam-ui-common-datatable-dynamic.js.map +1 -0
  940. package/fesm2015/theseam-ui-common-datatable.js +1714 -0
  941. package/fesm2015/theseam-ui-common-datatable.js.map +1 -0
  942. package/fesm2015/theseam-ui-common-dynamic-component-loader.js +143 -0
  943. package/fesm2015/theseam-ui-common-dynamic-component-loader.js.map +1 -0
  944. package/fesm2015/theseam-ui-common-dynamic.js +699 -0
  945. package/fesm2015/theseam-ui-common-dynamic.js.map +1 -0
  946. package/fesm2015/theseam-ui-common-footer-bar.js +36 -0
  947. package/fesm2015/theseam-ui-common-footer-bar.js.map +1 -0
  948. package/fesm2015/theseam-ui-common-form-field-error.js +464 -0
  949. package/fesm2015/theseam-ui-common-form-field-error.js.map +1 -0
  950. package/fesm2015/theseam-ui-common-form-field.js +506 -0
  951. package/fesm2015/theseam-ui-common-form-field.js.map +1 -0
  952. package/fesm2015/theseam-ui-common-framework.js +2650 -0
  953. package/fesm2015/theseam-ui-common-framework.js.map +1 -0
  954. package/fesm2015/theseam-ui-common-graphql.js +331 -0
  955. package/fesm2015/theseam-ui-common-graphql.js.map +1 -0
  956. package/fesm2015/theseam-ui-common-icon.js +518 -0
  957. package/fesm2015/theseam-ui-common-icon.js.map +1 -0
  958. package/fesm2015/theseam-ui-common-layout.js +89 -0
  959. package/fesm2015/theseam-ui-common-layout.js.map +1 -0
  960. package/fesm2015/theseam-ui-common-loading.js +131 -0
  961. package/fesm2015/theseam-ui-common-loading.js.map +1 -0
  962. package/fesm2015/theseam-ui-common-menu.js +762 -0
  963. package/fesm2015/theseam-ui-common-menu.js.map +1 -0
  964. package/fesm2015/theseam-ui-common-modal.js +1234 -0
  965. package/fesm2015/theseam-ui-common-modal.js.map +1 -0
  966. package/fesm2015/theseam-ui-common-models.js +54 -0
  967. package/fesm2015/theseam-ui-common-models.js.map +1 -0
  968. package/fesm2015/theseam-ui-common-popover.js +476 -0
  969. package/fesm2015/theseam-ui-common-popover.js.map +1 -0
  970. package/fesm2015/theseam-ui-common-progress.js +87 -0
  971. package/fesm2015/theseam-ui-common-progress.js.map +1 -0
  972. package/fesm2015/theseam-ui-common-scrollbar.js +184 -0
  973. package/fesm2015/theseam-ui-common-scrollbar.js.map +1 -0
  974. package/fesm2015/theseam-ui-common-services.js +140 -0
  975. package/fesm2015/theseam-ui-common-services.js.map +1 -0
  976. package/fesm2015/theseam-ui-common-shared.js +696 -0
  977. package/fesm2015/theseam-ui-common-shared.js.map +1 -0
  978. package/fesm2015/theseam-ui-common-storage.js +147 -0
  979. package/fesm2015/theseam-ui-common-storage.js.map +1 -0
  980. package/fesm2015/theseam-ui-common-story-helpers.js +441 -0
  981. package/fesm2015/theseam-ui-common-story-helpers.js.map +1 -0
  982. package/fesm2015/theseam-ui-common-tabbed.js +262 -0
  983. package/fesm2015/theseam-ui-common-tabbed.js.map +1 -0
  984. package/fesm2015/theseam-ui-common-table-cell-type.js +191 -0
  985. package/fesm2015/theseam-ui-common-table-cell-type.js.map +1 -0
  986. package/fesm2015/theseam-ui-common-table-cell-types.js +799 -0
  987. package/fesm2015/theseam-ui-common-table-cell-types.js.map +1 -0
  988. package/fesm2015/theseam-ui-common-table.js +118 -0
  989. package/fesm2015/theseam-ui-common-table.js.map +1 -0
  990. package/fesm2015/theseam-ui-common-tel-input.js +681 -0
  991. package/fesm2015/theseam-ui-common-tel-input.js.map +1 -0
  992. package/fesm2015/theseam-ui-common-test-helpers.js +81 -0
  993. package/fesm2015/theseam-ui-common-test-helpers.js.map +1 -0
  994. package/fesm2015/theseam-ui-common-tiled-select.js +448 -0
  995. package/fesm2015/theseam-ui-common-tiled-select.js.map +1 -0
  996. package/fesm2015/theseam-ui-common-toggle-edit.js +521 -0
  997. package/fesm2015/theseam-ui-common-toggle-edit.js.map +1 -0
  998. package/fesm2015/theseam-ui-common-toggle-group.js +260 -0
  999. package/fesm2015/theseam-ui-common-toggle-group.js.map +1 -0
  1000. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js +97 -0
  1001. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js.map +1 -0
  1002. package/fesm2015/theseam-ui-common-utils.js +797 -0
  1003. package/fesm2015/theseam-ui-common-utils.js.map +1 -0
  1004. package/fesm2015/theseam-ui-common-validators.js +94 -0
  1005. package/fesm2015/theseam-ui-common-validators.js.map +1 -0
  1006. package/fesm2015/theseam-ui-common-viewers.js +328 -0
  1007. package/fesm2015/theseam-ui-common-viewers.js.map +1 -0
  1008. package/fesm2015/theseam-ui-common-widget.js +1187 -0
  1009. package/fesm2015/theseam-ui-common-widget.js.map +1 -0
  1010. package/fesm2015/theseam-ui-common.js +47 -0
  1011. package/fesm2015/theseam-ui-common.js.map +1 -0
  1012. package/footer-bar/footer-bar/footer-bar.component.d.ts +5 -0
  1013. package/footer-bar/footer-bar.module.d.ts +2 -0
  1014. package/footer-bar/package.json +11 -0
  1015. package/footer-bar/public-api.d.ts +2 -0
  1016. package/footer-bar/theseam-ui-common-footer-bar.d.ts +4 -0
  1017. package/footer-bar/theseam-ui-common-footer-bar.metadata.json +1 -0
  1018. package/form-field/form-field-error.directive.d.ts +12 -0
  1019. package/form-field/form-field-help-text.directive.d.ts +5 -0
  1020. package/form-field/form-field-label-tpl.directive.d.ts +5 -0
  1021. package/form-field/form-field-required-indicator.component.d.ts +9 -0
  1022. package/form-field/form-field.component.d.ts +114 -0
  1023. package/form-field/form-field.module.d.ts +2 -0
  1024. package/form-field/input.directive.d.ts +72 -0
  1025. package/form-field/package.json +11 -0
  1026. package/form-field/public-api.d.ts +7 -0
  1027. package/form-field/theseam-ui-common-form-field.d.ts +4 -0
  1028. package/form-field/theseam-ui-common-form-field.metadata.json +1 -0
  1029. package/form-field-error/form-field-error/form-field-error.component.d.ts +8 -0
  1030. package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +9 -0
  1031. package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +6 -0
  1032. package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +63 -0
  1033. package/form-field-error/form-field-error.module.d.ts +2 -0
  1034. package/form-field-error/package.json +11 -0
  1035. package/form-field-error/public-api.d.ts +5 -0
  1036. package/form-field-error/theseam-ui-common-form-field-error.d.ts +4 -0
  1037. package/form-field-error/theseam-ui-common-form-field-error.metadata.json +1 -0
  1038. package/framework/base-layout/_base-layout-theme.scss +3 -0
  1039. package/framework/base-layout/base-layout-action.d.ts +31 -0
  1040. package/framework/base-layout/base-layout-nav.d.ts +18 -0
  1041. package/framework/base-layout/base-layout-ref.d.ts +14 -0
  1042. package/framework/base-layout/base-layout-tokens.d.ts +3 -0
  1043. package/framework/base-layout/base-layout.component.d.ts +43 -0
  1044. package/framework/base-layout/base-layout.component.scss +81 -0
  1045. package/framework/base-layout/base-layout.module.d.ts +2 -0
  1046. package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +6 -0
  1047. package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +6 -0
  1048. package/framework/base-layout/directives/base-layout-content.directive.d.ts +6 -0
  1049. package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +14 -0
  1050. package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +6 -0
  1051. package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +6 -0
  1052. package/framework/base-layout/index.d.ts +12 -0
  1053. package/framework/base-layout/styles/_utilities.scss +3 -0
  1054. package/framework/base-layout/styles/_variables.scss +9 -0
  1055. package/framework/dashboard/_dashboard-theme.scss +3 -0
  1056. package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +8 -0
  1057. package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.scss +0 -0
  1058. package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +11 -0
  1059. package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.scss +0 -0
  1060. package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +47 -0
  1061. package/framework/dashboard/dashboard-widgets/dashboard-widgets-item.d.ts +43 -0
  1062. package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.d.ts +3 -0
  1063. package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.d.ts +15 -0
  1064. package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +27 -0
  1065. package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +58 -0
  1066. package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.scss +48 -0
  1067. package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +34 -0
  1068. package/framework/dashboard/dashboard.component.d.ts +8 -0
  1069. package/framework/dashboard/dashboard.component.scss +0 -0
  1070. package/framework/dashboard/dashboard.module.d.ts +2 -0
  1071. package/framework/dashboard/index.d.ts +11 -0
  1072. package/framework/dashboard/styles/_utilities.scss +3 -0
  1073. package/framework/dashboard/styles/_variables.scss +2 -0
  1074. package/framework/dynamic-router/dynamic-route-def.d.ts +8 -0
  1075. package/framework/dynamic-router/dynamic-router.module.d.ts +2 -0
  1076. package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.d.ts +5 -0
  1077. package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +23 -0
  1078. package/framework/dynamic-router/index.d.ts +5 -0
  1079. package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +7 -0
  1080. package/framework/package.json +11 -0
  1081. package/framework/public-api.d.ts +6 -0
  1082. package/framework/schema-form/index.d.ts +3 -0
  1083. package/framework/schema-form/schema-form-framework.component.d.ts +5 -0
  1084. package/framework/schema-form/schema-form-framework.d.ts +18 -0
  1085. package/framework/schema-form/schema-form.module.d.ts +2 -0
  1086. package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +21 -0
  1087. package/framework/schema-form-controls/schema-form-controls.module.d.ts +2 -0
  1088. package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +19 -0
  1089. package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +22 -0
  1090. package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +20 -0
  1091. package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +18 -0
  1092. package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +34 -0
  1093. package/framework/side-nav/_side-nav-theme.scss +5 -0
  1094. package/framework/side-nav/index.d.ts +6 -0
  1095. package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +65 -0
  1096. package/framework/side-nav/side-nav-item/side-nav-item.component.scss +158 -0
  1097. package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +11 -0
  1098. package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +32 -0
  1099. package/framework/side-nav/side-nav-utils.d.ts +18 -0
  1100. package/framework/side-nav/side-nav.component.d.ts +40 -0
  1101. package/framework/side-nav/side-nav.component.scss +47 -0
  1102. package/framework/side-nav/side-nav.models.d.ts +64 -0
  1103. package/framework/side-nav/side-nav.module.d.ts +2 -0
  1104. package/framework/side-nav/side-nav.service.d.ts +21 -0
  1105. package/framework/side-nav/styles/_themes/light/_variables.scss +29 -0
  1106. package/framework/side-nav/styles/_themes/primary/_variables.scss +31 -0
  1107. package/framework/side-nav/styles/_utilities.scss +3 -0
  1108. package/framework/side-nav/styles/_variables.scss +2 -0
  1109. package/framework/theseam-ui-common-framework.d.ts +12 -0
  1110. package/framework/theseam-ui-common-framework.metadata.json +1 -0
  1111. package/framework/top-bar/index.d.ts +7 -0
  1112. package/framework/top-bar/top-bar-item.directive.d.ts +5 -0
  1113. package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +5 -0
  1114. package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +20 -0
  1115. package/framework/top-bar/top-bar-menu.directive.d.ts +5 -0
  1116. package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +7 -0
  1117. package/framework/top-bar/top-bar.component.d.ts +59 -0
  1118. package/framework/top-bar/top-bar.module.d.ts +2 -0
  1119. package/graphql/models/direction.d.ts +6 -0
  1120. package/graphql/models/hint-definition.d.ts +7 -0
  1121. package/graphql/models/hint-transform-operation.d.ts +5 -0
  1122. package/graphql/models/hint-transformer.d.ts +3 -0
  1123. package/graphql/models/hints-kind.d.ts +7 -0
  1124. package/graphql/models/hints-token.d.ts +7 -0
  1125. package/graphql/models/index.d.ts +8 -0
  1126. package/graphql/models/query-processing-config.d.ts +9 -0
  1127. package/graphql/models/variable.d.ts +5 -0
  1128. package/graphql/package.json +11 -0
  1129. package/graphql/public-api.d.ts +1 -0
  1130. package/graphql/theseam-ui-common-graphql.d.ts +4 -0
  1131. package/graphql/theseam-ui-common-graphql.metadata.json +1 -0
  1132. package/graphql/utils/contains-variable.d.ts +2 -0
  1133. package/graphql/utils/gql-var.d.ts +3 -0
  1134. package/graphql/utils/hints-tokens-containing-hint.d.ts +2 -0
  1135. package/graphql/utils/index.d.ts +10 -0
  1136. package/graphql/utils/inline-variables.d.ts +2 -0
  1137. package/graphql/utils/parse-comments.d.ts +2 -0
  1138. package/graphql/utils/parse-hints.d.ts +17 -0
  1139. package/graphql/utils/remove-variable-definition.d.ts +2 -0
  1140. package/graphql/utils/remove-variable-definitions-not-defined.d.ts +3 -0
  1141. package/graphql/utils/remove-variable.d.ts +2 -0
  1142. package/graphql/utils/to-gql.d.ts +1 -0
  1143. package/icon/icon/icon.component.d.ts +54 -0
  1144. package/icon/icon-btn/icon-btn.component.d.ts +74 -0
  1145. package/icon/icon-notification/icon-notification.component.d.ts +47 -0
  1146. package/icon/icon.d.ts +2 -0
  1147. package/icon/icon.module.d.ts +2 -0
  1148. package/icon/package.json +11 -0
  1149. package/icon/public-api.d.ts +6 -0
  1150. package/icon/theseam-ui-common-icon.d.ts +4 -0
  1151. package/icon/theseam-ui-common-icon.metadata.json +1 -0
  1152. package/icon/utils/file-extension-icon.d.ts +3 -0
  1153. package/icon/utils/get-known-icon.d.ts +2 -0
  1154. package/icon/utils/index.d.ts +2 -0
  1155. package/layout/breakpoint-aliases.d.ts +20 -0
  1156. package/layout/layout.module.d.ts +2 -0
  1157. package/layout/layout.service.d.ts +12 -0
  1158. package/layout/observe-media-query.d.ts +8 -0
  1159. package/layout/package.json +11 -0
  1160. package/layout/public-api.d.ts +4 -0
  1161. package/layout/theseam-ui-common-layout.d.ts +4 -0
  1162. package/layout/theseam-ui-common-layout.metadata.json +1 -0
  1163. package/loading/loading/loading.component.d.ts +9 -0
  1164. package/loading/loading-overlay.service.d.ts +13 -0
  1165. package/loading/loading-themes.d.ts +3 -0
  1166. package/loading/loading.models.d.ts +1 -0
  1167. package/loading/loading.module.d.ts +4 -0
  1168. package/loading/package.json +11 -0
  1169. package/loading/public-api.d.ts +5 -0
  1170. package/loading/theseam-ui-common-loading.d.ts +4 -0
  1171. package/loading/theseam-ui-common-loading.metadata.json +1 -0
  1172. package/menu/menu-animations.d.ts +8 -0
  1173. package/menu/menu-divider.component.d.ts +2 -0
  1174. package/menu/menu-footer/menu-footer.component.d.ts +9 -0
  1175. package/menu/menu-footer-action/menu-footer-action.component.d.ts +19 -0
  1176. package/menu/menu-header/menu-header.component.d.ts +9 -0
  1177. package/menu/menu-item.component.d.ts +41 -0
  1178. package/menu/menu-panel-token.d.ts +6 -0
  1179. package/menu/menu-panel.d.ts +20 -0
  1180. package/menu/menu-toggle.directive.d.ts +53 -0
  1181. package/menu/menu.component.d.ts +62 -0
  1182. package/menu/menu.module.d.ts +2 -0
  1183. package/menu/package.json +11 -0
  1184. package/menu/public-api.d.ts +11 -0
  1185. package/menu/theseam-ui-common-menu.d.ts +4 -0
  1186. package/menu/theseam-ui-common-menu.metadata.json +1 -0
  1187. package/modal/directives/modal-close.directive.d.ts +20 -0
  1188. package/modal/directives/modal-footer-tpl.directive.d.ts +5 -0
  1189. package/modal/directives/modal-header-icon-tpl.directive.d.ts +5 -0
  1190. package/modal/directives/modal-header-title-tpl.directive.d.ts +5 -0
  1191. package/modal/directives/modal-title.directive.d.ts +6 -0
  1192. package/modal/directives/modal.directive.d.ts +8 -0
  1193. package/modal/modal/modal.component.d.ts +56 -0
  1194. package/modal/modal-body/modal-body.component.d.ts +7 -0
  1195. package/modal/modal-config.d.ts +93 -0
  1196. package/modal/modal-container/modal-container.component.d.ts +77 -0
  1197. package/modal/modal-footer/modal-footer.component.d.ts +6 -0
  1198. package/modal/modal-header/modal-header.component.d.ts +11 -0
  1199. package/modal/modal-injectors.d.ts +23 -0
  1200. package/modal/modal-ref.d.ts +50 -0
  1201. package/modal/modal-utils.d.ts +8 -0
  1202. package/modal/modal.models.d.ts +24 -0
  1203. package/modal/modal.module.d.ts +2 -0
  1204. package/modal/modal.service.d.ts +95 -0
  1205. package/modal/package.json +11 -0
  1206. package/modal/public-api.d.ts +19 -0
  1207. package/modal/route-modal/route-modal.component.d.ts +16 -0
  1208. package/modal/theseam-ui-common-modal.d.ts +4 -0
  1209. package/modal/theseam-ui-common-modal.metadata.json +1 -0
  1210. package/models/component-type.d.ts +2 -0
  1211. package/models/http-status-codes.d.ts +18 -0
  1212. package/models/package.json +11 -0
  1213. package/models/public-api.d.ts +7 -0
  1214. package/models/size-prefixes.d.ts +1 -0
  1215. package/models/size-types.d.ts +1 -0
  1216. package/models/theme-names.d.ts +2 -0
  1217. package/models/theme-prefixes.d.ts +1 -0
  1218. package/models/theme-types.d.ts +2 -0
  1219. package/models/theseam-ui-common-models.d.ts +4 -0
  1220. package/models/theseam-ui-common-models.metadata.json +1 -0
  1221. package/package.json +61 -0
  1222. package/popover/package.json +11 -0
  1223. package/popover/popover/popover.component.d.ts +44 -0
  1224. package/popover/popover-animations.d.ts +4 -0
  1225. package/popover/popover.directive.d.ts +57 -0
  1226. package/popover/popover.module.d.ts +2 -0
  1227. package/popover/public-api.d.ts +4 -0
  1228. package/popover/theseam-ui-common-popover.d.ts +4 -0
  1229. package/popover/theseam-ui-common-popover.metadata.json +1 -0
  1230. package/progress/package.json +11 -0
  1231. package/progress/progress-circle/_progress-circle-theme.scss +3 -0
  1232. package/progress/progress-circle/progress-circle.component.d.ts +27 -0
  1233. package/progress/progress-circle/progress-circle.component.scss +105 -0
  1234. package/progress/progress-circle/styles/_utilities.scss +3 -0
  1235. package/progress/progress-circle/styles/_variables.scss +8 -0
  1236. package/progress/progress.module.d.ts +2 -0
  1237. package/progress/public-api.d.ts +2 -0
  1238. package/progress/theseam-ui-common-progress.d.ts +4 -0
  1239. package/progress/theseam-ui-common-progress.metadata.json +1 -0
  1240. package/public_api.d.ts +2 -0
  1241. package/scrollbar/overlay-scrollbar.directive.d.ts +21 -0
  1242. package/scrollbar/overlay-scrollbars-config-model.d.ts +2 -0
  1243. package/scrollbar/overlay-scrollbars-config.d.ts +51 -0
  1244. package/scrollbar/overlay-scrollbars.service.d.ts +20 -0
  1245. package/scrollbar/package.json +11 -0
  1246. package/scrollbar/public-api.d.ts +5 -0
  1247. package/scrollbar/scrollbar.module.d.ts +2 -0
  1248. package/scrollbar/theseam-ui-common-scrollbar.d.ts +4 -0
  1249. package/scrollbar/theseam-ui-common-scrollbar.metadata.json +1 -0
  1250. package/services/asset-loader.service.d.ts +13 -0
  1251. package/services/font-loader.service.d.ts +43 -0
  1252. package/services/package.json +11 -0
  1253. package/services/public-api.d.ts +3 -0
  1254. package/services/router-helpers.service.d.ts +7 -0
  1255. package/services/theseam-ui-common-services.d.ts +4 -0
  1256. package/services/theseam-ui-common-services.metadata.json +1 -0
  1257. package/shared/components/index.d.ts +1 -0
  1258. package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +14 -0
  1259. package/shared/directives/auto-focus.directive.d.ts +15 -0
  1260. package/shared/directives/click-outside.directive.d.ts +10 -0
  1261. package/shared/directives/disable-control.directive.d.ts +6 -0
  1262. package/shared/directives/elem-resized.directive.d.ts +17 -0
  1263. package/shared/directives/hover-class-toggle.directive.d.ts +33 -0
  1264. package/shared/directives/hover-class.directive.d.ts +28 -0
  1265. package/shared/directives/index.d.ts +8 -0
  1266. package/shared/directives/ng-select-extra.directive.d.ts +39 -0
  1267. package/shared/directives/ngx-quill-extra.directive.d.ts +20 -0
  1268. package/shared/package.json +11 -0
  1269. package/shared/pipes/index.d.ts +2 -0
  1270. package/shared/pipes/mask-chars.pipe.d.ts +4 -0
  1271. package/shared/pipes/truncate.pipe.d.ts +4 -0
  1272. package/shared/public-api.d.ts +4 -0
  1273. package/shared/shared.module.d.ts +2 -0
  1274. package/shared/theseam-ui-common-shared.d.ts +4 -0
  1275. package/shared/theseam-ui-common-shared.metadata.json +1 -0
  1276. package/storage/local-storage.service.d.ts +28 -0
  1277. package/storage/localstorage-memory.d.ts +37 -0
  1278. package/storage/package.json +11 -0
  1279. package/storage/public-api.d.ts +1 -0
  1280. package/storage/theseam-ui-common-storage.d.ts +4 -0
  1281. package/storage/theseam-ui-common-storage.metadata.json +1 -0
  1282. package/story-helpers/arg-type-helpers.d.ts +5 -0
  1283. package/story-helpers/args-to-tpl.d.ts +24 -0
  1284. package/story-helpers/initial-route-factory.d.ts +2 -0
  1285. package/story-helpers/initial-route.service.d.ts +7 -0
  1286. package/story-helpers/on-story-bootstrapped-exec.d.ts +29 -0
  1287. package/story-helpers/on-story-bootstrapped-trigger.d.ts +23 -0
  1288. package/story-helpers/package.json +11 -0
  1289. package/story-helpers/public-api.d.ts +14 -0
  1290. package/story-helpers/route-button.d.ts +5 -0
  1291. package/story-helpers/routes-arg-type.d.ts +2 -0
  1292. package/story-helpers/story-empty-with-route.component.d.ts +2 -0
  1293. package/story-helpers/story-empty.component.d.ts +2 -0
  1294. package/story-helpers/story-helper-components.module.d.ts +2 -0
  1295. package/story-helpers/story-initial-route.d.ts +4 -0
  1296. package/story-helpers/story-modal-container.component.d.ts +20 -0
  1297. package/story-helpers/story-toastr.service.d.ts +30 -0
  1298. package/story-helpers/theseam-ui-common-story-helpers.d.ts +4 -0
  1299. package/story-helpers/theseam-ui-common-story-helpers.metadata.json +1 -0
  1300. package/styles/_storybook-fixes.scss +7 -0
  1301. package/styles/_variables.scss +0 -0
  1302. package/styles/bootstrap/_bootstrap.scss +45 -0
  1303. package/styles/bootstrap/_bs-styles.scss +105 -0
  1304. package/styles/bootstrap/_bs-utilities.scss +5 -0
  1305. package/styles/bootstrap/_bs-variables.scss +141 -0
  1306. package/styles/common/_forms.scss +15 -0
  1307. package/styles/common/_global.scss +9 -0
  1308. package/styles/common/_hacks.scss +14 -0
  1309. package/styles/common/_table.scss +124 -0
  1310. package/styles/common/_text.scss +1 -0
  1311. package/styles/theme.scss +19 -0
  1312. package/styles/utilities.scss +14 -0
  1313. package/styles/vendor/_vendor.scss +3 -0
  1314. package/styles/vendor/ng-select/_ng-select-bs4.scss +445 -0
  1315. package/styles/vendor/ngx-datatable/_ngx-datatable.scss +108 -0
  1316. package/styles/vendor/quill/_quill.scss +26 -0
  1317. package/tabbed/directives/tabbed-tab-content.directive.d.ts +4 -0
  1318. package/tabbed/directives/tabbed-tab.directive.d.ts +9 -0
  1319. package/tabbed/package.json +11 -0
  1320. package/tabbed/public-api.d.ts +7 -0
  1321. package/tabbed/tabbed-content/tabbed-content.component.d.ts +7 -0
  1322. package/tabbed/tabbed-item/tabbed-item.component.d.ts +14 -0
  1323. package/tabbed/tabbed.component.d.ts +36 -0
  1324. package/tabbed/tabbed.module.d.ts +2 -0
  1325. package/tabbed/tabbed.service.d.ts +8 -0
  1326. package/tabbed/theseam-ui-common-tabbed.d.ts +4 -0
  1327. package/tabbed/theseam-ui-common-tabbed.metadata.json +1 -0
  1328. package/table/package.json +11 -0
  1329. package/table/public-api.d.ts +2 -0
  1330. package/table/table/table.component.d.ts +43 -0
  1331. package/table/table.module.d.ts +2 -0
  1332. package/table/theseam-ui-common-table.d.ts +4 -0
  1333. package/table/theseam-ui-common-table.metadata.json +1 -0
  1334. package/table-cell-type/package.json +11 -0
  1335. package/table-cell-type/public-api.d.ts +11 -0
  1336. package/table-cell-type/services/table-cell-types-helpers.service.d.ts +15 -0
  1337. package/table-cell-type/table-cell-type-action.d.ts +13 -0
  1338. package/table-cell-type/table-cell-type-column.d.ts +12 -0
  1339. package/table-cell-type/table-cell-type-config.d.ts +12 -0
  1340. package/table-cell-type/table-cell-type-export-props.d.ts +15 -0
  1341. package/table-cell-type/table-cell-type-manifest-provider.d.ts +7 -0
  1342. package/table-cell-type/table-cell-type-models.d.ts +39 -0
  1343. package/table-cell-type/table-cell-type-name.d.ts +1 -0
  1344. package/table-cell-type/table-cell-type-selector.component.d.ts +25 -0
  1345. package/table-cell-type/table-cell-type-tokens.d.ts +4 -0
  1346. package/table-cell-type/table-cell-type.module.d.ts +2 -0
  1347. package/table-cell-type/theseam-ui-common-table-cell-type.d.ts +4 -0
  1348. package/table-cell-type/theseam-ui-common-table-cell-type.metadata.json +1 -0
  1349. package/table-cell-types/package.json +11 -0
  1350. package/table-cell-types/public-api.d.ts +15 -0
  1351. package/table-cell-types/table-cell-type-date/table-cell-type-date-config.d.ts +9 -0
  1352. package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +12 -0
  1353. package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +3 -0
  1354. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +3 -0
  1355. package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +34 -0
  1356. package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +53 -0
  1357. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +3 -0
  1358. package/table-cell-types/table-cell-type-manifests.d.ts +10 -0
  1359. package/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.d.ts +13 -0
  1360. package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +17 -0
  1361. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +29 -0
  1362. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +48 -0
  1363. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +49 -0
  1364. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +21 -0
  1365. package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +10 -0
  1366. package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +45 -0
  1367. package/table-cell-types/table-cell-types.module.d.ts +2 -0
  1368. package/table-cell-types/theseam-ui-common-table-cell-types.d.ts +6 -0
  1369. package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +1 -0
  1370. package/tel-input/intl-tel-input.d.ts +300 -0
  1371. package/tel-input/models/index.d.ts +2 -0
  1372. package/tel-input/models/tel-input-country-data.d.ts +9 -0
  1373. package/tel-input/models/tel-input-number-format-name.d.ts +4 -0
  1374. package/tel-input/package.json +11 -0
  1375. package/tel-input/phone-number.pipe.d.ts +11 -0
  1376. package/tel-input/public-api.d.ts +9 -0
  1377. package/tel-input/tel-input/tel-input.component.d.ts +83 -0
  1378. package/tel-input/tel-input-constants.d.ts +4 -0
  1379. package/tel-input/tel-input-validator.d.ts +7 -0
  1380. package/tel-input/tel-input.directive.d.ts +28 -0
  1381. package/tel-input/tel-input.module.d.ts +2 -0
  1382. package/tel-input/theseam-ui-common-tel-input.d.ts +4 -0
  1383. package/tel-input/theseam-ui-common-tel-input.metadata.json +1 -0
  1384. package/tel-input/utils/add-country-code.d.ts +7 -0
  1385. package/tel-input/utils/coerce-phone-number-format.d.ts +7 -0
  1386. package/tel-input/utils/get-country-code.d.ts +2 -0
  1387. package/tel-input/utils/get-dial-code.d.ts +9 -0
  1388. package/tel-input/utils/get-global-intl-tel-input-globals.d.ts +2 -0
  1389. package/tel-input/utils/get-global-intl-tel-input-utils.d.ts +2 -0
  1390. package/tel-input/utils/get-intl-tel-input-utils.d.ts +2 -0
  1391. package/tel-input/utils/get-validation-error-message.d.ts +5 -0
  1392. package/tel-input/utils/index.d.ts +9 -0
  1393. package/tel-input/utils/process-country-codes.d.ts +8 -0
  1394. package/test-helpers/package.json +11 -0
  1395. package/test-helpers/public-api.d.ts +1 -0
  1396. package/test-helpers/theseam-ui-common-test-helpers.d.ts +4 -0
  1397. package/test-helpers/theseam-ui-common-test-helpers.metadata.json +1 -0
  1398. package/test-helpers/tick-helper.d.ts +70 -0
  1399. package/theseam-ui-common.d.ts +4 -0
  1400. package/theseam-ui-common.metadata.json +1 -0
  1401. package/tiled-select/components/tiled-select/tiled-select.component.d.ts +50 -0
  1402. package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +41 -0
  1403. package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +26 -0
  1404. package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +5 -0
  1405. package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +5 -0
  1406. package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +7 -0
  1407. package/tiled-select/package.json +11 -0
  1408. package/tiled-select/public-api.d.ts +8 -0
  1409. package/tiled-select/theseam-ui-common-tiled-select.d.ts +4 -0
  1410. package/tiled-select/theseam-ui-common-tiled-select.metadata.json +1 -0
  1411. package/tiled-select/tiled-select.models.d.ts +11 -0
  1412. package/tiled-select/tiled-select.module.d.ts +2 -0
  1413. package/toggle-edit/models/can-toggle-edit.d.ts +7 -0
  1414. package/toggle-edit/models/index.d.ts +2 -0
  1415. package/toggle-edit/models/toggle-edit-ref.d.ts +30 -0
  1416. package/toggle-edit/package.json +11 -0
  1417. package/toggle-edit/public-api.d.ts +6 -0
  1418. package/toggle-edit/theseam-ui-common-toggle-edit.d.ts +4 -0
  1419. package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +1 -0
  1420. package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +5 -0
  1421. package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +5 -0
  1422. package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +14 -0
  1423. package/toggle-edit/toggle-edit.component.d.ts +90 -0
  1424. package/toggle-edit/toggle-edit.module.d.ts +2 -0
  1425. package/toggle-group/package.json +11 -0
  1426. package/toggle-group/public-api.d.ts +3 -0
  1427. package/toggle-group/theseam-ui-common-toggle-group.d.ts +4 -0
  1428. package/toggle-group/theseam-ui-common-toggle-group.metadata.json +1 -0
  1429. package/toggle-group/toggle-group-option.directive.d.ts +15 -0
  1430. package/toggle-group/toggle-group.directive.d.ts +36 -0
  1431. package/toggle-group/toggle-group.module.d.ts +2 -0
  1432. package/unsaved-changes-dialog/package.json +11 -0
  1433. package/unsaved-changes-dialog/public-api.d.ts +4 -0
  1434. package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.d.ts +4 -0
  1435. package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.metadata.json +1 -0
  1436. package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +4 -0
  1437. package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +5 -0
  1438. package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +8 -0
  1439. package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +2 -0
  1440. package/utils/calc-percentage.d.ts +1 -0
  1441. package/utils/cdk/get-closest-widget-cdk-drag.d.ts +8 -0
  1442. package/utils/create-padding.d.ts +1 -0
  1443. package/utils/file-utils.d.ts +12 -0
  1444. package/utils/form/get-control-name.d.ts +22 -0
  1445. package/utils/form/get-control-path.d.ts +27 -0
  1446. package/utils/form/has-required-control.d.ts +31 -0
  1447. package/utils/form/is-empty-input-value.d.ts +1 -0
  1448. package/utils/form/observe-control-is-different.d.ts +13 -0
  1449. package/utils/form/observe-control-status.d.ts +7 -0
  1450. package/utils/form/observe-control-valid.d.ts +14 -0
  1451. package/utils/form/observe-control-value-change.d.ts +9 -0
  1452. package/utils/form/observe-control-value.d.ts +6 -0
  1453. package/utils/form/wait-on-non-pending-status.d.ts +12 -0
  1454. package/utils/fractional-digits-count.d.ts +8 -0
  1455. package/utils/get-attribute.d.ts +4 -0
  1456. package/utils/has-attribute.d.ts +4 -0
  1457. package/utils/has-property.d.ts +1 -0
  1458. package/utils/input-masks.d.ts +1 -0
  1459. package/utils/is-absolute-url.d.ts +1 -0
  1460. package/utils/is-null-or-undefined.d.ts +1 -0
  1461. package/utils/is-numeric.d.ts +1 -0
  1462. package/utils/load-style-sheet.d.ts +1 -0
  1463. package/utils/load-style.d.ts +1 -0
  1464. package/utils/not-null-or-undefined.d.ts +1 -0
  1465. package/utils/obj-utils.d.ts +8 -0
  1466. package/utils/observe-query-list.d.ts +3 -0
  1467. package/utils/operators/index.d.ts +2 -0
  1468. package/utils/operators/map-each.d.ts +2 -0
  1469. package/utils/operators/tap-first.d.ts +5 -0
  1470. package/utils/package.json +11 -0
  1471. package/utils/pad-end.d.ts +1 -0
  1472. package/utils/pad-start.d.ts +1 -0
  1473. package/utils/polling-ticker.d.ts +13 -0
  1474. package/utils/public-api.d.ts +37 -0
  1475. package/utils/refreshable.d.ts +20 -0
  1476. package/utils/router/index.d.ts +6 -0
  1477. package/utils/router/is-empty-url-route.d.ts +2 -0
  1478. package/utils/router/leaf-child-route.d.ts +2 -0
  1479. package/utils/router/operators/activated-routes-with-data-property.d.ts +7 -0
  1480. package/utils/router/route-snapshot-path-full.d.ts +2 -0
  1481. package/utils/router/route-snapshot-path-relative.d.ts +2 -0
  1482. package/utils/router/will-have-data-prop.d.ts +2 -0
  1483. package/utils/subscriber-count.d.ts +1 -0
  1484. package/utils/theseam-ui-common-utils.d.ts +4 -0
  1485. package/utils/theseam-ui-common-utils.metadata.json +1 -0
  1486. package/utils/toggle-attribute.d.ts +16 -0
  1487. package/utils/wait-on-condition-async.d.ts +1 -0
  1488. package/utils/wrap-into-observable.d.ts +2 -0
  1489. package/validators/decimal.validator.d.ts +9 -0
  1490. package/validators/email-exists.validator.d.ts +10 -0
  1491. package/validators/integer.validator.d.ts +9 -0
  1492. package/validators/package.json +11 -0
  1493. package/validators/phone-length.validator.d.ts +7 -0
  1494. package/validators/public-api.d.ts +5 -0
  1495. package/validators/tax-id.validator.d.ts +11 -0
  1496. package/validators/theseam-ui-common-validators.d.ts +4 -0
  1497. package/validators/theseam-ui-common-validators.metadata.json +1 -0
  1498. package/viewers/package.json +11 -0
  1499. package/viewers/pdf-viewer/index.d.ts +3 -0
  1500. package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +39 -0
  1501. package/viewers/pdf-viewer/pdf-renderer.service.d.ts +6 -0
  1502. package/viewers/pdf-viewer/pdf-viewer.component.d.ts +59 -0
  1503. package/viewers/pdf-viewer/pdf-viewer.module.d.ts +2 -0
  1504. package/viewers/public-api.d.ts +1 -0
  1505. package/viewers/theseam-ui-common-viewers.d.ts +4 -0
  1506. package/viewers/theseam-ui-common-viewers.metadata.json +1 -0
  1507. package/widget/_widget-theme.scss +15 -0
  1508. package/widget/directives/widget-drag-handle.directive.d.ts +53 -0
  1509. package/widget/directives/widget-icon-tpl.directive.d.ts +5 -0
  1510. package/widget/directives/widget-title-tpl.directive.d.ts +5 -0
  1511. package/widget/package.json +11 -0
  1512. package/widget/public-api.d.ts +37 -0
  1513. package/widget/styles/_utilities.scss +3 -0
  1514. package/widget/styles/_variables.scss +27 -0
  1515. package/widget/theseam-ui-common-widget.d.ts +4 -0
  1516. package/widget/theseam-ui-common-widget.metadata.json +1 -0
  1517. package/widget/widget/widget.component.d.ts +78 -0
  1518. package/widget/widget/widget.component.scss +107 -0
  1519. package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +5 -0
  1520. package/widget/widget-content-components/widget-button-group/widget-button-group.component.scss +3 -0
  1521. package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +2 -0
  1522. package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +5 -0
  1523. package/widget/widget-content-components/widget-content-header/widget-content-header.component.scss +6 -0
  1524. package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +2 -0
  1525. package/widget/widget-content-components/widget-description/widget-description.component.d.ts +2 -0
  1526. package/widget/widget-content-components/widget-description/widget-description.component.scss +0 -0
  1527. package/widget/widget-content-components/widget-description/widget-description.module.d.ts +2 -0
  1528. package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +15 -0
  1529. package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.scss +9 -0
  1530. package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +2 -0
  1531. package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +5 -0
  1532. package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.scss +8 -0
  1533. package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +2 -0
  1534. package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +5 -0
  1535. package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.scss +7 -0
  1536. package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +2 -0
  1537. package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +12 -0
  1538. package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.scss +5 -0
  1539. package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +2 -0
  1540. package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +5 -0
  1541. package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +57 -0
  1542. package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.scss +0 -0
  1543. package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +5 -0
  1544. package/widget/widget-content-components/widget-list-group/widget-list-group.component.scss +0 -0
  1545. package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +2 -0
  1546. package/widget/widget-content-components/widget-table/widget-table.component.d.ts +14 -0
  1547. package/widget/widget-content-components/widget-table/widget-table.component.scss +0 -0
  1548. package/widget/widget-content-components/widget-table/widget-table.module.d.ts +2 -0
  1549. package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +5 -0
  1550. package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.scss +0 -0
  1551. package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +15 -0
  1552. package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.scss +5 -0
  1553. package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +5 -0
  1554. package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.scss +14 -0
  1555. package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +5 -0
  1556. package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +44 -0
  1557. package/widget/widget-content-components/widget-tile/widget-tile.component.scss +70 -0
  1558. package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +2 -0
  1559. package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +5 -0
  1560. package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.scss +6 -0
  1561. package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +2 -0
  1562. package/widget/widget-footer/widget-footer.component.d.ts +5 -0
  1563. package/widget/widget-footer/widget-footer.component.scss +16 -0
  1564. package/widget/widget-registry.models.d.ts +20 -0
  1565. package/widget/widget-registry.service.d.ts +16 -0
  1566. package/widget/widget-token.d.ts +3 -0
  1567. package/widget/widget.module.d.ts +2 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theseam-ui-common-menu.umd.js","sources":["../../../projects/ui-common/menu/menu-animations.ts","../../../projects/ui-common/menu/menu-divider.component.ts","../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-common/menu/menu-panel-token.ts","../../../projects/ui-common/menu/menu-item.component.ts","../../../projects/ui-common/menu/menu-toggle.directive.ts","../../../projects/ui-common/menu/menu.component.ts","../../../projects/ui-common/menu/menu-footer-action/menu-footer-action.component.ts","../../../projects/ui-common/menu/menu-footer/menu-footer.component.ts","../../../projects/ui-common/menu/menu-header/menu-header.component.ts","../../../projects/ui-common/menu/menu.module.ts","../../../projects/ui-common/menu/theseam-ui-common-menu.ts"],"sourcesContent":["import { animate, animation, group, query, style, useAnimation } from '@angular/animations'\n\nexport const menuDropdownPanelSlideIn = animation([\n style({\n opacity: 0,\n transform: 'translateY(-70%)'\n }),\n group([\n animate('170ms linear', style({ opacity: 1 })),\n animate('220ms ease', style({ transform: 'translateY(0)' })),\n ])\n])\n\nexport const menuDropdownPanelSlideOut = animation([\n style({\n opacity: 1,\n transform: 'translateY(0)'\n }),\n group([\n animate('170ms linear', style({ opacity: 0 })),\n animate('220ms ease', style({ transform: 'translateY(-70%)' })),\n ])\n])\n\nexport const menuDropdownPanelExpandIn = animation([\n style({\n opacity: 0,\n transform: 'scale(0.8)'\n }),\n group([\n animate('100ms linear', style({ opacity: 1 })),\n animate('120ms ease', style({ transform: 'scale(1)' })),\n ])\n])\n\nexport const menuDropdownPanelExpandOut = animation([\n style({\n opacity: 1,\n transform: 'scale(1)'\n }),\n group([\n animate('100ms linear', style({ opacity: 0 })),\n animate('120ms ease', style({ transform: 'scale(0.8)' })),\n ])\n])\n\nexport const menuDropdownPanelFadeIn = animation([\n style({ transform: 'translateY(-30px)', opacity: '0' }),\n animate('250ms', style({ transform: 'translateY(0)', opacity: '1' }))\n])\n\nexport const menuDropdownPanelFadeOut = animation([\n style({ transform: 'translateY(0)', opacity: '1' }),\n animate('250ms', style({ transform: 'translateY(-30px)', opacity: '0' }))\n])\n\nexport const menuDropdownPanelIn = animation([\n query('.seam-menu-container.seam-menu-anim--slide .dropdown-menu', useAnimation(menuDropdownPanelSlideIn), { optional: true }),\n query('.seam-menu-container.seam-menu-anim--fade .dropdown-menu', useAnimation(menuDropdownPanelFadeIn), { optional: true })\n])\n\nexport const menuDropdownPanelOut = animation([\n query('.seam-menu-container.seam-menu-anim--slide .dropdown-menu', useAnimation(menuDropdownPanelSlideOut), { optional: true }),\n query('.seam-menu-container.seam-menu-anim--fade .dropdown-menu', useAnimation(menuDropdownPanelFadeOut), { optional: true })\n])\n","import { ChangeDetectionStrategy, Component } from '@angular/core'\n\n@Component({\n selector: 'seam-menu-divider',\n template: ``,\n styles: [],\n // tslint:disable-next-line:use-host-property-decorator\n host: {\n 'class': 'dropdown-divider d-block'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MenuDividerComponent { }\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { InjectionToken } from '@angular/core'\n\nimport { ITheSeamMenuPanel } from './menu-panel'\n\n/**\n * Injection token used to provide the parent menu to menu-specific components.\n */\nexport const THESEAM_MENU_PANEL = new InjectionToken<ITheSeamMenuPanel>('THESEAM_MENU_PANEL')\n","import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y'\nimport { DOCUMENT } from '@angular/common'\nimport { ChangeDetectionStrategy, Component, ElementRef, HostListener, Inject, Input, OnDestroy, OnInit, Optional } from '@angular/core'\nimport { Subject } from 'rxjs'\n\nimport { CanDisableCtor, mixinDisabled } from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport type { ITheSeamMenuPanel } from './menu-panel'\nimport { THESEAM_MENU_PANEL } from './menu-panel-token'\n\nclass TheSeamMenuItemBase {}\n\nconst _seamMenuItemMixinBase: CanDisableCtor & typeof TheSeamMenuItemBase =\n mixinDisabled(TheSeamMenuItemBase)\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: '[seamMenuItem]',\n templateUrl: './menu-item.component.html',\n styleUrls: ['./menu-item.component.scss'],\n exportAs: 'seamMenuItem',\n // tslint:disable-next-line:use-input-property-decorator\n inputs: [ 'disabled' ],\n // tslint:disable-next-line:use-host-property-decorator\n host: {\n '[attr.role]': 'role',\n 'class': 'dropdown-item',\n '[attr.tabindex]': '_getTabIndex()',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MenuItemComponent extends _seamMenuItemMixinBase implements OnInit, OnDestroy, FocusableOption {\n\n /** ARIA role for the menu item. */\n @Input() role: 'menuitem' | 'menuitemradio' | 'menuitemcheckbox' | undefined | null = 'menuitem'\n\n @Input() icon: SeamIcon | string | undefined | null\n @Input() iconClass: string | undefined | null\n\n @Input() badgeText: string | undefined | null\n @Input() badgeTheme: string | undefined | null = 'danger'\n\n /** Stream that emits when the menu item is hovered. */\n readonly _hovered: Subject<MenuItemComponent> = new Subject<MenuItemComponent>()\n\n /** Whether the menu item is highlighted. */\n _highlighted = false\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>,\n @Inject(DOCUMENT) public document: any,\n private _focusMonitor: FocusMonitor,\n @Inject(THESEAM_MENU_PANEL) @Optional() private _parentMenu?: ITheSeamMenuPanel<MenuItemComponent>\n ) {\n super()\n\n if (_focusMonitor) {\n // Start monitoring the element so it gets the appropriate focused classes. We want\n // to show the focus style for menu items only when the focus was not caused by a\n // mouse or touch interaction.\n _focusMonitor.monitor(this._elementRef, false)\n }\n\n // console.log(this._parentMenu)\n if (_parentMenu && _parentMenu.addItem) {\n _parentMenu.addItem(this)\n }\n }\n\n ngOnInit() { }\n\n ngOnDestroy() {\n if (this._focusMonitor) {\n this._focusMonitor.stopMonitoring(this._elementRef)\n }\n\n if (this._parentMenu && this._parentMenu.removeItem) {\n this._parentMenu.removeItem(this)\n }\n\n this._hovered.complete()\n }\n\n /** Focuses the menu item. */\n focus(origin: FocusOrigin = 'program'): void {\n if (this._focusMonitor) {\n this._focusMonitor.focusVia(this._getHostElement(), origin)\n } else {\n this._getHostElement().focus()\n }\n }\n\n /** Used to set the `tabindex`. */\n _getTabIndex(): string {\n return this.disabled ? '-1' : '0'\n }\n\n /** Returns the host DOM element. */\n _getHostElement(): HTMLElement {\n return this._elementRef.nativeElement\n }\n\n /** Prevents the default element actions if it is disabled. */\n @HostListener('click', ['$event'])\n _checkDisabled(event: Event): void {\n if (this.disabled) {\n event.preventDefault()\n event.stopPropagation()\n }\n }\n\n /** Emits to the hover stream. */\n @HostListener('mouseenter')\n _handleMouseEnter() {\n this._hovered.next(this)\n }\n\n /** Gets the label to be used when determining whether the option should be focused. */\n getLabel(): string {\n const element: HTMLElement = this._elementRef.nativeElement\n const textNodeType = this.document ? this.document.TEXT_NODE : 3\n let output = ''\n\n if (element.childNodes) {\n const length = element.childNodes.length\n\n // Go through all the top-level text nodes and extract their text.\n // We skip anything that's not a text node to prevent the text from\n // being thrown off by something like an icon.\n for (let i = 0; i < length; i++) {\n if (element.childNodes[i].nodeType === textNodeType) {\n output += element.childNodes[i].textContent\n }\n }\n }\n\n return output.trim()\n }\n\n}\n","import { FocusMonitor, FocusOrigin, isFakeMousedownFromScreenReader } from '@angular/cdk/a11y'\nimport { DOWN_ARROW, ESCAPE, UP_ARROW } from '@angular/cdk/keycodes'\nimport { ConnectionPositionPair, Overlay, OverlayRef, PositionStrategy } from '@angular/cdk/overlay'\nimport { normalizePassiveListenerOptions } from '@angular/cdk/platform'\nimport { TemplatePortal } from '@angular/cdk/portal'\nimport { Directive, ElementRef, HostListener, Inject, Input, OnDestroy, Optional, ViewContainerRef } from '@angular/core'\nimport { merge, of, Subscription } from 'rxjs'\n\nimport { MenuItemComponent } from './menu-item.component'\nimport { ITheSeamMenuPanel } from './menu-panel'\nimport { THESEAM_MENU_PANEL } from './menu-panel-token'\nimport { MenuComponent } from './menu.component'\n\n/** Options for binding a passive event listener. */\nconst passiveEventListenerOptions = normalizePassiveListenerOptions({passive: true})\n\n@Directive({\n selector: '[seamMenuToggle]',\n // tslint:disable-next-line:use-host-property-decorator\n host: {\n 'aria-haspopup': 'true',\n '[attr.aria-expanded]': 'menuOpen() || null'\n },\n exportAs: 'seamMenuToggle'\n})\nexport class MenuToggleDirective implements OnDestroy {\n\n private _active = false\n private _overlayRef?: OverlayRef\n private _menuClosedSubscription = Subscription.EMPTY\n private _closingActionsSubscription = Subscription.EMPTY\n\n public restoreFocus = true\n\n // Tracking input type is necessary so it's possible to only auto-focus\n // the first item of the list when the menu is opened via the keyboard\n _openedBy: 'mouse' | 'touch' | null = null\n\n @Input() seamMenuToggle: MenuComponent | undefined | null\n\n @Input()\n set positions(val: ConnectionPositionPair[]) {\n this._positions = val\n if (this.menuOpen()) {\n this._overlayRef?.updatePositionStrategy(this.getOverlayPosition(this._elementRef.nativeElement))\n }\n }\n get positions() { return this._positions }\n private _positions: ConnectionPositionPair[] = [\n {\n originX: 'end',\n originY: 'bottom',\n overlayX: 'end',\n overlayY: 'top',\n },\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n {\n originX: 'end',\n originY: 'top',\n overlayX: 'end',\n overlayY: 'bottom',\n },\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n ]\n\n @HostListener('mousedown', [ '$event' ])\n _onMouseDown(event: MouseEvent) {\n if (!isFakeMousedownFromScreenReader(event)) {\n // Since right or middle button clicks won't trigger the `click` event,\n // we shouldn't consider the menu as opened by mouse in those cases.\n this._openedBy = event.button === 0 ? 'mouse' : null\n\n // Since clicking on the trigger won't close the menu if it opens a sub-menu,\n // we should prevent focus from moving onto it via click to avoid the\n // highlight from lingering on the menu item.\n // if (this.triggersSubmenu()) {\n // event.preventDefault();\n // }\n }\n }\n\n @HostListener('keydown', [ '$event' ])\n _onKeydown(event: any) {\n this._openedBy = null\n\n // tslint:disable-next-line:deprecation\n const keyCode = event.keyCode\n\n if (keyCode === UP_ARROW || keyCode === DOWN_ARROW) {\n if (this.menuOpen()) {\n this.seamMenuToggle?.focusFirstItem(this._openedBy || 'program')\n }\n }\n }\n\n @HostListener('click', [ '$event' ])\n _onClick(event: any) {\n this.toggle()\n }\n\n @HostListener('document:keydown', [ '$event' ])\n _onDocumentKeydown(event: any) {\n if (event.keyCode === ESCAPE) {\n this.closeMenu()\n }\n }\n\n // @HostListener('document:mousedown', [ '$event' ])\n // _onDocumentMouseDown(event: any) {\n // console.log('outside click')\n // }\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>,\n private _viewContainerRef: ViewContainerRef,\n private _overlay: Overlay,\n private _focusMonitor: FocusMonitor,\n // @Inject(THESEAM_MENU_PANEL) @Optional() private _parentMenu?: ITheSeamMenuPanel<MenuItemComponent>\n ) {\n this._elementRef.nativeElement.addEventListener('touchstart', this._handleTouchStart,\n passiveEventListenerOptions)\n }\n\n ngOnDestroy() {\n this.closeMenu()\n\n this._elementRef.nativeElement.removeEventListener('touchstart', this._handleTouchStart,\n passiveEventListenerOptions)\n\n this._menuClosedSubscription.unsubscribe()\n this._closingActionsSubscription.unsubscribe()\n }\n\n /**\n * Handles touch start events on the trigger.\n * Needs to be an arrow function so we can easily use addEventListener and removeEventListener.\n */\n private _handleTouchStart = () => this._openedBy = 'touch'\n\n public toggle(): void {\n if (this._active) {\n this.closeMenu()\n } else {\n this.openMenu()\n }\n }\n\n public openMenu(): void {\n if (this._active || !this.seamMenuToggle) { return }\n this._active = true\n\n this._overlayRef = this._overlay.create({\n hasBackdrop: true,\n backdropClass: 'transparent',\n positionStrategy: this.getOverlayPosition(this._elementRef.nativeElement),\n })\n\n const tpl = this.seamMenuToggle.templateRef\n if (!tpl) {\n throw Error(`Menu template not found.`)\n }\n\n this._overlayRef.attach(new TemplatePortal(tpl, this._viewContainerRef))\n\n this._closingActionsSubscription = this._menuClosingActions().subscribe(() => this.closeMenu())\n this._initMenu()\n\n this._menuClosedSubscription = this.seamMenuToggle.closed.subscribe(v => {\n // console.log('closed', v)\n this.closeMenu()\n })\n\n // this._overlayRef.backdropClick().subscribe(v => {\n // console.log('backdropClick', v)\n // })\n }\n\n public closeMenu(): void {\n if (!this._active) { return }\n\n if (this._overlayRef?.hasAttached()) {\n this._overlayRef?.detach()\n }\n\n this._resetMenu()\n\n this._menuClosedSubscription.unsubscribe()\n this._closingActionsSubscription.unsubscribe()\n\n this._active = false\n }\n\n public menuOpen(): boolean {\n return (this._overlayRef && this._overlayRef.hasAttached()) ?? false\n }\n\n private getOverlayPosition(origin: HTMLElement): PositionStrategy {\n const positionStrategy = this._overlay.position()\n .flexibleConnectedTo(origin)\n .withPositions(this.positions)\n .withFlexibleDimensions(false)\n .withPush(true)\n\n return positionStrategy\n }\n\n /**\n * Focuses the menu trigger.\n * @param origin Source of the menu trigger's focus.\n */\n focus(origin: FocusOrigin = 'program') {\n if (this._focusMonitor) {\n this._focusMonitor.focusVia(this._elementRef, origin)\n } else {\n this._elementRef.nativeElement.focus()\n }\n }\n\n /**\n * This method sets the menu state to open and focuses the first item if\n * the menu was opened via the keyboard.\n */\n private _initMenu(): void {\n // this.seamMenuToggle.parentMenu = this.triggersSubmenu() ? this._parentMenu : undefined\n // this.seamMenuToggle.direction = this.dir\n // this._setMenuElevation()\n // this._setIsMenuOpen(true)\n // this.seamMenuToggle.focusFirstItem(this._openedBy || 'program')\n }\n\n /**\n * This method resets the menu when it's closed, most importantly restoring\n * focus to the menu trigger if the menu was opened via the keyboard.\n */\n private _resetMenu(): void {\n // this._setIsMenuOpen(false)\n\n // We should reset focus if the user is navigating using a keyboard or\n // if we have a top-level trigger which might cause focus to be lost\n // when clicking on the backdrop.\n if (this.restoreFocus) {\n if (!this._openedBy) {\n // Note that the focus style will show up both for `program` and\n // `keyboard` so we don't have to specify which one it is.\n this.focus()\n }\n // else if (!this.triggersSubmenu()) {\n // this.focus(this._openedBy)\n // }\n }\n\n this._openedBy = null\n }\n\n /** Returns a stream that emits whenever an action that should close the menu occurs. */\n private _menuClosingActions() {\n const backdrop = this._overlayRef?.backdropClick() ?? of()\n const detachments = this._overlayRef?.detachments() ?? of()\n // const parentClose = this._parentMenu ? this._parentMenu.closed : of()\n const parentClose = of()\n // const hover = this._parentMenu ? this._parentMenu._hovered().pipe(\n // filter(active => active !== this._menuItemInstance),\n // filter(() => this._menuOpen)\n // ) : of()\n const hover = of()\n\n return merge(backdrop, parentClose, hover, detachments)\n }\n\n}\n","import { animate, group, query, style, transition, trigger, useAnimation } from '@angular/animations'\nimport { FocusKeyManager, FocusOrigin } from '@angular/cdk/a11y'\nimport { coerceNumberProperty } from '@angular/cdk/coercion'\nimport { DOWN_ARROW, END, ESCAPE, hasModifierKey, HOME, LEFT_ARROW, RIGHT_ARROW, UP_ARROW } from '@angular/cdk/keycodes'\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n EventEmitter,\n forwardRef,\n Input,\n OnDestroy,\n Output,\n TemplateRef,\n ViewChild\n} from '@angular/core'\nimport { BehaviorSubject, fromEvent, merge, Observable, of, Subject, Subscription } from 'rxjs'\n\nimport { distinctUntilChanged, map, startWith, switchMap, takeUntil } from 'rxjs/operators'\nimport { menuDropdownPanelIn, menuDropdownPanelOut, menuDropdownPanelSlideIn, menuDropdownPanelSlideOut } from './menu-animations'\nimport { MenuItemComponent } from './menu-item.component'\nimport { ITheSeamMenuPanel } from './menu-panel'\nimport { THESEAM_MENU_PANEL } from './menu-panel-token'\n\nimport { MenuFooterComponent } from './menu-footer/menu-footer.component'\nimport { MenuHeaderComponent } from './menu-header/menu-header.component'\n\nexport const LIB_MENU: any = {\n provide: THESEAM_MENU_PANEL,\n // tslint:disable-next-line:no-use-before-declare\n useExisting: forwardRef(() => MenuComponent)\n}\n\n@Component({\n selector: 'seam-menu',\n templateUrl: './menu.component.html',\n styleUrls: ['./menu.component.scss'],\n providers: [ LIB_MENU ],\n animations: [\n trigger('slideDown', [\n transition(':enter', useAnimation(menuDropdownPanelIn)),\n transition(':leave', useAnimation(menuDropdownPanelOut)),\n ])\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'seamMenu'\n})\nexport class MenuComponent implements OnDestroy, AfterContentInit, ITheSeamMenuPanel {\n\n private readonly _ngUnsubscribe = new Subject()\n\n private _footer = new BehaviorSubject<MenuFooterComponent | undefined | null>(undefined)\n public hasFooter$ = this._footer.pipe(map(v => v !== null && v !== undefined))\n\n private _header = new BehaviorSubject<MenuHeaderComponent | undefined | null>(undefined)\n public hasHeader$ = this._header.pipe(map(v => v !== null && v !== undefined))\n\n private _keyManager?: FocusKeyManager<MenuItemComponent>\n\n /** Menu items inside the current menu. */\n private _items: MenuItemComponent[] = []\n\n /** Emits whenever the amount of menu items changes. */\n private _itemChanges = new Subject<MenuItemComponent[]>()\n\n /** Subscription to tab events on the menu panel */\n private _tabSubscription = Subscription.EMPTY\n\n /** Parent menu of the current menu panel. */\n parentMenu: ITheSeamMenuPanel | undefined\n\n @ViewChild(TemplateRef) templateRef?: TemplateRef<any>\n\n @Output() readonly closed = new EventEmitter<void | 'click' | 'keydown' | 'tab'>()\n\n @Input() menuClass: string | undefined | null\n\n /**\n * Defines a width for a menu that will scale down if the window innerWidth is\n * smaller than the value.\n */\n @Input()\n get baseWidth() { return this._baseWidth.value }\n set baseWidth(value: number | null) {\n const _val = coerceNumberProperty(value, null)\n if (_val !== this._baseWidth.value) {\n this._baseWidth.next(_val)\n }\n }\n private _baseWidth = new BehaviorSubject<number | null>(null)\n _menuWidth$: Observable<string | undefined>\n\n @Input() animationType: 'slide' | 'fade' = 'slide'\n\n constructor() {\n this._menuWidth$ = this._baseWidth.pipe(\n switchMap(baseWidth => {\n if (baseWidth) {\n return fromEvent(window, 'resize').pipe(\n startWith(undefined),\n map(() => window.innerWidth < baseWidth ? `${window.innerWidth}px` : `${baseWidth}px`)\n )\n }\n return of(undefined)\n }),\n distinctUntilChanged(),\n takeUntil(this._ngUnsubscribe)\n )\n }\n\n ngOnDestroy() {\n this._tabSubscription.unsubscribe()\n this.closed.complete()\n\n this._ngUnsubscribe.next()\n this._ngUnsubscribe.complete()\n }\n\n ngAfterContentInit() {\n this._keyManager = new FocusKeyManager<MenuItemComponent>(this._items).withWrap().withTypeAhead()\n this._tabSubscription = this._keyManager.tabOut.subscribe(() => this.closed.emit('tab'))\n }\n\n /** Stream that emits whenever the hovered menu item changes. */\n _hovered(): Observable<MenuItemComponent> {\n return this._itemChanges.pipe(\n startWith(this._items),\n switchMap(items => merge(...items.map(item => item._hovered)))\n )\n }\n\n /** Handle a keyboard event from the menu, delegating to the appropriate action. */\n _handleKeydown(event: KeyboardEvent) {\n // tslint:disable-next-line:deprecation\n const keyCode = event.keyCode\n const manager = this._keyManager\n\n switch (keyCode) {\n case ESCAPE:\n if (!hasModifierKey(event)) {\n event.preventDefault()\n this.closed.emit('keydown')\n }\n break\n // case LEFT_ARROW:\n // if (this.parentMenu && this.direction === 'ltr') {\n // this.closed.emit('keydown')\n // }\n // break\n // case RIGHT_ARROW:\n // if (this.parentMenu && this.direction === 'rtl') {\n // this.closed.emit('keydown')\n // }\n // break\n case HOME:\n case END:\n if (!hasModifierKey(event)) {\n keyCode === HOME ? manager?.setFirstItemActive() : manager?.setLastItemActive()\n event.preventDefault()\n }\n break\n default:\n if (keyCode === UP_ARROW || keyCode === DOWN_ARROW) {\n manager?.setFocusOrigin('keyboard')\n }\n\n manager?.onKeydown(event)\n }\n }\n\n /**\n * Focus the first item in the menu.\n * @param origin Action from which the focus originated. Used to set the correct styling.\n */\n focusFirstItem(origin: FocusOrigin = 'program'): void {\n this._keyManager?.setFocusOrigin(origin).setFirstItemActive()\n }\n\n /**\n * Resets the active item in the menu. This is used when the menu is opened, allowing\n * the user to start from the first option when pressing the down arrow.\n */\n resetActiveItem() {\n this._keyManager?.setActiveItem(-1)\n }\n\n /** Registers a menu item with the menu. */\n addItem(item: MenuItemComponent) {\n // We register the items through this method, rather than picking them up through\n // `ContentChildren`, because we need the items to be picked up by their closest\n // `seam-menu` ancestor. If we used `@ContentChildren(MenuItemComponent, {descendants: true})`,\n // all descendant items will bleed into the top-level menu in the case where the consumer\n // has `seam-menu` instances nested inside each other.\n if (this._items.indexOf(item) === -1) {\n this._items.push(item)\n this._itemChanges.next(this._items)\n }\n }\n\n /** Removes an item from the menu. */\n removeItem(item: MenuItemComponent) {\n const index = this._items.indexOf(item)\n\n if (this._items.indexOf(item) > -1) {\n this._items.splice(index, 1)\n this._itemChanges.next(this._items)\n }\n }\n\n /** Sets the footer component. */\n setFooter(footer?: MenuFooterComponent) {\n this._footer.next(footer)\n }\n\n /** Sets the header component. */\n setHeader(header?: MenuHeaderComponent) {\n this._header.next(header)\n }\n\n _dropdownMenuClick(event: Event) {\n // This is needed, because some menu's will get stuck open if the component\n // managing the menu is destroyed before the menu finishes its cleanup. I\n // may look for a fix to that eventually.\n this.closed.emit('click')\n }\n\n}\n","import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input } from '@angular/core'\n\n// TODO: Split up the button and anchor classes.\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'button[seamMenuFooterAction],a[seamMenuFooterAction]',\n templateUrl: './menu-footer-action.component.html',\n styleUrls: ['./menu-footer-action.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MenuFooterActionComponent {\n\n @HostBinding('attr.type') get _attrType() { return this.type }\n\n /** ARIA type for the button. */\n @Input()\n get type() { return this._isButton() ? this._type || 'button' : undefined }\n set type(value: 'button' | 'submit' | 'reset' | undefined | null) {\n this._type = value\n }\n private _type: 'button' | 'submit' | 'reset' | undefined | null\n\n @HostBinding('class.btn') get _classBtn() { return this._isButton() }\n @HostBinding('class.btn-link') get _classBtnLink() { return this._isButton() }\n\n @HostBinding('style.padding.px') get _stylePadding() { return this._isButton() && 0 }\n @HostBinding('style.border.px') get _styleBorder() { return this._isButton() && 0 }\n @HostBinding('style.display.px') get _styleDisplay() { return this._isButton() && 'inline' }\n\n constructor(\n private _elementRef: ElementRef\n ) { }\n\n /** Determines if the component host is a button. */\n protected _isButton() {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button'\n }\n\n /** Determines if the component host is an anchor. */\n protected _isAnchor() {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'a'\n }\n\n}\n","import { ChangeDetectionStrategy, Component, Inject, OnDestroy, OnInit, Optional } from '@angular/core'\n\nimport { MenuItemComponent } from '../menu-item.component'\nimport type { ITheSeamMenuPanel } from '../menu-panel'\nimport { THESEAM_MENU_PANEL } from '../menu-panel-token'\n\n@Component({\n selector: 'seam-menu-footer',\n templateUrl: './menu-footer.component.html',\n styleUrls: ['./menu-footer.component.scss'],\n host: {\n 'class': 'd-flex flex-column text-center bg-light border-top rounded-bottom py-2'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MenuFooterComponent implements OnInit, OnDestroy {\n\n constructor(\n @Inject(THESEAM_MENU_PANEL) @Optional() private _parentMenu?: ITheSeamMenuPanel<MenuItemComponent>\n ) { }\n\n ngOnInit() {\n if (this._parentMenu && this._parentMenu.setFooter) {\n this._parentMenu.setFooter(this)\n }\n }\n\n ngOnDestroy() {\n if (this._parentMenu && this._parentMenu.setFooter) {\n this._parentMenu.setFooter(undefined)\n }\n }\n\n}\n","import { ChangeDetectionStrategy, Component, Inject, OnDestroy, OnInit, Optional } from '@angular/core'\n\nimport { MenuItemComponent } from '../menu-item.component'\nimport type { ITheSeamMenuPanel } from '../menu-panel'\nimport { THESEAM_MENU_PANEL } from '../menu-panel-token'\n\n@Component({\n selector: 'seam-menu-header',\n templateUrl: './menu-header.component.html',\n styleUrls: ['./menu-header.component.scss'],\n host: {\n 'class': 'd-flex flex-column bg-light border-bottom rounded-top py-2 mb-2'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MenuHeaderComponent implements OnInit, OnDestroy {\n\n constructor(\n @Inject(THESEAM_MENU_PANEL) @Optional() private _parentMenu?: ITheSeamMenuPanel<MenuItemComponent>\n ) { }\n\n ngOnInit() {\n if (this._parentMenu && this._parentMenu.setHeader) {\n this._parentMenu.setHeader(this)\n }\n }\n\n ngOnDestroy() {\n if (this._parentMenu && this._parentMenu.setHeader) {\n this._parentMenu.setHeader(undefined)\n }\n }\n\n}\n","import { OverlayModule } from '@angular/cdk/overlay'\nimport { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\n\nimport { MenuDividerComponent } from './menu-divider.component'\nimport { MenuFooterActionComponent } from './menu-footer-action/menu-footer-action.component'\nimport { MenuFooterComponent } from './menu-footer/menu-footer.component'\nimport { MenuHeaderComponent } from './menu-header/menu-header.component'\nimport { MenuItemComponent } from './menu-item.component'\nimport { MenuToggleDirective } from './menu-toggle.directive'\nimport { MenuComponent } from './menu.component'\n\n@NgModule({\n declarations: [\n MenuComponent,\n MenuToggleDirective,\n MenuItemComponent,\n MenuDividerComponent,\n MenuFooterComponent,\n MenuFooterActionComponent,\n MenuHeaderComponent,\n ],\n imports: [\n CommonModule,\n OverlayModule,\n TheSeamIconModule\n ],\n exports: [\n MenuComponent,\n MenuToggleDirective,\n MenuItemComponent,\n MenuDividerComponent,\n\n TheSeamIconModule,\n OverlayModule,\n MenuFooterComponent,\n MenuFooterActionComponent,\n MenuHeaderComponent\n ]\n})\nexport class TheSeamMenuModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["animation","style","group","animate","query","useAnimation","Component","ChangeDetectionStrategy","InjectionToken","mixinDisabled","Subject","ElementRef","Inject","DOCUMENT","FocusMonitor","Optional","Input","HostListener","normalizePassiveListenerOptions","Subscription","isFakeMousedownFromScreenReader","UP_ARROW","DOWN_ARROW","ESCAPE","TemplatePortal","of","merge","Directive","ViewContainerRef","Overlay","forwardRef","BehaviorSubject","map","EventEmitter","switchMap","fromEvent","startWith","distinctUntilChanged","takeUntil","coerceNumberProperty","FocusKeyManager","hasModifierKey","HOME","END","trigger","transition","ViewChild","TemplateRef","Output","HostBinding","NgModule","CommonModule","OverlayModule","TheSeamIconModule"],"mappings":";;;;;;QAEa,wBAAwB,GAAGA,oBAAS,CAAC;QAChDC,gBAAK,CAAC;YACJ,OAAO,EAAE,CAAC;YACV,SAAS,EAAE,kBAAkB;SAC9B,CAAC;QACFC,gBAAK,CAAC;YACJC,kBAAO,CAAC,cAAc,EAAEF,gBAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;YAC9CE,kBAAO,CAAC,YAAY,EAAEF,gBAAK,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC,CAAC;SAC7D,CAAC;KACH,EAAC;QAEW,yBAAyB,GAAGD,oBAAS,CAAC;QACjDC,gBAAK,CAAC;YACJ,OAAO,EAAE,CAAC;YACV,SAAS,EAAE,eAAe;SAC3B,CAAC;QACFC,gBAAK,CAAC;YACJC,kBAAO,CAAC,cAAc,EAAEF,gBAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;YAC9CE,kBAAO,CAAC,YAAY,EAAEF,gBAAK,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC,CAAC;SAChE,CAAC;KACH,EAAC;QAEW,yBAAyB,GAAGD,oBAAS,CAAC;QACjDC,gBAAK,CAAC;YACJ,OAAO,EAAE,CAAC;YACV,SAAS,EAAE,YAAY;SACxB,CAAC;QACFC,gBAAK,CAAC;YACJC,kBAAO,CAAC,cAAc,EAA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ClD,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,SAAS,CAAC,CAAA;aACtC;SACF;;;;gBAzBFT,cAAS,SAAC;oBACT,QAAQ,EAAE,kBAAkB;oBAC5B,uCAA2C;oBAE3C,IAAI,EAAE;wBACJ,OAAO,EAAE,iEAAiE;qBAC3E;oBACD,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;gDAIIK,WAAM,SAAC,kBAAkB,cAAGG,aAAQ;;;;QCwBzC;;;;;gBA5BCmC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,aAAa;wBACb,mBAAmB;wBACnB,iBAAiB;wBACjB,oBAAoB;wBACpB,mBAAmB;wBACnB,yBAAyB;wBACzB,mBAAmB;qBACpB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,qBAAa;wBACbC,sBAAiB;qBAClB;oBACD,OAAO,EAAE;wBACP,aAAa;wBACb,mBAAmB;wBACnB,iBAAiB;wBACjB,oBAAoB;wBAEpBA,sBAAiB;wBACjBD,qBAAa;wBACb,mBAAmB;wBACnB,yBAAyB;wBACzB,mBAAmB;qBACpB;iBACF;;;ICzCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,1669 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/a11y'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/router'), require('@fortawesome/angular-fontawesome'), require('@angular/cdk/keycodes'), require('rxjs/operators'), require('@angular/cdk/bidi'), require('rxjs'), require('@theseam/ui-common/dynamic-component-loader'), require('@theseam/ui-common/scrollbar'), require('@angular/animations'), require('@theseam/ui-common/core')) :
3
+ typeof define === 'function' && define.amd ? define('@theseam/ui-common/modal', ['exports', '@angular/cdk/a11y', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/common', '@angular/core', '@angular/forms', '@angular/router', '@fortawesome/angular-fontawesome', '@angular/cdk/keycodes', 'rxjs/operators', '@angular/cdk/bidi', 'rxjs', '@theseam/ui-common/dynamic-component-loader', '@theseam/ui-common/scrollbar', '@angular/animations', '@theseam/ui-common/core'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam['ui-common'] = global.theseam['ui-common'] || {}, global.theseam['ui-common'].modal = {}), global.ng.cdk.a11y, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.common, global.ng.core, global.ng.forms, global.ng.router, global.angularFontawesome, global.ng.cdk.keycodes, global.rxjs.operators, global.ng.cdk.bidi, global.rxjs, global.theseam['ui-common']['dynamic-component-loader'], global.theseam['ui-common'].scrollbar, global.ng.animations, global.theseam['ui-common'].core));
5
+ }(this, (function (exports, a11y, overlay, portal, common, core, forms, router, angularFontawesome, keycodes, operators, bidi, rxjs, dynamicComponentLoader, scrollbar, animations, core$1) { 'use strict';
6
+
7
+ /** Unique id for the created dialog. */
8
+ var uniqueId = 0;
9
+ /**
10
+ * Reference to a dialog opened via the Dialog service.
11
+ */
12
+ var ModalRef = /** @class */ (function () {
13
+ function ModalRef(_overlayRef, _containerInstance, id) {
14
+ var _this = this;
15
+ if (id === void 0) { id = "seam-modal-" + uniqueId++; }
16
+ this._overlayRef = _overlayRef;
17
+ this._containerInstance = _containerInstance;
18
+ this.id = id;
19
+ /** The instance of the component in the dialog. */
20
+ this.componentInstance = null;
21
+ // Pass the id along to the container.
22
+ _containerInstance._id = id;
23
+ var _bootstrapBackdropClickListener = function () {
24
+ if (!_this.disableClose) {
25
+ _this.close();
26
+ }
27
+ };
28
+ // If the dialog has a backdrop, handle clicks from the backdrop.
29
+ if (_containerInstance._config.hasBackdrop) {
30
+ _overlayRef.backdropClick().subscribe(function () {
31
+ if (!_this.disableClose) {
32
+ _this.close();
33
+ }
34
+ });
35
+ // NOTE: For current bootstrap style modal
36
+ _overlayRef.overlayElement.addEventListener('click', _bootstrapBackdropClickListener);
37
+ }
38
+ this.beforeClosed().subscribe(function () {
39
+ _this._overlayRef.detachBackdrop();
40
+ });
41
+ this.afterClosed().subscribe(function () {
42
+ if (_this._containerInstance._config.hasBackdrop) {
43
+ _this._overlayRef.overlayElement.removeEventListener('click', _bootstrapBackdropClickListener);
44
+ }
45
+ _this._overlayRef.detach();
46
+ _this._overlayRef.dispose();
47
+ _this.componentInstance = null;
48
+ });
49
+ // Close when escape keydown event occurs
50
+ _overlayRef.keydownEvents()
51
+ // tslint:disable-next-line:deprecation
52
+ .pipe(operators.filter(function (event) { return event.keyCode === keycodes.ESCAPE && !_this.disableClose; }))
53
+ .subscribe(function () { return _this.close(); });
54
+ }
55
+ /** Gets an observable that emits when the overlay's backdrop has been clicked. */
56
+ ModalRef.prototype.backdropClick = function () {
57
+ return this._overlayRef.backdropClick();
58
+ };
59
+ /**
60
+ * Close the dialog.
61
+ * @param dialogResult Optional result to return to the dialog opener.
62
+ */
63
+ ModalRef.prototype.close = function (dialogResult) {
64
+ this._result = dialogResult;
65
+ this._containerInstance._startExiting();
66
+ };
67
+ /**
68
+ * Updates the dialog's position.
69
+ * @param position New dialog position.
70
+ */
71
+ ModalRef.prototype.updatePosition = function (position) {
72
+ var strategy = this._getPositionStrategy();
73
+ if (position && (position.left || position.right)) {
74
+ position.left ? strategy.left(position.left) : strategy.right(position.right);
75
+ }
76
+ else {
77
+ strategy.centerHorizontally();
78
+ }
79
+ if (position && (position.top || position.bottom)) {
80
+ position.top ? strategy.top(position.top) : strategy.bottom(position.bottom);
81
+ }
82
+ else {
83
+ strategy.centerVertically();
84
+ }
85
+ this._overlayRef.updatePosition();
86
+ return this;
87
+ };
88
+ /**
89
+ * Gets an observable that emits when keydown events are targeted on the overlay.
90
+ */
91
+ ModalRef.prototype.keydownEvents = function () {
92
+ return this._overlayRef.keydownEvents();
93
+ };
94
+ /**
95
+ * Updates the dialog's width and height, defined, min and max.
96
+ * @param size New size for the overlay.
97
+ */
98
+ ModalRef.prototype.updateSize = function (size) {
99
+ if (size.width) {
100
+ // tslint:disable-next-line:deprecation
101
+ this._getPositionStrategy().width(size.width.toString());
102
+ }
103
+ if (size.height) {
104
+ // tslint:disable-next-line:deprecation
105
+ this._getPositionStrategy().height(size.height.toString());
106
+ }
107
+ this._overlayRef.updateSize(size);
108
+ this._overlayRef.updatePosition();
109
+ return this;
110
+ };
111
+ /** Fetches the position strategy object from the overlay ref. */
112
+ ModalRef.prototype._getPositionStrategy = function () {
113
+ return this._overlayRef.getConfig().positionStrategy;
114
+ };
115
+ /** Gets an observable that emits when dialog begins opening. */
116
+ ModalRef.prototype.beforeOpened = function () {
117
+ return this._containerInstance._beforeEnter.asObservable();
118
+ };
119
+ /** Gets an observable that emits when dialog is finished opening. */
120
+ ModalRef.prototype.afterOpened = function () {
121
+ return this._containerInstance._afterEnter.asObservable();
122
+ };
123
+ /** Gets an observable that emits when dialog begins closing. */
124
+ ModalRef.prototype.beforeClosed = function () {
125
+ var _this = this;
126
+ return this._containerInstance._beforeExit.pipe(operators.map(function () { return _this._result; }));
127
+ };
128
+ /** Gets an observable that emits when dialog is finished closing. */
129
+ ModalRef.prototype.afterClosed = function () {
130
+ var _this = this;
131
+ return this._containerInstance._afterExit.pipe(operators.map(function () { return _this._result; }));
132
+ };
133
+ return ModalRef;
134
+ }());
135
+
136
+ /**
137
+ * Finds the closest MatDialogRef to an element by looking at the DOM.
138
+ * @param element Element relative to which to look for a dialog.
139
+ * @param openDialogs References to the currently-open dialogs.
140
+ */
141
+ function getClosestModal(element, openDialogs) {
142
+ var parent = element.nativeElement.parentElement;
143
+ while (parent && !parent.classList.contains('seam-modal-container')) {
144
+ parent = parent.parentElement;
145
+ }
146
+ var parentId = parent ? parent.id : null;
147
+ return parentId ? openDialogs.find(function (dialog) { return dialog.id === parentId; }) : null;
148
+ }
149
+
150
+ /*! *****************************************************************************
151
+ Copyright (c) Microsoft Corporation.
152
+
153
+ Permission to use, copy, modify, and/or distribute this software for any
154
+ purpose with or without fee is hereby granted.
155
+
156
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
157
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
158
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
159
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
160
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
161
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
162
+ PERFORMANCE OF THIS SOFTWARE.
163
+ ***************************************************************************** */
164
+ /* global Reflect, Promise */
165
+ var extendStatics = function (d, b) {
166
+ extendStatics = Object.setPrototypeOf ||
167
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
168
+ function (d, b) { for (var p in b)
169
+ if (Object.prototype.hasOwnProperty.call(b, p))
170
+ d[p] = b[p]; };
171
+ return extendStatics(d, b);
172
+ };
173
+ function __extends(d, b) {
174
+ if (typeof b !== "function" && b !== null)
175
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
176
+ extendStatics(d, b);
177
+ function __() { this.constructor = d; }
178
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
179
+ }
180
+ var __assign = function () {
181
+ __assign = Object.assign || function __assign(t) {
182
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
183
+ s = arguments[i];
184
+ for (var p in s)
185
+ if (Object.prototype.hasOwnProperty.call(s, p))
186
+ t[p] = s[p];
187
+ }
188
+ return t;
189
+ };
190
+ return __assign.apply(this, arguments);
191
+ };
192
+ function __rest(s, e) {
193
+ var t = {};
194
+ for (var p in s)
195
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
196
+ t[p] = s[p];
197
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
198
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
199
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
200
+ t[p[i]] = s[p[i]];
201
+ }
202
+ return t;
203
+ }
204
+ function __decorate(decorators, target, key, desc) {
205
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
206
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
207
+ r = Reflect.decorate(decorators, target, key, desc);
208
+ else
209
+ for (var i = decorators.length - 1; i >= 0; i--)
210
+ if (d = decorators[i])
211
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
212
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
213
+ }
214
+ function __param(paramIndex, decorator) {
215
+ return function (target, key) { decorator(target, key, paramIndex); };
216
+ }
217
+ function __metadata(metadataKey, metadataValue) {
218
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
219
+ return Reflect.metadata(metadataKey, metadataValue);
220
+ }
221
+ function __awaiter(thisArg, _arguments, P, generator) {
222
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
223
+ return new (P || (P = Promise))(function (resolve, reject) {
224
+ function fulfilled(value) { try {
225
+ step(generator.next(value));
226
+ }
227
+ catch (e) {
228
+ reject(e);
229
+ } }
230
+ function rejected(value) { try {
231
+ step(generator["throw"](value));
232
+ }
233
+ catch (e) {
234
+ reject(e);
235
+ } }
236
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
237
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
238
+ });
239
+ }
240
+ function __generator(thisArg, body) {
241
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
242
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
243
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
244
+ function verb(n) { return function (v) { return step([n, v]); }; }
245
+ function step(op) {
246
+ if (f)
247
+ throw new TypeError("Generator is already executing.");
248
+ while (_)
249
+ try {
250
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
251
+ return t;
252
+ if (y = 0, t)
253
+ op = [op[0] & 2, t.value];
254
+ switch (op[0]) {
255
+ case 0:
256
+ case 1:
257
+ t = op;
258
+ break;
259
+ case 4:
260
+ _.label++;
261
+ return { value: op[1], done: false };
262
+ case 5:
263
+ _.label++;
264
+ y = op[1];
265
+ op = [0];
266
+ continue;
267
+ case 7:
268
+ op = _.ops.pop();
269
+ _.trys.pop();
270
+ continue;
271
+ default:
272
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
273
+ _ = 0;
274
+ continue;
275
+ }
276
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
277
+ _.label = op[1];
278
+ break;
279
+ }
280
+ if (op[0] === 6 && _.label < t[1]) {
281
+ _.label = t[1];
282
+ t = op;
283
+ break;
284
+ }
285
+ if (t && _.label < t[2]) {
286
+ _.label = t[2];
287
+ _.ops.push(op);
288
+ break;
289
+ }
290
+ if (t[2])
291
+ _.ops.pop();
292
+ _.trys.pop();
293
+ continue;
294
+ }
295
+ op = body.call(thisArg, _);
296
+ }
297
+ catch (e) {
298
+ op = [6, e];
299
+ y = 0;
300
+ }
301
+ finally {
302
+ f = t = 0;
303
+ }
304
+ if (op[0] & 5)
305
+ throw op[1];
306
+ return { value: op[0] ? op[1] : void 0, done: true };
307
+ }
308
+ }
309
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
310
+ if (k2 === undefined)
311
+ k2 = k;
312
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
313
+ }) : (function (o, m, k, k2) {
314
+ if (k2 === undefined)
315
+ k2 = k;
316
+ o[k2] = m[k];
317
+ });
318
+ function __exportStar(m, o) {
319
+ for (var p in m)
320
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
321
+ __createBinding(o, m, p);
322
+ }
323
+ function __values(o) {
324
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
325
+ if (m)
326
+ return m.call(o);
327
+ if (o && typeof o.length === "number")
328
+ return {
329
+ next: function () {
330
+ if (o && i >= o.length)
331
+ o = void 0;
332
+ return { value: o && o[i++], done: !o };
333
+ }
334
+ };
335
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
336
+ }
337
+ function __read(o, n) {
338
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
339
+ if (!m)
340
+ return o;
341
+ var i = m.call(o), r, ar = [], e;
342
+ try {
343
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
344
+ ar.push(r.value);
345
+ }
346
+ catch (error) {
347
+ e = { error: error };
348
+ }
349
+ finally {
350
+ try {
351
+ if (r && !r.done && (m = i["return"]))
352
+ m.call(i);
353
+ }
354
+ finally {
355
+ if (e)
356
+ throw e.error;
357
+ }
358
+ }
359
+ return ar;
360
+ }
361
+ /** @deprecated */
362
+ function __spread() {
363
+ for (var ar = [], i = 0; i < arguments.length; i++)
364
+ ar = ar.concat(__read(arguments[i]));
365
+ return ar;
366
+ }
367
+ /** @deprecated */
368
+ function __spreadArrays() {
369
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
370
+ s += arguments[i].length;
371
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
372
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
373
+ r[k] = a[j];
374
+ return r;
375
+ }
376
+ function __spreadArray(to, from, pack) {
377
+ if (pack || arguments.length === 2)
378
+ for (var i = 0, l = from.length, ar; i < l; i++) {
379
+ if (ar || !(i in from)) {
380
+ if (!ar)
381
+ ar = Array.prototype.slice.call(from, 0, i);
382
+ ar[i] = from[i];
383
+ }
384
+ }
385
+ return to.concat(ar || from);
386
+ }
387
+ function __await(v) {
388
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
389
+ }
390
+ function __asyncGenerator(thisArg, _arguments, generator) {
391
+ if (!Symbol.asyncIterator)
392
+ throw new TypeError("Symbol.asyncIterator is not defined.");
393
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
394
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
395
+ function verb(n) { if (g[n])
396
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
397
+ function resume(n, v) { try {
398
+ step(g[n](v));
399
+ }
400
+ catch (e) {
401
+ settle(q[0][3], e);
402
+ } }
403
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
404
+ function fulfill(value) { resume("next", value); }
405
+ function reject(value) { resume("throw", value); }
406
+ function settle(f, v) { if (f(v), q.shift(), q.length)
407
+ resume(q[0][0], q[0][1]); }
408
+ }
409
+ function __asyncDelegator(o) {
410
+ var i, p;
411
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
412
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
413
+ }
414
+ function __asyncValues(o) {
415
+ if (!Symbol.asyncIterator)
416
+ throw new TypeError("Symbol.asyncIterator is not defined.");
417
+ var m = o[Symbol.asyncIterator], i;
418
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
419
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
420
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
421
+ }
422
+ function __makeTemplateObject(cooked, raw) {
423
+ if (Object.defineProperty) {
424
+ Object.defineProperty(cooked, "raw", { value: raw });
425
+ }
426
+ else {
427
+ cooked.raw = raw;
428
+ }
429
+ return cooked;
430
+ }
431
+ ;
432
+ var __setModuleDefault = Object.create ? (function (o, v) {
433
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
434
+ }) : function (o, v) {
435
+ o["default"] = v;
436
+ };
437
+ function __importStar(mod) {
438
+ if (mod && mod.__esModule)
439
+ return mod;
440
+ var result = {};
441
+ if (mod != null)
442
+ for (var k in mod)
443
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
444
+ __createBinding(result, mod, k);
445
+ __setModuleDefault(result, mod);
446
+ return result;
447
+ }
448
+ function __importDefault(mod) {
449
+ return (mod && mod.__esModule) ? mod : { default: mod };
450
+ }
451
+ function __classPrivateFieldGet(receiver, state, kind, f) {
452
+ if (kind === "a" && !f)
453
+ throw new TypeError("Private accessor was defined without a getter");
454
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
455
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
456
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
457
+ }
458
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
459
+ if (kind === "m")
460
+ throw new TypeError("Private method is not writable");
461
+ if (kind === "a" && !f)
462
+ throw new TypeError("Private accessor was defined without a setter");
463
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
464
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
465
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
466
+ }
467
+
468
+ // tslint:disable:no-inferrable-types
469
+ var ModalConfig = /** @class */ (function () {
470
+ function ModalConfig() {
471
+ /** The ARIA role of the dialog. */
472
+ this.role = 'dialog';
473
+ /** Custom class(es) for the overlay panel. */
474
+ this.panelClass = '';
475
+ /** Whether the dialog has a background. */
476
+ this.hasBackdrop = true;
477
+ /** Custom class(es) for the backdrop. */
478
+ this.backdropClass = '';
479
+ /** Whether the dialog can be closed by user interaction. */
480
+ this.disableClose = false;
481
+ /** The width of the dialog. */
482
+ this.width = '100%';
483
+ /** The height of the dialog. */
484
+ this.height = '';
485
+ /** The minimum width of the dialog. */
486
+ this.minWidth = '';
487
+ /** The minimum height of the dialog. */
488
+ this.minHeight = '';
489
+ /** The maximum width of the dialog. */
490
+ this.maxWidth = '';
491
+ /** The maximum height of the dialog. */
492
+ this.maxHeight = '';
493
+ /** Data to be injected into the dialog content. */
494
+ this.data = null;
495
+ /** ID of the element that describes the dialog. */
496
+ this.ariaDescribedBy = null;
497
+ /** Aria label to assign to the dialog element */
498
+ this.ariaLabel = null;
499
+ /** Whether the dialog should focus the first focusable element on open. */
500
+ this.autoFocus = true;
501
+ /** Duration of the enter animation. Has to be a valid CSS value (e.g. 100ms). */
502
+ this.enterAnimationDuration = '225ms';
503
+ /** Duration of the exit animation. Has to be a valid CSS value (e.g. 50ms). */
504
+ this.exitAnimationDuration = '225ms';
505
+ }
506
+ return ModalConfig;
507
+ }());
508
+ // tslint:enable:no-inferrable-types
509
+ function mergeModalConfigs(a, b) {
510
+ return Object.assign(Object.assign({}, a), b);
511
+ }
512
+ /** Injection token that can be used to specify modal options. */
513
+ var LIB_MODAL_CONFIG = new core.InjectionToken('seamModalConfig');
514
+
515
+ /** Injection token for the Dialog's ScrollStrategy. */
516
+ var MODAL_SCROLL_STRATEGY = new core.InjectionToken('ModalScrollStrategy');
517
+ /** Injection token for the Dialog's Data. */
518
+ var MODAL_DATA = new core.InjectionToken('ModalData');
519
+ /** Injection token for the DialogRef constructor. */
520
+ var MODAL_REF = new core.InjectionToken('ModalRef');
521
+ /** Injection token for the DialogConfig. */
522
+ var MODAL_CONFIG = new core.InjectionToken('ModalConfig');
523
+ /** Injection token for the Dialog's DialogContainer component. */
524
+ var MODAL_CONTAINER = new core.InjectionToken('ModalContainer');
525
+ /** @docs-private */
526
+ function THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {
527
+ return function () { return overlay.scrollStrategies.block(); };
528
+ }
529
+ /** @docs-private */
530
+ var THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER = {
531
+ provide: MODAL_SCROLL_STRATEGY,
532
+ deps: [overlay.Overlay],
533
+ useFactory: THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER_FACTORY,
534
+ };
535
+
536
+ /**
537
+ * Service to open modal dialogs.
538
+ */
539
+ var Modal = /** @class */ (function () {
540
+ function Modal(overlay, injector, dialogRefConstructor, scrollStrategy, _parentDialog, location, _scrollbars, _dynamicComponentLoaderModule) {
541
+ var _this = this;
542
+ this.overlay = overlay;
543
+ this.injector = injector;
544
+ this.dialogRefConstructor = dialogRefConstructor;
545
+ this._parentDialog = _parentDialog;
546
+ this._scrollbars = _scrollbars;
547
+ this._dynamicComponentLoaderModule = _dynamicComponentLoaderModule;
548
+ this._afterAllClosedBase = new rxjs.Subject();
549
+ this.afterAllClosed = rxjs.defer(function () { return _this.openDialogs.length ?
550
+ _this._afterAllClosed : _this._afterAllClosed.pipe(operators.startWith(undefined)); });
551
+ this._afterOpened = new rxjs.Subject();
552
+ this._openDialogs = [];
553
+ // Close all of the dialogs when the user goes forwards/backwards in history or when the
554
+ // location hash changes. Note that this usually doesn't include clicking on links (unless
555
+ // the user is using the `HashLocationStrategy`).
556
+ if (!_parentDialog && location) {
557
+ location.subscribe(function () { return _this.closeAll(); });
558
+ }
559
+ this._scrollStrategy = scrollStrategy;
560
+ }
561
+ Object.defineProperty(Modal.prototype, "_afterAllClosed", {
562
+ /** Stream that emits when all dialogs are closed. */
563
+ get: function () {
564
+ return this._parentDialog ? this._parentDialog.afterAllClosed : this._afterAllClosedBase;
565
+ },
566
+ enumerable: false,
567
+ configurable: true
568
+ });
569
+ Object.defineProperty(Modal.prototype, "afterOpened", {
570
+ /** Stream that emits when a dialog is opened. */
571
+ get: function () {
572
+ return this._parentDialog ? this._parentDialog.afterOpened : this._afterOpened;
573
+ },
574
+ enumerable: false,
575
+ configurable: true
576
+ });
577
+ Object.defineProperty(Modal.prototype, "openDialogs", {
578
+ /** Stream that emits when a dialog is opened. */
579
+ get: function () {
580
+ return this._parentDialog ? this._parentDialog.openDialogs : this._openDialogs;
581
+ },
582
+ enumerable: false,
583
+ configurable: true
584
+ });
585
+ /** Gets an open dialog by id. */
586
+ Modal.prototype.getById = function (id) {
587
+ return this._openDialogs.find(function (ref) { return ref.id === id; });
588
+ };
589
+ /** Closes all open dialogs. */
590
+ Modal.prototype.closeAll = function () {
591
+ this.openDialogs.forEach(function (ref) { return ref.close(); });
592
+ };
593
+ /** Opens a dialog from a component. */
594
+ Modal.prototype.openFromComponent = function (component, config,
595
+ // NOTE: Should only be needed with the current implementation of `TheSeamDynamicComponentLoader`.
596
+ componentFactoryResolver) {
597
+ config = this._applyConfigDefaults(config);
598
+ if (config.id && this.getById(config.id)) {
599
+ throw Error("Modal with id \"" + config.id + "\" exists already. The modal id must be unique.");
600
+ }
601
+ var overlayRef = this._createOverlay(config);
602
+ var dialogContainer = this._attachDialogContainer(overlayRef, config);
603
+ var dialogRef = this._attachDialogContentForComponent(component, dialogContainer, overlayRef, config, componentFactoryResolver);
604
+ this.registerDialogRef(dialogRef);
605
+ return dialogRef;
606
+ };
607
+ /** Opens a dialog from a template. */
608
+ Modal.prototype.openFromTemplate = function (template, config) {
609
+ config = this._applyConfigDefaults(config);
610
+ if (config.id && this.getById(config.id)) {
611
+ throw Error("Modal with id \"" + config.id + "\" exists already. The modal id must be unique.");
612
+ }
613
+ var overlayRef = this._createOverlay(config);
614
+ var dialogContainer = this._attachDialogContainer(overlayRef, config);
615
+ var dialogRef = this._attachDialogContentForTemplate(template, dialogContainer, overlayRef, config);
616
+ this.registerDialogRef(dialogRef);
617
+ return dialogRef;
618
+ };
619
+ /** Opens a dialog from a lazy-loaded component. */
620
+ Modal.prototype.openFromLazyComponent = function (componentId, config) {
621
+ var _this = this;
622
+ config = this._applyConfigDefaults(config);
623
+ if (config.id && this.getById(config.id)) {
624
+ throw Error("Modal with id \"" + config.id + "\" exists already. The modal id must be unique.");
625
+ }
626
+ return this._dynamicComponentLoaderModule
627
+ .getComponentFactory(componentId)
628
+ .pipe(operators.switchMap(function (componentFactory) {
629
+ var modalRef = _this.openFromComponent(componentFactory.componentType, config, componentFactory.ngModule.componentFactoryResolver);
630
+ return rxjs.of(modalRef);
631
+ }));
632
+ };
633
+ Modal.prototype.ngOnDestroy = function () {
634
+ // Only close all the dialogs at this level.
635
+ this._openDialogs.forEach(function (ref) { return ref.close(); });
636
+ };
637
+ /**
638
+ * Forwards emitting events for when dialogs are opened and all dialogs are closed.
639
+ */
640
+ Modal.prototype.registerDialogRef = function (dialogRef) {
641
+ var _this = this;
642
+ this.openDialogs.push(dialogRef);
643
+ var cleanupScroll;
644
+ var dialogBeforeOpenSub = dialogRef.beforeOpened().subscribe(function () {
645
+ cleanupScroll = _this._registerDialogRefScrollEvents(dialogRef);
646
+ dialogBeforeOpenSub.unsubscribe();
647
+ });
648
+ var dialogBeforeCloseSub = dialogRef.beforeClosed().subscribe(function () {
649
+ // TODO: Do I need to destroy the instance? I feel like I should, but the
650
+ // way I have this implemented currently causes the native scrollbar to
651
+ // appear before the element is removed from the DOM.
652
+ // this._scrollbars.destroyInstance(dialogRef._overlayRef.overlayElement)
653
+ if (cleanupScroll) {
654
+ cleanupScroll();
655
+ }
656
+ dialogBeforeCloseSub.unsubscribe();
657
+ });
658
+ var dialogOpenSub = dialogRef.afterOpened().subscribe(function () {
659
+ _this.afterOpened.next(dialogRef);
660
+ dialogOpenSub.unsubscribe();
661
+ });
662
+ var dialogCloseSub = dialogRef.afterClosed().subscribe(function () {
663
+ // this._scrollbars.destroyInstance(dialogRef._overlayRef.overlayElement)
664
+ var dialogIndex = _this._openDialogs.indexOf(dialogRef);
665
+ if (dialogIndex > -1) {
666
+ _this._openDialogs.splice(dialogIndex, 1);
667
+ }
668
+ if (!_this._openDialogs.length) {
669
+ _this._afterAllClosedBase.next();
670
+ dialogCloseSub.unsubscribe();
671
+ }
672
+ });
673
+ };
674
+ // TODO: Cleanup. This was rushed together fast and became an unefficient mess.
675
+ Modal.prototype._registerDialogRefScrollEvents = function (dialogRef) {
676
+ var _this = this;
677
+ var _scrollbarMouseDownListener = function () {
678
+ if (dialogRef) {
679
+ dialogRef.disableClose = true;
680
+ }
681
+ };
682
+ var _scrollbarMouseUpListener = function () {
683
+ setTimeout(function () {
684
+ if (dialogRef) {
685
+ dialogRef.disableClose = false;
686
+ }
687
+ });
688
+ };
689
+ var verticalHandleElement;
690
+ var horizontalHandleElement;
691
+ this._scrollbars.initializeInstance(dialogRef._overlayRef.overlayElement, {
692
+ callbacks: {
693
+ onInitialized: function () {
694
+ // console.log('onInitialized')
695
+ setTimeout(function () {
696
+ var instance = _this._scrollbars.getInstance(dialogRef._overlayRef.overlayElement);
697
+ if (instance) {
698
+ verticalHandleElement = instance.getElements().scrollbarVertical.handle;
699
+ if (verticalHandleElement) {
700
+ verticalHandleElement.addEventListener('mousedown', _scrollbarMouseDownListener);
701
+ verticalHandleElement.addEventListener('touchstart', _scrollbarMouseDownListener);
702
+ }
703
+ horizontalHandleElement = instance.getElements().scrollbarHorizontal.handle;
704
+ if (horizontalHandleElement) {
705
+ horizontalHandleElement.addEventListener('mousedown', _scrollbarMouseDownListener);
706
+ horizontalHandleElement.addEventListener('touchstart', _scrollbarMouseDownListener);
707
+ }
708
+ if (verticalHandleElement || horizontalHandleElement) {
709
+ document.addEventListener('mouseup', _scrollbarMouseUpListener);
710
+ document.addEventListener('touchend', _scrollbarMouseUpListener);
711
+ document.addEventListener('touchcancel', _scrollbarMouseUpListener);
712
+ }
713
+ }
714
+ });
715
+ },
716
+ onDestroyed: function () {
717
+ // console.log('onDestroyed')
718
+ // // const instance = this._scrollbars.getInstance(dialogRef._overlayRef.overlayElement)
719
+ // // const scrollElem = instance.getElements().scrollbarVertical.handle
720
+ // if (verticalHandleElement) {
721
+ // verticalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener)
722
+ // verticalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener)
723
+ // }
724
+ // if (horizontalHandleElement) {
725
+ // horizontalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener)
726
+ // horizontalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener)
727
+ // }
728
+ // if (verticalHandleElement || horizontalHandleElement) {
729
+ // document.removeEventListener('mouseup', _scrollbarMouseUpListener)
730
+ // document.removeEventListener('touchend', _scrollbarMouseUpListener)
731
+ // document.removeEventListener('touchcancel', _scrollbarMouseUpListener)
732
+ // }
733
+ }
734
+ }
735
+ });
736
+ // Cleans up the registered events.
737
+ return function () {
738
+ // console.log('scrollevents cleanup')
739
+ // const instance = this._scrollbars.getInstance(dialogRef._overlayRef.overlayElement)
740
+ // const scrollElem = instance.getElements().scrollbarVertical.handle
741
+ if (verticalHandleElement) {
742
+ verticalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener);
743
+ verticalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener);
744
+ }
745
+ if (horizontalHandleElement) {
746
+ horizontalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener);
747
+ horizontalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener);
748
+ }
749
+ if (verticalHandleElement || horizontalHandleElement) {
750
+ document.removeEventListener('mouseup', _scrollbarMouseUpListener);
751
+ document.removeEventListener('touchend', _scrollbarMouseUpListener);
752
+ document.removeEventListener('touchcancel', _scrollbarMouseUpListener);
753
+ }
754
+ };
755
+ };
756
+ /**
757
+ * Creates an overlay config from a dialog config.
758
+ * @param config The dialog configuration.
759
+ * @returns The overlay configuration.
760
+ */
761
+ Modal.prototype._createOverlay = function (config) {
762
+ var panelClass = (config.panelClass || []);
763
+ if (typeof panelClass === 'string') {
764
+ panelClass = [panelClass];
765
+ }
766
+ panelClass = __spreadArray(__spreadArray([], __read(panelClass)), ['modal', 'd-block', 'overflow-auto']);
767
+ var overlayConfig = new overlay.OverlayConfig({
768
+ positionStrategy: this.overlay.position().global(),
769
+ scrollStrategy: this._scrollStrategy(),
770
+ panelClass: panelClass,
771
+ hasBackdrop: config.hasBackdrop,
772
+ direction: config.direction,
773
+ minWidth: config.minWidth,
774
+ minHeight: config.minHeight,
775
+ maxWidth: config.maxWidth,
776
+ maxHeight: config.maxHeight
777
+ });
778
+ if (config.backdropClass) {
779
+ overlayConfig.backdropClass = config.backdropClass;
780
+ }
781
+ return this.overlay.create(overlayConfig);
782
+ };
783
+ /**
784
+ * Attaches an MatDialogContainer to a dialog's already-created overlay.
785
+ * @param overlay Reference to the dialog's underlying overlay.
786
+ * @param config The dialog configuration.
787
+ * @returns A promise resolving to a ComponentRef for the attached container.
788
+ */
789
+ Modal.prototype._attachDialogContainer = function (overlay, config) {
790
+ var container = config.containerComponent || this.injector.get(MODAL_CONTAINER);
791
+ var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
792
+ var injector = new portal.PortalInjector(userInjector || this.injector, new WeakMap([
793
+ [ModalConfig, config]
794
+ ]));
795
+ var containerPortal = new portal.ComponentPortal(container, config.viewContainerRef, injector);
796
+ var containerRef = overlay.attach(containerPortal);
797
+ containerRef.instance._config = config;
798
+ return containerRef.instance;
799
+ };
800
+ /**
801
+ * Attaches the user-provided component to the already-created MatDialogContainer.
802
+ * @param componentOrTemplateRef The type of component being loaded into the dialog,
803
+ * or a TemplateRef to instantiate as the content.
804
+ * @param dialogContainer Reference to the wrapping MatDialogContainer.
805
+ * @param overlayRef Reference to the overlay in which the dialog resides.
806
+ * @param config The dialog configuration.
807
+ * @returns A promise resolving to the MatDialogRef that should be returned to the user.
808
+ */
809
+ Modal.prototype._attachDialogContentForComponent = function (componentOrTemplateRef, dialogContainer, overlayRef, config, componentFactoryResolver) {
810
+ // Create a reference to the dialog we're creating in order to give the user a handle
811
+ // to modify and close it.
812
+ var dialogRef = new this.dialogRefConstructor(overlayRef, dialogContainer, config.id);
813
+ var injector = this._createInjector(config, dialogRef, dialogContainer);
814
+ var contentRef = dialogContainer.attachComponentPortal(new portal.ComponentPortal(componentOrTemplateRef, undefined, injector, componentFactoryResolver));
815
+ dialogRef.componentInstance = contentRef.instance;
816
+ dialogRef.disableClose = config.disableClose;
817
+ dialogRef.updateSize({ width: config.width, height: config.height })
818
+ .updatePosition(config.position);
819
+ return dialogRef;
820
+ };
821
+ /**
822
+ * Attaches the user-provided component to the already-created MatDialogContainer.
823
+ * @param componentOrTemplateRef The type of component being loaded into the dialog,
824
+ * or a TemplateRef to instantiate as the content.
825
+ * @param dialogContainer Reference to the wrapping MatDialogContainer.
826
+ * @param overlayRef Reference to the overlay in which the dialog resides.
827
+ * @param config The dialog configuration.
828
+ * @returns A promise resolving to the MatDialogRef that should be returned to the user.
829
+ */
830
+ Modal.prototype._attachDialogContentForTemplate = function (componentOrTemplateRef, dialogContainer, overlayRef, config) {
831
+ // Create a reference to the dialog we're creating in order to give the user a handle
832
+ // to modify and close it.
833
+ var dialogRef = new this.dialogRefConstructor(overlayRef, dialogContainer, config.id);
834
+ dialogContainer.attachTemplatePortal(new portal.TemplatePortal(componentOrTemplateRef, null, { $implicit: config.data, dialogRef: dialogRef }));
835
+ dialogRef.updateSize({ width: config.width, height: config.height })
836
+ .updatePosition(config.position);
837
+ return dialogRef;
838
+ };
839
+ /**
840
+ * Creates a custom injector to be used inside the dialog. This allows a component loaded inside
841
+ * of a dialog to close itself and, optionally, to return a value.
842
+ * @param config Config object that is used to construct the dialog.
843
+ * @param dialogRef Reference to the dialog.
844
+ * @param container Dialog container element that wraps all of the contents.
845
+ * @returns The custom injector that can be used inside the dialog.
846
+ */
847
+ Modal.prototype._createInjector = function (config, dialogRef, dialogContainer) {
848
+ var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
849
+ var injectionTokens = new WeakMap([
850
+ [this.injector.get(MODAL_REF), dialogRef],
851
+ [this.injector.get(MODAL_CONTAINER), dialogContainer],
852
+ [MODAL_DATA, config.data]
853
+ ]);
854
+ if (config.direction &&
855
+ (!userInjector || !userInjector.get(bidi.Directionality, null))) {
856
+ injectionTokens.set(bidi.Directionality, {
857
+ value: config.direction,
858
+ change: rxjs.of()
859
+ });
860
+ }
861
+ return new portal.PortalInjector(userInjector || this.injector, injectionTokens);
862
+ };
863
+ /**
864
+ * Expands the provided configuration object to include the default values for properties which
865
+ * are undefined.
866
+ */
867
+ Modal.prototype._applyConfigDefaults = function (config) {
868
+ var dialogConfig = this.injector.get(MODAL_CONFIG);
869
+ return Object.assign(Object.assign({}, new dialogConfig()), config);
870
+ };
871
+ return Modal;
872
+ }());
873
+ Modal.decorators = [
874
+ { type: core.Injectable }
875
+ ];
876
+ Modal.ctorParameters = function () { return [
877
+ { type: overlay.Overlay },
878
+ { type: core.Injector },
879
+ { type: core.Type, decorators: [{ type: core.Inject, args: [MODAL_REF,] }] },
880
+ { type: undefined, decorators: [{ type: core.Inject, args: [MODAL_SCROLL_STRATEGY,] }] },
881
+ { type: Modal, decorators: [{ type: core.Optional }, { type: core.SkipSelf }] },
882
+ { type: common.Location, decorators: [{ type: core.Optional }] },
883
+ { type: scrollbar.OverlayScrollbarsService },
884
+ { type: dynamicComponentLoader.TheSeamDynamicComponentLoader }
885
+ ]; };
886
+
887
+ var ModalCloseDirective = /** @class */ (function () {
888
+ function ModalCloseDirective(_elementRef, _modal, _modalRef) {
889
+ this._elementRef = _elementRef;
890
+ this._modal = _modal;
891
+ this._modalRef = _modalRef;
892
+ this.type = 'button';
893
+ this.modalRef = _modalRef;
894
+ }
895
+ Object.defineProperty(ModalCloseDirective.prototype, "_attrType", {
896
+ // @HostBinding('class.close') _closeCss = true
897
+ get: function () { return this.type; },
898
+ enumerable: false,
899
+ configurable: true
900
+ });
901
+ Object.defineProperty(ModalCloseDirective.prototype, "_attrAriaLabel", {
902
+ get: function () { return this.ariaLabel || null; },
903
+ enumerable: false,
904
+ configurable: true
905
+ });
906
+ ModalCloseDirective.prototype._onClick = function () {
907
+ var _this = this;
908
+ if (this.modalRef) {
909
+ if (this.seamModalNext) {
910
+ this.modalRef.afterClosed().subscribe(function () {
911
+ if (typeof _this.seamModalNext === 'string') {
912
+ _this._modal.openFromLazyComponent(_this.seamModalNext, _this.seamModalNextConfig).subscribe();
913
+ }
914
+ else {
915
+ _this._modal.openFromComponent(_this.seamModalNext, _this.seamModalNextConfig);
916
+ }
917
+ });
918
+ }
919
+ this.modalRef.close(this.seamModalClose);
920
+ }
921
+ };
922
+ ModalCloseDirective.prototype.ngOnInit = function () {
923
+ if (!this.modalRef) {
924
+ // When this directive is included in a dialog via TemplateRef (rather than being
925
+ // in a Component), the DialogRef isn't available via injection because embedded
926
+ // views cannot be given a custom injector. Instead, we look up the DialogRef by
927
+ // ID. This must occur in `onInit`, as the ID binding for the dialog container won't
928
+ // be resolved at constructor time.
929
+ this.modalRef = getClosestModal(this._elementRef, this._modal.openDialogs);
930
+ }
931
+ };
932
+ return ModalCloseDirective;
933
+ }());
934
+ ModalCloseDirective.decorators = [
935
+ { type: core.Directive, args: [{
936
+ selector: 'button[seamModalClose]',
937
+ exportAs: 'seamModalClose'
938
+ },] }
939
+ ];
940
+ ModalCloseDirective.ctorParameters = function () { return [
941
+ { type: core.ElementRef },
942
+ { type: Modal },
943
+ { type: ModalRef, decorators: [{ type: core.Optional }] }
944
+ ]; };
945
+ ModalCloseDirective.propDecorators = {
946
+ _attrType: [{ type: core.HostBinding, args: ['attr.type',] }],
947
+ type: [{ type: core.Input }],
948
+ _attrAriaLabel: [{ type: core.HostBinding, args: ['attr.aria-label',] }],
949
+ ariaLabel: [{ type: core.Input, args: ['aria-label',] }],
950
+ seamModalClose: [{ type: core.Input }],
951
+ seamModalNext: [{ type: core.Input }],
952
+ seamModalNextConfig: [{ type: core.Input }],
953
+ _onClick: [{ type: core.HostListener, args: ['click',] }]
954
+ };
955
+
956
+ var ModalFooterTplDirective = /** @class */ (function () {
957
+ function ModalFooterTplDirective(template) {
958
+ this.template = template;
959
+ }
960
+ return ModalFooterTplDirective;
961
+ }());
962
+ ModalFooterTplDirective.decorators = [
963
+ { type: core.Directive, args: [{
964
+ selector: '[seamModalFooterTpl]'
965
+ },] }
966
+ ];
967
+ ModalFooterTplDirective.ctorParameters = function () { return [
968
+ { type: core.TemplateRef }
969
+ ]; };
970
+
971
+ var ModalHeaderIconTplDirective = /** @class */ (function () {
972
+ function ModalHeaderIconTplDirective(template) {
973
+ this.template = template;
974
+ }
975
+ return ModalHeaderIconTplDirective;
976
+ }());
977
+ ModalHeaderIconTplDirective.decorators = [
978
+ { type: core.Directive, args: [{
979
+ selector: '[seamModalHeaderIconTpl]'
980
+ },] }
981
+ ];
982
+ ModalHeaderIconTplDirective.ctorParameters = function () { return [
983
+ { type: core.TemplateRef }
984
+ ]; };
985
+
986
+ var ModalHeaderTitleTplDirective = /** @class */ (function () {
987
+ function ModalHeaderTitleTplDirective(template) {
988
+ this.template = template;
989
+ }
990
+ return ModalHeaderTitleTplDirective;
991
+ }());
992
+ ModalHeaderTitleTplDirective.decorators = [
993
+ { type: core.Directive, args: [{
994
+ selector: '[seamModalHeaderTitleTpl]'
995
+ },] }
996
+ ];
997
+ ModalHeaderTitleTplDirective.ctorParameters = function () { return [
998
+ { type: core.TemplateRef }
999
+ ]; };
1000
+
1001
+ var ModalTitleDirective = /** @class */ (function () {
1002
+ function ModalTitleDirective(_elementRef) {
1003
+ this._elementRef = _elementRef;
1004
+ this._modalTitleCss = true;
1005
+ }
1006
+ return ModalTitleDirective;
1007
+ }());
1008
+ ModalTitleDirective.decorators = [
1009
+ { type: core.Directive, args: [{
1010
+ selector: '[seamModalTitle]'
1011
+ },] }
1012
+ ];
1013
+ ModalTitleDirective.ctorParameters = function () { return [
1014
+ { type: core.ElementRef }
1015
+ ]; };
1016
+ ModalTitleDirective.propDecorators = {
1017
+ _modalTitleCss: [{ type: core.HostBinding, args: ['class.modal-title',] }]
1018
+ };
1019
+
1020
+ // TODO: Make this work for current modal usage.
1021
+ var ModalDirective = /** @class */ (function () {
1022
+ function ModalDirective(template, modal) {
1023
+ this.template = template;
1024
+ this.modal = modal;
1025
+ }
1026
+ ModalDirective.prototype.open = function () {
1027
+ // console.log('[ModalDirective] open')
1028
+ var ref = this.modal.openFromTemplate(this.template);
1029
+ ref.backdropClick().subscribe(function (e) { return console.log('backdropClick', e); });
1030
+ };
1031
+ return ModalDirective;
1032
+ }());
1033
+ ModalDirective.decorators = [
1034
+ { type: core.Directive, args: [{
1035
+ selector: '[seamModal]',
1036
+ exportAs: 'seamModal'
1037
+ },] }
1038
+ ];
1039
+ ModalDirective.ctorParameters = function () { return [
1040
+ { type: core.TemplateRef },
1041
+ { type: Modal }
1042
+ ]; };
1043
+
1044
+ var ModalBodyComponent = /** @class */ (function () {
1045
+ function ModalBodyComponent() {
1046
+ this._modalBodyCss = true;
1047
+ this._paddingCss = true;
1048
+ }
1049
+ ModalBodyComponent.prototype.ngOnInit = function () {
1050
+ };
1051
+ return ModalBodyComponent;
1052
+ }());
1053
+ ModalBodyComponent.decorators = [
1054
+ { type: core.Component, args: [{
1055
+ selector: 'seam-modal-body',
1056
+ template: "<ng-content></ng-content>\n",
1057
+ styles: [":host{display:block}"]
1058
+ },] }
1059
+ ];
1060
+ ModalBodyComponent.ctorParameters = function () { return []; };
1061
+ ModalBodyComponent.propDecorators = {
1062
+ _modalBodyCss: [{ type: core.HostBinding, args: ['class.modal-body',] }],
1063
+ _paddingCss: [{ type: core.HostBinding, args: ['class.p-3',] }]
1064
+ };
1065
+
1066
+ function throwDialogContentAlreadyAttachedError() {
1067
+ throw Error('Attempting to attach dialog content after content is already attached');
1068
+ }
1069
+ /**
1070
+ * Internal component that wraps user-provided dialog content.
1071
+ * @docs-private
1072
+ */
1073
+ var ModalContainerComponent = /** @class */ (function (_super) {
1074
+ __extends(ModalContainerComponent, _super);
1075
+ function ModalContainerComponent(_elementRef, _focusTrapFactory, _changeDetectorRef, _document,
1076
+ /** The dialog configuration. */
1077
+ _config) {
1078
+ var _this = _super.call(this) || this;
1079
+ _this._elementRef = _elementRef;
1080
+ _this._focusTrapFactory = _focusTrapFactory;
1081
+ _this._changeDetectorRef = _changeDetectorRef;
1082
+ _this._document = _document;
1083
+ _this._config = _config;
1084
+ // @HostBinding('attr.tabindex') get _tabindex() { return -1 }
1085
+ _this._seamModalContainer = true;
1086
+ /** State of the dialog animation. */
1087
+ _this._state = 'enter';
1088
+ /** Element that was focused before the dialog was opened. Save this to restore upon close. */
1089
+ _this._elementFocusedBeforeDialogWasOpened = null;
1090
+ /** The class that traps and manages focus within the dialog. */
1091
+ _this._focusTrap = _this._focusTrapFactory.create(_this._elementRef.nativeElement, false);
1092
+ // tslint:disable:no-host-decorator-in-concrete
1093
+ _this._modalDialog = true;
1094
+ _this._modalDialogCentered = true;
1095
+ /** A subject emitting before the dialog enters the view. */
1096
+ _this._beforeEnter = new rxjs.Subject();
1097
+ /** A subject emitting after the dialog enters the view. */
1098
+ _this._afterEnter = new rxjs.Subject();
1099
+ /** A subject emitting before the dialog exits the view. */
1100
+ _this._beforeExit = new rxjs.Subject();
1101
+ /** A subject emitting after the dialog exits the view. */
1102
+ _this._afterExit = new rxjs.Subject();
1103
+ /** Stream of animation `done` events. */
1104
+ _this._animationDone = new rxjs.Subject();
1105
+ // We use a Subject with a distinctUntilChanged, rather than a callback attached to .done,
1106
+ // because some browsers fire the done event twice and we don't want to emit duplicate events.
1107
+ // See: https://github.com/angular/angular/issues/24084
1108
+ _this._animationDone.pipe(operators.distinctUntilChanged(function (x, y) {
1109
+ return x.fromState === y.fromState && x.toState === y.toState;
1110
+ })).subscribe(function (event) {
1111
+ // Emit lifecycle events based on animation `done` callback.
1112
+ if (event.toState === 'enter') {
1113
+ _this._autoFocusFirstTabbableElement();
1114
+ _this._afterEnter.next();
1115
+ _this._afterEnter.complete();
1116
+ }
1117
+ if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {
1118
+ _this._returnFocusAfterDialog();
1119
+ _this._afterExit.next();
1120
+ _this._afterExit.complete();
1121
+ }
1122
+ });
1123
+ return _this;
1124
+ }
1125
+ Object.defineProperty(ModalContainerComponent.prototype, "_idAttr", {
1126
+ get: function () { return this._id; },
1127
+ enumerable: false,
1128
+ configurable: true
1129
+ });
1130
+ Object.defineProperty(ModalContainerComponent.prototype, "_ariaLabel", {
1131
+ // @HostBinding is used in the class as it is expected to be extended. Since @Component decorator
1132
+ // metadata is not inherited by child classes, instead the host binding data is defined in a way
1133
+ // that can be inherited.
1134
+ // tslint:disable:no-host-decorator-in-concrete
1135
+ get: function () { return this._config.ariaLabel || null; },
1136
+ enumerable: false,
1137
+ configurable: true
1138
+ });
1139
+ Object.defineProperty(ModalContainerComponent.prototype, "_ariaDescribedBy", {
1140
+ get: function () { return this._config.ariaDescribedBy; },
1141
+ enumerable: false,
1142
+ configurable: true
1143
+ });
1144
+ Object.defineProperty(ModalContainerComponent.prototype, "_role", {
1145
+ get: function () { return this._config.role; },
1146
+ enumerable: false,
1147
+ configurable: true
1148
+ });
1149
+ Object.defineProperty(ModalContainerComponent.prototype, "_modalDialogSm", {
1150
+ get: function () { return this._config.modalSize === 'sm'; },
1151
+ enumerable: false,
1152
+ configurable: true
1153
+ });
1154
+ Object.defineProperty(ModalContainerComponent.prototype, "_modalDialogLg", {
1155
+ get: function () { return this._config.modalSize === 'lg'; },
1156
+ enumerable: false,
1157
+ configurable: true
1158
+ });
1159
+ Object.defineProperty(ModalContainerComponent.prototype, "_modalDialogXl", {
1160
+ get: function () { return this._config.modalSize === 'xl'; },
1161
+ enumerable: false,
1162
+ configurable: true
1163
+ });
1164
+ // NOTE: For current bootstrap style modal
1165
+ ModalContainerComponent.prototype._onClick = function (event) {
1166
+ event.stopPropagation();
1167
+ };
1168
+ /** Destroy focus trap to place focus back to the element focused before the dialog opened. */
1169
+ ModalContainerComponent.prototype.ngOnDestroy = function () {
1170
+ this._focusTrap.destroy();
1171
+ this._animationDone.complete();
1172
+ };
1173
+ /**
1174
+ * Attach a ComponentPortal as content to this dialog container.
1175
+ * @param portal Portal to be attached as the dialog content.
1176
+ */
1177
+ ModalContainerComponent.prototype.attachComponentPortal = function (portal) {
1178
+ if (!this._portalHost) {
1179
+ throw Error("_portalHost not found.");
1180
+ }
1181
+ if (this._portalHost.hasAttached()) {
1182
+ throwDialogContentAlreadyAttachedError();
1183
+ }
1184
+ this._savePreviouslyFocusedElement();
1185
+ return this._portalHost.attachComponentPortal(portal);
1186
+ };
1187
+ /**
1188
+ * Attach a TemplatePortal as content to this dialog container.
1189
+ * @param portal Portal to be attached as the dialog content.
1190
+ */
1191
+ ModalContainerComponent.prototype.attachTemplatePortal = function (portal) {
1192
+ if (!this._portalHost) {
1193
+ throw Error("_portalHost not found.");
1194
+ }
1195
+ if (this._portalHost.hasAttached()) {
1196
+ throwDialogContentAlreadyAttachedError();
1197
+ }
1198
+ this._savePreviouslyFocusedElement();
1199
+ return this._portalHost.attachTemplatePortal(portal);
1200
+ };
1201
+ /** Emit lifecycle events based on animation `start` callback. */
1202
+ ModalContainerComponent.prototype._onAnimationStart = function (event) {
1203
+ if (event.toState === 'enter') {
1204
+ this._beforeEnter.next();
1205
+ this._beforeEnter.complete();
1206
+ }
1207
+ if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {
1208
+ this._beforeExit.next();
1209
+ this._beforeExit.complete();
1210
+ }
1211
+ };
1212
+ /** Starts the dialog exit animation. */
1213
+ ModalContainerComponent.prototype._startExiting = function () {
1214
+ this._state = 'exit';
1215
+ // Mark the container for check so it can react if the
1216
+ // view container is using OnPush change detection.
1217
+ this._changeDetectorRef.markForCheck();
1218
+ };
1219
+ /** Saves a reference to the element that was focused before the dialog was opened. */
1220
+ ModalContainerComponent.prototype._savePreviouslyFocusedElement = function () {
1221
+ var _this = this;
1222
+ if (this._document) {
1223
+ this._elementFocusedBeforeDialogWasOpened = this._document.activeElement;
1224
+ // Move focus onto the dialog immediately in order to prevent the user from accidentally
1225
+ // opening multiple dialogs at the same time. Needs to be async, because the element
1226
+ // may not be focusable immediately.
1227
+ Promise.resolve().then(function () { return _this._elementRef.nativeElement.focus(); });
1228
+ }
1229
+ };
1230
+ /**
1231
+ * Autofocus the first tabbable element inside of the dialog, if there is not a tabbable element,
1232
+ * focus the dialog instead.
1233
+ */
1234
+ ModalContainerComponent.prototype._autoFocusFirstTabbableElement = function () {
1235
+ var _this = this;
1236
+ // If were to attempt to focus immediately, then the content of the dialog would not yet be
1237
+ // ready in instances where change detection has to run first. To deal with this, we simply
1238
+ // wait for the microtask queue to be empty.
1239
+ if (this._config.autoFocus) {
1240
+ this._focusTrap.focusInitialElementWhenReady().then(function (hasMovedFocus) {
1241
+ // If we didn't find any focusable elements inside the dialog, focus the
1242
+ // container so the user can't tab into other elements behind it.
1243
+ if (!hasMovedFocus) {
1244
+ _this._elementRef.nativeElement.focus();
1245
+ }
1246
+ });
1247
+ }
1248
+ };
1249
+ /** Returns the focus to the element focused before the dialog was open. */
1250
+ ModalContainerComponent.prototype._returnFocusAfterDialog = function () {
1251
+ var toFocus = this._elementFocusedBeforeDialogWasOpened;
1252
+ // We need the extra check, because IE can set the `activeElement` to null in some cases.
1253
+ if (toFocus && typeof toFocus.focus === 'function') {
1254
+ toFocus.focus();
1255
+ }
1256
+ };
1257
+ return ModalContainerComponent;
1258
+ }(portal.BasePortalOutlet));
1259
+ ModalContainerComponent.decorators = [
1260
+ { type: core.Component, args: [{
1261
+ selector: 'seam-modal-container',
1262
+ template: "<div class=\"modal-content\" [tabindex]=\"-1\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
1263
+ animations: [
1264
+ animations.trigger('dialog', [
1265
+ animations.state('enter', animations.style({ opacity: 1 })),
1266
+ animations.state('exit, void', animations.style({ opacity: 0 })),
1267
+ animations.transition('* => enter', animations.animate('{{enterAnimationDuration}}')),
1268
+ animations.transition('* => exit, * => void', animations.animate('{{exitAnimationDuration}}')),
1269
+ ])
1270
+ ],
1271
+ // tslint:disable:use-host-property-decorator
1272
+ host: {
1273
+ '[@dialog]': "{\n value: _state,\n params: {\n enterAnimationDuration: _config.enterAnimationDuration,\n exitAnimationDuration: _config.exitAnimationDuration\n }\n }",
1274
+ '(@dialog.start)': '_onAnimationStart($event)',
1275
+ '(@dialog.done)': '_animationDone.next($event)',
1276
+ },
1277
+ styles: [":host[tabindex=\"-1\"]:focus:not(:focus-visible){outline:0!important}"]
1278
+ },] }
1279
+ ];
1280
+ ModalContainerComponent.ctorParameters = function () { return [
1281
+ { type: core.ElementRef },
1282
+ { type: a11y.FocusTrapFactory },
1283
+ { type: core.ChangeDetectorRef },
1284
+ { type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [common.DOCUMENT,] }] },
1285
+ { type: ModalConfig }
1286
+ ]; };
1287
+ ModalContainerComponent.propDecorators = {
1288
+ _idAttr: [{ type: core.HostBinding, args: ['attr.id',] }],
1289
+ _ariaLabel: [{ type: core.HostBinding, args: ['attr.aria-label',] }],
1290
+ _ariaDescribedBy: [{ type: core.HostBinding, args: ['attr.aria-describedby',] }],
1291
+ _role: [{ type: core.HostBinding, args: ['attr.role',] }],
1292
+ _seamModalContainer: [{ type: core.HostBinding, args: ['class.seam-modal-container',] }],
1293
+ _modalDialog: [{ type: core.HostBinding, args: ['class.modal-dialog',] }],
1294
+ _modalDialogCentered: [{ type: core.HostBinding, args: ['class.modal-dialog-centered',] }],
1295
+ _modalDialogSm: [{ type: core.HostBinding, args: ['class.modal-sm',] }],
1296
+ _modalDialogLg: [{ type: core.HostBinding, args: ['class.modal-lg',] }],
1297
+ _modalDialogXl: [{ type: core.HostBinding, args: ['class.modal-xl',] }],
1298
+ _portalHost: [{ type: core.ViewChild, args: [portal.CdkPortalOutlet /*, { static: true }*/, { static: true },] }],
1299
+ _onClick: [{ type: core.HostListener, args: ['click', ['$event'],] }]
1300
+ };
1301
+
1302
+ var ModalFooterComponent = /** @class */ (function () {
1303
+ function ModalFooterComponent() {
1304
+ this._modalFooterCss = true;
1305
+ }
1306
+ ModalFooterComponent.prototype.ngOnInit = function () {
1307
+ };
1308
+ return ModalFooterComponent;
1309
+ }());
1310
+ ModalFooterComponent.decorators = [
1311
+ { type: core.Component, args: [{
1312
+ selector: 'seam-modal-footer',
1313
+ template: "<ng-content></ng-content>\n",
1314
+ styles: [""]
1315
+ },] }
1316
+ ];
1317
+ ModalFooterComponent.ctorParameters = function () { return []; };
1318
+ ModalFooterComponent.propDecorators = {
1319
+ _modalFooterCss: [{ type: core.HostBinding, args: ['class.modal-footer',] }]
1320
+ };
1321
+
1322
+ var ModalHeaderComponent = /** @class */ (function () {
1323
+ function ModalHeaderComponent() {
1324
+ this._modalHeaderCss = true;
1325
+ this.hasCloseBtn = true;
1326
+ }
1327
+ ModalHeaderComponent.prototype.ngOnInit = function () {
1328
+ };
1329
+ return ModalHeaderComponent;
1330
+ }());
1331
+ ModalHeaderComponent.decorators = [
1332
+ { type: core.Component, args: [{
1333
+ selector: 'seam-modal-header',
1334
+ template: "<ng-content></ng-content>\n\n<!-- <button seamModalClose>\n <span aria-hidden=\"true\">&times;</span>\n</button> -->\n\n<!-- seam-modal-header-close -->\n",
1335
+ styles: [""]
1336
+ },] }
1337
+ ];
1338
+ ModalHeaderComponent.ctorParameters = function () { return []; };
1339
+ ModalHeaderComponent.propDecorators = {
1340
+ _modalHeaderCss: [{ type: core.HostBinding, args: ['class.modal-header',] }],
1341
+ hasCloseBtn: [{ type: core.Input }],
1342
+ _titleDirective: [{ type: core.ContentChild, args: [ModalTitleDirective, { static: true },] }],
1343
+ _closeDirective: [{ type: core.ContentChild, args: [ModalCloseDirective, { static: true },] }]
1344
+ };
1345
+
1346
+ var THESEAM_MODAL_CONTAINER = new core.InjectionToken('seamModalContainer');
1347
+
1348
+ var LIB_MODAL = {
1349
+ provide: THESEAM_MODAL_CONTAINER,
1350
+ // tslint:disable-next-line:no-use-before-declare
1351
+ useExisting: core.forwardRef(function () { return ModalComponent; }),
1352
+ multi: true,
1353
+ };
1354
+ var ModalComponent = /** @class */ (function () {
1355
+ function ModalComponent(_viewContainerRef, _overlay, _route) {
1356
+ this._viewContainerRef = _viewContainerRef;
1357
+ this._overlay = _overlay;
1358
+ this._route = _route;
1359
+ this._closeOnKeyPressed = [keycodes.ESCAPE];
1360
+ this.showCloseBtn = true;
1361
+ this.modalClosed = new core.EventEmitter();
1362
+ this.overlayDetached = new core.EventEmitter();
1363
+ /** Emit the `(ngSubmit)` event. NOTE: Only if `form` is defined. */
1364
+ this.formSubmit = new core.EventEmitter();
1365
+ if (core.isDevMode()) {
1366
+ // tslint:disable-next-line:max-line-length
1367
+ console.warn('seamModal has some issues with its design. Use the Modal service for now, because seamModal will have breaking changes or be removed soon.');
1368
+ }
1369
+ }
1370
+ Object.defineProperty(ModalComponent.prototype, "closeOnKeyPressed", {
1371
+ get: function () { return this._closeOnKeyPressed; },
1372
+ set: function (value) { this._closeOnKeyPressed = Array.isArray(value) ? value : []; },
1373
+ enumerable: false,
1374
+ configurable: true
1375
+ });
1376
+ Object.defineProperty(ModalComponent.prototype, "icon", {
1377
+ get: function () { return this._iconUrl || this._iconObj; },
1378
+ set: function (value) {
1379
+ if (typeof value === 'string') {
1380
+ this._iconUrl = value;
1381
+ this._iconObj = undefined;
1382
+ }
1383
+ else {
1384
+ this._iconUrl = undefined;
1385
+ this._iconObj = value;
1386
+ }
1387
+ },
1388
+ enumerable: false,
1389
+ configurable: true
1390
+ });
1391
+ Object.defineProperty(ModalComponent.prototype, "iconTpl", {
1392
+ get: function () {
1393
+ return this._iconTpl || (this._queryIconTpl && this._queryIconTpl.template);
1394
+ },
1395
+ set: function (value) {
1396
+ this._iconTpl = value;
1397
+ },
1398
+ enumerable: false,
1399
+ configurable: true
1400
+ });
1401
+ Object.defineProperty(ModalComponent.prototype, "titleTpl", {
1402
+ get: function () {
1403
+ return this._titleTpl || (this._queryTitleTpl && this._queryTitleTpl.template);
1404
+ },
1405
+ set: function (value) {
1406
+ this._titleTpl = value;
1407
+ },
1408
+ enumerable: false,
1409
+ configurable: true
1410
+ });
1411
+ Object.defineProperty(ModalComponent.prototype, "footerTpl", {
1412
+ get: function () {
1413
+ return this._footerTpl || (this._queryFooterTpl && this._queryFooterTpl.template);
1414
+ },
1415
+ set: function (value) {
1416
+ this._footerTpl = value;
1417
+ },
1418
+ enumerable: false,
1419
+ configurable: true
1420
+ });
1421
+ ModalComponent.prototype.ngOnInit = function () { };
1422
+ ModalComponent.prototype.ngOnDestroy = function () {
1423
+ this.close();
1424
+ };
1425
+ ModalComponent.prototype.ngAfterViewInit = function () {
1426
+ if (this.isRouteModal()) {
1427
+ this.open();
1428
+ }
1429
+ };
1430
+ ModalComponent.prototype.open = function (portal$1) {
1431
+ var _this = this;
1432
+ if (this._overlayRef && this._overlayRef.hasAttached()) {
1433
+ return;
1434
+ }
1435
+ var positionStrategy = this._overlay.position()
1436
+ .global()
1437
+ .centerHorizontally()
1438
+ .centerVertically();
1439
+ this._overlayRef = this._overlay.create({
1440
+ hasBackdrop: true,
1441
+ positionStrategy: positionStrategy
1442
+ });
1443
+ this._overlayRef.detachments().subscribe(function (_) { return _this.overlayDetached.emit(); });
1444
+ this._overlayRef.backdropClick().subscribe(function (_) { return _this.close(); });
1445
+ this._overlayRef.keydownEvents()
1446
+ // tslint:disable-next-line:deprecation
1447
+ .pipe(operators.filter(function (e) { return e.keyCode === keycodes.ESCAPE; }))
1448
+ .subscribe(function (_) { return _this.close(); });
1449
+ var portalToAttach = portal$1;
1450
+ if (!portalToAttach) {
1451
+ if (!this._modalTpl) {
1452
+ throw new Error("_modalTpl not found.");
1453
+ }
1454
+ portalToAttach = new portal.TemplatePortal(this._modalTpl, this._viewContainerRef);
1455
+ }
1456
+ this._overlayRef.attach(portalToAttach);
1457
+ };
1458
+ ModalComponent.prototype.close = function () {
1459
+ if (!this._overlayRef || !this._overlayRef.hasAttached()) {
1460
+ return;
1461
+ }
1462
+ this._overlayRef.detach();
1463
+ this.modalClosed.emit();
1464
+ };
1465
+ ModalComponent.prototype._onSubmit = function () {
1466
+ this.formSubmit.emit();
1467
+ };
1468
+ ModalComponent.prototype.isRouteModal = function () {
1469
+ return this._route.outlet === 'modal';
1470
+ };
1471
+ return ModalComponent;
1472
+ }());
1473
+ ModalComponent.decorators = [
1474
+ { type: core.Component, args: [{
1475
+ selector: 'seam-modal',
1476
+ template: "<ng-template #modalTpl>\n <form *ngIf=\"form\" [formGroup]=\"form\" (ngSubmit)=\"_onSubmit()\" class=\"p-4\" style=\"max-width: 800px\">\n <ng-container *ngTemplateOutlet=\"modalContent\"></ng-container>\n </form>\n\n <div *ngIf=\"!form\" class=\"p-4\" style=\"max-width: 800px\">\n <ng-container *ngTemplateOutlet=\"modalContent\"></ng-container>\n </div>\n\n <ng-template #modalContent>\n <div class=\"modal-content\">\n <div class=\"modal-header py-2\">\n <h4 class=\"modal-title\">\n <span class=\"pr-2 modal-header-icon\">\n <ng-container *ngIf=\"iconTpl; else noIconTpl\">\n <ng-template\n [ngTemplateOutlet]=\"iconTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: icon, icon: icon }\">\n </ng-template>\n </ng-container>\n <ng-template #noIconTpl>\n <fa-icon *ngIf=\"_iconObj\"\n class=\"modal-header-icon--fa\"\n [icon]=\"_iconObj\"\n size=\"sm\"></fa-icon>\n <img *ngIf=\"_iconUrl\"\n class=\"modal-header-icon--img\"\n [src]=\"_iconUrl\" [alt]=\"titleText\">\n </ng-template>\n </span>\n\n <span class=\"modal-header-title\">\n <ng-container *ngIf=\"titleTpl; else noTitleTpl\">\n <ng-template\n [ngTemplateOutlet]=\"titleTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: titleText, title: titleText }\">\n </ng-template>\n </ng-container>\n <ng-template #noTitleTpl>{{ titleText }}</ng-template>\n </span>\n </h4>\n <button *ngIf=\"showCloseBtn\"\n type=\"button\"\n class=\"close\"\n (click)=\"close()\"\n aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <ng-content></ng-content>\n </div>\n <div *ngIf=\"_queryFooterTpl\" class=\"modal-footer p-2\">\n <ng-container *ngComponentOutlet=\"$any(_queryFooterTpl.template)\"></ng-container>\n </div>\n </div>\n </ng-template>\n</ng-template>\n",
1477
+ providers: [LIB_MODAL],
1478
+ styles: [""]
1479
+ },] }
1480
+ ];
1481
+ ModalComponent.ctorParameters = function () { return [
1482
+ { type: core.ViewContainerRef },
1483
+ { type: overlay.Overlay },
1484
+ { type: router.ActivatedRoute }
1485
+ ]; };
1486
+ ModalComponent.propDecorators = {
1487
+ closeOnKeyPressed: [{ type: core.Input }],
1488
+ showCloseBtn: [{ type: core.Input }],
1489
+ titleText: [{ type: core.Input }],
1490
+ icon: [{ type: core.Input }],
1491
+ iconTpl: [{ type: core.Input }],
1492
+ titleTpl: [{ type: core.Input }],
1493
+ footerTpl: [{ type: core.Input }],
1494
+ modalClosed: [{ type: core.Output }],
1495
+ overlayDetached: [{ type: core.Output }],
1496
+ _queryIconTpl: [{ type: core.ContentChild, args: [ModalHeaderIconTplDirective, { static: true },] }],
1497
+ _queryTitleTpl: [{ type: core.ContentChild, args: [ModalHeaderTitleTplDirective, { static: true },] }],
1498
+ _queryFooterTpl: [{ type: core.ContentChild, args: [ModalFooterTplDirective, { static: true },] }],
1499
+ _modalTpl: [{ type: core.ViewChild, args: ['modalTpl', { static: true },] }],
1500
+ form: [{ type: core.Input }],
1501
+ formSubmit: [{ type: core.Output }]
1502
+ };
1503
+ __decorate([
1504
+ core$1.InputBoolean()
1505
+ ], ModalComponent.prototype, "showCloseBtn", void 0);
1506
+
1507
+ var RouteModalComponent = /** @class */ (function () {
1508
+ // @ViewChild(ModalComponent, { static: true }) _modal: ModalComponent
1509
+ function RouteModalComponent(_route, _router, _modal) {
1510
+ this._route = _route;
1511
+ this._router = _router;
1512
+ this._modal = _modal;
1513
+ this._ngUnsubscribe = new rxjs.Subject();
1514
+ }
1515
+ RouteModalComponent.prototype.ngOnInit = function () {
1516
+ var _this = this;
1517
+ this._route.data
1518
+ .pipe(operators.takeUntil(this._ngUnsubscribe))
1519
+ .subscribe(function (data) {
1520
+ // console.log('data', data)
1521
+ if (data.routeComponent) {
1522
+ // console.log(this._route.snapshot)
1523
+ var modalRef = _this._modal.openFromComponent(data.routeComponent, {
1524
+ modalSize: 'lg',
1525
+ data: data
1526
+ });
1527
+ modalRef.afterClosed().subscribe(function () {
1528
+ var parent = _this.getOutletParent();
1529
+ _this._router.navigate([{ outlets: { modal: null, primary: ['.'] } }],
1530
+ // { relativeTo: this._route.parent }
1531
+ { relativeTo: parent });
1532
+ });
1533
+ }
1534
+ });
1535
+ };
1536
+ RouteModalComponent.prototype.ngOnDestroy = function () {
1537
+ this._ngUnsubscribe.next();
1538
+ this._ngUnsubscribe.complete();
1539
+ };
1540
+ RouteModalComponent.prototype.ngAfterViewInit = function () { };
1541
+ RouteModalComponent.prototype.getOutletParent = function () {
1542
+ var route = this._route;
1543
+ while (route && route.outlet !== 'modal') {
1544
+ route = route.parent;
1545
+ }
1546
+ return route ? route.parent : route;
1547
+ };
1548
+ RouteModalComponent.prototype._onDetached = function () {
1549
+ if (this.isRouteModal()) {
1550
+ this._router.navigate([{ outlets: { modal: null, primary: ['.'] } }], { relativeTo: this._route.parent });
1551
+ }
1552
+ };
1553
+ RouteModalComponent.prototype.isRouteModal = function () {
1554
+ return this._route.outlet === 'modal';
1555
+ };
1556
+ return RouteModalComponent;
1557
+ }());
1558
+ RouteModalComponent.decorators = [
1559
+ { type: core.Component, args: [{
1560
+ selector: 'seam-route-modal',
1561
+ template: "<!-- <seam-modal (overlayDetached)=\"_onDetached()\">\n <router-outlet></router-outlet>\n</seam-modal> -->\n",
1562
+ styles: [""]
1563
+ },] }
1564
+ ];
1565
+ RouteModalComponent.ctorParameters = function () { return [
1566
+ { type: router.ActivatedRoute },
1567
+ { type: router.Router },
1568
+ { type: Modal }
1569
+ ]; };
1570
+
1571
+ var ɵ0 = ModalRef, ɵ1 = ModalContainerComponent, ɵ2 = ModalConfig;
1572
+ var TheSeamModalModule = /** @class */ (function () {
1573
+ function TheSeamModalModule() {
1574
+ }
1575
+ return TheSeamModalModule;
1576
+ }());
1577
+ TheSeamModalModule.decorators = [
1578
+ { type: core.NgModule, args: [{
1579
+ declarations: [
1580
+ ModalComponent,
1581
+ ModalFooterTplDirective,
1582
+ ModalHeaderIconTplDirective,
1583
+ ModalHeaderTitleTplDirective,
1584
+ RouteModalComponent,
1585
+ ModalDirective,
1586
+ ModalContainerComponent,
1587
+ ModalHeaderComponent,
1588
+ ModalTitleDirective,
1589
+ ModalBodyComponent,
1590
+ ModalFooterComponent,
1591
+ ModalCloseDirective
1592
+ ],
1593
+ imports: [
1594
+ common.CommonModule,
1595
+ overlay.OverlayModule,
1596
+ angularFontawesome.FontAwesomeModule,
1597
+ router.RouterModule,
1598
+ forms.ReactiveFormsModule,
1599
+ portal.PortalModule,
1600
+ a11y.A11yModule,
1601
+ ],
1602
+ exports: [
1603
+ ModalComponent,
1604
+ ModalFooterTplDirective,
1605
+ ModalHeaderIconTplDirective,
1606
+ ModalHeaderTitleTplDirective,
1607
+ RouteModalComponent,
1608
+ ModalDirective,
1609
+ // Re-export the PortalModule so that people extending the `CdkDialogContainer`
1610
+ // don't have to remember to import it or be faced with an unhelpful error.
1611
+ portal.PortalModule,
1612
+ ModalHeaderComponent,
1613
+ ModalTitleDirective,
1614
+ ModalBodyComponent,
1615
+ ModalFooterComponent,
1616
+ ModalCloseDirective
1617
+ ],
1618
+ providers: [
1619
+ Modal,
1620
+ THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER,
1621
+ { provide: MODAL_REF, useValue: ɵ0 },
1622
+ { provide: MODAL_CONTAINER, useValue: ɵ1 },
1623
+ { provide: MODAL_CONFIG, useValue: ɵ2 },
1624
+ ],
1625
+ entryComponents: [
1626
+ RouteModalComponent,
1627
+ ModalContainerComponent
1628
+ ],
1629
+ },] }
1630
+ ];
1631
+
1632
+ /**
1633
+ * Generated bundle index. Do not edit.
1634
+ */
1635
+
1636
+ exports.LIB_MODAL = LIB_MODAL;
1637
+ exports.LIB_MODAL_CONFIG = LIB_MODAL_CONFIG;
1638
+ exports.MODAL_CONFIG = MODAL_CONFIG;
1639
+ exports.MODAL_CONTAINER = MODAL_CONTAINER;
1640
+ exports.MODAL_DATA = MODAL_DATA;
1641
+ exports.MODAL_REF = MODAL_REF;
1642
+ exports.MODAL_SCROLL_STRATEGY = MODAL_SCROLL_STRATEGY;
1643
+ exports.Modal = Modal;
1644
+ exports.ModalBodyComponent = ModalBodyComponent;
1645
+ exports.ModalCloseDirective = ModalCloseDirective;
1646
+ exports.ModalComponent = ModalComponent;
1647
+ exports.ModalConfig = ModalConfig;
1648
+ exports.ModalContainerComponent = ModalContainerComponent;
1649
+ exports.ModalDirective = ModalDirective;
1650
+ exports.ModalFooterComponent = ModalFooterComponent;
1651
+ exports.ModalFooterTplDirective = ModalFooterTplDirective;
1652
+ exports.ModalHeaderComponent = ModalHeaderComponent;
1653
+ exports.ModalHeaderIconTplDirective = ModalHeaderIconTplDirective;
1654
+ exports.ModalHeaderTitleTplDirective = ModalHeaderTitleTplDirective;
1655
+ exports.ModalRef = ModalRef;
1656
+ exports.ModalTitleDirective = ModalTitleDirective;
1657
+ exports.RouteModalComponent = RouteModalComponent;
1658
+ exports.THESEAM_MODAL_CONTAINER = THESEAM_MODAL_CONTAINER;
1659
+ exports.THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER = THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER;
1660
+ exports.THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER_FACTORY = THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER_FACTORY;
1661
+ exports.TheSeamModalModule = TheSeamModalModule;
1662
+ exports.getClosestModal = getClosestModal;
1663
+ exports.mergeModalConfigs = mergeModalConfigs;
1664
+ exports.throwDialogContentAlreadyAttachedError = throwDialogContentAlreadyAttachedError;
1665
+
1666
+ Object.defineProperty(exports, '__esModule', { value: true });
1667
+
1668
+ })));
1669
+ //# sourceMappingURL=theseam-ui-common-modal.umd.js.map