js-cloudimage-360-view 2.6.0 → 2.7.2-beta.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.
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var TO_START_POINTER_ZOOM = {
7
+ SCROLL_TO_START: 'scroll',
8
+ CLICK_TO_START: 'click'
9
+ };
10
+
11
+ var MOUSE_LEAVE_ACTIONS = {
12
+ RESET_ZOOM: 'resetZoom'
13
+ };
14
+
15
+ var ORIENTATIONS = {
16
+ X: 'x-axis',
17
+ Y: 'y-axis',
18
+ CENTER: 'center'
19
+ };
20
+
21
+ var AUTOPLAY_BEHAVIOR = {
22
+ SPIN_X: 'spin-x',
23
+ SPIN_Y: 'spin-y',
24
+ SPIN_XY: 'spin-xy',
25
+ SPIN_YX: 'spin-yx'
26
+ };
27
+
28
+ var ORGINAL_SIZE_REGEX = /width=\d+|w=\d+|h=\d+|&width=\d+|&w=\d+|&h=\d+|func=\w+|\?$/g;
29
+ var AND_SYMBOL_REGEX = /\?&/g;
30
+
31
+ var falsyValues = [false, 0, null, undefined, 'false', "0", 'null', 'undefined'];
32
+
33
+ exports.TO_START_POINTER_ZOOM = TO_START_POINTER_ZOOM;
34
+ exports.MOUSE_LEAVE_ACTIONS = MOUSE_LEAVE_ACTIONS;
35
+ exports.ORIENTATIONS = ORIENTATIONS;
36
+ exports.AUTOPLAY_BEHAVIOR = AUTOPLAY_BEHAVIOR;
37
+ exports.ORGINAL_SIZE_REGEX = ORGINAL_SIZE_REGEX;
38
+ exports.AND_SYMBOL_REGEX = AND_SYMBOL_REGEX;
39
+ exports.falsyValues = falsyValues;