Skip to content

Commit

Permalink
Release v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
compose-sdk-release-bot committed Feb 23, 2024
1 parent 7f7565b commit 967f225
Show file tree
Hide file tree
Showing 20 changed files with 172 additions and 197 deletions.
56 changes: 24 additions & 32 deletions docs-md/sdk/modules/sdk-ui/functions/function.GetNlgQueryResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,41 +36,33 @@ import { AiContextProvider, GetNlgQueryResult } from '@sisense/sdk-ui/ai';
function Page() {
return (
<GetNlgQueryResult
dataSource="Sample ECommerce"
metadata={[
{
jaql: {
column: 'Date',
datatype: 'datetime',
dim: '[Commerce.Date]',
firstday: 'mon',
level: 'years',
table: 'Commerce',
title: 'Date',
},
format: {
mask: {
days: 'shortDate',
isdefault: true,
minutes: 'HH:mm',
months: 'MM/yyyy',
quarters: 'yyyy Q',
weeks: 'ww yyyy',
years: 'yyyy',
jaql={{
datasource: { title: 'Sample ECommerce' },
metadata: [
{
jaql: {
column: 'Date',
datatype: 'datetime',
dim: '[Commerce.Date]',
firstday: 'mon',
level: 'years',
table: 'Commerce',
title: 'Date',
},
},
},
{
jaql: {
agg: 'sum',
column: 'Revenue',
datatype: 'numeric',
dim: '[Commerce.Revenue]',
table: 'Commerce',
title: 'total of Revenue',
{
jaql: {
agg: 'sum',
column: 'Revenue',
datatype: 'numeric',
dim: '[Commerce.Revenue]',
table: 'Commerce',
title: 'total of Revenue',
},
},
},
]}
],
}}
style="Large"
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,41 +60,33 @@ import { AiContextProvider, useGetNlgQueryResult } from '@sisense/sdk-ui/ai';

function Page() {
const { data } = useGetNlgQueryResult({
dataSource: 'Sample ECommerce',
metadata: [
{
jaql: {
column: 'Date',
datatype: 'datetime',
dim: '[Commerce.Date]',
firstday: 'mon',
level: 'years',
table: 'Commerce',
title: 'Date',
},
format: {
mask: {
days: 'shortDate',
isdefault: true,
minutes: 'HH:mm',
months: 'MM/yyyy',
quarters: 'yyyy Q',
weeks: 'ww yyyy',
years: 'yyyy',
jaql: {
datasource: { title: 'Sample ECommerce' },
metadata: [
{
jaql: {
column: 'Date',
datatype: 'datetime',
dim: '[Commerce.Date]',
firstday: 'mon',
level: 'years',
table: 'Commerce',
title: 'Date',
},
},
},
{
jaql: {
agg: 'sum',
column: 'Revenue',
datatype: 'numeric',
dim: '[Commerce.Revenue]',
table: 'Commerce',
title: 'total of Revenue',
{
jaql: {
agg: 'sum',
column: 'Revenue',
datatype: 'numeric',
dim: '[Commerce.Revenue]',
table: 'Commerce',
title: 'total of Revenue',
},
},
},
],
],
},
style: 'Large',
});
return (
<>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
Expand Down
14 changes: 7 additions & 7 deletions packages/sdk-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"exports": "./dist/index.js",
"main": "./dist/index.js",
Expand All @@ -20,12 +20,12 @@
"license": "SEE LICENSE IN LICENSE.md",
"bin": "./dist/index.js",
"dependencies": {
"@sisense/sdk-common": "^1.4.0",
"@sisense/sdk-data": "^1.4.0",
"@sisense/sdk-modeling": "^1.4.0",
"@sisense/sdk-query-client": "^1.4.0",
"@sisense/sdk-rest-client": "^1.4.0",
"@sisense/sdk-tracking": "^1.4.0",
"@sisense/sdk-common": "^1.4.1",
"@sisense/sdk-data": "^1.4.1",
"@sisense/sdk-modeling": "^1.4.1",
"@sisense/sdk-query-client": "^1.4.1",
"@sisense/sdk-rest-client": "^1.4.1",
"@sisense/sdk-tracking": "^1.4.1",
"cross-fetch": "^4.0.0",
"inquirer": "^8.1.2",
"node-window-polyfill": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"exports": {
".": "./dist/index.js"
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"exports": {
".": "./dist/index.js",
Expand All @@ -23,8 +23,8 @@
"author": "Sisense ",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@sisense/sdk-common": "^1.4.0",
"@sisense/sdk-rest-client": "^1.4.0",
"@sisense/sdk-common": "^1.4.1",
"@sisense/sdk-rest-client": "^1.4.1",
"guid-typescript": "^1.0.9",
"lodash": "^4.17.21",
"numeral": "^2.0.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk-modeling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"author": "Sisense",
"license": "SEE LICENSE IN LICENSE.md",
"type": "module",
Expand All @@ -20,7 +20,7 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"@sisense/sdk-data": "^1.4.0",
"@sisense/sdk-data": "^1.4.1",
"typescript": "4.8.4"
},
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk-pivot-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"exports": "./dist/index.js",
"main": "./dist/index.js",
Expand Down Expand Up @@ -39,8 +39,8 @@
],
"dependencies": {
"@mui/material": "^5.11.6",
"@sisense/sdk-data": "^1.4.0",
"@sisense/sdk-rest-client": "^1.4.0",
"@sisense/sdk-data": "^1.4.1",
"@sisense/sdk-rest-client": "^1.4.1",
"classnames": "2.3.2",
"dom-css": "2.1.0",
"immer": "^10.0.2",
Expand Down
10 changes: 5 additions & 5 deletions packages/sdk-query-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"exports": "./dist/index.js",
"main": "./dist/index.js",
Expand All @@ -20,10 +20,10 @@
"author": "Sisense",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@sisense/sdk-common": "^1.4.0",
"@sisense/sdk-data": "^1.4.0",
"@sisense/sdk-pivot-client": "^1.4.0",
"@sisense/sdk-rest-client": "^1.4.0",
"@sisense/sdk-common": "^1.4.1",
"@sisense/sdk-data": "^1.4.1",
"@sisense/sdk-pivot-client": "^1.4.1",
"@sisense/sdk-rest-client": "^1.4.1",
"@sisense/task-manager": "^0.1.0",
"numeral": "^2.0.6",
"ts-deepmerge": "6.0.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk-rest-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"exports": "./dist/index.js",
"main": "./dist/index.js",
Expand All @@ -20,7 +20,7 @@
"author": "Sisense",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@sisense/sdk-common": "^1.4.0",
"@sisense/sdk-common": "^1.4.1",
"fetch-intercept": "^2.4.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-tracking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"exports": {
".": "./dist/index.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-ui-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"author": "Sisense",
"license": "SEE LICENSE IN LICENSE.md",
"main": "dist",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk-ui-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"exports": {
".": {
Expand All @@ -25,7 +25,7 @@
"author": "Sisense",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@sisense/sdk-ui": "^1.4.0",
"@sisense/sdk-ui": "^1.4.1",
"preact": "^10.13.2"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-ui-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
14 changes: 7 additions & 7 deletions packages/sdk-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Sisense",
"Compose SDK"
],
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -39,12 +39,12 @@
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/material": "^5.11.6",
"@sisense/sdk-common": "^1.4.0",
"@sisense/sdk-data": "^1.4.0",
"@sisense/sdk-pivot-client": "^1.4.0",
"@sisense/sdk-query-client": "^1.4.0",
"@sisense/sdk-rest-client": "^1.4.0",
"@sisense/sdk-tracking": "^1.4.0",
"@sisense/sdk-common": "^1.4.1",
"@sisense/sdk-data": "^1.4.1",
"@sisense/sdk-pivot-client": "^1.4.1",
"@sisense/sdk-query-client": "^1.4.1",
"@sisense/sdk-rest-client": "^1.4.1",
"@sisense/sdk-tracking": "^1.4.1",
"@sisense/sisense-charts": "5.1.0-alpha-04052758.0",
"@tanstack/react-query": "4.36.1",
"classnames": "^2.3.2",
Expand Down
9 changes: 7 additions & 2 deletions packages/sdk-ui/src/__demo__/pages/areamap-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ export const AreamapChartDemo = () => {
return (
<div>
<h2>Areamap Chart (countries) </h2>
<Chart
<AreamapChart
dataSet={DM.DataSource}
chartType={'areamap'}
dataOptions={{
geo: [DM.Country.Country],
color: [
{
column: measureFactory.sum(DM.Commerce.Cost),
color: {
type: 'range',
steps: 20,
minColor: '#60a9ff',
maxColor: '#3a77bf',
},
title: 'Total Cost',
},
],
Expand Down
Loading

0 comments on commit 967f225

Please sign in to comment.