proto-autos-wc 0.0.740 → 0.0.742
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 +11 -11
- package/dist/cjs/alfa-romeo-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/alfa-romeo-ikon.cjs.entry.js +11 -11
- package/dist/cjs/alien-icon.cjs.entry.js +13 -13
- package/dist/cjs/am-general-ikon.cjs.entry.js +11 -11
- package/dist/cjs/asterisk-icon.cjs.entry.js +13 -13
- package/dist/cjs/aston-martin-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/aston-martin-ikon.cjs.entry.js +11 -11
- package/dist/cjs/audi-ikon.cjs.entry.js +11 -11
- package/dist/cjs/barcode-icon.cjs.entry.js +13 -13
- package/dist/cjs/barcode-scan-icon.cjs.entry.js +13 -13
- package/dist/cjs/bash-icon.cjs.entry.js +13 -13
- package/dist/cjs/beaker-icon.cjs.entry.js +13 -13
- package/dist/cjs/bently-ikon.cjs.entry.js +11 -11
- package/dist/cjs/bmw-ikon.cjs.entry.js +11 -11
- package/dist/cjs/bugatti-ikon.cjs.entry.js +11 -11
- package/dist/cjs/buick-ikon.cjs.entry.js +11 -11
- package/dist/cjs/cadillac-ikon.cjs.entry.js +11 -11
- package/dist/cjs/chart-bar-icon.cjs.entry.js +13 -13
- package/dist/cjs/chart-bubble-icon.cjs.entry.js +13 -13
- package/dist/cjs/chart-donut-icon.cjs.entry.js +13 -13
- package/dist/cjs/chart-donuts-icon.cjs.entry.js +13 -13
- package/dist/cjs/check-icon.cjs.entry.js +14 -14
- package/dist/cjs/chevrolet-ikon.cjs.entry.js +11 -11
- package/dist/cjs/chevron-double-left-icon.cjs.entry.js +13 -13
- package/dist/cjs/chrysler-ikon.cjs.entry.js +11 -11
- package/dist/cjs/circular-saw-icon.cjs.entry.js +13 -13
- package/dist/cjs/citroen-ikon.cjs.entry.js +11 -11
- package/dist/cjs/close-icon.cjs.entry.js +13 -13
- package/dist/cjs/daewoo-ikon.cjs.entry.js +11 -11
- package/dist/cjs/dodge-ikon.cjs.entry.js +11 -11
- package/dist/cjs/eagle-ikon.cjs.entry.js +11 -11
- package/dist/cjs/ferrari-ikon.cjs.entry.js +11 -11
- package/dist/cjs/fiat-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/fiat-ikon.cjs.entry.js +11 -11
- package/dist/cjs/fingerprint-icon.cjs.entry.js +13 -13
- package/dist/cjs/fire-icon.cjs.entry.js +13 -13
- package/dist/cjs/fisker-ikon.cjs.entry.js +11 -11
- package/dist/cjs/flask-icon.cjs.entry.js +13 -13
- package/dist/cjs/ford-ikon.cjs.entry.js +11 -11
- package/dist/cjs/genesis-ikon.cjs.entry.js +11 -11
- package/dist/cjs/geo-ikon.cjs.entry.js +11 -11
- package/dist/cjs/git-icon.cjs.entry.js +13 -13
- package/dist/cjs/gmc-ikon.cjs.entry.js +11 -11
- package/dist/cjs/honda-ikon.cjs.entry.js +11 -11
- package/dist/cjs/hummer-ikon.cjs.entry.js +11 -11
- package/dist/cjs/hyundai-ikon.cjs.entry.js +11 -11
- package/dist/cjs/{index-5c136b7d.js → index-0f3b37d3.js} +15 -4
- package/dist/cjs/index-0fc7ae14.js +128 -0
- package/dist/cjs/infiniti-ikon.cjs.entry.js +11 -11
- package/dist/cjs/isuzu-ikon.cjs.entry.js +11 -11
- package/dist/cjs/jaguar-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/jaguar-ikon.cjs.entry.js +11 -11
- package/dist/cjs/java-script-icon.cjs.entry.js +13 -13
- package/dist/cjs/jeep-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/jeep-ikon.cjs.entry.js +11 -11
- package/dist/cjs/kia-ikon.cjs.entry.js +11 -11
- package/dist/cjs/lamborghini-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/lamborghini-ikon.cjs.entry.js +11 -11
- package/dist/cjs/land-rover-ikon.cjs.entry.js +11 -11
- package/dist/cjs/lexus-ikon.cjs.entry.js +11 -11
- package/dist/cjs/lincoln-ikon.cjs.entry.js +11 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lotus-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/lotus-ikon.cjs.entry.js +11 -11
- package/dist/cjs/maserati-ikon.cjs.entry.js +11 -11
- package/dist/cjs/maybach-ikon.cjs.entry.js +11 -11
- package/dist/cjs/mazda-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/mazda-ikon.cjs.entry.js +11 -11
- package/dist/cjs/mclaren-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/mclaren-ikon.cjs.entry.js +11 -11
- package/dist/cjs/mercedes-benz-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/mercedes-benz-ikon.cjs.entry.js +11 -11
- package/dist/cjs/mercury-ikon.cjs.entry.js +11 -11
- package/dist/cjs/mini-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/mini-ikon.cjs.entry.js +11 -11
- package/dist/cjs/mitsubishi-ikon.cjs.entry.js +11 -11
- package/dist/cjs/nissan-ikon.cjs.entry.js +11 -11
- package/dist/cjs/oldsmobile-ikon.cjs.entry.js +11 -11
- package/dist/cjs/one-password-icon.cjs.entry.js +13 -13
- package/dist/cjs/opel-ikon.cjs.entry.js +11 -11
- package/dist/cjs/panoz-ikon.cjs.entry.js +11 -11
- package/dist/cjs/paw-icon.cjs.entry.js +13 -13
- package/dist/cjs/peugeot-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/peugeot-ikon.cjs.entry.js +11 -11
- package/dist/cjs/plymouth-ikon.cjs.entry.js +11 -11
- package/dist/cjs/pontiac-ikon.cjs.entry.js +11 -11
- package/dist/cjs/porsche-ikon.cjs.entry.js +11 -11
- package/dist/cjs/proto-autos-wc.cjs.js +2 -2
- package/dist/cjs/proto-autos_2.cjs.entry.js +194 -194
- package/dist/cjs/proto-ikon-raw.cjs.entry.js +23 -23
- package/dist/cjs/protocol-icon.cjs.entry.js +13 -13
- package/dist/cjs/pulse-icon.cjs.entry.js +13 -13
- package/dist/cjs/puzzle-icon.cjs.entry.js +14 -14
- package/dist/cjs/qr-code-icon.cjs.entry.js +13 -13
- package/dist/cjs/radio-2-icon.cjs.entry.js +14 -14
- package/dist/cjs/radio-icon.cjs.entry.js +14 -14
- package/dist/cjs/ram-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/ram-ikon.cjs.entry.js +11 -11
- package/dist/cjs/refresh-icon.cjs.entry.js +13 -13
- package/dist/cjs/renault-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/renault-ikon.cjs.entry.js +11 -11
- package/dist/cjs/rolls-royce-ikon.cjs.entry.js +11 -11
- package/dist/cjs/saab-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/saab-ikon.cjs.entry.js +11 -11
- package/dist/cjs/saturn-ikon.cjs.entry.js +11 -11
- package/dist/cjs/scion-ikon.cjs.entry.js +11 -11
- package/dist/cjs/seat-ikon.cjs.entry.js +11 -11
- package/dist/cjs/skoda-ikon.cjs.entry.js +11 -11
- package/dist/cjs/slug-icon.cjs.entry.js +12 -12
- package/dist/cjs/smart-ikon.cjs.entry.js +11 -11
- package/dist/cjs/spider-icon.cjs.entry.js +13 -13
- package/dist/cjs/spyker-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/spyker-ikon.cjs.entry.js +11 -11
- package/dist/cjs/subaru-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/subaru-ikon.cjs.entry.js +11 -11
- package/dist/cjs/suzuki-ikon.cjs.entry.js +11 -11
- package/dist/cjs/svg-icon.cjs.entry.js +13 -13
- package/dist/cjs/tesla-ikon.cjs.entry.js +11 -11
- package/dist/cjs/toyota-ikon.cjs.entry.js +11 -11
- package/dist/cjs/vector-curve-icon.cjs.entry.js +13 -13
- package/dist/cjs/volkswagen-ikon.cjs.entry.js +11 -11
- package/dist/cjs/volvo-alt-ikon.cjs.entry.js +13 -13
- package/dist/cjs/volvo-ikon.cjs.entry.js +11 -11
- package/dist/cjs/webhook-icon.cjs.entry.js +13 -13
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/proto-autos/dealer-card.js +4 -4
- package/dist/collection/components/proto-autos/dealer-view.js +6 -6
- package/dist/collection/components/proto-autos/eswat2-io.js +1 -1
- package/dist/collection/components/proto-autos/footer.js +1 -1
- package/dist/collection/components/proto-autos/header.js +2 -2
- package/dist/collection/components/proto-autos/proto-autos.js +44 -44
- package/dist/collection/components/proto-autos/spinner.js +5 -5
- package/dist/collection/components/proto-autos/tool-bar.js +12 -12
- package/dist/collection/components/proto-autos/vehicle-card.js +15 -15
- package/dist/collection/components/proto-autos/vehicle-list.js +5 -5
- package/dist/collection/utils/bag.js +10 -10
- package/dist/collection/utils/store.js +68 -68
- package/dist/collection/utils/tw.js +1 -1
- package/dist/esm/acura-ikon.entry.js +11 -11
- package/dist/esm/alfa-romeo-alt-ikon.entry.js +13 -13
- package/dist/esm/alfa-romeo-ikon.entry.js +11 -11
- package/dist/esm/alien-icon.entry.js +13 -13
- package/dist/esm/am-general-ikon.entry.js +11 -11
- package/dist/esm/asterisk-icon.entry.js +13 -13
- package/dist/esm/aston-martin-alt-ikon.entry.js +13 -13
- package/dist/esm/aston-martin-ikon.entry.js +11 -11
- package/dist/esm/audi-ikon.entry.js +11 -11
- package/dist/esm/barcode-icon.entry.js +13 -13
- package/dist/esm/barcode-scan-icon.entry.js +13 -13
- package/dist/esm/bash-icon.entry.js +13 -13
- package/dist/esm/beaker-icon.entry.js +13 -13
- package/dist/esm/bently-ikon.entry.js +11 -11
- package/dist/esm/bmw-ikon.entry.js +11 -11
- package/dist/esm/bugatti-ikon.entry.js +11 -11
- package/dist/esm/buick-ikon.entry.js +11 -11
- package/dist/esm/cadillac-ikon.entry.js +11 -11
- package/dist/esm/chart-bar-icon.entry.js +13 -13
- package/dist/esm/chart-bubble-icon.entry.js +13 -13
- package/dist/esm/chart-donut-icon.entry.js +13 -13
- package/dist/esm/chart-donuts-icon.entry.js +13 -13
- package/dist/esm/check-icon.entry.js +14 -14
- package/dist/esm/chevrolet-ikon.entry.js +11 -11
- package/dist/esm/chevron-double-left-icon.entry.js +13 -13
- package/dist/esm/chrysler-ikon.entry.js +11 -11
- package/dist/esm/circular-saw-icon.entry.js +13 -13
- package/dist/esm/citroen-ikon.entry.js +11 -11
- package/dist/esm/close-icon.entry.js +13 -13
- package/dist/esm/daewoo-ikon.entry.js +11 -11
- package/dist/esm/dodge-ikon.entry.js +11 -11
- package/dist/esm/eagle-ikon.entry.js +11 -11
- package/dist/esm/ferrari-ikon.entry.js +11 -11
- package/dist/esm/fiat-alt-ikon.entry.js +13 -13
- package/dist/esm/fiat-ikon.entry.js +11 -11
- package/dist/esm/fingerprint-icon.entry.js +13 -13
- package/dist/esm/fire-icon.entry.js +13 -13
- package/dist/esm/fisker-ikon.entry.js +11 -11
- package/dist/esm/flask-icon.entry.js +13 -13
- package/dist/esm/ford-ikon.entry.js +11 -11
- package/dist/esm/genesis-ikon.entry.js +11 -11
- package/dist/esm/geo-ikon.entry.js +11 -11
- package/dist/esm/git-icon.entry.js +13 -13
- package/dist/esm/gmc-ikon.entry.js +11 -11
- package/dist/esm/honda-ikon.entry.js +11 -11
- package/dist/esm/hummer-ikon.entry.js +11 -11
- package/dist/esm/hyundai-ikon.entry.js +11 -11
- package/dist/esm/{index-a8512694.js → index-3538d2fa.js} +15 -4
- package/dist/esm/index-bd977942.js +125 -0
- package/dist/esm/infiniti-ikon.entry.js +11 -11
- package/dist/esm/isuzu-ikon.entry.js +11 -11
- package/dist/esm/jaguar-alt-ikon.entry.js +13 -13
- package/dist/esm/jaguar-ikon.entry.js +11 -11
- package/dist/esm/java-script-icon.entry.js +13 -13
- package/dist/esm/jeep-alt-ikon.entry.js +13 -13
- package/dist/esm/jeep-ikon.entry.js +11 -11
- package/dist/esm/kia-ikon.entry.js +11 -11
- package/dist/esm/lamborghini-alt-ikon.entry.js +13 -13
- package/dist/esm/lamborghini-ikon.entry.js +11 -11
- package/dist/esm/land-rover-ikon.entry.js +11 -11
- package/dist/esm/lexus-ikon.entry.js +11 -11
- package/dist/esm/lincoln-ikon.entry.js +11 -11
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lotus-alt-ikon.entry.js +13 -13
- package/dist/esm/lotus-ikon.entry.js +11 -11
- package/dist/esm/maserati-ikon.entry.js +11 -11
- package/dist/esm/maybach-ikon.entry.js +11 -11
- package/dist/esm/mazda-alt-ikon.entry.js +13 -13
- package/dist/esm/mazda-ikon.entry.js +11 -11
- package/dist/esm/mclaren-alt-ikon.entry.js +13 -13
- package/dist/esm/mclaren-ikon.entry.js +11 -11
- package/dist/esm/mercedes-benz-alt-ikon.entry.js +13 -13
- package/dist/esm/mercedes-benz-ikon.entry.js +11 -11
- package/dist/esm/mercury-ikon.entry.js +11 -11
- package/dist/esm/mini-alt-ikon.entry.js +13 -13
- package/dist/esm/mini-ikon.entry.js +11 -11
- package/dist/esm/mitsubishi-ikon.entry.js +11 -11
- package/dist/esm/nissan-ikon.entry.js +11 -11
- package/dist/esm/oldsmobile-ikon.entry.js +11 -11
- package/dist/esm/one-password-icon.entry.js +13 -13
- package/dist/esm/opel-ikon.entry.js +11 -11
- package/dist/esm/panoz-ikon.entry.js +11 -11
- package/dist/esm/paw-icon.entry.js +13 -13
- package/dist/esm/peugeot-alt-ikon.entry.js +13 -13
- package/dist/esm/peugeot-ikon.entry.js +11 -11
- package/dist/esm/plymouth-ikon.entry.js +11 -11
- package/dist/esm/pontiac-ikon.entry.js +11 -11
- package/dist/esm/porsche-ikon.entry.js +11 -11
- package/dist/esm/proto-autos-wc.js +3 -3
- package/dist/esm/proto-autos_2.entry.js +194 -194
- package/dist/esm/proto-ikon-raw.entry.js +23 -23
- package/dist/esm/protocol-icon.entry.js +13 -13
- package/dist/esm/pulse-icon.entry.js +13 -13
- package/dist/esm/puzzle-icon.entry.js +14 -14
- package/dist/esm/qr-code-icon.entry.js +13 -13
- package/dist/esm/radio-2-icon.entry.js +14 -14
- package/dist/esm/radio-icon.entry.js +14 -14
- package/dist/esm/ram-alt-ikon.entry.js +13 -13
- package/dist/esm/ram-ikon.entry.js +11 -11
- package/dist/esm/refresh-icon.entry.js +13 -13
- package/dist/esm/renault-alt-ikon.entry.js +13 -13
- package/dist/esm/renault-ikon.entry.js +11 -11
- package/dist/esm/rolls-royce-ikon.entry.js +11 -11
- package/dist/esm/saab-alt-ikon.entry.js +13 -13
- package/dist/esm/saab-ikon.entry.js +11 -11
- package/dist/esm/saturn-ikon.entry.js +11 -11
- package/dist/esm/scion-ikon.entry.js +11 -11
- package/dist/esm/seat-ikon.entry.js +11 -11
- package/dist/esm/skoda-ikon.entry.js +11 -11
- package/dist/esm/slug-icon.entry.js +12 -12
- package/dist/esm/smart-ikon.entry.js +11 -11
- package/dist/esm/spider-icon.entry.js +13 -13
- package/dist/esm/spyker-alt-ikon.entry.js +13 -13
- package/dist/esm/spyker-ikon.entry.js +11 -11
- package/dist/esm/subaru-alt-ikon.entry.js +13 -13
- package/dist/esm/subaru-ikon.entry.js +11 -11
- package/dist/esm/suzuki-ikon.entry.js +11 -11
- package/dist/esm/svg-icon.entry.js +13 -13
- package/dist/esm/tesla-ikon.entry.js +11 -11
- package/dist/esm/toyota-ikon.entry.js +11 -11
- package/dist/esm/vector-curve-icon.entry.js +13 -13
- package/dist/esm/volkswagen-ikon.entry.js +11 -11
- package/dist/esm/volvo-alt-ikon.entry.js +13 -13
- package/dist/esm/volvo-ikon.entry.js +11 -11
- package/dist/esm/webhook-icon.entry.js +13 -13
- package/dist/proto-autos-wc/{p-6790ac01.entry.js → p-034cec37.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-9e2e7a4c.entry.js → p-05c7dadb.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-d4c37e96.entry.js → p-07bee07e.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-ebb86f06.entry.js → p-081e92aa.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-e1664319.entry.js → p-0b0bb53c.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-0da64b62.entry.js → p-11476b19.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-c7ecd979.entry.js → p-12e38483.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-cb296408.entry.js → p-15dd6e95.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-8517ce37.entry.js → p-1a07f210.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-3caee30b.entry.js → p-1aee213c.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-2264ac4f.entry.js → p-1b3e022d.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-6d3ec3f3.entry.js → p-1bf29e88.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-1fee8d96.entry.js → p-1c01c983.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-4d93d578.entry.js → p-1c60f7ef.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-db84d663.entry.js → p-1fdd9125.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-f5dfce28.entry.js → p-1ff8feff.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-83d22ad4.entry.js → p-2fd4cbb9.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-82b0526e.entry.js → p-3107dd2d.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-3fe3f463.entry.js → p-33dd65c0.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-b962b479.entry.js → p-36b773cf.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-da226ece.entry.js → p-37372118.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-483f9ce7.entry.js → p-378c5d64.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-edd89f7d.entry.js → p-3b757384.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-f819fc4c.entry.js → p-3c571911.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-c9f462c0.entry.js → p-3cd70d6a.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-4245df89.entry.js → p-43333124.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-ce9e57a3.entry.js → p-441a01bc.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-50477a64.entry.js → p-45315e12.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-acc1ec6e.entry.js → p-456130f2.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-fe0fc6f5.entry.js → p-4b787db8.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-9dd523d1.entry.js → p-4e8cae1b.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-dedd27cf.entry.js → p-4eae769c.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-97497533.entry.js → p-54f613ea.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-a4853e28.entry.js → p-590cc838.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-c23b6c69.entry.js → p-5a2f600b.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-7572dbd6.entry.js → p-5c040fb1.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-cfebe543.entry.js → p-5c774751.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-d02ce459.entry.js → p-5ca269c6.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-a77c6c8f.entry.js → p-5ce63306.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-faf95a0d.entry.js → p-5f09e188.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-57fd7344.entry.js → p-5faa0a8d.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-6e68d6f0.entry.js → p-61e9cd64.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-0cf5e1fa.entry.js → p-66b24eb2.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-73522a0d.entry.js → p-676f63d5.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-e198326e.entry.js → p-6d924359.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-8ed2e99e.entry.js → p-700cefdf.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-f2331efd.entry.js → p-70eb061d.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-5b653033.entry.js → p-7205d165.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-38d1d289.entry.js → p-72247bcb.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-96c042d3.entry.js → p-72b95880.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-214f6ea2.entry.js → p-7656bae7.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-0eaec676.entry.js → p-76d6c3c3.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-cb173b70.entry.js → p-7793dcae.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-28562d5c.entry.js → p-79851d5f.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-7202640f.entry.js → p-7aea68df.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-31052f75.entry.js → p-8079bc2f.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-36a0f3ad.entry.js → p-85134e80.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-99d3585c.entry.js → p-8878e1c5.entry.js} +1 -1
- package/dist/proto-autos-wc/p-8b56dd89.js +2 -0
- package/dist/proto-autos-wc/{p-bba9870c.entry.js → p-8d489dcc.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-ac07554b.entry.js → p-8db49979.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-c14b35e8.entry.js → p-91948b3c.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-9c86519d.entry.js → p-940c54e4.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-1ace4d9b.entry.js → p-96d9e104.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-8f2491cd.entry.js → p-96e08301.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-f963ab0c.entry.js → p-96fdeb7d.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-0ff7ca42.entry.js → p-97ca1b2d.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-9dac8c01.entry.js → p-9913dbcd.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-509e3615.entry.js → p-9a579fc3.entry.js} +1 -1
- package/dist/proto-autos-wc/p-9a722ff0.entry.js +1 -0
- package/dist/proto-autos-wc/{p-d9ef576f.entry.js → p-9ef0237e.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-3381bf4e.entry.js → p-9f632d3b.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-842abed4.entry.js → p-a0d619df.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-65a04c68.entry.js → p-afb5c89f.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-284073a0.entry.js → p-afe4138b.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-4c528cf3.entry.js → p-b03c7ce5.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-ac0e9cc6.entry.js → p-b589a70a.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-6ed59685.entry.js → p-b691067b.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-09bb082c.entry.js → p-b7b7f99f.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-6326fd8b.entry.js → p-bd977e14.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-d9f338f5.entry.js → p-bdaeab74.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-4b257f48.entry.js → p-bddfcc36.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-a90cb5e8.entry.js → p-c1bd1a99.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-aa5c16e4.entry.js → p-c3a34bc4.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-37c7e481.entry.js → p-c6175524.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-63498494.entry.js → p-c702b528.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-1fff3f52.entry.js → p-c8bad7ea.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-455cc575.entry.js → p-c97746d7.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-6022443e.entry.js → p-cc19469e.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-cd596650.entry.js → p-cda9ab3e.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-069566a1.entry.js → p-ce0f0045.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-46b63311.entry.js → p-cf5f63e1.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-43a373e7.entry.js → p-d2dbe7db.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-5adcb5ab.entry.js → p-d3934578.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-a9b77ce1.entry.js → p-d3f58333.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-54517794.entry.js → p-d4ae0d50.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-a060d1ae.entry.js → p-d595c97e.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-ef57f621.entry.js → p-d5a80adc.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-3bc281d1.entry.js → p-da5c6174.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-31a598d4.entry.js → p-daa3d1a5.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-6aef4a0c.entry.js → p-daae6178.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-9705bb00.entry.js → p-db8247c2.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-048d7dae.entry.js → p-df4e6cbe.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-af3e6730.entry.js → p-dfd87c66.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-344ef183.entry.js → p-e003b4aa.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-6359fb52.entry.js → p-e0175876.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-e50cf8a8.entry.js → p-e0e2440b.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-336d823a.entry.js → p-e510bafc.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-9a140ef7.entry.js → p-e6f8e000.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-a98a673a.entry.js → p-e779fe66.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-6029ff06.entry.js → p-e8638428.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-5201ea1a.entry.js → p-e9943d96.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-3c60edd1.entry.js → p-ea8c8fba.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-21ceae7e.entry.js → p-eff5f940.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-06970b03.entry.js → p-f2f02520.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-1d25248f.entry.js → p-f5236165.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-3f1a1f3f.entry.js → p-f5eb8da6.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-14f47203.entry.js → p-f6855f5f.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-7fb26b5e.entry.js → p-f6fc4749.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-7ec055a6.entry.js → p-fc7d163b.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-e7d093f3.entry.js → p-fcc8b404.entry.js} +1 -1
- package/dist/proto-autos-wc/{p-06c4a634.entry.js → p-fcd7b5ab.entry.js} +1 -1
- package/dist/proto-autos-wc/proto-autos-wc.esm.js +1 -1
- package/dist/types/components/proto-autos/proto-autos.d.ts +3 -3
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/dist/types/utils/bag.d.ts +2 -2
- package/dist/types/utils/store.d.ts +3 -3
- package/dist/types/utils/types.d.ts +33 -33
- package/package.json +6 -6
- package/dist/cjs/index-41c04520.js +0 -128
- package/dist/esm/index-c426661f.js +0 -125
- package/dist/proto-autos-wc/p-7451db91.entry.js +0 -1
- package/dist/proto-autos-wc/p-ca82d403.js +0 -2
- /package/dist/proto-autos-wc/{p-923e27a5.js → p-f7c6c37b.js} +0 -0
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-0f3b37d3.js');
|
|
6
|
+
const index$1 = require('./index-0fc7ae14.js');
|
|
7
7
|
|
|
8
8
|
const KEY = 'proto-autos';
|
|
9
9
|
const DATA = 'data';
|
|
@@ -13,16 +13,16 @@ const PICK = 'pick';
|
|
|
13
13
|
// get(PICK)
|
|
14
14
|
//
|
|
15
15
|
const bag = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
get: (tag) => {
|
|
17
|
+
const key = tag ? `${KEY}-${tag}` : KEY;
|
|
18
|
+
const json = localStorage.getItem(key);
|
|
19
|
+
return json ? JSON.parse(json) : undefined;
|
|
20
|
+
},
|
|
21
|
+
store: (tag, value) => {
|
|
22
|
+
const key = tag ? `${KEY}-${tag}` : KEY;
|
|
23
|
+
const json = JSON.stringify(value);
|
|
24
|
+
localStorage.setItem(key, json);
|
|
25
|
+
},
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
const appendToMap = (map, propName, value) => {
|
|
@@ -674,53 +674,53 @@ var FetchQL = function (_FetchInterceptor) {
|
|
|
674
674
|
|
|
675
675
|
// --------------------------------------------------------[ mutable store ]
|
|
676
676
|
const storeDef = {
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
677
|
+
loading: false,
|
|
678
|
+
error: undefined,
|
|
679
|
+
data: undefined,
|
|
680
|
+
pick: 0,
|
|
681
|
+
dealer: undefined,
|
|
682
682
|
};
|
|
683
683
|
const { state } = createStore(storeDef);
|
|
684
684
|
// --------------------------------------------------------[ utility ]
|
|
685
685
|
const clearStore = (loading = false) => {
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
686
|
+
state.loading = loading;
|
|
687
|
+
state.error = undefined;
|
|
688
|
+
state.pick = 0;
|
|
689
|
+
state.data = undefined;
|
|
690
|
+
state.dealer = undefined;
|
|
691
691
|
};
|
|
692
692
|
// --------------------------------------------------------[ processing ]
|
|
693
693
|
const processData = (next) => {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
694
|
+
if (next) {
|
|
695
|
+
const { pick } = state;
|
|
696
|
+
if (pick != undefined) {
|
|
697
|
+
state.dealer = next.list[pick];
|
|
698
|
+
}
|
|
699
|
+
else {
|
|
700
|
+
state.dealer = undefined;
|
|
701
|
+
}
|
|
702
|
+
state.data = next;
|
|
703
|
+
state.loading = false;
|
|
698
704
|
}
|
|
699
705
|
else {
|
|
700
|
-
|
|
706
|
+
state.data = undefined;
|
|
707
|
+
state.loading = false;
|
|
701
708
|
}
|
|
702
|
-
state.data = next;
|
|
703
|
-
state.loading = false;
|
|
704
|
-
}
|
|
705
|
-
else {
|
|
706
|
-
state.data = undefined;
|
|
707
|
-
state.loading = false;
|
|
708
|
-
}
|
|
709
709
|
};
|
|
710
710
|
const processPick = (next) => {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
711
|
+
const { data } = state;
|
|
712
|
+
if (data && next !== undefined) {
|
|
713
|
+
state.pick = next;
|
|
714
|
+
state.dealer = data.list[next];
|
|
715
|
+
}
|
|
716
|
+
else {
|
|
717
|
+
state.pick = 0;
|
|
718
|
+
state.dealer = undefined;
|
|
719
|
+
}
|
|
720
720
|
};
|
|
721
721
|
// --------------------------------------------------------[ graphQL ]
|
|
722
722
|
var Client = new FetchQL({
|
|
723
|
-
|
|
723
|
+
url: 'https://gt-forza.vercel.app/graphql',
|
|
724
724
|
});
|
|
725
725
|
const GET_UUID = `
|
|
726
726
|
query Uuid($count: Int!) {
|
|
@@ -749,190 +749,190 @@ const GET_DEALERS = `
|
|
|
749
749
|
`;
|
|
750
750
|
// --------------------------------------------------------[ actions ]
|
|
751
751
|
const initApp = () => {
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
752
|
+
clearStore();
|
|
753
|
+
// this retrieves the last data we stored in the bag...
|
|
754
|
+
const data = bag.get(DATA);
|
|
755
|
+
const pick = bag.get(PICK);
|
|
756
|
+
if (data) {
|
|
757
|
+
processData(data);
|
|
758
|
+
if (pick) {
|
|
759
|
+
processPick(pick);
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
else {
|
|
763
|
+
refresh();
|
|
760
764
|
}
|
|
761
|
-
}
|
|
762
|
-
else {
|
|
763
|
-
refresh();
|
|
764
|
-
}
|
|
765
765
|
};
|
|
766
766
|
const refresh = () => {
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
Client.query({
|
|
772
|
-
operationName: 'Uuid',
|
|
773
|
-
query: GET_UUID,
|
|
774
|
-
variables: { count },
|
|
775
|
-
}).then(response => {
|
|
776
|
-
const id = response.data.uuid[0];
|
|
777
|
-
// NOTE: step 2 - fetch a solution with this id...
|
|
767
|
+
clearStore(true);
|
|
768
|
+
bag.store(PICK, 0);
|
|
769
|
+
const count = 1;
|
|
770
|
+
// NOTE: step 1 - fetch a UUID...
|
|
778
771
|
Client.query({
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
772
|
+
operationName: 'Uuid',
|
|
773
|
+
query: GET_UUID,
|
|
774
|
+
variables: { count },
|
|
782
775
|
}).then(response => {
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
776
|
+
const id = response.data.uuid[0];
|
|
777
|
+
// NOTE: step 2 - fetch a solution with this id...
|
|
778
|
+
Client.query({
|
|
779
|
+
operationName: 'Solution',
|
|
780
|
+
query: GET_DEALERS,
|
|
781
|
+
variables: { id },
|
|
782
|
+
}).then(response => {
|
|
783
|
+
const list = JSON.parse(JSON.stringify(response.data.solution.data.dealers));
|
|
784
|
+
const solution = { id, list };
|
|
785
|
+
bag.store(DATA, solution);
|
|
786
|
+
processData(solution);
|
|
787
|
+
});
|
|
787
788
|
});
|
|
788
|
-
});
|
|
789
789
|
};
|
|
790
790
|
const updatePick = (pick) => {
|
|
791
|
-
|
|
792
|
-
|
|
791
|
+
bag.store(PICK, pick);
|
|
792
|
+
processPick(pick);
|
|
793
793
|
};
|
|
794
794
|
const actions = {
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
795
|
+
initApp,
|
|
796
|
+
refresh,
|
|
797
|
+
updatePick,
|
|
798
798
|
};
|
|
799
799
|
|
|
800
800
|
// WARNING: generated file...
|
|
801
801
|
const TW_VERSION = '3.3.5';
|
|
802
802
|
|
|
803
803
|
const tw = (...classes) => {
|
|
804
|
-
|
|
804
|
+
return classes.filter(Boolean).join(' ');
|
|
805
805
|
};
|
|
806
806
|
|
|
807
807
|
const DealerCard = props => {
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
808
|
+
const { value } = props;
|
|
809
|
+
const { dealerId, name, vehicles } = value || {};
|
|
810
|
+
const count = vehicles ? vehicles.length : 0;
|
|
811
|
+
return (index.h("div", { class: tw('flex flex-wrap content-center', 'mb-4 rounded-lg bg-blue-200 p-4', 'border border-solid border-blue-400') },
|
|
812
|
+
index.h("label", { class: "text-xl font-bold" },
|
|
813
|
+
name ? `${name} ` : '',
|
|
814
|
+
index.h("sup", null, count ? count : '')),
|
|
815
|
+
index.h("label", { class: "ml-auto self-center text-right text-sm" }, dealerId ? dealerId : '')));
|
|
816
816
|
};
|
|
817
817
|
|
|
818
818
|
const racingRegex = /^\#[0-9]*/;
|
|
819
819
|
const isRacing = (model) => {
|
|
820
|
-
|
|
820
|
+
return model.match(racingRegex) != null;
|
|
821
821
|
};
|
|
822
822
|
const isExotic = (year) => {
|
|
823
|
-
|
|
823
|
+
return year === 2554;
|
|
824
824
|
};
|
|
825
825
|
const isModern = (year) => {
|
|
826
|
-
|
|
826
|
+
return year > 2010;
|
|
827
827
|
};
|
|
828
828
|
const VehicleCard = props => {
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
829
|
+
const { vin, make, model, year, color } = props.value || {};
|
|
830
|
+
return (index.h("div", { class: tw('flex align-middle', 'mb-1 rounded-lg p-4', 'border border-solid', isExotic(year)
|
|
831
|
+
? 'border-clrs-navy bg-clrs-navy text-clrs-white'
|
|
832
|
+
: isRacing(model)
|
|
833
|
+
? 'border-yellow-600 bg-yellow-300'
|
|
834
|
+
: isModern(year)
|
|
835
|
+
? 'border-green-600 bg-green-200'
|
|
836
|
+
: 'border-gray-600 bg-gray-300') },
|
|
837
|
+
index.h("div", { class: "mr-1.5 flex flex-col" },
|
|
838
|
+
index.h("label", { class: "mb-2 text-xs" }, vin ? vin : ''),
|
|
839
|
+
index.h("label", { class: "text-lg font-bold" }, make ? make : ''),
|
|
840
|
+
index.h("label", { class: "mb-2 text-sm italic" }, model ? model : ''),
|
|
841
|
+
index.h("label", null,
|
|
842
|
+
year ? year : '',
|
|
843
|
+
", ",
|
|
844
|
+
color ? color : ''),
|
|
845
|
+
index.h("label", null, isExotic(year)
|
|
846
|
+
? '- exotic... [ Sierra 117 ]'
|
|
847
|
+
: isRacing(model)
|
|
848
|
+
? '- track only...'
|
|
849
|
+
: '')),
|
|
850
|
+
index.h("proto-ikon-loader", { class: "ikon ml-auto self-center", name: make, label: make.toLowerCase() })));
|
|
851
851
|
};
|
|
852
852
|
|
|
853
853
|
const VehicleList = props => {
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
854
|
+
const { list } = props;
|
|
855
|
+
const count = list.length;
|
|
856
|
+
if (count === 0)
|
|
857
|
+
return '';
|
|
858
|
+
return (index.h("div", { class: "flex flex-col" }, count ? list.map(vehicle => index.h(VehicleCard, { value: vehicle })) : ''));
|
|
859
859
|
};
|
|
860
860
|
|
|
861
861
|
const DealerView = props => {
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
862
|
+
const { dealer } = props;
|
|
863
|
+
const { vehicles } = dealer || { vehicles: [] };
|
|
864
|
+
const list = vehicles;
|
|
865
|
+
if (!dealer)
|
|
866
|
+
return '';
|
|
867
|
+
return (index.h("div", { class: "flex flex-col" },
|
|
868
|
+
index.h(DealerCard, { value: dealer }),
|
|
869
|
+
index.h(VehicleList, { list: list })));
|
|
870
870
|
};
|
|
871
871
|
|
|
872
872
|
const url = 'https://eswat2.dev';
|
|
873
873
|
const who = 'eswat2';
|
|
874
874
|
const Eswat2Io = _props => {
|
|
875
|
-
|
|
876
|
-
|
|
875
|
+
return (index.h("a", { class: "absolute right-0 top-0 mr-6 mt-6 text-clrs-gray hover:text-clrs-navy", href: url, "aria-label": who, target: "blank", title: who },
|
|
876
|
+
index.h("proto-ikon-loader", { name: "fingerprint", size: 24, label: "eswat2" })));
|
|
877
877
|
};
|
|
878
878
|
|
|
879
879
|
const Footer = _props => {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
880
|
+
return (index.h("div", { class: "mb-4 mr-2 mt-2 flex flex-row" },
|
|
881
|
+
index.h("label", { class: "ml-auto align-top text-xs italic text-clrs-slate4" },
|
|
882
|
+
"Tailwind ",
|
|
883
|
+
TW_VERSION)));
|
|
884
884
|
};
|
|
885
885
|
|
|
886
886
|
const Header = props => {
|
|
887
|
-
|
|
888
|
-
|
|
887
|
+
const { label } = props;
|
|
888
|
+
return (index.h("h1", { class: tw('text-center uppercase text-clrs-red', 'mb-11 ml-0 mr-0 mt-11', 'text-6xl font-thin') }, label));
|
|
889
889
|
};
|
|
890
890
|
|
|
891
891
|
const Spinner = props => {
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
892
|
+
const hex = props.hex || 'currentColor';
|
|
893
|
+
const klass = props.class || '';
|
|
894
|
+
const label = props.label || 'loading...';
|
|
895
|
+
const size = props.size || 24;
|
|
896
|
+
return (index.h("svg", { class: tw(klass, 'animate-spin'), width: size, height: size, fill: "none", viewBox: "0 0 24 24", role: "img", "aria-label": "title" },
|
|
897
|
+
index.h("title", null, label),
|
|
898
|
+
index.h("g", null,
|
|
899
|
+
index.h("circle", { class: "opacity-25", cx: "12", cy: "12", r: "10", stroke: hex, "stroke-width": "4" }),
|
|
900
|
+
index.h("path", { class: "opacity-75", fill: hex, d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" })),
|
|
901
|
+
index.h("path", { d: "M0 0h24v24H0z", fill: "none" })));
|
|
902
902
|
};
|
|
903
903
|
|
|
904
904
|
const ToolBar = _props => {
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
905
|
+
const { loading, pick, data } = state || {};
|
|
906
|
+
const { list } = data || { list: [] };
|
|
907
|
+
const max = list.length - 1;
|
|
908
|
+
if (loading)
|
|
909
|
+
return '';
|
|
910
|
+
return (index.h("div", { class: "flex" },
|
|
911
|
+
index.h("div", { class: "refresh hover:text-clrs-red md:w-auto", onClick: () => actions.refresh() },
|
|
912
|
+
index.h("proto-ikon-loader", { name: "refresh", size: 24 })),
|
|
913
|
+
index.h("div", { class: tw('ml-auto inline-flex justify-end', 'border border-solid border-gray-600', 'rounded-md') }, list.map((dealer, indx) => (index.h("button", { class: tw('h-8 w-8 border-none font-bold', indx == 0
|
|
914
|
+
? 'rounded-bl-md rounded-br-none rounded-tl-md rounded-tr-none'
|
|
915
|
+
: indx == max
|
|
916
|
+
? 'rounded-bl-none rounded-br-md rounded-tl-none rounded-tr-md'
|
|
917
|
+
: 'rounded-none', pick == indx
|
|
918
|
+
? 'bg-clrs-red text-white'
|
|
919
|
+
: 'bg-clrs-yellow text-clrs-navy'), onClick: () => actions.updatePick(indx), title: `${dealer.name} (${dealer.vehicles.length})` }, indx + 1))))));
|
|
920
920
|
};
|
|
921
921
|
|
|
922
922
|
const protoAutosCss = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.ds1-main{margin:1.5rem;display:flex;flex-direction:column;font-family:ui-sans-serif,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n 'Helvetica Neue',\n Arial,\n 'Noto Sans',\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n 'Noto Color Emoji';color:var(--clrs-navy, #001f3f);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.absolute{position:absolute}.right-0{right:0px}.top-0{top:0px}.mb-1{margin-bottom:0.25rem}.mb-11{margin-bottom:2.75rem}.mb-2{margin-bottom:0.5rem}.mb-4{margin-bottom:1rem}.ml-0{margin-left:0px}.ml-auto{margin-left:auto}.mr-0{margin-right:0px}.mr-1{margin-right:0.25rem}.mr-1\\.5{margin-right:0.375rem}.mr-2{margin-right:0.5rem}.mr-6{margin-right:1.5rem}.mt-11{margin-top:2.75rem}.mt-2{margin-top:0.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.flex{display:flex}.inline-flex{display:inline-flex}.h-8{height:2rem}.w-8{width:2rem}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.justify-end{justify-content:flex-end}.self-center{align-self:center}.rounded-lg{border-radius:0.5rem}.rounded-md{border-radius:0.375rem}.rounded-none{border-radius:0px}.rounded-bl-md{border-bottom-left-radius:0.375rem}.rounded-bl-none{border-bottom-left-radius:0px}.rounded-br-md{border-bottom-right-radius:0.375rem}.rounded-br-none{border-bottom-right-radius:0px}.rounded-tl-md{border-top-left-radius:0.375rem}.rounded-tl-none{border-top-left-radius:0px}.rounded-tr-md{border-top-right-radius:0.375rem}.rounded-tr-none{border-top-right-radius:0px}.border{border-width:1px}.border-b-0{border-bottom-width:0px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-solid{border-style:solid}.border-none{border-style:none}.border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.border-clrs-navy{border-color:var(--clrs-navy, #001f3f)}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.bg-blue-200{--tw-bg-opacity:1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-clrs-navy{background-color:var(--clrs-navy, #001f3f)}.bg-clrs-red{background-color:var(--clrs-red, #ff4136)}.bg-clrs-yellow{background-color:var(--clrs-yellow, #ffdc00)}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity:1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity:1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.p-4{padding:1rem}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-6xl{font-size:3.75rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:0.75rem;line-height:1rem}.font-bold{font-weight:700}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.text-clrs-gray{color:var(--clrs-gray, #aaaaaa)}.text-clrs-navy{color:var(--clrs-navy, #001f3f)}.text-clrs-red{color:var(--clrs-red, #ff4136)}.text-clrs-slate4{color:var(--clrs-slate4, #4e5964)}.text-clrs-white{color:var(--clrs-white, #ffffff)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-25{opacity:0.25}.opacity-75{opacity:0.75}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.ikon{height:96px;width:96px}@media (min-width: 500px){.ikon{height:144px;width:144px}}@media (min-width: 700px){.ikon{height:192px;width:192px}}.hover\\:text-clrs-navy:hover{color:var(--clrs-navy, #001f3f)}.hover\\:text-clrs-red:hover{color:var(--clrs-red, #ff4136)}@media (min-width: 768px){.md\\:w-auto{width:auto}}";
|
|
923
923
|
|
|
924
924
|
const ProtoAutos = class {
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
925
|
+
constructor(hostRef) {
|
|
926
|
+
index.registerInstance(this, hostRef);
|
|
927
|
+
this.tag = 'proto-autos';
|
|
928
|
+
}
|
|
929
|
+
componentDidLoad() {
|
|
930
|
+
actions.initApp();
|
|
931
|
+
}
|
|
932
|
+
render() {
|
|
933
|
+
const { loading, dealer } = state;
|
|
934
|
+
return (index.h("main", { id: "app", class: "ds1-main" }, index.h(Eswat2Io, null), index.h(Header, { label: "Auto Dealers" }), index.h(ToolBar, null), loading ? (index.h(Spinner, null)) : (index.h("hr", { class: tw('mb-4 ml-0 mr-0 mt-4', 'border-solid border-gray-300', 'border-b-0 border-l-0 border-r-0') })), index.h(DealerView, { dealer: dealer }), index.h(Footer, null)));
|
|
935
|
+
}
|
|
936
936
|
};
|
|
937
937
|
ProtoAutos.style = protoAutosCss;
|
|
938
938
|
|
|
@@ -940,32 +940,32 @@ const protoIkonLoaderCss = ".ikonBox{width:var(--proto-ikon-size);height:var(--p
|
|
|
940
940
|
|
|
941
941
|
const global = 'protoIkonFallback';
|
|
942
942
|
const fallback = Object.prototype.hasOwnProperty.call(window, global)
|
|
943
|
-
|
|
944
|
-
|
|
943
|
+
? window[global]
|
|
944
|
+
: 'slug-icon';
|
|
945
945
|
const getIcon = (label) => {
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
946
|
+
const name = label.toLowerCase().split(' ').join('-');
|
|
947
|
+
const icon = `${name}-icon`;
|
|
948
|
+
const ikon = `${name}-ikon`;
|
|
949
|
+
return index$1.icons.includes(icon) ? icon : index$1.ikons.includes(ikon) ? ikon : fallback;
|
|
950
950
|
};
|
|
951
951
|
const ProtoIkonLoader = class {
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
952
|
+
constructor(hostRef) {
|
|
953
|
+
index.registerInstance(this, hostRef);
|
|
954
|
+
this.hex = 'currentColor';
|
|
955
|
+
this.name = 'slug';
|
|
956
|
+
this.selected = false;
|
|
957
|
+
this.size = undefined;
|
|
958
|
+
this.label = undefined;
|
|
959
|
+
}
|
|
960
|
+
render() {
|
|
961
|
+
const { name, hex, selected, size, label } = this;
|
|
962
|
+
const title = label ? label : name;
|
|
963
|
+
// NOTE: we are explicitly setting undefined if no size is provided...
|
|
964
|
+
this.el.style.setProperty('--proto-ikon-size', size ? `${size}px` : undefined);
|
|
965
|
+
const Tag = getIcon(name);
|
|
966
|
+
return (index.h("div", { class: "ikonBox" }, index.h(Tag, { hex: hex, selected: selected, size: size, label: title })));
|
|
967
|
+
}
|
|
968
|
+
get el() { return index.getElement(this); }
|
|
969
969
|
};
|
|
970
970
|
ProtoIkonLoader.style = protoIkonLoaderCss;
|
|
971
971
|
|
|
@@ -2,37 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-0f3b37d3.js');
|
|
6
|
+
const index$1 = require('./index-0fc7ae14.js');
|
|
7
7
|
|
|
8
8
|
const protoIkonRawCss = "";
|
|
9
9
|
|
|
10
10
|
const global = 'protoIkonFallback';
|
|
11
11
|
const fallback = Object.prototype.hasOwnProperty.call(window, global)
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
? window[global]
|
|
13
|
+
: 'slug-icon';
|
|
14
14
|
const getIcon = (label) => {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
const name = label.toLowerCase().split(' ').join('-');
|
|
16
|
+
const icon = `${name}-icon`;
|
|
17
|
+
const ikon = `${name}-ikon`;
|
|
18
|
+
return index$1.icons.includes(icon) ? icon : index$1.ikons.includes(ikon) ? ikon : fallback;
|
|
19
19
|
};
|
|
20
20
|
const ProtoIkonRaw = class {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
21
|
+
constructor(hostRef) {
|
|
22
|
+
index.registerInstance(this, hostRef);
|
|
23
|
+
this.hex = 'currentColor';
|
|
24
|
+
this.name = 'slug';
|
|
25
|
+
this.selected = false;
|
|
26
|
+
this.size = undefined;
|
|
27
|
+
this.label = undefined;
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
const { name, hex, selected, size, label } = this;
|
|
31
|
+
const title = label ? label : name;
|
|
32
|
+
const Tag = getIcon(name);
|
|
33
|
+
return index.h(Tag, { hex: hex, selected: selected, size: size, label: title });
|
|
34
|
+
}
|
|
35
|
+
get el() { return index.getElement(this); }
|
|
36
36
|
};
|
|
37
37
|
ProtoIkonRaw.style = protoIkonRawCss;
|
|
38
38
|
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f3b37d3.js');
|
|
6
6
|
|
|
7
7
|
const protocolIconCss = "";
|
|
8
8
|
|
|
9
9
|
const ProtocolIcon = class {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.hex = undefined;
|
|
13
|
+
this.label = undefined;
|
|
14
|
+
this.name = 'protocol';
|
|
15
|
+
this.size = undefined;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
const { hex, label, name, size } = this;
|
|
19
|
+
const title = label ? label : name;
|
|
20
|
+
return (index.h("svg", { width: size, height: size, viewBox: "0 0 24 24", role: "img", "aria-label": "title" }, index.h("title", null, title), index.h("g", { fill: hex }, index.h("path", { d: "M18 20H14L18 4H22M16 4H12L8 20H12M2 16.5A2.5 2.5 0 0 0 4.5 19A2.5 2.5 0\n 0 0 7 16.5A2.5 2.5 0 0 0 4.5 14A2.5 2.5 0 0 0 2 16.5M2 9.5A2.5 2.5 0 0 0\n 4.5 12A2.5 2.5 0 0 0 7 9.5A2.5 2.5 0 0 0 4.5 7A2.5 2.5 0 0 0 2 9.5Z" })), index.h("path", { d: "M0 0h24v24H0z", fill: "none" })));
|
|
21
|
+
}
|
|
22
22
|
};
|
|
23
23
|
ProtocolIcon.style = protocolIconCss;
|
|
24
24
|
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f3b37d3.js');
|
|
6
6
|
|
|
7
7
|
const pulseIconCss = "";
|
|
8
8
|
|
|
9
9
|
const PulseIcon = class {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.hex = undefined;
|
|
13
|
+
this.label = undefined;
|
|
14
|
+
this.name = 'pulse';
|
|
15
|
+
this.size = undefined;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
const { hex, label, name, size } = this;
|
|
19
|
+
const title = label ? label : name;
|
|
20
|
+
return (index.h("svg", { width: size, height: size, viewBox: "0 0 24 24", role: "img", "aria-label": "title" }, index.h("title", null, title), index.h("g", { fill: hex }, index.h("path", { d: "M3 13H5.79L10.1 4.79L11.28 13.75L14.5 9.66L17.83 13H21V15H17L14.67\n 12.67L9.92 18.73L8.94 11.31L7 15H3V13Z" })), index.h("path", { d: "M0 0h24v24H0z", fill: "none" })));
|
|
21
|
+
}
|
|
22
22
|
};
|
|
23
23
|
PulseIcon.style = pulseIconCss;
|
|
24
24
|
|