aptechka 0.12.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Animation-De9aUv3b.cjs +1 -0
- package/{client-lib/Animation-uimN7sdT.js → lib/Animation-NAGXiFv5.js} +23 -28
- package/lib/Composed-C_4slJQ6.cjs +1 -0
- package/lib/Composed-CfWa-69I.js +31 -0
- package/lib/Damped-DYJ6Z0xo.cjs +1 -0
- package/lib/Damped-DbJKrUIf.js +53 -0
- package/lib/Derived-BIBU-y7Z.cjs +1 -0
- package/lib/Derived-Vo_RsJfi.js +23 -0
- package/{client-lib/SourceManager--L_rA28b.js → lib/SourceManager-B6wZpXUZ.js} +26 -30
- package/lib/SourceManager-CfHcGLUa.cjs +1 -0
- package/lib/Store-C46i0nvr.js +137 -0
- package/lib/Store-npaZHvX4.cjs +1 -0
- package/lib/Tweened-BkkD9s4n.cjs +1 -0
- package/lib/Tweened-DOSHLCZa.js +44 -0
- package/lib/Viewport-B55BvLsV.js +123 -0
- package/lib/Viewport-Cv4TRGiv.cjs +1 -0
- package/lib/accordion/index.cjs +1 -0
- package/lib/accordion/index.js +167 -0
- package/{client-lib → lib}/animation/index.cjs +1 -1
- package/lib/animation/index.js +8 -0
- package/lib/attribute/index.cjs +1 -0
- package/{client-lib → lib}/attribute/index.js +15 -20
- package/lib/canvas/index.cjs +1 -0
- package/lib/canvas/index.js +111 -0
- package/lib/checkbox/index.cjs +1 -0
- package/{client-lib → lib}/checkbox/index.js +20 -25
- package/lib/class-linked-status/index.cjs +1 -0
- package/lib/class-linked-status/index.js +45 -0
- package/lib/connector/index.cjs +1 -0
- package/{client-lib → lib}/connector/index.js +14 -18
- package/lib/controls/index.cjs +1 -0
- package/lib/controls/index.js +207 -0
- package/{client-lib/createStylesheet-DNG2b5X4.js → lib/createStylesheet-COAZH1Mw.js} +1 -1
- package/{client-lib/createStylesheet-BqjaCUhm.cjs → lib/createStylesheet-Csfmh-MH.cjs} +1 -1
- package/lib/css-property/index.cjs +1 -0
- package/lib/css-property/index.js +58 -0
- package/lib/css-unit-parser/index.cjs +8 -0
- package/lib/css-unit-parser/index.js +31 -0
- package/{client-lib → lib}/dev/index.cjs +1 -1
- package/{client-lib → lib}/dev/index.js +1 -1
- package/{client-lib → lib}/device/index.cjs +1 -1
- package/{client-lib → lib}/device/index.js +1 -1
- package/{client-lib → lib}/element-constructor/index.cjs +1 -1
- package/{client-lib → lib}/element-constructor/index.js +2 -2
- package/lib/element-resizer/index.cjs +1 -0
- package/{client-lib → lib}/element-resizer/index.js +12 -16
- package/lib/en3/helpers/index.cjs +1 -0
- package/{client-lib → lib}/en3/helpers/index.js +612 -646
- package/{client-lib → lib}/en3/index.cjs +1 -1
- package/lib/en3/index.js +6 -0
- package/{client-lib → lib}/en3/libs/index.js +1 -2
- package/lib/en3/loaders/index.cjs +1 -0
- package/{client-lib → lib}/en3/loaders/index.js +152 -167
- package/lib/en3/misc/index.cjs +10 -0
- package/{client-lib → lib}/en3/misc/index.js +18 -23
- package/{client-lib → lib}/en3/utils/index.cjs +1 -1
- package/{client-lib → lib}/en3/utils/index.js +2 -2
- package/lib/en3-C1fLmsjs.cjs +8 -0
- package/{client-lib/en3-THFHEReu.js → lib/en3-x-Ki30MY.js} +59 -64
- package/{client-lib → lib}/image/index.cjs +1 -1
- package/{client-lib → lib}/image/index.js +1 -1
- package/lib/index-BuAuBz2_.cjs +9 -0
- package/{client-lib/index-BuvwT3dS.js → lib/index-CenF0JbH.js} +35 -40
- package/lib/intersector/index.cjs +1 -0
- package/{client-lib → lib}/intersector/index.js +12 -16
- package/lib/ladder/index.cjs +1 -0
- package/{client-lib → lib}/ladder/index.js +20 -25
- package/lib/layout-box/index.cjs +1 -0
- package/lib/layout-box/index.js +318 -0
- package/lib/loading/index.cjs +1 -0
- package/{client-lib → lib}/loading/index.js +17 -21
- package/lib/media/index.cjs +1 -0
- package/lib/media/index.js +26 -0
- package/lib/modal/index.cjs +1 -0
- package/{client-lib → lib}/modal/index.js +22 -26
- package/lib/morph/index.cjs +1 -0
- package/lib/morph/index.js +225 -0
- package/lib/notifier/index.cjs +1 -0
- package/lib/notifier/index.js +36 -0
- package/lib/pointer/index.cjs +1 -0
- package/{client-lib → lib}/pointer/index.js +37 -41
- package/lib/popover/index.cjs +1 -0
- package/{client-lib → lib}/popover/index.js +71 -79
- package/lib/router/index.cjs +1 -0
- package/{client-lib → lib}/router/index.js +54 -60
- package/lib/scroll/index.cjs +1 -0
- package/lib/scroll/index.js +1131 -0
- package/lib/scroll-entries/index.cjs +1 -0
- package/{client-lib → lib}/scroll-entries/index.js +11 -15
- package/{client-lib → lib}/select/index.cjs +1 -1
- package/{client-lib → lib}/select/index.js +1 -1
- package/lib/sequence/index.cjs +1 -0
- package/{client-lib → lib}/sequence/index.js +26 -30
- package/lib/slicer/index.cjs +11 -0
- package/{client-lib → lib}/slicer/index.js +27 -31
- package/lib/source/index.cjs +5 -0
- package/{client-lib → lib}/source/index.js +19 -24
- package/lib/store/index.cjs +1 -0
- package/lib/store/index.js +53 -0
- package/lib/tags-6_ETuR75.cjs +1 -0
- package/lib/tags-BL3kQp9o.js +833 -0
- package/{client-lib → lib}/theme/index.cjs +1 -1
- package/{client-lib → lib}/theme/index.js +2 -2
- package/lib/ticker/index.cjs +1 -0
- package/lib/ticker/index.js +119 -0
- package/{client-lib/traverseMaterials-BtBXV88O.cjs → lib/traverseMaterials-CD_3_56D.cjs} +1 -1
- package/{client-lib/traverseMaterials-BKSwwNmo.js → lib/traverseMaterials-mGC2_FkG.js} +1 -1
- package/lib/tweaker/index.cjs +10 -0
- package/{client-lib → lib}/tweaker/index.js +265 -276
- package/{client-lib → lib}/utils/index.js +1 -2
- package/lib/video/index.cjs +1 -0
- package/{client-lib → lib}/video/index.js +13 -17
- package/lib/window-resizer/index.cjs +1 -0
- package/lib/window-resizer/index.js +42 -0
- package/package.json +344 -379
- package/client-lib/Animation-BInSRYNr.cjs +0 -1
- package/client-lib/Composed-Fa7owymK.js +0 -35
- package/client-lib/Composed-Iihn8fT4.cjs +0 -1
- package/client-lib/Damped-Da3EnNN4.cjs +0 -1
- package/client-lib/Damped-yrNXlkDE.js +0 -57
- package/client-lib/Derived-CNbsNMn_.cjs +0 -1
- package/client-lib/Derived-rInkx3e4.js +0 -60
- package/client-lib/SourceManager-D6D2LVKf.cjs +0 -1
- package/client-lib/Store-Cr3VaD9G.cjs +0 -1
- package/client-lib/Store-Qr3SNOSf.js +0 -152
- package/client-lib/Tweened-CjgvoOwL.js +0 -48
- package/client-lib/Tweened-DksN-Rz6.cjs +0 -1
- package/client-lib/Viewport-BBYt1Ivy.cjs +0 -1
- package/client-lib/Viewport-Cgtq2I_K.js +0 -127
- package/client-lib/accordion/AccordionElement.d.ts +0 -30
- package/client-lib/accordion/index.cjs +0 -1
- package/client-lib/accordion/index.d.ts +0 -1
- package/client-lib/accordion/index.js +0 -176
- package/client-lib/animation/Animation.d.ts +0 -35
- package/client-lib/animation/Damped.d.ts +0 -19
- package/client-lib/animation/Tweened.d.ts +0 -15
- package/client-lib/animation/index.d.ts +0 -3
- package/client-lib/animation/index.js +0 -8
- package/client-lib/attribute/index.cjs +0 -1
- package/client-lib/attribute/index.d.ts +0 -15
- package/client-lib/canvas/index.cjs +0 -1
- package/client-lib/canvas/index.d.ts +0 -35
- package/client-lib/canvas/index.js +0 -119
- package/client-lib/checkbox/index.cjs +0 -1
- package/client-lib/checkbox/index.d.ts +0 -14
- package/client-lib/class-linked-status/index.cjs +0 -1
- package/client-lib/class-linked-status/index.d.ts +0 -12
- package/client-lib/class-linked-status/index.js +0 -49
- package/client-lib/connector/index.cjs +0 -1
- package/client-lib/connector/index.d.ts +0 -15
- package/client-lib/controls/AutoplayControls.d.ts +0 -17
- package/client-lib/controls/Controls.d.ts +0 -9
- package/client-lib/controls/DragControls.d.ts +0 -16
- package/client-lib/controls/KeyboardControls.d.ts +0 -14
- package/client-lib/controls/WheelControls.d.ts +0 -19
- package/client-lib/controls/index.cjs +0 -1
- package/client-lib/controls/index.d.ts +0 -5
- package/client-lib/controls/index.js +0 -213
- package/client-lib/counter/index.d.ts +0 -6
- package/client-lib/css-property/index.cjs +0 -1
- package/client-lib/css-property/index.d.ts +0 -17
- package/client-lib/css-property/index.js +0 -62
- package/client-lib/css-unit-parser/index.cjs +0 -8
- package/client-lib/css-unit-parser/index.d.ts +0 -6
- package/client-lib/css-unit-parser/index.js +0 -36
- package/client-lib/css-value-parser/index.d.ts +0 -6
- package/client-lib/dev/index.d.ts +0 -1
- package/client-lib/device/Device.d.ts +0 -19
- package/client-lib/device/Viewport.d.ts +0 -29
- package/client-lib/device/index.d.ts +0 -2
- package/client-lib/element-constructor/ElementConstructor.d.ts +0 -75
- package/client-lib/element-constructor/createStylesheet.d.ts +0 -3
- package/client-lib/element-constructor/createTheme.d.ts +0 -13
- package/client-lib/element-constructor/index.d.ts +0 -4
- package/client-lib/element-constructor/knownSvgTags.d.ts +0 -1
- package/client-lib/element-constructor/tags.d.ts +0 -119
- package/client-lib/element-resizer/index.cjs +0 -1
- package/client-lib/element-resizer/index.d.ts +0 -10
- package/client-lib/en3/core/En3Raycaster.d.ts +0 -21
- package/client-lib/en3/core/En3View.d.ts +0 -40
- package/client-lib/en3/core/en3.d.ts +0 -39
- package/client-lib/en3/core/en3Cache.d.ts +0 -4
- package/client-lib/en3/helpers/En3ComposerManager.d.ts +0 -5
- package/client-lib/en3/helpers/En3GridHelper.d.ts +0 -8
- package/client-lib/en3/helpers/En3Helpers.d.ts +0 -5
- package/client-lib/en3/helpers/En3Object3dManager.d.ts +0 -14
- package/client-lib/en3/helpers/En3OrbitControls.d.ts +0 -8
- package/client-lib/en3/helpers/En3ParametersManager.d.ts +0 -16
- package/client-lib/en3/helpers/En3TransformControls.d.ts +0 -8
- package/client-lib/en3/helpers/index.cjs +0 -1
- package/client-lib/en3/helpers/index.d.ts +0 -2
- package/client-lib/en3/index.d.ts +0 -3
- package/client-lib/en3/index.js +0 -6
- package/client-lib/en3/libs/MeshoptDecoder.d.ts +0 -1
- package/client-lib/en3/libs/index.d.ts +0 -1
- package/client-lib/en3/loaders/En3GLTFLoader.d.ts +0 -12
- package/client-lib/en3/loaders/En3TextureLoader.d.ts +0 -8
- package/client-lib/en3/loaders/index.cjs +0 -1
- package/client-lib/en3/loaders/index.d.ts +0 -3
- package/client-lib/en3/loaders/loaders.d.ts +0 -13
- package/client-lib/en3/misc/En3ModifiedMaterial.d.ts +0 -33
- package/client-lib/en3/misc/En3SourceManager.d.ts +0 -32
- package/client-lib/en3/misc/index.cjs +0 -10
- package/client-lib/en3/misc/index.d.ts +0 -2
- package/client-lib/en3/objects/En3Clip.d.ts +0 -15
- package/client-lib/en3/objects/En3ClipHelpers.d.ts +0 -6
- package/client-lib/en3/objects/En3GLTF.d.ts +0 -11
- package/client-lib/en3/objects/En3Image.d.ts +0 -8
- package/client-lib/en3/objects/En3ImageLike.d.ts +0 -25
- package/client-lib/en3/objects/En3SourceConsumer.d.ts +0 -5
- package/client-lib/en3/objects/En3Video.d.ts +0 -13
- package/client-lib/en3/objects/fluid/Advection.d.ts +0 -30
- package/client-lib/en3/objects/fluid/Divergence.d.ts +0 -23
- package/client-lib/en3/objects/fluid/En3Fluid.d.ts +0 -16
- package/client-lib/en3/objects/fluid/En3FluidElement.d.ts +0 -13
- package/client-lib/en3/objects/fluid/En3FluidPointer.d.ts +0 -13
- package/client-lib/en3/objects/fluid/ExternalForce.d.ts +0 -19
- package/client-lib/en3/objects/fluid/Poisson.d.ts +0 -24
- package/client-lib/en3/objects/fluid/Pressure.d.ts +0 -26
- package/client-lib/en3/objects/fluid/ShaderPass.d.ts +0 -24
- package/client-lib/en3/objects/fluid/Simulation.d.ts +0 -33
- package/client-lib/en3/objects/fluid/Viscous.d.ts +0 -30
- package/client-lib/en3/objects/fluid/index.d.ts +0 -3
- package/client-lib/en3/objects/index.d.ts +0 -7
- package/client-lib/en3/utils/coverTexture.d.ts +0 -7
- package/client-lib/en3/utils/dispose.d.ts +0 -3
- package/client-lib/en3/utils/getCurrentViewport.d.ts +0 -9
- package/client-lib/en3/utils/index.d.ts +0 -5
- package/client-lib/en3/utils/traverseMaterials.d.ts +0 -3
- package/client-lib/en3/utils/traverseMeshes.d.ts +0 -3
- package/client-lib/en3-CBBYE8rb.cjs +0 -8
- package/client-lib/image/index.d.ts +0 -11
- package/client-lib/index-Ctct2GyP.cjs +0 -9
- package/client-lib/intersector/index.cjs +0 -1
- package/client-lib/intersector/index.d.ts +0 -10
- package/client-lib/ladder/index.cjs +0 -1
- package/client-lib/ladder/index.d.ts +0 -24
- package/client-lib/layout-box/index.cjs +0 -1
- package/client-lib/layout-box/index.d.ts +0 -96
- package/client-lib/layout-box/index.js +0 -326
- package/client-lib/libs/path-data-polyfill.d.ts +0 -1
- package/client-lib/loading/index.cjs +0 -1
- package/client-lib/loading/index.d.ts +0 -39
- package/client-lib/media/index.cjs +0 -1
- package/client-lib/media/index.d.ts +0 -12
- package/client-lib/media/index.js +0 -30
- package/client-lib/modal/ModalElement.d.ts +0 -13
- package/client-lib/modal/index.cjs +0 -1
- package/client-lib/modal/index.d.ts +0 -1
- package/client-lib/morph/Link.d.ts +0 -7
- package/client-lib/morph/Morph.d.ts +0 -37
- package/client-lib/morph/index.cjs +0 -1
- package/client-lib/morph/index.d.ts +0 -1
- package/client-lib/morph/index.js +0 -235
- package/client-lib/notifier/index.cjs +0 -1
- package/client-lib/notifier/index.d.ts +0 -8
- package/client-lib/notifier/index.js +0 -40
- package/client-lib/order/index.d.ts +0 -22
- package/client-lib/pointer/Pointer.d.ts +0 -23
- package/client-lib/pointer/PointerElement.d.ts +0 -14
- package/client-lib/pointer/index.cjs +0 -1
- package/client-lib/pointer/index.d.ts +0 -2
- package/client-lib/popover/PopoverButtonElement.d.ts +0 -15
- package/client-lib/popover/PopoverElement.d.ts +0 -26
- package/client-lib/popover/index.cjs +0 -1
- package/client-lib/popover/index.d.ts +0 -2
- package/client-lib/router/Link.d.ts +0 -7
- package/client-lib/router/Route.d.ts +0 -21
- package/client-lib/router/Router.d.ts +0 -41
- package/client-lib/router/index.cjs +0 -1
- package/client-lib/router/index.d.ts +0 -2
- package/client-lib/scroll/ScrollBulletButtonsElement.d.ts +0 -12
- package/client-lib/scroll/ScrollButtonElement.d.ts +0 -6
- package/client-lib/scroll/ScrollElement.d.ts +0 -82
- package/client-lib/scroll/ScrollSection.d.ts +0 -23
- package/client-lib/scroll/ScrollSegmentElement.d.ts +0 -63
- package/client-lib/scroll/ScrollSetButtonElement.d.ts +0 -10
- package/client-lib/scroll/ScrollStepButtonElement.d.ts +0 -10
- package/client-lib/scroll/ScrollUserElement.d.ts +0 -7
- package/client-lib/scroll/ScrollbarElement.d.ts +0 -14
- package/client-lib/scroll/index.cjs +0 -1
- package/client-lib/scroll/index.d.ts +0 -6
- package/client-lib/scroll/index.js +0 -1154
- package/client-lib/scroll-entries/index.cjs +0 -1
- package/client-lib/scroll-entries/index.d.ts +0 -21
- package/client-lib/select/SelectElement.d.ts +0 -24
- package/client-lib/select/SelectHeadElement.d.ts +0 -13
- package/client-lib/select/SelectOptionElement.d.ts +0 -14
- package/client-lib/select/SelectUserElement.d.ts +0 -7
- package/client-lib/select/index.d.ts +0 -4
- package/client-lib/sequence/index.cjs +0 -1
- package/client-lib/sequence/index.d.ts +0 -21
- package/client-lib/slicer/DecoderElement.d.ts +0 -11
- package/client-lib/slicer/Letter.d.ts +0 -11
- package/client-lib/slicer/SlicerElement.d.ts +0 -21
- package/client-lib/slicer/Word.d.ts +0 -17
- package/client-lib/slicer/index.cjs +0 -11
- package/client-lib/slicer/index.d.ts +0 -4
- package/client-lib/source/SourceClass.d.ts +0 -11
- package/client-lib/source/SourceElement.d.ts +0 -25
- package/client-lib/source/SourceManager.d.ts +0 -14
- package/client-lib/source/SourceSet.d.ts +0 -9
- package/client-lib/source/index.cjs +0 -5
- package/client-lib/source/index.d.ts +0 -4
- package/client-lib/store/Cached.d.ts +0 -18
- package/client-lib/store/Composed.d.ts +0 -8
- package/client-lib/store/Derived.d.ts +0 -13
- package/client-lib/store/DerivedArray.d.ts +0 -13
- package/client-lib/store/Resource.d.ts +0 -12
- package/client-lib/store/Store.d.ts +0 -76
- package/client-lib/store/StoreRegistry.d.ts +0 -23
- package/client-lib/store/index.cjs +0 -1
- package/client-lib/store/index.d.ts +0 -7
- package/client-lib/store/index.js +0 -131
- package/client-lib/svg-path-data/index.cjs +0 -3
- package/client-lib/svg-path-data/index.d.ts +0 -15
- package/client-lib/svg-path-data/index.js +0 -493
- package/client-lib/tags-B0do5eeb.cjs +0 -1
- package/client-lib/tags-wG5k157g.js +0 -860
- package/client-lib/test/starting-style/index.d.ts +0 -1
- package/client-lib/theme/index.d.ts +0 -35
- package/client-lib/ticker/index.cjs +0 -1
- package/client-lib/ticker/index.d.ts +0 -22
- package/client-lib/ticker/index.js +0 -125
- package/client-lib/tweaker/TweakerBooleanManagerElement.d.ts +0 -11
- package/client-lib/tweaker/TweakerColorManagerElement.d.ts +0 -11
- package/client-lib/tweaker/TweakerElement.d.ts +0 -18
- package/client-lib/tweaker/TweakerFieldElement.d.ts +0 -21
- package/client-lib/tweaker/TweakerFolderElement.d.ts +0 -24
- package/client-lib/tweaker/TweakerLinkManagerElement.d.ts +0 -11
- package/client-lib/tweaker/TweakerNumberManagerElement.d.ts +0 -14
- package/client-lib/tweaker/TweakerSelectManagerElement.d.ts +0 -11
- package/client-lib/tweaker/TweakerStoreManagerElement.d.ts +0 -10
- package/client-lib/tweaker/TweakerStringManagerElement.d.ts +0 -11
- package/client-lib/tweaker/index.cjs +0 -10
- package/client-lib/tweaker/index.d.ts +0 -1
- package/client-lib/tweaker/tweakerManagerConstructors.d.ts +0 -6
- package/client-lib/tweaker/tweakerStorage.d.ts +0 -23
- package/client-lib/utils/array.d.ts +0 -2
- package/client-lib/utils/attributes.d.ts +0 -2
- package/client-lib/utils/browser.d.ts +0 -1
- package/client-lib/utils/bytes.d.ts +0 -1
- package/client-lib/utils/canvas.d.ts +0 -7
- package/client-lib/utils/collisions.d.ts +0 -4
- package/client-lib/utils/coordinates.d.ts +0 -14
- package/client-lib/utils/cssom.d.ts +0 -5
- package/client-lib/utils/decoding.d.ts +0 -2
- package/client-lib/utils/dom.d.ts +0 -5
- package/client-lib/utils/easings.d.ts +0 -17
- package/client-lib/utils/events.d.ts +0 -8
- package/client-lib/utils/file.d.ts +0 -1
- package/client-lib/utils/function.d.ts +0 -2
- package/client-lib/utils/gestures.d.ts +0 -1
- package/client-lib/utils/index.d.ts +0 -26
- package/client-lib/utils/layout.d.ts +0 -3
- package/client-lib/utils/math.d.ts +0 -12
- package/client-lib/utils/number.d.ts +0 -3
- package/client-lib/utils/object.d.ts +0 -9
- package/client-lib/utils/polyfills.d.ts +0 -1
- package/client-lib/utils/promises.d.ts +0 -1
- package/client-lib/utils/string.d.ts +0 -8
- package/client-lib/utils/style.d.ts +0 -2
- package/client-lib/utils/ts-shape.d.ts +0 -20
- package/client-lib/utils/ts-utility.d.ts +0 -26
- package/client-lib/utils/url.d.ts +0 -9
- package/client-lib/video/index.cjs +0 -1
- package/client-lib/video/index.d.ts +0 -22
- package/client-lib/window-resizer/index.cjs +0 -1
- package/client-lib/window-resizer/index.d.ts +0 -10
- package/client-lib/window-resizer/index.js +0 -46
- package/server-lib/optimizer/FFmpeg.d.ts +0 -10
- package/server-lib/optimizer/generateFavicon.d.ts +0 -4
- package/server-lib/optimizer/generateSequence.d.ts +0 -3
- package/server-lib/optimizer/generateSprite.d.ts +0 -4
- package/server-lib/optimizer/index.d.ts +0 -10
- package/server-lib/optimizer/index.js +0 -404
- package/server-lib/optimizer/inputFiles.d.ts +0 -26
- package/server-lib/optimizer/optimize.d.ts +0 -13
- package/server-lib/optimizer/optimizeImage.d.ts +0 -4
- package/server-lib/optimizer/optimizeVideo.d.ts +0 -3
- package/server-lib/optimizer/optimizer.d.ts +0 -5
- package/server-lib/optimizer/types.d.ts +0 -51
- package/server-lib/optimizer/utils.d.ts +0 -1
- package/server-lib/utils/buffer.d.ts +0 -1
- package/server-lib/utils/fs.d.ts +0 -11
- package/server-lib/utils/index.d.ts +0 -5
- package/server-lib/utils/index.js +0 -65
- package/server-lib/utils/math.d.ts +0 -1
- package/server-lib/utils/path.d.ts +0 -3
- package/server-lib/utils/types.d.ts +0 -8
- /package/{client-lib → lib}/attributes-69we3byR.js +0 -0
- /package/{client-lib → lib}/attributes-Bf2svn4j.cjs +0 -0
- /package/{client-lib → lib}/browser-0zX67oeU.js +0 -0
- /package/{client-lib → lib}/browser-CpzFX2xg.cjs +0 -0
- /package/{client-lib → lib}/canvas-CU5Xjahf.cjs +0 -0
- /package/{client-lib → lib}/canvas-DeZ0SLUJ.js +0 -0
- /package/{client-lib → lib}/coordinates-CgdGoSYs.js +0 -0
- /package/{client-lib → lib}/coordinates-D8Np3cPD.cjs +0 -0
- /package/{client-lib → lib}/createTheme-CHnsCgAr.js +0 -0
- /package/{client-lib → lib}/createTheme-Cfaw9UmV.cjs +0 -0
- /package/{client-lib → lib}/css-value-parser/index.cjs +0 -0
- /package/{client-lib → lib}/css-value-parser/index.js +0 -0
- /package/{client-lib → lib}/dom-JBOkFLTh.cjs +0 -0
- /package/{client-lib → lib}/dom-P5QbAASX.js +0 -0
- /package/{client-lib → lib}/easings-BKi40vHz.js +0 -0
- /package/{client-lib → lib}/easings-DsS5-Kqc.cjs +0 -0
- /package/{client-lib → lib}/en3/libs/index.cjs +0 -0
- /package/{client-lib → lib}/events-BGwqaxVW.cjs +0 -0
- /package/{client-lib → lib}/events-CJTUMSLU.js +0 -0
- /package/{client-lib → lib}/file-EevnUtRj.cjs +0 -0
- /package/{client-lib → lib}/file-lxi_oXJf.js +0 -0
- /package/{client-lib → lib}/function-C10DGppn.js +0 -0
- /package/{client-lib → lib}/function-MthRj-GJ.cjs +0 -0
- /package/{client-lib → lib}/gestures-D2Fdra_G.js +0 -0
- /package/{client-lib → lib}/gestures-DHLrn6Q8.cjs +0 -0
- /package/{client-lib → lib}/layout-8ryRAMGJ.cjs +0 -0
- /package/{client-lib → lib}/layout-HoBT_Da2.js +0 -0
- /package/{client-lib → lib}/math-BOBiC4TN.js +0 -0
- /package/{client-lib → lib}/math-GDWEqu7y.cjs +0 -0
- /package/{client-lib → lib}/object-CCiXnER2.cjs +0 -0
- /package/{client-lib → lib}/object-D6MVWB4l.js +0 -0
- /package/{client-lib → lib}/order/index.cjs +0 -0
- /package/{client-lib → lib}/order/index.js +0 -0
- /package/{client-lib → lib}/polyfills-CM4SCDTt.cjs +0 -0
- /package/{client-lib → lib}/polyfills-X6KXuHg-.js +0 -0
- /package/{client-lib → lib}/string-DhgS_iFl.cjs +0 -0
- /package/{client-lib → lib}/string-f0Dnk0L1.js +0 -0
- /package/{client-lib → lib}/style-At6aDoqG.cjs +0 -0
- /package/{client-lib → lib}/style-j2TwriJ_.js +0 -0
- /package/{client-lib → lib}/url-C3dWnJQg.cjs +0 -0
- /package/{client-lib → lib}/url-DMNfW7uN.js +0 -0
- /package/{client-lib → lib}/utils/index.cjs +0 -0
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
var B = (l, i, t) => {
|
|
2
|
-
if (!i.has(l))
|
|
3
|
-
throw TypeError("Cannot " + t);
|
|
4
|
-
};
|
|
5
|
-
var e = (l, i, t) => (B(l, i, "read from private field"), t ? t.call(l) : i.get(l)), s = (l, i, t) => {
|
|
6
|
-
if (i.has(l))
|
|
7
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
8
|
-
i instanceof WeakSet ? i.add(l) : i.set(l, t);
|
|
9
|
-
}, a = (l, i, t, h) => (B(l, i, "write to private field"), h ? h.call(l, t) : i.set(l, t), t);
|
|
10
|
-
var o = (l, i, t) => (B(l, i, "access private method"), t);
|
|
11
|
-
import { Attribute as P } from "../attribute/index.js";
|
|
12
|
-
import { i as q } from "../browser-0zX67oeU.js";
|
|
13
|
-
import { g as F } from "../dom-P5QbAASX.js";
|
|
14
|
-
import { d as G, a as J } from "../events-CJTUMSLU.js";
|
|
15
|
-
import { g as K } from "../style-j2TwriJ_.js";
|
|
16
|
-
var c, r, f, n, v, M, L, m, y, H, j, T, I, A, z, R, C, d, g, E, b, w, W, k;
|
|
17
|
-
class $ {
|
|
18
|
-
constructor(i, t) {
|
|
19
|
-
s(this, H);
|
|
20
|
-
s(this, T);
|
|
21
|
-
s(this, d);
|
|
22
|
-
s(this, E);
|
|
23
|
-
s(this, w);
|
|
24
|
-
s(this, c, null);
|
|
25
|
-
s(this, r, null);
|
|
26
|
-
s(this, f, null);
|
|
27
|
-
s(this, n, null);
|
|
28
|
-
s(this, v, null);
|
|
29
|
-
s(this, M, !1);
|
|
30
|
-
s(this, L, void 0);
|
|
31
|
-
s(this, m, !1);
|
|
32
|
-
s(this, y, []);
|
|
33
|
-
s(this, A, () => {
|
|
34
|
-
e(this, m) ? this.close() : this.open();
|
|
35
|
-
});
|
|
36
|
-
s(this, z, () => {
|
|
37
|
-
e(this, m) && (o(this, d, g).call(this, 0, !0), o(this, d, g).call(this, e(this, T, I)));
|
|
38
|
-
});
|
|
39
|
-
s(this, R, () => {
|
|
40
|
-
o(this, E, b).call(this, "size-change");
|
|
41
|
-
});
|
|
42
|
-
s(this, C, (i) => {
|
|
43
|
-
e(this, m) && (o(this, d, g).call(this, 0, !0), o(this, d, g).call(this, e(this, T, I)), e(this, y).forEach((t) => {
|
|
44
|
-
t.element.scroll({
|
|
45
|
-
left: e(this, c).axisAttribute.current === "x" ? t.scroll : 0,
|
|
46
|
-
top: e(this, c).axisAttribute.current === "y" ? t.scroll : 0
|
|
47
|
-
});
|
|
48
|
-
}));
|
|
49
|
-
});
|
|
50
|
-
s(this, k, () => {
|
|
51
|
-
const i = F(e(this, r));
|
|
52
|
-
a(this, y, i.map((t) => ({
|
|
53
|
-
element: t,
|
|
54
|
-
scroll: e(this, c).axisAttribute.current === "y" ? t.scrollTop : t.scrollLeft
|
|
55
|
-
})));
|
|
56
|
-
});
|
|
57
|
-
t.firstElementChild instanceof HTMLElement && t.lastElementChild instanceof HTMLElement ? (a(this, c, i), a(this, r, t), a(this, f, t.firstElementChild), a(this, n, t.lastElementChild), e(this, f).style.cursor = "default", e(this, n).style.overflow = "hidden", e(this, c).axisAttribute.current === "y" ? e(this, n).style.height = "0px" : e(this, n).style.width = "0px", a(this, v, new ResizeObserver(e(this, R))), addEventListener("resize", e(this, z)), e(this, f).addEventListener("click", e(this, A)), e(this, r).addEventListener(
|
|
58
|
-
"beforeSizeChange",
|
|
59
|
-
e(this, k)
|
|
60
|
-
), e(this, r).addEventListener(
|
|
61
|
-
"sizeChange",
|
|
62
|
-
e(this, C)
|
|
63
|
-
), e(this, r).hasAttribute("data-opened") && this.open({ skipTransition: !0 })) : i.removeItem(e(this, r));
|
|
64
|
-
}
|
|
65
|
-
get element() {
|
|
66
|
-
return e(this, r);
|
|
67
|
-
}
|
|
68
|
-
destroy() {
|
|
69
|
-
e(this, f) && (e(this, r).classList.remove("opened", "triggered"), e(this, f).style.cursor = "", o(this, d, g).call(this, void 0), e(this, v).disconnect(), removeEventListener("resize", e(this, z)), e(this, f).removeEventListener("click", e(this, A)), e(this, r).removeEventListener(
|
|
70
|
-
"beforeSizeChange",
|
|
71
|
-
e(this, k)
|
|
72
|
-
), e(this, r).removeEventListener(
|
|
73
|
-
"sizeChange",
|
|
74
|
-
e(this, C)
|
|
75
|
-
), clearTimeout(e(this, L)));
|
|
76
|
-
}
|
|
77
|
-
open(i) {
|
|
78
|
-
o(this, E, b).call(this, "before-toggle"), i != null && i.skipTransition && o(this, w, W).call(this), e(this, c).multipleAttribute.current || e(this, c).closeAll({ exclude: e(this, r) }), e(this, M) || e(this, v).observe(e(this, n)), a(this, m, !0), clearTimeout(e(this, L)), e(this, r).classList.add("triggered"), o(this, d, g).call(this, e(this, T, I)), setTimeout(() => {
|
|
79
|
-
e(this, r).classList.add("opened");
|
|
80
|
-
}, 0), o(this, E, b).call(this, "toggle");
|
|
81
|
-
}
|
|
82
|
-
close(i) {
|
|
83
|
-
o(this, E, b).call(this, "before-toggle"), i != null && i.skipTransition && o(this, w, W).call(this), a(this, m, !1), e(this, r).classList.remove("opened"), o(this, d, g).call(this, 0), a(this, L, setTimeout(() => {
|
|
84
|
-
e(this, r).classList.remove("triggered");
|
|
85
|
-
}, K(e(this, n)))), o(this, E, b).call(this, "toggle");
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
c = new WeakMap(), r = new WeakMap(), f = new WeakMap(), n = new WeakMap(), v = new WeakMap(), M = new WeakMap(), L = new WeakMap(), m = new WeakMap(), y = new WeakMap(), H = new WeakSet(), j = function() {
|
|
89
|
-
return e(this, r).parentElement || e(this, r).getRootNode();
|
|
90
|
-
}, T = new WeakSet(), I = function() {
|
|
91
|
-
return e(this, c).axisAttribute.current === "x" ? e(this, n).scrollWidth : e(this, n).scrollHeight;
|
|
92
|
-
}, A = new WeakMap(), z = new WeakMap(), R = new WeakMap(), C = new WeakMap(), d = new WeakSet(), g = function(i, t = !1) {
|
|
93
|
-
t && (e(this, n).style.transition = "all 0s", setTimeout(() => {
|
|
94
|
-
e(this, n).style.transition = "";
|
|
95
|
-
}));
|
|
96
|
-
const h = e(this, c).axisAttribute.current === "x" ? "width" : "height";
|
|
97
|
-
i != null ? e(this, n).style[h] = `${i}px` : e(this, n).style[h] = "";
|
|
98
|
-
}, E = new WeakSet(), b = function(i) {
|
|
99
|
-
i === "before-toggle" ? G(e(this, r)) : i === "toggle" ? e(this, r).dispatchEvent(
|
|
100
|
-
new CustomEvent("accordionItemToggle", {
|
|
101
|
-
bubbles: !0,
|
|
102
|
-
composed: !0,
|
|
103
|
-
detail: {
|
|
104
|
-
opened: e(this, m)
|
|
105
|
-
}
|
|
106
|
-
})
|
|
107
|
-
) : i === "size-change" && J(e(this, H, j));
|
|
108
|
-
}, w = new WeakSet(), W = function() {
|
|
109
|
-
e(this, n).style.transition = "all 0s", setTimeout(() => {
|
|
110
|
-
e(this, n).style.transition = "";
|
|
111
|
-
}, 50);
|
|
112
|
-
}, k = new WeakMap();
|
|
113
|
-
var O, N, u, p, S, D;
|
|
114
|
-
class Q extends HTMLElement {
|
|
115
|
-
constructor() {
|
|
116
|
-
super();
|
|
117
|
-
s(this, S);
|
|
118
|
-
s(this, O, new P(this, "axis", "y"));
|
|
119
|
-
s(this, N, new P(this, "multiple", !1));
|
|
120
|
-
s(this, u, []);
|
|
121
|
-
s(this, p, null);
|
|
122
|
-
q && a(this, p, new MutationObserver((t) => {
|
|
123
|
-
t.forEach((h) => {
|
|
124
|
-
h.removedNodes.forEach((x) => {
|
|
125
|
-
x instanceof HTMLElement && this.removeItem(x);
|
|
126
|
-
}), h.addedNodes.forEach((x) => {
|
|
127
|
-
x instanceof HTMLElement && this.createItem(x);
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
}));
|
|
131
|
-
}
|
|
132
|
-
get axisAttribute() {
|
|
133
|
-
return e(this, O);
|
|
134
|
-
}
|
|
135
|
-
get multipleAttribute() {
|
|
136
|
-
return e(this, N);
|
|
137
|
-
}
|
|
138
|
-
createItem(t) {
|
|
139
|
-
e(this, u).find((h) => h.element === t) || e(this, u).push(new $(this, t));
|
|
140
|
-
}
|
|
141
|
-
removeItem(t) {
|
|
142
|
-
a(this, u, e(this, u).filter((h) => {
|
|
143
|
-
if (h.element !== t)
|
|
144
|
-
return !0;
|
|
145
|
-
h.destroy();
|
|
146
|
-
}));
|
|
147
|
-
}
|
|
148
|
-
closeAll(t) {
|
|
149
|
-
e(this, u).forEach((h) => {
|
|
150
|
-
(t == null ? void 0 : t.exclude) !== h.element && h.close(t);
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
openAll(t) {
|
|
154
|
-
e(this, u).forEach((h) => {
|
|
155
|
-
(t == null ? void 0 : t.exclude) !== h.element && h.open(t);
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
connectedCallback() {
|
|
159
|
-
e(this, p).observe(e(this, S, D), {
|
|
160
|
-
childList: !0
|
|
161
|
-
}), a(this, u, [...e(this, S, D).children].map((t) => {
|
|
162
|
-
if (t instanceof HTMLElement)
|
|
163
|
-
return new $(this, t);
|
|
164
|
-
}).filter((t) => !!t));
|
|
165
|
-
}
|
|
166
|
-
disconnectedCallback() {
|
|
167
|
-
e(this, p).disconnect();
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
O = new WeakMap(), N = new WeakMap(), u = new WeakMap(), p = new WeakMap(), S = new WeakSet(), D = function() {
|
|
171
|
-
return this.shadowRoot ? this.shadowRoot : this;
|
|
172
|
-
};
|
|
173
|
-
customElements.get("e-accordion") || customElements.define("e-accordion", Q);
|
|
174
|
-
export {
|
|
175
|
-
Q as AccordionElement
|
|
176
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Store, StoreOptions } from '../store';
|
|
2
|
-
import { TickerAddOptions, TickerCallbackEntry } from '../ticker';
|
|
3
|
-
|
|
4
|
-
export interface AnimationOptions extends TickerAddOptions {
|
|
5
|
-
min?: number;
|
|
6
|
-
max?: number;
|
|
7
|
-
equalize?: boolean;
|
|
8
|
-
restart?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export type AnimationConstructorOptions<Options extends AnimationOptions> = StoreOptions<number, 'number'> & Options;
|
|
11
|
-
export declare abstract class Animation<Options extends AnimationOptions = AnimationOptions> extends Store<number, 'number'> {
|
|
12
|
-
#private;
|
|
13
|
-
constructor(initial?: number, options?: StoreOptions<number, 'number'>);
|
|
14
|
-
get direction(): number;
|
|
15
|
-
get target(): number;
|
|
16
|
-
get min(): number;
|
|
17
|
-
set min(value: number);
|
|
18
|
-
get max(): number;
|
|
19
|
-
set max(value: number);
|
|
20
|
-
get from(): number;
|
|
21
|
-
get isRunning(): Store<boolean, keyof import('../store').StoreManagers>;
|
|
22
|
-
get delta(): number;
|
|
23
|
-
get deltaProgress(): number;
|
|
24
|
-
get distance(): number;
|
|
25
|
-
get distanceProgress(): number;
|
|
26
|
-
set(value: number, options?: Options): void;
|
|
27
|
-
shift(value: number, options?: Options): void;
|
|
28
|
-
reset(): void;
|
|
29
|
-
close(): void;
|
|
30
|
-
listenAnimationFrame(): void;
|
|
31
|
-
unlistenAnimationFrame(): void;
|
|
32
|
-
updateOptions(options?: AnimationOptions): void;
|
|
33
|
-
protected start(): void;
|
|
34
|
-
protected abstract handleAnimationFrame(e: TickerCallbackEntry): void;
|
|
35
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { TickerCallbackEntry } from '../ticker';
|
|
2
|
-
import { Animation, AnimationConstructorOptions, AnimationOptions } from './Animation';
|
|
3
|
-
|
|
4
|
-
export interface DampedOptions extends AnimationOptions {
|
|
5
|
-
stiffness?: number;
|
|
6
|
-
damping?: number;
|
|
7
|
-
mass?: number;
|
|
8
|
-
}
|
|
9
|
-
export declare class Damped extends Animation<DampedOptions> {
|
|
10
|
-
#private;
|
|
11
|
-
damping: number;
|
|
12
|
-
stiffness: number;
|
|
13
|
-
mass: number;
|
|
14
|
-
constructor(initial?: number, options?: AnimationConstructorOptions<DampedOptions>);
|
|
15
|
-
get velocity(): number;
|
|
16
|
-
get speed(): number;
|
|
17
|
-
updateOptions(options?: DampedOptions): void;
|
|
18
|
-
protected handleAnimationFrame(e: TickerCallbackEntry): void;
|
|
19
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TickerCallbackEntry } from '../ticker';
|
|
2
|
-
import { EasingFunction } from '../utils';
|
|
3
|
-
import { Animation, AnimationConstructorOptions, AnimationOptions } from './Animation';
|
|
4
|
-
|
|
5
|
-
export interface TweenedOptions extends AnimationOptions {
|
|
6
|
-
easing?: EasingFunction;
|
|
7
|
-
duration?: number;
|
|
8
|
-
}
|
|
9
|
-
export declare class Tweened extends Animation<TweenedOptions> {
|
|
10
|
-
#private;
|
|
11
|
-
constructor(initial?: number, options?: AnimationConstructorOptions<TweenedOptions>);
|
|
12
|
-
updateOptions(options?: TweenedOptions): void;
|
|
13
|
-
protected handleAnimationFrame(e: TickerCallbackEntry): void;
|
|
14
|
-
protected start(): void;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var v=(t,s,e)=>{if(!s.has(t))throw TypeError("Cannot "+e)};var r=(t,s,e)=>(v(t,s,"read from private field"),e?e.call(t):s.get(t)),c=(t,s,e)=>{if(s.has(t))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(t):s.set(t,e)},h=(t,s,e,a)=>(v(t,s,"write to private field"),a?a.call(t,e):s.set(t,e),e);var d=(t,s,e)=>(v(t,s,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("../Store-Cr3VaD9G.cjs"),S=require("../attributes-Bf2svn4j.cjs"),q=require("../browser-CpzFX2xg.cjs"),p=require("../dom-JBOkFLTh.cjs");var i,u,n,b,o,m;class w extends A.Store{constructor(e,a,y,l){super(y,l);c(this,o);c(this,i,null);c(this,u,void 0);c(this,n,null);c(this,b,!1);h(this,u,a),q.isBrowser&&(h(this,i,p.getElement(e)),h(this,n,new MutationObserver(f=>{f.forEach(g=>{g.type==="attributes"&&g.attributeName===r(this,u)&&d(this,o,m).call(this)})})),l!=null&&l.sync&&this.subscribe(f=>{r(this,i).setAttribute(r(this,u),f.current.toString())}))}subscribe(e){return this.subscribers.size||this.observe(),super.subscribe(e)}unsubscribe(e){super.unsubscribe(e),this.subscribers.size||this.unobserve()}observe(){r(this,b)||(h(this,b,!0),r(this,n).observe(r(this,i),{attributes:!0}),d(this,o,m).call(this))}unobserve(){r(this,b)&&(h(this,b,!1),r(this,n).disconnect())}close(){super.close(),this.unobserve()}}i=new WeakMap,u=new WeakMap,n=new WeakMap,b=new WeakMap,o=new WeakSet,m=function(){const e=r(this,i).getAttribute(r(this,u));e!=null&&(this.current=S.parseAttributeValue(e))};exports.Attribute=w;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Store, StoreCallback, StoreOptions } from '../store';
|
|
2
|
-
import { ElementOrSelector } from '../utils';
|
|
3
|
-
|
|
4
|
-
export interface AttributeOptions<T> extends StoreOptions<T> {
|
|
5
|
-
sync?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare class Attribute<T extends string | number | boolean> extends Store<T> {
|
|
8
|
-
#private;
|
|
9
|
-
constructor(elementOrSelector: ElementOrSelector, name: string, defaultValue: T, options?: AttributeOptions<T>);
|
|
10
|
-
subscribe(callback: StoreCallback<T>): () => void;
|
|
11
|
-
unsubscribe(callback: StoreCallback<T>): void;
|
|
12
|
-
observe(): void;
|
|
13
|
-
unobserve(): void;
|
|
14
|
-
close(): void;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var S=(i,s,e)=>{if(!s.has(i))throw TypeError("Cannot "+e)};var t=(i,s,e)=>(S(i,s,"read from private field"),e?e.call(i):s.get(i)),h=(i,s,e)=>{if(s.has(i))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(i):s.set(i,e)},r=(i,s,e,n)=>(S(i,s,"write to private field"),n?n.call(i,e):s.set(i,e),e);var o=(i,s,e)=>(S(i,s,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("../css-property/index.cjs");require("../Store-Cr3VaD9G.cjs");const L=require("../math-GDWEqu7y.cjs"),y=require("../ticker/index.cjs"),k=require("../tags-B0do5eeb.cjs"),_=require("../createStylesheet-BqjaCUhm.cjs"),q=require("../element-resizer/index.cjs"),M=_.createStylesheet({":host, canvas":{display:"block",width:"100%",height:"100%"}});var a,c,d,l,u,m,v,b,g,f,w,z,x,p,R,C,E,F;class P extends HTMLElement{constructor(){super();h(this,g);h(this,w);h(this,R);h(this,E);h(this,a,new B.CSSProperty(this,"--fps",0));h(this,c,null);h(this,d,null);h(this,l,0);h(this,u,0);h(this,m,1);h(this,v,0);h(this,b,1);h(this,x,e=>{r(this,m,L.clamp(devicePixelRatio,1,2)),r(this,l,e.contentRect.width),r(this,u,e.contentRect.height),t(this,c).width=t(this,l)*this.pixelRatio,t(this,c).height=t(this,u)*this.pixelRatio,this.context.scale(this.pixelRatio,this.pixelRatio),o(this,E,F).call(this),o(this,R,C).call(this)});h(this,p,e=>{r(this,v,e.timestamp),r(this,b,e.timeBetweenFrames),o(this,R,C).call(this)});this.attachShadow({mode:"open"}).adoptedStyleSheets.push(M),k.element(this,{children:k.canvas({ref:n=>{r(this,c,n),r(this,d,n.getContext("2d"))}})}),t(this,a).subscribe(n=>{typeof n.previous!="undefined"&&n.current!==n.previous&&o(this,g,f).call(this)})}get fpsCSSProperty(){return t(this,a)}get canvasElement(){return t(this,c)}get context(){return t(this,d)}get pixelRatio(){return t(this,m)}get width(){return t(this,l)}get height(){return t(this,u)}get detail(){return{width:t(this,l),height:t(this,u),element:this,canvasElement:t(this,c),pixelRatio:t(this,m),context:t(this,d),timestamp:t(this,v),timeBetweenFrames:t(this,b)}}connectedCallback(){t(this,a).observe(),q.elementResizer.subscribe(this,t(this,x)),o(this,g,f).call(this)}disconnectedCallback(){t(this,a).unobserve(),q.elementResizer.unsubscribe(t(this,x)),o(this,w,z).call(this)}}a=new WeakMap,c=new WeakMap,d=new WeakMap,l=new WeakMap,u=new WeakMap,m=new WeakMap,v=new WeakMap,b=new WeakMap,g=new WeakSet,f=function(){y.ticker.unsubscribe(t(this,p)),this.hasAttribute("static")||y.ticker.subscribe(t(this,p),{culling:this,maxFPS:t(this,a).current})},w=new WeakSet,z=function(){y.ticker.unsubscribe(t(this,p))},x=new WeakMap,p=new WeakMap,R=new WeakSet,C=function(){this.dispatchEvent(new CustomEvent("canvasRender",{composed:!0,detail:this.detail}))},E=new WeakSet,F=function(){this.dispatchEvent(new CustomEvent("canvasResize",{composed:!0,detail:this.detail}))};customElements.get("e-canvas")||customElements.define("e-canvas",P);exports.CanvasElement=P;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { CSSProperty } from '../css-property';
|
|
2
|
-
|
|
3
|
-
export interface Canvas2DRenderDetail {
|
|
4
|
-
pixelRatio: number;
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
element: HTMLElement;
|
|
8
|
-
canvasElement: HTMLCanvasElement;
|
|
9
|
-
context: CanvasRenderingContext2D;
|
|
10
|
-
timestamp: number;
|
|
11
|
-
timeBetweenFrames: number;
|
|
12
|
-
}
|
|
13
|
-
export type CanvasRenderEvent = CustomEvent<Canvas2DRenderDetail>;
|
|
14
|
-
export declare class CanvasElement extends HTMLElement {
|
|
15
|
-
#private;
|
|
16
|
-
constructor();
|
|
17
|
-
get fpsCSSProperty(): CSSProperty<number, keyof import('../store').StoreManagers>;
|
|
18
|
-
get canvasElement(): HTMLCanvasElement;
|
|
19
|
-
get context(): CanvasRenderingContext2D;
|
|
20
|
-
get pixelRatio(): number;
|
|
21
|
-
get width(): number;
|
|
22
|
-
get height(): number;
|
|
23
|
-
get detail(): Canvas2DRenderDetail;
|
|
24
|
-
protected connectedCallback(): void;
|
|
25
|
-
protected disconnectedCallback(): void;
|
|
26
|
-
}
|
|
27
|
-
declare global {
|
|
28
|
-
interface HTMLElementTagNameMap {
|
|
29
|
-
'e-canvas': CanvasElement;
|
|
30
|
-
}
|
|
31
|
-
interface HTMLElementEventMap {
|
|
32
|
-
canvasRender: CanvasRenderEvent;
|
|
33
|
-
canvasResize: CanvasRenderEvent;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
var E = (i, s, e) => {
|
|
2
|
-
if (!s.has(i))
|
|
3
|
-
throw TypeError("Cannot " + e);
|
|
4
|
-
};
|
|
5
|
-
var t = (i, s, e) => (E(i, s, "read from private field"), e ? e.call(i) : s.get(i)), h = (i, s, e) => {
|
|
6
|
-
if (s.has(i))
|
|
7
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
8
|
-
s instanceof WeakSet ? s.add(i) : s.set(i, e);
|
|
9
|
-
}, r = (i, s, e, n) => (E(i, s, "write to private field"), n ? n.call(i, e) : s.set(i, e), e);
|
|
10
|
-
var c = (i, s, e) => (E(i, s, "access private method"), e);
|
|
11
|
-
import { CSSProperty as F } from "../css-property/index.js";
|
|
12
|
-
import "../Store-Qr3SNOSf.js";
|
|
13
|
-
import { c as B } from "../math-BOBiC4TN.js";
|
|
14
|
-
import { ticker as S } from "../ticker/index.js";
|
|
15
|
-
import { e as L, q } from "../tags-wG5k157g.js";
|
|
16
|
-
import { c as A } from "../createStylesheet-DNG2b5X4.js";
|
|
17
|
-
import { elementResizer as k } from "../element-resizer/index.js";
|
|
18
|
-
const H = A({
|
|
19
|
-
":host, canvas": {
|
|
20
|
-
display: "block",
|
|
21
|
-
width: "100%",
|
|
22
|
-
height: "100%"
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
var a, o, p, m, l, d, v, b, f, C, w, P, g, u, x, y, R, z;
|
|
26
|
-
class M extends HTMLElement {
|
|
27
|
-
constructor() {
|
|
28
|
-
super();
|
|
29
|
-
h(this, f);
|
|
30
|
-
h(this, w);
|
|
31
|
-
h(this, x);
|
|
32
|
-
h(this, R);
|
|
33
|
-
h(this, a, new F(this, "--fps", 0));
|
|
34
|
-
h(this, o, null);
|
|
35
|
-
h(this, p, null);
|
|
36
|
-
h(this, m, 0);
|
|
37
|
-
h(this, l, 0);
|
|
38
|
-
h(this, d, 1);
|
|
39
|
-
h(this, v, 0);
|
|
40
|
-
h(this, b, 1);
|
|
41
|
-
h(this, g, (e) => {
|
|
42
|
-
r(this, d, B(devicePixelRatio, 1, 2)), r(this, m, e.contentRect.width), r(this, l, e.contentRect.height), t(this, o).width = t(this, m) * this.pixelRatio, t(this, o).height = t(this, l) * this.pixelRatio, this.context.scale(this.pixelRatio, this.pixelRatio), c(this, R, z).call(this), c(this, x, y).call(this);
|
|
43
|
-
});
|
|
44
|
-
h(this, u, (e) => {
|
|
45
|
-
r(this, v, e.timestamp), r(this, b, e.timeBetweenFrames), c(this, x, y).call(this);
|
|
46
|
-
});
|
|
47
|
-
this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(H), L(this, {
|
|
48
|
-
children: q({
|
|
49
|
-
ref: (n) => {
|
|
50
|
-
r(this, o, n), r(this, p, n.getContext("2d"));
|
|
51
|
-
}
|
|
52
|
-
})
|
|
53
|
-
}), t(this, a).subscribe((n) => {
|
|
54
|
-
typeof n.previous != "undefined" && n.current !== n.previous && c(this, f, C).call(this);
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
get fpsCSSProperty() {
|
|
58
|
-
return t(this, a);
|
|
59
|
-
}
|
|
60
|
-
get canvasElement() {
|
|
61
|
-
return t(this, o);
|
|
62
|
-
}
|
|
63
|
-
get context() {
|
|
64
|
-
return t(this, p);
|
|
65
|
-
}
|
|
66
|
-
get pixelRatio() {
|
|
67
|
-
return t(this, d);
|
|
68
|
-
}
|
|
69
|
-
get width() {
|
|
70
|
-
return t(this, m);
|
|
71
|
-
}
|
|
72
|
-
get height() {
|
|
73
|
-
return t(this, l);
|
|
74
|
-
}
|
|
75
|
-
get detail() {
|
|
76
|
-
return {
|
|
77
|
-
width: t(this, m),
|
|
78
|
-
height: t(this, l),
|
|
79
|
-
element: this,
|
|
80
|
-
canvasElement: t(this, o),
|
|
81
|
-
pixelRatio: t(this, d),
|
|
82
|
-
context: t(this, p),
|
|
83
|
-
timestamp: t(this, v),
|
|
84
|
-
timeBetweenFrames: t(this, b)
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
connectedCallback() {
|
|
88
|
-
t(this, a).observe(), k.subscribe(this, t(this, g)), c(this, f, C).call(this);
|
|
89
|
-
}
|
|
90
|
-
disconnectedCallback() {
|
|
91
|
-
t(this, a).unobserve(), k.unsubscribe(t(this, g)), c(this, w, P).call(this);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
a = new WeakMap(), o = new WeakMap(), p = new WeakMap(), m = new WeakMap(), l = new WeakMap(), d = new WeakMap(), v = new WeakMap(), b = new WeakMap(), f = new WeakSet(), C = function() {
|
|
95
|
-
S.unsubscribe(t(this, u)), this.hasAttribute("static") || S.subscribe(t(this, u), {
|
|
96
|
-
culling: this,
|
|
97
|
-
maxFPS: t(this, a).current
|
|
98
|
-
});
|
|
99
|
-
}, w = new WeakSet(), P = function() {
|
|
100
|
-
S.unsubscribe(t(this, u));
|
|
101
|
-
}, g = new WeakMap(), u = new WeakMap(), x = new WeakSet(), y = function() {
|
|
102
|
-
this.dispatchEvent(
|
|
103
|
-
new CustomEvent("canvasRender", {
|
|
104
|
-
composed: !0,
|
|
105
|
-
detail: this.detail
|
|
106
|
-
})
|
|
107
|
-
);
|
|
108
|
-
}, R = new WeakSet(), z = function() {
|
|
109
|
-
this.dispatchEvent(
|
|
110
|
-
new CustomEvent("canvasResize", {
|
|
111
|
-
composed: !0,
|
|
112
|
-
detail: this.detail
|
|
113
|
-
})
|
|
114
|
-
);
|
|
115
|
-
};
|
|
116
|
-
customElements.get("e-canvas") || customElements.define("e-canvas", M);
|
|
117
|
-
export {
|
|
118
|
-
M as CanvasElement
|
|
119
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var p=(t,s,e)=>{if(!s.has(t))throw TypeError("Cannot "+e)};var a=(t,s,e)=>(p(t,s,"read from private field"),e?e.call(t):s.get(t)),d=(t,s,e)=>{if(s.has(t))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(t):s.set(t,e)},g=(t,s,e,i)=>(p(t,s,"write to private field"),i?i.call(t,e):s.set(t,e),e);var o=(t,s,e)=>(p(t,s,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../Store-Cr3VaD9G.cjs");require("../ticker/index.cjs");const c=require("../tags-B0do5eeb.cjs"),k=require("../createStylesheet-BqjaCUhm.cjs"),m=require("../theme/index.cjs"),f='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="m243.33 90.91l-128.41 128.4a16 16 0 0 1-22.63 0l-71.62-72a16 16 0 0 1 0-22.61l24-24a16 16 0 0 1 22.57-.06l36.64 35.27l.11.11l92.73-91.37a16 16 0 0 1 22.58 0l24 23.56a16 16 0 0 1 .03 22.7Z"/></svg>',b=k.createStylesheet({":host":{position:"relative",display:"inline-block",width:"30px",height:"30px",borderRadius:m.aptechkaTheme.borderRadiusSmall.var,overflow:"hidden"},"label, .fake":{display:"block"},"label, .fake, .default":{width:"100%",height:"100%"},".real":{position:"absolute",top:"0",left:"0",width:"0px",height:"0px",visibility:"hidden",margin:"0"},".default":{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:m.aptechkaTheme.colorMainAux.var},".default svg":{width:"60%",height:"60%",fill:m.aptechkaTheme.colorFont.var,opacity:0,transition:"var(--duration-short)"},":host(.checked) .default svg":{opacity:1}});var h,r,l,n;const v=class v extends HTMLElement{constructor(){super();d(this,l);d(this,h,null);d(this,r,void 0);this.attachShadow({mode:"open"}).adoptedStyleSheets.push(b),g(this,r,this.attachInternals()),c.element(this,{children:c.label({children:[c.span({class:"fake",children:c.slot({children:[c.span({class:"default",children:[f]})]})}),c.input({ref:i=>{g(this,h,i),i.required=this.hasAttribute("required"),i.value=this.getAttribute("value")||"",i.checked=this.hasAttribute("checked"),i.name=this.getAttribute("name")||"",o(this,l,n).call(this)},class:"real",type:"checkbox",onChange:()=>{o(this,l,n).call(this),this.dispatchEvent(new Event("change",{composed:!0}))}})]})})}get checked(){return a(this,h).checked}set checked(e){a(this,h).checked=e,o(this,l,n).call(this)}get value(){return a(this,h).value}set value(e){a(this,h).value=e,o(this,l,n).call(this)}};h=new WeakMap,r=new WeakMap,l=new WeakSet,n=function(){this.checked?a(this,r).setFormValue(this.value):a(this,r).setFormValue(null),this.classList.toggle("checked",this.checked)},v.formAssociated=!0;let u=v;customElements.get("e-checkbox")||customElements.define("e-checkbox",u);exports.CheckboxElement=u;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class CheckboxElement extends HTMLElement {
|
|
2
|
-
#private;
|
|
3
|
-
static formAssociated: boolean;
|
|
4
|
-
constructor();
|
|
5
|
-
get checked(): boolean;
|
|
6
|
-
set checked(state: boolean);
|
|
7
|
-
get value(): string;
|
|
8
|
-
set value(value: string);
|
|
9
|
-
}
|
|
10
|
-
declare global {
|
|
11
|
-
interface HTMLElementTagNameMap {
|
|
12
|
-
'e-checkbox': CheckboxElement;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var S=Object.defineProperty,m=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var a=(s,e,t)=>e in s?S(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,c=(s,e)=>{for(var t in e||(e={}))L.call(e,t)&&a(s,t,e[t]);if(u)for(var t of u(e))T.call(e,t)&&a(s,t,e[t]);return s},l=(s,e)=>m(s,f(e));var o=(s,e,t)=>{if(!e.has(s))throw TypeError("Cannot "+t)};var n=(s,e,t)=>(o(s,e,"read from private field"),t?t.call(s):e.get(s)),h=(s,e,t)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,t)},d=(s,e,t,r)=>(o(s,e,"write to private field"),r?r.call(s,t):e.set(s,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../Store-Cr3VaD9G.cjs"),b=require("../string-DhgS_iFl.cjs");var i;class p extends g.Store{constructor(t,r){super(r);h(this,i,void 0);d(this,i,t)}isTrue(t){return this.current[t]===!0}isFalse(t){return this.current[t]===!1}reset(){super.reset();for(const t in this.initial)this.set(t,this.initial[t])}set(t,r=!0){this.current=l(c({},this.current),{[t]:r}),r?n(this,i).classList.add(b.camelToKebab(t)):n(this,i).classList.remove(b.camelToKebab(t))}}i=new WeakMap;exports.ClassLinkedStatus=p;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Store } from '../store';
|
|
2
|
-
|
|
3
|
-
export declare class ClassLinkedStatus<T extends {
|
|
4
|
-
[key in string]: boolean;
|
|
5
|
-
}> extends Store<T> {
|
|
6
|
-
#private;
|
|
7
|
-
constructor(element: HTMLElement, value: T);
|
|
8
|
-
isTrue(key: keyof T): boolean;
|
|
9
|
-
isFalse(key: keyof T): boolean;
|
|
10
|
-
reset(): void;
|
|
11
|
-
set(key: keyof T, value?: boolean): void;
|
|
12
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
var p = Object.defineProperty, d = Object.defineProperties;
|
|
2
|
-
var L = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var a = Object.getOwnPropertySymbols;
|
|
4
|
-
var S = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var c = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, o = (e, t) => {
|
|
6
|
-
for (var s in t || (t = {}))
|
|
7
|
-
S.call(t, s) && c(e, s, t[s]);
|
|
8
|
-
if (a)
|
|
9
|
-
for (var s of a(t))
|
|
10
|
-
b.call(t, s) && c(e, s, t[s]);
|
|
11
|
-
return e;
|
|
12
|
-
}, u = (e, t) => d(e, L(t));
|
|
13
|
-
var h = (e, t, s) => {
|
|
14
|
-
if (!t.has(e))
|
|
15
|
-
throw TypeError("Cannot " + s);
|
|
16
|
-
};
|
|
17
|
-
var n = (e, t, s) => (h(e, t, "read from private field"), s ? s.call(e) : t.get(e)), l = (e, t, s) => {
|
|
18
|
-
if (t.has(e))
|
|
19
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
20
|
-
t instanceof WeakSet ? t.add(e) : t.set(e, s);
|
|
21
|
-
}, m = (e, t, s, r) => (h(e, t, "write to private field"), r ? r.call(e, s) : t.set(e, s), s);
|
|
22
|
-
import { S as x } from "../Store-Qr3SNOSf.js";
|
|
23
|
-
import { c as f } from "../string-f0Dnk0L1.js";
|
|
24
|
-
var i;
|
|
25
|
-
class K extends x {
|
|
26
|
-
constructor(s, r) {
|
|
27
|
-
super(r);
|
|
28
|
-
l(this, i, void 0);
|
|
29
|
-
m(this, i, s);
|
|
30
|
-
}
|
|
31
|
-
isTrue(s) {
|
|
32
|
-
return this.current[s] === !0;
|
|
33
|
-
}
|
|
34
|
-
isFalse(s) {
|
|
35
|
-
return this.current[s] === !1;
|
|
36
|
-
}
|
|
37
|
-
reset() {
|
|
38
|
-
super.reset();
|
|
39
|
-
for (const s in this.initial)
|
|
40
|
-
this.set(s, this.initial[s]);
|
|
41
|
-
}
|
|
42
|
-
set(s, r = !0) {
|
|
43
|
-
this.current = u(o({}, this.current), { [s]: r }), r ? n(this, i).classList.add(f(s)) : n(this, i).classList.remove(f(s));
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
i = new WeakMap();
|
|
47
|
-
export {
|
|
48
|
-
K as ClassLinkedStatus
|
|
49
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var f=(t,c,e)=>{if(!c.has(t))throw TypeError("Cannot "+e)};var a=(t,c,e)=>(f(t,c,"read from private field"),e?e.call(t):c.get(t)),r=(t,c,e)=>{if(c.has(t))throw TypeError("Cannot add the same private member more than once");c instanceof WeakSet?c.add(t):c.set(t,e)},d=(t,c,e,s)=>(f(t,c,"write to private field"),s?s.call(t,e):c.set(t,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("../order/index.cjs"),h=require("../ticker/index.cjs");var i,o,l;class u{constructor(){r(this,i,[]);r(this,o,void 0);r(this,l,c=>{var e,s,b;for(let C=a(this,i).length-1;C>=0;C--){const n=a(this,i)[C];n.node.isConnected&&!n.isConnected?((e=n.connectCallback)==null||e.call(n,n.node),n.isConnected=!0):!n.node.isConnected&&n.isConnected&&((s=n.disconnectCallback)==null||s.call(n,n.node),n.isConnected=!1,n.unsubscribeAfterDisconnect&&this.unsubscribe(n)),n.isConnected||(n.timer=Math.max(0,c.timeElapsedSinceSubscription-n.startTime),n.timer>n.maxWaitSec*1e3&&((b=n.disconnectCallback)==null||b.call(n,n.node,!0),this.unsubscribe(n)))}})}subscribe(c,e){const s=a(this,i).length;return a(this,i).push({node:c,connectCallback:e.connectCallback,disconnectCallback:e.disconnectCallback,isConnected:!1,maxWaitSec:typeof e.maxWaitSec=="number"?e.maxWaitSec:1/0,timer:0,startTime:performance.now(),unsubscribeAfterDisconnect:e.unsubscribeAfterDisconnect||!1}),s||h.ticker.subscribe(a(this,l),{order:k.TICK_ORDER.CONNECTOR}),()=>{this.unsubscribe(e)}}unsubscribe(c){a(this,i).forEach(e=>{e.connectCallback===c.connectCallback&&(e.connectCallback=void 0),e.disconnectCallback===c.disconnectCallback&&(e.disconnectCallback=void 0)}),d(this,i,a(this,i).filter(e=>e.connectCallback||e.disconnectCallback)),a(this,i).length||(h.ticker.unsubscribe(a(this,l)),d(this,o,void 0))}destroy(){clearInterval(a(this,o)),d(this,i,[])}}i=new WeakMap,o=new WeakMap,l=new WeakMap;const m=new u;exports.Connector=u;exports.connector=m;
|
|
@@ -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,17 +0,0 @@
|
|
|
1
|
-
import { TickerAddOptions } from '../ticker';
|
|
2
|
-
import { Controls } from './Controls';
|
|
3
|
-
|
|
4
|
-
export interface AutoplayControlsOptions extends TickerAddOptions {
|
|
5
|
-
speed?: number;
|
|
6
|
-
interval?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare class AutoplayControls extends Controls {
|
|
9
|
-
#private;
|
|
10
|
-
direction: number;
|
|
11
|
-
constructor(options?: AutoplayControlsOptions);
|
|
12
|
-
set interval(value: boolean);
|
|
13
|
-
set speed(value: number);
|
|
14
|
-
connect(): void;
|
|
15
|
-
disconnect(): void;
|
|
16
|
-
pauseAndContinue(duration: number): void;
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Notifier } from '../notifier';
|
|
2
|
-
|
|
3
|
-
export type ControlsCallback = (type: string, value: number) => void;
|
|
4
|
-
export declare abstract class Controls {
|
|
5
|
-
#private;
|
|
6
|
-
get changeEvent(): Notifier<ControlsCallback>;
|
|
7
|
-
abstract connect(): void;
|
|
8
|
-
abstract disconnect(): void;
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Axes2D } from '../utils';
|
|
2
|
-
import { Controls } from './Controls';
|
|
3
|
-
|
|
4
|
-
export interface DragControlsOptions {
|
|
5
|
-
element?: HTMLElement;
|
|
6
|
-
axis?: Axes2D;
|
|
7
|
-
swipe?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare class DragControls extends Controls {
|
|
10
|
-
#private;
|
|
11
|
-
axis: Axes2D;
|
|
12
|
-
swipe: boolean;
|
|
13
|
-
constructor(options?: DragControlsOptions);
|
|
14
|
-
connect(): void;
|
|
15
|
-
disconnect(): void;
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Controls } from './Controls';
|
|
2
|
-
|
|
3
|
-
export type KeyboardControlsDimension = 'height' | 'width';
|
|
4
|
-
export interface KeyboardControlsOptions {
|
|
5
|
-
element?: HTMLElement;
|
|
6
|
-
dimension?: KeyboardControlsDimension;
|
|
7
|
-
}
|
|
8
|
-
export declare class KeyboardControls extends Controls {
|
|
9
|
-
#private;
|
|
10
|
-
constructor(options?: KeyboardControlsOptions);
|
|
11
|
-
set dimension(value: KeyboardControlsDimension | undefined | null);
|
|
12
|
-
connect(): void;
|
|
13
|
-
disconnect(): void;
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Axes2D } from '../utils';
|
|
2
|
-
import { Controls } from './Controls';
|
|
3
|
-
|
|
4
|
-
export type WheelControlsAxis = Axes2D | 'max';
|
|
5
|
-
export interface WheelControlsOptions {
|
|
6
|
-
axis?: WheelControlsAxis;
|
|
7
|
-
speed?: number;
|
|
8
|
-
debounce?: boolean;
|
|
9
|
-
element?: HTMLElement;
|
|
10
|
-
}
|
|
11
|
-
export declare class WheelControls extends Controls {
|
|
12
|
-
#private;
|
|
13
|
-
axis: WheelControlsAxis;
|
|
14
|
-
speed: number;
|
|
15
|
-
debounce: boolean;
|
|
16
|
-
constructor(options?: WheelControlsOptions);
|
|
17
|
-
connect(): void;
|
|
18
|
-
disconnect(): void;
|
|
19
|
-
}
|