@theseam/ui-common 0.3.14-beta.2 → 0.3.15-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2114) hide show
  1. package/asset-reader/asset-reader-helper.service.d.ts +3 -0
  2. package/asset-reader/asset-reader.module.d.ts +5 -0
  3. package/asset-reader/encrypted-asset-link.directive.d.ts +3 -0
  4. package/asset-reader/index.d.ts +5 -0
  5. package/assets/storybook-intro.gif +0 -0
  6. package/breadcrumbs/breadcrumb.d.ts +1 -1
  7. package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +4 -3
  8. package/breadcrumbs/breadcrumbs-resolver.d.ts +1 -1
  9. package/breadcrumbs/breadcrumbs.module.d.ts +7 -0
  10. package/breadcrumbs/breadcrumbs.service.d.ts +3 -0
  11. package/breadcrumbs/index.d.ts +5 -0
  12. package/buttons/badge-button/badge-button.component.d.ts +5 -0
  13. package/buttons/button/button.component.d.ts +7 -0
  14. package/buttons/buttons.module.d.ts +10 -0
  15. package/buttons/index.d.ts +5 -0
  16. package/buttons/progress-circle-button/progress-circle-button.component.d.ts +3 -0
  17. package/buttons/toggle-button/toggle-button.component.d.ts +3 -0
  18. package/card/card-action/card-action.component.d.ts +3 -0
  19. package/card/card-body/card-body.component.d.ts +5 -4
  20. package/card/card-footer/card-footer.component.d.ts +4 -4
  21. package/card/card-header/card-header.component.d.ts +4 -4
  22. package/card/card.component.d.ts +4 -4
  23. package/card/card.module.d.ts +11 -0
  24. package/card/index.d.ts +5 -0
  25. package/carousel/carousel-slide.directive.d.ts +8 -0
  26. package/carousel/carousel.component.d.ts +85 -0
  27. package/carousel/carousel.module.d.ts +11 -0
  28. package/carousel/index.d.ts +5 -0
  29. package/carousel/public-api.d.ts +3 -0
  30. package/checkbox/checkbox.component.d.ts +5 -4
  31. package/checkbox/checkbox.module.d.ts +7 -0
  32. package/checkbox/index.d.ts +5 -0
  33. package/checkbox/public-api.d.ts +1 -0
  34. package/checkbox/testing/checkbox.harness.d.ts +49 -0
  35. package/checkbox/testing/index.d.ts +1 -0
  36. package/confirm-dialog/confirm-click.directive.d.ts +3 -0
  37. package/confirm-dialog/confirm-dialog.component.d.ts +3 -0
  38. package/confirm-dialog/confirm-dialog.module.d.ts +10 -0
  39. package/confirm-dialog/confirm-dialog.service.d.ts +3 -0
  40. package/confirm-dialog/index.d.ts +5 -0
  41. package/core/common-behaviors/active.d.ts +2 -2
  42. package/core/common-behaviors/constructor.d.ts +1 -1
  43. package/core/common-behaviors/disabled.d.ts +2 -2
  44. package/core/common-behaviors/initialized.d.ts +2 -2
  45. package/core/common-behaviors/size.d.ts +1 -1
  46. package/core/common-behaviors/tabindex.d.ts +1 -1
  47. package/core/common-behaviors/theme.d.ts +1 -1
  48. package/core/index.d.ts +5 -0
  49. package/core/input-decorators/input-boolean.decorator.d.ts +1 -1
  50. package/core/input-decorators/input-number.decorator.d.ts +1 -1
  51. package/data-exporter/data-exporter.d.ts +1 -1
  52. package/data-exporter/data-exporter.module.d.ts +4 -0
  53. package/data-exporter/exporters/csv-exporter.d.ts +3 -0
  54. package/data-exporter/exporters/xlsx-exporter.d.ts +3 -0
  55. package/data-exporter/index.d.ts +5 -0
  56. package/data-filters/data-filter.d.ts +4 -4
  57. package/data-filters/data-filters.module.d.ts +13 -0
  58. package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +6 -3
  59. package/data-filters/filters/data-filter-search/search-filter-options.d.ts +1 -1
  60. package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +5 -2
  61. package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +5 -2
  62. package/data-filters/index.d.ts +5 -0
  63. package/datatable/datatable/datatable.component.d.ts +8 -0
  64. package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +3 -0
  65. package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +3 -0
  66. package/datatable/datatable-column/datatable-column.component.d.ts +6 -4
  67. package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +5 -2
  68. package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +4 -3
  69. package/datatable/datatable-export-button/datatable-export-button.component.d.ts +4 -3
  70. package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +3 -0
  71. package/datatable/datatable-footer/datatable-footer.directive.d.ts +3 -0
  72. package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +5 -5
  73. package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +4 -4
  74. package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +4 -4
  75. package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +4 -4
  76. package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +4 -4
  77. package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +4 -3
  78. package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +3 -0
  79. package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +3 -0
  80. package/datatable/datatable.module.d.ts +45 -0
  81. package/datatable/directives/datatable-action-menu-item.directive.d.ts +5 -4
  82. package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +3 -0
  83. package/datatable/directives/datatable-cell-tpl.directive.d.ts +3 -0
  84. package/datatable/directives/datatable-filter.directive.d.ts +3 -0
  85. package/datatable/directives/datatable-row-action-item.directive.d.ts +3 -0
  86. package/datatable/index.d.ts +5 -0
  87. package/datatable/models/action-item-column-position.d.ts +7 -2
  88. package/datatable/models/preferences.d.ts +1 -1
  89. package/datatable/models/table-column.d.ts +1 -1
  90. package/datatable/services/columns-alterations-manager.service.d.ts +3 -0
  91. package/datatable/services/columns-manager.service.d.ts +6 -1
  92. package/datatable/services/datatable-column-changes.service.d.ts +3 -0
  93. package/datatable/services/datatable-preferences.service.d.ts +3 -0
  94. package/datatable/services/datatable-scrollbar-helper.service.d.ts +3 -0
  95. package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +4 -3
  96. package/datatable-dynamic/datatable-dynamic-def.d.ts +3 -3
  97. package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +3 -0
  98. package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +6 -4
  99. package/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.d.ts +1 -1
  100. package/datatable-dynamic/datatable-dynamic.component.d.ts +4 -4
  101. package/datatable-dynamic/datatable-dynamic.module.d.ts +20 -0
  102. package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +6 -4
  103. package/datatable-dynamic/dynamic-datatable-def.service.d.ts +3 -0
  104. package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +3 -0
  105. package/datatable-dynamic/index.d.ts +5 -0
  106. package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +1 -1
  107. package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +2 -2
  108. package/dynamic/action/api/dynamic-action-api.service.d.ts +3 -0
  109. package/dynamic/action/dynamic-action-helper.service.d.ts +3 -0
  110. package/dynamic/action/link/dynamic-action-link.service.d.ts +3 -0
  111. package/dynamic/action/modal/dynamic-action-modal-def.d.ts +1 -1
  112. package/dynamic/action/modal/dynamic-action-modal.service.d.ts +3 -0
  113. package/dynamic/dynamic-value-helper.service.d.ts +8 -4
  114. package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +3 -0
  115. package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +6 -2
  116. package/dynamic/index.d.ts +5 -0
  117. package/dynamic/models/dynamic-value-base-type.d.ts +1 -1
  118. package/dynamic/models/dynamic-value-evaluatable-type.d.ts +2 -1
  119. package/dynamic/models/dynamic-value-primitive.d.ts +1 -1
  120. package/dynamic/models/dynamic-value.d.ts +1 -1
  121. package/dynamic/tokens/api-config.d.ts +1 -1
  122. package/dynamic-component-loader/dynamic-component-loader.module.d.ts +7 -3
  123. package/dynamic-component-loader/dynamic-component-loader.service.d.ts +7 -6
  124. package/dynamic-component-loader/dynamic-component-manifest.d.ts +4 -4
  125. package/dynamic-component-loader/index.d.ts +5 -0
  126. package/esm2020/asset-reader/asset-reader-helper.service.mjs +70 -0
  127. package/esm2020/asset-reader/asset-reader.module.mjs +20 -0
  128. package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +74 -0
  129. package/esm2020/breadcrumbs/breadcrumb.mjs +2 -0
  130. package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +18 -0
  131. package/esm2020/breadcrumbs/breadcrumbs-resolver.mjs +2 -0
  132. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +28 -0
  133. package/esm2020/breadcrumbs/breadcrumbs.service.mjs +156 -0
  134. package/esm2020/buttons/badge-button/badge-button.component.mjs +62 -0
  135. package/esm2020/buttons/button/button.component.mjs +84 -0
  136. package/esm2020/buttons/buttons.module.mjs +51 -0
  137. package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +52 -0
  138. package/esm2020/buttons/toggle-button/toggle-button.component.mjs +79 -0
  139. package/esm2020/card/card-action/card-action.component.mjs +31 -0
  140. package/esm2020/card/card-body/card-body.component.mjs +32 -0
  141. package/esm2020/card/card-footer/card-footer.component.mjs +11 -0
  142. package/esm2020/card/card-header/card-header.component.mjs +21 -0
  143. package/esm2020/card/card.component.mjs +17 -0
  144. package/esm2020/card/card.module.mjs +48 -0
  145. package/esm2020/carousel/carousel-slide.directive.mjs +16 -0
  146. package/esm2020/carousel/carousel.component.mjs +211 -0
  147. package/esm2020/carousel/carousel.module.mjs +38 -0
  148. package/esm2020/carousel/public-api.mjs +4 -0
  149. package/esm2020/carousel/theseam-ui-common-carousel.mjs +5 -0
  150. package/esm2020/checkbox/checkbox.component.mjs +280 -0
  151. package/esm2020/checkbox/checkbox.module.mjs +28 -0
  152. package/esm2020/checkbox/public-api.mjs +4 -0
  153. package/esm2020/checkbox/testing/checkbox.harness.mjs +63 -0
  154. package/esm2020/checkbox/testing/index.mjs +2 -0
  155. package/esm2020/confirm-dialog/confirm-click.directive.mjs +69 -0
  156. package/esm2020/confirm-dialog/confirm-dialog.component.mjs +24 -0
  157. package/esm2020/confirm-dialog/confirm-dialog.module.mjs +47 -0
  158. package/esm2020/confirm-dialog/confirm-dialog.service.mjs +38 -0
  159. package/esm2020/core/common-behaviors/active.mjs +14 -0
  160. package/esm2020/core/common-behaviors/disabled.mjs +21 -0
  161. package/esm2020/core/common-behaviors/initialized.mjs +63 -0
  162. package/esm2020/core/common-behaviors/size.mjs +24 -0
  163. package/esm2020/core/common-behaviors/tabindex.mjs +23 -0
  164. package/esm2020/core/common-behaviors/theme.mjs +24 -0
  165. package/esm2020/core/input-decorators/input-boolean.decorator.mjs +26 -0
  166. package/esm2020/core/input-decorators/input-number.decorator.mjs +26 -0
  167. package/esm2020/data-exporter/data-exporter.module.mjs +25 -0
  168. package/esm2020/data-exporter/exporters/csv-exporter.mjs +35 -0
  169. package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +33 -0
  170. package/esm2020/data-filters/data-filter.mjs +25 -0
  171. package/esm2020/data-filters/data-filters.module.mjs +66 -0
  172. package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +121 -0
  173. package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +148 -0
  174. package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +166 -0
  175. package/esm2020/datatable/datatable/datatable.component.mjs +686 -0
  176. package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +100 -0
  177. package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +48 -0
  178. package/esm2020/datatable/datatable-column/datatable-column.component.mjs +107 -0
  179. package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +67 -0
  180. package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +51 -0
  181. package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +106 -0
  182. package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +16 -0
  183. package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +24 -0
  184. package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +49 -0
  185. package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +11 -0
  186. package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +11 -0
  187. package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +11 -0
  188. package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +11 -0
  189. package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +30 -0
  190. package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +16 -0
  191. package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +77 -0
  192. package/esm2020/datatable/datatable.module.mjs +205 -0
  193. package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +62 -0
  194. package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +137 -0
  195. package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +16 -0
  196. package/esm2020/datatable/directives/datatable-filter.directive.mjs +27 -0
  197. package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +16 -0
  198. package/esm2020/datatable/models/action-item-column-position.mjs +5 -0
  199. package/esm2020/datatable/models/columns-alteration.mjs +38 -0
  200. package/esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs +83 -0
  201. package/esm2020/datatable/models/datatable-gql-data-source.mjs +15 -0
  202. package/esm2020/datatable/models/internal-column-props.mjs +15 -0
  203. package/esm2020/datatable/models/sort-item.mjs +2 -0
  204. package/esm2020/datatable/services/columns-alterations-manager.service.mjs +136 -0
  205. package/esm2020/datatable/services/columns-manager.service.mjs +286 -0
  206. package/esm2020/datatable/services/datatable-column-changes.service.mjs +20 -0
  207. package/esm2020/datatable/services/datatable-preferences.service.mjs +166 -0
  208. package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +50 -0
  209. package/esm2020/datatable/theseam-ui-common-datatable.mjs +5 -0
  210. package/esm2020/datatable/utils/map-columns-alterations-states.mjs +42 -0
  211. package/esm2020/datatable/utils/set-column-defaults.mjs +10 -0
  212. package/esm2020/datatable/utils/with-stored-column-info.mjs +20 -0
  213. package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +118 -0
  214. package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +50 -0
  215. package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +148 -0
  216. package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs +2 -0
  217. package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +75 -0
  218. package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +80 -0
  219. package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +400 -0
  220. package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +88 -0
  221. package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +46 -0
  222. package/esm2020/datatable-dynamic/models/dynamic-datatable-menu-bar.mjs +2 -0
  223. package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +209 -0
  224. package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +158 -0
  225. package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +47 -0
  226. package/esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs +2 -0
  227. package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +85 -0
  228. package/esm2020/dynamic/dynamic-value-helper.service.mjs +105 -0
  229. package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +30 -0
  230. package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +32 -0
  231. package/esm2020/dynamic/models/dynamic-value-evaluatable-type.mjs +2 -0
  232. package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +50 -0
  233. package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +78 -0
  234. package/esm2020/dynamic-component-loader/dynamic-component-manifest.mjs +2 -0
  235. package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +11 -0
  236. package/esm2020/footer-bar/footer-bar.module.mjs +20 -0
  237. package/esm2020/form-field/form-field-error.directive.mjs +30 -0
  238. package/esm2020/form-field/form-field-help-text.directive.mjs +16 -0
  239. package/esm2020/form-field/form-field-label-tpl.directive.mjs +16 -0
  240. package/esm2020/form-field/form-field-required-indicator.component.mjs +46 -0
  241. package/esm2020/form-field/form-field-tokens.mjs +3 -0
  242. package/esm2020/form-field/form-field.component.mjs +221 -0
  243. package/esm2020/form-field/form-field.module.mjs +61 -0
  244. package/esm2020/form-field/input.directive.mjs +220 -0
  245. package/esm2020/form-field/public-api.mjs +10 -0
  246. package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +8 -0
  247. package/esm2020/form-field/testing/index.mjs +2 -0
  248. package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +26 -0
  249. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +26 -0
  250. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +18 -0
  251. package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +384 -0
  252. package/esm2020/form-field-error/form-field-error.module.mjs +39 -0
  253. package/esm2020/framework/base-layout/base-layout.component.mjs +133 -0
  254. package/esm2020/framework/base-layout/base-layout.module.mjs +80 -0
  255. package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +16 -0
  256. package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +16 -0
  257. package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +16 -0
  258. package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +66 -0
  259. package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +16 -0
  260. package/esm2020/framework/base-layout/directives/base-layout-side-bar-header.directive.mjs +16 -0
  261. package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +16 -0
  262. package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +16 -0
  263. package/esm2020/framework/base-layout/index.mjs +15 -0
  264. package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +16 -0
  265. package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +23 -0
  266. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +119 -0
  267. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +177 -0
  268. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +206 -0
  269. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +172 -0
  270. package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +3 -0
  271. package/esm2020/framework/dashboard/dashboard.component.mjs +24 -0
  272. package/esm2020/framework/dashboard/dashboard.module.mjs +60 -0
  273. package/esm2020/framework/dynamic-router/dynamic-route-def.mjs +2 -0
  274. package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +28 -0
  275. package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs +256 -0
  276. package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +116 -0
  277. package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +26 -0
  278. package/esm2020/framework/nav/horizontal-nav/horizontal-nav.component.mjs +55 -0
  279. package/esm2020/framework/nav/nav-item/nav-item.component.mjs +227 -0
  280. package/esm2020/framework/nav/nav-utils.mjs +107 -0
  281. package/esm2020/framework/nav/nav.module.mjs +67 -0
  282. package/esm2020/framework/nav/nav.service.mjs +204 -0
  283. package/esm2020/framework/schema-form/schema-form-framework.component.mjs +18 -0
  284. package/esm2020/framework/schema-form/schema-form-framework.mjs +30 -0
  285. package/esm2020/framework/schema-form/schema-form.module.mjs +52 -0
  286. package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +43 -0
  287. package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +79 -0
  288. package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +34 -0
  289. package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +40 -0
  290. package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +38 -0
  291. package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +46 -0
  292. package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +144 -0
  293. package/esm2020/framework/side-nav/index.mjs +8 -0
  294. package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +169 -0
  295. package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +40 -0
  296. package/esm2020/framework/side-nav/side-nav-tokens.mjs +3 -0
  297. package/esm2020/framework/side-nav/side-nav-utils.mjs +80 -0
  298. package/esm2020/framework/side-nav/side-nav.component.mjs +372 -0
  299. package/esm2020/framework/side-nav/side-nav.models.mjs +2 -0
  300. package/esm2020/framework/side-nav/side-nav.module.mjs +32 -0
  301. package/esm2020/framework/side-nav/side-nav.service.mjs +178 -0
  302. package/esm2020/framework/theseam-ui-common-framework.mjs +5 -0
  303. package/esm2020/framework/top-bar/index.mjs +10 -0
  304. package/esm2020/framework/top-bar/top-bar-compact-menu-btn-detail.directive.mjs +16 -0
  305. package/esm2020/framework/top-bar/top-bar-item.directive.mjs +22 -0
  306. package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +16 -0
  307. package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +56 -0
  308. package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +19 -0
  309. package/esm2020/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.mjs +16 -0
  310. package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +17 -0
  311. package/esm2020/framework/top-bar/top-bar.component.mjs +141 -0
  312. package/esm2020/framework/top-bar/top-bar.module.mjs +83 -0
  313. package/esm2020/google-maps/google-maps/google-maps.component.mjs +298 -0
  314. package/esm2020/google-maps/google-maps-api-loader/google-maps-api-loader.mjs +3 -0
  315. package/esm2020/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.mjs +103 -0
  316. package/esm2020/google-maps/google-maps-api-loader/noop-google-maps-api-loader.mjs +25 -0
  317. package/esm2020/google-maps/google-maps-contextmenu.mjs +114 -0
  318. package/esm2020/google-maps/google-maps-controls.service.mjs +67 -0
  319. package/esm2020/google-maps/google-maps-feature-helpers.mjs +211 -0
  320. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +209 -0
  321. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +165 -0
  322. package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +58 -0
  323. package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +115 -0
  324. package/esm2020/google-maps/google-maps.module.mjs +70 -0
  325. package/esm2020/google-maps/google-maps.service.mjs +355 -0
  326. package/esm2020/google-maps/map-control.component.mjs +66 -0
  327. package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +128 -0
  328. package/esm2020/google-maps/map-value-manager.service.mjs +48 -0
  329. package/esm2020/google-maps/public-api.mjs +17 -0
  330. package/esm2020/google-maps/theseam-ui-common-google-maps.mjs +5 -0
  331. package/esm2020/graphql/datatable/create-page-info-observable.mjs +38 -0
  332. package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +212 -0
  333. package/esm2020/graphql/datatable/datatable-graphql.service.mjs +50 -0
  334. package/esm2020/graphql/datatable/datatable-helpers.mjs +175 -0
  335. package/esm2020/graphql/datatable/get-page-info.mjs +10 -0
  336. package/esm2020/graphql/datatable/map-filter-states.mjs +63 -0
  337. package/esm2020/graphql/utils/inline-variables.mjs +51 -0
  338. package/esm2020/graphql/utils/parse-hints.mjs +108 -0
  339. package/esm2020/graphql/utils/to-gql.mjs +40 -0
  340. package/esm2020/icon/icon/icon.component.mjs +139 -0
  341. package/esm2020/icon/icon-btn/icon-btn.component.mjs +183 -0
  342. package/esm2020/icon/icon-notification/icon-notification.component.mjs +124 -0
  343. package/esm2020/icon/icon.module.mjs +38 -0
  344. package/esm2020/icon/utils/get-known-icon.mjs +82 -0
  345. package/esm2020/layout/breakpoint-aliases.mjs +11 -0
  346. package/esm2020/layout/layout.module.mjs +25 -0
  347. package/esm2020/layout/layout.service.mjs +32 -0
  348. package/esm2020/layout/observe-media-query.mjs +41 -0
  349. package/esm2020/loading/loading/loading.component.mjs +26 -0
  350. package/esm2020/loading/loading-overlay.service.mjs +58 -0
  351. package/esm2020/loading/loading.module.mjs +41 -0
  352. package/esm2020/menu/menu-divider.component.mjs +13 -0
  353. package/esm2020/menu/menu-footer/menu-footer.component.mjs +32 -0
  354. package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +54 -0
  355. package/esm2020/menu/menu-header/menu-header.component.mjs +32 -0
  356. package/esm2020/menu/menu-item.component.mjs +130 -0
  357. package/esm2020/menu/menu-toggle.directive.mjs +256 -0
  358. package/esm2020/menu/menu.component.mjs +177 -0
  359. package/esm2020/menu/menu.module.mjs +67 -0
  360. package/esm2020/modal/directives/modal-close.directive.mjs +74 -0
  361. package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +16 -0
  362. package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +16 -0
  363. package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +16 -0
  364. package/esm2020/modal/directives/modal-title.directive.mjs +20 -0
  365. package/esm2020/modal/directives/modal.directive.mjs +25 -0
  366. package/esm2020/modal/modal/modal.component.mjs +162 -0
  367. package/esm2020/modal/modal-body/modal-body.component.mjs +21 -0
  368. package/esm2020/modal/modal-config.mjs +47 -0
  369. package/esm2020/modal/modal-container/modal-container.component.mjs +245 -0
  370. package/esm2020/modal/modal-footer/modal-footer.component.mjs +17 -0
  371. package/esm2020/modal/modal-header/modal-header.component.mjs +28 -0
  372. package/esm2020/modal/modal-ref.mjs +171 -0
  373. package/esm2020/modal/modal.models.mjs +3 -0
  374. package/esm2020/modal/modal.module.mjs +127 -0
  375. package/esm2020/modal/modal.service.mjs +352 -0
  376. package/esm2020/modal/route-modal/route-modal.component.mjs +62 -0
  377. package/esm2020/popover/popover/popover.component.mjs +156 -0
  378. package/esm2020/popover/popover.directive.mjs +260 -0
  379. package/esm2020/popover/popover.module.mjs +40 -0
  380. package/esm2020/progress/progress-circle/progress-circle.component.mjs +65 -0
  381. package/esm2020/progress/progress.module.mjs +24 -0
  382. package/esm2020/public_api.mjs +2 -0
  383. package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +60 -0
  384. package/esm2020/scrollbar/overlay-scrollbars-config.mjs +13 -0
  385. package/esm2020/scrollbar/overlay-scrollbars.service.mjs +83 -0
  386. package/esm2020/scrollbar/scrollbar.module.mjs +30 -0
  387. package/esm2020/services/asset-loader.service.mjs +32 -0
  388. package/esm2020/services/font-loader.service.mjs +83 -0
  389. package/esm2020/services/router-helpers.service.mjs +25 -0
  390. package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +49 -0
  391. package/esm2020/shared/directives/auto-focus.directive.mjs +54 -0
  392. package/esm2020/shared/directives/click-outside.directive.mjs +52 -0
  393. package/esm2020/shared/directives/disable-control.directive.mjs +27 -0
  394. package/esm2020/shared/directives/elem-resized.directive.mjs +28 -0
  395. package/esm2020/shared/directives/hover-class-toggle.directive.mjs +88 -0
  396. package/esm2020/shared/directives/hover-class.directive.mjs +82 -0
  397. package/esm2020/shared/directives/ng-select-extra.directive.mjs +184 -0
  398. package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +61 -0
  399. package/esm2020/shared/pipes/mask-chars.pipe.mjs +25 -0
  400. package/esm2020/shared/pipes/truncate.pipe.mjs +23 -0
  401. package/esm2020/shared/shared.module.mjs +93 -0
  402. package/esm2020/storage/local-storage.service.mjs +78 -0
  403. package/esm2020/storage/localstorage-memory.mjs +64 -0
  404. package/esm2020/story-helpers/arg-type-helpers.mjs +35 -0
  405. package/esm2020/story-helpers/initial-route.service.mjs +27 -0
  406. package/esm2020/story-helpers/on-story-bootstrapped-exec.mjs +61 -0
  407. package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +39 -0
  408. package/esm2020/story-helpers/public-api.mjs +15 -0
  409. package/esm2020/story-helpers/routes-arg-type.mjs +19 -0
  410. package/esm2020/story-helpers/story-empty-with-route.component.mjs +12 -0
  411. package/esm2020/story-helpers/story-empty.component.mjs +11 -0
  412. package/esm2020/story-helpers/story-helper-components.module.mjs +42 -0
  413. package/esm2020/story-helpers/story-initial-route.mjs +28 -0
  414. package/esm2020/story-helpers/story-modal-container.component.mjs +90 -0
  415. package/esm2020/story-helpers/story-toastr.service.mjs +36 -0
  416. package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +17 -0
  417. package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +37 -0
  418. package/esm2020/tabbed/public-api.mjs +9 -0
  419. package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +16 -0
  420. package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +33 -0
  421. package/esm2020/tabbed/tabbed-models.mjs +2 -0
  422. package/esm2020/tabbed/tabbed.component.mjs +112 -0
  423. package/esm2020/tabbed/tabbed.module.mjs +54 -0
  424. package/esm2020/tabbed/tabbed.service.mjs +30 -0
  425. package/esm2020/table/table/table.component.mjs +96 -0
  426. package/esm2020/table/table.module.mjs +32 -0
  427. package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +67 -0
  428. package/esm2020/table-cell-type/table-cell-type-export-props.mjs +2 -0
  429. package/esm2020/table-cell-type/table-cell-type-models.mjs +2 -0
  430. package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +100 -0
  431. package/esm2020/table-cell-type/table-cell-type.module.mjs +29 -0
  432. package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +86 -0
  433. package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +52 -0
  434. package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +84 -0
  435. package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +175 -0
  436. package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +82 -0
  437. package/esm2020/table-cell-types/table-cell-type-manifests.mjs +92 -0
  438. package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +67 -0
  439. package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +168 -0
  440. package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +77 -0
  441. package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +197 -0
  442. package/esm2020/table-cell-types/table-cell-types.module.mjs +118 -0
  443. package/esm2020/table-cell-types/theseam-ui-common-table-cell-types.mjs +5 -0
  444. package/esm2020/tel-input/intl-tel-input.mjs +55 -0
  445. package/esm2020/tel-input/phone-number.pipe.mjs +49 -0
  446. package/esm2020/tel-input/tel-input/tel-input.component.mjs +186 -0
  447. package/esm2020/tel-input/tel-input-validator.mjs +27 -0
  448. package/esm2020/tel-input/tel-input.directive.mjs +210 -0
  449. package/esm2020/tel-input/tel-input.module.mjs +42 -0
  450. package/esm2020/tel-input/utils/add-country-code.mjs +23 -0
  451. package/esm2020/tel-input/utils/get-validation-error-message.mjs +12 -0
  452. package/esm2020/tel-input/utils/process-country-codes.mjs +46 -0
  453. package/esm2020/testing/get-harness.mjs +13 -0
  454. package/esm2020/testing/render-story.mjs +10 -0
  455. package/esm2020/testing/story-expect.mjs +39 -0
  456. package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +214 -0
  457. package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +159 -0
  458. package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +63 -0
  459. package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +17 -0
  460. package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +16 -0
  461. package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +19 -0
  462. package/esm2020/tiled-select/public-api.mjs +10 -0
  463. package/esm2020/tiled-select/testing/index.mjs +3 -0
  464. package/esm2020/tiled-select/testing/tiled-select-harness.mjs +21 -0
  465. package/esm2020/tiled-select/testing/tiled-select-tile-harness.mjs +23 -0
  466. package/esm2020/tiled-select/tiled-select.module.mjs +51 -0
  467. package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +11 -0
  468. package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +16 -0
  469. package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +57 -0
  470. package/esm2020/toggle-edit/toggle-edit.component.mjs +414 -0
  471. package/esm2020/toggle-edit/toggle-edit.module.mjs +64 -0
  472. package/esm2020/toggle-group/toggle-group-option.directive.mjs +47 -0
  473. package/esm2020/toggle-group/toggle-group.directive.mjs +198 -0
  474. package/esm2020/toggle-group/toggle-group.module.mjs +33 -0
  475. package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +30 -0
  476. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +21 -0
  477. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +38 -0
  478. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +17 -0
  479. package/esm2020/utils/array-move.mjs +62 -0
  480. package/esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs +18 -0
  481. package/esm2020/utils/file-utils.mjs +49 -0
  482. package/esm2020/utils/form/get-control-path.mjs +38 -0
  483. package/esm2020/utils/geo-json/coerce-feature-collection.mjs +44 -0
  484. package/esm2020/utils/geo-json/geo-json-to-area.mjs +11 -0
  485. package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +21 -0
  486. package/esm2020/utils/geo-json/is-only-geometry-types.mjs +23 -0
  487. package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +32 -0
  488. package/esm2020/utils/geo-json/merge-polygons.mjs +35 -0
  489. package/esm2020/utils/geo-json/min-max-points.validator.mjs +56 -0
  490. package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +63 -0
  491. package/esm2020/utils/geo-json/read-geo-file.mjs +93 -0
  492. package/esm2020/utils/geo-json/split-multi-polygons.mjs +29 -0
  493. package/esm2020/utils/has-property.mjs +7 -0
  494. package/esm2020/utils/load-style-sheet.mjs +14 -0
  495. package/esm2020/utils/load-style.mjs +13 -0
  496. package/esm2020/utils/obj-utils.mjs +26 -0
  497. package/esm2020/utils/polling-ticker.mjs +121 -0
  498. package/esm2020/utils/router/operators/activated-routes-with-data-property.mjs +11 -0
  499. package/esm2020/utils/router/route-snapshot-path-full.mjs +5 -0
  500. package/esm2020/utils/router/route-snapshot-path-relative.mjs +4 -0
  501. package/esm2020/utils/router/will-have-data-prop.mjs +10 -0
  502. package/esm2020/utils/subscriber-count.mjs +45 -0
  503. package/esm2020/utils/toggle-attribute.mjs +36 -0
  504. package/esm2020/utils/wait-on-condition-async.mjs +30 -0
  505. package/esm2020/vertical-list-filter/public-api.mjs +3 -0
  506. package/esm2020/vertical-list-filter/testing/index.mjs +2 -0
  507. package/esm2020/vertical-list-filter/testing/vertical-list-filter.harness.mjs +28 -0
  508. package/esm2020/vertical-list-filter/theseam-ui-common-vertical-list-filter.mjs +5 -0
  509. package/esm2020/vertical-list-filter/vertical-list-filter.component.mjs +52 -0
  510. package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +219 -0
  511. package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +32 -0
  512. package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +143 -0
  513. package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +28 -0
  514. package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +164 -0
  515. package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +33 -0
  516. package/esm2020/widget/directives/widget-drag-handle.directive.mjs +150 -0
  517. package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +16 -0
  518. package/esm2020/widget/directives/widget-title-tpl.directive.mjs +16 -0
  519. package/esm2020/widget/widget/widget.component.mjs +142 -0
  520. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +11 -0
  521. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +30 -0
  522. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +11 -0
  523. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +24 -0
  524. package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +11 -0
  525. package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +24 -0
  526. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +39 -0
  527. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +24 -0
  528. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +11 -0
  529. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +24 -0
  530. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +11 -0
  531. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +24 -0
  532. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +22 -0
  533. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +24 -0
  534. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +17 -0
  535. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +124 -0
  536. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +14 -0
  537. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +46 -0
  538. package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +38 -0
  539. package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +32 -0
  540. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +13 -0
  541. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +41 -0
  542. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +11 -0
  543. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +17 -0
  544. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +122 -0
  545. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +48 -0
  546. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +11 -0
  547. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +27 -0
  548. package/esm2020/widget/widget-footer/widget-footer.component.mjs +11 -0
  549. package/esm2020/widget/widget-registry.service.mjs +56 -0
  550. package/esm2020/widget/widget.module.mjs +125 -0
  551. package/fesm2015/theseam-ui-common-asset-reader.mjs +186 -0
  552. package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -0
  553. package/fesm2015/theseam-ui-common-breadcrumbs.mjs +201 -0
  554. package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -0
  555. package/fesm2015/theseam-ui-common-buttons.mjs +314 -0
  556. package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -0
  557. package/fesm2015/theseam-ui-common-card.mjs +153 -0
  558. package/fesm2015/theseam-ui-common-card.mjs.map +1 -0
  559. package/fesm2015/theseam-ui-common-carousel.mjs +265 -0
  560. package/fesm2015/theseam-ui-common-carousel.mjs.map +1 -0
  561. package/fesm2015/theseam-ui-common-checkbox.mjs +393 -0
  562. package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -0
  563. package/fesm2015/theseam-ui-common-confirm-dialog.mjs +173 -0
  564. package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -0
  565. package/fesm2015/theseam-ui-common-core.mjs +225 -0
  566. package/fesm2015/theseam-ui-common-core.mjs.map +1 -0
  567. package/fesm2015/theseam-ui-common-data-exporter.mjs +93 -0
  568. package/fesm2015/theseam-ui-common-data-exporter.mjs.map +1 -0
  569. package/fesm2015/theseam-ui-common-data-filters.mjs +508 -0
  570. package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -0
  571. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +998 -0
  572. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
  573. package/fesm2015/theseam-ui-common-datatable.mjs +2818 -0
  574. package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -0
  575. package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +135 -0
  576. package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
  577. package/fesm2015/theseam-ui-common-dynamic.mjs +722 -0
  578. package/fesm2015/theseam-ui-common-dynamic.mjs.map +1 -0
  579. package/fesm2015/theseam-ui-common-footer-bar.mjs +35 -0
  580. package/fesm2015/theseam-ui-common-footer-bar.mjs.map +1 -0
  581. package/fesm2015/theseam-ui-common-form-field-error.mjs +479 -0
  582. package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -0
  583. package/fesm2015/theseam-ui-common-form-field.mjs +601 -0
  584. package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -0
  585. package/fesm2015/theseam-ui-common-framework.mjs +3733 -0
  586. package/fesm2015/theseam-ui-common-framework.mjs.map +1 -0
  587. package/fesm2015/theseam-ui-common-google-maps.mjs +1957 -0
  588. package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -0
  589. package/fesm2015/theseam-ui-common-graphql.mjs +862 -0
  590. package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -0
  591. package/fesm2015/theseam-ui-common-icon.mjs +587 -0
  592. package/fesm2015/theseam-ui-common-icon.mjs.map +1 -0
  593. package/fesm2015/theseam-ui-common-layout.mjs +101 -0
  594. package/fesm2015/theseam-ui-common-layout.mjs.map +1 -0
  595. package/fesm2015/theseam-ui-common-loading.mjs +139 -0
  596. package/fesm2015/theseam-ui-common-loading.mjs.map +1 -0
  597. package/fesm2015/theseam-ui-common-menu.mjs +810 -0
  598. package/fesm2015/theseam-ui-common-menu.mjs.map +1 -0
  599. package/fesm2015/theseam-ui-common-modal.mjs +1378 -0
  600. package/fesm2015/theseam-ui-common-modal.mjs.map +1 -0
  601. package/fesm2015/theseam-ui-common-models.mjs +52 -0
  602. package/fesm2015/theseam-ui-common-models.mjs.map +1 -0
  603. package/fesm2015/theseam-ui-common-popover.mjs +498 -0
  604. package/fesm2015/theseam-ui-common-popover.mjs.map +1 -0
  605. package/fesm2015/theseam-ui-common-progress.mjs +93 -0
  606. package/fesm2015/theseam-ui-common-progress.mjs.map +1 -0
  607. package/fesm2015/theseam-ui-common-scrollbar.mjs +184 -0
  608. package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -0
  609. package/fesm2015/theseam-ui-common-services.mjs +139 -0
  610. package/fesm2015/theseam-ui-common-services.mjs.map +1 -0
  611. package/fesm2015/theseam-ui-common-shared.mjs +739 -0
  612. package/fesm2015/theseam-ui-common-shared.mjs.map +1 -0
  613. package/fesm2015/theseam-ui-common-storage.mjs +148 -0
  614. package/fesm2015/theseam-ui-common-storage.mjs.map +1 -0
  615. package/fesm2015/theseam-ui-common-story-helpers.mjs +402 -0
  616. package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -0
  617. package/fesm2015/theseam-ui-common-tabbed.mjs +281 -0
  618. package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -0
  619. package/fesm2015/theseam-ui-common-table-cell-type.mjs +201 -0
  620. package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +1 -0
  621. package/fesm2015/theseam-ui-common-table-cell-types.mjs +1134 -0
  622. package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -0
  623. package/fesm2015/theseam-ui-common-table.mjs +128 -0
  624. package/fesm2015/theseam-ui-common-table.mjs.map +1 -0
  625. package/fesm2015/theseam-ui-common-tel-input.mjs +765 -0
  626. package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -0
  627. package/fesm2015/theseam-ui-common-testing.mjs +192 -0
  628. package/fesm2015/theseam-ui-common-testing.mjs.map +1 -0
  629. package/fesm2015/theseam-ui-common-tiled-select.mjs +571 -0
  630. package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -0
  631. package/fesm2015/theseam-ui-common-toggle-edit.mjs +560 -0
  632. package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -0
  633. package/fesm2015/theseam-ui-common-toggle-group.mjs +279 -0
  634. package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -0
  635. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +106 -0
  636. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
  637. package/fesm2015/theseam-ui-common-utils.mjs +1319 -0
  638. package/fesm2015/theseam-ui-common-utils.mjs.map +1 -0
  639. package/fesm2015/theseam-ui-common-validators.mjs +94 -0
  640. package/fesm2015/theseam-ui-common-validators.mjs.map +1 -0
  641. package/fesm2015/theseam-ui-common-vertical-list-filter.mjs +96 -0
  642. package/fesm2015/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
  643. package/fesm2015/theseam-ui-common-viewers.mjs +602 -0
  644. package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -0
  645. package/fesm2015/theseam-ui-common-widget.mjs +1243 -0
  646. package/fesm2015/theseam-ui-common-widget.mjs.map +1 -0
  647. package/fesm2015/theseam-ui-common.mjs +6 -0
  648. package/fesm2015/theseam-ui-common.mjs.map +1 -0
  649. package/fesm2020/theseam-ui-common-asset-reader.mjs +184 -0
  650. package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -0
  651. package/fesm2020/theseam-ui-common-breadcrumbs.mjs +201 -0
  652. package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -0
  653. package/fesm2020/theseam-ui-common-buttons.mjs +314 -0
  654. package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -0
  655. package/fesm2020/theseam-ui-common-card.mjs +151 -0
  656. package/fesm2020/theseam-ui-common-card.mjs.map +1 -0
  657. package/fesm2020/theseam-ui-common-carousel.mjs +265 -0
  658. package/fesm2020/theseam-ui-common-carousel.mjs.map +1 -0
  659. package/fesm2020/theseam-ui-common-checkbox.mjs +375 -0
  660. package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -0
  661. package/fesm2020/theseam-ui-common-confirm-dialog.mjs +173 -0
  662. package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -0
  663. package/fesm2020/theseam-ui-common-core.mjs +233 -0
  664. package/fesm2020/theseam-ui-common-core.mjs.map +1 -0
  665. package/fesm2020/theseam-ui-common-data-exporter.mjs +93 -0
  666. package/fesm2020/theseam-ui-common-data-exporter.mjs.map +1 -0
  667. package/fesm2020/theseam-ui-common-data-filters.mjs +500 -0
  668. package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -0
  669. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +986 -0
  670. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
  671. package/fesm2020/theseam-ui-common-datatable.mjs +2811 -0
  672. package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -0
  673. package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +133 -0
  674. package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
  675. package/fesm2020/theseam-ui-common-dynamic.mjs +689 -0
  676. package/fesm2020/theseam-ui-common-dynamic.mjs.map +1 -0
  677. package/fesm2020/theseam-ui-common-footer-bar.mjs +35 -0
  678. package/fesm2020/theseam-ui-common-footer-bar.mjs.map +1 -0
  679. package/fesm2020/theseam-ui-common-form-field-error.mjs +483 -0
  680. package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -0
  681. package/fesm2020/theseam-ui-common-form-field.mjs +594 -0
  682. package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -0
  683. package/fesm2020/theseam-ui-common-framework.mjs +3734 -0
  684. package/fesm2020/theseam-ui-common-framework.mjs.map +1 -0
  685. package/fesm2020/theseam-ui-common-google-maps.mjs +1948 -0
  686. package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -0
  687. package/fesm2020/theseam-ui-common-graphql.mjs +868 -0
  688. package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -0
  689. package/fesm2020/theseam-ui-common-icon.mjs +587 -0
  690. package/fesm2020/theseam-ui-common-icon.mjs.map +1 -0
  691. package/fesm2020/theseam-ui-common-layout.mjs +111 -0
  692. package/fesm2020/theseam-ui-common-layout.mjs.map +1 -0
  693. package/fesm2020/theseam-ui-common-loading.mjs +138 -0
  694. package/fesm2020/theseam-ui-common-loading.mjs.map +1 -0
  695. package/fesm2020/theseam-ui-common-menu.mjs +797 -0
  696. package/fesm2020/theseam-ui-common-menu.mjs.map +1 -0
  697. package/fesm2020/theseam-ui-common-modal.mjs +1370 -0
  698. package/fesm2020/theseam-ui-common-modal.mjs.map +1 -0
  699. package/fesm2020/theseam-ui-common-models.mjs +55 -0
  700. package/fesm2020/theseam-ui-common-models.mjs.map +1 -0
  701. package/fesm2020/theseam-ui-common-popover.mjs +495 -0
  702. package/fesm2020/theseam-ui-common-popover.mjs.map +1 -0
  703. package/fesm2020/theseam-ui-common-progress.mjs +93 -0
  704. package/fesm2020/theseam-ui-common-progress.mjs.map +1 -0
  705. package/fesm2020/theseam-ui-common-scrollbar.mjs +184 -0
  706. package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -0
  707. package/fesm2020/theseam-ui-common-services.mjs +140 -0
  708. package/fesm2020/theseam-ui-common-services.mjs.map +1 -0
  709. package/fesm2020/theseam-ui-common-shared.mjs +733 -0
  710. package/fesm2020/theseam-ui-common-shared.mjs.map +1 -0
  711. package/fesm2020/theseam-ui-common-storage.mjs +148 -0
  712. package/fesm2020/theseam-ui-common-storage.mjs.map +1 -0
  713. package/fesm2020/theseam-ui-common-story-helpers.mjs +402 -0
  714. package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -0
  715. package/fesm2020/theseam-ui-common-tabbed.mjs +279 -0
  716. package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -0
  717. package/fesm2020/theseam-ui-common-table-cell-type.mjs +198 -0
  718. package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +1 -0
  719. package/fesm2020/theseam-ui-common-table-cell-types.mjs +1109 -0
  720. package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -0
  721. package/fesm2020/theseam-ui-common-table.mjs +132 -0
  722. package/fesm2020/theseam-ui-common-table.mjs.map +1 -0
  723. package/fesm2020/theseam-ui-common-tel-input.mjs +750 -0
  724. package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -0
  725. package/fesm2020/theseam-ui-common-testing.mjs +188 -0
  726. package/fesm2020/theseam-ui-common-testing.mjs.map +1 -0
  727. package/fesm2020/theseam-ui-common-tiled-select.mjs +557 -0
  728. package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -0
  729. package/fesm2020/theseam-ui-common-toggle-edit.mjs +553 -0
  730. package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -0
  731. package/fesm2020/theseam-ui-common-toggle-group.mjs +276 -0
  732. package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -0
  733. package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +106 -0
  734. package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
  735. package/fesm2020/theseam-ui-common-utils.mjs +1296 -0
  736. package/fesm2020/theseam-ui-common-utils.mjs.map +1 -0
  737. package/fesm2020/theseam-ui-common-validators.mjs +94 -0
  738. package/fesm2020/theseam-ui-common-validators.mjs.map +1 -0
  739. package/fesm2020/theseam-ui-common-vertical-list-filter.mjs +87 -0
  740. package/fesm2020/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
  741. package/fesm2020/theseam-ui-common-viewers.mjs +598 -0
  742. package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -0
  743. package/fesm2020/theseam-ui-common-widget.mjs +1239 -0
  744. package/fesm2020/theseam-ui-common-widget.mjs.map +1 -0
  745. package/fesm2020/theseam-ui-common.mjs +6 -0
  746. package/fesm2020/theseam-ui-common.mjs.map +1 -0
  747. package/footer-bar/footer-bar/footer-bar.component.d.ts +4 -4
  748. package/footer-bar/footer-bar.module.d.ts +6 -0
  749. package/footer-bar/index.d.ts +5 -0
  750. package/form-field/form-field-error.directive.d.ts +3 -0
  751. package/form-field/form-field-help-text.directive.d.ts +3 -0
  752. package/form-field/form-field-label-tpl.directive.d.ts +3 -0
  753. package/form-field/form-field-required-indicator.component.d.ts +5 -3
  754. package/form-field/form-field-tokens.d.ts +2 -0
  755. package/form-field/form-field.component.d.ts +3 -0
  756. package/form-field/form-field.module.d.ts +14 -0
  757. package/form-field/index.d.ts +5 -0
  758. package/form-field/input.directive.d.ts +3 -0
  759. package/form-field/public-api.d.ts +2 -0
  760. package/form-field/testing/form-field-required-indicator.harness.d.ts +5 -0
  761. package/form-field/testing/index.d.ts +1 -0
  762. package/form-field-error/form-field-error/form-field-error.component.d.ts +4 -4
  763. package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +3 -0
  764. package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +3 -0
  765. package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +5 -3
  766. package/form-field-error/form-field-error.module.d.ts +9 -0
  767. package/form-field-error/index.d.ts +5 -0
  768. package/framework/base-layout/base-layout-action.d.ts +1 -1
  769. package/framework/base-layout/base-layout.component.d.ts +3 -0
  770. package/framework/base-layout/base-layout.module.d.ts +18 -0
  771. package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +3 -0
  772. package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +3 -0
  773. package/framework/base-layout/directives/base-layout-content.directive.d.ts +3 -0
  774. package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +3 -0
  775. package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +3 -0
  776. package/framework/base-layout/directives/base-layout-side-bar-header.directive.d.ts +3 -0
  777. package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +3 -0
  778. package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +3 -0
  779. package/framework/base-layout/index.d.ts +2 -0
  780. package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +5 -4
  781. package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +8 -6
  782. package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +3 -0
  783. package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +3 -0
  784. package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +5 -1
  785. package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +3 -0
  786. package/framework/dashboard/dashboard-widgets-tokens.d.ts +7 -0
  787. package/framework/dashboard/dashboard.component.d.ts +3 -1
  788. package/framework/dashboard/dashboard.module.d.ts +15 -0
  789. package/framework/dynamic-router/dynamic-router.module.d.ts +7 -0
  790. package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +5 -3
  791. package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +3 -1
  792. package/framework/index.d.ts +5 -0
  793. package/framework/nav/horizontal-nav/horizontal-nav.component.d.ts +5 -3
  794. package/framework/nav/nav-item/nav-item.component.d.ts +3 -0
  795. package/framework/nav/nav.models.d.ts +3 -3
  796. package/framework/nav/nav.module.d.ts +15 -0
  797. package/framework/nav/nav.service.d.ts +3 -0
  798. package/framework/schema-form/schema-form-framework.component.d.ts +3 -0
  799. package/framework/schema-form/schema-form-framework.d.ts +3 -0
  800. package/framework/schema-form/schema-form.module.d.ts +8 -0
  801. package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +3 -0
  802. package/framework/schema-form-controls/schema-form-controls.module.d.ts +18 -0
  803. package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +3 -0
  804. package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +3 -0
  805. package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +3 -0
  806. package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +3 -0
  807. package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +4 -1
  808. package/framework/side-nav/index.d.ts +1 -0
  809. package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +7 -13
  810. package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +5 -4
  811. package/framework/side-nav/side-nav-tokens.d.ts +6 -0
  812. package/framework/side-nav/side-nav.component.d.ts +5 -2
  813. package/framework/side-nav/side-nav.models.d.ts +8 -2
  814. package/framework/side-nav/side-nav.module.d.ts +7 -0
  815. package/framework/side-nav/side-nav.service.d.ts +3 -0
  816. package/framework/top-bar/index.d.ts +2 -0
  817. package/framework/top-bar/top-bar-compact-menu-btn-detail.directive.d.ts +3 -0
  818. package/framework/top-bar/top-bar-item.directive.d.ts +4 -1
  819. package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +3 -0
  820. package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +5 -4
  821. package/framework/top-bar/top-bar-menu.directive.d.ts +3 -0
  822. package/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.d.ts +3 -0
  823. package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +4 -4
  824. package/framework/top-bar/top-bar.component.d.ts +5 -4
  825. package/framework/top-bar/top-bar.module.d.ts +19 -0
  826. package/google-maps/google-maps/google-maps.component.d.ts +18 -11
  827. package/google-maps/google-maps-api-loader/google-maps-api-loader.d.ts +4 -0
  828. package/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.d.ts +73 -0
  829. package/google-maps/google-maps-api-loader/noop-google-maps-api-loader.d.ts +13 -0
  830. package/google-maps/google-maps-contextmenu.d.ts +1 -1
  831. package/google-maps/google-maps-controls.service.d.ts +3 -0
  832. package/google-maps/google-maps-feature-helpers.d.ts +1 -1
  833. package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +6 -4
  834. package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.d.ts +4 -1
  835. package/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.d.ts +3 -0
  836. package/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.d.ts +3 -0
  837. package/google-maps/google-maps.module.d.ts +18 -0
  838. package/google-maps/google-maps.service.d.ts +4 -1
  839. package/google-maps/index.d.ts +5 -0
  840. package/google-maps/map-control.component.d.ts +3 -0
  841. package/google-maps/map-controls-service.d.ts +1 -1
  842. package/google-maps/map-file-drop/map-file-drop.component.d.ts +3 -0
  843. package/google-maps/map-value-manager.service.d.ts +4 -1
  844. package/google-maps/public-api.d.ts +3 -0
  845. package/graphql/datatable/datatable-graphql-query-ref.d.ts +2 -3
  846. package/graphql/datatable/datatable-graphql.service.d.ts +4 -1
  847. package/graphql/datatable/datatable-helpers.d.ts +2 -2
  848. package/graphql/datatable/map-filter-states.d.ts +2 -2
  849. package/graphql/datatable/map-page-info.d.ts +1 -1
  850. package/graphql/datatable/mapper-context.d.ts +1 -1
  851. package/graphql/index.d.ts +5 -0
  852. package/graphql/models/gql-datatable-accessor.d.ts +1 -1
  853. package/graphql/models/hint-transformer.d.ts +1 -1
  854. package/icon/icon/icon.component.d.ts +4 -1
  855. package/icon/icon-btn/icon-btn.component.d.ts +5 -3
  856. package/icon/icon-notification/icon-notification.component.d.ts +3 -0
  857. package/icon/icon.d.ts +1 -1
  858. package/icon/icon.module.d.ts +9 -0
  859. package/icon/index.d.ts +5 -0
  860. package/index.d.ts +5 -0
  861. package/layout/breakpoint-aliases.d.ts +1 -1
  862. package/layout/index.d.ts +5 -0
  863. package/layout/layout.module.d.ts +6 -0
  864. package/layout/layout.service.d.ts +3 -0
  865. package/loading/index.d.ts +5 -0
  866. package/loading/loading/loading.component.d.ts +4 -4
  867. package/loading/loading-overlay.service.d.ts +3 -0
  868. package/loading/loading.models.d.ts +1 -1
  869. package/loading/loading.module.d.ts +9 -0
  870. package/menu/index.d.ts +5 -0
  871. package/menu/menu-divider.component.d.ts +3 -0
  872. package/menu/menu-footer/menu-footer.component.d.ts +3 -0
  873. package/menu/menu-footer-action/menu-footer-action.component.d.ts +3 -0
  874. package/menu/menu-header/menu-header.component.d.ts +3 -0
  875. package/menu/menu-item.component.d.ts +5 -3
  876. package/menu/menu-toggle.directive.d.ts +3 -0
  877. package/menu/menu.component.d.ts +3 -0
  878. package/menu/menu.module.d.ts +14 -0
  879. package/modal/README.md +5 -0
  880. package/modal/directives/modal-close.directive.d.ts +3 -0
  881. package/modal/directives/modal-footer-tpl.directive.d.ts +3 -0
  882. package/modal/directives/modal-header-icon-tpl.directive.d.ts +3 -0
  883. package/modal/directives/modal-header-title-tpl.directive.d.ts +3 -0
  884. package/modal/directives/modal-title.directive.d.ts +3 -0
  885. package/modal/directives/modal.directive.d.ts +3 -0
  886. package/modal/index.d.ts +5 -0
  887. package/modal/modal/modal.component.d.ts +8 -6
  888. package/modal/modal-body/modal-body.component.d.ts +4 -4
  889. package/modal/modal-config.d.ts +1 -1
  890. package/modal/modal-container/modal-container.component.d.ts +5 -2
  891. package/modal/modal-footer/modal-footer.component.d.ts +4 -4
  892. package/modal/modal-header/modal-header.component.d.ts +4 -4
  893. package/modal/modal.models.d.ts +2 -2
  894. package/modal/modal.module.d.ts +23 -0
  895. package/modal/modal.service.d.ts +3 -0
  896. package/modal/route-modal/route-modal.component.d.ts +5 -3
  897. package/models/component-type.d.ts +1 -1
  898. package/models/index.d.ts +5 -0
  899. package/models/size-prefixes.d.ts +1 -1
  900. package/models/size-types.d.ts +1 -1
  901. package/models/theme-prefixes.d.ts +1 -1
  902. package/models/theme-types.d.ts +2 -2
  903. package/package.json +418 -24
  904. package/popover/index.d.ts +5 -0
  905. package/popover/popover/popover.component.d.ts +3 -0
  906. package/popover/popover.directive.d.ts +3 -0
  907. package/popover/popover.module.d.ts +9 -0
  908. package/progress/index.d.ts +5 -0
  909. package/progress/progress-circle/progress-circle.component.d.ts +3 -1
  910. package/progress/progress.module.d.ts +6 -0
  911. package/scrollbar/index.d.ts +5 -0
  912. package/scrollbar/overlay-scrollbar.directive.d.ts +5 -3
  913. package/scrollbar/overlay-scrollbars-config-model.d.ts +1 -1
  914. package/scrollbar/overlay-scrollbars.service.d.ts +3 -0
  915. package/scrollbar/scrollbar.module.d.ts +6 -0
  916. package/services/asset-loader.service.d.ts +3 -1
  917. package/services/font-loader.service.d.ts +4 -2
  918. package/services/index.d.ts +5 -0
  919. package/services/router-helpers.service.d.ts +3 -0
  920. package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +3 -0
  921. package/shared/directives/auto-focus.directive.d.ts +3 -0
  922. package/shared/directives/click-outside.directive.d.ts +3 -0
  923. package/shared/directives/disable-control.directive.d.ts +3 -0
  924. package/shared/directives/elem-resized.directive.d.ts +3 -0
  925. package/shared/directives/hover-class-toggle.directive.d.ts +3 -0
  926. package/shared/directives/hover-class.directive.d.ts +3 -0
  927. package/shared/directives/ng-select-extra.directive.d.ts +3 -0
  928. package/shared/directives/ngx-quill-extra.directive.d.ts +3 -0
  929. package/shared/index.d.ts +5 -0
  930. package/shared/pipes/mask-chars.pipe.d.ts +3 -0
  931. package/shared/pipes/truncate.pipe.d.ts +3 -0
  932. package/shared/shared.module.d.ts +20 -0
  933. package/storage/index.d.ts +5 -0
  934. package/storage/local-storage.service.d.ts +3 -0
  935. package/story-helpers/arg-type-helpers.d.ts +2 -1
  936. package/story-helpers/index.d.ts +5 -0
  937. package/story-helpers/initial-route.service.d.ts +3 -0
  938. package/story-helpers/on-story-bootstrapped-exec.d.ts +1 -6
  939. package/story-helpers/public-api.d.ts +0 -1
  940. package/story-helpers/routes-arg-type.d.ts +7 -2
  941. package/story-helpers/story-empty-with-route.component.d.ts +3 -0
  942. package/story-helpers/story-empty.component.d.ts +3 -0
  943. package/story-helpers/story-helper-components.module.d.ts +10 -0
  944. package/story-helpers/story-initial-route.d.ts +4 -0
  945. package/story-helpers/story-modal-container.component.d.ts +3 -0
  946. package/story-helpers/story-toastr.service.d.ts +3 -0
  947. package/styles/bootstrap/_bootstrap.scss +34 -34
  948. package/styles/bootstrap/_bs-utilities.scss +3 -3
  949. package/styles/theme.scss +3 -3
  950. package/styles/vendor/ngx-datatable/_ngx-datatable.scss +39 -13
  951. package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +25 -15
  952. package/styles/vendor/quill/_quill.scss +3 -3
  953. package/tabbed/directives/tabbed-tab-content.directive.d.ts +5 -2
  954. package/tabbed/directives/tabbed-tab.directive.d.ts +5 -1
  955. package/tabbed/index.d.ts +5 -0
  956. package/tabbed/public-api.d.ts +1 -0
  957. package/tabbed/tabbed-content/tabbed-content.component.d.ts +6 -6
  958. package/tabbed/tabbed-item/tabbed-item.component.d.ts +6 -4
  959. package/tabbed/tabbed-models.d.ts +12 -0
  960. package/tabbed/tabbed.component.d.ts +3 -0
  961. package/tabbed/tabbed.module.d.ts +12 -0
  962. package/tabbed/tabbed.service.d.ts +3 -1
  963. package/table/index.d.ts +5 -0
  964. package/table/table/table.component.d.ts +7 -5
  965. package/table/table.module.d.ts +8 -0
  966. package/table-cell-type/index.d.ts +5 -0
  967. package/table-cell-type/services/table-cell-types-helpers.service.d.ts +3 -0
  968. package/table-cell-type/table-cell-type-models.d.ts +4 -4
  969. package/table-cell-type/table-cell-type-name.d.ts +1 -1
  970. package/table-cell-type/table-cell-type-selector.component.d.ts +6 -4
  971. package/table-cell-type/table-cell-type.module.d.ts +7 -0
  972. package/table-cell-types/index.d.ts +5 -0
  973. package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +1 -1
  974. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +5 -3
  975. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +1 -1
  976. package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +5 -3
  977. package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +1 -1
  978. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +1 -1
  979. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +5 -3
  980. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +1 -1
  981. package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +1 -1
  982. package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +6 -4
  983. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +1 -1
  984. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +5 -3
  985. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +1 -1
  986. package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +5 -3
  987. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +1 -1
  988. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +5 -3
  989. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +1 -1
  990. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +5 -3
  991. package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +1 -1
  992. package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +4 -1
  993. package/table-cell-types/table-cell-types.module.d.ts +24 -0
  994. package/tel-input/README.md +27 -0
  995. package/tel-input/index.d.ts +5 -0
  996. package/tel-input/phone-number.pipe.d.ts +3 -0
  997. package/tel-input/tel-input/tel-input.component.d.ts +5 -2
  998. package/tel-input/tel-input-validator.d.ts +3 -3
  999. package/tel-input/tel-input.directive.d.ts +3 -0
  1000. package/tel-input/tel-input.module.d.ts +10 -0
  1001. package/tel-input/utils/coerce-phone-number-format.d.ts +1 -1
  1002. package/testing/index.d.ts +5 -0
  1003. package/tiled-select/components/tiled-select/tiled-select.component.d.ts +6 -4
  1004. package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +3 -0
  1005. package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +4 -4
  1006. package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +3 -0
  1007. package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +3 -0
  1008. package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +3 -0
  1009. package/tiled-select/index.d.ts +5 -0
  1010. package/tiled-select/public-api.d.ts +1 -0
  1011. package/tiled-select/testing/index.d.ts +2 -0
  1012. package/tiled-select/testing/tiled-select-harness.d.ts +9 -0
  1013. package/tiled-select/testing/tiled-select-tile-harness.d.ts +17 -0
  1014. package/tiled-select/tiled-select.models.d.ts +2 -2
  1015. package/tiled-select/tiled-select.module.d.ts +12 -0
  1016. package/toggle-edit/index.d.ts +5 -0
  1017. package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +4 -4
  1018. package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +3 -0
  1019. package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +3 -0
  1020. package/toggle-edit/toggle-edit.component.d.ts +3 -0
  1021. package/toggle-edit/toggle-edit.module.d.ts +16 -0
  1022. package/toggle-group/index.d.ts +5 -0
  1023. package/toggle-group/toggle-group-option.directive.d.ts +3 -0
  1024. package/toggle-group/toggle-group.directive.d.ts +3 -1
  1025. package/toggle-group/toggle-group.module.d.ts +8 -0
  1026. package/unsaved-changes-dialog/index.d.ts +5 -0
  1027. package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +3 -0
  1028. package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +4 -4
  1029. package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +3 -0
  1030. package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +5 -0
  1031. package/utils/file-utils.d.ts +1 -1
  1032. package/utils/geo-json/read-geo-file.d.ts +1 -1
  1033. package/utils/index.d.ts +5 -0
  1034. package/utils/obj-utils.d.ts +2 -2
  1035. package/utils/polling-ticker.d.ts +1 -1
  1036. package/utils/subscriber-count.d.ts +1 -1
  1037. package/validators/index.d.ts +5 -0
  1038. package/vertical-list-filter/index.d.ts +5 -0
  1039. package/vertical-list-filter/public-api.d.ts +2 -0
  1040. package/vertical-list-filter/testing/index.d.ts +1 -0
  1041. package/vertical-list-filter/testing/vertical-list-filter.harness.d.ts +9 -0
  1042. package/vertical-list-filter/vertical-list-filter.component.d.ts +17 -0
  1043. package/viewers/html-template-viewer/html-template-viewer.component.d.ts +3 -0
  1044. package/viewers/html-template-viewer/html-template-viewer.module.d.ts +8 -0
  1045. package/viewers/index.d.ts +5 -0
  1046. package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +3 -0
  1047. package/viewers/pdf-viewer/pdf-renderer.service.d.ts +3 -0
  1048. package/viewers/pdf-viewer/pdf-viewer.component.d.ts +3 -0
  1049. package/viewers/pdf-viewer/pdf-viewer.module.d.ts +8 -0
  1050. package/widget/directives/widget-drag-handle.directive.d.ts +4 -1
  1051. package/widget/directives/widget-icon-tpl.directive.d.ts +3 -0
  1052. package/widget/directives/widget-title-tpl.directive.d.ts +3 -0
  1053. package/widget/index.d.ts +5 -0
  1054. package/widget/widget/widget.component.d.ts +4 -6
  1055. package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +4 -4
  1056. package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +7 -0
  1057. package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +4 -4
  1058. package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +6 -0
  1059. package/widget/widget-content-components/widget-description/widget-description.component.d.ts +3 -0
  1060. package/widget/widget-content-components/widget-description/widget-description.module.d.ts +6 -0
  1061. package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +5 -3
  1062. package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +6 -0
  1063. package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +4 -4
  1064. package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +6 -0
  1065. package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +4 -4
  1066. package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +6 -0
  1067. package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +5 -3
  1068. package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +6 -0
  1069. package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +3 -0
  1070. package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +15 -7
  1071. package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +4 -4
  1072. package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +9 -0
  1073. package/widget/widget-content-components/widget-table/widget-table.component.d.ts +3 -1
  1074. package/widget/widget-content-components/widget-table/widget-table.module.d.ts +8 -0
  1075. package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +4 -4
  1076. package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +5 -3
  1077. package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +4 -4
  1078. package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +3 -0
  1079. package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +5 -0
  1080. package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +11 -0
  1081. package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +4 -4
  1082. package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +7 -0
  1083. package/widget/widget-footer/widget-footer.component.d.ts +4 -4
  1084. package/widget/widget-registry.service.d.ts +3 -0
  1085. package/widget/widget.module.d.ts +28 -0
  1086. package/asset-reader/package.json +0 -11
  1087. package/asset-reader/theseam-ui-common-asset-reader.d.ts +0 -4
  1088. package/asset-reader/theseam-ui-common-asset-reader.metadata.json +0 -1
  1089. package/assets/.gitkeep +0 -0
  1090. package/assets/vendor/intl-tel-input/css/intlTelInput.min.css +0 -1
  1091. package/assets/vendor/intl-tel-input/img/flags.png +0 -0
  1092. package/assets/vendor/intl-tel-input/img/flags@2x.png +0 -0
  1093. package/assets/vendor/intl-tel-input/js/utils.js +0 -502
  1094. package/breadcrumbs/package.json +0 -11
  1095. package/breadcrumbs/theseam-ui-common-breadcrumbs.d.ts +0 -4
  1096. package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +0 -1
  1097. package/bundles/theseam-ui-common-asset-reader.umd.js +0 -531
  1098. package/bundles/theseam-ui-common-asset-reader.umd.js.map +0 -1
  1099. package/bundles/theseam-ui-common-breadcrumbs.umd.js +0 -586
  1100. package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +0 -1
  1101. package/bundles/theseam-ui-common-buttons.umd.js +0 -719
  1102. package/bundles/theseam-ui-common-buttons.umd.js.map +0 -1
  1103. package/bundles/theseam-ui-common-card.umd.js +0 -480
  1104. package/bundles/theseam-ui-common-card.umd.js.map +0 -1
  1105. package/bundles/theseam-ui-common-checkbox.umd.js +0 -650
  1106. package/bundles/theseam-ui-common-checkbox.umd.js.map +0 -1
  1107. package/bundles/theseam-ui-common-confirm-dialog.umd.js +0 -491
  1108. package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +0 -1
  1109. package/bundles/theseam-ui-common-core.umd.js +0 -604
  1110. package/bundles/theseam-ui-common-core.umd.js.map +0 -1
  1111. package/bundles/theseam-ui-common-data-exporter.umd.js +0 -96
  1112. package/bundles/theseam-ui-common-data-exporter.umd.js.map +0 -1
  1113. package/bundles/theseam-ui-common-data-filters.umd.js +0 -891
  1114. package/bundles/theseam-ui-common-data-filters.umd.js.map +0 -1
  1115. package/bundles/theseam-ui-common-datatable-dynamic.umd.js +0 -1499
  1116. package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +0 -1
  1117. package/bundles/theseam-ui-common-datatable.umd.js +0 -3246
  1118. package/bundles/theseam-ui-common-datatable.umd.js.map +0 -1
  1119. package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +0 -178
  1120. package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +0 -1
  1121. package/bundles/theseam-ui-common-dynamic.umd.js +0 -1252
  1122. package/bundles/theseam-ui-common-dynamic.umd.js.map +0 -1
  1123. package/bundles/theseam-ui-common-footer-bar.umd.js +0 -49
  1124. package/bundles/theseam-ui-common-footer-bar.umd.js.map +0 -1
  1125. package/bundles/theseam-ui-common-form-field-error.umd.js +0 -884
  1126. package/bundles/theseam-ui-common-form-field-error.umd.js.map +0 -1
  1127. package/bundles/theseam-ui-common-form-field.umd.js +0 -914
  1128. package/bundles/theseam-ui-common-form-field.umd.js.map +0 -1
  1129. package/bundles/theseam-ui-common-framework.umd.js +0 -4270
  1130. package/bundles/theseam-ui-common-framework.umd.js.map +0 -1
  1131. package/bundles/theseam-ui-common-google-maps.umd.js +0 -2234
  1132. package/bundles/theseam-ui-common-google-maps.umd.js.map +0 -1
  1133. package/bundles/theseam-ui-common-graphql.umd.js +0 -1307
  1134. package/bundles/theseam-ui-common-graphql.umd.js.map +0 -1
  1135. package/bundles/theseam-ui-common-icon.umd.js +0 -890
  1136. package/bundles/theseam-ui-common-icon.umd.js.map +0 -1
  1137. package/bundles/theseam-ui-common-layout.umd.js +0 -126
  1138. package/bundles/theseam-ui-common-layout.umd.js.map +0 -1
  1139. package/bundles/theseam-ui-common-loading.umd.js +0 -152
  1140. package/bundles/theseam-ui-common-loading.umd.js.map +0 -1
  1141. package/bundles/theseam-ui-common-menu.umd.js +0 -1157
  1142. package/bundles/theseam-ui-common-menu.umd.js.map +0 -1
  1143. package/bundles/theseam-ui-common-modal.umd.js +0 -1718
  1144. package/bundles/theseam-ui-common-modal.umd.js.map +0 -1
  1145. package/bundles/theseam-ui-common-models.umd.js +0 -63
  1146. package/bundles/theseam-ui-common-models.umd.js.map +0 -1
  1147. package/bundles/theseam-ui-common-popover.umd.js +0 -504
  1148. package/bundles/theseam-ui-common-popover.umd.js.map +0 -1
  1149. package/bundles/theseam-ui-common-progress.umd.js +0 -420
  1150. package/bundles/theseam-ui-common-progress.umd.js.map +0 -1
  1151. package/bundles/theseam-ui-common-scrollbar.umd.js +0 -238
  1152. package/bundles/theseam-ui-common-scrollbar.umd.js.map +0 -1
  1153. package/bundles/theseam-ui-common-services.umd.js +0 -176
  1154. package/bundles/theseam-ui-common-services.umd.js.map +0 -1
  1155. package/bundles/theseam-ui-common-shared.umd.js +0 -1115
  1156. package/bundles/theseam-ui-common-shared.umd.js.map +0 -1
  1157. package/bundles/theseam-ui-common-storage.umd.js +0 -176
  1158. package/bundles/theseam-ui-common-storage.umd.js.map +0 -1
  1159. package/bundles/theseam-ui-common-story-helpers.umd.js +0 -795
  1160. package/bundles/theseam-ui-common-story-helpers.umd.js.map +0 -1
  1161. package/bundles/theseam-ui-common-tabbed.umd.js +0 -628
  1162. package/bundles/theseam-ui-common-tabbed.umd.js.map +0 -1
  1163. package/bundles/theseam-ui-common-table-cell-type.umd.js +0 -220
  1164. package/bundles/theseam-ui-common-table-cell-type.umd.js.map +0 -1
  1165. package/bundles/theseam-ui-common-table-cell-types.umd.js +0 -1484
  1166. package/bundles/theseam-ui-common-table-cell-types.umd.js.map +0 -1
  1167. package/bundles/theseam-ui-common-table.umd.js +0 -475
  1168. package/bundles/theseam-ui-common-table.umd.js.map +0 -1
  1169. package/bundles/theseam-ui-common-tel-input.umd.js +0 -1107
  1170. package/bundles/theseam-ui-common-tel-input.umd.js.map +0 -1
  1171. package/bundles/theseam-ui-common-testing.umd.js +0 -568
  1172. package/bundles/theseam-ui-common-testing.umd.js.map +0 -1
  1173. package/bundles/theseam-ui-common-tiled-select.umd.js +0 -866
  1174. package/bundles/theseam-ui-common-tiled-select.umd.js.map +0 -1
  1175. package/bundles/theseam-ui-common-toggle-edit.umd.js +0 -891
  1176. package/bundles/theseam-ui-common-toggle-edit.umd.js.map +0 -1
  1177. package/bundles/theseam-ui-common-toggle-group.umd.js +0 -629
  1178. package/bundles/theseam-ui-common-toggle-group.umd.js.map +0 -1
  1179. package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +0 -134
  1180. package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +0 -1
  1181. package/bundles/theseam-ui-common-utils.umd.js +0 -1890
  1182. package/bundles/theseam-ui-common-utils.umd.js.map +0 -1
  1183. package/bundles/theseam-ui-common-validators.umd.js +0 -105
  1184. package/bundles/theseam-ui-common-validators.umd.js.map +0 -1
  1185. package/bundles/theseam-ui-common-viewers.umd.js +0 -962
  1186. package/bundles/theseam-ui-common-viewers.umd.js.map +0 -1
  1187. package/bundles/theseam-ui-common-widget.umd.js +0 -1710
  1188. package/bundles/theseam-ui-common-widget.umd.js.map +0 -1
  1189. package/bundles/theseam-ui-common.umd.js +0 -54
  1190. package/bundles/theseam-ui-common.umd.js.map +0 -1
  1191. package/buttons/package.json +0 -11
  1192. package/buttons/theseam-ui-common-buttons.d.ts +0 -4
  1193. package/buttons/theseam-ui-common-buttons.metadata.json +0 -1
  1194. package/card/package.json +0 -11
  1195. package/card/theseam-ui-common-card.d.ts +0 -4
  1196. package/card/theseam-ui-common-card.metadata.json +0 -1
  1197. package/checkbox/package.json +0 -11
  1198. package/checkbox/theseam-ui-common-checkbox.d.ts +0 -4
  1199. package/checkbox/theseam-ui-common-checkbox.metadata.json +0 -1
  1200. package/confirm-dialog/package.json +0 -11
  1201. package/confirm-dialog/theseam-ui-common-confirm-dialog.d.ts +0 -4
  1202. package/confirm-dialog/theseam-ui-common-confirm-dialog.metadata.json +0 -1
  1203. package/core/package.json +0 -11
  1204. package/core/theseam-ui-common-core.d.ts +0 -4
  1205. package/core/theseam-ui-common-core.metadata.json +0 -1
  1206. package/data-exporter/package.json +0 -11
  1207. package/data-exporter/theseam-ui-common-data-exporter.d.ts +0 -4
  1208. package/data-exporter/theseam-ui-common-data-exporter.metadata.json +0 -1
  1209. package/data-filters/package.json +0 -11
  1210. package/data-filters/theseam-ui-common-data-filters.d.ts +0 -4
  1211. package/data-filters/theseam-ui-common-data-filters.metadata.json +0 -1
  1212. package/datatable/package.json +0 -11
  1213. package/datatable/theseam-ui-common-datatable.d.ts +0 -7
  1214. package/datatable/theseam-ui-common-datatable.metadata.json +0 -1
  1215. package/datatable-dynamic/package.json +0 -11
  1216. package/datatable-dynamic/theseam-ui-common-datatable-dynamic.d.ts +0 -4
  1217. package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +0 -1
  1218. package/dynamic/package.json +0 -11
  1219. package/dynamic/theseam-ui-common-dynamic.d.ts +0 -4
  1220. package/dynamic/theseam-ui-common-dynamic.metadata.json +0 -1
  1221. package/dynamic-component-loader/package.json +0 -11
  1222. package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.d.ts +0 -4
  1223. package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.metadata.json +0 -1
  1224. package/esm2015/asset-reader/asset-reader-helper.service.js +0 -68
  1225. package/esm2015/asset-reader/asset-reader.module.js +0 -15
  1226. package/esm2015/asset-reader/encrypted-asset-link.directive.js +0 -69
  1227. package/esm2015/breadcrumbs/breadcrumb.js +0 -2
  1228. package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +0 -22
  1229. package/esm2015/breadcrumbs/breadcrumbs-resolver.js +0 -2
  1230. package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -21
  1231. package/esm2015/breadcrumbs/breadcrumbs.service.js +0 -158
  1232. package/esm2015/buttons/badge-button/badge-button.component.js +0 -79
  1233. package/esm2015/buttons/button/button.component.js +0 -111
  1234. package/esm2015/buttons/buttons.module.js +0 -34
  1235. package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +0 -60
  1236. package/esm2015/buttons/toggle-button/toggle-button.component.js +0 -88
  1237. package/esm2015/card/card-action/card-action.component.js +0 -27
  1238. package/esm2015/card/card-body/card-body.component.js +0 -32
  1239. package/esm2015/card/card-footer/card-footer.component.js +0 -15
  1240. package/esm2015/card/card-header/card-header.component.js +0 -22
  1241. package/esm2015/card/card.component.js +0 -20
  1242. package/esm2015/card/card.module.js +0 -33
  1243. package/esm2015/checkbox/checkbox.component.js +0 -276
  1244. package/esm2015/checkbox/checkbox.module.js +0 -21
  1245. package/esm2015/checkbox/public-api.js +0 -3
  1246. package/esm2015/confirm-dialog/confirm-click.directive.js +0 -62
  1247. package/esm2015/confirm-dialog/confirm-dialog.component.js +0 -20
  1248. package/esm2015/confirm-dialog/confirm-dialog.module.js +0 -35
  1249. package/esm2015/confirm-dialog/confirm-dialog.service.js +0 -38
  1250. package/esm2015/core/common-behaviors/active.js +0 -13
  1251. package/esm2015/core/common-behaviors/disabled.js +0 -20
  1252. package/esm2015/core/common-behaviors/initialized.js +0 -62
  1253. package/esm2015/core/common-behaviors/size.js +0 -24
  1254. package/esm2015/core/common-behaviors/tabindex.js +0 -22
  1255. package/esm2015/core/common-behaviors/theme.js +0 -24
  1256. package/esm2015/core/input-decorators/input-boolean.decorator.js +0 -27
  1257. package/esm2015/core/input-decorators/input-number.decorator.js +0 -27
  1258. package/esm2015/data-exporter/data-exporter.module.js +0 -17
  1259. package/esm2015/data-exporter/exporters/csv-exporter.js +0 -32
  1260. package/esm2015/data-exporter/exporters/xlsx-exporter.js +0 -30
  1261. package/esm2015/data-filters/data-filter.js +0 -25
  1262. package/esm2015/data-filters/data-filters.module.js +0 -50
  1263. package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +0 -110
  1264. package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +0 -138
  1265. package/esm2015/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.js +0 -151
  1266. package/esm2015/datatable/datatable/datatable.component.js +0 -576
  1267. package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +0 -101
  1268. package/esm2015/datatable/datatable-action-menu-item/datatable-action-menu-item.component.js +0 -30
  1269. package/esm2015/datatable/datatable-column/datatable-column.component.js +0 -83
  1270. package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +0 -63
  1271. package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +0 -52
  1272. package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +0 -101
  1273. package/esm2015/datatable/datatable-footer/datatable-footer-tpl.directive.js +0 -15
  1274. package/esm2015/datatable/datatable-footer/datatable-footer.directive.js +0 -18
  1275. package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +0 -55
  1276. package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +0 -16
  1277. package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +0 -16
  1278. package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +0 -16
  1279. package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +0 -16
  1280. package/esm2015/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.js +0 -32
  1281. package/esm2015/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.js +0 -15
  1282. package/esm2015/datatable/datatable-row-detail/datatable-row-detail.directive.js +0 -69
  1283. package/esm2015/datatable/datatable.module.js +0 -126
  1284. package/esm2015/datatable/directives/datatable-action-menu-item.directive.js +0 -46
  1285. package/esm2015/datatable/directives/datatable-action-menu-toggle.directive.js +0 -128
  1286. package/esm2015/datatable/directives/datatable-cell-tpl.directive.js +0 -15
  1287. package/esm2015/datatable/directives/datatable-filter.directive.js +0 -21
  1288. package/esm2015/datatable/directives/datatable-row-action-item.directive.js +0 -15
  1289. package/esm2015/datatable/models/action-item-column-position.js +0 -2
  1290. package/esm2015/datatable/models/columns-alteration.js +0 -38
  1291. package/esm2015/datatable/models/columns-alterations/order.columns-alteration.js +0 -81
  1292. package/esm2015/datatable/models/datatable-gql-data-source.js +0 -15
  1293. package/esm2015/datatable/models/internal-column-props.js +0 -15
  1294. package/esm2015/datatable/models/sort-item.js +0 -2
  1295. package/esm2015/datatable/services/columns-alterations-manager.service.js +0 -134
  1296. package/esm2015/datatable/services/columns-manager.service.js +0 -270
  1297. package/esm2015/datatable/services/datatable-column-changes.service.js +0 -17
  1298. package/esm2015/datatable/services/datatable-preferences.service.js +0 -159
  1299. package/esm2015/datatable/services/datatable-scrollbar-helper.service.js +0 -51
  1300. package/esm2015/datatable/theseam-ui-common-datatable.js +0 -8
  1301. package/esm2015/datatable/utils/map-columns-alterations-states.js +0 -39
  1302. package/esm2015/datatable/utils/set-column-defaults.js +0 -10
  1303. package/esm2015/datatable/utils/with-stored-column-info.js +0 -20
  1304. package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +0 -119
  1305. package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +0 -53
  1306. package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.js +0 -160
  1307. package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.js +0 -2
  1308. package/esm2015/datatable-dynamic/datatable-dynamic.component.js +0 -75
  1309. package/esm2015/datatable-dynamic/datatable-dynamic.module.js +0 -49
  1310. package/esm2015/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.js +0 -408
  1311. package/esm2015/datatable-dynamic/dynamic-datatable-def.service.js +0 -84
  1312. package/esm2015/datatable-dynamic/dynamic-datatable-row-actions.service.js +0 -47
  1313. package/esm2015/datatable-dynamic/models/dynamic-datatable-menu-bar.js +0 -2
  1314. package/esm2015/dynamic/action/api/dynamic-action-api.service.js +0 -215
  1315. package/esm2015/dynamic/action/dynamic-action-helper.service.js +0 -163
  1316. package/esm2015/dynamic/action/link/dynamic-action-link.service.js +0 -50
  1317. package/esm2015/dynamic/action/modal/dynamic-action-modal-def.js +0 -2
  1318. package/esm2015/dynamic/action/modal/dynamic-action-modal.service.js +0 -92
  1319. package/esm2015/dynamic/dynamic-value-helper.service.js +0 -101
  1320. package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.js +0 -33
  1321. package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +0 -30
  1322. package/esm2015/dynamic/models/dynamic-value-evaluatable-type.js +0 -2
  1323. package/esm2015/dynamic-component-loader/dynamic-component-loader.module.js +0 -47
  1324. package/esm2015/dynamic-component-loader/dynamic-component-loader.service.js +0 -91
  1325. package/esm2015/dynamic-component-loader/dynamic-component-manifest.js +0 -2
  1326. package/esm2015/footer-bar/footer-bar/footer-bar.component.js +0 -16
  1327. package/esm2015/footer-bar/footer-bar.module.js +0 -15
  1328. package/esm2015/form-field/form-field-error.directive.js +0 -28
  1329. package/esm2015/form-field/form-field-help-text.directive.js +0 -15
  1330. package/esm2015/form-field/form-field-label-tpl.directive.js +0 -15
  1331. package/esm2015/form-field/form-field-required-indicator.component.js +0 -38
  1332. package/esm2015/form-field/form-field.component.js +0 -193
  1333. package/esm2015/form-field/form-field.module.js +0 -40
  1334. package/esm2015/form-field/input.directive.js +0 -195
  1335. package/esm2015/form-field/public-api.js +0 -8
  1336. package/esm2015/form-field-error/form-field-error/form-field-error.component.js +0 -27
  1337. package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.js +0 -25
  1338. package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item.directive.js +0 -18
  1339. package/esm2015/form-field-error/form-field-error-list/form-field-error-list.component.js +0 -370
  1340. package/esm2015/form-field-error/form-field-error.module.js +0 -28
  1341. package/esm2015/framework/base-layout/base-layout.component.js +0 -125
  1342. package/esm2015/framework/base-layout/base-layout.module.js +0 -51
  1343. package/esm2015/framework/base-layout/directives/base-layout-content-footer.directive.js +0 -15
  1344. package/esm2015/framework/base-layout/directives/base-layout-content-header.directive.js +0 -15
  1345. package/esm2015/framework/base-layout/directives/base-layout-content.directive.js +0 -15
  1346. package/esm2015/framework/base-layout/directives/base-layout-nav-toggle.directive.js +0 -51
  1347. package/esm2015/framework/base-layout/directives/base-layout-side-bar-footer.directive.js +0 -15
  1348. package/esm2015/framework/base-layout/directives/base-layout-side-bar-header.directive.js +0 -15
  1349. package/esm2015/framework/base-layout/directives/base-layout-side-bar.directive.js +0 -15
  1350. package/esm2015/framework/base-layout/directives/base-layout-top-bar.directive.js +0 -15
  1351. package/esm2015/framework/base-layout/index.js +0 -13
  1352. package/esm2015/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.js +0 -19
  1353. package/esm2015/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.js +0 -25
  1354. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.js +0 -121
  1355. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.js +0 -173
  1356. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +0 -176
  1357. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.service.js +0 -165
  1358. package/esm2015/framework/dashboard/dashboard.component.js +0 -25
  1359. package/esm2015/framework/dashboard/dashboard.module.js +0 -39
  1360. package/esm2015/framework/dynamic-router/dynamic-route-def.js +0 -2
  1361. package/esm2015/framework/dynamic-router/dynamic-router.module.js +0 -21
  1362. package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.js +0 -256
  1363. package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +0 -114
  1364. package/esm2015/framework/dynamic-router/resolvers/hierarchy-level.resolver.js +0 -26
  1365. package/esm2015/framework/nav/horizontal-nav/horizontal-nav.component.js +0 -53
  1366. package/esm2015/framework/nav/nav-item/nav-item.component.js +0 -180
  1367. package/esm2015/framework/nav/nav-utils.js +0 -110
  1368. package/esm2015/framework/nav/nav.module.js +0 -42
  1369. package/esm2015/framework/nav/nav.service.js +0 -200
  1370. package/esm2015/framework/schema-form/schema-form-framework.component.js +0 -16
  1371. package/esm2015/framework/schema-form/schema-form-framework.js +0 -27
  1372. package/esm2015/framework/schema-form/schema-form.module.js +0 -35
  1373. package/esm2015/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.js +0 -41
  1374. package/esm2015/framework/schema-form-controls/schema-form-controls.module.js +0 -50
  1375. package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +0 -34
  1376. package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +0 -40
  1377. package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +0 -36
  1378. package/esm2015/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.js +0 -46
  1379. package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +0 -142
  1380. package/esm2015/framework/side-nav/index.js +0 -7
  1381. package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +0 -157
  1382. package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +0 -36
  1383. package/esm2015/framework/side-nav/side-nav-utils.js +0 -81
  1384. package/esm2015/framework/side-nav/side-nav.component.js +0 -261
  1385. package/esm2015/framework/side-nav/side-nav.models.js +0 -2
  1386. package/esm2015/framework/side-nav/side-nav.module.js +0 -39
  1387. package/esm2015/framework/side-nav/side-nav.service.js +0 -174
  1388. package/esm2015/framework/theseam-ui-common-framework.js +0 -18
  1389. package/esm2015/framework/top-bar/index.js +0 -8
  1390. package/esm2015/framework/top-bar/top-bar-compact-menu-btn-detail.directive.js +0 -15
  1391. package/esm2015/framework/top-bar/top-bar-item.directive.js +0 -22
  1392. package/esm2015/framework/top-bar/top-bar-menu-btn-detail.directive.js +0 -15
  1393. package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +0 -54
  1394. package/esm2015/framework/top-bar/top-bar-menu.directive.js +0 -16
  1395. package/esm2015/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.js +0 -15
  1396. package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +0 -20
  1397. package/esm2015/framework/top-bar/top-bar.component.js +0 -121
  1398. package/esm2015/framework/top-bar/top-bar.module.js +0 -52
  1399. package/esm2015/google-maps/google-maps/google-maps.component.js +0 -261
  1400. package/esm2015/google-maps/google-maps-contextmenu.js +0 -113
  1401. package/esm2015/google-maps/google-maps-controls.service.js +0 -70
  1402. package/esm2015/google-maps/google-maps-feature-helpers.js +0 -186
  1403. package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.js +0 -195
  1404. package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.js +0 -163
  1405. package/esm2015/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.js +0 -57
  1406. package/esm2015/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.js +0 -119
  1407. package/esm2015/google-maps/google-maps.module.js +0 -45
  1408. package/esm2015/google-maps/google-maps.service.js +0 -354
  1409. package/esm2015/google-maps/map-control.component.js +0 -65
  1410. package/esm2015/google-maps/map-file-drop/map-file-drop.component.js +0 -135
  1411. package/esm2015/google-maps/map-value-manager.service.js +0 -46
  1412. package/esm2015/google-maps/public-api.js +0 -14
  1413. package/esm2015/google-maps/theseam-ui-common-google-maps.js +0 -6
  1414. package/esm2015/graphql/datatable/create-page-info-observable.js +0 -38
  1415. package/esm2015/graphql/datatable/datatable-graphql-query-ref.js +0 -236
  1416. package/esm2015/graphql/datatable/datatable-graphql.service.js +0 -35
  1417. package/esm2015/graphql/datatable/datatable-helpers.js +0 -170
  1418. package/esm2015/graphql/datatable/get-page-info.js +0 -11
  1419. package/esm2015/graphql/datatable/map-filter-states.js +0 -64
  1420. package/esm2015/graphql/utils/inline-variables.js +0 -50
  1421. package/esm2015/graphql/utils/parse-hints.js +0 -116
  1422. package/esm2015/graphql/utils/to-gql.js +0 -40
  1423. package/esm2015/icon/icon/icon.component.js +0 -125
  1424. package/esm2015/icon/icon-btn/icon-btn.component.js +0 -136
  1425. package/esm2015/icon/icon-notification/icon-notification.component.js +0 -120
  1426. package/esm2015/icon/icon.module.js +0 -27
  1427. package/esm2015/icon/utils/get-known-icon.js +0 -82
  1428. package/esm2015/layout/breakpoint-aliases.js +0 -11
  1429. package/esm2015/layout/layout.module.js +0 -18
  1430. package/esm2015/layout/layout.service.js +0 -34
  1431. package/esm2015/layout/observe-media-query.js +0 -41
  1432. package/esm2015/loading/loading/loading.component.js +0 -28
  1433. package/esm2015/loading/loading-overlay.service.js +0 -59
  1434. package/esm2015/loading/loading.module.js +0 -29
  1435. package/esm2015/menu/menu-divider.component.js +0 -15
  1436. package/esm2015/menu/menu-footer/menu-footer.component.js +0 -32
  1437. package/esm2015/menu/menu-footer-action/menu-footer-action.component.js +0 -48
  1438. package/esm2015/menu/menu-header/menu-header.component.js +0 -32
  1439. package/esm2015/menu/menu-item.component.js +0 -127
  1440. package/esm2015/menu/menu-toggle.directive.js +0 -253
  1441. package/esm2015/menu/menu.component.js +0 -174
  1442. package/esm2015/menu/menu.module.js +0 -43
  1443. package/esm2015/modal/directives/modal-close.directive.js +0 -63
  1444. package/esm2015/modal/directives/modal-footer-tpl.directive.js +0 -15
  1445. package/esm2015/modal/directives/modal-header-icon-tpl.directive.js +0 -15
  1446. package/esm2015/modal/directives/modal-header-title-tpl.directive.js +0 -15
  1447. package/esm2015/modal/directives/modal-title.directive.js +0 -19
  1448. package/esm2015/modal/directives/modal.directive.js +0 -25
  1449. package/esm2015/modal/modal/modal.component.js +0 -149
  1450. package/esm2015/modal/modal-body/modal-body.component.js +0 -22
  1451. package/esm2015/modal/modal-config.js +0 -47
  1452. package/esm2015/modal/modal-container/modal-container.component.js +0 -220
  1453. package/esm2015/modal/modal-footer/modal-footer.component.js +0 -20
  1454. package/esm2015/modal/modal-header/modal-header.component.js +0 -26
  1455. package/esm2015/modal/modal-ref.js +0 -171
  1456. package/esm2015/modal/modal.models.js +0 -3
  1457. package/esm2015/modal/modal.module.js +0 -83
  1458. package/esm2015/modal/modal.service.js +0 -343
  1459. package/esm2015/modal/route-modal/route-modal.component.js +0 -68
  1460. package/esm2015/popover/popover/popover.component.js +0 -149
  1461. package/esm2015/popover/popover.directive.js +0 -257
  1462. package/esm2015/popover/popover.module.js +0 -30
  1463. package/esm2015/progress/progress-circle/progress-circle.component.js +0 -63
  1464. package/esm2015/progress/progress.module.js +0 -19
  1465. package/esm2015/public_api.js +0 -43
  1466. package/esm2015/scrollbar/overlay-scrollbar.directive.js +0 -61
  1467. package/esm2015/scrollbar/overlay-scrollbars-config.js +0 -13
  1468. package/esm2015/scrollbar/overlay-scrollbars.service.js +0 -87
  1469. package/esm2015/scrollbar/scrollbar.module.js +0 -25
  1470. package/esm2015/services/asset-loader.service.js +0 -33
  1471. package/esm2015/services/font-loader.service.js +0 -81
  1472. package/esm2015/services/router-helpers.service.js +0 -26
  1473. package/esm2015/shared/components/password-input-reveal/password-input-reveal.component.js +0 -71
  1474. package/esm2015/shared/directives/auto-focus.directive.js +0 -53
  1475. package/esm2015/shared/directives/click-outside.directive.js +0 -49
  1476. package/esm2015/shared/directives/disable-control.directive.js +0 -27
  1477. package/esm2015/shared/directives/elem-resized.directive.js +0 -29
  1478. package/esm2015/shared/directives/hover-class-toggle.directive.js +0 -80
  1479. package/esm2015/shared/directives/hover-class.directive.js +0 -74
  1480. package/esm2015/shared/directives/ng-select-extra.directive.js +0 -177
  1481. package/esm2015/shared/directives/ngx-quill-extra.directive.js +0 -60
  1482. package/esm2015/shared/pipes/mask-chars.pipe.js +0 -21
  1483. package/esm2015/shared/pipes/truncate.pipe.js +0 -19
  1484. package/esm2015/shared/shared.module.js +0 -58
  1485. package/esm2015/storage/local-storage.service.js +0 -77
  1486. package/esm2015/storage/localstorage-memory.js +0 -64
  1487. package/esm2015/story-helpers/arg-type-helpers.js +0 -34
  1488. package/esm2015/story-helpers/args-to-tpl.js +0 -76
  1489. package/esm2015/story-helpers/initial-route.service.js +0 -27
  1490. package/esm2015/story-helpers/on-story-bootstrapped-exec.js +0 -64
  1491. package/esm2015/story-helpers/on-story-bootstrapped-trigger.js +0 -38
  1492. package/esm2015/story-helpers/public-api.js +0 -15
  1493. package/esm2015/story-helpers/routes-arg-type.js +0 -18
  1494. package/esm2015/story-helpers/story-empty-with-route.component.js +0 -7
  1495. package/esm2015/story-helpers/story-empty.component.js +0 -7
  1496. package/esm2015/story-helpers/story-helper-components.module.js +0 -29
  1497. package/esm2015/story-helpers/story-initial-route.js +0 -24
  1498. package/esm2015/story-helpers/story-modal-container.component.js +0 -77
  1499. package/esm2015/story-helpers/story-toastr.service.js +0 -33
  1500. package/esm2015/tabbed/directives/tabbed-tab-content.directive.js +0 -14
  1501. package/esm2015/tabbed/directives/tabbed-tab.directive.js +0 -36
  1502. package/esm2015/tabbed/public-api.js +0 -8
  1503. package/esm2015/tabbed/tabbed-content/tabbed-content.component.js +0 -17
  1504. package/esm2015/tabbed/tabbed-item/tabbed-item.component.js +0 -30
  1505. package/esm2015/tabbed/tabbed.component.js +0 -111
  1506. package/esm2015/tabbed/tabbed.module.js +0 -36
  1507. package/esm2015/tabbed/tabbed.service.js +0 -28
  1508. package/esm2015/table/table/table.component.js +0 -90
  1509. package/esm2015/table/table.module.js +0 -23
  1510. package/esm2015/table-cell-type/services/table-cell-types-helpers.service.js +0 -70
  1511. package/esm2015/table-cell-type/table-cell-type-export-props.js +0 -2
  1512. package/esm2015/table-cell-type/table-cell-type-models.js +0 -2
  1513. package/esm2015/table-cell-type/table-cell-type-selector.component.js +0 -94
  1514. package/esm2015/table-cell-type/table-cell-type.module.js +0 -23
  1515. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +0 -89
  1516. package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.component.js +0 -52
  1517. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +0 -87
  1518. package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +0 -166
  1519. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +0 -85
  1520. package/esm2015/table-cell-types/table-cell-type-manifests.js +0 -103
  1521. package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.js +0 -66
  1522. package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +0 -160
  1523. package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.js +0 -78
  1524. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +0 -180
  1525. package/esm2015/table-cell-types/table-cell-types.module.js +0 -78
  1526. package/esm2015/table-cell-types/theseam-ui-common-table-cell-types.js +0 -5
  1527. package/esm2015/tel-input/intl-tel-input.js +0 -55
  1528. package/esm2015/tel-input/phone-number.pipe.js +0 -51
  1529. package/esm2015/tel-input/tel-input/tel-input.component.js +0 -175
  1530. package/esm2015/tel-input/tel-input-validator.js +0 -27
  1531. package/esm2015/tel-input/tel-input.directive.js +0 -209
  1532. package/esm2015/tel-input/tel-input.module.js +0 -29
  1533. package/esm2015/tel-input/utils/add-country-code.js +0 -23
  1534. package/esm2015/tel-input/utils/get-validation-error-message.js +0 -12
  1535. package/esm2015/tel-input/utils/process-country-codes.js +0 -49
  1536. package/esm2015/testing/get-harness.js +0 -16
  1537. package/esm2015/testing/render-story.js +0 -12
  1538. package/esm2015/testing/story-expect.js +0 -39
  1539. package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +0 -205
  1540. package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +0 -128
  1541. package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +0 -54
  1542. package/esm2015/tiled-select/directives/tiled-select-tile-icon-tpl.directive.js +0 -16
  1543. package/esm2015/tiled-select/directives/tiled-select-tile-label-tpl.directive.js +0 -15
  1544. package/esm2015/tiled-select/directives/tiled-select-tile-overlay.directive.js +0 -19
  1545. package/esm2015/tiled-select/public-api.js +0 -10
  1546. package/esm2015/tiled-select/tiled-select.module.js +0 -35
  1547. package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +0 -15
  1548. package/esm2015/toggle-edit/toggle-edit-display-tpl.directive.js +0 -15
  1549. package/esm2015/toggle-edit/toggle-edit-keyboard-listener.service.js +0 -56
  1550. package/esm2015/toggle-edit/toggle-edit.component.js +0 -403
  1551. package/esm2015/toggle-edit/toggle-edit.module.js +0 -40
  1552. package/esm2015/toggle-group/toggle-group-option.directive.js +0 -44
  1553. package/esm2015/toggle-group/toggle-group.directive.js +0 -192
  1554. package/esm2015/toggle-group/toggle-group.module.js +0 -24
  1555. package/esm2015/unsaved-changes-dialog/unsaved-changes-can-deactivate.js +0 -27
  1556. package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.component.js +0 -20
  1557. package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.guard.js +0 -35
  1558. package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.module.js +0 -12
  1559. package/esm2015/utils/array-move.js +0 -62
  1560. package/esm2015/utils/cdk/get-closest-widget-cdk-drag.js +0 -18
  1561. package/esm2015/utils/file-utils.js +0 -68
  1562. package/esm2015/utils/form/get-control-path.js +0 -37
  1563. package/esm2015/utils/geo-json/coerce-feature-collection.js +0 -44
  1564. package/esm2015/utils/geo-json/geo-json-to-area.js +0 -11
  1565. package/esm2015/utils/geo-json/is-feature-collection.validator.js +0 -21
  1566. package/esm2015/utils/geo-json/is-only-geometry-types.js +0 -23
  1567. package/esm2015/utils/geo-json/is-only-geometry-types.validator.js +0 -32
  1568. package/esm2015/utils/geo-json/merge-polygons.js +0 -35
  1569. package/esm2015/utils/geo-json/min-max-points.validator.js +0 -56
  1570. package/esm2015/utils/geo-json/no-inner-rings.validator.js +0 -63
  1571. package/esm2015/utils/geo-json/read-geo-file.js +0 -99
  1572. package/esm2015/utils/geo-json/split-multi-polygons.js +0 -29
  1573. package/esm2015/utils/has-property.js +0 -7
  1574. package/esm2015/utils/load-style-sheet.js +0 -14
  1575. package/esm2015/utils/load-style.js +0 -13
  1576. package/esm2015/utils/obj-utils.js +0 -27
  1577. package/esm2015/utils/polling-ticker.js +0 -121
  1578. package/esm2015/utils/router/operators/activated-routes-with-data-property.js +0 -11
  1579. package/esm2015/utils/router/route-snapshot-path-full.js +0 -5
  1580. package/esm2015/utils/router/route-snapshot-path-relative.js +0 -4
  1581. package/esm2015/utils/router/will-have-data-prop.js +0 -10
  1582. package/esm2015/utils/subscriber-count.js +0 -46
  1583. package/esm2015/utils/toggle-attribute.js +0 -35
  1584. package/esm2015/utils/wait-on-condition-async.js +0 -33
  1585. package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +0 -219
  1586. package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +0 -23
  1587. package/esm2015/viewers/pdf-viewer/pdf-page/pdf-page.component.js +0 -134
  1588. package/esm2015/viewers/pdf-viewer/pdf-renderer.service.js +0 -27
  1589. package/esm2015/viewers/pdf-viewer/pdf-viewer.component.js +0 -149
  1590. package/esm2015/viewers/pdf-viewer/pdf-viewer.module.js +0 -24
  1591. package/esm2015/widget/directives/widget-drag-handle.directive.js +0 -146
  1592. package/esm2015/widget/directives/widget-icon-tpl.directive.js +0 -15
  1593. package/esm2015/widget/directives/widget-title-tpl.directive.js +0 -15
  1594. package/esm2015/widget/widget/widget.component.js +0 -121
  1595. package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +0 -16
  1596. package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.module.js +0 -22
  1597. package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +0 -16
  1598. package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.module.js +0 -19
  1599. package/esm2015/widget/widget-content-components/widget-description/widget-description.component.js +0 -12
  1600. package/esm2015/widget/widget-content-components/widget-description/widget-description.module.js +0 -19
  1601. package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +0 -39
  1602. package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.module.js +0 -19
  1603. package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +0 -16
  1604. package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.module.js +0 -19
  1605. package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +0 -16
  1606. package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.module.js +0 -19
  1607. package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +0 -31
  1608. package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.module.js +0 -19
  1609. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.js +0 -16
  1610. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.js +0 -162
  1611. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.component.js +0 -19
  1612. package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.module.js +0 -31
  1613. package/esm2015/widget/widget-content-components/widget-table/widget-table.component.js +0 -35
  1614. package/esm2015/widget/widget-content-components/widget-table/widget-table.module.js +0 -23
  1615. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.js +0 -19
  1616. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +0 -43
  1617. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +0 -16
  1618. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.js +0 -16
  1619. package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +0 -110
  1620. package/esm2015/widget/widget-content-components/widget-tile/widget-tile.module.js +0 -33
  1621. package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +0 -15
  1622. package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.module.js +0 -21
  1623. package/esm2015/widget/widget-footer/widget-footer.component.js +0 -16
  1624. package/esm2015/widget/widget-registry.service.js +0 -56
  1625. package/esm2015/widget/widget.module.js +0 -70
  1626. package/fesm2015/theseam-ui-common-asset-reader.js +0 -173
  1627. package/fesm2015/theseam-ui-common-asset-reader.js.map +0 -1
  1628. package/fesm2015/theseam-ui-common-breadcrumbs.js +0 -203
  1629. package/fesm2015/theseam-ui-common-breadcrumbs.js.map +0 -1
  1630. package/fesm2015/theseam-ui-common-buttons.js +0 -362
  1631. package/fesm2015/theseam-ui-common-buttons.js.map +0 -1
  1632. package/fesm2015/theseam-ui-common-card.js +0 -145
  1633. package/fesm2015/theseam-ui-common-card.js.map +0 -1
  1634. package/fesm2015/theseam-ui-common-checkbox.js +0 -302
  1635. package/fesm2015/theseam-ui-common-checkbox.js.map +0 -1
  1636. package/fesm2015/theseam-ui-common-confirm-dialog.js +0 -153
  1637. package/fesm2015/theseam-ui-common-confirm-dialog.js.map +0 -1
  1638. package/fesm2015/theseam-ui-common-core.js +0 -231
  1639. package/fesm2015/theseam-ui-common-core.js.map +0 -1
  1640. package/fesm2015/theseam-ui-common-data-exporter.js +0 -81
  1641. package/fesm2015/theseam-ui-common-data-exporter.js.map +0 -1
  1642. package/fesm2015/theseam-ui-common-data-filters.js +0 -455
  1643. package/fesm2015/theseam-ui-common-data-filters.js.map +0 -1
  1644. package/fesm2015/theseam-ui-common-datatable-dynamic.js +0 -991
  1645. package/fesm2015/theseam-ui-common-datatable-dynamic.js.map +0 -1
  1646. package/fesm2015/theseam-ui-common-datatable.js +0 -2550
  1647. package/fesm2015/theseam-ui-common-datatable.js.map +0 -1
  1648. package/fesm2015/theseam-ui-common-dynamic-component-loader.js +0 -143
  1649. package/fesm2015/theseam-ui-common-dynamic-component-loader.js.map +0 -1
  1650. package/fesm2015/theseam-ui-common-dynamic.js +0 -700
  1651. package/fesm2015/theseam-ui-common-dynamic.js.map +0 -1
  1652. package/fesm2015/theseam-ui-common-footer-bar.js +0 -36
  1653. package/fesm2015/theseam-ui-common-footer-bar.js.map +0 -1
  1654. package/fesm2015/theseam-ui-common-form-field-error.js +0 -464
  1655. package/fesm2015/theseam-ui-common-form-field-error.js.map +0 -1
  1656. package/fesm2015/theseam-ui-common-form-field.js +0 -506
  1657. package/fesm2015/theseam-ui-common-form-field.js.map +0 -1
  1658. package/fesm2015/theseam-ui-common-framework.js +0 -3400
  1659. package/fesm2015/theseam-ui-common-framework.js.map +0 -1
  1660. package/fesm2015/theseam-ui-common-google-maps.js +0 -1748
  1661. package/fesm2015/theseam-ui-common-google-maps.js.map +0 -1
  1662. package/fesm2015/theseam-ui-common-graphql.js +0 -881
  1663. package/fesm2015/theseam-ui-common-graphql.js.map +0 -1
  1664. package/fesm2015/theseam-ui-common-icon.js +0 -518
  1665. package/fesm2015/theseam-ui-common-icon.js.map +0 -1
  1666. package/fesm2015/theseam-ui-common-layout.js +0 -98
  1667. package/fesm2015/theseam-ui-common-layout.js.map +0 -1
  1668. package/fesm2015/theseam-ui-common-loading.js +0 -131
  1669. package/fesm2015/theseam-ui-common-loading.js.map +0 -1
  1670. package/fesm2015/theseam-ui-common-menu.js +0 -767
  1671. package/fesm2015/theseam-ui-common-menu.js.map +0 -1
  1672. package/fesm2015/theseam-ui-common-modal.js +0 -1282
  1673. package/fesm2015/theseam-ui-common-modal.js.map +0 -1
  1674. package/fesm2015/theseam-ui-common-models.js +0 -54
  1675. package/fesm2015/theseam-ui-common-models.js.map +0 -1
  1676. package/fesm2015/theseam-ui-common-popover.js +0 -476
  1677. package/fesm2015/theseam-ui-common-popover.js.map +0 -1
  1678. package/fesm2015/theseam-ui-common-progress.js +0 -87
  1679. package/fesm2015/theseam-ui-common-progress.js.map +0 -1
  1680. package/fesm2015/theseam-ui-common-scrollbar.js +0 -184
  1681. package/fesm2015/theseam-ui-common-scrollbar.js.map +0 -1
  1682. package/fesm2015/theseam-ui-common-services.js +0 -140
  1683. package/fesm2015/theseam-ui-common-services.js.map +0 -1
  1684. package/fesm2015/theseam-ui-common-shared.js +0 -696
  1685. package/fesm2015/theseam-ui-common-shared.js.map +0 -1
  1686. package/fesm2015/theseam-ui-common-storage.js +0 -147
  1687. package/fesm2015/theseam-ui-common-storage.js.map +0 -1
  1688. package/fesm2015/theseam-ui-common-story-helpers.js +0 -441
  1689. package/fesm2015/theseam-ui-common-story-helpers.js.map +0 -1
  1690. package/fesm2015/theseam-ui-common-tabbed.js +0 -262
  1691. package/fesm2015/theseam-ui-common-tabbed.js.map +0 -1
  1692. package/fesm2015/theseam-ui-common-table-cell-type.js +0 -191
  1693. package/fesm2015/theseam-ui-common-table-cell-type.js.map +0 -1
  1694. package/fesm2015/theseam-ui-common-table-cell-types.js +0 -1079
  1695. package/fesm2015/theseam-ui-common-table-cell-types.js.map +0 -1
  1696. package/fesm2015/theseam-ui-common-table.js +0 -118
  1697. package/fesm2015/theseam-ui-common-table.js.map +0 -1
  1698. package/fesm2015/theseam-ui-common-tel-input.js +0 -733
  1699. package/fesm2015/theseam-ui-common-tel-input.js.map +0 -1
  1700. package/fesm2015/theseam-ui-common-testing.js +0 -191
  1701. package/fesm2015/theseam-ui-common-testing.js.map +0 -1
  1702. package/fesm2015/theseam-ui-common-tiled-select.js +0 -461
  1703. package/fesm2015/theseam-ui-common-tiled-select.js.map +0 -1
  1704. package/fesm2015/theseam-ui-common-toggle-edit.js +0 -521
  1705. package/fesm2015/theseam-ui-common-toggle-edit.js.map +0 -1
  1706. package/fesm2015/theseam-ui-common-toggle-group.js +0 -260
  1707. package/fesm2015/theseam-ui-common-toggle-group.js.map +0 -1
  1708. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js +0 -97
  1709. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js.map +0 -1
  1710. package/fesm2015/theseam-ui-common-utils.js +0 -1321
  1711. package/fesm2015/theseam-ui-common-utils.js.map +0 -1
  1712. package/fesm2015/theseam-ui-common-validators.js +0 -94
  1713. package/fesm2015/theseam-ui-common-validators.js.map +0 -1
  1714. package/fesm2015/theseam-ui-common-viewers.js +0 -563
  1715. package/fesm2015/theseam-ui-common-viewers.js.map +0 -1
  1716. package/fesm2015/theseam-ui-common-widget.js +0 -1189
  1717. package/fesm2015/theseam-ui-common-widget.js.map +0 -1
  1718. package/fesm2015/theseam-ui-common.js +0 -47
  1719. package/fesm2015/theseam-ui-common.js.map +0 -1
  1720. package/footer-bar/package.json +0 -11
  1721. package/footer-bar/theseam-ui-common-footer-bar.d.ts +0 -4
  1722. package/footer-bar/theseam-ui-common-footer-bar.metadata.json +0 -1
  1723. package/form-field/package.json +0 -11
  1724. package/form-field/theseam-ui-common-form-field.d.ts +0 -4
  1725. package/form-field/theseam-ui-common-form-field.metadata.json +0 -1
  1726. package/form-field-error/package.json +0 -11
  1727. package/form-field-error/theseam-ui-common-form-field-error.d.ts +0 -4
  1728. package/form-field-error/theseam-ui-common-form-field-error.metadata.json +0 -1
  1729. package/framework/package.json +0 -11
  1730. package/framework/theseam-ui-common-framework.d.ts +0 -17
  1731. package/framework/theseam-ui-common-framework.metadata.json +0 -1
  1732. package/google-maps/package.json +0 -11
  1733. package/google-maps/theseam-ui-common-google-maps.d.ts +0 -5
  1734. package/google-maps/theseam-ui-common-google-maps.metadata.json +0 -1
  1735. package/graphql/package.json +0 -11
  1736. package/graphql/theseam-ui-common-graphql.d.ts +0 -4
  1737. package/graphql/theseam-ui-common-graphql.metadata.json +0 -1
  1738. package/icon/package.json +0 -11
  1739. package/icon/theseam-ui-common-icon.d.ts +0 -4
  1740. package/icon/theseam-ui-common-icon.metadata.json +0 -1
  1741. package/layout/package.json +0 -11
  1742. package/layout/theseam-ui-common-layout.d.ts +0 -4
  1743. package/layout/theseam-ui-common-layout.metadata.json +0 -1
  1744. package/loading/package.json +0 -11
  1745. package/loading/theseam-ui-common-loading.d.ts +0 -4
  1746. package/loading/theseam-ui-common-loading.metadata.json +0 -1
  1747. package/menu/package.json +0 -11
  1748. package/menu/theseam-ui-common-menu.d.ts +0 -4
  1749. package/menu/theseam-ui-common-menu.metadata.json +0 -1
  1750. package/modal/package.json +0 -11
  1751. package/modal/theseam-ui-common-modal.d.ts +0 -4
  1752. package/modal/theseam-ui-common-modal.metadata.json +0 -1
  1753. package/models/package.json +0 -11
  1754. package/models/theseam-ui-common-models.d.ts +0 -4
  1755. package/models/theseam-ui-common-models.metadata.json +0 -1
  1756. package/popover/package.json +0 -11
  1757. package/popover/theseam-ui-common-popover.d.ts +0 -4
  1758. package/popover/theseam-ui-common-popover.metadata.json +0 -1
  1759. package/progress/package.json +0 -11
  1760. package/progress/theseam-ui-common-progress.d.ts +0 -4
  1761. package/progress/theseam-ui-common-progress.metadata.json +0 -1
  1762. package/scrollbar/package.json +0 -11
  1763. package/scrollbar/theseam-ui-common-scrollbar.d.ts +0 -4
  1764. package/scrollbar/theseam-ui-common-scrollbar.metadata.json +0 -1
  1765. package/services/package.json +0 -11
  1766. package/services/theseam-ui-common-services.d.ts +0 -4
  1767. package/services/theseam-ui-common-services.metadata.json +0 -1
  1768. package/shared/package.json +0 -11
  1769. package/shared/theseam-ui-common-shared.d.ts +0 -4
  1770. package/shared/theseam-ui-common-shared.metadata.json +0 -1
  1771. package/storage/package.json +0 -11
  1772. package/storage/theseam-ui-common-storage.d.ts +0 -4
  1773. package/storage/theseam-ui-common-storage.metadata.json +0 -1
  1774. package/story-helpers/args-to-tpl.d.ts +0 -24
  1775. package/story-helpers/package.json +0 -11
  1776. package/story-helpers/theseam-ui-common-story-helpers.d.ts +0 -4
  1777. package/story-helpers/theseam-ui-common-story-helpers.metadata.json +0 -1
  1778. package/tabbed/package.json +0 -11
  1779. package/tabbed/theseam-ui-common-tabbed.d.ts +0 -4
  1780. package/tabbed/theseam-ui-common-tabbed.metadata.json +0 -1
  1781. package/table/package.json +0 -11
  1782. package/table/theseam-ui-common-table.d.ts +0 -4
  1783. package/table/theseam-ui-common-table.metadata.json +0 -1
  1784. package/table-cell-type/package.json +0 -11
  1785. package/table-cell-type/theseam-ui-common-table-cell-type.d.ts +0 -4
  1786. package/table-cell-type/theseam-ui-common-table-cell-type.metadata.json +0 -1
  1787. package/table-cell-types/package.json +0 -11
  1788. package/table-cell-types/theseam-ui-common-table-cell-types.d.ts +0 -6
  1789. package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +0 -1
  1790. package/tel-input/package.json +0 -11
  1791. package/tel-input/theseam-ui-common-tel-input.d.ts +0 -4
  1792. package/tel-input/theseam-ui-common-tel-input.metadata.json +0 -1
  1793. package/testing/package.json +0 -11
  1794. package/testing/theseam-ui-common-testing.d.ts +0 -4
  1795. package/testing/theseam-ui-common-testing.metadata.json +0 -1
  1796. package/theseam-ui-common.d.ts +0 -4
  1797. package/theseam-ui-common.metadata.json +0 -1
  1798. package/tiled-select/package.json +0 -11
  1799. package/tiled-select/theseam-ui-common-tiled-select.d.ts +0 -4
  1800. package/tiled-select/theseam-ui-common-tiled-select.metadata.json +0 -1
  1801. package/toggle-edit/package.json +0 -11
  1802. package/toggle-edit/theseam-ui-common-toggle-edit.d.ts +0 -4
  1803. package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +0 -1
  1804. package/toggle-group/package.json +0 -11
  1805. package/toggle-group/theseam-ui-common-toggle-group.d.ts +0 -4
  1806. package/toggle-group/theseam-ui-common-toggle-group.metadata.json +0 -1
  1807. package/unsaved-changes-dialog/package.json +0 -11
  1808. package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.d.ts +0 -4
  1809. package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.metadata.json +0 -1
  1810. package/utils/package.json +0 -11
  1811. package/utils/theseam-ui-common-utils.d.ts +0 -4
  1812. package/utils/theseam-ui-common-utils.metadata.json +0 -1
  1813. package/validators/package.json +0 -11
  1814. package/validators/theseam-ui-common-validators.d.ts +0 -4
  1815. package/validators/theseam-ui-common-validators.metadata.json +0 -1
  1816. package/viewers/package.json +0 -11
  1817. package/viewers/theseam-ui-common-viewers.d.ts +0 -4
  1818. package/viewers/theseam-ui-common-viewers.metadata.json +0 -1
  1819. package/widget/package.json +0 -11
  1820. package/widget/theseam-ui-common-widget.d.ts +0 -4
  1821. package/widget/theseam-ui-common-widget.metadata.json +0 -1
  1822. /package/{esm2015/asset-reader/encrypted-asset-reader.js → esm2020/asset-reader/encrypted-asset-reader.mjs} +0 -0
  1823. /package/{esm2015/asset-reader/public-api.js → esm2020/asset-reader/public-api.mjs} +0 -0
  1824. /package/{esm2015/asset-reader/theseam-ui-common-asset-reader.js → esm2020/asset-reader/theseam-ui-common-asset-reader.mjs} +0 -0
  1825. /package/{esm2015/breadcrumbs/public-api.js → esm2020/breadcrumbs/public-api.mjs} +0 -0
  1826. /package/{esm2015/breadcrumbs/theseam-ui-common-breadcrumbs.js → esm2020/breadcrumbs/theseam-ui-common-breadcrumbs.mjs} +0 -0
  1827. /package/{esm2015/buttons/public-api.js → esm2020/buttons/public-api.mjs} +0 -0
  1828. /package/{esm2015/buttons/theseam-ui-common-buttons.js → esm2020/buttons/theseam-ui-common-buttons.mjs} +0 -0
  1829. /package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
  1830. /package/{esm2015/card/theseam-ui-common-card.js → esm2020/card/theseam-ui-common-card.mjs} +0 -0
  1831. /package/{esm2015/checkbox/theseam-ui-common-checkbox.js → esm2020/checkbox/theseam-ui-common-checkbox.mjs} +0 -0
  1832. /package/{esm2015/confirm-dialog/public-api.js → esm2020/confirm-dialog/public-api.mjs} +0 -0
  1833. /package/{esm2015/confirm-dialog/theseam-ui-common-confirm-dialog.js → esm2020/confirm-dialog/theseam-ui-common-confirm-dialog.mjs} +0 -0
  1834. /package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
  1835. /package/{esm2015/core/common-behaviors/element-ref.js → esm2020/core/common-behaviors/element-ref.mjs} +0 -0
  1836. /package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
  1837. /package/{esm2015/core/common-behaviors/renderer2.js → esm2020/core/common-behaviors/renderer2.mjs} +0 -0
  1838. /package/{esm2015/core/input-decorators/index.js → esm2020/core/input-decorators/index.mjs} +0 -0
  1839. /package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
  1840. /package/{esm2015/core/theseam-ui-common-core.js → esm2020/core/theseam-ui-common-core.mjs} +0 -0
  1841. /package/{esm2015/data-exporter/data-exporter.js → esm2020/data-exporter/data-exporter.mjs} +0 -0
  1842. /package/{esm2015/data-exporter/public-api.js → esm2020/data-exporter/public-api.mjs} +0 -0
  1843. /package/{esm2015/data-exporter/theseam-ui-common-data-exporter.js → esm2020/data-exporter/theseam-ui-common-data-exporter.mjs} +0 -0
  1844. /package/{esm2015/data-filters/data-filter-container.js → esm2020/data-filters/data-filter-container.mjs} +0 -0
  1845. /package/{esm2015/data-filters/data-filter-def.js → esm2020/data-filters/data-filter-def.mjs} +0 -0
  1846. /package/{esm2015/data-filters/filters/data-filter-search/search-filter-options.js → esm2020/data-filters/filters/data-filter-search/search-filter-options.mjs} +0 -0
  1847. /package/{esm2015/data-filters/filters/data-filter-text/text-filter-options.js → esm2020/data-filters/filters/data-filter-text/text-filter-options.mjs} +0 -0
  1848. /package/{esm2015/data-filters/public-api.js → esm2020/data-filters/public-api.mjs} +0 -0
  1849. /package/{esm2015/data-filters/theseam-ui-common-data-filters.js → esm2020/data-filters/theseam-ui-common-data-filters.mjs} +0 -0
  1850. /package/{esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js → esm2020/datatable/models/columns-alterations/hide-column.columns-alteration.mjs} +0 -0
  1851. /package/{esm2015/datatable/models/columns-alterations/sort.columns-alteration.js → esm2020/datatable/models/columns-alterations/sort.columns-alteration.mjs} +0 -0
  1852. /package/{esm2015/datatable/models/columns-alterations/width.columns-alteration.js → esm2020/datatable/models/columns-alterations/width.columns-alteration.mjs} +0 -0
  1853. /package/{esm2015/datatable/models/datatable-accessor.js → esm2020/datatable/models/datatable-accessor.mjs} +0 -0
  1854. /package/{esm2015/datatable/models/datatable-data-source.js → esm2020/datatable/models/datatable-data-source.mjs} +0 -0
  1855. /package/{esm2015/datatable/models/menubar-item-data.js → esm2020/datatable/models/menubar-item-data.mjs} +0 -0
  1856. /package/{esm2015/datatable/models/page-info.js → esm2020/datatable/models/page-info.mjs} +0 -0
  1857. /package/{esm2015/datatable/models/preferences-accessor.js → esm2020/datatable/models/preferences-accessor.mjs} +0 -0
  1858. /package/{esm2015/datatable/models/preferences.js → esm2020/datatable/models/preferences.mjs} +0 -0
  1859. /package/{esm2015/datatable/models/sort-event.js → esm2020/datatable/models/sort-event.mjs} +0 -0
  1860. /package/{esm2015/datatable/models/table-column.js → esm2020/datatable/models/table-column.mjs} +0 -0
  1861. /package/{esm2015/datatable/public-api.js → esm2020/datatable/public-api.mjs} +0 -0
  1862. /package/{esm2015/datatable/tokens/datatable-accessor.js → esm2020/datatable/tokens/datatable-accessor.mjs} +0 -0
  1863. /package/{esm2015/datatable/tokens/datatable-preferences-accessor.js → esm2020/datatable/tokens/datatable-preferences-accessor.mjs} +0 -0
  1864. /package/{esm2015/datatable/tokens/menubar-item-data.js → esm2020/datatable/tokens/menubar-item-data.mjs} +0 -0
  1865. /package/{esm2015/datatable/utils/create-action-menu-column.js → esm2020/datatable/utils/create-action-menu-column.mjs} +0 -0
  1866. /package/{esm2015/datatable/utils/create-checkbox-column.js → esm2020/datatable/utils/create-checkbox-column.mjs} +0 -0
  1867. /package/{esm2015/datatable/utils/get-column-prop.js → esm2020/datatable/utils/get-column-prop.mjs} +0 -0
  1868. /package/{esm2015/datatable/utils/remove-unused-diffs.js → esm2020/datatable/utils/remove-unused-diffs.mjs} +0 -0
  1869. /package/{esm2015/datatable/utils/translate-templates.js → esm2020/datatable/utils/translate-templates.mjs} +0 -0
  1870. /package/{esm2015/datatable-dynamic/datatable-dynamic-def.js → esm2020/datatable-dynamic/datatable-dynamic-def.mjs} +0 -0
  1871. /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-token.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-token.mjs} +0 -0
  1872. /package/{esm2015/datatable-dynamic/models/dynamic-datatable-action-menu-record.js → esm2020/datatable-dynamic/models/dynamic-datatable-action-menu-record.mjs} +0 -0
  1873. /package/{esm2015/datatable-dynamic/models/dynamic-datatable-filter-menu-item.js → esm2020/datatable-dynamic/models/dynamic-datatable-filter-menu-item.mjs} +0 -0
  1874. /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action-context.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action-context.mjs} +0 -0
  1875. /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action.mjs} +0 -0
  1876. /package/{esm2015/datatable-dynamic/models/index.js → esm2020/datatable-dynamic/models/index.mjs} +0 -0
  1877. /package/{esm2015/datatable-dynamic/public-api.js → esm2020/datatable-dynamic/public-api.mjs} +0 -0
  1878. /package/{esm2015/datatable-dynamic/theseam-ui-common-datatable-dynamic.js → esm2020/datatable-dynamic/theseam-ui-common-datatable-dynamic.mjs} +0 -0
  1879. /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.mjs} +0 -0
  1880. /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.mjs} +0 -0
  1881. /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.mjs} +0 -0
  1882. /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.mjs} +0 -0
  1883. /package/{esm2015/datatable-dynamic/utils/index.js → esm2020/datatable-dynamic/utils/index.mjs} +0 -0
  1884. /package/{esm2015/dynamic/action/api/dynamic-action-api-def.js → esm2020/dynamic/action/api/dynamic-action-api-def.mjs} +0 -0
  1885. /package/{esm2015/dynamic/action/api/dynamic-action-api-errors.js → esm2020/dynamic/action/api/dynamic-action-api-errors.mjs} +0 -0
  1886. /package/{esm2015/dynamic/action/api/dynamic-action-api.js → esm2020/dynamic/action/api/dynamic-action-api.mjs} +0 -0
  1887. /package/{esm2015/dynamic/action/index.js → esm2020/dynamic/action/index.mjs} +0 -0
  1888. /package/{esm2015/dynamic/action/link/dynamic-action-link-def.js → esm2020/dynamic/action/link/dynamic-action-link-def.mjs} +0 -0
  1889. /package/{esm2015/dynamic/action/link/dynamic-action-link.js → esm2020/dynamic/action/link/dynamic-action-link.mjs} +0 -0
  1890. /package/{esm2015/dynamic/action/modal/dynamic-action-modal.js → esm2020/dynamic/action/modal/dynamic-action-modal.mjs} +0 -0
  1891. /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.js → esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.mjs} +0 -0
  1892. /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/index.js → esm2020/dynamic/evaluators/exporters-data-evaluator/index.mjs} +0 -0
  1893. /package/{esm2015/dynamic/evaluators/index.js → esm2020/dynamic/evaluators/index.mjs} +0 -0
  1894. /package/{esm2015/dynamic/evaluators/jexl-evaluator/index.js → esm2020/dynamic/evaluators/jexl-evaluator/index.mjs} +0 -0
  1895. /package/{esm2015/dynamic/evaluators/jexl-evaluator/jexl-value.js → esm2020/dynamic/evaluators/jexl-evaluator/jexl-value.mjs} +0 -0
  1896. /package/{esm2015/dynamic/models/dynamic-action-confirm-def.js → esm2020/dynamic/models/dynamic-action-confirm-def.mjs} +0 -0
  1897. /package/{esm2015/dynamic/models/dynamic-action-context.js → esm2020/dynamic/models/dynamic-action-context.mjs} +0 -0
  1898. /package/{esm2015/dynamic/models/dynamic-action-def.js → esm2020/dynamic/models/dynamic-action-def.mjs} +0 -0
  1899. /package/{esm2015/dynamic/models/dynamic-action-ui-anchor-def.js → esm2020/dynamic/models/dynamic-action-ui-anchor-def.mjs} +0 -0
  1900. /package/{esm2015/dynamic/models/dynamic-action-ui-button-def.js → esm2020/dynamic/models/dynamic-action-ui-button-def.mjs} +0 -0
  1901. /package/{esm2015/dynamic/models/dynamic-action-ui-def.js → esm2020/dynamic/models/dynamic-action-ui-def.mjs} +0 -0
  1902. /package/{esm2015/dynamic/models/dynamic-action.js → esm2020/dynamic/models/dynamic-action.mjs} +0 -0
  1903. /package/{esm2015/dynamic/models/dynamic-value-base-type.js → esm2020/dynamic/models/dynamic-value-base-type.mjs} +0 -0
  1904. /package/{esm2015/dynamic/models/dynamic-value-evaluator.js → esm2020/dynamic/models/dynamic-value-evaluator.mjs} +0 -0
  1905. /package/{esm2015/dynamic/models/dynamic-value-primitive.js → esm2020/dynamic/models/dynamic-value-primitive.mjs} +0 -0
  1906. /package/{esm2015/dynamic/models/dynamic-value-type.js → esm2020/dynamic/models/dynamic-value-type.mjs} +0 -0
  1907. /package/{esm2015/dynamic/models/dynamic-value.js → esm2020/dynamic/models/dynamic-value.mjs} +0 -0
  1908. /package/{esm2015/dynamic/models/index.js → esm2020/dynamic/models/index.mjs} +0 -0
  1909. /package/{esm2015/dynamic/public-api.js → esm2020/dynamic/public-api.mjs} +0 -0
  1910. /package/{esm2015/dynamic/theseam-ui-common-dynamic.js → esm2020/dynamic/theseam-ui-common-dynamic.mjs} +0 -0
  1911. /package/{esm2015/dynamic/tokens/api-config.js → esm2020/dynamic/tokens/api-config.mjs} +0 -0
  1912. /package/{esm2015/dynamic/tokens/dynamic-action.js → esm2020/dynamic/tokens/dynamic-action.mjs} +0 -0
  1913. /package/{esm2015/dynamic/tokens/dynamic-data.js → esm2020/dynamic/tokens/dynamic-data.mjs} +0 -0
  1914. /package/{esm2015/dynamic/tokens/dynamic-value-evaluator.js → esm2020/dynamic/tokens/dynamic-value-evaluator.mjs} +0 -0
  1915. /package/{esm2015/dynamic/tokens/index.js → esm2020/dynamic/tokens/index.mjs} +0 -0
  1916. /package/{esm2015/dynamic/utils/index.js → esm2020/dynamic/utils/index.mjs} +0 -0
  1917. /package/{esm2015/dynamic/utils/is-action-type.js → esm2020/dynamic/utils/is-action-type.mjs} +0 -0
  1918. /package/{esm2015/dynamic-component-loader/dynamic-component-tokens.js → esm2020/dynamic-component-loader/dynamic-component-tokens.mjs} +0 -0
  1919. /package/{esm2015/dynamic-component-loader/public-api.js → esm2020/dynamic-component-loader/public-api.mjs} +0 -0
  1920. /package/{esm2015/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.js → esm2020/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.mjs} +0 -0
  1921. /package/{esm2015/footer-bar/public-api.js → esm2020/footer-bar/public-api.mjs} +0 -0
  1922. /package/{esm2015/footer-bar/theseam-ui-common-footer-bar.js → esm2020/footer-bar/theseam-ui-common-footer-bar.mjs} +0 -0
  1923. /package/{esm2015/form-field/theseam-ui-common-form-field.js → esm2020/form-field/theseam-ui-common-form-field.mjs} +0 -0
  1924. /package/{esm2015/form-field-error/public-api.js → esm2020/form-field-error/public-api.mjs} +0 -0
  1925. /package/{esm2015/form-field-error/theseam-ui-common-form-field-error.js → esm2020/form-field-error/theseam-ui-common-form-field-error.mjs} +0 -0
  1926. /package/{esm2015/framework/base-layout/base-layout-action.js → esm2020/framework/base-layout/base-layout-action.mjs} +0 -0
  1927. /package/{esm2015/framework/base-layout/base-layout-nav.js → esm2020/framework/base-layout/base-layout-nav.mjs} +0 -0
  1928. /package/{esm2015/framework/base-layout/base-layout-ref.js → esm2020/framework/base-layout/base-layout-ref.mjs} +0 -0
  1929. /package/{esm2015/framework/base-layout/base-layout-tokens.js → esm2020/framework/base-layout/base-layout-tokens.mjs} +0 -0
  1930. /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-item.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-item.mjs} +0 -0
  1931. /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.mjs} +0 -0
  1932. /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.mjs} +0 -0
  1933. /package/{esm2015/framework/dashboard/index.js → esm2020/framework/dashboard/index.mjs} +0 -0
  1934. /package/{esm2015/framework/dynamic-router/index.js → esm2020/framework/dynamic-router/index.mjs} +0 -0
  1935. /package/{esm2015/framework/nav/index.js → esm2020/framework/nav/index.mjs} +0 -0
  1936. /package/{esm2015/framework/nav/nav.models.js → esm2020/framework/nav/nav.models.mjs} +0 -0
  1937. /package/{esm2015/framework/public-api.js → esm2020/framework/public-api.mjs} +0 -0
  1938. /package/{esm2015/framework/schema-form/index.js → esm2020/framework/schema-form/index.mjs} +0 -0
  1939. /package/{esm2015/google-maps/map-controls-service.js → esm2020/google-maps/map-controls-service.mjs} +0 -0
  1940. /package/{esm2015/graphql/datatable/index.js → esm2020/graphql/datatable/index.mjs} +0 -0
  1941. /package/{esm2015/graphql/datatable/map-page-info.js → esm2020/graphql/datatable/map-page-info.mjs} +0 -0
  1942. /package/{esm2015/graphql/datatable/mapper-context.js → esm2020/graphql/datatable/mapper-context.mjs} +0 -0
  1943. /package/{esm2015/graphql/models/direction.js → esm2020/graphql/models/direction.mjs} +0 -0
  1944. /package/{esm2015/graphql/models/gql-datatable-accessor.js → esm2020/graphql/models/gql-datatable-accessor.mjs} +0 -0
  1945. /package/{esm2015/graphql/models/hint-definition.js → esm2020/graphql/models/hint-definition.mjs} +0 -0
  1946. /package/{esm2015/graphql/models/hint-transform-operation.js → esm2020/graphql/models/hint-transform-operation.mjs} +0 -0
  1947. /package/{esm2015/graphql/models/hint-transformer.js → esm2020/graphql/models/hint-transformer.mjs} +0 -0
  1948. /package/{esm2015/graphql/models/hints-kind.js → esm2020/graphql/models/hints-kind.mjs} +0 -0
  1949. /package/{esm2015/graphql/models/hints-token.js → esm2020/graphql/models/hints-token.mjs} +0 -0
  1950. /package/{esm2015/graphql/models/index.js → esm2020/graphql/models/index.mjs} +0 -0
  1951. /package/{esm2015/graphql/models/query-processing-config.js → esm2020/graphql/models/query-processing-config.mjs} +0 -0
  1952. /package/{esm2015/graphql/models/variable.js → esm2020/graphql/models/variable.mjs} +0 -0
  1953. /package/{esm2015/graphql/public-api.js → esm2020/graphql/public-api.mjs} +0 -0
  1954. /package/{esm2015/graphql/theseam-ui-common-graphql.js → esm2020/graphql/theseam-ui-common-graphql.mjs} +0 -0
  1955. /package/{esm2015/graphql/utils/contains-variable.js → esm2020/graphql/utils/contains-variable.mjs} +0 -0
  1956. /package/{esm2015/graphql/utils/gql-var.js → esm2020/graphql/utils/gql-var.mjs} +0 -0
  1957. /package/{esm2015/graphql/utils/hints-tokens-containing-hint.js → esm2020/graphql/utils/hints-tokens-containing-hint.mjs} +0 -0
  1958. /package/{esm2015/graphql/utils/index.js → esm2020/graphql/utils/index.mjs} +0 -0
  1959. /package/{esm2015/graphql/utils/parse-comments.js → esm2020/graphql/utils/parse-comments.mjs} +0 -0
  1960. /package/{esm2015/graphql/utils/remove-variable-definition.js → esm2020/graphql/utils/remove-variable-definition.mjs} +0 -0
  1961. /package/{esm2015/graphql/utils/remove-variable-definitions-not-defined.js → esm2020/graphql/utils/remove-variable-definitions-not-defined.mjs} +0 -0
  1962. /package/{esm2015/graphql/utils/remove-variable.js → esm2020/graphql/utils/remove-variable.mjs} +0 -0
  1963. /package/{esm2015/icon/icon.js → esm2020/icon/icon.mjs} +0 -0
  1964. /package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
  1965. /package/{esm2015/icon/theseam-ui-common-icon.js → esm2020/icon/theseam-ui-common-icon.mjs} +0 -0
  1966. /package/{esm2015/icon/utils/file-extension-icon.js → esm2020/icon/utils/file-extension-icon.mjs} +0 -0
  1967. /package/{esm2015/icon/utils/index.js → esm2020/icon/utils/index.mjs} +0 -0
  1968. /package/{esm2015/layout/public-api.js → esm2020/layout/public-api.mjs} +0 -0
  1969. /package/{esm2015/layout/theseam-ui-common-layout.js → esm2020/layout/theseam-ui-common-layout.mjs} +0 -0
  1970. /package/{esm2015/loading/loading-themes.js → esm2020/loading/loading-themes.mjs} +0 -0
  1971. /package/{esm2015/loading/loading.models.js → esm2020/loading/loading.models.mjs} +0 -0
  1972. /package/{esm2015/loading/public-api.js → esm2020/loading/public-api.mjs} +0 -0
  1973. /package/{esm2015/loading/theseam-ui-common-loading.js → esm2020/loading/theseam-ui-common-loading.mjs} +0 -0
  1974. /package/{esm2015/menu/menu-animations.js → esm2020/menu/menu-animations.mjs} +0 -0
  1975. /package/{esm2015/menu/menu-panel-token.js → esm2020/menu/menu-panel-token.mjs} +0 -0
  1976. /package/{esm2015/menu/menu-panel.js → esm2020/menu/menu-panel.mjs} +0 -0
  1977. /package/{esm2015/menu/public-api.js → esm2020/menu/public-api.mjs} +0 -0
  1978. /package/{esm2015/menu/theseam-ui-common-menu.js → esm2020/menu/theseam-ui-common-menu.mjs} +0 -0
  1979. /package/{esm2015/modal/modal-injectors.js → esm2020/modal/modal-injectors.mjs} +0 -0
  1980. /package/{esm2015/modal/modal-utils.js → esm2020/modal/modal-utils.mjs} +0 -0
  1981. /package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
  1982. /package/{esm2015/modal/theseam-ui-common-modal.js → esm2020/modal/theseam-ui-common-modal.mjs} +0 -0
  1983. /package/{esm2015/models/component-type.js → esm2020/models/component-type.mjs} +0 -0
  1984. /package/{esm2015/models/http-status-codes.js → esm2020/models/http-status-codes.mjs} +0 -0
  1985. /package/{esm2015/models/public-api.js → esm2020/models/public-api.mjs} +0 -0
  1986. /package/{esm2015/models/size-prefixes.js → esm2020/models/size-prefixes.mjs} +0 -0
  1987. /package/{esm2015/models/size-types.js → esm2020/models/size-types.mjs} +0 -0
  1988. /package/{esm2015/models/theme-names.js → esm2020/models/theme-names.mjs} +0 -0
  1989. /package/{esm2015/models/theme-prefixes.js → esm2020/models/theme-prefixes.mjs} +0 -0
  1990. /package/{esm2015/models/theme-types.js → esm2020/models/theme-types.mjs} +0 -0
  1991. /package/{esm2015/models/theseam-ui-common-models.js → esm2020/models/theseam-ui-common-models.mjs} +0 -0
  1992. /package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
  1993. /package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
  1994. /package/{esm2015/popover/theseam-ui-common-popover.js → esm2020/popover/theseam-ui-common-popover.mjs} +0 -0
  1995. /package/{esm2015/progress/public-api.js → esm2020/progress/public-api.mjs} +0 -0
  1996. /package/{esm2015/progress/theseam-ui-common-progress.js → esm2020/progress/theseam-ui-common-progress.mjs} +0 -0
  1997. /package/{esm2015/scrollbar/overlay-scrollbars-config-model.js → esm2020/scrollbar/overlay-scrollbars-config-model.mjs} +0 -0
  1998. /package/{esm2015/scrollbar/public-api.js → esm2020/scrollbar/public-api.mjs} +0 -0
  1999. /package/{esm2015/scrollbar/theseam-ui-common-scrollbar.js → esm2020/scrollbar/theseam-ui-common-scrollbar.mjs} +0 -0
  2000. /package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +0 -0
  2001. /package/{esm2015/services/theseam-ui-common-services.js → esm2020/services/theseam-ui-common-services.mjs} +0 -0
  2002. /package/{esm2015/shared/components/index.js → esm2020/shared/components/index.mjs} +0 -0
  2003. /package/{esm2015/shared/directives/index.js → esm2020/shared/directives/index.mjs} +0 -0
  2004. /package/{esm2015/shared/pipes/index.js → esm2020/shared/pipes/index.mjs} +0 -0
  2005. /package/{esm2015/shared/public-api.js → esm2020/shared/public-api.mjs} +0 -0
  2006. /package/{esm2015/shared/theseam-ui-common-shared.js → esm2020/shared/theseam-ui-common-shared.mjs} +0 -0
  2007. /package/{esm2015/storage/public-api.js → esm2020/storage/public-api.mjs} +0 -0
  2008. /package/{esm2015/storage/theseam-ui-common-storage.js → esm2020/storage/theseam-ui-common-storage.mjs} +0 -0
  2009. /package/{esm2015/story-helpers/initial-route-factory.js → esm2020/story-helpers/initial-route-factory.mjs} +0 -0
  2010. /package/{esm2015/story-helpers/route-button.js → esm2020/story-helpers/route-button.mjs} +0 -0
  2011. /package/{esm2015/story-helpers/theseam-ui-common-story-helpers.js → esm2020/story-helpers/theseam-ui-common-story-helpers.mjs} +0 -0
  2012. /package/{esm2015/tabbed/theseam-ui-common-tabbed.js → esm2020/tabbed/theseam-ui-common-tabbed.mjs} +0 -0
  2013. /package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
  2014. /package/{esm2015/table/theseam-ui-common-table.js → esm2020/table/theseam-ui-common-table.mjs} +0 -0
  2015. /package/{esm2015/table-cell-type/public-api.js → esm2020/table-cell-type/public-api.mjs} +0 -0
  2016. /package/{esm2015/table-cell-type/table-cell-type-action.js → esm2020/table-cell-type/table-cell-type-action.mjs} +0 -0
  2017. /package/{esm2015/table-cell-type/table-cell-type-column.js → esm2020/table-cell-type/table-cell-type-column.mjs} +0 -0
  2018. /package/{esm2015/table-cell-type/table-cell-type-config.js → esm2020/table-cell-type/table-cell-type-config.mjs} +0 -0
  2019. /package/{esm2015/table-cell-type/table-cell-type-manifest-provider.js → esm2020/table-cell-type/table-cell-type-manifest-provider.mjs} +0 -0
  2020. /package/{esm2015/table-cell-type/table-cell-type-name.js → esm2020/table-cell-type/table-cell-type-name.mjs} +0 -0
  2021. /package/{esm2015/table-cell-type/table-cell-type-tokens.js → esm2020/table-cell-type/table-cell-type-tokens.mjs} +0 -0
  2022. /package/{esm2015/table-cell-type/theseam-ui-common-table-cell-type.js → esm2020/table-cell-type/theseam-ui-common-table-cell-type.mjs} +0 -0
  2023. /package/{esm2015/table-cell-types/public-api.js → esm2020/table-cell-types/public-api.mjs} +0 -0
  2024. /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.mjs} +0 -0
  2025. /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.mjs} +0 -0
  2026. /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date-config.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date-config.mjs} +0 -0
  2027. /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.mjs} +0 -0
  2028. /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.mjs} +0 -0
  2029. /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.mjs} +0 -0
  2030. /package/{esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.js → esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.mjs} +0 -0
  2031. /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.mjs} +0 -0
  2032. /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.mjs} +0 -0
  2033. /package/{esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.js → esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.mjs} +0 -0
  2034. /package/{esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.js → esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.mjs} +0 -0
  2035. /package/{esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.js → esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.mjs} +0 -0
  2036. /package/{esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js → esm2020/table-cell-types/table-cell-type-string/table-cell-type-string-config.mjs} +0 -0
  2037. /package/{esm2015/tel-input/models/index.js → esm2020/tel-input/models/index.mjs} +0 -0
  2038. /package/{esm2015/tel-input/models/tel-input-country-data.js → esm2020/tel-input/models/tel-input-country-data.mjs} +0 -0
  2039. /package/{esm2015/tel-input/models/tel-input-number-format-name.js → esm2020/tel-input/models/tel-input-number-format-name.mjs} +0 -0
  2040. /package/{esm2015/tel-input/public-api.js → esm2020/tel-input/public-api.mjs} +0 -0
  2041. /package/{esm2015/tel-input/tel-input-constants.js → esm2020/tel-input/tel-input-constants.mjs} +0 -0
  2042. /package/{esm2015/tel-input/theseam-ui-common-tel-input.js → esm2020/tel-input/theseam-ui-common-tel-input.mjs} +0 -0
  2043. /package/{esm2015/tel-input/utils/coerce-phone-number-format.js → esm2020/tel-input/utils/coerce-phone-number-format.mjs} +0 -0
  2044. /package/{esm2015/tel-input/utils/get-country-code.js → esm2020/tel-input/utils/get-country-code.mjs} +0 -0
  2045. /package/{esm2015/tel-input/utils/get-dial-code.js → esm2020/tel-input/utils/get-dial-code.mjs} +0 -0
  2046. /package/{esm2015/tel-input/utils/get-global-intl-tel-input-globals.js → esm2020/tel-input/utils/get-global-intl-tel-input-globals.mjs} +0 -0
  2047. /package/{esm2015/tel-input/utils/get-global-intl-tel-input-utils.js → esm2020/tel-input/utils/get-global-intl-tel-input-utils.mjs} +0 -0
  2048. /package/{esm2015/tel-input/utils/get-intl-tel-input-utils.js → esm2020/tel-input/utils/get-intl-tel-input-utils.mjs} +0 -0
  2049. /package/{esm2015/tel-input/utils/index.js → esm2020/tel-input/utils/index.mjs} +0 -0
  2050. /package/{esm2015/testing/current-tick-time.js → esm2020/testing/current-tick-time.mjs} +0 -0
  2051. /package/{esm2015/testing/fake-toastr.js → esm2020/testing/fake-toastr.mjs} +0 -0
  2052. /package/{esm2015/testing/public-api.js → esm2020/testing/public-api.mjs} +0 -0
  2053. /package/{esm2015/testing/theseam-ui-common-testing.js → esm2020/testing/theseam-ui-common-testing.mjs} +0 -0
  2054. /package/{esm2015/testing/tick-helper.js → esm2020/testing/tick-helper.mjs} +0 -0
  2055. /package/{esm2015/theseam-ui-common.js → esm2020/theseam-ui-common.mjs} +0 -0
  2056. /package/{esm2015/tiled-select/theseam-ui-common-tiled-select.js → esm2020/tiled-select/theseam-ui-common-tiled-select.mjs} +0 -0
  2057. /package/{esm2015/tiled-select/tiled-select.models.js → esm2020/tiled-select/tiled-select.models.mjs} +0 -0
  2058. /package/{esm2015/toggle-edit/models/can-toggle-edit.js → esm2020/toggle-edit/models/can-toggle-edit.mjs} +0 -0
  2059. /package/{esm2015/toggle-edit/models/index.js → esm2020/toggle-edit/models/index.mjs} +0 -0
  2060. /package/{esm2015/toggle-edit/models/toggle-edit-ref.js → esm2020/toggle-edit/models/toggle-edit-ref.mjs} +0 -0
  2061. /package/{esm2015/toggle-edit/public-api.js → esm2020/toggle-edit/public-api.mjs} +0 -0
  2062. /package/{esm2015/toggle-edit/theseam-ui-common-toggle-edit.js → esm2020/toggle-edit/theseam-ui-common-toggle-edit.mjs} +0 -0
  2063. /package/{esm2015/toggle-group/public-api.js → esm2020/toggle-group/public-api.mjs} +0 -0
  2064. /package/{esm2015/toggle-group/theseam-ui-common-toggle-group.js → esm2020/toggle-group/theseam-ui-common-toggle-group.mjs} +0 -0
  2065. /package/{esm2015/unsaved-changes-dialog/public-api.js → esm2020/unsaved-changes-dialog/public-api.mjs} +0 -0
  2066. /package/{esm2015/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.js → esm2020/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.mjs} +0 -0
  2067. /package/{esm2015/utils/calc-percentage.js → esm2020/utils/calc-percentage.mjs} +0 -0
  2068. /package/{esm2015/utils/create-padding.js → esm2020/utils/create-padding.mjs} +0 -0
  2069. /package/{esm2015/utils/form/get-control-name.js → esm2020/utils/form/get-control-name.mjs} +0 -0
  2070. /package/{esm2015/utils/form/has-required-control.js → esm2020/utils/form/has-required-control.mjs} +0 -0
  2071. /package/{esm2015/utils/form/is-empty-input-value.js → esm2020/utils/form/is-empty-input-value.mjs} +0 -0
  2072. /package/{esm2015/utils/form/observe-control-is-different.js → esm2020/utils/form/observe-control-is-different.mjs} +0 -0
  2073. /package/{esm2015/utils/form/observe-control-status.js → esm2020/utils/form/observe-control-status.mjs} +0 -0
  2074. /package/{esm2015/utils/form/observe-control-valid.js → esm2020/utils/form/observe-control-valid.mjs} +0 -0
  2075. /package/{esm2015/utils/form/observe-control-value-change.js → esm2020/utils/form/observe-control-value-change.mjs} +0 -0
  2076. /package/{esm2015/utils/form/observe-control-value.js → esm2020/utils/form/observe-control-value.mjs} +0 -0
  2077. /package/{esm2015/utils/form/wait-on-non-pending-status.js → esm2020/utils/form/wait-on-non-pending-status.mjs} +0 -0
  2078. /package/{esm2015/utils/fractional-digits-count.js → esm2020/utils/fractional-digits-count.mjs} +0 -0
  2079. /package/{esm2015/utils/geo-json/no-kinks.validator.js → esm2020/utils/geo-json/no-kinks.validator.mjs} +0 -0
  2080. /package/{esm2015/utils/get-attribute.js → esm2020/utils/get-attribute.mjs} +0 -0
  2081. /package/{esm2015/utils/has-attribute.js → esm2020/utils/has-attribute.mjs} +0 -0
  2082. /package/{esm2015/utils/input-masks.js → esm2020/utils/input-masks.mjs} +0 -0
  2083. /package/{esm2015/utils/is-absolute-url.js → esm2020/utils/is-absolute-url.mjs} +0 -0
  2084. /package/{esm2015/utils/is-null-or-undefined.js → esm2020/utils/is-null-or-undefined.mjs} +0 -0
  2085. /package/{esm2015/utils/is-numeric.js → esm2020/utils/is-numeric.mjs} +0 -0
  2086. /package/{esm2015/utils/not-null-or-undefined.js → esm2020/utils/not-null-or-undefined.mjs} +0 -0
  2087. /package/{esm2015/utils/observe-query-list.js → esm2020/utils/observe-query-list.mjs} +0 -0
  2088. /package/{esm2015/utils/operators/index.js → esm2020/utils/operators/index.mjs} +0 -0
  2089. /package/{esm2015/utils/operators/map-each.js → esm2020/utils/operators/map-each.mjs} +0 -0
  2090. /package/{esm2015/utils/operators/tap-first.js → esm2020/utils/operators/tap-first.mjs} +0 -0
  2091. /package/{esm2015/utils/pad-end.js → esm2020/utils/pad-end.mjs} +0 -0
  2092. /package/{esm2015/utils/pad-start.js → esm2020/utils/pad-start.mjs} +0 -0
  2093. /package/{esm2015/utils/public-api.js → esm2020/utils/public-api.mjs} +0 -0
  2094. /package/{esm2015/utils/refreshable.js → esm2020/utils/refreshable.mjs} +0 -0
  2095. /package/{esm2015/utils/router/index.js → esm2020/utils/router/index.mjs} +0 -0
  2096. /package/{esm2015/utils/router/is-empty-url-route.js → esm2020/utils/router/is-empty-url-route.mjs} +0 -0
  2097. /package/{esm2015/utils/router/leaf-child-route.js → esm2020/utils/router/leaf-child-route.mjs} +0 -0
  2098. /package/{esm2015/utils/theseam-ui-common-utils.js → esm2020/utils/theseam-ui-common-utils.mjs} +0 -0
  2099. /package/{esm2015/utils/wrap-into-observable.js → esm2020/utils/wrap-into-observable.mjs} +0 -0
  2100. /package/{esm2015/validators/decimal.validator.js → esm2020/validators/decimal.validator.mjs} +0 -0
  2101. /package/{esm2015/validators/email-exists.validator.js → esm2020/validators/email-exists.validator.mjs} +0 -0
  2102. /package/{esm2015/validators/integer.validator.js → esm2020/validators/integer.validator.mjs} +0 -0
  2103. /package/{esm2015/validators/phone-length.validator.js → esm2020/validators/phone-length.validator.mjs} +0 -0
  2104. /package/{esm2015/validators/public-api.js → esm2020/validators/public-api.mjs} +0 -0
  2105. /package/{esm2015/validators/tax-id.validator.js → esm2020/validators/tax-id.validator.mjs} +0 -0
  2106. /package/{esm2015/validators/theseam-ui-common-validators.js → esm2020/validators/theseam-ui-common-validators.mjs} +0 -0
  2107. /package/{esm2015/viewers/html-template-viewer/index.js → esm2020/viewers/html-template-viewer/index.mjs} +0 -0
  2108. /package/{esm2015/viewers/pdf-viewer/index.js → esm2020/viewers/pdf-viewer/index.mjs} +0 -0
  2109. /package/{esm2015/viewers/public-api.js → esm2020/viewers/public-api.mjs} +0 -0
  2110. /package/{esm2015/viewers/theseam-ui-common-viewers.js → esm2020/viewers/theseam-ui-common-viewers.mjs} +0 -0
  2111. /package/{esm2015/widget/public-api.js → esm2020/widget/public-api.mjs} +0 -0
  2112. /package/{esm2015/widget/theseam-ui-common-widget.js → esm2020/widget/theseam-ui-common-widget.mjs} +0 -0
  2113. /package/{esm2015/widget/widget-registry.models.js → esm2020/widget/widget-registry.models.mjs} +0 -0
  2114. /package/{esm2015/widget/widget-token.js → esm2020/widget/widget-token.mjs} +0 -0
