@lingk/sync 0.0.96 → 0.0.97

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.
@@ -41,31 +41,758 @@ module.exports =
41
41
  /******/ return __webpack_require__(0);
42
42
  /******/ })
43
43
  /************************************************************************/
44
- /******/ ({
44
+ /******/ ([
45
+ /* 0 */
46
+ /***/ function(module, exports, __webpack_require__) {
47
+
48
+ module.exports = __webpack_require__(184);
49
+
50
+
51
+ /***/ },
52
+ /* 1 */,
53
+ /* 2 */
54
+ /***/ function(module, exports) {
55
+
56
+ module.exports = require("react");
57
+
58
+ /***/ },
59
+ /* 3 */,
60
+ /* 4 */
61
+ /***/ function(module, exports) {
45
62
 
46
- /***/ 0:
63
+ module.exports = require("react-lightning-design-system");
64
+
65
+ /***/ },
66
+ /* 5 */,
67
+ /* 6 */,
68
+ /* 7 */
69
+ /***/ function(module, exports) {
70
+
71
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
72
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
73
+ ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
74
+ if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
75
+
76
+ /***/ },
77
+ /* 8 */,
78
+ /* 9 */
79
+ /***/ function(module, exports) {
80
+
81
+ var core = module.exports = {version: '2.4.0'};
82
+ if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
83
+
84
+ /***/ },
85
+ /* 10 */
47
86
  /***/ function(module, exports, __webpack_require__) {
48
87
 
49
- module.exports = __webpack_require__(158);
88
+ // Thank's IE8 for his funny defineProperty
89
+ module.exports = !__webpack_require__(12)(function(){
90
+ return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
91
+ });
50
92
 
93
+ /***/ },
94
+ /* 11 */,
95
+ /* 12 */
96
+ /***/ function(module, exports) {
97
+
98
+ module.exports = function(exec){
99
+ try {
100
+ return !!exec();
101
+ } catch(e){
102
+ return true;
103
+ }
104
+ };
51
105
 
52
106
  /***/ },
107
+ /* 13 */
108
+ /***/ function(module, exports, __webpack_require__) {
109
+
110
+ var dP = __webpack_require__(18)
111
+ , createDesc = __webpack_require__(32);
112
+ module.exports = __webpack_require__(10) ? function(object, key, value){
113
+ return dP.f(object, key, createDesc(1, value));
114
+ } : function(object, key, value){
115
+ object[key] = value;
116
+ return object;
117
+ };
53
118
 
54
- /***/ 2:
119
+ /***/ },
120
+ /* 14 */
55
121
  /***/ function(module, exports) {
56
122
 
57
- module.exports = require("react");
123
+ module.exports = function(it){
124
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
125
+ };
58
126
 
59
127
  /***/ },
128
+ /* 15 */
129
+ /***/ function(module, exports, __webpack_require__) {
130
+
131
+ var isObject = __webpack_require__(14);
132
+ module.exports = function(it){
133
+ if(!isObject(it))throw TypeError(it + ' is not an object!');
134
+ return it;
135
+ };
60
136
 
61
- /***/ 5:
137
+ /***/ },
138
+ /* 16 */
62
139
  /***/ function(module, exports) {
63
140
 
64
- module.exports = require("react-lightning-design-system");
141
+ // 7.2.1 RequireObjectCoercible(argument)
142
+ module.exports = function(it){
143
+ if(it == undefined)throw TypeError("Can't call method on " + it);
144
+ return it;
145
+ };
146
+
147
+ /***/ },
148
+ /* 17 */
149
+ /***/ function(module, exports) {
150
+
151
+ var hasOwnProperty = {}.hasOwnProperty;
152
+ module.exports = function(it, key){
153
+ return hasOwnProperty.call(it, key);
154
+ };
155
+
156
+ /***/ },
157
+ /* 18 */
158
+ /***/ function(module, exports, __webpack_require__) {
159
+
160
+ var anObject = __webpack_require__(15)
161
+ , IE8_DOM_DEFINE = __webpack_require__(43)
162
+ , toPrimitive = __webpack_require__(47)
163
+ , dP = Object.defineProperty;
164
+
165
+ exports.f = __webpack_require__(10) ? Object.defineProperty : function defineProperty(O, P, Attributes){
166
+ anObject(O);
167
+ P = toPrimitive(P, true);
168
+ anObject(Attributes);
169
+ if(IE8_DOM_DEFINE)try {
170
+ return dP(O, P, Attributes);
171
+ } catch(e){ /* empty */ }
172
+ if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
173
+ if('value' in Attributes)O[P] = Attributes.value;
174
+ return O;
175
+ };
176
+
177
+ /***/ },
178
+ /* 19 */
179
+ /***/ function(module, exports) {
180
+
181
+ // 7.1.4 ToInteger
182
+ var ceil = Math.ceil
183
+ , floor = Math.floor;
184
+ module.exports = function(it){
185
+ return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
186
+ };
187
+
188
+ /***/ },
189
+ /* 20 */
190
+ /***/ function(module, exports, __webpack_require__) {
191
+
192
+ // to indexed object, toObject with fallback for non-array-like ES3 strings
193
+ var IObject = __webpack_require__(29)
194
+ , defined = __webpack_require__(16);
195
+ module.exports = function(it){
196
+ return IObject(defined(it));
197
+ };
65
198
 
66
199
  /***/ },
200
+ /* 21 */
201
+ /***/ function(module, exports, __webpack_require__) {
202
+
203
+ var store = __webpack_require__(33)('wks')
204
+ , uid = __webpack_require__(35)
205
+ , Symbol = __webpack_require__(7).Symbol
206
+ , USE_SYMBOL = typeof Symbol == 'function';
207
+
208
+ var $exports = module.exports = function(name){
209
+ return store[name] || (store[name] =
210
+ USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
211
+ };
212
+
213
+ $exports.store = store;
67
214
 
68
- /***/ 148:
215
+ /***/ },
216
+ /* 22 */,
217
+ /* 23 */
218
+ /***/ function(module, exports, __webpack_require__) {
219
+
220
+ var global = __webpack_require__(7)
221
+ , core = __webpack_require__(9)
222
+ , ctx = __webpack_require__(42)
223
+ , hide = __webpack_require__(13)
224
+ , PROTOTYPE = 'prototype';
225
+
226
+ var $export = function(type, name, source){
227
+ var IS_FORCED = type & $export.F
228
+ , IS_GLOBAL = type & $export.G
229
+ , IS_STATIC = type & $export.S
230
+ , IS_PROTO = type & $export.P
231
+ , IS_BIND = type & $export.B
232
+ , IS_WRAP = type & $export.W
233
+ , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
234
+ , expProto = exports[PROTOTYPE]
235
+ , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
236
+ , key, own, out;
237
+ if(IS_GLOBAL)source = name;
238
+ for(key in source){
239
+ // contains in native
240
+ own = !IS_FORCED && target && target[key] !== undefined;
241
+ if(own && key in exports)continue;
242
+ // export native or passed
243
+ out = own ? target[key] : source[key];
244
+ // prevent global pollution for namespaces
245
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
246
+ // bind timers to global for call from export context
247
+ : IS_BIND && own ? ctx(out, global)
248
+ // wrap global constructors for prevent change them in library
249
+ : IS_WRAP && target[key] == out ? (function(C){
250
+ var F = function(a, b, c){
251
+ if(this instanceof C){
252
+ switch(arguments.length){
253
+ case 0: return new C;
254
+ case 1: return new C(a);
255
+ case 2: return new C(a, b);
256
+ } return new C(a, b, c);
257
+ } return C.apply(this, arguments);
258
+ };
259
+ F[PROTOTYPE] = C[PROTOTYPE];
260
+ return F;
261
+ // make static versions for prototype methods
262
+ })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
263
+ // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
264
+ if(IS_PROTO){
265
+ (exports.virtual || (exports.virtual = {}))[key] = out;
266
+ // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
267
+ if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out);
268
+ }
269
+ }
270
+ };
271
+ // type bitmap
272
+ $export.F = 1; // forced
273
+ $export.G = 2; // global
274
+ $export.S = 4; // static
275
+ $export.P = 8; // proto
276
+ $export.B = 16; // bind
277
+ $export.W = 32; // wrap
278
+ $export.U = 64; // safe
279
+ $export.R = 128; // real proto method for `library`
280
+ module.exports = $export;
281
+
282
+ /***/ },
283
+ /* 24 */
284
+ /***/ function(module, exports, __webpack_require__) {
285
+
286
+ var shared = __webpack_require__(33)('keys')
287
+ , uid = __webpack_require__(35);
288
+ module.exports = function(key){
289
+ return shared[key] || (shared[key] = uid(key));
290
+ };
291
+
292
+ /***/ },
293
+ /* 25 */,
294
+ /* 26 */
295
+ /***/ function(module, exports) {
296
+
297
+ var toString = {}.toString;
298
+
299
+ module.exports = function(it){
300
+ return toString.call(it).slice(8, -1);
301
+ };
302
+
303
+ /***/ },
304
+ /* 27 */
305
+ /***/ function(module, exports, __webpack_require__) {
306
+
307
+ var isObject = __webpack_require__(14)
308
+ , document = __webpack_require__(7).document
309
+ // in old IE typeof document.createElement is 'object'
310
+ , is = isObject(document) && isObject(document.createElement);
311
+ module.exports = function(it){
312
+ return is ? document.createElement(it) : {};
313
+ };
314
+
315
+ /***/ },
316
+ /* 28 */
317
+ /***/ function(module, exports) {
318
+
319
+ // IE 8- don't enum bug keys
320
+ module.exports = (
321
+ 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
322
+ ).split(',');
323
+
324
+ /***/ },
325
+ /* 29 */
326
+ /***/ function(module, exports, __webpack_require__) {
327
+
328
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
329
+ var cof = __webpack_require__(26);
330
+ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
331
+ return cof(it) == 'String' ? it.split('') : Object(it);
332
+ };
333
+
334
+ /***/ },
335
+ /* 30 */
336
+ /***/ function(module, exports) {
337
+
338
+ module.exports = {};
339
+
340
+ /***/ },
341
+ /* 31 */
342
+ /***/ function(module, exports, __webpack_require__) {
343
+
344
+ // 19.1.2.14 / 15.2.3.14 Object.keys(O)
345
+ var $keys = __webpack_require__(44)
346
+ , enumBugKeys = __webpack_require__(28);
347
+
348
+ module.exports = Object.keys || function keys(O){
349
+ return $keys(O, enumBugKeys);
350
+ };
351
+
352
+ /***/ },
353
+ /* 32 */
354
+ /***/ function(module, exports) {
355
+
356
+ module.exports = function(bitmap, value){
357
+ return {
358
+ enumerable : !(bitmap & 1),
359
+ configurable: !(bitmap & 2),
360
+ writable : !(bitmap & 4),
361
+ value : value
362
+ };
363
+ };
364
+
365
+ /***/ },
366
+ /* 33 */
367
+ /***/ function(module, exports, __webpack_require__) {
368
+
369
+ var global = __webpack_require__(7)
370
+ , SHARED = '__core-js_shared__'
371
+ , store = global[SHARED] || (global[SHARED] = {});
372
+ module.exports = function(key){
373
+ return store[key] || (store[key] = {});
374
+ };
375
+
376
+ /***/ },
377
+ /* 34 */
378
+ /***/ function(module, exports, __webpack_require__) {
379
+
380
+ // 7.1.13 ToObject(argument)
381
+ var defined = __webpack_require__(16);
382
+ module.exports = function(it){
383
+ return Object(defined(it));
384
+ };
385
+
386
+ /***/ },
387
+ /* 35 */
388
+ /***/ function(module, exports) {
389
+
390
+ var id = 0
391
+ , px = Math.random();
392
+ module.exports = function(key){
393
+ return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
394
+ };
395
+
396
+ /***/ },
397
+ /* 36 */
398
+ /***/ function(module, exports, __webpack_require__) {
399
+
400
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
401
+ Copyright (c) 2016 Jed Watson.
402
+ Licensed under the MIT License (MIT), see
403
+ http://jedwatson.github.io/classnames
404
+ */
405
+ /* global define */
406
+
407
+ (function () {
408
+ 'use strict';
409
+
410
+ var hasOwn = {}.hasOwnProperty;
411
+
412
+ function classNames () {
413
+ var classes = [];
414
+
415
+ for (var i = 0; i < arguments.length; i++) {
416
+ var arg = arguments[i];
417
+ if (!arg) continue;
418
+
419
+ var argType = typeof arg;
420
+
421
+ if (argType === 'string' || argType === 'number') {
422
+ classes.push(arg);
423
+ } else if (Array.isArray(arg)) {
424
+ classes.push(classNames.apply(null, arg));
425
+ } else if (argType === 'object') {
426
+ for (var key in arg) {
427
+ if (hasOwn.call(arg, key) && arg[key]) {
428
+ classes.push(key);
429
+ }
430
+ }
431
+ }
432
+ }
433
+
434
+ return classes.join(' ');
435
+ }
436
+
437
+ if (typeof module !== 'undefined' && module.exports) {
438
+ module.exports = classNames;
439
+ } else if (true) {
440
+ // register as 'classnames', consistent with npm package name
441
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
442
+ return classNames;
443
+ }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
444
+ } else {
445
+ window.classNames = classNames;
446
+ }
447
+ }());
448
+
449
+
450
+ /***/ },
451
+ /* 37 */,
452
+ /* 38 */,
453
+ /* 39 */,
454
+ /* 40 */
455
+ /***/ function(module, exports) {
456
+
457
+ module.exports = function(it){
458
+ if(typeof it != 'function')throw TypeError(it + ' is not a function!');
459
+ return it;
460
+ };
461
+
462
+ /***/ },
463
+ /* 41 */
464
+ /***/ function(module, exports, __webpack_require__) {
465
+
466
+ // false -> Array#indexOf
467
+ // true -> Array#includes
468
+ var toIObject = __webpack_require__(20)
469
+ , toLength = __webpack_require__(46)
470
+ , toIndex = __webpack_require__(45);
471
+ module.exports = function(IS_INCLUDES){
472
+ return function($this, el, fromIndex){
473
+ var O = toIObject($this)
474
+ , length = toLength(O.length)
475
+ , index = toIndex(fromIndex, length)
476
+ , value;
477
+ // Array#includes uses SameValueZero equality algorithm
478
+ if(IS_INCLUDES && el != el)while(length > index){
479
+ value = O[index++];
480
+ if(value != value)return true;
481
+ // Array#toIndex ignores holes, Array#includes - not
482
+ } else for(;length > index; index++)if(IS_INCLUDES || index in O){
483
+ if(O[index] === el)return IS_INCLUDES || index || 0;
484
+ } return !IS_INCLUDES && -1;
485
+ };
486
+ };
487
+
488
+ /***/ },
489
+ /* 42 */
490
+ /***/ function(module, exports, __webpack_require__) {
491
+
492
+ // optional / simple context binding
493
+ var aFunction = __webpack_require__(40);
494
+ module.exports = function(fn, that, length){
495
+ aFunction(fn);
496
+ if(that === undefined)return fn;
497
+ switch(length){
498
+ case 1: return function(a){
499
+ return fn.call(that, a);
500
+ };
501
+ case 2: return function(a, b){
502
+ return fn.call(that, a, b);
503
+ };
504
+ case 3: return function(a, b, c){
505
+ return fn.call(that, a, b, c);
506
+ };
507
+ }
508
+ return function(/* ...args */){
509
+ return fn.apply(that, arguments);
510
+ };
511
+ };
512
+
513
+ /***/ },
514
+ /* 43 */
515
+ /***/ function(module, exports, __webpack_require__) {
516
+
517
+ module.exports = !__webpack_require__(10) && !__webpack_require__(12)(function(){
518
+ return Object.defineProperty(__webpack_require__(27)('div'), 'a', {get: function(){ return 7; }}).a != 7;
519
+ });
520
+
521
+ /***/ },
522
+ /* 44 */
523
+ /***/ function(module, exports, __webpack_require__) {
524
+
525
+ var has = __webpack_require__(17)
526
+ , toIObject = __webpack_require__(20)
527
+ , arrayIndexOf = __webpack_require__(41)(false)
528
+ , IE_PROTO = __webpack_require__(24)('IE_PROTO');
529
+
530
+ module.exports = function(object, names){
531
+ var O = toIObject(object)
532
+ , i = 0
533
+ , result = []
534
+ , key;
535
+ for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
536
+ // Don't enum bug & hidden keys
537
+ while(names.length > i)if(has(O, key = names[i++])){
538
+ ~arrayIndexOf(result, key) || result.push(key);
539
+ }
540
+ return result;
541
+ };
542
+
543
+ /***/ },
544
+ /* 45 */
545
+ /***/ function(module, exports, __webpack_require__) {
546
+
547
+ var toInteger = __webpack_require__(19)
548
+ , max = Math.max
549
+ , min = Math.min;
550
+ module.exports = function(index, length){
551
+ index = toInteger(index);
552
+ return index < 0 ? max(index + length, 0) : min(index, length);
553
+ };
554
+
555
+ /***/ },
556
+ /* 46 */
557
+ /***/ function(module, exports, __webpack_require__) {
558
+
559
+ // 7.1.15 ToLength
560
+ var toInteger = __webpack_require__(19)
561
+ , min = Math.min;
562
+ module.exports = function(it){
563
+ return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
564
+ };
565
+
566
+ /***/ },
567
+ /* 47 */
568
+ /***/ function(module, exports, __webpack_require__) {
569
+
570
+ // 7.1.1 ToPrimitive(input [, PreferredType])
571
+ var isObject = __webpack_require__(14);
572
+ // instead of the ES6 spec version, we didn't implement @@toPrimitive case
573
+ // and the second argument - flag - preferred type is a string
574
+ module.exports = function(it, S){
575
+ if(!isObject(it))return it;
576
+ var fn, val;
577
+ if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
578
+ if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;
579
+ if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
580
+ throw TypeError("Can't convert object to primitive value");
581
+ };
582
+
583
+ /***/ },
584
+ /* 48 */,
585
+ /* 49 */,
586
+ /* 50 */,
587
+ /* 51 */,
588
+ /* 52 */
589
+ /***/ function(module, exports, __webpack_require__) {
590
+
591
+ 'use strict';
592
+ var LIBRARY = __webpack_require__(239)
593
+ , $export = __webpack_require__(23)
594
+ , redefine = __webpack_require__(247)
595
+ , hide = __webpack_require__(13)
596
+ , has = __webpack_require__(17)
597
+ , Iterators = __webpack_require__(30)
598
+ , $iterCreate = __webpack_require__(237)
599
+ , setToStringTag = __webpack_require__(53)
600
+ , getPrototypeOf = __webpack_require__(244)
601
+ , ITERATOR = __webpack_require__(21)('iterator')
602
+ , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
603
+ , FF_ITERATOR = '@@iterator'
604
+ , KEYS = 'keys'
605
+ , VALUES = 'values';
606
+
607
+ var returnThis = function(){ return this; };
608
+
609
+ module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
610
+ $iterCreate(Constructor, NAME, next);
611
+ var getMethod = function(kind){
612
+ if(!BUGGY && kind in proto)return proto[kind];
613
+ switch(kind){
614
+ case KEYS: return function keys(){ return new Constructor(this, kind); };
615
+ case VALUES: return function values(){ return new Constructor(this, kind); };
616
+ } return function entries(){ return new Constructor(this, kind); };
617
+ };
618
+ var TAG = NAME + ' Iterator'
619
+ , DEF_VALUES = DEFAULT == VALUES
620
+ , VALUES_BUG = false
621
+ , proto = Base.prototype
622
+ , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
623
+ , $default = $native || getMethod(DEFAULT)
624
+ , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined
625
+ , $anyNative = NAME == 'Array' ? proto.entries || $native : $native
626
+ , methods, key, IteratorPrototype;
627
+ // Fix native
628
+ if($anyNative){
629
+ IteratorPrototype = getPrototypeOf($anyNative.call(new Base));
630
+ if(IteratorPrototype !== Object.prototype){
631
+ // Set @@toStringTag to native iterators
632
+ setToStringTag(IteratorPrototype, TAG, true);
633
+ // fix for some old engines
634
+ if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
635
+ }
636
+ }
637
+ // fix Array#{values, @@iterator}.name in V8 / FF
638
+ if(DEF_VALUES && $native && $native.name !== VALUES){
639
+ VALUES_BUG = true;
640
+ $default = function values(){ return $native.call(this); };
641
+ }
642
+ // Define iterator
643
+ if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
644
+ hide(proto, ITERATOR, $default);
645
+ }
646
+ // Plug for library
647
+ Iterators[NAME] = $default;
648
+ Iterators[TAG] = returnThis;
649
+ if(DEFAULT){
650
+ methods = {
651
+ values: DEF_VALUES ? $default : getMethod(VALUES),
652
+ keys: IS_SET ? $default : getMethod(KEYS),
653
+ entries: $entries
654
+ };
655
+ if(FORCED)for(key in methods){
656
+ if(!(key in proto))redefine(proto, key, methods[key]);
657
+ } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
658
+ }
659
+ return methods;
660
+ };
661
+
662
+ /***/ },
663
+ /* 53 */
664
+ /***/ function(module, exports, __webpack_require__) {
665
+
666
+ var def = __webpack_require__(18).f
667
+ , has = __webpack_require__(17)
668
+ , TAG = __webpack_require__(21)('toStringTag');
669
+
670
+ module.exports = function(it, tag, stat){
671
+ if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
672
+ };
673
+
674
+ /***/ },
675
+ /* 54 */,
676
+ /* 55 */,
677
+ /* 56 */,
678
+ /* 57 */,
679
+ /* 58 */,
680
+ /* 59 */,
681
+ /* 60 */,
682
+ /* 61 */,
683
+ /* 62 */,
684
+ /* 63 */,
685
+ /* 64 */,
686
+ /* 65 */,
687
+ /* 66 */,
688
+ /* 67 */,
689
+ /* 68 */,
690
+ /* 69 */,
691
+ /* 70 */,
692
+ /* 71 */,
693
+ /* 72 */,
694
+ /* 73 */,
695
+ /* 74 */,
696
+ /* 75 */,
697
+ /* 76 */,
698
+ /* 77 */,
699
+ /* 78 */,
700
+ /* 79 */,
701
+ /* 80 */,
702
+ /* 81 */,
703
+ /* 82 */,
704
+ /* 83 */,
705
+ /* 84 */,
706
+ /* 85 */,
707
+ /* 86 */,
708
+ /* 87 */,
709
+ /* 88 */,
710
+ /* 89 */,
711
+ /* 90 */,
712
+ /* 91 */,
713
+ /* 92 */,
714
+ /* 93 */,
715
+ /* 94 */,
716
+ /* 95 */,
717
+ /* 96 */,
718
+ /* 97 */,
719
+ /* 98 */,
720
+ /* 99 */,
721
+ /* 100 */,
722
+ /* 101 */,
723
+ /* 102 */,
724
+ /* 103 */,
725
+ /* 104 */,
726
+ /* 105 */,
727
+ /* 106 */,
728
+ /* 107 */,
729
+ /* 108 */,
730
+ /* 109 */,
731
+ /* 110 */,
732
+ /* 111 */,
733
+ /* 112 */,
734
+ /* 113 */,
735
+ /* 114 */,
736
+ /* 115 */,
737
+ /* 116 */,
738
+ /* 117 */,
739
+ /* 118 */,
740
+ /* 119 */,
741
+ /* 120 */,
742
+ /* 121 */,
743
+ /* 122 */,
744
+ /* 123 */,
745
+ /* 124 */,
746
+ /* 125 */,
747
+ /* 126 */,
748
+ /* 127 */,
749
+ /* 128 */,
750
+ /* 129 */,
751
+ /* 130 */,
752
+ /* 131 */,
753
+ /* 132 */,
754
+ /* 133 */,
755
+ /* 134 */,
756
+ /* 135 */,
757
+ /* 136 */,
758
+ /* 137 */,
759
+ /* 138 */,
760
+ /* 139 */,
761
+ /* 140 */,
762
+ /* 141 */,
763
+ /* 142 */,
764
+ /* 143 */,
765
+ /* 144 */,
766
+ /* 145 */,
767
+ /* 146 */,
768
+ /* 147 */,
769
+ /* 148 */,
770
+ /* 149 */,
771
+ /* 150 */,
772
+ /* 151 */,
773
+ /* 152 */,
774
+ /* 153 */,
775
+ /* 154 */,
776
+ /* 155 */,
777
+ /* 156 */,
778
+ /* 157 */,
779
+ /* 158 */,
780
+ /* 159 */,
781
+ /* 160 */,
782
+ /* 161 */,
783
+ /* 162 */,
784
+ /* 163 */,
785
+ /* 164 */,
786
+ /* 165 */,
787
+ /* 166 */,
788
+ /* 167 */,
789
+ /* 168 */,
790
+ /* 169 */,
791
+ /* 170 */,
792
+ /* 171 */,
793
+ /* 172 */,
794
+ /* 173 */,
795
+ /* 174 */
69
796
  /***/ function(module, exports, __webpack_require__) {
70
797
 
71
798
  'use strict';
@@ -78,7 +805,7 @@ module.exports =
78
805
 
79
806
  var _react2 = _interopRequireDefault(_react);
80
807
 
81
- var _reactLightningDesignSystem = __webpack_require__(5);
808
+ var _reactLightningDesignSystem = __webpack_require__(4);
82
809
 
83
810
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
84
811
 
@@ -89,8 +816,7 @@ module.exports =
89
816
  exports.default = B;
90
817
 
91
818
  /***/ },
