places-autocomplete-svelte 0.0.1

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.
@@ -0,0 +1,36 @@
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ PUBLIC_GOOGLE_MAPS_API_KEY?: string;
5
+ fetchFields?: string[];
6
+ countries?: {
7
+ name: string;
8
+ region: string;
9
+ }[];
10
+ fullResponse?: any[{
11
+ longText: string;
12
+ shortText: string;
13
+ types: strings[];
14
+ }];
15
+ address?: {
16
+ building_name_number: string;
17
+ street: string;
18
+ town: string;
19
+ county: string;
20
+ country_iso2: string;
21
+ postcode: string;
22
+ };
23
+ };
24
+ events: {
25
+ [evt: string]: CustomEvent<any>;
26
+ };
27
+ slots: {};
28
+ exports?: {} | undefined;
29
+ bindings?: string | undefined;
30
+ };
31
+ export type PlaceAutocompleteProps = typeof __propDef.props;
32
+ export type PlaceAutocompleteEvents = typeof __propDef.events;
33
+ export type PlaceAutocompleteSlots = typeof __propDef.slots;
34
+ export default class PlaceAutocomplete extends SvelteComponent<PlaceAutocompleteProps, PlaceAutocompleteEvents, PlaceAutocompleteSlots> {
35
+ }
36
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ // Reexport your entry components here
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "places-autocomplete-svelte",
3
+ "license": "MIT",
4
+ "version": "0.0.1",
5
+ "scripts": {
6
+ "dev": "vite dev",
7
+ "build": "vite build && npm run package",
8
+ "preview": "vite preview",
9
+ "package": "svelte-kit sync && svelte-package && publint",
10
+ "prepublishOnly": "npm run package",
11
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
12
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
13
+ "lint": "prettier --check . && eslint .",
14
+ "format": "prettier --write ."
15
+ },
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "svelte": "./dist/index.js"
20
+ }
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "!dist/**/*.test.*",
25
+ "!dist/**/*.spec.*"
26
+ ],
27
+ "peerDependencies": {
28
+ "svelte": "^4.0.0"
29
+ },
30
+ "devDependencies": {
31
+ "@sveltejs/adapter-auto": "^3.2.2",
32
+ "@sveltejs/kit": "^2.5.18",
33
+ "@sveltejs/package": "^2.3.2",
34
+ "@sveltejs/vite-plugin-svelte": "^3.1.1",
35
+ "@types/eslint": "^8.56.10",
36
+ "eslint": "^9.7.0",
37
+ "eslint-config-prettier": "^9.1.0",
38
+ "eslint-plugin-svelte": "^2.43.0",
39
+ "globals": "^15.8.0",
40
+ "prettier": "^3.3.3",
41
+ "prettier-plugin-svelte": "^3.2.6",
42
+ "publint": "^0.2.9",
43
+ "svelte": "^4.2.18",
44
+ "svelte-check": "^3.8.4",
45
+ "tslib": "^2.6.3",
46
+ "typescript": "^5.5.3",
47
+ "typescript-eslint": "^8.0.0-alpha.47",
48
+ "vite": "^5.3.4"
49
+ },
50
+ "svelte": "./dist/index.js",
51
+ "types": "./dist/index.d.ts",
52
+ "type": "module",
53
+ "dependencies": {
54
+ "@googlemaps/js-api-loader": "^1.16.6"
55
+ }
56
+ }