@unsource/ui 2.7.12 → 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 +1 -1
- package/dist/runtime/components/UnMap.d.vue.ts +1 -1
- package/dist/runtime/components/UnMap.vue +1 -0
- package/dist/runtime/components/UnMap.vue.d.ts +1 -1
- package/dist/runtime/components/UnSelect.d.vue.ts +4 -1
- package/dist/runtime/components/UnSelect.vue.d.ts +4 -1
- package/dist/runtime/composables/global.d.ts +2 -2
- package/dist/runtime/composables/global.js +2 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -9,7 +9,7 @@ type __VLS_ModelProps = {
|
|
|
9
9
|
};
|
|
10
10
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
11
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
12
|
-
Map: any
|
|
12
|
+
Map: import("vue").ComputedRef<any>;
|
|
13
13
|
getCenter: () => import("ol/coordinate").Coordinate;
|
|
14
14
|
setCenter: (coords: Address) => void;
|
|
15
15
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -60,6 +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, ref, useDevice, useGeolocation, watch } from "#imports";
|
|
63
64
|
const emit = defineEmits(["select-point"]);
|
|
64
65
|
const { points = [], readonly, marker } = defineProps({
|
|
65
66
|
points: { type: Array, required: false },
|
|
@@ -9,7 +9,7 @@ type __VLS_ModelProps = {
|
|
|
9
9
|
};
|
|
10
10
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
11
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
12
|
-
Map: any
|
|
12
|
+
Map: import("vue").ComputedRef<any>;
|
|
13
13
|
getCenter: () => import("ol/coordinate").Coordinate;
|
|
14
14
|
setCenter: (coords: Address) => void;
|
|
15
15
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -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;
|
|
@@ -5,8 +5,8 @@ import Moment from 'jalali-moment';
|
|
|
5
5
|
import Ajv from 'ajv';
|
|
6
6
|
export declare const moment: typeof Moment;
|
|
7
7
|
export declare const ajv: Ajv;
|
|
8
|
-
export declare const NESHAN_API_KEY
|
|
9
|
-
export declare const NESHAN_WEB_KEY
|
|
8
|
+
export declare const NESHAN_API_KEY: any;
|
|
9
|
+
export declare const NESHAN_WEB_KEY: any;
|
|
10
10
|
export declare const logger: (...args: any) => void;
|
|
11
11
|
export declare const s2n: (string: string | number) => string;
|
|
12
12
|
export declare const sleep: (ms: any) => Promise<unknown>;
|
|
@@ -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 =
|
|
27
|
-
export const 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));
|