92
-
93
- /***/ 149:
819
+ /* 175 */
94
820
  /***/ function(module, exports, __webpack_require__) {
95
821
 
96
822
  'use strict';
@@ -103,7 +829,7 @@ module.exports =
103
829
 
104
830
  var _react2 = _interopRequireDefault(_react);
105
831
 
106
- var _reactLightningDesignSystem = __webpack_require__(5);
832
+ var _reactLightningDesignSystem = __webpack_require__(4);
107
833
 
108
834
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
109
835
 
@@ -145,8 +871,7 @@ module.exports =
145
871
  exports.default = C;
146
872
 
147
873
  /***/ },
148
-
149
- /***/ 150:
874
+ /* 176 */
150
875
  /***/ function(module, exports, __webpack_require__) {
151
876
 
152
877
  'use strict';
@@ -159,7 +884,7 @@ module.exports =
159
884
 
160
885
  var _react2 = _interopRequireDefault(_react);
161
886
 
162
- var _reactLightningDesignSystem = __webpack_require__(5);
887
+ var _reactLightningDesignSystem = __webpack_require__(4);
163
888
 
164
889
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
165
890
 
@@ -170,8 +895,7 @@ module.exports =
170
895
  exports.default = I;
171
896
 
172
897
  /***/ },
173
-
174
- /***/ 151:
898
+ /* 177 */
175
899
  /***/ function(module, exports, __webpack_require__) {
176
900
 
177
901
  'use strict';
@@ -184,7 +908,7 @@ module.exports =
184
908
 
185
909
  var _react2 = _interopRequireDefault(_react);
186
910
 
187
- var _reactLightningDesignSystem = __webpack_require__(5);
911
+ var _reactLightningDesignSystem = __webpack_require__(4);
188
912
 
189
913
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
190
914
 
@@ -286,8 +1010,7 @@ module.exports =
286
1010
  exports.default = MapTable;
287
1011
 
288
1012
  /***/ },
