@sanity/google-maps-input 2.30.2-shopify.0 → 3.0.0-studio-v3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +68 -2
  2. package/lib/cjs/index.js +902 -0
  3. package/lib/cjs/index.js.map +1 -0
  4. package/lib/esm/index.js +892 -0
  5. package/lib/esm/index.js.map +1 -0
  6. package/lib/types/index.d.ts +43 -0
  7. package/lib/types/index.d.ts.map +1 -0
  8. package/package.json +71 -19
  9. package/src/@types/css.d.ts +4 -0
  10. package/src/diff/GeopointArrayDiff.tsx +84 -0
  11. package/src/diff/GeopointFieldDiff.styles.tsx +20 -0
  12. package/src/diff/GeopointFieldDiff.tsx +95 -0
  13. package/src/diff/GeopointMove.tsx +48 -0
  14. package/src/diff/resolver.ts +21 -0
  15. package/src/global-workaround.ts +11 -0
  16. package/src/index.tsx +52 -0
  17. package/src/input/GeopointInput.styles.tsx +12 -0
  18. package/src/input/GeopointInput.tsx +176 -0
  19. package/src/input/GeopointSelect.tsx +78 -0
  20. package/src/loader/GoogleMapsLoadProxy.tsx +51 -0
  21. package/src/loader/LoadError.tsx +44 -0
  22. package/src/loader/loadGoogleMapsApi.ts +97 -0
  23. package/src/map/Arrow.tsx +76 -0
  24. package/src/map/Map.styles.tsx +10 -0
  25. package/src/map/Map.tsx +125 -0
  26. package/src/map/Marker.tsx +130 -0
  27. package/src/map/SearchInput.styles.tsx +8 -0
  28. package/src/map/SearchInput.tsx +56 -0
  29. package/src/map/util.ts +14 -0
  30. package/src/types.ts +19 -0
  31. package/.depcheckignore.json +0 -3
  32. package/config.dist.json +0 -9
  33. package/dist/dts/diff/GeopointArrayDiff.d.ts +0 -5
  34. package/dist/dts/diff/GeopointArrayDiff.d.ts.map +0 -1
  35. package/dist/dts/diff/GeopointFieldDiff.d.ts +0 -5
  36. package/dist/dts/diff/GeopointFieldDiff.d.ts.map +0 -1
  37. package/dist/dts/diff/GeopointFieldDiff.styles.d.ts +0 -2
  38. package/dist/dts/diff/GeopointFieldDiff.styles.d.ts.map +0 -1
  39. package/dist/dts/diff/GeopointMove.d.ts +0 -13
  40. package/dist/dts/diff/GeopointMove.d.ts.map +0 -1
  41. package/dist/dts/diff/resolver.d.ts +0 -4
  42. package/dist/dts/diff/resolver.d.ts.map +0 -1
  43. package/dist/dts/input/GeopointInput.d.ts +0 -40
  44. package/dist/dts/input/GeopointInput.d.ts.map +0 -1
  45. package/dist/dts/input/GeopointInput.styles.d.ts +0 -3
  46. package/dist/dts/input/GeopointInput.styles.d.ts.map +0 -1
  47. package/dist/dts/input/GeopointSelect.d.ts +0 -28
  48. package/dist/dts/input/GeopointSelect.d.ts.map +0 -1
  49. package/dist/dts/loader/GoogleMapsLoadProxy.d.ts +0 -14
  50. package/dist/dts/loader/GoogleMapsLoadProxy.d.ts.map +0 -1
  51. package/dist/dts/loader/LoadError.d.ts +0 -10
  52. package/dist/dts/loader/LoadError.d.ts.map +0 -1
  53. package/dist/dts/loader/loadGoogleMapsApi.d.ts +0 -18
  54. package/dist/dts/loader/loadGoogleMapsApi.d.ts.map +0 -1
  55. package/dist/dts/map/Arrow.d.ts +0 -29
  56. package/dist/dts/map/Arrow.d.ts.map +0 -1
  57. package/dist/dts/map/Map.d.ts +0 -37
  58. package/dist/dts/map/Map.d.ts.map +0 -1
  59. package/dist/dts/map/Map.styles.d.ts +0 -2
  60. package/dist/dts/map/Map.styles.d.ts.map +0 -1
  61. package/dist/dts/map/Marker.d.ts +0 -36
  62. package/dist/dts/map/Marker.d.ts.map +0 -1
  63. package/dist/dts/map/SearchInput.d.ts +0 -16
  64. package/dist/dts/map/SearchInput.d.ts.map +0 -1
  65. package/dist/dts/map/SearchInput.styles.d.ts +0 -2
  66. package/dist/dts/map/SearchInput.styles.d.ts.map +0 -1
  67. package/dist/dts/map/util.d.ts +0 -4
  68. package/dist/dts/map/util.d.ts.map +0 -1
  69. package/dist/dts/types.d.ts +0 -14
  70. package/dist/dts/types.d.ts.map +0 -1
  71. package/lib/@types/css.d.js +0 -1
  72. package/lib/diff/GeopointArrayDiff.js +0 -82
  73. package/lib/diff/GeopointFieldDiff.js +0 -97
  74. package/lib/diff/GeopointFieldDiff.styles.js +0 -18
  75. package/lib/diff/GeopointMove.js +0 -55
  76. package/lib/diff/resolver.js +0 -27
  77. package/lib/input/GeopointInput.js +0 -194
  78. package/lib/input/GeopointInput.styles.js +0 -22
  79. package/lib/input/GeopointSelect.js +0 -103
  80. package/lib/loader/GoogleMapsLoadProxy.js +0 -70
  81. package/lib/loader/LoadError.js +0 -43
  82. package/lib/loader/loadGoogleMapsApi.js +0 -81
  83. package/lib/map/Arrow.js +0 -97
  84. package/lib/map/Map.js +0 -147
  85. package/lib/map/Map.styles.js +0 -18
  86. package/lib/map/Marker.js +0 -156
  87. package/lib/map/SearchInput.js +0 -77
  88. package/lib/map/SearchInput.styles.js +0 -18
  89. package/lib/map/util.js +0 -14
  90. package/lib/types.js +0 -5
  91. package/sanity.json +0 -18
  92. package/tsconfig.json +0 -20
