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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var W=t=>{throw TypeError(t)};var k=(t,s,o)=>s.has(t)||W("Cannot "+o);var i=(t,s,o)=>(k(t,s,"read from private field"),o?o.call(t):s.get(t)),n=(t,s,o)=>s.has(t)?W("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(t):s.set(t,o),e=(t,s,o,v)=>(k(t,s,"write to private field"),v?v.call(t,o):s.set(t,o),o);const z=require("./order/index.cjs"),A=require("./window-resizer/index.cjs"),D=require("./browser-CpzFX2xg.cjs"),q=require("detect-gpu"),I=require("./Store-npaZHvX4.cjs");var r,l,m,c,g,u,w,x,d;class M{constructor(){n(this,r);n(this,l);n(this,m);n(this,c);n(this,g);n(this,u);n(this,w);n(this,x);n(this,d);var s,o;if(e(this,r,"unknown"),e(this,l,"unknown"),e(this,m,0),e(this,c,null),e(this,g,!1),e(this,u,!1),e(this,w,!1),e(this,x,!1),e(this,d,!1),this.resize=()=>{e(this,g,/Mobi|Android/i.test(navigator.userAgent)),e(this,u,"ontouchstart"in window||navigator.maxTouchPoints>0),setTimeout(()=>{e(this,u,"ontouchstart"in window||navigator.maxTouchPoints>0)},0)},D.isBrowser){e(this,c,q.getGPUTier()),i(this,c).then(a=>{e(this,l,a.gpu||"unknown"),e(this,m,a.tier)}),this.resize(),A.windowResizer.subscribe(this.resize,z.RESIZE_ORDER.DEVICE);{const a=document.createElement("canvas"),P=a.getContext("webgl")||a.getContext("experimental-webgl");e(this,w,P&&P instanceof WebGLRenderingContext||!1)}{const a=document.createElement("canvas");a.getContext("2d")&&e(this,x,a.toDataURL("image/webp").indexOf("data:image/webp")==0)}const v=window.navigator.userAgent,E=((o=(s=window.navigator)==null?void 0:s.userAgentData)==null?void 0:o.platform)||window.navigator.platform,O=["Macintosh","MacIntel","MacPPC","Mac68K","macOS"],R=["Win32","Win64","Windows","WinCE"],T=["iPhone","iPad","iPod"];O.includes(E)?(e(this,r,"macOS"),e(this,d,!0)):T.includes(E)?(e(this,r,"iOS"),e(this,d,!0)):R.includes(E)?e(this,r,"Windows"):/Android/.test(v)?e(this,r,"Android"):/Linux/.test(E)?e(this,r,"Linux"):e(this,r,"unknown")}}get OS(){return i(this,r)}get gpu(){return i(this,l)}get gpuTier(){return i(this,m)}get gpuDetection(){return i(this,c)}get isMobile(){return i(this,g)}get isTouch(){return i(this,u)}get isWebgl(){return i(this,w)}get isWebp(){return i(this,x)}get isApple(){return i(this,d)}}r=new WeakMap,l=new WeakMap,m=new WeakMap,c=new WeakMap,g=new WeakMap,u=new WeakMap,w=new WeakMap,x=new WeakMap,d=new WeakMap;const L=new M;var S=(t=>(t.mobile="600px",t.tablet="1024px",t.notebook="1280px",t.desktop="1281px",t))(S||{}),C=(t=>(t["<=mobile"]="(max-width: 600px)",t[">=mobile"]="(min-width: 601px)",t["<=tablet"]="(max-width: 1024px)",t[">=tablet"]="(min-width: 1025px)",t["<=notebook"]="(max-width: 1280px)",t[">=notebook"]="(min-width: 1281px)",t["<=desktop"]="(max-width: 1280px)",t[">=desktop"]="(min-width: 1281px)",t))(C||{}),p,b,f,h;class _{constructor(){n(this,p);n(this,b);n(this,f);n(this,h);e(this,p,0),e(this,b,0),e(this,f,0),e(this,h,new I.Store(void 0)),this.resize=()=>{e(this,p,document.documentElement.clientWidth),e(this,b,innerHeight),e(this,f,devicePixelRatio),matchMedia("(max-width: 600px)").matches?i(this,h).current="mobile":matchMedia("(max-width: 1024px)").matches?i(this,h).current="tablet":matchMedia("(max-width: 1280px)").matches?i(this,h).current="notebook":matchMedia("(min-width: 1281px)").matches&&(i(this,h).current="desktop")},D.isBrowser&&(this.resize(),A.windowResizer.subscribe(this.resize,z.RESIZE_ORDER.DEVICE))}get width(){return i(this,p)}get height(){return i(this,b)}get type(){return i(this,h)}get pixelRatio(){return i(this,f)}}p=new WeakMap,b=new WeakMap,f=new WeakMap,h=new WeakMap;const G=new _;exports.ViewportBreakpoints=S;exports.ViewportMediaRules=C;exports.device=L;exports.viewport=G;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var O=l=>{throw TypeError(l)};var H=(l,i,t)=>i.has(l)||O("Cannot "+t);var e=(l,i,t)=>(H(l,i,"read from private field"),t?t.call(l):i.get(l)),h=(l,i,t)=>i.has(l)?O("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(l):i.set(l,t),a=(l,i,t,n)=>(H(l,i,"write to private field"),n?n.call(l,t):i.set(l,t),t),c=(l,i,t)=>(H(l,i,"access private method"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("../attribute/index.cjs"),D=require("../browser-CpzFX2xg.cjs"),_=require("../dom-JBOkFLTh.cjs"),B=require("../events-BGwqaxVW.cjs"),$=require("../style-At6aDoqG.cjs");var d,r,f,o,E,S,v,m,T,s,W,w,A,x,k,z,g,b,R,p;class P{constructor(i,t){h(this,s);h(this,d,null);h(this,r,null);h(this,f,null);h(this,o,null);h(this,E,null);h(this,S,!1);h(this,v);h(this,m,!1);h(this,T,[]);h(this,A,()=>{e(this,m)?this.close():this.open()});h(this,x,()=>{e(this,m)&&(c(this,s,g).call(this,0,!0),c(this,s,g).call(this,e(this,s,w)))});h(this,k,()=>{c(this,s,b).call(this,"size-change")});h(this,z,i=>{e(this,m)&&(c(this,s,g).call(this,0,!0),c(this,s,g).call(this,e(this,s,w)),e(this,T).forEach(t=>{t.element.scroll({left:e(this,d).axisAttribute.current==="x"?t.scroll:0,top:e(this,d).axisAttribute.current==="y"?t.scroll:0})}))});h(this,p,()=>{const i=_.getAllParentElements(e(this,r));a(this,T,i.map(t=>({element:t,scroll:e(this,d).axisAttribute.current==="y"?t.scrollTop:t.scrollLeft})))});t.firstElementChild instanceof HTMLElement&&t.lastElementChild instanceof HTMLElement?(a(this,d,i),a(this,r,t),a(this,f,t.firstElementChild),a(this,o,t.lastElementChild),e(this,f).style.cursor="default",e(this,o).style.overflow="hidden",e(this,d).axisAttribute.current==="y"?e(this,o).style.height="0px":e(this,o).style.width="0px",a(this,E,new ResizeObserver(e(this,k))),addEventListener("resize",e(this,x)),e(this,f).addEventListener("click",e(this,A)),e(this,r).addEventListener("beforeSizeChange",e(this,p)),e(this,r).addEventListener("sizeChange",e(this,z)),e(this,r).hasAttribute("data-opened")&&this.open({skipTransition:!0})):i.removeItem(e(this,r))}get element(){return e(this,r)}destroy(){e(this,f)&&(e(this,r).classList.remove("opened","triggered"),e(this,f).style.cursor="",c(this,s,g).call(this,void 0),e(this,E).disconnect(),removeEventListener("resize",e(this,x)),e(this,f).removeEventListener("click",e(this,A)),e(this,r).removeEventListener("beforeSizeChange",e(this,p)),e(this,r).removeEventListener("sizeChange",e(this,z)),clearTimeout(e(this,v)))}open(i){c(this,s,b).call(this,"before-toggle"),i!=null&&i.skipTransition&&c(this,s,R).call(this),e(this,d).multipleAttribute.current||e(this,d).closeAll({exclude:e(this,r)}),e(this,S)||e(this,E).observe(e(this,o)),a(this,m,!0),clearTimeout(e(this,v)),e(this,r).classList.add("triggered"),c(this,s,g).call(this,e(this,s,w)),setTimeout(()=>{e(this,r).classList.add("opened")},0),c(this,s,b).call(this,"toggle")}close(i){c(this,s,b).call(this,"before-toggle"),i!=null&&i.skipTransition&&c(this,s,R).call(this),a(this,m,!1),e(this,r).classList.remove("opened"),c(this,s,g).call(this,0),a(this,v,setTimeout(()=>{e(this,r).classList.remove("triggered")},$.getElementTransitionDurationMS(e(this,o)))),c(this,s,b).call(this,"toggle")}}d=new WeakMap,r=new WeakMap,f=new WeakMap,o=new WeakMap,E=new WeakMap,S=new WeakMap,v=new WeakMap,m=new WeakMap,T=new WeakMap,s=new WeakSet,W=function(){return e(this,r).parentElement||e(this,r).getRootNode()},w=function(){return e(this,d).axisAttribute.current==="x"?e(this,o).scrollWidth:e(this,o).scrollHeight},A=new WeakMap,x=new WeakMap,k=new WeakMap,z=new WeakMap,g=function(i,t=!1){t&&(e(this,o).style.transition="all 0s",setTimeout(()=>{e(this,o).style.transition=""}));const n=e(this,d).axisAttribute.current==="x"?"width":"height";i!=null?e(this,o).style[n]=`${i}px`:e(this,o).style[n]=""},b=function(i){i==="before-toggle"?B.dispatchBeforeSizeChangeEvent(e(this,r)):i==="toggle"?e(this,r).dispatchEvent(new CustomEvent("accordionItemToggle",{bubbles:!0,composed:!0,detail:{opened:e(this,m)}})):i==="size-change"&&B.dispatchSizeChangeEvent(e(this,s,W))},R=function(){e(this,o).style.transition="all 0s",setTimeout(()=>{e(this,o).style.transition=""},50)},p=new WeakMap;var M,I,u,L,C,q;class j extends HTMLElement{constructor(){super();h(this,C);h(this,M,new N.Attribute(this,"axis","y"));h(this,I,new N.Attribute(this,"multiple",!1));h(this,u,[]);h(this,L,null);D.isBrowser&&a(this,L,new MutationObserver(t=>{t.forEach(n=>{n.removedNodes.forEach(y=>{y instanceof HTMLElement&&this.removeItem(y)}),n.addedNodes.forEach(y=>{y instanceof HTMLElement&&this.createItem(y)})})}))}get axisAttribute(){return e(this,M)}get multipleAttribute(){return e(this,I)}createItem(t){e(this,u).find(n=>n.element===t)||e(this,u).push(new P(this,t))}removeItem(t){a(this,u,e(this,u).filter(n=>{if(n.element!==t)return!0;n.destroy()}))}closeAll(t){e(this,u).forEach(n=>{(t==null?void 0:t.exclude)!==n.element&&n.close(t)})}openAll(t){e(this,u).forEach(n=>{(t==null?void 0:t.exclude)!==n.element&&n.open(t)})}connectedCallback(){e(this,L).observe(e(this,C,q),{childList:!0}),a(this,u,[...e(this,C,q).children].map(t=>{if(t instanceof HTMLElement)return new P(this,t)}).filter(t=>!!t))}disconnectedCallback(){e(this,L).disconnect()}}M=new WeakMap,I=new WeakMap,u=new WeakMap,L=new WeakMap,C=new WeakSet,q=function(){return this.shadowRoot?this.shadowRoot:this};customElements.get("e-accordion")||customElements.define("e-accordion",j);exports.AccordionElement=j;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
var N = (l) => {
|
|
2
|
+
throw TypeError(l);
|
|
3
|
+
};
|
|
4
|
+
var H = (l, i, t) => i.has(l) || N("Cannot " + t);
|
|
5
|
+
var e = (l, i, t) => (H(l, i, "read from private field"), t ? t.call(l) : i.get(l)), h = (l, i, t) => i.has(l) ? N("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(l) : i.set(l, t), c = (l, i, t, n) => (H(l, i, "write to private field"), n ? n.call(l, t) : i.set(l, t), t), a = (l, i, t) => (H(l, i, "access private method"), t);
|
|
6
|
+
import { Attribute as B } from "../attribute/index.js";
|
|
7
|
+
import { i as P } from "../browser-0zX67oeU.js";
|
|
8
|
+
import { g as $ } from "../dom-P5QbAASX.js";
|
|
9
|
+
import { d as j, a as q } from "../events-CJTUMSLU.js";
|
|
10
|
+
import { g as F } from "../style-j2TwriJ_.js";
|
|
11
|
+
var d, r, f, o, b, k, v, m, p, s, D, w, x, y, S, A, g, E, R, z;
|
|
12
|
+
class W {
|
|
13
|
+
constructor(i, t) {
|
|
14
|
+
h(this, s);
|
|
15
|
+
h(this, d, null);
|
|
16
|
+
h(this, r, null);
|
|
17
|
+
h(this, f, null);
|
|
18
|
+
h(this, o, null);
|
|
19
|
+
h(this, b, null);
|
|
20
|
+
h(this, k, !1);
|
|
21
|
+
h(this, v);
|
|
22
|
+
h(this, m, !1);
|
|
23
|
+
h(this, p, []);
|
|
24
|
+
h(this, x, () => {
|
|
25
|
+
e(this, m) ? this.close() : this.open();
|
|
26
|
+
});
|
|
27
|
+
h(this, y, () => {
|
|
28
|
+
e(this, m) && (a(this, s, g).call(this, 0, !0), a(this, s, g).call(this, e(this, s, w)));
|
|
29
|
+
});
|
|
30
|
+
h(this, S, () => {
|
|
31
|
+
a(this, s, E).call(this, "size-change");
|
|
32
|
+
});
|
|
33
|
+
h(this, A, (i) => {
|
|
34
|
+
e(this, m) && (a(this, s, g).call(this, 0, !0), a(this, s, g).call(this, e(this, s, w)), e(this, p).forEach((t) => {
|
|
35
|
+
t.element.scroll({
|
|
36
|
+
left: e(this, d).axisAttribute.current === "x" ? t.scroll : 0,
|
|
37
|
+
top: e(this, d).axisAttribute.current === "y" ? t.scroll : 0
|
|
38
|
+
});
|
|
39
|
+
}));
|
|
40
|
+
});
|
|
41
|
+
h(this, z, () => {
|
|
42
|
+
const i = $(e(this, r));
|
|
43
|
+
c(this, p, i.map((t) => ({
|
|
44
|
+
element: t,
|
|
45
|
+
scroll: e(this, d).axisAttribute.current === "y" ? t.scrollTop : t.scrollLeft
|
|
46
|
+
})));
|
|
47
|
+
});
|
|
48
|
+
t.firstElementChild instanceof HTMLElement && t.lastElementChild instanceof HTMLElement ? (c(this, d, i), c(this, r, t), c(this, f, t.firstElementChild), c(this, o, t.lastElementChild), e(this, f).style.cursor = "default", e(this, o).style.overflow = "hidden", e(this, d).axisAttribute.current === "y" ? e(this, o).style.height = "0px" : e(this, o).style.width = "0px", c(this, b, new ResizeObserver(e(this, S))), addEventListener("resize", e(this, y)), e(this, f).addEventListener("click", e(this, x)), e(this, r).addEventListener(
|
|
49
|
+
"beforeSizeChange",
|
|
50
|
+
e(this, z)
|
|
51
|
+
), e(this, r).addEventListener(
|
|
52
|
+
"sizeChange",
|
|
53
|
+
e(this, A)
|
|
54
|
+
), e(this, r).hasAttribute("data-opened") && this.open({ skipTransition: !0 })) : i.removeItem(e(this, r));
|
|
55
|
+
}
|
|
56
|
+
get element() {
|
|
57
|
+
return e(this, r);
|
|
58
|
+
}
|
|
59
|
+
destroy() {
|
|
60
|
+
e(this, f) && (e(this, r).classList.remove("opened", "triggered"), e(this, f).style.cursor = "", a(this, s, g).call(this, void 0), e(this, b).disconnect(), removeEventListener("resize", e(this, y)), e(this, f).removeEventListener("click", e(this, x)), e(this, r).removeEventListener(
|
|
61
|
+
"beforeSizeChange",
|
|
62
|
+
e(this, z)
|
|
63
|
+
), e(this, r).removeEventListener(
|
|
64
|
+
"sizeChange",
|
|
65
|
+
e(this, A)
|
|
66
|
+
), clearTimeout(e(this, v)));
|
|
67
|
+
}
|
|
68
|
+
open(i) {
|
|
69
|
+
a(this, s, E).call(this, "before-toggle"), i != null && i.skipTransition && a(this, s, R).call(this), e(this, d).multipleAttribute.current || e(this, d).closeAll({ exclude: e(this, r) }), e(this, k) || e(this, b).observe(e(this, o)), c(this, m, !0), clearTimeout(e(this, v)), e(this, r).classList.add("triggered"), a(this, s, g).call(this, e(this, s, w)), setTimeout(() => {
|
|
70
|
+
e(this, r).classList.add("opened");
|
|
71
|
+
}, 0), a(this, s, E).call(this, "toggle");
|
|
72
|
+
}
|
|
73
|
+
close(i) {
|
|
74
|
+
a(this, s, E).call(this, "before-toggle"), i != null && i.skipTransition && a(this, s, R).call(this), c(this, m, !1), e(this, r).classList.remove("opened"), a(this, s, g).call(this, 0), c(this, v, setTimeout(() => {
|
|
75
|
+
e(this, r).classList.remove("triggered");
|
|
76
|
+
}, F(e(this, o)))), a(this, s, E).call(this, "toggle");
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
d = new WeakMap(), r = new WeakMap(), f = new WeakMap(), o = new WeakMap(), b = new WeakMap(), k = new WeakMap(), v = new WeakMap(), m = new WeakMap(), p = new WeakMap(), s = new WeakSet(), D = function() {
|
|
80
|
+
return e(this, r).parentElement || e(this, r).getRootNode();
|
|
81
|
+
}, w = function() {
|
|
82
|
+
return e(this, d).axisAttribute.current === "x" ? e(this, o).scrollWidth : e(this, o).scrollHeight;
|
|
83
|
+
}, x = new WeakMap(), y = new WeakMap(), S = new WeakMap(), A = new WeakMap(), g = function(i, t = !1) {
|
|
84
|
+
t && (e(this, o).style.transition = "all 0s", setTimeout(() => {
|
|
85
|
+
e(this, o).style.transition = "";
|
|
86
|
+
}));
|
|
87
|
+
const n = e(this, d).axisAttribute.current === "x" ? "width" : "height";
|
|
88
|
+
i != null ? e(this, o).style[n] = `${i}px` : e(this, o).style[n] = "";
|
|
89
|
+
}, E = function(i) {
|
|
90
|
+
i === "before-toggle" ? j(e(this, r)) : i === "toggle" ? e(this, r).dispatchEvent(
|
|
91
|
+
new CustomEvent("accordionItemToggle", {
|
|
92
|
+
bubbles: !0,
|
|
93
|
+
composed: !0,
|
|
94
|
+
detail: {
|
|
95
|
+
opened: e(this, m)
|
|
96
|
+
}
|
|
97
|
+
})
|
|
98
|
+
) : i === "size-change" && q(e(this, s, D));
|
|
99
|
+
}, R = function() {
|
|
100
|
+
e(this, o).style.transition = "all 0s", setTimeout(() => {
|
|
101
|
+
e(this, o).style.transition = "";
|
|
102
|
+
}, 50);
|
|
103
|
+
}, z = new WeakMap();
|
|
104
|
+
var I, M, u, L, C, O;
|
|
105
|
+
class G extends HTMLElement {
|
|
106
|
+
constructor() {
|
|
107
|
+
super();
|
|
108
|
+
h(this, C);
|
|
109
|
+
h(this, I, new B(this, "axis", "y"));
|
|
110
|
+
h(this, M, new B(this, "multiple", !1));
|
|
111
|
+
h(this, u, []);
|
|
112
|
+
h(this, L, null);
|
|
113
|
+
P && c(this, L, new MutationObserver((t) => {
|
|
114
|
+
t.forEach((n) => {
|
|
115
|
+
n.removedNodes.forEach((T) => {
|
|
116
|
+
T instanceof HTMLElement && this.removeItem(T);
|
|
117
|
+
}), n.addedNodes.forEach((T) => {
|
|
118
|
+
T instanceof HTMLElement && this.createItem(T);
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
}));
|
|
122
|
+
}
|
|
123
|
+
get axisAttribute() {
|
|
124
|
+
return e(this, I);
|
|
125
|
+
}
|
|
126
|
+
get multipleAttribute() {
|
|
127
|
+
return e(this, M);
|
|
128
|
+
}
|
|
129
|
+
createItem(t) {
|
|
130
|
+
e(this, u).find((n) => n.element === t) || e(this, u).push(new W(this, t));
|
|
131
|
+
}
|
|
132
|
+
removeItem(t) {
|
|
133
|
+
c(this, u, e(this, u).filter((n) => {
|
|
134
|
+
if (n.element !== t)
|
|
135
|
+
return !0;
|
|
136
|
+
n.destroy();
|
|
137
|
+
}));
|
|
138
|
+
}
|
|
139
|
+
closeAll(t) {
|
|
140
|
+
e(this, u).forEach((n) => {
|
|
141
|
+
(t == null ? void 0 : t.exclude) !== n.element && n.close(t);
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
openAll(t) {
|
|
145
|
+
e(this, u).forEach((n) => {
|
|
146
|
+
(t == null ? void 0 : t.exclude) !== n.element && n.open(t);
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
connectedCallback() {
|
|
150
|
+
e(this, L).observe(e(this, C, O), {
|
|
151
|
+
childList: !0
|
|
152
|
+
}), c(this, u, [...e(this, C, O).children].map((t) => {
|
|
153
|
+
if (t instanceof HTMLElement)
|
|
154
|
+
return new W(this, t);
|
|
155
|
+
}).filter((t) => !!t));
|
|
156
|
+
}
|
|
157
|
+
disconnectedCallback() {
|
|
158
|
+
e(this, L).disconnect();
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
I = new WeakMap(), M = new WeakMap(), u = new WeakMap(), L = new WeakMap(), C = new WeakSet(), O = function() {
|
|
162
|
+
return this.shadowRoot ? this.shadowRoot : this;
|
|
163
|
+
};
|
|
164
|
+
customElements.get("e-accordion") || customElements.define("e-accordion", G);
|
|
165
|
+
export {
|
|
166
|
+
G as AccordionElement
|
|
167
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Animation-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Animation-De9aUv3b.cjs"),n=require("../Damped-DYJ6Z0xo.cjs"),i=require("../Tweened-BkkD9s4n.cjs");exports.Animation=e.Animation;exports.Damped=n.Damped;exports.Tweened=i.Tweened;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var y=t=>{throw TypeError(t)};var v=(t,s,e)=>s.has(t)||y("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)=>s.has(t)?y("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),d=(t,s,e)=>(v(t,s,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../Store-npaZHvX4.cjs"),q=require("../attributes-Bf2svn4j.cjs"),p=require("../browser-CpzFX2xg.cjs"),w=require("../dom-JBOkFLTh.cjs");var i,u,n,b,o,m;class O extends S.Store{constructor(e,a,A,l){super(A,l);c(this,o);c(this,i,null);c(this,u);c(this,n,null);c(this,b,!1);h(this,u,a),p.isBrowser&&(h(this,i,w.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=q.parseAttributeValue(e))};exports.Attribute=O;
|
|
@@ -1,27 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
throw TypeError("Cannot " + s);
|
|
1
|
+
var A = (t) => {
|
|
2
|
+
throw TypeError(t);
|
|
4
3
|
};
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import { S as g } from "../Store-Qr3SNOSf.js";
|
|
12
|
-
import { p as y } from "../attributes-69we3byR.js";
|
|
13
|
-
import { i as S } from "../browser-0zX67oeU.js";
|
|
14
|
-
import { a as w } from "../dom-P5QbAASX.js";
|
|
4
|
+
var m = (t, e, s) => e.has(t) || A("Cannot " + s);
|
|
5
|
+
var r = (t, e, s) => (m(t, e, "read from private field"), s ? s.call(t) : e.get(t)), h = (t, e, s) => e.has(t) ? A("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), a = (t, e, s, o) => (m(t, e, "write to private field"), o ? o.call(t, s) : e.set(t, s), s), v = (t, e, s) => (m(t, e, "access private method"), s);
|
|
6
|
+
import { S as y } from "../Store-C46i0nvr.js";
|
|
7
|
+
import { p as S } from "../attributes-69we3byR.js";
|
|
8
|
+
import { i as w } from "../browser-0zX67oeU.js";
|
|
9
|
+
import { a as x } from "../dom-P5QbAASX.js";
|
|
15
10
|
var i, u, c, b, n, p;
|
|
16
|
-
class
|
|
17
|
-
constructor(s, o,
|
|
18
|
-
super(
|
|
11
|
+
class N extends y {
|
|
12
|
+
constructor(s, o, g, f) {
|
|
13
|
+
super(g, f);
|
|
19
14
|
h(this, n);
|
|
20
15
|
h(this, i, null);
|
|
21
|
-
h(this, u
|
|
16
|
+
h(this, u);
|
|
22
17
|
h(this, c, null);
|
|
23
18
|
h(this, b, !1);
|
|
24
|
-
a(this, u, o),
|
|
19
|
+
a(this, u, o), w && (a(this, i, x(s)), a(this, c, new MutationObserver((l) => {
|
|
25
20
|
l.forEach((d) => {
|
|
26
21
|
d.type === "attributes" && d.attributeName === r(this, u) && v(this, n, p).call(this);
|
|
27
22
|
});
|
|
@@ -49,8 +44,8 @@ class M extends g {
|
|
|
49
44
|
}
|
|
50
45
|
i = new WeakMap(), u = new WeakMap(), c = new WeakMap(), b = new WeakMap(), n = new WeakSet(), p = function() {
|
|
51
46
|
const s = r(this, i).getAttribute(r(this, u));
|
|
52
|
-
s != null && (this.current =
|
|
47
|
+
s != null && (this.current = S(s));
|
|
53
48
|
};
|
|
54
49
|
export {
|
|
55
|
-
|
|
50
|
+
N as Attribute
|
|
56
51
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var y=i=>{throw TypeError(i)};var R=(i,s,e)=>s.has(i)||y("Cannot "+e);var t=(i,s,e)=>(R(i,s,"read from private field"),e?e.call(i):s.get(i)),h=(i,s,e)=>s.has(i)?y("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(i):s.set(i,e),a=(i,s,e,r)=>(R(i,s,"write to private field"),r?r.call(i,e):s.set(i,e),e),l=(i,s,e)=>(R(i,s,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("../css-property/index.cjs");require("../Store-npaZHvX4.cjs");const F=require("../math-GDWEqu7y.cjs"),w=require("../ticker/index.cjs"),f=require("../tags-6_ETuR75.cjs"),B=require("../createStylesheet-Csfmh-MH.cjs"),C=require("../element-resizer/index.cjs"),L=B.createStylesheet({":host, canvas":{display:"block",width:"100%",height:"100%"}});var c,o,m,u,d,p,b,g,n,E,q,x,v,S,P;class k extends HTMLElement{constructor(){super();h(this,n);h(this,c,new z.CSSProperty(this,"--fps",0));h(this,o,null);h(this,m,null);h(this,u,0);h(this,d,0);h(this,p,1);h(this,b,0);h(this,g,1);h(this,x,e=>{a(this,p,F.clamp(devicePixelRatio,1,2)),a(this,u,e.contentRect.width),a(this,d,e.contentRect.height),t(this,o).width=t(this,u)*this.pixelRatio,t(this,o).height=t(this,d)*this.pixelRatio,this.context.scale(this.pixelRatio,this.pixelRatio),l(this,n,P).call(this),l(this,n,S).call(this)});h(this,v,e=>{a(this,b,e.timestamp),a(this,g,e.timeBetweenFrames),l(this,n,S).call(this)});this.attachShadow({mode:"open"}).adoptedStyleSheets.push(L),f.element(this,{children:f.canvas({ref:r=>{a(this,o,r),a(this,m,r.getContext("2d"))}})}),t(this,c).subscribe(r=>{typeof r.previous!="undefined"&&r.current!==r.previous&&l(this,n,E).call(this)})}get fpsCSSProperty(){return t(this,c)}get canvasElement(){return t(this,o)}get context(){return t(this,m)}get pixelRatio(){return t(this,p)}get width(){return t(this,u)}get height(){return t(this,d)}get detail(){return{width:t(this,u),height:t(this,d),element:this,canvasElement:t(this,o),pixelRatio:t(this,p),context:t(this,m),timestamp:t(this,b),timeBetweenFrames:t(this,g)}}connectedCallback(){t(this,c).observe(),C.elementResizer.subscribe(this,t(this,x)),l(this,n,E).call(this)}disconnectedCallback(){t(this,c).unobserve(),C.elementResizer.unsubscribe(t(this,x)),l(this,n,q).call(this)}}c=new WeakMap,o=new WeakMap,m=new WeakMap,u=new WeakMap,d=new WeakMap,p=new WeakMap,b=new WeakMap,g=new WeakMap,n=new WeakSet,E=function(){w.ticker.unsubscribe(t(this,v)),this.hasAttribute("static")||w.ticker.subscribe(t(this,v),{culling:this,maxFPS:t(this,c).current})},q=function(){w.ticker.unsubscribe(t(this,v))},x=new WeakMap,v=new WeakMap,S=function(){this.dispatchEvent(new CustomEvent("canvasRender",{composed:!0,detail:this.detail}))},P=function(){this.dispatchEvent(new CustomEvent("canvasResize",{composed:!0,detail:this.detail}))};customElements.get("e-canvas")||customElements.define("e-canvas",k);exports.CanvasElement=k;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
var S = (i) => {
|
|
2
|
+
throw TypeError(i);
|
|
3
|
+
};
|
|
4
|
+
var x = (i, s, e) => s.has(i) || S("Cannot " + e);
|
|
5
|
+
var t = (i, s, e) => (x(i, s, "read from private field"), e ? e.call(i) : s.get(i)), h = (i, s, e) => s.has(i) ? S("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(i) : s.set(i, e), a = (i, s, e, r) => (x(i, s, "write to private field"), r ? r.call(i, e) : s.set(i, e), e), m = (i, s, e) => (x(i, s, "access private method"), e);
|
|
6
|
+
import { CSSProperty as P } from "../css-property/index.js";
|
|
7
|
+
import "../Store-C46i0nvr.js";
|
|
8
|
+
import { c as z } from "../math-BOBiC4TN.js";
|
|
9
|
+
import { ticker as w } from "../ticker/index.js";
|
|
10
|
+
import { e as F, q as B } from "../tags-BL3kQp9o.js";
|
|
11
|
+
import { c as L } from "../createStylesheet-COAZH1Mw.js";
|
|
12
|
+
import { elementResizer as C } from "../element-resizer/index.js";
|
|
13
|
+
const q = L({
|
|
14
|
+
":host, canvas": {
|
|
15
|
+
display: "block",
|
|
16
|
+
width: "100%",
|
|
17
|
+
height: "100%"
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
var o, c, d, l, p, u, b, f, n, R, y, g, v, E, k;
|
|
21
|
+
class A extends HTMLElement {
|
|
22
|
+
constructor() {
|
|
23
|
+
super();
|
|
24
|
+
h(this, n);
|
|
25
|
+
h(this, o, new P(this, "--fps", 0));
|
|
26
|
+
h(this, c, null);
|
|
27
|
+
h(this, d, null);
|
|
28
|
+
h(this, l, 0);
|
|
29
|
+
h(this, p, 0);
|
|
30
|
+
h(this, u, 1);
|
|
31
|
+
h(this, b, 0);
|
|
32
|
+
h(this, f, 1);
|
|
33
|
+
h(this, g, (e) => {
|
|
34
|
+
a(this, u, z(devicePixelRatio, 1, 2)), a(this, l, e.contentRect.width), a(this, p, e.contentRect.height), t(this, c).width = t(this, l) * this.pixelRatio, t(this, c).height = t(this, p) * this.pixelRatio, this.context.scale(this.pixelRatio, this.pixelRatio), m(this, n, k).call(this), m(this, n, E).call(this);
|
|
35
|
+
});
|
|
36
|
+
h(this, v, (e) => {
|
|
37
|
+
a(this, b, e.timestamp), a(this, f, e.timeBetweenFrames), m(this, n, E).call(this);
|
|
38
|
+
});
|
|
39
|
+
this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(q), F(this, {
|
|
40
|
+
children: B({
|
|
41
|
+
ref: (r) => {
|
|
42
|
+
a(this, c, r), a(this, d, r.getContext("2d"));
|
|
43
|
+
}
|
|
44
|
+
})
|
|
45
|
+
}), t(this, o).subscribe((r) => {
|
|
46
|
+
typeof r.previous != "undefined" && r.current !== r.previous && m(this, n, R).call(this);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
get fpsCSSProperty() {
|
|
50
|
+
return t(this, o);
|
|
51
|
+
}
|
|
52
|
+
get canvasElement() {
|
|
53
|
+
return t(this, c);
|
|
54
|
+
}
|
|
55
|
+
get context() {
|
|
56
|
+
return t(this, d);
|
|
57
|
+
}
|
|
58
|
+
get pixelRatio() {
|
|
59
|
+
return t(this, u);
|
|
60
|
+
}
|
|
61
|
+
get width() {
|
|
62
|
+
return t(this, l);
|
|
63
|
+
}
|
|
64
|
+
get height() {
|
|
65
|
+
return t(this, p);
|
|
66
|
+
}
|
|
67
|
+
get detail() {
|
|
68
|
+
return {
|
|
69
|
+
width: t(this, l),
|
|
70
|
+
height: t(this, p),
|
|
71
|
+
element: this,
|
|
72
|
+
canvasElement: t(this, c),
|
|
73
|
+
pixelRatio: t(this, u),
|
|
74
|
+
context: t(this, d),
|
|
75
|
+
timestamp: t(this, b),
|
|
76
|
+
timeBetweenFrames: t(this, f)
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
connectedCallback() {
|
|
80
|
+
t(this, o).observe(), C.subscribe(this, t(this, g)), m(this, n, R).call(this);
|
|
81
|
+
}
|
|
82
|
+
disconnectedCallback() {
|
|
83
|
+
t(this, o).unobserve(), C.unsubscribe(t(this, g)), m(this, n, y).call(this);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
o = new WeakMap(), c = new WeakMap(), d = new WeakMap(), l = new WeakMap(), p = new WeakMap(), u = new WeakMap(), b = new WeakMap(), f = new WeakMap(), n = new WeakSet(), R = function() {
|
|
87
|
+
w.unsubscribe(t(this, v)), this.hasAttribute("static") || w.subscribe(t(this, v), {
|
|
88
|
+
culling: this,
|
|
89
|
+
maxFPS: t(this, o).current
|
|
90
|
+
});
|
|
91
|
+
}, y = function() {
|
|
92
|
+
w.unsubscribe(t(this, v));
|
|
93
|
+
}, g = new WeakMap(), v = new WeakMap(), E = function() {
|
|
94
|
+
this.dispatchEvent(
|
|
95
|
+
new CustomEvent("canvasRender", {
|
|
96
|
+
composed: !0,
|
|
97
|
+
detail: this.detail
|
|
98
|
+
})
|
|
99
|
+
);
|
|
100
|
+
}, k = function() {
|
|
101
|
+
this.dispatchEvent(
|
|
102
|
+
new CustomEvent("canvasResize", {
|
|
103
|
+
composed: !0,
|
|
104
|
+
detail: this.detail
|
|
105
|
+
})
|
|
106
|
+
);
|
|
107
|
+
};
|
|
108
|
+
customElements.get("e-canvas") || customElements.define("e-canvas", A);
|
|
109
|
+
export {
|
|
110
|
+
A as CanvasElement
|
|
111
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var k=e=>{throw TypeError(e)};var p=(e,s,t)=>s.has(e)||k("Cannot "+t);var a=(e,s,t)=>(p(e,s,"read from private field"),t?t.call(e):s.get(e)),d=(e,s,t)=>s.has(e)?k("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(e):s.set(e,t),g=(e,s,t,i)=>(p(e,s,"write to private field"),i?i.call(e,t):s.set(e,t),t),o=(e,s,t)=>(p(e,s,"access private method"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../Store-npaZHvX4.cjs");require("../ticker/index.cjs");const c=require("../tags-6_ETuR75.cjs"),f=require("../createStylesheet-Csfmh-MH.cjs"),m=require("../theme/index.cjs"),b='<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>',w=f.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);this.attachShadow({mode:"open"}).adoptedStyleSheets.push(w),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:[b]})]})}),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(t){a(this,h).checked=t,o(this,l,n).call(this)}get value(){return a(this,h).value}set value(t){a(this,h).value=t,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,19 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
throw TypeError("Cannot " + e);
|
|
1
|
+
var v = (e) => {
|
|
2
|
+
throw TypeError(e);
|
|
4
3
|
};
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
s instanceof WeakSet ? s.add(t) : s.set(t, e);
|
|
9
|
-
}, u = (t, s, e, i) => (d(t, s, "write to private field"), i ? i.call(t, e) : s.set(t, e), e);
|
|
10
|
-
var c = (t, s, e) => (d(t, s, "access private method"), e);
|
|
11
|
-
import "../Store-Qr3SNOSf.js";
|
|
4
|
+
var d = (e, s, t) => s.has(e) || v("Cannot " + t);
|
|
5
|
+
var h = (e, s, t) => (d(e, s, "read from private field"), t ? t.call(e) : s.get(e)), n = (e, s, t) => s.has(e) ? v("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, t), u = (e, s, t, i) => (d(e, s, "write to private field"), i ? i.call(e, t) : s.set(e, t), t), c = (e, s, t) => (d(e, s, "access private method"), t);
|
|
6
|
+
import "../Store-C46i0nvr.js";
|
|
12
7
|
import "../ticker/index.js";
|
|
13
|
-
import { e as
|
|
14
|
-
import { c as
|
|
8
|
+
import { e as k, a3 as b, aB as f, ay as w, a0 as y } from "../tags-BL3kQp9o.js";
|
|
9
|
+
import { c as x } from "../createStylesheet-COAZH1Mw.js";
|
|
15
10
|
import { aptechkaTheme as p } from "../theme/index.js";
|
|
16
|
-
const
|
|
11
|
+
const A = '<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>', S = x({
|
|
17
12
|
":host": {
|
|
18
13
|
position: "relative",
|
|
19
14
|
display: "inline-block",
|
|
@@ -61,22 +56,22 @@ const g = class g extends HTMLElement {
|
|
|
61
56
|
super();
|
|
62
57
|
n(this, l);
|
|
63
58
|
n(this, a, null);
|
|
64
|
-
n(this, o
|
|
65
|
-
this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(
|
|
66
|
-
children:
|
|
59
|
+
n(this, o);
|
|
60
|
+
this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(S), u(this, o, this.attachInternals()), k(this, {
|
|
61
|
+
children: b({
|
|
67
62
|
children: [
|
|
68
|
-
|
|
63
|
+
f({
|
|
69
64
|
class: "fake",
|
|
70
|
-
children:
|
|
65
|
+
children: w({
|
|
71
66
|
children: [
|
|
72
|
-
|
|
67
|
+
f({
|
|
73
68
|
class: "default",
|
|
74
|
-
children: [
|
|
69
|
+
children: [A]
|
|
75
70
|
})
|
|
76
71
|
]
|
|
77
72
|
})
|
|
78
73
|
}),
|
|
79
|
-
|
|
74
|
+
y({
|
|
80
75
|
ref: (i) => {
|
|
81
76
|
u(this, a, i), i.required = this.hasAttribute("required"), i.value = this.getAttribute("value") || "", i.checked = this.hasAttribute("checked"), i.name = this.getAttribute("name") || "", c(this, l, r).call(this);
|
|
82
77
|
},
|
|
@@ -97,14 +92,14 @@ const g = class g extends HTMLElement {
|
|
|
97
92
|
get checked() {
|
|
98
93
|
return h(this, a).checked;
|
|
99
94
|
}
|
|
100
|
-
set checked(
|
|
101
|
-
h(this, a).checked =
|
|
95
|
+
set checked(t) {
|
|
96
|
+
h(this, a).checked = t, c(this, l, r).call(this);
|
|
102
97
|
}
|
|
103
98
|
get value() {
|
|
104
99
|
return h(this, a).value;
|
|
105
100
|
}
|
|
106
|
-
set value(
|
|
107
|
-
h(this, a).value =
|
|
101
|
+
set value(t) {
|
|
102
|
+
h(this, a).value = t, c(this, l, r).call(this);
|
|
108
103
|
}
|
|
109
104
|
};
|
|
110
105
|
a = new WeakMap(), o = new WeakMap(), l = new WeakSet(), r = function() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var m=Object.defineProperty,f=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var c=e=>{throw TypeError(e)};var a=(e,s,t)=>s in e?m(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t,l=(e,s)=>{for(var t in s||(s={}))T.call(s,t)&&a(e,t,s[t]);if(u)for(var t of u(s))g.call(s,t)&&a(e,t,s[t]);return e},o=(e,s)=>f(e,L(s));var h=(e,s,t)=>s.has(e)||c("Cannot "+t);var n=(e,s,t)=>(h(e,s,"read from private field"),t?t.call(e):s.get(e)),d=(e,s,t)=>s.has(e)?c("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(e):s.set(e,t),b=(e,s,t,r)=>(h(e,s,"write to private field"),r?r.call(e,t):s.set(e,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../Store-npaZHvX4.cjs"),S=require("../string-DhgS_iFl.cjs");var i;class q extends p.Store{constructor(t,r){super(r);d(this,i);b(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=o(l({},this.current),{[t]:r}),r?n(this,i).classList.add(S.camelToKebab(t)):n(this,i).classList.remove(S.camelToKebab(t))}}i=new WeakMap;exports.ClassLinkedStatus=q;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var d = Object.defineProperty, L = Object.defineProperties;
|
|
2
|
+
var S = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var a = Object.getOwnPropertySymbols;
|
|
4
|
+
var b = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var o = (t) => {
|
|
6
|
+
throw TypeError(t);
|
|
7
|
+
};
|
|
8
|
+
var c = (t, e, s) => e in t ? d(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, u = (t, e) => {
|
|
9
|
+
for (var s in e || (e = {}))
|
|
10
|
+
b.call(e, s) && c(t, s, e[s]);
|
|
11
|
+
if (a)
|
|
12
|
+
for (var s of a(e))
|
|
13
|
+
x.call(e, s) && c(t, s, e[s]);
|
|
14
|
+
return t;
|
|
15
|
+
}, h = (t, e) => L(t, S(e));
|
|
16
|
+
var l = (t, e, s) => e.has(t) || o("Cannot " + s);
|
|
17
|
+
var n = (t, e, s) => (l(t, e, "read from private field"), s ? s.call(t) : e.get(t)), m = (t, e, s) => e.has(t) ? o("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), f = (t, e, s, r) => (l(t, e, "write to private field"), r ? r.call(t, s) : e.set(t, s), s);
|
|
18
|
+
import { S as T } from "../Store-C46i0nvr.js";
|
|
19
|
+
import { c as p } from "../string-f0Dnk0L1.js";
|
|
20
|
+
var i;
|
|
21
|
+
class g extends T {
|
|
22
|
+
constructor(s, r) {
|
|
23
|
+
super(r);
|
|
24
|
+
m(this, i);
|
|
25
|
+
f(this, i, s);
|
|
26
|
+
}
|
|
27
|
+
isTrue(s) {
|
|
28
|
+
return this.current[s] === !0;
|
|
29
|
+
}
|
|
30
|
+
isFalse(s) {
|
|
31
|
+
return this.current[s] === !1;
|
|
32
|
+
}
|
|
33
|
+
reset() {
|
|
34
|
+
super.reset();
|
|
35
|
+
for (const s in this.initial)
|
|
36
|
+
this.set(s, this.initial[s]);
|
|
37
|
+
}
|
|
38
|
+
set(s, r = !0) {
|
|
39
|
+
this.current = h(u({}, this.current), { [s]: r }), r ? n(this, i).classList.add(p(s)) : n(this, i).classList.remove(p(s));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
i = new WeakMap();
|
|
43
|
+
export {
|
|
44
|
+
g as ClassLinkedStatus
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var f=t=>{throw TypeError(t)};var h=(t,c,e)=>c.has(t)||f("Cannot "+e);var a=(t,c,e)=>(h(t,c,"read from private field"),e?e.call(t):c.get(t)),r=(t,c,e)=>c.has(t)?f("Cannot add the same private member more than once"):c instanceof WeakSet?c.add(t):c.set(t,e),d=(t,c,e,s)=>(h(t,c,"write to private field"),s?s.call(t,e):c.set(t,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../order/index.cjs"),u=require("../ticker/index.cjs");var i,o,l;class k{constructor(){r(this,i,[]);r(this,o);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||u.ticker.subscribe(a(this,l),{order:m.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||(u.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 x=new k;exports.Connector=k;exports.connector=x;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
var b = (t
|
|
2
|
-
|
|
3
|
-
throw TypeError("Cannot " + e);
|
|
1
|
+
var b = (t) => {
|
|
2
|
+
throw TypeError(t);
|
|
4
3
|
};
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}, d = (t, c, e, s) => (b(t, c, "write to private field"), s ? s.call(t, e) : c.set(t, e), e);
|
|
10
|
-
import { TICK_ORDER as m } from "../order/index.js";
|
|
11
|
-
import { ticker as h } from "../ticker/index.js";
|
|
4
|
+
var h = (t, c, e) => c.has(t) || b("Cannot " + e);
|
|
5
|
+
var a = (t, c, e) => (h(t, c, "read from private field"), e ? e.call(t) : c.get(t)), r = (t, c, e) => c.has(t) ? b("Cannot add the same private member more than once") : c instanceof WeakSet ? c.add(t) : c.set(t, e), d = (t, c, e, s) => (h(t, c, "write to private field"), s ? s.call(t, e) : c.set(t, e), e);
|
|
6
|
+
import { TICK_ORDER as k } from "../order/index.js";
|
|
7
|
+
import { ticker as m } from "../ticker/index.js";
|
|
12
8
|
var i, l, o;
|
|
13
|
-
class
|
|
9
|
+
class u {
|
|
14
10
|
constructor() {
|
|
15
11
|
r(this, i, []);
|
|
16
|
-
r(this, l
|
|
12
|
+
r(this, l);
|
|
17
13
|
r(this, o, (c) => {
|
|
18
14
|
var e, s, f;
|
|
19
15
|
for (let C = a(this, i).length - 1; C >= 0; C--) {
|
|
@@ -36,8 +32,8 @@ class k {
|
|
|
36
32
|
timer: 0,
|
|
37
33
|
startTime: performance.now(),
|
|
38
34
|
unsubscribeAfterDisconnect: e.unsubscribeAfterDisconnect || !1
|
|
39
|
-
}), s ||
|
|
40
|
-
order:
|
|
35
|
+
}), s || m.subscribe(a(this, o), {
|
|
36
|
+
order: k.CONNECTOR
|
|
41
37
|
}), () => {
|
|
42
38
|
this.unsubscribe(e);
|
|
43
39
|
};
|
|
@@ -47,15 +43,15 @@ class k {
|
|
|
47
43
|
e.connectCallback === c.connectCallback && (e.connectCallback = void 0), e.disconnectCallback === c.disconnectCallback && (e.disconnectCallback = void 0);
|
|
48
44
|
}), d(this, i, a(this, i).filter(
|
|
49
45
|
(e) => e.connectCallback || e.disconnectCallback
|
|
50
|
-
)), a(this, i).length || (
|
|
46
|
+
)), a(this, i).length || (m.unsubscribe(a(this, o)), d(this, l, void 0));
|
|
51
47
|
}
|
|
52
48
|
destroy() {
|
|
53
49
|
clearInterval(a(this, l)), d(this, i, []);
|
|
54
50
|
}
|
|
55
51
|
}
|
|
56
52
|
i = new WeakMap(), l = new WeakMap(), o = new WeakMap();
|
|
57
|
-
const
|
|
53
|
+
const D = new u();
|
|
58
54
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
u as Connector,
|
|
56
|
+
D as connector
|
|
61
57
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Q=h=>{throw TypeError(h)};var F=(h,n,e)=>n.has(h)||Q("Cannot "+e);var t=(h,n,e)=>(F(h,n,"read from private field"),e?e.call(h):n.get(h)),s=(h,n,e)=>n.has(h)?Q("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(h):n.set(h,e),i=(h,n,e,a)=>(F(h,n,"write to private field"),a?a.call(h,e):n.set(h,e),e),M=(h,n,e)=>(F(h,n,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("../notifier/index.cjs"),m=require("../browser-CpzFX2xg.cjs"),j=require("../dom-JBOkFLTh.cjs"),k=require("../ticker/index.cjs");require("../Store-npaZHvX4.cjs");const G=require("../easings-DsS5-Kqc.cjs"),J=require("../Tweened-BkkD9s4n.cjs"),Z=require("../gestures-DHLrn6Q8.cjs"),$=require("../polyfills-CM4SCDTt.cjs"),_=require("../order/index.cjs");var S;class K{constructor(){s(this,S,new V.Notifier)}get changeEvent(){return t(this,S)}}S=new WeakMap;var w,d,u,D;class p extends K{constructor(e){super();s(this,w,null);s(this,d,null);s(this,u,"offsetHeight");s(this,D,e=>{const a=e.shiftKey?-1:1;let r;e.code==="Space"?r=a*t(this,d)[t(this,u)]*.4:e.code==="ArrowLeft"?r=-1*t(this,d)[t(this,u)]*.2:e.code==="ArrowRight"?r=1*t(this,d)[t(this,u)]*.2:e.code==="ArrowUp"?r=-1*t(this,d)[t(this,u)]*.2:e.code==="ArrowDown"?r=1*t(this,d)[t(this,u)]*.2:e.code==="PageUp"?r=-1*t(this,d)[t(this,u)]:e.code==="PageDown"?r=1*t(this,d)[t(this,u)]:e.code==="Home"?r=0:e.code==="End"&&(r=t(this,u)==="offsetWidth"?t(this,d).scrollWidth:t(this,d).scrollHeight),r&&(e.stopPropagation(),this.changeEvent.notify("keyboard",r))});m.isBrowser&&(i(this,w,e!=null&&e.element&&j.getElement(e.element)||window),i(this,d,t(this,w)instanceof HTMLElement?t(this,w):document.documentElement),this.dimension=e==null?void 0:e.dimension)}set dimension(e){i(this,u,e==="width"?"offsetWidth":"offsetHeight")}connect(){m.isBrowser&&t(this,w).addEventListener("keydown",t(this,D))}disconnect(){m.isBrowser&&t(this,w).removeEventListener("keydown",t(this,D))}}w=new WeakMap,d=new WeakMap,u=new WeakMap,D=new WeakMap;var b,E,H,P,l,C,f,o,R,N,q,W,B;class ee extends K{constructor(e){super();s(this,o);s(this,b);s(this,E);s(this,H);s(this,P);s(this,l);s(this,C);s(this,f);s(this,q);s(this,W);s(this,B);this.direction=1,i(this,l,new J.Tweened(0,{easing:G.easeInQuad})),i(this,f,!1),i(this,q,a=>{t(this,l).current!==1&&this.changeEvent.notify("autoplay",a.timeBetweenFrames*t(this,b)*this.direction*(1-t(this,l).current))}),i(this,W,()=>{t(this,l).current!==1&&this.changeEvent.notify("autoplay",Math.sign(t(this,b))*this.direction*(1-t(this,l).current))}),i(this,B,()=>{t(this,E)&&(document.hidden?t(this,l).set(1,{equalize:!0}):t(this,l).set(0,{equalize:!0}))}),i(this,b,(e==null?void 0:e.speed)||1),i(this,E,(e==null?void 0:e.interval)||!1),i(this,H,e)}set interval(e){i(this,E,e),t(this,f)&&M(this,o,R).call(this)}set speed(e){i(this,b,e),t(this,f)&&M(this,o,R).call(this)}connect(){t(this,f)||(i(this,f,!0),M(this,o,R).call(this))}disconnect(){t(this,f)&&(i(this,f,!1),M(this,o,N).call(this))}pauseAndContinue(e){e&&!t(this,l).target&&(clearInterval(t(this,C)),t(this,l).set(1,{duration:Math.min(e,1e3)}),i(this,C,setTimeout(()=>{t(this,l).set(0,{duration:Math.min(e,5e3)})},e)))}}b=new WeakMap,E=new WeakMap,H=new WeakMap,P=new WeakMap,l=new WeakMap,C=new WeakMap,f=new WeakMap,o=new WeakSet,R=function(){M(this,o,N).call(this),t(this,E)?i(this,P,setInterval(t(this,W),Math.abs(t(this,b)))):k.ticker.subscribe(t(this,q),t(this,H)),document.addEventListener("visibilitychange",t(this,B))},N=function(){clearInterval(t(this,P)),k.ticker.unsubscribe(t(this,q)),clearInterval(t(this,C)),t(this,l).close(),document.removeEventListener("visibilitychange",t(this,B))},q=new WeakMap,W=new WeakMap,B=new WeakMap;var T,x,I,X;class te extends K{constructor(e){super();s(this,T,null);s(this,x);s(this,I);s(this,X,e=>{let a=0;if(e.preventDefault(),!(this.axis==="x"&&Math.abs(e.deltaY)>Math.abs(e.deltaX)*.5||this.axis==="y"&&Math.abs(e.deltaX)>Math.abs(e.deltaY)*.5))if(a=(this.axis==="max"?Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY:this.axis==="x"?e.deltaX:e.deltaY)*this.speed,e.stopPropagation(),this.debounce){const r=Date.now();if(r-t(this,I)>40&&(a=100*Math.sign(a)),i(this,I,r),Math.abs(a)<100||t(this,x))return;this.changeEvent.notify("wheel",a),i(this,x,setTimeout(()=>{i(this,x,void 0)},80))}else this.changeEvent.notify("wheel",a)});this.axis=(e==null?void 0:e.axis)||"y",this.speed=(e==null?void 0:e.speed)||1,this.debounce=(e==null?void 0:e.debounce)||!1,i(this,I,Date.now()),m.isBrowser&&i(this,T,e!=null&&e.element&&j.getElement(e.element)||window)}connect(){m.isBrowser&&t(this,T).addEventListener("wheel",t(this,X),{passive:!1})}disconnect(){m.isBrowser&&(t(this,T).removeEventListener("wheel",t(this,X)),clearTimeout(t(this,x)))}}T=new WeakMap,x=new WeakMap,I=new WeakMap,X=new WeakMap;var v,g,A,c,Y,L;const y=class y extends K{constructor(e){super();s(this,g,null);s(this,A,!1);s(this,c,0);s(this,Y,e=>{if(e.composedPath().find(r=>r instanceof HTMLElement&&r.hasAttribute("drag-dead-zone")))return;this.swipe||k.ticker.unsubscribe(t(this,L));let a=e;i(this,c,0),document.documentElement.classList.add("grabbing"),Z.setupDrag(r=>{if(t(this,A)||t(y,v)&&t(y,v)!==t(this,g))return;this.swipe&&i(this,A,!0);const z=a.x-r.x,O=a.y-r.y;this.axis==="x"?i(this,c,z):i(this,c,O),a=r,(this.axis==="x"&&Math.abs(z)>Math.abs(O)||this.axis==="y"&&Math.abs(O)>Math.abs(z))&&(i(y,v,t(this,g)),this.changeEvent.notify("drag",t(this,c)))},()=>{i(y,v,null),this.swipe||(i(this,c,t(this,c)*3),k.ticker.subscribe(t(this,L),{order:_.TICK_ORDER.SCROLL-1})),document.documentElement.classList.remove("grabbing"),i(this,A,!1)})});s(this,L,()=>{Math.floor(t(this,c))||k.ticker.unsubscribe(t(this,L)),i(this,c,t(this,c)*.95),i(this,c,$.preciseNumber(t(this,c),3)),this.changeEvent.notify("drag",t(this,c))});this.axis=(e==null?void 0:e.axis)||"y",this.swipe=(e==null?void 0:e.swipe)||!1,m.isBrowser&&i(this,g,e!=null&&e.element&&j.getElement(e.element)||document.documentElement)}connect(){m.isBrowser&&t(this,g).addEventListener("pointerdown",t(this,Y))}disconnect(){m.isBrowser&&(t(this,g).removeEventListener("pointerdown",t(this,Y)),k.ticker.unsubscribe(t(this,L)))}};v=new WeakMap,g=new WeakMap,A=new WeakMap,c=new WeakMap,Y=new WeakMap,L=new WeakMap,s(y,v,null);let U=y;exports.AutoplayControls=ee;exports.Controls=K;exports.DragControls=U;exports.KeyboardControls=p;exports.WheelControls=te;
|