Skip to content

Commit a73e2e0

Browse files
authored
update powerbi api (#766)
* update powerbi api * rectify powerbi packages * new build * fix versioning * new build
1 parent 686ea8c commit a73e2e0

File tree

16 files changed

+88
-74
lines changed

16 files changed

+88
-74
lines changed

docs/app/js/sanddance-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52579,7 +52579,7 @@ const embedHtml = (title, embed)=>`<!DOCTYPE html>
5257952579
<script src="https://unpkg.com/@fluentui/react@8/dist/fluentui-react.js"></script>
5258052580
<script src="https://unpkg.com/@msrvida/fluentui-icons@1/dist/umd/fluentui-icons.js"></script>
5258152581
<script src="https://unpkg.com/@msrvida/sanddance-explorer@4/dist/umd/sanddance-explorer.js"></script>
52582-
<script src="https://unpkg.com/@msrvida/sanddance-embed@4.4/dist/umd/sanddance-embed.js"></script>
52582+
<script src="https://unpkg.com/@msrvida/sanddance-embed@4/dist/umd/sanddance-embed.js"></script>
5258352583
${embed}
5258452584
</body>
5258552585
</html>`;
Binary file not shown.

docs/dist/sanddance-explorer/v4/sanddance-explorer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44548,7 +44548,7 @@ const $0edfbb46d4822ac6$export$12df67f310f5f846 = $0edfbb46d4822ac6$var$_ColumnT
4454844548
<script src="https://unpkg.com/@fluentui/react@8/dist/fluentui-react.js"></script>
4454944549
<script src="https://unpkg.com/@msrvida/fluentui-icons@1/dist/umd/fluentui-icons.js"></script>
4455044550
<script src="https://unpkg.com/@msrvida/sanddance-explorer@4/dist/umd/sanddance-explorer.js"></script>
44551-
<script src="https://unpkg.com/@msrvida/sanddance-embed@4.4/dist/umd/sanddance-embed.js"></script>
44551+
<script src="https://unpkg.com/@msrvida/sanddance-embed@4/dist/umd/sanddance-embed.js"></script>
4455244552
${embed}
4455344553
</body>
4455444554
</html>`;

docs/examples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ title: Examples
3030

3131
## <a name="apps"></a>SandDance apps v4
3232
* [Web app](../tests/v4/es6/app)
33-
* [Power BI custom visual](../dist/powerbi/v4/SandDance201929976D117A654D0BAB8E96507442D80B.4.2.0.pbiviz) 4.2.0
33+
* [Power BI custom visual](../dist/powerbi/v4/SandDance201929976D117A654D0BAB8E96507442D80B.4.2.0.1.pbiviz) 4.2.0.1
3434
* [Azure Data Studio extension](../dist/azdata/v4/azdata-sanddance-4.1.1.vsix) 4.1.1
3535
* [VSCode extension](../dist/vscode/v4/vscode-sanddance-4.1.0.vsix) 4.1.0
3636
* [sanddance-embed example](../embed/v4/test.html)

docs/tests/v4/es6/js/sanddance-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52579,7 +52579,7 @@ const embedHtml = (title, embed)=>`<!DOCTYPE html>
5257952579
<script src="https://unpkg.com/@fluentui/react@8/dist/fluentui-react.js"></script>
5258052580
<script src="https://unpkg.com/@msrvida/fluentui-icons@1/dist/umd/fluentui-icons.js"></script>
5258152581
<script src="https://unpkg.com/@msrvida/sanddance-explorer@4/dist/umd/sanddance-explorer.js"></script>
52582-
<script src="https://unpkg.com/@msrvida/sanddance-embed@4.4/dist/umd/sanddance-embed.js"></script>
52582+
<script src="https://unpkg.com/@msrvida/sanddance-embed@4/dist/umd/sanddance-embed.js"></script>
5258352583
${embed}
5258452584
</body>
5258552585
</html>`;

package-lock.json

Lines changed: 20 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@
9696
"morphcharts": "^1",
9797
"npm-run-all": "^4.1.5",
9898
"parcel": "^2.15.2",
99-
"powerbi-models": "^1.6.0",
100-
"powerbi-visuals-api": "^3.8.0",
101-
"powerbi-visuals-tools": "^5",
102-
"powerbi-visuals-utils-dataviewutils": "^2.4.0",
10399
"process": "^0.11.10",
104100
"react": ">=16.8.0 <18.0.0",
105101
"react-dom": ">=16.8.0 <18.0.0",

packages/powerbi/capabilities.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
{
2+
"privileges": [
3+
{
4+
"name": "WebAccess",
5+
"essential": false
6+
},
7+
{
8+
"name": "ExportContent",
9+
"essential": true
10+
},
11+
{
12+
"name": "LocalStorage",
13+
"essential": false
14+
}
15+
],
216
"dataRoles": [
317
{
418
"displayName": "Values",

packages/powerbi/package-lock.json

Lines changed: 38 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/powerbi/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "pbiviz start",
99
"build:08": "pbiviz package",
1010
"version": "node ./scripts/version.js",
11-
"prepackage": "npm run version",
11+
"prebuild:08": "npm run version",
1212
"deploy": "node ./scripts/deploy.js",
1313
"build:07": "tsc -p .",
1414
"remove-vega": "npm un vega"
@@ -20,9 +20,9 @@
2020
"@msrvida/sanddance-explorer": "file:../sanddance-explorer",
2121
"core-js": "3.2.1",
2222
"powerbi": "file:",
23-
"powerbi-models": "^1.6.0",
24-
"powerbi-visuals-api": "^3.8.0",
25-
"powerbi-visuals-utils-dataviewutils": "^2.4.0",
23+
"powerbi-models": "^1.15.2",
24+
"powerbi-visuals-api": "~5.11.0",
25+
"powerbi-visuals-utils-dataviewutils": "^6.1.0",
2626
"react": ">=16.8.0 <18.0.0",
2727
"react-dom": ">=16.8.0 <18.0.0",
2828
"regenerator-runtime": "^0.13.3",

0 commit comments

Comments
 (0)