289
-
290
- /***/ 152:
1013
+ /* 178 */
291
1014
  /***/ function(module, exports, __webpack_require__) {
292
1015
 
293
1016
  'use strict';
@@ -300,7 +1023,7 @@ module.exports =
300
1023
 
301
1024
  var _react2 = _interopRequireDefault(_react);
302
1025
 
303
- var _reactLightningDesignSystem = __webpack_require__(5);
1026
+ var _reactLightningDesignSystem = __webpack_require__(4);
304
1027
 
305
1028
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
306
1029
 
@@ -346,8 +1069,7 @@ module.exports =
346
1069
  exports.default = M;
347
1070
 
348
1071
  /***/ },
349
-
350
- /***/ 153:
1072
+ /* 179 */
351
1073
  /***/ function(module, exports, __webpack_require__) {
352
1074
 
353
1075
  'use strict';
@@ -360,7 +1082,7 @@ module.exports =
360
1082
 
361
1083
  var _react2 = _interopRequireDefault(_react);
362
1084
 
363
- var _reactLightningDesignSystem = __webpack_require__(5);
1085
+ var _reactLightningDesignSystem = __webpack_require__(4);
364
1086
 
365
1087
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
366
1088
 
@@ -371,8 +1093,7 @@ module.exports =
371
1093
  exports.default = R;
372
1094
 
373
1095
  /***/ },
