proto-ikon-loader-wc 0.0.153 → 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 +5 -5
- 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
|
@@ -1,32 +1,17 @@
|
|
|
1
1
|
const NAMESPACE = 'proto-ikon-loader-wc';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
5
|
+
* Simon Friis Vindum (@paldepind)
|
|
6
|
+
* Licensed under the MIT License
|
|
7
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
8
|
+
*
|
|
9
|
+
* Modified for Stencil's renderer and slot projection
|
|
10
|
+
*/
|
|
3
11
|
let scopeId;
|
|
4
12
|
let hostTagName;
|
|
5
13
|
let isSvgMode = false;
|
|
6
14
|
let queuePending = false;
|
|
7
|
-
const win = typeof window !== 'undefined' ? window : {};
|
|
8
|
-
const doc = win.document || { head: {} };
|
|
9
|
-
const plt = {
|
|
10
|
-
$flags$: 0,
|
|
11
|
-
$resourcesUrl$: '',
|
|
12
|
-
jmp: (h) => h(),
|
|
13
|
-
raf: (h) => requestAnimationFrame(h),
|
|
14
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
15
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
16
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
17
|
-
};
|
|
18
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
19
|
-
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
20
|
-
try {
|
|
21
|
-
new CSSStyleSheet();
|
|
22
|
-
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
23
|
-
}
|
|
24
|
-
catch (e) { }
|
|
25
|
-
return false;
|
|
26
|
-
})()
|
|
27
|
-
;
|
|
28
|
-
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
29
|
-
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
30
15
|
const createTime = (fnName, tagName = '') => {
|
|
31
16
|
{
|
|
32
17
|
return () => {
|
|
@@ -41,76 +26,8 @@ const uniqueTime = (key, measureText) => {
|
|
|
41
26
|
};
|
|
42
27
|
}
|
|
43
28
|
};
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
let style = styles.get(scopeId);
|
|
47
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
48
|
-
style = (style || new CSSStyleSheet());
|
|
49
|
-
if (typeof style === 'string') {
|
|
50
|
-
style = cssText;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
style.replaceSync(cssText);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
style = cssText;
|
|
58
|
-
}
|
|
59
|
-
styles.set(scopeId, style);
|
|
60
|
-
};
|
|
61
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
62
|
-
let scopeId = getScopeId(cmpMeta);
|
|
63
|
-
const style = styles.get(scopeId);
|
|
64
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
65
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
66
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
67
|
-
if (style) {
|
|
68
|
-
if (typeof style === 'string') {
|
|
69
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
70
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
71
|
-
let styleElm;
|
|
72
|
-
if (!appliedStyles) {
|
|
73
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
74
|
-
}
|
|
75
|
-
if (!appliedStyles.has(scopeId)) {
|
|
76
|
-
{
|
|
77
|
-
{
|
|
78
|
-
styleElm = doc.createElement('style');
|
|
79
|
-
styleElm.innerHTML = style;
|
|
80
|
-
}
|
|
81
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
82
|
-
}
|
|
83
|
-
if (appliedStyles) {
|
|
84
|
-
appliedStyles.add(scopeId);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
89
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
return scopeId;
|
|
93
|
-
};
|
|
94
|
-
const attachStyles = (hostRef) => {
|
|
95
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
96
|
-
const elm = hostRef.$hostElement$;
|
|
97
|
-
const flags = cmpMeta.$flags$;
|
|
98
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
99
|
-
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
100
|
-
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
101
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
102
|
-
// or this browser doesn't support native shadow dom
|
|
103
|
-
// and this host element was NOT created with SSR
|
|
104
|
-
// let's pick out the inner content for slot projection
|
|
105
|
-
// create a node to represent where the original
|
|
106
|
-
// content was first placed, which is useful later on
|
|
107
|
-
// DOM WRITE!!
|
|
108
|
-
elm['s-sc'] = scopeId;
|
|
109
|
-
elm.classList.add(scopeId + '-h');
|
|
110
|
-
}
|
|
111
|
-
endAttachStyles();
|
|
112
|
-
};
|
|
113
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
29
|
+
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
30
|
+
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
114
31
|
/**
|
|
115
32
|
* Default style mode id
|
|
116
33
|
*/
|
|
@@ -238,6 +155,136 @@ const convertToPrivate = (node) => {
|
|
|
238
155
|
vnode.$name$ = node.vname;
|
|
239
156
|
return vnode;
|
|
240
157
|
};
|
|
158
|
+
/**
|
|
159
|
+
* Parse a new property value for a given property type.
|
|
160
|
+
*
|
|
161
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
162
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
163
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
164
|
+
* 2. the type stored from `propType`.
|
|
165
|
+
*
|
|
166
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
167
|
+
*
|
|
168
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
169
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
170
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
171
|
+
* ```tsx
|
|
172
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
173
|
+
* ```
|
|
174
|
+
*
|
|
175
|
+
* HTML prop values on the other hand, will always a string
|
|
176
|
+
*
|
|
177
|
+
* @param propValue the new value to coerce to some type
|
|
178
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
179
|
+
* @returns the parsed/coerced value
|
|
180
|
+
*/
|
|
181
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
182
|
+
// ensure this value is of the correct prop type
|
|
183
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
184
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
185
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
186
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
187
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
188
|
+
}
|
|
189
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
190
|
+
// force it to be a number
|
|
191
|
+
return parseFloat(propValue);
|
|
192
|
+
}
|
|
193
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
194
|
+
// could have been passed as a number or boolean
|
|
195
|
+
// but we still want it as a string
|
|
196
|
+
return String(propValue);
|
|
197
|
+
}
|
|
198
|
+
// redundant return here for better minification
|
|
199
|
+
return propValue;
|
|
200
|
+
}
|
|
201
|
+
// not sure exactly what type we want
|
|
202
|
+
// so no need to change to a different type
|
|
203
|
+
return propValue;
|
|
204
|
+
};
|
|
205
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
206
|
+
/**
|
|
207
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
208
|
+
* @param elm the target of the Event
|
|
209
|
+
* @param name the name to give the custom Event
|
|
210
|
+
* @param opts options for configuring a custom Event
|
|
211
|
+
* @returns the custom Event
|
|
212
|
+
*/
|
|
213
|
+
const emitEvent = (elm, name, opts) => {
|
|
214
|
+
const ev = plt.ce(name, opts);
|
|
215
|
+
elm.dispatchEvent(ev);
|
|
216
|
+
return ev;
|
|
217
|
+
};
|
|
218
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
219
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
220
|
+
let style = styles.get(scopeId);
|
|
221
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
222
|
+
style = (style || new CSSStyleSheet());
|
|
223
|
+
if (typeof style === 'string') {
|
|
224
|
+
style = cssText;
|
|
225
|
+
}
|
|
226
|
+
else {
|
|
227
|
+
style.replaceSync(cssText);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
style = cssText;
|
|
232
|
+
}
|
|
233
|
+
styles.set(scopeId, style);
|
|
234
|
+
};
|
|
235
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
236
|
+
let scopeId = getScopeId(cmpMeta);
|
|
237
|
+
const style = styles.get(scopeId);
|
|
238
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
239
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
240
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
241
|
+
if (style) {
|
|
242
|
+
if (typeof style === 'string') {
|
|
243
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
244
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
245
|
+
let styleElm;
|
|
246
|
+
if (!appliedStyles) {
|
|
247
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
248
|
+
}
|
|
249
|
+
if (!appliedStyles.has(scopeId)) {
|
|
250
|
+
{
|
|
251
|
+
{
|
|
252
|
+
styleElm = doc.createElement('style');
|
|
253
|
+
styleElm.innerHTML = style;
|
|
254
|
+
}
|
|
255
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
256
|
+
}
|
|
257
|
+
if (appliedStyles) {
|
|
258
|
+
appliedStyles.add(scopeId);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
263
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
return scopeId;
|
|
267
|
+
};
|
|
268
|
+
const attachStyles = (hostRef) => {
|
|
269
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
270
|
+
const elm = hostRef.$hostElement$;
|
|
271
|
+
const flags = cmpMeta.$flags$;
|
|
272
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
273
|
+
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
274
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
275
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
276
|
+
// or this browser doesn't support native shadow dom
|
|
277
|
+
// and this host element was NOT created with SSR
|
|
278
|
+
// let's pick out the inner content for slot projection
|
|
279
|
+
// create a node to represent where the original
|
|
280
|
+
// content was first placed, which is useful later on
|
|
281
|
+
// DOM WRITE!!
|
|
282
|
+
elm['s-sc'] = scopeId;
|
|
283
|
+
elm.classList.add(scopeId + '-h');
|
|
284
|
+
}
|
|
285
|
+
endAttachStyles();
|
|
286
|
+
};
|
|
287
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
241
288
|
/**
|
|
242
289
|
* Production setAccessor() function based on Preact by
|
|
243
290
|
* Jason Miller (@developit)
|
|
@@ -693,19 +740,6 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
693
740
|
// synchronous patch
|
|
694
741
|
patch(oldVNode, rootVnode);
|
|
695
742
|
};
|
|
696
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
697
|
-
/**
|
|
698
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
699
|
-
* @param elm the target of the Event
|
|
700
|
-
* @param name the name to give the custom Event
|
|
701
|
-
* @param opts options for configuring a custom Event
|
|
702
|
-
* @returns the custom Event
|
|
703
|
-
*/
|
|
704
|
-
const emitEvent = (elm, name, opts) => {
|
|
705
|
-
const ev = plt.ce(name, opts);
|
|
706
|
-
elm.dispatchEvent(ev);
|
|
707
|
-
return ev;
|
|
708
|
-
};
|
|
709
743
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
710
744
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
711
745
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -844,53 +878,6 @@ const then = (promise, thenFn) => {
|
|
|
844
878
|
};
|
|
845
879
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
846
880
|
;
|
|
847
|
-
/**
|
|
848
|
-
* Parse a new property value for a given property type.
|
|
849
|
-
*
|
|
850
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
851
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
852
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
853
|
-
* 2. the type stored from `propType`.
|
|
854
|
-
*
|
|
855
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
856
|
-
*
|
|
857
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
858
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
859
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
860
|
-
* ```tsx
|
|
861
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
862
|
-
* ```
|
|
863
|
-
*
|
|
864
|
-
* HTML prop values on the other hand, will always a string
|
|
865
|
-
*
|
|
866
|
-
* @param propValue the new value to coerce to some type
|
|
867
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
868
|
-
* @returns the parsed/coerced value
|
|
869
|
-
*/
|
|
870
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
871
|
-
// ensure this value is of the correct prop type
|
|
872
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
873
|
-
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
874
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
875
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
876
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
877
|
-
}
|
|
878
|
-
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
879
|
-
// force it to be a number
|
|
880
|
-
return parseFloat(propValue);
|
|
881
|
-
}
|
|
882
|
-
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
883
|
-
// could have been passed as a number or boolean
|
|
884
|
-
// but we still want it as a string
|
|
885
|
-
return String(propValue);
|
|
886
|
-
}
|
|
887
|
-
// redundant return here for better minification
|
|
888
|
-
return propValue;
|
|
889
|
-
}
|
|
890
|
-
// not sure exactly what type we want
|
|
891
|
-
// so no need to change to a different type
|
|
892
|
-
return propValue;
|
|
893
|
-
};
|
|
894
881
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
895
882
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
896
883
|
// check our new property value against our internal value
|
|
@@ -917,6 +904,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
917
904
|
}
|
|
918
905
|
}
|
|
919
906
|
};
|
|
907
|
+
/**
|
|
908
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
909
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
910
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
911
|
+
*
|
|
912
|
+
* @param Cstr the constructor for a component that we need to process
|
|
913
|
+
* @param cmpMeta metadata collected previously about the component
|
|
914
|
+
* @param flags a number used to store a series of bit flags
|
|
915
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
916
|
+
*/
|
|
920
917
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
921
918
|
if (cmpMeta.$members$) {
|
|
922
919
|
// It's better to have a const than two Object.entries()
|
|
@@ -1252,6 +1249,27 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1252
1249
|
}, consoleError);
|
|
1253
1250
|
};
|
|
1254
1251
|
const styles = /*@__PURE__*/ new Map();
|
|
1252
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
1253
|
+
const doc = win.document || { head: {} };
|
|
1254
|
+
const plt = {
|
|
1255
|
+
$flags$: 0,
|
|
1256
|
+
$resourcesUrl$: '',
|
|
1257
|
+
jmp: (h) => h(),
|
|
1258
|
+
raf: (h) => requestAnimationFrame(h),
|
|
1259
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
1260
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1261
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
1262
|
+
};
|
|
1263
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
1264
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
1265
|
+
try {
|
|
1266
|
+
new CSSStyleSheet();
|
|
1267
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
1268
|
+
}
|
|
1269
|
+
catch (e) { }
|
|
1270
|
+
return false;
|
|
1271
|
+
})()
|
|
1272
|
+
;
|
|
1255
1273
|
const queueDomReads = [];
|
|
1256
1274
|
const queueDomWrites = [];
|
|
1257
1275
|
const queueTask = (queue, write) => (cb) => {
|