@theseam/ui-common 0.4.0-beta.5 → 0.4.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 (720) hide show
  1. package/breadcrumbs/breadcrumb.d.ts +1 -1
  2. package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +1 -3
  3. package/breadcrumbs/breadcrumbs-resolver.d.ts +1 -1
  4. package/card/card-body/card-body.component.d.ts +2 -4
  5. package/card/card-footer/card-footer.component.d.ts +1 -4
  6. package/card/card-header/card-header.component.d.ts +1 -4
  7. package/card/card.component.d.ts +1 -4
  8. package/carousel/carousel-slide.directive.d.ts +8 -0
  9. package/carousel/carousel.component.d.ts +85 -0
  10. package/carousel/carousel.module.d.ts +11 -0
  11. package/carousel/index.d.ts +5 -0
  12. package/carousel/public-api.d.ts +3 -0
  13. package/checkbox/checkbox.component.d.ts +2 -4
  14. package/core/common-behaviors/active.d.ts +2 -2
  15. package/core/common-behaviors/constructor.d.ts +1 -1
  16. package/core/common-behaviors/disabled.d.ts +2 -2
  17. package/core/common-behaviors/initialized.d.ts +2 -2
  18. package/core/common-behaviors/size.d.ts +1 -1
  19. package/core/common-behaviors/tabindex.d.ts +1 -1
  20. package/core/common-behaviors/theme.d.ts +1 -1
  21. package/data-exporter/data-exporter.d.ts +1 -1
  22. package/data-filters/data-filter.d.ts +4 -4
  23. package/data-filters/filters/data-filter-search/search-filter-options.d.ts +1 -1
  24. package/datatable/datatable-column/datatable-column.component.d.ts +3 -4
  25. package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +1 -3
  26. package/datatable/datatable-export-button/datatable-export-button.component.d.ts +1 -3
  27. package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +2 -5
  28. package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +1 -4
  29. package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +1 -4
  30. package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +1 -4
  31. package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +1 -4
  32. package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +1 -3
  33. package/datatable/directives/datatable-action-menu-item.directive.d.ts +2 -4
  34. package/datatable/models/preferences.d.ts +1 -1
  35. package/datatable/models/table-column.d.ts +1 -1
  36. package/datatable/services/columns-manager.service.d.ts +1 -1
  37. package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +1 -3
  38. package/datatable-dynamic/datatable-dynamic-def.d.ts +3 -3
  39. package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +3 -4
  40. package/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.d.ts +1 -1
  41. package/datatable-dynamic/datatable-dynamic.component.d.ts +1 -4
  42. package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +3 -4
  43. package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +1 -1
  44. package/dynamic/action/modal/dynamic-action-modal-def.d.ts +1 -1
  45. package/dynamic/models/dynamic-value-base-type.d.ts +1 -1
  46. package/dynamic/models/dynamic-value-evaluatable-type.d.ts +1 -1
  47. package/dynamic/models/dynamic-value-primitive.d.ts +1 -1
  48. package/dynamic/models/dynamic-value.d.ts +1 -1
  49. package/dynamic/tokens/api-config.d.ts +1 -1
  50. package/esm2020/asset-reader/asset-reader-helper.service.mjs +7 -5
  51. package/esm2020/asset-reader/asset-reader.module.mjs +4 -4
  52. package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +12 -12
  53. package/esm2020/breadcrumbs/breadcrumb.mjs +1 -1
  54. package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +4 -5
  55. package/esm2020/breadcrumbs/breadcrumbs-resolver.mjs +1 -1
  56. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +5 -5
  57. package/esm2020/breadcrumbs/breadcrumbs.service.mjs +7 -7
  58. package/esm2020/buttons/badge-button/badge-button.component.mjs +9 -7
  59. package/esm2020/buttons/button/button.component.mjs +12 -10
  60. package/esm2020/buttons/buttons.module.mjs +4 -4
  61. package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +4 -4
  62. package/esm2020/buttons/toggle-button/toggle-button.component.mjs +7 -7
  63. package/esm2020/card/card-action/card-action.component.mjs +4 -4
  64. package/esm2020/card/card-body/card-body.component.mjs +5 -6
  65. package/esm2020/card/card-footer/card-footer.component.mjs +5 -8
  66. package/esm2020/card/card-header/card-header.component.mjs +5 -7
  67. package/esm2020/card/card.component.mjs +5 -7
  68. package/esm2020/card/card.module.mjs +4 -4
  69. package/esm2020/carousel/carousel-slide.directive.mjs +16 -0
  70. package/esm2020/carousel/carousel.component.mjs +211 -0
  71. package/esm2020/carousel/carousel.module.mjs +38 -0
  72. package/esm2020/carousel/public-api.mjs +4 -0
  73. package/esm2020/carousel/theseam-ui-common-carousel.mjs +5 -0
  74. package/esm2020/checkbox/checkbox.component.mjs +44 -45
  75. package/esm2020/checkbox/checkbox.module.mjs +4 -4
  76. package/esm2020/checkbox/testing/checkbox.harness.mjs +1 -1
  77. package/esm2020/checkbox/testing/index.mjs +1 -1
  78. package/esm2020/confirm-dialog/confirm-click.directive.mjs +11 -11
  79. package/esm2020/confirm-dialog/confirm-dialog.component.mjs +3 -3
  80. package/esm2020/confirm-dialog/confirm-dialog.module.mjs +4 -4
  81. package/esm2020/confirm-dialog/confirm-dialog.service.mjs +3 -3
  82. package/esm2020/core/common-behaviors/active.mjs +4 -3
  83. package/esm2020/core/common-behaviors/disabled.mjs +4 -3
  84. package/esm2020/core/common-behaviors/initialized.mjs +2 -1
  85. package/esm2020/core/common-behaviors/size.mjs +6 -6
  86. package/esm2020/core/common-behaviors/tabindex.mjs +6 -5
  87. package/esm2020/core/common-behaviors/theme.mjs +6 -6
  88. package/esm2020/core/input-decorators/input-boolean.decorator.mjs +4 -5
  89. package/esm2020/core/input-decorators/input-number.decorator.mjs +4 -5
  90. package/esm2020/data-exporter/data-exporter.module.mjs +4 -4
  91. package/esm2020/data-exporter/exporters/csv-exporter.mjs +3 -3
  92. package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +3 -3
  93. package/esm2020/data-filters/data-filter.mjs +1 -1
  94. package/esm2020/data-filters/data-filters.module.mjs +4 -4
  95. package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +11 -11
  96. package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +12 -12
  97. package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +18 -15
  98. package/esm2020/datatable/datatable/datatable.component.mjs +114 -109
  99. package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +3 -3
  100. package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +5 -4
  101. package/esm2020/datatable/datatable-column/datatable-column.component.mjs +7 -8
  102. package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +3 -3
  103. package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +4 -5
  104. package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +8 -8
  105. package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +3 -3
  106. package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +5 -5
  107. package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +5 -9
  108. package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +5 -8
  109. package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +5 -8
  110. package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +5 -8
  111. package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +5 -8
  112. package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +4 -5
  113. package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +3 -3
  114. package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +5 -5
  115. package/esm2020/datatable/datatable.module.mjs +4 -4
  116. package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +5 -6
  117. package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +11 -11
  118. package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +3 -3
  119. package/esm2020/datatable/directives/datatable-filter.directive.mjs +3 -3
  120. package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +3 -3
  121. package/esm2020/datatable/models/columns-alteration.mjs +1 -1
  122. package/esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs +3 -1
  123. package/esm2020/datatable/models/datatable-gql-data-source.mjs +1 -1
  124. package/esm2020/datatable/models/internal-column-props.mjs +1 -1
  125. package/esm2020/datatable/models/sort-item.mjs +1 -1
  126. package/esm2020/datatable/services/columns-alterations-manager.service.mjs +4 -4
  127. package/esm2020/datatable/services/columns-manager.service.mjs +5 -5
  128. package/esm2020/datatable/services/datatable-column-changes.service.mjs +3 -3
  129. package/esm2020/datatable/services/datatable-preferences.service.mjs +7 -6
  130. package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +5 -5
  131. package/esm2020/datatable/utils/map-columns-alterations-states.mjs +4 -1
  132. package/esm2020/datatable/utils/set-column-defaults.mjs +2 -2
  133. package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +13 -14
  134. package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +8 -8
  135. package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +8 -9
  136. package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs +1 -1
  137. package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +8 -10
  138. package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +4 -4
  139. package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +9 -9
  140. package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +7 -7
  141. package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +6 -6
  142. package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +11 -8
  143. package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +6 -5
  144. package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +4 -4
  145. package/esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs +1 -1
  146. package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +4 -4
  147. package/esm2020/dynamic/dynamic-value-helper.service.mjs +5 -4
  148. package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +4 -4
  149. package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +5 -5
  150. package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +4 -4
  151. package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +9 -9
  152. package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +5 -8
  153. package/esm2020/footer-bar/footer-bar.module.mjs +5 -5
  154. package/esm2020/form-field/form-field-error.directive.mjs +6 -6
  155. package/esm2020/form-field/form-field-help-text.directive.mjs +3 -3
  156. package/esm2020/form-field/form-field-label-tpl.directive.mjs +3 -3
  157. package/esm2020/form-field/form-field-required-indicator.component.mjs +4 -4
  158. package/esm2020/form-field/form-field.component.mjs +49 -49
  159. package/esm2020/form-field/form-field.module.mjs +4 -4
  160. package/esm2020/form-field/input.directive.mjs +49 -48
  161. package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +1 -1
  162. package/esm2020/form-field/testing/index.mjs +1 -1
  163. package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +5 -7
  164. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +4 -4
  165. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +3 -3
  166. package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +96 -96
  167. package/esm2020/form-field-error/form-field-error.module.mjs +4 -4
  168. package/esm2020/framework/base-layout/base-layout.component.mjs +7 -6
  169. package/esm2020/framework/base-layout/base-layout.module.mjs +5 -5
  170. package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +3 -3
  171. package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +3 -3
  172. package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +3 -3
  173. package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +10 -10
  174. package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +3 -3
  175. package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +3 -3
  176. package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +3 -3
  177. package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +5 -7
  178. package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +4 -5
  179. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +7 -7
  180. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +6 -5
  181. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +18 -18
  182. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +15 -13
  183. package/esm2020/framework/dashboard/dashboard.component.mjs +5 -5
  184. package/esm2020/framework/dashboard/dashboard.module.mjs +4 -4
  185. package/esm2020/framework/dynamic-router/dynamic-route-def.mjs +1 -1
  186. package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +5 -5
  187. package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs +1 -1
  188. package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +5 -6
  189. package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +5 -6
  190. package/esm2020/framework/schema-form/schema-form-framework.component.mjs +3 -3
  191. package/esm2020/framework/schema-form/schema-form-framework.mjs +3 -3
  192. package/esm2020/framework/schema-form/schema-form.module.mjs +4 -4
  193. package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +3 -3
  194. package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +4 -4
  195. package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +3 -3
  196. package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +3 -3
  197. package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +3 -3
  198. package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +3 -3
  199. package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +5 -4
  200. package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +25 -25
  201. package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +5 -6
  202. package/esm2020/framework/side-nav/side-nav-utils.mjs +2 -1
  203. package/esm2020/framework/side-nav/side-nav.component.mjs +19 -20
  204. package/esm2020/framework/side-nav/side-nav.module.mjs +4 -4
  205. package/esm2020/framework/side-nav/side-nav.service.mjs +3 -3
  206. package/esm2020/framework/top-bar/top-bar-item.directive.mjs +3 -3
  207. package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +3 -3
  208. package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +4 -6
  209. package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +3 -3
  210. package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +5 -7
  211. package/esm2020/framework/top-bar/top-bar.component.mjs +4 -6
  212. package/esm2020/framework/top-bar/top-bar.module.mjs +4 -4
  213. package/esm2020/google-maps/google-maps/google-maps.component.mjs +36 -39
  214. package/esm2020/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.mjs +103 -0
  215. package/esm2020/google-maps/google-maps-api-loader/noop-google-maps-api-loader.mjs +25 -0
  216. package/esm2020/google-maps/google-maps-contextmenu.mjs +9 -8
  217. package/esm2020/google-maps/google-maps-controls.service.mjs +3 -3
  218. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +24 -25
  219. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +12 -12
  220. package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +9 -9
  221. package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +9 -9
  222. package/esm2020/google-maps/google-maps.module.mjs +4 -4
  223. package/esm2020/google-maps/google-maps.service.mjs +9 -9
  224. package/esm2020/google-maps/map-control.component.mjs +9 -9
  225. package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +4 -4
  226. package/esm2020/google-maps/map-value-manager.service.mjs +3 -3
  227. package/esm2020/google-maps/public-api.mjs +4 -1
  228. package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +5 -31
  229. package/esm2020/graphql/datatable/datatable-graphql.service.mjs +4 -4
  230. package/esm2020/graphql/datatable/datatable-helpers.mjs +2 -2
  231. package/esm2020/graphql/datatable/map-filter-states.mjs +2 -1
  232. package/esm2020/graphql/utils/inline-variables.mjs +2 -1
  233. package/esm2020/graphql/utils/parse-hints.mjs +3 -3
  234. package/esm2020/graphql/utils/to-gql.mjs +3 -3
  235. package/esm2020/icon/icon/icon.component.mjs +5 -5
  236. package/esm2020/icon/icon-btn/icon-btn.component.mjs +24 -25
  237. package/esm2020/icon/icon-notification/icon-notification.component.mjs +3 -3
  238. package/esm2020/icon/icon.module.mjs +4 -4
  239. package/esm2020/icon/utils/get-known-icon.mjs +71 -71
  240. package/esm2020/layout/breakpoint-aliases.mjs +1 -1
  241. package/esm2020/layout/layout.module.mjs +4 -4
  242. package/esm2020/layout/layout.service.mjs +3 -3
  243. package/esm2020/layout/observe-media-query.mjs +1 -1
  244. package/esm2020/loading/loading/loading.component.mjs +5 -6
  245. package/esm2020/loading/loading-overlay.service.mjs +3 -3
  246. package/esm2020/loading/loading.module.mjs +4 -4
  247. package/esm2020/menu/menu-divider.component.mjs +3 -3
  248. package/esm2020/menu/menu-footer/menu-footer.component.mjs +3 -3
  249. package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +7 -7
  250. package/esm2020/menu/menu-header/menu-header.component.mjs +3 -3
  251. package/esm2020/menu/menu-item.component.mjs +4 -5
  252. package/esm2020/menu/menu-toggle.directive.mjs +42 -42
  253. package/esm2020/menu/menu.component.mjs +15 -15
  254. package/esm2020/menu/menu.module.mjs +4 -4
  255. package/esm2020/modal/directives/modal-close.directive.mjs +11 -11
  256. package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +3 -3
  257. package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +3 -3
  258. package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +3 -3
  259. package/esm2020/modal/directives/modal-title.directive.mjs +3 -3
  260. package/esm2020/modal/directives/modal.directive.mjs +5 -5
  261. package/esm2020/modal/modal/modal.component.mjs +20 -21
  262. package/esm2020/modal/modal-body/modal-body.component.mjs +5 -7
  263. package/esm2020/modal/modal-config.mjs +1 -1
  264. package/esm2020/modal/modal-container/modal-container.component.mjs +12 -12
  265. package/esm2020/modal/modal-footer/modal-footer.component.mjs +5 -7
  266. package/esm2020/modal/modal-header/modal-header.component.mjs +5 -7
  267. package/esm2020/modal/modal-ref.mjs +1 -1
  268. package/esm2020/modal/modal.module.mjs +4 -4
  269. package/esm2020/modal/modal.service.mjs +38 -35
  270. package/esm2020/modal/route-modal/route-modal.component.mjs +4 -5
  271. package/esm2020/popover/popover/popover.component.mjs +18 -18
  272. package/esm2020/popover/popover.directive.mjs +32 -32
  273. package/esm2020/popover/popover.module.mjs +5 -5
  274. package/esm2020/progress/progress-circle/progress-circle.component.mjs +5 -5
  275. package/esm2020/progress/progress.module.mjs +4 -4
  276. package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +10 -11
  277. package/esm2020/scrollbar/overlay-scrollbars.service.mjs +4 -4
  278. package/esm2020/scrollbar/scrollbar.module.mjs +4 -4
  279. package/esm2020/services/asset-loader.service.mjs +5 -6
  280. package/esm2020/services/font-loader.service.mjs +5 -6
  281. package/esm2020/services/router-helpers.service.mjs +3 -3
  282. package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +3 -3
  283. package/esm2020/shared/directives/auto-focus.directive.mjs +3 -3
  284. package/esm2020/shared/directives/click-outside.directive.mjs +9 -9
  285. package/esm2020/shared/directives/disable-control.directive.mjs +7 -7
  286. package/esm2020/shared/directives/elem-resized.directive.mjs +5 -5
  287. package/esm2020/shared/directives/hover-class-toggle.directive.mjs +10 -10
  288. package/esm2020/shared/directives/hover-class.directive.mjs +9 -9
  289. package/esm2020/shared/directives/ng-select-extra.directive.mjs +29 -29
  290. package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +11 -11
  291. package/esm2020/shared/pipes/mask-chars.pipe.mjs +3 -3
  292. package/esm2020/shared/pipes/truncate.pipe.mjs +3 -3
  293. package/esm2020/shared/shared.module.mjs +4 -4
  294. package/esm2020/storage/local-storage.service.mjs +8 -8
  295. package/esm2020/storage/localstorage-memory.mjs +4 -4
  296. package/esm2020/story-helpers/arg-type-helpers.mjs +1 -1
  297. package/esm2020/story-helpers/initial-route.service.mjs +3 -3
  298. package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +2 -1
  299. package/esm2020/story-helpers/public-api.mjs +2 -2
  300. package/esm2020/story-helpers/story-empty-with-route.component.mjs +3 -3
  301. package/esm2020/story-helpers/story-empty.component.mjs +3 -3
  302. package/esm2020/story-helpers/story-helper-components.module.mjs +4 -4
  303. package/esm2020/story-helpers/story-initial-route.mjs +4 -4
  304. package/esm2020/story-helpers/story-modal-container.component.mjs +6 -6
  305. package/esm2020/story-helpers/story-toastr.service.mjs +3 -3
  306. package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +5 -5
  307. package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +5 -4
  308. package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +5 -7
  309. package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +5 -6
  310. package/esm2020/tabbed/tabbed.component.mjs +13 -13
  311. package/esm2020/tabbed/tabbed.module.mjs +4 -4
  312. package/esm2020/tabbed/tabbed.service.mjs +5 -5
  313. package/esm2020/table/table/table.component.mjs +12 -13
  314. package/esm2020/table/table.module.mjs +4 -4
  315. package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +5 -5
  316. package/esm2020/table-cell-type/table-cell-type-export-props.mjs +1 -1
  317. package/esm2020/table-cell-type/table-cell-type-models.mjs +1 -1
  318. package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +5 -6
  319. package/esm2020/table-cell-type/table-cell-type.module.mjs +4 -4
  320. package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +12 -12
  321. package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +8 -12
  322. package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +14 -14
  323. package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +37 -37
  324. package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +14 -14
  325. package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +8 -9
  326. package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +11 -10
  327. package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +7 -8
  328. package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +30 -27
  329. package/esm2020/table-cell-types/table-cell-types.module.mjs +4 -4
  330. package/esm2020/tel-input/intl-tel-input.mjs +2 -2
  331. package/esm2020/tel-input/phone-number.pipe.mjs +3 -3
  332. package/esm2020/tel-input/tel-input/tel-input.component.mjs +35 -36
  333. package/esm2020/tel-input/tel-input.directive.mjs +18 -18
  334. package/esm2020/tel-input/tel-input.module.mjs +4 -4
  335. package/esm2020/tel-input/utils/add-country-code.mjs +4 -4
  336. package/esm2020/tel-input/utils/process-country-codes.mjs +4 -7
  337. package/esm2020/testing/story-expect.mjs +2 -1
  338. package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +21 -22
  339. package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +6 -7
  340. package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +6 -7
  341. package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +3 -3
  342. package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +3 -3
  343. package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +3 -3
  344. package/esm2020/tiled-select/testing/index.mjs +1 -1
  345. package/esm2020/tiled-select/tiled-select.module.mjs +4 -4
  346. package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +5 -8
  347. package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +3 -3
  348. package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +3 -3
  349. package/esm2020/toggle-edit/toggle-edit.component.mjs +19 -19
  350. package/esm2020/toggle-edit/toggle-edit.module.mjs +4 -4
  351. package/esm2020/toggle-group/toggle-group-option.directive.mjs +12 -12
  352. package/esm2020/toggle-group/toggle-group.directive.mjs +6 -6
  353. package/esm2020/toggle-group/toggle-group.module.mjs +4 -4
  354. package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +5 -5
  355. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +5 -8
  356. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +5 -4
  357. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +4 -4
  358. package/esm2020/utils/array-move.mjs +1 -1
  359. package/esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs +3 -3
  360. package/esm2020/utils/file-utils.mjs +2 -2
  361. package/esm2020/utils/form/get-control-path.mjs +6 -5
  362. package/esm2020/utils/geo-json/geo-json-to-area.mjs +3 -3
  363. package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +1 -1
  364. package/esm2020/utils/geo-json/min-max-points.validator.mjs +5 -5
  365. package/esm2020/utils/geo-json/read-geo-file.mjs +3 -2
  366. package/esm2020/utils/has-property.mjs +2 -2
  367. package/esm2020/utils/load-style-sheet.mjs +2 -2
  368. package/esm2020/utils/load-style.mjs +2 -2
  369. package/esm2020/utils/obj-utils.mjs +2 -2
  370. package/esm2020/utils/polling-ticker.mjs +2 -2
  371. package/esm2020/utils/router/operators/activated-routes-with-data-property.mjs +2 -2
  372. package/esm2020/utils/router/route-snapshot-path-full.mjs +2 -2
  373. package/esm2020/utils/router/route-snapshot-path-relative.mjs +2 -2
  374. package/esm2020/utils/router/will-have-data-prop.mjs +3 -3
  375. package/esm2020/utils/subscriber-count.mjs +2 -1
  376. package/esm2020/utils/toggle-attribute.mjs +6 -5
  377. package/esm2020/utils/wait-on-condition-async.mjs +5 -5
  378. package/esm2020/vertical-list-filter/public-api.mjs +3 -0
  379. package/esm2020/vertical-list-filter/testing/index.mjs +2 -0
  380. package/esm2020/vertical-list-filter/testing/vertical-list-filter.harness.mjs +28 -0
  381. package/esm2020/vertical-list-filter/theseam-ui-common-vertical-list-filter.mjs +5 -0
  382. package/esm2020/vertical-list-filter/vertical-list-filter.component.mjs +52 -0
  383. package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +37 -37
  384. package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +4 -4
  385. package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +11 -10
  386. package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +4 -4
  387. package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +39 -38
  388. package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +4 -4
  389. package/esm2020/widget/directives/widget-drag-handle.directive.mjs +15 -15
  390. package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +3 -3
  391. package/esm2020/widget/directives/widget-title-tpl.directive.mjs +3 -3
  392. package/esm2020/widget/widget/widget.component.mjs +3 -3
  393. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +5 -8
  394. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +4 -4
  395. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +5 -8
  396. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +4 -4
  397. package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +3 -3
  398. package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +4 -4
  399. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +9 -10
  400. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +4 -4
  401. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +5 -7
  402. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +4 -4
  403. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +5 -8
  404. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +4 -4
  405. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +5 -5
  406. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +4 -4
  407. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +3 -3
  408. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +16 -19
  409. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +5 -7
  410. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +4 -4
  411. package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +5 -5
  412. package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +4 -4
  413. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +6 -9
  414. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +9 -10
  415. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +5 -8
  416. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +5 -5
  417. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +17 -16
  418. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +10 -10
  419. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +5 -8
  420. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +4 -4
  421. package/esm2020/widget/widget-footer/widget-footer.component.mjs +5 -7
  422. package/esm2020/widget/widget-registry.service.mjs +6 -5
  423. package/esm2020/widget/widget.module.mjs +7 -7
  424. package/fesm2015/theseam-ui-common-asset-reader.mjs +21 -19
  425. package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -1
  426. package/fesm2015/theseam-ui-common-breadcrumbs.mjs +13 -14
  427. package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -1
  428. package/fesm2015/theseam-ui-common-buttons.mjs +32 -28
  429. package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -1
  430. package/fesm2015/theseam-ui-common-card.mjs +23 -31
  431. package/fesm2015/theseam-ui-common-card.mjs.map +1 -1
  432. package/fesm2015/theseam-ui-common-carousel.mjs +265 -0
  433. package/fesm2015/theseam-ui-common-carousel.mjs.map +1 -0
  434. package/fesm2015/theseam-ui-common-checkbox.mjs +47 -48
  435. package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -1
  436. package/fesm2015/theseam-ui-common-confirm-dialog.mjs +20 -20
  437. package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -1
  438. package/fesm2015/theseam-ui-common-core.mjs +28 -26
  439. package/fesm2015/theseam-ui-common-core.mjs.map +1 -1
  440. package/fesm2015/theseam-ui-common-data-exporter.mjs +10 -10
  441. package/fesm2015/theseam-ui-common-data-filters.mjs +42 -39
  442. package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -1
  443. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +55 -59
  444. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
  445. package/fesm2015/theseam-ui-common-datatable.mjs +229 -237
  446. package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -1
  447. package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +12 -12
  448. package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +1 -1
  449. package/fesm2015/theseam-ui-common-dynamic.mjs +36 -26
  450. package/fesm2015/theseam-ui-common-dynamic.mjs.map +1 -1
  451. package/fesm2015/theseam-ui-common-footer-bar.mjs +8 -11
  452. package/fesm2015/theseam-ui-common-footer-bar.mjs.map +1 -1
  453. package/fesm2015/theseam-ui-common-form-field-error.mjs +109 -111
  454. package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -1
  455. package/fesm2015/theseam-ui-common-form-field.mjs +114 -113
  456. package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -1
  457. package/fesm2015/theseam-ui-common-framework.mjs +216 -223
  458. package/fesm2015/theseam-ui-common-framework.mjs.map +1 -1
  459. package/fesm2015/theseam-ui-common-google-maps.mjs +246 -126
  460. package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -1
  461. package/fesm2015/theseam-ui-common-graphql.mjs +14 -38
  462. package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -1
  463. package/fesm2015/theseam-ui-common-icon.mjs +104 -105
  464. package/fesm2015/theseam-ui-common-icon.mjs.map +1 -1
  465. package/fesm2015/theseam-ui-common-layout.mjs +7 -7
  466. package/fesm2015/theseam-ui-common-layout.mjs.map +1 -1
  467. package/fesm2015/theseam-ui-common-loading.mjs +11 -12
  468. package/fesm2015/theseam-ui-common-loading.mjs.map +1 -1
  469. package/fesm2015/theseam-ui-common-menu.mjs +79 -80
  470. package/fesm2015/theseam-ui-common-menu.mjs.map +1 -1
  471. package/fesm2015/theseam-ui-common-modal.mjs +112 -117
  472. package/fesm2015/theseam-ui-common-modal.mjs.map +1 -1
  473. package/fesm2015/theseam-ui-common-popover.mjs +52 -52
  474. package/fesm2015/theseam-ui-common-popover.mjs.map +1 -1
  475. package/fesm2015/theseam-ui-common-progress.mjs +8 -8
  476. package/fesm2015/theseam-ui-common-progress.mjs.map +1 -1
  477. package/fesm2015/theseam-ui-common-scrollbar.mjs +16 -17
  478. package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -1
  479. package/fesm2015/theseam-ui-common-services.mjs +11 -13
  480. package/fesm2015/theseam-ui-common-services.mjs.map +1 -1
  481. package/fesm2015/theseam-ui-common-shared.mjs +89 -89
  482. package/fesm2015/theseam-ui-common-shared.mjs.map +1 -1
  483. package/fesm2015/theseam-ui-common-storage.mjs +10 -10
  484. package/fesm2015/theseam-ui-common-storage.mjs.map +1 -1
  485. package/fesm2015/theseam-ui-common-story-helpers.mjs +27 -102
  486. package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -1
  487. package/fesm2015/theseam-ui-common-tabbed.mjs +36 -38
  488. package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -1
  489. package/fesm2015/theseam-ui-common-table-cell-type.mjs +12 -13
  490. package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +1 -1
  491. package/fesm2015/theseam-ui-common-table-cell-types.mjs +136 -138
  492. package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -1
  493. package/fesm2015/theseam-ui-common-table.mjs +15 -16
  494. package/fesm2015/theseam-ui-common-table.mjs.map +1 -1
  495. package/fesm2015/theseam-ui-common-tel-input.mjs +67 -71
  496. package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -1
  497. package/fesm2015/theseam-ui-common-testing.mjs.map +1 -1
  498. package/fesm2015/theseam-ui-common-tiled-select.mjs +43 -46
  499. package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -1
  500. package/fesm2015/theseam-ui-common-toggle-edit.mjs +32 -35
  501. package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -1
  502. package/fesm2015/theseam-ui-common-toggle-group.mjs +20 -20
  503. package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -1
  504. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +16 -18
  505. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -1
  506. package/fesm2015/theseam-ui-common-utils.mjs +36 -32
  507. package/fesm2015/theseam-ui-common-utils.mjs.map +1 -1
  508. package/fesm2015/theseam-ui-common-vertical-list-filter.mjs +96 -0
  509. package/fesm2015/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
  510. package/fesm2015/theseam-ui-common-viewers.mjs +95 -93
  511. package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -1
  512. package/fesm2015/theseam-ui-common-widget.mjs +182 -209
  513. package/fesm2015/theseam-ui-common-widget.mjs.map +1 -1
  514. package/fesm2020/theseam-ui-common-asset-reader.mjs +21 -19
  515. package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -1
  516. package/fesm2020/theseam-ui-common-breadcrumbs.mjs +13 -14
  517. package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -1
  518. package/fesm2020/theseam-ui-common-buttons.mjs +32 -28
  519. package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -1
  520. package/fesm2020/theseam-ui-common-card.mjs +23 -31
  521. package/fesm2020/theseam-ui-common-card.mjs.map +1 -1
  522. package/fesm2020/theseam-ui-common-carousel.mjs +265 -0
  523. package/fesm2020/theseam-ui-common-carousel.mjs.map +1 -0
  524. package/fesm2020/theseam-ui-common-checkbox.mjs +47 -48
  525. package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -1
  526. package/fesm2020/theseam-ui-common-confirm-dialog.mjs +20 -20
  527. package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -1
  528. package/fesm2020/theseam-ui-common-core.mjs +28 -26
  529. package/fesm2020/theseam-ui-common-core.mjs.map +1 -1
  530. package/fesm2020/theseam-ui-common-data-exporter.mjs +10 -10
  531. package/fesm2020/theseam-ui-common-data-filters.mjs +42 -39
  532. package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -1
  533. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +55 -59
  534. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
  535. package/fesm2020/theseam-ui-common-datatable.mjs +229 -237
  536. package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -1
  537. package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +12 -12
  538. package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +1 -1
  539. package/fesm2020/theseam-ui-common-dynamic.mjs +36 -26
  540. package/fesm2020/theseam-ui-common-dynamic.mjs.map +1 -1
  541. package/fesm2020/theseam-ui-common-footer-bar.mjs +8 -11
  542. package/fesm2020/theseam-ui-common-footer-bar.mjs.map +1 -1
  543. package/fesm2020/theseam-ui-common-form-field-error.mjs +109 -111
  544. package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -1
  545. package/fesm2020/theseam-ui-common-form-field.mjs +114 -113
  546. package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -1
  547. package/fesm2020/theseam-ui-common-framework.mjs +216 -223
  548. package/fesm2020/theseam-ui-common-framework.mjs.map +1 -1
  549. package/fesm2020/theseam-ui-common-google-maps.mjs +243 -126
  550. package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -1
  551. package/fesm2020/theseam-ui-common-graphql.mjs +14 -38
  552. package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -1
  553. package/fesm2020/theseam-ui-common-icon.mjs +104 -105
  554. package/fesm2020/theseam-ui-common-icon.mjs.map +1 -1
  555. package/fesm2020/theseam-ui-common-layout.mjs +16 -8
  556. package/fesm2020/theseam-ui-common-layout.mjs.map +1 -1
  557. package/fesm2020/theseam-ui-common-loading.mjs +11 -12
  558. package/fesm2020/theseam-ui-common-loading.mjs.map +1 -1
  559. package/fesm2020/theseam-ui-common-menu.mjs +77 -78
  560. package/fesm2020/theseam-ui-common-menu.mjs.map +1 -1
  561. package/fesm2020/theseam-ui-common-modal.mjs +112 -117
  562. package/fesm2020/theseam-ui-common-modal.mjs.map +1 -1
  563. package/fesm2020/theseam-ui-common-models.mjs +2 -1
  564. package/fesm2020/theseam-ui-common-models.mjs.map +1 -1
  565. package/fesm2020/theseam-ui-common-popover.mjs +52 -52
  566. package/fesm2020/theseam-ui-common-popover.mjs.map +1 -1
  567. package/fesm2020/theseam-ui-common-progress.mjs +8 -8
  568. package/fesm2020/theseam-ui-common-progress.mjs.map +1 -1
  569. package/fesm2020/theseam-ui-common-scrollbar.mjs +16 -17
  570. package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -1
  571. package/fesm2020/theseam-ui-common-services.mjs +11 -13
  572. package/fesm2020/theseam-ui-common-services.mjs.map +1 -1
  573. package/fesm2020/theseam-ui-common-shared.mjs +89 -89
  574. package/fesm2020/theseam-ui-common-shared.mjs.map +1 -1
  575. package/fesm2020/theseam-ui-common-storage.mjs +10 -10
  576. package/fesm2020/theseam-ui-common-storage.mjs.map +1 -1
  577. package/fesm2020/theseam-ui-common-story-helpers.mjs +27 -98
  578. package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -1
  579. package/fesm2020/theseam-ui-common-tabbed.mjs +36 -38
  580. package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -1
  581. package/fesm2020/theseam-ui-common-table-cell-type.mjs +12 -13
  582. package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +1 -1
  583. package/fesm2020/theseam-ui-common-table-cell-types.mjs +136 -138
  584. package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -1
  585. package/fesm2020/theseam-ui-common-table.mjs +15 -16
  586. package/fesm2020/theseam-ui-common-table.mjs.map +1 -1
  587. package/fesm2020/theseam-ui-common-tel-input.mjs +65 -69
  588. package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -1
  589. package/fesm2020/theseam-ui-common-testing.mjs +1 -0
  590. package/fesm2020/theseam-ui-common-testing.mjs.map +1 -1
  591. package/fesm2020/theseam-ui-common-tiled-select.mjs +43 -46
  592. package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -1
  593. package/fesm2020/theseam-ui-common-toggle-edit.mjs +32 -35
  594. package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -1
  595. package/fesm2020/theseam-ui-common-toggle-group.mjs +20 -20
  596. package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -1
  597. package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +16 -18
  598. package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -1
  599. package/fesm2020/theseam-ui-common-utils.mjs +36 -32
  600. package/fesm2020/theseam-ui-common-utils.mjs.map +1 -1
  601. package/fesm2020/theseam-ui-common-vertical-list-filter.mjs +87 -0
  602. package/fesm2020/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
  603. package/fesm2020/theseam-ui-common-viewers.mjs +95 -93
  604. package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -1
  605. package/fesm2020/theseam-ui-common-widget.mjs +182 -209
  606. package/fesm2020/theseam-ui-common-widget.mjs.map +1 -1
  607. package/footer-bar/footer-bar/footer-bar.component.d.ts +1 -4
  608. package/form-field-error/form-field-error/form-field-error.component.d.ts +1 -4
  609. package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +2 -3
  610. package/framework/base-layout/base-layout-action.d.ts +1 -1
  611. package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +2 -4
  612. package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +2 -3
  613. package/framework/dashboard/dashboard.component.d.ts +0 -1
  614. package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +2 -3
  615. package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +0 -1
  616. package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +1 -1
  617. package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +2 -4
  618. package/framework/side-nav/side-nav.models.d.ts +1 -1
  619. package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +3 -5
  620. package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +1 -4
  621. package/framework/top-bar/top-bar.component.d.ts +2 -4
  622. package/google-maps/google-maps/google-maps.component.d.ts +3 -6
  623. package/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.d.ts +73 -0
  624. package/google-maps/google-maps-api-loader/noop-google-maps-api-loader.d.ts +13 -0
  625. package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +2 -3
  626. package/google-maps/map-value-manager.service.d.ts +1 -1
  627. package/google-maps/public-api.d.ts +3 -0
  628. package/graphql/datatable/datatable-graphql-query-ref.d.ts +2 -3
  629. package/graphql/datatable/datatable-graphql.service.d.ts +1 -1
  630. package/graphql/datatable/datatable-helpers.d.ts +2 -2
  631. package/graphql/datatable/map-filter-states.d.ts +2 -2
  632. package/graphql/datatable/map-page-info.d.ts +1 -1
  633. package/graphql/datatable/mapper-context.d.ts +1 -1
  634. package/graphql/models/gql-datatable-accessor.d.ts +1 -1
  635. package/graphql/models/hint-transformer.d.ts +1 -1
  636. package/icon/icon/icon.component.d.ts +1 -1
  637. package/icon/icon-btn/icon-btn.component.d.ts +2 -3
  638. package/icon/icon.d.ts +1 -1
  639. package/layout/breakpoint-aliases.d.ts +1 -1
  640. package/loading/loading/loading.component.d.ts +1 -4
  641. package/loading/loading.models.d.ts +1 -1
  642. package/menu/menu-item.component.d.ts +2 -3
  643. package/modal/modal/modal.component.d.ts +3 -4
  644. package/modal/modal-body/modal-body.component.d.ts +1 -4
  645. package/modal/modal-config.d.ts +1 -1
  646. package/modal/modal-footer/modal-footer.component.d.ts +1 -4
  647. package/modal/modal-header/modal-header.component.d.ts +1 -4
  648. package/modal/route-modal/route-modal.component.d.ts +2 -3
  649. package/models/component-type.d.ts +1 -1
  650. package/models/size-prefixes.d.ts +1 -1
  651. package/models/size-types.d.ts +1 -1
  652. package/models/theme-prefixes.d.ts +1 -1
  653. package/models/theme-types.d.ts +2 -2
  654. package/package.json +17 -1
  655. package/progress/progress-circle/progress-circle.component.d.ts +0 -1
  656. package/scrollbar/overlay-scrollbar.directive.d.ts +2 -3
  657. package/scrollbar/overlay-scrollbars-config-model.d.ts +1 -1
  658. package/services/asset-loader.service.d.ts +0 -1
  659. package/services/font-loader.service.d.ts +1 -2
  660. package/story-helpers/public-api.d.ts +0 -1
  661. package/tabbed/directives/tabbed-tab-content.directive.d.ts +0 -1
  662. package/tabbed/tabbed-content/tabbed-content.component.d.ts +1 -4
  663. package/tabbed/tabbed-item/tabbed-item.component.d.ts +2 -4
  664. package/tabbed/tabbed.service.d.ts +0 -1
  665. package/table/table/table.component.d.ts +3 -4
  666. package/table-cell-type/table-cell-type-models.d.ts +4 -4
  667. package/table-cell-type/table-cell-type-name.d.ts +1 -1
  668. package/table-cell-type/table-cell-type-selector.component.d.ts +3 -4
  669. package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +1 -1
  670. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +2 -3
  671. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +1 -1
  672. package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +2 -3
  673. package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +1 -1
  674. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +1 -1
  675. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +2 -3
  676. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +1 -1
  677. package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +1 -1
  678. package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +3 -4
  679. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +1 -1
  680. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +2 -3
  681. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +1 -1
  682. package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +2 -3
  683. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +1 -1
  684. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +2 -3
  685. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +1 -1
  686. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +2 -3
  687. package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +1 -1
  688. package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +1 -1
  689. package/tel-input/utils/coerce-phone-number-format.d.ts +1 -1
  690. package/tiled-select/components/tiled-select/tiled-select.component.d.ts +3 -4
  691. package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +1 -4
  692. package/tiled-select/tiled-select.models.d.ts +2 -2
  693. package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +1 -4
  694. package/toggle-group/toggle-group.directive.d.ts +0 -1
  695. package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +1 -4
  696. package/utils/obj-utils.d.ts +2 -2
  697. package/utils/polling-ticker.d.ts +1 -1
  698. package/utils/subscriber-count.d.ts +1 -1
  699. package/vertical-list-filter/index.d.ts +5 -0
  700. package/vertical-list-filter/public-api.d.ts +2 -0
  701. package/vertical-list-filter/testing/index.d.ts +1 -0
  702. package/vertical-list-filter/testing/vertical-list-filter.harness.d.ts +9 -0
  703. package/vertical-list-filter/vertical-list-filter.component.d.ts +17 -0
  704. package/widget/directives/widget-drag-handle.directive.d.ts +1 -1
  705. package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +1 -4
  706. package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +1 -4
  707. package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +2 -3
  708. package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +1 -4
  709. package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +1 -4
  710. package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +2 -3
  711. package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +4 -7
  712. package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +1 -4
  713. package/widget/widget-content-components/widget-table/widget-table.component.d.ts +0 -1
  714. package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +1 -4
  715. package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +2 -3
  716. package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +1 -4
  717. package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +1 -4
  718. package/widget/widget-footer/widget-footer.component.d.ts +1 -4
  719. package/esm2020/story-helpers/args-to-tpl.mjs +0 -72
  720. package/story-helpers/args-to-tpl.d.ts +0 -24
