@orangesk/orange-design-system 2.0.0-alpha.0 → 2.0.0-alpha.1
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/build/404.html +1 -1
- package/build/_next/static/CRhIjUFtohDOfdDfzvfXM/_buildManifest.js +1 -0
- package/build/_next/static/chunks/925.75d0c8afa7ab7cfa.js +1 -0
- package/build/_next/static/chunks/998-a45c3cf6f575e126.js +1 -0
- package/build/_next/static/chunks/app/components/alert/page-d591b03a7394f81e.js +1 -0
- package/build/_next/static/chunks/app/components/button/page-b922a8f5114b0a69.js +1 -0
- package/build/_next/static/chunks/app/components/buttons/page-0a5bf7e5ac7991fb.js +1 -0
- package/build/_next/static/chunks/app/components/icon/page-dac6ba29b85d924d.js +1 -0
- package/build/_next/static/chunks/app/components/modal/page-4a249b6d271eea91.js +1 -0
- package/build/_next/static/chunks/app/components/tabs/page-7d82e8eafd25b86e.js +1 -0
- package/build/_next/static/chunks/app/layout-f74d44a2772d8d63.js +1 -0
- package/build/_next/static/chunks/app/page-9efa16a51ef59461.js +1 -0
- package/build/_next/static/chunks/webpack-623f6e616651e1c0.js +1 -0
- package/build/_next/static/css/14f3a3e0186fb7a8.css +3 -0
- package/build/_next/static/css/168dd2b7e791cf72.css +1 -0
- package/build/_next/static/css/28a41a1d7dcdbfd9.css +1 -0
- package/build/_next/static/css/291602d64f1f3570.css +1 -0
- package/build/_next/static/css/4c4366b3963177f0.css +1 -0
- package/build/_next/static/css/5481aeac9adca710.css +1 -0
- package/build/_next/static/css/73b136688c14b891.css +1 -0
- package/build/_next/static/css/91c8cf755bf9ff19.css +1 -0
- package/build/_next/static/css/c1b0424033f305ff.css +1 -0
- package/build/_next/static/css/eea9fd9ccdd56c76.css +1 -0
- package/build/_next/static/media/671791babd225be4-s.p.woff2 +0 -0
- package/build/_next/static/media/c62d990acddde5f0-s.p.woff2 +0 -0
- package/build/_next/static/media/dfdbb1c4973e0bd7-s.p.woff2 +0 -0
- package/build/components/Accordion/index.js +1170 -0
- package/build/components/Accordion/index.js.map +1 -0
- package/build/components/Accordion/style.css +2 -0
- package/build/components/Accordion/style.css.map +1 -0
- package/build/components/Alert/index.js +1920 -0
- package/build/components/Alert/index.js.map +1 -0
- package/build/components/Alert/style.css +2 -0
- package/build/components/Alert/style.css.map +1 -0
- package/build/components/Badge/index.js +6 -3
- package/build/components/Badge/index.js.map +1 -1
- package/build/components/Badge/style.css +1 -1
- package/build/components/Badge/style.css.map +1 -1
- package/build/components/Breadcrumbs/index.js +687 -0
- package/build/components/Breadcrumbs/index.js.map +1 -0
- package/build/components/Breadcrumbs/style.css +2 -0
- package/build/components/Breadcrumbs/style.css.map +1 -0
- package/build/components/Button/index.js +734 -0
- package/build/components/Button/index.js.map +1 -0
- package/build/components/Button/style.css +2 -0
- package/build/components/Button/style.css.map +1 -0
- package/build/components/Buttons/index.js +614 -0
- package/build/components/Buttons/index.js.map +1 -0
- package/build/components/Buttons/style.css +2 -0
- package/build/components/Buttons/style.css.map +1 -0
- package/build/components/Container/index.js +611 -0
- package/build/components/Container/index.js.map +1 -0
- package/build/components/Container/style.css +2 -0
- package/build/components/Container/style.css.map +1 -0
- package/build/components/Grid/index.js +1082 -0
- package/build/components/Grid/index.js.map +1 -0
- package/build/components/Grid/style.css +2 -0
- package/build/components/Grid/style.css.map +1 -0
- package/build/components/Icon/index.js +628 -0
- package/build/components/Icon/index.js.map +1 -0
- package/build/components/Icon/style.css +2 -0
- package/build/components/Icon/style.css.map +1 -0
- package/build/components/Image/index.js +659 -0
- package/build/components/Image/index.js.map +1 -0
- package/build/components/Image/style.css +2 -0
- package/build/components/Image/style.css.map +1 -0
- package/build/components/Link/index.js +173 -0
- package/build/components/Link/index.js.map +1 -0
- package/build/components/Link/style.css +2 -0
- package/build/components/Link/style.css.map +1 -0
- package/build/components/Modal/index.js +3170 -0
- package/build/components/Modal/index.js.map +1 -0
- package/build/components/Modal/style.css +2 -0
- package/build/components/Modal/style.css.map +1 -0
- package/build/components/Section/index.js +632 -0
- package/build/components/Section/index.js.map +1 -0
- package/build/components/Section/style.css +2 -0
- package/build/components/Section/style.css.map +1 -0
- package/build/components/Tabs/index.js +1056 -0
- package/build/components/Tabs/index.js.map +1 -0
- package/build/components/Tabs/style.css +2 -0
- package/build/components/Tabs/style.css.map +1 -0
- package/build/components/alert.html +2 -0
- package/build/components/alert.txt +30 -0
- package/build/components/badge.html +4 -1
- package/build/components/badge.txt +23 -18
- package/build/components/button.html +2 -0
- package/build/components/button.txt +27 -0
- package/build/components/buttons.html +1 -0
- package/build/components/buttons.txt +27 -0
- package/build/components/icon.html +1 -0
- package/build/components/icon.txt +23 -0
- package/build/components/index.css +1 -1
- package/build/components/index.css.map +1 -1
- package/build/components/index.js +3079 -17
- package/build/components/index.js.map +1 -1
- package/build/components/modal.html +1 -0
- package/build/components/modal.txt +29 -0
- package/build/components/static.js +1261 -17
- package/build/components/static.js.map +1 -1
- package/build/components/tabs.html +1 -0
- package/build/components/tabs.txt +27 -0
- package/build/components/types/components/Alert/Alert.d.ts +25 -0
- package/build/components/types/components/Alert/data.d.ts +7 -0
- package/build/components/types/components/Alert/index.d.ts +2 -0
- package/build/components/types/{Badge → components/Badge}/Badge.d.ts +2 -2
- package/build/components/types/components/Badge/index.d.ts +2 -0
- package/build/components/types/components/Button/Button.d.ts +25 -0
- package/build/components/types/components/Button/IconButton.d.ts +18 -0
- package/build/components/types/components/Button/index.d.ts +17 -0
- package/build/components/types/components/Buttons/Buttons.d.ts +8 -0
- package/build/components/types/components/Buttons/index.d.ts +2 -0
- package/build/components/types/components/Container/Container.d.ts +6 -0
- package/build/components/types/components/Container/index.d.ts +3 -0
- package/build/components/types/components/Icon/Icon.d.ts +18 -0
- package/build/components/types/components/Icon/SpritePathContext.d.ts +8 -0
- package/build/components/types/components/Icon/index.d.ts +3 -0
- package/build/components/types/components/Modal/Modal.d.ts +33 -0
- package/build/components/types/components/Modal/Modal.static.d.ts +33 -0
- package/build/components/types/components/Modal/ModalBody.d.ts +10 -0
- package/build/components/types/components/Modal/ModalCloseButton.d.ts +8 -0
- package/build/components/types/components/Modal/ModalTitle.d.ts +9 -0
- package/build/components/types/components/Modal/index.d.ts +5 -0
- package/build/components/types/components/Section/Section.d.ts +23 -0
- package/build/components/types/components/Section/index.d.ts +2 -0
- package/build/components/types/components/Tabs/Tab.d.ts +13 -0
- package/build/components/types/components/Tabs/TabPanel.d.ts +14 -0
- package/build/components/types/components/Tabs/Tabs.d.ts +33 -0
- package/build/components/types/components/Tabs/Tabs.static.d.ts +28 -0
- package/build/components/types/components/Tabs/index.d.ts +4 -0
- package/build/components/types/components/index.d.ts +11 -0
- package/build/components/types/utils/ConditionalWrapper.d.ts +13 -0
- package/build/components/types/utils/constants.d.ts +18 -0
- package/build/components/types/utils/generateId.d.ts +6 -0
- package/build/components/types/utils/hooks.d.ts +29 -0
- package/build/components/types/utils/keyboard.d.ts +14 -0
- package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/build/index.html +11 -46
- package/build/index.txt +22 -17
- package/build/lib/after-components.css +1 -1
- package/build/lib/after-components.css.map +1 -1
- package/build/lib/before-components.css +1 -1
- package/build/lib/before-components.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/fonts.css +1 -1
- package/build/lib/fonts.css.map +1 -1
- package/build/lib/scripts.js +1261 -17
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +1 -1
- package/build/lib/style.css.map +1 -1
- package/build/sprite.svg +1 -0
- package/package.json +8 -4
- package/public/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/src/assets/icons/4g.svg +1 -0
- package/src/assets/icons/5g.svg +1 -0
- package/src/assets/icons/accessibility-mobility.svg +1 -0
- package/src/assets/icons/accessibility-motor.svg +1 -0
- package/src/assets/icons/accessibility-vision.svg +1 -0
- package/src/assets/icons/accessibility.svg +1 -0
- package/src/assets/icons/add.svg +1 -0
- package/src/assets/icons/advertising.svg +1 -0
- package/src/assets/icons/aeroplane.svg +1 -0
- package/src/assets/icons/age-rating-3.svg +1 -0
- package/src/assets/icons/airbox-auto.svg +1 -0
- package/src/assets/icons/alias-numbers.svg +1 -0
- package/src/assets/icons/android-manage.svg +1 -0
- package/src/assets/icons/antenna.svg +1 -0
- package/src/assets/icons/apartment-building.svg +1 -0
- package/src/assets/icons/apps.svg +1 -0
- package/src/assets/icons/assistance.svg +1 -0
- package/src/assets/icons/assistent.svg +1 -0
- package/src/assets/icons/at.svg +1 -0
- package/src/assets/icons/avatar.svg +1 -0
- package/src/assets/icons/backup-internet.svg +1 -0
- package/src/assets/icons/bank.svg +1 -0
- package/src/assets/icons/battery-charging.svg +1 -0
- package/src/assets/icons/battery-full.svg +1 -0
- package/src/assets/icons/battery-status-1-3.svg +1 -0
- package/src/assets/icons/battery-status-charging.svg +1 -0
- package/src/assets/icons/battery-status-full.svg +1 -0
- package/src/assets/icons/bed.svg +1 -0
- package/src/assets/icons/birth.svg +1 -0
- package/src/assets/icons/birthday.svg +1 -0
- package/src/assets/icons/bluetooth.svg +1 -0
- package/src/assets/icons/boarding-pass.svg +1 -0
- package/src/assets/icons/book-award.svg +1 -0
- package/src/assets/icons/book.svg +1 -0
- package/src/assets/icons/boxes.svg +1 -0
- package/src/assets/icons/briefcase.svg +1 -0
- package/src/assets/icons/browser-plug-in.svg +1 -0
- package/src/assets/icons/business-advisor.svg +1 -0
- package/src/assets/icons/business-consultant.svg +1 -0
- package/src/assets/icons/business-lounge.svg +1 -0
- package/src/assets/icons/buy.svg +1 -0
- package/src/assets/icons/calendar-30.svg +1 -0
- package/src/assets/icons/calendar-alarm.svg +1 -0
- package/src/assets/icons/calendar-day.svg +1 -0
- package/src/assets/icons/calendar-month.svg +1 -0
- package/src/assets/icons/call-in.svg +1 -0
- package/src/assets/icons/call-out.svg +1 -0
- package/src/assets/icons/call.svg +1 -0
- package/src/assets/icons/camera.svg +1 -0
- package/src/assets/icons/car-park.svg +1 -0
- package/src/assets/icons/car.svg +1 -0
- package/src/assets/icons/card-reader.svg +1 -0
- package/src/assets/icons/casting.svg +1 -0
- package/src/assets/icons/cest-ici.svg +1 -0
- package/src/assets/icons/charger.svg +1 -0
- package/src/assets/icons/chatbot.svg +1 -0
- package/src/assets/icons/check-your-balance.svg +1 -0
- package/src/assets/icons/checked.svg +1 -0
- package/src/assets/icons/chevron-down.svg +1 -0
- package/src/assets/icons/chevron-end.svg +1 -0
- package/src/assets/icons/chevron-left.svg +1 -0
- package/src/assets/icons/chevron-right.svg +1 -0
- package/src/assets/icons/chevron-start.svg +1 -0
- package/src/assets/icons/chevron-up.svg +1 -0
- package/src/assets/icons/child.svg +1 -0
- package/src/assets/icons/children-channel.svg +1 -0
- package/src/assets/icons/childrens-content.svg +1 -0
- package/src/assets/icons/christmas-tree.svg +1 -0
- package/src/assets/icons/cinema-ticket-2-for-1.svg +1 -0
- package/src/assets/icons/cle-pc.svg +1 -0
- package/src/assets/icons/clock.svg +1 -0
- package/src/assets/icons/close.svg +5 -0
- package/src/assets/icons/closed-captions.svg +1 -0
- package/src/assets/icons/cloud-backup.svg +1 -0
- package/src/assets/icons/cloud-security.svg +1 -0
- package/src/assets/icons/collective-class-training.svg +1 -0
- package/src/assets/icons/community-sms.svg +1 -0
- package/src/assets/icons/company-structure.svg +1 -0
- package/src/assets/icons/connections.svg +1 -0
- package/src/assets/icons/control-centre.svg +1 -0
- package/src/assets/icons/control-my-data.svg +3 -0
- package/src/assets/icons/cpu.svg +1 -0
- package/src/assets/icons/currency-euro.svg +1 -0
- package/src/assets/icons/cyber-shield.svg +1 -0
- package/src/assets/icons/dashboard-display.svg +1 -0
- package/src/assets/icons/data-analytics.svg +1 -0
- package/src/assets/icons/data-centre.svg +1 -0
- package/src/assets/icons/data-services.svg +1 -0
- package/src/assets/icons/data-traffic.svg +1 -0
- package/src/assets/icons/data.svg +1 -0
- package/src/assets/icons/delete.svg +1 -0
- package/src/assets/icons/desk-phone.svg +1 -0
- package/src/assets/icons/desktop-pc.svg +1 -0
- package/src/assets/icons/device-fixed-line-phone.svg +1 -0
- package/src/assets/icons/device-laptop-computer-connected.svg +1 -0
- package/src/assets/icons/device-laptop-computer.svg +1 -0
- package/src/assets/icons/device-smart-phone.svg +1 -0
- package/src/assets/icons/device-tablet.svg +1 -0
- package/src/assets/icons/device-tv.svg +1 -0
- package/src/assets/icons/diagnostic.svg +1 -0
- package/src/assets/icons/digital-frame.svg +1 -0
- package/src/assets/icons/discussion-more.svg +1 -0
- package/src/assets/icons/doctor.svg +1 -0
- package/src/assets/icons/documentary.svg +1 -0
- package/src/assets/icons/donation.svg +1 -0
- package/src/assets/icons/download-file.svg +1 -0
- package/src/assets/icons/download.svg +1 -0
- package/src/assets/icons/e-reader.svg +1 -0
- package/src/assets/icons/e-shop.svg +1 -0
- package/src/assets/icons/easy-internet.svg +1 -0
- package/src/assets/icons/eco-mode.svg +1 -0
- package/src/assets/icons/edit.svg +1 -0
- package/src/assets/icons/electrcar.svg +1 -0
- package/src/assets/icons/email.svg +1 -0
- package/src/assets/icons/employees.svg +1 -0
- package/src/assets/icons/empty-trash.svg +1 -0
- package/src/assets/icons/entertainment.svg +1 -0
- package/src/assets/icons/epg.svg +1 -0
- package/src/assets/icons/error-severe.svg +1 -0
- package/src/assets/icons/ethernet.svg +1 -0
- package/src/assets/icons/euro.svg +1 -0
- package/src/assets/icons/exit.svg +1 -0
- package/src/assets/icons/facebook-2.svg +1 -0
- package/src/assets/icons/facebook.svg +1 -0
- package/src/assets/icons/factory.svg +1 -0
- package/src/assets/icons/family-place.svg +1 -0
- package/src/assets/icons/fashion.svg +1 -0
- package/src/assets/icons/fast-delivery.svg +1 -0
- package/src/assets/icons/file-compressed.svg +1 -0
- package/src/assets/icons/file-copy.svg +1 -0
- package/src/assets/icons/file-document-compose.svg +1 -0
- package/src/assets/icons/file-download.svg +1 -0
- package/src/assets/icons/file-draft-edit.svg +1 -0
- package/src/assets/icons/file-pdf.svg +1 -0
- package/src/assets/icons/file-terms-and-conditions.svg +1 -0
- package/src/assets/icons/files.svg +1 -0
- package/src/assets/icons/film.svg +1 -0
- package/src/assets/icons/filter.svg +1 -0
- package/src/assets/icons/finance.svg +1 -0
- package/src/assets/icons/firewall.svg +1 -0
- package/src/assets/icons/flag.svg +1 -0
- package/src/assets/icons/flashlight.svg +1 -0
- package/src/assets/icons/flexible-storage.svg +1 -0
- package/src/assets/icons/folder.svg +1 -0
- package/src/assets/icons/football-match.svg +1 -0
- package/src/assets/icons/football-quiz.svg +1 -0
- package/src/assets/icons/football.svg +1 -0
- package/src/assets/icons/form-tick.svg +1 -0
- package/src/assets/icons/front-end-dashboard.svg +1 -0
- package/src/assets/icons/funny.svg +1 -0
- package/src/assets/icons/futher-education.svg +1 -0
- package/src/assets/icons/games.svg +1 -0
- package/src/assets/icons/garage-closed.svg +1 -0
- package/src/assets/icons/gauge-rate.svg +1 -0
- package/src/assets/icons/gears.svg +1 -0
- package/src/assets/icons/geolocation.svg +1 -0
- package/src/assets/icons/guide-info.svg +1 -0
- package/src/assets/icons/hammer.svg +1 -0
- package/src/assets/icons/hand-shake.svg +1 -0
- package/src/assets/icons/hard-drive.svg +1 -0
- package/src/assets/icons/hdmi-key.svg +1 -0
- package/src/assets/icons/headphones.svg +1 -0
- package/src/assets/icons/health-app.svg +1 -0
- package/src/assets/icons/health-monitor.svg +1 -0
- package/src/assets/icons/health-patient.svg +1 -0
- package/src/assets/icons/heart.svg +1 -0
- package/src/assets/icons/home-appliance.svg +1 -0
- package/src/assets/icons/home.svg +1 -0
- package/src/assets/icons/homelive.svg +1 -0
- package/src/assets/icons/hourglass.svg +1 -0
- package/src/assets/icons/house.svg +1 -0
- package/src/assets/icons/id-card.svg +1 -0
- package/src/assets/icons/image.svg +1 -0
- package/src/assets/icons/important.svg +1 -0
- package/src/assets/icons/improvement.svg +1 -0
- package/src/assets/icons/inbox.svg +1 -0
- package/src/assets/icons/info.svg +1 -0
- package/src/assets/icons/information-data.svg +1 -0
- package/src/assets/icons/instagram.svg +1 -0
- package/src/assets/icons/international-globe.svg +1 -0
- package/src/assets/icons/internet-browser.svg +1 -0
- package/src/assets/icons/internet-security-desktop.svg +1 -0
- package/src/assets/icons/internet-security-mobile.svg +1 -0
- package/src/assets/icons/internet-security-password.svg +1 -0
- package/src/assets/icons/internet-usage.svg +1 -0
- package/src/assets/icons/internet.svg +1 -0
- package/src/assets/icons/invoice-euro.svg +1 -0
- package/src/assets/icons/invoices-euro.svg +1 -0
- package/src/assets/icons/iso.svg +1 -0
- package/src/assets/icons/it-infrastructure.svg +1 -0
- package/src/assets/icons/keyboard.svg +1 -0
- package/src/assets/icons/la-cle-tv.svg +1 -0
- package/src/assets/icons/laptop-connected.svg +1 -0
- package/src/assets/icons/laptop.svg +1 -0
- package/src/assets/icons/le-vote.svg +1 -0
- package/src/assets/icons/link.svg +1 -0
- package/src/assets/icons/linkedin-2.svg +1 -0
- package/src/assets/icons/linkedin.svg +1 -0
- package/src/assets/icons/location-on-map.svg +1 -0
- package/src/assets/icons/location-pin.svg +1 -0
- package/src/assets/icons/lock-open.svg +1 -0
- package/src/assets/icons/lock.svg +1 -0
- package/src/assets/icons/logistics.svg +1 -0
- package/src/assets/icons/love-logo.svg +1 -0
- package/src/assets/icons/mahali.svg +1 -0
- package/src/assets/icons/maintenance-man.svg +1 -0
- package/src/assets/icons/map-pin.svg +1 -0
- package/src/assets/icons/map.svg +1 -0
- package/src/assets/icons/medal.svg +1 -0
- package/src/assets/icons/medical-app.svg +1 -0
- package/src/assets/icons/medical-chart.svg +1 -0
- package/src/assets/icons/medicine.svg +1 -0
- package/src/assets/icons/menu-arrow.svg +1 -0
- package/src/assets/icons/menu-grid.svg +1 -0
- package/src/assets/icons/menu.svg +1 -0
- package/src/assets/icons/message-alert.svg +1 -0
- package/src/assets/icons/messages.svg +1 -0
- package/src/assets/icons/micro-sd-card.svg +1 -0
- package/src/assets/icons/microphone-mute.svg +1 -0
- package/src/assets/icons/microphone.svg +1 -0
- package/src/assets/icons/mini-games.svg +1 -0
- package/src/assets/icons/mobile-applications.svg +1 -0
- package/src/assets/icons/mobile-data-toggle.svg +1 -0
- package/src/assets/icons/mobile-insurance.svg +1 -0
- package/src/assets/icons/mobile-network-coverage.svg +1 -0
- package/src/assets/icons/mobile-payment.svg +1 -0
- package/src/assets/icons/mobile-security.svg +1 -0
- package/src/assets/icons/mobile-setup.svg +1 -0
- package/src/assets/icons/modem.svg +1 -0
- package/src/assets/icons/modifier-delete.svg +1 -0
- package/src/assets/icons/modifier-done.svg +1 -0
- package/src/assets/icons/modifier-download.svg +1 -0
- package/src/assets/icons/modifier-upload.svg +1 -0
- package/src/assets/icons/money-box.svg +1 -0
- package/src/assets/icons/more-dots.svg +1 -0
- package/src/assets/icons/multi-sim.svg +1 -0
- package/src/assets/icons/music.svg +1 -0
- package/src/assets/icons/my-account.svg +1 -0
- package/src/assets/icons/my-orange.svg +1 -0
- package/src/assets/icons/my-skills.svg +1 -0
- package/src/assets/icons/my-vacation.svg +1 -0
- package/src/assets/icons/network-dslam.svg +1 -0
- package/src/assets/icons/network-gatekeeper.svg +1 -0
- package/src/assets/icons/network-gateway.svg +1 -0
- package/src/assets/icons/network-optical-amplifier.svg +1 -0
- package/src/assets/icons/network-optical-transport.svg +1 -0
- package/src/assets/icons/network-wan-optimisation-engine.svg +1 -0
- package/src/assets/icons/networks.svg +1 -0
- package/src/assets/icons/newspaper.svg +1 -0
- package/src/assets/icons/not-checked.svg +1 -0
- package/src/assets/icons/notification-alert.svg +1 -0
- package/src/assets/icons/office.svg +1 -0
- package/src/assets/icons/online-help.svg +1 -0
- package/src/assets/icons/orange-assistant.svg +1 -0
- package/src/assets/icons/orange-cash.svg +1 -0
- package/src/assets/icons/orange-detente.svg +1 -0
- package/src/assets/icons/orange-dialler.svg +1 -0
- package/src/assets/icons/orange-events.svg +1 -0
- package/src/assets/icons/orange-experts-expert.svg +1 -0
- package/src/assets/icons/orange-experts-insurance.svg +1 -0
- package/src/assets/icons/orange-experts-orange-business-consultant.svg +1 -0
- package/src/assets/icons/orange-experts-recycle.svg +1 -0
- package/src/assets/icons/orange-experts-repair.svg +1 -0
- package/src/assets/icons/orange-football-club.svg +1 -0
- package/src/assets/icons/orange-games.svg +1 -0
- package/src/assets/icons/orange-messenger.svg +1 -0
- package/src/assets/icons/orange-money-nfc.svg +1 -0
- package/src/assets/icons/orange-reflect.svg +1 -0
- package/src/assets/icons/orange-rewards.svg +1 -0
- package/src/assets/icons/orange-tv.svg +1 -0
- package/src/assets/icons/orange-vr-experience.svg +1 -0
- package/src/assets/icons/outbox.svg +1 -0
- package/src/assets/icons/package-content.svg +1 -0
- package/src/assets/icons/package-services.svg +1 -0
- package/src/assets/icons/package.svg +1 -0
- package/src/assets/icons/packaging-icon-hd.svg +1 -0
- package/src/assets/icons/parabole-tv.svg +1 -0
- package/src/assets/icons/parental-control.svg +1 -0
- package/src/assets/icons/pause.svg +1 -0
- package/src/assets/icons/payment-card.svg +1 -0
- package/src/assets/icons/payment-euro.svg +1 -0
- package/src/assets/icons/pda.svg +1 -0
- package/src/assets/icons/pdf-file.svg +1 -0
- package/src/assets/icons/pencil.svg +1 -0
- package/src/assets/icons/personal-hotspot.svg +1 -0
- package/src/assets/icons/personal-smartphone-trainer.svg +1 -0
- package/src/assets/icons/phone-advisor.svg +1 -0
- package/src/assets/icons/play-and-win.svg +1 -0
- package/src/assets/icons/play.svg +1 -0
- package/src/assets/icons/plug-socket.svg +1 -0
- package/src/assets/icons/power.svg +1 -0
- package/src/assets/icons/powerstation.svg +1 -0
- package/src/assets/icons/presentation.svg +1 -0
- package/src/assets/icons/print.svg +1 -0
- package/src/assets/icons/printer.svg +1 -0
- package/src/assets/icons/real-time.svg +1 -0
- package/src/assets/icons/recycle-device.svg +1 -0
- package/src/assets/icons/recycle.svg +1 -0
- package/src/assets/icons/reduction.svg +1 -0
- package/src/assets/icons/reload.svg +1 -0
- package/src/assets/icons/reminders.svg +1 -0
- package/src/assets/icons/remote-desktop-protocol.svg +1 -0
- package/src/assets/icons/remove.svg +1 -0
- package/src/assets/icons/repair.svg +1 -0
- package/src/assets/icons/reseau.svg +1 -0
- package/src/assets/icons/restaurant.svg +1 -0
- package/src/assets/icons/rewards.svg +1 -0
- package/src/assets/icons/running.svg +1 -0
- package/src/assets/icons/safety.svg +1 -0
- package/src/assets/icons/satallite.svg +1 -0
- package/src/assets/icons/save.svg +1 -0
- package/src/assets/icons/school.svg +1 -0
- package/src/assets/icons/science.svg +1 -0
- package/src/assets/icons/sd-card.svg +1 -0
- package/src/assets/icons/search.svg +1 -0
- package/src/assets/icons/security-status-good.svg +1 -0
- package/src/assets/icons/send.svg +1 -0
- package/src/assets/icons/senior-person.svg +1 -0
- package/src/assets/icons/server-storage-array.svg +1 -0
- package/src/assets/icons/server-tower.svg +1 -0
- package/src/assets/icons/session-enter.svg +1 -0
- package/src/assets/icons/session-leave.svg +1 -0
- package/src/assets/icons/settings.svg +1 -0
- package/src/assets/icons/share.svg +1 -0
- package/src/assets/icons/shop-pin.svg +1 -0
- package/src/assets/icons/shop.svg +1 -0
- package/src/assets/icons/showroom-mobile-pro.svg +1 -0
- package/src/assets/icons/signal-5-5.svg +1 -0
- package/src/assets/icons/silence.svg +1 -0
- package/src/assets/icons/sim-e.svg +1 -0
- package/src/assets/icons/sim.svg +1 -0
- package/src/assets/icons/simple-mode.svg +1 -0
- package/src/assets/icons/simplicity.svg +1 -0
- package/src/assets/icons/siren.svg +1 -0
- package/src/assets/icons/skiing.svg +1 -0
- package/src/assets/icons/skip-to-end.svg +1 -0
- package/src/assets/icons/skip-to-start.svg +1 -0
- package/src/assets/icons/sleep.svg +1 -0
- package/src/assets/icons/smart-care.svg +1 -0
- package/src/assets/icons/smart-home.svg +1 -0
- package/src/assets/icons/smart-tap.svg +1 -0
- package/src/assets/icons/smart-watch.svg +1 -0
- package/src/assets/icons/sms-alert.svg +1 -0
- package/src/assets/icons/sms-message-compose.svg +1 -0
- package/src/assets/icons/sms-message.svg +1 -0
- package/src/assets/icons/social-network.svg +1 -0
- package/src/assets/icons/sofa.svg +1 -0
- package/src/assets/icons/sort.svg +1 -0
- package/src/assets/icons/stadium.svg +1 -0
- package/src/assets/icons/star-empty.svg +1 -0
- package/src/assets/icons/star-favourite-half.svg +1 -0
- package/src/assets/icons/star-favourite.svg +1 -0
- package/src/assets/icons/startover.svg +1 -0
- package/src/assets/icons/statistics.svg +1 -0
- package/src/assets/icons/stop-secret.svg +1 -0
- package/src/assets/icons/storage-cloud.svg +1 -0
- package/src/assets/icons/store-locator.svg +1 -0
- package/src/assets/icons/street.svg +1 -0
- package/src/assets/icons/subscription-package.svg +1 -0
- package/src/assets/icons/suitcase.svg +1 -0
- package/src/assets/icons/support.svg +1 -0
- package/src/assets/icons/surveillance-camera.svg +1 -0
- package/src/assets/icons/syncronise.svg +1 -0
- package/src/assets/icons/tag-advertising.svg +1 -0
- package/src/assets/icons/tag.svg +1 -0
- package/src/assets/icons/target-location.svg +1 -0
- package/src/assets/icons/tarif.svg +1 -0
- package/src/assets/icons/task-list.svg +1 -0
- package/src/assets/icons/team-connect.svg +1 -0
- package/src/assets/icons/thumb-up.svg +1 -0
- package/src/assets/icons/tick.svg +1 -0
- package/src/assets/icons/ticket.svg +1 -0
- package/src/assets/icons/top-up-card-euro.svg +1 -0
- package/src/assets/icons/top-up-euro.svg +1 -0
- package/src/assets/icons/top-up-time.svg +1 -0
- package/src/assets/icons/town.svg +1 -0
- package/src/assets/icons/townhall.svg +1 -0
- package/src/assets/icons/train.svg +1 -0
- package/src/assets/icons/training-session.svg +1 -0
- package/src/assets/icons/tranquility.svg +1 -0
- package/src/assets/icons/transfer-data.svg +1 -0
- package/src/assets/icons/transfers.svg +1 -0
- package/src/assets/icons/trash.svg +1 -0
- package/src/assets/icons/tv-channel-list.svg +1 -0
- package/src/assets/icons/tv-commande.svg +1 -0
- package/src/assets/icons/unlimited-calls.svg +1 -0
- package/src/assets/icons/upload.svg +1 -0
- package/src/assets/icons/usb-hard-drive.svg +1 -0
- package/src/assets/icons/usb-key.svg +1 -0
- package/src/assets/icons/user-manual.svg +1 -0
- package/src/assets/icons/user.svg +1 -0
- package/src/assets/icons/video-call.svg +1 -0
- package/src/assets/icons/video-live.svg +1 -0
- package/src/assets/icons/video-phone.svg +1 -0
- package/src/assets/icons/video-record.svg +1 -0
- package/src/assets/icons/video.svg +1 -0
- package/src/assets/icons/vip-contact.svg +1 -0
- package/src/assets/icons/virtual-gamepad.svg +1 -0
- package/src/assets/icons/vod-portrait.svg +1 -0
- package/src/assets/icons/volte.svg +1 -0
- package/src/assets/icons/volume-status-4-4.svg +1 -0
- package/src/assets/icons/vowifi.svg +1 -0
- package/src/assets/icons/wallet.svg +1 -0
- package/src/assets/icons/warning-important.svg +1 -0
- package/src/assets/icons/washroom.svg +1 -0
- package/src/assets/icons/watch.svg +1 -0
- package/src/assets/icons/water.svg +1 -0
- package/src/assets/icons/weather.svg +1 -0
- package/src/assets/icons/web-browser.svg +1 -0
- package/src/assets/icons/web-camera.svg +1 -0
- package/src/assets/icons/weighing-scales.svg +1 -0
- package/src/assets/icons/widget.svg +1 -0
- package/src/assets/icons/wifi-home.svg +1 -0
- package/src/assets/icons/wifi.svg +1 -0
- package/src/assets/icons/x.svg +1 -0
- package/src/assets/icons/your-balance.svg +1 -0
- package/src/assets/icons/youtube.svg +1 -0
- package/src/assets/icons/zoom-in.svg +1 -0
- package/src/assets/icons/zoom-out.svg +1 -0
- package/src/assets/images/developers/hands-with-phones.svg +90 -0
- package/src/assets/images/developers/iphone-size-2x.png +0 -0
- package/src/assets/images/developers/iphone-xr-white-select.png +0 -0
- package/src/assets/images/developers/phones.png +0 -0
- package/src/assets/images/developers/router.png +0 -0
- package/src/assets/images/developers/rule-component-block.png +0 -0
- package/src/assets/images/developers/rule-component-inline.png +0 -0
- package/src/assets/images/developers/rule-container.png +0 -0
- package/src/assets/images/developers/rule-content.png +0 -0
- package/src/assets/images/developers/two-phones.png +0 -0
- package/src/assets/logo/logo.svg +1 -0
- package/src/components/Accordion/Accordion.mdx +222 -0
- package/src/components/Accordion/Accordion.static.ts +104 -0
- package/src/components/Accordion/Accordion.tsx +70 -0
- package/src/components/Accordion/AccordionHeader.tsx +59 -0
- package/src/components/Accordion/AccordionItem.tsx +76 -0
- package/src/components/Accordion/HeadingContext.tsx +5 -0
- package/src/components/Accordion/index.ts +4 -0
- package/src/components/Accordion/styles/config.scss +8 -0
- package/src/components/Accordion/styles/mixins.scss +91 -0
- package/src/components/Accordion/styles/style.scss +47 -0
- package/src/components/Accordion/tests/Accordion.static.test.js +207 -0
- package/src/components/Accordion/tests/Accordion.unit.test.js +822 -0
- package/src/components/Accordion/tests/data.js +18 -0
- package/src/components/Alert/Alert.mdx +141 -0
- package/src/components/Alert/Alert.tsx +119 -0
- package/src/components/Alert/CHANGELOG.md +33 -0
- package/src/components/Alert/data.ts +8 -0
- package/src/components/Alert/index.ts +3 -0
- package/src/components/Alert/styles/config.scss +58 -0
- package/src/components/Alert/styles/mixins.scss +54 -0
- package/src/components/Alert/styles/style.scss +44 -0
- package/src/components/Alert/tests/Alert.conformance.test.js +30 -0
- package/src/components/Alert/tests/Alert.test.js +87 -0
- package/src/components/Badge/Badge.tsx +5 -3
- package/src/components/Badge/index.ts +1 -1
- package/src/components/Badge/styles/config.scss +53 -17
- package/src/components/Badge/styles/mixins.scss +8 -2
- package/src/components/Badge/styles/style.scss +7 -3
- package/src/components/Badge/tests/Badge.conformance.test.js +8 -8
- package/src/components/Badge/tests/Badge.unit.test.js +3 -3
- package/src/components/Breadcrumbs/BreadcrumbItem.tsx +54 -0
- package/src/components/Breadcrumbs/Breadcrumbs.mdx +84 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +60 -0
- package/src/components/Breadcrumbs/index.ts +5 -0
- package/src/components/Breadcrumbs/styles/config.scss +2 -0
- package/src/components/Breadcrumbs/styles/mixins.scss +105 -0
- package/src/components/Breadcrumbs/styles/style.scss +37 -0
- package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +295 -0
- package/src/components/Breadcrumbs/tests/Breadcrumbs.conformance.test.js +53 -0
- package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +309 -0
- package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +280 -0
- package/src/components/Button/Button.mdx +273 -0
- package/src/components/Button/Button.tsx +105 -0
- package/src/components/Button/IconButton.tsx +67 -0
- package/src/components/Button/index.tsx +23 -0
- package/src/components/Button/styles/config.scss +229 -0
- package/src/components/Button/styles/mixins.scss +164 -0
- package/src/components/Button/styles/style.scss +66 -0
- package/src/components/Button/tests/Button.conformance.test.js +37 -0
- package/src/components/Button/tests/Button.test.js +114 -0
- package/src/components/Button/tests/IconButton.unit.test.js +107 -0
- package/src/components/Buttons/Buttons.mdx +39 -0
- package/src/components/Buttons/Buttons.tsx +34 -0
- package/src/components/Buttons/index.ts +3 -0
- package/src/components/Buttons/styles/config.scss +3 -0
- package/src/components/Buttons/styles/mixins.scss +39 -0
- package/src/components/Buttons/styles/style.scss +10 -0
- package/src/components/Buttons/tests/Buttons.conformance.test.js +22 -0
- package/src/components/Buttons/tests/Buttons.unit.test.js +26 -0
- package/src/components/Container/Container.mdx +73 -0
- package/src/components/Container/Container.tsx +15 -0
- package/src/components/Container/index.ts +5 -0
- package/src/components/Container/styles/config.scss +11 -0
- package/src/components/Container/styles/mixins.scss +22 -0
- package/src/components/Container/styles/style.scss +5 -0
- package/src/components/Container/tests/Container.conformance.test.js +209 -0
- package/src/components/Container/tests/Container.unit.test.js +320 -0
- package/src/components/Grid/Grid.mdx +319 -0
- package/src/components/Grid/Grid.tsx +51 -0
- package/src/components/Grid/GridCol.tsx +33 -0
- package/src/components/Grid/index.ts +6 -0
- package/src/components/Grid/styles/config.scss +10 -0
- package/src/components/Grid/styles/mixins.scss +126 -0
- package/src/components/Grid/styles/style.scss +41 -0
- package/src/components/Grid/tests/Grid.unit.test.tsx +533 -0
- package/src/components/Grid/tests/GridCol.unit.test.tsx +199 -0
- package/src/components/Icon/Icon.mdx +172 -0
- package/src/components/Icon/Icon.tsx +73 -0
- package/src/components/Icon/IconSearch.jsx +247 -0
- package/src/components/Icon/SpritePathContext.tsx +22 -0
- package/src/components/Icon/iconSearchTags.ts +437 -0
- package/src/components/Icon/index.ts +5 -0
- package/src/components/Icon/styles/config.scss +27 -0
- package/src/components/Icon/styles/export/color.scss +8 -0
- package/src/components/Icon/styles/export/size.scss +13 -0
- package/src/components/Icon/styles/mixins.scss +31 -0
- package/src/components/Icon/styles/style.scss +13 -0
- package/src/components/Icon/tests/Icon.conformance.test.js +22 -0
- package/src/components/Icon/tests/Icon.unit.test.js +112 -0
- package/src/components/Image/Image.mdx +166 -0
- package/src/components/Image/Image.tsx +65 -0
- package/src/components/Image/index.ts +7 -0
- package/src/components/Image/styles/mixins.scss +12 -0
- package/src/components/Image/styles/style.scss +9 -0
- package/src/components/Image/tests/Image.conformance.test.js +264 -0
- package/src/components/Image/tests/Image.unit.test.js +338 -0
- package/src/components/Link/Link.mdx +224 -0
- package/src/components/Link/Link.tsx +52 -0
- package/src/components/Link/index.ts +3 -0
- package/src/components/Link/styles/config.scss +85 -0
- package/src/components/Link/styles/mixins.scss +42 -0
- package/src/components/Link/styles/style.scss +59 -0
- package/src/components/Link/tests/Link.conformance.test.js +302 -0
- package/src/components/Link/tests/Link.integration.test.js +393 -0
- package/src/components/Link/tests/Link.unit.test.js +308 -0
- package/src/components/Modal/Modal.mdx +449 -0
- package/src/components/Modal/Modal.static.ts +223 -0
- package/src/components/Modal/Modal.tsx +145 -0
- package/src/components/Modal/ModalBody.tsx +46 -0
- package/src/components/Modal/ModalCloseButton.tsx +26 -0
- package/src/components/Modal/ModalTitle.tsx +32 -0
- package/src/components/Modal/TODO.md +2 -0
- package/src/components/Modal/index.ts +6 -0
- package/src/components/Modal/styles/config.scss +42 -0
- package/src/components/Modal/styles/mixins.scss +200 -0
- package/src/components/Modal/styles/style.scss +97 -0
- package/src/components/Modal/tests/Modal.conformance.test.js +41 -0
- package/src/components/Modal/tests/Modal.unit.test.js +56 -0
- package/src/components/Modal/tests/ModalBody.unit.test.js +39 -0
- package/src/components/Modal/tests/ModalCloseButton.unit.test.js +84 -0
- package/src/components/Modal/tests/ModalTitle.unit.test.js +25 -0
- package/src/components/Section/Section.mdx +397 -0
- package/src/components/Section/Section.tsx +54 -0
- package/src/components/Section/index.ts +3 -0
- package/src/components/Section/styles/config.scss +38 -0
- package/src/components/Section/styles/mixins.scss +30 -0
- package/src/components/Section/styles/style.scss +35 -0
- package/src/components/Section/tests/Section.conformance.test.js +502 -0
- package/src/components/Section/tests/Section.unit.test.js +642 -0
- package/src/components/Tabs/TODO.md +2 -0
- package/src/components/Tabs/Tab.tsx +55 -0
- package/src/components/Tabs/TabPanel.tsx +42 -0
- package/src/components/Tabs/Tabs.mdx +373 -0
- package/src/components/Tabs/Tabs.static.ts +185 -0
- package/src/components/Tabs/Tabs.tsx +130 -0
- package/src/components/Tabs/index.ts +5 -0
- package/src/components/Tabs/styles/config.scss +78 -0
- package/src/components/Tabs/styles/mixins.scss +107 -0
- package/src/components/Tabs/styles/style.scss +64 -0
- package/src/components/Tabs/tests/Tab.unit.test.js +85 -0
- package/src/components/Tabs/tests/TabPanel.unit.test.js +53 -0
- package/src/components/Tabs/tests/Tabs.unit.test.js +260 -0
- package/src/components/index.ts +33 -2
- package/src/styles/base/globals.scss +18 -13
- package/src/styles/base/styleguide.scss +1 -1
- package/src/styles/before-components.scss +1 -1
- package/src/styles/export/breakpoint.ts +12 -0
- package/src/styles/export/color.scss +1 -1
- package/src/styles/tokens/base.scss +6 -4
- package/src/styles/tokens/color.scss +127 -25
- package/src/styles/tools/convert.scss +1 -1
- package/src/styles/typography/config.scss +187 -0
- package/src/{components/Typography/styles → styles/typography}/mixins.scss +31 -24
- package/src/{components/Typography/styles → styles/typography}/style.scss +9 -3
- package/src/styles/utilities/text.scss +2 -2
- package/build/.htaccess +0 -7
- package/build/_next/static/chunks/app/layout-69efc42b1696abf9.js +0 -1
- package/build/_next/static/chunks/app/page-687dfdffc8d1b6e5.js +0 -1
- package/build/_next/static/chunks/webpack-778f3ec87f8d2826.js +0 -1
- package/build/_next/static/css/08a2fcd6f5aac3e0.css +0 -1
- package/build/_next/static/css/d2fc2f581fe4b371.css +0 -1
- package/build/_next/static/rsiMOOYAxBtOjvpzBN4vJ/_buildManifest.js +0 -1
- package/build/_redirects +0 -1
- package/build/components/types/Badge/index.d.ts +0 -2
- package/build/components/types/index.d.ts +0 -4
- package/build/fonts/HelvNeue55_W1G.eot +0 -0
- package/build/fonts/HelvNeue55_W1G.svg +0 -653
- package/build/fonts/HelvNeue55_W1G.ttf +0 -0
- package/build/fonts/HelvNeue55_W1G.woff +0 -0
- package/build/fonts/HelvNeue55_W1G.woff2 +0 -0
- package/build/fonts/HelvNeue75_W1G.eot +0 -0
- package/build/fonts/HelvNeue75_W1G.svg +0 -653
- package/build/fonts/HelvNeue75_W1G.ttf +0 -0
- package/build/fonts/HelvNeue75_W1G.woff +0 -0
- package/build/fonts/HelvNeue75_W1G.woff2 +0 -0
- package/build/manifest.json +0 -15
- package/build/sprite-sg.svg +0 -1
- package/public/fonts/HelvNeue55_W1G.eot +0 -0
- package/public/fonts/HelvNeue55_W1G.svg +0 -653
- package/public/fonts/HelvNeue55_W1G.ttf +0 -0
- package/public/fonts/HelvNeue55_W1G.woff +0 -0
- package/public/fonts/HelvNeue55_W1G.woff2 +0 -0
- package/public/fonts/HelvNeue75_W1G.eot +0 -0
- package/public/fonts/HelvNeue75_W1G.svg +0 -653
- package/public/fonts/HelvNeue75_W1G.ttf +0 -0
- package/public/fonts/HelvNeue75_W1G.woff +0 -0
- package/public/fonts/HelvNeue75_W1G.woff2 +0 -0
- package/src/components/Badge/Badge.test.js +0 -45
- package/src/components/Typography/styles/config.scss +0 -181
- /package/build/_next/static/{rsiMOOYAxBtOjvpzBN4vJ → CRhIjUFtohDOfdDfzvfXM}/_ssgManifest.js +0 -0
- /package/build/_next/static/chunks/{4bd1b696-67ee12fb04071d3b.js → 4bd1b696-40a218329c8ae32b.js} +0 -0
- /package/build/_next/static/chunks/{684-2d117c50cbadadca.js → 684-c72f8f73e7f2d568.js} +0 -0
- /package/build/_next/static/chunks/app/_not-found/{page-f08302ee705a96b1.js → page-c799b4c91b89a5c2.js} +0 -0
|
@@ -0,0 +1,1082 @@
|
|
|
1
|
+
import require$$0 from 'react';
|
|
2
|
+
|
|
3
|
+
function _arrayLikeToArray(r, a) {
|
|
4
|
+
(null == a || a > r.length) && (a = r.length);
|
|
5
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
6
|
+
return n;
|
|
7
|
+
}
|
|
8
|
+
function _arrayWithoutHoles(r) {
|
|
9
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
10
|
+
}
|
|
11
|
+
function _defineProperty(e, r, t) {
|
|
12
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
13
|
+
value: t,
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true
|
|
17
|
+
}) : e[r] = t, e;
|
|
18
|
+
}
|
|
19
|
+
function _iterableToArray(r) {
|
|
20
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
21
|
+
}
|
|
22
|
+
function _nonIterableSpread() {
|
|
23
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
24
|
+
}
|
|
25
|
+
function ownKeys(e, r) {
|
|
26
|
+
var t = Object.keys(e);
|
|
27
|
+
if (Object.getOwnPropertySymbols) {
|
|
28
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
29
|
+
r && (o = o.filter(function (r) {
|
|
30
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
31
|
+
})), t.push.apply(t, o);
|
|
32
|
+
}
|
|
33
|
+
return t;
|
|
34
|
+
}
|
|
35
|
+
function _objectSpread2(e) {
|
|
36
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
37
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
38
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
39
|
+
_defineProperty(e, r, t[r]);
|
|
40
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
41
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
return e;
|
|
45
|
+
}
|
|
46
|
+
function _toConsumableArray(r) {
|
|
47
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
48
|
+
}
|
|
49
|
+
function _toPrimitive(t, r) {
|
|
50
|
+
if ("object" != typeof t || !t) return t;
|
|
51
|
+
var e = t[Symbol.toPrimitive];
|
|
52
|
+
if (void 0 !== e) {
|
|
53
|
+
var i = e.call(t, r);
|
|
54
|
+
if ("object" != typeof i) return i;
|
|
55
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
56
|
+
}
|
|
57
|
+
return ("string" === r ? String : Number)(t);
|
|
58
|
+
}
|
|
59
|
+
function _toPropertyKey(t) {
|
|
60
|
+
var i = _toPrimitive(t, "string");
|
|
61
|
+
return "symbol" == typeof i ? i : i + "";
|
|
62
|
+
}
|
|
63
|
+
function _typeof(o) {
|
|
64
|
+
"@babel/helpers - typeof";
|
|
65
|
+
|
|
66
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
67
|
+
return typeof o;
|
|
68
|
+
} : function (o) {
|
|
69
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
70
|
+
}, _typeof(o);
|
|
71
|
+
}
|
|
72
|
+
function _unsupportedIterableToArray(r, a) {
|
|
73
|
+
if (r) {
|
|
74
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
75
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
76
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/******************************************************************************
|
|
81
|
+
Copyright (c) Microsoft Corporation.
|
|
82
|
+
|
|
83
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
84
|
+
purpose with or without fee is hereby granted.
|
|
85
|
+
|
|
86
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
87
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
88
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
89
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
90
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
91
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
92
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
93
|
+
***************************************************************************** */
|
|
94
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
function __rest(s, e) {
|
|
98
|
+
var t = {};
|
|
99
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
100
|
+
t[p] = s[p];
|
|
101
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
102
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
103
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
104
|
+
t[p[i]] = s[p[i]];
|
|
105
|
+
}
|
|
106
|
+
return t;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
110
|
+
var e = new Error(message);
|
|
111
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
function getDefaultExportFromCjs (x) {
|
|
115
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
var classnames = {exports: {}};
|
|
119
|
+
|
|
120
|
+
/*!
|
|
121
|
+
Copyright (c) 2018 Jed Watson.
|
|
122
|
+
Licensed under the MIT License (MIT), see
|
|
123
|
+
http://jedwatson.github.io/classnames
|
|
124
|
+
*/
|
|
125
|
+
|
|
126
|
+
var hasRequiredClassnames;
|
|
127
|
+
|
|
128
|
+
function requireClassnames () {
|
|
129
|
+
if (hasRequiredClassnames) return classnames.exports;
|
|
130
|
+
hasRequiredClassnames = 1;
|
|
131
|
+
(function (module) {
|
|
132
|
+
/* global define */
|
|
133
|
+
|
|
134
|
+
(function () {
|
|
135
|
+
|
|
136
|
+
var hasOwn = {}.hasOwnProperty;
|
|
137
|
+
|
|
138
|
+
function classNames () {
|
|
139
|
+
var classes = '';
|
|
140
|
+
|
|
141
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
142
|
+
var arg = arguments[i];
|
|
143
|
+
if (arg) {
|
|
144
|
+
classes = appendClass(classes, parseValue(arg));
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
return classes;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
function parseValue (arg) {
|
|
152
|
+
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
153
|
+
return arg;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if (typeof arg !== 'object') {
|
|
157
|
+
return '';
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
if (Array.isArray(arg)) {
|
|
161
|
+
return classNames.apply(null, arg);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
165
|
+
return arg.toString();
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
var classes = '';
|
|
169
|
+
|
|
170
|
+
for (var key in arg) {
|
|
171
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
172
|
+
classes = appendClass(classes, key);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
return classes;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
function appendClass (value, newClass) {
|
|
180
|
+
if (!newClass) {
|
|
181
|
+
return value;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
if (value) {
|
|
185
|
+
return value + ' ' + newClass;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
return value + newClass;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
if (module.exports) {
|
|
192
|
+
classNames.default = classNames;
|
|
193
|
+
module.exports = classNames;
|
|
194
|
+
} else {
|
|
195
|
+
window.classNames = classNames;
|
|
196
|
+
}
|
|
197
|
+
}());
|
|
198
|
+
} (classnames));
|
|
199
|
+
return classnames.exports;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
var classnamesExports = requireClassnames();
|
|
203
|
+
var cx = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
204
|
+
|
|
205
|
+
function prefixClass(className) {
|
|
206
|
+
var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '-';
|
|
207
|
+
return className ? "".concat("".concat(prefix).concat(className)) : '';
|
|
208
|
+
}
|
|
209
|
+
function getClassModsFromObject(prefix, mod, postfix) {
|
|
210
|
+
return Object.keys(mod).map(function (key) {
|
|
211
|
+
switch (_typeof(mod[key])) {
|
|
212
|
+
case 'boolean':
|
|
213
|
+
// prettier inserts new lines and fucks up output
|
|
214
|
+
// prettier-ignore
|
|
215
|
+
return "".concat(prefix).concat(key !== 'xs' ? "--".concat(key) : '-').concat(prefixClass(postfix));
|
|
216
|
+
case 'string':
|
|
217
|
+
case 'number':
|
|
218
|
+
// prettier inserts new lines and fucks up output
|
|
219
|
+
// prettier-ignore
|
|
220
|
+
return "".concat(prefix).concat(key !== 'xs' ? "--".concat(key) : '-').concat(prefixClass(mod[key])).concat(prefixClass(postfix));
|
|
221
|
+
default:
|
|
222
|
+
return null;
|
|
223
|
+
}
|
|
224
|
+
}).join(' ');
|
|
225
|
+
}
|
|
226
|
+
function genResponsiveClasses(prefix, mod, postfix) {
|
|
227
|
+
return [typeof mod === 'boolean' ? "".concat(prefix).concat(prefixClass(postfix, '--')) : null, mod !== null && _typeof(mod) === 'object' ? getClassModsFromObject(prefix, mod, postfix) : null, _defineProperty({}, "".concat(prefix, "--").concat(mod).concat(prefixClass(postfix)), typeof mod === 'string' || typeof mod === 'number')];
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
var wNumb = {exports: {}};
|
|
231
|
+
|
|
232
|
+
var hasRequiredWNumb;
|
|
233
|
+
|
|
234
|
+
function requireWNumb () {
|
|
235
|
+
if (hasRequiredWNumb) return wNumb.exports;
|
|
236
|
+
hasRequiredWNumb = 1;
|
|
237
|
+
(function (module, exports) {
|
|
238
|
+
(function(factory) {
|
|
239
|
+
{
|
|
240
|
+
// Node/CommonJS
|
|
241
|
+
module.exports = factory();
|
|
242
|
+
}
|
|
243
|
+
})(function() {
|
|
244
|
+
|
|
245
|
+
var FormatOptions = [
|
|
246
|
+
"decimals",
|
|
247
|
+
"thousand",
|
|
248
|
+
"mark",
|
|
249
|
+
"prefix",
|
|
250
|
+
"suffix",
|
|
251
|
+
"encoder",
|
|
252
|
+
"decoder",
|
|
253
|
+
"negativeBefore",
|
|
254
|
+
"negative",
|
|
255
|
+
"edit",
|
|
256
|
+
"undo"
|
|
257
|
+
];
|
|
258
|
+
|
|
259
|
+
// General
|
|
260
|
+
|
|
261
|
+
// Reverse a string
|
|
262
|
+
function strReverse(a) {
|
|
263
|
+
return a
|
|
264
|
+
.split("")
|
|
265
|
+
.reverse()
|
|
266
|
+
.join("");
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
// Check if a string starts with a specified prefix.
|
|
270
|
+
function strStartsWith(input, match) {
|
|
271
|
+
return input.substring(0, match.length) === match;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
// Check is a string ends in a specified suffix.
|
|
275
|
+
function strEndsWith(input, match) {
|
|
276
|
+
return input.slice(-1 * match.length) === match;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// Throw an error if formatting options are incompatible.
|
|
280
|
+
function throwEqualError(F, a, b) {
|
|
281
|
+
if ((F[a] || F[b]) && F[a] === F[b]) {
|
|
282
|
+
throw new Error(a);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
// Check if a number is finite and not NaN
|
|
287
|
+
function isValidNumber(input) {
|
|
288
|
+
return typeof input === "number" && isFinite(input);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
// Provide rounding-accurate toFixed method.
|
|
292
|
+
// Borrowed: http://stackoverflow.com/a/21323330/775265
|
|
293
|
+
function toFixed(value, exp) {
|
|
294
|
+
value = value.toString().split("e");
|
|
295
|
+
value = Math.round(+(value[0] + "e" + (value[1] ? +value[1] + exp : exp)));
|
|
296
|
+
value = value.toString().split("e");
|
|
297
|
+
return (+(value[0] + "e" + (value[1] ? +value[1] - exp : -exp))).toFixed(exp);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// Formatting
|
|
301
|
+
|
|
302
|
+
// Accept a number as input, output formatted string.
|
|
303
|
+
function formatTo(
|
|
304
|
+
decimals,
|
|
305
|
+
thousand,
|
|
306
|
+
mark,
|
|
307
|
+
prefix,
|
|
308
|
+
suffix,
|
|
309
|
+
encoder,
|
|
310
|
+
decoder,
|
|
311
|
+
negativeBefore,
|
|
312
|
+
negative,
|
|
313
|
+
edit,
|
|
314
|
+
undo,
|
|
315
|
+
input
|
|
316
|
+
) {
|
|
317
|
+
var originalInput = input,
|
|
318
|
+
inputIsNegative,
|
|
319
|
+
inputPieces,
|
|
320
|
+
inputBase,
|
|
321
|
+
inputDecimals = "",
|
|
322
|
+
output = "";
|
|
323
|
+
|
|
324
|
+
// Apply user encoder to the input.
|
|
325
|
+
// Expected outcome: number.
|
|
326
|
+
if (encoder) {
|
|
327
|
+
input = encoder(input);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
// Stop if no valid number was provided, the number is infinite or NaN.
|
|
331
|
+
if (!isValidNumber(input)) {
|
|
332
|
+
return false;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
// Rounding away decimals might cause a value of -0
|
|
336
|
+
// when using very small ranges. Remove those cases.
|
|
337
|
+
if (decimals !== false && parseFloat(input.toFixed(decimals)) === 0) {
|
|
338
|
+
input = 0;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
// Formatting is done on absolute numbers,
|
|
342
|
+
// decorated by an optional negative symbol.
|
|
343
|
+
if (input < 0) {
|
|
344
|
+
inputIsNegative = true;
|
|
345
|
+
input = Math.abs(input);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
// Reduce the number of decimals to the specified option.
|
|
349
|
+
if (decimals !== false) {
|
|
350
|
+
input = toFixed(input, decimals);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
// Transform the number into a string, so it can be split.
|
|
354
|
+
input = input.toString();
|
|
355
|
+
|
|
356
|
+
// Break the number on the decimal separator.
|
|
357
|
+
if (input.indexOf(".") !== -1) {
|
|
358
|
+
inputPieces = input.split(".");
|
|
359
|
+
|
|
360
|
+
inputBase = inputPieces[0];
|
|
361
|
+
|
|
362
|
+
if (mark) {
|
|
363
|
+
inputDecimals = mark + inputPieces[1];
|
|
364
|
+
}
|
|
365
|
+
} else {
|
|
366
|
+
// If it isn't split, the entire number will do.
|
|
367
|
+
inputBase = input;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
// Group numbers in sets of three.
|
|
371
|
+
if (thousand) {
|
|
372
|
+
inputBase = strReverse(inputBase).match(/.{1,3}/g);
|
|
373
|
+
inputBase = strReverse(inputBase.join(strReverse(thousand)));
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// If the number is negative, prefix with negation symbol.
|
|
377
|
+
if (inputIsNegative && negativeBefore) {
|
|
378
|
+
output += negativeBefore;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
// Prefix the number
|
|
382
|
+
if (prefix) {
|
|
383
|
+
output += prefix;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
// Normal negative option comes after the prefix. Defaults to '-'.
|
|
387
|
+
if (inputIsNegative && negative) {
|
|
388
|
+
output += negative;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
// Append the actual number.
|
|
392
|
+
output += inputBase;
|
|
393
|
+
output += inputDecimals;
|
|
394
|
+
|
|
395
|
+
// Apply the suffix.
|
|
396
|
+
if (suffix) {
|
|
397
|
+
output += suffix;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
// Run the output through a user-specified post-formatter.
|
|
401
|
+
if (edit) {
|
|
402
|
+
output = edit(output, originalInput);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// All done.
|
|
406
|
+
return output;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// Accept a sting as input, output decoded number.
|
|
410
|
+
function formatFrom(
|
|
411
|
+
decimals,
|
|
412
|
+
thousand,
|
|
413
|
+
mark,
|
|
414
|
+
prefix,
|
|
415
|
+
suffix,
|
|
416
|
+
encoder,
|
|
417
|
+
decoder,
|
|
418
|
+
negativeBefore,
|
|
419
|
+
negative,
|
|
420
|
+
edit,
|
|
421
|
+
undo,
|
|
422
|
+
input
|
|
423
|
+
) {
|
|
424
|
+
var inputIsNegative,
|
|
425
|
+
output = "";
|
|
426
|
+
|
|
427
|
+
// User defined pre-decoder. Result must be a non empty string.
|
|
428
|
+
if (undo) {
|
|
429
|
+
input = undo(input);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
// Test the input. Can't be empty.
|
|
433
|
+
if (!input || typeof input !== "string") {
|
|
434
|
+
return false;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
// If the string starts with the negativeBefore value: remove it.
|
|
438
|
+
// Remember is was there, the number is negative.
|
|
439
|
+
if (negativeBefore && strStartsWith(input, negativeBefore)) {
|
|
440
|
+
input = input.replace(negativeBefore, "");
|
|
441
|
+
inputIsNegative = true;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
// Repeat the same procedure for the prefix.
|
|
445
|
+
if (prefix && strStartsWith(input, prefix)) {
|
|
446
|
+
input = input.replace(prefix, "");
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
// And again for negative.
|
|
450
|
+
if (negative && strStartsWith(input, negative)) {
|
|
451
|
+
input = input.replace(negative, "");
|
|
452
|
+
inputIsNegative = true;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
// Remove the suffix.
|
|
456
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice
|
|
457
|
+
if (suffix && strEndsWith(input, suffix)) {
|
|
458
|
+
input = input.slice(0, -1 * suffix.length);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
// Remove the thousand grouping.
|
|
462
|
+
if (thousand) {
|
|
463
|
+
input = input.split(thousand).join("");
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
// Set the decimal separator back to period.
|
|
467
|
+
if (mark) {
|
|
468
|
+
input = input.replace(mark, ".");
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
// Prepend the negative symbol.
|
|
472
|
+
if (inputIsNegative) {
|
|
473
|
+
output += "-";
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
// Add the number
|
|
477
|
+
output += input;
|
|
478
|
+
|
|
479
|
+
// Trim all non-numeric characters (allow '.' and '-');
|
|
480
|
+
output = output.replace(/[^0-9\.\-.]/g, "");
|
|
481
|
+
|
|
482
|
+
// The value contains no parse-able number.
|
|
483
|
+
if (output === "") {
|
|
484
|
+
return false;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
// Covert to number.
|
|
488
|
+
output = Number(output);
|
|
489
|
+
|
|
490
|
+
// Run the user-specified post-decoder.
|
|
491
|
+
if (decoder) {
|
|
492
|
+
output = decoder(output);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
// Check is the output is valid, otherwise: return false.
|
|
496
|
+
if (!isValidNumber(output)) {
|
|
497
|
+
return false;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
return output;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
// Framework
|
|
504
|
+
|
|
505
|
+
// Validate formatting options
|
|
506
|
+
function validate(inputOptions) {
|
|
507
|
+
var i,
|
|
508
|
+
optionName,
|
|
509
|
+
optionValue,
|
|
510
|
+
filteredOptions = {};
|
|
511
|
+
|
|
512
|
+
if (inputOptions["suffix"] === undefined) {
|
|
513
|
+
inputOptions["suffix"] = inputOptions["postfix"];
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
for (i = 0; i < FormatOptions.length; i += 1) {
|
|
517
|
+
optionName = FormatOptions[i];
|
|
518
|
+
optionValue = inputOptions[optionName];
|
|
519
|
+
|
|
520
|
+
if (optionValue === undefined) {
|
|
521
|
+
// Only default if negativeBefore isn't set.
|
|
522
|
+
if (optionName === "negative" && !filteredOptions.negativeBefore) {
|
|
523
|
+
filteredOptions[optionName] = "-";
|
|
524
|
+
// Don't set a default for mark when 'thousand' is set.
|
|
525
|
+
} else if (optionName === "mark" && filteredOptions.thousand !== ".") {
|
|
526
|
+
filteredOptions[optionName] = ".";
|
|
527
|
+
} else {
|
|
528
|
+
filteredOptions[optionName] = false;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
// Floating points in JS are stable up to 7 decimals.
|
|
532
|
+
} else if (optionName === "decimals") {
|
|
533
|
+
if (optionValue >= 0 && optionValue < 8) {
|
|
534
|
+
filteredOptions[optionName] = optionValue;
|
|
535
|
+
} else {
|
|
536
|
+
throw new Error(optionName);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// These options, when provided, must be functions.
|
|
540
|
+
} else if (
|
|
541
|
+
optionName === "encoder" ||
|
|
542
|
+
optionName === "decoder" ||
|
|
543
|
+
optionName === "edit" ||
|
|
544
|
+
optionName === "undo"
|
|
545
|
+
) {
|
|
546
|
+
if (typeof optionValue === "function") {
|
|
547
|
+
filteredOptions[optionName] = optionValue;
|
|
548
|
+
} else {
|
|
549
|
+
throw new Error(optionName);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
// Other options are strings.
|
|
553
|
+
} else {
|
|
554
|
+
if (typeof optionValue === "string") {
|
|
555
|
+
filteredOptions[optionName] = optionValue;
|
|
556
|
+
} else {
|
|
557
|
+
throw new Error(optionName);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
// Some values can't be extracted from a
|
|
563
|
+
// string if certain combinations are present.
|
|
564
|
+
throwEqualError(filteredOptions, "mark", "thousand");
|
|
565
|
+
throwEqualError(filteredOptions, "prefix", "negative");
|
|
566
|
+
throwEqualError(filteredOptions, "prefix", "negativeBefore");
|
|
567
|
+
|
|
568
|
+
return filteredOptions;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
// Pass all options as function arguments
|
|
572
|
+
function passAll(options, method, input) {
|
|
573
|
+
var i,
|
|
574
|
+
args = [];
|
|
575
|
+
|
|
576
|
+
// Add all options in order of FormatOptions
|
|
577
|
+
for (i = 0; i < FormatOptions.length; i += 1) {
|
|
578
|
+
args.push(options[FormatOptions[i]]);
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
// Append the input, then call the method, presenting all
|
|
582
|
+
// options as arguments.
|
|
583
|
+
args.push(input);
|
|
584
|
+
return method.apply("", args);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
function wNumb(options) {
|
|
588
|
+
if (!(this instanceof wNumb)) {
|
|
589
|
+
return new wNumb(options);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
if (typeof options !== "object") {
|
|
593
|
+
return;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
options = validate(options);
|
|
597
|
+
|
|
598
|
+
// Call 'formatTo' with proper arguments.
|
|
599
|
+
this.to = function(input) {
|
|
600
|
+
return passAll(options, formatTo, input);
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
// Call 'formatFrom' with proper arguments.
|
|
604
|
+
this.from = function(input) {
|
|
605
|
+
return passAll(options, formatFrom, input);
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
return wNumb;
|
|
610
|
+
});
|
|
611
|
+
} (wNumb));
|
|
612
|
+
return wNumb.exports;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
requireWNumb();
|
|
616
|
+
|
|
617
|
+
var jsxRuntime = {exports: {}};
|
|
618
|
+
|
|
619
|
+
var reactJsxRuntime_production = {};
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @license React
|
|
623
|
+
* react-jsx-runtime.production.js
|
|
624
|
+
*
|
|
625
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
626
|
+
*
|
|
627
|
+
* This source code is licensed under the MIT license found in the
|
|
628
|
+
* LICENSE file in the root directory of this source tree.
|
|
629
|
+
*/
|
|
630
|
+
|
|
631
|
+
var hasRequiredReactJsxRuntime_production;
|
|
632
|
+
|
|
633
|
+
function requireReactJsxRuntime_production () {
|
|
634
|
+
if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
|
|
635
|
+
hasRequiredReactJsxRuntime_production = 1;
|
|
636
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
637
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
638
|
+
function jsxProd(type, config, maybeKey) {
|
|
639
|
+
var key = null;
|
|
640
|
+
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
641
|
+
void 0 !== config.key && (key = "" + config.key);
|
|
642
|
+
if ("key" in config) {
|
|
643
|
+
maybeKey = {};
|
|
644
|
+
for (var propName in config)
|
|
645
|
+
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
646
|
+
} else maybeKey = config;
|
|
647
|
+
config = maybeKey.ref;
|
|
648
|
+
return {
|
|
649
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
650
|
+
type: type,
|
|
651
|
+
key: key,
|
|
652
|
+
ref: void 0 !== config ? config : null,
|
|
653
|
+
props: maybeKey
|
|
654
|
+
};
|
|
655
|
+
}
|
|
656
|
+
reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
657
|
+
reactJsxRuntime_production.jsx = jsxProd;
|
|
658
|
+
reactJsxRuntime_production.jsxs = jsxProd;
|
|
659
|
+
return reactJsxRuntime_production;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
var reactJsxRuntime_development = {};
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* @license React
|
|
666
|
+
* react-jsx-runtime.development.js
|
|
667
|
+
*
|
|
668
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
669
|
+
*
|
|
670
|
+
* This source code is licensed under the MIT license found in the
|
|
671
|
+
* LICENSE file in the root directory of this source tree.
|
|
672
|
+
*/
|
|
673
|
+
|
|
674
|
+
var hasRequiredReactJsxRuntime_development;
|
|
675
|
+
|
|
676
|
+
function requireReactJsxRuntime_development () {
|
|
677
|
+
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
678
|
+
hasRequiredReactJsxRuntime_development = 1;
|
|
679
|
+
"production" !== process.env.NODE_ENV &&
|
|
680
|
+
(function () {
|
|
681
|
+
function getComponentNameFromType(type) {
|
|
682
|
+
if (null == type) return null;
|
|
683
|
+
if ("function" === typeof type)
|
|
684
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
685
|
+
? null
|
|
686
|
+
: type.displayName || type.name || null;
|
|
687
|
+
if ("string" === typeof type) return type;
|
|
688
|
+
switch (type) {
|
|
689
|
+
case REACT_FRAGMENT_TYPE:
|
|
690
|
+
return "Fragment";
|
|
691
|
+
case REACT_PROFILER_TYPE:
|
|
692
|
+
return "Profiler";
|
|
693
|
+
case REACT_STRICT_MODE_TYPE:
|
|
694
|
+
return "StrictMode";
|
|
695
|
+
case REACT_SUSPENSE_TYPE:
|
|
696
|
+
return "Suspense";
|
|
697
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
698
|
+
return "SuspenseList";
|
|
699
|
+
case REACT_ACTIVITY_TYPE:
|
|
700
|
+
return "Activity";
|
|
701
|
+
}
|
|
702
|
+
if ("object" === typeof type)
|
|
703
|
+
switch (
|
|
704
|
+
("number" === typeof type.tag &&
|
|
705
|
+
console.error(
|
|
706
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
707
|
+
),
|
|
708
|
+
type.$$typeof)
|
|
709
|
+
) {
|
|
710
|
+
case REACT_PORTAL_TYPE:
|
|
711
|
+
return "Portal";
|
|
712
|
+
case REACT_CONTEXT_TYPE:
|
|
713
|
+
return (type.displayName || "Context") + ".Provider";
|
|
714
|
+
case REACT_CONSUMER_TYPE:
|
|
715
|
+
return (type._context.displayName || "Context") + ".Consumer";
|
|
716
|
+
case REACT_FORWARD_REF_TYPE:
|
|
717
|
+
var innerType = type.render;
|
|
718
|
+
type = type.displayName;
|
|
719
|
+
type ||
|
|
720
|
+
((type = innerType.displayName || innerType.name || ""),
|
|
721
|
+
(type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
|
|
722
|
+
return type;
|
|
723
|
+
case REACT_MEMO_TYPE:
|
|
724
|
+
return (
|
|
725
|
+
(innerType = type.displayName || null),
|
|
726
|
+
null !== innerType
|
|
727
|
+
? innerType
|
|
728
|
+
: getComponentNameFromType(type.type) || "Memo"
|
|
729
|
+
);
|
|
730
|
+
case REACT_LAZY_TYPE:
|
|
731
|
+
innerType = type._payload;
|
|
732
|
+
type = type._init;
|
|
733
|
+
try {
|
|
734
|
+
return getComponentNameFromType(type(innerType));
|
|
735
|
+
} catch (x) {}
|
|
736
|
+
}
|
|
737
|
+
return null;
|
|
738
|
+
}
|
|
739
|
+
function testStringCoercion(value) {
|
|
740
|
+
return "" + value;
|
|
741
|
+
}
|
|
742
|
+
function checkKeyStringCoercion(value) {
|
|
743
|
+
try {
|
|
744
|
+
testStringCoercion(value);
|
|
745
|
+
var JSCompiler_inline_result = !1;
|
|
746
|
+
} catch (e) {
|
|
747
|
+
JSCompiler_inline_result = true;
|
|
748
|
+
}
|
|
749
|
+
if (JSCompiler_inline_result) {
|
|
750
|
+
JSCompiler_inline_result = console;
|
|
751
|
+
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
752
|
+
var JSCompiler_inline_result$jscomp$0 =
|
|
753
|
+
("function" === typeof Symbol &&
|
|
754
|
+
Symbol.toStringTag &&
|
|
755
|
+
value[Symbol.toStringTag]) ||
|
|
756
|
+
value.constructor.name ||
|
|
757
|
+
"Object";
|
|
758
|
+
JSCompiler_temp_const.call(
|
|
759
|
+
JSCompiler_inline_result,
|
|
760
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
761
|
+
JSCompiler_inline_result$jscomp$0
|
|
762
|
+
);
|
|
763
|
+
return testStringCoercion(value);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
function getTaskName(type) {
|
|
767
|
+
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
768
|
+
if (
|
|
769
|
+
"object" === typeof type &&
|
|
770
|
+
null !== type &&
|
|
771
|
+
type.$$typeof === REACT_LAZY_TYPE
|
|
772
|
+
)
|
|
773
|
+
return "<...>";
|
|
774
|
+
try {
|
|
775
|
+
var name = getComponentNameFromType(type);
|
|
776
|
+
return name ? "<" + name + ">" : "<...>";
|
|
777
|
+
} catch (x) {
|
|
778
|
+
return "<...>";
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
function getOwner() {
|
|
782
|
+
var dispatcher = ReactSharedInternals.A;
|
|
783
|
+
return null === dispatcher ? null : dispatcher.getOwner();
|
|
784
|
+
}
|
|
785
|
+
function UnknownOwner() {
|
|
786
|
+
return Error("react-stack-top-frame");
|
|
787
|
+
}
|
|
788
|
+
function hasValidKey(config) {
|
|
789
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
790
|
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
791
|
+
if (getter && getter.isReactWarning) return false;
|
|
792
|
+
}
|
|
793
|
+
return void 0 !== config.key;
|
|
794
|
+
}
|
|
795
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
796
|
+
function warnAboutAccessingKey() {
|
|
797
|
+
specialPropKeyWarningShown ||
|
|
798
|
+
((specialPropKeyWarningShown = true),
|
|
799
|
+
console.error(
|
|
800
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
801
|
+
displayName
|
|
802
|
+
));
|
|
803
|
+
}
|
|
804
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
805
|
+
Object.defineProperty(props, "key", {
|
|
806
|
+
get: warnAboutAccessingKey,
|
|
807
|
+
configurable: true
|
|
808
|
+
});
|
|
809
|
+
}
|
|
810
|
+
function elementRefGetterWithDeprecationWarning() {
|
|
811
|
+
var componentName = getComponentNameFromType(this.type);
|
|
812
|
+
didWarnAboutElementRef[componentName] ||
|
|
813
|
+
((didWarnAboutElementRef[componentName] = true),
|
|
814
|
+
console.error(
|
|
815
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
816
|
+
));
|
|
817
|
+
componentName = this.props.ref;
|
|
818
|
+
return void 0 !== componentName ? componentName : null;
|
|
819
|
+
}
|
|
820
|
+
function ReactElement(
|
|
821
|
+
type,
|
|
822
|
+
key,
|
|
823
|
+
self,
|
|
824
|
+
source,
|
|
825
|
+
owner,
|
|
826
|
+
props,
|
|
827
|
+
debugStack,
|
|
828
|
+
debugTask
|
|
829
|
+
) {
|
|
830
|
+
self = props.ref;
|
|
831
|
+
type = {
|
|
832
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
833
|
+
type: type,
|
|
834
|
+
key: key,
|
|
835
|
+
props: props,
|
|
836
|
+
_owner: owner
|
|
837
|
+
};
|
|
838
|
+
null !== (void 0 !== self ? self : null)
|
|
839
|
+
? Object.defineProperty(type, "ref", {
|
|
840
|
+
enumerable: false,
|
|
841
|
+
get: elementRefGetterWithDeprecationWarning
|
|
842
|
+
})
|
|
843
|
+
: Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
844
|
+
type._store = {};
|
|
845
|
+
Object.defineProperty(type._store, "validated", {
|
|
846
|
+
configurable: false,
|
|
847
|
+
enumerable: false,
|
|
848
|
+
writable: true,
|
|
849
|
+
value: 0
|
|
850
|
+
});
|
|
851
|
+
Object.defineProperty(type, "_debugInfo", {
|
|
852
|
+
configurable: false,
|
|
853
|
+
enumerable: false,
|
|
854
|
+
writable: true,
|
|
855
|
+
value: null
|
|
856
|
+
});
|
|
857
|
+
Object.defineProperty(type, "_debugStack", {
|
|
858
|
+
configurable: false,
|
|
859
|
+
enumerable: false,
|
|
860
|
+
writable: true,
|
|
861
|
+
value: debugStack
|
|
862
|
+
});
|
|
863
|
+
Object.defineProperty(type, "_debugTask", {
|
|
864
|
+
configurable: false,
|
|
865
|
+
enumerable: false,
|
|
866
|
+
writable: true,
|
|
867
|
+
value: debugTask
|
|
868
|
+
});
|
|
869
|
+
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
870
|
+
return type;
|
|
871
|
+
}
|
|
872
|
+
function jsxDEVImpl(
|
|
873
|
+
type,
|
|
874
|
+
config,
|
|
875
|
+
maybeKey,
|
|
876
|
+
isStaticChildren,
|
|
877
|
+
source,
|
|
878
|
+
self,
|
|
879
|
+
debugStack,
|
|
880
|
+
debugTask
|
|
881
|
+
) {
|
|
882
|
+
var children = config.children;
|
|
883
|
+
if (void 0 !== children)
|
|
884
|
+
if (isStaticChildren)
|
|
885
|
+
if (isArrayImpl(children)) {
|
|
886
|
+
for (
|
|
887
|
+
isStaticChildren = 0;
|
|
888
|
+
isStaticChildren < children.length;
|
|
889
|
+
isStaticChildren++
|
|
890
|
+
)
|
|
891
|
+
validateChildKeys(children[isStaticChildren]);
|
|
892
|
+
Object.freeze && Object.freeze(children);
|
|
893
|
+
} else
|
|
894
|
+
console.error(
|
|
895
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
896
|
+
);
|
|
897
|
+
else validateChildKeys(children);
|
|
898
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
899
|
+
children = getComponentNameFromType(type);
|
|
900
|
+
var keys = Object.keys(config).filter(function (k) {
|
|
901
|
+
return "key" !== k;
|
|
902
|
+
});
|
|
903
|
+
isStaticChildren =
|
|
904
|
+
0 < keys.length
|
|
905
|
+
? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
|
|
906
|
+
: "{key: someKey}";
|
|
907
|
+
didWarnAboutKeySpread[children + isStaticChildren] ||
|
|
908
|
+
((keys =
|
|
909
|
+
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
|
|
910
|
+
console.error(
|
|
911
|
+
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
|
912
|
+
isStaticChildren,
|
|
913
|
+
children,
|
|
914
|
+
keys,
|
|
915
|
+
children
|
|
916
|
+
),
|
|
917
|
+
(didWarnAboutKeySpread[children + isStaticChildren] = true));
|
|
918
|
+
}
|
|
919
|
+
children = null;
|
|
920
|
+
void 0 !== maybeKey &&
|
|
921
|
+
(checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
|
|
922
|
+
hasValidKey(config) &&
|
|
923
|
+
(checkKeyStringCoercion(config.key), (children = "" + config.key));
|
|
924
|
+
if ("key" in config) {
|
|
925
|
+
maybeKey = {};
|
|
926
|
+
for (var propName in config)
|
|
927
|
+
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
928
|
+
} else maybeKey = config;
|
|
929
|
+
children &&
|
|
930
|
+
defineKeyPropWarningGetter(
|
|
931
|
+
maybeKey,
|
|
932
|
+
"function" === typeof type
|
|
933
|
+
? type.displayName || type.name || "Unknown"
|
|
934
|
+
: type
|
|
935
|
+
);
|
|
936
|
+
return ReactElement(
|
|
937
|
+
type,
|
|
938
|
+
children,
|
|
939
|
+
self,
|
|
940
|
+
source,
|
|
941
|
+
getOwner(),
|
|
942
|
+
maybeKey,
|
|
943
|
+
debugStack,
|
|
944
|
+
debugTask
|
|
945
|
+
);
|
|
946
|
+
}
|
|
947
|
+
function validateChildKeys(node) {
|
|
948
|
+
"object" === typeof node &&
|
|
949
|
+
null !== node &&
|
|
950
|
+
node.$$typeof === REACT_ELEMENT_TYPE &&
|
|
951
|
+
node._store &&
|
|
952
|
+
(node._store.validated = 1);
|
|
953
|
+
}
|
|
954
|
+
var React = require$$0,
|
|
955
|
+
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
956
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
957
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
958
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
959
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
960
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
961
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
962
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
963
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
964
|
+
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
965
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
966
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
967
|
+
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
|
968
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
969
|
+
ReactSharedInternals =
|
|
970
|
+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
971
|
+
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
972
|
+
isArrayImpl = Array.isArray,
|
|
973
|
+
createTask = console.createTask
|
|
974
|
+
? console.createTask
|
|
975
|
+
: function () {
|
|
976
|
+
return null;
|
|
977
|
+
};
|
|
978
|
+
React = {
|
|
979
|
+
"react-stack-bottom-frame": function (callStackForError) {
|
|
980
|
+
return callStackForError();
|
|
981
|
+
}
|
|
982
|
+
};
|
|
983
|
+
var specialPropKeyWarningShown;
|
|
984
|
+
var didWarnAboutElementRef = {};
|
|
985
|
+
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
|
|
986
|
+
React,
|
|
987
|
+
UnknownOwner
|
|
988
|
+
)();
|
|
989
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
990
|
+
var didWarnAboutKeySpread = {};
|
|
991
|
+
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
|
|
992
|
+
reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
|
|
993
|
+
var trackActualOwner =
|
|
994
|
+
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
995
|
+
return jsxDEVImpl(
|
|
996
|
+
type,
|
|
997
|
+
config,
|
|
998
|
+
maybeKey,
|
|
999
|
+
false,
|
|
1000
|
+
source,
|
|
1001
|
+
self,
|
|
1002
|
+
trackActualOwner
|
|
1003
|
+
? Error("react-stack-top-frame")
|
|
1004
|
+
: unknownOwnerDebugStack,
|
|
1005
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1006
|
+
);
|
|
1007
|
+
};
|
|
1008
|
+
reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
|
|
1009
|
+
var trackActualOwner =
|
|
1010
|
+
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1011
|
+
return jsxDEVImpl(
|
|
1012
|
+
type,
|
|
1013
|
+
config,
|
|
1014
|
+
maybeKey,
|
|
1015
|
+
true,
|
|
1016
|
+
source,
|
|
1017
|
+
self,
|
|
1018
|
+
trackActualOwner
|
|
1019
|
+
? Error("react-stack-top-frame")
|
|
1020
|
+
: unknownOwnerDebugStack,
|
|
1021
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1022
|
+
);
|
|
1023
|
+
};
|
|
1024
|
+
})();
|
|
1025
|
+
return reactJsxRuntime_development;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
var hasRequiredJsxRuntime;
|
|
1029
|
+
|
|
1030
|
+
function requireJsxRuntime () {
|
|
1031
|
+
if (hasRequiredJsxRuntime) return jsxRuntime.exports;
|
|
1032
|
+
hasRequiredJsxRuntime = 1;
|
|
1033
|
+
|
|
1034
|
+
if (process.env.NODE_ENV === 'production') {
|
|
1035
|
+
jsxRuntime.exports = requireReactJsxRuntime_production();
|
|
1036
|
+
} else {
|
|
1037
|
+
jsxRuntime.exports = requireReactJsxRuntime_development();
|
|
1038
|
+
}
|
|
1039
|
+
return jsxRuntime.exports;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
var jsxRuntimeExports = requireJsxRuntime();
|
|
1043
|
+
|
|
1044
|
+
var CLASS_ROOT$1 = "grid";
|
|
1045
|
+
var Grid = function Grid(_a) {
|
|
1046
|
+
var className = _a.className,
|
|
1047
|
+
hAlign = _a.hAlign,
|
|
1048
|
+
vAlign = _a.vAlign,
|
|
1049
|
+
_a$tag = _a.tag,
|
|
1050
|
+
tag = _a$tag === void 0 ? "div" : _a$tag,
|
|
1051
|
+
justifyHeight = _a.justifyHeight,
|
|
1052
|
+
rowGapSize = _a.rowGapSize,
|
|
1053
|
+
columnGapSize = _a.columnGapSize,
|
|
1054
|
+
other = __rest(_a, ["className", "hAlign", "vAlign", "tag", "justifyHeight", "rowGapSize", "columnGapSize"]);
|
|
1055
|
+
var classes = cx.apply(void 0, [CLASS_ROOT$1, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "align-items-".concat(vAlign), vAlign), "justify-content-".concat(hAlign), hAlign), "".concat(CLASS_ROOT$1, "--justify-height"), justifyHeight), "".concat(CLASS_ROOT$1, "--column-gap-").concat(columnGapSize), columnGapSize)].concat(_toConsumableArray(genResponsiveClasses("".concat(CLASS_ROOT$1, "-row-gap"), rowGapSize)), [className]));
|
|
1056
|
+
var TagName = tag;
|
|
1057
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TagName, _objectSpread2({
|
|
1058
|
+
className: classes
|
|
1059
|
+
}, other));
|
|
1060
|
+
};
|
|
1061
|
+
Grid.displayName = "Grid";
|
|
1062
|
+
|
|
1063
|
+
var CLASS_ROOT = 'grid__col';
|
|
1064
|
+
var GridCol = function GridCol(_a) {
|
|
1065
|
+
var className = _a.className,
|
|
1066
|
+
align = _a.align,
|
|
1067
|
+
_a$tag = _a.tag,
|
|
1068
|
+
tag = _a$tag === void 0 ? "div" : _a$tag,
|
|
1069
|
+
size = _a.size,
|
|
1070
|
+
other = __rest(_a, ["className", "align", "tag", "size"]);
|
|
1071
|
+
var responsiveClasses = genResponsiveClasses(CLASS_ROOT, size);
|
|
1072
|
+
var classes = cx.apply(void 0, [CLASS_ROOT].concat(_toConsumableArray(responsiveClasses.filter(Boolean)), [// Filter out null/undefined values
|
|
1073
|
+
_defineProperty({}, "align-self-".concat(align), align), className]));
|
|
1074
|
+
var TagName = tag;
|
|
1075
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TagName, _objectSpread2({
|
|
1076
|
+
className: classes
|
|
1077
|
+
}, other));
|
|
1078
|
+
};
|
|
1079
|
+
GridCol.displayName = 'GridCol';
|
|
1080
|
+
|
|
1081
|
+
export { Grid, GridCol };
|
|
1082
|
+
//# sourceMappingURL=index.js.map
|