@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 { __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
 
@@ -429,6 +429,7 @@ const FEATURE_STYLE_OPTIONS_SELECTED = {
429
429
  strokeWeight: 2,
430
430
  };
431
431
  class GoogleMapsService {
432
+ get mapReady() { return this._mapReadySubject.value; }
432
433
  constructor(_mapValueManager, _ngZone, _vcr) {
433
434
  this._mapValueManager = _mapValueManager;
434
435
  this._ngZone = _ngZone;
@@ -440,7 +441,6 @@ class GoogleMapsService {
440
441
  this._allowDrawingHoleInPolygon = false;
441
442
  this.mapReady$ = this._mapReadySubject.asObservable();
442
443
  }
443
- get mapReady() { return this._mapReadySubject.value; }
444
444
  ngOnDestroy() {
445
445
  this._ngUnsubscribe.next();
446
446
  this._ngUnsubscribe.complete();
@@ -728,9 +728,9 @@ class GoogleMapsService {
728
728
  }
729
729
  }
730
730
  }
731
- 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 });
732
- GoogleMapsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleMapsService });
733
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleMapsService, decorators: [{
731
+ 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 });
732
+ GoogleMapsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GoogleMapsService });
733
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GoogleMapsService, decorators: [{
734
734
  type: Injectable
735
735
  }], ctorParameters: function () { return [{ type: MapValueManagerService }, { type: i0.NgZone }, { type: i0.ViewContainerRef }]; } });
736
736
 
@@ -790,9 +790,9 @@ class GoogleMapsControlsService {
790
790
  return new MapControlRef(this._googleMaps, this._componentFactoryResolver, this._injector, control);
791
791
  }
792
792
  }
793
- 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 });
794
- GoogleMapsControlsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleMapsControlsService });
795
- 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.6", 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.6", ngImport: i0, type: GoogleMapsControlsService });
795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GoogleMapsControlsService, decorators: [{
796
796
  type: Injectable
797
797
  }], ctorParameters: function () { return [{ type: GoogleMapsService }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }]; } });
798
798
 
@@ -800,6 +800,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
800
800
  *
801
801
  */
802
802
  class TheSeamGoogleMapsRecenterButtonControlComponent {
803
+ _onClick(event) {
804
+ this._googleMaps.reCenterOnFeatures();
805
+ }
803
806
  constructor(_googleMaps, _data) {
804
807
  this._googleMaps = _googleMaps;
805
808
  this._ngUnsubscribe = new Subject();
@@ -813,9 +816,6 @@ class TheSeamGoogleMapsRecenterButtonControlComponent {
813
816
  }
814
817
  }
815
818
  }
816
- _onClick(event) {
817
- this._googleMaps.reCenterOnFeatures();
818
- }
819
819
  /** @ignore */
820
820
  ngOnDestroy() {
821
821
  this._listeners.forEach(l => l());
@@ -823,9 +823,9 @@ class TheSeamGoogleMapsRecenterButtonControlComponent {
823
823
  this._ngUnsubscribe.complete();
824
824
  }
825
825
  }
826
- 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 });
827
- 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 });
828
- 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.6", 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.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 });
828
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsRecenterButtonControlComponent, decorators: [{
829
829
  type: Component,
830
830
  args: [{ selector: 'button[seam-google-maps-recenter-button-control]', host: {
831
831
  '[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());
@@ -929,9 +929,9 @@ class TheSeamGoogleMapsUploadButtonControlComponent {
929
929
  this._renderer.appendChild(this._elementRef.nativeElement, this._fileInputElement);
930
930
  }
931
931
  }
932
- 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 });
933
- 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 });
934
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsUploadButtonControlComponent, decorators: [{
932
+ 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 });
933
+ 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 });
934
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsUploadButtonControlComponent, decorators: [{
935
935
  type: Component,
936
936
  args: [{ selector: 'button[seam-google-maps-upload-button-control]', host: {
937
937
  '[attr.draggable]': 'false',
@@ -1070,25 +1070,25 @@ class TheSeamMapFileDropComponent {
1070
1070
  return dataTransfer.types[0] === 'Files';
1071
1071
  }
1072
1072
  }
1073
- 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 });
1074
- 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 });
1075
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamMapFileDropComponent, decorators: [{
1073
+ 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 });
1074
+ 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 });
1075
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamMapFileDropComponent, decorators: [{
1076
1076
  type: Component,
1077
1077
  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"] }]
1078
1078
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: GoogleMapsService }, { type: MapValueManagerService }, { type: i0.Renderer2 }]; } });
1079
1079
 