@@ -1,9 +1,9 @@
1
1
  import { __awaiter, __decorate } from 'tslib';
2
2
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
3
3
  import * as i0 from '@angular/core';
4
- import { InjectionToken, Injectable, Injector, Component, ChangeDetectionStrategy, Optional, Inject, Input, HostListener, EventEmitter, forwardRef, HostBinding, Output, ViewChild, Directive, NgModule } from '@angular/core';
4
+ import { InjectionToken, Injectable, Injector, Component, ChangeDetectionStrategy, Optional, Inject, Input, HostListener, EventEmitter, forwardRef, HostBinding, Output, ViewChild, Directive, NgModule, LOCALE_ID } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
- import { Observable, Subject, fromEvent, BehaviorSubject, from, of, interval } from 'rxjs';
6
+ import { Observable, Subject, fromEvent, BehaviorSubject, from, of, interval, defer, throwError } from 'rxjs';
7
7
  import { takeUntil, switchMap, tap, map, catchError, startWith, filter, take, mapTo } from 'rxjs/operators';
8
8
  import { faFileImport, faCrosshairs, faSearchLocation } from '@fortawesome/free-solid-svg-icons';
9
9
  import { mixinDisabled, InputBoolean, InputNumber } from '@theseam/ui-common/core';
@@ -272,16 +272,16 @@ class GoogleMapsContextMenu {
272
272
  this.position = position;
273
273
  this.containerDiv = document.createElement('div');
274
274
  this.containerDiv.style.cursor = 'auto';
275
- this.containerDiv.style.height = '0',
276
- this.containerDiv.style.position = 'absolute';
275
+ this.containerDiv.style.height = '0';
276
+ this.containerDiv.style.position = 'absolute';
277
277
  this.containerDiv.appendChild(content);
278
278
  // Optionally stop clicks, etc., from bubbling up to the map.
279
279
  GoogleMapsContextMenuOverlayView.preventMapHitsAndGesturesFrom(this.containerDiv);
280
280
  }
