forked from microsoft/PowerBI-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstep_embed.js
363 lines (269 loc) · 7.36 KB
/
step_embed.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
// ---- Report Operations ----------------------------------------------------
function Report_GetId() {
SetCode(_Report_GetId);
}
function Report_UpdateSettings() {
SetCode(_Report_UpdateSettings);
}
function Report_GetPages() {
SetCode(_Report_GetPages);
}
function Report_SetPage() {
SetCode(_Report_SetPage);
}
function Report_GetFilters() {
SetCode(_Report_GetFilters);
}
function Report_SetFilters() {
SetCode(_Report_SetFilters);
}
function Report_RemoveFilters() {
SetCode(_Report_RemoveFilters);
}
function Report_PrintCurrentReport() {
SetCode(_Report_PrintCurrentReport);
}
function Report_Reload() {
SetCode(_Report_Reload);
}
function PaginatedReport_Reload() {
SetCode(_PaginatedReport_Reload);
}
function PaginatedReport_GetId() {
SetCode(_PaginatedReport_GetId);
}
function PaginatedReport_FullScreen() {
SetCode(_PaginatedReport_FullScreen);
}
function PaginatedReport_ExitFullScreen() {
SetCode(_PaginatedReport_ExitFullScreen);
}
function Report_Refresh() {
SetCode(_Report_Refresh);
}
function Report_FullScreen() {
SetCode(_Report_FullScreen);
}
function Report_ExitFullScreen() {
SetCode(_Report_ExitFullScreen);
}
function Report_Extensions_ContextMenu() {
SetCode(_Report_Extensions_ContextMenu);
}
function Report_Extensions_OptionsMenu() {
SetCode(_Report_Extensions_OptionsMenu);
}
function Visual_Operations_SortVisualBy() {
SetCode(_Visual_Operations_SortVisualBy);
}
function Report_ApplyCustomLayout() {
SetCode(_Report_ApplyCustomLayout);
}
function Report_HideAllVisualHeaders() {
SetCode(_Report_HideAllVisualHeaders);
}
function Report_ShowAllVisualHeaders() {
SetCode(_Report_ShowAllVisualHeaders);
}
function Report_HideSingleVisualHeader() {
SetCode(_Report_HideSingleVisualHeader);
}
// ---- Page Operations ----------------------------------------------------
function Page_SetActive() {
SetCode(_Page_SetActive);
}
function Page_GetFilters() {
SetCode(_Page_GetFilters);
}
function Page_GetVisuals() {
SetCode(_Page_GetVisuals);
}
function Page_SetFilters() {
SetCode(_Page_SetFilters);
}
function Page_RemoveFilters() {
SetCode(_Page_RemoveFilters);
}
function Page_HasLayout() {
SetCode(_Page_HasLayout);
}
// ---- Event Listener ----------------------------------------------------
function Events_PageChanged() {
SetCode(_Events_PageChanged);
}
function Events_DataSelected() {
SetCode(_Events_DataSelected);
}
function Events_SaveAsTriggered() {
SetCode(_Events_SaveAsTriggered);
}
function Events_BookmarkApplied() {
SetCode(_Events_BookmarkApplied);
}
function Events_ReportLoaded() {
SetCode(_Events_ReportLoaded);
}
function Events_ReportRendered() {
SetCode(_Events_ReportRendered);
}
function Events_ReportSaved() {
SetCode(_Events_ReportSaved);
}
function Events_TileLoaded() {
SetCode(_Events_TileLoaded);
}
function Events_TileClicked() {
SetCode(_Events_TileClicked);
}
function Events_ButtonClicked() {
SetCode(_Events_ButtonClicked)
}
// ---- Edit and Save Operations ----------------------------------------------------
function Report_switchModeEdit() {
SetCode(_Report_switchModeEdit);
}
function Report_switchModeView() {
SetCode(_Report_switchModeView);
}
function Report_save() {
SetCode(_Report_save);
}
function Report_saveAs() {
SetCode(_Report_saveAs);
}
// ---- Bookmarks Operations ----------------------------------------------------
function Bookmarks_Enable() {
SetCode(_Bookmarks_Enable);
}
function Bookmarks_Disable() {
SetCode(_Bookmarks_Disable);
}
function Bookmarks_Get() {
SetCode(_Bookmarks_Get);
}
function Bookmarks_Apply() {
SetCode(_Bookmarks_Apply);
}
function Bookmarks_Capture() {
SetCode(_Bookmarks_Capture);
}
function Bookmarks_ApplyState() {
SetCode(_Bookmarks_ApplyState);
}
function Bookmarks_EnterPresentation() {
SetCode(_Bookmarks_EnterPresentation);
}
function Bookmarks_ExitPresentation() {
SetCode(_Bookmarks_ExitPresentation);
}
// ---- Dashboard Operations ----------------------------------------------------
function Dashboard_GetId() {
SetCode(_Dashboard_GetId);
}
function Dashboard_FullScreen() {
SetCode(_Dashboard_FullScreen);
}
function Dashboard_ExitFullScreen() {
SetCode(_Dashboard_ExitFullScreen);
}
// ---- Dashboard Events Listener ----------------------------------------------------
function DashboardEvents_TileClicked() {
SetCode(_DashboardEvents_TileClicked);
}
// ---- Q&A Events Listener ----------------------------------------------------
function Qna_SetQuestion() {
SetCode(_Qna_SetQuestion);
}
function Qna_QuestionChanged() {
SetCode(_Qna_QuestionChanged);
}
// ---- Visual Events Listener ----------------------------------------------------
function Visual_DataSelected() {
SetCode(_Visual_DataSelected);
}
// ---- Visuals -------------------------------------------------------------------
function Visual_GetFilters() {
SetCode(_Visual_GetFilters);
}
function Visual_SetFilters() {
SetCode(_Visual_SetFilters);
}
function Visual_GetSlicer() {
SetCode(_Visual_GetSlicer);
}
function Visual_SetSlicer() {
SetCode(_Visual_SetSlicer);
}
function Visual_RemoveFilters() {
SetCode(_Visual_RemoveFilters);
}
function Visual_ExportData_Summarized() {
SetCode(_Visual_ExportData_Summarized);
}
function Visual_ExportData_Underlying() {
SetCode(_Visual_ExportData_Underlying);
}
function ReportVisual_UpdateSettings() {
SetCode(_ReportVisual_UpdateSettings);
}
function ReportVisual_Report_SetFilters() {
SetCode(_ReportVisual_Report_SetFilters);
}
function ReportVisual_Report_GetFilters() {
SetCode(_ReportVisual_Report_GetFilters);
}
function ReportVisual_Report_RemoveFilters() {
SetCode(_ReportVisual_Report_RemoveFilters);
}
function ReportVisual_Page_SetFilters() {
SetCode(_ReportVisual_Page_SetFilters);
}
function ReportVisual_Page_GetFilters() {
SetCode(_ReportVisual_Page_GetFilters);
}
function ReportVisual_Page_RemoveFilters() {
SetCode(_ReportVisual_Page_RemoveFilters);
}
function ReportVisual_Visual_SetFilters() {
SetCode(_ReportVisual_Visual_SetFilters);
}
function ReportVisual_Visual_GetFilters() {
SetCode(_ReportVisual_Visual_GetFilters);
}
function ReportVisual_Visual_RemoveFilters() {
SetCode(_ReportVisual_Visual_RemoveFilters);
}
function ReportVisual_HideSingleVisualHeader() {
SetCode(_ReportVisual_HideSingleVisualHeader);
}
// ---- Report Authoring ----------------------------------------------------
function Report_Authoring_Create() {
SetCode(_Report_Authoring_Create);
}
function Report_Authoring_ChangeType() {
SetCode(_Report_Authoring_ChangeType);
}
function Report_Authoring_Remove() {
SetCode(_Report_Authoring_Remove);
}
function Report_Authoring_Capabilities() {
SetCode(_Report_Authoring_Capabilities);
}
function Report_Authoring_AddDataField() {
SetCode(_Report_Authoring_AddDataField);
}
function Report_Authoring_RemoveDataField() {
SetCode(_Report_Authoring_RemoveDataField);
}
function Report_Authoring_GetDataField() {
SetCode(_Report_Authoring_GetDataField);
}
function Report_Authoring_GetProperty() {
SetCode(_Report_Authoring_GetProperty);
}
function Report_Authoring_SetProperty() {
SetCode(_Report_Authoring_SetProperty);
}
function Report_Authoring_ResetProperty() {
SetCode(_Report_Authoring_ResetProperty);
}