@@ -0,0 +1,130 @@
1
+ import * as React from 'react'
2
+ import {LatLng} from '../types'
3
+ import {latLngAreEqual} from './util'
4
+
5
+ const markerPath =
6
+ 'M 3.052 3.7 C 1.56 5.293 0.626 7.612 0.663 9.793 C 0.738 14.352 2.793 16.077 6.078 22.351 C 7.263 25.111 8.497 28.032 9.672 32.871 C 9.835 33.584 9.994 34.246 10.069 34.305 C 10.143 34.362 10.301 33.697 10.465 32.983 C 11.639 28.145 12.875 25.226 14.059 22.466 C 17.344 16.192 19.398 14.466 19.474 9.908 C 19.511 7.727 18.574 5.405 17.083 3.814 C 15.379 1.994 12.809 0.649 10.069 0.593 C 7.328 0.536 4.756 1.882 3.052 3.7 Z'
7
+
8
+ interface Props {
9
+ api: typeof window.google.maps
10
+ map: google.maps.Map
11
+ onMove?: (event: google.maps.MapMouseEvent) => void
12
+ onClick?: (event: google.maps.MapMouseEvent) => void
13
+ position: LatLng | google.maps.LatLng
14
+ zIndex?: number
15
+ opacity?: number
16
+ label?: string
17
+ markerRef?: React.MutableRefObject<google.maps.Marker | undefined>
18
+ color?: {background: string; border: string; text: string}
19
+ }
20
+
21
+ export class Marker extends React.PureComponent<Props> {
22
+ marker: google.maps.Marker | undefined
23
+
24
+ eventHandlers: {
25
+ move?: google.maps.MapsEventListener
26
+ click?: google.maps.MapsEventListener
27
+ } = {}
28
+
29
+ componentDidMount() {
30
+ const {position, api, map, onMove, zIndex, opacity, label, markerRef, color} = this.props
31
+ const {Marker: GMarker} = api
32
+
33
+ let icon: google.maps.Symbol | undefined
34
+ if (color) {
35
+ icon = {
36
+ path: markerPath,
37
+ fillOpacity: 1,
38
+ fillColor: color.background,
39
+ strokeColor: color.border,
40
+ strokeWeight: 2,
41
+ anchor: new api.Point(10, 35),
42
+ labelOrigin: new api.Point(10, 11),
43
+ }
44
+ }
45
+
46
+ this.marker = new GMarker({
47
+ draggable: Boolean(onMove),
48
+ position,
49
+ map,
50
+ zIndex,
51
+ opacity,
52
+ label,
53
+ icon,
54
+ })
55
+
56
+ if (markerRef) {
57
+ markerRef.current = this.marker
58
+ }
59
+
60
+ this.attachMoveHandler()
61
+ this.attachClickHandler()
62
+ }
63
+
64
+ componentDidUpdate(prevProps: Props) {
65
+ if (!this.marker) {
66
+ return
67
+ }
68
+
69
+ const {position, onMove, label, zIndex, opacity, map} = this.props
70
+
71
+ if (prevProps.onMove !== onMove) {
72
+ this.attachMoveHandler()
73
+ }
74
+
75
+ if (!latLngAreEqual(prevProps.position, position)) {
76
+ this.marker.setPosition(position)
77
+ }
78
+
79
+ if (prevProps.label !== label) {
80
+ this.marker.setLabel(label || null)
81
+ }
82
+
83
+ if (prevProps.zIndex !== zIndex) {
84
+ this.marker.setZIndex(zIndex || null)
85
+ }
86
+
87
+ if (prevProps.opacity !== opacity) {
88
+ this.marker.setOpacity(opacity || null)
89
+ }
90
+
91
+ if (prevProps.map !== map) {
92
+ this.marker.setMap(map)
93
+ }
94
+ }
95
+
96
+ componentWillUnmount() {
97
+ if (this.eventHandlers.move) {
98
+ this.eventHandlers.move.remove()
99
+ }
100
+
101
+ if (this.marker) {
102
+ this.marker.setMap(null)
103
+ }
104
+ }
105
+
106
+ attachMoveHandler() {
107
+ const {api, onMove} = this.props
108
+ if (this.eventHandlers.move) {
109
+ this.eventHandlers.move.remove()
110
+ }
111
+ if (this.marker && onMove) {
112
+ this.eventHandlers.move = api.event.addListener(this.marker, 'dragend', onMove)
113
+ }
114
+ }
115
+
116
+ attachClickHandler() {
117
+ const {api, onClick} = this.props
118
+ if (this.eventHandlers.click) {
119
+ this.eventHandlers.click.remove()
120
+ }
121
+ if (this.marker && onClick) {
122
+ this.eventHandlers.click = api.event.addListener(this.marker, 'click', onClick)
123
+ }
124
+ }
125
+
126
+ // eslint-disable-next-line class-methods-use-this
127
+ render(): any {
128
+ return null
129
+ }
130
+ }
@@ -0,0 +1,8 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const WrapperContainer = styled.div`
4
+ position: absolute;
5
+ right: 10px;
6
+ top: 10px;
7
+ width: 220px;
8
+ `
@@ -0,0 +1,56 @@
1
+ import * as React from 'react'
2
+ import {TextInput} from '@sanity/ui'
3
+ import {WrapperContainer} from './SearchInput.styles'
4
+
5
+ interface Props {
6
+ api: typeof window.google.maps
7
+ map: google.maps.Map
8
+ onChange: (result: google.maps.places.PlaceResult) => void
9
+ }
10
+
11
+ export class SearchInput extends React.PureComponent<Props> {
12
+ searchInputRef = React.createRef<HTMLInputElement>()
13
+ autoComplete: google.maps.places.Autocomplete | undefined
14
+
15
+ handleChange = () => {
16
+ if (!this.autoComplete) {
17
+ return
18
+ }
19
+
20
+ this.props.onChange(this.autoComplete.getPlace())
21
+
22
+ if (this.searchInputRef.current) {
23
+ this.searchInputRef.current.value = ''
24
+ }
25
+ }
26
+
27
+ componentDidMount() {
28
+ const input = this.searchInputRef.current
29
+ if (!input) {
30
+ return
31
+ }
32
+
33
+ const {api, map} = this.props
34
+ const {Circle, places, event} = api
35
+ const searchBounds = new Circle({center: map.getCenter(), radius: 100}).getBounds()!
36
+ this.autoComplete = new places.Autocomplete(input, {
37
+ bounds: searchBounds,
38
+ types: [], // return all kinds of places
39
+ })
40
+
41
+ event.addListener(this.autoComplete, 'place_changed', this.handleChange)
42
+ }
43
+
44
+ render() {
45
+ return (
46
+ <WrapperContainer>
47
+ <TextInput
48
+ name="place"
49
+ ref={this.searchInputRef}
50
+ placeholder="Search for place or address"
51
+ padding={4}
52
+ />
53
+ </WrapperContainer>
54
+ )
55
+ }
56
+ }
@@ -0,0 +1,14 @@
1
+ import {LatLng} from '../types'
2
+
3
+ export function latLngAreEqual(
4
+ latLng1: LatLng | google.maps.LatLng,
5
+ latLng2: LatLng | google.maps.LatLng
6
+ ): boolean {
7
+ const lat1 = typeof latLng1.lat === 'function' ? latLng1.lat() : latLng1.lat
8
+ const lng1 = typeof latLng1.lng === 'function' ? latLng1.lng() : latLng1.lng
9
+
10
+ const lat2 = typeof latLng2.lat === 'function' ? latLng2.lat() : latLng2.lat
11
+ const lng2 = typeof latLng2.lng === 'function' ? latLng2.lng() : latLng2.lng
12
+
13
+ return lat1 === lat2 && lng1 === lng2
14
+ }
package/src/types.ts ADDED
@@ -0,0 +1,19 @@
1
+ import {DiffComponent, DiffComponentOptions, ObjectDiff} from 'sanity/_unstable'
2
+ import {ObjectSchemaType} from 'sanity'
3
+
4
+ export interface LatLng {
5
+ lat: number
6
+ lng: number
7
+ }
8
+
9
+ export interface Geopoint {
10
+ _type: 'geopoint'
11
+ _key?: string
12
+ lat: number
13
+ lng: number
14
+ alt?: number
15
+ }
16
+
17
+ export interface GeopointSchemaType extends ObjectSchemaType {
18
+ diffComponent?: DiffComponent<ObjectDiff<Geopoint>> | DiffComponentOptions<ObjectDiff<Geopoint>>
19
+ }
@@ -1,3 +0,0 @@
1
- {
2
- "ignore": ["@types/googlemaps"]
3
- }
package/config.dist.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "apiKey": null,
3
- "defaultZoom": 11,
4
- "defaultLocale": null,
5
- "defaultLocation": {
6
- "lat": 40.7058254,
7
- "lng": -74.1180863
8
- }
9
- }
@@ -1,5 +0,0 @@
1
- import { ArrayDiff, DiffProps as GenericDiffProps, DiffComponent } from '@sanity/field/diff';
2
- import { Geopoint } from '../types';
3
- export declare type DiffProps = GenericDiffProps<ArrayDiff<Geopoint>>;
4
- export declare const GeopointArrayDiff: DiffComponent<ArrayDiff<Geopoint>>;
5
- //# sourceMappingURL=GeopointArrayDiff.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeopointArrayDiff.d.ts","sourceRoot":"","sources":["../../../src/diff/GeopointArrayDiff.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EAGT,SAAS,IAAI,gBAAgB,EAC7B,aAAa,EACd,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EAAC,QAAQ,EAAC,MAAM,UAAU,CAAA;AAIjC,oBAAY,SAAS,GAAG,gBAAgB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAA;AAE7D,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,CAQhE,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DiffComponent, ObjectDiff, DiffProps as GenericDiffProps } from '@sanity/field/diff';
2
- import { Geopoint } from '../types';
3
- export declare type DiffProps = GenericDiffProps<ObjectDiff<Geopoint>>;
4
- export declare const GeopointFieldDiff: DiffComponent<ObjectDiff<Geopoint>>;
5
- //# sourceMappingURL=GeopointFieldDiff.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeopointFieldDiff.d.ts","sourceRoot":"","sources":["../../../src/diff/GeopointFieldDiff.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,UAAU,EACV,SAAS,IAAI,gBAAgB,EAG9B,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EAAC,QAAQ,EAAC,MAAM,UAAU,CAAA;AAIjC,oBAAY,SAAS,GAAG,gBAAgB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAA;AAE9D,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,UAAU,CAAC,QAAQ,CAAC,CAQjE,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const RootContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- //# sourceMappingURL=GeopointFieldDiff.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeopointFieldDiff.styles.d.ts","sourceRoot":"","sources":["../../../src/diff/GeopointFieldDiff.styles.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAiBzB,CAAA"}
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- /// <reference types="googlemaps" />
3
- import { ObjectDiff } from '@sanity/field/diff';
4
- import { Geopoint } from '../types';
5
- interface Props {
6
- api: typeof window.google.maps;
7
- map: google.maps.Map;
8
- diff: ObjectDiff<Geopoint>;
9
- label?: string;
10
- }
11
- export declare function GeopointMove({ diff, api, map, label }: Props): JSX.Element;
12
- export {};
13
- //# sourceMappingURL=GeopointMove.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeopointMove.d.ts","sourceRoot":"","sources":["../../../src/diff/GeopointMove.tsx"],"names":[],"mappings":";;AAEA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAA;AAG7C,OAAO,EAAC,QAAQ,EAAC,MAAM,UAAU,CAAA;AAEjC,UAAU,KAAK;IACb,GAAG,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAA;IAC9B,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAA;IACpB,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,YAAY,CAAC,EAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAC,EAAE,KAAK,eAkC1D"}
@@ -1,4 +0,0 @@
1
- import { DiffComponentResolver } from '@sanity/field/diff';
2
- declare const diffResolver: DiffComponentResolver;
3
- export default diffResolver;
4
- //# sourceMappingURL=resolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../src/diff/resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAA;AAIxD,QAAA,MAAM,YAAY,EAAE,qBAcnB,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,40 +0,0 @@
1
- /// <reference types="googlemaps" />
2
- import React from 'react';
3
- import { Path, Marker } from '@sanity/types';
4
- import { FormFieldPresence } from '@sanity/base/presence';
5
- import { Geopoint, GeopointSchemaType } from '../types';
6
- interface InputProps {
7
- markers: Marker[];
8
- level?: number;
9
- value?: Geopoint;
10
- compareValue?: Geopoint;
11
- type: GeopointSchemaType;
12
- readOnly?: boolean;
13
- onFocus: (path: Path) => void;
14
- onBlur: () => void;
15
- onChange: (patchEvent: unknown) => void;
16
- presence: FormFieldPresence[];
17
- }
18
- declare type Focusable = any;
19
- interface InputState {
20
- modalOpen: boolean;
21
- }
22
- declare class GeopointInput extends React.PureComponent<InputProps, InputState> {
23
- _geopointInputId: string;
24
- static defaultProps: {
25
- markers: never[];
26
- };
27
- editButton: Focusable | undefined;
28
- constructor(props: any);
29
- setEditButton: (el: Focusable) => void;
30
- focus(): void;
31
- handleFocus: (event: any) => void;
32
- handleBlur: () => void;
33
- handleToggleModal: () => void;
34
- handleCloseModal: () => void;
35
- handleChange: (latLng: google.maps.LatLng) => void;
36
- handleClear: () => void;
37
- render(): JSX.Element;
38
- }
39
- export default GeopointInput;
40
- //# sourceMappingURL=GeopointInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeopointInput.d.ts","sourceRoot":"","sources":["../../../src/input/GeopointInput.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAC,IAAI,EAAE,MAAM,EAAC,MAAM,eAAe,CAAA;AAG1C,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AAIvD,OAAO,EAAC,QAAQ,EAAE,kBAAkB,EAAC,MAAM,UAAU,CAAA;AAsBrD,UAAU,UAAU;IAClB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,QAAQ,CAAA;IAChB,YAAY,CAAC,EAAE,QAAQ,CAAA;IACvB,IAAI,EAAE,kBAAkB,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAA;IAC7B,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAA;IACvC,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B;AAMD,aAAK,SAAS,GAAG,GAAG,CAAA;AAEpB,UAAU,UAAU;IAClB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,cAAM,aAAc,SAAQ,KAAK,CAAC,aAAa,CAAC,UAAU,EAAE,UAAU,CAAC;IACrE,gBAAgB,SAA4B;IAE5C,MAAM,CAAC,YAAY;;MAElB;IAED,UAAU,EAAE,SAAS,GAAG,SAAS,CAAA;gBAErB,KAAK,KAAA;IAQjB,aAAa,OAAQ,SAAS,UAE7B;IAED,KAAK;IAML,WAAW,uBAEV;IAED,UAAU,aAET;IAED,iBAAiB,aAYhB;IAED,gBAAgB,aAEf;IAED,YAAY,WAAY,OAAO,IAAI,CAAC,MAAM,UAWzC;IAED,WAAW,aAGV;IAED,MAAM;CAkGP;AAED,eAAe,aAAa,CAAA"}
@@ -1,3 +0,0 @@
1
- export declare const PreviewImage: import("styled-components").StyledComponent<"img", any, {}, never>;
2
- export declare const DialogInnerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- //# sourceMappingURL=GeopointInput.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeopointInput.styles.d.ts","sourceRoot":"","sources":["../../../src/input/GeopointInput.styles.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,oEAIxB,CAAA;AAED,eAAO,MAAM,oBAAoB,oEAGhC,CAAA"}
@@ -1,28 +0,0 @@
1
- /// <reference types="googlemaps" />
2
- import React from 'react';
3
- import { LatLng, Geopoint } from '../types';
4
- interface SelectProps {
5
- api: typeof window.google.maps;
6
- value?: Geopoint;
7
- onChange?: (latLng: google.maps.LatLng) => void;
8
- defaultLocation?: LatLng;
9
- defaultZoom?: number;
10
- }
11
- export declare class GeopointSelect extends React.PureComponent<SelectProps> {
12
- static defaultProps: {
13
- defaultZoom: number;
14
- defaultLocation: {
15
- lng: number;
16
- lat: number;
17
- };
18
- };
19
- mapRef: React.RefObject<HTMLDivElement>;
20
- getCenter(): LatLng;
21
- handlePlaceChanged: (place: google.maps.places.PlaceResult) => void;
22
- handleMarkerDragEnd: (event: google.maps.MapMouseEvent) => void;
23
- handleMapClick: (event: google.maps.MapMouseEvent) => void;
24
- setValue(geoPoint: google.maps.LatLng): void;
25
- render(): JSX.Element;
26
- }
27
- export {};
28
- //# sourceMappingURL=GeopointSelect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeopointSelect.d.ts","sourceRoot":"","sources":["../../../src/input/GeopointSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM,UAAU,CAAA;AAIzC,UAAU,WAAW;IACnB,GAAG,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAA;IAC9B,KAAK,CAAC,EAAE,QAAQ,CAAA;IAChB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,KAAK,IAAI,CAAA;IAC/C,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,qBAAa,cAAe,SAAQ,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC;IAClE,MAAM,CAAC,YAAY;;;;;;MAGlB;IAED,MAAM,kCAAoC;IAE1C,SAAS;IAMT,kBAAkB,UAAW,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,UAM1D;IAED,mBAAmB,UAAW,OAAO,IAAI,CAAC,aAAa,UAEtD;IAED,cAAc,UAAW,OAAO,IAAI,CAAC,aAAa,UAEjD;IAED,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM;IAMrC,MAAM;CAyBP"}
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { Subscription } from 'rxjs';
3
- import { GoogleLoadState } from './loadGoogleMapsApi';
4
- interface LoadProps {
5
- children: (api: typeof window.google.maps) => React.ReactElement;
6
- }
7
- export declare class GoogleMapsLoadProxy extends React.Component<LoadProps, GoogleLoadState> {
8
- loadSubscription: Subscription | undefined;
9
- constructor(props: LoadProps);
10
- componentWillUnmount(): void;
11
- render(): JSX.Element | null;
12
- }
13
- export {};
14
- //# sourceMappingURL=GoogleMapsLoadProxy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GoogleMapsLoadProxy.d.ts","sourceRoot":"","sources":["../../../src/loader/GoogleMapsLoadProxy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAA;AACjC,OAAO,EAAoB,eAAe,EAAC,MAAM,qBAAqB,CAAA;AAGtE,UAAU,SAAS;IACjB,QAAQ,EAAE,CAAC,GAAG,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK,CAAC,YAAY,CAAA;CACjE;AAED,qBAAa,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,SAAS,EAAE,eAAe,CAAC;IAClF,gBAAgB,EAAE,YAAY,GAAG,SAAS,CAAA;gBAE9B,KAAK,EAAE,SAAS;IAgB5B,oBAAoB;IAMpB,MAAM;CAcP"}
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- declare type Props = {
3
- error: Error;
4
- isAuthError: false;
5
- } | {
6
- isAuthError: true;
7
- };
8
- export declare function LoadError(props: Props): JSX.Element;
9
- export {};
10
- //# sourceMappingURL=LoadError.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoadError.d.ts","sourceRoot":"","sources":["../../../src/loader/LoadError.tsx"],"names":[],"mappings":";AAGA,aAAK,KAAK,GAAG;IAAC,KAAK,EAAE,KAAK,CAAC;IAAC,WAAW,EAAE,KAAK,CAAA;CAAC,GAAG;IAAC,WAAW,EAAE,IAAI,CAAA;CAAC,CAAA;AAErE,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,eAuBrC"}
@@ -1,18 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- export interface LoadingState {
3
- loadState: 'loading';
4
- }
5
- export interface LoadedState {
6
- loadState: 'loaded';
7
- api: typeof window.google.maps;
8
- }
9
- export interface LoadErrorState {
10
- loadState: 'loadError';
11
- error: Error;
12
- }
13
- export interface AuthErrorState {
14
- loadState: 'authError';
15
- }
16
- export declare type GoogleLoadState = LoadingState | LoadedState | LoadErrorState | AuthErrorState;
17
- export declare function loadGoogleMapsApi(): Observable<GoogleLoadState>;
18
- //# sourceMappingURL=loadGoogleMapsApi.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadGoogleMapsApi.d.ts","sourceRoot":"","sources":["../../../src/loader/loadGoogleMapsApi.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,UAAU,EAAkB,MAAM,MAAM,CAAA;AAOhD,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,QAAQ,CAAA;IACnB,GAAG,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAA;CAC/B;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,WAAW,CAAA;IACtB,KAAK,EAAE,KAAK,CAAA;CACb;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,WAAW,CAAA;CACvB;AAED,oBAAY,eAAe,GAAG,YAAY,GAAG,WAAW,GAAG,cAAc,GAAG,cAAc,CAAA;AAI1F,wBAAgB,iBAAiB,IAAI,UAAU,CAAC,eAAe,CAAC,CAoC/D"}
@@ -1,29 +0,0 @@
1
- /// <reference types="googlemaps" />
2
- import * as React from 'react';
3
- import { LatLng } from '../types';
4
- interface Props {
5
- api: typeof window.google.maps;
6
- map: google.maps.Map;
7
- from: LatLng;
8
- to: LatLng;
9
- color?: {
10
- background: string;
11
- border: string;
12
- text: string;
13
- };
14
- zIndex?: number;
15
- arrowRef?: React.MutableRefObject<google.maps.Polyline | undefined>;
16
- onClick?: (event: google.maps.MapMouseEvent) => void;
17
- }
18
- export declare class Arrow extends React.PureComponent<Props> {
19
- line: google.maps.Polyline | undefined;
20
- eventHandlers: {
21
- click?: google.maps.MapsEventListener;
22
- };
23
- componentDidMount(): void;
24
- componentDidUpdate(prevProps: Props): void;
25
- componentWillUnmount(): void;
26
- render(): null;
27
- }
28
- export {};
29
- //# sourceMappingURL=Arrow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Arrow.d.ts","sourceRoot":"","sources":["../../../src/map/Arrow.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAG/B,UAAU,KAAK;IACb,GAAG,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAA;IAC9B,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAA;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAA;IACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,KAAK,IAAI,CAAA;CACrD;AAED,qBAAa,KAAM,SAAQ,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;IACnD,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAA;IAEtC,aAAa,EAAE;QACb,KAAK,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAA;KACtC,CAAK;IAEN,iBAAiB;IAwBjB,kBAAkB,CAAC,SAAS,EAAE,KAAK;IAenC,oBAAoB;IAWpB,MAAM;CAGP"}
@@ -1,37 +0,0 @@
1
- /// <reference types="googlemaps" />
2
- import React from 'react';
3
- import { LatLng } from '../types';
4
- interface MapProps {
5
- api: typeof window.google.maps;
6
- location: LatLng;
7
- bounds?: google.maps.LatLngBounds;
8
- defaultZoom?: number;
9
- mapTypeControl?: boolean;
10
- scrollWheel?: boolean;
11
- controlSize?: number;
12
- onClick?: (event: google.maps.MapMouseEvent) => void;
13
- children?: (map: google.maps.Map) => React.ReactElement;
14
- }
15
- interface MapState {
16
- map: google.maps.Map | undefined;
17
- }
18
- export declare class GoogleMap extends React.PureComponent<MapProps, MapState> {
19
- static defaultProps: {
20
- defaultZoom: number;
21
- scrollWheel: boolean;
22
- };
23
- state: MapState;
24
- clickHandler: google.maps.MapsEventListener | undefined;
25
- mapRef: React.RefObject<HTMLDivElement>;
26
- mapEl: HTMLDivElement | null;
27
- componentDidMount(): void;
28
- attachClickHandler: () => void;
29
- componentDidUpdate(prevProps: MapProps): void;
30
- componentWillUnmount(): void;
31
- getCenter(): google.maps.LatLng;
32
- constructMap(el: HTMLDivElement): google.maps.Map<HTMLDivElement>;
33
- setMapElement: (element: HTMLDivElement | null) => void;
34
- render(): JSX.Element;
35
- }
36
- export {};
37
- //# sourceMappingURL=Map.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../src/map/Map.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAI/B,UAAU,QAAQ;IAChB,GAAG,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAA;IAC9B,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,YAAY,CAAA;IACjC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,KAAK,IAAI,CAAA;IACpD,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,KAAK,CAAC,YAAY,CAAA;CACxD;AAED,UAAU,QAAQ;IAChB,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,SAAS,CAAA;CACjC;AAED,qBAAa,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC;IACpE,MAAM,CAAC,YAAY;;;MAGlB;IAED,KAAK,EAAE,QAAQ,CAAmB;IAClC,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,iBAAiB,GAAG,SAAS,CAAA;IACvD,MAAM,kCAAoC;IAC1C,KAAK,EAAE,cAAc,GAAG,IAAI,CAAO;IAEnC,iBAAiB;IAIjB,kBAAkB,aAgBjB;IAED,kBAAkB,CAAC,SAAS,EAAE,QAAQ;IAqBtC,oBAAoB;IAMpB,SAAS,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM;IAK/B,YAAY,CAAC,EAAE,EAAE,cAAc;IAmB/B,aAAa,YAAa,cAAc,GAAG,IAAI,UAO9C;IAED,MAAM;CAUP"}
@@ -1,2 +0,0 @@
1
- export declare const MapContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- //# sourceMappingURL=Map.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Map.styles.d.ts","sourceRoot":"","sources":["../../../src/map/Map.styles.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,oEAOxB,CAAA"}
@@ -1,36 +0,0 @@
1
- /// <reference types="googlemaps" />
2
- import * as React from 'react';
3
- import { LatLng } from '../types';
4
- interface Props {
5
- api: typeof window.google.maps;
6
- map: google.maps.Map;
7
- onMove?: (event: google.maps.MapMouseEvent) => void;
8
- onClick?: (event: google.maps.MapMouseEvent) => void;
9
- onMouseOver?: (event: google.maps.MapMouseEvent) => void;
10
- onMouseOut?: (event: google.maps.MapMouseEvent) => void;
11
- position: LatLng | google.maps.LatLng;
12
- zIndex?: number;
13
- opacity?: number;
14
- label?: string;
15
- markerRef?: React.MutableRefObject<google.maps.Marker | undefined>;
16
- color?: {
17
- background: string;
18
- border: string;
19
- text: string;
20
- };
21
- }
22
- export declare class Marker extends React.PureComponent<Props> {
23
- marker: google.maps.Marker | undefined;
24
- eventHandlers: {
25
- move?: google.maps.MapsEventListener;
26
- click?: google.maps.MapsEventListener;
27
- };
28
- componentDidMount(): void;
29
- componentDidUpdate(prevProps: Props): void;
30
- componentWillUnmount(): void;
31
- attachMoveHandler(): void;
32
- attachClickHandler(): void;
33
- render(): null;
34
- }
35
- export {};
36
- //# sourceMappingURL=Marker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Marker.d.ts","sourceRoot":"","sources":["../../../src/map/Marker.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAM/B,UAAU,KAAK;IACb,GAAG,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAA;IAC9B,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAA;IACpB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,KAAK,IAAI,CAAA;IACnD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,KAAK,IAAI,CAAA;IACpD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,KAAK,IAAI,CAAA;IACxD,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,KAAK,IAAI,CAAA;IACvD,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAClE,KAAK,CAAC,EAAE;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAA;CAC3D;AAED,qBAAa,MAAO,SAAQ,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;IACpD,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,GAAG,SAAS,CAAA;IAEtC,aAAa,EAAE;QACb,IAAI,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAA;QACpC,KAAK,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAA;KACtC,CAAK;IAEN,iBAAiB;IAmCjB,kBAAkB,CAAC,SAAS,EAAE,KAAK;IAgCnC,oBAAoB;IAUpB,iBAAiB;IAUjB,kBAAkB;IAWlB,MAAM;CAGP"}
@@ -1,16 +0,0 @@
1
- /// <reference types="googlemaps" />
2
- import * as React from 'react';
3
- interface Props {
4
- api: typeof window.google.maps;
5
- map: google.maps.Map;
6
- onChange: (result: google.maps.places.PlaceResult) => void;
7
- }
8
- export declare class SearchInput extends React.PureComponent<Props> {
9
- searchInputRef: React.RefObject<HTMLInputElement>;
10
- autoComplete: google.maps.places.Autocomplete | undefined;
11
- handleChange: () => void;
12
- componentDidMount(): void;
13
- render(): JSX.Element;
14
- }
15
- export {};
16
- //# sourceMappingURL=SearchInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/map/SearchInput.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,UAAU,KAAK;IACb,GAAG,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAA;IAC9B,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAA;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,KAAK,IAAI,CAAA;CAC3D;AAED,qBAAa,WAAY,SAAQ,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;IACzD,cAAc,oCAAsC;IACpD,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,GAAG,SAAS,CAAA;IAEzD,YAAY,aAUX;IAED,iBAAiB;IAiBjB,MAAM;CAYP"}
@@ -1,2 +0,0 @@
1
- export declare const WrapperContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- //# sourceMappingURL=SearchInput.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchInput.styles.d.ts","sourceRoot":"","sources":["../../../src/map/SearchInput.styles.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,oEAK5B,CAAA"}
@@ -1,4 +0,0 @@
1
- /// <reference types="googlemaps" />
2
- import { LatLng } from '../types';
3
- export declare function latLngAreEqual(latLng1: LatLng | google.maps.LatLng, latLng2: LatLng | google.maps.LatLng): boolean;
4
- //# sourceMappingURL=util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/map/util.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAE/B,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,EACpC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,WASrC"}
@@ -1,14 +0,0 @@
1
- import { ObjectSchemaType } from '@sanity/field/diff';
2
- export interface LatLng {
3
- lat: number;
4
- lng: number;
5
- }
6
- export interface Geopoint {
7
- _type: 'geopoint';
8
- _key?: string;
9
- lat: number;
10
- lng: number;
11
- alt?: number;
12
- }
13
- export declare type GeopointSchemaType = ObjectSchemaType<Geopoint>;
14
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAA;AAEnD,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,UAAU,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,oBAAY,kBAAkB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAA"}
@@ -1 +0,0 @@
1
- "use strict";