@theseam/ui-common 0.4.29 → 1.0.0-beta.0
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.
- package/ai/index.d.ts +2 -0
- package/asset-reader/index.d.ts +67 -5
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +1 -1
- package/breadcrumbs/index.d.ts +46 -5
- package/buttons/index.d.ts +220 -5
- package/card/index.d.ts +46 -5
- package/carousel/index.d.ts +100 -5
- package/checkbox/index.d.ts +200 -5
- package/confirm-dialog/index.d.ts +64 -5
- package/core/index.d.ts +139 -5
- package/data-exporter/index.d.ts +60 -5
- package/data-filters/index.d.ts +219 -5
- package/datatable/index.d.ts +1339 -5
- package/datatable-alterations-display/index.d.ts +101 -0
- package/datatable-dynamic/index.d.ts +548 -5
- package/dynamic/index.d.ts +469 -5
- package/dynamic-component-loader/index.d.ts +42 -5
- package/fesm2022/theseam-ui-common-ai.mjs +6 -0
- package/fesm2022/theseam-ui-common-ai.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-asset-reader.mjs +193 -0
- package/fesm2022/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-breadcrumbs.mjs +171 -0
- package/fesm2022/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-buttons.mjs +478 -0
- package/fesm2022/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-card.mjs +128 -0
- package/fesm2022/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-carousel.mjs +269 -0
- package/fesm2022/theseam-ui-common-carousel.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-checkbox.mjs +393 -0
- package/fesm2022/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-confirm-dialog.mjs +183 -0
- package/fesm2022/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-core.mjs +229 -0
- package/fesm2022/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-data-exporter.mjs +89 -0
- package/fesm2022/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-data-filters.mjs +516 -0
- package/fesm2022/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-datatable-alterations-display.mjs +350 -0
- package/fesm2022/theseam-ui-common-datatable-alterations-display.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-datatable-dynamic.mjs +1096 -0
- package/fesm2022/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-datatable.mjs +4263 -0
- package/fesm2022/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-dynamic-component-loader.mjs +134 -0
- package/fesm2022/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-dynamic.mjs +699 -0
- package/fesm2022/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2022/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-form-field-error.mjs +494 -0
- package/fesm2022/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-form-field.mjs +675 -0
- package/fesm2022/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-framework.mjs +4018 -0
- package/fesm2022/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-google-maps.mjs +2191 -0
- package/fesm2022/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-graphql.mjs +1745 -0
- package/fesm2022/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-icon.mjs +646 -0
- package/fesm2022/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-layout.mjs +118 -0
- package/fesm2022/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-loading.mjs +130 -0
- package/fesm2022/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-menu.mjs +1322 -0
- package/fesm2022/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-modal.mjs +1447 -0
- package/fesm2022/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-models.mjs +55 -0
- package/fesm2022/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-navigation-reload.mjs +72 -0
- package/fesm2022/theseam-ui-common-navigation-reload.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-popover.mjs +520 -0
- package/fesm2022/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-progress.mjs +97 -0
- package/fesm2022/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-rich-text.mjs +782 -0
- package/fesm2022/theseam-ui-common-rich-text.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-scrollbar.mjs +158 -0
- package/fesm2022/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-services.mjs +281 -0
- package/fesm2022/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-shared.mjs +719 -0
- package/fesm2022/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-storage.mjs +146 -0
- package/fesm2022/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-story-helpers.mjs +512 -0
- package/fesm2022/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-tabbed.mjs +292 -0
- package/fesm2022/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-table-cell-type.mjs +211 -0
- package/fesm2022/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-table-cell-types.mjs +1207 -0
- package/fesm2022/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-table.mjs +341 -0
- package/fesm2022/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-tel-input.mjs +843 -0
- package/fesm2022/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-testing.mjs +315 -0
- package/fesm2022/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-tiled-select.mjs +584 -0
- package/fesm2022/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-toggle-edit.mjs +517 -0
- package/fesm2022/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-toggle-group.mjs +269 -0
- package/fesm2022/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-tooltip.mjs +592 -0
- package/fesm2022/theseam-ui-common-tooltip.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs +78 -0
- package/fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-utils.mjs +1366 -0
- package/fesm2022/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-validators.mjs +94 -0
- package/fesm2022/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-vertical-list-filter.mjs +85 -0
- package/fesm2022/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-viewers.mjs +566 -0
- package/fesm2022/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-widget.mjs +1466 -0
- package/fesm2022/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2022/theseam-ui-common.mjs +7 -0
- package/fesm2022/theseam-ui-common.mjs.map +1 -0
- package/footer-bar/index.d.ts +15 -5
- package/form-field/index.d.ts +255 -5
- package/form-field-error/index.d.ts +102 -5
- package/framework/base-layout/base-layout.component.scss +18 -10
- package/framework/base-layout/styles/_variables.scss +21 -0
- package/framework/index.d.ts +1372 -5
- package/framework/nav/_nav-theme.scss +4 -0
- package/framework/nav/horizontal-nav/horizontal-nav.component.scss +50 -0
- package/framework/nav/nav-item/nav-item.component.scss +205 -0
- package/framework/nav/styles/_themes/light/_variables.scss +58 -0
- package/framework/nav/styles/_themes/primary/_variables.scss +58 -0
- package/framework/nav/styles/_utilities.scss +3 -0
- package/framework/nav/styles/_variables.scss +2 -0
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +10 -6
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +3 -6
- package/framework/side-nav/side-nav.component.scss +0 -1
- package/framework/side-nav/styles/_themes/light/_variables.scss +26 -14
- package/framework/side-nav/styles/_themes/primary/_variables.scss +14 -4
- package/framework/top-bar/top-bar.component.scss +7 -2
- package/google-maps/index.d.ts +657 -5
- package/graphql/index.d.ts +336 -5
- package/icon/index.d.ts +193 -5
- package/index.d.ts +2 -5
- package/layout/index.d.ts +61 -5
- package/loading/index.d.ts +42 -5
- package/menu/index.d.ts +437 -5
- package/modal/index.d.ts +531 -5
- package/models/index.d.ts +36 -5
- package/navigation-reload/index.d.ts +24 -5
- package/package.json +185 -316
- package/popover/index.d.ts +127 -5
- package/progress/index.d.ts +38 -5
- package/progress/progress-circle/styles/_variables.scss +5 -3
- package/rich-text/index.d.ts +537 -5
- package/scrollbar/index.d.ts +95 -5
- package/services/index.d.ts +129 -5
- package/shared/index.d.ts +229 -5
- package/storage/index.d.ts +35 -5
- package/story-helpers/index.d.ts +184 -5
- package/styles/bootstrap/_bs-variables.scss +5 -3
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +84 -15
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +40 -3
- package/styles/vendor/quill/_quill.scss +2 -2
- package/tabbed/index.d.ts +108 -5
- package/table/index.d.ts +110 -5
- package/table-cell-type/index.d.ts +145 -5
- package/table-cell-types/index.d.ts +537 -5
- package/tel-input/index.d.ts +532 -5
- package/testing/index.d.ts +220 -5
- package/tiled-select/index.d.ts +179 -5
- package/toggle-edit/index.d.ts +160 -5
- package/toggle-group/index.d.ts +61 -5
- package/tooltip/index.d.ts +118 -0
- package/unsaved-changes-dialog/index.d.ts +24 -5
- package/utils/index.d.ts +434 -5
- package/validators/index.d.ts +49 -5
- package/vertical-list-filter/index.d.ts +31 -5
- package/viewers/index.d.ts +173 -5
- package/widget/index.d.ts +535 -5
- package/asset-reader/asset-reader-helper.service.d.ts +0 -10
- package/asset-reader/asset-reader.module.d.ts +0 -7
- package/asset-reader/encrypted-asset-link.directive.d.ts +0 -26
- package/asset-reader/encrypted-asset-reader.d.ts +0 -24
- package/asset-reader/public-api.d.ts +0 -4
- package/breadcrumbs/breadcrumb.d.ts +0 -11
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +0 -11
- package/breadcrumbs/breadcrumbs-resolver.d.ts +0 -5
- package/breadcrumbs/breadcrumbs.module.d.ts +0 -9
- package/breadcrumbs/breadcrumbs.service.d.ts +0 -23
- package/breadcrumbs/public-api.d.ts +0 -5
- package/buttons/badge-button/badge-button.component.d.ts +0 -23
- package/buttons/button/button.component.d.ts +0 -35
- package/buttons/buttons.module.d.ts +0 -12
- package/buttons/progress-circle-button/progress-circle-button.component.d.ts +0 -22
- package/buttons/public-api.d.ts +0 -6
- package/buttons/testing/anchor-badge-button.harness.d.ts +0 -16
- package/buttons/testing/anchor-button.harness.d.ts +0 -16
- package/buttons/testing/badge-button.harness.d.ts +0 -15
- package/buttons/testing/base-badge-button.harness.d.ts +0 -15
- package/buttons/testing/base-button.harness.d.ts +0 -19
- package/buttons/testing/button.harness.d.ts +0 -15
- package/buttons/testing/index.d.ts +0 -5
- package/buttons/testing/toggle-button.harness.d.ts +0 -21
- package/buttons/toggle-button/toggle-button.component.d.ts +0 -29
- package/card/card-action/card-action.component.d.ts +0 -12
- package/card/card-body/card-body.component.d.ts +0 -13
- package/card/card-footer/card-footer.component.d.ts +0 -5
- package/card/card-header/card-header.component.d.ts +0 -7
- package/card/card.component.d.ts +0 -6
- package/card/card.module.d.ts +0 -13
- package/card/public-api.d.ts +0 -6
- package/carousel/carousel-slide.directive.d.ts +0 -8
- package/carousel/carousel.component.d.ts +0 -85
- package/carousel/carousel.module.d.ts +0 -11
- package/carousel/public-api.d.ts +0 -3
- package/checkbox/checkbox.component.d.ts +0 -141
- package/checkbox/checkbox.module.d.ts +0 -8
- package/checkbox/public-api.d.ts +0 -3
- package/checkbox/testing/checkbox.harness.d.ts +0 -49
- package/checkbox/testing/index.d.ts +0 -1
- package/confirm-dialog/confirm-click.directive.d.ts +0 -31
- package/confirm-dialog/confirm-dialog.component.d.ts +0 -16
- package/confirm-dialog/confirm-dialog.module.d.ts +0 -12
- package/confirm-dialog/confirm-dialog.service.d.ts +0 -18
- package/confirm-dialog/public-api.d.ts +0 -4
- package/core/common-behaviors/active.d.ts +0 -8
- package/core/common-behaviors/constructor.d.ts +0 -9
- package/core/common-behaviors/disabled.d.ts +0 -17
- package/core/common-behaviors/element-ref.d.ts +0 -4
- package/core/common-behaviors/index.d.ts +0 -9
- package/core/common-behaviors/initialized.d.ts +0 -30
- package/core/common-behaviors/renderer2.d.ts +0 -4
- package/core/common-behaviors/size.d.ts +0 -9
- package/core/common-behaviors/tabindex.d.ts +0 -18
- package/core/common-behaviors/theme.d.ts +0 -10
- package/core/input-decorators/index.d.ts +0 -2
- package/core/input-decorators/input-boolean.decorator.d.ts +0 -12
- package/core/input-decorators/input-number.decorator.d.ts +0 -12
- package/core/public-api.d.ts +0 -2
- package/data-exporter/data-exporter.d.ts +0 -30
- package/data-exporter/data-exporter.module.d.ts +0 -6
- package/data-exporter/exporters/csv-exporter.d.ts +0 -11
- package/data-exporter/exporters/xlsx-exporter.d.ts +0 -11
- package/data-exporter/public-api.d.ts +0 -4
- package/data-filters/data-filter-container.d.ts +0 -8
- package/data-filters/data-filter-def.d.ts +0 -10
- package/data-filters/data-filter.d.ts +0 -53
- package/data-filters/data-filters.module.d.ts +0 -15
- package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +0 -39
- package/data-filters/filters/data-filter-search/search-filter-options.d.ts +0 -2
- package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +0 -37
- package/data-filters/filters/data-filter-text/text-filter-options.d.ts +0 -25
- package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +0 -46
- package/data-filters/public-api.d.ts +0 -9
- package/datatable/datatable/datatable.component.d.ts +0 -214
- package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +0 -23
- package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +0 -33
- package/datatable/datatable-column/datatable-column.component.d.ts +0 -44
- package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +0 -18
- package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +0 -13
- package/datatable/datatable-export-button/datatable-export-button.component.d.ts +0 -25
- package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +0 -8
- package/datatable/datatable-footer/datatable-footer.directive.d.ts +0 -9
- package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +0 -17
- package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +0 -5
- package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +0 -5
- package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +0 -5
- package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +0 -5
- package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +0 -11
- package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +0 -8
- package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +0 -40
- package/datatable/datatable.module.d.ts +0 -47
- package/datatable/directives/datatable-action-menu-item.directive.d.ts +0 -36
- package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +0 -30
- package/datatable/directives/datatable-cell-tpl.directive.d.ts +0 -8
- package/datatable/directives/datatable-filter.directive.d.ts +0 -9
- package/datatable/directives/datatable-row-action-item.directive.d.ts +0 -8
- package/datatable/models/columns-alteration.d.ts +0 -61
- package/datatable/models/columns-alterations/hide-column.columns-alteration.d.ts +0 -15
- package/datatable/models/columns-alterations/order.columns-alteration.d.ts +0 -20
- package/datatable/models/columns-alterations/sort.columns-alteration.d.ts +0 -14
- package/datatable/models/columns-alterations/width.columns-alteration.d.ts +0 -16
- package/datatable/models/datatable-accessor.d.ts +0 -21
- package/datatable/models/datatable-data-source.d.ts +0 -14
- package/datatable/models/datatable-gql-data-source.d.ts +0 -7
- package/datatable/models/internal-column-props.d.ts +0 -7
- package/datatable/models/menubar-item-data.d.ts +0 -3
- package/datatable/models/page-info.d.ts +0 -18
- package/datatable/models/preferences-accessor.d.ts +0 -3
- package/datatable/models/preferences.d.ts +0 -18
- package/datatable/models/sort-event.d.ts +0 -4
- package/datatable/models/sort-item.d.ts +0 -5
- package/datatable/models/table-column.d.ts +0 -14
- package/datatable/public-api.d.ts +0 -40
- package/datatable/services/columns-alterations-manager.service.d.ts +0 -42
- package/datatable/services/columns-manager.service.d.ts +0 -58
- package/datatable/services/datatable-column-changes.service.d.ts +0 -9
- package/datatable/services/datatable-preferences.service.d.ts +0 -22
- package/datatable/services/datatable-scrollbar-helper.service.d.ts +0 -22
- package/datatable/tokens/datatable-accessor.d.ts +0 -3
- package/datatable/tokens/datatable-preferences-accessor.d.ts +0 -3
- package/datatable/tokens/menubar-item-data.d.ts +0 -3
- package/datatable/utils/create-action-menu-column.d.ts +0 -3
- package/datatable/utils/create-checkbox-column.d.ts +0 -3
- package/datatable/utils/get-column-prop.d.ts +0 -5
- package/datatable/utils/map-columns-alterations-states.d.ts +0 -2
- package/datatable/utils/remove-unused-diffs.d.ts +0 -7
- package/datatable/utils/set-column-defaults.d.ts +0 -2
- package/datatable/utils/translate-templates.d.ts +0 -2
- package/datatable/utils/with-stored-column-info.d.ts +0 -3
- package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +0 -33
- package/datatable-dynamic/datatable-dynamic-def.d.ts +0 -71
- package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +0 -18
- package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +0 -63
- package/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.d.ts +0 -16
- package/datatable-dynamic/datatable-dynamic-menu-bar-token.d.ts +0 -3
- package/datatable-dynamic/datatable-dynamic.component.d.ts +0 -89
- package/datatable-dynamic/datatable-dynamic.module.d.ts +0 -22
- package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +0 -75
- package/datatable-dynamic/dynamic-datatable-def.service.d.ts +0 -62
- package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +0 -19
- package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +0 -17
- package/datatable-dynamic/models/dynamic-datatable-filter-menu-item.d.ts +0 -7
- package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +0 -63
- package/datatable-dynamic/models/dynamic-datatable-row-action-context.d.ts +0 -5
- package/datatable-dynamic/models/dynamic-datatable-row-action.d.ts +0 -17
- package/datatable-dynamic/models/index.d.ts +0 -5
- package/datatable-dynamic/public-api.d.ts +0 -13
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.d.ts +0 -2
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.d.ts +0 -2
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.d.ts +0 -2
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.d.ts +0 -2
- package/datatable-dynamic/utils/index.d.ts +0 -4
- package/dynamic/action/api/dynamic-action-api-def.d.ts +0 -35
- package/dynamic/action/api/dynamic-action-api-errors.d.ts +0 -1
- package/dynamic/action/api/dynamic-action-api.d.ts +0 -3
- package/dynamic/action/api/dynamic-action-api.service.d.ts +0 -33
- package/dynamic/action/dynamic-action-helper.service.d.ts +0 -39
- package/dynamic/action/index.d.ts +0 -10
- package/dynamic/action/link/dynamic-action-link-def.d.ts +0 -58
- package/dynamic/action/link/dynamic-action-link.d.ts +0 -3
- package/dynamic/action/link/dynamic-action-link.service.d.ts +0 -17
- package/dynamic/action/modal/dynamic-action-modal-def.d.ts +0 -10
- package/dynamic/action/modal/dynamic-action-modal.d.ts +0 -3
- package/dynamic/action/modal/dynamic-action-modal.service.d.ts +0 -32
- package/dynamic/dynamic-value-helper.service.d.ts +0 -38
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +0 -19
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.d.ts +0 -8
- package/dynamic/evaluators/exporters-data-evaluator/index.d.ts +0 -2
- package/dynamic/evaluators/index.d.ts +0 -2
- package/dynamic/evaluators/jexl-evaluator/index.d.ts +0 -2
- package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +0 -13
- package/dynamic/evaluators/jexl-evaluator/jexl-value.d.ts +0 -11
- package/dynamic/models/dynamic-action-confirm-def.d.ts +0 -10
- package/dynamic/models/dynamic-action-context.d.ts +0 -2
- package/dynamic/models/dynamic-action-def.d.ts +0 -9
- package/dynamic/models/dynamic-action-ui-anchor-def.d.ts +0 -39
- package/dynamic/models/dynamic-action-ui-button-def.d.ts +0 -13
- package/dynamic/models/dynamic-action-ui-def.d.ts +0 -37
- package/dynamic/models/dynamic-action.d.ts +0 -11
- package/dynamic/models/dynamic-value-base-type.d.ts +0 -4
- package/dynamic/models/dynamic-value-evaluatable-type.d.ts +0 -3
- package/dynamic/models/dynamic-value-evaluator.d.ts +0 -6
- package/dynamic/models/dynamic-value-primitive.d.ts +0 -1
- package/dynamic/models/dynamic-value-type.d.ts +0 -4
- package/dynamic/models/dynamic-value.d.ts +0 -3
- package/dynamic/models/index.d.ts +0 -13
- package/dynamic/public-api.d.ts +0 -6
- package/dynamic/tokens/api-config.d.ts +0 -30
- package/dynamic/tokens/dynamic-action.d.ts +0 -3
- package/dynamic/tokens/dynamic-data.d.ts +0 -2
- package/dynamic/tokens/dynamic-value-evaluator.d.ts +0 -3
- package/dynamic/tokens/index.d.ts +0 -4
- package/dynamic/utils/index.d.ts +0 -1
- package/dynamic/utils/is-action-type.d.ts +0 -2
- package/dynamic-component-loader/dynamic-component-loader.module.d.ts +0 -11
- package/dynamic-component-loader/dynamic-component-loader.service.d.ts +0 -16
- package/dynamic-component-loader/dynamic-component-manifest.d.ts +0 -9
- package/dynamic-component-loader/dynamic-component-tokens.d.ts +0 -4
- package/dynamic-component-loader/public-api.d.ts +0 -4
- package/esm2020/asset-reader/asset-reader-helper.service.mjs +0 -70
- package/esm2020/asset-reader/asset-reader.module.mjs +0 -20
- package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +0 -74
- package/esm2020/asset-reader/encrypted-asset-reader.mjs +0 -20
- package/esm2020/asset-reader/public-api.mjs +0 -5
- package/esm2020/asset-reader/theseam-ui-common-asset-reader.mjs +0 -5
- package/esm2020/breadcrumbs/breadcrumb.mjs +0 -2
- package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +0 -18
- package/esm2020/breadcrumbs/breadcrumbs-resolver.mjs +0 -2
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +0 -28
- package/esm2020/breadcrumbs/breadcrumbs.service.mjs +0 -156
- package/esm2020/breadcrumbs/public-api.mjs +0 -6
- package/esm2020/breadcrumbs/theseam-ui-common-breadcrumbs.mjs +0 -5
- package/esm2020/buttons/badge-button/badge-button.component.mjs +0 -62
- package/esm2020/buttons/button/button.component.mjs +0 -85
- package/esm2020/buttons/buttons.module.mjs +0 -51
- package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +0 -52
- package/esm2020/buttons/public-api.mjs +0 -7
- package/esm2020/buttons/testing/anchor-badge-button.harness.mjs +0 -18
- package/esm2020/buttons/testing/anchor-button.harness.mjs +0 -18
- package/esm2020/buttons/testing/badge-button.harness.mjs +0 -14
- package/esm2020/buttons/testing/base-badge-button.harness.mjs +0 -29
- package/esm2020/buttons/testing/base-button.harness.mjs +0 -41
- package/esm2020/buttons/testing/button.harness.mjs +0 -16
- package/esm2020/buttons/testing/index.mjs +0 -6
- package/esm2020/buttons/testing/toggle-button.harness.mjs +0 -25
- package/esm2020/buttons/theseam-ui-common-buttons.mjs +0 -5
- package/esm2020/buttons/toggle-button/toggle-button.component.mjs +0 -79
- package/esm2020/card/card-action/card-action.component.mjs +0 -31
- package/esm2020/card/card-body/card-body.component.mjs +0 -32
- package/esm2020/card/card-footer/card-footer.component.mjs +0 -11
- package/esm2020/card/card-header/card-header.component.mjs +0 -21
- package/esm2020/card/card.component.mjs +0 -17
- package/esm2020/card/card.module.mjs +0 -48
- package/esm2020/card/public-api.mjs +0 -7
- package/esm2020/card/theseam-ui-common-card.mjs +0 -5
- package/esm2020/carousel/carousel-slide.directive.mjs +0 -16
- package/esm2020/carousel/carousel.component.mjs +0 -212
- package/esm2020/carousel/carousel.module.mjs +0 -38
- package/esm2020/carousel/public-api.mjs +0 -4
- package/esm2020/carousel/theseam-ui-common-carousel.mjs +0 -5
- package/esm2020/checkbox/checkbox.component.mjs +0 -285
- package/esm2020/checkbox/checkbox.module.mjs +0 -21
- package/esm2020/checkbox/public-api.mjs +0 -4
- package/esm2020/checkbox/testing/checkbox.harness.mjs +0 -63
- package/esm2020/checkbox/testing/index.mjs +0 -2
- package/esm2020/checkbox/theseam-ui-common-checkbox.mjs +0 -5
- package/esm2020/confirm-dialog/confirm-click.directive.mjs +0 -71
- package/esm2020/confirm-dialog/confirm-dialog.component.mjs +0 -38
- package/esm2020/confirm-dialog/confirm-dialog.module.mjs +0 -47
- package/esm2020/confirm-dialog/confirm-dialog.service.mjs +0 -41
- package/esm2020/confirm-dialog/public-api.mjs +0 -5
- package/esm2020/confirm-dialog/theseam-ui-common-confirm-dialog.mjs +0 -5
- package/esm2020/core/common-behaviors/active.mjs +0 -14
- package/esm2020/core/common-behaviors/constructor.mjs +0 -9
- package/esm2020/core/common-behaviors/disabled.mjs +0 -21
- package/esm2020/core/common-behaviors/element-ref.mjs +0 -2
- package/esm2020/core/common-behaviors/index.mjs +0 -10
- package/esm2020/core/common-behaviors/initialized.mjs +0 -63
- package/esm2020/core/common-behaviors/renderer2.mjs +0 -2
- package/esm2020/core/common-behaviors/size.mjs +0 -24
- package/esm2020/core/common-behaviors/tabindex.mjs +0 -23
- package/esm2020/core/common-behaviors/theme.mjs +0 -24
- package/esm2020/core/input-decorators/index.mjs +0 -3
- package/esm2020/core/input-decorators/input-boolean.decorator.mjs +0 -26
- package/esm2020/core/input-decorators/input-number.decorator.mjs +0 -26
- package/esm2020/core/public-api.mjs +0 -3
- package/esm2020/core/theseam-ui-common-core.mjs +0 -5
- package/esm2020/data-exporter/data-exporter.mjs +0 -7
- package/esm2020/data-exporter/data-exporter.module.mjs +0 -25
- package/esm2020/data-exporter/exporters/csv-exporter.mjs +0 -35
- package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +0 -33
- package/esm2020/data-exporter/public-api.mjs +0 -5
- package/esm2020/data-exporter/theseam-ui-common-data-exporter.mjs +0 -5
- package/esm2020/data-filters/data-filter-container.mjs +0 -3
- package/esm2020/data-filters/data-filter-def.mjs +0 -3
- package/esm2020/data-filters/data-filter.mjs +0 -25
- package/esm2020/data-filters/data-filters.module.mjs +0 -66
- package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +0 -121
- package/esm2020/data-filters/filters/data-filter-search/search-filter-options.mjs +0 -2
- package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +0 -148
- package/esm2020/data-filters/filters/data-filter-text/text-filter-options.mjs +0 -2
- package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +0 -166
- package/esm2020/data-filters/public-api.mjs +0 -10
- package/esm2020/data-filters/theseam-ui-common-data-filters.mjs +0 -5
- package/esm2020/datatable/datatable/datatable.component.mjs +0 -670
- package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +0 -112
- package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +0 -50
- package/esm2020/datatable/datatable-column/datatable-column.component.mjs +0 -107
- package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +0 -67
- package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +0 -51
- package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +0 -106
- package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +0 -16
- package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +0 -24
- package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +0 -49
- package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +0 -11
- package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +0 -11
- package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +0 -11
- package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +0 -11
- package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +0 -30
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +0 -16
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +0 -77
- package/esm2020/datatable/datatable.module.mjs +0 -205
- package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +0 -62
- package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +0 -137
- package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +0 -16
- package/esm2020/datatable/directives/datatable-filter.directive.mjs +0 -27
- package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +0 -16
- package/esm2020/datatable/models/columns-alteration.mjs +0 -38
- package/esm2020/datatable/models/columns-alterations/hide-column.columns-alteration.mjs +0 -38
- package/esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs +0 -83
- package/esm2020/datatable/models/columns-alterations/sort.columns-alteration.mjs +0 -33
- package/esm2020/datatable/models/columns-alterations/width.columns-alteration.mjs +0 -41
- package/esm2020/datatable/models/datatable-accessor.mjs +0 -2
- package/esm2020/datatable/models/datatable-data-source.mjs +0 -42
- package/esm2020/datatable/models/datatable-gql-data-source.mjs +0 -15
- package/esm2020/datatable/models/internal-column-props.mjs +0 -15
- package/esm2020/datatable/models/menubar-item-data.mjs +0 -2
- package/esm2020/datatable/models/page-info.mjs +0 -2
- package/esm2020/datatable/models/preferences-accessor.mjs +0 -2
- package/esm2020/datatable/models/preferences.mjs +0 -6
- package/esm2020/datatable/models/sort-event.mjs +0 -2
- package/esm2020/datatable/models/sort-item.mjs +0 -2
- package/esm2020/datatable/models/table-column.mjs +0 -2
- package/esm2020/datatable/public-api.mjs +0 -41
- package/esm2020/datatable/services/columns-alterations-manager.service.mjs +0 -136
- package/esm2020/datatable/services/columns-manager.service.mjs +0 -261
- package/esm2020/datatable/services/datatable-column-changes.service.mjs +0 -20
- package/esm2020/datatable/services/datatable-preferences.service.mjs +0 -94
- package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +0 -50
- package/esm2020/datatable/theseam-ui-common-datatable.mjs +0 -5
- package/esm2020/datatable/tokens/datatable-accessor.mjs +0 -3
- package/esm2020/datatable/tokens/datatable-preferences-accessor.mjs +0 -3
- package/esm2020/datatable/tokens/menubar-item-data.mjs +0 -3
- package/esm2020/datatable/utils/create-action-menu-column.mjs +0 -18
- package/esm2020/datatable/utils/create-checkbox-column.mjs +0 -15
- package/esm2020/datatable/utils/get-column-prop.mjs +0 -9
- package/esm2020/datatable/utils/map-columns-alterations-states.mjs +0 -42
- package/esm2020/datatable/utils/remove-unused-diffs.mjs +0 -9
- package/esm2020/datatable/utils/set-column-defaults.mjs +0 -10
- package/esm2020/datatable/utils/translate-templates.mjs +0 -12
- package/esm2020/datatable/utils/with-stored-column-info.mjs +0 -20
- package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +0 -118
- package/esm2020/datatable-dynamic/datatable-dynamic-def.mjs +0 -2
- package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +0 -50
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +0 -148
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs +0 -2
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-token.mjs +0 -3
- package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +0 -75
- package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +0 -80
- package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +0 -400
- package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +0 -88
- package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +0 -46
- package/esm2020/datatable-dynamic/models/dynamic-datatable-action-menu-record.mjs +0 -2
- package/esm2020/datatable-dynamic/models/dynamic-datatable-filter-menu-item.mjs +0 -2
- package/esm2020/datatable-dynamic/models/dynamic-datatable-menu-bar.mjs +0 -2
- package/esm2020/datatable-dynamic/models/dynamic-datatable-row-action-context.mjs +0 -2
- package/esm2020/datatable-dynamic/models/dynamic-datatable-row-action.mjs +0 -2
- package/esm2020/datatable-dynamic/models/index.mjs +0 -6
- package/esm2020/datatable-dynamic/public-api.mjs +0 -14
- package/esm2020/datatable-dynamic/theseam-ui-common-datatable-dynamic.mjs +0 -5
- package/esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.mjs +0 -8
- package/esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.mjs +0 -13
- package/esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.mjs +0 -6
- package/esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.mjs +0 -6
- package/esm2020/datatable-dynamic/utils/index.mjs +0 -5
- package/esm2020/dynamic/action/api/dynamic-action-api-def.mjs +0 -2
- package/esm2020/dynamic/action/api/dynamic-action-api-errors.mjs +0 -4
- package/esm2020/dynamic/action/api/dynamic-action-api.mjs +0 -2
- package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +0 -209
- package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +0 -158
- package/esm2020/dynamic/action/index.mjs +0 -11
- package/esm2020/dynamic/action/link/dynamic-action-link-def.mjs +0 -2
- package/esm2020/dynamic/action/link/dynamic-action-link.mjs +0 -2
- package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +0 -47
- package/esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs +0 -2
- package/esm2020/dynamic/action/modal/dynamic-action-modal.mjs +0 -2
- package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +0 -85
- package/esm2020/dynamic/dynamic-value-helper.service.mjs +0 -105
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +0 -30
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.mjs +0 -2
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/index.mjs +0 -3
- package/esm2020/dynamic/evaluators/index.mjs +0 -3
- package/esm2020/dynamic/evaluators/jexl-evaluator/index.mjs +0 -3
- package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +0 -32
- package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-value.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-confirm-def.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-context.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-def.mjs +0 -3
- package/esm2020/dynamic/models/dynamic-action-ui-anchor-def.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-ui-button-def.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-ui-def.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-base-type.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-evaluatable-type.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-evaluator.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-primitive.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-type.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value.mjs +0 -2
- package/esm2020/dynamic/models/index.mjs +0 -14
- package/esm2020/dynamic/public-api.mjs +0 -7
- package/esm2020/dynamic/theseam-ui-common-dynamic.mjs +0 -5
- package/esm2020/dynamic/tokens/api-config.mjs +0 -29
- package/esm2020/dynamic/tokens/dynamic-action.mjs +0 -3
- package/esm2020/dynamic/tokens/dynamic-data.mjs +0 -3
- package/esm2020/dynamic/tokens/dynamic-value-evaluator.mjs +0 -3
- package/esm2020/dynamic/tokens/index.mjs +0 -5
- package/esm2020/dynamic/utils/index.mjs +0 -2
- package/esm2020/dynamic/utils/is-action-type.mjs +0 -4
- package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +0 -50
- package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +0 -78
- package/esm2020/dynamic-component-loader/dynamic-component-manifest.mjs +0 -2
- package/esm2020/dynamic-component-loader/dynamic-component-tokens.mjs +0 -5
- package/esm2020/dynamic-component-loader/public-api.mjs +0 -5
- package/esm2020/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.mjs +0 -5
- package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +0 -11
- package/esm2020/footer-bar/footer-bar.module.mjs +0 -20
- package/esm2020/footer-bar/public-api.mjs +0 -3
- package/esm2020/footer-bar/theseam-ui-common-footer-bar.mjs +0 -5
- package/esm2020/form-field/form-field-error.directive.mjs +0 -30
- package/esm2020/form-field/form-field-help-text.directive.mjs +0 -16
- package/esm2020/form-field/form-field-label-tpl.directive.mjs +0 -16
- package/esm2020/form-field/form-field-required-indicator.component.mjs +0 -61
- package/esm2020/form-field/form-field-tokens.mjs +0 -3
- package/esm2020/form-field/form-field.component.mjs +0 -221
- package/esm2020/form-field/form-field.module.mjs +0 -61
- package/esm2020/form-field/input.directive.mjs +0 -227
- package/esm2020/form-field/public-api.mjs +0 -10
- package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +0 -8
- package/esm2020/form-field/testing/form-field.harness.mjs +0 -45
- package/esm2020/form-field/testing/index.mjs +0 -3
- package/esm2020/form-field/theseam-ui-common-form-field.mjs +0 -5
- package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +0 -26
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +0 -26
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +0 -18
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +0 -384
- package/esm2020/form-field-error/form-field-error.module.mjs +0 -39
- package/esm2020/form-field-error/public-api.mjs +0 -6
- package/esm2020/form-field-error/theseam-ui-common-form-field-error.mjs +0 -5
- package/esm2020/framework/base-layout/base-layout-action.mjs +0 -2
- package/esm2020/framework/base-layout/base-layout-nav.mjs +0 -2
- package/esm2020/framework/base-layout/base-layout-ref.mjs +0 -2
- package/esm2020/framework/base-layout/base-layout-tokens.mjs +0 -3
- package/esm2020/framework/base-layout/base-layout.component.mjs +0 -123
- package/esm2020/framework/base-layout/base-layout.module.mjs +0 -75
- package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +0 -50
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +0 -16
- package/esm2020/framework/base-layout/index.mjs +0 -14
- package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +0 -16
- package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +0 -23
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +0 -119
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-item.mjs +0 -2
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.mjs +0 -3
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.mjs +0 -2
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +0 -177
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +0 -207
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +0 -181
- package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +0 -3
- package/esm2020/framework/dashboard/dashboard.component.mjs +0 -24
- package/esm2020/framework/dashboard/dashboard.module.mjs +0 -60
- package/esm2020/framework/dashboard/index.mjs +0 -12
- package/esm2020/framework/dynamic-router/dynamic-route-def.mjs +0 -2
- package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +0 -28
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs +0 -256
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +0 -116
- package/esm2020/framework/dynamic-router/index.mjs +0 -6
- package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +0 -26
- package/esm2020/framework/public-api.mjs +0 -7
- package/esm2020/framework/schema-form/index.mjs +0 -5
- package/esm2020/framework/schema-form/schema-form-framework.component.mjs +0 -21
- package/esm2020/framework/schema-form/schema-form-framework.mjs +0 -85
- package/esm2020/framework/schema-form/schema-form-widget.mjs +0 -2
- package/esm2020/framework/schema-form/schema-form.module.mjs +0 -45
- package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +0 -53
- package/esm2020/framework/schema-form-controls/schema-form-divider/schema-form-divider.component.mjs +0 -20
- package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +0 -43
- package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +0 -49
- package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +0 -48
- package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +0 -54
- package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +0 -156
- package/esm2020/framework/schema-form-controls/schema-form-tel/schema-form-tel.component.mjs +0 -48
- package/esm2020/framework/schema-form-controls/schema-form-tiled-select/schema-form-tiled-select.component.mjs +0 -57
- package/esm2020/framework/side-nav/index.mjs +0 -8
- package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +0 -225
- package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +0 -33
- package/esm2020/framework/side-nav/side-nav-tokens.mjs +0 -7
- package/esm2020/framework/side-nav/side-nav-utils.mjs +0 -90
- package/esm2020/framework/side-nav/side-nav.component.mjs +0 -330
- package/esm2020/framework/side-nav/side-nav.models.mjs +0 -2
- package/esm2020/framework/side-nav/side-nav.module.mjs +0 -62
- package/esm2020/framework/side-nav/side-nav.service.mjs +0 -178
- package/esm2020/framework/theseam-ui-common-framework.mjs +0 -5
- package/esm2020/framework/top-bar/index.mjs +0 -8
- package/esm2020/framework/top-bar/top-bar-item.directive.mjs +0 -16
- package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +0 -16
- package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +0 -54
- package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +0 -19
- package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +0 -17
- package/esm2020/framework/top-bar/top-bar.component.mjs +0 -97
- package/esm2020/framework/top-bar/top-bar.module.mjs +0 -73
- package/esm2020/google-maps/google-maps/google-maps.component.mjs +0 -333
- package/esm2020/google-maps/google-maps-api-loader/google-maps-api-loader.mjs +0 -3
- package/esm2020/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.mjs +0 -104
- package/esm2020/google-maps/google-maps-api-loader/noop-google-maps-api-loader.mjs +0 -25
- package/esm2020/google-maps/google-maps-contextmenu.mjs +0 -114
- package/esm2020/google-maps/google-maps-controls.service.mjs +0 -67
- package/esm2020/google-maps/google-maps-feature-helpers.mjs +0 -223
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +0 -209
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +0 -165
- package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +0 -58
- package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +0 -115
- package/esm2020/google-maps/google-maps.module.mjs +0 -72
- package/esm2020/google-maps/google-maps.service.mjs +0 -429
- package/esm2020/google-maps/map-control.component.mjs +0 -66
- package/esm2020/google-maps/map-controls-service.mjs +0 -4
- package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +0 -128
- package/esm2020/google-maps/map-value-manager.service.mjs +0 -48
- package/esm2020/google-maps/public-api.mjs +0 -18
- package/esm2020/google-maps/theseam-ui-common-google-maps.mjs +0 -5
- package/esm2020/graphql/datatable/create-page-info-observable.mjs +0 -38
- package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +0 -212
- package/esm2020/graphql/datatable/datatable-graphql.service.mjs +0 -50
- package/esm2020/graphql/datatable/datatable-helpers.mjs +0 -175
- package/esm2020/graphql/datatable/get-page-info.mjs +0 -10
- package/esm2020/graphql/datatable/index.mjs +0 -7
- package/esm2020/graphql/datatable/map-filter-states.mjs +0 -63
- package/esm2020/graphql/datatable/map-page-info.mjs +0 -14
- package/esm2020/graphql/datatable/mapper-context.mjs +0 -2
- package/esm2020/graphql/models/direction.mjs +0 -8
- package/esm2020/graphql/models/gql-datatable-accessor.mjs +0 -2
- package/esm2020/graphql/models/hint-definition.mjs +0 -2
- package/esm2020/graphql/models/hint-transform-operation.mjs +0 -2
- package/esm2020/graphql/models/hint-transformer.mjs +0 -2
- package/esm2020/graphql/models/hints-kind.mjs +0 -9
- package/esm2020/graphql/models/hints-token.mjs +0 -2
- package/esm2020/graphql/models/index.mjs +0 -10
- package/esm2020/graphql/models/query-processing-config.mjs +0 -2
- package/esm2020/graphql/models/variable.mjs +0 -7
- package/esm2020/graphql/public-api.mjs +0 -3
- package/esm2020/graphql/theseam-ui-common-graphql.mjs +0 -5
- package/esm2020/graphql/utils/contains-variable.mjs +0 -14
- package/esm2020/graphql/utils/gql-var.mjs +0 -4
- package/esm2020/graphql/utils/hints-tokens-containing-hint.mjs +0 -4
- package/esm2020/graphql/utils/index.mjs +0 -11
- package/esm2020/graphql/utils/inline-variables.mjs +0 -51
- package/esm2020/graphql/utils/parse-comments.mjs +0 -24
- package/esm2020/graphql/utils/parse-hints.mjs +0 -108
- package/esm2020/graphql/utils/remove-variable-definition.mjs +0 -14
- package/esm2020/graphql/utils/remove-variable-definitions-not-defined.mjs +0 -19
- package/esm2020/graphql/utils/remove-variable.mjs +0 -22
- package/esm2020/graphql/utils/to-gql.mjs +0 -40
- package/esm2020/icon/icon/icon.component.mjs +0 -139
- package/esm2020/icon/icon-btn/icon-btn.component.mjs +0 -183
- package/esm2020/icon/icon-notification/icon-notification.component.mjs +0 -124
- package/esm2020/icon/icon.mjs +0 -2
- package/esm2020/icon/icon.module.mjs +0 -38
- package/esm2020/icon/public-api.mjs +0 -7
- package/esm2020/icon/theseam-ui-common-icon.mjs +0 -5
- package/esm2020/icon/utils/file-extension-icon.mjs +0 -33
- package/esm2020/icon/utils/get-known-icon.mjs +0 -82
- package/esm2020/icon/utils/index.mjs +0 -3
- package/esm2020/layout/breakpoint-aliases.mjs +0 -11
- package/esm2020/layout/layout.module.mjs +0 -25
- package/esm2020/layout/layout.service.mjs +0 -22
- package/esm2020/layout/observe-media-query.mjs +0 -41
- package/esm2020/layout/public-api.mjs +0 -5
- package/esm2020/layout/theseam-ui-common-layout.mjs +0 -5
- package/esm2020/loading/loading/loading.component.mjs +0 -26
- package/esm2020/loading/loading-overlay.service.mjs +0 -58
- package/esm2020/loading/loading-themes.mjs +0 -18
- package/esm2020/loading/loading.models.mjs +0 -2
- package/esm2020/loading/loading.module.mjs +0 -41
- package/esm2020/loading/public-api.mjs +0 -6
- package/esm2020/loading/theseam-ui-common-loading.mjs +0 -5
- package/esm2020/menu/menu-animations.mjs +0 -58
- package/esm2020/menu/menu-divider.component.mjs +0 -13
- package/esm2020/menu/menu-footer/menu-footer.component.mjs +0 -32
- package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +0 -54
- package/esm2020/menu/menu-header/menu-header.component.mjs +0 -32
- package/esm2020/menu/menu-item.component.mjs +0 -158
- package/esm2020/menu/menu-panel-token.mjs +0 -6
- package/esm2020/menu/menu-panel.mjs +0 -2
- package/esm2020/menu/menu-toggle.directive.mjs +0 -422
- package/esm2020/menu/menu.component.mjs +0 -200
- package/esm2020/menu/menu.module.mjs +0 -67
- package/esm2020/menu/public-api.mjs +0 -16
- package/esm2020/menu/testing/menu-footer.harness.mjs +0 -28
- package/esm2020/menu/testing/menu-header.harness.mjs +0 -23
- package/esm2020/menu/testing/menu-item.harness.mjs +0 -59
- package/esm2020/menu/testing/menu.harness.mjs +0 -163
- package/esm2020/menu/testing/utils.mjs +0 -13
- package/esm2020/menu/theseam-ui-common-menu.mjs +0 -5
- package/esm2020/modal/directives/modal-close.directive.mjs +0 -74
- package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +0 -16
- package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +0 -16
- package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +0 -16
- package/esm2020/modal/directives/modal-title.directive.mjs +0 -20
- package/esm2020/modal/directives/modal.directive.mjs +0 -25
- package/esm2020/modal/modal/modal.component.mjs +0 -162
- package/esm2020/modal/modal-body/modal-body.component.mjs +0 -21
- package/esm2020/modal/modal-config.mjs +0 -47
- package/esm2020/modal/modal-container/modal-container.component.mjs +0 -245
- package/esm2020/modal/modal-footer/modal-footer.component.mjs +0 -17
- package/esm2020/modal/modal-header/modal-header.component.mjs +0 -28
- package/esm2020/modal/modal-injectors.mjs +0 -23
- package/esm2020/modal/modal-ref.mjs +0 -171
- package/esm2020/modal/modal-utils.mjs +0 -14
- package/esm2020/modal/modal.models.mjs +0 -3
- package/esm2020/modal/modal.module.mjs +0 -127
- package/esm2020/modal/modal.service.mjs +0 -352
- package/esm2020/modal/public-api.mjs +0 -20
- package/esm2020/modal/route-modal/route-modal.component.mjs +0 -62
- package/esm2020/modal/theseam-ui-common-modal.mjs +0 -5
- package/esm2020/models/component-type.mjs +0 -4
- package/esm2020/models/http-status-codes.mjs +0 -20
- package/esm2020/models/public-api.mjs +0 -8
- package/esm2020/models/size-prefixes.mjs +0 -2
- package/esm2020/models/size-types.mjs +0 -2
- package/esm2020/models/theme-names.mjs +0 -26
- package/esm2020/models/theme-prefixes.mjs +0 -2
- package/esm2020/models/theme-types.mjs +0 -2
- package/esm2020/models/theseam-ui-common-models.mjs +0 -5
- package/esm2020/navigation-reload/navigation-reload.config.mjs +0 -2
- package/esm2020/navigation-reload/navigation-reload.provider.mjs +0 -14
- package/esm2020/navigation-reload/navigation-reload.service.mjs +0 -54
- package/esm2020/navigation-reload/public-api.mjs +0 -4
- package/esm2020/navigation-reload/theseam-ui-common-navigation-reload.mjs +0 -5
- package/esm2020/popover/popover/popover.component.mjs +0 -156
- package/esm2020/popover/popover-animations.mjs +0 -46
- package/esm2020/popover/popover.directive.mjs +0 -260
- package/esm2020/popover/popover.module.mjs +0 -40
- package/esm2020/popover/public-api.mjs +0 -5
- package/esm2020/popover/theseam-ui-common-popover.mjs +0 -5
- package/esm2020/progress/progress-circle/progress-circle.component.mjs +0 -65
- package/esm2020/progress/progress.module.mjs +0 -24
- package/esm2020/progress/public-api.mjs +0 -3
- package/esm2020/progress/theseam-ui-common-progress.mjs +0 -5
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/rich-text/public-api.mjs +0 -5
- package/esm2020/rich-text/rich-text/rich-text.component.mjs +0 -594
- package/esm2020/rich-text/rich-text.module.mjs +0 -32
- package/esm2020/rich-text/theseam-ui-common-rich-text.mjs +0 -5
- package/esm2020/rich-text/utils/models.mjs +0 -24
- package/esm2020/rich-text/utils/utils.mjs +0 -123
- package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +0 -60
- package/esm2020/scrollbar/overlay-scrollbars-config-model.mjs +0 -2
- package/esm2020/scrollbar/overlay-scrollbars-config.mjs +0 -13
- package/esm2020/scrollbar/overlay-scrollbars.service.mjs +0 -83
- package/esm2020/scrollbar/public-api.mjs +0 -6
- package/esm2020/scrollbar/scrollbar.module.mjs +0 -30
- package/esm2020/scrollbar/theseam-ui-common-scrollbar.mjs +0 -5
- package/esm2020/services/asset-loader.service.mjs +0 -32
- package/esm2020/services/font-loader.service.mjs +0 -83
- package/esm2020/services/preferences/preferences-accessor.mjs +0 -2
- package/esm2020/services/preferences/preferences-manager.service.mjs +0 -69
- package/esm2020/services/preferences/preferences-record.mjs +0 -72
- package/esm2020/services/preferences/preferences.models.mjs +0 -2
- package/esm2020/services/public-api.mjs +0 -8
- package/esm2020/services/router-helpers.service.mjs +0 -25
- package/esm2020/services/theseam-ui-common-services.mjs +0 -5
- package/esm2020/shared/components/index.mjs +0 -2
- package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +0 -49
- package/esm2020/shared/directives/auto-focus.directive.mjs +0 -54
- package/esm2020/shared/directives/click-outside.directive.mjs +0 -52
- package/esm2020/shared/directives/disable-control.directive.mjs +0 -27
- package/esm2020/shared/directives/elem-resized.directive.mjs +0 -28
- package/esm2020/shared/directives/hover-class-toggle.directive.mjs +0 -88
- package/esm2020/shared/directives/hover-class.directive.mjs +0 -82
- package/esm2020/shared/directives/index.mjs +0 -9
- package/esm2020/shared/directives/ng-select-extra.directive.mjs +0 -184
- package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +0 -61
- package/esm2020/shared/pipes/index.mjs +0 -3
- package/esm2020/shared/pipes/mask-chars.pipe.mjs +0 -25
- package/esm2020/shared/pipes/truncate.pipe.mjs +0 -23
- package/esm2020/shared/public-api.mjs +0 -5
- package/esm2020/shared/shared.module.mjs +0 -93
- package/esm2020/shared/theseam-ui-common-shared.mjs +0 -5
- package/esm2020/storage/local-storage.service.mjs +0 -78
- package/esm2020/storage/localstorage-memory.mjs +0 -64
- package/esm2020/storage/public-api.mjs +0 -2
- package/esm2020/storage/theseam-ui-common-storage.mjs +0 -5
- package/esm2020/story-helpers/arg-type-helpers.mjs +0 -31
- package/esm2020/story-helpers/args-to-tpl.mjs +0 -83
- package/esm2020/story-helpers/initial-route-factory.mjs +0 -4
- package/esm2020/story-helpers/initial-route.service.mjs +0 -27
- package/esm2020/story-helpers/on-story-bootstrapped-exec.mjs +0 -61
- package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +0 -39
- package/esm2020/story-helpers/public-api.mjs +0 -16
- package/esm2020/story-helpers/route-button.mjs +0 -12
- package/esm2020/story-helpers/routes-arg-type.mjs +0 -19
- package/esm2020/story-helpers/story-empty-with-route.component.mjs +0 -12
- package/esm2020/story-helpers/story-empty.component.mjs +0 -11
- package/esm2020/story-helpers/story-helper-components.module.mjs +0 -42
- package/esm2020/story-helpers/story-initial-route.mjs +0 -28
- package/esm2020/story-helpers/story-modal-container.component.mjs +0 -90
- package/esm2020/story-helpers/story-preferences-accessor.service.mjs +0 -34
- package/esm2020/story-helpers/story-toastr.service.mjs +0 -36
- package/esm2020/story-helpers/theseam-ui-common-story-helpers.mjs +0 -5
- package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +0 -17
- package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +0 -37
- package/esm2020/tabbed/public-api.mjs +0 -9
- package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +0 -16
- package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +0 -33
- package/esm2020/tabbed/tabbed-models.mjs +0 -2
- package/esm2020/tabbed/tabbed.component.mjs +0 -119
- package/esm2020/tabbed/tabbed.module.mjs +0 -54
- package/esm2020/tabbed/tabbed.service.mjs +0 -30
- package/esm2020/tabbed/theseam-ui-common-tabbed.mjs +0 -5
- package/esm2020/table/public-api.mjs +0 -3
- package/esm2020/table/table/table.component.mjs +0 -96
- package/esm2020/table/table.module.mjs +0 -32
- package/esm2020/table/theseam-ui-common-table.mjs +0 -5
- package/esm2020/table-cell-type/public-api.mjs +0 -12
- package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +0 -67
- package/esm2020/table-cell-type/table-cell-type-action.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-column.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-config.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-export-props.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-manifest-provider.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-models.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-name.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +0 -100
- package/esm2020/table-cell-type/table-cell-type-tokens.mjs +0 -4
- package/esm2020/table-cell-type/table-cell-type.module.mjs +0 -29
- package/esm2020/table-cell-type/theseam-ui-common-table-cell-type.mjs +0 -5
- package/esm2020/table-cell-types/public-api.mjs +0 -23
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +0 -86
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +0 -52
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +0 -84
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +0 -175
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +0 -82
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-manifests.mjs +0 -92
- package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +0 -67
- package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +0 -168
- package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +0 -77
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +0 -195
- package/esm2020/table-cell-types/table-cell-types.module.mjs +0 -118
- package/esm2020/table-cell-types/theseam-ui-common-table-cell-types.mjs +0 -5
- package/esm2020/tel-input/intl-tel-input.mjs +0 -55
- package/esm2020/tel-input/models/index.mjs +0 -3
- package/esm2020/tel-input/models/tel-input-country-data.mjs +0 -2
- package/esm2020/tel-input/models/tel-input-number-format-name.mjs +0 -8
- package/esm2020/tel-input/phone-number.pipe.mjs +0 -49
- package/esm2020/tel-input/public-api.mjs +0 -11
- package/esm2020/tel-input/tel-input/tel-input.component.mjs +0 -198
- package/esm2020/tel-input/tel-input-constants.mjs +0 -18
- package/esm2020/tel-input/tel-input-validator.mjs +0 -27
- package/esm2020/tel-input/tel-input.directive.mjs +0 -209
- package/esm2020/tel-input/tel-input.module.mjs +0 -43
- package/esm2020/tel-input/testing/tel-input.harness.mjs +0 -49
- package/esm2020/tel-input/theseam-ui-common-tel-input.mjs +0 -5
- package/esm2020/tel-input/utils/add-country-code.mjs +0 -23
- package/esm2020/tel-input/utils/coerce-phone-number-format.mjs +0 -22
- package/esm2020/tel-input/utils/get-country-code.mjs +0 -9
- package/esm2020/tel-input/utils/get-dial-code.mjs +0 -45
- package/esm2020/tel-input/utils/get-global-intl-tel-input-globals.mjs +0 -4
- package/esm2020/tel-input/utils/get-global-intl-tel-input-utils.mjs +0 -4
- package/esm2020/tel-input/utils/get-intl-tel-input-utils.mjs +0 -17
- package/esm2020/tel-input/utils/get-validation-error-message.mjs +0 -12
- package/esm2020/tel-input/utils/index.mjs +0 -10
- package/esm2020/tel-input/utils/process-country-codes.mjs +0 -46
- package/esm2020/testing/current-tick-time.mjs +0 -16
- package/esm2020/testing/fake-toastr.mjs +0 -29
- package/esm2020/testing/get-harness.mjs +0 -19
- package/esm2020/testing/harnesses/ng-select-dropdown.harness.mjs +0 -39
- package/esm2020/testing/harnesses/ng-select-option.harness.mjs +0 -26
- package/esm2020/testing/harnesses/ng-select.harness.mjs +0 -104
- package/esm2020/testing/public-api.mjs +0 -10
- package/esm2020/testing/render-story.mjs +0 -10
- package/esm2020/testing/story-expect.mjs +0 -40
- package/esm2020/testing/theseam-ui-common-testing.mjs +0 -5
- package/esm2020/testing/tick-helper.mjs +0 -74
- package/esm2020/theseam-ui-common.mjs +0 -5
- package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +0 -214
- package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +0 -159
- package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +0 -63
- package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +0 -17
- package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +0 -16
- package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +0 -19
- package/esm2020/tiled-select/public-api.mjs +0 -10
- package/esm2020/tiled-select/testing/index.mjs +0 -3
- package/esm2020/tiled-select/testing/tiled-select-harness.mjs +0 -21
- package/esm2020/tiled-select/testing/tiled-select-tile-harness.mjs +0 -23
- package/esm2020/tiled-select/theseam-ui-common-tiled-select.mjs +0 -5
- package/esm2020/tiled-select/tiled-select.models.mjs +0 -2
- package/esm2020/tiled-select/tiled-select.module.mjs +0 -51
- package/esm2020/toggle-edit/models/can-toggle-edit.mjs +0 -2
- package/esm2020/toggle-edit/models/index.mjs +0 -3
- package/esm2020/toggle-edit/models/toggle-edit-ref.mjs +0 -2
- package/esm2020/toggle-edit/public-api.mjs +0 -7
- package/esm2020/toggle-edit/theseam-ui-common-toggle-edit.mjs +0 -5
- package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +0 -11
- package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +0 -16
- package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +0 -57
- package/esm2020/toggle-edit/toggle-edit.component.mjs +0 -414
- package/esm2020/toggle-edit/toggle-edit.module.mjs +0 -64
- package/esm2020/toggle-group/public-api.mjs +0 -4
- package/esm2020/toggle-group/theseam-ui-common-toggle-group.mjs +0 -5
- package/esm2020/toggle-group/toggle-group-option.directive.mjs +0 -47
- package/esm2020/toggle-group/toggle-group.directive.mjs +0 -199
- package/esm2020/toggle-group/toggle-group.module.mjs +0 -33
- package/esm2020/unsaved-changes-dialog/public-api.mjs +0 -5
- package/esm2020/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.mjs +0 -5
- package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +0 -30
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +0 -21
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +0 -38
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +0 -17
- package/esm2020/utils/array-move.mjs +0 -62
- package/esm2020/utils/calc-percentage.mjs +0 -4
- package/esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs +0 -18
- package/esm2020/utils/create-padding.mjs +0 -17
- package/esm2020/utils/file-utils.mjs +0 -49
- package/esm2020/utils/form/get-control-name.mjs +0 -31
- package/esm2020/utils/form/get-control-path.mjs +0 -38
- package/esm2020/utils/form/has-required-control.mjs +0 -50
- package/esm2020/utils/form/is-empty-input-value.mjs +0 -6
- package/esm2020/utils/form/observe-control-is-different.mjs +0 -18
- package/esm2020/utils/form/observe-control-status.mjs +0 -17
- package/esm2020/utils/form/observe-control-valid.mjs +0 -30
- package/esm2020/utils/form/observe-control-value-change.mjs +0 -10
- package/esm2020/utils/form/observe-control-value.mjs +0 -11
- package/esm2020/utils/form/wait-on-non-pending-status.mjs +0 -18
- package/esm2020/utils/fractional-digits-count.mjs +0 -19
- package/esm2020/utils/geo-json/close-polygons.mjs +0 -38
- package/esm2020/utils/geo-json/coerce-feature-collection.mjs +0 -44
- package/esm2020/utils/geo-json/geo-json-to-area.mjs +0 -11
- package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +0 -21
- package/esm2020/utils/geo-json/is-only-geometry-types.mjs +0 -23
- package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +0 -32
- package/esm2020/utils/geo-json/merge-polygons.mjs +0 -35
- package/esm2020/utils/geo-json/min-max-points.validator.mjs +0 -56
- package/esm2020/utils/geo-json/no-empty-feature-collection.validator.mjs +0 -24
- package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +0 -63
- package/esm2020/utils/geo-json/no-kinks.validator.mjs +0 -39
- package/esm2020/utils/geo-json/read-geo-file.mjs +0 -93
- package/esm2020/utils/geo-json/split-multi-polygons.mjs +0 -29
- package/esm2020/utils/get-attribute.mjs +0 -7
- package/esm2020/utils/has-attribute.mjs +0 -7
- package/esm2020/utils/has-property.mjs +0 -7
- package/esm2020/utils/input-masks.mjs +0 -2
- package/esm2020/utils/is-absolute-url.mjs +0 -17
- package/esm2020/utils/is-null-or-undefined-or-empty.mjs +0 -4
- package/esm2020/utils/is-null-or-undefined.mjs +0 -4
- package/esm2020/utils/is-numeric.mjs +0 -4
- package/esm2020/utils/load-style-sheet.mjs +0 -14
- package/esm2020/utils/load-style.mjs +0 -13
- package/esm2020/utils/not-null-or-undefined-or-empty.mjs +0 -4
- package/esm2020/utils/not-null-or-undefined.mjs +0 -4
- package/esm2020/utils/obj-utils.mjs +0 -26
- package/esm2020/utils/observe-query-list.mjs +0 -5
- package/esm2020/utils/operators/index.mjs +0 -3
- package/esm2020/utils/operators/map-each.mjs +0 -6
- package/esm2020/utils/operators/tap-first.mjs +0 -14
- package/esm2020/utils/pad-end.mjs +0 -9
- package/esm2020/utils/pad-start.mjs +0 -9
- package/esm2020/utils/polling-ticker.mjs +0 -121
- package/esm2020/utils/public-api.mjs +0 -54
- package/esm2020/utils/refreshable.mjs +0 -65
- package/esm2020/utils/router/index.mjs +0 -7
- package/esm2020/utils/router/is-empty-url-route.mjs +0 -4
- package/esm2020/utils/router/leaf-child-route.mjs +0 -8
- package/esm2020/utils/router/operators/activated-routes-with-data-property.mjs +0 -11
- package/esm2020/utils/router/route-snapshot-path-full.mjs +0 -5
- package/esm2020/utils/router/route-snapshot-path-relative.mjs +0 -4
- package/esm2020/utils/router/will-have-data-prop.mjs +0 -10
- package/esm2020/utils/subscriber-count.mjs +0 -45
- package/esm2020/utils/theseam-ui-common-utils.mjs +0 -5
- package/esm2020/utils/toggle-attribute.mjs +0 -36
- package/esm2020/utils/wait-on-condition-async.mjs +0 -30
- package/esm2020/utils/wrap-into-observable.mjs +0 -8
- package/esm2020/validators/decimal.validator.mjs +0 -25
- package/esm2020/validators/email-exists.validator.mjs +0 -18
- package/esm2020/validators/integer.validator.mjs +0 -25
- package/esm2020/validators/phone-length.validator.mjs +0 -8
- package/esm2020/validators/public-api.mjs +0 -6
- package/esm2020/validators/tax-id.validator.mjs +0 -13
- package/esm2020/validators/theseam-ui-common-validators.mjs +0 -5
- package/esm2020/vertical-list-filter/public-api.mjs +0 -3
- package/esm2020/vertical-list-filter/testing/index.mjs +0 -2
- package/esm2020/vertical-list-filter/testing/vertical-list-filter.harness.mjs +0 -28
- package/esm2020/vertical-list-filter/theseam-ui-common-vertical-list-filter.mjs +0 -5
- package/esm2020/vertical-list-filter/vertical-list-filter.component.mjs +0 -52
- package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +0 -219
- package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +0 -32
- package/esm2020/viewers/html-template-viewer/index.mjs +0 -3
- package/esm2020/viewers/pdf-viewer/index.mjs +0 -4
- package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +0 -143
- package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +0 -28
- package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +0 -164
- package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +0 -33
- package/esm2020/viewers/public-api.mjs +0 -3
- package/esm2020/viewers/theseam-ui-common-viewers.mjs +0 -5
- package/esm2020/widget/directives/widget-drag-handle.directive.mjs +0 -150
- package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +0 -16
- package/esm2020/widget/directives/widget-title-tpl.directive.mjs +0 -16
- package/esm2020/widget/preferences/widget-preferences.models.mjs +0 -5
- package/esm2020/widget/preferences/widget-preferences.service.mjs +0 -78
- package/esm2020/widget/preferences/widget-preferences.token.mjs +0 -3
- package/esm2020/widget/public-api.mjs +0 -42
- package/esm2020/widget/theseam-ui-common-widget.mjs +0 -5
- package/esm2020/widget/widget/widget.component.mjs +0 -214
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +0 -30
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +0 -39
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +0 -22
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +0 -17
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +0 -124
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +0 -14
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +0 -46
- package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +0 -38
- package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +0 -32
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +0 -13
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +0 -41
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +0 -17
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +0 -122
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +0 -48
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +0 -27
- package/esm2020/widget/widget-footer/widget-footer.component.mjs +0 -11
- package/esm2020/widget/widget-registry.models.mjs +0 -2
- package/esm2020/widget/widget-registry.service.mjs +0 -56
- package/esm2020/widget/widget-token.mjs +0 -5
- package/esm2020/widget/widget.models.mjs +0 -2
- package/esm2020/widget/widget.module.mjs +0 -125
- package/fesm2015/theseam-ui-common-asset-reader.mjs +0 -186
- package/fesm2015/theseam-ui-common-asset-reader.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs +0 -201
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-buttons.mjs +0 -492
- package/fesm2015/theseam-ui-common-buttons.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-card.mjs +0 -153
- package/fesm2015/theseam-ui-common-card.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-carousel.mjs +0 -266
- package/fesm2015/theseam-ui-common-carousel.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-checkbox.mjs +0 -391
- package/fesm2015/theseam-ui-common-checkbox.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs +0 -192
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-core.mjs +0 -225
- package/fesm2015/theseam-ui-common-core.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-data-exporter.mjs +0 -93
- package/fesm2015/theseam-ui-common-data-exporter.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-data-filters.mjs +0 -508
- package/fesm2015/theseam-ui-common-data-filters.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +0 -998
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-datatable.mjs +0 -2712
- package/fesm2015/theseam-ui-common-datatable.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +0 -135
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic.mjs +0 -722
- package/fesm2015/theseam-ui-common-dynamic.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-footer-bar.mjs +0 -35
- package/fesm2015/theseam-ui-common-footer-bar.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-form-field-error.mjs +0 -479
- package/fesm2015/theseam-ui-common-form-field-error.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-form-field.mjs +0 -670
- package/fesm2015/theseam-ui-common-form-field.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-framework.mjs +0 -3142
- package/fesm2015/theseam-ui-common-framework.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-google-maps.mjs +0 -2083
- package/fesm2015/theseam-ui-common-google-maps.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-graphql.mjs +0 -862
- package/fesm2015/theseam-ui-common-graphql.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-icon.mjs +0 -587
- package/fesm2015/theseam-ui-common-icon.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-layout.mjs +0 -92
- package/fesm2015/theseam-ui-common-layout.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-loading.mjs +0 -139
- package/fesm2015/theseam-ui-common-loading.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-menu.mjs +0 -1356
- package/fesm2015/theseam-ui-common-menu.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-modal.mjs +0 -1378
- package/fesm2015/theseam-ui-common-modal.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-models.mjs +0 -52
- package/fesm2015/theseam-ui-common-models.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-navigation-reload.mjs +0 -75
- package/fesm2015/theseam-ui-common-navigation-reload.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-popover.mjs +0 -498
- package/fesm2015/theseam-ui-common-popover.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-progress.mjs +0 -93
- package/fesm2015/theseam-ui-common-progress.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-rich-text.mjs +0 -767
- package/fesm2015/theseam-ui-common-rich-text.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-scrollbar.mjs +0 -184
- package/fesm2015/theseam-ui-common-scrollbar.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-services.mjs +0 -273
- package/fesm2015/theseam-ui-common-services.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-shared.mjs +0 -739
- package/fesm2015/theseam-ui-common-shared.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-storage.mjs +0 -148
- package/fesm2015/theseam-ui-common-storage.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-story-helpers.mjs +0 -514
- package/fesm2015/theseam-ui-common-story-helpers.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-tabbed.mjs +0 -288
- package/fesm2015/theseam-ui-common-tabbed.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-type.mjs +0 -201
- package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-types.mjs +0 -1132
- package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-table.mjs +0 -128
- package/fesm2015/theseam-ui-common-table.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-tel-input.mjs +0 -841
- package/fesm2015/theseam-ui-common-tel-input.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-testing.mjs +0 -395
- package/fesm2015/theseam-ui-common-testing.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-tiled-select.mjs +0 -571
- package/fesm2015/theseam-ui-common-tiled-select.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-edit.mjs +0 -560
- package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-group.mjs +0 -281
- package/fesm2015/theseam-ui-common-toggle-group.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +0 -106
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-utils.mjs +0 -1387
- package/fesm2015/theseam-ui-common-utils.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-validators.mjs +0 -94
- package/fesm2015/theseam-ui-common-validators.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-vertical-list-filter.mjs +0 -96
- package/fesm2015/theseam-ui-common-vertical-list-filter.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-viewers.mjs +0 -602
- package/fesm2015/theseam-ui-common-viewers.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-widget.mjs +0 -1395
- package/fesm2015/theseam-ui-common-widget.mjs.map +0 -1
- package/fesm2015/theseam-ui-common.mjs +0 -6
- package/fesm2015/theseam-ui-common.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-asset-reader.mjs +0 -184
- package/fesm2020/theseam-ui-common-asset-reader.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs +0 -201
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-buttons.mjs +0 -466
- package/fesm2020/theseam-ui-common-buttons.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-card.mjs +0 -151
- package/fesm2020/theseam-ui-common-card.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-carousel.mjs +0 -266
- package/fesm2020/theseam-ui-common-carousel.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-checkbox.mjs +0 -373
- package/fesm2020/theseam-ui-common-checkbox.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs +0 -192
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-core.mjs +0 -233
- package/fesm2020/theseam-ui-common-core.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-data-exporter.mjs +0 -93
- package/fesm2020/theseam-ui-common-data-exporter.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-data-filters.mjs +0 -500
- package/fesm2020/theseam-ui-common-data-filters.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +0 -986
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-datatable.mjs +0 -2705
- package/fesm2020/theseam-ui-common-datatable.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +0 -133
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-dynamic.mjs +0 -689
- package/fesm2020/theseam-ui-common-dynamic.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-footer-bar.mjs +0 -35
- package/fesm2020/theseam-ui-common-footer-bar.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-form-field-error.mjs +0 -483
- package/fesm2020/theseam-ui-common-form-field-error.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-form-field.mjs +0 -659
- package/fesm2020/theseam-ui-common-form-field.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-framework.mjs +0 -3132
- package/fesm2020/theseam-ui-common-framework.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-google-maps.mjs +0 -2072
- package/fesm2020/theseam-ui-common-google-maps.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-graphql.mjs +0 -868
- package/fesm2020/theseam-ui-common-graphql.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-icon.mjs +0 -587
- package/fesm2020/theseam-ui-common-icon.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-layout.mjs +0 -102
- package/fesm2020/theseam-ui-common-layout.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-loading.mjs +0 -138
- package/fesm2020/theseam-ui-common-loading.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-menu.mjs +0 -1283
- package/fesm2020/theseam-ui-common-menu.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-modal.mjs +0 -1370
- package/fesm2020/theseam-ui-common-modal.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-models.mjs +0 -55
- package/fesm2020/theseam-ui-common-models.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-navigation-reload.mjs +0 -74
- package/fesm2020/theseam-ui-common-navigation-reload.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-popover.mjs +0 -495
- package/fesm2020/theseam-ui-common-popover.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-progress.mjs +0 -93
- package/fesm2020/theseam-ui-common-progress.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-rich-text.mjs +0 -773
- package/fesm2020/theseam-ui-common-rich-text.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-scrollbar.mjs +0 -184
- package/fesm2020/theseam-ui-common-scrollbar.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-services.mjs +0 -274
- package/fesm2020/theseam-ui-common-services.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-shared.mjs +0 -733
- package/fesm2020/theseam-ui-common-shared.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-storage.mjs +0 -148
- package/fesm2020/theseam-ui-common-storage.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-story-helpers.mjs +0 -512
- package/fesm2020/theseam-ui-common-story-helpers.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-tabbed.mjs +0 -286
- package/fesm2020/theseam-ui-common-tabbed.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-table-cell-type.mjs +0 -198
- package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-table-cell-types.mjs +0 -1107
- package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-table.mjs +0 -132
- package/fesm2020/theseam-ui-common-table.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-tel-input.mjs +0 -810
- package/fesm2020/theseam-ui-common-tel-input.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-testing.mjs +0 -359
- package/fesm2020/theseam-ui-common-testing.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-tiled-select.mjs +0 -557
- package/fesm2020/theseam-ui-common-tiled-select.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-toggle-edit.mjs +0 -553
- package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-toggle-group.mjs +0 -277
- package/fesm2020/theseam-ui-common-toggle-group.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +0 -106
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-utils.mjs +0 -1364
- package/fesm2020/theseam-ui-common-utils.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-validators.mjs +0 -94
- package/fesm2020/theseam-ui-common-validators.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-vertical-list-filter.mjs +0 -87
- package/fesm2020/theseam-ui-common-vertical-list-filter.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-viewers.mjs +0 -598
- package/fesm2020/theseam-ui-common-viewers.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-widget.mjs +0 -1387
- package/fesm2020/theseam-ui-common-widget.mjs.map +0 -1
- package/fesm2020/theseam-ui-common.mjs +0 -6
- package/fesm2020/theseam-ui-common.mjs.map +0 -1
- package/footer-bar/footer-bar/footer-bar.component.d.ts +0 -5
- package/footer-bar/footer-bar.module.d.ts +0 -8
- package/footer-bar/public-api.d.ts +0 -2
- package/form-field/form-field-error.directive.d.ts +0 -15
- package/form-field/form-field-help-text.directive.d.ts +0 -8
- package/form-field/form-field-label-tpl.directive.d.ts +0 -8
- package/form-field/form-field-required-indicator.component.d.ts +0 -16
- package/form-field/form-field-tokens.d.ts +0 -2
- package/form-field/form-field.component.d.ts +0 -117
- package/form-field/form-field.module.d.ts +0 -16
- package/form-field/input.directive.d.ts +0 -70
- package/form-field/public-api.d.ts +0 -9
- package/form-field/testing/form-field-required-indicator.harness.d.ts +0 -5
- package/form-field/testing/form-field.harness.d.ts +0 -14
- package/form-field/testing/index.d.ts +0 -2
- package/form-field-error/form-field-error/form-field-error.component.d.ts +0 -8
- package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +0 -12
- package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +0 -9
- package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +0 -65
- package/form-field-error/form-field-error.module.d.ts +0 -11
- package/form-field-error/public-api.d.ts +0 -5
- package/framework/base-layout/base-layout-action.d.ts +0 -31
- package/framework/base-layout/base-layout-nav.d.ts +0 -18
- package/framework/base-layout/base-layout-ref.d.ts +0 -14
- package/framework/base-layout/base-layout-tokens.d.ts +0 -3
- package/framework/base-layout/base-layout.component.d.ts +0 -46
- package/framework/base-layout/base-layout.module.d.ts +0 -19
- package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-content.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +0 -17
- package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +0 -9
- package/framework/base-layout/index.d.ts +0 -13
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +0 -9
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +0 -13
- package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +0 -50
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-item.d.ts +0 -43
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.d.ts +0 -3
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.d.ts +0 -15
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +0 -30
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +0 -62
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +0 -37
- package/framework/dashboard/dashboard-widgets-tokens.d.ts +0 -7
- package/framework/dashboard/dashboard.component.d.ts +0 -10
- package/framework/dashboard/dashboard.module.d.ts +0 -17
- package/framework/dashboard/index.d.ts +0 -11
- package/framework/dynamic-router/dynamic-route-def.d.ts +0 -8
- package/framework/dynamic-router/dynamic-router.module.d.ts +0 -9
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.d.ts +0 -5
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +0 -25
- package/framework/dynamic-router/index.d.ts +0 -5
- package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +0 -9
- package/framework/public-api.d.ts +0 -6
- package/framework/schema-form/index.d.ts +0 -4
- package/framework/schema-form/schema-form-framework.component.d.ts +0 -8
- package/framework/schema-form/schema-form-framework.d.ts +0 -32
- package/framework/schema-form/schema-form-widget.d.ts +0 -61
- package/framework/schema-form/schema-form.module.d.ts +0 -9
- package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +0 -25
- package/framework/schema-form-controls/schema-form-divider/schema-form-divider.component.d.ts +0 -12
- package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +0 -23
- package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +0 -26
- package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +0 -24
- package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +0 -22
- package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +0 -38
- package/framework/schema-form-controls/schema-form-tel/schema-form-tel.component.d.ts +0 -23
- package/framework/schema-form-controls/schema-form-tiled-select/schema-form-tiled-select.component.d.ts +0 -32
- package/framework/side-nav/index.d.ts +0 -7
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +0 -77
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +0 -12
- package/framework/side-nav/side-nav-tokens.d.ts +0 -14
- package/framework/side-nav/side-nav-utils.d.ts +0 -24
- package/framework/side-nav/side-nav.component.d.ts +0 -54
- package/framework/side-nav/side-nav.models.d.ts +0 -87
- package/framework/side-nav/side-nav.module.d.ts +0 -17
- package/framework/side-nav/side-nav.service.d.ts +0 -24
- package/framework/top-bar/index.d.ts +0 -7
- package/framework/top-bar/top-bar-item.directive.d.ts +0 -8
- package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +0 -8
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +0 -23
- package/framework/top-bar/top-bar-menu.directive.d.ts +0 -8
- package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +0 -7
- package/framework/top-bar/top-bar.component.d.ts +0 -63
- package/framework/top-bar/top-bar.module.d.ts +0 -19
- package/google-maps/google-maps/google-maps.component.d.ts +0 -105
- package/google-maps/google-maps-api-loader/google-maps-api-loader.d.ts +0 -4
- package/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.d.ts +0 -74
- package/google-maps/google-maps-api-loader/noop-google-maps-api-loader.d.ts +0 -13
- package/google-maps/google-maps-contextmenu.d.ts +0 -15
- package/google-maps/google-maps-controls.service.d.ts +0 -26
- package/google-maps/google-maps-feature-helpers.d.ts +0 -41
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +0 -106
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.d.ts +0 -83
- package/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.d.ts +0 -24
- package/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.d.ts +0 -37
- package/google-maps/google-maps.module.d.ts +0 -20
- package/google-maps/google-maps.service.d.ts +0 -65
- package/google-maps/map-control.component.d.ts +0 -23
- package/google-maps/map-controls-service.d.ts +0 -13
- package/google-maps/map-file-drop/map-file-drop.component.d.ts +0 -37
- package/google-maps/map-value-manager.service.d.ts +0 -21
- package/google-maps/public-api.d.ts +0 -17
- package/graphql/datatable/create-page-info-observable.d.ts +0 -4
- package/graphql/datatable/datatable-graphql-query-ref.d.ts +0 -64
- package/graphql/datatable/datatable-graphql.service.d.ts +0 -29
- package/graphql/datatable/datatable-helpers.d.ts +0 -12
- package/graphql/datatable/get-page-info.d.ts +0 -4
- package/graphql/datatable/index.d.ts +0 -6
- package/graphql/datatable/map-filter-states.d.ts +0 -18
- package/graphql/datatable/map-page-info.d.ts +0 -11
- package/graphql/datatable/mapper-context.d.ts +0 -6
- package/graphql/models/direction.d.ts +0 -6
- package/graphql/models/gql-datatable-accessor.d.ts +0 -9
- package/graphql/models/hint-definition.d.ts +0 -7
- package/graphql/models/hint-transform-operation.d.ts +0 -5
- package/graphql/models/hint-transformer.d.ts +0 -3
- package/graphql/models/hints-kind.d.ts +0 -7
- package/graphql/models/hints-token.d.ts +0 -7
- package/graphql/models/index.d.ts +0 -9
- package/graphql/models/query-processing-config.d.ts +0 -13
- package/graphql/models/variable.d.ts +0 -5
- package/graphql/public-api.d.ts +0 -2
- package/graphql/utils/contains-variable.d.ts +0 -2
- package/graphql/utils/gql-var.d.ts +0 -3
- package/graphql/utils/hints-tokens-containing-hint.d.ts +0 -2
- package/graphql/utils/index.d.ts +0 -10
- package/graphql/utils/inline-variables.d.ts +0 -2
- package/graphql/utils/parse-comments.d.ts +0 -2
- package/graphql/utils/parse-hints.d.ts +0 -17
- package/graphql/utils/remove-variable-definition.d.ts +0 -2
- package/graphql/utils/remove-variable-definitions-not-defined.d.ts +0 -3
- package/graphql/utils/remove-variable.d.ts +0 -2
- package/graphql/utils/to-gql.d.ts +0 -1
- package/icon/icon/icon.component.d.ts +0 -57
- package/icon/icon-btn/icon-btn.component.d.ts +0 -76
- package/icon/icon-notification/icon-notification.component.d.ts +0 -50
- package/icon/icon.d.ts +0 -2
- package/icon/icon.module.d.ts +0 -11
- package/icon/public-api.d.ts +0 -6
- package/icon/utils/file-extension-icon.d.ts +0 -3
- package/icon/utils/get-known-icon.d.ts +0 -2
- package/icon/utils/index.d.ts +0 -2
- package/layout/breakpoint-aliases.d.ts +0 -20
- package/layout/layout.module.d.ts +0 -8
- package/layout/layout.service.d.ts +0 -15
- package/layout/observe-media-query.d.ts +0 -8
- package/layout/public-api.d.ts +0 -4
- package/loading/loading/loading.component.d.ts +0 -9
- package/loading/loading-overlay.service.d.ts +0 -16
- package/loading/loading-themes.d.ts +0 -3
- package/loading/loading.models.d.ts +0 -1
- package/loading/loading.module.d.ts +0 -13
- package/loading/public-api.d.ts +0 -5
- package/menu/menu-animations.d.ts +0 -8
- package/menu/menu-divider.component.d.ts +0 -5
- package/menu/menu-footer/menu-footer.component.d.ts +0 -12
- package/menu/menu-footer-action/menu-footer-action.component.d.ts +0 -22
- package/menu/menu-header/menu-header.component.d.ts +0 -12
- package/menu/menu-item.component.d.ts +0 -54
- package/menu/menu-panel-token.d.ts +0 -6
- package/menu/menu-panel.d.ts +0 -20
- package/menu/menu-toggle.directive.d.ts +0 -82
- package/menu/menu.component.d.ts +0 -79
- package/menu/menu.module.d.ts +0 -16
- package/menu/public-api.d.ts +0 -15
- package/menu/testing/menu-footer.harness.d.ts +0 -22
- package/menu/testing/menu-header.harness.d.ts +0 -18
- package/menu/testing/menu-item.harness.d.ts +0 -37
- package/menu/testing/menu.harness.d.ts +0 -74
- package/menu/testing/utils.d.ts +0 -5
- package/modal/directives/modal-close.directive.d.ts +0 -23
- package/modal/directives/modal-footer-tpl.directive.d.ts +0 -8
- package/modal/directives/modal-header-icon-tpl.directive.d.ts +0 -8
- package/modal/directives/modal-header-title-tpl.directive.d.ts +0 -8
- package/modal/directives/modal-title.directive.d.ts +0 -9
- package/modal/directives/modal.directive.d.ts +0 -11
- package/modal/modal/modal.component.d.ts +0 -58
- package/modal/modal-body/modal-body.component.d.ts +0 -7
- package/modal/modal-config.d.ts +0 -93
- package/modal/modal-container/modal-container.component.d.ts +0 -81
- package/modal/modal-footer/modal-footer.component.d.ts +0 -6
- package/modal/modal-header/modal-header.component.d.ts +0 -11
- package/modal/modal-injectors.d.ts +0 -23
- package/modal/modal-ref.d.ts +0 -52
- package/modal/modal-utils.d.ts +0 -8
- package/modal/modal.models.d.ts +0 -24
- package/modal/modal.module.d.ts +0 -25
- package/modal/modal.service.d.ts +0 -98
- package/modal/public-api.d.ts +0 -19
- package/modal/route-modal/route-modal.component.d.ts +0 -18
- package/models/component-type.d.ts +0 -2
- package/models/http-status-codes.d.ts +0 -18
- package/models/public-api.d.ts +0 -7
- package/models/size-prefixes.d.ts +0 -1
- package/models/size-types.d.ts +0 -1
- package/models/theme-names.d.ts +0 -2
- package/models/theme-prefixes.d.ts +0 -1
- package/models/theme-types.d.ts +0 -2
- package/navigation-reload/navigation-reload.config.d.ts +0 -5
- package/navigation-reload/navigation-reload.provider.d.ts +0 -3
- package/navigation-reload/navigation-reload.service.d.ts +0 -13
- package/navigation-reload/public-api.d.ts +0 -3
- package/popover/popover/popover.component.d.ts +0 -47
- package/popover/popover-animations.d.ts +0 -4
- package/popover/popover.directive.d.ts +0 -60
- package/popover/popover.module.d.ts +0 -11
- package/popover/public-api.d.ts +0 -4
- package/progress/progress-circle/progress-circle.component.d.ts +0 -29
- package/progress/progress.module.d.ts +0 -8
- package/progress/public-api.d.ts +0 -2
- package/public_api.d.ts +0 -2
- package/rich-text/public-api.d.ts +0 -4
- package/rich-text/rich-text/rich-text.component.d.ts +0 -194
- package/rich-text/rich-text.module.d.ts +0 -10
- package/rich-text/utils/models.d.ts +0 -343
- package/rich-text/utils/utils.d.ts +0 -14
- package/scrollbar/overlay-scrollbar.directive.d.ts +0 -23
- package/scrollbar/overlay-scrollbars-config-model.d.ts +0 -2
- package/scrollbar/overlay-scrollbars-config.d.ts +0 -51
- package/scrollbar/overlay-scrollbars.service.d.ts +0 -23
- package/scrollbar/public-api.d.ts +0 -5
- package/scrollbar/scrollbar.module.d.ts +0 -8
- package/services/asset-loader.service.d.ts +0 -15
- package/services/font-loader.service.d.ts +0 -45
- package/services/preferences/preferences-accessor.d.ts +0 -15
- package/services/preferences/preferences-manager.service.d.ts +0 -15
- package/services/preferences/preferences-record.d.ts +0 -28
- package/services/preferences/preferences.models.d.ts +0 -3
- package/services/public-api.d.ts +0 -7
- package/services/router-helpers.service.d.ts +0 -10
- package/shared/components/index.d.ts +0 -1
- package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +0 -17
- package/shared/directives/auto-focus.directive.d.ts +0 -18
- package/shared/directives/click-outside.directive.d.ts +0 -13
- package/shared/directives/disable-control.directive.d.ts +0 -9
- package/shared/directives/elem-resized.directive.d.ts +0 -20
- package/shared/directives/hover-class-toggle.directive.d.ts +0 -36
- package/shared/directives/hover-class.directive.d.ts +0 -31
- package/shared/directives/index.d.ts +0 -8
- package/shared/directives/ng-select-extra.directive.d.ts +0 -42
- package/shared/directives/ngx-quill-extra.directive.d.ts +0 -23
- package/shared/pipes/index.d.ts +0 -2
- package/shared/pipes/mask-chars.pipe.d.ts +0 -7
- package/shared/pipes/truncate.pipe.d.ts +0 -7
- package/shared/public-api.d.ts +0 -4
- package/shared/shared.module.d.ts +0 -22
- package/storage/local-storage.service.d.ts +0 -31
- package/storage/localstorage-memory.d.ts +0 -37
- package/storage/public-api.d.ts +0 -1
- package/story-helpers/arg-type-helpers.d.ts +0 -6
- package/story-helpers/args-to-tpl.d.ts +0 -25
- package/story-helpers/initial-route-factory.d.ts +0 -2
- package/story-helpers/initial-route.service.d.ts +0 -10
- package/story-helpers/on-story-bootstrapped-exec.d.ts +0 -24
- package/story-helpers/on-story-bootstrapped-trigger.d.ts +0 -23
- package/story-helpers/public-api.d.ts +0 -15
- package/story-helpers/route-button.d.ts +0 -5
- package/story-helpers/routes-arg-type.d.ts +0 -7
- package/story-helpers/story-empty-with-route.component.d.ts +0 -5
- package/story-helpers/story-empty.component.d.ts +0 -5
- package/story-helpers/story-helper-components.module.d.ts +0 -12
- package/story-helpers/story-initial-route.d.ts +0 -8
- package/story-helpers/story-modal-container.component.d.ts +0 -23
- package/story-helpers/story-preferences-accessor.service.d.ts +0 -19
- package/story-helpers/story-toastr.service.d.ts +0 -33
- package/tabbed/directives/tabbed-tab-content.directive.d.ts +0 -7
- package/tabbed/directives/tabbed-tab.directive.d.ts +0 -13
- package/tabbed/public-api.d.ts +0 -8
- package/tabbed/tabbed-content/tabbed-content.component.d.ts +0 -7
- package/tabbed/tabbed-item/tabbed-item.component.d.ts +0 -16
- package/tabbed/tabbed-models.d.ts +0 -12
- package/tabbed/tabbed.component.d.ts +0 -44
- package/tabbed/tabbed.module.d.ts +0 -14
- package/tabbed/tabbed.service.d.ts +0 -10
- package/table/public-api.d.ts +0 -2
- package/table/table/table.component.d.ts +0 -45
- package/table/table.module.d.ts +0 -10
- package/table-cell-type/public-api.d.ts +0 -11
- package/table-cell-type/services/table-cell-types-helpers.service.d.ts +0 -18
- package/table-cell-type/table-cell-type-action.d.ts +0 -13
- package/table-cell-type/table-cell-type-column.d.ts +0 -12
- package/table-cell-type/table-cell-type-config.d.ts +0 -12
- package/table-cell-type/table-cell-type-export-props.d.ts +0 -15
- package/table-cell-type/table-cell-type-manifest-provider.d.ts +0 -7
- package/table-cell-type/table-cell-type-models.d.ts +0 -39
- package/table-cell-type/table-cell-type-name.d.ts +0 -1
- package/table-cell-type/table-cell-type-selector.component.d.ts +0 -27
- package/table-cell-type/table-cell-type-tokens.d.ts +0 -4
- package/table-cell-type/table-cell-type.module.d.ts +0 -9
- package/table-cell-types/public-api.d.ts +0 -22
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +0 -44
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +0 -21
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +0 -3
- package/table-cell-types/table-cell-type-date/table-cell-type-date-config.d.ts +0 -9
- package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +0 -14
- package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +0 -3
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +0 -38
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +0 -21
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +0 -3
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +0 -34
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +0 -55
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +0 -30
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +0 -21
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +0 -3
- package/table-cell-types/table-cell-type-manifests.d.ts +0 -11
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.d.ts +0 -13
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +0 -19
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +0 -29
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +0 -50
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +0 -49
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +0 -23
- package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +0 -18
- package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +0 -57
- package/table-cell-types/table-cell-types.module.d.ts +0 -26
- package/tel-input/intl-tel-input.d.ts +0 -300
- package/tel-input/models/index.d.ts +0 -2
- package/tel-input/models/tel-input-country-data.d.ts +0 -9
- package/tel-input/models/tel-input-number-format-name.d.ts +0 -4
- package/tel-input/phone-number.pipe.d.ts +0 -14
- package/tel-input/public-api.d.ts +0 -10
- package/tel-input/tel-input/tel-input.component.d.ts +0 -86
- package/tel-input/tel-input-constants.d.ts +0 -4
- package/tel-input/tel-input-validator.d.ts +0 -7
- package/tel-input/tel-input.directive.d.ts +0 -35
- package/tel-input/tel-input.module.d.ts +0 -12
- package/tel-input/testing/tel-input.harness.d.ts +0 -19
- package/tel-input/utils/add-country-code.d.ts +0 -7
- package/tel-input/utils/coerce-phone-number-format.d.ts +0 -7
- package/tel-input/utils/get-country-code.d.ts +0 -2
- package/tel-input/utils/get-dial-code.d.ts +0 -9
- package/tel-input/utils/get-global-intl-tel-input-globals.d.ts +0 -2
- package/tel-input/utils/get-global-intl-tel-input-utils.d.ts +0 -2
- package/tel-input/utils/get-intl-tel-input-utils.d.ts +0 -2
- package/tel-input/utils/get-validation-error-message.d.ts +0 -5
- package/tel-input/utils/index.d.ts +0 -9
- package/tel-input/utils/process-country-codes.d.ts +0 -8
- package/testing/current-tick-time.d.ts +0 -13
- package/testing/fake-toastr.d.ts +0 -30
- package/testing/get-harness.d.ts +0 -7
- package/testing/harnesses/ng-select-dropdown.harness.d.ts +0 -23
- package/testing/harnesses/ng-select-option.harness.d.ts +0 -18
- package/testing/harnesses/ng-select.harness.d.ts +0 -50
- package/testing/public-api.d.ts +0 -9
- package/testing/render-story.d.ts +0 -2
- package/testing/story-expect.d.ts +0 -6
- package/testing/tick-helper.d.ts +0 -70
- package/tiled-select/components/tiled-select/tiled-select.component.d.ts +0 -56
- package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +0 -45
- package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +0 -26
- package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +0 -8
- package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +0 -8
- package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +0 -10
- package/tiled-select/public-api.d.ts +0 -9
- package/tiled-select/testing/index.d.ts +0 -2
- package/tiled-select/testing/tiled-select-harness.d.ts +0 -9
- package/tiled-select/testing/tiled-select-tile-harness.d.ts +0 -17
- package/tiled-select/tiled-select.models.d.ts +0 -13
- package/tiled-select/tiled-select.module.d.ts +0 -14
- package/toggle-edit/models/can-toggle-edit.d.ts +0 -7
- package/toggle-edit/models/index.d.ts +0 -2
- package/toggle-edit/models/toggle-edit-ref.d.ts +0 -30
- package/toggle-edit/public-api.d.ts +0 -6
- package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +0 -5
- package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +0 -8
- package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +0 -17
- package/toggle-edit/toggle-edit.component.d.ts +0 -93
- package/toggle-edit/toggle-edit.module.d.ts +0 -18
- package/toggle-group/public-api.d.ts +0 -3
- package/toggle-group/toggle-group-option.directive.d.ts +0 -18
- package/toggle-group/toggle-group.directive.d.ts +0 -38
- package/toggle-group/toggle-group.module.d.ts +0 -10
- package/unsaved-changes-dialog/public-api.d.ts +0 -4
- package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +0 -7
- package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +0 -5
- package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +0 -11
- package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +0 -7
- package/utils/array-move.d.ts +0 -49
- package/utils/calc-percentage.d.ts +0 -1
- package/utils/cdk/get-closest-widget-cdk-drag.d.ts +0 -8
- package/utils/create-padding.d.ts +0 -1
- package/utils/file-utils.d.ts +0 -12
- package/utils/form/get-control-name.d.ts +0 -22
- package/utils/form/get-control-path.d.ts +0 -27
- package/utils/form/has-required-control.d.ts +0 -31
- package/utils/form/is-empty-input-value.d.ts +0 -1
- package/utils/form/observe-control-is-different.d.ts +0 -13
- package/utils/form/observe-control-status.d.ts +0 -7
- package/utils/form/observe-control-valid.d.ts +0 -14
- package/utils/form/observe-control-value-change.d.ts +0 -9
- package/utils/form/observe-control-value.d.ts +0 -6
- package/utils/form/wait-on-non-pending-status.d.ts +0 -12
- package/utils/fractional-digits-count.d.ts +0 -8
- package/utils/geo-json/close-polygons.d.ts +0 -9
- package/utils/geo-json/coerce-feature-collection.d.ts +0 -2
- package/utils/geo-json/geo-json-to-area.d.ts +0 -6
- package/utils/geo-json/is-feature-collection.validator.d.ts +0 -3
- package/utils/geo-json/is-only-geometry-types.d.ts +0 -5
- package/utils/geo-json/is-only-geometry-types.validator.d.ts +0 -4
- package/utils/geo-json/merge-polygons.d.ts +0 -9
- package/utils/geo-json/min-max-points.validator.d.ts +0 -3
- package/utils/geo-json/no-empty-feature-collection.validator.d.ts +0 -3
- package/utils/geo-json/no-inner-rings.validator.d.ts +0 -10
- package/utils/geo-json/no-kinks.validator.d.ts +0 -3
- package/utils/geo-json/read-geo-file.d.ts +0 -7
- package/utils/geo-json/split-multi-polygons.d.ts +0 -8
- package/utils/get-attribute.d.ts +0 -4
- package/utils/has-attribute.d.ts +0 -4
- package/utils/has-property.d.ts +0 -1
- package/utils/input-masks.d.ts +0 -1
- package/utils/is-absolute-url.d.ts +0 -1
- package/utils/is-null-or-undefined-or-empty.d.ts +0 -1
- package/utils/is-null-or-undefined.d.ts +0 -1
- package/utils/is-numeric.d.ts +0 -1
- package/utils/load-style-sheet.d.ts +0 -1
- package/utils/load-style.d.ts +0 -1
- package/utils/not-null-or-undefined-or-empty.d.ts +0 -1
- package/utils/not-null-or-undefined.d.ts +0 -1
- package/utils/obj-utils.d.ts +0 -8
- package/utils/observe-query-list.d.ts +0 -3
- package/utils/operators/index.d.ts +0 -2
- package/utils/operators/map-each.d.ts +0 -2
- package/utils/operators/tap-first.d.ts +0 -5
- package/utils/pad-end.d.ts +0 -1
- package/utils/pad-start.d.ts +0 -1
- package/utils/polling-ticker.d.ts +0 -13
- package/utils/public-api.d.ts +0 -53
- package/utils/refreshable.d.ts +0 -20
- package/utils/router/index.d.ts +0 -6
- package/utils/router/is-empty-url-route.d.ts +0 -2
- package/utils/router/leaf-child-route.d.ts +0 -2
- package/utils/router/operators/activated-routes-with-data-property.d.ts +0 -7
- package/utils/router/route-snapshot-path-full.d.ts +0 -2
- package/utils/router/route-snapshot-path-relative.d.ts +0 -2
- package/utils/router/will-have-data-prop.d.ts +0 -2
- package/utils/subscriber-count.d.ts +0 -13
- package/utils/toggle-attribute.d.ts +0 -16
- package/utils/wait-on-condition-async.d.ts +0 -1
- package/utils/wrap-into-observable.d.ts +0 -2
- package/validators/decimal.validator.d.ts +0 -9
- package/validators/email-exists.validator.d.ts +0 -10
- package/validators/integer.validator.d.ts +0 -9
- package/validators/phone-length.validator.d.ts +0 -7
- package/validators/public-api.d.ts +0 -5
- package/validators/tax-id.validator.d.ts +0 -11
- package/vertical-list-filter/public-api.d.ts +0 -2
- package/vertical-list-filter/testing/index.d.ts +0 -1
- package/vertical-list-filter/testing/vertical-list-filter.harness.d.ts +0 -9
- package/vertical-list-filter/vertical-list-filter.component.d.ts +0 -17
- package/viewers/html-template-viewer/html-template-viewer.component.d.ts +0 -70
- package/viewers/html-template-viewer/html-template-viewer.module.d.ts +0 -10
- package/viewers/html-template-viewer/index.d.ts +0 -2
- package/viewers/pdf-viewer/index.d.ts +0 -3
- package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +0 -42
- package/viewers/pdf-viewer/pdf-renderer.service.d.ts +0 -9
- package/viewers/pdf-viewer/pdf-viewer.component.d.ts +0 -62
- package/viewers/pdf-viewer/pdf-viewer.module.d.ts +0 -10
- package/viewers/public-api.d.ts +0 -2
- package/widget/directives/widget-drag-handle.directive.d.ts +0 -56
- package/widget/directives/widget-icon-tpl.directive.d.ts +0 -8
- package/widget/directives/widget-title-tpl.directive.d.ts +0 -8
- package/widget/preferences/widget-preferences.models.d.ts +0 -8
- package/widget/preferences/widget-preferences.service.d.ts +0 -21
- package/widget/preferences/widget-preferences.token.d.ts +0 -3
- package/widget/public-api.d.ts +0 -41
- package/widget/widget/widget.component.d.ts +0 -85
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +0 -5
- package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +0 -9
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +0 -5
- package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +0 -8
- package/widget/widget-content-components/widget-description/widget-description.component.d.ts +0 -5
- package/widget/widget-content-components/widget-description/widget-description.module.d.ts +0 -8
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +0 -17
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +0 -8
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +0 -5
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +0 -8
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +0 -5
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +0 -8
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +0 -14
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +0 -8
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +0 -8
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +0 -65
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +0 -5
- package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +0 -11
- package/widget/widget-content-components/widget-table/widget-table.component.d.ts +0 -16
- package/widget/widget-content-components/widget-table/widget-table.module.d.ts +0 -10
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +0 -5
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +0 -17
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +0 -5
- package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +0 -8
- package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +0 -51
- package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +0 -13
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +0 -5
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +0 -9
- package/widget/widget-footer/widget-footer.component.d.ts +0 -5
- package/widget/widget-registry.models.d.ts +0 -20
- package/widget/widget-registry.service.d.ts +0 -19
- package/widget/widget-token.d.ts +0 -6
- package/widget/widget.models.d.ts +0 -7
- package/widget/widget.module.d.ts +0 -30
|
@@ -1,2083 +0,0 @@
|
|
|
1
|
-
import { __awaiter, __decorate } from 'tslib';
|
|
2
|
-
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
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, LOCALE_ID } from '@angular/core';
|
|
5
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
6
|
-
import { Observable, Subject, fromEvent, BehaviorSubject, from, of, interval, defer, throwError } from 'rxjs';
|
|
7
|
-
import { takeUntil, switchMap, tap, map, catchError, startWith, filter, take, mapTo } from 'rxjs/operators';
|
|
8
|
-
import { faFileImport, faCrosshairs, faSearchLocation } from '@fortawesome/free-solid-svg-icons';
|
|
9
|
-
import { mixinDisabled, InputBoolean, InputNumber } from '@theseam/ui-common/core';
|
|
10
|
-
import * as i6 from '@theseam/ui-common/menu';
|
|
11
|
-
import { MenuComponent, TheSeamMenuModule } from '@theseam/ui-common/menu';
|
|
12
|
-
import { notNullOrUndefined, isNullOrUndefined, readGeoFile } from '@theseam/ui-common/utils';
|
|
13
|
-
import { ESCAPE } from '@angular/cdk/keycodes';
|
|
14
|
-
import booleanContains from '@turf/boolean-contains';
|
|
15
|
-
import { polygon, multiPolygon } from '@turf/helpers';
|
|
16
|
-
import * as i2 from '@theseam/ui-common/icon';
|
|
17
|
-
import { TheSeamIconModule } from '@theseam/ui-common/icon';
|
|
18
|
-
import * as i1 from '@angular/cdk/a11y';
|
|
19
|
-
import * as i5 from '@angular/common';
|
|
20
|
-
import { CommonModule } from '@angular/common';
|
|
21
|
-
import * as i7 from '@angular/google-maps';
|
|
22
|
-
import { GoogleMapsModule } from '@angular/google-maps';
|
|
23
|
-
import { ObserversModule } from '@angular/cdk/observers';
|
|
24
|
-
import * as i3 from '@theseam/ui-common/form-field';
|
|
25
|
-
import { InputDirective, TheSeamFormFieldModule } from '@theseam/ui-common/form-field';
|
|
26
|
-
import { TheSeamSharedModule } from '@theseam/ui-common/shared';
|
|
27
|
-
|
|
28
|
-
const MAP_CONTROLS_SERVICE = new InjectionToken('MAP_CONTROLS_SERVICE');
|
|
29
|
-
const MAP_CONTROL_DATA = new InjectionToken('MAP_CONTROL_DATA');
|
|
30
|
-
|
|
31
|
-
var AppFeaturePropertyName;
|
|
32
|
-
(function (AppFeaturePropertyName) {
|
|
33
|
-
AppFeaturePropertyName["IsSelected"] = "__app__isSelected";
|
|
34
|
-
})(AppFeaturePropertyName || (AppFeaturePropertyName = {}));
|
|
35
|
-
function isAppFeatureProperty(propertyName) {
|
|
36
|
-
return Object.values(AppFeaturePropertyName)
|
|
37
|
-
.findIndex(value => value === propertyName) !== -1;
|
|
38
|
-
}
|
|
39
|
-
function isFeatureSelected(feature) {
|
|
40
|
-
const isSelected = feature.getProperty(AppFeaturePropertyName.IsSelected);
|
|
41
|
-
return coerceBooleanProperty(isSelected);
|
|
42
|
-
}
|
|
43
|
-
function setFeatureSelected(feature, isSelected) {
|
|
44
|
-
feature.setProperty(AppFeaturePropertyName.IsSelected, isSelected);
|
|
45
|
-
}
|
|
46
|
-
const EXTERNAL_FEATURE_DEFINED_STYLE_OPTIONS_PROPERTY_NAME = 'styleOptions';
|
|
47
|
-
const EXTERNAL_FEATURE_DEFINED_STYLE_OPTIONS_HOVERED_PROPERTY_NAME = 'styleOptionsHovered';
|
|
48
|
-
const EXTERNAL_FEATURE_DEFINED_STYLE_OPTIONS_SELECTED_PROPERTY_NAME = 'styleOptionsSelected';
|
|
49
|
-
function getStyleOptionsDefinedByFeature(feature) {
|
|
50
|
-
return feature.getProperty(EXTERNAL_FEATURE_DEFINED_STYLE_OPTIONS_PROPERTY_NAME) || undefined;
|
|
51
|
-
}
|
|
52
|
-
function getHoveredStyleOptionsDefinedByFeature(feature) {
|
|
53
|
-
return feature.getProperty(EXTERNAL_FEATURE_DEFINED_STYLE_OPTIONS_HOVERED_PROPERTY_NAME) || undefined;
|
|
54
|
-
}
|
|
55
|
-
function getSelectedStyleOptionsDefinedByFeature(feature) {
|
|
56
|
-
return feature.getProperty(EXTERNAL_FEATURE_DEFINED_STYLE_OPTIONS_SELECTED_PROPERTY_NAME) || undefined;
|
|
57
|
-
}
|
|
58
|
-
// TODO: Check performance of cloning a google.maps.Data instance, so the
|
|
59
|
-
// properties can be removed with the google maps api, instead of on the
|
|
60
|
-
// resulting json.
|
|
61
|
-
function stripAppFeaturePropertiesFromJson(json) {
|
|
62
|
-
if (notNullOrUndefined(json) && Array.isArray(json === null || json === void 0 ? void 0 : json.features)) {
|
|
63
|
-
for (const feature of json.features) {
|
|
64
|
-
if (notNullOrUndefined(feature === null || feature === void 0 ? void 0 : feature.properties)) {
|
|
65
|
-
for (const k of Object.keys(feature.properties)) {
|
|
66
|
-
if (isAppFeatureProperty(k)) {
|
|
67
|
-
feature.properties[k] = undefined;
|
|
68
|
-
delete feature.properties[k];
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Searches for a Feature in Data that contains the provided Feature and can use
|
|
77
|
-
* it as a cutout area.
|
|
78
|
-
*/
|
|
79
|
-
function getPossibleExteriorFeature(data, feature) {
|
|
80
|
-
let exteriorPolygonFeature;
|
|
81
|
-
data.forEach(f => {
|
|
82
|
-
if (f === feature) {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
const geometry = f.getGeometry();
|
|
86
|
-
if (geometry === null) {
|
|
87
|
-
throw Error(`Geometry not found.`);
|
|
88
|
-
}
|
|
89
|
-
if (geometry.getType() === 'Polygon' && featureContains(f, feature)) {
|
|
90
|
-
exteriorPolygonFeature = f;
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
return exteriorPolygonFeature;
|
|
94
|
-
}
|
|
95
|
-
function addInnerFeatureCutoutToExteriorFeature(exteriorFeature, innerFeature) {
|
|
96
|
-
const exteriorGeometry = exteriorFeature.getGeometry();
|
|
97
|
-
if (exteriorGeometry === null) {
|
|
98
|
-
throw Error(`Geometry not found.`);
|
|
99
|
-
}
|
|
100
|
-
const innerGeometry = innerFeature.getGeometry();
|
|
101
|
-
if (innerGeometry === null) {
|
|
102
|
-
throw Error(`Geometry not found.`);
|
|
103
|
-
}
|
|
104
|
-
// NOTE: Other geometries may support cutouts, but our map shapes editor only
|
|
105
|
-
// supports polygons currently, so we will need to handle other geometry types
|
|
106
|
-
// here if we start allowing users to draw shapes other than polygon.
|
|
107
|
-
if (exteriorGeometry.getType() !== 'Polygon' || innerGeometry.getType() !== 'Polygon') {
|
|
108
|
-
throw Error(`Inner cutout is only supported by Polygon gemoetry.`);
|
|
109
|
-
}
|
|
110
|
-
const featurePolygon = innerGeometry;
|
|
111
|
-
const exteriorPolygon = exteriorGeometry;
|
|
112
|
-
exteriorFeature.setGeometry(new google.maps.Data.Polygon([
|
|
113
|
-
...exteriorPolygon.getArray(),
|
|
114
|
-
featurePolygon.getAt(0).getArray().reverse()
|
|
115
|
-
]));
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Google maps paths don't always start and stop at the exact same position, so
|
|
119
|
-
* this will fix that for turfjs.
|
|
120
|
-
*/
|
|
121
|
-
function fixPathDifferentStartingAndEndingPoint(coordinates) {
|
|
122
|
-
if (coordinates.length <= 1) {
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
const start = coordinates[0];
|
|
126
|
-
const end = coordinates[coordinates.length - 1];
|
|
127
|
-
if (start[0] === end[0] && start[1] === end[1]) {
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
coordinates.push(coordinates[0]);
|
|
131
|
-
}
|
|
132
|
-
function polygonHasValidPathsLengths(polygon, minPointsInValidPath = 3) {
|
|
133
|
-
const paths = polygon.getPaths().getArray();
|
|
134
|
-
for (const path of paths) {
|
|
135
|
-
if (path.getLength() < minPointsInValidPath) {
|
|
136
|
-
return false;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
return true;
|
|
140
|
-
}
|
|
141
|
-
function polygonCoordinates(polygon) {
|
|
142
|
-
return polygon.getArray().map(linRing => {
|
|
143
|
-
const coords = linRing.getArray().map(x => [x.lng(), x.lat()]);
|
|
144
|
-
fixPathDifferentStartingAndEndingPoint(coords);
|
|
145
|
-
return coords;
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
function multiPolygonCoordinates(multiPolygon) {
|
|
149
|
-
return multiPolygon.getArray().map(x => polygonCoordinates(x));
|
|
150
|
-
}
|
|
151
|
-
function toTurfJsPolygon(polygon$1) {
|
|
152
|
-
return polygon(polygonCoordinates(polygon$1));
|
|
153
|
-
}
|
|
154
|
-
function toTurfJsMultiPolygon(multiPolygon$1) {
|
|
155
|
-
return multiPolygon(multiPolygonCoordinates(multiPolygon$1));
|
|
156
|
-
}
|
|
157
|
-
function toTurfJsFeature(googleFeature) {
|
|
158
|
-
const geometry = googleFeature.getGeometry();
|
|
159
|
-
if (geometry === null) {
|
|
160
|
-
throw Error(`Geometry not found.`);
|
|
161
|
-
}
|
|
162
|
-
if (geometry.getType() === 'Polygon') {
|
|
163
|
-
return toTurfJsPolygon(geometry);
|
|
164
|
-
}
|
|
165
|
-
else if (geometry.getType() === 'MultiPolygon') {
|
|
166
|
-
return toTurfJsMultiPolygon(geometry);
|
|
167
|
-
}
|
|
168
|
-
throw Error(`Unexpected geometry.`);
|
|
169
|
-
}
|
|
170
|
-
function featureContains(featureA, featureB) {
|
|
171
|
-
const polygonA = toTurfJsFeature(featureA);
|
|
172
|
-
const polygonB = toTurfJsFeature(featureB);
|
|
173
|
-
return booleanContains(polygonA, polygonB);
|
|
174
|
-
}
|
|
175
|
-
function createDataFeatureFromPolygon(polygon) {
|
|
176
|
-
const arr = polygon.getPaths().getArray().map(x => x.getArray());
|
|
177
|
-
return new google.maps.Data.Feature({
|
|
178
|
-
geometry: new google.maps.Data.Polygon(arr)
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
function getBoundsWithAllFeatures(data) {
|
|
182
|
-
const bounds = new google.maps.LatLngBounds();
|
|
183
|
-
data.forEach(feature => {
|
|
184
|
-
const geometry = feature.getGeometry();
|
|
185
|
-
if (geometry === null) {
|
|
186
|
-
throw Error(`Geometry not found.`);
|
|
187
|
-
}
|
|
188
|
-
geometry.forEachLatLng(latLng => {
|
|
189
|
-
bounds.extend(latLng);
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
return bounds;
|
|
193
|
-
}
|
|
194
|
-
function getFeatureBounds(feature) {
|
|
195
|
-
const bounds = new google.maps.LatLngBounds();
|
|
196
|
-
const geometry = feature.getGeometry();
|
|
197
|
-
if (geometry === null) {
|
|
198
|
-
throw Error(`Geometry not found.`);
|
|
199
|
-
}
|
|
200
|
-
geometry.forEachLatLng(latLng => {
|
|
201
|
-
bounds.extend(latLng);
|
|
202
|
-
});
|
|
203
|
-
return bounds;
|
|
204
|
-
}
|
|
205
|
-
function getFeatureCenter(feature) {
|
|
206
|
-
return getFeatureBounds(feature).getCenter();
|
|
207
|
-
}
|
|
208
|
-
function removeAllFeatures(data) {
|
|
209
|
-
data.forEach(f => data.remove(f));
|
|
210
|
-
}
|
|
211
|
-
function getFeaturesCount(data) {
|
|
212
|
-
let count = 0;
|
|
213
|
-
data.forEach(() => count++);
|
|
214
|
-
return count;
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* NOTE: Original events are not emitted, because filtering may omit events.
|
|
218
|
-
*/
|
|
219
|
-
function createFeatureChangeObservable(data, ngZone) {
|
|
220
|
-
return new Observable(subscriber => {
|
|
221
|
-
const listeners = [];
|
|
222
|
-
ngZone.runOutsideAngular(() => {
|
|
223
|
-
listeners.push(data.addListener('setgeometry', (event) => {
|
|
224
|
-
ngZone.run(() => { subscriber.next(undefined); });
|
|
225
|
-
}));
|
|
226
|
-
listeners.push(data.addListener('addfeature', (event) => {
|
|
227
|
-
ngZone.run(() => { subscriber.next(undefined); });
|
|
228
|
-
}));
|
|
229
|
-
listeners.push(data.addListener('removefeature', (event) => {
|
|
230
|
-
ngZone.run(() => { subscriber.next(undefined); });
|
|
231
|
-
}));
|
|
232
|
-
listeners.push(data.addListener('setproperty', (event) => {
|
|
233
|
-
if (!isAppFeatureProperty(event.name)) {
|
|
234
|
-
ngZone.run(() => { subscriber.next(undefined); });
|
|
235
|
-
}
|
|
236
|
-
}));
|
|
237
|
-
listeners.push(data.addListener('removeproperty', (event) => {
|
|
238
|
-
if (!isAppFeatureProperty(event.name)) {
|
|
239
|
-
ngZone.run(() => { subscriber.next(undefined); });
|
|
240
|
-
}
|
|
241
|
-
}));
|
|
242
|
-
});
|
|
243
|
-
return () => {
|
|
244
|
-
listeners.forEach(google.maps.event.removeListener);
|
|
245
|
-
};
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
// TODO: Close on map losing focus.
|
|
250
|
-
class GoogleMapsContextMenu {
|
|
251
|
-
constructor(_map, _menu, _position, _vcr, _ngZone, _data, _feature) {
|
|
252
|
-
this._map = _map;
|
|
253
|
-
this._menu = _menu;
|
|
254
|
-
this._vcr = _vcr;
|
|
255
|
-
this._ngZone = _ngZone;
|
|
256
|
-
this._data = _data;
|
|
257
|
-
this._feature = _feature;
|
|
258
|
-
const tplRef = this._menu.templateRef;
|
|
259
|
-
if (tplRef === undefined || tplRef === null) {
|
|
260
|
-
throw Error(`Menu template is not defined.`);
|
|
261
|
-
}
|
|
262
|
-
const ref = this._vcr.createEmbeddedView(tplRef);
|
|
263
|
-
ref.detectChanges();
|
|
264
|
-
const listeners = [];
|
|
265
|
-
const ngUnsubscribe = new Subject();
|
|
266
|
-
// TODO: Fix the initial focus. setTimeout avoids the wrong contextmenu
|
|
267
|
-
// getting triggered, but the first item flashes and looks off this way.
|
|
268
|
-
setTimeout(() => {
|
|
269
|
-
this._menu.focusFirstItem('program');
|
|
270
|
-
});
|
|
271
|
-
this._menu.closed.pipe(takeUntil(ngUnsubscribe)).subscribe(v => {
|
|
272
|
-
this.close();
|
|
273
|
-
});
|
|
274
|
-
fromEvent(document, 'keydown').pipe(takeUntil(ngUnsubscribe)).subscribe((event) => {
|
|
275
|
-
if (event.keyCode === ESCAPE) {
|
|
276
|
-
this.close();
|
|
277
|
-
}
|
|
278
|
-
});
|
|
279
|
-
const __cleanup = () => this._cleanupFn();
|
|
280
|
-
class GoogleMapsContextMenuOverlayView extends google.maps.OverlayView {
|
|
281
|
-
constructor(position, content) {
|
|
282
|
-
super();
|
|
283
|
-
this.position = position;
|
|
284
|
-
this.position = position;
|
|
285
|
-
this.containerDiv = document.createElement('div');
|
|
286
|
-
this.containerDiv.style.cursor = 'auto';
|
|
287
|
-
this.containerDiv.style.height = '0';
|
|
288
|
-
this.containerDiv.style.position = 'absolute';
|
|
289
|
-
this.containerDiv.appendChild(content);
|
|
290
|
-
// Optionally stop clicks, etc., from bubbling up to the map.
|
|
291
|
-
GoogleMapsContextMenuOverlayView.preventMapHitsAndGesturesFrom(this.containerDiv);
|
|
292
|
-
}
|
|
293
|
-
/** Called when the view is added to the map. */
|
|
294
|
-
onAdd() {
|
|
295
|
-
var _a;
|
|
296
|
-
(_a = this.getPanes()) === null || _a === void 0 ? void 0 : _a.floatPane.appendChild(this.containerDiv);
|
|
297
|
-
}
|
|
298
|
-
/** Called when the view is removed from the map. */
|
|
299
|
-
onRemove() {
|
|
300
|
-
if (this.containerDiv.parentElement) {
|
|
301
|
-
this.containerDiv.parentElement.removeChild(this.containerDiv);
|
|
302
|
-
}
|
|
303
|
-
__cleanup();
|
|
304
|
-
}
|
|
305
|
-
/** Called each frame when the view needs to draw itself. */
|
|
306
|
-
draw() {
|
|
307
|
-
const divPosition = this.getProjection().fromLatLngToDivPixel(this.position);
|
|
308
|
-
if (!divPosition) {
|
|
309
|
-
return;
|
|
310
|
-
}
|
|
311
|
-
// Hide the popup when it is far out of view.
|
|
312
|
-
const display = Math.abs(divPosition.x) < 4000 && Math.abs(divPosition.y) < 4000
|
|
313
|
-
? 'block'
|
|
314
|
-
: 'none';
|
|
315
|
-
if (display === 'block') {
|
|
316
|
-
this.containerDiv.style.left = `${divPosition.x}px`;
|
|
317
|
-
this.containerDiv.style.top = `${divPosition.y}px`;
|
|
318
|
-
}
|
|
319
|
-
if (this.containerDiv.style.display !== display) {
|
|
320
|
-
this.containerDiv.style.display = display;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
this._overlayView = new GoogleMapsContextMenuOverlayView(_position, ref.rootNodes[0]);
|
|
325
|
-
this._overlayView.setMap(this._map);
|
|
326
|
-
this._ngZone.runOutsideAngular(() => {
|
|
327
|
-
listeners.push(this._data.addListener('removefeature', (event) => {
|
|
328
|
-
if (event.feature === this._feature) {
|
|
329
|
-
this._ngZone.run(() => { this.close(); });
|
|
330
|
-
}
|
|
331
|
-
}));
|
|
332
|
-
listeners.push(this._data.addListener('setproperty', (event) => {
|
|
333
|
-
if (event.feature === this._feature && !isFeatureSelected(this._feature)) {
|
|
334
|
-
this._ngZone.run(() => { this.close(); });
|
|
335
|
-
}
|
|
336
|
-
}));
|
|
337
|
-
listeners.push(this._data.addListener('removeproperty', (event) => {
|
|
338
|
-
if (event.feature === this._feature && !isFeatureSelected(this._feature)) {
|
|
339
|
-
this._ngZone.run(() => { this.close(); });
|
|
340
|
-
}
|
|
341
|
-
}));
|
|
342
|
-
listeners.push(this._map.addListener('click', (event) => {
|
|
343
|
-
this._ngZone.run(() => { this.close(); });
|
|
344
|
-
}));
|
|
345
|
-
listeners.push(this._data.addListener('click', (event) => {
|
|
346
|
-
this._ngZone.run(() => { this.close(); });
|
|
347
|
-
}));
|
|
348
|
-
});
|
|
349
|
-
this._cleanupFn = () => {
|
|
350
|
-
ngUnsubscribe.next();
|
|
351
|
-
ngUnsubscribe.complete();
|
|
352
|
-
listeners.forEach(google.maps.event.removeListener);
|
|
353
|
-
};
|
|
354
|
-
}
|
|
355
|
-
close() {
|
|
356
|
-
this._overlayView.setMap(null);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
var MapValueSource;
|
|
361
|
-
(function (MapValueSource) {
|
|
362
|
-
MapValueSource["Input"] = "input";
|
|
363
|
-
MapValueSource["FeatureChange"] = "featurechange";
|
|
364
|
-
})(MapValueSource || (MapValueSource = {}));
|
|
365
|
-
class MapValueManagerService {
|
|
366
|
-
constructor() {
|
|
367
|
-
this._valueChangedSubject = new Subject();
|
|
368
|
-
this.valueChanged = this._valueChangedSubject.asObservable();
|
|
369
|
-
}
|
|
370
|
-
setValue(value, source) {
|
|
371
|
-
if (value === this._value) {
|
|
372
|
-
return false;
|
|
373
|
-
}
|
|
374
|
-
if (value === null || value === undefined) {
|
|
375
|
-
this._value = value;
|
|
376
|
-
const _change = {
|
|
377
|
-
source,
|
|
378
|
-
value: this._value,
|
|
379
|
-
};
|
|
380
|
-
this._valueChangedSubject.next(_change);
|
|
381
|
-
return true;
|
|
382
|
-
}
|
|
383
|
-
if (JSON.stringify(value) === JSON.stringify(this._value)) {
|
|
384
|
-
return true;
|
|
385
|
-
}
|
|
386
|
-
// TODO: Validate object is valid geojson.
|
|
387
|
-
this._value = value;
|
|
388
|
-
const change = {
|
|
389
|
-
source,
|
|
390
|
-
value: this._value,
|
|
391
|
-
};
|
|
392
|
-
this._valueChangedSubject.next(change);
|
|
393
|
-
return true;
|
|
394
|
-
}
|
|
395
|
-
get value() {
|
|
396
|
-
return this._value;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
MapValueManagerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: MapValueManagerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
400
|
-
MapValueManagerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: MapValueManagerService });
|
|
401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: MapValueManagerService, decorators: [{
|
|
402
|
-
type: Injectable
|
|
403
|
-
}], ctorParameters: function () { return []; } });
|
|
404
|
-
|
|
405
|
-
const DEFAULT_POLYGON_OPTIONS = (editingEnabled) => ({
|
|
406
|
-
clickable: editingEnabled,
|
|
407
|
-
draggable: editingEnabled,
|
|
408
|
-
editable: editingEnabled,
|
|
409
|
-
});
|
|
410
|
-
const DEFAULT_DRAWING_MANAGER_OPTIONS = (editingEnabled) => ({
|
|
411
|
-
drawingControl: editingEnabled,
|
|
412
|
-
drawingControlOptions: {
|
|
413
|
-
drawingModes: [
|
|
414
|
-
google.maps.drawing.OverlayType.POLYGON,
|
|
415
|
-
],
|
|
416
|
-
},
|
|
417
|
-
polygonOptions: DEFAULT_POLYGON_OPTIONS(editingEnabled),
|
|
418
|
-
drawingMode: null,
|
|
419
|
-
});
|
|
420
|
-
const FEATURE_STYLE_OPTIONS_DEFAULT = (editingEnabled) => ({
|
|
421
|
-
clickable: true,
|
|
422
|
-
// clickable: editingEnabled,
|
|
423
|
-
visible: true,
|
|
424
|
-
// zIndex?: number;
|
|
425
|
-
// cursor?: string;
|
|
426
|
-
draggable: false,
|
|
427
|
-
editable: false,
|
|
428
|
-
fillColor: 'teal',
|
|
429
|
-
fillOpacity: 0.3,
|
|
430
|
-
strokeColor: 'blue',
|
|
431
|
-
strokeOpacity: 1,
|
|
432
|
-
strokeWeight: 2,
|
|
433
|
-
});
|
|
434
|
-
const FEATURE_STYLE_OPTIONS_SELECTED = (editingEnabled) => (Object.assign(Object.assign({}, FEATURE_STYLE_OPTIONS_DEFAULT(editingEnabled)), { draggable: editingEnabled, editable: editingEnabled, fillColor: 'green', fillOpacity: 0.7, strokeColor: 'limegreen', strokeOpacity: 1, strokeWeight: 2 }));
|
|
435
|
-
const FEATURE_STYLE_OVERRIDE_OPTIONS_HOVERED = (editingEnabled) => ({
|
|
436
|
-
strokeColor: 'black',
|
|
437
|
-
strokeOpacity: 1,
|
|
438
|
-
strokeWeight: 4,
|
|
439
|
-
});
|
|
440
|
-
const SUPPORTED_PROPERTY_STYLE_OPTIONS = [
|
|
441
|
-
'fillColor',
|
|
442
|
-
'fillOpacity',
|
|
443
|
-
'strokeColor',
|
|
444
|
-
'strokeOpacity',
|
|
445
|
-
'strokeWeight',
|
|
446
|
-
'label',
|
|
447
|
-
'opacity',
|
|
448
|
-
'icon',
|
|
449
|
-
'clickable',
|
|
450
|
-
'visible',
|
|
451
|
-
];
|
|
452
|
-
class GoogleMapsService {
|
|
453
|
-
get mapReady() { return this._mapReadySubject.value; }
|
|
454
|
-
constructor(_mapValueManager, _ngZone, _vcr) {
|
|
455
|
-
this._mapValueManager = _mapValueManager;
|
|
456
|
-
this._ngZone = _ngZone;
|
|
457
|
-
this._vcr = _vcr;
|
|
458
|
-
this._ngUnsubscribe = new Subject();
|
|
459
|
-
this._mapReadySubject = new BehaviorSubject(false);
|
|
460
|
-
this._editingEnabledSubject = new BehaviorSubject(true);
|
|
461
|
-
this._featureContextMenu = null;
|
|
462
|
-
this._activeContextMenu = null;
|
|
463
|
-
this._allowDrawingHoleInPolygon = false;
|
|
464
|
-
this.editingEnabled$ = this._editingEnabledSubject.asObservable();
|
|
465
|
-
this.mapReady$ = this._mapReadySubject.asObservable();
|
|
466
|
-
}
|
|
467
|
-
ngOnDestroy() {
|
|
468
|
-
this._ngUnsubscribe.next();
|
|
469
|
-
this._ngUnsubscribe.complete();
|
|
470
|
-
}
|
|
471
|
-
setMap(map) {
|
|
472
|
-
this.googleMap = map;
|
|
473
|
-
this._mapReadySubject.next(true);
|
|
474
|
-
this._initDrawingManager();
|
|
475
|
-
this._initFeatureStyling();
|
|
476
|
-
this._initFeatureChangeListeners();
|
|
477
|
-
}
|
|
478
|
-
setBaseLatLng(lat, lng) {
|
|
479
|
-
this._baseLatLng = { lat, lng };
|
|
480
|
-
}
|
|
481
|
-
setPadding(padding) {
|
|
482
|
-
this._padding = padding;
|
|
483
|
-
}
|
|
484
|
-
// TODO: Refactor out of the service meant to just wrap the google maps api.
|
|
485
|
-
setFeatureContextMenu(menu) {
|
|
486
|
-
this.closeContextMenu();
|
|
487
|
-
this._featureContextMenu = menu;
|
|
488
|
-
}
|
|
489
|
-
setEditingEnabled(enabled) {
|
|
490
|
-
var _a, _b, _c, _d;
|
|
491
|
-
this._editingEnabledSubject.next(enabled);
|
|
492
|
-
if (this.mapReady) {
|
|
493
|
-
this._assertInitialized();
|
|
494
|
-
this.googleMap.data.revertStyle();
|
|
495
|
-
if (!enabled) {
|
|
496
|
-
this.stopDrawing();
|
|
497
|
-
const options = DEFAULT_DRAWING_MANAGER_OPTIONS(this.isEditingEnabled());
|
|
498
|
-
(_a = this._drawingManager) === null || _a === void 0 ? void 0 : _a.setOptions(options);
|
|
499
|
-
(_b = this._drawingManager) === null || _b === void 0 ? void 0 : _b.setMap(null);
|
|
500
|
-
this.googleMap.data.forEach(f => {
|
|
501
|
-
if (isFeatureSelected(f)) {
|
|
502
|
-
setFeatureSelected(f, false);
|
|
503
|
-
}
|
|
504
|
-
});
|
|
505
|
-
}
|
|
506
|
-
else {
|
|
507
|
-
const options = DEFAULT_DRAWING_MANAGER_OPTIONS(this.isEditingEnabled());
|
|
508
|
-
(_c = this._drawingManager) === null || _c === void 0 ? void 0 : _c.setOptions(options);
|
|
509
|
-
(_d = this._drawingManager) === null || _d === void 0 ? void 0 : _d.setMap(this.googleMap);
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
isEditingEnabled() {
|
|
514
|
-
return this._editingEnabledSubject.value;
|
|
515
|
-
}
|
|
516
|
-
getDiv() {
|
|
517
|
-
this._assertInitialized();
|
|
518
|
-
return this.googleMap.getDiv();
|
|
519
|
-
}
|
|
520
|
-
fitBounds(bounds, padding) {
|
|
521
|
-
this._assertInitialized();
|
|
522
|
-
this.googleMap.fitBounds(bounds, padding);
|
|
523
|
-
}
|
|
524
|
-
/**
|
|
525
|
-
* Iterates the map's features and removes any that are selected.
|
|
526
|
-
*/
|
|
527
|
-
deleteSelection() {
|
|
528
|
-
this._assertInitialized();
|
|
529
|
-
const mapData = this.googleMap.data;
|
|
530
|
-
mapData.forEach(f => {
|
|
531
|
-
if (isFeatureSelected(f)) {
|
|
532
|
-
mapData.remove(f);
|
|
533
|
-
}
|
|
534
|
-
});
|
|
535
|
-
}
|
|
536
|
-
/**
|
|
537
|
-
* Stops the current drawing.
|
|
538
|
-
*/
|
|
539
|
-
stopDrawing() {
|
|
540
|
-
this._ngZone.runOutsideAngular(() => {
|
|
541
|
-
if (isNullOrUndefined(this._drawingManager) || this._drawingManager.getDrawingMode() === null) {
|
|
542
|
-
return;
|
|
543
|
-
}
|
|
544
|
-
// Listening for the completion event of the overlay currently being drawn
|
|
545
|
-
// and removing it. I haven't found a way to cancel the current drawing,
|
|
546
|
-
// without this hack that assumes our listeners will not run into a race
|
|
547
|
-
// condition.
|
|
548
|
-
const listener = google.maps.event.addListener(this._drawingManager, 'overlaycomplete', (event) => {
|
|
549
|
-
var _a;
|
|
550
|
-
(_a = event.overlay) === null || _a === void 0 ? void 0 : _a.setMap(null);
|
|
551
|
-
listener.remove();
|
|
552
|
-
});
|
|
553
|
-
// To fake canceling the current drawing, without disabling the drawing
|
|
554
|
-
// mode, the drawing mode is being unset then immediately set back. When
|
|
555
|
-
// the mode is unset the 'overlaycomplete' event will fire, which will
|
|
556
|
-
// give a reference to the current overlay to remove, then it is set back
|
|
557
|
-
// to the mode the user was using. To the user is should just seem like
|
|
558
|
-
// the current drawing was canceled and they can start drawing again.
|
|
559
|
-
const mode = this._drawingManager.getDrawingMode();
|
|
560
|
-
this._drawingManager.setDrawingMode(null);
|
|
561
|
-
this._drawingManager.setDrawingMode(mode);
|
|
562
|
-
// 'overlaycomplete' should fire immediately, unless an overlay hadn't
|
|
563
|
-
// started drawing. This timeout will make sure the listener gets removed.
|
|
564
|
-
setTimeout(() => {
|
|
565
|
-
listener.remove();
|
|
566
|
-
});
|
|
567
|
-
});
|
|
568
|
-
}
|
|
569
|
-
_initDrawingManager() {
|
|
570
|
-
if (notNullOrUndefined(this._drawingManager)) {
|
|
571
|
-
throw Error(`DrawingManager is already initialized.`);
|
|
572
|
-
}
|
|
573
|
-
this._assertInitialized();
|
|
574
|
-
const options = DEFAULT_DRAWING_MANAGER_OPTIONS(this.isEditingEnabled());
|
|
575
|
-
const drawingManager = new google.maps.drawing.DrawingManager(options);
|
|
576
|
-
drawingManager.setMap(this.googleMap);
|
|
577
|
-
this._drawingManager = drawingManager;
|
|
578
|
-
this._drawingManager.addListener('drawingmode_changed', (event) => {
|
|
579
|
-
var _a;
|
|
580
|
-
if (((_a = this._drawingManager) === null || _a === void 0 ? void 0 : _a.getDrawingMode()) !== null) {
|
|
581
|
-
this._assertInitialized();
|
|
582
|
-
this.googleMap.data.forEach(f => {
|
|
583
|
-
if (isFeatureSelected(f)) {
|
|
584
|
-
setFeatureSelected(f, false);
|
|
585
|
-
}
|
|
586
|
-
});
|
|
587
|
-
}
|
|
588
|
-
});
|
|
589
|
-
}
|
|
590
|
-
addControl(element, position) {
|
|
591
|
-
this._assertInitialized();
|
|
592
|
-
this.googleMap.controls[position].push(element);
|
|
593
|
-
}
|
|
594
|
-
setData(data) {
|
|
595
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
596
|
-
this._assertInitialized();
|
|
597
|
-
removeAllFeatures(this.googleMap.data);
|
|
598
|
-
this.googleMap.data.addGeoJson(data);
|
|
599
|
-
this.googleMap.fitBounds(getBoundsWithAllFeatures(this.googleMap.data), this._padding);
|
|
600
|
-
});
|
|
601
|
-
}
|
|
602
|
-
// TODO: Refactor out of the service meant to just wrap the google maps api.
|
|
603
|
-
reCenterOnFeatures() {
|
|
604
|
-
this._assertInitialized();
|
|
605
|
-
if (getFeaturesCount(this.googleMap.data) === 0) {
|
|
606
|
-
if (!this._baseLatLng) {
|
|
607
|
-
return;
|
|
608
|
-
}
|
|
609
|
-
this.googleMap.panTo(this._baseLatLng);
|
|
610
|
-
return;
|
|
611
|
-
}
|
|
612
|
-
this.googleMap.fitBounds(getBoundsWithAllFeatures(this.googleMap.data), this._padding);
|
|
613
|
-
// TODO: Fix to pan to center. Currently fitBounds results in the expected
|
|
614
|
-
// result, but pantToBounds animates.
|
|
615
|
-
// this.googleMap.panToBounds(getBoundsWithAllFeatures(this.googleMap.data))
|
|
616
|
-
}
|
|
617
|
-
allowDrawingHoleInPolygon(allow) {
|
|
618
|
-
this._allowDrawingHoleInPolygon = allow;
|
|
619
|
-
}
|
|
620
|
-
setFileInputHandler(handler) {
|
|
621
|
-
this._fileInputHandler = handler;
|
|
622
|
-
}
|
|
623
|
-
getFileInputHandler() {
|
|
624
|
-
return this._fileInputHandler;
|
|
625
|
-
}
|
|
626
|
-
_initFeatureStyling() {
|
|
627
|
-
this._assertInitialized();
|
|
628
|
-
// Disable any selection when clicking the map.
|
|
629
|
-
//
|
|
630
|
-
// TODO: There may be a better way to do this that would be more accurate or
|
|
631
|
-
// additional events that should be listened to, such as the disabling
|
|
632
|
-
// selection when the map looses focus.
|
|
633
|
-
this.googleMap.addListener('click', (even) => {
|
|
634
|
-
this._assertInitialized();
|
|
635
|
-
this.googleMap.data.forEach(f => setFeatureSelected(f, false));
|
|
636
|
-
});
|
|
637
|
-
// Determine what the style of the features are.
|
|
638
|
-
this.googleMap.data.setStyle(feature => {
|
|
639
|
-
let opts = FEATURE_STYLE_OPTIONS_DEFAULT(this.isEditingEnabled());
|
|
640
|
-
const options = getStyleOptionsDefinedByFeature(feature);
|
|
641
|
-
this._mergeStyleOptions(opts, options !== null && options !== void 0 ? options : {});
|
|
642
|
-
if (isFeatureSelected(feature)) {
|
|
643
|
-
const hoverOptions = getHoveredStyleOptionsDefinedByFeature(feature);
|
|
644
|
-
opts = FEATURE_STYLE_OPTIONS_SELECTED(this.isEditingEnabled());
|
|
645
|
-
this._mergeStyleOptions(opts, hoverOptions !== null && hoverOptions !== void 0 ? hoverOptions : {});
|
|
646
|
-
}
|
|
647
|
-
return opts;
|
|
648
|
-
});
|
|
649
|
-
// Select a feature when clicked.
|
|
650
|
-
this.googleMap.data.addListener('click', (event) => {
|
|
651
|
-
this._assertInitialized();
|
|
652
|
-
setFeatureSelected(event.feature, true);
|
|
653
|
-
this.googleMap.data.forEach(f => {
|
|
654
|
-
if (f !== event.feature && isFeatureSelected(f)) {
|
|
655
|
-
setFeatureSelected(f, false);
|
|
656
|
-
}
|
|
657
|
-
});
|
|
658
|
-
});
|
|
659
|
-
// Set a style on hovered features that can be selected.
|
|
660
|
-
this.googleMap.data.addListener('mouseover', (event) => {
|
|
661
|
-
this._assertInitialized();
|
|
662
|
-
this.googleMap.data.revertStyle();
|
|
663
|
-
if (!this.isDrawing() && !isFeatureSelected(event.feature)) {
|
|
664
|
-
this.setFeatureHoveredStyleOverride(event.feature);
|
|
665
|
-
}
|
|
666
|
-
});
|
|
667
|
-
// Remove any hover styles when mouse moves away.
|
|
668
|
-
this.googleMap.data.addListener('mouseout', (event) => {
|
|
669
|
-
this._assertInitialized();
|
|
670
|
-
this.googleMap.data.revertStyle();
|
|
671
|
-
});
|
|
672
|
-
}
|
|
673
|
-
setFeatureHoveredStyleOverride(feature) {
|
|
674
|
-
this._assertInitialized();
|
|
675
|
-
const overrideOpts = FEATURE_STYLE_OVERRIDE_OPTIONS_HOVERED(this.isEditingEnabled());
|
|
676
|
-
const hoverOptions = getHoveredStyleOptionsDefinedByFeature(feature);
|
|
677
|
-
this._mergeStyleOptions(overrideOpts, hoverOptions !== null && hoverOptions !== void 0 ? hoverOptions : {});
|
|
678
|
-
this.googleMap.data.overrideStyle(feature, overrideOpts);
|
|
679
|
-
}
|
|
680
|
-
_mergeStyleOptions(options, propertiesStyleOptions) {
|
|
681
|
-
if (Object.keys(propertiesStyleOptions).length === 0) {
|
|
682
|
-
return;
|
|
683
|
-
}
|
|
684
|
-
for (const opt of SUPPORTED_PROPERTY_STYLE_OPTIONS) {
|
|
685
|
-
if (Object.prototype.hasOwnProperty.call(propertiesStyleOptions, opt)) {
|
|
686
|
-
options[opt] = propertiesStyleOptions[opt];
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
_initFeatureChangeListeners() {
|
|
691
|
-
this._assertInitialized();
|
|
692
|
-
createFeatureChangeObservable(this.googleMap.data, this._ngZone).pipe(switchMap(() => from(this.getGeoJson()).pipe(tap(geoJson => this._mapValueManager.setValue(geoJson, MapValueSource.FeatureChange)))), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
693
|
-
this.googleMap.data.addListener('contextmenu', (event) => {
|
|
694
|
-
var _a;
|
|
695
|
-
if (!isFeatureSelected(event.feature)) {
|
|
696
|
-
return;
|
|
697
|
-
}
|
|
698
|
-
this._openContextMenuForFeature(event.feature, (_a = event.latLng) !== null && _a !== void 0 ? _a : undefined);
|
|
699
|
-
});
|
|
700
|
-
if (notNullOrUndefined(this._drawingManager)) {
|
|
701
|
-
google.maps.event.addListener(this._drawingManager, 'polygoncomplete', (polygon) => {
|
|
702
|
-
var _a, _b;
|
|
703
|
-
// The DrawingManager doesn't seem to have a way to access the overlays,
|
|
704
|
-
// so if the map is not set then it shouldn'y be considered a successful
|
|
705
|
-
// completion. I am canceling the active drawing by disabling drawing
|
|
706
|
-
// mode and setting the map null in the 'overlaycomplete' event, which
|
|
707
|
-
// fires before the 'polygoncomplete' event.
|
|
708
|
-
if (isNullOrUndefined(polygon.getMap())) {
|
|
709
|
-
return;
|
|
710
|
-
}
|
|
711
|
-
this._assertInitialized();
|
|
712
|
-
// TODO: See if there is a way to prevent the polygon from completing
|
|
713
|
-
// without enough points. This is very low priority, because starting
|
|
714
|
-
// over after adding a single point isn't a major inconvenience.
|
|
715
|
-
if (!polygonHasValidPathsLengths(polygon)) {
|
|
716
|
-
// Remove the drawn polygon.
|
|
717
|
-
polygon.setMap(null);
|
|
718
|
-
// Stop drawing.
|
|
719
|
-
(_a = this._drawingManager) === null || _a === void 0 ? void 0 : _a.setDrawingMode(null);
|
|
720
|
-
return;
|
|
721
|
-
}
|
|
722
|
-
// Create a map feature of the drawn polygon.
|
|
723
|
-
const feature = createDataFeatureFromPolygon(polygon);
|
|
724
|
-
// Remove the drawn polygon.
|
|
725
|
-
polygon.setMap(null);
|
|
726
|
-
// Stop drawing.
|
|
727
|
-
(_b = this._drawingManager) === null || _b === void 0 ? void 0 : _b.setDrawingMode(null);
|
|
728
|
-
// Check if the feature should be used as a cutout to an existing
|
|
729
|
-
// feature or added as it's own feature.
|
|
730
|
-
const exteriorPolygonFeature = this._allowDrawingHoleInPolygon
|
|
731
|
-
? getPossibleExteriorFeature(this.googleMap.data, feature)
|
|
732
|
-
: undefined;
|
|
733
|
-
if (exteriorPolygonFeature) {
|
|
734
|
-
addInnerFeatureCutoutToExteriorFeature(exteriorPolygonFeature, feature);
|
|
735
|
-
setFeatureSelected(exteriorPolygonFeature, true);
|
|
736
|
-
}
|
|
737
|
-
else {
|
|
738
|
-
this.googleMap.data.add(feature);
|
|
739
|
-
setFeatureSelected(feature, true);
|
|
740
|
-
}
|
|
741
|
-
});
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
isDrawing() {
|
|
745
|
-
if (isNullOrUndefined(this._drawingManager)) {
|
|
746
|
-
return true;
|
|
747
|
-
}
|
|
748
|
-
return this._drawingManager.getDrawingMode() !== null;
|
|
749
|
-
}
|
|
750
|
-
// TODO: Refactor out of the service meant to just wrap the google maps api.
|
|
751
|
-
hasSelectedFeature() {
|
|
752
|
-
this._assertInitialized();
|
|
753
|
-
let isSelected = false;
|
|
754
|
-
this.googleMap.data.forEach(f => {
|
|
755
|
-
if (isFeatureSelected(f)) {
|
|
756
|
-
isSelected = true;
|
|
757
|
-
}
|
|
758
|
-
});
|
|
759
|
-
return isSelected;
|
|
760
|
-
}
|
|
761
|
-
// TODO: Refactor out of the service meant to just wrap the google maps api.
|
|
762
|
-
getSelectedFeature() {
|
|
763
|
-
this._assertInitialized();
|
|
764
|
-
let feature = null;
|
|
765
|
-
this.googleMap.data.forEach(f => {
|
|
766
|
-
if (isFeatureSelected(f)) {
|
|
767
|
-
feature = f;
|
|
768
|
-
}
|
|
769
|
-
});
|
|
770
|
-
return feature;
|
|
771
|
-
}
|
|
772
|
-
// TODO: Refactor out of the service meant to just wrap the google maps api.
|
|
773
|
-
openContextMenu() {
|
|
774
|
-
const feature = this.getSelectedFeature();
|
|
775
|
-
if (feature) {
|
|
776
|
-
this._openContextMenuForFeature(feature);
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
// TODO: Refactor out of the service meant to just wrap the google maps api.
|
|
780
|
-
closeContextMenu() {
|
|
781
|
-
if (this._activeContextMenu) {
|
|
782
|
-
this._activeContextMenu.close();
|
|
783
|
-
this._activeContextMenu = null;
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
// TODO: Refactor out of the service meant to just wrap the google maps api.
|
|
787
|
-
_openContextMenuForFeature(feature, position) {
|
|
788
|
-
this.closeContextMenu();
|
|
789
|
-
this._assertInitialized();
|
|
790
|
-
let _position = position;
|
|
791
|
-
if (!_position) {
|
|
792
|
-
_position = getFeatureCenter(feature);
|
|
793
|
-
}
|
|
794
|
-
if (this._featureContextMenu) {
|
|
795
|
-
this._activeContextMenu = new GoogleMapsContextMenu(this.googleMap, this._featureContextMenu, _position, this._vcr, this._ngZone, this.googleMap.data, feature);
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
getGeoJson(removeAppProperties = true) {
|
|
799
|
-
return new Promise((resolve, reject) => {
|
|
800
|
-
this._assertInitialized();
|
|
801
|
-
this.googleMap.data.toGeoJson(f => {
|
|
802
|
-
if (removeAppProperties) {
|
|
803
|
-
stripAppFeaturePropertiesFromJson(f);
|
|
804
|
-
}
|
|
805
|
-
resolve(f);
|
|
806
|
-
});
|
|
807
|
-
});
|
|
808
|
-
}
|
|
809
|
-
/** Asserts that the map has been initialized. */
|
|
810
|
-
_assertInitialized() {
|
|
811
|
-
if (!this.googleMap && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
812
|
-
throw Error('Cannot access Google Map information before the API has been initialized. ' +
|
|
813
|
-
'Please wait for the API to load before trying to interact with it.');
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
GoogleMapsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: GoogleMapsService, deps: [{ token: MapValueManagerService }, { token: i0.NgZone }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
818
|
-
GoogleMapsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: GoogleMapsService });
|
|
819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: GoogleMapsService, decorators: [{
|
|
820
|
-
type: Injectable
|
|
821
|
-
}], ctorParameters: function () { return [{ type: MapValueManagerService }, { type: i0.NgZone }, { type: i0.ViewContainerRef }]; } });
|
|
822
|
-
|
|
823
|
-
class MapControlRef {
|
|
824
|
-
constructor(_googleMaps, _componentFactoryResolver, _injector, _controlDef) {
|
|
825
|
-
var _a;
|
|
826
|
-
this._googleMaps = _googleMaps;
|
|
827
|
-
this._componentFactoryResolver = _componentFactoryResolver;
|
|
828
|
-
this._injector = _injector;
|
|
829
|
-
this._controlDef = _controlDef;
|
|
830
|
-
this._destroyedSubject = new Subject();
|
|
831
|
-
this.destroyed = this._destroyedSubject.asObservable();
|
|
832
|
-
const component = this._controlDef.component;
|
|
833
|
-
const factory = this._componentFactoryResolver.resolveComponentFactory(component);
|
|
834
|
-
const providers = [];
|
|
835
|
-
if (this._controlDef.data) {
|
|
836
|
-
providers.push({
|
|
837
|
-
provide: MAP_CONTROL_DATA,
|
|
838
|
-
useValue: this._controlDef.data
|
|
839
|
-
});
|
|
840
|
-
}
|
|
841
|
-
const injector = Injector.create({
|
|
842
|
-
providers,
|
|
843
|
-
parent: this._injector,
|
|
844
|
-
});
|
|
845
|
-
this._componentRef = factory.create(injector);
|
|
846
|
-
this._componentRef.changeDetectorRef.detectChanges();
|
|
847
|
-
const position = (_a = this._controlDef.position) !== null && _a !== void 0 ? _a : google.maps.ControlPosition.LEFT_BOTTOM;
|
|
848
|
-
this._googleMaps.addControl(this._componentRef.location.nativeElement, position);
|
|
849
|
-
this._addedAtPosition = position;
|
|
850
|
-
}
|
|
851
|
-
destroy() {
|
|
852
|
-
const googleMaps = this._googleMaps.googleMap;
|
|
853
|
-
if (googleMaps !== undefined) {
|
|
854
|
-
let idx = -1;
|
|
855
|
-
googleMaps.controls[this._addedAtPosition].forEach((elem, index) => {
|
|
856
|
-
if (elem === this._componentRef.location.nativeElement) {
|
|
857
|
-
idx = index;
|
|
858
|
-
}
|
|
859
|
-
});
|
|
860
|
-
if (idx === -1) {
|
|
861
|
-
throw Error(`Unable to destroy control. Control not found.`);
|
|
862
|
-
}
|
|
863
|
-
googleMaps.controls[this._addedAtPosition].removeAt(idx);
|
|
864
|
-
}
|
|
865
|
-
this._componentRef.destroy();
|
|
866
|
-
this._destroyedSubject.next();
|
|
867
|
-
this._destroyedSubject.complete();
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
class GoogleMapsControlsService {
|
|
871
|
-
constructor(_googleMaps, _componentFactoryResolver, _injector) {
|
|
872
|
-
this._googleMaps = _googleMaps;
|
|
873
|
-
this._componentFactoryResolver = _componentFactoryResolver;
|
|
874
|
-
this._injector = _injector;
|
|
875
|
-
}
|
|
876
|
-
add(control) {
|
|
877
|
-
return new MapControlRef(this._googleMaps, this._componentFactoryResolver, this._injector, control);
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
GoogleMapsControlsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: GoogleMapsControlsService, deps: [{ token: GoogleMapsService }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
881
|
-
GoogleMapsControlsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: GoogleMapsControlsService });
|
|
882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: GoogleMapsControlsService, decorators: [{
|
|
883
|
-
type: Injectable
|
|
884
|
-
}], ctorParameters: function () { return [{ type: GoogleMapsService }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }]; } });
|
|
885
|
-
|
|
886
|
-
/**
|
|
887
|
-
*
|
|
888
|
-
*/
|
|
889
|
-
class TheSeamGoogleMapsRecenterButtonControlComponent {
|
|
890
|
-
_onClick(event) {
|
|
891
|
-
this._googleMaps.reCenterOnFeatures();
|
|
892
|
-
}
|
|
893
|
-
constructor(_googleMaps, _data) {
|
|
894
|
-
this._googleMaps = _googleMaps;
|
|
895
|
-
this._ngUnsubscribe = new Subject();
|
|
896
|
-
this._listeners = [];
|
|
897
|
-
if (_data) {
|
|
898
|
-
if (Object.prototype.hasOwnProperty.call(_data, 'label')) {
|
|
899
|
-
this.label = _data.label;
|
|
900
|
-
}
|
|
901
|
-
if (Object.prototype.hasOwnProperty.call(_data, 'icon')) {
|
|
902
|
-
this.icon = _data.icon;
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
/** @ignore */
|
|
907
|
-
ngOnDestroy() {
|
|
908
|
-
this._listeners.forEach(l => l());
|
|
909
|
-
this._ngUnsubscribe.next();
|
|
910
|
-
this._ngUnsubscribe.complete();
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
TheSeamGoogleMapsRecenterButtonControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsRecenterButtonControlComponent, deps: [{ token: GoogleMapsService }, { token: MAP_CONTROL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
914
|
-
TheSeamGoogleMapsRecenterButtonControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", 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 });
|
|
915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsRecenterButtonControlComponent, decorators: [{
|
|
916
|
-
type: Component,
|
|
917
|
-
args: [{ selector: 'button[seam-google-maps-recenter-button-control]', host: {
|
|
918
|
-
'[attr.draggable]': 'false',
|
|
919
|
-
'[attr.aria-label]': 'label',
|
|
920
|
-
'[attr.title]': 'label',
|
|
921
|
-
'type': 'button',
|
|
922
|
-
'class': 'gmnoprint gm-control-active'
|
|
923
|
-
}, changeDetection: ChangeDetectionStrategy.OnPush, 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"] }]
|
|
924
|
-
}], ctorParameters: function () {
|
|
925
|
-
return [{ type: GoogleMapsService }, { type: undefined, decorators: [{
|
|
926
|
-
type: Optional
|
|
927
|
-
}, {
|
|
928
|
-
type: Inject,
|
|
929
|
-
args: [MAP_CONTROL_DATA]
|
|
930
|
-
}] }];
|
|
931
|
-
}, propDecorators: { label: [{
|
|
932
|
-
type: Input
|
|
933
|
-
}], icon: [{
|
|
934
|
-
type: Input
|
|
935
|
-
}], _onClick: [{
|
|
936
|
-
type: HostListener,
|
|
937
|
-
args: ['click', ['event']]
|
|
938
|
-
}] } });
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
*
|
|
942
|
-
*/
|
|
943
|
-
class TheSeamGoogleMapsUploadButtonControlComponent {
|
|
944
|
-
_onClick(event) {
|
|
945
|
-
this._fileInputElement.click();
|
|
946
|
-
}
|
|
947
|
-
constructor(_elementRef, _mapValueManager, _renderer, _googleMaps, _data) {
|
|
948
|
-
this._elementRef = _elementRef;
|
|
949
|
-
this._mapValueManager = _mapValueManager;
|
|
950
|
-
this._renderer = _renderer;
|
|
951
|
-
this._googleMaps = _googleMaps;
|
|
952
|
-
this._ngUnsubscribe = new Subject();
|
|
953
|
-
this._listeners = [];
|
|
954
|
-
if (_data) {
|
|
955
|
-
if (Object.prototype.hasOwnProperty.call(_data, 'label')) {
|
|
956
|
-
this.label = _data.label;
|
|
957
|
-
}
|
|
958
|
-
if (Object.prototype.hasOwnProperty.call(_data, 'icon')) {
|
|
959
|
-
this.icon = _data.icon;
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
this._fileInputElement = this._createHiddenInput();
|
|
963
|
-
this._renderer.appendChild(this._elementRef.nativeElement, this._fileInputElement);
|
|
964
|
-
}
|
|
965
|
-
/** @ignore */
|
|
966
|
-
ngOnDestroy() {
|
|
967
|
-
this._listeners.forEach(l => l());
|
|
968
|
-
this._ngUnsubscribe.next();
|
|
969
|
-
this._ngUnsubscribe.complete();
|
|
970
|
-
}
|
|
971
|
-
_getFile(throwIfInvalidFiles = true) {
|
|
972
|
-
const files = this._fileInputElement.files;
|
|
973
|
-
if (files === null || files.length === 0) {
|
|
974
|
-
return null;
|
|
975
|
-
}
|
|
976
|
-
if (throwIfInvalidFiles) {
|
|
977
|
-
if (files.length > 1) {
|
|
978
|
-
throw Error(`Only one file can be imported at a time.`);
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
return files[0];
|
|
982
|
-
}
|
|
983
|
-
_importFile(file) {
|
|
984
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
985
|
-
const json = yield readGeoFile(file);
|
|
986
|
-
this._mapValueManager.setValue(json, MapValueSource.Input);
|
|
987
|
-
this._resetInput();
|
|
988
|
-
});
|
|
989
|
-
}
|
|
990
|
-
_createHiddenInput() {
|
|
991
|
-
const fileInputElement = this._renderer.createElement('input');
|
|
992
|
-
this._renderer.setAttribute(fileInputElement, 'type', 'file');
|
|
993
|
-
this._renderer.setAttribute(fileInputElement, 'hidden', '');
|
|
994
|
-
this._renderer.setAttribute(fileInputElement, 'accept', '.json,.geojson,.shp,.zip');
|
|
995
|
-
this._listeners.push(this._renderer.listen(fileInputElement, 'change', (event) => {
|
|
996
|
-
const file = this._getFile();
|
|
997
|
-
if (file === null) {
|
|
998
|
-
return;
|
|
999
|
-
}
|
|
1000
|
-
const fileImportHandler = this._googleMaps.getFileInputHandler();
|
|
1001
|
-
if (fileImportHandler) {
|
|
1002
|
-
fileImportHandler(file);
|
|
1003
|
-
}
|
|
1004
|
-
else {
|
|
1005
|
-
this._importFile(file);
|
|
1006
|
-
}
|
|
1007
|
-
}));
|
|
1008
|
-
return fileInputElement;
|
|
1009
|
-
}
|
|
1010
|
-
_createTemporaryFormElement() {
|
|
1011
|
-
return this._renderer.createElement('form');
|
|
1012
|
-
}
|
|
1013
|
-
/**
|
|
1014
|
-
* Reset input element, so that the same file can be added again.
|
|
1015
|
-
*/
|
|
1016
|
-
_resetInput() {
|
|
1017
|
-
const formElement = this._createTemporaryFormElement();
|
|
1018
|
-
this._renderer.appendChild(formElement, this._fileInputElement);
|
|
1019
|
-
formElement.reset();
|
|
1020
|
-
this._renderer.appendChild(this._elementRef.nativeElement, this._fileInputElement);
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
TheSeamGoogleMapsUploadButtonControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", 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 });
|
|
1024
|
-
TheSeamGoogleMapsUploadButtonControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", 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 });
|
|
1025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsUploadButtonControlComponent, decorators: [{
|
|
1026
|
-
type: Component,
|
|
1027
|
-
args: [{ selector: 'button[seam-google-maps-upload-button-control]', host: {
|
|
1028
|
-
'[attr.draggable]': 'false',
|
|
1029
|
-
'[attr.aria-label]': 'label',
|
|
1030
|
-
'[attr.title]': 'label',
|
|
1031
|
-
'type': 'button',
|
|
1032
|
-
'class': 'gmnoprint gm-control-active'
|
|
1033
|
-
}, changeDetection: ChangeDetectionStrategy.OnPush, 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"] }]
|
|
1034
|
-
}], ctorParameters: function () {
|
|
1035
|
-
return [{ type: i0.ElementRef }, { type: MapValueManagerService }, { type: i0.Renderer2 }, { type: GoogleMapsService }, { type: undefined, decorators: [{
|
|
1036
|
-
type: Optional
|
|
1037
|
-
}, {
|
|
1038
|
-
type: Inject,
|
|
1039
|
-
args: [MAP_CONTROL_DATA]
|
|
1040
|
-
}] }];
|
|
1041
|
-
}, propDecorators: { label: [{
|
|
1042
|
-
type: Input
|
|
1043
|
-
}], icon: [{
|
|
1044
|
-
type: Input
|
|
1045
|
-
}], _onClick: [{
|
|
1046
|
-
type: HostListener,
|
|
1047
|
-
args: ['click', ['event']]
|
|
1048
|
-
}] } });
|
|
1049
|
-
|
|
1050
|
-
class TheSeamGoogleMapsApiLoader {
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
*
|
|
1055
|
-
*/
|
|
1056
|
-
class TheSeamMapFileDropComponent {
|
|
1057
|
-
constructor(_elementRef, _ngZone, _googleMaps, _mapValueManager, _renderer) {
|
|
1058
|
-
this._elementRef = _elementRef;
|
|
1059
|
-
this._ngZone = _ngZone;
|
|
1060
|
-
this._googleMaps = _googleMaps;
|
|
1061
|
-
this._mapValueManager = _mapValueManager;
|
|
1062
|
-
this._renderer = _renderer;
|
|
1063
|
-
this._ngUnsubscribe = new Subject();
|
|
1064
|
-
this._listeners = [];
|
|
1065
|
-
this._globalDragInProgress = false;
|
|
1066
|
-
this._handleDragOverEvent = (event) => {
|
|
1067
|
-
if (!this._dropAllowed()) {
|
|
1068
|
-
return;
|
|
1069
|
-
}
|
|
1070
|
-
if (!this._isSupportedDataTransferTypes(event.dataTransfer)) {
|
|
1071
|
-
return;
|
|
1072
|
-
}
|
|
1073
|
-
event.preventDefault();
|
|
1074
|
-
event.dataTransfer.dropEffect = 'copy';
|
|
1075
|
-
};
|
|
1076
|
-
this._handleDropEvent = (event) => {
|
|
1077
|
-
if (!this._dropAllowed()) {
|
|
1078
|
-
return;
|
|
1079
|
-
}
|
|
1080
|
-
event.preventDefault();
|
|
1081
|
-
event.stopPropagation();
|
|
1082
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'display', 'none');
|
|
1083
|
-
// TODO: Show error if multiple files?
|
|
1084
|
-
if (!this._isSupportedDataTransfer(event.dataTransfer)) {
|
|
1085
|
-
return;
|
|
1086
|
-
}
|
|
1087
|
-
const item = event.dataTransfer.items[0];
|
|
1088
|
-
const file = item.getAsFile();
|
|
1089
|
-
readGeoFile(file).then(json => {
|
|
1090
|
-
this._mapValueManager.setValue(json, MapValueSource.Input);
|
|
1091
|
-
});
|
|
1092
|
-
};
|
|
1093
|
-
this._handleDragEnterEvent = (event) => {
|
|
1094
|
-
if (!this._dropAllowed()) {
|
|
1095
|
-
return;
|
|
1096
|
-
}
|
|
1097
|
-
if (!this._isSupportedDataTransferTypes(event.dataTransfer)) {
|
|
1098
|
-
return;
|
|
1099
|
-
}
|
|
1100
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'display', 'block');
|
|
1101
|
-
};
|
|
1102
|
-
this._handleDragLeaveEvent = (event) => {
|
|
1103
|
-
if (!this._dropAllowed()) {
|
|
1104
|
-
return;
|
|
1105
|
-
}
|
|
1106
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'display', 'none');
|
|
1107
|
-
};
|
|
1108
|
-
}
|
|
1109
|
-
/** @ignore */
|
|
1110
|
-
ngOnInit() {
|
|
1111
|
-
this._googleMaps.mapReady$.pipe(tap(ready => {
|
|
1112
|
-
if (ready) {
|
|
1113
|
-
this._enableFileDrop();
|
|
1114
|
-
}
|
|
1115
|
-
else {
|
|
1116
|
-
this._disableFileDrop();
|
|
1117
|
-
}
|
|
1118
|
-
}), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1119
|
-
}
|
|
1120
|
-
/** @ignore */
|
|
1121
|
-
ngOnDestroy() {
|
|
1122
|
-
this._disableFileDrop();
|
|
1123
|
-
this._ngUnsubscribe.next();
|
|
1124
|
-
this._ngUnsubscribe.complete();
|
|
1125
|
-
}
|
|
1126
|
-
_enableFileDrop() {
|
|
1127
|
-
const divElement = this._googleMaps.getDiv();
|
|
1128
|
-
if (this._mapDiv === divElement) {
|
|
1129
|
-
return;
|
|
1130
|
-
}
|
|
1131
|
-
if (this._mapDiv !== undefined) {
|
|
1132
|
-
// Disable file drop on previous map div.
|
|
1133
|
-
this._disableFileDrop();
|
|
1134
|
-
}
|
|
1135
|
-
this._mapDiv = divElement;
|
|
1136
|
-
this._ngZone.runOutsideAngular(() => {
|
|
1137
|
-
this._listeners.push(this._renderer.listen('document', 'dragstart', (event) => {
|
|
1138
|
-
this._globalDragInProgress = true;
|
|
1139
|
-
}));
|
|
1140
|
-
this._listeners.push(this._renderer.listen('document', 'dragend', (event) => {
|
|
1141
|
-
this._globalDragInProgress = false;
|
|
1142
|
-
}));
|
|
1143
|
-
this._listeners.push(this._renderer.listen(divElement, 'dragover', this._handleDragOverEvent));
|
|
1144
|
-
this._listeners.push(this._renderer.listen(this._elementRef.nativeElement, 'dragover', this._handleDragOverEvent));
|
|
1145
|
-
this._listeners.push(this._renderer.listen(this._elementRef.nativeElement, 'drop', this._handleDropEvent));
|
|
1146
|
-
this._listeners.push(this._renderer.listen(divElement, 'dragenter', this._handleDragEnterEvent));
|
|
1147
|
-
this._listeners.push(this._renderer.listen(this._elementRef.nativeElement, 'dragleave', this._handleDragLeaveEvent));
|
|
1148
|
-
});
|
|
1149
|
-
}
|
|
1150
|
-
_disableFileDrop() {
|
|
1151
|
-
if (this._listeners.length > 0) {
|
|
1152
|
-
this._listeners.forEach(l => l());
|
|
1153
|
-
this._listeners = [];
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
_dropAllowed() {
|
|
1157
|
-
return !this._globalDragInProgress;
|
|
1158
|
-
}
|
|
1159
|
-
_isSupportedDataTransfer(dataTransfer) {
|
|
1160
|
-
return dataTransfer.files.length === 1 && dataTransfer.types[0] === 'Files';
|
|
1161
|
-
}
|
|
1162
|
-
_isSupportedDataTransferTypes(dataTransfer) {
|
|
1163
|
-
return dataTransfer.types[0] === 'Files';
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
TheSeamMapFileDropComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamMapFileDropComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: GoogleMapsService }, { token: MapValueManagerService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1167
|
-
TheSeamMapFileDropComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", 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 });
|
|
1168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamMapFileDropComponent, decorators: [{
|
|
1169
|
-
type: Component,
|
|
1170
|
-
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"] }]
|
|
1171
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: GoogleMapsService }, { type: MapValueManagerService }, { type: i0.Renderer2 }]; } });
|
|
1172
|
-
|
|
1173
|
-
class TheSeamMapsControlComponent {
|
|
1174
|
-
set def(value) {
|
|
1175
|
-
if (value !== this._def) {
|
|
1176
|
-
this._remove();
|
|
1177
|
-
this._def = value;
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
constructor(_googleMaps, _googleMapsControls) {
|
|
1181
|
-
this._googleMaps = _googleMaps;
|
|
1182
|
-
this._googleMapsControls = _googleMapsControls;
|
|
1183
|
-
this._ngUnsubscribe = new Subject();
|
|
1184
|
-
}
|
|
1185
|
-
/** @ignore */
|
|
1186
|
-
ngOnInit() {
|
|
1187
|
-
this._googleMaps.mapReady$.pipe(tap(ready => {
|
|
1188
|
-
if (ready) {
|
|
1189
|
-
this._add();
|
|
1190
|
-
}
|
|
1191
|
-
else {
|
|
1192
|
-
this._remove();
|
|
1193
|
-
}
|
|
1194
|
-
}), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1195
|
-
}
|
|
1196
|
-
/** @ignore */
|
|
1197
|
-
ngOnDestroy() {
|
|
1198
|
-
this._remove();
|
|
1199
|
-
this._ngUnsubscribe.next();
|
|
1200
|
-
this._ngUnsubscribe.complete();
|
|
1201
|
-
}
|
|
1202
|
-
_add() {
|
|
1203
|
-
if (this._controlRef) {
|
|
1204
|
-
return;
|
|
1205
|
-
}
|
|
1206
|
-
if (this._def === null || this._def === undefined) {
|
|
1207
|
-
return;
|
|
1208
|
-
}
|
|
1209
|
-
this._controlRef = this._googleMapsControls.add(this._def);
|
|
1210
|
-
}
|
|
1211
|
-
_remove() {
|
|
1212
|
-
var _a;
|
|
1213
|
-
(_a = this._controlRef) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
1214
|
-
this._controlRef = undefined;
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
TheSeamMapsControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamMapsControlComponent, deps: [{ token: GoogleMapsService }, { token: MAP_CONTROLS_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
|
|
1218
|
-
TheSeamMapsControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: TheSeamMapsControlComponent, selector: "seam-map-control", inputs: { def: "def" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamMapsControlComponent, decorators: [{
|
|
1220
|
-
type: Component,
|
|
1221
|
-
args: [{
|
|
1222
|
-
selector: 'seam-map-control',
|
|
1223
|
-
template: '',
|
|
1224
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1225
|
-
}]
|
|
1226
|
-
}], ctorParameters: function () {
|
|
1227
|
-
return [{ type: GoogleMapsService }, { type: GoogleMapsControlsService, decorators: [{
|
|
1228
|
-
type: Inject,
|
|
1229
|
-
args: [MAP_CONTROLS_SERVICE]
|
|
1230
|
-
}] }];
|
|
1231
|
-
}, propDecorators: { def: [{
|
|
1232
|
-
type: Input
|
|
1233
|
-
}] } });
|
|
1234
|
-
|
|
1235
|
-
class TheSeamGoogleMapsComponentBase {
|
|
1236
|
-
constructor(_elementRef) {
|
|
1237
|
-
this._elementRef = _elementRef;
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
const _TheSeamGoogleMapsMixinBase = mixinDisabled(TheSeamGoogleMapsComponentBase);
|
|
1241
|
-
/**
|
|
1242
|
-
* A wrapper for googlemap.
|
|
1243
|
-
*/
|
|
1244
|
-
class TheSeamGoogleMapsComponent extends _TheSeamGoogleMapsMixinBase {
|
|
1245
|
-
set value(value) {
|
|
1246
|
-
this._mapValueManager.setValue(value, MapValueSource.Input);
|
|
1247
|
-
}
|
|
1248
|
-
get value() {
|
|
1249
|
-
return this._mapValueManager.value;
|
|
1250
|
-
}
|
|
1251
|
-
set tabIndex(value) { this._tabIndex = coerceNumberProperty(value); }
|
|
1252
|
-
get tabIndex() { return this._tabIndex; }
|
|
1253
|
-
set fileImportHandler(value) {
|
|
1254
|
-
this._googleMaps.setFileInputHandler(value);
|
|
1255
|
-
}
|
|
1256
|
-
get _attrDisabled() { return this.disabled || null; }
|
|
1257
|
-
get _attrTabIndex() { return this.disabled ? -1 : (this.tabIndex || 0); }
|
|
1258
|
-
constructor(elementRef, _focusMonitor, _googleMaps, _mapValueManager, _googleMapsApiLoader) {
|
|
1259
|
-
super(elementRef);
|
|
1260
|
-
this.elementRef = elementRef;
|
|
1261
|
-
this._focusMonitor = _focusMonitor;
|
|
1262
|
-
this._googleMaps = _googleMaps;
|
|
1263
|
-
this._mapValueManager = _mapValueManager;
|
|
1264
|
-
this._googleMapsApiLoader = _googleMapsApiLoader;
|
|
1265
|
-
this._ngUnsubscribe = new Subject();
|
|
1266
|
-
this._fileUploadControlDef = {
|
|
1267
|
-
component: TheSeamGoogleMapsUploadButtonControlComponent,
|
|
1268
|
-
data: { label: 'Import Geo File', icon: faFileImport },
|
|
1269
|
-
position: 6 /* google.maps.ControlPosition.LEFT_BOTTOM */,
|
|
1270
|
-
};
|
|
1271
|
-
this._reCenterControlDef = {
|
|
1272
|
-
component: TheSeamGoogleMapsRecenterButtonControlComponent,
|
|
1273
|
-
data: { label: 'Center on Field', icon: faCrosshairs },
|
|
1274
|
-
position: 9 /* google.maps.ControlPosition.RIGHT_BOTTOM */,
|
|
1275
|
-
};
|
|
1276
|
-
this._focusOrigin = null;
|
|
1277
|
-
/**
|
|
1278
|
-
* Set the tab index to `-1` to allow the root element of the
|
|
1279
|
-
* component to receive `focus` event from javascript, but not get focused by
|
|
1280
|
-
* keyboard navigation.
|
|
1281
|
-
*/
|
|
1282
|
-
this._tabIndex = -1;
|
|
1283
|
-
this.fileDropEnabled = true;
|
|
1284
|
-
this.fileUploadControlEnabled = false;
|
|
1285
|
-
this.fullscreenControlEnabled = true;
|
|
1286
|
-
this.reCenterControlEnabled = true;
|
|
1287
|
-
this.mapTypeControlEnabled = true;
|
|
1288
|
-
this.streetViewControlEnabled = false;
|
|
1289
|
-
this.allowDrawingHoleInPolygon = false;
|
|
1290
|
-
this.editingEnabled = true;
|
|
1291
|
-
this.zoom = 14;
|
|
1292
|
-
this.longitude = -98.570209;
|
|
1293
|
-
this.latitude = 37.633814;
|
|
1294
|
-
this.padding = 0;
|
|
1295
|
-
this.mapReady = new EventEmitter();
|
|
1296
|
-
this._options = {
|
|
1297
|
-
mapTypeControl: true,
|
|
1298
|
-
mapTypeId: 'hybrid',
|
|
1299
|
-
streetViewControl: false,
|
|
1300
|
-
fullscreenControl: this.fullscreenControlEnabled,
|
|
1301
|
-
};
|
|
1302
|
-
this._focusMonitor.monitor(this._elementRef, true).pipe(tap(origin => { this._focusOrigin = origin; }), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1303
|
-
this._mapValueManager.valueChanged.pipe(tap(change => {
|
|
1304
|
-
if (this.onChange) {
|
|
1305
|
-
this.onChange(change.value);
|
|
1306
|
-
}
|
|
1307
|
-
if (this.onTouched) {
|
|
1308
|
-
this.onTouched();
|
|
1309
|
-
}
|
|
1310
|
-
}), tap(changed => {
|
|
1311
|
-
if (this._googleMaps.mapReady && changed.source !== MapValueSource.FeatureChange) {
|
|
1312
|
-
this._googleMaps.setData(changed.value);
|
|
1313
|
-
}
|
|
1314
|
-
}), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1315
|
-
this._contextMenuItems$ = this._googleMaps.editingEnabled$.pipe(map(enabled => {
|
|
1316
|
-
const items = [];
|
|
1317
|
-
if (enabled) {
|
|
1318
|
-
items.push({ label: 'Delete', action: () => this._onClickDeleteFeature() });
|
|
1319
|
-
}
|
|
1320
|
-
return items;
|
|
1321
|
-
}), tap(items => {
|
|
1322
|
-
if (items.length === 0) {
|
|
1323
|
-
this._googleMaps.setFeatureContextMenu(null);
|
|
1324
|
-
}
|
|
1325
|
-
else {
|
|
1326
|
-
this._googleMaps.setFeatureContextMenu(this.featureContextMenu);
|
|
1327
|
-
}
|
|
1328
|
-
}));
|
|
1329
|
-
this._googleMaps.setBaseLatLng(this.latitude, this.longitude);
|
|
1330
|
-
this._googleMaps.setPadding(this.padding);
|
|
1331
|
-
this._gmApiLoaded = this._googleMapsApiLoader.load().pipe(map(() => true), catchError(() => of(false)));
|
|
1332
|
-
}
|
|
1333
|
-
ngOnInit() {
|
|
1334
|
-
fromEvent(window, 'keydown').pipe(tap((event) => {
|
|
1335
|
-
switch (event.code) {
|
|
1336
|
-
case 'Delete':
|
|
1337
|
-
if (this._googleMaps.isEditingEnabled()) {
|
|
1338
|
-
this._googleMaps.deleteSelection();
|
|
1339
|
-
event.preventDefault();
|
|
1340
|
-
event.stopPropagation();
|
|
1341
|
-
}
|
|
1342
|
-
break;
|
|
1343
|
-
case 'Escape':
|
|
1344
|
-
this._googleMaps.stopDrawing();
|
|
1345
|
-
event.preventDefault();
|
|
1346
|
-
event.stopPropagation();
|
|
1347
|
-
break;
|
|
1348
|
-
case 'ContextMenu':
|
|
1349
|
-
this._googleMaps.openContextMenu();
|
|
1350
|
-
event.preventDefault();
|
|
1351
|
-
event.stopPropagation();
|
|
1352
|
-
break;
|
|
1353
|
-
}
|
|
1354
|
-
}), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1355
|
-
}
|
|
1356
|
-
ngOnDestroy() {
|
|
1357
|
-
this._focusMonitor.stopMonitoring(this._elementRef);
|
|
1358
|
-
this._ngUnsubscribe.next();
|
|
1359
|
-
this._ngUnsubscribe.complete();
|
|
1360
|
-
}
|
|
1361
|
-
ngOnChanges(changes) {
|
|
1362
|
-
let updateBase = false;
|
|
1363
|
-
if (Object.prototype.hasOwnProperty.call(changes, 'latitude')) {
|
|
1364
|
-
this.latitude = changes.latitude.currentValue;
|
|
1365
|
-
updateBase = true;
|
|
1366
|
-
}
|
|
1367
|
-
if (Object.prototype.hasOwnProperty.call(changes, 'longitude')) {
|
|
1368
|
-
this.longitude = changes.longitude.currentValue;
|
|
1369
|
-
updateBase = true;
|
|
1370
|
-
}
|
|
1371
|
-
if (updateBase) {
|
|
1372
|
-
this._googleMaps.setBaseLatLng(this.latitude, this.longitude);
|
|
1373
|
-
}
|
|
1374
|
-
if (Object.prototype.hasOwnProperty.call(changes, 'allowDrawingHoleInPolygon')) {
|
|
1375
|
-
this._googleMaps.allowDrawingHoleInPolygon(this.allowDrawingHoleInPolygon);
|
|
1376
|
-
}
|
|
1377
|
-
if (Object.prototype.hasOwnProperty.call(changes, 'fullscreenControlEnabled')) {
|
|
1378
|
-
const fullscreenControl = coerceBooleanProperty(changes.fullscreenControlEnabled.currentValue);
|
|
1379
|
-
if (fullscreenControl !== this._options.fullscreenControl) {
|
|
1380
|
-
this._options = Object.assign(Object.assign({}, this._options), { fullscreenControl });
|
|
1381
|
-
}
|
|
1382
|
-
}
|
|
1383
|
-
if (Object.prototype.hasOwnProperty.call(changes, 'editingEnabled')) {
|
|
1384
|
-
this._googleMaps.setEditingEnabled(this.editingEnabled);
|
|
1385
|
-
}
|
|
1386
|
-
if (Object.prototype.hasOwnProperty.call(changes, 'padding')) {
|
|
1387
|
-
this._googleMaps.setPadding(this.padding);
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
writeValue(value) {
|
|
1391
|
-
this.value = value;
|
|
1392
|
-
}
|
|
1393
|
-
registerOnChange(fn) {
|
|
1394
|
-
this.onChange = fn;
|
|
1395
|
-
}
|
|
1396
|
-
registerOnTouched(fn) {
|
|
1397
|
-
this.onTouched = fn;
|
|
1398
|
-
}
|
|
1399
|
-
setDisabledState(isDisabled) {
|
|
1400
|
-
this.disabled = isDisabled;
|
|
1401
|
-
}
|
|
1402
|
-
fitBounds(bounds, padding) {
|
|
1403
|
-
this._googleMaps.fitBounds(bounds, padding);
|
|
1404
|
-
}
|
|
1405
|
-
getGeoJson() {
|
|
1406
|
-
return this._googleMaps.getGeoJson();
|
|
1407
|
-
}
|
|
1408
|
-
hasFocus() {
|
|
1409
|
-
return this._focusOrigin !== null && this._focusOrigin !== undefined;
|
|
1410
|
-
}
|
|
1411
|
-
/** Focuses the button. */
|
|
1412
|
-
focus() {
|
|
1413
|
-
this._getHostElement().focus();
|
|
1414
|
-
}
|
|
1415
|
-
_getHostElement() {
|
|
1416
|
-
return this._elementRef.nativeElement;
|
|
1417
|
-
}
|
|
1418
|
-
_onMapReady(theMap) {
|
|
1419
|
-
var _a;
|
|
1420
|
-
this._googleMaps.setMap(theMap);
|
|
1421
|
-
this._googleMaps.setData(this._mapValueManager.value);
|
|
1422
|
-
// NOTE: The input zoom level was getting reset after this function ran,
|
|
1423
|
-
// so putting in this idle listener to wait until the map is fully rendered
|
|
1424
|
-
// to set the zoom.
|
|
1425
|
-
// Calling reCenterOnFeatures() after setZoom() ensures that maps with pre-drawn shapes
|
|
1426
|
-
// will display correctly
|
|
1427
|
-
this.idleListener = (_a = this._googleMaps.googleMap) === null || _a === void 0 ? void 0 : _a.addListener('idle', () => {
|
|
1428
|
-
var _a, _b;
|
|
1429
|
-
(_a = this._googleMaps.googleMap) === null || _a === void 0 ? void 0 : _a.setZoom(this.zoom);
|
|
1430
|
-
this._googleMaps.reCenterOnFeatures();
|
|
1431
|
-
this.mapReady.emit(this._googleMaps.googleMap);
|
|
1432
|
-
(_b = this.idleListener) === null || _b === void 0 ? void 0 : _b.remove();
|
|
1433
|
-
});
|
|
1434
|
-
}
|
|
1435
|
-
_onClickDeleteFeature() {
|
|
1436
|
-
this._googleMaps.deleteSelection();
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
TheSeamGoogleMapsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsComponent, deps: [{ token: i0.ElementRef }, { token: i1.FocusMonitor }, { token: GoogleMapsService }, { token: MapValueManagerService }, { token: TheSeamGoogleMapsApiLoader }], target: i0.ɵɵFactoryTarget.Component });
|
|
1440
|
-
TheSeamGoogleMapsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", 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", editingEnabled: "editingEnabled", fileImportHandler: "fileImportHandler", zoom: "zoom", longitude: "longitude", latitude: "latitude", padding: "padding" }, outputs: { mapReady: "mapReady" }, host: { properties: { "attr.disabled": "this._attrDisabled", "attr.tabindex": "this._attrTabIndex" } }, providers: [
|
|
1441
|
-
MapValueManagerService,
|
|
1442
|
-
GoogleMapsService,
|
|
1443
|
-
{ provide: MAP_CONTROLS_SERVICE, useClass: GoogleMapsControlsService },
|
|
1444
|
-
{
|
|
1445
|
-
provide: NG_VALUE_ACCESSOR,
|
|
1446
|
-
// eslint-disable-next-line no-use-before-define
|
|
1447
|
-
useExisting: forwardRef(() => TheSeamGoogleMapsComponent),
|
|
1448
|
-
multi: true,
|
|
1449
|
-
},
|
|
1450
|
-
], viewQueries: [{ propertyName: "featureContextMenu", first: true, predicate: ["featureContextMenu"], descendants: true, read: MenuComponent, static: true }], exportAs: ["seamGoogleMaps"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"_gmApiLoaded | async\">\n <google-map\n height=\"100%\"\n width=\"100%\"\n [center]=\"{ lat: latitude, lng: longitude }\"\n [zoom]=\"zoom\"\n [options]=\"_options\"\n (mapInitialized)=\"_onMapReady($any($event))\"\n >\n </google-map>\n</ng-container>\n<seam-menu #featureContextMenu>\n <button seamMenuItem *ngFor=\"let item of _contextMenuItems$ | async\" (click)=\"item.action(item)\">{{ item.label }}</button>\n</seam-menu>\n<seam-map-file-drop *ngIf=\"fileDropEnabled\"></seam-map-file-drop>\n\n<seam-map-control *ngIf=\"fileUploadControlEnabled\" [def]=\"_fileUploadControlDef\"></seam-map-control>\n<seam-map-control *ngIf=\"reCenterControlEnabled\" [def]=\"_reCenterControlDef\"></seam-map-control>\n", styles: [":host{display:block;position:relative;height:400px;width:100%}:host.show-focus-border.cdk-focused{outline:0;box-shadow:0 0 0 .2rem #357ebd40}:host.show-focus-border[disabled]{opacity:.65}\n"], dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.MenuComponent, selector: "seam-menu", inputs: ["menuClass", "baseWidth", "animationType"], outputs: ["closed"], exportAs: ["seamMenu"] }, { kind: "component", type: i6.MenuItemComponent, selector: "[seamMenuItem]", inputs: ["disabled", "role", "icon", "iconClass", "sublevelIcon", "subLevelIconClass", "badgeText", "badgeTheme"], exportAs: ["seamMenuItem"] }, { kind: "component", type: i7.GoogleMap, selector: "google-map", inputs: ["height", "width", "mapTypeId", "center", "zoom", "options"], outputs: ["mapInitialized", "authFailure", "boundsChanged", "centerChanged", "mapClick", "mapDblclick", "mapDrag", "mapDragend", "mapDragstart", "headingChanged", "idle", "maptypeidChanged", "mapMousemove", "mapMouseout", "mapMouseover", "projectionChanged", "mapRightclick", "tilesloaded", "tiltChanged", "zoomChanged"], exportAs: ["googleMap"] }, { kind: "component", type: TheSeamMapFileDropComponent, selector: "seam-map-file-drop" }, { kind: "component", type: TheSeamMapsControlComponent, selector: "seam-map-control", inputs: ["def"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1451
|
-
__decorate([
|
|
1452
|
-
InputBoolean()
|
|
1453
|
-
], TheSeamGoogleMapsComponent.prototype, "fileDropEnabled", void 0);
|
|
1454
|
-
__decorate([
|
|
1455
|
-
InputBoolean()
|
|
1456
|
-
], TheSeamGoogleMapsComponent.prototype, "fileUploadControlEnabled", void 0);
|
|
1457
|
-
__decorate([
|
|
1458
|
-
InputBoolean()
|
|
1459
|
-
], TheSeamGoogleMapsComponent.prototype, "fullscreenControlEnabled", void 0);
|
|
1460
|
-
__decorate([
|
|
1461
|
-
InputBoolean()
|
|
1462
|
-
], TheSeamGoogleMapsComponent.prototype, "reCenterControlEnabled", void 0);
|
|
1463
|
-
__decorate([
|
|
1464
|
-
InputBoolean()
|
|
1465
|
-
], TheSeamGoogleMapsComponent.prototype, "mapTypeControlEnabled", void 0);
|
|
1466
|
-
__decorate([
|
|
1467
|
-
InputBoolean()
|
|
1468
|
-
], TheSeamGoogleMapsComponent.prototype, "streetViewControlEnabled", void 0);
|
|
1469
|
-
__decorate([
|
|
1470
|
-
InputBoolean()
|
|
1471
|
-
], TheSeamGoogleMapsComponent.prototype, "allowDrawingHoleInPolygon", void 0);
|
|
1472
|
-
__decorate([
|
|
1473
|
-
InputBoolean()
|
|
1474
|
-
], TheSeamGoogleMapsComponent.prototype, "editingEnabled", void 0);
|
|
1475
|
-
__decorate([
|
|
1476
|
-
InputNumber()
|
|
1477
|
-
], TheSeamGoogleMapsComponent.prototype, "zoom", void 0);
|
|
1478
|
-
__decorate([
|
|
1479
|
-
InputNumber()
|
|
1480
|
-
], TheSeamGoogleMapsComponent.prototype, "longitude", void 0);
|
|
1481
|
-
__decorate([
|
|
1482
|
-
InputNumber()
|
|
1483
|
-
], TheSeamGoogleMapsComponent.prototype, "latitude", void 0);
|
|
1484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsComponent, decorators: [{
|
|
1485
|
-
type: Component,
|
|
1486
|
-
args: [{ selector: 'seam-google-maps', inputs: [
|
|
1487
|
-
'disabled',
|
|
1488
|
-
], providers: [
|
|
1489
|
-
MapValueManagerService,
|
|
1490
|
-
GoogleMapsService,
|
|
1491
|
-
{ provide: MAP_CONTROLS_SERVICE, useClass: GoogleMapsControlsService },
|
|
1492
|
-
{
|
|
1493
|
-
provide: NG_VALUE_ACCESSOR,
|
|
1494
|
-
// eslint-disable-next-line no-use-before-define
|
|
1495
|
-
useExisting: forwardRef(() => TheSeamGoogleMapsComponent),
|
|
1496
|
-
multi: true,
|
|
1497
|
-
},
|
|
1498
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'seamGoogleMaps', template: "<ng-container *ngIf=\"_gmApiLoaded | async\">\n <google-map\n height=\"100%\"\n width=\"100%\"\n [center]=\"{ lat: latitude, lng: longitude }\"\n [zoom]=\"zoom\"\n [options]=\"_options\"\n (mapInitialized)=\"_onMapReady($any($event))\"\n >\n </google-map>\n</ng-container>\n<seam-menu #featureContextMenu>\n <button seamMenuItem *ngFor=\"let item of _contextMenuItems$ | async\" (click)=\"item.action(item)\">{{ item.label }}</button>\n</seam-menu>\n<seam-map-file-drop *ngIf=\"fileDropEnabled\"></seam-map-file-drop>\n\n<seam-map-control *ngIf=\"fileUploadControlEnabled\" [def]=\"_fileUploadControlDef\"></seam-map-control>\n<seam-map-control *ngIf=\"reCenterControlEnabled\" [def]=\"_reCenterControlDef\"></seam-map-control>\n", styles: [":host{display:block;position:relative;height:400px;width:100%}:host.show-focus-border.cdk-focused{outline:0;box-shadow:0 0 0 .2rem #357ebd40}:host.show-focus-border[disabled]{opacity:.65}\n"] }]
|
|
1499
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: GoogleMapsService }, { type: MapValueManagerService }, { type: TheSeamGoogleMapsApiLoader }]; }, propDecorators: { value: [{
|
|
1500
|
-
type: Input
|
|
1501
|
-
}], tabIndex: [{
|
|
1502
|
-
type: Input
|
|
1503
|
-
}], fileDropEnabled: [{
|
|
1504
|
-
type: Input
|
|
1505
|
-
}], fileUploadControlEnabled: [{
|
|
1506
|
-
type: Input
|
|
1507
|
-
}], fullscreenControlEnabled: [{
|
|
1508
|
-
type: Input
|
|
1509
|
-
}], reCenterControlEnabled: [{
|
|
1510
|
-
type: Input
|
|
1511
|
-
}], mapTypeControlEnabled: [{
|
|
1512
|
-
type: Input
|
|
1513
|
-
}], streetViewControlEnabled: [{
|
|
1514
|
-
type: Input
|
|
1515
|
-
}], allowDrawingHoleInPolygon: [{
|
|
1516
|
-
type: Input
|
|
1517
|
-
}], editingEnabled: [{
|
|
1518
|
-
type: Input
|
|
1519
|
-
}], fileImportHandler: [{
|
|
1520
|
-
type: Input
|
|
1521
|
-
}], _attrDisabled: [{
|
|
1522
|
-
type: HostBinding,
|
|
1523
|
-
args: ['attr.disabled']
|
|
1524
|
-
}], _attrTabIndex: [{
|
|
1525
|
-
type: HostBinding,
|
|
1526
|
-
args: ['attr.tabindex']
|
|
1527
|
-
}], zoom: [{
|
|
1528
|
-
type: Input
|
|
1529
|
-
}], longitude: [{
|
|
1530
|
-
type: Input
|
|
1531
|
-
}], latitude: [{
|
|
1532
|
-
type: Input
|
|
1533
|
-
}], padding: [{
|
|
1534
|
-
type: Input
|
|
1535
|
-
}], mapReady: [{
|
|
1536
|
-
type: Output
|
|
1537
|
-
}], featureContextMenu: [{
|
|
1538
|
-
type: ViewChild,
|
|
1539
|
-
args: ['featureContextMenu', { static: true, read: MenuComponent }]
|
|
1540
|
-
}] } });
|
|
1541
|
-
|
|
1542
|
-
const SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS = {
|
|
1543
|
-
componentRestrictions: { country: 'US' }
|
|
1544
|
-
};
|
|
1545
|
-
class TheSeamGoogleMapsPlacesAutocompleteDirective {
|
|
1546
|
-
set options(value) {
|
|
1547
|
-
this._options = value || SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
|
|
1548
|
-
}
|
|
1549
|
-
constructor(_elementRef, _ngZone) {
|
|
1550
|
-
this._elementRef = _elementRef;
|
|
1551
|
-
this._ngZone = _ngZone;
|
|
1552
|
-
this._autoCompleteReadySubject = new Subject();
|
|
1553
|
-
this._ngUnsubscribe = new Subject();
|
|
1554
|
-
this._placeChangedPending = [];
|
|
1555
|
-
this._listeners = [];
|
|
1556
|
-
this._options = SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
|
|
1557
|
-
this._attrType = 'text';
|
|
1558
|
-
this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
|
|
1559
|
-
}
|
|
1560
|
-
ngOnInit() {
|
|
1561
|
-
this._ngZone.runOutsideAngular(() => {
|
|
1562
|
-
this._untilGoogleMapsApiLoaded().pipe(takeUntil(this._ngUnsubscribe)).subscribe(() => {
|
|
1563
|
-
this.autoComplete = new google.maps.places.Autocomplete(this.getHostElement(), this._options);
|
|
1564
|
-
this._placeChangedPending.forEach(pending => pending.observable.subscribe(pending.subscriber));
|
|
1565
|
-
this._autoCompleteReadySubject.next(undefined);
|
|
1566
|
-
});
|
|
1567
|
-
});
|
|
1568
|
-
}
|
|
1569
|
-
ngOnDestroy() {
|
|
1570
|
-
this._listeners.forEach(l => l.remove());
|
|
1571
|
-
this._listeners = [];
|
|
1572
|
-
this._ngUnsubscribe.next(undefined);
|
|
1573
|
-
this._ngUnsubscribe.complete();
|
|
1574
|
-
}
|
|
1575
|
-
ngOnChanges(changes) {
|
|
1576
|
-
if (this.autoComplete && changes['options']) {
|
|
1577
|
-
this.autoComplete.setOptions(this._options);
|
|
1578
|
-
}
|
|
1579
|
-
}
|
|
1580
|
-
_untilGoogleMapsApiLoaded() {
|
|
1581
|
-
return interval(500).pipe(filter(() => !!(window.google && window.google.maps && window.google.maps.version)), take(1), mapTo(undefined));
|
|
1582
|
-
}
|
|
1583
|
-
/**
|
|
1584
|
-
* Returns the bounds to which predictions are biased.
|
|
1585
|
-
*/
|
|
1586
|
-
getBounds() {
|
|
1587
|
-
this._assertInitialized();
|
|
1588
|
-
return this.autoComplete.getBounds();
|
|
1589
|
-
}
|
|
1590
|
-
/**
|
|
1591
|
-
* Returns the fields to be included for the Place in the details response
|
|
1592
|
-
* when the details are successfully retrieved. For a list of fields see
|
|
1593
|
-
* [PlaceResult](https://developers.google.com/maps/documentation/javascript/reference/places-service#PlaceResult).
|
|
1594
|
-
*/
|
|
1595
|
-
getFields() {
|
|
1596
|
-
this._assertInitialized();
|
|
1597
|
-
return this.autoComplete.getFields();
|
|
1598
|
-
}
|
|
1599
|
-
/**
|
|
1600
|
-
* Returns the details of the Place selected by user if the details were
|
|
1601
|
-
* successfully retrieved. Otherwise returns a stub Place object, with the
|
|
1602
|
-
* name property set to the current value of the input field.
|
|
1603
|
-
*/
|
|
1604
|
-
getPlace() {
|
|
1605
|
-
this._assertInitialized();
|
|
1606
|
-
return this.autoComplete.getPlace();
|
|
1607
|
-
}
|
|
1608
|
-
/**
|
|
1609
|
-
* Sets the preferred area within which to return Place results. Results are
|
|
1610
|
-
* biased towards, but not restricted to, this area.
|
|
1611
|
-
*/
|
|
1612
|
-
setBounds(bounds) {
|
|
1613
|
-
this._assertInitialized();
|
|
1614
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1615
|
-
return this.autoComplete.setBounds(bounds);
|
|
1616
|
-
}
|
|
1617
|
-
/**
|
|
1618
|
-
* Sets the component restrictions. Component restrictions are used to
|
|
1619
|
-
* restrict predictions to only those within the parent component. For
|
|
1620
|
-
* example, the country.
|
|
1621
|
-
*/
|
|
1622
|
-
setComponentRestrictions(restrictions) {
|
|
1623
|
-
this._assertInitialized();
|
|
1624
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1625
|
-
return this.autoComplete.setComponentRestrictions(restrictions);
|
|
1626
|
-
}
|
|
1627
|
-
/**
|
|
1628
|
-
* Sets the fields to be included for the Place in the details response when
|
|
1629
|
-
* the details are successfully retrieved. For a list of fields see
|
|
1630
|
-
* [PlaceResult](https://developers.google.com/maps/documentation/javascript/reference/places-service#PlaceResult).
|
|
1631
|
-
*/
|
|
1632
|
-
setFields(fields) {
|
|
1633
|
-
this._assertInitialized();
|
|
1634
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1635
|
-
return this.autoComplete.setFields(fields);
|
|
1636
|
-
}
|
|
1637
|
-
/** */
|
|
1638
|
-
setOptions(options) {
|
|
1639
|
-
this._assertInitialized();
|
|
1640
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1641
|
-
return this.autoComplete.setOptions(options);
|
|
1642
|
-
}
|
|
1643
|
-
/**
|
|
1644
|
-
* Sets the types of predictions to be returned. For supported types, see the
|
|
1645
|
-
* [developer's guide](https://developers.google.com/maps/documentation/javascript/places-autocomplete#constrain-place-types).
|
|
1646
|
-
* If no types are specified, all types will be returned.
|
|
1647
|
-
*/
|
|
1648
|
-
setTypes(types) {
|
|
1649
|
-
this._assertInitialized();
|
|
1650
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1651
|
-
return this.autoComplete.setTypes(types);
|
|
1652
|
-
}
|
|
1653
|
-
/** Focuses the input. */
|
|
1654
|
-
focus() {
|
|
1655
|
-
this._elementRef.nativeElement.focus();
|
|
1656
|
-
}
|
|
1657
|
-
/** Unfocuses the input. */
|
|
1658
|
-
blur() {
|
|
1659
|
-
this._elementRef.nativeElement.blur();
|
|
1660
|
-
}
|
|
1661
|
-
getHostElement() {
|
|
1662
|
-
return this._elementRef.nativeElement;
|
|
1663
|
-
}
|
|
1664
|
-
_createPlaceChangedObservable() {
|
|
1665
|
-
const observable = new Observable(subscriber => {
|
|
1666
|
-
if (!this.autoComplete) {
|
|
1667
|
-
this._placeChangedPending.push({ observable, subscriber });
|
|
1668
|
-
return undefined;
|
|
1669
|
-
}
|
|
1670
|
-
const listener = this.autoComplete.addListener('place_changed', (event) => {
|
|
1671
|
-
this._ngZone.run(() => subscriber.next(event));
|
|
1672
|
-
});
|
|
1673
|
-
this._listeners.push(listener);
|
|
1674
|
-
return () => listener.remove();
|
|
1675
|
-
});
|
|
1676
|
-
return observable;
|
|
1677
|
-
}
|
|
1678
|
-
/** Asserts that the map has been initialized. */
|
|
1679
|
-
_assertInitialized() {
|
|
1680
|
-
if (!this.autoComplete && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
1681
|
-
throw Error('Cannot access Google Map Places information before the API has been initialized. ' +
|
|
1682
|
-
'Please wait for the API to load before trying to interact with it.');
|
|
1683
|
-
}
|
|
1684
|
-
}
|
|
1685
|
-
}
|
|
1686
|
-
TheSeamGoogleMapsPlacesAutocompleteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsPlacesAutocompleteDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1687
|
-
TheSeamGoogleMapsPlacesAutocompleteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: TheSeamGoogleMapsPlacesAutocompleteDirective, selector: "input[seamGoogleMapsPlacesAutocomplete]", inputs: { options: "options" }, outputs: { placeChanged: "placeChanged" }, host: { properties: { "attr.type": "this._attrType" } }, exportAs: ["seamGoogleMapsPlacesAutocomplete"], usesOnChanges: true, ngImport: i0 });
|
|
1688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsPlacesAutocompleteDirective, decorators: [{
|
|
1689
|
-
type: Directive,
|
|
1690
|
-
args: [{
|
|
1691
|
-
selector: 'input[seamGoogleMapsPlacesAutocomplete]',
|
|
1692
|
-
exportAs: 'seamGoogleMapsPlacesAutocomplete'
|
|
1693
|
-
}]
|
|
1694
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { options: [{
|
|
1695
|
-
type: Input
|
|
1696
|
-
}], placeChanged: [{
|
|
1697
|
-
type: Output
|
|
1698
|
-
}], _attrType: [{
|
|
1699
|
-
type: HostBinding,
|
|
1700
|
-
args: ['attr.type']
|
|
1701
|
-
}] } });
|
|
1702
|
-
|
|
1703
|
-
/**
|
|
1704
|
-
*
|
|
1705
|
-
*/
|
|
1706
|
-
class TheSeamGoogleMapsPlacesAutoCompleteComponent {
|
|
1707
|
-
/**
|
|
1708
|
-
* Set the tab index to `-1` to allow the root element of the
|
|
1709
|
-
* component to receive `focus` event from javascript, but not get focused by
|
|
1710
|
-
* keyboard navigation.
|
|
1711
|
-
*/
|
|
1712
|
-
set tabIndex(value) { this._tabIndex = coerceNumberProperty(value); }
|
|
1713
|
-
get tabIndex() { return this._tabIndex; }
|
|
1714
|
-
set options(value) {
|
|
1715
|
-
this._options = value || SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
|
|
1716
|
-
}
|
|
1717
|
-
set __autocompleteDirective(value) {
|
|
1718
|
-
this._autoCompleteDirective = value;
|
|
1719
|
-
this._untilAutoCompleteReady().pipe(takeUntil(this._ngUnsubscribe)).subscribe(() => {
|
|
1720
|
-
this.autoComplete = this._autoCompleteDirective.autoComplete;
|
|
1721
|
-
this._placeChangedPending.forEach(pending => pending.observable.subscribe(pending.subscriber));
|
|
1722
|
-
this._placeChangedPending = [];
|
|
1723
|
-
});
|
|
1724
|
-
}
|
|
1725
|
-
get _attrTabIndex() { return this.disabled ? -1 : (this.tabIndex || 0); }
|
|
1726
|
-
_onClick(event) {
|
|
1727
|
-
this._inputDirective.focus();
|
|
1728
|
-
}
|
|
1729
|
-
_onFocus() {
|
|
1730
|
-
var _a;
|
|
1731
|
-
(_a = this._inputDirective) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1732
|
-
}
|
|
1733
|
-
constructor(_elementRef) {
|
|
1734
|
-
this._elementRef = _elementRef;
|
|
1735
|
-
this._ngUnsubscribe = new Subject();
|
|
1736
|
-
this._autoCompleteReadySubject = new Subject();
|
|
1737
|
-
this._placeChangedPending = [];
|
|
1738
|
-
this.label = 'Search by address, place or name';
|
|
1739
|
-
this.icon = faSearchLocation;
|
|
1740
|
-
this.disabled = false;
|
|
1741
|
-
this.placeholder = 'Enter address, place or name';
|
|
1742
|
-
this.autocorrect = 'off';
|
|
1743
|
-
this.autocapitalize = 'off';
|
|
1744
|
-
this._tabIndex = -1;
|
|
1745
|
-
this._options = SEAM_GOOGLE_PLACES_AUTOCOMPLETE_DEFAULT_OPTIONS;
|
|
1746
|
-
this.placeChanged = this._autoCompleteReadySubject.pipe(startWith(undefined), switchMap(() => this._createPlaceChangedObservable()));
|
|
1747
|
-
}
|
|
1748
|
-
/** @ignore */
|
|
1749
|
-
ngOnDestroy() {
|
|
1750
|
-
this._ngUnsubscribe.next();
|
|
1751
|
-
this._ngUnsubscribe.complete();
|
|
1752
|
-
}
|
|
1753
|
-
_untilAutoCompleteReady() {
|
|
1754
|
-
return interval(500).pipe(filter(() => !!this._autoCompleteDirective.autoComplete), take(1), mapTo(undefined));
|
|
1755
|
-
}
|
|
1756
|
-
/**
|
|
1757
|
-
* Returns the bounds to which predictions are biased.
|
|
1758
|
-
*/
|
|
1759
|
-
getBounds() {
|
|
1760
|
-
this._assertInitialized();
|
|
1761
|
-
return this.autoComplete.getBounds();
|
|
1762
|
-
}
|
|
1763
|
-
/**
|
|
1764
|
-
* Returns the fields to be included for the Place in the details response
|
|
1765
|
-
* when the details are successfully retrieved. For a list of fields see
|
|
1766
|
-
* [PlaceResult](https://developers.google.com/maps/documentation/javascript/reference/places-service#PlaceResult).
|
|
1767
|
-
*/
|
|
1768
|
-
getFields() {
|
|
1769
|
-
this._assertInitialized();
|
|
1770
|
-
return this.autoComplete.getFields();
|
|
1771
|
-
}
|
|
1772
|
-
/**
|
|
1773
|
-
* Returns the details of the Place selected by user if the details were
|
|
1774
|
-
* successfully retrieved. Otherwise returns a stub Place object, with the
|
|
1775
|
-
* name property set to the current value of the input field.
|
|
1776
|
-
*/
|
|
1777
|
-
getPlace() {
|
|
1778
|
-
this._assertInitialized();
|
|
1779
|
-
return this.autoComplete.getPlace();
|
|
1780
|
-
}
|
|
1781
|
-
/**
|
|
1782
|
-
* Sets the preferred area within which to return Place results. Results are
|
|
1783
|
-
* biased towards, but not restricted to, this area.
|
|
1784
|
-
*/
|
|
1785
|
-
setBounds(bounds) {
|
|
1786
|
-
this._assertInitialized();
|
|
1787
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1788
|
-
return this.autoComplete.setBounds(bounds);
|
|
1789
|
-
}
|
|
1790
|
-
/**
|
|
1791
|
-
* Sets the component restrictions. Component restrictions are used to
|
|
1792
|
-
* restrict predictions to only those within the parent component. For
|
|
1793
|
-
* example, the country.
|
|
1794
|
-
*/
|
|
1795
|
-
setComponentRestrictions(restrictions) {
|
|
1796
|
-
this._assertInitialized();
|
|
1797
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1798
|
-
return this.autoComplete.setComponentRestrictions(restrictions);
|
|
1799
|
-
}
|
|
1800
|
-
/**
|
|
1801
|
-
* Sets the fields to be included for the Place in the details response when
|
|
1802
|
-
* the details are successfully retrieved. For a list of fields see
|
|
1803
|
-
* [PlaceResult](https://developers.google.com/maps/documentation/javascript/reference/places-service#PlaceResult).
|
|
1804
|
-
*/
|
|
1805
|
-
setFields(fields) {
|
|
1806
|
-
this._assertInitialized();
|
|
1807
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1808
|
-
return this.autoComplete.setFields(fields);
|
|
1809
|
-
}
|
|
1810
|
-
/** */
|
|
1811
|
-
setOptions(options) {
|
|
1812
|
-
this._assertInitialized();
|
|
1813
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1814
|
-
return this.autoComplete.setOptions(options);
|
|
1815
|
-
}
|
|
1816
|
-
/**
|
|
1817
|
-
* Sets the types of predictions to be returned. For supported types, see the
|
|
1818
|
-
* [developer's guide](https://developers.google.com/maps/documentation/javascript/places-autocomplete#constrain-place-types).
|
|
1819
|
-
* If no types are specified, all types will be returned.
|
|
1820
|
-
*/
|
|
1821
|
-
setTypes(types) {
|
|
1822
|
-
this._assertInitialized();
|
|
1823
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1824
|
-
return this.autoComplete.setTypes(types);
|
|
1825
|
-
}
|
|
1826
|
-
/** Focuses the input. */
|
|
1827
|
-
focus() {
|
|
1828
|
-
this._elementRef.nativeElement.focus();
|
|
1829
|
-
}
|
|
1830
|
-
/** Unfocuses the input. */
|
|
1831
|
-
blur() {
|
|
1832
|
-
this._elementRef.nativeElement.blur();
|
|
1833
|
-
}
|
|
1834
|
-
getHostElement() {
|
|
1835
|
-
return this._elementRef.nativeElement;
|
|
1836
|
-
}
|
|
1837
|
-
_createPlaceChangedObservable() {
|
|
1838
|
-
const observable = new Observable(subscriber => {
|
|
1839
|
-
if (!this.autoComplete) {
|
|
1840
|
-
this._placeChangedPending.push({ observable, subscriber });
|
|
1841
|
-
return undefined;
|
|
1842
|
-
}
|
|
1843
|
-
const sub = this._autoCompleteDirective.placeChanged.subscribe(subscriber);
|
|
1844
|
-
return () => sub.unsubscribe();
|
|
1845
|
-
});
|
|
1846
|
-
return observable;
|
|
1847
|
-
}
|
|
1848
|
-
/** Asserts that the map has been initialized. */
|
|
1849
|
-
_assertInitialized() {
|
|
1850
|
-
if (!this.autoComplete && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
1851
|
-
throw Error('Cannot access Google Map Places information before the API has been initialized. ' +
|
|
1852
|
-
'Please wait for the API to load before trying to interact with it.');
|
|
1853
|
-
}
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1857
|
-
TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", 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\">\n <seam-icon [icon]=\"icon\" class=\"text-muted\" size=\"lg\"></seam-icon>\n</div>\n<label *ngIf=\"label || placeholder\" [attr.for]=\"inp.id\" class=\"sr-only\">{{ label || placeholder }}</label>\n<input #inp=\"seamInput\"\n seamInput\n seamGoogleMapsPlacesAutocomplete\n [disabled]=\"disabled\"\n [attr.placeholder]=\"placeholder\"\n [attr.autocorrect]=\"autocorrect\"\n [attr.autocapitalize]=\"autocapitalize\"\n [options]=\"_options\"\n/>\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], seam-rich-text[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 });
|
|
1858
|
-
__decorate([
|
|
1859
|
-
InputBoolean()
|
|
1860
|
-
], TheSeamGoogleMapsPlacesAutoCompleteComponent.prototype, "disabled", void 0);
|
|
1861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, decorators: [{
|
|
1862
|
-
type: Component,
|
|
1863
|
-
args: [{ selector: 'seam-google-maps-places-autocomplete', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'seamGoogleMapsPlacesAutoComplete', template: "<div *ngIf=\"icon\" class=\"search-container--icon-wrapper\">\n <seam-icon [icon]=\"icon\" class=\"text-muted\" size=\"lg\"></seam-icon>\n</div>\n<label *ngIf=\"label || placeholder\" [attr.for]=\"inp.id\" class=\"sr-only\">{{ label || placeholder }}</label>\n<input #inp=\"seamInput\"\n seamInput\n seamGoogleMapsPlacesAutocomplete\n [disabled]=\"disabled\"\n [attr.placeholder]=\"placeholder\"\n [attr.autocorrect]=\"autocorrect\"\n [attr.autocapitalize]=\"autocapitalize\"\n [options]=\"_options\"\n/>\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"] }]
|
|
1864
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { label: [{
|
|
1865
|
-
type: Input
|
|
1866
|
-
}], icon: [{
|
|
1867
|
-
type: Input
|
|
1868
|
-
}], disabled: [{
|
|
1869
|
-
type: Input
|
|
1870
|
-
}], placeholder: [{
|
|
1871
|
-
type: Input
|
|
1872
|
-
}], autocorrect: [{
|
|
1873
|
-
type: Input
|
|
1874
|
-
}], autocapitalize: [{
|
|
1875
|
-
type: Input
|
|
1876
|
-
}], tabIndex: [{
|
|
1877
|
-
type: Input
|
|
1878
|
-
}], options: [{
|
|
1879
|
-
type: Input
|
|
1880
|
-
}], placeChanged: [{
|
|
1881
|
-
type: Output
|
|
1882
|
-
}], _inputDirective: [{
|
|
1883
|
-
type: ViewChild,
|
|
1884
|
-
args: ['inp', { read: InputDirective, static: true }]
|
|
1885
|
-
}], __autocompleteDirective: [{
|
|
1886
|
-
type: ViewChild,
|
|
1887
|
-
args: [TheSeamGoogleMapsPlacesAutocompleteDirective, { static: true }]
|
|
1888
|
-
}], _attrTabIndex: [{
|
|
1889
|
-
type: HostBinding,
|
|
1890
|
-
args: ['attr.tabindex']
|
|
1891
|
-
}], _onClick: [{
|
|
1892
|
-
type: HostListener,
|
|
1893
|
-
args: ['click', ['event']]
|
|
1894
|
-
}], _onFocus: [{
|
|
1895
|
-
type: HostListener,
|
|
1896
|
-
args: ['focus', ['$event']]
|
|
1897
|
-
}] } });
|
|
1898
|
-
|
|
1899
|
-
class TheSeamGoogleMapsModule {
|
|
1900
|
-
}
|
|
1901
|
-
TheSeamGoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1902
|
-
TheSeamGoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsModule, declarations: [TheSeamGoogleMapsComponent,
|
|
1903
|
-
TheSeamMapFileDropComponent,
|
|
1904
|
-
TheSeamGoogleMapsUploadButtonControlComponent,
|
|
1905
|
-
TheSeamGoogleMapsRecenterButtonControlComponent,
|
|
1906
|
-
TheSeamMapsControlComponent,
|
|
1907
|
-
TheSeamGoogleMapsPlacesAutocompleteDirective,
|
|
1908
|
-
TheSeamGoogleMapsPlacesAutoCompleteComponent], imports: [CommonModule,
|
|
1909
|
-
ObserversModule,
|
|
1910
|
-
TheSeamSharedModule,
|
|
1911
|
-
TheSeamMenuModule,
|
|
1912
|
-
TheSeamIconModule,
|
|
1913
|
-
TheSeamFormFieldModule,
|
|
1914
|
-
GoogleMapsModule], exports: [TheSeamGoogleMapsComponent,
|
|
1915
|
-
TheSeamGoogleMapsPlacesAutocompleteDirective,
|
|
1916
|
-
TheSeamGoogleMapsPlacesAutoCompleteComponent,
|
|
1917
|
-
TheSeamMapsControlComponent] });
|
|
1918
|
-
TheSeamGoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsModule, imports: [CommonModule,
|
|
1919
|
-
ObserversModule,
|
|
1920
|
-
TheSeamSharedModule,
|
|
1921
|
-
TheSeamMenuModule,
|
|
1922
|
-
TheSeamIconModule,
|
|
1923
|
-
TheSeamFormFieldModule,
|
|
1924
|
-
GoogleMapsModule] });
|
|
1925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsModule, decorators: [{
|
|
1926
|
-
type: NgModule,
|
|
1927
|
-
args: [{
|
|
1928
|
-
declarations: [
|
|
1929
|
-
TheSeamGoogleMapsComponent,
|
|
1930
|
-
TheSeamMapFileDropComponent,
|
|
1931
|
-
TheSeamGoogleMapsUploadButtonControlComponent,
|
|
1932
|
-
TheSeamGoogleMapsRecenterButtonControlComponent,
|
|
1933
|
-
TheSeamMapsControlComponent,
|
|
1934
|
-
TheSeamGoogleMapsPlacesAutocompleteDirective,
|
|
1935
|
-
TheSeamGoogleMapsPlacesAutoCompleteComponent,
|
|
1936
|
-
],
|
|
1937
|
-
imports: [
|
|
1938
|
-
CommonModule,
|
|
1939
|
-
ObserversModule,
|
|
1940
|
-
TheSeamSharedModule,
|
|
1941
|
-
TheSeamMenuModule,
|
|
1942
|
-
TheSeamIconModule,
|
|
1943
|
-
TheSeamFormFieldModule,
|
|
1944
|
-
GoogleMapsModule,
|
|
1945
|
-
],
|
|
1946
|
-
exports: [
|
|
1947
|
-
TheSeamGoogleMapsComponent,
|
|
1948
|
-
TheSeamGoogleMapsPlacesAutocompleteDirective,
|
|
1949
|
-
TheSeamGoogleMapsPlacesAutoCompleteComponent,
|
|
1950
|
-
TheSeamMapsControlComponent,
|
|
1951
|
-
]
|
|
1952
|
-
}]
|
|
1953
|
-
}] });
|
|
1954
|
-
|
|
1955
|
-
/**
|
|
1956
|
-
* Token for the config of the LazyMapsAPILoader. Please provide an object of
|
|
1957
|
-
* type {@link TheSeamLazyMapsApiLoader}.
|
|
1958
|
-
*/
|
|
1959
|
-
const THESEAM_LAZY_MAPS_API_CONFIG = new InjectionToken('THESEAM_LAZY_MAPS_API_CONFIG');
|
|
1960
|
-
class TheSeamLazyMapsApiLoader extends TheSeamGoogleMapsApiLoader {
|
|
1961
|
-
constructor(_localeId, config) {
|
|
1962
|
-
super();
|
|
1963
|
-
this._localeId = _localeId;
|
|
1964
|
-
this.config = config;
|
|
1965
|
-
this._SCRIPT_ID = 'seamGoogleMapsApiScript';
|
|
1966
|
-
this.callbackName = `__seamLazyGoogleMapsApiLoader`;
|
|
1967
|
-
this._config = config || {};
|
|
1968
|
-
}
|
|
1969
|
-
load() {
|
|
1970
|
-
if (window.google && window.google.maps) {
|
|
1971
|
-
// Google maps already loaded on the page.
|
|
1972
|
-
return of(undefined);
|
|
1973
|
-
}
|
|
1974
|
-
if (this._scriptLoadingPromise) {
|
|
1975
|
-
return from(this._scriptLoadingPromise);
|
|
1976
|
-
}
|
|
1977
|
-
// This can happen in HMR situations or Stackblitz.io editors.
|
|
1978
|
-
const scriptOnPage = document.getElementById(this._SCRIPT_ID);
|
|
1979
|
-
if (scriptOnPage) {
|
|
1980
|
-
this._assignScriptLoadingPromise(scriptOnPage);
|
|
1981
|
-
return from(this._getScriptLoadingPromise());
|
|
1982
|
-
}
|
|
1983
|
-
const script = document.createElement('script');
|
|
1984
|
-
script.type = 'text/javascript';
|
|
1985
|
-
script.async = true;
|
|
1986
|
-
script.defer = true;
|
|
1987
|
-
script.id = this._SCRIPT_ID;
|
|
1988
|
-
script.src = this._getScriptSrc(this.callbackName);
|
|
1989
|
-
this._assignScriptLoadingPromise(script);
|
|
1990
|
-
document.body.appendChild(script);
|
|
1991
|
-
return from(this._getScriptLoadingPromise());
|
|
1992
|
-
}
|
|
1993
|
-
_assignScriptLoadingPromise(scriptElem) {
|
|
1994
|
-
this._scriptLoadingPromise = new Promise((resolve, reject) => {
|
|
1995
|
-
const win = window;
|
|
1996
|
-
win[this.callbackName] = () => { resolve(); };
|
|
1997
|
-
scriptElem.onerror = (error) => {
|
|
1998
|
-
reject(error);
|
|
1999
|
-
};
|
|
2000
|
-
});
|
|
2001
|
-
}
|
|
2002
|
-
_getScriptLoadingPromise() {
|
|
2003
|
-
if (!this._scriptLoadingPromise) {
|
|
2004
|
-
throw Error(`_scriptLoadingPromise has not been assigned.`);
|
|
2005
|
-
}
|
|
2006
|
-
return this._scriptLoadingPromise;
|
|
2007
|
-
}
|
|
2008
|
-
_getScriptSrc(callbackName) {
|
|
2009
|
-
const hostAndPath = this._config.url || 'https://maps.googleapis.com/maps/api/js';
|
|
2010
|
-
const queryParams = {
|
|
2011
|
-
v: this._config.apiVersion || 'quarterly',
|
|
2012
|
-
callback: callbackName,
|
|
2013
|
-
key: this._config.apiKey,
|
|
2014
|
-
client: this._config.clientId,
|
|
2015
|
-
channel: this._config.channel,
|
|
2016
|
-
libraries: this._config.libraries,
|
|
2017
|
-
region: this._config.region,
|
|
2018
|
-
language: this._config.language || (this._localeId !== 'en-US' ? this._localeId : null),
|
|
2019
|
-
loading: this._config.loading || 'async'
|
|
2020
|
-
};
|
|
2021
|
-
const params = Object.keys(queryParams)
|
|
2022
|
-
// Remove undefined or null params.
|
|
2023
|
-
.filter((k) => queryParams[k] !== undefined && queryParams[k] !== null)
|
|
2024
|
-
// Remove empty arrays.
|
|
2025
|
-
.filter((k) => {
|
|
2026
|
-
const param = queryParams[k];
|
|
2027
|
-
return !Array.isArray(param) || param.length > 0;
|
|
2028
|
-
})
|
|
2029
|
-
// Join arrays as comma seperated strings.
|
|
2030
|
-
.map((k) => {
|
|
2031
|
-
const param = queryParams[k];
|
|
2032
|
-
return { key: k, value: Array.isArray(param) ? param.join(',') : param };
|
|
2033
|
-
})
|
|
2034
|
-
.map((entry) => {
|
|
2035
|
-
return `${entry.key}=${entry.value}`;
|
|
2036
|
-
})
|
|
2037
|
-
.join('&');
|
|
2038
|
-
return `${hostAndPath}?${params}`;
|
|
2039
|
-
}
|
|
2040
|
-
}
|
|
2041
|
-
TheSeamLazyMapsApiLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamLazyMapsApiLoader, deps: [{ token: LOCALE_ID }, { token: THESEAM_LAZY_MAPS_API_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2042
|
-
TheSeamLazyMapsApiLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamLazyMapsApiLoader });
|
|
2043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamLazyMapsApiLoader, decorators: [{
|
|
2044
|
-
type: Injectable
|
|
2045
|
-
}], ctorParameters: function () {
|
|
2046
|
-
return [{ type: undefined, decorators: [{
|
|
2047
|
-
type: Inject,
|
|
2048
|
-
args: [LOCALE_ID]
|
|
2049
|
-
}] }, { type: undefined, decorators: [{
|
|
2050
|
-
type: Optional
|
|
2051
|
-
}, {
|
|
2052
|
-
type: Inject,
|
|
2053
|
-
args: [THESEAM_LAZY_MAPS_API_CONFIG]
|
|
2054
|
-
}] }];
|
|
2055
|
-
} });
|
|
2056
|
-
|
|
2057
|
-
/**
|
|
2058
|
-
* When using the TheSeamNoopGoogleMapsAPILoader, the Google Maps API must be
|
|
2059
|
-
* added to the page some other way before the map component is initialixed. One
|
|
2060
|
-
* way would be via a `<script>` Tag.
|
|
2061
|
-
*/
|
|
2062
|
-
class TheSeamNoopGoogleMapsAPILoader extends TheSeamGoogleMapsApiLoader {
|
|
2063
|
-
load() {
|
|
2064
|
-
return defer(() => {
|
|
2065
|
-
if (!window.google || !window.google.maps) {
|
|
2066
|
-
return throwError(new Error('Google Maps API not loaded on page. Make sure window.google.maps is available.'));
|
|
2067
|
-
}
|
|
2068
|
-
return of(undefined);
|
|
2069
|
-
});
|
|
2070
|
-
}
|
|
2071
|
-
}
|
|
2072
|
-
TheSeamNoopGoogleMapsAPILoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2073
|
-
TheSeamNoopGoogleMapsAPILoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader });
|
|
2074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamNoopGoogleMapsAPILoader, decorators: [{
|
|
2075
|
-
type: Injectable
|
|
2076
|
-
}] });
|
|
2077
|
-
|
|
2078
|
-
/**
|
|
2079
|
-
* Generated bundle index. Do not edit.
|
|
2080
|
-
*/
|
|
2081
|
-
|
|
2082
|
-
export { AppFeaturePropertyName, GoogleMapsContextMenu, GoogleMapsControlsService, GoogleMapsService, MAP_CONTROLS_SERVICE, MAP_CONTROL_DATA, 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, getHoveredStyleOptionsDefinedByFeature, getPossibleExteriorFeature, getSelectedStyleOptionsDefinedByFeature, getStyleOptionsDefinedByFeature, isAppFeatureProperty, isFeatureSelected, multiPolygonCoordinates, polygonCoordinates, polygonHasValidPathsLengths, removeAllFeatures, setFeatureSelected, stripAppFeaturePropertiesFromJson, toTurfJsFeature, toTurfJsMultiPolygon, toTurfJsPolygon };
|
|
2083
|
-
//# sourceMappingURL=theseam-ui-common-google-maps.mjs.map
|