@prom-ui/core 1.3.1 → 1.4.0
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/Avatar/cjs/index.development.js +99 -67
- package/Avatar/cjs/index.development.v2.js +99 -67
- package/Avatar/cjs/index.production.js +1 -1
- package/Avatar/cjs/index.production.v2.js +1 -1
- package/Avatar/index.d.ts +14 -14
- package/Avatar/package.json +1 -1
- package/Avatar/utils.d.ts +2 -2
- package/Backdrop/cjs/index.development.js +131 -77
- package/Backdrop/cjs/index.development.v2.js +131 -77
- package/Backdrop/cjs/index.production.js +1 -1
- package/Backdrop/cjs/index.production.v2.js +1 -1
- package/Backdrop/index.d.ts +25 -25
- package/Backdrop/package.json +1 -1
- package/Body/cjs/index.development.js +2 -0
- package/Body/cjs/index.development.v2.js +2 -0
- package/Body/index.d.ts +36 -36
- package/Body/package.json +1 -1
- package/BodyContext/cjs/index.development.js +6 -7
- package/BodyContext/cjs/index.development.v2.js +6 -7
- package/BodyContext/cjs/index.production.js +1 -1
- package/BodyContext/cjs/index.production.v2.js +1 -1
- package/BodyContext/index.d.ts +12 -12
- package/BodyContext/package.json +1 -1
- package/BodyProvider/cjs/index.development.js +7 -6
- package/BodyProvider/cjs/index.development.v2.js +7 -6
- package/BodyProvider/index.d.ts +10 -10
- package/BodyProvider/package.json +1 -1
- package/Box/cjs/index.development.js +4 -4
- package/Box/cjs/index.development.v2.js +4 -4
- package/Box/index.d.ts +106 -106
- package/Box/package.json +1 -1
- package/Button/cjs/index.development.js +67 -62
- package/Button/cjs/index.development.v2.js +67 -62
- package/Button/cjs/index.production.js +1 -1
- package/Button/cjs/index.production.v2.js +1 -1
- package/Button/index.d.ts +45 -45
- package/Button/package.json +1 -1
- package/ButtonPageUp/cjs/index.development.js +195 -85
- package/ButtonPageUp/cjs/index.development.v2.js +195 -85
- package/ButtonPageUp/cjs/index.production.js +1 -1
- package/ButtonPageUp/cjs/index.production.v2.js +1 -1
- package/ButtonPageUp/index.d.ts +18 -18
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/cjs/index.development.js +99 -67
- package/Checkbox/cjs/index.development.v2.js +99 -67
- package/Checkbox/cjs/index.production.js +1 -1
- package/Checkbox/cjs/index.production.v2.js +1 -1
- package/Checkbox/index.d.ts +8 -8
- package/Checkbox/package.json +1 -1
- package/Flex/index.d.ts +34 -34
- package/Flex/package.json +1 -1
- package/Grid/index.d.ts +46 -46
- package/Grid/package.json +1 -1
- package/Icon/index.d.ts +9 -9
- package/Icon/package.json +1 -1
- package/Image/index.d.ts +42 -42
- package/Image/package.json +1 -1
- package/ImageEmoji/cjs/index.development.js +70 -63
- package/ImageEmoji/cjs/index.development.v2.js +70 -63
- package/ImageEmoji/cjs/index.production.js +1 -1
- package/ImageEmoji/cjs/index.production.v2.js +1 -1
- package/ImageEmoji/index.d.ts +9 -9
- package/ImageEmoji/package.json +1 -1
- package/Input/index.d.ts +18 -18
- package/Input/package.json +1 -1
- package/InputField/addons/AfterClearValue.d.ts +3 -3
- package/InputField/addons/AfterCorrectValue.d.ts +2 -2
- package/InputField/addons/AfterLoading.d.ts +2 -2
- package/InputField/addons/AfterTogglePassword.d.ts +6 -6
- package/InputField/addons/ErrorText.d.ts +6 -6
- package/InputField/cjs/index.development.js +237 -173
- package/InputField/cjs/index.development.v2.js +237 -173
- package/InputField/cjs/index.production.js +1 -1
- package/InputField/cjs/index.production.v2.js +1 -1
- package/InputField/index.d.ts +18 -18
- package/InputField/package.json +1 -1
- package/InputField/utils.d.ts +10 -10
- package/KeyPress/cjs/index.development.js +13 -13
- package/KeyPress/cjs/index.development.v2.js +13 -13
- package/KeyPress/index.d.ts +14 -14
- package/KeyPress/package.json +1 -1
- package/Line/index.d.ts +13 -13
- package/Line/package.json +1 -1
- package/Link/cjs/index.development.js +5 -5
- package/Link/cjs/index.development.v2.js +5 -5
- package/Link/index.d.ts +28 -28
- package/Link/package.json +1 -1
- package/List/index.d.ts +23 -23
- package/List/package.json +1 -1
- package/Media/MediaProvider.d.ts +8 -8
- package/Media/cjs/index.development.js +70 -19
- package/Media/cjs/index.development.v2.js +70 -19
- package/Media/cjs/index.production.js +1 -1
- package/Media/cjs/index.production.v2.js +1 -1
- package/Media/index.d.ts +20 -20
- package/Media/package.json +1 -1
- package/OutsideClick/cjs/index.development.js +117 -61
- package/OutsideClick/cjs/index.development.v2.js +117 -61
- package/OutsideClick/cjs/index.production.js +1 -1
- package/OutsideClick/cjs/index.production.v2.js +1 -1
- package/OutsideClick/index.d.ts +12 -12
- package/OutsideClick/package.json +1 -1
- package/Overlay/cjs/index.development.js +197 -183
- package/Overlay/cjs/index.development.v2.js +197 -183
- package/Overlay/cjs/index.production.js +1 -1
- package/Overlay/cjs/index.production.v2.js +1 -1
- package/Overlay/components/OverlayHeader.d.ts +11 -11
- package/Overlay/components/SwipeClose.d.ts +11 -11
- package/Overlay/components/TouchScrollable.d.ts +8 -8
- package/Overlay/index.d.ts +76 -76
- package/Overlay/package.json +1 -1
- package/Overlay/utils.d.ts +10 -10
- package/Picture/index.d.ts +70 -70
- package/Picture/package.json +1 -1
- package/Portal/cjs/index.development.js +11 -11
- package/Portal/cjs/index.development.v2.js +11 -11
- package/Portal/index.d.ts +10 -10
- package/Portal/package.json +1 -1
- package/QRCode/cjs/index.development.js +11 -11
- package/QRCode/cjs/index.development.v2.js +11 -11
- package/QRCode/index.d.ts +17 -17
- package/QRCode/package.json +1 -1
- package/Rating/cjs/index.development.js +75 -69
- package/Rating/cjs/index.development.v2.js +75 -69
- package/Rating/cjs/index.production.js +1 -1
- package/Rating/cjs/index.production.v2.js +1 -1
- package/Rating/index.d.ts +17 -17
- package/Rating/package.json +1 -1
- package/RatingSelect/cjs/index.development.js +148 -68
- package/RatingSelect/cjs/index.development.v2.js +148 -68
- package/RatingSelect/cjs/index.production.js +1 -1
- package/RatingSelect/cjs/index.production.v2.js +1 -1
- package/RatingSelect/index.d.ts +22 -18
- package/RatingSelect/package.json +1 -1
- package/SafeQuery/cjs/index.development.js +158 -110
- package/SafeQuery/cjs/index.development.v2.js +158 -110
- package/SafeQuery/cjs/index.production.js +1 -1
- package/SafeQuery/cjs/index.production.v2.js +1 -1
- package/SafeQuery/components/Error.d.ts +7 -7
- package/SafeQuery/index.d.ts +10 -10
- package/SafeQuery/package.json +1 -1
- package/Scroll/index.d.ts +25 -25
- package/Scroll/package.json +1 -1
- package/ScrollControls/ScrollControlsButton.d.ts +11 -11
- package/ScrollControls/cjs/index.development.js +201 -113
- package/ScrollControls/cjs/index.development.v2.js +201 -113
- package/ScrollControls/cjs/index.production.js +1 -1
- package/ScrollControls/cjs/index.production.v2.js +1 -1
- package/ScrollControls/index.d.ts +16 -16
- package/ScrollControls/package.json +1 -1
- package/SimpleSlider/cjs/index.development.js +270 -158
- package/SimpleSlider/cjs/index.development.v2.js +270 -158
- package/SimpleSlider/cjs/index.production.js +1 -1
- package/SimpleSlider/cjs/index.production.v2.js +1 -1
- package/SimpleSlider/index.d.ts +41 -41
- package/SimpleSlider/package.json +1 -1
- package/SimpleSlider/useAutoPlay.d.ts +3 -3
- package/SimpleSlider/utils.d.ts +19 -19
- package/Skeleton/cjs/index.development.js +118 -64
- package/Skeleton/cjs/index.development.v2.js +118 -64
- package/Skeleton/cjs/index.production.js +1 -1
- package/Skeleton/cjs/index.production.v2.js +1 -1
- package/Skeleton/index.d.ts +37 -37
- package/Skeleton/package.json +1 -1
- package/Spinner/cjs/index.development.js +66 -61
- package/Spinner/cjs/index.development.v2.js +66 -61
- package/Spinner/cjs/index.production.js +1 -1
- package/Spinner/cjs/index.production.v2.js +1 -1
- package/Spinner/index.d.ts +29 -29
- package/Spinner/package.json +1 -1
- package/Text/index.d.ts +25 -25
- package/Text/package.json +1 -1
- package/TextEmoji/cjs/index.development.js +65 -60
- package/TextEmoji/cjs/index.development.v2.js +65 -60
- package/TextEmoji/cjs/index.production.js +1 -1
- package/TextEmoji/cjs/index.production.v2.js +1 -1
- package/TextEmoji/index.d.ts +9 -9
- package/TextEmoji/package.json +1 -1
- package/Tooltip/cjs/index.development.js +80 -91
- package/Tooltip/cjs/index.development.v2.js +80 -91
- package/Tooltip/cjs/index.production.js +1 -1
- package/Tooltip/cjs/index.production.v2.js +1 -1
- package/Tooltip/index.d.ts +87 -87
- package/Tooltip/package.json +1 -1
- package/Tumbler/cjs/index.development.js +98 -66
- package/Tumbler/cjs/index.development.v2.js +98 -66
- package/Tumbler/cjs/index.production.js +1 -1
- package/Tumbler/cjs/index.production.v2.js +1 -1
- package/Tumbler/index.d.ts +8 -8
- package/Tumbler/package.json +1 -1
- package/package.json +7 -5
- package/useBodyTTag/cjs/index.development.js +1 -1
- package/useBodyTTag/cjs/index.development.v2.js +1 -1
- package/useBodyTTag/index.d.ts +2 -2
- package/useBodyTTag/package.json +1 -1
- package/useDebounce/cjs/index.development.js +58 -6
- package/useDebounce/cjs/index.development.v2.js +58 -6
- package/useDebounce/cjs/index.production.js +1 -1
- package/useDebounce/cjs/index.production.v2.js +1 -1
- package/useDebounce/index.d.ts +4 -4
- package/useDebounce/package.json +1 -1
- package/useId/cjs/index.development.js +6 -7
- package/useId/cjs/index.development.v2.js +6 -7
- package/useId/cjs/index.production.js +1 -1
- package/useId/cjs/index.production.v2.js +1 -1
- package/useId/index.d.ts +4 -4
- package/useId/package.json +1 -1
- package/useIsMounted/cjs/index.development.js +3 -3
- package/useIsMounted/cjs/index.development.v2.js +3 -3
- package/useIsMounted/index.d.ts +4 -4
- package/useIsMounted/package.json +1 -1
- package/useKeyPress/cjs/index.development.js +76 -22
- package/useKeyPress/cjs/index.development.v2.js +76 -22
- package/useKeyPress/cjs/index.production.js +1 -1
- package/useKeyPress/cjs/index.production.v2.js +1 -1
- package/useKeyPress/index.d.ts +6 -6
- package/useKeyPress/package.json +1 -1
- package/useMedia/cjs/index.development.js +5 -5
- package/useMedia/cjs/index.development.v2.js +5 -5
- package/useMedia/index.d.ts +21 -21
- package/useMedia/package.json +1 -1
- package/useOutsideClick/cjs/index.development.js +2 -2
- package/useOutsideClick/cjs/index.development.v2.js +2 -2
- package/useOutsideClick/index.d.ts +5 -5
- package/useOutsideClick/package.json +1 -1
- package/usePortal/cjs/index.development.js +32 -27
- package/usePortal/cjs/index.development.v2.js +32 -27
- package/usePortal/index.d.ts +12 -12
- package/usePortal/package.json +1 -1
- package/useScrollPosition/cjs/index.development.js +2 -2
- package/useScrollPosition/cjs/index.development.v2.js +2 -2
- package/useScrollPosition/index.d.ts +5 -5
- package/useScrollPosition/package.json +1 -1
|
@@ -14,111 +14,218 @@ var Right = require('@prom-ui/icons/Right');
|
|
|
14
14
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
15
15
|
|
|
16
16
|
function _interopNamespaceCompat(e) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
});
|
|
27
|
-
}
|
|
17
|
+
if (e && typeof e === 'object' && 'default' in e) return e;
|
|
18
|
+
var n = Object.create(null);
|
|
19
|
+
if (e) {
|
|
20
|
+
Object.keys(e).forEach(function (k) {
|
|
21
|
+
if (k !== 'default') {
|
|
22
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
23
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return e[k]; }
|
|
28
26
|
});
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
n.default = e;
|
|
31
|
+
return Object.freeze(n);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
35
35
|
var Swipe__default = /*#__PURE__*/_interopDefaultCompat(Swipe);
|
|
36
36
|
var classNames__default = /*#__PURE__*/_interopDefaultCompat(classNames);
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
38
|
+
function _iterableToArrayLimit(arr, i) {
|
|
39
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
40
|
+
if (null != _i) {
|
|
41
|
+
var _s,
|
|
42
|
+
_e,
|
|
43
|
+
_x,
|
|
44
|
+
_r,
|
|
45
|
+
_arr = [],
|
|
46
|
+
_n = !0,
|
|
47
|
+
_d = !1;
|
|
48
|
+
try {
|
|
49
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
50
|
+
if (Object(_i) !== _i) return;
|
|
51
|
+
_n = !1;
|
|
52
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
53
|
+
} catch (err) {
|
|
54
|
+
_d = !0, _e = err;
|
|
55
|
+
} finally {
|
|
56
|
+
try {
|
|
57
|
+
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
|
|
58
|
+
} finally {
|
|
59
|
+
if (_d) throw _e;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return _arr;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function ownKeys(object, enumerableOnly) {
|
|
66
|
+
var keys = Object.keys(object);
|
|
67
|
+
if (Object.getOwnPropertySymbols) {
|
|
68
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
69
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
70
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
71
|
+
})), keys.push.apply(keys, symbols);
|
|
72
|
+
}
|
|
73
|
+
return keys;
|
|
74
|
+
}
|
|
75
|
+
function _objectSpread2(target) {
|
|
76
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
77
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
78
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
79
|
+
_defineProperty(target, key, source[key]);
|
|
80
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
81
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
return target;
|
|
85
|
+
}
|
|
86
|
+
function _defineProperty(obj, key, value) {
|
|
87
|
+
key = _toPropertyKey(key);
|
|
88
|
+
if (key in obj) {
|
|
89
|
+
Object.defineProperty(obj, key, {
|
|
90
|
+
value: value,
|
|
91
|
+
enumerable: true,
|
|
92
|
+
configurable: true,
|
|
93
|
+
writable: true
|
|
94
|
+
});
|
|
95
|
+
} else {
|
|
96
|
+
obj[key] = value;
|
|
97
|
+
}
|
|
98
|
+
return obj;
|
|
99
|
+
}
|
|
100
|
+
function _extends() {
|
|
101
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
102
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
103
|
+
var source = arguments[i];
|
|
104
|
+
for (var key in source) {
|
|
105
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
106
|
+
target[key] = source[key];
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return target;
|
|
111
|
+
};
|
|
112
|
+
return _extends.apply(this, arguments);
|
|
113
|
+
}
|
|
114
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
115
|
+
if (source == null) return {};
|
|
116
|
+
var target = {};
|
|
117
|
+
var sourceKeys = Object.keys(source);
|
|
118
|
+
var key, i;
|
|
119
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
120
|
+
key = sourceKeys[i];
|
|
121
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
122
|
+
target[key] = source[key];
|
|
123
|
+
}
|
|
124
|
+
return target;
|
|
125
|
+
}
|
|
126
|
+
function _objectWithoutProperties(source, excluded) {
|
|
127
|
+
if (source == null) return {};
|
|
128
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
129
|
+
var key, i;
|
|
130
|
+
if (Object.getOwnPropertySymbols) {
|
|
131
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
132
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
133
|
+
key = sourceSymbolKeys[i];
|
|
134
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
135
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
136
|
+
target[key] = source[key];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
return target;
|
|
140
|
+
}
|
|
141
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
142
|
+
if (!raw) {
|
|
143
|
+
raw = strings.slice(0);
|
|
144
|
+
}
|
|
145
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
146
|
+
raw: {
|
|
147
|
+
value: Object.freeze(raw)
|
|
148
|
+
}
|
|
149
|
+
}));
|
|
150
|
+
}
|
|
151
|
+
function _slicedToArray(arr, i) {
|
|
152
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
153
|
+
}
|
|
154
|
+
function _arrayWithHoles(arr) {
|
|
155
|
+
if (Array.isArray(arr)) return arr;
|
|
156
|
+
}
|
|
157
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
158
|
+
if (!o) return;
|
|
159
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
160
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
161
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
162
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
163
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
164
|
+
}
|
|
165
|
+
function _arrayLikeToArray(arr, len) {
|
|
166
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
167
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
168
|
+
return arr2;
|
|
169
|
+
}
|
|
170
|
+
function _nonIterableRest() {
|
|
171
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
172
|
+
}
|
|
173
|
+
function _toPrimitive(input, hint) {
|
|
174
|
+
if (typeof input !== "object" || input === null) return input;
|
|
175
|
+
var prim = input[Symbol.toPrimitive];
|
|
176
|
+
if (prim !== undefined) {
|
|
177
|
+
var res = prim.call(input, hint || "default");
|
|
178
|
+
if (typeof res !== "object") return res;
|
|
179
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
180
|
+
}
|
|
181
|
+
return (hint === "string" ? String : Number)(input);
|
|
182
|
+
}
|
|
183
|
+
function _toPropertyKey(arg) {
|
|
184
|
+
var key = _toPrimitive(arg, "string");
|
|
185
|
+
return typeof key === "symbol" ? key : String(key);
|
|
79
186
|
}
|
|
80
187
|
|
|
81
|
-
var useAutoPlay = function (callback, delay) {
|
|
188
|
+
var useAutoPlay = function useAutoPlay(callback, delay) {
|
|
82
189
|
var timeout = React.useRef(null);
|
|
83
|
-
var stop = function () {
|
|
190
|
+
var stop = function stop() {
|
|
84
191
|
clearTimeout(timeout.current);
|
|
85
192
|
};
|
|
86
|
-
var start = function () {
|
|
193
|
+
var start = function start() {
|
|
87
194
|
stop();
|
|
88
195
|
timeout.current = setTimeout(callback, delay);
|
|
89
196
|
};
|
|
90
197
|
return [start, stop];
|
|
91
198
|
};
|
|
92
199
|
|
|
93
|
-
var isValidRatio = function (ratio) {
|
|
200
|
+
var isValidRatio = function isValidRatio(ratio) {
|
|
94
201
|
return !!ratio && /\d\/\d/.test(ratio);
|
|
95
202
|
};
|
|
96
|
-
var getInfiniteIndex = function (index, count) {
|
|
203
|
+
var getInfiniteIndex = function getInfiniteIndex(index, count) {
|
|
97
204
|
return Math.abs((index % count + count) % count);
|
|
98
205
|
};
|
|
99
|
-
var getRatioHolderStyle = function (ratio) {
|
|
206
|
+
var getRatioHolderStyle = function getRatioHolderStyle(ratio) {
|
|
100
207
|
return {
|
|
101
208
|
paddingTop: "calc(".concat(ratio.split('/').reverse().join('/'), " * 100%)")
|
|
102
209
|
};
|
|
103
210
|
};
|
|
104
|
-
var getRootStyle = function (
|
|
105
|
-
var width =
|
|
106
|
-
height =
|
|
107
|
-
ratio =
|
|
108
|
-
style =
|
|
211
|
+
var getRootStyle = function getRootStyle(_ref) {
|
|
212
|
+
var width = _ref.width,
|
|
213
|
+
height = _ref.height,
|
|
214
|
+
ratio = _ref.ratio,
|
|
215
|
+
style = _ref.style;
|
|
109
216
|
var hasRatio = isValidRatio(ratio);
|
|
110
|
-
return
|
|
217
|
+
return _objectSpread2({
|
|
111
218
|
width: width,
|
|
112
219
|
height: hasRatio ? 'auto' : height,
|
|
113
220
|
maxWidth: hasRatio ? '100%' : 'none',
|
|
114
221
|
aspectRatio: hasRatio ? ratio : undefined
|
|
115
222
|
}, style);
|
|
116
223
|
};
|
|
117
|
-
var getTrackStyle = function (
|
|
118
|
-
var index =
|
|
119
|
-
childrenCount =
|
|
120
|
-
duration =
|
|
121
|
-
offset =
|
|
224
|
+
var getTrackStyle = function getTrackStyle(_ref2) {
|
|
225
|
+
var index = _ref2.index,
|
|
226
|
+
childrenCount = _ref2.childrenCount,
|
|
227
|
+
duration = _ref2.duration,
|
|
228
|
+
offset = _ref2.offset;
|
|
122
229
|
var hasOffset = typeof offset === 'number';
|
|
123
230
|
var currentOffset = hasOffset ? offset : 0;
|
|
124
231
|
return {
|
|
@@ -131,48 +238,53 @@ var getTrackStyle = function (_a) {
|
|
|
131
238
|
|
|
132
239
|
var css = {"root":"SimpleSlider__root___WuTIM","track":"SimpleSlider__track___G8BYu","trackItem":"SimpleSlider__trackItem___94Eq7","resetButton":"SimpleSlider__resetButton___LXJjI","buttonCommon":"SimpleSlider__buttonCommon___I5yQD SimpleSlider__resetButton___LXJjI","buttonPrev":"SimpleSlider__buttonPrev___UqTOk SimpleSlider__buttonCommon___I5yQD SimpleSlider__resetButton___LXJjI","buttonNext":"SimpleSlider__buttonNext___BbLNv SimpleSlider__buttonCommon___I5yQD SimpleSlider__resetButton___LXJjI","buttonIcon":"SimpleSlider__buttonIcon___89h6n","dots":"SimpleSlider__dots___E7g4J","dotsTransparent":"SimpleSlider__dotsTransparent___v-ZWk","dotsItem":"SimpleSlider__dotsItem___cbWCu","dotsButton":"SimpleSlider__dotsButton___7N4yb SimpleSlider__resetButton___LXJjI","showOnHoverButtons":"SimpleSlider__showOnHoverButtons___yssoj","showOnHoverDots":"SimpleSlider__showOnHoverDots___ig5DV"};
|
|
133
240
|
|
|
134
|
-
var
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
241
|
+
var _templateObject, _templateObject2, _templateObject3;
|
|
242
|
+
var _excluded = ["showIndex", "autoPlay", "children", "className", "duration", "height", "infinite", "ratio", "style", "width", "onChangeIndex", "onClickDot", "onClickItem", "onClickButtonNext", "onClickButtonPrev", "onSwipeNext", "onSwipePrev", "showOnHoverButtons", "showOnHoverDots", "isDotsTransparent"];
|
|
243
|
+
var SimpleSlider = /*#__PURE__*/React__namespace.forwardRef(function (_ref, ref) {
|
|
244
|
+
var _classNames;
|
|
245
|
+
var _ref$showIndex = _ref.showIndex,
|
|
246
|
+
showIndex = _ref$showIndex === void 0 ? 0 : _ref$showIndex,
|
|
247
|
+
_ref$autoPlay = _ref.autoPlay,
|
|
248
|
+
autoPlay = _ref$autoPlay === void 0 ? 0 : _ref$autoPlay,
|
|
249
|
+
children = _ref.children,
|
|
250
|
+
className = _ref.className,
|
|
251
|
+
_ref$duration = _ref.duration,
|
|
252
|
+
duration = _ref$duration === void 0 ? 500 : _ref$duration,
|
|
253
|
+
height = _ref.height,
|
|
254
|
+
_ref$infinite = _ref.infinite,
|
|
255
|
+
infinite = _ref$infinite === void 0 ? false : _ref$infinite,
|
|
256
|
+
ratio = _ref.ratio,
|
|
257
|
+
style = _ref.style,
|
|
258
|
+
width = _ref.width,
|
|
259
|
+
onChangeIndex = _ref.onChangeIndex,
|
|
260
|
+
onClickDot = _ref.onClickDot,
|
|
261
|
+
onClickItem = _ref.onClickItem,
|
|
262
|
+
onClickButtonNext = _ref.onClickButtonNext,
|
|
263
|
+
onClickButtonPrev = _ref.onClickButtonPrev,
|
|
264
|
+
onSwipeNext = _ref.onSwipeNext,
|
|
265
|
+
onSwipePrev = _ref.onSwipePrev,
|
|
266
|
+
_ref$showOnHoverButto = _ref.showOnHoverButtons,
|
|
267
|
+
showOnHoverButtons = _ref$showOnHoverButto === void 0 ? false : _ref$showOnHoverButto,
|
|
268
|
+
_ref$showOnHoverDots = _ref.showOnHoverDots,
|
|
269
|
+
showOnHoverDots = _ref$showOnHoverDots === void 0 ? false : _ref$showOnHoverDots,
|
|
270
|
+
_ref$isDotsTransparen = _ref.isDotsTransparent,
|
|
271
|
+
isDotsTransparent = _ref$isDotsTransparen === void 0 ? false : _ref$isDotsTransparen,
|
|
272
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
273
|
+
var _useBodyTTag = useBodyTTag.useBodyTTag(),
|
|
274
|
+
t = _useBodyTTag.t;
|
|
165
275
|
var refTrack = React__namespace.useRef(null);
|
|
166
276
|
var transitionRunning = React__namespace.useRef(false);
|
|
167
|
-
var
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
277
|
+
var _React$useState = React__namespace.useState(false),
|
|
278
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
279
|
+
disableAutoPlay = _React$useState2[0],
|
|
280
|
+
setDisableAutoPlay = _React$useState2[1];
|
|
281
|
+
var _React$useState3 = React__namespace.useState({
|
|
171
282
|
index: showIndex,
|
|
172
283
|
offset: undefined
|
|
173
284
|
}),
|
|
174
|
-
|
|
175
|
-
|
|
285
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
286
|
+
position = _React$useState4[0],
|
|
287
|
+
setPosition = _React$useState4[1];
|
|
176
288
|
var childrenArray = React__namespace.Children.toArray(children);
|
|
177
289
|
var childrenCount = childrenArray.length;
|
|
178
290
|
var isDisablePrev = !infinite && position.index === 0;
|
|
@@ -185,7 +297,7 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
185
297
|
var infiniteIndex = getInfiniteIndex(position.index, childrenCount);
|
|
186
298
|
var infinitePrevIndex = getInfiniteIndex(prevIndex, childrenCount);
|
|
187
299
|
var infiniteNextIndex = getInfiniteIndex(nextIndex, childrenCount);
|
|
188
|
-
var handleClickButtonNext = function () {
|
|
300
|
+
var handleClickButtonNext = function handleClickButtonNext() {
|
|
189
301
|
if (transitionRunning.current || isDisableNext) return;
|
|
190
302
|
if (typeof onClickButtonNext === 'function') {
|
|
191
303
|
onClickButtonNext(infiniteNextIndex);
|
|
@@ -195,7 +307,7 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
195
307
|
offset: undefined
|
|
196
308
|
});
|
|
197
309
|
};
|
|
198
|
-
var handleClickButtonPrev = function () {
|
|
310
|
+
var handleClickButtonPrev = function handleClickButtonPrev() {
|
|
199
311
|
if (transitionRunning.current || isDisablePrev) return;
|
|
200
312
|
if (typeof onClickButtonPrev === 'function') {
|
|
201
313
|
onClickButtonPrev(infinitePrevIndex);
|
|
@@ -205,7 +317,7 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
205
317
|
offset: undefined
|
|
206
318
|
});
|
|
207
319
|
};
|
|
208
|
-
var handleClickDot = function (i) {
|
|
320
|
+
var handleClickDot = function handleClickDot(i) {
|
|
209
321
|
if (transitionRunning.current) return;
|
|
210
322
|
if (typeof onClickDot === 'function') {
|
|
211
323
|
onClickDot(i);
|
|
@@ -215,7 +327,7 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
215
327
|
offset: undefined
|
|
216
328
|
});
|
|
217
329
|
};
|
|
218
|
-
var handleSwipeNext = function () {
|
|
330
|
+
var handleSwipeNext = function handleSwipeNext() {
|
|
219
331
|
if (transitionRunning.current || isDisableNext) return;
|
|
220
332
|
if (typeof onSwipeNext === 'function') {
|
|
221
333
|
onSwipeNext(infiniteNextIndex);
|
|
@@ -225,7 +337,7 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
225
337
|
offset: undefined
|
|
226
338
|
});
|
|
227
339
|
};
|
|
228
|
-
var handleSwipePrev = function () {
|
|
340
|
+
var handleSwipePrev = function handleSwipePrev() {
|
|
229
341
|
if (transitionRunning.current || isDisablePrev) return;
|
|
230
342
|
if (typeof onSwipePrev === 'function') {
|
|
231
343
|
onSwipePrev(infinitePrevIndex);
|
|
@@ -235,8 +347,8 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
235
347
|
offset: undefined
|
|
236
348
|
});
|
|
237
349
|
};
|
|
238
|
-
var handleSwipeMove = function (
|
|
239
|
-
var x =
|
|
350
|
+
var handleSwipeMove = function handleSwipeMove(_ref2, event) {
|
|
351
|
+
var x = _ref2.x;
|
|
240
352
|
if (transitionRunning.current || event.touches && event.touches.length > 1) return;
|
|
241
353
|
var offset = x;
|
|
242
354
|
if (isDisablePrev && x > 0 || isDisableNext && x < 0) {
|
|
@@ -247,20 +359,21 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
247
359
|
offset: offset
|
|
248
360
|
});
|
|
249
361
|
};
|
|
250
|
-
var
|
|
362
|
+
var _useAutoPlay = useAutoPlay(function () {
|
|
251
363
|
if (transitionRunning.current || isDisableNext) return;
|
|
252
364
|
setPosition({
|
|
253
365
|
index: nextIndex,
|
|
254
366
|
offset: undefined
|
|
255
367
|
});
|
|
256
368
|
}, autoPlay),
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
369
|
+
_useAutoPlay2 = _slicedToArray(_useAutoPlay, 2),
|
|
370
|
+
startAutoPlay = _useAutoPlay2[0],
|
|
371
|
+
stopAutoPlay = _useAutoPlay2[1];
|
|
372
|
+
var handleTransitionStart = function handleTransitionStart() {
|
|
260
373
|
transitionRunning.current = true;
|
|
261
374
|
stopAutoPlay();
|
|
262
375
|
};
|
|
263
|
-
var handleTransitionEnd = function () {
|
|
376
|
+
var handleTransitionEnd = function handleTransitionEnd() {
|
|
264
377
|
transitionRunning.current = false;
|
|
265
378
|
if (isAutoPlay) {
|
|
266
379
|
startAutoPlay();
|
|
@@ -276,7 +389,7 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
276
389
|
}
|
|
277
390
|
};
|
|
278
391
|
React__namespace.useEffect(function () {
|
|
279
|
-
var
|
|
392
|
+
var _refTrack$current, _refTrack$current2;
|
|
280
393
|
var autoPlayObserver = new IntersectionObserver(function (entries) {
|
|
281
394
|
if (entries[0].isIntersecting) {
|
|
282
395
|
startAutoPlay();
|
|
@@ -284,15 +397,15 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
284
397
|
stopAutoPlay();
|
|
285
398
|
}
|
|
286
399
|
});
|
|
287
|
-
(
|
|
288
|
-
(
|
|
400
|
+
(_refTrack$current = refTrack.current) === null || _refTrack$current === void 0 ? void 0 : _refTrack$current.addEventListener('transitionstart', handleTransitionStart);
|
|
401
|
+
(_refTrack$current2 = refTrack.current) === null || _refTrack$current2 === void 0 ? void 0 : _refTrack$current2.addEventListener('transitionend', handleTransitionEnd);
|
|
289
402
|
if (isAutoPlay && refTrack.current) {
|
|
290
403
|
autoPlayObserver.observe(refTrack.current);
|
|
291
404
|
}
|
|
292
405
|
return function () {
|
|
293
|
-
var
|
|
294
|
-
(
|
|
295
|
-
(
|
|
406
|
+
var _refTrack$current3, _refTrack$current4;
|
|
407
|
+
(_refTrack$current3 = refTrack.current) === null || _refTrack$current3 === void 0 ? void 0 : _refTrack$current3.removeEventListener('transitionstart', handleTransitionStart);
|
|
408
|
+
(_refTrack$current4 = refTrack.current) === null || _refTrack$current4 === void 0 ? void 0 : _refTrack$current4.removeEventListener('transitionend', handleTransitionEnd);
|
|
296
409
|
stopAutoPlay();
|
|
297
410
|
autoPlayObserver.disconnect();
|
|
298
411
|
};
|
|
@@ -305,33 +418,33 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
305
418
|
});
|
|
306
419
|
}
|
|
307
420
|
}, [showIndex]);
|
|
308
|
-
return React__namespace.createElement(Swipe__default.default,
|
|
421
|
+
return /*#__PURE__*/React__namespace.createElement(Swipe__default.default, _extends({
|
|
309
422
|
ref: ref,
|
|
310
423
|
onSwipeLeft: handleSwipeNext,
|
|
311
424
|
onSwipeRight: handleSwipePrev,
|
|
312
425
|
onSwipeMove: handleSwipeMove,
|
|
313
|
-
className: classNames__default.default(css.root, className, (
|
|
426
|
+
className: classNames__default.default(css.root, className, (_classNames = {}, _defineProperty(_classNames, css.showOnHoverButtons, showOnHoverButtons), _defineProperty(_classNames, css.showOnHoverDots, showOnHoverDots), _classNames)),
|
|
314
427
|
style: getRootStyle({
|
|
315
428
|
width: width,
|
|
316
429
|
height: height,
|
|
317
430
|
ratio: ratio,
|
|
318
431
|
style: style
|
|
319
432
|
}),
|
|
320
|
-
onSwipeStart: function () {
|
|
433
|
+
onSwipeStart: function onSwipeStart() {
|
|
321
434
|
return setDisableAutoPlay(true);
|
|
322
435
|
},
|
|
323
|
-
onSwipeEnd: function () {
|
|
436
|
+
onSwipeEnd: function onSwipeEnd() {
|
|
324
437
|
return setDisableAutoPlay(false);
|
|
325
438
|
},
|
|
326
|
-
onMouseEnter: function () {
|
|
439
|
+
onMouseEnter: function onMouseEnter() {
|
|
327
440
|
return setDisableAutoPlay(true);
|
|
328
441
|
},
|
|
329
|
-
onMouseLeave: function () {
|
|
442
|
+
onMouseLeave: function onMouseLeave() {
|
|
330
443
|
return setDisableAutoPlay(false);
|
|
331
444
|
}
|
|
332
|
-
}, props), isValidRatio(ratio) && React__namespace.createElement("div", {
|
|
445
|
+
}, props), isValidRatio(ratio) && /*#__PURE__*/React__namespace.createElement("div", {
|
|
333
446
|
style: getRatioHolderStyle(ratio)
|
|
334
|
-
}), React__namespace.createElement("ul", {
|
|
447
|
+
}), /*#__PURE__*/React__namespace.createElement("ul", {
|
|
335
448
|
ref: refTrack,
|
|
336
449
|
className: css.track,
|
|
337
450
|
style: getTrackStyle({
|
|
@@ -340,62 +453,61 @@ var SimpleSlider = React__namespace.forwardRef(function (_a, ref) {
|
|
|
340
453
|
duration: duration,
|
|
341
454
|
offset: position.offset
|
|
342
455
|
}),
|
|
343
|
-
"data-testid":
|
|
344
|
-
}, infinite && React__namespace.createElement("li", {
|
|
456
|
+
"data-testid": "simple_slider_track"
|
|
457
|
+
}, infinite && /*#__PURE__*/React__namespace.createElement("li", {
|
|
345
458
|
className: css.trackItem
|
|
346
459
|
}, childrenArray[childrenArray.length - 1]), childrenArray.map(function (child, index) {
|
|
347
|
-
return React__namespace.createElement("li", {
|
|
460
|
+
return /*#__PURE__*/React__namespace.createElement("li", {
|
|
348
461
|
key: child.key,
|
|
349
462
|
className: css.trackItem,
|
|
350
|
-
onClick: function () {
|
|
463
|
+
onClick: function onClick() {
|
|
351
464
|
if (typeof onClickItem === 'function') {
|
|
352
465
|
onClickItem(index);
|
|
353
466
|
}
|
|
354
467
|
},
|
|
355
468
|
"data-qaid": "image_slider_".concat(index)
|
|
356
469
|
}, child);
|
|
357
|
-
}), infinite && React__namespace.createElement("li", {
|
|
470
|
+
}), infinite && /*#__PURE__*/React__namespace.createElement("li", {
|
|
358
471
|
className: css.trackItem
|
|
359
|
-
}, childrenArray[0])), isShowNavi && React__namespace.createElement(React__namespace.Fragment, null, React__namespace.createElement("button", {
|
|
360
|
-
type:
|
|
472
|
+
}, childrenArray[0])), isShowNavi && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("button", {
|
|
473
|
+
type: "button",
|
|
361
474
|
className: css.buttonPrev,
|
|
362
475
|
onClick: handleClickButtonPrev,
|
|
363
476
|
disabled: isDisablePrev,
|
|
364
|
-
"aria-label": t(
|
|
365
|
-
"data-qaid":
|
|
366
|
-
}, React__namespace.createElement(Icon.Icon, {
|
|
477
|
+
"aria-label": t(_templateObject || (_templateObject = _taggedTemplateLiteral(["\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u0431\u0430\u043D\u043D\u0435\u0440"]))),
|
|
478
|
+
"data-qaid": "prev_image"
|
|
479
|
+
}, /*#__PURE__*/React__namespace.createElement(Icon.Icon, {
|
|
367
480
|
className: css.buttonIcon,
|
|
368
481
|
"icon-as": Left.Left
|
|
369
|
-
})), React__namespace.createElement("button", {
|
|
370
|
-
type:
|
|
482
|
+
})), /*#__PURE__*/React__namespace.createElement("button", {
|
|
483
|
+
type: "button",
|
|
371
484
|
className: css.buttonNext,
|
|
372
485
|
onClick: handleClickButtonNext,
|
|
373
486
|
disabled: isDisableNext,
|
|
374
|
-
"aria-label": t(
|
|
375
|
-
"data-qaid":
|
|
376
|
-
}, React__namespace.createElement(Icon.Icon, {
|
|
487
|
+
"aria-label": t(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0431\u0430\u043D\u043D\u0435\u0440"]))),
|
|
488
|
+
"data-qaid": "next_image"
|
|
489
|
+
}, /*#__PURE__*/React__namespace.createElement(Icon.Icon, {
|
|
377
490
|
className: css.buttonIcon,
|
|
378
491
|
"icon-as": Right.Right
|
|
379
|
-
}))), isShowDots && React__namespace.createElement("ul", {
|
|
380
|
-
className: classNames__default.default(css.dots, (
|
|
492
|
+
}))), isShowDots && /*#__PURE__*/React__namespace.createElement("ul", {
|
|
493
|
+
className: classNames__default.default(css.dots, _defineProperty({}, css.dotsTransparent, isDotsTransparent))
|
|
381
494
|
}, childrenArray.map(function (child, index) {
|
|
382
495
|
var viewIndex = index + 1;
|
|
383
|
-
return React__namespace.createElement("li", {
|
|
496
|
+
return /*#__PURE__*/React__namespace.createElement("li", {
|
|
384
497
|
className: css.dotsItem,
|
|
385
498
|
key: child.key
|
|
386
|
-
}, React__namespace.createElement("button", {
|
|
387
|
-
type:
|
|
499
|
+
}, /*#__PURE__*/React__namespace.createElement("button", {
|
|
500
|
+
type: "button",
|
|
388
501
|
className: css.dotsButton,
|
|
389
|
-
onClick: function () {
|
|
502
|
+
onClick: function onClick() {
|
|
390
503
|
return handleClickDot(index);
|
|
391
504
|
},
|
|
392
505
|
disabled: index === infiniteIndex,
|
|
393
|
-
"aria-label": t(
|
|
506
|
+
"aria-label": t(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0431\u0430\u043D\u043D\u0435\u0440 \u043D\u043E\u043C\u0435\u0440 ", ""])), viewIndex),
|
|
394
507
|
"data-qaid": "view_image_".concat(viewIndex)
|
|
395
508
|
}, viewIndex));
|
|
396
509
|
})));
|
|
397
510
|
});
|
|
398
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
399
511
|
|
|
400
512
|
exports.SimpleSlider = SimpleSlider;
|
|
401
513
|
|