tsv2-library 1.0.61-alpha.112 → 1.0.61-alpha.114
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/src/components/v2/DialogCoordinate/DialogCoordinate.vue.d.ts +1 -1
- package/dist/src/components/v2/DialogCoordinate/Marker.vue.d.ts +13 -0
- package/dist/src/components/v2/DialogCoordinate/PopupDetail.vue.d.ts +13 -0
- package/dist/src/components/v2/DialogForm/DialogForm.vue.d.ts +6 -0
- package/dist/src/utils/customMarker.util.d.ts +19 -0
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +1454 -1315
- package/dist/tsv2-library.umd.js +7 -7
- package/package.json +1 -1
- package/src/components/v2/DialogCoordinate/DialogCoordinate.vue.d.ts +1 -1
- package/src/components/v2/DialogForm/DialogForm.vue.d.ts +6 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
type: {
|
|
4
|
+
type: __PropType<"detail" | "input">;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
type: {
|
|
9
|
+
type: __PropType<"detail" | "input">;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>>, {}, {}>;
|
|
13
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
assetId: {
|
|
4
|
+
type: __PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
assetId: {
|
|
9
|
+
type: __PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>>, {}, {}>;
|
|
13
|
+
export default _sfc_main;
|
|
@@ -122,6 +122,12 @@ export interface DialogFormProps extends FormProps {
|
|
|
122
122
|
* The severity will determine the dialog icons and color scheme.
|
|
123
123
|
*/
|
|
124
124
|
severity?: 'success' | 'danger' | 'primary';
|
|
125
|
+
maskClass?: string | string[];
|
|
126
|
+
/**
|
|
127
|
+
* Whether to automatically manage layering.
|
|
128
|
+
* @defaultValue true
|
|
129
|
+
*/
|
|
130
|
+
autoZIndex?: boolean | undefined;
|
|
125
131
|
}
|
|
126
132
|
|
|
127
133
|
export interface ConfirmSlots {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
1
2
|
export type MarkerConfig = {
|
|
2
3
|
kind: 'pin';
|
|
3
4
|
pinOptions?: google.maps.marker.PinElementOptions;
|
|
@@ -43,3 +44,21 @@ export interface CustomMarkerOptions {
|
|
|
43
44
|
onHover?: (marker: google.maps.marker.AdvancedMarkerElement, isHovering: boolean) => void;
|
|
44
45
|
}
|
|
45
46
|
export declare const createMarker: (options: CustomMarkerOptions) => Promise<google.maps.marker.AdvancedMarkerElement>;
|
|
47
|
+
type MarkerContext<T = unknown> = {
|
|
48
|
+
id: string;
|
|
49
|
+
marker: google.maps.marker.AdvancedMarkerElement;
|
|
50
|
+
data: T;
|
|
51
|
+
};
|
|
52
|
+
type UseMapMarkersReturn<T = unknown> = {
|
|
53
|
+
markers: Map<string, MarkerContext<T>>;
|
|
54
|
+
setMap: (nextMap: google.maps.Map) => void;
|
|
55
|
+
addMarker: (id: string, marker: google.maps.marker.AdvancedMarkerElement, data: T, onClick?: () => void) => void;
|
|
56
|
+
openMarker: (id: string, options?: {
|
|
57
|
+
component?: Component;
|
|
58
|
+
props?: Record<string, unknown>;
|
|
59
|
+
loadData?: () => Promise<Record<string, unknown>>;
|
|
60
|
+
}) => Promise<void>;
|
|
61
|
+
clearMarkers: () => void;
|
|
62
|
+
};
|
|
63
|
+
export declare const useMapMarkers: <T = unknown>() => UseMapMarkersReturn<T>;
|
|
64
|
+
export {};
|