374
-
375
- /***/ 154:
1096
+ /* 180 */
376
1097
  /***/ function(module, exports, __webpack_require__) {
377
1098
 
378
1099
  'use strict';
@@ -381,25 +1102,38 @@ module.exports =
381
1102
  value: true
382
1103
  });
383
1104
 
1105
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
1106
+
384
1107
  var _react = __webpack_require__(2);
385
1108
 
386
1109
  var _react2 = _interopRequireDefault(_react);
387
1110
 
388
- var _reactLightningDesignSystem = __webpack_require__(5);
1111
+ var _classnames = __webpack_require__(36);
1112
+
1113
+ var _classnames2 = _interopRequireDefault(_classnames);
1114
+
1115
+ var _reactLightningDesignSystem = __webpack_require__(4);
1116
+
1117
+ var _util = __webpack_require__(294);
389
1118
 
390
1119
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
391
1120
 
392
- function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
1121
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
1122
+
1123
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1124
+
1125
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
1126
+
1127
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
393
1128
 
394
1129
  var Select = function Select(props) {
395
- var values = props.values,
396
- selectedDataEntity = props.selectedDataEntity,
1130
+ var vals = props.vals,
397
1131
  onSelect = props.onSelect,
398
1132
  label = props.label,
399
1133
  title = props.title,
400
1134
  minWidth = props.minWidth,
401
1135
  sectionLabelSuffix = props.sectionLabelSuffix,
402
- selectedValues = props.selectedValues,
1136
+ expand = props.expand,
403
1137
  type = props.type,
404
1138
  menuAlign = props.menuAlign,
405
1139
  style = props.style,
@@ -411,42 +1145,6 @@ module.exports =
411
1145
 
412
1146
  var extraClassy = extraClass ? ' extra-select-button-class' : '';
413
1147
 
414
- var iterator = function iterator(sectionValues, entity, sectionLabel, iteration, parents, newParent) {
415
-
416
- if (newParent) {
417
- parents = parents.concat(newParent);
418
- }
419
- sectionValues.push(Object.assign({}, entity, {
420
- section: sectionLabel,
421
- iteration: iteration,
422
- parents: parents
423
- }));
424
- if (entity.object) {
425
- entity.object.properties.forEach(function (p) {
426
- iterator(sectionValues, p, sectionLabel, iteration + 1, parents, entity[fieldPropLabel]);
427
- });
428
- }
429
- return sectionValues;
430
- };
431
-
432
- var vals = [].concat(_toConsumableArray(values));
433
- if (sectionLabels) {
434
- var v = [];
435
- sectionLabels.forEach(function (s, i) {
436
- if (values[i] && values[i].length > 0) {
437
- (function () {
438
- v = v.concat(sectionLabels[i]);
439
- var sectionValues = [];
440
- values[i].forEach(function (entity) {
441
- iterator(sectionValues, entity, sectionLabels[i], 0, []);
442
- });
443
- v = v.concat(sectionValues);
444
- })();
445
- }
446
- });
447
- vals = v;
448
- }
449
-
450
1148
  return _react2.default.createElement(
451
1149
  'div',
452
1150
  { onClick: onClick },
@@ -464,25 +1162,19 @@ module.exports =
464
1162
  'div',
465
1163
  null,
466
1164
  _react2.default.createElement(
467
- _reactLightningDesignSystem.DropdownButton,
468
- { menuSize: 'small', value: selectedDataEntity, style: style,
1165
+ DropdownButton,
1166
+ { menuSize: 'small', style: style,
469
1167
  type: type, required: true, menuAlign: menuAlign, label: label,
470
1168
  className: 'select-dropdown-button' + extraClassy,
471
1169
  menuStyle: { maxHeight: 273, overflowY: 'scroll', marginBottom: 5,
472
1170
  boxShadow: '0 2px 3px 0 rgba(0, 0, 0, 0.36)', zIndex: 9001, minWidth: minWidth ? minWidth : '15rem' }
473
1171
  },
474
- !sectionLabels ? values && values.map(function (val, i) {
1172
+ !sectionLabels ? vals && vals.map(function (val, i) {
475
1173
  return _react2.default.createElement(
476
1174
  _reactLightningDesignSystem.MenuItem,
477
1175
  { value: val[fieldPropLabel], key: i, onClick: function onClick() {
478
- if (!selectedValues || !selectedValues.find(function (sel) {
479
- return sel[fieldPropLabel] === val[fieldPropLabel];
480
- })) {
481
- onSelect(val[fieldPropLabel], i, val.recordTypeId ? val.recordTypeId : null);
482
- }
483
- }, icon: selectedValues && selectedValues.some(function (rsc) {
484
- return rsc[fieldPropLabel] === val[fieldPropLabel];
485
- }) ? 'check' : 'none' },
1176
+ onSelect(val[fieldPropLabel], i, val.recordTypeId ? val.recordTypeId : null);
1177
+ }, icon: val.isSelected ? 'check' : 'none' },
486
1178
  val[fieldPropLabel]
487
1179
  );
488
1180
  }) : vals && vals.map(function (val, i) {
@@ -495,18 +1187,27 @@ module.exports =
495
1187
  );
496
1188
  } else return val.object ? _react2.default.createElement(
497
1189
  _reactLightningDesignSystem.MenuItem,
498
- { value: '', key: i, disabled: true, icon: 'none',
499
- style: { textDecoration: 'underline', color: '#AAAAAA', fontWeight: 'bold',
500
- paddingLeft: 8 + val.iteration * 15 } },
501
- val[fieldPropLabel]
1190
+ { key: i, icon: 'none',
1191
+ onClick: function onClick(e) {
1192
+ return expand(val[fieldPropLabel], val.parents);
1193
+ },
1194
+ style: { paddingLeft: 8 + val.iteration * 15, color: '#AAAAAA' } },
1195
+ _react2.default.createElement(
1196
+ 'span',
1197
+ { className: 'expander-circle', style: { lineHeight: '10px' } },
1198
+ val.isExpanded ? '-' : '+'
1199
+ ),
1200
+ _react2.default.createElement(
1201
+ 'span',
1202
+ { style: { textDecoration: 'underline', color: '#999999', fontWeight: 'bold' } },
1203
+ val.title
1204
+ )
502
1205
  ) : _react2.default.createElement(
503
1206
  _reactLightningDesignSystem.MenuItem,
504
1207
  { value: val[fieldPropLabel], key: i, onClick: function onClick() {
505
1208
  onSelect(val[fieldPropLabel], i, val.recordTypeId ? val.recordTypeId : null, val.section, val.parents);
506
- }, icon: selectedValues && selectedValues.some(function (rsc) {
507
- return rsc[fieldPropLabel] === val[fieldPropLabel] && (!(val.parents && rsc.parents) || JSON.stringify(rsc.parents) === JSON.stringify(val.parents));
508
- }) ? 'check' : 'none',
509
- style: { paddingLeft: 8 + val.iteration * 15 || 8 } },
1209
+ }, icon: val.isSelected ? 'check' : 'none',
1210
+ style: { paddingLeft: 8 + val.iteration * 15 || 8, marginLeft: val.isSelected ? 0 : 'initial' } },
510
1211
  val[fieldPropLabel]
511
1212
  );
512
1213
  })
@@ -516,10 +1217,269 @@ module.exports =
516
1217
  };
517
1218
 
518
1219
  exports.default = Select;
