proto-ikon-loader-wc 0.0.152 → 0.0.154
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/cjs/acura-ikon.cjs.entry.js +1 -1
- package/dist/cjs/alfa-romeo-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/alfa-romeo-ikon.cjs.entry.js +1 -1
- package/dist/cjs/alien-icon.cjs.entry.js +1 -1
- package/dist/cjs/am-general-ikon.cjs.entry.js +1 -1
- package/dist/cjs/asterisk-icon.cjs.entry.js +1 -1
- package/dist/cjs/aston-martin-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/aston-martin-ikon.cjs.entry.js +1 -1
- package/dist/cjs/audi-ikon.cjs.entry.js +1 -1
- package/dist/cjs/barcode-icon.cjs.entry.js +1 -1
- package/dist/cjs/barcode-scan-icon.cjs.entry.js +1 -1
- package/dist/cjs/bash-icon.cjs.entry.js +1 -1
- package/dist/cjs/beaker-icon.cjs.entry.js +1 -1
- package/dist/cjs/bently-ikon.cjs.entry.js +1 -1
- package/dist/cjs/bmw-ikon.cjs.entry.js +1 -1
- package/dist/cjs/bugatti-ikon.cjs.entry.js +1 -1
- package/dist/cjs/buick-ikon.cjs.entry.js +1 -1
- package/dist/cjs/cadillac-ikon.cjs.entry.js +1 -1
- package/dist/cjs/chart-bar-icon.cjs.entry.js +1 -1
- package/dist/cjs/chart-bubble-icon.cjs.entry.js +1 -1
- package/dist/cjs/chart-donut-icon.cjs.entry.js +1 -1
- package/dist/cjs/chart-donuts-icon.cjs.entry.js +1 -1
- package/dist/cjs/check-icon.cjs.entry.js +1 -1
- package/dist/cjs/chevrolet-ikon.cjs.entry.js +1 -1
- package/dist/cjs/chevron-double-left-icon.cjs.entry.js +1 -1
- package/dist/cjs/chrysler-ikon.cjs.entry.js +1 -1
- package/dist/cjs/circular-saw-icon.cjs.entry.js +1 -1
- package/dist/cjs/citroen-ikon.cjs.entry.js +1 -1
- package/dist/cjs/close-icon.cjs.entry.js +1 -1
- package/dist/cjs/daewoo-ikon.cjs.entry.js +1 -1
- package/dist/cjs/dodge-ikon.cjs.entry.js +1 -1
- package/dist/cjs/eagle-ikon.cjs.entry.js +1 -1
- package/dist/cjs/ferrari-ikon.cjs.entry.js +1 -1
- package/dist/cjs/fiat-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/fiat-ikon.cjs.entry.js +1 -1
- package/dist/cjs/fingerprint-icon.cjs.entry.js +1 -1
- package/dist/cjs/fire-icon.cjs.entry.js +1 -1
- package/dist/cjs/fisker-ikon.cjs.entry.js +1 -1
- package/dist/cjs/flask-icon.cjs.entry.js +1 -1
- package/dist/cjs/ford-ikon.cjs.entry.js +1 -1
- package/dist/cjs/genesis-ikon.cjs.entry.js +1 -1
- package/dist/cjs/geo-ikon.cjs.entry.js +1 -1
- package/dist/cjs/git-icon.cjs.entry.js +1 -1
- package/dist/cjs/gmc-ikon.cjs.entry.js +1 -1
- package/dist/cjs/honda-ikon.cjs.entry.js +1 -1
- package/dist/cjs/hummer-ikon.cjs.entry.js +1 -1
- package/dist/cjs/hyundai-ikon.cjs.entry.js +1 -1
- package/dist/cjs/{index-0d9cb108.js → index-54a1c89e.js} +171 -153
- package/dist/cjs/infiniti-ikon.cjs.entry.js +1 -1
- package/dist/cjs/isuzu-ikon.cjs.entry.js +1 -1
- package/dist/cjs/jaguar-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/jaguar-ikon.cjs.entry.js +1 -1
- package/dist/cjs/java-script-icon.cjs.entry.js +1 -1
- package/dist/cjs/jeep-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/jeep-ikon.cjs.entry.js +1 -1
- package/dist/cjs/kia-ikon.cjs.entry.js +1 -1
- package/dist/cjs/lamborghini-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/lamborghini-ikon.cjs.entry.js +1 -1
- package/dist/cjs/land-rover-ikon.cjs.entry.js +1 -1
- package/dist/cjs/lexus-ikon.cjs.entry.js +1 -1
- package/dist/cjs/lincoln-ikon.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/lotus-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/lotus-ikon.cjs.entry.js +1 -1
- package/dist/cjs/maserati-ikon.cjs.entry.js +1 -1
- package/dist/cjs/maybach-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mazda-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mazda-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mclaren-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mclaren-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mercedes-benz-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mercedes-benz-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mercury-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mini-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mini-ikon.cjs.entry.js +1 -1
- package/dist/cjs/mitsubishi-ikon.cjs.entry.js +1 -1
- package/dist/cjs/nissan-ikon.cjs.entry.js +1 -1
- package/dist/cjs/oldsmobile-ikon.cjs.entry.js +1 -1
- package/dist/cjs/one-password-icon.cjs.entry.js +1 -1
- package/dist/cjs/opel-ikon.cjs.entry.js +1 -1
- package/dist/cjs/panoz-ikon.cjs.entry.js +1 -1
- package/dist/cjs/paw-icon.cjs.entry.js +1 -1
- package/dist/cjs/peugeot-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/peugeot-ikon.cjs.entry.js +1 -1
- package/dist/cjs/plymouth-ikon.cjs.entry.js +1 -1
- package/dist/cjs/pontiac-ikon.cjs.entry.js +1 -1
- package/dist/cjs/porsche-ikon.cjs.entry.js +1 -1
- package/dist/cjs/proto-ikon-loader-wc.cjs.js +2 -2
- package/dist/cjs/proto-ikon-loader_2.cjs.entry.js +1 -1
- package/dist/cjs/protocol-icon.cjs.entry.js +1 -1
- package/dist/cjs/pulse-icon.cjs.entry.js +1 -1
- package/dist/cjs/puzzle-icon.cjs.entry.js +1 -1
- package/dist/cjs/qr-code-icon.cjs.entry.js +1 -1
- package/dist/cjs/radio-2-icon.cjs.entry.js +1 -1
- package/dist/cjs/radio-icon.cjs.entry.js +1 -1
- package/dist/cjs/ram-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/ram-ikon.cjs.entry.js +1 -1
- package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/renault-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/renault-ikon.cjs.entry.js +1 -1
- package/dist/cjs/rolls-royce-ikon.cjs.entry.js +1 -1
- package/dist/cjs/saab-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/saab-ikon.cjs.entry.js +1 -1
- package/dist/cjs/saturn-ikon.cjs.entry.js +1 -1
- package/dist/cjs/scion-ikon.cjs.entry.js +1 -1
- package/dist/cjs/seat-ikon.cjs.entry.js +1 -1
- package/dist/cjs/skoda-ikon.cjs.entry.js +1 -1
- package/dist/cjs/slug-icon.cjs.entry.js +1 -1
- package/dist/cjs/smart-ikon.cjs.entry.js +1 -1
- package/dist/cjs/spider-icon.cjs.entry.js +1 -1
- package/dist/cjs/spyker-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/spyker-ikon.cjs.entry.js +1 -1
- package/dist/cjs/subaru-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/subaru-ikon.cjs.entry.js +1 -1
- package/dist/cjs/suzuki-ikon.cjs.entry.js +1 -1
- package/dist/cjs/svg-icon.cjs.entry.js +1 -1
- package/dist/cjs/tesla-ikon.cjs.entry.js +1 -1
- package/dist/cjs/toyota-ikon.cjs.entry.js +1 -1
- package/dist/cjs/vector-curve-icon.cjs.entry.js +1 -1
- package/dist/cjs/volkswagen-ikon.cjs.entry.js +1 -1
- package/dist/cjs/volvo-alt-ikon.cjs.entry.js +1 -1
- package/dist/cjs/volvo-ikon.cjs.entry.js +1 -1
- package/dist/cjs/webhook-icon.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/acura-ikon.entry.js +1 -1
- package/dist/esm/alfa-romeo-alt-ikon.entry.js +1 -1
- package/dist/esm/alfa-romeo-ikon.entry.js +1 -1
- package/dist/esm/alien-icon.entry.js +1 -1
- package/dist/esm/am-general-ikon.entry.js +1 -1
- package/dist/esm/asterisk-icon.entry.js +1 -1
- package/dist/esm/aston-martin-alt-ikon.entry.js +1 -1
- package/dist/esm/aston-martin-ikon.entry.js +1 -1
- package/dist/esm/audi-ikon.entry.js +1 -1
- package/dist/esm/barcode-icon.entry.js +1 -1
- package/dist/esm/barcode-scan-icon.entry.js +1 -1
- package/dist/esm/bash-icon.entry.js +1 -1
- package/dist/esm/beaker-icon.entry.js +1 -1
- package/dist/esm/bently-ikon.entry.js +1 -1
- package/dist/esm/bmw-ikon.entry.js +1 -1
- package/dist/esm/bugatti-ikon.entry.js +1 -1
- package/dist/esm/buick-ikon.entry.js +1 -1
- package/dist/esm/cadillac-ikon.entry.js +1 -1
- package/dist/esm/chart-bar-icon.entry.js +1 -1
- package/dist/esm/chart-bubble-icon.entry.js +1 -1
- package/dist/esm/chart-donut-icon.entry.js +1 -1
- package/dist/esm/chart-donuts-icon.entry.js +1 -1
- package/dist/esm/check-icon.entry.js +1 -1
- package/dist/esm/chevrolet-ikon.entry.js +1 -1
- package/dist/esm/chevron-double-left-icon.entry.js +1 -1
- package/dist/esm/chrysler-ikon.entry.js +1 -1
- package/dist/esm/circular-saw-icon.entry.js +1 -1
- package/dist/esm/citroen-ikon.entry.js +1 -1
- package/dist/esm/close-icon.entry.js +1 -1
- package/dist/esm/daewoo-ikon.entry.js +1 -1
- package/dist/esm/dodge-ikon.entry.js +1 -1
- package/dist/esm/eagle-ikon.entry.js +1 -1
- package/dist/esm/ferrari-ikon.entry.js +1 -1
- package/dist/esm/fiat-alt-ikon.entry.js +1 -1
- package/dist/esm/fiat-ikon.entry.js +1 -1
- package/dist/esm/fingerprint-icon.entry.js +1 -1
- package/dist/esm/fire-icon.entry.js +1 -1
- package/dist/esm/fisker-ikon.entry.js +1 -1
- package/dist/esm/flask-icon.entry.js +1 -1
- package/dist/esm/ford-ikon.entry.js +1 -1
- package/dist/esm/genesis-ikon.entry.js +1 -1
- package/dist/esm/geo-ikon.entry.js +1 -1
- package/dist/esm/git-icon.entry.js +1 -1
- package/dist/esm/gmc-ikon.entry.js +1 -1
- package/dist/esm/honda-ikon.entry.js +1 -1
- package/dist/esm/hummer-ikon.entry.js +1 -1
- package/dist/esm/hyundai-ikon.entry.js +1 -1
- package/dist/esm/{index-3a5e6d57.js → index-4e25f696.js} +171 -153
- package/dist/esm/infiniti-ikon.entry.js +1 -1
- package/dist/esm/isuzu-ikon.entry.js +1 -1
- package/dist/esm/jaguar-alt-ikon.entry.js +1 -1
- package/dist/esm/jaguar-ikon.entry.js +1 -1
- package/dist/esm/java-script-icon.entry.js +1 -1
- package/dist/esm/jeep-alt-ikon.entry.js +1 -1
- package/dist/esm/jeep-ikon.entry.js +1 -1
- package/dist/esm/kia-ikon.entry.js +1 -1
- package/dist/esm/lamborghini-alt-ikon.entry.js +1 -1
- package/dist/esm/lamborghini-ikon.entry.js +1 -1
- package/dist/esm/land-rover-ikon.entry.js +1 -1
- package/dist/esm/lexus-ikon.entry.js +1 -1
- package/dist/esm/lincoln-ikon.entry.js +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lotus-alt-ikon.entry.js +1 -1
- package/dist/esm/lotus-ikon.entry.js +1 -1
- package/dist/esm/maserati-ikon.entry.js +1 -1
- package/dist/esm/maybach-ikon.entry.js +1 -1
- package/dist/esm/mazda-alt-ikon.entry.js +1 -1
- package/dist/esm/mazda-ikon.entry.js +1 -1
- package/dist/esm/mclaren-alt-ikon.entry.js +1 -1
- package/dist/esm/mclaren-ikon.entry.js +1 -1
- package/dist/esm/mercedes-benz-alt-ikon.entry.js +1 -1
- package/dist/esm/mercedes-benz-ikon.entry.js +1 -1
- package/dist/esm/mercury-ikon.entry.js +1 -1
- package/dist/esm/mini-alt-ikon.entry.js +1 -1
- package/dist/esm/mini-ikon.entry.js +1 -1
- package/dist/esm/mitsubishi-ikon.entry.js +1 -1
- package/dist/esm/nissan-ikon.entry.js +1 -1
- package/dist/esm/oldsmobile-ikon.entry.js +1 -1
- package/dist/esm/one-password-icon.entry.js +1 -1
- package/dist/esm/opel-ikon.entry.js +1 -1
- package/dist/esm/panoz-ikon.entry.js +1 -1
- package/dist/esm/paw-icon.entry.js +1 -1
- package/dist/esm/peugeot-alt-ikon.entry.js +1 -1
- package/dist/esm/peugeot-ikon.entry.js +1 -1
- package/dist/esm/plymouth-ikon.entry.js +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/pontiac-ikon.entry.js +1 -1
- package/dist/esm/porsche-ikon.entry.js +1 -1
- package/dist/esm/proto-ikon-loader-wc.js +2 -2
- package/dist/esm/proto-ikon-loader_2.entry.js +1 -1
- package/dist/esm/protocol-icon.entry.js +1 -1
- package/dist/esm/pulse-icon.entry.js +1 -1
- package/dist/esm/puzzle-icon.entry.js +1 -1
- package/dist/esm/qr-code-icon.entry.js +1 -1
- package/dist/esm/radio-2-icon.entry.js +1 -1
- package/dist/esm/radio-icon.entry.js +1 -1
- package/dist/esm/ram-alt-ikon.entry.js +1 -1
- package/dist/esm/ram-ikon.entry.js +1 -1
- package/dist/esm/refresh-icon.entry.js +1 -1
- package/dist/esm/renault-alt-ikon.entry.js +1 -1
- package/dist/esm/renault-ikon.entry.js +1 -1
- package/dist/esm/rolls-royce-ikon.entry.js +1 -1
- package/dist/esm/saab-alt-ikon.entry.js +1 -1
- package/dist/esm/saab-ikon.entry.js +1 -1
- package/dist/esm/saturn-ikon.entry.js +1 -1
- package/dist/esm/scion-ikon.entry.js +1 -1
- package/dist/esm/seat-ikon.entry.js +1 -1
- package/dist/esm/skoda-ikon.entry.js +1 -1
- package/dist/esm/slug-icon.entry.js +1 -1
- package/dist/esm/smart-ikon.entry.js +1 -1
- package/dist/esm/spider-icon.entry.js +1 -1
- package/dist/esm/spyker-alt-ikon.entry.js +1 -1
- package/dist/esm/spyker-ikon.entry.js +1 -1
- package/dist/esm/subaru-alt-ikon.entry.js +1 -1
- package/dist/esm/subaru-ikon.entry.js +1 -1
- package/dist/esm/suzuki-ikon.entry.js +1 -1
- package/dist/esm/svg-icon.entry.js +1 -1
- package/dist/esm/tesla-ikon.entry.js +1 -1
- package/dist/esm/toyota-ikon.entry.js +1 -1
- package/dist/esm/vector-curve-icon.entry.js +1 -1
- package/dist/esm/volkswagen-ikon.entry.js +1 -1
- package/dist/esm/volvo-alt-ikon.entry.js +1 -1
- package/dist/esm/volvo-ikon.entry.js +1 -1
- package/dist/esm/webhook-icon.entry.js +1 -1
- package/dist/proto-ikon-loader-wc/{p-74351da7.entry.js → p-015e5d2b.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-1b07adf8.entry.js → p-03c1e8fe.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/p-05d22d55.entry.js +1 -0
- package/dist/proto-ikon-loader-wc/{p-0af5671d.entry.js → p-07d799ca.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/p-0998e41e.js +2 -0
- package/dist/proto-ikon-loader-wc/{p-106daca6.entry.js → p-0b21e552.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-cc2560ba.entry.js → p-0bc4b1ea.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-d96f7d42.entry.js → p-0d0d15d3.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-4c181a87.entry.js → p-0d8d1ed2.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-0f91772f.entry.js → p-0f1659dd.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/p-109d3182.entry.js +1 -0
- package/dist/proto-ikon-loader-wc/{p-a0786712.entry.js → p-14b9939f.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-80e7dd7e.entry.js → p-159abcb2.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-efa45fdc.entry.js → p-16c8d92e.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-6d9a68f3.entry.js → p-171a022e.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-57b3a364.entry.js → p-1aabd286.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-fb6b3fe3.entry.js → p-1bc78a2b.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-bff6ed91.entry.js → p-1e1de9f3.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-9a4809f1.entry.js → p-1f820fff.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-4845819f.entry.js → p-261b40bf.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-631d8297.entry.js → p-294ad55c.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-0c65b018.entry.js → p-2af2acf5.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-650adc6e.entry.js → p-2b4f35ab.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-6bcabab4.entry.js → p-3054b6f9.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-d3321674.entry.js → p-31c3c618.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-c68eff3b.entry.js → p-326ed1f5.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-03d1bafb.entry.js → p-34294d57.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-c0cb2b1e.entry.js → p-351cd91d.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-0b56d93c.entry.js → p-3b719c24.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-913cfd4f.entry.js → p-3df45b2a.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-1b8b9757.entry.js → p-3e504de6.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-483eae2e.entry.js → p-40019294.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-0ce9d6e1.entry.js → p-41965ad7.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-805f74ea.entry.js → p-42186b14.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-7f0cf105.entry.js → p-42b7a455.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/p-44d4ae5c.entry.js +1 -0
- package/dist/proto-ikon-loader-wc/{p-29d2bad9.entry.js → p-45a1c4a0.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-1c4630b4.entry.js → p-4ae0fec0.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-507de231.entry.js → p-4d8ad17a.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-106c4596.entry.js → p-4fe12d0b.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-1296d045.entry.js → p-53cc496a.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/p-54aaa7e5.entry.js +1 -0
- package/dist/proto-ikon-loader-wc/{p-26da840c.entry.js → p-54dcf5ae.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-fabfec3c.entry.js → p-564a2fb6.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/p-59281b99.entry.js +1 -0
- package/dist/proto-ikon-loader-wc/{p-f40b1648.entry.js → p-5c00603c.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-7f1f6a4b.entry.js → p-5e8156af.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-ba818e72.entry.js → p-5fa37732.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-e7211774.entry.js → p-660f5fb2.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-b7878ddd.entry.js → p-66aad3b7.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-4212cdbd.entry.js → p-67b90375.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-2b868c97.entry.js → p-67c01537.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-a87bbd39.entry.js → p-6cb968fc.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-dc4c8fb9.entry.js → p-6cdc8dc2.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-5a00635a.entry.js → p-6ddaa225.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-4571e276.entry.js → p-6e86d088.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-9d17f9c1.entry.js → p-72ebced5.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-4cc1829e.entry.js → p-744f8546.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-5524fa47.entry.js → p-7a4f6e1e.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-c4e30b6c.entry.js → p-82174f81.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-1ce6f46b.entry.js → p-824935f6.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-53e4c6b2.entry.js → p-825a59aa.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-82b616f8.entry.js → p-84341e6f.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-89685ca1.entry.js → p-8463576f.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-f22f758e.entry.js → p-85f5f4cc.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-293e8f65.entry.js → p-876a839a.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-fac2c2d3.entry.js → p-8c78ad11.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-873f2f0e.entry.js → p-8efb3203.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-2b0e1824.entry.js → p-91321488.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-e61b0fb5.entry.js → p-916e7e67.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-1af65c60.entry.js → p-9296de79.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-887675dc.entry.js → p-9341c6c7.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-47846657.entry.js → p-9348ae7b.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-b22c010a.entry.js → p-9580983b.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-2f965b3c.entry.js → p-98c11b6f.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-5c80acc4.entry.js → p-9c1fcb35.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-54b403d6.entry.js → p-9c20d6f7.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/p-9cacc4a4.entry.js +1 -0
- package/dist/proto-ikon-loader-wc/{p-0fb3f955.entry.js → p-9e193170.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-d38585fd.entry.js → p-9efba454.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-f91123ad.entry.js → p-a01f5df0.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-8b3a72d3.entry.js → p-a1f9feb6.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-3b7b7940.entry.js → p-a4236c50.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-d61a1a10.entry.js → p-a54e2b7f.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-ca83eddc.entry.js → p-aa1ec41a.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-26a2dfdf.entry.js → p-abfecc10.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-fbd55472.entry.js → p-b0a59306.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/p-b5dc723e.entry.js +1 -0
- package/dist/proto-ikon-loader-wc/{p-75cbc7f5.entry.js → p-b650882b.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-0089921d.entry.js → p-b65f1773.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-7a658499.entry.js → p-b7dede22.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-c3ac7f67.entry.js → p-b86e31c4.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-7a629956.entry.js → p-b88d005d.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-a44b3976.entry.js → p-ba9d471a.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-b2c896aa.entry.js → p-bacbf155.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-f2df8de5.entry.js → p-bcdd6e40.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-2426a080.entry.js → p-bfefcd30.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-867223ba.entry.js → p-c574a08d.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-74d0f4cb.entry.js → p-c830ae9b.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-c99f398b.entry.js → p-ca1d9d3b.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-b11c52cf.entry.js → p-ca876ccd.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-be34dd09.entry.js → p-d1a5c66e.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-0a7b4f76.entry.js → p-d274ba8f.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-f44d9865.entry.js → p-d57e47bb.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-3e85af21.entry.js → p-d5aec768.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-3338721c.entry.js → p-d7a23b6b.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-ca2369d5.entry.js → p-d9fa42df.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-420afb74.entry.js → p-db09af67.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-4a4f3c0b.entry.js → p-dcc54aea.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-d02d89af.entry.js → p-e18b879a.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-ee3ac6b1.entry.js → p-e559d6dc.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-48e6265d.entry.js → p-e642f56e.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-db4ceaac.entry.js → p-e894e5b5.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-87d1a409.entry.js → p-ea160556.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-79eaa018.entry.js → p-eb979292.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-28320700.entry.js → p-ecbf1f85.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-d8e5ff68.entry.js → p-f6e2a0ca.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-79c532b5.entry.js → p-f7fa70c6.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-588f3e6c.entry.js → p-f898cdd8.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-16c735d2.entry.js → p-fb66b1f7.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/{p-c0b50844.entry.js → p-fe306aca.entry.js} +1 -1
- package/dist/proto-ikon-loader-wc/proto-ikon-loader-wc.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/package.json +6 -6
- package/dist/proto-ikon-loader-wc/p-0622984c.entry.js +0 -1
- package/dist/proto-ikon-loader-wc/p-1f61a202.entry.js +0 -1
- package/dist/proto-ikon-loader-wc/p-6931cb08.entry.js +0 -1
- package/dist/proto-ikon-loader-wc/p-74c92cf6.entry.js +0 -1
- package/dist/proto-ikon-loader-wc/p-aa262001.entry.js +0 -1
- package/dist/proto-ikon-loader-wc/p-ad6edd0d.entry.js +0 -1
- package/dist/proto-ikon-loader-wc/p-b04c800e.entry.js +0 -1
- package/dist/proto-ikon-loader-wc/p-d9d0c1ba.js +0 -2
|
@@ -22,33 +22,18 @@ function _interopNamespace(e) {
|
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'proto-ikon-loader-wc';
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
27
|
+
* Simon Friis Vindum (@paldepind)
|
|
28
|
+
* Licensed under the MIT License
|
|
29
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
30
|
+
*
|
|
31
|
+
* Modified for Stencil's renderer and slot projection
|
|
32
|
+
*/
|
|
25
33
|
let scopeId;
|
|
26
34
|
let hostTagName;
|
|
27
35
|
let isSvgMode = false;
|
|
28
36
|
let queuePending = false;
|
|
29
|
-
const win = typeof window !== 'undefined' ? window : {};
|
|
30
|
-
const doc = win.document || { head: {} };
|
|
31
|
-
const plt = {
|
|
32
|
-
$flags$: 0,
|
|
33
|
-
$resourcesUrl$: '',
|
|
34
|
-
jmp: (h) => h(),
|
|
35
|
-
raf: (h) => requestAnimationFrame(h),
|
|
36
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
37
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
38
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
39
|
-
};
|
|
40
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
41
|
-
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
42
|
-
try {
|
|
43
|
-
new CSSStyleSheet();
|
|
44
|
-
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
45
|
-
}
|
|
46
|
-
catch (e) { }
|
|
47
|
-
return false;
|
|
48
|
-
})()
|
|
49
|
-
;
|
|
50
|
-
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
51
|
-
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
52
37
|
const createTime = (fnName, tagName = '') => {
|
|
53
38
|
{
|
|
54
39
|
return () => {
|
|
@@ -63,76 +48,8 @@ const uniqueTime = (key, measureText) => {
|
|
|
63
48
|
};
|
|
64
49
|
}
|
|
65
50
|
};
|
|
66
|
-
const
|
|
67
|
-
const
|
|
68
|
-
let style = styles.get(scopeId);
|
|
69
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
70
|
-
style = (style || new CSSStyleSheet());
|
|
71
|
-
if (typeof style === 'string') {
|
|
72
|
-
style = cssText;
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
style.replaceSync(cssText);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
style = cssText;
|
|
80
|
-
}
|
|
81
|
-
styles.set(scopeId, style);
|
|
82
|
-
};
|
|
83
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
84
|
-
let scopeId = getScopeId(cmpMeta);
|
|
85
|
-
const style = styles.get(scopeId);
|
|
86
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
87
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
88
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
89
|
-
if (style) {
|
|
90
|
-
if (typeof style === 'string') {
|
|
91
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
92
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
93
|
-
let styleElm;
|
|
94
|
-
if (!appliedStyles) {
|
|
95
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
96
|
-
}
|
|
97
|
-
if (!appliedStyles.has(scopeId)) {
|
|
98
|
-
{
|
|
99
|
-
{
|
|
100
|
-
styleElm = doc.createElement('style');
|
|
101
|
-
styleElm.innerHTML = style;
|
|
102
|
-
}
|
|
103
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
104
|
-
}
|
|
105
|
-
if (appliedStyles) {
|
|
106
|
-
appliedStyles.add(scopeId);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
111
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
return scopeId;
|
|
115
|
-
};
|
|
116
|
-
const attachStyles = (hostRef) => {
|
|
117
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
118
|
-
const elm = hostRef.$hostElement$;
|
|
119
|
-
const flags = cmpMeta.$flags$;
|
|
120
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
121
|
-
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
122
|
-
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
123
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
124
|
-
// or this browser doesn't support native shadow dom
|
|
125
|
-
// and this host element was NOT created with SSR
|
|
126
|
-
// let's pick out the inner content for slot projection
|
|
127
|
-
// create a node to represent where the original
|
|
128
|
-
// content was first placed, which is useful later on
|
|
129
|
-
// DOM WRITE!!
|
|
130
|
-
elm['s-sc'] = scopeId;
|
|
131
|
-
elm.classList.add(scopeId + '-h');
|
|
132
|
-
}
|
|
133
|
-
endAttachStyles();
|
|
134
|
-
};
|
|
135
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
51
|
+
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
52
|
+
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
136
53
|
/**
|
|
137
54
|
* Default style mode id
|
|
138
55
|
*/
|
|
@@ -260,6 +177,136 @@ const convertToPrivate = (node) => {
|
|
|
260
177
|
vnode.$name$ = node.vname;
|
|
261
178
|
return vnode;
|
|
262
179
|
};
|
|
180
|
+
/**
|
|
181
|
+
* Parse a new property value for a given property type.
|
|
182
|
+
*
|
|
183
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
184
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
185
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
186
|
+
* 2. the type stored from `propType`.
|
|
187
|
+
*
|
|
188
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
189
|
+
*
|
|
190
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
191
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
192
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
193
|
+
* ```tsx
|
|
194
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
195
|
+
* ```
|
|
196
|
+
*
|
|
197
|
+
* HTML prop values on the other hand, will always a string
|
|
198
|
+
*
|
|
199
|
+
* @param propValue the new value to coerce to some type
|
|
200
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
201
|
+
* @returns the parsed/coerced value
|
|
202
|
+
*/
|
|
203
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
204
|
+
// ensure this value is of the correct prop type
|
|
205
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
206
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
207
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
208
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
209
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
210
|
+
}
|
|
211
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
212
|
+
// force it to be a number
|
|
213
|
+
return parseFloat(propValue);
|
|
214
|
+
}
|
|
215
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
216
|
+
// could have been passed as a number or boolean
|
|
217
|
+
// but we still want it as a string
|
|
218
|
+
return String(propValue);
|
|
219
|
+
}
|
|
220
|
+
// redundant return here for better minification
|
|
221
|
+
return propValue;
|
|
222
|
+
}
|
|
223
|
+
// not sure exactly what type we want
|
|
224
|
+
// so no need to change to a different type
|
|
225
|
+
return propValue;
|
|
226
|
+
};
|
|
227
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
228
|
+
/**
|
|
229
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
230
|
+
* @param elm the target of the Event
|
|
231
|
+
* @param name the name to give the custom Event
|
|
232
|
+
* @param opts options for configuring a custom Event
|
|
233
|
+
* @returns the custom Event
|
|
234
|
+
*/
|
|
235
|
+
const emitEvent = (elm, name, opts) => {
|
|
236
|
+
const ev = plt.ce(name, opts);
|
|
237
|
+
elm.dispatchEvent(ev);
|
|
238
|
+
return ev;
|
|
239
|
+
};
|
|
240
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
241
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
242
|
+
let style = styles.get(scopeId);
|
|
243
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
244
|
+
style = (style || new CSSStyleSheet());
|
|
245
|
+
if (typeof style === 'string') {
|
|
246
|
+
style = cssText;
|
|
247
|
+
}
|
|
248
|
+
else {
|
|
249
|
+
style.replaceSync(cssText);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
style = cssText;
|
|
254
|
+
}
|
|
255
|
+
styles.set(scopeId, style);
|
|
256
|
+
};
|
|
257
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
258
|
+
let scopeId = getScopeId(cmpMeta);
|
|
259
|
+
const style = styles.get(scopeId);
|
|
260
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
261
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
262
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
263
|
+
if (style) {
|
|
264
|
+
if (typeof style === 'string') {
|
|
265
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
266
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
267
|
+
let styleElm;
|
|
268
|
+
if (!appliedStyles) {
|
|
269
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
270
|
+
}
|
|
271
|
+
if (!appliedStyles.has(scopeId)) {
|
|
272
|
+
{
|
|
273
|
+
{
|
|
274
|
+
styleElm = doc.createElement('style');
|
|
275
|
+
styleElm.innerHTML = style;
|
|
276
|
+
}
|
|
277
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
278
|
+
}
|
|
279
|
+
if (appliedStyles) {
|
|
280
|
+
appliedStyles.add(scopeId);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
285
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
return scopeId;
|
|
289
|
+
};
|
|
290
|
+
const attachStyles = (hostRef) => {
|
|
291
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
292
|
+
const elm = hostRef.$hostElement$;
|
|
293
|
+
const flags = cmpMeta.$flags$;
|
|
294
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
295
|
+
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
296
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
297
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
298
|
+
// or this browser doesn't support native shadow dom
|
|
299
|
+
// and this host element was NOT created with SSR
|
|
300
|
+
// let's pick out the inner content for slot projection
|
|
301
|
+
// create a node to represent where the original
|
|
302
|
+
// content was first placed, which is useful later on
|
|
303
|
+
// DOM WRITE!!
|
|
304
|
+
elm['s-sc'] = scopeId;
|
|
305
|
+
elm.classList.add(scopeId + '-h');
|
|
306
|
+
}
|
|
307
|
+
endAttachStyles();
|
|
308
|
+
};
|
|
309
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
263
310
|
/**
|
|
264
311
|
* Production setAccessor() function based on Preact by
|
|
265
312
|
* Jason Miller (@developit)
|
|
@@ -715,19 +762,6 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
715
762
|
// synchronous patch
|
|
716
763
|
patch(oldVNode, rootVnode);
|
|
717
764
|
};
|
|
718
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
719
|
-
/**
|
|
720
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
721
|
-
* @param elm the target of the Event
|
|
722
|
-
* @param name the name to give the custom Event
|
|
723
|
-
* @param opts options for configuring a custom Event
|
|
724
|
-
* @returns the custom Event
|
|
725
|
-
*/
|
|
726
|
-
const emitEvent = (elm, name, opts) => {
|
|
727
|
-
const ev = plt.ce(name, opts);
|
|
728
|
-
elm.dispatchEvent(ev);
|
|
729
|
-
return ev;
|
|
730
|
-
};
|
|
731
765
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
732
766
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
733
767
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -866,53 +900,6 @@ const then = (promise, thenFn) => {
|
|
|
866
900
|
};
|
|
867
901
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
868
902
|
;
|
|
869
|
-
/**
|
|
870
|
-
* Parse a new property value for a given property type.
|
|
871
|
-
*
|
|
872
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
873
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
874
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
875
|
-
* 2. the type stored from `propType`.
|
|
876
|
-
*
|
|
877
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
878
|
-
*
|
|
879
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
880
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
881
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
882
|
-
* ```tsx
|
|
883
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
884
|
-
* ```
|
|
885
|
-
*
|
|
886
|
-
* HTML prop values on the other hand, will always a string
|
|
887
|
-
*
|
|
888
|
-
* @param propValue the new value to coerce to some type
|
|
889
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
890
|
-
* @returns the parsed/coerced value
|
|
891
|
-
*/
|
|
892
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
893
|
-
// ensure this value is of the correct prop type
|
|
894
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
895
|
-
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
896
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
897
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
898
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
899
|
-
}
|
|
900
|
-
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
901
|
-
// force it to be a number
|
|
902
|
-
return parseFloat(propValue);
|
|
903
|
-
}
|
|
904
|
-
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
905
|
-
// could have been passed as a number or boolean
|
|
906
|
-
// but we still want it as a string
|
|
907
|
-
return String(propValue);
|
|
908
|
-
}
|
|
909
|
-
// redundant return here for better minification
|
|
910
|
-
return propValue;
|
|
911
|
-
}
|
|
912
|
-
// not sure exactly what type we want
|
|
913
|
-
// so no need to change to a different type
|
|
914
|
-
return propValue;
|
|
915
|
-
};
|
|
916
903
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
917
904
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
918
905
|
// check our new property value against our internal value
|
|
@@ -939,6 +926,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
939
926
|
}
|
|
940
927
|
}
|
|
941
928
|
};
|
|
929
|
+
/**
|
|
930
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
931
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
932
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
933
|
+
*
|
|
934
|
+
* @param Cstr the constructor for a component that we need to process
|
|
935
|
+
* @param cmpMeta metadata collected previously about the component
|
|
936
|
+
* @param flags a number used to store a series of bit flags
|
|
937
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
938
|
+
*/
|
|
942
939
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
943
940
|
if (cmpMeta.$members$) {
|
|
944
941
|
// It's better to have a const than two Object.entries()
|
|
@@ -1274,6 +1271,27 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1274
1271
|
}, consoleError);
|
|
1275
1272
|
};
|
|
1276
1273
|
const styles = /*@__PURE__*/ new Map();
|
|
1274
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
1275
|
+
const doc = win.document || { head: {} };
|
|
1276
|
+
const plt = {
|
|
1277
|
+
$flags$: 0,
|
|
1278
|
+
$resourcesUrl$: '',
|
|
1279
|
+
jmp: (h) => h(),
|
|
1280
|
+
raf: (h) => requestAnimationFrame(h),
|
|
1281
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
1282
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1283
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
1284
|
+
};
|
|
1285
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
1286
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
1287
|
+
try {
|
|
1288
|
+
new CSSStyleSheet();
|
|
1289
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
1290
|
+
}
|
|
1291
|
+
catch (e) { }
|
|
1292
|
+
return false;
|
|
1293
|
+
})()
|
|
1294
|
+
;
|
|
1277
1295
|
const queueDomReads = [];
|
|
1278
1296
|
const queueDomWrites = [];
|
|
1279
1297
|
const queueTask = (queue, write) => (cb) => {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-54a1c89e.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.18.
|
|
8
|
+
Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|