lory-rails 0.1.3 → 0.1.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.
- checksums.yaml +4 -4
- data/VERSIONS.md +1 -0
- data/lib/lory/rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.lory.js +124 -127
- data/vendor/assets/javascripts/lory.js +123 -128
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 116401ee2e8af93de8480a2ef4d12c5166b0cbbf
|
4
|
+
data.tar.gz: b0c21d3d5c2d8a43ae81cff85a7f05f03807a7c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42a10f0876509104b0f5d28fd2769ee737c68dc24565af1c0daeb4fed2ce2a5b0b84c50fb16124b43730dde2e785dd4d56e80237d49b74c220f3f8126089a3b9
|
7
|
+
data.tar.gz: 0b6f007cc9d369cdbffcc7fddc7ab843138ecedbc8236c5bf63365a049bbf40c87edb92bc6c0c14632ab3b490140f5691583342d0e5293843c663429ef97e04d
|
data/VERSIONS.md
CHANGED
data/lib/lory/rails/version.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
var a = factory();
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
9
9
|
}
|
10
|
-
})(this, function() {
|
10
|
+
})(typeof self !== 'undefined' ? self : this, function() {
|
11
11
|
return /******/ (function(modules) { // webpackBootstrap
|
12
12
|
/******/ // The module cache
|
13
13
|
/******/ var installedModules = {};
|
@@ -43,9 +43,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
43
43
|
/******/ // expose the module cache
|
44
44
|
/******/ __webpack_require__.c = installedModules;
|
45
45
|
/******/
|
46
|
-
/******/ // identity function for calling harmony imports with the correct context
|
47
|
-
/******/ __webpack_require__.i = function(value) { return value; };
|
48
|
-
/******/
|
49
46
|
/******/ // define getter function for harmony exports
|
50
47
|
/******/ __webpack_require__.d = function(exports, name, getter) {
|
51
48
|
/******/ if(!__webpack_require__.o(exports, name)) {
|
@@ -73,7 +70,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
73
70
|
/******/ __webpack_require__.p = "";
|
74
71
|
/******/
|
75
72
|
/******/ // Load entry module and return exports
|
76
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
73
|
+
/******/ return __webpack_require__(__webpack_require__.s = 8);
|
77
74
|
/******/ })
|
78
75
|
/************************************************************************/
|
79
76
|
/******/ ([
|
@@ -118,19 +115,19 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
118
115
|
|
119
116
|
exports.lory = lory;
|
120
117
|
|
121
|
-
var _detectPrefixes = __webpack_require__(
|
118
|
+
var _detectPrefixes = __webpack_require__(2);
|
122
119
|
|
123
120
|
var _detectPrefixes2 = _interopRequireDefault(_detectPrefixes);
|
124
121
|
|
125
|
-
var _detectSupportsPassive = __webpack_require__(
|
122
|
+
var _detectSupportsPassive = __webpack_require__(3);
|
126
123
|
|
127
124
|
var _detectSupportsPassive2 = _interopRequireDefault(_detectSupportsPassive);
|
128
125
|
|
129
|
-
var _dispatchEvent = __webpack_require__(
|
126
|
+
var _dispatchEvent = __webpack_require__(4);
|
130
127
|
|
131
128
|
var _dispatchEvent2 = _interopRequireDefault(_dispatchEvent);
|
132
129
|
|
133
|
-
var _defaults = __webpack_require__(
|
130
|
+
var _defaults = __webpack_require__(6);
|
134
131
|
|
135
132
|
var _defaults2 = _interopRequireDefault(_defaults);
|
136
133
|
|
@@ -609,7 +606,6 @@ function lory(slider, opts) {
|
|
609
606
|
}
|
610
607
|
|
611
608
|
if (!isScrolling && touchOffset) {
|
612
|
-
event.preventDefault();
|
613
609
|
translate(position.x + delta.x, 0, null);
|
614
610
|
}
|
615
611
|
|
@@ -709,118 +705,6 @@ function lory(slider, opts) {
|
|
709
705
|
/* 2 */
|
710
706
|
/***/ (function(module, exports, __webpack_require__) {
|
711
707
|
|
712
|
-
"use strict";
|
713
|
-
|
714
|
-
|
715
|
-
Object.defineProperty(exports, "__esModule", {
|
716
|
-
value: true
|
717
|
-
});
|
718
|
-
exports.default = {
|
719
|
-
/**
|
720
|
-
* slides scrolled at once
|
721
|
-
* @slidesToScroll {Number}
|
722
|
-
*/
|
723
|
-
slidesToScroll: 1,
|
724
|
-
|
725
|
-
/**
|
726
|
-
* time in milliseconds for the animation of a valid slide attempt
|
727
|
-
* @slideSpeed {Number}
|
728
|
-
*/
|
729
|
-
slideSpeed: 300,
|
730
|
-
|
731
|
-
/**
|
732
|
-
* time in milliseconds for the animation of the rewind after the last slide
|
733
|
-
* @rewindSpeed {Number}
|
734
|
-
*/
|
735
|
-
rewindSpeed: 600,
|
736
|
-
|
737
|
-
/**
|
738
|
-
* time for the snapBack of the slider if the slide attempt was not valid
|
739
|
-
* @snapBackSpeed {Number}
|
740
|
-
*/
|
741
|
-
snapBackSpeed: 200,
|
742
|
-
|
743
|
-
/**
|
744
|
-
* Basic easing functions: https://developer.mozilla.org/de/docs/Web/CSS/transition-timing-function
|
745
|
-
* cubic bezier easing functions: http://easings.net/de
|
746
|
-
* @ease {String}
|
747
|
-
*/
|
748
|
-
ease: 'ease',
|
749
|
-
|
750
|
-
/**
|
751
|
-
* if slider reached the last slide, with next click the slider goes back to the startindex.
|
752
|
-
* use infinite or rewind, not both
|
753
|
-
* @rewind {Boolean}
|
754
|
-
*/
|
755
|
-
rewind: false,
|
756
|
-
|
757
|
-
/**
|
758
|
-
* number of visible slides or false
|
759
|
-
* use infinite or rewind, not both
|
760
|
-
* @infinite {number}
|
761
|
-
*/
|
762
|
-
infinite: false,
|
763
|
-
|
764
|
-
/**
|
765
|
-
* the slide index to show when the slider is initialized.
|
766
|
-
* @initialIndex {number}
|
767
|
-
*/
|
768
|
-
initialIndex: 0,
|
769
|
-
|
770
|
-
/**
|
771
|
-
* class name for slider frame
|
772
|
-
* @classNameFrame {string}
|
773
|
-
*/
|
774
|
-
classNameFrame: 'js_frame',
|
775
|
-
|
776
|
-
/**
|
777
|
-
* class name for slides container
|
778
|
-
* @classNameSlideContainer {string}
|
779
|
-
*/
|
780
|
-
classNameSlideContainer: 'js_slides',
|
781
|
-
|
782
|
-
/**
|
783
|
-
* class name for slider prev control
|
784
|
-
* @classNamePrevCtrl {string}
|
785
|
-
*/
|
786
|
-
classNamePrevCtrl: 'js_prev',
|
787
|
-
|
788
|
-
/**
|
789
|
-
* class name for slider next control
|
790
|
-
* @classNameNextCtrl {string}
|
791
|
-
*/
|
792
|
-
classNameNextCtrl: 'js_next',
|
793
|
-
|
794
|
-
/**
|
795
|
-
* class name for current active slide
|
796
|
-
* if emptyString then no class is set
|
797
|
-
* @classNameActiveSlide {string}
|
798
|
-
*/
|
799
|
-
classNameActiveSlide: 'active',
|
800
|
-
|
801
|
-
/**
|
802
|
-
* enables mouse events for swiping on desktop devices
|
803
|
-
* @enableMouseEvents {boolean}
|
804
|
-
*/
|
805
|
-
enableMouseEvents: false,
|
806
|
-
|
807
|
-
/**
|
808
|
-
* window instance
|
809
|
-
* @window {object}
|
810
|
-
*/
|
811
|
-
window: typeof window !== 'undefined' ? window : null,
|
812
|
-
|
813
|
-
/**
|
814
|
-
* If false, slides lory to the first slide on window resize.
|
815
|
-
* @rewindOnResize {boolean}
|
816
|
-
*/
|
817
|
-
rewindOnResize: true
|
818
|
-
};
|
819
|
-
|
820
|
-
/***/ }),
|
821
|
-
/* 3 */
|
822
|
-
/***/ (function(module, exports, __webpack_require__) {
|
823
|
-
|
824
708
|
"use strict";
|
825
709
|
/* WEBPACK VAR INJECTION */(function(global) {
|
826
710
|
|
@@ -881,7 +765,7 @@ function detectPrefixes() {
|
|
881
765
|
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
|
882
766
|
|
883
767
|
/***/ }),
|
884
|
-
/*
|
768
|
+
/* 3 */
|
885
769
|
/***/ (function(module, exports, __webpack_require__) {
|
886
770
|
|
887
771
|
"use strict";
|
@@ -909,7 +793,7 @@ function detectSupportsPassive() {
|
|
909
793
|
}
|
910
794
|
|
911
795
|
/***/ }),
|
912
|
-
/*
|
796
|
+
/* 4 */
|
913
797
|
/***/ (function(module, exports, __webpack_require__) {
|
914
798
|
|
915
799
|
"use strict";
|
@@ -920,7 +804,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
920
804
|
});
|
921
805
|
exports.default = dispatchEvent;
|
922
806
|
|
923
|
-
var _customEvent = __webpack_require__(
|
807
|
+
var _customEvent = __webpack_require__(5);
|
924
808
|
|
925
809
|
var _customEvent2 = _interopRequireDefault(_customEvent);
|
926
810
|
|
@@ -944,7 +828,7 @@ function dispatchEvent(target, type, detail) {
|
|
944
828
|
}
|
945
829
|
|
946
830
|
/***/ }),
|
947
|
-
/*
|
831
|
+
/* 5 */
|
948
832
|
/***/ (function(module, exports, __webpack_require__) {
|
949
833
|
|
950
834
|
/* WEBPACK VAR INJECTION */(function(global) {
|
@@ -999,7 +883,120 @@ function CustomEvent (type, params) {
|
|
999
883
|
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
|
1000
884
|
|
1001
885
|
/***/ }),
|
1002
|
-
/*
|
886
|
+
/* 6 */
|
887
|
+
/***/ (function(module, exports, __webpack_require__) {
|
888
|
+
|
889
|
+
"use strict";
|
890
|
+
|
891
|
+
|
892
|
+
Object.defineProperty(exports, "__esModule", {
|
893
|
+
value: true
|
894
|
+
});
|
895
|
+
exports.default = {
|
896
|
+
/**
|
897
|
+
* slides scrolled at once
|
898
|
+
* @slidesToScroll {Number}
|
899
|
+
*/
|
900
|
+
slidesToScroll: 1,
|
901
|
+
|
902
|
+
/**
|
903
|
+
* time in milliseconds for the animation of a valid slide attempt
|
904
|
+
* @slideSpeed {Number}
|
905
|
+
*/
|
906
|
+
slideSpeed: 300,
|
907
|
+
|
908
|
+
/**
|
909
|
+
* time in milliseconds for the animation of the rewind after the last slide
|
910
|
+
* @rewindSpeed {Number}
|
911
|
+
*/
|
912
|
+
rewindSpeed: 600,
|
913
|
+
|
914
|
+
/**
|
915
|
+
* time for the snapBack of the slider if the slide attempt was not valid
|
916
|
+
* @snapBackSpeed {Number}
|
917
|
+
*/
|
918
|
+
snapBackSpeed: 200,
|
919
|
+
|
920
|
+
/**
|
921
|
+
* Basic easing functions: https://developer.mozilla.org/de/docs/Web/CSS/transition-timing-function
|
922
|
+
* cubic bezier easing functions: http://easings.net/de
|
923
|
+
* @ease {String}
|
924
|
+
*/
|
925
|
+
ease: 'ease',
|
926
|
+
|
927
|
+
/**
|
928
|
+
* if slider reached the last slide, with next click the slider goes back to the startindex.
|
929
|
+
* use infinite or rewind, not both
|
930
|
+
* @rewind {Boolean}
|
931
|
+
*/
|
932
|
+
rewind: false,
|
933
|
+
|
934
|
+
/**
|
935
|
+
* number of visible slides or false
|
936
|
+
* use infinite or rewind, not both
|
937
|
+
* @infinite {number}
|
938
|
+
*/
|
939
|
+
infinite: false,
|
940
|
+
|
941
|
+
/**
|
942
|
+
* the slide index to show when the slider is initialized.
|
943
|
+
* @initialIndex {number}
|
944
|
+
*/
|
945
|
+
initialIndex: 0,
|
946
|
+
|
947
|
+
/**
|
948
|
+
* class name for slider frame
|
949
|
+
* @classNameFrame {string}
|
950
|
+
*/
|
951
|
+
classNameFrame: 'js_frame',
|
952
|
+
|
953
|
+
/**
|
954
|
+
* class name for slides container
|
955
|
+
* @classNameSlideContainer {string}
|
956
|
+
*/
|
957
|
+
classNameSlideContainer: 'js_slides',
|
958
|
+
|
959
|
+
/**
|
960
|
+
* class name for slider prev control
|
961
|
+
* @classNamePrevCtrl {string}
|
962
|
+
*/
|
963
|
+
classNamePrevCtrl: 'js_prev',
|
964
|
+
|
965
|
+
/**
|
966
|
+
* class name for slider next control
|
967
|
+
* @classNameNextCtrl {string}
|
968
|
+
*/
|
969
|
+
classNameNextCtrl: 'js_next',
|
970
|
+
|
971
|
+
/**
|
972
|
+
* class name for current active slide
|
973
|
+
* if emptyString then no class is set
|
974
|
+
* @classNameActiveSlide {string}
|
975
|
+
*/
|
976
|
+
classNameActiveSlide: 'active',
|
977
|
+
|
978
|
+
/**
|
979
|
+
* enables mouse events for swiping on desktop devices
|
980
|
+
* @enableMouseEvents {boolean}
|
981
|
+
*/
|
982
|
+
enableMouseEvents: false,
|
983
|
+
|
984
|
+
/**
|
985
|
+
* window instance
|
986
|
+
* @window {object}
|
987
|
+
*/
|
988
|
+
window: typeof window !== 'undefined' ? window : null,
|
989
|
+
|
990
|
+
/**
|
991
|
+
* If false, slides lory to the first slide on window resize.
|
992
|
+
* @rewindOnResize {boolean}
|
993
|
+
*/
|
994
|
+
rewindOnResize: true
|
995
|
+
};
|
996
|
+
|
997
|
+
/***/ }),
|
998
|
+
/* 7 */,
|
999
|
+
/* 8 */
|
1003
1000
|
/***/ (function(module, exports, __webpack_require__) {
|
1004
1001
|
|
1005
1002
|
"use strict";
|
@@ -7,7 +7,7 @@
|
|
7
7
|
var a = factory();
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
9
9
|
}
|
10
|
-
})(this, function() {
|
10
|
+
})(typeof self !== 'undefined' ? self : this, function() {
|
11
11
|
return /******/ (function(modules) { // webpackBootstrap
|
12
12
|
/******/ // The module cache
|
13
13
|
/******/ var installedModules = {};
|
@@ -43,9 +43,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
43
43
|
/******/ // expose the module cache
|
44
44
|
/******/ __webpack_require__.c = installedModules;
|
45
45
|
/******/
|
46
|
-
/******/ // identity function for calling harmony imports with the correct context
|
47
|
-
/******/ __webpack_require__.i = function(value) { return value; };
|
48
|
-
/******/
|
49
46
|
/******/ // define getter function for harmony exports
|
50
47
|
/******/ __webpack_require__.d = function(exports, name, getter) {
|
51
48
|
/******/ if(!__webpack_require__.o(exports, name)) {
|
@@ -73,7 +70,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
73
70
|
/******/ __webpack_require__.p = "";
|
74
71
|
/******/
|
75
72
|
/******/ // Load entry module and return exports
|
76
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
73
|
+
/******/ return __webpack_require__(__webpack_require__.s = 7);
|
77
74
|
/******/ })
|
78
75
|
/************************************************************************/
|
79
76
|
/******/ ([
|
@@ -118,19 +115,19 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
118
115
|
|
119
116
|
exports.lory = lory;
|
120
117
|
|
121
|
-
var _detectPrefixes = __webpack_require__(
|
118
|
+
var _detectPrefixes = __webpack_require__(2);
|
122
119
|
|
123
120
|
var _detectPrefixes2 = _interopRequireDefault(_detectPrefixes);
|
124
121
|
|
125
|
-
var _detectSupportsPassive = __webpack_require__(
|
122
|
+
var _detectSupportsPassive = __webpack_require__(3);
|
126
123
|
|
127
124
|
var _detectSupportsPassive2 = _interopRequireDefault(_detectSupportsPassive);
|
128
125
|
|
129
|
-
var _dispatchEvent = __webpack_require__(
|
126
|
+
var _dispatchEvent = __webpack_require__(4);
|
130
127
|
|
131
128
|
var _dispatchEvent2 = _interopRequireDefault(_dispatchEvent);
|
132
129
|
|
133
|
-
var _defaults = __webpack_require__(
|
130
|
+
var _defaults = __webpack_require__(6);
|
134
131
|
|
135
132
|
var _defaults2 = _interopRequireDefault(_defaults);
|
136
133
|
|
@@ -609,7 +606,6 @@ function lory(slider, opts) {
|
|
609
606
|
}
|
610
607
|
|
611
608
|
if (!isScrolling && touchOffset) {
|
612
|
-
event.preventDefault();
|
613
609
|
translate(position.x + delta.x, 0, null);
|
614
610
|
}
|
615
611
|
|
@@ -709,118 +705,6 @@ function lory(slider, opts) {
|
|
709
705
|
/* 2 */
|
710
706
|
/***/ (function(module, exports, __webpack_require__) {
|
711
707
|
|
712
|
-
"use strict";
|
713
|
-
|
714
|
-
|
715
|
-
Object.defineProperty(exports, "__esModule", {
|
716
|
-
value: true
|
717
|
-
});
|
718
|
-
exports.default = {
|
719
|
-
/**
|
720
|
-
* slides scrolled at once
|
721
|
-
* @slidesToScroll {Number}
|
722
|
-
*/
|
723
|
-
slidesToScroll: 1,
|
724
|
-
|
725
|
-
/**
|
726
|
-
* time in milliseconds for the animation of a valid slide attempt
|
727
|
-
* @slideSpeed {Number}
|
728
|
-
*/
|
729
|
-
slideSpeed: 300,
|
730
|
-
|
731
|
-
/**
|
732
|
-
* time in milliseconds for the animation of the rewind after the last slide
|
733
|
-
* @rewindSpeed {Number}
|
734
|
-
*/
|
735
|
-
rewindSpeed: 600,
|
736
|
-
|
737
|
-
/**
|
738
|
-
* time for the snapBack of the slider if the slide attempt was not valid
|
739
|
-
* @snapBackSpeed {Number}
|
740
|
-
*/
|
741
|
-
snapBackSpeed: 200,
|
742
|
-
|
743
|
-
/**
|
744
|
-
* Basic easing functions: https://developer.mozilla.org/de/docs/Web/CSS/transition-timing-function
|
745
|
-
* cubic bezier easing functions: http://easings.net/de
|
746
|
-
* @ease {String}
|
747
|
-
*/
|
748
|
-
ease: 'ease',
|
749
|
-
|
750
|
-
/**
|
751
|
-
* if slider reached the last slide, with next click the slider goes back to the startindex.
|
752
|
-
* use infinite or rewind, not both
|
753
|
-
* @rewind {Boolean}
|
754
|
-
*/
|
755
|
-
rewind: false,
|
756
|
-
|
757
|
-
/**
|
758
|
-
* number of visible slides or false
|
759
|
-
* use infinite or rewind, not both
|
760
|
-
* @infinite {number}
|
761
|
-
*/
|
762
|
-
infinite: false,
|
763
|
-
|
764
|
-
/**
|
765
|
-
* the slide index to show when the slider is initialized.
|
766
|
-
* @initialIndex {number}
|
767
|
-
*/
|
768
|
-
initialIndex: 0,
|
769
|
-
|
770
|
-
/**
|
771
|
-
* class name for slider frame
|
772
|
-
* @classNameFrame {string}
|
773
|
-
*/
|
774
|
-
classNameFrame: 'js_frame',
|
775
|
-
|
776
|
-
/**
|
777
|
-
* class name for slides container
|
778
|
-
* @classNameSlideContainer {string}
|
779
|
-
*/
|
780
|
-
classNameSlideContainer: 'js_slides',
|
781
|
-
|
782
|
-
/**
|
783
|
-
* class name for slider prev control
|
784
|
-
* @classNamePrevCtrl {string}
|
785
|
-
*/
|
786
|
-
classNamePrevCtrl: 'js_prev',
|
787
|
-
|
788
|
-
/**
|
789
|
-
* class name for slider next control
|
790
|
-
* @classNameNextCtrl {string}
|
791
|
-
*/
|
792
|
-
classNameNextCtrl: 'js_next',
|
793
|
-
|
794
|
-
/**
|
795
|
-
* class name for current active slide
|
796
|
-
* if emptyString then no class is set
|
797
|
-
* @classNameActiveSlide {string}
|
798
|
-
*/
|
799
|
-
classNameActiveSlide: 'active',
|
800
|
-
|
801
|
-
/**
|
802
|
-
* enables mouse events for swiping on desktop devices
|
803
|
-
* @enableMouseEvents {boolean}
|
804
|
-
*/
|
805
|
-
enableMouseEvents: false,
|
806
|
-
|
807
|
-
/**
|
808
|
-
* window instance
|
809
|
-
* @window {object}
|
810
|
-
*/
|
811
|
-
window: typeof window !== 'undefined' ? window : null,
|
812
|
-
|
813
|
-
/**
|
814
|
-
* If false, slides lory to the first slide on window resize.
|
815
|
-
* @rewindOnResize {boolean}
|
816
|
-
*/
|
817
|
-
rewindOnResize: true
|
818
|
-
};
|
819
|
-
|
820
|
-
/***/ }),
|
821
|
-
/* 3 */
|
822
|
-
/***/ (function(module, exports, __webpack_require__) {
|
823
|
-
|
824
708
|
"use strict";
|
825
709
|
/* WEBPACK VAR INJECTION */(function(global) {
|
826
710
|
|
@@ -881,7 +765,7 @@ function detectPrefixes() {
|
|
881
765
|
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
|
882
766
|
|
883
767
|
/***/ }),
|
884
|
-
/*
|
768
|
+
/* 3 */
|
885
769
|
/***/ (function(module, exports, __webpack_require__) {
|
886
770
|
|
887
771
|
"use strict";
|
@@ -909,7 +793,7 @@ function detectSupportsPassive() {
|
|
909
793
|
}
|
910
794
|
|
911
795
|
/***/ }),
|
912
|
-
/*
|
796
|
+
/* 4 */
|
913
797
|
/***/ (function(module, exports, __webpack_require__) {
|
914
798
|
|
915
799
|
"use strict";
|
@@ -920,7 +804,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
920
804
|
});
|
921
805
|
exports.default = dispatchEvent;
|
922
806
|
|
923
|
-
var _customEvent = __webpack_require__(
|
807
|
+
var _customEvent = __webpack_require__(5);
|
924
808
|
|
925
809
|
var _customEvent2 = _interopRequireDefault(_customEvent);
|
926
810
|
|
@@ -944,7 +828,7 @@ function dispatchEvent(target, type, detail) {
|
|
944
828
|
}
|
945
829
|
|
946
830
|
/***/ }),
|
947
|
-
/*
|
831
|
+
/* 5 */
|
948
832
|
/***/ (function(module, exports, __webpack_require__) {
|
949
833
|
|
950
834
|
/* WEBPACK VAR INJECTION */(function(global) {
|
@@ -999,8 +883,119 @@ function CustomEvent (type, params) {
|
|
999
883
|
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
|
1000
884
|
|
1001
885
|
/***/ }),
|
1002
|
-
/*
|
1003
|
-
|
886
|
+
/* 6 */
|
887
|
+
/***/ (function(module, exports, __webpack_require__) {
|
888
|
+
|
889
|
+
"use strict";
|
890
|
+
|
891
|
+
|
892
|
+
Object.defineProperty(exports, "__esModule", {
|
893
|
+
value: true
|
894
|
+
});
|
895
|
+
exports.default = {
|
896
|
+
/**
|
897
|
+
* slides scrolled at once
|
898
|
+
* @slidesToScroll {Number}
|
899
|
+
*/
|
900
|
+
slidesToScroll: 1,
|
901
|
+
|
902
|
+
/**
|
903
|
+
* time in milliseconds for the animation of a valid slide attempt
|
904
|
+
* @slideSpeed {Number}
|
905
|
+
*/
|
906
|
+
slideSpeed: 300,
|
907
|
+
|
908
|
+
/**
|
909
|
+
* time in milliseconds for the animation of the rewind after the last slide
|
910
|
+
* @rewindSpeed {Number}
|
911
|
+
*/
|
912
|
+
rewindSpeed: 600,
|
913
|
+
|
914
|
+
/**
|
915
|
+
* time for the snapBack of the slider if the slide attempt was not valid
|
916
|
+
* @snapBackSpeed {Number}
|
917
|
+
*/
|
918
|
+
snapBackSpeed: 200,
|
919
|
+
|
920
|
+
/**
|
921
|
+
* Basic easing functions: https://developer.mozilla.org/de/docs/Web/CSS/transition-timing-function
|
922
|
+
* cubic bezier easing functions: http://easings.net/de
|
923
|
+
* @ease {String}
|
924
|
+
*/
|
925
|
+
ease: 'ease',
|
926
|
+
|
927
|
+
/**
|
928
|
+
* if slider reached the last slide, with next click the slider goes back to the startindex.
|
929
|
+
* use infinite or rewind, not both
|
930
|
+
* @rewind {Boolean}
|
931
|
+
*/
|
932
|
+
rewind: false,
|
933
|
+
|
934
|
+
/**
|
935
|
+
* number of visible slides or false
|
936
|
+
* use infinite or rewind, not both
|
937
|
+
* @infinite {number}
|
938
|
+
*/
|
939
|
+
infinite: false,
|
940
|
+
|
941
|
+
/**
|
942
|
+
* the slide index to show when the slider is initialized.
|
943
|
+
* @initialIndex {number}
|
944
|
+
*/
|
945
|
+
initialIndex: 0,
|
946
|
+
|
947
|
+
/**
|
948
|
+
* class name for slider frame
|
949
|
+
* @classNameFrame {string}
|
950
|
+
*/
|
951
|
+
classNameFrame: 'js_frame',
|
952
|
+
|
953
|
+
/**
|
954
|
+
* class name for slides container
|
955
|
+
* @classNameSlideContainer {string}
|
956
|
+
*/
|
957
|
+
classNameSlideContainer: 'js_slides',
|
958
|
+
|
959
|
+
/**
|
960
|
+
* class name for slider prev control
|
961
|
+
* @classNamePrevCtrl {string}
|
962
|
+
*/
|
963
|
+
classNamePrevCtrl: 'js_prev',
|
964
|
+
|
965
|
+
/**
|
966
|
+
* class name for slider next control
|
967
|
+
* @classNameNextCtrl {string}
|
968
|
+
*/
|
969
|
+
classNameNextCtrl: 'js_next',
|
970
|
+
|
971
|
+
/**
|
972
|
+
* class name for current active slide
|
973
|
+
* if emptyString then no class is set
|
974
|
+
* @classNameActiveSlide {string}
|
975
|
+
*/
|
976
|
+
classNameActiveSlide: 'active',
|
977
|
+
|
978
|
+
/**
|
979
|
+
* enables mouse events for swiping on desktop devices
|
980
|
+
* @enableMouseEvents {boolean}
|
981
|
+
*/
|
982
|
+
enableMouseEvents: false,
|
983
|
+
|
984
|
+
/**
|
985
|
+
* window instance
|
986
|
+
* @window {object}
|
987
|
+
*/
|
988
|
+
window: typeof window !== 'undefined' ? window : null,
|
989
|
+
|
990
|
+
/**
|
991
|
+
* If false, slides lory to the first slide on window resize.
|
992
|
+
* @rewindOnResize {boolean}
|
993
|
+
*/
|
994
|
+
rewindOnResize: true
|
995
|
+
};
|
996
|
+
|
997
|
+
/***/ }),
|
998
|
+
/* 7 */
|
1004
999
|
/***/ (function(module, exports, __webpack_require__) {
|
1005
1000
|
|
1006
1001
|
module.exports = __webpack_require__(1);
|