@materializecss/materialize 2.0.3 → 2.0.4
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/LICENSE +1 -1
- package/README.md +15 -17
- package/dist/css/materialize.css +37 -12
- package/dist/css/materialize.min.css +3 -3
- package/dist/js/materialize.js +87 -71
- package/dist/js/materialize.min.js +3 -3
- package/dist/js/materialize.min.js.map +1 -1
- package/dist/src/dropdown.d.ts +1 -0
- package/dist/src/dropdown.d.ts.map +1 -1
- package/dist/src/tabs.d.ts.map +1 -1
- package/package.json +16 -35
package/dist/js/materialize.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Materialize v2.0.
|
|
3
|
-
* Copyright 2014-
|
|
2
|
+
* Materialize v2.0.4 (https://materializeweb.com)
|
|
3
|
+
* Copyright 2014-2024 Materialize
|
|
4
4
|
* MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
|
|
5
5
|
*/
|
|
6
6
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
var a = factory();
|
|
13
13
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
14
14
|
}
|
|
15
|
-
})(this, ()
|
|
16
|
-
return /******/ (()
|
|
15
|
+
})(this, function() {
|
|
16
|
+
return /******/ (function() { // webpackBootstrap
|
|
17
17
|
/******/ "use strict";
|
|
18
18
|
/******/ var __webpack_modules__ = ({
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
21
21
|
/*!*****************************!*\
|
|
22
22
|
!*** ./src/autocomplete.ts ***!
|
|
23
23
|
\*****************************/
|
|
24
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
24
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -31,15 +31,15 @@ const dropdown_1 = __webpack_require__(/*! ./dropdown */ "./src/dropdown.ts");
|
|
|
31
31
|
const component_1 = __webpack_require__(/*! ./component */ "./src/component.ts");
|
|
32
32
|
;
|
|
33
33
|
let _defaults = {
|
|
34
|
-
data: [],
|
|
35
|
-
onAutocomplete: null,
|
|
34
|
+
data: [], // Autocomplete data set
|
|
35
|
+
onAutocomplete: null, // Callback for when autocompleted
|
|
36
36
|
dropdownOptions: {
|
|
37
37
|
// Default dropdown options
|
|
38
38
|
autoFocus: false,
|
|
39
39
|
closeOnClick: false,
|
|
40
40
|
coverTrigger: false
|
|
41
41
|
},
|
|
42
|
-
minLength: 1,
|
|
42
|
+
minLength: 1, // Min characters before autocomplete starts
|
|
43
43
|
isMultiSelect: false,
|
|
44
44
|
onSearch: (text, autocomplete) => {
|
|
45
45
|
const normSearch = text.toLocaleLowerCase();
|
|
@@ -438,7 +438,7 @@ exports.Autocomplete = Autocomplete;
|
|
|
438
438
|
/*!************************!*\
|
|
439
439
|
!*** ./src/buttons.ts ***!
|
|
440
440
|
\************************/
|
|
441
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
441
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
442
442
|
|
|
443
443
|
|
|
444
444
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -635,7 +635,7 @@ exports.FloatingActionButton = FloatingActionButton;
|
|
|
635
635
|
/*!**********************!*\
|
|
636
636
|
!*** ./src/cards.ts ***!
|
|
637
637
|
\**********************/
|
|
638
|
-
/***/ ((__unused_webpack_module, exports)
|
|
638
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
639
639
|
|
|
640
640
|
|
|
641
641
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -690,7 +690,7 @@ exports.Cards = Cards;
|
|
|
690
690
|
/*!*************************!*\
|
|
691
691
|
!*** ./src/carousel.ts ***!
|
|
692
692
|
\*************************/
|
|
693
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
693
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
694
694
|
|
|
695
695
|
|
|
696
696
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -698,14 +698,14 @@ exports.Carousel = void 0;
|
|
|
698
698
|
const utils_1 = __webpack_require__(/*! ./utils */ "./src/utils.ts");
|
|
699
699
|
const component_1 = __webpack_require__(/*! ./component */ "./src/component.ts");
|
|
700
700
|
let _defaults = {
|
|
701
|
-
duration: 200,
|
|
702
|
-
dist: -100,
|
|
703
|
-
shift: 0,
|
|
704
|
-
padding: 0,
|
|
705
|
-
numVisible: 5,
|
|
706
|
-
fullWidth: false,
|
|
707
|
-
indicators: false,
|
|
708
|
-
noWrap: false,
|
|
701
|
+
duration: 200, // ms
|
|
702
|
+
dist: -100, // zoom scale TODO: make this more intuitive as an option
|
|
703
|
+
shift: 0, // spacing for center image
|
|
704
|
+
padding: 0, // Padding between non center items
|
|
705
|
+
numVisible: 5, // Number of visible items in carousel
|
|
706
|
+
fullWidth: false, // Change to full width styles
|
|
707
|
+
indicators: false, // Toggle indicators
|
|
708
|
+
noWrap: false, // Don't wrap around and cycle through items.
|
|
709
709
|
onCycleTo: null // Callback for when a new slide is cycled to.
|
|
710
710
|
};
|
|
711
711
|
class Carousel extends component_1.Component {
|
|
@@ -1246,7 +1246,7 @@ exports.Carousel = Carousel;
|
|
|
1246
1246
|
/*!*********************************!*\
|
|
1247
1247
|
!*** ./src/characterCounter.ts ***!
|
|
1248
1248
|
\*********************************/
|
|
1249
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
1249
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1250
1250
|
|
|
1251
1251
|
|
|
1252
1252
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -1333,7 +1333,7 @@ exports.CharacterCounter = CharacterCounter;
|
|
|
1333
1333
|
/*!**********************!*\
|
|
1334
1334
|
!*** ./src/chips.ts ***!
|
|
1335
1335
|
\**********************/
|
|
1336
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
1336
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1337
1337
|
|
|
1338
1338
|
|
|
1339
1339
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -1659,7 +1659,7 @@ exports.Chips = Chips;
|
|
|
1659
1659
|
/*!****************************!*\
|
|
1660
1660
|
!*** ./src/collapsible.ts ***!
|
|
1661
1661
|
\****************************/
|
|
1662
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
1662
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1663
1663
|
|
|
1664
1664
|
|
|
1665
1665
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -1747,15 +1747,16 @@ class Collapsible extends component_1.Component {
|
|
|
1747
1747
|
this._setupEventHandlers();
|
|
1748
1748
|
// Open active
|
|
1749
1749
|
const activeBodies = Array.from(this.el.querySelectorAll('li.active > .collapsible-body'));
|
|
1750
|
-
if (this.options.accordion)
|
|
1750
|
+
if (this.options.accordion) {
|
|
1751
1751
|
if (activeBodies.length > 0) {
|
|
1752
1752
|
// Accordion => open first active only
|
|
1753
1753
|
this._setExpanded(activeBodies[0]);
|
|
1754
1754
|
}
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1755
|
+
}
|
|
1756
|
+
else {
|
|
1757
|
+
// Expandables => all active
|
|
1758
|
+
activeBodies.forEach(el => this._setExpanded(el));
|
|
1759
|
+
}
|
|
1759
1760
|
}
|
|
1760
1761
|
static get defaults() {
|
|
1761
1762
|
return _defaults;
|
|
@@ -1824,7 +1825,7 @@ exports.Collapsible = Collapsible;
|
|
|
1824
1825
|
/*!**************************!*\
|
|
1825
1826
|
!*** ./src/component.ts ***!
|
|
1826
1827
|
\**************************/
|
|
1827
|
-
/***/ ((__unused_webpack_module, exports)
|
|
1828
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1828
1829
|
|
|
1829
1830
|
|
|
1830
1831
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -1894,7 +1895,7 @@ exports.Component = Component;
|
|
|
1894
1895
|
/*!***************************!*\
|
|
1895
1896
|
!*** ./src/datepicker.ts ***!
|
|
1896
1897
|
\***************************/
|
|
1897
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
1898
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1898
1899
|
|
|
1899
1900
|
|
|
1900
1901
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -2648,7 +2649,7 @@ exports.Datepicker = Datepicker;
|
|
|
2648
2649
|
/*!*************************!*\
|
|
2649
2650
|
!*** ./src/dropdown.ts ***!
|
|
2650
2651
|
\*************************/
|
|
2651
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
2652
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2652
2653
|
|
|
2653
2654
|
|
|
2654
2655
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -2677,7 +2678,12 @@ class Dropdown extends component_1.Component {
|
|
|
2677
2678
|
super(el, options, Dropdown);
|
|
2678
2679
|
this._handleClick = (e) => {
|
|
2679
2680
|
e.preventDefault();
|
|
2680
|
-
this.
|
|
2681
|
+
if (this.isOpen) {
|
|
2682
|
+
this.close();
|
|
2683
|
+
}
|
|
2684
|
+
else {
|
|
2685
|
+
this.open();
|
|
2686
|
+
}
|
|
2681
2687
|
};
|
|
2682
2688
|
this._handleMouseEnter = () => {
|
|
2683
2689
|
this.open();
|
|
@@ -2703,15 +2709,16 @@ class Dropdown extends component_1.Component {
|
|
|
2703
2709
|
target.closest('.dropdown-content') &&
|
|
2704
2710
|
!this.isTouchMoving) {
|
|
2705
2711
|
// isTouchMoving to check if scrolling on mobile.
|
|
2706
|
-
//setTimeout(() => {
|
|
2707
2712
|
this.close();
|
|
2708
|
-
//}, 0);
|
|
2709
2713
|
}
|
|
2710
|
-
else if (target.closest('.dropdown-
|
|
2711
|
-
|
|
2712
|
-
//
|
|
2713
|
-
|
|
2714
|
-
|
|
2714
|
+
else if (!target.closest('.dropdown-content')) {
|
|
2715
|
+
// Do this one frame later so that if the element clicked also triggers _handleClick
|
|
2716
|
+
// For example, if a label for a select was clicked, that we don't close/open the dropdown
|
|
2717
|
+
setTimeout(() => {
|
|
2718
|
+
if (this.isOpen) {
|
|
2719
|
+
this.close();
|
|
2720
|
+
}
|
|
2721
|
+
}, 0);
|
|
2715
2722
|
}
|
|
2716
2723
|
this.isTouchMoving = false;
|
|
2717
2724
|
};
|
|
@@ -2800,6 +2807,13 @@ class Dropdown extends component_1.Component {
|
|
|
2800
2807
|
}
|
|
2801
2808
|
this.filterTimeout = setTimeout(this._resetFilterQuery, 1000);
|
|
2802
2809
|
};
|
|
2810
|
+
this._handleWindowResize = (e) => {
|
|
2811
|
+
// Only re-place the dropdown if it's still visible
|
|
2812
|
+
// Accounts for elements hiding via media queries
|
|
2813
|
+
if (this.el.offsetParent) {
|
|
2814
|
+
this.recalculateDimensions();
|
|
2815
|
+
}
|
|
2816
|
+
};
|
|
2803
2817
|
this._resetFilterQuery = () => {
|
|
2804
2818
|
this.filterQuery = [];
|
|
2805
2819
|
};
|
|
@@ -2819,7 +2833,9 @@ class Dropdown extends component_1.Component {
|
|
|
2819
2833
|
this.dropdownEl.style.display = 'block';
|
|
2820
2834
|
this._placeDropdown();
|
|
2821
2835
|
this._animateIn();
|
|
2822
|
-
this
|
|
2836
|
+
// Do this one frame later so that we don't bind an event handler that's immediately
|
|
2837
|
+
// called when the event bubbles up to the document and closes the dropdown
|
|
2838
|
+
setTimeout(() => this._setupTemporaryEventHandlers(), 0);
|
|
2823
2839
|
};
|
|
2824
2840
|
/**
|
|
2825
2841
|
* Close dropdown.
|
|
@@ -2917,16 +2933,16 @@ class Dropdown extends component_1.Component {
|
|
|
2917
2933
|
}
|
|
2918
2934
|
}
|
|
2919
2935
|
_setupTemporaryEventHandlers() {
|
|
2920
|
-
|
|
2921
|
-
document.body.addEventListener('click', this._handleDocumentClick, true);
|
|
2936
|
+
document.body.addEventListener('click', this._handleDocumentClick);
|
|
2922
2937
|
document.body.addEventListener('touchmove', this._handleDocumentTouchmove);
|
|
2923
2938
|
this.dropdownEl.addEventListener('keydown', this._handleDropdownKeydown);
|
|
2939
|
+
window.addEventListener('resize', this._handleWindowResize);
|
|
2924
2940
|
}
|
|
2925
2941
|
_removeTemporaryEventHandlers() {
|
|
2926
|
-
|
|
2927
|
-
document.body.removeEventListener('click', this._handleDocumentClick, true);
|
|
2942
|
+
document.body.removeEventListener('click', this._handleDocumentClick);
|
|
2928
2943
|
document.body.removeEventListener('touchmove', this._handleDocumentTouchmove);
|
|
2929
2944
|
this.dropdownEl.removeEventListener('keydown', this._handleDropdownKeydown);
|
|
2945
|
+
window.removeEventListener('resize', this._handleWindowResize);
|
|
2930
2946
|
}
|
|
2931
2947
|
_resetDropdownStyles() {
|
|
2932
2948
|
this.dropdownEl.style.display = '';
|
|
@@ -3136,7 +3152,7 @@ Dropdown._dropdowns = [];
|
|
|
3136
3152
|
/*!**********************!*\
|
|
3137
3153
|
!*** ./src/forms.ts ***!
|
|
3138
3154
|
\**********************/
|
|
3139
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
3155
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3140
3156
|
|
|
3141
3157
|
|
|
3142
3158
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -3273,7 +3289,7 @@ exports.Forms = Forms;
|
|
|
3273
3289
|
/*!****************************!*\
|
|
3274
3290
|
!*** ./src/materialbox.ts ***!
|
|
3275
3291
|
\****************************/
|
|
3276
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
3292
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3277
3293
|
|
|
3278
3294
|
|
|
3279
3295
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -3624,7 +3640,7 @@ exports.Materialbox = Materialbox;
|
|
|
3624
3640
|
/*!**********************!*\
|
|
3625
3641
|
!*** ./src/modal.ts ***!
|
|
3626
3642
|
\**********************/
|
|
3627
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
3643
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3628
3644
|
|
|
3629
3645
|
|
|
3630
3646
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -3866,7 +3882,7 @@ exports.Modal = Modal;
|
|
|
3866
3882
|
/*!*************************!*\
|
|
3867
3883
|
!*** ./src/parallax.ts ***!
|
|
3868
3884
|
\*************************/
|
|
3869
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
3885
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3870
3886
|
|
|
3871
3887
|
|
|
3872
3888
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -3984,7 +4000,7 @@ Parallax._parallaxes = [];
|
|
|
3984
4000
|
/*!************************!*\
|
|
3985
4001
|
!*** ./src/pushpin.ts ***!
|
|
3986
4002
|
\************************/
|
|
3987
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
4003
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3988
4004
|
|
|
3989
4005
|
|
|
3990
4006
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -4097,7 +4113,7 @@ exports.Pushpin = Pushpin;
|
|
|
4097
4113
|
/*!**********************!*\
|
|
4098
4114
|
!*** ./src/range.ts ***!
|
|
4099
4115
|
\**********************/
|
|
4100
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
4116
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4101
4117
|
|
|
4102
4118
|
|
|
4103
4119
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -4274,7 +4290,7 @@ exports.Range = Range;
|
|
|
4274
4290
|
/*!**************************!*\
|
|
4275
4291
|
!*** ./src/scrollspy.ts ***!
|
|
4276
4292
|
\**************************/
|
|
4277
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
4293
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4278
4294
|
|
|
4279
4295
|
|
|
4280
4296
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -4284,7 +4300,7 @@ const component_1 = __webpack_require__(/*! ./component */ "./src/component.ts")
|
|
|
4284
4300
|
;
|
|
4285
4301
|
let _defaults = {
|
|
4286
4302
|
throttle: 100,
|
|
4287
|
-
scrollOffset: 200,
|
|
4303
|
+
scrollOffset: 200, // offset - 200 allows elements near bottom of page to scroll
|
|
4288
4304
|
activeClass: 'active',
|
|
4289
4305
|
getActiveElement: (id) => { return 'a[href="#' + id + '"]'; }
|
|
4290
4306
|
};
|
|
@@ -4458,7 +4474,7 @@ exports.ScrollSpy = ScrollSpy;
|
|
|
4458
4474
|
/*!***********************!*\
|
|
4459
4475
|
!*** ./src/select.ts ***!
|
|
4460
4476
|
\***********************/
|
|
4461
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
4477
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4462
4478
|
|
|
4463
4479
|
|
|
4464
4480
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -4874,7 +4890,7 @@ exports.FormSelect = FormSelect;
|
|
|
4874
4890
|
/*!************************!*\
|
|
4875
4891
|
!*** ./src/sidenav.ts ***!
|
|
4876
4892
|
\************************/
|
|
4877
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
4893
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4878
4894
|
|
|
4879
4895
|
|
|
4880
4896
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -5297,7 +5313,7 @@ exports.Sidenav = Sidenav;
|
|
|
5297
5313
|
/*!***********************!*\
|
|
5298
5314
|
!*** ./src/slider.ts ***!
|
|
5299
5315
|
\***********************/
|
|
5300
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
5316
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5301
5317
|
|
|
5302
5318
|
|
|
5303
5319
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -5636,7 +5652,7 @@ exports.Slider = Slider;
|
|
|
5636
5652
|
/*!*********************!*\
|
|
5637
5653
|
!*** ./src/tabs.ts ***!
|
|
5638
5654
|
\*********************/
|
|
5639
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
5655
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5640
5656
|
|
|
5641
5657
|
|
|
5642
5658
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -5788,7 +5804,8 @@ class Tabs extends component_1.Component {
|
|
|
5788
5804
|
this._index = Math.max(Array.from(this._tabLinks).indexOf(this._activeTabLink), 0);
|
|
5789
5805
|
if (this._activeTabLink && this._activeTabLink.hash) {
|
|
5790
5806
|
this._content = document.querySelector(this._activeTabLink.hash);
|
|
5791
|
-
this._content
|
|
5807
|
+
if (this._content)
|
|
5808
|
+
this._content.classList.add('active');
|
|
5792
5809
|
}
|
|
5793
5810
|
}
|
|
5794
5811
|
_setupSwipeableTabs() {
|
|
@@ -5912,7 +5929,7 @@ exports.Tabs = Tabs;
|
|
|
5912
5929
|
/*!**************************!*\
|
|
5913
5930
|
!*** ./src/tapTarget.ts ***!
|
|
5914
5931
|
\**************************/
|
|
5915
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
5932
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5916
5933
|
|
|
5917
5934
|
|
|
5918
5935
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -6135,7 +6152,7 @@ exports.TapTarget = TapTarget;
|
|
|
6135
6152
|
/*!***************************!*\
|
|
6136
6153
|
!*** ./src/timepicker.ts ***!
|
|
6137
6154
|
\***************************/
|
|
6138
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
6155
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6139
6156
|
|
|
6140
6157
|
|
|
6141
6158
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -6150,8 +6167,8 @@ let _defaults = {
|
|
|
6150
6167
|
tickRadius: 20,
|
|
6151
6168
|
duration: 350,
|
|
6152
6169
|
container: null,
|
|
6153
|
-
defaultTime: 'now',
|
|
6154
|
-
fromNow: 0,
|
|
6170
|
+
defaultTime: 'now', // default time, 'now' or '13:14' e.g.
|
|
6171
|
+
fromNow: 0, // Millisecond offset from the defaultTime
|
|
6155
6172
|
showClearBtn: false,
|
|
6156
6173
|
// internationalization
|
|
6157
6174
|
i18n: {
|
|
@@ -6159,9 +6176,9 @@ let _defaults = {
|
|
|
6159
6176
|
clear: 'Clear',
|
|
6160
6177
|
done: 'Ok'
|
|
6161
6178
|
},
|
|
6162
|
-
autoClose: false,
|
|
6163
|
-
twelveHour: true,
|
|
6164
|
-
vibrate: true,
|
|
6179
|
+
autoClose: false, // auto close when minute is selected
|
|
6180
|
+
twelveHour: true, // change to 12 hour AM/PM clock from 24 hour
|
|
6181
|
+
vibrate: true, // vibrate the device when dragging clock hand
|
|
6165
6182
|
// Callbacks
|
|
6166
6183
|
onOpenStart: null,
|
|
6167
6184
|
onOpenEnd: null,
|
|
@@ -6746,7 +6763,7 @@ exports.Timepicker = Timepicker;
|
|
|
6746
6763
|
/*!***********************!*\
|
|
6747
6764
|
!*** ./src/toasts.ts ***!
|
|
6748
6765
|
\***********************/
|
|
6749
|
-
/***/ ((__unused_webpack_module, exports)
|
|
6766
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
6750
6767
|
|
|
6751
6768
|
|
|
6752
6769
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -6964,7 +6981,7 @@ exports.Toast = Toast;
|
|
|
6964
6981
|
/*!************************!*\
|
|
6965
6982
|
!*** ./src/tooltip.ts ***!
|
|
6966
6983
|
\************************/
|
|
6967
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
6984
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6968
6985
|
|
|
6969
6986
|
|
|
6970
6987
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -7226,7 +7243,7 @@ exports.Tooltip = Tooltip;
|
|
|
7226
7243
|
/*!**********************!*\
|
|
7227
7244
|
!*** ./src/utils.ts ***!
|
|
7228
7245
|
\**********************/
|
|
7229
|
-
/***/ ((__unused_webpack_module, exports)
|
|
7246
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
7230
7247
|
|
|
7231
7248
|
|
|
7232
7249
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -7469,7 +7486,7 @@ Utils.keys = {
|
|
|
7469
7486
|
/*!**********************!*\
|
|
7470
7487
|
!*** ./src/waves.ts ***!
|
|
7471
7488
|
\**********************/
|
|
7472
|
-
/***/ ((__unused_webpack_module, exports)
|
|
7489
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
7473
7490
|
|
|
7474
7491
|
|
|
7475
7492
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -7560,7 +7577,7 @@ exports.Waves = Waves;
|
|
|
7560
7577
|
/************************************************************************/
|
|
7561
7578
|
var __webpack_exports__ = {};
|
|
7562
7579
|
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
7563
|
-
(
|
|
7580
|
+
!function() {
|
|
7564
7581
|
var exports = __webpack_exports__;
|
|
7565
7582
|
/*!***********************!*\
|
|
7566
7583
|
!*** ./src/global.ts ***!
|
|
@@ -7641,7 +7658,7 @@ class M {
|
|
|
7641
7658
|
}
|
|
7642
7659
|
}
|
|
7643
7660
|
exports.M = M;
|
|
7644
|
-
M.version = '2.0.
|
|
7661
|
+
M.version = '2.0.4';
|
|
7645
7662
|
M.Autocomplete = autocomplete_1.Autocomplete;
|
|
7646
7663
|
M.Tabs = tabs_1.Tabs;
|
|
7647
7664
|
M.Carousel = carousel_1.Carousel;
|
|
@@ -7680,8 +7697,7 @@ M.Utils = utils_1.Utils;
|
|
|
7680
7697
|
range_1.Range.Init();
|
|
7681
7698
|
})();
|
|
7682
7699
|
|
|
7683
|
-
}
|
|
7684
|
-
|
|
7700
|
+
}();
|
|
7685
7701
|
/******/ return __webpack_exports__;
|
|
7686
7702
|
/******/ })()
|
|
7687
7703
|
;
|