@carto/api-client 0.5.25-alpha.ordinal-palette-fix.0 → 0.5.26
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/CHANGELOG.md +6 -0
- package/build/api-client.cjs +3 -2
- package/build/api-client.cjs.map +1 -1
- package/build/api-client.d.cts +7 -0
- package/build/api-client.d.ts +7 -0
- package/build/api-client.js +3 -2
- package/build/api-client.js.map +1 -1
- package/package.json +2 -3
- package/src/widget-sources/types.ts +9 -1
- package/src/widget-sources/widget-remote-source.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
### 0.5.26
|
|
6
|
+
|
|
7
|
+
- fix(widgetSources): add offset request option and total for pagination (#273)
|
|
8
|
+
|
|
9
|
+
### 0.5.25
|
|
10
|
+
|
|
5
11
|
- fix(fetchMap): ordinal color scale overflow categories render as "Others" instead of cycling palette (#269)
|
|
6
12
|
|
|
7
13
|
### 0.5.24
|
package/build/api-client.cjs
CHANGED
|
@@ -6664,7 +6664,7 @@ var WidgetRemoteSource = class extends WidgetSource {
|
|
|
6664
6664
|
spatialFiltersMode,
|
|
6665
6665
|
...params
|
|
6666
6666
|
} = options;
|
|
6667
|
-
const { columns, dataType, featureIds, z, limit, tileResolution } = params;
|
|
6667
|
+
const { columns, dataType, featureIds, z, limit, tileResolution, offset } = params;
|
|
6668
6668
|
return executeModel({
|
|
6669
6669
|
model: "pick",
|
|
6670
6670
|
source: {
|
|
@@ -6677,12 +6677,13 @@ var WidgetRemoteSource = class extends WidgetSource {
|
|
|
6677
6677
|
dataType,
|
|
6678
6678
|
featureIds,
|
|
6679
6679
|
z,
|
|
6680
|
+
offset,
|
|
6680
6681
|
limit: limit || 1e3,
|
|
6681
6682
|
tileResolution: tileResolution || DEFAULT_TILE_RESOLUTION
|
|
6682
6683
|
},
|
|
6683
6684
|
opts: { signal, headers: this.props.headers }
|
|
6684
6685
|
// Avoid `normalizeObjectKeys()`, which changes column names.
|
|
6685
|
-
}).then(({ rows }) => ({ rows }));
|
|
6686
|
+
}).then(({ rows, metadata }) => ({ rows, metadata }));
|
|
6686
6687
|
}
|
|
6687
6688
|
async getFormula(options) {
|
|
6688
6689
|
const {
|