@theseam/ui-common 0.4.0-beta.5 → 0.4.0-beta.6

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 (519) hide show
  1. package/breadcrumbs/breadcrumb.d.ts +1 -1
  2. package/breadcrumbs/breadcrumbs-resolver.d.ts +1 -1
  3. package/core/common-behaviors/active.d.ts +1 -1
  4. package/core/common-behaviors/constructor.d.ts +1 -1
  5. package/core/common-behaviors/disabled.d.ts +1 -1
  6. package/core/common-behaviors/initialized.d.ts +1 -1
  7. package/core/common-behaviors/size.d.ts +1 -1
  8. package/core/common-behaviors/tabindex.d.ts +1 -1
  9. package/core/common-behaviors/theme.d.ts +1 -1
  10. package/data-exporter/data-exporter.d.ts +1 -1
  11. package/data-filters/data-filter.d.ts +3 -3
  12. package/data-filters/filters/data-filter-search/search-filter-options.d.ts +1 -1
  13. package/datatable/datatable-column/datatable-column.component.d.ts +1 -1
  14. package/datatable/models/preferences.d.ts +1 -1
  15. package/datatable/models/table-column.d.ts +1 -1
  16. package/datatable/services/columns-manager.service.d.ts +1 -1
  17. package/datatable-dynamic/datatable-dynamic-def.d.ts +3 -3
  18. package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +1 -1
  19. package/dynamic/models/dynamic-value-base-type.d.ts +1 -1
  20. package/dynamic/models/dynamic-value-evaluatable-type.d.ts +1 -1
  21. package/dynamic/models/dynamic-value-primitive.d.ts +1 -1
  22. package/dynamic/models/dynamic-value.d.ts +1 -1
  23. package/dynamic/tokens/api-config.d.ts +1 -1
  24. package/esm2020/asset-reader/asset-reader-helper.service.mjs +3 -3
  25. package/esm2020/asset-reader/asset-reader.module.mjs +4 -4
  26. package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +12 -12
  27. package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +3 -3
  28. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +4 -4
  29. package/esm2020/breadcrumbs/breadcrumbs.service.mjs +3 -3
  30. package/esm2020/buttons/badge-button/badge-button.component.mjs +6 -6
  31. package/esm2020/buttons/button/button.component.mjs +9 -9
  32. package/esm2020/buttons/buttons.module.mjs +4 -4
  33. package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +3 -3
  34. package/esm2020/buttons/toggle-button/toggle-button.component.mjs +5 -5
  35. package/esm2020/card/card-action/card-action.component.mjs +3 -3
  36. package/esm2020/card/card-body/card-body.component.mjs +3 -3
  37. package/esm2020/card/card-footer/card-footer.component.mjs +3 -3
  38. package/esm2020/card/card-header/card-header.component.mjs +3 -3
  39. package/esm2020/card/card.component.mjs +3 -3
  40. package/esm2020/card/card.module.mjs +4 -4
  41. package/esm2020/checkbox/checkbox.component.mjs +43 -43
  42. package/esm2020/checkbox/checkbox.module.mjs +4 -4
  43. package/esm2020/confirm-dialog/confirm-click.directive.mjs +9 -9
  44. package/esm2020/confirm-dialog/confirm-dialog.component.mjs +3 -3
  45. package/esm2020/confirm-dialog/confirm-dialog.module.mjs +4 -4
  46. package/esm2020/confirm-dialog/confirm-dialog.service.mjs +3 -3
  47. package/esm2020/core/common-behaviors/active.mjs +3 -3
  48. package/esm2020/core/common-behaviors/disabled.mjs +3 -3
  49. package/esm2020/core/common-behaviors/size.mjs +6 -6
  50. package/esm2020/core/common-behaviors/tabindex.mjs +5 -5
  51. package/esm2020/core/common-behaviors/theme.mjs +6 -6
  52. package/esm2020/data-exporter/data-exporter.module.mjs +4 -4
  53. package/esm2020/data-exporter/exporters/csv-exporter.mjs +3 -3
  54. package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +3 -3
  55. package/esm2020/data-filters/data-filters.module.mjs +4 -4
  56. package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +10 -10
  57. package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +10 -10
  58. package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +11 -11
  59. package/esm2020/datatable/datatable/datatable.component.mjs +108 -108
  60. package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +3 -3
  61. package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +3 -3
  62. package/esm2020/datatable/datatable-column/datatable-column.component.mjs +7 -7
  63. package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +3 -3
  64. package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +3 -3
  65. package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +7 -7
  66. package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +3 -3
  67. package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +3 -3
  68. package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +8 -8
  69. package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +3 -3
  70. package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +3 -3
  71. package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +3 -3
  72. package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +3 -3
  73. package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +3 -3
  74. package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +3 -3
  75. package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +3 -3
  76. package/esm2020/datatable/datatable.module.mjs +4 -4
  77. package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +3 -3
  78. package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +11 -11
  79. package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +3 -3
  80. package/esm2020/datatable/directives/datatable-filter.directive.mjs +3 -3
  81. package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +3 -3
  82. package/esm2020/datatable/services/columns-alterations-manager.service.mjs +3 -3
  83. package/esm2020/datatable/services/columns-manager.service.mjs +3 -3
  84. package/esm2020/datatable/services/datatable-column-changes.service.mjs +3 -3
  85. package/esm2020/datatable/services/datatable-preferences.service.mjs +6 -6
  86. package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +3 -3
  87. package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +12 -12
  88. package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +8 -8
  89. package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +6 -6
  90. package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +8 -8
  91. package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +4 -4
  92. package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +7 -7
  93. package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +3 -3
  94. package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +3 -3
  95. package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +3 -3
  96. package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +3 -3
  97. package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +3 -3
  98. package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +3 -3
  99. package/esm2020/dynamic/dynamic-value-helper.service.mjs +3 -3
  100. package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +3 -3
  101. package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +3 -3
  102. package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +4 -4
  103. package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +3 -3
  104. package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +3 -3
  105. package/esm2020/footer-bar/footer-bar.module.mjs +4 -4
  106. package/esm2020/form-field/form-field-error.directive.mjs +6 -6
  107. package/esm2020/form-field/form-field-help-text.directive.mjs +3 -3
  108. package/esm2020/form-field/form-field-label-tpl.directive.mjs +3 -3
  109. package/esm2020/form-field/form-field-required-indicator.component.mjs +3 -3
  110. package/esm2020/form-field/form-field.component.mjs +48 -48
  111. package/esm2020/form-field/form-field.module.mjs +4 -4
  112. package/esm2020/form-field/input.directive.mjs +43 -43
  113. package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +3 -3
  114. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +3 -3
  115. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +3 -3
  116. package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +92 -92
  117. package/esm2020/form-field-error/form-field-error.module.mjs +4 -4
  118. package/esm2020/framework/base-layout/base-layout.component.mjs +6 -6
  119. package/esm2020/framework/base-layout/base-layout.module.mjs +4 -4
  120. package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +3 -3
  121. package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +3 -3
  122. package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +3 -3
  123. package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +10 -10
  124. package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +3 -3
  125. package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +3 -3
  126. package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +3 -3
  127. package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +3 -3
  128. package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +3 -3
  129. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +3 -3
  130. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +3 -3
  131. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +18 -18
  132. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +12 -12
  133. package/esm2020/framework/dashboard/dashboard.component.mjs +3 -3
  134. package/esm2020/framework/dashboard/dashboard.module.mjs +4 -4
  135. package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +4 -4
  136. package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +3 -3
  137. package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +3 -3
  138. package/esm2020/framework/schema-form/schema-form-framework.component.mjs +3 -3
  139. package/esm2020/framework/schema-form/schema-form-framework.mjs +3 -3
  140. package/esm2020/framework/schema-form/schema-form.module.mjs +4 -4
  141. package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +3 -3
  142. package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +4 -4
  143. package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +3 -3
  144. package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +3 -3
  145. package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +3 -3
  146. package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +3 -3
  147. package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +3 -3
  148. package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +24 -24
  149. package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +3 -3
  150. package/esm2020/framework/side-nav/side-nav.component.mjs +17 -17
  151. package/esm2020/framework/side-nav/side-nav.module.mjs +4 -4
  152. package/esm2020/framework/side-nav/side-nav.service.mjs +3 -3
  153. package/esm2020/framework/top-bar/top-bar-item.directive.mjs +3 -3
  154. package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +3 -3
  155. package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +3 -3
  156. package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +3 -3
  157. package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +3 -3
  158. package/esm2020/framework/top-bar/top-bar.component.mjs +3 -3
  159. package/esm2020/framework/top-bar/top-bar.module.mjs +4 -4
  160. package/esm2020/google-maps/google-maps/google-maps.component.mjs +17 -17
  161. package/esm2020/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.mjs +103 -0
  162. package/esm2020/google-maps/google-maps-api-loader/noop-google-maps-api-loader.mjs +25 -0
  163. package/esm2020/google-maps/google-maps-controls.service.mjs +3 -3
  164. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +19 -19
  165. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +7 -7
  166. package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +7 -7
  167. package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +7 -7
  168. package/esm2020/google-maps/google-maps.module.mjs +4 -4
  169. package/esm2020/google-maps/google-maps.service.mjs +5 -5
  170. package/esm2020/google-maps/map-control.component.mjs +9 -9
  171. package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +3 -3
  172. package/esm2020/google-maps/map-value-manager.service.mjs +3 -3
  173. package/esm2020/google-maps/public-api.mjs +4 -1
  174. package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +5 -5
  175. package/esm2020/graphql/datatable/datatable-graphql.service.mjs +3 -3
  176. package/esm2020/icon/icon/icon.component.mjs +3 -3
  177. package/esm2020/icon/icon-btn/icon-btn.component.mjs +24 -24
  178. package/esm2020/icon/icon-notification/icon-notification.component.mjs +3 -3
  179. package/esm2020/icon/icon.module.mjs +4 -4
  180. package/esm2020/layout/layout.module.mjs +4 -4
  181. package/esm2020/layout/layout.service.mjs +3 -3
  182. package/esm2020/loading/loading/loading.component.mjs +7 -7
  183. package/esm2020/loading/loading-overlay.service.mjs +3 -3
  184. package/esm2020/loading/loading.module.mjs +4 -4
  185. package/esm2020/menu/menu-divider.component.mjs +3 -3
  186. package/esm2020/menu/menu-footer/menu-footer.component.mjs +3 -3
  187. package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +7 -7
  188. package/esm2020/menu/menu-header/menu-header.component.mjs +3 -3
  189. package/esm2020/menu/menu-item.component.mjs +3 -3
  190. package/esm2020/menu/menu-toggle.directive.mjs +42 -42
  191. package/esm2020/menu/menu.component.mjs +15 -15
  192. package/esm2020/menu/menu.module.mjs +4 -4
  193. package/esm2020/modal/directives/modal-close.directive.mjs +11 -11
  194. package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +3 -3
  195. package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +3 -3
  196. package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +3 -3
  197. package/esm2020/modal/directives/modal-title.directive.mjs +3 -3
  198. package/esm2020/modal/directives/modal.directive.mjs +3 -3
  199. package/esm2020/modal/modal/modal.component.mjs +19 -19
  200. package/esm2020/modal/modal-body/modal-body.component.mjs +3 -3
  201. package/esm2020/modal/modal-container/modal-container.component.mjs +12 -12
  202. package/esm2020/modal/modal-footer/modal-footer.component.mjs +3 -3
  203. package/esm2020/modal/modal-header/modal-header.component.mjs +3 -3
  204. package/esm2020/modal/modal.module.mjs +4 -4
  205. package/esm2020/modal/modal.service.mjs +16 -16
  206. package/esm2020/modal/route-modal/route-modal.component.mjs +3 -3
  207. package/esm2020/popover/popover/popover.component.mjs +18 -18
  208. package/esm2020/popover/popover.directive.mjs +32 -32
  209. package/esm2020/popover/popover.module.mjs +4 -4
  210. package/esm2020/progress/progress-circle/progress-circle.component.mjs +9 -9
  211. package/esm2020/progress/progress.module.mjs +4 -4
  212. package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +10 -10
  213. package/esm2020/scrollbar/overlay-scrollbars.service.mjs +3 -3
  214. package/esm2020/scrollbar/scrollbar.module.mjs +4 -4
  215. package/esm2020/services/asset-loader.service.mjs +3 -3
  216. package/esm2020/services/font-loader.service.mjs +3 -3
  217. package/esm2020/services/router-helpers.service.mjs +3 -3
  218. package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +3 -3
  219. package/esm2020/shared/directives/auto-focus.directive.mjs +3 -3
  220. package/esm2020/shared/directives/click-outside.directive.mjs +9 -9
  221. package/esm2020/shared/directives/disable-control.directive.mjs +7 -7
  222. package/esm2020/shared/directives/elem-resized.directive.mjs +3 -3
  223. package/esm2020/shared/directives/hover-class-toggle.directive.mjs +10 -10
  224. package/esm2020/shared/directives/hover-class.directive.mjs +9 -9
  225. package/esm2020/shared/directives/ng-select-extra.directive.mjs +26 -26
  226. package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +10 -10
  227. package/esm2020/shared/pipes/mask-chars.pipe.mjs +3 -3
  228. package/esm2020/shared/pipes/truncate.pipe.mjs +3 -3
  229. package/esm2020/shared/shared.module.mjs +4 -4
  230. package/esm2020/storage/local-storage.service.mjs +3 -3
  231. package/esm2020/story-helpers/initial-route.service.mjs +3 -3
  232. package/esm2020/story-helpers/story-empty-with-route.component.mjs +3 -3
  233. package/esm2020/story-helpers/story-empty.component.mjs +3 -3
  234. package/esm2020/story-helpers/story-helper-components.module.mjs +4 -4
  235. package/esm2020/story-helpers/story-initial-route.mjs +4 -4
  236. package/esm2020/story-helpers/story-modal-container.component.mjs +6 -6
  237. package/esm2020/story-helpers/story-toastr.service.mjs +3 -3
  238. package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +3 -3
  239. package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +3 -3
  240. package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +3 -3
  241. package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +3 -3
  242. package/esm2020/tabbed/tabbed.component.mjs +13 -13
  243. package/esm2020/tabbed/tabbed.module.mjs +4 -4
  244. package/esm2020/tabbed/tabbed.service.mjs +3 -3
  245. package/esm2020/table/table/table.component.mjs +11 -11
  246. package/esm2020/table/table.module.mjs +4 -4
  247. package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +3 -3
  248. package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +3 -3
  249. package/esm2020/table-cell-type/table-cell-type.module.mjs +4 -4
  250. package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +3 -3
  251. package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +3 -3
  252. package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +3 -3
  253. package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +31 -31
  254. package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +3 -3
  255. package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +6 -6
  256. package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +3 -3
  257. package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +3 -3
  258. package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +23 -23
  259. package/esm2020/table-cell-types/table-cell-types.module.mjs +4 -4
  260. package/esm2020/tel-input/phone-number.pipe.mjs +3 -3
  261. package/esm2020/tel-input/tel-input/tel-input.component.mjs +34 -34
  262. package/esm2020/tel-input/tel-input.directive.mjs +18 -18
  263. package/esm2020/tel-input/tel-input.module.mjs +4 -4
  264. package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +20 -20
  265. package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +6 -6
  266. package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +10 -10
  267. package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +3 -3
  268. package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +3 -3
  269. package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +3 -3
  270. package/esm2020/tiled-select/tiled-select.module.mjs +4 -4
  271. package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +3 -3
  272. package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +3 -3
  273. package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +3 -3
  274. package/esm2020/toggle-edit/toggle-edit.component.mjs +16 -16
  275. package/esm2020/toggle-edit/toggle-edit.module.mjs +4 -4
  276. package/esm2020/toggle-group/toggle-group-option.directive.mjs +12 -12
  277. package/esm2020/toggle-group/toggle-group.directive.mjs +3 -3
  278. package/esm2020/toggle-group/toggle-group.module.mjs +4 -4
  279. package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +3 -3
  280. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +3 -3
  281. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +3 -3
  282. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +4 -4
  283. package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +37 -37
  284. package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +4 -4
  285. package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +10 -10
  286. package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +3 -3
  287. package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +38 -38
  288. package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +4 -4
  289. package/esm2020/widget/directives/widget-drag-handle.directive.mjs +12 -12
  290. package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +3 -3
  291. package/esm2020/widget/directives/widget-title-tpl.directive.mjs +3 -3
  292. package/esm2020/widget/widget/widget.component.mjs +3 -3
  293. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +3 -3
  294. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +4 -4
  295. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +3 -3
  296. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +4 -4
  297. package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +3 -3
  298. package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +4 -4
  299. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +7 -7
  300. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +4 -4
  301. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +3 -3
  302. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +4 -4
  303. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +3 -3
  304. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +4 -4
  305. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +3 -3
  306. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +4 -4
  307. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +3 -3
  308. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +15 -15
  309. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +3 -3
  310. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +4 -4
  311. package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +3 -3
  312. package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +4 -4
  313. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +3 -3
  314. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +8 -8
  315. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +3 -3
  316. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +3 -3
  317. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +16 -16
  318. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +4 -4
  319. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +3 -3
  320. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +4 -4
  321. package/esm2020/widget/widget-footer/widget-footer.component.mjs +3 -3
  322. package/esm2020/widget/widget-registry.service.mjs +3 -3
  323. package/esm2020/widget/widget.module.mjs +4 -4
  324. package/fesm2015/theseam-ui-common-asset-reader.mjs +18 -18
  325. package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -1
  326. package/fesm2015/theseam-ui-common-breadcrumbs.mjs +10 -10
  327. package/fesm2015/theseam-ui-common-buttons.mjs +26 -26
  328. package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -1
  329. package/fesm2015/theseam-ui-common-card.mjs +19 -19
  330. package/fesm2015/theseam-ui-common-checkbox.mjs +46 -46
  331. package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -1
  332. package/fesm2015/theseam-ui-common-confirm-dialog.mjs +18 -18
  333. package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -1
  334. package/fesm2015/theseam-ui-common-core.mjs +18 -18
  335. package/fesm2015/theseam-ui-common-core.mjs.map +1 -1
  336. package/fesm2015/theseam-ui-common-data-exporter.mjs +10 -10
  337. package/fesm2015/theseam-ui-common-data-filters.mjs +32 -32
  338. package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -1
  339. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +46 -46
  340. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
  341. package/fesm2015/theseam-ui-common-datatable.mjs +208 -208
  342. package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -1
  343. package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +7 -7
  344. package/fesm2015/theseam-ui-common-dynamic.mjs +21 -21
  345. package/fesm2015/theseam-ui-common-footer-bar.mjs +7 -7
  346. package/fesm2015/theseam-ui-common-form-field-error.mjs +104 -104
  347. package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -1
  348. package/fesm2015/theseam-ui-common-form-field.mjs +107 -107
  349. package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -1
  350. package/fesm2015/theseam-ui-common-framework.mjs +196 -196
  351. package/fesm2015/theseam-ui-common-framework.mjs.map +1 -1
  352. package/fesm2015/theseam-ui-common-google-maps.mjs +202 -80
  353. package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -1
  354. package/fesm2015/theseam-ui-common-graphql.mjs +7 -7
  355. package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -1
  356. package/fesm2015/theseam-ui-common-icon.mjs +33 -33
  357. package/fesm2015/theseam-ui-common-icon.mjs.map +1 -1
  358. package/fesm2015/theseam-ui-common-layout.mjs +7 -7
  359. package/fesm2015/theseam-ui-common-loading.mjs +13 -13
  360. package/fesm2015/theseam-ui-common-loading.mjs.map +1 -1
  361. package/fesm2015/theseam-ui-common-menu.mjs +79 -79
  362. package/fesm2015/theseam-ui-common-menu.mjs.map +1 -1
  363. package/fesm2015/theseam-ui-common-modal.mjs +85 -85
  364. package/fesm2015/theseam-ui-common-modal.mjs.map +1 -1
  365. package/fesm2015/theseam-ui-common-popover.mjs +52 -52
  366. package/fesm2015/theseam-ui-common-popover.mjs.map +1 -1
  367. package/fesm2015/theseam-ui-common-progress.mjs +12 -12
  368. package/fesm2015/theseam-ui-common-progress.mjs.map +1 -1
  369. package/fesm2015/theseam-ui-common-scrollbar.mjs +16 -16
  370. package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -1
  371. package/fesm2015/theseam-ui-common-services.mjs +9 -9
  372. package/fesm2015/theseam-ui-common-shared.mjs +84 -84
  373. package/fesm2015/theseam-ui-common-shared.mjs.map +1 -1
  374. package/fesm2015/theseam-ui-common-storage.mjs +3 -3
  375. package/fesm2015/theseam-ui-common-story-helpers.mjs +25 -25
  376. package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -1
  377. package/fesm2015/theseam-ui-common-tabbed.mjs +31 -31
  378. package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -1
  379. package/fesm2015/theseam-ui-common-table-cell-type.mjs +10 -10
  380. package/fesm2015/theseam-ui-common-table-cell-types.mjs +80 -80
  381. package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -1
  382. package/fesm2015/theseam-ui-common-table.mjs +14 -14
  383. package/fesm2015/theseam-ui-common-table.mjs.map +1 -1
  384. package/fesm2015/theseam-ui-common-tel-input.mjs +59 -59
  385. package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -1
  386. package/fesm2015/theseam-ui-common-tiled-select.mjs +46 -46
  387. package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -1
  388. package/fesm2015/theseam-ui-common-toggle-edit.mjs +28 -28
  389. package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -1
  390. package/fesm2015/theseam-ui-common-toggle-group.mjs +18 -18
  391. package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -1
  392. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +13 -13
  393. package/fesm2015/theseam-ui-common-viewers.mjs +93 -93
  394. package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -1
  395. package/fesm2015/theseam-ui-common-widget.mjs +156 -156
  396. package/fesm2015/theseam-ui-common-widget.mjs.map +1 -1
  397. package/fesm2020/theseam-ui-common-asset-reader.mjs +18 -18
  398. package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -1
  399. package/fesm2020/theseam-ui-common-breadcrumbs.mjs +10 -10
  400. package/fesm2020/theseam-ui-common-buttons.mjs +26 -26
  401. package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -1
  402. package/fesm2020/theseam-ui-common-card.mjs +19 -19
  403. package/fesm2020/theseam-ui-common-checkbox.mjs +46 -46
  404. package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -1
  405. package/fesm2020/theseam-ui-common-confirm-dialog.mjs +18 -18
  406. package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -1
  407. package/fesm2020/theseam-ui-common-core.mjs +18 -18
  408. package/fesm2020/theseam-ui-common-core.mjs.map +1 -1
  409. package/fesm2020/theseam-ui-common-data-exporter.mjs +10 -10
  410. package/fesm2020/theseam-ui-common-data-filters.mjs +32 -32
  411. package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -1
  412. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +46 -46
  413. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
  414. package/fesm2020/theseam-ui-common-datatable.mjs +208 -208
  415. package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -1
  416. package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +7 -7
  417. package/fesm2020/theseam-ui-common-dynamic.mjs +21 -21
  418. package/fesm2020/theseam-ui-common-footer-bar.mjs +7 -7
  419. package/fesm2020/theseam-ui-common-form-field-error.mjs +104 -104
  420. package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -1
  421. package/fesm2020/theseam-ui-common-form-field.mjs +107 -107
  422. package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -1
  423. package/fesm2020/theseam-ui-common-framework.mjs +196 -196
  424. package/fesm2020/theseam-ui-common-framework.mjs.map +1 -1
  425. package/fesm2020/theseam-ui-common-google-maps.mjs +200 -80
  426. package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -1
  427. package/fesm2020/theseam-ui-common-graphql.mjs +7 -7
  428. package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -1
  429. package/fesm2020/theseam-ui-common-icon.mjs +33 -33
  430. package/fesm2020/theseam-ui-common-icon.mjs.map +1 -1
  431. package/fesm2020/theseam-ui-common-layout.mjs +7 -7
  432. package/fesm2020/theseam-ui-common-loading.mjs +13 -13
  433. package/fesm2020/theseam-ui-common-loading.mjs.map +1 -1
  434. package/fesm2020/theseam-ui-common-menu.mjs +77 -77
  435. package/fesm2020/theseam-ui-common-menu.mjs.map +1 -1
  436. package/fesm2020/theseam-ui-common-modal.mjs +85 -85
  437. package/fesm2020/theseam-ui-common-modal.mjs.map +1 -1
  438. package/fesm2020/theseam-ui-common-popover.mjs +52 -52
  439. package/fesm2020/theseam-ui-common-popover.mjs.map +1 -1
  440. package/fesm2020/theseam-ui-common-progress.mjs +12 -12
  441. package/fesm2020/theseam-ui-common-progress.mjs.map +1 -1
  442. package/fesm2020/theseam-ui-common-scrollbar.mjs +16 -16
  443. package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -1
  444. package/fesm2020/theseam-ui-common-services.mjs +9 -9
  445. package/fesm2020/theseam-ui-common-shared.mjs +84 -84
  446. package/fesm2020/theseam-ui-common-shared.mjs.map +1 -1
  447. package/fesm2020/theseam-ui-common-storage.mjs +3 -3
  448. package/fesm2020/theseam-ui-common-story-helpers.mjs +25 -25
  449. package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -1
  450. package/fesm2020/theseam-ui-common-tabbed.mjs +31 -31
  451. package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -1
  452. package/fesm2020/theseam-ui-common-table-cell-type.mjs +10 -10
  453. package/fesm2020/theseam-ui-common-table-cell-types.mjs +80 -80
  454. package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -1
  455. package/fesm2020/theseam-ui-common-table.mjs +14 -14
  456. package/fesm2020/theseam-ui-common-table.mjs.map +1 -1
  457. package/fesm2020/theseam-ui-common-tel-input.mjs +57 -57
  458. package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -1
  459. package/fesm2020/theseam-ui-common-tiled-select.mjs +46 -46
  460. package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -1
  461. package/fesm2020/theseam-ui-common-toggle-edit.mjs +28 -28
  462. package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -1
  463. package/fesm2020/theseam-ui-common-toggle-group.mjs +18 -18
  464. package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -1
  465. package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +13 -13
  466. package/fesm2020/theseam-ui-common-viewers.mjs +93 -93
  467. package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -1
  468. package/fesm2020/theseam-ui-common-widget.mjs +156 -156
  469. package/fesm2020/theseam-ui-common-widget.mjs.map +1 -1
  470. package/framework/base-layout/base-layout-action.d.ts +1 -1
  471. package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +1 -1
  472. package/framework/side-nav/side-nav.models.d.ts +1 -1
  473. package/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.d.ts +73 -0
  474. package/google-maps/google-maps-api-loader/noop-google-maps-api-loader.d.ts +13 -0
  475. package/google-maps/map-value-manager.service.d.ts +1 -1
  476. package/google-maps/public-api.d.ts +3 -0
  477. package/graphql/datatable/datatable-graphql-query-ref.d.ts +2 -2
  478. package/graphql/datatable/datatable-graphql.service.d.ts +1 -1
  479. package/graphql/datatable/datatable-helpers.d.ts +2 -2
  480. package/graphql/datatable/map-filter-states.d.ts +2 -2
  481. package/graphql/datatable/map-page-info.d.ts +1 -1
  482. package/graphql/datatable/mapper-context.d.ts +1 -1
  483. package/graphql/models/gql-datatable-accessor.d.ts +1 -1
  484. package/graphql/models/hint-transformer.d.ts +1 -1
  485. package/icon/icon/icon.component.d.ts +1 -1
  486. package/icon/icon.d.ts +1 -1
  487. package/layout/breakpoint-aliases.d.ts +1 -1
  488. package/loading/loading.models.d.ts +1 -1
  489. package/modal/modal-config.d.ts +1 -1
  490. package/models/component-type.d.ts +1 -1
  491. package/models/size-prefixes.d.ts +1 -1
  492. package/models/size-types.d.ts +1 -1
  493. package/models/theme-prefixes.d.ts +1 -1
  494. package/models/theme-types.d.ts +2 -2
  495. package/package.json +1 -1
  496. package/scrollbar/overlay-scrollbars-config-model.d.ts +1 -1
  497. package/services/font-loader.service.d.ts +1 -1
  498. package/table/table/table.component.d.ts +1 -1
  499. package/table-cell-type/table-cell-type-models.d.ts +3 -3
  500. package/table-cell-type/table-cell-type-name.d.ts +1 -1
  501. package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +1 -1
  502. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +1 -1
  503. package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +1 -1
  504. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +1 -1
  505. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +1 -1
  506. package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +1 -1
  507. package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +1 -1
  508. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +1 -1
  509. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +1 -1
  510. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +1 -1
  511. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +1 -1
  512. package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +1 -1
  513. package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +1 -1
  514. package/tel-input/utils/coerce-phone-number-format.d.ts +1 -1
  515. package/tiled-select/components/tiled-select/tiled-select.component.d.ts +1 -1
  516. package/tiled-select/tiled-select.models.d.ts +2 -2
  517. package/utils/polling-ticker.d.ts +1 -1
  518. package/utils/subscriber-count.d.ts +1 -1
  519. package/widget/directives/widget-drag-handle.directive.d.ts +1 -1