1220
+
1221
+ /************************
1222
+ MASHMATRIX DROPDOWNBUTTON
1223
+ ************************/
1224
+
1225
+ var DropdownButton = function (_Component) {
1226
+ _inherits(DropdownButton, _Component);
1227
+
1228
+ function DropdownButton() {
1229
+ _classCallCheck(this, DropdownButton);
1230
+
1231
+ var _this = _possibleConstructorReturn(this, (DropdownButton.__proto__ || Object.getPrototypeOf(DropdownButton)).call(this));
1232
+
1233
+ _this.state = { opened: false };
1234
+ (0, _util.registerStyle)('no-hover-popup', [['.slds-dropdown-trigger:hover .slds-dropdown--menu.react-slds-no-hover-popup', '{ visibility: hidden; opacity: 0; }'], ['.slds-dropdown-trigger.react-slds-dropdown-opened .slds-dropdown--menu', '{ visibility: visible !important; opacity: 1 !important; }']]);
1235
+ return _this;
1236
+ }
1237
+
1238
+ _createClass(DropdownButton, [{
1239
+ key: 'onBlur',
1240
+ value: function onBlur() {
1241
+ var _this2 = this;
1242
+
1243
+ setTimeout(function () {
1244
+ if (!_this2.isFocusedInComponent()) {
1245
+ _this2.setState({ opened: false });
1246
+ if (_this2.props.onBlur) {
1247
+ _this2.props.onBlur();
1248
+ }
1249
+ }
1250
+ }, 10);
1251
+ }
1252
+ }, {
1253
+ key: 'onKeyDown',
1254
+ value: function onKeyDown(e) {
1255
+ var _this3 = this;
1256
+
1257
+ if (e.keyCode === 40) {
1258
+ // down
1259
+ e.preventDefault();
1260
+ e.stopPropagation();
1261
+ if (!this.state.opened) {
1262
+ this.setState({ opened: true });
1263
+ if (this.props.onClick) {
1264
+ this.props.onClick(e);
1265
+ }
1266
+ setTimeout(function () {
1267
+ _this3.focusToTargetItemEl();
1268
+ }, 20);
1269
+ } else {
1270
+ this.focusToTargetItemEl();
1271
+ }
1272
+ } else if (e.keyCode === 27) {
1273
+ // ESC
1274
+ e.preventDefault();
1275
+ e.stopPropagation();
1276
+ this.setState({ opened: false });
1277
+ }
1278
+ }
1279
+ }, {
1280
+ key: 'onTriggerClick',
1281
+ value: function onTriggerClick() {
1282
+ var _this4 = this;
1283
+
1284
+ if (!this.props.hoverPopup) {
1285
+ this.setState({ opened: !this.state.opened }, function () {
1286
+ if (_this4.state.opened) {
1287
+ Object.assign(_this4.dropdown.style, _this4.getStyles().dropdownOffset);
1288
+ }
1289
+ });
1290
+ }
1291
+ if (this.props.onClick) {
1292
+ var _props;
1293
+
1294
+ (_props = this.props).onClick.apply(_props, arguments);
1295
+ }
1296
+ }
1297
+ }, {
1298
+ key: 'onMenuItemClick',
1299
+ value: function onMenuItemClick() {
1300
+ var _this5 = this;
1301
+
1302
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
1303
+ args[_key] = arguments[_key];
1304
+ }
1305
+
1306
+ if (!this.props.hoverPopup) {
1307
+ setTimeout(function () {
1308
+ var triggerElem = _this5.trigger;
1309
+ if (triggerElem) triggerElem.focus();
1310
+ /*********
1311
+ ADDED THIS
1312
+ **********/
1313
+ if (args[0].style.color !== '#AAAAAA') {
1314
+ _this5.setState({ opened: false });
1315
+ }
1316
+ /***********************/
1317
+ }, 10);
1318
+ }
1319
+ if (this.props.onMenuItemClick) {
1320
+ var _props2;
1321
+
1322
+ (_props2 = this.props).onMenuItemClick.apply(_props2, args);
1323
+ }
1324
+ }
1325
+ }, {
1326
+ key: 'onMenuClose',
1327
+ value: function onMenuClose() {
1328
+ this.trigger.focus();
1329
+ this.setState({ opened: false });
1330
+ }
1331
+ }, {
1332
+ key: 'getStyles',
1333
+ value: function getStyles() {
1334
+ var triggerOffset = (0, _util.offset)(this.trigger);
1335
+ var dropdownOffset = (0, _util.offset)(this.dropdown);
1336
+ var triggerPadding = 5;
1337
+ var nubbinHeight = 8;
1338
+ var top = -1 * (dropdownOffset.top - triggerOffset.top - this.trigger.offsetHeight - triggerPadding);
1339
+ return {
1340
+ dropdownOffset: {
1341
+ marginTop: top + (this.props.nubbinTop ? nubbinHeight : 0) + 'px'
1342
+ }
1343
+ };
1344
+ }
1345
+ }, {
1346
+ key: 'isFocusedInComponent',
1347
+ value: function isFocusedInComponent() {
1348
+ return (0, _util.isElInChildren)(this.node, document.activeElement);
1349
+ }
1350
+ }, {
1351
+ key: 'focusToTargetItemEl',
1352
+ value: function focusToTargetItemEl() {
1353
+ var dropdownEl = this.dropdown;
1354
+ var firstItemEl = dropdownEl.querySelector('.slds-is-selected > .react-slds-menuitem[tabIndex]') || dropdownEl.querySelector('.react-slds-menuitem[tabIndex]');
1355
+ if (firstItemEl) {
1356
+ firstItemEl.focus();
1357
+ }
1358
+ }
1359
+ }, {
1360
+ key: 'renderButton',
1361
+ value: function renderButton(_ref) {
1362
+ var _this6 = this;
1363
+
1364
+ var grouped = _ref.grouped,
1365
+ isFirstInGroup = _ref.isFirstInGroup,
1366
+ isLastInGroup = _ref.isLastInGroup,
1367
+ props = _objectWithoutProperties(_ref, ['grouped', 'isFirstInGroup', 'isLastInGroup']);
1368
+
1369
+ var pprops = props;
1370
+ delete pprops.onMenuItemClick;
1371
+ var button = _react2.default.createElement(_reactLightningDesignSystem.Button, Object.assign({}, pprops, {
1372
+ 'aria-haspopup': true,
1373
+ buttonRef: function buttonRef(node) {
1374
+ return _this6.trigger = node;
1375
+ },
1376
+ onClick: this.onTriggerClick.bind(this),
1377
+ onKeyDown: this.onKeyDown.bind(this),
1378
+ onBlur: this.onBlur.bind(this)
1379
+ }));
1380
+
1381
+ if (grouped) {
1382
+ var noneStyle = { display: 'none' };
1383
+ return _react2.default.createElement(
1384
+ 'div',
1385
+ { className: 'slds-button-group' },
1386
+ isFirstInGroup ? null : _react2.default.createElement('button', { className: 'slds-button', style: noneStyle }),
1387
+ button,
1388
+ isLastInGroup ? null : _react2.default.createElement('button', { className: 'slds-button', style: noneStyle })
1389
+ );
1390
+ }
1391
+
1392
+ return button;
1393
+ }
1394
+ }, {
1395
+ key: 'render',
1396
+ value: function render() {
1397
+ var _this7 = this;
1398
+
1399
+ var _props3 = this.props,
1400
+ className = _props3.className,
1401
+ _props3$menuAlign = _props3.menuAlign,
1402
+ menuAlign = _props3$menuAlign === undefined ? 'left' : _props3$menuAlign,
1403
+ menuSize = _props3.menuSize,
1404
+ nubbinTop = _props3.nubbinTop,
1405
+ hoverPopup = _props3.hoverPopup,
1406
+ menuHeader = _props3.menuHeader,
1407
+ type = _props3.type,
1408
+ label = _props3.label,
1409
+ children = _props3.children,
1410
+ style = _props3.style,
1411
+ menuStyle = _props3.menuStyle,
1412
+ props = _objectWithoutProperties(_props3, ['className', 'menuAlign', 'menuSize', 'nubbinTop', 'hoverPopup', 'menuHeader', 'type', 'label', 'children', 'style', 'menuStyle']);
1413
+
1414
+ var icon = this.props.icon;
1415
+
1416
+ var dropdownClassNames = (0, _classnames2.default)(className, 'slds-dropdown-trigger', {
1417
+ 'slds-button-space-left': !props.grouped,
1418
+ 'react-slds-dropdown-opened': this.state.opened
1419
+ });
1420
+ var iconMore = null;
1421
+ if (!label && !icon) {
1422
+ icon = 'down';
1423
+ }
1424
+ if (label || type === 'icon-more') {
1425
+ iconMore = 'down';
1426
+ }
1427
+
1428
+ return _react2.default.createElement(
1429
+ 'div',
1430
+ { className: dropdownClassNames, style: style, ref: function ref(node) {
1431
+ return _this7.node = node;
1432
+ } },
1433
+ this.renderButton(Object.assign({ type: type, label: label, icon: icon, iconMore: iconMore }, props)),
1434
+ this.state.opened || hoverPopup ? _react2.default.createElement(
1435
+ _reactLightningDesignSystem.DropdownMenu,
1436
+ {
1437
+ align: menuAlign,
1438
+ header: menuHeader,
1439
+ size: menuSize,
1440
+ nubbinTop: nubbinTop,
1441
+ hoverPopup: hoverPopup,
1442
+ dropdownMenuRef: function dropdownMenuRef(node) {
1443
+ return _this7.dropdown = node;
1444
+ },
1445
+ onMenuItemClick: this.onMenuItemClick.bind(this),
1446
+ onMenuClose: this.onMenuClose.bind(this),
1447
+ onBlur: this.onBlur.bind(this),
1448
+ style: Object.assign({ transition: 'none' }, menuStyle)
1449
+ },
1450
+ children
1451
+ ) : null
1452
+ );
1453
+ }
1454
+ }]);
1455
+
1456
+ return DropdownButton;
1457
+ }(_react.Component);
1458
+
1459
+ DropdownButton.propTypes = {
1460
+ className: _react.PropTypes.string,
1461
+ label: _react.PropTypes.node,
1462
+ type: _react.PropTypes.string,
1463
+ icon: _react.PropTypes.string,
1464
+ menuAlign: _react.PropTypes.oneOf(['left', 'center', 'right']),
1465
+ menuSize: _react.PropTypes.oneOf(['small', 'medium', 'large']),
1466
+ menuHeader: _react.PropTypes.string,
1467
+ nubbinTop: _react.PropTypes.bool,
1468
+ hoverPopup: _react.PropTypes.bool,
1469
+ onBlur: _react.PropTypes.func,
1470
+ onClick: _react.PropTypes.func,
1471
+ onMenuItemClick: _react.PropTypes.func,
1472
+ grouped: _react.PropTypes.bool,
1473
+ isFirstInGroup: _react.PropTypes.bool,
1474
+ isLastInGroup: _react.PropTypes.bool,
1475
+ children: _react.PropTypes.node,
1476
+ /* eslint-disable react/forbid-prop-types */
1477
+ style: _react.PropTypes.object,
1478
+ menuStyle: _react.PropTypes.object
1479
+ };
519
1480
 
520
1481
  /***/ },
521
-
522
- /***/ 155:
1482
+ /* 181 */
523
1483
  /***/ function(module, exports, __webpack_require__) {
524
1484
 
525
1485
  'use strict';
@@ -532,7 +1492,7 @@ module.exports =
532
1492
 
533
1493
  var _react2 = _interopRequireDefault(_react);
534
1494
 
535
- var _reactLightningDesignSystem = __webpack_require__(5);
1495
+ var _reactLightningDesignSystem = __webpack_require__(4);
536
1496
 
537
1497
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
538
1498
 
@@ -568,8 +1528,7 @@ module.exports =
568
1528
  exports.default = Sidebar;
569
1529
 
570
1530
  /***/ },