281
281
  /** Called when the view is added to the map. */
282
282
  onAdd() {
283
- // tslint:disable-next-line: no-non-null-assertion
284
- this.getPanes().floatPane.appendChild(this.containerDiv);
283
+ var _a;
284
+ (_a = this.getPanes()) === null || _a === void 0 ? void 0 : _a.floatPane.appendChild(this.containerDiv);
285
285
  }
286
286
  /** Called when the view is removed from the map. */
287
287
  onRemove() {
@@ -292,15 +292,17 @@ class GoogleMapsContextMenu {
292
292
  }
293
293
  /** Called each frame when the view needs to draw itself. */
294
294
  draw() {
295
- // tslint:disable-next-line: no-non-null-assertion
296
295
  const divPosition = this.getProjection().fromLatLngToDivPixel(this.position);
296
+ if (!divPosition) {
297
+ return;
298
+ }
297
299
  // Hide the popup when it is far out of view.
298
300
  const display = Math.abs(divPosition.x) < 4000 && Math.abs(divPosition.y) < 4000
299
301
  ? 'block'
300
302
  : 'none';
301
303
  if (display === 'block') {
302
- this.containerDiv.style.left = divPosition.x + 'px';
303
- this.containerDiv.style.top = divPosition.y + 'px';
304
+ this.containerDiv.style.left = `${divPosition.x}px`;
305
+ this.containerDiv.style.top = `${divPosition.y}px`;
304
306
  }
305
307
  if (this.containerDiv.style.display !== display) {
306
308
  this.containerDiv.style.display = display;
@@ -382,9 +384,9 @@ class MapValueManagerService {
382
384
  return this._value;
383
385
  }
384
386
  }
385
- MapValueManagerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MapValueManagerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
386
- MapValueManagerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MapValueManagerService });
387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MapValueManagerService, decorators: [{
387
+ MapValueManagerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MapValueManagerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
388
+ MapValueManagerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MapValueManagerService });
389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MapValueManagerService, decorators: [{
388
390
  type: Injectable
389
391
  }], ctorParameters: function () { return []; } });
