stripe-pwa-elements 2.1.0 → 3.0.0-0
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/{index-aec82bce.js → index-0cec7387.js} +616 -261
- package/dist/cjs/index-0cec7387.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/ion-icon.cjs.entry.js +68 -43
- package/dist/cjs/ion-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/stripe-elements.cjs.js +12 -3
- package/dist/cjs/stripe-elements.cjs.js.map +1 -0
- package/dist/cjs/stripe-payment-request-button.cjs.entry.js +26 -20
- package/dist/cjs/stripe-payment-request-button.cjs.entry.js.map +1 -0
- package/dist/cjs/stripe-payment-sheet.cjs.entry.js +11 -27
- package/dist/cjs/stripe-payment-sheet.cjs.entry.js.map +1 -0
- package/dist/cjs/stripe-payment_2.cjs.entry.js +753 -729
- package/dist/cjs/stripe-payment_2.cjs.entry.js.map +1 -0
- package/dist/cjs/{stripe.esm-648239f0.js → stripe.esm-603f3c17.js} +4 -2
- package/dist/cjs/stripe.esm-603f3c17.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/stripe-element-modal/stripe-element-modal.js +115 -116
- package/dist/collection/components/stripe-element-modal/stripe-element-modal.js.map +1 -0
- package/dist/collection/components/stripe-element-modal/test/stripe-element-modal.e2e.js +10 -0
- package/dist/collection/components/stripe-element-modal/test/stripe-element-modal.e2e.js.map +1 -0
- package/dist/collection/components/stripe-element-modal/test/stripe-element-modal.spec.js +120 -0
- package/dist/collection/components/stripe-element-modal/test/stripe-element-modal.spec.js.map +1 -0
- package/dist/collection/components/stripe-payment-request-button/stripe-payment-request-button.js +342 -328
- package/dist/collection/components/stripe-payment-request-button/stripe-payment-request-button.js.map +1 -0
- package/dist/collection/components/stripe-payment-request-button/test/stripe-payment-request-button.e2e.js +10 -0
- package/dist/collection/components/stripe-payment-request-button/test/stripe-payment-request-button.e2e.js.map +1 -0
- package/dist/collection/components/stripe-payment-request-button/test/stripe-payment-request-button.spec.js +18 -0
- package/dist/collection/components/stripe-payment-request-button/test/stripe-payment-request-button.spec.js.map +1 -0
- package/dist/collection/components/stripe-payment-sheet/stripe-payment-sheet.js +483 -539
- package/dist/collection/components/stripe-payment-sheet/stripe-payment-sheet.js.map +1 -0
- package/dist/collection/components/stripe-payment-sheet/test/stripe-payment-sheet.e2e.js +10 -0
- package/dist/collection/components/stripe-payment-sheet/test/stripe-payment-sheet.e2e.js.map +1 -0
- package/dist/collection/components/stripe-payment-sheet/test/stripe-payment-sheet.spec.js +111 -0
- package/dist/collection/components/stripe-payment-sheet/test/stripe-payment-sheet.spec.js.map +1 -0
- package/dist/collection/components/stripe-payment-sheet-modal/stripe-payment-sheet-modal.js +393 -401
- package/dist/collection/components/stripe-payment-sheet-modal/stripe-payment-sheet-modal.js.map +1 -0
- package/dist/collection/components/stripe-payment-sheet-modal/test/stripe-payment-sheet-modal.e2e.js +10 -0
- package/dist/collection/components/stripe-payment-sheet-modal/test/stripe-payment-sheet-modal.e2e.js.map +1 -0
- package/dist/collection/components/stripe-payment-sheet-modal/test/stripe-payment-sheet-modal.spec.js +16 -0
- package/dist/collection/components/stripe-payment-sheet-modal/test/stripe-payment-sheet-modal.spec.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/interfaces.js +1 -0
- package/dist/collection/interfaces.js.map +1 -0
- package/dist/collection/utils/i18n.js +1 -0
- package/dist/collection/utils/i18n.js.map +1 -0
- package/dist/collection/utils/platform.js +1 -0
- package/dist/collection/utils/platform.js.map +1 -0
- package/dist/collection/utils/utils.js +1 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/icon.js +360 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/index.d.ts +27 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/ion-icon.js +8 -0
- package/dist/components/ion-icon.js.map +1 -0
- package/dist/components/stripe-element-modal.js +75 -0
- package/dist/components/stripe-element-modal.js.map +1 -0
- package/dist/components/stripe-payment-request-button.d.ts +11 -0
- package/dist/components/stripe-payment-request-button.js +8 -0
- package/dist/components/stripe-payment-request-button.js.map +1 -0
- package/dist/components/stripe-payment-request-button2.js +337 -0
- package/dist/components/stripe-payment-request-button2.js.map +1 -0
- package/dist/components/stripe-payment-sheet.d.ts +11 -0
- package/dist/components/stripe-payment-sheet.js +153 -0
- package/dist/components/stripe-payment-sheet.js.map +1 -0
- package/dist/{custom-elements/index.js → components/stripe-payment-sheet2.js} +798 -1607
- package/dist/components/stripe-payment-sheet2.js.map +1 -0
- package/dist/components/stripe-payment.d.ts +11 -0
- package/dist/components/stripe-payment.js +8 -0
- package/dist/components/stripe-payment.js.map +1 -0
- package/dist/components/stripe-sheet.d.ts +11 -0
- package/dist/components/stripe-sheet.js +8 -0
- package/dist/components/stripe-sheet.js.map +1 -0
- package/dist/components/utils.js +105 -0
- package/dist/components/utils.js.map +1 -0
- package/dist/esm/{index-a7e5d6fd.js → index-58f9666b.js} +616 -262
- package/dist/esm/index-58f9666b.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/ion-icon.entry.js +68 -43
- package/dist/esm/ion-icon.entry.js.map +1 -0
- package/dist/esm/loader.js +6 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/stripe-elements.js +9 -3
- package/dist/esm/stripe-elements.js.map +1 -0
- package/dist/esm/stripe-payment-request-button.entry.js +26 -20
- package/dist/esm/stripe-payment-request-button.entry.js.map +1 -0
- package/dist/esm/stripe-payment-sheet.entry.js +11 -27
- package/dist/esm/stripe-payment-sheet.entry.js.map +1 -0
- package/dist/esm/stripe-payment_2.entry.js +753 -729
- package/dist/esm/stripe-payment_2.entry.js.map +1 -0
- package/dist/esm/{stripe.esm-ea56157a.js → stripe.esm-bad47977.js} +4 -2
- package/dist/esm/stripe.esm-bad47977.js.map +1 -0
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +46 -4
- package/dist/stripe-elements/index.esm.js +2 -0
- package/dist/stripe-elements/index.esm.js.map +1 -0
- package/dist/stripe-elements/p-06c00b5c.entry.js +2 -0
- package/dist/stripe-elements/p-06c00b5c.entry.js.map +1 -0
- package/dist/stripe-elements/p-1b4515a4.js +3 -0
- package/dist/stripe-elements/p-1b4515a4.js.map +1 -0
- package/dist/stripe-elements/p-3458123a.entry.js +2 -0
- package/dist/stripe-elements/p-3458123a.entry.js.map +1 -0
- package/dist/stripe-elements/p-3a90ad5d.entry.js +2 -0
- package/dist/stripe-elements/p-3a90ad5d.entry.js.map +1 -0
- package/dist/stripe-elements/p-b10d8613.js +2 -0
- package/dist/stripe-elements/p-b10d8613.js.map +1 -0
- package/dist/stripe-elements/p-c5a2b2e8.entry.js +2 -0
- package/dist/stripe-elements/p-c5a2b2e8.entry.js.map +1 -0
- package/dist/stripe-elements/stripe-elements.esm.js +2 -1
- package/dist/stripe-elements/stripe-elements.esm.js.map +1 -0
- package/dist/stripe-elements/svg/accessibility-outline.svg +1 -1
- package/dist/stripe-elements/svg/accessibility-sharp.svg +1 -1
- package/dist/stripe-elements/svg/accessibility.svg +1 -1
- package/dist/stripe-elements/svg/add-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/add-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/add-circle.svg +1 -1
- package/dist/stripe-elements/svg/add-outline.svg +1 -1
- package/dist/stripe-elements/svg/add-sharp.svg +1 -1
- package/dist/stripe-elements/svg/add.svg +1 -1
- package/dist/stripe-elements/svg/airplane-outline.svg +1 -1
- package/dist/stripe-elements/svg/airplane-sharp.svg +1 -1
- package/dist/stripe-elements/svg/airplane.svg +1 -1
- package/dist/stripe-elements/svg/alarm-outline.svg +1 -1
- package/dist/stripe-elements/svg/alarm-sharp.svg +1 -1
- package/dist/stripe-elements/svg/alarm.svg +1 -1
- package/dist/stripe-elements/svg/albums-outline.svg +1 -1
- package/dist/stripe-elements/svg/albums-sharp.svg +1 -1
- package/dist/stripe-elements/svg/albums.svg +1 -1
- package/dist/stripe-elements/svg/alert-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/alert-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/alert-circle.svg +1 -1
- package/dist/stripe-elements/svg/alert-outline.svg +1 -1
- package/dist/stripe-elements/svg/alert-sharp.svg +1 -1
- package/dist/stripe-elements/svg/alert.svg +1 -1
- package/dist/stripe-elements/svg/american-football-outline.svg +1 -1
- package/dist/stripe-elements/svg/american-football-sharp.svg +1 -1
- package/dist/stripe-elements/svg/american-football.svg +1 -1
- package/dist/stripe-elements/svg/analytics-outline.svg +1 -1
- package/dist/stripe-elements/svg/analytics-sharp.svg +1 -1
- package/dist/stripe-elements/svg/analytics.svg +1 -1
- package/dist/stripe-elements/svg/aperture-outline.svg +1 -1
- package/dist/stripe-elements/svg/aperture-sharp.svg +1 -1
- package/dist/stripe-elements/svg/aperture.svg +1 -1
- package/dist/stripe-elements/svg/apps-outline.svg +1 -1
- package/dist/stripe-elements/svg/apps-sharp.svg +1 -1
- package/dist/stripe-elements/svg/apps.svg +1 -1
- package/dist/stripe-elements/svg/archive-outline.svg +1 -1
- package/dist/stripe-elements/svg/archive-sharp.svg +1 -1
- package/dist/stripe-elements/svg/archive.svg +1 -1
- package/dist/stripe-elements/svg/arrow-back-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-back-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-back-circle.svg +1 -1
- package/dist/stripe-elements/svg/arrow-back-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-back-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-back.svg +1 -1
- package/dist/stripe-elements/svg/arrow-down-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-down-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-down-circle.svg +1 -1
- package/dist/stripe-elements/svg/arrow-down-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-down-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-down.svg +1 -1
- package/dist/stripe-elements/svg/arrow-forward-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-forward-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-forward-circle.svg +1 -1
- package/dist/stripe-elements/svg/arrow-forward-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-forward-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-forward.svg +1 -1
- package/dist/stripe-elements/svg/arrow-redo-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-redo-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-redo-circle.svg +1 -1
- package/dist/stripe-elements/svg/arrow-redo-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-redo-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-redo.svg +1 -1
- package/dist/stripe-elements/svg/arrow-undo-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-undo-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-undo-circle.svg +1 -1
- package/dist/stripe-elements/svg/arrow-undo-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-undo-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-undo.svg +1 -1
- package/dist/stripe-elements/svg/arrow-up-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-up-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-up-circle.svg +1 -1
- package/dist/stripe-elements/svg/arrow-up-outline.svg +1 -1
- package/dist/stripe-elements/svg/arrow-up-sharp.svg +1 -1
- package/dist/stripe-elements/svg/arrow-up.svg +1 -1
- package/dist/stripe-elements/svg/at-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/at-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/at-circle.svg +1 -1
- package/dist/stripe-elements/svg/at-outline.svg +1 -1
- package/dist/stripe-elements/svg/at-sharp.svg +1 -1
- package/dist/stripe-elements/svg/at.svg +1 -1
- package/dist/stripe-elements/svg/attach-outline.svg +1 -1
- package/dist/stripe-elements/svg/attach-sharp.svg +1 -1
- package/dist/stripe-elements/svg/attach.svg +1 -1
- package/dist/stripe-elements/svg/backspace-outline.svg +1 -1
- package/dist/stripe-elements/svg/backspace-sharp.svg +1 -1
- package/dist/stripe-elements/svg/backspace.svg +1 -1
- package/dist/stripe-elements/svg/bag-add-outline.svg +1 -1
- package/dist/stripe-elements/svg/bag-add-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bag-add.svg +1 -1
- package/dist/stripe-elements/svg/bag-check-outline.svg +1 -1
- package/dist/stripe-elements/svg/bag-check-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bag-check.svg +1 -1
- package/dist/stripe-elements/svg/bag-handle-outline.svg +1 -1
- package/dist/stripe-elements/svg/bag-handle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bag-handle.svg +1 -1
- package/dist/stripe-elements/svg/bag-outline.svg +1 -1
- package/dist/stripe-elements/svg/bag-remove-outline.svg +1 -1
- package/dist/stripe-elements/svg/bag-remove-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bag-remove.svg +1 -1
- package/dist/stripe-elements/svg/bag-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bag.svg +1 -1
- package/dist/stripe-elements/svg/balloon-outline.svg +1 -1
- package/dist/stripe-elements/svg/balloon-sharp.svg +1 -1
- package/dist/stripe-elements/svg/balloon.svg +1 -1
- package/dist/stripe-elements/svg/ban-outline.svg +1 -1
- package/dist/stripe-elements/svg/ban-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ban.svg +1 -1
- package/dist/stripe-elements/svg/bandage-outline.svg +1 -1
- package/dist/stripe-elements/svg/bandage-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bandage.svg +1 -1
- package/dist/stripe-elements/svg/bar-chart-outline.svg +1 -1
- package/dist/stripe-elements/svg/bar-chart-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bar-chart.svg +1 -1
- package/dist/stripe-elements/svg/barbell-outline.svg +1 -1
- package/dist/stripe-elements/svg/barbell-sharp.svg +1 -1
- package/dist/stripe-elements/svg/barbell.svg +1 -1
- package/dist/stripe-elements/svg/barcode-outline.svg +1 -1
- package/dist/stripe-elements/svg/barcode-sharp.svg +1 -1
- package/dist/stripe-elements/svg/barcode.svg +1 -1
- package/dist/stripe-elements/svg/baseball-outline.svg +1 -1
- package/dist/stripe-elements/svg/baseball-sharp.svg +1 -1
- package/dist/stripe-elements/svg/baseball.svg +1 -1
- package/dist/stripe-elements/svg/basket-outline.svg +1 -1
- package/dist/stripe-elements/svg/basket-sharp.svg +1 -1
- package/dist/stripe-elements/svg/basket.svg +1 -1
- package/dist/stripe-elements/svg/basketball-outline.svg +1 -1
- package/dist/stripe-elements/svg/basketball-sharp.svg +1 -1
- package/dist/stripe-elements/svg/basketball.svg +1 -1
- package/dist/stripe-elements/svg/battery-charging-outline.svg +1 -1
- package/dist/stripe-elements/svg/battery-charging-sharp.svg +1 -1
- package/dist/stripe-elements/svg/battery-charging.svg +1 -1
- package/dist/stripe-elements/svg/battery-dead-outline.svg +1 -1
- package/dist/stripe-elements/svg/battery-dead-sharp.svg +1 -1
- package/dist/stripe-elements/svg/battery-dead.svg +1 -1
- package/dist/stripe-elements/svg/battery-full-outline.svg +1 -1
- package/dist/stripe-elements/svg/battery-full-sharp.svg +1 -1
- package/dist/stripe-elements/svg/battery-full.svg +1 -1
- package/dist/stripe-elements/svg/battery-half-outline.svg +1 -1
- package/dist/stripe-elements/svg/battery-half-sharp.svg +1 -1
- package/dist/stripe-elements/svg/battery-half.svg +1 -1
- package/dist/stripe-elements/svg/beaker-outline.svg +1 -1
- package/dist/stripe-elements/svg/beaker-sharp.svg +1 -1
- package/dist/stripe-elements/svg/beaker.svg +1 -1
- package/dist/stripe-elements/svg/bed-outline.svg +1 -1
- package/dist/stripe-elements/svg/bed-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bed.svg +1 -1
- package/dist/stripe-elements/svg/beer-outline.svg +1 -1
- package/dist/stripe-elements/svg/beer-sharp.svg +1 -1
- package/dist/stripe-elements/svg/beer.svg +1 -1
- package/dist/stripe-elements/svg/bicycle-outline.svg +1 -1
- package/dist/stripe-elements/svg/bicycle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bicycle.svg +1 -1
- package/dist/stripe-elements/svg/bluetooth-outline.svg +1 -1
- package/dist/stripe-elements/svg/bluetooth-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bluetooth.svg +1 -1
- package/dist/stripe-elements/svg/boat-outline.svg +1 -1
- package/dist/stripe-elements/svg/boat-sharp.svg +1 -1
- package/dist/stripe-elements/svg/boat.svg +1 -1
- package/dist/stripe-elements/svg/body-outline.svg +1 -1
- package/dist/stripe-elements/svg/body-sharp.svg +1 -1
- package/dist/stripe-elements/svg/body.svg +1 -1
- package/dist/stripe-elements/svg/bonfire-outline.svg +1 -1
- package/dist/stripe-elements/svg/bonfire-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bonfire.svg +1 -1
- package/dist/stripe-elements/svg/book-outline.svg +1 -1
- package/dist/stripe-elements/svg/book-sharp.svg +1 -1
- package/dist/stripe-elements/svg/book.svg +1 -1
- package/dist/stripe-elements/svg/bookmark-outline.svg +1 -1
- package/dist/stripe-elements/svg/bookmark-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bookmark.svg +1 -1
- package/dist/stripe-elements/svg/bookmarks-outline.svg +1 -1
- package/dist/stripe-elements/svg/bookmarks-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bookmarks.svg +1 -1
- package/dist/stripe-elements/svg/bowling-ball-outline.svg +1 -1
- package/dist/stripe-elements/svg/bowling-ball-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bowling-ball.svg +1 -1
- package/dist/stripe-elements/svg/briefcase-outline.svg +1 -1
- package/dist/stripe-elements/svg/briefcase-sharp.svg +1 -1
- package/dist/stripe-elements/svg/briefcase.svg +1 -1
- package/dist/stripe-elements/svg/browsers-outline.svg +1 -1
- package/dist/stripe-elements/svg/browsers-sharp.svg +1 -1
- package/dist/stripe-elements/svg/browsers.svg +1 -1
- package/dist/stripe-elements/svg/brush-outline.svg +1 -1
- package/dist/stripe-elements/svg/brush-sharp.svg +1 -1
- package/dist/stripe-elements/svg/brush.svg +1 -1
- package/dist/stripe-elements/svg/bug-outline.svg +1 -1
- package/dist/stripe-elements/svg/bug-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bug.svg +1 -1
- package/dist/stripe-elements/svg/build-outline.svg +1 -1
- package/dist/stripe-elements/svg/build-sharp.svg +1 -1
- package/dist/stripe-elements/svg/build.svg +1 -1
- package/dist/stripe-elements/svg/bulb-outline.svg +1 -1
- package/dist/stripe-elements/svg/bulb-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bulb.svg +1 -1
- package/dist/stripe-elements/svg/bus-outline.svg +1 -1
- package/dist/stripe-elements/svg/bus-sharp.svg +1 -1
- package/dist/stripe-elements/svg/bus.svg +1 -1
- package/dist/stripe-elements/svg/business-outline.svg +1 -1
- package/dist/stripe-elements/svg/business-sharp.svg +1 -1
- package/dist/stripe-elements/svg/business.svg +1 -1
- package/dist/stripe-elements/svg/cafe-outline.svg +1 -1
- package/dist/stripe-elements/svg/cafe-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cafe.svg +1 -1
- package/dist/stripe-elements/svg/calculator-outline.svg +1 -1
- package/dist/stripe-elements/svg/calculator-sharp.svg +1 -1
- package/dist/stripe-elements/svg/calculator.svg +1 -1
- package/dist/stripe-elements/svg/calendar-clear-outline.svg +1 -1
- package/dist/stripe-elements/svg/calendar-clear-sharp.svg +1 -1
- package/dist/stripe-elements/svg/calendar-clear.svg +1 -1
- package/dist/stripe-elements/svg/calendar-number-outline.svg +1 -1
- package/dist/stripe-elements/svg/calendar-number-sharp.svg +1 -1
- package/dist/stripe-elements/svg/calendar-number.svg +1 -1
- package/dist/stripe-elements/svg/calendar-outline.svg +1 -1
- package/dist/stripe-elements/svg/calendar-sharp.svg +1 -1
- package/dist/stripe-elements/svg/calendar.svg +1 -1
- package/dist/stripe-elements/svg/call-outline.svg +1 -1
- package/dist/stripe-elements/svg/call-sharp.svg +1 -1
- package/dist/stripe-elements/svg/call.svg +1 -1
- package/dist/stripe-elements/svg/camera-outline.svg +1 -1
- package/dist/stripe-elements/svg/camera-reverse-outline.svg +1 -1
- package/dist/stripe-elements/svg/camera-reverse-sharp.svg +1 -1
- package/dist/stripe-elements/svg/camera-reverse.svg +1 -1
- package/dist/stripe-elements/svg/camera-sharp.svg +1 -1
- package/dist/stripe-elements/svg/camera.svg +1 -1
- package/dist/stripe-elements/svg/car-outline.svg +1 -1
- package/dist/stripe-elements/svg/car-sharp.svg +1 -1
- package/dist/stripe-elements/svg/car-sport-outline.svg +1 -1
- package/dist/stripe-elements/svg/car-sport-sharp.svg +1 -1
- package/dist/stripe-elements/svg/car-sport.svg +1 -1
- package/dist/stripe-elements/svg/car.svg +1 -1
- package/dist/stripe-elements/svg/card-outline.svg +1 -1
- package/dist/stripe-elements/svg/card-sharp.svg +1 -1
- package/dist/stripe-elements/svg/card.svg +1 -1
- package/dist/stripe-elements/svg/caret-back-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/caret-back-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/caret-back-circle.svg +1 -1
- package/dist/stripe-elements/svg/caret-back-outline.svg +1 -1
- package/dist/stripe-elements/svg/caret-back-sharp.svg +1 -1
- package/dist/stripe-elements/svg/caret-back.svg +1 -1
- package/dist/stripe-elements/svg/caret-down-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/caret-down-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/caret-down-circle.svg +1 -1
- package/dist/stripe-elements/svg/caret-down-outline.svg +1 -1
- package/dist/stripe-elements/svg/caret-down-sharp.svg +1 -1
- package/dist/stripe-elements/svg/caret-down.svg +1 -1
- package/dist/stripe-elements/svg/caret-forward-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/caret-forward-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/caret-forward-circle.svg +1 -1
- package/dist/stripe-elements/svg/caret-forward-outline.svg +1 -1
- package/dist/stripe-elements/svg/caret-forward-sharp.svg +1 -1
- package/dist/stripe-elements/svg/caret-forward.svg +1 -1
- package/dist/stripe-elements/svg/caret-up-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/caret-up-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/caret-up-circle.svg +1 -1
- package/dist/stripe-elements/svg/caret-up-outline.svg +1 -1
- package/dist/stripe-elements/svg/caret-up-sharp.svg +1 -1
- package/dist/stripe-elements/svg/caret-up.svg +1 -1
- package/dist/stripe-elements/svg/cart-outline.svg +1 -1
- package/dist/stripe-elements/svg/cart-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cart.svg +1 -1
- package/dist/stripe-elements/svg/cash-outline.svg +1 -1
- package/dist/stripe-elements/svg/cash-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cash.svg +1 -1
- package/dist/stripe-elements/svg/cellular-outline.svg +1 -1
- package/dist/stripe-elements/svg/cellular-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cellular.svg +1 -1
- package/dist/stripe-elements/svg/chatbox-ellipses-outline.svg +1 -1
- package/dist/stripe-elements/svg/chatbox-ellipses-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chatbox-ellipses.svg +1 -1
- package/dist/stripe-elements/svg/chatbox-outline.svg +1 -1
- package/dist/stripe-elements/svg/chatbox-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chatbox.svg +1 -1
- package/dist/stripe-elements/svg/chatbubble-ellipses-outline.svg +1 -1
- package/dist/stripe-elements/svg/chatbubble-ellipses-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chatbubble-ellipses.svg +1 -1
- package/dist/stripe-elements/svg/chatbubble-outline.svg +1 -1
- package/dist/stripe-elements/svg/chatbubble-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chatbubble.svg +1 -1
- package/dist/stripe-elements/svg/chatbubbles-outline.svg +1 -1
- package/dist/stripe-elements/svg/chatbubbles-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chatbubbles.svg +1 -1
- package/dist/stripe-elements/svg/checkbox-outline.svg +1 -1
- package/dist/stripe-elements/svg/checkbox-sharp.svg +1 -1
- package/dist/stripe-elements/svg/checkbox.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-circle.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-done-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-done-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-done-circle.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-done-outline.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-done-sharp.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-done.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-outline.svg +1 -1
- package/dist/stripe-elements/svg/checkmark-sharp.svg +1 -1
- package/dist/stripe-elements/svg/checkmark.svg +1 -1
- package/dist/stripe-elements/svg/chevron-back-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/chevron-back-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chevron-back-circle.svg +1 -1
- package/dist/stripe-elements/svg/chevron-back-outline.svg +1 -1
- package/dist/stripe-elements/svg/chevron-back-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chevron-back.svg +1 -1
- package/dist/stripe-elements/svg/chevron-collapse-outline.svg +1 -0
- package/dist/stripe-elements/svg/chevron-collapse-sharp.svg +1 -0
- package/dist/stripe-elements/svg/chevron-collapse.svg +1 -0
- package/dist/stripe-elements/svg/chevron-down-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/chevron-down-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chevron-down-circle.svg +1 -1
- package/dist/stripe-elements/svg/chevron-down-outline.svg +1 -1
- package/dist/stripe-elements/svg/chevron-down-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chevron-down.svg +1 -1
- package/dist/stripe-elements/svg/chevron-expand-outline.svg +1 -0
- package/dist/stripe-elements/svg/chevron-expand-sharp.svg +1 -0
- package/dist/stripe-elements/svg/chevron-expand.svg +1 -0
- package/dist/stripe-elements/svg/chevron-forward-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/chevron-forward-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chevron-forward-circle.svg +1 -1
- package/dist/stripe-elements/svg/chevron-forward-outline.svg +1 -1
- package/dist/stripe-elements/svg/chevron-forward-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chevron-forward.svg +1 -1
- package/dist/stripe-elements/svg/chevron-up-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/chevron-up-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chevron-up-circle.svg +1 -1
- package/dist/stripe-elements/svg/chevron-up-outline.svg +1 -1
- package/dist/stripe-elements/svg/chevron-up-sharp.svg +1 -1
- package/dist/stripe-elements/svg/chevron-up.svg +1 -1
- package/dist/stripe-elements/svg/clipboard-outline.svg +1 -1
- package/dist/stripe-elements/svg/clipboard-sharp.svg +1 -1
- package/dist/stripe-elements/svg/clipboard.svg +1 -1
- package/dist/stripe-elements/svg/close-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/close-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/close-circle.svg +1 -1
- package/dist/stripe-elements/svg/close-outline.svg +1 -1
- package/dist/stripe-elements/svg/close-sharp.svg +1 -1
- package/dist/stripe-elements/svg/close.svg +1 -1
- package/dist/stripe-elements/svg/cloud-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/cloud-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cloud-circle.svg +1 -1
- package/dist/stripe-elements/svg/cloud-done-outline.svg +1 -1
- package/dist/stripe-elements/svg/cloud-done-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cloud-done.svg +1 -1
- package/dist/stripe-elements/svg/cloud-download-outline.svg +1 -1
- package/dist/stripe-elements/svg/cloud-download-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cloud-download.svg +1 -1
- package/dist/stripe-elements/svg/cloud-offline-outline.svg +1 -1
- package/dist/stripe-elements/svg/cloud-offline-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cloud-offline.svg +1 -1
- package/dist/stripe-elements/svg/cloud-outline.svg +1 -1
- package/dist/stripe-elements/svg/cloud-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cloud-upload-outline.svg +1 -1
- package/dist/stripe-elements/svg/cloud-upload-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cloud-upload.svg +1 -1
- package/dist/stripe-elements/svg/cloud.svg +1 -1
- package/dist/stripe-elements/svg/cloudy-night-outline.svg +1 -1
- package/dist/stripe-elements/svg/cloudy-night-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cloudy-night.svg +1 -1
- package/dist/stripe-elements/svg/cloudy-outline.svg +1 -1
- package/dist/stripe-elements/svg/cloudy-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cloudy.svg +1 -1
- package/dist/stripe-elements/svg/code-download-outline.svg +1 -1
- package/dist/stripe-elements/svg/code-download-sharp.svg +1 -1
- package/dist/stripe-elements/svg/code-download.svg +1 -1
- package/dist/stripe-elements/svg/code-outline.svg +1 -1
- package/dist/stripe-elements/svg/code-sharp.svg +1 -1
- package/dist/stripe-elements/svg/code-slash-outline.svg +1 -1
- package/dist/stripe-elements/svg/code-slash-sharp.svg +1 -1
- package/dist/stripe-elements/svg/code-slash.svg +1 -1
- package/dist/stripe-elements/svg/code-working-outline.svg +1 -1
- package/dist/stripe-elements/svg/code-working-sharp.svg +1 -1
- package/dist/stripe-elements/svg/code-working.svg +1 -1
- package/dist/stripe-elements/svg/code.svg +1 -1
- package/dist/stripe-elements/svg/cog-outline.svg +1 -1
- package/dist/stripe-elements/svg/cog-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cog.svg +1 -1
- package/dist/stripe-elements/svg/color-fill-outline.svg +1 -1
- package/dist/stripe-elements/svg/color-fill-sharp.svg +1 -1
- package/dist/stripe-elements/svg/color-fill.svg +1 -1
- package/dist/stripe-elements/svg/color-filter-outline.svg +1 -1
- package/dist/stripe-elements/svg/color-filter-sharp.svg +1 -1
- package/dist/stripe-elements/svg/color-filter.svg +1 -1
- package/dist/stripe-elements/svg/color-palette-outline.svg +1 -1
- package/dist/stripe-elements/svg/color-palette-sharp.svg +1 -1
- package/dist/stripe-elements/svg/color-palette.svg +1 -1
- package/dist/stripe-elements/svg/color-wand-outline.svg +1 -1
- package/dist/stripe-elements/svg/color-wand-sharp.svg +1 -1
- package/dist/stripe-elements/svg/color-wand.svg +1 -1
- package/dist/stripe-elements/svg/compass-outline.svg +1 -1
- package/dist/stripe-elements/svg/compass-sharp.svg +1 -1
- package/dist/stripe-elements/svg/compass.svg +1 -1
- package/dist/stripe-elements/svg/construct-outline.svg +1 -1
- package/dist/stripe-elements/svg/construct-sharp.svg +1 -1
- package/dist/stripe-elements/svg/construct.svg +1 -1
- package/dist/stripe-elements/svg/contract-outline.svg +1 -1
- package/dist/stripe-elements/svg/contract-sharp.svg +1 -1
- package/dist/stripe-elements/svg/contract.svg +1 -1
- package/dist/stripe-elements/svg/contrast-outline.svg +1 -1
- package/dist/stripe-elements/svg/contrast-sharp.svg +1 -1
- package/dist/stripe-elements/svg/contrast.svg +1 -1
- package/dist/stripe-elements/svg/copy-outline.svg +1 -1
- package/dist/stripe-elements/svg/copy-sharp.svg +1 -1
- package/dist/stripe-elements/svg/copy.svg +1 -1
- package/dist/stripe-elements/svg/create-outline.svg +1 -1
- package/dist/stripe-elements/svg/create-sharp.svg +1 -1
- package/dist/stripe-elements/svg/create.svg +1 -1
- package/dist/stripe-elements/svg/crop-outline.svg +1 -1
- package/dist/stripe-elements/svg/crop-sharp.svg +1 -1
- package/dist/stripe-elements/svg/crop.svg +1 -1
- package/dist/stripe-elements/svg/cube-outline.svg +1 -1
- package/dist/stripe-elements/svg/cube-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cube.svg +1 -1
- package/dist/stripe-elements/svg/cut-outline.svg +1 -1
- package/dist/stripe-elements/svg/cut-sharp.svg +1 -1
- package/dist/stripe-elements/svg/cut.svg +1 -1
- package/dist/stripe-elements/svg/desktop-outline.svg +1 -1
- package/dist/stripe-elements/svg/desktop-sharp.svg +1 -1
- package/dist/stripe-elements/svg/desktop.svg +1 -1
- package/dist/stripe-elements/svg/diamond-outline.svg +1 -1
- package/dist/stripe-elements/svg/diamond-sharp.svg +1 -1
- package/dist/stripe-elements/svg/diamond.svg +1 -1
- package/dist/stripe-elements/svg/dice-outline.svg +1 -1
- package/dist/stripe-elements/svg/dice-sharp.svg +1 -1
- package/dist/stripe-elements/svg/dice.svg +1 -1
- package/dist/stripe-elements/svg/disc-outline.svg +1 -1
- package/dist/stripe-elements/svg/disc-sharp.svg +1 -1
- package/dist/stripe-elements/svg/disc.svg +1 -1
- package/dist/stripe-elements/svg/document-attach-outline.svg +1 -1
- package/dist/stripe-elements/svg/document-attach-sharp.svg +1 -1
- package/dist/stripe-elements/svg/document-attach.svg +1 -1
- package/dist/stripe-elements/svg/document-lock-outline.svg +1 -1
- package/dist/stripe-elements/svg/document-lock-sharp.svg +1 -1
- package/dist/stripe-elements/svg/document-lock.svg +1 -1
- package/dist/stripe-elements/svg/document-outline.svg +1 -1
- package/dist/stripe-elements/svg/document-sharp.svg +1 -1
- package/dist/stripe-elements/svg/document-text-outline.svg +1 -1
- package/dist/stripe-elements/svg/document-text-sharp.svg +1 -1
- package/dist/stripe-elements/svg/document-text.svg +1 -1
- package/dist/stripe-elements/svg/document.svg +1 -1
- package/dist/stripe-elements/svg/documents-outline.svg +1 -1
- package/dist/stripe-elements/svg/documents-sharp.svg +1 -1
- package/dist/stripe-elements/svg/documents.svg +1 -1
- package/dist/stripe-elements/svg/download-outline.svg +1 -1
- package/dist/stripe-elements/svg/download-sharp.svg +1 -1
- package/dist/stripe-elements/svg/download.svg +1 -1
- package/dist/stripe-elements/svg/duplicate-outline.svg +1 -1
- package/dist/stripe-elements/svg/duplicate-sharp.svg +1 -1
- package/dist/stripe-elements/svg/duplicate.svg +1 -1
- package/dist/stripe-elements/svg/ear-outline.svg +1 -1
- package/dist/stripe-elements/svg/ear-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ear.svg +1 -1
- package/dist/stripe-elements/svg/earth-outline.svg +1 -1
- package/dist/stripe-elements/svg/earth-sharp.svg +1 -1
- package/dist/stripe-elements/svg/earth.svg +1 -1
- package/dist/stripe-elements/svg/easel-outline.svg +1 -1
- package/dist/stripe-elements/svg/easel-sharp.svg +1 -1
- package/dist/stripe-elements/svg/easel.svg +1 -1
- package/dist/stripe-elements/svg/egg-outline.svg +1 -1
- package/dist/stripe-elements/svg/egg-sharp.svg +1 -1
- package/dist/stripe-elements/svg/egg.svg +1 -1
- package/dist/stripe-elements/svg/ellipse-outline.svg +1 -1
- package/dist/stripe-elements/svg/ellipse-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ellipse.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-horizontal-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-horizontal-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-horizontal-circle.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-horizontal-outline.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-horizontal-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-horizontal.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-vertical-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-vertical-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-vertical-circle.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-vertical-outline.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-vertical-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ellipsis-vertical.svg +1 -1
- package/dist/stripe-elements/svg/enter-outline.svg +1 -1
- package/dist/stripe-elements/svg/enter-sharp.svg +1 -1
- package/dist/stripe-elements/svg/enter.svg +1 -1
- package/dist/stripe-elements/svg/exit-outline.svg +1 -1
- package/dist/stripe-elements/svg/exit-sharp.svg +1 -1
- package/dist/stripe-elements/svg/exit.svg +1 -1
- package/dist/stripe-elements/svg/expand-outline.svg +1 -1
- package/dist/stripe-elements/svg/expand-sharp.svg +1 -1
- package/dist/stripe-elements/svg/expand.svg +1 -1
- package/dist/stripe-elements/svg/extension-puzzle-outline.svg +1 -1
- package/dist/stripe-elements/svg/extension-puzzle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/extension-puzzle.svg +1 -1
- package/dist/stripe-elements/svg/eye-off-outline.svg +1 -1
- package/dist/stripe-elements/svg/eye-off-sharp.svg +1 -1
- package/dist/stripe-elements/svg/eye-off.svg +1 -1
- package/dist/stripe-elements/svg/eye-outline.svg +1 -1
- package/dist/stripe-elements/svg/eye-sharp.svg +1 -1
- package/dist/stripe-elements/svg/eye.svg +1 -1
- package/dist/stripe-elements/svg/eyedrop-outline.svg +1 -1
- package/dist/stripe-elements/svg/eyedrop-sharp.svg +1 -1
- package/dist/stripe-elements/svg/eyedrop.svg +1 -1
- package/dist/stripe-elements/svg/fast-food-outline.svg +1 -1
- package/dist/stripe-elements/svg/fast-food-sharp.svg +1 -1
- package/dist/stripe-elements/svg/fast-food.svg +1 -1
- package/dist/stripe-elements/svg/female-outline.svg +1 -1
- package/dist/stripe-elements/svg/female-sharp.svg +1 -1
- package/dist/stripe-elements/svg/female.svg +1 -1
- package/dist/stripe-elements/svg/file-tray-full-outline.svg +1 -1
- package/dist/stripe-elements/svg/file-tray-full-sharp.svg +1 -1
- package/dist/stripe-elements/svg/file-tray-full.svg +1 -1
- package/dist/stripe-elements/svg/file-tray-outline.svg +1 -1
- package/dist/stripe-elements/svg/file-tray-sharp.svg +1 -1
- package/dist/stripe-elements/svg/file-tray-stacked-outline.svg +1 -1
- package/dist/stripe-elements/svg/file-tray-stacked-sharp.svg +1 -1
- package/dist/stripe-elements/svg/file-tray-stacked.svg +1 -1
- package/dist/stripe-elements/svg/file-tray.svg +1 -1
- package/dist/stripe-elements/svg/film-outline.svg +1 -1
- package/dist/stripe-elements/svg/film-sharp.svg +1 -1
- package/dist/stripe-elements/svg/film.svg +1 -1
- package/dist/stripe-elements/svg/filter-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/filter-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/filter-circle.svg +1 -1
- package/dist/stripe-elements/svg/filter-outline.svg +1 -1
- package/dist/stripe-elements/svg/filter-sharp.svg +1 -1
- package/dist/stripe-elements/svg/filter.svg +1 -1
- package/dist/stripe-elements/svg/finger-print-outline.svg +1 -1
- package/dist/stripe-elements/svg/finger-print-sharp.svg +1 -1
- package/dist/stripe-elements/svg/finger-print.svg +1 -1
- package/dist/stripe-elements/svg/fish-outline.svg +1 -1
- package/dist/stripe-elements/svg/fish-sharp.svg +1 -1
- package/dist/stripe-elements/svg/fish.svg +1 -1
- package/dist/stripe-elements/svg/fitness-outline.svg +1 -1
- package/dist/stripe-elements/svg/fitness-sharp.svg +1 -1
- package/dist/stripe-elements/svg/fitness.svg +1 -1
- package/dist/stripe-elements/svg/flag-outline.svg +1 -1
- package/dist/stripe-elements/svg/flag-sharp.svg +1 -1
- package/dist/stripe-elements/svg/flag.svg +1 -1
- package/dist/stripe-elements/svg/flame-outline.svg +1 -1
- package/dist/stripe-elements/svg/flame-sharp.svg +1 -1
- package/dist/stripe-elements/svg/flame.svg +1 -1
- package/dist/stripe-elements/svg/flash-off-outline.svg +1 -1
- package/dist/stripe-elements/svg/flash-off-sharp.svg +1 -1
- package/dist/stripe-elements/svg/flash-off.svg +1 -1
- package/dist/stripe-elements/svg/flash-outline.svg +1 -1
- package/dist/stripe-elements/svg/flash-sharp.svg +1 -1
- package/dist/stripe-elements/svg/flash.svg +1 -1
- package/dist/stripe-elements/svg/flashlight-outline.svg +1 -1
- package/dist/stripe-elements/svg/flashlight-sharp.svg +1 -1
- package/dist/stripe-elements/svg/flashlight.svg +1 -1
- package/dist/stripe-elements/svg/flask-outline.svg +1 -1
- package/dist/stripe-elements/svg/flask-sharp.svg +1 -1
- package/dist/stripe-elements/svg/flask.svg +1 -1
- package/dist/stripe-elements/svg/flower-outline.svg +1 -1
- package/dist/stripe-elements/svg/flower-sharp.svg +1 -1
- package/dist/stripe-elements/svg/flower.svg +1 -1
- package/dist/stripe-elements/svg/folder-open-outline.svg +1 -1
- package/dist/stripe-elements/svg/folder-open-sharp.svg +1 -1
- package/dist/stripe-elements/svg/folder-open.svg +1 -1
- package/dist/stripe-elements/svg/folder-outline.svg +1 -1
- package/dist/stripe-elements/svg/folder-sharp.svg +1 -1
- package/dist/stripe-elements/svg/folder.svg +1 -1
- package/dist/stripe-elements/svg/football-outline.svg +1 -1
- package/dist/stripe-elements/svg/football-sharp.svg +1 -1
- package/dist/stripe-elements/svg/football.svg +1 -1
- package/dist/stripe-elements/svg/footsteps-outline.svg +1 -1
- package/dist/stripe-elements/svg/footsteps-sharp.svg +1 -1
- package/dist/stripe-elements/svg/footsteps.svg +1 -1
- package/dist/stripe-elements/svg/funnel-outline.svg +1 -1
- package/dist/stripe-elements/svg/funnel-sharp.svg +1 -1
- package/dist/stripe-elements/svg/funnel.svg +1 -1
- package/dist/stripe-elements/svg/game-controller-outline.svg +1 -1
- package/dist/stripe-elements/svg/game-controller-sharp.svg +1 -1
- package/dist/stripe-elements/svg/game-controller.svg +1 -1
- package/dist/stripe-elements/svg/gift-outline.svg +1 -1
- package/dist/stripe-elements/svg/gift-sharp.svg +1 -1
- package/dist/stripe-elements/svg/gift.svg +1 -1
- package/dist/stripe-elements/svg/git-branch-outline.svg +1 -1
- package/dist/stripe-elements/svg/git-branch-sharp.svg +1 -1
- package/dist/stripe-elements/svg/git-branch.svg +1 -1
- package/dist/stripe-elements/svg/git-commit-outline.svg +1 -1
- package/dist/stripe-elements/svg/git-commit-sharp.svg +1 -1
- package/dist/stripe-elements/svg/git-commit.svg +1 -1
- package/dist/stripe-elements/svg/git-compare-outline.svg +1 -1
- package/dist/stripe-elements/svg/git-compare-sharp.svg +1 -1
- package/dist/stripe-elements/svg/git-compare.svg +1 -1
- package/dist/stripe-elements/svg/git-merge-outline.svg +1 -1
- package/dist/stripe-elements/svg/git-merge-sharp.svg +1 -1
- package/dist/stripe-elements/svg/git-merge.svg +1 -1
- package/dist/stripe-elements/svg/git-network-outline.svg +1 -1
- package/dist/stripe-elements/svg/git-network-sharp.svg +1 -1
- package/dist/stripe-elements/svg/git-network.svg +1 -1
- package/dist/stripe-elements/svg/git-pull-request-outline.svg +1 -1
- package/dist/stripe-elements/svg/git-pull-request-sharp.svg +1 -1
- package/dist/stripe-elements/svg/git-pull-request.svg +1 -1
- package/dist/stripe-elements/svg/glasses-outline.svg +1 -1
- package/dist/stripe-elements/svg/glasses-sharp.svg +1 -1
- package/dist/stripe-elements/svg/glasses.svg +1 -1
- package/dist/stripe-elements/svg/globe-outline.svg +1 -1
- package/dist/stripe-elements/svg/globe-sharp.svg +1 -1
- package/dist/stripe-elements/svg/globe.svg +1 -1
- package/dist/stripe-elements/svg/golf-outline.svg +1 -1
- package/dist/stripe-elements/svg/golf-sharp.svg +1 -1
- package/dist/stripe-elements/svg/golf.svg +1 -1
- package/dist/stripe-elements/svg/grid-outline.svg +1 -1
- package/dist/stripe-elements/svg/grid-sharp.svg +1 -1
- package/dist/stripe-elements/svg/grid.svg +1 -1
- package/dist/stripe-elements/svg/hammer-outline.svg +1 -1
- package/dist/stripe-elements/svg/hammer-sharp.svg +1 -1
- package/dist/stripe-elements/svg/hammer.svg +1 -1
- package/dist/stripe-elements/svg/hand-left-outline.svg +1 -1
- package/dist/stripe-elements/svg/hand-left-sharp.svg +1 -1
- package/dist/stripe-elements/svg/hand-left.svg +1 -1
- package/dist/stripe-elements/svg/hand-right-outline.svg +1 -1
- package/dist/stripe-elements/svg/hand-right-sharp.svg +1 -1
- package/dist/stripe-elements/svg/hand-right.svg +1 -1
- package/dist/stripe-elements/svg/happy-outline.svg +1 -1
- package/dist/stripe-elements/svg/happy-sharp.svg +1 -1
- package/dist/stripe-elements/svg/happy.svg +1 -1
- package/dist/stripe-elements/svg/hardware-chip-outline.svg +1 -1
- package/dist/stripe-elements/svg/hardware-chip-sharp.svg +1 -1
- package/dist/stripe-elements/svg/hardware-chip.svg +1 -1
- package/dist/stripe-elements/svg/headset-outline.svg +1 -1
- package/dist/stripe-elements/svg/headset-sharp.svg +1 -1
- package/dist/stripe-elements/svg/headset.svg +1 -1
- package/dist/stripe-elements/svg/heart-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/heart-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/heart-circle.svg +1 -1
- package/dist/stripe-elements/svg/heart-dislike-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/heart-dislike-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/heart-dislike-circle.svg +1 -1
- package/dist/stripe-elements/svg/heart-dislike-outline.svg +1 -1
- package/dist/stripe-elements/svg/heart-dislike-sharp.svg +1 -1
- package/dist/stripe-elements/svg/heart-dislike.svg +1 -1
- package/dist/stripe-elements/svg/heart-half-outline.svg +1 -1
- package/dist/stripe-elements/svg/heart-half-sharp.svg +1 -1
- package/dist/stripe-elements/svg/heart-half.svg +1 -1
- package/dist/stripe-elements/svg/heart-outline.svg +1 -1
- package/dist/stripe-elements/svg/heart-sharp.svg +1 -1
- package/dist/stripe-elements/svg/heart.svg +1 -1
- package/dist/stripe-elements/svg/help-buoy-outline.svg +1 -1
- package/dist/stripe-elements/svg/help-buoy-sharp.svg +1 -1
- package/dist/stripe-elements/svg/help-buoy.svg +1 -1
- package/dist/stripe-elements/svg/help-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/help-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/help-circle.svg +1 -1
- package/dist/stripe-elements/svg/help-outline.svg +1 -1
- package/dist/stripe-elements/svg/help-sharp.svg +1 -1
- package/dist/stripe-elements/svg/help.svg +1 -1
- package/dist/stripe-elements/svg/home-outline.svg +1 -1
- package/dist/stripe-elements/svg/home-sharp.svg +1 -1
- package/dist/stripe-elements/svg/home.svg +1 -1
- package/dist/stripe-elements/svg/hourglass-outline.svg +1 -1
- package/dist/stripe-elements/svg/hourglass-sharp.svg +1 -1
- package/dist/stripe-elements/svg/hourglass.svg +1 -1
- package/dist/stripe-elements/svg/ice-cream-outline.svg +1 -1
- package/dist/stripe-elements/svg/ice-cream-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ice-cream.svg +1 -1
- package/dist/stripe-elements/svg/id-card-outline.svg +1 -1
- package/dist/stripe-elements/svg/id-card-sharp.svg +1 -1
- package/dist/stripe-elements/svg/id-card.svg +1 -1
- package/dist/stripe-elements/svg/image-outline.svg +1 -1
- package/dist/stripe-elements/svg/image-sharp.svg +1 -1
- package/dist/stripe-elements/svg/image.svg +1 -1
- package/dist/stripe-elements/svg/images-outline.svg +1 -1
- package/dist/stripe-elements/svg/images-sharp.svg +1 -1
- package/dist/stripe-elements/svg/images.svg +1 -1
- package/dist/stripe-elements/svg/infinite-outline.svg +1 -1
- package/dist/stripe-elements/svg/infinite-sharp.svg +1 -1
- package/dist/stripe-elements/svg/infinite.svg +1 -1
- package/dist/stripe-elements/svg/information-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/information-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/information-circle.svg +1 -1
- package/dist/stripe-elements/svg/information-outline.svg +1 -1
- package/dist/stripe-elements/svg/information-sharp.svg +1 -1
- package/dist/stripe-elements/svg/information.svg +1 -1
- package/dist/stripe-elements/svg/invert-mode-outline.svg +1 -1
- package/dist/stripe-elements/svg/invert-mode-sharp.svg +1 -1
- package/dist/stripe-elements/svg/invert-mode.svg +1 -1
- package/dist/stripe-elements/svg/journal-outline.svg +1 -1
- package/dist/stripe-elements/svg/journal-sharp.svg +1 -1
- package/dist/stripe-elements/svg/journal.svg +1 -1
- package/dist/stripe-elements/svg/key-outline.svg +1 -1
- package/dist/stripe-elements/svg/key-sharp.svg +1 -1
- package/dist/stripe-elements/svg/key.svg +1 -1
- package/dist/stripe-elements/svg/keypad-outline.svg +1 -1
- package/dist/stripe-elements/svg/keypad-sharp.svg +1 -1
- package/dist/stripe-elements/svg/keypad.svg +1 -1
- package/dist/stripe-elements/svg/language-outline.svg +1 -1
- package/dist/stripe-elements/svg/language-sharp.svg +1 -1
- package/dist/stripe-elements/svg/language.svg +1 -1
- package/dist/stripe-elements/svg/laptop-outline.svg +1 -1
- package/dist/stripe-elements/svg/laptop-sharp.svg +1 -1
- package/dist/stripe-elements/svg/laptop.svg +1 -1
- package/dist/stripe-elements/svg/layers-outline.svg +1 -1
- package/dist/stripe-elements/svg/layers-sharp.svg +1 -1
- package/dist/stripe-elements/svg/layers.svg +1 -1
- package/dist/stripe-elements/svg/leaf-outline.svg +1 -1
- package/dist/stripe-elements/svg/leaf-sharp.svg +1 -1
- package/dist/stripe-elements/svg/leaf.svg +1 -1
- package/dist/stripe-elements/svg/library-outline.svg +1 -1
- package/dist/stripe-elements/svg/library-sharp.svg +1 -1
- package/dist/stripe-elements/svg/library.svg +1 -1
- package/dist/stripe-elements/svg/link-outline.svg +1 -1
- package/dist/stripe-elements/svg/link-sharp.svg +1 -1
- package/dist/stripe-elements/svg/link.svg +1 -1
- package/dist/stripe-elements/svg/list-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/list-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/list-circle.svg +1 -1
- package/dist/stripe-elements/svg/list-outline.svg +1 -1
- package/dist/stripe-elements/svg/list-sharp.svg +1 -1
- package/dist/stripe-elements/svg/list.svg +1 -1
- package/dist/stripe-elements/svg/locate-outline.svg +1 -1
- package/dist/stripe-elements/svg/locate-sharp.svg +1 -1
- package/dist/stripe-elements/svg/locate.svg +1 -1
- package/dist/stripe-elements/svg/location-outline.svg +1 -1
- package/dist/stripe-elements/svg/location-sharp.svg +1 -1
- package/dist/stripe-elements/svg/location.svg +1 -1
- package/dist/stripe-elements/svg/lock-closed-outline.svg +1 -1
- package/dist/stripe-elements/svg/lock-closed-sharp.svg +1 -1
- package/dist/stripe-elements/svg/lock-closed.svg +1 -1
- package/dist/stripe-elements/svg/lock-open-outline.svg +1 -1
- package/dist/stripe-elements/svg/lock-open-sharp.svg +1 -1
- package/dist/stripe-elements/svg/lock-open.svg +1 -1
- package/dist/stripe-elements/svg/log-in-outline.svg +1 -1
- package/dist/stripe-elements/svg/log-in-sharp.svg +1 -1
- package/dist/stripe-elements/svg/log-in.svg +1 -1
- package/dist/stripe-elements/svg/log-out-outline.svg +1 -1
- package/dist/stripe-elements/svg/log-out-sharp.svg +1 -1
- package/dist/stripe-elements/svg/log-out.svg +1 -1
- package/dist/stripe-elements/svg/logo-alipay.svg +1 -1
- package/dist/stripe-elements/svg/logo-amazon.svg +1 -1
- package/dist/stripe-elements/svg/logo-amplify.svg +1 -1
- package/dist/stripe-elements/svg/logo-android.svg +1 -1
- package/dist/stripe-elements/svg/logo-angular.svg +1 -1
- package/dist/stripe-elements/svg/logo-apple-appstore.svg +1 -1
- package/dist/stripe-elements/svg/logo-apple-ar.svg +1 -1
- package/dist/stripe-elements/svg/logo-apple.svg +1 -1
- package/dist/stripe-elements/svg/logo-behance.svg +1 -1
- package/dist/stripe-elements/svg/logo-bitbucket.svg +1 -1
- package/dist/stripe-elements/svg/logo-bitcoin.svg +1 -1
- package/dist/stripe-elements/svg/logo-buffer.svg +1 -1
- package/dist/stripe-elements/svg/logo-capacitor.svg +1 -1
- package/dist/stripe-elements/svg/logo-chrome.svg +1 -1
- package/dist/stripe-elements/svg/logo-closed-captioning.svg +1 -1
- package/dist/stripe-elements/svg/logo-codepen.svg +1 -1
- package/dist/stripe-elements/svg/logo-css3.svg +1 -1
- package/dist/stripe-elements/svg/logo-designernews.svg +1 -1
- package/dist/stripe-elements/svg/logo-deviantart.svg +1 -1
- package/dist/stripe-elements/svg/logo-discord.svg +1 -1
- package/dist/stripe-elements/svg/logo-docker.svg +1 -1
- package/dist/stripe-elements/svg/logo-dribbble.svg +1 -1
- package/dist/stripe-elements/svg/logo-dropbox.svg +1 -1
- package/dist/stripe-elements/svg/logo-edge.svg +1 -1
- package/dist/stripe-elements/svg/logo-electron.svg +1 -1
- package/dist/stripe-elements/svg/logo-euro.svg +1 -1
- package/dist/stripe-elements/svg/logo-facebook.svg +1 -1
- package/dist/stripe-elements/svg/logo-figma.svg +1 -1
- package/dist/stripe-elements/svg/logo-firebase.svg +1 -1
- package/dist/stripe-elements/svg/logo-firefox.svg +1 -1
- package/dist/stripe-elements/svg/logo-flickr.svg +1 -1
- package/dist/stripe-elements/svg/logo-foursquare.svg +1 -1
- package/dist/stripe-elements/svg/logo-github.svg +1 -1
- package/dist/stripe-elements/svg/logo-gitlab.svg +1 -1
- package/dist/stripe-elements/svg/logo-google-playstore.svg +1 -1
- package/dist/stripe-elements/svg/logo-google.svg +1 -1
- package/dist/stripe-elements/svg/logo-hackernews.svg +1 -1
- package/dist/stripe-elements/svg/logo-html5.svg +1 -1
- package/dist/stripe-elements/svg/logo-instagram.svg +1 -1
- package/dist/stripe-elements/svg/logo-ionic.svg +1 -1
- package/dist/stripe-elements/svg/logo-ionitron.svg +1 -1
- package/dist/stripe-elements/svg/logo-javascript.svg +1 -1
- package/dist/stripe-elements/svg/logo-laravel.svg +1 -1
- package/dist/stripe-elements/svg/logo-linkedin.svg +1 -1
- package/dist/stripe-elements/svg/logo-markdown.svg +1 -1
- package/dist/stripe-elements/svg/logo-mastodon.svg +1 -1
- package/dist/stripe-elements/svg/logo-medium.svg +1 -1
- package/dist/stripe-elements/svg/logo-microsoft.svg +1 -1
- package/dist/stripe-elements/svg/logo-no-smoking.svg +1 -1
- package/dist/stripe-elements/svg/logo-nodejs.svg +1 -1
- package/dist/stripe-elements/svg/logo-npm.svg +1 -1
- package/dist/stripe-elements/svg/logo-octocat.svg +1 -1
- package/dist/stripe-elements/svg/logo-paypal.svg +1 -1
- package/dist/stripe-elements/svg/logo-pinterest.svg +1 -1
- package/dist/stripe-elements/svg/logo-playstation.svg +1 -1
- package/dist/stripe-elements/svg/logo-pwa.svg +1 -1
- package/dist/stripe-elements/svg/logo-python.svg +1 -1
- package/dist/stripe-elements/svg/logo-react.svg +1 -1
- package/dist/stripe-elements/svg/logo-reddit.svg +1 -1
- package/dist/stripe-elements/svg/logo-rss.svg +1 -1
- package/dist/stripe-elements/svg/logo-sass.svg +1 -1
- package/dist/stripe-elements/svg/logo-skype.svg +1 -1
- package/dist/stripe-elements/svg/logo-slack.svg +1 -1
- package/dist/stripe-elements/svg/logo-snapchat.svg +1 -1
- package/dist/stripe-elements/svg/logo-soundcloud.svg +1 -1
- package/dist/stripe-elements/svg/logo-stackoverflow.svg +1 -1
- package/dist/stripe-elements/svg/logo-steam.svg +1 -1
- package/dist/stripe-elements/svg/logo-stencil.svg +1 -1
- package/dist/stripe-elements/svg/logo-tableau.svg +1 -1
- package/dist/stripe-elements/svg/logo-tiktok.svg +1 -1
- package/dist/stripe-elements/svg/logo-tumblr.svg +1 -1
- package/dist/stripe-elements/svg/logo-tux.svg +1 -1
- package/dist/stripe-elements/svg/logo-twitch.svg +1 -1
- package/dist/stripe-elements/svg/logo-twitter.svg +1 -1
- package/dist/stripe-elements/svg/logo-usd.svg +1 -1
- package/dist/stripe-elements/svg/logo-venmo.svg +1 -1
- package/dist/stripe-elements/svg/logo-vercel.svg +1 -1
- package/dist/stripe-elements/svg/logo-vimeo.svg +1 -1
- package/dist/stripe-elements/svg/logo-vk.svg +1 -1
- package/dist/stripe-elements/svg/logo-vue.svg +1 -1
- package/dist/stripe-elements/svg/logo-web-component.svg +1 -1
- package/dist/stripe-elements/svg/logo-wechat.svg +1 -1
- package/dist/stripe-elements/svg/logo-whatsapp.svg +1 -1
- package/dist/stripe-elements/svg/logo-windows.svg +1 -1
- package/dist/stripe-elements/svg/logo-wordpress.svg +1 -1
- package/dist/stripe-elements/svg/logo-xbox.svg +1 -1
- package/dist/stripe-elements/svg/logo-xing.svg +1 -1
- package/dist/stripe-elements/svg/logo-yahoo.svg +1 -1
- package/dist/stripe-elements/svg/logo-yen.svg +1 -1
- package/dist/stripe-elements/svg/logo-youtube.svg +1 -1
- package/dist/stripe-elements/svg/magnet-outline.svg +1 -1
- package/dist/stripe-elements/svg/magnet-sharp.svg +1 -1
- package/dist/stripe-elements/svg/magnet.svg +1 -1
- package/dist/stripe-elements/svg/mail-open-outline.svg +1 -1
- package/dist/stripe-elements/svg/mail-open-sharp.svg +1 -1
- package/dist/stripe-elements/svg/mail-open.svg +1 -1
- package/dist/stripe-elements/svg/mail-outline.svg +1 -1
- package/dist/stripe-elements/svg/mail-sharp.svg +1 -1
- package/dist/stripe-elements/svg/mail-unread-outline.svg +1 -1
- package/dist/stripe-elements/svg/mail-unread-sharp.svg +1 -1
- package/dist/stripe-elements/svg/mail-unread.svg +1 -1
- package/dist/stripe-elements/svg/mail.svg +1 -1
- package/dist/stripe-elements/svg/male-female-outline.svg +1 -1
- package/dist/stripe-elements/svg/male-female-sharp.svg +1 -1
- package/dist/stripe-elements/svg/male-female.svg +1 -1
- package/dist/stripe-elements/svg/male-outline.svg +1 -1
- package/dist/stripe-elements/svg/male-sharp.svg +1 -1
- package/dist/stripe-elements/svg/male.svg +1 -1
- package/dist/stripe-elements/svg/man-outline.svg +1 -1
- package/dist/stripe-elements/svg/man-sharp.svg +1 -1
- package/dist/stripe-elements/svg/man.svg +1 -1
- package/dist/stripe-elements/svg/map-outline.svg +1 -1
- package/dist/stripe-elements/svg/map-sharp.svg +1 -1
- package/dist/stripe-elements/svg/map.svg +1 -1
- package/dist/stripe-elements/svg/medal-outline.svg +1 -1
- package/dist/stripe-elements/svg/medal-sharp.svg +1 -1
- package/dist/stripe-elements/svg/medal.svg +1 -1
- package/dist/stripe-elements/svg/medical-outline.svg +1 -1
- package/dist/stripe-elements/svg/medical-sharp.svg +1 -1
- package/dist/stripe-elements/svg/medical.svg +1 -1
- package/dist/stripe-elements/svg/medkit-outline.svg +1 -1
- package/dist/stripe-elements/svg/medkit-sharp.svg +1 -1
- package/dist/stripe-elements/svg/medkit.svg +1 -1
- package/dist/stripe-elements/svg/megaphone-outline.svg +1 -1
- package/dist/stripe-elements/svg/megaphone-sharp.svg +1 -1
- package/dist/stripe-elements/svg/megaphone.svg +1 -1
- package/dist/stripe-elements/svg/menu-outline.svg +1 -1
- package/dist/stripe-elements/svg/menu-sharp.svg +1 -1
- package/dist/stripe-elements/svg/menu.svg +1 -1
- package/dist/stripe-elements/svg/mic-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/mic-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/mic-circle.svg +1 -1
- package/dist/stripe-elements/svg/mic-off-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/mic-off-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/mic-off-circle.svg +1 -1
- package/dist/stripe-elements/svg/mic-off-outline.svg +1 -1
- package/dist/stripe-elements/svg/mic-off-sharp.svg +1 -1
- package/dist/stripe-elements/svg/mic-off.svg +1 -1
- package/dist/stripe-elements/svg/mic-outline.svg +1 -1
- package/dist/stripe-elements/svg/mic-sharp.svg +1 -1
- package/dist/stripe-elements/svg/mic.svg +1 -1
- package/dist/stripe-elements/svg/moon-outline.svg +1 -1
- package/dist/stripe-elements/svg/moon-sharp.svg +1 -1
- package/dist/stripe-elements/svg/moon.svg +1 -1
- package/dist/stripe-elements/svg/move-outline.svg +1 -1
- package/dist/stripe-elements/svg/move-sharp.svg +1 -1
- package/dist/stripe-elements/svg/move.svg +1 -1
- package/dist/stripe-elements/svg/musical-note-outline.svg +1 -1
- package/dist/stripe-elements/svg/musical-note-sharp.svg +1 -1
- package/dist/stripe-elements/svg/musical-note.svg +1 -1
- package/dist/stripe-elements/svg/musical-notes-outline.svg +1 -1
- package/dist/stripe-elements/svg/musical-notes-sharp.svg +1 -1
- package/dist/stripe-elements/svg/musical-notes.svg +1 -1
- package/dist/stripe-elements/svg/navigate-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/navigate-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/navigate-circle.svg +1 -1
- package/dist/stripe-elements/svg/navigate-outline.svg +1 -1
- package/dist/stripe-elements/svg/navigate-sharp.svg +1 -1
- package/dist/stripe-elements/svg/navigate.svg +1 -1
- package/dist/stripe-elements/svg/newspaper-outline.svg +1 -1
- package/dist/stripe-elements/svg/newspaper-sharp.svg +1 -1
- package/dist/stripe-elements/svg/newspaper.svg +1 -1
- package/dist/stripe-elements/svg/notifications-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/notifications-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/notifications-circle.svg +1 -1
- package/dist/stripe-elements/svg/notifications-off-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/notifications-off-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/notifications-off-circle.svg +1 -1
- package/dist/stripe-elements/svg/notifications-off-outline.svg +1 -1
- package/dist/stripe-elements/svg/notifications-off-sharp.svg +1 -1
- package/dist/stripe-elements/svg/notifications-off.svg +1 -1
- package/dist/stripe-elements/svg/notifications-outline.svg +1 -1
- package/dist/stripe-elements/svg/notifications-sharp.svg +1 -1
- package/dist/stripe-elements/svg/notifications.svg +1 -1
- package/dist/stripe-elements/svg/nuclear-outline.svg +1 -1
- package/dist/stripe-elements/svg/nuclear-sharp.svg +1 -1
- package/dist/stripe-elements/svg/nuclear.svg +1 -1
- package/dist/stripe-elements/svg/nutrition-outline.svg +1 -1
- package/dist/stripe-elements/svg/nutrition-sharp.svg +1 -1
- package/dist/stripe-elements/svg/nutrition.svg +1 -1
- package/dist/stripe-elements/svg/open-outline.svg +1 -1
- package/dist/stripe-elements/svg/open-sharp.svg +1 -1
- package/dist/stripe-elements/svg/open.svg +1 -1
- package/dist/stripe-elements/svg/options-outline.svg +1 -1
- package/dist/stripe-elements/svg/options-sharp.svg +1 -1
- package/dist/stripe-elements/svg/options.svg +1 -1
- package/dist/stripe-elements/svg/paper-plane-outline.svg +1 -1
- package/dist/stripe-elements/svg/paper-plane-sharp.svg +1 -1
- package/dist/stripe-elements/svg/paper-plane.svg +1 -1
- package/dist/stripe-elements/svg/partly-sunny-outline.svg +1 -1
- package/dist/stripe-elements/svg/partly-sunny-sharp.svg +1 -1
- package/dist/stripe-elements/svg/partly-sunny.svg +1 -1
- package/dist/stripe-elements/svg/pause-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/pause-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pause-circle.svg +1 -1
- package/dist/stripe-elements/svg/pause-outline.svg +1 -1
- package/dist/stripe-elements/svg/pause-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pause.svg +1 -1
- package/dist/stripe-elements/svg/paw-outline.svg +1 -1
- package/dist/stripe-elements/svg/paw-sharp.svg +1 -1
- package/dist/stripe-elements/svg/paw.svg +1 -1
- package/dist/stripe-elements/svg/pencil-outline.svg +1 -1
- package/dist/stripe-elements/svg/pencil-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pencil.svg +1 -1
- package/dist/stripe-elements/svg/people-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/people-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/people-circle.svg +1 -1
- package/dist/stripe-elements/svg/people-outline.svg +1 -1
- package/dist/stripe-elements/svg/people-sharp.svg +1 -1
- package/dist/stripe-elements/svg/people.svg +1 -1
- package/dist/stripe-elements/svg/person-add-outline.svg +1 -1
- package/dist/stripe-elements/svg/person-add-sharp.svg +1 -1
- package/dist/stripe-elements/svg/person-add.svg +1 -1
- package/dist/stripe-elements/svg/person-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/person-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/person-circle.svg +1 -1
- package/dist/stripe-elements/svg/person-outline.svg +1 -1
- package/dist/stripe-elements/svg/person-remove-outline.svg +1 -1
- package/dist/stripe-elements/svg/person-remove-sharp.svg +1 -1
- package/dist/stripe-elements/svg/person-remove.svg +1 -1
- package/dist/stripe-elements/svg/person-sharp.svg +1 -1
- package/dist/stripe-elements/svg/person.svg +1 -1
- package/dist/stripe-elements/svg/phone-landscape-outline.svg +1 -1
- package/dist/stripe-elements/svg/phone-landscape-sharp.svg +1 -1
- package/dist/stripe-elements/svg/phone-landscape.svg +1 -1
- package/dist/stripe-elements/svg/phone-portrait-outline.svg +1 -1
- package/dist/stripe-elements/svg/phone-portrait-sharp.svg +1 -1
- package/dist/stripe-elements/svg/phone-portrait.svg +1 -1
- package/dist/stripe-elements/svg/pie-chart-outline.svg +1 -1
- package/dist/stripe-elements/svg/pie-chart-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pie-chart.svg +1 -1
- package/dist/stripe-elements/svg/pin-outline.svg +1 -1
- package/dist/stripe-elements/svg/pin-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pin.svg +1 -1
- package/dist/stripe-elements/svg/pint-outline.svg +1 -1
- package/dist/stripe-elements/svg/pint-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pint.svg +1 -1
- package/dist/stripe-elements/svg/pizza-outline.svg +1 -1
- package/dist/stripe-elements/svg/pizza-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pizza.svg +1 -1
- package/dist/stripe-elements/svg/planet-outline.svg +1 -1
- package/dist/stripe-elements/svg/planet-sharp.svg +1 -1
- package/dist/stripe-elements/svg/planet.svg +1 -1
- package/dist/stripe-elements/svg/play-back-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-back-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-back-circle.svg +1 -1
- package/dist/stripe-elements/svg/play-back-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-back-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-back.svg +1 -1
- package/dist/stripe-elements/svg/play-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-circle.svg +1 -1
- package/dist/stripe-elements/svg/play-forward-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-forward-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-forward-circle.svg +1 -1
- package/dist/stripe-elements/svg/play-forward-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-forward-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-forward.svg +1 -1
- package/dist/stripe-elements/svg/play-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-back-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-back-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-back-circle.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-back-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-back-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-back.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-forward-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-forward-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-forward-circle.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-forward-outline.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-forward-sharp.svg +1 -1
- package/dist/stripe-elements/svg/play-skip-forward.svg +1 -1
- package/dist/stripe-elements/svg/play.svg +1 -1
- package/dist/stripe-elements/svg/podium-outline.svg +1 -1
- package/dist/stripe-elements/svg/podium-sharp.svg +1 -1
- package/dist/stripe-elements/svg/podium.svg +1 -1
- package/dist/stripe-elements/svg/power-outline.svg +1 -1
- package/dist/stripe-elements/svg/power-sharp.svg +1 -1
- package/dist/stripe-elements/svg/power.svg +1 -1
- package/dist/stripe-elements/svg/pricetag-outline.svg +1 -1
- package/dist/stripe-elements/svg/pricetag-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pricetag.svg +1 -1
- package/dist/stripe-elements/svg/pricetags-outline.svg +1 -1
- package/dist/stripe-elements/svg/pricetags-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pricetags.svg +1 -1
- package/dist/stripe-elements/svg/print-outline.svg +1 -1
- package/dist/stripe-elements/svg/print-sharp.svg +1 -1
- package/dist/stripe-elements/svg/print.svg +1 -1
- package/dist/stripe-elements/svg/prism-outline.svg +1 -1
- package/dist/stripe-elements/svg/prism-sharp.svg +1 -1
- package/dist/stripe-elements/svg/prism.svg +1 -1
- package/dist/stripe-elements/svg/pulse-outline.svg +1 -1
- package/dist/stripe-elements/svg/pulse-sharp.svg +1 -1
- package/dist/stripe-elements/svg/pulse.svg +1 -1
- package/dist/stripe-elements/svg/push-outline.svg +1 -1
- package/dist/stripe-elements/svg/push-sharp.svg +1 -1
- package/dist/stripe-elements/svg/push.svg +1 -1
- package/dist/stripe-elements/svg/qr-code-outline.svg +1 -1
- package/dist/stripe-elements/svg/qr-code-sharp.svg +1 -1
- package/dist/stripe-elements/svg/qr-code.svg +1 -1
- package/dist/stripe-elements/svg/radio-button-off-outline.svg +1 -1
- package/dist/stripe-elements/svg/radio-button-off-sharp.svg +1 -1
- package/dist/stripe-elements/svg/radio-button-off.svg +1 -1
- package/dist/stripe-elements/svg/radio-button-on-outline.svg +1 -1
- package/dist/stripe-elements/svg/radio-button-on-sharp.svg +1 -1
- package/dist/stripe-elements/svg/radio-button-on.svg +1 -1
- package/dist/stripe-elements/svg/radio-outline.svg +1 -1
- package/dist/stripe-elements/svg/radio-sharp.svg +1 -1
- package/dist/stripe-elements/svg/radio.svg +1 -1
- package/dist/stripe-elements/svg/rainy-outline.svg +1 -1
- package/dist/stripe-elements/svg/rainy-sharp.svg +1 -1
- package/dist/stripe-elements/svg/rainy.svg +1 -1
- package/dist/stripe-elements/svg/reader-outline.svg +1 -1
- package/dist/stripe-elements/svg/reader-sharp.svg +1 -1
- package/dist/stripe-elements/svg/reader.svg +1 -1
- package/dist/stripe-elements/svg/receipt-outline.svg +1 -1
- package/dist/stripe-elements/svg/receipt-sharp.svg +1 -1
- package/dist/stripe-elements/svg/receipt.svg +1 -1
- package/dist/stripe-elements/svg/recording-outline.svg +1 -1
- package/dist/stripe-elements/svg/recording-sharp.svg +1 -1
- package/dist/stripe-elements/svg/recording.svg +1 -1
- package/dist/stripe-elements/svg/refresh-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/refresh-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/refresh-circle.svg +1 -1
- package/dist/stripe-elements/svg/refresh-outline.svg +1 -1
- package/dist/stripe-elements/svg/refresh-sharp.svg +1 -1
- package/dist/stripe-elements/svg/refresh.svg +1 -1
- package/dist/stripe-elements/svg/reload-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/reload-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/reload-circle.svg +1 -1
- package/dist/stripe-elements/svg/reload-outline.svg +1 -1
- package/dist/stripe-elements/svg/reload-sharp.svg +1 -1
- package/dist/stripe-elements/svg/reload.svg +1 -1
- package/dist/stripe-elements/svg/remove-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/remove-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/remove-circle.svg +1 -1
- package/dist/stripe-elements/svg/remove-outline.svg +1 -1
- package/dist/stripe-elements/svg/remove-sharp.svg +1 -1
- package/dist/stripe-elements/svg/remove.svg +1 -1
- package/dist/stripe-elements/svg/reorder-four-outline.svg +1 -1
- package/dist/stripe-elements/svg/reorder-four-sharp.svg +1 -1
- package/dist/stripe-elements/svg/reorder-four.svg +1 -1
- package/dist/stripe-elements/svg/reorder-three-outline.svg +1 -1
- package/dist/stripe-elements/svg/reorder-three-sharp.svg +1 -1
- package/dist/stripe-elements/svg/reorder-three.svg +1 -1
- package/dist/stripe-elements/svg/reorder-two-outline.svg +1 -1
- package/dist/stripe-elements/svg/reorder-two-sharp.svg +1 -1
- package/dist/stripe-elements/svg/reorder-two.svg +1 -1
- package/dist/stripe-elements/svg/repeat-outline.svg +1 -1
- package/dist/stripe-elements/svg/repeat-sharp.svg +1 -1
- package/dist/stripe-elements/svg/repeat.svg +1 -1
- package/dist/stripe-elements/svg/resize-outline.svg +1 -1
- package/dist/stripe-elements/svg/resize-sharp.svg +1 -1
- package/dist/stripe-elements/svg/resize.svg +1 -1
- package/dist/stripe-elements/svg/restaurant-outline.svg +1 -1
- package/dist/stripe-elements/svg/restaurant-sharp.svg +1 -1
- package/dist/stripe-elements/svg/restaurant.svg +1 -1
- package/dist/stripe-elements/svg/return-down-back-outline.svg +1 -1
- package/dist/stripe-elements/svg/return-down-back-sharp.svg +1 -1
- package/dist/stripe-elements/svg/return-down-back.svg +1 -1
- package/dist/stripe-elements/svg/return-down-forward-outline.svg +1 -1
- package/dist/stripe-elements/svg/return-down-forward-sharp.svg +1 -1
- package/dist/stripe-elements/svg/return-down-forward.svg +1 -1
- package/dist/stripe-elements/svg/return-up-back-outline.svg +1 -1
- package/dist/stripe-elements/svg/return-up-back-sharp.svg +1 -1
- package/dist/stripe-elements/svg/return-up-back.svg +1 -1
- package/dist/stripe-elements/svg/return-up-forward-outline.svg +1 -1
- package/dist/stripe-elements/svg/return-up-forward-sharp.svg +1 -1
- package/dist/stripe-elements/svg/return-up-forward.svg +1 -1
- package/dist/stripe-elements/svg/ribbon-outline.svg +1 -1
- package/dist/stripe-elements/svg/ribbon-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ribbon.svg +1 -1
- package/dist/stripe-elements/svg/rocket-outline.svg +1 -1
- package/dist/stripe-elements/svg/rocket-sharp.svg +1 -1
- package/dist/stripe-elements/svg/rocket.svg +1 -1
- package/dist/stripe-elements/svg/rose-outline.svg +1 -1
- package/dist/stripe-elements/svg/rose-sharp.svg +1 -1
- package/dist/stripe-elements/svg/rose.svg +1 -1
- package/dist/stripe-elements/svg/sad-outline.svg +1 -1
- package/dist/stripe-elements/svg/sad-sharp.svg +1 -1
- package/dist/stripe-elements/svg/sad.svg +1 -1
- package/dist/stripe-elements/svg/save-outline.svg +1 -1
- package/dist/stripe-elements/svg/save-sharp.svg +1 -1
- package/dist/stripe-elements/svg/save.svg +1 -1
- package/dist/stripe-elements/svg/scale-outline.svg +1 -1
- package/dist/stripe-elements/svg/scale-sharp.svg +1 -1
- package/dist/stripe-elements/svg/scale.svg +1 -1
- package/dist/stripe-elements/svg/scan-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/scan-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/scan-circle.svg +1 -1
- package/dist/stripe-elements/svg/scan-outline.svg +1 -1
- package/dist/stripe-elements/svg/scan-sharp.svg +1 -1
- package/dist/stripe-elements/svg/scan.svg +1 -1
- package/dist/stripe-elements/svg/school-outline.svg +1 -1
- package/dist/stripe-elements/svg/school-sharp.svg +1 -1
- package/dist/stripe-elements/svg/school.svg +1 -1
- package/dist/stripe-elements/svg/search-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/search-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/search-circle.svg +1 -1
- package/dist/stripe-elements/svg/search-outline.svg +1 -1
- package/dist/stripe-elements/svg/search-sharp.svg +1 -1
- package/dist/stripe-elements/svg/search.svg +1 -1
- package/dist/stripe-elements/svg/send-outline.svg +1 -1
- package/dist/stripe-elements/svg/send-sharp.svg +1 -1
- package/dist/stripe-elements/svg/send.svg +1 -1
- package/dist/stripe-elements/svg/server-outline.svg +1 -1
- package/dist/stripe-elements/svg/server-sharp.svg +1 -1
- package/dist/stripe-elements/svg/server.svg +1 -1
- package/dist/stripe-elements/svg/settings-outline.svg +1 -1
- package/dist/stripe-elements/svg/settings-sharp.svg +1 -1
- package/dist/stripe-elements/svg/settings.svg +1 -1
- package/dist/stripe-elements/svg/shapes-outline.svg +1 -1
- package/dist/stripe-elements/svg/shapes-sharp.svg +1 -1
- package/dist/stripe-elements/svg/shapes.svg +1 -1
- package/dist/stripe-elements/svg/share-outline.svg +1 -1
- package/dist/stripe-elements/svg/share-sharp.svg +1 -1
- package/dist/stripe-elements/svg/share-social-outline.svg +1 -1
- package/dist/stripe-elements/svg/share-social-sharp.svg +1 -1
- package/dist/stripe-elements/svg/share-social.svg +1 -1
- package/dist/stripe-elements/svg/share.svg +1 -1
- package/dist/stripe-elements/svg/shield-checkmark-outline.svg +1 -1
- package/dist/stripe-elements/svg/shield-checkmark-sharp.svg +1 -1
- package/dist/stripe-elements/svg/shield-checkmark.svg +1 -1
- package/dist/stripe-elements/svg/shield-half-outline.svg +1 -1
- package/dist/stripe-elements/svg/shield-half-sharp.svg +1 -1
- package/dist/stripe-elements/svg/shield-half.svg +1 -1
- package/dist/stripe-elements/svg/shield-outline.svg +1 -1
- package/dist/stripe-elements/svg/shield-sharp.svg +1 -1
- package/dist/stripe-elements/svg/shield.svg +1 -1
- package/dist/stripe-elements/svg/shirt-outline.svg +1 -1
- package/dist/stripe-elements/svg/shirt-sharp.svg +1 -1
- package/dist/stripe-elements/svg/shirt.svg +1 -1
- package/dist/stripe-elements/svg/shuffle-outline.svg +1 -1
- package/dist/stripe-elements/svg/shuffle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/shuffle.svg +1 -1
- package/dist/stripe-elements/svg/skull-outline.svg +1 -1
- package/dist/stripe-elements/svg/skull-sharp.svg +1 -1
- package/dist/stripe-elements/svg/skull.svg +1 -1
- package/dist/stripe-elements/svg/snow-outline.svg +1 -1
- package/dist/stripe-elements/svg/snow-sharp.svg +1 -1
- package/dist/stripe-elements/svg/snow.svg +1 -1
- package/dist/stripe-elements/svg/sparkles-outline.svg +1 -1
- package/dist/stripe-elements/svg/sparkles-sharp.svg +1 -1
- package/dist/stripe-elements/svg/sparkles.svg +1 -1
- package/dist/stripe-elements/svg/speedometer-outline.svg +1 -1
- package/dist/stripe-elements/svg/speedometer-sharp.svg +1 -1
- package/dist/stripe-elements/svg/speedometer.svg +1 -1
- package/dist/stripe-elements/svg/square-outline.svg +1 -1
- package/dist/stripe-elements/svg/square-sharp.svg +1 -1
- package/dist/stripe-elements/svg/square.svg +1 -1
- package/dist/stripe-elements/svg/star-half-outline.svg +1 -1
- package/dist/stripe-elements/svg/star-half-sharp.svg +1 -1
- package/dist/stripe-elements/svg/star-half.svg +1 -1
- package/dist/stripe-elements/svg/star-outline.svg +1 -1
- package/dist/stripe-elements/svg/star-sharp.svg +1 -1
- package/dist/stripe-elements/svg/star.svg +1 -1
- package/dist/stripe-elements/svg/stats-chart-outline.svg +1 -1
- package/dist/stripe-elements/svg/stats-chart-sharp.svg +1 -1
- package/dist/stripe-elements/svg/stats-chart.svg +1 -1
- package/dist/stripe-elements/svg/stop-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/stop-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/stop-circle.svg +1 -1
- package/dist/stripe-elements/svg/stop-outline.svg +1 -1
- package/dist/stripe-elements/svg/stop-sharp.svg +1 -1
- package/dist/stripe-elements/svg/stop.svg +1 -1
- package/dist/stripe-elements/svg/stopwatch-outline.svg +1 -1
- package/dist/stripe-elements/svg/stopwatch-sharp.svg +1 -1
- package/dist/stripe-elements/svg/stopwatch.svg +1 -1
- package/dist/stripe-elements/svg/storefront-outline.svg +1 -1
- package/dist/stripe-elements/svg/storefront-sharp.svg +1 -1
- package/dist/stripe-elements/svg/storefront.svg +1 -1
- package/dist/stripe-elements/svg/subway-outline.svg +1 -1
- package/dist/stripe-elements/svg/subway-sharp.svg +1 -1
- package/dist/stripe-elements/svg/subway.svg +1 -1
- package/dist/stripe-elements/svg/sunny-outline.svg +1 -1
- package/dist/stripe-elements/svg/sunny-sharp.svg +1 -1
- package/dist/stripe-elements/svg/sunny.svg +1 -1
- package/dist/stripe-elements/svg/swap-horizontal-outline.svg +1 -1
- package/dist/stripe-elements/svg/swap-horizontal-sharp.svg +1 -1
- package/dist/stripe-elements/svg/swap-horizontal.svg +1 -1
- package/dist/stripe-elements/svg/swap-vertical-outline.svg +1 -1
- package/dist/stripe-elements/svg/swap-vertical-sharp.svg +1 -1
- package/dist/stripe-elements/svg/swap-vertical.svg +1 -1
- package/dist/stripe-elements/svg/sync-circle-outline.svg +1 -1
- package/dist/stripe-elements/svg/sync-circle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/sync-circle.svg +1 -1
- package/dist/stripe-elements/svg/sync-outline.svg +1 -1
- package/dist/stripe-elements/svg/sync-sharp.svg +1 -1
- package/dist/stripe-elements/svg/sync.svg +1 -1
- package/dist/stripe-elements/svg/tablet-landscape-outline.svg +1 -1
- package/dist/stripe-elements/svg/tablet-landscape-sharp.svg +1 -1
- package/dist/stripe-elements/svg/tablet-landscape.svg +1 -1
- package/dist/stripe-elements/svg/tablet-portrait-outline.svg +1 -1
- package/dist/stripe-elements/svg/tablet-portrait-sharp.svg +1 -1
- package/dist/stripe-elements/svg/tablet-portrait.svg +1 -1
- package/dist/stripe-elements/svg/telescope-outline.svg +1 -1
- package/dist/stripe-elements/svg/telescope-sharp.svg +1 -1
- package/dist/stripe-elements/svg/telescope.svg +1 -1
- package/dist/stripe-elements/svg/tennisball-outline.svg +1 -1
- package/dist/stripe-elements/svg/tennisball-sharp.svg +1 -1
- package/dist/stripe-elements/svg/tennisball.svg +1 -1
- package/dist/stripe-elements/svg/terminal-outline.svg +1 -1
- package/dist/stripe-elements/svg/terminal-sharp.svg +1 -1
- package/dist/stripe-elements/svg/terminal.svg +1 -1
- package/dist/stripe-elements/svg/text-outline.svg +1 -1
- package/dist/stripe-elements/svg/text-sharp.svg +1 -1
- package/dist/stripe-elements/svg/text.svg +1 -1
- package/dist/stripe-elements/svg/thermometer-outline.svg +1 -1
- package/dist/stripe-elements/svg/thermometer-sharp.svg +1 -1
- package/dist/stripe-elements/svg/thermometer.svg +1 -1
- package/dist/stripe-elements/svg/thumbs-down-outline.svg +1 -1
- package/dist/stripe-elements/svg/thumbs-down-sharp.svg +1 -1
- package/dist/stripe-elements/svg/thumbs-down.svg +1 -1
- package/dist/stripe-elements/svg/thumbs-up-outline.svg +1 -1
- package/dist/stripe-elements/svg/thumbs-up-sharp.svg +1 -1
- package/dist/stripe-elements/svg/thumbs-up.svg +1 -1
- package/dist/stripe-elements/svg/thunderstorm-outline.svg +1 -1
- package/dist/stripe-elements/svg/thunderstorm-sharp.svg +1 -1
- package/dist/stripe-elements/svg/thunderstorm.svg +1 -1
- package/dist/stripe-elements/svg/ticket-outline.svg +1 -1
- package/dist/stripe-elements/svg/ticket-sharp.svg +1 -1
- package/dist/stripe-elements/svg/ticket.svg +1 -1
- package/dist/stripe-elements/svg/time-outline.svg +1 -1
- package/dist/stripe-elements/svg/time-sharp.svg +1 -1
- package/dist/stripe-elements/svg/time.svg +1 -1
- package/dist/stripe-elements/svg/timer-outline.svg +1 -1
- package/dist/stripe-elements/svg/timer-sharp.svg +1 -1
- package/dist/stripe-elements/svg/timer.svg +1 -1
- package/dist/stripe-elements/svg/today-outline.svg +1 -1
- package/dist/stripe-elements/svg/today-sharp.svg +1 -1
- package/dist/stripe-elements/svg/today.svg +1 -1
- package/dist/stripe-elements/svg/toggle-outline.svg +1 -1
- package/dist/stripe-elements/svg/toggle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/toggle.svg +1 -1
- package/dist/stripe-elements/svg/trail-sign-outline.svg +1 -1
- package/dist/stripe-elements/svg/trail-sign-sharp.svg +1 -1
- package/dist/stripe-elements/svg/trail-sign.svg +1 -1
- package/dist/stripe-elements/svg/train-outline.svg +1 -1
- package/dist/stripe-elements/svg/train-sharp.svg +1 -1
- package/dist/stripe-elements/svg/train.svg +1 -1
- package/dist/stripe-elements/svg/transgender-outline.svg +1 -1
- package/dist/stripe-elements/svg/transgender-sharp.svg +1 -1
- package/dist/stripe-elements/svg/transgender.svg +1 -1
- package/dist/stripe-elements/svg/trash-bin-outline.svg +1 -1
- package/dist/stripe-elements/svg/trash-bin-sharp.svg +1 -1
- package/dist/stripe-elements/svg/trash-bin.svg +1 -1
- package/dist/stripe-elements/svg/trash-outline.svg +1 -1
- package/dist/stripe-elements/svg/trash-sharp.svg +1 -1
- package/dist/stripe-elements/svg/trash.svg +1 -1
- package/dist/stripe-elements/svg/trending-down-outline.svg +1 -1
- package/dist/stripe-elements/svg/trending-down-sharp.svg +1 -1
- package/dist/stripe-elements/svg/trending-down.svg +1 -1
- package/dist/stripe-elements/svg/trending-up-outline.svg +1 -1
- package/dist/stripe-elements/svg/trending-up-sharp.svg +1 -1
- package/dist/stripe-elements/svg/trending-up.svg +1 -1
- package/dist/stripe-elements/svg/triangle-outline.svg +1 -1
- package/dist/stripe-elements/svg/triangle-sharp.svg +1 -1
- package/dist/stripe-elements/svg/triangle.svg +1 -1
- package/dist/stripe-elements/svg/trophy-outline.svg +1 -1
- package/dist/stripe-elements/svg/trophy-sharp.svg +1 -1
- package/dist/stripe-elements/svg/trophy.svg +1 -1
- package/dist/stripe-elements/svg/tv-outline.svg +1 -1
- package/dist/stripe-elements/svg/tv-sharp.svg +1 -1
- package/dist/stripe-elements/svg/tv.svg +1 -1
- package/dist/stripe-elements/svg/umbrella-outline.svg +1 -1
- package/dist/stripe-elements/svg/umbrella-sharp.svg +1 -1
- package/dist/stripe-elements/svg/umbrella.svg +1 -1
- package/dist/stripe-elements/svg/unlink-outline.svg +1 -1
- package/dist/stripe-elements/svg/unlink-sharp.svg +1 -1
- package/dist/stripe-elements/svg/unlink.svg +1 -1
- package/dist/stripe-elements/svg/videocam-off-outline.svg +1 -1
- package/dist/stripe-elements/svg/videocam-off-sharp.svg +1 -1
- package/dist/stripe-elements/svg/videocam-off.svg +1 -1
- package/dist/stripe-elements/svg/videocam-outline.svg +1 -1
- package/dist/stripe-elements/svg/videocam-sharp.svg +1 -1
- package/dist/stripe-elements/svg/videocam.svg +1 -1
- package/dist/stripe-elements/svg/volume-high-outline.svg +1 -1
- package/dist/stripe-elements/svg/volume-high-sharp.svg +1 -1
- package/dist/stripe-elements/svg/volume-high.svg +1 -1
- package/dist/stripe-elements/svg/volume-low-outline.svg +1 -1
- package/dist/stripe-elements/svg/volume-low-sharp.svg +1 -1
- package/dist/stripe-elements/svg/volume-low.svg +1 -1
- package/dist/stripe-elements/svg/volume-medium-outline.svg +1 -1
- package/dist/stripe-elements/svg/volume-medium-sharp.svg +1 -1
- package/dist/stripe-elements/svg/volume-medium.svg +1 -1
- package/dist/stripe-elements/svg/volume-mute-outline.svg +1 -1
- package/dist/stripe-elements/svg/volume-mute-sharp.svg +1 -1
- package/dist/stripe-elements/svg/volume-mute.svg +1 -1
- package/dist/stripe-elements/svg/volume-off-outline.svg +1 -1
- package/dist/stripe-elements/svg/volume-off-sharp.svg +1 -1
- package/dist/stripe-elements/svg/volume-off.svg +1 -1
- package/dist/stripe-elements/svg/walk-outline.svg +1 -1
- package/dist/stripe-elements/svg/walk-sharp.svg +1 -1
- package/dist/stripe-elements/svg/walk.svg +1 -1
- package/dist/stripe-elements/svg/wallet-outline.svg +1 -1
- package/dist/stripe-elements/svg/wallet-sharp.svg +1 -1
- package/dist/stripe-elements/svg/wallet.svg +1 -1
- package/dist/stripe-elements/svg/warning-outline.svg +1 -1
- package/dist/stripe-elements/svg/warning-sharp.svg +1 -1
- package/dist/stripe-elements/svg/warning.svg +1 -1
- package/dist/stripe-elements/svg/watch-outline.svg +1 -1
- package/dist/stripe-elements/svg/watch-sharp.svg +1 -1
- package/dist/stripe-elements/svg/watch.svg +1 -1
- package/dist/stripe-elements/svg/water-outline.svg +1 -1
- package/dist/stripe-elements/svg/water-sharp.svg +1 -1
- package/dist/stripe-elements/svg/water.svg +1 -1
- package/dist/stripe-elements/svg/wifi-outline.svg +1 -1
- package/dist/stripe-elements/svg/wifi-sharp.svg +1 -1
- package/dist/stripe-elements/svg/wifi.svg +1 -1
- package/dist/stripe-elements/svg/wine-outline.svg +1 -1
- package/dist/stripe-elements/svg/wine-sharp.svg +1 -1
- package/dist/stripe-elements/svg/wine.svg +1 -1
- package/dist/stripe-elements/svg/woman-outline.svg +1 -1
- package/dist/stripe-elements/svg/woman-sharp.svg +1 -1
- package/dist/stripe-elements/svg/woman.svg +1 -1
- package/dist/types/components.d.ts +3 -0
- package/dist/types/interfaces.d.ts +12 -12
- package/dist/types/stencil-public-runtime.d.ts +92 -19
- package/dist/types/utils/platform.d.ts +1 -1
- package/loader/index.d.ts +9 -0
- package/loader/package.json +1 -0
- package/package.json +24 -24
- package/dist/custom-elements/index.d.ts +0 -63
- package/dist/stripe-elements/p-3922cc8d.js +0 -2
- package/dist/stripe-elements/p-50848f78.entry.js +0 -1
- package/dist/stripe-elements/p-56a89bc1.js +0 -1
- package/dist/stripe-elements/p-61d8b918.entry.js +0 -1
- package/dist/stripe-elements/p-9232a32e.entry.js +0 -1
- package/dist/stripe-elements/p-cdf60a81.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as getAssetPath, r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { a as getAssetPath, r as registerInstance, h, H as Host, g as getElement } from './index-58f9666b.js';
|
|
2
2
|
|
|
3
3
|
let CACHED_MAP;
|
|
4
4
|
const getIconMap = () => {
|
|
@@ -106,6 +106,19 @@ const inheritAttributes = (el, attributes = []) => {
|
|
|
106
106
|
});
|
|
107
107
|
return attributeObject;
|
|
108
108
|
};
|
|
109
|
+
/**
|
|
110
|
+
* Returns `true` if the document or host element
|
|
111
|
+
* has a `dir` set to `rtl`. The host value will always
|
|
112
|
+
* take priority over the root document value.
|
|
113
|
+
*/
|
|
114
|
+
const isRTL = (hostEl) => {
|
|
115
|
+
if (hostEl) {
|
|
116
|
+
if (hostEl.dir !== '') {
|
|
117
|
+
return hostEl.dir.toLowerCase() === 'rtl';
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
|
|
121
|
+
};
|
|
109
122
|
|
|
110
123
|
const validateContent = (svgContent) => {
|
|
111
124
|
const div = document.createElement('div');
|
|
@@ -136,8 +149,8 @@ const isValid = (elm) => {
|
|
|
136
149
|
return false;
|
|
137
150
|
}
|
|
138
151
|
for (let i = 0; i < elm.attributes.length; i++) {
|
|
139
|
-
const
|
|
140
|
-
if (isStr(
|
|
152
|
+
const name = elm.attributes[i].name;
|
|
153
|
+
if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {
|
|
141
154
|
return false;
|
|
142
155
|
}
|
|
143
156
|
}
|
|
@@ -149,28 +162,52 @@ const isValid = (elm) => {
|
|
|
149
162
|
}
|
|
150
163
|
return true;
|
|
151
164
|
};
|
|
165
|
+
const isSvgDataUrl = (url) => url.startsWith('data:image/svg+xml');
|
|
166
|
+
const isEncodedDataUrl = (url) => url.indexOf(';utf8,') !== -1;
|
|
152
167
|
|
|
153
168
|
const ioniconContent = new Map();
|
|
154
169
|
const requests = new Map();
|
|
170
|
+
let parser;
|
|
155
171
|
const getSvgContent = (url, sanitize) => {
|
|
156
172
|
// see if we already have a request for this url
|
|
157
173
|
let req = requests.get(url);
|
|
158
174
|
if (!req) {
|
|
159
175
|
if (typeof fetch !== 'undefined' && typeof document !== 'undefined') {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
176
|
+
/**
|
|
177
|
+
* If the url is a data url of an svg, then try to parse it
|
|
178
|
+
* with the DOMParser. This works with content security policies enabled.
|
|
179
|
+
*/
|
|
180
|
+
if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {
|
|
181
|
+
if (!parser) {
|
|
182
|
+
/**
|
|
183
|
+
* Create an instance of the DOM parser. This creates a single
|
|
184
|
+
* parser instance for the entire app, which is more efficient.
|
|
185
|
+
*/
|
|
186
|
+
parser = new DOMParser();
|
|
187
|
+
}
|
|
188
|
+
const doc = parser.parseFromString(url, 'text/html');
|
|
189
|
+
const svg = doc.querySelector('svg');
|
|
190
|
+
if (svg) {
|
|
191
|
+
ioniconContent.set(url, svg.outerHTML);
|
|
169
192
|
}
|
|
170
|
-
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
193
|
+
return Promise.resolve();
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
// we don't already have a request
|
|
197
|
+
req = fetch(url).then((rsp) => {
|
|
198
|
+
if (rsp.ok) {
|
|
199
|
+
return rsp.text().then((svgContent) => {
|
|
200
|
+
if (svgContent && sanitize !== false) {
|
|
201
|
+
svgContent = validateContent(svgContent);
|
|
202
|
+
}
|
|
203
|
+
ioniconContent.set(url, svgContent || '');
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
ioniconContent.set(url, '');
|
|
207
|
+
});
|
|
208
|
+
// cache for the same requests
|
|
209
|
+
requests.set(url, req);
|
|
210
|
+
}
|
|
174
211
|
}
|
|
175
212
|
else {
|
|
176
213
|
// set to empty for ssr scenarios and resolve promise
|
|
@@ -181,7 +218,7 @@ const getSvgContent = (url, sanitize) => {
|
|
|
181
218
|
return req;
|
|
182
219
|
};
|
|
183
220
|
|
|
184
|
-
const iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
|
|
221
|
+
const iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{transform:scaleX(1)}}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
|
|
185
222
|
|
|
186
223
|
const Icon = class {
|
|
187
224
|
constructor(hostRef) {
|
|
@@ -205,10 +242,6 @@ const Icon = class {
|
|
|
205
242
|
* @default true
|
|
206
243
|
*/
|
|
207
244
|
this.sanitize = true;
|
|
208
|
-
this.hasAriaHidden = () => {
|
|
209
|
-
const { el } = this;
|
|
210
|
-
return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';
|
|
211
|
-
};
|
|
212
245
|
}
|
|
213
246
|
componentWillLoad() {
|
|
214
247
|
this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
|
|
@@ -259,37 +292,27 @@ const Icon = class {
|
|
|
259
292
|
}
|
|
260
293
|
}
|
|
261
294
|
}
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Come up with a default label
|
|
265
|
-
* in case user does not provide their own.
|
|
266
|
-
*/
|
|
267
|
-
if (label) {
|
|
268
|
-
this.ariaLabel = label.replace(/\-/g, ' ');
|
|
269
|
-
}
|
|
295
|
+
this.iconName = getName(this.name, this.icon, this.mode, this.ios, this.md);
|
|
270
296
|
}
|
|
271
297
|
render() {
|
|
272
|
-
const {
|
|
298
|
+
const { flipRtl, iconName, inheritedAttributes, el } = this;
|
|
273
299
|
const mode = this.mode || 'md';
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
* If developer wants to set their own aria-label, then
|
|
282
|
-
* inheritedAttributes down below will override whatever
|
|
283
|
-
* default label we have set.
|
|
284
|
-
*/
|
|
285
|
-
return (h(Host, Object.assign({ "aria-label": ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null, role: "img", class: Object.assign(Object.assign({ [mode]: true }, createColorClasses(this.color)), { [`icon-${this.size}`]: !!this.size, 'flip-rtl': !!flipRtl && this.el.ownerDocument.dir === 'rtl' }) }, inheritedAttributes), this.svgContent ? (h("div", { class: "icon-inner", innerHTML: this.svgContent })) : (h("div", { class: "icon-inner" }))));
|
|
300
|
+
// we have designated that arrows & chevrons should automatically flip (unless flip-rtl is set to false) because "back" is left in ltr and right in rtl, and "forward" is the opposite
|
|
301
|
+
const shouldAutoFlip = iconName
|
|
302
|
+
? (iconName.includes('arrow') || iconName.includes('chevron')) && flipRtl !== false
|
|
303
|
+
: false;
|
|
304
|
+
// if shouldBeFlippable is true, the icon should change direction when `dir` changes
|
|
305
|
+
const shouldBeFlippable = flipRtl || shouldAutoFlip;
|
|
306
|
+
return (h(Host, Object.assign({ role: "img", class: Object.assign(Object.assign({ [mode]: true }, createColorClasses(this.color)), { [`icon-${this.size}`]: !!this.size, 'flip-rtl': shouldBeFlippable, 'icon-rtl': shouldBeFlippable && isRTL(el) }) }, inheritedAttributes), this.svgContent ? (h("div", { class: "icon-inner", innerHTML: this.svgContent })) : (h("div", { class: "icon-inner" }))));
|
|
286
307
|
}
|
|
287
308
|
static get assetsDirs() { return ["svg"]; }
|
|
288
309
|
get el() { return getElement(this); }
|
|
289
310
|
static get watchers() { return {
|
|
290
311
|
"name": ["loadIcon"],
|
|
291
312
|
"src": ["loadIcon"],
|
|
292
|
-
"icon": ["loadIcon"]
|
|
313
|
+
"icon": ["loadIcon"],
|
|
314
|
+
"ios": ["loadIcon"],
|
|
315
|
+
"md": ["loadIcon"]
|
|
293
316
|
}; }
|
|
294
317
|
};
|
|
295
318
|
const getIonMode = () => (typeof document !== 'undefined' && document.documentElement.getAttribute('mode')) || 'md';
|
|
@@ -304,3 +327,5 @@ const createColorClasses = (color) => {
|
|
|
304
327
|
Icon.style = iconCss;
|
|
305
328
|
|
|
306
329
|
export { Icon as ion_icon };
|
|
330
|
+
|
|
331
|
+
//# sourceMappingURL=ion-icon.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ion-icon.entry.js","mappings":";;AACA,IAAI,UAAU,CAAC;AACR,MAAM,UAAU,GAAG,MAAM;AAChC,EAAE,IAAI,OAAO,MAAM,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Y,EAAE,CAAC,CAAC,CAAC,EAAE;GAC7Z;EAaD,WAAW,UAAU,KAAK,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE;;;;;;;;;;AAgO7C,MAAM,UAAU,GAAG,MAAM,CAAoB,OAAO,QAAQ,KAAK,WAAW,IAAI,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;AACvI,MAAM,kBAAkB,GAAG,CAAC,KAAK;EAC/B,OAAO,KAAK;MACR;MACA,WAAW,EAAE,IAAI;MACjB,CAAC,aAAa,KAAK,EAAE,GAAG,IAAI;KAC7B;MACC,IAAI,CAAC;AACX,CAAC,CAAC;;;;;","names":[],"sources":["./node_modules/ionicons/dist/collection/components/icon/utils.js","./node_modules/ionicons/dist/collection/components/icon/validate.js","./node_modules/ionicons/dist/collection/components/icon/request.js","./node_modules/ionicons/dist/collection/components/icon/icon.css?tag=ion-icon&encapsulation=shadow","./node_modules/ionicons/dist/collection/components/icon/icon.js"],"sourcesContent":["import { getAssetPath } from '@stencil/core';\nlet CACHED_MAP;\nexport const getIconMap = () => {\n if (typeof window === 'undefined') {\n return new Map();\n }\n else {\n if (!CACHED_MAP) {\n const win = window;\n win.Ionicons = win.Ionicons || {};\n CACHED_MAP = win.Ionicons.map = win.Ionicons.map || new Map();\n }\n return CACHED_MAP;\n }\n};\nexport const addIcons = (icons) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n};\nexport const getUrl = (i) => {\n let url = getSrc(i.src);\n if (url) {\n return url;\n }\n url = getName(i.name, i.icon, i.mode, i.ios, i.md);\n if (url) {\n return getNamedUrl(url);\n }\n if (i.icon) {\n url = getSrc(i.icon);\n if (url) {\n return url;\n }\n url = getSrc(i.icon[i.mode]);\n if (url) {\n return url;\n }\n }\n return null;\n};\nconst getNamedUrl = (iconName) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n return getAssetPath(`svg/${iconName}.svg`);\n};\nexport const getName = (iconName, icon, mode, ios, md) => {\n // default to \"md\" if somehow the mode wasn't set\n mode = (mode && toLower(mode)) === 'ios' ? 'ios' : 'md';\n // if an icon was passed in using the ios or md attributes\n // set the iconName to whatever was passed in\n if (ios && mode === 'ios') {\n iconName = toLower(ios);\n }\n else if (md && mode === 'md') {\n iconName = toLower(md);\n }\n else {\n if (!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n }\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n // only allow alpha characters and dash\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi, '');\n if (invalidChars !== '') {\n return null;\n }\n return iconName;\n};\nexport const getSrc = (src) => {\n if (isStr(src)) {\n src = src.trim();\n if (isSrc(src)) {\n return src;\n }\n }\n return null;\n};\nexport const isSrc = (str) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val) => typeof val === 'string';\nexport const toLower = (val) => val.toLowerCase();\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nexport const inheritAttributes = (el, attributes = []) => {\n const attributeObject = {};\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n return attributeObject;\n};\n/**\n * Returns `true` if the document or host element\n * has a `dir` set to `rtl`. The host value will always\n * take priority over the root document value.\n */\nexport const isRTL = (hostEl) => {\n if (hostEl) {\n if (hostEl.dir !== '') {\n return hostEl.dir.toLowerCase() === 'rtl';\n }\n }\n return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';\n};\n","import { isStr } from './utils';\nexport const validateContent = (svgContent) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-ion-icon').trim());\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm)) {\n return div.innerHTML;\n }\n }\n return '';\n};\nexport const isValid = (elm) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n for (let i = 0; i < elm.attributes.length; i++) {\n const name = elm.attributes[i].name;\n if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i])) {\n return false;\n }\n }\n }\n return true;\n};\nexport const isSvgDataUrl = (url) => url.startsWith('data:image/svg+xml');\nexport const isEncodedDataUrl = (url) => url.indexOf(';utf8,') !== -1;\n","import { isEncodedDataUrl, isSvgDataUrl, validateContent } from './validate';\nexport const ioniconContent = new Map();\nconst requests = new Map();\nlet parser;\nexport const getSvgContent = (url, sanitize) => {\n // see if we already have a request for this url\n let req = requests.get(url);\n if (!req) {\n if (typeof fetch !== 'undefined' && typeof document !== 'undefined') {\n /**\n * If the url is a data url of an svg, then try to parse it\n * with the DOMParser. This works with content security policies enabled.\n */\n if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {\n if (!parser) {\n /**\n * Create an instance of the DOM parser. This creates a single\n * parser instance for the entire app, which is more efficient.\n */\n parser = new DOMParser();\n }\n const doc = parser.parseFromString(url, 'text/html');\n const svg = doc.querySelector('svg');\n if (svg) {\n ioniconContent.set(url, svg.outerHTML);\n }\n return Promise.resolve();\n }\n else {\n // we don't already have a request\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n ioniconContent.set(url, svgContent || '');\n });\n }\n ioniconContent.set(url, '');\n });\n // cache for the same requests\n requests.set(url, req);\n }\n }\n else {\n // set to empty for ssr scenarios and resolve promise\n ioniconContent.set(url, '');\n return Promise.resolve();\n }\n }\n return req;\n};\n",":host {\n display: inline-block;\n\n width: 1em;\n height: 1em;\n\n contain: strict;\n\n fill: currentColor;\n\n box-sizing: content-box !important;\n}\n\n:host .ionicon {\n stroke: currentColor;\n}\n\n.ionicon-fill-none {\n fill: none;\n}\n\n.ionicon-stroke-width {\n stroke-width: 32px;\n stroke-width: var(--ionicon-stroke-width, 32px);\n}\n\n.icon-inner,\n.ionicon,\nsvg {\n display: block;\n\n height: 100%;\n width: 100%;\n}\n\n/* Icon RTL\n * -----------------------------------------------------------\n */\n \n/**\n * Safari <16.4 incorrectly reports\n * that it supports :dir(rtl) when it does not.\n * This @supports statement lets us target\n * WebKit browsers to apply the RTL fallback.\n * -webkit-named-image only exists on WebKit.\n * For WebKit browsers that do support :dir(rtl)\n * (i.e. Safari >= 16.4) then the :dir(rtl)\n * code farther down on the page will take\n * effect and override this fallback.\n */\n@supports (background: -webkit-named-image(i)) {\n :host(.icon-rtl) .icon-inner {\n transform: scaleX(-1);\n }\n}\n \n/**\n * Fallback for browsers that support\n * neither :host-context nor :dir.\n * The icon will not react to dir\n * changes, but it will at least\n * respect the dir on component load.\n */\n@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])) {\n :host(.icon-rtl) .icon-inner {\n transform: scaleX(-1);\n }\n}\n\n/* :host-context is supported in chromium; :dir is supported in safari & firefox */\n:host(.flip-rtl):host-context([dir='rtl']) .icon-inner {\n transform: scaleX(-1);\n}\n\n@supports selector(:dir(rtl)) {\n :host(.flip-rtl:dir(rtl)) .icon-inner {\n transform: scaleX(-1);\n }\n /**\n * This is needed for WebKit otherwise the fallback\n * will always cause the icon to be flipped if the document\n * loads in RTL.\n */\n :host(.flip-rtl:dir(ltr)) .icon-inner {\n transform: scaleX(1);\n }\n}\n\n/* Icon Sizes\n * -----------------------------------------------------------\n */\n\n:host(.icon-small) {\n font-size: 18px !important;\n}\n\n:host(.icon-large) {\n font-size: 32px !important;\n}\n\n/* Icon Colors\n * -----------------------------------------------------------\n */\n\n:host(.ion-color) {\n color: var(--ion-color-base) !important;\n}\n\n:host(.ion-color-primary) {\n --ion-color-base: var(--ion-color-primary, #3880ff);\n}\n\n:host(.ion-color-secondary) {\n --ion-color-base: var(--ion-color-secondary, #0cd1e8);\n}\n\n:host(.ion-color-tertiary) {\n --ion-color-base: var(--ion-color-tertiary, #f4a942);\n}\n\n:host(.ion-color-success) {\n --ion-color-base: var(--ion-color-success, #10dc60);\n}\n\n:host(.ion-color-warning) {\n --ion-color-base: var(--ion-color-warning, #ffce00);\n}\n\n:host(.ion-color-danger) {\n --ion-color-base: var(--ion-color-danger, #f14141);\n}\n\n:host(.ion-color-light) {\n --ion-color-base: var(--ion-color-light, #f4f5f8);\n}\n\n:host(.ion-color-medium) {\n --ion-color-base: var(--ion-color-medium, #989aa2);\n}\n\n:host(.ion-color-dark) {\n --ion-color-base: var(--ion-color-dark, #222428);\n}\n","import { Build, Host, h } from '@stencil/core';\nimport { getSvgContent, ioniconContent } from './request';\nimport { getName, getUrl, inheritAttributes, isRTL } from './utils';\nexport class Icon {\n constructor() {\n this.iconName = null;\n this.inheritedAttributes = {};\n this.isVisible = false;\n /**\n * The mode determines which platform styles to use.\n */\n this.mode = getIonMode();\n /**\n * If enabled, ion-icon will be loaded lazily when it's visible in the viewport.\n * Default, `false`.\n */\n this.lazy = false;\n /**\n * When set to `false`, SVG content that is HTTP fetched will not be checked\n * if the response SVG content has any `<script>` elements, or any attributes\n * that start with `on`, such as `onclick`.\n * @default true\n */\n this.sanitize = true;\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\n }\n connectedCallback() {\n // purposely do not return the promise here because loading\n // the svg file should not hold up loading the app\n // only load the svg if it's visible\n this.waitUntilVisible(this.el, '50px', () => {\n this.isVisible = true;\n this.loadIcon();\n });\n }\n disconnectedCallback() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n waitUntilVisible(el, rootMargin, cb) {\n if (Build.isBrowser && this.lazy && typeof window !== 'undefined' && window.IntersectionObserver) {\n const io = (this.io = new window.IntersectionObserver((data) => {\n if (data[0].isIntersecting) {\n io.disconnect();\n this.io = undefined;\n cb();\n }\n }, { rootMargin }));\n io.observe(el);\n }\n else {\n // browser doesn't support IntersectionObserver\n // so just fallback to always show it\n cb();\n }\n }\n loadIcon() {\n if (Build.isBrowser && this.isVisible) {\n const url = getUrl(this);\n if (url) {\n if (ioniconContent.has(url)) {\n // sync if it's already loaded\n this.svgContent = ioniconContent.get(url);\n }\n else {\n // async if it hasn't been loaded\n getSvgContent(url, this.sanitize).then(() => (this.svgContent = ioniconContent.get(url)));\n }\n }\n }\n this.iconName = getName(this.name, this.icon, this.mode, this.ios, this.md);\n }\n render() {\n const { flipRtl, iconName, inheritedAttributes, el } = this;\n const mode = this.mode || 'md';\n // we have designated that arrows & chevrons should automatically flip (unless flip-rtl is set to false) because \"back\" is left in ltr and right in rtl, and \"forward\" is the opposite\n const shouldAutoFlip = iconName\n ? (iconName.includes('arrow') || iconName.includes('chevron')) && flipRtl !== false\n : false;\n // if shouldBeFlippable is true, the icon should change direction when `dir` changes\n const shouldBeFlippable = flipRtl || shouldAutoFlip;\n return (h(Host, Object.assign({ role: \"img\", class: Object.assign(Object.assign({ [mode]: true }, createColorClasses(this.color)), { [`icon-${this.size}`]: !!this.size, 'flip-rtl': shouldBeFlippable, 'icon-rtl': shouldBeFlippable && isRTL(el) }) }, inheritedAttributes), Build.isBrowser && this.svgContent ? (h(\"div\", { class: \"icon-inner\", innerHTML: this.svgContent })) : (h(\"div\", { class: \"icon-inner\" }))));\n }\n static get is() { return \"ion-icon\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"icon.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"icon.css\"]\n };\n }\n static get assetsDirs() { return [\"svg\"]; }\n static get properties() {\n return {\n \"mode\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The mode determines which platform styles to use.\"\n },\n \"attribute\": \"mode\",\n \"reflect\": false,\n \"defaultValue\": \"getIonMode()\"\n },\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The color to use for the background of the item.\"\n },\n \"attribute\": \"color\",\n \"reflect\": false\n },\n \"ios\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies which icon to use on `ios` mode.\"\n },\n \"attribute\": \"ios\",\n \"reflect\": false\n },\n \"md\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies which icon to use on `md` mode.\"\n },\n \"attribute\": \"md\",\n \"reflect\": false\n },\n \"flipRtl\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies whether the icon should horizontally flip when `dir` is `\\\"rtl\\\"`.\"\n },\n \"attribute\": \"flip-rtl\",\n \"reflect\": false\n },\n \"name\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies which icon to use from the built-in set of icons.\"\n },\n \"attribute\": \"name\",\n \"reflect\": true\n },\n \"src\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the exact `src` of an SVG file to use.\"\n },\n \"attribute\": \"src\",\n \"reflect\": false\n },\n \"icon\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"A combination of both `name` and `src`. If a `src` url is detected\\nit will set the `src` property. Otherwise it assumes it's a built-in named\\nSVG and set the `name` property.\"\n },\n \"attribute\": \"icon\",\n \"reflect\": false\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the icon.\\nAvailable options are: `\\\"small\\\"` and `\\\"large\\\"`.\"\n },\n \"attribute\": \"size\",\n \"reflect\": false\n },\n \"lazy\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If enabled, ion-icon will be loaded lazily when it's visible in the viewport.\\nDefault, `false`.\"\n },\n \"attribute\": \"lazy\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"sanitize\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"true\"\n }],\n \"text\": \"When set to `false`, SVG content that is HTTP fetched will not be checked\\nif the response SVG content has any `<script>` elements, or any attributes\\nthat start with `on`, such as `onclick`.\"\n },\n \"attribute\": \"sanitize\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n }\n };\n }\n static get states() {\n return {\n \"svgContent\": {},\n \"isVisible\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"name\",\n \"methodName\": \"loadIcon\"\n }, {\n \"propName\": \"src\",\n \"methodName\": \"loadIcon\"\n }, {\n \"propName\": \"icon\",\n \"methodName\": \"loadIcon\"\n }, {\n \"propName\": \"ios\",\n \"methodName\": \"loadIcon\"\n }, {\n \"propName\": \"md\",\n \"methodName\": \"loadIcon\"\n }];\n }\n}\nconst getIonMode = () => (Build.isBrowser && typeof document !== 'undefined' && document.documentElement.getAttribute('mode')) || 'md';\nconst createColorClasses = (color) => {\n return color\n ? {\n 'ion-color': true,\n [`ion-color-${color}`]: true,\n }\n : null;\n};\n"],"version":3}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-58f9666b.js';
|
|
2
|
+
export { s as setNonce } from './index-58f9666b.js';
|
|
2
3
|
|
|
3
4
|
/*
|
|
4
|
-
Stencil Client Patch Esm
|
|
5
|
+
Stencil Client Patch Esm v3.3.1 | MIT Licensed | https://stenciljs.com
|
|
5
6
|
*/
|
|
6
7
|
const patchEsm = () => {
|
|
7
8
|
return promiseResolve();
|
|
@@ -10,8 +11,10 @@ const patchEsm = () => {
|
|
|
10
11
|
const defineCustomElements = (win, options) => {
|
|
11
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
13
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["ion-icon",[[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]
|
|
14
|
+
return bootstrapLazy([["ion-icon",[[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["stripe-payment-request-button",[[4,"stripe-payment-request-button",{"paymentMethodEventHandler":[16],"shippingOptionEventHandler":[16],"shippingAddressEventHandler":[16],"publishableKey":[1,"publishable-key"],"stripeAccount":[1,"stripe-account"],"applicationName":[1,"application-name"],"stripeDidLoaded":[1040],"loadStripeStatus":[32],"stripe":[32],"paymentRequestOption":[32],"isAvailable":[64],"setPaymentMethodEventHandler":[64],"setPaymentRequestShippingOptionEventHandler":[64],"setPaymentRequestShippingAddressEventHandler":[64],"setPaymentRequestOption":[64],"initStripe":[64]}]]],["stripe-payment_2",[[0,"stripe-payment",{"intentType":[1,"intent-type"],"zip":[4],"sheetTitle":[1,"sheet-title"],"buttonLabel":[1,"button-label"],"publishableKey":[1,"publishable-key"],"stripeAccount":[1,"stripe-account"],"applicationName":[1,"application-name"],"showLabel":[4,"show-label"],"intentClientSecret":[1,"intent-client-secret"],"shouldUseDefaultFormSubmitAction":[4,"should-use-default-form-submit-action"],"showPaymentRequestButton":[4,"show-payment-request-button"],"handleSubmit":[1040],"stripeDidLoaded":[1040],"loadStripeStatus":[32],"stripe":[32],"progress":[32],"errorMessage":[32],"zipCode":[32],"paymentRequestOption":[32],"initStripe":[64],"updateProgress":[64],"setErrorMessage":[64],"setPaymentRequestOption":[64]}],[1,"stripe-sheet",{"showCloseButton":[4,"show-close-button"],"open":[4],"toggleModal":[64],"openModal":[64],"closeModal":[64]}]]],["stripe-payment-sheet",[[0,"stripe-payment-sheet",{"publishableKey":[1,"publishable-key"],"stripeAccount":[1,"stripe-account"],"applicationName":[1,"application-name"],"showLabel":[4,"show-label"],"sheetTitle":[1,"sheet-title"],"buttonLabel":[1,"button-label"],"intentClientSecret":[1,"intent-client-secret"],"shouldUseDefaultFormSubmitAction":[4,"should-use-default-form-submit-action"],"intentType":[1,"intent-type"],"handleSubmit":[1040],"stripeDidLoaded":[1040],"showCloseButton":[4,"show-close-button"],"zip":[4],"open":[4],"getStripePaymentSheetElement":[64],"present":[64],"updateProgress":[64],"destroy":[64],"setPaymentRequestButton":[64]}]]]], options);
|
|
14
15
|
});
|
|
15
16
|
};
|
|
16
17
|
|
|
17
18
|
export { defineCustomElements };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"loader.js","mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,QAAQ,GAAG,MAAM;AAiBvB,IAAI,OAAO,cAAc,EAAE,CAAC;AAC5B,CAAC;;ACnBW,MAAC,oBAAoB,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK;AACtD,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;AAC9D,EAAE,OAAO,QAAQ,EAAE,CAAC,IAAI,CAAC,MAAM;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,GAAG,CAAC,CAAC;AACL;;;;","names":[],"sources":["./node_modules/@stencil/core/internal/client/patch-esm.js","@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Esm v3.3.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD } from '@stencil/core/internal/app-data';\nimport { CSS, plt, win, promiseResolve } from '@stencil/core';\nconst patchEsm = () => {\n // NOTE!! This fn cannot use async/await!\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n // @ts-ignore\n if (BUILD.cssVarShim && !(CSS && CSS.supports && CSS.supports('color', 'var(--c)'))) {\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-css-shim\" */ './css-shim.js').then(() => {\n if ((plt.$cssShim$ = win.__cssshim)) {\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n return plt.$cssShim$.i();\n }\n else {\n // for better minification\n return 0;\n }\n });\n }\n return promiseResolve();\n};\nexport { patchEsm };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchEsm } from '@stencil/core/internal/client/patch-esm';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = (win, options) => {\n if (typeof window === 'undefined') return Promise.resolve();\n return patchEsm().then(() => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n });\n};\n"],"version":3}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
1
|
+
var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},__assign.apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-58f9666b.js';
|
|
2
|
+
export { s as setNonce } from './index-58f9666b.js';
|
|
2
3
|
|
|
3
4
|
/*
|
|
4
|
-
Stencil Client Patch Browser
|
|
5
|
+
Stencil Client Patch Browser v3.3.1 | MIT Licensed | https://stenciljs.com
|
|
5
6
|
*/
|
|
6
7
|
const patchBrowser = () => {
|
|
7
8
|
const importMeta = import.meta.url;
|
|
8
9
|
const opts = {};
|
|
10
|
+
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
9
11
|
if (importMeta !== '') {
|
|
10
12
|
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
13
|
+
// TODO(STENCIL-661): Remove code related to the dynamic import shim
|
|
14
|
+
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
11
15
|
}
|
|
12
16
|
return promiseResolve(opts);
|
|
13
17
|
};
|
|
14
18
|
|
|
15
19
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["ion-icon",[[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]
|
|
20
|
+
return bootstrapLazy([["ion-icon",[[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["stripe-payment-request-button",[[4,"stripe-payment-request-button",{"paymentMethodEventHandler":[16],"shippingOptionEventHandler":[16],"shippingAddressEventHandler":[16],"publishableKey":[1,"publishable-key"],"stripeAccount":[1,"stripe-account"],"applicationName":[1,"application-name"],"stripeDidLoaded":[1040],"loadStripeStatus":[32],"stripe":[32],"paymentRequestOption":[32],"isAvailable":[64],"setPaymentMethodEventHandler":[64],"setPaymentRequestShippingOptionEventHandler":[64],"setPaymentRequestShippingAddressEventHandler":[64],"setPaymentRequestOption":[64],"initStripe":[64]}]]],["stripe-payment_2",[[0,"stripe-payment",{"intentType":[1,"intent-type"],"zip":[4],"sheetTitle":[1,"sheet-title"],"buttonLabel":[1,"button-label"],"publishableKey":[1,"publishable-key"],"stripeAccount":[1,"stripe-account"],"applicationName":[1,"application-name"],"showLabel":[4,"show-label"],"intentClientSecret":[1,"intent-client-secret"],"shouldUseDefaultFormSubmitAction":[4,"should-use-default-form-submit-action"],"showPaymentRequestButton":[4,"show-payment-request-button"],"handleSubmit":[1040],"stripeDidLoaded":[1040],"loadStripeStatus":[32],"stripe":[32],"progress":[32],"errorMessage":[32],"zipCode":[32],"paymentRequestOption":[32],"initStripe":[64],"updateProgress":[64],"setErrorMessage":[64],"setPaymentRequestOption":[64]}],[1,"stripe-sheet",{"showCloseButton":[4,"show-close-button"],"open":[4],"toggleModal":[64],"openModal":[64],"closeModal":[64]}]]],["stripe-payment-sheet",[[0,"stripe-payment-sheet",{"publishableKey":[1,"publishable-key"],"stripeAccount":[1,"stripe-account"],"applicationName":[1,"application-name"],"showLabel":[4,"show-label"],"sheetTitle":[1,"sheet-title"],"buttonLabel":[1,"button-label"],"intentClientSecret":[1,"intent-client-secret"],"shouldUseDefaultFormSubmitAction":[4,"should-use-default-form-submit-action"],"intentType":[1,"intent-type"],"handleSubmit":[1040],"stripeDidLoaded":[1040],"showCloseButton":[4,"show-close-button"],"zip":[4],"open":[4],"getStripePaymentSheetElement":[64],"present":[64],"updateProgress":[64],"destroy":[64],"setPaymentRequestButton":[64]}]]]], options);
|
|
17
21
|
});
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=stripe-elements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"stripe-elements.js","mappings":";;;AAAA;AACA;AACA;AAiBA,MAAM,YAAY,GAAG,MAAM;AAkC3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAgBlF;AACA,IAAI,IAAuB,UAAU,KAAK,EAAE,EAAE;AAC9C,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D;AACA;AACA,KAaK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACtFD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.3.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|
|
@@ -1,27 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { l as loadStripe } from './stripe.esm-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-58f9666b.js';
|
|
2
|
+
import { l as loadStripe } from './stripe.esm-bad47977.js';
|
|
3
3
|
|
|
4
4
|
const stripePaymentRequestButtonCss = ":host{display:block}";
|
|
5
5
|
|
|
6
6
|
const StripePaymentRequestButton = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.stripeLoaded = createEvent(this, "stripeLoaded", 7);
|
|
10
|
-
this.loadStripeStatus = '';
|
|
11
|
-
/**
|
|
12
|
-
* Overwrite the application name that registered
|
|
13
|
-
* For wrapper library (like Capacitor)
|
|
14
|
-
*/
|
|
15
|
-
this.applicationName = 'stripe-pwa-elements';
|
|
16
|
-
if (this.publishableKey !== undefined && this.paymentRequestOption !== undefined) {
|
|
17
|
-
this.initStripe(this.publishableKey, {
|
|
18
|
-
stripeAccount: this.stripeAccount,
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
this.loadStripeStatus = 'failure';
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
7
|
/**
|
|
26
8
|
* Check isAvailable ApplePay or GooglePay.
|
|
27
9
|
* If you run this method, you should run before initStripe.
|
|
@@ -74,6 +56,28 @@ const StripePaymentRequestButton = class {
|
|
|
74
56
|
}
|
|
75
57
|
this.stripeLoaded.emit(event);
|
|
76
58
|
}
|
|
59
|
+
constructor(hostRef) {
|
|
60
|
+
registerInstance(this, hostRef);
|
|
61
|
+
this.stripeLoaded = createEvent(this, "stripeLoaded", 7);
|
|
62
|
+
this.loadStripeStatus = '';
|
|
63
|
+
this.stripe = undefined;
|
|
64
|
+
this.paymentRequestOption = undefined;
|
|
65
|
+
this.paymentMethodEventHandler = undefined;
|
|
66
|
+
this.shippingOptionEventHandler = undefined;
|
|
67
|
+
this.shippingAddressEventHandler = undefined;
|
|
68
|
+
this.publishableKey = undefined;
|
|
69
|
+
this.stripeAccount = undefined;
|
|
70
|
+
this.applicationName = 'stripe-pwa-elements';
|
|
71
|
+
this.stripeDidLoaded = undefined;
|
|
72
|
+
if (this.publishableKey !== undefined && this.paymentRequestOption !== undefined) {
|
|
73
|
+
this.initStripe(this.publishableKey, {
|
|
74
|
+
stripeAccount: this.stripeAccount,
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.loadStripeStatus = 'failure';
|
|
79
|
+
}
|
|
80
|
+
}
|
|
77
81
|
/**
|
|
78
82
|
* @param option
|
|
79
83
|
* @private
|
|
@@ -171,3 +175,5 @@ const StripePaymentRequestButton = class {
|
|
|
171
175
|
StripePaymentRequestButton.style = stripePaymentRequestButtonCss;
|
|
172
176
|
|
|
173
177
|
export { StripePaymentRequestButton as stripe_payment_request_button };
|
|
178
|
+
|
|
179
|
+
//# sourceMappingURL=stripe-payment-request-button.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"stripe-payment-request-button.entry.js","mappings":";;;AAAA,MAAM,6BAA6B,GAAG,sBAAsB;;MCgB/C,0BAA0B;;;;;EAa9B,MAAM,WAAW,CAAC,IAA8B;IACrD,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,EAAE;MACrC,MAAM,2DAA2D,CAAC;KACnE;IAED,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,IAAI,CAAC,cAAc,EAAE;MACnD,aAAa,EAAE,IAAI,CAAC,aAAa;KAClC,CAAC,CAAC;IACH,MAAM,cAAc,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AE,CAAC;KACvB;GACF;EAED,MAAM;IACJ,QACE,EAAC,IAAI,QACH,WAAK,EAAE,EAAC,iBAAiB,IACvB,WAAK,EAAE,EAAC,wBAAwB,GAAO,CACnC,EACN,eAAa,CACR,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/stripe-payment-request-button/stripe-payment-request-button.css?tag=stripe-payment-request-button","./src/components/stripe-payment-request-button/stripe-payment-request-button.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Prop, h, State, Method, EventEmitter, Event, Host, Element } from '@stencil/core';\nimport { loadStripe, Stripe, PaymentRequestOptions } from '@stripe/stripe-js';\nimport {\n StripeDidLoadedHandler,\n StripeLoadedEvent,\n PaymentRequestShippingAddressEventHandler,\n PaymentRequestPaymentMethodEventHandler,\n PaymentRequestShippingOptionEventHandler,\n} from '../../interfaces';\nimport { PaymentRequestWallet } from '@stripe/stripe-js/types/stripe-js/payment-request';\n\n@Component({\n tag: 'stripe-payment-request-button',\n styleUrl: 'stripe-payment-request-button.css',\n shadow: false,\n})\nexport class StripePaymentRequestButton {\n @Element() el: HTMLStripePaymentRequestButtonElement;\n @State() loadStripeStatus: '' | 'loading' | 'success' | 'failure' = '';\n\n @State() stripe: Stripe;\n\n @State() paymentRequestOption?: PaymentRequestOptions;\n\n /**\n * Check isAvailable ApplePay or GooglePay.\n * If you run this method, you should run before initStripe.\n */\n @Method()\n public async isAvailable(type: 'applePay' | 'googlePay') {\n if (this.publishableKey === undefined) {\n throw 'You should run this method run, after set publishableKey.';\n }\n\n const stripe = await loadStripe(this.publishableKey, {\n stripeAccount: this.stripeAccount,\n });\n const paymentRequest = stripe.paymentRequest({\n country: 'US',\n currency: 'usd',\n total: {\n label: 'Demo total',\n amount: 1099,\n },\n disableWallets: ['applePay', 'googlePay', 'browserCard'].filter(method => method !== type) as PaymentRequestWallet[],\n });\n const paymentRequestSupport = await paymentRequest.canMakePayment();\n\n if (!paymentRequestSupport || (type === 'applePay' && !paymentRequestSupport[type]) || (type === 'googlePay' && !paymentRequestSupport[type])) {\n throw 'This device can not use.';\n }\n }\n\n /**\n * Set handler of the `paymentRequest.on('paymentmethod'` event.\n * @example\n * ```\n * element.setPaymentMethodEventHandler(async (event, stripe) => {\n * // Confirm the PaymentIntent with the payment method returned from the payment request.\n * const {error} = await stripe.confirmCardPayment(\n * paymentIntent.client_secret,\n * {\n * payment_method: event.paymentMethod.id,\n * shipping: {\n * name: event.shippingAddress.recipient,\n * phone: event.shippingAddress.phone,\n * address: {\n * line1: event.shippingAddress.addressLine[0],\n * city: event.shippingAddress.city,\n * postal_code: event.shippingAddress.postalCode,\n * state: event.shippingAddress.region,\n * country: event.shippingAddress.country,\n * },\n * },\n * },\n * {handleActions: false}\n * );\n * ```\n */\n @Prop() paymentMethodEventHandler?: PaymentRequestPaymentMethodEventHandler;\n\n /**\n * Register event handler for `paymentRequest.on('paymentmethod'` event.\n */\n @Method()\n public async setPaymentMethodEventHandler(handler: PaymentRequestPaymentMethodEventHandler) {\n this.paymentMethodEventHandler = handler;\n }\n\n /**\n * Set handler of the `paymentRequest.on('shippingoptionchange')` event\n * @example\n * ```\n * element.setPaymentRequestShippingOptionEventHandler(async (event, stripe) => {\n * event.updateWith({status: 'success'});\n * })\n * ```\n */\n @Prop() shippingOptionEventHandler?: PaymentRequestShippingOptionEventHandler;\n\n /**\n * Register event handler for `paymentRequest.on('shippingoptionchange'` event.\n */\n @Method()\n public async setPaymentRequestShippingOptionEventHandler(handler: PaymentRequestShippingOptionEventHandler) {\n this.shippingOptionEventHandler = handler;\n }\n\n /**\n * Set handler of the `paymentRequest.on('shippingaddresschange')` event\n * @example\n * ```\n * element.setPaymentRequestShippingAddressEventHandler(async (event, stripe) => {\n * const response = await store.updatePaymentIntentWithShippingCost(\n * paymentIntent.id,\n * store.getLineItems(),\n * event.shippingOption\n * );\n * })\n * ```\n */\n @Prop() shippingAddressEventHandler?: PaymentRequestShippingAddressEventHandler;\n\n /**\n * Register event handler for `paymentRequest.on('shippingaddresschange'` event.\n */\n @Method()\n public async setPaymentRequestShippingAddressEventHandler(handler: PaymentRequestShippingAddressEventHandler) {\n this.shippingAddressEventHandler = handler;\n }\n\n /**\n * Your Stripe publishable API key.\n */\n @Prop() publishableKey: string;\n\n /**\n * Optional. Making API calls for connected accounts\n * @info https://stripe.com/docs/connect/authentication\n */\n @Prop() stripeAccount: string;\n\n /**\n * Overwrite the application name that registered\n * For wrapper library (like Capacitor)\n */\n @Prop() applicationName = 'stripe-pwa-elements';\n\n /**\n * Stripe.js class loaded handler\n */\n @Prop({\n mutable: true,\n })\n stripeDidLoaded?: StripeDidLoadedHandler;\n /**\n * Stripe Client loaded event\n * @example\n * ```\n * stripeElement\n * .addEventListener('stripeLoaded', async ({ detail: {stripe} }) => {\n * stripe\n * .createSource({\n * type: 'ideal',\n * amount: 1099,\n * currency: 'eur',\n * owner: {\n * name: 'Jenny Rosen',\n * },\n * redirect: {\n * return_url: 'https://shop.example.com/crtA6B28E1',\n * },\n * })\n * .then(function(result) {\n * // Handle result.error or result.source\n * });\n * });\n * ```\n */\n @Event() stripeLoaded: EventEmitter<StripeLoadedEvent>;\n\n private stripeLoadedEventHandler() {\n const event: StripeLoadedEvent = {\n stripe: this.stripe,\n };\n\n if (this.stripeDidLoaded) {\n this.stripeDidLoaded(event);\n }\n\n this.stripeLoaded.emit(event);\n }\n\n constructor() {\n if (this.publishableKey !== undefined && this.paymentRequestOption !== undefined) {\n this.initStripe(this.publishableKey, {\n stripeAccount: this.stripeAccount,\n });\n } else {\n this.loadStripeStatus = 'failure';\n }\n }\n\n /**\n * @param option\n * @private\n */\n @Method()\n public async setPaymentRequestOption(option: PaymentRequestOptions) {\n this.paymentRequestOption = option;\n return this;\n }\n\n /**\n * Get Stripe.js, and initialize elements\n * @param publishableKey\n * @param options\n */\n @Method()\n public async initStripe(\n publishableKey: string,\n options: {\n showButton?: boolean;\n stripeAccount?: string;\n } = undefined,\n ) {\n this.loadStripeStatus = 'loading';\n loadStripe(publishableKey, {\n stripeAccount: options?.stripeAccount,\n })\n .then(stripe => {\n this.loadStripeStatus = 'success';\n stripe.registerAppInfo({\n name: this.applicationName,\n });\n this.stripe = stripe;\n return;\n })\n .catch(e => {\n console.log(e);\n this.loadStripeStatus = 'failure';\n return;\n })\n .then(() => {\n if (!this.stripe) {\n return;\n }\n\n // 後方互換のため、明確にfalseにしていないものはtrue扱い\n return this.initElement(!options?.showButton === false);\n })\n .then(() => {\n if (!this.stripe) {\n return;\n }\n\n this.stripeLoadedEventHandler();\n });\n }\n\n /**\n * Initialize Component using Stripe Element\n */\n private async initElement(showButton = true) {\n const paymentRequest = this.stripe.paymentRequest(this.paymentRequestOption);\n\n // Check if the Payment Request is available (or Apple Pay on the Web).\n const paymentRequestSupport = await paymentRequest.canMakePayment();\n\n if (!paymentRequestSupport) {\n throw 'paymentRequest is not support.';\n }\n\n if (this.paymentMethodEventHandler) {\n paymentRequest.on('paymentmethod', event => {\n this.paymentMethodEventHandler(event, this.stripe);\n });\n }\n\n if (this.shippingOptionEventHandler) {\n paymentRequest.on('shippingoptionchange', event => {\n this.shippingOptionEventHandler(event, this.stripe);\n });\n }\n\n if (this.shippingAddressEventHandler) {\n paymentRequest.on('shippingaddresschange', event => {\n this.shippingAddressEventHandler(event, this.stripe);\n });\n }\n\n if (showButton) {\n // Display the Pay button by mounting the Element in the DOM.\n const elements = this.stripe.elements();\n const paymentRequestButton = elements.create('paymentRequestButton', {\n paymentRequest,\n });\n const paymentRequestButtonElement: HTMLElement = this.el.querySelector('#payment-request-button');\n\n paymentRequestButton.mount(paymentRequestButtonElement);\n // Show the payment request section.\n this.el.querySelector('#payment-request').classList.add('visible');\n } else {\n /**\n * This method must be called as the result of a user interaction (for example, in a click handler).\n * https://stripe.com/docs/js/payment_request/show\n */\n paymentRequest.show();\n }\n }\n\n render() {\n return (\n <Host>\n <div id=\"payment-request\">\n <div id=\"payment-request-button\"></div>\n </div>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-58f9666b.js';
|
|
2
2
|
|
|
3
3
|
const stripePaymentSheetModalCss = ":host{display:block}";
|
|
4
4
|
|
|
@@ -6,37 +6,19 @@ const StripePaymentSheet = class {
|
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.closed = createEvent(this, "closed", 7);
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
this.publishableKey = undefined;
|
|
10
|
+
this.stripeAccount = undefined;
|
|
11
|
+
this.applicationName = undefined;
|
|
12
12
|
this.showLabel = false;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* And listen the 'formSubmit' event on the element
|
|
17
|
-
*/
|
|
13
|
+
this.sheetTitle = undefined;
|
|
14
|
+
this.buttonLabel = undefined;
|
|
15
|
+
this.intentClientSecret = undefined;
|
|
18
16
|
this.shouldUseDefaultFormSubmitAction = true;
|
|
19
|
-
/**
|
|
20
|
-
* Default submit handle type.
|
|
21
|
-
* If you want to use `setupIntent`, should update this attribute.
|
|
22
|
-
* @example
|
|
23
|
-
* ```
|
|
24
|
-
* <stripe-payment-sheet intent-type="setup" />
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
17
|
this.intentType = 'payment';
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
*/
|
|
18
|
+
this.handleSubmit = undefined;
|
|
19
|
+
this.stripeDidLoaded = undefined;
|
|
31
20
|
this.showCloseButton = true;
|
|
32
|
-
/**
|
|
33
|
-
* If true, show zip code field
|
|
34
|
-
*/
|
|
35
21
|
this.zip = true;
|
|
36
|
-
/**
|
|
37
|
-
* Modal state.
|
|
38
|
-
* If true, the modal will open
|
|
39
|
-
*/
|
|
40
22
|
this.open = false;
|
|
41
23
|
}
|
|
42
24
|
componentDidLoad() {
|
|
@@ -106,3 +88,5 @@ const StripePaymentSheet = class {
|
|
|
106
88
|
StripePaymentSheet.style = stripePaymentSheetModalCss;
|
|
107
89
|
|
|
108
90
|
export { StripePaymentSheet as stripe_payment_sheet };
|
|
91
|
+
|
|
92
|
+
//# sourceMappingURL=stripe-payment-sheet.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"stripe-payment-sheet.entry.js","mappings":";;AAAA,MAAM,0BAA0B,GAAG,sBAAsB;;MCQ5C,kBAAkB;;;;;;;qBAuBT,KAAK;;;;4CAgDkB,IAAI;sBAUd,SAAS;;;2BAqBhB,IAAI;eAKhB,IAAI;gBAMH,KAAK;;EAOpB,gBAAgB;IACd,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;IAEpD,KAAK,CAAC,gBAAgB,CAAC,OAAO,EAAE;MAC9B,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;KACpB,CAAC,CAAC;GACJ;;;;EAMM,MAAM,4BAA4B;IACvC,OAAO,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;GAChD;;;;EAMM,MAAM,OAAO;IAClB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAEjB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM;MACjC,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;MAE7D,YAAY,CAAC,gBAAgB,CAAC,YAAY,EAAE,OAAM,KAAK;QACrD,OAAO,CAAC,KAAK,CAAC,CAAC;OAChB,CAAC,CAAC;MACH,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,MAAM,EAAE,CAAC,CAAC;KACpD,CAAC,CAAC;GACJ;;;;EAMM,MAAM,cAAc,CAAC,QAAwB;IAClD,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,aAA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WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,eAAe,EAAE,IAAI,CAAC,eAAe,GACrB,CACL,EACf;GACH;;;;;;;","names":[],"sources":["./src/components/stripe-payment-sheet-modal/stripe-payment-sheet-modal.css?tag=stripe-payment-sheet","./src/components/stripe-payment-sheet-modal/stripe-payment-sheet-modal.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Prop, h, Method, Element, Event, EventEmitter } from '@stencil/core';\nimport { StripeDidLoadedHandler, FormSubmitHandler, ProgressStatus, PaymentRequestButtonOption, IntentType } from '../../interfaces';\n\n@Component({\n tag: 'stripe-payment-sheet',\n styleUrl: 'stripe-payment-sheet-modal.css',\n shadow: false,\n})\nexport class StripePaymentSheet {\n @Element() el: HTMLStripePaymentSheetElement;\n\n /**\n * Your Stripe publishable API key.\n */\n @Prop() publishableKey: string;\n\n /**\n * Optional. Making API calls for connected accounts\n * @info https://stripe.com/docs/connect/authentication\n */\n @Prop() stripeAccount: string;\n\n /**\n * Overwrite the application name that registered\n * For wrapper library (like Capacitor)\n */\n @Prop() applicationName: string;\n\n /**\n * Show the form label\n */\n @Prop() showLabel = false;\n\n /**\n * Payment sheet title\n * By default we recommended to use these string\n * - 'Add your payment information' -> PaymentSheet / PaymentFlow(Android)\n * - 'Add a card' -> PaymentFlow(iOS)\n * These strings will translated automatically by this library.\n */\n @Prop() sheetTitle: string;\n\n /**\n * Submit button label\n * By default we recommended to use these string\n * - 'Pay' -> PaymentSheet\n * - 'Add' -> PaymentFlow(Android)\n * - 'Add card' -> PaymentFlow(iOS)\n * - 'Add a card' -> PaymentFlow(iOS)\n * These strings will translated automatically by this library.\n *\n */\n @Prop() buttonLabel: string;\n\n /**\n * The client secret from paymentIntent.create response\n *\n * @example\n * ```\n * const stripeElement = document.createElement('stripe-card-element');\n * customElements\n * .whenDefined('stripe-card-element')\n * .then(() => {\n * stripeElement.setAttribute('intent-client-secret', 'dummy')\n * })\n * ```\n *\n * @example\n * ```\n * <stripe-card-element intent-client-secret=\"dummy\" />\n * ```\n */\n @Prop() intentClientSecret?: string;\n\n /**\n * The component will provide a function to call the `stripe.confirmCardPayment`API.\n * If you want to customize the behavior, should set false.\n * And listen the 'formSubmit' event on the element\n */\n @Prop() shouldUseDefaultFormSubmitAction = true;\n\n /**\n * Default submit handle type.\n * If you want to use `setupIntent`, should update this attribute.\n * @example\n * ```\n * <stripe-payment-sheet intent-type=\"setup\" />\n * ```\n */\n @Prop() intentType: IntentType = 'payment';\n\n /**\n * Form submit event handler\n */\n @Prop({\n mutable: true,\n })\n handleSubmit: FormSubmitHandler;\n\n /**\n * Stripe.js class loaded handler\n */\n @Prop({\n mutable: true,\n })\n stripeDidLoaded?: StripeDidLoadedHandler;\n\n /**\n * If true, the modal display close button\n */\n @Prop() showCloseButton = true;\n\n /**\n * If true, show zip code field\n */\n @Prop() zip = true;\n\n /**\n * Modal state.\n * If true, the modal will open\n */\n @Prop() open = false;\n\n /**\n *\n */\n @Event() closed: EventEmitter;\n\n componentDidLoad() {\n const modal = this.el.querySelector('stripe-sheet');\n\n modal.addEventListener('close', () => {\n this.closed.emit();\n });\n }\n\n /**\n * Get the inner component\n */\n @Method()\n public async getStripePaymentSheetElement() {\n return this.el.querySelector('stripe-payment');\n }\n\n /**\n * open modal\n */\n @Method()\n public async present() {\n this.open = true;\n\n return new Promise((resolve, reject) => {\n const paymentSheet = this.el.querySelector('stripe-payment');\n\n paymentSheet.addEventListener('formSubmit', async props => {\n resolve(props);\n });\n this.el.addEventListener('closed', () => reject());\n });\n }\n\n /**\n * Update Stripe client loading process\n */\n @Method()\n public async updateProgress(progress: ProgressStatus) {\n const paymentSheet = this.el.querySelector('stripe-payment');\n\n return paymentSheet.updateProgress(progress);\n }\n\n /**\n * Remove the modal\n */\n @Method()\n public async destroy() {\n const paymentSheet = this.el.querySelector('stripe-payment');\n\n paymentSheet.remove();\n this.el.remove();\n }\n\n /**\n *\n * Add payment request button\n */\n @Method()\n public async setPaymentRequestButton(options: PaymentRequestButtonOption) {\n const elements = this.el.getElementsByTagName('stripe-payment');\n\n if (elements.length < 1) {\n return;\n }\n\n const paymentSheetElement = elements[0];\n\n if (!paymentSheetElement) {\n return;\n }\n\n paymentSheetElement.setAttribute('show-payment-request-button', 'true');\n if (this.applicationName) {\n paymentSheetElement.setAttribute('application-name', this.applicationName);\n }\n\n paymentSheetElement.setPaymentRequestOption(options);\n }\n\n render() {\n return (\n <stripe-sheet open={this.open} showCloseButton={this.showCloseButton}>\n <stripe-payment\n showLabel={this.showLabel}\n publishableKey={this.publishableKey}\n intentClientSecret={this.intentClientSecret}\n shouldUseDefaultFormSubmitAction={this.shouldUseDefaultFormSubmitAction}\n handleSubmit={this.handleSubmit}\n stripeDidLoaded={this.stripeDidLoaded}\n intentType={this.intentType}\n zip={this.zip}\n buttonLabel={this.buttonLabel}\n sheetTitle={this.sheetTitle}\n applicationName={this.applicationName}\n ></stripe-payment>\n </stripe-sheet>\n );\n }\n}\n"],"version":3}
|