571
-
572
- /***/ 156:
1531
+ /* 182 */
573
1532
  /***/ function(module, exports, __webpack_require__) {
574
1533
 
575
1534
  'use strict';
@@ -600,8 +1559,7 @@ module.exports =
600
1559
  exports.default = Spinner;
601
1560
 
602
1561
  /***/ },
603
-
604
- /***/ 157:
1562
+ /* 183 */
605
1563
  /***/ function(module, exports, __webpack_require__) {
606
1564
 
607
1565
  'use strict';
@@ -614,7 +1572,7 @@ module.exports =
614
1572
 
615
1573
  var _react2 = _interopRequireDefault(_react);
616
1574
 
617
- var _reactLightningDesignSystem = __webpack_require__(5);
1575
+ var _reactLightningDesignSystem = __webpack_require__(4);
618
1576
 
619
1577
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
620
1578
 
@@ -650,8 +1608,7 @@ module.exports =
650
1608
  exports.default = Tooltip;
651
1609
 
652
1610
  /***/ },
653
-
654
- /***/ 158:
1611
+ /* 184 */
655
1612
  /***/ function(module, exports, __webpack_require__) {
656
1613
 
657
1614
  'use strict';
@@ -660,7 +1617,7 @@ module.exports =
660
1617
  value: true
661
1618
  });
662
1619
 
663
- var _Button = __webpack_require__(148);
1620
+ var _Button = __webpack_require__(174);
664
1621
 
665
1622
  Object.defineProperty(exports, 'Button', {
666
1623
  enumerable: true,
@@ -669,7 +1626,7 @@ module.exports =
669
1626
  }
670
1627
  });
671
1628
 
672
- var _Radio = __webpack_require__(153);
1629
+ var _Radio = __webpack_require__(179);
673
1630
 
674
1631
  Object.defineProperty(exports, 'Radio', {
675
1632
  enumerable: true,
@@ -678,7 +1635,7 @@ module.exports =
678
1635
  }
679
1636
  });
680
1637
 
681
- var _Input = __webpack_require__(150);
1638
+ var _Input = __webpack_require__(176);
682
1639
 
683
1640
  Object.defineProperty(exports, 'Input', {
684
1641
  enumerable: true,
@@ -687,7 +1644,7 @@ module.exports =
687
1644
  }
688
1645
  });
689
1646
 
690
- var _Select = __webpack_require__(154);
1647
+ var _Select = __webpack_require__(180);
691
1648
 
692
1649
  Object.defineProperty(exports, 'Select', {
693
1650
  enumerable: true,
@@ -696,7 +1653,7 @@ module.exports =
696
1653
  }
697
1654
  });
698
1655
 
699
- var _Checkbox = __webpack_require__(149);
1656
+ var _Checkbox = __webpack_require__(175);
700
1657
 
701
1658
  Object.defineProperty(exports, 'Checkbox', {
702
1659
  enumerable: true,
@@ -705,7 +1662,7 @@ module.exports =
705
1662
  }
706
1663
  });
707
1664
 
708
- var _Tooltip = __webpack_require__(157);
1665
+ var _Tooltip = __webpack_require__(183);
709
1666
 
710
1667
  Object.defineProperty(exports, 'Tooltip', {
711
1668
  enumerable: true,
@@ -714,7 +1671,7 @@ module.exports =
714
1671
  }
715
1672
  });
716
1673
 
717
- var _Spinner = __webpack_require__(156);
1674
+ var _Spinner = __webpack_require__(182);
718
1675
 
719
1676
  Object.defineProperty(exports, 'Spinner', {
720
1677
  enumerable: true,
@@ -723,7 +1680,7 @@ module.exports =
723
1680
  }
724
1681
  });
725
1682
 
726
- var _Modal = __webpack_require__(152);
1683
+ var _Modal = __webpack_require__(178);
727
1684
 
728
1685
  Object.defineProperty(exports, 'Modal', {
729
1686
  enumerable: true,
@@ -732,7 +1689,7 @@ module.exports =
732
1689
  }
733
1690
  });
734
1691
 
735
- var _Sidebar = __webpack_require__(155);
1692
+ var _Sidebar = __webpack_require__(181);
736
1693
 
737
1694
  Object.defineProperty(exports, 'Sidebar', {
738
1695
  enumerable: true,
@@ -741,7 +1698,7 @@ module.exports =
741
1698
  }
742
1699
  });
743
1700
 
744
- var _MapTable = __webpack_require__(151);
1701
+ var _MapTable = __webpack_require__(177);
745
1702
 
746
1703
  Object.defineProperty(exports, 'MapTable', {
747
1704
  enumerable: true,
@@ -750,7 +1707,7 @@ module.exports =
750
1707
  }
751
1708
  });
752
1709
 
753
- var _rfInput = __webpack_require__(159);
1710
+ var _rfInput = __webpack_require__(185);
754
1711
 
755
1712
  Object.defineProperty(exports, 'rfInput', {
756
1713
  enumerable: true,
@@ -759,7 +1716,7 @@ module.exports =
759
1716
  }
760
1717
  });
761
1718
 
762
- var _rfRadioGroup = __webpack_require__(160);
1719
+ var _rfRadioGroup = __webpack_require__(186);
763
1720
 
764
1721
  Object.defineProperty(exports, 'rfRadioGroup', {
765
1722
  enumerable: true,
@@ -768,7 +1725,7 @@ module.exports =
768
1725
  }
769
1726
  });
770
1727
 
771
- var _rfSelect = __webpack_require__(161);
1728
+ var _rfSelect = __webpack_require__(187);
772
1729
 
