@redus/georedus-ui 0.1.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/CHANGELOG.md +19 -0
- package/README.md +1 -0
- package/dist/DevControls/importViewSpecsFromCsv/index.d.ts +6 -0
- package/dist/DevWebWorker/WorkerDemo.d.ts +2 -0
- package/dist/DevWebWorker/math.worker.d.ts +1 -0
- package/dist/DialogSystem/index.d.ts +4 -0
- package/dist/GeoReDUS/GeoReDUS.d.ts +2 -0
- package/dist/GeoReDUS/index.d.ts +1 -0
- package/dist/GeoReDUS/util.d.ts +6 -0
- package/dist/GeoReDUS/viewConfReducer.d.ts +25 -0
- package/dist/GeoReDUSLogo/GeoReDUSLogo.d.ts +1 -0
- package/dist/GeoReDUSLogo/GeoReDUSLogoSymbol.d.ts +1 -0
- package/dist/GeoReDUSLogo/GeoReDUSLogoText.d.ts +1 -0
- package/dist/GeoReDUSLogo/index.d.ts +3 -0
- package/dist/GeoReDUSWorker/GeoReDUSWorker.d.ts +1 -0
- package/dist/GeoReDUSWorker/GeoReDUSWorker.worker.d.ts +1 -0
- package/dist/GeoReDUSWorker/index.d.ts +1 -0
- package/dist/GeoReDUSWorker/methods/dissolveAreasPreservingIsolated.d.ts +1 -0
- package/dist/InputSystem/Inputs/GeoFile/GeoFile.d.ts +1 -0
- package/dist/InputSystem/Inputs/GeoFile/setupGdal.d.ts +5 -0
- package/dist/InputSystem/index.d.ts +1 -0
- package/dist/LeftPanel/LeftPanel.d.ts +10 -0
- package/dist/LeftPanel/SharePanel.d.ts +5 -0
- package/dist/LeftPanel/index.d.ts +1 -0
- package/dist/Markdown/index.d.ts +1 -0
- package/dist/ViewControl/CollapsibleContent.d.ts +2 -0
- package/dist/ViewControl/ViewConfTabs.d.ts +6 -0
- package/dist/ViewControl/ViewControl.d.ts +11 -0
- package/dist/ViewControl/index.d.ts +1 -0
- package/dist/ViewLayoutPopover/ViewLayoutControl.d.ts +5 -0
- package/dist/ViewLayoutPopover/ViewLayoutPopover.d.ts +6 -0
- package/dist/ViewLayoutPopover/index.d.ts +1 -0
- package/dist/ViewMenu/ViewMenu.d.ts +9 -0
- package/dist/ViewMenu/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +8314 -0
- package/dist/viewSpecs/constants.d.ts +1 -0
- package/dist/viewSpecs/index.d.ts +3 -0
- package/dist/viewSpecs/parseViewSpec.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_censo_2010_2022/index.d.ts +285 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/boolean_categorical.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/categorical.d.ts +11 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/index.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/numerical_choropleth.d.ts +12 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/numerical_size.d.ts +9 -0
- package/dist/viewSpecs/presets/cem_saude_2024/boolean_categorical.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_saude_2024/categorical.d.ts +12 -0
- package/dist/viewSpecs/presets/cem_saude_2024/index.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_saude_2024/numerical_choropleth.d.ts +10 -0
- package/dist/viewSpecs/presets/cem_saude_2024/numerical_size.d.ts +9 -0
- package/dist/viewSpecs/presets/index.d.ts +3 -0
- package/dist/viewSpecs/resolveView/customExpr.d.ts +12 -0
- package/dist/viewSpecs/resolveView/index.d.ts +1 -0
- package/dist/viewSpecs/resolveView/resolveExpr.d.ts +10 -0
- package/dist/viewSpecs/resolveView/resolveView.d.ts +12 -0
- package/dist/viewSpecs/resolveViewSpecs.d.ts +10 -0
- package/dist/viewSpecs/types.d.ts +41 -0
- package/dist/viewSpecs/util/BASE_MAP_LAYERS.d.ts +394 -0
- package/dist/viewSpecs/util/colorSchemes.d.ts +14 -0
- package/dist/viewSpecs/util/downloadResolver.d.ts +9 -0
- package/dist/viewSpecs/util/filter.d.ts +4 -0
- package/dist/viewSpecs/util/index.d.ts +49 -0
- package/dist/viewSpecs/util/setupVariants.d.ts +5 -0
- package/package.json +66 -0
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
export const BASE_MAP_LAYERS: ({
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
source: string;
|
|
5
|
+
"source-layer": string;
|
|
6
|
+
maxzoom: number;
|
|
7
|
+
layout: {
|
|
8
|
+
visibility: string;
|
|
9
|
+
"symbol-avoid-edges"?: undefined;
|
|
10
|
+
"symbol-placement"?: undefined;
|
|
11
|
+
"symbol-spacing"?: undefined;
|
|
12
|
+
"text-field"?: undefined;
|
|
13
|
+
"text-font"?: undefined;
|
|
14
|
+
"text-justify"?: undefined;
|
|
15
|
+
"text-letter-spacing"?: undefined;
|
|
16
|
+
"text-pitch-alignment"?: undefined;
|
|
17
|
+
"text-rotation-alignment"?: undefined;
|
|
18
|
+
"text-size"?: undefined;
|
|
19
|
+
"symbol-sort-key"?: undefined;
|
|
20
|
+
"text-anchor"?: undefined;
|
|
21
|
+
"text-keep-upright"?: undefined;
|
|
22
|
+
"text-max-width"?: undefined;
|
|
23
|
+
"text-offset"?: undefined;
|
|
24
|
+
"text-transform"?: undefined;
|
|
25
|
+
};
|
|
26
|
+
paint: {
|
|
27
|
+
"fill-color": string;
|
|
28
|
+
"line-color"?: undefined;
|
|
29
|
+
"line-width"?: undefined;
|
|
30
|
+
"fill-antialias"?: undefined;
|
|
31
|
+
"fill-opacity"?: undefined;
|
|
32
|
+
"fill-translate"?: undefined;
|
|
33
|
+
"fill-translate-anchor"?: undefined;
|
|
34
|
+
"line-dasharray"?: undefined;
|
|
35
|
+
"line-opacity"?: undefined;
|
|
36
|
+
"text-color"?: undefined;
|
|
37
|
+
"text-halo-blur"?: undefined;
|
|
38
|
+
"text-halo-color"?: undefined;
|
|
39
|
+
"text-halo-width"?: undefined;
|
|
40
|
+
"text-opacity"?: undefined;
|
|
41
|
+
};
|
|
42
|
+
filter: string[];
|
|
43
|
+
minzoom?: undefined;
|
|
44
|
+
} | {
|
|
45
|
+
id: string;
|
|
46
|
+
type: string;
|
|
47
|
+
source: string;
|
|
48
|
+
"source-layer": string;
|
|
49
|
+
layout: {
|
|
50
|
+
visibility: string;
|
|
51
|
+
"symbol-avoid-edges"?: undefined;
|
|
52
|
+
"symbol-placement"?: undefined;
|
|
53
|
+
"symbol-spacing"?: undefined;
|
|
54
|
+
"text-field"?: undefined;
|
|
55
|
+
"text-font"?: undefined;
|
|
56
|
+
"text-justify"?: undefined;
|
|
57
|
+
"text-letter-spacing"?: undefined;
|
|
58
|
+
"text-pitch-alignment"?: undefined;
|
|
59
|
+
"text-rotation-alignment"?: undefined;
|
|
60
|
+
"text-size"?: undefined;
|
|
61
|
+
"symbol-sort-key"?: undefined;
|
|
62
|
+
"text-anchor"?: undefined;
|
|
63
|
+
"text-keep-upright"?: undefined;
|
|
64
|
+
"text-max-width"?: undefined;
|
|
65
|
+
"text-offset"?: undefined;
|
|
66
|
+
"text-transform"?: undefined;
|
|
67
|
+
};
|
|
68
|
+
paint: {
|
|
69
|
+
"line-color": string;
|
|
70
|
+
"line-width": (string | number | string[])[];
|
|
71
|
+
"fill-color"?: undefined;
|
|
72
|
+
"fill-antialias"?: undefined;
|
|
73
|
+
"fill-opacity"?: undefined;
|
|
74
|
+
"fill-translate"?: undefined;
|
|
75
|
+
"fill-translate-anchor"?: undefined;
|
|
76
|
+
"line-dasharray"?: undefined;
|
|
77
|
+
"line-opacity"?: undefined;
|
|
78
|
+
"text-color"?: undefined;
|
|
79
|
+
"text-halo-blur"?: undefined;
|
|
80
|
+
"text-halo-color"?: undefined;
|
|
81
|
+
"text-halo-width"?: undefined;
|
|
82
|
+
"text-opacity"?: undefined;
|
|
83
|
+
};
|
|
84
|
+
maxzoom?: undefined;
|
|
85
|
+
filter?: undefined;
|
|
86
|
+
minzoom?: undefined;
|
|
87
|
+
} | {
|
|
88
|
+
id: string;
|
|
89
|
+
type: string;
|
|
90
|
+
source: string;
|
|
91
|
+
"source-layer": string;
|
|
92
|
+
layout: {
|
|
93
|
+
visibility: string;
|
|
94
|
+
"symbol-avoid-edges"?: undefined;
|
|
95
|
+
"symbol-placement"?: undefined;
|
|
96
|
+
"symbol-spacing"?: undefined;
|
|
97
|
+
"text-field"?: undefined;
|
|
98
|
+
"text-font"?: undefined;
|
|
99
|
+
"text-justify"?: undefined;
|
|
100
|
+
"text-letter-spacing"?: undefined;
|
|
101
|
+
"text-pitch-alignment"?: undefined;
|
|
102
|
+
"text-rotation-alignment"?: undefined;
|
|
103
|
+
"text-size"?: undefined;
|
|
104
|
+
"symbol-sort-key"?: undefined;
|
|
105
|
+
"text-anchor"?: undefined;
|
|
106
|
+
"text-keep-upright"?: undefined;
|
|
107
|
+
"text-max-width"?: undefined;
|
|
108
|
+
"text-offset"?: undefined;
|
|
109
|
+
"text-transform"?: undefined;
|
|
110
|
+
};
|
|
111
|
+
paint: {
|
|
112
|
+
"fill-antialias": boolean;
|
|
113
|
+
"fill-color": string;
|
|
114
|
+
"fill-opacity": number;
|
|
115
|
+
"line-color"?: undefined;
|
|
116
|
+
"line-width"?: undefined;
|
|
117
|
+
"fill-translate"?: undefined;
|
|
118
|
+
"fill-translate-anchor"?: undefined;
|
|
119
|
+
"line-dasharray"?: undefined;
|
|
120
|
+
"line-opacity"?: undefined;
|
|
121
|
+
"text-color"?: undefined;
|
|
122
|
+
"text-halo-blur"?: undefined;
|
|
123
|
+
"text-halo-color"?: undefined;
|
|
124
|
+
"text-halo-width"?: undefined;
|
|
125
|
+
"text-opacity"?: undefined;
|
|
126
|
+
};
|
|
127
|
+
filter: (string | string[])[];
|
|
128
|
+
maxzoom?: undefined;
|
|
129
|
+
minzoom?: undefined;
|
|
130
|
+
} | {
|
|
131
|
+
id: string;
|
|
132
|
+
type: string;
|
|
133
|
+
source: string;
|
|
134
|
+
"source-layer": string;
|
|
135
|
+
layout: {
|
|
136
|
+
visibility: string;
|
|
137
|
+
"symbol-avoid-edges"?: undefined;
|
|
138
|
+
"symbol-placement"?: undefined;
|
|
139
|
+
"symbol-spacing"?: undefined;
|
|
140
|
+
"text-field"?: undefined;
|
|
141
|
+
"text-font"?: undefined;
|
|
142
|
+
"text-justify"?: undefined;
|
|
143
|
+
"text-letter-spacing"?: undefined;
|
|
144
|
+
"text-pitch-alignment"?: undefined;
|
|
145
|
+
"text-rotation-alignment"?: undefined;
|
|
146
|
+
"text-size"?: undefined;
|
|
147
|
+
"symbol-sort-key"?: undefined;
|
|
148
|
+
"text-anchor"?: undefined;
|
|
149
|
+
"text-keep-upright"?: undefined;
|
|
150
|
+
"text-max-width"?: undefined;
|
|
151
|
+
"text-offset"?: undefined;
|
|
152
|
+
"text-transform"?: undefined;
|
|
153
|
+
};
|
|
154
|
+
paint: {
|
|
155
|
+
"fill-antialias": boolean;
|
|
156
|
+
"fill-color": string;
|
|
157
|
+
"fill-opacity": number;
|
|
158
|
+
"fill-translate": {
|
|
159
|
+
stops: (number | number[])[][];
|
|
160
|
+
};
|
|
161
|
+
"fill-translate-anchor": string;
|
|
162
|
+
"line-color"?: undefined;
|
|
163
|
+
"line-width"?: undefined;
|
|
164
|
+
"line-dasharray"?: undefined;
|
|
165
|
+
"line-opacity"?: undefined;
|
|
166
|
+
"text-color"?: undefined;
|
|
167
|
+
"text-halo-blur"?: undefined;
|
|
168
|
+
"text-halo-color"?: undefined;
|
|
169
|
+
"text-halo-width"?: undefined;
|
|
170
|
+
"text-opacity"?: undefined;
|
|
171
|
+
};
|
|
172
|
+
filter: (string | string[])[];
|
|
173
|
+
maxzoom?: undefined;
|
|
174
|
+
minzoom?: undefined;
|
|
175
|
+
} | {
|
|
176
|
+
id: string;
|
|
177
|
+
type: string;
|
|
178
|
+
source: string;
|
|
179
|
+
"source-layer": string;
|
|
180
|
+
minzoom: number;
|
|
181
|
+
layout: {
|
|
182
|
+
visibility: string;
|
|
183
|
+
"symbol-avoid-edges"?: undefined;
|
|
184
|
+
"symbol-placement"?: undefined;
|
|
185
|
+
"symbol-spacing"?: undefined;
|
|
186
|
+
"text-field"?: undefined;
|
|
187
|
+
"text-font"?: undefined;
|
|
188
|
+
"text-justify"?: undefined;
|
|
189
|
+
"text-letter-spacing"?: undefined;
|
|
190
|
+
"text-pitch-alignment"?: undefined;
|
|
191
|
+
"text-rotation-alignment"?: undefined;
|
|
192
|
+
"text-size"?: undefined;
|
|
193
|
+
"symbol-sort-key"?: undefined;
|
|
194
|
+
"text-anchor"?: undefined;
|
|
195
|
+
"text-keep-upright"?: undefined;
|
|
196
|
+
"text-max-width"?: undefined;
|
|
197
|
+
"text-offset"?: undefined;
|
|
198
|
+
"text-transform"?: undefined;
|
|
199
|
+
};
|
|
200
|
+
paint: {
|
|
201
|
+
"line-color": string;
|
|
202
|
+
"line-dasharray": {
|
|
203
|
+
stops: (number | number[])[][];
|
|
204
|
+
};
|
|
205
|
+
"line-opacity": number;
|
|
206
|
+
"line-width": (string | number | (string | number | (string | number | string[])[])[])[];
|
|
207
|
+
"fill-color"?: undefined;
|
|
208
|
+
"fill-antialias"?: undefined;
|
|
209
|
+
"fill-opacity"?: undefined;
|
|
210
|
+
"fill-translate"?: undefined;
|
|
211
|
+
"fill-translate-anchor"?: undefined;
|
|
212
|
+
"text-color"?: undefined;
|
|
213
|
+
"text-halo-blur"?: undefined;
|
|
214
|
+
"text-halo-color"?: undefined;
|
|
215
|
+
"text-halo-width"?: undefined;
|
|
216
|
+
"text-opacity"?: undefined;
|
|
217
|
+
};
|
|
218
|
+
filter: (string | (string | number)[])[];
|
|
219
|
+
maxzoom?: undefined;
|
|
220
|
+
} | {
|
|
221
|
+
id: string;
|
|
222
|
+
type: string;
|
|
223
|
+
source: string;
|
|
224
|
+
"source-layer": string;
|
|
225
|
+
minzoom: number;
|
|
226
|
+
layout: {
|
|
227
|
+
"symbol-avoid-edges": boolean;
|
|
228
|
+
"symbol-placement": string;
|
|
229
|
+
"symbol-spacing": {
|
|
230
|
+
stops: number[][];
|
|
231
|
+
};
|
|
232
|
+
"text-field": (string | string[])[];
|
|
233
|
+
"text-font": string[];
|
|
234
|
+
"text-justify": string;
|
|
235
|
+
"text-letter-spacing": (string | number | (string | number | string[])[])[];
|
|
236
|
+
"text-pitch-alignment": string;
|
|
237
|
+
"text-rotation-alignment": string;
|
|
238
|
+
"text-size": (string | number | (string | number | string[])[])[];
|
|
239
|
+
visibility: string;
|
|
240
|
+
"symbol-sort-key"?: undefined;
|
|
241
|
+
"text-anchor"?: undefined;
|
|
242
|
+
"text-keep-upright"?: undefined;
|
|
243
|
+
"text-max-width"?: undefined;
|
|
244
|
+
"text-offset"?: undefined;
|
|
245
|
+
"text-transform"?: undefined;
|
|
246
|
+
};
|
|
247
|
+
paint: {
|
|
248
|
+
"text-color": string;
|
|
249
|
+
"text-halo-blur": number;
|
|
250
|
+
"text-halo-color": string;
|
|
251
|
+
"text-halo-width": number;
|
|
252
|
+
"text-opacity": (string | number | (string | number | string[])[])[];
|
|
253
|
+
"fill-color"?: undefined;
|
|
254
|
+
"line-color"?: undefined;
|
|
255
|
+
"line-width"?: undefined;
|
|
256
|
+
"fill-antialias"?: undefined;
|
|
257
|
+
"fill-opacity"?: undefined;
|
|
258
|
+
"fill-translate"?: undefined;
|
|
259
|
+
"fill-translate-anchor"?: undefined;
|
|
260
|
+
"line-dasharray"?: undefined;
|
|
261
|
+
"line-opacity"?: undefined;
|
|
262
|
+
};
|
|
263
|
+
filter: string[];
|
|
264
|
+
maxzoom?: undefined;
|
|
265
|
+
} | {
|
|
266
|
+
id: string;
|
|
267
|
+
type: string;
|
|
268
|
+
source: string;
|
|
269
|
+
"source-layer": string;
|
|
270
|
+
minzoom: number;
|
|
271
|
+
layout: {
|
|
272
|
+
"symbol-sort-key": (string | string[])[];
|
|
273
|
+
"text-anchor": string;
|
|
274
|
+
"text-field": string;
|
|
275
|
+
"text-font": string[];
|
|
276
|
+
"text-keep-upright": boolean;
|
|
277
|
+
"text-max-width": number;
|
|
278
|
+
"text-offset": number[];
|
|
279
|
+
"text-size": (string | number | (string | number | string[])[])[];
|
|
280
|
+
"text-transform": string;
|
|
281
|
+
visibility: string;
|
|
282
|
+
"symbol-avoid-edges"?: undefined;
|
|
283
|
+
"symbol-placement"?: undefined;
|
|
284
|
+
"symbol-spacing"?: undefined;
|
|
285
|
+
"text-justify"?: undefined;
|
|
286
|
+
"text-letter-spacing"?: undefined;
|
|
287
|
+
"text-pitch-alignment"?: undefined;
|
|
288
|
+
"text-rotation-alignment"?: undefined;
|
|
289
|
+
};
|
|
290
|
+
paint: {
|
|
291
|
+
"text-color": string;
|
|
292
|
+
"text-halo-blur": number;
|
|
293
|
+
"text-halo-color": string;
|
|
294
|
+
"text-halo-width": number;
|
|
295
|
+
"text-opacity": (string | number | (string | number | string[])[])[];
|
|
296
|
+
"fill-color"?: undefined;
|
|
297
|
+
"line-color"?: undefined;
|
|
298
|
+
"line-width"?: undefined;
|
|
299
|
+
"fill-antialias"?: undefined;
|
|
300
|
+
"fill-opacity"?: undefined;
|
|
301
|
+
"fill-translate"?: undefined;
|
|
302
|
+
"fill-translate-anchor"?: undefined;
|
|
303
|
+
"line-dasharray"?: undefined;
|
|
304
|
+
"line-opacity"?: undefined;
|
|
305
|
+
};
|
|
306
|
+
filter: string[];
|
|
307
|
+
maxzoom?: undefined;
|
|
308
|
+
} | {
|
|
309
|
+
id: string;
|
|
310
|
+
type: string;
|
|
311
|
+
source: string;
|
|
312
|
+
"source-layer": string;
|
|
313
|
+
minzoom: number;
|
|
314
|
+
layout: {
|
|
315
|
+
"symbol-sort-key": (string | string[])[];
|
|
316
|
+
"text-anchor": string;
|
|
317
|
+
"text-field": string;
|
|
318
|
+
"text-font": string[];
|
|
319
|
+
"text-keep-upright": boolean;
|
|
320
|
+
"text-max-width": number;
|
|
321
|
+
"text-offset": number[];
|
|
322
|
+
"text-size": (string | number | (string | number)[])[];
|
|
323
|
+
"text-transform": string;
|
|
324
|
+
visibility: string;
|
|
325
|
+
"symbol-avoid-edges"?: undefined;
|
|
326
|
+
"symbol-placement"?: undefined;
|
|
327
|
+
"symbol-spacing"?: undefined;
|
|
328
|
+
"text-justify"?: undefined;
|
|
329
|
+
"text-letter-spacing"?: undefined;
|
|
330
|
+
"text-pitch-alignment"?: undefined;
|
|
331
|
+
"text-rotation-alignment"?: undefined;
|
|
332
|
+
};
|
|
333
|
+
paint: {
|
|
334
|
+
"text-color": string;
|
|
335
|
+
"text-halo-blur": number;
|
|
336
|
+
"text-halo-color": string;
|
|
337
|
+
"text-halo-width": number;
|
|
338
|
+
"text-opacity": number;
|
|
339
|
+
"fill-color"?: undefined;
|
|
340
|
+
"line-color"?: undefined;
|
|
341
|
+
"line-width"?: undefined;
|
|
342
|
+
"fill-antialias"?: undefined;
|
|
343
|
+
"fill-opacity"?: undefined;
|
|
344
|
+
"fill-translate"?: undefined;
|
|
345
|
+
"fill-translate-anchor"?: undefined;
|
|
346
|
+
"line-dasharray"?: undefined;
|
|
347
|
+
"line-opacity"?: undefined;
|
|
348
|
+
};
|
|
349
|
+
filter: string[];
|
|
350
|
+
maxzoom?: undefined;
|
|
351
|
+
} | {
|
|
352
|
+
id: string;
|
|
353
|
+
type: string;
|
|
354
|
+
source: string;
|
|
355
|
+
"source-layer": string;
|
|
356
|
+
minzoom: number;
|
|
357
|
+
maxzoom: number;
|
|
358
|
+
layout: {
|
|
359
|
+
"symbol-sort-key": (string | string[])[];
|
|
360
|
+
"text-anchor": string;
|
|
361
|
+
"text-field": string;
|
|
362
|
+
"text-font": string[];
|
|
363
|
+
"text-keep-upright": boolean;
|
|
364
|
+
"text-max-width": number;
|
|
365
|
+
"text-offset": number[];
|
|
366
|
+
"text-size": (string | number | (string | number | (string | number | string[])[])[])[];
|
|
367
|
+
"text-transform": string;
|
|
368
|
+
visibility: string;
|
|
369
|
+
"symbol-avoid-edges"?: undefined;
|
|
370
|
+
"symbol-placement"?: undefined;
|
|
371
|
+
"symbol-spacing"?: undefined;
|
|
372
|
+
"text-justify"?: undefined;
|
|
373
|
+
"text-letter-spacing"?: undefined;
|
|
374
|
+
"text-pitch-alignment"?: undefined;
|
|
375
|
+
"text-rotation-alignment"?: undefined;
|
|
376
|
+
};
|
|
377
|
+
paint: {
|
|
378
|
+
"text-color": string;
|
|
379
|
+
"text-halo-blur": number;
|
|
380
|
+
"text-halo-color": string;
|
|
381
|
+
"text-halo-width": number;
|
|
382
|
+
"fill-color"?: undefined;
|
|
383
|
+
"line-color"?: undefined;
|
|
384
|
+
"line-width"?: undefined;
|
|
385
|
+
"fill-antialias"?: undefined;
|
|
386
|
+
"fill-opacity"?: undefined;
|
|
387
|
+
"fill-translate"?: undefined;
|
|
388
|
+
"fill-translate-anchor"?: undefined;
|
|
389
|
+
"line-dasharray"?: undefined;
|
|
390
|
+
"line-opacity"?: undefined;
|
|
391
|
+
"text-opacity"?: undefined;
|
|
392
|
+
};
|
|
393
|
+
filter: (string | string[])[];
|
|
394
|
+
})[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const DEFAULT_NULL_COLOR = "#CCCCCC";
|
|
2
|
+
export type CategoricalScheme = {
|
|
3
|
+
colors: string[];
|
|
4
|
+
defaultColor: string;
|
|
5
|
+
};
|
|
6
|
+
export type ByKScheme = {
|
|
7
|
+
scalesByK: (string[] | null)[];
|
|
8
|
+
defaultColor: string;
|
|
9
|
+
minK: number;
|
|
10
|
+
maxK: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const COLOR_SCHEMES: {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function downloadResolver(downloadConf: any): {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
$$resolver: symbol;
|
|
4
|
+
$$unresolved?: Record<string | number, import("@orioro/resolve").ResolutionNode> | undefined;
|
|
5
|
+
dependencies: any;
|
|
6
|
+
value: (...args: any[]) => any;
|
|
7
|
+
defaultValue?: any;
|
|
8
|
+
context?: any;
|
|
9
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export function tableVectorSource(context: any, tableId: any, { version, ...override }?: {
|
|
2
|
+
version?: string | undefined;
|
|
3
|
+
}): {
|
|
4
|
+
type: string;
|
|
5
|
+
tiles: string[];
|
|
6
|
+
minzoom: number;
|
|
7
|
+
maxzoom: number;
|
|
8
|
+
};
|
|
9
|
+
export function vectorLayer(sourceId: any, override: any): any;
|
|
10
|
+
export function globalResources(context: any): {
|
|
11
|
+
sources: {
|
|
12
|
+
planet: {
|
|
13
|
+
type: string;
|
|
14
|
+
tiles: string[];
|
|
15
|
+
};
|
|
16
|
+
global_municipio: {
|
|
17
|
+
type: string;
|
|
18
|
+
tiles: string[];
|
|
19
|
+
minzoom: number;
|
|
20
|
+
maxzoom: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
layers: {
|
|
24
|
+
municipio: {
|
|
25
|
+
zIndex: number;
|
|
26
|
+
absoluteId: string;
|
|
27
|
+
absoluteSourceId: string;
|
|
28
|
+
'source-layer': string;
|
|
29
|
+
type: string;
|
|
30
|
+
filter: (string | string[])[];
|
|
31
|
+
paint: {
|
|
32
|
+
'line-color': string;
|
|
33
|
+
'line-width': number;
|
|
34
|
+
'line-opacity': number;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export function googleSheetsUrl({ sheetId, sheetName }: {
|
|
40
|
+
sheetId: any;
|
|
41
|
+
sheetName: any;
|
|
42
|
+
}): string;
|
|
43
|
+
export function unflat(obj: any): {};
|
|
44
|
+
export * from "./colorSchemes";
|
|
45
|
+
export * from "./filter";
|
|
46
|
+
export * from "./setupVariants";
|
|
47
|
+
export * from "./downloadResolver";
|
|
48
|
+
export const BASE_MAP_LAYERS_Z_INDEX_BASE: 100;
|
|
49
|
+
export const ABOVE_BASE_MAP_LAYERS_Z_INDEX_BASE: 1000;
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@redus/georedus-ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"packageManager": "yarn@4.0.2",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./dist/index.mjs",
|
|
10
|
+
"./*": "./dist/*"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"license": "ISC",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "rm -rf dist && rollup --config ./rollup.config.mjs",
|
|
21
|
+
"dev": "storybook dev -p 6006",
|
|
22
|
+
"build-storybook": "storybook build"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@orioro/dev": "^0.0.5",
|
|
26
|
+
"@orioro/react-versioned-state": "^0.0.2",
|
|
27
|
+
"next": "14.1.0",
|
|
28
|
+
"react-router-dom": "^7.4.1",
|
|
29
|
+
"rollup": "^4.13.0",
|
|
30
|
+
"storybook": "^8.0.0"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@mdi/js": "^7.4.47",
|
|
34
|
+
"@mdi/react": "^1.6.1",
|
|
35
|
+
"@orioro/cast": "^0.0.2",
|
|
36
|
+
"@orioro/get": "^0.0.2",
|
|
37
|
+
"@orioro/react-csv": "^0.0.2",
|
|
38
|
+
"@orioro/react-dialogs": "^0.0.2",
|
|
39
|
+
"@orioro/react-sortable": "^0.0.2",
|
|
40
|
+
"@orioro/react-ui-core": "^0.0.6",
|
|
41
|
+
"@orioro/resolve": "^0.1.2",
|
|
42
|
+
"@orioro/scale-util": "^0.0.2",
|
|
43
|
+
"@orioro/tree-model": "^0.0.2",
|
|
44
|
+
"@orioro/util": "^0.11.2",
|
|
45
|
+
"@orioro/validate": "^0.0.2",
|
|
46
|
+
"@radix-ui/react-collapsible": "^1.1.3",
|
|
47
|
+
"@radix-ui/themes": "^3.0.1",
|
|
48
|
+
"@tanstack/react-query": "^5.18.0",
|
|
49
|
+
"@turf/bbox": "^7.1.0",
|
|
50
|
+
"@turf/turf": "^7.1.0",
|
|
51
|
+
"@types/geojson": "^7946.0.16",
|
|
52
|
+
"comlink": "^4.4.2",
|
|
53
|
+
"file-saver": "^2.0.5",
|
|
54
|
+
"gdal3.js": "^2.8.1",
|
|
55
|
+
"lodash": "^4.17.21",
|
|
56
|
+
"maplibre-gl": "^5.1.0",
|
|
57
|
+
"query-string": "^9.1.1",
|
|
58
|
+
"react": "^18.2.0",
|
|
59
|
+
"react-highlight-words": "^0.21.0",
|
|
60
|
+
"react-map-gl": "^8.0.0",
|
|
61
|
+
"react-use": "^17.5.0",
|
|
62
|
+
"rehype-katex": "^7.0.1",
|
|
63
|
+
"remark-math": "^6.0.0",
|
|
64
|
+
"styled-components": "^6.1.8"
|
|
65
|
+
}
|
|
66
|
+
}
|