@materializecss/materialize 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Gruntfile.js +722 -712
- package/LICENSE +21 -21
- package/README.md +91 -91
- package/dist/css/materialize.css +68 -135
- package/dist/css/materialize.min.css +12 -12
- package/dist/js/materialize.js +1112 -1112
- package/dist/js/materialize.min.js +6 -6
- package/extras/noUiSlider/nouislider.css +403 -403
- package/extras/noUiSlider/nouislider.js +2147 -2147
- package/js/anime.min.js +34 -34
- package/js/autocomplete.js +479 -479
- package/js/buttons.js +354 -354
- package/js/cards.js +40 -40
- package/js/carousel.js +732 -732
- package/js/cash.js +960 -960
- package/js/characterCounter.js +136 -136
- package/js/chips.js +486 -486
- package/js/collapsible.js +275 -275
- package/js/component.js +44 -44
- package/js/datepicker.js +983 -983
- package/js/dropdown.js +669 -669
- package/js/forms.js +285 -285
- package/js/global.js +428 -428
- package/js/materialbox.js +453 -453
- package/js/modal.js +382 -382
- package/js/parallax.js +138 -138
- package/js/pushpin.js +148 -148
- package/js/range.js +263 -263
- package/js/scrollspy.js +295 -295
- package/js/select.js +391 -391
- package/js/sidenav.js +583 -583
- package/js/slider.js +359 -359
- package/js/tabs.js +402 -402
- package/js/tapTarget.js +315 -315
- package/js/timepicker.js +712 -712
- package/js/toasts.js +325 -325
- package/js/tooltip.js +320 -320
- package/js/waves.js +614 -614
- package/package.json +87 -84
- package/sass/_style.scss +929 -929
- package/sass/components/_badges.scss +55 -55
- package/sass/components/_buttons.scss +322 -322
- package/sass/components/_cards.scss +195 -195
- package/sass/components/_carousel.scss +90 -90
- package/sass/components/_chips.scss +96 -96
- package/sass/components/_collapsible.scss +91 -91
- package/sass/components/_collection.scss +106 -106
- package/sass/components/_color-classes.scss +32 -32
- package/sass/components/_color-variables.scss +370 -370
- package/sass/components/_datepicker.scss +191 -191
- package/sass/components/_dropdown.scss +84 -84
- package/sass/components/_global.scss +646 -646
- package/sass/components/_grid.scss +158 -158
- package/sass/components/_icons-material-design.scss +5 -5
- package/sass/components/_materialbox.scss +42 -42
- package/sass/components/_modal.scss +97 -97
- package/sass/components/_navbar.scss +208 -208
- package/sass/components/_normalize.scss +447 -447
- package/sass/components/_preloader.scss +334 -334
- package/sass/components/_pulse.scss +34 -34
- package/sass/components/_sidenav.scss +214 -214
- package/sass/components/_slider.scss +91 -91
- package/sass/components/_table_of_contents.scss +33 -33
- package/sass/components/_tabs.scss +99 -99
- package/sass/components/_tapTarget.scss +103 -103
- package/sass/components/_timepicker.scss +199 -199
- package/sass/components/_toast.scss +58 -58
- package/sass/components/_tooltip.scss +32 -32
- package/sass/components/_transitions.scss +12 -12
- package/sass/components/_typography.scss +62 -62
- package/sass/components/_variables.scss +352 -352
- package/sass/components/_waves.scss +187 -187
- package/sass/components/forms/_checkboxes.scss +200 -200
- package/sass/components/forms/_file-input.scss +44 -44
- package/sass/components/forms/_forms.scss +22 -22
- package/sass/components/forms/_input-fields.scss +388 -388
- package/sass/components/forms/_radio-buttons.scss +115 -115
- package/sass/components/forms/_range.scss +161 -161
- package/sass/components/forms/_select.scss +199 -199
- package/sass/components/forms/_switches.scss +91 -91
- package/sass/ghpages-materialize.scss +7 -7
- package/sass/materialize.scss +42 -42
package/dist/js/materialize.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Materialize v1.2.
|
|
3
|
-
* Copyright 2014-
|
|
4
|
-
* MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
|
|
5
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* Materialize v1.2.1 (https://materializecss.github.io/materialize)
|
|
3
|
+
* Copyright 2014-2022 Materialize
|
|
4
|
+
* MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
|
|
5
|
+
*/
|
|
6
6
|
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); } };
|
|
7
7
|
|
|
8
8
|
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; }; }();
|
|
@@ -627,11 +627,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
627
627
|
|
|
628
628
|
ready: onReady,
|
|
629
629
|
|
|
630
|
-
/**
|
|
631
|
-
* Modified
|
|
632
|
-
* Triggers browser event
|
|
633
|
-
* @param String eventName
|
|
634
|
-
* @param Object data - Add properties to event object
|
|
630
|
+
/**
|
|
631
|
+
* Modified
|
|
632
|
+
* Triggers browser event
|
|
633
|
+
* @param String eventName
|
|
634
|
+
* @param Object data - Add properties to event object
|
|
635
635
|
*/
|
|
636
636
|
trigger: function (eventName, data) {
|
|
637
637
|
if (document.createEvent) {
|
|
@@ -1003,13 +1003,13 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1003
1003
|
|
|
1004
1004
|
return cash;
|
|
1005
1005
|
});
|
|
1006
|
-
; /*!
|
|
1007
|
-
* Waves v0.7.6
|
|
1008
|
-
* http://fian.my.id/Waves
|
|
1009
|
-
*
|
|
1010
|
-
* Copyright 2014-2018 Alfiana E. Sibuea and other contributors
|
|
1011
|
-
* Released under the MIT license
|
|
1012
|
-
* https://github.com/fians/Waves/blob/master/LICENSE
|
|
1006
|
+
; /*!
|
|
1007
|
+
* Waves v0.7.6
|
|
1008
|
+
* http://fian.my.id/Waves
|
|
1009
|
+
*
|
|
1010
|
+
* Copyright 2014-2018 Alfiana E. Sibuea and other contributors
|
|
1011
|
+
* Released under the MIT license
|
|
1012
|
+
* https://github.com/fians/Waves/blob/master/LICENSE
|
|
1013
1013
|
*/
|
|
1014
1014
|
|
|
1015
1015
|
;(function (window, factory) {
|
|
@@ -1221,9 +1221,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1221
1221
|
}
|
|
1222
1222
|
};
|
|
1223
1223
|
|
|
1224
|
-
/**
|
|
1225
|
-
* Collection of wrapper for HTML element that only have single tag
|
|
1226
|
-
* like <input> and <img>
|
|
1224
|
+
/**
|
|
1225
|
+
* Collection of wrapper for HTML element that only have single tag
|
|
1226
|
+
* like <input> and <img>
|
|
1227
1227
|
*/
|
|
1228
1228
|
var TagWrapper = {
|
|
1229
1229
|
|
|
@@ -1272,9 +1272,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1272
1272
|
}
|
|
1273
1273
|
};
|
|
1274
1274
|
|
|
1275
|
-
/**
|
|
1276
|
-
* Hide the effect and remove the ripple. Must be
|
|
1277
|
-
* a separate function to pass the JSLint...
|
|
1275
|
+
/**
|
|
1276
|
+
* Hide the effect and remove the ripple. Must be
|
|
1277
|
+
* a separate function to pass the JSLint...
|
|
1278
1278
|
*/
|
|
1279
1279
|
function removeRipple(e, el, ripple) {
|
|
1280
1280
|
|
|
@@ -1336,14 +1336,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1336
1336
|
}, delay);
|
|
1337
1337
|
}
|
|
1338
1338
|
|
|
1339
|
-
/**
|
|
1340
|
-
* Disable mousedown event for 500ms during and after touch
|
|
1339
|
+
/**
|
|
1340
|
+
* Disable mousedown event for 500ms during and after touch
|
|
1341
1341
|
*/
|
|
1342
1342
|
var TouchHandler = {
|
|
1343
1343
|
|
|
1344
|
-
/* uses an integer rather than bool so there's no issues with
|
|
1345
|
-
* needing to clear timeouts if another touch event occurred
|
|
1346
|
-
* within the 500ms. Cannot mouseup between touchstart and
|
|
1344
|
+
/* uses an integer rather than bool so there's no issues with
|
|
1345
|
+
* needing to clear timeouts if another touch event occurred
|
|
1346
|
+
* within the 500ms. Cannot mouseup between touchstart and
|
|
1347
1347
|
* touchend, nor in the 500ms after touchend. */
|
|
1348
1348
|
touches: 0,
|
|
1349
1349
|
|
|
@@ -1374,9 +1374,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1374
1374
|
}
|
|
1375
1375
|
};
|
|
1376
1376
|
|
|
1377
|
-
/**
|
|
1378
|
-
* Delegated click handler for .waves-effect element.
|
|
1379
|
-
* returns null when .waves-effect element not in "click tree"
|
|
1377
|
+
/**
|
|
1378
|
+
* Delegated click handler for .waves-effect element.
|
|
1379
|
+
* returns null when .waves-effect element not in "click tree"
|
|
1380
1380
|
*/
|
|
1381
1381
|
function getWavesEffectElement(e) {
|
|
1382
1382
|
|
|
@@ -1398,8 +1398,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1398
1398
|
return element;
|
|
1399
1399
|
}
|
|
1400
1400
|
|
|
1401
|
-
/**
|
|
1402
|
-
* Bubble the click and show effect if .waves-effect elem was found
|
|
1401
|
+
/**
|
|
1402
|
+
* Bubble the click and show effect if .waves-effect elem was found
|
|
1403
1403
|
*/
|
|
1404
1404
|
function showEffect(e) {
|
|
1405
1405
|
|
|
@@ -1501,10 +1501,10 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1501
1501
|
body.addEventListener('mousedown', showEffect, passiveIfSupported);
|
|
1502
1502
|
};
|
|
1503
1503
|
|
|
1504
|
-
/**
|
|
1505
|
-
* Attach Waves to dynamically loaded inputs, or add .waves-effect and other
|
|
1506
|
-
* waves classes to a set of elements. Set drag to true if the ripple mouseover
|
|
1507
|
-
* or skimming effect should be applied to the elements.
|
|
1504
|
+
/**
|
|
1505
|
+
* Attach Waves to dynamically loaded inputs, or add .waves-effect and other
|
|
1506
|
+
* waves classes to a set of elements. Set drag to true if the ripple mouseover
|
|
1507
|
+
* or skimming effect should be applied to the elements.
|
|
1508
1508
|
*/
|
|
1509
1509
|
Waves.attach = function (elements, classes) {
|
|
1510
1510
|
|
|
@@ -1534,8 +1534,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1534
1534
|
}
|
|
1535
1535
|
};
|
|
1536
1536
|
|
|
1537
|
-
/**
|
|
1538
|
-
* Cause a ripple to appear in an element via code.
|
|
1537
|
+
/**
|
|
1538
|
+
* Cause a ripple to appear in an element via code.
|
|
1539
1539
|
*/
|
|
1540
1540
|
Waves.ripple = function (elements, options) {
|
|
1541
1541
|
elements = getWavesElements(elements);
|
|
@@ -1590,8 +1590,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1590
1590
|
}
|
|
1591
1591
|
};
|
|
1592
1592
|
|
|
1593
|
-
/**
|
|
1594
|
-
* Remove all ripples from an element.
|
|
1593
|
+
/**
|
|
1594
|
+
* Remove all ripples from an element.
|
|
1595
1595
|
*/
|
|
1596
1596
|
Waves.calm = function (elements) {
|
|
1597
1597
|
elements = getWavesElements(elements);
|
|
@@ -1605,8 +1605,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1605
1605
|
}
|
|
1606
1606
|
};
|
|
1607
1607
|
|
|
1608
|
-
/**
|
|
1609
|
-
* Deprecated API fallback
|
|
1608
|
+
/**
|
|
1609
|
+
* Deprecated API fallback
|
|
1610
1610
|
*/
|
|
1611
1611
|
Waves.displayEffect = function (options) {
|
|
1612
1612
|
console.error('Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect');
|
|
@@ -1616,11 +1616,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1616
1616
|
return Waves;
|
|
1617
1617
|
});;
|
|
1618
1618
|
var Component = function () {
|
|
1619
|
-
/**
|
|
1620
|
-
* Generic constructor for all components
|
|
1621
|
-
* @constructor
|
|
1622
|
-
* @param {Element} el
|
|
1623
|
-
* @param {Object} options
|
|
1619
|
+
/**
|
|
1620
|
+
* Generic constructor for all components
|
|
1621
|
+
* @constructor
|
|
1622
|
+
* @param {Element} el
|
|
1623
|
+
* @param {Object} options
|
|
1624
1624
|
*/
|
|
1625
1625
|
function Component(classDef, el, options) {
|
|
1626
1626
|
_classCallCheck(this, Component);
|
|
@@ -1640,11 +1640,11 @@ var Component = function () {
|
|
|
1640
1640
|
this.$el = cash(el);
|
|
1641
1641
|
}
|
|
1642
1642
|
|
|
1643
|
-
/**
|
|
1644
|
-
* Initializes components
|
|
1645
|
-
* @param {class} classDef
|
|
1646
|
-
* @param {Element | NodeList | jQuery} els
|
|
1647
|
-
* @param {Object} options
|
|
1643
|
+
/**
|
|
1644
|
+
* Initializes components
|
|
1645
|
+
* @param {class} classDef
|
|
1646
|
+
* @param {Element | NodeList | jQuery} els
|
|
1647
|
+
* @param {Object} options
|
|
1648
1648
|
*/
|
|
1649
1649
|
|
|
1650
1650
|
|
|
@@ -1705,8 +1705,8 @@ M.keys = {
|
|
|
1705
1705
|
ARROW_DOWN: 40
|
|
1706
1706
|
};
|
|
1707
1707
|
|
|
1708
|
-
/**
|
|
1709
|
-
* TabPress Keydown handler
|
|
1708
|
+
/**
|
|
1709
|
+
* TabPress Keydown handler
|
|
1710
1710
|
*/
|
|
1711
1711
|
M.tabPressed = false;
|
|
1712
1712
|
M.keyDown = false;
|
|
@@ -1735,11 +1735,11 @@ document.addEventListener('keyup', docHandleKeyup, true);
|
|
|
1735
1735
|
document.addEventListener('focus', docHandleFocus, true);
|
|
1736
1736
|
document.addEventListener('blur', docHandleBlur, true);
|
|
1737
1737
|
|
|
1738
|
-
/**
|
|
1739
|
-
* Initialize jQuery wrapper for plugin
|
|
1740
|
-
* @param {Class} plugin javascript class
|
|
1741
|
-
* @param {string} pluginName jQuery plugin name
|
|
1742
|
-
* @param {string} classRef Class reference name
|
|
1738
|
+
/**
|
|
1739
|
+
* Initialize jQuery wrapper for plugin
|
|
1740
|
+
* @param {Class} plugin javascript class
|
|
1741
|
+
* @param {string} pluginName jQuery plugin name
|
|
1742
|
+
* @param {string} classRef Class reference name
|
|
1743
1743
|
*/
|
|
1744
1744
|
M.initializeJqueryWrapper = function (plugin, pluginName, classRef) {
|
|
1745
1745
|
jQuery.fn[pluginName] = function (methodOrOptions) {
|
|
@@ -1770,9 +1770,9 @@ M.initializeJqueryWrapper = function (plugin, pluginName, classRef) {
|
|
|
1770
1770
|
};
|
|
1771
1771
|
};
|
|
1772
1772
|
|
|
1773
|
-
/**
|
|
1774
|
-
* Automatically initialize components
|
|
1775
|
-
* @param {Element} context DOM Element to search within for components
|
|
1773
|
+
/**
|
|
1774
|
+
* Automatically initialize components
|
|
1775
|
+
* @param {Element} context DOM Element to search within for components
|
|
1776
1776
|
*/
|
|
1777
1777
|
M.AutoInit = function (context) {
|
|
1778
1778
|
// Use document.body if no context is given
|
|
@@ -1805,10 +1805,10 @@ M.AutoInit = function (context) {
|
|
|
1805
1805
|
}
|
|
1806
1806
|
};
|
|
1807
1807
|
|
|
1808
|
-
/**
|
|
1809
|
-
* Generate approximated selector string for a jQuery object
|
|
1810
|
-
* @param {jQuery} obj jQuery object to be parsed
|
|
1811
|
-
* @returns {string}
|
|
1808
|
+
/**
|
|
1809
|
+
* Generate approximated selector string for a jQuery object
|
|
1810
|
+
* @param {jQuery} obj jQuery object to be parsed
|
|
1811
|
+
* @returns {string}
|
|
1812
1812
|
*/
|
|
1813
1813
|
M.objectSelectorString = function (obj) {
|
|
1814
1814
|
var tagStr = obj.prop('tagName') || '';
|
|
@@ -1827,37 +1827,37 @@ M.guid = function () {
|
|
|
1827
1827
|
};
|
|
1828
1828
|
}();
|
|
1829
1829
|
|
|
1830
|
-
/**
|
|
1831
|
-
* Escapes hash from special characters
|
|
1832
|
-
* @param {string} hash String returned from this.hash
|
|
1833
|
-
* @returns {string}
|
|
1830
|
+
/**
|
|
1831
|
+
* Escapes hash from special characters
|
|
1832
|
+
* @param {string} hash String returned from this.hash
|
|
1833
|
+
* @returns {string}
|
|
1834
1834
|
*/
|
|
1835
1835
|
M.escapeHash = function (hash) {
|
|
1836
1836
|
return hash.replace(/(:|\.|\[|\]|,|=|\/)/g, '\\$1');
|
|
1837
1837
|
};
|
|
1838
1838
|
|
|
1839
|
-
/**
|
|
1840
|
-
* @typedef {Object} Edges
|
|
1841
|
-
* @property {Boolean} top If the top edge was exceeded
|
|
1842
|
-
* @property {Boolean} right If the right edge was exceeded
|
|
1843
|
-
* @property {Boolean} bottom If the bottom edge was exceeded
|
|
1844
|
-
* @property {Boolean} left If the left edge was exceeded
|
|
1839
|
+
/**
|
|
1840
|
+
* @typedef {Object} Edges
|
|
1841
|
+
* @property {Boolean} top If the top edge was exceeded
|
|
1842
|
+
* @property {Boolean} right If the right edge was exceeded
|
|
1843
|
+
* @property {Boolean} bottom If the bottom edge was exceeded
|
|
1844
|
+
* @property {Boolean} left If the left edge was exceeded
|
|
1845
1845
|
*/
|
|
1846
1846
|
|
|
1847
|
-
/**
|
|
1848
|
-
* @typedef {Object} Bounding
|
|
1849
|
-
* @property {Number} left left offset coordinate
|
|
1850
|
-
* @property {Number} top top offset coordinate
|
|
1851
|
-
* @property {Number} width
|
|
1852
|
-
* @property {Number} height
|
|
1847
|
+
/**
|
|
1848
|
+
* @typedef {Object} Bounding
|
|
1849
|
+
* @property {Number} left left offset coordinate
|
|
1850
|
+
* @property {Number} top top offset coordinate
|
|
1851
|
+
* @property {Number} width
|
|
1852
|
+
* @property {Number} height
|
|
1853
1853
|
*/
|
|
1854
1854
|
|
|
1855
|
-
/**
|
|
1856
|
-
* Escapes hash from special characters
|
|
1857
|
-
* @param {Element} container Container element that acts as the boundary
|
|
1858
|
-
* @param {Bounding} bounding element bounding that is being checked
|
|
1859
|
-
* @param {Number} offset offset from edge that counts as exceeding
|
|
1860
|
-
* @returns {Edges}
|
|
1855
|
+
/**
|
|
1856
|
+
* Escapes hash from special characters
|
|
1857
|
+
* @param {Element} container Container element that acts as the boundary
|
|
1858
|
+
* @param {Bounding} bounding element bounding that is being checked
|
|
1859
|
+
* @param {Number} offset offset from edge that counts as exceeding
|
|
1860
|
+
* @returns {Edges}
|
|
1861
1861
|
*/
|
|
1862
1862
|
M.checkWithinContainer = function (container, bounding, offset) {
|
|
1863
1863
|
var edges = {
|
|
@@ -1961,10 +1961,10 @@ M.getOverflowParent = function (element) {
|
|
|
1961
1961
|
return M.getOverflowParent(element.parentElement);
|
|
1962
1962
|
};
|
|
1963
1963
|
|
|
1964
|
-
/**
|
|
1965
|
-
* Gets id of component from a trigger
|
|
1966
|
-
* @param {Element} trigger trigger
|
|
1967
|
-
* @returns {string}
|
|
1964
|
+
/**
|
|
1965
|
+
* Gets id of component from a trigger
|
|
1966
|
+
* @param {Element} trigger trigger
|
|
1967
|
+
* @returns {string}
|
|
1968
1968
|
*/
|
|
1969
1969
|
M.getIdFromTrigger = function (trigger) {
|
|
1970
1970
|
var id = trigger.getAttribute('data-target');
|
|
@@ -1979,59 +1979,59 @@ M.getIdFromTrigger = function (trigger) {
|
|
|
1979
1979
|
return id;
|
|
1980
1980
|
};
|
|
1981
1981
|
|
|
1982
|
-
/**
|
|
1983
|
-
* Multi browser support for document scroll top
|
|
1984
|
-
* @returns {Number}
|
|
1982
|
+
/**
|
|
1983
|
+
* Multi browser support for document scroll top
|
|
1984
|
+
* @returns {Number}
|
|
1985
1985
|
*/
|
|
1986
1986
|
M.getDocumentScrollTop = function () {
|
|
1987
1987
|
return window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
|
1988
1988
|
};
|
|
1989
1989
|
|
|
1990
|
-
/**
|
|
1991
|
-
* Multi browser support for document scroll left
|
|
1992
|
-
* @returns {Number}
|
|
1990
|
+
/**
|
|
1991
|
+
* Multi browser support for document scroll left
|
|
1992
|
+
* @returns {Number}
|
|
1993
1993
|
*/
|
|
1994
1994
|
M.getDocumentScrollLeft = function () {
|
|
1995
1995
|
return window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0;
|
|
1996
1996
|
};
|
|
1997
1997
|
|
|
1998
|
-
/**
|
|
1999
|
-
* @typedef {Object} Edges
|
|
2000
|
-
* @property {Boolean} top If the top edge was exceeded
|
|
2001
|
-
* @property {Boolean} right If the right edge was exceeded
|
|
2002
|
-
* @property {Boolean} bottom If the bottom edge was exceeded
|
|
2003
|
-
* @property {Boolean} left If the left edge was exceeded
|
|
1998
|
+
/**
|
|
1999
|
+
* @typedef {Object} Edges
|
|
2000
|
+
* @property {Boolean} top If the top edge was exceeded
|
|
2001
|
+
* @property {Boolean} right If the right edge was exceeded
|
|
2002
|
+
* @property {Boolean} bottom If the bottom edge was exceeded
|
|
2003
|
+
* @property {Boolean} left If the left edge was exceeded
|
|
2004
2004
|
*/
|
|
2005
2005
|
|
|
2006
|
-
/**
|
|
2007
|
-
* @typedef {Object} Bounding
|
|
2008
|
-
* @property {Number} left left offset coordinate
|
|
2009
|
-
* @property {Number} top top offset coordinate
|
|
2010
|
-
* @property {Number} width
|
|
2011
|
-
* @property {Number} height
|
|
2006
|
+
/**
|
|
2007
|
+
* @typedef {Object} Bounding
|
|
2008
|
+
* @property {Number} left left offset coordinate
|
|
2009
|
+
* @property {Number} top top offset coordinate
|
|
2010
|
+
* @property {Number} width
|
|
2011
|
+
* @property {Number} height
|
|
2012
2012
|
*/
|
|
2013
2013
|
|
|
2014
|
-
/**
|
|
2015
|
-
* Get time in ms
|
|
2016
|
-
* @license https://raw.github.com/jashkenas/underscore/master/LICENSE
|
|
2017
|
-
* @type {function}
|
|
2018
|
-
* @return {number}
|
|
2014
|
+
/**
|
|
2015
|
+
* Get time in ms
|
|
2016
|
+
* @license https://raw.github.com/jashkenas/underscore/master/LICENSE
|
|
2017
|
+
* @type {function}
|
|
2018
|
+
* @return {number}
|
|
2019
2019
|
*/
|
|
2020
2020
|
var getTime = Date.now || function () {
|
|
2021
2021
|
return new Date().getTime();
|
|
2022
2022
|
};
|
|
2023
2023
|
|
|
2024
|
-
/**
|
|
2025
|
-
* Returns a function, that, when invoked, will only be triggered at most once
|
|
2026
|
-
* during a given window of time. Normally, the throttled function will run
|
|
2027
|
-
* as much as it can, without ever going more than once per `wait` duration;
|
|
2028
|
-
* but if you'd like to disable the execution on the leading edge, pass
|
|
2029
|
-
* `{leading: false}`. To disable execution on the trailing edge, ditto.
|
|
2030
|
-
* @license https://raw.github.com/jashkenas/underscore/master/LICENSE
|
|
2031
|
-
* @param {function} func
|
|
2032
|
-
* @param {number} wait
|
|
2033
|
-
* @param {Object=} options
|
|
2034
|
-
* @returns {Function}
|
|
2024
|
+
/**
|
|
2025
|
+
* Returns a function, that, when invoked, will only be triggered at most once
|
|
2026
|
+
* during a given window of time. Normally, the throttled function will run
|
|
2027
|
+
* as much as it can, without ever going more than once per `wait` duration;
|
|
2028
|
+
* but if you'd like to disable the execution on the leading edge, pass
|
|
2029
|
+
* `{leading: false}`. To disable execution on the trailing edge, ditto.
|
|
2030
|
+
* @license https://raw.github.com/jashkenas/underscore/master/LICENSE
|
|
2031
|
+
* @param {function} func
|
|
2032
|
+
* @param {number} wait
|
|
2033
|
+
* @param {Object=} options
|
|
2034
|
+
* @returns {Function}
|
|
2035
2035
|
*/
|
|
2036
2036
|
M.throttle = function (func, wait, options) {
|
|
2037
2037
|
var context = void 0,
|
|
@@ -2074,10 +2074,10 @@ try {
|
|
|
2074
2074
|
}
|
|
2075
2075
|
}));
|
|
2076
2076
|
} catch (err) {}
|
|
2077
|
-
; /*
|
|
2078
|
-
v2.2.0
|
|
2079
|
-
2017 Julian Garnier
|
|
2080
|
-
Released under the MIT license
|
|
2077
|
+
; /*
|
|
2078
|
+
v2.2.0
|
|
2079
|
+
2017 Julian Garnier
|
|
2080
|
+
Released under the MIT license
|
|
2081
2081
|
*/
|
|
2082
2082
|
var $jscomp = { scope: {} };$jscomp.defineProperty = "function" == typeof Object.defineProperties ? Object.defineProperty : function (e, r, p) {
|
|
2083
2083
|
if (p.get || p.set) throw new TypeError("ES3 does not support getters and setters.");e != Array.prototype && e != Object.prototype && (e[r] = p.value);
|
|
@@ -2504,19 +2504,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2504
2504
|
outDuration: 300
|
|
2505
2505
|
};
|
|
2506
2506
|
|
|
2507
|
-
/**
|
|
2508
|
-
* @class
|
|
2509
|
-
*
|
|
2507
|
+
/**
|
|
2508
|
+
* @class
|
|
2509
|
+
*
|
|
2510
2510
|
*/
|
|
2511
2511
|
|
|
2512
2512
|
var Collapsible = function (_Component) {
|
|
2513
2513
|
_inherits(Collapsible, _Component);
|
|
2514
2514
|
|
|
2515
|
-
/**
|
|
2516
|
-
* Construct Collapsible instance
|
|
2517
|
-
* @constructor
|
|
2518
|
-
* @param {Element} el
|
|
2519
|
-
* @param {Object} options
|
|
2515
|
+
/**
|
|
2516
|
+
* Construct Collapsible instance
|
|
2517
|
+
* @constructor
|
|
2518
|
+
* @param {Element} el
|
|
2519
|
+
* @param {Object} options
|
|
2520
2520
|
*/
|
|
2521
2521
|
function Collapsible(el, options) {
|
|
2522
2522
|
_classCallCheck(this, Collapsible);
|
|
@@ -2525,16 +2525,16 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2525
2525
|
|
|
2526
2526
|
_this3.el.M_Collapsible = _this3;
|
|
2527
2527
|
|
|
2528
|
-
/**
|
|
2529
|
-
* Options for the collapsible
|
|
2530
|
-
* @member Collapsible#options
|
|
2531
|
-
* @prop {Boolean} [accordion=false] - Type of the collapsible
|
|
2532
|
-
* @prop {Function} onOpenStart - Callback function called before collapsible is opened
|
|
2533
|
-
* @prop {Function} onOpenEnd - Callback function called after collapsible is opened
|
|
2534
|
-
* @prop {Function} onCloseStart - Callback function called before collapsible is closed
|
|
2535
|
-
* @prop {Function} onCloseEnd - Callback function called after collapsible is closed
|
|
2536
|
-
* @prop {Number} inDuration - Transition in duration in milliseconds.
|
|
2537
|
-
* @prop {Number} outDuration - Transition duration in milliseconds.
|
|
2528
|
+
/**
|
|
2529
|
+
* Options for the collapsible
|
|
2530
|
+
* @member Collapsible#options
|
|
2531
|
+
* @prop {Boolean} [accordion=false] - Type of the collapsible
|
|
2532
|
+
* @prop {Function} onOpenStart - Callback function called before collapsible is opened
|
|
2533
|
+
* @prop {Function} onOpenEnd - Callback function called after collapsible is opened
|
|
2534
|
+
* @prop {Function} onCloseStart - Callback function called before collapsible is closed
|
|
2535
|
+
* @prop {Function} onCloseEnd - Callback function called after collapsible is closed
|
|
2536
|
+
* @prop {Number} inDuration - Transition in duration in milliseconds.
|
|
2537
|
+
* @prop {Number} outDuration - Transition duration in milliseconds.
|
|
2538
2538
|
*/
|
|
2539
2539
|
_this3.options = $.extend({}, Collapsible.defaults, options);
|
|
2540
2540
|
|
|
@@ -2560,16 +2560,16 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2560
2560
|
key: "destroy",
|
|
2561
2561
|
|
|
2562
2562
|
|
|
2563
|
-
/**
|
|
2564
|
-
* Teardown component
|
|
2563
|
+
/**
|
|
2564
|
+
* Teardown component
|
|
2565
2565
|
*/
|
|
2566
2566
|
value: function destroy() {
|
|
2567
2567
|
this._removeEventHandlers();
|
|
2568
2568
|
this.el.M_Collapsible = undefined;
|
|
2569
2569
|
}
|
|
2570
2570
|
|
|
2571
|
-
/**
|
|
2572
|
-
* Setup Event Handlers
|
|
2571
|
+
/**
|
|
2572
|
+
* Setup Event Handlers
|
|
2573
2573
|
*/
|
|
2574
2574
|
|
|
2575
2575
|
}, {
|
|
@@ -2585,8 +2585,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2585
2585
|
});
|
|
2586
2586
|
}
|
|
2587
2587
|
|
|
2588
|
-
/**
|
|
2589
|
-
* Remove Event Handlers
|
|
2588
|
+
/**
|
|
2589
|
+
* Remove Event Handlers
|
|
2590
2590
|
*/
|
|
2591
2591
|
|
|
2592
2592
|
}, {
|
|
@@ -2600,9 +2600,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2600
2600
|
});
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
2603
|
-
/**
|
|
2604
|
-
* Handle Collapsible Click
|
|
2605
|
-
* @param {Event} e
|
|
2603
|
+
/**
|
|
2604
|
+
* Handle Collapsible Click
|
|
2605
|
+
* @param {Event} e
|
|
2606
2606
|
*/
|
|
2607
2607
|
|
|
2608
2608
|
}, {
|
|
@@ -2626,9 +2626,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
}
|
|
2628
2628
|
|
|
2629
|
-
/**
|
|
2630
|
-
* Handle Collapsible Keydown
|
|
2631
|
-
* @param {Event} e
|
|
2629
|
+
/**
|
|
2630
|
+
* Handle Collapsible Keydown
|
|
2631
|
+
* @param {Event} e
|
|
2632
2632
|
*/
|
|
2633
2633
|
|
|
2634
2634
|
}, {
|
|
@@ -2639,9 +2639,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2639
2639
|
}
|
|
2640
2640
|
}
|
|
2641
2641
|
|
|
2642
|
-
/**
|
|
2643
|
-
* Animate in collapsible slide
|
|
2644
|
-
* @param {Number} index - 0th index of slide
|
|
2642
|
+
/**
|
|
2643
|
+
* Animate in collapsible slide
|
|
2644
|
+
* @param {Number} index - 0th index of slide
|
|
2645
2645
|
*/
|
|
2646
2646
|
|
|
2647
2647
|
}, {
|
|
@@ -2694,9 +2694,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2694
2694
|
}
|
|
2695
2695
|
}
|
|
2696
2696
|
|
|
2697
|
-
/**
|
|
2698
|
-
* Animate out collapsible slide
|
|
2699
|
-
* @param {Number} index - 0th index of slide to open
|
|
2697
|
+
/**
|
|
2698
|
+
* Animate out collapsible slide
|
|
2699
|
+
* @param {Number} index - 0th index of slide to open
|
|
2700
2700
|
*/
|
|
2701
2701
|
|
|
2702
2702
|
}, {
|
|
@@ -2733,9 +2733,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2733
2733
|
}
|
|
2734
2734
|
}
|
|
2735
2735
|
|
|
2736
|
-
/**
|
|
2737
|
-
* Open Collapsible
|
|
2738
|
-
* @param {Number} index - 0th index of slide
|
|
2736
|
+
/**
|
|
2737
|
+
* Open Collapsible
|
|
2738
|
+
* @param {Number} index - 0th index of slide
|
|
2739
2739
|
*/
|
|
2740
2740
|
|
|
2741
2741
|
}, {
|
|
@@ -2766,9 +2766,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2766
2766
|
}
|
|
2767
2767
|
}
|
|
2768
2768
|
|
|
2769
|
-
/**
|
|
2770
|
-
* Close Collapsible
|
|
2771
|
-
* @param {Number} index - 0th index of slide
|
|
2769
|
+
/**
|
|
2770
|
+
* Close Collapsible
|
|
2771
|
+
* @param {Number} index - 0th index of slide
|
|
2772
2772
|
*/
|
|
2773
2773
|
|
|
2774
2774
|
}, {
|
|
@@ -2792,8 +2792,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2792
2792
|
return _get(Collapsible.__proto__ || Object.getPrototypeOf(Collapsible), "init", this).call(this, this, els, options);
|
|
2793
2793
|
}
|
|
2794
2794
|
|
|
2795
|
-
/**
|
|
2796
|
-
* Get Instance
|
|
2795
|
+
/**
|
|
2796
|
+
* Get Instance
|
|
2797
2797
|
*/
|
|
2798
2798
|
|
|
2799
2799
|
}, {
|
|
@@ -2838,8 +2838,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2838
2838
|
onItemClick: null
|
|
2839
2839
|
};
|
|
2840
2840
|
|
|
2841
|
-
/**
|
|
2842
|
-
* @class
|
|
2841
|
+
/**
|
|
2842
|
+
* @class
|
|
2843
2843
|
*/
|
|
2844
2844
|
|
|
2845
2845
|
var Dropdown = function (_Component2) {
|
|
@@ -2857,40 +2857,40 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2857
2857
|
_this9.dropdownEl = document.getElementById(_this9.id);
|
|
2858
2858
|
_this9.$dropdownEl = $(_this9.dropdownEl);
|
|
2859
2859
|
|
|
2860
|
-
/**
|
|
2861
|
-
* Options for the dropdown
|
|
2862
|
-
* @member Dropdown#options
|
|
2863
|
-
* @prop {String} [alignment='left'] - Edge which the dropdown is aligned to
|
|
2864
|
-
* @prop {Boolean} [autoFocus=true] - Automatically focus dropdown el for keyboard
|
|
2865
|
-
* @prop {Boolean} [constrainWidth=true] - Constrain width to width of the button
|
|
2866
|
-
* @prop {Element} container - Container element to attach dropdown to (optional)
|
|
2867
|
-
* @prop {Boolean} [coverTrigger=true] - Place dropdown over trigger
|
|
2868
|
-
* @prop {Boolean} [closeOnClick=true] - Close on click of dropdown item
|
|
2869
|
-
* @prop {Boolean} [hover=false] - Open dropdown on hover
|
|
2870
|
-
* @prop {Number} [inDuration=150] - Duration of open animation in ms
|
|
2871
|
-
* @prop {Number} [outDuration=250] - Duration of close animation in ms
|
|
2872
|
-
* @prop {Function} onOpenStart - Function called when dropdown starts opening
|
|
2873
|
-
* @prop {Function} onOpenEnd - Function called when dropdown finishes opening
|
|
2874
|
-
* @prop {Function} onCloseStart - Function called when dropdown starts closing
|
|
2875
|
-
* @prop {Function} onCloseEnd - Function called when dropdown finishes closing
|
|
2860
|
+
/**
|
|
2861
|
+
* Options for the dropdown
|
|
2862
|
+
* @member Dropdown#options
|
|
2863
|
+
* @prop {String} [alignment='left'] - Edge which the dropdown is aligned to
|
|
2864
|
+
* @prop {Boolean} [autoFocus=true] - Automatically focus dropdown el for keyboard
|
|
2865
|
+
* @prop {Boolean} [constrainWidth=true] - Constrain width to width of the button
|
|
2866
|
+
* @prop {Element} container - Container element to attach dropdown to (optional)
|
|
2867
|
+
* @prop {Boolean} [coverTrigger=true] - Place dropdown over trigger
|
|
2868
|
+
* @prop {Boolean} [closeOnClick=true] - Close on click of dropdown item
|
|
2869
|
+
* @prop {Boolean} [hover=false] - Open dropdown on hover
|
|
2870
|
+
* @prop {Number} [inDuration=150] - Duration of open animation in ms
|
|
2871
|
+
* @prop {Number} [outDuration=250] - Duration of close animation in ms
|
|
2872
|
+
* @prop {Function} onOpenStart - Function called when dropdown starts opening
|
|
2873
|
+
* @prop {Function} onOpenEnd - Function called when dropdown finishes opening
|
|
2874
|
+
* @prop {Function} onCloseStart - Function called when dropdown starts closing
|
|
2875
|
+
* @prop {Function} onCloseEnd - Function called when dropdown finishes closing
|
|
2876
2876
|
*/
|
|
2877
2877
|
_this9.options = $.extend({}, Dropdown.defaults, options);
|
|
2878
2878
|
|
|
2879
|
-
/**
|
|
2880
|
-
* Describes open/close state of dropdown
|
|
2881
|
-
* @type {Boolean}
|
|
2879
|
+
/**
|
|
2880
|
+
* Describes open/close state of dropdown
|
|
2881
|
+
* @type {Boolean}
|
|
2882
2882
|
*/
|
|
2883
2883
|
_this9.isOpen = false;
|
|
2884
2884
|
|
|
2885
|
-
/**
|
|
2886
|
-
* Describes if dropdown content is scrollable
|
|
2887
|
-
* @type {Boolean}
|
|
2885
|
+
/**
|
|
2886
|
+
* Describes if dropdown content is scrollable
|
|
2887
|
+
* @type {Boolean}
|
|
2888
2888
|
*/
|
|
2889
2889
|
_this9.isScrollable = false;
|
|
2890
2890
|
|
|
2891
|
-
/**
|
|
2892
|
-
* Describes if touch moving on dropdown content
|
|
2893
|
-
* @type {Boolean}
|
|
2891
|
+
/**
|
|
2892
|
+
* Describes if touch moving on dropdown content
|
|
2893
|
+
* @type {Boolean}
|
|
2894
2894
|
*/
|
|
2895
2895
|
_this9.isTouchMoving = false;
|
|
2896
2896
|
|
|
@@ -2915,8 +2915,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2915
2915
|
key: "destroy",
|
|
2916
2916
|
|
|
2917
2917
|
|
|
2918
|
-
/**
|
|
2919
|
-
* Teardown component
|
|
2918
|
+
/**
|
|
2919
|
+
* Teardown component
|
|
2920
2920
|
*/
|
|
2921
2921
|
value: function destroy() {
|
|
2922
2922
|
this._resetDropdownStyles();
|
|
@@ -2925,8 +2925,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2925
2925
|
this.el.M_Dropdown = undefined;
|
|
2926
2926
|
}
|
|
2927
2927
|
|
|
2928
|
-
/**
|
|
2929
|
-
* Setup Event Handlers
|
|
2928
|
+
/**
|
|
2929
|
+
* Setup Event Handlers
|
|
2930
2930
|
*/
|
|
2931
2931
|
|
|
2932
2932
|
}, {
|
|
@@ -2953,8 +2953,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
2953
2953
|
}
|
|
2954
2954
|
}
|
|
2955
2955
|
|
|
2956
|
-
/**
|
|
2957
|
-
* Remove Event Handlers
|
|
2956
|
+
/**
|
|
2957
|
+
* Remove Event Handlers
|
|
2958
2958
|
*/
|
|
2959
2959
|
|
|
2960
2960
|
}, {
|
|
@@ -3043,9 +3043,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3043
3043
|
}
|
|
3044
3044
|
}
|
|
3045
3045
|
|
|
3046
|
-
/**
|
|
3047
|
-
* Handle Document Touchmove
|
|
3048
|
-
* @param {Event} e
|
|
3046
|
+
/**
|
|
3047
|
+
* Handle Document Touchmove
|
|
3048
|
+
* @param {Event} e
|
|
3049
3049
|
*/
|
|
3050
3050
|
|
|
3051
3051
|
}, {
|
|
@@ -3057,9 +3057,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3057
3057
|
}
|
|
3058
3058
|
}
|
|
3059
3059
|
|
|
3060
|
-
/**
|
|
3061
|
-
* Handle Dropdown Click
|
|
3062
|
-
* @param {Event} e
|
|
3060
|
+
/**
|
|
3061
|
+
* Handle Dropdown Click
|
|
3062
|
+
* @param {Event} e
|
|
3063
3063
|
*/
|
|
3064
3064
|
|
|
3065
3065
|
}, {
|
|
@@ -3072,9 +3072,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3072
3072
|
}
|
|
3073
3073
|
}
|
|
3074
3074
|
|
|
3075
|
-
/**
|
|
3076
|
-
* Handle Dropdown Keydown
|
|
3077
|
-
* @param {Event} e
|
|
3075
|
+
/**
|
|
3076
|
+
* Handle Dropdown Keydown
|
|
3077
|
+
* @param {Event} e
|
|
3078
3078
|
*/
|
|
3079
3079
|
|
|
3080
3080
|
}, {
|
|
@@ -3145,8 +3145,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3145
3145
|
this.filterTimeout = setTimeout(this._resetFilterQueryBound, 1000);
|
|
3146
3146
|
}
|
|
3147
3147
|
|
|
3148
|
-
/**
|
|
3149
|
-
* Setup dropdown
|
|
3148
|
+
/**
|
|
3149
|
+
* Setup dropdown
|
|
3150
3150
|
*/
|
|
3151
3151
|
|
|
3152
3152
|
}, {
|
|
@@ -3295,8 +3295,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3295
3295
|
};
|
|
3296
3296
|
}
|
|
3297
3297
|
|
|
3298
|
-
/**
|
|
3299
|
-
* Animate in dropdown
|
|
3298
|
+
/**
|
|
3299
|
+
* Animate in dropdown
|
|
3300
3300
|
*/
|
|
3301
3301
|
|
|
3302
3302
|
}, {
|
|
@@ -3328,8 +3328,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3328
3328
|
});
|
|
3329
3329
|
}
|
|
3330
3330
|
|
|
3331
|
-
/**
|
|
3332
|
-
* Animate out dropdown
|
|
3331
|
+
/**
|
|
3332
|
+
* Animate out dropdown
|
|
3333
3333
|
*/
|
|
3334
3334
|
|
|
3335
3335
|
}, {
|
|
@@ -3359,18 +3359,18 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3359
3359
|
});
|
|
3360
3360
|
}
|
|
3361
3361
|
|
|
3362
|
-
/**
|
|
3363
|
-
* Place dropdown
|
|
3362
|
+
/**
|
|
3363
|
+
* Place dropdown
|
|
3364
3364
|
*/
|
|
3365
3365
|
|
|
3366
3366
|
}, {
|
|
3367
3367
|
key: "_placeDropdown",
|
|
3368
3368
|
value: function _placeDropdown() {
|
|
3369
|
-
/**
|
|
3370
|
-
* Get closest ancestor that satisfies the condition
|
|
3371
|
-
* @param {Element} el Element to find ancestors on
|
|
3372
|
-
* @param {Function} condition Function that given an ancestor element returns true or false
|
|
3373
|
-
* @returns {Element} Return closest ancestor or null if none satisfies the condition
|
|
3369
|
+
/**
|
|
3370
|
+
* Get closest ancestor that satisfies the condition
|
|
3371
|
+
* @param {Element} el Element to find ancestors on
|
|
3372
|
+
* @param {Function} condition Function that given an ancestor element returns true or false
|
|
3373
|
+
* @returns {Element} Return closest ancestor or null if none satisfies the condition
|
|
3374
3374
|
*/
|
|
3375
3375
|
var getClosestAncestor = function (el, condition) {
|
|
3376
3376
|
var ancestor = el.parentNode;
|
|
@@ -3407,8 +3407,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3407
3407
|
this.dropdownEl.style.transformOrigin = (positionInfo.horizontalAlignment === 'left' ? '0' : '100%') + " " + (positionInfo.verticalAlignment === 'top' ? '0' : '100%');
|
|
3408
3408
|
}
|
|
3409
3409
|
|
|
3410
|
-
/**
|
|
3411
|
-
* Open Dropdown
|
|
3410
|
+
/**
|
|
3411
|
+
* Open Dropdown
|
|
3412
3412
|
*/
|
|
3413
3413
|
|
|
3414
3414
|
}, {
|
|
@@ -3433,8 +3433,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3433
3433
|
this._setupTemporaryEventHandlers();
|
|
3434
3434
|
}
|
|
3435
3435
|
|
|
3436
|
-
/**
|
|
3437
|
-
* Close Dropdown
|
|
3436
|
+
/**
|
|
3437
|
+
* Close Dropdown
|
|
3438
3438
|
*/
|
|
3439
3439
|
|
|
3440
3440
|
}, {
|
|
@@ -3460,8 +3460,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3460
3460
|
}
|
|
3461
3461
|
}
|
|
3462
3462
|
|
|
3463
|
-
/**
|
|
3464
|
-
* Recalculate dimensions
|
|
3463
|
+
/**
|
|
3464
|
+
* Recalculate dimensions
|
|
3465
3465
|
*/
|
|
3466
3466
|
|
|
3467
3467
|
}, {
|
|
@@ -3484,8 +3484,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3484
3484
|
return _get(Dropdown.__proto__ || Object.getPrototypeOf(Dropdown), "init", this).call(this, this, els, options);
|
|
3485
3485
|
}
|
|
3486
3486
|
|
|
3487
|
-
/**
|
|
3488
|
-
* Get Instance
|
|
3487
|
+
/**
|
|
3488
|
+
* Get Instance
|
|
3489
3489
|
*/
|
|
3490
3490
|
|
|
3491
3491
|
}, {
|
|
@@ -3504,9 +3504,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3504
3504
|
return Dropdown;
|
|
3505
3505
|
}(Component);
|
|
3506
3506
|
|
|
3507
|
-
/**
|
|
3508
|
-
* @static
|
|
3509
|
-
* @memberof Dropdown
|
|
3507
|
+
/**
|
|
3508
|
+
* @static
|
|
3509
|
+
* @memberof Dropdown
|
|
3510
3510
|
*/
|
|
3511
3511
|
|
|
3512
3512
|
|
|
@@ -3535,19 +3535,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3535
3535
|
endingTop: '10%'
|
|
3536
3536
|
};
|
|
3537
3537
|
|
|
3538
|
-
/**
|
|
3539
|
-
* @class
|
|
3540
|
-
*
|
|
3538
|
+
/**
|
|
3539
|
+
* @class
|
|
3540
|
+
*
|
|
3541
3541
|
*/
|
|
3542
3542
|
|
|
3543
3543
|
var Modal = function (_Component3) {
|
|
3544
3544
|
_inherits(Modal, _Component3);
|
|
3545
3545
|
|
|
3546
|
-
/**
|
|
3547
|
-
* Construct Modal instance and set up overlay
|
|
3548
|
-
* @constructor
|
|
3549
|
-
* @param {Element} el
|
|
3550
|
-
* @param {Object} options
|
|
3546
|
+
/**
|
|
3547
|
+
* Construct Modal instance and set up overlay
|
|
3548
|
+
* @constructor
|
|
3549
|
+
* @param {Element} el
|
|
3550
|
+
* @param {Object} options
|
|
3551
3551
|
*/
|
|
3552
3552
|
function Modal(el, options) {
|
|
3553
3553
|
_classCallCheck(this, Modal);
|
|
@@ -3556,25 +3556,25 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3556
3556
|
|
|
3557
3557
|
_this13.el.M_Modal = _this13;
|
|
3558
3558
|
|
|
3559
|
-
/**
|
|
3560
|
-
* Options for the modal
|
|
3561
|
-
* @member Modal#options
|
|
3562
|
-
* @prop {Number} [opacity=0.5] - Opacity of the modal overlay
|
|
3563
|
-
* @prop {Number} [inDuration=250] - Length in ms of enter transition
|
|
3564
|
-
* @prop {Number} [outDuration=250] - Length in ms of exit transition
|
|
3565
|
-
* @prop {Function} onOpenStart - Callback function called before modal is opened
|
|
3566
|
-
* @prop {Function} onOpenEnd - Callback function called after modal is opened
|
|
3567
|
-
* @prop {Function} onCloseStart - Callback function called before modal is closed
|
|
3568
|
-
* @prop {Function} onCloseEnd - Callback function called after modal is closed
|
|
3569
|
-
* @prop {Boolean} [dismissible=true] - Allow modal to be dismissed by keyboard or overlay click
|
|
3570
|
-
* @prop {String} [startingTop='4%'] - startingTop
|
|
3571
|
-
* @prop {String} [endingTop='10%'] - endingTop
|
|
3559
|
+
/**
|
|
3560
|
+
* Options for the modal
|
|
3561
|
+
* @member Modal#options
|
|
3562
|
+
* @prop {Number} [opacity=0.5] - Opacity of the modal overlay
|
|
3563
|
+
* @prop {Number} [inDuration=250] - Length in ms of enter transition
|
|
3564
|
+
* @prop {Number} [outDuration=250] - Length in ms of exit transition
|
|
3565
|
+
* @prop {Function} onOpenStart - Callback function called before modal is opened
|
|
3566
|
+
* @prop {Function} onOpenEnd - Callback function called after modal is opened
|
|
3567
|
+
* @prop {Function} onCloseStart - Callback function called before modal is closed
|
|
3568
|
+
* @prop {Function} onCloseEnd - Callback function called after modal is closed
|
|
3569
|
+
* @prop {Boolean} [dismissible=true] - Allow modal to be dismissed by keyboard or overlay click
|
|
3570
|
+
* @prop {String} [startingTop='4%'] - startingTop
|
|
3571
|
+
* @prop {String} [endingTop='10%'] - endingTop
|
|
3572
3572
|
*/
|
|
3573
3573
|
_this13.options = $.extend({}, Modal.defaults, options);
|
|
3574
3574
|
|
|
3575
|
-
/**
|
|
3576
|
-
* Describes open/close state of modal
|
|
3577
|
-
* @type {Boolean}
|
|
3575
|
+
/**
|
|
3576
|
+
* Describes open/close state of modal
|
|
3577
|
+
* @type {Boolean}
|
|
3578
3578
|
*/
|
|
3579
3579
|
_this13.isOpen = false;
|
|
3580
3580
|
|
|
@@ -3593,8 +3593,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3593
3593
|
key: "destroy",
|
|
3594
3594
|
|
|
3595
3595
|
|
|
3596
|
-
/**
|
|
3597
|
-
* Teardown component
|
|
3596
|
+
/**
|
|
3597
|
+
* Teardown component
|
|
3598
3598
|
*/
|
|
3599
3599
|
value: function destroy() {
|
|
3600
3600
|
Modal._count--;
|
|
@@ -3604,8 +3604,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3604
3604
|
this.el.M_Modal = undefined;
|
|
3605
3605
|
}
|
|
3606
3606
|
|
|
3607
|
-
/**
|
|
3608
|
-
* Setup Event Handlers
|
|
3607
|
+
/**
|
|
3608
|
+
* Setup Event Handlers
|
|
3609
3609
|
*/
|
|
3610
3610
|
|
|
3611
3611
|
}, {
|
|
@@ -3621,8 +3621,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3621
3621
|
this.el.addEventListener('click', this._handleModalCloseClickBound);
|
|
3622
3622
|
}
|
|
3623
3623
|
|
|
3624
|
-
/**
|
|
3625
|
-
* Remove Event Handlers
|
|
3624
|
+
/**
|
|
3625
|
+
* Remove Event Handlers
|
|
3626
3626
|
*/
|
|
3627
3627
|
|
|
3628
3628
|
}, {
|
|
@@ -3635,9 +3635,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3635
3635
|
this.el.removeEventListener('click', this._handleModalCloseClickBound);
|
|
3636
3636
|
}
|
|
3637
3637
|
|
|
3638
|
-
/**
|
|
3639
|
-
* Handle Trigger Click
|
|
3640
|
-
* @param {Event} e
|
|
3638
|
+
/**
|
|
3639
|
+
* Handle Trigger Click
|
|
3640
|
+
* @param {Event} e
|
|
3641
3641
|
*/
|
|
3642
3642
|
|
|
3643
3643
|
}, {
|
|
@@ -3654,8 +3654,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3654
3654
|
}
|
|
3655
3655
|
}
|
|
3656
3656
|
|
|
3657
|
-
/**
|
|
3658
|
-
* Handle Overlay Click
|
|
3657
|
+
/**
|
|
3658
|
+
* Handle Overlay Click
|
|
3659
3659
|
*/
|
|
3660
3660
|
|
|
3661
3661
|
}, {
|
|
@@ -3666,9 +3666,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
}
|
|
3668
3668
|
|
|
3669
|
-
/**
|
|
3670
|
-
* Handle Modal Close Click
|
|
3671
|
-
* @param {Event} e
|
|
3669
|
+
/**
|
|
3670
|
+
* Handle Modal Close Click
|
|
3671
|
+
* @param {Event} e
|
|
3672
3672
|
*/
|
|
3673
3673
|
|
|
3674
3674
|
}, {
|
|
@@ -3680,9 +3680,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3680
3680
|
}
|
|
3681
3681
|
}
|
|
3682
3682
|
|
|
3683
|
-
/**
|
|
3684
|
-
* Handle Keydown
|
|
3685
|
-
* @param {Event} e
|
|
3683
|
+
/**
|
|
3684
|
+
* Handle Keydown
|
|
3685
|
+
* @param {Event} e
|
|
3686
3686
|
*/
|
|
3687
3687
|
|
|
3688
3688
|
}, {
|
|
@@ -3694,9 +3694,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
|
|
3697
|
-
/**
|
|
3698
|
-
* Handle Focus
|
|
3699
|
-
* @param {Event} e
|
|
3697
|
+
/**
|
|
3698
|
+
* Handle Focus
|
|
3699
|
+
* @param {Event} e
|
|
3700
3700
|
*/
|
|
3701
3701
|
|
|
3702
3702
|
}, {
|
|
@@ -3708,8 +3708,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3708
3708
|
}
|
|
3709
3709
|
}
|
|
3710
3710
|
|
|
3711
|
-
/**
|
|
3712
|
-
* Animate in modal
|
|
3711
|
+
/**
|
|
3712
|
+
* Animate in modal
|
|
3713
3713
|
*/
|
|
3714
3714
|
|
|
3715
3715
|
}, {
|
|
@@ -3768,8 +3768,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3768
3768
|
}
|
|
3769
3769
|
}
|
|
3770
3770
|
|
|
3771
|
-
/**
|
|
3772
|
-
* Animate out modal
|
|
3771
|
+
/**
|
|
3772
|
+
* Animate out modal
|
|
3773
3773
|
*/
|
|
3774
3774
|
|
|
3775
3775
|
}, {
|
|
@@ -3822,9 +3822,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3822
3822
|
}
|
|
3823
3823
|
}
|
|
3824
3824
|
|
|
3825
|
-
/**
|
|
3826
|
-
* Open Modal
|
|
3827
|
-
* @param {cash} [$trigger]
|
|
3825
|
+
/**
|
|
3826
|
+
* Open Modal
|
|
3827
|
+
* @param {cash} [$trigger]
|
|
3828
3828
|
*/
|
|
3829
3829
|
|
|
3830
3830
|
}, {
|
|
@@ -3874,8 +3874,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3874
3874
|
return this;
|
|
3875
3875
|
}
|
|
3876
3876
|
|
|
3877
|
-
/**
|
|
3878
|
-
* Close Modal
|
|
3877
|
+
/**
|
|
3878
|
+
* Close Modal
|
|
3879
3879
|
*/
|
|
3880
3880
|
|
|
3881
3881
|
}, {
|
|
@@ -3917,8 +3917,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3917
3917
|
return _get(Modal.__proto__ || Object.getPrototypeOf(Modal), "init", this).call(this, this, els, options);
|
|
3918
3918
|
}
|
|
3919
3919
|
|
|
3920
|
-
/**
|
|
3921
|
-
* Get Instance
|
|
3920
|
+
/**
|
|
3921
|
+
* Get Instance
|
|
3922
3922
|
*/
|
|
3923
3923
|
|
|
3924
3924
|
}, {
|
|
@@ -3937,17 +3937,17 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3937
3937
|
return Modal;
|
|
3938
3938
|
}(Component);
|
|
3939
3939
|
|
|
3940
|
-
/**
|
|
3941
|
-
* @static
|
|
3942
|
-
* @memberof Modal
|
|
3940
|
+
/**
|
|
3941
|
+
* @static
|
|
3942
|
+
* @memberof Modal
|
|
3943
3943
|
*/
|
|
3944
3944
|
|
|
3945
3945
|
|
|
3946
3946
|
Modal._modalsOpen = 0;
|
|
3947
3947
|
|
|
3948
|
-
/**
|
|
3949
|
-
* @static
|
|
3950
|
-
* @memberof Modal
|
|
3948
|
+
/**
|
|
3949
|
+
* @static
|
|
3950
|
+
* @memberof Modal
|
|
3951
3951
|
*/
|
|
3952
3952
|
Modal._count = 0;
|
|
3953
3953
|
|
|
@@ -3969,19 +3969,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3969
3969
|
onCloseEnd: null
|
|
3970
3970
|
};
|
|
3971
3971
|
|
|
3972
|
-
/**
|
|
3973
|
-
* @class
|
|
3974
|
-
*
|
|
3972
|
+
/**
|
|
3973
|
+
* @class
|
|
3974
|
+
*
|
|
3975
3975
|
*/
|
|
3976
3976
|
|
|
3977
3977
|
var Materialbox = function (_Component4) {
|
|
3978
3978
|
_inherits(Materialbox, _Component4);
|
|
3979
3979
|
|
|
3980
|
-
/**
|
|
3981
|
-
* Construct Materialbox instance
|
|
3982
|
-
* @constructor
|
|
3983
|
-
* @param {Element} el
|
|
3984
|
-
* @param {Object} options
|
|
3980
|
+
/**
|
|
3981
|
+
* Construct Materialbox instance
|
|
3982
|
+
* @constructor
|
|
3983
|
+
* @param {Element} el
|
|
3984
|
+
* @param {Object} options
|
|
3985
3985
|
*/
|
|
3986
3986
|
function Materialbox(el, options) {
|
|
3987
3987
|
_classCallCheck(this, Materialbox);
|
|
@@ -3990,15 +3990,15 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
3990
3990
|
|
|
3991
3991
|
_this16.el.M_Materialbox = _this16;
|
|
3992
3992
|
|
|
3993
|
-
/**
|
|
3994
|
-
* Options for the modal
|
|
3995
|
-
* @member Materialbox#options
|
|
3996
|
-
* @prop {Number} [inDuration=275] - Length in ms of enter transition
|
|
3997
|
-
* @prop {Number} [outDuration=200] - Length in ms of exit transition
|
|
3998
|
-
* @prop {Function} onOpenStart - Callback function called before materialbox is opened
|
|
3999
|
-
* @prop {Function} onOpenEnd - Callback function called after materialbox is opened
|
|
4000
|
-
* @prop {Function} onCloseStart - Callback function called before materialbox is closed
|
|
4001
|
-
* @prop {Function} onCloseEnd - Callback function called after materialbox is closed
|
|
3993
|
+
/**
|
|
3994
|
+
* Options for the modal
|
|
3995
|
+
* @member Materialbox#options
|
|
3996
|
+
* @prop {Number} [inDuration=275] - Length in ms of enter transition
|
|
3997
|
+
* @prop {Number} [outDuration=200] - Length in ms of exit transition
|
|
3998
|
+
* @prop {Function} onOpenStart - Callback function called before materialbox is opened
|
|
3999
|
+
* @prop {Function} onOpenEnd - Callback function called after materialbox is opened
|
|
4000
|
+
* @prop {Function} onCloseStart - Callback function called before materialbox is closed
|
|
4001
|
+
* @prop {Function} onCloseEnd - Callback function called after materialbox is closed
|
|
4002
4002
|
*/
|
|
4003
4003
|
_this16.options = $.extend({}, Materialbox.defaults, options);
|
|
4004
4004
|
|
|
@@ -4022,8 +4022,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4022
4022
|
key: "destroy",
|
|
4023
4023
|
|
|
4024
4024
|
|
|
4025
|
-
/**
|
|
4026
|
-
* Teardown component
|
|
4025
|
+
/**
|
|
4026
|
+
* Teardown component
|
|
4027
4027
|
*/
|
|
4028
4028
|
value: function destroy() {
|
|
4029
4029
|
this._removeEventHandlers();
|
|
@@ -4035,8 +4035,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4035
4035
|
this.$el.removeAttr('style');
|
|
4036
4036
|
}
|
|
4037
4037
|
|
|
4038
|
-
/**
|
|
4039
|
-
* Setup Event Handlers
|
|
4038
|
+
/**
|
|
4039
|
+
* Setup Event Handlers
|
|
4040
4040
|
*/
|
|
4041
4041
|
|
|
4042
4042
|
}, {
|
|
@@ -4046,8 +4046,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4046
4046
|
this.el.addEventListener('click', this._handleMaterialboxClickBound);
|
|
4047
4047
|
}
|
|
4048
4048
|
|
|
4049
|
-
/**
|
|
4050
|
-
* Remove Event Handlers
|
|
4049
|
+
/**
|
|
4050
|
+
* Remove Event Handlers
|
|
4051
4051
|
*/
|
|
4052
4052
|
|
|
4053
4053
|
}, {
|
|
@@ -4056,9 +4056,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4056
4056
|
this.el.removeEventListener('click', this._handleMaterialboxClickBound);
|
|
4057
4057
|
}
|
|
4058
4058
|
|
|
4059
|
-
/**
|
|
4060
|
-
* Handle Materialbox Click
|
|
4061
|
-
* @param {Event} e
|
|
4059
|
+
/**
|
|
4060
|
+
* Handle Materialbox Click
|
|
4061
|
+
* @param {Event} e
|
|
4062
4062
|
*/
|
|
4063
4063
|
|
|
4064
4064
|
}, {
|
|
@@ -4072,8 +4072,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4072
4072
|
}
|
|
4073
4073
|
}
|
|
4074
4074
|
|
|
4075
|
-
/**
|
|
4076
|
-
* Handle Window Scroll
|
|
4075
|
+
/**
|
|
4076
|
+
* Handle Window Scroll
|
|
4077
4077
|
*/
|
|
4078
4078
|
|
|
4079
4079
|
}, {
|
|
@@ -4084,8 +4084,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4084
4084
|
}
|
|
4085
4085
|
}
|
|
4086
4086
|
|
|
4087
|
-
/**
|
|
4088
|
-
* Handle Window Resize
|
|
4087
|
+
/**
|
|
4088
|
+
* Handle Window Resize
|
|
4089
4089
|
*/
|
|
4090
4090
|
|
|
4091
4091
|
}, {
|
|
@@ -4096,9 +4096,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4096
4096
|
}
|
|
4097
4097
|
}
|
|
4098
4098
|
|
|
4099
|
-
/**
|
|
4100
|
-
* Handle Window Resize
|
|
4101
|
-
* @param {Event} e
|
|
4099
|
+
/**
|
|
4100
|
+
* Handle Window Resize
|
|
4101
|
+
* @param {Event} e
|
|
4102
4102
|
*/
|
|
4103
4103
|
|
|
4104
4104
|
}, {
|
|
@@ -4110,8 +4110,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4110
4110
|
}
|
|
4111
4111
|
}
|
|
4112
4112
|
|
|
4113
|
-
/**
|
|
4114
|
-
* Find ancestors with overflow: hidden; and make visible
|
|
4113
|
+
/**
|
|
4114
|
+
* Find ancestors with overflow: hidden; and make visible
|
|
4115
4115
|
*/
|
|
4116
4116
|
|
|
4117
4117
|
}, {
|
|
@@ -4133,8 +4133,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4133
4133
|
}
|
|
4134
4134
|
}
|
|
4135
4135
|
|
|
4136
|
-
/**
|
|
4137
|
-
* Animate image in
|
|
4136
|
+
/**
|
|
4137
|
+
* Animate image in
|
|
4138
4138
|
*/
|
|
4139
4139
|
|
|
4140
4140
|
}, {
|
|
@@ -4173,8 +4173,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4173
4173
|
anim(animOptions);
|
|
4174
4174
|
}
|
|
4175
4175
|
|
|
4176
|
-
/**
|
|
4177
|
-
* Animate image out
|
|
4176
|
+
/**
|
|
4177
|
+
* Animate image out
|
|
4178
4178
|
*/
|
|
4179
4179
|
|
|
4180
4180
|
}, {
|
|
@@ -4229,8 +4229,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4229
4229
|
anim(animOptions);
|
|
4230
4230
|
}
|
|
4231
4231
|
|
|
4232
|
-
/**
|
|
4233
|
-
* Update open and close vars
|
|
4232
|
+
/**
|
|
4233
|
+
* Update open and close vars
|
|
4234
4234
|
*/
|
|
4235
4235
|
|
|
4236
4236
|
}, {
|
|
@@ -4241,8 +4241,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4241
4241
|
this.caption = this.el.getAttribute('data-caption') || '';
|
|
4242
4242
|
}
|
|
4243
4243
|
|
|
4244
|
-
/**
|
|
4245
|
-
* Open Materialbox
|
|
4244
|
+
/**
|
|
4245
|
+
* Open Materialbox
|
|
4246
4246
|
*/
|
|
4247
4247
|
|
|
4248
4248
|
}, {
|
|
@@ -4373,8 +4373,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4373
4373
|
window.addEventListener('keyup', this._handleWindowEscapeBound);
|
|
4374
4374
|
}
|
|
4375
4375
|
|
|
4376
|
-
/**
|
|
4377
|
-
* Close Materialbox
|
|
4376
|
+
/**
|
|
4377
|
+
* Close Materialbox
|
|
4378
4378
|
*/
|
|
4379
4379
|
|
|
4380
4380
|
}, {
|
|
@@ -4434,8 +4434,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4434
4434
|
return _get(Materialbox.__proto__ || Object.getPrototypeOf(Materialbox), "init", this).call(this, this, els, options);
|
|
4435
4435
|
}
|
|
4436
4436
|
|
|
4437
|
-
/**
|
|
4438
|
-
* Get Instance
|
|
4437
|
+
/**
|
|
4438
|
+
* Get Instance
|
|
4439
4439
|
*/
|
|
4440
4440
|
|
|
4441
4441
|
}, {
|
|
@@ -4477,10 +4477,10 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4477
4477
|
|
|
4478
4478
|
_this21.el.M_Parallax = _this21;
|
|
4479
4479
|
|
|
4480
|
-
/**
|
|
4481
|
-
* Options for the Parallax
|
|
4482
|
-
* @member Parallax#options
|
|
4483
|
-
* @prop {Number} responsiveThreshold
|
|
4480
|
+
/**
|
|
4481
|
+
* Options for the Parallax
|
|
4482
|
+
* @member Parallax#options
|
|
4483
|
+
* @prop {Number} responsiveThreshold
|
|
4484
4484
|
*/
|
|
4485
4485
|
_this21.options = $.extend({}, Parallax.defaults, options);
|
|
4486
4486
|
_this21._enabled = window.innerWidth > _this21.options.responsiveThreshold;
|
|
@@ -4503,8 +4503,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4503
4503
|
key: "destroy",
|
|
4504
4504
|
|
|
4505
4505
|
|
|
4506
|
-
/**
|
|
4507
|
-
* Teardown component
|
|
4506
|
+
/**
|
|
4507
|
+
* Teardown component
|
|
4508
4508
|
*/
|
|
4509
4509
|
value: function destroy() {
|
|
4510
4510
|
Parallax._parallaxes.splice(Parallax._parallaxes.indexOf(this), 1);
|
|
@@ -4573,8 +4573,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4573
4573
|
return _get(Parallax.__proto__ || Object.getPrototypeOf(Parallax), "init", this).call(this, this, els, options);
|
|
4574
4574
|
}
|
|
4575
4575
|
|
|
4576
|
-
/**
|
|
4577
|
-
* Get Instance
|
|
4576
|
+
/**
|
|
4577
|
+
* Get Instance
|
|
4578
4578
|
*/
|
|
4579
4579
|
|
|
4580
4580
|
}, {
|
|
@@ -4609,9 +4609,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4609
4609
|
return Parallax;
|
|
4610
4610
|
}(Component);
|
|
4611
4611
|
|
|
4612
|
-
/**
|
|
4613
|
-
* @static
|
|
4614
|
-
* @memberof Parallax
|
|
4612
|
+
/**
|
|
4613
|
+
* @static
|
|
4614
|
+
* @memberof Parallax
|
|
4615
4615
|
*/
|
|
4616
4616
|
|
|
4617
4617
|
|
|
@@ -4633,19 +4633,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4633
4633
|
responsiveThreshold: Infinity // breakpoint for swipeable
|
|
4634
4634
|
};
|
|
4635
4635
|
|
|
4636
|
-
/**
|
|
4637
|
-
* @class
|
|
4638
|
-
*
|
|
4636
|
+
/**
|
|
4637
|
+
* @class
|
|
4638
|
+
*
|
|
4639
4639
|
*/
|
|
4640
4640
|
|
|
4641
4641
|
var Tabs = function (_Component6) {
|
|
4642
4642
|
_inherits(Tabs, _Component6);
|
|
4643
4643
|
|
|
4644
|
-
/**
|
|
4645
|
-
* Construct Tabs instance
|
|
4646
|
-
* @constructor
|
|
4647
|
-
* @param {Element} el
|
|
4648
|
-
* @param {Object} options
|
|
4644
|
+
/**
|
|
4645
|
+
* Construct Tabs instance
|
|
4646
|
+
* @constructor
|
|
4647
|
+
* @param {Element} el
|
|
4648
|
+
* @param {Object} options
|
|
4649
4649
|
*/
|
|
4650
4650
|
function Tabs(el, options) {
|
|
4651
4651
|
_classCallCheck(this, Tabs);
|
|
@@ -4654,13 +4654,13 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4654
4654
|
|
|
4655
4655
|
_this22.el.M_Tabs = _this22;
|
|
4656
4656
|
|
|
4657
|
-
/**
|
|
4658
|
-
* Options for the Tabs
|
|
4659
|
-
* @member Tabs#options
|
|
4660
|
-
* @prop {Number} duration
|
|
4661
|
-
* @prop {Function} onShow
|
|
4662
|
-
* @prop {Boolean} swipeable
|
|
4663
|
-
* @prop {Number} responsiveThreshold
|
|
4657
|
+
/**
|
|
4658
|
+
* Options for the Tabs
|
|
4659
|
+
* @member Tabs#options
|
|
4660
|
+
* @prop {Number} duration
|
|
4661
|
+
* @prop {Function} onShow
|
|
4662
|
+
* @prop {Boolean} swipeable
|
|
4663
|
+
* @prop {Number} responsiveThreshold
|
|
4664
4664
|
*/
|
|
4665
4665
|
_this22.options = $.extend({}, Tabs.defaults, options);
|
|
4666
4666
|
|
|
@@ -4688,8 +4688,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4688
4688
|
key: "destroy",
|
|
4689
4689
|
|
|
4690
4690
|
|
|
4691
|
-
/**
|
|
4692
|
-
* Teardown component
|
|
4691
|
+
/**
|
|
4692
|
+
* Teardown component
|
|
4693
4693
|
*/
|
|
4694
4694
|
value: function destroy() {
|
|
4695
4695
|
this._removeEventHandlers();
|
|
@@ -4704,8 +4704,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4704
4704
|
this.$el[0].M_Tabs = undefined;
|
|
4705
4705
|
}
|
|
4706
4706
|
|
|
4707
|
-
/**
|
|
4708
|
-
* Setup Event Handlers
|
|
4707
|
+
/**
|
|
4708
|
+
* Setup Event Handlers
|
|
4709
4709
|
*/
|
|
4710
4710
|
|
|
4711
4711
|
}, {
|
|
@@ -4718,8 +4718,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4718
4718
|
this.el.addEventListener('click', this._handleTabClickBound);
|
|
4719
4719
|
}
|
|
4720
4720
|
|
|
4721
|
-
/**
|
|
4722
|
-
* Remove Event Handlers
|
|
4721
|
+
/**
|
|
4722
|
+
* Remove Event Handlers
|
|
4723
4723
|
*/
|
|
4724
4724
|
|
|
4725
4725
|
}, {
|
|
@@ -4729,8 +4729,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4729
4729
|
this.el.removeEventListener('click', this._handleTabClickBound);
|
|
4730
4730
|
}
|
|
4731
4731
|
|
|
4732
|
-
/**
|
|
4733
|
-
* Handle window Resize
|
|
4732
|
+
/**
|
|
4733
|
+
* Handle window Resize
|
|
4734
4734
|
*/
|
|
4735
4735
|
|
|
4736
4736
|
}, {
|
|
@@ -4744,9 +4744,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4744
4744
|
}
|
|
4745
4745
|
}
|
|
4746
4746
|
|
|
4747
|
-
/**
|
|
4748
|
-
* Handle tab click
|
|
4749
|
-
* @param {Event} e
|
|
4747
|
+
/**
|
|
4748
|
+
* Handle tab click
|
|
4749
|
+
* @param {Event} e
|
|
4750
4750
|
*/
|
|
4751
4751
|
|
|
4752
4752
|
}, {
|
|
@@ -4820,8 +4820,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4820
4820
|
e.preventDefault();
|
|
4821
4821
|
}
|
|
4822
4822
|
|
|
4823
|
-
/**
|
|
4824
|
-
* Generate elements for tab indicator.
|
|
4823
|
+
/**
|
|
4824
|
+
* Generate elements for tab indicator.
|
|
4825
4825
|
*/
|
|
4826
4826
|
|
|
4827
4827
|
}, {
|
|
@@ -4841,8 +4841,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4841
4841
|
}, 0);
|
|
4842
4842
|
}
|
|
4843
4843
|
|
|
4844
|
-
/**
|
|
4845
|
-
* Setup first active tab link.
|
|
4844
|
+
/**
|
|
4845
|
+
* Setup first active tab link.
|
|
4846
4846
|
*/
|
|
4847
4847
|
|
|
4848
4848
|
}, {
|
|
@@ -4870,8 +4870,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4870
4870
|
}
|
|
4871
4871
|
}
|
|
4872
4872
|
|
|
4873
|
-
/**
|
|
4874
|
-
* Setup swipeable tabs
|
|
4873
|
+
/**
|
|
4874
|
+
* Setup swipeable tabs
|
|
4875
4875
|
*/
|
|
4876
4876
|
|
|
4877
4877
|
}, {
|
|
@@ -4919,8 +4919,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4919
4919
|
this._tabsCarousel.set(activeTabIndex);
|
|
4920
4920
|
}
|
|
4921
4921
|
|
|
4922
|
-
/**
|
|
4923
|
-
* Teardown normal tabs.
|
|
4922
|
+
/**
|
|
4923
|
+
* Teardown normal tabs.
|
|
4924
4924
|
*/
|
|
4925
4925
|
|
|
4926
4926
|
}, {
|
|
@@ -4934,8 +4934,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4934
4934
|
$tabsWrapper.remove();
|
|
4935
4935
|
}
|
|
4936
4936
|
|
|
4937
|
-
/**
|
|
4938
|
-
* Setup normal tabs.
|
|
4937
|
+
/**
|
|
4938
|
+
* Setup normal tabs.
|
|
4939
4939
|
*/
|
|
4940
4940
|
|
|
4941
4941
|
}, {
|
|
@@ -4952,8 +4952,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4952
4952
|
});
|
|
4953
4953
|
}
|
|
4954
4954
|
|
|
4955
|
-
/**
|
|
4956
|
-
* Teardown normal tabs.
|
|
4955
|
+
/**
|
|
4956
|
+
* Teardown normal tabs.
|
|
4957
4957
|
*/
|
|
4958
4958
|
|
|
4959
4959
|
}, {
|
|
@@ -4970,8 +4970,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4970
4970
|
});
|
|
4971
4971
|
}
|
|
4972
4972
|
|
|
4973
|
-
/**
|
|
4974
|
-
* set tabs and tab width
|
|
4973
|
+
/**
|
|
4974
|
+
* set tabs and tab width
|
|
4975
4975
|
*/
|
|
4976
4976
|
|
|
4977
4977
|
}, {
|
|
@@ -4981,9 +4981,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4981
4981
|
this.tabWidth = Math.max(this.tabsWidth, this.el.scrollWidth) / this.$tabLinks.length;
|
|
4982
4982
|
}
|
|
4983
4983
|
|
|
4984
|
-
/**
|
|
4985
|
-
* Finds right attribute for indicator based on active tab.
|
|
4986
|
-
* @param {cash} el
|
|
4984
|
+
/**
|
|
4985
|
+
* Finds right attribute for indicator based on active tab.
|
|
4986
|
+
* @param {cash} el
|
|
4987
4987
|
*/
|
|
4988
4988
|
|
|
4989
4989
|
}, {
|
|
@@ -4992,9 +4992,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
4992
4992
|
return Math.ceil(this.tabsWidth - el.position().left - el[0].getBoundingClientRect().width);
|
|
4993
4993
|
}
|
|
4994
4994
|
|
|
4995
|
-
/**
|
|
4996
|
-
* Finds left attribute for indicator based on active tab.
|
|
4997
|
-
* @param {cash} el
|
|
4995
|
+
/**
|
|
4996
|
+
* Finds left attribute for indicator based on active tab.
|
|
4997
|
+
* @param {cash} el
|
|
4998
4998
|
*/
|
|
4999
4999
|
|
|
5000
5000
|
}, {
|
|
@@ -5009,9 +5009,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5009
5009
|
this._animateIndicator(this.index);
|
|
5010
5010
|
}
|
|
5011
5011
|
|
|
5012
|
-
/**
|
|
5013
|
-
* Animates Indicator to active tab.
|
|
5014
|
-
* @param {Number} prevIndex
|
|
5012
|
+
/**
|
|
5013
|
+
* Animates Indicator to active tab.
|
|
5014
|
+
* @param {Number} prevIndex
|
|
5015
5015
|
*/
|
|
5016
5016
|
|
|
5017
5017
|
}, {
|
|
@@ -5044,9 +5044,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5044
5044
|
anim(animOptions);
|
|
5045
5045
|
}
|
|
5046
5046
|
|
|
5047
|
-
/**
|
|
5048
|
-
* Select tab.
|
|
5049
|
-
* @param {String} tabId
|
|
5047
|
+
/**
|
|
5048
|
+
* Select tab.
|
|
5049
|
+
* @param {String} tabId
|
|
5050
5050
|
*/
|
|
5051
5051
|
|
|
5052
5052
|
}, {
|
|
@@ -5063,8 +5063,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5063
5063
|
return _get(Tabs.__proto__ || Object.getPrototypeOf(Tabs), "init", this).call(this, this, els, options);
|
|
5064
5064
|
}
|
|
5065
5065
|
|
|
5066
|
-
/**
|
|
5067
|
-
* Get Instance
|
|
5066
|
+
/**
|
|
5067
|
+
* Get Instance
|
|
5068
5068
|
*/
|
|
5069
5069
|
|
|
5070
5070
|
}, {
|
|
@@ -5105,19 +5105,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5105
5105
|
transitionMovement: 10
|
|
5106
5106
|
};
|
|
5107
5107
|
|
|
5108
|
-
/**
|
|
5109
|
-
* @class
|
|
5110
|
-
*
|
|
5108
|
+
/**
|
|
5109
|
+
* @class
|
|
5110
|
+
*
|
|
5111
5111
|
*/
|
|
5112
5112
|
|
|
5113
5113
|
var Tooltip = function (_Component7) {
|
|
5114
5114
|
_inherits(Tooltip, _Component7);
|
|
5115
5115
|
|
|
5116
|
-
/**
|
|
5117
|
-
* Construct Tooltip instance
|
|
5118
|
-
* @constructor
|
|
5119
|
-
* @param {Element} el
|
|
5120
|
-
* @param {Object} options
|
|
5116
|
+
/**
|
|
5117
|
+
* Construct Tooltip instance
|
|
5118
|
+
* @constructor
|
|
5119
|
+
* @param {Element} el
|
|
5120
|
+
* @param {Object} options
|
|
5121
5121
|
*/
|
|
5122
5122
|
function Tooltip(el, options) {
|
|
5123
5123
|
_classCallCheck(this, Tooltip);
|
|
@@ -5139,8 +5139,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5139
5139
|
key: "destroy",
|
|
5140
5140
|
|
|
5141
5141
|
|
|
5142
|
-
/**
|
|
5143
|
-
* Teardown component
|
|
5142
|
+
/**
|
|
5143
|
+
* Teardown component
|
|
5144
5144
|
*/
|
|
5145
5145
|
value: function destroy() {
|
|
5146
5146
|
$(this.tooltipEl).remove();
|
|
@@ -5225,8 +5225,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5225
5225
|
this._setExitDelayTimeout();
|
|
5226
5226
|
}
|
|
5227
5227
|
|
|
5228
|
-
/**
|
|
5229
|
-
* Create timeout which delays when the tooltip closes
|
|
5228
|
+
/**
|
|
5229
|
+
* Create timeout which delays when the tooltip closes
|
|
5230
5230
|
*/
|
|
5231
5231
|
|
|
5232
5232
|
}, {
|
|
@@ -5245,8 +5245,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5245
5245
|
}, this.options.exitDelay);
|
|
5246
5246
|
}
|
|
5247
5247
|
|
|
5248
|
-
/**
|
|
5249
|
-
* Create timeout which delays when the toast closes
|
|
5248
|
+
/**
|
|
5249
|
+
* Create timeout which delays when the toast closes
|
|
5250
5250
|
*/
|
|
5251
5251
|
|
|
5252
5252
|
}, {
|
|
@@ -5420,8 +5420,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5420
5420
|
return _get(Tooltip.__proto__ || Object.getPrototypeOf(Tooltip), "init", this).call(this, this, els, options);
|
|
5421
5421
|
}
|
|
5422
5422
|
|
|
5423
|
-
/**
|
|
5424
|
-
* Get Instance
|
|
5423
|
+
/**
|
|
5424
|
+
* Get Instance
|
|
5425
5425
|
*/
|
|
5426
5426
|
|
|
5427
5427
|
}, {
|
|
@@ -5465,9 +5465,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5465
5465
|
function Toast(options) {
|
|
5466
5466
|
_classCallCheck(this, Toast);
|
|
5467
5467
|
|
|
5468
|
-
/**
|
|
5469
|
-
* Options for the toast
|
|
5470
|
-
* @member Toast#options
|
|
5468
|
+
/**
|
|
5469
|
+
* Options for the toast
|
|
5470
|
+
* @member Toast#options
|
|
5471
5471
|
*/
|
|
5472
5472
|
this.options = $.extend({}, Toast.defaults, options);
|
|
5473
5473
|
this.htmlMessage = this.options.html;
|
|
@@ -5479,14 +5479,14 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5479
5479
|
}
|
|
5480
5480
|
this.message = this.options.text;
|
|
5481
5481
|
|
|
5482
|
-
/**
|
|
5483
|
-
* Describes current pan state toast
|
|
5484
|
-
* @type {Boolean}
|
|
5482
|
+
/**
|
|
5483
|
+
* Describes current pan state toast
|
|
5484
|
+
* @type {Boolean}
|
|
5485
5485
|
*/
|
|
5486
5486
|
this.panning = false;
|
|
5487
5487
|
|
|
5488
|
-
/**
|
|
5489
|
-
* Time remaining until toast is removed
|
|
5488
|
+
/**
|
|
5489
|
+
* Time remaining until toast is removed
|
|
5490
5490
|
*/
|
|
5491
5491
|
this.timeRemaining = this.options.displayLength;
|
|
5492
5492
|
|
|
@@ -5508,8 +5508,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5508
5508
|
key: "_createToast",
|
|
5509
5509
|
|
|
5510
5510
|
|
|
5511
|
-
/**
|
|
5512
|
-
* Create toast and append it to toast container
|
|
5511
|
+
/**
|
|
5512
|
+
* Create toast and append it to toast container
|
|
5513
5513
|
*/
|
|
5514
5514
|
value: function _createToast() {
|
|
5515
5515
|
var toast = document.createElement('div');
|
|
@@ -5541,8 +5541,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5541
5541
|
return toast;
|
|
5542
5542
|
}
|
|
5543
5543
|
|
|
5544
|
-
/**
|
|
5545
|
-
* Animate in toast
|
|
5544
|
+
/**
|
|
5545
|
+
* Animate in toast
|
|
5546
5546
|
*/
|
|
5547
5547
|
|
|
5548
5548
|
}, {
|
|
@@ -5558,9 +5558,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5558
5558
|
});
|
|
5559
5559
|
}
|
|
5560
5560
|
|
|
5561
|
-
/**
|
|
5562
|
-
* Create setInterval which automatically removes toast when timeRemaining >= 0
|
|
5563
|
-
* has been reached
|
|
5561
|
+
/**
|
|
5562
|
+
* Create setInterval which automatically removes toast when timeRemaining >= 0
|
|
5563
|
+
* has been reached
|
|
5564
5564
|
*/
|
|
5565
5565
|
|
|
5566
5566
|
}, {
|
|
@@ -5583,8 +5583,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5583
5583
|
}
|
|
5584
5584
|
}
|
|
5585
5585
|
|
|
5586
|
-
/**
|
|
5587
|
-
* Dismiss toast with animation
|
|
5586
|
+
/**
|
|
5587
|
+
* Dismiss toast with animation
|
|
5588
5588
|
*/
|
|
5589
5589
|
|
|
5590
5590
|
}, {
|
|
@@ -5625,16 +5625,16 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5625
5625
|
key: "getInstance",
|
|
5626
5626
|
|
|
5627
5627
|
|
|
5628
|
-
/**
|
|
5629
|
-
* Get Instance
|
|
5628
|
+
/**
|
|
5629
|
+
* Get Instance
|
|
5630
5630
|
*/
|
|
5631
5631
|
value: function getInstance(el) {
|
|
5632
5632
|
var domElem = !!el.jquery ? el[0] : el;
|
|
5633
5633
|
return domElem.M_Toast;
|
|
5634
5634
|
}
|
|
5635
5635
|
|
|
5636
|
-
/**
|
|
5637
|
-
* Append toast container and add event handlers
|
|
5636
|
+
/**
|
|
5637
|
+
* Append toast container and add event handlers
|
|
5638
5638
|
*/
|
|
5639
5639
|
|
|
5640
5640
|
}, {
|
|
@@ -5656,8 +5656,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5656
5656
|
Toast._container = container;
|
|
5657
5657
|
}
|
|
5658
5658
|
|
|
5659
|
-
/**
|
|
5660
|
-
* Remove toast container and event handlers
|
|
5659
|
+
/**
|
|
5660
|
+
* Remove toast container and event handlers
|
|
5661
5661
|
*/
|
|
5662
5662
|
|
|
5663
5663
|
}, {
|
|
@@ -5671,9 +5671,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5671
5671
|
Toast._container = null;
|
|
5672
5672
|
}
|
|
5673
5673
|
|
|
5674
|
-
/**
|
|
5675
|
-
* Begin drag handler
|
|
5676
|
-
* @param {Event} e
|
|
5674
|
+
/**
|
|
5675
|
+
* Begin drag handler
|
|
5676
|
+
* @param {Event} e
|
|
5677
5677
|
*/
|
|
5678
5678
|
|
|
5679
5679
|
}, {
|
|
@@ -5692,9 +5692,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5692
5692
|
}
|
|
5693
5693
|
}
|
|
5694
5694
|
|
|
5695
|
-
/**
|
|
5696
|
-
* Drag move handler
|
|
5697
|
-
* @param {Event} e
|
|
5695
|
+
/**
|
|
5696
|
+
* Drag move handler
|
|
5697
|
+
* @param {Event} e
|
|
5698
5698
|
*/
|
|
5699
5699
|
|
|
5700
5700
|
}, {
|
|
@@ -5715,8 +5715,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5715
5715
|
}
|
|
5716
5716
|
}
|
|
5717
5717
|
|
|
5718
|
-
/**
|
|
5719
|
-
* End drag handler
|
|
5718
|
+
/**
|
|
5719
|
+
* End drag handler
|
|
5720
5720
|
*/
|
|
5721
5721
|
|
|
5722
5722
|
}, {
|
|
@@ -5746,9 +5746,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5746
5746
|
}
|
|
5747
5747
|
}
|
|
5748
5748
|
|
|
5749
|
-
/**
|
|
5750
|
-
* Get x position of mouse or touch event
|
|
5751
|
-
* @param {Event} e
|
|
5749
|
+
/**
|
|
5750
|
+
* Get x position of mouse or touch event
|
|
5751
|
+
* @param {Event} e
|
|
5752
5752
|
*/
|
|
5753
5753
|
|
|
5754
5754
|
}, {
|
|
@@ -5761,8 +5761,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5761
5761
|
return e.clientX;
|
|
5762
5762
|
}
|
|
5763
5763
|
|
|
5764
|
-
/**
|
|
5765
|
-
* Remove all toasts
|
|
5764
|
+
/**
|
|
5765
|
+
* Remove all toasts
|
|
5766
5766
|
*/
|
|
5767
5767
|
|
|
5768
5768
|
}, {
|
|
@@ -5782,25 +5782,25 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5782
5782
|
return Toast;
|
|
5783
5783
|
}();
|
|
5784
5784
|
|
|
5785
|
-
/**
|
|
5786
|
-
* @static
|
|
5787
|
-
* @memberof Toast
|
|
5788
|
-
* @type {Array.<Toast>}
|
|
5785
|
+
/**
|
|
5786
|
+
* @static
|
|
5787
|
+
* @memberof Toast
|
|
5788
|
+
* @type {Array.<Toast>}
|
|
5789
5789
|
*/
|
|
5790
5790
|
|
|
5791
5791
|
|
|
5792
5792
|
Toast._toasts = [];
|
|
5793
5793
|
|
|
5794
|
-
/**
|
|
5795
|
-
* @static
|
|
5796
|
-
* @memberof Toast
|
|
5794
|
+
/**
|
|
5795
|
+
* @static
|
|
5796
|
+
* @memberof Toast
|
|
5797
5797
|
*/
|
|
5798
5798
|
Toast._container = null;
|
|
5799
5799
|
|
|
5800
|
-
/**
|
|
5801
|
-
* @static
|
|
5802
|
-
* @memberof Toast
|
|
5803
|
-
* @type {Toast}
|
|
5800
|
+
/**
|
|
5801
|
+
* @static
|
|
5802
|
+
* @memberof Toast
|
|
5803
|
+
* @type {Toast}
|
|
5804
5804
|
*/
|
|
5805
5805
|
Toast._draggedToast = null;
|
|
5806
5806
|
|
|
@@ -5825,18 +5825,18 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5825
5825
|
preventScrolling: true
|
|
5826
5826
|
};
|
|
5827
5827
|
|
|
5828
|
-
/**
|
|
5829
|
-
* @class
|
|
5828
|
+
/**
|
|
5829
|
+
* @class
|
|
5830
5830
|
*/
|
|
5831
5831
|
|
|
5832
5832
|
var Sidenav = function (_Component8) {
|
|
5833
5833
|
_inherits(Sidenav, _Component8);
|
|
5834
5834
|
|
|
5835
|
-
/**
|
|
5836
|
-
* Construct Sidenav instance and set up overlay
|
|
5837
|
-
* @constructor
|
|
5838
|
-
* @param {Element} el
|
|
5839
|
-
* @param {Object} options
|
|
5835
|
+
/**
|
|
5836
|
+
* Construct Sidenav instance and set up overlay
|
|
5837
|
+
* @constructor
|
|
5838
|
+
* @param {Element} el
|
|
5839
|
+
* @param {Object} options
|
|
5840
5840
|
*/
|
|
5841
5841
|
function Sidenav(el, options) {
|
|
5842
5842
|
_classCallCheck(this, Sidenav);
|
|
@@ -5846,36 +5846,36 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5846
5846
|
_this31.el.M_Sidenav = _this31;
|
|
5847
5847
|
_this31.id = _this31.$el.attr('id');
|
|
5848
5848
|
|
|
5849
|
-
/**
|
|
5850
|
-
* Options for the Sidenav
|
|
5851
|
-
* @member Sidenav#options
|
|
5852
|
-
* @prop {String} [edge='left'] - Side of screen on which Sidenav appears
|
|
5853
|
-
* @prop {Boolean} [draggable=true] - Allow swipe gestures to open/close Sidenav
|
|
5854
|
-
* @prop {String} [dragTargetWidth='10px'] - Width of the area where you can start dragging
|
|
5855
|
-
* @prop {Number} [inDuration=250] - Length in ms of enter transition
|
|
5856
|
-
* @prop {Number} [outDuration=200] - Length in ms of exit transition
|
|
5857
|
-
* @prop {Function} onOpenStart - Function called when sidenav starts entering
|
|
5858
|
-
* @prop {Function} onOpenEnd - Function called when sidenav finishes entering
|
|
5859
|
-
* @prop {Function} onCloseStart - Function called when sidenav starts exiting
|
|
5860
|
-
* @prop {Function} onCloseEnd - Function called when sidenav finishes exiting
|
|
5849
|
+
/**
|
|
5850
|
+
* Options for the Sidenav
|
|
5851
|
+
* @member Sidenav#options
|
|
5852
|
+
* @prop {String} [edge='left'] - Side of screen on which Sidenav appears
|
|
5853
|
+
* @prop {Boolean} [draggable=true] - Allow swipe gestures to open/close Sidenav
|
|
5854
|
+
* @prop {String} [dragTargetWidth='10px'] - Width of the area where you can start dragging
|
|
5855
|
+
* @prop {Number} [inDuration=250] - Length in ms of enter transition
|
|
5856
|
+
* @prop {Number} [outDuration=200] - Length in ms of exit transition
|
|
5857
|
+
* @prop {Function} onOpenStart - Function called when sidenav starts entering
|
|
5858
|
+
* @prop {Function} onOpenEnd - Function called when sidenav finishes entering
|
|
5859
|
+
* @prop {Function} onCloseStart - Function called when sidenav starts exiting
|
|
5860
|
+
* @prop {Function} onCloseEnd - Function called when sidenav finishes exiting
|
|
5861
5861
|
*/
|
|
5862
5862
|
_this31.options = $.extend({}, Sidenav.defaults, options);
|
|
5863
5863
|
|
|
5864
|
-
/**
|
|
5865
|
-
* Describes open/close state of Sidenav
|
|
5866
|
-
* @type {Boolean}
|
|
5864
|
+
/**
|
|
5865
|
+
* Describes open/close state of Sidenav
|
|
5866
|
+
* @type {Boolean}
|
|
5867
5867
|
*/
|
|
5868
5868
|
_this31.isOpen = false;
|
|
5869
5869
|
|
|
5870
|
-
/**
|
|
5871
|
-
* Describes if Sidenav is fixed
|
|
5872
|
-
* @type {Boolean}
|
|
5870
|
+
/**
|
|
5871
|
+
* Describes if Sidenav is fixed
|
|
5872
|
+
* @type {Boolean}
|
|
5873
5873
|
*/
|
|
5874
5874
|
_this31.isFixed = _this31.el.classList.contains('sidenav-fixed');
|
|
5875
5875
|
|
|
5876
|
-
/**
|
|
5877
|
-
* Describes if Sidenav is being draggeed
|
|
5878
|
-
* @type {Boolean}
|
|
5876
|
+
/**
|
|
5877
|
+
* Describes if Sidenav is being draggeed
|
|
5878
|
+
* @type {Boolean}
|
|
5879
5879
|
*/
|
|
5880
5880
|
_this31.isDragged = false;
|
|
5881
5881
|
|
|
@@ -5897,8 +5897,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5897
5897
|
key: "destroy",
|
|
5898
5898
|
|
|
5899
5899
|
|
|
5900
|
-
/**
|
|
5901
|
-
* Teardown component
|
|
5900
|
+
/**
|
|
5901
|
+
* Teardown component
|
|
5902
5902
|
*/
|
|
5903
5903
|
value: function destroy() {
|
|
5904
5904
|
this._removeEventHandlers();
|
|
@@ -5973,9 +5973,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5973
5973
|
}
|
|
5974
5974
|
}
|
|
5975
5975
|
|
|
5976
|
-
/**
|
|
5977
|
-
* Handle Trigger Click
|
|
5978
|
-
* @param {Event} e
|
|
5976
|
+
/**
|
|
5977
|
+
* Handle Trigger Click
|
|
5978
|
+
* @param {Event} e
|
|
5979
5979
|
*/
|
|
5980
5980
|
|
|
5981
5981
|
}, {
|
|
@@ -5993,10 +5993,10 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
5993
5993
|
}
|
|
5994
5994
|
}
|
|
5995
5995
|
|
|
5996
|
-
/**
|
|
5997
|
-
* Set variables needed at the beginning of drag
|
|
5998
|
-
* and stop any current transition.
|
|
5999
|
-
* @param {Event} e
|
|
5996
|
+
/**
|
|
5997
|
+
* Set variables needed at the beginning of drag
|
|
5998
|
+
* and stop any current transition.
|
|
5999
|
+
* @param {Event} e
|
|
6000
6000
|
*/
|
|
6001
6001
|
|
|
6002
6002
|
}, {
|
|
@@ -6015,9 +6015,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6015
6015
|
anim.remove(this._overlay);
|
|
6016
6016
|
}
|
|
6017
6017
|
|
|
6018
|
-
/**
|
|
6019
|
-
* Set variables needed at each drag move update tick
|
|
6020
|
-
* @param {Event} e
|
|
6018
|
+
/**
|
|
6019
|
+
* Set variables needed at each drag move update tick
|
|
6020
|
+
* @param {Event} e
|
|
6021
6021
|
*/
|
|
6022
6022
|
|
|
6023
6023
|
}, {
|
|
@@ -6034,9 +6034,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6034
6034
|
}
|
|
6035
6035
|
}
|
|
6036
6036
|
|
|
6037
|
-
/**
|
|
6038
|
-
* Handles Dragging of Sidenav
|
|
6039
|
-
* @param {Event} e
|
|
6037
|
+
/**
|
|
6038
|
+
* Handles Dragging of Sidenav
|
|
6039
|
+
* @param {Event} e
|
|
6040
6040
|
*/
|
|
6041
6041
|
|
|
6042
6042
|
}, {
|
|
@@ -6067,10 +6067,10 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6067
6067
|
totalDeltaX = 0;
|
|
6068
6068
|
}
|
|
6069
6069
|
|
|
6070
|
-
/**
|
|
6071
|
-
* transformX is the drag displacement
|
|
6072
|
-
* transformPrefix is the initial transform placement
|
|
6073
|
-
* Invert values if Sidenav is right edge
|
|
6070
|
+
/**
|
|
6071
|
+
* transformX is the drag displacement
|
|
6072
|
+
* transformPrefix is the initial transform placement
|
|
6073
|
+
* Invert values if Sidenav is right edge
|
|
6074
6074
|
*/
|
|
6075
6075
|
var transformX = totalDeltaX;
|
|
6076
6076
|
var transformPrefix = 'translateX(-100%)';
|
|
@@ -6087,8 +6087,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6087
6087
|
this._overlay.style.opacity = this.percentOpen;
|
|
6088
6088
|
}
|
|
6089
6089
|
|
|
6090
|
-
/**
|
|
6091
|
-
* Handle Drag Target Release
|
|
6090
|
+
/**
|
|
6091
|
+
* Handle Drag Target Release
|
|
6092
6092
|
*/
|
|
6093
6093
|
|
|
6094
6094
|
}, {
|
|
@@ -6106,9 +6106,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6106
6106
|
}
|
|
6107
6107
|
}
|
|
6108
6108
|
|
|
6109
|
-
/**
|
|
6110
|
-
* Handle Close Drag
|
|
6111
|
-
* @param {Event} e
|
|
6109
|
+
/**
|
|
6110
|
+
* Handle Close Drag
|
|
6111
|
+
* @param {Event} e
|
|
6112
6112
|
*/
|
|
6113
6113
|
|
|
6114
6114
|
}, {
|
|
@@ -6154,8 +6154,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6154
6154
|
}
|
|
6155
6155
|
}
|
|
6156
6156
|
|
|
6157
|
-
/**
|
|
6158
|
-
* Handle Close Release
|
|
6157
|
+
/**
|
|
6158
|
+
* Handle Close Release
|
|
6159
6159
|
*/
|
|
6160
6160
|
|
|
6161
6161
|
}, {
|
|
@@ -6173,8 +6173,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6173
6173
|
}
|
|
6174
6174
|
}
|
|
6175
6175
|
|
|
6176
|
-
/**
|
|
6177
|
-
* Handles closing of Sidenav when element with class .sidenav-close
|
|
6176
|
+
/**
|
|
6177
|
+
* Handles closing of Sidenav when element with class .sidenav-close
|
|
6178
6178
|
*/
|
|
6179
6179
|
|
|
6180
6180
|
}, {
|
|
@@ -6186,8 +6186,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6186
6186
|
}
|
|
6187
6187
|
}
|
|
6188
6188
|
|
|
6189
|
-
/**
|
|
6190
|
-
* Handle Window Resize
|
|
6189
|
+
/**
|
|
6190
|
+
* Handle Window Resize
|
|
6191
6191
|
*/
|
|
6192
6192
|
|
|
6193
6193
|
}, {
|
|
@@ -6422,8 +6422,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6422
6422
|
return _get(Sidenav.__proto__ || Object.getPrototypeOf(Sidenav), "init", this).call(this, this, els, options);
|
|
6423
6423
|
}
|
|
6424
6424
|
|
|
6425
|
-
/**
|
|
6426
|
-
* Get Instance
|
|
6425
|
+
/**
|
|
6426
|
+
* Get Instance
|
|
6427
6427
|
*/
|
|
6428
6428
|
|
|
6429
6429
|
}, {
|
|
@@ -6442,10 +6442,10 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6442
6442
|
return Sidenav;
|
|
6443
6443
|
}(Component);
|
|
6444
6444
|
|
|
6445
|
-
/**
|
|
6446
|
-
* @static
|
|
6447
|
-
* @memberof Sidenav
|
|
6448
|
-
* @type {Array.<Sidenav>}
|
|
6445
|
+
/**
|
|
6446
|
+
* @static
|
|
6447
|
+
* @memberof Sidenav
|
|
6448
|
+
* @type {Array.<Sidenav>}
|
|
6449
6449
|
*/
|
|
6450
6450
|
|
|
6451
6451
|
|
|
@@ -6469,19 +6469,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6469
6469
|
}
|
|
6470
6470
|
};
|
|
6471
6471
|
|
|
6472
|
-
/**
|
|
6473
|
-
* @class
|
|
6474
|
-
*
|
|
6472
|
+
/**
|
|
6473
|
+
* @class
|
|
6474
|
+
*
|
|
6475
6475
|
*/
|
|
6476
6476
|
|
|
6477
6477
|
var ScrollSpy = function (_Component9) {
|
|
6478
6478
|
_inherits(ScrollSpy, _Component9);
|
|
6479
6479
|
|
|
6480
|
-
/**
|
|
6481
|
-
* Construct ScrollSpy instance
|
|
6482
|
-
* @constructor
|
|
6483
|
-
* @param {Element} el
|
|
6484
|
-
* @param {Object} options
|
|
6480
|
+
/**
|
|
6481
|
+
* Construct ScrollSpy instance
|
|
6482
|
+
* @constructor
|
|
6483
|
+
* @param {Element} el
|
|
6484
|
+
* @param {Object} options
|
|
6485
6485
|
*/
|
|
6486
6486
|
function ScrollSpy(el, options) {
|
|
6487
6487
|
_classCallCheck(this, ScrollSpy);
|
|
@@ -6490,13 +6490,13 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6490
6490
|
|
|
6491
6491
|
_this35.el.M_ScrollSpy = _this35;
|
|
6492
6492
|
|
|
6493
|
-
/**
|
|
6494
|
-
* Options for the modal
|
|
6495
|
-
* @member Modal#options
|
|
6496
|
-
* @prop {Number} [throttle=100] - Throttle of scroll handler
|
|
6497
|
-
* @prop {Number} [scrollOffset=200] - Offset for centering element when scrolled to
|
|
6498
|
-
* @prop {String} [activeClass='active'] - Class applied to active elements
|
|
6499
|
-
* @prop {Function} [getActiveElement] - Used to find active element
|
|
6493
|
+
/**
|
|
6494
|
+
* Options for the modal
|
|
6495
|
+
* @member Modal#options
|
|
6496
|
+
* @prop {Number} [throttle=100] - Throttle of scroll handler
|
|
6497
|
+
* @prop {Number} [scrollOffset=200] - Offset for centering element when scrolled to
|
|
6498
|
+
* @prop {String} [activeClass='active'] - Class applied to active elements
|
|
6499
|
+
* @prop {Function} [getActiveElement] - Used to find active element
|
|
6500
6500
|
*/
|
|
6501
6501
|
_this35.options = $.extend({}, ScrollSpy.defaults, options);
|
|
6502
6502
|
|
|
@@ -6515,8 +6515,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6515
6515
|
key: "destroy",
|
|
6516
6516
|
|
|
6517
6517
|
|
|
6518
|
-
/**
|
|
6519
|
-
* Teardown component
|
|
6518
|
+
/**
|
|
6519
|
+
* Teardown component
|
|
6520
6520
|
*/
|
|
6521
6521
|
value: function destroy() {
|
|
6522
6522
|
ScrollSpy._elements.splice(ScrollSpy._elements.indexOf(this), 1);
|
|
@@ -6528,8 +6528,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6528
6528
|
this.el.M_ScrollSpy = undefined;
|
|
6529
6529
|
}
|
|
6530
6530
|
|
|
6531
|
-
/**
|
|
6532
|
-
* Setup Event Handlers
|
|
6531
|
+
/**
|
|
6532
|
+
* Setup Event Handlers
|
|
6533
6533
|
*/
|
|
6534
6534
|
|
|
6535
6535
|
}, {
|
|
@@ -6545,8 +6545,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6545
6545
|
}
|
|
6546
6546
|
}
|
|
6547
6547
|
|
|
6548
|
-
/**
|
|
6549
|
-
* Remove Event Handlers
|
|
6548
|
+
/**
|
|
6549
|
+
* Remove Event Handlers
|
|
6550
6550
|
*/
|
|
6551
6551
|
|
|
6552
6552
|
}, {
|
|
@@ -6559,9 +6559,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6559
6559
|
}
|
|
6560
6560
|
}
|
|
6561
6561
|
|
|
6562
|
-
/**
|
|
6563
|
-
* Handle Trigger Click
|
|
6564
|
-
* @param {Event} e
|
|
6562
|
+
/**
|
|
6563
|
+
* Handle Trigger Click
|
|
6564
|
+
* @param {Event} e
|
|
6565
6565
|
*/
|
|
6566
6566
|
|
|
6567
6567
|
}, {
|
|
@@ -6585,8 +6585,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6585
6585
|
}
|
|
6586
6586
|
}
|
|
6587
6587
|
|
|
6588
|
-
/**
|
|
6589
|
-
* Handle Window Scroll
|
|
6588
|
+
/**
|
|
6589
|
+
* Handle Window Scroll
|
|
6590
6590
|
*/
|
|
6591
6591
|
|
|
6592
6592
|
}, {
|
|
@@ -6629,13 +6629,13 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6629
6629
|
ScrollSpy._elementsInView = intersections;
|
|
6630
6630
|
}
|
|
6631
6631
|
|
|
6632
|
-
/**
|
|
6633
|
-
* Find elements that are within the boundary
|
|
6634
|
-
* @param {number} top
|
|
6635
|
-
* @param {number} right
|
|
6636
|
-
* @param {number} bottom
|
|
6637
|
-
* @param {number} left
|
|
6638
|
-
* @return {Array.<ScrollSpy>} A collection of elements
|
|
6632
|
+
/**
|
|
6633
|
+
* Find elements that are within the boundary
|
|
6634
|
+
* @param {number} top
|
|
6635
|
+
* @param {number} right
|
|
6636
|
+
* @param {number} bottom
|
|
6637
|
+
* @param {number} left
|
|
6638
|
+
* @return {Array.<ScrollSpy>} A collection of elements
|
|
6639
6639
|
*/
|
|
6640
6640
|
|
|
6641
6641
|
}, {
|
|
@@ -6685,8 +6685,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6685
6685
|
return _get(ScrollSpy.__proto__ || Object.getPrototypeOf(ScrollSpy), "init", this).call(this, this, els, options);
|
|
6686
6686
|
}
|
|
6687
6687
|
|
|
6688
|
-
/**
|
|
6689
|
-
* Get Instance
|
|
6688
|
+
/**
|
|
6689
|
+
* Get Instance
|
|
6690
6690
|
*/
|
|
6691
6691
|
|
|
6692
6692
|
}, {
|
|
@@ -6728,44 +6728,44 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6728
6728
|
return ScrollSpy;
|
|
6729
6729
|
}(Component);
|
|
6730
6730
|
|
|
6731
|
-
/**
|
|
6732
|
-
* @static
|
|
6733
|
-
* @memberof ScrollSpy
|
|
6734
|
-
* @type {Array.<ScrollSpy>}
|
|
6731
|
+
/**
|
|
6732
|
+
* @static
|
|
6733
|
+
* @memberof ScrollSpy
|
|
6734
|
+
* @type {Array.<ScrollSpy>}
|
|
6735
6735
|
*/
|
|
6736
6736
|
|
|
6737
6737
|
|
|
6738
6738
|
ScrollSpy._elements = [];
|
|
6739
6739
|
|
|
6740
|
-
/**
|
|
6741
|
-
* @static
|
|
6742
|
-
* @memberof ScrollSpy
|
|
6743
|
-
* @type {Array.<ScrollSpy>}
|
|
6740
|
+
/**
|
|
6741
|
+
* @static
|
|
6742
|
+
* @memberof ScrollSpy
|
|
6743
|
+
* @type {Array.<ScrollSpy>}
|
|
6744
6744
|
*/
|
|
6745
6745
|
ScrollSpy._elementsInView = [];
|
|
6746
6746
|
|
|
6747
|
-
/**
|
|
6748
|
-
* @static
|
|
6749
|
-
* @memberof ScrollSpy
|
|
6750
|
-
* @type {Array.<cash>}
|
|
6747
|
+
/**
|
|
6748
|
+
* @static
|
|
6749
|
+
* @memberof ScrollSpy
|
|
6750
|
+
* @type {Array.<cash>}
|
|
6751
6751
|
*/
|
|
6752
6752
|
ScrollSpy._visibleElements = [];
|
|
6753
6753
|
|
|
6754
|
-
/**
|
|
6755
|
-
* @static
|
|
6756
|
-
* @memberof ScrollSpy
|
|
6754
|
+
/**
|
|
6755
|
+
* @static
|
|
6756
|
+
* @memberof ScrollSpy
|
|
6757
6757
|
*/
|
|
6758
6758
|
ScrollSpy._count = 0;
|
|
6759
6759
|
|
|
6760
|
-
/**
|
|
6761
|
-
* @static
|
|
6762
|
-
* @memberof ScrollSpy
|
|
6760
|
+
/**
|
|
6761
|
+
* @static
|
|
6762
|
+
* @memberof ScrollSpy
|
|
6763
6763
|
*/
|
|
6764
6764
|
ScrollSpy._increment = 0;
|
|
6765
6765
|
|
|
6766
|
-
/**
|
|
6767
|
-
* @static
|
|
6768
|
-
* @memberof ScrollSpy
|
|
6766
|
+
/**
|
|
6767
|
+
* @static
|
|
6768
|
+
* @memberof ScrollSpy
|
|
6769
6769
|
*/
|
|
6770
6770
|
ScrollSpy._ticks = 0;
|
|
6771
6771
|
|
|
@@ -6796,19 +6796,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6796
6796
|
allowUnsafeHTML: false
|
|
6797
6797
|
};
|
|
6798
6798
|
|
|
6799
|
-
/**
|
|
6800
|
-
* @class
|
|
6801
|
-
*
|
|
6799
|
+
/**
|
|
6800
|
+
* @class
|
|
6801
|
+
*
|
|
6802
6802
|
*/
|
|
6803
6803
|
|
|
6804
6804
|
var Autocomplete = function (_Component10) {
|
|
6805
6805
|
_inherits(Autocomplete, _Component10);
|
|
6806
6806
|
|
|
6807
|
-
/**
|
|
6808
|
-
* Construct Autocomplete instance
|
|
6809
|
-
* @constructor
|
|
6810
|
-
* @param {Element} el
|
|
6811
|
-
* @param {Object} options
|
|
6807
|
+
/**
|
|
6808
|
+
* Construct Autocomplete instance
|
|
6809
|
+
* @constructor
|
|
6810
|
+
* @param {Element} el
|
|
6811
|
+
* @param {Object} options
|
|
6812
6812
|
*/
|
|
6813
6813
|
function Autocomplete(el, options) {
|
|
6814
6814
|
_classCallCheck(this, Autocomplete);
|
|
@@ -6817,17 +6817,17 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6817
6817
|
|
|
6818
6818
|
_this37.el.M_Autocomplete = _this37;
|
|
6819
6819
|
|
|
6820
|
-
/**
|
|
6821
|
-
* Options for the autocomplete
|
|
6822
|
-
* @member Autocomplete#options
|
|
6823
|
-
* @prop {Number} duration
|
|
6824
|
-
* @prop {Number} dist
|
|
6825
|
-
* @prop {number} shift
|
|
6826
|
-
* @prop {number} padding
|
|
6827
|
-
* @prop {Boolean} fullWidth
|
|
6828
|
-
* @prop {Boolean} indicators
|
|
6829
|
-
* @prop {Boolean} noWrap
|
|
6830
|
-
* @prop {Function} onCycleTo
|
|
6820
|
+
/**
|
|
6821
|
+
* Options for the autocomplete
|
|
6822
|
+
* @member Autocomplete#options
|
|
6823
|
+
* @prop {Number} duration
|
|
6824
|
+
* @prop {Number} dist
|
|
6825
|
+
* @prop {number} shift
|
|
6826
|
+
* @prop {number} padding
|
|
6827
|
+
* @prop {Boolean} fullWidth
|
|
6828
|
+
* @prop {Boolean} indicators
|
|
6829
|
+
* @prop {Boolean} noWrap
|
|
6830
|
+
* @prop {Function} onCycleTo
|
|
6831
6831
|
*/
|
|
6832
6832
|
_this37.options = $.extend({}, Autocomplete.defaults, options);
|
|
6833
6833
|
|
|
@@ -6849,8 +6849,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6849
6849
|
key: "destroy",
|
|
6850
6850
|
|
|
6851
6851
|
|
|
6852
|
-
/**
|
|
6853
|
-
* Teardown component
|
|
6852
|
+
/**
|
|
6853
|
+
* Teardown component
|
|
6854
6854
|
*/
|
|
6855
6855
|
value: function destroy() {
|
|
6856
6856
|
this._removeEventHandlers();
|
|
@@ -6858,8 +6858,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6858
6858
|
this.el.M_Autocomplete = undefined;
|
|
6859
6859
|
}
|
|
6860
6860
|
|
|
6861
|
-
/**
|
|
6862
|
-
* Setup Event Handlers
|
|
6861
|
+
/**
|
|
6862
|
+
* Setup Event Handlers
|
|
6863
6863
|
*/
|
|
6864
6864
|
|
|
6865
6865
|
}, {
|
|
@@ -6886,8 +6886,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6886
6886
|
}
|
|
6887
6887
|
}
|
|
6888
6888
|
|
|
6889
|
-
/**
|
|
6890
|
-
* Remove Event Handlers
|
|
6889
|
+
/**
|
|
6890
|
+
* Remove Event Handlers
|
|
6891
6891
|
*/
|
|
6892
6892
|
|
|
6893
6893
|
}, {
|
|
@@ -6907,8 +6907,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6907
6907
|
}
|
|
6908
6908
|
}
|
|
6909
6909
|
|
|
6910
|
-
/**
|
|
6911
|
-
* Setup dropdown
|
|
6910
|
+
/**
|
|
6911
|
+
* Setup dropdown
|
|
6912
6912
|
*/
|
|
6913
6913
|
|
|
6914
6914
|
}, {
|
|
@@ -6942,8 +6942,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6942
6942
|
this.el.removeEventListener('click', this.dropdown._handleClickBound);
|
|
6943
6943
|
}
|
|
6944
6944
|
|
|
6945
|
-
/**
|
|
6946
|
-
* Remove dropdown
|
|
6945
|
+
/**
|
|
6946
|
+
* Remove dropdown
|
|
6947
6947
|
*/
|
|
6948
6948
|
|
|
6949
6949
|
}, {
|
|
@@ -6952,8 +6952,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6952
6952
|
this.container.parentNode.removeChild(this.container);
|
|
6953
6953
|
}
|
|
6954
6954
|
|
|
6955
|
-
/**
|
|
6956
|
-
* Handle Input Blur
|
|
6955
|
+
/**
|
|
6956
|
+
* Handle Input Blur
|
|
6957
6957
|
*/
|
|
6958
6958
|
|
|
6959
6959
|
}, {
|
|
@@ -6965,9 +6965,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6965
6965
|
}
|
|
6966
6966
|
}
|
|
6967
6967
|
|
|
6968
|
-
/**
|
|
6969
|
-
* Handle Input Keyup and Focus
|
|
6970
|
-
* @param {Event} e
|
|
6968
|
+
/**
|
|
6969
|
+
* Handle Input Keyup and Focus
|
|
6970
|
+
* @param {Event} e
|
|
6971
6971
|
*/
|
|
6972
6972
|
|
|
6973
6973
|
}, {
|
|
@@ -6995,9 +6995,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
6995
6995
|
this.oldVal = val;
|
|
6996
6996
|
}
|
|
6997
6997
|
|
|
6998
|
-
/**
|
|
6999
|
-
* Handle Input Keydown
|
|
7000
|
-
* @param {Event} e
|
|
6998
|
+
/**
|
|
6999
|
+
* Handle Input Keydown
|
|
7000
|
+
* @param {Event} e
|
|
7001
7001
|
*/
|
|
7002
7002
|
|
|
7003
7003
|
}, {
|
|
@@ -7047,9 +7047,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7047
7047
|
}
|
|
7048
7048
|
}
|
|
7049
7049
|
|
|
7050
|
-
/**
|
|
7051
|
-
* Handle Input Click
|
|
7052
|
-
* @param {Event} e
|
|
7050
|
+
/**
|
|
7051
|
+
* Handle Input Click
|
|
7052
|
+
* @param {Event} e
|
|
7053
7053
|
*/
|
|
7054
7054
|
|
|
7055
7055
|
}, {
|
|
@@ -7058,9 +7058,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7058
7058
|
this.open();
|
|
7059
7059
|
}
|
|
7060
7060
|
|
|
7061
|
-
/**
|
|
7062
|
-
* Handle Container Mousedown and Touchstart
|
|
7063
|
-
* @param {Event} e
|
|
7061
|
+
/**
|
|
7062
|
+
* Handle Container Mousedown and Touchstart
|
|
7063
|
+
* @param {Event} e
|
|
7064
7064
|
*/
|
|
7065
7065
|
|
|
7066
7066
|
}, {
|
|
@@ -7069,9 +7069,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7069
7069
|
this._mousedown = true;
|
|
7070
7070
|
}
|
|
7071
7071
|
|
|
7072
|
-
/**
|
|
7073
|
-
* Handle Container Mouseup and Touchend
|
|
7074
|
-
* @param {Event} e
|
|
7072
|
+
/**
|
|
7073
|
+
* Handle Container Mouseup and Touchend
|
|
7074
|
+
* @param {Event} e
|
|
7075
7075
|
*/
|
|
7076
7076
|
|
|
7077
7077
|
}, {
|
|
@@ -7080,8 +7080,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7080
7080
|
this._mousedown = false;
|
|
7081
7081
|
}
|
|
7082
7082
|
|
|
7083
|
-
/**
|
|
7084
|
-
* Highlight partial match
|
|
7083
|
+
/**
|
|
7084
|
+
* Highlight partial match
|
|
7085
7085
|
*/
|
|
7086
7086
|
|
|
7087
7087
|
}, {
|
|
@@ -7096,8 +7096,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7096
7096
|
return [label.slice(0, start), label.slice(start, end + 1), label.slice(end + 1)];
|
|
7097
7097
|
}
|
|
7098
7098
|
|
|
7099
|
-
/**
|
|
7100
|
-
* Reset current element position
|
|
7099
|
+
/**
|
|
7100
|
+
* Reset current element position
|
|
7101
7101
|
*/
|
|
7102
7102
|
|
|
7103
7103
|
}, {
|
|
@@ -7107,8 +7107,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7107
7107
|
this.$active.removeClass('active');
|
|
7108
7108
|
}
|
|
7109
7109
|
|
|
7110
|
-
/**
|
|
7111
|
-
* Reset autocomplete elements
|
|
7110
|
+
/**
|
|
7111
|
+
* Reset autocomplete elements
|
|
7112
7112
|
*/
|
|
7113
7113
|
|
|
7114
7114
|
}, {
|
|
@@ -7121,9 +7121,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7121
7121
|
this._mousedown = false;
|
|
7122
7122
|
}
|
|
7123
7123
|
|
|
7124
|
-
/**
|
|
7125
|
-
* Select autocomplete option
|
|
7126
|
-
* @param {Element} el Autocomplete option list item element
|
|
7124
|
+
/**
|
|
7125
|
+
* Select autocomplete option
|
|
7126
|
+
* @param {Element} el Autocomplete option list item element
|
|
7127
7127
|
*/
|
|
7128
7128
|
|
|
7129
7129
|
}, {
|
|
@@ -7141,10 +7141,10 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7141
7141
|
}
|
|
7142
7142
|
}
|
|
7143
7143
|
|
|
7144
|
-
/**
|
|
7145
|
-
* Render dropdown content
|
|
7146
|
-
* @param {Object} data data set
|
|
7147
|
-
* @param {String} val current input value
|
|
7144
|
+
/**
|
|
7145
|
+
* Render dropdown content
|
|
7146
|
+
* @param {Object} data data set
|
|
7147
|
+
* @param {String} val current input value
|
|
7148
7148
|
*/
|
|
7149
7149
|
|
|
7150
7150
|
}, {
|
|
@@ -7211,8 +7211,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7211
7211
|
}
|
|
7212
7212
|
}
|
|
7213
7213
|
|
|
7214
|
-
/**
|
|
7215
|
-
* Open Autocomplete Dropdown
|
|
7214
|
+
/**
|
|
7215
|
+
* Open Autocomplete Dropdown
|
|
7216
7216
|
*/
|
|
7217
7217
|
|
|
7218
7218
|
}, {
|
|
@@ -7236,8 +7236,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7236
7236
|
}
|
|
7237
7237
|
}
|
|
7238
7238
|
|
|
7239
|
-
/**
|
|
7240
|
-
* Close Autocomplete Dropdown
|
|
7239
|
+
/**
|
|
7240
|
+
* Close Autocomplete Dropdown
|
|
7241
7241
|
*/
|
|
7242
7242
|
|
|
7243
7243
|
}, {
|
|
@@ -7246,9 +7246,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7246
7246
|
this.dropdown.close();
|
|
7247
7247
|
}
|
|
7248
7248
|
|
|
7249
|
-
/**
|
|
7250
|
-
* Update Data
|
|
7251
|
-
* @param {Object} data
|
|
7249
|
+
/**
|
|
7250
|
+
* Update Data
|
|
7251
|
+
* @param {Object} data
|
|
7252
7252
|
*/
|
|
7253
7253
|
|
|
7254
7254
|
}, {
|
|
@@ -7267,8 +7267,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7267
7267
|
return _get(Autocomplete.__proto__ || Object.getPrototypeOf(Autocomplete), "init", this).call(this, this, els, options);
|
|
7268
7268
|
}
|
|
7269
7269
|
|
|
7270
|
-
/**
|
|
7271
|
-
* Get Instance
|
|
7270
|
+
/**
|
|
7271
|
+
* Get Instance
|
|
7272
7272
|
*/
|
|
7273
7273
|
|
|
7274
7274
|
}, {
|
|
@@ -7287,9 +7287,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7287
7287
|
return Autocomplete;
|
|
7288
7288
|
}(Component);
|
|
7289
7289
|
|
|
7290
|
-
/**
|
|
7291
|
-
* @static
|
|
7292
|
-
* @memberof Autocomplete
|
|
7290
|
+
/**
|
|
7291
|
+
* @static
|
|
7292
|
+
* @memberof Autocomplete
|
|
7293
7293
|
*/
|
|
7294
7294
|
|
|
7295
7295
|
|
|
@@ -7415,17 +7415,17 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7415
7415
|
hiddenDiv.css('width', window.innerWidth / 2 + 'px');
|
|
7416
7416
|
}
|
|
7417
7417
|
|
|
7418
|
-
/**
|
|
7419
|
-
* Resize if the new height is greater than the
|
|
7420
|
-
* original height of the textarea
|
|
7418
|
+
/**
|
|
7419
|
+
* Resize if the new height is greater than the
|
|
7420
|
+
* original height of the textarea
|
|
7421
7421
|
*/
|
|
7422
7422
|
if ($textarea.data('original-height') <= hiddenDiv.innerHeight()) {
|
|
7423
7423
|
$textarea.css('height', hiddenDiv.innerHeight() + 'px');
|
|
7424
7424
|
} else if ($textarea[0].value.length < $textarea.data('previous-length')) {
|
|
7425
|
-
/**
|
|
7426
|
-
* In case the new height is less than original height, it
|
|
7427
|
-
* means the textarea has less text than before
|
|
7428
|
-
* So we set the height to the original one
|
|
7425
|
+
/**
|
|
7426
|
+
* In case the new height is less than original height, it
|
|
7427
|
+
* means the textarea has less text than before
|
|
7428
|
+
* So we set the height to the original one
|
|
7429
7429
|
*/
|
|
7430
7430
|
$textarea.css('height', $textarea.data('original-height') + 'px');
|
|
7431
7431
|
}
|
|
@@ -7469,9 +7469,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7469
7469
|
}
|
|
7470
7470
|
});
|
|
7471
7471
|
|
|
7472
|
-
/**
|
|
7473
|
-
* Add active when element has focus
|
|
7474
|
-
* @param {Event} e
|
|
7472
|
+
/**
|
|
7473
|
+
* Add active when element has focus
|
|
7474
|
+
* @param {Event} e
|
|
7475
7475
|
*/
|
|
7476
7476
|
document.addEventListener('focus', function (e) {
|
|
7477
7477
|
if ($(e.target).is(TEXT_BASED_INPUT_SELECTOR)) {
|
|
@@ -7479,9 +7479,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7479
7479
|
}
|
|
7480
7480
|
}, true);
|
|
7481
7481
|
|
|
7482
|
-
/**
|
|
7483
|
-
* Remove active when element is blurred
|
|
7484
|
-
* @param {Event} e
|
|
7482
|
+
/**
|
|
7483
|
+
* Remove active when element is blurred
|
|
7484
|
+
* @param {Event} e
|
|
7485
7485
|
*/
|
|
7486
7486
|
document.addEventListener('blur', function (e) {
|
|
7487
7487
|
var $inputElement = $(e.target);
|
|
@@ -7513,9 +7513,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7513
7513
|
var text_area_selector = '.materialize-textarea';
|
|
7514
7514
|
$(text_area_selector).each(function () {
|
|
7515
7515
|
var $textarea = $(this);
|
|
7516
|
-
/**
|
|
7517
|
-
* Resize textarea on document load after storing
|
|
7518
|
-
* the original height and the original length
|
|
7516
|
+
/**
|
|
7517
|
+
* Resize textarea on document load after storing
|
|
7518
|
+
* the original height and the original length
|
|
7519
7519
|
*/
|
|
7520
7520
|
$textarea.data('original-height', $textarea.height());
|
|
7521
7521
|
$textarea.data('previous-length', this.value.length);
|
|
@@ -7553,19 +7553,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7553
7553
|
interval: 6000
|
|
7554
7554
|
};
|
|
7555
7555
|
|
|
7556
|
-
/**
|
|
7557
|
-
* @class
|
|
7558
|
-
*
|
|
7556
|
+
/**
|
|
7557
|
+
* @class
|
|
7558
|
+
*
|
|
7559
7559
|
*/
|
|
7560
7560
|
|
|
7561
7561
|
var Slider = function (_Component11) {
|
|
7562
7562
|
_inherits(Slider, _Component11);
|
|
7563
7563
|
|
|
7564
|
-
/**
|
|
7565
|
-
* Construct Slider instance and set up overlay
|
|
7566
|
-
* @constructor
|
|
7567
|
-
* @param {Element} el
|
|
7568
|
-
* @param {Object} options
|
|
7564
|
+
/**
|
|
7565
|
+
* Construct Slider instance and set up overlay
|
|
7566
|
+
* @constructor
|
|
7567
|
+
* @param {Element} el
|
|
7568
|
+
* @param {Object} options
|
|
7569
7569
|
*/
|
|
7570
7570
|
function Slider(el, options) {
|
|
7571
7571
|
_classCallCheck(this, Slider);
|
|
@@ -7574,13 +7574,13 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7574
7574
|
|
|
7575
7575
|
_this40.el.M_Slider = _this40;
|
|
7576
7576
|
|
|
7577
|
-
/**
|
|
7578
|
-
* Options for the modal
|
|
7579
|
-
* @member Slider#options
|
|
7580
|
-
* @prop {Boolean} [indicators=true] - Show indicators
|
|
7581
|
-
* @prop {Number} [height=400] - height of slider
|
|
7582
|
-
* @prop {Number} [duration=500] - Length in ms of slide transition
|
|
7583
|
-
* @prop {Number} [interval=6000] - Length in ms of slide interval
|
|
7577
|
+
/**
|
|
7578
|
+
* Options for the modal
|
|
7579
|
+
* @member Slider#options
|
|
7580
|
+
* @prop {Boolean} [indicators=true] - Show indicators
|
|
7581
|
+
* @prop {Number} [height=400] - height of slider
|
|
7582
|
+
* @prop {Number} [duration=500] - Length in ms of slide transition
|
|
7583
|
+
* @prop {Number} [interval=6000] - Length in ms of slide interval
|
|
7584
7584
|
*/
|
|
7585
7585
|
_this40.options = $.extend({}, Slider.defaults, options);
|
|
7586
7586
|
|
|
@@ -7656,8 +7656,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7656
7656
|
key: "destroy",
|
|
7657
7657
|
|
|
7658
7658
|
|
|
7659
|
-
/**
|
|
7660
|
-
* Teardown component
|
|
7659
|
+
/**
|
|
7660
|
+
* Teardown component
|
|
7661
7661
|
*/
|
|
7662
7662
|
value: function destroy() {
|
|
7663
7663
|
this.pause();
|
|
@@ -7666,8 +7666,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7666
7666
|
this.el.M_Slider = undefined;
|
|
7667
7667
|
}
|
|
7668
7668
|
|
|
7669
|
-
/**
|
|
7670
|
-
* Setup Event Handlers
|
|
7669
|
+
/**
|
|
7670
|
+
* Setup Event Handlers
|
|
7671
7671
|
*/
|
|
7672
7672
|
|
|
7673
7673
|
}, {
|
|
@@ -7685,8 +7685,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7685
7685
|
}
|
|
7686
7686
|
}
|
|
7687
7687
|
|
|
7688
|
-
/**
|
|
7689
|
-
* Remove Event Handlers
|
|
7688
|
+
/**
|
|
7689
|
+
* Remove Event Handlers
|
|
7690
7690
|
*/
|
|
7691
7691
|
|
|
7692
7692
|
}, {
|
|
@@ -7701,9 +7701,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7701
7701
|
}
|
|
7702
7702
|
}
|
|
7703
7703
|
|
|
7704
|
-
/**
|
|
7705
|
-
* Handle indicator click
|
|
7706
|
-
* @param {Event} e
|
|
7704
|
+
/**
|
|
7705
|
+
* Handle indicator click
|
|
7706
|
+
* @param {Event} e
|
|
7707
7707
|
*/
|
|
7708
7708
|
|
|
7709
7709
|
}, {
|
|
@@ -7713,8 +7713,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7713
7713
|
this.set(currIndex);
|
|
7714
7714
|
}
|
|
7715
7715
|
|
|
7716
|
-
/**
|
|
7717
|
-
* Handle Interval
|
|
7716
|
+
/**
|
|
7717
|
+
* Handle Interval
|
|
7718
7718
|
*/
|
|
7719
7719
|
|
|
7720
7720
|
}, {
|
|
@@ -7728,10 +7728,10 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7728
7728
|
this.set(newActiveIndex);
|
|
7729
7729
|
}
|
|
7730
7730
|
|
|
7731
|
-
/**
|
|
7732
|
-
* Animate in caption
|
|
7733
|
-
* @param {Element} caption
|
|
7734
|
-
* @param {Number} duration
|
|
7731
|
+
/**
|
|
7732
|
+
* Animate in caption
|
|
7733
|
+
* @param {Element} caption
|
|
7734
|
+
* @param {Number} duration
|
|
7735
7735
|
*/
|
|
7736
7736
|
|
|
7737
7737
|
}, {
|
|
@@ -7755,8 +7755,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7755
7755
|
anim(animOptions);
|
|
7756
7756
|
}
|
|
7757
7757
|
|
|
7758
|
-
/**
|
|
7759
|
-
* Set height of slider
|
|
7758
|
+
/**
|
|
7759
|
+
* Set height of slider
|
|
7760
7760
|
*/
|
|
7761
7761
|
|
|
7762
7762
|
}, {
|
|
@@ -7774,8 +7774,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7774
7774
|
}
|
|
7775
7775
|
}
|
|
7776
7776
|
|
|
7777
|
-
/**
|
|
7778
|
-
* Setup indicators
|
|
7777
|
+
/**
|
|
7778
|
+
* Setup indicators
|
|
7779
7779
|
*/
|
|
7780
7780
|
|
|
7781
7781
|
}, {
|
|
@@ -7794,8 +7794,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7794
7794
|
}
|
|
7795
7795
|
}
|
|
7796
7796
|
|
|
7797
|
-
/**
|
|
7798
|
-
* Remove indicators
|
|
7797
|
+
/**
|
|
7798
|
+
* Remove indicators
|
|
7799
7799
|
*/
|
|
7800
7800
|
|
|
7801
7801
|
}, {
|
|
@@ -7804,9 +7804,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7804
7804
|
this.$el.find('ul.indicators').remove();
|
|
7805
7805
|
}
|
|
7806
7806
|
|
|
7807
|
-
/**
|
|
7808
|
-
* Cycle to nth item
|
|
7809
|
-
* @param {Number} index
|
|
7807
|
+
/**
|
|
7808
|
+
* Cycle to nth item
|
|
7809
|
+
* @param {Number} index
|
|
7810
7810
|
*/
|
|
7811
7811
|
|
|
7812
7812
|
}, {
|
|
@@ -7875,8 +7875,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7875
7875
|
}
|
|
7876
7876
|
}
|
|
7877
7877
|
|
|
7878
|
-
/**
|
|
7879
|
-
* Pause slider interval
|
|
7878
|
+
/**
|
|
7879
|
+
* Pause slider interval
|
|
7880
7880
|
*/
|
|
7881
7881
|
|
|
7882
7882
|
}, {
|
|
@@ -7885,8 +7885,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7885
7885
|
clearInterval(this.interval);
|
|
7886
7886
|
}
|
|
7887
7887
|
|
|
7888
|
-
/**
|
|
7889
|
-
* Start slider interval
|
|
7888
|
+
/**
|
|
7889
|
+
* Start slider interval
|
|
7890
7890
|
*/
|
|
7891
7891
|
|
|
7892
7892
|
}, {
|
|
@@ -7896,8 +7896,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7896
7896
|
this.interval = setInterval(this._handleIntervalBound, this.options.duration + this.options.interval);
|
|
7897
7897
|
}
|
|
7898
7898
|
|
|
7899
|
-
/**
|
|
7900
|
-
* Move to next slide
|
|
7899
|
+
/**
|
|
7900
|
+
* Move to next slide
|
|
7901
7901
|
*/
|
|
7902
7902
|
|
|
7903
7903
|
}, {
|
|
@@ -7911,8 +7911,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7911
7911
|
this.set(newIndex);
|
|
7912
7912
|
}
|
|
7913
7913
|
|
|
7914
|
-
/**
|
|
7915
|
-
* Move to previous slide
|
|
7914
|
+
/**
|
|
7915
|
+
* Move to previous slide
|
|
7916
7916
|
*/
|
|
7917
7917
|
|
|
7918
7918
|
}, {
|
|
@@ -7931,8 +7931,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
7931
7931
|
return _get(Slider.__proto__ || Object.getPrototypeOf(Slider), "init", this).call(this, this, els, options);
|
|
7932
7932
|
}
|
|
7933
7933
|
|
|
7934
|
-
/**
|
|
7935
|
-
* Get Instance
|
|
7934
|
+
/**
|
|
7935
|
+
* Get Instance
|
|
7936
7936
|
*/
|
|
7937
7937
|
|
|
7938
7938
|
}, {
|
|
@@ -8006,25 +8006,25 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8006
8006
|
onChipDelete: null
|
|
8007
8007
|
};
|
|
8008
8008
|
|
|
8009
|
-
/**
|
|
8010
|
-
* @typedef {Object} chip
|
|
8011
|
-
* @property {String} tag chip tag string
|
|
8012
|
-
* @property {String} [image] chip avatar image string
|
|
8009
|
+
/**
|
|
8010
|
+
* @typedef {Object} chip
|
|
8011
|
+
* @property {String} tag chip tag string
|
|
8012
|
+
* @property {String} [image] chip avatar image string
|
|
8013
8013
|
*/
|
|
8014
8014
|
|
|
8015
|
-
/**
|
|
8016
|
-
* @class
|
|
8017
|
-
*
|
|
8015
|
+
/**
|
|
8016
|
+
* @class
|
|
8017
|
+
*
|
|
8018
8018
|
*/
|
|
8019
8019
|
|
|
8020
8020
|
var Chips = function (_Component12) {
|
|
8021
8021
|
_inherits(Chips, _Component12);
|
|
8022
8022
|
|
|
8023
|
-
/**
|
|
8024
|
-
* Construct Chips instance and set up overlay
|
|
8025
|
-
* @constructor
|
|
8026
|
-
* @param {Element} el
|
|
8027
|
-
* @param {Object} options
|
|
8023
|
+
/**
|
|
8024
|
+
* Construct Chips instance and set up overlay
|
|
8025
|
+
* @constructor
|
|
8026
|
+
* @param {Element} el
|
|
8027
|
+
* @param {Object} options
|
|
8028
8028
|
*/
|
|
8029
8029
|
function Chips(el, options) {
|
|
8030
8030
|
_classCallCheck(this, Chips);
|
|
@@ -8033,13 +8033,13 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8033
8033
|
|
|
8034
8034
|
_this45.el.M_Chips = _this45;
|
|
8035
8035
|
|
|
8036
|
-
/**
|
|
8037
|
-
* Options for the modal
|
|
8038
|
-
* @member Chips#options
|
|
8039
|
-
* @prop {Array} data
|
|
8040
|
-
* @prop {String} placeholder
|
|
8041
|
-
* @prop {String} secondaryPlaceholder
|
|
8042
|
-
* @prop {Object} autocompleteOptions
|
|
8036
|
+
/**
|
|
8037
|
+
* Options for the modal
|
|
8038
|
+
* @member Chips#options
|
|
8039
|
+
* @prop {Array} data
|
|
8040
|
+
* @prop {String} placeholder
|
|
8041
|
+
* @prop {String} secondaryPlaceholder
|
|
8042
|
+
* @prop {Object} autocompleteOptions
|
|
8043
8043
|
*/
|
|
8044
8044
|
_this45.options = $.extend({}, Chips.defaults, options);
|
|
8045
8045
|
|
|
@@ -8075,15 +8075,15 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8075
8075
|
key: "getData",
|
|
8076
8076
|
|
|
8077
8077
|
|
|
8078
|
-
/**
|
|
8079
|
-
* Get Chips Data
|
|
8078
|
+
/**
|
|
8079
|
+
* Get Chips Data
|
|
8080
8080
|
*/
|
|
8081
8081
|
value: function getData() {
|
|
8082
8082
|
return this.chipsData;
|
|
8083
8083
|
}
|
|
8084
8084
|
|
|
8085
|
-
/**
|
|
8086
|
-
* Teardown component
|
|
8085
|
+
/**
|
|
8086
|
+
* Teardown component
|
|
8087
8087
|
*/
|
|
8088
8088
|
|
|
8089
8089
|
}, {
|
|
@@ -8094,8 +8094,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8094
8094
|
this.el.M_Chips = undefined;
|
|
8095
8095
|
}
|
|
8096
8096
|
|
|
8097
|
-
/**
|
|
8098
|
-
* Setup Event Handlers
|
|
8097
|
+
/**
|
|
8098
|
+
* Setup Event Handlers
|
|
8099
8099
|
*/
|
|
8100
8100
|
|
|
8101
8101
|
}, {
|
|
@@ -8115,8 +8115,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8115
8115
|
this.$input[0].addEventListener('keydown', this._handleInputKeydownBound);
|
|
8116
8116
|
}
|
|
8117
8117
|
|
|
8118
|
-
/**
|
|
8119
|
-
* Remove Event Handlers
|
|
8118
|
+
/**
|
|
8119
|
+
* Remove Event Handlers
|
|
8120
8120
|
*/
|
|
8121
8121
|
|
|
8122
8122
|
}, {
|
|
@@ -8131,9 +8131,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8131
8131
|
this.$input[0].removeEventListener('keydown', this._handleInputKeydownBound);
|
|
8132
8132
|
}
|
|
8133
8133
|
|
|
8134
|
-
/**
|
|
8135
|
-
* Handle Chip Click
|
|
8136
|
-
* @param {Event} e
|
|
8134
|
+
/**
|
|
8135
|
+
* Handle Chip Click
|
|
8136
|
+
* @param {Event} e
|
|
8137
8137
|
*/
|
|
8138
8138
|
|
|
8139
8139
|
}, {
|
|
@@ -8158,24 +8158,24 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8158
8158
|
}
|
|
8159
8159
|
}
|
|
8160
8160
|
|
|
8161
|
-
/**
|
|
8162
|
-
* Handle Chips Keydown
|
|
8163
|
-
* @param {Event} e
|
|
8161
|
+
/**
|
|
8162
|
+
* Handle Chips Keydown
|
|
8163
|
+
* @param {Event} e
|
|
8164
8164
|
*/
|
|
8165
8165
|
|
|
8166
8166
|
}, {
|
|
8167
8167
|
key: "_handleInputFocus",
|
|
8168
8168
|
|
|
8169
8169
|
|
|
8170
|
-
/**
|
|
8171
|
-
* Handle Input Focus
|
|
8170
|
+
/**
|
|
8171
|
+
* Handle Input Focus
|
|
8172
8172
|
*/
|
|
8173
8173
|
value: function _handleInputFocus() {
|
|
8174
8174
|
this.$el.addClass('focus');
|
|
8175
8175
|
}
|
|
8176
8176
|
|
|
8177
|
-
/**
|
|
8178
|
-
* Handle Input Blur
|
|
8177
|
+
/**
|
|
8178
|
+
* Handle Input Blur
|
|
8179
8179
|
*/
|
|
8180
8180
|
|
|
8181
8181
|
}, {
|
|
@@ -8184,9 +8184,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8184
8184
|
this.$el.removeClass('focus');
|
|
8185
8185
|
}
|
|
8186
8186
|
|
|
8187
|
-
/**
|
|
8188
|
-
* Handle Input Keydown
|
|
8189
|
-
* @param {Event} e
|
|
8187
|
+
/**
|
|
8188
|
+
* Handle Input Keydown
|
|
8189
|
+
* @param {Event} e
|
|
8190
8190
|
*/
|
|
8191
8191
|
|
|
8192
8192
|
}, {
|
|
@@ -8216,10 +8216,10 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8216
8216
|
}
|
|
8217
8217
|
}
|
|
8218
8218
|
|
|
8219
|
-
/**
|
|
8220
|
-
* Render Chip
|
|
8221
|
-
* @param {chip} chip
|
|
8222
|
-
* @return {Element}
|
|
8219
|
+
/**
|
|
8220
|
+
* Render Chip
|
|
8221
|
+
* @param {chip} chip
|
|
8222
|
+
* @return {Element}
|
|
8223
8223
|
*/
|
|
8224
8224
|
|
|
8225
8225
|
}, {
|
|
@@ -8248,8 +8248,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8248
8248
|
return renderedChip;
|
|
8249
8249
|
}
|
|
8250
8250
|
|
|
8251
|
-
/**
|
|
8252
|
-
* Render Chips
|
|
8251
|
+
/**
|
|
8252
|
+
* Render Chips
|
|
8253
8253
|
*/
|
|
8254
8254
|
|
|
8255
8255
|
}, {
|
|
@@ -8266,8 +8266,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8266
8266
|
this.$el.append(this.$input[0]);
|
|
8267
8267
|
}
|
|
8268
8268
|
|
|
8269
|
-
/**
|
|
8270
|
-
* Setup Autocomplete
|
|
8269
|
+
/**
|
|
8270
|
+
* Setup Autocomplete
|
|
8271
8271
|
*/
|
|
8272
8272
|
|
|
8273
8273
|
}, {
|
|
@@ -8286,8 +8286,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8286
8286
|
this.autocomplete = M.Autocomplete.init(this.$input[0], this.options.autocompleteOptions);
|
|
8287
8287
|
}
|
|
8288
8288
|
|
|
8289
|
-
/**
|
|
8290
|
-
* Setup Input
|
|
8289
|
+
/**
|
|
8290
|
+
* Setup Input
|
|
8291
8291
|
*/
|
|
8292
8292
|
|
|
8293
8293
|
}, {
|
|
@@ -8302,8 +8302,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8302
8302
|
this.$input.addClass('input');
|
|
8303
8303
|
}
|
|
8304
8304
|
|
|
8305
|
-
/**
|
|
8306
|
-
* Setup Label
|
|
8305
|
+
/**
|
|
8306
|
+
* Setup Label
|
|
8307
8307
|
*/
|
|
8308
8308
|
|
|
8309
8309
|
}, {
|
|
@@ -8315,8 +8315,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8315
8315
|
}
|
|
8316
8316
|
}
|
|
8317
8317
|
|
|
8318
|
-
/**
|
|
8319
|
-
* Set placeholder
|
|
8318
|
+
/**
|
|
8319
|
+
* Set placeholder
|
|
8320
8320
|
*/
|
|
8321
8321
|
|
|
8322
8322
|
}, {
|
|
@@ -8329,9 +8329,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8329
8329
|
}
|
|
8330
8330
|
}
|
|
8331
8331
|
|
|
8332
|
-
/**
|
|
8333
|
-
* Check if chip is valid
|
|
8334
|
-
* @param {chip} chip
|
|
8332
|
+
/**
|
|
8333
|
+
* Check if chip is valid
|
|
8334
|
+
* @param {chip} chip
|
|
8335
8335
|
*/
|
|
8336
8336
|
|
|
8337
8337
|
}, {
|
|
@@ -8351,9 +8351,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8351
8351
|
return false;
|
|
8352
8352
|
}
|
|
8353
8353
|
|
|
8354
|
-
/**
|
|
8355
|
-
* Add chip
|
|
8356
|
-
* @param {chip} chip
|
|
8354
|
+
/**
|
|
8355
|
+
* Add chip
|
|
8356
|
+
* @param {chip} chip
|
|
8357
8357
|
*/
|
|
8358
8358
|
|
|
8359
8359
|
}, {
|
|
@@ -8375,9 +8375,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8375
8375
|
}
|
|
8376
8376
|
}
|
|
8377
8377
|
|
|
8378
|
-
/**
|
|
8379
|
-
* Delete chip
|
|
8380
|
-
* @param {Number} chip
|
|
8378
|
+
/**
|
|
8379
|
+
* Delete chip
|
|
8380
|
+
* @param {Number} chip
|
|
8381
8381
|
*/
|
|
8382
8382
|
|
|
8383
8383
|
}, {
|
|
@@ -8397,9 +8397,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8397
8397
|
}
|
|
8398
8398
|
}
|
|
8399
8399
|
|
|
8400
|
-
/**
|
|
8401
|
-
* Select chip
|
|
8402
|
-
* @param {Number} chip
|
|
8400
|
+
/**
|
|
8401
|
+
* Select chip
|
|
8402
|
+
* @param {Number} chip
|
|
8403
8403
|
*/
|
|
8404
8404
|
|
|
8405
8405
|
}, {
|
|
@@ -8420,8 +8420,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8420
8420
|
return _get(Chips.__proto__ || Object.getPrototypeOf(Chips), "init", this).call(this, this, els, options);
|
|
8421
8421
|
}
|
|
8422
8422
|
|
|
8423
|
-
/**
|
|
8424
|
-
* Get Instance
|
|
8423
|
+
/**
|
|
8424
|
+
* Get Instance
|
|
8425
8425
|
*/
|
|
8426
8426
|
|
|
8427
8427
|
}, {
|
|
@@ -8489,9 +8489,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8489
8489
|
}
|
|
8490
8490
|
}
|
|
8491
8491
|
|
|
8492
|
-
/**
|
|
8493
|
-
* Handle Chips Keyup
|
|
8494
|
-
* @param {Event} e
|
|
8492
|
+
/**
|
|
8493
|
+
* Handle Chips Keyup
|
|
8494
|
+
* @param {Event} e
|
|
8495
8495
|
*/
|
|
8496
8496
|
|
|
8497
8497
|
}, {
|
|
@@ -8500,9 +8500,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8500
8500
|
Chips._keydown = false;
|
|
8501
8501
|
}
|
|
8502
8502
|
|
|
8503
|
-
/**
|
|
8504
|
-
* Handle Chips Blur
|
|
8505
|
-
* @param {Event} e
|
|
8503
|
+
/**
|
|
8504
|
+
* Handle Chips Blur
|
|
8505
|
+
* @param {Event} e
|
|
8506
8506
|
*/
|
|
8507
8507
|
|
|
8508
8508
|
}, {
|
|
@@ -8525,9 +8525,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8525
8525
|
return Chips;
|
|
8526
8526
|
}(Component);
|
|
8527
8527
|
|
|
8528
|
-
/**
|
|
8529
|
-
* @static
|
|
8530
|
-
* @memberof Chips
|
|
8528
|
+
/**
|
|
8529
|
+
* @static
|
|
8530
|
+
* @memberof Chips
|
|
8531
8531
|
*/
|
|
8532
8532
|
|
|
8533
8533
|
|
|
@@ -8560,19 +8560,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8560
8560
|
onPositionChange: null
|
|
8561
8561
|
};
|
|
8562
8562
|
|
|
8563
|
-
/**
|
|
8564
|
-
* @class
|
|
8565
|
-
*
|
|
8563
|
+
/**
|
|
8564
|
+
* @class
|
|
8565
|
+
*
|
|
8566
8566
|
*/
|
|
8567
8567
|
|
|
8568
8568
|
var Pushpin = function (_Component13) {
|
|
8569
8569
|
_inherits(Pushpin, _Component13);
|
|
8570
8570
|
|
|
8571
|
-
/**
|
|
8572
|
-
* Construct Pushpin instance
|
|
8573
|
-
* @constructor
|
|
8574
|
-
* @param {Element} el
|
|
8575
|
-
* @param {Object} options
|
|
8571
|
+
/**
|
|
8572
|
+
* Construct Pushpin instance
|
|
8573
|
+
* @constructor
|
|
8574
|
+
* @param {Element} el
|
|
8575
|
+
* @param {Object} options
|
|
8576
8576
|
*/
|
|
8577
8577
|
function Pushpin(el, options) {
|
|
8578
8578
|
_classCallCheck(this, Pushpin);
|
|
@@ -8581,9 +8581,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8581
8581
|
|
|
8582
8582
|
_this47.el.M_Pushpin = _this47;
|
|
8583
8583
|
|
|
8584
|
-
/**
|
|
8585
|
-
* Options for the modal
|
|
8586
|
-
* @member Pushpin#options
|
|
8584
|
+
/**
|
|
8585
|
+
* Options for the modal
|
|
8586
|
+
* @member Pushpin#options
|
|
8587
8587
|
*/
|
|
8588
8588
|
_this47.options = $.extend({}, Pushpin.defaults, options);
|
|
8589
8589
|
|
|
@@ -8598,8 +8598,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8598
8598
|
key: "destroy",
|
|
8599
8599
|
|
|
8600
8600
|
|
|
8601
|
-
/**
|
|
8602
|
-
* Teardown component
|
|
8601
|
+
/**
|
|
8602
|
+
* Teardown component
|
|
8603
8603
|
*/
|
|
8604
8604
|
value: function destroy() {
|
|
8605
8605
|
this.el.style.top = null;
|
|
@@ -8677,8 +8677,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8677
8677
|
return _get(Pushpin.__proto__ || Object.getPrototypeOf(Pushpin), "init", this).call(this, this, els, options);
|
|
8678
8678
|
}
|
|
8679
8679
|
|
|
8680
|
-
/**
|
|
8681
|
-
* Get Instance
|
|
8680
|
+
/**
|
|
8681
|
+
* Get Instance
|
|
8682
8682
|
*/
|
|
8683
8683
|
|
|
8684
8684
|
}, {
|
|
@@ -8705,9 +8705,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8705
8705
|
return Pushpin;
|
|
8706
8706
|
}(Component);
|
|
8707
8707
|
|
|
8708
|
-
/**
|
|
8709
|
-
* @static
|
|
8710
|
-
* @memberof Pushpin
|
|
8708
|
+
/**
|
|
8709
|
+
* @static
|
|
8710
|
+
* @memberof Pushpin
|
|
8711
8711
|
*/
|
|
8712
8712
|
|
|
8713
8713
|
|
|
@@ -8730,19 +8730,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8730
8730
|
|
|
8731
8731
|
$.fn.reverse = [].reverse;
|
|
8732
8732
|
|
|
8733
|
-
/**
|
|
8734
|
-
* @class
|
|
8735
|
-
*
|
|
8733
|
+
/**
|
|
8734
|
+
* @class
|
|
8735
|
+
*
|
|
8736
8736
|
*/
|
|
8737
8737
|
|
|
8738
8738
|
var FloatingActionButton = function (_Component14) {
|
|
8739
8739
|
_inherits(FloatingActionButton, _Component14);
|
|
8740
8740
|
|
|
8741
|
-
/**
|
|
8742
|
-
* Construct FloatingActionButton instance
|
|
8743
|
-
* @constructor
|
|
8744
|
-
* @param {Element} el
|
|
8745
|
-
* @param {Object} options
|
|
8741
|
+
/**
|
|
8742
|
+
* Construct FloatingActionButton instance
|
|
8743
|
+
* @constructor
|
|
8744
|
+
* @param {Element} el
|
|
8745
|
+
* @param {Object} options
|
|
8746
8746
|
*/
|
|
8747
8747
|
function FloatingActionButton(el, options) {
|
|
8748
8748
|
_classCallCheck(this, FloatingActionButton);
|
|
@@ -8751,12 +8751,12 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8751
8751
|
|
|
8752
8752
|
_this48.el.M_FloatingActionButton = _this48;
|
|
8753
8753
|
|
|
8754
|
-
/**
|
|
8755
|
-
* Options for the fab
|
|
8756
|
-
* @member FloatingActionButton#options
|
|
8757
|
-
* @prop {Boolean} [direction] - Direction fab menu opens
|
|
8758
|
-
* @prop {Boolean} [hoverEnabled=true] - Enable hover vs click
|
|
8759
|
-
* @prop {Boolean} [toolbarEnabled=false] - Enable toolbar transition
|
|
8754
|
+
/**
|
|
8755
|
+
* Options for the fab
|
|
8756
|
+
* @member FloatingActionButton#options
|
|
8757
|
+
* @prop {Boolean} [direction] - Direction fab menu opens
|
|
8758
|
+
* @prop {Boolean} [hoverEnabled=true] - Enable hover vs click
|
|
8759
|
+
* @prop {Boolean} [toolbarEnabled=false] - Enable toolbar transition
|
|
8760
8760
|
*/
|
|
8761
8761
|
_this48.options = $.extend({}, FloatingActionButton.defaults, options);
|
|
8762
8762
|
|
|
@@ -8786,16 +8786,16 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8786
8786
|
key: "destroy",
|
|
8787
8787
|
|
|
8788
8788
|
|
|
8789
|
-
/**
|
|
8790
|
-
* Teardown component
|
|
8789
|
+
/**
|
|
8790
|
+
* Teardown component
|
|
8791
8791
|
*/
|
|
8792
8792
|
value: function destroy() {
|
|
8793
8793
|
this._removeEventHandlers();
|
|
8794
8794
|
this.el.M_FloatingActionButton = undefined;
|
|
8795
8795
|
}
|
|
8796
8796
|
|
|
8797
|
-
/**
|
|
8798
|
-
* Setup Event Handlers
|
|
8797
|
+
/**
|
|
8798
|
+
* Setup Event Handlers
|
|
8799
8799
|
*/
|
|
8800
8800
|
|
|
8801
8801
|
}, {
|
|
@@ -8813,8 +8813,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8813
8813
|
}
|
|
8814
8814
|
}
|
|
8815
8815
|
|
|
8816
|
-
/**
|
|
8817
|
-
* Remove Event Handlers
|
|
8816
|
+
/**
|
|
8817
|
+
* Remove Event Handlers
|
|
8818
8818
|
*/
|
|
8819
8819
|
|
|
8820
8820
|
}, {
|
|
@@ -8828,8 +8828,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8828
8828
|
}
|
|
8829
8829
|
}
|
|
8830
8830
|
|
|
8831
|
-
/**
|
|
8832
|
-
* Handle FAB Click
|
|
8831
|
+
/**
|
|
8832
|
+
* Handle FAB Click
|
|
8833
8833
|
*/
|
|
8834
8834
|
|
|
8835
8835
|
}, {
|
|
@@ -8842,9 +8842,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8842
8842
|
}
|
|
8843
8843
|
}
|
|
8844
8844
|
|
|
8845
|
-
/**
|
|
8846
|
-
* Handle Document Click
|
|
8847
|
-
* @param {Event} e
|
|
8845
|
+
/**
|
|
8846
|
+
* Handle Document Click
|
|
8847
|
+
* @param {Event} e
|
|
8848
8848
|
*/
|
|
8849
8849
|
|
|
8850
8850
|
}, {
|
|
@@ -8855,8 +8855,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8855
8855
|
}
|
|
8856
8856
|
}
|
|
8857
8857
|
|
|
8858
|
-
/**
|
|
8859
|
-
* Open FAB
|
|
8858
|
+
/**
|
|
8859
|
+
* Open FAB
|
|
8860
8860
|
*/
|
|
8861
8861
|
|
|
8862
8862
|
}, {
|
|
@@ -8874,8 +8874,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8874
8874
|
this.isOpen = true;
|
|
8875
8875
|
}
|
|
8876
8876
|
|
|
8877
|
-
/**
|
|
8878
|
-
* Close FAB
|
|
8877
|
+
/**
|
|
8878
|
+
* Close FAB
|
|
8879
8879
|
*/
|
|
8880
8880
|
|
|
8881
8881
|
}, {
|
|
@@ -8895,8 +8895,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8895
8895
|
this.isOpen = false;
|
|
8896
8896
|
}
|
|
8897
8897
|
|
|
8898
|
-
/**
|
|
8899
|
-
* Classic FAB Menu open
|
|
8898
|
+
/**
|
|
8899
|
+
* Classic FAB Menu open
|
|
8900
8900
|
*/
|
|
8901
8901
|
|
|
8902
8902
|
}, {
|
|
@@ -8922,8 +8922,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8922
8922
|
});
|
|
8923
8923
|
}
|
|
8924
8924
|
|
|
8925
|
-
/**
|
|
8926
|
-
* Classic FAB Menu close
|
|
8925
|
+
/**
|
|
8926
|
+
* Classic FAB Menu close
|
|
8927
8927
|
*/
|
|
8928
8928
|
|
|
8929
8929
|
}, {
|
|
@@ -8948,8 +8948,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
8948
8948
|
});
|
|
8949
8949
|
}
|
|
8950
8950
|
|
|
8951
|
-
/**
|
|
8952
|
-
* Toolbar transition Menu open
|
|
8951
|
+
/**
|
|
8952
|
+
* Toolbar transition Menu open
|
|
8953
8953
|
*/
|
|
8954
8954
|
|
|
8955
8955
|
}, {
|
|
@@ -9022,8 +9022,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9022
9022
|
}, 0);
|
|
9023
9023
|
}
|
|
9024
9024
|
|
|
9025
|
-
/**
|
|
9026
|
-
* Toolbar transition Menu close
|
|
9025
|
+
/**
|
|
9026
|
+
* Toolbar transition Menu close
|
|
9027
9027
|
*/
|
|
9028
9028
|
|
|
9029
9029
|
}, {
|
|
@@ -9092,8 +9092,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9092
9092
|
return _get(FloatingActionButton.__proto__ || Object.getPrototypeOf(FloatingActionButton), "init", this).call(this, this, els, options);
|
|
9093
9093
|
}
|
|
9094
9094
|
|
|
9095
|
-
/**
|
|
9096
|
-
* Get Instance
|
|
9095
|
+
/**
|
|
9096
|
+
* Get Instance
|
|
9097
9097
|
*/
|
|
9098
9098
|
|
|
9099
9099
|
}, {
|
|
@@ -9199,19 +9199,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9199
9199
|
onDraw: null
|
|
9200
9200
|
};
|
|
9201
9201
|
|
|
9202
|
-
/**
|
|
9203
|
-
* @class
|
|
9204
|
-
*
|
|
9202
|
+
/**
|
|
9203
|
+
* @class
|
|
9204
|
+
*
|
|
9205
9205
|
*/
|
|
9206
9206
|
|
|
9207
9207
|
var Datepicker = function (_Component15) {
|
|
9208
9208
|
_inherits(Datepicker, _Component15);
|
|
9209
9209
|
|
|
9210
|
-
/**
|
|
9211
|
-
* Construct Datepicker instance and set up overlay
|
|
9212
|
-
* @constructor
|
|
9213
|
-
* @param {Element} el
|
|
9214
|
-
* @param {Object} options
|
|
9210
|
+
/**
|
|
9211
|
+
* Construct Datepicker instance and set up overlay
|
|
9212
|
+
* @constructor
|
|
9213
|
+
* @param {Element} el
|
|
9214
|
+
* @param {Object} options
|
|
9215
9215
|
*/
|
|
9216
9216
|
function Datepicker(el, options) {
|
|
9217
9217
|
_classCallCheck(this, Datepicker);
|
|
@@ -9255,9 +9255,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9255
9255
|
_this53.gotoDate(new Date());
|
|
9256
9256
|
}
|
|
9257
9257
|
|
|
9258
|
-
/**
|
|
9259
|
-
* Describes open/close state of datepicker
|
|
9260
|
-
* @type {Boolean}
|
|
9258
|
+
/**
|
|
9259
|
+
* Describes open/close state of datepicker
|
|
9260
|
+
* @type {Boolean}
|
|
9261
9261
|
*/
|
|
9262
9262
|
_this53.isOpen = false;
|
|
9263
9263
|
return _this53;
|
|
@@ -9267,8 +9267,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9267
9267
|
key: "destroy",
|
|
9268
9268
|
|
|
9269
9269
|
|
|
9270
|
-
/**
|
|
9271
|
-
* Teardown component
|
|
9270
|
+
/**
|
|
9271
|
+
* Teardown component
|
|
9272
9272
|
*/
|
|
9273
9273
|
value: function destroy() {
|
|
9274
9274
|
this._removeEventHandlers();
|
|
@@ -9397,8 +9397,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9397
9397
|
this.dateTextEl.innerHTML = day + ", " + month + " " + date;
|
|
9398
9398
|
}
|
|
9399
9399
|
|
|
9400
|
-
/**
|
|
9401
|
-
* change view to a specific date
|
|
9400
|
+
/**
|
|
9401
|
+
* change view to a specific date
|
|
9402
9402
|
*/
|
|
9403
9403
|
|
|
9404
9404
|
}, {
|
|
@@ -9668,8 +9668,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9668
9668
|
return html += '</div>';
|
|
9669
9669
|
}
|
|
9670
9670
|
|
|
9671
|
-
/**
|
|
9672
|
-
* refresh the HTML
|
|
9671
|
+
/**
|
|
9672
|
+
* refresh the HTML
|
|
9673
9673
|
*/
|
|
9674
9674
|
|
|
9675
9675
|
}, {
|
|
@@ -9731,8 +9731,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9731
9731
|
}
|
|
9732
9732
|
}
|
|
9733
9733
|
|
|
9734
|
-
/**
|
|
9735
|
-
* Setup Event Handlers
|
|
9734
|
+
/**
|
|
9735
|
+
* Setup Event Handlers
|
|
9736
9736
|
*/
|
|
9737
9737
|
|
|
9738
9738
|
}, {
|
|
@@ -9812,8 +9812,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9812
9812
|
};
|
|
9813
9813
|
}
|
|
9814
9814
|
|
|
9815
|
-
/**
|
|
9816
|
-
* Remove Event Handlers
|
|
9815
|
+
/**
|
|
9816
|
+
* Remove Event Handlers
|
|
9817
9817
|
*/
|
|
9818
9818
|
|
|
9819
9819
|
}, {
|
|
@@ -9876,8 +9876,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9876
9876
|
this.gotoYear(e.target.value);
|
|
9877
9877
|
}
|
|
9878
9878
|
|
|
9879
|
-
/**
|
|
9880
|
-
* change view to a specific month (zero-index, e.g. 0: January)
|
|
9879
|
+
/**
|
|
9880
|
+
* change view to a specific month (zero-index, e.g. 0: January)
|
|
9881
9881
|
*/
|
|
9882
9882
|
|
|
9883
9883
|
}, {
|
|
@@ -9889,8 +9889,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9889
9889
|
}
|
|
9890
9890
|
}
|
|
9891
9891
|
|
|
9892
|
-
/**
|
|
9893
|
-
* change view to a specific full year (e.g. "2012")
|
|
9892
|
+
/**
|
|
9893
|
+
* change view to a specific full year (e.g. "2012")
|
|
9894
9894
|
*/
|
|
9895
9895
|
|
|
9896
9896
|
}, {
|
|
@@ -9930,8 +9930,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9930
9930
|
return abbr ? opts.i18n.weekdaysAbbrev[day] : opts.i18n.weekdays[day];
|
|
9931
9931
|
}
|
|
9932
9932
|
|
|
9933
|
-
/**
|
|
9934
|
-
* Set input value to the selected date and close Datepicker
|
|
9933
|
+
/**
|
|
9934
|
+
* Set input value to the selected date and close Datepicker
|
|
9935
9935
|
*/
|
|
9936
9936
|
|
|
9937
9937
|
}, {
|
|
@@ -9941,8 +9941,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9941
9941
|
this.close();
|
|
9942
9942
|
}
|
|
9943
9943
|
|
|
9944
|
-
/**
|
|
9945
|
-
* Open Datepicker
|
|
9944
|
+
/**
|
|
9945
|
+
* Open Datepicker
|
|
9946
9946
|
*/
|
|
9947
9947
|
|
|
9948
9948
|
}, {
|
|
@@ -9961,8 +9961,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
9961
9961
|
return this;
|
|
9962
9962
|
}
|
|
9963
9963
|
|
|
9964
|
-
/**
|
|
9965
|
-
* Close Datepicker
|
|
9964
|
+
/**
|
|
9965
|
+
* Close Datepicker
|
|
9966
9966
|
*/
|
|
9967
9967
|
|
|
9968
9968
|
}, {
|
|
@@ -10024,8 +10024,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10024
10024
|
if (Datepicker._isDate(date)) date.setHours(0, 0, 0, 0);
|
|
10025
10025
|
}
|
|
10026
10026
|
|
|
10027
|
-
/**
|
|
10028
|
-
* Get Instance
|
|
10027
|
+
/**
|
|
10028
|
+
* Get Instance
|
|
10029
10029
|
*/
|
|
10030
10030
|
|
|
10031
10031
|
}, {
|
|
@@ -10085,9 +10085,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10085
10085
|
onSelect: null
|
|
10086
10086
|
};
|
|
10087
10087
|
|
|
10088
|
-
/**
|
|
10089
|
-
* @class
|
|
10090
|
-
*
|
|
10088
|
+
/**
|
|
10089
|
+
* @class
|
|
10090
|
+
*
|
|
10091
10091
|
*/
|
|
10092
10092
|
|
|
10093
10093
|
var Timepicker = function (_Component16) {
|
|
@@ -10117,8 +10117,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10117
10117
|
key: "destroy",
|
|
10118
10118
|
|
|
10119
10119
|
|
|
10120
|
-
/**
|
|
10121
|
-
* Teardown component
|
|
10120
|
+
/**
|
|
10121
|
+
* Teardown component
|
|
10122
10122
|
*/
|
|
10123
10123
|
value: function destroy() {
|
|
10124
10124
|
this._removeEventHandlers();
|
|
@@ -10127,8 +10127,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10127
10127
|
this.el.M_Timepicker = undefined;
|
|
10128
10128
|
}
|
|
10129
10129
|
|
|
10130
|
-
/**
|
|
10131
|
-
* Setup Event Handlers
|
|
10130
|
+
/**
|
|
10131
|
+
* Setup Event Handlers
|
|
10132
10132
|
*/
|
|
10133
10133
|
|
|
10134
10134
|
}, {
|
|
@@ -10661,8 +10661,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10661
10661
|
this.modal.close();
|
|
10662
10662
|
}
|
|
10663
10663
|
|
|
10664
|
-
/**
|
|
10665
|
-
* Finish timepicker selection.
|
|
10664
|
+
/**
|
|
10665
|
+
* Finish timepicker selection.
|
|
10666
10666
|
*/
|
|
10667
10667
|
|
|
10668
10668
|
}, {
|
|
@@ -10707,16 +10707,16 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10707
10707
|
return document.createElementNS(svgNS, name);
|
|
10708
10708
|
}
|
|
10709
10709
|
|
|
10710
|
-
/**
|
|
10711
|
-
* @typedef {Object} Point
|
|
10712
|
-
* @property {number} x The X Coordinate
|
|
10713
|
-
* @property {number} y The Y Coordinate
|
|
10710
|
+
/**
|
|
10711
|
+
* @typedef {Object} Point
|
|
10712
|
+
* @property {number} x The X Coordinate
|
|
10713
|
+
* @property {number} y The Y Coordinate
|
|
10714
10714
|
*/
|
|
10715
10715
|
|
|
10716
|
-
/**
|
|
10717
|
-
* Get x position of mouse or touch event
|
|
10718
|
-
* @param {Event} e
|
|
10719
|
-
* @return {Point} x and y location
|
|
10716
|
+
/**
|
|
10717
|
+
* Get x position of mouse or touch event
|
|
10718
|
+
* @param {Event} e
|
|
10719
|
+
* @return {Point} x and y location
|
|
10720
10720
|
*/
|
|
10721
10721
|
|
|
10722
10722
|
}, {
|
|
@@ -10729,8 +10729,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10729
10729
|
return { x: e.clientX, y: e.clientY };
|
|
10730
10730
|
}
|
|
10731
10731
|
|
|
10732
|
-
/**
|
|
10733
|
-
* Get Instance
|
|
10732
|
+
/**
|
|
10733
|
+
* Get Instance
|
|
10734
10734
|
*/
|
|
10735
10735
|
|
|
10736
10736
|
}, {
|
|
@@ -10762,19 +10762,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10762
10762
|
|
|
10763
10763
|
var _defaults = {};
|
|
10764
10764
|
|
|
10765
|
-
/**
|
|
10766
|
-
* @class
|
|
10767
|
-
*
|
|
10765
|
+
/**
|
|
10766
|
+
* @class
|
|
10767
|
+
*
|
|
10768
10768
|
*/
|
|
10769
10769
|
|
|
10770
10770
|
var CharacterCounter = function (_Component17) {
|
|
10771
10771
|
_inherits(CharacterCounter, _Component17);
|
|
10772
10772
|
|
|
10773
|
-
/**
|
|
10774
|
-
* Construct CharacterCounter instance
|
|
10775
|
-
* @constructor
|
|
10776
|
-
* @param {Element} el
|
|
10777
|
-
* @param {Object} options
|
|
10773
|
+
/**
|
|
10774
|
+
* Construct CharacterCounter instance
|
|
10775
|
+
* @constructor
|
|
10776
|
+
* @param {Element} el
|
|
10777
|
+
* @param {Object} options
|
|
10778
10778
|
*/
|
|
10779
10779
|
function CharacterCounter(el, options) {
|
|
10780
10780
|
_classCallCheck(this, CharacterCounter);
|
|
@@ -10783,8 +10783,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10783
10783
|
|
|
10784
10784
|
_this61.el.M_CharacterCounter = _this61;
|
|
10785
10785
|
|
|
10786
|
-
/**
|
|
10787
|
-
* Options for the character counter
|
|
10786
|
+
/**
|
|
10787
|
+
* Options for the character counter
|
|
10788
10788
|
*/
|
|
10789
10789
|
_this61.options = $.extend({}, CharacterCounter.defaults, options);
|
|
10790
10790
|
|
|
@@ -10799,8 +10799,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10799
10799
|
key: "destroy",
|
|
10800
10800
|
|
|
10801
10801
|
|
|
10802
|
-
/**
|
|
10803
|
-
* Teardown component
|
|
10802
|
+
/**
|
|
10803
|
+
* Teardown component
|
|
10804
10804
|
*/
|
|
10805
10805
|
value: function destroy() {
|
|
10806
10806
|
this._removeEventHandlers();
|
|
@@ -10808,8 +10808,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10808
10808
|
this._removeCounter();
|
|
10809
10809
|
}
|
|
10810
10810
|
|
|
10811
|
-
/**
|
|
10812
|
-
* Setup Event Handlers
|
|
10811
|
+
/**
|
|
10812
|
+
* Setup Event Handlers
|
|
10813
10813
|
*/
|
|
10814
10814
|
|
|
10815
10815
|
}, {
|
|
@@ -10821,8 +10821,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10821
10821
|
this.el.addEventListener('input', this._handleUpdateCounterBound, true);
|
|
10822
10822
|
}
|
|
10823
10823
|
|
|
10824
|
-
/**
|
|
10825
|
-
* Remove Event Handlers
|
|
10824
|
+
/**
|
|
10825
|
+
* Remove Event Handlers
|
|
10826
10826
|
*/
|
|
10827
10827
|
|
|
10828
10828
|
}, {
|
|
@@ -10832,8 +10832,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10832
10832
|
this.el.removeEventListener('input', this._handleUpdateCounterBound, true);
|
|
10833
10833
|
}
|
|
10834
10834
|
|
|
10835
|
-
/**
|
|
10836
|
-
* Setup counter element
|
|
10835
|
+
/**
|
|
10836
|
+
* Setup counter element
|
|
10837
10837
|
*/
|
|
10838
10838
|
|
|
10839
10839
|
}, {
|
|
@@ -10849,8 +10849,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10849
10849
|
this.$el.parent().append(this.counterEl);
|
|
10850
10850
|
}
|
|
10851
10851
|
|
|
10852
|
-
/**
|
|
10853
|
-
* Remove counter element
|
|
10852
|
+
/**
|
|
10853
|
+
* Remove counter element
|
|
10854
10854
|
*/
|
|
10855
10855
|
|
|
10856
10856
|
}, {
|
|
@@ -10859,8 +10859,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10859
10859
|
$(this.counterEl).remove();
|
|
10860
10860
|
}
|
|
10861
10861
|
|
|
10862
|
-
/**
|
|
10863
|
-
* Update counter
|
|
10862
|
+
/**
|
|
10863
|
+
* Update counter
|
|
10864
10864
|
*/
|
|
10865
10865
|
|
|
10866
10866
|
}, {
|
|
@@ -10879,8 +10879,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10879
10879
|
$(this.counterEl).html(counterString);
|
|
10880
10880
|
}
|
|
10881
10881
|
|
|
10882
|
-
/**
|
|
10883
|
-
* Add validation classes
|
|
10882
|
+
/**
|
|
10883
|
+
* Add validation classes
|
|
10884
10884
|
*/
|
|
10885
10885
|
|
|
10886
10886
|
}, {
|
|
@@ -10901,8 +10901,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10901
10901
|
return _get(CharacterCounter.__proto__ || Object.getPrototypeOf(CharacterCounter), "init", this).call(this, this, els, options);
|
|
10902
10902
|
}
|
|
10903
10903
|
|
|
10904
|
-
/**
|
|
10905
|
-
* Get Instance
|
|
10904
|
+
/**
|
|
10905
|
+
* Get Instance
|
|
10906
10906
|
*/
|
|
10907
10907
|
|
|
10908
10908
|
}, {
|
|
@@ -10942,19 +10942,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10942
10942
|
onCycleTo: null // Callback for when a new slide is cycled to.
|
|
10943
10943
|
};
|
|
10944
10944
|
|
|
10945
|
-
/**
|
|
10946
|
-
* @class
|
|
10947
|
-
*
|
|
10945
|
+
/**
|
|
10946
|
+
* @class
|
|
10947
|
+
*
|
|
10948
10948
|
*/
|
|
10949
10949
|
|
|
10950
10950
|
var Carousel = function (_Component18) {
|
|
10951
10951
|
_inherits(Carousel, _Component18);
|
|
10952
10952
|
|
|
10953
|
-
/**
|
|
10954
|
-
* Construct Carousel instance
|
|
10955
|
-
* @constructor
|
|
10956
|
-
* @param {Element} el
|
|
10957
|
-
* @param {Object} options
|
|
10953
|
+
/**
|
|
10954
|
+
* Construct Carousel instance
|
|
10955
|
+
* @constructor
|
|
10956
|
+
* @param {Element} el
|
|
10957
|
+
* @param {Object} options
|
|
10958
10958
|
*/
|
|
10959
10959
|
function Carousel(el, options) {
|
|
10960
10960
|
_classCallCheck(this, Carousel);
|
|
@@ -10963,18 +10963,18 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
10963
10963
|
|
|
10964
10964
|
_this62.el.M_Carousel = _this62;
|
|
10965
10965
|
|
|
10966
|
-
/**
|
|
10967
|
-
* Options for the carousel
|
|
10968
|
-
* @member Carousel#options
|
|
10969
|
-
* @prop {Number} duration
|
|
10970
|
-
* @prop {Number} dist
|
|
10971
|
-
* @prop {Number} shift
|
|
10972
|
-
* @prop {Number} padding
|
|
10973
|
-
* @prop {Number} numVisible
|
|
10974
|
-
* @prop {Boolean} fullWidth
|
|
10975
|
-
* @prop {Boolean} indicators
|
|
10976
|
-
* @prop {Boolean} noWrap
|
|
10977
|
-
* @prop {Function} onCycleTo
|
|
10966
|
+
/**
|
|
10967
|
+
* Options for the carousel
|
|
10968
|
+
* @member Carousel#options
|
|
10969
|
+
* @prop {Number} duration
|
|
10970
|
+
* @prop {Number} dist
|
|
10971
|
+
* @prop {Number} shift
|
|
10972
|
+
* @prop {Number} padding
|
|
10973
|
+
* @prop {Number} numVisible
|
|
10974
|
+
* @prop {Boolean} fullWidth
|
|
10975
|
+
* @prop {Boolean} indicators
|
|
10976
|
+
* @prop {Boolean} noWrap
|
|
10977
|
+
* @prop {Function} onCycleTo
|
|
10978
10978
|
*/
|
|
10979
10979
|
_this62.options = $.extend({}, Carousel.defaults, options);
|
|
10980
10980
|
|
|
@@ -11046,16 +11046,16 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11046
11046
|
key: "destroy",
|
|
11047
11047
|
|
|
11048
11048
|
|
|
11049
|
-
/**
|
|
11050
|
-
* Teardown component
|
|
11049
|
+
/**
|
|
11050
|
+
* Teardown component
|
|
11051
11051
|
*/
|
|
11052
11052
|
value: function destroy() {
|
|
11053
11053
|
this._removeEventHandlers();
|
|
11054
11054
|
this.el.M_Carousel = undefined;
|
|
11055
11055
|
}
|
|
11056
11056
|
|
|
11057
|
-
/**
|
|
11058
|
-
* Setup Event Handlers
|
|
11057
|
+
/**
|
|
11058
|
+
* Setup Event Handlers
|
|
11059
11059
|
*/
|
|
11060
11060
|
|
|
11061
11061
|
}, {
|
|
@@ -11094,8 +11094,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11094
11094
|
window.addEventListener('resize', this._handleThrottledResizeBound);
|
|
11095
11095
|
}
|
|
11096
11096
|
|
|
11097
|
-
/**
|
|
11098
|
-
* Remove Event Handlers
|
|
11097
|
+
/**
|
|
11098
|
+
* Remove Event Handlers
|
|
11099
11099
|
*/
|
|
11100
11100
|
|
|
11101
11101
|
}, {
|
|
@@ -11123,9 +11123,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11123
11123
|
window.removeEventListener('resize', this._handleThrottledResizeBound);
|
|
11124
11124
|
}
|
|
11125
11125
|
|
|
11126
|
-
/**
|
|
11127
|
-
* Handle Carousel Tap
|
|
11128
|
-
* @param {Event} e
|
|
11126
|
+
/**
|
|
11127
|
+
* Handle Carousel Tap
|
|
11128
|
+
* @param {Event} e
|
|
11129
11129
|
*/
|
|
11130
11130
|
|
|
11131
11131
|
}, {
|
|
@@ -11148,9 +11148,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11148
11148
|
this.ticker = setInterval(this._trackBound, 100);
|
|
11149
11149
|
}
|
|
11150
11150
|
|
|
11151
|
-
/**
|
|
11152
|
-
* Handle Carousel Drag
|
|
11153
|
-
* @param {Event} e
|
|
11151
|
+
/**
|
|
11152
|
+
* Handle Carousel Drag
|
|
11153
|
+
* @param {Event} e
|
|
11154
11154
|
*/
|
|
11155
11155
|
|
|
11156
11156
|
}, {
|
|
@@ -11191,9 +11191,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11191
11191
|
}
|
|
11192
11192
|
}
|
|
11193
11193
|
|
|
11194
|
-
/**
|
|
11195
|
-
* Handle Carousel Release
|
|
11196
|
-
* @param {Event} e
|
|
11194
|
+
/**
|
|
11195
|
+
* Handle Carousel Release
|
|
11196
|
+
* @param {Event} e
|
|
11197
11197
|
*/
|
|
11198
11198
|
|
|
11199
11199
|
}, {
|
|
@@ -11232,9 +11232,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11232
11232
|
return false;
|
|
11233
11233
|
}
|
|
11234
11234
|
|
|
11235
|
-
/**
|
|
11236
|
-
* Handle Carousel Click
|
|
11237
|
-
* @param {Event} e
|
|
11235
|
+
/**
|
|
11236
|
+
* Handle Carousel Click
|
|
11237
|
+
* @param {Event} e
|
|
11238
11238
|
*/
|
|
11239
11239
|
|
|
11240
11240
|
}, {
|
|
@@ -11269,9 +11269,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11269
11269
|
}
|
|
11270
11270
|
}
|
|
11271
11271
|
|
|
11272
|
-
/**
|
|
11273
|
-
* Handle Indicator CLick
|
|
11274
|
-
* @param {Event} e
|
|
11272
|
+
/**
|
|
11273
|
+
* Handle Indicator CLick
|
|
11274
|
+
* @param {Event} e
|
|
11275
11275
|
*/
|
|
11276
11276
|
|
|
11277
11277
|
}, {
|
|
@@ -11285,9 +11285,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11285
11285
|
}
|
|
11286
11286
|
}
|
|
11287
11287
|
|
|
11288
|
-
/**
|
|
11289
|
-
* Handle Throttle Resize
|
|
11290
|
-
* @param {Event} e
|
|
11288
|
+
/**
|
|
11289
|
+
* Handle Throttle Resize
|
|
11290
|
+
* @param {Event} e
|
|
11291
11291
|
*/
|
|
11292
11292
|
|
|
11293
11293
|
}, {
|
|
@@ -11305,9 +11305,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11305
11305
|
}
|
|
11306
11306
|
}
|
|
11307
11307
|
|
|
11308
|
-
/**
|
|
11309
|
-
* Set carousel height based on first slide
|
|
11310
|
-
* @param {Booleam} imageOnly - true for image slides
|
|
11308
|
+
/**
|
|
11309
|
+
* Set carousel height based on first slide
|
|
11310
|
+
* @param {Booleam} imageOnly - true for image slides
|
|
11311
11311
|
*/
|
|
11312
11312
|
|
|
11313
11313
|
}, {
|
|
@@ -11342,9 +11342,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11342
11342
|
}
|
|
11343
11343
|
}
|
|
11344
11344
|
|
|
11345
|
-
/**
|
|
11346
|
-
* Get x position from event
|
|
11347
|
-
* @param {Event} e
|
|
11345
|
+
/**
|
|
11346
|
+
* Get x position from event
|
|
11347
|
+
* @param {Event} e
|
|
11348
11348
|
*/
|
|
11349
11349
|
|
|
11350
11350
|
}, {
|
|
@@ -11359,9 +11359,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11359
11359
|
return e.clientX;
|
|
11360
11360
|
}
|
|
11361
11361
|
|
|
11362
|
-
/**
|
|
11363
|
-
* Get y position from event
|
|
11364
|
-
* @param {Event} e
|
|
11362
|
+
/**
|
|
11363
|
+
* Get y position from event
|
|
11364
|
+
* @param {Event} e
|
|
11365
11365
|
*/
|
|
11366
11366
|
|
|
11367
11367
|
}, {
|
|
@@ -11376,9 +11376,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11376
11376
|
return e.clientY;
|
|
11377
11377
|
}
|
|
11378
11378
|
|
|
11379
|
-
/**
|
|
11380
|
-
* Wrap index
|
|
11381
|
-
* @param {Number} x
|
|
11379
|
+
/**
|
|
11380
|
+
* Wrap index
|
|
11381
|
+
* @param {Number} x
|
|
11382
11382
|
*/
|
|
11383
11383
|
|
|
11384
11384
|
}, {
|
|
@@ -11387,8 +11387,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11387
11387
|
return x >= this.count ? x % this.count : x < 0 ? this._wrap(this.count + x % this.count) : x;
|
|
11388
11388
|
}
|
|
11389
11389
|
|
|
11390
|
-
/**
|
|
11391
|
-
* Tracks scrolling information
|
|
11390
|
+
/**
|
|
11391
|
+
* Tracks scrolling information
|
|
11392
11392
|
*/
|
|
11393
11393
|
|
|
11394
11394
|
}, {
|
|
@@ -11409,8 +11409,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11409
11409
|
this.velocity = 0.8 * v + 0.2 * this.velocity;
|
|
11410
11410
|
}
|
|
11411
11411
|
|
|
11412
|
-
/**
|
|
11413
|
-
* Auto scrolls to nearest carousel item.
|
|
11412
|
+
/**
|
|
11413
|
+
* Auto scrolls to nearest carousel item.
|
|
11414
11414
|
*/
|
|
11415
11415
|
|
|
11416
11416
|
}, {
|
|
@@ -11431,9 +11431,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11431
11431
|
}
|
|
11432
11432
|
}
|
|
11433
11433
|
|
|
11434
|
-
/**
|
|
11435
|
-
* Scroll to target
|
|
11436
|
-
* @param {Number} x
|
|
11434
|
+
/**
|
|
11435
|
+
* Scroll to target
|
|
11436
|
+
* @param {Number} x
|
|
11437
11437
|
*/
|
|
11438
11438
|
|
|
11439
11439
|
}, {
|
|
@@ -11559,12 +11559,12 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11559
11559
|
}
|
|
11560
11560
|
}
|
|
11561
11561
|
|
|
11562
|
-
/**
|
|
11563
|
-
* Cycle to target
|
|
11564
|
-
* @param {Element} el
|
|
11565
|
-
* @param {Number} opacity
|
|
11566
|
-
* @param {Number} zIndex
|
|
11567
|
-
* @param {String} transform
|
|
11562
|
+
/**
|
|
11563
|
+
* Cycle to target
|
|
11564
|
+
* @param {Element} el
|
|
11565
|
+
* @param {Number} opacity
|
|
11566
|
+
* @param {Number} zIndex
|
|
11567
|
+
* @param {String} transform
|
|
11568
11568
|
*/
|
|
11569
11569
|
|
|
11570
11570
|
}, {
|
|
@@ -11576,10 +11576,10 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11576
11576
|
el.style.visibility = 'visible';
|
|
11577
11577
|
}
|
|
11578
11578
|
|
|
11579
|
-
/**
|
|
11580
|
-
* Cycle to target
|
|
11581
|
-
* @param {Number} n
|
|
11582
|
-
* @param {Function} callback
|
|
11579
|
+
/**
|
|
11580
|
+
* Cycle to target
|
|
11581
|
+
* @param {Number} n
|
|
11582
|
+
* @param {Function} callback
|
|
11583
11583
|
*/
|
|
11584
11584
|
|
|
11585
11585
|
}, {
|
|
@@ -11623,9 +11623,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11623
11623
|
}
|
|
11624
11624
|
}
|
|
11625
11625
|
|
|
11626
|
-
/**
|
|
11627
|
-
* Cycle to next item
|
|
11628
|
-
* @param {Number} [n]
|
|
11626
|
+
/**
|
|
11627
|
+
* Cycle to next item
|
|
11628
|
+
* @param {Number} [n]
|
|
11629
11629
|
*/
|
|
11630
11630
|
|
|
11631
11631
|
}, {
|
|
@@ -11646,9 +11646,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11646
11646
|
this._cycleTo(index);
|
|
11647
11647
|
}
|
|
11648
11648
|
|
|
11649
|
-
/**
|
|
11650
|
-
* Cycle to previous item
|
|
11651
|
-
* @param {Number} [n]
|
|
11649
|
+
/**
|
|
11650
|
+
* Cycle to previous item
|
|
11651
|
+
* @param {Number} [n]
|
|
11652
11652
|
*/
|
|
11653
11653
|
|
|
11654
11654
|
}, {
|
|
@@ -11670,10 +11670,10 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11670
11670
|
this._cycleTo(index);
|
|
11671
11671
|
}
|
|
11672
11672
|
|
|
11673
|
-
/**
|
|
11674
|
-
* Cycle to nth item
|
|
11675
|
-
* @param {Number} [n]
|
|
11676
|
-
* @param {Function} callback
|
|
11673
|
+
/**
|
|
11674
|
+
* Cycle to nth item
|
|
11675
|
+
* @param {Number} [n]
|
|
11676
|
+
* @param {Function} callback
|
|
11677
11677
|
*/
|
|
11678
11678
|
|
|
11679
11679
|
}, {
|
|
@@ -11699,8 +11699,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11699
11699
|
return _get(Carousel.__proto__ || Object.getPrototypeOf(Carousel), "init", this).call(this, this, els, options);
|
|
11700
11700
|
}
|
|
11701
11701
|
|
|
11702
|
-
/**
|
|
11703
|
-
* Get Instance
|
|
11702
|
+
/**
|
|
11703
|
+
* Get Instance
|
|
11704
11704
|
*/
|
|
11705
11705
|
|
|
11706
11706
|
}, {
|
|
@@ -11733,19 +11733,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11733
11733
|
onClose: undefined
|
|
11734
11734
|
};
|
|
11735
11735
|
|
|
11736
|
-
/**
|
|
11737
|
-
* @class
|
|
11738
|
-
*
|
|
11736
|
+
/**
|
|
11737
|
+
* @class
|
|
11738
|
+
*
|
|
11739
11739
|
*/
|
|
11740
11740
|
|
|
11741
11741
|
var TapTarget = function (_Component19) {
|
|
11742
11742
|
_inherits(TapTarget, _Component19);
|
|
11743
11743
|
|
|
11744
|
-
/**
|
|
11745
|
-
* Construct TapTarget instance
|
|
11746
|
-
* @constructor
|
|
11747
|
-
* @param {Element} el
|
|
11748
|
-
* @param {Object} options
|
|
11744
|
+
/**
|
|
11745
|
+
* Construct TapTarget instance
|
|
11746
|
+
* @constructor
|
|
11747
|
+
* @param {Element} el
|
|
11748
|
+
* @param {Object} options
|
|
11749
11749
|
*/
|
|
11750
11750
|
function TapTarget(el, options) {
|
|
11751
11751
|
_classCallCheck(this, TapTarget);
|
|
@@ -11754,11 +11754,11 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11754
11754
|
|
|
11755
11755
|
_this67.el.M_TapTarget = _this67;
|
|
11756
11756
|
|
|
11757
|
-
/**
|
|
11758
|
-
* Options for the select
|
|
11759
|
-
* @member TapTarget#options
|
|
11760
|
-
* @prop {Function} onOpen - Callback function called when feature discovery is opened
|
|
11761
|
-
* @prop {Function} onClose - Callback function called when feature discovery is closed
|
|
11757
|
+
/**
|
|
11758
|
+
* Options for the select
|
|
11759
|
+
* @member TapTarget#options
|
|
11760
|
+
* @prop {Function} onOpen - Callback function called when feature discovery is opened
|
|
11761
|
+
* @prop {Function} onClose - Callback function called when feature discovery is closed
|
|
11762
11762
|
*/
|
|
11763
11763
|
_this67.options = $.extend({}, TapTarget.defaults, options);
|
|
11764
11764
|
|
|
@@ -11777,16 +11777,16 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11777
11777
|
key: "destroy",
|
|
11778
11778
|
|
|
11779
11779
|
|
|
11780
|
-
/**
|
|
11781
|
-
* Teardown component
|
|
11780
|
+
/**
|
|
11781
|
+
* Teardown component
|
|
11782
11782
|
*/
|
|
11783
11783
|
value: function destroy() {
|
|
11784
11784
|
this._removeEventHandlers();
|
|
11785
11785
|
this.el.TapTarget = undefined;
|
|
11786
11786
|
}
|
|
11787
11787
|
|
|
11788
|
-
/**
|
|
11789
|
-
* Setup Event Handlers
|
|
11788
|
+
/**
|
|
11789
|
+
* Setup Event Handlers
|
|
11790
11790
|
*/
|
|
11791
11791
|
|
|
11792
11792
|
}, {
|
|
@@ -11806,8 +11806,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11806
11806
|
window.addEventListener('resize', this._handleThrottledResizeBound);
|
|
11807
11807
|
}
|
|
11808
11808
|
|
|
11809
|
-
/**
|
|
11810
|
-
* Remove Event Handlers
|
|
11809
|
+
/**
|
|
11810
|
+
* Remove Event Handlers
|
|
11811
11811
|
*/
|
|
11812
11812
|
|
|
11813
11813
|
}, {
|
|
@@ -11818,9 +11818,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11818
11818
|
window.removeEventListener('resize', this._handleThrottledResizeBound);
|
|
11819
11819
|
}
|
|
11820
11820
|
|
|
11821
|
-
/**
|
|
11822
|
-
* Handle Target Click
|
|
11823
|
-
* @param {Event} e
|
|
11821
|
+
/**
|
|
11822
|
+
* Handle Target Click
|
|
11823
|
+
* @param {Event} e
|
|
11824
11824
|
*/
|
|
11825
11825
|
|
|
11826
11826
|
}, {
|
|
@@ -11829,9 +11829,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11829
11829
|
this.open();
|
|
11830
11830
|
}
|
|
11831
11831
|
|
|
11832
|
-
/**
|
|
11833
|
-
* Handle Origin Click
|
|
11834
|
-
* @param {Event} e
|
|
11832
|
+
/**
|
|
11833
|
+
* Handle Origin Click
|
|
11834
|
+
* @param {Event} e
|
|
11835
11835
|
*/
|
|
11836
11836
|
|
|
11837
11837
|
}, {
|
|
@@ -11840,9 +11840,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11840
11840
|
this.close();
|
|
11841
11841
|
}
|
|
11842
11842
|
|
|
11843
|
-
/**
|
|
11844
|
-
* Handle Resize
|
|
11845
|
-
* @param {Event} e
|
|
11843
|
+
/**
|
|
11844
|
+
* Handle Resize
|
|
11845
|
+
* @param {Event} e
|
|
11846
11846
|
*/
|
|
11847
11847
|
|
|
11848
11848
|
}, {
|
|
@@ -11851,9 +11851,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11851
11851
|
this._calculatePositioning();
|
|
11852
11852
|
}
|
|
11853
11853
|
|
|
11854
|
-
/**
|
|
11855
|
-
* Handle Resize
|
|
11856
|
-
* @param {Event} e
|
|
11854
|
+
/**
|
|
11855
|
+
* Handle Resize
|
|
11856
|
+
* @param {Event} e
|
|
11857
11857
|
*/
|
|
11858
11858
|
|
|
11859
11859
|
}, {
|
|
@@ -11866,8 +11866,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11866
11866
|
}
|
|
11867
11867
|
}
|
|
11868
11868
|
|
|
11869
|
-
/**
|
|
11870
|
-
* Setup Tap Target
|
|
11869
|
+
/**
|
|
11870
|
+
* Setup Tap Target
|
|
11871
11871
|
*/
|
|
11872
11872
|
|
|
11873
11873
|
}, {
|
|
@@ -11913,8 +11913,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
11913
11913
|
}
|
|
11914
11914
|
}
|
|
11915
11915
|
|
|
11916
|
-
/**
|
|
11917
|
-
* Calculate positioning
|
|
11916
|
+
/**
|
|
11917
|
+
* Calculate positioning
|
|
11918
11918
|
*/
|
|
11919
11919
|
|
|
11920
11920
|
}, {
|
|
@@ -12003,8 +12003,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12003
12003
|
});
|
|
12004
12004
|
}
|
|
12005
12005
|
|
|
12006
|
-
/**
|
|
12007
|
-
* Open TapTarget
|
|
12006
|
+
/**
|
|
12007
|
+
* Open TapTarget
|
|
12008
12008
|
*/
|
|
12009
12009
|
|
|
12010
12010
|
}, {
|
|
@@ -12026,8 +12026,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12026
12026
|
document.body.addEventListener('touchend', this._handleDocumentClickBound);
|
|
12027
12027
|
}
|
|
12028
12028
|
|
|
12029
|
-
/**
|
|
12030
|
-
* Close Tap Target
|
|
12029
|
+
/**
|
|
12030
|
+
* Close Tap Target
|
|
12031
12031
|
*/
|
|
12032
12032
|
|
|
12033
12033
|
}, {
|
|
@@ -12054,8 +12054,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12054
12054
|
return _get(TapTarget.__proto__ || Object.getPrototypeOf(TapTarget), "init", this).call(this, this, els, options);
|
|
12055
12055
|
}
|
|
12056
12056
|
|
|
12057
|
-
/**
|
|
12058
|
-
* Get Instance
|
|
12057
|
+
/**
|
|
12058
|
+
* Get Instance
|
|
12059
12059
|
*/
|
|
12060
12060
|
|
|
12061
12061
|
}, {
|
|
@@ -12224,7 +12224,6 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12224
12224
|
this.dropdownOptions.id = "select-options-" + M.guid();
|
|
12225
12225
|
$(this.dropdownOptions).addClass('dropdown-content select-dropdown ' + (this.isMultiple ? 'multiple-select-dropdown' : ''));
|
|
12226
12226
|
this.dropdownOptions.setAttribute("role", "listbox");
|
|
12227
|
-
this.dropdownOptions.setAttribute("aria-required", this.el.hasAttribute("required"));
|
|
12228
12227
|
this.dropdownOptions.setAttribute("aria-multiselectable", this.isMultiple);
|
|
12229
12228
|
|
|
12230
12229
|
// Create dropdown structure
|
|
@@ -12262,6 +12261,7 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12262
12261
|
this.input.setAttribute('readonly', 'true');
|
|
12263
12262
|
this.input.setAttribute('data-target', this.dropdownOptions.id);
|
|
12264
12263
|
this.input.setAttribute('aria-readonly', 'true');
|
|
12264
|
+
this.input.setAttribute("aria-required", this.el.hasAttribute("required"));
|
|
12265
12265
|
if (this.el.disabled) $(this.input).prop('disabled', 'true');
|
|
12266
12266
|
|
|
12267
12267
|
// Makes new element to assume HTML's select label and
|
|
@@ -12519,19 +12519,19 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12519
12519
|
|
|
12520
12520
|
var _defaults = {};
|
|
12521
12521
|
|
|
12522
|
-
/**
|
|
12523
|
-
* @class
|
|
12524
|
-
*
|
|
12522
|
+
/**
|
|
12523
|
+
* @class
|
|
12524
|
+
*
|
|
12525
12525
|
*/
|
|
12526
12526
|
|
|
12527
12527
|
var Range = function (_Component21) {
|
|
12528
12528
|
_inherits(Range, _Component21);
|
|
12529
12529
|
|
|
12530
|
-
/**
|
|
12531
|
-
* Construct Range instance
|
|
12532
|
-
* @constructor
|
|
12533
|
-
* @param {Element} el
|
|
12534
|
-
* @param {Object} options
|
|
12530
|
+
/**
|
|
12531
|
+
* Construct Range instance
|
|
12532
|
+
* @constructor
|
|
12533
|
+
* @param {Element} el
|
|
12534
|
+
* @param {Object} options
|
|
12535
12535
|
*/
|
|
12536
12536
|
function Range(el, options) {
|
|
12537
12537
|
_classCallCheck(this, Range);
|
|
@@ -12540,9 +12540,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12540
12540
|
|
|
12541
12541
|
_this74.el.M_Range = _this74;
|
|
12542
12542
|
|
|
12543
|
-
/**
|
|
12544
|
-
* Options for the range
|
|
12545
|
-
* @member Range#options
|
|
12543
|
+
/**
|
|
12544
|
+
* Options for the range
|
|
12545
|
+
* @member Range#options
|
|
12546
12546
|
*/
|
|
12547
12547
|
_this74.options = $.extend({}, Range.defaults, options);
|
|
12548
12548
|
|
|
@@ -12559,8 +12559,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12559
12559
|
key: "destroy",
|
|
12560
12560
|
|
|
12561
12561
|
|
|
12562
|
-
/**
|
|
12563
|
-
* Teardown component
|
|
12562
|
+
/**
|
|
12563
|
+
* Teardown component
|
|
12564
12564
|
*/
|
|
12565
12565
|
value: function destroy() {
|
|
12566
12566
|
this._removeEventHandlers();
|
|
@@ -12568,8 +12568,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12568
12568
|
this.el.M_Range = undefined;
|
|
12569
12569
|
}
|
|
12570
12570
|
|
|
12571
|
-
/**
|
|
12572
|
-
* Setup Event Handlers
|
|
12571
|
+
/**
|
|
12572
|
+
* Setup Event Handlers
|
|
12573
12573
|
*/
|
|
12574
12574
|
|
|
12575
12575
|
}, {
|
|
@@ -12598,8 +12598,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12598
12598
|
this.el.addEventListener('touchleave', this._handleRangeBlurMouseoutTouchleaveBound);
|
|
12599
12599
|
}
|
|
12600
12600
|
|
|
12601
|
-
/**
|
|
12602
|
-
* Remove Event Handlers
|
|
12601
|
+
/**
|
|
12602
|
+
* Remove Event Handlers
|
|
12603
12603
|
*/
|
|
12604
12604
|
|
|
12605
12605
|
}, {
|
|
@@ -12622,9 +12622,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12622
12622
|
this.el.removeEventListener('touchleave', this._handleRangeBlurMouseoutTouchleaveBound);
|
|
12623
12623
|
}
|
|
12624
12624
|
|
|
12625
|
-
/**
|
|
12626
|
-
* Handle Range Change
|
|
12627
|
-
* @param {Event} e
|
|
12625
|
+
/**
|
|
12626
|
+
* Handle Range Change
|
|
12627
|
+
* @param {Event} e
|
|
12628
12628
|
*/
|
|
12629
12629
|
|
|
12630
12630
|
}, {
|
|
@@ -12640,9 +12640,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12640
12640
|
$(this.thumb).addClass('active').css('left', offsetLeft + 'px');
|
|
12641
12641
|
}
|
|
12642
12642
|
|
|
12643
|
-
/**
|
|
12644
|
-
* Handle Range Mousedown and Touchstart
|
|
12645
|
-
* @param {Event} e
|
|
12643
|
+
/**
|
|
12644
|
+
* Handle Range Mousedown and Touchstart
|
|
12645
|
+
* @param {Event} e
|
|
12646
12646
|
*/
|
|
12647
12647
|
|
|
12648
12648
|
}, {
|
|
@@ -12664,8 +12664,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12664
12664
|
}
|
|
12665
12665
|
}
|
|
12666
12666
|
|
|
12667
|
-
/**
|
|
12668
|
-
* Handle Range Input, Mousemove and Touchmove
|
|
12667
|
+
/**
|
|
12668
|
+
* Handle Range Input, Mousemove and Touchmove
|
|
12669
12669
|
*/
|
|
12670
12670
|
|
|
12671
12671
|
}, {
|
|
@@ -12682,8 +12682,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12682
12682
|
}
|
|
12683
12683
|
}
|
|
12684
12684
|
|
|
12685
|
-
/**
|
|
12686
|
-
* Handle Range Mouseup and Touchend
|
|
12685
|
+
/**
|
|
12686
|
+
* Handle Range Mouseup and Touchend
|
|
12687
12687
|
*/
|
|
12688
12688
|
|
|
12689
12689
|
}, {
|
|
@@ -12693,8 +12693,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12693
12693
|
this.$el.removeClass('active');
|
|
12694
12694
|
}
|
|
12695
12695
|
|
|
12696
|
-
/**
|
|
12697
|
-
* Handle Range Blur, Mouseout and Touchleave
|
|
12696
|
+
/**
|
|
12697
|
+
* Handle Range Blur, Mouseout and Touchleave
|
|
12698
12698
|
*/
|
|
12699
12699
|
|
|
12700
12700
|
}, {
|
|
@@ -12720,8 +12720,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12720
12720
|
}
|
|
12721
12721
|
}
|
|
12722
12722
|
|
|
12723
|
-
/**
|
|
12724
|
-
* Setup dropdown
|
|
12723
|
+
/**
|
|
12724
|
+
* Setup dropdown
|
|
12725
12725
|
*/
|
|
12726
12726
|
|
|
12727
12727
|
}, {
|
|
@@ -12735,8 +12735,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12735
12735
|
this.$el.after(this.thumb);
|
|
12736
12736
|
}
|
|
12737
12737
|
|
|
12738
|
-
/**
|
|
12739
|
-
* Remove dropdown
|
|
12738
|
+
/**
|
|
12739
|
+
* Remove dropdown
|
|
12740
12740
|
*/
|
|
12741
12741
|
|
|
12742
12742
|
}, {
|
|
@@ -12745,8 +12745,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12745
12745
|
$(this.thumb).remove();
|
|
12746
12746
|
}
|
|
12747
12747
|
|
|
12748
|
-
/**
|
|
12749
|
-
* morph thumb into bubble
|
|
12748
|
+
/**
|
|
12749
|
+
* morph thumb into bubble
|
|
12750
12750
|
*/
|
|
12751
12751
|
|
|
12752
12752
|
}, {
|
|
@@ -12766,9 +12766,9 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12766
12766
|
});
|
|
12767
12767
|
}
|
|
12768
12768
|
|
|
12769
|
-
/**
|
|
12770
|
-
* Calculate the offset of the thumb
|
|
12771
|
-
* @return {Number} offset in pixels
|
|
12769
|
+
/**
|
|
12770
|
+
* Calculate the offset of the thumb
|
|
12771
|
+
* @return {Number} offset in pixels
|
|
12772
12772
|
*/
|
|
12773
12773
|
|
|
12774
12774
|
}, {
|
|
@@ -12786,8 +12786,8 @@ $jscomp.polyfill = function (e, r, p, m) {
|
|
|
12786
12786
|
return _get(Range.__proto__ || Object.getPrototypeOf(Range), "init", this).call(this, this, els, options);
|
|
12787
12787
|
}
|
|
12788
12788
|
|
|
12789
|
-
/**
|
|
12790
|
-
* Get Instance
|
|
12789
|
+
/**
|
|
12790
|
+
* Get Instance
|
|
12791
12791
|
*/
|
|
12792
12792
|
|
|
12793
12793
|
}, {
|