Compare commits
120 Commits
fix_docker
...
snowflake-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b1f732082 | ||
|
|
da2bc91a32 | ||
|
|
83accd751a | ||
|
|
d6d2277ed6 | ||
|
|
9f5eb899e8 | ||
|
|
050c6daff3 | ||
|
|
c016ca5ad9 | ||
|
|
57a4199f52 | ||
|
|
222c46f639 | ||
|
|
fb7f50868d | ||
|
|
b323bf0fb6 | ||
|
|
38d64e8dd2 | ||
|
|
fb6efb9e9a | ||
|
|
e77f755765 | ||
|
|
56e59b47fe | ||
|
|
9b95accf6b | ||
|
|
c220245414 | ||
|
|
db1d77cba2 | ||
|
|
0c3aa7d8fe | ||
|
|
226b755798 | ||
|
|
c7dc4dc7fc | ||
|
|
fede4f9f1b | ||
|
|
e16ba28a8c | ||
|
|
052b38bdf3 | ||
|
|
61c0970968 | ||
|
|
1c3ef01209 | ||
|
|
9fed576cb4 | ||
|
|
e011c91921 | ||
|
|
7eb3ca408f | ||
|
|
422aa6b657 | ||
|
|
c27db070db | ||
|
|
4a06e830ca | ||
|
|
aa26ca5c27 | ||
|
|
5b5f448af0 | ||
|
|
f1136b57dd | ||
|
|
d877d46557 | ||
|
|
9c058fee7a | ||
|
|
e2eb9fe35e | ||
|
|
6bc8567802 | ||
|
|
819597faf6 | ||
|
|
27c08d0e0e | ||
|
|
ecb9ff0f8a | ||
|
|
5a3b1ee3fd | ||
|
|
c87a4fd642 | ||
|
|
57e8cd2ba2 | ||
|
|
40520c54d4 | ||
|
|
5ff259e870 | ||
|
|
d1ea4abb12 | ||
|
|
74e811706b | ||
|
|
26e1779f20 | ||
|
|
eaaa44c6c1 | ||
|
|
91faa3593a | ||
|
|
ebbef827ff | ||
|
|
5339f3dffa | ||
|
|
516f3663c0 | ||
|
|
4d9fd1b045 | ||
|
|
e623d745f5 | ||
|
|
1d2dee8a4e | ||
|
|
71786dba64 | ||
|
|
5936e8dbca | ||
|
|
d143b24232 | ||
|
|
249f5ec31a | ||
|
|
2cbd945692 | ||
|
|
66eb9593d1 | ||
|
|
59e366ce90 | ||
|
|
5d06b01fd6 | ||
|
|
c5829419e3 | ||
|
|
c094ac3584 | ||
|
|
2b4a8e9083 | ||
|
|
20adae8b21 | ||
|
|
da46ad4013 | ||
|
|
0d62bb2261 | ||
|
|
4c52ecc4d8 | ||
|
|
06c9f3368a | ||
|
|
714caeafb6 | ||
|
|
2231348356 | ||
|
|
2bce20f790 | ||
|
|
d21d7591c0 | ||
|
|
6bf8596d68 | ||
|
|
525e837c5b | ||
|
|
8891f04f11 | ||
|
|
134ca38b8d | ||
|
|
c3702be9d4 | ||
|
|
68ef13e37f | ||
|
|
cff9865c47 | ||
|
|
c22dfa1abb | ||
|
|
f0fa96fc46 | ||
|
|
00bab74d17 | ||
|
|
ee54363163 | ||
|
|
320ba9eac2 | ||
|
|
fd8f8719f8 | ||
|
|
bcc14b5274 | ||
|
|
a9229899f6 | ||
|
|
06ac7bf16c | ||
|
|
385cf8af8c | ||
|
|
40f9a40aa1 | ||
|
|
adc2ba405b | ||
|
|
d4f0ac4a63 | ||
|
|
1ec8eb8f57 | ||
|
|
363999d197 | ||
|
|
e21f945802 | ||
|
|
396cf9b822 | ||
|
|
705ffda574 | ||
|
|
f51bf67554 | ||
|
|
3c971455e7 | ||
|
|
5ed19319dd | ||
|
|
dac69e2092 | ||
|
|
72caec10fe | ||
|
|
922128f6e0 | ||
|
|
3de2b7c989 | ||
|
|
cd713a239e | ||
|
|
453e6deb97 | ||
|
|
27dde2a811 | ||
|
|
2a9a1d3194 | ||
|
|
be833dce4f | ||
|
|
92537f1fd5 | ||
|
|
ae0edbfdce | ||
|
|
9487d6c9d6 | ||
|
|
5539f87912 | ||
|
|
85b66946ed |
@@ -70,8 +70,9 @@ github:
|
||||
- cypress-matrix (4, chrome)
|
||||
- cypress-matrix (5, chrome)
|
||||
- frontend-build
|
||||
- pre-commit
|
||||
- python-lint
|
||||
- pre-commit (current)
|
||||
- pre-commit (next)
|
||||
- pre-commit (previous)
|
||||
- test-mysql
|
||||
- test-postgres (current)
|
||||
- test-postgres (next)
|
||||
|
||||
2
.github/CODEOWNERS
vendored
@@ -2,7 +2,7 @@
|
||||
|
||||
# https://github.com/apache/superset/issues/13351
|
||||
|
||||
/superset/migrations/ @apache/superset-committers
|
||||
/superset/migrations/ @mistercrunch @michael-s-molina
|
||||
|
||||
# Notify some committers of changes in the components
|
||||
|
||||
|
||||
5
.github/dependabot.yml
vendored
@@ -8,8 +8,9 @@ updates:
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
ignore:
|
||||
# not until node >= 18.12.0
|
||||
- dependency-name: "css-minimizer-webpack-plugin"
|
||||
# not until React >= 18.0.0
|
||||
- dependency-name: "storybook"
|
||||
- dependency-name: "@storybook*"
|
||||
directory: "/superset-frontend/"
|
||||
schedule:
|
||||
interval: "monthly"
|
||||
|
||||
5
.github/workflows/pre-commit.yml
vendored
@@ -16,6 +16,9 @@ concurrency:
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["current", "next", "previous"]
|
||||
steps:
|
||||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||
uses: actions/checkout@v4
|
||||
@@ -24,6 +27,8 @@ jobs:
|
||||
submodules: recursive
|
||||
- name: Setup Python
|
||||
uses: ./.github/actions/setup-backend/
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Enable brew and helm-docs
|
||||
# Add brew to the path - see https://github.com/actions/runner-images/issues/6283
|
||||
run: |
|
||||
|
||||
27
.github/workflows/superset-docs-verify.yml
vendored
@@ -12,6 +12,33 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
linkinator:
|
||||
# See docs here: https://github.com/marketplace/actions/linkinator
|
||||
name: Link Checking
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: JustinBeckwith/linkinator-action@v1.10.4
|
||||
with:
|
||||
paths: "**/*.md, **/*.mdx"
|
||||
linksToSkip: >-
|
||||
^https://github.com/apache/(superset|incubator-superset)/(pull|issue)/\d+,
|
||||
http://localhost:8088/,
|
||||
docker/.env-non-dev,
|
||||
http://127.0.0.1:3000/,
|
||||
http://localhost:9001/,
|
||||
https://charts.bitnami.com/bitnami,
|
||||
https://www.li.me/,
|
||||
https://www.fanatics.com/,
|
||||
https://tails.com/gb/,
|
||||
https://www.techaudit.info/,
|
||||
https://avetilearning.com/,
|
||||
https://www.udemy.com/,
|
||||
https://trustmedis.com/,
|
||||
http://theiconic.com.au/,
|
||||
https://dev.mysql.com/doc/refman/5.7/en/innodb-limits.html,
|
||||
^https://img\.shields\.io/.*,
|
||||
https://vkusvill.ru/
|
||||
build-deploy:
|
||||
name: Build & Deploy
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
53
.github/workflows/superset-python-misc.yml
vendored
@@ -1,53 +0,0 @@
|
||||
# Python Misc unit tests
|
||||
name: Python Misc
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
- "[0-9].[0-9]*"
|
||||
pull_request:
|
||||
types: [synchronize, opened, reopened, ready_for_review]
|
||||
|
||||
# cancel previous workflow jobs for PRs
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
python-lint:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: recursive
|
||||
- name: Check for file changes
|
||||
id: check
|
||||
uses: ./.github/actions/change-detector/
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Setup Python
|
||||
uses: ./.github/actions/setup-backend/
|
||||
if: steps.check.outputs.python
|
||||
|
||||
babel-extract:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: recursive
|
||||
- name: Check for file changes
|
||||
id: check
|
||||
uses: ./.github/actions/change-detector/
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Setup Python
|
||||
if: steps.check.outputs.python
|
||||
uses: ./.github/actions/setup-backend/
|
||||
- name: Test babel extraction
|
||||
if: steps.check.outputs.python
|
||||
run: scripts/translations/babel_update.sh
|
||||
33
.github/workflows/tag-release.yml
vendored
@@ -54,10 +54,13 @@ jobs:
|
||||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
tags: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Use Node.js 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Setup supersetbot
|
||||
uses: ./.github/actions/setup-supersetbot/
|
||||
|
||||
@@ -94,16 +97,38 @@ jobs:
|
||||
--platform "linux/arm64" \
|
||||
--platform "linux/amd64"
|
||||
|
||||
# Going back on original branch to allow "post" GHA operations
|
||||
# Returning to master to support closing setup-supersetbot
|
||||
git checkout master
|
||||
|
||||
update-prs-with-release-info:
|
||||
needs: config
|
||||
if: needs.config.outputs.has-secrets
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
steps:
|
||||
|
||||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Use Node.js 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Setup supersetbot
|
||||
uses: ./.github/actions/setup-supersetbot/
|
||||
|
||||
- name: Label the PRs with the right release-related labels
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
export GITHUB_ACTOR=""
|
||||
git fetch --all --tags
|
||||
git checkout master
|
||||
RELEASE="${{ github.event.release.tag_name }}"
|
||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||
# in the case of a manually-triggered run, read release from input
|
||||
|
||||
1
.gitignore
vendored
@@ -121,3 +121,4 @@ docker/*local*
|
||||
|
||||
# Jest test report
|
||||
test-report.html
|
||||
superset/static/stats/statistics.html
|
||||
|
||||
@@ -58,6 +58,8 @@ repos:
|
||||
rev: v3.1.0 # Use the sha or tag you want to point at
|
||||
hooks:
|
||||
- id: prettier
|
||||
additional_dependencies:
|
||||
- prettier@3.3.3
|
||||
args: ["--ignore-path=./superset-frontend/.prettierignore"]
|
||||
files: "superset-frontend"
|
||||
# blacklist unsafe functions like make_url (see #19526)
|
||||
|
||||
@@ -94,9 +94,9 @@ This statement thanks the following, on which it draws for content and inspirati
|
||||
|
||||
* [CouchDB Project Code of conduct](http://couchdb.apache.org/conduct.html)
|
||||
* [Fedora Project Code of Conduct](http://fedoraproject.org/code-of-conduct)
|
||||
* [Speak Up! Code of Conduct](http://speakup.io/coc.html)
|
||||
* [Speak Up! Code of Conduct](http://web.archive.org/web/20141109123859/http://speakup.io/coc.html)
|
||||
* [Django Code of Conduct](https://www.djangoproject.com/conduct/)
|
||||
* [Debian Code of Conduct](http://www.debian.org/vote/2014/vote_002)
|
||||
* [Debian Code of Conduct](https://www.debian.org/vote/2014/vote_002)
|
||||
* [Twitter Open Source Code of Conduct](https://github.com/twitter/code-of-conduct/blob/master/code-of-conduct.md)
|
||||
* [Mozilla Code of Conduct/Draft](https://wiki.mozilla.org/Code_of_Conduct/Draft#Conflicts_of_Interest)
|
||||
* [Python Diversity Appendix](https://www.python.org/community/diversity/)
|
||||
|
||||
@@ -505,7 +505,7 @@ We also need to update the Environment section of [ISSUE_TEMPLATE/bug-report.yml
|
||||
|
||||
Docker release with proper tags should happen automatically as version
|
||||
tags get pushed to the `apache/superset` GitHub repository through this
|
||||
[GitHub action](https://github.com/apache/superset/blob/master/.github/workflows/docker-release.yml)
|
||||
[GitHub action](https://github.com/apache/superset/blob/master/.github/workflows/docker.yml)
|
||||
|
||||
Note that this GH action implements a `workflow_dispatch` trigger,
|
||||
meaning that it can be triggered manually from the GitHub UI. If anything
|
||||
|
||||
@@ -102,7 +102,7 @@ Some of the new features in this release are disabled by default. Each has a fea
|
||||
This release includes **hundreds** of bugfixes and stability enhancements. Future major releases will have a continued emphasis on providing a stable and bug-free experience for the user.
|
||||
|
||||
# PR Highlights
|
||||
Below is a highlight of the PRs included in this update. The full list is much longer, and can be found [here](apache/incubator-superset/CHANGELOG.md).
|
||||
Below is a highlight of the PRs included in this update. The full list is much longer, and can be found [here](https://github.com/apache/superset/blob/master/CHANGELOG.md).
|
||||
|
||||
## User Experience
|
||||
- Revert "refactor: Remove usages of reactable from TimeTable (#11046)" (#[11150](https://github.com/apache/incubator-superset/pull/11150))
|
||||
@@ -222,4 +222,4 @@ Below is a highlight of the PRs included in this update. The full list is much l
|
||||
## Complete Changelog
|
||||
Backwards incompatible changes and can be found [here](../../UPDATING.md).
|
||||
|
||||
To see the complete changelog, see [apache/incubator-superset/CHANGELOG.md](https://github.com/apache/superset/blob/master/CHANGELOG.md)
|
||||
To see the complete changelog, see [apache/superset/CHANGELOG.md](https://github.com/apache/superset/blob/master/CHANGELOG.md)
|
||||
|
||||
@@ -137,6 +137,6 @@ when available.
|
||||
**Changelog**
|
||||
|
||||
To see the complete changelog in this release, head to
|
||||
[CHANGELOG.MD](https://github.com/apache/superset/blob/1.5/CHANGELOG/1.5.0.md).
|
||||
[CHANGELOG.MD](https://github.com/apache/superset/blob/master/CHANGELOG/1.5.0.md).
|
||||
As mentioned earlier, this release has a MASSIVE amount of bug fixes. The full
|
||||
changelog lists all of them!
|
||||
|
||||
131
RELEASING/release-notes-4-1/README.md
Normal file
@@ -0,0 +1,131 @@
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
# Release Notes for Superset 4.1.0
|
||||
|
||||
Superset 4.1.0 brings a range of new features and quality of life improvements. This release is a minor version, meaning it doesn't include any breaking changes to ensure a seamless transition for our users. Here are some of the highlights of this release.
|
||||
|
||||
### Big Number With Time Period Updates
|
||||
|
||||
We released a [Big Number with Time Period Comparison](https://github.com/apache/superset/pull/26908) chart as part of Superset 4.0. With the latest update, there are now [color options](https://github.com/apache/superset/pull/27524) for comparisons. The chart now also uses [standardize controls](https://github.com/apache/superset/pull/27193) such that when switching charts will maintain the selected metrics. To enable the new chart, you'll need to enable the `CHART_PLUGINS_EXPERIMENTAL` feature flag.
|
||||
|
||||
<div>
|
||||
<image src="media/big_number_chart.png" alt="Image" width="100%">
|
||||
</div>
|
||||
|
||||
### Table with Time Comparison
|
||||
Added functionality to do [table time comparisons](https://github.com/apache/superset/pull/28057) behind the `CHART_PLUGINS_EXPERIMENTAL` feature flag. This will help improve and facilitate efficient data analysis.
|
||||
|
||||
<div>
|
||||
<image src="media/table_with_time.png" alt="Image" width="100%">
|
||||
</div>
|
||||
|
||||
### New ECharts Versions
|
||||
|
||||
The new ECharts [Heatmap](https://github.com/apache/superset/pull/25353) has been added. Compared to the legacy Heatmap, it has more accurate percentage calculations, server side sorting to respect row limits, and a more interactive legend control that allows selecting a subset of values.
|
||||
|
||||
<div>
|
||||
<image src="media/heatmap.png" alt="Image" width="100%">
|
||||
</div>
|
||||
|
||||
We also added a new ECharts [Histogram](https://github.com/apache/superset/pull/28652) chart. The new chart will help visualize patterns, clusters, and outliers in the data and provides insights into its shape, central tendency, and spread.
|
||||
|
||||
<div>
|
||||
<image src="media/histogram.png" alt="Image" width="100%">
|
||||
</div>
|
||||
|
||||
A new Echarts [Sankey](https://github.com/apache/superset/pull/29329) chart now exists. The chart visually tracks the movement and transformation of values across system stages.
|
||||
|
||||
<div>
|
||||
<image src="media/sankey.png" alt="Image" width="100%">
|
||||
</div>
|
||||
|
||||
You can use the CLI command to migrate Area, Bubble, Line, Sankey, [Heatmap](https://github.com/apache/superset/pull/27771), and [Histogram](https://github.com/apache/superset/pull/28780) chart types but we'll add more as the ECharts migrations continue. Note that migrations for deprecated charts may be forced in upcoming major versions when the code is removed. Running migrations earlier will allow you to de-risk future upgrades while improving user experience.
|
||||
|
||||
```bash
|
||||
Usage: superset viz-migrations [OPTIONS] COMMAND [ARGS]...
|
||||
|
||||
Migrates a viz from one type to another.
|
||||
|
||||
Commands:
|
||||
downgrade Downgrades a viz to the previous version.
|
||||
upgrade Upgrade a viz to the latest version.
|
||||
```
|
||||
|
||||
Note: When migrating dashboards from one Superset instance to another (using import/export features or the Superset CLI), or restoring a backup of prior charts and dashboards, Superset will apply the existing migrations that are used during version upgrades. This will ensure that your charts and dashboards are using the latest and greatest charts that Superset officially supports. For any migration issues, feel free to [open a new issue](https://github.com/apache/superset/issues/new?assignees=&labels=bug&projects=&template=bug-report.yml) in the repo.
|
||||
|
||||
### Improved Upload Forms
|
||||
|
||||
We've made design changes to the [CSV](https://github.com/apache/superset/pull/27840), [Excel](https://github.com/apache/superset/pull/28105), and [Columnar](https://github.com/apache/superset/pull/28192
|
||||
) upload modals to improve user experience and to be more performant. The new designs has the following goals:
|
||||
|
||||
- Improved error handling.
|
||||
- Better backend parameter validation.
|
||||
- More aligned with our other modal dialogs
|
||||
|
||||
#### CSV
|
||||
<div>
|
||||
<img src="media/csv_modal_1.png" alt="Image" width="25%">
|
||||
<img src="media/csv_modal_2.png" alt="Image" width="25%">
|
||||
<img src="media/csv_modal_3.png" alt="Image" width="25%">
|
||||
<img src="media/csv_modal_4.png" alt="Image" width="25%">
|
||||
</div>
|
||||
|
||||
#### Excel
|
||||
<div>
|
||||
<img src="media/excel_modal_1.png" alt="Image" width="25%">
|
||||
<img src="media/excel_modal_2.png" alt="Image" width="25%">
|
||||
<img src="media/excel_modal_3.png" alt="Image" width="25%">
|
||||
<img src="media/excel_modal_4.png" alt="Image" width="25%">
|
||||
</div>
|
||||
|
||||
#### Columnar
|
||||
<div>
|
||||
<img src="media/columnar_modal_1.png" alt="Image" width="33%">
|
||||
<img src="media/columnar_modal_2.png" alt="Image" width="33%">
|
||||
<img src="media/columnar_modal_3.png" alt="Image" width="33%">
|
||||
</div>
|
||||
|
||||
|
||||
### OAuth2 For Databases
|
||||
|
||||
You now have the ability to enable [OAuth2](https://github.com/apache/superset/pull/27631) for databases like BigQuery, Snowflake, Dremio, Databricks, Google Sheets, etc. When enabled, it will allow users to connect to Oauth2 enabled databases with their own credentials.
|
||||
|
||||
### Catalog Support For Databases
|
||||
|
||||
Added support for the [catalog heirachy](https://github.com/apache/superset/pull/28317) for databases that support it, such as [BigQuery (projects), Databricks, Presto, Snowflake, and Trino](https://github.com/apache/superset/pull/28416). Once enabled, users will see catalogs when selecting tables in [SQL Lab, datasets](https://github.com/apache/superset/pull/28376), and when setting up Data Access Roles
|
||||
|
||||
### Slack Upload Files V2 API Updates
|
||||
As part of [[SIP-138] Proposal for Slack file upload V2 integration for Alerts and Reports](https://github.com/apache/superset/issues/29263) we now have support for Slack file upload files v2 API call. This feature is behind the feature flag `ALERT_REPORT_SLACK_V2` and also changes the Slack channel to a selector. You may also need to add the following scopes (`channels:read`, `group:read`) to your Slack bot to work.
|
||||
|
||||
<div>
|
||||
<image src="media/slack_modal.png" alt="Image" width="100%">
|
||||
</div>
|
||||
|
||||
### Total and Percentages In Tooltips For ECharts
|
||||
|
||||
Users can now see both the [total and percentage in tooltips](https://github.com/apache/superset/pull/27950) for ECharts.
|
||||
|
||||
<div>
|
||||
<image src="media/tooltips.png" alt="Image" width="100%">
|
||||
</div>
|
||||
|
||||
### Additional Metadata Bar To Dashboards
|
||||
|
||||
There is now a [metadata bar](https://github.com/apache/superset/pull/27857) added to the header of dashboards. This will now show viewers of the dashboard both the owners and last modified time of the dashboard.
|
||||
BIN
RELEASING/release-notes-4-1/media/big_number_chart.png
Normal file
|
After Width: | Height: | Size: 110 KiB |
BIN
RELEASING/release-notes-4-1/media/columnar_modal_1.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
RELEASING/release-notes-4-1/media/columnar_modal_2.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
RELEASING/release-notes-4-1/media/columnar_modal_3.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
RELEASING/release-notes-4-1/media/csv_modal_1.png
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
RELEASING/release-notes-4-1/media/csv_modal_2.png
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
RELEASING/release-notes-4-1/media/csv_modal_3.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
RELEASING/release-notes-4-1/media/csv_modal_4.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
RELEASING/release-notes-4-1/media/excel_modal_1.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
RELEASING/release-notes-4-1/media/excel_modal_2.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
RELEASING/release-notes-4-1/media/excel_modal_3.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
RELEASING/release-notes-4-1/media/excel_modal_4.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
RELEASING/release-notes-4-1/media/heatmap.png
Normal file
|
After Width: | Height: | Size: 132 KiB |
BIN
RELEASING/release-notes-4-1/media/histogram.png
Normal file
|
After Width: | Height: | Size: 510 KiB |
BIN
RELEASING/release-notes-4-1/media/sankey.png
Normal file
|
After Width: | Height: | Size: 617 KiB |
BIN
RELEASING/release-notes-4-1/media/slack_modal.png
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
RELEASING/release-notes-4-1/media/table_with_time.png
Normal file
|
After Width: | Height: | Size: 168 KiB |
BIN
RELEASING/release-notes-4-1/media/tooltips.png
Normal file
|
After Width: | Height: | Size: 363 KiB |
@@ -45,7 +45,7 @@ These features are **finished** but currently being tested. They are usable, but
|
||||
- CACHE_IMPERSONATION
|
||||
- CONFIRM_DASHBOARD_DIFF
|
||||
- DRILL_TO_DETAIL
|
||||
- DYNAMIC_PLUGINS: [(docs)](https://superset.apache.org/docs/configuration/running-on-kubernetes)
|
||||
- DYNAMIC_PLUGINS
|
||||
- ENABLE_SUPERSET_META_DB: [(docs)](https://superset.apache.org/docs/configuration/databases/#querying-across-databases)
|
||||
- ESTIMATE_QUERY_COST
|
||||
- GLOBAL_ASYNC_QUERIES [(docs)](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#async-chart-queries)
|
||||
@@ -70,7 +70,7 @@ These features flags are **safe for production**. They have been tested and will
|
||||
### Flags retained for runtime configuration
|
||||
- ALERTS_ATTACH_REPORTS
|
||||
- ALLOW_ADHOC_SUBQUERY
|
||||
- DASHBOARD_RBAC [(docs)](https://superset.apache.org/docs/using-superset/first-dashboard#manage-access-to-dashboards)
|
||||
- DASHBOARD_RBAC [(docs)](https://superset.apache.org/docs/using-superset/creating-your-first-dashboard#manage-access-to-dashboards)
|
||||
- DATAPANEL_CLOSED_BY_DEFAULT
|
||||
- DRUID_JOINS
|
||||
- EMBEDDABLE_CHARTS
|
||||
|
||||
@@ -30,24 +30,24 @@ Join our growing community!
|
||||
- [Airbnb](https://github.com/airbnb)
|
||||
- [Faasos](http://faasos.com/) [@shashanksingh]
|
||||
- [Hostnfly](https://www.hostnfly.com/) [@alexisrosuel]
|
||||
- [Lime](https://www.limebike.com/) [@cxmcc]
|
||||
- [Lime](https://www.li.me/) [@cxmcc]
|
||||
- [Lyft](https://www.lyft.com/)
|
||||
- [Ontruck](https://www.ontruck.com/)
|
||||
|
||||
### Financial Services
|
||||
- [Aktia Bank plc](https://www.aktia.com) [@villebro]
|
||||
- [Aktia Bank plc](https://www.aktia.com)
|
||||
- [American Express](https://www.americanexpress.com) [@TheLastSultan]
|
||||
- [bumper](https://www.bumper.co/) [@vasu-ram, @JamiePercival]
|
||||
- [Cape Crypto](https://capecrypto.com)
|
||||
- [Capital Service S.A.](http://capitalservice.pl) [@pkonarzewski]
|
||||
- [Clark.de](http://clark.de/)
|
||||
- [KarrotPay](https://www.daangnpay.com/)
|
||||
- [Taveo](https://www.taveo.com) [@codek]
|
||||
- [Unit](https://www.unit.co/about-us) [@amitmiran137]
|
||||
- [Wise](https://wise.com) [@koszti]
|
||||
- [Xendit](http://xendit.co/) [@LieAlbertTriAdrian]
|
||||
- [bumper](https://www.bumper.co/) [@vasu-ram, @JamiePercival]
|
||||
|
||||
### Gaming
|
||||
- [Digit Game Studios](https://www.digitgaming.com/)
|
||||
- [Popoko VM Games Studio](https://popoko.live)
|
||||
|
||||
### E-Commerce
|
||||
@@ -55,7 +55,7 @@ Join our growing community!
|
||||
- [Bazaar Technologies](https://www.bazaartech.com) [@umair-abro]
|
||||
- [Dragonpass](https://www.dragonpass.com.cn/) [@zhxjdwh]
|
||||
- [Dropit Shopping](https://www.dropit.shop/) [@dropit-dev]
|
||||
- [Fanatics](https://www.fanatics.com) [@coderfender]
|
||||
- [Fanatics](https://www.fanatics.com/) [@coderfender]
|
||||
- [Fordeal](http://www.fordeal.com) [@Renkai]
|
||||
- [GFG - Global Fashion Group](https://global-fashion-group.com) [@ksaagariconic]
|
||||
- [HuiShouBao](http://www.huishoubao.com/) [@Yukinoshita-Yukino]
|
||||
@@ -64,10 +64,10 @@ Join our growing community!
|
||||
- [Rakuten Viki](https://www.viki.com)
|
||||
- [Shopee](https://shopee.sg) [@xiaohanyu]
|
||||
- [Shopkick](https://www.shopkick.com) [@LAlbertalli]
|
||||
- [Tails.com](https://tails.com) [@alanmcruickshank]
|
||||
- [Tails.com](https://tails.com/gb/) [@alanmcruickshank]
|
||||
- [THE ICONIC](http://theiconic.com.au/) [@ksaagariconic]
|
||||
- [Utair](https://www.utair.ru) [@utair-digital]
|
||||
- [VkusVill](https://www.vkusvill.ru) [@ETselikov]
|
||||
- [VkusVill](https://vkusvill.ru/) [@ETselikov]
|
||||
- [Zalando](https://www.zalando.com) [@dmigo]
|
||||
- [Zalora](https://www.zalora.com) [@ksaagariconic]
|
||||
|
||||
@@ -89,8 +89,7 @@ Join our growing community!
|
||||
- [Endress+Hauser](http://www.endress.com/) [@rumbin]
|
||||
- [FBK - ICT center](http://ict.fbk.eu)
|
||||
- [Gavagai](https://gavagai.io) [@gavagai-corp]
|
||||
- [GfK Data Lab](http://datalab.gfk.com) [@mherr]
|
||||
- [GrowthSimple](https://growthsimple.ai/)
|
||||
- [GfK Data Lab](https://www.gfk.com/home) [@mherr]
|
||||
- [Hydrolix](https://www.hydrolix.io/)
|
||||
- [Intercom](https://www.intercom.com/) [@kate-gallo]
|
||||
- [jampp](https://jampp.com/)
|
||||
@@ -105,17 +104,14 @@ Join our growing community!
|
||||
- [Peak AI](https://www.peak.ai/) [@azhar22k]
|
||||
- [PeopleDoc](https://www.people-doc.com) [@rodo]
|
||||
- [Preset, Inc.](https://preset.io)
|
||||
- [Pronto Tools](http://www.prontotools.io) [@zkan]
|
||||
- [PubNub](https://pubnub.com) [@jzucker2]
|
||||
- [ReadyTech](https://www.readytech.io)
|
||||
- [Reward Gateway](https://www.rewardgateway.com)
|
||||
- [ScopeAI](https://www.getscopeai.com) [@iloveluce]
|
||||
- [Showmax](https://tech.showmax.com) [@bobek]
|
||||
- [source{d}](https://www.sourced.tech) [@marnovo]
|
||||
- [Steamroot](https://streamroot.io/)
|
||||
- [Showmax](https://showmax.com) [@bobek]
|
||||
- [TechAudit](https://www.techaudit.info) [@ETselikov]
|
||||
- [Tenable](https://www.tenable.com) [@dflionis]
|
||||
- [Tentacle](https://public.tentaclecmi.com) [@jdclarke5]
|
||||
- [Tentacle](https://tentaclecmi.com) [@jdclarke5]
|
||||
- [timbr.ai](https://timbr.ai/) [@semantiDan]
|
||||
- [Tobii](http://www.tobii.com/) [@dwa]
|
||||
- [Tooploox](https://www.tooploox.com/) [@jakubczaplicki]
|
||||
@@ -155,14 +151,13 @@ Join our growing community!
|
||||
|
||||
### Healthcare
|
||||
- [Amino](https://amino.com) [@shkr]
|
||||
- [Beans](https://www.beans.fi) [@kakoni]
|
||||
- [Bluesquare](https://www.bluesquarehub.com/) [@madewulf]
|
||||
- [Care](https://www.getcare.io/)[@alandao2021]
|
||||
- [Living Goods](https://www.livinggoods.org) [@chelule]
|
||||
- [Maieutical Labs](https://maieuticallabs.it) [@xrmx]
|
||||
- [QPID Health](http://www.qpidhealth.com/)
|
||||
- [REDCap Cloud](https://www.redcapcloud.com/)
|
||||
- [TrustMedis](https://trustmedis.com) [@famasya]
|
||||
- [TrustMedis](https://trustmedis.com/) [@famasya]
|
||||
- [WeSure](https://www.wesure.cn/)
|
||||
|
||||
### HR / Staffing
|
||||
|
||||
@@ -58,6 +58,7 @@ assists people when migrating to a new version.
|
||||
backend, as well as the .json files used by the frontend. If you were doing anything before
|
||||
as part of your bundling to expose translation packages, it's probably not needed anymore.
|
||||
- [29264](https://github.com/apache/superset/pull/29264) Slack has updated its file upload api, and we are now supporting this new api in Superset, although the Slack api is not backward compatible. The original Slack integration is deprecated and we will require a new Slack scope `channels:read` to be added to Slack workspaces in order to use this new api. In an upcoming release, we will make this new Slack scope mandatory and remove the old Slack functionality.
|
||||
- [29798](https://github.com/apache/superset/pull/29798) Since 3.1.0, the intial schedule for an alert or report was mistakenly offset by the specified timezone's relation to UTC. The initial schedule should now begin at the correct time.
|
||||
|
||||
### Potential Downtime
|
||||
|
||||
@@ -227,7 +228,8 @@ assists people when migrating to a new version.
|
||||
- [19273](https://github.com/apache/superset/pull/19273): The `SUPERSET_CELERY_WORKERS` and `SUPERSET_WORKERS` config keys has been removed. Configure Celery directly using `CELERY_CONFIG` on Superset.
|
||||
- [19231](https://github.com/apache/superset/pull/19231): The `ENABLE_REACT_CRUD_VIEWS` feature flag has been removed (permanently enabled). Any deployments which had set this flag to false will need to verify that the React views support their use case.
|
||||
- [19230](https://github.com/apache/superset/pull/19230): The `ROW_LEVEL_SECURITY` feature flag has been removed (permanently enabled). Any deployments which had set this flag to false will need to verify that the presence of the Row Level Security feature does not interfere with their use case.
|
||||
- [19168](https://github.com/apache/superset/pull/19168): Celery upgrade to 5.X resulted in breaking changes to its command line invocation. Please follow [these](https://docs.celeryq.dev/en/stable/whatsnew-5.2.html#step-1-adjust-your-command-line-invocation) instructions for adjustments. Also consider migrating you Celery config per [here](https://docs.celeryq.dev/en/stable/userguide/configuration.html#conf-old-settings-map).
|
||||
- [19168](https://github.com/apache/superset/pull/19168): Celery upgrade to 5.X resulted in breaking changes to its command line invocation.
|
||||
html#step-1-adjust-your-command-line-invocation) instructions for adjustments. Also consider migrating you Celery config per [here](https://docs.celeryq.dev/en/stable/userguide/configuration.html#conf-old-settings-map).
|
||||
- [19142](https://github.com/apache/superset/pull/19142): The `VERSIONED_EXPORT` config key is now `True` by default.
|
||||
- [19113](https://github.com/apache/superset/pull/19113): The `ENABLE_JAVASCRIPT_CONTROLS` config key has moved from an app config to a feature flag. Any deployments who overrode this setting will now need to override the feature flag from here onward.
|
||||
- [19107](https://github.com/apache/superset/pull/19107): The `SQLLAB_BACKEND_PERSISTENCE` feature flag is now `True` by default, which enables persisting SQL Lab tabs in the backend instead of the browser's `localStorage`.
|
||||
@@ -538,7 +540,7 @@ assists people when migrating to a new version.
|
||||
- [8117](https://github.com/apache/superset/pull/8117): If you are
|
||||
using `ENABLE_PROXY_FIX = True`, review the newly-introduced variable,
|
||||
`PROXY_FIX_CONFIG`, which changes the proxy behavior in accordance with
|
||||
[Werkzeug](https://werkzeug.palletsprojects.com/en/0.15.x/middleware/proxy_fix/)
|
||||
Werkzeug.
|
||||
|
||||
- [8069](https://github.com/apache/superset/pull/8069): introduces
|
||||
[MessagePack](https://github.com/msgpack/msgpack-python) and
|
||||
|
||||
@@ -151,6 +151,7 @@ services:
|
||||
environment:
|
||||
# set this to false if you have perf issues running the npm i; npm run dev in-docker
|
||||
# if you do so, you have to run this manually on the host, which should perform better!
|
||||
BUILD_SUPERSET_FRONTEND_IN_DOCKER: true
|
||||
SCARF_ANALYTICS: "${SCARF_ANALYTICS:-}"
|
||||
container_name: superset_node
|
||||
command: ["/app/docker/docker-frontend.sh"]
|
||||
|
||||
@@ -24,12 +24,16 @@ if [ "$PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" = "false" ]; then
|
||||
fi
|
||||
|
||||
if [ "$BUILD_SUPERSET_FRONTEND_IN_DOCKER" = "true" ]; then
|
||||
echo "Building Superset frontend in dev mode inside docker container"
|
||||
cd /app/superset-frontend
|
||||
npm install -f --no-optional --global webpack webpack-cli
|
||||
npm install -f --no-optional
|
||||
|
||||
echo "Running `npm install`"
|
||||
npm install
|
||||
|
||||
echo "Running frontend"
|
||||
npm run dev
|
||||
|
||||
else
|
||||
echo "Skipping frontend build steps - YOU RUN IT MANUALLY ON THE HOST!"
|
||||
echo "Skipping frontend build steps - YOU NEED TO RUN IT MANUALLY ON THE HOST!"
|
||||
echo "https://superset.apache.org/docs/contributing/development/#webpack-dev-server"
|
||||
fi
|
||||
|
||||
@@ -74,7 +74,12 @@ DATA_CACHE_CONFIG = CACHE_CONFIG
|
||||
|
||||
class CeleryConfig:
|
||||
broker_url = f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_CELERY_DB}"
|
||||
imports = ("superset.sql_lab",)
|
||||
imports = (
|
||||
"superset.sql_lab",
|
||||
"superset.tasks.scheduler",
|
||||
"superset.tasks.thumbnails",
|
||||
"superset.tasks.cache",
|
||||
)
|
||||
result_backend = f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_RESULTS_DB}"
|
||||
worker_prefetch_multiplier = 1
|
||||
task_acks_late = False
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
"Guyana",
|
||||
"Haiti",
|
||||
"Honduras",
|
||||
"Hungary",
|
||||
"Iceland",
|
||||
"India",
|
||||
"Indonesia",
|
||||
|
||||
@@ -86,7 +86,7 @@ text strings from Superset's UI. You can jump into the existing
|
||||
language dictionaries at
|
||||
`superset/translations/<language_code>/LC_MESSAGES/messages.po`, or
|
||||
even create a dictionary for a new language altogether.
|
||||
See [Translating](howtos#contribute-translations) for more details.
|
||||
See [Translating](howtos#contributing-translations) for more details.
|
||||
|
||||
### Ask Questions
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ functioning across environments.
|
||||
#### OS Dependencies
|
||||
|
||||
Make sure your machine meets the [OS dependencies](https://superset.apache.org/docs/installation/pypi#os-dependencies) before following these steps.
|
||||
You also need to install MySQL or [MariaDB](https://mariadb.com/downloads).
|
||||
You also need to install MySQL.
|
||||
|
||||
Ensure that you are using Python version 3.9, 3.10 or 3.11, then proceed with:
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ A philosophy we would like to strongly encourage is
|
||||
|
||||
The purpose is to separate problem from possible solutions.
|
||||
|
||||
**Bug fixes:** If you’re only fixing a small bug, it’s fine to submit a pull request right away but we highly recommend to file an issue detailing what you’re fixing. This is helpful in case we don’t accept that specific fix but want to keep track of the issue. Please keep in mind that the project maintainers reserve the rights to accept or reject incoming PRs, so it is better to separate the issue and the code to fix it from each other. In some cases, project maintainers may request you to create a separate issue from PR before proceeding.
|
||||
**Bug fixes:** If you’re only fixing a small bug, it’s fine to submit a pull request right away but we highly recommend filing an issue detailing what you’re fixing. This is helpful in case we don’t accept that specific fix but want to keep track of the issue. Please keep in mind that the project maintainers reserve the rights to accept or reject incoming PRs, so it is better to separate the issue and the code to fix it from each other. In some cases, project maintainers may request you to create a separate issue from PR before proceeding.
|
||||
|
||||
**Refactor:** For small refactors, it can be a standalone PR itself detailing what you are refactoring and why. If there are concerns, project maintainers may request you to create a `#SIP` for the PR before proceeding.
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ You can also certify metrics if you'd like for your team in this view.
|
||||
|
||||
2. Virtual calculated columns: you can write SQL queries that
|
||||
customize the appearance and behavior
|
||||
of a specific column (e.g. `CAST(recovery_rate) as float`).
|
||||
of a specific column (e.g. `CAST(recovery_rate as float)`).
|
||||
Aggregate functions aren't allowed in calculated columns.
|
||||
|
||||
<img src={useBaseUrl("/img/tutorial/tutorial_calculated_column.png" )} />
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@algolia/client-search": "^4.24.0",
|
||||
"@ant-design/icons": "^5.3.7",
|
||||
"@docsearch/react": "^3.6.0",
|
||||
"@ant-design/icons": "^5.4.0",
|
||||
"@docsearch/react": "^3.6.1",
|
||||
"@docusaurus/core": "^3.4.0",
|
||||
"@docusaurus/plugin-client-redirects": "^3.4.0",
|
||||
"@docusaurus/preset-classic": "^3.4.0",
|
||||
@@ -49,8 +49,9 @@
|
||||
"@docusaurus/module-type-aliases": "^3.4.0",
|
||||
"@docusaurus/tsconfig": "^3.4.0",
|
||||
"@types/react": "^18.3.3",
|
||||
"typescript": "^5.5.2",
|
||||
"webpack": "^5.92.1"
|
||||
"typescript": "^5.5.4",
|
||||
"webpack": "^5.93.0"
|
||||
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
||||
BIN
docs/static/img/databases/timescale.png
vendored
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 11 KiB |
@@ -235,14 +235,14 @@
|
||||
lodash "^4.17.15"
|
||||
rc-util "^5.9.4"
|
||||
|
||||
"@ant-design/icons@^5.3.7":
|
||||
version "5.3.7"
|
||||
resolved "https://registry.yarnpkg.com/@ant-design/icons/-/icons-5.3.7.tgz#d9f3654bf7934ee5faba43f91b5a187f5309ec68"
|
||||
integrity sha512-bCPXTAg66f5bdccM4TT21SQBDO1Ek2gho9h3nO9DAKXJP4sq+5VBjrQMSxMVXSB3HyEz+cUbHQ5+6ogxCOpaew==
|
||||
"@ant-design/icons@^5.4.0":
|
||||
version "5.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@ant-design/icons/-/icons-5.4.0.tgz#4bd8f335c68207cc06fe9943d164a81cdfcfbeac"
|
||||
integrity sha512-QZbWC5xQYexCI5q4/fehSEkchJr5UGtvAJweT743qKUQQGs9IH2DehNLP49DJ3Ii9m9CijD2HN6fNy3WKhIFdA==
|
||||
dependencies:
|
||||
"@ant-design/colors" "^7.0.0"
|
||||
"@ant-design/icons-svg" "^4.4.0"
|
||||
"@babel/runtime" "^7.11.2"
|
||||
"@babel/runtime" "^7.24.8"
|
||||
classnames "^2.2.6"
|
||||
rc-util "^5.31.1"
|
||||
|
||||
@@ -1264,10 +1264,10 @@
|
||||
core-js-pure "^3.30.2"
|
||||
regenerator-runtime "^0.14.0"
|
||||
|
||||
"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.3", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.7", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.22.6", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4":
|
||||
version "7.24.5"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.5.tgz#230946857c053a36ccc66e1dd03b17dd0c4ed02c"
|
||||
integrity sha512-Nms86NXrsaeU9vbBJKni6gXiEXZ4CVpYVzEjDH9Sb8vmZ3UljyA1GSOJl/6LGPO8EHLuSF9H+IxNXHPX8QHJ4g==
|
||||
"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.3", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.7", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.22.6", "@babel/runtime@^7.24.8", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4":
|
||||
version "7.25.0"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.25.0.tgz#3af9a91c1b739c569d5d80cc917280919c544ecb"
|
||||
integrity sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==
|
||||
dependencies:
|
||||
regenerator-runtime "^0.14.0"
|
||||
|
||||
@@ -1325,19 +1325,19 @@
|
||||
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
|
||||
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==
|
||||
|
||||
"@docsearch/css@3.6.0":
|
||||
version "3.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.6.0.tgz#0e9f56f704b3a34d044d15fd9962ebc1536ba4fb"
|
||||
integrity sha512-+sbxb71sWre+PwDK7X2T8+bhS6clcVMLwBPznX45Qu6opJcgRjAp7gYSDzVFp187J+feSj5dNBN1mJoi6ckkUQ==
|
||||
"@docsearch/css@3.6.1":
|
||||
version "3.6.1"
|
||||
resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.6.1.tgz#f0a728ecb486c81f2d282650fc1820c914913408"
|
||||
integrity sha512-VtVb5DS+0hRIprU2CO6ZQjK2Zg4QU5HrDM1+ix6rT0umsYvFvatMAnf97NHZlVWDaaLlx7GRfR/7FikANiM2Fg==
|
||||
|
||||
"@docsearch/react@^3.5.2", "@docsearch/react@^3.6.0":
|
||||
version "3.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.6.0.tgz#b4f25228ecb7fc473741aefac592121e86dd2958"
|
||||
integrity sha512-HUFut4ztcVNmqy9gp/wxNbC7pTOHhgVVkHVGCACTuLhUKUhKAF9KYHJtMiLUJxEqiFLQiuri1fWF8zqwM/cu1w==
|
||||
"@docsearch/react@^3.5.2", "@docsearch/react@^3.6.1":
|
||||
version "3.6.1"
|
||||
resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.6.1.tgz#0f826df08693293806d64277d6d9c38636211b97"
|
||||
integrity sha512-qXZkEPvybVhSXj0K7U3bXc233tk5e8PfhoZ6MhPOiik/qUQxYC+Dn9DnoS7CxHQQhHfCvTiN0eY9M12oRghEXw==
|
||||
dependencies:
|
||||
"@algolia/autocomplete-core" "1.9.3"
|
||||
"@algolia/autocomplete-preset-algolia" "1.9.3"
|
||||
"@docsearch/css" "3.6.0"
|
||||
"@docsearch/css" "3.6.1"
|
||||
algoliasearch "^4.19.1"
|
||||
|
||||
"@docusaurus/core@3.4.0", "@docusaurus/core@^3.4.0":
|
||||
@@ -9909,10 +9909,10 @@ types-ramda@^0.30.0:
|
||||
dependencies:
|
||||
ts-toolbelt "^9.6.0"
|
||||
|
||||
typescript@^5.5.2:
|
||||
version "5.5.2"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507"
|
||||
integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==
|
||||
typescript@^5.5.4:
|
||||
version "5.5.4"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
|
||||
integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
|
||||
|
||||
undici-types@~5.26.4:
|
||||
version "5.26.5"
|
||||
@@ -10261,10 +10261,10 @@ webpack-sources@^3.2.3:
|
||||
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde"
|
||||
integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==
|
||||
|
||||
webpack@^5.88.1, webpack@^5.92.1:
|
||||
version "5.92.1"
|
||||
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.92.1.tgz#eca5c1725b9e189cffbd86e8b6c3c7400efc5788"
|
||||
integrity sha512-JECQ7IwJb+7fgUFBlrJzbyu3GEuNBcdqr1LD7IbSzwkSmIevTm8PF+wej3Oxuz/JFBUZ6O1o43zsPkwm1C4TmA==
|
||||
webpack@^5.88.1, webpack@^5.93.0:
|
||||
version "5.93.0"
|
||||
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.93.0.tgz#2e89ec7035579bdfba9760d26c63ac5c3462a5e5"
|
||||
integrity sha512-Y0m5oEY1LRuwly578VqluorkXbvXKh7U3rLoQCEO04M97ScRr44afGVkI0FQFsXzysk5OgFAxjZAb9rsGQVihA==
|
||||
dependencies:
|
||||
"@types/eslint-scope" "^3.7.3"
|
||||
"@types/estree" "^1.0.5"
|
||||
|
||||
@@ -230,6 +230,7 @@ module = "tests.*"
|
||||
check_untyped_defs = false
|
||||
disallow_untyped_calls = false
|
||||
disallow_untyped_defs = false
|
||||
disable_error_code = "annotation-unchecked"
|
||||
|
||||
[tool.tox]
|
||||
legacy_tox_ini = """
|
||||
|
||||
@@ -53,6 +53,9 @@ function test_init() {
|
||||
echo Superset init
|
||||
echo --------------------
|
||||
superset init
|
||||
echo Load test users
|
||||
echo --------------------
|
||||
superset load-test-users
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd ../.. && pwd )"
|
||||
LICENSE_TMP=$(mktemp)
|
||||
@@ -47,6 +48,10 @@ pybabel extract \
|
||||
--copyright-holder=Superset \
|
||||
--project=Superset \
|
||||
-k _ -k __ -k t -k tn:1,2 -k tct .
|
||||
|
||||
# Normalize .pot file
|
||||
msgcat --sort-by-msgid --no-wrap --no-location superset/translations/messages.pot -o superset/translations/messages.pot
|
||||
|
||||
cat $LICENSE_TMP superset/translations/messages.pot > messages.pot.tmp \
|
||||
&& mv messages.pot.tmp superset/translations/messages.pot
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
import { withJsx } from '@mihkeleidast/storybook-addon-source';
|
||||
import { supersetTheme, ThemeProvider } from '@superset-ui/core';
|
||||
import { AntdThemeProvider } from '../src/components/AntdThemeProvider';
|
||||
import { combineReducers, createStore, applyMiddleware, compose } from 'redux';
|
||||
import thunk from 'redux-thunk';
|
||||
import { Provider } from 'react-redux';
|
||||
@@ -35,10 +36,10 @@ const store = createStore(
|
||||
|
||||
const themeDecorator = Story => (
|
||||
<ThemeProvider theme={supersetTheme}>
|
||||
<>
|
||||
<AntdThemeProvider>
|
||||
<GlobalStyles />
|
||||
<Story />
|
||||
</>
|
||||
</AntdThemeProvider>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ module.exports = {
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
|
||||
snapshotSerializers: ['@emotion/jest/enzyme-serializer'],
|
||||
transformIgnorePatterns: [
|
||||
'node_modules/(?!d3-(interpolate|color)|remark-gfm|markdown-table|micromark-*.|decode-named-character-reference|character-entities|mdast-util-*.|unist-util-*.|ccount|escape-string-regexp|nanoid)',
|
||||
'node_modules/(?!d3-(interpolate|color)|remark-gfm|markdown-table|micromark-*.|decode-named-character-reference|character-entities|mdast-util-*.|unist-util-*.|ccount|escape-string-regexp|nanoid|@rjsf/*.|sinon|echarts|zrender)',
|
||||
],
|
||||
globals: {
|
||||
__DEV__: true,
|
||||
|
||||
48297
superset-frontend/package-lock.json
generated
@@ -38,11 +38,12 @@
|
||||
],
|
||||
"scripts": {
|
||||
"_prettier": "prettier './({src,spec,cypress-base,plugins,packages,.storybook}/**/*{.js,.jsx,.ts,.tsx,.css,.less,.scss,.sass}|package.json)'",
|
||||
"build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production BABEL_ENV=\"${BABEL_ENV:=production}\" webpack --mode=production --color",
|
||||
"build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production BABEL_ENV=\"${BABEL_ENV:=production}\" webpack --color --mode production",
|
||||
"build-dev": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=development webpack --mode=development --color",
|
||||
"build-instrumented": "cross-env NODE_ENV=production BABEL_ENV=instrumented webpack --mode=production --color",
|
||||
"build-storybook": "storybook build",
|
||||
"build-translation": "scripts/po2json.sh",
|
||||
"bundle-stats": "cross-env BUNDLE_ANALYZER=true npm run build && npx open-cli ../superset/static/stats/statistics.html",
|
||||
"core:cover": "cross-env NODE_ENV=test jest --coverage --coverageThreshold='{\"global\":{\"statements\":100,\"branches\":100,\"functions\":100,\"lines\":100}}' --collectCoverageFrom='[\"packages/**/src/**/*.{js,ts}\", \"!packages/superset-ui-demo/**/*\"]' packages",
|
||||
"cover": "cross-env NODE_ENV=test jest --coverage",
|
||||
"dev": "webpack --mode=development --color --watch",
|
||||
@@ -84,8 +85,11 @@
|
||||
"@emotion/react": "^11.4.1",
|
||||
"@emotion/styled": "^11.3.0",
|
||||
"@fontsource/fira-code": "^5.0.18",
|
||||
"@fontsource/inter": "^5.0.18",
|
||||
"@fontsource/inter": "^5.0.20",
|
||||
"@reduxjs/toolkit": "^1.9.3",
|
||||
"@rjsf/core": "^5.19.3",
|
||||
"@rjsf/utils": "^5.19.3",
|
||||
"@rjsf/validator-ajv8": "^5.19.3",
|
||||
"@scarf/scarf": "^1.3.0",
|
||||
"@superset-ui/chart-controls": "file:./packages/superset-ui-chart-controls",
|
||||
"@superset-ui/core": "file:./packages/superset-ui-core",
|
||||
@@ -120,14 +124,14 @@
|
||||
"@visx/scale": "^3.5.0",
|
||||
"@visx/tooltip": "^3.0.0",
|
||||
"@visx/xychart": "^3.5.1",
|
||||
"abortcontroller-polyfill": "^1.1.9",
|
||||
"ace-builds": "^1.4.14",
|
||||
"abortcontroller-polyfill": "^1.7.5",
|
||||
"ace-builds": "^1.35.4",
|
||||
"antd": "4.10.3",
|
||||
"antd-v5": "npm:antd@^5.18.0",
|
||||
"babel-plugin-typescript-to-proptypes": "^2.0.0",
|
||||
"bootstrap": "^3.4.1",
|
||||
"brace": "^0.11.1",
|
||||
"chrono-node": "^2.7.5",
|
||||
"chrono-node": "^2.7.6",
|
||||
"classnames": "^2.2.5",
|
||||
"core-js": "^3.37.1",
|
||||
"d3-scale": "^2.1.2",
|
||||
@@ -141,7 +145,7 @@
|
||||
"html-webpack-plugin": "^5.3.2",
|
||||
"immer": "^9.0.6",
|
||||
"interweave": "^13.1.0",
|
||||
"jquery": "^3.5.1",
|
||||
"jquery": "^3.7.1",
|
||||
"js-levenshtein": "^1.1.6",
|
||||
"js-yaml-loader": "^1.2.2",
|
||||
"json-bigint": "^1.0.0",
|
||||
@@ -150,13 +154,14 @@
|
||||
"mapbox-gl": "^2.10.0",
|
||||
"markdown-to-jsx": "^7.4.7",
|
||||
"match-sorter": "^6.3.4",
|
||||
"memoize-one": "^5.1.1",
|
||||
"memoize-one": "^5.2.1",
|
||||
"moment": "^2.30.1",
|
||||
"moment-timezone": "^0.5.44",
|
||||
"mousetrap": "^1.6.5",
|
||||
"mustache": "^2.2.1",
|
||||
"mustache": "^4.2.0",
|
||||
"nanoid": "^5.0.7",
|
||||
"polished": "^4.3.1",
|
||||
"prop-types": "^15.7.2",
|
||||
"prop-types": "^15.8.1",
|
||||
"query-string": "^6.13.7",
|
||||
"rc-trigger": "^5.3.4",
|
||||
"re-resizable": "^6.9.11",
|
||||
@@ -164,7 +169,7 @@
|
||||
"react-ace": "^10.1.0",
|
||||
"react-checkbox-tree": "^1.8.0",
|
||||
"react-color": "^2.13.8",
|
||||
"react-diff-viewer-continued": "^3.2.5",
|
||||
"react-diff-viewer-continued": "^3.4.0",
|
||||
"react-dnd": "^11.1.3",
|
||||
"react-dnd-html5-backend": "^11.1.3",
|
||||
"react-dom": "^16.13.1",
|
||||
@@ -173,7 +178,6 @@
|
||||
"react-intersection-observer": "^9.10.2",
|
||||
"react-js-cron": "^2.1.2",
|
||||
"react-json-tree": "^0.17.0",
|
||||
"react-jsonschema-form": "^1.8.1",
|
||||
"react-lines-ellipsis": "^0.15.4",
|
||||
"react-loadable": "^5.5.0",
|
||||
"react-redux": "^7.2.9",
|
||||
@@ -194,10 +198,9 @@
|
||||
"redux-thunk": "^2.1.0",
|
||||
"redux-undo": "^1.0.0-beta9-9-7",
|
||||
"regenerator-runtime": "^0.14.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"rimraf": "^6.0.1",
|
||||
"rison": "^0.1.1",
|
||||
"scroll-into-view-if-needed": "^3.1.0",
|
||||
"nanoid": "^5.0.7",
|
||||
"tinycolor2": "^1.4.2",
|
||||
"urijs": "^1.19.8",
|
||||
"use-event-callback": "^0.1.0",
|
||||
@@ -206,7 +209,7 @@
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@applitools/eyes-storybook": "^3.49.0",
|
||||
"@applitools/eyes-storybook": "^3.50.7",
|
||||
"@babel/cli": "^7.22.6",
|
||||
"@babel/compat-data": "^7.22.6",
|
||||
"@babel/core": "^7.23.9",
|
||||
@@ -221,24 +224,26 @@
|
||||
"@babel/preset-env": "^7.22.7",
|
||||
"@babel/preset-react": "^7.22.5",
|
||||
"@babel/register": "^7.23.7",
|
||||
"@babel/types": "^7.24.9",
|
||||
"@cypress/react": "^5.10.0",
|
||||
"@emotion/babel-plugin": "^11.11.0",
|
||||
"@emotion/jest": "^11.11.0",
|
||||
"@hot-loader/react-dom": "^16.14.0",
|
||||
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
||||
"@storybook/addon-actions": "^8.1.11",
|
||||
"@storybook/addon-controls": "^8.1.11",
|
||||
"@storybook/addon-essentials": "^8.1.11",
|
||||
"@storybook/addon-links": "^8.1.11",
|
||||
"@storybook/addon-mdx-gfm": "^8.1.11",
|
||||
"@storybook/preview-api": "^8.1.11",
|
||||
"@storybook/components": "^8.1.11",
|
||||
"@storybook/react": "^8.1.11",
|
||||
"@storybook/react-webpack5": "^8.1.11",
|
||||
"@svgr/webpack": "^8.0.1",
|
||||
"@testing-library/dom": "^7.29.4",
|
||||
"@mihkeleidast/storybook-addon-source": "^1.0.1",
|
||||
"@storybook/addon-actions": "8.1.11",
|
||||
"@storybook/addon-controls": "8.1.11",
|
||||
"@storybook/addon-essentials": "8.1.11",
|
||||
"@storybook/addon-links": "8.1.11",
|
||||
"@storybook/addon-mdx-gfm": "8.1.11",
|
||||
"@storybook/components": "8.1.11",
|
||||
"@storybook/preview-api": "8.1.11",
|
||||
"@storybook/react": "8.1.11",
|
||||
"@storybook/react-webpack5": "8.1.11",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@testing-library/dom": "^8.20.1",
|
||||
"@testing-library/jest-dom": "^5.11.6",
|
||||
"@testing-library/react": "^11.2.0",
|
||||
"@testing-library/react": "^12.1.5",
|
||||
"@testing-library/react-hooks": "^5.1.3",
|
||||
"@testing-library/user-event": "^12.7.0",
|
||||
"@types/classnames": "^2.2.10",
|
||||
@@ -255,11 +260,10 @@
|
||||
"@types/react-dom": "^16.9.8",
|
||||
"@types/react-gravatar": "^2.6.14",
|
||||
"@types/react-json-tree": "^0.6.11",
|
||||
"@types/react-jsonschema-form": "^1.7.4",
|
||||
"@types/react-loadable": "^5.5.6",
|
||||
"@types/react-redux": "^7.1.10",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"@types/react-syntax-highlighter": "^15.5.11",
|
||||
"@types/react-syntax-highlighter": "^15.5.13",
|
||||
"@types/react-table": "^7.7.19",
|
||||
"@types/react-transition-group": "^4.4.10",
|
||||
"@types/react-ultimate-pagination": "^1.2.0",
|
||||
@@ -268,13 +272,12 @@
|
||||
"@types/redux-localstorage": "^1.0.8",
|
||||
"@types/redux-mock-store": "^1.0.6",
|
||||
"@types/rison": "0.0.9",
|
||||
"@types/shortid": "^0.0.29",
|
||||
"@types/sinon": "^9.0.5",
|
||||
"@types/sinon": "^17.0.3",
|
||||
"@types/tinycolor2": "^1.4.3",
|
||||
"@types/yargs": "12 - 18",
|
||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||
"@typescript-eslint/parser": "^5.62.0",
|
||||
"babel-jest": "^26.6.3",
|
||||
"babel-jest": "^29.7.0",
|
||||
"babel-loader": "^9.1.3",
|
||||
"babel-plugin-dynamic-import-node": "^2.3.3",
|
||||
"babel-plugin-jsx-remove-data-test-id": "^3.0.0",
|
||||
@@ -292,7 +295,7 @@
|
||||
"eslint-config-prettier": "^7.2.0",
|
||||
"eslint-import-resolver-typescript": "^3.6.1",
|
||||
"eslint-plugin-cypress": "^2.11.2",
|
||||
"eslint-plugin-file-progress": "^1.2.0",
|
||||
"eslint-plugin-file-progress": "^1.4.0",
|
||||
"eslint-plugin-import": "^2.24.2",
|
||||
"eslint-plugin-jest": "^27.8.0",
|
||||
"eslint-plugin-jest-dom": "^3.6.5",
|
||||
@@ -310,7 +313,7 @@
|
||||
"exports-loader": "^5.0.0",
|
||||
"fetch-mock": "^7.7.3",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.3",
|
||||
"history": "^4.10.1",
|
||||
"history": "^5.3.0",
|
||||
"ignore-styles": "^5.0.1",
|
||||
"imports-loader": "^5.0.0",
|
||||
"jest": "^29.7.0",
|
||||
@@ -319,38 +322,39 @@
|
||||
"jest-enzyme": "^7.1.2",
|
||||
"jest-html-reporter": "^3.10.2",
|
||||
"jest-websocket-mock": "^2.5.0",
|
||||
"jsdom": "^24.0.0",
|
||||
"lerna": "^8.1.5",
|
||||
"jsdom": "^24.1.1",
|
||||
"lerna": "^8.1.7",
|
||||
"less": "^4.2.0",
|
||||
"less-loader": "^10.2.0",
|
||||
"mini-css-extract-plugin": "^2.7.6",
|
||||
"less-loader": "^12.2.0",
|
||||
"mini-css-extract-plugin": "^2.9.0",
|
||||
"mock-socket": "^9.3.1",
|
||||
"moment-locales-webpack-plugin": "^1.2.0",
|
||||
"node-fetch": "^2.6.7",
|
||||
"open-cli": "^8.0.0",
|
||||
"po2json": "^0.4.5",
|
||||
"prettier": "3.1.0",
|
||||
"prettier": "3.3.3",
|
||||
"prettier-plugin-packagejson": "^2.4.10",
|
||||
"process": "^0.11.10",
|
||||
"react-resizable": "^3.0.5",
|
||||
"react-test-renderer": "^16.14.0",
|
||||
"redux-mock-store": "^1.5.4",
|
||||
"sinon": "^9.0.2",
|
||||
"sinon": "^18.0.0",
|
||||
"source-map": "^0.7.4",
|
||||
"source-map-support": "^0.5.21",
|
||||
"speed-measure-webpack-plugin": "^1.5.0",
|
||||
"storybook": "^8.1.11",
|
||||
"@mihkeleidast/storybook-addon-source": "^1.0.1",
|
||||
"style-loader": "^3.3.4",
|
||||
"thread-loader": "^3.0.4",
|
||||
"transform-loader": "^0.2.4",
|
||||
"ts-loader": "^9.4.4",
|
||||
"storybook": "8.1.11",
|
||||
"style-loader": "^4.0.0",
|
||||
"thread-loader": "^4.0.2",
|
||||
"ts-loader": "^9.5.1",
|
||||
"typescript": "^4.8.4",
|
||||
"vm-browserify": "^1.1.2",
|
||||
"webpack": "^5.88.1",
|
||||
"webpack": "^5.93.0",
|
||||
"webpack-bundle-analyzer": "^4.10.1",
|
||||
"webpack-cli": "^4.10.0",
|
||||
"webpack-dev-server": "^4.15.1",
|
||||
"webpack-manifest-plugin": "^4.1.1",
|
||||
"webpack-sources": "^3.2.3",
|
||||
"webpack-visualizer-plugin2": "^1.1.0",
|
||||
"xdm": "^3.4.0"
|
||||
},
|
||||
"engines": {
|
||||
@@ -361,7 +365,10 @@
|
||||
"d3-color": "^3.1.0",
|
||||
"yosay": {
|
||||
"ansi-regex": "^4.1.1"
|
||||
}
|
||||
},
|
||||
"puppeteer": "^22.4.1",
|
||||
"@types/react": "^16.9.53",
|
||||
"underscore": "^1.13.7"
|
||||
},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"scarfSettings": {
|
||||
|
||||
@@ -34,9 +34,9 @@
|
||||
"@ant-design/icons": "^5.0.1",
|
||||
"@emotion/react": "^11.4.1",
|
||||
"@superset-ui/core": "*",
|
||||
"@testing-library/dom": "^7.29.4",
|
||||
"@testing-library/dom": "^8.20.1",
|
||||
"@testing-library/jest-dom": "^5.11.6",
|
||||
"@testing-library/react": "^11.2.0",
|
||||
"@testing-library/react": "^12.1.5",
|
||||
"@testing-library/react-hooks": "^5.0.3",
|
||||
"@testing-library/user-event": "^12.7.0",
|
||||
"ace-builds": "^1.4.14",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
@@ -16,3 +16,5 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
declare module 'ace-builds/src-min-noconflict/mode-sql';
|
||||
@@ -16,12 +16,12 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { useEffect, useState } from 'react';
|
||||
import { Popover } from 'antd';
|
||||
import type ReactAce from 'react-ace';
|
||||
import type { PopoverProps } from 'antd/lib/popover';
|
||||
import AceEditor from 'react-ace';
|
||||
import { CalculatorOutlined } from '@ant-design/icons';
|
||||
import { css, styled, useTheme, t } from '@superset-ui/core';
|
||||
import 'ace-builds/src-noconflict/mode-sql';
|
||||
|
||||
const StyledCalculatorIcon = styled(CalculatorOutlined)`
|
||||
${({ theme }) => css`
|
||||
@@ -36,6 +36,19 @@ const StyledCalculatorIcon = styled(CalculatorOutlined)`
|
||||
|
||||
export const SQLPopover = (props: PopoverProps & { sqlExpression: string }) => {
|
||||
const theme = useTheme();
|
||||
const [AceEditor, setAceEditor] = useState<typeof ReactAce | null>(null);
|
||||
useEffect(() => {
|
||||
Promise.all([
|
||||
import('react-ace'),
|
||||
import('ace-builds/src-min-noconflict/mode-sql'),
|
||||
]).then(([reactAceModule]) => {
|
||||
setAceEditor(() => reactAceModule.default);
|
||||
});
|
||||
}, []);
|
||||
|
||||
if (!AceEditor) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
<Popover
|
||||
content={
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"@types/enzyme": "^3.10.18",
|
||||
"@types/fetch-mock": "^7.3.8",
|
||||
"@types/json-bigint": "^1.0.4",
|
||||
"@types/lodash": "^4.17.0",
|
||||
"@types/lodash": "^4.17.7",
|
||||
"@types/math-expression-evaluator": "^1.3.3",
|
||||
"@types/node": "^20.12.7",
|
||||
"@types/prop-types": "^15.7.2",
|
||||
@@ -74,9 +74,9 @@
|
||||
"@emotion/cache": "^11.4.0",
|
||||
"@emotion/react": "^11.4.1",
|
||||
"@emotion/styled": "^11.3.0",
|
||||
"@testing-library/dom": "^7.29.4",
|
||||
"@testing-library/dom": "^8.20.1",
|
||||
"@testing-library/jest-dom": "^5.11.6",
|
||||
"@testing-library/react": "^11.2.0",
|
||||
"@testing-library/react": "^12.1.5",
|
||||
"@testing-library/user-event": "^12.7.0",
|
||||
"@types/react": "*",
|
||||
"@types/react-loadable": "*",
|
||||
|
||||
@@ -16,10 +16,8 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { useMemo } from 'react';
|
||||
import ReactMarkdown from 'react-markdown';
|
||||
import { useEffect, useMemo, useState } from 'react';
|
||||
import rehypeSanitize, { defaultSchema } from 'rehype-sanitize';
|
||||
import rehypeRaw from 'rehype-raw';
|
||||
import remarkGfm from 'remark-gfm';
|
||||
import { mergeWith, isArray } from 'lodash';
|
||||
import { FeatureFlag, isFeatureEnabled } from '../utils';
|
||||
@@ -45,11 +43,21 @@ function SafeMarkdown({
|
||||
htmlSchemaOverrides = {},
|
||||
}: SafeMarkdownProps) {
|
||||
const escapeHtml = isFeatureEnabled(FeatureFlag.EscapeMarkdownHtml);
|
||||
const [rehypeRawPlugin, setRehypeRawPlugin] = useState<any>(null);
|
||||
const [ReactMarkdown, setReactMarkdown] = useState<any>(null);
|
||||
useEffect(() => {
|
||||
Promise.all([import('rehype-raw'), import('react-markdown')]).then(
|
||||
([rehypeRaw, ReactMarkdown]) => {
|
||||
setRehypeRawPlugin(() => rehypeRaw.default);
|
||||
setReactMarkdown(() => ReactMarkdown.default);
|
||||
},
|
||||
);
|
||||
}, []);
|
||||
|
||||
const rehypePlugins = useMemo(() => {
|
||||
const rehypePlugins: any = [];
|
||||
if (!escapeHtml) {
|
||||
rehypePlugins.push(rehypeRaw);
|
||||
if (!escapeHtml && rehypeRawPlugin) {
|
||||
rehypePlugins.push(rehypeRawPlugin);
|
||||
if (htmlSanitization) {
|
||||
const schema = getOverrideHtmlSchema(
|
||||
defaultSchema,
|
||||
@@ -59,7 +67,11 @@ function SafeMarkdown({
|
||||
}
|
||||
}
|
||||
return rehypePlugins;
|
||||
}, [escapeHtml, htmlSanitization, htmlSchemaOverrides]);
|
||||
}, [escapeHtml, htmlSanitization, htmlSchemaOverrides, rehypeRawPlugin]);
|
||||
|
||||
if (!ReactMarkdown || !rehypeRawPlugin) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// React Markdown escapes HTML by default
|
||||
return (
|
||||
|
||||
@@ -39,14 +39,14 @@ export const ISO8601_AND_CONSTANT = RegExp(
|
||||
);
|
||||
const DATETIME_CONSTANT = ['now', 'today'];
|
||||
const SEVEN_DAYS_AGO = new Date();
|
||||
SEVEN_DAYS_AGO.setUTCHours(0, 0, 0, 0);
|
||||
SEVEN_DAYS_AGO.setHours(0, 0, 0, 0);
|
||||
|
||||
const MIDNIGHT = new Date();
|
||||
MIDNIGHT.setUTCHours(0, 0, 0, 0);
|
||||
MIDNIGHT.setHours(0, 0, 0, 0);
|
||||
|
||||
const defaultCustomRange: CustomRangeType = {
|
||||
sinceDatetime: SEVEN_DAYS_AGO.setUTCDate(
|
||||
SEVEN_DAYS_AGO.getUTCDate() - 7,
|
||||
sinceDatetime: SEVEN_DAYS_AGO.setDate(
|
||||
SEVEN_DAYS_AGO.getDate() - 7,
|
||||
).toString(),
|
||||
sinceMode: 'relative',
|
||||
sinceGrain: 'day',
|
||||
|
||||
@@ -151,14 +151,14 @@ describe('customTimeRangeDecode', () => {
|
||||
it('7) default', () => {
|
||||
const SEVEN_DAYS_AGO = new Date();
|
||||
const MIDNIGHT = new Date();
|
||||
SEVEN_DAYS_AGO.setUTCHours(0, 0, 0, 0);
|
||||
MIDNIGHT.setUTCHours(0, 0, 0, 0);
|
||||
SEVEN_DAYS_AGO.setHours(0, 0, 0, 0);
|
||||
MIDNIGHT.setHours(0, 0, 0, 0);
|
||||
expect(
|
||||
customTimeRangeDecode('now : DATEADD(DATETIME("TODAY"), -7, day)'),
|
||||
).toEqual({
|
||||
customRange: {
|
||||
sinceDatetime: SEVEN_DAYS_AGO.setUTCDate(
|
||||
SEVEN_DAYS_AGO.getUTCDate() - 7,
|
||||
sinceDatetime: SEVEN_DAYS_AGO.setDate(
|
||||
SEVEN_DAYS_AGO.getDate() - 7,
|
||||
).toString(),
|
||||
sinceMode: 'relative',
|
||||
sinceGrain: 'day',
|
||||
@@ -176,18 +176,18 @@ describe('customTimeRangeDecode', () => {
|
||||
|
||||
it('8) relative : relative return default', () => {
|
||||
const SEVEN_DAYS_AGO = new Date();
|
||||
SEVEN_DAYS_AGO.setUTCHours(0, 0, 0, 0);
|
||||
SEVEN_DAYS_AGO.setHours(0, 0, 0, 0);
|
||||
|
||||
const MIDNIGHT = new Date();
|
||||
MIDNIGHT.setUTCHours(0, 0, 0, 0);
|
||||
MIDNIGHT.setHours(0, 0, 0, 0);
|
||||
expect(
|
||||
customTimeRangeDecode(
|
||||
'DATEADD(DATETIME("2021-01-26T00:00:00"), -55, day) : DATEADD(DATETIME("2021-01-27T00:00:00"), 7, day)',
|
||||
),
|
||||
).toEqual({
|
||||
customRange: {
|
||||
sinceDatetime: SEVEN_DAYS_AGO.setUTCDate(
|
||||
SEVEN_DAYS_AGO.getUTCDate() - 7,
|
||||
sinceDatetime: SEVEN_DAYS_AGO.setDate(
|
||||
SEVEN_DAYS_AGO.getDate() - 7,
|
||||
).toString(),
|
||||
sinceMode: 'relative',
|
||||
sinceGrain: 'day',
|
||||
|
||||
@@ -36,18 +36,17 @@
|
||||
"@emotion/react": "^11.4.1",
|
||||
"@emotion/styled": "^11.3.0",
|
||||
"@react-icons/all-files": "^4.1.0",
|
||||
"@storybook/addon-actions": "^8.1.11",
|
||||
"@storybook/addon-controls": "^8.1.11",
|
||||
"@storybook/addon-links": "^8.1.11",
|
||||
"@storybook/react": "^8.1.11",
|
||||
"@storybook/types": "^8.1.11",
|
||||
"@storybook/addon-actions": "8.1.11",
|
||||
"@storybook/addon-controls": "8.1.11",
|
||||
"@storybook/addon-links": "8.1.11",
|
||||
"@storybook/react": "8.1.11",
|
||||
"@storybook/types": "8.1.11",
|
||||
"@types/react-loadable": "^5.5.3",
|
||||
"antd": "4.10.3",
|
||||
"bootstrap": "^3.4.1",
|
||||
"core-js": "3.37.1",
|
||||
"gh-pages": "^5.0.0",
|
||||
"jquery": "^3.7.1",
|
||||
"memoize-one": "^6.0.0",
|
||||
"memoize-one": "^5.2.1",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-loadable": "^5.5.0",
|
||||
@@ -59,10 +58,10 @@
|
||||
"@babel/preset-env": "^7.23.9",
|
||||
"@babel/preset-react": "^7.23.3",
|
||||
"@babel/preset-typescript": "^7.23.3",
|
||||
"@storybook/react-webpack5": "^8.1.11",
|
||||
"@storybook/react-webpack5": "8.1.11",
|
||||
"babel-loader": "^9.1.3",
|
||||
"fork-ts-checker-webpack-plugin": "^9.0.2",
|
||||
"ts-loader": "^7.0.4",
|
||||
"ts-loader": "^9.5.1",
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -17,26 +17,12 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core';
|
||||
import {
|
||||
WordCloudChartPlugin,
|
||||
LegacyWordCloudChartPlugin,
|
||||
WordCloudTransformProps,
|
||||
} from '@superset-ui/plugin-chart-word-cloud';
|
||||
import { SuperChart } from '@superset-ui/core';
|
||||
import { WordCloudChartPlugin } from '@superset-ui/plugin-chart-word-cloud';
|
||||
import { withResizableChartDemo } from '../../../shared/components/ResizableChartDemo';
|
||||
import data from './data';
|
||||
|
||||
new WordCloudChartPlugin().configure({ key: 'word-cloud2' }).register();
|
||||
new LegacyWordCloudChartPlugin()
|
||||
.configure({ key: 'legacy-word-cloud2' })
|
||||
.register();
|
||||
|
||||
// Enable the new WordCloud Props to show case its full features
|
||||
// if the control panel is updated to be able to pass formData in the new format.
|
||||
getChartTransformPropsRegistry().registerValue(
|
||||
'word-cloud2',
|
||||
WordCloudTransformProps,
|
||||
);
|
||||
|
||||
export default {
|
||||
title: 'Chart Plugins/plugin-chart-word-cloud',
|
||||
|
||||
@@ -94,6 +94,7 @@ import guinea from './countries/guinea.geojson';
|
||||
import guyana from './countries/guyana.geojson';
|
||||
import haiti from './countries/haiti.geojson';
|
||||
import honduras from './countries/honduras.geojson';
|
||||
import hungary from './countries/hungary.geojson';
|
||||
import iceland from './countries/iceland.geojson';
|
||||
import india from './countries/india.geojson';
|
||||
import indonesia from './countries/indonesia.geojson';
|
||||
@@ -293,6 +294,7 @@ export const countries = {
|
||||
guyana,
|
||||
haiti,
|
||||
honduras,
|
||||
hungary,
|
||||
iceland,
|
||||
india,
|
||||
indonesia,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "aland",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "AX-X11~", "NAME_1": "Lumparland" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 20.277598504000082, 60.142157294000071 ], [ 20.297618035000085, 60.121527411000045 ], [ 20.285166863000086, 60.103583075000074 ], [ 20.26889082100007, 60.086004950000074 ], [ 20.277598504000082, 60.066473700000074 ], [ 20.266286655000044, 60.060492255000042 ], [ 20.259043816000087, 60.062567450000074 ], [ 20.252289259000065, 60.068345445000034 ], [ 20.242849155000044, 60.073919989000046 ], [ 20.208994988000086, 60.083319403000075 ], [ 20.201914910000085, 60.087551174000055 ], [ 20.198252800000091, 60.104071356000077 ], [ 20.204925977000073, 60.120347398000035 ], [ 20.215342644000089, 60.135687567000048 ], [ 20.22242272200009, 60.149603583000044 ], [ 20.244639519000089, 60.119696356000077 ], [ 20.258067254000082, 60.107977606000077 ], [ 20.263926629000082, 60.118231512000079 ], [ 20.25326582100007, 60.138576565000051 ], [ 20.255707227000073, 60.145412502000056 ], [ 20.277598504000082, 60.142157294000071 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "algeria",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "DZ-01", "NAME_1": "Adrar" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -4.821225545999908, 24.99475453700002 ], [ -5.661524745999969, 25.508881108000097 ], [ -2.97425737068113, 27.203275255048936 ], [ -3.750644089553077, 28.566887112050551 ], [ -3.552620002111439, 28.582441717811037 ], [ -3.022678188047962, 28.331035874705833 ], [ -2.812923549781999, 28.294345608163269 ], [ -2.569682583184658, 28.38108450004961 ], [ -2.114154831880001, 28.675795193493343 ], [ -1.876029832310905, 28.779044705548699 ], [ -0.958359747704208, 28.92301524555711 ], [ -0.825654669627284, 29.008203843832291 ], [ -0.199232956935418, 29.745032253835404 ], [ 0.399128451916511, 30.708694363054406 ], [ 0.750166456816544, 31.029940904249315 ], [ 1.033043246648504, 31.201790880045053 ], [ 2.085382114093306, 31.658584703221436 ], [ 2.071739536250561, 30.859692898008802 ], [ 1.943426954790141, 30.094804185964392 ], [ 2.134112989822597, 28.491517034883259 ], [ 2.06553836360456, 28.073299669544099 ], [ 1.939396193379594, 26.808260606241959 ], [ 1.763592969639831, 26.60943553312336 ], [ 1.628872510857661, 26.583959052568218 ], [ 1.514202508139249, 26.461640937279412 ], [ 1.393951450399129, 26.425777493036833 ], [ 1.067769810228526, 26.41551972145794 ], [ 0.864371372440871, 26.318910630721007 ], [ 0.825407341875291, 26.268836167854829 ], [ 1.091230910078423, 25.957718207029586 ], [ 1.117120801783585, 25.692798977290977 ], [ 1.307186720091067, 25.541387031186503 ], [ 1.300055373256839, 22.270113837283759 ], [ 1.368991732882137, 22.177897244062535 ], [ 3.57319827587969, 20.969004625063405 ], [ 3.677636346340307, 20.878390001397406 ], [ 3.75148196831816, 20.778292752508492 ], [ 3.782229444633174, 20.549417833266375 ], [ 3.790290968000079, 19.060770275000024 ], [ 3.333057088000089, 18.975561218000067 ], [ 3.158597452000066, 19.081549581000061 ], [ 3.102683553000077, 19.153560690000049 ], [ 3.192910604000105, 19.325798238000047 ], [ 3.260813436000149, 19.388326722000031 ], [ 3.199421834000077, 19.553768819000069 ], [ 3.198801717000094, 19.82052256200005 ], [ 2.946000610000112, 19.941652120000057 ], [ 2.400400838000081, 20.056554667000071 ], [ 2.316478312000072, 20.180164693000066 ], [ 2.200826456000129, 20.273905742000053 ], [ 2.07122196500012, 20.213263448000063 ], [ 1.955260050000106, 20.254914653000085 ], [ 1.891387980000076, 20.23178944900009 ], [ 1.855007771000089, 20.294834697000042 ], [ 1.778113241000085, 20.304291484000103 ], [ 1.659154093000069, 20.39751576700003 ], [ 1.643961222000144, 20.522676087000022 ], [ 1.559728637000148, 20.597503561000067 ], [ 1.363978312000057, 20.65770660500003 ], [ 1.296695597000081, 20.733464254000111 ], [ 1.154585408000059, 20.73878692600006 ], [ 1.180113566000102, 20.995308736000041 ], [ 1.146523885000079, 21.101710511000064 ], [ -4.821225545999908, 24.99475453700002 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "american_samoa",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "AS-X05~", "NAME_1": "Western" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -170.692633467448871, -14.314819686188377 ], [ -170.721791144999912, -14.353448174999926 ], [ -170.74864661399991, -14.37468840899993 ], [ -170.755482550999915, -14.367120049999926 ], [ -170.796457485999923, -14.339939059999949 ], [ -170.822824673999918, -14.326755466999941 ], [ -170.831247524999924, -14.319431247999944 ], [ -170.788644985999923, -14.294528903999947 ], [ -170.772572394999912, -14.291436455999929 ], [ -170.737863735999923, -14.292087497999944 ], [ -170.721506314165026, -14.289239190935916 ], [ -170.714825348710832, -14.300836008974613 ], [ -170.713854815647181, -14.314423476362322 ], [ -170.701237881323124, -14.312482409335701 ], [ -170.692633467448871, -14.314819686188377 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "andorra",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "AD-05", "NAME_1": "Ordino" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 1.543088827000133, 42.649361674000019 ], [ 1.597349081000061, 42.621921489000059 ], [ 1.598739337150676, 42.606530154043355 ], [ 1.598739337150676, 42.597606276708291 ], [ 1.588328146626679, 42.594631650330371 ], [ 1.574942329724706, 42.59165702485177 ], [ 1.56453113920071, 42.584220459806374 ], [ 1.557838230749724, 42.574552925876787 ], [ 1.555607261865646, 42.562654422163803 ], [ 1.545939727036739, 42.563398078758325 ], [ 1.532553911034142, 42.564885391047937 ], [ 1.51544981205916, 42.567860017425858 ], [ 1.501320338562778, 42.570834642904401 ], [ 1.492396461227713, 42.577527551355388 ], [ 1.486447209371192, 42.590169711662838 ], [ 1.481241614109194, 42.595375306924836 ], [ 1.470830423585141, 42.596862620113825 ], [ 1.45967557646668, 42.596862620113825 ], [ 1.451414835826029, 42.602051901673917 ], [ 1.466814412000105, 42.641455180000051 ], [ 1.498440389000109, 42.640240784000028 ], [ 1.527792602000062, 42.648534852000083 ], [ 1.543088827000133, 42.649361674000019 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "angola",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "AO-CAB", "NAME_1": "Cabinda" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 12.782655683712846, -4.400070757859169 ], [ 12.869890991000091, -4.411977640999893 ], [ 12.921980835000056, -4.502308043999932 ], [ 13.027194051000038, -4.612172138999881 ], [ 13.073702840000067, -4.635323180999961 ], [ 13.0653312580001, -4.663951923999946 ], [ 12.802918335000101, -4.73981292699996 ], [ 12.774806356000056, -4.779500426999945 ], [ 12.766228068000117, -4.825182392999949 ], [ 12.696981648000104, -4.875618591999867 ], [ 12.678894897000106, -4.924297789999883 ], [ 12.606961304000066, -4.942229511999955 ], [ 12.587737671000127, -5.000313822999942 ], [ 12.550427287000105, -5.02418833399993 ], [ 12.444387248000083, -5.055090840999924 ], [ 12.44469730600008, -5.093538105999869 ], [ 12.524072306000051, -5.129091490999926 ], [ 12.530686889000037, -5.162681171999864 ], [ 12.508982788000139, -5.726264343999972 ], [ 12.344445028000024, -5.724610696999932 ], [ 12.258972209000092, -5.736702981999926 ], [ 12.210541212000066, -5.763441664999959 ], [ 12.16179446700005, -5.681247653999947 ], [ 12.147227410000085, -5.617933851999908 ], [ 12.170176629000082, -5.554620049999926 ], [ 12.22828209700009, -5.523695570999905 ], [ 12.229258660000085, -5.466892184999949 ], [ 12.12461191400007, -5.184828052999933 ], [ 12.02312259200005, -5.045993747999944 ], [ 12.023285352000073, -5.035251559999949 ], [ 12.067822632000059, -5.046252994999918 ], [ 12.080891585000074, -5.075509125999929 ], [ 12.100527406000083, -5.080022217999954 ], [ 12.127259263000042, -5.053366311999923 ], [ 12.13705413100007, -5.014996054999926 ], [ 12.112884833000066, -5.00200981699993 ], [ 12.097859004000043, -5.054042887999913 ], [ 12.079587688000061, -5.020231727999942 ], [ 12.009607691000042, -5.019630835999919 ], [ 12.130814657000087, -4.912928975999904 ], [ 12.192206258000056, -4.763480732999895 ], [ 12.213496948000056, -4.769165139999927 ], [ 12.23520104900004, -4.803995055999906 ], [ 12.321914103000097, -4.778156839999966 ], [ 12.374107299000087, -4.683175556999871 ], [ 12.387026408000111, -4.605454203999955 ], [ 12.429091024000115, -4.607521259999913 ], [ 12.623807821000128, -4.559255472 ], [ 12.718479044000048, -4.451871845999918 ], [ 12.737909383000044, -4.404949645999878 ], [ 12.761680542000107, -4.391203714999932 ], [ 12.782655683712846, -4.400070757859169 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "anguilla",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "AI-X02~", "NAME_1": "East End" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -63.013496642069299, 18.271968828373929 ], [ -63.007394985999952, 18.273016669000071 ], [ -63.00754847748027, 18.267336273849935 ], [ -62.999982368691349, 18.267336273849935 ], [ -62.994522918299275, 18.274897109773615 ], [ -62.983998175999943, 18.276434637000079 ], [ -62.972645636999914, 18.275864976000037 ], [ -62.97288977799991, 18.269273179000038 ], [ -62.992909308999913, 18.236883856000077 ], [ -62.994804413169028, 18.234525056351401 ], [ -62.994407340026726, 18.243841513275186 ], [ -63.00197344971491, 18.243841513275186 ], [ -62.996398421949607, 18.252204054473509 ], [ -62.995203773335447, 18.256186217420009 ], [ -63.00316809832907, 18.260964812775853 ], [ -63.013521722349594, 18.260964812775853 ], [ -63.013496642069299, 18.271968828373929 ] ] ], [ [ [ -62.95820458534228, 18.28942162673183 ], [ -62.950676315985689, 18.292131803700205 ], [ -62.94766500824305, 18.297251026862686 ], [ -62.933812992626919, 18.294540849894315 ], [ -62.925682461721792, 18.289722757506095 ], [ -62.932006207981331, 18.287313711311985 ], [ -62.944954831274678, 18.283700142020816 ], [ -62.947363877468788, 18.280387703503916 ], [ -62.95669893147096, 18.274365088018641 ], [ -62.960011369987861, 18.277677526535541 ], [ -62.956096669922431, 18.282495618923761 ], [ -62.95820458534228, 18.28942162673183 ] ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "antigua_and_barbuda",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "AG-06", "NAME_1": "Saint Paul" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -61.726226365999935, 17.038478908000059 ], [ -61.733998175999943, 17.034857489000046 ], [ -61.734364386999914, 17.025783596000053 ], [ -61.729644334999932, 17.001166083000044 ], [ -61.737131313999953, 16.989243882000039 ], [ -61.753529425999943, 16.99681224200009 ], [ -61.76976477799991, 17.010972398000092 ], [ -61.776844855999911, 17.018540757000039 ], [ -61.783599412999934, 17.016913153000075 ], [ -61.804066536041773, 17.007310288838767 ], [ -61.810945026791558, 17.023467440370041 ], [ -61.807883712063642, 17.03469226013965 ], [ -61.815026779762093, 17.047957956394555 ], [ -61.806863273821023, 17.056121461436305 ], [ -61.784413634281805, 17.062244090892079 ], [ -61.774209252754815, 17.060203214406783 ], [ -61.748698298487682, 17.060203214406783 ], [ -61.733391726646857, 17.064284967377318 ], [ -61.726226365999935, 17.038478908000059 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "argentina",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "AR-E", "NAME_1": "Entre Ríos" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -58.200111852217844, -32.447129912359713 ], [ -58.222808397999927, -32.534274997999944 ], [ -58.179351365999935, -32.828301690999922 ], [ -58.137766079999949, -32.900323174999926 ], [ -58.14679928299995, -33.049981377999927 ], [ -58.204457160999937, -33.091892184999949 ], [ -58.383168097999942, -33.07545338299991 ], [ -58.430165167999917, -33.102634372999944 ], [ -58.41234290299991, -33.298272393999923 ], [ -58.50649980399993, -33.405857028999947 ], [ -58.549387173999946, -33.683038018999923 ], [ -58.540679490999935, -33.745212497999944 ], [ -58.461048956999946, -33.859470309999949 ], [ -58.439361131999931, -33.979668877999927 ], [ -58.446970686747761, -34.006940156662893 ], [ -58.638508267342672, -34.048515719524858 ], [ -59.031817592907601, -33.829562676876037 ], [ -59.231314459594614, -33.797988376462399 ], [ -59.268934903023364, -33.721248874635876 ], [ -59.392648281393065, -33.739387301882459 ], [ -59.520702481334411, -33.655309746747434 ], [ -59.602764654864927, -33.677788994666344 ], [ -59.772392544380409, -33.610506279641072 ], [ -59.843886887969518, -33.533921807445438 ], [ -60.118082038255466, -33.393568616798234 ], [ -60.495423346909945, -33.122060641685266 ], [ -60.675464036735889, -32.846521905161808 ], [ -60.705823941221922, -32.679503675554201 ], [ -60.767008836388698, -32.578321221946851 ], [ -60.706934984362022, -32.156176446186066 ], [ -60.66179561957216, -32.069256687146378 ], [ -60.719957444580416, -31.922340589546593 ], [ -60.674042935233274, -31.85288746508445 ], [ -60.647765469001172, -31.716048271910211 ], [ -60.414110480414308, -31.673518568826864 ], [ -60.163660650818372, -31.442059828098593 ], [ -60.063382533876847, -31.26951222121204 ], [ -59.719837612815581, -30.830986016491465 ], [ -59.660642259033011, -30.736056409675541 ], [ -59.622350022935223, -30.574825941563972 ], [ -59.61477942562999, -30.462688083488274 ], [ -59.661520759075756, -30.336907646670568 ], [ -59.388540004717413, -30.305953463881281 ], [ -59.241313849654432, -30.343470553623149 ], [ -59.004997525215629, -30.204099215806139 ], [ -58.876168178918306, -30.226991875774445 ], [ -58.587141893283729, -30.153042901009087 ], [ -58.229644335117939, -30.252985121166432 ], [ -58.06800045405771, -30.420726821185838 ], [ -57.98725602924236, -30.603506362128883 ], [ -57.801867634999979, -30.773314309999932 ], [ -57.807241984999848, -30.907569681999917 ], [ -57.911731730999946, -30.94736053499993 ], [ -57.855249389999898, -31.058981627999955 ], [ -57.911731730999946, -31.17060272199997 ], [ -57.905117146999942, -31.240986022999905 ], [ -57.990228230999975, -31.399322611999921 ], [ -58.07523596199988, -31.475183613999931 ], [ -57.986817585999944, -31.554145202999891 ], [ -57.988626260999922, -31.642821960999896 ], [ -58.059267943999913, -31.811493834999922 ], [ -58.15285396399986, -31.835988464999971 ], [ -58.202618367999975, -31.893142597999898 ], [ -58.145309203999915, -32.017889505999904 ], [ -58.186546996999908, -32.152920023999883 ], [ -58.096526652999955, -32.280974222999888 ], [ -58.200111852217844, -32.447129912359713 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "azerbaijan",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "AZ-QAZ", "NAME_1": "Qazax" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 44.979455607000091, 41.082041321000062 ], [ 45.018884725000078, 41.074909973 ], [ 45.029995158000133, 41.046281230000048 ], [ 45.015732463000063, 41.023233541000067 ], [ 44.979455607000091, 41.032638652000017 ], [ 44.966949910000096, 41.044834290000054 ], [ 44.960697062000065, 41.05992380800005 ], [ 44.963952678000055, 41.07377309200011 ], [ 44.979455607000091, 41.082041321000062 ] ] ], [ [ [ 45.166730998000048, 41.107776185000048 ], [ 45.201044149000097, 41.126741435 ], [ 45.199752238000144, 41.142657776000121 ], [ 45.186781453000037, 41.156868795000079 ], [ 45.134433228000091, 41.187874654 ], [ 45.117328329000145, 41.192060446000042 ], [ 45.052009318000103, 41.192112121000051 ], [ 45.034852742000055, 41.197693176000072 ], [ 45.029323364000049, 41.210095520000053 ], [ 45.039400268000065, 41.231179505000071 ], [ 45.002399944000103, 41.290452373000065 ], [ 45.097833499816147, 41.349918809405494 ], [ 45.098363884885373, 41.343264879370679 ], [ 45.102239617564294, 41.336572781208872 ], [ 45.148748407013329, 41.302362983364958 ], [ 45.168333775083624, 41.293552150811081 ], [ 45.211948682885406, 41.285800686352559 ], [ 45.25225630058776, 41.264871731145433 ], [ 45.275872430068546, 41.256474311540217 ], [ 45.388682081712659, 41.24652659832384 ], [ 45.39219607918568, 41.245622259859374 ], [ 45.394159783946861, 41.23340078441862 ], [ 45.398758986138262, 41.209061184526036 ], [ 45.372817416690395, 41.145602525336244 ], [ 45.376176385431791, 41.137334296040933 ], [ 45.379225294911407, 41.129608670004075 ], [ 45.37307579910879, 41.122244778273853 ], [ 45.367391392198954, 41.115785224108777 ], [ 45.367236361668745, 41.101496690220074 ], [ 45.37038862483513, 41.087828273955665 ], [ 45.377364942937731, 41.053773504843377 ], [ 45.379897087580503, 41.019408678267837 ], [ 45.381860793241003, 41.011786404119221 ], [ 45.381947947000128, 41.011448110000075 ], [ 45.33535119600009, 40.993829652000088 ], [ 45.312561890000097, 40.996620179000033 ], [ 45.268740275000084, 41.010262757000035 ], [ 45.221611369000073, 41.01444854800009 ], [ 45.20517826400004, 41.024887187000033 ], [ 45.189675334000071, 41.037547913000068 ], [ 45.169211467000139, 41.047159730000075 ], [ 45.136551962000055, 41.072894593000072 ], [ 45.120015503000047, 41.079612529000073 ], [ 45.11712162300006, 41.06142242500006 ], [ 45.111023804000126, 41.04953684500002 ], [ 45.091696818000059, 41.051035461000126 ], [ 45.070044393000103, 41.062094219000031 ], [ 45.057176961000096, 41.078785706000062 ], [ 45.067822307000085, 41.110928447 ], [ 45.166730998000048, 41.107776185000048 ] ] ], [ [ [ 45.187711629000091, 40.998377177000023 ], [ 45.191845744000091, 40.997808736000067 ], [ 45.220474487000047, 40.97905019100007 ], [ 45.209932495000032, 40.967991435000059 ], [ 45.186781453000037, 40.970833639000048 ], [ 45.177169637000077, 40.993829652000088 ], [ 45.180270223000036, 40.996413473000089 ], [ 45.183784220000121, 40.997912089000081 ], [ 45.187711629000091, 40.998377177000023 ] ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "bahrain",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "BH-13", "NAME_1": "Al Manāmah" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 50.503916863000086, 26.242010809000078 ], [ 50.516368035000085, 26.23969147300005 ], [ 50.532399936000047, 26.233099677000041 ], [ 50.545420769000032, 26.227728583000044 ], [ 50.545502149000072, 26.227769273000035 ], [ 50.586680535000085, 26.24249909100007 ], [ 50.593272332000083, 26.23859284100007 ], [ 50.597422722000033, 26.225531317000048 ], [ 50.604746941000087, 26.216498114000046 ], [ 50.606944207000083, 26.212388414000088 ], [ 50.609141472000033, 26.208278713000084 ], [ 50.603526238000086, 26.197658596000053 ], [ 50.594086134000065, 26.195298570000091 ], [ 50.565603061000047, 26.198879299000055 ], [ 50.551605664669637, 26.194240627303088 ], [ 50.535056949218813, 26.213471104907569 ], [ 50.502022628241662, 26.216113850873512 ], [ 50.503916863000086, 26.242010809000078 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "barbados",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "BB-06", "NAME_1": "Saint Joseph" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -59.545818247702265, 13.243809809534177 ], [ -59.536610480999911, 13.231390692000048 ], [ -59.518055792999917, 13.21751536700009 ], [ -59.520418259594976, 13.21650625196196 ], [ -59.536825527875806, 13.201571763825825 ], [ -59.53726477744749, 13.20146841103832 ], [ -59.537678188597511, 13.201416734194936 ], [ -59.538556687740936, 13.201416734194936 ], [ -59.539047614156061, 13.19955638312058 ], [ -59.539280158152792, 13.198161119140309 ], [ -59.540210334139601, 13.182503159693056 ], [ -59.540882127708016, 13.182451483748935 ], [ -59.554292161554031, 13.18007436783779 ], [ -59.562792934846073, 13.196817532003479 ], [ -59.565480109119733, 13.199969794270601 ], [ -59.566875373100004, 13.201210029519245 ], [ -59.580983038936097, 13.209839993121193 ], [ -59.570673591413083, 13.233301092971033 ], [ -59.567547166668419, 13.238210354424325 ], [ -59.566978725887509, 13.238365383155895 ], [ -59.566565313838169, 13.238417059999279 ], [ -59.566203578632212, 13.238365383155895 ], [ -59.565945197113138, 13.238210354424325 ], [ -59.565686814694743, 13.238003647949995 ], [ -59.565350917910507, 13.237486884012469 ], [ -59.565066697969712, 13.237228502493394 ], [ -59.563826462721067, 13.236660060813165 ], [ -59.560803391663171, 13.237435208068405 ], [ -59.548168504173134, 13.24327464370981 ], [ -59.545818247702265, 13.243809809534177 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "belgium",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "BE-VWV", "NAME_1": "West Flanders" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 2.650618123000044, 50.812248434000097 ], [ 2.642453247000049, 50.812455139000079 ], [ 2.627777140000148, 50.814418844 ], [ 2.620439087000136, 50.816485902000053 ], [ 2.615168091000015, 50.822170309000015 ], [ 2.606589803000077, 50.834831034000061 ], [ 2.602042277000066, 50.838086649000033 ], [ 2.589949992000072, 50.842014059000107 ], [ 2.586746053000098, 50.845424704000024 ], [ 2.587779582000081, 50.850023906000061 ], [ 2.595531046000076, 50.861134339 ], [ 2.596667928000102, 50.867645569000061 ], [ 2.576927531000138, 50.911518860000072 ], [ 2.582715291000113, 50.92066558900008 ], [ 2.605762980000065, 50.935238343000023 ], [ 2.611654093000055, 50.941232809000056 ], [ 2.608450154000082, 50.961128235000061 ], [ 2.592740519000131, 50.976114400000128 ], [ 2.556980428000116, 51.001177470000059 ], [ 2.547058553000113, 51.020478618000098 ], [ 2.537033325000095, 51.064610291000079 ], [ 2.521799927545686, 51.08754088371883 ], [ 2.542002800000091, 51.096869208000044 ], [ 2.579925977000073, 51.104803778000075 ], [ 2.715668165000068, 51.169501044000071 ], [ 2.92359459700009, 51.246486721000053 ], [ 3.124847852000073, 51.329657294000071 ], [ 3.34896894600007, 51.375148830000057 ], [ 3.349414674000116, 51.375223118000051 ], [ 3.358068481000061, 51.336712546000015 ], [ 3.353934366000146, 51.311907858000083 ], [ 3.353210897000054, 51.288601787000047 ], [ 3.367370240000099, 51.263487040000101 ], [ 3.391658163000102, 51.24676971500007 ], [ 3.398798476568402, 51.24469829349141 ], [ 3.400030552268163, 51.242660631183185 ], [ 3.366957635086806, 51.229586494121406 ], [ 3.384062533559074, 51.203644925572803 ], [ 3.359826287353258, 51.192844549836082 ], [ 3.387008091150449, 51.18721181887031 ], [ 3.410314162268776, 51.161115220690874 ], [ 3.374450718026196, 51.118120428714803 ], [ 3.330680779694205, 51.100137031099052 ], [ 3.443800489700834, 51.049313259399355 ], [ 3.422148064981229, 51.039468898970483 ], [ 3.452017043052081, 51.00704193783514 ], [ 3.425868768029204, 50.982418118001704 ], [ 3.442973667400793, 50.967793688228085 ], [ 3.412071160555627, 50.958957018151864 ], [ 3.460233594604688, 50.943712469854574 ], [ 3.440131462596923, 50.943945013851305 ], [ 3.455324334050772, 50.934384874262491 ], [ 3.448399691892234, 50.929863186436876 ], [ 3.424731885568065, 50.932059435194731 ], [ 3.432586703713412, 50.920561428367193 ], [ 3.419150832345053, 50.912189846284377 ], [ 3.427315707953539, 50.898443914754864 ], [ 3.45046675034024, 50.907461452883695 ], [ 3.46607303204479, 50.9033531762081 ], [ 3.474031202977642, 50.884594632236485 ], [ 3.45046675034024, 50.869298407995132 ], [ 3.512375115918871, 50.835502021301238 ], [ 3.499456007588662, 50.825218411300625 ], [ 3.522503696288538, 50.805167955236925 ], [ 3.520023227589888, 50.797907416294208 ], [ 3.457607785570815, 50.768514830694869 ], [ 3.41275264300009, 50.747405008000044 ], [ 3.367432412000085, 50.717303486000048 ], [ 3.363453327000059, 50.709655375000068 ], [ 3.35363480500007, 50.711644917000058 ], [ 3.34779536800005, 50.711929137000084 ], [ 3.323145710000063, 50.723452982000083 ], [ 3.324582405000058, 50.73715651100008 ], [ 3.303301960000056, 50.756422546000067 ], [ 3.260823932000051, 50.752340107000066 ], [ 3.219689492000043, 50.76727459600005 ], [ 3.175068197000087, 50.752715222000063 ], [ 3.162810519000061, 50.749939075000029 ], [ 3.146195109000104, 50.768891907000025 ], [ 3.129245239000085, 50.779072165000102 ], [ 3.103303671000049, 50.784084778000064 ], [ 3.023816593000049, 50.768262116000074 ], [ 3.022962125000049, 50.771618256000068 ], [ 3.014424008000049, 50.805130366000071 ], [ 2.998824421000052, 50.81161297500006 ], [ 2.940636758000039, 50.796678486000076 ], [ 2.939706582000042, 50.792234313000051 ], [ 2.960205294000048, 50.776795737000043 ], [ 2.922446653000065, 50.766964538000082 ], [ 2.918105834000073, 50.757714456000087 ], [ 2.889632120000044, 50.754148782000073 ], [ 2.87542110000004, 50.76246868800007 ], [ 2.868806517000053, 50.761228453000058 ], [ 2.842193154000086, 50.750841491000074 ], [ 2.86250199300008, 50.709552022000082 ], [ 2.866725884000061, 50.700091003000068 ], [ 2.786733846000033, 50.723364970000048 ], [ 2.768233683000119, 50.733235169000054 ], [ 2.762962687000083, 50.739384665000031 ], [ 2.74952681500011, 50.75959014900009 ], [ 2.743842407000074, 50.766204732000105 ], [ 2.706635376000065, 50.788787334000048 ], [ 2.700020792000089, 50.796280416000073 ], [ 2.696920207000119, 50.803050028000101 ], [ 2.691855916000065, 50.808837789000094 ], [ 2.678730102000088, 50.813230286000064 ], [ 2.669221639000114, 50.813902079000073 ], [ 2.650618123000044, 50.812248434000097 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "bermuda",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "BM-HAM", "NAME_1": "Hamilton" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -64.705380509244037, 32.336058626011855 ], [ -64.713132160734446, 32.342647529778695 ], [ -64.724637089891189, 32.338786219896818 ], [ -64.732898872034966, 32.333733130564731 ], [ -64.734738706507841, 32.327702250127018 ], [ -64.73948777580182, 32.328694557095972 ], [ -64.741659907659482, 32.33307298398109 ], [ -64.736387115205659, 32.343810277502257 ], [ -64.722020229549969, 32.3525116223135 ], [ -64.70809358734914, 32.351561929239608 ], [ -64.704992926669519, 32.34303511235322 ], [ -64.694915780039196, 32.339934451513727 ], [ -64.705380509244037, 32.336058626011855 ] ] ], [ [ [ -64.713907325883483, 32.329469722245015 ], [ -64.705380509244037, 32.336058626011855 ], [ -64.698404022902679, 32.326369061648855 ], [ -64.707288574681428, 32.321186406444582 ], [ -64.713907325883483, 32.329469722245015 ] ] ], [ [ [ -64.742670931527357, 32.321751931842719 ], [ -64.740262940950856, 32.32404356620173 ], [ -64.735999532631126, 32.322880818478168 ], [ -64.731231403414995, 32.323092735332217 ], [ -64.739662519709498, 32.316959385767007 ], [ -64.742670931527357, 32.321751931842719 ] ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "bhutan",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "BT-TY", "NAME_1": "Tashi Yangtse" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 91.436482871000123, 27.989375107000015 ], [ 91.446438436000051, 27.986354879000075 ], [ 91.460907837000093, 27.984365336000039 ], [ 91.497494751000033, 27.984081116000041 ], [ 91.537492310000118, 27.969353333000058 ], [ 91.578626750000069, 27.96470245400009 ], [ 91.600640910000095, 27.959276429000013 ], [ 91.621724894000124, 27.950723979000074 ], [ 91.637951295000107, 27.939742737000088 ], [ 91.652834107000047, 27.916746725000039 ], [ 91.648906698000076, 27.897213033000057 ], [ 91.637124471000106, 27.877240093000111 ], [ 91.6283394780001, 27.852693787000035 ], [ 91.56435452404213, 27.851372366541511 ], [ 91.566023216997905, 27.821073950502466 ], [ 91.605335586933748, 27.810658168996827 ], [ 91.63576961127859, 27.782524817666229 ], [ 91.634957059420799, 27.746570816190285 ], [ 91.626685832000135, 27.716423035000034 ], [ 91.579866984000034, 27.657976990000051 ], [ 91.573252401000047, 27.619710592000033 ], [ 91.595059855000045, 27.546381734000121 ], [ 91.60446496600008, 27.53214487700005 ], [ 91.632887004000054, 27.51165517200009 ], [ 91.641671998000106, 27.494963684000041 ], [ 91.657381633000114, 27.479150696000048 ], [ 91.680222616000094, 27.472846171000029 ], [ 91.704923950000079, 27.468763733000046 ], [ 91.727041463000035, 27.460004577000049 ], [ 91.727091720806243, 27.459941598825708 ], [ 91.726732212321679, 27.458246772470545 ], [ 91.724251743623029, 27.45256236376207 ], [ 91.718670688601378, 27.446412868858772 ], [ 91.710919224142856, 27.443157253804202 ], [ 91.683737421244928, 27.439514065122012 ], [ 91.64911421135173, 27.426749986422692 ], [ 91.59030643119678, 27.410032659779404 ], [ 91.579144322052798, 27.409283351845204 ], [ 91.556199986140427, 27.385408839945967 ], [ 91.551859164568725, 27.381946519316386 ], [ 91.527467888732019, 27.37336823255788 ], [ 91.524212273677449, 27.369259954982908 ], [ 91.431453078097036, 27.397862861182091 ], [ 91.392644078061721, 27.401841945749197 ], [ 91.40876712370374, 27.429695543114804 ], [ 91.410937534939251, 27.438428860403576 ], [ 91.409852329321495, 27.442304592183177 ], [ 91.397294956197243, 27.469279690405358 ], [ 91.327583449316705, 27.552297879243724 ], [ 91.309600050801691, 27.581314194794231 ], [ 91.297197707308328, 27.597178859816495 ], [ 91.307119582102985, 27.61846955022952 ], [ 91.302778762329979, 27.679060167093041 ], [ 91.30742964136482, 27.703373928563906 ], [ 91.307119582102985, 27.710944525869138 ], [ 91.300143264000383, 27.733837184938125 ], [ 91.299368116745143, 27.740891018305831 ], [ 91.301383498349708, 27.748048204461043 ], [ 91.305569289391144, 27.755437933713665 ], [ 91.310220168425985, 27.767039293328708 ], [ 91.312390577862857, 27.783575751020066 ], [ 91.312235549131231, 27.794634508275919 ], [ 91.316731397635863, 27.811816921113973 ], [ 91.319521925596348, 27.894705918743114 ], [ 91.318798456083869, 27.906384792723998 ], [ 91.320142043220699, 27.912120877376594 ], [ 91.323139275856875, 27.916720079567995 ], [ 91.32748009562988, 27.918115343548266 ], [ 91.332130974664722, 27.918683783429856 ], [ 91.336626824967936, 27.920130724253511 ], [ 91.341587762365293, 27.923257148098912 ], [ 91.373678826716457, 27.95728607789016 ], [ 91.379466587313118, 27.960205797059871 ], [ 91.384117466347959, 27.960076605850645 ], [ 91.393884312411046, 27.95749278436449 ], [ 91.398845248909083, 27.957983709880295 ], [ 91.403961215937329, 27.960283311425655 ], [ 91.418844029028662, 27.972220566925614 ], [ 91.436482871000123, 27.989375107000015 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "brunei",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "BN-TE", "NAME_1": "Temburong" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 115.14616946700005, 4.90851471600007 ], [ 115.146800578000011, 4.885620219000131 ], [ 115.155998983000018, 4.876292623000012 ], [ 115.169331502000148, 4.869988098000093 ], [ 115.182250611000143, 4.8612289430001 ], [ 115.207365357000072, 4.825598043000127 ], [ 115.272684367000011, 4.636772359000119 ], [ 115.277025188000096, 4.613052877000072 ], [ 115.275474894000013, 4.595741272000069 ], [ 115.267413371000089, 4.556208802000128 ], [ 115.266896606000046, 4.516857198000139 ], [ 115.272477662000085, 4.474663391000078 ], [ 115.285603475000016, 4.435363465000094 ], [ 115.308651164000025, 4.404693502000072 ], [ 115.343791138000029, 4.371672261000086 ], [ 115.358260539000071, 4.350278219000074 ], [ 115.360741008000161, 4.329555970000058 ], [ 115.346271607000119, 4.313768820000064 ], [ 115.324360800000079, 4.314595642000086 ], [ 115.301209758000084, 4.324698385000119 ], [ 115.283123007000142, 4.3367648320001 ], [ 115.27433801300009, 4.340020447000086 ], [ 115.255114381000055, 4.339245300000087 ], [ 115.244675741000037, 4.343663635000084 ], [ 115.229069458000083, 4.356763611000048 ], [ 115.220697876000088, 4.359760844000064 ], [ 115.190828898000063, 4.356763611000048 ], [ 115.16995162, 4.36125946000007 ], [ 115.113004192000062, 4.382369284000092 ], [ 115.099775025000156, 4.391231791000109 ], [ 115.091816854000058, 4.405416972000069 ], [ 115.07982792200005, 4.503963928000132 ], [ 115.068149048000066, 4.543367208000049 ], [ 115.035489543000097, 4.621243592000013 ], [ 115.026807902000087, 4.660026754000043 ], [ 115.022777141, 4.741365458000047 ], [ 115.029778352000108, 4.820641508000094 ], [ 115.04810631600003, 4.801825262000079 ], [ 115.066416863000086, 4.813544012000079 ], [ 115.086192254000025, 4.835638739000046 ], [ 115.108571811000047, 4.847479559000078 ], [ 115.130218946000014, 4.852036851000094 ], [ 115.130869988000086, 4.863714911000045 ], [ 115.12232506600003, 4.879380601000094 ], [ 115.11646569100003, 4.896063544000071 ], [ 115.118662957000083, 4.90375397300005 ], [ 115.125173373000052, 4.90766022300005 ], [ 115.134532097000033, 4.90884023600006 ], [ 115.145843946000014, 4.90851471600007 ], [ 115.14616946700005, 4.90851471600007 ] ] ] } },
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "cape_verde",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "ISO": "CV-BR", "NAME_1": "Brava" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -24.704335089999915, 14.900824286000045 ], [ -24.693104620999918, 14.890692450000074 ], [ -24.686756964999915, 14.876166083000044 ], [ -24.683949347999942, 14.859442450000074 ], [ -24.683257615999935, 14.842474677000041 ], [ -24.686879035999937, 14.826646226000037 ], [ -24.695301886999914, 14.819403387000079 ], [ -24.704416469999956, 14.814032294000071 ], [ -24.710560675999943, 14.803941148000092 ], [ -24.718006964999915, 14.803941148000092 ], [ -24.725453253999945, 14.814113674000055 ], [ -24.744618292999917, 14.826605536000045 ], [ -24.751535610999952, 14.838771877000056 ], [ -24.758941209999932, 14.831854559000078 ], [ -24.754709438999953, 14.840806382000039 ], [ -24.753244594999956, 14.849351304000038 ], [ -24.754709438999953, 14.857855536000045 ], [ -24.758941209999932, 14.86664459800005 ], [ -24.745350714999915, 14.86664459800005 ], [ -24.749419725999928, 14.88548411700009 ], [ -24.737619594999956, 14.89203522300005 ], [ -24.719349738999938, 14.894435940000051 ], [ -24.704335089999915, 14.900824286000045 ] ] ] } },
|
||||
|
||||