390
392
 
@@ -399,11 +401,11 @@ const DEFAULT_DRAWING_MANAGER_OPTIONS = () => ({
399
401
  drawingControl: true,
400
402
  drawingControlOptions: {
401
403
  drawingModes: [
402
- google.maps.drawing.OverlayType.POLYGON
403
- ]
404
+ google.maps.drawing.OverlayType.POLYGON,
405
+ ],
404
406
  },
405
407
  polygonOptions: DEFAULT_POLYGON_OPTIONS,
406
- drawingMode: null
408
+ drawingMode: null,
407
409
  });
408
410
  const FEATURE_STYLE_OPTIONS_DEFAULT = {
409
411
  clickable: true,
@@ -420,6 +422,7 @@ const FEATURE_STYLE_OPTIONS_DEFAULT = {
420
422
  };
421
423
  const FEATURE_STYLE_OPTIONS_SELECTED = Object.assign(Object.assign({}, FEATURE_STYLE_OPTIONS_DEFAULT), { draggable: true, editable: true, fillColor: 'green', fillOpacity: 0.7, strokeColor: 'limegreen', strokeOpacity: 1, strokeWeight: 2 });
422
424
  class GoogleMapsService {
425
+ get mapReady() { return this._mapReadySubject.value; }
423
426
  constructor(_mapValueManager, _ngZone, _vcr) {
424
427
  this._mapValueManager = _mapValueManager;
425
428
  this._ngZone = _ngZone;
@@ -431,7 +434,6 @@ class GoogleMapsService {
431
434
  this._allowDrawingHoleInPolygon = false;
432
435
  this.mapReady$ = this._mapReadySubject.asObservable();
433
436
  }
434
- get mapReady() { return this._mapReadySubject.value; }
435
437
  ngOnDestroy() {
436
438
  this._ngUnsubscribe.next();
437
439
  this._ngUnsubscribe.complete();
@@ -572,7 +574,7 @@ class GoogleMapsService {
572
574
  this.googleMap.data.forEach(f => setFeatureSelected(f, false));
573
575
  });
574
576
  // Determine what the style of the features are.
575
- this.googleMap.data.setStyle((feature) => {
577
+ this.googleMap.data.setStyle(feature => {
576
578
  if (isFeatureSelected(feature)) {
577
579
  return FEATURE_STYLE_OPTIONS_SELECTED;
578
580
  }
@@ -725,9 +727,9 @@ class GoogleMapsService {
725
727
  }
726
728
  }
727
729
  }
728
- GoogleMapsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleMapsService, deps: [{ token: MapValueManagerService }, { token: i0.NgZone }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Injectable });
729
- GoogleMapsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleMapsService });
730
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleMapsService, decorators: [{
730
+ GoogleMapsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleMapsService, deps: [{ token: MapValueManagerService }, { token: i0.NgZone }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Injectable });
731
+ GoogleMapsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleMapsService });
732
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleMapsService, decorators: [{
731
733
  type: Injectable
732
734
  }], ctorParameters: function () { return [{ type: MapValueManagerService }, { type: i0.NgZone }, { type: i0.ViewContainerRef }]; } });
733
735
 
@@ -788,9 +790,9 @@ class GoogleMapsControlsService {
788
790
  return new MapControlRef(this._googleMaps, this._componentFactoryResolver, this._injector, control);
789
791
  }
790
792
  }
