aptechka 0.25.1 → 0.26.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/lib/Animation-B9m8bw96.cjs +1 -0
- package/lib/Animation-DN95L7Xo.js +105 -0
- package/lib/Damped-CTsV8tl_.cjs +1 -0
- package/lib/Damped-Chu29wn-.js +53 -0
- package/lib/Tweened-BUuSLSF7.js +44 -0
- package/lib/Tweened-BttGiyB0.cjs +1 -0
- package/lib/animation/index.cjs +1 -1
- package/lib/animation/index.js +6 -53
- package/lib/canvas-CU5Xjahf.cjs +1 -0
- package/lib/canvas-DeZ0SLUJ.js +34 -0
- package/lib/connector/index.cjs +1 -1
- package/lib/connector/index.js +1 -1
- package/lib/controls/index.cjs +1 -1
- package/lib/controls/index.js +3 -3
- package/lib/coordinates-CgdGoSYs.js +24 -0
- package/lib/coordinates-D8Np3cPD.cjs +1 -0
- package/lib/css-property/index.cjs +1 -1
- package/lib/css-property/index.js +1 -1
- package/lib/dev/index.cjs +1 -1
- package/lib/dev/index.js +1 -1
- package/lib/device/index.cjs +1 -1
- package/lib/device/index.js +1 -1
- package/lib/element-resizer/react/index.cjs +1 -0
- package/lib/element-resizer/react/index.js +8 -0
- package/lib/element-resizer/vanilla/index.cjs +1 -0
- package/lib/element-resizer/{index.js → vanilla/index.js} +2 -2
- package/lib/en3/index.cjs +8 -0
- package/lib/en3/index.js +374 -0
- package/lib/events-CsVF98U6.js +6 -0
- package/lib/events-KVanG9sR.cjs +1 -0
- package/lib/intersector/react/index.cjs +1 -0
- package/lib/intersector/react/index.js +12 -0
- package/lib/intersector/vanilla/index.cjs +1 -0
- package/lib/intersector/{index.js → vanilla/index.js} +2 -2
- package/lib/jss-CjccJC-K.js +21 -0
- package/lib/jss-GJLvaNfT.cjs +1 -0
- package/lib/layout-box/index.cjs +1 -1
- package/lib/layout-box/index.js +3 -3
- package/lib/loading/index.cjs +1 -1
- package/lib/loading/index.js +42 -85
- package/lib/math-BOBiC4TN.js +45 -0
- package/lib/math-GDWEqu7y.cjs +1 -0
- package/lib/media/index.cjs +1 -1
- package/lib/media/index.js +1 -1
- package/lib/media-elements/index.cjs +5 -0
- package/lib/media-elements/index.js +389 -0
- package/lib/morph/index.cjs +1 -0
- package/lib/morph/index.js +227 -0
- package/lib/need_redo_tweaker/index.cjs +4 -4
- package/lib/need_redo_tweaker/index.js +100 -82
- package/lib/object-CCiXnER2.cjs +1 -0
- package/lib/object-D6MVWB4l.js +85 -0
- package/lib/pointer/index.cjs +1 -0
- package/lib/pointer/index.js +151 -0
- package/lib/polyfills-CM4SCDTt.cjs +1 -0
- package/lib/polyfills-X6KXuHg-.js +33 -0
- package/lib/router/index.cjs +1 -0
- package/lib/router/index.js +266 -0
- package/lib/scroll/react/index.cjs +30 -0
- package/lib/scroll/react/index.js +761 -0
- package/lib/scroll/vanilla/index.cjs +1 -0
- package/lib/scroll/vanilla/index.js +1120 -0
- package/lib/slicer/index.cjs +11 -0
- package/lib/slicer/index.js +108 -0
- package/lib/source/index.cjs +1 -1
- package/lib/source/index.js +1 -1
- package/lib/style-BqzUd8Fy.cjs +1 -0
- package/lib/style-M-RBTQxT.js +21 -0
- package/lib/ticker/react/index.cjs +1 -0
- package/lib/ticker/react/index.js +19 -0
- package/lib/ticker/vanilla/index.cjs +1 -0
- package/lib/ticker/{index.js → vanilla/index.js} +2 -2
- package/lib/url-BDc0awLa.js +22 -0
- package/lib/url-C3Vj8msL.cjs +1 -0
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.js +146 -220
- package/lib/window-resizer/react/index.cjs +1 -0
- package/lib/window-resizer/react/index.js +8 -0
- package/lib/window-resizer/vanilla/index.cjs +1 -0
- package/lib/window-resizer/vanilla/index.js +32 -0
- package/package.json +132 -20
- package/lib/Tweened-CDYmG9hk.js +0 -138
- package/lib/Tweened-DlyMbHu_.cjs +0 -1
- package/lib/animation/Animation.d.ts +0 -34
- package/lib/animation/Damped.d.ts +0 -18
- package/lib/animation/Tweened.d.ts +0 -14
- package/lib/animation/index.d.ts +0 -3
- package/lib/attribute/index.d.ts +0 -14
- package/lib/class-linked-status/index.d.ts +0 -11
- package/lib/connector/index.d.ts +0 -15
- package/lib/controls/AutoplayControls.d.ts +0 -16
- package/lib/controls/Controls.d.ts +0 -8
- package/lib/controls/DragControls.d.ts +0 -15
- package/lib/controls/KeyboardControls.d.ts +0 -13
- package/lib/controls/WheelControls.d.ts +0 -18
- package/lib/controls/index.d.ts +0 -5
- package/lib/css-property/index.d.ts +0 -16
- package/lib/css-unit-parser/index.d.ts +0 -6
- package/lib/css-value-parser/index.d.ts +0 -6
- package/lib/dev/index.d.ts +0 -1
- package/lib/device/Device.d.ts +0 -16
- package/lib/device/Viewport.d.ts +0 -28
- package/lib/device/index.d.ts +0 -2
- package/lib/element-resizer/index.cjs +0 -1
- package/lib/element-resizer/index.d.ts +0 -9
- package/lib/intersector/index.cjs +0 -1
- package/lib/intersector/index.d.ts +0 -9
- package/lib/ladder/index.d.ts +0 -23
- package/lib/layout-box/index.d.ts +0 -95
- package/lib/loading/index.d.ts +0 -38
- package/lib/media/index.d.ts +0 -11
- package/lib/need_redo_tweaker/CheckboxElement.d.ts +0 -14
- package/lib/need_redo_tweaker/TweakerBooleanManagerElement.d.ts +0 -10
- package/lib/need_redo_tweaker/TweakerColorManagerElement.d.ts +0 -10
- package/lib/need_redo_tweaker/TweakerElement.d.ts +0 -17
- package/lib/need_redo_tweaker/TweakerFieldElement.d.ts +0 -19
- package/lib/need_redo_tweaker/TweakerFolderElement.d.ts +0 -23
- package/lib/need_redo_tweaker/TweakerLinkManagerElement.d.ts +0 -10
- package/lib/need_redo_tweaker/TweakerNumberManagerElement.d.ts +0 -13
- package/lib/need_redo_tweaker/TweakerSelectManagerElement.d.ts +0 -10
- package/lib/need_redo_tweaker/TweakerStoreManagerElement.d.ts +0 -9
- package/lib/need_redo_tweaker/TweakerStringManagerElement.d.ts +0 -10
- package/lib/need_redo_tweaker/element-constructor/ElementConstructor.d.ts +0 -74
- package/lib/need_redo_tweaker/element-constructor/createStylesheet.d.ts +0 -2
- package/lib/need_redo_tweaker/element-constructor/createTheme.d.ts +0 -12
- package/lib/need_redo_tweaker/element-constructor/index.d.ts +0 -4
- package/lib/need_redo_tweaker/element-constructor/knownSvgTags.d.ts +0 -1
- package/lib/need_redo_tweaker/element-constructor/tags.d.ts +0 -118
- package/lib/need_redo_tweaker/index.d.ts +0 -1
- package/lib/need_redo_tweaker/select/SelectElement.d.ts +0 -24
- package/lib/need_redo_tweaker/select/SelectHeadElement.d.ts +0 -12
- package/lib/need_redo_tweaker/select/SelectOptionElement.d.ts +0 -13
- package/lib/need_redo_tweaker/select/SelectUserElement.d.ts +0 -6
- package/lib/need_redo_tweaker/select/index.d.ts +0 -4
- package/lib/need_redo_tweaker/theme/index.d.ts +0 -35
- package/lib/need_redo_tweaker/tweakerManagerConstructors.d.ts +0 -14
- package/lib/need_redo_tweaker/tweakerStorage.d.ts +0 -23
- package/lib/notifier/index.d.ts +0 -8
- package/lib/order/index.d.ts +0 -22
- package/lib/polyfills-AItxku8u.js +0 -76
- package/lib/polyfills-Caa6z-Ay.cjs +0 -1
- package/lib/scroll-entries/index.d.ts +0 -20
- package/lib/source/SourceClass.d.ts +0 -11
- package/lib/source/SourceManager.d.ts +0 -13
- package/lib/source/SourceSet.d.ts +0 -8
- package/lib/source/index.d.ts +0 -3
- package/lib/store/Composed.d.ts +0 -7
- package/lib/store/Derived.d.ts +0 -7
- package/lib/store/DerivedArray.d.ts +0 -7
- package/lib/store/Resource.d.ts +0 -11
- package/lib/store/Store.d.ts +0 -35
- package/lib/store/StoreRegistry.d.ts +0 -22
- package/lib/store/index.d.ts +0 -6
- package/lib/style-3MQV6Cnl.js +0 -122
- package/lib/style-BoXabX_p.cjs +0 -1
- package/lib/ticker/index.cjs +0 -1
- package/lib/ticker/index.d.ts +0 -21
- package/lib/utils/array.d.ts +0 -2
- package/lib/utils/attributes.d.ts +0 -2
- package/lib/utils/browser.d.ts +0 -1
- package/lib/utils/bytes.d.ts +0 -1
- package/lib/utils/canvas.d.ts +0 -7
- package/lib/utils/collisions.d.ts +0 -3
- package/lib/utils/coordinates.d.ts +0 -13
- package/lib/utils/cssom.d.ts +0 -5
- package/lib/utils/decoding.d.ts +0 -2
- package/lib/utils/dom.d.ts +0 -5
- package/lib/utils/easings.d.ts +0 -17
- package/lib/utils/events.d.ts +0 -8
- package/lib/utils/file.d.ts +0 -1
- package/lib/utils/function.d.ts +0 -2
- package/lib/utils/gestures.d.ts +0 -1
- package/lib/utils/index.d.ts +0 -27
- package/lib/utils/jss.d.ts +0 -12
- package/lib/utils/layout.d.ts +0 -3
- package/lib/utils/math.d.ts +0 -11
- package/lib/utils/number.d.ts +0 -3
- package/lib/utils/object.d.ts +0 -9
- package/lib/utils/polyfills.d.ts +0 -1
- package/lib/utils/promises.d.ts +0 -1
- package/lib/utils/string.d.ts +0 -8
- package/lib/utils/style.d.ts +0 -2
- package/lib/utils/ts-shape.d.ts +0 -20
- package/lib/utils/ts-utility.d.ts +0 -26
- package/lib/utils/url.d.ts +0 -9
- package/lib/window-resizer/index.cjs +0 -1
- package/lib/window-resizer/index.d.ts +0 -9
- package/lib/window-resizer/index.js +0 -42
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aptechka",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/denisavitski/aptechka.git"
|
|
@@ -28,6 +28,11 @@
|
|
|
28
28
|
"default": "./lib/attribute/index.js",
|
|
29
29
|
"types": "./lib/attribute/index.d.ts"
|
|
30
30
|
},
|
|
31
|
+
"./canvas": {
|
|
32
|
+
"require": "./lib/canvas/index.cjs",
|
|
33
|
+
"default": "./lib/canvas/index.js",
|
|
34
|
+
"types": "./lib/canvas/index.d.ts"
|
|
35
|
+
},
|
|
31
36
|
"./class-linked-status": {
|
|
32
37
|
"require": "./lib/class-linked-status/index.cjs",
|
|
33
38
|
"default": "./lib/class-linked-status/index.js",
|
|
@@ -73,10 +78,20 @@
|
|
|
73
78
|
"default": "./lib/element-resizer/index.js",
|
|
74
79
|
"types": "./lib/element-resizer/index.d.ts"
|
|
75
80
|
},
|
|
76
|
-
"./
|
|
77
|
-
"require": "./lib/
|
|
78
|
-
"default": "./lib/
|
|
79
|
-
"types": "./lib/
|
|
81
|
+
"./en3": {
|
|
82
|
+
"require": "./lib/en3/index.cjs",
|
|
83
|
+
"default": "./lib/en3/index.js",
|
|
84
|
+
"types": "./lib/en3/index.d.ts"
|
|
85
|
+
},
|
|
86
|
+
"./intersector/vanilla": {
|
|
87
|
+
"require": "./lib/intersector/vanilla/index.cjs",
|
|
88
|
+
"default": "./lib/intersector/vanilla/index.js",
|
|
89
|
+
"types": "./lib/intersector/vanilla/index.d.ts"
|
|
90
|
+
},
|
|
91
|
+
"./intersector/react": {
|
|
92
|
+
"require": "./lib/intersector/react/index.cjs",
|
|
93
|
+
"default": "./lib/intersector/react/index.js",
|
|
94
|
+
"types": "./lib/intersector/react/index.d.ts"
|
|
80
95
|
},
|
|
81
96
|
"./ladder": {
|
|
82
97
|
"require": "./lib/ladder/index.cjs",
|
|
@@ -98,6 +113,16 @@
|
|
|
98
113
|
"default": "./lib/media/index.js",
|
|
99
114
|
"types": "./lib/media/index.d.ts"
|
|
100
115
|
},
|
|
116
|
+
"./media-elements": {
|
|
117
|
+
"require": "./lib/media-elements/index.cjs",
|
|
118
|
+
"default": "./lib/media-elements/index.js",
|
|
119
|
+
"types": "./lib/media-elements/index.d.ts"
|
|
120
|
+
},
|
|
121
|
+
"./morph": {
|
|
122
|
+
"require": "./lib/morph/index.cjs",
|
|
123
|
+
"default": "./lib/morph/index.js",
|
|
124
|
+
"types": "./lib/morph/index.d.ts"
|
|
125
|
+
},
|
|
101
126
|
"./notifier": {
|
|
102
127
|
"require": "./lib/notifier/index.cjs",
|
|
103
128
|
"default": "./lib/notifier/index.js",
|
|
@@ -108,11 +133,36 @@
|
|
|
108
133
|
"default": "./lib/order/index.js",
|
|
109
134
|
"types": "./lib/order/index.d.ts"
|
|
110
135
|
},
|
|
136
|
+
"./pointer": {
|
|
137
|
+
"require": "./lib/pointer/index.cjs",
|
|
138
|
+
"default": "./lib/pointer/index.js",
|
|
139
|
+
"types": "./lib/pointer/index.d.ts"
|
|
140
|
+
},
|
|
141
|
+
"./router": {
|
|
142
|
+
"require": "./lib/router/index.cjs",
|
|
143
|
+
"default": "./lib/router/index.js",
|
|
144
|
+
"types": "./lib/router/index.d.ts"
|
|
145
|
+
},
|
|
146
|
+
"./scroll/vanilla": {
|
|
147
|
+
"require": "./lib/scroll/vanilla/index.cjs",
|
|
148
|
+
"default": "./lib/scroll/vanilla/index.js",
|
|
149
|
+
"types": "./lib/scroll/vanilla/index.d.ts"
|
|
150
|
+
},
|
|
151
|
+
"./scroll/react": {
|
|
152
|
+
"require": "./lib/scroll/react/index.cjs",
|
|
153
|
+
"default": "./lib/scroll/react/index.js",
|
|
154
|
+
"types": "./lib/scroll/react/index.d.ts"
|
|
155
|
+
},
|
|
111
156
|
"./scroll-entries": {
|
|
112
157
|
"require": "./lib/scroll-entries/index.cjs",
|
|
113
158
|
"default": "./lib/scroll-entries/index.js",
|
|
114
159
|
"types": "./lib/scroll-entries/index.d.ts"
|
|
115
160
|
},
|
|
161
|
+
"./slicer": {
|
|
162
|
+
"require": "./lib/slicer/index.cjs",
|
|
163
|
+
"default": "./lib/slicer/index.js",
|
|
164
|
+
"types": "./lib/slicer/index.d.ts"
|
|
165
|
+
},
|
|
116
166
|
"./source": {
|
|
117
167
|
"require": "./lib/source/index.cjs",
|
|
118
168
|
"default": "./lib/source/index.js",
|
|
@@ -123,10 +173,15 @@
|
|
|
123
173
|
"default": "./lib/store/index.js",
|
|
124
174
|
"types": "./lib/store/index.d.ts"
|
|
125
175
|
},
|
|
126
|
-
"./ticker": {
|
|
127
|
-
"require": "./lib/ticker/index.cjs",
|
|
128
|
-
"default": "./lib/ticker/index.js",
|
|
129
|
-
"types": "./lib/ticker/index.d.ts"
|
|
176
|
+
"./ticker/vanilla": {
|
|
177
|
+
"require": "./lib/ticker/vanilla/index.cjs",
|
|
178
|
+
"default": "./lib/ticker/vanilla/index.js",
|
|
179
|
+
"types": "./lib/ticker/vanilla/index.d.ts"
|
|
180
|
+
},
|
|
181
|
+
"./ticker/react": {
|
|
182
|
+
"require": "./lib/ticker/react/index.cjs",
|
|
183
|
+
"default": "./lib/ticker/react/index.js",
|
|
184
|
+
"types": "./lib/ticker/react/index.d.ts"
|
|
130
185
|
},
|
|
131
186
|
"./need_redo_tweaker": {
|
|
132
187
|
"require": "./lib/need_redo_tweaker/index.cjs",
|
|
@@ -138,10 +193,15 @@
|
|
|
138
193
|
"default": "./lib/utils/index.js",
|
|
139
194
|
"types": "./lib/utils/index.d.ts"
|
|
140
195
|
},
|
|
141
|
-
"./window-resizer": {
|
|
142
|
-
"require": "./lib/window-resizer/index.cjs",
|
|
143
|
-
"default": "./lib/window-resizer/index.js",
|
|
144
|
-
"types": "./lib/window-resizer/index.d.ts"
|
|
196
|
+
"./window-resizer/vanilla": {
|
|
197
|
+
"require": "./lib/window-resizer/vanilla/index.cjs",
|
|
198
|
+
"default": "./lib/window-resizer/vanilla/index.js",
|
|
199
|
+
"types": "./lib/window-resizer/vanilla/index.d.ts"
|
|
200
|
+
},
|
|
201
|
+
"./window-resizer/react": {
|
|
202
|
+
"require": "./lib/window-resizer/react/index.cjs",
|
|
203
|
+
"default": "./lib/window-resizer/react/index.js",
|
|
204
|
+
"types": "./lib/window-resizer/react/index.d.ts"
|
|
145
205
|
}
|
|
146
206
|
},
|
|
147
207
|
"typesVersions": {
|
|
@@ -152,6 +212,9 @@
|
|
|
152
212
|
"attribute": [
|
|
153
213
|
"lib/attribute/index.d.ts"
|
|
154
214
|
],
|
|
215
|
+
"canvas": [
|
|
216
|
+
"lib/canvas/index.d.ts"
|
|
217
|
+
],
|
|
155
218
|
"class-linked-status": [
|
|
156
219
|
"lib/class-linked-status/index.d.ts"
|
|
157
220
|
],
|
|
@@ -179,11 +242,20 @@
|
|
|
179
242
|
"device": [
|
|
180
243
|
"lib/device/index.d.ts"
|
|
181
244
|
],
|
|
182
|
-
"element-resizer": [
|
|
183
|
-
"lib/element-resizer/index.d.ts"
|
|
245
|
+
"element-resizer/vanilla": [
|
|
246
|
+
"lib/element-resizer/vanilla/index.d.ts"
|
|
184
247
|
],
|
|
185
|
-
"
|
|
186
|
-
"lib/
|
|
248
|
+
"element-resizer/react": [
|
|
249
|
+
"lib/element-resizer/react/index.d.ts"
|
|
250
|
+
],
|
|
251
|
+
"en3": [
|
|
252
|
+
"lib/en3/index.d.ts"
|
|
253
|
+
],
|
|
254
|
+
"intersector/vanilla": [
|
|
255
|
+
"lib/intersector/vanilla/index.d.ts"
|
|
256
|
+
],
|
|
257
|
+
"intersector/react": [
|
|
258
|
+
"lib/intersector/react/index.d.ts"
|
|
187
259
|
],
|
|
188
260
|
"ladder": [
|
|
189
261
|
"lib/ladder/index.d.ts"
|
|
@@ -197,23 +269,47 @@
|
|
|
197
269
|
"media": [
|
|
198
270
|
"lib/media/index.d.ts"
|
|
199
271
|
],
|
|
272
|
+
"media-elements": [
|
|
273
|
+
"lib/media-elements/index.d.ts"
|
|
274
|
+
],
|
|
275
|
+
"morph": [
|
|
276
|
+
"lib/morph/index.d.ts"
|
|
277
|
+
],
|
|
200
278
|
"notifier": [
|
|
201
279
|
"lib/notifier/index.d.ts"
|
|
202
280
|
],
|
|
203
281
|
"order": [
|
|
204
282
|
"lib/order/index.d.ts"
|
|
205
283
|
],
|
|
284
|
+
"pointer": [
|
|
285
|
+
"lib/pointer/index.d.ts"
|
|
286
|
+
],
|
|
287
|
+
"router": [
|
|
288
|
+
"lib/router/index.d.ts"
|
|
289
|
+
],
|
|
290
|
+
"scroll/vanilla": [
|
|
291
|
+
"lib/scroll/vanilla/index.d.ts"
|
|
292
|
+
],
|
|
293
|
+
"scroll/react": [
|
|
294
|
+
"lib/scroll/react/index.d.ts"
|
|
295
|
+
],
|
|
206
296
|
"scroll-entries": [
|
|
207
297
|
"lib/scroll-entries/index.d.ts"
|
|
208
298
|
],
|
|
299
|
+
"slicer": [
|
|
300
|
+
"lib/slicer/index.d.ts"
|
|
301
|
+
],
|
|
209
302
|
"source": [
|
|
210
303
|
"lib/source/index.d.ts"
|
|
211
304
|
],
|
|
212
305
|
"store": [
|
|
213
306
|
"lib/store/index.d.ts"
|
|
214
307
|
],
|
|
215
|
-
"ticker": [
|
|
216
|
-
"lib/ticker/index.d.ts"
|
|
308
|
+
"ticker/vanilla": [
|
|
309
|
+
"lib/ticker/vanilla/index.d.ts"
|
|
310
|
+
],
|
|
311
|
+
"ticker/react": [
|
|
312
|
+
"lib/ticker/react/index.d.ts"
|
|
217
313
|
],
|
|
218
314
|
"need_redo_tweaker": [
|
|
219
315
|
"lib/need_redo_tweaker/index.d.ts"
|
|
@@ -234,9 +330,25 @@
|
|
|
234
330
|
},
|
|
235
331
|
"devDependencies": {
|
|
236
332
|
"@types/node": "^22.2.0",
|
|
333
|
+
"@types/react": "^18.3.3",
|
|
334
|
+
"@types/react-dom": "^18.3.0",
|
|
335
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
336
|
+
"@types/three": "^0.167.1",
|
|
237
337
|
"tsx": "^4.17.0",
|
|
238
338
|
"vite": "5.4.0",
|
|
239
339
|
"vite-plugin-dts": "^4.0.2",
|
|
240
|
-
"vite-plugin-htmc": "
|
|
340
|
+
"vite-plugin-htmc": "0.1.15"
|
|
341
|
+
},
|
|
342
|
+
"dependencies": {
|
|
343
|
+
"react": "^18.3.1",
|
|
344
|
+
"react-dom": "^18.3.1",
|
|
345
|
+
"three": "^0.167.1",
|
|
346
|
+
"urlpattern-polyfill": "^10.0.0"
|
|
347
|
+
},
|
|
348
|
+
"peerDependencies": {
|
|
349
|
+
"react": "^18.3.1",
|
|
350
|
+
"react-dom": "^18.3.1",
|
|
351
|
+
"three": "^0.167.1",
|
|
352
|
+
"urlpattern-polyfill": "^10.0.0"
|
|
241
353
|
}
|
|
242
354
|
}
|
package/lib/Tweened-CDYmG9hk.js
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
var K = Object.defineProperty, L = Object.defineProperties;
|
|
2
|
-
var V = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var I = Object.getOwnPropertySymbols;
|
|
4
|
-
var _ = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var T = (i) => {
|
|
6
|
-
throw TypeError(i);
|
|
7
|
-
};
|
|
8
|
-
var P = (i, s, t) => s in i ? K(i, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[s] = t, R = (i, s) => {
|
|
9
|
-
for (var t in s || (s = {}))
|
|
10
|
-
_.call(s, t) && P(i, t, s[t]);
|
|
11
|
-
if (I)
|
|
12
|
-
for (var t of I(s))
|
|
13
|
-
j.call(s, t) && P(i, t, s[t]);
|
|
14
|
-
return i;
|
|
15
|
-
}, y = (i, s) => L(i, V(s));
|
|
16
|
-
var q = (i, s, t) => s.has(i) || T("Cannot " + t);
|
|
17
|
-
var e = (i, s, t) => (q(i, s, "read from private field"), t ? t.call(i) : s.get(i)), a = (i, s, t) => s.has(i) ? T("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(i) : s.set(i, t), h = (i, s, t, r) => (q(i, s, "write to private field"), r ? r.call(i, t) : s.set(i, t), t), N = (i, s, t) => (q(i, s, "access private method"), t);
|
|
18
|
-
import { l as B } from "./easings-BKi40vHz.js";
|
|
19
|
-
import { p as z, n as c, c as E } from "./polyfills-AItxku8u.js";
|
|
20
|
-
import { S as w } from "./Store-OTdcl6SX.js";
|
|
21
|
-
import { ticker as C } from "./ticker/index.js";
|
|
22
|
-
import { TICK_ORDER as G } from "./order/index.js";
|
|
23
|
-
var f, A, F, l, S, n, u, m, d, g, M, k, O;
|
|
24
|
-
class H extends w {
|
|
25
|
-
constructor(t, r) {
|
|
26
|
-
super(t || 0, r);
|
|
27
|
-
a(this, M);
|
|
28
|
-
a(this, f);
|
|
29
|
-
a(this, A, G.ANIMATION);
|
|
30
|
-
a(this, F);
|
|
31
|
-
a(this, l, new w(!1));
|
|
32
|
-
a(this, S, 0);
|
|
33
|
-
a(this, n, 0);
|
|
34
|
-
a(this, u, -1 / 0);
|
|
35
|
-
a(this, m, 1 / 0);
|
|
36
|
-
a(this, d, 0);
|
|
37
|
-
a(this, g, null);
|
|
38
|
-
a(this, O, (t) => {
|
|
39
|
-
this.handleAnimationFrame(t);
|
|
40
|
-
});
|
|
41
|
-
h(this, n, this.current);
|
|
42
|
-
}
|
|
43
|
-
get direction() {
|
|
44
|
-
return e(this, S);
|
|
45
|
-
}
|
|
46
|
-
get target() {
|
|
47
|
-
return e(this, n);
|
|
48
|
-
}
|
|
49
|
-
get min() {
|
|
50
|
-
return e(this, u);
|
|
51
|
-
}
|
|
52
|
-
set min(t) {
|
|
53
|
-
h(this, u, t), this.set(e(this, n), {
|
|
54
|
-
equalize: !0
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
get max() {
|
|
58
|
-
return e(this, m);
|
|
59
|
-
}
|
|
60
|
-
set max(t) {
|
|
61
|
-
h(this, m, t), this.set(e(this, n), {
|
|
62
|
-
equalize: !0
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
get from() {
|
|
66
|
-
return e(this, d);
|
|
67
|
-
}
|
|
68
|
-
get isRunning() {
|
|
69
|
-
return e(this, l);
|
|
70
|
-
}
|
|
71
|
-
get delta() {
|
|
72
|
-
return Math.abs(e(this, n) - e(this, d));
|
|
73
|
-
}
|
|
74
|
-
get deltaProgress() {
|
|
75
|
-
return this.delta ? z(Math.abs(this.current - e(this, d)) / this.delta, 6) : 0;
|
|
76
|
-
}
|
|
77
|
-
get distance() {
|
|
78
|
-
return Math.abs(e(this, m) - e(this, u));
|
|
79
|
-
}
|
|
80
|
-
get distanceProgress() {
|
|
81
|
-
return this.distance ? z(Math.abs(this.current - e(this, u)) / this.distance, 6) : 0;
|
|
82
|
-
}
|
|
83
|
-
set(t, r) {
|
|
84
|
-
(e(this, n) !== t || r != null && r.restart) && (h(this, g, t), this.updateOptions(r), h(this, g, null), e(this, n) !== this.current && this.start());
|
|
85
|
-
}
|
|
86
|
-
shift(t, r) {
|
|
87
|
-
this.set(e(this, n) + t, r);
|
|
88
|
-
}
|
|
89
|
-
reset() {
|
|
90
|
-
super.reset(), this.set(this.initial, { equalize: !0 });
|
|
91
|
-
}
|
|
92
|
-
close() {
|
|
93
|
-
super.close(), this.reset(), this.unlistenAnimationFrame();
|
|
94
|
-
}
|
|
95
|
-
listenAnimationFrame() {
|
|
96
|
-
e(this, l).current || (e(this, l).current = !0, C.subscribe(e(this, O), {
|
|
97
|
-
maxFPS: e(this, f),
|
|
98
|
-
order: e(this, A),
|
|
99
|
-
culling: e(this, F)
|
|
100
|
-
}));
|
|
101
|
-
}
|
|
102
|
-
unlistenAnimationFrame() {
|
|
103
|
-
e(this, l).current && (e(this, l).current = !1, C.unsubscribe(e(this, O)));
|
|
104
|
-
}
|
|
105
|
-
updateOptions(t) {
|
|
106
|
-
h(this, f, c(t == null ? void 0 : t.maxFPS, e(this, f))), h(this, A, c(t == null ? void 0 : t.order, e(this, A))), h(this, F, c(t == null ? void 0 : t.culling, e(this, F))), h(this, u, c(t == null ? void 0 : t.min, e(this, u))), h(this, m, c(t == null ? void 0 : t.max, e(this, m))), N(this, M, k).call(this, typeof e(this, g) == "number" ? e(this, g) : e(this, n)), t != null && t.equalize && (this.unlistenAnimationFrame(), this.current = e(this, n)), t != null && t.restart && (this.unlistenAnimationFrame(), this.current = this.initial);
|
|
107
|
-
}
|
|
108
|
-
start() {
|
|
109
|
-
this.listenAnimationFrame();
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
f = new WeakMap(), A = new WeakMap(), F = new WeakMap(), l = new WeakMap(), S = new WeakMap(), n = new WeakMap(), u = new WeakMap(), m = new WeakMap(), d = new WeakMap(), g = new WeakMap(), M = new WeakSet(), k = function(t) {
|
|
113
|
-
h(this, S, Math.sign(t - e(this, n))), h(this, n, E(t, e(this, u), e(this, m))), h(this, d, this.current);
|
|
114
|
-
}, O = new WeakMap();
|
|
115
|
-
var b, x;
|
|
116
|
-
class Z extends H {
|
|
117
|
-
constructor(t, r) {
|
|
118
|
-
super(t || 0, r);
|
|
119
|
-
a(this, b, B);
|
|
120
|
-
a(this, x, 1e3);
|
|
121
|
-
this.updateOptions(y(R({}, r), { equalize: !0 }));
|
|
122
|
-
}
|
|
123
|
-
updateOptions(t) {
|
|
124
|
-
super.updateOptions(t), h(this, b, c(t == null ? void 0 : t.easing, e(this, b))), h(this, x, c(t == null ? void 0 : t.duration, e(this, x)));
|
|
125
|
-
}
|
|
126
|
-
handleAnimationFrame(t) {
|
|
127
|
-
const r = t.timeElapsedSinceSubscription / 1e3 / (e(this, x) / 1e3), D = e(this, b).call(this, E(r, 0, 1));
|
|
128
|
-
this.current = z(this.from + (this.target - this.from) * D, 6), r > 1 && this.unlistenAnimationFrame();
|
|
129
|
-
}
|
|
130
|
-
start() {
|
|
131
|
-
this.unlistenAnimationFrame(), this.listenAnimationFrame();
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
b = new WeakMap(), x = new WeakMap();
|
|
135
|
-
export {
|
|
136
|
-
H as A,
|
|
137
|
-
Z as T
|
|
138
|
-
};
|
package/lib/Tweened-DlyMbHu_.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var E=Object.defineProperty,D=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var I=i=>{throw TypeError(i)};var z=(i,s,t)=>s in i?E(i,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[s]=t,N=(i,s)=>{for(var t in s||(s={}))L.call(s,t)&&z(i,t,s[t]);if(M)for(var t of M(s))V.call(s,t)&&z(i,t,s[t]);return i},P=(i,s)=>D(i,K(s));var O=(i,s,t)=>s.has(i)||I("Cannot "+t);var e=(i,s,t)=>(O(i,s,"read from private field"),t?t.call(i):s.get(i)),a=(i,s,t)=>s.has(i)?I("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(i):s.set(i,t),h=(i,s,t,r)=>(O(i,s,"write to private field"),r?r.call(i,t):s.set(i,t),t),T=(i,s,t)=>(O(i,s,"access private method"),t);const j=require("./easings-DsS5-Kqc.cjs"),u=require("./polyfills-Caa6z-Ay.cjs"),y=require("./Store-CDb6RMce.cjs"),R=require("./ticker/index.cjs"),B=require("./order/index.cjs");var f,A,F,m,q,n,l,c,g,d,C,w,S;class k extends y.Store{constructor(t,r){super(t||0,r);a(this,C);a(this,f);a(this,A,B.TICK_ORDER.ANIMATION);a(this,F);a(this,m,new y.Store(!1));a(this,q,0);a(this,n,0);a(this,l,-1/0);a(this,c,1/0);a(this,g,0);a(this,d,null);a(this,S,t=>{this.handleAnimationFrame(t)});h(this,n,this.current)}get direction(){return e(this,q)}get target(){return e(this,n)}get min(){return e(this,l)}set min(t){h(this,l,t),this.set(e(this,n),{equalize:!0})}get max(){return e(this,c)}set max(t){h(this,c,t),this.set(e(this,n),{equalize:!0})}get from(){return e(this,g)}get isRunning(){return e(this,m)}get delta(){return Math.abs(e(this,n)-e(this,g))}get deltaProgress(){return this.delta?u.preciseNumber(Math.abs(this.current-e(this,g))/this.delta,6):0}get distance(){return Math.abs(e(this,c)-e(this,l))}get distanceProgress(){return this.distance?u.preciseNumber(Math.abs(this.current-e(this,l))/this.distance,6):0}set(t,r){(e(this,n)!==t||r!=null&&r.restart)&&(h(this,d,t),this.updateOptions(r),h(this,d,null),e(this,n)!==this.current&&this.start())}shift(t,r){this.set(e(this,n)+t,r)}reset(){super.reset(),this.set(this.initial,{equalize:!0})}close(){super.close(),this.reset(),this.unlistenAnimationFrame()}listenAnimationFrame(){e(this,m).current||(e(this,m).current=!0,R.ticker.subscribe(e(this,S),{maxFPS:e(this,f),order:e(this,A),culling:e(this,F)}))}unlistenAnimationFrame(){e(this,m).current&&(e(this,m).current=!1,R.ticker.unsubscribe(e(this,S)))}updateOptions(t){h(this,f,u.nullishCoalescing(t==null?void 0:t.maxFPS,e(this,f))),h(this,A,u.nullishCoalescing(t==null?void 0:t.order,e(this,A))),h(this,F,u.nullishCoalescing(t==null?void 0:t.culling,e(this,F))),h(this,l,u.nullishCoalescing(t==null?void 0:t.min,e(this,l))),h(this,c,u.nullishCoalescing(t==null?void 0:t.max,e(this,c))),T(this,C,w).call(this,typeof e(this,d)=="number"?e(this,d):e(this,n)),t!=null&&t.equalize&&(this.unlistenAnimationFrame(),this.current=e(this,n)),t!=null&&t.restart&&(this.unlistenAnimationFrame(),this.current=this.initial)}start(){this.listenAnimationFrame()}}f=new WeakMap,A=new WeakMap,F=new WeakMap,m=new WeakMap,q=new WeakMap,n=new WeakMap,l=new WeakMap,c=new WeakMap,g=new WeakMap,d=new WeakMap,C=new WeakSet,w=function(t){h(this,q,Math.sign(t-e(this,n))),h(this,n,u.clamp(t,e(this,l),e(this,c))),h(this,g,this.current)},S=new WeakMap;var b,x;class G extends k{constructor(t,r){super(t||0,r);a(this,b,j.linear);a(this,x,1e3);this.updateOptions(P(N({},r),{equalize:!0}))}updateOptions(t){super.updateOptions(t),h(this,b,u.nullishCoalescing(t==null?void 0:t.easing,e(this,b))),h(this,x,u.nullishCoalescing(t==null?void 0:t.duration,e(this,x)))}handleAnimationFrame(t){const r=t.timeElapsedSinceSubscription/1e3/(e(this,x)/1e3),_=e(this,b).call(this,u.clamp(r,0,1));this.current=u.preciseNumber(this.from+(this.target-this.from)*_,6),r>1&&this.unlistenAnimationFrame()}start(){this.unlistenAnimationFrame(),this.listenAnimationFrame()}}b=new WeakMap,x=new WeakMap;exports.Animation=k;exports.Tweened=G;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Store, StoreOptions } from '../store';
|
|
2
|
-
import { TickerAddOptions, TickerCallbackEntry } from '../ticker';
|
|
3
|
-
export interface AnimationOptions extends TickerAddOptions {
|
|
4
|
-
min?: number;
|
|
5
|
-
max?: number;
|
|
6
|
-
equalize?: boolean;
|
|
7
|
-
restart?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export type AnimationConstructorOptions<Options extends AnimationOptions> = StoreOptions<number> & Options;
|
|
10
|
-
export declare abstract class Animation<Options extends AnimationOptions = AnimationOptions> extends Store<number> {
|
|
11
|
-
#private;
|
|
12
|
-
constructor(initial?: number, options?: StoreOptions<number>);
|
|
13
|
-
get direction(): number;
|
|
14
|
-
get target(): number;
|
|
15
|
-
get min(): number;
|
|
16
|
-
set min(value: number);
|
|
17
|
-
get max(): number;
|
|
18
|
-
set max(value: number);
|
|
19
|
-
get from(): number;
|
|
20
|
-
get isRunning(): Store<boolean>;
|
|
21
|
-
get delta(): number;
|
|
22
|
-
get deltaProgress(): number;
|
|
23
|
-
get distance(): number;
|
|
24
|
-
get distanceProgress(): number;
|
|
25
|
-
set(value: number, options?: Options): void;
|
|
26
|
-
shift(value: number, options?: Options): void;
|
|
27
|
-
reset(): void;
|
|
28
|
-
close(): void;
|
|
29
|
-
listenAnimationFrame(): void;
|
|
30
|
-
unlistenAnimationFrame(): void;
|
|
31
|
-
updateOptions(options?: AnimationOptions): void;
|
|
32
|
-
protected start(): void;
|
|
33
|
-
protected abstract handleAnimationFrame(e: TickerCallbackEntry): void;
|
|
34
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TickerCallbackEntry } from '../ticker';
|
|
2
|
-
import { Animation, AnimationConstructorOptions, AnimationOptions } from './Animation';
|
|
3
|
-
export interface DampedOptions extends AnimationOptions {
|
|
4
|
-
stiffness?: number;
|
|
5
|
-
damping?: number;
|
|
6
|
-
mass?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare class Damped extends Animation<DampedOptions> {
|
|
9
|
-
#private;
|
|
10
|
-
damping: number;
|
|
11
|
-
stiffness: number;
|
|
12
|
-
mass: number;
|
|
13
|
-
constructor(initial?: number, options?: AnimationConstructorOptions<DampedOptions>);
|
|
14
|
-
get velocity(): number;
|
|
15
|
-
get speed(): number;
|
|
16
|
-
updateOptions(options?: DampedOptions): void;
|
|
17
|
-
protected handleAnimationFrame(e: TickerCallbackEntry): void;
|
|
18
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TickerCallbackEntry } from '../ticker';
|
|
2
|
-
import { EasingFunction } from '../utils';
|
|
3
|
-
import { Animation, AnimationConstructorOptions, AnimationOptions } from './Animation';
|
|
4
|
-
export interface TweenedOptions extends AnimationOptions {
|
|
5
|
-
easing?: EasingFunction;
|
|
6
|
-
duration?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare class Tweened extends Animation<TweenedOptions> {
|
|
9
|
-
#private;
|
|
10
|
-
constructor(initial?: number, options?: AnimationConstructorOptions<TweenedOptions>);
|
|
11
|
-
updateOptions(options?: TweenedOptions): void;
|
|
12
|
-
protected handleAnimationFrame(e: TickerCallbackEntry): void;
|
|
13
|
-
protected start(): void;
|
|
14
|
-
}
|
package/lib/animation/index.d.ts
DELETED
package/lib/attribute/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Store, StoreCallback, StoreOptions } from '../store';
|
|
2
|
-
import { ElementOrSelector } from '../utils';
|
|
3
|
-
export interface AttributeOptions<T> extends StoreOptions<T> {
|
|
4
|
-
sync?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare class Attribute<T extends string | number | boolean> extends Store<T> {
|
|
7
|
-
#private;
|
|
8
|
-
constructor(elementOrSelector: ElementOrSelector, name: string, defaultValue: T, options?: AttributeOptions<T>);
|
|
9
|
-
subscribe(callback: StoreCallback<T>): () => void;
|
|
10
|
-
unsubscribe(callback: StoreCallback<T>): void;
|
|
11
|
-
observe(): void;
|
|
12
|
-
unobserve(): void;
|
|
13
|
-
close(): void;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Store } from '../store';
|
|
2
|
-
export declare class ClassLinkedStatus<T extends {
|
|
3
|
-
[key in string]: boolean;
|
|
4
|
-
}> extends Store<T> {
|
|
5
|
-
#private;
|
|
6
|
-
constructor(element: HTMLElement, value: T);
|
|
7
|
-
isTrue(key: keyof T): boolean;
|
|
8
|
-
isFalse(key: keyof T): boolean;
|
|
9
|
-
reset(): void;
|
|
10
|
-
set(key: keyof T, value?: boolean): void;
|
|
11
|
-
}
|
package/lib/connector/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type ConnectorConnectCallback<T extends Node = Node> = (node: T) => void;
|
|
2
|
-
export type ConnectorDisconnectCallback<T extends Node = Node> = (node: T, expired?: boolean) => void;
|
|
3
|
-
export interface ConnectorOptions {
|
|
4
|
-
connectCallback?: ConnectorConnectCallback;
|
|
5
|
-
disconnectCallback?: ConnectorDisconnectCallback;
|
|
6
|
-
maxWaitSec?: number;
|
|
7
|
-
unsubscribeAfterDisconnect?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare class Connector {
|
|
10
|
-
#private;
|
|
11
|
-
subscribe(node: Node, options: ConnectorOptions): () => void;
|
|
12
|
-
unsubscribe(options: ConnectorOptions): void;
|
|
13
|
-
destroy(): void;
|
|
14
|
-
}
|
|
15
|
-
export declare const connector: Connector;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TickerAddOptions } from '../ticker';
|
|
2
|
-
import { Controls } from './Controls';
|
|
3
|
-
export interface AutoplayControlsOptions extends TickerAddOptions {
|
|
4
|
-
speed?: number;
|
|
5
|
-
interval?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare class AutoplayControls extends Controls {
|
|
8
|
-
#private;
|
|
9
|
-
direction: number;
|
|
10
|
-
constructor(options?: AutoplayControlsOptions);
|
|
11
|
-
set interval(value: boolean);
|
|
12
|
-
set speed(value: number);
|
|
13
|
-
connect(): void;
|
|
14
|
-
disconnect(): void;
|
|
15
|
-
pauseAndContinue(duration: number): void;
|
|
16
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Notifier } from '../notifier';
|
|
2
|
-
export type ControlsCallback = (type: string, value: number) => void;
|
|
3
|
-
export declare abstract class Controls {
|
|
4
|
-
#private;
|
|
5
|
-
get changeEvent(): Notifier<ControlsCallback>;
|
|
6
|
-
abstract connect(): void;
|
|
7
|
-
abstract disconnect(): void;
|
|
8
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Axes2D } from '../utils';
|
|
2
|
-
import { Controls } from './Controls';
|
|
3
|
-
export interface DragControlsOptions {
|
|
4
|
-
element?: HTMLElement;
|
|
5
|
-
axis?: Axes2D;
|
|
6
|
-
swipe?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare class DragControls extends Controls {
|
|
9
|
-
#private;
|
|
10
|
-
axis: Axes2D;
|
|
11
|
-
swipe: boolean;
|
|
12
|
-
constructor(options?: DragControlsOptions);
|
|
13
|
-
connect(): void;
|
|
14
|
-
disconnect(): void;
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Controls } from './Controls';
|
|
2
|
-
export type KeyboardControlsDimension = 'height' | 'width';
|
|
3
|
-
export interface KeyboardControlsOptions {
|
|
4
|
-
element?: HTMLElement;
|
|
5
|
-
dimension?: KeyboardControlsDimension;
|
|
6
|
-
}
|
|
7
|
-
export declare class KeyboardControls extends Controls {
|
|
8
|
-
#private;
|
|
9
|
-
constructor(options?: KeyboardControlsOptions);
|
|
10
|
-
set dimension(value: KeyboardControlsDimension | undefined | null);
|
|
11
|
-
connect(): void;
|
|
12
|
-
disconnect(): void;
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Axes2D } from '../utils';
|
|
2
|
-
import { Controls } from './Controls';
|
|
3
|
-
export type WheelControlsAxis = Axes2D | 'max';
|
|
4
|
-
export interface WheelControlsOptions {
|
|
5
|
-
axis?: WheelControlsAxis;
|
|
6
|
-
speed?: number;
|
|
7
|
-
debounce?: boolean;
|
|
8
|
-
element?: HTMLElement;
|
|
9
|
-
}
|
|
10
|
-
export declare class WheelControls extends Controls {
|
|
11
|
-
#private;
|
|
12
|
-
axis: WheelControlsAxis;
|
|
13
|
-
speed: number;
|
|
14
|
-
debounce: boolean;
|
|
15
|
-
constructor(options?: WheelControlsOptions);
|
|
16
|
-
connect(): void;
|
|
17
|
-
disconnect(): void;
|
|
18
|
-
}
|
package/lib/controls/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { Controls } from './Controls';
|
|
2
|
-
export { KeyboardControls } from './KeyboardControls';
|
|
3
|
-
export { AutoplayControls, type AutoplayControlsOptions, } from './AutoplayControls';
|
|
4
|
-
export { WheelControls, type WheelControlsOptions } from './WheelControls';
|
|
5
|
-
export { DragControls, type DragControlsOptions } from './DragControls';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Store, StoreCallback, StoreOptions } from '../store';
|
|
2
|
-
import { ElementOrSelector } from '../utils';
|
|
3
|
-
export interface CSSPropertyOptions<StoreType extends number | boolean | string> extends StoreOptions<StoreType> {
|
|
4
|
-
rawValueCheck?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare class CSSProperty<StoreType extends number | boolean | string> extends Store<StoreType> {
|
|
7
|
-
#private;
|
|
8
|
-
constructor(elementOrSelector: ElementOrSelector<HTMLElement>, property: string, defaultValue: StoreType, options?: CSSPropertyOptions<StoreType>);
|
|
9
|
-
get currentRawValue(): string;
|
|
10
|
-
observe(): void;
|
|
11
|
-
unobserve(): void;
|
|
12
|
-
subscribe(callback: StoreCallback<StoreType>): () => void;
|
|
13
|
-
unsubscribe(callback: StoreCallback<StoreType>): void;
|
|
14
|
-
close(): void;
|
|
15
|
-
check(): void;
|
|
16
|
-
}
|
package/lib/dev/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function devMode(): void;
|
package/lib/device/Device.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type DeviceOS = 'macOS' | 'iOS' | 'Windows' | 'Android' | 'Linux' | 'unknown';
|
|
2
|
-
declare class Device {
|
|
3
|
-
#private;
|
|
4
|
-
constructor();
|
|
5
|
-
get OS(): string;
|
|
6
|
-
get gpu(): string;
|
|
7
|
-
get gpuTier(): number;
|
|
8
|
-
get isMobile(): boolean;
|
|
9
|
-
get isTouch(): boolean;
|
|
10
|
-
get isWebgl(): boolean;
|
|
11
|
-
get isWebp(): boolean;
|
|
12
|
-
get isApple(): boolean;
|
|
13
|
-
resize: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const device: Device;
|
|
16
|
-
export {};
|