@kepler.gl/components 3.1.0-alpha.3 → 3.1.0-alpha.4
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/bottom-widget.d.ts +7 -1
- package/dist/bottom-widget.js +2 -8
- package/dist/common/action-panel.d.ts +5 -6
- package/dist/common/action-panel.js +3 -5
- package/dist/common/animation-control/animation-control.d.ts +2 -1
- package/dist/common/animation-control/animation-control.js +4 -2
- package/dist/common/animation-control/animation-speed-slider.js +21 -7
- package/dist/common/animation-control/floating-time-display.js +1 -1
- package/dist/common/animation-control/play-control.js +11 -13
- package/dist/common/animation-control/playback-controls.d.ts +11 -20
- package/dist/common/animation-control/playback-controls.js +6 -4
- package/dist/common/animation-control/reset-control.js +11 -13
- package/dist/common/animation-control/speed-control.js +10 -12
- package/dist/common/color-legend.d.ts +4 -5
- package/dist/common/color-legend.js +16 -5
- package/dist/common/column-stats-chart.d.ts +9 -3
- package/dist/common/column-stats-chart.js +17 -63
- package/dist/common/data-table/canvas.d.ts +2 -1
- package/dist/common/data-table/index.d.ts +7 -7
- package/dist/common/data-table/index.js +4 -5
- package/dist/common/file-uploader/file-upload-progress.d.ts +4 -4
- package/dist/common/file-uploader/file-upload-progress.js +1 -2
- package/dist/common/file-uploader/file-upload.d.ts +1 -1
- package/dist/common/file-uploader/upload-button.js +2 -2
- package/dist/common/flex-container.d.ts +8 -3
- package/dist/common/histogram-plot.js +4 -2
- package/dist/common/icon-button.d.ts +7 -4
- package/dist/common/icons/draggable-dots.d.ts +14 -0
- package/dist/common/icons/draggable-dots.js +85 -0
- package/dist/common/icons/horizontal-resize-handle.d.ts +14 -0
- package/dist/common/icons/horizontal-resize-handle.js +59 -0
- package/dist/common/icons/index.d.ts +2 -0
- package/dist/common/icons/index.js +15 -1
- package/dist/common/icons/pin.js +1 -1
- package/dist/common/info-helper.js +2 -2
- package/dist/common/item-selector/chickleted-input.d.ts +21 -17
- package/dist/common/item-selector/chickleted-input.js +3 -3
- package/dist/common/item-selector/dropdown-list.d.ts +12 -12
- package/dist/common/item-selector/dropdown-list.js +1 -2
- package/dist/common/item-selector/dropdown-select.d.ts +8 -4
- package/dist/common/item-selector/dropdown-select.js +2 -2
- package/dist/common/item-selector/item-selector.d.ts +5 -9
- package/dist/common/item-selector/item-selector.js +1 -1
- package/dist/common/item-selector/typeahead.d.ts +20 -6
- package/dist/common/item-selector/typeahead.js +3 -3
- package/dist/common/loading-spinner.d.ts +8 -4
- package/dist/common/loading-spinner.js +1 -1
- package/dist/common/modal.d.ts +12 -12
- package/dist/common/modal.js +3 -3
- package/dist/common/portaled.d.ts +22 -486
- package/dist/common/portaled.js +6 -3
- package/dist/common/range-plot.d.ts +23 -28
- package/dist/common/range-plot.js +38 -29
- package/dist/common/range-slider-timeline.js +1 -2
- package/dist/common/slider/slider-bar-handle.d.ts +5 -0
- package/dist/common/slider/slider-bar-handle.js +2 -2
- package/dist/common/slider/slider-handle.d.ts +9 -0
- package/dist/common/slider/slider-handle.js +3 -3
- package/dist/common/slider/slider.d.ts +2 -2
- package/dist/common/styled-components.d.ts +444 -92
- package/dist/common/styled-components.js +15 -11
- package/dist/common/sync-timeline-control.js +2 -2
- package/dist/common/time-range-slider-time-title.d.ts +4 -0
- package/dist/common/time-range-slider-time-title.js +1 -1
- package/dist/common/time-range-slider.d.ts +7 -3
- package/dist/common/time-range-slider.js +1 -1
- package/dist/common/timeline-slider.d.ts +2 -0
- package/dist/common/timeline-slider.js +1 -1
- package/dist/common/toolbar-item.js +2 -2
- package/dist/common/toolbar.d.ts +5 -3
- package/dist/common/toolbar.js +1 -1
- package/dist/common/vertical-toolbar.d.ts +6 -1
- package/dist/container.js +2 -2
- package/dist/dnd-context.d.ts +1 -1
- package/dist/effects/compact-color-picker.d.ts +1 -1
- package/dist/effects/effect-configurator.d.ts +4 -4
- package/dist/effects/effect-manager.js +4 -2
- package/dist/effects/effect-panel-header.js +5 -5
- package/dist/effects/effect-time-configurator.js +2 -2
- package/dist/effects/effect-time-selector.d.ts +1 -6
- package/dist/effects/effect-time-selector.js +3 -3
- package/dist/effects/effect-type-dropdown-list.js +2 -2
- package/dist/effects/effect-type-list-item.d.ts +1 -10
- package/dist/effects/effect-type-list-item.js +2 -2
- package/dist/effects/effect-type-selector.d.ts +1 -12
- package/dist/effects/effect-type-selector.js +2 -2
- package/dist/effects/timezone-selector.d.ts +1 -9
- package/dist/effects/timezone-selector.js +1 -1
- package/dist/filters/components.d.ts +6 -3
- package/dist/filters/filter-panels/filter-synced-dataset-panel.d.ts +3 -4
- package/dist/filters/time-widget-top.js +2 -2
- package/dist/filters/types.d.ts +4 -2
- package/dist/filters/types.js +1 -1
- package/dist/geocoder/geocoder.js +2 -2
- package/dist/geocoder-panel.d.ts +6 -0
- package/dist/geocoder-panel.js +1 -1
- package/dist/hooks/use-fetch-vector-tile-metadata.d.ts +3 -2
- package/dist/hooks/use-fetch-vector-tile-metadata.js +33 -18
- package/dist/hooks/use-legend-position.d.ts +36 -0
- package/dist/hooks/use-legend-position.js +147 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +18 -3
- package/dist/kepler-gl.d.ts +44 -5
- package/dist/kepler-gl.js +77 -4
- package/dist/map/layer-hover-info.d.ts +3 -1
- package/dist/map/map-control-panel.js +4 -3
- package/dist/map/map-control-toolbar.d.ts +15 -1
- package/dist/map/map-control-toolbar.js +1 -1
- package/dist/map/map-legend-panel.d.ts +10 -35
- package/dist/map/map-legend-panel.js +242 -127
- package/dist/map/map-legend.d.ts +3 -2
- package/dist/map/map-legend.js +7 -10
- package/dist/map/map-popover.js +16 -11
- package/dist/map-container.d.ts +10 -8
- package/dist/map-container.js +86 -55
- package/dist/modal-container.d.ts +2 -1
- package/dist/modal-container.js +4 -3
- package/dist/modals/add-map-style-modal.d.ts +3 -0
- package/dist/modals/add-map-style-modal.js +58 -10
- package/dist/modals/cloud-components/cloud-item.js +2 -2
- package/dist/modals/cloud-tile.d.ts +6 -1
- package/dist/modals/cloud-tile.js +2 -2
- package/dist/modals/data-table-modal.d.ts +5 -3
- package/dist/modals/data-table-modal.js +3 -3
- package/dist/modals/export-data-modal.js +4 -5
- package/dist/modals/export-map-modal/components.d.ts +5 -3
- package/dist/modals/export-map-modal/export-html-map.js +2 -2
- package/dist/modals/export-map-modal/export-json-map.js +3 -2
- package/dist/modals/modal-dialog.d.ts +3 -1
- package/dist/modals/modal-tabs.js +2 -2
- package/dist/modals/share-map-modal.d.ts +4 -4
- package/dist/modals/storage-map-viewer.js +3 -3
- package/dist/modals/tilesets-modals/common.d.ts +1 -1
- package/dist/modals/tilesets-modals/common.js +1 -1
- package/dist/modals/tilesets-modals/load-data-footer.d.ts +3 -3
- package/dist/modals/tilesets-modals/load-data-footer.js +16 -7
- package/dist/modals/tilesets-modals/load-tileset.js +5 -4
- package/dist/modals/tilesets-modals/tileset-vector-form.js +28 -14
- package/dist/plot-container.js +3 -3
- package/dist/side-panel/add-by-dataset-button.js +4 -1
- package/dist/side-panel/common/dataset-info.js +3 -3
- package/dist/side-panel/common/dataset-title.d.ts +1 -0
- package/dist/side-panel/common/dataset-title.js +5 -4
- package/dist/side-panel/filter-manager.d.ts +2 -2
- package/dist/side-panel/filter-manager.js +1 -1
- package/dist/side-panel/filter-panel/filter-panel-header.d.ts +9 -1
- package/dist/side-panel/filter-panel/filter-panel-header.js +24 -9
- package/dist/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.d.ts +10 -1
- package/dist/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.js +5 -3
- package/dist/side-panel/layer-panel/aggr-scale-selector.d.ts +2 -1
- package/dist/side-panel/layer-panel/aggr-scale-selector.js +3 -1
- package/dist/side-panel/layer-panel/channel-by-value-selector.d.ts +2 -4
- package/dist/side-panel/layer-panel/channel-by-value-selector.js +9 -5
- package/dist/side-panel/layer-panel/color-breaks-panel.d.ts +15 -7
- package/dist/side-panel/layer-panel/color-breaks-panel.js +52 -20
- package/dist/side-panel/layer-panel/color-palette-preset.js +2 -2
- package/dist/side-panel/layer-panel/color-palette.d.ts +9 -4
- package/dist/side-panel/layer-panel/color-palette.js +13 -7
- package/dist/side-panel/layer-panel/color-range-selector.js +2 -2
- package/dist/side-panel/layer-panel/color-scale-selector.d.ts +3 -1
- package/dist/side-panel/layer-panel/color-scale-selector.js +82 -37
- package/dist/side-panel/layer-panel/color-selector.d.ts +6 -6
- package/dist/side-panel/layer-panel/color-selector.js +52 -36
- package/dist/side-panel/layer-panel/custom-palette.d.ts +44 -15
- package/dist/side-panel/layer-panel/custom-palette.js +342 -39
- package/dist/side-panel/layer-panel/custom-picker.d.ts +9 -5
- package/dist/side-panel/layer-panel/custom-picker.js +2 -2
- package/dist/side-panel/layer-panel/dimension-scale-selector.js +5 -3
- package/dist/side-panel/layer-panel/layer-column-mode-config.js +1 -1
- package/dist/side-panel/layer-panel/layer-config-group.d.ts +11 -11
- package/dist/side-panel/layer-panel/layer-config-group.js +2 -2
- package/dist/side-panel/layer-panel/layer-configurator.d.ts +7 -7
- package/dist/side-panel/layer-panel/layer-configurator.js +10 -10
- package/dist/side-panel/layer-panel/layer-list.d.ts +2 -0
- package/dist/side-panel/layer-panel/layer-list.js +7 -4
- package/dist/side-panel/layer-panel/layer-panel-header.js +5 -5
- package/dist/side-panel/layer-panel/layer-panel.d.ts +3 -0
- package/dist/side-panel/layer-panel/layer-panel.js +8 -8
- package/dist/side-panel/layer-panel/layer-type-dropdown-list.js +2 -2
- package/dist/side-panel/layer-panel/layer-type-list-item.d.ts +1 -10
- package/dist/side-panel/layer-panel/layer-type-list-item.js +2 -2
- package/dist/side-panel/layer-panel/layer-type-selector.d.ts +1 -8
- package/dist/side-panel/layer-panel/layer-type-selector.js +1 -1
- package/dist/side-panel/layer-panel/single-color-palette.js +2 -2
- package/dist/side-panel/layer-panel/vector-tile-layer-configurator.js +6 -3
- package/dist/side-panel/map-style-panel/map-style-selector.js +2 -2
- package/dist/side-panel/panel-header-action.js +2 -2
- package/dist/side-panel/panel-header.js +2 -2
- package/dist/side-panel/panel-tab.d.ts +3 -3
- package/dist/side-panel/panel-tab.js +2 -2
- package/dist/side-panel/panel-view-list-toggle.d.ts +4 -4
- package/dist/side-panel/panel-view-list-toggle.js +2 -2
- package/dist/side-panel/side-bar.js +2 -2
- package/dist/side-panel.d.ts +1 -1
- package/dist/types.d.ts +6 -7
- package/dist/types.js +1 -1
- package/package.json +23 -22
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { Component,
|
|
1
|
+
import React, { Component, PropsWithChildren } from 'react';
|
|
2
2
|
import Modal from 'react-modal';
|
|
3
3
|
interface GetChildPosProps {
|
|
4
4
|
offsets: Partial<{
|
|
@@ -39,16 +39,19 @@ declare const defaultModalStyle: {
|
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
declare type PortaledProps = PropsWithChildren<{
|
|
42
|
-
component: ElementType;
|
|
43
|
-
onClose?: (event: React.MouseEvent<Element, globalThis.MouseEvent> | React.KeyboardEvent<Element>) => void;
|
|
44
|
-
theme?: any;
|
|
45
|
-
isOpened?: boolean;
|
|
46
|
-
top: number;
|
|
47
|
-
left?: number;
|
|
48
42
|
right?: number;
|
|
43
|
+
left?: number;
|
|
44
|
+
top?: number;
|
|
45
|
+
component?: React.ElementType<any>;
|
|
46
|
+
onClose?: (event: React.MouseEvent<Element, globalThis.MouseEvent> | React.KeyboardEvent<Element>) => void;
|
|
47
|
+
topOffset?: number;
|
|
48
|
+
leftOffset?: number;
|
|
49
|
+
rightOffset?: number;
|
|
49
50
|
overlayZIndex?: number;
|
|
51
|
+
isOpened?: boolean;
|
|
50
52
|
modalProps?: Partial<ReactModal.Props>;
|
|
51
53
|
modalStyle?: Partial<typeof defaultModalStyle>;
|
|
54
|
+
theme?: any;
|
|
52
55
|
}>;
|
|
53
56
|
interface PortaledState {
|
|
54
57
|
pos: {
|
|
@@ -64,475 +67,7 @@ declare class Portaled extends Component<PortaledProps, PortaledState> {
|
|
|
64
67
|
static getDerivedStateFromError(): {
|
|
65
68
|
hasError: boolean;
|
|
66
69
|
};
|
|
67
|
-
static defaultProps:
|
|
68
|
-
component: string;
|
|
69
|
-
onClose: () => void;
|
|
70
|
-
theme: {
|
|
71
|
-
input: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
72
|
-
active: boolean;
|
|
73
|
-
disabled: boolean;
|
|
74
|
-
error: string;
|
|
75
|
-
size: string;
|
|
76
|
-
type: string;
|
|
77
|
-
}, any>>;
|
|
78
|
-
inputLT: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
79
|
-
active: boolean;
|
|
80
|
-
disabled: boolean;
|
|
81
|
-
error: string;
|
|
82
|
-
size: string;
|
|
83
|
-
type: string;
|
|
84
|
-
}, any>>;
|
|
85
|
-
inlineInput: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
86
|
-
chickletedInput: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
87
|
-
chickletedInputLT: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
88
|
-
chickletedInputContainer: import("styled-components").FlattenSimpleInterpolation;
|
|
89
|
-
secondaryChickletedInput: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
90
|
-
borderColor: string;
|
|
91
|
-
borderColorLT: string;
|
|
92
|
-
secondaryInput: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
93
|
-
error: string;
|
|
94
|
-
}, any>>;
|
|
95
|
-
dropdownScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
96
|
-
dropdownScrollBarLT: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
97
|
-
dropdownList: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
98
|
-
dropdownListLT: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
99
|
-
dropdownListItem: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
100
|
-
dropdownListItemLT: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
101
|
-
dropdownListAnchor: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
102
|
-
dropdownListAnchorLT: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
103
|
-
dropdownListHeader: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
104
|
-
dropdownListSection: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
105
|
-
dropdownListShadow: string;
|
|
106
|
-
dropdownWrapperZ: number;
|
|
107
|
-
dropdownWapperMargin: number;
|
|
108
|
-
dndOverBackgroundColor: string;
|
|
109
|
-
modalScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
110
|
-
scrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
111
|
-
sidePanelScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
112
|
-
inputSwitch: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
113
|
-
secondarySwitch: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
114
|
-
checked: boolean;
|
|
115
|
-
}, any>>;
|
|
116
|
-
switchTrack: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
117
|
-
checked: boolean;
|
|
118
|
-
}, any>>;
|
|
119
|
-
switchButton: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
120
|
-
checked: boolean;
|
|
121
|
-
}, any>>;
|
|
122
|
-
inputCheckbox: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
123
|
-
inputRadio: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
124
|
-
checkboxBox: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
125
|
-
checked: boolean;
|
|
126
|
-
}, any>>;
|
|
127
|
-
checkboxCheck: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
128
|
-
checked: boolean;
|
|
129
|
-
}, any>>;
|
|
130
|
-
transition: string;
|
|
131
|
-
transitionFast: string;
|
|
132
|
-
transitionSlow: string;
|
|
133
|
-
activeColor: string;
|
|
134
|
-
activeColorHover: string;
|
|
135
|
-
borderRadius: string;
|
|
136
|
-
boxShadow: string;
|
|
137
|
-
errorColor: string;
|
|
138
|
-
dropdownListHighlightBg: string;
|
|
139
|
-
dropdownListHighlightBgLT: string;
|
|
140
|
-
dropdownListBgd: string;
|
|
141
|
-
toolbarItemBgdHover: string;
|
|
142
|
-
toolbarItemBorderHover: string;
|
|
143
|
-
toolbarItemIconHover: string;
|
|
144
|
-
toolbarItemBorderRaddius: string;
|
|
145
|
-
dropdownListBgdLT: string;
|
|
146
|
-
dropdownListBorderTop: string;
|
|
147
|
-
dropdownListBorderTopLT: string;
|
|
148
|
-
dropdownListLineHeight: number;
|
|
149
|
-
labelColor: string;
|
|
150
|
-
labelColorLT: string;
|
|
151
|
-
labelHoverColor: string;
|
|
152
|
-
mapPanelBackgroundColor: string;
|
|
153
|
-
mapPanelHeaderBackgroundColor: string;
|
|
154
|
-
selectActiveBorderColor: string;
|
|
155
|
-
selectBackground: string;
|
|
156
|
-
selectBackgroundLT: string;
|
|
157
|
-
selectBackgroundHover: string;
|
|
158
|
-
selectBackgroundHoverLT: string;
|
|
159
|
-
selectBorder: number;
|
|
160
|
-
selectBorderColor: string;
|
|
161
|
-
selectBorderRadius: string;
|
|
162
|
-
selectBorderColorLT: string;
|
|
163
|
-
selectColor: string;
|
|
164
|
-
selectColorPlaceHolder: string;
|
|
165
|
-
selectColorPlaceHolderLT: string;
|
|
166
|
-
selectFontSize: string;
|
|
167
|
-
selectFontWeight: string;
|
|
168
|
-
selectColorLT: string;
|
|
169
|
-
selectFontWeightBold: string;
|
|
170
|
-
panelTabColor: string;
|
|
171
|
-
inputBgd: string;
|
|
172
|
-
inputBgdHover: string;
|
|
173
|
-
inputBgdActive: string;
|
|
174
|
-
inputBgdActiveLT: string;
|
|
175
|
-
inputBoxHeight: string;
|
|
176
|
-
inputBoxHeightSmall: string;
|
|
177
|
-
inputBoxHeightTiny: string;
|
|
178
|
-
inputBorderColor: string;
|
|
179
|
-
inputBorderActiveColor: string;
|
|
180
|
-
inputBorderHoverColor: string;
|
|
181
|
-
inputBorderRadius: string;
|
|
182
|
-
inputColor: string;
|
|
183
|
-
inputPadding: string;
|
|
184
|
-
inputPaddingSmall: string;
|
|
185
|
-
inputPaddingTiny: string;
|
|
186
|
-
inputFontSize: string;
|
|
187
|
-
inputFontSizeSmall: string;
|
|
188
|
-
inputFontWeight: number;
|
|
189
|
-
inputPlaceholderColor: string;
|
|
190
|
-
inputPlaceholderColorLT: string;
|
|
191
|
-
inputPlaceholderFontWeight: number;
|
|
192
|
-
inputBoxShadow: string;
|
|
193
|
-
inputBoxShadowActive: string;
|
|
194
|
-
inputBoxShadowActiveLT: string;
|
|
195
|
-
secondaryInputBgd: string;
|
|
196
|
-
secondaryInputBgdHover: string;
|
|
197
|
-
secondaryInputBgdActive: string;
|
|
198
|
-
secondaryInputColor: string;
|
|
199
|
-
secondaryInputBorderColor: string;
|
|
200
|
-
secondaryInputBorderActiveColor: string;
|
|
201
|
-
dropdownSelectHeight: number;
|
|
202
|
-
switchWidth: number;
|
|
203
|
-
switchHeight: number;
|
|
204
|
-
switchTrackBgd: string;
|
|
205
|
-
switchTrackBgdActive: string;
|
|
206
|
-
switchTrackBorderRadius: string;
|
|
207
|
-
switchBtnBgd: string;
|
|
208
|
-
switchBtnBgdActive: string;
|
|
209
|
-
switchBtnBoxShadow: string;
|
|
210
|
-
switchBtnBorderRadius: string;
|
|
211
|
-
switchBtnWidth: number;
|
|
212
|
-
switchBtnHeight: number;
|
|
213
|
-
switchLabelMargin: number;
|
|
214
|
-
secondarySwitchTrackBgd: string;
|
|
215
|
-
secondarySwitchBtnBgd: string;
|
|
216
|
-
checkboxWidth: number;
|
|
217
|
-
checkboxHeight: number;
|
|
218
|
-
checkboxMargin: number;
|
|
219
|
-
checkboxBorderColor: string;
|
|
220
|
-
checkboxBorderRadius: string;
|
|
221
|
-
checkboxBorderColorLT: string;
|
|
222
|
-
checkboxBoxBgd: string;
|
|
223
|
-
checkboxBoxBgdChecked: string;
|
|
224
|
-
radioRadius: number;
|
|
225
|
-
radioBorderRadius: number;
|
|
226
|
-
radioBorderColor: string;
|
|
227
|
-
radioButtonRadius: number;
|
|
228
|
-
radioButtonBgdColor: string;
|
|
229
|
-
radioTrack: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
230
|
-
radioButton: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
231
|
-
secondaryRadio: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
232
|
-
checked: boolean;
|
|
233
|
-
}, any>>;
|
|
234
|
-
btnFontFamily: string;
|
|
235
|
-
primaryBtnBgd: string;
|
|
236
|
-
primaryBtnActBgd: string;
|
|
237
|
-
primaryBtnColor: string;
|
|
238
|
-
primaryBtnActColor: string;
|
|
239
|
-
primaryBtnBgdHover: string;
|
|
240
|
-
primaryBtnRadius: string;
|
|
241
|
-
primaryBtnFontSizeDefault: string;
|
|
242
|
-
primaryBtnFontSizeSmall: string;
|
|
243
|
-
primaryBtnFontSizeLarge: string;
|
|
244
|
-
primaryBtnBorder: string;
|
|
245
|
-
secondaryBtnBgd: string;
|
|
246
|
-
secondaryBtnActBgd: string;
|
|
247
|
-
secondaryBtnBgdHover: string;
|
|
248
|
-
secondaryBtnColor: string;
|
|
249
|
-
secondaryBtnActColor: string;
|
|
250
|
-
secondaryBtnBorder: string;
|
|
251
|
-
negativeBtnBgd: string;
|
|
252
|
-
negativeBtnActBgd: string;
|
|
253
|
-
negativeBtnBgdHover: string;
|
|
254
|
-
negativeBtnBorder: string;
|
|
255
|
-
negativeBtnColor: string;
|
|
256
|
-
negativeBtnActColor: string;
|
|
257
|
-
linkBtnBgd: string;
|
|
258
|
-
linkBtnActBgd: string;
|
|
259
|
-
linkBtnColor: string;
|
|
260
|
-
linkBtnActColor: string;
|
|
261
|
-
linkBtnActBgdHover: string;
|
|
262
|
-
linkBtnBorder: string;
|
|
263
|
-
floatingBtnBgd: string;
|
|
264
|
-
floatingBtnActBgd: string;
|
|
265
|
-
floatingBtnBgdHover: string;
|
|
266
|
-
floatingBtnBorder: string;
|
|
267
|
-
floatingBtnBorderHover: string;
|
|
268
|
-
floatingBtnColor: string;
|
|
269
|
-
floatingBtnActColor: string;
|
|
270
|
-
ctaBtnBgd: string;
|
|
271
|
-
ctaBtnBgdHover: string;
|
|
272
|
-
ctaBtnActBgd: string;
|
|
273
|
-
ctaBtnColor: string;
|
|
274
|
-
ctaBtnActColor: string;
|
|
275
|
-
selectionBtnBgd: string;
|
|
276
|
-
selectionBtnActBgd: string;
|
|
277
|
-
selectionBtnColor: string;
|
|
278
|
-
selectionBtnActColor: string;
|
|
279
|
-
selectionBtnBgdHover: string;
|
|
280
|
-
selectionBtnBorder: string;
|
|
281
|
-
selectionBtnBorderColor: string;
|
|
282
|
-
selectionBtnBorderActColor: string;
|
|
283
|
-
scrollbarThumbColorLT: string;
|
|
284
|
-
scrollbarThumbColorHoverLT: string;
|
|
285
|
-
modalTitleColor: string;
|
|
286
|
-
modalTitleFontSize: string;
|
|
287
|
-
modalTitleFontSizeSmaller: string;
|
|
288
|
-
modalFooterBgd: string;
|
|
289
|
-
modalImagePlaceHolder: string;
|
|
290
|
-
modalPadding: string;
|
|
291
|
-
modalDialogBgd: string;
|
|
292
|
-
modalDialogColor: string;
|
|
293
|
-
modalLateralPadding: string;
|
|
294
|
-
modalPortableLateralPadding: string;
|
|
295
|
-
modalOverLayZ: number;
|
|
296
|
-
modalOverlayBgd: string;
|
|
297
|
-
modalContentZ: number;
|
|
298
|
-
modalFooterZ: number;
|
|
299
|
-
modalTitleZ: number;
|
|
300
|
-
modalButtonZ: number;
|
|
301
|
-
modalDropdownBackground: string;
|
|
302
|
-
sidePanelBg: string;
|
|
303
|
-
sidePanelInnerPadding: number;
|
|
304
|
-
sideBarCloseBtnBgd: string;
|
|
305
|
-
sideBarCloseBtnColor: string;
|
|
306
|
-
sideBarCloseBtnBgdHover: string;
|
|
307
|
-
sidePanelHeaderBg: string;
|
|
308
|
-
sidePanelHeaderBorder: string;
|
|
309
|
-
sidePanelScrollBarWidth: number;
|
|
310
|
-
sidePanelScrollBarHeight: number;
|
|
311
|
-
sidePanelTitleFontsize: string;
|
|
312
|
-
sidePanelTitleLineHeight: string;
|
|
313
|
-
panelHeaderBorderRadius: string;
|
|
314
|
-
sidePanelBorder: number;
|
|
315
|
-
sidePanelBorderColor: string;
|
|
316
|
-
layerConfigGroupLabelLabelFontSize: string;
|
|
317
|
-
layerConfigGroupMarginBottom: number;
|
|
318
|
-
layerConfigGroupPaddingLeft: number;
|
|
319
|
-
chickletBgd: string;
|
|
320
|
-
chickletBgdLT: string;
|
|
321
|
-
panelBackground: string;
|
|
322
|
-
panelContentBackground: string;
|
|
323
|
-
panelBackgroundHover: string;
|
|
324
|
-
panelBackgroundLT: string;
|
|
325
|
-
panelToggleMarginRight: number;
|
|
326
|
-
panelToggleBottomPadding: number;
|
|
327
|
-
panelBoxShadow: string;
|
|
328
|
-
panelBorderRadius: string;
|
|
329
|
-
panelBorder: string;
|
|
330
|
-
panelBorderColor: string;
|
|
331
|
-
panelBorderLT: string;
|
|
332
|
-
panelHeaderIcon: string;
|
|
333
|
-
panelHeaderIconActive: string;
|
|
334
|
-
panelHeaderIconHover: string;
|
|
335
|
-
panelHeaderHeight: number;
|
|
336
|
-
layerPanelHeaderHeight: number;
|
|
337
|
-
panelDropdownScrollBar: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
338
|
-
layerTypeIconSizeL: number;
|
|
339
|
-
layerTypeIconPdL: number;
|
|
340
|
-
layerTypeIconSizeSM: number;
|
|
341
|
-
layerPanelToggleOptionColor: string;
|
|
342
|
-
layerPanelToggleOptionColorActive: string;
|
|
343
|
-
fontFamily: string;
|
|
344
|
-
fontWeight: number;
|
|
345
|
-
fontSize: string;
|
|
346
|
-
lineHeight: number;
|
|
347
|
-
textColor: string;
|
|
348
|
-
textColorLT: string;
|
|
349
|
-
dataTableTextColor: string;
|
|
350
|
-
textColorHl: string;
|
|
351
|
-
titleTextColor: string;
|
|
352
|
-
subtextColor: string;
|
|
353
|
-
subtextColorLT: string;
|
|
354
|
-
subtextColorActive: string;
|
|
355
|
-
fontWhiteColor: string;
|
|
356
|
-
panelToggleBorderColor: string;
|
|
357
|
-
panelTabWidth: string;
|
|
358
|
-
textTruncate: {
|
|
359
|
-
maxWidth: string;
|
|
360
|
-
overflow: string;
|
|
361
|
-
textOverflow: string;
|
|
362
|
-
whiteSpace: string;
|
|
363
|
-
wordWrap: string;
|
|
364
|
-
};
|
|
365
|
-
titleColorLT: string;
|
|
366
|
-
tooltipBg: string;
|
|
367
|
-
tooltipBgLT: string;
|
|
368
|
-
tooltipColor: string;
|
|
369
|
-
tooltipColorLT: string;
|
|
370
|
-
tooltipBoxShadow: string;
|
|
371
|
-
tooltipFontSize: string;
|
|
372
|
-
logoColor: string;
|
|
373
|
-
sidepanelDividerBorder: string;
|
|
374
|
-
sidepanelDividerMargin: number;
|
|
375
|
-
sidepanelDividerHeight: number;
|
|
376
|
-
bottomInnerPdSide: number;
|
|
377
|
-
bottomInnerPdVert: number;
|
|
378
|
-
bottomPanelGap: number;
|
|
379
|
-
bottomPanelGapPalm: number;
|
|
380
|
-
bottomWidgetPaddingTop: number;
|
|
381
|
-
bottomWidgetPaddingRight: number;
|
|
382
|
-
bottomWidgetPaddingBottom: number;
|
|
383
|
-
bottomWidgetPaddingLeft: number;
|
|
384
|
-
bottomWidgetBgd: string;
|
|
385
|
-
sliderBarColor: string;
|
|
386
|
-
sliderBarBgd: string;
|
|
387
|
-
sliderBarHoverColor: string;
|
|
388
|
-
sliderBarRadius: string;
|
|
389
|
-
sliderBarHeight: number;
|
|
390
|
-
sliderHandleHeight: number;
|
|
391
|
-
sliderHandleWidth: number;
|
|
392
|
-
sliderHandleColor: string;
|
|
393
|
-
sliderHandleTextColor: string;
|
|
394
|
-
sliderInactiveBorderColor: string;
|
|
395
|
-
sliderBorderRadius: string;
|
|
396
|
-
sliderHandleHoverColor: string;
|
|
397
|
-
sliderHandleAfterContent: string;
|
|
398
|
-
sliderHandleShadow: string;
|
|
399
|
-
sliderInputHeight: number;
|
|
400
|
-
sliderInputWidth: number;
|
|
401
|
-
sliderMarginTopIsTime: number;
|
|
402
|
-
sliderMarginTop: number;
|
|
403
|
-
sliderMarginBottom: number;
|
|
404
|
-
geocoderWidth: number;
|
|
405
|
-
geocoderTop: number;
|
|
406
|
-
geocoderRight: number;
|
|
407
|
-
geocoderInputHeight: number;
|
|
408
|
-
mapControlTop: number;
|
|
409
|
-
rangeBrushBgd: string;
|
|
410
|
-
histogramFillInRange: string;
|
|
411
|
-
histogramFillOutRange: string;
|
|
412
|
-
histogramOverlayColor: string;
|
|
413
|
-
histogramBreakLineColor: string;
|
|
414
|
-
axisFontSize: string;
|
|
415
|
-
axisFontColor: string;
|
|
416
|
-
timeTitleFontSize: string;
|
|
417
|
-
rangePlotMargin: {
|
|
418
|
-
top: number;
|
|
419
|
-
bottom: number;
|
|
420
|
-
left: number;
|
|
421
|
-
right: number;
|
|
422
|
-
};
|
|
423
|
-
rangePlotMarginLarge: {
|
|
424
|
-
top: number;
|
|
425
|
-
bottom: number;
|
|
426
|
-
left: number;
|
|
427
|
-
right: number;
|
|
428
|
-
};
|
|
429
|
-
rangePlotH: number;
|
|
430
|
-
rangePlotHLarge: number;
|
|
431
|
-
rangePlotHLargePalm: number;
|
|
432
|
-
rangePlotContainerH: number;
|
|
433
|
-
rangePlotContainerHLarge: number;
|
|
434
|
-
rangePlotContainerHLargePalm: number;
|
|
435
|
-
notificationColors: {
|
|
436
|
-
info: string;
|
|
437
|
-
error: string;
|
|
438
|
-
success: string;
|
|
439
|
-
warning: string;
|
|
440
|
-
};
|
|
441
|
-
notificationPanelWidth: number;
|
|
442
|
-
notificationPanelItemWidth: number;
|
|
443
|
-
notificationPanelItemHeight: number;
|
|
444
|
-
headerRowHeight: number;
|
|
445
|
-
headerRowWStatsHeight: number;
|
|
446
|
-
headerStatsControlHeight: number;
|
|
447
|
-
rowHeight: number;
|
|
448
|
-
headerPaddingTop: number;
|
|
449
|
-
headerPaddingBottom: number;
|
|
450
|
-
cellPaddingSide: number;
|
|
451
|
-
edgeCellPaddingSide: number;
|
|
452
|
-
cellFontSize: number;
|
|
453
|
-
gridPaddingSide: number;
|
|
454
|
-
optionButtonColor: string;
|
|
455
|
-
headerCellBackground: string;
|
|
456
|
-
headerCellBorderColor: string;
|
|
457
|
-
headerCellStatsBackground: string;
|
|
458
|
-
headerCellStatsControlBackground: string;
|
|
459
|
-
headerCellIconColor: string;
|
|
460
|
-
cellBorderColor: string;
|
|
461
|
-
evenRowBackground: string;
|
|
462
|
-
oddRowBackground: string;
|
|
463
|
-
pinnedGridBorderColor: string;
|
|
464
|
-
timeDisplayBorderRadius: number;
|
|
465
|
-
timeDisplayHeight: number;
|
|
466
|
-
timeDisplayMinWidth: number;
|
|
467
|
-
timeDisplayOpacity: number;
|
|
468
|
-
timeDisplayPadding: string;
|
|
469
|
-
exportIntraSectionMargin: string;
|
|
470
|
-
actionPanelWidth: number;
|
|
471
|
-
actionPanelHeight: number;
|
|
472
|
-
breakPoints: {
|
|
473
|
-
palm: number;
|
|
474
|
-
desk: number;
|
|
475
|
-
};
|
|
476
|
-
progressBarColor: string;
|
|
477
|
-
progressBarTrackColor: string;
|
|
478
|
-
layerConfigGroupLabelBorderLeft: string;
|
|
479
|
-
layerConfigGroupLabelMargin: string;
|
|
480
|
-
layerConfigGroupLabelPadding: string;
|
|
481
|
-
layerConfigGroupColor: string;
|
|
482
|
-
layerConfigGroupLabelLabelMargin: string;
|
|
483
|
-
styledConfigGroupHeaderBorder: string;
|
|
484
|
-
layerConfiguratorBorder: string;
|
|
485
|
-
layerConfiguratorBorderColor: string;
|
|
486
|
-
layerConfiguratorMargin: string;
|
|
487
|
-
layerConfiguratorPadding: string;
|
|
488
|
-
fieldTokenRightMargin: number;
|
|
489
|
-
fieldTokenHeight: number;
|
|
490
|
-
fieldTokenWidth: number;
|
|
491
|
-
BLUE2: string;
|
|
492
|
-
aiAssistantPanelWidth: number;
|
|
493
|
-
effectPanelWidth: number;
|
|
494
|
-
effectPanelHeight: number;
|
|
495
|
-
effectPanelPaddingSide: number;
|
|
496
|
-
effectPanelPaddingTop: number;
|
|
497
|
-
rightPanelMarginTop: number;
|
|
498
|
-
rightPanelMarginRight: number;
|
|
499
|
-
effectPanelAddEffectFontFamily: string;
|
|
500
|
-
effectTypeIconMarginSide: number;
|
|
501
|
-
effectTypeIconSizeL: number;
|
|
502
|
-
effectTypeIconBgHoverColor: string;
|
|
503
|
-
effectConfiguratorMargin: string;
|
|
504
|
-
effectConfiguratorPadding: string;
|
|
505
|
-
effectPanelTextMain: string;
|
|
506
|
-
effectPanelTextSecondary1: string;
|
|
507
|
-
effectPanelTextSecondary2: string;
|
|
508
|
-
effectPanelTextSecondary3: string;
|
|
509
|
-
effectPanelElementColor: string;
|
|
510
|
-
effectPanelElementColorActive: string;
|
|
511
|
-
effectPanelElementColorHovered: string;
|
|
512
|
-
effectPanelElementColorSun: string;
|
|
513
|
-
effectPanelElementColorSelected: string;
|
|
514
|
-
sidePanel: {
|
|
515
|
-
width: number;
|
|
516
|
-
margin: {
|
|
517
|
-
top: number;
|
|
518
|
-
left: number;
|
|
519
|
-
bottom: number;
|
|
520
|
-
right: number;
|
|
521
|
-
};
|
|
522
|
-
headerHeight: number;
|
|
523
|
-
};
|
|
524
|
-
mapControl: {
|
|
525
|
-
width: number;
|
|
526
|
-
padding: number;
|
|
527
|
-
mapLegend: {
|
|
528
|
-
pinned: {
|
|
529
|
-
bottom: number;
|
|
530
|
-
right: number;
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
};
|
|
70
|
+
static defaultProps: PortaledProps;
|
|
536
71
|
state: {
|
|
537
72
|
pos: null;
|
|
538
73
|
isVisible: boolean;
|
|
@@ -540,25 +75,28 @@ declare class Portaled extends Component<PortaledProps, PortaledState> {
|
|
|
540
75
|
unsubscribe: (() => boolean) | undefined;
|
|
541
76
|
_unmounted: boolean;
|
|
542
77
|
componentDidMount(): void;
|
|
543
|
-
componentDidUpdate(prevProps:
|
|
78
|
+
componentDidUpdate(prevProps: PortaledProps): void;
|
|
544
79
|
componentDidCatch(): void;
|
|
545
80
|
componentWillUnmount(): void;
|
|
546
81
|
element: React.RefObject<HTMLDivElement>;
|
|
547
82
|
child: React.RefObject<HTMLDivElement>;
|
|
548
83
|
handleScroll: () => void;
|
|
549
|
-
render():
|
|
84
|
+
render(): JSX.Element;
|
|
550
85
|
}
|
|
551
|
-
declare const _default: React.ForwardRefExoticComponent<{
|
|
552
|
-
|
|
553
|
-
|
|
86
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<import("styled-components").ExecutionProps, "as" | "forwardedAs"> & {
|
|
87
|
+
theme?: import("styled-components").DefaultTheme | undefined;
|
|
88
|
+
} & {
|
|
554
89
|
children?: React.ReactNode;
|
|
555
90
|
onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element>) => void) | undefined;
|
|
556
91
|
left?: number | undefined;
|
|
557
92
|
right?: number | undefined;
|
|
558
|
-
top
|
|
93
|
+
top?: number | undefined;
|
|
559
94
|
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
560
|
-
|
|
95
|
+
topOffset?: number | undefined;
|
|
96
|
+
leftOffset?: number | undefined;
|
|
97
|
+
rightOffset?: number | undefined;
|
|
561
98
|
overlayZIndex?: number | undefined;
|
|
99
|
+
isOpened?: boolean | undefined;
|
|
562
100
|
modalProps?: Partial<Modal.Props> | undefined;
|
|
563
101
|
modalStyle?: Partial<{
|
|
564
102
|
content: {
|
|
@@ -577,7 +115,5 @@ declare const _default: React.ForwardRefExoticComponent<{
|
|
|
577
115
|
backgroundColor: string;
|
|
578
116
|
};
|
|
579
117
|
}> | undefined;
|
|
580
|
-
} & {
|
|
581
|
-
theme?: any;
|
|
582
|
-
}>;
|
|
118
|
+
} & React.RefAttributes<typeof Portaled>> & {};
|
|
583
119
|
export default _default;
|