791
- GoogleMapsControlsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleMapsControlsService, deps: [{ token: GoogleMapsService }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
792
- GoogleMapsControlsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleMapsControlsService });
793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleMapsControlsService, decorators: [{
793
+ GoogleMapsControlsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleMapsControlsService, deps: [{ token: GoogleMapsService }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
794
+ GoogleMapsControlsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleMapsControlsService });
795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleMapsControlsService, decorators: [{
794
796
  type: Injectable
795
797
  }], ctorParameters: function () { return [{ type: GoogleMapsService }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }]; } });
796
798
 
@@ -798,22 +800,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
798
800
  *
799
801
  */
800
802
  class TheSeamGoogleMapsRecenterButtonControlComponent {
803
+ _onClick(event) {
804
+ this._googleMaps.reCenterOnFeatures();
805
+ }
801
806
  constructor(_googleMaps, _data) {
802
807
  this._googleMaps = _googleMaps;
803
808
  this._ngUnsubscribe = new Subject();
804
809
  this._listeners = [];
805
810
  if (_data) {
806
- if (_data.hasOwnProperty('label')) {
811
+ if (Object.prototype.hasOwnProperty.call(_data, 'label')) {
807
812
  this.label = _data.label;
808
813
  }
809
- if (_data.hasOwnProperty('icon')) {
814
+ if (Object.prototype.hasOwnProperty.call(_data, 'icon')) {
810
815
  this.icon = _data.icon;
811
816
  }
812
817
  }
813
818
  }
814
- _onClick(event) {
815
- this._googleMaps.reCenterOnFeatures();
816
- }
817
819
  /** @ignore */
818
820
  ngOnDestroy() {
819
821
  this._listeners.forEach(l => l());
@@ -821,9 +823,9 @@ class TheSeamGoogleMapsRecenterButtonControlComponent {
821
823
  this._ngUnsubscribe.complete();
822
824
  }
823
825
  }
824
- TheSeamGoogleMapsRecenterButtonControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsRecenterButtonControlComponent, deps: [{ token: GoogleMapsService }, { token: MAP_CONTROL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
825
- TheSeamGoogleMapsRecenterButtonControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: TheSeamGoogleMapsRecenterButtonControlComponent, selector: "button[seam-google-maps-recenter-button-control]", inputs: { label: "label", icon: "icon" }, host: { attributes: { "type": "button" }, listeners: { "click": "_onClick(event)" }, properties: { "attr.draggable": "false", "attr.aria-label": "label", "attr.title": "label" }, classAttribute: "gmnoprint gm-control-active" }, ngImport: i0, template: "<seam-icon [icon]=\"icon\" iconType=\"image-fill\"></seam-icon>\n", styles: [":host{background:none rgb(255,255,255);border:0px;margin:10px;padding:11px;text-transform:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:2px;height:40px;width:40px;box-shadow:#0000004d 0 1px 4px -1px;overflow:hidden}\n"], dependencies: [{ kind: "component", type: i2.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
826
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsRecenterButtonControlComponent, decorators: [{
826
+ TheSeamGoogleMapsRecenterButtonControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsRecenterButtonControlComponent, deps: [{ token: GoogleMapsService }, { token: MAP_CONTROL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
827
+ TheSeamGoogleMapsRecenterButtonControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheSeamGoogleMapsRecenterButtonControlComponent, selector: "button[seam-google-maps-recenter-button-control]", inputs: { label: "label", icon: "icon" }, host: { attributes: { "type": "button" }, listeners: { "click": "_onClick(event)" }, properties: { "attr.draggable": "false", "attr.aria-label": "label", "attr.title": "label" }, classAttribute: "gmnoprint gm-control-active" }, ngImport: i0, template: "<seam-icon [icon]=\"icon\" iconType=\"image-fill\"></seam-icon>\n", styles: [":host{background:none rgb(255,255,255);border:0px;margin:10px;padding:11px;text-transform:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:2px;height:40px;width:40px;box-shadow:#0000004d 0 1px 4px -1px;overflow:hidden}\n"], dependencies: [{ kind: "component", type: i2.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
828
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsRecenterButtonControlComponent, decorators: [{
827
829
  type: Component,
828
830
  args: [{ selector: 'button[seam-google-maps-recenter-button-control]', host: {
829
831
  '[attr.draggable]': 'false',
@@ -852,6 +854,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
852
854
  *
853
855
  */
854
856
  class TheSeamGoogleMapsUploadButtonControlComponent {
857
+ _onClick(event) {
858
+ this._fileInputElement.click();
859
+ }
855
860
  constructor(_elementRef, _mapValueManager, _renderer, _googleMaps, _data) {
856
861
  this._elementRef = _elementRef;
857
862
  this._mapValueManager = _mapValueManager;
@@ -860,19 +865,16 @@ class TheSeamGoogleMapsUploadButtonControlComponent {
860
865
  this._ngUnsubscribe = new Subject();
861
866
  this._listeners = [];
862
867
  if (_data) {
863
- if (_data.hasOwnProperty('label')) {
868
+ if (Object.prototype.hasOwnProperty.call(_data, 'label')) {
864
869
  this.label = _data.label;
865
870
  }
866
- if (_data.hasOwnProperty('icon')) {
871
+ if (Object.prototype.hasOwnProperty.call(_data, 'icon')) {
867
872
  this.icon = _data.icon;
868
873
  }
869
874
  }
870
875
  this._fileInputElement = this._createHiddenInput();
871
876
  this._renderer.appendChild(this._elementRef.nativeElement, this._fileInputElement);
872
877
  }
873
- _onClick(event) {
874
- this._fileInputElement.click();
875
- }
876
878
  /** @ignore */
877
879
  ngOnDestroy() {
878
880
  this._listeners.forEach(l => l());
@@ -931,9 +933,9 @@ class TheSeamGoogleMapsUploadButtonControlComponent {
931
933
  this._renderer.appendChild(this._elementRef.nativeElement, this._fileInputElement);
932
934
  }
933
935
  }
934
- TheSeamGoogleMapsUploadButtonControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsUploadButtonControlComponent, deps: [{ token: i0.ElementRef }, { token: MapValueManagerService }, { token: i0.Renderer2 }, { token: GoogleMapsService }, { token: MAP_CONTROL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
935
- TheSeamGoogleMapsUploadButtonControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: TheSeamGoogleMapsUploadButtonControlComponent, selector: "button[seam-google-maps-upload-button-control]", inputs: { label: "label", icon: "icon" }, host: { attributes: { "type": "button" }, listeners: { "click": "_onClick(event)" }, properties: { "attr.draggable": "false", "attr.aria-label": "label", "attr.title": "label" }, classAttribute: "gmnoprint gm-control-active" }, ngImport: i0, template: "<seam-icon [icon]=\"icon\" iconType=\"image-fill\"></seam-icon>\n", styles: [":host{background:none rgb(255,255,255);border:0px;margin:10px;padding:11px;text-transform:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:2px;height:40px;width:40px;box-shadow:#0000004d 0 1px 4px -1px;overflow:hidden}\n"], dependencies: [{ kind: "component", type: i2.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
936
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsUploadButtonControlComponent, decorators: [{
936
+ TheSeamGoogleMapsUploadButtonControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsUploadButtonControlComponent, deps: [{ token: i0.ElementRef }, { token: MapValueManagerService }, { token: i0.Renderer2 }, { token: GoogleMapsService }, { token: MAP_CONTROL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
937
+ TheSeamGoogleMapsUploadButtonControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheSeamGoogleMapsUploadButtonControlComponent, selector: "button[seam-google-maps-upload-button-control]", inputs: { label: "label", icon: "icon" }, host: { attributes: { "type": "button" }, listeners: { "click": "_onClick(event)" }, properties: { "attr.draggable": "false", "attr.aria-label": "label", "attr.title": "label" }, classAttribute: "gmnoprint gm-control-active" }, ngImport: i0, template: "<seam-icon [icon]=\"icon\" iconType=\"image-fill\"></seam-icon>\n", styles: [":host{background:none rgb(255,255,255);border:0px;margin:10px;padding:11px;text-transform:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:2px;height:40px;width:40px;box-shadow:#0000004d 0 1px 4px -1px;overflow:hidden}\n"], dependencies: [{ kind: "component", type: i2.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
938
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsUploadButtonControlComponent, decorators: [{
937
939
  type: Component,
938
940
  args: [{ selector: 'button[seam-google-maps-upload-button-control]', host: {
939
941
  '[attr.draggable]': 'false',
@@ -1074,25 +1076,25 @@ class TheSeamMapFileDropComponent {
1074
1076
  return dataTransfer.types[0] === 'Files';
1075
1077
  }
1076
1078
  }
1077
- TheSeamMapFileDropComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamMapFileDropComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: GoogleMapsService }, { token: MapValueManagerService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1078
- TheSeamMapFileDropComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: TheSeamMapFileDropComponent, selector: "seam-map-file-drop", ngImport: i0, template: "", styles: [":host{display:none;position:absolute;top:0;left:0;width:100%;height:100%;z-index:9999!important;background-color:#1e1e1eb3}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1079
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamMapFileDropComponent, decorators: [{
1079
+ TheSeamMapFileDropComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamMapFileDropComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: GoogleMapsService }, { token: MapValueManagerService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1080
+ TheSeamMapFileDropComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheSeamMapFileDropComponent, selector: "seam-map-file-drop", ngImport: i0, template: "", styles: [":host{display:none;position:absolute;top:0;left:0;width:100%;height:100%;z-index:9999!important;background-color:#1e1e1eb3}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamMapFileDropComponent, decorators: [{
1080
1082
  type: Component,
1081
1083
  args: [{ selector: 'seam-map-file-drop', changeDetection: ChangeDetectionStrategy.OnPush, template: "", styles: [":host{display:none;position:absolute;top:0;left:0;width:100%;height:100%;z-index:9999!important;background-color:#1e1e1eb3}\n"] }]
1082
1084
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: GoogleMapsService }, { type: MapValueManagerService }, { type: i0.Renderer2 }]; } });
1083
1085
 
1084
1086
  class TheSeamMapsControlComponent {
1085
- constructor(_googleMaps, _googleMapsControls) {
1086
- this._googleMaps = _googleMaps;
1087
- this._googleMapsControls = _googleMapsControls;
1088
- this._ngUnsubscribe = new Subject();
1089
- }
1090
1087
  set def(value) {
1091
1088
  if (value !== this._def) {
1092
1089
  this._remove();
1093
1090
  this._def = value;
1094
1091
  }
1095
1092
  }
1093
+ constructor(_googleMaps, _googleMapsControls) {
1094
+ this._googleMaps = _googleMaps;
1095
+ this._googleMapsControls = _googleMapsControls;
1096
+ this._ngUnsubscribe = new Subject();
1097
+ }
1096
1098
  /** @ignore */
1097
1099
  ngOnInit() {
1098
1100
  this._googleMaps.mapReady$.pipe(tap(ready => {
@@ -1125,9 +1127,9 @@ class TheSeamMapsControlComponent {
1125
1127
  this._controlRef = undefined;
1126
1128
  }
1127
1129
  }
1128
- TheSeamMapsControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamMapsControlComponent, deps: [{ token: GoogleMapsService }, { token: MAP_CONTROLS_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
1129
- TheSeamMapsControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: TheSeamMapsControlComponent, selector: "seam-map-control", inputs: { def: "def" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamMapsControlComponent, decorators: [{
1130
+ TheSeamMapsControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamMapsControlComponent, deps: [{ token: GoogleMapsService }, { token: MAP_CONTROLS_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
1131
+ TheSeamMapsControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheSeamMapsControlComponent, selector: "seam-map-control", inputs: { def: "def" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1132
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamMapsControlComponent, decorators: [{
1131
1133
  type: Component,
1132
1134
  args: [{
1133
1135
  selector: 'seam-map-control',
@@ -1153,8 +1155,22 @@ const _TheSeamGoogleMapsMixinBase = mixinDisabled(TheSeamGoogleMapsComponentBase
1153
1155
  * A wrapper for googlemap.
1154
1156
  */
1155
1157
  class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1158
+ set value(value) {
1159
+ this._mapValueManager.setValue(value, MapValueSource.Input);
1160
+ }
1161
+ get value() {
1162
+ return this._mapValueManager.value;
1163
+ }
1164
+ set tabIndex(value) { this._tabIndex = coerceNumberProperty(value); }
1165
+ get tabIndex() { return this._tabIndex; }
1166
+ set fileImportHandler(value) {
1167
+ this._googleMaps.setFileInputHandler(value);
1168
+ }
1169
+ get _attrDisabled() { return this.disabled || null; }
1170
+ get _attrTabIndex() { return this.disabled ? -1 : (this.tabIndex || 0); }
1156
1171
  constructor(elementRef, _focusMonitor, _googleMaps, _mapValueManager, _googleMapsApiLoader) {
1157
1172
  super(elementRef);
1173
+ this.elementRef = elementRef;
1158
1174
  this._focusMonitor = _focusMonitor;
1159
1175
  this._googleMaps = _googleMaps;
1160
1176
  this._mapValueManager = _mapValueManager;
@@ -1192,9 +1208,9 @@ class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1192
1208
  mapTypeControl: true,
1193
1209
  mapTypeId: 'hybrid',
1194
1210
  streetViewControl: false,
1195
- fullscreenControl: this.fullscreenControlEnabled
1211
+ fullscreenControl: this.fullscreenControlEnabled,
1196
1212
  };
1197
- this._focusMonitor.monitor(this._elementRef, true).pipe(tap(origin => this._focusOrigin = origin), takeUntil(this._ngUnsubscribe)).subscribe();
1213
+ this._focusMonitor.monitor(this._elementRef, true).pipe(tap(origin => { this._focusOrigin = origin; }), takeUntil(this._ngUnsubscribe)).subscribe();
1198
1214
  this._mapValueManager.valueChanged.pipe(tap(change => {
1199
1215
  if (this.onChange) {
1200
1216
  this.onChange(change.value);
@@ -1210,20 +1226,6 @@ class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1210
1226
  this._googleMaps.setBaseLatLng(this.latitude, this.longitude);
1211
1227
  this._gmApiLoaded = this._googleMapsApiLoader.load().pipe(map(() => true), catchError(() => of(false)));
1212
1228
  }
1213
- set value(value) {
1214
- this._mapValueManager.setValue(value, MapValueSource.Input);
1215
- }
1216
- get value() {
1217
- return this._mapValueManager.value;
1218
- }
1219
- set tabIndex(value) { this._tabIndex = coerceNumberProperty(value); }
1220
- get tabIndex() { return this._tabIndex; }
1221
- set fileImportHandler(value) {
1222
- this._googleMaps.setFileInputHandler(value);
1223
- }
1224
- get _attrDisabled() { return this.disabled || null; }
1225
- get _attrTabIndex() { return this.disabled ? -1 : (this.tabIndex || 0); }
1226
- /** @ignore */
1227
1229
  ngOnInit() {
1228
1230
  this._googleMaps.setFeatureContextMenu(this.featureContextMenu);
1229
1231
  fromEvent(window, 'keydown').pipe(tap((event) => {
@@ -1246,32 +1248,29 @@ class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1246
1248
  }
1247
1249
  }), takeUntil(this._ngUnsubscribe)).subscribe();
1248
1250
  }
1249
- /** @ignore */
1250
1251
  ngOnDestroy() {
1251
1252
  this._focusMonitor.stopMonitoring(this._elementRef);
1252
1253
  this._ngUnsubscribe.next();
1253
1254
  this._ngUnsubscribe.complete();
1254
1255
  }
1255
- /** @ignore */
1256
- ngAfterViewInit() { }
1257
1256
  ngOnChanges(changes) {
1258
1257
  let updateBase = false;
1259
- if (changes.hasOwnProperty('latitude')) {
1260
- this.latitude = changes['latitude'].currentValue;
1258
+ if (Object.prototype.hasOwnProperty.call(changes, 'latitude')) {
1259
+ this.latitude = changes.latitude.currentValue;
1261
1260
  updateBase = true;
1262
1261
  }
1263
- if (changes.hasOwnProperty('longitude')) {
1264
- this.longitude = changes['longitude'].currentValue;
1262
+ if (Object.prototype.hasOwnProperty.call(changes, 'longitude')) {
1263
+ this.longitude = changes.longitude.currentValue;
1265
1264
  updateBase = true;
1266
1265
  }
1267
1266
  if (updateBase) {
1268
1267
  this._googleMaps.setBaseLatLng(this.latitude, this.longitude);
1269
1268
  }
1270
- if (changes.hasOwnProperty('allowDrawingHoleInPolygon')) {
1269
+ if (Object.prototype.hasOwnProperty.call(changes, 'allowDrawingHoleInPolygon')) {
1271
1270
  this._googleMaps.allowDrawingHoleInPolygon(this.allowDrawingHoleInPolygon);
1272
1271
  }
1273
- if (changes.hasOwnProperty('fullscreenControlEnabled')) {
1274
- const fullscreenControl = coerceBooleanProperty(changes['fullscreenControlEnabled'].currentValue);
1272
+ if (Object.prototype.hasOwnProperty.call(changes, 'fullscreenControlEnabled')) {
1273
+ const fullscreenControl = coerceBooleanProperty(changes.fullscreenControlEnabled.currentValue);
1275
1274
  if (fullscreenControl !== this._options.fullscreenControl) {
1276
1275
  this._options = Object.assign(Object.assign({}, this._options), { fullscreenControl });
1277
1276
  }
@@ -1321,17 +1320,17 @@ class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1321
1320
  this._googleMaps.deleteSelection();
1322
1321
  }
1323
1322
  }
1324
- TheSeamGoogleMapsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsComponent, deps: [{ token: i0.ElementRef }, { token: i1.FocusMonitor }, { token: GoogleMapsService }, { token: MapValueManagerService }, { token: TheSeamGoogleMapsApiLoader }], target: i0.ɵɵFactoryTarget.Component });
1325
- TheSeamGoogleMapsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: TheSeamGoogleMapsComponent, selector: "seam-google-maps", inputs: { disabled: "disabled", value: "value", tabIndex: "tabIndex", fileDropEnabled: "fileDropEnabled", fileUploadControlEnabled: "fileUploadControlEnabled", fullscreenControlEnabled: "fullscreenControlEnabled", reCenterControlEnabled: "reCenterControlEnabled", mapTypeControlEnabled: "mapTypeControlEnabled", streetViewControlEnabled: "streetViewControlEnabled", allowDrawingHoleInPolygon: "allowDrawingHoleInPolygon", fileImportHandler: "fileImportHandler", zoom: "zoom", longitude: "longitude", latitude: "latitude" }, outputs: { mapReady: "mapReady" }, host: { properties: { "attr.disabled": "this._attrDisabled", "attr.tabindex": "this._attrTabIndex" } }, providers: [
1323
+ TheSeamGoogleMapsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsComponent, deps: [{ token: i0.ElementRef }, { token: i1.FocusMonitor }, { token: GoogleMapsService }, { token: MapValueManagerService }, { token: TheSeamGoogleMapsApiLoader }], target: i0.ɵɵFactoryTarget.Component });
1324
+ TheSeamGoogleMapsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheSeamGoogleMapsComponent, selector: "seam-google-maps", inputs: { disabled: "disabled", value: "value", tabIndex: "tabIndex", fileDropEnabled: "fileDropEnabled", fileUploadControlEnabled: "fileUploadControlEnabled", fullscreenControlEnabled: "fullscreenControlEnabled", reCenterControlEnabled: "reCenterControlEnabled", mapTypeControlEnabled: "mapTypeControlEnabled", streetViewControlEnabled: "streetViewControlEnabled", allowDrawingHoleInPolygon: "allowDrawingHoleInPolygon", fileImportHandler: "fileImportHandler", zoom: "zoom", longitude: "longitude", latitude: "latitude" }, outputs: { mapReady: "mapReady" }, host: { properties: { "attr.disabled": "this._attrDisabled", "attr.tabindex": "this._attrTabIndex" } }, providers: [
1326
1325
  MapValueManagerService,
1327
1326
  GoogleMapsService,
1328
1327
  { provide: MAP_CONTROLS_SERVICE, useClass: GoogleMapsControlsService },
1329
1328
  {
1330
1329
  provide: NG_VALUE_ACCESSOR,
1331
- // tslint:disable-next-line: no-use-before-declare
1330
+ // eslint-disable-next-line no-use-before-define
1332
1331
  useExisting: forwardRef(() => TheSeamGoogleMapsComponent),
1333
- multi: true
1334
- }
1332
+ multi: true,
1333
+ },
1335
1334
  ], viewQueries: [{ propertyName: "featureContextMenu", first: true, predicate: ["featureContextMenu"], descendants: true, read: MenuComponent, static: true }], exportAs: ["seamGoogleMaps"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"_gmApiLoaded | async\">\n <google-map\n height=\"100%\"\n width=\"100%\"\n [center]=\"{ lat: latitude, lng: longitude }\"\n [zoom]=\"zoom\"\n [options]=\"_options\"\n (mapInitialized)=\"_onMapReady($any($event))\"\n >\n </google-map>\n</ng-container>\n<seam-menu #featureContextMenu>\n <button seamMenuItem (click)=\"_onClickDeleteFeature()\">Delete</button>\n</seam-menu>\n<seam-map-file-drop *ngIf=\"fileDropEnabled\"></seam-map-file-drop>\n\n<seam-map-control *ngIf=\"fileUploadControlEnabled\" [def]=\"_fileUploadControlDef\"></seam-map-control>\n<seam-map-control *ngIf=\"reCenterControlEnabled\" [def]=\"_reCenterControlDef\"></seam-map-control>\n", styles: [":host{display:block;position:relative;height:400px;width:100%}:host.show-focus-border.cdk-focused{outline:0;box-shadow:0 0 0 .2rem #357ebd40}:host.show-focus-border[disabled]{opacity:.65}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.MenuComponent, selector: "seam-menu", inputs: ["menuClass", "baseWidth", "animationType"], outputs: ["closed"], exportAs: ["seamMenu"] }, { kind: "component", type: i6.MenuItemComponent, selector: "[seamMenuItem]", inputs: ["disabled", "role", "icon", "iconClass", "badgeText", "badgeTheme"], exportAs: ["seamMenuItem"] }, { kind: "component", type: i7.GoogleMap, selector: "google-map", inputs: ["height", "width", "mapTypeId", "center", "zoom", "options"], outputs: ["mapInitialized", "authFailure", "boundsChanged", "centerChanged", "mapClick", "mapDblclick", "mapDrag", "mapDragend", "mapDragstart", "headingChanged", "idle", "maptypeidChanged", "mapMousemove", "mapMouseout", "mapMouseover", "projectionChanged", "mapRightclick", "tilesloaded", "tiltChanged", "zoomChanged"], exportAs: ["googleMap"] }, { kind: "component", type: TheSeamMapFileDropComponent, selector: "seam-map-file-drop" }, { kind: "component", type: TheSeamMapsControlComponent, selector: "seam-map-control", inputs: ["def"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1336
1335
  __decorate([
1337
1336
  InputBoolean()
@@ -1363,20 +1362,20 @@ __decorate([
1363
1362
  __decorate([
1364
1363
  InputNumber()
1365
1364
  ], TheSeamGoogleMapsComponent.prototype, "latitude", void 0);
1366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsComponent, decorators: [{
1365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsComponent, decorators: [{
1367
1366
  type: Component,
1368
1367
  args: [{ selector: 'seam-google-maps', inputs: [
1369
- 'disabled'
1368
+ 'disabled',
1370
1369
  ], providers: [
1371
1370
  MapValueManagerService,
1372
1371
  GoogleMapsService,
1373
1372
  { provide: MAP_CONTROLS_SERVICE, useClass: GoogleMapsControlsService },
1374
1373
  {
1375
1374
  provide: NG_VALUE_ACCESSOR,
1376
- // tslint:disable-next-line: no-use-before-declare
1375
+ // eslint-disable-next-line no-use-before-define
1377
1376
  useExisting: forwardRef(() => TheSeamGoogleMapsComponent),
1378
- multi: true
1379
- }
1377
+ multi: true,
1378
+ },
1380
1379
  ], changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'seamGoogleMaps', template: "<ng-container *ngIf=\"_gmApiLoaded | async\">\n <google-map\n height=\"100%\"\n width=\"100%\"\n [center]=\"{ lat: latitude, lng: longitude }\"\n [zoom]=\"zoom\"\n [options]=\"_options\"\n (mapInitialized)=\"_onMapReady($any($event))\"\n >\n </google-map>\n</ng-container>\n<seam-menu #featureContextMenu>\n <button seamMenuItem (click)=\"_onClickDeleteFeature()\">Delete</button>\n</seam-menu>\n<seam-map-file-drop *ngIf=\"fileDropEnabled\"></seam-map-file-drop>\n\n<seam-map-control *ngIf=\"fileUploadControlEnabled\" [def]=\"_fileUploadControlDef\"></seam-map-control>\n<seam-map-control *ngIf=\"reCenterControlEnabled\" [def]=\"_reCenterControlDef\"></seam-map-control>\n", styles: [":host{display:block;position:relative;height:400px;width:100%}:host.show-focus-border.cdk-focused{outline:0;box-shadow:0 0 0 .2rem #357ebd40}:host.show-focus-border[disabled]{opacity:.65}\n"] }]
1381
1380
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: GoogleMapsService }, { type: MapValueManagerService }, { type: TheSeamGoogleMapsApiLoader }]; }, propDecorators: { value: [{
1382
1381
  type: Input
@@ -1421,6 +1420,9 @@ const SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS = {
1421
1420
  componentRestrictions: { country: 'US' }
1422
1421
  };
1423
1422
  class TheSeamGoogleMapsPlacesAutocompleteDirective {
1423
+ set options(value) {
1424
+ this._options = value || SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1425
+ }
1424
1426
  constructor(_elementRef, _ngZone) {
1425
1427
  this._elementRef = _elementRef;
1426
1428
  this._ngZone = _ngZone;
@@ -1432,9 +1434,6 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1432
1434
  this._attrType = 'text';
1433
1435
  this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
1434
1436
  }
1435
- set options(value) {
1436
- this._options = value || SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1437
- }
1438
1437
  ngOnInit() {
1439
1438
  this._ngZone.runOutsideAngular(() => {
1440
1439
  this._untilGoogleMapsApiLoaded().pipe(takeUntil(this._ngUnsubscribe)).subscribe(() => {
@@ -1489,7 +1488,7 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1489
1488
  */
1490
1489
  setBounds(bounds) {
1491
1490
  this._assertInitialized();
1492
- // tslint:disable-next-line: no-non-null-assertion
1491
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1493
1492
  return this.autoComplete.setBounds(bounds);
1494
1493
  }
1495
1494
  /**
@@ -1499,7 +1498,7 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1499
1498
  */
1500
1499
  setComponentRestrictions(restrictions) {
1501
1500
  this._assertInitialized();
1502
- // tslint:disable-next-line: no-non-null-assertion
1501
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1503
1502
  return this.autoComplete.setComponentRestrictions(restrictions);
1504
1503
  }
1505
1504
  /**
@@ -1509,13 +1508,13 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1509
1508
  */
1510
1509
  setFields(fields) {
1511
1510
  this._assertInitialized();
1512
- // tslint:disable-next-line: no-non-null-assertion
1511
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1513
1512
  return this.autoComplete.setFields(fields);
1514
1513
  }
1515
1514
  /** */
1516
1515
  setOptions(options) {
1517
1516
  this._assertInitialized();
1518
- // tslint:disable-next-line: no-non-null-assertion
1517
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1519
1518
  return this.autoComplete.setOptions(options);
1520
1519
  }
1521
1520
  /**
@@ -1525,7 +1524,7 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1525
1524
  */
1526
1525
  setTypes(types) {
1527
1526
  this._assertInitialized();
1528
- // tslint:disable-next-line: no-non-null-assertion
1527
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1529
1528
  return this.autoComplete.setTypes(types);
1530
1529
  }
1531
1530
  /** Focuses the input. */
@@ -1561,9 +1560,9 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1561
1560
  }
1562
1561
  }
1563
1562
  }
1564
- TheSeamGoogleMapsPlacesAutocompleteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsPlacesAutocompleteDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1565
- TheSeamGoogleMapsPlacesAutocompleteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: TheSeamGoogleMapsPlacesAutocompleteDirective, selector: "input[seamGoogleMapsPlacesAutocomplete]", inputs: { options: "options" }, outputs: { placeChanged: "placeChanged" }, host: { properties: { "attr.type": "this._attrType" } }, exportAs: ["seamGoogleMapsPlacesAutocomplete"], usesOnChanges: true, ngImport: i0 });
1566
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsPlacesAutocompleteDirective, decorators: [{
1563
+ TheSeamGoogleMapsPlacesAutocompleteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsPlacesAutocompleteDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1564
+ TheSeamGoogleMapsPlacesAutocompleteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TheSeamGoogleMapsPlacesAutocompleteDirective, selector: "input[seamGoogleMapsPlacesAutocomplete]", inputs: { options: "options" }, outputs: { placeChanged: "placeChanged" }, host: { properties: { "attr.type": "this._attrType" } }, exportAs: ["seamGoogleMapsPlacesAutocomplete"], usesOnChanges: true, ngImport: i0 });
1565
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsPlacesAutocompleteDirective, decorators: [{
1567
1566
  type: Directive,
1568
1567
  args: [{
1569
1568
  selector: 'input[seamGoogleMapsPlacesAutocomplete]',
@@ -1582,21 +1581,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
1582
1581
  *
1583
1582
  */
1584
1583
  class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1585
- constructor(_elementRef) {
1586
- this._elementRef = _elementRef;
1587
- this._ngUnsubscribe = new Subject();
1588
- this._autoCompleteReadySubject = new Subject();
1589
- this._placeChangedPending = [];
1590
- this.label = 'Search by address, place or name';
1591
- this.icon = faSearchLocation;
1592
- this.disabled = false;
1593
- this.placeholder = 'Enter address, place or name';
1594
- this.autocorrect = 'off';
1595
- this.autocapitalize = 'off';
1596
- this._tabIndex = -1;
1597
- this._options = SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1598
- this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
1599
- }
1600
1584
  /**
1601
1585
  * Set the tab index to `-1` to allow the root element of the
1602
1586
  * component to receive `focus` event from javascript, but not get focused by
@@ -1623,7 +1607,21 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1623
1607
  var _a;
1624
1608
  (_a = this._inputDirective) === null || _a === void 0 ? void 0 : _a.focus();
1625
1609
  }
1626
- ngOnInit() { }
1610
+ constructor(_elementRef) {
1611
+ this._elementRef = _elementRef;
1612
+ this._ngUnsubscribe = new Subject();
1613
+ this._autoCompleteReadySubject = new Subject();
1614
+ this._placeChangedPending = [];
1615
+ this.label = 'Search by address, place or name';
1616
+ this.icon = faSearchLocation;
1617
+ this.disabled = false;
1618
+ this.placeholder = 'Enter address, place or name';
1619
+ this.autocorrect = 'off';
1620
+ this.autocapitalize = 'off';
1621
+ this._tabIndex = -1;
1622
+ this._options = SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1623
+ this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
1624
+ }
1627
1625
  /** @ignore */
1628
1626
  ngOnDestroy() {
1629
1627
  this._ngUnsubscribe.next();
@@ -1663,7 +1661,7 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1663
1661
  */
1664
1662
  setBounds(bounds) {
1665
1663
  this._assertInitialized();
1666
- // tslint:disable-next-line: no-non-null-assertion
1664
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1667
1665
  return this.autoComplete.setBounds(bounds);
1668
1666
  }
1669
1667
  /**
@@ -1673,7 +1671,7 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1673
1671
  */
1674
1672
  setComponentRestrictions(restrictions) {
1675
1673
  this._assertInitialized();
1676
- // tslint:disable-next-line: no-non-null-assertion
1674
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1677
1675
  return this.autoComplete.setComponentRestrictions(restrictions);
1678
1676
  }
1679
1677
  /**
@@ -1683,13 +1681,13 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1683
1681
  */
1684
1682
  setFields(fields) {
1685
1683
  this._assertInitialized();
1686
- // tslint:disable-next-line: no-non-null-assertion
1684
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1687
1685
  return this.autoComplete.setFields(fields);
1688
1686
  }
1689
1687
  /** */
1690
1688
  setOptions(options) {
1691
1689
  this._assertInitialized();
1692
- // tslint:disable-next-line: no-non-null-assertion
1690
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1693
1691
  return this.autoComplete.setOptions(options);
1694
1692
  }
1695
1693
  /**
@@ -1699,7 +1697,7 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1699
1697
  */
1700
1698
  setTypes(types) {
1701
1699
  this._assertInitialized();
1702
- // tslint:disable-next-line: no-non-null-assertion
1700
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1703
1701
  return this.autoComplete.setTypes(types);
1704
1702
  }
1705
1703
  /** Focuses the input. */
@@ -1732,12 +1730,12 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1732
1730
  }
1733
1731
  }
1734
1732
  }
1735
- TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1736
- TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: TheSeamGoogleMapsPlacesAutoCompleteComponent, selector: "seam-google-maps-places-autocomplete", inputs: { label: "label", icon: "icon", disabled: "disabled", placeholder: "placeholder", autocorrect: "autocorrect", autocapitalize: "autocapitalize", tabIndex: "tabIndex", options: "options" }, outputs: { placeChanged: "placeChanged" }, host: { listeners: { "click": "_onClick(event)", "focus": "_onFocus($event)" }, properties: { "attr.tabindex": "this._attrTabIndex" } }, viewQueries: [{ propertyName: "_inputDirective", first: true, predicate: ["inp"], descendants: true, read: InputDirective, static: true }, { propertyName: "__autocompleteDirective", first: true, predicate: TheSeamGoogleMapsPlacesAutocompleteDirective, descendants: true, static: true }], exportAs: ["seamGoogleMapsPlacesAutoComplete"], ngImport: i0, template: "<div *ngIf=\"icon\" class=\"search-container--icon-wrapper\">\r\n <seam-icon [icon]=\"icon\" class=\"text-muted\" size=\"lg\"></seam-icon>\r\n</div>\r\n<label *ngIf=\"label || placeholder\" [attr.for]=\"inp.id\" class=\"sr-only\">{{ label || placeholder }}</label>\r\n<input #inp=\"seamInput\"\r\n seamInput\r\n seamGoogleMapsPlacesAutocomplete\r\n [disabled]=\"disabled\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.autocorrect]=\"autocorrect\"\r\n [attr.autocapitalize]=\"autocapitalize\"\r\n [options]=\"_options\"\r\n/>\r\n", styles: [":host{position:relative;width:100%}:host>input{padding-left:40px}:host .search-container--icon-wrapper{position:absolute;top:6px;left:10px;bottom:0}:host .search-container--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }, { kind: "directive", type: i3.InputDirective, selector: "input[seamInput], textarea[seamInput], ng-select[seamInput], seam-checkbox[seamInput] [ngbRadioGroup], seam-tel-input[seamInput], quill-editor[seamInput], seam-google-maps[seamInput]", inputs: ["seamInputSize", "id", "type", "placeholder", "required", "disabled", "readonly"], exportAs: ["seamInput"] }, { kind: "directive", type: TheSeamGoogleMapsPlacesAutocompleteDirective, selector: "input[seamGoogleMapsPlacesAutocomplete]", inputs: ["options"], outputs: ["placeChanged"], exportAs: ["seamGoogleMapsPlacesAutocomplete"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1733
+ TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1734
+ TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheSeamGoogleMapsPlacesAutoCompleteComponent, selector: "seam-google-maps-places-autocomplete", inputs: { label: "label", icon: "icon", disabled: "disabled", placeholder: "placeholder", autocorrect: "autocorrect", autocapitalize: "autocapitalize", tabIndex: "tabIndex", options: "options" }, outputs: { placeChanged: "placeChanged" }, host: { listeners: { "click": "_onClick(event)", "focus": "_onFocus($event)" }, properties: { "attr.tabindex": "this._attrTabIndex" } }, viewQueries: [{ propertyName: "_inputDirective", first: true, predicate: ["inp"], descendants: true, read: InputDirective, static: true }, { propertyName: "__autocompleteDirective", first: true, predicate: TheSeamGoogleMapsPlacesAutocompleteDirective, descendants: true, static: true }], exportAs: ["seamGoogleMapsPlacesAutoComplete"], ngImport: i0, template: "<div *ngIf=\"icon\" class=\"search-container--icon-wrapper\">\r\n <seam-icon [icon]=\"icon\" class=\"text-muted\" size=\"lg\"></seam-icon>\r\n</div>\r\n<label *ngIf=\"label || placeholder\" [attr.for]=\"inp.id\" class=\"sr-only\">{{ label || placeholder }}</label>\r\n<input #inp=\"seamInput\"\r\n seamInput\r\n seamGoogleMapsPlacesAutocomplete\r\n [disabled]=\"disabled\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.autocorrect]=\"autocorrect\"\r\n [attr.autocapitalize]=\"autocapitalize\"\r\n [options]=\"_options\"\r\n/>\r\n", styles: [":host{position:relative;width:100%}:host>input{padding-left:40px}:host .search-container--icon-wrapper{position:absolute;top:6px;left:10px;bottom:0}:host .search-container--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }, { kind: "directive", type: i3.InputDirective, selector: "input[seamInput], textarea[seamInput], ng-select[seamInput], seam-checkbox[seamInput] [ngbRadioGroup], seam-tel-input[seamInput], quill-editor[seamInput], seam-google-maps[seamInput]", inputs: ["seamInputSize", "id", "type", "placeholder", "required", "disabled", "readonly"], exportAs: ["seamInput"] }, { kind: "directive", type: TheSeamGoogleMapsPlacesAutocompleteDirective, selector: "input[seamGoogleMapsPlacesAutocomplete]", inputs: ["options"], outputs: ["placeChanged"], exportAs: ["seamGoogleMapsPlacesAutocomplete"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1737
1735
  __decorate([
1738
1736
  InputBoolean()
1739
1737
  ], TheSeamGoogleMapsPlacesAutoCompleteComponent.prototype, "disabled", void 0);
1740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, decorators: [{
1738
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, decorators: [{
1741
1739
  type: Component,
1742
1740
  args: [{ selector: 'seam-google-maps-places-autocomplete', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'seamGoogleMapsPlacesAutoComplete', template: "<div *ngIf=\"icon\" class=\"search-container--icon-wrapper\">\r\n <seam-icon [icon]=\"icon\" class=\"text-muted\" size=\"lg\"></seam-icon>\r\n</div>\r\n<label *ngIf=\"label || placeholder\" [attr.for]=\"inp.id\" class=\"sr-only\">{{ label || placeholder }}</label>\r\n<input #inp=\"seamInput\"\r\n seamInput\r\n seamGoogleMapsPlacesAutocomplete\r\n [disabled]=\"disabled\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.autocorrect]=\"autocorrect\"\r\n [attr.autocapitalize]=\"autocapitalize\"\r\n [options]=\"_options\"\r\n/>\r\n", styles: [":host{position:relative;width:100%}:host>input{padding-left:40px}:host .search-container--icon-wrapper{position:absolute;top:6px;left:10px;bottom:0}:host .search-container--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"] }]
1743
1741
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { label: [{
@@ -1777,8 +1775,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
1777
1775
 
1778
1776
  class TheSeamGoogleMapsModule {
1779
1777
  }
1780
- TheSeamGoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1781
- TheSeamGoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, declarations: [TheSeamGoogleMapsComponent,
1778
+ TheSeamGoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1779
+ TheSeamGoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsModule, declarations: [TheSeamGoogleMapsComponent,
1782
1780
  TheSeamMapFileDropComponent,
1783
1781
  TheSeamGoogleMapsUploadButtonControlComponent,
1784
1782
  TheSeamGoogleMapsRecenterButtonControlComponent,
@@ -1793,14 +1791,14 @@ TheSeamGoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
1793
1791
  GoogleMapsModule], exports: [TheSeamGoogleMapsComponent,
1794
1792
  TheSeamGoogleMapsPlacesAutocompleteDirective,
1795
1793
  TheSeamGoogleMapsPlacesAutoCompleteComponent] });
1796
- TheSeamGoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, imports: [CommonModule,
1794
+ TheSeamGoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsModule, imports: [CommonModule,
1797
1795
  ObserversModule,
1798
1796
  TheSeamSharedModule,
1799
1797
  TheSeamMenuModule,
1800
1798
  TheSeamIconModule,
1801
1799
  TheSeamFormFieldModule,
1802
1800
  GoogleMapsModule] });
1803
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, decorators: [{
1801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamGoogleMapsModule, decorators: [{
1804
1802
  type: NgModule,
1805
1803
  args: [{
1806
1804
  declarations: [
@@ -1829,9 +1827,131 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
1829
1827
  }]
1830
1828
  }] });
1831
1829
 
1830
+ /**
1831
+ * Token for the config of the LazyMapsAPILoader. Please provide an object of
1832
+ * type {@link TheSeamLazyMapsApiLoader}.
1833
+ */
1834
+ const THESEAM_LAZY_MAPS_API_CONFIG = new InjectionToken('THESEAM_LAZY_MAPS_API_CONFIG');
1835
+ class TheSeamLazyMapsApiLoader extends TheSeamGoogleMapsApiLoader {
1836
+ constructor(_localeId, config) {
1837
+ super();
1838
+ this._localeId = _localeId;
1839
+ this.config = config;
1840
+ this._SCRIPT_ID = 'seamGoogleMapsApiScript';
1841
+ this.callbackName = `__seamLazyGoogleMapsApiLoader`;
1842
+ this._config = config || {};
1843
+ }
1844
+ load() {
1845
+ if (window.google && window.google.maps) {
1846
+ // Google maps already loaded on the page.
1847
+ return of(undefined);
1848
+ }
1849
+ if (this._scriptLoadingPromise) {
1850
+ return from(this._scriptLoadingPromise);
1851
+ }
1852
+ // This can happen in HMR situations or Stackblitz.io editors.
1853
+ const scriptOnPage = document.getElementById(this._SCRIPT_ID);
1854
+ if (scriptOnPage) {
1855
+ this._assignScriptLoadingPromise(scriptOnPage);
1856
+ return from(this._getScriptLoadingPromise());
1857
+ }
1858
+ const script = document.createElement('script');
1859
+ script.type = 'text/javascript';
1860
+ script.async = true;
1861
+ script.defer = true;
1862
+ script.id = this._SCRIPT_ID;
1863
+ script.src = this._getScriptSrc(this.callbackName);
1864
+ this._assignScriptLoadingPromise(script);
1865
+ document.body.appendChild(script);
1866
+ return from(this._getScriptLoadingPromise());
1867
+ }
1868
+ _assignScriptLoadingPromise(scriptElem) {
1869
+ this._scriptLoadingPromise = new Promise((resolve, reject) => {
1870
+ const win = window;
1871
+ win[this.callbackName] = () => { resolve(); };
1872
+ scriptElem.onerror = (error) => {
1873
+ reject(error);
1874
+ };
1875
+ });
1876
+ }
1877
+ _getScriptLoadingPromise() {
1878
+ if (!this._scriptLoadingPromise) {
1879
+ throw Error(`_scriptLoadingPromise has not been assigned.`);
1880
+ }
1881
+ return this._scriptLoadingPromise;
1882
+ }
1883
+ _getScriptSrc(callbackName) {
1884
+ const hostAndPath = this._config.url || 'https://maps.googleapis.com/maps/api/js';
1885
+ const queryParams = {
1886
+ v: this._config.apiVersion || 'quarterly',
1887
+ callback: callbackName,
1888
+ key: this._config.apiKey,
1889
+ client: this._config.clientId,
1890
+ channel: this._config.channel,
1891
+ libraries: this._config.libraries,
1892
+ region: this._config.region,
1893
+ language: this._config.language || (this._localeId !== 'en-US' ? this._localeId : null),
1894
+ };
1895
+ const params = Object.keys(queryParams)
1896
+ // Remove undefined or null params.
1897
+ .filter((k) => queryParams[k] !== undefined && queryParams[k] !== null)
1898
+ // Remove empty arrays.
1899
+ .filter((k) => {
1900
+ const param = queryParams[k];
1901
+ return !Array.isArray(param) || param.length > 0;
1902
+ })
1903
+ // Join arrays as comma seperated strings.
1904
+ .map((k) => {
1905
+ const param = queryParams[k];
1906
+ return { key: k, value: Array.isArray(param) ? param.join(',') : param };
1907
+ })
1908
+ .map((entry) => {
1909
+ return `${entry.key}=${entry.value}`;
1910
+ })
1911
+ .join('&');
1912
+ return `${hostAndPath}?${params}`;
1913
+ }
1914
+ }
1915
+ TheSeamLazyMapsApiLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamLazyMapsApiLoader, deps: [{ token: LOCALE_ID }, { token: THESEAM_LAZY_MAPS_API_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1916
+ TheSeamLazyMapsApiLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamLazyMapsApiLoader });
1917
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamLazyMapsApiLoader, decorators: [{
1918
+ type: Injectable
1919
+ }], ctorParameters: function () {
1920
+ return [{ type: undefined, decorators: [{
1921
+ type: Inject,
1922
+ args: [LOCALE_ID]
1923
+ }] }, { type: undefined, decorators: [{
1924
+ type: Optional
1925
+ }, {
1926
+ type: Inject,
1927
+ args: [THESEAM_LAZY_MAPS_API_CONFIG]
1928
+ }] }];
1929
+ } });
1930
+
1931
+ /**
1932
+ * When using the TheSeamNoopGoogleMapsAPILoader, the Google Maps API must be
1933
+ * added to the page some other way before the map component is initialixed. One
1934
+ * way would be via a `<script>` Tag.
1935
+ */
1936
+ class TheSeamNoopGoogleMapsAPILoader extends TheSeamGoogleMapsApiLoader {
1937
+ load() {
1938
+ return defer(() => {
1939
+ if (!window.google || !window.google.maps) {
1940
+ return throwError(new Error('Google Maps API not loaded on page. Make sure window.google.maps is available.'));
1941
+ }
1942
+ return of(undefined);
1943
+ });
1944
+ }
1945
+ }
1946
+ TheSeamNoopGoogleMapsAPILoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1947
+ TheSeamNoopGoogleMapsAPILoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader });
1948
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader, decorators: [{
1949
+ type: Injectable
1950
+ }] });
1951
+
1832
1952
  /**
1833
1953
  * Generated bundle index. Do not edit.
1834
1954
  */
1835
1955
 
1836
- export { AppFeaturePropertyName, GoogleMapsContextMenu, GoogleMapsControlsService, GoogleMapsService, MapControlRef, MapValueManagerService, MapValueSource, SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS, TheSeamGoogleMapsComponent, TheSeamGoogleMapsModule, TheSeamGoogleMapsPlacesAutoCompleteComponent, TheSeamGoogleMapsPlacesAutocompleteDirective, TheSeamGoogleMapsRecenterButtonControlComponent, TheSeamGoogleMapsUploadButtonControlComponent, TheSeamMapFileDropComponent, TheSeamMapsControlComponent, addInnerFeatureCutoutToExteriorFeature, createDataFeatureFromPolygon, createFeatureChangeObservable, featureContains, fixPathDifferentStartingAndEndingPoint, getBoundsWithAllFeatures, getFeatureBounds, getFeatureCenter, getFeaturesCount, getPossibleExteriorFeature, isAppFeatureProperty, isFeatureSelected, multiPolygonCoordinates, polygonCoordinates, polygonHasValidPathsLengths, removeAllFeatures, setFeatureSelected, stripAppFeaturePropertiesFromJson, toTurfJsFeature, toTurfJsMultiPolygon, toTurfJsPolygon };
1956
+ export { AppFeaturePropertyName, GoogleMapsContextMenu, GoogleMapsControlsService, GoogleMapsService, MapControlRef, MapValueManagerService, MapValueSource, SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS, THESEAM_LAZY_MAPS_API_CONFIG, TheSeamGoogleMapsApiLoader, TheSeamGoogleMapsComponent, TheSeamGoogleMapsModule, TheSeamGoogleMapsPlacesAutoCompleteComponent, TheSeamGoogleMapsPlacesAutocompleteDirective, TheSeamGoogleMapsRecenterButtonControlComponent, TheSeamGoogleMapsUploadButtonControlComponent, TheSeamLazyMapsApiLoader, TheSeamMapFileDropComponent, TheSeamMapsControlComponent, TheSeamNoopGoogleMapsAPILoader, addInnerFeatureCutoutToExteriorFeature, createDataFeatureFromPolygon, createFeatureChangeObservable, featureContains, fixPathDifferentStartingAndEndingPoint, getBoundsWithAllFeatures, getFeatureBounds, getFeatureCenter, getFeaturesCount, getPossibleExteriorFeature, isAppFeatureProperty, isFeatureSelected, multiPolygonCoordinates, polygonCoordinates, polygonHasValidPathsLengths, removeAllFeatures, setFeatureSelected, stripAppFeaturePropertiesFromJson, toTurfJsFeature, toTurfJsMultiPolygon, toTurfJsPolygon };
1837
1957
  //# sourceMappingURL=theseam-ui-common-google-maps.mjs.map