aptechka 0.5.44 → 0.7.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-6Na1MCtM.cjs +1 -0
- package/lib/Animation-CELiTw3n.js +132 -0
- package/lib/Composed-DmLYTh1b.js +35 -0
- package/lib/Composed-Dx2hs-va.cjs +1 -0
- package/lib/{Damped-P4MkCGoY.js → Damped-Mx_FNNVz.js} +2 -5
- package/lib/Damped-loFiBsBy.cjs +1 -0
- package/lib/{Derived-kPJs5JC5.js → Derived-DlCvc0xQ.js} +1 -1
- package/lib/{Derived-B-g8dYgh.cjs → Derived-a6MDQEPY.cjs} +1 -1
- package/lib/ElementConstructor-CAZ2ra8m.cjs +1 -0
- package/lib/ElementConstructor-OYlPJf2L.js +366 -0
- package/lib/Resource-D3TQormz.cjs +1 -0
- package/lib/Resource-DIcoALGo.js +64 -0
- package/lib/{SourceManager-Q-PB-Rkh.js → SourceManager-Bz329f90.js} +1 -1
- package/lib/{SourceManager-vSlsMKUE.cjs → SourceManager-kxr5eUyL.cjs} +1 -1
- package/lib/Store-6s0YXK4o.cjs +1 -0
- package/lib/{Store-BQXXikps.js → Store-BI2xxXOA.js} +42 -42
- package/lib/Tweened-B_mclQ61.cjs +1 -0
- package/lib/Tweened-NE8M9onF.js +48 -0
- package/lib/{Viewport-DMB0dO-s.cjs → Viewport-CJeKnL5V.cjs} +1 -1
- package/lib/{Viewport-CFFhFKqX.js → Viewport-D9IL7kUQ.js} +1 -1
- package/lib/_createStore-Cf1MyeHa.cjs +1 -0
- package/lib/_createStore-Ck9bHolX.js +12 -0
- package/lib/accordion/AccordionElement.d.ts +3 -0
- package/lib/accordion/index.cjs +1 -1
- package/lib/accordion/index.js +140 -104
- package/lib/animation/Animation.d.ts +10 -18
- package/lib/animation/Damped.d.ts +3 -5
- package/lib/animation/Tweened.d.ts +0 -2
- package/lib/animation/index.cjs +1 -1
- package/lib/animation/index.js +3 -3
- package/lib/attribute/index.cjs +1 -1
- package/lib/attribute/index.js +31 -31
- package/lib/canvas/index.cjs +1 -1
- package/lib/canvas/index.js +3 -3
- package/lib/checkbox/index.cjs +1 -1
- package/lib/checkbox/index.js +3 -3
- package/lib/class-linked-status/index.cjs +1 -1
- package/lib/class-linked-status/index.js +1 -1
- package/lib/controls/index.cjs +1 -1
- package/lib/controls/index.js +3 -3
- package/lib/counter/index.d.ts +8 -0
- package/lib/{createStylesheet-DBCEbDjI.js → createStylesheet-CR_yi5tp.js} +1 -1
- package/lib/{createStylesheet-CqHU9_qv.cjs → createStylesheet-p23sZ7Ey.cjs} +1 -1
- package/lib/css-property/index.cjs +1 -1
- package/lib/css-property/index.d.ts +1 -0
- package/lib/css-property/index.js +36 -32
- 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-constructor/index.cjs +1 -1
- package/lib/element-constructor/index.js +114 -113
- package/lib/en3/core/En3Raycaster.d.ts +20 -0
- package/lib/en3/core/En3View.d.ts +1 -1
- package/lib/en3/core/en3.d.ts +5 -1
- package/lib/en3/helpers/En3Controls.d.ts +5 -0
- package/lib/en3/helpers/En3GridHelper.d.ts +8 -0
- package/lib/en3/helpers/En3Object3dManager.d.ts +12 -0
- package/lib/en3/helpers/En3OrbitControls.d.ts +8 -0
- package/lib/en3/helpers/En3TransformControls.d.ts +8 -0
- package/lib/en3/helpers/index.cjs +1 -0
- package/lib/en3/helpers/index.d.ts +2 -0
- package/lib/en3/helpers/index.js +1165 -0
- package/lib/en3/index.cjs +1 -213
- package/lib/en3/index.d.ts +1 -19
- package/lib/en3/index.js +4 -3305
- package/lib/en3/libs/index.d.ts +1 -0
- package/lib/en3/loaders/{en3GLTFLoader.d.ts → _En3GLTFLoader.d.ts} +2 -4
- package/lib/en3/loaders/_En3TextureLoader.d.ts +8 -0
- package/lib/en3/loaders/index.cjs +1 -0
- package/lib/en3/loaders/index.d.ts +3 -0
- package/lib/en3/loaders/index.js +1757 -0
- package/lib/en3/loaders/loaders.d.ts +13 -0
- package/lib/en3/misc/index.cjs +10 -0
- package/lib/en3/misc/index.d.ts +2 -0
- package/lib/en3/misc/index.js +115 -0
- package/lib/en3/objects/En3Clip.d.ts +1 -1
- package/lib/en3/objects/En3GLTF.d.ts +2 -1
- package/lib/en3/objects/En3ImageLike.d.ts +2 -1
- package/lib/en3/objects/En3SourceConsumer.d.ts +1 -1
- package/lib/en3/objects/fluid/index.d.ts +0 -3
- package/lib/en3/objects/index.d.ts +7 -0
- package/lib/en3/utils/index.cjs +1 -0
- package/lib/en3/utils/index.d.ts +5 -0
- package/lib/en3/utils/index.js +43 -0
- package/lib/en3-C4mzaF6q.cjs +8 -0
- package/lib/en3-hbkN1OPu.js +343 -0
- package/lib/globals-DMjysUXI.js +8 -0
- package/lib/globals-bYKki-b9.cjs +1 -0
- package/lib/image/index.cjs +1 -1
- package/lib/image/index.js +1 -1
- package/lib/{index-BN9X-l9M.js → index-BAH_fO2N.js} +3 -3
- package/lib/{index-BbgmbQ-5.cjs → index-D1LQUR-R.cjs} +1 -1
- package/lib/instantiate-D19Uvc31.js +125 -0
- package/lib/instantiate-Db5gGSYG.cjs +1 -0
- package/lib/jsx/ComponentElement.d.ts +18 -0
- package/lib/jsx/globals.d.ts +13 -0
- package/lib/jsx/h.d.ts +7 -0
- package/lib/jsx/hooks/basic/_createStore.d.ts +4 -0
- package/lib/jsx/hooks/basic/attachInternals.d.ts +1 -0
- package/lib/jsx/hooks/basic/attachShadow.d.ts +1 -0
- package/lib/jsx/hooks/basic/attachStylesheet.d.ts +3 -0
- package/lib/jsx/hooks/basic/createContext.d.ts +2 -0
- package/lib/jsx/hooks/basic/onConnect.d.ts +3 -0
- package/lib/jsx/hooks/basic/onDisconnect.d.ts +3 -0
- package/lib/jsx/hooks/onAnimationFrame.cjs +1 -0
- package/lib/jsx/hooks/onAnimationFrame.d.ts +6 -0
- package/lib/jsx/hooks/onAnimationFrame.js +22 -0
- package/lib/jsx/hooks/onElementResize.cjs +1 -0
- package/lib/jsx/hooks/onElementResize.d.ts +5 -0
- package/lib/jsx/hooks/onElementResize.js +11 -0
- package/lib/jsx/hooks/onIntersection.cjs +1 -0
- package/lib/jsx/hooks/onIntersection.d.ts +5 -0
- package/lib/jsx/hooks/onIntersection.js +11 -0
- package/lib/jsx/hooks/onWindowResize.cjs +1 -0
- package/lib/jsx/hooks/onWindowResize.d.ts +3 -0
- package/lib/jsx/hooks/onWindowResize.js +8 -0
- package/lib/jsx/hooks/store/createArrayStore.d.ts +3 -0
- package/lib/jsx/hooks/store/createComposed.d.ts +3 -0
- package/lib/jsx/hooks/store/createDerived.d.ts +3 -0
- package/lib/jsx/hooks/store/createDerivedArray.d.ts +3 -0
- package/lib/jsx/hooks/store/createDerivedComponent.d.ts +3 -0
- package/lib/jsx/hooks/store/createDerivedComponents.d.ts +3 -0
- package/lib/jsx/hooks/store/createResource.d.ts +3 -0
- package/lib/jsx/hooks/store/createStore.d.ts +3 -0
- package/lib/jsx/hooks/store/index.cjs +1 -0
- package/lib/jsx/hooks/store/index.d.ts +7 -0
- package/lib/jsx/hooks/store/index.js +49 -0
- package/lib/jsx/hooks/watchAttribute.cjs +1 -0
- package/lib/jsx/hooks/watchAttribute.d.ts +6 -0
- package/lib/jsx/hooks/watchAttribute.js +17 -0
- package/lib/jsx/hooks/watchCSSProperty.cjs +1 -0
- package/lib/jsx/hooks/watchCSSProperty.d.ts +7 -0
- package/lib/jsx/hooks/watchCSSProperty.js +17 -0
- package/lib/jsx/index.cjs +1 -0
- package/lib/jsx/index.d.ts +13 -0
- package/lib/jsx/index.js +91 -0
- package/lib/jsx/instantiate.d.ts +5 -0
- package/lib/jsx/register.d.ts +1 -0
- package/lib/jsx/render.d.ts +6 -0
- package/lib/jsx/type.d.ts +188 -0
- package/lib/ladder/index.cjs +1 -1
- package/lib/ladder/index.d.ts +2 -0
- package/lib/ladder/index.js +84 -66
- package/lib/layout-box/index.cjs +1 -1
- package/lib/layout-box/index.d.ts +9 -0
- package/lib/layout-box/index.js +190 -164
- package/lib/media/index.cjs +1 -1
- package/lib/media/index.js +1 -1
- package/lib/modal/index.cjs +1 -1
- package/lib/modal/index.js +7 -7
- package/lib/morph/Morph.d.ts +2 -2
- package/lib/morph/index.cjs +1 -1
- package/lib/morph/index.d.ts +1 -1
- package/lib/morph/index.js +135 -143
- package/lib/notifier/index.d.ts +2 -2
- package/lib/notifier/index.js +3 -1
- package/lib/onConnect-DGP866cj.cjs +1 -0
- package/lib/onConnect-y5DrxJ9P.js +7 -0
- package/lib/pointer/index.cjs +1 -1
- package/lib/pointer/index.js +2 -2
- package/lib/polyfills-CM4SCDTt.cjs +1 -0
- package/lib/polyfills-X6KXuHg-.js +33 -0
- package/lib/popover/index.cjs +1 -1
- package/lib/popover/index.js +2 -2
- package/lib/router/Router.d.ts +11 -3
- package/lib/router/index.cjs +1 -1
- package/lib/router/index.d.ts +1 -1
- package/lib/router/index.js +185 -165
- package/lib/scroll/ScrollElement.d.ts +2 -19
- package/lib/scroll/ScrollSection.d.ts +23 -0
- package/lib/scroll/index.cjs +1 -1
- package/lib/scroll/index.js +81 -77
- package/lib/select/index.cjs +1 -1
- package/lib/select/index.js +1 -1
- package/lib/sequence/index.cjs +1 -1
- package/lib/sequence/index.js +1 -1
- package/lib/source/index.cjs +1 -1
- package/lib/source/index.js +2 -2
- package/lib/store/ArrayStore.d.ts +21 -0
- package/lib/store/Store.d.ts +1 -7
- package/lib/store/index.cjs +1 -1
- package/lib/store/index.d.ts +2 -2
- package/lib/store/index.js +65 -139
- package/lib/tags-BqJKcIve.js +485 -0
- package/lib/tags-ld5jemJw.cjs +1 -0
- package/lib/theme/index.cjs +1 -1
- package/lib/theme/index.js +2 -2
- package/lib/tweaker/TweakerBooleanManagerElement.d.ts +1 -1
- package/lib/tweaker/TweakerColorManagerElement.d.ts +1 -1
- package/lib/tweaker/TweakerFolderElement.d.ts +2 -0
- package/lib/tweaker/TweakerLinkManagerElement.d.ts +1 -1
- package/lib/tweaker/TweakerNumberManagerElement.d.ts +4 -8
- package/lib/tweaker/TweakerSelectManagerElement.d.ts +1 -1
- package/lib/tweaker/TweakerStoreManagerElement.d.ts +7 -7
- package/lib/tweaker/TweakerStringManagerElement.d.ts +3 -5
- package/lib/tweaker/index.cjs +3 -3
- package/lib/tweaker/index.js +535 -412
- package/lib/tweaker/tweakerManagerConstructors.d.ts +2 -2
- package/lib/tweaker/tweakerStorage.d.ts +8 -1
- package/lib/url-C3dWnJQg.cjs +1 -0
- package/lib/url-DMNfW7uN.js +22 -0
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +39 -34
- package/lib/utils/number.d.ts +1 -0
- package/lib/utils/url.d.ts +9 -0
- package/lib/video/index.cjs +1 -1
- package/lib/video/index.js +1 -1
- package/package.json +107 -3
- package/lib/Animation-DDHjrbtL.cjs +0 -1
- package/lib/Animation-Dq_05jlR.js +0 -217
- package/lib/DRACOLoader-C2CFpMGS.cjs +0 -2
- package/lib/DRACOLoader-D2KY2dku.js +0 -241
- package/lib/Damped-l0mnlhar.cjs +0 -1
- package/lib/KTX2Loader-DdUl1XiY.cjs +0 -2
- package/lib/KTX2Loader-DqpAffDj.js +0 -536
- package/lib/Store-C-1ruEIm.cjs +0 -1
- package/lib/Tweened-CwDC2zl8.js +0 -51
- package/lib/Tweened-DIt9j9B-.cjs +0 -1
- package/lib/animation/AnimationLink.d.ts +0 -13
- package/lib/en3/loaders/en3TextureLoader.d.ts +0 -3
- package/lib/en3/test/En3HTML.d.ts +0 -10
- package/lib/polyfills-BA-CL_HF.js +0 -27
- package/lib/polyfills-DHs2SNbz.cjs +0 -1
- package/lib/store/CumulativeResource.d.ts +0 -13
- package/lib/tags-CMPg9ETZ.js +0 -848
- package/lib/tags-Djb6mb1o.cjs +0 -1
- package/lib/tweaker/TweakerRangeManagerElement.d.ts +0 -11
- /package/lib/en3/{loaders → core}/en3Cache.d.ts +0 -0
- /package/lib/{MeshoptDecoder-CMeN3oU0.cjs → en3/libs/index.cjs} +0 -0
- /package/lib/{MeshoptDecoder-6XfTpOG2.js → en3/libs/index.js} +0 -0
- /package/lib/en3/{test → misc}/En3ModifiedMaterial.d.ts +0 -0
- /package/lib/en3/{attachments → misc}/En3SourceManager.d.ts +0 -0
package/lib/Tweened-CwDC2zl8.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
var F = Object.defineProperty, g = Object.defineProperties;
|
|
2
|
-
var O = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var h = Object.getOwnPropertySymbols;
|
|
4
|
-
var b = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var l = (i, e, t) => e in i ? F(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, c = (i, e) => {
|
|
6
|
-
for (var t in e || (e = {}))
|
|
7
|
-
b.call(e, t) && l(i, t, e[t]);
|
|
8
|
-
if (h)
|
|
9
|
-
for (var t of h(e))
|
|
10
|
-
x.call(e, t) && l(i, t, e[t]);
|
|
11
|
-
return i;
|
|
12
|
-
}, d = (i, e) => g(i, O(e));
|
|
13
|
-
var f = (i, e, t) => {
|
|
14
|
-
if (!e.has(i))
|
|
15
|
-
throw TypeError("Cannot " + t);
|
|
16
|
-
};
|
|
17
|
-
var n = (i, e, t) => (f(i, e, "read from private field"), t ? t.call(i) : e.get(i)), m = (i, e, t) => {
|
|
18
|
-
if (e.has(i))
|
|
19
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
20
|
-
e instanceof WeakSet ? e.add(i) : e.set(i, t);
|
|
21
|
-
}, u = (i, e, t, a) => (f(i, e, "write to private field"), a ? a.call(i, t) : e.set(i, t), t);
|
|
22
|
-
import { l as y } from "./easings-BKi40vHz.js";
|
|
23
|
-
import { c as M } from "./math-BOBiC4TN.js";
|
|
24
|
-
import { n as A, p as S } from "./polyfills-BA-CL_HF.js";
|
|
25
|
-
import { A as T } from "./Animation-Dq_05jlR.js";
|
|
26
|
-
var r, s;
|
|
27
|
-
class N extends T {
|
|
28
|
-
constructor(t, a) {
|
|
29
|
-
super(t || 0, a);
|
|
30
|
-
m(this, r, y);
|
|
31
|
-
m(this, s, 1e3);
|
|
32
|
-
this.updateOptions(d(c({}, a), { equalize: !0 }));
|
|
33
|
-
}
|
|
34
|
-
updateOptions(t) {
|
|
35
|
-
super.updateOptions(t), u(this, r, A(t == null ? void 0 : t.easing, n(this, r))), u(this, s, A(t == null ? void 0 : t.duration, n(this, s))), t != null && t.restart && (this.current = this.initial);
|
|
36
|
-
}
|
|
37
|
-
updateManually(t) {
|
|
38
|
-
const a = t / 1e3 / (n(this, s) / 1e3), p = n(this, r).call(this, M(a, 0, 1));
|
|
39
|
-
return this.current = S(this.from + (this.to - this.from) * p, 6), a;
|
|
40
|
-
}
|
|
41
|
-
handleAnimationFrame(t) {
|
|
42
|
-
this.updateManually(t.timeElapsedSinceSubscription) > 1 && this.unlistenAnimationFrame();
|
|
43
|
-
}
|
|
44
|
-
start() {
|
|
45
|
-
this.unlistenAnimationFrame(), this.listenAnimationFrame();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
r = new WeakMap(), s = new WeakMap();
|
|
49
|
-
export {
|
|
50
|
-
N as T
|
|
51
|
-
};
|
package/lib/Tweened-DIt9j9B-.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var q=Object.defineProperty,F=Object.defineProperties;var y=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var m=(t,i,e)=>i in t?q(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,d=(t,i)=>{for(var e in i||(i={}))O.call(i,e)&&m(t,e,i[e]);if(c)for(var e of c(i))b.call(i,e)&&m(t,e,i[e]);return t},A=(t,i)=>F(t,y(i));var f=(t,i,e)=>{if(!i.has(t))throw TypeError("Cannot "+e)};var n=(t,i,e)=>(f(t,i,"read from private field"),e?e.call(t):i.get(t)),u=(t,i,e)=>{if(i.has(t))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(t):i.set(t,e)},l=(t,i,e,a)=>(f(t,i,"write to private field"),a?a.call(t,e):i.set(t,e),e);const w=require("./easings-DsS5-Kqc.cjs"),C=require("./math-GDWEqu7y.cjs"),h=require("./polyfills-DHs2SNbz.cjs"),M=require("./Animation-DDHjrbtL.cjs");var r,s;class S extends M.Animation{constructor(e,a){super(e||0,a);u(this,r,w.linear);u(this,s,1e3);this.updateOptions(A(d({},a),{equalize:!0}))}updateOptions(e){super.updateOptions(e),l(this,r,h.nullishCoalescing(e==null?void 0:e.easing,n(this,r))),l(this,s,h.nullishCoalescing(e==null?void 0:e.duration,n(this,s))),e!=null&&e.restart&&(this.current=this.initial)}updateManually(e){const a=e/1e3/(n(this,s)/1e3),g=n(this,r).call(this,C.clamp(a,0,1));return this.current=h.preciseNumber(this.from+(this.to-this.from)*g,6),a}handleAnimationFrame(e){this.updateManually(e.timeElapsedSinceSubscription)>1&&this.unlistenAnimationFrame()}start(){this.unlistenAnimationFrame(),this.listenAnimationFrame()}}r=new WeakMap,s=new WeakMap;exports.Tweened=S;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { StoreOptions } from '../store';
|
|
2
|
-
import { Animation, AnimationOptions } from './Animation';
|
|
3
|
-
|
|
4
|
-
export interface AnimationLinkOptions extends Omit<AnimationOptions, keyof StoreOptions<number>> {
|
|
5
|
-
once?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare class AnimationLink<Options extends AnimationLinkOptions = AnimationLinkOptions> {
|
|
8
|
-
#private;
|
|
9
|
-
constructor(triggerAnimation: Animation<any>, targetAnimation: Animation<any>, startValue: number, setValue: number, options?: Options | undefined);
|
|
10
|
-
get targetAnimation(): Animation<any, AnimationOptions>;
|
|
11
|
-
get triggerAnimation(): Animation<any, AnimationOptions>;
|
|
12
|
-
destroy(): void;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer.js';
|
|
2
|
-
|
|
3
|
-
export interface En3HTMLParameters {
|
|
4
|
-
element: HTMLElement;
|
|
5
|
-
}
|
|
6
|
-
export declare class En3HTML extends CSS3DObject {
|
|
7
|
-
#private;
|
|
8
|
-
static destroy(): void;
|
|
9
|
-
constructor(parameters: En3HTMLParameters);
|
|
10
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
const r = [
|
|
2
|
-
1,
|
|
3
|
-
10,
|
|
4
|
-
100,
|
|
5
|
-
1e3,
|
|
6
|
-
1e4,
|
|
7
|
-
1e5,
|
|
8
|
-
1e6,
|
|
9
|
-
1e7,
|
|
10
|
-
1e8,
|
|
11
|
-
1e9,
|
|
12
|
-
1e10
|
|
13
|
-
];
|
|
14
|
-
function u(n, e = 5) {
|
|
15
|
-
return Math.round(n * r[e]) / r[e];
|
|
16
|
-
}
|
|
17
|
-
function o(n, e) {
|
|
18
|
-
return Math.round(n / e) * e;
|
|
19
|
-
}
|
|
20
|
-
function t(n, e) {
|
|
21
|
-
return typeof n == "undefined" ? e : n;
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
t as n,
|
|
25
|
-
u as p,
|
|
26
|
-
o as r
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10];function u(n,e=5){return Math.round(n*r[e])/r[e]}function i(n,e){return Math.round(n/e)*e}function o(n,e){return typeof n=="undefined"?e:n}exports.nullishCoalescing=o;exports.preciseNumber=u;exports.roundNumberTo=i;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Resource, ResourceFetcher, ResourceOptions } from './Resource';
|
|
2
|
-
|
|
3
|
-
export interface CumulativeResourceOptions<T> extends ResourceOptions<T> {
|
|
4
|
-
interval?: number;
|
|
5
|
-
}
|
|
6
|
-
export declare class CumulativeResource<T> extends Resource<T> {
|
|
7
|
-
#private;
|
|
8
|
-
constructor(defaultValue: T, fetcher: ResourceFetcher<T>, interval?: number);
|
|
9
|
-
get step(): number;
|
|
10
|
-
startAccumulating(): void;
|
|
11
|
-
stopAccumulating(): void;
|
|
12
|
-
close(): void;
|
|
13
|
-
}
|