@mappedin/viewer 0.35.2-76b3787.0 → 0.35.2-826fca7.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/dist/index.js +37780 -36318
- package/dist/types/src/components/carousel/nav-chevrons.d.ts +8 -8
- package/dist/types/src/components/common/fullscreen-overlay.d.ts +8 -8
- package/dist/types/src/components/directions/warning-text.d.ts +283 -0
- package/dist/types/src/components/icon/icon.stories.d.ts +1 -0
- package/dist/types/src/components/icon/index.d.ts +2 -1
- package/dist/types/src/components/positioner/index.d.ts +1 -1
- package/dist/types/src/components/search-results/search-result.d.ts +8 -8
- package/dist/types/src/components/with-content/index.d.ts +8 -8
- package/dist/types/src/lib/hooks/use-ui-state.d.ts +4 -0
- package/dist/types/src/lib/utils/icon-utils.d.ts +12 -0
- package/dist/types/src/stores/message-store/utils.d.ts +8 -8
- package/dist/types/src/stores/ui-store/index.d.ts +1 -1
- package/package.json +3 -2
- package/dist/types/src/lib/safety-icons.d.ts +0 -230
|
@@ -6,6 +6,13 @@ export declare const SideNavButton: import("styled-components").IStyledComponent
|
|
|
6
6
|
slot?: string | undefined | undefined;
|
|
7
7
|
style?: import("react").CSSProperties | undefined;
|
|
8
8
|
title?: string | undefined | undefined;
|
|
9
|
+
className?: string | undefined | undefined;
|
|
10
|
+
id?: string | undefined | undefined;
|
|
11
|
+
prefix?: string | undefined | undefined;
|
|
12
|
+
role?: import("react").AriaRole | undefined;
|
|
13
|
+
children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
|
|
14
|
+
nonce?: string | undefined | undefined;
|
|
15
|
+
tabIndex?: number | undefined | undefined;
|
|
9
16
|
key?: import("react").Key | null | undefined;
|
|
10
17
|
defaultChecked?: boolean | undefined | undefined;
|
|
11
18
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -14,25 +21,19 @@ export declare const SideNavButton: import("styled-components").IStyledComponent
|
|
|
14
21
|
accessKey?: string | undefined | undefined;
|
|
15
22
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
16
23
|
autoFocus?: boolean | undefined | undefined;
|
|
17
|
-
|
|
18
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
24
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
19
25
|
contextMenu?: string | undefined | undefined;
|
|
20
26
|
dir?: string | undefined | undefined;
|
|
21
27
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
22
28
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
23
|
-
id?: string | undefined | undefined;
|
|
24
29
|
lang?: string | undefined | undefined;
|
|
25
|
-
nonce?: string | undefined | undefined;
|
|
26
30
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
27
|
-
tabIndex?: number | undefined | undefined;
|
|
28
31
|
translate?: "yes" | "no" | undefined | undefined;
|
|
29
32
|
radioGroup?: string | undefined | undefined;
|
|
30
|
-
role?: import("react").AriaRole | undefined;
|
|
31
33
|
about?: string | undefined | undefined;
|
|
32
34
|
content?: string | undefined | undefined;
|
|
33
35
|
datatype?: string | undefined | undefined;
|
|
34
36
|
inlist?: any;
|
|
35
|
-
prefix?: string | undefined | undefined;
|
|
36
37
|
property?: string | undefined | undefined;
|
|
37
38
|
rel?: string | undefined | undefined;
|
|
38
39
|
resource?: string | undefined | undefined;
|
|
@@ -50,7 +51,6 @@ export declare const SideNavButton: import("styled-components").IStyledComponent
|
|
|
50
51
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
51
52
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
52
53
|
is?: string | undefined | undefined;
|
|
53
|
-
children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
|
|
54
54
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
55
55
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
56
56
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -6,6 +6,13 @@ export declare const FullscreenOverlay: import("styled-components").IStyledCompo
|
|
|
6
6
|
slot?: string | undefined | undefined;
|
|
7
7
|
style?: import("react").CSSProperties | undefined;
|
|
8
8
|
title?: string | undefined | undefined;
|
|
9
|
+
className?: string | undefined | undefined;
|
|
10
|
+
id?: string | undefined | undefined;
|
|
11
|
+
prefix?: string | undefined | undefined;
|
|
12
|
+
role?: import("react").AriaRole | undefined;
|
|
13
|
+
children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
|
|
14
|
+
nonce?: string | undefined | undefined;
|
|
15
|
+
tabIndex?: number | undefined | undefined;
|
|
9
16
|
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
10
17
|
key?: import("react").Key | null | undefined;
|
|
11
18
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -15,25 +22,19 @@ export declare const FullscreenOverlay: import("styled-components").IStyledCompo
|
|
|
15
22
|
accessKey?: string | undefined | undefined;
|
|
16
23
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
17
24
|
autoFocus?: boolean | undefined | undefined;
|
|
18
|
-
|
|
19
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
25
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
20
26
|
contextMenu?: string | undefined | undefined;
|
|
21
27
|
dir?: string | undefined | undefined;
|
|
22
28
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
23
29
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
24
|
-
id?: string | undefined | undefined;
|
|
25
30
|
lang?: string | undefined | undefined;
|
|
26
|
-
nonce?: string | undefined | undefined;
|
|
27
31
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
28
|
-
tabIndex?: number | undefined | undefined;
|
|
29
32
|
translate?: "yes" | "no" | undefined | undefined;
|
|
30
33
|
radioGroup?: string | undefined | undefined;
|
|
31
|
-
role?: import("react").AriaRole | undefined;
|
|
32
34
|
about?: string | undefined | undefined;
|
|
33
35
|
content?: string | undefined | undefined;
|
|
34
36
|
datatype?: string | undefined | undefined;
|
|
35
37
|
inlist?: any;
|
|
36
|
-
prefix?: string | undefined | undefined;
|
|
37
38
|
property?: string | undefined | undefined;
|
|
38
39
|
rel?: string | undefined | undefined;
|
|
39
40
|
resource?: string | undefined | undefined;
|
|
@@ -51,7 +52,6 @@ export declare const FullscreenOverlay: import("styled-components").IStyledCompo
|
|
|
51
52
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
52
53
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
53
54
|
is?: string | undefined | undefined;
|
|
54
|
-
children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
|
|
55
55
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
56
56
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
57
57
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
export declare const WARNING_TEXT_HEIGHT_MOBILE_PX = 31;
|
|
2
|
+
export declare const WARNING_TEXT_HEIGHT_DESKTOP_PX = 26;
|
|
3
|
+
declare const WarningText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<{
|
|
4
|
+
hidden?: boolean | undefined | undefined;
|
|
5
|
+
color?: string | undefined | undefined;
|
|
6
|
+
security?: string | undefined | undefined;
|
|
7
|
+
slot?: string | undefined | undefined;
|
|
8
|
+
style?: import("react").CSSProperties | undefined;
|
|
9
|
+
title?: string | undefined | undefined;
|
|
10
|
+
className?: string | undefined | undefined;
|
|
11
|
+
id?: string | undefined | undefined;
|
|
12
|
+
prefix?: string | undefined | undefined;
|
|
13
|
+
role?: import("react").AriaRole | undefined;
|
|
14
|
+
children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
|
|
15
|
+
nonce?: string | undefined | undefined;
|
|
16
|
+
tabIndex?: number | undefined | undefined;
|
|
17
|
+
onClick?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
18
|
+
key?: import("react").Key | null | undefined;
|
|
19
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
20
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
21
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
22
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
23
|
+
accessKey?: string | undefined | undefined;
|
|
24
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
25
|
+
autoFocus?: boolean | undefined | undefined;
|
|
26
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
27
|
+
contextMenu?: string | undefined | undefined;
|
|
28
|
+
dir?: string | undefined | undefined;
|
|
29
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
30
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
31
|
+
lang?: string | undefined | undefined;
|
|
32
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
33
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
34
|
+
radioGroup?: string | undefined | undefined;
|
|
35
|
+
about?: string | undefined | undefined;
|
|
36
|
+
content?: string | undefined | undefined;
|
|
37
|
+
datatype?: string | undefined | undefined;
|
|
38
|
+
inlist?: any;
|
|
39
|
+
property?: string | undefined | undefined;
|
|
40
|
+
rel?: string | undefined | undefined;
|
|
41
|
+
resource?: string | undefined | undefined;
|
|
42
|
+
rev?: string | undefined | undefined;
|
|
43
|
+
typeof?: string | undefined | undefined;
|
|
44
|
+
vocab?: string | undefined | undefined;
|
|
45
|
+
autoCorrect?: string | undefined | undefined;
|
|
46
|
+
autoSave?: string | undefined | undefined;
|
|
47
|
+
itemProp?: string | undefined | undefined;
|
|
48
|
+
itemScope?: boolean | undefined | undefined;
|
|
49
|
+
itemType?: string | undefined | undefined;
|
|
50
|
+
itemID?: string | undefined | undefined;
|
|
51
|
+
itemRef?: string | undefined | undefined;
|
|
52
|
+
results?: number | undefined | undefined;
|
|
53
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
54
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
55
|
+
is?: string | undefined | undefined;
|
|
56
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
57
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
58
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
59
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
60
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
61
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
62
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
63
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
64
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
65
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
66
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
67
|
+
"aria-controls"?: string | undefined | undefined;
|
|
68
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
69
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
70
|
+
"aria-description"?: string | undefined | undefined;
|
|
71
|
+
"aria-details"?: string | undefined | undefined;
|
|
72
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
73
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
74
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
75
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
76
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
77
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
78
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
79
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
80
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
81
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
82
|
+
"aria-label"?: string | undefined | undefined;
|
|
83
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
84
|
+
"aria-level"?: number | undefined | undefined;
|
|
85
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
86
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
87
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
88
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
89
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
90
|
+
"aria-owns"?: string | undefined | undefined;
|
|
91
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
92
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
93
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
94
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
95
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
96
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
97
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
98
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
99
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
100
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
101
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
102
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
103
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
104
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
105
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
106
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
107
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
108
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
109
|
+
dangerouslySetInnerHTML?: {
|
|
110
|
+
__html: string | TrustedHTML;
|
|
111
|
+
} | undefined | undefined;
|
|
112
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
113
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
114
|
+
onCut?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
115
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
116
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
117
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
118
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
119
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
120
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
121
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
122
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
123
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
124
|
+
onFocus?: import("react").FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
125
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
126
|
+
onBlur?: import("react").FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
127
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
128
|
+
onChange?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
129
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
130
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
131
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
132
|
+
onInput?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
133
|
+
onInputCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
134
|
+
onReset?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
135
|
+
onResetCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
136
|
+
onSubmit?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
137
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
138
|
+
onInvalid?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
139
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLParagraphElement> | undefined;
|
|
140
|
+
onLoad?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
141
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
142
|
+
onError?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
143
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
144
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
145
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
146
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
147
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
148
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
149
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
150
|
+
onAbort?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
151
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
152
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
153
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
154
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
155
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
156
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
157
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
158
|
+
onEmptied?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
159
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
160
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
161
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
162
|
+
onEnded?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
163
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
164
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
165
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
166
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
167
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
168
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
169
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
170
|
+
onPause?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
171
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
172
|
+
onPlay?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
173
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
174
|
+
onPlaying?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
175
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
176
|
+
onProgress?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
177
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
178
|
+
onRateChange?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
179
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
180
|
+
onResize?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
181
|
+
onResizeCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
182
|
+
onSeeked?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
183
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
184
|
+
onSeeking?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
185
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
186
|
+
onStalled?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
187
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
188
|
+
onSuspend?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
189
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
190
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
191
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
192
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
193
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
194
|
+
onWaiting?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
195
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
196
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
197
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
198
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
199
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
200
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
201
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
202
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
203
|
+
onDrag?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
204
|
+
onDragCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
205
|
+
onDragEnd?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
206
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
207
|
+
onDragEnter?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
208
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
209
|
+
onDragExit?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
210
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
211
|
+
onDragLeave?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
212
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
213
|
+
onDragOver?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
214
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
215
|
+
onDragStart?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
216
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
217
|
+
onDrop?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
218
|
+
onDropCapture?: import("react").DragEventHandler<HTMLParagraphElement> | undefined;
|
|
219
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
220
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
221
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
222
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
223
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
224
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
225
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
226
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
227
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
228
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
229
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
230
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
231
|
+
onSelect?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
232
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
233
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
234
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
235
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
236
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
237
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
238
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
239
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
240
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
241
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
242
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
243
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
244
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
245
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
246
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
247
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
248
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
249
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
250
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
251
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
252
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
253
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
254
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
255
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
256
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
257
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
258
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
259
|
+
onScroll?: import("react").UIEventHandler<HTMLParagraphElement> | undefined;
|
|
260
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLParagraphElement> | undefined;
|
|
261
|
+
onWheel?: import("react").WheelEventHandler<HTMLParagraphElement> | undefined;
|
|
262
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLParagraphElement> | undefined;
|
|
263
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
264
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
265
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
266
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
267
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
268
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
269
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
270
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
271
|
+
ref?: ((instance: HTMLParagraphElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
272
|
+
} & {
|
|
273
|
+
theme?: import("../../lib/types/theme").TTheme;
|
|
274
|
+
strokeWidth?: number;
|
|
275
|
+
strokeColor?: string;
|
|
276
|
+
wrap?: boolean;
|
|
277
|
+
allowSelect?: boolean;
|
|
278
|
+
link?: boolean;
|
|
279
|
+
}, {
|
|
280
|
+
$visible: boolean;
|
|
281
|
+
$mobile: boolean;
|
|
282
|
+
}>>;
|
|
283
|
+
export default WarningText;
|
|
@@ -9,7 +9,7 @@ declare const Positioner: import("styled-components").IStyledComponent<"web", {
|
|
|
9
9
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
10
10
|
autoFocus?: boolean | undefined | undefined;
|
|
11
11
|
className?: string | undefined | undefined;
|
|
12
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
12
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
13
13
|
contextMenu?: string | undefined | undefined;
|
|
14
14
|
dir?: string | undefined | undefined;
|
|
15
15
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -10,6 +10,13 @@ export declare const ResultWrapper: import("styled-components").IStyledComponent
|
|
|
10
10
|
slot?: string | undefined | undefined;
|
|
11
11
|
style?: import("react").CSSProperties | undefined;
|
|
12
12
|
title?: string | undefined | undefined;
|
|
13
|
+
className?: string | undefined | undefined;
|
|
14
|
+
id?: string | undefined | undefined;
|
|
15
|
+
prefix?: string | undefined | undefined;
|
|
16
|
+
role?: import("react").AriaRole | undefined;
|
|
17
|
+
children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
|
|
18
|
+
nonce?: string | undefined | undefined;
|
|
19
|
+
tabIndex?: number | undefined | undefined;
|
|
13
20
|
key?: import("react").Key | null | undefined;
|
|
14
21
|
defaultChecked?: boolean | undefined | undefined;
|
|
15
22
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -18,25 +25,19 @@ export declare const ResultWrapper: import("styled-components").IStyledComponent
|
|
|
18
25
|
accessKey?: string | undefined | undefined;
|
|
19
26
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
20
27
|
autoFocus?: boolean | undefined | undefined;
|
|
21
|
-
|
|
22
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
23
29
|
contextMenu?: string | undefined | undefined;
|
|
24
30
|
dir?: string | undefined | undefined;
|
|
25
31
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
26
32
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
27
|
-
id?: string | undefined | undefined;
|
|
28
33
|
lang?: string | undefined | undefined;
|
|
29
|
-
nonce?: string | undefined | undefined;
|
|
30
34
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
31
|
-
tabIndex?: number | undefined | undefined;
|
|
32
35
|
translate?: "yes" | "no" | undefined | undefined;
|
|
33
36
|
radioGroup?: string | undefined | undefined;
|
|
34
|
-
role?: import("react").AriaRole | undefined;
|
|
35
37
|
about?: string | undefined | undefined;
|
|
36
38
|
content?: string | undefined | undefined;
|
|
37
39
|
datatype?: string | undefined | undefined;
|
|
38
40
|
inlist?: any;
|
|
39
|
-
prefix?: string | undefined | undefined;
|
|
40
41
|
property?: string | undefined | undefined;
|
|
41
42
|
rel?: string | undefined | undefined;
|
|
42
43
|
resource?: string | undefined | undefined;
|
|
@@ -54,7 +55,6 @@ export declare const ResultWrapper: import("styled-components").IStyledComponent
|
|
|
54
55
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
55
56
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
56
57
|
is?: string | undefined | undefined;
|
|
57
|
-
children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
|
|
58
58
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
59
59
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
60
60
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -6,6 +6,13 @@ declare const Wrapper: import("styled-components").IStyledComponent<"web", {
|
|
|
6
6
|
slot?: string | undefined | undefined;
|
|
7
7
|
style?: import("react").CSSProperties | undefined;
|
|
8
8
|
title?: string | undefined | undefined;
|
|
9
|
+
className?: string | undefined | undefined;
|
|
10
|
+
id?: string | undefined | undefined;
|
|
11
|
+
prefix?: string | undefined | undefined;
|
|
12
|
+
role?: import("react").AriaRole | undefined;
|
|
13
|
+
children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
|
|
14
|
+
nonce?: string | undefined | undefined;
|
|
15
|
+
tabIndex?: number | undefined | undefined;
|
|
9
16
|
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
10
17
|
key?: import("react").Key | null | undefined;
|
|
11
18
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -15,25 +22,19 @@ declare const Wrapper: import("styled-components").IStyledComponent<"web", {
|
|
|
15
22
|
accessKey?: string | undefined | undefined;
|
|
16
23
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
17
24
|
autoFocus?: boolean | undefined | undefined;
|
|
18
|
-
|
|
19
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
25
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
20
26
|
contextMenu?: string | undefined | undefined;
|
|
21
27
|
dir?: string | undefined | undefined;
|
|
22
28
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
23
29
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
24
|
-
id?: string | undefined | undefined;
|
|
25
30
|
lang?: string | undefined | undefined;
|
|
26
|
-
nonce?: string | undefined | undefined;
|
|
27
31
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
28
|
-
tabIndex?: number | undefined | undefined;
|
|
29
32
|
translate?: "yes" | "no" | undefined | undefined;
|
|
30
33
|
radioGroup?: string | undefined | undefined;
|
|
31
|
-
role?: import("react").AriaRole | undefined;
|
|
32
34
|
about?: string | undefined | undefined;
|
|
33
35
|
content?: string | undefined | undefined;
|
|
34
36
|
datatype?: string | undefined | undefined;
|
|
35
37
|
inlist?: any;
|
|
36
|
-
prefix?: string | undefined | undefined;
|
|
37
38
|
property?: string | undefined | undefined;
|
|
38
39
|
rel?: string | undefined | undefined;
|
|
39
40
|
resource?: string | undefined | undefined;
|
|
@@ -51,7 +52,6 @@ declare const Wrapper: import("styled-components").IStyledComponent<"web", {
|
|
|
51
52
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
52
53
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
53
54
|
is?: string | undefined | undefined;
|
|
54
|
-
children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
|
|
55
55
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
56
56
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
57
57
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -13,6 +13,7 @@ type TUIBaseState = typeof BASE_STATE;
|
|
|
13
13
|
export type TUIStateDependencies = {
|
|
14
14
|
departureMode: E_DEPARTURE_MODE | undefined;
|
|
15
15
|
directionsVisible: boolean;
|
|
16
|
+
directionsWarningTranslationKey: string | undefined;
|
|
16
17
|
};
|
|
17
18
|
/**
|
|
18
19
|
* The raw state passed down by the context provider.
|
|
@@ -33,6 +34,7 @@ export declare const useCreateUIState: (dependencies: TUIStateDependencies) => r
|
|
|
33
34
|
isDirectionsSearchBarFocused: boolean;
|
|
34
35
|
departureMode: E_DEPARTURE_MODE | undefined;
|
|
35
36
|
directionsVisible: boolean;
|
|
37
|
+
directionsWarningTranslationKey: string | undefined;
|
|
36
38
|
}, import("react").Dispatch<Partial<{
|
|
37
39
|
isDirectionsSearchBarFocused: boolean;
|
|
38
40
|
}>>];
|
|
@@ -42,8 +44,10 @@ export declare const useCreateUIState: (dependencies: TUIStateDependencies) => r
|
|
|
42
44
|
export declare const useUIState: () => readonly [{
|
|
43
45
|
isDirectionsSearchResultsVisible: boolean;
|
|
44
46
|
isDirectionsSearchBarVisible: boolean;
|
|
47
|
+
isDirectionsWarningVisible: boolean;
|
|
45
48
|
isDirectionsSearchBarFocused: boolean;
|
|
46
49
|
departureMode: E_DEPARTURE_MODE | undefined;
|
|
47
50
|
directionsVisible: boolean;
|
|
51
|
+
directionsWarningTranslationKey: string | undefined;
|
|
48
52
|
}, TUpdateUIStateFn];
|
|
49
53
|
export {};
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { Place } from '../sdk';
|
|
2
|
+
export type TIconSymbol = {
|
|
3
|
+
id: string;
|
|
4
|
+
src: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const SelfServeIcons: {
|
|
7
|
+
readonly Category: Record<string, TIconSymbol>;
|
|
8
|
+
readonly Annotation: Record<string, TIconSymbol>;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Load a base64 encoded SVG icon from `@mappedin/self-serve-icons`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const loadSelfServeIcon: (type: keyof typeof SelfServeIcons, id: string) => string | undefined;
|
|
2
14
|
/**
|
|
3
15
|
* Get an icon as an HTML string.
|
|
4
16
|
*/
|
|
@@ -9,30 +9,30 @@ export declare const SetStateMessage: z.ZodObject<{
|
|
|
9
9
|
departure: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
location?: string | string[] | undefined;
|
|
12
|
+
floor?: string | undefined;
|
|
12
13
|
departure?: string | string[] | undefined;
|
|
13
14
|
state?: E_APP_STATE | undefined;
|
|
14
|
-
floor?: string | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
location?: string | string[] | undefined;
|
|
17
|
+
floor?: string | undefined;
|
|
17
18
|
departure?: string | string[] | undefined;
|
|
18
19
|
state?: E_APP_STATE | undefined;
|
|
19
|
-
floor?: string | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
type: "set-state";
|
|
23
23
|
payload: {
|
|
24
24
|
location?: string | string[] | undefined;
|
|
25
|
+
floor?: string | undefined;
|
|
25
26
|
departure?: string | string[] | undefined;
|
|
26
27
|
state?: E_APP_STATE | undefined;
|
|
27
|
-
floor?: string | undefined;
|
|
28
28
|
};
|
|
29
29
|
}, {
|
|
30
30
|
type: "set-state";
|
|
31
31
|
payload: {
|
|
32
32
|
location?: string | string[] | undefined;
|
|
33
|
+
floor?: string | undefined;
|
|
33
34
|
departure?: string | string[] | undefined;
|
|
34
35
|
state?: E_APP_STATE | undefined;
|
|
35
|
-
floor?: string | undefined;
|
|
36
36
|
};
|
|
37
37
|
}>;
|
|
38
38
|
export type TSetStateMessage = z.infer<typeof SetStateMessage>;
|
|
@@ -45,30 +45,30 @@ export declare const StateChangedMessage: z.ZodObject<{
|
|
|
45
45
|
departure: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
location?: string | string[] | undefined;
|
|
48
|
+
floor?: string | undefined;
|
|
48
49
|
departure?: string | string[] | undefined;
|
|
49
50
|
state?: E_APP_STATE | undefined;
|
|
50
|
-
floor?: string | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
location?: string | string[] | undefined;
|
|
53
|
+
floor?: string | undefined;
|
|
53
54
|
departure?: string | string[] | undefined;
|
|
54
55
|
state?: E_APP_STATE | undefined;
|
|
55
|
-
floor?: string | undefined;
|
|
56
56
|
}>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
type: "state-changed";
|
|
59
59
|
payload: {
|
|
60
60
|
location?: string | string[] | undefined;
|
|
61
|
+
floor?: string | undefined;
|
|
61
62
|
departure?: string | string[] | undefined;
|
|
62
63
|
state?: E_APP_STATE | undefined;
|
|
63
|
-
floor?: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
}, {
|
|
66
66
|
type: "state-changed";
|
|
67
67
|
payload: {
|
|
68
68
|
location?: string | string[] | undefined;
|
|
69
|
+
floor?: string | undefined;
|
|
69
70
|
departure?: string | string[] | undefined;
|
|
70
71
|
state?: E_APP_STATE | undefined;
|
|
71
|
-
floor?: string | undefined;
|
|
72
72
|
};
|
|
73
73
|
}>;
|
|
74
74
|
export type TStateChangedMessage = z.infer<typeof StateChangedMessage>;
|
|
@@ -141,7 +141,7 @@ declare class UIStore {
|
|
|
141
141
|
get shareButtonVisible(): boolean;
|
|
142
142
|
get mainUIVisible(): boolean;
|
|
143
143
|
get mainUIMaxHeight(): number;
|
|
144
|
-
get appPadding(): 0 |
|
|
144
|
+
get appPadding(): 0 | 10 | 20 | 15;
|
|
145
145
|
get makerPopUpVisible(): boolean;
|
|
146
146
|
get metadataCardVisible(): boolean;
|
|
147
147
|
get availableDepartureModes(): E_DEPARTURE_MODE[];
|