@maptiler/client 3.0.0-rc.2 → 3.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.
- package/package.json +5 -1
- package/.eslintrc.cjs +0 -10
- package/.github/pull_request_template.md +0 -11
- package/.github/workflows/format-lint.yml +0 -27
- package/.github/workflows/npm-publish-dry-run.yml +0 -51
- package/.github/workflows/npm-publish.yml +0 -63
- package/CHANGELOG.md +0 -186
- package/rollup.config.js +0 -142
- package/tsconfig.json +0 -9
- package/typedoc.css +0 -118
- package/typedoc.json +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/client",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Javascript & Typescript wrapper to MapTiler Cloud API",
|
|
5
5
|
"module": "dist/maptiler-client.mjs",
|
|
6
6
|
"types": "dist/maptiler-client.d.ts",
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"require": "./dist/maptiler-client.cjs",
|
|
13
13
|
"types": "./dist/maptiler-client.d.ts"
|
|
14
14
|
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"!dist/*.umd.*"
|
|
18
|
+
],
|
|
15
19
|
"publishConfig": {
|
|
16
20
|
"access": "public",
|
|
17
21
|
"registry": "https://registry.npmjs.org/"
|
package/.eslintrc.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
|
3
|
-
parser: '@typescript-eslint/parser',
|
|
4
|
-
plugins: ['@typescript-eslint'],
|
|
5
|
-
root: true,
|
|
6
|
-
rules: {
|
|
7
|
-
"@typescript-eslint/ban-ts-comment": "off",
|
|
8
|
-
"@typescript-eslint/no-explicit-any": "warn",
|
|
9
|
-
}
|
|
10
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: Format, Lint and Test
|
|
2
|
-
|
|
3
|
-
on: [pull_request]
|
|
4
|
-
|
|
5
|
-
jobs:
|
|
6
|
-
format-lint-test:
|
|
7
|
-
runs-on: ubuntu-latest
|
|
8
|
-
steps:
|
|
9
|
-
- name: Check out Git repository
|
|
10
|
-
uses: actions/checkout@v3
|
|
11
|
-
|
|
12
|
-
- name: Set up Node.js
|
|
13
|
-
uses: actions/setup-node@v3
|
|
14
|
-
with:
|
|
15
|
-
node-version: 18
|
|
16
|
-
|
|
17
|
-
- name: Install Node.js dependencies
|
|
18
|
-
run: npm ci
|
|
19
|
-
|
|
20
|
-
- name: Formatting with Prettier
|
|
21
|
-
run: npm run format
|
|
22
|
-
|
|
23
|
-
- name: Linting with ESLint
|
|
24
|
-
run: npm run lint
|
|
25
|
-
|
|
26
|
-
- name: Running Tests
|
|
27
|
-
run: npm run test:prod
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
-
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
-
|
|
4
|
-
name: Node.js Package
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
pull_request:
|
|
8
|
-
types: [opened]
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
build-and-publish:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- name: Checkout repo
|
|
15
|
-
uses: actions/checkout@v4
|
|
16
|
-
with:
|
|
17
|
-
ref: ${{ github.event.release.target_commitish }}
|
|
18
|
-
|
|
19
|
-
- uses: actions/setup-node@v4
|
|
20
|
-
with:
|
|
21
|
-
node-version: 18
|
|
22
|
-
registry-url: https://registry.npmjs.org/
|
|
23
|
-
|
|
24
|
-
- name: Clear NPM cache
|
|
25
|
-
run: npm cache clean --force
|
|
26
|
-
|
|
27
|
-
- name: Install dependencies and build
|
|
28
|
-
run: npm ci
|
|
29
|
-
|
|
30
|
-
- name: Make release
|
|
31
|
-
run: npm run build
|
|
32
|
-
id: makeRelease
|
|
33
|
-
|
|
34
|
-
- name: Fail job if makeRelease failed
|
|
35
|
-
if: steps.makeRelease.outcome == 'failure'
|
|
36
|
-
run: exit 1
|
|
37
|
-
|
|
38
|
-
id: check-build-status
|
|
39
|
-
- name: Publish NPM package (regular)
|
|
40
|
-
if: "!github.event.release.prerelease"
|
|
41
|
-
run: |
|
|
42
|
-
npm publish --dry-run
|
|
43
|
-
env:
|
|
44
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
45
|
-
|
|
46
|
-
- name: Publish NPM package (pre-release)
|
|
47
|
-
if: "github.event.release.prerelease"
|
|
48
|
-
run: |
|
|
49
|
-
npm publish --tag next --dry-run
|
|
50
|
-
env:
|
|
51
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
-
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
-
|
|
4
|
-
name: Node.js Package
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
release:
|
|
8
|
-
types: [created]
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
build-and-publish:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- name: Checkout repo
|
|
15
|
-
uses: actions/checkout@v4
|
|
16
|
-
with:
|
|
17
|
-
ref: ${{ github.event.release.target_commitish }}
|
|
18
|
-
|
|
19
|
-
- uses: actions/setup-node@v4
|
|
20
|
-
with:
|
|
21
|
-
node-version: 18
|
|
22
|
-
registry-url: https://registry.npmjs.org/
|
|
23
|
-
|
|
24
|
-
- name: Clear NPM cache
|
|
25
|
-
run: npm cache clean --force
|
|
26
|
-
|
|
27
|
-
- name: Install dependencies and build
|
|
28
|
-
run: npm ci
|
|
29
|
-
|
|
30
|
-
- name: Make release
|
|
31
|
-
run: npm run build
|
|
32
|
-
id: makeRelease
|
|
33
|
-
|
|
34
|
-
- name: Fail job if makeRelease failed
|
|
35
|
-
if: steps.makeRelease.outcome == 'failure'
|
|
36
|
-
run: exit 1
|
|
37
|
-
|
|
38
|
-
id: check-build-status
|
|
39
|
-
- name: Publish NPM package (regular)
|
|
40
|
-
if: "!github.event.release.prerelease"
|
|
41
|
-
run: |
|
|
42
|
-
npm publish
|
|
43
|
-
env:
|
|
44
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
45
|
-
|
|
46
|
-
- name: Publish NPM package (pre-release)
|
|
47
|
-
if: "github.event.release.prerelease"
|
|
48
|
-
run: |
|
|
49
|
-
npm publish --tag next
|
|
50
|
-
env:
|
|
51
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
52
|
-
- name: Get Package version
|
|
53
|
-
id: version
|
|
54
|
-
run: echo "PACKAGE_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
|
|
55
|
-
- name: Publish to CDN Cloudflar R2
|
|
56
|
-
uses: ryand56/r2-upload-action@v1.4
|
|
57
|
-
with:
|
|
58
|
-
r2-account-id: ${{ secrets.CDN_MAPTILER_ACCOUNT_ID }}
|
|
59
|
-
r2-access-key-id: ${{ secrets.CDN_MAPTILER_ACCESS_KEY_ID }}
|
|
60
|
-
r2-secret-access-key: ${{ secrets.CDN_MAPTILER_SECRET_ACCESS_KEY }}
|
|
61
|
-
r2-bucket: cdn-storage
|
|
62
|
-
source-dir: dist
|
|
63
|
-
destination-dir: client-js/v${{ env.PACKAGE_VERSION }}/
|
package/CHANGELOG.md
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
# MapTiler Client Changelog
|
|
2
|
-
|
|
3
|
-
## 3.0.0
|
|
4
|
-
|
|
5
|
-
### ⚠️ Breaking Changes
|
|
6
|
-
- The default styles of Satellite, Hybrid, Dataviz, Outdoor, Winter, Backdrop, Aquarelle, Ocean, Top, Base and Landscape all point to v4 as their default style. V2 styles are still available under under the `_V2` suffixed namespace eg `MapStyle.STREETS_V2.DEFAULT`.
|
|
7
|
-
|
|
8
|
-
### New Features
|
|
9
|
-
- Adds new option `adjustSearchParams` to all functions in `geocoding` module
|
|
10
|
-
|
|
11
|
-
### Bug Fixes
|
|
12
|
-
- Fixes `elevation.batch` skipping the last kernel (group of coordinates) when smoothing the result
|
|
13
|
-
- Fixes language helpers `toLanguageInfo` and `areSameLanguages` not working with keys from `Language` enum (like `"ENGLISH"`)
|
|
14
|
-
- Fixes language helper `areSameLanguages` to always return boolean (it could return `null` before)
|
|
15
|
-
|
|
16
|
-
### Others
|
|
17
|
-
- Default value of `types` option of Geocoding API Client changed, TSDoc now links to API docs instead of listing the default types explicitly
|
|
18
|
-
|
|
19
|
-
## 2.7.0
|
|
20
|
-
|
|
21
|
-
### New Features
|
|
22
|
-
- Updates styles to Planet V4.
|
|
23
|
-
- Added:
|
|
24
|
-
- satellite-v4
|
|
25
|
-
- satellite-v4-dark
|
|
26
|
-
- hybrid-v4
|
|
27
|
-
- hybrid-v4-dark
|
|
28
|
-
- dataviz-v4
|
|
29
|
-
- dataviz-v4-dark
|
|
30
|
-
- dataviz-v4-light
|
|
31
|
-
- outdoor-v4
|
|
32
|
-
- outdoor-v4-dark
|
|
33
|
-
- winter-v4
|
|
34
|
-
- winter-v4-dark
|
|
35
|
-
- backdrop-v4
|
|
36
|
-
- backdrop-v4-dark
|
|
37
|
-
- backdrop-v4-light
|
|
38
|
-
- aquarelle-v4
|
|
39
|
-
- aquarelle-v4-dark
|
|
40
|
-
- aquarelle-v4-vivid
|
|
41
|
-
- ocean-v4
|
|
42
|
-
- ocean-v4-dark
|
|
43
|
-
- topo-v4
|
|
44
|
-
- topo-v4-dark
|
|
45
|
-
- topo-v4-pastel
|
|
46
|
-
- topo-v4-topographique
|
|
47
|
-
- base-v4
|
|
48
|
-
- base-v4-dark
|
|
49
|
-
- base-v4-light
|
|
50
|
-
- landscape-v4
|
|
51
|
-
- landscape-v4-dark
|
|
52
|
-
- landscape-v4-vivid
|
|
53
|
-
- openstreetmap-dark
|
|
54
|
-
- Deprecated:
|
|
55
|
-
- Toner
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### Bug fixes
|
|
59
|
-
- `math.latitudeToMercatorY` now always returns a value that is valid in Web Mercator context.
|
|
60
|
-
|
|
61
|
-
### Others
|
|
62
|
-
- Switches from explicit exported types to inferred types for the `MapStyle`export.
|
|
63
|
-
- Adds testing for type and member exports.
|
|
64
|
-
|
|
65
|
-
## 2.6.0
|
|
66
|
-
### New Features
|
|
67
|
-
- Bumps 'Streets' & 'Landscape' styles (and their variants) to new v4 styles.
|
|
68
|
-
- Adds the new 'Base' style and its variants.
|
|
69
|
-
- Namespaces V4 and V2 Styles and adds mechanism for switching to defaults.
|
|
70
|
-
|
|
71
|
-
### Bug Fixes
|
|
72
|
-
None
|
|
73
|
-
|
|
74
|
-
### Others
|
|
75
|
-
- Adds custom deprecation warnings.
|
|
76
|
-
- Deprecates the older v2 styles and adds warnings regarding their usage.
|
|
77
|
-
|
|
78
|
-
## 2.5.1
|
|
79
|
-
### New Features
|
|
80
|
-
None
|
|
81
|
-
|
|
82
|
-
### Bug Fixes
|
|
83
|
-
None
|
|
84
|
-
|
|
85
|
-
### Others
|
|
86
|
-
`Hybrid` map style is no longer deprecated.
|
|
87
|
-
|
|
88
|
-
## 2.5.0
|
|
89
|
-
### New Features
|
|
90
|
-
- `at` and `batch` functions compute elevation on the server using MapTiler Elevation API by default
|
|
91
|
-
- Elevation supports Node.js: computed on server when `bufferToPixelData` is not provided
|
|
92
|
-
- Added `computeOn` option to force client/server elevation processing
|
|
93
|
-
- Added `canParsePixelData` function to check if elevation can be computed on the client
|
|
94
|
-
|
|
95
|
-
### Bug Fixes
|
|
96
|
-
- `bufferToPixelData` can be undefined
|
|
97
|
-
|
|
98
|
-
### Others
|
|
99
|
-
None
|
|
100
|
-
|
|
101
|
-
## 2.4.0
|
|
102
|
-
### New Features
|
|
103
|
-
- Added `elevation` option to Geolocation API
|
|
104
|
-
|
|
105
|
-
### Bug Fixes
|
|
106
|
-
None
|
|
107
|
-
|
|
108
|
-
### Others
|
|
109
|
-
None
|
|
110
|
-
|
|
111
|
-
## 2.3.2
|
|
112
|
-
### New Features
|
|
113
|
-
None
|
|
114
|
-
|
|
115
|
-
### Bug Fixes
|
|
116
|
-
None
|
|
117
|
-
|
|
118
|
-
### Others
|
|
119
|
-
Added deprecation warning and field for styles that will be deprecated in the future.
|
|
120
|
-
|
|
121
|
-
## 2.3.1
|
|
122
|
-
### New Features
|
|
123
|
-
None
|
|
124
|
-
|
|
125
|
-
### Bug Fixes
|
|
126
|
-
- Fixed default export for new styles
|
|
127
|
-
|
|
128
|
-
## 2.3.0
|
|
129
|
-
### New Features
|
|
130
|
-
- Additional new map styles as part of the MapStyle Object
|
|
131
|
-
|
|
132
|
-
### Bug Fixes
|
|
133
|
-
None
|
|
134
|
-
|
|
135
|
-
### Others
|
|
136
|
-
None
|
|
137
|
-
|
|
138
|
-
## 2.2.1
|
|
139
|
-
### Bug Fixes
|
|
140
|
-
- Fixed incorrect `geocoding: false` for some more languages
|
|
141
|
-
|
|
142
|
-
## 2.2.0
|
|
143
|
-
### New Features
|
|
144
|
-
- Exposing ISO languages and non-ISO language separately
|
|
145
|
-
### Others
|
|
146
|
-
- fixing typos
|
|
147
|
-
- languages are now ordered alphabetically
|
|
148
|
-
|
|
149
|
-
## 2.1.0
|
|
150
|
-
### New Features
|
|
151
|
-
- Added `continental_marine` and `major_landform` to geocoding type
|
|
152
|
-
### Bug Fixes
|
|
153
|
-
- Fixed Czech language geocoding flag
|
|
154
|
-
### Others
|
|
155
|
-
- Languages are now listed in the Client library
|
|
156
|
-
- Improved geocoding types and limit documentation
|
|
157
|
-
|
|
158
|
-
## 2.0.0
|
|
159
|
-
### New Features
|
|
160
|
-
- Added `matching_text` and `matching_place_name` properties to geocoding feature response
|
|
161
|
-
- Added `road` to geocoding `types`
|
|
162
|
-
### Others
|
|
163
|
-
- Languages are now listed in the Client library
|
|
164
|
-
|
|
165
|
-
## 1.8.1
|
|
166
|
-
### Bug Fixes
|
|
167
|
-
- The QuickLRU dependency is not CJS compatible to it is now fully bundled into the CJS bundle
|
|
168
|
-
### Others
|
|
169
|
-
- Moved somes wrongly positioned deps into devDep
|
|
170
|
-
|
|
171
|
-
## 1.8.0
|
|
172
|
-
### New Features
|
|
173
|
-
- Rework of the elevation API to be improve developper experience (new module `elevation`)
|
|
174
|
-
- Expoing some geo math with the new `math` module
|
|
175
|
-
- synchronized geocoding types with current geocoding API
|
|
176
|
-
- added `excludeTypes` option to geocoding API
|
|
177
|
-
|
|
178
|
-
## 1.7.0
|
|
179
|
-
### New Features
|
|
180
|
-
- DEM elevation API (https://github.com/maptiler/maptiler-client-js/pull/24)
|
|
181
|
-
### Bug Fixes
|
|
182
|
-
- `geocoding.byId` can now be used with the apiKey (https://github.com/maptiler/maptiler-client-js/pull/27)
|
|
183
|
-
- the Typescript types are now properly exported (https://github.com/maptiler/maptiler-client-js/pull/25)
|
|
184
|
-
### Others
|
|
185
|
-
- the Typescript `moduleResolution` is now `"Bundler"` (used to be `"Node"`) (https://github.com/maptiler/maptiler-client-js/pull/28)
|
|
186
|
-
- updated some dev-dependencies (https://github.com/maptiler/maptiler-client-js/pull/28)
|
package/rollup.config.js
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import dts from "rollup-plugin-dts";
|
|
2
|
-
import esbuild from "rollup-plugin-esbuild";
|
|
3
|
-
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
4
|
-
import globals from "rollup-plugin-node-globals";
|
|
5
|
-
import commonjs from "@rollup/plugin-commonjs";
|
|
6
|
-
import json from "@rollup/plugin-json";
|
|
7
|
-
|
|
8
|
-
const name = "maptiler-client"
|
|
9
|
-
|
|
10
|
-
const bundles = [
|
|
11
|
-
// ES module, not minified + sourcemap
|
|
12
|
-
{
|
|
13
|
-
plugins: [
|
|
14
|
-
json(),
|
|
15
|
-
esbuild(),
|
|
16
|
-
],
|
|
17
|
-
output: [
|
|
18
|
-
{
|
|
19
|
-
file: `dist/${name}.mjs`,
|
|
20
|
-
format: "es",
|
|
21
|
-
sourcemap: true
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
input: "src/index.ts",
|
|
25
|
-
watch: {
|
|
26
|
-
include: "src/**"
|
|
27
|
-
},
|
|
28
|
-
external: ["quick-lru"]
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
// CJS module, not minified + sourcemap
|
|
32
|
-
{
|
|
33
|
-
plugins: [
|
|
34
|
-
nodeResolve(),
|
|
35
|
-
commonjs({ include: "node_modules/**" }),
|
|
36
|
-
globals(),
|
|
37
|
-
json(),
|
|
38
|
-
esbuild()
|
|
39
|
-
],
|
|
40
|
-
output: [
|
|
41
|
-
{
|
|
42
|
-
file: `dist/${name}.cjs`,
|
|
43
|
-
format: "cjs",
|
|
44
|
-
sourcemap: true
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
input: "src/index.ts",
|
|
48
|
-
watch: {
|
|
49
|
-
include: "src/**"
|
|
50
|
-
},
|
|
51
|
-
external: [] // Decided to include QuickLRU to the CJS bundle because it is otherwise not CJS compatible
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
// UMD module, not minified
|
|
55
|
-
{
|
|
56
|
-
plugins: [
|
|
57
|
-
nodeResolve(), // for the standalone UMD, we want to resolve so that the bundle contains all the dep.
|
|
58
|
-
commonjs({ include: "node_modules/**" }),
|
|
59
|
-
globals(),
|
|
60
|
-
json(),
|
|
61
|
-
esbuild()
|
|
62
|
-
],
|
|
63
|
-
output: [
|
|
64
|
-
{
|
|
65
|
-
name: "maptilerClient",
|
|
66
|
-
file: `dist/${name}.umd.js`,
|
|
67
|
-
format: "umd",
|
|
68
|
-
sourcemap: true
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
input: "src/index.ts",
|
|
72
|
-
watch: {
|
|
73
|
-
include: "src/**"
|
|
74
|
-
},
|
|
75
|
-
external: []
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
// types
|
|
79
|
-
{
|
|
80
|
-
"plugins": [
|
|
81
|
-
dts()
|
|
82
|
-
],
|
|
83
|
-
output: {
|
|
84
|
-
file: `dist/${name}.d.ts`,
|
|
85
|
-
format: "es"
|
|
86
|
-
},
|
|
87
|
-
input: "src/index.ts"
|
|
88
|
-
}
|
|
89
|
-
]
|
|
90
|
-
|
|
91
|
-
if (process.env.NODE_ENV === "production") {
|
|
92
|
-
bundles.push(
|
|
93
|
-
// ES module, minified
|
|
94
|
-
{
|
|
95
|
-
plugins: [
|
|
96
|
-
json(),
|
|
97
|
-
esbuild({
|
|
98
|
-
sourceMap: false,
|
|
99
|
-
minify: true,
|
|
100
|
-
})
|
|
101
|
-
],
|
|
102
|
-
output: [
|
|
103
|
-
{
|
|
104
|
-
file: `dist/${name}.min.mjs`,
|
|
105
|
-
format: "es",
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
input: "src/index.ts",
|
|
109
|
-
external: ["quick-lru"],
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
plugins: [
|
|
113
|
-
nodeResolve(), // for the standalone UMD, we want to resolve so that the bundle contains all the dep.
|
|
114
|
-
commonjs({ include: "node_modules/**" }),
|
|
115
|
-
globals(),
|
|
116
|
-
json(),
|
|
117
|
-
esbuild({
|
|
118
|
-
sourceMap: false,
|
|
119
|
-
minify: true,
|
|
120
|
-
})
|
|
121
|
-
],
|
|
122
|
-
output: [
|
|
123
|
-
{
|
|
124
|
-
name: "maptilerClient",
|
|
125
|
-
file: `dist/${name}.umd.min.js`,
|
|
126
|
-
format: "umd",
|
|
127
|
-
sourcemap: false
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
input: "src/index.ts",
|
|
131
|
-
watch: {
|
|
132
|
-
include: "src/**"
|
|
133
|
-
},
|
|
134
|
-
external: []
|
|
135
|
-
})
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export default bundles
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
package/tsconfig.json
DELETED
package/typedoc.css
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/* Overiding the default dark mode with color scheme from the light mode */
|
|
2
|
-
@media (prefers-color-scheme: dark) {
|
|
3
|
-
:root {
|
|
4
|
-
--color-background: var(--light-color-background);
|
|
5
|
-
--color-background-secondary: var(--light-color-background-secondary);
|
|
6
|
-
--color-background-warning: var(--light-color-background-warning);
|
|
7
|
-
--color-warning-text: var(--light-color-warning-text);
|
|
8
|
-
--color-icon-background: var(--light-color-icon-background);
|
|
9
|
-
--color-accent: var(--light-color-accent);
|
|
10
|
-
--color-text: var(--light-color-text);
|
|
11
|
-
--color-text-aside: var(--light-color-text-aside);
|
|
12
|
-
--color-link: var(--light-color-link);
|
|
13
|
-
--color-ts: var(--light-color-ts);
|
|
14
|
-
--color-ts-interface: var(--light-color-ts-interface);
|
|
15
|
-
--color-ts-enum: var(--light-color-ts-enum);
|
|
16
|
-
--color-ts-class: var(--light-color-ts-class);
|
|
17
|
-
--color-ts-function: var(--light-color-ts-function);
|
|
18
|
-
--color-ts-namespace: var(--light-color-ts-namespace);
|
|
19
|
-
--color-ts-private: var(--light-color-ts-private);
|
|
20
|
-
--color-ts-variable: var(--light-color-ts-variable);
|
|
21
|
-
--external-icon: var(--light-external-icon);
|
|
22
|
-
--color-scheme: var(--light-color-scheme);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
body {
|
|
27
|
-
background: #fff;
|
|
28
|
-
font-family: "Open Sans", sans-serif;
|
|
29
|
-
color: #6B7C92;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
|
|
33
|
-
font-family: "Ubuntu","Open Sans",sans-serif;
|
|
34
|
-
color: #525a65;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.tsd-page-toolbar {
|
|
38
|
-
background: #fff;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
#tsd-search > .title {
|
|
42
|
-
background-image: url("data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%0A%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%0A%3Csvg%20width%3D%22100%25%22%20height%3D%22100%25%22%20viewBox%3D%220%200%20161%2041%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20xml%3Aspace%3D%22preserve%22%20xmlns%3Aserif%3D%22http%3A%2F%2Fwww.serif.com%2F%22%20style%3D%22fill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bstroke-linejoin%3Around%3Bstroke-miterlimit%3A2%3B%22%3E%0A%20%20%20%20%3Cg%20transform%3D%22matrix(1%2C0%2C0%2C1%2C-1.20801%2C-0.711928)%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.965%2C33.743C14.023%2C35.769%2019.5%2C41.264%2019.497%2C41.269C19.477%2C41.305%2024.938%2C35.908%2027.113%2C33.768L19.526%2C26.3L11.965%2C33.743Z%22%20style%3D%22fill%3Argb(58%2C24%2C136)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M19.526%2C26.3L27.113%2C33.768C27.124%2C33.756%2027.138%2C33.741%2027.15%2C33.731L34.73%2C26.27L27.143%2C18.802L19.526%2C26.3Z%22%20style%3D%22fill%3Argb(3%2C161%2C196)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M34.73%2C26.27L34.749%2C26.25C38.942%2C22.123%2038.945%2C15.435%2034.762%2C11.302L27.144%2C18.802L34.73%2C26.27Z%22%20style%3D%22fill%3Argb(5%2C208%2C223)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.908%2C18.802L4.349%2C26.243C4.351%2C26.245%204.352%2C26.248%204.355%2C26.25L11.953%2C33.73C11.957%2C33.734%2011.961%2C33.738%2011.966%2C33.743L19.526%2C26.3L11.908%2C18.802Z%22%20style%3D%22fill%3Argb(118%2C31%2C232)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M19.526%2C11.303L27.143%2C18.802L34.762%2C11.303C34.755%2C11.298%2034.753%2C11.295%2034.749%2C11.29L27.15%2C3.81C27.149%2C3.808%2027.146%2C3.806%2027.144%2C3.804L19.526%2C11.303Z%22%20style%3D%22fill%3Argb(255%2C170%2C1)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.317%2C11.328C0.161%2C15.46%200.172%2C22.124%204.349%2C26.243L11.908%2C18.802L4.317%2C11.328Z%22%20style%3D%22fill%3Argb(241%2C23%2C93)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M19.526%2C11.303L11.934%2C3.829L4.355%2C11.29C4.341%2C11.303%204.33%2C11.317%204.316%2C11.329L11.908%2C18.802L19.526%2C11.303Z%22%20style%3D%22fill%3Argb(251%2C58%2C27)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M27.144%2C3.804C22.946%2C-0.321%2016.148%2C-0.319%2011.953%2C3.81L11.934%2C3.829L19.526%2C11.303L27.144%2C3.804Z%22%20style%3D%22fill%3Argb(251%2C201%2C53)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M58.567%2C28.139L58.567%2C20.497C58.567%2C18.616%2057.566%2C16.908%2055.595%2C16.908C53.654%2C16.908%2052.508%2C18.616%2052.508%2C20.497L52.508%2C28.139L48.922%2C28.139L48.922%2C13.84L52.244%2C13.84L52.508%2C15.578C53.273%2C14.129%2054.949%2C13.609%2056.33%2C13.609C58.066%2C13.609%2059.8%2C14.304%2060.624%2C16.271C61.918%2C14.245%2063.595%2C13.667%2065.476%2C13.667C69.593%2C13.667%2071.622%2C16.155%2071.622%2C20.44L71.622%2C28.139L68.034%2C28.139L68.034%2C20.44C68.034%2C18.559%2067.24%2C16.966%2065.301%2C16.966C63.359%2C16.966%2062.153%2C18.616%2062.153%2C20.497L62.153%2C28.139L58.567%2C28.139Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M86.765%2C13.87L90.206%2C13.87L90.206%2C28.139L86.824%2C28.139L86.647%2C26.056C85.825%2C27.734%2083.561%2C28.543%2081.943%2C28.573C77.651%2C28.603%2074.474%2C25.997%2074.474%2C20.989C74.474%2C16.069%2077.798%2C13.493%2082.033%2C13.522C83.973%2C13.522%2085.824%2C14.419%2086.647%2C15.838L86.765%2C13.87ZM78.062%2C20.989C78.062%2C23.71%2079.973%2C25.331%2082.355%2C25.331C88%2C25.331%2088%2C16.677%2082.355%2C16.677C79.973%2C16.677%2078.062%2C18.269%2078.062%2C20.989Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M93.236%2C34.105L93.236%2C13.87L96.589%2C13.87L96.822%2C15.838C97.94%2C14.245%2099.882%2C13.551%20101.528%2C13.551C105.996%2C13.551%20108.968%2C16.822%20108.968%2C21.019C108.968%2C25.187%20106.291%2C28.487%20101.645%2C28.487C100.118%2C28.487%2097.852%2C28.023%2096.822%2C26.461L96.822%2C34.104L93.236%2C34.104L93.236%2C34.105ZM105.381%2C21.019C105.381%2C18.791%20103.851%2C16.966%20101.264%2C16.966C98.676%2C16.966%2097.146%2C18.791%2097.146%2C21.019C97.146%2C23.247%2098.823%2C25.073%20101.264%2C25.073C103.705%2C25.073%20105.381%2C23.247%20105.381%2C21.019Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M115.378%2C9.528L115.378%2C13.84L120.319%2C13.84L120.319%2C15.026L115.378%2C15.026L115.378%2C23.739C115.378%2C25.679%20115.791%2C27.04%20118.055%2C27.04C118.76%2C27.04%20119.554%2C26.808%20120.289%2C26.461L120.789%2C27.617C119.877%2C28.054%20118.965%2C28.342%20118.055%2C28.342C114.968%2C28.342%20113.967%2C26.547%20113.967%2C23.74L113.967%2C15.027L110.879%2C15.027L110.879%2C13.84L113.967%2C13.84L113.967%2C9.672L115.378%2C9.528Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M125.554%2C9.18C125.554%2C10.685%20123.23%2C10.685%20123.23%2C9.18C123.23%2C7.675%20125.554%2C7.675%20125.554%2C9.18ZM123.643%2C13.782L123.643%2C28.14L125.082%2C28.14L125.082%2C13.782L123.643%2C13.782Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%22129.199%22%20y%3D%227.878%22%20width%3D%221.441%22%20height%3D%2220.261%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M153.488%2C13.84L153.547%2C16.389C154.459%2C14.448%20156.518%2C13.696%20158.37%2C13.696C159.459%2C13.667%20160.515%2C13.956%20161.486%2C14.536L160.839%2C15.693C160.076%2C15.23%20159.221%2C15.027%20158.37%2C15.027C155.663%2C15.057%20153.576%2C17.198%20153.576%2C19.804L153.576%2C28.14L152.135%2C28.14L152.135%2C13.84L153.488%2C13.84Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M135.54%2C23.414C135.541%2C23.415%20135.543%2C23.417%20135.543%2C23.418L147.303%2C20.354C147.302%2C20.349%20147.302%2C20.345%20147.302%2C20.341L135.54%2C23.414Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M141.214%2C27.28C138.654%2C27.28%20136.461%2C25.701%20135.543%2C23.458L135.535%2C23.458L135.542%2C23.457C135.542%2C23.456%20135.541%2C23.455%20135.54%2C23.454L147.301%2C20.38C147.301%2C20.385%20147.302%2C20.389%20147.302%2C20.394L148.555%2C20.068C148.049%2C16.446%20144.956%2C13.658%20141.214%2C13.658C137.12%2C13.658%20133.802%2C16.996%20133.802%2C21.113C133.802%2C25.23%20137.12%2C28.569%20141.214%2C28.569C144.276%2C28.569%20146.905%2C26.7%20148.035%2C24.037L146.855%2C23.532C145.921%2C25.734%20143.747%2C27.28%20141.214%2C27.28ZM135.083%2C21.113C135.083%2C17.708%20137.828%2C14.946%20141.214%2C14.946C143.862%2C14.946%20146.117%2C16.634%20146.976%2C18.999L135.16%2C22.085C135.11%2C21.768%20135.083%2C21.444%20135.083%2C21.113Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A");
|
|
43
|
-
background-repeat: no-repeat;
|
|
44
|
-
color: #0000;
|
|
45
|
-
font-size: 1.5em;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.tsd-page-title h2 {
|
|
49
|
-
display: none;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.tsd-page-toolbar--hide {
|
|
53
|
-
transform: none;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.col-menu--hide {
|
|
57
|
-
top: 4em;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.tsd-page-toolbar {
|
|
62
|
-
border-color: #d3dbec;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.col-menu {
|
|
66
|
-
border-left: none;
|
|
67
|
-
background-color: #F3F6FF;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.menu-sticky-wrap {
|
|
71
|
-
top: 2.5rem;
|
|
72
|
-
margin-top: 2.5rem;
|
|
73
|
-
/* height: 100vh; */
|
|
74
|
-
height: calc(100vh - 2.5rem);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.tsd-generator {
|
|
78
|
-
display: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.settings {
|
|
82
|
-
display: none;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.tsd-navigation a {
|
|
86
|
-
color: #252525;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.tsd-navigation.primary ul li a:hover {
|
|
90
|
-
border-color: #b3deff;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.tsd-navigation.primary li.selected > a,
|
|
94
|
-
.tsd-navigation.primary li.current > a {
|
|
95
|
-
border-color: #8bc9f9;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.tsd-index-panel > .tsd-index-heading {
|
|
99
|
-
display: none;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
#tsd-search.has-focus {
|
|
103
|
-
background-color: #fff;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.tsd-navigation.secondary {
|
|
107
|
-
border-top: solid 1px #d3dbec;
|
|
108
|
-
padding-top: 1rem;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
pre {
|
|
112
|
-
border-color: #d3dbec;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
code, pre {
|
|
116
|
-
border-radius: 3px;
|
|
117
|
-
background-color: #fafbff;
|
|
118
|
-
}
|
package/typedoc.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"entryPoints": ["./src/services/*.ts", "./src/language.ts", "src/config.ts"],
|
|
3
|
-
"name": "MapTiler Client",
|
|
4
|
-
"plugin": [],
|
|
5
|
-
"out": "docs",
|
|
6
|
-
"excludePrivate": true,
|
|
7
|
-
"excludeProtected": true,
|
|
8
|
-
"excludeExternals": true,
|
|
9
|
-
"excludeNotDocumented": false,
|
|
10
|
-
"excludeInternal": true,
|
|
11
|
-
"theme": "default",
|
|
12
|
-
"customCss": "typedoc.css",
|
|
13
|
-
"includeVersion": true
|
|
14
|
-
}
|