@hybridcore/ui 1.1.0 → 1.1.2
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/{ButtonBase-B6WYZgVU.js → ButtonBase-BYmh3G5j.js} +3 -3
- package/dist/{Checkbox-CxbQ9tJ5.js → Checkbox-DostZSwR.js} +1 -1
- package/dist/{Button-BZR43NHz.js → DialogContent-2aPOjKE7.js} +1252 -1252
- package/dist/{FormControl-C4PmH1vh.js → FormControl-BiAFm76F.js} +1 -1
- package/dist/{IconButton-CKHPuOyh.js → IconButton-CQJ8wZE8.js} +1 -1
- package/dist/{Input-CH_JyT5B.js → Input-Bf5G3tFN.js} +2 -2
- package/dist/{OutlinedInput-gnp48tDo.js → OutlinedInput-BEVE8VZQ.js} +2 -2
- package/dist/{Select-DOyHt8I_.js → Select-DxpxZbJp.js} +8 -8
- package/dist/{Source-Bo1Eq6y-.js → Source-CnCcu5UP.js} +275 -275
- package/dist/{Text-DVP2PrYM.js → Text-BT5kPHOo.js} +1156 -1156
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/components/confirm/dialog.js +1 -1
- package/dist/components/context-menu/index.js +642 -642
- package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/data-management/instance-form/components/variable/index.js +4 -4
- package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +3 -3
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/index.js +2 -2
- package/dist/components/geometry-picker/kml/index.js +7 -7
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +4 -4
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/helpers/mapbox.js +1 -1
- package/dist/components/map/helpers/ol.js +4 -4
- package/dist/components/map/index.js +6 -28
- package/dist/components/map/logic.js +62 -62
- package/dist/components/map/styled.js +2 -2
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/search-input/index.js +3 -3
- package/dist/components/tree-select/index.js +3 -3
- package/dist/components/treeview-filter/index.js +4 -4
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +1 -1
- package/dist/{Object-DBPgar-D.js → has-9_asnBxn.js} +108 -108
- package/dist/{index-DHFb1Qpn.js → index-Bw_m9ult.js} +7 -7
- package/dist/index-IvOfmM1F.js +34 -0
- package/dist/{index-BQE8B4sc.js → index-wW2D1aTG.js} +2 -2
- package/dist/{List-BX_5LP1i.js → listItemTextClasses-BvXFz-Oc.js} +16 -16
- package/dist/main.d.ts +677 -6
- package/dist/main.js +41 -2
- package/dist/{ol-CMEkXXLJ.js → ol-DXmSLlWv.js} +8 -8
- package/dist/{styled-B22KrhDR.js → styled-C43K9x7T.js} +1 -1
- package/dist/{utils-C13eMoWa.js → utils-DLpkeyhZ.js} +1 -1
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
2
|
+
import { Collection } from 'ol';
|
|
3
|
+
import { Coordinate } from 'ol/coordinate';
|
|
4
|
+
import { Dayjs } from 'dayjs';
|
|
1
5
|
import { default as default_2 } from 'react';
|
|
6
|
+
import { default as default_3 } from 'ol/layer/Layer';
|
|
7
|
+
import { default as default_4 } from 'ol/layer/Group';
|
|
8
|
+
import { DefaultsOptions } from 'ol/interaction/defaults';
|
|
9
|
+
import { DefaultsOptions as DefaultsOptions_2 } from 'ol/control/defaults';
|
|
10
|
+
import { Extent } from 'ol/extent';
|
|
11
|
+
import { FC } from 'react';
|
|
12
|
+
import { Feature } from 'ol';
|
|
13
|
+
import { Geometry } from 'ol/geom';
|
|
14
|
+
import { IconButtonProps } from '@mui/material/IconButton';
|
|
15
|
+
import { Pixel } from 'ol/pixel';
|
|
16
|
+
import { Size } from 'ol/size';
|
|
17
|
+
import { SxProps } from '@mui/material/styles';
|
|
18
|
+
import { SxProps as SxProps_2 } from '@mui/material';
|
|
19
|
+
import { Theme } from '@mui/material/styles';
|
|
20
|
+
import { View } from 'ol';
|
|
21
|
+
|
|
22
|
+
export declare const Access: React.FC<Props>;
|
|
23
|
+
|
|
24
|
+
declare function alert_2(title: string, message: string): Promise<unknown>;
|
|
25
|
+
export { alert_2 as alert }
|
|
26
|
+
|
|
27
|
+
declare function authenticate(credId: BufferSource): Promise<boolean>;
|
|
2
28
|
|
|
3
29
|
declare interface AvatarType {
|
|
4
30
|
title: string;
|
|
@@ -6,6 +32,13 @@ declare interface AvatarType {
|
|
|
6
32
|
image: string;
|
|
7
33
|
}
|
|
8
34
|
|
|
35
|
+
declare interface ButtonType {
|
|
36
|
+
label: string;
|
|
37
|
+
startIcon?: React.ReactNode;
|
|
38
|
+
endIcon?: React.ReactNode;
|
|
39
|
+
onClick?(event?: React.MouseEvent<HTMLElement>): void;
|
|
40
|
+
}
|
|
41
|
+
|
|
9
42
|
export declare const Card: React.FC<CardProps>;
|
|
10
43
|
|
|
11
44
|
declare interface CardProps {
|
|
@@ -26,8 +59,646 @@ declare interface CardProps {
|
|
|
26
59
|
stats?: default_2.ReactNode;
|
|
27
60
|
}
|
|
28
61
|
|
|
62
|
+
export declare const ConditionalWrapper: React.FC<ConditionalWrapperProps>;
|
|
63
|
+
|
|
64
|
+
declare interface ConditionalWrapperProps {
|
|
65
|
+
/**
|
|
66
|
+
* Condition to wrap
|
|
67
|
+
*/
|
|
68
|
+
condition: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @param children React.ReactElement
|
|
71
|
+
*/
|
|
72
|
+
wrapper(children: default_2.ReactElement): default_2.ReactElement;
|
|
73
|
+
/**
|
|
74
|
+
* Child components to wrap
|
|
75
|
+
*/
|
|
76
|
+
children: default_2.ReactElement;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
declare function confirm_2(title: string, description: string, options?: OptionsType): Promise<unknown>;
|
|
80
|
+
export { confirm_2 as confirm }
|
|
81
|
+
|
|
82
|
+
export declare const Container: React.FC<ContainerProps>;
|
|
83
|
+
|
|
84
|
+
declare interface ContainerProps {
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
title?: default_2.ReactNode;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
subheader?: string;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
action?: default_2.ReactNode;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
disableHeader?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
sx?: SxProps<Theme>;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
headerSx?: SxProps<Theme>;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
contentSx?: SxProps<Theme>;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
elevation?: number;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
children?: default_2.ReactNode;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export declare const ContextMenu: React.FC<Props_2>;
|
|
124
|
+
|
|
125
|
+
declare interface DataType extends ItemProps {
|
|
126
|
+
idKey?: string;
|
|
127
|
+
children?: DataType[];
|
|
128
|
+
defaultSelected?: string[];
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export declare const DateTimePicker: React.FC<Props_3>;
|
|
132
|
+
|
|
133
|
+
declare function decrypt(encryptionKey: any, base64data: string): Promise<{
|
|
134
|
+
status: string;
|
|
135
|
+
data: string;
|
|
136
|
+
message?: undefined;
|
|
137
|
+
} | {
|
|
138
|
+
status: string;
|
|
139
|
+
message: string;
|
|
140
|
+
data?: undefined;
|
|
141
|
+
}>;
|
|
142
|
+
|
|
143
|
+
declare const _default: default_2.MemoExoticComponent<(props: MAP.Props & default_2.RefAttributes<MAP.Handle>) => default_2.ReactNode | null>;
|
|
144
|
+
|
|
145
|
+
export declare const DisseminationList: React.FC<DisseminationListProps>;
|
|
146
|
+
|
|
147
|
+
declare interface DisseminationListProps {
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
*/
|
|
151
|
+
selectedIds: string[];
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
*/
|
|
155
|
+
memberedGroups: AUTH.MemberedGroupsType[];
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
showError?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
*/
|
|
163
|
+
variant?: "standart" | "outlined";
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
onChange(value: string[]): void;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
declare function encrypt(encryptionKey: any, data: any): Promise<{
|
|
171
|
+
status: string;
|
|
172
|
+
data: string;
|
|
173
|
+
message?: undefined;
|
|
174
|
+
} | {
|
|
175
|
+
status: string;
|
|
176
|
+
message: string;
|
|
177
|
+
data?: undefined;
|
|
178
|
+
}>;
|
|
179
|
+
|
|
180
|
+
declare function exportKey(key: any): Promise<JsonWebKey>;
|
|
181
|
+
|
|
182
|
+
declare function generateKey(): Promise<CryptoKey>;
|
|
183
|
+
|
|
184
|
+
export declare const GeometryPicker: React.FC<Props_4>;
|
|
185
|
+
|
|
186
|
+
declare interface Handle {
|
|
187
|
+
reset: () => void;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export declare const IconButton: default_2.FC<Props_5>;
|
|
191
|
+
|
|
192
|
+
declare function importKey(jwk: any): Promise<CryptoKey>;
|
|
193
|
+
|
|
194
|
+
export declare const InstanceForm: <T extends ONTOLOGY.Object | ONTOLOGY.Event | ONTOLOGY.Agent | ONTOLOGY.File, K extends INSTANCE.CreateObjectDTO | INSTANCE.UpdateObjectDTO | INSTANCE.CreateEventDTO | INSTANCE.UpdateEventDTO | INSTANCE.CreateAgentDTO | INSTANCE.CreateFileDTO | INSTANCE.UpdateFileDTO>(props: InstanceFormProps<T, K> & default_2.RefAttributes<InstanceFormHandle>) => default_2.ReactNode | null;
|
|
195
|
+
|
|
196
|
+
declare interface InstanceFormHandle {
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @returns
|
|
200
|
+
*/
|
|
201
|
+
resetForm: () => void;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @param name
|
|
205
|
+
* @param value
|
|
206
|
+
* @returns
|
|
207
|
+
*/
|
|
208
|
+
setFormValue: (name: any, value: any) => void;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @param name
|
|
212
|
+
* @returns
|
|
213
|
+
*/
|
|
214
|
+
getFormValue: (name: any) => any;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
declare interface InstanceFormProps<
|
|
218
|
+
T extends ONTOLOGY.Object | ONTOLOGY.Event | ONTOLOGY.Agent | ONTOLOGY.File,
|
|
219
|
+
K extends
|
|
220
|
+
| INSTANCE.CreateObjectDTO
|
|
221
|
+
| INSTANCE.UpdateObjectDTO
|
|
222
|
+
| INSTANCE.CreateEventDTO
|
|
223
|
+
| INSTANCE.UpdateEventDTO
|
|
224
|
+
| INSTANCE.CreateAgentDTO
|
|
225
|
+
| INSTANCE.CreateFileDTO
|
|
226
|
+
| INSTANCE.UpdateFileDTO
|
|
227
|
+
> {
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
*/
|
|
231
|
+
variant?: "inline" | "dialog";
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
*/
|
|
235
|
+
mappedTemplates: Map<string | number, T>;
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
*/
|
|
239
|
+
defaultValues: K;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
*/
|
|
243
|
+
loading: boolean;
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
*/
|
|
247
|
+
removeLoading?: boolean;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
*/
|
|
251
|
+
disableTemplateChange?: boolean;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
*/
|
|
255
|
+
minSecurityLevel?: number;
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
*/
|
|
259
|
+
saveButtons?: SubmitButton[];
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
*/
|
|
263
|
+
mode?: "create" | "edit";
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
*/
|
|
267
|
+
keyAuth?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
*/
|
|
271
|
+
securityLevelConfig?: SecurityLevelConfig;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
*/
|
|
275
|
+
memberedGroups: AUTH.MemberedGroupsType[];
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
*/
|
|
279
|
+
ontologyId: number;
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
appRoles: AUTH.PermissionType;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
*/
|
|
287
|
+
securityLevels: AUTH.SecurityLevel[];
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
*/
|
|
291
|
+
policyList: POLICY.Policy[];
|
|
292
|
+
/**
|
|
293
|
+
*
|
|
294
|
+
* @param template
|
|
295
|
+
*/
|
|
296
|
+
onSelectedTemplateChange?(template: T | undefined): void;
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @param data
|
|
300
|
+
*/
|
|
301
|
+
onSubmit(data: any): void;
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
*/
|
|
305
|
+
onRemove?(): void;
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
*/
|
|
309
|
+
onCancel?(): void;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
declare interface ItemProps {
|
|
313
|
+
id: string | number;
|
|
314
|
+
name: string;
|
|
315
|
+
checked?: boolean;
|
|
316
|
+
disabled?: boolean;
|
|
317
|
+
disabledIds?: string[];
|
|
318
|
+
onChange?(id: string, checked: boolean): void;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export declare namespace KeyProductionUtils {
|
|
322
|
+
export {
|
|
323
|
+
register,
|
|
324
|
+
authenticate,
|
|
325
|
+
generateKey,
|
|
326
|
+
encrypt,
|
|
327
|
+
decrypt,
|
|
328
|
+
exportKey,
|
|
329
|
+
importKey
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export declare const KeyProtectionMenu: React.FC<Props_6>;
|
|
334
|
+
|
|
335
|
+
export declare const Loading: React.FC<Props_7>;
|
|
336
|
+
|
|
337
|
+
declare namespace MAP {
|
|
338
|
+
interface Coordinate {
|
|
339
|
+
latitude: number;
|
|
340
|
+
longitude: number;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
interface BoundingBox {
|
|
344
|
+
bottomLeft: Coordinate;
|
|
345
|
+
topRight: Coordinate;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
interface OptionsType {
|
|
349
|
+
cursor?: string;
|
|
350
|
+
cssPosition?: "absolute" | "fixed" | "relative";
|
|
351
|
+
interactions?: DefaultsOptions;
|
|
352
|
+
controls?: DefaultsOptions_2;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
interface Props {
|
|
356
|
+
id?: string;
|
|
357
|
+
layers?: any[];
|
|
358
|
+
center?: Coordinate;
|
|
359
|
+
zoom?: number;
|
|
360
|
+
options?: OptionsType;
|
|
361
|
+
onInit?(): void;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
interface Handle {
|
|
365
|
+
addLayer(layer: any): void;
|
|
366
|
+
addOverlay(overlay: any): void;
|
|
367
|
+
removeOverlay(overlay: any): void;
|
|
368
|
+
removeOverlayById(id: string | number): void;
|
|
369
|
+
insertLayerAt(index: number, layer: any): void;
|
|
370
|
+
getAllLayers(): Array<default_3>;
|
|
371
|
+
getBoundingBox(): BoundingBox;
|
|
372
|
+
getCoordinateFromPixel(pixel: Pixel): Coordinate;
|
|
373
|
+
getLayerGroup(): void;
|
|
374
|
+
getLayers(): Collection<default_3 | default_4>;
|
|
375
|
+
getSize(): Size;
|
|
376
|
+
getZoomLevel(): number | undefined;
|
|
377
|
+
removeLayer(layer: any): void;
|
|
378
|
+
setLayerGroup(layerGroup: any): void;
|
|
379
|
+
setLayers(layers: any[]): void;
|
|
380
|
+
addInteraction(interaction: any): void;
|
|
381
|
+
removeInteraction(interaction: any): void;
|
|
382
|
+
on(eventName: string, callback: (event?: any) => void): void;
|
|
383
|
+
getView(): View;
|
|
384
|
+
getEventPixel(event: MouseEvent): Pixel;
|
|
385
|
+
getEventCoordinate(event: MouseEvent): Coordinate;
|
|
386
|
+
forEachFeatureAtPixel(pixel: Pixel): Feature;
|
|
387
|
+
centerToFeature(feature: Feature<Geometry>, padding?: number[]): void;
|
|
388
|
+
centerToExtent(
|
|
389
|
+
extent: Extent,
|
|
390
|
+
minResolution?: number,
|
|
391
|
+
padding?: number[]
|
|
392
|
+
): void;
|
|
393
|
+
setCenter(coordinate: Coordinate): void;
|
|
394
|
+
setZoomLevel(level: number): void;
|
|
395
|
+
updateSize(): void;
|
|
396
|
+
zoomIn(): void;
|
|
397
|
+
zoomOut(): void;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
interface KMLMarker {
|
|
401
|
+
icon: string;
|
|
402
|
+
geometry: string[];
|
|
403
|
+
clusterIcon: string;
|
|
404
|
+
data?: any;
|
|
405
|
+
groupName?: string;
|
|
406
|
+
selected?: boolean;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
interface WKTMarker {
|
|
410
|
+
icon: string;
|
|
411
|
+
geometry: string[];
|
|
412
|
+
clusterIcon: string;
|
|
413
|
+
data?: any;
|
|
414
|
+
groupName?: string;
|
|
415
|
+
selected?: boolean;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export declare namespace Map_2 {
|
|
420
|
+
export {
|
|
421
|
+
_default as default
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
declare type MousePosition = {
|
|
426
|
+
top: number;
|
|
427
|
+
left: number;
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
declare interface OptionsType {
|
|
431
|
+
confirmButtonText?: string;
|
|
432
|
+
cancelButtonText?: string;
|
|
433
|
+
disableCancelButton?: boolean;
|
|
434
|
+
}
|
|
435
|
+
|
|
29
436
|
declare type OrientationType_2 = "portrait" | "landscape";
|
|
30
437
|
|
|
438
|
+
export declare const PhoneInput: React.FC<Props_8>;
|
|
439
|
+
|
|
440
|
+
declare interface Props {
|
|
441
|
+
/**
|
|
442
|
+
*
|
|
443
|
+
*/
|
|
444
|
+
appRoles: AUTH.PermissionType;
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
*/
|
|
448
|
+
loading?: boolean;
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
*/
|
|
452
|
+
pagePath?: string;
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
*/
|
|
456
|
+
feature?: AUTH.ModuleType;
|
|
457
|
+
/**
|
|
458
|
+
*
|
|
459
|
+
*/
|
|
460
|
+
fallback?: default_2.ReactNode;
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
*/
|
|
464
|
+
children?: default_2.ReactNode;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
declare interface Props_2 {
|
|
468
|
+
open: boolean;
|
|
469
|
+
buttons: ButtonType[];
|
|
470
|
+
position?: MousePosition;
|
|
471
|
+
width?: number | string;
|
|
472
|
+
sx?: SxProps_2;
|
|
473
|
+
onClose?(): void;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
declare interface Props_3 {
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
*/
|
|
480
|
+
value: string;
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
*/
|
|
484
|
+
onChange(value: string);
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
*/
|
|
488
|
+
name?: string;
|
|
489
|
+
/**
|
|
490
|
+
*
|
|
491
|
+
*/
|
|
492
|
+
minDate?: Dayjs;
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
*/
|
|
496
|
+
variant?: "standard" | "outlined" | "filled";
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
*/
|
|
500
|
+
size?: "small" | "medium";
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
*/
|
|
504
|
+
minuteStep?: number;
|
|
505
|
+
/**
|
|
506
|
+
*
|
|
507
|
+
*/
|
|
508
|
+
pattern?: string;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
declare interface Props_4 {
|
|
512
|
+
/**
|
|
513
|
+
*
|
|
514
|
+
*/
|
|
515
|
+
label: string;
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
*/
|
|
519
|
+
mapboxAccessToken: string;
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
*/
|
|
523
|
+
value?: string;
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
*/
|
|
527
|
+
disableAddCoordinate?: boolean;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
*/
|
|
531
|
+
defaultExtent?: Extent;
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
*/
|
|
535
|
+
onChange?(value: string): void;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
declare interface Props_5 extends IconButtonProps {
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
*/
|
|
542
|
+
variant?: "default" | "vertical" | "mini";
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
*/
|
|
546
|
+
startIcon?: React.ReactNode;
|
|
547
|
+
/**
|
|
548
|
+
*
|
|
549
|
+
*/
|
|
550
|
+
onclick?(): void;
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
*/
|
|
554
|
+
children: React.ReactNode;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
declare interface Props_6 {
|
|
558
|
+
encryptionKey: CryptoKey | null;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
declare interface Props_7 extends StyleProps {
|
|
562
|
+
show: boolean;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
declare interface Props_8 {
|
|
566
|
+
label: string;
|
|
567
|
+
value: string;
|
|
568
|
+
placeholder?: string;
|
|
569
|
+
onChange(value: string): void;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
declare interface Props_9 {
|
|
573
|
+
data: DataType[];
|
|
574
|
+
idKey?: string;
|
|
575
|
+
selected?: string[];
|
|
576
|
+
expanded?: string[];
|
|
577
|
+
disabled?: string[];
|
|
578
|
+
disableSearch?: boolean;
|
|
579
|
+
onChange?(id: string, checked: boolean): void;
|
|
580
|
+
onToggle?(event: React.SyntheticEvent, nodeIds: string[]): void;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
declare function register(): Promise<Credential | null>;
|
|
584
|
+
|
|
585
|
+
export declare const SearchInput: (props: SearchInputProps & default_2.RefAttributes<Handle>) => default_2.ReactNode | null;
|
|
586
|
+
|
|
587
|
+
declare interface SearchInputProps {
|
|
588
|
+
defaultValue?: string;
|
|
589
|
+
label?: string;
|
|
590
|
+
placeholder?: string;
|
|
591
|
+
fullWidth?: boolean;
|
|
592
|
+
disableLabel?: boolean;
|
|
593
|
+
iconSize?: "small" | "medium" | "large";
|
|
594
|
+
sx?: SxProps<Theme>;
|
|
595
|
+
onChange?(value: string): void;
|
|
596
|
+
onSubmit?(value: string | undefined): void;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export declare const SecurityLevel: React.FC<SecurityLevelProps>;
|
|
600
|
+
|
|
601
|
+
declare interface SecurityLevelConfig {
|
|
602
|
+
/**
|
|
603
|
+
*
|
|
604
|
+
*/
|
|
605
|
+
templateKeys: string[];
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
*/
|
|
609
|
+
templateType: string;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
declare interface SecurityLevelProps {
|
|
613
|
+
/**
|
|
614
|
+
*
|
|
615
|
+
*/
|
|
616
|
+
value: number;
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
*/
|
|
620
|
+
ontologyId: number;
|
|
621
|
+
/**
|
|
622
|
+
*
|
|
623
|
+
*/
|
|
624
|
+
appRoles: AUTH.PermissionType;
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
*/
|
|
628
|
+
securityLevels: AUTH.SecurityLevel[];
|
|
629
|
+
/**
|
|
630
|
+
*
|
|
631
|
+
*/
|
|
632
|
+
minLevel?: number;
|
|
633
|
+
/**
|
|
634
|
+
*
|
|
635
|
+
*/
|
|
636
|
+
minLevelId?: number;
|
|
637
|
+
/**
|
|
638
|
+
*
|
|
639
|
+
*/
|
|
640
|
+
minLevelRoles?: string[];
|
|
641
|
+
/**
|
|
642
|
+
*
|
|
643
|
+
*/
|
|
644
|
+
showError?: boolean;
|
|
645
|
+
/**
|
|
646
|
+
*
|
|
647
|
+
*/
|
|
648
|
+
variant?: "standard" | "outlined";
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
*/
|
|
652
|
+
templateKeys?: string[];
|
|
653
|
+
/**
|
|
654
|
+
*
|
|
655
|
+
*/
|
|
656
|
+
templateType?: string;
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
*/
|
|
660
|
+
onChange(value: number): void;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
declare interface StyleProps extends BoxProps {
|
|
664
|
+
overlay?: boolean;
|
|
665
|
+
overlayColor?: string;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
declare interface SubmitButton {
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
*/
|
|
672
|
+
label: string;
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
*/
|
|
676
|
+
icon?: React.ReactNode;
|
|
677
|
+
/**
|
|
678
|
+
*
|
|
679
|
+
*/
|
|
680
|
+
onClick?(): void;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export declare const TreeSelect: FC<TreeSelectProps>;
|
|
684
|
+
|
|
685
|
+
declare interface TreeSelectProps {
|
|
686
|
+
/**
|
|
687
|
+
*
|
|
688
|
+
*/
|
|
689
|
+
data: any;
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
*/
|
|
693
|
+
selected: "" | string[] | undefined;
|
|
694
|
+
disabled?: string[];
|
|
695
|
+
label?: string;
|
|
696
|
+
idKey?: string;
|
|
697
|
+
onChange(id: string, checked: boolean): void;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
export declare const TreeViewFilter: FC<Props_9>;
|
|
701
|
+
|
|
31
702
|
export { }
|
|
32
703
|
|
|
33
704
|
|
|
@@ -45,7 +716,7 @@ declare namespace MAP {
|
|
|
45
716
|
|
|
46
717
|
interface OptionsType {
|
|
47
718
|
cursor?: string;
|
|
48
|
-
cssPosition?:
|
|
719
|
+
cssPosition?: "absolute" | "fixed" | "relative";
|
|
49
720
|
interactions?: InteractionDefaultsOptions;
|
|
50
721
|
controls?: ControlDefaultsOptions;
|
|
51
722
|
}
|
|
@@ -53,7 +724,7 @@ declare namespace MAP {
|
|
|
53
724
|
interface Props {
|
|
54
725
|
id?: string;
|
|
55
726
|
layers?: any[];
|
|
56
|
-
center?:
|
|
727
|
+
center?: Coordinate;
|
|
57
728
|
zoom?: number;
|
|
58
729
|
options?: OptionsType;
|
|
59
730
|
onInit?(): void;
|
|
@@ -80,13 +751,13 @@ declare namespace MAP {
|
|
|
80
751
|
on(eventName: string, callback: (event?: any) => void): void;
|
|
81
752
|
getView(): View;
|
|
82
753
|
getEventPixel(event: MouseEvent): Pixel;
|
|
83
|
-
getEventCoordinate(event: MouseEvent):
|
|
754
|
+
getEventCoordinate(event: MouseEvent): OlCoordinate;
|
|
84
755
|
forEachFeatureAtPixel(pixel: Pixel): Feature;
|
|
85
756
|
centerToFeature(feature: Feature<Geometry>, padding?: number[]): void;
|
|
86
757
|
centerToExtent(
|
|
87
758
|
extent: Extent,
|
|
88
759
|
minResolution?: number,
|
|
89
|
-
padding?: number[]
|
|
760
|
+
padding?: number[]
|
|
90
761
|
): void;
|
|
91
762
|
setCenter(coordinate: OlCoordinate): void;
|
|
92
763
|
setZoomLevel(level: number): void;
|
|
@@ -99,7 +770,7 @@ declare namespace MAP {
|
|
|
99
770
|
icon: string;
|
|
100
771
|
geometry: string[];
|
|
101
772
|
clusterIcon: string;
|
|
102
|
-
data?:
|
|
773
|
+
data?: any;
|
|
103
774
|
groupName?: string;
|
|
104
775
|
selected?: boolean;
|
|
105
776
|
}
|
|
@@ -108,7 +779,7 @@ declare namespace MAP {
|
|
|
108
779
|
icon: string;
|
|
109
780
|
geometry: string[];
|
|
110
781
|
clusterIcon: string;
|
|
111
|
-
data?:
|
|
782
|
+
data?: any;
|
|
112
783
|
groupName?: string;
|
|
113
784
|
selected?: boolean;
|
|
114
785
|
}
|