@@ -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';
@@ -382,9 +382,9 @@ class MapValueManagerService {
382
382
  return this._value;
383
383
  }
384
384
  }
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: [{
385
+ MapValueManagerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MapValueManagerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
386
+ MapValueManagerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MapValueManagerService });
387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MapValueManagerService, decorators: [{
388
388
  type: Injectable
389
389
  }], ctorParameters: function () { return []; } });
390
390
 
@@ -420,6 +420,7 @@ const FEATURE_STYLE_OPTIONS_DEFAULT = {
420
420
  };
421
421
  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
422
  class GoogleMapsService {
423
+ get mapReady() { return this._mapReadySubject.value; }
423
424
  constructor(_mapValueManager, _ngZone, _vcr) {
424
425
  this._mapValueManager = _mapValueManager;
425
426
  this._ngZone = _ngZone;
@@ -431,7 +432,6 @@ class GoogleMapsService {
431
432
  this._allowDrawingHoleInPolygon = false;
432
433
  this.mapReady$ = this._mapReadySubject.asObservable();
433
434
  }
434
- get mapReady() { return this._mapReadySubject.value; }
435
435
  ngOnDestroy() {
436
436
  this._ngUnsubscribe.next();
437
437
  this._ngUnsubscribe.complete();
@@ -725,9 +725,9 @@ class GoogleMapsService {
725
725
  }
726
726
  }
727
727
  }
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: [{
728
+ GoogleMapsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", 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.6", ngImport: i0, type: GoogleMapsService });
730
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GoogleMapsService, decorators: [{
731
731
  type: Injectable
732
732
  }], ctorParameters: function () { return [{ type: MapValueManagerService }, { type: i0.NgZone }, { type: i0.ViewContainerRef }]; } });
