UNPKG

5.08 kBJavaScriptView Raw
1/*
2 * Power BI Visualizations
3 *
4 * Copyright (c) Microsoft Corporation
5 * All rights reserved.
6 * MIT License
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the ""Software""), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 */
26///<reference path="../../Typedefs/jquery/jquery.d.ts"/>
27/*
28 * Power BI Visualizations
29 *
30 * Copyright (c) Microsoft Corporation
31 * All rights reserved.
32 * MIT License
33 *
34 * Permission is hereby granted, free of charge, to any person obtaining a copy
35 * of this software and associated documentation files (the ""Software""), to deal
36 * in the Software without restriction, including without limitation the rights
37 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
38 * copies of the Software, and to permit persons to whom the Software is
39 * furnished to do so, subject to the following conditions:
40 *
41 * The above copyright notice and this permission notice shall be included in
42 * all copies or substantial portions of the Software.
43 *
44 * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
46 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
47 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
48 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
49 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
50 * THE SOFTWARE.
51 */
52var powerbi;
53(function (powerbi) {
54 (function (VisualDataRoleKind) {
55 /** Indicates that the role should be bound to something that evaluates to a grouping of values. */
56 VisualDataRoleKind[VisualDataRoleKind["Grouping"] = 0] = "Grouping";
57 /** Indicates that the role should be bound to something that evaluates to a single value in a scope. */
58 VisualDataRoleKind[VisualDataRoleKind["Measure"] = 1] = "Measure";
59 /** Indicates that the role can be bound to either Grouping or Measure. */
60 VisualDataRoleKind[VisualDataRoleKind["GroupingOrMeasure"] = 2] = "GroupingOrMeasure";
61 })(powerbi.VisualDataRoleKind || (powerbi.VisualDataRoleKind = {}));
62 var VisualDataRoleKind = powerbi.VisualDataRoleKind;
63 (function (VisualDataChangeOperationKind) {
64 VisualDataChangeOperationKind[VisualDataChangeOperationKind["Create"] = 0] = "Create";
65 VisualDataChangeOperationKind[VisualDataChangeOperationKind["Append"] = 1] = "Append";
66 })(powerbi.VisualDataChangeOperationKind || (powerbi.VisualDataChangeOperationKind = {}));
67 var VisualDataChangeOperationKind = powerbi.VisualDataChangeOperationKind;
68 (function (VisualUpdateType) {
69 VisualUpdateType[VisualUpdateType["Data"] = 2] = "Data";
70 VisualUpdateType[VisualUpdateType["Resize"] = 4] = "Resize";
71 VisualUpdateType[VisualUpdateType["ViewMode"] = 8] = "ViewMode";
72 VisualUpdateType[VisualUpdateType["Style"] = 16] = "Style";
73 VisualUpdateType[VisualUpdateType["ResizeEnd"] = 32] = "ResizeEnd";
74 })(powerbi.VisualUpdateType || (powerbi.VisualUpdateType = {}));
75 var VisualUpdateType = powerbi.VisualUpdateType;
76 (function (VisualPermissions) {
77 })(powerbi.VisualPermissions || (powerbi.VisualPermissions = {}));
78 var VisualPermissions = powerbi.VisualPermissions;
79 var visuals;
80 (function (visuals) {
81 var telemetry;
82 (function (telemetry) {
83 (function (ErrorSource) {
84 ErrorSource[ErrorSource["PowerBI"] = 0] = "PowerBI";
85 ErrorSource[ErrorSource["External"] = 1] = "External";
86 ErrorSource[ErrorSource["User"] = 2] = "User";
87 })(telemetry.ErrorSource || (telemetry.ErrorSource = {}));
88 var ErrorSource = telemetry.ErrorSource;
89 })(telemetry = visuals.telemetry || (visuals.telemetry = {}));
90 })(visuals = powerbi.visuals || (powerbi.visuals = {}));
91})(powerbi || (powerbi = {}));
92
93//# sourceMappingURL=VisualsContracts.js.map