aptechka 0.4.31 → 0.4.33
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/Damped-BJgyFENo.js +258 -0
- package/lib/Damped-CbWlWAbx.cjs +1 -0
- package/lib/animation/Animation.d.ts +42 -7
- package/lib/animation/AnimationLink.d.ts +13 -0
- package/lib/animation/Damped.d.ts +23 -28
- package/lib/animation/Tweened.d.ts +7 -19
- package/lib/animation/index.cjs +1 -1
- package/lib/animation/index.d.ts +2 -1
- package/lib/animation/index.js +43 -61
- package/lib/canvas/index.cjs +1 -1
- package/lib/canvas/index.d.ts +1 -1
- package/lib/canvas/index.js +35 -35
- package/lib/class-linked-status/index.cjs +1 -1
- package/lib/class-linked-status/index.d.ts +3 -1
- package/lib/class-linked-status/index.js +36 -37
- package/lib/controls/index.cjs +1 -1
- package/lib/controls/index.js +64 -64
- package/lib/css-property/index.cjs +1 -1
- package/lib/css-property/index.d.ts +5 -1
- package/lib/css-property/index.js +35 -31
- package/lib/en3/index.cjs +7 -7
- package/lib/en3/index.d.ts +0 -1
- package/lib/en3/index.js +268 -281
- package/lib/intersector/index.cjs +1 -1
- package/lib/intersector/index.js +8 -8
- package/lib/ladder/index.cjs +1 -1
- package/lib/ladder/index.d.ts +12 -6
- package/lib/ladder/index.js +119 -114
- package/lib/order/index.cjs +1 -1
- package/lib/order/index.d.ts +4 -3
- package/lib/order/index.js +1 -1
- package/lib/pointer/index.cjs +1 -1
- package/lib/pointer/index.js +2 -2
- package/lib/scroll/ScrollElement.d.ts +1 -3
- package/lib/scroll/ScrollSegmentElement.d.ts +6 -11
- package/lib/scroll/index.cjs +1 -1
- package/lib/scroll/index.d.ts +1 -1
- package/lib/scroll/index.js +498 -501
- package/lib/sequence/index.cjs +1 -1
- package/lib/sequence/index.d.ts +4 -2
- package/lib/sequence/index.js +129 -114
- package/lib/source/SourceElement.d.ts +14 -7
- package/lib/source/index.cjs +2 -2
- package/lib/source/index.d.ts +2 -2
- package/lib/source/index.js +66 -56
- package/lib/theme/index.cjs +1 -1
- package/lib/theme/index.d.ts +15 -0
- package/lib/theme/index.js +9 -6
- package/lib/ticker/index.cjs +1 -1
- package/lib/ticker/index.d.ts +3 -2
- package/lib/ticker/index.js +81 -71
- package/lib/video/index.cjs +1 -1
- package/lib/video/index.js +10 -10
- package/package.json +1 -1
- package/lib/Damped-B0G_t-pw.cjs +0 -1
- package/lib/Damped-DpaKIZqv.js +0 -150
- package/lib/en3/instances/en3LazyLoader.d.ts +0 -8
|
@@ -1,55 +1,59 @@
|
|
|
1
|
-
var
|
|
2
|
-
if (!
|
|
3
|
-
throw TypeError("Cannot " +
|
|
1
|
+
var p = (r, s, e) => {
|
|
2
|
+
if (!s.has(r))
|
|
3
|
+
throw TypeError("Cannot " + e);
|
|
4
4
|
};
|
|
5
|
-
var t = (
|
|
6
|
-
if (
|
|
5
|
+
var t = (r, s, e) => (p(r, s, "read from private field"), e ? e.call(r) : s.get(r)), h = (r, s, e) => {
|
|
6
|
+
if (s.has(r))
|
|
7
7
|
throw TypeError("Cannot add the same private member more than once");
|
|
8
|
-
|
|
9
|
-
}, c = (
|
|
8
|
+
s instanceof WeakSet ? s.add(r) : s.set(r, e);
|
|
9
|
+
}, c = (r, s, e, u) => (p(r, s, "write to private field"), u ? u.call(r, e) : s.set(r, e), e);
|
|
10
10
|
import { cssValueParser as S } from "../css-value-parser/index.js";
|
|
11
|
-
import { RESIZE_ORDER as
|
|
11
|
+
import { RESIZE_ORDER as w } from "../order/index.js";
|
|
12
12
|
import { S as R } from "../Store-Cd-E5W1z.js";
|
|
13
|
-
import { g } from "../dom-0S_WDL4g.js";
|
|
13
|
+
import { g as V } from "../dom-0S_WDL4g.js";
|
|
14
14
|
import "../path-data-polyfill-DgeDWYeI.js";
|
|
15
|
-
import { windowResizer as
|
|
16
|
-
var b,
|
|
15
|
+
import { windowResizer as f } from "../window-resizer/index.js";
|
|
16
|
+
var b, a, i, n, o;
|
|
17
17
|
class P extends R {
|
|
18
|
-
constructor(
|
|
19
|
-
super(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
constructor(e, u, m, l) {
|
|
19
|
+
super(m, l);
|
|
20
|
+
h(this, b, void 0);
|
|
21
|
+
h(this, a, void 0);
|
|
22
|
+
h(this, i, void 0);
|
|
23
|
+
h(this, n, void 0);
|
|
24
|
+
h(this, o, () => {
|
|
24
25
|
this.check();
|
|
25
26
|
});
|
|
26
|
-
c(this, b,
|
|
27
|
+
c(this, b, V(e)), c(this, a, u), c(this, i, m.toString()), c(this, n, (l == null ? void 0 : l.rawValueCheck) !== !1);
|
|
28
|
+
}
|
|
29
|
+
get currentRawValue() {
|
|
30
|
+
return t(this, i);
|
|
27
31
|
}
|
|
28
32
|
observe() {
|
|
29
|
-
this.subscribers.size ||
|
|
33
|
+
this.subscribers.size || f.subscribe(t(this, o), w.CSS_VARIABLE);
|
|
30
34
|
}
|
|
31
35
|
unobserve() {
|
|
32
|
-
this.subscribers.size ||
|
|
36
|
+
this.subscribers.size || f.unsubscribe(t(this, o));
|
|
33
37
|
}
|
|
34
|
-
subscribe(
|
|
35
|
-
return this.observe(), super.subscribe(
|
|
38
|
+
subscribe(e) {
|
|
39
|
+
return this.observe(), super.subscribe(e);
|
|
36
40
|
}
|
|
37
|
-
unsubscribe(
|
|
38
|
-
super.unsubscribe(
|
|
41
|
+
unsubscribe(e) {
|
|
42
|
+
super.unsubscribe(e), this.unobserve();
|
|
39
43
|
}
|
|
40
44
|
check() {
|
|
41
|
-
const
|
|
42
|
-
t(this,
|
|
45
|
+
const e = getComputedStyle(t(this, b)).getPropertyValue(
|
|
46
|
+
t(this, a)
|
|
43
47
|
);
|
|
44
|
-
if (t(this, i)
|
|
45
|
-
if (c(this, i,
|
|
46
|
-
const
|
|
47
|
-
this.current =
|
|
48
|
+
if (!(t(this, n) && t(this, i) === e))
|
|
49
|
+
if (c(this, i, e), e) {
|
|
50
|
+
const u = S.parse(t(this, i));
|
|
51
|
+
this.current = u;
|
|
48
52
|
} else
|
|
49
53
|
this.current = this.initial;
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
|
-
b = new WeakMap(),
|
|
56
|
+
b = new WeakMap(), a = new WeakMap(), i = new WeakMap(), n = new WeakMap(), o = new WeakMap();
|
|
53
57
|
export {
|
|
54
58
|
P as CSSProperty
|
|
55
59
|
};
|