@hybridcore/ui 1.1.0 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/{ButtonBase-B6WYZgVU.js → ButtonBase-BYmh3G5j.js} +3 -3
  2. package/dist/{Checkbox-CxbQ9tJ5.js → Checkbox-DostZSwR.js} +1 -1
  3. package/dist/{Button-BZR43NHz.js → DialogContent-2aPOjKE7.js} +1252 -1252
  4. package/dist/{FormControl-C4PmH1vh.js → FormControl-BiAFm76F.js} +1 -1
  5. package/dist/{IconButton-CKHPuOyh.js → IconButton-CQJ8wZE8.js} +1 -1
  6. package/dist/{Input-CH_JyT5B.js → Input-Bf5G3tFN.js} +2 -2
  7. package/dist/{OutlinedInput-gnp48tDo.js → OutlinedInput-BEVE8VZQ.js} +2 -2
  8. package/dist/{Select-DOyHt8I_.js → Select-DxpxZbJp.js} +8 -8
  9. package/dist/{Source-Bo1Eq6y-.js → Source-CnCcu5UP.js} +275 -275
  10. package/dist/{Text-DVP2PrYM.js → Text-BT5kPHOo.js} +1156 -1156
  11. package/dist/assets/index.css +1 -1
  12. package/dist/assets/index2.css +1 -1
  13. package/dist/components/confirm/dialog.js +1 -1
  14. package/dist/components/context-menu/index.js +642 -642
  15. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  16. package/dist/components/data-management/instance-form/components/variable/index.js +4 -4
  17. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  18. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  19. package/dist/components/geometry-picker/edit/index.js +3 -3
  20. package/dist/components/geometry-picker/geometry/index.js +1 -1
  21. package/dist/components/geometry-picker/index.js +2 -2
  22. package/dist/components/geometry-picker/kml/index.js +7 -7
  23. package/dist/components/geometry-picker/map/index.js +1 -1
  24. package/dist/components/geometry-picker/map/logic.js +4 -4
  25. package/dist/components/geometry-picker/map/style.js +1 -1
  26. package/dist/components/icon-button/index.js +1 -1
  27. package/dist/components/map/helpers/mapbox.js +1 -1
  28. package/dist/components/map/helpers/ol.js +4 -4
  29. package/dist/components/map/index.js +6 -28
  30. package/dist/components/map/logic.js +62 -62
  31. package/dist/components/map/styled.js +2 -2
  32. package/dist/components/phone-input/index.js +1 -1
  33. package/dist/components/search-input/index.js +119 -48
  34. package/dist/components/tree-select/index.js +3 -3
  35. package/dist/components/treeview-filter/index.js +4 -4
  36. package/dist/components/treeview-filter/item/index.js +1 -1
  37. package/dist/components/treeview-filter/item-label/index.js +1 -1
  38. package/dist/{Object-DBPgar-D.js → has-9_asnBxn.js} +108 -108
  39. package/dist/{index-DHFb1Qpn.js → index-Bw_m9ult.js} +7 -7
  40. package/dist/index-IvOfmM1F.js +34 -0
  41. package/dist/{index-BQE8B4sc.js → index-wW2D1aTG.js} +2 -2
  42. package/dist/{List-BX_5LP1i.js → listItemTextClasses-BvXFz-Oc.js} +16 -16
  43. package/dist/main.d.ts +679 -6
  44. package/dist/main.js +41 -2
  45. package/dist/{ol-CMEkXXLJ.js → ol-DXmSLlWv.js} +8 -8
  46. package/dist/{styled-B22KrhDR.js → styled-C43K9x7T.js} +1 -1
  47. package/dist/{utils-C13eMoWa.js → utils-DLpkeyhZ.js} +1 -1
  48. 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,648 @@ 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
