@okam/stack-ui 1.28.0 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Button/interface.d.ts +2 -2
- package/components/Menu/interface.d.ts +5 -2
- package/components/Video/index.d.ts +3 -0
- package/components/Video/interface.d.ts +6 -0
- package/components/WysiwygBlock/attributes.d.ts +2 -0
- package/index.d.ts +1 -2
- package/index.js +1 -1
- package/index.mjs +101 -103
- package/index10.js +1 -1
- package/index10.mjs +1 -1
- package/index100.js +2 -1
- package/index100.mjs +22 -17
- package/index101.js +1 -2
- package/index101.mjs +63 -22
- package/index102.js +1 -1
- package/index102.mjs +24 -58
- package/index103.js +1 -1
- package/index103.mjs +52 -29
- package/index104.js +1 -1
- package/index107.js +1 -1
- package/index107.mjs +1 -1
- package/index108.js +1 -1
- package/index109.js +1 -1
- package/index109.mjs +2 -2
- package/index11.js +1 -1
- package/index11.mjs +3 -3
- package/index110.js +1 -1
- package/index111.js +1 -1
- package/index112.js +1 -1
- package/index112.mjs +1 -1
- package/index113.js +1 -1
- package/index113.mjs +1 -1
- package/index114.js +1 -1
- package/index114.mjs +1 -1
- package/index115.js +1 -1
- package/index115.mjs +9 -9
- package/index116.js +1 -1
- package/index116.mjs +3 -3
- package/index117.js +1 -1
- package/index118.js +1 -1
- package/index119.js +1 -1
- package/index12.js +1 -1
- package/index12.mjs +1 -1
- package/index120.js +1 -1
- package/index120.mjs +2 -2
- package/index121.js +1 -1
- package/index121.mjs +1 -1
- package/index122.js +1 -1
- package/index122.mjs +1 -1
- package/index123.js +1 -1
- package/index123.mjs +21 -5
- package/index124.js +1 -1
- package/index124.mjs +11 -21
- package/index125.js +2 -1
- package/index125.mjs +22 -11
- package/index126.js +1 -1
- package/index126.mjs +12 -42
- package/index127.js +1 -2
- package/index127.mjs +46 -22
- package/index128.js +1 -1
- package/index128.mjs +241 -12
- package/index129.js +2 -1
- package/index129.mjs +13 -46
- package/index13.js +1 -1
- package/index13.mjs +8 -5
- package/index130.js +1 -1
- package/index130.mjs +28 -239
- package/index131.js +1 -2
- package/index131.mjs +51 -13
- package/index132.js +1 -1
- package/index132.mjs +27 -30
- package/index133.js +1 -1
- package/index133.mjs +19 -49
- package/index134.js +1 -1
- package/index134.mjs +61 -26
- package/index135.js +1 -1
- package/index135.mjs +91 -17
- package/index136.js +1 -1
- package/index136.mjs +31 -3
- package/index137.js +1 -4
- package/index137.mjs +119 -244
- package/index138.js +1 -1
- package/index138.mjs +27 -61
- package/index139.js +1 -1
- package/index139.mjs +122 -92
- package/index14.js +1 -1
- package/index14.mjs +2 -2
- package/index140.js +1 -1
- package/index140.mjs +134 -31
- package/index141.js +1 -1
- package/index141.mjs +12 -119
- package/index142.js +1 -1
- package/index142.mjs +93 -25
- package/index143.js +1 -1
- package/index143.mjs +103 -121
- package/index144.js +1 -1
- package/index144.mjs +5 -134
- package/index145.js +1 -1
- package/index145.mjs +3 -14
- package/index146.js +1 -1
- package/index146.mjs +113 -83
- package/index147.js +1 -1
- package/index147.mjs +25 -102
- package/index148.js +1 -1
- package/index148.mjs +51 -5
- package/index149.js +1 -1
- package/index149.mjs +44 -3
- package/index15.js +1 -1
- package/index15.mjs +1 -1
- package/index150.js +1 -1
- package/index150.mjs +29 -117
- package/index151.js +1 -1
- package/index151.mjs +100 -16
- package/index152.js +1 -1
- package/index152.mjs +70 -44
- package/index153.js +1 -1
- package/index153.mjs +90 -33
- package/index154.js +1 -1
- package/index154.mjs +98 -38
- package/index155.js +1 -1
- package/index155.mjs +195 -109
- package/index156.js +1 -1
- package/index156.mjs +61 -74
- package/index157.js +1 -1
- package/index157.mjs +141 -101
- package/index158.js +1 -1
- package/index158.mjs +120 -98
- package/index159.js +1 -1
- package/index159.mjs +218 -2
- package/index16.js +1 -1
- package/index160.js +1 -1
- package/index160.mjs +190 -5
- package/index161.js +1 -1
- package/index161.mjs +68 -63
- package/index162.js +1 -1
- package/index162.mjs +255 -23
- package/index163.js +1 -1
- package/index163.mjs +94 -51
- package/index164.js +1 -1
- package/index164.mjs +171 -152
- package/index165.js +1 -1
- package/index165.mjs +83 -21
- package/index166.js +1 -1
- package/index166.mjs +57 -18
- package/index167.js +1 -1
- package/index167.mjs +123 -36
- package/index168.js +1 -1
- package/index168.mjs +113 -79
- package/index169.js +1 -1
- package/index169.mjs +119 -27
- package/index17.js +1 -1
- package/index17.mjs +1 -1
- package/index170.js +1 -1
- package/index170.mjs +70 -19
- package/index171.js +1 -1
- package/index171.mjs +110 -53
- package/index172.js +1 -1
- package/index172.mjs +53 -2
- package/index173.js +1 -11
- package/index173.mjs +92 -114
- package/index174.js +1 -1
- package/index174.mjs +63 -192
- package/index175.js +1 -1
- package/index175.mjs +51 -59
- package/index176.js +1 -1
- package/index176.mjs +93 -135
- package/index177.js +5 -1
- package/index177.mjs +75 -114
- package/index178.js +1 -1
- package/index178.mjs +1994 -200
- package/index179.js +1 -1
- package/index179.mjs +57 -188
- package/index18.js +1 -1
- package/index18.mjs +3 -3
- package/index180.js +1 -1
- package/index180.mjs +186 -67
- package/index181.js +1 -1
- package/index181.mjs +5 -258
- package/index182.js +1 -1
- package/index182.mjs +127 -94
- package/index183.js +1 -1
- package/index183.mjs +171 -166
- package/index184.js +1 -1
- package/index184.mjs +8 -83
- package/index185.js +1 -1
- package/index185.mjs +3 -58
- package/index186.js +1 -1
- package/index186.mjs +32 -122
- package/index187.js +1 -1
- package/index187.mjs +5 -116
- package/index188.js +1 -1
- package/index188.mjs +25 -118
- package/index189.js +1 -1
- package/index189.mjs +6 -72
- package/index19.js +1 -1
- package/index190.js +1 -1
- package/index190.mjs +306 -103
- package/index191.js +1 -1
- package/index191.mjs +189 -49
- package/index192.js +1 -1
- package/index192.mjs +8 -93
- package/index193.js +1 -1
- package/index193.mjs +24 -68
- package/index194.js +1 -1
- package/index194.mjs +54 -55
- package/index195.js +1 -1
- package/index195.mjs +42 -95
- package/index196.js +1 -5
- package/index196.mjs +123 -79
- package/index197.js +1 -1
- package/index197.mjs +5 -2011
- package/index198.js +1 -1
- package/index198.mjs +26 -57
- package/index199.js +1 -1
- package/index199.mjs +7 -189
- package/index2.js +1 -1
- package/index2.mjs +20 -20
- package/index20.js +1 -1
- package/index20.mjs +1 -1
- package/index200.js +1 -1
- package/index200.mjs +6 -4
- package/index201.js +1 -1
- package/index201.mjs +8 -2
- package/index202.js +1 -1
- package/index202.mjs +4 -52
- package/index203.js +1 -1
- package/index203.mjs +5 -20
- package/index204.js +1 -1
- package/index204.mjs +9 -23
- package/index21.js +1 -1
- package/index21.mjs +1 -1
- package/index22.js +1 -1
- package/index22.mjs +1 -1
- package/index23.js +1 -1
- package/index23.mjs +1 -1
- package/index24.js +1 -1
- package/index24.mjs +1 -1
- package/index25.js +1 -1
- package/index25.mjs +1 -1
- package/index26.js +1 -1
- package/index26.mjs +1 -1
- package/index27.js +1 -1
- package/index28.js +1 -1
- package/index28.mjs +2 -2
- package/index29.js +1 -1
- package/index29.mjs +1 -1
- package/index3.js +1 -1
- package/index3.mjs +1 -1
- package/index30.js +1 -1
- package/index31.js +1 -1
- package/index31.mjs +2 -2
- package/index32.js +1 -1
- package/index32.mjs +1 -1
- package/index33.js +1 -1
- package/index33.mjs +88 -65
- package/index34.js +1 -1
- package/index34.mjs +2 -2
- package/index35.js +1 -1
- package/index35.mjs +2 -2
- package/index36.js +1 -1
- package/index36.mjs +1 -1
- package/index37.js +1 -1
- package/index38.js +2 -1
- package/index38.mjs +20 -45
- package/index39.js +1 -2
- package/index39.mjs +5 -26
- package/index4.js +1 -1
- package/index4.mjs +4 -4
- package/index40.js +1 -1
- package/index40.mjs +7 -4
- package/index41.js +1 -1
- package/index41.mjs +5 -5
- package/index42.js +1 -1
- package/index42.mjs +5 -8
- package/index43.js +1 -1
- package/index43.mjs +2 -2
- package/index44.js +1 -1
- package/index44.mjs +1 -1
- package/index45.js +1 -1
- package/index45.mjs +4 -4
- package/index46.js +1 -1
- package/index46.mjs +9 -3
- package/index47.js +1 -1
- package/index47.mjs +9 -7
- package/index48.js +1 -1
- package/index48.mjs +9 -9
- package/index49.js +1 -1
- package/index49.mjs +46 -13
- package/index50.js +1 -1
- package/index50.mjs +8 -46
- package/index51.js +1 -1
- package/index51.mjs +69 -6
- package/index52.js +1 -1
- package/index52.mjs +8 -71
- package/index53.js +1 -1
- package/index53.mjs +12 -7
- package/index54.js +1 -1
- package/index54.mjs +9 -12
- package/index55.js +1 -1
- package/index55.mjs +17 -10
- package/index56.js +1 -1
- package/index56.mjs +13 -17
- package/index57.js +1 -1
- package/index57.mjs +5 -5
- package/index58.js +1 -1
- package/index58.mjs +6 -6
- package/index59.js +1 -1
- package/index59.mjs +8 -10
- package/index6.js +1 -1
- package/index6.mjs +1 -1
- package/index60.js +1 -1
- package/index60.mjs +5 -5
- package/index61.js +1 -1
- package/index61.mjs +8 -6
- package/index62.js +1 -1
- package/index62.mjs +14 -13
- package/index63.js +2 -1
- package/index63.mjs +23 -14
- package/index64.js +1 -1
- package/index64.mjs +15 -21
- package/index65.js +1 -1
- package/index65.mjs +14 -16
- package/index66.js +1 -1
- package/index66.mjs +40 -13
- package/index67.js +1 -1
- package/index67.mjs +36 -39
- package/index68.js +1 -1
- package/index68.mjs +11 -37
- package/index69.js +1 -1
- package/index69.mjs +10 -11
- package/index7.js +1 -1
- package/index7.mjs +1 -1
- package/index70.js +1 -1
- package/index70.mjs +13 -10
- package/index71.js +1 -1
- package/index71.mjs +10 -13
- package/index72.js +1 -2
- package/index72.mjs +2 -12
- package/index73.js +2 -1
- package/index73.mjs +9 -2
- package/index74.js +1 -1
- package/index74.mjs +6 -7
- package/index75.js +1 -1
- package/index75.mjs +6 -6
- package/index76.js +1 -1
- package/index76.mjs +6 -6
- package/index77.js +1 -2
- package/index77.mjs +25 -8
- package/index78.js +1 -1
- package/index78.mjs +2 -25
- package/index79.js +6 -1
- package/index79.mjs +94 -2
- package/index8.js +1 -1
- package/index8.mjs +3 -3
- package/index80.js +1 -6
- package/index80.mjs +54 -79
- package/index81.js +1 -1
- package/index81.mjs +33 -61
- package/index82.js +42 -1
- package/index82.mjs +67 -34
- package/index83.js +1 -42
- package/index83.mjs +154 -65
- package/index84.js +9 -1
- package/index84.mjs +47 -149
- package/index85.js +1 -9
- package/index85.mjs +36 -48
- package/index86.js +1 -1
- package/index86.mjs +8 -40
- package/index87.js +1 -1
- package/index87.mjs +31 -9
- package/index88.js +1 -1
- package/index88.mjs +6 -35
- package/index89.js +12 -1
- package/index89.mjs +40 -6
- package/index9.js +1 -1
- package/index9.mjs +38 -43
- package/index90.js +1 -12
- package/index90.mjs +25 -36
- package/index91.js +1 -1
- package/index91.mjs +8 -24
- package/index92.js +7 -1
- package/index92.mjs +13 -7
- package/index93.js +14 -6
- package/index93.mjs +65 -13
- package/index94.js +1 -15
- package/index94.mjs +7 -71
- package/index95.js +16 -1
- package/index95.mjs +25 -7
- package/index96.js +1 -16
- package/index96.mjs +37 -20
- package/index97.js +1 -1
- package/index97.mjs +43 -40
- package/index98.js +1 -1
- package/index98.mjs +47 -44
- package/index99.js +1 -1
- package/index99.mjs +17 -48
- package/package.json +1 -1
- package/theme/Alerts/index.d.ts +88 -0
- package/theme/Button/index.d.ts +28 -0
- package/theme/Carousel/index.d.ts +36 -0
- package/types/next-link.d.ts +16 -0
- package/components/DirectusImg/index.d.ts +0 -3
- package/components/DirectusImg/interface.d.ts +0 -20
- package/components/Img/index.d.ts +0 -3
- package/components/Img/interface.d.ts +0 -6
- package/index205.js +0 -1
- package/index205.mjs +0 -29
- package/index206.js +0 -1
- package/index206.mjs +0 -49
- package/index207.js +0 -1
- package/index207.mjs +0 -4
- package/index208.js +0 -1
- package/index208.mjs +0 -23
- package/index209.js +0 -1
- package/index209.mjs +0 -4
- package/index210.js +0 -1
- package/index210.mjs +0 -31
- package/index211.js +0 -1
- package/index211.mjs +0 -4
- package/index212.js +0 -1
- package/index212.mjs +0 -4
- package/index213.js +0 -1
- package/index213.mjs +0 -25
- package/index214.js +0 -1
- package/index214.mjs +0 -4
- package/index215.js +0 -1
- package/index215.mjs +0 -4
- package/index216.js +0 -1
- package/index216.mjs +0 -4
- package/index217.js +0 -1
- package/index217.mjs +0 -40
- package/index218.js +0 -1
- package/index218.mjs +0 -4
- package/index219.js +0 -1
- package/index219.mjs +0 -23
- package/index220.js +0 -1
- package/index220.mjs +0 -25
- package/index221.js +0 -1
- package/index221.mjs +0 -4
- package/index222.js +0 -1
- package/index222.mjs +0 -25
- package/index223.js +0 -1
- package/index223.mjs +0 -4
- package/index224.js +0 -1
- package/index224.mjs +0 -133
- package/index225.js +0 -1
- package/index225.mjs +0 -182
- package/index226.js +0 -1
- package/index226.mjs +0 -12
- package/index227.js +0 -1
- package/index227.mjs +0 -6
- package/index228.js +0 -1
- package/index228.mjs +0 -39
- package/index229.js +0 -1
- package/index229.mjs +0 -8
- package/index230.js +0 -1
- package/index230.mjs +0 -32
- package/index231.js +0 -1
- package/index231.mjs +0 -9
- package/index232.js +0 -1
- package/index232.mjs +0 -316
- package/index233.js +0 -1
- package/index233.mjs +0 -195
- package/index234.js +0 -1
- package/index234.mjs +0 -11
- package/index235.js +0 -1
- package/index235.mjs +0 -29
- package/index236.js +0 -1
- package/index236.mjs +0 -58
- package/index237.js +0 -1
- package/index237.mjs +0 -49
- package/index238.js +0 -1
- package/index238.mjs +0 -127
- package/index239.js +0 -1
- package/index239.mjs +0 -4
- package/index240.js +0 -1
- package/index240.mjs +0 -4
- package/index241.js +0 -1
- package/index241.mjs +0 -4
- package/index242.js +0 -1
- package/index242.mjs +0 -20
- package/index243.js +0 -1
- package/index243.mjs +0 -29
- package/index244.js +0 -1
- package/index244.mjs +0 -4
- package/index245.js +0 -1
- package/index245.mjs +0 -91
- package/index246.js +0 -1
- package/index246.mjs +0 -22
- package/index247.js +0 -1
- package/index247.mjs +0 -4
- package/index248.js +0 -1
- package/index248.mjs +0 -40
- package/index249.js +0 -1
- package/index249.mjs +0 -139
- package/index250.js +0 -1
- package/index250.mjs +0 -4
- package/index251.js +0 -1
- package/index251.mjs +0 -25
- package/index252.js +0 -1
- package/index252.mjs +0 -4
- package/index253.js +0 -1
- package/index253.mjs +0 -4
- package/index254.js +0 -1
- package/index254.mjs +0 -4
- package/index255.js +0 -1
- package/index255.mjs +0 -4
- package/index256.js +0 -1
- package/index256.mjs +0 -25
- package/index257.js +0 -1
- package/index257.mjs +0 -4
- package/index258.js +0 -1
- package/index258.mjs +0 -28
- package/index259.js +0 -1
- package/index259.mjs +0 -4
- package/index260.js +0 -1
- package/index260.mjs +0 -8
- package/index261.js +0 -1
- package/index261.mjs +0 -4
- package/index262.js +0 -1
- package/index262.mjs +0 -4
- package/index263.js +0 -1
- package/index263.mjs +0 -4
- package/index264.js +0 -1
- package/index264.mjs +0 -4
- package/index265.js +0 -1
- package/index265.mjs +0 -74
- package/index266.js +0 -1
- package/index266.mjs +0 -4
- package/index267.js +0 -1
- package/index267.mjs +0 -4
- package/index268.js +0 -1
- package/index268.mjs +0 -21
- package/index269.js +0 -1
- package/index269.mjs +0 -4
- package/index270.js +0 -1
- package/index270.mjs +0 -4
- package/index271.js +0 -1
- package/index271.mjs +0 -4
- package/index272.js +0 -1
- package/index272.mjs +0 -31
- package/index273.js +0 -1
- package/index273.mjs +0 -9
- package/index274.js +0 -1
- package/index274.mjs +0 -10
- package/index275.js +0 -1
- package/index275.mjs +0 -10
- package/index276.js +0 -1
- package/index276.mjs +0 -4
- package/index277.js +0 -1
- package/index277.mjs +0 -39
- package/index278.js +0 -1
- package/index278.mjs +0 -4
- package/index279.js +0 -1
- package/index279.mjs +0 -7
- package/index280.js +0 -1
- package/index280.mjs +0 -8
- package/index281.js +0 -1
- package/index281.mjs +0 -12
- package/index282.js +0 -1
- package/index282.mjs +0 -4
- package/index283.js +0 -1
- package/index283.mjs +0 -20
- package/index284.js +0 -1
- package/index284.mjs +0 -33
- package/index285.js +0 -1
- package/index285.mjs +0 -4
- package/index286.js +0 -1
- package/index286.mjs +0 -4
package/index223.mjs
DELETED
package/index224.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function o(e,n){e===void 0&&(e={}),n===void 0&&(n={}),Object.keys(n).forEach(t=>{typeof e[t]>"u"?e[t]=n[t]:r(n[t])&&r(e[t])&&Object.keys(n[t]).length>0&&o(e[t],n[t])})}const u={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){const e=typeof document<"u"?document:{};return o(e,u),e}const c={document:u,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function s(){const e=typeof window<"u"?window:{};return o(e,c),e}exports.a=s;exports.g=i;
|
package/index224.mjs
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
function r(e) {
|
|
2
|
-
return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
|
|
3
|
-
}
|
|
4
|
-
function o(e, n) {
|
|
5
|
-
e === void 0 && (e = {}), n === void 0 && (n = {}), Object.keys(n).forEach((t) => {
|
|
6
|
-
typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
const u = {
|
|
10
|
-
body: {},
|
|
11
|
-
addEventListener() {
|
|
12
|
-
},
|
|
13
|
-
removeEventListener() {
|
|
14
|
-
},
|
|
15
|
-
activeElement: {
|
|
16
|
-
blur() {
|
|
17
|
-
},
|
|
18
|
-
nodeName: ""
|
|
19
|
-
},
|
|
20
|
-
querySelector() {
|
|
21
|
-
return null;
|
|
22
|
-
},
|
|
23
|
-
querySelectorAll() {
|
|
24
|
-
return [];
|
|
25
|
-
},
|
|
26
|
-
getElementById() {
|
|
27
|
-
return null;
|
|
28
|
-
},
|
|
29
|
-
createEvent() {
|
|
30
|
-
return {
|
|
31
|
-
initEvent() {
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
createElement() {
|
|
36
|
-
return {
|
|
37
|
-
children: [],
|
|
38
|
-
childNodes: [],
|
|
39
|
-
style: {},
|
|
40
|
-
setAttribute() {
|
|
41
|
-
},
|
|
42
|
-
getElementsByTagName() {
|
|
43
|
-
return [];
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
},
|
|
47
|
-
createElementNS() {
|
|
48
|
-
return {};
|
|
49
|
-
},
|
|
50
|
-
importNode() {
|
|
51
|
-
return null;
|
|
52
|
-
},
|
|
53
|
-
location: {
|
|
54
|
-
hash: "",
|
|
55
|
-
host: "",
|
|
56
|
-
hostname: "",
|
|
57
|
-
href: "",
|
|
58
|
-
origin: "",
|
|
59
|
-
pathname: "",
|
|
60
|
-
protocol: "",
|
|
61
|
-
search: ""
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
function c() {
|
|
65
|
-
const e = typeof document < "u" ? document : {};
|
|
66
|
-
return o(e, u), e;
|
|
67
|
-
}
|
|
68
|
-
const i = {
|
|
69
|
-
document: u,
|
|
70
|
-
navigator: {
|
|
71
|
-
userAgent: ""
|
|
72
|
-
},
|
|
73
|
-
location: {
|
|
74
|
-
hash: "",
|
|
75
|
-
host: "",
|
|
76
|
-
hostname: "",
|
|
77
|
-
href: "",
|
|
78
|
-
origin: "",
|
|
79
|
-
pathname: "",
|
|
80
|
-
protocol: "",
|
|
81
|
-
search: ""
|
|
82
|
-
},
|
|
83
|
-
history: {
|
|
84
|
-
replaceState() {
|
|
85
|
-
},
|
|
86
|
-
pushState() {
|
|
87
|
-
},
|
|
88
|
-
go() {
|
|
89
|
-
},
|
|
90
|
-
back() {
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
CustomEvent: function() {
|
|
94
|
-
return this;
|
|
95
|
-
},
|
|
96
|
-
addEventListener() {
|
|
97
|
-
},
|
|
98
|
-
removeEventListener() {
|
|
99
|
-
},
|
|
100
|
-
getComputedStyle() {
|
|
101
|
-
return {
|
|
102
|
-
getPropertyValue() {
|
|
103
|
-
return "";
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
},
|
|
107
|
-
Image() {
|
|
108
|
-
},
|
|
109
|
-
Date() {
|
|
110
|
-
},
|
|
111
|
-
screen: {},
|
|
112
|
-
setTimeout() {
|
|
113
|
-
},
|
|
114
|
-
clearTimeout() {
|
|
115
|
-
},
|
|
116
|
-
matchMedia() {
|
|
117
|
-
return {};
|
|
118
|
-
},
|
|
119
|
-
requestAnimationFrame(e) {
|
|
120
|
-
return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
|
|
121
|
-
},
|
|
122
|
-
cancelAnimationFrame(e) {
|
|
123
|
-
typeof setTimeout > "u" || clearTimeout(e);
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
function s() {
|
|
127
|
-
const e = typeof window < "u" ? window : {};
|
|
128
|
-
return o(e, i), e;
|
|
129
|
-
}
|
|
130
|
-
export {
|
|
131
|
-
s as a,
|
|
132
|
-
c as g
|
|
133
|
-
};
|
package/index225.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index224.js");function h(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function S(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function T(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function b(){return Date.now()}function x(e){const t=c.a();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function E(e,t){t===void 0&&(t="x");const n=c.a();let r,i,l;const s=x(e);return n.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(o=>o.replace(",",".")).join(", ")),l=new n.WebKitCSSMatrix(i==="none"?"":i)):(l=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=l.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=l.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=l.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function f(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function v(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function d(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(r!=null&&!v(r)){const i=Object.keys(Object(r)).filter(l=>t.indexOf(l)<0);for(let l=0,s=i.length;l<s;l+=1){const o=i[l],a=Object.getOwnPropertyDescriptor(r,o);a!==void 0&&a.enumerable&&(f(e[o])&&f(r[o])?r[o].__swiper__?e[o]=r[o]:d(e[o],r[o]):!f(e[o])&&f(r[o])?(e[o]={},r[o].__swiper__?e[o]=r[o]:d(e[o],r[o])):e[o]=r[o])}}}return e}function M(e,t,n){e.style.setProperty(t,n)}function O(e){let{swiper:t,targetPosition:n,side:r}=e;const i=c.a(),l=-t.translate;let s=null,o;const a=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const y=n>l?"next":"prev",g=(p,m)=>y==="next"&&p>=m||y==="prev"&&p<=m,w=()=>{o=new Date().getTime(),s===null&&(s=o);const p=Math.max(Math.min((o-s)/a,1),0),m=.5-Math.cos(p*Math.PI)/2;let u=l+m*(n-l);if(g(u,n)&&(u=n),t.wrapperEl.scrollTo({[r]:u}),g(u,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:u})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(w)};w()}function P(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function C(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function j(e){try{console.warn(e);return}catch{}}function _(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:h(t)),n}function F(e){const t=c.a(),n=c.g(),r=e.getBoundingClientRect(),i=n.body,l=e.clientTop||i.clientTop||0,s=e.clientLeft||i.clientLeft||0,o=e===t?t.scrollY:e.scrollTop,a=e===t?t.scrollX:e.scrollLeft;return{top:r.top+o-l,left:r.left+a-s}}function A(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function L(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function k(e,t){return c.a().getComputedStyle(e,null).getPropertyValue(t)}function W(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function D(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function I(e,t){function n(r){r.target===e&&(t.call(e,r),e.removeEventListener("transitionend",n))}t&&e.addEventListener("transitionend",n)}function q(e,t,n){const r=c.a();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function K(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}exports.a=D;exports.b=F;exports.c=_;exports.d=b;exports.e=C;exports.f=q;exports.g=W;exports.h=h;exports.i=E;exports.j=I;exports.k=f;exports.l=P;exports.m=K;exports.n=T;exports.o=k;exports.p=L;exports.q=A;exports.r=O;exports.s=M;exports.t=j;exports.u=d;exports.v=S;
|
package/index225.mjs
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { a as c, g as h } from "./index224.mjs";
|
|
2
|
-
function S(e) {
|
|
3
|
-
return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
|
|
4
|
-
}
|
|
5
|
-
function E(e) {
|
|
6
|
-
const t = e;
|
|
7
|
-
Object.keys(t).forEach((n) => {
|
|
8
|
-
try {
|
|
9
|
-
t[n] = null;
|
|
10
|
-
} catch {
|
|
11
|
-
}
|
|
12
|
-
try {
|
|
13
|
-
delete t[n];
|
|
14
|
-
} catch {
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function v(e, t) {
|
|
19
|
-
return t === void 0 && (t = 0), setTimeout(e, t);
|
|
20
|
-
}
|
|
21
|
-
function M() {
|
|
22
|
-
return Date.now();
|
|
23
|
-
}
|
|
24
|
-
function T(e) {
|
|
25
|
-
const t = c();
|
|
26
|
-
let n;
|
|
27
|
-
return t.getComputedStyle && (n = t.getComputedStyle(e, null)), !n && e.currentStyle && (n = e.currentStyle), n || (n = e.style), n;
|
|
28
|
-
}
|
|
29
|
-
function C(e, t) {
|
|
30
|
-
t === void 0 && (t = "x");
|
|
31
|
-
const n = c();
|
|
32
|
-
let r, i, s;
|
|
33
|
-
const l = T(e);
|
|
34
|
-
return n.WebKitCSSMatrix ? (i = l.transform || l.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((o) => o.replace(",", ".")).join(", ")), s = new n.WebKitCSSMatrix(i === "none" ? "" : i)) : (s = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), r = s.toString().split(",")), t === "x" && (n.WebKitCSSMatrix ? i = s.m41 : r.length === 16 ? i = parseFloat(r[12]) : i = parseFloat(r[4])), t === "y" && (n.WebKitCSSMatrix ? i = s.m42 : r.length === 16 ? i = parseFloat(r[13]) : i = parseFloat(r[5])), i || 0;
|
|
35
|
-
}
|
|
36
|
-
function m(e) {
|
|
37
|
-
return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
38
|
-
}
|
|
39
|
-
function b(e) {
|
|
40
|
-
return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
|
|
41
|
-
}
|
|
42
|
-
function y() {
|
|
43
|
-
const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
|
|
44
|
-
for (let n = 1; n < arguments.length; n += 1) {
|
|
45
|
-
const r = n < 0 || arguments.length <= n ? void 0 : arguments[n];
|
|
46
|
-
if (r != null && !b(r)) {
|
|
47
|
-
const i = Object.keys(Object(r)).filter((s) => t.indexOf(s) < 0);
|
|
48
|
-
for (let s = 0, l = i.length; s < l; s += 1) {
|
|
49
|
-
const o = i[s], a = Object.getOwnPropertyDescriptor(r, o);
|
|
50
|
-
a !== void 0 && a.enumerable && (m(e[o]) && m(r[o]) ? r[o].__swiper__ ? e[o] = r[o] : y(e[o], r[o]) : !m(e[o]) && m(r[o]) ? (e[o] = {}, r[o].__swiper__ ? e[o] = r[o] : y(e[o], r[o])) : e[o] = r[o]);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return e;
|
|
55
|
-
}
|
|
56
|
-
function O(e, t, n) {
|
|
57
|
-
e.style.setProperty(t, n);
|
|
58
|
-
}
|
|
59
|
-
function P(e) {
|
|
60
|
-
let {
|
|
61
|
-
swiper: t,
|
|
62
|
-
targetPosition: n,
|
|
63
|
-
side: r
|
|
64
|
-
} = e;
|
|
65
|
-
const i = c(), s = -t.translate;
|
|
66
|
-
let l = null, o;
|
|
67
|
-
const a = t.params.speed;
|
|
68
|
-
t.wrapperEl.style.scrollSnapType = "none", i.cancelAnimationFrame(t.cssModeFrameID);
|
|
69
|
-
const d = n > s ? "next" : "prev", g = (f, p) => d === "next" && f >= p || d === "prev" && f <= p, w = () => {
|
|
70
|
-
o = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = o);
|
|
71
|
-
const f = Math.max(Math.min((o - l) / a, 1), 0), p = 0.5 - Math.cos(f * Math.PI) / 2;
|
|
72
|
-
let u = s + p * (n - s);
|
|
73
|
-
if (g(u, n) && (u = n), t.wrapperEl.scrollTo({
|
|
74
|
-
[r]: u
|
|
75
|
-
}), g(u, n)) {
|
|
76
|
-
t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
|
|
77
|
-
t.wrapperEl.style.overflow = "", t.wrapperEl.scrollTo({
|
|
78
|
-
[r]: u
|
|
79
|
-
});
|
|
80
|
-
}), i.cancelAnimationFrame(t.cssModeFrameID);
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
t.cssModeFrameID = i.requestAnimationFrame(w);
|
|
84
|
-
};
|
|
85
|
-
w();
|
|
86
|
-
}
|
|
87
|
-
function j(e) {
|
|
88
|
-
return e.querySelector(".swiper-slide-transform") || e.shadowRoot && e.shadowRoot.querySelector(".swiper-slide-transform") || e;
|
|
89
|
-
}
|
|
90
|
-
function F(e, t) {
|
|
91
|
-
return t === void 0 && (t = ""), [...e.children].filter((n) => n.matches(t));
|
|
92
|
-
}
|
|
93
|
-
function _(e) {
|
|
94
|
-
try {
|
|
95
|
-
console.warn(e);
|
|
96
|
-
return;
|
|
97
|
-
} catch {
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
function A(e, t) {
|
|
101
|
-
t === void 0 && (t = []);
|
|
102
|
-
const n = document.createElement(e);
|
|
103
|
-
return n.classList.add(...Array.isArray(t) ? t : S(t)), n;
|
|
104
|
-
}
|
|
105
|
-
function L(e) {
|
|
106
|
-
const t = c(), n = h(), r = e.getBoundingClientRect(), i = n.body, s = e.clientTop || i.clientTop || 0, l = e.clientLeft || i.clientLeft || 0, o = e === t ? t.scrollY : e.scrollTop, a = e === t ? t.scrollX : e.scrollLeft;
|
|
107
|
-
return {
|
|
108
|
-
top: r.top + o - s,
|
|
109
|
-
left: r.left + a - l
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
function k(e, t) {
|
|
113
|
-
const n = [];
|
|
114
|
-
for (; e.previousElementSibling; ) {
|
|
115
|
-
const r = e.previousElementSibling;
|
|
116
|
-
t ? r.matches(t) && n.push(r) : n.push(r), e = r;
|
|
117
|
-
}
|
|
118
|
-
return n;
|
|
119
|
-
}
|
|
120
|
-
function D(e, t) {
|
|
121
|
-
const n = [];
|
|
122
|
-
for (; e.nextElementSibling; ) {
|
|
123
|
-
const r = e.nextElementSibling;
|
|
124
|
-
t ? r.matches(t) && n.push(r) : n.push(r), e = r;
|
|
125
|
-
}
|
|
126
|
-
return n;
|
|
127
|
-
}
|
|
128
|
-
function W(e, t) {
|
|
129
|
-
return c().getComputedStyle(e, null).getPropertyValue(t);
|
|
130
|
-
}
|
|
131
|
-
function I(e) {
|
|
132
|
-
let t = e, n;
|
|
133
|
-
if (t) {
|
|
134
|
-
for (n = 0; (t = t.previousSibling) !== null; )
|
|
135
|
-
t.nodeType === 1 && (n += 1);
|
|
136
|
-
return n;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
function K(e, t) {
|
|
140
|
-
const n = [];
|
|
141
|
-
let r = e.parentElement;
|
|
142
|
-
for (; r; )
|
|
143
|
-
t ? r.matches(t) && n.push(r) : n.push(r), r = r.parentElement;
|
|
144
|
-
return n;
|
|
145
|
-
}
|
|
146
|
-
function q(e, t) {
|
|
147
|
-
function n(r) {
|
|
148
|
-
r.target === e && (t.call(e, r), e.removeEventListener("transitionend", n));
|
|
149
|
-
}
|
|
150
|
-
t && e.addEventListener("transitionend", n);
|
|
151
|
-
}
|
|
152
|
-
function V(e, t, n) {
|
|
153
|
-
const r = c();
|
|
154
|
-
return e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
|
|
155
|
-
}
|
|
156
|
-
function B(e) {
|
|
157
|
-
return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
|
|
158
|
-
}
|
|
159
|
-
export {
|
|
160
|
-
K as a,
|
|
161
|
-
L as b,
|
|
162
|
-
A as c,
|
|
163
|
-
M as d,
|
|
164
|
-
F as e,
|
|
165
|
-
V as f,
|
|
166
|
-
I as g,
|
|
167
|
-
S as h,
|
|
168
|
-
C as i,
|
|
169
|
-
q as j,
|
|
170
|
-
m as k,
|
|
171
|
-
j as l,
|
|
172
|
-
B as m,
|
|
173
|
-
v as n,
|
|
174
|
-
W as o,
|
|
175
|
-
D as p,
|
|
176
|
-
k as q,
|
|
177
|
-
P as r,
|
|
178
|
-
O as s,
|
|
179
|
-
_ as t,
|
|
180
|
-
y as u,
|
|
181
|
-
E as v
|
|
182
|
-
};
|
package/index226.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index225.js");function o(i,f,l,n){return i.params.createElements&&Object.keys(n).forEach(e=>{if(!l[e]&&l.auto===!0){let t=u.e(i.el,`.${n[e]}`)[0];t||(t=u.c("div",n[e]),t.className=n[e],i.el.append(t)),l[e]=t,f[e]=t}}),l}exports.c=o;
|
package/index226.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { e as i, c as m } from "./index225.mjs";
|
|
2
|
-
function o(f, a, n, l) {
|
|
3
|
-
return f.params.createElements && Object.keys(l).forEach((e) => {
|
|
4
|
-
if (!n[e] && n.auto === !0) {
|
|
5
|
-
let t = i(f.el, `.${l[e]}`)[0];
|
|
6
|
-
t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
|
|
7
|
-
}
|
|
8
|
-
}), n;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
o as c
|
|
12
|
-
};
|
package/index227.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}exports.c=r;
|
package/index227.mjs
DELETED
package/index228.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function m(d){const{effect:s,swiper:e,on:r,setTranslate:n,setTransition:p,overwriteParams:f,perspective:o,recreateShadows:l,getEffectParams:c}=d;r("beforeInit",()=>{if(e.params.effect!==s)return;e.classNames.push(`${e.params.containerModifierClass}${s}`),o&&o()&&e.classNames.push(`${e.params.containerModifierClass}3d`);const t=f?f():{};Object.assign(e.params,t),Object.assign(e.originalParams,t)}),r("setTranslate",()=>{e.params.effect===s&&n()}),r("setTransition",(t,i)=>{e.params.effect===s&&p(i)}),r("transitionEnd",()=>{if(e.params.effect===s&&l){if(!c||!c().slideShadows)return;e.slides.forEach(t=>{t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(i=>i.remove())}),l()}});let a;r("virtualUpdate",()=>{e.params.effect===s&&(e.slides.length||(a=!0),requestAnimationFrame(()=>{a&&e.slides&&e.slides.length&&(n(),a=!1)}))})}exports.e=m;
|
package/index228.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
function m(d) {
|
|
2
|
-
const {
|
|
3
|
-
effect: s,
|
|
4
|
-
swiper: e,
|
|
5
|
-
on: r,
|
|
6
|
-
setTranslate: f,
|
|
7
|
-
setTransition: p,
|
|
8
|
-
overwriteParams: n,
|
|
9
|
-
perspective: o,
|
|
10
|
-
recreateShadows: l,
|
|
11
|
-
getEffectParams: c
|
|
12
|
-
} = d;
|
|
13
|
-
r("beforeInit", () => {
|
|
14
|
-
if (e.params.effect !== s) return;
|
|
15
|
-
e.classNames.push(`${e.params.containerModifierClass}${s}`), o && o() && e.classNames.push(`${e.params.containerModifierClass}3d`);
|
|
16
|
-
const a = n ? n() : {};
|
|
17
|
-
Object.assign(e.params, a), Object.assign(e.originalParams, a);
|
|
18
|
-
}), r("setTranslate", () => {
|
|
19
|
-
e.params.effect === s && f();
|
|
20
|
-
}), r("setTransition", (a, i) => {
|
|
21
|
-
e.params.effect === s && p(i);
|
|
22
|
-
}), r("transitionEnd", () => {
|
|
23
|
-
if (e.params.effect === s && l) {
|
|
24
|
-
if (!c || !c().slideShadows) return;
|
|
25
|
-
e.slides.forEach((a) => {
|
|
26
|
-
a.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((i) => i.remove());
|
|
27
|
-
}), l();
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
let t;
|
|
31
|
-
r("virtualUpdate", () => {
|
|
32
|
-
e.params.effect === s && (e.slides.length || (t = !0), requestAnimationFrame(() => {
|
|
33
|
-
t && e.slides && e.slides.length && (f(), t = !1);
|
|
34
|
-
}));
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
export {
|
|
38
|
-
m as e
|
|
39
|
-
};
|
package/index229.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index225.js");function r(c,t){const e=i.l(t);return e!==t&&(e.style.backfaceVisibility="hidden",e.style["-webkit-backface-visibility"]="hidden"),e}exports.e=r;
|
package/index229.mjs
DELETED
package/index230.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index225.js");function f(a){let{swiper:e,duration:l,transformElements:s,allSlides:o}=a;const{activeIndex:d}=e,u=n=>n.parentElement?n.parentElement:e.slides.filter(t=>t.shadowRoot&&t.shadowRoot===n.parentNode)[0];if(e.params.virtualTranslate&&l!==0){let n=!1,r;o?r=s:r=s.filter(t=>{const i=t.classList.contains("swiper-slide-transform")?u(t):t;return e.getSlideIndex(i)===d}),r.forEach(t=>{c.j(t,()=>{if(n||!e||e.destroyed)return;n=!0,e.animating=!1;const i=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(i)})})}}exports.e=f;
|
package/index230.mjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { j as f } from "./index225.mjs";
|
|
2
|
-
function p(a) {
|
|
3
|
-
let {
|
|
4
|
-
swiper: e,
|
|
5
|
-
duration: o,
|
|
6
|
-
transformElements: s,
|
|
7
|
-
allSlides: l
|
|
8
|
-
} = a;
|
|
9
|
-
const {
|
|
10
|
-
activeIndex: d
|
|
11
|
-
} = e, c = (n) => n.parentElement ? n.parentElement : e.slides.filter((t) => t.shadowRoot && t.shadowRoot === n.parentNode)[0];
|
|
12
|
-
if (e.params.virtualTranslate && o !== 0) {
|
|
13
|
-
let n = !1, r;
|
|
14
|
-
l ? r = s : r = s.filter((t) => {
|
|
15
|
-
const i = t.classList.contains("swiper-slide-transform") ? c(t) : t;
|
|
16
|
-
return e.getSlideIndex(i) === d;
|
|
17
|
-
}), r.forEach((t) => {
|
|
18
|
-
f(t, () => {
|
|
19
|
-
if (n || !e || e.destroyed) return;
|
|
20
|
-
n = !0, e.animating = !1;
|
|
21
|
-
const i = new window.CustomEvent("transitionend", {
|
|
22
|
-
bubbles: !0,
|
|
23
|
-
cancelable: !0
|
|
24
|
-
});
|
|
25
|
-
e.wrapperEl.dispatchEvent(i);
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
p as e
|
|
32
|
-
};
|
package/index231.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index225.js");function a(t,l,o){const s=`swiper-slide-shadow${o?`-${o}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=r.l(l);let e=i.querySelector(`.${s.split(" ").join(".")}`);return e||(e=r.c("div",s.split(" ")),i.append(e)),e}exports.c=a;
|
package/index231.mjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { l, c as i } from "./index225.mjs";
|
|
2
|
-
function d(s, r, o) {
|
|
3
|
-
const a = `swiper-slide-shadow${o ? `-${o}` : ""}${s ? ` swiper-slide-shadow-${s}` : ""}`, t = l(r);
|
|
4
|
-
let e = t.querySelector(`.${a.split(" ").join(".")}`);
|
|
5
|
-
return e || (e = i("div", a.split(" ")), t.append(e)), e;
|
|
6
|
-
}
|
|
7
|
-
export {
|
|
8
|
-
d as c
|
|
9
|
-
};
|
package/index232.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index272.js"),B=require("./index273.js"),N=require("./index274.js"),j=require("./index148.js"),U=require("./index275.js"),o=require("@react-aria/utils"),w=require("react");function z(i){let s=w.useContext(B.PressResponderContext);if(s){let{register:u,...c}=s;i=o.mergeProps(c,i),u()}return o.useSyncRef(s,i.ref),i}var x=new WeakMap;class C{continuePropagation(){U._class_private_field_set(this,x,!1)}get shouldStopPropagation(){return N._class_private_field_get(this,x)}constructor(s,u,c){j._class_private_field_init(this,x,{writable:!0,value:void 0}),U._class_private_field_set(this,x,!0),this.type=s,this.pointerType=u,this.target=c.currentTarget,this.shiftKey=c.shiftKey,this.metaKey=c.metaKey,this.ctrlKey=c.ctrlKey,this.altKey=c.altKey}}const R=Symbol("linkClicked");function J(i){let{onPress:s,onPressChange:u,onPressStart:c,onPressEnd:g,onPressUp:M,isDisabled:v,isPressed:H,preventFocusOnPress:k,shouldCancelOnPointerExit:G,allowTextSelectionOnPress:y,ref:re,...V}=z(i),[X,A]=w.useState(!1),S=w.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:h,removeAllGlobalListeners:$}=o.useGlobalListeners(),T=o.useEffectEvent((e,a)=>{let d=S.current;if(v||d.didFirePressStart)return!1;let n=!0;if(d.isTriggeringEvent=!0,c){let l=new C("pressstart",a,e);c(l),n=l.shouldStopPropagation}return u&&u(!0),d.isTriggeringEvent=!1,d.didFirePressStart=!0,A(!0),n}),p=o.useEffectEvent((e,a,d=!0)=>{let n=S.current;if(!n.didFirePressStart)return!1;n.ignoreClickAfterPress=!0,n.didFirePressStart=!1,n.isTriggeringEvent=!0;let l=!0;if(g){let t=new C("pressend",a,e);g(t),l=t.shouldStopPropagation}if(u&&u(!1),A(!1),s&&d&&!v){let t=new C("press",a,e);s(t),l&&(l=t.shouldStopPropagation)}return n.isTriggeringEvent=!1,l}),m=o.useEffectEvent((e,a)=>{let d=S.current;if(v)return!1;if(M){d.isTriggeringEvent=!0;let n=new C("pressup",a,e);return M(n),d.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),E=o.useEffectEvent(e=>{let a=S.current;a.isPressed&&a.target&&(a.isOverTarget&&a.pointerType!=null&&p(P(a.target,e),a.pointerType,!1),a.isPressed=!1,a.isOverTarget=!1,a.activePointerId=null,a.pointerType=null,$(),y||b.restoreTextSelection(a.target))}),_=o.useEffectEvent(e=>{G&&E(e)}),Y=w.useMemo(()=>{let e=S.current,a={onKeyDown(n){if(D(n.nativeEvent,n.currentTarget)&&n.currentTarget.contains(n.target)){var l;W(n.target,n.key)&&n.preventDefault();let t=!0;if(!e.isPressed&&!n.repeat){e.target=n.currentTarget,e.isPressed=!0,t=T(n,"keyboard");let r=n.currentTarget,f=O=>{D(O,r)&&!O.repeat&&r.contains(O.target)&&e.target&&m(P(e.target,O),"keyboard")};h(o.getOwnerDocument(n.currentTarget),"keyup",o.chain(f,d),!0)}t&&n.stopPropagation(),n.metaKey&&o.isMac()&&((l=e.metaKeyEvents)===null||l===void 0||l.set(n.key,n.nativeEvent))}else n.key==="Meta"&&(e.metaKeyEvents=new Map)},onClick(n){if(!(n&&!n.currentTarget.contains(n.target))&&n&&n.button===0&&!e.isTriggeringEvent&&!o.openLink.isOpening){let l=!0;if(v&&n.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&(e.pointerType==="virtual"||o.isVirtualClick(n.nativeEvent))){!v&&!k&&o.focusWithoutScrolling(n.currentTarget);let t=T(n,"virtual"),r=m(n,"virtual"),f=p(n,"virtual");l=t&&r&&f}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,l&&n.stopPropagation()}}},d=n=>{var l;if(e.isPressed&&e.target&&D(n,e.target)){var t;W(n.target,n.key)&&n.preventDefault();let f=n.target;p(P(e.target,n),"keyboard",e.target.contains(f)),$(),n.key!=="Enter"&&L(e.target)&&e.target.contains(f)&&!n[R]&&(n[R]=!0,o.openLink(e.target,n,!1)),e.isPressed=!1,(t=e.metaKeyEvents)===null||t===void 0||t.delete(n.key)}else if(n.key==="Meta"&&(!((l=e.metaKeyEvents)===null||l===void 0)&&l.size)){var r;let f=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let O of f.values())(r=e.target)===null||r===void 0||r.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){a.onPointerDown=r=>{if(r.button!==0||!r.currentTarget.contains(r.target))return;if(o.isVirtualPointerEvent(r.nativeEvent)){e.pointerType="virtual";return}I(r.currentTarget)&&r.preventDefault(),e.pointerType=r.pointerType;let f=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=r.pointerId,e.target=r.currentTarget,!v&&!k&&o.focusWithoutScrolling(r.currentTarget),y||b.disableTextSelection(e.target),f=T(r,e.pointerType),h(o.getOwnerDocument(r.currentTarget),"pointermove",n,!1),h(o.getOwnerDocument(r.currentTarget),"pointerup",l,!1),h(o.getOwnerDocument(r.currentTarget),"pointercancel",t,!1)),f&&r.stopPropagation()},a.onMouseDown=r=>{r.currentTarget.contains(r.target)&&r.button===0&&(I(r.currentTarget)&&r.preventDefault(),r.stopPropagation())},a.onPointerUp=r=>{!r.currentTarget.contains(r.target)||e.pointerType==="virtual"||r.button===0&&K(r,r.currentTarget)&&m(r,e.pointerType||r.pointerType)};let n=r=>{r.pointerId===e.activePointerId&&(e.target&&K(r,e.target)?!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,T(P(e.target,r),e.pointerType)):e.target&&e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,p(P(e.target,r),e.pointerType,!1),_(r)))},l=r=>{r.pointerId===e.activePointerId&&e.isPressed&&r.button===0&&e.target&&(K(r,e.target)&&e.pointerType!=null?p(P(e.target,r),e.pointerType):e.isOverTarget&&e.pointerType!=null&&p(P(e.target,r),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,$(),y||b.restoreTextSelection(e.target))},t=r=>{E(r)};a.onDragStart=r=>{r.currentTarget.contains(r.target)&&E(r)}}else{a.onMouseDown=t=>{if(t.button!==0||!t.currentTarget.contains(t.target))return;if(I(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=o.isVirtualClick(t.nativeEvent)?"virtual":"mouse",!v&&!k&&o.focusWithoutScrolling(t.currentTarget),T(t,e.pointerType)&&t.stopPropagation(),h(o.getOwnerDocument(t.currentTarget),"mouseup",n,!1)},a.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!0,r=T(t,e.pointerType)),r&&t.stopPropagation()},a.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!1,r=p(t,e.pointerType,!1),_(t)),r&&t.stopPropagation()},a.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&t.button===0&&m(t,e.pointerType||"mouse")};let n=t=>{if(t.button===0){if(e.isPressed=!1,$(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&K(t,e.target)&&e.pointerType!=null?p(P(e.target,t),e.pointerType):e.target&&e.isOverTarget&&e.pointerType!=null&&p(P(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};a.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=Q(t.nativeEvent);if(!r)return;e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",!v&&!k&&o.focusWithoutScrolling(t.currentTarget),y||b.disableTextSelection(e.target),T(t,e.pointerType)&&t.stopPropagation(),h(o.getOwnerWindow(t.currentTarget),"scroll",l,!0)},a.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=F(t.nativeEvent,e.activePointerId),f=!0;r&&K(r,t.currentTarget)?!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,f=T(t,e.pointerType)):e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,f=p(t,e.pointerType,!1),_(t)),f&&t.stopPropagation()},a.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=F(t.nativeEvent,e.activePointerId),f=!0;r&&K(r,t.currentTarget)&&e.pointerType!=null?(m(t,e.pointerType),f=p(t,e.pointerType)):e.isOverTarget&&e.pointerType!=null&&(f=p(t,e.pointerType,!1)),f&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!y&&b.restoreTextSelection(e.target),$()},a.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&E(t))};let l=t=>{e.isPressed&&t.target.contains(e.target)&&E({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};a.onDragStart=t=>{t.currentTarget.contains(t.target)&&E(t)}}return a},[h,v,k,$,y,E,_,p,T,m]);return w.useEffect(()=>()=>{var e;y||b.restoreTextSelection((e=S.current.target)!==null&&e!==void 0?e:void 0)},[y]),{isPressed:H||X,pressProps:o.mergeProps(V,Y)}}function L(i){return i.tagName==="A"&&i.hasAttribute("href")}function D(i,s){const{key:u,code:c}=i,g=s,M=g.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||c==="Space")&&!(g instanceof o.getOwnerWindow(g).HTMLInputElement&&!q(g,u)||g instanceof o.getOwnerWindow(g).HTMLTextAreaElement||g.isContentEditable)&&!((M==="link"||!M&&L(g))&&u!=="Enter")}function Q(i){const{targetTouches:s}=i;return s.length>0?s[0]:null}function F(i,s){const u=i.changedTouches;for(let c=0;c<u.length;c++){const g=u[c];if(g.identifier===s)return g}return null}function P(i,s){return{currentTarget:i,shiftKey:s.shiftKey,ctrlKey:s.ctrlKey,metaKey:s.metaKey,altKey:s.altKey}}function Z(i){let s=0,u=0;return i.width!==void 0?s=i.width/2:i.radiusX!==void 0&&(s=i.radiusX),i.height!==void 0?u=i.height/2:i.radiusY!==void 0&&(u=i.radiusY),{top:i.clientY-u,right:i.clientX+s,bottom:i.clientY+u,left:i.clientX-s}}function ee(i,s){return!(i.left>s.right||s.left>i.right||i.top>s.bottom||s.top>i.bottom)}function K(i,s){let u=s.getBoundingClientRect(),c=Z(i);return ee(u,c)}function I(i){return!(i instanceof HTMLElement)||!i.hasAttribute("draggable")}function W(i,s){return i instanceof HTMLInputElement?!q(i,s):i instanceof HTMLButtonElement?i.type!=="submit"&&i.type!=="reset":!L(i)}const te=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function q(i,s){return i.type==="checkbox"||i.type==="radio"?s===" ":te.has(i.type)}exports.usePress=J;
|