1080
1080
  class TheSeamMapsControlComponent {
1081
- constructor(_googleMaps, _googleMapsControls) {
1082
- this._googleMaps = _googleMaps;
1083
- this._googleMapsControls = _googleMapsControls;
1084
- this._ngUnsubscribe = new Subject();
1085
- }
1086
1081
  set def(value) {
1087
1082
  if (value !== this._def) {
1088
1083
  this._remove();
1089
1084
  this._def = value;
1090
1085
  }
1091
1086
  }
1087
+ constructor(_googleMaps, _googleMapsControls) {
1088
+ this._googleMaps = _googleMaps;
1089
+ this._googleMapsControls = _googleMapsControls;
1090
+ this._ngUnsubscribe = new Subject();
1091
+ }
1092
1092
  /** @ignore */
1093
1093
  ngOnInit() {
1094
1094
  this._googleMaps.mapReady$.pipe(tap(ready => {
@@ -1120,9 +1120,9 @@ class TheSeamMapsControlComponent {
1120
1120
  this._controlRef = undefined;
1121
1121
  }
1122
1122
  }
1123
- 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 });
1124
- 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 });
1125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamMapsControlComponent, decorators: [{
1123
+ 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 });
1124
+ 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 });
1125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamMapsControlComponent, decorators: [{
1126
1126
  type: Component,
1127
1127
  args: [{
1128
1128
  selector: 'seam-map-control',
@@ -1146,6 +1146,19 @@ const _TheSeamGoogleMapsMixinBase = mixinDisabled(TheSeamGoogleMapsComponentBase
1146
1146
  * A wrapper for googlemap.
1147
1147
  */
1148
1148
  class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1149
+ set value(value) {
1150
+ this._mapValueManager.setValue(value, MapValueSource.Input);
1151
+ }
1152
+ get value() {
1153
+ return this._mapValueManager.value;
1154
+ }
1155
+ set tabIndex(value) { this._tabIndex = coerceNumberProperty(value); }
1156
+ get tabIndex() { return this._tabIndex; }
1157
+ set fileImportHandler(value) {
1158
+ this._googleMaps.setFileInputHandler(value);
1159
+ }
1160
+ get _attrDisabled() { return this.disabled || null; }
1161
+ get _attrTabIndex() { return this.disabled ? -1 : (this.tabIndex || 0); }
1149
1162
  constructor(elementRef, _focusMonitor, _googleMaps, _mapValueManager, _googleMapsApiLoader) {
1150
1163
  super(elementRef);
1151
1164
  this._focusMonitor = _focusMonitor;
@@ -1203,19 +1216,6 @@ class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1203
1216
  this._googleMaps.setBaseLatLng(this.latitude, this.longitude);
1204
1217
  this._gmApiLoaded = this._googleMapsApiLoader.load().pipe(map(() => true), catchError(() => of(false)));
1205
1218
  }
1206
- set value(value) {
1207
- this._mapValueManager.setValue(value, MapValueSource.Input);
1208
- }
1209
- get value() {
1210
- return this._mapValueManager.value;
1211
- }
1212
- set tabIndex(value) { this._tabIndex = coerceNumberProperty(value); }
1213
- get tabIndex() { return this._tabIndex; }
1214
- set fileImportHandler(value) {
1215
- this._googleMaps.setFileInputHandler(value);
1216
- }
1217
- get _attrDisabled() { return this.disabled || null; }
1218
- get _attrTabIndex() { return this.disabled ? -1 : (this.tabIndex || 0); }
1219
1219
  /** @ignore */
1220
1220
  ngOnInit() {
1221
1221
  this._googleMaps.setFeatureContextMenu(this.featureContextMenu);
@@ -1316,8 +1316,8 @@ class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
1316
1316
  this._googleMaps.deleteSelection();
1317
1317
  }
1318
1318
  }
1319
- 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 });
1320
- 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: [
1319
+ 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 });
1320
+ 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: [
1321
1321
  MapValueManagerService,
1322
1322
  GoogleMapsService,
1323
1323
  { provide: MAP_CONTROLS_SERVICE, useClass: GoogleMapsControlsService },
@@ -1358,7 +1358,7 @@ __decorate([
1358
1358
  __decorate([
1359
1359
  InputNumber()
1360
1360
  ], TheSeamGoogleMapsComponent.prototype, "latitude", void 0);
1361
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsComponent, decorators: [{
1361
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsComponent, decorators: [{
1362
1362
  type: Component,
1363
1363
  args: [{ selector: 'seam-google-maps', inputs: [
1364
1364
  'disabled'
@@ -1416,6 +1416,9 @@ const SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS = {
1416
1416
  componentRestrictions: { country: 'US' }
1417
1417
  };
1418
1418
  class TheSeamGoogleMapsPlacesAutocompleteDirective {
1419
+ set options(value) {
1420
+ this._options = value || SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1421
+ }
1419
1422
  constructor(_elementRef, _ngZone) {
1420
1423
  this._elementRef = _elementRef;
1421
1424
  this._ngZone = _ngZone;
@@ -1427,9 +1430,6 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1427
1430
  this._attrType = 'text';
1428
1431
  this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
1429
1432
  }
1430
- set options(value) {
1431
- this._options = value || SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1432
- }
1433
1433
  ngOnInit() {
1434
1434
  this._ngZone.runOutsideAngular(() => {
1435
1435
  this._untilGoogleMapsApiLoaded().pipe(takeUntil(this._ngUnsubscribe)).subscribe(() => {
@@ -1556,9 +1556,9 @@ class TheSeamGoogleMapsPlacesAutocompleteDirective {
1556
1556
  }
1557
1557
  }
1558
1558
  }
1559
- 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 });
1560
- 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 });
1561
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsPlacesAutocompleteDirective, decorators: [{
1559
+ 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 });
1560
+ 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 });
1561
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsPlacesAutocompleteDirective, decorators: [{
1562
1562
  type: Directive,
1563
1563
  args: [{
1564
1564
  selector: 'input[seamGoogleMapsPlacesAutocomplete]',
@@ -1577,21 +1577,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
1577
1577
  *
1578
1578
  */
1579
1579
  class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1580
- constructor(_elementRef) {
1581
- this._elementRef = _elementRef;
1582
- this._ngUnsubscribe = new Subject();
1583
- this._autoCompleteReadySubject = new Subject();
1584
- this._placeChangedPending = [];
1585
- this.label = 'Search by address, place or name';
1586
- this.icon = faSearchLocation;
1587
- this.disabled = false;
1588
- this.placeholder = 'Enter address, place or name';
1589
- this.autocorrect = 'off';
1590
- this.autocapitalize = 'off';
1591
- this._tabIndex = -1;
1592
- this._options = SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1593
- this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
1594
- }
1595
1580
  /**
1596
1581
  * Set the tab index to `-1` to allow the root element of the
1597
1582
  * component to receive `focus` event from javascript, but not get focused by
@@ -1617,6 +1602,21 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1617
1602
  _onFocus() {
1618
1603
  this._inputDirective?.focus();
1619
1604
  }
1605
+ constructor(_elementRef) {
1606
+ this._elementRef = _elementRef;
1607
+ this._ngUnsubscribe = new Subject();
1608
+ this._autoCompleteReadySubject = new Subject();
1609
+ this._placeChangedPending = [];
1610
+ this.label = 'Search by address, place or name';
1611
+ this.icon = faSearchLocation;
1612
+ this.disabled = false;
1613
+ this.placeholder = 'Enter address, place or name';
1614
+ this.autocorrect = 'off';
1615
+ this.autocapitalize = 'off';
1616
+ this._tabIndex = -1;
1617
+ this._options = SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
1618
+ this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
1619
+ }
1620
1620
  ngOnInit() { }
1621
1621
  /** @ignore */
1622
1622
  ngOnDestroy() {
@@ -1726,12 +1726,12 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1726
1726
  }
1727
1727
  }
1728
1728
  }
1729
- TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1730
- 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 });
1729
+ TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1730
+ 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 });
1731
1731
  __decorate([
1732
1732
  InputBoolean()
1733
1733
  ], TheSeamGoogleMapsPlacesAutoCompleteComponent.prototype, "disabled", void 0);
1734
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, decorators: [{
1734
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, decorators: [{
1735
1735
  type: Component,
1736
1736
  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"] }]
1737
1737
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { label: [{
@@ -1771,8 +1771,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
1771
1771
 
1772
1772
  class TheSeamGoogleMapsModule {
1773
1773
  }
1774
- TheSeamGoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1775
- TheSeamGoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, declarations: [TheSeamGoogleMapsComponent,
1774
+ TheSeamGoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1775
+ TheSeamGoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsModule, declarations: [TheSeamGoogleMapsComponent,
1776
1776
  TheSeamMapFileDropComponent,
1777
1777
  TheSeamGoogleMapsUploadButtonControlComponent,
1778
1778
  TheSeamGoogleMapsRecenterButtonControlComponent,
@@ -1787,14 +1787,14 @@ TheSeamGoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
1787
1787
  GoogleMapsModule], exports: [TheSeamGoogleMapsComponent,
1788
1788
  TheSeamGoogleMapsPlacesAutocompleteDirective,
1789
1789
  TheSeamGoogleMapsPlacesAutoCompleteComponent] });
1790
- TheSeamGoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, imports: [CommonModule,
1790
+ TheSeamGoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsModule, imports: [CommonModule,
1791
1791
  ObserversModule,
1792
1792
  TheSeamSharedModule,
1793
1793
  TheSeamMenuModule,
1794
1794
  TheSeamIconModule,
1795
1795
  TheSeamFormFieldModule,
1796
1796
  GoogleMapsModule] });
1797
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamGoogleMapsModule, decorators: [{
1797
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamGoogleMapsModule, decorators: [{
1798
1798
  type: NgModule,
1799
1799
  args: [{
1800
1800
  declarations: [
@@ -1823,9 +1823,129 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
1823
1823
  }]
1824
1824
  }] });
1825
1825
 
1826
+ /**
1827
+ * Token for the config of the LazyMapsAPILoader. Please provide an object of
1828
+ * type {@link TheSeamLazyMapsApiLoader}.
1829
+ */
1830
+ const THESEAM_LAZY_MAPS_API_CONFIG = new InjectionToken('THESEAM_LAZY_MAPS_API_CONFIG');
1831
+ class TheSeamLazyMapsApiLoader extends TheSeamGoogleMapsApiLoader {
1832
+ constructor(_localeId, config) {
1833
+ super();
1834
+ this._localeId = _localeId;
1835
+ this.config = config;
1836
+ this._SCRIPT_ID = 'seamGoogleMapsApiScript';
1837
+ this.callbackName = `__seamLazyGoogleMapsApiLoader`;
1838
+ this._config = config || {};
1839
+ }
1840
+ load() {
1841
+ if (window.google && window.google.maps) {
1842
+ // Google maps already loaded on the page.
1843
+ return of(undefined);
1844
+ }
1845
+ if (this._scriptLoadingPromise) {
1846
+ return from(this._scriptLoadingPromise);
1847
+ }
1848
+ // This can happen in HMR situations or Stackblitz.io editors.
1849
+ const scriptOnPage = document.getElementById(this._SCRIPT_ID);
1850
+ if (scriptOnPage) {
1851
+ this._assignScriptLoadingPromise(scriptOnPage);
1852
+ return from(this._getScriptLoadingPromise());
1853
+ }
1854
+ const script = document.createElement('script');
1855
+ script.type = 'text/javascript';
1856
+ script.async = true;
1857
+ script.defer = true;
1858
+ script.id = this._SCRIPT_ID;
1859
+ script.src = this._getScriptSrc(this.callbackName);
1860
+ this._assignScriptLoadingPromise(script);
1861
+ document.body.appendChild(script);
1862
+ return from(this._getScriptLoadingPromise());
1863
+ }
1864
+ _assignScriptLoadingPromise(scriptElem) {
1865
+ this._scriptLoadingPromise = new Promise((resolve, reject) => {
1866
+ const win = window;
1867
+ win[this.callbackName] = () => { resolve(); };
1868
+ scriptElem.onerror = (error) => {
1869
+ reject(error);
1870
+ };
1871
+ });
1872
+ }
1873
+ _getScriptLoadingPromise() {
1874
+ if (!this._scriptLoadingPromise) {
1875
+ throw Error(`_scriptLoadingPromise has not been assigned.`);
1876
+ }
1877
+ return this._scriptLoadingPromise;
1878
+ }
1879
+ _getScriptSrc(callbackName) {
1880
+ const hostAndPath = this._config.url || 'https://maps.googleapis.com/maps/api/js';
1881
+ const queryParams = {
1882
+ v: this._config.apiVersion || 'quarterly',
1883
+ callback: callbackName,
1884
+ key: this._config.apiKey,
1885
+ client: this._config.clientId,
1886
+ channel: this._config.channel,
1887
+ libraries: this._config.libraries,
1888
+ region: this._config.region,
1889
+ language: this._config.language || (this._localeId !== 'en-US' ? this._localeId : null),
1890
+ };
1891
+ const params = Object.keys(queryParams)
1892
+ // Remove undefined or null params.
1893
+ .filter((k) => queryParams[k] !== undefined && queryParams[k] !== null)
1894
+ // Remove empty arrays.
1895
+ .filter((k) => {
1896
+ const param = queryParams[k];
1897
+ return !Array.isArray(param) || param.length > 0;
1898
+ })
1899
+ // Join arrays as comma seperated strings.
1900
+ .map((k) => {
1901
+ const param = queryParams[k];
1902
+ return { key: k, value: Array.isArray(param) ? param.join(',') : param };
1903
+ })
1904
+ .map((entry) => {
1905
+ return `${entry.key}=${entry.value}`;
1906
+ })
1907
+ .join('&');
1908
+ return `${hostAndPath}?${params}`;
1909
+ }
1910
+ }
1911
+ 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 });
1912
+ TheSeamLazyMapsApiLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamLazyMapsApiLoader });
1913
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamLazyMapsApiLoader, decorators: [{
1914
+ type: Injectable
1915
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1916
+ type: Inject,
1917
+ args: [LOCALE_ID]
1918
+ }] }, { type: undefined, decorators: [{
1919
+ type: Optional
1920
+ }, {
1921
+ type: Inject,
1922
+ args: [THESEAM_LAZY_MAPS_API_CONFIG]
1923
+ }] }]; } });
1924
+
1925
+ /**
1926
+ * When using the TheSeamNoopGoogleMapsAPILoader, the Google Maps API must be
1927
+ * added to the page some other way before the map component is initialixed. One
1928
+ * way would be via a `<script>` Tag.
1929
+ */
1930
+ class TheSeamNoopGoogleMapsAPILoader extends TheSeamGoogleMapsApiLoader {
1931
+ load() {
1932
+ return defer(() => {
1933
+ if (!window.google || !window.google.maps) {
1934
+ return throwError(new Error('Google Maps API not loaded on page. Make sure window.google.maps is available.'));
1935
+ }
1936
+ return of(undefined);
1937
+ });
1938
+ }
1939
+ }
1940
+ TheSeamNoopGoogleMapsAPILoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1941
+ TheSeamNoopGoogleMapsAPILoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader });
1942
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader, decorators: [{
1943
+ type: Injectable
1944
+ }] });
1945
+
1826
1946
  /**
1827
1947
  * Generated bundle index. Do not edit.
1828
1948
  */
1829
1949
 
1830
- 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 };
1950
+ 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 };
1831
1951
  //# sourceMappingURL=theseam-ui-common-google-maps.mjs.map