poe-svelte-ui-lib 1.7.3 → 1.7.6

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.
@@ -1,4 +1,4 @@
1
- <!-- $lib/ElementsUI/Map.svelte -->
1
+ <!-- $lib/ElementsUI/Map.svelte
2
2
  <script lang="ts">
3
3
  import { t } from "../locales/i18n"
4
4
  import type { IDeviceGNSS, IMapProps } from "../types"
@@ -215,4 +215,4 @@
215
215
  </Marker>
216
216
  {/each}
217
217
  </MapLibre>
218
- </div>
218
+ </div> -->
@@ -1,4 +1,18 @@
1
- import type { IMapProps } from "../types";
2
- declare const Map: import("svelte").Component<IMapProps, {}, "data">;
3
- type Map = ReturnType<typeof Map>;
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
11
+ };
12
+ z_$$bindings?: Bindings;
13
+ }
14
+ declare const Map: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
15
+ [evt: string]: CustomEvent<any>;
16
+ }, {}, {}, string>;
17
+ type Map = InstanceType<typeof Map>;
4
18
  export default Map;
@@ -45,6 +45,7 @@
45
45
  mapCtx.map = map
46
46
  })
47
47
 
48
+ // Реактивное обновление style
48
49
  $effect(() => {
49
50
  if (map && style) {
50
51
  mapCtx.setStyle(style)
package/dist/index.d.ts CHANGED
@@ -14,8 +14,6 @@ export { default as InputProps } from "./Input/InputProps.svelte";
14
14
  export { default as Joystick } from "./Joystick/Joystick.svelte";
15
15
  export { default as JoystickProps } from "./Joystick/JoystickProps.svelte";
16
16
  export { default as Modal } from "./Modal.svelte";
17
- export { default as Map } from "./Map/Map.svelte";
18
- export { default as MapProps } from "./Map/MapProps.svelte";
19
17
  export { default as ProgressBar } from "./ProgressBar/ProgressBar.svelte";
20
18
  export { default as ProgressBarProps } from "./ProgressBar/ProgressBarProps.svelte";
21
19
  export { default as Select } from "./Select/Select.svelte";
package/dist/index.js CHANGED
@@ -15,8 +15,8 @@ export { default as InputProps } from "./Input/InputProps.svelte";
15
15
  export { default as Joystick } from "./Joystick/Joystick.svelte";
16
16
  export { default as JoystickProps } from "./Joystick/JoystickProps.svelte";
17
17
  export { default as Modal } from "./Modal.svelte";
18
- export { default as Map } from "./Map/Map.svelte";
19
- export { default as MapProps } from "./Map/MapProps.svelte";
18
+ // export { default as Map } from "./Map/Map.svelte"
19
+ // export { default as MapProps } from "./Map/MapProps.svelte"
20
20
  export { default as ProgressBar } from "./ProgressBar/ProgressBar.svelte";
21
21
  export { default as ProgressBarProps } from "./ProgressBar/ProgressBarProps.svelte";
22
22
  export { default as Select } from "./Select/Select.svelte";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-svelte-ui-lib",
3
- "version": "1.7.3",
3
+ "version": "1.7.6",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -33,8 +33,7 @@
33
33
  "svelte": "^5.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "tailwind-merge": "^3.4.0",
37
- "maplibre-gl": "^5.17.0"
36
+ "sveaflet": "^0.1.4"
38
37
  },
39
38
  "devDependencies": {
40
39
  "@sveltejs/adapter-static": "^3.0.10",
@@ -52,6 +51,7 @@
52
51
  "tsx": "^4.21.0",
53
52
  "typescript": "^5.9.3",
54
53
  "vite": "^7.3.1",
55
- "vite-plugin-compression": "^0.5.1"
54
+ "vite-plugin-compression": "^0.5.1",
55
+ "tailwind-merge": "^3.4.0"
56
56
  }
57
57
  }