bitboss-ui 0.2.33 → 0.2.35
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/dist/index.js +188 -0
- package/dist/index.js.map +1 -0
- package/dist/index10.js +5 -0
- package/dist/index10.js.map +1 -0
- package/dist/index100.js +5 -0
- package/dist/index100.js.map +1 -0
- package/dist/index101.js +438 -0
- package/dist/index101.js.map +1 -0
- package/dist/index102.js +5 -0
- package/dist/index102.js.map +1 -0
- package/dist/index103.js +95 -0
- package/dist/index103.js.map +1 -0
- package/dist/index104.js +5 -0
- package/dist/index104.js.map +1 -0
- package/dist/index105.js +89 -0
- package/dist/index105.js.map +1 -0
- package/dist/index106.js +5 -0
- package/dist/index106.js.map +1 -0
- package/dist/index107.js +90 -0
- package/dist/index107.js.map +1 -0
- package/dist/index108.js +5 -0
- package/dist/index108.js.map +1 -0
- package/dist/index109.js +30 -0
- package/dist/index109.js.map +1 -0
- package/dist/index11.js +132 -0
- package/dist/index11.js.map +1 -0
- package/dist/index110.js +5 -0
- package/dist/index110.js.map +1 -0
- package/dist/index111.js +152 -0
- package/dist/index111.js.map +1 -0
- package/dist/index112.js +5 -0
- package/dist/index112.js.map +1 -0
- package/dist/index113.js +123 -0
- package/dist/index113.js.map +1 -0
- package/dist/index114.js +5 -0
- package/dist/index114.js.map +1 -0
- package/dist/index115.js +47 -0
- package/dist/index115.js.map +1 -0
- package/dist/index116.js +41 -0
- package/dist/index116.js.map +1 -0
- package/dist/index117.js +47 -0
- package/dist/index117.js.map +1 -0
- package/dist/index118.js +50 -0
- package/dist/index118.js.map +1 -0
- package/dist/index119.js +46 -0
- package/dist/index119.js.map +1 -0
- package/dist/index12.js +5 -0
- package/dist/index12.js.map +1 -0
- package/dist/index120.js +5 -0
- package/dist/index120.js.map +1 -0
- package/dist/index121.js +24 -0
- package/dist/index121.js.map +1 -0
- package/dist/index122.js +5 -0
- package/dist/index122.js.map +1 -0
- package/dist/index123.js +227 -0
- package/dist/index123.js.map +1 -0
- package/dist/index124.js +5 -0
- package/dist/index124.js.map +1 -0
- package/dist/index125.js +21 -0
- package/dist/index125.js.map +1 -0
- package/dist/index126.js +15 -0
- package/dist/index126.js.map +1 -0
- package/dist/index127.js +27 -0
- package/dist/index127.js.map +1 -0
- package/dist/index128.js +8 -0
- package/dist/index128.js.map +1 -0
- package/dist/index129.js +12 -0
- package/dist/index129.js.map +1 -0
- package/dist/index13.js +152 -0
- package/dist/index13.js.map +1 -0
- package/dist/index130.js +9 -0
- package/dist/index130.js.map +1 -0
- package/dist/index131.js +73 -0
- package/dist/index131.js.map +1 -0
- package/dist/index132.js +6 -0
- package/dist/index132.js.map +1 -0
- package/dist/index133.js +6 -0
- package/dist/index133.js.map +1 -0
- package/dist/index134.js +6 -0
- package/dist/index134.js.map +1 -0
- package/dist/index135.js +6 -0
- package/dist/index135.js.map +1 -0
- package/dist/index136.js +6 -0
- package/dist/index136.js.map +1 -0
- package/dist/index137.js +6 -0
- package/dist/index137.js.map +1 -0
- package/dist/index138.js +6 -0
- package/dist/index138.js.map +1 -0
- package/dist/index139.js +6 -0
- package/dist/index139.js.map +1 -0
- package/dist/index14.js +5 -0
- package/dist/index14.js.map +1 -0
- package/dist/index140.js +6 -0
- package/dist/index140.js.map +1 -0
- package/dist/index141.js +6 -0
- package/dist/index141.js.map +1 -0
- package/dist/index142.js +6 -0
- package/dist/index142.js.map +1 -0
- package/dist/index143.js +6 -0
- package/dist/index143.js.map +1 -0
- package/dist/index144.js +6 -0
- package/dist/index144.js.map +1 -0
- package/dist/index145.js +6 -0
- package/dist/index145.js.map +1 -0
- package/dist/index146.js +6 -0
- package/dist/index146.js.map +1 -0
- package/dist/index147.js +6 -0
- package/dist/index147.js.map +1 -0
- package/dist/index148.js +6 -0
- package/dist/index148.js.map +1 -0
- package/dist/index149.js +6 -0
- package/dist/index149.js.map +1 -0
- package/dist/index15.js +458 -0
- package/dist/index15.js.map +1 -0
- package/dist/index150.js +6 -0
- package/dist/index150.js.map +1 -0
- package/dist/index151.js +6 -0
- package/dist/index151.js.map +1 -0
- package/dist/index152.js +6 -0
- package/dist/index152.js.map +1 -0
- package/dist/index153.js +6 -0
- package/dist/index153.js.map +1 -0
- package/dist/index154.js +6 -0
- package/dist/index154.js.map +1 -0
- package/dist/index155.js +6 -0
- package/dist/index155.js.map +1 -0
- package/dist/index156.js +6 -0
- package/dist/index156.js.map +1 -0
- package/dist/index157.js +6 -0
- package/dist/index157.js.map +1 -0
- package/dist/index158.js +5 -0
- package/dist/index158.js.map +1 -0
- package/dist/index159.js +6 -0
- package/dist/index159.js.map +1 -0
- package/dist/index16.js +5 -0
- package/dist/index16.js.map +1 -0
- package/dist/index160.js +5 -0
- package/dist/index160.js.map +1 -0
- package/dist/index161.js +6 -0
- package/dist/index161.js.map +1 -0
- package/dist/index162.js +6 -0
- package/dist/index162.js.map +1 -0
- package/dist/index163.js +6 -0
- package/dist/index163.js.map +1 -0
- package/dist/index164.js +6 -0
- package/dist/index164.js.map +1 -0
- package/dist/index165.js +6 -0
- package/dist/index165.js.map +1 -0
- package/dist/index166.js +6 -0
- package/dist/index166.js.map +1 -0
- package/dist/index167.js +5 -0
- package/dist/index167.js.map +1 -0
- package/dist/index168.js +6 -0
- package/dist/index168.js.map +1 -0
- package/dist/index169.js +5 -0
- package/dist/index169.js.map +1 -0
- package/dist/index17.js +212 -0
- package/dist/index17.js.map +1 -0
- package/dist/index170.js +5 -0
- package/dist/index170.js.map +1 -0
- package/dist/index171.js +6 -0
- package/dist/index171.js.map +1 -0
- package/dist/index172.js +6 -0
- package/dist/index172.js.map +1 -0
- package/dist/index173.js +6 -0
- package/dist/index173.js.map +1 -0
- package/dist/index174.js +6 -0
- package/dist/index174.js.map +1 -0
- package/dist/index175.js +6 -0
- package/dist/index175.js.map +1 -0
- package/dist/index176.js +6 -0
- package/dist/index176.js.map +1 -0
- package/dist/index177.js +6 -0
- package/dist/index177.js.map +1 -0
- package/dist/index178.js +6 -0
- package/dist/index178.js.map +1 -0
- package/dist/index179.js +6 -0
- package/dist/index179.js.map +1 -0
- package/dist/index18.js +5 -0
- package/dist/index18.js.map +1 -0
- package/dist/index180.js +6 -0
- package/dist/index180.js.map +1 -0
- package/dist/index181.js +6 -0
- package/dist/index181.js.map +1 -0
- package/dist/index182.js +6 -0
- package/dist/index182.js.map +1 -0
- package/dist/index183.js +5 -0
- package/dist/index183.js.map +1 -0
- package/dist/index184.js +6 -0
- package/dist/index184.js.map +1 -0
- package/dist/index185.js +5 -0
- package/dist/index185.js.map +1 -0
- package/dist/index186.js +6 -0
- package/dist/index186.js.map +1 -0
- package/dist/index187.js +6 -0
- package/dist/index187.js.map +1 -0
- package/dist/index188.js +6 -0
- package/dist/index188.js.map +1 -0
- package/dist/index189.js +6 -0
- package/dist/index189.js.map +1 -0
- package/dist/index19.js +240 -0
- package/dist/index19.js.map +1 -0
- package/dist/index190.js +6 -0
- package/dist/index190.js.map +1 -0
- package/dist/index191.js +6 -0
- package/dist/index191.js.map +1 -0
- package/dist/index192.js +6 -0
- package/dist/index192.js.map +1 -0
- package/dist/index193.js +6 -0
- package/dist/index193.js.map +1 -0
- package/dist/index194.js +6 -0
- package/dist/index194.js.map +1 -0
- package/dist/index195.js +6 -0
- package/dist/index195.js.map +1 -0
- package/dist/index196.js +5 -0
- package/dist/index196.js.map +1 -0
- package/dist/index197.js +6 -0
- package/dist/index197.js.map +1 -0
- package/dist/index198.js +38 -0
- package/dist/index198.js.map +1 -0
- package/dist/index199.js +9 -0
- package/dist/index199.js.map +1 -0
- package/dist/index2.js +43 -0
- package/dist/index2.js.map +1 -0
- package/dist/index20.js +5 -0
- package/dist/index20.js.map +1 -0
- package/dist/index200.js +381 -0
- package/dist/index200.js.map +1 -0
- package/dist/index201.js +137 -0
- package/dist/index201.js.map +1 -0
- package/dist/index202.js +8 -0
- package/dist/index202.js.map +1 -0
- package/dist/index203.js +22 -0
- package/dist/index203.js.map +1 -0
- package/dist/index204.js +5 -0
- package/dist/index204.js.map +1 -0
- package/dist/index205.js +5 -0
- package/dist/index205.js.map +1 -0
- package/dist/index206.js +177 -0
- package/dist/index206.js.map +1 -0
- package/dist/index207.js +26 -0
- package/dist/index207.js.map +1 -0
- package/dist/index208.js +376 -0
- package/dist/index208.js.map +1 -0
- package/dist/index209.js +19 -0
- package/dist/index209.js.map +1 -0
- package/dist/index21.js +116 -0
- package/dist/index21.js.map +1 -0
- package/dist/index210.js +19 -0
- package/dist/index210.js.map +1 -0
- package/dist/index211.js +23 -0
- package/dist/index211.js.map +1 -0
- package/dist/index212.js +32 -0
- package/dist/index212.js.map +1 -0
- package/dist/index213.js +11 -0
- package/dist/index213.js.map +1 -0
- package/dist/index214.js +6 -0
- package/dist/index214.js.map +1 -0
- package/dist/index215.js +6 -0
- package/dist/index215.js.map +1 -0
- package/dist/index216.js +238 -0
- package/dist/index216.js.map +1 -0
- package/dist/index217.js +5 -0
- package/dist/index217.js.map +1 -0
- package/dist/index218.js +7 -0
- package/dist/index218.js.map +1 -0
- package/dist/index219.js +5 -0
- package/dist/index219.js.map +1 -0
- package/dist/index22.js +5 -0
- package/dist/index22.js.map +1 -0
- package/dist/index220.js +5 -0
- package/dist/index220.js.map +1 -0
- package/dist/index221.js +13 -0
- package/dist/index221.js.map +1 -0
- package/dist/index222.js +31 -0
- package/dist/index222.js.map +1 -0
- package/dist/index223.js +20 -0
- package/dist/index223.js.map +1 -0
- package/dist/index224.js +12 -0
- package/dist/index224.js.map +1 -0
- package/dist/index225.js +124 -0
- package/dist/index225.js.map +1 -0
- package/dist/index226.js +82 -0
- package/dist/index226.js.map +1 -0
- package/dist/index227.js +438 -0
- package/dist/index227.js.map +1 -0
- package/dist/index228.js +92 -0
- package/dist/index228.js.map +1 -0
- package/dist/index229.js +203 -0
- package/dist/index229.js.map +1 -0
- package/dist/index23.js +116 -0
- package/dist/index23.js.map +1 -0
- package/dist/index230.js +9 -0
- package/dist/index230.js.map +1 -0
- package/dist/index231.js +5 -0
- package/dist/index231.js.map +1 -0
- package/dist/index232.js +298 -0
- package/dist/index232.js.map +1 -0
- package/dist/index233.js +5 -0
- package/dist/index233.js.map +1 -0
- package/dist/index234.js +5 -0
- package/dist/index234.js.map +1 -0
- package/dist/index235.js +120 -0
- package/dist/index235.js.map +1 -0
- package/dist/index236.js +109 -0
- package/dist/index236.js.map +1 -0
- package/dist/index237.js +5 -0
- package/dist/index237.js.map +1 -0
- package/dist/index238.js +5 -0
- package/dist/index238.js.map +1 -0
- package/dist/index239.js +5 -0
- package/dist/index239.js.map +1 -0
- package/dist/index24.js +5 -0
- package/dist/index24.js.map +1 -0
- package/dist/index240.js +5 -0
- package/dist/index240.js.map +1 -0
- package/dist/index241.js +227 -0
- package/dist/index241.js.map +1 -0
- package/dist/index242.js +261 -0
- package/dist/index242.js.map +1 -0
- package/dist/index243.js +72 -0
- package/dist/index243.js.map +1 -0
- package/dist/index244.js +163 -0
- package/dist/index244.js.map +1 -0
- package/dist/index245.js +5 -0
- package/dist/index245.js.map +1 -0
- package/dist/index246.js +5 -0
- package/dist/index246.js.map +1 -0
- package/dist/index247.js +8 -0
- package/dist/index247.js.map +1 -0
- package/dist/index248.js +7 -0
- package/dist/index248.js.map +1 -0
- package/dist/index249.js +5 -0
- package/dist/index249.js.map +1 -0
- package/dist/index25.js +93 -0
- package/dist/index25.js.map +1 -0
- package/dist/index250.js +41 -0
- package/dist/index250.js.map +1 -0
- package/dist/index251.js +5 -0
- package/dist/index251.js.map +1 -0
- package/dist/index252.js +5 -0
- package/dist/index252.js.map +1 -0
- package/dist/index253.js +18 -0
- package/dist/index253.js.map +1 -0
- package/dist/index254.js +6 -0
- package/dist/index254.js.map +1 -0
- package/dist/index255.js +5 -0
- package/dist/index255.js.map +1 -0
- package/dist/index256.js +5 -0
- package/dist/index256.js.map +1 -0
- package/dist/index26.js +5 -0
- package/dist/index26.js.map +1 -0
- package/dist/index27.js +150 -0
- package/dist/index27.js.map +1 -0
- package/dist/index28.js +5 -0
- package/dist/index28.js.map +1 -0
- package/dist/index29.js +125 -0
- package/dist/index29.js.map +1 -0
- package/dist/index3.js +81 -0
- package/dist/index3.js.map +1 -0
- package/dist/index30.js +5 -0
- package/dist/index30.js.map +1 -0
- package/dist/index31.js +706 -0
- package/dist/index31.js.map +1 -0
- package/dist/index32.js +5 -0
- package/dist/index32.js.map +1 -0
- package/dist/index33.js +146 -0
- package/dist/index33.js.map +1 -0
- package/dist/index34.js +5 -0
- package/dist/index34.js.map +1 -0
- package/dist/index35.js +119 -0
- package/dist/index35.js.map +1 -0
- package/dist/index36.js +5 -0
- package/dist/index36.js.map +1 -0
- package/dist/index37.js +155 -0
- package/dist/index37.js.map +1 -0
- package/dist/index38.js +5 -0
- package/dist/index38.js.map +1 -0
- package/dist/index39.js +84 -0
- package/dist/index39.js.map +1 -0
- package/dist/index4.js +65 -0
- package/dist/index4.js.map +1 -0
- package/dist/index40.js +5 -0
- package/dist/index40.js.map +1 -0
- package/dist/index41.js +62 -0
- package/dist/index41.js.map +1 -0
- package/dist/index42.js +5 -0
- package/dist/index42.js.map +1 -0
- package/dist/index43.js +66 -0
- package/dist/index43.js.map +1 -0
- package/dist/index44.js +5 -0
- package/dist/index44.js.map +1 -0
- package/dist/index45.js +97 -0
- package/dist/index45.js.map +1 -0
- package/dist/index46.js +5 -0
- package/dist/index46.js.map +1 -0
- package/dist/index47.js +62 -0
- package/dist/index47.js.map +1 -0
- package/dist/index48.js +5 -0
- package/dist/index48.js.map +1 -0
- package/dist/index49.js +50 -0
- package/dist/index49.js.map +1 -0
- package/dist/index5.js +43 -0
- package/dist/index5.js.map +1 -0
- package/dist/index50.js +5 -0
- package/dist/index50.js.map +1 -0
- package/dist/index51.js +63 -0
- package/dist/index51.js.map +1 -0
- package/dist/index52.js +5 -0
- package/dist/index52.js.map +1 -0
- package/dist/index53.js +46 -0
- package/dist/index53.js.map +1 -0
- package/dist/index54.js +5 -0
- package/dist/index54.js.map +1 -0
- package/dist/index55.js +90 -0
- package/dist/index55.js.map +1 -0
- package/dist/index56.js +5 -0
- package/dist/index56.js.map +1 -0
- package/dist/index57.js +121 -0
- package/dist/index57.js.map +1 -0
- package/dist/index58.js +5 -0
- package/dist/index58.js.map +1 -0
- package/dist/index59.js +86 -0
- package/dist/index59.js.map +1 -0
- package/dist/index6.js +177 -0
- package/dist/index6.js.map +1 -0
- package/dist/index60.js +5 -0
- package/dist/index60.js.map +1 -0
- package/dist/index61.js +89 -0
- package/dist/index61.js.map +1 -0
- package/dist/index62.js +5 -0
- package/dist/index62.js.map +1 -0
- package/dist/index63.js +60 -0
- package/dist/index63.js.map +1 -0
- package/dist/index64.js +5 -0
- package/dist/index64.js.map +1 -0
- package/dist/index65.js +314 -0
- package/dist/index65.js.map +1 -0
- package/dist/index66.js +5 -0
- package/dist/index66.js.map +1 -0
- package/dist/index67.js +130 -0
- package/dist/index67.js.map +1 -0
- package/dist/index68.js +5 -0
- package/dist/index68.js.map +1 -0
- package/dist/index69.js +226 -0
- package/dist/index69.js.map +1 -0
- package/dist/index7.js +22 -0
- package/dist/index7.js.map +1 -0
- package/dist/index70.js +5 -0
- package/dist/index70.js.map +1 -0
- package/dist/index71.js +25 -0
- package/dist/index71.js.map +1 -0
- package/dist/index72.js +47 -0
- package/dist/index72.js.map +1 -0
- package/dist/index73.js +96 -0
- package/dist/index73.js.map +1 -0
- package/dist/index74.js +5 -0
- package/dist/index74.js.map +1 -0
- package/dist/index75.js +228 -0
- package/dist/index75.js.map +1 -0
- package/dist/index76.js +5 -0
- package/dist/index76.js.map +1 -0
- package/dist/index77.js +142 -0
- package/dist/index77.js.map +1 -0
- package/dist/index78.js +5 -0
- package/dist/index78.js.map +1 -0
- package/dist/index79.js +214 -0
- package/dist/index79.js.map +1 -0
- package/dist/index8.js +197 -0
- package/dist/index8.js.map +1 -0
- package/dist/index80.js +5 -0
- package/dist/index80.js.map +1 -0
- package/dist/index81.js +36 -0
- package/dist/index81.js.map +1 -0
- package/dist/index82.js +5 -0
- package/dist/index82.js.map +1 -0
- package/dist/index83.js +84 -0
- package/dist/index83.js.map +1 -0
- package/dist/index84.js +5 -0
- package/dist/index84.js.map +1 -0
- package/dist/index85.js +121 -0
- package/dist/index85.js.map +1 -0
- package/dist/index86.js +5 -0
- package/dist/index86.js.map +1 -0
- package/dist/index87.js +84 -0
- package/dist/index87.js.map +1 -0
- package/dist/index88.js +5 -0
- package/dist/index88.js.map +1 -0
- package/dist/index89.js +31 -0
- package/dist/index89.js.map +1 -0
- package/dist/index9.js +66 -0
- package/dist/index9.js.map +1 -0
- package/dist/index90.js +5 -0
- package/dist/index90.js.map +1 -0
- package/dist/index91.js +160 -0
- package/dist/index91.js.map +1 -0
- package/dist/index92.js +5 -0
- package/dist/index92.js.map +1 -0
- package/dist/index93.js +87 -0
- package/dist/index93.js.map +1 -0
- package/dist/index94.js +5 -0
- package/dist/index94.js.map +1 -0
- package/dist/index95.js +90 -0
- package/dist/index95.js.map +1 -0
- package/dist/index96.js +5 -0
- package/dist/index96.js.map +1 -0
- package/dist/index97.js +120 -0
- package/dist/index97.js.map +1 -0
- package/dist/index98.js +5 -0
- package/dist/index98.js.map +1 -0
- package/dist/index99.js +209 -0
- package/dist/index99.js.map +1 -0
- package/dist/{components → src/components}/BaseButton/BaseButton.vue.d.ts +2 -2
- package/dist/{components → src/components}/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +7 -7
- package/dist/{components → src/components}/BaseDialog/BaseDialog.vue.d.ts +2 -2
- package/dist/{components → src/components}/BaseRadioGroup/BaseRadioGroup.vue.d.ts +7 -7
- package/dist/{components → src/components}/BaseSelect/BaseSelect.vue.d.ts +16 -16
- package/dist/{components → src/components}/BbAccordion/BbAccordion.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbAlert/BbAlert.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbAvatar/BbAvatar.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbBadge/BbBadge.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +7 -7
- package/dist/{components → src/components}/BbChip/BbChip.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbDropdown/BbDropdown.vue.d.ts +2 -2
- package/dist/{components → src/components}/BbDropzone/BbDropzone.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbIcon/BbIcon.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbIntersection/BbIntersection.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
- package/dist/{components → src/components}/BbPagination/BbPagination.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbPopover/BbPopover.vue.d.ts +2 -2
- package/dist/{components → src/components}/BbRadioGroup/BbRadioGroup.vue.d.ts +7 -7
- package/dist/{components → src/components}/BbRatio/BbRatio.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbSelect/BbSelect.vue.d.ts +16 -16
- package/dist/{components → src/components}/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -3
- package/dist/{components → src/components}/BbSpinner/BbSpinner.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbTab/BbTab.vue.d.ts +6 -6
- package/dist/{components → src/components}/BbTable/BbTable.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbTable/types.d.ts +1 -1
- package/dist/{components → src/components}/BbTooltip/BbTooltip.vue.d.ts +2 -2
- package/dist/{composables → src/composables}/useConfirm.d.ts +1 -1
- package/dist/{composables → src/composables}/useOptions.d.ts +1 -1
- package/dist/{composables → src/composables}/useToast.d.ts +1 -1
- package/dist/{composables → src/composables}/useWizard.d.ts +20 -32
- package/dist/style.css +1 -0
- package/package.json +3 -3
- package/dist/components/BbStep/BbStep.vue.d.ts +0 -143
- package/dist/components/HDAddressSelect.vue.d.ts +0 -89
- package/dist/{components → src/components}/BaseCheckbox/BaseCheckbox.vue.d.ts +0 -0
- package/dist/{components → src/components}/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
- package/dist/{components → src/components}/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +1 -1
- package/dist/{components → src/components}/BaseInputContainer/BaseInputContainer.vue.d.ts +0 -0
- package/dist/{components → src/components}/BaseNumberInput/BaseNumberInput.vue.d.ts +0 -0
- package/dist/{components → src/components}/BaseRadio/BaseRadio.vue.d.ts +0 -0
- package/dist/{components → src/components}/BaseRating/BaseRating.vue.d.ts +1 -1
- package/dist/{components → src/components}/BaseSlider/BaseSlider.vue.d.ts +2 -2
- package/dist/{components → src/components}/BaseSwitch/BaseSwitch.vue.d.ts +0 -0
- package/dist/{components → src/components}/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +6 -6
- package/dist/{components → src/components}/BaseTag/BaseTag.vue.d.ts +1 -1
- package/dist/{components → src/components}/BaseTextInput/BaseTextInput.vue.d.ts +0 -0
- package/dist/{components → src/components}/BaseTextarea/BaseTextarea.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbButton/BbButton.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbCheckbox/BbCheckbox.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbConfirm/BbConfirm.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbDialog/BbDialog.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbDropdownButton/BbDropdownButton.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbHover/BbHover.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbNumberInput/BbNumberInput.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbProgress/BbProgress.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbRadio/BbRadio.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbRating/BbRating.vue.d.ts +1 -1
- package/dist/{components → src/components}/BbSlider/BbSlider.vue.d.ts +2 -2
- package/dist/{components → src/components}/BbSwitch/BbSwitch.vue.d.ts +0 -0
- package/dist/{components → src/components}/BbSwitchGroup/BbSwitchGroup.vue.d.ts +6 -6
- package/dist/{components → src/components}/BbTag/BbTag.vue.d.ts +1 -1
- /package/dist/{components → src/components}/BbTextInput/BbTextInput.vue.d.ts +0 -0
- /package/dist/{components → src/components}/BbTextarea/BbTextarea.vue.d.ts +0 -0
- /package/dist/{components → src/components}/BbToast/BbToast.vue.d.ts +0 -0
- /package/dist/{components → src/components}/BbToast/BbToastMessage.vue.d.ts +0 -0
- /package/dist/{components → src/components}/BbTree/BbTree.vue.d.ts +0 -0
- /package/dist/{composables → src/composables}/useBroadcastChannelInstance.d.ts +0 -0
- /package/dist/{composables → src/composables}/useCountdown.d.ts +0 -0
- /package/dist/{composables → src/composables}/useId.d.ts +0 -0
- /package/dist/{composables → src/composables}/useItemText.d.ts +0 -0
- /package/dist/{composables → src/composables}/useItemValue.d.ts +0 -0
- /package/dist/{composables → src/composables}/useRoute.d.ts +0 -0
- /package/dist/{composables → src/composables}/useRouter.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{types → src/types}/Classes.d.ts +0 -0
- /package/dist/{types → src/types}/CommonProps.d.ts +0 -0
- /package/dist/{types → src/types}/ExtractGenericFromComputedRef.d.ts +0 -0
- /package/dist/{types → src/types}/ExtractGenericFromRef.d.ts +0 -0
- /package/dist/{types → src/types}/NestedKeyOf.d.ts +0 -0
- /package/dist/{types → src/types}/Simplify.d.ts +0 -0
- /package/dist/{types → src/types}/VoidHtmlElements.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/add.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/booleanishToBoolean.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/capitalize.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/clamp.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/cloneDeep.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/curry.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/debounce.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/deburr.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/drop.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/empty.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/findInTree.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/findRight.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/findRightIndex.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/flattenTree.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/flow.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/get.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/groupBy.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/gt.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/head.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/identity.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/includes.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/indexBy.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/initial.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/isCssColor.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/isNil.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/isNotNil.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/last.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/lt.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/makeUrl.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/mapKeys.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/mapValues.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/matchesPropertyInsensitive.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/mean.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/merge.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/millisecondsTo.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/negate.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/noop.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/omit.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/overEvery.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/percentage.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/pick.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/pickBy.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/replace.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/replaceInTree.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/retry.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/roundToTheNearest.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/set.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/snakeCase.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/throttle.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/tryTo.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/wait.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/waitFor.d.ts +0 -0
- /package/dist/{utilities → src/utilities}/functions/when.d.ts +0 -0
package/dist/index31.js
ADDED
|
@@ -0,0 +1,706 @@
|
|
|
1
|
+
import { defineComponent as Ne, ref as f, computed as y, onMounted as $e, onBeforeUnmount as De, watch as X, openBlock as g, createElementBlock as h, normalizeClass as x, renderSlot as b, createElementVNode as w, Fragment as D, renderList as H, toDisplayString as L, createBlock as ue, withModifiers as I, withCtx as Le, createTextVNode as ee, createCommentVNode as ie, withDirectives as Fe, vModelDynamic as Me, Teleport as Ae, normalizeStyle as Je, createVNode as qe, mergeProps as Re, nextTick as se } from "vue";
|
|
2
|
+
import ze from "./index115.js";
|
|
3
|
+
import "./index158.js";
|
|
4
|
+
import Pe from "./index119.js";
|
|
5
|
+
import "./index185.js";
|
|
6
|
+
import { autoUpdate as He, computePosition as Ue, flip as je, shift as Qe } from "./index200.js";
|
|
7
|
+
import { deepEqual as re } from "./index123.js";
|
|
8
|
+
import { head as le } from "./index220.js";
|
|
9
|
+
import { isNotNil as B } from "./index124.js";
|
|
10
|
+
import { last as We } from "./index205.js";
|
|
11
|
+
import { useItemText as Ke } from "./index125.js";
|
|
12
|
+
import { useItemValue as Ye } from "./index126.js";
|
|
13
|
+
import { wait as q } from "./index122.js";
|
|
14
|
+
import { waitFor as Ze } from "./index199.js";
|
|
15
|
+
import { when as Ge } from "./index218.js";
|
|
16
|
+
import { offset as Xe } from "./index208.js";
|
|
17
|
+
const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomplete", "autofocus", "disabled", "placeholder", "readonly"], tl = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "bb-base-select__loading-container"
|
|
20
|
+
}, al = {
|
|
21
|
+
key: 1,
|
|
22
|
+
class: "bb-base-select__no-data-container"
|
|
23
|
+
}, nl = ["id", "aria-selected"], ol = { class: "bb-base-select-option__content" }, ul = { class: "bb-base-select-option__text" }, il = { class: "bb-base-select__chevron" }, sl = /* @__PURE__ */ w("svg", {
|
|
24
|
+
fill: "none",
|
|
25
|
+
viewBox: "0 0 16 8",
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
+
}, [
|
|
28
|
+
/* @__PURE__ */ w("path", {
|
|
29
|
+
"clip-rule": "evenodd",
|
|
30
|
+
d: "M0.851779 0.225802C0.90403 0.173418 0.966103 0.131858 1.03444 0.1035C1.10278 0.0751431 1.17604 0.0605469 1.25003 0.0605469C1.32402 0.0605469 1.39728 0.0751431 1.46562 0.1035C1.53396 0.131858 1.59603 0.173418 1.64828 0.225802L8.00003 6.57868L14.3518 0.225802C14.4041 0.173503 14.4662 0.132017 14.5345 0.103713C14.6028 0.0754093 14.6761 0.0608414 14.75 0.0608414C14.824 0.0608414 14.8972 0.0754093 14.9656 0.103713C15.0339 0.132017 15.096 0.173503 15.1483 0.225802C15.2006 0.278101 15.2421 0.340189 15.2704 0.408521C15.2987 0.476852 15.3132 0.55009 15.3132 0.624052C15.3132 0.698014 15.2987 0.771252 15.2704 0.839584C15.2421 0.907916 15.2006 0.970003 15.1483 1.0223L8.39828 7.7723C8.34603 7.82469 8.28395 7.86625 8.21562 7.8946C8.14728 7.92296 8.07402 7.93756 8.00003 7.93756C7.92604 7.93756 7.85278 7.92296 7.78444 7.8946C7.7161 7.86625 7.65403 7.82469 7.60178 7.7723L0.851779 1.0223C0.799395 0.970051 0.757835 0.907978 0.729477 0.83964C0.70112 0.771302 0.686523 0.69804 0.686523 0.624052C0.686523 0.550064 0.70112 0.476803 0.729477 0.408464C0.757835 0.340126 0.799395 0.278053 0.851779 0.225802Z",
|
|
31
|
+
fill: "currentColor",
|
|
32
|
+
"fill-rule": "evenodd"
|
|
33
|
+
})
|
|
34
|
+
], -1), _l = /* @__PURE__ */ Ne({
|
|
35
|
+
__name: "BaseSelect",
|
|
36
|
+
props: {
|
|
37
|
+
allowWriting: { type: Boolean, default: !0 },
|
|
38
|
+
autocomplete: {},
|
|
39
|
+
autofocus: {},
|
|
40
|
+
debug: { type: Boolean },
|
|
41
|
+
dependencies: {},
|
|
42
|
+
depsDebounceTime: { default: 0 },
|
|
43
|
+
disabled: { type: Boolean },
|
|
44
|
+
enforceCoherence: { type: Boolean },
|
|
45
|
+
hasErrors: { type: Boolean },
|
|
46
|
+
id: {},
|
|
47
|
+
loadingText: { default: "Caricamento..." },
|
|
48
|
+
matchStrategy: { default: "string" },
|
|
49
|
+
modelValueDebounceTime: { default: 0 },
|
|
50
|
+
multiple: { type: Boolean },
|
|
51
|
+
name: {},
|
|
52
|
+
noDataText: { default: "Nessun elemento da visualizzare" },
|
|
53
|
+
placeholder: {},
|
|
54
|
+
readonly: {},
|
|
55
|
+
transitionDuration: { default: 200 },
|
|
56
|
+
items: {},
|
|
57
|
+
itemText: {},
|
|
58
|
+
itemValue: {},
|
|
59
|
+
modelValue: {},
|
|
60
|
+
addOptions: { type: Boolean },
|
|
61
|
+
comma: { type: Boolean },
|
|
62
|
+
filterBy: { type: [String, Array, Boolean, Function, null], default: () => [] },
|
|
63
|
+
prefill: { type: [Boolean, String], default: "focus" },
|
|
64
|
+
queryDebounceTime: { default: 500 },
|
|
65
|
+
resetQueryOnOptionSelected: { type: Boolean },
|
|
66
|
+
stash: { type: Boolean },
|
|
67
|
+
updateOnAnimationFrame: { type: Boolean, default: !1 }
|
|
68
|
+
},
|
|
69
|
+
emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
|
|
70
|
+
setup(de, { emit: ce }) {
|
|
71
|
+
const e = de, c = ce;
|
|
72
|
+
if (e.multiple && !Array.isArray(e.modelValue))
|
|
73
|
+
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
|
74
|
+
const F = f(null), E = f(null), v = f(null), S = f(null), u = f(""), fe = y(() => s.value.length ? "" : e.placeholder), d = f(0), ve = e.transitionDuration / 1e3 + "s";
|
|
75
|
+
let te;
|
|
76
|
+
$e(async () => {
|
|
77
|
+
e.debug && console.log("Calling onMounted"), E.value && v.value && (te = He(
|
|
78
|
+
E.value,
|
|
79
|
+
v.value,
|
|
80
|
+
ye,
|
|
81
|
+
{
|
|
82
|
+
ancestorResize: !0,
|
|
83
|
+
ancestorScroll: !0,
|
|
84
|
+
animationFrame: e.updateOnAnimationFrame,
|
|
85
|
+
elementResize: !0
|
|
86
|
+
}
|
|
87
|
+
));
|
|
88
|
+
}), De(() => {
|
|
89
|
+
e.debug && console.log("Calling onBeforeUnMount"), te();
|
|
90
|
+
});
|
|
91
|
+
const ae = f([]), p = f([]), V = f([]), { getItemText: pe } = Ke(), { getItemValue: me } = Ye(), ge = y(() => ae.value.map((l, a) => {
|
|
92
|
+
e.debug && console.log("Mapping items in internalOptions", { item: l });
|
|
93
|
+
const t = pe(l, e.itemText), n = me(l, e.itemValue);
|
|
94
|
+
if (n === void 0)
|
|
95
|
+
throw new Error(
|
|
96
|
+
'The result of extracting "value" from option was undefined. Affected item is ' + JSON.stringify(l) + " please check itemValue property is correct."
|
|
97
|
+
);
|
|
98
|
+
const o = JSON.stringify(n);
|
|
99
|
+
return {
|
|
100
|
+
disabled: !!l.disabled,
|
|
101
|
+
id: "option_" + o.replace(/\W/g, "_"),
|
|
102
|
+
jsonValue: o,
|
|
103
|
+
manual: !1,
|
|
104
|
+
original: l,
|
|
105
|
+
text: t,
|
|
106
|
+
value: n
|
|
107
|
+
};
|
|
108
|
+
})), O = y(() => {
|
|
109
|
+
let l = ge.value.reduce(
|
|
110
|
+
(n, o) => (n[o.id] = o, n),
|
|
111
|
+
{}
|
|
112
|
+
);
|
|
113
|
+
const a = V.value.reduce(
|
|
114
|
+
(n, o) => (n[o.id] || (n[o.id] = o), n),
|
|
115
|
+
l
|
|
116
|
+
), t = p.value.reduce(
|
|
117
|
+
(n, o) => (n[o.id] || (n[o.id] = o), n),
|
|
118
|
+
a
|
|
119
|
+
);
|
|
120
|
+
return e.debug && console.log("Computing options in options", {
|
|
121
|
+
fromOptions: l,
|
|
122
|
+
withManual: a,
|
|
123
|
+
withStash: t
|
|
124
|
+
}), Object.values(t).map(
|
|
125
|
+
(n, o) => ({
|
|
126
|
+
...n,
|
|
127
|
+
selected: B(be.value.get(n.value)),
|
|
128
|
+
index: o
|
|
129
|
+
})
|
|
130
|
+
);
|
|
131
|
+
}), C = y(() => {
|
|
132
|
+
e.debug && console.log("Computing filtered options");
|
|
133
|
+
let l = [];
|
|
134
|
+
return u.value && !s.value.some(
|
|
135
|
+
(a) => a.text === u.value
|
|
136
|
+
) ? l = O.value.filter((a) => {
|
|
137
|
+
let t = !1;
|
|
138
|
+
if (e.filterBy) {
|
|
139
|
+
if (typeof e.filterBy == "function")
|
|
140
|
+
t = e.filterBy(a.value, a.original);
|
|
141
|
+
else if (e.filterBy.length) {
|
|
142
|
+
const n = [].concat(e.filterBy);
|
|
143
|
+
for (let o = 0; o < n.length; o++) {
|
|
144
|
+
const T = n[o];
|
|
145
|
+
t = t || a.original[T] && a.original[T].toLowerCase().includes(u.value.toLowerCase());
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
} else
|
|
149
|
+
return !0;
|
|
150
|
+
return t || a.text.toLowerCase().includes(u.value.toLowerCase());
|
|
151
|
+
}) : l = O.value, l.map((a, t) => ({
|
|
152
|
+
...a,
|
|
153
|
+
focused: _.value === t
|
|
154
|
+
}));
|
|
155
|
+
}), R = y(
|
|
156
|
+
() => O.value.reduce(
|
|
157
|
+
(l, a) => ({
|
|
158
|
+
...l,
|
|
159
|
+
[a.id]: a
|
|
160
|
+
}),
|
|
161
|
+
{}
|
|
162
|
+
)
|
|
163
|
+
), m = y(() => {
|
|
164
|
+
if (e.debug && console.log("Computing optionsIndexedByValue"), e.matchStrategy === "string") {
|
|
165
|
+
let l = O.value.reduce(
|
|
166
|
+
(a, t) => (a[t.jsonValue] = t, a),
|
|
167
|
+
{}
|
|
168
|
+
);
|
|
169
|
+
return {
|
|
170
|
+
get: (a) => l[JSON.stringify(a)]
|
|
171
|
+
};
|
|
172
|
+
} else if (e.matchStrategy === "equality") {
|
|
173
|
+
let l = O.value.map((a) => [
|
|
174
|
+
a.value,
|
|
175
|
+
a
|
|
176
|
+
]);
|
|
177
|
+
return {
|
|
178
|
+
get: (a) => {
|
|
179
|
+
var t;
|
|
180
|
+
return (t = l.find((n) => re(n[0], a))) == null ? void 0 : t[1];
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
} else
|
|
184
|
+
throw new Error("No match strategy has been defined");
|
|
185
|
+
}), be = y(() => {
|
|
186
|
+
if (e.debug && console.log("Computing modelValueIndexed"), e.matchStrategy === "string") {
|
|
187
|
+
let l = {};
|
|
188
|
+
return [].concat(e.modelValue).forEach((a, t) => {
|
|
189
|
+
l[JSON.stringify(a)] = t;
|
|
190
|
+
}), {
|
|
191
|
+
get: (a) => l[JSON.stringify(a)]
|
|
192
|
+
};
|
|
193
|
+
} else if (e.matchStrategy === "equality") {
|
|
194
|
+
const l = [].concat(e.modelValue).filter(B).map((a, t) => [a, t]);
|
|
195
|
+
return {
|
|
196
|
+
get: (a) => {
|
|
197
|
+
var t;
|
|
198
|
+
return (t = l.find((n) => re(n[0], a))) == null ? void 0 : t[1];
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
} else
|
|
202
|
+
throw new Error("No match strategy has been defined");
|
|
203
|
+
}), s = y(() => (e.debug && console.log("Computing selectedOptions"), [].concat(e.modelValue).reduce((l, a) => {
|
|
204
|
+
const t = m.value.get(a);
|
|
205
|
+
return t && l.push(t), l;
|
|
206
|
+
}, []))), M = (l) => {
|
|
207
|
+
e.debug && console.log("Running onOptionSelected", { option: l });
|
|
208
|
+
let a;
|
|
209
|
+
r.value = l.index, e.multiple ? (l.selected ? (l.manual && (e.debug && console.log("onOptionSelected: inside multiple > selected > manual"), V.value = V.value.filter(
|
|
210
|
+
(t) => t.id !== l.id
|
|
211
|
+
)), a = e.modelValue.filter(
|
|
212
|
+
(t) => JSON.stringify(t) !== l.jsonValue
|
|
213
|
+
), e.stash && (e.debug && console.log("onOptionSelected: inside multiple > selected > stash"), p.value = p.value.filter((t) => t.id !== l.id))) : (e.debug && console.log("onOptionSelected: inside multiple > not selected"), a = e.modelValue.concat(l.value), e.stash && (e.debug && console.log(
|
|
214
|
+
"onOptionSelected: inside multiple > not selected > stash"
|
|
215
|
+
), p.value = p.value.concat(l))), e.resetQueryOnOptionSelected && (e.debug && console.log("onOptionSelected: resetting query"), u.value = "")) : l.selected ? (l.manual && (e.debug && console.log("onOptionSelected: inside single > selected > manual"), V.value = V.value.filter(
|
|
216
|
+
(t) => t.id !== l.id
|
|
217
|
+
)), a = null, e.stash && (e.debug && console.log("onOptionSelected: inside single > selected > stash"), p.value = []), u.value = "") : (e.debug && console.log("onOptionSelected: inside single > not selected"), a = l.value, e.stash && (e.debug && console.log("onOptionSelected: inside single > not selected > stash"), p.value = [l]), u.value = l.text), c("update:modelValue", a);
|
|
218
|
+
}, N = async ({ prefill: l = !1 }) => {
|
|
219
|
+
e.debug && console.log("running getOptions");
|
|
220
|
+
let a = [];
|
|
221
|
+
Array.isArray(e.items) ? a = e.items : typeof e.items == "function" && (d.value++, a = await e.items(u.value, l, e.modelValue), d.value--), ae.value = a;
|
|
222
|
+
}, he = () => {
|
|
223
|
+
e.debug && console.log("running addOption");
|
|
224
|
+
const l = u.value, a = u.value, t = JSON.stringify(a), n = {
|
|
225
|
+
text: l,
|
|
226
|
+
value: a,
|
|
227
|
+
jsonValue: t,
|
|
228
|
+
id: "option_" + t.replace(/\W/g, "_"),
|
|
229
|
+
original: a,
|
|
230
|
+
manual: !0,
|
|
231
|
+
disabled: !1
|
|
232
|
+
};
|
|
233
|
+
V.value = V.value.concat(n), u.value = "";
|
|
234
|
+
}, z = e.prefill === !0 || !e.multiple && B(e.modelValue) || e.multiple && !!e.modelValue.length;
|
|
235
|
+
let U;
|
|
236
|
+
X(
|
|
237
|
+
() => e.modelValue,
|
|
238
|
+
(l, a) => {
|
|
239
|
+
e.debug && console.log("running watch.modelValue"), U && clearTimeout(U), U = setTimeout(
|
|
240
|
+
async () => {
|
|
241
|
+
if (e.multiple) {
|
|
242
|
+
if (!Array.isArray(e.modelValue))
|
|
243
|
+
throw new Error("props.modelValue is not an array.");
|
|
244
|
+
let t = e.modelValue.every(
|
|
245
|
+
(n) => m.value.get(n)
|
|
246
|
+
);
|
|
247
|
+
if ((!t || a === void 0) && (await N({ prefill: !0 }), t = e.modelValue.every(
|
|
248
|
+
(n) => m.value.get(n)
|
|
249
|
+
)), t)
|
|
250
|
+
e.stash && (p.value = e.modelValue.map(
|
|
251
|
+
(n) => m.value.get(n)
|
|
252
|
+
));
|
|
253
|
+
else {
|
|
254
|
+
let n = [];
|
|
255
|
+
const o = l.filter((T) => {
|
|
256
|
+
let J = m.value.get(T);
|
|
257
|
+
return J && n.push(J), J;
|
|
258
|
+
});
|
|
259
|
+
e.stash && (p.value = n), e.enforceCoherence && c("update:modelValue", o);
|
|
260
|
+
}
|
|
261
|
+
} else {
|
|
262
|
+
e.debug && console.log("watch.modelValue >> single");
|
|
263
|
+
let t = m.value.get(e.modelValue);
|
|
264
|
+
if (!t && B(e.modelValue) || a === void 0) {
|
|
265
|
+
e.debug && console.log("watch.modelValue >> not found line 895");
|
|
266
|
+
const n = u.value;
|
|
267
|
+
u.value = "", await N({ prefill: !0 }), u.value = n;
|
|
268
|
+
}
|
|
269
|
+
t = m.value.get(e.modelValue), t ? (e.debug && console.log("watch.modelValue >> found"), u.value = t.text, e.stash && (p.value = [t])) : e.enforceCoherence && B(l) ? (e.debug && console.log("watch.modelValue >> not found line 911"), u.value = "", e.stash && (p.value = []), c("update:modelValue", null)) : u.value = "";
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
z ? 0 : e.modelValueDebounceTime
|
|
273
|
+
);
|
|
274
|
+
},
|
|
275
|
+
// Prefill when asked or when items are static
|
|
276
|
+
{ immediate: z, deep: !0 }
|
|
277
|
+
), X(
|
|
278
|
+
() => e.items,
|
|
279
|
+
async (l, a) => {
|
|
280
|
+
if (typeof l == "function" || // Circumvent arrays defined in the template by the parent
|
|
281
|
+
JSON.stringify(l) !== JSON.stringify(a))
|
|
282
|
+
if (e.debug && console.log("watch.items"), await N({ prefill: !1 }), e.multiple) {
|
|
283
|
+
if (!e.modelValue.every(
|
|
284
|
+
(n) => m.value.get(n)
|
|
285
|
+
) && e.enforceCoherence) {
|
|
286
|
+
const n = e.modelValue.filter((o) => m.value.get(o));
|
|
287
|
+
c("update:modelValue", n);
|
|
288
|
+
}
|
|
289
|
+
} else
|
|
290
|
+
!m.value.get(e.modelValue) && e.enforceCoherence && B(e.modelValue) && c("update:modelValue", null), r.value = null;
|
|
291
|
+
}
|
|
292
|
+
);
|
|
293
|
+
let j;
|
|
294
|
+
X(
|
|
295
|
+
() => e.dependencies,
|
|
296
|
+
(l, a) => {
|
|
297
|
+
!z && e.prefill === "focus" && Y || JSON.stringify(l) !== JSON.stringify(a) && (j && clearTimeout(j), j = setTimeout(async () => {
|
|
298
|
+
if (JSON.stringify(l) !== JSON.stringify(a)) {
|
|
299
|
+
e.enforceCoherence && e.stash && (p.value = []);
|
|
300
|
+
let t = u.value;
|
|
301
|
+
if (u.value = "", await N({ prefill: !0 }), u.value = t, !e.multiple)
|
|
302
|
+
!m.value.get(e.modelValue) && e.enforceCoherence && B(e.modelValue) && (u.value = "", e.stash && (p.value = []), c("update:modelValue", null));
|
|
303
|
+
else if (!e.modelValue.every(
|
|
304
|
+
(o) => m.value.get(o)
|
|
305
|
+
) && e.enforceCoherence) {
|
|
306
|
+
let o = [];
|
|
307
|
+
const T = e.modelValue.filter((J) => {
|
|
308
|
+
let G = m.value.get(J);
|
|
309
|
+
return G && o.push(G), G;
|
|
310
|
+
});
|
|
311
|
+
e.stash && (p.value = o), c("update:modelValue", T);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}, e.depsDebounceTime));
|
|
315
|
+
},
|
|
316
|
+
{ deep: !0 }
|
|
317
|
+
);
|
|
318
|
+
const ye = () => {
|
|
319
|
+
e.debug && console.log("Running display options"), E.value && v.value && Ue(E.value, v.value, {
|
|
320
|
+
placement: "bottom",
|
|
321
|
+
middleware: [Xe(6), je(), Qe()]
|
|
322
|
+
}).then((l) => {
|
|
323
|
+
var a;
|
|
324
|
+
v.value && (v.value.style.left = `${l.x}px`, v.value.style.top = `${l.y}px`, v.value.style.width = `${(a = E.value) == null ? void 0 : a.offsetWidth}px`);
|
|
325
|
+
});
|
|
326
|
+
}, k = f(!1), Q = f(!1), W = f(!1), K = f(!0), $ = async () => {
|
|
327
|
+
K.value = !1, Q.value = !0, await q(e.transitionDuration), Q.value = !1, k.value = !0;
|
|
328
|
+
}, A = async () => {
|
|
329
|
+
k.value = !1, W.value = !0, await q(e.transitionDuration), W.value = !1, K.value = !0;
|
|
330
|
+
}, P = f(!1);
|
|
331
|
+
let Y = !0;
|
|
332
|
+
const we = async (l) => {
|
|
333
|
+
e.debug && console.log("Running onInputFocus"), c("focus", l), P.value = !0, document.addEventListener("click", oe), document.addEventListener("focusin", ne), S.value instanceof HTMLInputElement && S.value.select(), e.prefill === "focus" && Y && !z && (await N({ prefill: !0 }), Y = !1);
|
|
334
|
+
}, ne = (l) => {
|
|
335
|
+
if (e.debug && console.log("Running onFocusOutside"), l.target instanceof Node && F.value && v.value && !F.value.contains(l.target) && !v.value.contains(l.target)) {
|
|
336
|
+
A(), c("inactive"), document.removeEventListener("focusin", ne), P.value = !1, e.multiple && q(500).then(() => {
|
|
337
|
+
u.value = "";
|
|
338
|
+
});
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
}, Ve = async (l) => {
|
|
342
|
+
if (e.debug && console.log("Running onInputBlur"), c("blur", l), !e.multiple) {
|
|
343
|
+
let a = !1;
|
|
344
|
+
const t = e.modelValue;
|
|
345
|
+
if (await Promise.race([
|
|
346
|
+
q(250),
|
|
347
|
+
Ze(() => t !== e.modelValue).then(() => {
|
|
348
|
+
a = !0;
|
|
349
|
+
})
|
|
350
|
+
]), !a) {
|
|
351
|
+
const n = m.value.get(e.modelValue);
|
|
352
|
+
n && (u.value = n.text);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}, Oe = (l) => c("change", l), Ce = (l) => {
|
|
356
|
+
e.debug && console.log("Running onInputInput"), c("input", l), u.value === "" && (e.multiple || c("update:modelValue", null)), typeof e.items == "function" && Te();
|
|
357
|
+
}, r = f(null), _ = y(() => Number.isInteger(r.value) && r.value ? (r.value === -1 && (r.value = C.value.length - 1), r.value % C.value.length) : r.value), i = f(null), ke = () => {
|
|
358
|
+
r.value !== null ? r.value++ : r.value = 0, se().then(() => {
|
|
359
|
+
var l;
|
|
360
|
+
if (_.value !== null) {
|
|
361
|
+
const a = (l = v.value) == null ? void 0 : l.querySelector(
|
|
362
|
+
`#${O.value[_.value].id}`
|
|
363
|
+
);
|
|
364
|
+
a instanceof HTMLElement && a.scrollIntoView({
|
|
365
|
+
behavior: "smooth",
|
|
366
|
+
block: "nearest",
|
|
367
|
+
inline: "start"
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
}, _e = () => {
|
|
372
|
+
r.value !== null ? r.value-- : r.value = O.value.length - 1, se().then(() => {
|
|
373
|
+
var l;
|
|
374
|
+
if (_.value !== null) {
|
|
375
|
+
const a = (l = v.value) == null ? void 0 : l.querySelector(
|
|
376
|
+
`#${O.value[_.value].id}`
|
|
377
|
+
);
|
|
378
|
+
a instanceof HTMLElement && a.scrollIntoView({
|
|
379
|
+
behavior: "smooth",
|
|
380
|
+
block: "nearest",
|
|
381
|
+
inline: "start"
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
});
|
|
385
|
+
}, Se = async (l) => {
|
|
386
|
+
var a, t;
|
|
387
|
+
if (e.readonly || e.disabled) {
|
|
388
|
+
l.preventDefault();
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
switch (l.key) {
|
|
392
|
+
case "ArrowUp":
|
|
393
|
+
{
|
|
394
|
+
if (l.preventDefault(), d.value)
|
|
395
|
+
return;
|
|
396
|
+
i.value = null, k.value ? _e() : (s.value.length && (r.value = le(s.value).index), await $());
|
|
397
|
+
}
|
|
398
|
+
break;
|
|
399
|
+
case "ArrowDown":
|
|
400
|
+
{
|
|
401
|
+
if (l.preventDefault(), d.value)
|
|
402
|
+
return;
|
|
403
|
+
i.value = null, k.value ? ke() : (s.value.length && (r.value = le(s.value).index), await $());
|
|
404
|
+
}
|
|
405
|
+
break;
|
|
406
|
+
case "ArrowLeft":
|
|
407
|
+
{
|
|
408
|
+
if (d.value)
|
|
409
|
+
return;
|
|
410
|
+
if (!u.value && s.value.length && (i.value === null ? i.value = s.value.length - 1 : i.value > 0 ? i.value-- : i.value = null, i.value !== null)) {
|
|
411
|
+
let n = s.value[i.value], o = (a = v.value) == null ? void 0 : a.querySelector(
|
|
412
|
+
`#${n.id}`
|
|
413
|
+
);
|
|
414
|
+
o && (o.scrollIntoView({
|
|
415
|
+
behavior: "smooth",
|
|
416
|
+
block: "nearest",
|
|
417
|
+
inline: "start"
|
|
418
|
+
}), r.value = R.value[s.value[i.value].id].index);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
break;
|
|
422
|
+
case "ArrowRight":
|
|
423
|
+
{
|
|
424
|
+
if (d.value)
|
|
425
|
+
return;
|
|
426
|
+
if (!u.value && s.value.length && (i.value === null ? i.value = 0 : i.value < s.value.length - 1 ? i.value++ : i.value = null, i.value !== null)) {
|
|
427
|
+
let n = s.value[i.value], o = (t = v.value) == null ? void 0 : t.querySelector(
|
|
428
|
+
`#${n.id}`
|
|
429
|
+
);
|
|
430
|
+
o && (o.scrollIntoView({
|
|
431
|
+
behavior: "smooth",
|
|
432
|
+
block: "nearest",
|
|
433
|
+
inline: "start"
|
|
434
|
+
}), r.value = R.value[s.value[i.value].id].index);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
break;
|
|
438
|
+
case "Enter":
|
|
439
|
+
{
|
|
440
|
+
if (l.preventDefault(), d.value)
|
|
441
|
+
return;
|
|
442
|
+
if (!k.value)
|
|
443
|
+
C.value.length && s.value.length && (r.value = le(s.value).index), await $();
|
|
444
|
+
else if (_.value !== null) {
|
|
445
|
+
if (C.value[_.value].disabled)
|
|
446
|
+
return;
|
|
447
|
+
e.multiple || await A(), M(
|
|
448
|
+
C.value[_.value]
|
|
449
|
+
);
|
|
450
|
+
} else if (e.addOptions) {
|
|
451
|
+
if (e.itemText || e.itemValue) {
|
|
452
|
+
console.error(
|
|
453
|
+
`Adding an option for mapped items is not supported. You can't create an option while passing "item-text" or "item-value".`
|
|
454
|
+
);
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
he();
|
|
458
|
+
const n = We(V.value);
|
|
459
|
+
M(R.value[n.id]);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
break;
|
|
463
|
+
case "Tab":
|
|
464
|
+
case "Escape":
|
|
465
|
+
k.value && await A(), c("inactive"), i.value = null, r.value = null;
|
|
466
|
+
break;
|
|
467
|
+
case "Shift":
|
|
468
|
+
if (d.value)
|
|
469
|
+
return;
|
|
470
|
+
break;
|
|
471
|
+
case "Backspace":
|
|
472
|
+
{
|
|
473
|
+
if (d.value)
|
|
474
|
+
return;
|
|
475
|
+
u.value || s.value.length && (i.value === null ? i.value = s.value.length - 1 : (M(
|
|
476
|
+
s.value[i.value]
|
|
477
|
+
), s.value.length ? i.value = Math.max(
|
|
478
|
+
Math.min(
|
|
479
|
+
i.value,
|
|
480
|
+
s.value.length - 2
|
|
481
|
+
),
|
|
482
|
+
0
|
|
483
|
+
) : i.value = null)), await $();
|
|
484
|
+
}
|
|
485
|
+
break;
|
|
486
|
+
default:
|
|
487
|
+
i.value = null, r.value = null, await $();
|
|
488
|
+
break;
|
|
489
|
+
}
|
|
490
|
+
};
|
|
491
|
+
let Z;
|
|
492
|
+
const Te = () => {
|
|
493
|
+
Z && clearTimeout(Z), Z = setTimeout(async () => {
|
|
494
|
+
try {
|
|
495
|
+
await N({ prefill: !1 });
|
|
496
|
+
} catch (l) {
|
|
497
|
+
console.error(l);
|
|
498
|
+
}
|
|
499
|
+
}, e.queryDebounceTime);
|
|
500
|
+
}, xe = (l) => {
|
|
501
|
+
c("click", l), !(e.disabled || e.readonly) && (S.value instanceof HTMLElement && S.value.focus(), $());
|
|
502
|
+
}, Ie = (l) => {
|
|
503
|
+
if (l.currentTarget instanceof HTMLElement && l.currentTarget.classList.contains("bb-base-select-option")) {
|
|
504
|
+
const a = R.value[l.currentTarget.id];
|
|
505
|
+
if (a.disabled)
|
|
506
|
+
return;
|
|
507
|
+
M(a), S.value instanceof HTMLInputElement && S.value.focus(), e.multiple || A();
|
|
508
|
+
}
|
|
509
|
+
}, oe = (l) => {
|
|
510
|
+
if (l.target instanceof Node && F.value && !F.value.contains(l.target)) {
|
|
511
|
+
A(), c("inactive"), document.removeEventListener("click", oe), P.value = !1, e.multiple && q(500).then(() => {
|
|
512
|
+
u.value = "";
|
|
513
|
+
});
|
|
514
|
+
return;
|
|
515
|
+
}
|
|
516
|
+
}, Be = Ge(
|
|
517
|
+
(l) => typeof l != "string",
|
|
518
|
+
JSON.stringify
|
|
519
|
+
), Ee = y(() => [].concat(e.modelValue).map((l) => {
|
|
520
|
+
const a = Be(l);
|
|
521
|
+
return {
|
|
522
|
+
disabled: e.disabled,
|
|
523
|
+
name: e.name,
|
|
524
|
+
type: "hidden",
|
|
525
|
+
value: a
|
|
526
|
+
};
|
|
527
|
+
}));
|
|
528
|
+
return (l, a) => (g(), h("span", {
|
|
529
|
+
ref_key: "outerContainer",
|
|
530
|
+
ref: F,
|
|
531
|
+
class: x({
|
|
532
|
+
"bb-base-select": !0,
|
|
533
|
+
"bb-base-select--active": P.value,
|
|
534
|
+
"bb-base-select--loading": d.value,
|
|
535
|
+
"bb-base-select--disabled": l.disabled,
|
|
536
|
+
"bb-base-select--errors": l.hasErrors,
|
|
537
|
+
"bb-base-select--readonly": l.readonly
|
|
538
|
+
}),
|
|
539
|
+
onClick: xe
|
|
540
|
+
}, [
|
|
541
|
+
b(l.$slots, "prepend-outer"),
|
|
542
|
+
w("span", {
|
|
543
|
+
ref_key: "innerContainer",
|
|
544
|
+
ref: E,
|
|
545
|
+
class: "bb-base-select__inner-container"
|
|
546
|
+
}, [
|
|
547
|
+
b(l.$slots, "prepend"),
|
|
548
|
+
w("span", el, [
|
|
549
|
+
l.multiple ? (g(), h(D, { key: 0 }, [
|
|
550
|
+
l.comma ? (g(!0), h(D, { key: 0 }, H(s.value, (t, n) => (g(), h("span", {
|
|
551
|
+
key: t.id,
|
|
552
|
+
class: x({
|
|
553
|
+
"bb-base-select__selected": !0,
|
|
554
|
+
"bb-base-select__selected--comma": !0,
|
|
555
|
+
"bb-base-select__selected--focused": n === i.value
|
|
556
|
+
})
|
|
557
|
+
}, L(t.text) + L(n < s.value.length - 1 ? "," : ""), 3))), 128)) : (g(!0), h(D, { key: 1 }, H(s.value, (t, n) => (g(), ue(ze, {
|
|
558
|
+
key: t.id,
|
|
559
|
+
class: x({
|
|
560
|
+
"bb-base-select__selected": !0,
|
|
561
|
+
"bb-base-select__selected--chip": !0,
|
|
562
|
+
"bb-base-select__selected--focused": n === i.value
|
|
563
|
+
}),
|
|
564
|
+
clearable: !0,
|
|
565
|
+
text: t.text,
|
|
566
|
+
"onClick:clear": I((o) => M(t), ["stop"])
|
|
567
|
+
}, {
|
|
568
|
+
default: Le(() => [
|
|
569
|
+
b(l.$slots, "chip", {
|
|
570
|
+
disabled: t.disabled,
|
|
571
|
+
hasErrors: l.hasErrors,
|
|
572
|
+
index: t.index,
|
|
573
|
+
item: t.original,
|
|
574
|
+
loading: !!d.value,
|
|
575
|
+
manual: t.manual,
|
|
576
|
+
selected: t.selected,
|
|
577
|
+
text: t.text,
|
|
578
|
+
value: t.value
|
|
579
|
+
}, () => [
|
|
580
|
+
ee(L(t.text), 1)
|
|
581
|
+
])
|
|
582
|
+
]),
|
|
583
|
+
_: 2
|
|
584
|
+
}, 1032, ["class", "text", "onClick:clear"]))), 128))
|
|
585
|
+
], 64)) : ie("", !0),
|
|
586
|
+
Fe(w("input", {
|
|
587
|
+
id: l.id,
|
|
588
|
+
ref_key: "input",
|
|
589
|
+
ref: S,
|
|
590
|
+
"onUpdate:modelValue": a[0] || (a[0] = (t) => u.value = t),
|
|
591
|
+
autocomplete: l.autocomplete,
|
|
592
|
+
autofocus: l.autofocus,
|
|
593
|
+
class: x("bb-base-select__text-input"),
|
|
594
|
+
disabled: l.disabled,
|
|
595
|
+
placeholder: fe.value,
|
|
596
|
+
readonly: l.readonly || !l.allowWriting,
|
|
597
|
+
type: "text",
|
|
598
|
+
onBlur: I(Ve, ["stop"]),
|
|
599
|
+
onChange: I(Oe, ["stop"]),
|
|
600
|
+
onFocus: I(we, ["stop"]),
|
|
601
|
+
onInput: I(Ce, ["stop"]),
|
|
602
|
+
onKeydown: I(Se, ["stop"])
|
|
603
|
+
}, null, 40, ll), [
|
|
604
|
+
[Me, u.value]
|
|
605
|
+
]),
|
|
606
|
+
(g(), ue(Ae, { to: "body" }, [
|
|
607
|
+
w("span", {
|
|
608
|
+
ref_key: "optionsContainer",
|
|
609
|
+
ref: v,
|
|
610
|
+
class: x({
|
|
611
|
+
"bb-base-select__options-container": !0,
|
|
612
|
+
"bb-base-select__options-container--shown": k.value,
|
|
613
|
+
"bb-base-select__options-container--showing": Q.value,
|
|
614
|
+
"bb-base-select__options-container--hiding": W.value,
|
|
615
|
+
"bb-base-select__options-container--hidden": K.value
|
|
616
|
+
}),
|
|
617
|
+
role: "listbox",
|
|
618
|
+
style: Je({ transitionDuration: ve }),
|
|
619
|
+
tabindex: -1
|
|
620
|
+
}, [
|
|
621
|
+
b(l.$slots, "options:prepend"),
|
|
622
|
+
!C.value.length && d.value ? (g(), h("span", tl, [
|
|
623
|
+
b(l.$slots, "loading", { query: u.value }, () => [
|
|
624
|
+
ee(L(l.loadingText), 1)
|
|
625
|
+
])
|
|
626
|
+
])) : C.value.length ? ie("", !0) : (g(), h("span", al, [
|
|
627
|
+
b(l.$slots, "no-data", { query: u.value }, () => [
|
|
628
|
+
ee(L(l.noDataText), 1)
|
|
629
|
+
])
|
|
630
|
+
])),
|
|
631
|
+
(g(!0), h(D, null, H(C.value, (t) => (g(), h(D, {
|
|
632
|
+
key: t.id
|
|
633
|
+
}, [
|
|
634
|
+
b(l.$slots, "option:prepend", {
|
|
635
|
+
item: t.original
|
|
636
|
+
}),
|
|
637
|
+
w("span", {
|
|
638
|
+
id: t.id,
|
|
639
|
+
"aria-selected": t.selected,
|
|
640
|
+
class: x({
|
|
641
|
+
"bb-base-select-option": !0,
|
|
642
|
+
"bb-base-select-option--selected": t.selected,
|
|
643
|
+
"bb-base-select-option--focused": t.focused,
|
|
644
|
+
"bb-base-select-option--disabled": t.disabled
|
|
645
|
+
}),
|
|
646
|
+
role: "option",
|
|
647
|
+
onClick: I(Ie, ["stop"])
|
|
648
|
+
}, [
|
|
649
|
+
b(l.$slots, "option", {
|
|
650
|
+
disabled: t.disabled,
|
|
651
|
+
focused: t.focused,
|
|
652
|
+
hasErrors: l.hasErrors,
|
|
653
|
+
index: t.index,
|
|
654
|
+
item: t.original,
|
|
655
|
+
loading: !!d.value,
|
|
656
|
+
manual: t.manual,
|
|
657
|
+
selected: t.selected,
|
|
658
|
+
text: t.text,
|
|
659
|
+
value: t.value
|
|
660
|
+
}, () => [
|
|
661
|
+
w("span", ol, [
|
|
662
|
+
w("span", ul, L(t.text), 1)
|
|
663
|
+
])
|
|
664
|
+
])
|
|
665
|
+
], 10, nl),
|
|
666
|
+
b(l.$slots, "option:append", {
|
|
667
|
+
item: t.original
|
|
668
|
+
})
|
|
669
|
+
], 64))), 128)),
|
|
670
|
+
b(l.$slots, "options:append")
|
|
671
|
+
], 6)
|
|
672
|
+
]))
|
|
673
|
+
]),
|
|
674
|
+
w("span", il, [
|
|
675
|
+
b(l.$slots, "chevron", {
|
|
676
|
+
loading: !!d.value,
|
|
677
|
+
shown: k.value
|
|
678
|
+
}, () => [
|
|
679
|
+
sl
|
|
680
|
+
])
|
|
681
|
+
]),
|
|
682
|
+
d.value ? (g(), h("span", {
|
|
683
|
+
key: 1,
|
|
684
|
+
class: x({
|
|
685
|
+
"bb-base-select__spinner": !0,
|
|
686
|
+
"bb-base-select__spinner--loading": d.value
|
|
687
|
+
})
|
|
688
|
+
}, [
|
|
689
|
+
b(l.$slots, "spinner", {
|
|
690
|
+
loading: !!d.value
|
|
691
|
+
}, () => [
|
|
692
|
+
qe(Pe, { size: "sm" })
|
|
693
|
+
])
|
|
694
|
+
], 2)) : b(l.$slots, "append", { key: 0 })
|
|
695
|
+
], 512),
|
|
696
|
+
b(l.$slots, "append-outer"),
|
|
697
|
+
(g(!0), h(D, null, H(Ee.value, (t) => (g(), h("input", Re({
|
|
698
|
+
key: t.value
|
|
699
|
+
}, t), null, 16))), 128))
|
|
700
|
+
], 2));
|
|
701
|
+
}
|
|
702
|
+
});
|
|
703
|
+
export {
|
|
704
|
+
_l as default
|
|
705
|
+
};
|
|
706
|
+
//# sourceMappingURL=index31.js.map
|