@prushforth/map 1.0.0-preview.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +89 -0
- package/demo/index.html +78 -0
- package/dist/cjs/AttributionButton-DgbgLHy4.js +106 -0
- package/dist/cjs/MapTileLayer-D4vp8bR4.js +454 -0
- package/dist/cjs/app-globals-DY--Q2Nl.js +775 -0
- package/dist/cjs/calculatePosition-CDcdNl7C.js +92 -0
- package/dist/cjs/gcds-ext-map.cjs.js +47 -0
- package/dist/cjs/gcds-ext-map_2.cjs.entry.js +8081 -0
- package/dist/cjs/index-CW_WOSnc.js +32697 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +14 -0
- package/dist/cjs/locale-_4nEyxeO.js +153 -0
- package/dist/cjs/map-a.cjs.entry.js +16 -0
- package/dist/cjs/map-caption.cjs.entry.js +55 -0
- package/dist/cjs/map-extent.cjs.entry.js +993 -0
- package/dist/cjs/map-feature.cjs.entry.js +636 -0
- package/dist/cjs/map-featurecaption.cjs.entry.js +14 -0
- package/dist/cjs/map-geometry.cjs.entry.js +36 -0
- package/dist/cjs/map-input.cjs.entry.js +348 -0
- package/dist/cjs/map-link.cjs.entry.js +6055 -0
- package/dist/cjs/map-meta.cjs.entry.js +40 -0
- package/dist/cjs/map-properties.cjs.entry.js +14 -0
- package/dist/cjs/map-select.cjs.entry.js +100 -0
- package/dist/cjs/map-span.cjs.entry.js +14 -0
- package/dist/cjs/map-style.cjs.entry.js +127 -0
- package/dist/cjs/map-tile.cjs.entry.js +274 -0
- package/dist/cjs/renderStyles-yOMXvf12.js +59 -0
- package/dist/collection/assets/canada.json +1 -0
- package/dist/collection/assets/images/w3community.ico +0 -0
- package/dist/collection/assets/mapml/en/apstile/arctic +18 -0
- package/dist/collection/assets/mapml/en/cbmtile/canvec +22 -0
- package/dist/collection/assets/mapml/en/cbmtile/cbmt +24 -0
- package/dist/collection/assets/mapml/en/cbmtile/cbmtgeom +20 -0
- package/dist/collection/assets/mapml/en/cbmtile/cbmtsimple +20 -0
- package/dist/collection/assets/mapml/en/cbmtile/current_conditions +33 -0
- package/dist/collection/assets/mapml/en/cbmtile/toporama +25 -0
- package/dist/collection/assets/mapml/en/custom/arcticsdi.mapml +18 -0
- package/dist/collection/assets/mapml/en/osmtile/cbmt +24 -0
- package/dist/collection/assets/mapml/en/osmtile/current_conditions +32 -0
- package/dist/collection/assets/mapml/en/osmtile/dark.mapml +19 -0
- package/dist/collection/assets/mapml/en/osmtile/light.mapml +19 -0
- package/dist/collection/assets/mapml/en/osmtile/osm +19 -0
- package/dist/collection/assets/mapml/en/osmtile/toporama +25 -0
- package/dist/collection/assets/mapml/fr/apstile/arctic +19 -0
- package/dist/collection/assets/mapml/fr/cbmtile/canvec +22 -0
- package/dist/collection/assets/mapml/fr/cbmtile/cbmt +24 -0
- package/dist/collection/assets/mapml/fr/cbmtile/cbmtgeom +20 -0
- package/dist/collection/assets/mapml/fr/cbmtile/cbmtsimple +20 -0
- package/dist/collection/assets/mapml/fr/cbmtile/current_conditions +25 -0
- package/dist/collection/assets/mapml/fr/cbmtile/toporama +25 -0
- package/dist/collection/assets/mapml/fr/osmtile/cbmt +24 -0
- package/dist/collection/assets/mapml/fr/osmtile/current_conditions +24 -0
- package/dist/collection/assets/mapml/fr/osmtile/dark.mapml +19 -0
- package/dist/collection/assets/mapml/fr/osmtile/light.mapml +19 -0
- package/dist/collection/assets/mapml/fr/osmtile/osm +19 -0
- package/dist/collection/assets/mapml/fr/osmtile/toporama +25 -0
- package/dist/collection/assets/pmtiles/darkTheme.js +19 -0
- package/dist/collection/assets/pmtiles/lightTheme.js +19 -0
- package/dist/collection/collection-manifest.json +28 -0
- package/dist/collection/components/gcds-ext-map/assets/pmtiles/darkTheme.js +19 -0
- package/dist/collection/components/gcds-ext-map/assets/pmtiles/lightTheme.js +19 -0
- package/dist/collection/components/gcds-ext-map/gcds-ext-map.css +2138 -0
- package/dist/collection/components/gcds-ext-map/gcds-ext-map.js +1517 -0
- package/dist/collection/components/gcds-ext-map/stories/gcds-ext-map.stories.js +367 -0
- package/dist/collection/components/map-a/map-a.js +89 -0
- package/dist/collection/components/map-caption/map-caption.js +52 -0
- package/dist/collection/components/map-extent/map-extent.js +809 -0
- package/dist/collection/components/map-feature/map-feature.js +724 -0
- package/dist/collection/components/map-featurecaption/map-featurecaption.js +6 -0
- package/dist/collection/components/map-geometry/map-geometry.js +57 -0
- package/dist/collection/components/map-input/map-input.js +355 -0
- package/dist/collection/components/map-layer/map-layer.js +1245 -0
- package/dist/collection/components/map-layer/stories/map-layer.stories.js +101 -0
- package/dist/collection/components/map-link/map-link.js +1149 -0
- package/dist/collection/components/map-meta/map-meta.js +82 -0
- package/dist/collection/components/map-properties/map-properties.js +7 -0
- package/dist/collection/components/map-select/map-select.js +145 -0
- package/dist/collection/components/map-span/map-span.js +7 -0
- package/dist/collection/components/map-style/map-style.js +144 -0
- package/dist/collection/components/map-tile/map-tile.js +370 -0
- package/dist/collection/components/utils/mapml/DOMTokenList.js +123 -0
- package/dist/collection/components/utils/mapml/DefaultMapOptions.js +11 -0
- package/dist/collection/components/utils/mapml/Util.js +1601 -0
- package/dist/collection/components/utils/mapml/control/AttributionButton.js +101 -0
- package/dist/collection/components/utils/mapml/control/FullscreenButton.js +181 -0
- package/dist/collection/components/utils/mapml/control/GeolocationButton.js +70 -0
- package/dist/collection/components/utils/mapml/control/LayerControl.js +212 -0
- package/dist/collection/components/utils/mapml/control/ReloadButton.js +75 -0
- package/dist/collection/components/utils/mapml/control/ScaleBar.js +108 -0
- package/dist/collection/components/utils/mapml/control/SearchButton.js +565 -0
- package/dist/collection/components/utils/mapml/elementSupport/extents/createLayerControlForExtent.js +259 -0
- package/dist/collection/components/utils/mapml/elementSupport/inputs/heightInput.js +18 -0
- package/dist/collection/components/utils/mapml/elementSupport/inputs/hiddenInput.js +19 -0
- package/dist/collection/components/utils/mapml/elementSupport/inputs/locationInput.js +127 -0
- package/dist/collection/components/utils/mapml/elementSupport/inputs/widthInput.js +18 -0
- package/dist/collection/components/utils/mapml/elementSupport/inputs/zoomInput.js +30 -0
- package/dist/collection/components/utils/mapml/elementSupport/layers/calculatePosition.js +88 -0
- package/dist/collection/components/utils/mapml/elementSupport/layers/createLayerControlForLayer.js +326 -0
- package/dist/collection/components/utils/mapml/elementSupport/layers/renderStyles.js +55 -0
- package/dist/collection/components/utils/mapml/elementSupport/viewers/matchMedia.js +251 -0
- package/dist/collection/components/utils/mapml/features/featureRenderer.js +342 -0
- package/dist/collection/components/utils/mapml/features/geometry.js +268 -0
- package/dist/collection/components/utils/mapml/features/path.js +485 -0
- package/dist/collection/components/utils/mapml/handlers/AnnounceMovement.js +154 -0
- package/dist/collection/components/utils/mapml/handlers/ContextMenu.js +1436 -0
- package/dist/collection/components/utils/mapml/handlers/FeatureIndex.js +116 -0
- package/dist/collection/components/utils/mapml/handlers/QueryHandler.js +476 -0
- package/dist/collection/components/utils/mapml/handlers/keyboard.js +60 -0
- package/dist/collection/components/utils/mapml/layers/Crosshair.js +108 -0
- package/dist/collection/components/utils/mapml/layers/DebugOverlay.js +357 -0
- package/dist/collection/components/utils/mapml/layers/FeatureIndexOverlay.js +239 -0
- package/dist/collection/components/utils/mapml/layers/ImageLayer.js +136 -0
- package/dist/collection/components/utils/mapml/layers/MapExtentLayer.js +114 -0
- package/dist/collection/components/utils/mapml/layers/MapFeatureLayer.js +623 -0
- package/dist/collection/components/utils/mapml/layers/MapLayer.js +640 -0
- package/dist/collection/components/utils/mapml/layers/MapTileLayer.js +450 -0
- package/dist/collection/components/utils/mapml/layers/TemplatedFeaturesOrTilesLayer.js +346 -0
- package/dist/collection/components/utils/mapml/layers/TemplatedImageLayer.js +276 -0
- package/dist/collection/components/utils/mapml/layers/TemplatedPMTilesLayer.js +135 -0
- package/dist/collection/components/utils/mapml/layers/TemplatedTileLayer.js +664 -0
- package/dist/collection/components/utils/utils.js +26 -0
- package/dist/collection/fonts/icons/LICENSE.txt +92 -0
- package/dist/collection/fonts/icons/README.md +543 -0
- package/dist/collection/fonts/icons/gcds-icons.css +110 -0
- package/dist/collection/fonts/icons/gcds-icons.eot +0 -0
- package/dist/collection/fonts/icons/gcds-icons.svg +82 -0
- package/dist/collection/fonts/icons/gcds-icons.ttf +0 -0
- package/dist/collection/fonts/icons/gcds-icons.woff +0 -0
- package/dist/collection/fonts/lato/LICENSE.txt +48 -0
- package/dist/collection/fonts/lato/README.md +195 -0
- package/dist/collection/fonts/lato/gcds-lato-italic.woff +0 -0
- package/dist/collection/fonts/lato/gcds-lato-italic.woff2 +0 -0
- package/dist/collection/fonts/lato/gcds-lato.css +30 -0
- package/dist/collection/fonts/lato/gcds-lato.woff +0 -0
- package/dist/collection/fonts/lato/gcds-lato.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/LICENSE.txt +43 -0
- package/dist/collection/fonts/noto-sans/README.md +423 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-bold-italic.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-bold-italic.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-bold.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-bold.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-light-italic.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-light-italic.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-light.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-light.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-medium-italic.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-medium-italic.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-medium.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-medium.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-regular-italic.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-regular-italic.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-regular.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-regular.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-semibold-italic.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-semibold-italic.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-semibold.woff +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans-semibold.woff2 +0 -0
- package/dist/collection/fonts/noto-sans/gcds-noto-sans.css +89 -0
- package/dist/collection/fonts/noto-sans-mono/LICENSE.txt +93 -0
- package/dist/collection/fonts/noto-sans-mono/README.md +135 -0
- package/dist/collection/fonts/noto-sans-mono/gcds-noto-sans-mono.css +17 -0
- package/dist/collection/fonts/noto-sans-mono/gcds-noto-sans-mono.woff +0 -0
- package/dist/collection/fonts/noto-sans-mono/gcds-noto-sans-mono.woff2 +0 -0
- package/dist/collection/generated/locale.js +148 -0
- package/dist/collection/global/mapml-globals.js +916 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/leaflet-src.esm.js +14419 -0
- package/dist/components/gcds-ext-map.d.ts +11 -0
- package/dist/components/gcds-ext-map.js +10 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/map-a.d.ts +11 -0
- package/dist/components/map-a.js +1 -0
- package/dist/components/map-caption.d.ts +11 -0
- package/dist/components/map-caption.js +1 -0
- package/dist/components/map-extent.d.ts +11 -0
- package/dist/components/map-extent.js +1 -0
- package/dist/components/map-feature.d.ts +11 -0
- package/dist/components/map-feature.js +1 -0
- package/dist/components/map-featurecaption.d.ts +11 -0
- package/dist/components/map-featurecaption.js +1 -0
- package/dist/components/map-geometry.d.ts +11 -0
- package/dist/components/map-geometry.js +1 -0
- package/dist/components/map-input.d.ts +11 -0
- package/dist/components/map-input.js +1 -0
- package/dist/components/map-layer.d.ts +11 -0
- package/dist/components/map-layer.js +1 -0
- package/dist/components/map-link.d.ts +11 -0
- package/dist/components/map-link.js +1 -0
- package/dist/components/map-meta.d.ts +11 -0
- package/dist/components/map-meta.js +1 -0
- package/dist/components/map-properties.d.ts +11 -0
- package/dist/components/map-properties.js +1 -0
- package/dist/components/map-select.d.ts +11 -0
- package/dist/components/map-select.js +1 -0
- package/dist/components/map-span.d.ts +11 -0
- package/dist/components/map-span.js +1 -0
- package/dist/components/map-style.d.ts +11 -0
- package/dist/components/map-style.js +1 -0
- package/dist/components/map-tile.d.ts +11 -0
- package/dist/components/map-tile.js +1 -0
- package/dist/components/p-B4YLD_Og.js +1 -0
- package/dist/components/p-BE41zrui.js +1 -0
- package/dist/components/p-Bpv_U_Lb.js +1 -0
- package/dist/components/p-CwRxGZga.js +5 -0
- package/dist/components/p-EYVT9Efh.js +1 -0
- package/dist/components/p-gwC_yeRa.js +1 -0
- package/dist/esm/AttributionButton-CfaoSLCu.js +103 -0
- package/dist/esm/MapTileLayer-DvC_iOIS.js +451 -0
- package/dist/esm/app-globals-De5ze2BD.js +773 -0
- package/dist/esm/calculatePosition-B4YLD_Og.js +90 -0
- package/dist/esm/gcds-ext-map.js +43 -0
- package/dist/esm/gcds-ext-map_2.entry.js +8078 -0
- package/dist/esm/index-BUsJ7i5g.js +32656 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +12 -0
- package/dist/esm/locale-Bpv_U_Lb.js +150 -0
- package/dist/esm/map-a.entry.js +14 -0
- package/dist/esm/map-caption.entry.js +53 -0
- package/dist/esm/map-extent.entry.js +991 -0
- package/dist/esm/map-feature.entry.js +634 -0
- package/dist/esm/map-featurecaption.entry.js +12 -0
- package/dist/esm/map-geometry.entry.js +34 -0
- package/dist/esm/map-input.entry.js +346 -0
- package/dist/esm/map-link.entry.js +6035 -0
- package/dist/esm/map-meta.entry.js +38 -0
- package/dist/esm/map-properties.entry.js +12 -0
- package/dist/esm/map-select.entry.js +98 -0
- package/dist/esm/map-span.entry.js +12 -0
- package/dist/esm/map-style.entry.js +125 -0
- package/dist/esm/map-tile.entry.js +272 -0
- package/dist/esm/renderStyles-EYVT9Efh.js +57 -0
- package/dist/gcds-ext-map/assets/canada.json +1 -0
- package/dist/gcds-ext-map/assets/images/w3community.ico +0 -0
- package/dist/gcds-ext-map/assets/mapml/en/apstile/arctic +18 -0
- package/dist/gcds-ext-map/assets/mapml/en/cbmtile/canvec +22 -0
- package/dist/gcds-ext-map/assets/mapml/en/cbmtile/cbmt +24 -0
- package/dist/gcds-ext-map/assets/mapml/en/cbmtile/cbmtgeom +20 -0
- package/dist/gcds-ext-map/assets/mapml/en/cbmtile/cbmtsimple +20 -0
- package/dist/gcds-ext-map/assets/mapml/en/cbmtile/current_conditions +33 -0
- package/dist/gcds-ext-map/assets/mapml/en/cbmtile/toporama +25 -0
- package/dist/gcds-ext-map/assets/mapml/en/custom/arcticsdi.mapml +18 -0
- package/dist/gcds-ext-map/assets/mapml/en/osmtile/cbmt +24 -0
- package/dist/gcds-ext-map/assets/mapml/en/osmtile/current_conditions +32 -0
- package/dist/gcds-ext-map/assets/mapml/en/osmtile/dark.mapml +19 -0
- package/dist/gcds-ext-map/assets/mapml/en/osmtile/light.mapml +19 -0
- package/dist/gcds-ext-map/assets/mapml/en/osmtile/osm +19 -0
- package/dist/gcds-ext-map/assets/mapml/en/osmtile/toporama +25 -0
- package/dist/gcds-ext-map/assets/mapml/fr/apstile/arctic +19 -0
- package/dist/gcds-ext-map/assets/mapml/fr/cbmtile/canvec +22 -0
- package/dist/gcds-ext-map/assets/mapml/fr/cbmtile/cbmt +24 -0
- package/dist/gcds-ext-map/assets/mapml/fr/cbmtile/cbmtgeom +20 -0
- package/dist/gcds-ext-map/assets/mapml/fr/cbmtile/cbmtsimple +20 -0
- package/dist/gcds-ext-map/assets/mapml/fr/cbmtile/current_conditions +25 -0
- package/dist/gcds-ext-map/assets/mapml/fr/cbmtile/toporama +25 -0
- package/dist/gcds-ext-map/assets/mapml/fr/osmtile/cbmt +24 -0
- package/dist/gcds-ext-map/assets/mapml/fr/osmtile/current_conditions +24 -0
- package/dist/gcds-ext-map/assets/mapml/fr/osmtile/dark.mapml +19 -0
- package/dist/gcds-ext-map/assets/mapml/fr/osmtile/light.mapml +19 -0
- package/dist/gcds-ext-map/assets/mapml/fr/osmtile/osm +19 -0
- package/dist/gcds-ext-map/assets/mapml/fr/osmtile/toporama +25 -0
- package/dist/gcds-ext-map/assets/pmtiles/darkTheme.js +19 -0
- package/dist/gcds-ext-map/assets/pmtiles/lightTheme.js +19 -0
- package/dist/gcds-ext-map/fonts/icons/LICENSE.txt +92 -0
- package/dist/gcds-ext-map/fonts/icons/README.md +543 -0
- package/dist/gcds-ext-map/fonts/icons/gcds-icons.css +110 -0
- package/dist/gcds-ext-map/fonts/icons/gcds-icons.eot +0 -0
- package/dist/gcds-ext-map/fonts/icons/gcds-icons.svg +82 -0
- package/dist/gcds-ext-map/fonts/icons/gcds-icons.ttf +0 -0
- package/dist/gcds-ext-map/fonts/icons/gcds-icons.woff +0 -0
- package/dist/gcds-ext-map/fonts/lato/LICENSE.txt +48 -0
- package/dist/gcds-ext-map/fonts/lato/README.md +195 -0
- package/dist/gcds-ext-map/fonts/lato/gcds-lato-italic.woff +0 -0
- package/dist/gcds-ext-map/fonts/lato/gcds-lato-italic.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/lato/gcds-lato.css +30 -0
- package/dist/gcds-ext-map/fonts/lato/gcds-lato.woff +0 -0
- package/dist/gcds-ext-map/fonts/lato/gcds-lato.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/LICENSE.txt +43 -0
- package/dist/gcds-ext-map/fonts/noto-sans/README.md +423 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-bold-italic.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-bold-italic.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-bold.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-bold.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-light-italic.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-light-italic.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-light.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-light.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-medium-italic.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-medium-italic.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-medium.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-medium.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-regular-italic.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-regular-italic.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-regular.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-regular.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-semibold-italic.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-semibold-italic.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-semibold.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans-semibold.woff2 +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans/gcds-noto-sans.css +89 -0
- package/dist/gcds-ext-map/fonts/noto-sans-mono/LICENSE.txt +93 -0
- package/dist/gcds-ext-map/fonts/noto-sans-mono/README.md +135 -0
- package/dist/gcds-ext-map/fonts/noto-sans-mono/gcds-noto-sans-mono.css +17 -0
- package/dist/gcds-ext-map/fonts/noto-sans-mono/gcds-noto-sans-mono.woff +0 -0
- package/dist/gcds-ext-map/fonts/noto-sans-mono/gcds-noto-sans-mono.woff2 +0 -0
- package/dist/gcds-ext-map/gcds-ext-map.esm.js +1 -0
- package/dist/gcds-ext-map/index.esm.js +0 -0
- package/dist/gcds-ext-map/leaflet-src.esm.js +14419 -0
- package/dist/gcds-ext-map/p-1b22f774.entry.js +1 -0
- package/dist/gcds-ext-map/p-29b4ba34.entry.js +1 -0
- package/dist/gcds-ext-map/p-2dd09d44.entry.js +1 -0
- package/dist/gcds-ext-map/p-3fef47e5.entry.js +1 -0
- package/dist/gcds-ext-map/p-4e324a1d.entry.js +1 -0
- package/dist/gcds-ext-map/p-4f4a6873.entry.js +1 -0
- package/dist/gcds-ext-map/p-9cc5ad37.entry.js +1 -0
- package/dist/gcds-ext-map/p-9edfea7d.entry.js +1 -0
- package/dist/gcds-ext-map/p-B4YLD_Og.js +1 -0
- package/dist/gcds-ext-map/p-B8Id5Ptd.js +1 -0
- package/dist/gcds-ext-map/p-BUsJ7i5g.js +6 -0
- package/dist/gcds-ext-map/p-Bpv_U_Lb.js +1 -0
- package/dist/gcds-ext-map/p-CtOuMgy9.js +1 -0
- package/dist/gcds-ext-map/p-Dd474fsL.js +1 -0
- package/dist/gcds-ext-map/p-EYVT9Efh.js +1 -0
- package/dist/gcds-ext-map/p-a67d721d.entry.js +1 -0
- package/dist/gcds-ext-map/p-b16e862b.entry.js +1 -0
- package/dist/gcds-ext-map/p-b9cbf1e0.entry.js +10 -0
- package/dist/gcds-ext-map/p-cab5246e.entry.js +1 -0
- package/dist/gcds-ext-map/p-d58d409b.entry.js +1 -0
- package/dist/gcds-ext-map/p-dfa21368.entry.js +1 -0
- package/dist/gcds-ext-map/p-f211048a.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/gcds-ext-map/gcds-ext-map.d.ts +125 -0
- package/dist/types/components/gcds-ext-map/stories/gcds-ext-map.stories.d.ts +230 -0
- package/dist/types/components/map-a/map-a.d.ts +7 -0
- package/dist/types/components/map-caption/map-caption.d.ts +7 -0
- package/dist/types/components/map-extent/map-extent.d.ts +53 -0
- package/dist/types/components/map-feature/map-feature.d.ts +50 -0
- package/dist/types/components/map-featurecaption/map-featurecaption.d.ts +3 -0
- package/dist/types/components/map-geometry/map-geometry.d.ts +7 -0
- package/dist/types/components/map-input/map-input.d.ts +24 -0
- package/dist/types/components/map-layer/map-layer.d.ts +85 -0
- package/dist/types/components/map-layer/stories/map-layer.stories.d.ts +96 -0
- package/dist/types/components/map-link/map-link.d.ts +66 -0
- package/dist/types/components/map-meta/map-meta.d.ts +11 -0
- package/dist/types/components/map-properties/map-properties.d.ts +3 -0
- package/dist/types/components/map-select/map-select.d.ts +13 -0
- package/dist/types/components/map-span/map-span.d.ts +5 -0
- package/dist/types/components/map-style/map-style.d.ts +17 -0
- package/dist/types/components/map-tile/map-tile.d.ts +32 -0
- package/dist/types/components/utils/mapml/DOMTokenList.d.ts +30 -0
- package/dist/types/components/utils/mapml/elementSupport/inputs/heightInput.d.ts +7 -0
- package/dist/types/components/utils/mapml/elementSupport/inputs/hiddenInput.d.ts +7 -0
- package/dist/types/components/utils/mapml/elementSupport/inputs/locationInput.d.ts +14 -0
- package/dist/types/components/utils/mapml/elementSupport/inputs/widthInput.d.ts +7 -0
- package/dist/types/components/utils/mapml/elementSupport/inputs/zoomInput.d.ts +11 -0
- package/dist/types/components/utils/mapml/layers/MapLayer.d.ts +69 -0
- package/dist/types/components/utils/utils.d.ts +2 -0
- package/dist/types/components.d.ts +521 -0
- package/dist/types/gcds-ext-map.d.ts +17 -0
- package/dist/types/generated/locale.d.ts +146 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/stencil-public-runtime.d.ts +1861 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +87 -0
|
@@ -0,0 +1,521 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
export namespace Components {
|
|
9
|
+
interface GcdsExtMap {
|
|
10
|
+
"_controlslist"?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
"controls": boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @default 0
|
|
17
|
+
*/
|
|
18
|
+
"lat"?: number;
|
|
19
|
+
"locale"?: any;
|
|
20
|
+
/**
|
|
21
|
+
* @default 0
|
|
22
|
+
*/
|
|
23
|
+
"lon"?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @default 'OSMTILE'
|
|
26
|
+
*/
|
|
27
|
+
"projection"?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
"static"?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Promise-based method to wait until all layers are ready Returns a promise that resolves when all child layers are fully initialized
|
|
34
|
+
*/
|
|
35
|
+
"whenLayersReady": () => Promise<PromiseSettledResult<void>[]>;
|
|
36
|
+
"whenProjectionDefined": (projection: string) => Promise<unknown>;
|
|
37
|
+
/**
|
|
38
|
+
* Promise-based method to wait until map is ready Returns a promise that resolves when the map is fully initialized
|
|
39
|
+
*/
|
|
40
|
+
"whenReady": () => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* @default 0
|
|
43
|
+
*/
|
|
44
|
+
"zoom"?: number;
|
|
45
|
+
}
|
|
46
|
+
interface MapA {
|
|
47
|
+
"href"?: string;
|
|
48
|
+
"inplace"?: boolean;
|
|
49
|
+
"target"?: string;
|
|
50
|
+
"type"?: string;
|
|
51
|
+
}
|
|
52
|
+
interface MapCaption {
|
|
53
|
+
}
|
|
54
|
+
interface MapExtent {
|
|
55
|
+
"_label"?: string;
|
|
56
|
+
"_opacity"?: number;
|
|
57
|
+
/**
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
"checked"?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @default false
|
|
63
|
+
*/
|
|
64
|
+
"disabled"?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
"hidden": boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @default 1
|
|
71
|
+
*/
|
|
72
|
+
"opacity"?: number;
|
|
73
|
+
"units": string;
|
|
74
|
+
"whenLinksReady": () => Promise<PromiseSettledResult<any>[]>;
|
|
75
|
+
"whenReady": () => Promise<void>;
|
|
76
|
+
}
|
|
77
|
+
interface MapFeature {
|
|
78
|
+
"max"?: number;
|
|
79
|
+
"min"?: number;
|
|
80
|
+
"whenReady": () => Promise<void>;
|
|
81
|
+
"zoom"?: number;
|
|
82
|
+
}
|
|
83
|
+
interface MapFeaturecaption {
|
|
84
|
+
}
|
|
85
|
+
interface MapGeometry {
|
|
86
|
+
"cs"?: string;
|
|
87
|
+
}
|
|
88
|
+
interface MapInput {
|
|
89
|
+
"axis"?: string;
|
|
90
|
+
"max"?: string;
|
|
91
|
+
"min"?: string;
|
|
92
|
+
"name": string;
|
|
93
|
+
"position"?: string;
|
|
94
|
+
"rel"?: string;
|
|
95
|
+
"step"?: string;
|
|
96
|
+
"type": string;
|
|
97
|
+
"units"?: string;
|
|
98
|
+
"value"?: string;
|
|
99
|
+
"whenReady": () => Promise<void>;
|
|
100
|
+
}
|
|
101
|
+
interface MapLayer {
|
|
102
|
+
"_opacity"?: number;
|
|
103
|
+
"checked"?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* @default false
|
|
106
|
+
*/
|
|
107
|
+
"hidden": boolean;
|
|
108
|
+
"media"?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @default 1
|
|
111
|
+
*/
|
|
112
|
+
"opacity"?: number;
|
|
113
|
+
"src"?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Wait for all map-extent and map-feature elements to be ready. Returns a promise that resolves when all are settled.
|
|
116
|
+
*/
|
|
117
|
+
"whenElemsReady": () => Promise<PromiseSettledResult<unknown>[]>;
|
|
118
|
+
"whenReady": () => Promise<void>;
|
|
119
|
+
}
|
|
120
|
+
interface MapLink {
|
|
121
|
+
"disabled"?: boolean;
|
|
122
|
+
"href"?: string;
|
|
123
|
+
"hreflang"?: string;
|
|
124
|
+
"media"?: string;
|
|
125
|
+
"projection"?: string;
|
|
126
|
+
"rel"?: string;
|
|
127
|
+
"tms"?: boolean;
|
|
128
|
+
"tref"?: string;
|
|
129
|
+
"type"?: string;
|
|
130
|
+
"whenReady": () => Promise<void>;
|
|
131
|
+
}
|
|
132
|
+
interface MapMeta {
|
|
133
|
+
"content"?: string;
|
|
134
|
+
"name"?: string;
|
|
135
|
+
}
|
|
136
|
+
interface MapProperties {
|
|
137
|
+
}
|
|
138
|
+
interface MapSelect {
|
|
139
|
+
"name"?: string;
|
|
140
|
+
"whenReady": () => Promise<void>;
|
|
141
|
+
}
|
|
142
|
+
interface MapSpan {
|
|
143
|
+
}
|
|
144
|
+
interface MapStyle {
|
|
145
|
+
"media"?: string;
|
|
146
|
+
}
|
|
147
|
+
interface MapTile {
|
|
148
|
+
"col"?: number;
|
|
149
|
+
"row"?: number;
|
|
150
|
+
"src"?: string;
|
|
151
|
+
"zoom"?: number;
|
|
152
|
+
"zoomTo": () => Promise<void>;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
declare global {
|
|
156
|
+
interface HTMLGcdsExtMapElement extends Components.GcdsExtMap, HTMLStencilElement {
|
|
157
|
+
}
|
|
158
|
+
var HTMLGcdsExtMapElement: {
|
|
159
|
+
prototype: HTMLGcdsExtMapElement;
|
|
160
|
+
new (): HTMLGcdsExtMapElement;
|
|
161
|
+
};
|
|
162
|
+
interface HTMLMapAElement extends Components.MapA, HTMLStencilElement {
|
|
163
|
+
}
|
|
164
|
+
var HTMLMapAElement: {
|
|
165
|
+
prototype: HTMLMapAElement;
|
|
166
|
+
new (): HTMLMapAElement;
|
|
167
|
+
};
|
|
168
|
+
interface HTMLMapCaptionElement extends Components.MapCaption, HTMLStencilElement {
|
|
169
|
+
}
|
|
170
|
+
var HTMLMapCaptionElement: {
|
|
171
|
+
prototype: HTMLMapCaptionElement;
|
|
172
|
+
new (): HTMLMapCaptionElement;
|
|
173
|
+
};
|
|
174
|
+
interface HTMLMapExtentElement extends Components.MapExtent, HTMLStencilElement {
|
|
175
|
+
}
|
|
176
|
+
var HTMLMapExtentElement: {
|
|
177
|
+
prototype: HTMLMapExtentElement;
|
|
178
|
+
new (): HTMLMapExtentElement;
|
|
179
|
+
};
|
|
180
|
+
interface HTMLMapFeatureElement extends Components.MapFeature, HTMLStencilElement {
|
|
181
|
+
}
|
|
182
|
+
var HTMLMapFeatureElement: {
|
|
183
|
+
prototype: HTMLMapFeatureElement;
|
|
184
|
+
new (): HTMLMapFeatureElement;
|
|
185
|
+
};
|
|
186
|
+
interface HTMLMapFeaturecaptionElement extends Components.MapFeaturecaption, HTMLStencilElement {
|
|
187
|
+
}
|
|
188
|
+
var HTMLMapFeaturecaptionElement: {
|
|
189
|
+
prototype: HTMLMapFeaturecaptionElement;
|
|
190
|
+
new (): HTMLMapFeaturecaptionElement;
|
|
191
|
+
};
|
|
192
|
+
interface HTMLMapGeometryElement extends Components.MapGeometry, HTMLStencilElement {
|
|
193
|
+
}
|
|
194
|
+
var HTMLMapGeometryElement: {
|
|
195
|
+
prototype: HTMLMapGeometryElement;
|
|
196
|
+
new (): HTMLMapGeometryElement;
|
|
197
|
+
};
|
|
198
|
+
interface HTMLMapInputElement extends Components.MapInput, HTMLStencilElement {
|
|
199
|
+
}
|
|
200
|
+
var HTMLMapInputElement: {
|
|
201
|
+
prototype: HTMLMapInputElement;
|
|
202
|
+
new (): HTMLMapInputElement;
|
|
203
|
+
};
|
|
204
|
+
interface HTMLMapLayerElement extends Components.MapLayer, HTMLStencilElement {
|
|
205
|
+
}
|
|
206
|
+
var HTMLMapLayerElement: {
|
|
207
|
+
prototype: HTMLMapLayerElement;
|
|
208
|
+
new (): HTMLMapLayerElement;
|
|
209
|
+
};
|
|
210
|
+
interface HTMLMapLinkElement extends Components.MapLink, HTMLStencilElement {
|
|
211
|
+
}
|
|
212
|
+
var HTMLMapLinkElement: {
|
|
213
|
+
prototype: HTMLMapLinkElement;
|
|
214
|
+
new (): HTMLMapLinkElement;
|
|
215
|
+
};
|
|
216
|
+
interface HTMLMapMetaElement extends Components.MapMeta, HTMLStencilElement {
|
|
217
|
+
}
|
|
218
|
+
var HTMLMapMetaElement: {
|
|
219
|
+
prototype: HTMLMapMetaElement;
|
|
220
|
+
new (): HTMLMapMetaElement;
|
|
221
|
+
};
|
|
222
|
+
interface HTMLMapPropertiesElement extends Components.MapProperties, HTMLStencilElement {
|
|
223
|
+
}
|
|
224
|
+
var HTMLMapPropertiesElement: {
|
|
225
|
+
prototype: HTMLMapPropertiesElement;
|
|
226
|
+
new (): HTMLMapPropertiesElement;
|
|
227
|
+
};
|
|
228
|
+
interface HTMLMapSelectElement extends Components.MapSelect, HTMLStencilElement {
|
|
229
|
+
}
|
|
230
|
+
var HTMLMapSelectElement: {
|
|
231
|
+
prototype: HTMLMapSelectElement;
|
|
232
|
+
new (): HTMLMapSelectElement;
|
|
233
|
+
};
|
|
234
|
+
interface HTMLMapSpanElement extends Components.MapSpan, HTMLStencilElement {
|
|
235
|
+
}
|
|
236
|
+
var HTMLMapSpanElement: {
|
|
237
|
+
prototype: HTMLMapSpanElement;
|
|
238
|
+
new (): HTMLMapSpanElement;
|
|
239
|
+
};
|
|
240
|
+
interface HTMLMapStyleElement extends Components.MapStyle, HTMLStencilElement {
|
|
241
|
+
}
|
|
242
|
+
var HTMLMapStyleElement: {
|
|
243
|
+
prototype: HTMLMapStyleElement;
|
|
244
|
+
new (): HTMLMapStyleElement;
|
|
245
|
+
};
|
|
246
|
+
interface HTMLMapTileElement extends Components.MapTile, HTMLStencilElement {
|
|
247
|
+
}
|
|
248
|
+
var HTMLMapTileElement: {
|
|
249
|
+
prototype: HTMLMapTileElement;
|
|
250
|
+
new (): HTMLMapTileElement;
|
|
251
|
+
};
|
|
252
|
+
interface HTMLElementTagNameMap {
|
|
253
|
+
"gcds-ext-map": HTMLGcdsExtMapElement;
|
|
254
|
+
"map-a": HTMLMapAElement;
|
|
255
|
+
"map-caption": HTMLMapCaptionElement;
|
|
256
|
+
"map-extent": HTMLMapExtentElement;
|
|
257
|
+
"map-feature": HTMLMapFeatureElement;
|
|
258
|
+
"map-featurecaption": HTMLMapFeaturecaptionElement;
|
|
259
|
+
"map-geometry": HTMLMapGeometryElement;
|
|
260
|
+
"map-input": HTMLMapInputElement;
|
|
261
|
+
"map-layer": HTMLMapLayerElement;
|
|
262
|
+
"map-link": HTMLMapLinkElement;
|
|
263
|
+
"map-meta": HTMLMapMetaElement;
|
|
264
|
+
"map-properties": HTMLMapPropertiesElement;
|
|
265
|
+
"map-select": HTMLMapSelectElement;
|
|
266
|
+
"map-span": HTMLMapSpanElement;
|
|
267
|
+
"map-style": HTMLMapStyleElement;
|
|
268
|
+
"map-tile": HTMLMapTileElement;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
declare namespace LocalJSX {
|
|
272
|
+
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
|
|
273
|
+
|
|
274
|
+
interface GcdsExtMap {
|
|
275
|
+
"_controlslist"?: string;
|
|
276
|
+
/**
|
|
277
|
+
* @default false
|
|
278
|
+
*/
|
|
279
|
+
"controls"?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* @default 0
|
|
282
|
+
*/
|
|
283
|
+
"lat"?: number;
|
|
284
|
+
"locale"?: any;
|
|
285
|
+
/**
|
|
286
|
+
* @default 0
|
|
287
|
+
*/
|
|
288
|
+
"lon"?: number;
|
|
289
|
+
/**
|
|
290
|
+
* @default 'OSMTILE'
|
|
291
|
+
*/
|
|
292
|
+
"projection"?: string;
|
|
293
|
+
/**
|
|
294
|
+
* @default false
|
|
295
|
+
*/
|
|
296
|
+
"static"?: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* @default 0
|
|
299
|
+
*/
|
|
300
|
+
"zoom"?: number;
|
|
301
|
+
}
|
|
302
|
+
interface MapA {
|
|
303
|
+
"href"?: string;
|
|
304
|
+
"inplace"?: boolean;
|
|
305
|
+
"target"?: string;
|
|
306
|
+
"type"?: string;
|
|
307
|
+
}
|
|
308
|
+
interface MapCaption {
|
|
309
|
+
}
|
|
310
|
+
interface MapExtent {
|
|
311
|
+
"_label"?: string;
|
|
312
|
+
"_opacity"?: number;
|
|
313
|
+
/**
|
|
314
|
+
* @default false
|
|
315
|
+
*/
|
|
316
|
+
"checked"?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* @default false
|
|
319
|
+
*/
|
|
320
|
+
"disabled"?: boolean;
|
|
321
|
+
/**
|
|
322
|
+
* @default false
|
|
323
|
+
*/
|
|
324
|
+
"hidden"?: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* @default 1
|
|
327
|
+
*/
|
|
328
|
+
"opacity"?: number;
|
|
329
|
+
"units": string;
|
|
330
|
+
}
|
|
331
|
+
interface MapFeature {
|
|
332
|
+
"max"?: number;
|
|
333
|
+
"min"?: number;
|
|
334
|
+
"zoom"?: number;
|
|
335
|
+
}
|
|
336
|
+
interface MapFeaturecaption {
|
|
337
|
+
}
|
|
338
|
+
interface MapGeometry {
|
|
339
|
+
"cs"?: string;
|
|
340
|
+
}
|
|
341
|
+
interface MapInput {
|
|
342
|
+
"axis"?: string;
|
|
343
|
+
"max"?: string;
|
|
344
|
+
"min"?: string;
|
|
345
|
+
"name": string;
|
|
346
|
+
"position"?: string;
|
|
347
|
+
"rel"?: string;
|
|
348
|
+
"step"?: string;
|
|
349
|
+
"type": string;
|
|
350
|
+
"units"?: string;
|
|
351
|
+
"value"?: string;
|
|
352
|
+
}
|
|
353
|
+
interface MapLayer {
|
|
354
|
+
"_opacity"?: number;
|
|
355
|
+
"checked"?: boolean;
|
|
356
|
+
/**
|
|
357
|
+
* @default false
|
|
358
|
+
*/
|
|
359
|
+
"hidden"?: boolean;
|
|
360
|
+
"media"?: string;
|
|
361
|
+
/**
|
|
362
|
+
* @default 1
|
|
363
|
+
*/
|
|
364
|
+
"opacity"?: number;
|
|
365
|
+
"src"?: string;
|
|
366
|
+
}
|
|
367
|
+
interface MapLink {
|
|
368
|
+
"disabled"?: boolean;
|
|
369
|
+
"href"?: string;
|
|
370
|
+
"hreflang"?: string;
|
|
371
|
+
"media"?: string;
|
|
372
|
+
"projection"?: string;
|
|
373
|
+
"rel"?: string;
|
|
374
|
+
"tms"?: boolean;
|
|
375
|
+
"tref"?: string;
|
|
376
|
+
"type"?: string;
|
|
377
|
+
}
|
|
378
|
+
interface MapMeta {
|
|
379
|
+
"content"?: string;
|
|
380
|
+
"name"?: string;
|
|
381
|
+
}
|
|
382
|
+
interface MapProperties {
|
|
383
|
+
}
|
|
384
|
+
interface MapSelect {
|
|
385
|
+
"name"?: string;
|
|
386
|
+
}
|
|
387
|
+
interface MapSpan {
|
|
388
|
+
}
|
|
389
|
+
interface MapStyle {
|
|
390
|
+
"media"?: string;
|
|
391
|
+
}
|
|
392
|
+
interface MapTile {
|
|
393
|
+
"col"?: number;
|
|
394
|
+
"row"?: number;
|
|
395
|
+
"src"?: string;
|
|
396
|
+
"zoom"?: number;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
interface GcdsExtMapAttributes {
|
|
400
|
+
"lat": number;
|
|
401
|
+
"lon": number;
|
|
402
|
+
"zoom": number;
|
|
403
|
+
"projection": string;
|
|
404
|
+
"controls": boolean;
|
|
405
|
+
"static": boolean;
|
|
406
|
+
"_controlslist": string;
|
|
407
|
+
"locale": string;
|
|
408
|
+
}
|
|
409
|
+
interface MapAAttributes {
|
|
410
|
+
"href": string;
|
|
411
|
+
"target": string;
|
|
412
|
+
"type": string;
|
|
413
|
+
"inplace": boolean;
|
|
414
|
+
}
|
|
415
|
+
interface MapExtentAttributes {
|
|
416
|
+
"checked": boolean;
|
|
417
|
+
"_label": string;
|
|
418
|
+
"opacity": number;
|
|
419
|
+
"_opacity": number;
|
|
420
|
+
"hidden": boolean;
|
|
421
|
+
"units": string;
|
|
422
|
+
"disabled": boolean;
|
|
423
|
+
}
|
|
424
|
+
interface MapFeatureAttributes {
|
|
425
|
+
"zoom": number;
|
|
426
|
+
"min": number;
|
|
427
|
+
"max": number;
|
|
428
|
+
}
|
|
429
|
+
interface MapGeometryAttributes {
|
|
430
|
+
"cs": string;
|
|
431
|
+
}
|
|
432
|
+
interface MapInputAttributes {
|
|
433
|
+
"name": string;
|
|
434
|
+
"type": string;
|
|
435
|
+
"value": string;
|
|
436
|
+
"axis": string;
|
|
437
|
+
"units": string;
|
|
438
|
+
"position": string;
|
|
439
|
+
"rel": string;
|
|
440
|
+
"min": string;
|
|
441
|
+
"max": string;
|
|
442
|
+
"step": string;
|
|
443
|
+
}
|
|
444
|
+
interface MapLayerAttributes {
|
|
445
|
+
"src": string;
|
|
446
|
+
"checked": boolean;
|
|
447
|
+
"hidden": boolean;
|
|
448
|
+
"opacity": number;
|
|
449
|
+
"_opacity": number;
|
|
450
|
+
"media": string;
|
|
451
|
+
}
|
|
452
|
+
interface MapLinkAttributes {
|
|
453
|
+
"type": string;
|
|
454
|
+
"rel": string;
|
|
455
|
+
"href": string;
|
|
456
|
+
"hreflang": string;
|
|
457
|
+
"tref": string;
|
|
458
|
+
"media": string;
|
|
459
|
+
"tms": boolean;
|
|
460
|
+
"projection": string;
|
|
461
|
+
"disabled": boolean;
|
|
462
|
+
}
|
|
463
|
+
interface MapMetaAttributes {
|
|
464
|
+
"name": string;
|
|
465
|
+
"content": string;
|
|
466
|
+
}
|
|
467
|
+
interface MapSelectAttributes {
|
|
468
|
+
"name": string;
|
|
469
|
+
}
|
|
470
|
+
interface MapStyleAttributes {
|
|
471
|
+
"media": string;
|
|
472
|
+
}
|
|
473
|
+
interface MapTileAttributes {
|
|
474
|
+
"row": number;
|
|
475
|
+
"col": number;
|
|
476
|
+
"zoom": number;
|
|
477
|
+
"src": string;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
interface IntrinsicElements {
|
|
481
|
+
"gcds-ext-map": Omit<GcdsExtMap, keyof GcdsExtMapAttributes> & { [K in keyof GcdsExtMap & keyof GcdsExtMapAttributes]?: GcdsExtMap[K] } & { [K in keyof GcdsExtMap & keyof GcdsExtMapAttributes as `attr:${K}`]?: GcdsExtMapAttributes[K] } & { [K in keyof GcdsExtMap & keyof GcdsExtMapAttributes as `prop:${K}`]?: GcdsExtMap[K] };
|
|
482
|
+
"map-a": Omit<MapA, keyof MapAAttributes> & { [K in keyof MapA & keyof MapAAttributes]?: MapA[K] } & { [K in keyof MapA & keyof MapAAttributes as `attr:${K}`]?: MapAAttributes[K] } & { [K in keyof MapA & keyof MapAAttributes as `prop:${K}`]?: MapA[K] };
|
|
483
|
+
"map-caption": MapCaption;
|
|
484
|
+
"map-extent": Omit<MapExtent, keyof MapExtentAttributes> & { [K in keyof MapExtent & keyof MapExtentAttributes]?: MapExtent[K] } & { [K in keyof MapExtent & keyof MapExtentAttributes as `attr:${K}`]?: MapExtentAttributes[K] } & { [K in keyof MapExtent & keyof MapExtentAttributes as `prop:${K}`]?: MapExtent[K] } & OneOf<"units", MapExtent["units"], MapExtentAttributes["units"]>;
|
|
485
|
+
"map-feature": Omit<MapFeature, keyof MapFeatureAttributes> & { [K in keyof MapFeature & keyof MapFeatureAttributes]?: MapFeature[K] } & { [K in keyof MapFeature & keyof MapFeatureAttributes as `attr:${K}`]?: MapFeatureAttributes[K] } & { [K in keyof MapFeature & keyof MapFeatureAttributes as `prop:${K}`]?: MapFeature[K] };
|
|
486
|
+
"map-featurecaption": MapFeaturecaption;
|
|
487
|
+
"map-geometry": Omit<MapGeometry, keyof MapGeometryAttributes> & { [K in keyof MapGeometry & keyof MapGeometryAttributes]?: MapGeometry[K] } & { [K in keyof MapGeometry & keyof MapGeometryAttributes as `attr:${K}`]?: MapGeometryAttributes[K] } & { [K in keyof MapGeometry & keyof MapGeometryAttributes as `prop:${K}`]?: MapGeometry[K] };
|
|
488
|
+
"map-input": Omit<MapInput, keyof MapInputAttributes> & { [K in keyof MapInput & keyof MapInputAttributes]?: MapInput[K] } & { [K in keyof MapInput & keyof MapInputAttributes as `attr:${K}`]?: MapInputAttributes[K] } & { [K in keyof MapInput & keyof MapInputAttributes as `prop:${K}`]?: MapInput[K] } & OneOf<"name", MapInput["name"], MapInputAttributes["name"]> & OneOf<"type", MapInput["type"], MapInputAttributes["type"]>;
|
|
489
|
+
"map-layer": Omit<MapLayer, keyof MapLayerAttributes> & { [K in keyof MapLayer & keyof MapLayerAttributes]?: MapLayer[K] } & { [K in keyof MapLayer & keyof MapLayerAttributes as `attr:${K}`]?: MapLayerAttributes[K] } & { [K in keyof MapLayer & keyof MapLayerAttributes as `prop:${K}`]?: MapLayer[K] };
|
|
490
|
+
"map-link": Omit<MapLink, keyof MapLinkAttributes> & { [K in keyof MapLink & keyof MapLinkAttributes]?: MapLink[K] } & { [K in keyof MapLink & keyof MapLinkAttributes as `attr:${K}`]?: MapLinkAttributes[K] } & { [K in keyof MapLink & keyof MapLinkAttributes as `prop:${K}`]?: MapLink[K] };
|
|
491
|
+
"map-meta": Omit<MapMeta, keyof MapMetaAttributes> & { [K in keyof MapMeta & keyof MapMetaAttributes]?: MapMeta[K] } & { [K in keyof MapMeta & keyof MapMetaAttributes as `attr:${K}`]?: MapMetaAttributes[K] } & { [K in keyof MapMeta & keyof MapMetaAttributes as `prop:${K}`]?: MapMeta[K] };
|
|
492
|
+
"map-properties": MapProperties;
|
|
493
|
+
"map-select": Omit<MapSelect, keyof MapSelectAttributes> & { [K in keyof MapSelect & keyof MapSelectAttributes]?: MapSelect[K] } & { [K in keyof MapSelect & keyof MapSelectAttributes as `attr:${K}`]?: MapSelectAttributes[K] } & { [K in keyof MapSelect & keyof MapSelectAttributes as `prop:${K}`]?: MapSelect[K] };
|
|
494
|
+
"map-span": MapSpan;
|
|
495
|
+
"map-style": Omit<MapStyle, keyof MapStyleAttributes> & { [K in keyof MapStyle & keyof MapStyleAttributes]?: MapStyle[K] } & { [K in keyof MapStyle & keyof MapStyleAttributes as `attr:${K}`]?: MapStyleAttributes[K] } & { [K in keyof MapStyle & keyof MapStyleAttributes as `prop:${K}`]?: MapStyle[K] };
|
|
496
|
+
"map-tile": Omit<MapTile, keyof MapTileAttributes> & { [K in keyof MapTile & keyof MapTileAttributes]?: MapTile[K] } & { [K in keyof MapTile & keyof MapTileAttributes as `attr:${K}`]?: MapTileAttributes[K] } & { [K in keyof MapTile & keyof MapTileAttributes as `prop:${K}`]?: MapTile[K] };
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
export { LocalJSX as JSX };
|
|
500
|
+
declare module "@stencil/core" {
|
|
501
|
+
export namespace JSX {
|
|
502
|
+
interface IntrinsicElements {
|
|
503
|
+
"gcds-ext-map": LocalJSX.IntrinsicElements["gcds-ext-map"] & JSXBase.HTMLAttributes<HTMLGcdsExtMapElement>;
|
|
504
|
+
"map-a": LocalJSX.IntrinsicElements["map-a"] & JSXBase.HTMLAttributes<HTMLMapAElement>;
|
|
505
|
+
"map-caption": LocalJSX.IntrinsicElements["map-caption"] & JSXBase.HTMLAttributes<HTMLMapCaptionElement>;
|
|
506
|
+
"map-extent": LocalJSX.IntrinsicElements["map-extent"] & JSXBase.HTMLAttributes<HTMLMapExtentElement>;
|
|
507
|
+
"map-feature": LocalJSX.IntrinsicElements["map-feature"] & JSXBase.HTMLAttributes<HTMLMapFeatureElement>;
|
|
508
|
+
"map-featurecaption": LocalJSX.IntrinsicElements["map-featurecaption"] & JSXBase.HTMLAttributes<HTMLMapFeaturecaptionElement>;
|
|
509
|
+
"map-geometry": LocalJSX.IntrinsicElements["map-geometry"] & JSXBase.HTMLAttributes<HTMLMapGeometryElement>;
|
|
510
|
+
"map-input": LocalJSX.IntrinsicElements["map-input"] & JSXBase.HTMLAttributes<HTMLMapInputElement>;
|
|
511
|
+
"map-layer": LocalJSX.IntrinsicElements["map-layer"] & JSXBase.HTMLAttributes<HTMLMapLayerElement>;
|
|
512
|
+
"map-link": LocalJSX.IntrinsicElements["map-link"] & JSXBase.HTMLAttributes<HTMLMapLinkElement>;
|
|
513
|
+
"map-meta": LocalJSX.IntrinsicElements["map-meta"] & JSXBase.HTMLAttributes<HTMLMapMetaElement>;
|
|
514
|
+
"map-properties": LocalJSX.IntrinsicElements["map-properties"] & JSXBase.HTMLAttributes<HTMLMapPropertiesElement>;
|
|
515
|
+
"map-select": LocalJSX.IntrinsicElements["map-select"] & JSXBase.HTMLAttributes<HTMLMapSelectElement>;
|
|
516
|
+
"map-span": LocalJSX.IntrinsicElements["map-span"] & JSXBase.HTMLAttributes<HTMLMapSpanElement>;
|
|
517
|
+
"map-style": LocalJSX.IntrinsicElements["map-style"] & JSXBase.HTMLAttributes<HTMLMapStyleElement>;
|
|
518
|
+
"map-tile": LocalJSX.IntrinsicElements["map-tile"] & JSXBase.HTMLAttributes<HTMLMapTileElement>;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/types/gcds-ext-map.d.ts
|
|
2
|
+
|
|
3
|
+
export interface MapMLViewerElement extends HTMLElement {
|
|
4
|
+
whenLayersReady: () => Promise<void>;
|
|
5
|
+
layers: HTMLCollectionOf<Element>;
|
|
6
|
+
defineCustomProjection: (projection: string) => void;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// Global HTML element types for mapml-viewer
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'mapml-viewer': MapMLViewerElement;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface HTMLMapmlViewerElement extends MapMLViewerElement {}
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
export declare const locale: {
|
|
2
|
+
cmBack: string;
|
|
3
|
+
cmForward: string;
|
|
4
|
+
cmReload: string;
|
|
5
|
+
cmToggleControls: string;
|
|
6
|
+
cmCopyCoords: string;
|
|
7
|
+
cmToggleDebug: string;
|
|
8
|
+
cmCopyMapML: string;
|
|
9
|
+
cmCopyExtent: string;
|
|
10
|
+
cmCopyLocation: string;
|
|
11
|
+
cmPasteLayer: string;
|
|
12
|
+
cmViewSource: string;
|
|
13
|
+
lmZoomToLayer: string;
|
|
14
|
+
lmCopyLayer: string;
|
|
15
|
+
lmLayerSettings: string;
|
|
16
|
+
lmRemoveLayer: string;
|
|
17
|
+
lmZoomToExtent: string;
|
|
18
|
+
lmCopyExtent: string;
|
|
19
|
+
lmExtentSettings: string;
|
|
20
|
+
lmRemoveExtent: string;
|
|
21
|
+
lmStyle: string;
|
|
22
|
+
lcOpacity: string;
|
|
23
|
+
btnZoomIn: string;
|
|
24
|
+
btnZoomOut: string;
|
|
25
|
+
btnSearch: string;
|
|
26
|
+
btnSearchClose: string;
|
|
27
|
+
searchPlaceholder: string;
|
|
28
|
+
searchResultWithNoName: string;
|
|
29
|
+
btnAttribution: string;
|
|
30
|
+
btnFullScreen: string;
|
|
31
|
+
btnExitFullScreen: string;
|
|
32
|
+
btnLocTrackOn: string;
|
|
33
|
+
btnMyLocTrackOn: string;
|
|
34
|
+
btnLocTrackOff: string;
|
|
35
|
+
btnMyLastKnownLocTrackOn: string;
|
|
36
|
+
btnLocTrackLastKnown: string;
|
|
37
|
+
btnFocusMap: string;
|
|
38
|
+
btnFocusControls: string;
|
|
39
|
+
btnPrevFeature: string;
|
|
40
|
+
btnNextFeature: string;
|
|
41
|
+
amZoom: string;
|
|
42
|
+
amColumn: string;
|
|
43
|
+
amRow: string;
|
|
44
|
+
amMaxZoom: string;
|
|
45
|
+
amMinZoom: string;
|
|
46
|
+
amZoomedOut: string;
|
|
47
|
+
amDraggedOut: string;
|
|
48
|
+
amEastBound: string;
|
|
49
|
+
amWestBound: string;
|
|
50
|
+
amNorthBound: string;
|
|
51
|
+
amSouthBound: string;
|
|
52
|
+
kbdShortcuts: string;
|
|
53
|
+
kbdMovement: string;
|
|
54
|
+
kbdFeature: string;
|
|
55
|
+
kbdPanUp: string;
|
|
56
|
+
kbdPanDown: string;
|
|
57
|
+
kbdPanLeft: string;
|
|
58
|
+
kbdPanRight: string;
|
|
59
|
+
kbdPanIncrement: string;
|
|
60
|
+
kbdZoom: string;
|
|
61
|
+
kbdFocusMap: string;
|
|
62
|
+
kbdFocusControls: string;
|
|
63
|
+
kbdPrevFeature: string;
|
|
64
|
+
kbdNextFeature: string;
|
|
65
|
+
dfLayer: string;
|
|
66
|
+
dfExtent: string;
|
|
67
|
+
dfPastedLayer: string;
|
|
68
|
+
dfFeatureCaption: string;
|
|
69
|
+
popupZoom: string;
|
|
70
|
+
popupPropName: string;
|
|
71
|
+
popupPropValue: string;
|
|
72
|
+
fIndexNoFeatures: string;
|
|
73
|
+
};
|
|
74
|
+
export declare const localeFr: {
|
|
75
|
+
cmBack: string;
|
|
76
|
+
cmForward: string;
|
|
77
|
+
cmReload: string;
|
|
78
|
+
cmToggleControls: string;
|
|
79
|
+
cmCopyCoords: string;
|
|
80
|
+
cmToggleDebug: string;
|
|
81
|
+
cmCopyMapML: string;
|
|
82
|
+
cmCopyExtent: string;
|
|
83
|
+
cmCopyLocation: string;
|
|
84
|
+
cmPasteLayer: string;
|
|
85
|
+
cmViewSource: string;
|
|
86
|
+
lmZoomToLayer: string;
|
|
87
|
+
lmCopyLayer: string;
|
|
88
|
+
lmLayerSettings: string;
|
|
89
|
+
lmRemoveLayer: string;
|
|
90
|
+
lmZoomToExtent: string;
|
|
91
|
+
lmCopyExtent: string;
|
|
92
|
+
lmExtentSettings: string;
|
|
93
|
+
lmRemoveExtent: string;
|
|
94
|
+
lmStyle: string;
|
|
95
|
+
lcOpacity: string;
|
|
96
|
+
btnZoomIn: string;
|
|
97
|
+
btnZoomOut: string;
|
|
98
|
+
btnSearch: string;
|
|
99
|
+
btnSearchClose: string;
|
|
100
|
+
searchPlaceholder: string;
|
|
101
|
+
searchResultWithNoName: string;
|
|
102
|
+
btnAttribution: string;
|
|
103
|
+
btnFullScreen: string;
|
|
104
|
+
btnExitFullScreen: string;
|
|
105
|
+
btnLocTrackOn: string;
|
|
106
|
+
btnMyLocTrackOn: string;
|
|
107
|
+
btnLocTrackOff: string;
|
|
108
|
+
btnMyLastKnownLocTrackOn: string;
|
|
109
|
+
btnLocTrackLastKnown: string;
|
|
110
|
+
btnFocusMap: string;
|
|
111
|
+
btnFocusControls: string;
|
|
112
|
+
btnPrevFeature: string;
|
|
113
|
+
btnNextFeature: string;
|
|
114
|
+
amZoom: string;
|
|
115
|
+
amColumn: string;
|
|
116
|
+
amRow: string;
|
|
117
|
+
amMaxZoom: string;
|
|
118
|
+
amMinZoom: string;
|
|
119
|
+
amZoomedOut: string;
|
|
120
|
+
amDraggedOut: string;
|
|
121
|
+
amEastBound: string;
|
|
122
|
+
amWestBound: string;
|
|
123
|
+
amNorthBound: string;
|
|
124
|
+
amSouthBound: string;
|
|
125
|
+
kbdShortcuts: string;
|
|
126
|
+
kbdMovement: string;
|
|
127
|
+
kbdFeature: string;
|
|
128
|
+
kbdPanUp: string;
|
|
129
|
+
kbdPanDown: string;
|
|
130
|
+
kbdPanLeft: string;
|
|
131
|
+
kbdPanRight: string;
|
|
132
|
+
kbdPanIncrement: string;
|
|
133
|
+
kbdZoom: string;
|
|
134
|
+
kbdFocusMap: string;
|
|
135
|
+
kbdFocusControls: string;
|
|
136
|
+
kbdPrevFeature: string;
|
|
137
|
+
kbdNextFeature: string;
|
|
138
|
+
dfLayer: string;
|
|
139
|
+
dfExtent: string;
|
|
140
|
+
dfPastedLayer: string;
|
|
141
|
+
dfFeatureCaption: string;
|
|
142
|
+
popupZoom: string;
|
|
143
|
+
popupPropName: string;
|
|
144
|
+
popupPropValue: string;
|
|
145
|
+
fIndexNoFeatures: string;
|
|
146
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview entry point for your component library
|
|
3
|
+
*
|
|
4
|
+
* This is the entry point for your component library. Use this file to export utilities,
|
|
5
|
+
* constants or data structure that accompany your components.
|
|
6
|
+
*
|
|
7
|
+
* DO NOT use this file to export your components. Instead, use the recommended approaches
|
|
8
|
+
* to consume components of this package as outlined in the `README.md`.
|
|
9
|
+
*/
|
|
10
|
+
export type * from './components.d.ts';
|
|
11
|
+
export type * from './gcds-ext-map.d.ts';
|