@tsparticles/shape-cards 4.0.0-alpha.8 → 4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/27.min.js +1 -0
  2. package/453.min.js +1 -0
  3. package/555.min.js +1 -0
  4. package/691.min.js +1 -0
  5. package/959.min.js +1 -0
  6. package/browser/cards/CardDrawer.js +8 -4
  7. package/browser/cards/index.js +6 -4
  8. package/browser/clubs/ClubDrawer.js +0 -3
  9. package/browser/clubs/index.js +6 -4
  10. package/browser/diamonds/DiamondDrawer.js +0 -3
  11. package/browser/diamonds/index.js +6 -4
  12. package/browser/hearts/HeartDrawer.js +0 -3
  13. package/browser/hearts/index.js +6 -4
  14. package/browser/index.js +20 -11
  15. package/browser/spades/SpadeDrawer.js +0 -3
  16. package/browser/spades/index.js +6 -4
  17. package/browser/utils.js +28 -18
  18. package/cjs/cards/CardDrawer.js +8 -4
  19. package/cjs/cards/index.js +6 -4
  20. package/cjs/clubs/ClubDrawer.js +0 -3
  21. package/cjs/clubs/index.js +6 -4
  22. package/cjs/diamonds/DiamondDrawer.js +0 -3
  23. package/cjs/diamonds/index.js +6 -4
  24. package/cjs/hearts/HeartDrawer.js +0 -3
  25. package/cjs/hearts/index.js +6 -4
  26. package/cjs/index.js +20 -11
  27. package/cjs/spades/SpadeDrawer.js +0 -3
  28. package/cjs/spades/index.js +6 -4
  29. package/cjs/utils.js +28 -18
  30. package/dist_browser_cards_CardDrawer_js.js +5 -5
  31. package/dist_browser_clubs_ClubDrawer_js.js +4 -4
  32. package/dist_browser_diamonds_DiamondDrawer_js.js +4 -4
  33. package/dist_browser_hearts_HeartDrawer_js.js +4 -4
  34. package/dist_browser_spades_SpadeDrawer_js.js +4 -4
  35. package/esm/cards/CardDrawer.js +8 -4
  36. package/esm/cards/index.js +6 -4
  37. package/esm/clubs/ClubDrawer.js +0 -3
  38. package/esm/clubs/index.js +6 -4
  39. package/esm/diamonds/DiamondDrawer.js +0 -3
  40. package/esm/diamonds/index.js +6 -4
  41. package/esm/hearts/HeartDrawer.js +0 -3
  42. package/esm/hearts/index.js +6 -4
  43. package/esm/index.js +20 -11
  44. package/esm/spades/SpadeDrawer.js +0 -3
  45. package/esm/spades/index.js +6 -4
  46. package/esm/utils.js +28 -18
  47. package/package.json +3 -3
  48. package/report.html +84 -29
  49. package/tsparticles.shape.cards.js +47 -35
  50. package/tsparticles.shape.cards.min.js +2 -2
  51. package/types/cards/CardDrawer.d.ts +2 -1
  52. package/types/clubs/ClubDrawer.d.ts +0 -1
  53. package/types/diamonds/DiamondDrawer.d.ts +0 -1
  54. package/types/hearts/HeartDrawer.d.ts +0 -1
  55. package/types/spades/SpadeDrawer.d.ts +0 -1
  56. package/types/utils.d.ts +2 -1
  57. package/umd/cards/CardDrawer.js +8 -4
  58. package/umd/cards/index.js +6 -4
  59. package/umd/clubs/ClubDrawer.js +0 -3
  60. package/umd/clubs/index.js +6 -4
  61. package/umd/diamonds/DiamondDrawer.js +0 -3
  62. package/umd/diamonds/index.js +6 -4
  63. package/umd/hearts/HeartDrawer.js +0 -3
  64. package/umd/hearts/index.js +6 -4
  65. package/umd/index.js +20 -11
  66. package/umd/spades/SpadeDrawer.js +0 -3
  67. package/umd/spades/index.js +6 -4
  68. package/umd/utils.js +27 -17
  69. package/35.min.js +0 -2
  70. package/35.min.js.LICENSE.txt +0 -1
  71. package/475.min.js +0 -2
  72. package/475.min.js.LICENSE.txt +0 -1
  73. package/505.min.js +0 -2
  74. package/505.min.js.LICENSE.txt +0 -1
  75. package/657.min.js +0 -2
  76. package/657.min.js.LICENSE.txt +0 -1
  77. package/741.min.js +0 -2
  78. package/741.min.js.LICENSE.txt +0 -1
  79. package/tsparticles.shape.cards.min.js.LICENSE.txt +0 -1
