material_components_web-sass 0.9.1 → 0.10.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/material_components_web/sass/version.rb +1 -1
- data/vendor/assets/javascripts/material-components-web.js +928 -366
- data/vendor/assets/stylesheets/@material/drawer/_mixins.scss +6 -0
- data/vendor/assets/stylesheets/@material/drawer/persistent/mdc-persistent-drawer.scss +4 -4
- data/vendor/assets/stylesheets/@material/toolbar/mdc-toolbar.scss +88 -4
- metadata +1 -1
@@ -16,41 +16,41 @@
|
|
16
16
|
return /******/ (function(modules) { // webpackBootstrap
|
17
17
|
/******/ // The module cache
|
18
18
|
/******/ var installedModules = {};
|
19
|
-
|
19
|
+
/******/
|
20
20
|
/******/ // The require function
|
21
21
|
/******/ function __webpack_require__(moduleId) {
|
22
|
-
|
22
|
+
/******/
|
23
23
|
/******/ // Check if module is in cache
|
24
|
-
/******/ if(installedModules[moduleId])
|
24
|
+
/******/ if(installedModules[moduleId]) {
|
25
25
|
/******/ return installedModules[moduleId].exports;
|
26
|
-
|
26
|
+
/******/ }
|
27
27
|
/******/ // Create a new module (and put it into the cache)
|
28
28
|
/******/ var module = installedModules[moduleId] = {
|
29
29
|
/******/ i: moduleId,
|
30
30
|
/******/ l: false,
|
31
31
|
/******/ exports: {}
|
32
32
|
/******/ };
|
33
|
-
|
33
|
+
/******/
|
34
34
|
/******/ // Execute the module function
|
35
35
|
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
36
|
-
|
36
|
+
/******/
|
37
37
|
/******/ // Flag the module as loaded
|
38
38
|
/******/ module.l = true;
|
39
|
-
|
39
|
+
/******/
|
40
40
|
/******/ // Return the exports of the module
|
41
41
|
/******/ return module.exports;
|
42
42
|
/******/ }
|
43
|
-
|
44
|
-
|
43
|
+
/******/
|
44
|
+
/******/
|
45
45
|
/******/ // expose the modules object (__webpack_modules__)
|
46
46
|
/******/ __webpack_require__.m = modules;
|
47
|
-
|
47
|
+
/******/
|
48
48
|
/******/ // expose the module cache
|
49
49
|
/******/ __webpack_require__.c = installedModules;
|
50
|
-
|
50
|
+
/******/
|
51
51
|
/******/ // identity function for calling harmony imports with the correct context
|
52
52
|
/******/ __webpack_require__.i = function(value) { return value; };
|
53
|
-
|
53
|
+
/******/
|
54
54
|
/******/ // define getter function for harmony exports
|
55
55
|
/******/ __webpack_require__.d = function(exports, name, getter) {
|
56
56
|
/******/ if(!__webpack_require__.o(exports, name)) {
|
@@ -61,7 +61,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
61
61
|
/******/ });
|
62
62
|
/******/ }
|
63
63
|
/******/ };
|
64
|
-
|
64
|
+
/******/
|
65
65
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
66
66
|
/******/ __webpack_require__.n = function(module) {
|
67
67
|
/******/ var getter = module && module.__esModule ?
|
@@ -70,15 +70,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
70
70
|
/******/ __webpack_require__.d(getter, 'a', getter);
|
71
71
|
/******/ return getter;
|
72
72
|
/******/ };
|
73
|
-
|
73
|
+
/******/
|
74
74
|
/******/ // Object.prototype.hasOwnProperty.call
|
75
75
|
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
76
|
-
|
76
|
+
/******/
|
77
77
|
/******/ // __webpack_public_path__
|
78
78
|
/******/ __webpack_require__.p = "/assets/";
|
79
|
-
|
79
|
+
/******/
|
80
80
|
/******/ // Load entry module and return exports
|
81
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
81
|
+
/******/ return __webpack_require__(__webpack_require__.s = 21);
|
82
82
|
/******/ })
|
83
83
|
/************************************************************************/
|
84
84
|
/******/ ([
|
@@ -87,9 +87,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
87
87
|
|
88
88
|
"use strict";
|
89
89
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
90
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__foundation__ = __webpack_require__(
|
90
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__foundation__ = __webpack_require__(3);
|
91
91
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCFoundation", function() { return __WEBPACK_IMPORTED_MODULE_0__foundation__["a"]; });
|
92
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__component__ = __webpack_require__(
|
92
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__component__ = __webpack_require__(22);
|
93
93
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCComponent", function() { return __WEBPACK_IMPORTED_MODULE_1__component__["a"]; });
|
94
94
|
/**
|
95
95
|
* Copyright 2016 Google Inc.
|
@@ -117,8 +117,8 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
117
117
|
"use strict";
|
118
118
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
119
119
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
120
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
121
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(
|
120
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(48);
|
121
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(5);
|
122
122
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCRippleFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
123
123
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCRipple", function() { return MDCRipple; });
|
124
124
|
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; }; }();
|
@@ -149,8 +149,6 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
149
149
|
|
150
150
|
|
151
151
|
|
152
|
-
var MATCHES = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__util__["a" /* getMatchesProperty */])(HTMLElement.prototype);
|
153
|
-
|
154
152
|
|
155
153
|
|
156
154
|
var MDCRipple = function (_MDCComponent) {
|
@@ -214,6 +212,8 @@ var MDCRipple = function (_MDCComponent) {
|
|
214
212
|
}, {
|
215
213
|
key: 'createAdapter',
|
216
214
|
value: function createAdapter(instance) {
|
215
|
+
var MATCHES = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__util__["a" /* getMatchesProperty */])(HTMLElement.prototype);
|
216
|
+
|
217
217
|
return {
|
218
218
|
browserSupportsCssVars: function browserSupportsCssVars() {
|
219
219
|
return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__util__["b" /* supportsCssVariables */])(window);
|
@@ -263,9 +263,9 @@ var MDCRipple = function (_MDCComponent) {
|
|
263
263
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
264
264
|
|
265
265
|
"use strict";
|
266
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__constants__ = __webpack_require__(
|
266
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__constants__ = __webpack_require__(31);
|
267
267
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__constants__["a"]; });
|
268
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
268
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(32);
|
269
269
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
270
270
|
/**
|
271
271
|
* Copyright 2016 Google Inc. All Rights Reserved.
|
@@ -290,6 +290,88 @@ var MDCRipple = function (_MDCComponent) {
|
|
290
290
|
/* 3 */
|
291
291
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
292
292
|
|
293
|
+
"use strict";
|
294
|
+
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; }; }();
|
295
|
+
|
296
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
297
|
+
|
298
|
+
/**
|
299
|
+
* Copyright 2016 Google Inc.
|
300
|
+
*
|
301
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
302
|
+
* you may not use this file except in compliance with the License.
|
303
|
+
* You may obtain a copy of the License at
|
304
|
+
*
|
305
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
306
|
+
*
|
307
|
+
* Unless required by applicable law or agreed to in writing, software
|
308
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
309
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
310
|
+
* See the License for the specific language governing permissions and
|
311
|
+
* limitations under the License.
|
312
|
+
*/
|
313
|
+
|
314
|
+
var MDCFoundation = function () {
|
315
|
+
_createClass(MDCFoundation, null, [{
|
316
|
+
key: "cssClasses",
|
317
|
+
get: function get() {
|
318
|
+
// Classes extending MDCFoundation should implement this method to return an object which exports every
|
319
|
+
// CSS class the foundation class needs as a property. e.g. {ACTIVE: 'mdc-component--active'}
|
320
|
+
return {};
|
321
|
+
}
|
322
|
+
}, {
|
323
|
+
key: "strings",
|
324
|
+
get: function get() {
|
325
|
+
// Classes extending MDCFoundation should implement this method to return an object which exports all
|
326
|
+
// semantic strings as constants. e.g. {ARIA_ROLE: 'tablist'}
|
327
|
+
return {};
|
328
|
+
}
|
329
|
+
}, {
|
330
|
+
key: "numbers",
|
331
|
+
get: function get() {
|
332
|
+
// Classes extending MDCFoundation should implement this method to return an object which exports all
|
333
|
+
// of its semantic numbers as constants. e.g. {ANIMATION_DELAY_MS: 350}
|
334
|
+
return {};
|
335
|
+
}
|
336
|
+
}, {
|
337
|
+
key: "defaultAdapter",
|
338
|
+
get: function get() {
|
339
|
+
// Classes extending MDCFoundation may choose to implement this getter in order to provide a convenient
|
340
|
+
// way of viewing the necessary methods of an adapter. In the future, this could also be used for adapter
|
341
|
+
// validation.
|
342
|
+
return {};
|
343
|
+
}
|
344
|
+
}]);
|
345
|
+
|
346
|
+
function MDCFoundation() {
|
347
|
+
var adapter = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
348
|
+
|
349
|
+
_classCallCheck(this, MDCFoundation);
|
350
|
+
|
351
|
+
this.adapter_ = adapter;
|
352
|
+
}
|
353
|
+
|
354
|
+
_createClass(MDCFoundation, [{
|
355
|
+
key: "init",
|
356
|
+
value: function init() {
|
357
|
+
// Subclasses should override this method to perform initialization routines (registering events, etc.)
|
358
|
+
}
|
359
|
+
}, {
|
360
|
+
key: "destroy",
|
361
|
+
value: function destroy() {
|
362
|
+
// Subclasses should override this method to perform de-initialization routines (de-registering events, etc.)
|
363
|
+
}
|
364
|
+
}]);
|
365
|
+
|
366
|
+
return MDCFoundation;
|
367
|
+
}();
|
368
|
+
|
369
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCFoundation);
|
370
|
+
|
371
|
+
/***/ }),
|
372
|
+
/* 4 */
|
373
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
374
|
+
|
293
375
|
"use strict";
|
294
376
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
295
377
|
/* harmony export (immutable) */ __webpack_exports__["remapEvent"] = remapEvent;
|
@@ -406,7 +488,7 @@ function restoreElementTabState(el) {
|
|
406
488
|
}
|
407
489
|
|
408
490
|
/***/ }),
|
409
|
-
/*
|
491
|
+
/* 5 */
|
410
492
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
411
493
|
|
412
494
|
"use strict";
|
@@ -470,12 +552,12 @@ function getNormalizedEventCoords(ev, pageOffset, clientRect) {
|
|
470
552
|
}
|
471
553
|
|
472
554
|
/***/ }),
|
473
|
-
/*
|
555
|
+
/* 6 */
|
474
556
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
475
557
|
|
476
558
|
"use strict";
|
477
559
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
478
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__simple__ = __webpack_require__(
|
560
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__simple__ = __webpack_require__(44);
|
479
561
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSimpleMenu", function() { return __WEBPACK_IMPORTED_MODULE_0__simple__["a"]; });
|
480
562
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSimpleMenuFoundation", function() { return __WEBPACK_IMPORTED_MODULE_0__simple__["b"]; });
|
481
563
|
/**
|
@@ -497,7 +579,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
497
579
|
|
498
580
|
|
499
581
|
/***/ }),
|
500
|
-
/*
|
582
|
+
/* 7 */
|
501
583
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
502
584
|
|
503
585
|
"use strict";
|
@@ -519,81 +601,94 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
519
601
|
* limitations under the License.
|
520
602
|
*/
|
521
603
|
|
604
|
+
/**
|
605
|
+
* @typedef {{
|
606
|
+
* noPrefix: string,
|
607
|
+
* webkitPrefix: string
|
608
|
+
* }}
|
609
|
+
*/
|
610
|
+
var VendorPropertyMapType = void 0;
|
611
|
+
|
612
|
+
/** @const {Object<string, !VendorPropertyMapType>} */
|
522
613
|
var eventTypeMap = {
|
523
|
-
animationstart: {
|
614
|
+
'animationstart': {
|
524
615
|
noPrefix: 'animationstart',
|
525
|
-
webkitPrefix: 'webkitAnimationStart'
|
616
|
+
webkitPrefix: 'webkitAnimationStart',
|
617
|
+
styleProperty: 'animation'
|
526
618
|
},
|
527
|
-
animationend: {
|
619
|
+
'animationend': {
|
528
620
|
noPrefix: 'animationend',
|
529
|
-
webkitPrefix: 'webkitAnimationEnd'
|
621
|
+
webkitPrefix: 'webkitAnimationEnd',
|
622
|
+
styleProperty: 'animation'
|
530
623
|
},
|
531
|
-
animationiteration: {
|
624
|
+
'animationiteration': {
|
532
625
|
noPrefix: 'animationiteration',
|
533
|
-
webkitPrefix: 'webkitAnimationIteration'
|
626
|
+
webkitPrefix: 'webkitAnimationIteration',
|
627
|
+
styleProperty: 'animation'
|
534
628
|
},
|
535
|
-
transitionend: {
|
629
|
+
'transitionend': {
|
536
630
|
noPrefix: 'transitionend',
|
537
|
-
webkitPrefix: 'webkitTransitionEnd'
|
631
|
+
webkitPrefix: 'webkitTransitionEnd',
|
632
|
+
styleProperty: 'transition'
|
538
633
|
}
|
539
634
|
};
|
540
635
|
|
636
|
+
/** @const {Object<string, !VendorPropertyMapType>} */
|
541
637
|
var cssPropertyMap = {
|
542
|
-
animation: {
|
638
|
+
'animation': {
|
543
639
|
noPrefix: 'animation',
|
544
640
|
webkitPrefix: '-webkit-animation'
|
545
641
|
},
|
546
|
-
transform: {
|
642
|
+
'transform': {
|
547
643
|
noPrefix: 'transform',
|
548
644
|
webkitPrefix: '-webkit-transform'
|
549
645
|
},
|
550
|
-
transition: {
|
646
|
+
'transition': {
|
551
647
|
noPrefix: 'transition',
|
552
648
|
webkitPrefix: '-webkit-transition'
|
553
649
|
}
|
554
650
|
};
|
555
651
|
|
652
|
+
/**
|
653
|
+
* @param {!Object} windowObj
|
654
|
+
* @return {boolean}
|
655
|
+
*/
|
556
656
|
function hasProperShape(windowObj) {
|
557
|
-
return windowObj
|
657
|
+
return windowObj['document'] !== undefined && typeof windowObj['document']['createElement'] === 'function';
|
558
658
|
}
|
559
659
|
|
660
|
+
/**
|
661
|
+
* @param {string} eventType
|
662
|
+
* @return {boolean}
|
663
|
+
*/
|
560
664
|
function eventFoundInMaps(eventType) {
|
561
665
|
return eventType in eventTypeMap || eventType in cssPropertyMap;
|
562
666
|
}
|
563
667
|
|
564
|
-
|
565
|
-
|
668
|
+
/**
|
669
|
+
* @param {string} eventType
|
670
|
+
* @param {!Object<string, !VendorPropertyMapType>} map
|
671
|
+
* @param {!Element} el
|
672
|
+
* @return {string}
|
673
|
+
*/
|
566
674
|
function getJavaScriptEventName(eventType, map, el) {
|
567
|
-
|
568
|
-
case 'animationstart':
|
569
|
-
case 'animationend':
|
570
|
-
case 'animationiteration':
|
571
|
-
return 'animation' in el.style ? map[eventType].noPrefix : map[eventType].webkitPrefix;
|
572
|
-
case 'transitionend':
|
573
|
-
return 'transition' in el.style ? map[eventType].noPrefix : map[eventType].webkitPrefix;
|
574
|
-
default:
|
575
|
-
return map[eventType].noPrefix;
|
576
|
-
}
|
675
|
+
return map[eventType].styleProperty in el.style ? map[eventType].noPrefix : map[eventType].webkitPrefix;
|
577
676
|
}
|
578
677
|
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
// returns the value of the event as a string, prefixed if necessary.
|
587
|
-
// If proper arguments are not supplied, this function will return
|
588
|
-
// the property or event type without webkit prefix.
|
589
|
-
//
|
678
|
+
/**
|
679
|
+
* Helper function to determine browser prefix for CSS3 animation events
|
680
|
+
* and property names.
|
681
|
+
* @param {!Object} windowObj
|
682
|
+
* @param {string} eventType
|
683
|
+
* @return {string}
|
684
|
+
*/
|
590
685
|
function getAnimationName(windowObj, eventType) {
|
591
686
|
if (!hasProperShape(windowObj) || !eventFoundInMaps(eventType)) {
|
592
687
|
return eventType;
|
593
688
|
}
|
594
689
|
|
595
|
-
var map = eventType in eventTypeMap ? eventTypeMap : cssPropertyMap;
|
596
|
-
var el = windowObj
|
690
|
+
var map = /** @type {!Object<string, !VendorPropertyMapType>} */eventType in eventTypeMap ? eventTypeMap : cssPropertyMap;
|
691
|
+
var el = windowObj['document']['createElement']('div');
|
597
692
|
var eventName = '';
|
598
693
|
|
599
694
|
if (map === eventTypeMap) {
|
@@ -607,105 +702,25 @@ function getAnimationName(windowObj, eventType) {
|
|
607
702
|
|
608
703
|
// Public functions to access getAnimationName() for JavaScript events or CSS
|
609
704
|
// property names.
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
// If proper arguments are not supplied, this function will return
|
617
|
-
// the property or event type without webkit prefix.
|
618
|
-
//
|
705
|
+
|
706
|
+
/**
|
707
|
+
* @param {!Object} windowObj
|
708
|
+
* @param {string} eventType
|
709
|
+
* @return {string}
|
710
|
+
*/
|
619
711
|
function getCorrectEventName(windowObj, eventType) {
|
620
712
|
return getAnimationName(windowObj, eventType);
|
621
713
|
}
|
622
714
|
|
715
|
+
/**
|
716
|
+
* @param {!Object} windowObj
|
717
|
+
* @param {string} eventType
|
718
|
+
* @return {string}
|
719
|
+
*/
|
623
720
|
function getCorrectPropertyName(windowObj, eventType) {
|
624
721
|
return getAnimationName(windowObj, eventType);
|
625
722
|
}
|
626
723
|
|
627
|
-
/***/ }),
|
628
|
-
/* 7 */
|
629
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
630
|
-
|
631
|
-
"use strict";
|
632
|
-
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; }; }();
|
633
|
-
|
634
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
635
|
-
|
636
|
-
/**
|
637
|
-
* Copyright 2016 Google Inc.
|
638
|
-
*
|
639
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
640
|
-
* you may not use this file except in compliance with the License.
|
641
|
-
* You may obtain a copy of the License at
|
642
|
-
*
|
643
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
644
|
-
*
|
645
|
-
* Unless required by applicable law or agreed to in writing, software
|
646
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
647
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
648
|
-
* See the License for the specific language governing permissions and
|
649
|
-
* limitations under the License.
|
650
|
-
*/
|
651
|
-
|
652
|
-
var MDCFoundation = function () {
|
653
|
-
_createClass(MDCFoundation, null, [{
|
654
|
-
key: "cssClasses",
|
655
|
-
get: function get() {
|
656
|
-
// Classes extending MDCFoundation should implement this method to return an object which exports every
|
657
|
-
// CSS class the foundation class needs as a property. e.g. {ACTIVE: 'mdc-component--active'}
|
658
|
-
return {};
|
659
|
-
}
|
660
|
-
}, {
|
661
|
-
key: "strings",
|
662
|
-
get: function get() {
|
663
|
-
// Classes extending MDCFoundation should implement this method to return an object which exports all
|
664
|
-
// semantic strings as constants. e.g. {ARIA_ROLE: 'tablist'}
|
665
|
-
return {};
|
666
|
-
}
|
667
|
-
}, {
|
668
|
-
key: "numbers",
|
669
|
-
get: function get() {
|
670
|
-
// Classes extending MDCFoundation should implement this method to return an object which exports all
|
671
|
-
// of its semantic numbers as constants. e.g. {ANIMATION_DELAY_MS: 350}
|
672
|
-
return {};
|
673
|
-
}
|
674
|
-
}, {
|
675
|
-
key: "defaultAdapter",
|
676
|
-
get: function get() {
|
677
|
-
// Classes extending MDCFoundation may choose to implement this getter in order to provide a convenient
|
678
|
-
// way of viewing the necessary methods of an adapter. In the future, this could also be used for adapter
|
679
|
-
// validation.
|
680
|
-
return {};
|
681
|
-
}
|
682
|
-
}]);
|
683
|
-
|
684
|
-
function MDCFoundation() {
|
685
|
-
var adapter = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
686
|
-
|
687
|
-
_classCallCheck(this, MDCFoundation);
|
688
|
-
|
689
|
-
this.adapter_ = adapter;
|
690
|
-
}
|
691
|
-
|
692
|
-
_createClass(MDCFoundation, [{
|
693
|
-
key: "init",
|
694
|
-
value: function init() {
|
695
|
-
// Subclasses should override this method to perform initialization routines (registering events, etc.)
|
696
|
-
}
|
697
|
-
}, {
|
698
|
-
key: "destroy",
|
699
|
-
value: function destroy() {
|
700
|
-
// Subclasses should override this method to perform de-initialization routines (de-registering events, etc.)
|
701
|
-
}
|
702
|
-
}]);
|
703
|
-
|
704
|
-
return MDCFoundation;
|
705
|
-
}();
|
706
|
-
|
707
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCFoundation;
|
708
|
-
|
709
724
|
/***/ }),
|
710
725
|
/* 8 */
|
711
726
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
@@ -929,9 +944,9 @@ mdcAutoInit.deregisterAll = function () {
|
|
929
944
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
930
945
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
931
946
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ripple__ = __webpack_require__(1);
|
932
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ripple_util__ = __webpack_require__(
|
933
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__material_animation__ = __webpack_require__(
|
934
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__foundation__ = __webpack_require__(
|
947
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ripple_util__ = __webpack_require__(5);
|
948
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__material_animation__ = __webpack_require__(7);
|
949
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__foundation__ = __webpack_require__(24);
|
935
950
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCCheckboxFoundation", function() { return __WEBPACK_IMPORTED_MODULE_4__foundation__["a"]; });
|
936
951
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCCheckbox", function() { return MDCCheckbox; });
|
937
952
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
@@ -1132,8 +1147,8 @@ var MDCCheckbox = function (_MDCComponent) {
|
|
1132
1147
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1133
1148
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
1134
1149
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ripple__ = __webpack_require__(1);
|
1135
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
1136
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util__ = __webpack_require__(
|
1150
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(26);
|
1151
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util__ = __webpack_require__(27);
|
1137
1152
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCDialogFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
1138
1153
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "util", function() { return __WEBPACK_IMPORTED_MODULE_3__util__; });
|
1139
1154
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCDialog", function() { return MDCDialog; });
|
@@ -1297,11 +1312,11 @@ var MDCDialog = function (_MDCComponent) {
|
|
1297
1312
|
|
1298
1313
|
"use strict";
|
1299
1314
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1300
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(
|
1301
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__temporary__ = __webpack_require__(
|
1315
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(4);
|
1316
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__temporary__ = __webpack_require__(35);
|
1302
1317
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTemporaryDrawer", function() { return __WEBPACK_IMPORTED_MODULE_1__temporary__["a"]; });
|
1303
1318
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTemporaryDrawerFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__temporary__["b"]; });
|
1304
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__persistent__ = __webpack_require__(
|
1319
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__persistent__ = __webpack_require__(30);
|
1305
1320
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCPersistentDrawer", function() { return __WEBPACK_IMPORTED_MODULE_2__persistent__["a"]; });
|
1306
1321
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCPersistentDrawerFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__persistent__["b"]; });
|
1307
1322
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "util", function() { return __WEBPACK_IMPORTED_MODULE_0__util__; });
|
@@ -1333,7 +1348,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
1333
1348
|
"use strict";
|
1334
1349
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1335
1350
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
1336
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
1351
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(37);
|
1337
1352
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCFormFieldFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
1338
1353
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCFormField", function() { return MDCFormField; });
|
1339
1354
|
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; }; }();
|
@@ -1428,7 +1443,7 @@ var MDCFormField = function (_MDCComponent) {
|
|
1428
1443
|
"use strict";
|
1429
1444
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1430
1445
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
1431
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
1446
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(39);
|
1432
1447
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCGridListFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
1433
1448
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCGridList", function() { return MDCGridList; });
|
1434
1449
|
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; }; }();
|
@@ -1514,7 +1529,7 @@ var MDCGridList = function (_MDCComponent) {
|
|
1514
1529
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1515
1530
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
1516
1531
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ripple__ = __webpack_require__(1);
|
1517
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
1532
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(41);
|
1518
1533
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCIconToggleFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
1519
1534
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCIconToggle", function() { return MDCIconToggle; });
|
1520
1535
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
@@ -1704,7 +1719,7 @@ var MDCIconToggle = function (_MDCComponent) {
|
|
1704
1719
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1705
1720
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
1706
1721
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ripple__ = __webpack_require__(1);
|
1707
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
1722
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(46);
|
1708
1723
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCRadioFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
1709
1724
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCRadio", function() { return MDCRadio; });
|
1710
1725
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
@@ -1875,8 +1890,8 @@ var MDCRadio = function (_MDCComponent) {
|
|
1875
1890
|
"use strict";
|
1876
1891
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1877
1892
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
1878
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_menu__ = __webpack_require__(
|
1879
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
1893
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_menu__ = __webpack_require__(6);
|
1894
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(50);
|
1880
1895
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSelectFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
1881
1896
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSelect", function() { return MDCSelect; });
|
1882
1897
|
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; }; }();
|
@@ -2105,8 +2120,8 @@ var MDCSelect = function (_MDCComponent) {
|
|
2105
2120
|
"use strict";
|
2106
2121
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
2107
2122
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
2108
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
2109
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_animation__ = __webpack_require__(
|
2123
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(52);
|
2124
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_animation__ = __webpack_require__(7);
|
2110
2125
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSnackbarFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
2111
2126
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSnackbar", function() { return MDCSnackbar; });
|
2112
2127
|
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; }; }();
|
@@ -2226,7 +2241,7 @@ var MDCSnackbar = function (_MDCComponent) {
|
|
2226
2241
|
"use strict";
|
2227
2242
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
2228
2243
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
2229
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
2244
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(54);
|
2230
2245
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTextfieldFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
2231
2246
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTextfield", function() { return MDCTextfield; });
|
2232
2247
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
@@ -2415,19 +2430,29 @@ var MDCTextfield = function (_MDCComponent) {
|
|
2415
2430
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2416
2431
|
|
2417
2432
|
"use strict";
|
2418
|
-
|
2433
|
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
2434
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
2435
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(56);
|
2436
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(57);
|
2437
|
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCToolbarFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
2438
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "util", function() { return __WEBPACK_IMPORTED_MODULE_2__util__; });
|
2439
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCToolbar", function() { return MDCToolbar; });
|
2419
2440
|
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; }; }();
|
2420
2441
|
|
2421
2442
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2422
2443
|
|
2444
|
+
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; }
|
2445
|
+
|
2446
|
+
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; }
|
2447
|
+
|
2423
2448
|
/**
|
2424
|
-
* Copyright
|
2449
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
2425
2450
|
*
|
2426
2451
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
2427
2452
|
* you may not use this file except in compliance with the License.
|
2428
2453
|
* You may obtain a copy of the License at
|
2429
2454
|
*
|
2430
|
-
*
|
2455
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2431
2456
|
*
|
2432
2457
|
* Unless required by applicable law or agreed to in writing, software
|
2433
2458
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -2438,49 +2463,265 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
2438
2463
|
|
2439
2464
|
|
2440
2465
|
|
2441
|
-
var MDCComponent = function () {
|
2442
|
-
_createClass(MDCComponent, null, [{
|
2443
|
-
key: 'attachTo',
|
2444
|
-
value: function attachTo(root) {
|
2445
|
-
// Subclasses which extend MDCBase should provide an attachTo() method that takes a root element and
|
2446
|
-
// returns an instantiated component with its root set to that element. Also note that in the cases of
|
2447
|
-
// subclasses, an explicit foundation class will not have to be passed in; it will simply be initialized
|
2448
|
-
// from getDefaultFoundation().
|
2449
|
-
return new MDCComponent(root, new __WEBPACK_IMPORTED_MODULE_0__foundation__["a" /* default */]());
|
2450
|
-
}
|
2451
|
-
}]);
|
2452
2466
|
|
2453
|
-
function MDCComponent(root) {
|
2454
|
-
var foundation = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
2455
2467
|
|
2456
|
-
_classCallCheck(this, MDCComponent);
|
2457
2468
|
|
2458
|
-
this.root_ = root;
|
2459
2469
|
|
2460
|
-
for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
2461
|
-
args[_key - 2] = arguments[_key];
|
2462
|
-
}
|
2463
2470
|
|
2464
|
-
|
2465
|
-
|
2466
|
-
|
2467
|
-
|
2468
|
-
|
2469
|
-
this
|
2471
|
+
|
2472
|
+
var MDCToolbar = function (_MDCComponent) {
|
2473
|
+
_inherits(MDCToolbar, _MDCComponent);
|
2474
|
+
|
2475
|
+
function MDCToolbar() {
|
2476
|
+
_classCallCheck(this, MDCToolbar);
|
2477
|
+
|
2478
|
+
return _possibleConstructorReturn(this, (MDCToolbar.__proto__ || Object.getPrototypeOf(MDCToolbar)).apply(this, arguments));
|
2470
2479
|
}
|
2471
2480
|
|
2472
|
-
_createClass(
|
2473
|
-
key: 'initialize',
|
2474
|
-
value: function initialize() /* ...args */{
|
2475
|
-
// Subclasses can override this to do any additional setup work that would be considered part of a
|
2476
|
-
// "constructor". Essentially, it is a hook into the parent constructor before the foundation is
|
2477
|
-
// initialized. Any additional arguments besides root and foundation will be passed in here.
|
2478
|
-
}
|
2479
|
-
}, {
|
2481
|
+
_createClass(MDCToolbar, [{
|
2480
2482
|
key: 'getDefaultFoundation',
|
2481
2483
|
value: function getDefaultFoundation() {
|
2482
|
-
|
2483
|
-
|
2484
|
+
var _this2 = this;
|
2485
|
+
|
2486
|
+
return new __WEBPACK_IMPORTED_MODULE_1__foundation__["a" /* default */]({
|
2487
|
+
hasClass: function hasClass(className) {
|
2488
|
+
return _this2.root_.classList.contains(className);
|
2489
|
+
},
|
2490
|
+
addClass: function addClass(className) {
|
2491
|
+
return _this2.root_.classList.add(className);
|
2492
|
+
},
|
2493
|
+
removeClass: function removeClass(className) {
|
2494
|
+
return _this2.root_.classList.remove(className);
|
2495
|
+
},
|
2496
|
+
registerScrollHandler: function registerScrollHandler(handler) {
|
2497
|
+
return window.addEventListener('scroll', handler, __WEBPACK_IMPORTED_MODULE_2__util__["applyPassive"]());
|
2498
|
+
},
|
2499
|
+
deregisterScrollHandler: function deregisterScrollHandler(handler) {
|
2500
|
+
return window.removeEventListener('scroll', handler, __WEBPACK_IMPORTED_MODULE_2__util__["applyPassive"]());
|
2501
|
+
},
|
2502
|
+
registerResizeHandler: function registerResizeHandler(handler) {
|
2503
|
+
return window.addEventListener('resize', handler);
|
2504
|
+
},
|
2505
|
+
deregisterResizeHandler: function deregisterResizeHandler(handler) {
|
2506
|
+
return window.removeEventListener('resize', handler);
|
2507
|
+
},
|
2508
|
+
getViewportWidth: function getViewportWidth() {
|
2509
|
+
return window.innerWidth;
|
2510
|
+
},
|
2511
|
+
getViewportScrollY: function getViewportScrollY() {
|
2512
|
+
return window.pageYOffset;
|
2513
|
+
},
|
2514
|
+
getOffsetHeight: function getOffsetHeight() {
|
2515
|
+
return _this2.root_.offsetHeight;
|
2516
|
+
},
|
2517
|
+
getFlexibleRowElementOffsetHeight: function getFlexibleRowElementOffsetHeight() {
|
2518
|
+
return _this2.flexibleRowElement_.offsetHeight;
|
2519
|
+
},
|
2520
|
+
notifyChange: function notifyChange(evtData) {
|
2521
|
+
return _this2.emit('MDCToolbar:change', evtData);
|
2522
|
+
},
|
2523
|
+
setStyle: function setStyle(property, value) {
|
2524
|
+
return _this2.root_.style.setProperty(property, value);
|
2525
|
+
},
|
2526
|
+
setStyleForTitleElement: function setStyleForTitleElement(property, value) {
|
2527
|
+
return _this2.titleElement_.style.setProperty(property, value);
|
2528
|
+
},
|
2529
|
+
setStyleForFlexibleRowElement: function setStyleForFlexibleRowElement(property, value) {
|
2530
|
+
return _this2.flexibleRowElement_.style.setProperty(property, value);
|
2531
|
+
},
|
2532
|
+
setStyleForFixedAdjustElement: function setStyleForFixedAdjustElement(property, value) {
|
2533
|
+
if (_this2.fixedAdjustElement) {
|
2534
|
+
_this2.fixedAdjustElement.style.setProperty(property, value);
|
2535
|
+
}
|
2536
|
+
}
|
2537
|
+
});
|
2538
|
+
}
|
2539
|
+
}, {
|
2540
|
+
key: 'flexibleRowElement_',
|
2541
|
+
get: function get() {
|
2542
|
+
return this.root_.querySelector(__WEBPACK_IMPORTED_MODULE_1__foundation__["a" /* default */].strings.FLEXIBLE_ROW_SELECTOR);
|
2543
|
+
}
|
2544
|
+
}, {
|
2545
|
+
key: 'titleElement_',
|
2546
|
+
get: function get() {
|
2547
|
+
return this.root_.querySelector(__WEBPACK_IMPORTED_MODULE_1__foundation__["a" /* default */].strings.TITLE_SELECTOR);
|
2548
|
+
}
|
2549
|
+
}, {
|
2550
|
+
key: 'fixedAdjustElement',
|
2551
|
+
set: function set(fixedAdjustElement) {
|
2552
|
+
this.fixedAdjustElement_ = fixedAdjustElement;
|
2553
|
+
this.foundation_.updateAdjustElementStyles();
|
2554
|
+
},
|
2555
|
+
get: function get() {
|
2556
|
+
return this.fixedAdjustElement_;
|
2557
|
+
}
|
2558
|
+
}], [{
|
2559
|
+
key: 'attachTo',
|
2560
|
+
value: function attachTo(root) {
|
2561
|
+
return new MDCToolbar(root);
|
2562
|
+
}
|
2563
|
+
}]);
|
2564
|
+
|
2565
|
+
return MDCToolbar;
|
2566
|
+
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
2567
|
+
|
2568
|
+
/***/ }),
|
2569
|
+
/* 21 */
|
2570
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2571
|
+
|
2572
|
+
"use strict";
|
2573
|
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
2574
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
2575
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_checkbox__ = __webpack_require__(10);
|
2576
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_form_field__ = __webpack_require__(13);
|
2577
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__material_grid_list__ = __webpack_require__(14);
|
2578
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_icon_toggle__ = __webpack_require__(15);
|
2579
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_radio__ = __webpack_require__(16);
|
2580
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__material_ripple__ = __webpack_require__(1);
|
2581
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__material_dialog__ = __webpack_require__(11);
|
2582
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__material_drawer__ = __webpack_require__(12);
|
2583
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__material_textfield__ = __webpack_require__(19);
|
2584
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__material_snackbar__ = __webpack_require__(18);
|
2585
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__material_menu__ = __webpack_require__(6);
|
2586
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__material_select__ = __webpack_require__(17);
|
2587
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__material_toolbar__ = __webpack_require__(20);
|
2588
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__material_auto_init__ = __webpack_require__(9);
|
2589
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "base", function() { return __WEBPACK_IMPORTED_MODULE_0__material_base__; });
|
2590
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "checkbox", function() { return __WEBPACK_IMPORTED_MODULE_1__material_checkbox__; });
|
2591
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "formField", function() { return __WEBPACK_IMPORTED_MODULE_2__material_form_field__; });
|
2592
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "gridList", function() { return __WEBPACK_IMPORTED_MODULE_3__material_grid_list__; });
|
2593
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "iconToggle", function() { return __WEBPACK_IMPORTED_MODULE_4__material_icon_toggle__; });
|
2594
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "radio", function() { return __WEBPACK_IMPORTED_MODULE_5__material_radio__; });
|
2595
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "ripple", function() { return __WEBPACK_IMPORTED_MODULE_6__material_ripple__; });
|
2596
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "snackbar", function() { return __WEBPACK_IMPORTED_MODULE_10__material_snackbar__; });
|
2597
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "dialog", function() { return __WEBPACK_IMPORTED_MODULE_7__material_dialog__; });
|
2598
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "drawer", function() { return __WEBPACK_IMPORTED_MODULE_8__material_drawer__; });
|
2599
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "textfield", function() { return __WEBPACK_IMPORTED_MODULE_9__material_textfield__; });
|
2600
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "menu", function() { return __WEBPACK_IMPORTED_MODULE_11__material_menu__; });
|
2601
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "select", function() { return __WEBPACK_IMPORTED_MODULE_12__material_select__; });
|
2602
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "toolbar", function() { return __WEBPACK_IMPORTED_MODULE_13__material_toolbar__; });
|
2603
|
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "autoInit", function() { return __WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a"]; });
|
2604
|
+
/**
|
2605
|
+
* Copyright 2016 Google Inc. All Rights Reserved.
|
2606
|
+
*
|
2607
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
2608
|
+
* you may not use this file except in compliance with the License.
|
2609
|
+
* You may obtain a copy of the License at
|
2610
|
+
*
|
2611
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2612
|
+
*
|
2613
|
+
* Unless required by applicable law or agreed to in writing, software
|
2614
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
2615
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2616
|
+
* See the License for the specific language governing permissions and
|
2617
|
+
* limitations under the License.
|
2618
|
+
*/
|
2619
|
+
|
2620
|
+
|
2621
|
+
|
2622
|
+
|
2623
|
+
|
2624
|
+
|
2625
|
+
|
2626
|
+
|
2627
|
+
|
2628
|
+
|
2629
|
+
|
2630
|
+
|
2631
|
+
|
2632
|
+
|
2633
|
+
|
2634
|
+
|
2635
|
+
|
2636
|
+
// Register all components
|
2637
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCCheckbox', __WEBPACK_IMPORTED_MODULE_1__material_checkbox__["MDCCheckbox"]);
|
2638
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCDialog', __WEBPACK_IMPORTED_MODULE_7__material_dialog__["MDCDialog"]);
|
2639
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCPersistentDrawer', __WEBPACK_IMPORTED_MODULE_8__material_drawer__["MDCPersistentDrawer"]);
|
2640
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCTemporaryDrawer', __WEBPACK_IMPORTED_MODULE_8__material_drawer__["MDCTemporaryDrawer"]);
|
2641
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCRipple', __WEBPACK_IMPORTED_MODULE_6__material_ripple__["MDCRipple"]);
|
2642
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCGridList', __WEBPACK_IMPORTED_MODULE_3__material_grid_list__["MDCGridList"]);
|
2643
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCIconToggle', __WEBPACK_IMPORTED_MODULE_4__material_icon_toggle__["MDCIconToggle"]);
|
2644
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCRadio', __WEBPACK_IMPORTED_MODULE_5__material_radio__["MDCRadio"]);
|
2645
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCSnackbar', __WEBPACK_IMPORTED_MODULE_10__material_snackbar__["MDCSnackbar"]);
|
2646
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCTextfield', __WEBPACK_IMPORTED_MODULE_9__material_textfield__["MDCTextfield"]);
|
2647
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCSimpleMenu', __WEBPACK_IMPORTED_MODULE_11__material_menu__["MDCSimpleMenu"]);
|
2648
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCSelect', __WEBPACK_IMPORTED_MODULE_12__material_select__["MDCSelect"]);
|
2649
|
+
__WEBPACK_IMPORTED_MODULE_14__material_auto_init__["a" /* default */].register('MDCToolbar', __WEBPACK_IMPORTED_MODULE_13__material_toolbar__["MDCToolbar"]);
|
2650
|
+
|
2651
|
+
// Export all components.
|
2652
|
+
|
2653
|
+
|
2654
|
+
/***/ }),
|
2655
|
+
/* 22 */
|
2656
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2657
|
+
|
2658
|
+
"use strict";
|
2659
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__foundation__ = __webpack_require__(3);
|
2660
|
+
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; }; }();
|
2661
|
+
|
2662
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2663
|
+
|
2664
|
+
/**
|
2665
|
+
* Copyright 2016 Google Inc.
|
2666
|
+
*
|
2667
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
2668
|
+
* you may not use this file except in compliance with the License.
|
2669
|
+
* You may obtain a copy of the License at
|
2670
|
+
*
|
2671
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2672
|
+
*
|
2673
|
+
* Unless required by applicable law or agreed to in writing, software
|
2674
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
2675
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2676
|
+
* See the License for the specific language governing permissions and
|
2677
|
+
* limitations under the License.
|
2678
|
+
*/
|
2679
|
+
|
2680
|
+
|
2681
|
+
|
2682
|
+
var MDCComponent = function () {
|
2683
|
+
_createClass(MDCComponent, null, [{
|
2684
|
+
key: 'attachTo',
|
2685
|
+
value: function attachTo(root) {
|
2686
|
+
// Subclasses which extend MDCBase should provide an attachTo() method that takes a root element and
|
2687
|
+
// returns an instantiated component with its root set to that element. Also note that in the cases of
|
2688
|
+
// subclasses, an explicit foundation class will not have to be passed in; it will simply be initialized
|
2689
|
+
// from getDefaultFoundation().
|
2690
|
+
return new MDCComponent(root, new __WEBPACK_IMPORTED_MODULE_0__foundation__["a" /* default */]());
|
2691
|
+
}
|
2692
|
+
}]);
|
2693
|
+
|
2694
|
+
function MDCComponent(root) {
|
2695
|
+
var foundation = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
2696
|
+
|
2697
|
+
_classCallCheck(this, MDCComponent);
|
2698
|
+
|
2699
|
+
this.root_ = root;
|
2700
|
+
|
2701
|
+
for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
2702
|
+
args[_key - 2] = arguments[_key];
|
2703
|
+
}
|
2704
|
+
|
2705
|
+
this.initialize.apply(this, args);
|
2706
|
+
// Note that we initialize foundation here and not within the constructor's default param so that
|
2707
|
+
// this.root_ is defined and can be used within the foundation class.
|
2708
|
+
this.foundation_ = foundation === undefined ? this.getDefaultFoundation() : foundation;
|
2709
|
+
this.foundation_.init();
|
2710
|
+
this.initialSyncWithDOM();
|
2711
|
+
}
|
2712
|
+
|
2713
|
+
_createClass(MDCComponent, [{
|
2714
|
+
key: 'initialize',
|
2715
|
+
value: function initialize() /* ...args */{
|
2716
|
+
// Subclasses can override this to do any additional setup work that would be considered part of a
|
2717
|
+
// "constructor". Essentially, it is a hook into the parent constructor before the foundation is
|
2718
|
+
// initialized. Any additional arguments besides root and foundation will be passed in here.
|
2719
|
+
}
|
2720
|
+
}, {
|
2721
|
+
key: 'getDefaultFoundation',
|
2722
|
+
value: function getDefaultFoundation() {
|
2723
|
+
// Subclasses must override this method to return a properly configured foundation class for the
|
2724
|
+
// component.
|
2484
2725
|
throw new Error('Subclasses must override getDefaultFoundation to return a properly configured ' + 'foundation class');
|
2485
2726
|
}
|
2486
2727
|
}, {
|
@@ -2538,10 +2779,10 @@ var MDCComponent = function () {
|
|
2538
2779
|
return MDCComponent;
|
2539
2780
|
}();
|
2540
2781
|
|
2541
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCComponent;
|
2782
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCComponent);
|
2542
2783
|
|
2543
2784
|
/***/ }),
|
2544
|
-
/*
|
2785
|
+
/* 23 */
|
2545
2786
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2546
2787
|
|
2547
2788
|
"use strict";
|
@@ -2592,12 +2833,12 @@ var numbers = {
|
|
2592
2833
|
};
|
2593
2834
|
|
2594
2835
|
/***/ }),
|
2595
|
-
/*
|
2836
|
+
/* 24 */
|
2596
2837
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2597
2838
|
|
2598
2839
|
"use strict";
|
2599
2840
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
2600
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
2841
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(23);
|
2601
2842
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
2602
2843
|
|
2603
2844
|
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; }; }();
|
@@ -2865,7 +3106,7 @@ var MDCCheckboxFoundation = function (_MDCFoundation) {
|
|
2865
3106
|
return MDCCheckboxFoundation;
|
2866
3107
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
2867
3108
|
|
2868
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCCheckboxFoundation;
|
3109
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCCheckboxFoundation);
|
2869
3110
|
|
2870
3111
|
|
2871
3112
|
function validDescriptor(inputPropDesc) {
|
@@ -2873,7 +3114,7 @@ function validDescriptor(inputPropDesc) {
|
|
2873
3114
|
}
|
2874
3115
|
|
2875
3116
|
/***/ }),
|
2876
|
-
/*
|
3117
|
+
/* 25 */
|
2877
3118
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2878
3119
|
|
2879
3120
|
"use strict";
|
@@ -2911,12 +3152,12 @@ var strings = {
|
|
2911
3152
|
};
|
2912
3153
|
|
2913
3154
|
/***/ }),
|
2914
|
-
/*
|
3155
|
+
/* 26 */
|
2915
3156
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2916
3157
|
|
2917
3158
|
"use strict";
|
2918
3159
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
2919
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
3160
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(25);
|
2920
3161
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
2921
3162
|
|
2922
3163
|
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; }; }();
|
@@ -3087,15 +3328,15 @@ var MDCDialogFoundation = function (_MDCFoundation) {
|
|
3087
3328
|
return MDCDialogFoundation;
|
3088
3329
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
3089
3330
|
|
3090
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCDialogFoundation;
|
3331
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCDialogFoundation);
|
3091
3332
|
|
3092
3333
|
/***/ }),
|
3093
|
-
/*
|
3334
|
+
/* 27 */
|
3094
3335
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3095
3336
|
|
3096
3337
|
"use strict";
|
3097
3338
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
3098
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_focus_trap__ = __webpack_require__(
|
3339
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_focus_trap__ = __webpack_require__(58);
|
3099
3340
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_focus_trap___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_focus_trap__);
|
3100
3341
|
/* harmony export (immutable) */ __webpack_exports__["createFocusTrapInstance"] = createFocusTrapInstance;
|
3101
3342
|
/**
|
@@ -3126,7 +3367,7 @@ function createFocusTrapInstance(surfaceEl, acceptButtonEl) {
|
|
3126
3367
|
}
|
3127
3368
|
|
3128
3369
|
/***/ }),
|
3129
|
-
/*
|
3370
|
+
/* 28 */
|
3130
3371
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3131
3372
|
|
3132
3373
|
"use strict";
|
@@ -3163,12 +3404,12 @@ var strings = {
|
|
3163
3404
|
};
|
3164
3405
|
|
3165
3406
|
/***/ }),
|
3166
|
-
/*
|
3407
|
+
/* 29 */
|
3167
3408
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3168
3409
|
|
3169
3410
|
"use strict";
|
3170
3411
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__slidable__ = __webpack_require__(2);
|
3171
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
3412
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(28);
|
3172
3413
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
3173
3414
|
|
3174
3415
|
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; }; }();
|
@@ -3238,16 +3479,16 @@ var MDCPersistentDrawerFoundation = function (_MDCSlidableDrawerFou) {
|
|
3238
3479
|
return MDCPersistentDrawerFoundation;
|
3239
3480
|
}(__WEBPACK_IMPORTED_MODULE_0__slidable__["a" /* MDCSlidableDrawerFoundation */]);
|
3240
3481
|
|
3241
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCPersistentDrawerFoundation;
|
3482
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCPersistentDrawerFoundation);
|
3242
3483
|
|
3243
3484
|
/***/ }),
|
3244
|
-
/*
|
3485
|
+
/* 30 */
|
3245
3486
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3246
3487
|
|
3247
3488
|
"use strict";
|
3248
3489
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
3249
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
3250
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(
|
3490
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(29);
|
3491
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(4);
|
3251
3492
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
3252
3493
|
/* unused harmony reexport util */
|
3253
3494
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCPersistentDrawer; });
|
@@ -3354,6 +3595,12 @@ var MDCPersistentDrawer = function (_MDCComponent) {
|
|
3354
3595
|
makeElementUntabbable: function makeElementUntabbable(el) {
|
3355
3596
|
return el.setAttribute('tabindex', -1);
|
3356
3597
|
},
|
3598
|
+
notifyOpen: function notifyOpen() {
|
3599
|
+
return _this2.emit('MDCPersistentDrawer:open');
|
3600
|
+
},
|
3601
|
+
notifyClose: function notifyClose() {
|
3602
|
+
return _this2.emit('MDCPersistentDrawer:close');
|
3603
|
+
},
|
3357
3604
|
isRtl: function isRtl() {
|
3358
3605
|
return getComputedStyle(_this2.root_).getPropertyValue('direction') === 'rtl';
|
3359
3606
|
},
|
@@ -3393,7 +3640,7 @@ var MDCPersistentDrawer = function (_MDCComponent) {
|
|
3393
3640
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
3394
3641
|
|
3395
3642
|
/***/ }),
|
3396
|
-
/*
|
3643
|
+
/* 31 */
|
3397
3644
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3398
3645
|
|
3399
3646
|
"use strict";
|
@@ -3417,7 +3664,7 @@ var MDCPersistentDrawer = function (_MDCComponent) {
|
|
3417
3664
|
var FOCUSABLE_ELEMENTS = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), ' + 'button:not([disabled]), iframe, object, embed, [tabindex], [contenteditable]';
|
3418
3665
|
|
3419
3666
|
/***/ }),
|
3420
|
-
/*
|
3667
|
+
/* 32 */
|
3421
3668
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3422
3669
|
|
3423
3670
|
"use strict";
|
@@ -3478,6 +3725,8 @@ var MDCSlidableDrawerFoundation = function (_MDCFoundation) {
|
|
3478
3725
|
saveElementTabState: function saveElementTabState() /* el: Element */{},
|
3479
3726
|
restoreElementTabState: function restoreElementTabState() /* el: Element */{},
|
3480
3727
|
makeElementUntabbable: function makeElementUntabbable() /* el: Element */{},
|
3728
|
+
notifyOpen: function notifyOpen() {},
|
3729
|
+
notifyClose: function notifyClose() {},
|
3481
3730
|
isRtl: function isRtl() {
|
3482
3731
|
return (/* boolean */false
|
3483
3732
|
);
|
@@ -3572,6 +3821,10 @@ var MDCSlidableDrawerFoundation = function (_MDCFoundation) {
|
|
3572
3821
|
this.adapter_.addClass(this.animatingCssClass_);
|
3573
3822
|
this.adapter_.addClass(this.openCssClass_);
|
3574
3823
|
this.retabinate_();
|
3824
|
+
// Debounce multiple calls
|
3825
|
+
if (!this.isOpen_) {
|
3826
|
+
this.adapter_.notifyOpen();
|
3827
|
+
}
|
3575
3828
|
this.isOpen_ = true;
|
3576
3829
|
}
|
3577
3830
|
}, {
|
@@ -3582,6 +3835,10 @@ var MDCSlidableDrawerFoundation = function (_MDCFoundation) {
|
|
3582
3835
|
this.adapter_.addClass(this.animatingCssClass_);
|
3583
3836
|
this.adapter_.removeClass(this.openCssClass_);
|
3584
3837
|
this.detabinate_();
|
3838
|
+
// Debounce multiple calls
|
3839
|
+
if (this.isOpen_) {
|
3840
|
+
this.adapter_.notifyClose();
|
3841
|
+
}
|
3585
3842
|
this.isOpen_ = false;
|
3586
3843
|
}
|
3587
3844
|
}, {
|
@@ -3694,7 +3951,7 @@ var MDCSlidableDrawerFoundation = function (_MDCFoundation) {
|
|
3694
3951
|
}
|
3695
3952
|
}, {
|
3696
3953
|
key: 'isRootTransitioningEventTarget_',
|
3697
|
-
value: function isRootTransitioningEventTarget_(
|
3954
|
+
value: function isRootTransitioningEventTarget_() {
|
3698
3955
|
// Classes extending MDCSlidableDrawerFoundation should implement this method to return true or false
|
3699
3956
|
// if the event target is the root event target currently transitioning.
|
3700
3957
|
return false;
|
@@ -3718,7 +3975,7 @@ var MDCSlidableDrawerFoundation = function (_MDCFoundation) {
|
|
3718
3975
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
3719
3976
|
|
3720
3977
|
/***/ }),
|
3721
|
-
/*
|
3978
|
+
/* 33 */
|
3722
3979
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3723
3980
|
|
3724
3981
|
"use strict";
|
@@ -3756,12 +4013,12 @@ var strings = {
|
|
3756
4013
|
};
|
3757
4014
|
|
3758
4015
|
/***/ }),
|
3759
|
-
/*
|
4016
|
+
/* 34 */
|
3760
4017
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3761
4018
|
|
3762
4019
|
"use strict";
|
3763
4020
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__slidable__ = __webpack_require__(2);
|
3764
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
4021
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(33);
|
3765
4022
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
3766
4023
|
|
3767
4024
|
var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };
|
@@ -3887,16 +4144,16 @@ var MDCTemporaryDrawerFoundation = function (_MDCSlidableDrawerFou) {
|
|
3887
4144
|
return MDCTemporaryDrawerFoundation;
|
3888
4145
|
}(__WEBPACK_IMPORTED_MODULE_0__slidable__["a" /* MDCSlidableDrawerFoundation */]);
|
3889
4146
|
|
3890
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCTemporaryDrawerFoundation;
|
4147
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCTemporaryDrawerFoundation);
|
3891
4148
|
|
3892
4149
|
/***/ }),
|
3893
|
-
/*
|
4150
|
+
/* 35 */
|
3894
4151
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3895
4152
|
|
3896
4153
|
"use strict";
|
3897
4154
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
3898
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
3899
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(
|
4155
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(34);
|
4156
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(4);
|
3900
4157
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
3901
4158
|
/* unused harmony reexport util */
|
3902
4159
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCTemporaryDrawer; });
|
@@ -4010,6 +4267,12 @@ var MDCTemporaryDrawer = function (_MDCComponent) {
|
|
4010
4267
|
makeElementUntabbable: function makeElementUntabbable(el) {
|
4011
4268
|
return el.setAttribute('tabindex', -1);
|
4012
4269
|
},
|
4270
|
+
notifyOpen: function notifyOpen() {
|
4271
|
+
return _this2.emit('MDCTemporaryDrawer:open');
|
4272
|
+
},
|
4273
|
+
notifyClose: function notifyClose() {
|
4274
|
+
return _this2.emit('MDCTemporaryDrawer:close');
|
4275
|
+
},
|
4013
4276
|
isRtl: function isRtl() {
|
4014
4277
|
return getComputedStyle(_this2.root_).getPropertyValue('direction') === 'rtl';
|
4015
4278
|
},
|
@@ -4049,7 +4312,7 @@ var MDCTemporaryDrawer = function (_MDCComponent) {
|
|
4049
4312
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
4050
4313
|
|
4051
4314
|
/***/ }),
|
4052
|
-
/*
|
4315
|
+
/* 36 */
|
4053
4316
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4054
4317
|
|
4055
4318
|
"use strict";
|
@@ -4080,12 +4343,12 @@ var strings = {
|
|
4080
4343
|
};
|
4081
4344
|
|
4082
4345
|
/***/ }),
|
4083
|
-
/*
|
4346
|
+
/* 37 */
|
4084
4347
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4085
4348
|
|
4086
4349
|
"use strict";
|
4087
4350
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
4088
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
4351
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(36);
|
4089
4352
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
4090
4353
|
|
4091
4354
|
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; }; }();
|
@@ -4163,7 +4426,7 @@ var MDCFormFieldFoundation = function (_MDCFoundation) {
|
|
4163
4426
|
}
|
4164
4427
|
}, {
|
4165
4428
|
key: 'handleClick_',
|
4166
|
-
value: function handleClick_(
|
4429
|
+
value: function handleClick_() {
|
4167
4430
|
var _this2 = this;
|
4168
4431
|
|
4169
4432
|
this.adapter_.activateInputRipple();
|
@@ -4176,10 +4439,10 @@ var MDCFormFieldFoundation = function (_MDCFoundation) {
|
|
4176
4439
|
return MDCFormFieldFoundation;
|
4177
4440
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
4178
4441
|
|
4179
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCFormFieldFoundation;
|
4442
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCFormFieldFoundation);
|
4180
4443
|
|
4181
4444
|
/***/ }),
|
4182
|
-
/*
|
4445
|
+
/* 38 */
|
4183
4446
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4184
4447
|
|
4185
4448
|
"use strict";
|
@@ -4205,12 +4468,12 @@ var strings = {
|
|
4205
4468
|
};
|
4206
4469
|
|
4207
4470
|
/***/ }),
|
4208
|
-
/*
|
4471
|
+
/* 39 */
|
4209
4472
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4210
4473
|
|
4211
4474
|
"use strict";
|
4212
4475
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
4213
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
4476
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(38);
|
4214
4477
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
4215
4478
|
|
4216
4479
|
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; }; }();
|
@@ -4323,10 +4586,10 @@ var MDCGridListFoundation = function (_MDCFoundation) {
|
|
4323
4586
|
return MDCGridListFoundation;
|
4324
4587
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
4325
4588
|
|
4326
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCGridListFoundation;
|
4589
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCGridListFoundation);
|
4327
4590
|
|
4328
4591
|
/***/ }),
|
4329
|
-
/*
|
4592
|
+
/* 40 */
|
4330
4593
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4331
4594
|
|
4332
4595
|
"use strict";
|
@@ -4361,12 +4624,12 @@ var cssClasses = {
|
|
4361
4624
|
};
|
4362
4625
|
|
4363
4626
|
/***/ }),
|
4364
|
-
/*
|
4627
|
+
/* 41 */
|
4365
4628
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4366
4629
|
|
4367
4630
|
"use strict";
|
4368
4631
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
4369
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
4632
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(40);
|
4370
4633
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
4371
4634
|
|
4372
4635
|
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; }; }();
|
@@ -4583,7 +4846,7 @@ var MDCIconToggleFoundation = function (_MDCFoundation) {
|
|
4583
4846
|
return MDCIconToggleFoundation;
|
4584
4847
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
4585
4848
|
|
4586
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCIconToggleFoundation;
|
4849
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCIconToggleFoundation);
|
4587
4850
|
|
4588
4851
|
|
4589
4852
|
function isSpace(_ref3) {
|
@@ -4594,7 +4857,7 @@ function isSpace(_ref3) {
|
|
4594
4857
|
}
|
4595
4858
|
|
4596
4859
|
/***/ }),
|
4597
|
-
/*
|
4860
|
+
/* 42 */
|
4598
4861
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4599
4862
|
|
4600
4863
|
"use strict";
|
@@ -4648,12 +4911,12 @@ var numbers = {
|
|
4648
4911
|
};
|
4649
4912
|
|
4650
4913
|
/***/ }),
|
4651
|
-
/*
|
4914
|
+
/* 43 */
|
4652
4915
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4653
4916
|
|
4654
4917
|
"use strict";
|
4655
4918
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
4656
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
4919
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(42);
|
4657
4920
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(8);
|
4658
4921
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
4659
4922
|
|
@@ -4794,7 +5057,7 @@ var MDCSimpleMenuFoundation = function (_MDCFoundation) {
|
|
4794
5057
|
_this.keyupHandler_ = function (evt) {
|
4795
5058
|
return _this.handleKeyboardUp_(evt);
|
4796
5059
|
};
|
4797
|
-
_this.documentClickHandler_ = function (
|
5060
|
+
_this.documentClickHandler_ = function () {
|
4798
5061
|
_this.adapter_.notifyCancel();
|
4799
5062
|
_this.close();
|
4800
5063
|
};
|
@@ -5187,15 +5450,15 @@ var MDCSimpleMenuFoundation = function (_MDCFoundation) {
|
|
5187
5450
|
return MDCSimpleMenuFoundation;
|
5188
5451
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
5189
5452
|
|
5190
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCSimpleMenuFoundation;
|
5453
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCSimpleMenuFoundation);
|
5191
5454
|
|
5192
5455
|
/***/ }),
|
5193
|
-
/*
|
5456
|
+
/* 44 */
|
5194
5457
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5195
5458
|
|
5196
5459
|
"use strict";
|
5197
5460
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
5198
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
5461
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(43);
|
5199
5462
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(8);
|
5200
5463
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
5201
5464
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCSimpleMenu; });
|
@@ -5408,7 +5671,7 @@ var MDCSimpleMenu = function (_MDCComponent) {
|
|
5408
5671
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
5409
5672
|
|
5410
5673
|
/***/ }),
|
5411
|
-
/*
|
5674
|
+
/* 45 */
|
5412
5675
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5413
5676
|
|
5414
5677
|
"use strict";
|
@@ -5439,12 +5702,12 @@ var cssClasses = {
|
|
5439
5702
|
};
|
5440
5703
|
|
5441
5704
|
/***/ }),
|
5442
|
-
/*
|
5705
|
+
/* 46 */
|
5443
5706
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5444
5707
|
|
5445
5708
|
"use strict";
|
5446
5709
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
5447
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
5710
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(45);
|
5448
5711
|
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; }; }();
|
5449
5712
|
|
5450
5713
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
@@ -5551,10 +5814,10 @@ var MDCRadioFoundation = function (_MDCFoundation) {
|
|
5551
5814
|
return MDCRadioFoundation;
|
5552
5815
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
5553
5816
|
|
5554
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCRadioFoundation;
|
5817
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCRadioFoundation);
|
5555
5818
|
|
5556
5819
|
/***/ }),
|
5557
|
-
/*
|
5820
|
+
/* 47 */
|
5558
5821
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5559
5822
|
|
5560
5823
|
"use strict";
|
@@ -5607,13 +5870,13 @@ var numbers = {
|
|
5607
5870
|
};
|
5608
5871
|
|
5609
5872
|
/***/ }),
|
5610
|
-
/*
|
5873
|
+
/* 48 */
|
5611
5874
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5612
5875
|
|
5613
5876
|
"use strict";
|
5614
5877
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
5615
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
5616
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(
|
5878
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(47);
|
5879
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(5);
|
5617
5880
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
5618
5881
|
|
5619
5882
|
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; }; }();
|
@@ -6102,10 +6365,10 @@ var MDCRippleFoundation = function (_MDCFoundation) {
|
|
6102
6365
|
return MDCRippleFoundation;
|
6103
6366
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
6104
6367
|
|
6105
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCRippleFoundation;
|
6368
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCRippleFoundation);
|
6106
6369
|
|
6107
6370
|
/***/ }),
|
6108
|
-
/*
|
6371
|
+
/* 49 */
|
6109
6372
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6110
6373
|
|
6111
6374
|
"use strict";
|
@@ -6132,12 +6395,12 @@ var cssClasses = {
|
|
6132
6395
|
};
|
6133
6396
|
|
6134
6397
|
/***/ }),
|
6135
|
-
/*
|
6398
|
+
/* 50 */
|
6136
6399
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6137
6400
|
|
6138
6401
|
"use strict";
|
6139
6402
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
6140
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
6403
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(49);
|
6141
6404
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
6142
6405
|
|
6143
6406
|
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; }; }();
|
@@ -6467,10 +6730,10 @@ var MDCSelectFoundation = function (_MDCFoundation) {
|
|
6467
6730
|
return MDCSelectFoundation;
|
6468
6731
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
6469
6732
|
|
6470
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCSelectFoundation;
|
6733
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCSelectFoundation);
|
6471
6734
|
|
6472
6735
|
/***/ }),
|
6473
|
-
/*
|
6736
|
+
/* 51 */
|
6474
6737
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6475
6738
|
|
6476
6739
|
"use strict";
|
@@ -6513,12 +6776,12 @@ var numbers = {
|
|
6513
6776
|
};
|
6514
6777
|
|
6515
6778
|
/***/ }),
|
6516
|
-
/*
|
6779
|
+
/* 52 */
|
6517
6780
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6518
6781
|
|
6519
6782
|
"use strict";
|
6520
6783
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
6521
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
6784
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(51);
|
6522
6785
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
6523
6786
|
|
6524
6787
|
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; }; }();
|
@@ -6718,10 +6981,10 @@ var MDCSnackbarFoundation = function (_MDCFoundation) {
|
|
6718
6981
|
return MDCSnackbarFoundation;
|
6719
6982
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
6720
6983
|
|
6721
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCSnackbarFoundation;
|
6984
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCSnackbarFoundation);
|
6722
6985
|
|
6723
6986
|
/***/ }),
|
6724
|
-
/*
|
6987
|
+
/* 53 */
|
6725
6988
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6726
6989
|
|
6727
6990
|
"use strict";
|
@@ -6761,12 +7024,12 @@ var cssClasses = {
|
|
6761
7024
|
};
|
6762
7025
|
|
6763
7026
|
/***/ }),
|
6764
|
-
/*
|
7027
|
+
/* 54 */
|
6765
7028
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6766
7029
|
|
6767
7030
|
"use strict";
|
6768
7031
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
6769
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
7032
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(53);
|
6770
7033
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
6771
7034
|
|
6772
7035
|
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; }; }();
|
@@ -6998,13 +7261,394 @@ var MDCTextfieldFoundation = function (_MDCFoundation) {
|
|
6998
7261
|
return MDCTextfieldFoundation;
|
6999
7262
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
7000
7263
|
|
7001
|
-
/* harmony default export */ __webpack_exports__["a"] = MDCTextfieldFoundation;
|
7264
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCTextfieldFoundation);
|
7002
7265
|
|
7003
7266
|
/***/ }),
|
7004
|
-
/*
|
7267
|
+
/* 55 */
|
7268
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7269
|
+
|
7270
|
+
"use strict";
|
7271
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cssClasses; });
|
7272
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return strings; });
|
7273
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return numbers; });
|
7274
|
+
/**
|
7275
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
7276
|
+
*
|
7277
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7278
|
+
* you may not use this file except in compliance with the License.
|
7279
|
+
* You may obtain a copy of the License at
|
7280
|
+
*
|
7281
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7282
|
+
*
|
7283
|
+
* Unless required by applicable law or agreed to in writing, software
|
7284
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7285
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7286
|
+
* See the License for the specific language governing permissions and
|
7287
|
+
* limitations under the License.
|
7288
|
+
*/
|
7289
|
+
|
7290
|
+
var cssClasses = {
|
7291
|
+
FIXED: 'mdc-toolbar--fixed',
|
7292
|
+
FIXED_LASTROW: 'mdc-toolbar--fixed-lastrow-only',
|
7293
|
+
FIXED_AT_LAST_ROW: 'mdc-toolbar--fixed-at-last-row',
|
7294
|
+
TOOLBAR_ROW_FLEXIBLE: 'mdc-toolbar--flexible',
|
7295
|
+
FLEXIBLE_DEFAULT_BEHAVIOR: 'mdc-toolbar--flexible-default-behavior',
|
7296
|
+
FLEXIBLE_MAX: 'mdc-toolbar--flexible-space-maximized',
|
7297
|
+
FLEXIBLE_MIN: 'mdc-toolbar--flexible-space-minimized'
|
7298
|
+
};
|
7299
|
+
|
7300
|
+
var strings = {
|
7301
|
+
TITLE_SELECTOR: '.mdc-toolbar__title',
|
7302
|
+
FLEXIBLE_ROW_SELECTOR: '.mdc-toolbar__row:first-child'
|
7303
|
+
};
|
7304
|
+
|
7305
|
+
var numbers = {
|
7306
|
+
MAX_TITLE_SIZE: 2.125,
|
7307
|
+
MIN_TITLE_SIZE: 1.25,
|
7308
|
+
TOOLBAR_ROW_HEIGHT: 64,
|
7309
|
+
TOOLBAR_ROW_MOBILE_HEIGHT: 56,
|
7310
|
+
TOOLBAR_MOBILE_BREAKPOINT: 599
|
7311
|
+
};
|
7312
|
+
|
7313
|
+
/***/ }),
|
7314
|
+
/* 56 */
|
7315
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7316
|
+
|
7317
|
+
"use strict";
|
7318
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(3);
|
7319
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(55);
|
7320
|
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7321
|
+
|
7322
|
+
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; }; }();
|
7323
|
+
|
7324
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7325
|
+
|
7326
|
+
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; }
|
7327
|
+
|
7328
|
+
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; }
|
7329
|
+
|
7330
|
+
/**
|
7331
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
7332
|
+
*
|
7333
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7334
|
+
* you may not use this file except in compliance with the License.
|
7335
|
+
* You may obtain a copy of the License at
|
7336
|
+
*
|
7337
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7338
|
+
*
|
7339
|
+
* Unless required by applicable law or agreed to in writing, software
|
7340
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7341
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7342
|
+
* See the License for the specific language governing permissions and
|
7343
|
+
* limitations under the License.
|
7344
|
+
*/
|
7345
|
+
|
7346
|
+
|
7347
|
+
|
7348
|
+
var MDCToolbarFoundation = function (_MDCFoundation) {
|
7349
|
+
_inherits(MDCToolbarFoundation, _MDCFoundation);
|
7350
|
+
|
7351
|
+
_createClass(MDCToolbarFoundation, null, [{
|
7352
|
+
key: 'cssClasses',
|
7353
|
+
get: function get() {
|
7354
|
+
return __WEBPACK_IMPORTED_MODULE_1__constants__["a" /* cssClasses */];
|
7355
|
+
}
|
7356
|
+
}, {
|
7357
|
+
key: 'strings',
|
7358
|
+
get: function get() {
|
7359
|
+
return __WEBPACK_IMPORTED_MODULE_1__constants__["b" /* strings */];
|
7360
|
+
}
|
7361
|
+
}, {
|
7362
|
+
key: 'numbers',
|
7363
|
+
get: function get() {
|
7364
|
+
return __WEBPACK_IMPORTED_MODULE_1__constants__["c" /* numbers */];
|
7365
|
+
}
|
7366
|
+
}, {
|
7367
|
+
key: 'defaultAdapter',
|
7368
|
+
get: function get() {
|
7369
|
+
return {
|
7370
|
+
hasClass: function hasClass() {
|
7371
|
+
return (/* className: string */ /* boolean */false
|
7372
|
+
);
|
7373
|
+
},
|
7374
|
+
addClass: function addClass() /* className: string */{},
|
7375
|
+
removeClass: function removeClass() /* className: string */{},
|
7376
|
+
registerScrollHandler: function registerScrollHandler() /* handler: EventListener */{},
|
7377
|
+
deregisterScrollHandler: function deregisterScrollHandler() /* handler: EventListener */{},
|
7378
|
+
registerResizeHandler: function registerResizeHandler() /* handler: EventListener */{},
|
7379
|
+
deregisterResizeHandler: function deregisterResizeHandler() /* handler: EventListener */{},
|
7380
|
+
getViewportWidth: function getViewportWidth() {
|
7381
|
+
return (/* number */0
|
7382
|
+
);
|
7383
|
+
},
|
7384
|
+
getViewportScrollY: function getViewportScrollY() {
|
7385
|
+
return (/* number */0
|
7386
|
+
);
|
7387
|
+
},
|
7388
|
+
getOffsetHeight: function getOffsetHeight() {
|
7389
|
+
return (/* number */0
|
7390
|
+
);
|
7391
|
+
},
|
7392
|
+
getFlexibleRowElementOffsetHeight: function getFlexibleRowElementOffsetHeight() {
|
7393
|
+
return (/* number */0
|
7394
|
+
);
|
7395
|
+
},
|
7396
|
+
notifyChange: function notifyChange() /* evtData: {flexibleExpansionRatio: number} */{},
|
7397
|
+
setStyle: function setStyle() /* property: string, value: string */{},
|
7398
|
+
setStyleForTitleElement: function setStyleForTitleElement() /* property: string, value: string */{},
|
7399
|
+
setStyleForFlexibleRowElement: function setStyleForFlexibleRowElement() /* property: string, value: string */{},
|
7400
|
+
setStyleForFixedAdjustElement: function setStyleForFixedAdjustElement() /* property: string, value: string */{}
|
7401
|
+
};
|
7402
|
+
}
|
7403
|
+
}]);
|
7404
|
+
|
7405
|
+
function MDCToolbarFoundation(adapter) {
|
7406
|
+
_classCallCheck(this, MDCToolbarFoundation);
|
7407
|
+
|
7408
|
+
var _this = _possibleConstructorReturn(this, (MDCToolbarFoundation.__proto__ || Object.getPrototypeOf(MDCToolbarFoundation)).call(this, _extends(MDCToolbarFoundation.defaultAdapter, adapter)));
|
7409
|
+
|
7410
|
+
_this.resizeHandler_ = function () {
|
7411
|
+
return _this.checkRowHeight_();
|
7412
|
+
};
|
7413
|
+
_this.scrollHandler_ = function () {
|
7414
|
+
return _this.updateToolbarStyles_();
|
7415
|
+
};
|
7416
|
+
_this.checkRowHeightFrame_ = 0;
|
7417
|
+
_this.scrollFrame_ = 0;
|
7418
|
+
_this.executedLastChange_ = false;
|
7419
|
+
|
7420
|
+
_this.calculations_ = {
|
7421
|
+
toolbarRowHeight: 0,
|
7422
|
+
// Calculated Height ratio. We use ratio to calculate corresponding heights in resize event.
|
7423
|
+
toolbarRatio: 0, // The ratio of toolbar height to row height
|
7424
|
+
flexibleExpansionRatio: 0, // The ratio of flexible space height to row height
|
7425
|
+
maxTranslateYRatio: 0, // The ratio of max toolbar move up distance to row height
|
7426
|
+
scrollThesholdRatio: 0, // The ratio of max scrollTop that we should listen to to row height
|
7427
|
+
// Derived Heights based on the above key ratios.
|
7428
|
+
toolbarHeight: 0,
|
7429
|
+
flexibleExpansionHeight: 0, // Flexible row minus toolbar height (derived)
|
7430
|
+
maxTranslateYDistance: 0, // When toolbar only fix last row (derived)
|
7431
|
+
scrollTheshold: 0
|
7432
|
+
};
|
7433
|
+
// Toolbar fixed behavior
|
7434
|
+
// If toolbar is fixed
|
7435
|
+
_this.fixed_ = false;
|
7436
|
+
// If fixed is targeted only at the last row
|
7437
|
+
_this.fixedLastrow_ = false;
|
7438
|
+
// Toolbar flexible behavior
|
7439
|
+
// If the first row is flexible
|
7440
|
+
_this.hasFlexibleRow_ = false;
|
7441
|
+
// If use the default behavior
|
7442
|
+
_this.useFlexDefaultBehavior_ = false;
|
7443
|
+
return _this;
|
7444
|
+
}
|
7445
|
+
|
7446
|
+
_createClass(MDCToolbarFoundation, [{
|
7447
|
+
key: 'init',
|
7448
|
+
value: function init() {
|
7449
|
+
this.fixed_ = this.adapter_.hasClass(MDCToolbarFoundation.cssClasses.FIXED);
|
7450
|
+
this.fixedLastrow_ = this.adapter_.hasClass(MDCToolbarFoundation.cssClasses.FIXED_LASTROW) & this.fixed_;
|
7451
|
+
this.hasFlexibleRow_ = this.adapter_.hasClass(MDCToolbarFoundation.cssClasses.TOOLBAR_ROW_FLEXIBLE);
|
7452
|
+
if (this.hasFlexibleRow_) {
|
7453
|
+
this.useFlexDefaultBehavior_ = this.adapter_.hasClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_DEFAULT_BEHAVIOR);
|
7454
|
+
}
|
7455
|
+
this.initKeyRatio_();
|
7456
|
+
this.setKeyHeights_();
|
7457
|
+
this.adapter_.registerResizeHandler(this.resizeHandler_);
|
7458
|
+
this.adapter_.registerScrollHandler(this.scrollHandler_);
|
7459
|
+
}
|
7460
|
+
}, {
|
7461
|
+
key: 'destroy',
|
7462
|
+
value: function destroy() {
|
7463
|
+
this.adapter_.deregisterResizeHandler(this.resizeHandler_);
|
7464
|
+
this.adapter_.deregisterScrollHandler(this.scrollHandler_);
|
7465
|
+
}
|
7466
|
+
}, {
|
7467
|
+
key: 'updateAdjustElementStyles',
|
7468
|
+
value: function updateAdjustElementStyles() {
|
7469
|
+
if (this.fixed_) {
|
7470
|
+
this.adapter_.setStyleForFixedAdjustElement('margin-top', this.calculations_.toolbarHeight + 'px');
|
7471
|
+
}
|
7472
|
+
}
|
7473
|
+
}, {
|
7474
|
+
key: 'getFlexibleExpansionRatio_',
|
7475
|
+
value: function getFlexibleExpansionRatio_(scrollTop) {
|
7476
|
+
// To prevent division by zero when there is no flexibleExpansionHeight
|
7477
|
+
var delta = 0.0001;
|
7478
|
+
return Math.max(0, 1 - scrollTop / (this.calculations_.flexibleExpansionHeight + delta));
|
7479
|
+
}
|
7480
|
+
}, {
|
7481
|
+
key: 'checkRowHeight_',
|
7482
|
+
value: function checkRowHeight_() {
|
7483
|
+
var _this2 = this;
|
7484
|
+
|
7485
|
+
cancelAnimationFrame(this.checkRowHeightFrame_);
|
7486
|
+
this.checkRowHeightFrame_ = requestAnimationFrame(function () {
|
7487
|
+
return _this2.setKeyHeights_();
|
7488
|
+
});
|
7489
|
+
}
|
7490
|
+
}, {
|
7491
|
+
key: 'setKeyHeights_',
|
7492
|
+
value: function setKeyHeights_() {
|
7493
|
+
var newToolbarRowHeight = this.getRowHeight_();
|
7494
|
+
if (newToolbarRowHeight !== this.calculations_.toolbarRowHeight) {
|
7495
|
+
this.calculations_.toolbarRowHeight = newToolbarRowHeight;
|
7496
|
+
this.calculations_.toolbarHeight = this.calculations_.toolbarRatio * this.calculations_.toolbarRowHeight;
|
7497
|
+
this.calculations_.flexibleExpansionHeight = this.calculations_.flexibleExpansionRatio * this.calculations_.toolbarRowHeight;
|
7498
|
+
this.calculations_.maxTranslateYDistance = this.calculations_.maxTranslateYRatio * this.calculations_.toolbarRowHeight;
|
7499
|
+
this.calculations_.scrollTheshold = this.calculations_.scrollThesholdRatio * this.calculations_.toolbarRowHeight;
|
7500
|
+
this.updateAdjustElementStyles();
|
7501
|
+
this.updateToolbarStyles_();
|
7502
|
+
}
|
7503
|
+
}
|
7504
|
+
}, {
|
7505
|
+
key: 'updateToolbarStyles_',
|
7506
|
+
value: function updateToolbarStyles_() {
|
7507
|
+
var _this3 = this;
|
7508
|
+
|
7509
|
+
cancelAnimationFrame(this.scrollFrame_);
|
7510
|
+
this.scrollFrame_ = requestAnimationFrame(function () {
|
7511
|
+
var scrollTop = _this3.adapter_.getViewportScrollY();
|
7512
|
+
var hasScrolledOutOfTheshold = _this3.scrolledOutOfTheshold_(scrollTop);
|
7513
|
+
|
7514
|
+
if (hasScrolledOutOfTheshold && _this3.executedLastChange_) {
|
7515
|
+
return;
|
7516
|
+
}
|
7517
|
+
|
7518
|
+
var flexibleExpansionRatio = _this3.getFlexibleExpansionRatio_(scrollTop);
|
7519
|
+
_this3.updateToolbarFlexibleState_(flexibleExpansionRatio);
|
7520
|
+
if (_this3.fixedLastrow_) {
|
7521
|
+
_this3.updateToolbarFixedState_(scrollTop);
|
7522
|
+
}
|
7523
|
+
if (_this3.hasFlexibleRow_) {
|
7524
|
+
_this3.updateFlexibleRowElementStyles_(flexibleExpansionRatio);
|
7525
|
+
}
|
7526
|
+
_this3.executedLastChange_ = hasScrolledOutOfTheshold;
|
7527
|
+
_this3.adapter_.notifyChange({ flexibleExpansionRatio: flexibleExpansionRatio });
|
7528
|
+
});
|
7529
|
+
}
|
7530
|
+
}, {
|
7531
|
+
key: 'scrolledOutOfTheshold_',
|
7532
|
+
value: function scrolledOutOfTheshold_(scrollTop) {
|
7533
|
+
return scrollTop > this.calculations_.scrollTheshold;
|
7534
|
+
}
|
7535
|
+
}, {
|
7536
|
+
key: 'initKeyRatio_',
|
7537
|
+
value: function initKeyRatio_() {
|
7538
|
+
var toolbarRowHeight = this.getRowHeight_();
|
7539
|
+
var flexibleRowMaxRatio = this.adapter_.getFlexibleRowElementOffsetHeight() / toolbarRowHeight;
|
7540
|
+
this.calculations_.toolbarRatio = this.adapter_.getOffsetHeight() / toolbarRowHeight;
|
7541
|
+
this.calculations_.flexibleExpansionRatio = flexibleRowMaxRatio - 1;
|
7542
|
+
this.calculations_.maxTranslateYRatio = this.fixedLastrow_ ? this.calculations_.toolbarRatio - flexibleRowMaxRatio : 0;
|
7543
|
+
this.calculations_.scrollThesholdRatio = (this.fixedLastrow_ ? this.calculations_.toolbarRatio : flexibleRowMaxRatio) - 1;
|
7544
|
+
}
|
7545
|
+
}, {
|
7546
|
+
key: 'getRowHeight_',
|
7547
|
+
value: function getRowHeight_() {
|
7548
|
+
var breakpoint = MDCToolbarFoundation.numbers.TOOLBAR_MOBILE_BREAKPOINT;
|
7549
|
+
return this.adapter_.getViewportWidth() <= breakpoint ? MDCToolbarFoundation.numbers.TOOLBAR_ROW_MOBILE_HEIGHT : MDCToolbarFoundation.numbers.TOOLBAR_ROW_HEIGHT;
|
7550
|
+
}
|
7551
|
+
}, {
|
7552
|
+
key: 'updateToolbarFlexibleState_',
|
7553
|
+
value: function updateToolbarFlexibleState_(flexibleExpansionRatio) {
|
7554
|
+
this.adapter_.removeClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_MAX);
|
7555
|
+
this.adapter_.removeClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_MIN);
|
7556
|
+
if (flexibleExpansionRatio === 1) {
|
7557
|
+
this.adapter_.addClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_MAX);
|
7558
|
+
} else if (flexibleExpansionRatio === 0) {
|
7559
|
+
this.adapter_.addClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_MIN);
|
7560
|
+
}
|
7561
|
+
}
|
7562
|
+
}, {
|
7563
|
+
key: 'updateToolbarFixedState_',
|
7564
|
+
value: function updateToolbarFixedState_(scrollTop) {
|
7565
|
+
var translateDistance = Math.max(0, Math.min(scrollTop - this.calculations_.flexibleExpansionHeight, this.calculations_.maxTranslateYDistance));
|
7566
|
+
this.adapter_.setStyle('transform', 'translateY(' + -translateDistance + 'px)');
|
7567
|
+
if (translateDistance === this.calculations_.maxTranslateYDistance) {
|
7568
|
+
this.adapter_.addClass(MDCToolbarFoundation.cssClasses.FIXED_AT_LAST_ROW);
|
7569
|
+
} else {
|
7570
|
+
this.adapter_.removeClass(MDCToolbarFoundation.cssClasses.FIXED_AT_LAST_ROW);
|
7571
|
+
}
|
7572
|
+
}
|
7573
|
+
}, {
|
7574
|
+
key: 'updateFlexibleRowElementStyles_',
|
7575
|
+
value: function updateFlexibleRowElementStyles_(flexibleExpansionRatio) {
|
7576
|
+
if (this.fixed_) {
|
7577
|
+
var height = this.calculations_.flexibleExpansionHeight * flexibleExpansionRatio;
|
7578
|
+
this.adapter_.setStyleForFlexibleRowElement('height', height + this.calculations_.toolbarRowHeight + 'px');
|
7579
|
+
}
|
7580
|
+
if (this.useFlexDefaultBehavior_) {
|
7581
|
+
this.updateElementStylesDefaultBehavior_(flexibleExpansionRatio);
|
7582
|
+
}
|
7583
|
+
}
|
7584
|
+
}, {
|
7585
|
+
key: 'updateElementStylesDefaultBehavior_',
|
7586
|
+
value: function updateElementStylesDefaultBehavior_(flexibleExpansionRatio) {
|
7587
|
+
var maxTitleSize = MDCToolbarFoundation.numbers.MAX_TITLE_SIZE;
|
7588
|
+
var minTitleSize = MDCToolbarFoundation.numbers.MIN_TITLE_SIZE;
|
7589
|
+
var currentTitleSize = (maxTitleSize - minTitleSize) * flexibleExpansionRatio + minTitleSize;
|
7590
|
+
if (this.fixed_) {
|
7591
|
+
var height = this.calculations_.flexibleExpansionHeight * flexibleExpansionRatio;
|
7592
|
+
this.adapter_.setStyleForTitleElement('transform', 'translateY(' + height + 'px)');
|
7593
|
+
}
|
7594
|
+
this.adapter_.setStyleForTitleElement('font-size', currentTitleSize + 'rem');
|
7595
|
+
}
|
7596
|
+
}]);
|
7597
|
+
|
7598
|
+
return MDCToolbarFoundation;
|
7599
|
+
}(__WEBPACK_IMPORTED_MODULE_0__material_base_foundation__["a" /* default */]);
|
7600
|
+
|
7601
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCToolbarFoundation);
|
7602
|
+
|
7603
|
+
/***/ }),
|
7604
|
+
/* 57 */
|
7605
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7606
|
+
|
7607
|
+
"use strict";
|
7608
|
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
7609
|
+
/* harmony export (immutable) */ __webpack_exports__["applyPassive"] = applyPassive;
|
7610
|
+
/**
|
7611
|
+
* Copyright 2016 Google Inc. All Rights Reserved.
|
7612
|
+
*
|
7613
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7614
|
+
* you may not use this file except in compliance with the License.
|
7615
|
+
* You may obtain a copy of the License at
|
7616
|
+
*
|
7617
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7618
|
+
*
|
7619
|
+
* Unless required by applicable law or agreed to in writing, software
|
7620
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7621
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7622
|
+
* See the License for the specific language governing permissions and
|
7623
|
+
* limitations under the License.
|
7624
|
+
*/
|
7625
|
+
|
7626
|
+
var supportsPassive_ = void 0;
|
7627
|
+
|
7628
|
+
// Determine whether the current browser supports passive event listeners, and if so, use them.
|
7629
|
+
function applyPassive() {
|
7630
|
+
var globalObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window;
|
7631
|
+
var forceRefresh = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
7632
|
+
|
7633
|
+
if (supportsPassive_ === undefined || forceRefresh) {
|
7634
|
+
var isSupported = false;
|
7635
|
+
try {
|
7636
|
+
globalObj.document.addEventListener('test', null, { get passive() {
|
7637
|
+
isSupported = true;
|
7638
|
+
} });
|
7639
|
+
} catch (e) {}
|
7640
|
+
|
7641
|
+
supportsPassive_ = isSupported;
|
7642
|
+
}
|
7643
|
+
|
7644
|
+
return supportsPassive_ ? { passive: true } : false;
|
7645
|
+
}
|
7646
|
+
|
7647
|
+
/***/ }),
|
7648
|
+
/* 58 */
|
7005
7649
|
/***/ (function(module, exports, __webpack_require__) {
|
7006
7650
|
|
7007
|
-
var tabbable = __webpack_require__(
|
7651
|
+
var tabbable = __webpack_require__(59);
|
7008
7652
|
|
7009
7653
|
var listeningFocusTrap = null;
|
7010
7654
|
|
@@ -7242,7 +7886,7 @@ module.exports = focusTrap;
|
|
7242
7886
|
|
7243
7887
|
|
7244
7888
|
/***/ }),
|
7245
|
-
/*
|
7889
|
+
/* 59 */
|
7246
7890
|
/***/ (function(module, exports) {
|
7247
7891
|
|
7248
7892
|
module.exports = function(el) {
|
@@ -7267,7 +7911,7 @@ module.exports = function(el) {
|
|
7267
7911
|
var candidate, candidateIndex;
|
7268
7912
|
for (var i = 0, l = candidates.length; i < l; i++) {
|
7269
7913
|
candidate = candidates[i];
|
7270
|
-
candidateIndex = candidate.tabIndex;
|
7914
|
+
candidateIndex = parseInt(candidate.getAttribute('tabindex'), 10) || candidate.tabIndex;
|
7271
7915
|
|
7272
7916
|
if (
|
7273
7917
|
candidateIndex < 0
|
@@ -7346,88 +7990,6 @@ function createIsUnavailable() {
|
|
7346
7990
|
}
|
7347
7991
|
|
7348
7992
|
|
7349
|
-
/***/ }),
|
7350
|
-
/* 55 */
|
7351
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7352
|
-
|
7353
|
-
"use strict";
|
7354
|
-
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
7355
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(0);
|
7356
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_checkbox__ = __webpack_require__(10);
|
7357
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_form_field__ = __webpack_require__(13);
|
7358
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__material_grid_list__ = __webpack_require__(14);
|
7359
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_icon_toggle__ = __webpack_require__(15);
|
7360
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_radio__ = __webpack_require__(16);
|
7361
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__material_ripple__ = __webpack_require__(1);
|
7362
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__material_dialog__ = __webpack_require__(11);
|
7363
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__material_drawer__ = __webpack_require__(12);
|
7364
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__material_textfield__ = __webpack_require__(19);
|
7365
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__material_snackbar__ = __webpack_require__(18);
|
7366
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__material_menu__ = __webpack_require__(5);
|
7367
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__material_select__ = __webpack_require__(17);
|
7368
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__material_auto_init__ = __webpack_require__(9);
|
7369
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "base", function() { return __WEBPACK_IMPORTED_MODULE_0__material_base__; });
|
7370
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "checkbox", function() { return __WEBPACK_IMPORTED_MODULE_1__material_checkbox__; });
|
7371
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "formField", function() { return __WEBPACK_IMPORTED_MODULE_2__material_form_field__; });
|
7372
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "gridList", function() { return __WEBPACK_IMPORTED_MODULE_3__material_grid_list__; });
|
7373
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "iconToggle", function() { return __WEBPACK_IMPORTED_MODULE_4__material_icon_toggle__; });
|
7374
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "radio", function() { return __WEBPACK_IMPORTED_MODULE_5__material_radio__; });
|
7375
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "ripple", function() { return __WEBPACK_IMPORTED_MODULE_6__material_ripple__; });
|
7376
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "snackbar", function() { return __WEBPACK_IMPORTED_MODULE_10__material_snackbar__; });
|
7377
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "dialog", function() { return __WEBPACK_IMPORTED_MODULE_7__material_dialog__; });
|
7378
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "drawer", function() { return __WEBPACK_IMPORTED_MODULE_8__material_drawer__; });
|
7379
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "textfield", function() { return __WEBPACK_IMPORTED_MODULE_9__material_textfield__; });
|
7380
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "menu", function() { return __WEBPACK_IMPORTED_MODULE_11__material_menu__; });
|
7381
|
-
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "select", function() { return __WEBPACK_IMPORTED_MODULE_12__material_select__; });
|
7382
|
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "autoInit", function() { return __WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a"]; });
|
7383
|
-
/**
|
7384
|
-
* Copyright 2016 Google Inc. All Rights Reserved.
|
7385
|
-
*
|
7386
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
7387
|
-
* you may not use this file except in compliance with the License.
|
7388
|
-
* You may obtain a copy of the License at
|
7389
|
-
*
|
7390
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
7391
|
-
*
|
7392
|
-
* Unless required by applicable law or agreed to in writing, software
|
7393
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
7394
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7395
|
-
* See the License for the specific language governing permissions and
|
7396
|
-
* limitations under the License.
|
7397
|
-
*/
|
7398
|
-
|
7399
|
-
|
7400
|
-
|
7401
|
-
|
7402
|
-
|
7403
|
-
|
7404
|
-
|
7405
|
-
|
7406
|
-
|
7407
|
-
|
7408
|
-
|
7409
|
-
|
7410
|
-
|
7411
|
-
|
7412
|
-
|
7413
|
-
|
7414
|
-
// Register all components
|
7415
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCCheckbox', __WEBPACK_IMPORTED_MODULE_1__material_checkbox__["MDCCheckbox"]);
|
7416
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCDialog', __WEBPACK_IMPORTED_MODULE_7__material_dialog__["MDCDialog"]);
|
7417
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCPersistentDrawer', __WEBPACK_IMPORTED_MODULE_8__material_drawer__["MDCPersistentDrawer"]);
|
7418
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCTemporaryDrawer', __WEBPACK_IMPORTED_MODULE_8__material_drawer__["MDCTemporaryDrawer"]);
|
7419
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCRipple', __WEBPACK_IMPORTED_MODULE_6__material_ripple__["MDCRipple"]);
|
7420
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCGridList', __WEBPACK_IMPORTED_MODULE_3__material_grid_list__["MDCGridList"]);
|
7421
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCIconToggle', __WEBPACK_IMPORTED_MODULE_4__material_icon_toggle__["MDCIconToggle"]);
|
7422
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCRadio', __WEBPACK_IMPORTED_MODULE_5__material_radio__["MDCRadio"]);
|
7423
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCSnackbar', __WEBPACK_IMPORTED_MODULE_10__material_snackbar__["MDCSnackbar"]);
|
7424
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCTextfield', __WEBPACK_IMPORTED_MODULE_9__material_textfield__["MDCTextfield"]);
|
7425
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCSimpleMenu', __WEBPACK_IMPORTED_MODULE_11__material_menu__["MDCSimpleMenu"]);
|
7426
|
-
__WEBPACK_IMPORTED_MODULE_13__material_auto_init__["a" /* default */].register('MDCSelect', __WEBPACK_IMPORTED_MODULE_12__material_select__["MDCSelect"]);
|
7427
|
-
|
7428
|
-
// Export all components.
|
7429
|
-
|
7430
|
-
|
7431
7993
|
/***/ })
|
7432
7994
|
/******/ ]);
|
7433
7995
|
});
|