pukaad-ui-lib 1.218.0 → 1.220.0
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/module.mjs +3 -0
- package/dist/runtime/components/drawer/drawer-suggest-place/suggest-place-map.d.vue.ts +0 -1
- package/dist/runtime/components/drawer/drawer-suggest-place/suggest-place-map.vue +6 -1
- package/dist/runtime/components/drawer/drawer-suggest-place/suggest-place-map.vue.d.ts +0 -1
- package/dist/runtime/components/image/image-cropper.d.vue.ts +2 -2
- package/dist/runtime/components/image/image-cropper.vue.d.ts +2 -2
- package/package.json +1 -1
- /package/dist/runtime/assets/svg/socials/{facebook.svg → Facebook.svg} +0 -0
- /package/dist/runtime/assets/svg/socials/{instagram.svg → Instagram.svg} +0 -0
- /package/dist/runtime/assets/svg/socials/{Tiktok.svg → TikTok.svg} +0 -0
- /package/dist/runtime/assets/svg/socials/{Youtube.svg → YouTube.svg} +0 -0
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineNuxtModule, createResolver, addImportsDir, addComponentsDir, installModule, addPlugin } from '@nuxt/kit';
|
|
2
|
+
import { createRequire } from 'module';
|
|
2
3
|
import tailwindcss from '@tailwindcss/vite';
|
|
3
4
|
|
|
4
5
|
const module$1 = defineNuxtModule({
|
|
@@ -244,6 +245,8 @@ const module$1 = defineNuxtModule({
|
|
|
244
245
|
});
|
|
245
246
|
});
|
|
246
247
|
_nuxt.options.alias["@"] = resolver.resolve(".");
|
|
248
|
+
const _require = createRequire(import.meta.url);
|
|
249
|
+
_nuxt.options.css.push(_require.resolve("leaflet/dist/leaflet.css"));
|
|
247
250
|
_nuxt.options.css.push(resolver.resolve("./runtime/assets/css/main.css"));
|
|
248
251
|
_nuxt.hook("vite:extendConfig", (config) => {
|
|
249
252
|
config.plugins.push(tailwindcss());
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
|
|
9
9
|
<script setup>
|
|
10
10
|
import { ref, onMounted, watch } from "vue";
|
|
11
|
-
import "leaflet/dist/leaflet.css";
|
|
12
11
|
import { useThaiAddress } from "@/runtime/composables/useThaiAddress";
|
|
13
12
|
import provincesGeoJson from "@/runtime/geo/provinces.json";
|
|
14
13
|
import mapPinSvg from "@/runtime/assets/svg/map-pin.svg?raw";
|
|
@@ -39,6 +38,12 @@ onMounted(async () => {
|
|
|
39
38
|
emits("update:latLng", { lat: e.latlng.lat, lng: e.latlng.lng });
|
|
40
39
|
}
|
|
41
40
|
});
|
|
41
|
+
const resizeObserver = new ResizeObserver(() => {
|
|
42
|
+
if (map) {
|
|
43
|
+
map.invalidateSize();
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
resizeObserver.observe(mapContainer.value);
|
|
42
47
|
drawPolygon(L);
|
|
43
48
|
}
|
|
44
49
|
});
|
|
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
+
background: boolean;
|
|
68
|
+
modal: boolean;
|
|
67
69
|
responsive: boolean;
|
|
68
70
|
restore: boolean;
|
|
69
71
|
checkCrossOrigin: boolean;
|
|
70
72
|
checkOrientation: boolean;
|
|
71
73
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
72
|
-
modal: boolean;
|
|
73
74
|
guides: boolean;
|
|
74
75
|
highlight: boolean;
|
|
75
|
-
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
|
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
+
background: boolean;
|
|
68
|
+
modal: boolean;
|
|
67
69
|
responsive: boolean;
|
|
68
70
|
restore: boolean;
|
|
69
71
|
checkCrossOrigin: boolean;
|
|
70
72
|
checkOrientation: boolean;
|
|
71
73
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
72
|
-
modal: boolean;
|
|
73
74
|
guides: boolean;
|
|
74
75
|
highlight: boolean;
|
|
75
|
-
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|