773
1730
  Object.defineProperty(exports, 'rfSelect', {
774
1731
  enumerable: true,
@@ -780,8 +1737,7 @@ module.exports =
780
1737
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
781
1738
 
782
1739
  /***/ },
783
-
784
- /***/ 159:
1740
+ /* 185 */
785
1741
  /***/ function(module, exports, __webpack_require__) {
786
1742
 
787
1743
  'use strict';
@@ -794,7 +1750,7 @@ module.exports =
794
1750
 
795
1751
  var _react2 = _interopRequireDefault(_react);
796
1752
 
797
- var _reactLightningDesignSystem = __webpack_require__(5);
1753
+ var _reactLightningDesignSystem = __webpack_require__(4);
798
1754
 
799
1755
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
800
1756
 
@@ -831,8 +1787,7 @@ module.exports =
831
1787
  exports.default = rfInput;
832
1788
 
833
1789
  /***/ },
834
-
835
- /***/ 160:
1790
+ /* 186 */
836
1791
  /***/ function(module, exports, __webpack_require__) {
837
1792
 
838
1793
  'use strict';
@@ -845,7 +1800,7 @@ module.exports =
845
1800
 
846
1801
  var _react2 = _interopRequireDefault(_react);
847
1802
 
848
- var _reactLightningDesignSystem = __webpack_require__(5);
1803
+ var _reactLightningDesignSystem = __webpack_require__(4);
849
1804
 
850
1805
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
851
1806
 
@@ -872,8 +1827,7 @@ module.exports =
872
1827
  exports.default = rfRadioGroup;
873
1828
 
874
1829
  /***/ },
875
-
876
- /***/ 161:
1830
+ /* 187 */
877
1831
  /***/ function(module, exports, __webpack_require__) {
878
1832
 
879
1833
  'use strict';
@@ -886,7 +1840,7 @@ module.exports =
886
1840
 
887
1841
  var _react2 = _interopRequireDefault(_react);
888
1842
 
889
- var _reactLightningDesignSystem = __webpack_require__(5);
1843
+ var _reactLightningDesignSystem = __webpack_require__(4);
890
1844
 
891
1845
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
892
1846
 
@@ -944,7 +1898,541 @@ module.exports =
944
1898
 
945
1899
  exports.default = rfSelect;
946
1900
 
947
- /***/ }
1901
+ /***/ },
1902
+ /* 188 */,
1903
+ /* 189 */,
1904
+ /* 190 */,
1905
+ /* 191 */,
1906
+ /* 192 */,
1907
+ /* 193 */,
1908
+ /* 194 */,
1909
+ /* 195 */,
1910
+ /* 196 */,
1911
+ /* 197 */,
1912
+ /* 198 */,
1913
+ /* 199 */,
1914
+ /* 200 */,
1915
+ /* 201 */,
1916
+ /* 202 */,
1917
+ /* 203 */,
1918
+ /* 204 */,
1919
+ /* 205 */,
1920
+ /* 206 */,
1921
+ /* 207 */,
1922
+ /* 208 */,
1923
+ /* 209 */,
1924
+ /* 210 */,
1925
+ /* 211 */,
1926
+ /* 212 */,
1927
+ /* 213 */,
1928
+ /* 214 */,
1929
+ /* 215 */,
1930
+ /* 216 */,
1931
+ /* 217 */,
1932
+ /* 218 */,
1933
+ /* 219 */,
1934
+ /* 220 */,
1935
+ /* 221 */,
1936
+ /* 222 */,
1937
+ /* 223 */,
1938
+ /* 224 */,
1939
+ /* 225 */
1940
+ /***/ function(module, exports, __webpack_require__) {
1941
+
1942
+ module.exports = { "default": __webpack_require__(230), __esModule: true };
1943
+
1944
+ /***/ },
1945
+ /* 226 */,
1946
+ /* 227 */,
1947
+ /* 228 */
1948
+ /***/ function(module, exports, __webpack_require__) {
1949
+
1950
+ module.exports = { "default": __webpack_require__(233), __esModule: true };
1951
+
1952
+ /***/ },
1953
+ /* 229 */,
1954
+ /* 230 */
1955
+ /***/ function(module, exports, __webpack_require__) {
1956
+
1957
+ __webpack_require__(256);
1958
+ __webpack_require__(255);
1959
+ module.exports = __webpack_require__(250);
1960
+
1961
+ /***/ },
1962
+ /* 231 */,
1963
+ /* 232 */,
1964
+ /* 233 */
1965
+ /***/ function(module, exports, __webpack_require__) {
1966
+
1967
+ __webpack_require__(254);
1968
+ module.exports = __webpack_require__(9).Object.keys;
1969
+
1970
+ /***/ },
1971
+ /* 234 */
1972
+ /***/ function(module, exports) {
1973
+
1974
+ module.exports = function(){ /* empty */ };
1975
+
1976
+ /***/ },
1977
+ /* 235 */
1978
+ /***/ function(module, exports, __webpack_require__) {
1979
+
1980
+ // getting tag from 19.1.3.6 Object.prototype.toString()
1981
+ var cof = __webpack_require__(26)
1982
+ , TAG = __webpack_require__(21)('toStringTag')
1983
+ // ES3 wrong here
1984
+ , ARG = cof(function(){ return arguments; }()) == 'Arguments';
1985
+
1986
+ // fallback for IE11 Script Access Denied error
1987
+ var tryGet = function(it, key){
1988
+ try {
1989
+ return it[key];
1990
+ } catch(e){ /* empty */ }
1991
+ };
1992
+
1993
+ module.exports = function(it){
1994
+ var O, T, B;
1995
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
1996
+ // @@toStringTag case
1997
+ : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
1998
+ // builtinTag case
1999
+ : ARG ? cof(O)
2000
+ // ES3 arguments fallback
2001
+ : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
2002
+ };
2003
+
2004
+ /***/ },
2005
+ /* 236 */
2006
+ /***/ function(module, exports, __webpack_require__) {
2007
+
2008
+ module.exports = __webpack_require__(7).document && document.documentElement;
2009
+
2010
+ /***/ },
2011
+ /* 237 */
2012
+ /***/ function(module, exports, __webpack_require__) {
2013
+
2014
+ 'use strict';
2015
+ var create = __webpack_require__(241)
2016
+ , descriptor = __webpack_require__(32)
2017
+ , setToStringTag = __webpack_require__(53)
2018
+ , IteratorPrototype = {};
2019
+
2020
+ // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
2021
+ __webpack_require__(13)(IteratorPrototype, __webpack_require__(21)('iterator'), function(){ return this; });
2022
+
2023
+ module.exports = function(Constructor, NAME, next){
2024
+ Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});
2025
+ setToStringTag(Constructor, NAME + ' Iterator');
2026
+ };
2027
+
2028
+ /***/ },
2029
+ /* 238 */
2030
+ /***/ function(module, exports) {
2031
+
2032
+ module.exports = function(done, value){
2033
+ return {value: value, done: !!done};
2034
+ };
948
2035
 
949
- /******/ });
2036
+ /***/ },
2037
+ /* 239 */
2038
+ /***/ function(module, exports) {
2039
+
2040
+ module.exports = true;
2041
+
2042
+ /***/ },
2043
+ /* 240 */,
2044
+ /* 241 */
2045
+ /***/ function(module, exports, __webpack_require__) {
2046
+
2047
+ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
2048
+ var anObject = __webpack_require__(15)
2049
+ , dPs = __webpack_require__(242)
2050
+ , enumBugKeys = __webpack_require__(28)
2051
+ , IE_PROTO = __webpack_require__(24)('IE_PROTO')
2052
+ , Empty = function(){ /* empty */ }
2053
+ , PROTOTYPE = 'prototype';
2054
+
2055
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
2056
+ var createDict = function(){
2057
+ // Thrash, waste and sodomy: IE GC bug
2058
+ var iframe = __webpack_require__(27)('iframe')
2059
+ , i = enumBugKeys.length
2060
+ , lt = '<'
2061
+ , gt = '>'
2062
+ , iframeDocument;
2063
+ iframe.style.display = 'none';
2064
+ __webpack_require__(236).appendChild(iframe);
2065
+ iframe.src = 'javascript:'; // eslint-disable-line no-script-url
2066
+ // createDict = iframe.contentWindow.Object;
2067
+ // html.removeChild(iframe);
2068
+ iframeDocument = iframe.contentWindow.document;
2069
+ iframeDocument.open();
2070
+ iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
2071
+ iframeDocument.close();
2072
+ createDict = iframeDocument.F;
2073
+ while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];
2074
+ return createDict();
2075
+ };
2076
+
2077
+ module.exports = Object.create || function create(O, Properties){
2078
+ var result;
2079
+ if(O !== null){
2080
+ Empty[PROTOTYPE] = anObject(O);
2081
+ result = new Empty;
2082
+ Empty[PROTOTYPE] = null;
2083
+ // add "__proto__" for Object.getPrototypeOf polyfill
2084
+ result[IE_PROTO] = O;
2085
+ } else result = createDict();
2086
+ return Properties === undefined ? result : dPs(result, Properties);
2087
+ };
2088
+
2089
+
2090
+ /***/ },
2091
+ /* 242 */
2092
+ /***/ function(module, exports, __webpack_require__) {
2093
+
2094
+ var dP = __webpack_require__(18)
2095
+ , anObject = __webpack_require__(15)
2096
+ , getKeys = __webpack_require__(31);
2097
+
2098
+ module.exports = __webpack_require__(10) ? Object.defineProperties : function defineProperties(O, Properties){
2099
+ anObject(O);
2100
+ var keys = getKeys(Properties)
2101
+ , length = keys.length
2102
+ , i = 0
2103
+ , P;
2104
+ while(length > i)dP.f(O, P = keys[i++], Properties[P]);
2105
+ return O;
2106
+ };
2107
+
2108
+ /***/ },
2109
+ /* 243 */,
2110
+ /* 244 */
2111
+ /***/ function(module, exports, __webpack_require__) {
2112
+
2113
+ // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
2114
+ var has = __webpack_require__(17)
2115
+ , toObject = __webpack_require__(34)
2116
+ , IE_PROTO = __webpack_require__(24)('IE_PROTO')
2117
+ , ObjectProto = Object.prototype;
2118
+
2119
+ module.exports = Object.getPrototypeOf || function(O){
2120
+ O = toObject(O);
2121
+ if(has(O, IE_PROTO))return O[IE_PROTO];
2122
+ if(typeof O.constructor == 'function' && O instanceof O.constructor){
2123
+ return O.constructor.prototype;
2124
+ } return O instanceof Object ? ObjectProto : null;
2125
+ };
2126
+
2127
+ /***/ },
2128
+ /* 245 */,
2129
+ /* 246 */
2130
+ /***/ function(module, exports, __webpack_require__) {
2131
+
2132
+ // most Object methods by ES6 should accept primitives
2133
+ var $export = __webpack_require__(23)
2134
+ , core = __webpack_require__(9)
2135
+ , fails = __webpack_require__(12);
2136
+ module.exports = function(KEY, exec){
2137
+ var fn = (core.Object || {})[KEY] || Object[KEY]
2138
+ , exp = {};
2139
+ exp[KEY] = exec(fn);
2140
+ $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
2141
+ };
2142
+
2143
+ /***/ },
2144
+ /* 247 */
2145
+ /***/ function(module, exports, __webpack_require__) {
2146
+
2147
+ module.exports = __webpack_require__(13);
2148
+
2149
+ /***/ },
2150
+ /* 248 */
2151
+ /***/ function(module, exports, __webpack_require__) {
2152
+
2153
+ var toInteger = __webpack_require__(19)
2154
+ , defined = __webpack_require__(16);
2155
+ // true -> String#at
2156
+ // false -> String#codePointAt
2157
+ module.exports = function(TO_STRING){
2158
+ return function(that, pos){
2159
+ var s = String(defined(that))
2160
+ , i = toInteger(pos)
2161
+ , l = s.length
2162
+ , a, b;
2163
+ if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
2164
+ a = s.charCodeAt(i);
2165
+ return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
2166
+ ? TO_STRING ? s.charAt(i) : a
2167
+ : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
2168
+ };
2169
+ };
2170
+
2171
+ /***/ },
2172
+ /* 249 */
2173
+ /***/ function(module, exports, __webpack_require__) {
2174
+
2175
+ var classof = __webpack_require__(235)
2176
+ , ITERATOR = __webpack_require__(21)('iterator')
2177
+ , Iterators = __webpack_require__(30);
2178
+ module.exports = __webpack_require__(9).getIteratorMethod = function(it){
2179
+ if(it != undefined)return it[ITERATOR]
2180
+ || it['@@iterator']
2181
+ || Iterators[classof(it)];
2182
+ };
2183
+
2184
+ /***/ },
2185
+ /* 250 */
2186
+ /***/ function(module, exports, __webpack_require__) {
2187
+
2188
+ var anObject = __webpack_require__(15)
2189
+ , get = __webpack_require__(249);
2190
+ module.exports = __webpack_require__(9).getIterator = function(it){
2191
+ var iterFn = get(it);
2192
+ if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');
2193
+ return anObject(iterFn.call(it));
2194
+ };
2195
+
2196
+ /***/ },
2197
+ /* 251 */
2198
+ /***/ function(module, exports, __webpack_require__) {
2199
+
2200
+ 'use strict';
2201
+ var addToUnscopables = __webpack_require__(234)
2202
+ , step = __webpack_require__(238)
2203
+ , Iterators = __webpack_require__(30)
2204
+ , toIObject = __webpack_require__(20);
2205
+
2206
+ // 22.1.3.4 Array.prototype.entries()
2207
+ // 22.1.3.13 Array.prototype.keys()
2208
+ // 22.1.3.29 Array.prototype.values()
2209
+ // 22.1.3.30 Array.prototype[@@iterator]()
2210
+ module.exports = __webpack_require__(52)(Array, 'Array', function(iterated, kind){
2211
+ this._t = toIObject(iterated); // target
2212
+ this._i = 0; // next index
2213
+ this._k = kind; // kind
2214
+ // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
2215
+ }, function(){
2216
+ var O = this._t
2217
+ , kind = this._k
2218
+ , index = this._i++;
2219
+ if(!O || index >= O.length){
2220
+ this._t = undefined;
2221
+ return step(1);
2222
+ }
2223
+ if(kind == 'keys' )return step(0, index);
2224
+ if(kind == 'values')return step(0, O[index]);
2225
+ return step(0, [index, O[index]]);
2226
+ }, 'values');
2227
+
2228
+ // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
2229
+ Iterators.Arguments = Iterators.Array;
2230
+
2231
+ addToUnscopables('keys');
2232
+ addToUnscopables('values');
2233
+ addToUnscopables('entries');
2234
+
2235
+ /***/ },
2236
+ /* 252 */,
2237
+ /* 253 */,
2238
+ /* 254 */
2239
+ /***/ function(module, exports, __webpack_require__) {
2240
+
2241
+ // 19.1.2.14 Object.keys(O)
2242
+ var toObject = __webpack_require__(34)
2243
+ , $keys = __webpack_require__(31);
2244
+
2245
+ __webpack_require__(246)('keys', function(){
2246
+ return function keys(it){
2247
+ return $keys(toObject(it));
2248
+ };
2249
+ });
2250
+
2251
+ /***/ },
2252
+ /* 255 */
2253
+ /***/ function(module, exports, __webpack_require__) {
2254
+
2255
+ 'use strict';
2256
+ var $at = __webpack_require__(248)(true);
2257
+
2258
+ // 21.1.3.27 String.prototype[@@iterator]()
2259
+ __webpack_require__(52)(String, 'String', function(iterated){
2260
+ this._t = String(iterated); // target
2261
+ this._i = 0; // next index
2262
+ // 21.1.5.2.1 %StringIteratorPrototype%.next()
2263
+ }, function(){
2264
+ var O = this._t
2265
+ , index = this._i
2266
+ , point;
2267
+ if(index >= O.length)return {value: undefined, done: true};
2268
+ point = $at(O, index);
2269
+ this._i += point.length;
2270
+ return {value: point, done: false};
2271
+ });
2272
+
2273
+ /***/ },
2274
+ /* 256 */
2275
+ /***/ function(module, exports, __webpack_require__) {
2276
+
2277
+ __webpack_require__(251);
2278
+ var global = __webpack_require__(7)
2279
+ , hide = __webpack_require__(13)
2280
+ , Iterators = __webpack_require__(30)
2281
+ , TO_STRING_TAG = __webpack_require__(21)('toStringTag');
2282
+
2283
+ for(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){
2284
+ var NAME = collections[i]
2285
+ , Collection = global[NAME]
2286
+ , proto = Collection && Collection.prototype;
2287
+ if(proto && !proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);
2288
+ Iterators[NAME] = Iterators.Array;
2289
+ }
2290
+
2291
+ /***/ },
2292
+ /* 257 */,
2293
+ /* 258 */,
2294
+ /* 259 */,
2295
+ /* 260 */,
2296
+ /* 261 */,
2297
+ /* 262 */,
2298
+ /* 263 */,
2299
+ /* 264 */,
2300
+ /* 265 */,
2301
+ /* 266 */,
2302
+ /* 267 */,
2303
+ /* 268 */,
2304
+ /* 269 */,
2305
+ /* 270 */,
2306
+ /* 271 */,
2307
+ /* 272 */,
2308
+ /* 273 */,
2309
+ /* 274 */,
2310
+ /* 275 */,
2311
+ /* 276 */,
2312
+ /* 277 */,
2313
+ /* 278 */,
2314
+ /* 279 */,
2315
+ /* 280 */,
2316
+ /* 281 */,
2317
+ /* 282 */,
2318
+ /* 283 */,
2319
+ /* 284 */,
2320
+ /* 285 */,
2321
+ /* 286 */,
2322
+ /* 287 */,
2323
+ /* 288 */,
2324
+ /* 289 */,
2325
+ /* 290 */,
2326
+ /* 291 */,
2327
+ /* 292 */,
2328
+ /* 293 */,
2329
+ /* 294 */
2330
+ /***/ function(module, exports, __webpack_require__) {
2331
+
2332
+ 'use strict';
2333
+
2334
+ Object.defineProperty(exports, "__esModule", {
2335
+ value: true
2336
+ });
2337
+
2338
+ var _keys = __webpack_require__(228);
2339
+
2340
+ var _keys2 = _interopRequireDefault(_keys);
2341
+
2342
+ var _getIterator2 = __webpack_require__(225);
2343
+
2344
+ var _getIterator3 = _interopRequireDefault(_getIterator2);
2345
+
2346
+ exports.setAssetRoot = setAssetRoot;
2347
+ exports.getAssetRoot = getAssetRoot;
2348
+ exports.registerStyle = registerStyle;
2349
+ exports.isElInChildren = isElInChildren;
2350
+ exports.offset = offset;
2351
+ exports.cleanProps = cleanProps;
2352
+
2353
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2354
+
2355
+ var assetRoot = '/assets';
2356
+
2357
+ function setAssetRoot(path) {
2358
+ assetRoot = path;
2359
+ }
2360
+
2361
+ function getAssetRoot() {
2362
+ return assetRoot;
2363
+ }
2364
+
2365
+ function registerStyle(styleName, rules) {
2366
+ var styleId = 'react-slds-cssfix-' + styleName;
2367
+ var style = document.getElementById(styleId);
2368
+ if (style) {
2369
+ return;
2370
+ }
2371
+ style = document.createElement('style');
2372
+ style.id = styleId;
2373
+ style.appendChild(document.createTextNode(''));
2374
+ document.documentElement.appendChild(style);
2375
+ var _iteratorNormalCompletion = true;
2376
+ var _didIteratorError = false;
2377
+ var _iteratorError = undefined;
2378
+
2379
+ try {
2380
+ for (var _iterator = (0, _getIterator3.default)(rules), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
2381
+ var ruleSet = _step.value;
2382
+
2383
+ var declaration = ruleSet.pop();
2384
+ var selectors = ruleSet;
2385
+ selectors = selectors.concat(selectors.map(function (s) {
2386
+ return '.slds ' + s;
2387
+ }));
2388
+ var rule = selectors.join(', ') + ' ' + declaration;
2389
+ style.sheet.insertRule(rule, 0);
2390
+ }
2391
+ } catch (err) {
2392
+ _didIteratorError = true;
2393
+ _iteratorError = err;
2394
+ } finally {
2395
+ try {
2396
+ if (!_iteratorNormalCompletion && _iterator.return) {
2397
+ _iterator.return();
2398
+ }
2399
+ } finally {
2400
+ if (_didIteratorError) {
2401
+ throw _iteratorError;
2402
+ }
2403
+ }
2404
+ }
2405
+ }
2406
+
2407
+ function isElInChildren(rootEl, targetEl) {
2408
+ /* eslint-disable no-param-reassign */
2409
+ while (targetEl && targetEl !== rootEl) {
2410
+ targetEl = targetEl.parentNode;
2411
+ }
2412
+
2413
+ return !!targetEl;
2414
+ }
2415
+
2416
+ function offset(el) {
2417
+ var rect = el.getBoundingClientRect();
2418
+
2419
+ return {
2420
+ top: rect.top + document.body.scrollTop,
2421
+ left: rect.left + document.body.scrollLeft
2422
+ };
2423
+ }
2424
+
2425
+ function cleanProps(props, propTypes) {
2426
+ var newProps = props;
2427
+ (0, _keys2.default)(propTypes).forEach(function (key) {
2428
+ delete newProps[key];
2429
+ });
2430
+ return newProps;
2431
+ }
2432
+
2433
+ exports.default = { setAssetRoot: setAssetRoot, getAssetRoot: getAssetRoot, registerStyle: registerStyle, isElInChildren: isElInChildren, offset: offset, cleanProps: cleanProps };
2434
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zY3JpcHRzL3V0aWwuanMiXSwibmFtZXMiOlsic2V0QXNzZXRSb290IiwiZ2V0QXNzZXRSb290IiwicmVnaXN0ZXJTdHlsZSIsImlzRWxJbkNoaWxkcmVuIiwib2Zmc2V0IiwiY2xlYW5Qcm9wcyIsImFzc2V0Um9vdCIsInBhdGgiLCJzdHlsZU5hbWUiLCJydWxlcyIsInN0eWxlSWQiLCJzdHlsZSIsImRvY3VtZW50IiwiZ2V0RWxlbWVudEJ5SWQiLCJjcmVhdGVFbGVtZW50IiwiaWQiLCJhcHBlbmRDaGlsZCIsImNyZWF0ZVRleHROb2RlIiwiZG9jdW1lbnRFbGVtZW50IiwicnVsZVNldCIsImRlY2xhcmF0aW9uIiwicG9wIiwic2VsZWN0b3JzIiwiY29uY2F0IiwibWFwIiwicyIsInJ1bGUiLCJqb2luIiwic2hlZXQiLCJpbnNlcnRSdWxlIiwicm9vdEVsIiwidGFyZ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