cos-design 3.8.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +79 -6
- package/README.md +86 -50
- package/dist/core-CszjZZo9.cjs +1 -0
- package/dist/core-On5bp2VI.js +178 -0
- package/dist/core.cjs +1 -0
- package/dist/core.d.ts +1 -0
- package/dist/core.js +3 -0
- package/dist/elements.cjs +1 -0
- package/dist/elements.d.ts +1 -0
- package/dist/elements.js +3162 -0
- package/dist/engine-D2OC52jQ.cjs +246 -0
- package/dist/engine-Dh44m7ox.js +12755 -0
- package/dist/index.cjs +1 -249
- package/dist/index.js +2049 -13779
- package/dist/src/components/audioVisualizer/core/engine.d.ts +2 -0
- package/dist/src/components/audioVisualizer/core/index.d.ts +2 -0
- package/dist/src/components/audioVisualizer/core/types.d.ts +11 -0
- package/dist/src/components/audioVisualizer/element/index.d.ts +9 -0
- package/dist/src/components/audioVisualizer/index.d.ts +3 -9
- package/dist/src/components/audioVisualizer/react/index.d.ts +4 -0
- package/dist/src/components/aurora/core/engine.d.ts +2 -0
- package/dist/src/components/aurora/core/index.d.ts +2 -0
- package/dist/src/components/aurora/core/types.d.ts +11 -0
- package/dist/src/components/aurora/element/index.d.ts +13 -0
- package/dist/src/components/aurora/index.d.ts +3 -11
- package/dist/src/components/aurora/react/index.d.ts +4 -0
- package/dist/src/components/auroraVeil/core/engine.d.ts +2 -0
- package/dist/src/components/auroraVeil/core/index.d.ts +2 -0
- package/dist/src/components/auroraVeil/core/types.d.ts +15 -0
- package/dist/src/components/auroraVeil/element/index.d.ts +13 -0
- package/dist/src/components/auroraVeil/index.d.ts +3 -19
- package/dist/src/components/auroraVeil/react/index.d.ts +4 -0
- package/dist/src/components/barcodeScan/core/engine.d.ts +2 -0
- package/dist/src/components/barcodeScan/core/index.d.ts +2 -0
- package/dist/src/components/barcodeScan/core/types.d.ts +12 -0
- package/dist/src/components/barcodeScan/element/index.d.ts +14 -0
- package/dist/src/components/barcodeScan/index.d.ts +3 -11
- package/dist/src/components/barcodeScan/react/index.d.ts +6 -0
- package/dist/src/components/blurText/core/engine.d.ts +2 -0
- package/dist/src/components/blurText/core/index.d.ts +2 -0
- package/dist/src/components/blurText/core/types.d.ts +15 -0
- package/dist/src/components/blurText/element/index.d.ts +16 -0
- package/dist/src/components/blurText/index.d.ts +3 -21
- package/dist/src/components/blurText/react/index.d.ts +4 -0
- package/dist/src/components/bubbleField/core/engine.d.ts +2 -0
- package/dist/src/components/bubbleField/core/index.d.ts +2 -0
- package/dist/src/components/bubbleField/core/types.d.ts +14 -0
- package/dist/src/components/bubbleField/element/index.d.ts +9 -0
- package/dist/src/components/bubbleField/index.d.ts +3 -5
- package/dist/src/components/bubbleField/react/index.d.ts +4 -0
- package/dist/src/components/burnAway/core/engine.d.ts +2 -0
- package/dist/src/components/burnAway/core/index.d.ts +2 -0
- package/dist/src/components/burnAway/core/types.d.ts +13 -0
- package/dist/src/components/burnAway/element/index.d.ts +10 -0
- package/dist/src/components/burnAway/index.d.ts +3 -13
- package/dist/src/components/burnAway/react/index.d.ts +4 -0
- package/dist/src/components/canvasClock/core/engine.d.ts +2 -0
- package/dist/src/components/canvasClock/core/index.d.ts +2 -0
- package/dist/src/components/canvasClock/core/types.d.ts +9 -0
- package/dist/src/components/canvasClock/element/index.d.ts +9 -0
- package/dist/src/components/canvasClock/index.d.ts +3 -9
- package/dist/src/components/canvasClock/react/index.d.ts +4 -0
- package/dist/src/components/charge/core/engine.d.ts +2 -0
- package/dist/src/components/charge/core/index.d.ts +2 -0
- package/dist/src/components/charge/core/types.d.ts +14 -0
- package/dist/src/components/charge/element/index.d.ts +9 -0
- package/dist/src/components/charge/index.d.ts +3 -19
- package/dist/src/components/charge/react/index.d.ts +4 -0
- package/dist/src/components/circularText/core/engine.d.ts +2 -0
- package/dist/src/components/circularText/core/index.d.ts +2 -0
- package/dist/src/components/circularText/core/types.d.ts +13 -0
- package/dist/src/components/circularText/element/index.d.ts +13 -0
- package/dist/src/components/circularText/index.d.ts +3 -17
- package/dist/src/components/circularText/react/index.d.ts +4 -0
- package/dist/src/components/clickSpark/core/engine.d.ts +2 -0
- package/dist/src/components/clickSpark/core/index.d.ts +2 -0
- package/dist/src/components/clickSpark/core/types.d.ts +13 -0
- package/dist/src/components/clickSpark/element/index.d.ts +14 -0
- package/dist/src/components/clickSpark/index.d.ts +3 -10
- package/dist/src/components/clickSpark/react/index.d.ts +6 -0
- package/dist/src/components/confetti/core/engine.d.ts +2 -0
- package/dist/src/components/confetti/core/index.d.ts +2 -0
- package/dist/src/components/confetti/core/types.d.ts +19 -0
- package/dist/src/components/confetti/element/index.d.ts +10 -0
- package/dist/src/components/confetti/index.d.ts +3 -25
- package/dist/src/components/confetti/react/index.d.ts +5 -0
- package/dist/src/components/countUp/core/engine.d.ts +2 -0
- package/dist/src/components/countUp/core/index.d.ts +2 -0
- package/dist/src/components/countUp/core/types.d.ts +14 -0
- package/dist/src/components/countUp/element/index.d.ts +9 -0
- package/dist/src/components/countUp/index.d.ts +3 -19
- package/dist/src/components/countUp/react/index.d.ts +4 -0
- package/dist/src/components/countdown/core/engine.d.ts +2 -0
- package/dist/src/components/countdown/core/index.d.ts +2 -0
- package/dist/src/components/countdown/core/types.d.ts +14 -0
- package/dist/src/components/countdown/element/index.d.ts +13 -0
- package/dist/src/components/countdown/index.d.ts +3 -26
- package/dist/src/components/countdown/react/index.d.ts +4 -0
- package/dist/src/components/cursorTrail/core/engine.d.ts +2 -0
- package/dist/src/components/cursorTrail/core/index.d.ts +2 -0
- package/dist/src/components/cursorTrail/core/types.d.ts +12 -0
- package/dist/src/components/cursorTrail/element/index.d.ts +9 -0
- package/dist/src/components/cursorTrail/index.d.ts +3 -13
- package/dist/src/components/cursorTrail/react/index.d.ts +4 -0
- package/dist/src/components/curvedLoop/core/engine.d.ts +2 -0
- package/dist/src/components/curvedLoop/core/index.d.ts +2 -0
- package/dist/src/components/curvedLoop/core/types.d.ts +14 -0
- package/dist/src/components/curvedLoop/element/index.d.ts +13 -0
- package/dist/src/components/curvedLoop/index.d.ts +3 -19
- package/dist/src/components/curvedLoop/react/index.d.ts +4 -0
- package/dist/src/components/cyberGrid/core/engine.d.ts +2 -0
- package/dist/src/components/cyberGrid/core/index.d.ts +2 -0
- package/dist/src/components/cyberGrid/core/types.d.ts +12 -0
- package/dist/src/components/cyberGrid/element/index.d.ts +9 -0
- package/dist/src/components/cyberGrid/index.d.ts +3 -13
- package/dist/src/components/cyberGrid/react/index.d.ts +4 -0
- package/dist/src/components/dandelionField/core/engine.d.ts +2 -0
- package/dist/src/components/dandelionField/core/index.d.ts +2 -0
- package/dist/src/components/dandelionField/core/types.d.ts +15 -0
- package/dist/src/components/dandelionField/element/index.d.ts +9 -0
- package/dist/src/components/dandelionField/index.d.ts +3 -5
- package/dist/src/components/dandelionField/react/index.d.ts +4 -0
- package/dist/src/components/diceRoll/core/engine.d.ts +2 -0
- package/dist/src/components/diceRoll/core/index.d.ts +2 -0
- package/dist/src/components/diceRoll/core/types.d.ts +12 -0
- package/dist/src/components/diceRoll/element/index.d.ts +13 -0
- package/dist/src/components/diceRoll/index.d.ts +3 -15
- package/dist/src/components/diceRoll/react/index.d.ts +4 -0
- package/dist/src/components/dnaHelix/core/engine.d.ts +2 -0
- package/dist/src/components/dnaHelix/core/index.d.ts +2 -0
- package/dist/src/components/dnaHelix/core/types.d.ts +11 -0
- package/dist/src/components/dnaHelix/element/index.d.ts +9 -0
- package/dist/src/components/dnaHelix/index.d.ts +3 -9
- package/dist/src/components/dnaHelix/react/index.d.ts +4 -0
- package/dist/src/components/doublePendulum/core/engine.d.ts +2 -0
- package/dist/src/components/doublePendulum/core/index.d.ts +2 -0
- package/dist/src/components/doublePendulum/core/types.d.ts +12 -0
- package/dist/src/components/doublePendulum/element/index.d.ts +9 -0
- package/dist/src/components/doublePendulum/index.d.ts +3 -10
- package/dist/src/components/doublePendulum/react/index.d.ts +4 -0
- package/dist/src/components/electricArc/core/engine.d.ts +2 -0
- package/dist/src/components/electricArc/core/index.d.ts +2 -0
- package/dist/src/components/electricArc/core/types.d.ts +10 -0
- package/dist/src/components/electricArc/element/index.d.ts +9 -0
- package/dist/src/components/electricArc/index.d.ts +3 -8
- package/dist/src/components/electricArc/react/index.d.ts +4 -0
- package/dist/src/components/fireworks/core/engine.d.ts +2 -0
- package/dist/src/components/fireworks/core/index.d.ts +2 -0
- package/dist/src/components/fireworks/core/types.d.ts +23 -0
- package/dist/src/components/fireworks/element/index.d.ts +10 -0
- package/dist/src/components/fireworks/index.d.ts +3 -23
- package/dist/src/components/fireworks/react/index.d.ts +4 -0
- package/dist/src/components/flipCard/core/engine.d.ts +2 -0
- package/dist/src/components/flipCard/core/index.d.ts +2 -0
- package/dist/src/components/flipCard/core/types.d.ts +22 -0
- package/dist/src/components/flipCard/element/index.d.ts +11 -0
- package/dist/src/components/flipCard/index.d.ts +3 -29
- package/dist/src/components/flipCard/react/index.d.ts +5 -0
- package/dist/src/components/flipCounter/core/engine.d.ts +2 -0
- package/dist/src/components/flipCounter/core/index.d.ts +2 -0
- package/dist/src/components/flipCounter/core/types.d.ts +15 -0
- package/dist/src/components/flipCounter/element/index.d.ts +9 -0
- package/dist/src/components/flipCounter/index.d.ts +3 -13
- package/dist/src/components/flipCounter/react/index.d.ts +4 -0
- package/dist/src/components/fuzzyText/core/engine.d.ts +2 -0
- package/dist/src/components/fuzzyText/core/index.d.ts +2 -0
- package/dist/src/components/fuzzyText/core/types.d.ts +15 -0
- package/dist/src/components/fuzzyText/element/index.d.ts +9 -0
- package/dist/src/components/fuzzyText/index.d.ts +3 -21
- package/dist/src/components/fuzzyText/react/index.d.ts +4 -0
- package/dist/src/components/gameOfLife/core/engine.d.ts +2 -0
- package/dist/src/components/gameOfLife/core/index.d.ts +2 -0
- package/dist/src/components/gameOfLife/core/types.d.ts +21 -0
- package/dist/src/components/gameOfLife/element/index.d.ts +13 -0
- package/dist/src/components/gameOfLife/index.d.ts +3 -25
- package/dist/src/components/gameOfLife/react/index.d.ts +4 -0
- package/dist/src/components/glitchText/core/engine.d.ts +2 -0
- package/dist/src/components/glitchText/core/index.d.ts +2 -0
- package/dist/src/components/glitchText/core/types.d.ts +12 -0
- package/dist/src/components/glitchText/element/index.d.ts +9 -0
- package/dist/src/components/glitchText/index.d.ts +3 -15
- package/dist/src/components/glitchText/react/index.d.ts +4 -0
- package/dist/src/components/gradientFlow/core/engine.d.ts +2 -0
- package/dist/src/components/gradientFlow/core/index.d.ts +2 -0
- package/dist/src/components/gradientFlow/core/types.d.ts +10 -0
- package/dist/src/components/gradientFlow/element/index.d.ts +13 -0
- package/dist/src/components/gradientFlow/index.d.ts +3 -11
- package/dist/src/components/gradientFlow/react/index.d.ts +4 -0
- package/dist/src/components/gravityBalls/core/engine.d.ts +2 -0
- package/dist/src/components/gravityBalls/core/index.d.ts +2 -0
- package/dist/src/components/gravityBalls/core/types.d.ts +10 -0
- package/dist/src/components/gravityBalls/element/index.d.ts +9 -0
- package/dist/src/components/gravityBalls/index.d.ts +3 -8
- package/dist/src/components/gravityBalls/react/index.d.ts +4 -0
- package/dist/src/components/holographicCard/core/engine.d.ts +2 -0
- package/dist/src/components/holographicCard/core/index.d.ts +2 -0
- package/dist/src/components/holographicCard/core/types.d.ts +10 -0
- package/dist/src/components/holographicCard/element/index.d.ts +9 -0
- package/dist/src/components/holographicCard/index.d.ts +3 -8
- package/dist/src/components/holographicCard/react/index.d.ts +4 -0
- package/dist/src/components/index.d.ts +7 -7
- package/dist/src/components/inkBloom/core/engine.d.ts +6 -0
- package/dist/src/components/inkBloom/core/index.d.ts +2 -0
- package/dist/src/components/inkBloom/core/types.d.ts +14 -0
- package/dist/src/components/inkBloom/element/index.d.ts +9 -0
- package/dist/src/components/inkBloom/index.d.ts +3 -21
- package/dist/src/components/inkBloom/react/index.d.ts +4 -0
- package/dist/src/components/lavaBubble/core/engine.d.ts +2 -0
- package/dist/src/components/lavaBubble/core/index.d.ts +2 -0
- package/dist/src/components/lavaBubble/core/types.d.ts +16 -0
- package/dist/src/components/lavaBubble/element/index.d.ts +9 -0
- package/dist/src/components/lavaBubble/index.d.ts +3 -24
- package/dist/src/components/lavaBubble/react/index.d.ts +4 -0
- package/dist/src/components/liquidGlass/core/engine.d.ts +2 -0
- package/dist/src/components/liquidGlass/core/index.d.ts +2 -0
- package/dist/src/components/liquidGlass/core/types.d.ts +12 -0
- package/dist/src/components/liquidGlass/element/index.d.ts +14 -0
- package/dist/src/components/liquidGlass/index.d.ts +3 -10
- package/dist/src/components/liquidGlass/react/index.d.ts +6 -0
- package/dist/src/components/liquidProgress/core/engine.d.ts +2 -0
- package/dist/src/components/liquidProgress/core/index.d.ts +2 -0
- package/dist/src/components/liquidProgress/core/types.d.ts +11 -0
- package/dist/src/components/liquidProgress/element/index.d.ts +9 -0
- package/dist/src/components/liquidProgress/index.d.ts +3 -9
- package/dist/src/components/liquidProgress/react/index.d.ts +4 -0
- package/dist/src/components/lorenzAttractor/core/engine.d.ts +2 -0
- package/dist/src/components/lorenzAttractor/core/index.d.ts +2 -0
- package/dist/src/components/lorenzAttractor/core/types.d.ts +12 -0
- package/dist/src/components/lorenzAttractor/element/index.d.ts +9 -0
- package/dist/src/components/lorenzAttractor/index.d.ts +3 -10
- package/dist/src/components/lorenzAttractor/react/index.d.ts +4 -0
- package/dist/src/components/magneticButton/core/engine.d.ts +2 -0
- package/dist/src/components/magneticButton/core/index.d.ts +2 -0
- package/dist/src/components/magneticButton/core/types.d.ts +12 -0
- package/dist/src/components/magneticButton/element/index.d.ts +14 -0
- package/dist/src/components/magneticButton/index.d.ts +3 -10
- package/dist/src/components/magneticButton/react/index.d.ts +6 -0
- package/dist/src/components/matrixRain/core/engine.d.ts +2 -0
- package/dist/src/components/matrixRain/core/index.d.ts +2 -0
- package/dist/src/components/matrixRain/core/types.d.ts +15 -0
- package/dist/src/components/matrixRain/element/index.d.ts +9 -0
- package/dist/src/components/matrixRain/index.d.ts +3 -19
- package/dist/src/components/matrixRain/react/index.d.ts +4 -0
- package/dist/src/components/mazeGenerator/core/engine.d.ts +2 -0
- package/dist/src/components/mazeGenerator/core/index.d.ts +2 -0
- package/dist/src/components/mazeGenerator/core/types.d.ts +11 -0
- package/dist/src/components/mazeGenerator/element/index.d.ts +9 -0
- package/dist/src/components/mazeGenerator/index.d.ts +3 -9
- package/dist/src/components/mazeGenerator/react/index.d.ts +4 -0
- package/dist/src/components/metaballPool/core/engine.d.ts +2 -0
- package/dist/src/components/metaballPool/core/index.d.ts +2 -0
- package/dist/src/components/metaballPool/core/types.d.ts +11 -0
- package/dist/src/components/metaballPool/element/index.d.ts +9 -0
- package/dist/src/components/metaballPool/index.d.ts +3 -9
- package/dist/src/components/metaballPool/react/index.d.ts +4 -0
- package/dist/src/components/meteorRain/core/engine.d.ts +2 -0
- package/dist/src/components/meteorRain/core/index.d.ts +2 -0
- package/dist/src/components/meteorRain/core/types.d.ts +11 -0
- package/dist/src/components/meteorRain/element/index.d.ts +9 -0
- package/dist/src/components/meteorRain/index.d.ts +3 -11
- package/dist/src/components/meteorRain/react/index.d.ts +4 -0
- package/dist/src/components/neonText/core/engine.d.ts +2 -0
- package/dist/src/components/neonText/core/index.d.ts +2 -0
- package/dist/src/components/neonText/core/types.d.ts +11 -0
- package/dist/src/components/neonText/element/index.d.ts +9 -0
- package/dist/src/components/neonText/index.d.ts +3 -13
- package/dist/src/components/neonText/react/index.d.ts +4 -0
- package/dist/src/components/networkGraph/core/engine.d.ts +2 -0
- package/dist/src/components/networkGraph/core/index.d.ts +2 -0
- package/dist/src/components/networkGraph/core/types.d.ts +23 -0
- package/dist/src/components/networkGraph/element/index.d.ts +16 -0
- package/dist/src/components/networkGraph/index.d.ts +3 -26
- package/dist/src/components/networkGraph/react/index.d.ts +4 -0
- package/dist/src/components/newtonCradle/core/engine.d.ts +2 -0
- package/dist/src/components/newtonCradle/core/index.d.ts +2 -0
- package/dist/src/components/newtonCradle/core/types.d.ts +11 -0
- package/dist/src/components/newtonCradle/element/index.d.ts +9 -0
- package/dist/src/components/newtonCradle/index.d.ts +3 -9
- package/dist/src/components/newtonCradle/react/index.d.ts +4 -0
- package/dist/src/components/nineGrid/core/engine.d.ts +2 -0
- package/dist/src/components/nineGrid/core/index.d.ts +2 -0
- package/dist/src/components/nineGrid/core/types.d.ts +31 -0
- package/dist/src/components/nineGrid/element/index.d.ts +15 -0
- package/dist/src/components/nineGrid/index.d.ts +3 -29
- package/dist/src/components/nineGrid/react/index.d.ts +5 -0
- package/dist/src/components/orbitalChart/core/engine.d.ts +2 -0
- package/dist/src/components/orbitalChart/core/index.d.ts +2 -0
- package/dist/src/components/orbitalChart/core/types.d.ts +14 -0
- package/dist/src/components/orbitalChart/element/index.d.ts +13 -0
- package/dist/src/components/orbitalChart/index.d.ts +3 -12
- package/dist/src/components/orbitalChart/react/index.d.ts +4 -0
- package/dist/src/components/particleNetwork/core/engine.d.ts +2 -0
- package/dist/src/components/particleNetwork/core/index.d.ts +2 -0
- package/dist/src/components/particleNetwork/core/types.d.ts +15 -0
- package/dist/src/components/particleNetwork/element/index.d.ts +9 -0
- package/dist/src/components/particleNetwork/index.d.ts +3 -19
- package/dist/src/components/particleNetwork/react/index.d.ts +4 -0
- package/dist/src/components/photoAlbum/core/engine.d.ts +2 -0
- package/dist/src/components/photoAlbum/core/index.d.ts +2 -0
- package/dist/src/components/photoAlbum/core/types.d.ts +7 -0
- package/dist/src/components/photoAlbum/element/index.d.ts +16 -0
- package/dist/src/components/photoAlbum/index.d.ts +3 -5
- package/dist/src/components/photoAlbum/react/index.d.ts +3 -0
- package/dist/src/components/photoAlbum/types.d.ts +3 -3
- package/dist/src/components/photoCarousel/core/engine.d.ts +2 -0
- package/dist/src/components/photoCarousel/core/index.d.ts +2 -0
- package/dist/src/components/photoCarousel/core/types.d.ts +7 -0
- package/dist/src/components/photoCarousel/element/index.d.ts +13 -0
- package/dist/src/components/photoCarousel/index.d.ts +3 -9
- package/dist/src/components/photoCarousel/react/index.d.ts +3 -0
- package/dist/src/components/photoCarousel/types.d.ts +2 -2
- package/dist/src/components/photoClothesline/core/engine.d.ts +2 -0
- package/dist/src/components/photoClothesline/core/index.d.ts +2 -0
- package/dist/src/components/photoClothesline/core/types.d.ts +7 -0
- package/dist/src/components/photoClothesline/element/index.d.ts +13 -0
- package/dist/src/components/photoClothesline/index.d.ts +3 -5
- package/dist/src/components/photoClothesline/layout.d.ts +2 -2
- package/dist/src/components/photoClothesline/react/index.d.ts +3 -0
- package/dist/src/components/photoClothesline/types.d.ts +3 -3
- package/dist/src/components/photoFilmstrip/core/engine.d.ts +2 -0
- package/dist/src/components/photoFilmstrip/core/index.d.ts +2 -0
- package/dist/src/components/photoFilmstrip/core/types.d.ts +7 -0
- package/dist/src/components/photoFilmstrip/element/index.d.ts +13 -0
- package/dist/src/components/photoFilmstrip/index.d.ts +3 -5
- package/dist/src/components/photoFilmstrip/react/index.d.ts +3 -0
- package/dist/src/components/photoFilmstrip/types.d.ts +2 -2
- package/dist/src/components/photoFridge/core/engine.d.ts +2 -0
- package/dist/src/components/photoFridge/core/index.d.ts +2 -0
- package/dist/src/components/photoFridge/core/types.d.ts +7 -0
- package/dist/src/components/photoFridge/element/index.d.ts +13 -0
- package/dist/src/components/photoFridge/index.d.ts +3 -5
- package/dist/src/components/photoFridge/react/index.d.ts +3 -0
- package/dist/src/components/photoFridge/types.d.ts +2 -2
- package/dist/src/components/photoLantern/core/engine.d.ts +2 -0
- package/dist/src/components/photoLantern/core/index.d.ts +2 -0
- package/dist/src/components/photoLantern/core/types.d.ts +7 -0
- package/dist/src/components/photoLantern/element/index.d.ts +13 -0
- package/dist/src/components/photoLantern/index.d.ts +3 -5
- package/dist/src/components/photoLantern/react/index.d.ts +3 -0
- package/dist/src/components/photoLantern/types.d.ts +3 -3
- package/dist/src/components/photoLightbox/core/engine.d.ts +2 -0
- package/dist/src/components/photoLightbox/core/index.d.ts +2 -0
- package/dist/src/components/photoLightbox/core/types.d.ts +7 -0
- package/dist/src/components/photoLightbox/element/index.d.ts +13 -0
- package/dist/src/components/photoLightbox/index.d.ts +3 -5
- package/dist/src/components/photoLightbox/react/index.d.ts +3 -0
- package/dist/src/components/photoLightbox/types.d.ts +2 -2
- package/dist/src/components/photoPolaroid/core/engine.d.ts +2 -0
- package/dist/src/components/photoPolaroid/core/index.d.ts +2 -0
- package/dist/src/components/photoPolaroid/core/types.d.ts +7 -0
- package/dist/src/components/photoPolaroid/element/index.d.ts +13 -0
- package/dist/src/components/photoPolaroid/index.d.ts +3 -5
- package/dist/src/components/photoPolaroid/react/index.d.ts +3 -0
- package/dist/src/components/photoPolaroid/types.d.ts +2 -2
- package/dist/src/components/photoPostcard/core/engine.d.ts +6 -0
- package/dist/src/components/photoPostcard/core/index.d.ts +2 -0
- package/dist/src/components/photoPostcard/core/types.d.ts +7 -0
- package/dist/src/components/photoPostcard/element/index.d.ts +13 -0
- package/dist/src/components/photoPostcard/index.d.ts +3 -8
- package/dist/src/components/photoPostcard/react/index.d.ts +10 -0
- package/dist/src/components/photoPostcard/types.d.ts +2 -2
- package/dist/src/components/photoPrism/core/engine.d.ts +2 -0
- package/dist/src/components/photoPrism/core/index.d.ts +2 -0
- package/dist/src/components/photoPrism/core/types.d.ts +7 -0
- package/dist/src/components/photoPrism/element/index.d.ts +13 -0
- package/dist/src/components/photoPrism/index.d.ts +3 -9
- package/dist/src/components/photoPrism/react/index.d.ts +3 -0
- package/dist/src/components/photoPrism/types.d.ts +2 -2
- package/dist/src/components/photoScroll/core/engine.d.ts +2 -0
- package/dist/src/components/photoScroll/core/index.d.ts +2 -0
- package/dist/src/components/photoScroll/core/types.d.ts +7 -0
- package/dist/src/components/photoScroll/element/index.d.ts +13 -0
- package/dist/src/components/photoScroll/index.d.ts +3 -9
- package/dist/src/components/photoScroll/react/index.d.ts +3 -0
- package/dist/src/components/photoScroll/types.d.ts +2 -2
- package/dist/src/components/photoTunnel/core/engine.d.ts +2 -0
- package/dist/src/components/photoTunnel/core/index.d.ts +2 -0
- package/dist/src/components/photoTunnel/core/types.d.ts +7 -0
- package/dist/src/components/photoTunnel/element/index.d.ts +13 -0
- package/dist/src/components/photoTunnel/index.d.ts +3 -9
- package/dist/src/components/photoTunnel/react/index.d.ts +3 -0
- package/dist/src/components/photoTunnel/types.d.ts +2 -2
- package/dist/src/components/photoViewMaster/core/engine.d.ts +2 -0
- package/dist/src/components/photoViewMaster/core/index.d.ts +2 -0
- package/dist/src/components/photoViewMaster/core/types.d.ts +7 -0
- package/dist/src/components/photoViewMaster/element/index.d.ts +13 -0
- package/dist/src/components/photoViewMaster/index.d.ts +3 -9
- package/dist/src/components/photoViewMaster/react/index.d.ts +3 -0
- package/dist/src/components/photoViewMaster/types.d.ts +2 -2
- package/dist/src/components/plasmaBall/core/engine.d.ts +2 -0
- package/dist/src/components/plasmaBall/core/index.d.ts +2 -0
- package/dist/src/components/plasmaBall/core/types.d.ts +11 -0
- package/dist/src/components/plasmaBall/element/index.d.ts +9 -0
- package/dist/src/components/plasmaBall/index.d.ts +3 -9
- package/dist/src/components/plasmaBall/react/index.d.ts +4 -0
- package/dist/src/components/progressChest/core/engine.d.ts +2 -0
- package/dist/src/components/progressChest/core/index.d.ts +2 -0
- package/dist/src/components/progressChest/core/types.d.ts +14 -0
- package/dist/src/components/progressChest/element/index.d.ts +9 -0
- package/dist/src/components/progressChest/index.d.ts +3 -13
- package/dist/src/components/progressChest/react/index.d.ts +4 -0
- package/dist/src/components/radarScan/core/engine.d.ts +2 -0
- package/dist/src/components/radarScan/core/index.d.ts +2 -0
- package/dist/src/components/radarScan/core/types.d.ts +10 -0
- package/dist/src/components/radarScan/element/index.d.ts +9 -0
- package/dist/src/components/radarScan/index.d.ts +3 -9
- package/dist/src/components/radarScan/react/index.d.ts +4 -0
- package/dist/src/components/redPacketRain/core/engine.d.ts +2 -0
- package/dist/src/components/redPacketRain/core/index.d.ts +2 -0
- package/dist/src/components/redPacketRain/core/types.d.ts +25 -0
- package/dist/src/components/redPacketRain/element/index.d.ts +12 -0
- package/dist/src/components/redPacketRain/index.d.ts +3 -33
- package/dist/src/components/redPacketRain/react/index.d.ts +5 -0
- package/dist/src/components/returnCity/core/engine.d.ts +2 -0
- package/dist/src/components/returnCity/core/index.d.ts +2 -0
- package/dist/src/components/returnCity/core/types.d.ts +10 -0
- package/dist/src/components/returnCity/element/index.d.ts +9 -0
- package/dist/src/components/returnCity/index.d.ts +3 -11
- package/dist/src/components/returnCity/react/index.d.ts +4 -0
- package/dist/src/components/rippleWater/core/engine.d.ts +2 -0
- package/dist/src/components/rippleWater/core/index.d.ts +2 -0
- package/dist/src/components/rippleWater/core/types.d.ts +24 -0
- package/dist/src/components/rippleWater/element/index.d.ts +9 -0
- package/dist/src/components/rippleWater/index.d.ts +3 -37
- package/dist/src/components/rippleWater/react/index.d.ts +4 -0
- package/dist/src/components/ropeChain/core/engine.d.ts +2 -0
- package/dist/src/components/ropeChain/core/index.d.ts +2 -0
- package/dist/src/components/ropeChain/core/types.d.ts +12 -0
- package/dist/src/components/ropeChain/element/index.d.ts +9 -0
- package/dist/src/components/ropeChain/index.d.ts +3 -10
- package/dist/src/components/ropeChain/react/index.d.ts +4 -0
- package/dist/src/components/rotatingText/core/engine.d.ts +2 -0
- package/dist/src/components/rotatingText/core/index.d.ts +2 -0
- package/dist/src/components/rotatingText/core/types.d.ts +14 -0
- package/dist/src/components/rotatingText/element/index.d.ts +13 -0
- package/dist/src/components/rotatingText/index.d.ts +3 -19
- package/dist/src/components/rotatingText/react/index.d.ts +4 -0
- package/dist/src/components/sandFall/core/engine.d.ts +2 -0
- package/dist/src/components/sandFall/core/index.d.ts +2 -0
- package/dist/src/components/sandFall/core/types.d.ts +14 -0
- package/dist/src/components/sandFall/element/index.d.ts +13 -0
- package/dist/src/components/sandFall/index.d.ts +3 -17
- package/dist/src/components/sandFall/react/index.d.ts +4 -0
- package/dist/src/components/scrambleText/core/engine.d.ts +2 -0
- package/dist/src/components/scrambleText/core/index.d.ts +2 -0
- package/dist/src/components/scrambleText/core/types.d.ts +10 -0
- package/dist/src/components/scrambleText/element/index.d.ts +9 -0
- package/dist/src/components/scrambleText/index.d.ts +3 -11
- package/dist/src/components/scrambleText/react/index.d.ts +4 -0
- package/dist/src/components/scratchCard/core/engine.d.ts +2 -0
- package/dist/src/components/scratchCard/core/index.d.ts +2 -0
- package/dist/src/components/scratchCard/core/types.d.ts +25 -0
- package/dist/src/components/scratchCard/element/index.d.ts +11 -0
- package/dist/src/components/scratchCard/index.d.ts +3 -23
- package/dist/src/components/scratchCard/react/index.d.ts +5 -0
- package/dist/src/components/shinyText/core/engine.d.ts +2 -0
- package/dist/src/components/shinyText/core/index.d.ts +2 -0
- package/dist/src/components/shinyText/core/types.d.ts +13 -0
- package/dist/src/components/shinyText/element/index.d.ts +9 -0
- package/dist/src/components/shinyText/index.d.ts +3 -17
- package/dist/src/components/shinyText/react/index.d.ts +4 -0
- package/dist/src/components/slotMachine/core/engine.d.ts +2 -0
- package/dist/src/components/slotMachine/core/index.d.ts +2 -0
- package/dist/src/components/slotMachine/core/types.d.ts +31 -0
- package/dist/src/components/slotMachine/element/index.d.ts +18 -0
- package/dist/src/components/slotMachine/index.d.ts +3 -29
- package/dist/src/components/slotMachine/react/index.d.ts +5 -0
- package/dist/src/components/smokeFog/core/engine.d.ts +2 -0
- package/dist/src/components/smokeFog/core/index.d.ts +2 -0
- package/dist/src/components/smokeFog/core/types.d.ts +18 -0
- package/dist/src/components/smokeFog/element/index.d.ts +9 -0
- package/dist/src/components/smokeFog/index.d.ts +3 -25
- package/dist/src/components/smokeFog/react/index.d.ts +4 -0
- package/dist/src/components/snowfall/core/engine.d.ts +2 -0
- package/dist/src/components/snowfall/core/index.d.ts +2 -0
- package/dist/src/components/snowfall/core/types.d.ts +12 -0
- package/dist/src/components/snowfall/element/index.d.ts +13 -0
- package/dist/src/components/snowfall/index.d.ts +3 -13
- package/dist/src/components/snowfall/react/index.d.ts +4 -0
- package/dist/src/components/soapBubbles/core/engine.d.ts +2 -0
- package/dist/src/components/soapBubbles/core/index.d.ts +2 -0
- package/dist/src/components/soapBubbles/core/types.d.ts +14 -0
- package/dist/src/components/soapBubbles/element/index.d.ts +9 -0
- package/dist/src/components/soapBubbles/index.d.ts +3 -20
- package/dist/src/components/soapBubbles/react/index.d.ts +4 -0
- package/dist/src/components/solarSystem/core/engine.d.ts +2 -0
- package/dist/src/components/solarSystem/core/index.d.ts +2 -0
- package/dist/src/components/solarSystem/core/types.d.ts +11 -0
- package/dist/src/components/solarSystem/element/index.d.ts +9 -0
- package/dist/src/components/solarSystem/index.d.ts +3 -9
- package/dist/src/components/solarSystem/react/index.d.ts +4 -0
- package/dist/src/components/speedometer/core/engine.d.ts +2 -0
- package/dist/src/components/speedometer/core/index.d.ts +2 -0
- package/dist/src/components/speedometer/core/types.d.ts +11 -0
- package/dist/src/components/speedometer/element/index.d.ts +9 -0
- package/dist/src/components/speedometer/index.d.ts +3 -9
- package/dist/src/components/speedometer/react/index.d.ts +4 -0
- package/dist/src/components/splitReveal/core/engine.d.ts +2 -0
- package/dist/src/components/splitReveal/core/index.d.ts +2 -0
- package/dist/src/components/splitReveal/core/types.d.ts +10 -0
- package/dist/src/components/splitReveal/element/index.d.ts +9 -0
- package/dist/src/components/splitReveal/index.d.ts +3 -11
- package/dist/src/components/splitReveal/react/index.d.ts +4 -0
- package/dist/src/components/splitText/core/engine.d.ts +2 -0
- package/dist/src/components/splitText/core/index.d.ts +2 -0
- package/dist/src/components/splitText/core/types.d.ts +15 -0
- package/dist/src/components/splitText/element/index.d.ts +13 -0
- package/dist/src/components/splitText/index.d.ts +3 -21
- package/dist/src/components/splitText/react/index.d.ts +4 -0
- package/dist/src/components/spotlight/core/engine.d.ts +2 -0
- package/dist/src/components/spotlight/core/index.d.ts +2 -0
- package/dist/src/components/spotlight/core/types.d.ts +13 -0
- package/dist/src/components/spotlight/element/index.d.ts +14 -0
- package/dist/src/components/spotlight/index.d.ts +3 -10
- package/dist/src/components/spotlight/react/index.d.ts +6 -0
- package/dist/src/components/springMass/core/engine.d.ts +2 -0
- package/dist/src/components/springMass/core/index.d.ts +2 -0
- package/dist/src/components/springMass/core/types.d.ts +21 -0
- package/dist/src/components/springMass/element/index.d.ts +9 -0
- package/dist/src/components/springMass/index.d.ts +3 -19
- package/dist/src/components/springMass/react/index.d.ts +4 -0
- package/dist/src/components/starfield/core/engine.d.ts +2 -0
- package/dist/src/components/starfield/core/index.d.ts +2 -0
- package/dist/src/components/starfield/core/types.d.ts +12 -0
- package/dist/src/components/starfield/element/index.d.ts +9 -0
- package/dist/src/components/starfield/index.d.ts +3 -13
- package/dist/src/components/starfield/react/index.d.ts +4 -0
- package/dist/src/components/textMorph/core/engine.d.ts +2 -0
- package/dist/src/components/textMorph/core/index.d.ts +2 -0
- package/dist/src/components/textMorph/core/types.d.ts +12 -0
- package/dist/src/components/textMorph/element/index.d.ts +13 -0
- package/dist/src/components/textMorph/index.d.ts +3 -15
- package/dist/src/components/textMorph/react/index.d.ts +4 -0
- package/dist/src/components/timelinePulse/core/engine.d.ts +2 -0
- package/dist/src/components/timelinePulse/core/index.d.ts +2 -0
- package/dist/src/components/timelinePulse/core/types.d.ts +10 -0
- package/dist/src/components/timelinePulse/element/index.d.ts +13 -0
- package/dist/src/components/timelinePulse/index.d.ts +3 -8
- package/dist/src/components/timelinePulse/react/index.d.ts +4 -0
- package/dist/src/components/trueFocus/core/engine.d.ts +2 -0
- package/dist/src/components/trueFocus/core/index.d.ts +2 -0
- package/dist/src/components/trueFocus/core/types.d.ts +17 -0
- package/dist/src/components/trueFocus/element/index.d.ts +9 -0
- package/dist/src/components/trueFocus/index.d.ts +3 -25
- package/dist/src/components/trueFocus/react/index.d.ts +4 -0
- package/dist/src/components/turntable/core/engine.d.ts +2 -0
- package/dist/src/components/turntable/core/index.d.ts +2 -0
- package/dist/src/components/turntable/core/types.d.ts +35 -0
- package/dist/src/components/turntable/element/index.d.ts +15 -0
- package/dist/src/components/turntable/index.d.ts +3 -33
- package/dist/src/components/turntable/react/index.d.ts +5 -0
- package/dist/src/components/typewriter/core/engine.d.ts +2 -0
- package/dist/src/components/typewriter/core/index.d.ts +2 -0
- package/dist/src/components/typewriter/core/types.d.ts +11 -0
- package/dist/src/components/typewriter/element/index.d.ts +13 -0
- package/dist/src/components/typewriter/index.d.ts +3 -13
- package/dist/src/components/typewriter/react/index.d.ts +4 -0
- package/dist/src/components/waveButton/core/engine.d.ts +2 -0
- package/dist/src/components/waveButton/core/index.d.ts +2 -0
- package/dist/src/components/waveButton/core/types.d.ts +13 -0
- package/dist/src/components/waveButton/element/index.d.ts +14 -0
- package/dist/src/components/waveButton/index.d.ts +3 -9
- package/dist/src/components/waveButton/react/index.d.ts +4 -0
- package/dist/src/components/waveText/core/engine.d.ts +2 -0
- package/dist/src/components/waveText/core/index.d.ts +2 -0
- package/dist/src/components/waveText/core/types.d.ts +11 -0
- package/dist/src/components/waveText/element/index.d.ts +9 -0
- package/dist/src/components/waveText/index.d.ts +3 -13
- package/dist/src/components/waveText/react/index.d.ts +4 -0
- package/dist/src/components/weatherBackground/core/engine.d.ts +2 -0
- package/dist/src/components/weatherBackground/core/index.d.ts +14 -0
- package/dist/src/components/weatherBackground/core/types.d.ts +7 -0
- package/dist/src/components/weatherBackground/element/index.d.ts +13 -0
- package/dist/src/components/weatherBackground/index.d.ts +5 -5
- package/dist/src/components/weatherBackground/live-weather-core.d.ts +79 -0
- package/dist/src/components/weatherBackground/live-weather.d.ts +3 -69
- package/dist/src/components/weatherBackground/react/index.d.ts +3 -0
- package/dist/src/components/weatherBackground/vue/useLiveWeather.d.ts +15 -0
- package/dist/src/core.d.ts +91 -0
- package/dist/src/elements.d.ts +0 -0
- package/dist/src/vite-env.d.ts +6 -0
- package/dist/src/vue.d.ts +91 -0
- package/dist/style.css +1 -0
- package/dist/vue.cjs +1 -0
- package/dist/vue.d.ts +1 -0
- package/dist/vue.js +2405 -0
- package/package.json +40 -4
- package/dist/index.css +0 -1
package/dist/elements.js
ADDED
|
@@ -0,0 +1,3162 @@
|
|
|
1
|
+
import { $t as e, An as t, At as ee, Bn as te, Bt as ne, Cn as re, Ct as ie, Dn as ae, Dt as oe, En as se, Et as ce, Fn as le, Ft as ue, Gt as de, Hn as fe, Ht as pe, In as me, It as he, Jt as ge, Kt as _e, Ln as ve, Lt as ye, Mn as be, Mt as xe, Nn as Se, Nt as Ce, On as we, Ot as Te, Pn as Ee, Pt as De, Qt as Oe, Rn as ke, Rt as Ae, Sn as je, St as Me, Tn as Ne, Tt as Pe, Un as Fe, Ut as Ie, Vn as Le, Vt as Re, Wn as ze, Wt as Be, Xt as Ve, Yt as He, Zt as Ue, _n as We, _t as Ge, an as Ke, bn as qe, bt as Je, cn as Ye, dn as Xe, dt as Ze, en as Qe, fn as $e, ft as et, gn as tt, gt as nt, hn as rt, ht as it, in as at, jn as ot, jt as st, kn as ct, kt as lt, ln as ut, mn as dt, mt as ft, n as pt, nn as mt, on as ht, pn as gt, pt as _t, qt as vt, rn as yt, sn as bt, t as xt, tn as St, un as Ct, vn as wt, vt as Tt, wn as Et, wt as Dt, xn as Ot, xt as kt, yn as At, yt as jt, zn as Mt, zt as Nt } from "./engine-Dh44m7ox.js";
|
|
2
|
+
import './style.css';/* empty css */
|
|
3
|
+
import { t as Pt } from "./core-On5bp2VI.js";
|
|
4
|
+
import { optionCallbackDispatcher as n, readBooleanAttr as r, readJsonAttr as i, readNumberAttr as a, readPropertyOverride as o, readStringAttr as s } from "@cos-design/shared";
|
|
5
|
+
//#region src/components/audioVisualizer/element/index.ts
|
|
6
|
+
var Ft = "cos-audio-visualizer";
|
|
7
|
+
function It(e) {
|
|
8
|
+
let t = {};
|
|
9
|
+
return a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "barCount", "bar-count"), r(t, e, "useMic", "use-mic", "presence"), t;
|
|
10
|
+
}
|
|
11
|
+
var Lt = class extends HTMLElement {
|
|
12
|
+
ctrl = null;
|
|
13
|
+
static get observedAttributes() {
|
|
14
|
+
return [
|
|
15
|
+
"width",
|
|
16
|
+
"height",
|
|
17
|
+
"bar-count",
|
|
18
|
+
"use-mic"
|
|
19
|
+
];
|
|
20
|
+
}
|
|
21
|
+
connectedCallback() {
|
|
22
|
+
this.ctrl = te(this, It(this));
|
|
23
|
+
}
|
|
24
|
+
disconnectedCallback() {
|
|
25
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
26
|
+
}
|
|
27
|
+
attributeChangedCallback() {
|
|
28
|
+
this.ctrl?.update(It(this));
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
typeof customElements < "u" && !customElements.get("cos-audio-visualizer") && customElements.define(Ft, Lt);
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/components/aurora/element/index.ts
|
|
34
|
+
var Rt = "cos-aurora";
|
|
35
|
+
function c(e) {
|
|
36
|
+
let t = {};
|
|
37
|
+
return a(t, e, "width", "width"), a(t, e, "height", "height"), r(t, e, "fill", "fill", "presence"), i(t, e, "colors", "colors"), o(t, e, "colors", "_colors"), t;
|
|
38
|
+
}
|
|
39
|
+
var zt = class extends HTMLElement {
|
|
40
|
+
ctrl = null;
|
|
41
|
+
_colors;
|
|
42
|
+
get colors() {
|
|
43
|
+
return this._colors;
|
|
44
|
+
}
|
|
45
|
+
set colors(e) {
|
|
46
|
+
this._colors = e, this.ctrl?.update(c(this));
|
|
47
|
+
}
|
|
48
|
+
static get observedAttributes() {
|
|
49
|
+
return [
|
|
50
|
+
"width",
|
|
51
|
+
"height",
|
|
52
|
+
"fill",
|
|
53
|
+
"colors"
|
|
54
|
+
];
|
|
55
|
+
}
|
|
56
|
+
connectedCallback() {
|
|
57
|
+
this.ctrl = Le(this, c(this));
|
|
58
|
+
}
|
|
59
|
+
disconnectedCallback() {
|
|
60
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
61
|
+
}
|
|
62
|
+
attributeChangedCallback() {
|
|
63
|
+
this.ctrl?.update(c(this));
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
typeof customElements < "u" && !customElements.get("cos-aurora") && customElements.define(Rt, zt);
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/components/auroraVeil/element/index.ts
|
|
69
|
+
var Bt = "cos-aurora-veil";
|
|
70
|
+
function l(e) {
|
|
71
|
+
let t = {};
|
|
72
|
+
return s(t, e, "ariaLabel", "aria-label"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "bandCount", "band-count"), a(t, e, "speed", "speed"), r(t, e, "fill", "fill", "presence"), r(t, e, "interactive", "interactive", "optional-true"), i(t, e, "colors", "colors"), o(t, e, "colors", "_colors"), t;
|
|
73
|
+
}
|
|
74
|
+
var Vt = class extends HTMLElement {
|
|
75
|
+
ctrl = null;
|
|
76
|
+
_colors;
|
|
77
|
+
get colors() {
|
|
78
|
+
return this._colors;
|
|
79
|
+
}
|
|
80
|
+
set colors(e) {
|
|
81
|
+
this._colors = e, this.ctrl?.update(l(this));
|
|
82
|
+
}
|
|
83
|
+
static get observedAttributes() {
|
|
84
|
+
return [
|
|
85
|
+
"width",
|
|
86
|
+
"height",
|
|
87
|
+
"fill",
|
|
88
|
+
"colors",
|
|
89
|
+
"band-count",
|
|
90
|
+
"speed",
|
|
91
|
+
"interactive",
|
|
92
|
+
"aria-label"
|
|
93
|
+
];
|
|
94
|
+
}
|
|
95
|
+
connectedCallback() {
|
|
96
|
+
this.ctrl = ye(this, l(this));
|
|
97
|
+
}
|
|
98
|
+
disconnectedCallback() {
|
|
99
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
100
|
+
}
|
|
101
|
+
attributeChangedCallback() {
|
|
102
|
+
this.ctrl?.update(l(this));
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
typeof customElements < "u" && !customElements.get("cos-aurora-veil") && customElements.define(Bt, Vt);
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region src/components/barcodeScan/element/index.ts
|
|
108
|
+
var Ht = "cos-barcode-scan";
|
|
109
|
+
function u(e) {
|
|
110
|
+
let t = {};
|
|
111
|
+
return s(t, e, "scanColor", "scan-color"), s(t, e, "defaultContent", "default-content"), a(t, e, "speed", "speed"), i(t, e, "slotElement", "slot-element"), o(t, e, "slotElement", "_slotElement"), t;
|
|
112
|
+
}
|
|
113
|
+
var Ut = class extends HTMLElement {
|
|
114
|
+
ctrl = null;
|
|
115
|
+
_slotElement;
|
|
116
|
+
get slotElement() {
|
|
117
|
+
return this._slotElement;
|
|
118
|
+
}
|
|
119
|
+
set slotElement(e) {
|
|
120
|
+
this._slotElement = e, this.ctrl?.update(u(this));
|
|
121
|
+
}
|
|
122
|
+
static get observedAttributes() {
|
|
123
|
+
return [
|
|
124
|
+
"scan-color",
|
|
125
|
+
"speed",
|
|
126
|
+
"slot-element",
|
|
127
|
+
"default-content"
|
|
128
|
+
];
|
|
129
|
+
}
|
|
130
|
+
connectedCallback() {
|
|
131
|
+
this.ctrl = ze(this, u(this));
|
|
132
|
+
}
|
|
133
|
+
disconnectedCallback() {
|
|
134
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
135
|
+
}
|
|
136
|
+
attributeChangedCallback() {
|
|
137
|
+
this.ctrl?.update(u(this));
|
|
138
|
+
}
|
|
139
|
+
getSlot() {
|
|
140
|
+
return this.ctrl?.getSlot();
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
typeof customElements < "u" && !customElements.get("cos-barcode-scan") && customElements.define(Ht, Ut);
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/components/blurText/element/index.ts
|
|
146
|
+
var Wt = "cos-blur-text";
|
|
147
|
+
function d(e) {
|
|
148
|
+
let t = {};
|
|
149
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), a(t, e, "stagger", "stagger"), a(t, e, "duration", "duration"), a(t, e, "fontSize", "font-size"), i(t, e, "animateBy", "animate-by"), o(t, e, "animateBy", "_animateBy"), i(t, e, "direction", "direction"), o(t, e, "direction", "_direction"), t.onAnimationComplete = n(e, "animation-complete"), t;
|
|
150
|
+
}
|
|
151
|
+
var Gt = class extends HTMLElement {
|
|
152
|
+
ctrl = null;
|
|
153
|
+
_animateBy;
|
|
154
|
+
get animateBy() {
|
|
155
|
+
return this._animateBy;
|
|
156
|
+
}
|
|
157
|
+
set animateBy(e) {
|
|
158
|
+
this._animateBy = e, this.ctrl?.update(d(this));
|
|
159
|
+
}
|
|
160
|
+
_direction;
|
|
161
|
+
get direction() {
|
|
162
|
+
return this._direction;
|
|
163
|
+
}
|
|
164
|
+
set direction(e) {
|
|
165
|
+
this._direction = e, this.ctrl?.update(d(this));
|
|
166
|
+
}
|
|
167
|
+
static get observedAttributes() {
|
|
168
|
+
return [
|
|
169
|
+
"text",
|
|
170
|
+
"animate-by",
|
|
171
|
+
"direction",
|
|
172
|
+
"stagger",
|
|
173
|
+
"duration",
|
|
174
|
+
"font-size",
|
|
175
|
+
"color"
|
|
176
|
+
];
|
|
177
|
+
}
|
|
178
|
+
connectedCallback() {
|
|
179
|
+
this.ctrl = Fe(this, d(this));
|
|
180
|
+
}
|
|
181
|
+
disconnectedCallback() {
|
|
182
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
183
|
+
}
|
|
184
|
+
attributeChangedCallback() {
|
|
185
|
+
this.ctrl?.update(d(this));
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
typeof customElements < "u" && !customElements.get("cos-blur-text") && customElements.define(Wt, Gt);
|
|
189
|
+
//#endregion
|
|
190
|
+
//#region src/components/bubbleField/element/index.ts
|
|
191
|
+
var Kt = "cos-bubble-field";
|
|
192
|
+
function qt(e) {
|
|
193
|
+
let t = {};
|
|
194
|
+
return s(t, e, "color", "color"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "bubbleCount", "bubble-count"), a(t, e, "speed", "speed"), r(t, e, "fill", "fill", "presence"), r(t, e, "interactive", "interactive", "optional-true"), t;
|
|
195
|
+
}
|
|
196
|
+
var Jt = class extends HTMLElement {
|
|
197
|
+
ctrl = null;
|
|
198
|
+
static get observedAttributes() {
|
|
199
|
+
return [
|
|
200
|
+
"width",
|
|
201
|
+
"height",
|
|
202
|
+
"fill",
|
|
203
|
+
"bubble-count",
|
|
204
|
+
"speed",
|
|
205
|
+
"color",
|
|
206
|
+
"interactive"
|
|
207
|
+
];
|
|
208
|
+
}
|
|
209
|
+
connectedCallback() {
|
|
210
|
+
this.ctrl = pe(this, qt(this));
|
|
211
|
+
}
|
|
212
|
+
disconnectedCallback() {
|
|
213
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
214
|
+
}
|
|
215
|
+
attributeChangedCallback() {
|
|
216
|
+
this.ctrl?.update(qt(this));
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
typeof customElements < "u" && !customElements.get("cos-bubble-field") && customElements.define(Kt, Jt);
|
|
220
|
+
//#endregion
|
|
221
|
+
//#region src/components/burnAway/element/index.ts
|
|
222
|
+
var Yt = "cos-burn-away";
|
|
223
|
+
function Xt(e) {
|
|
224
|
+
let t = {};
|
|
225
|
+
return s(t, e, "text", "text"), s(t, e, "completedText", "completed-text"), a(t, e, "fontSize", "font-size"), t.onComplete = n(e, "complete"), t;
|
|
226
|
+
}
|
|
227
|
+
var Zt = class extends HTMLElement {
|
|
228
|
+
ctrl = null;
|
|
229
|
+
static get observedAttributes() {
|
|
230
|
+
return [
|
|
231
|
+
"text",
|
|
232
|
+
"font-size",
|
|
233
|
+
"completed-text"
|
|
234
|
+
];
|
|
235
|
+
}
|
|
236
|
+
connectedCallback() {
|
|
237
|
+
this.ctrl = fe(this, Xt(this));
|
|
238
|
+
}
|
|
239
|
+
disconnectedCallback() {
|
|
240
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
241
|
+
}
|
|
242
|
+
attributeChangedCallback() {
|
|
243
|
+
this.ctrl?.update(Xt(this));
|
|
244
|
+
}
|
|
245
|
+
ignite() {
|
|
246
|
+
return this.ctrl?.ignite();
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
typeof customElements < "u" && !customElements.get("cos-burn-away") && customElements.define(Yt, Zt);
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/components/canvasClock/element/index.ts
|
|
252
|
+
var Qt = "cos-canvas-clock";
|
|
253
|
+
function $t(e) {
|
|
254
|
+
let t = {};
|
|
255
|
+
return a(t, e, "width", "width"), a(t, e, "height", "height"), t;
|
|
256
|
+
}
|
|
257
|
+
var en = class extends HTMLElement {
|
|
258
|
+
ctrl = null;
|
|
259
|
+
static get observedAttributes() {
|
|
260
|
+
return ["width", "height"];
|
|
261
|
+
}
|
|
262
|
+
connectedCallback() {
|
|
263
|
+
this.ctrl = Mt(this, $t(this));
|
|
264
|
+
}
|
|
265
|
+
disconnectedCallback() {
|
|
266
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
267
|
+
}
|
|
268
|
+
attributeChangedCallback() {
|
|
269
|
+
this.ctrl?.update($t(this));
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
typeof customElements < "u" && !customElements.get("cos-canvas-clock") && customElements.define(Qt, en);
|
|
273
|
+
//#endregion
|
|
274
|
+
//#region src/components/charge/element/index.ts
|
|
275
|
+
var tn = "cos-charge";
|
|
276
|
+
function nn(e) {
|
|
277
|
+
let t = {};
|
|
278
|
+
return a(t, e, "initQuantity", "init-quantity"), a(t, e, "value", "value"), a(t, e, "interval", "interval"), a(t, e, "step", "step"), r(t, e, "autoCharge", "auto-charge", "presence"), t.onChange = n(e, "change"), t.onComplete = n(e, "complete"), t;
|
|
279
|
+
}
|
|
280
|
+
var rn = class extends HTMLElement {
|
|
281
|
+
ctrl = null;
|
|
282
|
+
static get observedAttributes() {
|
|
283
|
+
return [
|
|
284
|
+
"init-quantity",
|
|
285
|
+
"value",
|
|
286
|
+
"auto-charge",
|
|
287
|
+
"interval",
|
|
288
|
+
"step"
|
|
289
|
+
];
|
|
290
|
+
}
|
|
291
|
+
connectedCallback() {
|
|
292
|
+
this.ctrl = ke(this, nn(this));
|
|
293
|
+
}
|
|
294
|
+
disconnectedCallback() {
|
|
295
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
296
|
+
}
|
|
297
|
+
attributeChangedCallback() {
|
|
298
|
+
this.ctrl?.update(nn(this));
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
typeof customElements < "u" && !customElements.get("cos-charge") && customElements.define(tn, rn);
|
|
302
|
+
//#endregion
|
|
303
|
+
//#region src/components/circularText/element/index.ts
|
|
304
|
+
var an = "cos-circular-text";
|
|
305
|
+
function f(e) {
|
|
306
|
+
let t = {};
|
|
307
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), a(t, e, "spinDuration", "spin-duration"), a(t, e, "fontSize", "font-size"), a(t, e, "radius", "radius"), i(t, e, "onHover", "on-hover"), o(t, e, "onHover", "_onHover"), t;
|
|
308
|
+
}
|
|
309
|
+
var on = class extends HTMLElement {
|
|
310
|
+
ctrl = null;
|
|
311
|
+
_onHover;
|
|
312
|
+
get onHover() {
|
|
313
|
+
return this._onHover;
|
|
314
|
+
}
|
|
315
|
+
set onHover(e) {
|
|
316
|
+
this._onHover = e, this.ctrl?.update(f(this));
|
|
317
|
+
}
|
|
318
|
+
static get observedAttributes() {
|
|
319
|
+
return [
|
|
320
|
+
"text",
|
|
321
|
+
"spin-duration",
|
|
322
|
+
"on-hover",
|
|
323
|
+
"font-size",
|
|
324
|
+
"radius",
|
|
325
|
+
"color"
|
|
326
|
+
];
|
|
327
|
+
}
|
|
328
|
+
connectedCallback() {
|
|
329
|
+
this.ctrl = ve(this, f(this));
|
|
330
|
+
}
|
|
331
|
+
disconnectedCallback() {
|
|
332
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
333
|
+
}
|
|
334
|
+
attributeChangedCallback() {
|
|
335
|
+
this.ctrl?.update(f(this));
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
typeof customElements < "u" && !customElements.get("cos-circular-text") && customElements.define(an, on);
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region src/components/clickSpark/element/index.ts
|
|
341
|
+
var sn = "cos-click-spark";
|
|
342
|
+
function p(e) {
|
|
343
|
+
let t = {};
|
|
344
|
+
return s(t, e, "color", "color"), s(t, e, "defaultContent", "default-content"), a(t, e, "count", "count"), i(t, e, "slotElement", "slot-element"), o(t, e, "slotElement", "_slotElement"), t;
|
|
345
|
+
}
|
|
346
|
+
var cn = class extends HTMLElement {
|
|
347
|
+
ctrl = null;
|
|
348
|
+
_slotElement;
|
|
349
|
+
get slotElement() {
|
|
350
|
+
return this._slotElement;
|
|
351
|
+
}
|
|
352
|
+
set slotElement(e) {
|
|
353
|
+
this._slotElement = e, this.ctrl?.update(p(this));
|
|
354
|
+
}
|
|
355
|
+
static get observedAttributes() {
|
|
356
|
+
return [
|
|
357
|
+
"color",
|
|
358
|
+
"count",
|
|
359
|
+
"default-content",
|
|
360
|
+
"slot-element"
|
|
361
|
+
];
|
|
362
|
+
}
|
|
363
|
+
connectedCallback() {
|
|
364
|
+
this.ctrl = me(this, p(this));
|
|
365
|
+
}
|
|
366
|
+
disconnectedCallback() {
|
|
367
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
368
|
+
}
|
|
369
|
+
attributeChangedCallback() {
|
|
370
|
+
this.ctrl?.update(p(this));
|
|
371
|
+
}
|
|
372
|
+
getSlot() {
|
|
373
|
+
return this.ctrl?.getSlot();
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
typeof customElements < "u" && !customElements.get("cos-click-spark") && customElements.define(sn, cn);
|
|
377
|
+
//#endregion
|
|
378
|
+
//#region src/components/confetti/element/index.ts
|
|
379
|
+
var ln = "cos-confetti";
|
|
380
|
+
function m(e) {
|
|
381
|
+
let t = {};
|
|
382
|
+
return s(t, e, "hint", "hint"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "particleCount", "particle-count"), r(t, e, "fill", "fill", "presence"), r(t, e, "auto", "auto", "optional-true"), r(t, e, "interactive", "interactive", "optional-true"), t.onComplete = n(e, "complete"), t;
|
|
383
|
+
}
|
|
384
|
+
var un = class extends HTMLElement {
|
|
385
|
+
ctrl = null;
|
|
386
|
+
static get observedAttributes() {
|
|
387
|
+
return [
|
|
388
|
+
"width",
|
|
389
|
+
"height",
|
|
390
|
+
"fill",
|
|
391
|
+
"auto",
|
|
392
|
+
"interactive",
|
|
393
|
+
"particle-count",
|
|
394
|
+
"hint"
|
|
395
|
+
];
|
|
396
|
+
}
|
|
397
|
+
connectedCallback() {
|
|
398
|
+
this.ctrl = le(this, m(this));
|
|
399
|
+
}
|
|
400
|
+
disconnectedCallback() {
|
|
401
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
402
|
+
}
|
|
403
|
+
attributeChangedCallback() {
|
|
404
|
+
this.ctrl?.update(m(this));
|
|
405
|
+
}
|
|
406
|
+
burst() {
|
|
407
|
+
return this.ctrl?.burst();
|
|
408
|
+
}
|
|
409
|
+
};
|
|
410
|
+
typeof customElements < "u" && !customElements.get("cos-confetti") && customElements.define(ln, un);
|
|
411
|
+
//#endregion
|
|
412
|
+
//#region src/components/countUp/element/index.ts
|
|
413
|
+
var dn = "cos-count-up";
|
|
414
|
+
function fn(e) {
|
|
415
|
+
let t = {};
|
|
416
|
+
return s(t, e, "prefix", "prefix"), s(t, e, "suffix", "suffix"), s(t, e, "color", "color"), a(t, e, "value", "value"), a(t, e, "start", "start"), a(t, e, "duration", "duration"), a(t, e, "decimals", "decimals"), t;
|
|
417
|
+
}
|
|
418
|
+
var pn = class extends HTMLElement {
|
|
419
|
+
ctrl = null;
|
|
420
|
+
static get observedAttributes() {
|
|
421
|
+
return [
|
|
422
|
+
"value",
|
|
423
|
+
"start",
|
|
424
|
+
"duration",
|
|
425
|
+
"decimals",
|
|
426
|
+
"prefix",
|
|
427
|
+
"suffix",
|
|
428
|
+
"color"
|
|
429
|
+
];
|
|
430
|
+
}
|
|
431
|
+
connectedCallback() {
|
|
432
|
+
this.ctrl = ot(this, fn(this));
|
|
433
|
+
}
|
|
434
|
+
disconnectedCallback() {
|
|
435
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
436
|
+
}
|
|
437
|
+
attributeChangedCallback() {
|
|
438
|
+
this.ctrl?.update(fn(this));
|
|
439
|
+
}
|
|
440
|
+
};
|
|
441
|
+
typeof customElements < "u" && !customElements.get("cos-count-up") && customElements.define(dn, pn);
|
|
442
|
+
//#endregion
|
|
443
|
+
//#region src/components/countdown/element/index.ts
|
|
444
|
+
var mn = "cos-countdown";
|
|
445
|
+
function h(e) {
|
|
446
|
+
let t = {};
|
|
447
|
+
return s(t, e, "targetDate", "target-date"), s(t, e, "color", "color"), s(t, e, "invalidText", "invalid-text"), s(t, e, "endedText", "ended-text"), r(t, e, "showLabels", "show-labels", "presence"), i(t, e, "labels", "labels"), o(t, e, "labels", "_labels"), t.onEnd = n(e, "end"), t;
|
|
448
|
+
}
|
|
449
|
+
var hn = class extends HTMLElement {
|
|
450
|
+
ctrl = null;
|
|
451
|
+
_labels;
|
|
452
|
+
get labels() {
|
|
453
|
+
return this._labels;
|
|
454
|
+
}
|
|
455
|
+
set labels(e) {
|
|
456
|
+
this._labels = e, this.ctrl?.update(h(this));
|
|
457
|
+
}
|
|
458
|
+
static get observedAttributes() {
|
|
459
|
+
return [
|
|
460
|
+
"target-date",
|
|
461
|
+
"show-labels",
|
|
462
|
+
"color",
|
|
463
|
+
"labels",
|
|
464
|
+
"invalid-text",
|
|
465
|
+
"ended-text"
|
|
466
|
+
];
|
|
467
|
+
}
|
|
468
|
+
connectedCallback() {
|
|
469
|
+
this.ctrl = be(this, h(this));
|
|
470
|
+
}
|
|
471
|
+
disconnectedCallback() {
|
|
472
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
473
|
+
}
|
|
474
|
+
attributeChangedCallback() {
|
|
475
|
+
this.ctrl?.update(h(this));
|
|
476
|
+
}
|
|
477
|
+
};
|
|
478
|
+
typeof customElements < "u" && !customElements.get("cos-countdown") && customElements.define(mn, hn);
|
|
479
|
+
//#endregion
|
|
480
|
+
//#region src/components/cursorTrail/element/index.ts
|
|
481
|
+
var gn = "cos-cursor-trail";
|
|
482
|
+
function _n(e) {
|
|
483
|
+
let t = {};
|
|
484
|
+
return s(t, e, "color", "color"), s(t, e, "hint", "hint"), a(t, e, "length", "length"), a(t, e, "width", "width"), a(t, e, "height", "height"), t;
|
|
485
|
+
}
|
|
486
|
+
var vn = class extends HTMLElement {
|
|
487
|
+
ctrl = null;
|
|
488
|
+
static get observedAttributes() {
|
|
489
|
+
return [
|
|
490
|
+
"color",
|
|
491
|
+
"length",
|
|
492
|
+
"width",
|
|
493
|
+
"height",
|
|
494
|
+
"hint"
|
|
495
|
+
];
|
|
496
|
+
}
|
|
497
|
+
connectedCallback() {
|
|
498
|
+
this.ctrl = we(this, _n(this));
|
|
499
|
+
}
|
|
500
|
+
disconnectedCallback() {
|
|
501
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
502
|
+
}
|
|
503
|
+
attributeChangedCallback() {
|
|
504
|
+
this.ctrl?.update(_n(this));
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
typeof customElements < "u" && !customElements.get("cos-cursor-trail") && customElements.define(gn, vn);
|
|
508
|
+
//#endregion
|
|
509
|
+
//#region src/components/curvedLoop/element/index.ts
|
|
510
|
+
var yn = "cos-curved-loop";
|
|
511
|
+
function g(e) {
|
|
512
|
+
let t = {};
|
|
513
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), a(t, e, "speed", "speed"), a(t, e, "curveAmount", "curve-amount"), a(t, e, "fontSize", "font-size"), r(t, e, "interactive", "interactive", "optional-true"), i(t, e, "direction", "direction"), o(t, e, "direction", "_direction"), t;
|
|
514
|
+
}
|
|
515
|
+
var bn = class extends HTMLElement {
|
|
516
|
+
ctrl = null;
|
|
517
|
+
_direction;
|
|
518
|
+
get direction() {
|
|
519
|
+
return this._direction;
|
|
520
|
+
}
|
|
521
|
+
set direction(e) {
|
|
522
|
+
this._direction = e, this.ctrl?.update(g(this));
|
|
523
|
+
}
|
|
524
|
+
static get observedAttributes() {
|
|
525
|
+
return [
|
|
526
|
+
"text",
|
|
527
|
+
"speed",
|
|
528
|
+
"curve-amount",
|
|
529
|
+
"direction",
|
|
530
|
+
"interactive",
|
|
531
|
+
"color",
|
|
532
|
+
"font-size"
|
|
533
|
+
];
|
|
534
|
+
}
|
|
535
|
+
connectedCallback() {
|
|
536
|
+
this.ctrl = Ee(this, g(this));
|
|
537
|
+
}
|
|
538
|
+
disconnectedCallback() {
|
|
539
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
540
|
+
}
|
|
541
|
+
attributeChangedCallback() {
|
|
542
|
+
this.ctrl?.update(g(this));
|
|
543
|
+
}
|
|
544
|
+
};
|
|
545
|
+
typeof customElements < "u" && !customElements.get("cos-curved-loop") && customElements.define(yn, bn);
|
|
546
|
+
//#endregion
|
|
547
|
+
//#region src/components/cyberGrid/element/index.ts
|
|
548
|
+
var xn = "cos-cyber-grid";
|
|
549
|
+
function Sn(e) {
|
|
550
|
+
let t = {};
|
|
551
|
+
return s(t, e, "color", "color"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "speed", "speed"), r(t, e, "fill", "fill", "presence"), t;
|
|
552
|
+
}
|
|
553
|
+
var Cn = class extends HTMLElement {
|
|
554
|
+
ctrl = null;
|
|
555
|
+
static get observedAttributes() {
|
|
556
|
+
return [
|
|
557
|
+
"width",
|
|
558
|
+
"height",
|
|
559
|
+
"fill",
|
|
560
|
+
"color",
|
|
561
|
+
"speed"
|
|
562
|
+
];
|
|
563
|
+
}
|
|
564
|
+
connectedCallback() {
|
|
565
|
+
this.ctrl = Se(this, Sn(this));
|
|
566
|
+
}
|
|
567
|
+
disconnectedCallback() {
|
|
568
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
569
|
+
}
|
|
570
|
+
attributeChangedCallback() {
|
|
571
|
+
this.ctrl?.update(Sn(this));
|
|
572
|
+
}
|
|
573
|
+
};
|
|
574
|
+
typeof customElements < "u" && !customElements.get("cos-cyber-grid") && customElements.define(xn, Cn);
|
|
575
|
+
//#endregion
|
|
576
|
+
//#region src/components/dandelionField/element/index.ts
|
|
577
|
+
var wn = "cos-dandelion-field";
|
|
578
|
+
function Tn(e) {
|
|
579
|
+
let t = {};
|
|
580
|
+
return s(t, e, "ariaLabel", "aria-label"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "plantCount", "plant-count"), a(t, e, "seedCount", "seed-count"), a(t, e, "speed", "speed"), r(t, e, "fill", "fill", "presence"), r(t, e, "interactive", "interactive", "optional-true"), t;
|
|
581
|
+
}
|
|
582
|
+
var En = class extends HTMLElement {
|
|
583
|
+
ctrl = null;
|
|
584
|
+
static get observedAttributes() {
|
|
585
|
+
return [
|
|
586
|
+
"width",
|
|
587
|
+
"height",
|
|
588
|
+
"fill",
|
|
589
|
+
"plant-count",
|
|
590
|
+
"seed-count",
|
|
591
|
+
"speed",
|
|
592
|
+
"interactive",
|
|
593
|
+
"aria-label"
|
|
594
|
+
];
|
|
595
|
+
}
|
|
596
|
+
connectedCallback() {
|
|
597
|
+
this.ctrl = ne(this, Tn(this));
|
|
598
|
+
}
|
|
599
|
+
disconnectedCallback() {
|
|
600
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
601
|
+
}
|
|
602
|
+
attributeChangedCallback() {
|
|
603
|
+
this.ctrl?.update(Tn(this));
|
|
604
|
+
}
|
|
605
|
+
};
|
|
606
|
+
typeof customElements < "u" && !customElements.get("cos-dandelion-field") && customElements.define(wn, En);
|
|
607
|
+
//#endregion
|
|
608
|
+
//#region src/components/diceRoll/element/index.ts
|
|
609
|
+
var Dn = "cos-dice-roll";
|
|
610
|
+
function _(e) {
|
|
611
|
+
let t = {};
|
|
612
|
+
return s(t, e, "rollText", "roll-text"), s(t, e, "rollingText", "rolling-text"), s(t, e, "resultPrefix", "result-prefix"), i(t, e, "sides", "sides"), o(t, e, "sides", "_sides"), t.onRoll = n(e, "roll"), t;
|
|
613
|
+
}
|
|
614
|
+
var On = class extends HTMLElement {
|
|
615
|
+
ctrl = null;
|
|
616
|
+
_sides;
|
|
617
|
+
get sides() {
|
|
618
|
+
return this._sides;
|
|
619
|
+
}
|
|
620
|
+
set sides(e) {
|
|
621
|
+
this._sides = e, this.ctrl?.update(_(this));
|
|
622
|
+
}
|
|
623
|
+
static get observedAttributes() {
|
|
624
|
+
return [
|
|
625
|
+
"sides",
|
|
626
|
+
"roll-text",
|
|
627
|
+
"rolling-text",
|
|
628
|
+
"result-prefix"
|
|
629
|
+
];
|
|
630
|
+
}
|
|
631
|
+
connectedCallback() {
|
|
632
|
+
this.ctrl = ae(this, _(this));
|
|
633
|
+
}
|
|
634
|
+
disconnectedCallback() {
|
|
635
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
636
|
+
}
|
|
637
|
+
attributeChangedCallback() {
|
|
638
|
+
this.ctrl?.update(_(this));
|
|
639
|
+
}
|
|
640
|
+
};
|
|
641
|
+
typeof customElements < "u" && !customElements.get("cos-dice-roll") && customElements.define(Dn, On);
|
|
642
|
+
//#endregion
|
|
643
|
+
//#region src/components/dnaHelix/element/index.ts
|
|
644
|
+
var kn = "cos-dna-helix";
|
|
645
|
+
function v(e) {
|
|
646
|
+
let t = {};
|
|
647
|
+
return s(t, e, "color", "color"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "speed", "speed"), t;
|
|
648
|
+
}
|
|
649
|
+
var An = class extends HTMLElement {
|
|
650
|
+
ctrl = null;
|
|
651
|
+
static get observedAttributes() {
|
|
652
|
+
return [
|
|
653
|
+
"width",
|
|
654
|
+
"height",
|
|
655
|
+
"speed",
|
|
656
|
+
"color"
|
|
657
|
+
];
|
|
658
|
+
}
|
|
659
|
+
connectedCallback() {
|
|
660
|
+
this.ctrl = t(this, v(this));
|
|
661
|
+
}
|
|
662
|
+
disconnectedCallback() {
|
|
663
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
664
|
+
}
|
|
665
|
+
attributeChangedCallback() {
|
|
666
|
+
this.ctrl?.update(v(this));
|
|
667
|
+
}
|
|
668
|
+
};
|
|
669
|
+
typeof customElements < "u" && !customElements.get("cos-dna-helix") && customElements.define(kn, An);
|
|
670
|
+
//#endregion
|
|
671
|
+
//#region src/components/doublePendulum/element/index.ts
|
|
672
|
+
var jn = "cos-double-pendulum";
|
|
673
|
+
function Mn(e) {
|
|
674
|
+
let t = {};
|
|
675
|
+
return s(t, e, "color", "color"), s(t, e, "color2", "color2"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "trailLength", "trail-length"), t;
|
|
676
|
+
}
|
|
677
|
+
var Nn = class extends HTMLElement {
|
|
678
|
+
ctrl = null;
|
|
679
|
+
static get observedAttributes() {
|
|
680
|
+
return [
|
|
681
|
+
"width",
|
|
682
|
+
"height",
|
|
683
|
+
"trail-length",
|
|
684
|
+
"color",
|
|
685
|
+
"color2"
|
|
686
|
+
];
|
|
687
|
+
}
|
|
688
|
+
connectedCallback() {
|
|
689
|
+
this.ctrl = se(this, Mn(this));
|
|
690
|
+
}
|
|
691
|
+
disconnectedCallback() {
|
|
692
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
693
|
+
}
|
|
694
|
+
attributeChangedCallback() {
|
|
695
|
+
this.ctrl?.update(Mn(this));
|
|
696
|
+
}
|
|
697
|
+
};
|
|
698
|
+
typeof customElements < "u" && !customElements.get("cos-double-pendulum") && customElements.define(jn, Nn);
|
|
699
|
+
//#endregion
|
|
700
|
+
//#region src/components/electricArc/element/index.ts
|
|
701
|
+
var Pn = "cos-electric-arc";
|
|
702
|
+
function Fn(e) {
|
|
703
|
+
let t = {};
|
|
704
|
+
return s(t, e, "color", "color"), a(t, e, "width", "width"), a(t, e, "height", "height"), t;
|
|
705
|
+
}
|
|
706
|
+
var In = class extends HTMLElement {
|
|
707
|
+
ctrl = null;
|
|
708
|
+
static get observedAttributes() {
|
|
709
|
+
return [
|
|
710
|
+
"width",
|
|
711
|
+
"height",
|
|
712
|
+
"color"
|
|
713
|
+
];
|
|
714
|
+
}
|
|
715
|
+
connectedCallback() {
|
|
716
|
+
this.ctrl = ct(this, Fn(this));
|
|
717
|
+
}
|
|
718
|
+
disconnectedCallback() {
|
|
719
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
720
|
+
}
|
|
721
|
+
attributeChangedCallback() {
|
|
722
|
+
this.ctrl?.update(Fn(this));
|
|
723
|
+
}
|
|
724
|
+
};
|
|
725
|
+
typeof customElements < "u" && !customElements.get("cos-electric-arc") && customElements.define(Pn, In);
|
|
726
|
+
//#endregion
|
|
727
|
+
//#region src/components/fireworks/element/index.ts
|
|
728
|
+
var Ln = "cos-fireworks";
|
|
729
|
+
function Rn(e) {
|
|
730
|
+
let t = {};
|
|
731
|
+
return s(t, e, "hint", "hint"), a(t, e, "width", "width"), a(t, e, "height", "height"), r(t, e, "fill", "fill", "presence"), r(t, e, "auto", "auto", "optional-true"), r(t, e, "interactive", "interactive", "optional-true"), t.onComplete = n(e, "complete"), t;
|
|
732
|
+
}
|
|
733
|
+
var zn = class extends HTMLElement {
|
|
734
|
+
ctrl = null;
|
|
735
|
+
static get observedAttributes() {
|
|
736
|
+
return [
|
|
737
|
+
"width",
|
|
738
|
+
"height",
|
|
739
|
+
"fill",
|
|
740
|
+
"auto",
|
|
741
|
+
"interactive",
|
|
742
|
+
"hint"
|
|
743
|
+
];
|
|
744
|
+
}
|
|
745
|
+
connectedCallback() {
|
|
746
|
+
this.ctrl = Ne(this, Rn(this));
|
|
747
|
+
}
|
|
748
|
+
disconnectedCallback() {
|
|
749
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
750
|
+
}
|
|
751
|
+
attributeChangedCallback() {
|
|
752
|
+
this.ctrl?.update(Rn(this));
|
|
753
|
+
}
|
|
754
|
+
launch(e) {
|
|
755
|
+
return this.ctrl?.launch(e);
|
|
756
|
+
}
|
|
757
|
+
};
|
|
758
|
+
typeof customElements < "u" && !customElements.get("cos-fireworks") && customElements.define(Ln, zn);
|
|
759
|
+
//#endregion
|
|
760
|
+
//#region src/components/flipCard/element/index.ts
|
|
761
|
+
var Bn = "cos-flip-card";
|
|
762
|
+
function Vn(e) {
|
|
763
|
+
let t = {};
|
|
764
|
+
return s(t, e, "frontTitle", "front-title"), s(t, e, "frontSubtitle", "front-subtitle"), s(t, e, "backTitle", "back-title"), s(t, e, "backSubtitle", "back-subtitle"), r(t, e, "flipped", "flipped", "optional-undefined"), r(t, e, "defaultFlipped", "default-flipped", "optional-true"), r(t, e, "disabled", "disabled", "optional-true"), t.onReveal = n(e, "reveal"), t.onFlipChange = n(e, "flip-change"), t;
|
|
765
|
+
}
|
|
766
|
+
var Hn = class extends HTMLElement {
|
|
767
|
+
ctrl = null;
|
|
768
|
+
static get observedAttributes() {
|
|
769
|
+
return [
|
|
770
|
+
"front-title",
|
|
771
|
+
"front-subtitle",
|
|
772
|
+
"back-title",
|
|
773
|
+
"back-subtitle",
|
|
774
|
+
"flipped",
|
|
775
|
+
"default-flipped",
|
|
776
|
+
"disabled"
|
|
777
|
+
];
|
|
778
|
+
}
|
|
779
|
+
connectedCallback() {
|
|
780
|
+
this.ctrl = Et(this, Vn(this));
|
|
781
|
+
}
|
|
782
|
+
disconnectedCallback() {
|
|
783
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
784
|
+
}
|
|
785
|
+
attributeChangedCallback() {
|
|
786
|
+
this.ctrl?.update(Vn(this));
|
|
787
|
+
}
|
|
788
|
+
flip() {
|
|
789
|
+
return this.ctrl?.flip();
|
|
790
|
+
}
|
|
791
|
+
reset() {
|
|
792
|
+
return this.ctrl?.reset();
|
|
793
|
+
}
|
|
794
|
+
};
|
|
795
|
+
typeof customElements < "u" && !customElements.get("cos-flip-card") && customElements.define(Bn, Hn);
|
|
796
|
+
//#endregion
|
|
797
|
+
//#region src/components/flipCounter/element/index.ts
|
|
798
|
+
var Un = "cos-flip-counter";
|
|
799
|
+
function Wn(e) {
|
|
800
|
+
let t = {};
|
|
801
|
+
return s(t, e, "color", "color"), a(t, e, "value", "value"), a(t, e, "digits", "digits"), a(t, e, "duration", "duration"), a(t, e, "autoInterval", "auto-interval"), r(t, e, "auto", "auto", "optional-true"), t;
|
|
802
|
+
}
|
|
803
|
+
var Gn = class extends HTMLElement {
|
|
804
|
+
ctrl = null;
|
|
805
|
+
static get observedAttributes() {
|
|
806
|
+
return [
|
|
807
|
+
"value",
|
|
808
|
+
"digits",
|
|
809
|
+
"color",
|
|
810
|
+
"duration",
|
|
811
|
+
"auto",
|
|
812
|
+
"auto-interval"
|
|
813
|
+
];
|
|
814
|
+
}
|
|
815
|
+
connectedCallback() {
|
|
816
|
+
this.ctrl = re(this, Wn(this));
|
|
817
|
+
}
|
|
818
|
+
disconnectedCallback() {
|
|
819
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
820
|
+
}
|
|
821
|
+
attributeChangedCallback() {
|
|
822
|
+
this.ctrl?.update(Wn(this));
|
|
823
|
+
}
|
|
824
|
+
};
|
|
825
|
+
typeof customElements < "u" && !customElements.get("cos-flip-counter") && customElements.define(Un, Gn);
|
|
826
|
+
//#endregion
|
|
827
|
+
//#region src/components/fuzzyText/element/index.ts
|
|
828
|
+
var Kn = "cos-fuzzy-text";
|
|
829
|
+
function qn(e) {
|
|
830
|
+
let t = {};
|
|
831
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), a(t, e, "fontSize", "font-size"), a(t, e, "fontWeight", "font-weight"), a(t, e, "baseIntensity", "base-intensity"), a(t, e, "hoverIntensity", "hover-intensity"), a(t, e, "fuzzRange", "fuzz-range"), r(t, e, "enableHover", "enable-hover", "presence"), t;
|
|
832
|
+
}
|
|
833
|
+
var Jn = class extends HTMLElement {
|
|
834
|
+
ctrl = null;
|
|
835
|
+
static get observedAttributes() {
|
|
836
|
+
return [
|
|
837
|
+
"text",
|
|
838
|
+
"font-size",
|
|
839
|
+
"font-weight",
|
|
840
|
+
"color",
|
|
841
|
+
"base-intensity",
|
|
842
|
+
"hover-intensity",
|
|
843
|
+
"enable-hover",
|
|
844
|
+
"fuzz-range"
|
|
845
|
+
];
|
|
846
|
+
}
|
|
847
|
+
connectedCallback() {
|
|
848
|
+
this.ctrl = je(this, qn(this));
|
|
849
|
+
}
|
|
850
|
+
disconnectedCallback() {
|
|
851
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
852
|
+
}
|
|
853
|
+
attributeChangedCallback() {
|
|
854
|
+
this.ctrl?.update(qn(this));
|
|
855
|
+
}
|
|
856
|
+
};
|
|
857
|
+
typeof customElements < "u" && !customElements.get("cos-fuzzy-text") && customElements.define(Kn, Jn);
|
|
858
|
+
//#endregion
|
|
859
|
+
//#region src/components/gameOfLife/element/index.ts
|
|
860
|
+
var Yn = "cos-game-of-life";
|
|
861
|
+
function y(e) {
|
|
862
|
+
let t = {};
|
|
863
|
+
return s(t, e, "aliveColor", "alive-color"), s(t, e, "gridColor", "grid-color"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "cellSize", "cell-size"), a(t, e, "speed", "speed"), a(t, e, "density", "density"), i(t, e, "labels", "labels"), o(t, e, "labels", "_labels"), t;
|
|
864
|
+
}
|
|
865
|
+
var Xn = class extends HTMLElement {
|
|
866
|
+
ctrl = null;
|
|
867
|
+
_labels;
|
|
868
|
+
get labels() {
|
|
869
|
+
return this._labels;
|
|
870
|
+
}
|
|
871
|
+
set labels(e) {
|
|
872
|
+
this._labels = e, this.ctrl?.update(y(this));
|
|
873
|
+
}
|
|
874
|
+
static get observedAttributes() {
|
|
875
|
+
return [
|
|
876
|
+
"width",
|
|
877
|
+
"height",
|
|
878
|
+
"cell-size",
|
|
879
|
+
"speed",
|
|
880
|
+
"density",
|
|
881
|
+
"alive-color",
|
|
882
|
+
"grid-color",
|
|
883
|
+
"labels"
|
|
884
|
+
];
|
|
885
|
+
}
|
|
886
|
+
connectedCallback() {
|
|
887
|
+
this.ctrl = qe(this, y(this));
|
|
888
|
+
}
|
|
889
|
+
disconnectedCallback() {
|
|
890
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
891
|
+
}
|
|
892
|
+
attributeChangedCallback() {
|
|
893
|
+
this.ctrl?.update(y(this));
|
|
894
|
+
}
|
|
895
|
+
};
|
|
896
|
+
typeof customElements < "u" && !customElements.get("cos-game-of-life") && customElements.define(Yn, Xn);
|
|
897
|
+
//#endregion
|
|
898
|
+
//#region src/components/glitchText/element/index.ts
|
|
899
|
+
var Zn = "cos-glitch-text";
|
|
900
|
+
function Qn(e) {
|
|
901
|
+
let t = {};
|
|
902
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), s(t, e, "glitchColor1", "glitch-color1"), s(t, e, "glitchColor2", "glitch-color2"), a(t, e, "fontSize", "font-size"), t;
|
|
903
|
+
}
|
|
904
|
+
var $n = class extends HTMLElement {
|
|
905
|
+
ctrl = null;
|
|
906
|
+
static get observedAttributes() {
|
|
907
|
+
return [
|
|
908
|
+
"text",
|
|
909
|
+
"color",
|
|
910
|
+
"glitch-color1",
|
|
911
|
+
"glitch-color2",
|
|
912
|
+
"font-size"
|
|
913
|
+
];
|
|
914
|
+
}
|
|
915
|
+
connectedCallback() {
|
|
916
|
+
this.ctrl = At(this, Qn(this));
|
|
917
|
+
}
|
|
918
|
+
disconnectedCallback() {
|
|
919
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
920
|
+
}
|
|
921
|
+
attributeChangedCallback() {
|
|
922
|
+
this.ctrl?.update(Qn(this));
|
|
923
|
+
}
|
|
924
|
+
};
|
|
925
|
+
typeof customElements < "u" && !customElements.get("cos-glitch-text") && customElements.define(Zn, $n);
|
|
926
|
+
//#endregion
|
|
927
|
+
//#region src/components/gradientFlow/element/index.ts
|
|
928
|
+
var er = "cos-gradient-flow";
|
|
929
|
+
function b(e) {
|
|
930
|
+
let t = {};
|
|
931
|
+
return s(t, e, "text", "text"), a(t, e, "fontSize", "font-size"), i(t, e, "colors", "colors"), o(t, e, "colors", "_colors"), t;
|
|
932
|
+
}
|
|
933
|
+
var tr = class extends HTMLElement {
|
|
934
|
+
ctrl = null;
|
|
935
|
+
_colors;
|
|
936
|
+
get colors() {
|
|
937
|
+
return this._colors;
|
|
938
|
+
}
|
|
939
|
+
set colors(e) {
|
|
940
|
+
this._colors = e, this.ctrl?.update(b(this));
|
|
941
|
+
}
|
|
942
|
+
static get observedAttributes() {
|
|
943
|
+
return [
|
|
944
|
+
"text",
|
|
945
|
+
"colors",
|
|
946
|
+
"font-size"
|
|
947
|
+
];
|
|
948
|
+
}
|
|
949
|
+
connectedCallback() {
|
|
950
|
+
this.ctrl = Ot(this, b(this));
|
|
951
|
+
}
|
|
952
|
+
disconnectedCallback() {
|
|
953
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
954
|
+
}
|
|
955
|
+
attributeChangedCallback() {
|
|
956
|
+
this.ctrl?.update(b(this));
|
|
957
|
+
}
|
|
958
|
+
};
|
|
959
|
+
typeof customElements < "u" && !customElements.get("cos-gradient-flow") && customElements.define(er, tr);
|
|
960
|
+
//#endregion
|
|
961
|
+
//#region src/components/gravityBalls/element/index.ts
|
|
962
|
+
var nr = "cos-gravity-balls";
|
|
963
|
+
function rr(e) {
|
|
964
|
+
let t = {};
|
|
965
|
+
return a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "ballCount", "ball-count"), t;
|
|
966
|
+
}
|
|
967
|
+
var ir = class extends HTMLElement {
|
|
968
|
+
ctrl = null;
|
|
969
|
+
static get observedAttributes() {
|
|
970
|
+
return [
|
|
971
|
+
"width",
|
|
972
|
+
"height",
|
|
973
|
+
"ball-count"
|
|
974
|
+
];
|
|
975
|
+
}
|
|
976
|
+
connectedCallback() {
|
|
977
|
+
this.ctrl = wt(this, rr(this));
|
|
978
|
+
}
|
|
979
|
+
disconnectedCallback() {
|
|
980
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
981
|
+
}
|
|
982
|
+
attributeChangedCallback() {
|
|
983
|
+
this.ctrl?.update(rr(this));
|
|
984
|
+
}
|
|
985
|
+
};
|
|
986
|
+
typeof customElements < "u" && !customElements.get("cos-gravity-balls") && customElements.define(nr, ir);
|
|
987
|
+
//#endregion
|
|
988
|
+
//#region src/components/holographicCard/element/index.ts
|
|
989
|
+
var ar = "cos-holographic-card";
|
|
990
|
+
function or(e) {
|
|
991
|
+
let t = {};
|
|
992
|
+
return s(t, e, "title", "title"), s(t, e, "subtitle", "subtitle"), s(t, e, "image", "image"), t;
|
|
993
|
+
}
|
|
994
|
+
var sr = class extends HTMLElement {
|
|
995
|
+
ctrl = null;
|
|
996
|
+
static get observedAttributes() {
|
|
997
|
+
return [
|
|
998
|
+
"title",
|
|
999
|
+
"subtitle",
|
|
1000
|
+
"image"
|
|
1001
|
+
];
|
|
1002
|
+
}
|
|
1003
|
+
connectedCallback() {
|
|
1004
|
+
this.ctrl = We(this, or(this));
|
|
1005
|
+
}
|
|
1006
|
+
disconnectedCallback() {
|
|
1007
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1008
|
+
}
|
|
1009
|
+
attributeChangedCallback() {
|
|
1010
|
+
this.ctrl?.update(or(this));
|
|
1011
|
+
}
|
|
1012
|
+
};
|
|
1013
|
+
typeof customElements < "u" && !customElements.get("cos-holographic-card") && customElements.define(ar, sr);
|
|
1014
|
+
//#endregion
|
|
1015
|
+
//#region src/components/inkBloom/element/index.ts
|
|
1016
|
+
var cr = "cos-ink-bloom";
|
|
1017
|
+
function lr(e) {
|
|
1018
|
+
let t = {};
|
|
1019
|
+
return s(t, e, "inkColor", "ink-color"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "speed", "speed"), r(t, e, "fill", "fill", "presence"), r(t, e, "interactive", "interactive", "optional-true"), t;
|
|
1020
|
+
}
|
|
1021
|
+
var ur = class extends HTMLElement {
|
|
1022
|
+
ctrl = null;
|
|
1023
|
+
static get observedAttributes() {
|
|
1024
|
+
return [
|
|
1025
|
+
"width",
|
|
1026
|
+
"height",
|
|
1027
|
+
"fill",
|
|
1028
|
+
"ink-color",
|
|
1029
|
+
"speed",
|
|
1030
|
+
"interactive",
|
|
1031
|
+
"aria-label"
|
|
1032
|
+
];
|
|
1033
|
+
}
|
|
1034
|
+
connectedCallback() {
|
|
1035
|
+
this.ctrl = Ae(this, lr(this));
|
|
1036
|
+
}
|
|
1037
|
+
disconnectedCallback() {
|
|
1038
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1039
|
+
}
|
|
1040
|
+
attributeChangedCallback() {
|
|
1041
|
+
this.ctrl?.update(lr(this));
|
|
1042
|
+
}
|
|
1043
|
+
};
|
|
1044
|
+
typeof customElements < "u" && !customElements.get("cos-ink-bloom") && customElements.define(cr, ur);
|
|
1045
|
+
//#endregion
|
|
1046
|
+
//#region src/components/lavaBubble/element/index.ts
|
|
1047
|
+
var dr = "cos-lava-bubble";
|
|
1048
|
+
function fr(e) {
|
|
1049
|
+
let t = {};
|
|
1050
|
+
return s(t, e, "ariaLabel", "aria-label"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "heat", "heat"), a(t, e, "speed", "speed"), a(t, e, "activity", "activity"), r(t, e, "fill", "fill", "presence"), r(t, e, "autoSpawn", "auto-spawn", "presence"), r(t, e, "interactive", "interactive", "optional-true"), t;
|
|
1051
|
+
}
|
|
1052
|
+
var pr = class extends HTMLElement {
|
|
1053
|
+
ctrl = null;
|
|
1054
|
+
static get observedAttributes() {
|
|
1055
|
+
return [
|
|
1056
|
+
"width",
|
|
1057
|
+
"height",
|
|
1058
|
+
"fill",
|
|
1059
|
+
"heat",
|
|
1060
|
+
"speed",
|
|
1061
|
+
"auto-spawn",
|
|
1062
|
+
"activity",
|
|
1063
|
+
"interactive",
|
|
1064
|
+
"aria-label"
|
|
1065
|
+
];
|
|
1066
|
+
}
|
|
1067
|
+
connectedCallback() {
|
|
1068
|
+
this.ctrl = Nt(this, fr(this));
|
|
1069
|
+
}
|
|
1070
|
+
disconnectedCallback() {
|
|
1071
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1072
|
+
}
|
|
1073
|
+
attributeChangedCallback() {
|
|
1074
|
+
this.ctrl?.update(fr(this));
|
|
1075
|
+
}
|
|
1076
|
+
};
|
|
1077
|
+
typeof customElements < "u" && !customElements.get("cos-lava-bubble") && customElements.define(dr, pr);
|
|
1078
|
+
//#endregion
|
|
1079
|
+
//#region src/components/liquidGlass/element/index.ts
|
|
1080
|
+
var mr = "cos-liquid-glass";
|
|
1081
|
+
function x(e) {
|
|
1082
|
+
let t = {};
|
|
1083
|
+
return s(t, e, "defaultContent", "default-content"), a(t, e, "blur", "blur"), a(t, e, "borderRadius", "border-radius"), i(t, e, "slotElement", "slot-element"), o(t, e, "slotElement", "_slotElement"), t;
|
|
1084
|
+
}
|
|
1085
|
+
var hr = class extends HTMLElement {
|
|
1086
|
+
ctrl = null;
|
|
1087
|
+
_slotElement;
|
|
1088
|
+
get slotElement() {
|
|
1089
|
+
return this._slotElement;
|
|
1090
|
+
}
|
|
1091
|
+
set slotElement(e) {
|
|
1092
|
+
this._slotElement = e, this.ctrl?.update(x(this));
|
|
1093
|
+
}
|
|
1094
|
+
static get observedAttributes() {
|
|
1095
|
+
return [
|
|
1096
|
+
"blur",
|
|
1097
|
+
"border-radius",
|
|
1098
|
+
"slot-element",
|
|
1099
|
+
"default-content"
|
|
1100
|
+
];
|
|
1101
|
+
}
|
|
1102
|
+
connectedCallback() {
|
|
1103
|
+
this.ctrl = dt(this, x(this));
|
|
1104
|
+
}
|
|
1105
|
+
disconnectedCallback() {
|
|
1106
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1107
|
+
}
|
|
1108
|
+
attributeChangedCallback() {
|
|
1109
|
+
this.ctrl?.update(x(this));
|
|
1110
|
+
}
|
|
1111
|
+
getSlot() {
|
|
1112
|
+
return this.ctrl?.getSlot();
|
|
1113
|
+
}
|
|
1114
|
+
};
|
|
1115
|
+
typeof customElements < "u" && !customElements.get("cos-liquid-glass") && customElements.define(mr, hr);
|
|
1116
|
+
//#endregion
|
|
1117
|
+
//#region src/components/liquidProgress/element/index.ts
|
|
1118
|
+
var gr = "cos-liquid-progress";
|
|
1119
|
+
function _r(e) {
|
|
1120
|
+
let t = {};
|
|
1121
|
+
return s(t, e, "color", "color"), a(t, e, "value", "value"), a(t, e, "max", "max"), a(t, e, "size", "size"), t;
|
|
1122
|
+
}
|
|
1123
|
+
var vr = class extends HTMLElement {
|
|
1124
|
+
ctrl = null;
|
|
1125
|
+
static get observedAttributes() {
|
|
1126
|
+
return [
|
|
1127
|
+
"value",
|
|
1128
|
+
"max",
|
|
1129
|
+
"size",
|
|
1130
|
+
"color"
|
|
1131
|
+
];
|
|
1132
|
+
}
|
|
1133
|
+
connectedCallback() {
|
|
1134
|
+
this.ctrl = tt(this, _r(this));
|
|
1135
|
+
}
|
|
1136
|
+
disconnectedCallback() {
|
|
1137
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1138
|
+
}
|
|
1139
|
+
attributeChangedCallback() {
|
|
1140
|
+
this.ctrl?.update(_r(this));
|
|
1141
|
+
}
|
|
1142
|
+
};
|
|
1143
|
+
typeof customElements < "u" && !customElements.get("cos-liquid-progress") && customElements.define(gr, vr);
|
|
1144
|
+
//#endregion
|
|
1145
|
+
//#region src/components/lorenzAttractor/element/index.ts
|
|
1146
|
+
var yr = "cos-lorenz-attractor";
|
|
1147
|
+
function br(e) {
|
|
1148
|
+
let t = {};
|
|
1149
|
+
return s(t, e, "color", "color"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "speed", "speed"), a(t, e, "pointCount", "point-count"), t;
|
|
1150
|
+
}
|
|
1151
|
+
var xr = class extends HTMLElement {
|
|
1152
|
+
ctrl = null;
|
|
1153
|
+
static get observedAttributes() {
|
|
1154
|
+
return [
|
|
1155
|
+
"width",
|
|
1156
|
+
"height",
|
|
1157
|
+
"speed",
|
|
1158
|
+
"color",
|
|
1159
|
+
"point-count"
|
|
1160
|
+
];
|
|
1161
|
+
}
|
|
1162
|
+
connectedCallback() {
|
|
1163
|
+
this.ctrl = rt(this, br(this));
|
|
1164
|
+
}
|
|
1165
|
+
disconnectedCallback() {
|
|
1166
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1167
|
+
}
|
|
1168
|
+
attributeChangedCallback() {
|
|
1169
|
+
this.ctrl?.update(br(this));
|
|
1170
|
+
}
|
|
1171
|
+
};
|
|
1172
|
+
typeof customElements < "u" && !customElements.get("cos-lorenz-attractor") && customElements.define(yr, xr);
|
|
1173
|
+
//#endregion
|
|
1174
|
+
//#region src/components/magneticButton/element/index.ts
|
|
1175
|
+
var Sr = "cos-magnetic-button";
|
|
1176
|
+
function S(e) {
|
|
1177
|
+
let t = {};
|
|
1178
|
+
return s(t, e, "color", "color"), s(t, e, "defaultContent", "default-content"), a(t, e, "strength", "strength"), i(t, e, "slotElement", "slot-element"), o(t, e, "slotElement", "_slotElement"), t;
|
|
1179
|
+
}
|
|
1180
|
+
var Cr = class extends HTMLElement {
|
|
1181
|
+
ctrl = null;
|
|
1182
|
+
_slotElement;
|
|
1183
|
+
get slotElement() {
|
|
1184
|
+
return this._slotElement;
|
|
1185
|
+
}
|
|
1186
|
+
set slotElement(e) {
|
|
1187
|
+
this._slotElement = e, this.ctrl?.update(S(this));
|
|
1188
|
+
}
|
|
1189
|
+
static get observedAttributes() {
|
|
1190
|
+
return [
|
|
1191
|
+
"strength",
|
|
1192
|
+
"color",
|
|
1193
|
+
"slot-element",
|
|
1194
|
+
"default-content"
|
|
1195
|
+
];
|
|
1196
|
+
}
|
|
1197
|
+
connectedCallback() {
|
|
1198
|
+
this.ctrl = gt(this, S(this));
|
|
1199
|
+
}
|
|
1200
|
+
disconnectedCallback() {
|
|
1201
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1202
|
+
}
|
|
1203
|
+
attributeChangedCallback() {
|
|
1204
|
+
this.ctrl?.update(S(this));
|
|
1205
|
+
}
|
|
1206
|
+
getSlot() {
|
|
1207
|
+
return this.ctrl?.getSlot();
|
|
1208
|
+
}
|
|
1209
|
+
};
|
|
1210
|
+
typeof customElements < "u" && !customElements.get("cos-magnetic-button") && customElements.define(Sr, Cr);
|
|
1211
|
+
//#endregion
|
|
1212
|
+
//#region src/components/matrixRain/element/index.ts
|
|
1213
|
+
var wr = "cos-matrix-rain";
|
|
1214
|
+
function Tr(e) {
|
|
1215
|
+
let t = {};
|
|
1216
|
+
return s(t, e, "color", "color"), s(t, e, "title", "title"), s(t, e, "subtitle", "subtitle"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "density", "density"), r(t, e, "fill", "fill", "presence"), r(t, e, "showOverlay", "show-overlay", "presence"), t;
|
|
1217
|
+
}
|
|
1218
|
+
var Er = class extends HTMLElement {
|
|
1219
|
+
ctrl = null;
|
|
1220
|
+
static get observedAttributes() {
|
|
1221
|
+
return [
|
|
1222
|
+
"width",
|
|
1223
|
+
"height",
|
|
1224
|
+
"fill",
|
|
1225
|
+
"density",
|
|
1226
|
+
"color",
|
|
1227
|
+
"show-overlay",
|
|
1228
|
+
"title",
|
|
1229
|
+
"subtitle"
|
|
1230
|
+
];
|
|
1231
|
+
}
|
|
1232
|
+
connectedCallback() {
|
|
1233
|
+
this.ctrl = $e(this, Tr(this));
|
|
1234
|
+
}
|
|
1235
|
+
disconnectedCallback() {
|
|
1236
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1237
|
+
}
|
|
1238
|
+
attributeChangedCallback() {
|
|
1239
|
+
this.ctrl?.update(Tr(this));
|
|
1240
|
+
}
|
|
1241
|
+
};
|
|
1242
|
+
typeof customElements < "u" && !customElements.get("cos-matrix-rain") && customElements.define(wr, Er);
|
|
1243
|
+
//#endregion
|
|
1244
|
+
//#region src/components/mazeGenerator/element/index.ts
|
|
1245
|
+
var Dr = "cos-maze-generator";
|
|
1246
|
+
function Or(e) {
|
|
1247
|
+
let t = {};
|
|
1248
|
+
return a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "cellSize", "cell-size"), t.onGenerated = n(e, "generated"), t;
|
|
1249
|
+
}
|
|
1250
|
+
var kr = class extends HTMLElement {
|
|
1251
|
+
ctrl = null;
|
|
1252
|
+
static get observedAttributes() {
|
|
1253
|
+
return [
|
|
1254
|
+
"width",
|
|
1255
|
+
"height",
|
|
1256
|
+
"cell-size"
|
|
1257
|
+
];
|
|
1258
|
+
}
|
|
1259
|
+
connectedCallback() {
|
|
1260
|
+
this.ctrl = Ct(this, Or(this));
|
|
1261
|
+
}
|
|
1262
|
+
disconnectedCallback() {
|
|
1263
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1264
|
+
}
|
|
1265
|
+
attributeChangedCallback() {
|
|
1266
|
+
this.ctrl?.update(Or(this));
|
|
1267
|
+
}
|
|
1268
|
+
};
|
|
1269
|
+
typeof customElements < "u" && !customElements.get("cos-maze-generator") && customElements.define(Dr, kr);
|
|
1270
|
+
//#endregion
|
|
1271
|
+
//#region src/components/metaballPool/element/index.ts
|
|
1272
|
+
var Ar = "cos-metaball-pool";
|
|
1273
|
+
function jr(e) {
|
|
1274
|
+
let t = {};
|
|
1275
|
+
return s(t, e, "color", "color"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "ballCount", "ball-count"), t;
|
|
1276
|
+
}
|
|
1277
|
+
var Mr = class extends HTMLElement {
|
|
1278
|
+
ctrl = null;
|
|
1279
|
+
static get observedAttributes() {
|
|
1280
|
+
return [
|
|
1281
|
+
"width",
|
|
1282
|
+
"height",
|
|
1283
|
+
"ball-count",
|
|
1284
|
+
"color"
|
|
1285
|
+
];
|
|
1286
|
+
}
|
|
1287
|
+
connectedCallback() {
|
|
1288
|
+
this.ctrl = Xe(this, jr(this));
|
|
1289
|
+
}
|
|
1290
|
+
disconnectedCallback() {
|
|
1291
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1292
|
+
}
|
|
1293
|
+
attributeChangedCallback() {
|
|
1294
|
+
this.ctrl?.update(jr(this));
|
|
1295
|
+
}
|
|
1296
|
+
};
|
|
1297
|
+
typeof customElements < "u" && !customElements.get("cos-metaball-pool") && customElements.define(Ar, Mr);
|
|
1298
|
+
//#endregion
|
|
1299
|
+
//#region src/components/meteorRain/element/index.ts
|
|
1300
|
+
var Nr = "cos-meteor-rain";
|
|
1301
|
+
function Pr(e) {
|
|
1302
|
+
let t = {};
|
|
1303
|
+
return a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "meteorCount", "meteor-count"), r(t, e, "fill", "fill", "presence"), t;
|
|
1304
|
+
}
|
|
1305
|
+
var Fr = class extends HTMLElement {
|
|
1306
|
+
ctrl = null;
|
|
1307
|
+
static get observedAttributes() {
|
|
1308
|
+
return [
|
|
1309
|
+
"width",
|
|
1310
|
+
"height",
|
|
1311
|
+
"fill",
|
|
1312
|
+
"meteor-count"
|
|
1313
|
+
];
|
|
1314
|
+
}
|
|
1315
|
+
connectedCallback() {
|
|
1316
|
+
this.ctrl = ut(this, Pr(this));
|
|
1317
|
+
}
|
|
1318
|
+
disconnectedCallback() {
|
|
1319
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1320
|
+
}
|
|
1321
|
+
attributeChangedCallback() {
|
|
1322
|
+
this.ctrl?.update(Pr(this));
|
|
1323
|
+
}
|
|
1324
|
+
};
|
|
1325
|
+
typeof customElements < "u" && !customElements.get("cos-meteor-rain") && customElements.define(Nr, Fr);
|
|
1326
|
+
//#endregion
|
|
1327
|
+
//#region src/components/neonText/element/index.ts
|
|
1328
|
+
var Ir = "cos-neon-text";
|
|
1329
|
+
function Lr(e) {
|
|
1330
|
+
let t = {};
|
|
1331
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), a(t, e, "fontSize", "font-size"), r(t, e, "flicker", "flicker", "presence"), t;
|
|
1332
|
+
}
|
|
1333
|
+
var Rr = class extends HTMLElement {
|
|
1334
|
+
ctrl = null;
|
|
1335
|
+
static get observedAttributes() {
|
|
1336
|
+
return [
|
|
1337
|
+
"text",
|
|
1338
|
+
"color",
|
|
1339
|
+
"font-size",
|
|
1340
|
+
"flicker"
|
|
1341
|
+
];
|
|
1342
|
+
}
|
|
1343
|
+
connectedCallback() {
|
|
1344
|
+
this.ctrl = bt(this, Lr(this));
|
|
1345
|
+
}
|
|
1346
|
+
disconnectedCallback() {
|
|
1347
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1348
|
+
}
|
|
1349
|
+
attributeChangedCallback() {
|
|
1350
|
+
this.ctrl?.update(Lr(this));
|
|
1351
|
+
}
|
|
1352
|
+
};
|
|
1353
|
+
typeof customElements < "u" && !customElements.get("cos-neon-text") && customElements.define(Ir, Rr);
|
|
1354
|
+
//#endregion
|
|
1355
|
+
//#region src/components/networkGraph/element/index.ts
|
|
1356
|
+
var zr = "cos-network-graph";
|
|
1357
|
+
function C(e) {
|
|
1358
|
+
let t = {};
|
|
1359
|
+
return s(t, e, "linkColor", "link-color"), s(t, e, "hint", "hint"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "nodeRadius", "node-radius"), i(t, e, "nodes", "nodes"), o(t, e, "nodes", "_nodes"), i(t, e, "edges", "edges"), o(t, e, "edges", "_edges"), t;
|
|
1360
|
+
}
|
|
1361
|
+
var Br = class extends HTMLElement {
|
|
1362
|
+
ctrl = null;
|
|
1363
|
+
_nodes;
|
|
1364
|
+
get nodes() {
|
|
1365
|
+
return this._nodes;
|
|
1366
|
+
}
|
|
1367
|
+
set nodes(e) {
|
|
1368
|
+
this._nodes = e, this.ctrl?.update(C(this));
|
|
1369
|
+
}
|
|
1370
|
+
_edges;
|
|
1371
|
+
get edges() {
|
|
1372
|
+
return this._edges;
|
|
1373
|
+
}
|
|
1374
|
+
set edges(e) {
|
|
1375
|
+
this._edges = e, this.ctrl?.update(C(this));
|
|
1376
|
+
}
|
|
1377
|
+
static get observedAttributes() {
|
|
1378
|
+
return [
|
|
1379
|
+
"width",
|
|
1380
|
+
"height",
|
|
1381
|
+
"nodes",
|
|
1382
|
+
"edges",
|
|
1383
|
+
"link-color",
|
|
1384
|
+
"node-radius",
|
|
1385
|
+
"hint"
|
|
1386
|
+
];
|
|
1387
|
+
}
|
|
1388
|
+
connectedCallback() {
|
|
1389
|
+
this.ctrl = Ye(this, C(this));
|
|
1390
|
+
}
|
|
1391
|
+
disconnectedCallback() {
|
|
1392
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1393
|
+
}
|
|
1394
|
+
attributeChangedCallback() {
|
|
1395
|
+
this.ctrl?.update(C(this));
|
|
1396
|
+
}
|
|
1397
|
+
};
|
|
1398
|
+
typeof customElements < "u" && !customElements.get("cos-network-graph") && customElements.define(zr, Br);
|
|
1399
|
+
//#endregion
|
|
1400
|
+
//#region src/components/newtonCradle/element/index.ts
|
|
1401
|
+
var Vr = "cos-newton-cradle";
|
|
1402
|
+
function w(e) {
|
|
1403
|
+
let t = {};
|
|
1404
|
+
return s(t, e, "color", "color"), a(t, e, "ballCount", "ball-count"), a(t, e, "width", "width"), a(t, e, "height", "height"), t;
|
|
1405
|
+
}
|
|
1406
|
+
var Hr = class extends HTMLElement {
|
|
1407
|
+
ctrl = null;
|
|
1408
|
+
static get observedAttributes() {
|
|
1409
|
+
return [
|
|
1410
|
+
"ball-count",
|
|
1411
|
+
"color",
|
|
1412
|
+
"width",
|
|
1413
|
+
"height"
|
|
1414
|
+
];
|
|
1415
|
+
}
|
|
1416
|
+
connectedCallback() {
|
|
1417
|
+
this.ctrl = ht(this, w(this));
|
|
1418
|
+
}
|
|
1419
|
+
disconnectedCallback() {
|
|
1420
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1421
|
+
}
|
|
1422
|
+
attributeChangedCallback() {
|
|
1423
|
+
this.ctrl?.update(w(this));
|
|
1424
|
+
}
|
|
1425
|
+
};
|
|
1426
|
+
typeof customElements < "u" && !customElements.get("cos-newton-cradle") && customElements.define(Vr, Hr);
|
|
1427
|
+
//#endregion
|
|
1428
|
+
//#region src/components/nineGrid/element/index.ts
|
|
1429
|
+
var Ur = "cos-nine-grid";
|
|
1430
|
+
function T(e) {
|
|
1431
|
+
let t = {};
|
|
1432
|
+
return s(t, e, "buttonText", "button-text"), s(t, e, "spinningText", "spinning-text"), a(t, e, "targetIndex", "target-index"), r(t, e, "disabled", "disabled", "optional-true"), i(t, e, "items", "items"), o(t, e, "items", "_items"), t.onDrawEnd = n(e, "draw-end"), t;
|
|
1433
|
+
}
|
|
1434
|
+
var Wr = class extends HTMLElement {
|
|
1435
|
+
ctrl = null;
|
|
1436
|
+
_items;
|
|
1437
|
+
get items() {
|
|
1438
|
+
return this._items;
|
|
1439
|
+
}
|
|
1440
|
+
set items(e) {
|
|
1441
|
+
this._items = e, this.ctrl?.update(T(this));
|
|
1442
|
+
}
|
|
1443
|
+
static get observedAttributes() {
|
|
1444
|
+
return [
|
|
1445
|
+
"items",
|
|
1446
|
+
"target-index",
|
|
1447
|
+
"button-text",
|
|
1448
|
+
"spinning-text",
|
|
1449
|
+
"disabled"
|
|
1450
|
+
];
|
|
1451
|
+
}
|
|
1452
|
+
connectedCallback() {
|
|
1453
|
+
this.ctrl = Ke(this, T(this));
|
|
1454
|
+
}
|
|
1455
|
+
disconnectedCallback() {
|
|
1456
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1457
|
+
}
|
|
1458
|
+
attributeChangedCallback() {
|
|
1459
|
+
this.ctrl?.update(T(this));
|
|
1460
|
+
}
|
|
1461
|
+
draw(e) {
|
|
1462
|
+
return this.ctrl?.draw(e);
|
|
1463
|
+
}
|
|
1464
|
+
reset() {
|
|
1465
|
+
return this.ctrl?.reset();
|
|
1466
|
+
}
|
|
1467
|
+
};
|
|
1468
|
+
typeof customElements < "u" && !customElements.get("cos-nine-grid") && customElements.define(Ur, Wr);
|
|
1469
|
+
//#endregion
|
|
1470
|
+
//#region src/components/orbitalChart/element/index.ts
|
|
1471
|
+
var Gr = "cos-orbital-chart";
|
|
1472
|
+
function E(e) {
|
|
1473
|
+
let t = {};
|
|
1474
|
+
return a(t, e, "size", "size"), i(t, e, "data", "data"), o(t, e, "data", "_data"), t;
|
|
1475
|
+
}
|
|
1476
|
+
var Kr = class extends HTMLElement {
|
|
1477
|
+
ctrl = null;
|
|
1478
|
+
_data;
|
|
1479
|
+
get data() {
|
|
1480
|
+
return this._data;
|
|
1481
|
+
}
|
|
1482
|
+
set data(e) {
|
|
1483
|
+
this._data = e, this.ctrl?.update(E(this));
|
|
1484
|
+
}
|
|
1485
|
+
static get observedAttributes() {
|
|
1486
|
+
return ["data", "size"];
|
|
1487
|
+
}
|
|
1488
|
+
connectedCallback() {
|
|
1489
|
+
this.ctrl = at(this, E(this));
|
|
1490
|
+
}
|
|
1491
|
+
disconnectedCallback() {
|
|
1492
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1493
|
+
}
|
|
1494
|
+
attributeChangedCallback() {
|
|
1495
|
+
this.ctrl?.update(E(this));
|
|
1496
|
+
}
|
|
1497
|
+
};
|
|
1498
|
+
typeof customElements < "u" && !customElements.get("cos-orbital-chart") && customElements.define(Gr, Kr);
|
|
1499
|
+
//#endregion
|
|
1500
|
+
//#region src/components/particleNetwork/element/index.ts
|
|
1501
|
+
var qr = "cos-particle-network";
|
|
1502
|
+
function D(e) {
|
|
1503
|
+
let t = {};
|
|
1504
|
+
return s(t, e, "color", "color"), s(t, e, "hint", "hint"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "particleCount", "particle-count"), a(t, e, "linkDistance", "link-distance"), a(t, e, "repelRadius", "repel-radius"), r(t, e, "fill", "fill", "presence"), t;
|
|
1505
|
+
}
|
|
1506
|
+
var Jr = class extends HTMLElement {
|
|
1507
|
+
ctrl = null;
|
|
1508
|
+
static get observedAttributes() {
|
|
1509
|
+
return [
|
|
1510
|
+
"width",
|
|
1511
|
+
"height",
|
|
1512
|
+
"fill",
|
|
1513
|
+
"particle-count",
|
|
1514
|
+
"link-distance",
|
|
1515
|
+
"repel-radius",
|
|
1516
|
+
"color",
|
|
1517
|
+
"hint"
|
|
1518
|
+
];
|
|
1519
|
+
}
|
|
1520
|
+
connectedCallback() {
|
|
1521
|
+
this.ctrl = yt(this, D(this));
|
|
1522
|
+
}
|
|
1523
|
+
disconnectedCallback() {
|
|
1524
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1525
|
+
}
|
|
1526
|
+
attributeChangedCallback() {
|
|
1527
|
+
this.ctrl?.update(D(this));
|
|
1528
|
+
}
|
|
1529
|
+
};
|
|
1530
|
+
typeof customElements < "u" && !customElements.get("cos-particle-network") && customElements.define(qr, Jr);
|
|
1531
|
+
//#endregion
|
|
1532
|
+
//#region src/components/photoAlbum/element/index.ts
|
|
1533
|
+
var Yr = "cos-photo-album";
|
|
1534
|
+
function O(e) {
|
|
1535
|
+
let t = {};
|
|
1536
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "objectFit", "object-fit"), s(t, e, "pageColor", "page-color"), s(t, e, "coverColor", "cover-color"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "initialIndex", "initial-index"), a(t, e, "pageTurnDuration", "page-turn-duration"), r(t, e, "showPageNumber", "show-page-number", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), i(t, e, "labels", "labels"), o(t, e, "labels", "_labels"), t.onPageChange = n(e, "page-change"), t.onIndexChange = n(e, "index-change"), t;
|
|
1537
|
+
}
|
|
1538
|
+
var Xr = class extends HTMLElement {
|
|
1539
|
+
ctrl = null;
|
|
1540
|
+
_photos;
|
|
1541
|
+
get photos() {
|
|
1542
|
+
return this._photos;
|
|
1543
|
+
}
|
|
1544
|
+
set photos(e) {
|
|
1545
|
+
this._photos = e, this.ctrl?.update(O(this));
|
|
1546
|
+
}
|
|
1547
|
+
_labels;
|
|
1548
|
+
get labels() {
|
|
1549
|
+
return this._labels;
|
|
1550
|
+
}
|
|
1551
|
+
set labels(e) {
|
|
1552
|
+
this._labels = e, this.ctrl?.update(O(this));
|
|
1553
|
+
}
|
|
1554
|
+
static get observedAttributes() {
|
|
1555
|
+
return [
|
|
1556
|
+
"photos",
|
|
1557
|
+
"width",
|
|
1558
|
+
"height",
|
|
1559
|
+
"initial-index",
|
|
1560
|
+
"page-turn-duration",
|
|
1561
|
+
"object-fit",
|
|
1562
|
+
"show-page-number",
|
|
1563
|
+
"page-color",
|
|
1564
|
+
"cover-color",
|
|
1565
|
+
"aria-label",
|
|
1566
|
+
"labels"
|
|
1567
|
+
];
|
|
1568
|
+
}
|
|
1569
|
+
connectedCallback() {
|
|
1570
|
+
this.ctrl = mt(this, O(this));
|
|
1571
|
+
}
|
|
1572
|
+
disconnectedCallback() {
|
|
1573
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1574
|
+
}
|
|
1575
|
+
attributeChangedCallback() {
|
|
1576
|
+
this.ctrl?.update(O(this));
|
|
1577
|
+
}
|
|
1578
|
+
};
|
|
1579
|
+
typeof customElements < "u" && !customElements.get("cos-photo-album") && customElements.define(Yr, Xr);
|
|
1580
|
+
//#endregion
|
|
1581
|
+
//#region src/components/photoCarousel/element/index.ts
|
|
1582
|
+
var Zr = "cos-photo-carousel";
|
|
1583
|
+
function k(e) {
|
|
1584
|
+
let t = {};
|
|
1585
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "radius", "radius"), a(t, e, "cardWidth", "card-width"), a(t, e, "cardHeight", "card-height"), a(t, e, "autoRotateSpeed", "auto-rotate-speed"), a(t, e, "dragSensitivity", "drag-sensitivity"), a(t, e, "friction", "friction"), a(t, e, "initialAngle", "initial-angle"), r(t, e, "autoRotate", "auto-rotate", "optional-true"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t.onFaceChange = n(e, "face-change"), t.onIndexChange = n(e, "index-change"), t;
|
|
1586
|
+
}
|
|
1587
|
+
var Qr = class extends HTMLElement {
|
|
1588
|
+
ctrl = null;
|
|
1589
|
+
_photos;
|
|
1590
|
+
get photos() {
|
|
1591
|
+
return this._photos;
|
|
1592
|
+
}
|
|
1593
|
+
set photos(e) {
|
|
1594
|
+
this._photos = e, this.ctrl?.update(k(this));
|
|
1595
|
+
}
|
|
1596
|
+
static get observedAttributes() {
|
|
1597
|
+
return [
|
|
1598
|
+
"photos",
|
|
1599
|
+
"width",
|
|
1600
|
+
"height",
|
|
1601
|
+
"radius",
|
|
1602
|
+
"card-width",
|
|
1603
|
+
"card-height",
|
|
1604
|
+
"auto-rotate",
|
|
1605
|
+
"auto-rotate-speed",
|
|
1606
|
+
"drag-sensitivity",
|
|
1607
|
+
"friction",
|
|
1608
|
+
"show-caption",
|
|
1609
|
+
"initial-angle",
|
|
1610
|
+
"aria-label"
|
|
1611
|
+
];
|
|
1612
|
+
}
|
|
1613
|
+
connectedCallback() {
|
|
1614
|
+
this.ctrl = St(this, k(this));
|
|
1615
|
+
}
|
|
1616
|
+
disconnectedCallback() {
|
|
1617
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1618
|
+
}
|
|
1619
|
+
attributeChangedCallback() {
|
|
1620
|
+
this.ctrl?.update(k(this));
|
|
1621
|
+
}
|
|
1622
|
+
};
|
|
1623
|
+
typeof customElements < "u" && !customElements.get("cos-photo-carousel") && customElements.define(Zr, Qr);
|
|
1624
|
+
//#endregion
|
|
1625
|
+
//#region src/components/photoClothesline/element/index.ts
|
|
1626
|
+
var $r = "cos-photo-clothesline";
|
|
1627
|
+
function A(e) {
|
|
1628
|
+
let t = {};
|
|
1629
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ropeColor", "rope-color"), s(t, e, "bandColor", "band-color"), s(t, e, "pinColor", "pin-color"), s(t, e, "frameColor", "frame-color"), s(t, e, "background", "background"), s(t, e, "objectFit", "object-fit"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "photoWidth", "photo-width"), a(t, e, "photoHeight", "photo-height"), a(t, e, "photoGap", "photo-gap"), a(t, e, "ropeTop", "rope-top"), a(t, e, "ropeSag", "rope-sag"), a(t, e, "bandLength", "band-length"), a(t, e, "bandWidth", "band-width"), a(t, e, "maxPull", "max-pull"), a(t, e, "stiffness", "stiffness"), a(t, e, "damping", "damping"), a(t, e, "tension", "tension"), a(t, e, "tilt", "tilt"), a(t, e, "initialIndex", "initial-index"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onIndexChange = n(e, "index-change"), t.onPhotoClick = n(e, "photo-click"), t;
|
|
1630
|
+
}
|
|
1631
|
+
var ei = class extends HTMLElement {
|
|
1632
|
+
ctrl = null;
|
|
1633
|
+
_photos;
|
|
1634
|
+
get photos() {
|
|
1635
|
+
return this._photos;
|
|
1636
|
+
}
|
|
1637
|
+
set photos(e) {
|
|
1638
|
+
this._photos = e, this.ctrl?.update(A(this));
|
|
1639
|
+
}
|
|
1640
|
+
static get observedAttributes() {
|
|
1641
|
+
return [
|
|
1642
|
+
"photos",
|
|
1643
|
+
"width",
|
|
1644
|
+
"height",
|
|
1645
|
+
"photo-width",
|
|
1646
|
+
"photo-height",
|
|
1647
|
+
"photo-gap",
|
|
1648
|
+
"rope-top",
|
|
1649
|
+
"rope-sag",
|
|
1650
|
+
"band-length",
|
|
1651
|
+
"band-width",
|
|
1652
|
+
"max-pull",
|
|
1653
|
+
"stiffness",
|
|
1654
|
+
"damping",
|
|
1655
|
+
"tension",
|
|
1656
|
+
"tilt",
|
|
1657
|
+
"rope-color",
|
|
1658
|
+
"band-color",
|
|
1659
|
+
"pin-color",
|
|
1660
|
+
"frame-color",
|
|
1661
|
+
"background",
|
|
1662
|
+
"object-fit",
|
|
1663
|
+
"show-caption",
|
|
1664
|
+
"initial-index",
|
|
1665
|
+
"aria-label"
|
|
1666
|
+
];
|
|
1667
|
+
}
|
|
1668
|
+
connectedCallback() {
|
|
1669
|
+
this.ctrl = Qe(this, A(this));
|
|
1670
|
+
}
|
|
1671
|
+
disconnectedCallback() {
|
|
1672
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1673
|
+
}
|
|
1674
|
+
attributeChangedCallback() {
|
|
1675
|
+
this.ctrl?.update(A(this));
|
|
1676
|
+
}
|
|
1677
|
+
};
|
|
1678
|
+
typeof customElements < "u" && !customElements.get("cos-photo-clothesline") && customElements.define($r, ei);
|
|
1679
|
+
//#endregion
|
|
1680
|
+
//#region src/components/photoFilmstrip/element/index.ts
|
|
1681
|
+
var ti = "cos-photo-filmstrip";
|
|
1682
|
+
function j(e) {
|
|
1683
|
+
let t = {};
|
|
1684
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "frameWidth", "frame-width"), a(t, e, "frameHeight", "frame-height"), a(t, e, "frameGap", "frame-gap"), a(t, e, "friction", "friction"), a(t, e, "dragSensitivity", "drag-sensitivity"), a(t, e, "initialIndex", "initial-index"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t.onIndexChange = n(e, "index-change"), t;
|
|
1685
|
+
}
|
|
1686
|
+
var ni = class extends HTMLElement {
|
|
1687
|
+
ctrl = null;
|
|
1688
|
+
_photos;
|
|
1689
|
+
get photos() {
|
|
1690
|
+
return this._photos;
|
|
1691
|
+
}
|
|
1692
|
+
set photos(e) {
|
|
1693
|
+
this._photos = e, this.ctrl?.update(j(this));
|
|
1694
|
+
}
|
|
1695
|
+
static get observedAttributes() {
|
|
1696
|
+
return [
|
|
1697
|
+
"photos",
|
|
1698
|
+
"width",
|
|
1699
|
+
"height",
|
|
1700
|
+
"frame-width",
|
|
1701
|
+
"frame-height",
|
|
1702
|
+
"frame-gap",
|
|
1703
|
+
"show-caption",
|
|
1704
|
+
"friction",
|
|
1705
|
+
"drag-sensitivity",
|
|
1706
|
+
"initial-index",
|
|
1707
|
+
"aria-label"
|
|
1708
|
+
];
|
|
1709
|
+
}
|
|
1710
|
+
connectedCallback() {
|
|
1711
|
+
this.ctrl = e(this, j(this));
|
|
1712
|
+
}
|
|
1713
|
+
disconnectedCallback() {
|
|
1714
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1715
|
+
}
|
|
1716
|
+
attributeChangedCallback() {
|
|
1717
|
+
this.ctrl?.update(j(this));
|
|
1718
|
+
}
|
|
1719
|
+
};
|
|
1720
|
+
typeof customElements < "u" && !customElements.get("cos-photo-filmstrip") && customElements.define(ti, ni);
|
|
1721
|
+
//#endregion
|
|
1722
|
+
//#region src/components/photoFridge/element/index.ts
|
|
1723
|
+
var ri = "cos-photo-fridge";
|
|
1724
|
+
function M(e) {
|
|
1725
|
+
let t = {};
|
|
1726
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "cardWidth", "card-width"), a(t, e, "cardHeight", "card-height"), a(t, e, "scatter", "scatter"), a(t, e, "friction", "friction"), a(t, e, "initialIndex", "initial-index"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t;
|
|
1727
|
+
}
|
|
1728
|
+
var ii = class extends HTMLElement {
|
|
1729
|
+
ctrl = null;
|
|
1730
|
+
_photos;
|
|
1731
|
+
get photos() {
|
|
1732
|
+
return this._photos;
|
|
1733
|
+
}
|
|
1734
|
+
set photos(e) {
|
|
1735
|
+
this._photos = e, this.ctrl?.update(M(this));
|
|
1736
|
+
}
|
|
1737
|
+
static get observedAttributes() {
|
|
1738
|
+
return [
|
|
1739
|
+
"photos",
|
|
1740
|
+
"width",
|
|
1741
|
+
"height",
|
|
1742
|
+
"card-width",
|
|
1743
|
+
"card-height",
|
|
1744
|
+
"scatter",
|
|
1745
|
+
"friction",
|
|
1746
|
+
"show-caption",
|
|
1747
|
+
"initial-index",
|
|
1748
|
+
"aria-label"
|
|
1749
|
+
];
|
|
1750
|
+
}
|
|
1751
|
+
connectedCallback() {
|
|
1752
|
+
this.ctrl = Oe(this, M(this));
|
|
1753
|
+
}
|
|
1754
|
+
disconnectedCallback() {
|
|
1755
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1756
|
+
}
|
|
1757
|
+
attributeChangedCallback() {
|
|
1758
|
+
this.ctrl?.update(M(this));
|
|
1759
|
+
}
|
|
1760
|
+
};
|
|
1761
|
+
typeof customElements < "u" && !customElements.get("cos-photo-fridge") && customElements.define(ri, ii);
|
|
1762
|
+
//#endregion
|
|
1763
|
+
//#region src/components/photoLantern/element/index.ts
|
|
1764
|
+
var ai = "cos-photo-lantern";
|
|
1765
|
+
function N(e) {
|
|
1766
|
+
let t = {};
|
|
1767
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "frameColor", "frame-color"), s(t, e, "paperColor", "paper-color"), s(t, e, "lightColor", "light-color"), s(t, e, "background", "background"), s(t, e, "tasselColor", "tassel-color"), s(t, e, "objectFit", "object-fit"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "autoRotateSpeed", "auto-rotate-speed"), a(t, e, "dragSensitivity", "drag-sensitivity"), a(t, e, "friction", "friction"), a(t, e, "lightSway", "light-sway"), a(t, e, "initialAngle", "initial-angle"), r(t, e, "autoRotate", "auto-rotate", "optional-true"), r(t, e, "showAccessories", "show-accessories", "optional-true"), r(t, e, "silhouette", "silhouette", "presence"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onFaceChange = n(e, "face-change"), t.onIndexChange = n(e, "index-change"), t.onPhotoClick = n(e, "photo-click"), t;
|
|
1768
|
+
}
|
|
1769
|
+
var oi = class extends HTMLElement {
|
|
1770
|
+
ctrl = null;
|
|
1771
|
+
_photos;
|
|
1772
|
+
get photos() {
|
|
1773
|
+
return this._photos;
|
|
1774
|
+
}
|
|
1775
|
+
set photos(e) {
|
|
1776
|
+
this._photos = e, this.ctrl?.update(N(this));
|
|
1777
|
+
}
|
|
1778
|
+
static get observedAttributes() {
|
|
1779
|
+
return [
|
|
1780
|
+
"photos",
|
|
1781
|
+
"width",
|
|
1782
|
+
"height",
|
|
1783
|
+
"auto-rotate",
|
|
1784
|
+
"auto-rotate-speed",
|
|
1785
|
+
"drag-sensitivity",
|
|
1786
|
+
"friction",
|
|
1787
|
+
"frame-color",
|
|
1788
|
+
"paper-color",
|
|
1789
|
+
"light-color",
|
|
1790
|
+
"background",
|
|
1791
|
+
"light-sway",
|
|
1792
|
+
"show-accessories",
|
|
1793
|
+
"tassel-color",
|
|
1794
|
+
"object-fit",
|
|
1795
|
+
"silhouette",
|
|
1796
|
+
"show-caption",
|
|
1797
|
+
"initial-angle",
|
|
1798
|
+
"aria-label"
|
|
1799
|
+
];
|
|
1800
|
+
}
|
|
1801
|
+
connectedCallback() {
|
|
1802
|
+
this.ctrl = Ue(this, N(this));
|
|
1803
|
+
}
|
|
1804
|
+
disconnectedCallback() {
|
|
1805
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1806
|
+
}
|
|
1807
|
+
attributeChangedCallback() {
|
|
1808
|
+
this.ctrl?.update(N(this));
|
|
1809
|
+
}
|
|
1810
|
+
};
|
|
1811
|
+
typeof customElements < "u" && !customElements.get("cos-photo-lantern") && customElements.define(ai, oi);
|
|
1812
|
+
//#endregion
|
|
1813
|
+
//#region src/components/photoLightbox/element/index.ts
|
|
1814
|
+
var si = "cos-photo-lightbox";
|
|
1815
|
+
function P(e) {
|
|
1816
|
+
let t = {};
|
|
1817
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "slideWidth", "slide-width"), a(t, e, "slideHeight", "slide-height"), a(t, e, "pullThreshold", "pull-threshold"), a(t, e, "initialIndex", "initial-index"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t.onIndexChange = n(e, "index-change"), t;
|
|
1818
|
+
}
|
|
1819
|
+
var ci = class extends HTMLElement {
|
|
1820
|
+
ctrl = null;
|
|
1821
|
+
_photos;
|
|
1822
|
+
get photos() {
|
|
1823
|
+
return this._photos;
|
|
1824
|
+
}
|
|
1825
|
+
set photos(e) {
|
|
1826
|
+
this._photos = e, this.ctrl?.update(P(this));
|
|
1827
|
+
}
|
|
1828
|
+
static get observedAttributes() {
|
|
1829
|
+
return [
|
|
1830
|
+
"photos",
|
|
1831
|
+
"width",
|
|
1832
|
+
"height",
|
|
1833
|
+
"slide-width",
|
|
1834
|
+
"slide-height",
|
|
1835
|
+
"pull-threshold",
|
|
1836
|
+
"show-caption",
|
|
1837
|
+
"initial-index",
|
|
1838
|
+
"aria-label"
|
|
1839
|
+
];
|
|
1840
|
+
}
|
|
1841
|
+
connectedCallback() {
|
|
1842
|
+
this.ctrl = Ve(this, P(this));
|
|
1843
|
+
}
|
|
1844
|
+
disconnectedCallback() {
|
|
1845
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1846
|
+
}
|
|
1847
|
+
attributeChangedCallback() {
|
|
1848
|
+
this.ctrl?.update(P(this));
|
|
1849
|
+
}
|
|
1850
|
+
};
|
|
1851
|
+
typeof customElements < "u" && !customElements.get("cos-photo-lightbox") && customElements.define(si, ci);
|
|
1852
|
+
//#endregion
|
|
1853
|
+
//#region src/components/photoPolaroid/element/index.ts
|
|
1854
|
+
var li = "cos-photo-polaroid";
|
|
1855
|
+
function F(e) {
|
|
1856
|
+
let t = {};
|
|
1857
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "cardWidth", "card-width"), a(t, e, "cardHeight", "card-height"), a(t, e, "scatter", "scatter"), a(t, e, "initialIndex", "initial-index"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t;
|
|
1858
|
+
}
|
|
1859
|
+
var ui = class extends HTMLElement {
|
|
1860
|
+
ctrl = null;
|
|
1861
|
+
_photos;
|
|
1862
|
+
get photos() {
|
|
1863
|
+
return this._photos;
|
|
1864
|
+
}
|
|
1865
|
+
set photos(e) {
|
|
1866
|
+
this._photos = e, this.ctrl?.update(F(this));
|
|
1867
|
+
}
|
|
1868
|
+
static get observedAttributes() {
|
|
1869
|
+
return [
|
|
1870
|
+
"photos",
|
|
1871
|
+
"width",
|
|
1872
|
+
"height",
|
|
1873
|
+
"card-width",
|
|
1874
|
+
"card-height",
|
|
1875
|
+
"scatter",
|
|
1876
|
+
"show-caption",
|
|
1877
|
+
"initial-index",
|
|
1878
|
+
"aria-label"
|
|
1879
|
+
];
|
|
1880
|
+
}
|
|
1881
|
+
connectedCallback() {
|
|
1882
|
+
this.ctrl = He(this, F(this));
|
|
1883
|
+
}
|
|
1884
|
+
disconnectedCallback() {
|
|
1885
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1886
|
+
}
|
|
1887
|
+
attributeChangedCallback() {
|
|
1888
|
+
this.ctrl?.update(F(this));
|
|
1889
|
+
}
|
|
1890
|
+
};
|
|
1891
|
+
typeof customElements < "u" && !customElements.get("cos-photo-polaroid") && customElements.define(li, ui);
|
|
1892
|
+
//#endregion
|
|
1893
|
+
//#region src/components/photoPostcard/element/index.ts
|
|
1894
|
+
var di = "cos-photo-postcard";
|
|
1895
|
+
function I(e) {
|
|
1896
|
+
let t = {};
|
|
1897
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "cardWidth", "card-width"), a(t, e, "cardHeight", "card-height"), a(t, e, "pullThreshold", "pull-threshold"), a(t, e, "initialIndex", "initial-index"), r(t, e, "showCaption", "show-caption", "optional-true"), r(t, e, "initialFlipped", "initial-flipped", "presence"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t.onIndexChange = n(e, "index-change"), t.onFlipChange = n(e, "flip-change"), t;
|
|
1898
|
+
}
|
|
1899
|
+
var fi = class extends HTMLElement {
|
|
1900
|
+
ctrl = null;
|
|
1901
|
+
_photos;
|
|
1902
|
+
get photos() {
|
|
1903
|
+
return this._photos;
|
|
1904
|
+
}
|
|
1905
|
+
set photos(e) {
|
|
1906
|
+
this._photos = e, this.ctrl?.update(I(this));
|
|
1907
|
+
}
|
|
1908
|
+
static get observedAttributes() {
|
|
1909
|
+
return [
|
|
1910
|
+
"photos",
|
|
1911
|
+
"width",
|
|
1912
|
+
"height",
|
|
1913
|
+
"card-width",
|
|
1914
|
+
"card-height",
|
|
1915
|
+
"pull-threshold",
|
|
1916
|
+
"show-caption",
|
|
1917
|
+
"initial-index",
|
|
1918
|
+
"initial-flipped",
|
|
1919
|
+
"aria-label"
|
|
1920
|
+
];
|
|
1921
|
+
}
|
|
1922
|
+
connectedCallback() {
|
|
1923
|
+
this.ctrl = Pt(this, I(this));
|
|
1924
|
+
}
|
|
1925
|
+
disconnectedCallback() {
|
|
1926
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1927
|
+
}
|
|
1928
|
+
attributeChangedCallback() {
|
|
1929
|
+
this.ctrl?.update(I(this));
|
|
1930
|
+
}
|
|
1931
|
+
};
|
|
1932
|
+
typeof customElements < "u" && !customElements.get("cos-photo-postcard") && customElements.define(di, fi);
|
|
1933
|
+
//#endregion
|
|
1934
|
+
//#region src/components/photoPrism/element/index.ts
|
|
1935
|
+
var pi = "cos-photo-prism";
|
|
1936
|
+
function L(e) {
|
|
1937
|
+
let t = {};
|
|
1938
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "size", "size"), a(t, e, "dragSensitivity", "drag-sensitivity"), a(t, e, "friction", "friction"), r(t, e, "autoRotate", "auto-rotate", "optional-true"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t;
|
|
1939
|
+
}
|
|
1940
|
+
var mi = class extends HTMLElement {
|
|
1941
|
+
ctrl = null;
|
|
1942
|
+
_photos;
|
|
1943
|
+
get photos() {
|
|
1944
|
+
return this._photos;
|
|
1945
|
+
}
|
|
1946
|
+
set photos(e) {
|
|
1947
|
+
this._photos = e, this.ctrl?.update(L(this));
|
|
1948
|
+
}
|
|
1949
|
+
static get observedAttributes() {
|
|
1950
|
+
return [
|
|
1951
|
+
"photos",
|
|
1952
|
+
"width",
|
|
1953
|
+
"height",
|
|
1954
|
+
"size",
|
|
1955
|
+
"auto-rotate",
|
|
1956
|
+
"drag-sensitivity",
|
|
1957
|
+
"friction",
|
|
1958
|
+
"show-caption",
|
|
1959
|
+
"aria-label"
|
|
1960
|
+
];
|
|
1961
|
+
}
|
|
1962
|
+
connectedCallback() {
|
|
1963
|
+
this.ctrl = ge(this, L(this));
|
|
1964
|
+
}
|
|
1965
|
+
disconnectedCallback() {
|
|
1966
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
1967
|
+
}
|
|
1968
|
+
attributeChangedCallback() {
|
|
1969
|
+
this.ctrl?.update(L(this));
|
|
1970
|
+
}
|
|
1971
|
+
};
|
|
1972
|
+
typeof customElements < "u" && !customElements.get("cos-photo-prism") && customElements.define(pi, mi);
|
|
1973
|
+
//#endregion
|
|
1974
|
+
//#region src/components/photoScroll/element/index.ts
|
|
1975
|
+
var hi = "cos-photo-scroll";
|
|
1976
|
+
function R(e) {
|
|
1977
|
+
let t = {};
|
|
1978
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "frameWidth", "frame-width"), a(t, e, "frameHeight", "frame-height"), a(t, e, "frameGap", "frame-gap"), a(t, e, "dragSensitivity", "drag-sensitivity"), a(t, e, "friction", "friction"), a(t, e, "initialIndex", "initial-index"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t.onIndexChange = n(e, "index-change"), t;
|
|
1979
|
+
}
|
|
1980
|
+
var gi = class extends HTMLElement {
|
|
1981
|
+
ctrl = null;
|
|
1982
|
+
_photos;
|
|
1983
|
+
get photos() {
|
|
1984
|
+
return this._photos;
|
|
1985
|
+
}
|
|
1986
|
+
set photos(e) {
|
|
1987
|
+
this._photos = e, this.ctrl?.update(R(this));
|
|
1988
|
+
}
|
|
1989
|
+
static get observedAttributes() {
|
|
1990
|
+
return [
|
|
1991
|
+
"photos",
|
|
1992
|
+
"width",
|
|
1993
|
+
"height",
|
|
1994
|
+
"frame-width",
|
|
1995
|
+
"frame-height",
|
|
1996
|
+
"frame-gap",
|
|
1997
|
+
"drag-sensitivity",
|
|
1998
|
+
"friction",
|
|
1999
|
+
"show-caption",
|
|
2000
|
+
"initial-index",
|
|
2001
|
+
"aria-label"
|
|
2002
|
+
];
|
|
2003
|
+
}
|
|
2004
|
+
connectedCallback() {
|
|
2005
|
+
this.ctrl = vt(this, R(this));
|
|
2006
|
+
}
|
|
2007
|
+
disconnectedCallback() {
|
|
2008
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2009
|
+
}
|
|
2010
|
+
attributeChangedCallback() {
|
|
2011
|
+
this.ctrl?.update(R(this));
|
|
2012
|
+
}
|
|
2013
|
+
};
|
|
2014
|
+
typeof customElements < "u" && !customElements.get("cos-photo-scroll") && customElements.define(hi, gi);
|
|
2015
|
+
//#endregion
|
|
2016
|
+
//#region src/components/photoTunnel/element/index.ts
|
|
2017
|
+
var _i = "cos-photo-tunnel";
|
|
2018
|
+
function z(e) {
|
|
2019
|
+
let t = {};
|
|
2020
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "depthStep", "depth-step"), a(t, e, "dragSensitivity", "drag-sensitivity"), a(t, e, "friction", "friction"), a(t, e, "autoAdvanceSpeed", "auto-advance-speed"), a(t, e, "initialIndex", "initial-index"), r(t, e, "autoAdvance", "auto-advance", "presence"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t.onIndexChange = n(e, "index-change"), t;
|
|
2021
|
+
}
|
|
2022
|
+
var vi = class extends HTMLElement {
|
|
2023
|
+
ctrl = null;
|
|
2024
|
+
_photos;
|
|
2025
|
+
get photos() {
|
|
2026
|
+
return this._photos;
|
|
2027
|
+
}
|
|
2028
|
+
set photos(e) {
|
|
2029
|
+
this._photos = e, this.ctrl?.update(z(this));
|
|
2030
|
+
}
|
|
2031
|
+
static get observedAttributes() {
|
|
2032
|
+
return [
|
|
2033
|
+
"photos",
|
|
2034
|
+
"width",
|
|
2035
|
+
"height",
|
|
2036
|
+
"depth-step",
|
|
2037
|
+
"drag-sensitivity",
|
|
2038
|
+
"friction",
|
|
2039
|
+
"auto-advance",
|
|
2040
|
+
"auto-advance-speed",
|
|
2041
|
+
"show-caption",
|
|
2042
|
+
"initial-index",
|
|
2043
|
+
"aria-label"
|
|
2044
|
+
];
|
|
2045
|
+
}
|
|
2046
|
+
connectedCallback() {
|
|
2047
|
+
this.ctrl = _e(this, z(this));
|
|
2048
|
+
}
|
|
2049
|
+
disconnectedCallback() {
|
|
2050
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2051
|
+
}
|
|
2052
|
+
attributeChangedCallback() {
|
|
2053
|
+
this.ctrl?.update(z(this));
|
|
2054
|
+
}
|
|
2055
|
+
};
|
|
2056
|
+
typeof customElements < "u" && !customElements.get("cos-photo-tunnel") && customElements.define(_i, vi);
|
|
2057
|
+
//#endregion
|
|
2058
|
+
//#region src/components/photoViewMaster/element/index.ts
|
|
2059
|
+
var yi = "cos-photo-view-master";
|
|
2060
|
+
function B(e) {
|
|
2061
|
+
let t = {};
|
|
2062
|
+
return s(t, e, "width", "width"), s(t, e, "height", "height"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "discSize", "disc-size"), a(t, e, "peepSize", "peep-size"), a(t, e, "dragSensitivity", "drag-sensitivity"), a(t, e, "friction", "friction"), a(t, e, "autoRotateSpeed", "auto-rotate-speed"), a(t, e, "initialIndex", "initial-index"), r(t, e, "autoRotate", "auto-rotate", "optional-true"), r(t, e, "showCaption", "show-caption", "optional-true"), i(t, e, "photos", "photos"), o(t, e, "photos", "_photos"), t.onPhotoClick = n(e, "photo-click"), t.onIndexChange = n(e, "index-change"), t;
|
|
2063
|
+
}
|
|
2064
|
+
var bi = class extends HTMLElement {
|
|
2065
|
+
ctrl = null;
|
|
2066
|
+
_photos;
|
|
2067
|
+
get photos() {
|
|
2068
|
+
return this._photos;
|
|
2069
|
+
}
|
|
2070
|
+
set photos(e) {
|
|
2071
|
+
this._photos = e, this.ctrl?.update(B(this));
|
|
2072
|
+
}
|
|
2073
|
+
static get observedAttributes() {
|
|
2074
|
+
return [
|
|
2075
|
+
"photos",
|
|
2076
|
+
"width",
|
|
2077
|
+
"height",
|
|
2078
|
+
"disc-size",
|
|
2079
|
+
"peep-size",
|
|
2080
|
+
"drag-sensitivity",
|
|
2081
|
+
"friction",
|
|
2082
|
+
"auto-rotate",
|
|
2083
|
+
"auto-rotate-speed",
|
|
2084
|
+
"show-caption",
|
|
2085
|
+
"initial-index",
|
|
2086
|
+
"aria-label"
|
|
2087
|
+
];
|
|
2088
|
+
}
|
|
2089
|
+
connectedCallback() {
|
|
2090
|
+
this.ctrl = de(this, B(this));
|
|
2091
|
+
}
|
|
2092
|
+
disconnectedCallback() {
|
|
2093
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2094
|
+
}
|
|
2095
|
+
attributeChangedCallback() {
|
|
2096
|
+
this.ctrl?.update(B(this));
|
|
2097
|
+
}
|
|
2098
|
+
};
|
|
2099
|
+
typeof customElements < "u" && !customElements.get("cos-photo-view-master") && customElements.define(yi, bi);
|
|
2100
|
+
//#endregion
|
|
2101
|
+
//#region src/components/plasmaBall/element/index.ts
|
|
2102
|
+
var xi = "cos-plasma-ball";
|
|
2103
|
+
function Si(e) {
|
|
2104
|
+
let t = {};
|
|
2105
|
+
return s(t, e, "color", "color"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "arcCount", "arc-count"), t;
|
|
2106
|
+
}
|
|
2107
|
+
var Ci = class extends HTMLElement {
|
|
2108
|
+
ctrl = null;
|
|
2109
|
+
static get observedAttributes() {
|
|
2110
|
+
return [
|
|
2111
|
+
"width",
|
|
2112
|
+
"height",
|
|
2113
|
+
"color",
|
|
2114
|
+
"arc-count"
|
|
2115
|
+
];
|
|
2116
|
+
}
|
|
2117
|
+
connectedCallback() {
|
|
2118
|
+
this.ctrl = Be(this, Si(this));
|
|
2119
|
+
}
|
|
2120
|
+
disconnectedCallback() {
|
|
2121
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2122
|
+
}
|
|
2123
|
+
attributeChangedCallback() {
|
|
2124
|
+
this.ctrl?.update(Si(this));
|
|
2125
|
+
}
|
|
2126
|
+
};
|
|
2127
|
+
typeof customElements < "u" && !customElements.get("cos-plasma-ball") && customElements.define(xi, Ci);
|
|
2128
|
+
//#endregion
|
|
2129
|
+
//#region src/components/progressChest/element/index.ts
|
|
2130
|
+
var wi = "cos-progress-chest";
|
|
2131
|
+
function Ti(e) {
|
|
2132
|
+
let t = {};
|
|
2133
|
+
return s(t, e, "label", "label"), s(t, e, "openedLabel", "opened-label"), a(t, e, "progress", "progress"), r(t, e, "auto", "auto", "optional-true"), t.onOpen = n(e, "open"), t;
|
|
2134
|
+
}
|
|
2135
|
+
var Ei = class extends HTMLElement {
|
|
2136
|
+
ctrl = null;
|
|
2137
|
+
static get observedAttributes() {
|
|
2138
|
+
return [
|
|
2139
|
+
"progress",
|
|
2140
|
+
"auto",
|
|
2141
|
+
"label",
|
|
2142
|
+
"opened-label"
|
|
2143
|
+
];
|
|
2144
|
+
}
|
|
2145
|
+
connectedCallback() {
|
|
2146
|
+
this.ctrl = Ce(this, Ti(this));
|
|
2147
|
+
}
|
|
2148
|
+
disconnectedCallback() {
|
|
2149
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2150
|
+
}
|
|
2151
|
+
attributeChangedCallback() {
|
|
2152
|
+
this.ctrl?.update(Ti(this));
|
|
2153
|
+
}
|
|
2154
|
+
};
|
|
2155
|
+
typeof customElements < "u" && !customElements.get("cos-progress-chest") && customElements.define(wi, Ei);
|
|
2156
|
+
//#endregion
|
|
2157
|
+
//#region src/components/radarScan/element/index.ts
|
|
2158
|
+
var Di = "cos-radar-scan";
|
|
2159
|
+
function Oi(e) {
|
|
2160
|
+
let t = {};
|
|
2161
|
+
return s(t, e, "color", "color"), a(t, e, "size", "size"), a(t, e, "blipCount", "blip-count"), t;
|
|
2162
|
+
}
|
|
2163
|
+
var ki = class extends HTMLElement {
|
|
2164
|
+
ctrl = null;
|
|
2165
|
+
static get observedAttributes() {
|
|
2166
|
+
return [
|
|
2167
|
+
"size",
|
|
2168
|
+
"color",
|
|
2169
|
+
"blip-count"
|
|
2170
|
+
];
|
|
2171
|
+
}
|
|
2172
|
+
connectedCallback() {
|
|
2173
|
+
this.ctrl = xe(this, Oi(this));
|
|
2174
|
+
}
|
|
2175
|
+
disconnectedCallback() {
|
|
2176
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2177
|
+
}
|
|
2178
|
+
attributeChangedCallback() {
|
|
2179
|
+
this.ctrl?.update(Oi(this));
|
|
2180
|
+
}
|
|
2181
|
+
};
|
|
2182
|
+
typeof customElements < "u" && !customElements.get("cos-radar-scan") && customElements.define(Di, ki);
|
|
2183
|
+
//#endregion
|
|
2184
|
+
//#region src/components/redPacketRain/element/index.ts
|
|
2185
|
+
var Ai = "cos-red-packet-rain";
|
|
2186
|
+
function ji(e) {
|
|
2187
|
+
let t = {};
|
|
2188
|
+
return s(t, e, "grabbedLabel", "grabbed-label"), s(t, e, "endedText", "ended-text"), s(t, e, "hint", "hint"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "duration", "duration"), r(t, e, "fill", "fill", "presence"), r(t, e, "auto", "auto", "optional-true"), t.onGrab = n(e, "grab"), t.onEnd = n(e, "end"), t;
|
|
2189
|
+
}
|
|
2190
|
+
var Mi = class extends HTMLElement {
|
|
2191
|
+
ctrl = null;
|
|
2192
|
+
static get observedAttributes() {
|
|
2193
|
+
return [
|
|
2194
|
+
"width",
|
|
2195
|
+
"height",
|
|
2196
|
+
"fill",
|
|
2197
|
+
"duration",
|
|
2198
|
+
"auto",
|
|
2199
|
+
"grabbed-label",
|
|
2200
|
+
"ended-text",
|
|
2201
|
+
"hint"
|
|
2202
|
+
];
|
|
2203
|
+
}
|
|
2204
|
+
connectedCallback() {
|
|
2205
|
+
this.ctrl = st(this, ji(this));
|
|
2206
|
+
}
|
|
2207
|
+
disconnectedCallback() {
|
|
2208
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2209
|
+
}
|
|
2210
|
+
attributeChangedCallback() {
|
|
2211
|
+
this.ctrl?.update(ji(this));
|
|
2212
|
+
}
|
|
2213
|
+
start() {
|
|
2214
|
+
return this.ctrl?.start();
|
|
2215
|
+
}
|
|
2216
|
+
stop() {
|
|
2217
|
+
return this.ctrl?.stop();
|
|
2218
|
+
}
|
|
2219
|
+
reset() {
|
|
2220
|
+
return this.ctrl?.reset();
|
|
2221
|
+
}
|
|
2222
|
+
};
|
|
2223
|
+
typeof customElements < "u" && !customElements.get("cos-red-packet-rain") && customElements.define(Ai, Mi);
|
|
2224
|
+
//#endregion
|
|
2225
|
+
//#region src/components/returnCity/element/index.ts
|
|
2226
|
+
var Ni = "cos-return-city";
|
|
2227
|
+
function Pi(e) {
|
|
2228
|
+
let t = {};
|
|
2229
|
+
return a(t, e, "starCount", "star-count"), a(t, e, "glassCount", "glass-count"), a(t, e, "glassRadius", "glass-radius"), t;
|
|
2230
|
+
}
|
|
2231
|
+
var Fi = class extends HTMLElement {
|
|
2232
|
+
ctrl = null;
|
|
2233
|
+
static get observedAttributes() {
|
|
2234
|
+
return [
|
|
2235
|
+
"star-count",
|
|
2236
|
+
"glass-count",
|
|
2237
|
+
"glass-radius"
|
|
2238
|
+
];
|
|
2239
|
+
}
|
|
2240
|
+
connectedCallback() {
|
|
2241
|
+
this.ctrl = ee(this, Pi(this));
|
|
2242
|
+
}
|
|
2243
|
+
disconnectedCallback() {
|
|
2244
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2245
|
+
}
|
|
2246
|
+
attributeChangedCallback() {
|
|
2247
|
+
this.ctrl?.update(Pi(this));
|
|
2248
|
+
}
|
|
2249
|
+
};
|
|
2250
|
+
typeof customElements < "u" && !customElements.get("cos-return-city") && customElements.define(Ni, Fi);
|
|
2251
|
+
//#endregion
|
|
2252
|
+
//#region src/components/rippleWater/element/index.ts
|
|
2253
|
+
var Ii = "cos-ripple-water";
|
|
2254
|
+
function V(e) {
|
|
2255
|
+
let t = {};
|
|
2256
|
+
return s(t, e, "fromColor", "from-color"), s(t, e, "toColor", "to-color"), s(t, e, "color", "color"), s(t, e, "hint", "hint"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "waveAmplitude", "wave-amplitude"), a(t, e, "waveSpeed", "wave-speed"), a(t, e, "shimmer", "shimmer"), a(t, e, "reflection", "reflection"), a(t, e, "rippleStrength", "ripple-strength"), a(t, e, "rippleRadius", "ripple-radius"), a(t, e, "damping", "damping"), a(t, e, "spread", "spread"), r(t, e, "fill", "fill", "presence"), r(t, e, "interactive", "interactive", "optional-true"), r(t, e, "showHint", "show-hint", "optional-true"), t;
|
|
2257
|
+
}
|
|
2258
|
+
var Li = class extends HTMLElement {
|
|
2259
|
+
ctrl = null;
|
|
2260
|
+
static get observedAttributes() {
|
|
2261
|
+
return [
|
|
2262
|
+
"width",
|
|
2263
|
+
"height",
|
|
2264
|
+
"fill",
|
|
2265
|
+
"from-color",
|
|
2266
|
+
"to-color",
|
|
2267
|
+
"color",
|
|
2268
|
+
"wave-amplitude",
|
|
2269
|
+
"wave-speed",
|
|
2270
|
+
"shimmer",
|
|
2271
|
+
"reflection",
|
|
2272
|
+
"ripple-strength",
|
|
2273
|
+
"ripple-radius",
|
|
2274
|
+
"damping",
|
|
2275
|
+
"spread",
|
|
2276
|
+
"interactive",
|
|
2277
|
+
"show-hint",
|
|
2278
|
+
"hint"
|
|
2279
|
+
];
|
|
2280
|
+
}
|
|
2281
|
+
connectedCallback() {
|
|
2282
|
+
this.ctrl = Dt(this, V(this));
|
|
2283
|
+
}
|
|
2284
|
+
disconnectedCallback() {
|
|
2285
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2286
|
+
}
|
|
2287
|
+
attributeChangedCallback() {
|
|
2288
|
+
this.ctrl?.update(V(this));
|
|
2289
|
+
}
|
|
2290
|
+
};
|
|
2291
|
+
typeof customElements < "u" && !customElements.get("cos-ripple-water") && customElements.define(Ii, Li);
|
|
2292
|
+
//#endregion
|
|
2293
|
+
//#region src/components/ropeChain/element/index.ts
|
|
2294
|
+
var Ri = "cos-rope-chain";
|
|
2295
|
+
function zi(e) {
|
|
2296
|
+
let t = {};
|
|
2297
|
+
return s(t, e, "color", "color"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "segments", "segments"), a(t, e, "gravity", "gravity"), t;
|
|
2298
|
+
}
|
|
2299
|
+
var Bi = class extends HTMLElement {
|
|
2300
|
+
ctrl = null;
|
|
2301
|
+
static get observedAttributes() {
|
|
2302
|
+
return [
|
|
2303
|
+
"width",
|
|
2304
|
+
"height",
|
|
2305
|
+
"segments",
|
|
2306
|
+
"color",
|
|
2307
|
+
"gravity"
|
|
2308
|
+
];
|
|
2309
|
+
}
|
|
2310
|
+
connectedCallback() {
|
|
2311
|
+
this.ctrl = lt(this, zi(this));
|
|
2312
|
+
}
|
|
2313
|
+
disconnectedCallback() {
|
|
2314
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2315
|
+
}
|
|
2316
|
+
attributeChangedCallback() {
|
|
2317
|
+
this.ctrl?.update(zi(this));
|
|
2318
|
+
}
|
|
2319
|
+
};
|
|
2320
|
+
typeof customElements < "u" && !customElements.get("cos-rope-chain") && customElements.define(Ri, Bi);
|
|
2321
|
+
//#endregion
|
|
2322
|
+
//#region src/components/rotatingText/element/index.ts
|
|
2323
|
+
var Vi = "cos-rotating-text";
|
|
2324
|
+
function H(e) {
|
|
2325
|
+
let t = {};
|
|
2326
|
+
return s(t, e, "color", "color"), s(t, e, "highlightColor", "highlight-color"), a(t, e, "interval", "interval"), a(t, e, "stagger", "stagger"), a(t, e, "duration", "duration"), a(t, e, "fontSize", "font-size"), i(t, e, "texts", "texts"), o(t, e, "texts", "_texts"), t;
|
|
2327
|
+
}
|
|
2328
|
+
var Hi = class extends HTMLElement {
|
|
2329
|
+
ctrl = null;
|
|
2330
|
+
_texts;
|
|
2331
|
+
get texts() {
|
|
2332
|
+
return this._texts;
|
|
2333
|
+
}
|
|
2334
|
+
set texts(e) {
|
|
2335
|
+
this._texts = e, this.ctrl?.update(H(this));
|
|
2336
|
+
}
|
|
2337
|
+
static get observedAttributes() {
|
|
2338
|
+
return [
|
|
2339
|
+
"texts",
|
|
2340
|
+
"interval",
|
|
2341
|
+
"stagger",
|
|
2342
|
+
"duration",
|
|
2343
|
+
"font-size",
|
|
2344
|
+
"color",
|
|
2345
|
+
"highlight-color"
|
|
2346
|
+
];
|
|
2347
|
+
}
|
|
2348
|
+
connectedCallback() {
|
|
2349
|
+
this.ctrl = Te(this, H(this));
|
|
2350
|
+
}
|
|
2351
|
+
disconnectedCallback() {
|
|
2352
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2353
|
+
}
|
|
2354
|
+
attributeChangedCallback() {
|
|
2355
|
+
this.ctrl?.update(H(this));
|
|
2356
|
+
}
|
|
2357
|
+
};
|
|
2358
|
+
typeof customElements < "u" && !customElements.get("cos-rotating-text") && customElements.define(Vi, Hi);
|
|
2359
|
+
//#endregion
|
|
2360
|
+
//#region src/components/sandFall/element/index.ts
|
|
2361
|
+
var Ui = "cos-sand-fall";
|
|
2362
|
+
function U(e) {
|
|
2363
|
+
let t = {};
|
|
2364
|
+
return s(t, e, "hint", "hint"), s(t, e, "clearText", "clear-text"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "cellSize", "cell-size"), a(t, e, "spawnRate", "spawn-rate"), i(t, e, "colors", "colors"), o(t, e, "colors", "_colors"), t;
|
|
2365
|
+
}
|
|
2366
|
+
var Wi = class extends HTMLElement {
|
|
2367
|
+
ctrl = null;
|
|
2368
|
+
_colors;
|
|
2369
|
+
get colors() {
|
|
2370
|
+
return this._colors;
|
|
2371
|
+
}
|
|
2372
|
+
set colors(e) {
|
|
2373
|
+
this._colors = e, this.ctrl?.update(U(this));
|
|
2374
|
+
}
|
|
2375
|
+
static get observedAttributes() {
|
|
2376
|
+
return [
|
|
2377
|
+
"width",
|
|
2378
|
+
"height",
|
|
2379
|
+
"cell-size",
|
|
2380
|
+
"colors",
|
|
2381
|
+
"spawn-rate",
|
|
2382
|
+
"hint",
|
|
2383
|
+
"clear-text"
|
|
2384
|
+
];
|
|
2385
|
+
}
|
|
2386
|
+
connectedCallback() {
|
|
2387
|
+
this.ctrl = Je(this, U(this));
|
|
2388
|
+
}
|
|
2389
|
+
disconnectedCallback() {
|
|
2390
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2391
|
+
}
|
|
2392
|
+
attributeChangedCallback() {
|
|
2393
|
+
this.ctrl?.update(U(this));
|
|
2394
|
+
}
|
|
2395
|
+
};
|
|
2396
|
+
typeof customElements < "u" && !customElements.get("cos-sand-fall") && customElements.define(Ui, Wi);
|
|
2397
|
+
//#endregion
|
|
2398
|
+
//#region src/components/scrambleText/element/index.ts
|
|
2399
|
+
var Gi = "cos-scramble-text";
|
|
2400
|
+
function Ki(e) {
|
|
2401
|
+
let t = {};
|
|
2402
|
+
return s(t, e, "text", "text"), s(t, e, "charset", "charset"), a(t, e, "duration", "duration"), t;
|
|
2403
|
+
}
|
|
2404
|
+
var qi = class extends HTMLElement {
|
|
2405
|
+
ctrl = null;
|
|
2406
|
+
static get observedAttributes() {
|
|
2407
|
+
return [
|
|
2408
|
+
"text",
|
|
2409
|
+
"duration",
|
|
2410
|
+
"charset"
|
|
2411
|
+
];
|
|
2412
|
+
}
|
|
2413
|
+
connectedCallback() {
|
|
2414
|
+
this.ctrl = ie(this, Ki(this));
|
|
2415
|
+
}
|
|
2416
|
+
disconnectedCallback() {
|
|
2417
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2418
|
+
}
|
|
2419
|
+
attributeChangedCallback() {
|
|
2420
|
+
this.ctrl?.update(Ki(this));
|
|
2421
|
+
}
|
|
2422
|
+
};
|
|
2423
|
+
typeof customElements < "u" && !customElements.get("cos-scramble-text") && customElements.define(Gi, qi);
|
|
2424
|
+
//#endregion
|
|
2425
|
+
//#region src/components/scratchCard/element/index.ts
|
|
2426
|
+
var Ji = "cos-scratch-card";
|
|
2427
|
+
function Yi(e) {
|
|
2428
|
+
let t = {};
|
|
2429
|
+
return s(t, e, "coverColor", "cover-color"), s(t, e, "prize", "prize"), s(t, e, "coverText", "cover-text"), a(t, e, "revealThreshold", "reveal-threshold"), a(t, e, "width", "width"), a(t, e, "height", "height"), t.onReveal = n(e, "reveal"), t;
|
|
2430
|
+
}
|
|
2431
|
+
var Xi = class extends HTMLElement {
|
|
2432
|
+
ctrl = null;
|
|
2433
|
+
static get observedAttributes() {
|
|
2434
|
+
return [
|
|
2435
|
+
"cover-color",
|
|
2436
|
+
"prize",
|
|
2437
|
+
"cover-text",
|
|
2438
|
+
"reveal-threshold",
|
|
2439
|
+
"width",
|
|
2440
|
+
"height"
|
|
2441
|
+
];
|
|
2442
|
+
}
|
|
2443
|
+
connectedCallback() {
|
|
2444
|
+
this.ctrl = Me(this, Yi(this));
|
|
2445
|
+
}
|
|
2446
|
+
disconnectedCallback() {
|
|
2447
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2448
|
+
}
|
|
2449
|
+
attributeChangedCallback() {
|
|
2450
|
+
this.ctrl?.update(Yi(this));
|
|
2451
|
+
}
|
|
2452
|
+
reset() {
|
|
2453
|
+
return this.ctrl?.reset();
|
|
2454
|
+
}
|
|
2455
|
+
reveal() {
|
|
2456
|
+
return this.ctrl?.reveal();
|
|
2457
|
+
}
|
|
2458
|
+
};
|
|
2459
|
+
typeof customElements < "u" && !customElements.get("cos-scratch-card") && customElements.define(Ji, Xi);
|
|
2460
|
+
//#endregion
|
|
2461
|
+
//#region src/components/shinyText/element/index.ts
|
|
2462
|
+
var Zi = "cos-shiny-text";
|
|
2463
|
+
function Qi(e) {
|
|
2464
|
+
let t = {};
|
|
2465
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), s(t, e, "shineColor", "shine-color"), a(t, e, "speed", "speed"), a(t, e, "fontSize", "font-size"), r(t, e, "disabled", "disabled", "optional-true"), t;
|
|
2466
|
+
}
|
|
2467
|
+
var $i = class extends HTMLElement {
|
|
2468
|
+
ctrl = null;
|
|
2469
|
+
static get observedAttributes() {
|
|
2470
|
+
return [
|
|
2471
|
+
"text",
|
|
2472
|
+
"speed",
|
|
2473
|
+
"color",
|
|
2474
|
+
"shine-color",
|
|
2475
|
+
"font-size",
|
|
2476
|
+
"disabled"
|
|
2477
|
+
];
|
|
2478
|
+
}
|
|
2479
|
+
connectedCallback() {
|
|
2480
|
+
this.ctrl = ce(this, Qi(this));
|
|
2481
|
+
}
|
|
2482
|
+
disconnectedCallback() {
|
|
2483
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2484
|
+
}
|
|
2485
|
+
attributeChangedCallback() {
|
|
2486
|
+
this.ctrl?.update(Qi(this));
|
|
2487
|
+
}
|
|
2488
|
+
};
|
|
2489
|
+
typeof customElements < "u" && !customElements.get("cos-shiny-text") && customElements.define(Zi, $i);
|
|
2490
|
+
//#endregion
|
|
2491
|
+
//#region src/components/slotMachine/element/index.ts
|
|
2492
|
+
var ea = "cos-slot-machine";
|
|
2493
|
+
function W(e) {
|
|
2494
|
+
let t = {};
|
|
2495
|
+
return s(t, e, "startText", "start-text"), s(t, e, "buttonText", "button-text"), s(t, e, "spinningText", "spinning-text"), s(t, e, "jackpotText", "jackpot-text"), s(t, e, "resultPrefix", "result-prefix"), a(t, e, "spinDuration", "spin-duration"), i(t, e, "symbols", "symbols"), o(t, e, "symbols", "_symbols"), i(t, e, "targetResults", "target-results"), o(t, e, "targetResults", "_targetResults"), t.onSpinEnd = n(e, "spin-end"), t;
|
|
2496
|
+
}
|
|
2497
|
+
var ta = class extends HTMLElement {
|
|
2498
|
+
ctrl = null;
|
|
2499
|
+
_symbols;
|
|
2500
|
+
get symbols() {
|
|
2501
|
+
return this._symbols;
|
|
2502
|
+
}
|
|
2503
|
+
set symbols(e) {
|
|
2504
|
+
this._symbols = e, this.ctrl?.update(W(this));
|
|
2505
|
+
}
|
|
2506
|
+
_targetResults;
|
|
2507
|
+
get targetResults() {
|
|
2508
|
+
return this._targetResults;
|
|
2509
|
+
}
|
|
2510
|
+
set targetResults(e) {
|
|
2511
|
+
this._targetResults = e, this.ctrl?.update(W(this));
|
|
2512
|
+
}
|
|
2513
|
+
static get observedAttributes() {
|
|
2514
|
+
return [
|
|
2515
|
+
"symbols",
|
|
2516
|
+
"spin-duration",
|
|
2517
|
+
"target-results",
|
|
2518
|
+
"start-text",
|
|
2519
|
+
"button-text",
|
|
2520
|
+
"spinning-text",
|
|
2521
|
+
"jackpot-text",
|
|
2522
|
+
"result-prefix"
|
|
2523
|
+
];
|
|
2524
|
+
}
|
|
2525
|
+
connectedCallback() {
|
|
2526
|
+
this.ctrl = kt(this, W(this));
|
|
2527
|
+
}
|
|
2528
|
+
disconnectedCallback() {
|
|
2529
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2530
|
+
}
|
|
2531
|
+
attributeChangedCallback() {
|
|
2532
|
+
this.ctrl?.update(W(this));
|
|
2533
|
+
}
|
|
2534
|
+
spin(e) {
|
|
2535
|
+
return this.ctrl?.spin(e);
|
|
2536
|
+
}
|
|
2537
|
+
reset() {
|
|
2538
|
+
return this.ctrl?.reset();
|
|
2539
|
+
}
|
|
2540
|
+
};
|
|
2541
|
+
typeof customElements < "u" && !customElements.get("cos-slot-machine") && customElements.define(ea, ta);
|
|
2542
|
+
//#endregion
|
|
2543
|
+
//#region src/components/smokeFog/element/index.ts
|
|
2544
|
+
var na = "cos-smoke-fog";
|
|
2545
|
+
function ra(e) {
|
|
2546
|
+
let t = {};
|
|
2547
|
+
return s(t, e, "color", "color"), s(t, e, "backgroundColor", "background-color"), s(t, e, "ariaLabel", "aria-label"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "density", "density"), a(t, e, "speed", "speed"), a(t, e, "disperseStrength", "disperse-strength"), a(t, e, "disperseRadius", "disperse-radius"), r(t, e, "fill", "fill", "presence"), r(t, e, "interactive", "interactive", "optional-true"), t;
|
|
2548
|
+
}
|
|
2549
|
+
var ia = class extends HTMLElement {
|
|
2550
|
+
ctrl = null;
|
|
2551
|
+
static get observedAttributes() {
|
|
2552
|
+
return [
|
|
2553
|
+
"width",
|
|
2554
|
+
"height",
|
|
2555
|
+
"fill",
|
|
2556
|
+
"density",
|
|
2557
|
+
"color",
|
|
2558
|
+
"background-color",
|
|
2559
|
+
"speed",
|
|
2560
|
+
"disperse-strength",
|
|
2561
|
+
"disperse-radius",
|
|
2562
|
+
"interactive",
|
|
2563
|
+
"aria-label"
|
|
2564
|
+
];
|
|
2565
|
+
}
|
|
2566
|
+
connectedCallback() {
|
|
2567
|
+
this.ctrl = Ie(this, ra(this));
|
|
2568
|
+
}
|
|
2569
|
+
disconnectedCallback() {
|
|
2570
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2571
|
+
}
|
|
2572
|
+
attributeChangedCallback() {
|
|
2573
|
+
this.ctrl?.update(ra(this));
|
|
2574
|
+
}
|
|
2575
|
+
};
|
|
2576
|
+
typeof customElements < "u" && !customElements.get("cos-smoke-fog") && customElements.define(na, ia);
|
|
2577
|
+
//#endregion
|
|
2578
|
+
//#region src/components/snowfall/element/index.ts
|
|
2579
|
+
var aa = "cos-snowfall";
|
|
2580
|
+
function G(e) {
|
|
2581
|
+
let t = {};
|
|
2582
|
+
return a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "count", "count"), r(t, e, "fill", "fill", "presence"), i(t, e, "mode", "mode"), o(t, e, "mode", "_mode"), t;
|
|
2583
|
+
}
|
|
2584
|
+
var oa = class extends HTMLElement {
|
|
2585
|
+
ctrl = null;
|
|
2586
|
+
_mode;
|
|
2587
|
+
get mode() {
|
|
2588
|
+
return this._mode;
|
|
2589
|
+
}
|
|
2590
|
+
set mode(e) {
|
|
2591
|
+
this._mode = e, this.ctrl?.update(G(this));
|
|
2592
|
+
}
|
|
2593
|
+
static get observedAttributes() {
|
|
2594
|
+
return [
|
|
2595
|
+
"width",
|
|
2596
|
+
"height",
|
|
2597
|
+
"fill",
|
|
2598
|
+
"mode",
|
|
2599
|
+
"count"
|
|
2600
|
+
];
|
|
2601
|
+
}
|
|
2602
|
+
connectedCallback() {
|
|
2603
|
+
this.ctrl = ue(this, G(this));
|
|
2604
|
+
}
|
|
2605
|
+
disconnectedCallback() {
|
|
2606
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2607
|
+
}
|
|
2608
|
+
attributeChangedCallback() {
|
|
2609
|
+
this.ctrl?.update(G(this));
|
|
2610
|
+
}
|
|
2611
|
+
};
|
|
2612
|
+
typeof customElements < "u" && !customElements.get("cos-snowfall") && customElements.define(aa, oa);
|
|
2613
|
+
//#endregion
|
|
2614
|
+
//#region src/components/soapBubbles/element/index.ts
|
|
2615
|
+
var sa = "cos-soap-bubbles";
|
|
2616
|
+
function ca(e) {
|
|
2617
|
+
let t = {};
|
|
2618
|
+
return s(t, e, "ariaLabel", "aria-label"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "count", "count"), a(t, e, "speed", "speed"), r(t, e, "fill", "fill", "presence"), r(t, e, "interactive", "interactive", "optional-true"), t;
|
|
2619
|
+
}
|
|
2620
|
+
var la = class extends HTMLElement {
|
|
2621
|
+
ctrl = null;
|
|
2622
|
+
static get observedAttributes() {
|
|
2623
|
+
return [
|
|
2624
|
+
"width",
|
|
2625
|
+
"height",
|
|
2626
|
+
"fill",
|
|
2627
|
+
"count",
|
|
2628
|
+
"speed",
|
|
2629
|
+
"interactive",
|
|
2630
|
+
"aria-label"
|
|
2631
|
+
];
|
|
2632
|
+
}
|
|
2633
|
+
connectedCallback() {
|
|
2634
|
+
this.ctrl = Re(this, ca(this));
|
|
2635
|
+
}
|
|
2636
|
+
disconnectedCallback() {
|
|
2637
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2638
|
+
}
|
|
2639
|
+
attributeChangedCallback() {
|
|
2640
|
+
this.ctrl?.update(ca(this));
|
|
2641
|
+
}
|
|
2642
|
+
};
|
|
2643
|
+
typeof customElements < "u" && !customElements.get("cos-soap-bubbles") && customElements.define(sa, la);
|
|
2644
|
+
//#endregion
|
|
2645
|
+
//#region src/components/solarSystem/element/index.ts
|
|
2646
|
+
var ua = "cos-solar-system";
|
|
2647
|
+
function da(e) {
|
|
2648
|
+
let t = {};
|
|
2649
|
+
return a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "speed", "speed"), r(t, e, "showOrbits", "show-orbits", "presence"), t;
|
|
2650
|
+
}
|
|
2651
|
+
var fa = class extends HTMLElement {
|
|
2652
|
+
ctrl = null;
|
|
2653
|
+
static get observedAttributes() {
|
|
2654
|
+
return [
|
|
2655
|
+
"width",
|
|
2656
|
+
"height",
|
|
2657
|
+
"speed",
|
|
2658
|
+
"show-orbits"
|
|
2659
|
+
];
|
|
2660
|
+
}
|
|
2661
|
+
connectedCallback() {
|
|
2662
|
+
this.ctrl = he(this, da(this));
|
|
2663
|
+
}
|
|
2664
|
+
disconnectedCallback() {
|
|
2665
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2666
|
+
}
|
|
2667
|
+
attributeChangedCallback() {
|
|
2668
|
+
this.ctrl?.update(da(this));
|
|
2669
|
+
}
|
|
2670
|
+
};
|
|
2671
|
+
typeof customElements < "u" && !customElements.get("cos-solar-system") && customElements.define(ua, fa);
|
|
2672
|
+
//#endregion
|
|
2673
|
+
//#region src/components/speedometer/element/index.ts
|
|
2674
|
+
var pa = "cos-speedometer";
|
|
2675
|
+
function ma(e) {
|
|
2676
|
+
let t = {};
|
|
2677
|
+
return s(t, e, "label", "label"), s(t, e, "color", "color"), a(t, e, "value", "value"), a(t, e, "max", "max"), t;
|
|
2678
|
+
}
|
|
2679
|
+
var ha = class extends HTMLElement {
|
|
2680
|
+
ctrl = null;
|
|
2681
|
+
static get observedAttributes() {
|
|
2682
|
+
return [
|
|
2683
|
+
"value",
|
|
2684
|
+
"max",
|
|
2685
|
+
"label",
|
|
2686
|
+
"color"
|
|
2687
|
+
];
|
|
2688
|
+
}
|
|
2689
|
+
connectedCallback() {
|
|
2690
|
+
this.ctrl = oe(this, ma(this));
|
|
2691
|
+
}
|
|
2692
|
+
disconnectedCallback() {
|
|
2693
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2694
|
+
}
|
|
2695
|
+
attributeChangedCallback() {
|
|
2696
|
+
this.ctrl?.update(ma(this));
|
|
2697
|
+
}
|
|
2698
|
+
};
|
|
2699
|
+
typeof customElements < "u" && !customElements.get("cos-speedometer") && customElements.define(pa, ha);
|
|
2700
|
+
//#endregion
|
|
2701
|
+
//#region src/components/splitReveal/element/index.ts
|
|
2702
|
+
var ga = "cos-split-reveal";
|
|
2703
|
+
function _a(e) {
|
|
2704
|
+
let t = {};
|
|
2705
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), a(t, e, "delay", "delay"), t;
|
|
2706
|
+
}
|
|
2707
|
+
var va = class extends HTMLElement {
|
|
2708
|
+
ctrl = null;
|
|
2709
|
+
static get observedAttributes() {
|
|
2710
|
+
return [
|
|
2711
|
+
"text",
|
|
2712
|
+
"delay",
|
|
2713
|
+
"color"
|
|
2714
|
+
];
|
|
2715
|
+
}
|
|
2716
|
+
connectedCallback() {
|
|
2717
|
+
this.ctrl = jt(this, _a(this));
|
|
2718
|
+
}
|
|
2719
|
+
disconnectedCallback() {
|
|
2720
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2721
|
+
}
|
|
2722
|
+
attributeChangedCallback() {
|
|
2723
|
+
this.ctrl?.update(_a(this));
|
|
2724
|
+
}
|
|
2725
|
+
};
|
|
2726
|
+
typeof customElements < "u" && !customElements.get("cos-split-reveal") && customElements.define(ga, va);
|
|
2727
|
+
//#endregion
|
|
2728
|
+
//#region src/components/splitText/element/index.ts
|
|
2729
|
+
var ya = "cos-split-text";
|
|
2730
|
+
function K(e) {
|
|
2731
|
+
let t = {};
|
|
2732
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), a(t, e, "stagger", "stagger"), a(t, e, "duration", "duration"), a(t, e, "loopPause", "loop-pause"), a(t, e, "fontSize", "font-size"), r(t, e, "loop", "loop", "presence"), i(t, e, "animation", "animation"), o(t, e, "animation", "_animation"), t;
|
|
2733
|
+
}
|
|
2734
|
+
var ba = class extends HTMLElement {
|
|
2735
|
+
ctrl = null;
|
|
2736
|
+
_animation;
|
|
2737
|
+
get animation() {
|
|
2738
|
+
return this._animation;
|
|
2739
|
+
}
|
|
2740
|
+
set animation(e) {
|
|
2741
|
+
this._animation = e, this.ctrl?.update(K(this));
|
|
2742
|
+
}
|
|
2743
|
+
static get observedAttributes() {
|
|
2744
|
+
return [
|
|
2745
|
+
"text",
|
|
2746
|
+
"animation",
|
|
2747
|
+
"stagger",
|
|
2748
|
+
"duration",
|
|
2749
|
+
"loop",
|
|
2750
|
+
"loop-pause",
|
|
2751
|
+
"font-size",
|
|
2752
|
+
"color"
|
|
2753
|
+
];
|
|
2754
|
+
}
|
|
2755
|
+
connectedCallback() {
|
|
2756
|
+
this.ctrl = Tt(this, K(this));
|
|
2757
|
+
}
|
|
2758
|
+
disconnectedCallback() {
|
|
2759
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2760
|
+
}
|
|
2761
|
+
attributeChangedCallback() {
|
|
2762
|
+
this.ctrl?.update(K(this));
|
|
2763
|
+
}
|
|
2764
|
+
};
|
|
2765
|
+
typeof customElements < "u" && !customElements.get("cos-split-text") && customElements.define(ya, ba);
|
|
2766
|
+
//#endregion
|
|
2767
|
+
//#region src/components/spotlight/element/index.ts
|
|
2768
|
+
var xa = "cos-spotlight";
|
|
2769
|
+
function q(e) {
|
|
2770
|
+
let t = {};
|
|
2771
|
+
return s(t, e, "dimColor", "dim-color"), s(t, e, "defaultContent", "default-content"), a(t, e, "radius", "radius"), i(t, e, "slotElement", "slot-element"), o(t, e, "slotElement", "_slotElement"), t;
|
|
2772
|
+
}
|
|
2773
|
+
var Sa = class extends HTMLElement {
|
|
2774
|
+
ctrl = null;
|
|
2775
|
+
_slotElement;
|
|
2776
|
+
get slotElement() {
|
|
2777
|
+
return this._slotElement;
|
|
2778
|
+
}
|
|
2779
|
+
set slotElement(e) {
|
|
2780
|
+
this._slotElement = e, this.ctrl?.update(q(this));
|
|
2781
|
+
}
|
|
2782
|
+
static get observedAttributes() {
|
|
2783
|
+
return [
|
|
2784
|
+
"radius",
|
|
2785
|
+
"dim-color",
|
|
2786
|
+
"default-content",
|
|
2787
|
+
"slot-element"
|
|
2788
|
+
];
|
|
2789
|
+
}
|
|
2790
|
+
connectedCallback() {
|
|
2791
|
+
this.ctrl = nt(this, q(this));
|
|
2792
|
+
}
|
|
2793
|
+
disconnectedCallback() {
|
|
2794
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2795
|
+
}
|
|
2796
|
+
attributeChangedCallback() {
|
|
2797
|
+
this.ctrl?.update(q(this));
|
|
2798
|
+
}
|
|
2799
|
+
getSlot() {
|
|
2800
|
+
return this.ctrl?.getSlot();
|
|
2801
|
+
}
|
|
2802
|
+
};
|
|
2803
|
+
typeof customElements < "u" && !customElements.get("cos-spotlight") && customElements.define(xa, Sa);
|
|
2804
|
+
//#endregion
|
|
2805
|
+
//#region src/components/springMass/element/index.ts
|
|
2806
|
+
var Ca = "cos-spring-mass";
|
|
2807
|
+
function wa(e) {
|
|
2808
|
+
let t = {};
|
|
2809
|
+
return s(t, e, "color", "color"), s(t, e, "hint", "hint"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "cols", "cols"), a(t, e, "rows", "rows"), a(t, e, "stiffness", "stiffness"), a(t, e, "damping", "damping"), t;
|
|
2810
|
+
}
|
|
2811
|
+
var Ta = class extends HTMLElement {
|
|
2812
|
+
ctrl = null;
|
|
2813
|
+
static get observedAttributes() {
|
|
2814
|
+
return [
|
|
2815
|
+
"width",
|
|
2816
|
+
"height",
|
|
2817
|
+
"cols",
|
|
2818
|
+
"rows",
|
|
2819
|
+
"stiffness",
|
|
2820
|
+
"damping",
|
|
2821
|
+
"color",
|
|
2822
|
+
"hint"
|
|
2823
|
+
];
|
|
2824
|
+
}
|
|
2825
|
+
connectedCallback() {
|
|
2826
|
+
this.ctrl = Ge(this, wa(this));
|
|
2827
|
+
}
|
|
2828
|
+
disconnectedCallback() {
|
|
2829
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2830
|
+
}
|
|
2831
|
+
attributeChangedCallback() {
|
|
2832
|
+
this.ctrl?.update(wa(this));
|
|
2833
|
+
}
|
|
2834
|
+
};
|
|
2835
|
+
typeof customElements < "u" && !customElements.get("cos-spring-mass") && customElements.define(Ca, Ta);
|
|
2836
|
+
//#endregion
|
|
2837
|
+
//#region src/components/starfield/element/index.ts
|
|
2838
|
+
var Ea = "cos-starfield";
|
|
2839
|
+
function Da(e) {
|
|
2840
|
+
let t = {};
|
|
2841
|
+
return a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "starCount", "star-count"), a(t, e, "speed", "speed"), r(t, e, "fill", "fill", "presence"), t;
|
|
2842
|
+
}
|
|
2843
|
+
var Oa = class extends HTMLElement {
|
|
2844
|
+
ctrl = null;
|
|
2845
|
+
static get observedAttributes() {
|
|
2846
|
+
return [
|
|
2847
|
+
"width",
|
|
2848
|
+
"height",
|
|
2849
|
+
"fill",
|
|
2850
|
+
"star-count",
|
|
2851
|
+
"speed"
|
|
2852
|
+
];
|
|
2853
|
+
}
|
|
2854
|
+
connectedCallback() {
|
|
2855
|
+
this.ctrl = De(this, Da(this));
|
|
2856
|
+
}
|
|
2857
|
+
disconnectedCallback() {
|
|
2858
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2859
|
+
}
|
|
2860
|
+
attributeChangedCallback() {
|
|
2861
|
+
this.ctrl?.update(Da(this));
|
|
2862
|
+
}
|
|
2863
|
+
};
|
|
2864
|
+
typeof customElements < "u" && !customElements.get("cos-starfield") && customElements.define(Ea, Oa);
|
|
2865
|
+
//#endregion
|
|
2866
|
+
//#region src/components/textMorph/element/index.ts
|
|
2867
|
+
var ka = "cos-text-morph";
|
|
2868
|
+
function J(e) {
|
|
2869
|
+
let t = {};
|
|
2870
|
+
return s(t, e, "color", "color"), a(t, e, "interval", "interval"), a(t, e, "duration", "duration"), a(t, e, "fontSize", "font-size"), i(t, e, "texts", "texts"), o(t, e, "texts", "_texts"), t;
|
|
2871
|
+
}
|
|
2872
|
+
var Aa = class extends HTMLElement {
|
|
2873
|
+
ctrl = null;
|
|
2874
|
+
_texts;
|
|
2875
|
+
get texts() {
|
|
2876
|
+
return this._texts;
|
|
2877
|
+
}
|
|
2878
|
+
set texts(e) {
|
|
2879
|
+
this._texts = e, this.ctrl?.update(J(this));
|
|
2880
|
+
}
|
|
2881
|
+
static get observedAttributes() {
|
|
2882
|
+
return [
|
|
2883
|
+
"texts",
|
|
2884
|
+
"interval",
|
|
2885
|
+
"duration",
|
|
2886
|
+
"font-size",
|
|
2887
|
+
"color"
|
|
2888
|
+
];
|
|
2889
|
+
}
|
|
2890
|
+
connectedCallback() {
|
|
2891
|
+
this.ctrl = ft(this, J(this));
|
|
2892
|
+
}
|
|
2893
|
+
disconnectedCallback() {
|
|
2894
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2895
|
+
}
|
|
2896
|
+
attributeChangedCallback() {
|
|
2897
|
+
this.ctrl?.update(J(this));
|
|
2898
|
+
}
|
|
2899
|
+
};
|
|
2900
|
+
typeof customElements < "u" && !customElements.get("cos-text-morph") && customElements.define(ka, Aa);
|
|
2901
|
+
//#endregion
|
|
2902
|
+
//#region src/components/timelinePulse/element/index.ts
|
|
2903
|
+
var ja = "cos-timeline-pulse";
|
|
2904
|
+
function Y(e) {
|
|
2905
|
+
let t = {};
|
|
2906
|
+
return s(t, e, "color", "color"), a(t, e, "current", "current"), i(t, e, "steps", "steps"), o(t, e, "steps", "_steps"), t;
|
|
2907
|
+
}
|
|
2908
|
+
var Ma = class extends HTMLElement {
|
|
2909
|
+
ctrl = null;
|
|
2910
|
+
_steps;
|
|
2911
|
+
get steps() {
|
|
2912
|
+
return this._steps;
|
|
2913
|
+
}
|
|
2914
|
+
set steps(e) {
|
|
2915
|
+
this._steps = e, this.ctrl?.update(Y(this));
|
|
2916
|
+
}
|
|
2917
|
+
static get observedAttributes() {
|
|
2918
|
+
return [
|
|
2919
|
+
"steps",
|
|
2920
|
+
"current",
|
|
2921
|
+
"color"
|
|
2922
|
+
];
|
|
2923
|
+
}
|
|
2924
|
+
connectedCallback() {
|
|
2925
|
+
this.ctrl = Pe(this, Y(this));
|
|
2926
|
+
}
|
|
2927
|
+
disconnectedCallback() {
|
|
2928
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2929
|
+
}
|
|
2930
|
+
attributeChangedCallback() {
|
|
2931
|
+
this.ctrl?.update(Y(this));
|
|
2932
|
+
}
|
|
2933
|
+
};
|
|
2934
|
+
typeof customElements < "u" && !customElements.get("cos-timeline-pulse") && customElements.define(ja, Ma);
|
|
2935
|
+
//#endregion
|
|
2936
|
+
//#region src/components/trueFocus/element/index.ts
|
|
2937
|
+
var Na = "cos-true-focus";
|
|
2938
|
+
function Pa(e) {
|
|
2939
|
+
let t = {};
|
|
2940
|
+
return s(t, e, "sentence", "sentence"), s(t, e, "separator", "separator"), s(t, e, "borderColor", "border-color"), s(t, e, "glowColor", "glow-color"), s(t, e, "color", "color"), a(t, e, "blurAmount", "blur-amount"), a(t, e, "animationDuration", "animation-duration"), a(t, e, "pauseBetweenAnimations", "pause-between-animations"), a(t, e, "fontSize", "font-size"), r(t, e, "manualMode", "manual-mode", "presence"), t;
|
|
2941
|
+
}
|
|
2942
|
+
var Fa = class extends HTMLElement {
|
|
2943
|
+
ctrl = null;
|
|
2944
|
+
static get observedAttributes() {
|
|
2945
|
+
return [
|
|
2946
|
+
"sentence",
|
|
2947
|
+
"separator",
|
|
2948
|
+
"manual-mode",
|
|
2949
|
+
"blur-amount",
|
|
2950
|
+
"border-color",
|
|
2951
|
+
"glow-color",
|
|
2952
|
+
"animation-duration",
|
|
2953
|
+
"pause-between-animations",
|
|
2954
|
+
"font-size",
|
|
2955
|
+
"color"
|
|
2956
|
+
];
|
|
2957
|
+
}
|
|
2958
|
+
connectedCallback() {
|
|
2959
|
+
this.ctrl = _t(this, Pa(this));
|
|
2960
|
+
}
|
|
2961
|
+
disconnectedCallback() {
|
|
2962
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
2963
|
+
}
|
|
2964
|
+
attributeChangedCallback() {
|
|
2965
|
+
this.ctrl?.update(Pa(this));
|
|
2966
|
+
}
|
|
2967
|
+
};
|
|
2968
|
+
typeof customElements < "u" && !customElements.get("cos-true-focus") && customElements.define(Na, Fa);
|
|
2969
|
+
//#endregion
|
|
2970
|
+
//#region src/components/turntable/element/index.ts
|
|
2971
|
+
var Ia = "cos-turntable";
|
|
2972
|
+
function X(e) {
|
|
2973
|
+
let t = {};
|
|
2974
|
+
return s(t, e, "buttonText", "button-text"), s(t, e, "spinningText", "spinning-text"), s(t, e, "resultPrefix", "result-prefix"), a(t, e, "size", "size"), a(t, e, "spinDuration", "spin-duration"), a(t, e, "spinRounds", "spin-rounds"), a(t, e, "targetIndex", "target-index"), i(t, e, "prizes", "prizes"), o(t, e, "prizes", "_prizes"), t.onSpinEnd = n(e, "spin-end"), t;
|
|
2975
|
+
}
|
|
2976
|
+
var La = class extends HTMLElement {
|
|
2977
|
+
ctrl = null;
|
|
2978
|
+
_prizes;
|
|
2979
|
+
get prizes() {
|
|
2980
|
+
return this._prizes;
|
|
2981
|
+
}
|
|
2982
|
+
set prizes(e) {
|
|
2983
|
+
this._prizes = e, this.ctrl?.update(X(this));
|
|
2984
|
+
}
|
|
2985
|
+
static get observedAttributes() {
|
|
2986
|
+
return [
|
|
2987
|
+
"prizes",
|
|
2988
|
+
"size",
|
|
2989
|
+
"spin-duration",
|
|
2990
|
+
"spin-rounds",
|
|
2991
|
+
"target-index",
|
|
2992
|
+
"button-text",
|
|
2993
|
+
"spinning-text",
|
|
2994
|
+
"result-prefix"
|
|
2995
|
+
];
|
|
2996
|
+
}
|
|
2997
|
+
connectedCallback() {
|
|
2998
|
+
this.ctrl = it(this, X(this));
|
|
2999
|
+
}
|
|
3000
|
+
disconnectedCallback() {
|
|
3001
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
3002
|
+
}
|
|
3003
|
+
attributeChangedCallback() {
|
|
3004
|
+
this.ctrl?.update(X(this));
|
|
3005
|
+
}
|
|
3006
|
+
spin(e) {
|
|
3007
|
+
return this.ctrl?.spin(e);
|
|
3008
|
+
}
|
|
3009
|
+
reset() {
|
|
3010
|
+
return this.ctrl?.reset();
|
|
3011
|
+
}
|
|
3012
|
+
};
|
|
3013
|
+
typeof customElements < "u" && !customElements.get("cos-turntable") && customElements.define(Ia, La);
|
|
3014
|
+
//#endregion
|
|
3015
|
+
//#region src/components/typewriter/element/index.ts
|
|
3016
|
+
var Ra = "cos-typewriter";
|
|
3017
|
+
function Z(e) {
|
|
3018
|
+
let t = {};
|
|
3019
|
+
return a(t, e, "speed", "speed"), a(t, e, "deleteSpeed", "delete-speed"), a(t, e, "pause", "pause"), i(t, e, "texts", "texts"), o(t, e, "texts", "_texts"), t;
|
|
3020
|
+
}
|
|
3021
|
+
var za = class extends HTMLElement {
|
|
3022
|
+
ctrl = null;
|
|
3023
|
+
_texts;
|
|
3024
|
+
get texts() {
|
|
3025
|
+
return this._texts;
|
|
3026
|
+
}
|
|
3027
|
+
set texts(e) {
|
|
3028
|
+
this._texts = e, this.ctrl?.update(Z(this));
|
|
3029
|
+
}
|
|
3030
|
+
static get observedAttributes() {
|
|
3031
|
+
return [
|
|
3032
|
+
"texts",
|
|
3033
|
+
"speed",
|
|
3034
|
+
"delete-speed",
|
|
3035
|
+
"pause"
|
|
3036
|
+
];
|
|
3037
|
+
}
|
|
3038
|
+
connectedCallback() {
|
|
3039
|
+
this.ctrl = et(this, Z(this));
|
|
3040
|
+
}
|
|
3041
|
+
disconnectedCallback() {
|
|
3042
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
3043
|
+
}
|
|
3044
|
+
attributeChangedCallback() {
|
|
3045
|
+
this.ctrl?.update(Z(this));
|
|
3046
|
+
}
|
|
3047
|
+
};
|
|
3048
|
+
typeof customElements < "u" && !customElements.get("cos-typewriter") && customElements.define(Ra, za);
|
|
3049
|
+
//#endregion
|
|
3050
|
+
//#region src/components/waveButton/element/index.ts
|
|
3051
|
+
var Ba = "cos-wave-button";
|
|
3052
|
+
function Q(e) {
|
|
3053
|
+
let t = {};
|
|
3054
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), i(t, e, "buttonProps", "button-props"), o(t, e, "buttonProps", "_buttonProps"), t;
|
|
3055
|
+
}
|
|
3056
|
+
var Va = class extends HTMLElement {
|
|
3057
|
+
ctrl = null;
|
|
3058
|
+
_buttonProps;
|
|
3059
|
+
get buttonProps() {
|
|
3060
|
+
return this._buttonProps;
|
|
3061
|
+
}
|
|
3062
|
+
set buttonProps(e) {
|
|
3063
|
+
this._buttonProps = e, this.ctrl?.update(Q(this));
|
|
3064
|
+
}
|
|
3065
|
+
static get observedAttributes() {
|
|
3066
|
+
return [
|
|
3067
|
+
"text",
|
|
3068
|
+
"color",
|
|
3069
|
+
"button-props"
|
|
3070
|
+
];
|
|
3071
|
+
}
|
|
3072
|
+
connectedCallback() {
|
|
3073
|
+
this.ctrl = Ze(this, Q(this));
|
|
3074
|
+
}
|
|
3075
|
+
disconnectedCallback() {
|
|
3076
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
3077
|
+
}
|
|
3078
|
+
attributeChangedCallback() {
|
|
3079
|
+
this.ctrl?.update(Q(this));
|
|
3080
|
+
}
|
|
3081
|
+
getButton() {
|
|
3082
|
+
return this.ctrl?.getButton();
|
|
3083
|
+
}
|
|
3084
|
+
};
|
|
3085
|
+
typeof customElements < "u" && !customElements.get("cos-wave-button") && customElements.define(Ba, Va);
|
|
3086
|
+
//#endregion
|
|
3087
|
+
//#region src/components/waveText/element/index.ts
|
|
3088
|
+
var Ha = "cos-wave-text";
|
|
3089
|
+
function Ua(e) {
|
|
3090
|
+
let t = {};
|
|
3091
|
+
return s(t, e, "text", "text"), s(t, e, "color", "color"), a(t, e, "amplitude", "amplitude"), a(t, e, "fontSize", "font-size"), t;
|
|
3092
|
+
}
|
|
3093
|
+
var Wa = class extends HTMLElement {
|
|
3094
|
+
ctrl = null;
|
|
3095
|
+
static get observedAttributes() {
|
|
3096
|
+
return [
|
|
3097
|
+
"text",
|
|
3098
|
+
"amplitude",
|
|
3099
|
+
"color",
|
|
3100
|
+
"font-size"
|
|
3101
|
+
];
|
|
3102
|
+
}
|
|
3103
|
+
connectedCallback() {
|
|
3104
|
+
this.ctrl = xt(this, Ua(this));
|
|
3105
|
+
}
|
|
3106
|
+
disconnectedCallback() {
|
|
3107
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
3108
|
+
}
|
|
3109
|
+
attributeChangedCallback() {
|
|
3110
|
+
this.ctrl?.update(Ua(this));
|
|
3111
|
+
}
|
|
3112
|
+
};
|
|
3113
|
+
typeof customElements < "u" && !customElements.get("cos-wave-text") && customElements.define(Ha, Wa);
|
|
3114
|
+
//#endregion
|
|
3115
|
+
//#region src/components/weatherBackground/element/index.ts
|
|
3116
|
+
var Ga = "cos-weather-background";
|
|
3117
|
+
function $(e) {
|
|
3118
|
+
let t = {};
|
|
3119
|
+
return s(t, e, "time", "time"), s(t, e, "ariaLabel", "aria-label"), s(t, e, "loadingText", "loading-text"), a(t, e, "width", "width"), a(t, e, "height", "height"), a(t, e, "latitude", "latitude"), a(t, e, "longitude", "longitude"), a(t, e, "windLevel", "wind-level"), a(t, e, "rainLevel", "rain-level"), a(t, e, "snowLevel", "snow-level"), a(t, e, "hailLevel", "hail-level"), a(t, e, "fogLevel", "fog-level"), a(t, e, "smogLevel", "smog-level"), r(t, e, "fill", "fill", "presence"), r(t, e, "live", "live", "presence"), r(t, e, "loading", "loading", "presence"), i(t, e, "weather", "weather"), o(t, e, "weather", "_weather"), t.onLiveWeather = n(e, "live-weather"), t;
|
|
3120
|
+
}
|
|
3121
|
+
var Ka = class extends HTMLElement {
|
|
3122
|
+
ctrl = null;
|
|
3123
|
+
_weather;
|
|
3124
|
+
get weather() {
|
|
3125
|
+
return this._weather;
|
|
3126
|
+
}
|
|
3127
|
+
set weather(e) {
|
|
3128
|
+
this._weather = e, this.ctrl?.update($(this));
|
|
3129
|
+
}
|
|
3130
|
+
static get observedAttributes() {
|
|
3131
|
+
return [
|
|
3132
|
+
"width",
|
|
3133
|
+
"height",
|
|
3134
|
+
"fill",
|
|
3135
|
+
"weather",
|
|
3136
|
+
"time",
|
|
3137
|
+
"live",
|
|
3138
|
+
"latitude",
|
|
3139
|
+
"longitude",
|
|
3140
|
+
"wind-level",
|
|
3141
|
+
"rain-level",
|
|
3142
|
+
"snow-level",
|
|
3143
|
+
"hail-level",
|
|
3144
|
+
"fog-level",
|
|
3145
|
+
"smog-level",
|
|
3146
|
+
"loading",
|
|
3147
|
+
"aria-label",
|
|
3148
|
+
"loading-text"
|
|
3149
|
+
];
|
|
3150
|
+
}
|
|
3151
|
+
connectedCallback() {
|
|
3152
|
+
this.ctrl = pt(this, $(this));
|
|
3153
|
+
}
|
|
3154
|
+
disconnectedCallback() {
|
|
3155
|
+
this.ctrl?.destroy(), this.ctrl = null;
|
|
3156
|
+
}
|
|
3157
|
+
attributeChangedCallback() {
|
|
3158
|
+
this.ctrl?.update($(this));
|
|
3159
|
+
}
|
|
3160
|
+
};
|
|
3161
|
+
typeof customElements < "u" && !customElements.get("cos-weather-background") && customElements.define(Ga, Ka);
|
|
3162
|
+
//#endregion
|