733
733
 
@@ -788,9 +788,9 @@ class GoogleMapsControlsService {
788
788
  return new MapControlRef(this._googleMaps, this._componentFactoryResolver, this._injector, control);
789
789
  }
790
790
  }
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: [{
791
+ GoogleMapsControlsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", 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.6", ngImport: i0, type: GoogleMapsControlsService });
793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GoogleMapsControlsService, decorators: [{
794
794
  type: Injectable
795
795
  }], ctorParameters: function () { return [{ type: GoogleMapsService }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }]; } });
796
796
 
@@ -798,6 +798,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
798
798
  *
799
799
  */
800
800
  class TheSeamGoogleMapsRecenterButtonControlComponent {
801
+ _onClick(event) {
802
+ this._googleMaps.reCenterOnFeatures();
803
+ }
801
804
  constructor(_googleMaps, _data) {
802
805
  this._googleMaps = _googleMaps;
803
806
  this._ngUnsubscribe = new Subject();
@@ -811,9 +814,6 @@ class TheSeamGoogleMapsRecenterButtonControlComponent {
811
814
  }
812
815
  }
813
816
  }
814
- _onClick(event) {
815
- this._googleMaps.reCenterOnFeatures();
816
- }
817
817
  /** @ignore */
818
818
  ngOnDestroy() {
819
819
  this._listeners.forEach(l => l());
@@ -821,9 +821,9 @@ class TheSeamGoogleMapsRecenterButtonControlComponent {
821
821
  this._ngUnsubscribe.complete();
822
822
  }
823
823
  }
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: [{
824
+ TheSeamGoogleMapsRecenterButtonControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", 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.6", 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.6", ngImport: i0, type: TheSeamGoogleMapsRecenterButtonControlComponent, decorators: [{
827
827
  type: Component,
828
828
  args: [{ selector: 'button[seam-google-maps-recenter-button-control]', host: {
829
829
  '[attr.draggable]': 'false',
@@ -852,6 +852,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
852
852
  *
853
853
  */
854
854
  class TheSeamGoogleMapsUploadButtonControlComponent {
855
+ _onClick(event) {
856
+ this._fileInputElement.click();
857
+ }
855
858
  constructor(_elementRef, _mapValueManager, _renderer, _googleMaps, _data) {
856
859
  this._elementRef = _elementRef;
857
860
  this._mapValueManager = _mapValueManager;
@@ -870,9 +873,6 @@ class TheSeamGoogleMapsUploadButtonControlComponent {
870
873
  this._fileInputElement = this._createHiddenInput();
871
874
  this._renderer.appendChild(this._elementRef.nativeElement, this._fileInputElement);
872
875
  }
873
- _onClick(event) {
874
- this._fileInputElement.click();
875
- }
876
876
  /** @ignore */
877
877
  ngOnDestroy() {
878
878
  this._listeners.forEach(l => l());
@@ -931,9 +931,9 @@ class TheSeamGoogleMapsUploadButtonControlComponent {
931
931
  this._renderer.appendChild(this._elementRef.nativeElement, this._fileInputElement);
932
932
  }
933
933
  }
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: [{
934
+ TheSeamGoogleMapsUploadButtonControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", 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.6", 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.6", ngImport: i0, type: TheSeamGoogleMapsUploadButtonControlComponent, decorators: [{
937
937
  type: Component,
938
938
  args: [{ selector: 'button[seam-google-maps-upload-button-control]', host: {
939
939
  '[attr.draggable]': 'false',
@@ -1074,25 +1074,25 @@ class TheSeamMapFileDropComponent {
1074
1074
  return dataTransfer.types[0] === 'Files';
1075
1075
  }
1076
1076
  }
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: [{
1077
+ TheSeamMapFileDropComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", 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.6", 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.6", ngImport: i0, type: TheSeamMapFileDropComponent, decorators: [{
1080
1080
  type: Component,
1081
1081
  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
1082
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: GoogleMapsService }, { type: MapValueManagerService }, { type: i0.Renderer2 }]; } });
1083
1083
 
1084
1084
  class TheSeamMapsControlComponent {
1085
- constructor(_googleMaps, _googleMapsControls) {
1086
- this._googleMaps = _googleMaps;
1087
- this._googleMapsControls = _googleMapsControls;
1088
- this._ngUnsubscribe = new Subject();
1089
- }
1090
1085
  set def(value) {
1091
1086
  if (value !== this._def) {
1092
1087
  this._remove();
1093
1088
  this._def = value;
1094
1089
  }
1095
1090
  }
1091
+ constructor(_googleMaps, _googleMapsControls) {
1092
+ this._googleMaps = _googleMaps;
1093
+ this._googleMapsControls = _googleMapsControls;
1094
+ this._ngUnsubscribe = new Subject();
1095
+ }
1096
1096
  /** @ignore */
1097
1097
  ngOnInit() {
1098
1098
  this._googleMaps.mapReady$.pipe(tap(ready => {
@@ -1125,9 +1125,9 @@ class TheSeamMapsControlComponent {
1125
1125
  this._controlRef = undefined;
1126
1126
  }
1127
1127
  }
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: [{
1128
+ TheSeamMapsControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", 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.6", 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.6", ngImport: i0, type: TheSeamMapsControlComponent, decorators: [{
1131
1131
  type: Component,
1132
1132
  args: [{
1133
1133
  selector: 'seam-map-control',
@@ -1153,6 +1153,19 @@ const _TheSeamGoogleMapsMixinBase = mixinDisabled(TheSeamGoogleMapsComponentBase
1153
1153
  * A wrapper for googlemap.
1154
1154
  */
1155
1155
  class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1156
+ set value(value) {
1157
+ this._mapValueManager.setValue(value, MapValueSource.Input);
1158
+ }
1159
+ get value() {
1160
+ return this._mapValueManager.value;
1161
+ }
1162
+ set tabIndex(value) { this._tabIndex = coerceNumberProperty(value); }
1163
+ get tabIndex() { return this._tabIndex; }
1164
+ set fileImportHandler(value) {
1165
+ this._googleMaps.setFileInputHandler(value);
1166
+ }
1167
+ get _attrDisabled() { return this.disabled || null; }
1168
+ get _attrTabIndex() { return this.disabled ? -1 : (this.tabIndex || 0); }
1156
1169
  constructor(elementRef, _focusMonitor, _googleMaps, _mapValueManager, _googleMapsApiLoader) {
1157
1170
  super(elementRef);
1158
1171
  this._focusMonitor = _focusMonitor;
@@ -1210,19 +1223,6 @@ class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1210
1223
  this._googleMaps.setBaseLatLng(this.latitude, this.longitude);
1211
1224
  this._gmApiLoaded = this._googleMapsApiLoader.load().pipe(map(() => true), catchError(() => of(false)));
1212
1225
  }
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
1226
  /** @ignore */
1227
1227
  ngOnInit() {
1228
1228
  this._googleMaps.setFeatureContextMenu(this.featureContextMenu);
@@ -1321,8 +1321,8 @@ class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1321
1321
  this._googleMaps.deleteSelection();
1322
1322
  }
1323
1323
  }
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: [
1324
+ TheSeamGoogleMapsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", 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.6", 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
1326
  MapValueManagerService,
1327
1327
  GoogleMapsService,
1328
1328
  { provide: MAP_CONTROLS_SERVICE, useClass: GoogleMapsControlsService },
@@ -1363,7 +1363,7 @@ __decorate([
1363
1363
  __decorate([
1364
1364
  InputNumber()
1365
1365
  ], TheSeamGoogleMapsComponent.prototype, "latitude", void 0);
1366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsComponent, decorators: [{
1366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsComponent, decorators: [{
1367
1367
  type: Component,
1368
1368
  args: [{ selector: 'seam-google-maps', inputs: [
1369
1369
  'disabled'
@@ -1421,6 +1421,9 @@ const SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS = {
1421
1421
  componentRestrictions: { country: 'US' }
1422
1422
  };
1423
1423
  class TheSeamGoogleMapsPlacesAutocompleteDirective {
1424
+ set options(value) {
1425
+ this._options = value || SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1426
+ }
1424
1427
  constructor(_elementRef, _ngZone) {
1425
1428
  this._elementRef = _elementRef;
1426
1429
  this._ngZone = _ngZone;
@@ -1432,9 +1435,6 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1432
1435
  this._attrType = 'text';
1433
1436
  this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
1434
1437
  }
1435
- set options(value) {
1436
- this._options = value || SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1437
- }
1438
1438
  ngOnInit() {
1439
1439
  this._ngZone.runOutsideAngular(() => {
1440
1440
  this._untilGoogleMapsApiLoaded().pipe(takeUntil(this._ngUnsubscribe)).subscribe(() => {
@@ -1561,9 +1561,9 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1561
1561
  }
1562
1562
  }
1563
1563
  }
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: [{
1564
+ TheSeamGoogleMapsPlacesAutocompleteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", 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.6", 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.6", ngImport: i0, type: TheSeamGoogleMapsPlacesAutocompleteDirective, decorators: [{
1567
1567
  type: Directive,
1568
1568
  args: [{
1569
1569
  selector: 'input[seamGoogleMapsPlacesAutocomplete]',
@@ -1582,21 +1582,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
1582
1582
  *
1583
1583
  */
1584
1584
  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
1585
  /**
1601
1586
  * Set the tab index to `-1` to allow the root element of the
1602
1587
  * component to receive `focus` event from javascript, but not get focused by
@@ -1623,6 +1608,21 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1623
1608
  var _a;
1624
1609
  (_a = this._inputDirective) === null || _a === void 0 ? void 0 : _a.focus();
1625
1610
  }
1611
+ constructor(_elementRef) {
1612
+ this._elementRef = _elementRef;
1613
+ this._ngUnsubscribe = new Subject();
1614
+ this._autoCompleteReadySubject = new Subject();
1615
+ this._placeChangedPending = [];
1616
+ this.label = 'Search by address, place or name';
1617
+ this.icon = faSearchLocation;
1618
+ this.disabled = false;
1619
+ this.placeholder = 'Enter address, place or name';
1620
+ this.autocorrect = 'off';
1621
+ this.autocapitalize = 'off';
1622
+ this._tabIndex = -1;
1623
+ this._options = SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1624
+ this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
1625
+ }
1626
1626
  ngOnInit() { }
1627
1627
  /** @ignore */
1628
1628
  ngOnDestroy() {
@@ -1732,12 +1732,12 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1732
1732
  }
1733
1733
  }
1734
1734
  }
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 });
1735
+ TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1736
+ TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", 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
1737
  __decorate([
1738
1738
  InputBoolean()
1739
1739
  ], TheSeamGoogleMapsPlacesAutoCompleteComponent.prototype, "disabled", void 0);
1740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, decorators: [{
1740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, decorators: [{
1741
1741
  type: Component,
1742
1742
  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
1743
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { label: [{
@@ -1777,8 +1777,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
1777
1777
 
1778
1778
  class TheSeamGoogleMapsModule {
1779
1779
  }
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,
1780
+ TheSeamGoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1781
+ TheSeamGoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsModule, declarations: [TheSeamGoogleMapsComponent,
1782
1782
  TheSeamMapFileDropComponent,
1783
1783
  TheSeamGoogleMapsUploadButtonControlComponent,
1784
1784
  TheSeamGoogleMapsRecenterButtonControlComponent,
@@ -1793,14 +1793,14 @@ TheSeamGoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
1793
1793
  GoogleMapsModule], exports: [TheSeamGoogleMapsComponent,
1794
1794
  TheSeamGoogleMapsPlacesAutocompleteDirective,
1795
1795
  TheSeamGoogleMapsPlacesAutoCompleteComponent] });
1796
- TheSeamGoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, imports: [CommonModule,
1796
+ TheSeamGoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsModule, imports: [CommonModule,
1797
1797
  ObserversModule,
1798
1798
  TheSeamSharedModule,
1799
1799
  TheSeamMenuModule,
1800
1800
  TheSeamIconModule,
1801
1801
  TheSeamFormFieldModule,
1802
1802
  GoogleMapsModule] });
1803
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, decorators: [{
1803
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsModule, decorators: [{
1804
1804
  type: NgModule,
1805
1805
  args: [{
1806
1806
  declarations: [
@@ -1829,9 +1829,131 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
1829
1829
  }]
1830
1830
  }] });
1831
1831
 
1832
+ /**
1833
+ * Token for the config of the LazyMapsAPILoader. Please provide an object of
1834
+ * type {@link TheSeamLazyMapsApiLoader}.
1835
+ */
1836
+ const THESEAM_LAZY_MAPS_API_CONFIG = new InjectionToken('THESEAM_LAZY_MAPS_API_CONFIG');
1837
+ class TheSeamLazyMapsApiLoader extends TheSeamGoogleMapsApiLoader {
1838
+ constructor(_localeId, config) {
1839
+ super();
1840
+ this._localeId = _localeId;
1841
+ this.config = config;
1842
+ this._SCRIPT_ID = 'seamGoogleMapsApiScript';
1843
+ this.callbackName = `__seamLazyGoogleMapsApiLoader`;
1844
+ this._config = config || {};
1845
+ }
1846
+ load() {
1847
+ if (window.google && window.google.maps) {
1848
+ // Google maps already loaded on the page.
1849
+ return of(undefined);
1850
+ }
1851
+ if (this._scriptLoadingPromise) {
1852
+ return from(this._scriptLoadingPromise);
1853
+ }
1854
+ // This can happen in HMR situations or Stackblitz.io editors.
1855
+ const scriptOnPage = document.getElementById(this._SCRIPT_ID);
1856
+ if (scriptOnPage) {
1857
+ this._assignScriptLoadingPromise(scriptOnPage);
1858
+ return from(this._getScriptLoadingPromise());
1859
+ }
1860
+ const script = document.createElement('script');
1861
+ script.type = 'text/javascript';
1862
+ script.async = true;
1863
+ script.defer = true;
1864
+ script.id = this._SCRIPT_ID;
1865
+ script.src = this._getScriptSrc(this.callbackName);
1866
+ this._assignScriptLoadingPromise(script);
1867
+ document.body.appendChild(script);
1868
+ return from(this._getScriptLoadingPromise());
1869
+ }
1870
+ _assignScriptLoadingPromise(scriptElem) {
1871
+ this._scriptLoadingPromise = new Promise((resolve, reject) => {
1872
+ const win = window;
1873
+ win[this.callbackName] = () => { resolve(); };
1874
+ scriptElem.onerror = (error) => {
1875
+ reject(error);
1876
+ };
1877
+ });
1878
+ }
1879
+ _getScriptLoadingPromise() {
1880
+ if (!this._scriptLoadingPromise) {
1881
+ throw Error(`_scriptLoadingPromise has not been assigned.`);
1882
+ }
1883
+ return this._scriptLoadingPromise;
1884
+ }
1885
+ _getScriptSrc(callbackName) {
1886
+ const hostAndPath = this._config.url || 'https://maps.googleapis.com/maps/api/js';
1887
+ const queryParams = {
1888
+ v: this._config.apiVersion || 'quarterly',
1889
+ callback: callbackName,
1890
+ key: this._config.apiKey,
1891
+ client: this._config.clientId,
1892
+ channel: this._config.channel,
1893
+ libraries: this._config.libraries,
1894
+ region: this._config.region,
1895
+ language: this._config.language || (this._localeId !== 'en-US' ? this._localeId : null),
1896
+ };
1897
+ const params = Object.keys(queryParams)
1898
+ // Remove undefined or null params.
1899
+ .filter((k) => queryParams[k] !== undefined && queryParams[k] !== null)
1900
+ // Remove empty arrays.
1901
+ .filter((k) => {
1902
+ const param = queryParams[k];
1903
+ return !Array.isArray(param) || param.length > 0;
1904
+ })
1905
+ // Join arrays as comma seperated strings.
1906
+ .map((k) => {
1907
+ const param = queryParams[k];
1908
+ return { key: k, value: Array.isArray(param) ? param.join(',') : param };
1909
+ })
1910
+ .map((entry) => {
1911
+ return `${entry.key}=${entry.value}`;
1912
+ })
1913
+ .join('&');
1914
+ return `${hostAndPath}?${params}`;
1915
+ }
1916
+ }
1917
+ TheSeamLazyMapsApiLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamLazyMapsApiLoader, deps: [{ token: LOCALE_ID }, { token: THESEAM_LAZY_MAPS_API_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1918
+ TheSeamLazyMapsApiLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamLazyMapsApiLoader });
1919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamLazyMapsApiLoader, decorators: [{
1920
+ type: Injectable
1921
+ }], ctorParameters: function () {
1922
+ return [{ type: undefined, decorators: [{
1923
+ type: Inject,
1924
+ args: [LOCALE_ID]
1925
+ }] }, { type: undefined, decorators: [{
1926
+ type: Optional
1927
+ }, {
1928
+ type: Inject,
1929
+ args: [THESEAM_LAZY_MAPS_API_CONFIG]
1930
+ }] }];
1931
+ } });
1932
+
1933
+ /**
1934
+ * When using the TheSeamNoopGoogleMapsAPILoader, the Google Maps API must be
1935
+ * added to the page some other way before the map component is initialixed. One
1936
+ * way would be via a `<script>` Tag.
1937
+ */
1938
+ class TheSeamNoopGoogleMapsAPILoader extends TheSeamGoogleMapsApiLoader {
1939
+ load() {
1940
+ return defer(() => {
1941
+ if (!window.google || !window.google.maps) {
1942
+ return throwError(new Error('Google Maps API not loaded on page. Make sure window.google.maps is available.'));
1943
+ }
1944
+ return of(undefined);
1945
+ });
1946
+ }
1947
+ }
1948
+ TheSeamNoopGoogleMapsAPILoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1949
+ TheSeamNoopGoogleMapsAPILoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader });
1950
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader, decorators: [{
1951
+ type: Injectable
1952
+ }] });
1953
+
1832
1954
  /**
1833
1955
  * Generated bundle index. Do not edit.
1834
1956
  */
1835
1957
 
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 };
1958
+ 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
1959
  //# sourceMappingURL=theseam-ui-common-google-maps.mjs.map