@maplat/ui 0.11.0 → 0.11.1
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/absolute_url.d.ts +1 -1
- package/dist/contextmenu.d.ts +5 -5
- package/dist/function.d.ts +2 -2
- package/dist/icons.d.ts +7 -7
- package/dist/index.d.ts +65 -64
- package/dist/maplat-ui.es.js +33551 -9383
- package/dist/maplat-ui.umd.js +4934 -205
- package/dist/maplat_control.d.ts +55 -55
- package/dist/pointer_images.d.ts +2 -2
- package/dist/swiper_ex.d.ts +2 -2
- package/dist/types.d.ts +185 -173
- package/dist/ui_init.d.ts +4 -4
- package/dist/ui_marker.d.ts +9 -9
- package/dist/ui_utils.d.ts +9 -9
- package/package.json +2 -2
- package/src/index.ts +1 -0
- package/src/maplat_control.ts +4 -61
- package/src/types.ts +202 -202
- package/src/ui_init.ts +1175 -1066
- package/src/ui_marker.ts +376 -376
package/dist/absolute_url.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function absoluteUrl(base: string, relative: string): string;
|
|
1
|
+
export default function absoluteUrl(base: string, relative: string): string;
|
package/dist/contextmenu.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as ContextMenuBase } from './contextmenu/base';
|
|
2
|
-
import { ContextMenuOptions } from './types';
|
|
3
|
-
export default class ContextMenu extends ContextMenuBase {
|
|
4
|
-
constructor(options?: ContextMenuOptions);
|
|
5
|
-
}
|
|
1
|
+
import { default as ContextMenuBase } from './contextmenu/base';
|
|
2
|
+
import { ContextMenuOptions } from './types';
|
|
3
|
+
export default class ContextMenu extends ContextMenuBase {
|
|
4
|
+
constructor(options?: ContextMenuOptions);
|
|
5
|
+
}
|
package/dist/function.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function normalizeArg(options: Record<string, unknown>): Record<string, unknown>;
|
|
2
|
-
export declare function getUniqueId(prefix?: string): string;
|
|
1
|
+
export declare function normalizeArg(options: Record<string, unknown>): Record<string, unknown>;
|
|
2
|
+
export declare function getUniqueId(prefix?: string): string;
|
package/dist/icons.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const icons: {
|
|
2
|
-
[key: string]: {
|
|
3
|
-
viewBox: string;
|
|
4
|
-
path: string;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
export declare function getIcon(name: string, cls?: string): string;
|
|
1
|
+
export declare const icons: {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
viewBox: string;
|
|
4
|
+
path: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare function getIcon(name: string, cls?: string): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,64 +1,65 @@
|
|
|
1
|
-
import { MaplatApp as Core } from '@maplat/core';
|
|
2
|
-
import { default as EventTarget } from 'ol/events/Target.js';
|
|
3
|
-
import { SliderNew } from './maplat_control';
|
|
4
|
-
import { default as ContextMenu } from './contextmenu';
|
|
5
|
-
import { Pixel } from 'ol/pixel';
|
|
6
|
-
import { Coordinate } from 'ol/coordinate';
|
|
7
|
-
import { MaplatAppOption, SwiperInstance } from './types';
|
|
8
|
-
export declare class MaplatUi extends EventTarget {
|
|
9
|
-
static createObject(option: MaplatAppOption): Promise<MaplatUi>;
|
|
10
|
-
core?: Core;
|
|
11
|
-
appOption: MaplatAppOption;
|
|
12
|
-
waitReady: Promise<void>;
|
|
13
|
-
waitReadyBridge: unknown;
|
|
14
|
-
pathThatSet?: string;
|
|
15
|
-
swipers: Record<string, SwiperInstance>;
|
|
16
|
-
mobile_if: boolean;
|
|
17
|
-
ui_func: string;
|
|
18
|
-
datum: string;
|
|
19
|
-
selected_layer: string;
|
|
20
|
-
toms: number;
|
|
21
|
-
cache_messages: Record<string, string>;
|
|
22
|
-
last_toast: any;
|
|
23
|
-
share_enable: boolean;
|
|
24
|
-
sliderNew: SliderNew;
|
|
25
|
-
baseSwiper: SwiperInstance;
|
|
26
|
-
overlaySwiper: SwiperInstance;
|
|
27
|
-
sliderCommon: any;
|
|
28
|
-
contextMenu: ContextMenu;
|
|
29
|
-
splashPromise: Promise<void>;
|
|
30
|
-
_selectCandidateSources?: Record<string, any>;
|
|
31
|
-
appEnvelope?: boolean;
|
|
32
|
-
restoring: boolean;
|
|
33
|
-
poiSwiper: SwiperInstance | undefined;
|
|
34
|
-
html: string;
|
|
35
|
-
enablePoiHtmlNoScroll: boolean;
|
|
36
|
-
enableShare: boolean;
|
|
37
|
-
enableHideMarker: boolean;
|
|
38
|
-
enableBorder: boolean;
|
|
39
|
-
enableMarkerList: boolean;
|
|
40
|
-
disableNoimage: boolean;
|
|
41
|
-
alwaysGpsOn: boolean;
|
|
42
|
-
isTouch: boolean;
|
|
43
|
-
html_id_seed: string;
|
|
44
|
-
lastClickPixel: Pixel | undefined;
|
|
45
|
-
lastClickCoordinate: Coordinate | undefined;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
1
|
+
import { MaplatApp as Core } from '@maplat/core';
|
|
2
|
+
import { default as EventTarget } from 'ol/events/Target.js';
|
|
3
|
+
import { SliderNew } from './maplat_control';
|
|
4
|
+
import { default as ContextMenu } from './contextmenu';
|
|
5
|
+
import { Pixel } from 'ol/pixel';
|
|
6
|
+
import { Coordinate } from 'ol/coordinate';
|
|
7
|
+
import { MaplatAppOption, SwiperInstance } from './types';
|
|
8
|
+
export declare class MaplatUi extends EventTarget {
|
|
9
|
+
static createObject(option: MaplatAppOption): Promise<MaplatUi>;
|
|
10
|
+
core?: Core;
|
|
11
|
+
appOption: MaplatAppOption;
|
|
12
|
+
waitReady: Promise<void>;
|
|
13
|
+
waitReadyBridge: unknown;
|
|
14
|
+
pathThatSet?: string;
|
|
15
|
+
swipers: Record<string, SwiperInstance>;
|
|
16
|
+
mobile_if: boolean;
|
|
17
|
+
ui_func: string;
|
|
18
|
+
datum: string;
|
|
19
|
+
selected_layer: string;
|
|
20
|
+
toms: number;
|
|
21
|
+
cache_messages: Record<string, string>;
|
|
22
|
+
last_toast: any;
|
|
23
|
+
share_enable: boolean;
|
|
24
|
+
sliderNew: SliderNew;
|
|
25
|
+
baseSwiper: SwiperInstance;
|
|
26
|
+
overlaySwiper: SwiperInstance;
|
|
27
|
+
sliderCommon: any;
|
|
28
|
+
contextMenu: ContextMenu;
|
|
29
|
+
splashPromise: Promise<void>;
|
|
30
|
+
_selectCandidateSources?: Record<string, any>;
|
|
31
|
+
appEnvelope?: boolean;
|
|
32
|
+
restoring: boolean;
|
|
33
|
+
poiSwiper: SwiperInstance | undefined;
|
|
34
|
+
html: string;
|
|
35
|
+
enablePoiHtmlNoScroll: boolean;
|
|
36
|
+
enableShare: boolean;
|
|
37
|
+
enableHideMarker: boolean;
|
|
38
|
+
enableBorder: boolean;
|
|
39
|
+
enableMarkerList: boolean;
|
|
40
|
+
disableNoimage: boolean;
|
|
41
|
+
alwaysGpsOn: boolean;
|
|
42
|
+
isTouch: boolean;
|
|
43
|
+
html_id_seed: string;
|
|
44
|
+
lastClickPixel: Pixel | undefined;
|
|
45
|
+
lastClickCoordinate: Coordinate | undefined;
|
|
46
|
+
lastGPSError: string | undefined;
|
|
47
|
+
constructor(appOption: MaplatAppOption);
|
|
48
|
+
initializer(appOption: any): Promise<void>;
|
|
49
|
+
handleMarkerAction(data: any): void;
|
|
50
|
+
showContextMenu(list: any[]): void;
|
|
51
|
+
xyToMapIDs(xy: any, threshold?: number): Promise<any>;
|
|
52
|
+
setShowBorder(flag: any): void;
|
|
53
|
+
setHideMarker(flag: any): void;
|
|
54
|
+
handleMarkerActionById(markerId: string): void;
|
|
55
|
+
updateUrl(): void;
|
|
56
|
+
updateEnvelope(): void;
|
|
57
|
+
resolveRelativeLink(file: any, fallbackPath: any): string;
|
|
58
|
+
checkOverlayID(mapID: any): boolean;
|
|
59
|
+
areaIndex(xys: number[][]): number;
|
|
60
|
+
getShareUrl(type: string): string;
|
|
61
|
+
showToast(message: string, target?: HTMLElement): void;
|
|
62
|
+
modalSetting(type: string): void;
|
|
63
|
+
ellips(): void;
|
|
64
|
+
remove(): void;
|
|
65
|
+
}
|