material_components_web-sass 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/material_components_web/sass/version.rb +1 -1
- data/material_components_web-sass.gemspec +1 -0
- data/vendor/assets/javascripts/material-components-web.js +1327 -523
- data/vendor/assets/stylesheets/@material/dialog/mdc-dialog.scss +0 -1
- data/vendor/assets/stylesheets/@material/drawer/temporary/mdc-temporary-drawer.scss +0 -1
- data/vendor/assets/stylesheets/@material/list/mdc-list.scss +2 -1
- data/vendor/assets/stylesheets/@material/select/mdc-select.scss +5 -0
- data/vendor/assets/stylesheets/@material/textfield/_functions.scss +19 -0
- data/vendor/assets/stylesheets/@material/textfield/bottom-line/mdc-text-field-bottom-line.scss +44 -0
- data/vendor/assets/stylesheets/@material/textfield/helper-text/mdc-text-field-helper-text.scss +49 -0
- data/vendor/assets/stylesheets/@material/textfield/mdc-text-field.scss +10 -65
- metadata +19 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aebde2f714c8c8e68e0fc6c3cc26823c3cd4353
|
4
|
+
data.tar.gz: 503c4d90c176cbbf146a1de1be008333552e2304
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c54eadb39b84f5c440aa4c0c77c8765f4dfc462253b4222e9c9283d881aa086a062ebcd4d4e285023ee84789a75b306f44dbbfb833106d5626e07a5d5641b3e
|
7
|
+
data.tar.gz: 1f2a5e71df6729f9debd4521d730cd74b078de8098045fc8d1137ad710a2d4e4e5b9438b7e3cf2db3019c81eb7080154fd4a181645c1b40311f09bc9b706e4db
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## 0.26.0 (2017-11-28)
|
2
|
+
|
3
|
+
- Update assets to match upstream version
|
4
|
+
- Improvement: Update development dependencies
|
5
|
+
|
6
|
+
Library version:
|
7
|
+
|
8
|
+
- Material Components for the web v0.26.0
|
9
|
+
- Material Icons v3.0.0
|
10
|
+
|
1
11
|
## 0.25.0 (2017-11-15)
|
2
12
|
|
3
13
|
- Update assets to match upstream version
|
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_runtime_dependency 'autoprefixer-rails', '>= 6.5'
|
27
27
|
spec.add_runtime_dependency 'sass', '>= 3.4'
|
28
28
|
|
29
|
+
spec.add_development_dependency 'json', '>= 2.0'
|
29
30
|
spec.add_development_dependency 'railties', '>= 5.0'
|
30
31
|
spec.add_development_dependency 'rspec', '>= 3.5'
|
31
32
|
spec.add_development_dependency 'sprockets-rails', '>= 3.0'
|
@@ -75,45 +75,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
75
75
|
/******/ __webpack_require__.p = "/assets/";
|
76
76
|
/******/
|
77
77
|
/******/ // Load entry module and return exports
|
78
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
78
|
+
/******/ return __webpack_require__(__webpack_require__.s = 22);
|
79
79
|
/******/ })
|
80
80
|
/************************************************************************/
|
81
81
|
/******/ ([
|
82
82
|
/* 0 */
|
83
83
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
84
84
|
|
85
|
-
"use strict";
|
86
|
-
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
87
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__foundation__ = __webpack_require__(1);
|
88
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__component__ = __webpack_require__(2);
|
89
|
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCFoundation", function() { return __WEBPACK_IMPORTED_MODULE_0__foundation__["a"]; });
|
90
|
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCComponent", function() { return __WEBPACK_IMPORTED_MODULE_1__component__["a"]; });
|
91
|
-
/**
|
92
|
-
* @license
|
93
|
-
* Copyright 2016 Google Inc.
|
94
|
-
*
|
95
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
96
|
-
* you may not use this file except in compliance with the License.
|
97
|
-
* You may obtain a copy of the License at
|
98
|
-
*
|
99
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
100
|
-
*
|
101
|
-
* Unless required by applicable law or agreed to in writing, software
|
102
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
103
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
104
|
-
* See the License for the specific language governing permissions and
|
105
|
-
* limitations under the License.
|
106
|
-
*/
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
/***/ }),
|
114
|
-
/* 1 */
|
115
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
116
|
-
|
117
85
|
"use strict";
|
118
86
|
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; }; }();
|
119
87
|
|
@@ -213,12 +181,44 @@ var MDCFoundation = function () {
|
|
213
181
|
|
214
182
|
/* harmony default export */ __webpack_exports__["a"] = (MDCFoundation);
|
215
183
|
|
184
|
+
/***/ }),
|
185
|
+
/* 1 */
|
186
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
187
|
+
|
188
|
+
"use strict";
|
189
|
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
190
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__foundation__ = __webpack_require__(0);
|
191
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__component__ = __webpack_require__(2);
|
192
|
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCFoundation", function() { return __WEBPACK_IMPORTED_MODULE_0__foundation__["a"]; });
|
193
|
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCComponent", function() { return __WEBPACK_IMPORTED_MODULE_1__component__["a"]; });
|
194
|
+
/**
|
195
|
+
* @license
|
196
|
+
* Copyright 2016 Google Inc.
|
197
|
+
*
|
198
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
199
|
+
* you may not use this file except in compliance with the License.
|
200
|
+
* You may obtain a copy of the License at
|
201
|
+
*
|
202
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
203
|
+
*
|
204
|
+
* Unless required by applicable law or agreed to in writing, software
|
205
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
206
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
207
|
+
* See the License for the specific language governing permissions and
|
208
|
+
* limitations under the License.
|
209
|
+
*/
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
216
|
/***/ }),
|
217
217
|
/* 2 */
|
218
218
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
219
219
|
|
220
220
|
"use strict";
|
221
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__foundation__ = __webpack_require__(
|
221
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__foundation__ = __webpack_require__(0);
|
222
222
|
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; }; }();
|
223
223
|
|
224
224
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
@@ -458,8 +458,8 @@ var MDCSelectionControl = function () {
|
|
458
458
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
459
459
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCRipple", function() { return MDCRipple; });
|
460
460
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
461
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(
|
462
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
461
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(12);
|
462
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(25);
|
463
463
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util__ = __webpack_require__(7);
|
464
464
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCRippleFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
465
465
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "util", function() { return __WEBPACK_IMPORTED_MODULE_3__util__; });
|
@@ -833,9 +833,9 @@ function getCorrectPropertyName(windowObj, eventType) {
|
|
833
833
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
834
834
|
|
835
835
|
"use strict";
|
836
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__constants__ = __webpack_require__(
|
836
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__constants__ = __webpack_require__(39);
|
837
837
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__constants__["a"]; });
|
838
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
838
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(40);
|
839
839
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
840
840
|
/**
|
841
841
|
* Copyright 2016 Google Inc. All Rights Reserved.
|
@@ -1138,7 +1138,7 @@ function restoreElementTabState(el) {
|
|
1138
1138
|
"use strict";
|
1139
1139
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1140
1140
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(10);
|
1141
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__simple__ = __webpack_require__(
|
1141
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__simple__ = __webpack_require__(59);
|
1142
1142
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSimpleMenu", function() { return __WEBPACK_IMPORTED_MODULE_1__simple__["a"]; });
|
1143
1143
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSimpleMenuFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__simple__["b"]; });
|
1144
1144
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "util", function() { return __WEBPACK_IMPORTED_MODULE_0__util__; });
|
@@ -1336,6 +1336,177 @@ function solvePositionFromXValue_(xVal, x1, x2) {
|
|
1336
1336
|
/* 11 */
|
1337
1337
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1338
1338
|
|
1339
|
+
"use strict";
|
1340
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
1341
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(19);
|
1342
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(83);
|
1343
|
+
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; };
|
1344
|
+
|
1345
|
+
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; }; }();
|
1346
|
+
|
1347
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1348
|
+
|
1349
|
+
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; }
|
1350
|
+
|
1351
|
+
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; }
|
1352
|
+
|
1353
|
+
/**
|
1354
|
+
* @license
|
1355
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
1356
|
+
*
|
1357
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1358
|
+
* you may not use this file except in compliance with the License.
|
1359
|
+
* You may obtain a copy of the License at
|
1360
|
+
*
|
1361
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1362
|
+
*
|
1363
|
+
* Unless required by applicable law or agreed to in writing, software
|
1364
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1365
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1366
|
+
* See the License for the specific language governing permissions and
|
1367
|
+
* limitations under the License.
|
1368
|
+
*/
|
1369
|
+
|
1370
|
+
|
1371
|
+
|
1372
|
+
|
1373
|
+
|
1374
|
+
/**
|
1375
|
+
* @extends {MDCFoundation<!MDCTextFieldBottomLineAdapter>}
|
1376
|
+
* @final
|
1377
|
+
*/
|
1378
|
+
|
1379
|
+
var MDCTextFieldBottomLineFoundation = function (_MDCFoundation) {
|
1380
|
+
_inherits(MDCTextFieldBottomLineFoundation, _MDCFoundation);
|
1381
|
+
|
1382
|
+
_createClass(MDCTextFieldBottomLineFoundation, null, [{
|
1383
|
+
key: 'cssClasses',
|
1384
|
+
|
1385
|
+
/** @return enum {string} */
|
1386
|
+
get: function get() {
|
1387
|
+
return __WEBPACK_IMPORTED_MODULE_2__constants__["a" /* cssClasses */];
|
1388
|
+
}
|
1389
|
+
|
1390
|
+
/** @return enum {string} */
|
1391
|
+
|
1392
|
+
}, {
|
1393
|
+
key: 'strings',
|
1394
|
+
get: function get() {
|
1395
|
+
return __WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */];
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
/**
|
1399
|
+
* {@see MDCTextFieldBottomLineAdapter} for typing information on parameters and return
|
1400
|
+
* types.
|
1401
|
+
* @return {!MDCTextFieldBottomLineAdapter}
|
1402
|
+
*/
|
1403
|
+
|
1404
|
+
}, {
|
1405
|
+
key: 'defaultAdapter',
|
1406
|
+
get: function get() {
|
1407
|
+
return (/** @type {!MDCTextFieldBottomLineAdapter} */{
|
1408
|
+
addClass: function addClass() {},
|
1409
|
+
removeClass: function removeClass() {},
|
1410
|
+
setAttr: function setAttr() {},
|
1411
|
+
registerEventHandler: function registerEventHandler() {},
|
1412
|
+
deregisterEventHandler: function deregisterEventHandler() {},
|
1413
|
+
notifyAnimationEnd: function notifyAnimationEnd() {}
|
1414
|
+
}
|
1415
|
+
);
|
1416
|
+
}
|
1417
|
+
|
1418
|
+
/**
|
1419
|
+
* @param {!MDCTextFieldBottomLineAdapter=} adapter
|
1420
|
+
*/
|
1421
|
+
|
1422
|
+
}]);
|
1423
|
+
|
1424
|
+
function MDCTextFieldBottomLineFoundation() {
|
1425
|
+
var adapter = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : /** @type {!MDCTextFieldBottomLineAdapter} */{};
|
1426
|
+
|
1427
|
+
_classCallCheck(this, MDCTextFieldBottomLineFoundation);
|
1428
|
+
|
1429
|
+
/** @private {function(!Event): undefined} */
|
1430
|
+
var _this = _possibleConstructorReturn(this, (MDCTextFieldBottomLineFoundation.__proto__ || Object.getPrototypeOf(MDCTextFieldBottomLineFoundation)).call(this, _extends(MDCTextFieldBottomLineFoundation.defaultAdapter, adapter)));
|
1431
|
+
|
1432
|
+
_this.transitionEndHandler_ = function (evt) {
|
1433
|
+
return _this.handleTransitionEnd(evt);
|
1434
|
+
};
|
1435
|
+
return _this;
|
1436
|
+
}
|
1437
|
+
|
1438
|
+
_createClass(MDCTextFieldBottomLineFoundation, [{
|
1439
|
+
key: 'init',
|
1440
|
+
value: function init() {
|
1441
|
+
this.adapter_.registerEventHandler('transitionend', this.transitionEndHandler_);
|
1442
|
+
}
|
1443
|
+
}, {
|
1444
|
+
key: 'destroy',
|
1445
|
+
value: function destroy() {
|
1446
|
+
this.adapter_.deregisterEventHandler('transitionend', this.transitionEndHandler_);
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
/**
|
1450
|
+
* Activates the bottom line
|
1451
|
+
*/
|
1452
|
+
|
1453
|
+
}, {
|
1454
|
+
key: 'activate',
|
1455
|
+
value: function activate() {
|
1456
|
+
this.adapter_.addClass(__WEBPACK_IMPORTED_MODULE_2__constants__["a" /* cssClasses */].BOTTOM_LINE_ACTIVE);
|
1457
|
+
}
|
1458
|
+
|
1459
|
+
/**
|
1460
|
+
* Sets the transform origin given a user's click location.
|
1461
|
+
* @param {!Event} evt
|
1462
|
+
*/
|
1463
|
+
|
1464
|
+
}, {
|
1465
|
+
key: 'setTransformOrigin',
|
1466
|
+
value: function setTransformOrigin(evt) {
|
1467
|
+
var targetClientRect = evt.target.getBoundingClientRect();
|
1468
|
+
var evtCoords = { x: evt.clientX, y: evt.clientY };
|
1469
|
+
var normalizedX = evtCoords.x - targetClientRect.left;
|
1470
|
+
var attributeString = 'transform-origin: ' + normalizedX + 'px center';
|
1471
|
+
|
1472
|
+
this.adapter_.setAttr('style', attributeString);
|
1473
|
+
}
|
1474
|
+
|
1475
|
+
/**
|
1476
|
+
* Deactivates the bottom line
|
1477
|
+
*/
|
1478
|
+
|
1479
|
+
}, {
|
1480
|
+
key: 'deactivate',
|
1481
|
+
value: function deactivate() {
|
1482
|
+
this.adapter_.removeClass(__WEBPACK_IMPORTED_MODULE_2__constants__["a" /* cssClasses */].BOTTOM_LINE_ACTIVE);
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
/**
|
1486
|
+
* Handles a transition end event
|
1487
|
+
* @param {!Event} evt
|
1488
|
+
*/
|
1489
|
+
|
1490
|
+
}, {
|
1491
|
+
key: 'handleTransitionEnd',
|
1492
|
+
value: function handleTransitionEnd(evt) {
|
1493
|
+
// Wait for the bottom line to be either transparent or opaque
|
1494
|
+
// before emitting the animation end event
|
1495
|
+
if (evt.propertyName === 'opacity') {
|
1496
|
+
this.adapter_.notifyAnimationEnd();
|
1497
|
+
}
|
1498
|
+
}
|
1499
|
+
}]);
|
1500
|
+
|
1501
|
+
return MDCTextFieldBottomLineFoundation;
|
1502
|
+
}(__WEBPACK_IMPORTED_MODULE_0__material_base_foundation__["a" /* default */]);
|
1503
|
+
|
1504
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCTextFieldBottomLineFoundation);
|
1505
|
+
|
1506
|
+
/***/ }),
|
1507
|
+
/* 12 */
|
1508
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1509
|
+
|
1339
1510
|
"use strict";
|
1340
1511
|
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; }; }();
|
1341
1512
|
|
@@ -1484,7 +1655,7 @@ var MDCRippleAdapter = function () {
|
|
1484
1655
|
/* unused harmony default export */ var _unused_webpack_default_export = (MDCRippleAdapter);
|
1485
1656
|
|
1486
1657
|
/***/ }),
|
1487
|
-
/*
|
1658
|
+
/* 13 */
|
1488
1659
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1489
1660
|
|
1490
1661
|
"use strict";
|
@@ -1537,15 +1708,15 @@ var numbers = {
|
|
1537
1708
|
};
|
1538
1709
|
|
1539
1710
|
/***/ }),
|
1540
|
-
/*
|
1711
|
+
/* 14 */
|
1541
1712
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1542
1713
|
|
1543
1714
|
"use strict";
|
1544
1715
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCTab; });
|
1545
1716
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
1546
1717
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ripple__ = __webpack_require__(4);
|
1547
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(
|
1548
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__foundation__ = __webpack_require__(
|
1718
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(15);
|
1719
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__foundation__ = __webpack_require__(76);
|
1549
1720
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__foundation__["a"]; });
|
1550
1721
|
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); } };
|
1551
1722
|
|
@@ -1683,7 +1854,7 @@ var MDCTab = function (_MDCComponent) {
|
|
1683
1854
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base_component__["a" /* default */]);
|
1684
1855
|
|
1685
1856
|
/***/ }),
|
1686
|
-
/*
|
1857
|
+
/* 15 */
|
1687
1858
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1688
1859
|
|
1689
1860
|
"use strict";
|
@@ -1714,14 +1885,14 @@ var strings = {
|
|
1714
1885
|
};
|
1715
1886
|
|
1716
1887
|
/***/ }),
|
1717
|
-
/*
|
1888
|
+
/* 16 */
|
1718
1889
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1719
1890
|
|
1720
1891
|
"use strict";
|
1721
1892
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCTabBar; });
|
1722
1893
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
1723
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__tab__ = __webpack_require__(
|
1724
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
1894
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__tab__ = __webpack_require__(14);
|
1895
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(77);
|
1725
1896
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
1726
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; }; }();
|
1727
1898
|
|
@@ -1903,7 +2074,7 @@ var MDCTabBar = function (_MDCComponent) {
|
|
1903
2074
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base_component__["a" /* default */]);
|
1904
2075
|
|
1905
2076
|
/***/ }),
|
1906
|
-
/*
|
2077
|
+
/* 17 */
|
1907
2078
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1908
2079
|
|
1909
2080
|
"use strict";
|
@@ -1928,8 +2099,7 @@ var MDCTabBar = function (_MDCComponent) {
|
|
1928
2099
|
|
1929
2100
|
/** @enum {string} */
|
1930
2101
|
var strings = {
|
1931
|
-
|
1932
|
-
ROLE: 'role',
|
2102
|
+
ARIA_CONTROLS: 'aria-controls',
|
1933
2103
|
INPUT_SELECTOR: '.mdc-text-field__input',
|
1934
2104
|
LABEL_SELECTOR: '.mdc-text-field__label',
|
1935
2105
|
ICON_SELECTOR: '.mdc-text-field__icon',
|
@@ -1944,25 +2114,24 @@ var cssClasses = {
|
|
1944
2114
|
DISABLED: 'mdc-text-field--disabled',
|
1945
2115
|
FOCUSED: 'mdc-text-field--focused',
|
1946
2116
|
INVALID: 'mdc-text-field--invalid',
|
1947
|
-
HELPTEXT_PERSISTENT: 'mdc-text-field-helptext--persistent',
|
1948
|
-
HELPTEXT_VALIDATION_MSG: 'mdc-text-field-helptext--validation-msg',
|
1949
2117
|
LABEL_FLOAT_ABOVE: 'mdc-text-field__label--float-above',
|
1950
2118
|
LABEL_SHAKE: 'mdc-text-field__label--shake',
|
1951
2119
|
BOX: 'mdc-text-field--box',
|
1952
2120
|
TEXT_FIELD_ICON: 'mdc-text-field__icon',
|
1953
|
-
TEXTAREA: 'mdc-text-field--textarea'
|
1954
|
-
BOTTOM_LINE_ACTIVE: 'mdc-text-field__bottom-line--active'
|
2121
|
+
TEXTAREA: 'mdc-text-field--textarea'
|
1955
2122
|
};
|
1956
2123
|
|
1957
2124
|
|
1958
2125
|
|
1959
2126
|
/***/ }),
|
1960
|
-
/*
|
2127
|
+
/* 18 */
|
1961
2128
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1962
2129
|
|
1963
2130
|
"use strict";
|
1964
2131
|
/* unused harmony export MDCTextFieldAdapter */
|
1965
2132
|
/* unused harmony export NativeInputType */
|
2133
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__bottom_line_foundation__ = __webpack_require__(11);
|
2134
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__helper_text_foundation__ = __webpack_require__(20);
|
1966
2135
|
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; }; }();
|
1967
2136
|
|
1968
2137
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
@@ -1984,6 +2153,10 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
1984
2153
|
* limitations under the License.
|
1985
2154
|
*/
|
1986
2155
|
|
2156
|
+
/* eslint-disable no-unused-vars */
|
2157
|
+
|
2158
|
+
|
2159
|
+
|
1987
2160
|
/* eslint no-unused-vars: [2, {"args": "none"}] */
|
1988
2161
|
|
1989
2162
|
/**
|
@@ -2013,7 +2186,7 @@ var MDCTextFieldAdapter = function () {
|
|
2013
2186
|
}
|
2014
2187
|
|
2015
2188
|
_createClass(MDCTextFieldAdapter, [{
|
2016
|
-
key:
|
2189
|
+
key: 'addClass',
|
2017
2190
|
|
2018
2191
|
/**
|
2019
2192
|
* Adds a class to the root Element.
|
@@ -2027,7 +2200,7 @@ var MDCTextFieldAdapter = function () {
|
|
2027
2200
|
*/
|
2028
2201
|
|
2029
2202
|
}, {
|
2030
|
-
key:
|
2203
|
+
key: 'removeClass',
|
2031
2204
|
value: function removeClass(className) {}
|
2032
2205
|
|
2033
2206
|
/**
|
@@ -2039,7 +2212,7 @@ var MDCTextFieldAdapter = function () {
|
|
2039
2212
|
*/
|
2040
2213
|
|
2041
2214
|
}, {
|
2042
|
-
key:
|
2215
|
+
key: 'addClassToLabel',
|
2043
2216
|
value: function addClassToLabel(className) {}
|
2044
2217
|
|
2045
2218
|
/**
|
@@ -2048,7 +2221,7 @@ var MDCTextFieldAdapter = function () {
|
|
2048
2221
|
*/
|
2049
2222
|
|
2050
2223
|
}, {
|
2051
|
-
key:
|
2224
|
+
key: 'removeClassFromLabel',
|
2052
2225
|
value: function removeClassFromLabel(className) {}
|
2053
2226
|
|
2054
2227
|
/**
|
@@ -2058,7 +2231,7 @@ var MDCTextFieldAdapter = function () {
|
|
2058
2231
|
*/
|
2059
2232
|
|
2060
2233
|
}, {
|
2061
|
-
key:
|
2234
|
+
key: 'setIconAttr',
|
2062
2235
|
value: function setIconAttr(name, value) {}
|
2063
2236
|
|
2064
2237
|
/**
|
@@ -2069,7 +2242,7 @@ var MDCTextFieldAdapter = function () {
|
|
2069
2242
|
*/
|
2070
2243
|
|
2071
2244
|
}, {
|
2072
|
-
key:
|
2245
|
+
key: 'eventTargetHasClass',
|
2073
2246
|
value: function eventTargetHasClass(target, className) {}
|
2074
2247
|
|
2075
2248
|
/**
|
@@ -2079,7 +2252,7 @@ var MDCTextFieldAdapter = function () {
|
|
2079
2252
|
*/
|
2080
2253
|
|
2081
2254
|
}, {
|
2082
|
-
key:
|
2255
|
+
key: 'registerTextFieldInteractionHandler',
|
2083
2256
|
value: function registerTextFieldInteractionHandler(type, handler) {}
|
2084
2257
|
|
2085
2258
|
/**
|
@@ -2089,7 +2262,7 @@ var MDCTextFieldAdapter = function () {
|
|
2089
2262
|
*/
|
2090
2263
|
|
2091
2264
|
}, {
|
2092
|
-
key:
|
2265
|
+
key: 'deregisterTextFieldInteractionHandler',
|
2093
2266
|
value: function deregisterTextFieldInteractionHandler(type, handler) {}
|
2094
2267
|
|
2095
2268
|
/**
|
@@ -2097,56 +2270,38 @@ var MDCTextFieldAdapter = function () {
|
|
2097
2270
|
*/
|
2098
2271
|
|
2099
2272
|
}, {
|
2100
|
-
key:
|
2273
|
+
key: 'notifyIconAction',
|
2101
2274
|
value: function notifyIconAction() {}
|
2102
2275
|
|
2103
2276
|
/**
|
2104
|
-
* Adds a class to the
|
2105
|
-
*
|
2106
|
-
*/
|
2107
|
-
|
2108
|
-
}, {
|
2109
|
-
key: "addClassToBottomLine",
|
2110
|
-
value: function addClassToBottomLine(className) {}
|
2111
|
-
|
2112
|
-
/**
|
2113
|
-
* Removes a class from the bottom line element.
|
2114
|
-
* @param {string} className
|
2115
|
-
*/
|
2116
|
-
|
2117
|
-
}, {
|
2118
|
-
key: "removeClassFromBottomLine",
|
2119
|
-
value: function removeClassFromBottomLine(className) {}
|
2120
|
-
|
2121
|
-
/**
|
2122
|
-
* Adds a class to the help text element. Note that in our code we check for
|
2123
|
-
* whether or not we have a help text element and if we don't, we simply
|
2277
|
+
* Adds a class to the helper text element. Note that in our code we check for
|
2278
|
+
* whether or not we have a helper text element and if we don't, we simply
|
2124
2279
|
* return.
|
2125
2280
|
* @param {string} className
|
2126
2281
|
*/
|
2127
2282
|
|
2128
2283
|
}, {
|
2129
|
-
key:
|
2130
|
-
value: function
|
2284
|
+
key: 'addClassToHelperText',
|
2285
|
+
value: function addClassToHelperText(className) {}
|
2131
2286
|
|
2132
2287
|
/**
|
2133
|
-
* Removes a class from the
|
2288
|
+
* Removes a class from the helper text element.
|
2134
2289
|
* @param {string} className
|
2135
2290
|
*/
|
2136
2291
|
|
2137
2292
|
}, {
|
2138
|
-
key:
|
2139
|
-
value: function
|
2293
|
+
key: 'removeClassFromHelperText',
|
2294
|
+
value: function removeClassFromHelperText(className) {}
|
2140
2295
|
|
2141
2296
|
/**
|
2142
|
-
* Returns whether or not the
|
2297
|
+
* Returns whether or not the helper text element contains the given class.
|
2143
2298
|
* @param {string} className
|
2144
2299
|
* @return {boolean}
|
2145
2300
|
*/
|
2146
2301
|
|
2147
2302
|
}, {
|
2148
|
-
key:
|
2149
|
-
value: function
|
2303
|
+
key: 'helperTextHasClass',
|
2304
|
+
value: function helperTextHasClass(className) {}
|
2150
2305
|
|
2151
2306
|
/**
|
2152
2307
|
* Registers an event listener on the native input element for a given event.
|
@@ -2155,7 +2310,7 @@ var MDCTextFieldAdapter = function () {
|
|
2155
2310
|
*/
|
2156
2311
|
|
2157
2312
|
}, {
|
2158
|
-
key:
|
2313
|
+
key: 'registerInputInteractionHandler',
|
2159
2314
|
value: function registerInputInteractionHandler(evtType, handler) {}
|
2160
2315
|
|
2161
2316
|
/**
|
@@ -2165,55 +2320,56 @@ var MDCTextFieldAdapter = function () {
|
|
2165
2320
|
*/
|
2166
2321
|
|
2167
2322
|
}, {
|
2168
|
-
key:
|
2323
|
+
key: 'deregisterInputInteractionHandler',
|
2169
2324
|
value: function deregisterInputInteractionHandler(evtType, handler) {}
|
2170
2325
|
|
2171
2326
|
/**
|
2172
|
-
* Registers an event listener on the bottom line element for a
|
2327
|
+
* Registers an event listener on the bottom line element for a given event.
|
2328
|
+
* @param {string} evtType
|
2173
2329
|
* @param {function(!Event): undefined} handler
|
2174
2330
|
*/
|
2175
2331
|
|
2176
2332
|
}, {
|
2177
|
-
key:
|
2178
|
-
value: function
|
2333
|
+
key: 'registerBottomLineEventHandler',
|
2334
|
+
value: function registerBottomLineEventHandler(evtType, handler) {}
|
2179
2335
|
|
2180
2336
|
/**
|
2181
|
-
* Deregisters an event listener on the bottom line element for a
|
2337
|
+
* Deregisters an event listener on the bottom line element for a given event.
|
2338
|
+
* @param {string} evtType
|
2182
2339
|
* @param {function(!Event): undefined} handler
|
2183
2340
|
*/
|
2184
2341
|
|
2185
2342
|
}, {
|
2186
|
-
key:
|
2187
|
-
value: function
|
2343
|
+
key: 'deregisterBottomLineEventHandler',
|
2344
|
+
value: function deregisterBottomLineEventHandler(evtType, handler) {}
|
2188
2345
|
|
2189
2346
|
/**
|
2190
|
-
* Sets an attribute with a given value on the
|
2191
|
-
* @param {string}
|
2347
|
+
* Sets an attribute with a given value on the helper text element.
|
2348
|
+
* @param {string} name
|
2192
2349
|
* @param {string} value
|
2193
2350
|
*/
|
2194
2351
|
|
2195
2352
|
}, {
|
2196
|
-
key:
|
2197
|
-
value: function
|
2353
|
+
key: 'setHelperTextAttr',
|
2354
|
+
value: function setHelperTextAttr(name, value) {}
|
2198
2355
|
|
2199
2356
|
/**
|
2200
|
-
*
|
2357
|
+
* Removes an attribute from the helper text element.
|
2201
2358
|
* @param {string} name
|
2202
|
-
* @param {string} value
|
2203
2359
|
*/
|
2204
2360
|
|
2205
2361
|
}, {
|
2206
|
-
key:
|
2207
|
-
value: function
|
2362
|
+
key: 'removeHelperTextAttr',
|
2363
|
+
value: function removeHelperTextAttr(name) {}
|
2208
2364
|
|
2209
2365
|
/**
|
2210
|
-
*
|
2211
|
-
* @param {string}
|
2366
|
+
* Sets the text content for the help text element
|
2367
|
+
* @param {string} content
|
2212
2368
|
*/
|
2213
2369
|
|
2214
2370
|
}, {
|
2215
|
-
key:
|
2216
|
-
value: function
|
2371
|
+
key: 'setHelperTextContent',
|
2372
|
+
value: function setHelperTextContent(content) {}
|
2217
2373
|
|
2218
2374
|
/**
|
2219
2375
|
* Returns an object representing the native text input element, with a
|
@@ -2227,8 +2383,28 @@ var MDCTextFieldAdapter = function () {
|
|
2227
2383
|
*/
|
2228
2384
|
|
2229
2385
|
}, {
|
2230
|
-
key:
|
2386
|
+
key: 'getNativeInput',
|
2231
2387
|
value: function getNativeInput() {}
|
2388
|
+
|
2389
|
+
/**
|
2390
|
+
* Returns the foundation for the bottom line element. Returns undefined if
|
2391
|
+
* there is no bottom line element.
|
2392
|
+
* @return {?MDCTextFieldBottomLineFoundation}
|
2393
|
+
*/
|
2394
|
+
|
2395
|
+
}, {
|
2396
|
+
key: 'getBottomLineFoundation',
|
2397
|
+
value: function getBottomLineFoundation() {}
|
2398
|
+
|
2399
|
+
/**
|
2400
|
+
* Returns the foundation for the helper text element. Returns undefined if
|
2401
|
+
* there is no helper text element.
|
2402
|
+
* @return {?MDCTextFieldHelperTextFoundation}
|
2403
|
+
*/
|
2404
|
+
|
2405
|
+
}, {
|
2406
|
+
key: 'getHelperTextFoundation',
|
2407
|
+
value: function getHelperTextFoundation() {}
|
2232
2408
|
}]);
|
2233
2409
|
|
2234
2410
|
return MDCTextFieldAdapter;
|
@@ -2237,33 +2413,402 @@ var MDCTextFieldAdapter = function () {
|
|
2237
2413
|
|
2238
2414
|
|
2239
2415
|
/***/ }),
|
2240
|
-
/*
|
2416
|
+
/* 19 */
|
2241
2417
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2242
2418
|
|
2243
2419
|
"use strict";
|
2244
|
-
Object.defineProperty(
|
2245
|
-
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
|
2250
|
-
|
2251
|
-
|
2252
|
-
|
2253
|
-
|
2254
|
-
|
2255
|
-
|
2256
|
-
|
2257
|
-
|
2258
|
-
|
2259
|
-
|
2260
|
-
|
2261
|
-
|
2262
|
-
|
2263
|
-
|
2264
|
-
|
2265
|
-
/*
|
2266
|
-
|
2420
|
+
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; }; }();
|
2421
|
+
|
2422
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2423
|
+
|
2424
|
+
/**
|
2425
|
+
* @license
|
2426
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
2427
|
+
*
|
2428
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
2429
|
+
* you may not use this file except in compliance with the License.
|
2430
|
+
* You may obtain a copy of the License at
|
2431
|
+
*
|
2432
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2433
|
+
*
|
2434
|
+
* Unless required by applicable law or agreed to in writing, software
|
2435
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
2436
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2437
|
+
* See the License for the specific language governing permissions and
|
2438
|
+
* limitations under the License.
|
2439
|
+
*/
|
2440
|
+
|
2441
|
+
/* eslint no-unused-vars: [2, {"args": "none"}] */
|
2442
|
+
|
2443
|
+
/**
|
2444
|
+
* Adapter for MDC TextField Bottom Line.
|
2445
|
+
*
|
2446
|
+
* Defines the shape of the adapter expected by the foundation. Implement this
|
2447
|
+
* adapter to integrate the TextField bottom line into your framework. See
|
2448
|
+
* https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md
|
2449
|
+
* for more information.
|
2450
|
+
*
|
2451
|
+
* @record
|
2452
|
+
*/
|
2453
|
+
var MDCTextFieldBottomLineAdapter = function () {
|
2454
|
+
function MDCTextFieldBottomLineAdapter() {
|
2455
|
+
_classCallCheck(this, MDCTextFieldBottomLineAdapter);
|
2456
|
+
}
|
2457
|
+
|
2458
|
+
_createClass(MDCTextFieldBottomLineAdapter, [{
|
2459
|
+
key: "addClass",
|
2460
|
+
|
2461
|
+
/**
|
2462
|
+
* Adds a class to the bottom line element.
|
2463
|
+
* @param {string} className
|
2464
|
+
*/
|
2465
|
+
value: function addClass(className) {}
|
2466
|
+
|
2467
|
+
/**
|
2468
|
+
* Removes a class from the bottom line element.
|
2469
|
+
* @param {string} className
|
2470
|
+
*/
|
2471
|
+
|
2472
|
+
}, {
|
2473
|
+
key: "removeClass",
|
2474
|
+
value: function removeClass(className) {}
|
2475
|
+
|
2476
|
+
/**
|
2477
|
+
* Sets an attribute with a given value on the bottom line element.
|
2478
|
+
* @param {string} attr
|
2479
|
+
* @param {string} value
|
2480
|
+
*/
|
2481
|
+
|
2482
|
+
}, {
|
2483
|
+
key: "setAttr",
|
2484
|
+
value: function setAttr(attr, value) {}
|
2485
|
+
|
2486
|
+
/**
|
2487
|
+
* Registers an event listener on the bottom line element for a given event.
|
2488
|
+
* @param {string} evtType
|
2489
|
+
* @param {function(!Event): undefined} handler
|
2490
|
+
*/
|
2491
|
+
|
2492
|
+
}, {
|
2493
|
+
key: "registerEventHandler",
|
2494
|
+
value: function registerEventHandler(evtType, handler) {}
|
2495
|
+
|
2496
|
+
/**
|
2497
|
+
* Deregisters an event listener on the bottom line element for a given event.
|
2498
|
+
* @param {string} evtType
|
2499
|
+
* @param {function(!Event): undefined} handler
|
2500
|
+
*/
|
2501
|
+
|
2502
|
+
}, {
|
2503
|
+
key: "deregisterEventHandler",
|
2504
|
+
value: function deregisterEventHandler(evtType, handler) {}
|
2505
|
+
|
2506
|
+
/**
|
2507
|
+
* Emits a custom event "MDCTextFieldBottomLine:animation-end" denoting the
|
2508
|
+
* bottom line has finished its animation; either the activate or
|
2509
|
+
* deactivate animation
|
2510
|
+
*/
|
2511
|
+
|
2512
|
+
}, {
|
2513
|
+
key: "notifyAnimationEnd",
|
2514
|
+
value: function notifyAnimationEnd() {}
|
2515
|
+
}]);
|
2516
|
+
|
2517
|
+
return MDCTextFieldBottomLineAdapter;
|
2518
|
+
}();
|
2519
|
+
|
2520
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (MDCTextFieldBottomLineAdapter);
|
2521
|
+
|
2522
|
+
/***/ }),
|
2523
|
+
/* 20 */
|
2524
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2525
|
+
|
2526
|
+
"use strict";
|
2527
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
2528
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(21);
|
2529
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(84);
|
2530
|
+
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; };
|
2531
|
+
|
2532
|
+
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; }; }();
|
2533
|
+
|
2534
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2535
|
+
|
2536
|
+
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; }
|
2537
|
+
|
2538
|
+
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; }
|
2539
|
+
|
2540
|
+
/**
|
2541
|
+
* @license
|
2542
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
2543
|
+
*
|
2544
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
2545
|
+
* you may not use this file except in compliance with the License.
|
2546
|
+
* You may obtain a copy of the License at
|
2547
|
+
*
|
2548
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2549
|
+
*
|
2550
|
+
* Unless required by applicable law or agreed to in writing, software
|
2551
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
2552
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2553
|
+
* See the License for the specific language governing permissions and
|
2554
|
+
* limitations under the License.
|
2555
|
+
*/
|
2556
|
+
|
2557
|
+
|
2558
|
+
|
2559
|
+
|
2560
|
+
|
2561
|
+
/**
|
2562
|
+
* @extends {MDCFoundation<!MDCTextFieldHelperTextAdapter>}
|
2563
|
+
* @final
|
2564
|
+
*/
|
2565
|
+
|
2566
|
+
var MDCTextFieldHelperTextFoundation = function (_MDCFoundation) {
|
2567
|
+
_inherits(MDCTextFieldHelperTextFoundation, _MDCFoundation);
|
2568
|
+
|
2569
|
+
_createClass(MDCTextFieldHelperTextFoundation, null, [{
|
2570
|
+
key: 'cssClasses',
|
2571
|
+
|
2572
|
+
/** @return enum {string} */
|
2573
|
+
get: function get() {
|
2574
|
+
return __WEBPACK_IMPORTED_MODULE_2__constants__["a" /* cssClasses */];
|
2575
|
+
}
|
2576
|
+
|
2577
|
+
/** @return enum {string} */
|
2578
|
+
|
2579
|
+
}, {
|
2580
|
+
key: 'strings',
|
2581
|
+
get: function get() {
|
2582
|
+
return __WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */];
|
2583
|
+
}
|
2584
|
+
|
2585
|
+
/**
|
2586
|
+
* {@see MDCTextFieldHelperTextAdapter} for typing information on parameters and return
|
2587
|
+
* types.
|
2588
|
+
* @return {!MDCTextFieldHelperTextAdapter}
|
2589
|
+
*/
|
2590
|
+
|
2591
|
+
}, {
|
2592
|
+
key: 'defaultAdapter',
|
2593
|
+
get: function get() {
|
2594
|
+
return (/** @type {!MDCTextFieldHelperTextAdapter} */{
|
2595
|
+
addClass: function addClass() {},
|
2596
|
+
removeClass: function removeClass() {},
|
2597
|
+
hasClass: function hasClass() {},
|
2598
|
+
setAttr: function setAttr() {},
|
2599
|
+
removeAttr: function removeAttr() {},
|
2600
|
+
setContent: function setContent() {}
|
2601
|
+
}
|
2602
|
+
);
|
2603
|
+
}
|
2604
|
+
|
2605
|
+
/**
|
2606
|
+
* @param {!MDCTextFieldHelperTextAdapter=} adapter
|
2607
|
+
*/
|
2608
|
+
|
2609
|
+
}]);
|
2610
|
+
|
2611
|
+
function MDCTextFieldHelperTextFoundation() {
|
2612
|
+
var adapter = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : /** @type {!MDCTextFieldHelperTextAdapter} */{};
|
2613
|
+
|
2614
|
+
_classCallCheck(this, MDCTextFieldHelperTextFoundation);
|
2615
|
+
|
2616
|
+
return _possibleConstructorReturn(this, (MDCTextFieldHelperTextFoundation.__proto__ || Object.getPrototypeOf(MDCTextFieldHelperTextFoundation)).call(this, _extends(MDCTextFieldHelperTextFoundation.defaultAdapter, adapter)));
|
2617
|
+
}
|
2618
|
+
|
2619
|
+
/**
|
2620
|
+
* Sets the content of the helper text field.
|
2621
|
+
* @param {string} content
|
2622
|
+
*/
|
2623
|
+
|
2624
|
+
|
2625
|
+
_createClass(MDCTextFieldHelperTextFoundation, [{
|
2626
|
+
key: 'setContent',
|
2627
|
+
value: function setContent(content) {
|
2628
|
+
this.adapter_.setContent(content);
|
2629
|
+
}
|
2630
|
+
|
2631
|
+
/** Makes the helper text visible to the screen reader. */
|
2632
|
+
|
2633
|
+
}, {
|
2634
|
+
key: 'showToScreenReader',
|
2635
|
+
value: function showToScreenReader() {
|
2636
|
+
this.adapter_.removeAttr(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].ARIA_HIDDEN);
|
2637
|
+
}
|
2638
|
+
|
2639
|
+
/**
|
2640
|
+
* Sets the validity of the helper text based on the input validity.
|
2641
|
+
* @param {boolean} inputIsValid
|
2642
|
+
*/
|
2643
|
+
|
2644
|
+
}, {
|
2645
|
+
key: 'setValidity',
|
2646
|
+
value: function setValidity(inputIsValid) {
|
2647
|
+
var helperTextIsPersistent = this.adapter_.hasClass(__WEBPACK_IMPORTED_MODULE_2__constants__["a" /* cssClasses */].HELPER_TEXT_PERSISTENT);
|
2648
|
+
var helperTextIsValidationMsg = this.adapter_.hasClass(__WEBPACK_IMPORTED_MODULE_2__constants__["a" /* cssClasses */].HELPER_TEXT_VALIDATION_MSG);
|
2649
|
+
var validationMsgNeedsDisplay = helperTextIsValidationMsg && !inputIsValid;
|
2650
|
+
|
2651
|
+
if (validationMsgNeedsDisplay) {
|
2652
|
+
this.adapter_.setAttr(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].ROLE, 'alert');
|
2653
|
+
} else {
|
2654
|
+
this.adapter_.removeAttr(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].ROLE);
|
2655
|
+
}
|
2656
|
+
|
2657
|
+
if (!helperTextIsPersistent && !validationMsgNeedsDisplay) {
|
2658
|
+
this.hide_();
|
2659
|
+
}
|
2660
|
+
}
|
2661
|
+
|
2662
|
+
/**
|
2663
|
+
* Hides the help text from screen readers.
|
2664
|
+
* @private
|
2665
|
+
*/
|
2666
|
+
|
2667
|
+
}, {
|
2668
|
+
key: 'hide_',
|
2669
|
+
value: function hide_() {
|
2670
|
+
this.adapter_.setAttr(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].ARIA_HIDDEN, 'true');
|
2671
|
+
}
|
2672
|
+
}]);
|
2673
|
+
|
2674
|
+
return MDCTextFieldHelperTextFoundation;
|
2675
|
+
}(__WEBPACK_IMPORTED_MODULE_0__material_base_foundation__["a" /* default */]);
|
2676
|
+
|
2677
|
+
/* harmony default export */ __webpack_exports__["a"] = (MDCTextFieldHelperTextFoundation);
|
2678
|
+
|
2679
|
+
/***/ }),
|
2680
|
+
/* 21 */
|
2681
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2682
|
+
|
2683
|
+
"use strict";
|
2684
|
+
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; }; }();
|
2685
|
+
|
2686
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2687
|
+
|
2688
|
+
/**
|
2689
|
+
* @license
|
2690
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
2691
|
+
*
|
2692
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
2693
|
+
* you may not use this file except in compliance with the License.
|
2694
|
+
* You may obtain a copy of the License at
|
2695
|
+
*
|
2696
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2697
|
+
*
|
2698
|
+
* Unless required by applicable law or agreed to in writing, software
|
2699
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
2700
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2701
|
+
* See the License for the specific language governing permissions and
|
2702
|
+
* limitations under the License.
|
2703
|
+
*/
|
2704
|
+
|
2705
|
+
/* eslint no-unused-vars: [2, {"args": "none"}] */
|
2706
|
+
|
2707
|
+
/**
|
2708
|
+
* Adapter for MDC Text Field Helper Text.
|
2709
|
+
*
|
2710
|
+
* Defines the shape of the adapter expected by the foundation. Implement this
|
2711
|
+
* adapter to integrate the TextField helper text into your framework. See
|
2712
|
+
* https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md
|
2713
|
+
* for more information.
|
2714
|
+
*
|
2715
|
+
* @record
|
2716
|
+
*/
|
2717
|
+
var MDCTextFieldHelperTextAdapter = function () {
|
2718
|
+
function MDCTextFieldHelperTextAdapter() {
|
2719
|
+
_classCallCheck(this, MDCTextFieldHelperTextAdapter);
|
2720
|
+
}
|
2721
|
+
|
2722
|
+
_createClass(MDCTextFieldHelperTextAdapter, [{
|
2723
|
+
key: "addClass",
|
2724
|
+
|
2725
|
+
/**
|
2726
|
+
* Adds a class to the helper text element.
|
2727
|
+
* @param {string} className
|
2728
|
+
*/
|
2729
|
+
value: function addClass(className) {}
|
2730
|
+
|
2731
|
+
/**
|
2732
|
+
* Removes a class from the helper text element.
|
2733
|
+
* @param {string} className
|
2734
|
+
*/
|
2735
|
+
|
2736
|
+
}, {
|
2737
|
+
key: "removeClass",
|
2738
|
+
value: function removeClass(className) {}
|
2739
|
+
|
2740
|
+
/**
|
2741
|
+
* Returns whether or not the helper text element contains the given class.
|
2742
|
+
* @param {string} className
|
2743
|
+
* @return {boolean}
|
2744
|
+
*/
|
2745
|
+
|
2746
|
+
}, {
|
2747
|
+
key: "hasClass",
|
2748
|
+
value: function hasClass(className) {}
|
2749
|
+
|
2750
|
+
/**
|
2751
|
+
* Sets an attribute with a given value on the helper text element.
|
2752
|
+
* @param {string} attr
|
2753
|
+
* @param {string} value
|
2754
|
+
*/
|
2755
|
+
|
2756
|
+
}, {
|
2757
|
+
key: "setAttr",
|
2758
|
+
value: function setAttr(attr, value) {}
|
2759
|
+
|
2760
|
+
/**
|
2761
|
+
* Removes an attribute from the helper text element.
|
2762
|
+
* @param {string} attr
|
2763
|
+
*/
|
2764
|
+
|
2765
|
+
}, {
|
2766
|
+
key: "removeAttr",
|
2767
|
+
value: function removeAttr(attr) {}
|
2768
|
+
|
2769
|
+
/**
|
2770
|
+
* Sets the text content for the helper text element.
|
2771
|
+
* @param {string} content
|
2772
|
+
*/
|
2773
|
+
|
2774
|
+
}, {
|
2775
|
+
key: "setContent",
|
2776
|
+
value: function setContent(content) {}
|
2777
|
+
}]);
|
2778
|
+
|
2779
|
+
return MDCTextFieldHelperTextAdapter;
|
2780
|
+
}();
|
2781
|
+
|
2782
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (MDCTextFieldHelperTextAdapter);
|
2783
|
+
|
2784
|
+
/***/ }),
|
2785
|
+
/* 22 */
|
2786
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2787
|
+
|
2788
|
+
"use strict";
|
2789
|
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
2790
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_auto_init__ = __webpack_require__(23);
|
2791
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_base__ = __webpack_require__(1);
|
2792
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_checkbox__ = __webpack_require__(24);
|
2793
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__material_dialog__ = __webpack_require__(30);
|
2794
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_drawer__ = __webpack_require__(36);
|
2795
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_form_field__ = __webpack_require__(45);
|
2796
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__material_grid_list__ = __webpack_require__(49);
|
2797
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__material_icon_toggle__ = __webpack_require__(52);
|
2798
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__material_linear_progress__ = __webpack_require__(56);
|
2799
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__material_menu__ = __webpack_require__(9);
|
2800
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__material_radio__ = __webpack_require__(63);
|
2801
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__material_ripple__ = __webpack_require__(4);
|
2802
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__material_select__ = __webpack_require__(67);
|
2803
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__material_selection_control__ = __webpack_require__(3);
|
2804
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__material_slider__ = __webpack_require__(70);
|
2805
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__material_snackbar__ = __webpack_require__(72);
|
2806
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__material_tabs__ = __webpack_require__(75);
|
2807
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__material_textfield__ = __webpack_require__(82);
|
2808
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__material_toolbar__ = __webpack_require__(88);
|
2809
|
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "autoInit", function() { return __WEBPACK_IMPORTED_MODULE_0__material_auto_init__["a"]; });
|
2810
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "base", function() { return __WEBPACK_IMPORTED_MODULE_1__material_base__; });
|
2811
|
+
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "checkbox", function() { return __WEBPACK_IMPORTED_MODULE_2__material_checkbox__; });
|
2267
2812
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "dialog", function() { return __WEBPACK_IMPORTED_MODULE_3__material_dialog__; });
|
2268
2813
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "drawer", function() { return __WEBPACK_IMPORTED_MODULE_4__material_drawer__; });
|
2269
2814
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "formField", function() { return __WEBPACK_IMPORTED_MODULE_5__material_form_field__; });
|
@@ -2340,7 +2885,7 @@ __WEBPACK_IMPORTED_MODULE_0__material_auto_init__["a" /* default */].register('M
|
|
2340
2885
|
|
2341
2886
|
|
2342
2887
|
/***/ }),
|
2343
|
-
/*
|
2888
|
+
/* 23 */
|
2344
2889
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2345
2890
|
|
2346
2891
|
"use strict";
|
@@ -2440,7 +2985,7 @@ mdcAutoInit.deregisterAll = function () {
|
|
2440
2985
|
};
|
2441
2986
|
|
2442
2987
|
/***/ }),
|
2443
|
-
/*
|
2988
|
+
/* 24 */
|
2444
2989
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2445
2990
|
|
2446
2991
|
"use strict";
|
@@ -2449,7 +2994,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
2449
2994
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_animation__ = __webpack_require__(5);
|
2450
2995
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_base_component__ = __webpack_require__(2);
|
2451
2996
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_selection_control__ = __webpack_require__(3);
|
2452
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__foundation__ = __webpack_require__(
|
2997
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__foundation__ = __webpack_require__(27);
|
2453
2998
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ripple__ = __webpack_require__(4);
|
2454
2999
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_ripple_util__ = __webpack_require__(7);
|
2455
3000
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCCheckboxFoundation", function() { return __WEBPACK_IMPORTED_MODULE_3__foundation__["a"]; });
|
@@ -2697,13 +3242,13 @@ var MDCCheckbox = function (_MDCComponent) {
|
|
2697
3242
|
|
2698
3243
|
|
2699
3244
|
/***/ }),
|
2700
|
-
/*
|
3245
|
+
/* 25 */
|
2701
3246
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2702
3247
|
|
2703
3248
|
"use strict";
|
2704
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
2705
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(
|
2706
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(
|
3249
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
3250
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(12);
|
3251
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(26);
|
2707
3252
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util__ = __webpack_require__(7);
|
2708
3253
|
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; };
|
2709
3254
|
|
@@ -3355,7 +3900,7 @@ var MDCRippleFoundation = function (_MDCFoundation) {
|
|
3355
3900
|
/* harmony default export */ __webpack_exports__["a"] = (MDCRippleFoundation);
|
3356
3901
|
|
3357
3902
|
/***/ }),
|
3358
|
-
/*
|
3903
|
+
/* 26 */
|
3359
3904
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3360
3905
|
|
3361
3906
|
"use strict";
|
@@ -3410,14 +3955,14 @@ var numbers = {
|
|
3410
3955
|
|
3411
3956
|
|
3412
3957
|
/***/ }),
|
3413
|
-
/*
|
3958
|
+
/* 27 */
|
3414
3959
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3415
3960
|
|
3416
3961
|
"use strict";
|
3417
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
3962
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
3418
3963
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_selection_control__ = __webpack_require__(3);
|
3419
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__adapter__ = __webpack_require__(
|
3420
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constants__ = __webpack_require__(
|
3964
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__adapter__ = __webpack_require__(28);
|
3965
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constants__ = __webpack_require__(29);
|
3421
3966
|
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; };
|
3422
3967
|
|
3423
3968
|
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; }; }();
|
@@ -3787,7 +4332,7 @@ function validDescriptor(inputPropDesc) {
|
|
3787
4332
|
/* harmony default export */ __webpack_exports__["a"] = (MDCCheckboxFoundation);
|
3788
4333
|
|
3789
4334
|
/***/ }),
|
3790
|
-
/*
|
4335
|
+
/* 28 */
|
3791
4336
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3792
4337
|
|
3793
4338
|
"use strict";
|
@@ -3898,7 +4443,7 @@ var MDCCheckboxAdapter = function () {
|
|
3898
4443
|
/* unused harmony default export */ var _unused_webpack_default_export = (MDCCheckboxAdapter);
|
3899
4444
|
|
3900
4445
|
/***/ }),
|
3901
|
-
/*
|
4446
|
+
/* 29 */
|
3902
4447
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3903
4448
|
|
3904
4449
|
"use strict";
|
@@ -3956,16 +4501,16 @@ var numbers = {
|
|
3956
4501
|
|
3957
4502
|
|
3958
4503
|
/***/ }),
|
3959
|
-
/*
|
4504
|
+
/* 30 */
|
3960
4505
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3961
4506
|
|
3962
4507
|
"use strict";
|
3963
4508
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
3964
4509
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCDialog", function() { return MDCDialog; });
|
3965
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
4510
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
3966
4511
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ripple__ = __webpack_require__(4);
|
3967
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
3968
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util__ = __webpack_require__(
|
4512
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(31);
|
4513
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util__ = __webpack_require__(33);
|
3969
4514
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCDialogFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
3970
4515
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "util", function() { return __WEBPACK_IMPORTED_MODULE_3__util__; });
|
3971
4516
|
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; }; }();
|
@@ -4134,12 +4679,12 @@ var MDCDialog = function (_MDCComponent) {
|
|
4134
4679
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
4135
4680
|
|
4136
4681
|
/***/ }),
|
4137
|
-
/*
|
4682
|
+
/* 31 */
|
4138
4683
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4139
4684
|
|
4140
4685
|
"use strict";
|
4141
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
4142
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
4686
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
4687
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(32);
|
4143
4688
|
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; };
|
4144
4689
|
|
4145
4690
|
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; }; }();
|
@@ -4345,7 +4890,7 @@ var MDCDialogFoundation = function (_MDCFoundation) {
|
|
4345
4890
|
/* harmony default export */ __webpack_exports__["a"] = (MDCDialogFoundation);
|
4346
4891
|
|
4347
4892
|
/***/ }),
|
4348
|
-
/*
|
4893
|
+
/* 32 */
|
4349
4894
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4350
4895
|
|
4351
4896
|
"use strict";
|
@@ -4386,13 +4931,13 @@ var strings = {
|
|
4386
4931
|
};
|
4387
4932
|
|
4388
4933
|
/***/ }),
|
4389
|
-
/*
|
4934
|
+
/* 33 */
|
4390
4935
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4391
4936
|
|
4392
4937
|
"use strict";
|
4393
4938
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
4394
4939
|
/* harmony export (immutable) */ __webpack_exports__["createFocusTrapInstance"] = createFocusTrapInstance;
|
4395
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_focus_trap__ = __webpack_require__(
|
4940
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_focus_trap__ = __webpack_require__(34);
|
4396
4941
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_focus_trap___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_focus_trap__);
|
4397
4942
|
/**
|
4398
4943
|
* Copyright 2016 Google Inc. All Rights Reserved.
|
@@ -4422,10 +4967,10 @@ function createFocusTrapInstance(surfaceEl, acceptButtonEl) {
|
|
4422
4967
|
}
|
4423
4968
|
|
4424
4969
|
/***/ }),
|
4425
|
-
/*
|
4970
|
+
/* 34 */
|
4426
4971
|
/***/ (function(module, exports, __webpack_require__) {
|
4427
4972
|
|
4428
|
-
var tabbable = __webpack_require__(
|
4973
|
+
var tabbable = __webpack_require__(35);
|
4429
4974
|
|
4430
4975
|
var listeningFocusTrap = null;
|
4431
4976
|
|
@@ -4663,16 +5208,19 @@ module.exports = focusTrap;
|
|
4663
5208
|
|
4664
5209
|
|
4665
5210
|
/***/ }),
|
4666
|
-
/*
|
5211
|
+
/* 35 */
|
4667
5212
|
/***/ (function(module, exports) {
|
4668
5213
|
|
4669
|
-
module.exports = function(el) {
|
5214
|
+
module.exports = function(el, options) {
|
5215
|
+
options = options || {};
|
5216
|
+
|
5217
|
+
var elementDocument = el.ownerDocument;
|
4670
5218
|
var basicTabbables = [];
|
4671
5219
|
var orderedTabbables = [];
|
4672
5220
|
|
4673
5221
|
// A node is "available" if
|
4674
5222
|
// - it's computed style
|
4675
|
-
var isUnavailable = createIsUnavailable();
|
5223
|
+
var isUnavailable = createIsUnavailable(elementDocument);
|
4676
5224
|
|
4677
5225
|
var candidateSelectors = [
|
4678
5226
|
'input',
|
@@ -4685,6 +5233,19 @@ module.exports = function(el) {
|
|
4685
5233
|
|
4686
5234
|
var candidates = el.querySelectorAll(candidateSelectors);
|
4687
5235
|
|
5236
|
+
if (options.includeContainer) {
|
5237
|
+
var matches = Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
5238
|
+
|
5239
|
+
if (
|
5240
|
+
candidateSelectors.some(function(candidateSelector) {
|
5241
|
+
return matches.call(el, candidateSelector);
|
5242
|
+
})
|
5243
|
+
) {
|
5244
|
+
candidates = Array.prototype.slice.apply(candidates);
|
5245
|
+
candidates.unshift(el);
|
5246
|
+
}
|
5247
|
+
}
|
5248
|
+
|
4688
5249
|
var candidate, candidateIndex;
|
4689
5250
|
for (var i = 0, l = candidates.length; i < l; i++) {
|
4690
5251
|
candidate = candidates[i];
|
@@ -4694,7 +5255,7 @@ module.exports = function(el) {
|
|
4694
5255
|
candidateIndex < 0
|
4695
5256
|
|| (candidate.tagName === 'INPUT' && candidate.type === 'hidden')
|
4696
5257
|
|| candidate.disabled
|
4697
|
-
|| isUnavailable(candidate)
|
5258
|
+
|| isUnavailable(candidate, elementDocument)
|
4698
5259
|
) {
|
4699
5260
|
continue;
|
4700
5261
|
}
|
@@ -4703,6 +5264,7 @@ module.exports = function(el) {
|
|
4703
5264
|
basicTabbables.push(candidate);
|
4704
5265
|
} else {
|
4705
5266
|
orderedTabbables.push({
|
5267
|
+
index: i,
|
4706
5268
|
tabIndex: candidateIndex,
|
4707
5269
|
node: candidate,
|
4708
5270
|
});
|
@@ -4711,7 +5273,7 @@ module.exports = function(el) {
|
|
4711
5273
|
|
4712
5274
|
var tabbableNodes = orderedTabbables
|
4713
5275
|
.sort(function(a, b) {
|
4714
|
-
return a.tabIndex - b.tabIndex;
|
5276
|
+
return a.tabIndex === b.tabIndex ? a.index - b.index : a.tabIndex - b.tabIndex;
|
4715
5277
|
})
|
4716
5278
|
.map(function(a) {
|
4717
5279
|
return a.node
|
@@ -4722,7 +5284,7 @@ module.exports = function(el) {
|
|
4722
5284
|
return tabbableNodes;
|
4723
5285
|
}
|
4724
5286
|
|
4725
|
-
function createIsUnavailable() {
|
5287
|
+
function createIsUnavailable(elementDocument) {
|
4726
5288
|
// Node cache must be refreshed on every check, in case
|
4727
5289
|
// the content of the element has changed
|
4728
5290
|
var isOffCache = [];
|
@@ -4733,14 +5295,14 @@ function createIsUnavailable() {
|
|
4733
5295
|
// "off" state, so we need to recursively check parents.
|
4734
5296
|
|
4735
5297
|
function isOff(node, nodeComputedStyle) {
|
4736
|
-
if (node ===
|
5298
|
+
if (node === elementDocument.documentElement) return false;
|
4737
5299
|
|
4738
5300
|
// Find the cached node (Array.prototype.find not available in IE9)
|
4739
5301
|
for (var i = 0, length = isOffCache.length; i < length; i++) {
|
4740
5302
|
if (isOffCache[i][0] === node) return isOffCache[i][1];
|
4741
5303
|
}
|
4742
5304
|
|
4743
|
-
nodeComputedStyle = nodeComputedStyle ||
|
5305
|
+
nodeComputedStyle = nodeComputedStyle || elementDocument.defaultView.getComputedStyle(node);
|
4744
5306
|
|
4745
5307
|
var result = false;
|
4746
5308
|
|
@@ -4756,9 +5318,9 @@ function createIsUnavailable() {
|
|
4756
5318
|
}
|
4757
5319
|
|
4758
5320
|
return function isUnavailable(node) {
|
4759
|
-
if (node ===
|
5321
|
+
if (node === elementDocument.documentElement) return false;
|
4760
5322
|
|
4761
|
-
var computedStyle =
|
5323
|
+
var computedStyle = elementDocument.defaultView.getComputedStyle(node);
|
4762
5324
|
|
4763
5325
|
if (isOff(node, computedStyle)) return true;
|
4764
5326
|
|
@@ -4768,16 +5330,16 @@ function createIsUnavailable() {
|
|
4768
5330
|
|
4769
5331
|
|
4770
5332
|
/***/ }),
|
4771
|
-
/*
|
5333
|
+
/* 36 */
|
4772
5334
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4773
5335
|
|
4774
5336
|
"use strict";
|
4775
5337
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
4776
5338
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(8);
|
4777
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__temporary__ = __webpack_require__(
|
5339
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__temporary__ = __webpack_require__(37);
|
4778
5340
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTemporaryDrawer", function() { return __WEBPACK_IMPORTED_MODULE_1__temporary__["a"]; });
|
4779
5341
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTemporaryDrawerFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__temporary__["b"]; });
|
4780
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__persistent__ = __webpack_require__(
|
5342
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__persistent__ = __webpack_require__(42);
|
4781
5343
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCPersistentDrawer", function() { return __WEBPACK_IMPORTED_MODULE_2__persistent__["a"]; });
|
4782
5344
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCPersistentDrawerFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__persistent__["b"]; });
|
4783
5345
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "util", function() { return __WEBPACK_IMPORTED_MODULE_0__util__; });
|
@@ -4803,13 +5365,13 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
4803
5365
|
|
4804
5366
|
|
4805
5367
|
/***/ }),
|
4806
|
-
/*
|
5368
|
+
/* 37 */
|
4807
5369
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4808
5370
|
|
4809
5371
|
"use strict";
|
4810
5372
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCTemporaryDrawer; });
|
4811
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
4812
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
5373
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
5374
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(38);
|
4813
5375
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(8);
|
4814
5376
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
4815
5377
|
/* unused harmony reexport util */
|
@@ -4974,12 +5536,12 @@ var MDCTemporaryDrawer = function (_MDCComponent) {
|
|
4974
5536
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
4975
5537
|
|
4976
5538
|
/***/ }),
|
4977
|
-
/*
|
5539
|
+
/* 38 */
|
4978
5540
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4979
5541
|
|
4980
5542
|
"use strict";
|
4981
5543
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__slidable__ = __webpack_require__(6);
|
4982
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
5544
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(41);
|
4983
5545
|
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; };
|
4984
5546
|
|
4985
5547
|
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); } };
|
@@ -5130,7 +5692,7 @@ var MDCTemporaryDrawerFoundation = function (_MDCSlidableDrawerFou) {
|
|
5130
5692
|
/* harmony default export */ __webpack_exports__["a"] = (MDCTemporaryDrawerFoundation);
|
5131
5693
|
|
5132
5694
|
/***/ }),
|
5133
|
-
/*
|
5695
|
+
/* 39 */
|
5134
5696
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5135
5697
|
|
5136
5698
|
"use strict";
|
@@ -5154,12 +5716,12 @@ var MDCTemporaryDrawerFoundation = function (_MDCSlidableDrawerFou) {
|
|
5154
5716
|
var FOCUSABLE_ELEMENTS = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), ' + 'button:not([disabled]), iframe, object, embed, [tabindex], [contenteditable]';
|
5155
5717
|
|
5156
5718
|
/***/ }),
|
5157
|
-
/*
|
5719
|
+
/* 40 */
|
5158
5720
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5159
5721
|
|
5160
5722
|
"use strict";
|
5161
5723
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCSlidableDrawerFoundation; });
|
5162
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
5724
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
5163
5725
|
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; };
|
5164
5726
|
|
5165
5727
|
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; }; }();
|
@@ -5465,7 +6027,7 @@ var MDCSlidableDrawerFoundation = function (_MDCFoundation) {
|
|
5465
6027
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCFoundation"]);
|
5466
6028
|
|
5467
6029
|
/***/ }),
|
5468
|
-
/*
|
6030
|
+
/* 41 */
|
5469
6031
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5470
6032
|
|
5471
6033
|
"use strict";
|
@@ -5506,13 +6068,13 @@ var strings = {
|
|
5506
6068
|
};
|
5507
6069
|
|
5508
6070
|
/***/ }),
|
5509
|
-
/*
|
6071
|
+
/* 42 */
|
5510
6072
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5511
6073
|
|
5512
6074
|
"use strict";
|
5513
6075
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCPersistentDrawer; });
|
5514
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
5515
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
6076
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
6077
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(43);
|
5516
6078
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(8);
|
5517
6079
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
5518
6080
|
/* unused harmony reexport util */
|
@@ -5664,12 +6226,12 @@ var MDCPersistentDrawer = function (_MDCComponent) {
|
|
5664
6226
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
5665
6227
|
|
5666
6228
|
/***/ }),
|
5667
|
-
/*
|
6229
|
+
/* 43 */
|
5668
6230
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5669
6231
|
|
5670
6232
|
"use strict";
|
5671
6233
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__slidable__ = __webpack_require__(6);
|
5672
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
6234
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(44);
|
5673
6235
|
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; };
|
5674
6236
|
|
5675
6237
|
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; }; }();
|
@@ -5742,7 +6304,7 @@ var MDCPersistentDrawerFoundation = function (_MDCSlidableDrawerFou) {
|
|
5742
6304
|
/* harmony default export */ __webpack_exports__["a"] = (MDCPersistentDrawerFoundation);
|
5743
6305
|
|
5744
6306
|
/***/ }),
|
5745
|
-
/*
|
6307
|
+
/* 44 */
|
5746
6308
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5747
6309
|
|
5748
6310
|
"use strict";
|
@@ -5781,14 +6343,14 @@ var strings = {
|
|
5781
6343
|
};
|
5782
6344
|
|
5783
6345
|
/***/ }),
|
5784
|
-
/*
|
6346
|
+
/* 45 */
|
5785
6347
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5786
6348
|
|
5787
6349
|
"use strict";
|
5788
6350
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
5789
6351
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCFormField", function() { return MDCFormField; });
|
5790
6352
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
5791
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
6353
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(46);
|
5792
6354
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_selection_control__ = __webpack_require__(3);
|
5793
6355
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCFormFieldFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
5794
6356
|
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; }; }();
|
@@ -5915,13 +6477,13 @@ var MDCFormField = function (_MDCComponent) {
|
|
5915
6477
|
|
5916
6478
|
|
5917
6479
|
/***/ }),
|
5918
|
-
/*
|
6480
|
+
/* 46 */
|
5919
6481
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5920
6482
|
|
5921
6483
|
"use strict";
|
5922
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
5923
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(
|
5924
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(
|
6484
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
6485
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(47);
|
6486
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(48);
|
5925
6487
|
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; };
|
5926
6488
|
|
5927
6489
|
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; }; }();
|
@@ -6033,7 +6595,7 @@ var MDCFormFieldFoundation = function (_MDCFoundation) {
|
|
6033
6595
|
/* harmony default export */ __webpack_exports__["a"] = (MDCFormFieldFoundation);
|
6034
6596
|
|
6035
6597
|
/***/ }),
|
6036
|
-
/*
|
6598
|
+
/* 47 */
|
6037
6599
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6038
6600
|
|
6039
6601
|
"use strict";
|
@@ -6111,7 +6673,7 @@ var MDCFormFieldAdapter = function () {
|
|
6111
6673
|
/* unused harmony default export */ var _unused_webpack_default_export = (MDCFormFieldAdapter);
|
6112
6674
|
|
6113
6675
|
/***/ }),
|
6114
|
-
/*
|
6676
|
+
/* 48 */
|
6115
6677
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6116
6678
|
|
6117
6679
|
"use strict";
|
@@ -6147,14 +6709,14 @@ var strings = {
|
|
6147
6709
|
|
6148
6710
|
|
6149
6711
|
/***/ }),
|
6150
|
-
/*
|
6712
|
+
/* 49 */
|
6151
6713
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6152
6714
|
|
6153
6715
|
"use strict";
|
6154
6716
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
6155
6717
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCGridList", function() { return MDCGridList; });
|
6156
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
6157
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
6718
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
6719
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(50);
|
6158
6720
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCGridListFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
6159
6721
|
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; }; }();
|
6160
6722
|
|
@@ -6232,12 +6794,12 @@ var MDCGridList = function (_MDCComponent) {
|
|
6232
6794
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
6233
6795
|
|
6234
6796
|
/***/ }),
|
6235
|
-
/*
|
6797
|
+
/* 50 */
|
6236
6798
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6237
6799
|
|
6238
6800
|
"use strict";
|
6239
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
6240
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
6801
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
6802
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(51);
|
6241
6803
|
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; };
|
6242
6804
|
|
6243
6805
|
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; }; }();
|
@@ -6353,7 +6915,7 @@ var MDCGridListFoundation = function (_MDCFoundation) {
|
|
6353
6915
|
/* harmony default export */ __webpack_exports__["a"] = (MDCGridListFoundation);
|
6354
6916
|
|
6355
6917
|
/***/ }),
|
6356
|
-
/*
|
6918
|
+
/* 51 */
|
6357
6919
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6358
6920
|
|
6359
6921
|
"use strict";
|
@@ -6379,14 +6941,14 @@ var strings = {
|
|
6379
6941
|
};
|
6380
6942
|
|
6381
6943
|
/***/ }),
|
6382
|
-
/*
|
6944
|
+
/* 52 */
|
6383
6945
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6384
6946
|
|
6385
6947
|
"use strict";
|
6386
6948
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
6387
6949
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCIconToggle", function() { return MDCIconToggle; });
|
6388
6950
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
6389
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
6951
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(53);
|
6390
6952
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ripple__ = __webpack_require__(4);
|
6391
6953
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCIconToggleFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
6392
6954
|
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; };
|
@@ -6607,13 +7169,13 @@ var MDCIconToggle = function (_MDCComponent) {
|
|
6607
7169
|
|
6608
7170
|
|
6609
7171
|
/***/ }),
|
6610
|
-
/*
|
7172
|
+
/* 53 */
|
6611
7173
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6612
7174
|
|
6613
7175
|
"use strict";
|
6614
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
6615
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(
|
6616
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(
|
7176
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
7177
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(54);
|
7178
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(55);
|
6617
7179
|
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; };
|
6618
7180
|
|
6619
7181
|
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; }; }();
|
@@ -6925,7 +7487,7 @@ IconToggleState.prototype.cssClass;
|
|
6925
7487
|
/* harmony default export */ __webpack_exports__["a"] = (MDCIconToggleFoundation);
|
6926
7488
|
|
6927
7489
|
/***/ }),
|
6928
|
-
/*
|
7490
|
+
/* 54 */
|
6929
7491
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6930
7492
|
|
6931
7493
|
"use strict";
|
@@ -7072,7 +7634,7 @@ var IconToggleEvent = void 0;
|
|
7072
7634
|
|
7073
7635
|
|
7074
7636
|
/***/ }),
|
7075
|
-
/*
|
7637
|
+
/* 55 */
|
7076
7638
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7077
7639
|
|
7078
7640
|
"use strict";
|
@@ -7114,14 +7676,14 @@ var strings = {
|
|
7114
7676
|
|
7115
7677
|
|
7116
7678
|
/***/ }),
|
7117
|
-
/*
|
7679
|
+
/* 56 */
|
7118
7680
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7119
7681
|
|
7120
7682
|
"use strict";
|
7121
7683
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
7122
7684
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCLinearProgress", function() { return MDCLinearProgress; });
|
7123
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
7124
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
7685
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
7686
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(57);
|
7125
7687
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCLinearProgressFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
7126
7688
|
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; }; }();
|
7127
7689
|
|
@@ -7228,13 +7790,13 @@ var MDCLinearProgress = function (_MDCComponent) {
|
|
7228
7790
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
7229
7791
|
|
7230
7792
|
/***/ }),
|
7231
|
-
/*
|
7793
|
+
/* 57 */
|
7232
7794
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7233
7795
|
|
7234
7796
|
"use strict";
|
7235
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
7797
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
7236
7798
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_animation__ = __webpack_require__(5);
|
7237
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(
|
7799
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(58);
|
7238
7800
|
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; };
|
7239
7801
|
|
7240
7802
|
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; }; }();
|
@@ -7372,7 +7934,7 @@ var MDCLinearProgressFoundation = function (_MDCFoundation) {
|
|
7372
7934
|
/* harmony default export */ __webpack_exports__["a"] = (MDCLinearProgressFoundation);
|
7373
7935
|
|
7374
7936
|
/***/ }),
|
7375
|
-
/*
|
7937
|
+
/* 58 */
|
7376
7938
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7377
7939
|
|
7378
7940
|
"use strict";
|
@@ -7406,13 +7968,13 @@ var strings = {
|
|
7406
7968
|
};
|
7407
7969
|
|
7408
7970
|
/***/ }),
|
7409
|
-
/*
|
7971
|
+
/* 59 */
|
7410
7972
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7411
7973
|
|
7412
7974
|
"use strict";
|
7413
7975
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCSimpleMenu; });
|
7414
7976
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
7415
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
7977
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(60);
|
7416
7978
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(10);
|
7417
7979
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
7418
7980
|
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; }; }();
|
@@ -7666,13 +8228,13 @@ var MDCSimpleMenu = function (_MDCComponent) {
|
|
7666
8228
|
|
7667
8229
|
|
7668
8230
|
/***/ }),
|
7669
|
-
/*
|
8231
|
+
/* 60 */
|
7670
8232
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7671
8233
|
|
7672
8234
|
"use strict";
|
7673
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
7674
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(
|
7675
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(
|
8235
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
8236
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(61);
|
8237
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(62);
|
7676
8238
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util__ = __webpack_require__(10);
|
7677
8239
|
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; };
|
7678
8240
|
|
@@ -8300,7 +8862,7 @@ var MDCSimpleMenuFoundation = function (_MDCFoundation) {
|
|
8300
8862
|
/* harmony default export */ __webpack_exports__["a"] = (MDCSimpleMenuFoundation);
|
8301
8863
|
|
8302
8864
|
/***/ }),
|
8303
|
-
/*
|
8865
|
+
/* 61 */
|
8304
8866
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8305
8867
|
|
8306
8868
|
"use strict";
|
@@ -8565,7 +9127,7 @@ var MDCSimpleMenuAdapter = function () {
|
|
8565
9127
|
/* unused harmony default export */ var _unused_webpack_default_export = (MDCSimpleMenuAdapter);
|
8566
9128
|
|
8567
9129
|
/***/ }),
|
8568
|
-
/*
|
9130
|
+
/* 62 */
|
8569
9131
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8570
9132
|
|
8571
9133
|
"use strict";
|
@@ -8629,7 +9191,7 @@ var numbers = {
|
|
8629
9191
|
|
8630
9192
|
|
8631
9193
|
/***/ }),
|
8632
|
-
/*
|
9194
|
+
/* 63 */
|
8633
9195
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8634
9196
|
|
8635
9197
|
"use strict";
|
@@ -8637,7 +9199,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
8637
9199
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCRadio", function() { return MDCRadio; });
|
8638
9200
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
8639
9201
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_selection_control__ = __webpack_require__(3);
|
8640
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
9202
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(64);
|
8641
9203
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__material_ripple__ = __webpack_require__(4);
|
8642
9204
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCRadioFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
8643
9205
|
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; };
|
@@ -8851,14 +9413,14 @@ var MDCRadio = function (_MDCComponent) {
|
|
8851
9413
|
|
8852
9414
|
|
8853
9415
|
/***/ }),
|
8854
|
-
/*
|
9416
|
+
/* 64 */
|
8855
9417
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8856
9418
|
|
8857
9419
|
"use strict";
|
8858
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
9420
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
8859
9421
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_selection_control__ = __webpack_require__(3);
|
8860
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__adapter__ = __webpack_require__(
|
8861
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constants__ = __webpack_require__(
|
9422
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__adapter__ = __webpack_require__(65);
|
9423
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constants__ = __webpack_require__(66);
|
8862
9424
|
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; }; }();
|
8863
9425
|
|
8864
9426
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
@@ -9010,7 +9572,7 @@ var MDCRadioFoundation = function (_MDCFoundation) {
|
|
9010
9572
|
/* harmony default export */ __webpack_exports__["a"] = (MDCRadioFoundation);
|
9011
9573
|
|
9012
9574
|
/***/ }),
|
9013
|
-
/*
|
9575
|
+
/* 65 */
|
9014
9576
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9015
9577
|
|
9016
9578
|
"use strict";
|
@@ -9087,7 +9649,7 @@ var MDCRadioAdapter = function () {
|
|
9087
9649
|
/* unused harmony default export */ var _unused_webpack_default_export = (MDCRadioAdapter);
|
9088
9650
|
|
9089
9651
|
/***/ }),
|
9090
|
-
/*
|
9652
|
+
/* 66 */
|
9091
9653
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9092
9654
|
|
9093
9655
|
"use strict";
|
@@ -9124,15 +9686,15 @@ var cssClasses = {
|
|
9124
9686
|
|
9125
9687
|
|
9126
9688
|
/***/ }),
|
9127
|
-
/*
|
9689
|
+
/* 67 */
|
9128
9690
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9129
9691
|
|
9130
9692
|
"use strict";
|
9131
9693
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
9132
9694
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSelect", function() { return MDCSelect; });
|
9133
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
9695
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
9134
9696
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_menu__ = __webpack_require__(9);
|
9135
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
9697
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(68);
|
9136
9698
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSelectFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
9137
9699
|
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; }; }();
|
9138
9700
|
|
@@ -9296,6 +9858,12 @@ var MDCSelect = function (_MDCComponent) {
|
|
9296
9858
|
},
|
9297
9859
|
getWindowInnerHeight: function getWindowInnerHeight() {
|
9298
9860
|
return window.innerHeight;
|
9861
|
+
},
|
9862
|
+
addBodyClass: function addBodyClass(className) {
|
9863
|
+
return document.body.classList.add(className);
|
9864
|
+
},
|
9865
|
+
removeBodyClass: function removeBodyClass(className) {
|
9866
|
+
return document.body.classList.remove(className);
|
9299
9867
|
}
|
9300
9868
|
});
|
9301
9869
|
}
|
@@ -9354,12 +9922,12 @@ var MDCSelect = function (_MDCComponent) {
|
|
9354
9922
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
9355
9923
|
|
9356
9924
|
/***/ }),
|
9357
|
-
/*
|
9925
|
+
/* 68 */
|
9358
9926
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9359
9927
|
|
9360
9928
|
"use strict";
|
9361
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
9362
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
9929
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
9930
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(69);
|
9363
9931
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_menu__ = __webpack_require__(9);
|
9364
9932
|
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; };
|
9365
9933
|
|
@@ -9412,6 +9980,8 @@ var MDCSelectFoundation = function (_MDCFoundation) {
|
|
9412
9980
|
return {
|
9413
9981
|
addClass: function addClass() /* className: string */{},
|
9414
9982
|
removeClass: function removeClass() /* className: string */{},
|
9983
|
+
addBodyClass: function addBodyClass() /* className: string */{},
|
9984
|
+
removeBodyClass: function removeBodyClass() /* className: string */{},
|
9415
9985
|
setAttr: function setAttr() /* attr: string, value: string */{},
|
9416
9986
|
rmAttr: function rmAttr() /* attr: string */{},
|
9417
9987
|
computeBoundingRect: function computeBoundingRect() {
|
@@ -9609,6 +10179,7 @@ var MDCSelectFoundation = function (_MDCFoundation) {
|
|
9609
10179
|
}, {
|
9610
10180
|
key: 'open_',
|
9611
10181
|
value: function open_() {
|
10182
|
+
this.disableScroll_();
|
9612
10183
|
var OPEN = MDCSelectFoundation.cssClasses.OPEN;
|
9613
10184
|
|
9614
10185
|
var focusIndex = this.selectedIndex_ < 0 ? 0 : this.selectedIndex_;
|
@@ -9653,6 +10224,7 @@ var MDCSelectFoundation = function (_MDCFoundation) {
|
|
9653
10224
|
|
9654
10225
|
this.adapter_.removeClass(OPEN);
|
9655
10226
|
this.adapter_.focus();
|
10227
|
+
this.enableScroll_();
|
9656
10228
|
}
|
9657
10229
|
}, {
|
9658
10230
|
key: 'handleDisplayViaKeyboard_',
|
@@ -9681,6 +10253,16 @@ var MDCSelectFoundation = function (_MDCFoundation) {
|
|
9681
10253
|
this.displayHandler_(evt);
|
9682
10254
|
}
|
9683
10255
|
}
|
10256
|
+
}, {
|
10257
|
+
key: 'disableScroll_',
|
10258
|
+
value: function disableScroll_() {
|
10259
|
+
this.adapter_.addBodyClass(__WEBPACK_IMPORTED_MODULE_1__constants__["a" /* cssClasses */].SCROLL_LOCK);
|
10260
|
+
}
|
10261
|
+
}, {
|
10262
|
+
key: 'enableScroll_',
|
10263
|
+
value: function enableScroll_() {
|
10264
|
+
this.adapter_.removeBodyClass(__WEBPACK_IMPORTED_MODULE_1__constants__["a" /* cssClasses */].SCROLL_LOCK);
|
10265
|
+
}
|
9684
10266
|
}]);
|
9685
10267
|
|
9686
10268
|
return MDCSelectFoundation;
|
@@ -9689,7 +10271,7 @@ var MDCSelectFoundation = function (_MDCFoundation) {
|
|
9689
10271
|
/* harmony default export */ __webpack_exports__["a"] = (MDCSelectFoundation);
|
9690
10272
|
|
9691
10273
|
/***/ }),
|
9692
|
-
/*
|
10274
|
+
/* 69 */
|
9693
10275
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9694
10276
|
|
9695
10277
|
"use strict";
|
@@ -9713,7 +10295,8 @@ var MDCSelectFoundation = function (_MDCFoundation) {
|
|
9713
10295
|
var cssClasses = {
|
9714
10296
|
ROOT: 'mdc-select',
|
9715
10297
|
OPEN: 'mdc-select--open',
|
9716
|
-
DISABLED: 'mdc-select--disabled'
|
10298
|
+
DISABLED: 'mdc-select--disabled',
|
10299
|
+
SCROLL_LOCK: 'mdc-select-scroll-lock'
|
9717
10300
|
};
|
9718
10301
|
|
9719
10302
|
var strings = {
|
@@ -9721,15 +10304,15 @@ var strings = {
|
|
9721
10304
|
};
|
9722
10305
|
|
9723
10306
|
/***/ }),
|
9724
|
-
/*
|
10307
|
+
/* 70 */
|
9725
10308
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9726
10309
|
|
9727
10310
|
"use strict";
|
9728
10311
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
9729
10312
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSlider", function() { return MDCSlider; });
|
9730
10313
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
9731
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
9732
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(
|
10314
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(13);
|
10315
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(71);
|
9733
10316
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSliderFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__foundation__["a"]; });
|
9734
10317
|
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; }; }();
|
9735
10318
|
|
@@ -9953,13 +10536,13 @@ var MDCSlider = function (_MDCComponent) {
|
|
9953
10536
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base_component__["a" /* default */]);
|
9954
10537
|
|
9955
10538
|
/***/ }),
|
9956
|
-
/*
|
10539
|
+
/* 71 */
|
9957
10540
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9958
10541
|
|
9959
10542
|
"use strict";
|
9960
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__constants__ = __webpack_require__(
|
10543
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__constants__ = __webpack_require__(13);
|
9961
10544
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_animation__ = __webpack_require__(5);
|
9962
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_base_foundation__ = __webpack_require__(
|
10545
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_base_foundation__ = __webpack_require__(0);
|
9963
10546
|
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; };
|
9964
10547
|
|
9965
10548
|
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; }; }();
|
@@ -10360,35 +10943,32 @@ var MDCSliderFoundation = function (_MDCFoundation) {
|
|
10360
10943
|
}, {
|
10361
10944
|
key: 'getKeyId_',
|
10362
10945
|
value: function getKeyId_(kbdEvt) {
|
10363
|
-
|
10364
|
-
|
10365
|
-
|
10366
|
-
|
10367
|
-
|
10368
|
-
|
10369
|
-
|
10370
|
-
|
10371
|
-
|
10372
|
-
|
10373
|
-
|
10374
|
-
|
10375
|
-
|
10376
|
-
|
10377
|
-
|
10378
|
-
|
10379
|
-
|
10380
|
-
case 35:
|
10381
|
-
return KEY_IDS.END;
|
10382
|
-
case KEY_IDS.PAGE_UP:
|
10383
|
-
case 33:
|
10384
|
-
return KEY_IDS.PAGE_UP;
|
10385
|
-
case KEY_IDS.PAGE_DOWN:
|
10386
|
-
case 34:
|
10387
|
-
return KEY_IDS.PAGE_DOWN;
|
10388
|
-
default:
|
10389
|
-
// Doesn't matter
|
10390
|
-
return '';
|
10946
|
+
if (kbdEvt.key === KEY_IDS.ARROW_LEFT || kbdEvt.keyCode === 37) {
|
10947
|
+
return KEY_IDS.ARROW_LEFT;
|
10948
|
+
}
|
10949
|
+
if (kbdEvt.key === KEY_IDS.ARROW_RIGHT || kbdEvt.keyCode === 39) {
|
10950
|
+
return KEY_IDS.ARROW_RIGHT;
|
10951
|
+
}
|
10952
|
+
if (kbdEvt.key === KEY_IDS.ARROW_UP || kbdEvt.keyCode === 38) {
|
10953
|
+
return KEY_IDS.ARROW_UP;
|
10954
|
+
}
|
10955
|
+
if (kbdEvt.key === KEY_IDS.ARROW_DOWN || kbdEvt.keyCode === 40) {
|
10956
|
+
return KEY_IDS.ARROW_DOWN;
|
10957
|
+
}
|
10958
|
+
if (kbdEvt.key === KEY_IDS.HOME || kbdEvt.keyCode === 36) {
|
10959
|
+
return KEY_IDS.HOME;
|
10960
|
+
}
|
10961
|
+
if (kbdEvt.key === KEY_IDS.END || kbdEvt.keyCode === 35) {
|
10962
|
+
return KEY_IDS.END;
|
10391
10963
|
}
|
10964
|
+
if (kbdEvt.key === KEY_IDS.PAGE_UP || kbdEvt.keyCode === 33) {
|
10965
|
+
return KEY_IDS.PAGE_UP;
|
10966
|
+
}
|
10967
|
+
if (kbdEvt.key === KEY_IDS.PAGE_DOWN || kbdEvt.keyCode === 34) {
|
10968
|
+
return KEY_IDS.PAGE_DOWN;
|
10969
|
+
}
|
10970
|
+
|
10971
|
+
return '';
|
10392
10972
|
}
|
10393
10973
|
}, {
|
10394
10974
|
key: 'getValueForKeyId_',
|
@@ -10539,14 +11119,14 @@ var MDCSliderFoundation = function (_MDCFoundation) {
|
|
10539
11119
|
/* harmony default export */ __webpack_exports__["a"] = (MDCSliderFoundation);
|
10540
11120
|
|
10541
11121
|
/***/ }),
|
10542
|
-
/*
|
11122
|
+
/* 72 */
|
10543
11123
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10544
11124
|
|
10545
11125
|
"use strict";
|
10546
11126
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
10547
11127
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSnackbar", function() { return MDCSnackbar; });
|
10548
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
10549
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
11128
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
11129
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(73);
|
10550
11130
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_animation__ = __webpack_require__(5);
|
10551
11131
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCSnackbarFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
10552
11132
|
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; }; }();
|
@@ -10692,12 +11272,12 @@ var MDCSnackbar = function (_MDCComponent) {
|
|
10692
11272
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
10693
11273
|
|
10694
11274
|
/***/ }),
|
10695
|
-
/*
|
11275
|
+
/* 73 */
|
10696
11276
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10697
11277
|
|
10698
11278
|
"use strict";
|
10699
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
10700
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
11279
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
11280
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(74);
|
10701
11281
|
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; };
|
10702
11282
|
|
10703
11283
|
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; }; }();
|
@@ -10993,7 +11573,7 @@ var MDCSnackbarFoundation = function (_MDCFoundation) {
|
|
10993
11573
|
/* harmony default export */ __webpack_exports__["a"] = (MDCSnackbarFoundation);
|
10994
11574
|
|
10995
11575
|
/***/ }),
|
10996
|
-
/*
|
11576
|
+
/* 74 */
|
10997
11577
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10998
11578
|
|
10999
11579
|
"use strict";
|
@@ -11036,18 +11616,18 @@ var numbers = {
|
|
11036
11616
|
};
|
11037
11617
|
|
11038
11618
|
/***/ }),
|
11039
|
-
/*
|
11619
|
+
/* 75 */
|
11040
11620
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11041
11621
|
|
11042
11622
|
"use strict";
|
11043
11623
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
11044
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__tab__ = __webpack_require__(
|
11624
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__tab__ = __webpack_require__(14);
|
11045
11625
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTabFoundation", function() { return __WEBPACK_IMPORTED_MODULE_0__tab__["b"]; });
|
11046
11626
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTab", function() { return __WEBPACK_IMPORTED_MODULE_0__tab__["a"]; });
|
11047
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__tab_bar__ = __webpack_require__(
|
11627
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__tab_bar__ = __webpack_require__(16);
|
11048
11628
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTabBarFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__tab_bar__["b"]; });
|
11049
11629
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTabBar", function() { return __WEBPACK_IMPORTED_MODULE_1__tab_bar__["a"]; });
|
11050
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tab_bar_scroller__ = __webpack_require__(
|
11630
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tab_bar_scroller__ = __webpack_require__(79);
|
11051
11631
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTabBarScrollerFoundation", function() { return __WEBPACK_IMPORTED_MODULE_2__tab_bar_scroller__["b"]; });
|
11052
11632
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTabBarScroller", function() { return __WEBPACK_IMPORTED_MODULE_2__tab_bar_scroller__["a"]; });
|
11053
11633
|
/**
|
@@ -11071,12 +11651,12 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
11071
11651
|
|
11072
11652
|
|
11073
11653
|
/***/ }),
|
11074
|
-
/*
|
11654
|
+
/* 76 */
|
11075
11655
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11076
11656
|
|
11077
11657
|
"use strict";
|
11078
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
11079
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
11658
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
11659
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(15);
|
11080
11660
|
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; };
|
11081
11661
|
|
11082
11662
|
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; }; }();
|
@@ -11228,13 +11808,13 @@ var MDCTabFoundation = function (_MDCFoundation) {
|
|
11228
11808
|
/* harmony default export */ __webpack_exports__["a"] = (MDCTabFoundation);
|
11229
11809
|
|
11230
11810
|
/***/ }),
|
11231
|
-
/*
|
11811
|
+
/* 77 */
|
11232
11812
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11233
11813
|
|
11234
11814
|
"use strict";
|
11235
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
11815
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
11236
11816
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_animation__ = __webpack_require__(5);
|
11237
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(
|
11817
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(78);
|
11238
11818
|
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; };
|
11239
11819
|
|
11240
11820
|
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; }; }();
|
@@ -11474,7 +12054,7 @@ var MDCTabBarFoundation = function (_MDCFoundation) {
|
|
11474
12054
|
/* harmony default export */ __webpack_exports__["a"] = (MDCTabBarFoundation);
|
11475
12055
|
|
11476
12056
|
/***/ }),
|
11477
|
-
/*
|
12057
|
+
/* 78 */
|
11478
12058
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11479
12059
|
|
11480
12060
|
"use strict";
|
@@ -11507,15 +12087,15 @@ var strings = {
|
|
11507
12087
|
};
|
11508
12088
|
|
11509
12089
|
/***/ }),
|
11510
|
-
/*
|
12090
|
+
/* 79 */
|
11511
12091
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11512
12092
|
|
11513
12093
|
"use strict";
|
11514
12094
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCTabBarScroller; });
|
11515
12095
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_animation__ = __webpack_require__(5);
|
11516
12096
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_base_component__ = __webpack_require__(2);
|
11517
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tab_bar__ = __webpack_require__(
|
11518
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__foundation__ = __webpack_require__(
|
12097
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tab_bar__ = __webpack_require__(16);
|
12098
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__foundation__ = __webpack_require__(80);
|
11519
12099
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__foundation__["a"]; });
|
11520
12100
|
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; }; }();
|
11521
12101
|
|
@@ -11678,12 +12258,12 @@ var MDCTabBarScroller = function (_MDCComponent) {
|
|
11678
12258
|
}(__WEBPACK_IMPORTED_MODULE_1__material_base_component__["a" /* default */]);
|
11679
12259
|
|
11680
12260
|
/***/ }),
|
11681
|
-
/*
|
12261
|
+
/* 80 */
|
11682
12262
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11683
12263
|
|
11684
12264
|
"use strict";
|
11685
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
11686
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
12265
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
12266
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(81);
|
11687
12267
|
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; };
|
11688
12268
|
|
11689
12269
|
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; }; }();
|
@@ -12031,7 +12611,7 @@ var MDCTabBarScrollerFoundation = function (_MDCFoundation) {
|
|
12031
12611
|
/* harmony default export */ __webpack_exports__["a"] = (MDCTabBarScrollerFoundation);
|
12032
12612
|
|
12033
12613
|
/***/ }),
|
12034
|
-
/*
|
12614
|
+
/* 81 */
|
12035
12615
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12036
12616
|
|
12037
12617
|
"use strict";
|
@@ -12069,7 +12649,7 @@ var strings = {
|
|
12069
12649
|
};
|
12070
12650
|
|
12071
12651
|
/***/ }),
|
12072
|
-
/*
|
12652
|
+
/* 82 */
|
12073
12653
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12074
12654
|
|
12075
12655
|
"use strict";
|
@@ -12077,9 +12657,11 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
12077
12657
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTextField", function() { return MDCTextField; });
|
12078
12658
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
12079
12659
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ripple__ = __webpack_require__(4);
|
12080
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(
|
12081
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__adapter__ = __webpack_require__(
|
12082
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__foundation__ = __webpack_require__(
|
12660
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants__ = __webpack_require__(17);
|
12661
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__adapter__ = __webpack_require__(18);
|
12662
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__foundation__ = __webpack_require__(85);
|
12663
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__bottom_line__ = __webpack_require__(86);
|
12664
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__helper_text__ = __webpack_require__(87);
|
12083
12665
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCTextFieldFoundation", function() { return __WEBPACK_IMPORTED_MODULE_4__foundation__["a"]; });
|
12084
12666
|
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; };
|
12085
12667
|
|
@@ -12117,6 +12699,8 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
12117
12699
|
|
12118
12700
|
|
12119
12701
|
|
12702
|
+
|
12703
|
+
|
12120
12704
|
/**
|
12121
12705
|
* @extends {MDCComponent<!MDCTextFieldFoundation>}
|
12122
12706
|
* @final
|
@@ -12143,12 +12727,12 @@ var MDCTextField = function (_MDCComponent) {
|
|
12143
12727
|
_this.input_;
|
12144
12728
|
/** @private {?Element} */
|
12145
12729
|
_this.label_;
|
12146
|
-
/** @type {?Element} */
|
12147
|
-
_this.helptextElement;
|
12148
12730
|
/** @type {?MDCRipple} */
|
12149
12731
|
_this.ripple;
|
12150
|
-
/** @private {?
|
12732
|
+
/** @private {?MDCTextFieldBottomLine} */
|
12151
12733
|
_this.bottomLine_;
|
12734
|
+
/** @private {?MDCTextFieldHelperText} */
|
12735
|
+
_this.helperText_;
|
12152
12736
|
/** @private {?Element} */
|
12153
12737
|
_this.icon_;
|
12154
12738
|
return _this;
|
@@ -12167,25 +12751,35 @@ var MDCTextField = function (_MDCComponent) {
|
|
12167
12751
|
/**
|
12168
12752
|
* @param {(function(!Element): !MDCRipple)=} rippleFactory A function which
|
12169
12753
|
* creates a new MDCRipple.
|
12754
|
+
* @param {(function(!Element): !MDCTextFieldBottomLine)=} bottomLineFactory A function which
|
12755
|
+
* creates a new MDCTextFieldBottomLine.
|
12170
12756
|
*/
|
12171
12757
|
value: function initialize() {
|
12172
12758
|
var rippleFactory = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function (el) {
|
12173
12759
|
return new __WEBPACK_IMPORTED_MODULE_1__material_ripple__["MDCRipple"](el);
|
12174
12760
|
};
|
12761
|
+
var bottomLineFactory = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function (el) {
|
12762
|
+
return new __WEBPACK_IMPORTED_MODULE_5__bottom_line__["a" /* MDCTextFieldBottomLine */](el);
|
12763
|
+
};
|
12175
12764
|
|
12176
12765
|
this.input_ = this.root_.querySelector(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].INPUT_SELECTOR);
|
12177
12766
|
this.label_ = this.root_.querySelector(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].LABEL_SELECTOR);
|
12178
|
-
this.helptextElement = null;
|
12179
12767
|
this.ripple = null;
|
12180
|
-
if (this.input_.hasAttribute('aria-controls')) {
|
12181
|
-
this.helptextElement = document.getElementById(this.input_.getAttribute('aria-controls'));
|
12182
|
-
}
|
12183
12768
|
if (this.root_.classList.contains(__WEBPACK_IMPORTED_MODULE_2__constants__["a" /* cssClasses */].BOX)) {
|
12184
12769
|
this.ripple = rippleFactory(this.root_);
|
12185
12770
|
};
|
12186
12771
|
if (!this.root_.classList.contains(__WEBPACK_IMPORTED_MODULE_2__constants__["a" /* cssClasses */].TEXTAREA)) {
|
12187
|
-
|
12772
|
+
var bottomLineElement = this.root_.querySelector(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].BOTTOM_LINE_SELECTOR);
|
12773
|
+
if (bottomLineElement) {
|
12774
|
+
this.bottomLine_ = bottomLineFactory(bottomLineElement);
|
12775
|
+
}
|
12188
12776
|
};
|
12777
|
+
if (this.input_.hasAttribute(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].ARIA_CONTROLS)) {
|
12778
|
+
var helperTextElement = document.getElementById(this.input_.getAttribute(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].ARIA_CONTROLS));
|
12779
|
+
if (helperTextElement) {
|
12780
|
+
this.helperText_ = new __WEBPACK_IMPORTED_MODULE_6__helper_text__["a" /* MDCTextFieldHelperText */](helperTextElement);
|
12781
|
+
}
|
12782
|
+
}
|
12189
12783
|
if (!this.root_.classList.contains(__WEBPACK_IMPORTED_MODULE_2__constants__["a" /* cssClasses */].TEXT_FIELD_ICON)) {
|
12190
12784
|
this.icon_ = this.root_.querySelector(__WEBPACK_IMPORTED_MODULE_2__constants__["b" /* strings */].ICON_SELECTOR);
|
12191
12785
|
};
|
@@ -12196,6 +12790,12 @@ var MDCTextField = function (_MDCComponent) {
|
|
12196
12790
|
if (this.ripple) {
|
12197
12791
|
this.ripple.destroy();
|
12198
12792
|
}
|
12793
|
+
if (this.bottomLine_) {
|
12794
|
+
this.bottomLine_.destroy();
|
12795
|
+
}
|
12796
|
+
if (this.helperText_) {
|
12797
|
+
this.helperText_.destroy();
|
12798
|
+
}
|
12199
12799
|
_get(MDCTextField.prototype.__proto__ || Object.getPrototypeOf(MDCTextField.prototype), 'destroy', this).call(this);
|
12200
12800
|
}
|
12201
12801
|
|
@@ -12254,8 +12854,30 @@ var MDCTextField = function (_MDCComponent) {
|
|
12254
12854
|
},
|
12255
12855
|
notifyIconAction: function notifyIconAction() {
|
12256
12856
|
return _this2.emit(__WEBPACK_IMPORTED_MODULE_4__foundation__["a" /* default */].strings.ICON_EVENT, {});
|
12857
|
+
},
|
12858
|
+
registerBottomLineEventHandler: function registerBottomLineEventHandler(evtType, handler) {
|
12859
|
+
if (_this2.bottomLine_) {
|
12860
|
+
_this2.bottomLine_.listen(evtType, handler);
|
12861
|
+
}
|
12862
|
+
},
|
12863
|
+
deregisterBottomLineEventHandler: function deregisterBottomLineEventHandler(evtType, handler) {
|
12864
|
+
if (_this2.bottomLine_) {
|
12865
|
+
_this2.bottomLine_.unlisten(evtType, handler);
|
12866
|
+
}
|
12867
|
+
},
|
12868
|
+
getBottomLineFoundation: function getBottomLineFoundation() {
|
12869
|
+
if (_this2.bottomLine_) {
|
12870
|
+
return _this2.bottomLine_.foundation;
|
12871
|
+
}
|
12872
|
+
return undefined;
|
12873
|
+
},
|
12874
|
+
getHelperTextFoundation: function getHelperTextFoundation() {
|
12875
|
+
if (_this2.helperText_) {
|
12876
|
+
return _this2.helperText_.foundation;
|
12877
|
+
}
|
12878
|
+
return undefined;
|
12257
12879
|
}
|
12258
|
-
}, this.getInputAdapterMethods_(), this.
|
12880
|
+
}, this.getInputAdapterMethods_(), this.getIconAdapterMethods_()));
|
12259
12881
|
}
|
12260
12882
|
|
12261
12883
|
/**
|
@@ -12278,50 +12900,6 @@ var MDCTextField = function (_MDCComponent) {
|
|
12278
12900
|
};
|
12279
12901
|
}
|
12280
12902
|
|
12281
|
-
/**
|
12282
|
-
* @return {!{
|
12283
|
-
* addClassToBottomLine: function(string): undefined,
|
12284
|
-
* removeClassFromBottomLine: function(string): undefined,
|
12285
|
-
* setBottomLineAttr: function(string, string): undefined,
|
12286
|
-
* registerTransitionEndHandler: function(function()): undefined,
|
12287
|
-
* deregisterTransitionEndHandler: function(function()): undefined,
|
12288
|
-
* }}
|
12289
|
-
*/
|
12290
|
-
|
12291
|
-
}, {
|
12292
|
-
key: 'getBottomLineAdapterMethods_',
|
12293
|
-
value: function getBottomLineAdapterMethods_() {
|
12294
|
-
var _this4 = this;
|
12295
|
-
|
12296
|
-
return {
|
12297
|
-
addClassToBottomLine: function addClassToBottomLine(className) {
|
12298
|
-
if (_this4.bottomLine_) {
|
12299
|
-
_this4.bottomLine_.classList.add(className);
|
12300
|
-
}
|
12301
|
-
},
|
12302
|
-
removeClassFromBottomLine: function removeClassFromBottomLine(className) {
|
12303
|
-
if (_this4.bottomLine_) {
|
12304
|
-
_this4.bottomLine_.classList.remove(className);
|
12305
|
-
}
|
12306
|
-
},
|
12307
|
-
setBottomLineAttr: function setBottomLineAttr(attr, value) {
|
12308
|
-
if (_this4.bottomLine_) {
|
12309
|
-
_this4.bottomLine_.setAttribute(attr, value);
|
12310
|
-
}
|
12311
|
-
},
|
12312
|
-
registerTransitionEndHandler: function registerTransitionEndHandler(handler) {
|
12313
|
-
if (_this4.bottomLine_) {
|
12314
|
-
_this4.bottomLine_.addEventListener('transitionend', handler);
|
12315
|
-
}
|
12316
|
-
},
|
12317
|
-
deregisterTransitionEndHandler: function deregisterTransitionEndHandler(handler) {
|
12318
|
-
if (_this4.bottomLine_) {
|
12319
|
-
_this4.bottomLine_.removeEventListener('transitionend', handler);
|
12320
|
-
}
|
12321
|
-
}
|
12322
|
-
};
|
12323
|
-
}
|
12324
|
-
|
12325
12903
|
/**
|
12326
12904
|
* @return {!{
|
12327
12905
|
* registerInputInteractionHandler: function(string, function()): undefined,
|
@@ -12333,62 +12911,17 @@ var MDCTextField = function (_MDCComponent) {
|
|
12333
12911
|
}, {
|
12334
12912
|
key: 'getInputAdapterMethods_',
|
12335
12913
|
value: function getInputAdapterMethods_() {
|
12336
|
-
var
|
12914
|
+
var _this4 = this;
|
12337
12915
|
|
12338
12916
|
return {
|
12339
12917
|
registerInputInteractionHandler: function registerInputInteractionHandler(evtType, handler) {
|
12340
|
-
return
|
12918
|
+
return _this4.input_.addEventListener(evtType, handler);
|
12341
12919
|
},
|
12342
12920
|
deregisterInputInteractionHandler: function deregisterInputInteractionHandler(evtType, handler) {
|
12343
|
-
return
|
12921
|
+
return _this4.input_.removeEventListener(evtType, handler);
|
12344
12922
|
},
|
12345
12923
|
getNativeInput: function getNativeInput() {
|
12346
|
-
return
|
12347
|
-
}
|
12348
|
-
};
|
12349
|
-
}
|
12350
|
-
|
12351
|
-
/**
|
12352
|
-
* @return {!{
|
12353
|
-
* addClassToHelptext: function(string): undefined,
|
12354
|
-
* removeClassFromHelptext: function(string): undefined,
|
12355
|
-
* helptextHasClass: function(string): boolean,
|
12356
|
-
* setHelptextAttr: function(string, string): undefined,
|
12357
|
-
* removeHelptextAttr: function(string): undefined,
|
12358
|
-
* }}
|
12359
|
-
*/
|
12360
|
-
|
12361
|
-
}, {
|
12362
|
-
key: 'getHelptextAdapterMethods_',
|
12363
|
-
value: function getHelptextAdapterMethods_() {
|
12364
|
-
var _this6 = this;
|
12365
|
-
|
12366
|
-
return {
|
12367
|
-
addClassToHelptext: function addClassToHelptext(className) {
|
12368
|
-
if (_this6.helptextElement) {
|
12369
|
-
_this6.helptextElement.classList.add(className);
|
12370
|
-
}
|
12371
|
-
},
|
12372
|
-
removeClassFromHelptext: function removeClassFromHelptext(className) {
|
12373
|
-
if (_this6.helptextElement) {
|
12374
|
-
_this6.helptextElement.classList.remove(className);
|
12375
|
-
}
|
12376
|
-
},
|
12377
|
-
helptextHasClass: function helptextHasClass(className) {
|
12378
|
-
if (!_this6.helptextElement) {
|
12379
|
-
return false;
|
12380
|
-
}
|
12381
|
-
return _this6.helptextElement.classList.contains(className);
|
12382
|
-
},
|
12383
|
-
setHelptextAttr: function setHelptextAttr(name, value) {
|
12384
|
-
if (_this6.helptextElement) {
|
12385
|
-
_this6.helptextElement.setAttribute(name, value);
|
12386
|
-
}
|
12387
|
-
},
|
12388
|
-
removeHelptextAttr: function removeHelptextAttr(name) {
|
12389
|
-
if (_this6.helptextElement) {
|
12390
|
-
_this6.helptextElement.removeAttribute(name);
|
12391
|
-
}
|
12924
|
+
return _this4.input_;
|
12392
12925
|
}
|
12393
12926
|
};
|
12394
12927
|
}
|
@@ -12415,6 +12948,17 @@ var MDCTextField = function (_MDCComponent) {
|
|
12415
12948
|
set: function set(valid) {
|
12416
12949
|
this.foundation_.setValid(valid);
|
12417
12950
|
}
|
12951
|
+
|
12952
|
+
/**
|
12953
|
+
* Sets the helper text element content.
|
12954
|
+
* @param {string} content
|
12955
|
+
*/
|
12956
|
+
|
12957
|
+
}, {
|
12958
|
+
key: 'helperTextContent',
|
12959
|
+
set: function set(content) {
|
12960
|
+
this.foundation_.setHelperTextContent(content);
|
12961
|
+
}
|
12418
12962
|
}], [{
|
12419
12963
|
key: 'attachTo',
|
12420
12964
|
value: function attachTo(root) {
|
@@ -12422,19 +12966,94 @@ var MDCTextField = function (_MDCComponent) {
|
|
12422
12966
|
}
|
12423
12967
|
}]);
|
12424
12968
|
|
12425
|
-
return MDCTextField;
|
12426
|
-
}(__WEBPACK_IMPORTED_MODULE_0__material_base_component__["a" /* default */]);
|
12969
|
+
return MDCTextField;
|
12970
|
+
}(__WEBPACK_IMPORTED_MODULE_0__material_base_component__["a" /* default */]);
|
12971
|
+
|
12972
|
+
|
12973
|
+
|
12974
|
+
/***/ }),
|
12975
|
+
/* 83 */
|
12976
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12977
|
+
|
12978
|
+
"use strict";
|
12979
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return strings; });
|
12980
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cssClasses; });
|
12981
|
+
/**
|
12982
|
+
* @license
|
12983
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
12984
|
+
*
|
12985
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
12986
|
+
* you may not use this file except in compliance with the License.
|
12987
|
+
* You may obtain a copy of the License at
|
12988
|
+
*
|
12989
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12990
|
+
*
|
12991
|
+
* Unless required by applicable law or agreed to in writing, software
|
12992
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12993
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12994
|
+
* See the License for the specific language governing permissions and
|
12995
|
+
* limitations under the License.
|
12996
|
+
*/
|
12997
|
+
|
12998
|
+
/** @enum {string} */
|
12999
|
+
var strings = {
|
13000
|
+
ANIMATION_END_EVENT: 'MDCTextFieldBottomLine:animation-end'
|
13001
|
+
};
|
13002
|
+
|
13003
|
+
/** @enum {string} */
|
13004
|
+
var cssClasses = {
|
13005
|
+
BOTTOM_LINE_ACTIVE: 'mdc-text-field__bottom-line--active'
|
13006
|
+
};
|
13007
|
+
|
13008
|
+
|
13009
|
+
|
13010
|
+
/***/ }),
|
13011
|
+
/* 84 */
|
13012
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13013
|
+
|
13014
|
+
"use strict";
|
13015
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return strings; });
|
13016
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cssClasses; });
|
13017
|
+
/**
|
13018
|
+
* @license
|
13019
|
+
* Copyright 2016 Google Inc. All Rights Reserved.
|
13020
|
+
*
|
13021
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
13022
|
+
* you may not use this file except in compliance with the License.
|
13023
|
+
* You may obtain a copy of the License at
|
13024
|
+
*
|
13025
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
13026
|
+
*
|
13027
|
+
* Unless required by applicable law or agreed to in writing, software
|
13028
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13029
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13030
|
+
* See the License for the specific language governing permissions and
|
13031
|
+
* limitations under the License.
|
13032
|
+
*/
|
13033
|
+
|
13034
|
+
/** @enum {string} */
|
13035
|
+
var strings = {
|
13036
|
+
ARIA_HIDDEN: 'aria-hidden',
|
13037
|
+
ROLE: 'role'
|
13038
|
+
};
|
13039
|
+
|
13040
|
+
/** @enum {string} */
|
13041
|
+
var cssClasses = {
|
13042
|
+
HELPER_TEXT_PERSISTENT: 'mdc-text-field-helper-text--persistent',
|
13043
|
+
HELPER_TEXT_VALIDATION_MSG: 'mdc-text-field-helper-text--validation-msg'
|
13044
|
+
};
|
12427
13045
|
|
12428
13046
|
|
12429
13047
|
|
12430
13048
|
/***/ }),
|
12431
|
-
/*
|
13049
|
+
/* 85 */
|
12432
13050
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12433
13051
|
|
12434
13052
|
"use strict";
|
12435
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
12436
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(
|
12437
|
-
/* harmony import */ var
|
13053
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
13054
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(18);
|
13055
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__bottom_line_foundation__ = __webpack_require__(11);
|
13056
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constants__ = __webpack_require__(17);
|
12438
13057
|
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; };
|
12439
13058
|
|
12440
13059
|
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; }; }();
|
@@ -12466,6 +13085,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
12466
13085
|
|
12467
13086
|
|
12468
13087
|
|
13088
|
+
|
12469
13089
|
/**
|
12470
13090
|
* @extends {MDCFoundation<!MDCTextFieldAdapter>}
|
12471
13091
|
* @final
|
@@ -12479,7 +13099,7 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12479
13099
|
|
12480
13100
|
/** @return enum {string} */
|
12481
13101
|
get: function get() {
|
12482
|
-
return
|
13102
|
+
return __WEBPACK_IMPORTED_MODULE_3__constants__["a" /* cssClasses */];
|
12483
13103
|
}
|
12484
13104
|
|
12485
13105
|
/** @return enum {string} */
|
@@ -12487,7 +13107,7 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12487
13107
|
}, {
|
12488
13108
|
key: 'strings',
|
12489
13109
|
get: function get() {
|
12490
|
-
return
|
13110
|
+
return __WEBPACK_IMPORTED_MODULE_3__constants__["b" /* strings */];
|
12491
13111
|
}
|
12492
13112
|
|
12493
13113
|
/**
|
@@ -12509,21 +13129,13 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12509
13129
|
registerTextFieldInteractionHandler: function registerTextFieldInteractionHandler() {},
|
12510
13130
|
deregisterTextFieldInteractionHandler: function deregisterTextFieldInteractionHandler() {},
|
12511
13131
|
notifyIconAction: function notifyIconAction() {},
|
12512
|
-
addClassToBottomLine: function addClassToBottomLine() {},
|
12513
|
-
removeClassFromBottomLine: function removeClassFromBottomLine() {},
|
12514
|
-
addClassToHelptext: function addClassToHelptext() {},
|
12515
|
-
removeClassFromHelptext: function removeClassFromHelptext() {},
|
12516
|
-
helptextHasClass: function helptextHasClass() {
|
12517
|
-
return false;
|
12518
|
-
},
|
12519
13132
|
registerInputInteractionHandler: function registerInputInteractionHandler() {},
|
12520
13133
|
deregisterInputInteractionHandler: function deregisterInputInteractionHandler() {},
|
12521
|
-
|
12522
|
-
|
12523
|
-
|
12524
|
-
|
12525
|
-
|
12526
|
-
getNativeInput: function getNativeInput() {}
|
13134
|
+
registerBottomLineEventHandler: function registerBottomLineEventHandler() {},
|
13135
|
+
deregisterBottomLineEventHandler: function deregisterBottomLineEventHandler() {},
|
13136
|
+
getNativeInput: function getNativeInput() {},
|
13137
|
+
getBottomLineFoundation: function getBottomLineFoundation() {},
|
13138
|
+
getHelperTextFoundation: function getHelperTextFoundation() {}
|
12527
13139
|
}
|
12528
13140
|
);
|
12529
13141
|
}
|
@@ -12561,15 +13173,15 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12561
13173
|
};
|
12562
13174
|
/** @private {function(!Event): undefined} */
|
12563
13175
|
_this.setPointerXOffset_ = function (evt) {
|
12564
|
-
return _this.
|
13176
|
+
return _this.setBottomLineTransformOrigin(evt);
|
12565
13177
|
};
|
12566
13178
|
/** @private {function(!Event): undefined} */
|
12567
13179
|
_this.textFieldInteractionHandler_ = function (evt) {
|
12568
13180
|
return _this.handleTextFieldInteraction(evt);
|
12569
13181
|
};
|
12570
13182
|
/** @private {function(!Event): undefined} */
|
12571
|
-
_this.
|
12572
|
-
return _this.handleBottomLineAnimationEnd(
|
13183
|
+
_this.bottomLineAnimationEndHandler_ = function () {
|
13184
|
+
return _this.handleBottomLineAnimationEnd();
|
12573
13185
|
};
|
12574
13186
|
return _this;
|
12575
13187
|
}
|
@@ -12594,7 +13206,7 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12594
13206
|
['click', 'keydown'].forEach(function (evtType) {
|
12595
13207
|
_this2.adapter_.registerTextFieldInteractionHandler(evtType, _this2.textFieldInteractionHandler_);
|
12596
13208
|
});
|
12597
|
-
this.adapter_.
|
13209
|
+
this.adapter_.registerBottomLineEventHandler(__WEBPACK_IMPORTED_MODULE_2__bottom_line_foundation__["a" /* default */].strings.ANIMATION_END_EVENT, this.bottomLineAnimationEndHandler_);
|
12598
13210
|
}
|
12599
13211
|
}, {
|
12600
13212
|
key: 'destroy',
|
@@ -12611,7 +13223,7 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12611
13223
|
['click', 'keydown'].forEach(function (evtType) {
|
12612
13224
|
_this3.adapter_.deregisterTextFieldInteractionHandler(evtType, _this3.textFieldInteractionHandler_);
|
12613
13225
|
});
|
12614
|
-
this.adapter_.
|
13226
|
+
this.adapter_.deregisterBottomLineEventHandler(__WEBPACK_IMPORTED_MODULE_2__bottom_line_foundation__["a" /* default */].strings.ANIMATION_END_EVENT, this.bottomLineAnimationEndHandler_);
|
12615
13227
|
}
|
12616
13228
|
|
12617
13229
|
/**
|
@@ -12648,33 +13260,37 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12648
13260
|
key: 'activateFocus',
|
12649
13261
|
value: function activateFocus() {
|
12650
13262
|
var _MDCTextFieldFoundati = MDCTextFieldFoundation.cssClasses,
|
12651
|
-
BOTTOM_LINE_ACTIVE = _MDCTextFieldFoundati.BOTTOM_LINE_ACTIVE,
|
12652
13263
|
FOCUSED = _MDCTextFieldFoundati.FOCUSED,
|
12653
13264
|
LABEL_FLOAT_ABOVE = _MDCTextFieldFoundati.LABEL_FLOAT_ABOVE,
|
12654
13265
|
LABEL_SHAKE = _MDCTextFieldFoundati.LABEL_SHAKE;
|
12655
13266
|
|
12656
13267
|
this.adapter_.addClass(FOCUSED);
|
12657
|
-
this.adapter_.
|
13268
|
+
var bottomLine = this.adapter_.getBottomLineFoundation();
|
13269
|
+
if (bottomLine) {
|
13270
|
+
bottomLine.activate();
|
13271
|
+
}
|
12658
13272
|
this.adapter_.addClassToLabel(LABEL_FLOAT_ABOVE);
|
12659
13273
|
this.adapter_.removeClassFromLabel(LABEL_SHAKE);
|
12660
|
-
this.
|
13274
|
+
var helperText = this.adapter_.getHelperTextFoundation();
|
13275
|
+
if (helperText) {
|
13276
|
+
helperText.showToScreenReader();
|
13277
|
+
}
|
12661
13278
|
this.isFocused_ = true;
|
12662
13279
|
}
|
12663
13280
|
|
12664
13281
|
/**
|
12665
|
-
*
|
13282
|
+
* Sets the bottom line's transform origin, so that the bottom line activate
|
13283
|
+
* animation will animate out from the user's click location.
|
12666
13284
|
* @param {!Event} evt
|
12667
13285
|
*/
|
12668
13286
|
|
12669
13287
|
}, {
|
12670
|
-
key: '
|
12671
|
-
value: function
|
12672
|
-
var
|
12673
|
-
|
12674
|
-
|
12675
|
-
|
12676
|
-
|
12677
|
-
this.adapter_.setBottomLineAttr('style', attributeString);
|
13288
|
+
key: 'setBottomLineTransformOrigin',
|
13289
|
+
value: function setBottomLineTransformOrigin(evt) {
|
13290
|
+
var bottomLine = this.adapter_.getBottomLineFoundation();
|
13291
|
+
if (bottomLine) {
|
13292
|
+
bottomLine.setTransformOrigin(evt);
|
13293
|
+
}
|
12678
13294
|
}
|
12679
13295
|
|
12680
13296
|
/**
|
@@ -12691,35 +13307,19 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12691
13307
|
}
|
12692
13308
|
|
12693
13309
|
/**
|
12694
|
-
*
|
12695
|
-
*
|
12696
|
-
*/
|
12697
|
-
|
12698
|
-
}, {
|
12699
|
-
key: 'showHelptext_',
|
12700
|
-
value: function showHelptext_() {
|
12701
|
-
var ARIA_HIDDEN = MDCTextFieldFoundation.strings.ARIA_HIDDEN;
|
12702
|
-
|
12703
|
-
this.adapter_.removeHelptextAttr(ARIA_HIDDEN);
|
12704
|
-
}
|
12705
|
-
|
12706
|
-
/**
|
12707
|
-
* Executes when the bottom line's transition animation ends, performing
|
12708
|
-
* actions that must wait for animations to finish.
|
12709
|
-
* @param {!Event} evt
|
13310
|
+
* Handles when bottom line animation ends, performing actions that must wait
|
13311
|
+
* for animations to finish.
|
12710
13312
|
*/
|
12711
13313
|
|
12712
13314
|
}, {
|
12713
13315
|
key: 'handleBottomLineAnimationEnd',
|
12714
|
-
value: function handleBottomLineAnimationEnd(
|
12715
|
-
var
|
12716
|
-
|
13316
|
+
value: function handleBottomLineAnimationEnd() {
|
13317
|
+
var bottomLine = this.adapter_.getBottomLineFoundation();
|
12717
13318
|
// We need to wait for the bottom line to be entirely transparent
|
12718
13319
|
// before removing the class. If we do not, we see the line start to
|
12719
13320
|
// scale down before disappearing
|
12720
|
-
|
12721
|
-
|
12722
|
-
this.adapter_.removeClassFromBottomLine(BOTTOM_LINE_ACTIVE);
|
13321
|
+
if (!this.isFocused_ && bottomLine) {
|
13322
|
+
bottomLine.deactivate();
|
12723
13323
|
}
|
12724
13324
|
}
|
12725
13325
|
|
@@ -12770,50 +13370,10 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12770
13370
|
this.adapter_.addClassToLabel(LABEL_SHAKE);
|
12771
13371
|
this.adapter_.addClass(INVALID);
|
12772
13372
|
}
|
12773
|
-
this.
|
12774
|
-
|
12775
|
-
|
12776
|
-
/**
|
12777
|
-
* Updates the state of the Text Field's help text based on validity and
|
12778
|
-
* the Text Field's options.
|
12779
|
-
* @param {boolean} isValid
|
12780
|
-
*/
|
12781
|
-
|
12782
|
-
}, {
|
12783
|
-
key: 'updateHelptext_',
|
12784
|
-
value: function updateHelptext_(isValid) {
|
12785
|
-
var _MDCTextFieldFoundati4 = MDCTextFieldFoundation.cssClasses,
|
12786
|
-
HELPTEXT_PERSISTENT = _MDCTextFieldFoundati4.HELPTEXT_PERSISTENT,
|
12787
|
-
HELPTEXT_VALIDATION_MSG = _MDCTextFieldFoundati4.HELPTEXT_VALIDATION_MSG;
|
12788
|
-
var ROLE = MDCTextFieldFoundation.strings.ROLE;
|
12789
|
-
|
12790
|
-
var helptextIsPersistent = this.adapter_.helptextHasClass(HELPTEXT_PERSISTENT);
|
12791
|
-
var helptextIsValidationMsg = this.adapter_.helptextHasClass(HELPTEXT_VALIDATION_MSG);
|
12792
|
-
var validationMsgNeedsDisplay = helptextIsValidationMsg && !isValid;
|
12793
|
-
|
12794
|
-
if (validationMsgNeedsDisplay) {
|
12795
|
-
this.adapter_.setHelptextAttr(ROLE, 'alert');
|
12796
|
-
} else {
|
12797
|
-
this.adapter_.removeHelptextAttr(ROLE);
|
12798
|
-
}
|
12799
|
-
|
12800
|
-
if (helptextIsPersistent || validationMsgNeedsDisplay) {
|
12801
|
-
return;
|
13373
|
+
var helperText = this.adapter_.getHelperTextFoundation();
|
13374
|
+
if (helperText) {
|
13375
|
+
helperText.setValidity(isValid);
|
12802
13376
|
}
|
12803
|
-
this.hideHelptext_();
|
12804
|
-
}
|
12805
|
-
|
12806
|
-
/**
|
12807
|
-
* Hides the help text from screen readers.
|
12808
|
-
* @private
|
12809
|
-
*/
|
12810
|
-
|
12811
|
-
}, {
|
12812
|
-
key: 'hideHelptext_',
|
12813
|
-
value: function hideHelptext_() {
|
12814
|
-
var ARIA_HIDDEN = MDCTextFieldFoundation.strings.ARIA_HIDDEN;
|
12815
|
-
|
12816
|
-
this.adapter_.setHelptextAttr(ARIA_HIDDEN, 'true');
|
12817
13377
|
}
|
12818
13378
|
|
12819
13379
|
/**
|
@@ -12845,11 +13405,14 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12845
13405
|
}, {
|
12846
13406
|
key: 'setDisabled',
|
12847
13407
|
value: function setDisabled(disabled) {
|
12848
|
-
var
|
13408
|
+
var _MDCTextFieldFoundati4 = MDCTextFieldFoundation.cssClasses,
|
13409
|
+
DISABLED = _MDCTextFieldFoundati4.DISABLED,
|
13410
|
+
INVALID = _MDCTextFieldFoundati4.INVALID;
|
12849
13411
|
|
12850
13412
|
this.getNativeInput_().disabled = disabled;
|
12851
13413
|
if (disabled) {
|
12852
13414
|
this.adapter_.addClass(DISABLED);
|
13415
|
+
this.adapter_.removeClass(INVALID);
|
12853
13416
|
this.adapter_.setIconAttr('tabindex', '-1');
|
12854
13417
|
} else {
|
12855
13418
|
this.adapter_.removeClass(DISABLED);
|
@@ -12857,6 +13420,19 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12857
13420
|
}
|
12858
13421
|
}
|
12859
13422
|
|
13423
|
+
/**
|
13424
|
+
* @param {string} content Sets the content of the helper text.
|
13425
|
+
*/
|
13426
|
+
|
13427
|
+
}, {
|
13428
|
+
key: 'setHelperTextContent',
|
13429
|
+
value: function setHelperTextContent(content) {
|
13430
|
+
var helperText = this.adapter_.getHelperTextFoundation();
|
13431
|
+
if (helperText) {
|
13432
|
+
helperText.setContent(content);
|
13433
|
+
}
|
13434
|
+
}
|
13435
|
+
|
12860
13436
|
/**
|
12861
13437
|
* @return {!Element|!NativeInputType} The native text input from the
|
12862
13438
|
* host environment, or a dummy if none exists.
|
@@ -12895,15 +13471,243 @@ var MDCTextFieldFoundation = function (_MDCFoundation) {
|
|
12895
13471
|
/* harmony default export */ __webpack_exports__["a"] = (MDCTextFieldFoundation);
|
12896
13472
|
|
12897
13473
|
/***/ }),
|
12898
|
-
/*
|
13474
|
+
/* 86 */
|
13475
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13476
|
+
|
13477
|
+
"use strict";
|
13478
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCTextFieldBottomLine; });
|
13479
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
13480
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(19);
|
13481
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(11);
|
13482
|
+
/* unused harmony reexport MDCTextFieldBottomLineFoundation */
|
13483
|
+
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; };
|
13484
|
+
|
13485
|
+
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; }; }();
|
13486
|
+
|
13487
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
13488
|
+
|
13489
|
+
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; }
|
13490
|
+
|
13491
|
+
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; }
|
13492
|
+
|
13493
|
+
/**
|
13494
|
+
* @license
|
13495
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
13496
|
+
*
|
13497
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
13498
|
+
* you may not use this file except in compliance with the License.
|
13499
|
+
* You may obtain a copy of the License at
|
13500
|
+
*
|
13501
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
13502
|
+
*
|
13503
|
+
* Unless required by applicable law or agreed to in writing, software
|
13504
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13505
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13506
|
+
* See the License for the specific language governing permissions and
|
13507
|
+
* limitations under the License.
|
13508
|
+
*/
|
13509
|
+
|
13510
|
+
|
13511
|
+
|
13512
|
+
|
13513
|
+
|
13514
|
+
|
13515
|
+
/**
|
13516
|
+
* @extends {MDCComponent<!MDCTextFieldBottomLineFoundation>}
|
13517
|
+
* @final
|
13518
|
+
*/
|
13519
|
+
|
13520
|
+
var MDCTextFieldBottomLine = function (_MDCComponent) {
|
13521
|
+
_inherits(MDCTextFieldBottomLine, _MDCComponent);
|
13522
|
+
|
13523
|
+
function MDCTextFieldBottomLine() {
|
13524
|
+
_classCallCheck(this, MDCTextFieldBottomLine);
|
13525
|
+
|
13526
|
+
return _possibleConstructorReturn(this, (MDCTextFieldBottomLine.__proto__ || Object.getPrototypeOf(MDCTextFieldBottomLine)).apply(this, arguments));
|
13527
|
+
}
|
13528
|
+
|
13529
|
+
_createClass(MDCTextFieldBottomLine, [{
|
13530
|
+
key: 'getDefaultFoundation',
|
13531
|
+
|
13532
|
+
|
13533
|
+
/**
|
13534
|
+
* @return {!MDCTextFieldBottomLineFoundation}
|
13535
|
+
*/
|
13536
|
+
value: function getDefaultFoundation() {
|
13537
|
+
var _this2 = this;
|
13538
|
+
|
13539
|
+
return new __WEBPACK_IMPORTED_MODULE_2__foundation__["a" /* default */]( /** @type {!MDCTextFieldBottomLineAdapter} */_extends({
|
13540
|
+
addClass: function addClass(className) {
|
13541
|
+
return _this2.root_.classList.add(className);
|
13542
|
+
},
|
13543
|
+
removeClass: function removeClass(className) {
|
13544
|
+
return _this2.root_.classList.remove(className);
|
13545
|
+
},
|
13546
|
+
setAttr: function setAttr(attr, value) {
|
13547
|
+
return _this2.root_.setAttribute(attr, value);
|
13548
|
+
},
|
13549
|
+
registerEventHandler: function registerEventHandler(evtType, handler) {
|
13550
|
+
return _this2.root_.addEventListener(evtType, handler);
|
13551
|
+
},
|
13552
|
+
deregisterEventHandler: function deregisterEventHandler(evtType, handler) {
|
13553
|
+
return _this2.root_.removeEventListener(evtType, handler);
|
13554
|
+
},
|
13555
|
+
notifyAnimationEnd: function notifyAnimationEnd() {
|
13556
|
+
_this2.emit(__WEBPACK_IMPORTED_MODULE_2__foundation__["a" /* default */].strings.ANIMATION_END_EVENT, {});
|
13557
|
+
}
|
13558
|
+
}));
|
13559
|
+
}
|
13560
|
+
}, {
|
13561
|
+
key: 'foundation',
|
13562
|
+
|
13563
|
+
|
13564
|
+
/**
|
13565
|
+
* @return {MDCTextFieldBottomLineFoundation}
|
13566
|
+
*/
|
13567
|
+
get: function get() {
|
13568
|
+
return this.foundation_;
|
13569
|
+
}
|
13570
|
+
}], [{
|
13571
|
+
key: 'attachTo',
|
13572
|
+
|
13573
|
+
/**
|
13574
|
+
* @param {!Element} root
|
13575
|
+
* @return {!MDCTextFieldBottomLine}
|
13576
|
+
*/
|
13577
|
+
value: function attachTo(root) {
|
13578
|
+
return new MDCTextFieldBottomLine(root);
|
13579
|
+
}
|
13580
|
+
}]);
|
13581
|
+
|
13582
|
+
return MDCTextFieldBottomLine;
|
13583
|
+
}(__WEBPACK_IMPORTED_MODULE_0__material_base_component__["a" /* default */]);
|
13584
|
+
|
13585
|
+
|
13586
|
+
|
13587
|
+
/***/ }),
|
13588
|
+
/* 87 */
|
13589
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13590
|
+
|
13591
|
+
"use strict";
|
13592
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MDCTextFieldHelperText; });
|
13593
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(2);
|
13594
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(21);
|
13595
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__foundation__ = __webpack_require__(20);
|
13596
|
+
/* unused harmony reexport MDCTextFieldHelperTextFoundation */
|
13597
|
+
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; };
|
13598
|
+
|
13599
|
+
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; }; }();
|
13600
|
+
|
13601
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
13602
|
+
|
13603
|
+
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; }
|
13604
|
+
|
13605
|
+
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; }
|
13606
|
+
|
13607
|
+
/**
|
13608
|
+
* @license
|
13609
|
+
* Copyright 2017 Google Inc. All Rights Reserved.
|
13610
|
+
*
|
13611
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
13612
|
+
* you may not use this file except in compliance with the License.
|
13613
|
+
* You may obtain a copy of the License at
|
13614
|
+
*
|
13615
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
13616
|
+
*
|
13617
|
+
* Unless required by applicable law or agreed to in writing, software
|
13618
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13619
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13620
|
+
* See the License for the specific language governing permissions and
|
13621
|
+
* limitations under the License.
|
13622
|
+
*/
|
13623
|
+
|
13624
|
+
|
13625
|
+
|
13626
|
+
|
13627
|
+
|
13628
|
+
|
13629
|
+
/**
|
13630
|
+
* @extends {MDCComponent<!MDCTextFieldHelperTextFoundation>}
|
13631
|
+
* @final
|
13632
|
+
*/
|
13633
|
+
|
13634
|
+
var MDCTextFieldHelperText = function (_MDCComponent) {
|
13635
|
+
_inherits(MDCTextFieldHelperText, _MDCComponent);
|
13636
|
+
|
13637
|
+
function MDCTextFieldHelperText() {
|
13638
|
+
_classCallCheck(this, MDCTextFieldHelperText);
|
13639
|
+
|
13640
|
+
return _possibleConstructorReturn(this, (MDCTextFieldHelperText.__proto__ || Object.getPrototypeOf(MDCTextFieldHelperText)).apply(this, arguments));
|
13641
|
+
}
|
13642
|
+
|
13643
|
+
_createClass(MDCTextFieldHelperText, [{
|
13644
|
+
key: 'getDefaultFoundation',
|
13645
|
+
|
13646
|
+
|
13647
|
+
/**
|
13648
|
+
* @return {!MDCTextFieldHelperTextFoundation}
|
13649
|
+
*/
|
13650
|
+
value: function getDefaultFoundation() {
|
13651
|
+
var _this2 = this;
|
13652
|
+
|
13653
|
+
return new __WEBPACK_IMPORTED_MODULE_2__foundation__["a" /* default */]( /** @type {!MDCTextFieldHelperTextAdapter} */_extends({
|
13654
|
+
addClass: function addClass(className) {
|
13655
|
+
return _this2.root_.classList.add(className);
|
13656
|
+
},
|
13657
|
+
removeClass: function removeClass(className) {
|
13658
|
+
return _this2.root_.classList.remove(className);
|
13659
|
+
},
|
13660
|
+
hasClass: function hasClass(className) {
|
13661
|
+
return _this2.root_.classList.contains(className);
|
13662
|
+
},
|
13663
|
+
setAttr: function setAttr(attr, value) {
|
13664
|
+
return _this2.root_.setAttribute(attr, value);
|
13665
|
+
},
|
13666
|
+
removeAttr: function removeAttr(attr) {
|
13667
|
+
return _this2.root_.removeAttribute(attr);
|
13668
|
+
},
|
13669
|
+
setContent: function setContent(content) {
|
13670
|
+
_this2.root_.textContent = content;
|
13671
|
+
}
|
13672
|
+
}));
|
13673
|
+
}
|
13674
|
+
}, {
|
13675
|
+
key: 'foundation',
|
13676
|
+
|
13677
|
+
|
13678
|
+
/**
|
13679
|
+
* @return {MDCTextFieldHelperTextFoundation}
|
13680
|
+
*/
|
13681
|
+
get: function get() {
|
13682
|
+
return this.foundation_;
|
13683
|
+
}
|
13684
|
+
}], [{
|
13685
|
+
key: 'attachTo',
|
13686
|
+
|
13687
|
+
/**
|
13688
|
+
* @param {!Element} root
|
13689
|
+
* @return {!MDCTextFieldHelperText}
|
13690
|
+
*/
|
13691
|
+
value: function attachTo(root) {
|
13692
|
+
return new MDCTextFieldHelperText(root);
|
13693
|
+
}
|
13694
|
+
}]);
|
13695
|
+
|
13696
|
+
return MDCTextFieldHelperText;
|
13697
|
+
}(__WEBPACK_IMPORTED_MODULE_0__material_base_component__["a" /* default */]);
|
13698
|
+
|
13699
|
+
|
13700
|
+
|
13701
|
+
/***/ }),
|
13702
|
+
/* 88 */
|
12899
13703
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12900
13704
|
|
12901
13705
|
"use strict";
|
12902
13706
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
12903
13707
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCToolbar", function() { return MDCToolbar; });
|
12904
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(
|
12905
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(
|
12906
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(
|
13708
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base__ = __webpack_require__(1);
|
13709
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__foundation__ = __webpack_require__(89);
|
13710
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(91);
|
12907
13711
|
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MDCToolbarFoundation", function() { return __WEBPACK_IMPORTED_MODULE_1__foundation__["a"]; });
|
12908
13712
|
/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "util", function() { return __WEBPACK_IMPORTED_MODULE_2__util__; });
|
12909
13713
|
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; }; }();
|
@@ -13035,12 +13839,12 @@ var MDCToolbar = function (_MDCComponent) {
|
|
13035
13839
|
}(__WEBPACK_IMPORTED_MODULE_0__material_base__["MDCComponent"]);
|
13036
13840
|
|
13037
13841
|
/***/ }),
|
13038
|
-
/*
|
13842
|
+
/* 89 */
|
13039
13843
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13040
13844
|
|
13041
13845
|
"use strict";
|
13042
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(
|
13043
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(
|
13846
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_foundation__ = __webpack_require__(0);
|
13847
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constants__ = __webpack_require__(90);
|
13044
13848
|
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; };
|
13045
13849
|
|
13046
13850
|
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; }; }();
|
@@ -13324,7 +14128,7 @@ var MDCToolbarFoundation = function (_MDCFoundation) {
|
|
13324
14128
|
/* harmony default export */ __webpack_exports__["a"] = (MDCToolbarFoundation);
|
13325
14129
|
|
13326
14130
|
/***/ }),
|
13327
|
-
/*
|
14131
|
+
/* 90 */
|
13328
14132
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13329
14133
|
|
13330
14134
|
"use strict";
|
@@ -13372,7 +14176,7 @@ var numbers = {
|
|
13372
14176
|
};
|
13373
14177
|
|
13374
14178
|
/***/ }),
|
13375
|
-
/*
|
14179
|
+
/* 91 */
|
13376
14180
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13377
14181
|
|
13378
14182
|
"use strict";
|