@@ -1,3246 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/cdk/coercion'), require('@angular/cdk/collections'), require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@fortawesome/free-solid-svg-icons'), require('@marklb/ngx-datatable'), require('@theseam/ui-common/core'), require('@theseam/ui-common/data-filters'), require('@theseam/ui-common/utils'), require('@angular/router'), require('@theseam/ui-common/confirm-dialog'), require('@angular/forms'), require('ngx-toastr'), require('@theseam/ui-common/dynamic'), require('@theseam/ui-common/loading'), require('@angular/common/http'), require('@theseam/ui-common/dynamic-component-loader'), require('@theseam/ui-common/modal'), require('@angular/cdk/keycodes'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@theseam/ui-common/scrollbar'), require('@angular/cdk/a11y'), require('@angular/common'), require('@fortawesome/angular-fontawesome'), require('@theseam/ui-common/buttons'), require('@theseam/ui-common/checkbox'), require('@theseam/ui-common/form-field'), require('@theseam/ui-common/icon'), require('@theseam/ui-common/menu'), require('@theseam/ui-common/popover'), require('@theseam/ui-common/shared'), require('@theseam/ui-common/table-cell-type')) :
3
- typeof define === 'function' && define.amd ? define('@theseam/ui-common/datatable', ['exports', '@angular/animations', '@angular/cdk/coercion', '@angular/cdk/collections', '@angular/core', 'rxjs', 'rxjs/operators', '@fortawesome/free-solid-svg-icons', '@marklb/ngx-datatable', '@theseam/ui-common/core', '@theseam/ui-common/data-filters', '@theseam/ui-common/utils', '@angular/router', '@theseam/ui-common/confirm-dialog', '@angular/forms', 'ngx-toastr', '@theseam/ui-common/dynamic', '@theseam/ui-common/loading', '@angular/common/http', '@theseam/ui-common/dynamic-component-loader', '@theseam/ui-common/modal', '@angular/cdk/keycodes', '@angular/cdk/overlay', '@angular/cdk/portal', '@theseam/ui-common/scrollbar', '@angular/cdk/a11y', '@angular/common', '@fortawesome/angular-fontawesome', '@theseam/ui-common/buttons', '@theseam/ui-common/checkbox', '@theseam/ui-common/form-field', '@theseam/ui-common/icon', '@theseam/ui-common/menu', '@theseam/ui-common/popover', '@theseam/ui-common/shared', '@theseam/ui-common/table-cell-type'], 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"].datatable = {}), global.ng.animations, global.ng.cdk.coercion, global.ng.cdk.collections, global.ng.core, global.rxjs, global.rxjs.operators, global.freeSolidSvgIcons, global.ngxDatatable, global.theseam["ui-common"].core, global.theseam["ui-common"]["data-filters"], global.theseam["ui-common"].utils, global.ng.router, global.theseam["ui-common"]["confirm-dialog"], global.ng.forms, global.ngxToastr, global.theseam["ui-common"].dynamic, global.theseam["ui-common"].loading, global.ng.common.http, global.theseam["ui-common"]["dynamic-component-loader"], global.theseam["ui-common"].modal, global.ng.cdk.keycodes, global.ng.cdk.overlay, global.ng.cdk.portal, global.theseam["ui-common"].scrollbar, global.ng.cdk.a11y, global.ng.common, global.angularFontawesome, global.theseam["ui-common"].buttons, global.theseam["ui-common"].checkbox, global.theseam["ui-common"]["form-field"], global.theseam["ui-common"].icon, global.theseam["ui-common"].menu, global.theseam["ui-common"].popover, global.theseam["ui-common"].shared, global.theseam["ui-common"]["table-cell-type"]));
5
- })(this, (function (exports, animations, coercion, collections, i0, rxjs, operators, freeSolidSvgIcons, ngxDatatable, core, dataFilters, utils, router, confirmDialog, forms, ngxToastr, dynamic, loading, http, dynamicComponentLoader, modal, keycodes, overlay, portal, scrollbar, a11y, common, angularFontawesome, buttons, checkbox, formField, icon, menu, popover, shared, tableCellType) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
-
27
- /*! *****************************************************************************
28
- Copyright (c) Microsoft Corporation.
29
-
30
- Permission to use, copy, modify, and/or distribute this software for any
31
- purpose with or without fee is hereby granted.
32
-
33
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
34
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
35
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
36
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
37
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
38
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39
- PERFORMANCE OF THIS SOFTWARE.
40
- ***************************************************************************** */
41
- /* global Reflect, Promise */
42
- var extendStatics = function (d, b) {
43
- extendStatics = Object.setPrototypeOf ||
44
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
45
- function (d, b) { for (var p in b)
46
- if (Object.prototype.hasOwnProperty.call(b, p))
47
- d[p] = b[p]; };
48
- return extendStatics(d, b);
49
- };
50
- function __extends(d, b) {
51
- if (typeof b !== "function" && b !== null)
52
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
53
- extendStatics(d, b);
54
- function __() { this.constructor = d; }
55
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
56
- }
57
- var __assign = function () {
58
- __assign = Object.assign || function __assign(t) {
59
- for (var s, i = 1, n = arguments.length; i < n; i++) {
60
- s = arguments[i];
61
- for (var p in s)
62
- if (Object.prototype.hasOwnProperty.call(s, p))
63
- t[p] = s[p];
64
- }
65
- return t;
66
- };
67
- return __assign.apply(this, arguments);
68
- };
69
- function __rest(s, e) {
70
- var t = {};
71
- for (var p in s)
72
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
73
- t[p] = s[p];
74
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
75
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
76
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
77
- t[p[i]] = s[p[i]];
78
- }
79
- return t;
80
- }
81
- function __decorate(decorators, target, key, desc) {
82
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
83
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
84
- r = Reflect.decorate(decorators, target, key, desc);
85
- else
86
- for (var i = decorators.length - 1; i >= 0; i--)
87
- if (d = decorators[i])
88
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
89
- return c > 3 && r && Object.defineProperty(target, key, r), r;
90
- }
91
- function __param(paramIndex, decorator) {
92
- return function (target, key) { decorator(target, key, paramIndex); };
93
- }
94
- function __metadata(metadataKey, metadataValue) {
95
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
96
- return Reflect.metadata(metadataKey, metadataValue);
97
- }
98
- function __awaiter(thisArg, _arguments, P, generator) {
99
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
100
- return new (P || (P = Promise))(function (resolve, reject) {
101
- function fulfilled(value) { try {
102
- step(generator.next(value));
103
- }
104
- catch (e) {
105
- reject(e);
106
- } }
107
- function rejected(value) { try {
108
- step(generator["throw"](value));
109
- }
110
- catch (e) {
111
- reject(e);
112
- } }
113
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
114
- step((generator = generator.apply(thisArg, _arguments || [])).next());
115
- });
116
- }
117
- function __generator(thisArg, body) {
118
- var _ = { label: 0, sent: function () { if (t[0] & 1)
119
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
120
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
121
- function verb(n) { return function (v) { return step([n, v]); }; }
122
- function step(op) {
123
- if (f)
124
- throw new TypeError("Generator is already executing.");
125
- while (_)
126
- try {
127
- 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)
128
- return t;
129
- if (y = 0, t)
130
- op = [op[0] & 2, t.value];
131
- switch (op[0]) {
132
- case 0:
133
- case 1:
134
- t = op;
135
- break;
136
- case 4:
137
- _.label++;
138
- return { value: op[1], done: false };
139
- case 5:
140
- _.label++;
141
- y = op[1];
142
- op = [0];
143
- continue;
144
- case 7:
145
- op = _.ops.pop();
146
- _.trys.pop();
147
- continue;
148
- default:
149
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
150
- _ = 0;
151
- continue;
152
- }
153
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
154
- _.label = op[1];
155
- break;
156
- }
157
- if (op[0] === 6 && _.label < t[1]) {
158
- _.label = t[1];
159
- t = op;
160
- break;
161
- }
162
- if (t && _.label < t[2]) {
163
- _.label = t[2];
164
- _.ops.push(op);
165
- break;
166
- }
167
- if (t[2])
168
- _.ops.pop();
169
- _.trys.pop();
170
- continue;
171
- }
172
- op = body.call(thisArg, _);
173
- }
174
- catch (e) {
175
- op = [6, e];
176
- y = 0;
177
- }
178
- finally {
179
- f = t = 0;
180
- }
181
- if (op[0] & 5)
182
- throw op[1];
183
- return { value: op[0] ? op[1] : void 0, done: true };
184
- }
185
- }
186
- var __createBinding = Object.create ? (function (o, m, k, k2) {
187
- if (k2 === undefined)
188
- k2 = k;
189
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
190
- }) : (function (o, m, k, k2) {
191
- if (k2 === undefined)
192
- k2 = k;
193
- o[k2] = m[k];
194
- });
195
- function __exportStar(m, o) {
196
- for (var p in m)
197
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
198
- __createBinding(o, m, p);
199
- }
200
- function __values(o) {
201
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
202
- if (m)
203
- return m.call(o);
204
- if (o && typeof o.length === "number")
205
- return {
206
- next: function () {
207
- if (o && i >= o.length)
208
- o = void 0;
209
- return { value: o && o[i++], done: !o };
210
- }
211
- };
212
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
213
- }
214
- function __read(o, n) {
215
- var m = typeof Symbol === "function" && o[Symbol.iterator];
216
- if (!m)
217
- return o;
218
- var i = m.call(o), r, ar = [], e;
219
- try {
220
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
221
- ar.push(r.value);
222
- }
223
- catch (error) {
224
- e = { error: error };
225
- }
226
- finally {
227
- try {
228
- if (r && !r.done && (m = i["return"]))
229
- m.call(i);
230
- }
231
- finally {
232
- if (e)
233
- throw e.error;
234
- }
235
- }
236
- return ar;
237
- }
238
- /** @deprecated */
239
- function __spread() {
240
- for (var ar = [], i = 0; i < arguments.length; i++)
241
- ar = ar.concat(__read(arguments[i]));
242
- return ar;
243
- }
244
- /** @deprecated */
245
- function __spreadArrays() {
246
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
247
- s += arguments[i].length;
248
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
249
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
250
- r[k] = a[j];
251
- return r;
252
- }
253
- function __spreadArray(to, from, pack) {
254
- if (pack || arguments.length === 2)
255
- for (var i = 0, l = from.length, ar; i < l; i++) {
256
- if (ar || !(i in from)) {
257
- if (!ar)
258
- ar = Array.prototype.slice.call(from, 0, i);
259
- ar[i] = from[i];
260
- }
261
- }
262
- return to.concat(ar || Array.prototype.slice.call(from));
263
- }
264
- function __await(v) {
265
- return this instanceof __await ? (this.v = v, this) : new __await(v);
266
- }
267
- function __asyncGenerator(thisArg, _arguments, generator) {
268
- if (!Symbol.asyncIterator)
269
- throw new TypeError("Symbol.asyncIterator is not defined.");
270
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
271
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
272
- function verb(n) { if (g[n])
273
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
274
- function resume(n, v) { try {
275
- step(g[n](v));
276
- }
277
- catch (e) {
278
- settle(q[0][3], e);
279
- } }
280
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
281
- function fulfill(value) { resume("next", value); }
282
- function reject(value) { resume("throw", value); }
283
- function settle(f, v) { if (f(v), q.shift(), q.length)
284
- resume(q[0][0], q[0][1]); }
285
- }
286
- function __asyncDelegator(o) {
287
- var i, p;
288
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
289
- 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; }
290
- }
291
- function __asyncValues(o) {
292
- if (!Symbol.asyncIterator)
293
- throw new TypeError("Symbol.asyncIterator is not defined.");
294
- var m = o[Symbol.asyncIterator], i;
295
- 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);
296
- 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); }); }; }
297
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
298
- }
299
- function __makeTemplateObject(cooked, raw) {
300
- if (Object.defineProperty) {
301
- Object.defineProperty(cooked, "raw", { value: raw });
302
- }
303
- else {
304
- cooked.raw = raw;
305
- }
306
- return cooked;
307
- }
308
- ;
309
- var __setModuleDefault = Object.create ? (function (o, v) {
310
- Object.defineProperty(o, "default", { enumerable: true, value: v });
311
- }) : function (o, v) {
312
- o["default"] = v;
313
- };
314
- function __importStar(mod) {
315
- if (mod && mod.__esModule)
316
- return mod;
317
- var result = {};
318
- if (mod != null)
319
- for (var k in mod)
320
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
321
- __createBinding(result, mod, k);
322
- __setModuleDefault(result, mod);
323
- return result;
324
- }
325
- function __importDefault(mod) {
326
- return (mod && mod.__esModule) ? mod : { default: mod };
327
- }
328
- function __classPrivateFieldGet(receiver, state, kind, f) {
329
- if (kind === "a" && !f)
330
- throw new TypeError("Private accessor was defined without a getter");
331
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
332
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
333
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
334
- }
335
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
336
- if (kind === "m")
337
- throw new TypeError("Private method is not writable");
338
- if (kind === "a" && !f)
339
- throw new TypeError("Private accessor was defined without a setter");
340
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
341
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
342
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
343
- }
344
-
345
- var DatatableActionMenuItemComponent = /** @class */ (function () {
346
- function DatatableActionMenuItemComponent() {
347
- this.click = new i0.EventEmitter();
348
- }
349
- return DatatableActionMenuItemComponent;
350
- }());
351
- DatatableActionMenuItemComponent.decorators = [
352
- { type: i0.Component, args: [{
353
- selector: 'seam-datatable-action-menu-item',
354
- template: "",
355
- changeDetection: i0.ChangeDetectionStrategy.OnPush
356
- },] }
357
- ];
358
- DatatableActionMenuItemComponent.propDecorators = {
359
- label: [{ type: i0.Input }],
360
- href: [{ type: i0.Input, args: ['attr.href',] }],
361
- target: [{ type: i0.Input }],
362
- queryParams: [{ type: i0.Input }],
363
- fragment: [{ type: i0.Input }],
364
- queryParamsHandling: [{ type: i0.Input }],
365
- preserveFragment: [{ type: i0.Input }],
366
- skipLocationChange: [{ type: i0.Input }],
367
- replaceUrl: [{ type: i0.Input }],
368
- state: [{ type: i0.Input }],
369
- routerLink: [{ type: i0.Input }],
370
- confirmDialog: [{ type: i0.Input }],
371
- disabled: [{ type: i0.Input }],
372
- click: [{ type: i0.Output }]
373
- };
374
-
375
- var DatatableActionMenuComponent = /** @class */ (function () {
376
- function DatatableActionMenuComponent(_confirmDialog, _router) {
377
- this._confirmDialog = _confirmDialog;
378
- this._router = _router;
379
- this.faEllipsisH = freeSolidSvgIcons.faEllipsisH;
380
- /** @ignore */
381
- this._actionMenuPositions = [
382
- {
383
- originX: 'start',
384
- originY: 'bottom',
385
- overlayX: 'end',
386
- overlayY: 'top',
387
- },
388
- {
389
- originX: 'start',
390
- originY: 'top',
391
- overlayX: 'end',
392
- overlayY: 'bottom',
393
- },
394
- {
395
- originX: 'end',
396
- originY: 'bottom',
397
- overlayX: 'start',
398
- overlayY: 'top',
399
- },
400
- {
401
- originX: 'end',
402
- originY: 'top',
403
- overlayX: 'start',
404
- overlayY: 'bottom',
405
- },
406
- ];
407
- }
408
- DatatableActionMenuComponent.prototype.activateItem = function (event, item) {
409
- var _this = this;
410
- if (item.confirmDialog) {
411
- this._confirmDialog.open(item.confirmDialog.message, item.confirmDialog.alert)
412
- .afterClosed()
413
- .subscribe(function (v) {
414
- if (v === 'confirm') {
415
- item.click.emit(event);
416
- if (item.href) {
417
- var win = window.open(item.href, item.target || undefined);
418
- // TODO: Consider if always setting opener to null is to restrictive
419
- // if (win && item.target && item.target.toLowerCase() === '_blank') {
420
- // win.opener = null
421
- // }
422
- }
423
- else {
424
- var extras = {};
425
- if (item.queryParams) {
426
- extras.queryParams = item.queryParams;
427
- }
428
- if (item.fragment) {
429
- extras.fragment = item.fragment;
430
- }
431
- if (item.queryParamsHandling) {
432
- extras.queryParamsHandling = item.queryParamsHandling;
433
- }
434
- if (item.preserveFragment) {
435
- extras.preserveFragment = item.preserveFragment;
436
- }
437
- if (item.skipLocationChange) {
438
- extras.skipLocationChange = item.skipLocationChange;
439
- }
440
- if (item.replaceUrl) {
441
- extras.replaceUrl = item.replaceUrl;
442
- }
443
- if (item.state) {
444
- extras.state = item.state;
445
- }
446
- var commands = Array.isArray(item.routerLink) ? item.routerLink : [item.routerLink];
447
- _this._router.navigate(commands, extras);
448
- }
449
- }
450
- });
451
- }
452
- else {
453
- item.click.emit(event);
454
- }
455
- };
456
- return DatatableActionMenuComponent;
457
- }());
458
- DatatableActionMenuComponent.decorators = [
459
- { type: i0.Component, args: [{
460
- selector: 'seam-datatable-action-menu',
461
- template: "<seam-menu #menu\n menuClass=\"list-group py-0 border-0 seam-datatable-action-menu\"\n animationType=\"fade\">\n\n <ng-container *ngFor=\"let item of items\">\n <ng-container *ngIf=\"(item.routerLink || item.href) && !item.confirmDialog; else noRouterLink\">\n <a *ngIf=\"item.href; else noHref\"\n seamMenuItem\n class=\"list-group-item list-group-item-action py-1\"\n [disabled]=\"item.disabled\"\n [attr.href]=\"item.href\"\n [target]=\"item.target\"\n (click)=\"activateItem($event, item)\">\n {{ item.label }}\n </a>\n <ng-template #noHref>\n <a seamMenuItem\n class=\"list-group-item list-group-item-action py-1\"\n [disabled]=\"item.disabled\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"$any(item.fragment)\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [preserveFragment]=\"$any(item.preserveFragment)\"\n [skipLocationChange]=\"$any(item.skipLocationChange)\"\n [replaceUrl]=\"$any(item.replaceUrl)\"\n [state]=\"$any(item.state)\"\n [routerLink]=\"item.routerLink\"\n [target]=\"$any(item.target)\"\n (click)=\"activateItem($event, item)\">\n {{ item.label }}\n </a>\n </ng-template>\n </ng-container>\n <ng-template #noRouterLink>\n <button seamMenuItem\n type=\"button\"\n class=\"list-group-item list-group-item-action py-1\"\n [disabled]=\"item.disabled\"\n (click)=\"activateItem($event, item)\">\n {{ item.label }}\n </button>\n </ng-template>\n </ng-container>\n</seam-menu>\n\n<button type=\"button\" class=\"datatable-action-button btn\"\n [seamMenuToggle]=\"menu\"\n [positions]=\"_actionMenuPositions || []\"\n title=\"Row Actions\">\n <seam-icon [icon]=\"faEllipsisH\"></seam-icon>\n</button>\n",
462
- styles: [":host{display:block;position:relative}.datatable-action-button::ng-deep .svg-inline--fa{vertical-align:middle}\n"]
463
- },] }
464
- ];
465
- DatatableActionMenuComponent.ctorParameters = function () { return [
466
- { type: confirmDialog.SeamConfirmDialogService },
467
- { type: router.Router }
468
- ]; };
469
- DatatableActionMenuComponent.propDecorators = {
470
- items: [{ type: i0.ContentChildren, args: [DatatableActionMenuItemComponent,] }]
471
- };
472
-
473
- var DatatableCellTplDirective = /** @class */ (function () {
474
- function DatatableCellTplDirective(template) {
475
- this.template = template;
476
- }
477
- return DatatableCellTplDirective;
478
- }());
479
- DatatableCellTplDirective.decorators = [
480
- { type: i0.Directive, args: [{
481
- selector: '[seamDatatableCellTpl]'
482
- },] }
483
- ];
484
- DatatableCellTplDirective.ctorParameters = function () { return [
485
- { type: i0.TemplateRef }
486
- ]; };
487
-
488
- var DatatableColumnChangesService = /** @class */ (function () {
489
- function DatatableColumnChangesService() {
490
- this.columnInputChanges = new rxjs.Subject();
491
- }
492
- Object.defineProperty(DatatableColumnChangesService.prototype, "columnInputChanges$", {
493
- get: function () {
494
- return this.columnInputChanges.asObservable();
495
- },
496
- enumerable: false,
497
- configurable: true
498
- });
499
- DatatableColumnChangesService.prototype.onInputChange = function () {
500
- this.columnInputChanges.next(undefined);
501
- };
502
- return DatatableColumnChangesService;
503
- }());
504
- DatatableColumnChangesService.decorators = [
505
- { type: i0.Injectable }
506
- ];
507
-
508
- // TODO: The column component should implement `ITheSeamDatatableColumn`, since
509
- // providing some properties by input and some by template could be confusing.
510
- var DatatableColumnComponent = /** @class */ (function () {
511
- // @Input('headerTemplate')
512
- // _headerTemplateInput: TemplateRef<any>;
513
- // @ContentChild(DataTableColumnHeaderDirective, { read: TemplateRef, static: true })
514
- // _headerTemplateQuery: TemplateRef<any>;
515
- // get headerTemplate(): TemplateRef<any> {
516
- // return this._headerTemplateInput || this._headerTemplateQuery;
517
- // }
518
- // @Input('treeToggleTemplate')
519
- // _treeToggleTemplateInput: TemplateRef<any>;
520
- // @ContentChild(DataTableColumnCellTreeToggle, { read: TemplateRef, static: true })
521
- // _treeToggleTemplateQuery: TemplateRef<any>;
522
- // get treeToggleTemplate(): TemplateRef<any> {
523
- // return this._treeToggleTemplateInput || this._treeToggleTemplateQuery;
524
- // }
525
- function DatatableColumnComponent(_columnChangesService) {
526
- this._columnChangesService = _columnChangesService;
527
- this._isFirstChange = true;
528
- }
529
- Object.defineProperty(DatatableColumnComponent.prototype, "cellTemplate", {
530
- get: function () {
531
- return this._cellTemplateInput || this._cellTemplateQuery;
532
- },
533
- enumerable: false,
534
- configurable: true
535
- });
536
- DatatableColumnComponent.prototype.ngOnInit = function () { };
537
- DatatableColumnComponent.prototype.ngOnChanges = function (changes) {
538
- if (this._isFirstChange) {
539
- this._isFirstChange = false;
540
- }
541
- else {
542
- this._columnChangesService.onInputChange();
543
- }
544
- };
545
- DatatableColumnComponent.prototype.getCellDirective = function () {
546
- if (this.cellTplDirective) {
547
- return this.cellTplDirective;
548
- }
549
- return null;
550
- };
551
- return DatatableColumnComponent;
552
- }());
553
- DatatableColumnComponent.decorators = [
554
- { type: i0.Component, args: [{
555
- selector: 'seam-datatable-column',
556
- template: "<p>\n datatable-column works!\n</p>\n",
557
- styles: [""]
558
- },] }
559
- ];
560
- DatatableColumnComponent.ctorParameters = function () { return [
561
- { type: DatatableColumnChangesService }
562
- ]; };
563
- DatatableColumnComponent.propDecorators = {
564
- name: [{ type: i0.Input }],
565
- prop: [{ type: i0.Input }],
566
- flexGrow: [{ type: i0.Input }],
567
- minWidth: [{ type: i0.Input }],
568
- maxWidth: [{ type: i0.Input }],
569
- width: [{ type: i0.Input }],
570
- resizeable: [{ type: i0.Input }],
571
- sortable: [{ type: i0.Input }],
572
- draggable: [{ type: i0.Input }],
573
- canAutoResize: [{ type: i0.Input }],
574
- comparator: [{ type: i0.Input }],
575
- headerTemplate: [{ type: i0.Input }],
576
- checkboxable: [{ type: i0.Input }],
577
- headerCheckboxable: [{ type: i0.Input }],
578
- headerClass: [{ type: i0.Input }],
579
- cellClass: [{ type: i0.Input }],
580
- frozenLeft: [{ type: i0.Input }],
581
- frozenRight: [{ type: i0.Input }],
582
- pipe: [{ type: i0.Input }],
583
- isTreeColumn: [{ type: i0.Input }],
584
- treeLevelIndent: [{ type: i0.Input }],
585
- summaryFunc: [{ type: i0.Input }],
586
- summaryTemplate: [{ type: i0.Input }],
587
- hidden: [{ type: i0.Input }],
588
- cellTplDirective: [{ type: i0.ContentChild, args: [DatatableCellTplDirective, { static: true },] }],
589
- _cellTemplateInput: [{ type: i0.Input, args: ['cellTemplate',] }],
590
- _cellTemplateQuery: [{ type: i0.ContentChild, args: [DatatableCellTplDirective, { read: i0.TemplateRef, static: true },] }]
591
- };
592
-
593
- var DatatableFooterTplDirective = /** @class */ (function () {
594
- function DatatableFooterTplDirective(template) {
595
- this.template = template;
596
- }
597
- return DatatableFooterTplDirective;
598
- }());
599
- DatatableFooterTplDirective.decorators = [
600
- { type: i0.Directive, args: [{
601
- selector: '[seamDatatableFooterTpl]'
602
- },] }
603
- ];
604
- DatatableFooterTplDirective.ctorParameters = function () { return [
605
- { type: i0.TemplateRef }
606
- ]; };
607
-
608
- var TheSeamDatatableFooterDirective = /** @class */ (function () {
609
- function TheSeamDatatableFooterDirective() {
610
- }
611
- Object.defineProperty(TheSeamDatatableFooterDirective.prototype, "template", {
612
- get: function () {
613
- return this._templateInput || this._templateQuery;
614
- },
615
- enumerable: false,
616
- configurable: true
617
- });
618
- return TheSeamDatatableFooterDirective;
619
- }());
620
- TheSeamDatatableFooterDirective.decorators = [
621
- { type: i0.Directive, args: [{
622
- // tslint:disable-next-line: directive-selector
623
- selector: 'seam-datatable-footer'
624
- },] }
625
- ];
626
- TheSeamDatatableFooterDirective.propDecorators = {
627
- _templateInput: [{ type: i0.Input, args: ['template',] }],
628
- _templateQuery: [{ type: i0.ContentChild, args: [DatatableFooterTplDirective, { read: i0.TemplateRef, static: true },] }]
629
- };
630
-
631
- var DatatableFilterDirective = /** @class */ (function () {
632
- function DatatableFilterDirective(dataFilters) {
633
- if (dataFilters && dataFilters.length > 0) {
634
- this._filter = dataFilters[0];
635
- }
636
- }
637
- Object.defineProperty(DatatableFilterDirective.prototype, "filter", {
638
- get: function () {
639
- return this._filter;
640
- },
641
- enumerable: false,
642
- configurable: true
643
- });
644
- return DatatableFilterDirective;
645
- }());
646
- DatatableFilterDirective.decorators = [
647
- { type: i0.Directive, args: [{
648
- selector: '[seamDatatableFilter]'
649
- },] }
650
- ];
651
- DatatableFilterDirective.ctorParameters = function () { return [
652
- { type: Array, decorators: [{ type: i0.Self }, { type: i0.Inject, args: [dataFilters.THESEAM_DATA_FILTER,] }] }
653
- ]; };
654
-
655
- var _THESEAM_DATA_FILTER_CONTAINER = {
656
- provide: dataFilters.THESEAM_DATA_FILTER_CONTAINER,
657
- // tslint:disable-next-line:no-use-before-declare
658
- useExisting: i0.forwardRef(function () { return DatatableMenuBarComponent; })
659
- };
660
- var DatatableMenuBarComponent = /** @class */ (function () {
661
- function DatatableMenuBarComponent() {
662
- this._filtersArr = [];
663
- this.filtersChanged = new i0.EventEmitter();
664
- }
665
- Object.defineProperty(DatatableMenuBarComponent.prototype, "filterDirectives", {
666
- get: function () {
667
- return this._filterDirectives;
668
- },
669
- set: function (value) {
670
- this._filterDirectives = value;
671
- this.filtersChanged.emit(this.filters());
672
- },
673
- enumerable: false,
674
- configurable: true
675
- });
676
- DatatableMenuBarComponent.prototype.ngOnInit = function () { };
677
- DatatableMenuBarComponent.prototype.ngAfterViewInit = function () {
678
- // console.log('_filterDirectives', this._filterDirectives, this.filters())
679
- };
680
- DatatableMenuBarComponent.prototype.filters = function () {
681
- var fDirectives = this._filterDirectives
682
- ? this._filterDirectives.map(function (f) { return f.filter; }).filter(utils.notNullOrUndefined)
683
- : [];
684
- var fArr = this._filtersArr
685
- .filter(function (f) { return fDirectives.findIndex(function (fd) { return fd.uid === f.uid; }) === -1; });
686
- return __spreadArray(__spreadArray([], __read(fArr)), __read(fDirectives));
687
- };
688
- DatatableMenuBarComponent.prototype.addFilter = function (dataFilter) {
689
- this._filtersArr.push(dataFilter);
690
- this.filtersChanged.emit(this.filters());
691
- };
692
- DatatableMenuBarComponent.prototype.removeFilter = function (dataFilter) {
693
- this._filtersArr = this._filtersArr.filter(function (f) { return f !== dataFilter; });
694
- this.filtersChanged.emit(this.filters());
695
- };
696
- return DatatableMenuBarComponent;
697
- }());
698
- DatatableMenuBarComponent.decorators = [
699
- { type: i0.Component, args: [{
700
- selector: 'seam-datatable-menu-bar',
701
- template: "<div class=\"bg-light border rounded p-2\">\n <ng-content></ng-content>\n</div>\n",
702
- providers: [_THESEAM_DATA_FILTER_CONTAINER],
703
- styles: [":host{display:block}\n"]
704
- },] }
705
- ];
706
- DatatableMenuBarComponent.ctorParameters = function () { return []; };
707
- DatatableMenuBarComponent.propDecorators = {
708
- filterDirectives: [{ type: i0.ContentChildren, args: [DatatableFilterDirective,] }]
709
- };
710
-
711
- var DatatableRowDetailTplDirective = /** @class */ (function () {
712
- function DatatableRowDetailTplDirective(template) {
713
- this.template = template;
714
- }
715
- return DatatableRowDetailTplDirective;
716
- }());
717
- DatatableRowDetailTplDirective.decorators = [
718
- { type: i0.Directive, args: [{
719
- selector: '[seamDatatableRowDetailTpl]'
720
- },] }
721
- ];
722
- DatatableRowDetailTplDirective.ctorParameters = function () { return [
723
- { type: i0.TemplateRef }
724
- ]; };
725
-
726
- var TheSeamDatatableRowDetailDirective = /** @class */ (function () {
727
- function TheSeamDatatableRowDetailDirective() {
728
- /**
729
- * The detail row height is required especially
730
- * when virtual scroll is enabled.
731
- */
732
- this.rowHeight = 0;
733
- /**
734
- * Row detail row visbility was toggled.
735
- */
736
- // NOTE: This will trigger from the internal ngx-datatable toggle event.
737
- this.toggle = new i0.EventEmitter();
738
- /**
739
- * Internal use for wrapper only.
740
- *
741
- * To avoid confusion with this directives output and the ngx-datatable
742
- * directive being wrapped, this directive emits `_toggle` stream to the
743
- * `ngx-datatable-row-detail` directive and emits it's `toggle` stream out to
744
- * this directives `toggle` stream.
745
- * @ignore
746
- */
747
- this._toggle = new i0.EventEmitter();
748
- }
749
- Object.defineProperty(TheSeamDatatableRowDetailDirective.prototype, "template", {
750
- get: function () {
751
- return this._templateInput || this._templateQuery;
752
- },
753
- enumerable: false,
754
- configurable: true
755
- });
756
- /**
757
- * Toggle the expansion of the row
758
- */
759
- TheSeamDatatableRowDetailDirective.prototype.toggleExpandRow = function (row) {
760
- this._toggle.emit({
761
- type: 'row',
762
- value: row
763
- });
764
- };
765
- /**
766
- * API method to expand all the rows.
767
- */
768
- TheSeamDatatableRowDetailDirective.prototype.expandAllRows = function () {
769
- this._toggle.emit({
770
- type: 'all',
771
- value: true
772
- });
773
- };
774
- /**
775
- * API method to collapse all the rows.
776
- */
777
- TheSeamDatatableRowDetailDirective.prototype.collapseAllRows = function () {
778
- this._toggle.emit({
779
- type: 'all',
780
- value: false
781
- });
782
- };
783
- return TheSeamDatatableRowDetailDirective;
784
- }());
785
- TheSeamDatatableRowDetailDirective.decorators = [
786
- { type: i0.Directive, args: [{
787
- // tslint:disable-next-line: directive-selector
788
- selector: 'seam-datatable-row-detail'
789
- },] }
790
- ];
791
- TheSeamDatatableRowDetailDirective.propDecorators = {
792
- rowHeight: [{ type: i0.Input }],
793
- _templateInput: [{ type: i0.Input, args: ['template',] }],
794
- _templateQuery: [{ type: i0.ContentChild, args: [DatatableRowDetailTplDirective, { read: i0.TemplateRef, static: true },] }],
795
- toggle: [{ type: i0.Output }]
796
- };
797
-
798
- var DatatableRowActionItemDirective = /** @class */ (function () {
799
- function DatatableRowActionItemDirective(template) {
800
- this.template = template;
801
- }
802
- return DatatableRowActionItemDirective;
803
- }());
804
- DatatableRowActionItemDirective.decorators = [
805
- { type: i0.Directive, args: [{
806
- selector: '[seamDatatableRowActionItem]'
807
- },] }
808
- ];
809
- DatatableRowActionItemDirective.ctorParameters = function () { return [
810
- { type: i0.TemplateRef }
811
- ]; };
812
-
813
- var DatatableDataSource = /** @class */ (function (_super) {
814
- __extends(DatatableDataSource, _super);
815
- function DatatableDataSource() {
816
- var _this = _super.call(this) || this;
817
- _this._datatableSubject = new rxjs.BehaviorSubject(undefined);
818
- _this.sorts$ = _this._datatableSubject.pipe(operators.switchMap(function (_datatable) {
819
- if (!_datatable) {
820
- return rxjs.of([]);
821
- }
822
- return _datatable.sort.pipe(operators.map(function (v) { return v.sorts; }), operators.startWith(_datatable.sorts));
823
- }));
824
- _this.filterStates$ = _this._datatableSubject.pipe(operators.switchMap(function (_datatable) {
825
- if (!_datatable) {
826
- return rxjs.of([]);
827
- }
828
- return _datatable.filterStates;
829
- }));
830
- _this.page$ = _this._datatableSubject.pipe(operators.switchMap(function (_datatable) {
831
- if (!_datatable) {
832
- return rxjs.of({
833
- offset: 0,
834
- pageSize: 0,
835
- limit: undefined,
836
- count: 0
837
- });
838
- }
839
- return _datatable.page.pipe(operators.startWith(_datatable.pageInfo));
840
- }));
841
- return _this;
842
- }
843
- // connect(): Observable<readonly TRow[]> {
844
- // return this.
845
- // }
846
- // disconnect(): void {
847
- // throw new Error('Method not implemented.')
848
- // }
849
- DatatableDataSource.prototype.setDatatableAccessor = function (accessor) {
850
- this._datatableSubject.next(accessor);
851
- };
852
- return DatatableDataSource;
853
- }(collections.DataSource));
854
-
855
- var ACTION_MENU_COLUMN_PROP = '$$__actionMenu__';
856
- function createActionMenuColumn(cellTemplate, headerTemplate, frozenLeft, frozenRight) {
857
- return {
858
- prop: ACTION_MENU_COLUMN_PROP,
859
- name: '',
860
- width: 50,
861
- minWidth: 50,
862
- maxWidth: 50,
863
- resizeable: false,
864
- sortable: false,
865
- draggable: false,
866
- // TODO: Fix column auto sizing with fixed column and cell overlay before enabling.
867
- frozenLeft: frozenLeft,
868
- frozenRight: frozenRight,
869
- cellTemplate: cellTemplate,
870
- headerTemplate: headerTemplate,
871
- };
872
- }
873
-
874
- var CHECKBOX_COLUMN_PROP = '$$__checkbox__';
875
- function createCheckboxColumn() {
876
- return {
877
- prop: CHECKBOX_COLUMN_PROP,
878
- name: '',
879
- width: 40,
880
- sortable: false,
881
- canAutoResize: false,
882
- draggable: false,
883
- resizeable: false,
884
- headerCheckboxable: true,
885
- checkboxable: true,
886
- };
887
- }
888
-
889
- function getColumnProp(col) {
890
- if (!utils.notNullOrUndefined(col.prop) && col.name) {
891
- return ngxDatatable.camelCase(col.name);
892
- }
893
- return col.prop === null ? undefined : col.prop;
894
- }
895
-
896
- function setColumnDefaults(columns) {
897
- var e_1, _a;
898
- try {
899
- for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
900
- var column = columns_1_1.value;
901
- if (!column.hasOwnProperty('hidden')) {
902
- column.hidden = false;
903
- }
904
- }
905
- }
906
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
907
- finally {
908
- try {
909
- if (columns_1_1 && !columns_1_1.done && (_a = columns_1.return)) _a.call(columns_1);
910
- }
911
- finally { if (e_1) throw e_1.error; }
912
- }
913
- ngxDatatable.setColumnDefaults(columns);
914
- }
915
-
916
- // TODO: Replace with a `translateTemplates` function that fits the
917
- // wrapper component better.
918
- function translateTemplateColumns(v) {
919
- var e_1, _a;
920
- var cols = ngxDatatable.translateTemplates(v);
921
- try {
922
- for (var cols_1 = __values(cols), cols_1_1 = cols_1.next(); !cols_1_1.done; cols_1_1 = cols_1.next()) {
923
- var col = cols_1_1.value;
924
- col.prop = getColumnProp(col);
925
- }
926
- }
927
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
928
- finally {
929
- try {
930
- if (cols_1_1 && !cols_1_1.done && (_a = cols_1.return)) _a.call(cols_1);
931
- }
932
- finally { if (e_1) throw e_1.error; }
933
- }
934
- return cols;
935
- }
936
-
937
- var ColumnsTypes;
938
- (function (ColumnsTypes) {
939
- ColumnsTypes[ColumnsTypes["Input"] = 0] = "Input";
940
- ColumnsTypes[ColumnsTypes["Template"] = 1] = "Template";
941
- ColumnsTypes[ColumnsTypes["Result"] = 2] = "Result";
942
- })(ColumnsTypes || (ColumnsTypes = {}));
943
- var ColumnsManagerService = /** @class */ (function () {
944
- function ColumnsManagerService(_differs, _columnChangesService) {
945
- var _this = this;
946
- this._differs = _differs;
947
- this._columnChangesService = _columnChangesService;
948
- this._updateColumns = new rxjs.Subject();
949
- this._inputColumns = new rxjs.BehaviorSubject([]);
950
- this._templateColumns = new rxjs.BehaviorSubject([]);
951
- this._inpColDiffersMap = new Map();
952
- this._tplColDiffersMap = new Map();
953
- this._resultColDiffersMap = new Map();
954
- var templateColumns$ = this._columnChangesService.columnInputChanges$.pipe(operators.startWith(undefined), operators.switchMap(function () {
955
- return _this._templateColumns.asObservable().pipe(operators.map(translateTemplateColumns));
956
- }));
957
- this.columns$ = rxjs.defer(function () {
958
- var isFirst = true;
959
- return rxjs.combineLatest([
960
- _this._inputColumns.asObservable(),
961
- templateColumns$,
962
- _this._updateColumns.asObservable().pipe(operators.auditTime(0), operators.startWith(undefined))
963
- ]).pipe(operators.switchMap(function (_a) {
964
- var _b = __read(_a, 2), inputColumns = _b[0], templateColumns = _b[1];
965
- var cols = _this._mergeColumns(inputColumns, templateColumns);
966
- var hasColumnsChanged = _this._hasColumnsChanged(cols);
967
- // TODO: Look for columns added/removed and remove the removed columns
968
- // differs, not just changes to columns.
969
- var hasAddedOrRemovedColumns = _this._hasAddedOrRemovedColumns(cols);
970
- // NOTE: Both checks need to be run, even though only one needs to be
971
- // true, because their differs need to be called.
972
- if (hasColumnsChanged || hasAddedOrRemovedColumns || isFirst) {
973
- isFirst = false;
974
- return rxjs.of(cols);
975
- }
976
- return rxjs.EMPTY;
977
- }));
978
- }).pipe(operators.shareReplay({ refCount: true, bufferSize: 1 }));
979
- }
980
- ColumnsManagerService.prototype.setInputColumns = function (columns) {
981
- this._inputColumns.next(columns);
982
- };
983
- ColumnsManagerService.prototype.setTemplateColumns = function (columns) {
984
- this._templateColumns.next(columns);
985
- };
986
- ColumnsManagerService.prototype.setInternalColumnsGetter = function (getter) {
987
- this._internalColumnsGetter = getter || undefined;
988
- this._updateColumns.next(undefined);
989
- };
990
- ColumnsManagerService.prototype.setSelectionType = function (selectionType) {
991
- var changed = this._selectionType !== selectionType;
992
- this._selectionType = selectionType;
993
- if (changed) {
994
- this._updateColumns.next(undefined);
995
- }
996
- };
997
- ColumnsManagerService.prototype.getSelectionType = function () {
998
- return this._selectionType;
999
- };
1000
- ColumnsManagerService.prototype.setRowActionItem = function (rowActionItem) {
1001
- var changed = this._rowActionItem !== rowActionItem;
1002
- this._rowActionItem = rowActionItem;
1003
- if (changed) {
1004
- this._updateColumns.next(undefined);
1005
- }
1006
- };
1007
- ColumnsManagerService.prototype.setActionItemColumnPosition = function (actionItemColumnPosition) {
1008
- var changed = this._actionItemColumnPosition !== actionItemColumnPosition;
1009
- this._actionItemColumnPosition = actionItemColumnPosition;
1010
- if (changed) {
1011
- this._updateColumns.next(undefined);
1012
- }
1013
- };
1014
- ColumnsManagerService.prototype.setActionMenuCellTpl = function (actionMenuCellTpl) {
1015
- var changed = this._actionMenuCellTpl !== actionMenuCellTpl;
1016
- this._actionMenuCellTpl = actionMenuCellTpl;
1017
- if (changed) {
1018
- this._updateColumns.next(undefined);
1019
- }
1020
- };
1021
- ColumnsManagerService.prototype.setBlankHeaderTpl = function (blankHeaderTpl) {
1022
- var changed = this._blankHeaderTpl !== blankHeaderTpl;
1023
- this._blankHeaderTpl = blankHeaderTpl;
1024
- if (changed) {
1025
- this._updateColumns.next(undefined);
1026
- }
1027
- };
1028
- ColumnsManagerService.prototype.setTreeToggleTpl = function (treeToggleTpl) {
1029
- var changed = this._treeToggleTpl !== treeToggleTpl;
1030
- this._treeToggleTpl = treeToggleTpl;
1031
- if (changed) {
1032
- this._updateColumns.next(undefined);
1033
- }
1034
- };
1035
- ColumnsManagerService.prototype.setHeaderTpl = function (headerTpl) {
1036
- var changed = this._headerTpl !== headerTpl;
1037
- this._headerTpl = headerTpl;
1038
- if (changed) {
1039
- this._updateColumns.next(undefined);
1040
- }
1041
- };
1042
- ColumnsManagerService.prototype.setCellTypeSelectorTpl = function (cellTypeSelectorTpl) {
1043
- var changed = this._cellTypeSelectorTpl !== cellTypeSelectorTpl;
1044
- this._cellTypeSelectorTpl = cellTypeSelectorTpl;
1045
- if (changed) {
1046
- this._updateColumns.next(undefined);
1047
- }
1048
- };
1049
- ColumnsManagerService.prototype._mergeColumns = function (inputColumns, templateColumns) {
1050
- var e_1, _a;
1051
- var cols = [];
1052
- // Add the first column checkbox if 'checkbox' selection is enabled.
1053
- if (this._shouldAddCheckboxColumn()) {
1054
- cols.push(createCheckboxColumn());
1055
- }
1056
- try {
1057
- // Column needs to be provided in the inputColumns, so iterate the
1058
- // inputColumns.
1059
- for (var inputColumns_1 = __values(inputColumns), inputColumns_1_1 = inputColumns_1.next(); !inputColumns_1_1.done; inputColumns_1_1 = inputColumns_1.next()) {
1060
- var inpCol = inputColumns_1_1.value;
1061
- var prop = getColumnProp(inpCol);
1062
- if (!utils.notNullOrUndefined(prop)) {
1063
- throw Error("Column may have 'prop' or 'name' defined.");
1064
- }
1065
- var internalCol = this._getInternalColumn(prop);
1066
- var inpColDif = this._getColDif(inpCol, ColumnsTypes.Input);
1067
- if (utils.notNullOrUndefined(inpColDif)) {
1068
- this._updateColDif(inpColDif, internalCol, inpCol);
1069
- }
1070
- var tplCol = this._findColumnByProp(prop, templateColumns);
1071
- if (tplCol !== undefined) {
1072
- var tplColDif = this._getColDif(tplCol, ColumnsTypes.Template);
1073
- if (utils.notNullOrUndefined(tplColDif)) {
1074
- this._updateColDif(tplColDif, internalCol, tplCol);
1075
- }
1076
- }
1077
- var _col = Object.assign(Object.assign(Object.assign({}, (internalCol || {})), inpCol), (tplCol || {}));
1078
- if (this._shouldAddTreeToggleColumn(_col)) {
1079
- _col.treeToggleTemplate = this._treeToggleTpl;
1080
- }
1081
- if (this._shouldAddHeaderTemplate(_col)) {
1082
- _col.headerTemplate = this._headerTpl;
1083
- }
1084
- if (this._shouldAddCellTypeSelectorTpl(_col)) {
1085
- _col.cellTemplate = this._cellTypeSelectorTpl;
1086
- }
1087
- cols.push(_col);
1088
- }
1089
- }
1090
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1091
- finally {
1092
- try {
1093
- if (inputColumns_1_1 && !inputColumns_1_1.done && (_a = inputColumns_1.return)) _a.call(inputColumns_1);
1094
- }
1095
- finally { if (e_1) throw e_1.error; }
1096
- }
1097
- if (this._shouldAddRowActionColumn()) {
1098
- cols.push(createActionMenuColumn(this._actionMenuCellTpl, this._blankHeaderTpl, this._rowActionColumnIsFrozenLeft(), this._rowActionColumnIsFrozenRight()));
1099
- }
1100
- // Make sure the default for any missing props are set.
1101
- // TODO: Determine if this should be done earlier, because I don't like
1102
- // how this is done after dif checks.
1103
- setColumnDefaults(cols);
1104
- return cols;
1105
- };
1106
- ColumnsManagerService.prototype._getInternalColumns = function () {
1107
- if (this._internalColumnsGetter === undefined) {
1108
- return undefined;
1109
- }
1110
- return this._internalColumnsGetter();
1111
- };
1112
- ColumnsManagerService.prototype._getInternalColumn = function (prop) {
1113
- var internalCols = this._getInternalColumns();
1114
- if (internalCols === undefined) {
1115
- return undefined;
1116
- }
1117
- return internalCols.find(function (c) { return getColumnProp(c) === prop; });
1118
- };
1119
- ColumnsManagerService.prototype._findColumnByProp = function (prop, columns) {
1120
- return columns.find(function (c) { return getColumnProp(c) === prop; });
1121
- };
1122
- ColumnsManagerService.prototype._getDifMapForColumnsType = function (columnsType) {
1123
- switch (columnsType) {
1124
- case ColumnsTypes.Input: return this._inpColDiffersMap;
1125
- case ColumnsTypes.Template: return this._tplColDiffersMap;
1126
- case ColumnsTypes.Result: return this._resultColDiffersMap;
1127
- }
1128
- };
1129
- ColumnsManagerService.prototype._getColumnDiffer = function (prop, colsType) {
1130
- var difMap = this._getDifMapForColumnsType(colsType);
1131
- if (difMap === null) {
1132
- throw Error("Invalid columns type.");
1133
- }
1134
- if (!difMap.has(prop)) {
1135
- difMap.set(prop, this._differs.find({}).create());
1136
- }
1137
- var differ = difMap.get(prop);
1138
- if (differ === undefined) {
1139
- throw Error("Differ not found. New differ should have been created.");
1140
- }
1141
- return differ;
1142
- };
1143
- ColumnsManagerService.prototype._getColDif = function (col, colsType) {
1144
- var prop = getColumnProp(col);
1145
- if (prop === undefined) {
1146
- throw Error("Column prop not found.");
1147
- }
1148
- return this._getColumnDiffer(prop, colsType).diff(col);
1149
- };
1150
- ColumnsManagerService.prototype._updateColDif = function (colDif, internalColumn, col) {
1151
- colDif.forEachRemovedItem(function (r) {
1152
- if (internalColumn && internalColumn.hasOwnProperty(r.key)) {
1153
- var k = r.key;
1154
- delete internalColumn[k];
1155
- }
1156
- });
1157
- colDif.forEachAddedItem(function (r) { return col[r.key] = r.currentValue; });
1158
- colDif.forEachChangedItem(function (r) { return col[r.key] = r.currentValue; });
1159
- };
1160
- ColumnsManagerService.prototype._hasAddedOrRemovedColumns = function (columns) {
1161
- if (!this._colPropsDiffer) {
1162
- this._colPropsDiffer = this._differs.find([]).create();
1163
- }
1164
- var props = columns.map(function (c) { return getColumnProp(c); });
1165
- return this._colPropsDiffer.diff(props) !== null;
1166
- };
1167
- ColumnsManagerService.prototype._hasColumnsChanged = function (columns) {
1168
- var e_2, _a;
1169
- var colChanged = false;
1170
- try {
1171
- for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
1172
- var col = columns_1_1.value;
1173
- var resultDif = this._getColDif(col, ColumnsTypes.Result);
1174
- if (resultDif) {
1175
- // NOTE: Can't return early, because the differs need to be updated.
1176
- colChanged = true;
1177
- }
1178
- }
1179
- }
1180
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
1181
- finally {
1182
- try {
1183
- if (columns_1_1 && !columns_1_1.done && (_a = columns_1.return)) _a.call(columns_1);
1184
- }
1185
- finally { if (e_2) throw e_2.error; }
1186
- }
1187
- return colChanged;
1188
- };
1189
- ColumnsManagerService.prototype._shouldAddCheckboxColumn = function () {
1190
- return this._selectionType === ngxDatatable.SelectionType.checkbox;
1191
- };
1192
- ColumnsManagerService.prototype._shouldAddRowActionColumn = function () {
1193
- return this._rowActionItem !== undefined;
1194
- };
1195
- ColumnsManagerService.prototype._rowActionColumnIsFrozenLeft = function () {
1196
- return this._actionItemColumnPosition === 'frozenLeft';
1197
- };
1198
- ColumnsManagerService.prototype._rowActionColumnIsFrozenRight = function () {
1199
- return this._actionItemColumnPosition === 'frozenRight';
1200
- };
1201
- ColumnsManagerService.prototype._shouldAddTreeToggleColumn = function (column) {
1202
- return column.isTreeColumn !== undefined && column.isTreeColumn &&
1203
- (!utils.hasProperty(column, 'treeToggleTemplate') || !utils.notNullOrUndefined(column.treeToggleTemplate));
1204
- };
1205
- ColumnsManagerService.prototype._shouldAddHeaderTemplate = function (column) {
1206
- return !utils.hasProperty(column, 'headerTemplate');
1207
- };
1208
- ColumnsManagerService.prototype._shouldAddCellTypeSelectorTpl = function (column) {
1209
- return utils.hasProperty(column, 'cellType');
1210
- };
1211
- return ColumnsManagerService;
1212
- }());
1213
- ColumnsManagerService.decorators = [
1214
- { type: i0.Injectable }
1215
- ];
1216
- ColumnsManagerService.ctorParameters = function () { return [
1217
- { type: i0.KeyValueDiffers },
1218
- { type: DatatableColumnChangesService }
1219
- ]; };
1220
-
1221
- var CURRENT_DATATABLE_PREFERENCES_VERSION = 2;
1222
- var EMPTY_DATATABLE_PREFERENCES = {
1223
- version: 2,
1224
- alterations: []
1225
- };
1226
-
1227
- var THESEAM_DATATABLE_PREFERENCES_ACCESSOR = new i0.InjectionToken('TheSeamDatatablePreferencesAccessor');
1228
-
1229
- // TODO: Add per key status
1230
- var DatatablePreferencesService = /** @class */ (function () {
1231
- function DatatablePreferencesService(_prefsAccessor) {
1232
- this._prefsAccessor = _prefsAccessor;
1233
- this._tablePrefsMap = new Map();
1234
- this._pending = false;
1235
- this._loaded = false;
1236
- }
1237
- Object.defineProperty(DatatablePreferencesService.prototype, "pending", {
1238
- get: function () { return this._pending; },
1239
- enumerable: false,
1240
- configurable: true
1241
- });
1242
- Object.defineProperty(DatatablePreferencesService.prototype, "loaded", {
1243
- get: function () { return this._loaded; },
1244
- enumerable: false,
1245
- configurable: true
1246
- });
1247
- DatatablePreferencesService.prototype.preferences = function (preferenceKey) {
1248
- var prefs = this._tablePrefsMap.get(preferenceKey);
1249
- if (!prefs) {
1250
- var refreshSubject = new rxjs.Subject();
1251
- prefs = {
1252
- observable: this._createObservable(refreshSubject, preferenceKey),
1253
- refresh: refreshSubject
1254
- };
1255
- this._tablePrefsMap.set(preferenceKey, prefs);
1256
- }
1257
- return prefs.observable;
1258
- };
1259
- DatatablePreferencesService.prototype._createObservable = function (refreshSubject, prefKey) {
1260
- var _this = this;
1261
- if (!this._prefsAccessor) {
1262
- return rxjs.of(EMPTY_DATATABLE_PREFERENCES);
1263
- }
1264
- var accessor = function (key) { return _this._prefsAccessor ? _this._prefsAccessor.get(key) : rxjs.of(JSON.stringify(EMPTY_DATATABLE_PREFERENCES)); };
1265
- return refreshSubject.pipe(operators.startWith(undefined), operators.switchMap(function () { return accessor(prefKey).pipe(operators.map(function (v) {
1266
- if (!v) {
1267
- return null;
1268
- }
1269
- // TODO: Add a schema validator and migration tool to avoid parsing issues.
1270
- try {
1271
- // return JSON.parse(v) as TheSeamDatatablePreferences
1272
- return _this._descerializePreferences(v);
1273
- }
1274
- catch (error) {
1275
- if (i0.isDevMode()) {
1276
- console.error(error);
1277
- }
1278
- return null;
1279
- }
1280
- }), operators.map(function (v) { return utils.notNullOrUndefined(v) ? v : EMPTY_DATATABLE_PREFERENCES; }),
1281
- // tap(v => console.log('preferences$', v)),
1282
- operators.tap(function () {
1283
- _this._pending = false;
1284
- _this._loaded = true;
1285
- })); }), operators.shareReplay({ bufferSize: 1, refCount: true }));
1286
- };
1287
- DatatablePreferencesService.prototype.refresh = function (preferenceKey) {
1288
- var prefs = this._tablePrefsMap.get(preferenceKey);
1289
- if (prefs) {
1290
- this._pending = true;
1291
- prefs.refresh.next();
1292
- }
1293
- };
1294
- // TODO: Improve this updating to be more generic, so we can quickly add
1295
- // edits for different preference schema's.
1296
- //
1297
- // TODO: Decide if a send queue/merging of pending queue is needed to avoid
1298
- // out of order updates. This shouldn't be an issue, with how fast preferences
1299
- // will most likely be changing, but it could happen in situations, such as
1300
- // network issues.
1301
- // public setColumnPreference(preferenceKey: string, column: TheSeamDatatablePreferencesColumn): void {
1302
- // if (!this._prefsAccessor) {
1303
- // return
1304
- // }
1305
- // this._pending = true
1306
- // this.preferences(preferenceKey).pipe(
1307
- // map(prefs => {
1308
- // // Making the preferences immutable may not be necessary, but for now
1309
- // // this obj->str->obj will work as a naive clone.
1310
- // const columns = JSON.parse(JSON.stringify(prefs.columns || []))
1311
- // const _colPref = columns.find((c: any) => c.prop === column.prop)
1312
- // // console.log('has', _colPref)
1313
- // if (_colPref) {
1314
- // // console.log('hasProperty(column, "width"))', hasProperty(column, 'width'))
1315
- // if (hasProperty(column, 'width')) { _colPref.width = column.width }
1316
- // if (hasProperty(column, 'canAutoResize')) { _colPref.canAutoResize = column.canAutoResize }
1317
- // if (hasProperty(column, 'hidden')) { _colPref.hidden = column.hidden }
1318
- // } else {
1319
- // columns.push({ ...column })
1320
- // }
1321
- // const newPrefs: TheSeamDatatablePreferences = { ...prefs, columns }
1322
- // return newPrefs
1323
- // }),
1324
- // // tap(v => console.log('newPrefs', v)),
1325
- // take(1),
1326
- // switchMap(newPrefs => this._prefsAccessor
1327
- // ? this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
1328
- // : of(newPrefs)
1329
- // ),
1330
- // tap(() => this.refresh(preferenceKey))
1331
- // )
1332
- // .subscribe()
1333
- // }
1334
- DatatablePreferencesService.prototype.setAlterations = function (preferenceKey, alterations) {
1335
- var _this = this;
1336
- if (!this._prefsAccessor) {
1337
- return;
1338
- }
1339
- this._pending = true;
1340
- this.preferences(preferenceKey).pipe(operators.map(function (prefs) {
1341
- // Making the preferences immutable may not be necessary, but for now
1342
- // this obj->str->obj will work as a naive clone.
1343
- // const columns = JSON.parse(JSON.stringify(prefs.columns || []))
1344
- // const _colPref = columns.find((c: any) => c.prop === column.prop)
1345
- // // console.log('has', _colPref)
1346
- // if (_colPref) {
1347
- // // console.log('hasProperty(column, "width"))', hasProperty(column, 'width'))
1348
- // if (hasProperty(column, 'width')) { _colPref.width = column.width }
1349
- // if (hasProperty(column, 'canAutoResize')) { _colPref.canAutoResize = column.canAutoResize }
1350
- // if (hasProperty(column, 'hidden')) { _colPref.hidden = column.hidden }
1351
- // } else {
1352
- // columns.push({ ...column })
1353
- // }
1354
- // const newPrefs: TheSeamDatatablePreferences = { ...prefs, columns }
1355
- // return newPrefs
1356
- var newPrefs = Object.assign(Object.assign({}, EMPTY_DATATABLE_PREFERENCES), { alterations: alterations });
1357
- return newPrefs;
1358
- }),
1359
- // tap(v => console.log('newPrefs', v)),
1360
- operators.take(1), operators.switchMap(function (newPrefs) { return _this._prefsAccessor
1361
- ? _this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
1362
- : rxjs.of(newPrefs); }), operators.tap(function () { return _this.refresh(preferenceKey); }))
1363
- .subscribe();
1364
- };
1365
- // public withColumnPreferences<T>(preferenceKey: string, columns: T[]): Observable<T[]> {
1366
- // return this.preferences(preferenceKey).pipe(
1367
- // startWith(EMPTY_DATATABLE_PREFERENCES),
1368
- // map(preferences => preferences && preferences.columns
1369
- // ? withStoredColumnInfo(columns, preferences.columns) as T[]
1370
- // : columns
1371
- // )
1372
- // )
1373
- // }
1374
- DatatablePreferencesService.prototype._descerializePreferences = function (serialized) {
1375
- var prefs = JSON.parse(serialized);
1376
- // TODO: Implement migration
1377
- return prefs;
1378
- };
1379
- return DatatablePreferencesService;
1380
- }());
1381
- DatatablePreferencesService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DatatablePreferencesService_Factory() { return new DatatablePreferencesService(i0__namespace.ɵɵinject(THESEAM_DATATABLE_PREFERENCES_ACCESSOR, 8)); }, token: DatatablePreferencesService, providedIn: "root" });
1382
- DatatablePreferencesService.decorators = [
1383
- { type: i0.Injectable, args: [{
1384
- providedIn: 'root'
1385
- },] }
1386
- ];
1387
- DatatablePreferencesService.ctorParameters = function () { return [
1388
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_DATATABLE_PREFERENCES_ACCESSOR,] }] }
1389
- ]; };
1390
-
1391
- var THESEAM_DATATABLE_ACCESSOR = new i0.InjectionToken('TheSeamDatatableAccessor');
1392
-
1393
- function removeUnusedDiffs(cols, colDiffersInp, colDiffersTpl) {
1394
- var inpKeys = Object.keys(colDiffersInp);
1395
- inpKeys.filter(function (k) { return cols.findIndex(function (c) { return c.prop === k; }) === -1; })
1396
- .forEach(function (k) { delete colDiffersInp[k]; });
1397
- var tplKeys = Object.keys(colDiffersTpl);
1398
- tplKeys.filter(function (k) { return cols.findIndex(function (c) { return c.prop === k; }) === -1; })
1399
- .forEach(function (k) { delete colDiffersTpl[k]; });
1400
- }
1401
-
1402
- /**
1403
- * Alteration applied to a column or columns that can be persisted.
1404
- *
1405
- * Tracking if a column was altered by user or library code can be confusing.
1406
- * This allows us to store a list of replayable alterations on columns. By
1407
- * having a defined way to implement alterations, the datatable should be easier
1408
- * to support external features that want to provide an alteration.
1409
- *
1410
- * NOTE: Current, to unapply an alteration you can create an alteration with
1411
- * `persistent` set to false and the alteration will be removed after `apply()`
1412
- * is called.
1413
- */
1414
- var ColumnsAlteration = /** @class */ (function () {
1415
- function ColumnsAlteration(
1416
- /**
1417
- * Persistable state.
1418
- *
1419
- * Returned value should be JSON stringifyable.
1420
- */
1421
- state,
1422
- /**
1423
- * If false, the state will not be persisted to a persistent storage and
1424
- * will be removed after applied.
1425
- */
1426
- persistent) {
1427
- this.state = state;
1428
- this.persistent = persistent;
1429
- this.state = state;
1430
- }
1431
- ColumnsAlteration.prototype.toJSON = function () {
1432
- return {
1433
- id: this.id,
1434
- type: this.type,
1435
- state: this.state
1436
- };
1437
- };
1438
- return ColumnsAlteration;
1439
- }());
1440
-
1441
- var HideColumnColumnsAlteration = /** @class */ (function (_super) {
1442
- __extends(HideColumnColumnsAlteration, _super);
1443
- function HideColumnColumnsAlteration(state, persistent) {
1444
- var _this = _super.call(this, state, persistent) || this;
1445
- _this.type = 'hide-column';
1446
- if (!_this._isValidState(state)) {
1447
- throw Error("Invalid state: " + JSON.stringify(state));
1448
- }
1449
- _this.id = _this.type + "--" + state.columnProp;
1450
- return _this;
1451
- }
1452
- HideColumnColumnsAlteration.prototype.apply = function (columns, datatable) {
1453
- var e_1, _a;
1454
- try {
1455
- for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
1456
- var col = columns_1_1.value;
1457
- var prop = getColumnProp(col);
1458
- if (prop === this.state.columnProp) {
1459
- col.hidden = this.state.hidden;
1460
- }
1461
- }
1462
- }
1463
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1464
- finally {
1465
- try {
1466
- if (columns_1_1 && !columns_1_1.done && (_a = columns_1.return)) _a.call(columns_1);
1467
- }
1468
- finally { if (e_1) throw e_1.error; }
1469
- }
1470
- };
1471
- HideColumnColumnsAlteration.prototype._isValidState = function (state) {
1472
- // NOTE: Checking null or undefined, even though the type doesn't allow,
1473
- // because the state may have been loaded from an invalid persistant
1474
- // storage.
1475
- // TODO: Remove when state validation/migration is implemented to happen
1476
- // when retrieved from storage.
1477
- if (!utils.notNullOrUndefined(state.columnProp)) {
1478
- return false;
1479
- }
1480
- // TODO: Remove when state validation/migration is implemented to happen
1481
- // when retrieved from storage.
1482
- if (!utils.notNullOrUndefined(state.hidden)) {
1483
- return false;
1484
- }
1485
- return true;
1486
- };
1487
- return HideColumnColumnsAlteration;
1488
- }(ColumnsAlteration));
1489
-
1490
- var SortColumnsAlteration = /** @class */ (function (_super) {
1491
- __extends(SortColumnsAlteration, _super);
1492
- function SortColumnsAlteration(state, persistent) {
1493
- var _this = _super.call(this, state, persistent) || this;
1494
- _this.type = 'sort';
1495
- if (!_this._isValidState(state)) {
1496
- throw Error("Invalid state: " + JSON.stringify(state));
1497
- }
1498
- _this.id = "" + _this.type;
1499
- return _this;
1500
- }
1501
- SortColumnsAlteration.prototype.apply = function (columns, datatable) {
1502
- if (datatable.sortType === ngxDatatable.SortType.single) {
1503
- datatable.sorts = this.state.sorts.length > 0 ? [this.state.sorts[0]] : [];
1504
- }
1505
- else {
1506
- datatable.sorts = this.state.sorts;
1507
- }
1508
- };
1509
- SortColumnsAlteration.prototype._isValidState = function (state) {
1510
- // NOTE: Checking null or undefined, even though the type doesn't allow,
1511
- // because the state may have been loaded from an invalid persistant
1512
- // storage.
1513
- // TODO: Remove when state validation/migration is implemented to happen
1514
- // when retrieved from storage.
1515
- if (!utils.notNullOrUndefined(state.sorts)) {
1516
- return false;
1517
- }
1518
- return true;
1519
- };
1520
- return SortColumnsAlteration;
1521
- }(ColumnsAlteration));
1522
-
1523
- var WidthColumnsAlteration = /** @class */ (function (_super) {
1524
- __extends(WidthColumnsAlteration, _super);
1525
- function WidthColumnsAlteration(state, persistent) {
1526
- var _this = _super.call(this, state, persistent) || this;
1527
- _this.type = 'width';
1528
- if (!_this._isValidState(state)) {
1529
- throw Error("Invalid state: " + JSON.stringify(state));
1530
- }
1531
- _this.id = _this.type + "--" + state.columnProp;
1532
- return _this;
1533
- }
1534
- WidthColumnsAlteration.prototype.apply = function (columns, datatable) {
1535
- var e_1, _a;
1536
- try {
1537
- for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
1538
- var col = columns_1_1.value;
1539
- var prop = getColumnProp(col);
1540
- if (prop === this.state.columnProp) {
1541
- col.canAutoResize = this.state.canAutoResize;
1542
- if (utils.notNullOrUndefined(this.state.width)) {
1543
- col.width = this.state.width;
1544
- }
1545
- }
1546
- }
1547
- }
1548
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1549
- finally {
1550
- try {
1551
- if (columns_1_1 && !columns_1_1.done && (_a = columns_1.return)) _a.call(columns_1);
1552
- }
1553
- finally { if (e_1) throw e_1.error; }
1554
- }
1555
- };
1556
- WidthColumnsAlteration.prototype._isValidState = function (state) {
1557
- // NOTE: Checking null or undefined, even though the type doesn't allow,
1558
- // because the state may have been loaded from an invalid persistant
1559
- // storage.
1560
- // TODO: Remove when state validation/migration is implemented to happen
1561
- // when retrieved from storage.
1562
- if (!utils.notNullOrUndefined(state.columnProp)) {
1563
- return false;
1564
- }
1565
- // TODO: Remove when state validation/migration is implemented to happen
1566
- // when retrieved from storage.
1567
- if (!utils.notNullOrUndefined(state.canAutoResize)) {
1568
- return false;
1569
- }
1570
- return true;
1571
- };
1572
- return WidthColumnsAlteration;
1573
- }(ColumnsAlteration));
1574
-
1575
- var ColumnsAlterationsManagerService = /** @class */ (function () {
1576
- function ColumnsAlterationsManagerService() {
1577
- this._changesSubject = new rxjs.Subject();
1578
- this._alterations = [];
1579
- this.changes = this._changesSubject.asObservable();
1580
- }
1581
- ColumnsAlterationsManagerService.prototype.get = function () {
1582
- return __spreadArray([], __read(this._alterations));
1583
- };
1584
- /**
1585
- * Adds alterations to be applied to columns.
1586
- *
1587
- * If an alteration with the same `id` already exists then the existing
1588
- * alteration will be removed and the new one added.
1589
- *
1590
- * NOTE: When there is a duplicate alteration the old alteration is removed,
1591
- * instead of updated, to maintain the order alterations are applied.
1592
- */
1593
- ColumnsAlterationsManagerService.prototype.add = function (alterations, options) {
1594
- // console.log('add', alterations)
1595
- var removed = this.remove(alterations, { emitEvent: false });
1596
- this._alterations = __spreadArray(__spreadArray([], __read(this._alterations)), __read(alterations));
1597
- var changes = __spreadArray(__spreadArray([], __read(removed)), __read(alterations.map(function (a) {
1598
- var record = {
1599
- type: 'added',
1600
- alteration: a
1601
- };
1602
- return record;
1603
- })));
1604
- if (utils.notNullOrUndefined(options === null || options === void 0 ? void 0 : options.emitEvent) && !(options === null || options === void 0 ? void 0 : options.emitEvent)) {
1605
- return changes;
1606
- }
1607
- this._emitChanges(changes);
1608
- return changes;
1609
- };
1610
- ColumnsAlterationsManagerService.prototype.remove = function (alterations, options) {
1611
- // console.log('remove', alterations)
1612
- var removed = [];
1613
- this._alterations = this._alterations.filter(function (x) {
1614
- var found = alterations.findIndex(function (y) { return y.id === x.id; }) !== -1;
1615
- if (found) {
1616
- var eventRecord = {
1617
- type: 'removed',
1618
- alteration: x
1619
- };
1620
- removed.push(eventRecord);
1621
- }
1622
- return !found;
1623
- });
1624
- // console.log('removed', removed, this._alterations)
1625
- if (utils.notNullOrUndefined(options === null || options === void 0 ? void 0 : options.emitEvent) && !(options === null || options === void 0 ? void 0 : options.emitEvent)) {
1626
- return removed;
1627
- }
1628
- this._emitChanges(removed);
1629
- return removed;
1630
- };
1631
- ColumnsAlterationsManagerService.prototype.apply = function (columns, datatable) {
1632
- var e_1, _a;
1633
- try {
1634
- for (var _b = __values(this._alterations), _c = _b.next(); !_c.done; _c = _b.next()) {
1635
- var a = _c.value;
1636
- a.apply(columns, datatable);
1637
- }
1638
- }
1639
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1640
- finally {
1641
- try {
1642
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1643
- }
1644
- finally { if (e_1) throw e_1.error; }
1645
- }
1646
- this._removeNonPersistant();
1647
- };
1648
- // TODO: Make aware of original column order and properties. This is tricky,
1649
- // because the datatable does not deal with immutable column/row records and
1650
- // it is hard to know where changes happened. Just serializing the columns
1651
- // input is not enough, because the columns input is called anytime the user
1652
- // makes a column change. We can probably come up with a mostly accurate
1653
- // implementation, such as "reset original columns cache when preferencesKey
1654
- // changes" or "number of columns change". There are issues with those rules,
1655
- // but with some testing/experimenting I think there should be a "good enough"
1656
- // solution.
1657
- //
1658
- // TODO: Find a generic way to clear alterations. I would like to add an
1659
- // `unapply` method to `ColumnsAlteration`, but since the alterations
1660
- // themselves are not too generic it may be tricky.
1661
- ColumnsAlterationsManagerService.prototype.clear = function (options) {
1662
- var e_2, _a;
1663
- var changes = [];
1664
- try {
1665
- for (var _b = __values(this._alterations), _c = _b.next(); !_c.done; _c = _b.next()) {
1666
- var colAlt = _c.value;
1667
- switch (colAlt.type) {
1668
- case 'hide-column': {
1669
- var alteration = new HideColumnColumnsAlteration({ columnProp: colAlt.state.columnProp, hidden: false }, false);
1670
- changes.push.apply(changes, __spreadArray([], __read(this.add([alteration]))));
1671
- break;
1672
- }
1673
- case 'order': {
1674
- changes.push.apply(changes, __spreadArray([], __read(this.remove([colAlt]))));
1675
- break;
1676
- }
1677
- case 'sort': {
1678
- var alteration = new SortColumnsAlteration({ sorts: [] }, false);
1679
- changes.push.apply(changes, __spreadArray([], __read(this.add([alteration]))));
1680
- break;
1681
- }
1682
- case 'width': {
1683
- var alteration = new WidthColumnsAlteration({ columnProp: colAlt.state.columnProp, canAutoResize: true }, false);
1684
- changes.push.apply(changes, __spreadArray([], __read(this.add([alteration]))));
1685
- break;
1686
- }
1687
- }
1688
- }
1689
- }
1690
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
1691
- finally {
1692
- try {
1693
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1694
- }
1695
- finally { if (e_2) throw e_2.error; }
1696
- }
1697
- if (utils.notNullOrUndefined(options === null || options === void 0 ? void 0 : options.emitEvent) && !(options === null || options === void 0 ? void 0 : options.emitEvent)) {
1698
- return changes;
1699
- }
1700
- this._emitChanges(changes);
1701
- return changes;
1702
- };
1703
- ColumnsAlterationsManagerService.prototype._removeNonPersistant = function () {
1704
- var nonPersistent = this._alterations.filter(function (x) { return !x.persistent; });
1705
- this.remove(nonPersistent, { emitEvent: false });
1706
- };
1707
- ColumnsAlterationsManagerService.prototype._emitChanges = function (changes) {
1708
- if (changes.length === 0) {
1709
- return;
1710
- }
1711
- var event = {
1712
- changes: changes
1713
- };
1714
- this._changesSubject.next(event);
1715
- };
1716
- return ColumnsAlterationsManagerService;
1717
- }());
1718
- ColumnsAlterationsManagerService.decorators = [
1719
- { type: i0.Injectable }
1720
- ];
1721
- ColumnsAlterationsManagerService.ctorParameters = function () { return []; };
1722
-
1723
- /**
1724
- * Strings used for columns created and managed
1725
- * by the datatable.
1726
- */
1727
- var INTERNAL_COLUMN_PROPS = [
1728
- ACTION_MENU_COLUMN_PROP,
1729
- CHECKBOX_COLUMN_PROP
1730
- ];
1731
- function isInternalColumn(column) {
1732
- return INTERNAL_COLUMN_PROPS.findIndex(function (p) { return getColumnProp(column) === p; }) !== -1;
1733
- }
1734
-
1735
- var OrderColumnsAlteration = /** @class */ (function (_super) {
1736
- __extends(OrderColumnsAlteration, _super);
1737
- function OrderColumnsAlteration(state, persistent) {
1738
- var _this = _super.call(this, state, persistent) || this;
1739
- _this.type = 'order';
1740
- if (!_this._isValidState(state)) {
1741
- throw Error("Invalid state: " + JSON.stringify(state));
1742
- }
1743
- _this.id = "" + _this.type;
1744
- return _this;
1745
- }
1746
- OrderColumnsAlteration.prototype.apply = function (columns, datatable) {
1747
- var e_1, _a, e_2, _b;
1748
- if (this.state.columns.length === 0) {
1749
- return;
1750
- }
1751
- var stateColumns = this._stateColumns();
1752
- // The internal columns are not intended for a user to be able to move them.
1753
- // Store the internal columns current index, so it can be moved back ofter
1754
- // sorting. This may not be the best way to do this, but it is easier than
1755
- // making a sort that avoids them.
1756
- //
1757
- // NOTE: If we add an internal column that can be moved then this will need
1758
- // to be changed.
1759
- var internalColumns = columns
1760
- .map(function (column, index) { return ({ column: column, index: index }); })
1761
- .filter(function (x) { return isInternalColumn(x.column); });
1762
- var _loop_1 = function (c) {
1763
- var currentIndex = columns.findIndex(function (x) { return getColumnProp(x) === c.columnProp; });
1764
- if (currentIndex === c.index || currentIndex === -1) {
1765
- return "continue";
1766
- }
1767
- utils.arrayMoveMutable(columns, currentIndex, c.index);
1768
- };
1769
- try {
1770
- for (var stateColumns_1 = __values(stateColumns), stateColumns_1_1 = stateColumns_1.next(); !stateColumns_1_1.done; stateColumns_1_1 = stateColumns_1.next()) {
1771
- var c = stateColumns_1_1.value;
1772
- _loop_1(c);
1773
- }
1774
- }
1775
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1776
- finally {
1777
- try {
1778
- if (stateColumns_1_1 && !stateColumns_1_1.done && (_a = stateColumns_1.return)) _a.call(stateColumns_1);
1779
- }
1780
- finally { if (e_1) throw e_1.error; }
1781
- }
1782
- var _loop_2 = function (c) {
1783
- var currentIndex = columns.findIndex(function (col) { return col === c.column; });
1784
- if (currentIndex !== -1) {
1785
- utils.arrayMoveMutable(columns, currentIndex, c.index);
1786
- }
1787
- else {
1788
- if (i0.isDevMode()) {
1789
- console.warn("Internal column could not be found after sorting. Was it lost during the sorting?");
1790
- }
1791
- }
1792
- };
1793
- try {
1794
- for (var internalColumns_1 = __values(internalColumns), internalColumns_1_1 = internalColumns_1.next(); !internalColumns_1_1.done; internalColumns_1_1 = internalColumns_1.next()) {
1795
- var c = internalColumns_1_1.value;
1796
- _loop_2(c);
1797
- }
1798
- }
1799
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
1800
- finally {
1801
- try {
1802
- if (internalColumns_1_1 && !internalColumns_1_1.done && (_b = internalColumns_1.return)) _b.call(internalColumns_1);
1803
- }
1804
- finally { if (e_2) throw e_2.error; }
1805
- }
1806
- };
1807
- OrderColumnsAlteration.prototype._isValidState = function (state) {
1808
- // NOTE: Checking null or undefined, even though the type doesn't allow,
1809
- // because the state may have been loaded from an invalid persistant
1810
- // storage.
1811
- // TODO: Remove when state validation/migration is implemented to happen
1812
- // when retrieved from storage.
1813
- if (!utils.notNullOrUndefined(state.columns)) {
1814
- return false;
1815
- }
1816
- // NOTE: Didn't iterate each column record, because it is probably better to
1817
- // just skip to invalid column records. It does prevent being able to
1818
- // validate the whole state though.
1819
- return true;
1820
- };
1821
- OrderColumnsAlteration.prototype._isColumnOrderRecordValid = function (columnOrder) {
1822
- return utils.notNullOrUndefined(columnOrder.columnProp) && utils.notNullOrUndefined(columnOrder.index);
1823
- };
1824
- OrderColumnsAlteration.prototype._stateColumns = function () {
1825
- var _this = this;
1826
- return this.state.columns.filter(function (c) {
1827
- if (!_this._isColumnOrderRecordValid(c)) {
1828
- if (i0.isDevMode()) {
1829
- console.warn('Invalid column order record', c);
1830
- }
1831
- return false;
1832
- }
1833
- return true;
1834
- }).sort(function (a, b) { return a.index === b.index ? 0 : a.index > b.index ? 1 : -1; });
1835
- };
1836
- return OrderColumnsAlteration;
1837
- }(ColumnsAlteration));
1838
-
1839
- function mapColumnsAlterationsStates(states) {
1840
- var e_1, _a;
1841
- var alterations = [];
1842
- try {
1843
- for (var states_1 = __values(states), states_1_1 = states_1.next(); !states_1_1.done; states_1_1 = states_1.next()) {
1844
- var state = states_1_1.value;
1845
- try {
1846
- switch (state.type) {
1847
- case 'hide-column':
1848
- alterations.push(new HideColumnColumnsAlteration(state.state, true));
1849
- break;
1850
- case 'width':
1851
- alterations.push(new WidthColumnsAlteration(state.state, true));
1852
- break;
1853
- case 'order':
1854
- alterations.push(new OrderColumnsAlteration(state.state, true));
1855
- break;
1856
- case 'sort':
1857
- alterations.push(new SortColumnsAlteration(state.state, true));
1858
- break;
1859
- default: {
1860
- if (i0.isDevMode()) {
1861
- console.warn('Unrecognized ColumnsAlteration state', state);
1862
- }
1863
- }
1864
- }
1865
- }
1866
- catch (e) {
1867
- if (i0.isDevMode()) {
1868
- console.warn('Unable to map ColumnsAlteration state', state);
1869
- console.warn(e);
1870
- }
1871
- }
1872
- }
1873
- }
1874
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1875
- finally {
1876
- try {
1877
- if (states_1_1 && !states_1_1.done && (_a = states_1.return)) _a.call(states_1);
1878
- }
1879
- finally { if (e_1) throw e_1.error; }
1880
- }
1881
- return alterations;
1882
- }
1883
-
1884
- /**
1885
- * Intended for internal classes declared by the `TheSeamDatatableModule`.
1886
- */
1887
- var THESEAM_DATATABLE = new i0.InjectionToken('LibDatatable');
1888
- var _THESEAM_DATATABLE = {
1889
- provide: THESEAM_DATATABLE,
1890
- // tslint:disable-next-line:no-use-before-declare
1891
- useExisting: i0.forwardRef(function () { return DatatableComponent; })
1892
- };
1893
- var _THESEAM_DATATABLE_ACCESSOR = {
1894
- provide: THESEAM_DATATABLE_ACCESSOR,
1895
- // tslint:disable-next-line:no-use-before-declare
1896
- useExisting: i0.forwardRef(function () { return DatatableComponent; })
1897
- };
1898
- var DatatableComponent = /** @class */ (function () {
1899
- function DatatableComponent(_preferences, _columnsManager, _columnsAlterationsManager) {
1900
- var _this = this;
1901
- this._preferences = _preferences;
1902
- this._columnsManager = _columnsManager;
1903
- this._columnsAlterationsManager = _columnsAlterationsManager;
1904
- this._faChevronDown = freeSolidSvgIcons.faChevronDown;
1905
- this._faChevronRight = freeSolidSvgIcons.faChevronRight;
1906
- this._faSpinner = freeSolidSvgIcons.faSpinner;
1907
- this._ngUnsubscribe = new rxjs.Subject();
1908
- this._filtersSubject = new rxjs.BehaviorSubject([]);
1909
- this._dataSourceSubject = new rxjs.BehaviorSubject(undefined);
1910
- this._resizing = {};
1911
- this._preferencesKey = new rxjs.BehaviorSubject(undefined);
1912
- this._rows = new rxjs.BehaviorSubject([]);
1913
- this.columnMode = ngxDatatable.ColumnMode.force;
1914
- this.selected = [];
1915
- this.externalPaging = false;
1916
- this.externalSorting = false;
1917
- this.externalFiltering = false;
1918
- this.count = 0;
1919
- this.offset = 0;
1920
- this.loadingIndicator = false;
1921
- this.reorderable = true;
1922
- this.swapColumns = false;
1923
- this._sortType = ngxDatatable.SortType.single;
1924
- this._sorts = [];
1925
- this.cssClasses = {
1926
- sortAscending: 'datatable-icon-up',
1927
- sortDescending: 'datatable-icon-down',
1928
- pagerLeftArrow: 'datatable-icon-left',
1929
- pagerRightArrow: 'datatable-icon-right',
1930
- pagerPrevious: 'datatable-icon-prev',
1931
- pagerNext: 'datatable-icon-skip'
1932
- };
1933
- this.messages = {
1934
- // Message to show when array is presented
1935
- // but contains no values
1936
- emptyMessage: 'No records found',
1937
- // Footer total message
1938
- totalMessage: 'total',
1939
- // Footer selected message
1940
- selectedMessage: 'selected'
1941
- };
1942
- this.rowIdentity = (function (x) { return x; });
1943
- this.groupExpansionDefault = false;
1944
- this.selectAllRowsOnPage = false;
1945
- this.summaryRow = false;
1946
- this.summaryHeight = 30;
1947
- this.summaryPosition = 'top';
1948
- this.virtualization = true;
1949
- this.headerHeight = 50;
1950
- this.rowHeight = 50;
1951
- this.footerHeight = 40;
1952
- this.scrollbarV = true;
1953
- this.scrollbarH = true;
1954
- this.scroll = new i0.EventEmitter();
1955
- this.activate = new i0.EventEmitter();
1956
- this.select = new i0.EventEmitter();
1957
- this.sort = new i0.EventEmitter();
1958
- this.page = new i0.EventEmitter();
1959
- this.reorder = new i0.EventEmitter();
1960
- this.resize = new i0.EventEmitter();
1961
- this.tableContextmenu = new i0.EventEmitter(false);
1962
- this.treeAction = new i0.EventEmitter();
1963
- this.actionRefreshRequest = new i0.EventEmitter();
1964
- this.hiddenColumnsChange = new i0.EventEmitter();
1965
- this._colDiffersInp = {};
1966
- this._colDiffersTpl = {};
1967
- this._rowDetailToggleSubscription = rxjs.Subscription.EMPTY;
1968
- this._preferencesKey.pipe(operators.distinctUntilChanged(), operators.switchMap(function (key) {
1969
- if (!utils.notNullOrUndefined(key) || key.length === 0) {
1970
- return rxjs.of(undefined);
1971
- }
1972
- return rxjs.from(utils.waitOnConditionAsync(function () { return _this._preferences.loaded; })).pipe(operators.switchMap(function () { return _this._columnsAlterationsManager.changes.pipe(operators.startWith(undefined), operators.tap(function () {
1973
- _this._preferences.setAlterations(key, _this._columnsAlterationsManager.get());
1974
- })); }));
1975
- }), operators.takeUntil(this._ngUnsubscribe)).subscribe();
1976
- var applyPrefs = function (cols) { return _this._columnsAlterationsManager.changes.pipe(operators.startWith(undefined), operators.map(function () {
1977
- _this._columnsAlterationsManager.apply(cols, _this);
1978
- return cols;
1979
- })); };
1980
- this._preferencesKey.pipe(operators.distinctUntilChanged(), operators.switchMap(function (prefsKey) {
1981
- if (!utils.notNullOrUndefined(prefsKey)) {
1982
- return rxjs.of(undefined);
1983
- }
1984
- return _this._preferences.preferences(prefsKey).pipe(operators.switchMap(function (preferences) { return __awaiter(_this, void 0, void 0, function () {
1985
- var _this = this;
1986
- return __generator(this, function (_h) {
1987
- switch (_h.label) {
1988
- case 0: return [4 /*yield*/, utils.waitOnConditionAsync(function () { return _this._preferences.loaded; })];
1989
- case 1:
1990
- _h.sent();
1991
- return [2 /*return*/, preferences];
1992
- }
1993
- });
1994
- }); }), operators.take(1), operators.map(function (preferences) {
1995
- var alterations = [];
1996
- try {
1997
- alterations = mapColumnsAlterationsStates(preferences.alterations);
1998
- }
1999
- catch (e) {
2000
- if (i0.isDevMode()) {
2001
- console.warn('Unable to map columns alterations states');
2002
- console.warn(e);
2003
- }
2004
- }
2005
- _this._columnsAlterationsManager.add(alterations);
2006
- }));
2007
- }), operators.takeUntil(this._ngUnsubscribe)).subscribe();
2008
- this.columns$ = this._columnsManager.columns$;
2009
- this.displayColumns$ = this.columns$.pipe(operators.switchMap(function (cols) { return applyPrefs(cols); }), operators.map(function (cols) { return cols.filter(function (c) { return !c.hidden; }); }), operators.tap(function (v) { return removeUnusedDiffs(v, _this._colDiffersInp, _this._colDiffersTpl); }));
2010
- this.filters$ = this._filtersSubject.asObservable();
2011
- this.filterStates = this._filtersSubject.asObservable().pipe(operators.switchMap(function (filters) { return dataFilters.composeDataFilterStates(filters); }));
2012
- this.rows$ = this._dataSourceSubject.pipe(operators.switchMap(function (dataSource) {
2013
- // console.log('dataSource', dataSource)
2014
- var dataStream;
2015
- if (collections.isDataSource(dataSource)) {
2016
- // console.log('~datasource')
2017
- dataStream = dataSource.connect(_this);
2018
- }
2019
- else if (rxjs.isObservable(dataSource)) {
2020
- // console.log('~observable')
2021
- dataStream = dataSource;
2022
- }
2023
- else if (Array.isArray(dataSource)) {
2024
- // console.log('~array')
2025
- dataStream = rxjs.of(dataSource);
2026
- }
2027
- else {
2028
- // console.log('~rows fallback')
2029
- dataStream = _this._rows.asObservable();
2030
- // .pipe(tap(v => console.log('rows~', v)))
2031
- }
2032
- if (!_this.externalFiltering) {
2033
- // console.log('not using externalFiltering')
2034
- dataStream = dataStream.pipe(operators.switchMap(function (rows) { return _this._filtersSubject.pipe(
2035
- // tap(v => console.log('filters', v)),
2036
- operators.concatMap(function (filters) { return rxjs.of(rows).pipe(dataFilters.composeDataFilters(filters)); })); }));
2037
- // dataStream = this._filtersSubject.pipe(
2038
- // tap(v => console.log('filters', v)),
2039
- // concatMap(filters => dataStream.pipe(composeDataFilters(filters))),
2040
- // tap(v => console.log('composed filters', v)),
2041
- // )
2042
- }
2043
- return dataStream.pipe(
2044
- // tap(v => console.log('stream', v)),
2045
- operators.takeUntil(_this._ngUnsubscribe));
2046
- }));
2047
- // TODO: Implement viewChange for CollectionViewer.
2048
- this.viewChange = this.page.pipe(operators.map(function (p) { return ({ start: 0, end: p.count }); }));
2049
- }
2050
- Object.defineProperty(DatatableComponent.prototype, "filters", {
2051
- get: function () { return this._filtersSubject.value; },
2052
- enumerable: false,
2053
- configurable: true
2054
- });
2055
- Object.defineProperty(DatatableComponent.prototype, "preferencesKey", {
2056
- get: function () { return this._preferencesKey.value; },
2057
- set: function (value) { this._preferencesKey.next(value || undefined); },
2058
- enumerable: false,
2059
- configurable: true
2060
- });
2061
- Object.defineProperty(DatatableComponent.prototype, "columns", {
2062
- set: function (value) {
2063
- this._columnsManager.setInputColumns(Array.isArray(value) ? value : []);
2064
- },
2065
- enumerable: false,
2066
- configurable: true
2067
- });
2068
- Object.defineProperty(DatatableComponent.prototype, "rows", {
2069
- get: function () { return this._rows.value; },
2070
- set: function (value) {
2071
- this._rows.next(value || []);
2072
- },
2073
- enumerable: false,
2074
- configurable: true
2075
- });
2076
- Object.defineProperty(DatatableComponent.prototype, "selectionType", {
2077
- get: function () { return this._columnsManager.getSelectionType(); },
2078
- set: function (value) {
2079
- this._columnsManager.setSelectionType(utils.notNullOrUndefined(value) ? value : undefined);
2080
- },
2081
- enumerable: false,
2082
- configurable: true
2083
- });
2084
- Object.defineProperty(DatatableComponent.prototype, "sortType", {
2085
- get: function () { return this._sortType; },
2086
- set: function (value) {
2087
- if (utils.notNullOrUndefined(value) && (value === ngxDatatable.SortType.single || value == ngxDatatable.SortType.multi)) {
2088
- this._sortType = value;
2089
- }
2090
- else {
2091
- this._sortType = ngxDatatable.SortType.single;
2092
- }
2093
- },
2094
- enumerable: false,
2095
- configurable: true
2096
- });
2097
- Object.defineProperty(DatatableComponent.prototype, "sorts", {
2098
- get: function () {
2099
- return this.ngxDatatable ? this.ngxDatatable.sorts : this._sorts;
2100
- },
2101
- set: function (value) {
2102
- this._sorts = utils.notNullOrUndefined(value) ? coercion.coerceArray(value) : [];
2103
- },
2104
- enumerable: false,
2105
- configurable: true
2106
- });
2107
- Object.defineProperty(DatatableComponent.prototype, "dataSource", {
2108
- set: function (value) {
2109
- if (value instanceof DatatableDataSource) {
2110
- value.setDatatableAccessor(this);
2111
- }
2112
- this._dataSourceSubject.next(value || undefined);
2113
- },
2114
- enumerable: false,
2115
- configurable: true
2116
- });
2117
- Object.defineProperty(DatatableComponent.prototype, "actionItemColumnPosition", {
2118
- get: function () { return this._actionItemColumnPosition; },
2119
- set: function (value) {
2120
- this._actionItemColumnPosition = value;
2121
- this._columnsManager.setActionItemColumnPosition(this._actionItemColumnPosition);
2122
- },
2123
- enumerable: false,
2124
- configurable: true
2125
- });
2126
- Object.defineProperty(DatatableComponent.prototype, "columnComponents", {
2127
- set: function (value) {
2128
- var _a;
2129
- this._columnsManager.setTemplateColumns(translateTemplateColumns((_a = value === null || value === void 0 ? void 0 : value.toArray()) !== null && _a !== void 0 ? _a : []));
2130
- },
2131
- enumerable: false,
2132
- configurable: true
2133
- });
2134
- Object.defineProperty(DatatableComponent.prototype, "rowActionItem", {
2135
- get: function () { return this._rowActionItem; },
2136
- set: function (value) {
2137
- this._rowActionItem = value;
2138
- this._columnsManager.setRowActionItem(utils.notNullOrUndefined(value) ? value : undefined);
2139
- },
2140
- enumerable: false,
2141
- configurable: true
2142
- });
2143
- Object.defineProperty(DatatableComponent.prototype, "menuBarComponent", {
2144
- get: function () { return this._menuBarComponent; },
2145
- set: function (value) {
2146
- var _this = this;
2147
- var _a;
2148
- this._menuBarComponent = value;
2149
- if (this._menuBarSub) {
2150
- this._menuBarSub.unsubscribe();
2151
- }
2152
- if (value) {
2153
- this._setMenuBarFilters(value.filters());
2154
- this._menuBarSub = (_a = this._menuBarComponent) === null || _a === void 0 ? void 0 : _a.filtersChanged.subscribe(function (v) { _this._setMenuBarFilters(value.filters()); });
2155
- }
2156
- },
2157
- enumerable: false,
2158
- configurable: true
2159
- });
2160
- Object.defineProperty(DatatableComponent.prototype, "actionMenuCellTpl", {
2161
- get: function () { return this._actionMenuCellTpl; },
2162
- set: function (value) {
2163
- this._actionMenuCellTpl = value;
2164
- this._columnsManager.setActionMenuCellTpl(utils.notNullOrUndefined(value) ? value : undefined);
2165
- },
2166
- enumerable: false,
2167
- configurable: true
2168
- });
2169
- Object.defineProperty(DatatableComponent.prototype, "treeToggleTpl", {
2170
- get: function () { return this._treeToggleTpl; },
2171
- set: function (value) {
2172
- this._treeToggleTpl = value;
2173
- this._columnsManager.setTreeToggleTpl(utils.notNullOrUndefined(value) ? value : undefined);
2174
- },
2175
- enumerable: false,
2176
- configurable: true
2177
- });
2178
- Object.defineProperty(DatatableComponent.prototype, "headerTpl", {
2179
- get: function () { return this._headerTpl; },
2180
- set: function (value) {
2181
- this._headerTpl = value;
2182
- this._columnsManager.setHeaderTpl(utils.notNullOrUndefined(value) ? value : undefined);
2183
- },
2184
- enumerable: false,
2185
- configurable: true
2186
- });
2187
- Object.defineProperty(DatatableComponent.prototype, "blankHeaderTpl", {
2188
- get: function () { return this._blankHeaderTpl; },
2189
- set: function (value) {
2190
- this._blankHeaderTpl = value;
2191
- this._columnsManager.setBlankHeaderTpl(utils.notNullOrUndefined(value) ? value : undefined);
2192
- },
2193
- enumerable: false,
2194
- configurable: true
2195
- });
2196
- Object.defineProperty(DatatableComponent.prototype, "cellTypeSelectorTpl", {
2197
- get: function () { return this._cellTypeSelectorTpl; },
2198
- set: function (value) {
2199
- this._cellTypeSelectorTpl = value;
2200
- this._columnsManager.setCellTypeSelectorTpl(utils.notNullOrUndefined(value) ? value : undefined);
2201
- },
2202
- enumerable: false,
2203
- configurable: true
2204
- });
2205
- // TODO: Remove this DOM-dependent code when a way to property listen for
2206
- // dblclick on the header reasize handles.
2207
- DatatableComponent.prototype._dblClick = function (event) {
2208
- var _this = this;
2209
- var _a, _b, _c;
2210
- var isHandle = event.target.classList.contains('resize-handle');
2211
- if (isHandle) {
2212
- var isResizeable = (_a = event.target.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains('resizeable');
2213
- if (isResizeable) {
2214
- event.stopPropagation();
2215
- var id_1 = (_c = (_b = event.target.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('.datatable-column-header-separator')) === null || _c === void 0 ? void 0 : _c.getAttribute('data-column-id');
2216
- this._columnsManager.columns$.pipe(operators.take(1)).subscribe(function (columns) {
2217
- var column = columns.find(function (c) { return c.$$id === id_1; });
2218
- if (column) {
2219
- var columnProp = getColumnProp(column);
2220
- if (columnProp) {
2221
- var alteration = new WidthColumnsAlteration({ columnProp: columnProp, canAutoResize: true }, false);
2222
- _this._columnsAlterationsManager.add([alteration]);
2223
- }
2224
- }
2225
- });
2226
- }
2227
- }
2228
- };
2229
- DatatableComponent.prototype.ngOnInit = function () {
2230
- var _this = this;
2231
- if (this.rowDetail) {
2232
- this._rowDetailToggleSubscription = this.rowDetail._toggle.subscribe(function (event) {
2233
- if (_this.ngxRowDetail) {
2234
- _this.ngxRowDetail.toggle.emit(event);
2235
- }
2236
- });
2237
- }
2238
- };
2239
- DatatableComponent.prototype.ngOnDestroy = function () {
2240
- this._rowDetailToggleSubscription.unsubscribe();
2241
- };
2242
- DatatableComponent.prototype._setMenuBarFilters = function (filters) {
2243
- this._filtersSubject.next(filters || []);
2244
- };
2245
- DatatableComponent.prototype.getColumnComponent = function (propName) {
2246
- if (!this.columnComponents || this.columnComponents.length === 0) {
2247
- return null;
2248
- }
2249
- var tpl = this.columnComponents.find(function (t) { return t.prop === propName; });
2250
- if (tpl) {
2251
- return tpl;
2252
- }
2253
- return null;
2254
- };
2255
- DatatableComponent.prototype._columnData = function (col) {
2256
- var comp = this.getColumnComponent(col.prop);
2257
- return { col: col, comp: comp };
2258
- };
2259
- DatatableComponent.prototype._getRowExpanded = function (row) {
2260
- if (this.ngxDatatable && this.ngxDatatable.bodyComponent) {
2261
- return this.ngxDatatable.bodyComponent.getRowExpanded(row);
2262
- }
2263
- return false;
2264
- };
2265
- DatatableComponent.prototype.trackByFnColumn = function (index, item) {
2266
- return item.prop;
2267
- };
2268
- DatatableComponent.prototype.onDatatableResize = function (event) {
2269
- if (this.ngxDatatable && this.ngxDatatableElement && this.ngxDatatableElement.nativeElement) {
2270
- // TODO: Consider integrating this into the ngx-datatable library to avoid
2271
- // multiple resize calls when the table resizes itself.
2272
- this.ngxDatatable.recalculate();
2273
- }
2274
- };
2275
- DatatableComponent.prototype._onResize = function (event) {
2276
- this.resize.emit(event);
2277
- if (!utils.notNullOrUndefined(event.column)) {
2278
- return;
2279
- }
2280
- var columnProp = getColumnProp(event.column);
2281
- if (columnProp) {
2282
- var addAlteration = false;
2283
- if (!this._resizing[columnProp]) {
2284
- this._resizing[columnProp] = true;
2285
- addAlteration = true;
2286
- }
2287
- if (event.isDone) {
2288
- this._resizing[columnProp] = false;
2289
- addAlteration = true;
2290
- }
2291
- if (addAlteration) {
2292
- var alteration = new WidthColumnsAlteration({
2293
- columnProp: columnProp,
2294
- width: event.column.width,
2295
- canAutoResize: false
2296
- }, true);
2297
- this._columnsAlterationsManager.add([alteration]);
2298
- }
2299
- }
2300
- };
2301
- DatatableComponent.prototype._onReorder = function (event) {
2302
- this.reorder.emit(event);
2303
- var columnProp = getColumnProp(event.column);
2304
- if (columnProp) {
2305
- var currentOrderAlteration = this._columnsAlterationsManager.get().find(function (x) { return x.type === 'order'; });
2306
- var state = {
2307
- columns: __spreadArray(__spreadArray([], __read(((currentOrderAlteration === null || currentOrderAlteration === void 0 ? void 0 : currentOrderAlteration.state.columns) || []))), [
2308
- { columnProp: columnProp, index: event.newValue }
2309
- ])
2310
- };
2311
- var alteration = new OrderColumnsAlteration(state, true);
2312
- this._columnsAlterationsManager.add([alteration]);
2313
- }
2314
- };
2315
- DatatableComponent.prototype._onSort = function (event) {
2316
- this.sort.emit(event);
2317
- var alteration = new SortColumnsAlteration({ sorts: event.sorts }, true);
2318
- this._columnsAlterationsManager.add([alteration]);
2319
- };
2320
- DatatableComponent.prototype._onTreeAction = function (event) {
2321
- var index = event.rowIndex;
2322
- var row = event.row;
2323
- if (row.treeStatus === 'collapsed') {
2324
- row.treeStatus = 'expanded';
2325
- }
2326
- else {
2327
- row.treeStatus = 'collapsed';
2328
- }
2329
- this.rows = __spreadArray([], __read(this.rows));
2330
- };
2331
- DatatableComponent.prototype.triggerActionRefreshRequest = function () {
2332
- this.actionRefreshRequest.emit(undefined);
2333
- };
2334
- Object.defineProperty(DatatableComponent.prototype, "pageInfo", {
2335
- /**
2336
- * Returns the page info from the wrapped NgxDatatable instance or defaults.
2337
- */
2338
- get: function () {
2339
- var _a, _b, _c, _d, _e, _f, _g;
2340
- return {
2341
- offset: (_b = (_a = this.ngxDatatable) === null || _a === void 0 ? void 0 : _a.offset) !== null && _b !== void 0 ? _b : 0,
2342
- pageSize: (_d = (_c = this.ngxDatatable) === null || _c === void 0 ? void 0 : _c.pageSize) !== null && _d !== void 0 ? _d : 0,
2343
- limit: (_e = this.ngxDatatable) === null || _e === void 0 ? void 0 : _e.limit,
2344
- count: (_g = (_f = this.ngxDatatable) === null || _f === void 0 ? void 0 : _f.count) !== null && _g !== void 0 ? _g : 0
2345
- };
2346
- },
2347
- enumerable: false,
2348
- configurable: true
2349
- });
2350
- return DatatableComponent;
2351
- }());
2352
- DatatableComponent.decorators = [
2353
- { type: i0.Component, args: [{
2354
- selector: 'seam-datatable',
2355
- template: "<div class=\"datatable-wrapper\">\n <ng-content select=\"seam-datatable-menu-bar\"></ng-content>\n <div class=\"datatable-table-wrapper\">\n <ng-container>\n <ngx-datatable\n [columnMode]=\"$any(columnMode)\"\n [scrollbarV]=\"scrollbarV\"\n [scrollbarH]=\"scrollbarH\"\n [virtualization]=\"virtualization\"\n [targetMarkerTemplate]=\"targetMarkerTemplate\"\n [groupRowsBy]=\"$any(groupRowsBy)\"\n [groupedRows]=\"$any(groupedRows)\"\n [selected]=\"$any(selected)\"\n [externalPaging]=\"externalPaging\"\n [externalSorting]=\"externalSorting\"\n [limit]=\"$any(limit)\"\n [count]=\"$any(count)\"\n [offset]=\"$any(offset)\"\n [loadingIndicator]=\"loadingIndicator\"\n [selectionType]=\"$any(selectionType)\"\n [reorderable]=\"reorderable\"\n [swapColumns]=\"swapColumns\"\n [sortType]=\"$any(sortType)\"\n [sorts]=\"$any(_sorts)\"\n [cssClasses]=\"cssClasses\"\n [messages]=\"messages\"\n [rowIdentity]=\"$any(rowIdentity)\"\n [rowClass]=\"rowClass\"\n [selectCheck]=\"selectCheck\"\n [displayCheck]=\"$any(displayCheck)\"\n [groupExpansionDefault]=\"groupExpansionDefault\"\n [trackByProp]=\"$any(trackByProp)\"\n [selectAllRowsOnPage]=\"selectAllRowsOnPage\"\n [treeFromRelation]=\"$any(treeFromRelation)\"\n [treeToRelation]=\"$any(treeToRelation)\"\n [summaryRow]=\"summaryRow\"\n [summaryHeight]=\"$any(summaryHeight)\"\n [summaryPosition]=\"$any(summaryPosition)\"\n [rows]=\"rows$ | async\"\n [columns]=\"$any(displayColumns$ | async)\"\n [headerHeight]=\"$any(headerHeight)\"\n [rowHeight]=\"$any(rowHeight)\"\n [footerHeight]=\"$any(footerHeight)\"\n (scroll)=\"scroll.emit($event)\"\n (activate)=\"activate.emit($event)\"\n (select)=\"select.emit($event)\"\n (sort)=\"_onSort($event)\"\n (page)=\"page.emit($event)\"\n (reorder)=\"_onReorder($event)\"\n (resize)=\"_onResize($event)\"\n (tableContextmenu)=\"tableContextmenu.emit($event)\"\n (treeAction)=\"treeAction.emit($event)\"\n (seamElemResized)=\"onDatatableResize($event)\"\n (treeAction)=\"_onTreeAction($event)\">\n\n <ngx-datatable-group-header [rowHeight]=\"50\" #myGroupHeader *ngIf=\"groupRowsBy\">\n <ng-template let-group=\"group\" let-expanded=\"expanded\" ngx-datatable-group-header-template>\n <div\n class=\"w-100 bg-light p-1\"\n [class.border-bottom]=\"!expanded\"\n [class.datatable-icon-right]=\"!expanded\"\n [class.datatable-icon-down]=\"expanded\"\n title=\"Expand/Collapse Group\"\n (click)=\"ngxDatatable?.groupHeader?.toggleExpandGroup(group)\">\n <b>Age: {{ group.age }}</b>\n </div>\n </ng-template>\n </ngx-datatable-group-header>\n\n <ngx-datatable-row-detail *ngIf=\"rowDetail && rowDetail.template\"\n [rowHeight]=\"rowDetail.rowHeight || 0\"\n [template]=\"$any(rowDetail.template)\"\n (toggle)=\"rowDetail.toggle.emit($event)\">\n </ngx-datatable-row-detail>\n\n <ngx-datatable-footer *ngIf=\"footer && footer.template\"\n [template]=\"$any(footer.template)\">\n </ngx-datatable-footer>\n </ngx-datatable>\n </ng-container>\n </div>\n</div>\n\n<ng-template #blankHeaderTpl ngx-datatable-header-template></ng-template>\n\n<ng-template #headerTpl ngx-datatable-header-template\n let-column=\"column\" let-sortFn=\"sortFn\">\n <strong *ngIf=\"!column.sortable\" class=\"draggable\">{{column.name}}</strong>\n <strong *ngIf=\"column.sortable\" class=\"datatable-sort-target draggable\" (click)=\"sortFn()\">{{column.name}}</strong>\n <div class=\"datatable-column-header-separator\" [attr.data-column-id]=\"column.$$id\"></div>\n</ng-template>\n\n<ng-template #cellTypeSelectorTpl ngx-datatable-cell-template\n let-value=\"value\" let-rowIndex=\"rowIndex\" let-row=\"row\" let-column=\"column\">\n <seam-table-cell-type-selector *ngIf=\"row\"\n [type]=\"column.cellType\"\n [value]=\"value\"\n [rowIndex]=\"rowIndex\"\n [row]=\"row\"\n [colData]=\"column\">\n </seam-table-cell-type-selector>\n</ng-template>\n\n<ng-template #actionMenuCellTpl ngx-datatable-cell-template\n let-value=\"value\" let-rowIndex=\"rowIndex\" let-row=\"row\">\n\n <ng-container *ngIf=\"row && rowActionItem?.template\">\n <ng-template\n [ngTemplateOutlet]=\"$any(rowActionItem?.template)\"\n [ngTemplateOutletContext]=\"{ $implicit: row, row: row, rowIndex: rowIndex }\">\n </ng-template>\n </ng-container>\n\n</ng-template>\n\n<ng-template #treeToggleTpl ngx-datatable-tree-toggle let-tree=\"cellContext\">\n <button\n class=\"p-0 bg-transparent border-0 btn\"\n [disabled]=\"tree.treeStatus==='disabled'\"\n (click)=\"tree.onTreeAction()\">\n <span *ngIf=\"tree.treeStatus==='loading'\">\n <fa-icon [icon]=\"_faSpinner\"></fa-icon>\n </span>\n <span *ngIf=\"tree.treeStatus==='collapsed'\">\n <fa-icon [icon]=\"_faChevronRight\"></fa-icon>\n </span>\n <span *ngIf=\"tree.treeStatus==='expanded'\">\n <fa-icon [icon]=\"_faChevronDown\"></fa-icon>\n </span>\n <span *ngIf=\"tree.treeStatus==='disabled'\">\n <fa-icon [icon]=\"_faChevronRight\"></fa-icon>\n </span>\n </button>\n</ng-template>\n",
2356
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2357
- animations: [
2358
- animations.trigger('slideDown', [
2359
- animations.transition(':enter', [
2360
- animations.style({ transform: 'translateY(-20%)', opacity: '0' }),
2361
- animations.animate('250ms', animations.style({ transform: 'translateY(0)', opacity: '1' })),
2362
- ]),
2363
- animations.transition(':leave', [
2364
- animations.style({ transform: 'translateY(0)', opacity: '1' }),
2365
- animations.animate('250ms', animations.style({ transform: 'translateY(-20%)', opacity: '0' })),
2366
- ])
2367
- ])
2368
- ],
2369
- providers: [
2370
- _THESEAM_DATATABLE,
2371
- DatatableColumnChangesService,
2372
- _THESEAM_DATATABLE_ACCESSOR,
2373
- ColumnsManagerService,
2374
- ColumnsAlterationsManagerService,
2375
- ],
2376
- styles: [":host{display:flex;flex-grow:1;flex-direction:column}::ng-deep .seam-datatable-action-menu{min-width:auto!important}ngx-datatable{position:absolute!important;top:0;left:0;right:0;bottom:0}.datatable-wrapper{display:flex;flex-direction:column;flex-grow:1}.datatable-wrapper .datatable-table-wrapper{position:relative;flex:1 1 100%}.datatable-column-header-separator{position:absolute}.datatable-sort-target{cursor:pointer}\n"]
2377
- },] }
2378
- ];
2379
- DatatableComponent.ctorParameters = function () { return [
2380
- { type: DatatablePreferencesService },
2381
- { type: ColumnsManagerService },
2382
- { type: ColumnsAlterationsManagerService }
2383
- ]; };
2384
- DatatableComponent.propDecorators = {
2385
- preferencesKey: [{ type: i0.Input }],
2386
- targetMarkerTemplate: [{ type: i0.Input }],
2387
- columns: [{ type: i0.Input }],
2388
- rows: [{ type: i0.Input }],
2389
- columnMode: [{ type: i0.Input }],
2390
- groupRowsBy: [{ type: i0.Input }],
2391
- groupedRows: [{ type: i0.Input }],
2392
- selected: [{ type: i0.Input }],
2393
- externalPaging: [{ type: i0.Input }],
2394
- externalSorting: [{ type: i0.Input }],
2395
- externalFiltering: [{ type: i0.Input }],
2396
- limit: [{ type: i0.Input }],
2397
- count: [{ type: i0.Input }],
2398
- offset: [{ type: i0.Input }],
2399
- loadingIndicator: [{ type: i0.Input }],
2400
- selectionType: [{ type: i0.Input }],
2401
- reorderable: [{ type: i0.Input }],
2402
- swapColumns: [{ type: i0.Input }],
2403
- sortType: [{ type: i0.Input }],
2404
- sorts: [{ type: i0.Input }],
2405
- cssClasses: [{ type: i0.Input }],
2406
- messages: [{ type: i0.Input }],
2407
- rowIdentity: [{ type: i0.Input }],
2408
- rowClass: [{ type: i0.Input }],
2409
- selectCheck: [{ type: i0.Input }],
2410
- displayCheck: [{ type: i0.Input }],
2411
- groupExpansionDefault: [{ type: i0.Input }],
2412
- trackByProp: [{ type: i0.Input }],
2413
- selectAllRowsOnPage: [{ type: i0.Input }],
2414
- treeFromRelation: [{ type: i0.Input }],
2415
- treeToRelation: [{ type: i0.Input }],
2416
- summaryRow: [{ type: i0.Input }],
2417
- summaryHeight: [{ type: i0.Input }],
2418
- summaryPosition: [{ type: i0.Input }],
2419
- virtualization: [{ type: i0.Input }],
2420
- headerHeight: [{ type: i0.Input }],
2421
- rowHeight: [{ type: i0.Input }],
2422
- footerHeight: [{ type: i0.Input }],
2423
- scrollbarV: [{ type: i0.Input }],
2424
- scrollbarH: [{ type: i0.Input }],
2425
- dataSource: [{ type: i0.Input }],
2426
- actionItemColumnPosition: [{ type: i0.Input }],
2427
- scroll: [{ type: i0.Output }],
2428
- activate: [{ type: i0.Output }],
2429
- select: [{ type: i0.Output }],
2430
- sort: [{ type: i0.Output }],
2431
- page: [{ type: i0.Output }],
2432
- reorder: [{ type: i0.Output }],
2433
- resize: [{ type: i0.Output }],
2434
- tableContextmenu: [{ type: i0.Output }],
2435
- treeAction: [{ type: i0.Output }],
2436
- actionRefreshRequest: [{ type: i0.Output }],
2437
- hiddenColumnsChange: [{ type: i0.Output }],
2438
- columnComponents: [{ type: i0.ContentChildren, args: [DatatableColumnComponent,] }],
2439
- actionMenu: [{ type: i0.ContentChild, args: [DatatableActionMenuComponent, { static: true },] }],
2440
- rowActionItem: [{ type: i0.ContentChild, args: [DatatableRowActionItemDirective, { static: true },] }],
2441
- rowDetail: [{ type: i0.ContentChild, args: [TheSeamDatatableRowDetailDirective, { static: true },] }],
2442
- footer: [{ type: i0.ContentChild, args: [TheSeamDatatableFooterDirective, { static: true },] }],
2443
- menuBarComponent: [{ type: i0.ContentChild, args: [DatatableMenuBarComponent,] }],
2444
- ngxDatatable: [{ type: i0.ViewChild, args: [ngxDatatable.DatatableComponent,] }],
2445
- ngxDatatableElement: [{ type: i0.ViewChild, args: [ngxDatatable.DatatableComponent, { read: i0.ElementRef },] }],
2446
- ngxRowDetail: [{ type: i0.ViewChild, args: [ngxDatatable.DatatableRowDetailDirective,] }],
2447
- actionMenuCellTpl: [{ type: i0.ViewChild, args: ['actionMenuCellTpl', { static: true },] }],
2448
- treeToggleTpl: [{ type: i0.ViewChild, args: ['treeToggleTpl', { static: true },] }],
2449
- headerTpl: [{ type: i0.ViewChild, args: ['headerTpl', { static: true },] }],
2450
- blankHeaderTpl: [{ type: i0.ViewChild, args: ['blankHeaderTpl', { static: true },] }],
2451
- cellTypeSelectorTpl: [{ type: i0.ViewChild, args: ['cellTypeSelectorTpl', { static: true },] }],
2452
- _dblClick: [{ type: i0.HostListener, args: ['dblclick', ['$event'],] }]
2453
- };
2454
- __decorate([
2455
- core.InputBoolean()
2456
- ], DatatableComponent.prototype, "externalPaging", void 0);
2457
- __decorate([
2458
- core.InputBoolean()
2459
- ], DatatableComponent.prototype, "externalSorting", void 0);
2460
- __decorate([
2461
- core.InputBoolean()
2462
- ], DatatableComponent.prototype, "externalFiltering", void 0);
2463
- __decorate([
2464
- core.InputNumber()
2465
- ], DatatableComponent.prototype, "limit", void 0);
2466
- __decorate([
2467
- core.InputNumber(0)
2468
- ], DatatableComponent.prototype, "count", void 0);
2469
- __decorate([
2470
- core.InputNumber(0)
2471
- ], DatatableComponent.prototype, "offset", void 0);
2472
- __decorate([
2473
- core.InputBoolean()
2474
- ], DatatableComponent.prototype, "loadingIndicator", void 0);
2475
- __decorate([
2476
- core.InputBoolean()
2477
- ], DatatableComponent.prototype, "reorderable", void 0);
2478
- __decorate([
2479
- core.InputBoolean()
2480
- ], DatatableComponent.prototype, "swapColumns", void 0);
2481
- __decorate([
2482
- core.InputBoolean()
2483
- ], DatatableComponent.prototype, "groupExpansionDefault", void 0);
2484
- __decorate([
2485
- core.InputBoolean()
2486
- ], DatatableComponent.prototype, "selectAllRowsOnPage", void 0);
2487
- __decorate([
2488
- core.InputBoolean()
2489
- ], DatatableComponent.prototype, "summaryRow", void 0);
2490
- __decorate([
2491
- core.InputNumber()
2492
- ], DatatableComponent.prototype, "summaryHeight", void 0);
2493
- __decorate([
2494
- core.InputBoolean()
2495
- ], DatatableComponent.prototype, "virtualization", void 0);
2496
- __decorate([
2497
- core.InputNumber()
2498
- ], DatatableComponent.prototype, "headerHeight", void 0);
2499
- __decorate([
2500
- core.InputNumber()
2501
- ], DatatableComponent.prototype, "rowHeight", void 0);
2502
- __decorate([
2503
- core.InputNumber()
2504
- ], DatatableComponent.prototype, "footerHeight", void 0);
2505
- __decorate([
2506
- core.InputBoolean()
2507
- ], DatatableComponent.prototype, "scrollbarV", void 0);
2508
- __decorate([
2509
- core.InputBoolean()
2510
- ], DatatableComponent.prototype, "scrollbarH", void 0);
2511
-
2512
- var DatatableColumnPreferencesComponent = /** @class */ (function () {
2513
- function DatatableColumnPreferencesComponent(_datatable, _columnsAlterationsManager) {
2514
- var _this = this;
2515
- var _a;
2516
- this._datatable = _datatable;
2517
- this._columnsAlterationsManager = _columnsAlterationsManager;
2518
- this._filterControl = new forms.FormControl();
2519
- this._columns$ = rxjs.combineLatest([
2520
- (_a = this._datatable.columns$) !== null && _a !== void 0 ? _a : rxjs.of([]),
2521
- utils.observeControlValue(this._filterControl)
2522
- ]).pipe(operators.map(function (_b) {
2523
- var _c = __read(_b, 2), columns = _c[0], filter = _c[1];
2524
- var _filter = (filter || '').trim().toLowerCase();
2525
- return columns
2526
- .filter(function (c) { return _this._canToggleColumn(c, _filter); });
2527
- }));
2528
- }
2529
- DatatableColumnPreferencesComponent.prototype._canToggleColumn = function (column, filter, omitInternalColumns) {
2530
- if (omitInternalColumns === void 0) { omitInternalColumns = true; }
2531
- if (omitInternalColumns && isInternalColumn(column)) {
2532
- return false;
2533
- }
2534
- return this._columnMatchesFilter(column, filter);
2535
- };
2536
- DatatableColumnPreferencesComponent.prototype._columnMatchesFilter = function (column, filter) {
2537
- if (filter.length === 0) {
2538
- return true;
2539
- }
2540
- return ("" + (getColumnProp(column) || '')).toLowerCase().indexOf(filter) !== -1;
2541
- };
2542
- DatatableColumnPreferencesComponent.prototype._onChange = function (event, col) {
2543
- var columnProp = getColumnProp(col);
2544
- var hidden = !event.checked;
2545
- if (!utils.notNullOrUndefined(columnProp)) {
2546
- throw Error("Unable to get column prop.");
2547
- }
2548
- var alteration = new HideColumnColumnsAlteration({
2549
- columnProp: columnProp,
2550
- hidden: hidden
2551
- }, hidden);
2552
- this._columnsAlterationsManager.add([alteration]);
2553
- };
2554
- return DatatableColumnPreferencesComponent;
2555
- }());
2556
- DatatableColumnPreferencesComponent.decorators = [
2557
- { type: i0.Component, args: [{
2558
- selector: 'seam-datatable-column-preferences',
2559
- template: "<h3>Columns</h3>\n\n<seam-form-field [numPaddingErrors]=\"0\" >\n <input seamInput [formControl]=\"_filterControl\" seamInputSize=\"sm\" placeholder=\"Search\" seamAutoFocus>\n</seam-form-field>\n\n<div seamOverlayScrollbar style=\"min-height: 200px; max-height: 600px; min-width: 250px;\" class=\"flex-grow-1 mb-2\">\n <div class=\"p-2\">\n <ng-container *ngFor=\"let col of _columns$ | async\">\n <seam-checkbox [checked]=\"!col.hidden\" (change)=\"_onChange($event, col)\">{{ col.name || col.prop }}</seam-checkbox>\n </ng-container>\n </div>\n\n</div>\n<div class=\"d-flex flex-row justify-content-end\">\n <!-- <button seamButton size=\"sm\" theme=\"lightgray\" (click)=\"_onCloseClick()\">Close</button> -->\n <!-- <button seamButton size=\"sm\" theme=\"lightgray\" class=\"mr-1\">Cancel</button>\n <button seamButton size=\"sm\" theme=\"success\">Done</button> -->\n</div>\n",
2560
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2561
- styles: [":host{display:flex;flex-direction:column}\n"]
2562
- },] }
2563
- ];
2564
- DatatableColumnPreferencesComponent.ctorParameters = function () { return [
2565
- { type: DatatableComponent, decorators: [{ type: i0.Inject, args: [THESEAM_DATATABLE,] }] },
2566
- { type: ColumnsAlterationsManagerService }
2567
- ]; };
2568
-
2569
- var DatatableColumnPreferencesButtonComponent = /** @class */ (function () {
2570
- function DatatableColumnPreferencesButtonComponent(_columnsAlterationsManager) {
2571
- this._columnsAlterationsManager = _columnsAlterationsManager;
2572
- this.icon = freeSolidSvgIcons.faColumns;
2573
- /** @ignore */
2574
- this._actionMenuPositions = [
2575
- {
2576
- originX: 'start',
2577
- originY: 'bottom',
2578
- overlayX: 'end',
2579
- overlayY: 'top',
2580
- },
2581
- {
2582
- originX: 'start',
2583
- originY: 'top',
2584
- overlayX: 'end',
2585
- overlayY: 'bottom',
2586
- },
2587
- {
2588
- originX: 'end',
2589
- originY: 'bottom',
2590
- overlayX: 'start',
2591
- overlayY: 'top',
2592
- },
2593
- {
2594
- originX: 'end',
2595
- originY: 'top',
2596
- overlayX: 'start',
2597
- overlayY: 'bottom',
2598
- },
2599
- ];
2600
- }
2601
- DatatableColumnPreferencesButtonComponent.prototype.ngOnInit = function () { };
2602
- DatatableColumnPreferencesButtonComponent.prototype._resetColumns = function (event) {
2603
- this._columnsAlterationsManager.clear();
2604
- };
2605
- return DatatableColumnPreferencesButtonComponent;
2606
- }());
2607
- DatatableColumnPreferencesButtonComponent.decorators = [
2608
- { type: i0.Component, args: [{
2609
- selector: 'seam-datatable-column-preferences-button',
2610
- template: "<ng-template #colPrefsTpl>\n <seam-datatable-column-preferences></seam-datatable-column-preferences>\n</ng-template>\n\n<seam-menu #menu\n menuClass=\"list-group py-0 border-0 seam-datatable-action-menu\"\n animationType=\"fade\">\n <button seamMenuItem\n type=\"button\"\n class=\"list-group-item list-group-item-action py-1\"\n [seamPopover]=\"colPrefsTpl\">\n Show/Hide Columns\n </button>\n\n <button seamMenuItem\n type=\"button\"\n class=\"list-group-item list-group-item-action py-1\"\n (click)=\"_resetColumns($event)\">\n Reset Columns\n </button>\n</seam-menu>\n\n<button type=\"button\" class=\"btn btn-lightgray btn-sm\"\n [seamMenuToggle]=\"menu\"\n [positions]=\"_actionMenuPositions || []\"\n style=\"padding-left: 10px; padding-right: 10px;\"\n title=\"Column Preferences\">\n <seam-icon [icon]=\"icon\"></seam-icon>\n <span class=\"sr-only\">Column Preferences</span>\n</button>\n\n",
2611
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2612
- styles: [""]
2613
- },] }
2614
- ];
2615
- DatatableColumnPreferencesButtonComponent.ctorParameters = function () { return [
2616
- { type: ColumnsAlterationsManagerService }
2617
- ]; };
2618
-
2619
- var DatatableExportButtonComponent = /** @class */ (function () {
2620
- function DatatableExportButtonComponent(_datatable, _toastr, _loading, _valueHelper, _data) {
2621
- this._datatable = _datatable;
2622
- this._toastr = _toastr;
2623
- this._loading = _loading;
2624
- this._valueHelper = _valueHelper;
2625
- this._data = _data;
2626
- this.icon = freeSolidSvgIcons.faFileDownload;
2627
- if (this._data && this._data.exporters) {
2628
- this.exporters = this._data.exporters;
2629
- }
2630
- }
2631
- Object.defineProperty(DatatableExportButtonComponent.prototype, "disabled", {
2632
- get: function () {
2633
- return !(this.exporters && this.exporters.length > 0);
2634
- },
2635
- enumerable: false,
2636
- configurable: true
2637
- });
2638
- DatatableExportButtonComponent.prototype.ngOnInit = function () { };
2639
- DatatableExportButtonComponent.prototype._onExporterClicked = function (exporter) {
2640
- var _this = this;
2641
- if (!exporter.export) {
2642
- var msg = i0.isDevMode()
2643
- ? "Exporter '" + exporter.name + "' is missing an export method."
2644
- : exporter.label + " export is not available.";
2645
- this._toastr.error(msg, 'Data Export');
2646
- }
2647
- var export$ = rxjs.combineLatest([
2648
- this._datatable.rows$,
2649
- this._datatable.columns$.pipe(operators.map(function (cols) { return cols.filter(function (c) { return !isInternalColumn(c); }); }))
2650
- ]).pipe(operators.take(1), operators.map(function (_a) {
2651
- var _b = __read(_a, 2), rows = _b[0], columns = _b[1];
2652
- if (exporter.skipDataMapping) {
2653
- return rows;
2654
- }
2655
- return _this._mapExportData(columns || [], rows);
2656
- }), operators.concatMap(function (data) { return exporter.export(data); }), operators.catchError(function (err) {
2657
- console.error(err);
2658
- return rxjs.of(false);
2659
- }), operators.tap(function (success) {
2660
- if (success) {
2661
- _this._toastr.success(exporter.label + " export complete.", 'Data Export');
2662
- }
2663
- else {
2664
- _this._toastr.error(exporter.label + " export failed.", 'Data Export');
2665
- }
2666
- }));
2667
- this._loading.while(export$).subscribe();
2668
- };
2669
- DatatableExportButtonComponent.prototype._mapExportData = function (columns, rows) {
2670
- var e_1, _a, e_2, _b;
2671
- var data = [];
2672
- try {
2673
- for (var rows_1 = __values(rows), rows_1_1 = rows_1.next(); !rows_1_1.done; rows_1_1 = rows_1.next()) {
2674
- var row = rows_1_1.value;
2675
- var newRow = {};
2676
- try {
2677
- for (var columns_1 = (e_2 = void 0, __values(columns)), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
2678
- var col = columns_1_1.value;
2679
- if (!col.exportIgnore) {
2680
- var colName = col.exportHeader || col.name || col.prop;
2681
- if (colName) {
2682
- newRow[colName] = this._rowValue(col, row);
2683
- }
2684
- }
2685
- }
2686
- }
2687
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
2688
- finally {
2689
- try {
2690
- if (columns_1_1 && !columns_1_1.done && (_b = columns_1.return)) _b.call(columns_1);
2691
- }
2692
- finally { if (e_2) throw e_2.error; }
2693
- }
2694
- data.push(newRow);
2695
- }
2696
- }
2697
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2698
- finally {
2699
- try {
2700
- if (rows_1_1 && !rows_1_1.done && (_a = rows_1.return)) _a.call(rows_1);
2701
- }
2702
- finally { if (e_1) throw e_1.error; }
2703
- }
2704
- return data;
2705
- };
2706
- DatatableExportButtonComponent.prototype._rowValue = function (column, row) {
2707
- if (utils.hasProperty(column, 'exportValue')) {
2708
- var context = { value: column.prop ? row[column.prop] : undefined, row: row };
2709
- return this._valueHelper.evalSync(column.exportValue, context);
2710
- }
2711
- var colProp = column.prop;
2712
- if (colProp) {
2713
- return row[colProp];
2714
- }
2715
- return undefined;
2716
- };
2717
- return DatatableExportButtonComponent;
2718
- }());
2719
- DatatableExportButtonComponent.decorators = [
2720
- { type: i0.Component, args: [{
2721
- selector: 'seam-datatable-export-button',
2722
- template: "<seam-menu #menu>\n <button *ngFor=\"let exp of exporters\"\n seamMenuItem\n [icon]=\"exp?.icon\"\n (click)=\"_onExporterClicked(exp)\">\n {{ exp.label }}\n </button>\n</seam-menu>\n<button\n [seamMenuToggle]=\"menu\"\n seamButton\n theme=\"lightgray\"\n size=\"sm\"\n class=\"dropdown-toggle\"\n style=\"padding-left: 10px; padding-right: 10px;\"\n title=\"Export\"\n [disabled]=\"disabled\"\n >\n <seam-icon [icon]=\"icon\" class=\"mr-2\"></seam-icon>\n</button>\n",
2723
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2724
- styles: [":host{display:inline-block}\n"]
2725
- },] }
2726
- ];
2727
- DatatableExportButtonComponent.ctorParameters = function () { return [
2728
- { type: DatatableComponent, decorators: [{ type: i0.Inject, args: [THESEAM_DATATABLE,] }] },
2729
- { type: ngxToastr.ToastrService },
2730
- { type: loading.TheSeamLoadingOverlayService },
2731
- { type: dynamic.DynamicValueHelperService },
2732
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [dynamic.THESEAM_DYNAMIC_DATA,] }] }
2733
- ]; };
2734
- DatatableExportButtonComponent.propDecorators = {
2735
- exporters: [{ type: i0.Input }]
2736
- };
2737
-
2738
- var DatatableMenuBarColumnCenterComponent = /** @class */ (function () {
2739
- function DatatableMenuBarColumnCenterComponent() {
2740
- }
2741
- DatatableMenuBarColumnCenterComponent.prototype.ngOnInit = function () {
2742
- };
2743
- return DatatableMenuBarColumnCenterComponent;
2744
- }());
2745
- DatatableMenuBarColumnCenterComponent.decorators = [
2746
- { type: i0.Component, args: [{
2747
- selector: 'seam-datatable-menu-bar-column-center',
2748
- template: "<ng-content></ng-content>\n",
2749
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2750
- styles: [":host{display:flex;flex-direction:row;flex:1 1 auto;justify-content:center}\n"]
2751
- },] }
2752
- ];
2753
- DatatableMenuBarColumnCenterComponent.ctorParameters = function () { return []; };
2754
-
2755
- var DatatableMenuBarColumnLeftComponent = /** @class */ (function () {
2756
- function DatatableMenuBarColumnLeftComponent() {
2757
- }
2758
- DatatableMenuBarColumnLeftComponent.prototype.ngOnInit = function () {
2759
- };
2760
- return DatatableMenuBarColumnLeftComponent;
2761
- }());
2762
- DatatableMenuBarColumnLeftComponent.decorators = [
2763
- { type: i0.Component, args: [{
2764
- selector: 'seam-datatable-menu-bar-column-left',
2765
- template: "<ng-content></ng-content>\n",
2766
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2767
- styles: [":host{display:flex;flex-direction:row;flex:1 1 0%;justify-content:flex-start}\n"]
2768
- },] }
2769
- ];
2770
- DatatableMenuBarColumnLeftComponent.ctorParameters = function () { return []; };
2771
-
2772
- var DatatableMenuBarColumnRightComponent = /** @class */ (function () {
2773
- function DatatableMenuBarColumnRightComponent() {
2774
- }
2775
- DatatableMenuBarColumnRightComponent.prototype.ngOnInit = function () {
2776
- };
2777
- return DatatableMenuBarColumnRightComponent;
2778
- }());
2779
- DatatableMenuBarColumnRightComponent.decorators = [
2780
- { type: i0.Component, args: [{
2781
- selector: 'seam-datatable-menu-bar-column-right',
2782
- template: "<ng-content></ng-content>\n",
2783
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2784
- styles: [":host{display:flex;flex-direction:row;flex:1 1 0%;justify-content:flex-end}\n"]
2785
- },] }
2786
- ];
2787
- DatatableMenuBarColumnRightComponent.ctorParameters = function () { return []; };
2788
-
2789
- var DatatableMenuBarRowComponent = /** @class */ (function () {
2790
- function DatatableMenuBarRowComponent() {
2791
- }
2792
- DatatableMenuBarRowComponent.prototype.ngOnInit = function () {
2793
- };
2794
- return DatatableMenuBarRowComponent;
2795
- }());
2796
- DatatableMenuBarRowComponent.decorators = [
2797
- { type: i0.Component, args: [{
2798
- selector: 'seam-datatable-menu-bar-row',
2799
- template: "<ng-content></ng-content>\n",
2800
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2801
- styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap}\n"]
2802
- },] }
2803
- ];
2804
- DatatableMenuBarRowComponent.ctorParameters = function () { return []; };
2805
-
2806
- var THESEAM_MENUBAR_ITEM_DATA = new i0.InjectionToken('MenubarItemData');
2807
-
2808
- var DatatableMenuBarTextComponent = /** @class */ (function () {
2809
- function DatatableMenuBarTextComponent(_menuBar, _data) {
2810
- this._menuBar = _menuBar;
2811
- this._data = _data;
2812
- if (utils.notNullOrUndefined(this._data)) {
2813
- if (utils.hasProperty(this._data, 'value')) {
2814
- this.value = this._data.value;
2815
- }
2816
- }
2817
- }
2818
- DatatableMenuBarTextComponent.prototype.ngOnInit = function () { };
2819
- return DatatableMenuBarTextComponent;
2820
- }());
2821
- DatatableMenuBarTextComponent.decorators = [
2822
- { type: i0.Component, args: [{
2823
- selector: 'seam-datatable-menu-bar-text',
2824
- template: "{{ value }}\n",
2825
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2826
- styles: [""]
2827
- },] }
2828
- ];
2829
- DatatableMenuBarTextComponent.ctorParameters = function () { return [
2830
- { type: DatatableMenuBarComponent },
2831
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_MENUBAR_ITEM_DATA,] }] }
2832
- ]; };
2833
- DatatableMenuBarTextComponent.propDecorators = {
2834
- value: [{ type: i0.Input }]
2835
- };
2836
-
2837
- var DatatableActionMenuItemDirective = /** @class */ (function () {
2838
- function DatatableActionMenuItemDirective(_modal, _dynamicComponentLoader, _http) {
2839
- this._modal = _modal;
2840
- this._dynamicComponentLoader = _dynamicComponentLoader;
2841
- this._http = _http;
2842
- this._listGroupItem = true;
2843
- this._listGroupItemAction = true;
2844
- this.click = new i0.EventEmitter();
2845
- }
2846
- DatatableActionMenuItemDirective.prototype.ngOnInit = function () { };
2847
- DatatableActionMenuItemDirective.prototype.ngOnDestroy = function () { };
2848
- return DatatableActionMenuItemDirective;
2849
- }());
2850
- DatatableActionMenuItemDirective.decorators = [
2851
- { type: i0.Directive, args: [{
2852
- selector: '[seamDatatableActionMenuItem]'
2853
- },] }
2854
- ];
2855
- DatatableActionMenuItemDirective.ctorParameters = function () { return [
2856
- { type: modal.Modal },
2857
- { type: dynamicComponentLoader.TheSeamDynamicComponentLoader },
2858
- { type: http.HttpClient, decorators: [{ type: i0.Optional }] }
2859
- ]; };
2860
- DatatableActionMenuItemDirective.propDecorators = {
2861
- _listGroupItem: [{ type: i0.HostBinding, args: ['class.list-group-item',] }],
2862
- _listGroupItemAction: [{ type: i0.HostBinding, args: ['class.list-group-item-action',] }],
2863
- label: [{ type: i0.Input }],
2864
- href: [{ type: i0.Input, args: ['attr.href',] }],
2865
- target: [{ type: i0.Input }],
2866
- queryParams: [{ type: i0.Input }],
2867
- fragment: [{ type: i0.Input }],
2868
- queryParamsHandling: [{ type: i0.Input }],
2869
- preserveFragment: [{ type: i0.Input }],
2870
- skipLocationChange: [{ type: i0.Input }],
2871
- replaceUrl: [{ type: i0.Input }],
2872
- state: [{ type: i0.Input }],
2873
- routerLink: [{ type: i0.Input }],
2874
- confirmDialog: [{ type: i0.Input }],
2875
- row: [{ type: i0.Input }],
2876
- click: [{ type: i0.Output }]
2877
- };
2878
-
2879
- var DatatableActionMenuToggleDirective = /** @class */ (function () {
2880
- function DatatableActionMenuToggleDirective(_elementRef, _viewContainerRef, _overlay) {
2881
- this._elementRef = _elementRef;
2882
- this._viewContainerRef = _viewContainerRef;
2883
- this._overlay = _overlay;
2884
- this._active = false;
2885
- this._actionDown = false;
2886
- }
2887
- DatatableActionMenuToggleDirective.prototype._onKeydown = function (event) {
2888
- if (event.keyCode === keycodes.ESCAPE) {
2889
- this.disable();
2890
- }
2891
- };
2892
- DatatableActionMenuToggleDirective.prototype._onClick = function (event) {
2893
- this.toggle();
2894
- };
2895
- DatatableActionMenuToggleDirective.prototype._mouseDown = function (event) { this.onInputDown(event); };
2896
- DatatableActionMenuToggleDirective.prototype._pointerDown = function (event) { this.onInputDown(event); };
2897
- DatatableActionMenuToggleDirective.prototype._mouseUp = function (event) { this.onInputUp(event); };
2898
- DatatableActionMenuToggleDirective.prototype._pointerUp = function (event) { this.onInputUp(event); };
2899
- Object.defineProperty(DatatableActionMenuToggleDirective.prototype, "active", {
2900
- get: function () { return this._active; },
2901
- enumerable: false,
2902
- configurable: true
2903
- });
2904
- DatatableActionMenuToggleDirective.prototype.toggle = function () {
2905
- if (this._active) {
2906
- this.disable();
2907
- }
2908
- else {
2909
- this.enable();
2910
- }
2911
- };
2912
- DatatableActionMenuToggleDirective.prototype.enable = function () {
2913
- if (this.active) {
2914
- return;
2915
- }
2916
- if (!this.seamDatatableActionMenuToggle) {
2917
- return;
2918
- }
2919
- this._overlayRef = this._overlay.create({
2920
- hasBackdrop: false,
2921
- positionStrategy: this.getOverlayPosition(this._elementRef.nativeElement),
2922
- });
2923
- this._overlayRef.attach(new portal.TemplatePortal(this.seamDatatableActionMenuToggle, this._viewContainerRef));
2924
- this._active = true;
2925
- };
2926
- DatatableActionMenuToggleDirective.prototype.disable = function () {
2927
- var _a;
2928
- if (!this.active) {
2929
- return;
2930
- }
2931
- if ((_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) {
2932
- this._overlayRef.detach();
2933
- }
2934
- this._active = false;
2935
- };
2936
- DatatableActionMenuToggleDirective.prototype.getOverlayPosition = function (origin) {
2937
- var positionStrategy = this._overlay.position()
2938
- .flexibleConnectedTo(origin)
2939
- .withPositions(this.getPositions())
2940
- .withFlexibleDimensions(false)
2941
- .withPush(false);
2942
- return positionStrategy;
2943
- };
2944
- DatatableActionMenuToggleDirective.prototype.getPositions = function () {
2945
- return [
2946
- {
2947
- originX: 'start',
2948
- originY: 'bottom',
2949
- overlayX: 'end',
2950
- overlayY: 'top',
2951
- },
2952
- {
2953
- originX: 'start',
2954
- originY: 'top',
2955
- overlayX: 'end',
2956
- overlayY: 'bottom',
2957
- },
2958
- {
2959
- originX: 'end',
2960
- originY: 'bottom',
2961
- overlayX: 'start',
2962
- overlayY: 'top',
2963
- },
2964
- {
2965
- originX: 'end',
2966
- originY: 'top',
2967
- overlayX: 'start',
2968
- overlayY: 'bottom',
2969
- },
2970
- ];
2971
- };
2972
- DatatableActionMenuToggleDirective.prototype.onFocusChangeOverlay = function (event) {
2973
- if (event === null) {
2974
- if (!this._actionDown) {
2975
- // this.disable()
2976
- }
2977
- }
2978
- };
2979
- DatatableActionMenuToggleDirective.prototype.onInputDown = function (event) {
2980
- this._actionDown = true;
2981
- };
2982
- DatatableActionMenuToggleDirective.prototype.onInputUp = function (event) {
2983
- this._actionDown = false;
2984
- };
2985
- return DatatableActionMenuToggleDirective;
2986
- }());
2987
- DatatableActionMenuToggleDirective.decorators = [
2988
- { type: i0.Directive, args: [{
2989
- selector: '[seamDatatableActionMenuToggle]',
2990
- exportAs: 'seamDatatableActionMenuToggle'
2991
- },] }
2992
- ];
2993
- DatatableActionMenuToggleDirective.ctorParameters = function () { return [
2994
- { type: i0.ElementRef },
2995
- { type: i0.ViewContainerRef },
2996
- { type: overlay.Overlay }
2997
- ]; };
2998
- DatatableActionMenuToggleDirective.propDecorators = {
2999
- seamDatatableActionMenuToggle: [{ type: i0.Input }],
3000
- _onKeydown: [{ type: i0.HostListener, args: ['document:keydown', ['$event'],] }],
3001
- _onClick: [{ type: i0.HostListener, args: ['click', ['$event'],] }],
3002
- _mouseDown: [{ type: i0.HostListener, args: ['mousedown', ['$event'],] }],
3003
- _pointerDown: [{ type: i0.HostListener, args: ['pointerdown', ['$event'],] }],
3004
- _mouseUp: [{ type: i0.HostListener, args: ['mouseup', ['$event'],] }],
3005
- _pointerUp: [{ type: i0.HostListener, args: ['pointerup', ['$event'],] }]
3006
- };
3007
-
3008
- var DatatableGqlDataSource = /** @class */ (function (_super) {
3009
- __extends(DatatableGqlDataSource, _super);
3010
- function DatatableGqlDataSource() {
3011
- return _super !== null && _super.apply(this, arguments) || this;
3012
- }
3013
- DatatableGqlDataSource.prototype.connect = function (collectionViewer) {
3014
- throw new Error('Method not implemented.');
3015
- // return combineLatest([
3016
- // this.sorts$,
3017
- // this.filterStates$,
3018
- // this.page$
3019
- // ]).pipe()
3020
- };
3021
- DatatableGqlDataSource.prototype.disconnect = function (collectionViewer) {
3022
- throw new Error('Method not implemented.');
3023
- };
3024
- return DatatableGqlDataSource;
3025
- }(DatatableDataSource));
3026
-
3027
- var TheSeamDatatableScrollbarHelperService = /** @class */ (function () {
3028
- function TheSeamDatatableScrollbarHelperService(_ngZone, _scrollbars) {
3029
- this._ngZone = _ngZone;
3030
- this._scrollbars = _scrollbars;
3031
- this.width = 0;
3032
- /**
3033
- * Animates programmatic scrolling, such as switching pages.
3034
- *
3035
- * NOTE: Animating the scrolling works, but the datatable may need changes
3036
- * before this is enabled, because it seems a little stuttery when it moves.
3037
- */
3038
- this.animatedScrolling = false;
3039
- this.animatedScrollingTime = 250;
3040
- }
3041
- TheSeamDatatableScrollbarHelperService.prototype.onInitScroller = function (scroller) {
3042
- var _this = this;
3043
- this._scrollbars.initializeInstance(scroller.parentElement, {
3044
- callbacks: {
3045
- onScroll: function (e) {
3046
- _this._ngZone.run(function () {
3047
- scroller.onScrolled(e);
3048
- });
3049
- }
3050
- }
3051
- });
3052
- };
3053
- TheSeamDatatableScrollbarHelperService.prototype.onDestroyScroller = function (scroller) {
3054
- this._scrollbars.destroyInstance(scroller.parentElement);
3055
- };
3056
- TheSeamDatatableScrollbarHelperService.prototype.setOffset = function (scroller, offsetY) {
3057
- var _this = this;
3058
- this._ngZone.runOutsideAngular(function () {
3059
- if (_this.animatedScrolling) {
3060
- _this._scrollbars.getInstance(scroller.parentElement)
3061
- .scroll({ y: offsetY }, _this.animatedScrollingTime);
3062
- }
3063
- else {
3064
- _this._scrollbars.getInstance(scroller.parentElement)
3065
- .scroll({ y: offsetY });
3066
- }
3067
- });
3068
- };
3069
- return TheSeamDatatableScrollbarHelperService;
3070
- }());
3071
- TheSeamDatatableScrollbarHelperService.decorators = [
3072
- { type: i0.Injectable }
3073
- ];
3074
- TheSeamDatatableScrollbarHelperService.ctorParameters = function () { return [
3075
- { type: i0.NgZone },
3076
- { type: scrollbar.OverlayScrollbarsService }
3077
- ]; };
3078
-
3079
- function withStoredColumnInfo(columns, preferenceColumns) {
3080
- var e_1, _a;
3081
- var _columns = [];
3082
- var _loop_1 = function (col) {
3083
- var storedCol = preferenceColumns.find(function (v) { return v.prop === col.prop; });
3084
- if (storedCol) {
3085
- var _col = Object.assign({}, col);
3086
- if (utils.hasProperty(storedCol, 'width')) {
3087
- _col.width = Math.max(storedCol.width, 0);
3088
- }
3089
- _col.canAutoResize = storedCol.canAutoResize;
3090
- _columns.push(_col);
3091
- }
3092
- else {
3093
- _columns.push(col);
3094
- }
3095
- };
3096
- try {
3097
- for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
3098
- var col = columns_1_1.value;
3099
- _loop_1(col);
3100
- }
3101
- }
3102
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3103
- finally {
3104
- try {
3105
- if (columns_1_1 && !columns_1_1.done && (_a = columns_1.return)) _a.call(columns_1);
3106
- }
3107
- finally { if (e_1) throw e_1.error; }
3108
- }
3109
- return _columns;
3110
- }
3111
-
3112
- var TheSeamDatatableModule = /** @class */ (function () {
3113
- function TheSeamDatatableModule() {
3114
- }
3115
- return TheSeamDatatableModule;
3116
- }());
3117
- TheSeamDatatableModule.decorators = [
3118
- { type: i0.NgModule, args: [{
3119
- declarations: [
3120
- DatatableComponent,
3121
- DatatableCellTplDirective,
3122
- DatatableColumnComponent,
3123
- DatatableActionMenuComponent,
3124
- DatatableActionMenuToggleDirective,
3125
- DatatableActionMenuItemComponent,
3126
- DatatableMenuBarComponent,
3127
- DatatableFilterDirective,
3128
- DatatableRowActionItemDirective,
3129
- DatatableExportButtonComponent,
3130
- TheSeamDatatableRowDetailDirective,
3131
- DatatableRowDetailTplDirective,
3132
- TheSeamDatatableFooterDirective,
3133
- DatatableFooterTplDirective,
3134
- DatatableColumnPreferencesComponent,
3135
- DatatableColumnPreferencesButtonComponent,
3136
- DatatableActionMenuItemDirective,
3137
- DatatableMenuBarRowComponent,
3138
- DatatableMenuBarColumnLeftComponent,
3139
- DatatableMenuBarColumnCenterComponent,
3140
- DatatableMenuBarColumnRightComponent,
3141
- DatatableMenuBarTextComponent,
3142
- ],
3143
- imports: [
3144
- common.CommonModule,
3145
- ngxDatatable.NgxDatatableModule,
3146
- angularFontawesome.FontAwesomeModule,
3147
- overlay.OverlayModule,
3148
- a11y.A11yModule,
3149
- shared.TheSeamSharedModule,
3150
- router.RouterModule,
3151
- menu.TheSeamMenuModule,
3152
- buttons.TheSeamButtonsModule,
3153
- icon.TheSeamIconModule,
3154
- ngxToastr.ToastrModule,
3155
- loading.TheSeamLoadingModule,
3156
- portal.PortalModule,
3157
- confirmDialog.TheSeamConfirmDialogModule,
3158
- popover.TheSeamPopoverModule,
3159
- checkbox.TheSeamCheckboxModule,
3160
- formField.TheSeamFormFieldModule,
3161
- forms.ReactiveFormsModule,
3162
- tableCellType.TheSeamTableCellTypeModule
3163
- ],
3164
- exports: [
3165
- DatatableComponent,
3166
- DatatableCellTplDirective,
3167
- DatatableColumnComponent,
3168
- DatatableActionMenuComponent,
3169
- DatatableActionMenuItemComponent,
3170
- DatatableMenuBarComponent,
3171
- DatatableFilterDirective,
3172
- DatatableRowActionItemDirective,
3173
- DatatableExportButtonComponent,
3174
- TheSeamDatatableRowDetailDirective,
3175
- DatatableRowDetailTplDirective,
3176
- TheSeamDatatableFooterDirective,
3177
- DatatableFooterTplDirective,
3178
- DatatableColumnPreferencesComponent,
3179
- DatatableColumnPreferencesButtonComponent,
3180
- DatatableActionMenuItemDirective,
3181
- DatatableMenuBarRowComponent,
3182
- DatatableMenuBarColumnLeftComponent,
3183
- DatatableMenuBarColumnCenterComponent,
3184
- DatatableMenuBarColumnRightComponent,
3185
- DatatableMenuBarTextComponent
3186
- ],
3187
- providers: [
3188
- { provide: ngxDatatable.ScrollbarHelper, useClass: TheSeamDatatableScrollbarHelperService }
3189
- ],
3190
- entryComponents: [
3191
- DatatableColumnPreferencesComponent,
3192
- DatatableExportButtonComponent,
3193
- DatatableMenuBarTextComponent
3194
- ]
3195
- },] }
3196
- ];
3197
-
3198
- /**
3199
- * Generated bundle index. Do not edit.
3200
- */
3201
-
3202
- exports.CURRENT_DATATABLE_PREFERENCES_VERSION = CURRENT_DATATABLE_PREFERENCES_VERSION;
3203
- exports.DatatableActionMenuComponent = DatatableActionMenuComponent;
3204
- exports.DatatableActionMenuItemComponent = DatatableActionMenuItemComponent;
3205
- exports.DatatableActionMenuItemDirective = DatatableActionMenuItemDirective;
3206
- exports.DatatableActionMenuToggleDirective = DatatableActionMenuToggleDirective;
3207
- exports.DatatableCellTplDirective = DatatableCellTplDirective;
3208
- exports.DatatableColumnChangesService = DatatableColumnChangesService;
3209
- exports.DatatableColumnComponent = DatatableColumnComponent;
3210
- exports.DatatableColumnPreferencesButtonComponent = DatatableColumnPreferencesButtonComponent;
3211
- exports.DatatableColumnPreferencesComponent = DatatableColumnPreferencesComponent;
3212
- exports.DatatableComponent = DatatableComponent;
3213
- exports.DatatableDataSource = DatatableDataSource;
3214
- exports.DatatableExportButtonComponent = DatatableExportButtonComponent;
3215
- exports.DatatableFilterDirective = DatatableFilterDirective;
3216
- exports.DatatableFooterTplDirective = DatatableFooterTplDirective;
3217
- exports.DatatableGqlDataSource = DatatableGqlDataSource;
3218
- exports.DatatableMenuBarColumnCenterComponent = DatatableMenuBarColumnCenterComponent;
3219
- exports.DatatableMenuBarColumnLeftComponent = DatatableMenuBarColumnLeftComponent;
3220
- exports.DatatableMenuBarColumnRightComponent = DatatableMenuBarColumnRightComponent;
3221
- exports.DatatableMenuBarComponent = DatatableMenuBarComponent;
3222
- exports.DatatableMenuBarRowComponent = DatatableMenuBarRowComponent;
3223
- exports.DatatableMenuBarTextComponent = DatatableMenuBarTextComponent;
3224
- exports.DatatablePreferencesService = DatatablePreferencesService;
3225
- exports.DatatableRowActionItemDirective = DatatableRowActionItemDirective;
3226
- exports.DatatableRowDetailTplDirective = DatatableRowDetailTplDirective;
3227
- exports.EMPTY_DATATABLE_PREFERENCES = EMPTY_DATATABLE_PREFERENCES;
3228
- exports.THESEAM_DATATABLE = THESEAM_DATATABLE;
3229
- exports.THESEAM_DATATABLE_PREFERENCES_ACCESSOR = THESEAM_DATATABLE_PREFERENCES_ACCESSOR;
3230
- exports.THESEAM_MENUBAR_ITEM_DATA = THESEAM_MENUBAR_ITEM_DATA;
3231
- exports.TheSeamDatatableFooterDirective = TheSeamDatatableFooterDirective;
3232
- exports.TheSeamDatatableModule = TheSeamDatatableModule;
3233
- exports.TheSeamDatatableRowDetailDirective = TheSeamDatatableRowDetailDirective;
3234
- exports.TheSeamDatatableScrollbarHelperService = TheSeamDatatableScrollbarHelperService;
3235
- exports._THESEAM_DATATABLE = _THESEAM_DATATABLE;
3236
- exports._THESEAM_DATATABLE_ACCESSOR = _THESEAM_DATATABLE_ACCESSOR;
3237
- exports._THESEAM_DATA_FILTER_CONTAINER = _THESEAM_DATA_FILTER_CONTAINER;
3238
- exports.withStoredColumnInfo = withStoredColumnInfo;
3239
- exports["ɵa"] = THESEAM_DATATABLE_ACCESSOR;
3240
- exports["ɵb"] = ColumnsManagerService;
3241
- exports["ɵc"] = ColumnsAlterationsManagerService;
3242
-
3243
- Object.defineProperty(exports, '__esModule', { value: true });
3244
-
3245
- }));
3246
- //# sourceMappingURL=theseam-ui-common-datatable.umd.js.map