powerbi-visuals-tools 3.3.2 → 3.4.3
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/.vscode/launch.json +52 -0
- package/Changelog.md +105 -16
- package/bin/pbiviz-new.js +3 -12
- package/bin/pbiviz-package.js +12 -8
- package/bin/pbiviz-start.js +25 -51
- package/bin/pbiviz.js +0 -1
- package/config.json +1 -1
- package/lib/CertificateTools.js +6 -8
- package/lib/TemplateFetcher.js +7 -29
- package/lib/VisualGenerator.js +5 -94
- package/lib/WebPackWrap.js +69 -75
- package/lib/utils.js +26 -0
- package/lib/webpack.config.js +9 -6
- package/package.json +14 -16
- package/templates/visuals/default/package.json +2 -2
- package/templates/visuals/rhtml/package.json +1 -1
- package/templates/visuals/rvisual/package.json +1 -1
- package/templates/visuals/slicer/package.json +2 -2
- package/templates/visuals/table/package.json +2 -2
- package/bin/pbiviz-update.js +0 -128
- package/lib/LessCompiler.js +0 -86
- package/lib/TypescriptCompiler.js +0 -243
- package/templates/visuals/.api/v1.0.0/PowerBI-visuals.d.ts +0 -1139
- package/templates/visuals/.api/v1.0.0/schema.capabilities.json +0 -758
- package/templates/visuals/.api/v1.0.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.1.0/PowerBI-visuals.d.ts +0 -1179
- package/templates/visuals/.api/v1.1.0/schema.capabilities.json +0 -828
- package/templates/visuals/.api/v1.1.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.10.0/PowerBI-visuals.d.ts +0 -1406
- package/templates/visuals/.api/v1.10.0/schema.capabilities.json +0 -1143
- package/templates/visuals/.api/v1.10.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.10.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.10.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.11.0/PowerBI-visuals.d.ts +0 -1406
- package/templates/visuals/.api/v1.11.0/schema.capabilities.json +0 -1143
- package/templates/visuals/.api/v1.11.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.11.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.11.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.12.0/PowerBI-visuals.d.ts +0 -1408
- package/templates/visuals/.api/v1.12.0/schema.capabilities.json +0 -1173
- package/templates/visuals/.api/v1.12.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.12.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.12.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.13.0/PowerBI-visuals.d.ts +0 -1450
- package/templates/visuals/.api/v1.13.0/schema.capabilities.json +0 -1181
- package/templates/visuals/.api/v1.13.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.13.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.13.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.2.0/PowerBI-visuals.d.ts +0 -1188
- package/templates/visuals/.api/v1.2.0/schema.capabilities.json +0 -951
- package/templates/visuals/.api/v1.2.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.2.0/schema.pbiviz.json +0 -99
- package/templates/visuals/.api/v1.3.0/PowerBI-visuals.d.ts +0 -1293
- package/templates/visuals/.api/v1.3.0/schema.capabilities.json +0 -951
- package/templates/visuals/.api/v1.3.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.3.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.4.0/PowerBI-visuals.d.ts +0 -1282
- package/templates/visuals/.api/v1.4.0/schema.capabilities.json +0 -951
- package/templates/visuals/.api/v1.4.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.4.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.5.0/PowerBI-visuals.d.ts +0 -1205
- package/templates/visuals/.api/v1.5.0/schema.capabilities.json +0 -987
- package/templates/visuals/.api/v1.5.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.5.0/schema.pbiviz.json +0 -95
- package/templates/visuals/.api/v1.6.0/PowerBI-visuals.d.ts +0 -1297
- package/templates/visuals/.api/v1.6.0/schema.capabilities.json +0 -1007
- package/templates/visuals/.api/v1.6.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.6.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.6.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.7.0/PowerBI-visuals.d.ts +0 -1381
- package/templates/visuals/.api/v1.7.0/schema.capabilities.json +0 -1007
- package/templates/visuals/.api/v1.7.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.7.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.7.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.8.0/PowerBI-visuals.d.ts +0 -1389
- package/templates/visuals/.api/v1.8.0/schema.capabilities.json +0 -1131
- package/templates/visuals/.api/v1.8.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.8.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.8.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v1.9.0/PowerBI-visuals.d.ts +0 -1391
- package/templates/visuals/.api/v1.9.0/schema.capabilities.json +0 -1131
- package/templates/visuals/.api/v1.9.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v1.9.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v1.9.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.0.0/PowerBI-visuals.d.ts +0 -1417
- package/templates/visuals/.api/v2.0.0/schema.capabilities.json +0 -1177
- package/templates/visuals/.api/v2.0.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.0.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.0.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.1.0/PowerBI-visuals.d.ts +0 -1417
- package/templates/visuals/.api/v2.1.0/schema.capabilities.json +0 -1177
- package/templates/visuals/.api/v2.1.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.1.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.1.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.2.0/PowerBI-visuals.d.ts +0 -1423
- package/templates/visuals/.api/v2.2.0/schema.capabilities.json +0 -1189
- package/templates/visuals/.api/v2.2.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.2.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.2.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.3.0/PowerBI-visuals.d.ts +0 -1480
- package/templates/visuals/.api/v2.3.0/schema.capabilities.json +0 -1193
- package/templates/visuals/.api/v2.3.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.3.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.3.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.5.0/PowerBI-visuals.d.ts +0 -1483
- package/templates/visuals/.api/v2.5.0/schema.capabilities.json +0 -1197
- package/templates/visuals/.api/v2.5.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.5.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.5.0/schema.stringResources.json +0 -67
- package/templates/visuals/.api/v2.6.0/PowerBI-visuals.d.ts +0 -1485
- package/templates/visuals/.api/v2.6.0/schema.capabilities.json +0 -1323
- package/templates/visuals/.api/v2.6.0/schema.dependencies.json +0 -38
- package/templates/visuals/.api/v2.6.0/schema.pbiviz.json +0 -103
- package/templates/visuals/.api/v2.6.0/schema.stringResources.json +0 -67
- package/templates/visuals/default1/assets/icon.png +0 -0
- package/templates/visuals/default1/capabilities.json +0 -84
- package/templates/visuals/default1/package.json +0 -6
- package/templates/visuals/default1/pbiviz.json +0 -3
- package/templates/visuals/default1/src/settings.ts +0 -32
- package/templates/visuals/default1/src/visual.ts +0 -71
- package/templates/visuals/default1/style/visual.less +0 -9
- package/templates/visuals/default1/tsconfig.json +0 -16
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"PBI_API_VERSION": "v2.3.0",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"cranPackages": {
|
|
6
|
-
"type": "array",
|
|
7
|
-
"description": "An array of the Cran packages required for the custom R visual script to operate",
|
|
8
|
-
"items": {
|
|
9
|
-
"$ref": "#/definitions/cranPackage"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"definitions": {
|
|
14
|
-
"cranPackage": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"description": "cranPackage - Defines the name and displayName of a required Cran package",
|
|
17
|
-
"properties": {
|
|
18
|
-
"name": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "The name for this Cran package"
|
|
21
|
-
},
|
|
22
|
-
"displayName": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "The name for this Cran package that is shown to the user"
|
|
25
|
-
},
|
|
26
|
-
"url": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "A url for package documentation in Cran website"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"required": [
|
|
32
|
-
"name",
|
|
33
|
-
"url"
|
|
34
|
-
],
|
|
35
|
-
"additionalProperties": false
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"PBI_API_VERSION": "v2.3.0",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"apiVersion": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"description": "Version of the IVisual API"
|
|
8
|
-
},
|
|
9
|
-
"author": {
|
|
10
|
-
"type": "object",
|
|
11
|
-
"description": "Information about the author of the visual",
|
|
12
|
-
"properties": {
|
|
13
|
-
"name": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "Name of the visual author. This is displayed to users."
|
|
16
|
-
},
|
|
17
|
-
"email": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "E-mail of the visual author. This is displayed to users for support."
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"assets": {
|
|
24
|
-
"type": "object",
|
|
25
|
-
"description": "Assets used by the visual",
|
|
26
|
-
"properties": {
|
|
27
|
-
"icon": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"description": "A 20x20 png icon used to represent the visual"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"externalJS": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"description": "An array of relative paths to 3rd party javascript libraries to load",
|
|
36
|
-
"items": {
|
|
37
|
-
"type": "string"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"stringResources": {
|
|
41
|
-
"type": "array",
|
|
42
|
-
"description": "An array of relative paths to string resources to load",
|
|
43
|
-
"items": {
|
|
44
|
-
"type": "string"
|
|
45
|
-
},
|
|
46
|
-
"uniqueItems": true
|
|
47
|
-
},
|
|
48
|
-
"style" : {
|
|
49
|
-
"type": "string",
|
|
50
|
-
"description": "Relative path to the stylesheet (less) for the visual"
|
|
51
|
-
},
|
|
52
|
-
"capabilities": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Relative path to the visual capabilities json file"
|
|
55
|
-
},
|
|
56
|
-
"visual": {
|
|
57
|
-
"type": "object",
|
|
58
|
-
"description": "Details about this visual",
|
|
59
|
-
"properties": {
|
|
60
|
-
"description": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"description": "What does this visual do?"
|
|
63
|
-
},
|
|
64
|
-
"name": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"description": "Internal visual name"
|
|
67
|
-
},
|
|
68
|
-
"displayName": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"description": "A friendly name"
|
|
71
|
-
},
|
|
72
|
-
"externals": {
|
|
73
|
-
"type": "array",
|
|
74
|
-
"description": "External files (such as JavaScript) that you would like to include"
|
|
75
|
-
},
|
|
76
|
-
"guid": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"description": "Unique identifier for the visual"
|
|
79
|
-
},
|
|
80
|
-
"visualClassName": {
|
|
81
|
-
"type": "string",
|
|
82
|
-
"description": "Class of your IVisual"
|
|
83
|
-
},
|
|
84
|
-
"icon": {
|
|
85
|
-
"type": "string",
|
|
86
|
-
"description": "Icon path"
|
|
87
|
-
},
|
|
88
|
-
"version": {
|
|
89
|
-
"type": "string",
|
|
90
|
-
"description": "Visual version"
|
|
91
|
-
},
|
|
92
|
-
"gitHubUrl": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"description": "Url to the github repository for this visual"
|
|
95
|
-
},
|
|
96
|
-
"supportUrl": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"description": "Url to the support page for this visual"
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"PBI_API_VERSION": "v2.3.0",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"locale": {
|
|
6
|
-
"$ref": "#/definitions/localeOptions"
|
|
7
|
-
},
|
|
8
|
-
"values": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"description": "translations for the display name keys in the capabilities",
|
|
11
|
-
"additionalProperties": { "type": "string" }
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"required": [ "locale" ],
|
|
15
|
-
"definitions": {
|
|
16
|
-
"localeOptions": {
|
|
17
|
-
"description": "Specifies the locale key from a list of supported locales",
|
|
18
|
-
"type": "string",
|
|
19
|
-
"enum": [
|
|
20
|
-
"ar-SA",
|
|
21
|
-
"bg-BG",
|
|
22
|
-
"ca-ES",
|
|
23
|
-
"cs-CZ",
|
|
24
|
-
"da-DK",
|
|
25
|
-
"de-DE",
|
|
26
|
-
"el-GR",
|
|
27
|
-
"en-US",
|
|
28
|
-
"es-ES",
|
|
29
|
-
"et-EE",
|
|
30
|
-
"eu-ES",
|
|
31
|
-
"fi-FI",
|
|
32
|
-
"fr-FR",
|
|
33
|
-
"gl-ES",
|
|
34
|
-
"he-IL",
|
|
35
|
-
"hi-IN",
|
|
36
|
-
"hr-HR",
|
|
37
|
-
"hu-HU",
|
|
38
|
-
"id-ID",
|
|
39
|
-
"it-IT",
|
|
40
|
-
"ja-JP",
|
|
41
|
-
"kk-KZ",
|
|
42
|
-
"ko-KR",
|
|
43
|
-
"lt-LT",
|
|
44
|
-
"lv-LV",
|
|
45
|
-
"ms-MY",
|
|
46
|
-
"nb-NO",
|
|
47
|
-
"nl-NL",
|
|
48
|
-
"pl-PL",
|
|
49
|
-
"pt-BR",
|
|
50
|
-
"pt-PT",
|
|
51
|
-
"ro-RO",
|
|
52
|
-
"ru-RU",
|
|
53
|
-
"sk-SK",
|
|
54
|
-
"sl-SI",
|
|
55
|
-
"sr-Cyrl-RS",
|
|
56
|
-
"sr-Latn-RS",
|
|
57
|
-
"sv-SE",
|
|
58
|
-
"th-TH",
|
|
59
|
-
"tr-TR",
|
|
60
|
-
"uk-UA",
|
|
61
|
-
"vi-VN",
|
|
62
|
-
"zh-CN",
|
|
63
|
-
"zh-TW"
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|