@deck.gl/carto 9.0.0-alpha.6 → 9.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cartoRasterTile-worker.js +4 -14
- package/dist/cartoSpatialTile-worker.js +4 -14
- package/dist/cartoVectorTile-worker.js +4 -14
- package/dist/dist.dev.js +50 -35
- package/dist/es5/api/endpoints.js +41 -20
- package/dist/es5/api/endpoints.js.map +1 -1
- package/dist/es5/api/fetch-map.js +16 -18
- package/dist/es5/api/fetch-map.js.map +1 -1
- package/dist/es5/api/layer-map.js +1 -1
- package/dist/es5/api/layer-map.js.map +1 -1
- package/dist/es5/api/query.js +10 -7
- package/dist/es5/api/query.js.map +1 -1
- package/dist/es5/api/request-with-parameters.js +1 -1
- package/dist/es5/api/request-with-parameters.js.map +1 -1
- package/dist/es5/layers/schema/carto-raster-tile-loader.js +1 -1
- package/dist/es5/layers/schema/carto-raster-tile-loader.js.map +1 -1
- package/dist/es5/layers/schema/carto-spatial-tile-loader.js +1 -1
- package/dist/es5/layers/schema/carto-spatial-tile-loader.js.map +1 -1
- package/dist/es5/layers/schema/carto-vector-tile-loader.js +1 -1
- package/dist/es5/layers/schema/carto-vector-tile-loader.js.map +1 -1
- package/dist/es5/layers/utils.js +1 -1
- package/dist/es5/layers/utils.js.map +1 -1
- package/dist/es5/sources/base-source.js.map +1 -1
- package/dist/esm/api/endpoints.js +30 -17
- package/dist/esm/api/endpoints.js.map +1 -1
- package/dist/esm/api/fetch-map.js +12 -14
- package/dist/esm/api/fetch-map.js.map +1 -1
- package/dist/esm/api/layer-map.js +1 -1
- package/dist/esm/api/layer-map.js.map +1 -1
- package/dist/esm/api/query.js +6 -4
- package/dist/esm/api/query.js.map +1 -1
- package/dist/esm/api/request-with-parameters.js +1 -1
- package/dist/esm/api/request-with-parameters.js.map +1 -1
- package/dist/esm/layers/schema/carto-raster-tile-loader.js +1 -1
- package/dist/esm/layers/schema/carto-raster-tile-loader.js.map +1 -1
- package/dist/esm/layers/schema/carto-spatial-tile-loader.js +1 -1
- package/dist/esm/layers/schema/carto-spatial-tile-loader.js.map +1 -1
- package/dist/esm/layers/schema/carto-vector-tile-loader.js +1 -1
- package/dist/esm/layers/schema/carto-vector-tile-loader.js.map +1 -1
- package/dist/esm/layers/utils.js +1 -1
- package/dist/esm/layers/utils.js.map +1 -1
- package/dist/esm/sources/base-source.js.map +1 -1
- package/dist.min.js +39 -39
- package/package.json +10 -10
- package/src/.DS_Store +0 -0
- package/src/api/endpoints.ts +48 -17
- package/src/api/fetch-map.ts +13 -18
- package/src/api/layer-map.ts +3 -1
- package/src/api/query.ts +8 -4
- package/src/api/request-with-parameters.ts +1 -1
- package/src/layers/utils.ts +1 -1
- package/src/sources/base-source.ts +0 -1
- package/src/sources/types.ts +87 -3
- package/typed/api/endpoints.d.ts +17 -6
- package/typed/api/endpoints.d.ts.map +1 -1
- package/typed/api/fetch-map.d.ts +2 -3
- package/typed/api/fetch-map.d.ts.map +1 -1
- package/typed/api/layer-map.d.ts +1 -1
- package/typed/api/layer-map.d.ts.map +1 -1
- package/typed/api/query.d.ts +1 -1
- package/typed/api/query.d.ts.map +1 -1
- package/typed/api/types.d.ts +19 -19
- package/typed/api/types.d.ts.map +1 -1
- package/typed/layers/h3-tile-layer.d.ts +2 -2
- package/typed/layers/h3-tile-layer.d.ts.map +1 -1
- package/typed/layers/h3-tileset-2d.d.ts +1 -1
- package/typed/layers/h3-tileset-2d.d.ts.map +1 -1
- package/typed/layers/point-label-layer.d.ts +2 -2
- package/typed/layers/point-label-layer.d.ts.map +1 -1
- package/typed/layers/quadbin-layer.d.ts +2 -2
- package/typed/layers/quadbin-layer.d.ts.map +1 -1
- package/typed/layers/quadbin-tile-layer.d.ts +2 -2
- package/typed/layers/quadbin-tile-layer.d.ts.map +1 -1
- package/typed/layers/quadbin-tileset-2d.d.ts +1 -1
- package/typed/layers/quadbin-tileset-2d.d.ts.map +1 -1
- package/typed/layers/raster-layer.d.ts +2 -2
- package/typed/layers/raster-layer.d.ts.map +1 -1
- package/typed/layers/raster-tile-layer.d.ts +2 -2
- package/typed/layers/raster-tile-layer.d.ts.map +1 -1
- package/typed/layers/schema/carto-raster-tile-loader.d.ts +1 -1
- package/typed/layers/schema/carto-raster-tile-loader.d.ts.map +1 -1
- package/typed/layers/schema/spatialjson-utils.d.ts +8 -8
- package/typed/layers/schema/spatialjson-utils.d.ts.map +1 -1
- package/typed/layers/spatial-index-tile-layer.d.ts +2 -2
- package/typed/layers/spatial-index-tile-layer.d.ts.map +1 -1
- package/typed/layers/vector-tile-layer.d.ts +3 -3
- package/typed/layers/vector-tile-layer.d.ts.map +1 -1
- package/typed/sources/base-source.d.ts.map +1 -1
- package/typed/sources/boundary-query-source.d.ts +1 -1
- package/typed/sources/boundary-query-source.d.ts.map +1 -1
- package/typed/sources/boundary-table-source.d.ts +1 -1
- package/typed/sources/boundary-table-source.d.ts.map +1 -1
- package/typed/sources/h3-query-source.d.ts +1 -1
- package/typed/sources/h3-query-source.d.ts.map +1 -1
- package/typed/sources/h3-table-source.d.ts +1 -1
- package/typed/sources/h3-table-source.d.ts.map +1 -1
- package/typed/sources/h3-tileset-source.d.ts +1 -1
- package/typed/sources/h3-tileset-source.d.ts.map +1 -1
- package/typed/sources/quadbin-query-source.d.ts +1 -1
- package/typed/sources/quadbin-query-source.d.ts.map +1 -1
- package/typed/sources/quadbin-table-source.d.ts +1 -1
- package/typed/sources/quadbin-table-source.d.ts.map +1 -1
- package/typed/sources/quadbin-tileset-source.d.ts +1 -1
- package/typed/sources/quadbin-tileset-source.d.ts.map +1 -1
- package/typed/sources/raster-source.d.ts +1 -1
- package/typed/sources/raster-source.d.ts.map +1 -1
- package/typed/sources/types.d.ts +91 -16
- package/typed/sources/types.d.ts.map +1 -1
- package/typed/sources/vector-query-source.d.ts +1 -1
- package/typed/sources/vector-query-source.d.ts.map +1 -1
- package/typed/sources/vector-table-source.d.ts +1 -1
- package/typed/sources/vector-table-source.d.ts.map +1 -1
- package/typed/sources/vector-tileset-source.d.ts +1 -1
- package/typed/sources/vector-tileset-source.d.ts.map +1 -1
- package/typed/style/palette.d.ts +1 -1
- package/typed/style/palette.d.ts.map +1 -1
- package/typed/style/utils.d.ts +1 -1
- package/typed/style/utils.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/h3-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAExE,OAA8B,EAAC,0BAA0B,EAAC,MAAM,4BAA4B,CAAC;AAC7F,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAGrD,eAAO,MAAM,eAAe;;;;SAU3B,CAAC;AAMF,+CAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"h3-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/h3-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAExE,OAA8B,EAAC,0BAA0B,EAAC,MAAM,4BAA4B,CAAC;AAC7F,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAGrD,eAAO,MAAM,eAAe;;;;SAU3B,CAAC;AAMF,+CAA+C;AAC/C,MAAM,MAAM,gBAAgB,CAAC,KAAK,GAAG,OAAO,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,mBAAmB,CAAC;AAE/F,uCAAuC;AACvC,KAAK,iBAAiB,CAAC,KAAK,IAAI,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GACtE,IAAI,CAAC,0BAA0B,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG;IAChD,IAAI,EAAE,IAAI,GAAG,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;CACvD,CAAC;AAEJ,MAAM,CAAC,OAAO,OAAO,WAAW,CAAC,KAAK,GAAG,GAAG,EAAE,WAAW,SAAS,EAAE,GAAG,EAAE,CAAE,SAAQ,cAAc,CAC/F,WAAW,GAAG,QAAQ,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CACjD;IACC,MAAM,CAAC,SAAS,SAAiB;IACjC,MAAM,CAAC,YAAY,0CAAgB;IAEnC,eAAe,IAAI,IAAI;IAIvB,cAAc,IAAI,GAAG;IAQrB,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;CAsC1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-tileset-2d.d.ts","sourceRoot":"","sources":["../../src/layers/h3-tileset-2d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,SAAS,EAAE,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAU5E,
|
|
1
|
+
{"version":3,"file":"h3-tileset-2d.d.ts","sourceRoot":"","sources":["../../src/layers/h3-tileset-2d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,SAAS,EAAE,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAU5E,MAAM,MAAM,WAAW,GAAG;IAAC,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AA0DtC,wBAAgB,oBAAoB,CAAC,QAAQ,KAAA,GAAG,MAAM,CAMrD;AAED,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,SAAS;IAChD;;;;OAIG;IAEH,cAAc,CAAC,EAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAC;;;;KAAA,GAAG,WAAW,EAAE;IAyB3D,SAAS,CAAC,EAAC,CAAC,EAAC,EAAE,WAAW,GAAG,MAAM;IAKnC,eAAe,CAAC,EAAC,CAAC,EAAC,EAAE,WAAW;;;IAKhC,WAAW,CAAC,EAAC,CAAC,EAAC,EAAE,WAAW,GAAG,MAAM;IAKrC,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,WAAW;CAKhD"}
|
|
@@ -8,9 +8,9 @@ declare class EnhancedTextLayer extends TextLayer {
|
|
|
8
8
|
}): any;
|
|
9
9
|
}
|
|
10
10
|
/** All properties supported by PointLabelLayer. */
|
|
11
|
-
export
|
|
11
|
+
export type PointLabelLayerProps<DataT = unknown> = _PointLabelLayerProps<DataT> & TextLayerProps & CompositeLayerProps;
|
|
12
12
|
/** Properties added by PointLabelLayer. */
|
|
13
|
-
|
|
13
|
+
type _PointLabelLayerProps<DataT> = TextLayerProps<DataT> & {
|
|
14
14
|
/**
|
|
15
15
|
* Radius multiplier.
|
|
16
16
|
* @default 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"point-label-layer.d.ts","sourceRoot":"","sources":["../../src/layers/point-label-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,KAAK,EACL,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,SAAS,EACT,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAyBzB,cAAM,iBAAkB,SAAQ,SAAS;IACvC,MAAM,CAAC,SAAS,SAAuB;IAEvC,cAAc,CAAC,EAAC,KAAK,EAAE,UAAU,EAAC;;;KAAA;CAQnC;AAQD,mDAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"point-label-layer.d.ts","sourceRoot":"","sources":["../../src/layers/point-label-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,KAAK,EACL,UAAU,EACX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;;;KAAA,GAAG,iBAAiB;IA2D/F,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;CAmC1C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AccessorFunction, DefaultProps } from '@deck.gl/core';
|
|
2
2
|
import { _GeoCellLayer as GeoCellLayer, _GeoCellLayerProps as GeoCellLayerProps } from '@deck.gl/geo-layers';
|
|
3
3
|
/** All properties supported by QuadbinLayer. */
|
|
4
|
-
export
|
|
4
|
+
export type QuadbinLayerProps<DataT = unknown> = _QuadbinLayerProps<DataT> & GeoCellLayerProps<DataT>;
|
|
5
5
|
/** Properties added by QuadbinLayer. */
|
|
6
|
-
|
|
6
|
+
type _QuadbinLayerProps<DataT> = {
|
|
7
7
|
/**
|
|
8
8
|
* Called for each data object to retrieve the quadbin string identifier.
|
|
9
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-layer.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAC7D,OAAO,EACL,aAAa,IAAI,YAAY,EAC7B,kBAAkB,IAAI,iBAAiB,EACxC,MAAM,qBAAqB,CAAC;AAO7B,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"quadbin-layer.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAC7D,OAAO,EACL,aAAa,IAAI,YAAY,EAC7B,kBAAkB,IAAI,iBAAiB,EACxC,MAAM,qBAAqB,CAAC;AAO7B,gDAAgD;AAChD,MAAM,MAAM,iBAAiB,CAAC,KAAK,GAAG,OAAO,IAAI,kBAAkB,CAAC,KAAK,CAAC,GACxE,iBAAiB,CAAC,KAAK,CAAC,CAAC;AAE3B,wCAAwC;AACxC,KAAK,kBAAkB,CAAC,KAAK,IAAI;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CAC9C,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,YAAY,CAAC,KAAK,GAAG,GAAG,EAAE,UAAU,SAAS,EAAE,GAAG,EAAE,CAAE,SAAQ,YAAY,CAC7F,KAAK,EACL,QAAQ,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,GAAG,UAAU,CACjD;IACC,MAAM,CAAC,SAAS,SAAkB;IAClC,MAAM,CAAC,YAAY,2CAAgB;IAEnC,aAAa,IAAI,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG,IAAI;CAcvD"}
|
|
@@ -6,9 +6,9 @@ export declare const renderSubLayers: (props: any) => QuadbinLayer<any, {
|
|
|
6
6
|
getQuadbin: (d: any) => any;
|
|
7
7
|
}> | null;
|
|
8
8
|
/** All properties supported by QuadbinTileLayer. */
|
|
9
|
-
export
|
|
9
|
+
export type QuadbinTileLayerProps<DataT = unknown> = _QuadbinTileLayerProps<DataT> & CompositeLayerProps;
|
|
10
10
|
/** Properties added by QuadbinTileLayer. */
|
|
11
|
-
|
|
11
|
+
type _QuadbinTileLayerProps<DataT> = Omit<QuadbinLayerProps<DataT>, 'data'> & Omit<SpatialIndexTileLayerProps<DataT>, 'data'> & {
|
|
12
12
|
data: null | TilejsonResult | Promise<TilejsonResult>;
|
|
13
13
|
};
|
|
14
14
|
export default class QuadbinTileLayer<DataT = any, ExtraProps extends {} = {}> extends CompositeLayer<ExtraProps & Required<_QuadbinTileLayerProps<DataT>>> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,eAAe,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IAC5E,MAAM,CAAC,SAAS,SAAsB;IACtC,MAAM,CAAC,YAAY,+CAAgB;IAEnC,cAAc,IAAI,GAAG;IAQrB,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;CAkB1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-tileset-2d.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-tileset-2d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAK5D,
|
|
1
|
+
{"version":3,"file":"quadbin-tileset-2d.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-tileset-2d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAK5D,KAAK,gBAAgB,GAAG;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAEhD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,SAAS;IAErD,cAAc,CAAC,IAAI,KAAA,GAAG,gBAAgB,EAAE;IAQxC,SAAS,CAAC,EAAC,CAAC,EAAE,CAAC,EAAC,EAAE,gBAAgB,GAAG,MAAM;IAK3C,eAAe,CAAC,EAAC,CAAC,EAAC,EAAE,gBAAgB;IAKrC,WAAW,CAAC,EAAC,CAAC,EAAC,EAAE,gBAAgB,GAAG,MAAM;IAK1C,cAAc,CAAC,EAAC,CAAC,EAAC,EAAE,gBAAgB,GAAG,gBAAgB;CAGxD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Accessor, CompositeLayer, CompositeLayerProps, Layer, LayersList, DefaultProps } from '@deck.gl/core';
|
|
2
2
|
import { ColumnLayerProps } from '@deck.gl/layers';
|
|
3
3
|
/** All properties supported by RasterLayer. */
|
|
4
|
-
export
|
|
4
|
+
export type RasterLayerProps<DataT = unknown> = _RasterLayerProps & ColumnLayerProps<DataT> & CompositeLayerProps;
|
|
5
5
|
/** Properties added by RasterLayer. */
|
|
6
|
-
|
|
6
|
+
type _RasterLayerProps = {
|
|
7
7
|
/**
|
|
8
8
|
* Quadbin index of tile
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raster-layer.d.ts","sourceRoot":"","sources":["../../src/layers/raster-layer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,KAAK,EACL,UAAU,EACV,YAAY,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAc,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAyD9D,+CAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"raster-layer.d.ts","sourceRoot":"","sources":["../../src/layers/raster-layer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,KAAK,EACL,UAAU,EACV,YAAY,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAc,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAyD9D,+CAA+C;AAC/C,MAAM,MAAM,gBAAgB,CAAC,KAAK,GAAG,OAAO,IAAI,iBAAiB,GAC/D,gBAAgB,CAAC,KAAK,CAAC,GACvB,mBAAmB,CAAC;AAEtB,uCAAuC;AACvC,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAGF,MAAM,CAAC,OAAO,OAAO,WAAW,CAAC,KAAK,GAAG,GAAG,EAAE,UAAU,GAAG,EAAE,CAAE,SAAQ,cAAc,CACnF,QAAQ,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,GAAG,UAAU,CAC/C;IACC,MAAM,CAAC,SAAS,SAAiB;IACjC,MAAM,CAAC,YAAY,0CAAgB;IAEnC,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;IA6CzC,SAAS,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,EAAE,GAAG,CAAC,GAAG,QAAQ,CAAC,EAAE,EAAE,GAAG,CAAC;CAcvF"}
|
|
@@ -6,9 +6,9 @@ export declare const renderSubLayers: (props: any) => RasterLayer<any, {
|
|
|
6
6
|
tileIndex: any;
|
|
7
7
|
}> | null;
|
|
8
8
|
/** All properties supported by RasterTileLayer. */
|
|
9
|
-
export
|
|
9
|
+
export type RasterTileLayerProps<DataT = unknown> = _RasterTileLayerProps<DataT> & CompositeLayerProps;
|
|
10
10
|
/** Properties added by RasterTileLayer. */
|
|
11
|
-
|
|
11
|
+
type _RasterTileLayerProps<DataT> = Omit<RasterLayerProps<DataT>, 'data'> & Omit<SpatialIndexTileLayerProps<DataT>, 'data'> & {
|
|
12
12
|
data: null | TilejsonResult | Promise<TilejsonResult>;
|
|
13
13
|
};
|
|
14
14
|
export default class RasterTileLayer<DataT = any, ExtraProps extends {} = {}> extends CompositeLayer<ExtraProps & Required<_RasterTileLayerProps<DataT>>> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raster-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/raster-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,WAAW,EAAE,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAE7D,OAA8B,EAAC,0BAA0B,EAAC,MAAM,4BAA4B,CAAC;AAC7F,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAGrD,eAAO,MAAM,eAAe;;SAI3B,CAAC;AAMF,mDAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"raster-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/raster-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,WAAW,EAAE,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAE7D,OAA8B,EAAC,0BAA0B,EAAC,MAAM,4BAA4B,CAAC;AAC7F,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAGrD,eAAO,MAAM,eAAe;;SAI3B,CAAC;AAMF,mDAAmD;AACnD,MAAM,MAAM,oBAAoB,CAAC,KAAK,GAAG,OAAO,IAAI,qBAAqB,CAAC,KAAK,CAAC,GAC9E,mBAAmB,CAAC;AAEtB,2CAA2C;AAC3C,KAAK,qBAAqB,CAAC,KAAK,IAAI,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GACvE,IAAI,CAAC,0BAA0B,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG;IAChD,IAAI,EAAE,IAAI,GAAG,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;CACvD,CAAC;AAEJ,MAAM,CAAC,OAAO,OAAO,eAAe,CAClC,KAAK,GAAG,GAAG,EACX,UAAU,SAAS,EAAE,GAAG,EAAE,CAC1B,SAAQ,cAAc,CAAC,UAAU,GAAG,QAAQ,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3E,MAAM,CAAC,SAAS,SAAqB;IACrC,MAAM,CAAC,YAAY,8CAAgB;IAEnC,cAAc,IAAI,GAAG;IAOrB,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;CAmB1C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LoaderWithParser } from '@loaders.gl/loader-utils';
|
|
2
2
|
import { NumericProps, Properties } from './spatialjson-utils';
|
|
3
3
|
declare const CartoRasterTileLoader: LoaderWithParser;
|
|
4
|
-
export
|
|
4
|
+
export type Raster = {
|
|
5
5
|
blockWidth: number;
|
|
6
6
|
blockHeight: number;
|
|
7
7
|
cells: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carto-raster-tile-loader.d.ts","sourceRoot":"","sources":["../../../src/layers/schema/carto-raster-tile-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAKzE,OAAO,EAAC,YAAY,EAAE,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAiB7D,QAAA,MAAM,qBAAqB,EAAE,gBAa5B,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"carto-raster-tile-loader.d.ts","sourceRoot":"","sources":["../../../src/layers/schema/carto-raster-tile-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAKzE,OAAO,EAAC,YAAY,EAAE,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAiB7D,QAAA,MAAM,qBAAqB,EAAE,gBAa5B,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE;QACL,YAAY,EAAE,YAAY,CAAC;QAC3B,UAAU,EAAE,UAAU,EAAE,CAAC;KAC1B,CAAC;CACH,CAAC;AAiBF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
export type IndexScheme = 'h3' | 'quadbin';
|
|
2
|
+
type TypedArray = Float32Array | Float64Array;
|
|
3
|
+
export type Indices = {
|
|
4
4
|
value: BigUint64Array;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type NumericProps = Record<string, {
|
|
7
7
|
value: number[] | TypedArray;
|
|
8
8
|
}>;
|
|
9
|
-
export
|
|
10
|
-
export
|
|
9
|
+
export type Properties = Record<string, string | number | boolean | null>;
|
|
10
|
+
export type Cells = {
|
|
11
11
|
indices: Indices;
|
|
12
12
|
numericProps: NumericProps;
|
|
13
13
|
properties: Properties[];
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type SpatialBinary = {
|
|
16
16
|
scheme?: IndexScheme;
|
|
17
17
|
cells: Cells;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type SpatialJson = {
|
|
20
20
|
id: string | bigint;
|
|
21
21
|
properties: Properties;
|
|
22
22
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spatialjson-utils.d.ts","sourceRoot":"","sources":["../../../src/layers/schema/spatialjson-utils.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"spatialjson-utils.d.ts","sourceRoot":"","sources":["../../../src/layers/schema/spatialjson-utils.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC;AAC3C,KAAK,UAAU,GAAG,YAAY,GAAG,YAAY,CAAC;AAE9C,MAAM,MAAM,OAAO,GAAG;IAAC,KAAK,EAAE,cAAc,CAAA;CAAC,CAAC;AAC9C,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE;IAAC,KAAK,EAAE,MAAM,EAAE,GAAG,UAAU,CAAA;CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;AAC1E,MAAM,MAAM,KAAK,GAAG;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,UAAU,EAAE,CAAC;CAC1B,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAAC,MAAM,CAAC,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;CACxB,EAAE,CAAC;AAEJ,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,GAAG,WAAW,CAetE"}
|
|
@@ -2,9 +2,9 @@ import { DefaultProps } from '@deck.gl/core';
|
|
|
2
2
|
import { PickingInfo } from '@deck.gl/core';
|
|
3
3
|
import { TileLayer, _Tile2DHeader as Tile2DHeader, TileLayerProps } from '@deck.gl/geo-layers';
|
|
4
4
|
/** All properties supported by SpatialIndexTileLayer. */
|
|
5
|
-
export
|
|
5
|
+
export type SpatialIndexTileLayerProps<DataT = unknown> = _SpatialIndexTileLayerProps & TileLayerProps<DataT>;
|
|
6
6
|
/** Properties added by SpatialIndexTileLayer. */
|
|
7
|
-
|
|
7
|
+
type _SpatialIndexTileLayerProps = {};
|
|
8
8
|
export default class SpatialIndexTileLayer<DataT = any, ExtraProps extends {} = {}> extends TileLayer<DataT, ExtraProps & Required<_SpatialIndexTileLayerProps>> {
|
|
9
9
|
static layerName: string;
|
|
10
10
|
static defaultProps: DefaultProps<SpatialIndexTileLayerProps<unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spatial-index-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/spatial-index-tile-layer.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAK3C,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,SAAS,EAAE,aAAa,IAAI,YAAY,EAAE,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAQ7F,yDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"spatial-index-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/spatial-index-tile-layer.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAK3C,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,SAAS,EAAE,aAAa,IAAI,YAAY,EAAE,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAQ7F,yDAAyD;AACzD,MAAM,MAAM,0BAA0B,CAAC,KAAK,GAAG,OAAO,IAAI,2BAA2B,GACnF,cAAc,CAAC,KAAK,CAAC,CAAC;AAExB,iDAAiD;AACjD,KAAK,2BAA2B,GAAG,EAAE,CAAC;AAEtC,MAAM,CAAC,OAAO,OAAO,qBAAqB,CACxC,KAAK,GAAG,GAAG,EACX,UAAU,SAAS,EAAE,GAAG,EAAE,CAC1B,SAAQ,SAAS,CAAC,KAAK,EAAE,UAAU,GAAG,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAC5E,MAAM,CAAC,SAAS,SAA2B;IAC3C,MAAM,CAAC,YAAY,oDAAgB;IAEnC,KAAK,EAAG,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,GAAG;QAClC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;QAChC,cAAc,EAAE,MAAM,EAAE,CAAC;KAC1B,CAAC;IAEF,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI;IAsBvD,sBAAsB,CAAC,IAAI,EAAE,YAAY;;;;IAOzC,yBAAyB,CAAC,IAAI,EAAE,YAAY;IAiB5C,cAAc,CAAC,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM;CAe9D"}
|
|
@@ -3,9 +3,9 @@ import { MVTLayer, MVTLayerProps, TileLayer, _Tile2DHeader, _TileLoadProps as Ti
|
|
|
3
3
|
import { GeoJsonLayer } from '@deck.gl/layers';
|
|
4
4
|
import type { TilejsonResult } from '../sources/types';
|
|
5
5
|
/** All properties supported by VectorTileLayer. */
|
|
6
|
-
export
|
|
6
|
+
export type VectorTileLayerProps = _VectorTileLayerProps & Omit<MVTLayerProps, 'data'>;
|
|
7
7
|
/** Properties added by VectorTileLayer. */
|
|
8
|
-
|
|
8
|
+
type _VectorTileLayerProps = {
|
|
9
9
|
data: null | TilejsonResult | Promise<TilejsonResult>;
|
|
10
10
|
};
|
|
11
11
|
export default class VectorTileLayer<ExtraProps extends {} = {}> extends MVTLayer<Required<_VectorTileLayerProps> & ExtraProps> {
|
|
@@ -24,7 +24,7 @@ export default class VectorTileLayer<ExtraProps extends {} = {}> extends MVTLaye
|
|
|
24
24
|
_offset: number;
|
|
25
25
|
tile: _Tile2DHeader;
|
|
26
26
|
}): GeoJsonLayer | null;
|
|
27
|
-
getPickingInfo(params: any): import("modules/geo-layers/src/tile-layer/tile-layer").TiledPickingInfo
|
|
27
|
+
getPickingInfo(params: any): import("modules/geo-layers/src/tile-layer/tile-layer").TiledPickingInfo;
|
|
28
28
|
}
|
|
29
29
|
export {};
|
|
30
30
|
//# sourceMappingURL=vector-tile-layer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vector-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/vector-tile-layer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAE3C,OAAO,EACL,QAAQ,EACR,aAAa,EACb,SAAS,EAET,aAAa,EACb,cAAc,IAAI,aAAa,EAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAK7C,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AASrD,mDAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"vector-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/vector-tile-layer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAE3C,OAAO,EACL,QAAQ,EACR,aAAa,EACb,SAAS,EAET,aAAa,EACb,cAAc,IAAI,aAAa,EAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAK7C,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AASrD,mDAAmD;AACnD,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;AAEvF,2CAA2C;AAC3C,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,IAAI,GAAG,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;CACvD,CAAC;AAIF,MAAM,CAAC,OAAO,OAAO,eAAe,CAAC,UAAU,SAAS,EAAE,GAAG,EAAE,CAAE,SAAQ,QAAQ,CAC/E,QAAQ,CAAC,qBAAqB,CAAC,GAAG,UAAU,CAC7C;IACC,MAAM,CAAC,SAAS,SAAqB;IACrC,MAAM,CAAC,YAAY,qCAAgB;IAEnC,KAAK,EAAG,QAAQ,CAAC,OAAO,CAAC,GAAG;QAC1B,GAAG,EAAE,OAAO,CAAC;KACd,CAAC;IAEF,eAAe,IAAI,IAAI;IAKvB,WAAW,CAAC,UAAU,KAAA;IAWtB,cAAc,IAAI,GAAG;IAQf,WAAW,CAAC,IAAI,EAAE,aAAa;IAoCrC,eAAe,CACb,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG;QAC1B,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,GAAG,CAAC;QACV,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,aAAa,CAAC;KACrB,GACA,YAAY,GAAG,IAAI;IAuBtB,cAAc,CAAC,MAAM,KAAA;CAYtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-source.d.ts","sourceRoot":"","sources":["../../src/sources/base-source.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAkB,OAAO,EAAC,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EACV,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"base-source.d.ts","sourceRoot":"","sources":["../../src/sources/base-source.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAkB,OAAO,EAAC,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EACV,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,qBAAqB,EAErB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,eAAe,EAAE,qBAK7B,CAAC;AAEF,wBAAsB,UAAU,CAAC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC3E,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,EAC/D,aAAa,EAAE,aAAa,GAC3B,OAAO,CAAC,cAAc,GAAG,aAAa,GAAG,UAAU,CAAC,CA6CtD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QueryParameters } from '../api';
|
|
2
2
|
import type { SourceOptions, TilejsonResult } from './types';
|
|
3
|
-
export
|
|
3
|
+
export type BoundaryQuerySourceOptions = SourceOptions & {
|
|
4
4
|
tilesetTableName: string;
|
|
5
5
|
matchingColumn?: string;
|
|
6
6
|
propertiesSqlQuery: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/boundary-query-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE3D,
|
|
1
|
+
{"version":3,"file":"boundary-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/boundary-query-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,0BAA0B,GAAG,aAAa,GAAG;IACvD,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC;AAQF,eAAO,MAAM,mBAAmB,YACrB,0BAA0B,KAClC,QAAQ,cAAc,CAWxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/boundary-table-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE3D,
|
|
1
|
+
{"version":3,"file":"boundary-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/boundary-table-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,0BAA0B,GAAG,aAAa,GAAG;IACvD,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAQF,eAAO,MAAM,mBAAmB,YACrB,0BAA0B,KAClC,QAAQ,cAAc,CAYxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AggregationOptions, QuerySourceOptions, SourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type H3QuerySourceOptions = SourceOptions & QuerySourceOptions & AggregationOptions;
|
|
3
3
|
export declare const h3QuerySource: (options: H3QuerySourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=h3-query-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EAEb,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,
|
|
1
|
+
{"version":3,"file":"h3-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EAEb,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AAU3F,eAAO,MAAM,aAAa,YACf,oBAAoB,KAC5B,QAAQ,cAAc,CAsBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AggregationOptions, SourceOptions, TableSourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type H3TableSourceOptions = SourceOptions & TableSourceOptions & AggregationOptions;
|
|
3
3
|
export declare const h3TableSource: (options: H3TableSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=h3-table-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EAEb,kBAAkB,EAClB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,
|
|
1
|
+
{"version":3,"file":"h3-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EAEb,kBAAkB,EAClB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AAW3F,eAAO,MAAM,aAAa,YACf,oBAAoB,KAC5B,QAAQ,cAAc,CAsBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SourceOptions, TilejsonResult, TilesetSourceOptions } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type H3TilesetSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
3
3
|
export declare const h3TilesetSource: (options: H3TilesetSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=h3-tileset-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,
|
|
1
|
+
{"version":3,"file":"h3-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG,oBAAoB,CAAC;AAG1E,eAAO,MAAM,eAAe,YACjB,sBAAsB,KAC9B,QAAQ,cAAc,CAKxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AggregationOptions, QuerySourceOptions, SourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type QuadbinQuerySourceOptions = SourceOptions & QuerySourceOptions & AggregationOptions;
|
|
3
3
|
export declare const quadbinQuerySource: (options: QuadbinQuerySourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=quadbin-query-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EAEb,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,
|
|
1
|
+
{"version":3,"file":"quadbin-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EAEb,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,yBAAyB,GAAG,aAAa,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AAWhG,eAAO,MAAM,kBAAkB,YACpB,yBAAyB,KACjC,QAAQ,cAAc,CAsBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AggregationOptions, SourceOptions, TableSourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type QuadbinTableSourceOptions = SourceOptions & TableSourceOptions & AggregationOptions;
|
|
3
3
|
export declare const quadbinTableSource: (options: QuadbinTableSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=quadbin-table-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EAEb,kBAAkB,EAClB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,
|
|
1
|
+
{"version":3,"file":"quadbin-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EAEb,kBAAkB,EAClB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,yBAAyB,GAAG,aAAa,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AAWhG,eAAO,MAAM,kBAAkB,YACpB,yBAAyB,KACjC,QAAQ,cAAc,CAuBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SourceOptions, TilejsonResult, TilesetSourceOptions } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type QuadbinTilesetSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
3
3
|
export declare const quadbinTilesetSource: (options: QuadbinTilesetSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=quadbin-tileset-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,
|
|
1
|
+
{"version":3,"file":"quadbin-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,2BAA2B,GAAG,aAAa,GAAG,oBAAoB,CAAC;AAG/E,eAAO,MAAM,oBAAoB,YACtB,2BAA2B,KACnC,QAAQ,cAAc,CAKxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SourceOptions, TilejsonResult, TilesetSourceOptions } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type RasterSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
3
3
|
export declare const rasterSource: (options: RasterSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=raster-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raster-source.d.ts","sourceRoot":"","sources":["../../src/sources/raster-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,
|
|
1
|
+
{"version":3,"file":"raster-source.d.ts","sourceRoot":"","sources":["../../src/sources/raster-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG,oBAAoB,CAAC;AAGvE,eAAO,MAAM,YAAY,YAA4B,mBAAmB,KAAG,QAAQ,cAAc,CAKhG,CAAC"}
|
package/typed/sources/types.d.ts
CHANGED
|
@@ -1,40 +1,115 @@
|
|
|
1
1
|
import type { Feature } from 'geojson';
|
|
2
2
|
import type { Format, MapInstantiation, QueryParameters } from '../api/types';
|
|
3
|
-
export
|
|
3
|
+
export type SourceRequiredOptions = {
|
|
4
|
+
/** Carto platform access token. */
|
|
4
5
|
accessToken: string;
|
|
6
|
+
/** Data warehouse connection name in Carto platform. */
|
|
5
7
|
connectionName: string;
|
|
6
8
|
};
|
|
7
|
-
export
|
|
9
|
+
export type SourceOptionalOptions = {
|
|
10
|
+
/**
|
|
11
|
+
* Base URL of the CARTO Maps API.
|
|
12
|
+
*
|
|
13
|
+
* Example for account located in EU-west region: `https://gcp-eu-west1.api.carto.com`
|
|
14
|
+
*
|
|
15
|
+
* @default https://gcp-us-east1.api.carto.com
|
|
16
|
+
*/
|
|
8
17
|
apiBaseUrl: string;
|
|
18
|
+
/**
|
|
19
|
+
* Custom HTTP headers added to map instantiation and data requests.
|
|
20
|
+
*/
|
|
21
|
+
headers: Record<string, string>;
|
|
22
|
+
/**
|
|
23
|
+
* Cache buster value returned by map instantiation.
|
|
24
|
+
*
|
|
25
|
+
* Carto source saves `cache` value of map instantiation response in `cache.value`, so it can be used to
|
|
26
|
+
* check if underlying map data has changed between distinct source requests.
|
|
27
|
+
*/
|
|
9
28
|
cache?: {
|
|
10
29
|
value?: number;
|
|
11
30
|
};
|
|
12
31
|
clientId: string;
|
|
13
32
|
/** @deprecated use `query` instead **/
|
|
14
33
|
format: Format;
|
|
15
|
-
headers: Record<string, string>;
|
|
16
|
-
mapsUrl?: string;
|
|
17
34
|
};
|
|
18
|
-
export
|
|
19
|
-
export
|
|
35
|
+
export type SourceOptions = SourceRequiredOptions & Partial<SourceOptionalOptions>;
|
|
36
|
+
export type AggregationOptions = {
|
|
37
|
+
/**
|
|
38
|
+
* Defines the aggregation expressions that will be calculated from the resulting columns on each grid cell.
|
|
39
|
+
*
|
|
40
|
+
* Example:
|
|
41
|
+
*
|
|
42
|
+
* sum(pop) as total_population, avg(rev) as average_revenue
|
|
43
|
+
*/
|
|
20
44
|
aggregationExp: string;
|
|
45
|
+
/**
|
|
46
|
+
* Defines the tile aggregation resolution.
|
|
47
|
+
*
|
|
48
|
+
* @default 6 for quadbin and 4 for h3 sources
|
|
49
|
+
*/
|
|
21
50
|
aggregationResLevel?: number;
|
|
22
51
|
};
|
|
23
|
-
export
|
|
52
|
+
export type QuerySourceOptions = {
|
|
53
|
+
/**
|
|
54
|
+
* The column name and the type of geospatial support.
|
|
55
|
+
*
|
|
56
|
+
* If not present, defaults to `'geom'` for generic queries, `'quadbin'` for Quadbin sources and `'h3'` for H3 sources.
|
|
57
|
+
*/
|
|
24
58
|
spatialDataColumn?: string;
|
|
59
|
+
/** SQL query. */
|
|
25
60
|
sqlQuery: string;
|
|
61
|
+
/**
|
|
62
|
+
* Values for named or positional paramteres in the query.
|
|
63
|
+
*
|
|
64
|
+
* The way query parameters are determined by data warehouse.
|
|
65
|
+
*
|
|
66
|
+
* * BigQuery has named query parameters, specified with a dictionary, and referenced by key (`@key`)
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
* sqlQuery: "SELECT * FROM carto-demo-data.demo_tables.retail_stores WHERE storetype = @type AND revenue > @minRevenue"
|
|
70
|
+
* queryParameters: { type: 'Supermarket', minRevenue: 1000000 }
|
|
71
|
+
* ```
|
|
72
|
+
* * Snowflake supports positional parameters, in the form `:1`, `:2`, etc.
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
* sqlQuery: "SELECT * FROM demo_db.public.import_retail_stores WHERE storetype = :2 AND revenue > :1
|
|
76
|
+
* queryParameters: [100000, "Supermarket"]
|
|
77
|
+
* ```
|
|
78
|
+
* * Postgres and Redhisft supports positional parameters, but in the form `$1`, `$2`, etc.
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
* sqlQuery: "SELECT * FROM carto_demo_data.demo_tables.retail_stores WHERE storetype = $2 AND revenue > $1
|
|
82
|
+
* queryParameters: [100000, "Supermarket"]
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
26
85
|
queryParameters?: QueryParameters;
|
|
27
86
|
};
|
|
28
|
-
export
|
|
87
|
+
export type TableSourceOptions = {
|
|
88
|
+
/**
|
|
89
|
+
* Fully qualified name of table.
|
|
90
|
+
*/
|
|
91
|
+
tableName: string;
|
|
92
|
+
/**
|
|
93
|
+
* Columns to retrieve from the table.
|
|
94
|
+
*
|
|
95
|
+
* If not present, all columns are returned.
|
|
96
|
+
*/
|
|
29
97
|
columns?: string[];
|
|
98
|
+
/**
|
|
99
|
+
* The column name and the type of geospatial support.
|
|
100
|
+
*
|
|
101
|
+
* If not present, defaults to `'geom'` for generic tables, `'quadbin'` for Quadbin sources and `'h3'` for H3 sources.
|
|
102
|
+
*/
|
|
30
103
|
spatialDataColumn?: string;
|
|
31
|
-
tableName: string;
|
|
32
104
|
};
|
|
33
|
-
export
|
|
105
|
+
export type TilesetSourceOptions = {
|
|
106
|
+
/**
|
|
107
|
+
* Fully qualified name of tileset.
|
|
108
|
+
*/
|
|
34
109
|
tableName: string;
|
|
35
110
|
};
|
|
36
|
-
export
|
|
37
|
-
export
|
|
111
|
+
export type SpatialDataType = 'geo' | 'h3' | 'quadbin';
|
|
112
|
+
export type TilejsonMapInstantiation = MapInstantiation & {
|
|
38
113
|
tilejson: {
|
|
39
114
|
url: string[];
|
|
40
115
|
};
|
|
@@ -77,15 +152,15 @@ export interface VectorLayer {
|
|
|
77
152
|
maxzoom: number;
|
|
78
153
|
fields: Record<string, string>;
|
|
79
154
|
}
|
|
80
|
-
export
|
|
155
|
+
export type TilejsonResult = Tilejson & {
|
|
81
156
|
accessToken: string;
|
|
82
157
|
};
|
|
83
|
-
export
|
|
158
|
+
export type GeojsonResult = {
|
|
84
159
|
type: 'FeatureCollection';
|
|
85
160
|
features: Feature[];
|
|
86
161
|
};
|
|
87
|
-
export
|
|
88
|
-
export
|
|
162
|
+
export type JsonResult = any[];
|
|
163
|
+
export type QueryResult = {
|
|
89
164
|
meta: {
|
|
90
165
|
cacheHit: boolean;
|
|
91
166
|
location: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/sources/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAC,MAAM,EAAE,gBAAgB,EAAE,eAAe,EAAC,MAAM,cAAc,CAAC;AAE5E,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/sources/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAC,MAAM,EAAE,gBAAgB,EAAE,eAAe,EAAC,MAAM,cAAc,CAAC;AAE5E,MAAM,MAAM,qBAAqB,GAAG;IAClC,mCAAmC;IACnC,WAAW,EAAE,MAAM,CAAC;IAEpB,wDAAwD;IACxD,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;;;OAMG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEhC;;;;;OAKG;IACH,KAAK,CAAC,EAAE;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC;IAEzB,QAAQ,EAAE,MAAM,CAAC;IACjB,wCAAwC;IACxC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AA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ACzE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAC5B,MAAM,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,EAAE,CAAC;CACxC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SourceOptions, QuerySourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type VectorQuerySourceOptions = SourceOptions & QuerySourceOptions;
|
|
3
3
|
export declare const vectorQuerySource: (options: VectorQuerySourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=vector-query-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vector-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/vector-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,aAAa,EAAE,kBAAkB,EAAmB,cAAc,EAAC,MAAM,SAAS,CAAC;AAEhG,
|
|
1
|
+
{"version":3,"file":"vector-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/vector-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,aAAa,EAAE,kBAAkB,EAAmB,cAAc,EAAC,MAAM,SAAS,CAAC;AAEhG,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG,kBAAkB,CAAC;AAQ1E,eAAO,MAAM,iBAAiB,YACnB,wBAAwB,KAChC,QAAQ,cAAc,CAQxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SourceOptions, TableSourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type VectorTableSourceOptions = SourceOptions & TableSourceOptions;
|
|
3
3
|
export declare const vectorTableSource: (options: VectorTableSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=vector-table-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vector-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/vector-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,aAAa,EAAmB,kBAAkB,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAEhG,
|
|
1
|
+
{"version":3,"file":"vector-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/vector-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,aAAa,EAAmB,kBAAkB,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAEhG,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG,kBAAkB,CAAC;AAQ1E,eAAO,MAAM,iBAAiB,YACnB,wBAAwB,KAChC,QAAQ,cAAc,CAQxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SourceOptions, TilesetSourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type VectorTilesetSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
3
3
|
export declare const vectorTilesetSource: (options: VectorTilesetSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=vector-tileset-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vector-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/vector-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,oBAAoB,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAEjF,
|
|
1
|
+
{"version":3,"file":"vector-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/vector-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,oBAAoB,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,0BAA0B,GAAG,aAAa,GAAG,oBAAoB,CAAC;AAG9E,eAAO,MAAM,mBAAmB,YACrB,0BAA0B,KAClC,QAAQ,cAAc,CAKxB,CAAC"}
|
package/typed/style/palette.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Color = [r: number, b: number, g: number, a?: number];
|
|
2
2
|
export declare const DEFAULT_PALETTE = "PurpOr";
|
|
3
3
|
export declare const NULL_COLOR: Color;
|
|
4
4
|
export declare const OTHERS_COLOR: Color;
|