+ variant?: "outlined" | "filled" | "standard";
594
+ size?: "small" | "medium";
595
+ iconSize?: "small" | "medium" | "large";
596
+ sx?: SxProps<Theme>;
597
+ onChange?(value: string): void;
598
+ onSubmit?(value: string | undefined): void;
599
+ }
600
+
601
+ export declare const SecurityLevel: React.FC<SecurityLevelProps>;
602
+
603
+ declare interface SecurityLevelConfig {
604
+ /**
605
+ *
606
+ */
607
+ templateKeys: string[];
608
+ /**
609
+ *
610
+ */
611
+ templateType: string;
612
+ }
613
+
614
+ declare interface SecurityLevelProps {
615
+ /**
616
+ *
617
+ */
618
+ value: number;
619
+ /**
620
+ *
621
+ */
622
+ ontologyId: number;
623
+ /**
624
+ *
625
+ */
626
+ appRoles: AUTH.PermissionType;
627
+ /**
628
+ *
629
+ */
630
+ securityLevels: AUTH.SecurityLevel[];
631
+ /**
632
+ *
633
+ */
634
+ minLevel?: number;
635
+ /**
636
+ *
637
+ */
638
+ minLevelId?: number;
639
+ /**
640
+ *
641
+ */
642
+ minLevelRoles?: string[];
643
+ /**
644
+ *
645
+ */
646
+ showError?: boolean;
647
+ /**
648
+ *
649
+ */
650
+ variant?: "standard" | "outlined";
651
+ /**
652
+ *
653
+ */
654
+ templateKeys?: string[];
655
+ /**
656
+ *
657
+ */
658
+ templateType?: string;
659
+ /**
660
+ *
661
+ */
662
+ onChange(value: number): void;
663
+ }
664
+
665
+ declare interface StyleProps extends BoxProps {
666
+ overlay?: boolean;
667
+ overlayColor?: string;
668
+ }
669
+
670
+ declare interface SubmitButton {
671
+ /**
672
+ *
673
+ */
674
+ label: string;
675
+ /**
676
+ *
677
+ */
678
+ icon?: React.ReactNode;
679
+ /**
680
+ *
681
+ */
682
+ onClick?(): void;
683
+ }
684
+
685
+ export declare const TreeSelect: FC<TreeSelectProps>;
686
+
687
+ declare interface TreeSelectProps {
688
+ /**
689
+ *
690
+ */
691
+ data: any;
692
+ /**
693
+ *
694
+ */
695
+ selected: "" | string[] | undefined;
696
+ disabled?: string[];
697
+ label?: string;
698
+ idKey?: string;
699
+ onChange(id: string, checked: boolean): void;
700
+ }
701
+
702
+ export declare const TreeViewFilter: FC<Props_9>;
703
+
31
704
  export { }
32
705
 
33
706
 
@@ -45,7 +718,7 @@ declare namespace MAP {
45
718
 
46
719
  interface OptionsType {
47
720
  cursor?: string;
48
- cssPosition?: 'absolute' | 'fixed' | 'relative';
721
+ cssPosition?: "absolute" | "fixed" | "relative";
49
722
  interactions?: InteractionDefaultsOptions;
50
723
  controls?: ControlDefaultsOptions;
51
724
  }
@@ -53,7 +726,7 @@ declare namespace MAP {
53
726
  interface Props {
54
727
  id?: string;
55
728
  layers?: any[];
56
- center?: CoordinateType;
729
+ center?: Coordinate;
57
730
  zoom?: number;
58
731
  options?: OptionsType;
59
732
  onInit?(): void;
@@ -80,13 +753,13 @@ declare namespace MAP {
80
753
  on(eventName: string, callback: (event?: any) => void): void;
81
754
  getView(): View;
82
755
  getEventPixel(event: MouseEvent): Pixel;
83
- getEventCoordinate(event: MouseEvent): CoordinateFormat;
756
+ getEventCoordinate(event: MouseEvent): OlCoordinate;
84
757
  forEachFeatureAtPixel(pixel: Pixel): Feature;
85
758
  centerToFeature(feature: Feature<Geometry>, padding?: number[]): void;
86
759
  centerToExtent(
87
760
  extent: Extent,
88
761
  minResolution?: number,
89
- padding?: number[],
762
+ padding?: number[]
90
763
  ): void;
91
764
  setCenter(coordinate: OlCoordinate): void;
92
765
  setZoomLevel(level: number): void;
@@ -99,7 +772,7 @@ declare namespace MAP {
99
772
  icon: string;
100
773
  geometry: string[];
101
774
  clusterIcon: string;
102
- data?: FV.SearchResult;
775
+ data?: any;
103
776
  groupName?: string;
104
777
  selected?: boolean;
105
778
  }
@@ -108,7 +781,7 @@ declare namespace MAP {
108
781
  icon: string;
109
782
  geometry: string[];
110
783
  clusterIcon: string;
111
- data?: FV.SearchResult;
784
+ data?: any;
112
785
  groupName?: string;
113
786
  selected?: boolean;
114
787
  }