@@ -1 +0,0 @@
1
- /*! tsParticles Cards Shape v4.0.0-alpha.8 by Matteo Bruni */
package/657.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 657.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[657],{355(e,y,t){var p;t.d(y,{U:()=>p}),function(e){e.hearts="hearts",e.diamonds="diamonds",e.clubs="clubs",e.spades="spades"}(p||(p={}))},657(e,y,t){t.d(y,{HeartDrawer:()=>s});var p=t(580),x=t(792);class s{constructor(){this.validTypes=["heart","hearts"]}draw(e){const{context:y,radius:t}=e;(0,p.drawPath)(y,t,x.f0.hearts)}}},792(e,y,t){t.d(y,{f0:()=>d});var p=t(580),x=t(303),s=t(355);const a=x.quarter*x.half,m=x.half,r=m*x.half,n=-m,l=-r,i=m*a,u=m*x.threeQuarter,h={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:n},{x:x.empty,y:n},{x:r,y:n},{x:r,y:l}]},{type:p.SegmentType.bezier,values:[{x:r,y:l},{x:r,y:l},{x:m,y:l},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:i,y:r},{x:i,y:i}]},{type:p.SegmentType.bezier,values:[{x:i,y:i},{x:i,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},b={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:u,y:x.empty},{x:u,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:u,y:x.empty},{x:u,y:x.empty},{x:x.empty,y:n},{x:x.empty,y:n}]}]},g={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:m,y:x.empty},{x:m,y:l}]},{type:p.SegmentType.bezier,values:[{x:m,y:l},{x:m,y:l},{x:m,y:n},{x:r,y:n}]},{type:p.SegmentType.bezier,values:[{x:r,y:n},{x:r,y:n},{x:x.empty,y:n},{x:x.empty,y:l}]}]},v={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:n},{x:x.empty,y:n},{x:m,y:l},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:i,y:r},{x:i,y:i}]},{type:p.SegmentType.bezier,values:[{x:i,y:i},{x:i,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},d={[s.U.hearts]:g,[s.U.diamonds]:b,[s.U.clubs]:h,[s.U.spades]:v}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Cards Shape v4.0.0-alpha.8 by Matteo Bruni */
package/741.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 741.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[741],{355(e,y,t){var p;t.d(y,{U:()=>p}),function(e){e.hearts="hearts",e.diamonds="diamonds",e.clubs="clubs",e.spades="spades"}(p||(p={}))},741(e,y,t){t.d(y,{ClubDrawer:()=>s});var p=t(580),x=t(792);class s{constructor(){this.validTypes=["club","clubs"]}draw(e){const{context:y,radius:t}=e;(0,p.drawPath)(y,t,x.f0.clubs)}}},792(e,y,t){t.d(y,{f0:()=>c});var p=t(580),x=t(303),s=t(355);const a=x.quarter*x.half,m=x.half,r=m*x.half,l=-m,n=-r,u=m*a,i=m*x.threeQuarter,b={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:r,y:l},{x:r,y:n}]},{type:p.SegmentType.bezier,values:[{x:r,y:n},{x:r,y:n},{x:m,y:n},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:u,y:r},{x:u,y:u}]},{type:p.SegmentType.bezier,values:[{x:u,y:u},{x:u,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},g={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:i,y:x.empty},{x:i,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:i,y:x.empty},{x:i,y:x.empty},{x:x.empty,y:l},{x:x.empty,y:l}]}]},h={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:m,y:x.empty},{x:m,y:n}]},{type:p.SegmentType.bezier,values:[{x:m,y:n},{x:m,y:n},{x:m,y:l},{x:r,y:l}]},{type:p.SegmentType.bezier,values:[{x:r,y:l},{x:r,y:l},{x:x.empty,y:l},{x:x.empty,y:n}]}]},v={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:m,y:n},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:u,y:r},{x:u,y:u}]},{type:p.SegmentType.bezier,values:[{x:u,y:u},{x:u,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},c={[s.U.hearts]:h,[s.U.diamonds]:g,[s.U.clubs]:b,[s.U.spades]:v}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Cards Shape v4.0.0-alpha.8 by Matteo Bruni */
@@ -1 +0,0 @@
1
- /*! tsParticles Cards Shape v4.0.0-alpha.8 by Matteo Bruni */