@unsource/ui 2.7.13 → 2.7.14
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/module.json
CHANGED
|
@@ -60,7 +60,7 @@ import { Style, Icon, Stroke, Fill } from "ol/style";
|
|
|
60
60
|
import { Point, Circle as GeomCircle } from "ol/geom";
|
|
61
61
|
import { fromLonLat, transform } from "ol/proj";
|
|
62
62
|
import Big from "big.js";
|
|
63
|
-
import { computed, NESHAN_API_KEY, NESHAN_WEB_KEY, useDevice, useGeolocation } from "#imports";
|
|
63
|
+
import { computed, NESHAN_API_KEY, NESHAN_WEB_KEY, ref, useDevice, useGeolocation, watch } from "#imports";
|
|
64
64
|
const emit = defineEmits(["select-point"]);
|
|
65
65
|
const { points = [], readonly, marker } = defineProps({
|
|
66
66
|
points: { type: Array, required: false },
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import type { CardItem } from './UnCard.vue.js';
|
|
1
2
|
import type { RadioCustomClass } from './UnRadioItem.vue.js';
|
|
2
3
|
import type { CheckboxCustomClass } from './UnCheckboxItem.vue.js';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
placeholder?: string;
|
|
5
6
|
icon?: string;
|
|
6
7
|
light?: boolean;
|
|
7
|
-
items: (
|
|
8
|
+
items: (CardItem & {
|
|
9
|
+
disable?: boolean;
|
|
10
|
+
})[];
|
|
8
11
|
multi?: boolean;
|
|
9
12
|
searchable?: boolean;
|
|
10
13
|
valueKey?: string;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import type { CardItem } from './UnCard.vue.js';
|
|
1
2
|
import type { RadioCustomClass } from './UnRadioItem.vue.js';
|
|
2
3
|
import type { CheckboxCustomClass } from './UnCheckboxItem.vue.js';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
placeholder?: string;
|
|
5
6
|
icon?: string;
|
|
6
7
|
light?: boolean;
|
|
7
|
-
items: (
|
|
8
|
+
items: (CardItem & {
|
|
9
|
+
disable?: boolean;
|
|
10
|
+
})[];
|
|
8
11
|
multi?: boolean;
|
|
9
12
|
searchable?: boolean;
|
|
10
13
|
valueKey?: string;
|
|
@@ -23,8 +23,8 @@ import Handlebars from "handlebars";
|
|
|
23
23
|
import Ajv from "ajv";
|
|
24
24
|
export const moment = Moment;
|
|
25
25
|
export const ajv = new Ajv();
|
|
26
|
-
export const NESHAN_API_KEY = window.NESHAN_API_KEY
|
|
27
|
-
export const NESHAN_WEB_KEY = window.NESHAN_WEB_KEY
|
|
26
|
+
export const NESHAN_API_KEY = window.NESHAN_API_KEY;
|
|
27
|
+
export const NESHAN_WEB_KEY = window.NESHAN_WEB_KEY;
|
|
28
28
|
export const logger = (...args) => console.log("logger=>>>", ...args);
|
|
29
29
|
export const s2n = (string) => (string + "").replace(/[^\d.]|\.\./g, "");
|
|
30
30
|
export const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|