UNPKG

3.95 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../ts/VisualsContracts/common/enums.ts"],"names":["powerbi","VisualDataRoleKind","VisualDataChangeOperationKind","VisualUpdateType","VisualPermissions","visuals","telemetry","ErrorSource"],"mappings":"AA0BA,GAAOA,UAAP,SAAOA,IACH,SAAYC,GAERA,EAAAA,EAAA,SAAA,GAAA,WAEAA,EAAAA,EAAA,QAAA,GAAA,UAEAA,EAAAA,EAAA,kBAAA,GAAA,qBANQD,EAAAC,qBAAAD,EAAAC,uBAAAD,GAAAC,oBASZ,SAAYC,GACRA,EAAAA,EAAA,OAAA,GAAA,SACAA,EAAAA,EAAA,OAAA,GAAA,UAFQF,EAAAE,gCAAAF,EAAAE,kCAAAF,GAAAE,+BAKZ,SAAYC,GACRA,EAAAA,EAAA,KAAA,GAAA,OACAA,EAAAA,EAAA,OAAA,GAAA,SACAA,EAAAA,EAAA,SAAA,GAAA,WACAA,EAAAA,EAAA,MAAA,IAAA,QACAA,EAAAA,EAAA,UAAA,IAAA,aALQH,EAAAG,mBAAAH,EAAAG,qBAAAH,GAAAG,kBAQZ,SAAYC,KAAAJ,EAAAI,oBAAAJ,EAAAI,sBAAZ,IAmBcC,EAnBFL,GAAAI,mBAmBZ,SAAcC,GAAQ,GAAAC,IAAA,SAAAA,IAQlB,SAAYC,GACRA,EAAAA,EAAA,QAAA,GAAA,UACAA,EAAAA,EAAA,SAAA,GAAA,WACAA,EAAAA,EAAA,KAAA,GAAA,QAHQD,EAAAC,cAAAD,EAAAC,gBAAAD,GAAAC,aARMD,EAAAD,EAAAC,YAAAD,EAAAC,gBAARD,EAAAL,EAAAK,UAAAL,EAAAK,cA1CXL,UAAAA","file":"VisualsContracts.min.js","sourcesContent":["/*\r\n * Power BI Visualizations\r\n *\r\n * Copyright (c) Microsoft Corporation\r\n * All rights reserved.\r\n * MIT License\r\n *\r\n * Permission is hereby granted, free of charge, to any person obtaining a copy\r\n * of this software and associated documentation files (the \"\"Software\"\"), to deal\r\n * in the Software without restriction, including without limitation the rights\r\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\n * copies of the Software, and to permit persons to whom the Software is\r\n * furnished to do so, subject to the following conditions:\r\n *\r\n * The above copyright notice and this permission notice shall be included in\r\n * all copies or substantial portions of the Software.\r\n *\r\n * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r\n * THE SOFTWARE.\r\n */\r\n\r\nmodule powerbi {\r\n export enum VisualDataRoleKind {\r\n /** Indicates that the role should be bound to something that evaluates to a grouping of values. */\r\n Grouping,\r\n /** Indicates that the role should be bound to something that evaluates to a single value in a scope. */\r\n Measure,\r\n /** Indicates that the role can be bound to either Grouping or Measure. */\r\n GroupingOrMeasure,\r\n }\r\n\r\n export enum VisualDataChangeOperationKind {\r\n Create = 0,\r\n Append = 1,\r\n }\r\n\r\n export enum VisualUpdateType {\r\n Data = 1 << 1,\r\n Resize = 1 << 2,\r\n ViewMode = 1 << 3,\r\n Style = 1 << 4,\r\n ResizeEnd = 1 << 5,\r\n }\r\n\r\n export enum VisualPermissions {\r\n\r\n }\r\n\r\n export const enum CartesianRoleKind {\r\n X,\r\n Y,\r\n }\r\n\r\n export const enum ViewMode {\r\n View = 0,\r\n Edit = 1,\r\n }\r\n\r\n export const enum ResizeMode {\r\n Resizing = 1,\r\n Resized = 2,\r\n }\r\n\r\n export module visuals.telemetry {\r\n export const enum TelemetryCategory {\r\n Verbose,\r\n CustomerAction,\r\n CriticalError,\r\n Trace,\r\n }\r\n\r\n export enum ErrorSource {\r\n PowerBI = 0,\r\n External = 1,\r\n User = 2,\r\n }\r\n }\r\n\r\n export const enum JoinPredicateBehavior {\r\n /** Prevent items in this role from acting as join predicates. */\r\n None,\r\n }\r\n}"],"sourceRoot":"/source/"}
\No newline at end of file