Stephan Meijer
f9787341e6
convert providers to typescript
...
Added proper typing for both the api response as well as the returned result. But also added support for non string based queries. Most of the providers also accept query methods based on specific parameters instead of a generic string search.
2020-04-14 12:45:20 +02:00
Stephan Meijer
77b3d66282
Merge branch 'hubnerd-master' into next
2020-04-13 17:55:11 +02:00
Stephan Meijer
82aa706426
Merge branch 'master' of https://github.com/hubnerd/leaflet-geosearch into hubnerd-master
2020-04-13 17:54:51 +02:00
Stephan Meijer
91d7970692
define edit branch
2020-04-13 17:36:21 +02:00
Stephan Meijer
e84f38a3a0
document optional parameters for OSM provider
2020-04-13 17:34:49 +02:00
Stephan Meijer
d74c221d52
document optional paramters for google provider
2020-04-13 17:04:18 +02:00
Stephan Meijer
f4e39e3382
set base for publishing to github
2020-04-13 16:37:47 +02:00
Stephan Meijer
0bda7ff518
update docs:update script
2020-04-13 16:26:30 +02:00
Stephan Meijer
f395292876
fix incorrect window check
2020-04-13 16:01:12 +02:00
Stephan Meijer
8bc331d4bb
use lib bundle in docs instead of src
2020-04-13 15:56:56 +02:00
Stephan Meijer
1165814c38
export all providers
2020-04-13 15:53:55 +02:00
Stephan Meijer
4c345225bb
force curly braces
2020-04-13 15:53:32 +02:00
Stephan Meijer
ccf8bb214c
commit missing debounce util
2020-04-13 15:53:11 +02:00
Stephan Meijer
40f63eafc3
don't exclude nested lib folders
2020-04-13 15:41:54 +02:00
Stephan Meijer
79323f00c8
remove map wrapper
2020-04-13 14:57:39 +02:00
Stephan Meijer
c87783c631
build with microbundle and remove lodash.debounce dep
2020-04-13 14:13:08 +02:00
Stephan Meijer
c3a2378ecb
fix docz production build
2020-04-13 13:27:30 +02:00
Stephan Meijer
6645d63c82
use jest for tests and mock api requests
2020-04-12 23:50:50 +02:00
Stephan Meijer
dc733dbfb0
add better docs
2020-04-12 19:27:45 +02:00
Yura Zinets
994a4ce536
Fix import in index.js
2020-02-08 09:43:05 +01:00
Yurii Zinets
b414988625
fix buildLabel, zip code must to be after state
2020-02-07 20:57:39 +01:00
Yurii Zinets
fd1e5e243e
Algolia provider
2020-02-07 20:57:39 +01:00
Yura Zinets
9561b34ee7
test: bypass google tests when no api key has been provided
...
Google now requires an API key, and tests are failing because of it.
2020-01-30 20:52:01 +01:00
Stephan Meijer
3a8fe2f428
Merge pull request #200 from deadbeef404/deadbeef404-results-indexing-bug
...
Stop enter key triggering TypeError in search box (issue #181 )
2019-08-19 10:21:36 +02:00
Jason Pettett
d4b2a78f79
Stop enter key triggering TypeError in search box (issue #181 )
...
This bug is triggered by typing a word and hitting enter before the AJAX request returns (depends on internet connection speed).
This fixes the TypeError raised when the results list is still undefined. `this.results` isn't initialised with a default value. When an enter key is hit within a search box, it triggers the `select` method (even if there are no results to select). When `select` references `this.results`, it's still undefined.
2019-08-19 15:13:26 +10:00
Stephan Meijer
bdfeeb20a2
Merge pull request #198 from dimabory/chore/typescript
...
Update `readme.md` with typescript info #135
2019-08-12 16:03:55 +02:00
Dmytro Borysovskyi
12b39815d9
chore: update readme.md with typescript info
2019-08-12 15:51:48 +02:00
Stephan Meijer
25c1af38db
Merge pull request #189 from smeijer/dependabot/npm_and_yarn/is-my-json-valid-2.20.0
...
Bump is-my-json-valid from 2.15.0 to 2.20.0
2019-07-23 15:26:47 +02:00
dependabot[bot]
625aa0ad4b
Bump is-my-json-valid from 2.15.0 to 2.20.0
...
Bumps [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid ) from 2.15.0 to 2.20.0.
- [Release notes](https://github.com/mafintosh/is-my-json-valid/releases )
- [Commits](https://github.com/mafintosh/is-my-json-valid/compare/v2.15.0...v2.20.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-07-23 12:15:15 +00:00
Stephan Meijer
212fad3f7c
Merge pull request #192 from smeijer/dependabot/npm_and_yarn/stringstream-0.0.6
...
Bump stringstream from 0.0.5 to 0.0.6
2019-07-23 14:14:47 +02:00
Stephan Meijer
4678e2c833
Merge pull request #190 from smeijer/dependabot/npm_and_yarn/macaddress-0.2.9
...
Bump macaddress from 0.2.8 to 0.2.9
2019-07-23 14:14:25 +02:00
Stephan Meijer
38040062ac
Merge pull request #186 from smeijer/dependabot/npm_and_yarn/webpack-dev-server-3.1.11
...
Bump webpack-dev-server from 1.16.2 to 3.1.11
2019-07-23 14:13:58 +02:00
Stephan Meijer
496244d730
Merge pull request #194 from smeijer/dependabot/npm_and_yarn/lodash.merge-4.6.2
...
Bump lodash.merge from 4.6.0 to 4.6.2
2019-07-23 14:13:34 +02:00
Stephan Meijer
1b9cd7cf5f
Merge pull request #197 from smeijer/dependabot/npm_and_yarn/lodash-4.17.15
...
Bump lodash from 4.16.4 to 4.17.15
2019-07-23 14:13:20 +02:00
dependabot[bot]
093b7a4d25
Bump lodash from 4.16.4 to 4.17.15
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.16.4 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.16.4...4.17.15 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-07-20 12:55:44 +00:00
dependabot[bot]
637b4ef07b
Bump lodash.merge from 4.6.0 to 4.6.2
...
Bumps [lodash.merge](https://github.com/lodash/lodash ) from 4.6.0 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2019-07-10 23:37:10 +00:00
dependabot[bot]
a2cd4fa59b
Bump stringstream from 0.0.5 to 0.0.6
...
Bumps [stringstream](https://github.com/mhart/StringStream ) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases )
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-06-21 06:54:07 +00:00
dependabot[bot]
95d41221b3
Bump macaddress from 0.2.8 to 0.2.9
...
Bumps [macaddress](https://github.com/scravy/node-macaddress ) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/scravy/node-macaddress/releases )
- [Commits](https://github.com/scravy/node-macaddress/compare/0.2.8...0.2.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-06-12 23:55:35 +00:00
dependabot[bot]
484c98cb2d
Bump webpack-dev-server from 1.16.2 to 3.1.11
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 1.16.2 to 3.1.11.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v1.16.2...v3.1.11 )
2019-06-11 08:06:56 +00:00
Stephan Meijer
10d0f4c520
Bump sshpk from 1.10.1 to 1.16.1 ( #188 )
...
Bump sshpk from 1.10.1 to 1.16.1
2019-06-11 10:05:31 +02:00
dependabot[bot]
7f0516c6fb
Bump sshpk from 1.10.1 to 1.16.1
...
Bumps [sshpk](https://github.com/joyent/node-sshpk ) from 1.10.1 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases )
- [Commits](https://github.com/joyent/node-sshpk/commits/v1.16.1 )
2019-06-04 03:19:05 +00:00
Stephan Meijer
38ead707ee
Bump tar from 2.2.1 to 2.2.2 ( #187 )
...
Bump tar from 2.2.1 to 2.2.2
2019-05-28 09:27:22 +02:00
dependabot[bot]
108ccac3ca
Bump tar from 2.2.1 to 2.2.2
...
Bumps [tar](https://github.com/npm/node-tar ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2 )
2019-05-25 03:29:43 +00:00
Stephan Meijer
76e60f1b78
Merge pull request #158 from kaoru/add-opencage-provider
...
Add OpenCage Provider
2018-11-08 18:08:34 +01:00
Stephan Meijer
df80e1f03c
Merge pull request #177 from bung87/develop
...
add module entry to package.json and remove src from npmignore
2018-10-19 11:58:27 +02:00
zhoupeng
7f9c44b3f7
add module entry
2018-10-16 18:31:28 +08:00
zhoupeng
042518fc0f
o
2018-10-16 18:27:14 +08:00
zhoupeng
f9bfdc3503
remove .npmignore
2018-10-16 18:21:03 +08:00
Stephan Meijer
1cff9404b9
Add 'looking for maintainers' info
2018-07-23 12:23:11 +02:00
Stephan Meijer
ba817efa7e
Merge pull request #164 from devdattaT/osm_https
...
Fixes #161 : Moving OSM provider to HTTPS
2018-07-23 11:25:09 +02:00