@ms-atlas/datastudio 0.1.20
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.
Potentially problematic release.
This version of @ms-atlas/datastudio might be problematic. Click here for more details.
- package/ExternalLibraries/Monaco/vs/loader.js +2166 -0
- package/ExternalLibraries/URI.min.js +1901 -0
- package/ExternalLibraries/crossroads.min.js +453 -0
- package/ExternalLibraries/css.js +165 -0
- package/ExternalLibraries/d3.min.js +10857 -0
- package/ExternalLibraries/es6-promise.min.js +363 -0
- package/ExternalLibraries/hammer.js +2224 -0
- package/ExternalLibraries/hull.js +444 -0
- package/ExternalLibraries/i18n.min.js +115 -0
- package/ExternalLibraries/jquery-ui-timepicker-addon.min.css +76 -0
- package/ExternalLibraries/jquery-ui-timepicker-addon.min.js +1918 -0
- package/ExternalLibraries/jquery-ui.js +17201 -0
- package/ExternalLibraries/jquery-ui.min.css +1454 -0
- package/ExternalLibraries/jquery.history.js +2173 -0
- package/ExternalLibraries/jquery.min.js +5168 -0
- package/ExternalLibraries/jquery.mockjax.min.js +445 -0
- package/ExternalLibraries/jquery.modal.js +173 -0
- package/ExternalLibraries/jstree.js +10086 -0
- package/ExternalLibraries/jstree.style.css +1048 -0
- package/ExternalLibraries/jwt-decode.min.js +142 -0
- package/ExternalLibraries/knockout-latest.debug.js +7375 -0
- package/ExternalLibraries/knockout.mapping.min.js +534 -0
- package/ExternalLibraries/moment.js +3389 -0
- package/ExternalLibraries/q.js +1974 -0
- package/ExternalLibraries/require.js +2230 -0
- package/ExternalLibraries/signals.min.js +179 -0
- package/ExternalLibraries/text.js +445 -0
- package/ExternalLibraries/uuid.js +274 -0
- package/app-main.js +1 -0
- package/datastudio.application.mainpage.js +1502 -0
- package/datastudio.application.shared.js +626 -0
- package/datastudio.bootstrapper.js +517 -0
- package/fonts.css +14 -0
- package/nls/resx.js +1 -0
- package/nls/root/resx.js +22 -0
- package/package.json +22 -0
- package/scripts/application/sourceMapper.js +15 -0
- package/scripts/libs/adal/adal.js +720 -0
- package/stylesheets/main.css +8879 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
3
|
+
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
4
|
+
* @license Licensed under MIT license
|
|
5
|
+
* See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
|
|
6
|
+
* @version 2.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
(function () {
|
|
10
|
+
function r(a, b) {
|
|
11
|
+
n[l] = a;
|
|
12
|
+
n[l + 1] = b;
|
|
13
|
+
l += 2;
|
|
14
|
+
2 === l && A();
|
|
15
|
+
}
|
|
16
|
+
function s(a) {
|
|
17
|
+
return "function" === typeof a;
|
|
18
|
+
}
|
|
19
|
+
function F() {
|
|
20
|
+
return function () {
|
|
21
|
+
process.nextTick(t);
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function G() {
|
|
25
|
+
var a = 0,
|
|
26
|
+
b = new B(t),
|
|
27
|
+
c = document.createTextNode("");
|
|
28
|
+
b.observe(c, { characterData: !0 });
|
|
29
|
+
return function () {
|
|
30
|
+
c.data = a = ++a % 2;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function H() {
|
|
34
|
+
var a = new MessageChannel();
|
|
35
|
+
a.port1.onmessage = t;
|
|
36
|
+
return function () {
|
|
37
|
+
a.port2.postMessage(0);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function I() {
|
|
41
|
+
return function () {
|
|
42
|
+
setTimeout(t, 1);
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function t() {
|
|
46
|
+
for (var a = 0; a < l; a += 2)
|
|
47
|
+
(0, n[a])(n[a + 1]), (n[a] = void 0), (n[a + 1] = void 0);
|
|
48
|
+
l = 0;
|
|
49
|
+
}
|
|
50
|
+
function p() {}
|
|
51
|
+
function J(a, b, c, d) {
|
|
52
|
+
try {
|
|
53
|
+
a.call(b, c, d);
|
|
54
|
+
} catch (e) {
|
|
55
|
+
return e;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function K(a, b, c) {
|
|
59
|
+
r(function (a) {
|
|
60
|
+
var e = !1,
|
|
61
|
+
f = J(
|
|
62
|
+
c,
|
|
63
|
+
b,
|
|
64
|
+
function (c) {
|
|
65
|
+
e || ((e = !0), b !== c ? q(a, c) : m(a, c));
|
|
66
|
+
},
|
|
67
|
+
function (b) {
|
|
68
|
+
e || ((e = !0), g(a, b));
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
!e && f && ((e = !0), g(a, f));
|
|
72
|
+
}, a);
|
|
73
|
+
}
|
|
74
|
+
function L(a, b) {
|
|
75
|
+
1 === b.a
|
|
76
|
+
? m(a, b.b)
|
|
77
|
+
: 2 === a.a
|
|
78
|
+
? g(a, b.b)
|
|
79
|
+
: u(
|
|
80
|
+
b,
|
|
81
|
+
void 0,
|
|
82
|
+
function (b) {
|
|
83
|
+
q(a, b);
|
|
84
|
+
},
|
|
85
|
+
function (b) {
|
|
86
|
+
g(a, b);
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
function q(a, b) {
|
|
91
|
+
if (a === b)
|
|
92
|
+
g(a, new TypeError("You cannot resolve a promise with itself"));
|
|
93
|
+
else if ("function" === typeof b || ("object" === typeof b && null !== b))
|
|
94
|
+
if (b.constructor === a.constructor) L(a, b);
|
|
95
|
+
else {
|
|
96
|
+
var c;
|
|
97
|
+
try {
|
|
98
|
+
c = b.then;
|
|
99
|
+
} catch (d) {
|
|
100
|
+
(v.error = d), (c = v);
|
|
101
|
+
}
|
|
102
|
+
c === v
|
|
103
|
+
? g(a, v.error)
|
|
104
|
+
: void 0 === c
|
|
105
|
+
? m(a, b)
|
|
106
|
+
: s(c)
|
|
107
|
+
? K(a, b, c)
|
|
108
|
+
: m(a, b);
|
|
109
|
+
}
|
|
110
|
+
else m(a, b);
|
|
111
|
+
}
|
|
112
|
+
function M(a) {
|
|
113
|
+
a.f && a.f(a.b);
|
|
114
|
+
x(a);
|
|
115
|
+
}
|
|
116
|
+
function m(a, b) {
|
|
117
|
+
void 0 === a.a && ((a.b = b), (a.a = 1), 0 !== a.e.length && r(x, a));
|
|
118
|
+
}
|
|
119
|
+
function g(a, b) {
|
|
120
|
+
void 0 === a.a && ((a.a = 2), (a.b = b), r(M, a));
|
|
121
|
+
}
|
|
122
|
+
function u(a, b, c, d) {
|
|
123
|
+
var e = a.e,
|
|
124
|
+
f = e.length;
|
|
125
|
+
a.f = null;
|
|
126
|
+
e[f] = b;
|
|
127
|
+
e[f + 1] = c;
|
|
128
|
+
e[f + 2] = d;
|
|
129
|
+
0 === f && a.a && r(x, a);
|
|
130
|
+
}
|
|
131
|
+
function x(a) {
|
|
132
|
+
var b = a.e,
|
|
133
|
+
c = a.a;
|
|
134
|
+
if (0 !== b.length) {
|
|
135
|
+
for (var d, e, f = a.b, g = 0; g < b.length; g += 3)
|
|
136
|
+
(d = b[g]), (e = b[g + c]), d ? C(c, d, e, f) : e(f);
|
|
137
|
+
a.e.length = 0;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
function D() {
|
|
141
|
+
this.error = null;
|
|
142
|
+
}
|
|
143
|
+
function C(a, b, c, d) {
|
|
144
|
+
var e = s(c),
|
|
145
|
+
f,
|
|
146
|
+
k,
|
|
147
|
+
h,
|
|
148
|
+
l;
|
|
149
|
+
if (e) {
|
|
150
|
+
try {
|
|
151
|
+
f = c(d);
|
|
152
|
+
} catch (n) {
|
|
153
|
+
(y.error = n), (f = y);
|
|
154
|
+
}
|
|
155
|
+
f === y ? ((l = !0), (k = f.error), (f = null)) : (h = !0);
|
|
156
|
+
if (b === f) {
|
|
157
|
+
g(
|
|
158
|
+
b,
|
|
159
|
+
new TypeError("A promises callback cannot return that same promise.")
|
|
160
|
+
);
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
} else (f = d), (h = !0);
|
|
164
|
+
void 0 === b.a &&
|
|
165
|
+
(e && h ? q(b, f) : l ? g(b, k) : 1 === a ? m(b, f) : 2 === a && g(b, f));
|
|
166
|
+
}
|
|
167
|
+
function N(a, b) {
|
|
168
|
+
try {
|
|
169
|
+
b(
|
|
170
|
+
function (b) {
|
|
171
|
+
q(a, b);
|
|
172
|
+
},
|
|
173
|
+
function (b) {
|
|
174
|
+
g(a, b);
|
|
175
|
+
}
|
|
176
|
+
);
|
|
177
|
+
} catch (c) {
|
|
178
|
+
g(a, c);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function k(a, b, c, d) {
|
|
182
|
+
this.n = a;
|
|
183
|
+
this.c = new a(p, d);
|
|
184
|
+
this.i = c;
|
|
185
|
+
this.o(b)
|
|
186
|
+
? ((this.m = b),
|
|
187
|
+
(this.d = this.length = b.length),
|
|
188
|
+
this.l(),
|
|
189
|
+
0 === this.length
|
|
190
|
+
? m(this.c, this.b)
|
|
191
|
+
: ((this.length = this.length || 0),
|
|
192
|
+
this.k(),
|
|
193
|
+
0 === this.d && m(this.c, this.b)))
|
|
194
|
+
: g(this.c, this.p());
|
|
195
|
+
}
|
|
196
|
+
function h(a) {
|
|
197
|
+
O++;
|
|
198
|
+
this.b = this.a = void 0;
|
|
199
|
+
this.e = [];
|
|
200
|
+
if (p !== a) {
|
|
201
|
+
if (!s(a))
|
|
202
|
+
throw new TypeError(
|
|
203
|
+
"You must pass a resolver function as the first argument to the promise constructor"
|
|
204
|
+
);
|
|
205
|
+
if (!(this instanceof h))
|
|
206
|
+
throw new TypeError(
|
|
207
|
+
"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."
|
|
208
|
+
);
|
|
209
|
+
N(this, a);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
var E = Array.isArray
|
|
213
|
+
? Array.isArray
|
|
214
|
+
: function (a) {
|
|
215
|
+
return "[object Array]" === Object.prototype.toString.call(a);
|
|
216
|
+
},
|
|
217
|
+
l = 0,
|
|
218
|
+
w = "undefined" !== typeof window ? window : {},
|
|
219
|
+
B = w.MutationObserver || w.WebKitMutationObserver,
|
|
220
|
+
w =
|
|
221
|
+
"undefined" !== typeof Uint8ClampedArray &&
|
|
222
|
+
"undefined" !== typeof importScripts &&
|
|
223
|
+
"undefined" !== typeof MessageChannel,
|
|
224
|
+
n = Array(1e3),
|
|
225
|
+
A;
|
|
226
|
+
A =
|
|
227
|
+
"undefined" !== typeof process &&
|
|
228
|
+
"[object process]" === {}.toString.call(process)
|
|
229
|
+
? F()
|
|
230
|
+
: B
|
|
231
|
+
? G()
|
|
232
|
+
: w
|
|
233
|
+
? H()
|
|
234
|
+
: I();
|
|
235
|
+
var v = new D(),
|
|
236
|
+
y = new D();
|
|
237
|
+
k.prototype.o = function (a) {
|
|
238
|
+
return E(a);
|
|
239
|
+
};
|
|
240
|
+
k.prototype.p = function () {
|
|
241
|
+
return Error("Array Methods must be provided an Array");
|
|
242
|
+
};
|
|
243
|
+
k.prototype.l = function () {
|
|
244
|
+
this.b = Array(this.length);
|
|
245
|
+
};
|
|
246
|
+
k.prototype.k = function () {
|
|
247
|
+
for (
|
|
248
|
+
var a = this.length, b = this.c, c = this.m, d = 0;
|
|
249
|
+
void 0 === b.a && d < a;
|
|
250
|
+
d++
|
|
251
|
+
)
|
|
252
|
+
this.j(c[d], d);
|
|
253
|
+
};
|
|
254
|
+
k.prototype.j = function (a, b) {
|
|
255
|
+
var c = this.n;
|
|
256
|
+
"object" === typeof a && null !== a
|
|
257
|
+
? a.constructor === c && void 0 !== a.a
|
|
258
|
+
? ((a.f = null), this.g(a.a, b, a.b))
|
|
259
|
+
: this.q(c.resolve(a), b)
|
|
260
|
+
: (this.d--, (this.b[b] = this.h(a)));
|
|
261
|
+
};
|
|
262
|
+
k.prototype.g = function (a, b, c) {
|
|
263
|
+
var d = this.c;
|
|
264
|
+
void 0 === d.a &&
|
|
265
|
+
(this.d--, this.i && 2 === a ? g(d, c) : (this.b[b] = this.h(c)));
|
|
266
|
+
0 === this.d && m(d, this.b);
|
|
267
|
+
};
|
|
268
|
+
k.prototype.h = function (a) {
|
|
269
|
+
return a;
|
|
270
|
+
};
|
|
271
|
+
k.prototype.q = function (a, b) {
|
|
272
|
+
var c = this;
|
|
273
|
+
u(
|
|
274
|
+
a,
|
|
275
|
+
void 0,
|
|
276
|
+
function (a) {
|
|
277
|
+
c.g(1, b, a);
|
|
278
|
+
},
|
|
279
|
+
function (a) {
|
|
280
|
+
c.g(2, b, a);
|
|
281
|
+
}
|
|
282
|
+
);
|
|
283
|
+
};
|
|
284
|
+
var O = 0;
|
|
285
|
+
h.all = function (a, b) {
|
|
286
|
+
return new k(this, a, !0, b).c;
|
|
287
|
+
};
|
|
288
|
+
h.race = function (a, b) {
|
|
289
|
+
function c(a) {
|
|
290
|
+
q(e, a);
|
|
291
|
+
}
|
|
292
|
+
function d(a) {
|
|
293
|
+
g(e, a);
|
|
294
|
+
}
|
|
295
|
+
var e = new this(p, b);
|
|
296
|
+
if (!E(a)) return g(e, new TypeError("You must pass an array to race.")), e;
|
|
297
|
+
for (var f = a.length, h = 0; void 0 === e.a && h < f; h++)
|
|
298
|
+
u(this.resolve(a[h]), void 0, c, d);
|
|
299
|
+
return e;
|
|
300
|
+
};
|
|
301
|
+
h.resolve = function (a, b) {
|
|
302
|
+
if (a && "object" === typeof a && a.constructor === this) return a;
|
|
303
|
+
var c = new this(p, b);
|
|
304
|
+
q(c, a);
|
|
305
|
+
return c;
|
|
306
|
+
};
|
|
307
|
+
h.reject = function (a, b) {
|
|
308
|
+
var c = new this(p, b);
|
|
309
|
+
g(c, a);
|
|
310
|
+
return c;
|
|
311
|
+
};
|
|
312
|
+
h.prototype = {
|
|
313
|
+
constructor: h,
|
|
314
|
+
then: function (a, b) {
|
|
315
|
+
var c = this.a;
|
|
316
|
+
if ((1 === c && !a) || (2 === c && !b)) return this;
|
|
317
|
+
var d = new this.constructor(p),
|
|
318
|
+
e = this.b;
|
|
319
|
+
if (c) {
|
|
320
|
+
var f = arguments[c - 1];
|
|
321
|
+
r(function () {
|
|
322
|
+
C(c, d, f, e);
|
|
323
|
+
});
|
|
324
|
+
} else u(this, d, a, b);
|
|
325
|
+
return d;
|
|
326
|
+
},
|
|
327
|
+
catch: function (a) {
|
|
328
|
+
return this.then(null, a);
|
|
329
|
+
},
|
|
330
|
+
};
|
|
331
|
+
var z = {
|
|
332
|
+
Promise: h,
|
|
333
|
+
polyfill: function () {
|
|
334
|
+
var a;
|
|
335
|
+
a =
|
|
336
|
+
"undefined" !== typeof global
|
|
337
|
+
? global
|
|
338
|
+
: "undefined" !== typeof window && window.document
|
|
339
|
+
? window
|
|
340
|
+
: self;
|
|
341
|
+
("Promise" in a &&
|
|
342
|
+
"resolve" in a.Promise &&
|
|
343
|
+
"reject" in a.Promise &&
|
|
344
|
+
"all" in a.Promise &&
|
|
345
|
+
"race" in a.Promise &&
|
|
346
|
+
(function () {
|
|
347
|
+
var b;
|
|
348
|
+
new a.Promise(function (a) {
|
|
349
|
+
b = a;
|
|
350
|
+
});
|
|
351
|
+
return s(b);
|
|
352
|
+
})()) ||
|
|
353
|
+
(a.Promise = h);
|
|
354
|
+
},
|
|
355
|
+
};
|
|
356
|
+
"function" === typeof define && define.amd
|
|
357
|
+
? define([], function () {
|
|
358
|
+
return z;
|
|
359
|
+
})
|
|
360
|
+
: "undefined" !== typeof module && module.exports
|
|
361
|
+
? (module.exports = z)
|
|
362
|
+
: "undefined" !== typeof this && (this.ES6Promise = z);
|
|
363
|
+
}.call(this));
|