@nasa-terra/components 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/LICENSE.md +7 -0
- package/README.md +51 -0
- package/cdn/assets/icons/LICENSE +21 -0
- package/cdn/assets/icons/icons.json +2962 -0
- package/cdn/assets/icons/outline-academic-cap.svg +3 -0
- package/cdn/assets/icons/outline-adjustments-horizontal.svg +3 -0
- package/cdn/assets/icons/outline-adjustments-vertical.svg +3 -0
- package/cdn/assets/icons/outline-archive-box-arrow-down.svg +3 -0
- package/cdn/assets/icons/outline-archive-box-x-mark.svg +3 -0
- package/cdn/assets/icons/outline-archive-box.svg +3 -0
- package/cdn/assets/icons/outline-arrow-down-circle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-down-left.svg +3 -0
- package/cdn/assets/icons/outline-arrow-down-on-square-stack.svg +3 -0
- package/cdn/assets/icons/outline-arrow-down-on-square.svg +3 -0
- package/cdn/assets/icons/outline-arrow-down-right.svg +3 -0
- package/cdn/assets/icons/outline-arrow-down-tray.svg +3 -0
- package/cdn/assets/icons/outline-arrow-down.svg +3 -0
- package/cdn/assets/icons/outline-arrow-left-circle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-left-end-on-rectangle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-left-on-rectangle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-left-start-on-rectangle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-left.svg +3 -0
- package/cdn/assets/icons/outline-arrow-long-down.svg +3 -0
- package/cdn/assets/icons/outline-arrow-long-left.svg +3 -0
- package/cdn/assets/icons/outline-arrow-long-right.svg +3 -0
- package/cdn/assets/icons/outline-arrow-long-up.svg +3 -0
- package/cdn/assets/icons/outline-arrow-path-rounded-square.svg +3 -0
- package/cdn/assets/icons/outline-arrow-path.svg +3 -0
- package/cdn/assets/icons/outline-arrow-right-circle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-right-end-on-rectangle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-right-on-rectangle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-right-start-on-rectangle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-right.svg +3 -0
- package/cdn/assets/icons/outline-arrow-small-down.svg +3 -0
- package/cdn/assets/icons/outline-arrow-small-left.svg +3 -0
- package/cdn/assets/icons/outline-arrow-small-right.svg +3 -0
- package/cdn/assets/icons/outline-arrow-small-up.svg +3 -0
- package/cdn/assets/icons/outline-arrow-top-right-on-square.svg +3 -0
- package/cdn/assets/icons/outline-arrow-trending-down.svg +3 -0
- package/cdn/assets/icons/outline-arrow-trending-up.svg +3 -0
- package/cdn/assets/icons/outline-arrow-up-circle.svg +3 -0
- package/cdn/assets/icons/outline-arrow-up-left.svg +3 -0
- package/cdn/assets/icons/outline-arrow-up-on-square-stack.svg +3 -0
- package/cdn/assets/icons/outline-arrow-up-on-square.svg +3 -0
- package/cdn/assets/icons/outline-arrow-up-right.svg +3 -0
- package/cdn/assets/icons/outline-arrow-up-tray.svg +3 -0
- package/cdn/assets/icons/outline-arrow-up.svg +3 -0
- package/cdn/assets/icons/outline-arrow-uturn-down.svg +3 -0
- package/cdn/assets/icons/outline-arrow-uturn-left.svg +3 -0
- package/cdn/assets/icons/outline-arrow-uturn-right.svg +3 -0
- package/cdn/assets/icons/outline-arrow-uturn-up.svg +3 -0
- package/cdn/assets/icons/outline-arrows-pointing-in.svg +3 -0
- package/cdn/assets/icons/outline-arrows-pointing-out.svg +3 -0
- package/cdn/assets/icons/outline-arrows-right-left.svg +3 -0
- package/cdn/assets/icons/outline-arrows-up-down.svg +3 -0
- package/cdn/assets/icons/outline-at-symbol.svg +3 -0
- package/cdn/assets/icons/outline-backspace.svg +3 -0
- package/cdn/assets/icons/outline-backward.svg +3 -0
- package/cdn/assets/icons/outline-banknotes.svg +3 -0
- package/cdn/assets/icons/outline-bars-2.svg +3 -0
- package/cdn/assets/icons/outline-bars-3-bottom-left.svg +3 -0
- package/cdn/assets/icons/outline-bars-3-bottom-right.svg +3 -0
- package/cdn/assets/icons/outline-bars-3-center-left.svg +3 -0
- package/cdn/assets/icons/outline-bars-3.svg +3 -0
- package/cdn/assets/icons/outline-bars-4.svg +3 -0
- package/cdn/assets/icons/outline-bars-arrow-down.svg +3 -0
- package/cdn/assets/icons/outline-bars-arrow-up.svg +3 -0
- package/cdn/assets/icons/outline-battery-0.svg +3 -0
- package/cdn/assets/icons/outline-battery-100.svg +3 -0
- package/cdn/assets/icons/outline-battery-50.svg +3 -0
- package/cdn/assets/icons/outline-beaker.svg +3 -0
- package/cdn/assets/icons/outline-bell-alert.svg +3 -0
- package/cdn/assets/icons/outline-bell-slash.svg +3 -0
- package/cdn/assets/icons/outline-bell-snooze.svg +3 -0
- package/cdn/assets/icons/outline-bell.svg +3 -0
- package/cdn/assets/icons/outline-bolt-slash.svg +3 -0
- package/cdn/assets/icons/outline-bolt.svg +3 -0
- package/cdn/assets/icons/outline-book-open.svg +3 -0
- package/cdn/assets/icons/outline-bookmark-slash.svg +3 -0
- package/cdn/assets/icons/outline-bookmark-square.svg +3 -0
- package/cdn/assets/icons/outline-bookmark.svg +3 -0
- package/cdn/assets/icons/outline-briefcase.svg +3 -0
- package/cdn/assets/icons/outline-bug-ant.svg +3 -0
- package/cdn/assets/icons/outline-building-library.svg +3 -0
- package/cdn/assets/icons/outline-building-office-2.svg +3 -0
- package/cdn/assets/icons/outline-building-office.svg +3 -0
- package/cdn/assets/icons/outline-building-storefront.svg +3 -0
- package/cdn/assets/icons/outline-cake.svg +3 -0
- package/cdn/assets/icons/outline-calculator.svg +3 -0
- package/cdn/assets/icons/outline-calendar-days.svg +3 -0
- package/cdn/assets/icons/outline-calendar.svg +3 -0
- package/cdn/assets/icons/outline-camera.svg +4 -0
- package/cdn/assets/icons/outline-chart-bar-square.svg +3 -0
- package/cdn/assets/icons/outline-chart-bar.svg +3 -0
- package/cdn/assets/icons/outline-chart-pie.svg +4 -0
- package/cdn/assets/icons/outline-chat-bubble-bottom-center-text.svg +3 -0
- package/cdn/assets/icons/outline-chat-bubble-bottom-center.svg +3 -0
- package/cdn/assets/icons/outline-chat-bubble-left-ellipsis.svg +3 -0
- package/cdn/assets/icons/outline-chat-bubble-left-right.svg +3 -0
- package/cdn/assets/icons/outline-chat-bubble-left.svg +3 -0
- package/cdn/assets/icons/outline-chat-bubble-oval-left-ellipsis.svg +3 -0
- package/cdn/assets/icons/outline-chat-bubble-oval-left.svg +3 -0
- package/cdn/assets/icons/outline-check-badge.svg +3 -0
- package/cdn/assets/icons/outline-check-circle.svg +3 -0
- package/cdn/assets/icons/outline-check.svg +3 -0
- package/cdn/assets/icons/outline-chevron-double-down.svg +3 -0
- package/cdn/assets/icons/outline-chevron-double-left.svg +3 -0
- package/cdn/assets/icons/outline-chevron-double-right.svg +3 -0
- package/cdn/assets/icons/outline-chevron-double-up.svg +4 -0
- package/cdn/assets/icons/outline-chevron-down.svg +3 -0
- package/cdn/assets/icons/outline-chevron-left.svg +3 -0
- package/cdn/assets/icons/outline-chevron-right.svg +3 -0
- package/cdn/assets/icons/outline-chevron-up-down.svg +3 -0
- package/cdn/assets/icons/outline-chevron-up.svg +3 -0
- package/cdn/assets/icons/outline-circle-stack.svg +3 -0
- package/cdn/assets/icons/outline-clipboard-document-check.svg +3 -0
- package/cdn/assets/icons/outline-clipboard-document-list.svg +3 -0
- package/cdn/assets/icons/outline-clipboard-document.svg +3 -0
- package/cdn/assets/icons/outline-clipboard.svg +3 -0
- package/cdn/assets/icons/outline-clock.svg +3 -0
- package/cdn/assets/icons/outline-cloud-arrow-down.svg +3 -0
- package/cdn/assets/icons/outline-cloud-arrow-up.svg +3 -0
- package/cdn/assets/icons/outline-cloud.svg +3 -0
- package/cdn/assets/icons/outline-code-bracket-square.svg +3 -0
- package/cdn/assets/icons/outline-code-bracket.svg +3 -0
- package/cdn/assets/icons/outline-cog-6-tooth.svg +4 -0
- package/cdn/assets/icons/outline-cog-8-tooth.svg +4 -0
- package/cdn/assets/icons/outline-cog.svg +3 -0
- package/cdn/assets/icons/outline-command-line.svg +3 -0
- package/cdn/assets/icons/outline-computer-desktop.svg +3 -0
- package/cdn/assets/icons/outline-cpu-chip.svg +3 -0
- package/cdn/assets/icons/outline-credit-card.svg +3 -0
- package/cdn/assets/icons/outline-cube-transparent.svg +3 -0
- package/cdn/assets/icons/outline-cube.svg +3 -0
- package/cdn/assets/icons/outline-currency-bangladeshi.svg +3 -0
- package/cdn/assets/icons/outline-currency-dollar.svg +3 -0
- package/cdn/assets/icons/outline-currency-euro.svg +3 -0
- package/cdn/assets/icons/outline-currency-pound.svg +3 -0
- package/cdn/assets/icons/outline-currency-rupee.svg +3 -0
- package/cdn/assets/icons/outline-currency-yen.svg +3 -0
- package/cdn/assets/icons/outline-cursor-arrow-rays.svg +3 -0
- package/cdn/assets/icons/outline-cursor-arrow-ripple.svg +3 -0
- package/cdn/assets/icons/outline-device-phone-mobile.svg +3 -0
- package/cdn/assets/icons/outline-device-tablet.svg +3 -0
- package/cdn/assets/icons/outline-document-arrow-down.svg +3 -0
- package/cdn/assets/icons/outline-document-arrow-up.svg +3 -0
- package/cdn/assets/icons/outline-document-chart-bar.svg +3 -0
- package/cdn/assets/icons/outline-document-check.svg +3 -0
- package/cdn/assets/icons/outline-document-duplicate.svg +3 -0
- package/cdn/assets/icons/outline-document-magnifying-glass.svg +3 -0
- package/cdn/assets/icons/outline-document-minus.svg +3 -0
- package/cdn/assets/icons/outline-document-plus.svg +3 -0
- package/cdn/assets/icons/outline-document-text.svg +3 -0
- package/cdn/assets/icons/outline-document.svg +3 -0
- package/cdn/assets/icons/outline-ellipsis-horizontal-circle.svg +3 -0
- package/cdn/assets/icons/outline-ellipsis-horizontal.svg +3 -0
- package/cdn/assets/icons/outline-ellipsis-vertical.svg +3 -0
- package/cdn/assets/icons/outline-envelope-open.svg +3 -0
- package/cdn/assets/icons/outline-envelope.svg +3 -0
- package/cdn/assets/icons/outline-exclamation-circle.svg +3 -0
- package/cdn/assets/icons/outline-exclamation-triangle.svg +3 -0
- package/cdn/assets/icons/outline-eye-dropper.svg +3 -0
- package/cdn/assets/icons/outline-eye-slash.svg +3 -0
- package/cdn/assets/icons/outline-eye.svg +4 -0
- package/cdn/assets/icons/outline-face-frown.svg +3 -0
- package/cdn/assets/icons/outline-face-smile.svg +3 -0
- package/cdn/assets/icons/outline-film.svg +3 -0
- package/cdn/assets/icons/outline-finger-print.svg +3 -0
- package/cdn/assets/icons/outline-fire.svg +4 -0
- package/cdn/assets/icons/outline-flag.svg +3 -0
- package/cdn/assets/icons/outline-folder-arrow-down.svg +3 -0
- package/cdn/assets/icons/outline-folder-minus.svg +3 -0
- package/cdn/assets/icons/outline-folder-open.svg +3 -0
- package/cdn/assets/icons/outline-folder-plus.svg +3 -0
- package/cdn/assets/icons/outline-folder.svg +3 -0
- package/cdn/assets/icons/outline-forward.svg +3 -0
- package/cdn/assets/icons/outline-funnel.svg +3 -0
- package/cdn/assets/icons/outline-gif.svg +3 -0
- package/cdn/assets/icons/outline-gift-top.svg +3 -0
- package/cdn/assets/icons/outline-gift.svg +3 -0
- package/cdn/assets/icons/outline-globe-alt.svg +3 -0
- package/cdn/assets/icons/outline-globe-americas.svg +3 -0
- package/cdn/assets/icons/outline-globe-asia-australia.svg +3 -0
- package/cdn/assets/icons/outline-globe-europe-africa.svg +3 -0
- package/cdn/assets/icons/outline-hand-raised.svg +3 -0
- package/cdn/assets/icons/outline-hand-thumb-down.svg +3 -0
- package/cdn/assets/icons/outline-hand-thumb-up.svg +3 -0
- package/cdn/assets/icons/outline-hashtag.svg +3 -0
- package/cdn/assets/icons/outline-heart.svg +3 -0
- package/cdn/assets/icons/outline-home-modern.svg +3 -0
- package/cdn/assets/icons/outline-home.svg +3 -0
- package/cdn/assets/icons/outline-identification.svg +3 -0
- package/cdn/assets/icons/outline-inbox-arrow-down.svg +3 -0
- package/cdn/assets/icons/outline-inbox-stack.svg +3 -0
- package/cdn/assets/icons/outline-inbox.svg +3 -0
- package/cdn/assets/icons/outline-information-circle.svg +3 -0
- package/cdn/assets/icons/outline-key.svg +3 -0
- package/cdn/assets/icons/outline-language.svg +3 -0
- package/cdn/assets/icons/outline-lifebuoy.svg +3 -0
- package/cdn/assets/icons/outline-light-bulb.svg +3 -0
- package/cdn/assets/icons/outline-link.svg +3 -0
- package/cdn/assets/icons/outline-list-bullet.svg +3 -0
- package/cdn/assets/icons/outline-lock-closed.svg +3 -0
- package/cdn/assets/icons/outline-lock-open.svg +3 -0
- package/cdn/assets/icons/outline-magnifying-glass-circle.svg +3 -0
- package/cdn/assets/icons/outline-magnifying-glass-minus.svg +3 -0
- package/cdn/assets/icons/outline-magnifying-glass-plus.svg +3 -0
- package/cdn/assets/icons/outline-magnifying-glass.svg +3 -0
- package/cdn/assets/icons/outline-map-pin.svg +4 -0
- package/cdn/assets/icons/outline-map.svg +3 -0
- package/cdn/assets/icons/outline-megaphone.svg +3 -0
- package/cdn/assets/icons/outline-microphone.svg +3 -0
- package/cdn/assets/icons/outline-minus-circle.svg +3 -0
- package/cdn/assets/icons/outline-minus-small.svg +3 -0
- package/cdn/assets/icons/outline-minus.svg +3 -0
- package/cdn/assets/icons/outline-moon.svg +3 -0
- package/cdn/assets/icons/outline-musical-note.svg +3 -0
- package/cdn/assets/icons/outline-newspaper.svg +3 -0
- package/cdn/assets/icons/outline-no-symbol.svg +3 -0
- package/cdn/assets/icons/outline-paint-brush.svg +3 -0
- package/cdn/assets/icons/outline-paper-airplane.svg +3 -0
- package/cdn/assets/icons/outline-paper-clip.svg +3 -0
- package/cdn/assets/icons/outline-pause-circle.svg +3 -0
- package/cdn/assets/icons/outline-pause.svg +3 -0
- package/cdn/assets/icons/outline-pencil-square.svg +3 -0
- package/cdn/assets/icons/outline-pencil.svg +3 -0
- package/cdn/assets/icons/outline-phone-arrow-down-left.svg +3 -0
- package/cdn/assets/icons/outline-phone-arrow-up-right.svg +3 -0
- package/cdn/assets/icons/outline-phone-x-mark.svg +3 -0
- package/cdn/assets/icons/outline-phone.svg +3 -0
- package/cdn/assets/icons/outline-photo.svg +3 -0
- package/cdn/assets/icons/outline-play-circle.svg +4 -0
- package/cdn/assets/icons/outline-play-pause.svg +3 -0
- package/cdn/assets/icons/outline-play.svg +3 -0
- package/cdn/assets/icons/outline-plus-circle.svg +3 -0
- package/cdn/assets/icons/outline-plus-small.svg +3 -0
- package/cdn/assets/icons/outline-plus.svg +3 -0
- package/cdn/assets/icons/outline-power.svg +3 -0
- package/cdn/assets/icons/outline-presentation-chart-bar.svg +3 -0
- package/cdn/assets/icons/outline-presentation-chart-line.svg +3 -0
- package/cdn/assets/icons/outline-printer.svg +3 -0
- package/cdn/assets/icons/outline-puzzle-piece.svg +3 -0
- package/cdn/assets/icons/outline-qr-code.svg +4 -0
- package/cdn/assets/icons/outline-question-mark-circle.svg +3 -0
- package/cdn/assets/icons/outline-queue-list.svg +3 -0
- package/cdn/assets/icons/outline-radio.svg +3 -0
- package/cdn/assets/icons/outline-receipt-percent.svg +3 -0
- package/cdn/assets/icons/outline-receipt-refund.svg +3 -0
- package/cdn/assets/icons/outline-rectangle-group.svg +3 -0
- package/cdn/assets/icons/outline-rectangle-stack.svg +3 -0
- package/cdn/assets/icons/outline-rocket-launch.svg +3 -0
- package/cdn/assets/icons/outline-rss.svg +3 -0
- package/cdn/assets/icons/outline-scale.svg +3 -0
- package/cdn/assets/icons/outline-scissors.svg +3 -0
- package/cdn/assets/icons/outline-server-stack.svg +3 -0
- package/cdn/assets/icons/outline-server.svg +3 -0
- package/cdn/assets/icons/outline-share.svg +3 -0
- package/cdn/assets/icons/outline-shield-check.svg +3 -0
- package/cdn/assets/icons/outline-shield-exclamation.svg +3 -0
- package/cdn/assets/icons/outline-shopping-bag.svg +3 -0
- package/cdn/assets/icons/outline-shopping-cart.svg +3 -0
- package/cdn/assets/icons/outline-signal-slash.svg +3 -0
- package/cdn/assets/icons/outline-signal.svg +3 -0
- package/cdn/assets/icons/outline-sparkles.svg +3 -0
- package/cdn/assets/icons/outline-speaker-wave.svg +3 -0
- package/cdn/assets/icons/outline-speaker-x-mark.svg +3 -0
- package/cdn/assets/icons/outline-square-2-stack.svg +3 -0
- package/cdn/assets/icons/outline-square-3-stack-3d.svg +3 -0
- package/cdn/assets/icons/outline-squares-2x2.svg +3 -0
- package/cdn/assets/icons/outline-squares-plus.svg +3 -0
- package/cdn/assets/icons/outline-star.svg +3 -0
- package/cdn/assets/icons/outline-stop-circle.svg +4 -0
- package/cdn/assets/icons/outline-stop.svg +3 -0
- package/cdn/assets/icons/outline-sun.svg +3 -0
- package/cdn/assets/icons/outline-swatch.svg +3 -0
- package/cdn/assets/icons/outline-table-cells.svg +3 -0
- package/cdn/assets/icons/outline-tag.svg +4 -0
- package/cdn/assets/icons/outline-ticket.svg +3 -0
- package/cdn/assets/icons/outline-trash.svg +3 -0
- package/cdn/assets/icons/outline-trophy.svg +3 -0
- package/cdn/assets/icons/outline-truck.svg +3 -0
- package/cdn/assets/icons/outline-tv.svg +3 -0
- package/cdn/assets/icons/outline-user-circle.svg +3 -0
- package/cdn/assets/icons/outline-user-group.svg +3 -0
- package/cdn/assets/icons/outline-user-minus.svg +3 -0
- package/cdn/assets/icons/outline-user-plus.svg +3 -0
- package/cdn/assets/icons/outline-user.svg +3 -0
- package/cdn/assets/icons/outline-users.svg +3 -0
- package/cdn/assets/icons/outline-variable.svg +3 -0
- package/cdn/assets/icons/outline-video-camera-slash.svg +3 -0
- package/cdn/assets/icons/outline-video-camera.svg +3 -0
- package/cdn/assets/icons/outline-view-columns.svg +3 -0
- package/cdn/assets/icons/outline-viewfinder-circle.svg +3 -0
- package/cdn/assets/icons/outline-wallet.svg +3 -0
- package/cdn/assets/icons/outline-wifi.svg +3 -0
- package/cdn/assets/icons/outline-window.svg +3 -0
- package/cdn/assets/icons/outline-wrench-screwdriver.svg +3 -0
- package/cdn/assets/icons/outline-wrench.svg +4 -0
- package/cdn/assets/icons/outline-x-circle.svg +3 -0
- package/cdn/assets/icons/outline-x-mark.svg +3 -0
- package/cdn/assets/icons/solid-academic-cap.svg +5 -0
- package/cdn/assets/icons/solid-adjustments-horizontal.svg +3 -0
- package/cdn/assets/icons/solid-adjustments-vertical.svg +3 -0
- package/cdn/assets/icons/solid-archive-box-arrow-down.svg +4 -0
- package/cdn/assets/icons/solid-archive-box-x-mark.svg +4 -0
- package/cdn/assets/icons/solid-archive-box.svg +4 -0
- package/cdn/assets/icons/solid-arrow-down-circle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-down-left.svg +3 -0
- package/cdn/assets/icons/solid-arrow-down-on-square-stack.svg +4 -0
- package/cdn/assets/icons/solid-arrow-down-on-square.svg +3 -0
- package/cdn/assets/icons/solid-arrow-down-right.svg +3 -0
- package/cdn/assets/icons/solid-arrow-down-tray.svg +3 -0
- package/cdn/assets/icons/solid-arrow-down.svg +3 -0
- package/cdn/assets/icons/solid-arrow-left-circle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-left-end-on-rectangle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-left-on-rectangle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-left-start-on-rectangle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-left.svg +3 -0
- package/cdn/assets/icons/solid-arrow-long-down.svg +3 -0
- package/cdn/assets/icons/solid-arrow-long-left.svg +3 -0
- package/cdn/assets/icons/solid-arrow-long-right.svg +3 -0
- package/cdn/assets/icons/solid-arrow-long-up.svg +3 -0
- package/cdn/assets/icons/solid-arrow-path-rounded-square.svg +3 -0
- package/cdn/assets/icons/solid-arrow-path.svg +3 -0
- package/cdn/assets/icons/solid-arrow-right-circle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-right-end-on-rectangle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-right-on-rectangle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-right-start-on-rectangle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-right.svg +3 -0
- package/cdn/assets/icons/solid-arrow-small-down.svg +3 -0
- package/cdn/assets/icons/solid-arrow-small-left.svg +3 -0
- package/cdn/assets/icons/solid-arrow-small-right.svg +3 -0
- package/cdn/assets/icons/solid-arrow-small-up.svg +3 -0
- package/cdn/assets/icons/solid-arrow-top-right-on-square.svg +3 -0
- package/cdn/assets/icons/solid-arrow-trending-down.svg +3 -0
- package/cdn/assets/icons/solid-arrow-trending-up.svg +3 -0
- package/cdn/assets/icons/solid-arrow-up-circle.svg +3 -0
- package/cdn/assets/icons/solid-arrow-up-left.svg +3 -0
- package/cdn/assets/icons/solid-arrow-up-on-square-stack.svg +4 -0
- package/cdn/assets/icons/solid-arrow-up-on-square.svg +3 -0
- package/cdn/assets/icons/solid-arrow-up-right.svg +3 -0
- package/cdn/assets/icons/solid-arrow-up-tray.svg +3 -0
- package/cdn/assets/icons/solid-arrow-up.svg +3 -0
- package/cdn/assets/icons/solid-arrow-uturn-down.svg +3 -0
- package/cdn/assets/icons/solid-arrow-uturn-left.svg +3 -0
- package/cdn/assets/icons/solid-arrow-uturn-right.svg +3 -0
- package/cdn/assets/icons/solid-arrow-uturn-up.svg +3 -0
- package/cdn/assets/icons/solid-arrows-pointing-in.svg +3 -0
- package/cdn/assets/icons/solid-arrows-pointing-out.svg +3 -0
- package/cdn/assets/icons/solid-arrows-right-left.svg +3 -0
- package/cdn/assets/icons/solid-arrows-up-down.svg +3 -0
- package/cdn/assets/icons/solid-at-symbol.svg +3 -0
- package/cdn/assets/icons/solid-backspace.svg +3 -0
- package/cdn/assets/icons/solid-backward.svg +3 -0
- package/cdn/assets/icons/solid-banknotes.svg +5 -0
- package/cdn/assets/icons/solid-bars-2.svg +3 -0
- package/cdn/assets/icons/solid-bars-3-bottom-left.svg +3 -0
- package/cdn/assets/icons/solid-bars-3-bottom-right.svg +3 -0
- package/cdn/assets/icons/solid-bars-3-center-left.svg +3 -0
- package/cdn/assets/icons/solid-bars-3.svg +3 -0
- package/cdn/assets/icons/solid-bars-4.svg +3 -0
- package/cdn/assets/icons/solid-bars-arrow-down.svg +3 -0
- package/cdn/assets/icons/solid-bars-arrow-up.svg +3 -0
- package/cdn/assets/icons/solid-battery-0.svg +3 -0
- package/cdn/assets/icons/solid-battery-100.svg +3 -0
- package/cdn/assets/icons/solid-battery-50.svg +4 -0
- package/cdn/assets/icons/solid-beaker.svg +3 -0
- package/cdn/assets/icons/solid-bell-alert.svg +4 -0
- package/cdn/assets/icons/solid-bell-slash.svg +4 -0
- package/cdn/assets/icons/solid-bell-snooze.svg +3 -0
- package/cdn/assets/icons/solid-bell.svg +3 -0
- package/cdn/assets/icons/solid-bolt-slash.svg +3 -0
- package/cdn/assets/icons/solid-bolt.svg +3 -0
- package/cdn/assets/icons/solid-book-open.svg +3 -0
- package/cdn/assets/icons/solid-bookmark-slash.svg +3 -0
- package/cdn/assets/icons/solid-bookmark-square.svg +3 -0
- package/cdn/assets/icons/solid-bookmark.svg +3 -0
- package/cdn/assets/icons/solid-briefcase.svg +4 -0
- package/cdn/assets/icons/solid-bug-ant.svg +3 -0
- package/cdn/assets/icons/solid-building-library.svg +5 -0
- package/cdn/assets/icons/solid-building-office-2.svg +3 -0
- package/cdn/assets/icons/solid-building-office.svg +3 -0
- package/cdn/assets/icons/solid-building-storefront.svg +4 -0
- package/cdn/assets/icons/solid-cake.svg +3 -0
- package/cdn/assets/icons/solid-calculator.svg +3 -0
- package/cdn/assets/icons/solid-calendar-days.svg +4 -0
- package/cdn/assets/icons/solid-calendar.svg +3 -0
- package/cdn/assets/icons/solid-camera.svg +4 -0
- package/cdn/assets/icons/solid-chart-bar-square.svg +3 -0
- package/cdn/assets/icons/solid-chart-bar.svg +3 -0
- package/cdn/assets/icons/solid-chart-pie.svg +4 -0
- package/cdn/assets/icons/solid-chat-bubble-bottom-center-text.svg +3 -0
- package/cdn/assets/icons/solid-chat-bubble-bottom-center.svg +3 -0
- package/cdn/assets/icons/solid-chat-bubble-left-ellipsis.svg +3 -0
- package/cdn/assets/icons/solid-chat-bubble-left-right.svg +4 -0
- package/cdn/assets/icons/solid-chat-bubble-left.svg +3 -0
- package/cdn/assets/icons/solid-chat-bubble-oval-left-ellipsis.svg +3 -0
- package/cdn/assets/icons/solid-chat-bubble-oval-left.svg +3 -0
- package/cdn/assets/icons/solid-check-badge.svg +3 -0
- package/cdn/assets/icons/solid-check-circle.svg +3 -0
- package/cdn/assets/icons/solid-check.svg +3 -0
- package/cdn/assets/icons/solid-chevron-double-down.svg +4 -0
- package/cdn/assets/icons/solid-chevron-double-left.svg +4 -0
- package/cdn/assets/icons/solid-chevron-double-right.svg +4 -0
- package/cdn/assets/icons/solid-chevron-double-up.svg +4 -0
- package/cdn/assets/icons/solid-chevron-down.svg +3 -0
- package/cdn/assets/icons/solid-chevron-left.svg +3 -0
- package/cdn/assets/icons/solid-chevron-right.svg +3 -0
- package/cdn/assets/icons/solid-chevron-up-down.svg +3 -0
- package/cdn/assets/icons/solid-chevron-up.svg +3 -0
- package/cdn/assets/icons/solid-circle-stack.svg +6 -0
- package/cdn/assets/icons/solid-clipboard-document-check.svg +4 -0
- package/cdn/assets/icons/solid-clipboard-document-list.svg +4 -0
- package/cdn/assets/icons/solid-clipboard-document.svg +5 -0
- package/cdn/assets/icons/solid-clipboard.svg +3 -0
- package/cdn/assets/icons/solid-clock.svg +3 -0
- package/cdn/assets/icons/solid-cloud-arrow-down.svg +3 -0
- package/cdn/assets/icons/solid-cloud-arrow-up.svg +3 -0
- package/cdn/assets/icons/solid-cloud.svg +3 -0
- package/cdn/assets/icons/solid-code-bracket-square.svg +3 -0
- package/cdn/assets/icons/solid-code-bracket.svg +3 -0
- package/cdn/assets/icons/solid-cog-6-tooth.svg +3 -0
- package/cdn/assets/icons/solid-cog-8-tooth.svg +3 -0
- package/cdn/assets/icons/solid-cog.svg +4 -0
- package/cdn/assets/icons/solid-command-line.svg +3 -0
- package/cdn/assets/icons/solid-computer-desktop.svg +3 -0
- package/cdn/assets/icons/solid-cpu-chip.svg +4 -0
- package/cdn/assets/icons/solid-credit-card.svg +4 -0
- package/cdn/assets/icons/solid-cube-transparent.svg +3 -0
- package/cdn/assets/icons/solid-cube.svg +3 -0
- package/cdn/assets/icons/solid-currency-bangladeshi.svg +3 -0
- package/cdn/assets/icons/solid-currency-dollar.svg +4 -0
- package/cdn/assets/icons/solid-currency-euro.svg +3 -0
- package/cdn/assets/icons/solid-currency-pound.svg +3 -0
- package/cdn/assets/icons/solid-currency-rupee.svg +3 -0
- package/cdn/assets/icons/solid-currency-yen.svg +3 -0
- package/cdn/assets/icons/solid-cursor-arrow-rays.svg +3 -0
- package/cdn/assets/icons/solid-cursor-arrow-ripple.svg +3 -0
- package/cdn/assets/icons/solid-device-phone-mobile.svg +4 -0
- package/cdn/assets/icons/solid-device-tablet.svg +4 -0
- package/cdn/assets/icons/solid-document-arrow-down.svg +4 -0
- package/cdn/assets/icons/solid-document-arrow-up.svg +4 -0
- package/cdn/assets/icons/solid-document-chart-bar.svg +4 -0
- package/cdn/assets/icons/solid-document-check.svg +4 -0
- package/cdn/assets/icons/solid-document-duplicate.svg +4 -0
- package/cdn/assets/icons/solid-document-magnifying-glass.svg +5 -0
- package/cdn/assets/icons/solid-document-minus.svg +4 -0
- package/cdn/assets/icons/solid-document-plus.svg +4 -0
- package/cdn/assets/icons/solid-document-text.svg +4 -0
- package/cdn/assets/icons/solid-document.svg +4 -0
- package/cdn/assets/icons/solid-ellipsis-horizontal-circle.svg +3 -0
- package/cdn/assets/icons/solid-ellipsis-horizontal.svg +3 -0
- package/cdn/assets/icons/solid-ellipsis-vertical.svg +3 -0
- package/cdn/assets/icons/solid-envelope-open.svg +4 -0
- package/cdn/assets/icons/solid-envelope.svg +4 -0
- package/cdn/assets/icons/solid-exclamation-circle.svg +3 -0
- package/cdn/assets/icons/solid-exclamation-triangle.svg +3 -0
- package/cdn/assets/icons/solid-eye-dropper.svg +3 -0
- package/cdn/assets/icons/solid-eye-slash.svg +5 -0
- package/cdn/assets/icons/solid-eye.svg +4 -0
- package/cdn/assets/icons/solid-face-frown.svg +3 -0
- package/cdn/assets/icons/solid-face-smile.svg +3 -0
- package/cdn/assets/icons/solid-film.svg +3 -0
- package/cdn/assets/icons/solid-finger-print.svg +3 -0
- package/cdn/assets/icons/solid-fire.svg +3 -0
- package/cdn/assets/icons/solid-flag.svg +3 -0
- package/cdn/assets/icons/solid-folder-arrow-down.svg +3 -0
- package/cdn/assets/icons/solid-folder-minus.svg +3 -0
- package/cdn/assets/icons/solid-folder-open.svg +3 -0
- package/cdn/assets/icons/solid-folder-plus.svg +3 -0
- package/cdn/assets/icons/solid-folder.svg +3 -0
- package/cdn/assets/icons/solid-forward.svg +3 -0
- package/cdn/assets/icons/solid-funnel.svg +3 -0
- package/cdn/assets/icons/solid-gif.svg +3 -0
- package/cdn/assets/icons/solid-gift-top.svg +4 -0
- package/cdn/assets/icons/solid-gift.svg +3 -0
- package/cdn/assets/icons/solid-globe-alt.svg +3 -0
- package/cdn/assets/icons/solid-globe-americas.svg +3 -0
- package/cdn/assets/icons/solid-globe-asia-australia.svg +4 -0
- package/cdn/assets/icons/solid-globe-europe-africa.svg +3 -0
- package/cdn/assets/icons/solid-hand-raised.svg +3 -0
- package/cdn/assets/icons/solid-hand-thumb-down.svg +3 -0
- package/cdn/assets/icons/solid-hand-thumb-up.svg +3 -0
- package/cdn/assets/icons/solid-hashtag.svg +3 -0
- package/cdn/assets/icons/solid-heart.svg +3 -0
- package/cdn/assets/icons/solid-home-modern.svg +4 -0
- package/cdn/assets/icons/solid-home.svg +4 -0
- package/cdn/assets/icons/solid-identification.svg +3 -0
- package/cdn/assets/icons/solid-inbox-arrow-down.svg +4 -0
- package/cdn/assets/icons/solid-inbox-stack.svg +4 -0
- package/cdn/assets/icons/solid-inbox.svg +3 -0
- package/cdn/assets/icons/solid-information-circle.svg +3 -0
- package/cdn/assets/icons/solid-key.svg +3 -0
- package/cdn/assets/icons/solid-language.svg +3 -0
- package/cdn/assets/icons/solid-lifebuoy.svg +3 -0
- package/cdn/assets/icons/solid-light-bulb.svg +4 -0
- package/cdn/assets/icons/solid-link.svg +3 -0
- package/cdn/assets/icons/solid-list-bullet.svg +3 -0
- package/cdn/assets/icons/solid-lock-closed.svg +3 -0
- package/cdn/assets/icons/solid-lock-open.svg +3 -0
- package/cdn/assets/icons/solid-magnifying-glass-circle.svg +4 -0
- package/cdn/assets/icons/solid-magnifying-glass-minus.svg +3 -0
- package/cdn/assets/icons/solid-magnifying-glass-plus.svg +3 -0
- package/cdn/assets/icons/solid-magnifying-glass.svg +3 -0
- package/cdn/assets/icons/solid-map-pin.svg +3 -0
- package/cdn/assets/icons/solid-map.svg +3 -0
- package/cdn/assets/icons/solid-megaphone.svg +3 -0
- package/cdn/assets/icons/solid-microphone.svg +4 -0
- package/cdn/assets/icons/solid-minus-circle.svg +3 -0
- package/cdn/assets/icons/solid-minus-small.svg +3 -0
- package/cdn/assets/icons/solid-minus.svg +3 -0
- package/cdn/assets/icons/solid-moon.svg +3 -0
- package/cdn/assets/icons/solid-musical-note.svg +3 -0
- package/cdn/assets/icons/solid-newspaper.svg +4 -0
- package/cdn/assets/icons/solid-no-symbol.svg +3 -0
- package/cdn/assets/icons/solid-paint-brush.svg +3 -0
- package/cdn/assets/icons/solid-paper-airplane.svg +3 -0
- package/cdn/assets/icons/solid-paper-clip.svg +3 -0
- package/cdn/assets/icons/solid-pause-circle.svg +3 -0
- package/cdn/assets/icons/solid-pause.svg +3 -0
- package/cdn/assets/icons/solid-pencil-square.svg +4 -0
- package/cdn/assets/icons/solid-pencil.svg +3 -0
- package/cdn/assets/icons/solid-phone-arrow-down-left.svg +4 -0
- package/cdn/assets/icons/solid-phone-arrow-up-right.svg +4 -0
- package/cdn/assets/icons/solid-phone-x-mark.svg +3 -0
- package/cdn/assets/icons/solid-phone.svg +3 -0
- package/cdn/assets/icons/solid-photo.svg +3 -0
- package/cdn/assets/icons/solid-play-circle.svg +3 -0
- package/cdn/assets/icons/solid-play-pause.svg +3 -0
- package/cdn/assets/icons/solid-play.svg +3 -0
- package/cdn/assets/icons/solid-plus-circle.svg +3 -0
- package/cdn/assets/icons/solid-plus-small.svg +3 -0
- package/cdn/assets/icons/solid-plus.svg +3 -0
- package/cdn/assets/icons/solid-power.svg +3 -0
- package/cdn/assets/icons/solid-presentation-chart-bar.svg +3 -0
- package/cdn/assets/icons/solid-presentation-chart-line.svg +3 -0
- package/cdn/assets/icons/solid-printer.svg +3 -0
- package/cdn/assets/icons/solid-puzzle-piece.svg +3 -0
- package/cdn/assets/icons/solid-qr-code.svg +3 -0
- package/cdn/assets/icons/solid-question-mark-circle.svg +3 -0
- package/cdn/assets/icons/solid-queue-list.svg +3 -0
- package/cdn/assets/icons/solid-radio.svg +3 -0
- package/cdn/assets/icons/solid-receipt-percent.svg +3 -0
- package/cdn/assets/icons/solid-receipt-refund.svg +3 -0
- package/cdn/assets/icons/solid-rectangle-group.svg +3 -0
- package/cdn/assets/icons/solid-rectangle-stack.svg +3 -0
- package/cdn/assets/icons/solid-rocket-launch.svg +4 -0
- package/cdn/assets/icons/solid-rss.svg +3 -0
- package/cdn/assets/icons/solid-scale.svg +3 -0
- package/cdn/assets/icons/solid-scissors.svg +4 -0
- package/cdn/assets/icons/solid-server-stack.svg +4 -0
- package/cdn/assets/icons/solid-server.svg +4 -0
- package/cdn/assets/icons/solid-share.svg +3 -0
- package/cdn/assets/icons/solid-shield-check.svg +3 -0
- package/cdn/assets/icons/solid-shield-exclamation.svg +3 -0
- package/cdn/assets/icons/solid-shopping-bag.svg +3 -0
- package/cdn/assets/icons/solid-shopping-cart.svg +3 -0
- package/cdn/assets/icons/solid-signal-slash.svg +3 -0
- package/cdn/assets/icons/solid-signal.svg +3 -0
- package/cdn/assets/icons/solid-sparkles.svg +3 -0
- package/cdn/assets/icons/solid-speaker-wave.svg +4 -0
- package/cdn/assets/icons/solid-speaker-x-mark.svg +3 -0
- package/cdn/assets/icons/solid-square-2-stack.svg +4 -0
- package/cdn/assets/icons/solid-square-3-stack-3d.svg +5 -0
- package/cdn/assets/icons/solid-squares-2x2.svg +3 -0
- package/cdn/assets/icons/solid-squares-plus.svg +3 -0
- package/cdn/assets/icons/solid-star.svg +3 -0
- package/cdn/assets/icons/solid-stop-circle.svg +3 -0
- package/cdn/assets/icons/solid-stop.svg +3 -0
- package/cdn/assets/icons/solid-sun.svg +3 -0
- package/cdn/assets/icons/solid-swatch.svg +4 -0
- package/cdn/assets/icons/solid-table-cells.svg +3 -0
- package/cdn/assets/icons/solid-tag.svg +3 -0
- package/cdn/assets/icons/solid-ticket.svg +3 -0
- package/cdn/assets/icons/solid-trash.svg +3 -0
- package/cdn/assets/icons/solid-trophy.svg +3 -0
- package/cdn/assets/icons/solid-truck.svg +5 -0
- package/cdn/assets/icons/solid-tv.svg +4 -0
- package/cdn/assets/icons/solid-user-circle.svg +3 -0
- package/cdn/assets/icons/solid-user-group.svg +4 -0
- package/cdn/assets/icons/solid-user-minus.svg +3 -0
- package/cdn/assets/icons/solid-user-plus.svg +3 -0
- package/cdn/assets/icons/solid-user.svg +3 -0
- package/cdn/assets/icons/solid-users.svg +3 -0
- package/cdn/assets/icons/solid-variable.svg +3 -0
- package/cdn/assets/icons/solid-video-camera-slash.svg +3 -0
- package/cdn/assets/icons/solid-video-camera.svg +3 -0
- package/cdn/assets/icons/solid-view-columns.svg +3 -0
- package/cdn/assets/icons/solid-viewfinder-circle.svg +3 -0
- package/cdn/assets/icons/solid-wallet.svg +3 -0
- package/cdn/assets/icons/solid-wifi.svg +3 -0
- package/cdn/assets/icons/solid-window.svg +3 -0
- package/cdn/assets/icons/solid-wrench-screwdriver.svg +5 -0
- package/cdn/assets/icons/solid-wrench.svg +3 -0
- package/cdn/assets/icons/solid-x-circle.svg +3 -0
- package/cdn/assets/icons/solid-x-mark.svg +3 -0
- package/cdn/chunks/chunk.253Y3NFH.js +21 -0
- package/cdn/chunks/chunk.2XCNCXGV.js +139 -0
- package/cdn/chunks/chunk.2YI7V6QJ.js +42 -0
- package/cdn/chunks/chunk.34DQXAAA.js +24 -0
- package/cdn/chunks/chunk.42A7HENY.js +21 -0
- package/cdn/chunks/chunk.46IWBVYP.js +13 -0
- package/cdn/chunks/chunk.4CAXR33B.js +11 -0
- package/cdn/chunks/chunk.4GVU47B6.js +333 -0
- package/cdn/chunks/chunk.4TENYCNW.js +11 -0
- package/cdn/chunks/chunk.4XR5KYKG.js +23 -0
- package/cdn/chunks/chunk.53SMSSCB.js +705 -0
- package/cdn/chunks/chunk.5DPGWL3Y.js +124 -0
- package/cdn/chunks/chunk.5X6SO6J5.js +21 -0
- package/cdn/chunks/chunk.6JYG4IP3.js +25 -0
- package/cdn/chunks/chunk.6NYH4BZ2.js +73 -0
- package/cdn/chunks/chunk.6PIZJ2ZO.js +21 -0
- package/cdn/chunks/chunk.6QUGTGJO.js +159 -0
- package/cdn/chunks/chunk.6RAHIA27.js +6111 -0
- package/cdn/chunks/chunk.7FISIUEV.js +88272 -0
- package/cdn/chunks/chunk.A4PYD2BT.js +57 -0
- package/cdn/chunks/chunk.AOKHUEZK.js +21 -0
- package/cdn/chunks/chunk.AURPVGI4.js +11 -0
- package/cdn/chunks/chunk.AY5ZYXPF.js +11 -0
- package/cdn/chunks/chunk.BHXZEJO5.js +2000 -0
- package/cdn/chunks/chunk.BPNFS4ED.js +1491 -0
- package/cdn/chunks/chunk.BSSVF7JN.js +205 -0
- package/cdn/chunks/chunk.BT4IJCQK.js +318 -0
- package/cdn/chunks/chunk.CI6OSO6M.js +21 -0
- package/cdn/chunks/chunk.D6XFZNUK.js +219 -0
- package/cdn/chunks/chunk.E3743HRF.js +511 -0
- package/cdn/chunks/chunk.EPEFC6PC.js +11 -0
- package/cdn/chunks/chunk.FRHQ2JZY.js +30 -0
- package/cdn/chunks/chunk.GNSDRDLV.js +62 -0
- package/cdn/chunks/chunk.HAL7R4WT.js +0 -0
- package/cdn/chunks/chunk.IBV3HXI5.js +362 -0
- package/cdn/chunks/chunk.IUDWCWFV.js +37 -0
- package/cdn/chunks/chunk.JSEQXKIQ.js +11 -0
- package/cdn/chunks/chunk.K4EJQG4O.js +169 -0
- package/cdn/chunks/chunk.KJ4BZBTX.js +262 -0
- package/cdn/chunks/chunk.KMTO4VEC.js +10691 -0
- package/cdn/chunks/chunk.KPXFSE3J.js +23 -0
- package/cdn/chunks/chunk.KW4TJM4C.js +65 -0
- package/cdn/chunks/chunk.L7XOR6JZ.js +83 -0
- package/cdn/chunks/chunk.LMGJJIIS.js +36 -0
- package/cdn/chunks/chunk.LQCRC4E2.js +21423 -0
- package/cdn/chunks/chunk.M366DOLL.js +11 -0
- package/cdn/chunks/chunk.MDRUDBRH.js +43 -0
- package/cdn/chunks/chunk.NQKBKXPW.js +33 -0
- package/cdn/chunks/chunk.NTB4EIFE.js +623 -0
- package/cdn/chunks/chunk.NTNL4P6D.js +1311 -0
- package/cdn/chunks/chunk.NUMFOBCB.js +89 -0
- package/cdn/chunks/chunk.OEWCLC7K.js +11 -0
- package/cdn/chunks/chunk.OFCNXAUR.js +108 -0
- package/cdn/chunks/chunk.P2U3GEIK.js +21 -0
- package/cdn/chunks/chunk.P4XRFEY4.js +11 -0
- package/cdn/chunks/chunk.PH7RLQK2.js +333 -0
- package/cdn/chunks/chunk.PQFHJHNO.js +349 -0
- package/cdn/chunks/chunk.PTWY7M47.js +292 -0
- package/cdn/chunks/chunk.PZRCJWJ4.js +97 -0
- package/cdn/chunks/chunk.QB5SASDL.js +64 -0
- package/cdn/chunks/chunk.QEA4QW6G.js +21 -0
- package/cdn/chunks/chunk.R5TLD4JZ.js +11 -0
- package/cdn/chunks/chunk.RJSQ5GQD.js +41 -0
- package/cdn/chunks/chunk.RRCPVEE3.js +332 -0
- package/cdn/chunks/chunk.RVZES2AU.js +21 -0
- package/cdn/chunks/chunk.T3YOGGMB.js +419 -0
- package/cdn/chunks/chunk.TA3MUOR6.js +11 -0
- package/cdn/chunks/chunk.U6DUAIIP.js +102 -0
- package/cdn/chunks/chunk.UCNEPIMI.js +14 -0
- package/cdn/chunks/chunk.UGTZ22DI.js +113 -0
- package/cdn/chunks/chunk.UOFDZJYP.js +116 -0
- package/cdn/chunks/chunk.UP75L23G.js +34 -0
- package/cdn/chunks/chunk.UVHPNM6M.js +10 -0
- package/cdn/chunks/chunk.VHHIJXG2.js +688 -0
- package/cdn/chunks/chunk.VORUJ5MH.js +0 -0
- package/cdn/chunks/chunk.X7ARZIFO.js +21 -0
- package/cdn/chunks/chunk.XTCYIPKA.js +137 -0
- package/cdn/chunks/chunk.Y4CNYLFC.js +92 -0
- package/cdn/chunks/chunk.YVSJQ4KD.js +50 -0
- package/cdn/chunks/chunk.YW2OER7Y.js +105 -0
- package/cdn/chunks/chunk.ZKRXIISK.js +303 -0
- package/cdn/chunks/chunk.ZMCLEFDE.js +186 -0
- package/cdn/components/button/button.component.d.ts +117 -0
- package/cdn/components/button/button.component.js +17 -0
- package/cdn/components/button/button.d.ts +8 -0
- package/cdn/components/button/button.js +18 -0
- package/cdn/components/button/button.styles.d.ts +2 -0
- package/cdn/components/button/button.styles.js +9 -0
- package/cdn/components/chip/chip.component.d.ts +16 -0
- package/cdn/components/chip/chip.component.js +14 -0
- package/cdn/components/chip/chip.d.ts +8 -0
- package/cdn/components/chip/chip.js +15 -0
- package/cdn/components/chip/chip.styles.d.ts +2 -0
- package/cdn/components/chip/chip.styles.js +9 -0
- package/cdn/components/combobox/combobox.component.d.ts +69 -0
- package/cdn/components/combobox/combobox.component.js +22 -0
- package/cdn/components/combobox/combobox.d.ts +8 -0
- package/cdn/components/combobox/combobox.js +23 -0
- package/cdn/components/combobox/combobox.styles.d.ts +2 -0
- package/cdn/components/combobox/combobox.styles.js +9 -0
- package/cdn/components/combobox/lib.d.ts +3 -0
- package/cdn/components/combobox/lib.js +9 -0
- package/cdn/components/combobox/type.d.ts +26 -0
- package/cdn/components/combobox/type.js +7 -0
- package/cdn/components/date-range-slider/date-range-slider.component.d.ts +43 -0
- package/cdn/components/date-range-slider/date-range-slider.component.js +17 -0
- package/cdn/components/date-range-slider/date-range-slider.d.ts +8 -0
- package/cdn/components/date-range-slider/date-range-slider.js +18 -0
- package/cdn/components/date-range-slider/date-range-slider.styles.d.ts +2 -0
- package/cdn/components/date-range-slider/date-range-slider.styles.js +9 -0
- package/cdn/components/date-range-slider/noui-slider-utilities.d.ts +10 -0
- package/cdn/components/date-range-slider/noui-slider-utilities.js +7 -0
- package/cdn/components/icon/icon.component.d.ts +42 -0
- package/cdn/components/icon/icon.component.js +19 -0
- package/cdn/components/icon/icon.d.ts +8 -0
- package/cdn/components/icon/icon.js +20 -0
- package/cdn/components/icon/icon.styles.d.ts +2 -0
- package/cdn/components/icon/icon.styles.js +9 -0
- package/cdn/components/icon/library.d.ts +18 -0
- package/cdn/components/icon/library.default.d.ts +3 -0
- package/cdn/components/icon/library.default.js +7 -0
- package/cdn/components/icon/library.heroicons.d.ts +3 -0
- package/cdn/components/icon/library.heroicons.js +8 -0
- package/cdn/components/icon/library.js +18 -0
- package/cdn/components/loader/loader.component.d.ts +29 -0
- package/cdn/components/loader/loader.component.js +14 -0
- package/cdn/components/loader/loader.d.ts +8 -0
- package/cdn/components/loader/loader.js +15 -0
- package/cdn/components/loader/loader.styles.d.ts +2 -0
- package/cdn/components/loader/loader.styles.js +9 -0
- package/cdn/components/map/leaflet-draw.styles.d.ts +2 -0
- package/cdn/components/map/leaflet-draw.styles.js +9 -0
- package/cdn/components/map/leaflet-utils.d.ts +45 -0
- package/cdn/components/map/leaflet-utils.js +11 -0
- package/cdn/components/map/leaflet.styles.d.ts +2 -0
- package/cdn/components/map/leaflet.styles.js +9 -0
- package/cdn/components/map/map.component.d.ts +51 -0
- package/cdn/components/map/map.component.js +21 -0
- package/cdn/components/map/map.controller.d.ts +8 -0
- package/cdn/components/map/map.controller.js +7 -0
- package/cdn/components/map/map.d.ts +8 -0
- package/cdn/components/map/map.js +22 -0
- package/cdn/components/map/map.styles.d.ts +2 -0
- package/cdn/components/map/map.styles.js +9 -0
- package/cdn/components/map/type.d.ts +14 -0
- package/cdn/components/map/type.js +0 -0
- package/cdn/components/plot/plot.component.d.ts +35 -0
- package/cdn/components/plot/plot.component.js +13 -0
- package/cdn/components/plot/plot.d.ts +8 -0
- package/cdn/components/plot/plot.js +14 -0
- package/cdn/components/plot/plot.styles.d.ts +2 -0
- package/cdn/components/plot/plot.styles.js +9 -0
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +64 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +23 -0
- package/cdn/components/spatial-picker/spatial-picker.d.ts +8 -0
- package/cdn/components/spatial-picker/spatial-picker.js +24 -0
- package/cdn/components/spatial-picker/spatial-picker.styles.d.ts +2 -0
- package/cdn/components/spatial-picker/spatial-picker.styles.js +9 -0
- package/cdn/components/time-series/time-series.component.d.ts +66 -0
- package/cdn/components/time-series/time-series.component.js +57 -0
- package/cdn/components/time-series/time-series.controller.d.ts +21 -0
- package/cdn/components/time-series/time-series.controller.js +13 -0
- package/cdn/components/time-series/time-series.d.ts +8 -0
- package/cdn/components/time-series/time-series.js +58 -0
- package/cdn/components/time-series/time-series.styles.d.ts +2 -0
- package/cdn/components/time-series/time-series.styles.js +9 -0
- package/cdn/components/time-series/time-series.types.d.ts +31 -0
- package/cdn/components/time-series/time-series.types.js +0 -0
- package/cdn/components/variable-combobox/lib.d.ts +8 -0
- package/cdn/components/variable-combobox/lib.js +22 -0
- package/cdn/components/variable-combobox/variable-combobox.component.d.ts +69 -0
- package/cdn/components/variable-combobox/variable-combobox.component.js +37 -0
- package/cdn/components/variable-combobox/variable-combobox.controller.d.ts +28 -0
- package/cdn/components/variable-combobox/variable-combobox.controller.js +14 -0
- package/cdn/components/variable-combobox/variable-combobox.d.ts +8 -0
- package/cdn/components/variable-combobox/variable-combobox.js +38 -0
- package/cdn/components/variable-combobox/variable-combobox.styles.d.ts +2 -0
- package/cdn/components/variable-combobox/variable-combobox.styles.js +9 -0
- package/cdn/custom-elements.json +3018 -0
- package/cdn/events/events.d.ts +7 -0
- package/cdn/events/terra-change.d.ts +6 -0
- package/cdn/events/terra-combobox-change.d.ts +7 -0
- package/cdn/events/terra-date-range-change.d.ts +9 -0
- package/cdn/events/terra-error.d.ts +8 -0
- package/cdn/events/terra-load.d.ts +6 -0
- package/cdn/events/terra-map-change.d.ts +8 -0
- package/cdn/events/terra-remove.d.ts +6 -0
- package/cdn/internal/active-elements.d.ts +15 -0
- package/cdn/internal/animate.d.ts +22 -0
- package/cdn/internal/debounce.d.ts +1 -0
- package/cdn/internal/default-value.d.ts +2 -0
- package/cdn/internal/drag.d.ts +15 -0
- package/cdn/internal/event.d.ts +2 -0
- package/cdn/internal/form.d.ts +78 -0
- package/cdn/internal/indexeddb.d.ts +15 -0
- package/cdn/internal/math.d.ts +2 -0
- package/cdn/internal/modal.d.ts +24 -0
- package/cdn/internal/offset.d.ts +11 -0
- package/cdn/internal/scroll.d.ts +11 -0
- package/cdn/internal/scrollend-polyfill.d.ts +1 -0
- package/cdn/internal/slot.d.ts +23 -0
- package/cdn/internal/string.d.ts +2 -0
- package/cdn/internal/tabbable.d.ts +9 -0
- package/cdn/internal/terra-element.d.ts +47 -0
- package/cdn/internal/test/data-testid-helpers.d.ts +12 -0
- package/cdn/internal/test/element-visible-overflow.d.ts +11 -0
- package/cdn/internal/test/form-control-base-tests.d.ts +7 -0
- package/cdn/internal/test/wait-for-scrolling.d.ts +9 -0
- package/cdn/internal/test.d.ts +31 -0
- package/cdn/internal/watch.d.ts +26 -0
- package/cdn/react/button/index.d.ts +20 -0
- package/cdn/react/button/index.js +18 -0
- package/cdn/react/chip/index.d.ts +11 -0
- package/cdn/react/chip/index.js +15 -0
- package/cdn/react/combobox/index.d.ts +18 -0
- package/cdn/react/combobox/index.js +23 -0
- package/cdn/react/date-range-slider/index.d.ts +16 -0
- package/cdn/react/date-range-slider/index.js +18 -0
- package/cdn/react/icon/index.d.ts +22 -0
- package/cdn/react/icon/index.js +20 -0
- package/cdn/react/index.d.ts +11 -0
- package/cdn/react/index.js +106 -0
- package/cdn/react/loader/index.d.ts +15 -0
- package/cdn/react/loader/index.js +15 -0
- package/cdn/react/map/index.d.ts +10 -0
- package/cdn/react/map/index.js +22 -0
- package/cdn/react/plot/index.d.ts +11 -0
- package/cdn/react/plot/index.js +14 -0
- package/cdn/react/spatial-picker/index.d.ts +10 -0
- package/cdn/react/spatial-picker/index.js +24 -0
- package/cdn/react/time-series/index.d.ts +11 -0
- package/cdn/react/time-series/index.js +58 -0
- package/cdn/react/variable-combobox/index.d.ts +26 -0
- package/cdn/react/variable-combobox/index.js +38 -0
- package/cdn/styles/component.styles.d.ts +2 -0
- package/cdn/styles/form-control.styles.d.ts +2 -0
- package/cdn/terra-ui-components-autoloader.d.ts +4 -0
- package/cdn/terra-ui-components-autoloader.js +42 -0
- package/cdn/terra-ui-components.d.ts +16 -0
- package/cdn/terra-ui-components.js +126 -0
- package/cdn/themes/horizon.css +452 -0
- package/cdn/themes/horizon.styles.d.ts +2 -0
- package/cdn/themes/horizon.styles.js +456 -0
- package/cdn/types/vue/index.d.ts +448 -0
- package/cdn/utilities/animation-registry.d.ts +24 -0
- package/cdn/utilities/animation-registry.js +47 -0
- package/cdn/utilities/animation.d.ts +1 -0
- package/cdn/utilities/animation.js +19 -0
- package/cdn/utilities/base-path.d.ts +18 -0
- package/cdn/utilities/base-path.js +9 -0
- package/cdn/utilities/date.d.ts +1 -0
- package/cdn/utilities/date.js +8 -0
- package/cdn/utilities/form.d.ts +11 -0
- package/cdn/utilities/form.js +10 -0
- package/cdn/utilities/icon-library.d.ts +1 -0
- package/cdn/utilities/icon-library.js +13 -0
- package/cdn/vscode.html-custom-data.json +514 -0
- package/cdn/web-types.json +983 -0
- package/dist/assets/icons/LICENSE +21 -0
- package/dist/assets/icons/icons.json +2962 -0
- package/dist/assets/icons/outline-academic-cap.svg +3 -0
- package/dist/assets/icons/outline-adjustments-horizontal.svg +3 -0
- package/dist/assets/icons/outline-adjustments-vertical.svg +3 -0
- package/dist/assets/icons/outline-archive-box-arrow-down.svg +3 -0
- package/dist/assets/icons/outline-archive-box-x-mark.svg +3 -0
- package/dist/assets/icons/outline-archive-box.svg +3 -0
- package/dist/assets/icons/outline-arrow-down-circle.svg +3 -0
- package/dist/assets/icons/outline-arrow-down-left.svg +3 -0
- package/dist/assets/icons/outline-arrow-down-on-square-stack.svg +3 -0
- package/dist/assets/icons/outline-arrow-down-on-square.svg +3 -0
- package/dist/assets/icons/outline-arrow-down-right.svg +3 -0
- package/dist/assets/icons/outline-arrow-down-tray.svg +3 -0
- package/dist/assets/icons/outline-arrow-down.svg +3 -0
- package/dist/assets/icons/outline-arrow-left-circle.svg +3 -0
- package/dist/assets/icons/outline-arrow-left-end-on-rectangle.svg +3 -0
- package/dist/assets/icons/outline-arrow-left-on-rectangle.svg +3 -0
- package/dist/assets/icons/outline-arrow-left-start-on-rectangle.svg +3 -0
- package/dist/assets/icons/outline-arrow-left.svg +3 -0
- package/dist/assets/icons/outline-arrow-long-down.svg +3 -0
- package/dist/assets/icons/outline-arrow-long-left.svg +3 -0
- package/dist/assets/icons/outline-arrow-long-right.svg +3 -0
- package/dist/assets/icons/outline-arrow-long-up.svg +3 -0
- package/dist/assets/icons/outline-arrow-path-rounded-square.svg +3 -0
- package/dist/assets/icons/outline-arrow-path.svg +3 -0
- package/dist/assets/icons/outline-arrow-right-circle.svg +3 -0
- package/dist/assets/icons/outline-arrow-right-end-on-rectangle.svg +3 -0
- package/dist/assets/icons/outline-arrow-right-on-rectangle.svg +3 -0
- package/dist/assets/icons/outline-arrow-right-start-on-rectangle.svg +3 -0
- package/dist/assets/icons/outline-arrow-right.svg +3 -0
- package/dist/assets/icons/outline-arrow-small-down.svg +3 -0
- package/dist/assets/icons/outline-arrow-small-left.svg +3 -0
- package/dist/assets/icons/outline-arrow-small-right.svg +3 -0
- package/dist/assets/icons/outline-arrow-small-up.svg +3 -0
- package/dist/assets/icons/outline-arrow-top-right-on-square.svg +3 -0
- package/dist/assets/icons/outline-arrow-trending-down.svg +3 -0
- package/dist/assets/icons/outline-arrow-trending-up.svg +3 -0
- package/dist/assets/icons/outline-arrow-up-circle.svg +3 -0
- package/dist/assets/icons/outline-arrow-up-left.svg +3 -0
- package/dist/assets/icons/outline-arrow-up-on-square-stack.svg +3 -0
- package/dist/assets/icons/outline-arrow-up-on-square.svg +3 -0
- package/dist/assets/icons/outline-arrow-up-right.svg +3 -0
- package/dist/assets/icons/outline-arrow-up-tray.svg +3 -0
- package/dist/assets/icons/outline-arrow-up.svg +3 -0
- package/dist/assets/icons/outline-arrow-uturn-down.svg +3 -0
- package/dist/assets/icons/outline-arrow-uturn-left.svg +3 -0
- package/dist/assets/icons/outline-arrow-uturn-right.svg +3 -0
- package/dist/assets/icons/outline-arrow-uturn-up.svg +3 -0
- package/dist/assets/icons/outline-arrows-pointing-in.svg +3 -0
- package/dist/assets/icons/outline-arrows-pointing-out.svg +3 -0
- package/dist/assets/icons/outline-arrows-right-left.svg +3 -0
- package/dist/assets/icons/outline-arrows-up-down.svg +3 -0
- package/dist/assets/icons/outline-at-symbol.svg +3 -0
- package/dist/assets/icons/outline-backspace.svg +3 -0
- package/dist/assets/icons/outline-backward.svg +3 -0
- package/dist/assets/icons/outline-banknotes.svg +3 -0
- package/dist/assets/icons/outline-bars-2.svg +3 -0
- package/dist/assets/icons/outline-bars-3-bottom-left.svg +3 -0
- package/dist/assets/icons/outline-bars-3-bottom-right.svg +3 -0
- package/dist/assets/icons/outline-bars-3-center-left.svg +3 -0
- package/dist/assets/icons/outline-bars-3.svg +3 -0
- package/dist/assets/icons/outline-bars-4.svg +3 -0
- package/dist/assets/icons/outline-bars-arrow-down.svg +3 -0
- package/dist/assets/icons/outline-bars-arrow-up.svg +3 -0
- package/dist/assets/icons/outline-battery-0.svg +3 -0
- package/dist/assets/icons/outline-battery-100.svg +3 -0
- package/dist/assets/icons/outline-battery-50.svg +3 -0
- package/dist/assets/icons/outline-beaker.svg +3 -0
- package/dist/assets/icons/outline-bell-alert.svg +3 -0
- package/dist/assets/icons/outline-bell-slash.svg +3 -0
- package/dist/assets/icons/outline-bell-snooze.svg +3 -0
- package/dist/assets/icons/outline-bell.svg +3 -0
- package/dist/assets/icons/outline-bolt-slash.svg +3 -0
- package/dist/assets/icons/outline-bolt.svg +3 -0
- package/dist/assets/icons/outline-book-open.svg +3 -0
- package/dist/assets/icons/outline-bookmark-slash.svg +3 -0
- package/dist/assets/icons/outline-bookmark-square.svg +3 -0
- package/dist/assets/icons/outline-bookmark.svg +3 -0
- package/dist/assets/icons/outline-briefcase.svg +3 -0
- package/dist/assets/icons/outline-bug-ant.svg +3 -0
- package/dist/assets/icons/outline-building-library.svg +3 -0
- package/dist/assets/icons/outline-building-office-2.svg +3 -0
- package/dist/assets/icons/outline-building-office.svg +3 -0
- package/dist/assets/icons/outline-building-storefront.svg +3 -0
- package/dist/assets/icons/outline-cake.svg +3 -0
- package/dist/assets/icons/outline-calculator.svg +3 -0
- package/dist/assets/icons/outline-calendar-days.svg +3 -0
- package/dist/assets/icons/outline-calendar.svg +3 -0
- package/dist/assets/icons/outline-camera.svg +4 -0
- package/dist/assets/icons/outline-chart-bar-square.svg +3 -0
- package/dist/assets/icons/outline-chart-bar.svg +3 -0
- package/dist/assets/icons/outline-chart-pie.svg +4 -0
- package/dist/assets/icons/outline-chat-bubble-bottom-center-text.svg +3 -0
- package/dist/assets/icons/outline-chat-bubble-bottom-center.svg +3 -0
- package/dist/assets/icons/outline-chat-bubble-left-ellipsis.svg +3 -0
- package/dist/assets/icons/outline-chat-bubble-left-right.svg +3 -0
- package/dist/assets/icons/outline-chat-bubble-left.svg +3 -0
- package/dist/assets/icons/outline-chat-bubble-oval-left-ellipsis.svg +3 -0
- package/dist/assets/icons/outline-chat-bubble-oval-left.svg +3 -0
- package/dist/assets/icons/outline-check-badge.svg +3 -0
- package/dist/assets/icons/outline-check-circle.svg +3 -0
- package/dist/assets/icons/outline-check.svg +3 -0
- package/dist/assets/icons/outline-chevron-double-down.svg +3 -0
- package/dist/assets/icons/outline-chevron-double-left.svg +3 -0
- package/dist/assets/icons/outline-chevron-double-right.svg +3 -0
- package/dist/assets/icons/outline-chevron-double-up.svg +4 -0
- package/dist/assets/icons/outline-chevron-down.svg +3 -0
- package/dist/assets/icons/outline-chevron-left.svg +3 -0
- package/dist/assets/icons/outline-chevron-right.svg +3 -0
- package/dist/assets/icons/outline-chevron-up-down.svg +3 -0
- package/dist/assets/icons/outline-chevron-up.svg +3 -0
- package/dist/assets/icons/outline-circle-stack.svg +3 -0
- package/dist/assets/icons/outline-clipboard-document-check.svg +3 -0
- package/dist/assets/icons/outline-clipboard-document-list.svg +3 -0
- package/dist/assets/icons/outline-clipboard-document.svg +3 -0
- package/dist/assets/icons/outline-clipboard.svg +3 -0
- package/dist/assets/icons/outline-clock.svg +3 -0
- package/dist/assets/icons/outline-cloud-arrow-down.svg +3 -0
- package/dist/assets/icons/outline-cloud-arrow-up.svg +3 -0
- package/dist/assets/icons/outline-cloud.svg +3 -0
- package/dist/assets/icons/outline-code-bracket-square.svg +3 -0
- package/dist/assets/icons/outline-code-bracket.svg +3 -0
- package/dist/assets/icons/outline-cog-6-tooth.svg +4 -0
- package/dist/assets/icons/outline-cog-8-tooth.svg +4 -0
- package/dist/assets/icons/outline-cog.svg +3 -0
- package/dist/assets/icons/outline-command-line.svg +3 -0
- package/dist/assets/icons/outline-computer-desktop.svg +3 -0
- package/dist/assets/icons/outline-cpu-chip.svg +3 -0
- package/dist/assets/icons/outline-credit-card.svg +3 -0
- package/dist/assets/icons/outline-cube-transparent.svg +3 -0
- package/dist/assets/icons/outline-cube.svg +3 -0
- package/dist/assets/icons/outline-currency-bangladeshi.svg +3 -0
- package/dist/assets/icons/outline-currency-dollar.svg +3 -0
- package/dist/assets/icons/outline-currency-euro.svg +3 -0
- package/dist/assets/icons/outline-currency-pound.svg +3 -0
- package/dist/assets/icons/outline-currency-rupee.svg +3 -0
- package/dist/assets/icons/outline-currency-yen.svg +3 -0
- package/dist/assets/icons/outline-cursor-arrow-rays.svg +3 -0
- package/dist/assets/icons/outline-cursor-arrow-ripple.svg +3 -0
- package/dist/assets/icons/outline-device-phone-mobile.svg +3 -0
- package/dist/assets/icons/outline-device-tablet.svg +3 -0
- package/dist/assets/icons/outline-document-arrow-down.svg +3 -0
- package/dist/assets/icons/outline-document-arrow-up.svg +3 -0
- package/dist/assets/icons/outline-document-chart-bar.svg +3 -0
- package/dist/assets/icons/outline-document-check.svg +3 -0
- package/dist/assets/icons/outline-document-duplicate.svg +3 -0
- package/dist/assets/icons/outline-document-magnifying-glass.svg +3 -0
- package/dist/assets/icons/outline-document-minus.svg +3 -0
- package/dist/assets/icons/outline-document-plus.svg +3 -0
- package/dist/assets/icons/outline-document-text.svg +3 -0
- package/dist/assets/icons/outline-document.svg +3 -0
- package/dist/assets/icons/outline-ellipsis-horizontal-circle.svg +3 -0
- package/dist/assets/icons/outline-ellipsis-horizontal.svg +3 -0
- package/dist/assets/icons/outline-ellipsis-vertical.svg +3 -0
- package/dist/assets/icons/outline-envelope-open.svg +3 -0
- package/dist/assets/icons/outline-envelope.svg +3 -0
- package/dist/assets/icons/outline-exclamation-circle.svg +3 -0
- package/dist/assets/icons/outline-exclamation-triangle.svg +3 -0
- package/dist/assets/icons/outline-eye-dropper.svg +3 -0
- package/dist/assets/icons/outline-eye-slash.svg +3 -0
- package/dist/assets/icons/outline-eye.svg +4 -0
- package/dist/assets/icons/outline-face-frown.svg +3 -0
- package/dist/assets/icons/outline-face-smile.svg +3 -0
- package/dist/assets/icons/outline-film.svg +3 -0
- package/dist/assets/icons/outline-finger-print.svg +3 -0
- package/dist/assets/icons/outline-fire.svg +4 -0
- package/dist/assets/icons/outline-flag.svg +3 -0
- package/dist/assets/icons/outline-folder-arrow-down.svg +3 -0
- package/dist/assets/icons/outline-folder-minus.svg +3 -0
- package/dist/assets/icons/outline-folder-open.svg +3 -0
- package/dist/assets/icons/outline-folder-plus.svg +3 -0
- package/dist/assets/icons/outline-folder.svg +3 -0
- package/dist/assets/icons/outline-forward.svg +3 -0
- package/dist/assets/icons/outline-funnel.svg +3 -0
- package/dist/assets/icons/outline-gif.svg +3 -0
- package/dist/assets/icons/outline-gift-top.svg +3 -0
- package/dist/assets/icons/outline-gift.svg +3 -0
- package/dist/assets/icons/outline-globe-alt.svg +3 -0
- package/dist/assets/icons/outline-globe-americas.svg +3 -0
- package/dist/assets/icons/outline-globe-asia-australia.svg +3 -0
- package/dist/assets/icons/outline-globe-europe-africa.svg +3 -0
- package/dist/assets/icons/outline-hand-raised.svg +3 -0
- package/dist/assets/icons/outline-hand-thumb-down.svg +3 -0
- package/dist/assets/icons/outline-hand-thumb-up.svg +3 -0
- package/dist/assets/icons/outline-hashtag.svg +3 -0
- package/dist/assets/icons/outline-heart.svg +3 -0
- package/dist/assets/icons/outline-home-modern.svg +3 -0
- package/dist/assets/icons/outline-home.svg +3 -0
- package/dist/assets/icons/outline-identification.svg +3 -0
- package/dist/assets/icons/outline-inbox-arrow-down.svg +3 -0
- package/dist/assets/icons/outline-inbox-stack.svg +3 -0
- package/dist/assets/icons/outline-inbox.svg +3 -0
- package/dist/assets/icons/outline-information-circle.svg +3 -0
- package/dist/assets/icons/outline-key.svg +3 -0
- package/dist/assets/icons/outline-language.svg +3 -0
- package/dist/assets/icons/outline-lifebuoy.svg +3 -0
- package/dist/assets/icons/outline-light-bulb.svg +3 -0
- package/dist/assets/icons/outline-link.svg +3 -0
- package/dist/assets/icons/outline-list-bullet.svg +3 -0
- package/dist/assets/icons/outline-lock-closed.svg +3 -0
- package/dist/assets/icons/outline-lock-open.svg +3 -0
- package/dist/assets/icons/outline-magnifying-glass-circle.svg +3 -0
- package/dist/assets/icons/outline-magnifying-glass-minus.svg +3 -0
- package/dist/assets/icons/outline-magnifying-glass-plus.svg +3 -0
- package/dist/assets/icons/outline-magnifying-glass.svg +3 -0
- package/dist/assets/icons/outline-map-pin.svg +4 -0
- package/dist/assets/icons/outline-map.svg +3 -0
- package/dist/assets/icons/outline-megaphone.svg +3 -0
- package/dist/assets/icons/outline-microphone.svg +3 -0
- package/dist/assets/icons/outline-minus-circle.svg +3 -0
- package/dist/assets/icons/outline-minus-small.svg +3 -0
- package/dist/assets/icons/outline-minus.svg +3 -0
- package/dist/assets/icons/outline-moon.svg +3 -0
- package/dist/assets/icons/outline-musical-note.svg +3 -0
- package/dist/assets/icons/outline-newspaper.svg +3 -0
- package/dist/assets/icons/outline-no-symbol.svg +3 -0
- package/dist/assets/icons/outline-paint-brush.svg +3 -0
- package/dist/assets/icons/outline-paper-airplane.svg +3 -0
- package/dist/assets/icons/outline-paper-clip.svg +3 -0
- package/dist/assets/icons/outline-pause-circle.svg +3 -0
- package/dist/assets/icons/outline-pause.svg +3 -0
- package/dist/assets/icons/outline-pencil-square.svg +3 -0
- package/dist/assets/icons/outline-pencil.svg +3 -0
- package/dist/assets/icons/outline-phone-arrow-down-left.svg +3 -0
- package/dist/assets/icons/outline-phone-arrow-up-right.svg +3 -0
- package/dist/assets/icons/outline-phone-x-mark.svg +3 -0
- package/dist/assets/icons/outline-phone.svg +3 -0
- package/dist/assets/icons/outline-photo.svg +3 -0
- package/dist/assets/icons/outline-play-circle.svg +4 -0
- package/dist/assets/icons/outline-play-pause.svg +3 -0
- package/dist/assets/icons/outline-play.svg +3 -0
- package/dist/assets/icons/outline-plus-circle.svg +3 -0
- package/dist/assets/icons/outline-plus-small.svg +3 -0
- package/dist/assets/icons/outline-plus.svg +3 -0
- package/dist/assets/icons/outline-power.svg +3 -0
- package/dist/assets/icons/outline-presentation-chart-bar.svg +3 -0
- package/dist/assets/icons/outline-presentation-chart-line.svg +3 -0
- package/dist/assets/icons/outline-printer.svg +3 -0
- package/dist/assets/icons/outline-puzzle-piece.svg +3 -0
- package/dist/assets/icons/outline-qr-code.svg +4 -0
- package/dist/assets/icons/outline-question-mark-circle.svg +3 -0
- package/dist/assets/icons/outline-queue-list.svg +3 -0
- package/dist/assets/icons/outline-radio.svg +3 -0
- package/dist/assets/icons/outline-receipt-percent.svg +3 -0
- package/dist/assets/icons/outline-receipt-refund.svg +3 -0
- package/dist/assets/icons/outline-rectangle-group.svg +3 -0
- package/dist/assets/icons/outline-rectangle-stack.svg +3 -0
- package/dist/assets/icons/outline-rocket-launch.svg +3 -0
- package/dist/assets/icons/outline-rss.svg +3 -0
- package/dist/assets/icons/outline-scale.svg +3 -0
- package/dist/assets/icons/outline-scissors.svg +3 -0
- package/dist/assets/icons/outline-server-stack.svg +3 -0
- package/dist/assets/icons/outline-server.svg +3 -0
- package/dist/assets/icons/outline-share.svg +3 -0
- package/dist/assets/icons/outline-shield-check.svg +3 -0
- package/dist/assets/icons/outline-shield-exclamation.svg +3 -0
- package/dist/assets/icons/outline-shopping-bag.svg +3 -0
- package/dist/assets/icons/outline-shopping-cart.svg +3 -0
- package/dist/assets/icons/outline-signal-slash.svg +3 -0
- package/dist/assets/icons/outline-signal.svg +3 -0
- package/dist/assets/icons/outline-sparkles.svg +3 -0
- package/dist/assets/icons/outline-speaker-wave.svg +3 -0
- package/dist/assets/icons/outline-speaker-x-mark.svg +3 -0
- package/dist/assets/icons/outline-square-2-stack.svg +3 -0
- package/dist/assets/icons/outline-square-3-stack-3d.svg +3 -0
- package/dist/assets/icons/outline-squares-2x2.svg +3 -0
- package/dist/assets/icons/outline-squares-plus.svg +3 -0
- package/dist/assets/icons/outline-star.svg +3 -0
- package/dist/assets/icons/outline-stop-circle.svg +4 -0
- package/dist/assets/icons/outline-stop.svg +3 -0
- package/dist/assets/icons/outline-sun.svg +3 -0
- package/dist/assets/icons/outline-swatch.svg +3 -0
- package/dist/assets/icons/outline-table-cells.svg +3 -0
- package/dist/assets/icons/outline-tag.svg +4 -0
- package/dist/assets/icons/outline-ticket.svg +3 -0
- package/dist/assets/icons/outline-trash.svg +3 -0
- package/dist/assets/icons/outline-trophy.svg +3 -0
- package/dist/assets/icons/outline-truck.svg +3 -0
- package/dist/assets/icons/outline-tv.svg +3 -0
- package/dist/assets/icons/outline-user-circle.svg +3 -0
- package/dist/assets/icons/outline-user-group.svg +3 -0
- package/dist/assets/icons/outline-user-minus.svg +3 -0
- package/dist/assets/icons/outline-user-plus.svg +3 -0
- package/dist/assets/icons/outline-user.svg +3 -0
- package/dist/assets/icons/outline-users.svg +3 -0
- package/dist/assets/icons/outline-variable.svg +3 -0
- package/dist/assets/icons/outline-video-camera-slash.svg +3 -0
- package/dist/assets/icons/outline-video-camera.svg +3 -0
- package/dist/assets/icons/outline-view-columns.svg +3 -0
- package/dist/assets/icons/outline-viewfinder-circle.svg +3 -0
- package/dist/assets/icons/outline-wallet.svg +3 -0
- package/dist/assets/icons/outline-wifi.svg +3 -0
- package/dist/assets/icons/outline-window.svg +3 -0
- package/dist/assets/icons/outline-wrench-screwdriver.svg +3 -0
- package/dist/assets/icons/outline-wrench.svg +4 -0
- package/dist/assets/icons/outline-x-circle.svg +3 -0
- package/dist/assets/icons/outline-x-mark.svg +3 -0
- package/dist/assets/icons/solid-academic-cap.svg +5 -0
- package/dist/assets/icons/solid-adjustments-horizontal.svg +3 -0
- package/dist/assets/icons/solid-adjustments-vertical.svg +3 -0
- package/dist/assets/icons/solid-archive-box-arrow-down.svg +4 -0
- package/dist/assets/icons/solid-archive-box-x-mark.svg +4 -0
- package/dist/assets/icons/solid-archive-box.svg +4 -0
- package/dist/assets/icons/solid-arrow-down-circle.svg +3 -0
- package/dist/assets/icons/solid-arrow-down-left.svg +3 -0
- package/dist/assets/icons/solid-arrow-down-on-square-stack.svg +4 -0
- package/dist/assets/icons/solid-arrow-down-on-square.svg +3 -0
- package/dist/assets/icons/solid-arrow-down-right.svg +3 -0
- package/dist/assets/icons/solid-arrow-down-tray.svg +3 -0
- package/dist/assets/icons/solid-arrow-down.svg +3 -0
- package/dist/assets/icons/solid-arrow-left-circle.svg +3 -0
- package/dist/assets/icons/solid-arrow-left-end-on-rectangle.svg +3 -0
- package/dist/assets/icons/solid-arrow-left-on-rectangle.svg +3 -0
- package/dist/assets/icons/solid-arrow-left-start-on-rectangle.svg +3 -0
- package/dist/assets/icons/solid-arrow-left.svg +3 -0
- package/dist/assets/icons/solid-arrow-long-down.svg +3 -0
- package/dist/assets/icons/solid-arrow-long-left.svg +3 -0
- package/dist/assets/icons/solid-arrow-long-right.svg +3 -0
- package/dist/assets/icons/solid-arrow-long-up.svg +3 -0
- package/dist/assets/icons/solid-arrow-path-rounded-square.svg +3 -0
- package/dist/assets/icons/solid-arrow-path.svg +3 -0
- package/dist/assets/icons/solid-arrow-right-circle.svg +3 -0
- package/dist/assets/icons/solid-arrow-right-end-on-rectangle.svg +3 -0
- package/dist/assets/icons/solid-arrow-right-on-rectangle.svg +3 -0
- package/dist/assets/icons/solid-arrow-right-start-on-rectangle.svg +3 -0
- package/dist/assets/icons/solid-arrow-right.svg +3 -0
- package/dist/assets/icons/solid-arrow-small-down.svg +3 -0
- package/dist/assets/icons/solid-arrow-small-left.svg +3 -0
- package/dist/assets/icons/solid-arrow-small-right.svg +3 -0
- package/dist/assets/icons/solid-arrow-small-up.svg +3 -0
- package/dist/assets/icons/solid-arrow-top-right-on-square.svg +3 -0
- package/dist/assets/icons/solid-arrow-trending-down.svg +3 -0
- package/dist/assets/icons/solid-arrow-trending-up.svg +3 -0
- package/dist/assets/icons/solid-arrow-up-circle.svg +3 -0
- package/dist/assets/icons/solid-arrow-up-left.svg +3 -0
- package/dist/assets/icons/solid-arrow-up-on-square-stack.svg +4 -0
- package/dist/assets/icons/solid-arrow-up-on-square.svg +3 -0
- package/dist/assets/icons/solid-arrow-up-right.svg +3 -0
- package/dist/assets/icons/solid-arrow-up-tray.svg +3 -0
- package/dist/assets/icons/solid-arrow-up.svg +3 -0
- package/dist/assets/icons/solid-arrow-uturn-down.svg +3 -0
- package/dist/assets/icons/solid-arrow-uturn-left.svg +3 -0
- package/dist/assets/icons/solid-arrow-uturn-right.svg +3 -0
- package/dist/assets/icons/solid-arrow-uturn-up.svg +3 -0
- package/dist/assets/icons/solid-arrows-pointing-in.svg +3 -0
- package/dist/assets/icons/solid-arrows-pointing-out.svg +3 -0
- package/dist/assets/icons/solid-arrows-right-left.svg +3 -0
- package/dist/assets/icons/solid-arrows-up-down.svg +3 -0
- package/dist/assets/icons/solid-at-symbol.svg +3 -0
- package/dist/assets/icons/solid-backspace.svg +3 -0
- package/dist/assets/icons/solid-backward.svg +3 -0
- package/dist/assets/icons/solid-banknotes.svg +5 -0
- package/dist/assets/icons/solid-bars-2.svg +3 -0
- package/dist/assets/icons/solid-bars-3-bottom-left.svg +3 -0
- package/dist/assets/icons/solid-bars-3-bottom-right.svg +3 -0
- package/dist/assets/icons/solid-bars-3-center-left.svg +3 -0
- package/dist/assets/icons/solid-bars-3.svg +3 -0
- package/dist/assets/icons/solid-bars-4.svg +3 -0
- package/dist/assets/icons/solid-bars-arrow-down.svg +3 -0
- package/dist/assets/icons/solid-bars-arrow-up.svg +3 -0
- package/dist/assets/icons/solid-battery-0.svg +3 -0
- package/dist/assets/icons/solid-battery-100.svg +3 -0
- package/dist/assets/icons/solid-battery-50.svg +4 -0
- package/dist/assets/icons/solid-beaker.svg +3 -0
- package/dist/assets/icons/solid-bell-alert.svg +4 -0
- package/dist/assets/icons/solid-bell-slash.svg +4 -0
- package/dist/assets/icons/solid-bell-snooze.svg +3 -0
- package/dist/assets/icons/solid-bell.svg +3 -0
- package/dist/assets/icons/solid-bolt-slash.svg +3 -0
- package/dist/assets/icons/solid-bolt.svg +3 -0
- package/dist/assets/icons/solid-book-open.svg +3 -0
- package/dist/assets/icons/solid-bookmark-slash.svg +3 -0
- package/dist/assets/icons/solid-bookmark-square.svg +3 -0
- package/dist/assets/icons/solid-bookmark.svg +3 -0
- package/dist/assets/icons/solid-briefcase.svg +4 -0
- package/dist/assets/icons/solid-bug-ant.svg +3 -0
- package/dist/assets/icons/solid-building-library.svg +5 -0
- package/dist/assets/icons/solid-building-office-2.svg +3 -0
- package/dist/assets/icons/solid-building-office.svg +3 -0
- package/dist/assets/icons/solid-building-storefront.svg +4 -0
- package/dist/assets/icons/solid-cake.svg +3 -0
- package/dist/assets/icons/solid-calculator.svg +3 -0
- package/dist/assets/icons/solid-calendar-days.svg +4 -0
- package/dist/assets/icons/solid-calendar.svg +3 -0
- package/dist/assets/icons/solid-camera.svg +4 -0
- package/dist/assets/icons/solid-chart-bar-square.svg +3 -0
- package/dist/assets/icons/solid-chart-bar.svg +3 -0
- package/dist/assets/icons/solid-chart-pie.svg +4 -0
- package/dist/assets/icons/solid-chat-bubble-bottom-center-text.svg +3 -0
- package/dist/assets/icons/solid-chat-bubble-bottom-center.svg +3 -0
- package/dist/assets/icons/solid-chat-bubble-left-ellipsis.svg +3 -0
- package/dist/assets/icons/solid-chat-bubble-left-right.svg +4 -0
- package/dist/assets/icons/solid-chat-bubble-left.svg +3 -0
- package/dist/assets/icons/solid-chat-bubble-oval-left-ellipsis.svg +3 -0
- package/dist/assets/icons/solid-chat-bubble-oval-left.svg +3 -0
- package/dist/assets/icons/solid-check-badge.svg +3 -0
- package/dist/assets/icons/solid-check-circle.svg +3 -0
- package/dist/assets/icons/solid-check.svg +3 -0
- package/dist/assets/icons/solid-chevron-double-down.svg +4 -0
- package/dist/assets/icons/solid-chevron-double-left.svg +4 -0
- package/dist/assets/icons/solid-chevron-double-right.svg +4 -0
- package/dist/assets/icons/solid-chevron-double-up.svg +4 -0
- package/dist/assets/icons/solid-chevron-down.svg +3 -0
- package/dist/assets/icons/solid-chevron-left.svg +3 -0
- package/dist/assets/icons/solid-chevron-right.svg +3 -0
- package/dist/assets/icons/solid-chevron-up-down.svg +3 -0
- package/dist/assets/icons/solid-chevron-up.svg +3 -0
- package/dist/assets/icons/solid-circle-stack.svg +6 -0
- package/dist/assets/icons/solid-clipboard-document-check.svg +4 -0
- package/dist/assets/icons/solid-clipboard-document-list.svg +4 -0
- package/dist/assets/icons/solid-clipboard-document.svg +5 -0
- package/dist/assets/icons/solid-clipboard.svg +3 -0
- package/dist/assets/icons/solid-clock.svg +3 -0
- package/dist/assets/icons/solid-cloud-arrow-down.svg +3 -0
- package/dist/assets/icons/solid-cloud-arrow-up.svg +3 -0
- package/dist/assets/icons/solid-cloud.svg +3 -0
- package/dist/assets/icons/solid-code-bracket-square.svg +3 -0
- package/dist/assets/icons/solid-code-bracket.svg +3 -0
- package/dist/assets/icons/solid-cog-6-tooth.svg +3 -0
- package/dist/assets/icons/solid-cog-8-tooth.svg +3 -0
- package/dist/assets/icons/solid-cog.svg +4 -0
- package/dist/assets/icons/solid-command-line.svg +3 -0
- package/dist/assets/icons/solid-computer-desktop.svg +3 -0
- package/dist/assets/icons/solid-cpu-chip.svg +4 -0
- package/dist/assets/icons/solid-credit-card.svg +4 -0
- package/dist/assets/icons/solid-cube-transparent.svg +3 -0
- package/dist/assets/icons/solid-cube.svg +3 -0
- package/dist/assets/icons/solid-currency-bangladeshi.svg +3 -0
- package/dist/assets/icons/solid-currency-dollar.svg +4 -0
- package/dist/assets/icons/solid-currency-euro.svg +3 -0
- package/dist/assets/icons/solid-currency-pound.svg +3 -0
- package/dist/assets/icons/solid-currency-rupee.svg +3 -0
- package/dist/assets/icons/solid-currency-yen.svg +3 -0
- package/dist/assets/icons/solid-cursor-arrow-rays.svg +3 -0
- package/dist/assets/icons/solid-cursor-arrow-ripple.svg +3 -0
- package/dist/assets/icons/solid-device-phone-mobile.svg +4 -0
- package/dist/assets/icons/solid-device-tablet.svg +4 -0
- package/dist/assets/icons/solid-document-arrow-down.svg +4 -0
- package/dist/assets/icons/solid-document-arrow-up.svg +4 -0
- package/dist/assets/icons/solid-document-chart-bar.svg +4 -0
- package/dist/assets/icons/solid-document-check.svg +4 -0
- package/dist/assets/icons/solid-document-duplicate.svg +4 -0
- package/dist/assets/icons/solid-document-magnifying-glass.svg +5 -0
- package/dist/assets/icons/solid-document-minus.svg +4 -0
- package/dist/assets/icons/solid-document-plus.svg +4 -0
- package/dist/assets/icons/solid-document-text.svg +4 -0
- package/dist/assets/icons/solid-document.svg +4 -0
- package/dist/assets/icons/solid-ellipsis-horizontal-circle.svg +3 -0
- package/dist/assets/icons/solid-ellipsis-horizontal.svg +3 -0
- package/dist/assets/icons/solid-ellipsis-vertical.svg +3 -0
- package/dist/assets/icons/solid-envelope-open.svg +4 -0
- package/dist/assets/icons/solid-envelope.svg +4 -0
- package/dist/assets/icons/solid-exclamation-circle.svg +3 -0
- package/dist/assets/icons/solid-exclamation-triangle.svg +3 -0
- package/dist/assets/icons/solid-eye-dropper.svg +3 -0
- package/dist/assets/icons/solid-eye-slash.svg +5 -0
- package/dist/assets/icons/solid-eye.svg +4 -0
- package/dist/assets/icons/solid-face-frown.svg +3 -0
- package/dist/assets/icons/solid-face-smile.svg +3 -0
- package/dist/assets/icons/solid-film.svg +3 -0
- package/dist/assets/icons/solid-finger-print.svg +3 -0
- package/dist/assets/icons/solid-fire.svg +3 -0
- package/dist/assets/icons/solid-flag.svg +3 -0
- package/dist/assets/icons/solid-folder-arrow-down.svg +3 -0
- package/dist/assets/icons/solid-folder-minus.svg +3 -0
- package/dist/assets/icons/solid-folder-open.svg +3 -0
- package/dist/assets/icons/solid-folder-plus.svg +3 -0
- package/dist/assets/icons/solid-folder.svg +3 -0
- package/dist/assets/icons/solid-forward.svg +3 -0
- package/dist/assets/icons/solid-funnel.svg +3 -0
- package/dist/assets/icons/solid-gif.svg +3 -0
- package/dist/assets/icons/solid-gift-top.svg +4 -0
- package/dist/assets/icons/solid-gift.svg +3 -0
- package/dist/assets/icons/solid-globe-alt.svg +3 -0
- package/dist/assets/icons/solid-globe-americas.svg +3 -0
- package/dist/assets/icons/solid-globe-asia-australia.svg +4 -0
- package/dist/assets/icons/solid-globe-europe-africa.svg +3 -0
- package/dist/assets/icons/solid-hand-raised.svg +3 -0
- package/dist/assets/icons/solid-hand-thumb-down.svg +3 -0
- package/dist/assets/icons/solid-hand-thumb-up.svg +3 -0
- package/dist/assets/icons/solid-hashtag.svg +3 -0
- package/dist/assets/icons/solid-heart.svg +3 -0
- package/dist/assets/icons/solid-home-modern.svg +4 -0
- package/dist/assets/icons/solid-home.svg +4 -0
- package/dist/assets/icons/solid-identification.svg +3 -0
- package/dist/assets/icons/solid-inbox-arrow-down.svg +4 -0
- package/dist/assets/icons/solid-inbox-stack.svg +4 -0
- package/dist/assets/icons/solid-inbox.svg +3 -0
- package/dist/assets/icons/solid-information-circle.svg +3 -0
- package/dist/assets/icons/solid-key.svg +3 -0
- package/dist/assets/icons/solid-language.svg +3 -0
- package/dist/assets/icons/solid-lifebuoy.svg +3 -0
- package/dist/assets/icons/solid-light-bulb.svg +4 -0
- package/dist/assets/icons/solid-link.svg +3 -0
- package/dist/assets/icons/solid-list-bullet.svg +3 -0
- package/dist/assets/icons/solid-lock-closed.svg +3 -0
- package/dist/assets/icons/solid-lock-open.svg +3 -0
- package/dist/assets/icons/solid-magnifying-glass-circle.svg +4 -0
- package/dist/assets/icons/solid-magnifying-glass-minus.svg +3 -0
- package/dist/assets/icons/solid-magnifying-glass-plus.svg +3 -0
- package/dist/assets/icons/solid-magnifying-glass.svg +3 -0
- package/dist/assets/icons/solid-map-pin.svg +3 -0
- package/dist/assets/icons/solid-map.svg +3 -0
- package/dist/assets/icons/solid-megaphone.svg +3 -0
- package/dist/assets/icons/solid-microphone.svg +4 -0
- package/dist/assets/icons/solid-minus-circle.svg +3 -0
- package/dist/assets/icons/solid-minus-small.svg +3 -0
- package/dist/assets/icons/solid-minus.svg +3 -0
- package/dist/assets/icons/solid-moon.svg +3 -0
- package/dist/assets/icons/solid-musical-note.svg +3 -0
- package/dist/assets/icons/solid-newspaper.svg +4 -0
- package/dist/assets/icons/solid-no-symbol.svg +3 -0
- package/dist/assets/icons/solid-paint-brush.svg +3 -0
- package/dist/assets/icons/solid-paper-airplane.svg +3 -0
- package/dist/assets/icons/solid-paper-clip.svg +3 -0
- package/dist/assets/icons/solid-pause-circle.svg +3 -0
- package/dist/assets/icons/solid-pause.svg +3 -0
- package/dist/assets/icons/solid-pencil-square.svg +4 -0
- package/dist/assets/icons/solid-pencil.svg +3 -0
- package/dist/assets/icons/solid-phone-arrow-down-left.svg +4 -0
- package/dist/assets/icons/solid-phone-arrow-up-right.svg +4 -0
- package/dist/assets/icons/solid-phone-x-mark.svg +3 -0
- package/dist/assets/icons/solid-phone.svg +3 -0
- package/dist/assets/icons/solid-photo.svg +3 -0
- package/dist/assets/icons/solid-play-circle.svg +3 -0
- package/dist/assets/icons/solid-play-pause.svg +3 -0
- package/dist/assets/icons/solid-play.svg +3 -0
- package/dist/assets/icons/solid-plus-circle.svg +3 -0
- package/dist/assets/icons/solid-plus-small.svg +3 -0
- package/dist/assets/icons/solid-plus.svg +3 -0
- package/dist/assets/icons/solid-power.svg +3 -0
- package/dist/assets/icons/solid-presentation-chart-bar.svg +3 -0
- package/dist/assets/icons/solid-presentation-chart-line.svg +3 -0
- package/dist/assets/icons/solid-printer.svg +3 -0
- package/dist/assets/icons/solid-puzzle-piece.svg +3 -0
- package/dist/assets/icons/solid-qr-code.svg +3 -0
- package/dist/assets/icons/solid-question-mark-circle.svg +3 -0
- package/dist/assets/icons/solid-queue-list.svg +3 -0
- package/dist/assets/icons/solid-radio.svg +3 -0
- package/dist/assets/icons/solid-receipt-percent.svg +3 -0
- package/dist/assets/icons/solid-receipt-refund.svg +3 -0
- package/dist/assets/icons/solid-rectangle-group.svg +3 -0
- package/dist/assets/icons/solid-rectangle-stack.svg +3 -0
- package/dist/assets/icons/solid-rocket-launch.svg +4 -0
- package/dist/assets/icons/solid-rss.svg +3 -0
- package/dist/assets/icons/solid-scale.svg +3 -0
- package/dist/assets/icons/solid-scissors.svg +4 -0
- package/dist/assets/icons/solid-server-stack.svg +4 -0
- package/dist/assets/icons/solid-server.svg +4 -0
- package/dist/assets/icons/solid-share.svg +3 -0
- package/dist/assets/icons/solid-shield-check.svg +3 -0
- package/dist/assets/icons/solid-shield-exclamation.svg +3 -0
- package/dist/assets/icons/solid-shopping-bag.svg +3 -0
- package/dist/assets/icons/solid-shopping-cart.svg +3 -0
- package/dist/assets/icons/solid-signal-slash.svg +3 -0
- package/dist/assets/icons/solid-signal.svg +3 -0
- package/dist/assets/icons/solid-sparkles.svg +3 -0
- package/dist/assets/icons/solid-speaker-wave.svg +4 -0
- package/dist/assets/icons/solid-speaker-x-mark.svg +3 -0
- package/dist/assets/icons/solid-square-2-stack.svg +4 -0
- package/dist/assets/icons/solid-square-3-stack-3d.svg +5 -0
- package/dist/assets/icons/solid-squares-2x2.svg +3 -0
- package/dist/assets/icons/solid-squares-plus.svg +3 -0
- package/dist/assets/icons/solid-star.svg +3 -0
- package/dist/assets/icons/solid-stop-circle.svg +3 -0
- package/dist/assets/icons/solid-stop.svg +3 -0
- package/dist/assets/icons/solid-sun.svg +3 -0
- package/dist/assets/icons/solid-swatch.svg +4 -0
- package/dist/assets/icons/solid-table-cells.svg +3 -0
- package/dist/assets/icons/solid-tag.svg +3 -0
- package/dist/assets/icons/solid-ticket.svg +3 -0
- package/dist/assets/icons/solid-trash.svg +3 -0
- package/dist/assets/icons/solid-trophy.svg +3 -0
- package/dist/assets/icons/solid-truck.svg +5 -0
- package/dist/assets/icons/solid-tv.svg +4 -0
- package/dist/assets/icons/solid-user-circle.svg +3 -0
- package/dist/assets/icons/solid-user-group.svg +4 -0
- package/dist/assets/icons/solid-user-minus.svg +3 -0
- package/dist/assets/icons/solid-user-plus.svg +3 -0
- package/dist/assets/icons/solid-user.svg +3 -0
- package/dist/assets/icons/solid-users.svg +3 -0
- package/dist/assets/icons/solid-variable.svg +3 -0
- package/dist/assets/icons/solid-video-camera-slash.svg +3 -0
- package/dist/assets/icons/solid-video-camera.svg +3 -0
- package/dist/assets/icons/solid-view-columns.svg +3 -0
- package/dist/assets/icons/solid-viewfinder-circle.svg +3 -0
- package/dist/assets/icons/solid-wallet.svg +3 -0
- package/dist/assets/icons/solid-wifi.svg +3 -0
- package/dist/assets/icons/solid-window.svg +3 -0
- package/dist/assets/icons/solid-wrench-screwdriver.svg +5 -0
- package/dist/assets/icons/solid-wrench.svg +3 -0
- package/dist/assets/icons/solid-x-circle.svg +3 -0
- package/dist/assets/icons/solid-x-mark.svg +3 -0
- package/dist/chunks/chunk.2I657ASB.js +85 -0
- package/dist/chunks/chunk.2RBWEAYS.js +404 -0
- package/dist/chunks/chunk.2V4XFMTB.js +7 -0
- package/dist/chunks/chunk.36PTCDA5.js +11 -0
- package/dist/chunks/chunk.3ZGFXEAJ.js +273 -0
- package/dist/chunks/chunk.6ZHGOB2G.js +21 -0
- package/dist/chunks/chunk.7DEY3B3N.js +11 -0
- package/dist/chunks/chunk.7VUSSQRI.js +20 -0
- package/dist/chunks/chunk.A2U7NITY.js +21 -0
- package/dist/chunks/chunk.AAWOHDFX.js +259 -0
- package/dist/chunks/chunk.BEIVIE7M.js +21 -0
- package/dist/chunks/chunk.BLNUBLUS.js +289 -0
- package/dist/chunks/chunk.DNBHAHKW.js +11 -0
- package/dist/chunks/chunk.EFAXKQZX.js +11 -0
- package/dist/chunks/chunk.FGILL5W6.js +118 -0
- package/dist/chunks/chunk.FXIUS5TR.js +21 -0
- package/dist/chunks/chunk.HAL7R4WT.js +0 -0
- package/dist/chunks/chunk.HKHDBTIC.js +214 -0
- package/dist/chunks/chunk.I2NEFB34.js +99 -0
- package/dist/chunks/chunk.I32QCWMN.js +21 -0
- package/dist/chunks/chunk.I7ZPL3IO.js +478 -0
- package/dist/chunks/chunk.IBEKZVOY.js +80 -0
- package/dist/chunks/chunk.J6NGZHLF.js +179 -0
- package/dist/chunks/chunk.JFU3ZCDL.js +359 -0
- package/dist/chunks/chunk.KPXFSE3J.js +23 -0
- package/dist/chunks/chunk.KRXFJQUH.js +179 -0
- package/dist/chunks/chunk.KW4TJM4C.js +65 -0
- package/dist/chunks/chunk.LE36I4N2.js +24 -0
- package/dist/chunks/chunk.LELNKRPW.js +685 -0
- package/dist/chunks/chunk.LMGJJIIS.js +36 -0
- package/dist/chunks/chunk.MDRUDBRH.js +43 -0
- package/dist/chunks/chunk.MWHQHPUM.js +54 -0
- package/dist/chunks/chunk.N2DS7NLI.js +102 -0
- package/dist/chunks/chunk.NQKBKXPW.js +33 -0
- package/dist/chunks/chunk.NYBJ252W.js +318 -0
- package/dist/chunks/chunk.NZYKW5Y7.js +11 -0
- package/dist/chunks/chunk.OIDMX5LU.js +10 -0
- package/dist/chunks/chunk.OQE2USZJ.js +41 -0
- package/dist/chunks/chunk.OSC7AN4C.js +325 -0
- package/dist/chunks/chunk.OU4UPMYR.js +330 -0
- package/dist/chunks/chunk.OZ37OLF4.js +25 -0
- package/dist/chunks/chunk.PJXIJK2G.js +102 -0
- package/dist/chunks/chunk.QQ33BJLG.js +11 -0
- package/dist/chunks/chunk.R4J62P4T.js +11 -0
- package/dist/chunks/chunk.RYPAZDXE.js +61 -0
- package/dist/chunks/chunk.SHS42OAD.js +620 -0
- package/dist/chunks/chunk.SJ6OGWI6.js +21 -0
- package/dist/chunks/chunk.SZQ6DLHF.js +251 -0
- package/dist/chunks/chunk.T322FDKI.js +300 -0
- package/dist/chunks/chunk.TCOEMJRS.js +21 -0
- package/dist/chunks/chunk.UCNEPIMI.js +14 -0
- package/dist/chunks/chunk.UU46CLE7.js +120 -0
- package/dist/chunks/chunk.UVHPNM6M.js +10 -0
- package/dist/chunks/chunk.V3YTQSMP.js +194 -0
- package/dist/chunks/chunk.VIV3TUJX.js +21 -0
- package/dist/chunks/chunk.WBXETWE4.js +178 -0
- package/dist/chunks/chunk.WGFD2LHA.js +83 -0
- package/dist/chunks/chunk.WJPV6KQS.js +11 -0
- package/dist/chunks/chunk.WNRL2JWN.js +21 -0
- package/dist/chunks/chunk.XJ3P4AO2.js +11 -0
- package/dist/chunks/chunk.XTCYIPKA.js +137 -0
- package/dist/chunks/chunk.YHSKQAEB.js +11 -0
- package/dist/chunks/chunk.YNY2FQKA.js +11 -0
- package/dist/chunks/chunk.ZCNMYQP2.js +113 -0
- package/dist/chunks/chunk.ZGJAUXFV.js +39 -0
- package/dist/chunks/chunk.ZK7QVWBI.js +37 -0
- package/dist/components/button/button.component.d.ts +117 -0
- package/dist/components/button/button.component.js +11 -0
- package/dist/components/button/button.d.ts +8 -0
- package/dist/components/button/button.js +12 -0
- package/dist/components/button/button.styles.d.ts +2 -0
- package/dist/components/button/button.styles.js +7 -0
- package/dist/components/chip/chip.component.d.ts +16 -0
- package/dist/components/chip/chip.component.js +9 -0
- package/dist/components/chip/chip.d.ts +8 -0
- package/dist/components/chip/chip.js +10 -0
- package/dist/components/chip/chip.styles.d.ts +2 -0
- package/dist/components/chip/chip.styles.js +7 -0
- package/dist/components/combobox/combobox.component.d.ts +69 -0
- package/dist/components/combobox/combobox.component.js +12 -0
- package/dist/components/combobox/combobox.d.ts +8 -0
- package/dist/components/combobox/combobox.js +13 -0
- package/dist/components/combobox/combobox.styles.d.ts +2 -0
- package/dist/components/combobox/combobox.styles.js +7 -0
- package/dist/components/combobox/lib.d.ts +3 -0
- package/dist/components/combobox/lib.js +9 -0
- package/dist/components/combobox/type.d.ts +26 -0
- package/dist/components/combobox/type.js +7 -0
- package/dist/components/date-range-slider/date-range-slider.component.d.ts +43 -0
- package/dist/components/date-range-slider/date-range-slider.component.js +12 -0
- package/dist/components/date-range-slider/date-range-slider.d.ts +8 -0
- package/dist/components/date-range-slider/date-range-slider.js +13 -0
- package/dist/components/date-range-slider/date-range-slider.styles.d.ts +2 -0
- package/dist/components/date-range-slider/date-range-slider.styles.js +7 -0
- package/dist/components/date-range-slider/noui-slider-utilities.d.ts +10 -0
- package/dist/components/date-range-slider/noui-slider-utilities.js +7 -0
- package/dist/components/icon/icon.component.d.ts +42 -0
- package/dist/components/icon/icon.component.js +14 -0
- package/dist/components/icon/icon.d.ts +8 -0
- package/dist/components/icon/icon.js +15 -0
- package/dist/components/icon/icon.styles.d.ts +2 -0
- package/dist/components/icon/icon.styles.js +7 -0
- package/dist/components/icon/library.d.ts +18 -0
- package/dist/components/icon/library.default.d.ts +3 -0
- package/dist/components/icon/library.default.js +7 -0
- package/dist/components/icon/library.heroicons.d.ts +3 -0
- package/dist/components/icon/library.heroicons.js +8 -0
- package/dist/components/icon/library.js +18 -0
- package/dist/components/loader/loader.component.d.ts +29 -0
- package/dist/components/loader/loader.component.js +9 -0
- package/dist/components/loader/loader.d.ts +8 -0
- package/dist/components/loader/loader.js +10 -0
- package/dist/components/loader/loader.styles.d.ts +2 -0
- package/dist/components/loader/loader.styles.js +7 -0
- package/dist/components/map/leaflet-draw.styles.d.ts +2 -0
- package/dist/components/map/leaflet-draw.styles.js +7 -0
- package/dist/components/map/leaflet-utils.d.ts +45 -0
- package/dist/components/map/leaflet-utils.js +11 -0
- package/dist/components/map/leaflet.styles.d.ts +2 -0
- package/dist/components/map/leaflet.styles.js +7 -0
- package/dist/components/map/map.component.d.ts +51 -0
- package/dist/components/map/map.component.js +14 -0
- package/dist/components/map/map.controller.d.ts +8 -0
- package/dist/components/map/map.controller.js +7 -0
- package/dist/components/map/map.d.ts +8 -0
- package/dist/components/map/map.js +15 -0
- package/dist/components/map/map.styles.d.ts +2 -0
- package/dist/components/map/map.styles.js +7 -0
- package/dist/components/map/type.d.ts +14 -0
- package/dist/components/map/type.js +0 -0
- package/dist/components/plot/plot.component.d.ts +35 -0
- package/dist/components/plot/plot.component.js +10 -0
- package/dist/components/plot/plot.d.ts +8 -0
- package/dist/components/plot/plot.js +11 -0
- package/dist/components/plot/plot.styles.d.ts +2 -0
- package/dist/components/plot/plot.styles.js +7 -0
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +64 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +16 -0
- package/dist/components/spatial-picker/spatial-picker.d.ts +8 -0
- package/dist/components/spatial-picker/spatial-picker.js +17 -0
- package/dist/components/spatial-picker/spatial-picker.styles.d.ts +2 -0
- package/dist/components/spatial-picker/spatial-picker.styles.js +7 -0
- package/dist/components/time-series/time-series.component.d.ts +66 -0
- package/dist/components/time-series/time-series.component.js +41 -0
- package/dist/components/time-series/time-series.controller.d.ts +21 -0
- package/dist/components/time-series/time-series.controller.js +9 -0
- package/dist/components/time-series/time-series.d.ts +8 -0
- package/dist/components/time-series/time-series.js +42 -0
- package/dist/components/time-series/time-series.styles.d.ts +2 -0
- package/dist/components/time-series/time-series.styles.js +7 -0
- package/dist/components/time-series/time-series.types.d.ts +31 -0
- package/dist/components/time-series/time-series.types.js +0 -0
- package/dist/components/variable-combobox/lib.d.ts +8 -0
- package/dist/components/variable-combobox/lib.js +17 -0
- package/dist/components/variable-combobox/variable-combobox.component.d.ts +69 -0
- package/dist/components/variable-combobox/variable-combobox.component.js +23 -0
- package/dist/components/variable-combobox/variable-combobox.controller.d.ts +28 -0
- package/dist/components/variable-combobox/variable-combobox.controller.js +8 -0
- package/dist/components/variable-combobox/variable-combobox.d.ts +8 -0
- package/dist/components/variable-combobox/variable-combobox.js +24 -0
- package/dist/components/variable-combobox/variable-combobox.styles.d.ts +2 -0
- package/dist/components/variable-combobox/variable-combobox.styles.js +7 -0
- package/dist/custom-elements.json +3018 -0
- package/dist/events/events.d.ts +7 -0
- package/dist/events/terra-change.d.ts +6 -0
- package/dist/events/terra-combobox-change.d.ts +7 -0
- package/dist/events/terra-date-range-change.d.ts +9 -0
- package/dist/events/terra-error.d.ts +8 -0
- package/dist/events/terra-load.d.ts +6 -0
- package/dist/events/terra-map-change.d.ts +8 -0
- package/dist/events/terra-remove.d.ts +6 -0
- package/dist/internal/active-elements.d.ts +15 -0
- package/dist/internal/animate.d.ts +22 -0
- package/dist/internal/debounce.d.ts +1 -0
- package/dist/internal/default-value.d.ts +2 -0
- package/dist/internal/drag.d.ts +15 -0
- package/dist/internal/event.d.ts +2 -0
- package/dist/internal/form.d.ts +78 -0
- package/dist/internal/indexeddb.d.ts +15 -0
- package/dist/internal/math.d.ts +2 -0
- package/dist/internal/modal.d.ts +24 -0
- package/dist/internal/offset.d.ts +11 -0
- package/dist/internal/scroll.d.ts +11 -0
- package/dist/internal/scrollend-polyfill.d.ts +1 -0
- package/dist/internal/slot.d.ts +23 -0
- package/dist/internal/string.d.ts +2 -0
- package/dist/internal/tabbable.d.ts +9 -0
- package/dist/internal/terra-element.d.ts +47 -0
- package/dist/internal/test/data-testid-helpers.d.ts +12 -0
- package/dist/internal/test/element-visible-overflow.d.ts +11 -0
- package/dist/internal/test/form-control-base-tests.d.ts +7 -0
- package/dist/internal/test/wait-for-scrolling.d.ts +9 -0
- package/dist/internal/test.d.ts +31 -0
- package/dist/internal/watch.d.ts +26 -0
- package/dist/react/button/index.d.ts +20 -0
- package/dist/react/button/index.js +12 -0
- package/dist/react/chip/index.d.ts +11 -0
- package/dist/react/chip/index.js +10 -0
- package/dist/react/combobox/index.d.ts +18 -0
- package/dist/react/combobox/index.js +13 -0
- package/dist/react/date-range-slider/index.d.ts +16 -0
- package/dist/react/date-range-slider/index.js +13 -0
- package/dist/react/icon/index.d.ts +22 -0
- package/dist/react/icon/index.js +15 -0
- package/dist/react/index.d.ts +11 -0
- package/dist/react/index.js +90 -0
- package/dist/react/loader/index.d.ts +15 -0
- package/dist/react/loader/index.js +10 -0
- package/dist/react/map/index.d.ts +10 -0
- package/dist/react/map/index.js +15 -0
- package/dist/react/plot/index.d.ts +11 -0
- package/dist/react/plot/index.js +11 -0
- package/dist/react/spatial-picker/index.d.ts +10 -0
- package/dist/react/spatial-picker/index.js +17 -0
- package/dist/react/time-series/index.d.ts +11 -0
- package/dist/react/time-series/index.js +42 -0
- package/dist/react/variable-combobox/index.d.ts +26 -0
- package/dist/react/variable-combobox/index.js +24 -0
- package/dist/styles/component.styles.d.ts +2 -0
- package/dist/styles/form-control.styles.d.ts +2 -0
- package/dist/terra-ui-components-autoloader.d.ts +4 -0
- package/dist/terra-ui-components-autoloader.js +42 -0
- package/dist/terra-ui-components.d.ts +16 -0
- package/dist/terra-ui-components.js +110 -0
- package/dist/themes/horizon.css +452 -0
- package/dist/themes/horizon.styles.d.ts +2 -0
- package/dist/themes/horizon.styles.js +456 -0
- package/dist/types/vue/index.d.ts +448 -0
- package/dist/utilities/animation-registry.d.ts +24 -0
- package/dist/utilities/animation-registry.js +47 -0
- package/dist/utilities/animation.d.ts +1 -0
- package/dist/utilities/animation.js +9 -0
- package/dist/utilities/base-path.d.ts +18 -0
- package/dist/utilities/base-path.js +9 -0
- package/dist/utilities/date.d.ts +1 -0
- package/dist/utilities/date.js +7 -0
- package/dist/utilities/form.d.ts +11 -0
- package/dist/utilities/form.js +10 -0
- package/dist/utilities/icon-library.d.ts +1 -0
- package/dist/utilities/icon-library.js +13 -0
- package/dist/vscode.html-custom-data.json +514 -0
- package/dist/web-types.json +983 -0
- package/package.json +153 -0
|
@@ -0,0 +1,2000 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isValidDate
|
|
3
|
+
} from "./chunk.46IWBVYP.js";
|
|
4
|
+
import {
|
|
5
|
+
format
|
|
6
|
+
} from "./chunk.BPNFS4ED.js";
|
|
7
|
+
import {
|
|
8
|
+
date_range_slider_styles_default
|
|
9
|
+
} from "./chunk.4GVU47B6.js";
|
|
10
|
+
import {
|
|
11
|
+
mergeTooltips
|
|
12
|
+
} from "./chunk.KW4TJM4C.js";
|
|
13
|
+
import {
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.IUDWCWFV.js";
|
|
16
|
+
import {
|
|
17
|
+
TerraElement,
|
|
18
|
+
component_styles_default
|
|
19
|
+
} from "./chunk.OFCNXAUR.js";
|
|
20
|
+
import {
|
|
21
|
+
e,
|
|
22
|
+
n
|
|
23
|
+
} from "./chunk.K4EJQG4O.js";
|
|
24
|
+
import {
|
|
25
|
+
x
|
|
26
|
+
} from "./chunk.PQFHJHNO.js";
|
|
27
|
+
import {
|
|
28
|
+
__decorateClass
|
|
29
|
+
} from "./chunk.6QUGTGJO.js";
|
|
30
|
+
|
|
31
|
+
// node_modules/nouislider/dist/nouislider.mjs
|
|
32
|
+
var PipsMode;
|
|
33
|
+
(function(PipsMode2) {
|
|
34
|
+
PipsMode2["Range"] = "range";
|
|
35
|
+
PipsMode2["Steps"] = "steps";
|
|
36
|
+
PipsMode2["Positions"] = "positions";
|
|
37
|
+
PipsMode2["Count"] = "count";
|
|
38
|
+
PipsMode2["Values"] = "values";
|
|
39
|
+
})(PipsMode || (PipsMode = {}));
|
|
40
|
+
var PipsType;
|
|
41
|
+
(function(PipsType2) {
|
|
42
|
+
PipsType2[PipsType2["None"] = -1] = "None";
|
|
43
|
+
PipsType2[PipsType2["NoValue"] = 0] = "NoValue";
|
|
44
|
+
PipsType2[PipsType2["LargeValue"] = 1] = "LargeValue";
|
|
45
|
+
PipsType2[PipsType2["SmallValue"] = 2] = "SmallValue";
|
|
46
|
+
})(PipsType || (PipsType = {}));
|
|
47
|
+
function isValidFormatter(entry) {
|
|
48
|
+
return isValidPartialFormatter(entry) && typeof entry.from === "function";
|
|
49
|
+
}
|
|
50
|
+
function isValidPartialFormatter(entry) {
|
|
51
|
+
return typeof entry === "object" && typeof entry.to === "function";
|
|
52
|
+
}
|
|
53
|
+
function removeElement(el) {
|
|
54
|
+
el.parentElement.removeChild(el);
|
|
55
|
+
}
|
|
56
|
+
function isSet(value) {
|
|
57
|
+
return value !== null && value !== void 0;
|
|
58
|
+
}
|
|
59
|
+
function preventDefault(e2) {
|
|
60
|
+
e2.preventDefault();
|
|
61
|
+
}
|
|
62
|
+
function unique(array) {
|
|
63
|
+
return array.filter(function(a) {
|
|
64
|
+
return !this[a] ? this[a] = true : false;
|
|
65
|
+
}, {});
|
|
66
|
+
}
|
|
67
|
+
function closest(value, to) {
|
|
68
|
+
return Math.round(value / to) * to;
|
|
69
|
+
}
|
|
70
|
+
function offset(elem, orientation) {
|
|
71
|
+
var rect = elem.getBoundingClientRect();
|
|
72
|
+
var doc = elem.ownerDocument;
|
|
73
|
+
var docElem = doc.documentElement;
|
|
74
|
+
var pageOffset = getPageOffset(doc);
|
|
75
|
+
if (/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)) {
|
|
76
|
+
pageOffset.x = 0;
|
|
77
|
+
}
|
|
78
|
+
return orientation ? rect.top + pageOffset.y - docElem.clientTop : rect.left + pageOffset.x - docElem.clientLeft;
|
|
79
|
+
}
|
|
80
|
+
function isNumeric(a) {
|
|
81
|
+
return typeof a === "number" && !isNaN(a) && isFinite(a);
|
|
82
|
+
}
|
|
83
|
+
function addClassFor(element, className, duration) {
|
|
84
|
+
if (duration > 0) {
|
|
85
|
+
addClass(element, className);
|
|
86
|
+
setTimeout(function() {
|
|
87
|
+
removeClass(element, className);
|
|
88
|
+
}, duration);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function limit(a) {
|
|
92
|
+
return Math.max(Math.min(a, 100), 0);
|
|
93
|
+
}
|
|
94
|
+
function asArray(a) {
|
|
95
|
+
return Array.isArray(a) ? a : [a];
|
|
96
|
+
}
|
|
97
|
+
function countDecimals(numStr) {
|
|
98
|
+
numStr = String(numStr);
|
|
99
|
+
var pieces = numStr.split(".");
|
|
100
|
+
return pieces.length > 1 ? pieces[1].length : 0;
|
|
101
|
+
}
|
|
102
|
+
function addClass(el, className) {
|
|
103
|
+
if (el.classList && !/\s/.test(className)) {
|
|
104
|
+
el.classList.add(className);
|
|
105
|
+
} else {
|
|
106
|
+
el.className += " " + className;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function removeClass(el, className) {
|
|
110
|
+
if (el.classList && !/\s/.test(className)) {
|
|
111
|
+
el.classList.remove(className);
|
|
112
|
+
} else {
|
|
113
|
+
el.className = el.className.replace(new RegExp("(^|\\b)" + className.split(" ").join("|") + "(\\b|$)", "gi"), " ");
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function hasClass(el, className) {
|
|
117
|
+
return el.classList ? el.classList.contains(className) : new RegExp("\\b" + className + "\\b").test(el.className);
|
|
118
|
+
}
|
|
119
|
+
function getPageOffset(doc) {
|
|
120
|
+
var supportPageOffset = window.pageXOffset !== void 0;
|
|
121
|
+
var isCSS1Compat = (doc.compatMode || "") === "CSS1Compat";
|
|
122
|
+
var x2 = supportPageOffset ? window.pageXOffset : isCSS1Compat ? doc.documentElement.scrollLeft : doc.body.scrollLeft;
|
|
123
|
+
var y = supportPageOffset ? window.pageYOffset : isCSS1Compat ? doc.documentElement.scrollTop : doc.body.scrollTop;
|
|
124
|
+
return {
|
|
125
|
+
x: x2,
|
|
126
|
+
y
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
function getActions() {
|
|
130
|
+
return window.navigator.pointerEnabled ? {
|
|
131
|
+
start: "pointerdown",
|
|
132
|
+
move: "pointermove",
|
|
133
|
+
end: "pointerup"
|
|
134
|
+
} : window.navigator.msPointerEnabled ? {
|
|
135
|
+
start: "MSPointerDown",
|
|
136
|
+
move: "MSPointerMove",
|
|
137
|
+
end: "MSPointerUp"
|
|
138
|
+
} : {
|
|
139
|
+
start: "mousedown touchstart",
|
|
140
|
+
move: "mousemove touchmove",
|
|
141
|
+
end: "mouseup touchend"
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function getSupportsPassive() {
|
|
145
|
+
var supportsPassive = false;
|
|
146
|
+
try {
|
|
147
|
+
var opts = Object.defineProperty({}, "passive", {
|
|
148
|
+
get: function() {
|
|
149
|
+
supportsPassive = true;
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
window.addEventListener("test", null, opts);
|
|
153
|
+
} catch (e2) {
|
|
154
|
+
}
|
|
155
|
+
return supportsPassive;
|
|
156
|
+
}
|
|
157
|
+
function getSupportsTouchActionNone() {
|
|
158
|
+
return window.CSS && CSS.supports && CSS.supports("touch-action", "none");
|
|
159
|
+
}
|
|
160
|
+
function subRangeRatio(pa, pb) {
|
|
161
|
+
return 100 / (pb - pa);
|
|
162
|
+
}
|
|
163
|
+
function fromPercentage(range, value, startRange) {
|
|
164
|
+
return value * 100 / (range[startRange + 1] - range[startRange]);
|
|
165
|
+
}
|
|
166
|
+
function toPercentage(range, value) {
|
|
167
|
+
return fromPercentage(range, range[0] < 0 ? value + Math.abs(range[0]) : value - range[0], 0);
|
|
168
|
+
}
|
|
169
|
+
function isPercentage(range, value) {
|
|
170
|
+
return value * (range[1] - range[0]) / 100 + range[0];
|
|
171
|
+
}
|
|
172
|
+
function getJ(value, arr) {
|
|
173
|
+
var j = 1;
|
|
174
|
+
while (value >= arr[j]) {
|
|
175
|
+
j += 1;
|
|
176
|
+
}
|
|
177
|
+
return j;
|
|
178
|
+
}
|
|
179
|
+
function toStepping(xVal, xPct, value) {
|
|
180
|
+
if (value >= xVal.slice(-1)[0]) {
|
|
181
|
+
return 100;
|
|
182
|
+
}
|
|
183
|
+
var j = getJ(value, xVal);
|
|
184
|
+
var va = xVal[j - 1];
|
|
185
|
+
var vb = xVal[j];
|
|
186
|
+
var pa = xPct[j - 1];
|
|
187
|
+
var pb = xPct[j];
|
|
188
|
+
return pa + toPercentage([va, vb], value) / subRangeRatio(pa, pb);
|
|
189
|
+
}
|
|
190
|
+
function fromStepping(xVal, xPct, value) {
|
|
191
|
+
if (value >= 100) {
|
|
192
|
+
return xVal.slice(-1)[0];
|
|
193
|
+
}
|
|
194
|
+
var j = getJ(value, xPct);
|
|
195
|
+
var va = xVal[j - 1];
|
|
196
|
+
var vb = xVal[j];
|
|
197
|
+
var pa = xPct[j - 1];
|
|
198
|
+
var pb = xPct[j];
|
|
199
|
+
return isPercentage([va, vb], (value - pa) * subRangeRatio(pa, pb));
|
|
200
|
+
}
|
|
201
|
+
function getStep(xPct, xSteps, snap, value) {
|
|
202
|
+
if (value === 100) {
|
|
203
|
+
return value;
|
|
204
|
+
}
|
|
205
|
+
var j = getJ(value, xPct);
|
|
206
|
+
var a = xPct[j - 1];
|
|
207
|
+
var b = xPct[j];
|
|
208
|
+
if (snap) {
|
|
209
|
+
if (value - a > (b - a) / 2) {
|
|
210
|
+
return b;
|
|
211
|
+
}
|
|
212
|
+
return a;
|
|
213
|
+
}
|
|
214
|
+
if (!xSteps[j - 1]) {
|
|
215
|
+
return value;
|
|
216
|
+
}
|
|
217
|
+
return xPct[j - 1] + closest(value - xPct[j - 1], xSteps[j - 1]);
|
|
218
|
+
}
|
|
219
|
+
var Spectrum = (
|
|
220
|
+
/** @class */
|
|
221
|
+
function() {
|
|
222
|
+
function Spectrum2(entry, snap, singleStep) {
|
|
223
|
+
this.xPct = [];
|
|
224
|
+
this.xVal = [];
|
|
225
|
+
this.xSteps = [];
|
|
226
|
+
this.xNumSteps = [];
|
|
227
|
+
this.xHighestCompleteStep = [];
|
|
228
|
+
this.xSteps = [singleStep || false];
|
|
229
|
+
this.xNumSteps = [false];
|
|
230
|
+
this.snap = snap;
|
|
231
|
+
var index;
|
|
232
|
+
var ordered = [];
|
|
233
|
+
Object.keys(entry).forEach(function(index2) {
|
|
234
|
+
ordered.push([asArray(entry[index2]), index2]);
|
|
235
|
+
});
|
|
236
|
+
ordered.sort(function(a, b) {
|
|
237
|
+
return a[0][0] - b[0][0];
|
|
238
|
+
});
|
|
239
|
+
for (index = 0; index < ordered.length; index++) {
|
|
240
|
+
this.handleEntryPoint(ordered[index][1], ordered[index][0]);
|
|
241
|
+
}
|
|
242
|
+
this.xNumSteps = this.xSteps.slice(0);
|
|
243
|
+
for (index = 0; index < this.xNumSteps.length; index++) {
|
|
244
|
+
this.handleStepPoint(index, this.xNumSteps[index]);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
Spectrum2.prototype.getDistance = function(value) {
|
|
248
|
+
var distances = [];
|
|
249
|
+
for (var index = 0; index < this.xNumSteps.length - 1; index++) {
|
|
250
|
+
distances[index] = fromPercentage(this.xVal, value, index);
|
|
251
|
+
}
|
|
252
|
+
return distances;
|
|
253
|
+
};
|
|
254
|
+
Spectrum2.prototype.getAbsoluteDistance = function(value, distances, direction) {
|
|
255
|
+
var xPct_index = 0;
|
|
256
|
+
if (value < this.xPct[this.xPct.length - 1]) {
|
|
257
|
+
while (value > this.xPct[xPct_index + 1]) {
|
|
258
|
+
xPct_index++;
|
|
259
|
+
}
|
|
260
|
+
} else if (value === this.xPct[this.xPct.length - 1]) {
|
|
261
|
+
xPct_index = this.xPct.length - 2;
|
|
262
|
+
}
|
|
263
|
+
if (!direction && value === this.xPct[xPct_index + 1]) {
|
|
264
|
+
xPct_index++;
|
|
265
|
+
}
|
|
266
|
+
if (distances === null) {
|
|
267
|
+
distances = [];
|
|
268
|
+
}
|
|
269
|
+
var start_factor;
|
|
270
|
+
var rest_factor = 1;
|
|
271
|
+
var rest_rel_distance = distances[xPct_index];
|
|
272
|
+
var range_pct = 0;
|
|
273
|
+
var rel_range_distance = 0;
|
|
274
|
+
var abs_distance_counter = 0;
|
|
275
|
+
var range_counter = 0;
|
|
276
|
+
if (direction) {
|
|
277
|
+
start_factor = (value - this.xPct[xPct_index]) / (this.xPct[xPct_index + 1] - this.xPct[xPct_index]);
|
|
278
|
+
} else {
|
|
279
|
+
start_factor = (this.xPct[xPct_index + 1] - value) / (this.xPct[xPct_index + 1] - this.xPct[xPct_index]);
|
|
280
|
+
}
|
|
281
|
+
while (rest_rel_distance > 0) {
|
|
282
|
+
range_pct = this.xPct[xPct_index + 1 + range_counter] - this.xPct[xPct_index + range_counter];
|
|
283
|
+
if (distances[xPct_index + range_counter] * rest_factor + 100 - start_factor * 100 > 100) {
|
|
284
|
+
rel_range_distance = range_pct * start_factor;
|
|
285
|
+
rest_factor = (rest_rel_distance - 100 * start_factor) / distances[xPct_index + range_counter];
|
|
286
|
+
start_factor = 1;
|
|
287
|
+
} else {
|
|
288
|
+
rel_range_distance = distances[xPct_index + range_counter] * range_pct / 100 * rest_factor;
|
|
289
|
+
rest_factor = 0;
|
|
290
|
+
}
|
|
291
|
+
if (direction) {
|
|
292
|
+
abs_distance_counter = abs_distance_counter - rel_range_distance;
|
|
293
|
+
if (this.xPct.length + range_counter >= 1) {
|
|
294
|
+
range_counter--;
|
|
295
|
+
}
|
|
296
|
+
} else {
|
|
297
|
+
abs_distance_counter = abs_distance_counter + rel_range_distance;
|
|
298
|
+
if (this.xPct.length - range_counter >= 1) {
|
|
299
|
+
range_counter++;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
rest_rel_distance = distances[xPct_index + range_counter] * rest_factor;
|
|
303
|
+
}
|
|
304
|
+
return value + abs_distance_counter;
|
|
305
|
+
};
|
|
306
|
+
Spectrum2.prototype.toStepping = function(value) {
|
|
307
|
+
value = toStepping(this.xVal, this.xPct, value);
|
|
308
|
+
return value;
|
|
309
|
+
};
|
|
310
|
+
Spectrum2.prototype.fromStepping = function(value) {
|
|
311
|
+
return fromStepping(this.xVal, this.xPct, value);
|
|
312
|
+
};
|
|
313
|
+
Spectrum2.prototype.getStep = function(value) {
|
|
314
|
+
value = getStep(this.xPct, this.xSteps, this.snap, value);
|
|
315
|
+
return value;
|
|
316
|
+
};
|
|
317
|
+
Spectrum2.prototype.getDefaultStep = function(value, isDown, size) {
|
|
318
|
+
var j = getJ(value, this.xPct);
|
|
319
|
+
if (value === 100 || isDown && value === this.xPct[j - 1]) {
|
|
320
|
+
j = Math.max(j - 1, 1);
|
|
321
|
+
}
|
|
322
|
+
return (this.xVal[j] - this.xVal[j - 1]) / size;
|
|
323
|
+
};
|
|
324
|
+
Spectrum2.prototype.getNearbySteps = function(value) {
|
|
325
|
+
var j = getJ(value, this.xPct);
|
|
326
|
+
return {
|
|
327
|
+
stepBefore: {
|
|
328
|
+
startValue: this.xVal[j - 2],
|
|
329
|
+
step: this.xNumSteps[j - 2],
|
|
330
|
+
highestStep: this.xHighestCompleteStep[j - 2]
|
|
331
|
+
},
|
|
332
|
+
thisStep: {
|
|
333
|
+
startValue: this.xVal[j - 1],
|
|
334
|
+
step: this.xNumSteps[j - 1],
|
|
335
|
+
highestStep: this.xHighestCompleteStep[j - 1]
|
|
336
|
+
},
|
|
337
|
+
stepAfter: {
|
|
338
|
+
startValue: this.xVal[j],
|
|
339
|
+
step: this.xNumSteps[j],
|
|
340
|
+
highestStep: this.xHighestCompleteStep[j]
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
Spectrum2.prototype.countStepDecimals = function() {
|
|
345
|
+
var stepDecimals = this.xNumSteps.map(countDecimals);
|
|
346
|
+
return Math.max.apply(null, stepDecimals);
|
|
347
|
+
};
|
|
348
|
+
Spectrum2.prototype.hasNoSize = function() {
|
|
349
|
+
return this.xVal[0] === this.xVal[this.xVal.length - 1];
|
|
350
|
+
};
|
|
351
|
+
Spectrum2.prototype.convert = function(value) {
|
|
352
|
+
return this.getStep(this.toStepping(value));
|
|
353
|
+
};
|
|
354
|
+
Spectrum2.prototype.handleEntryPoint = function(index, value) {
|
|
355
|
+
var percentage;
|
|
356
|
+
if (index === "min") {
|
|
357
|
+
percentage = 0;
|
|
358
|
+
} else if (index === "max") {
|
|
359
|
+
percentage = 100;
|
|
360
|
+
} else {
|
|
361
|
+
percentage = parseFloat(index);
|
|
362
|
+
}
|
|
363
|
+
if (!isNumeric(percentage) || !isNumeric(value[0])) {
|
|
364
|
+
throw new Error("noUiSlider: 'range' value isn't numeric.");
|
|
365
|
+
}
|
|
366
|
+
this.xPct.push(percentage);
|
|
367
|
+
this.xVal.push(value[0]);
|
|
368
|
+
var value1 = Number(value[1]);
|
|
369
|
+
if (!percentage) {
|
|
370
|
+
if (!isNaN(value1)) {
|
|
371
|
+
this.xSteps[0] = value1;
|
|
372
|
+
}
|
|
373
|
+
} else {
|
|
374
|
+
this.xSteps.push(isNaN(value1) ? false : value1);
|
|
375
|
+
}
|
|
376
|
+
this.xHighestCompleteStep.push(0);
|
|
377
|
+
};
|
|
378
|
+
Spectrum2.prototype.handleStepPoint = function(i, n2) {
|
|
379
|
+
if (!n2) {
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
if (this.xVal[i] === this.xVal[i + 1]) {
|
|
383
|
+
this.xSteps[i] = this.xHighestCompleteStep[i] = this.xVal[i];
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
386
|
+
this.xSteps[i] = fromPercentage([this.xVal[i], this.xVal[i + 1]], n2, 0) / subRangeRatio(this.xPct[i], this.xPct[i + 1]);
|
|
387
|
+
var totalSteps = (this.xVal[i + 1] - this.xVal[i]) / this.xNumSteps[i];
|
|
388
|
+
var highestStep = Math.ceil(Number(totalSteps.toFixed(3)) - 1);
|
|
389
|
+
var step = this.xVal[i] + this.xNumSteps[i] * highestStep;
|
|
390
|
+
this.xHighestCompleteStep[i] = step;
|
|
391
|
+
};
|
|
392
|
+
return Spectrum2;
|
|
393
|
+
}()
|
|
394
|
+
);
|
|
395
|
+
var defaultFormatter = {
|
|
396
|
+
to: function(value) {
|
|
397
|
+
return value === void 0 ? "" : value.toFixed(2);
|
|
398
|
+
},
|
|
399
|
+
from: Number
|
|
400
|
+
};
|
|
401
|
+
var cssClasses = {
|
|
402
|
+
target: "target",
|
|
403
|
+
base: "base",
|
|
404
|
+
origin: "origin",
|
|
405
|
+
handle: "handle",
|
|
406
|
+
handleLower: "handle-lower",
|
|
407
|
+
handleUpper: "handle-upper",
|
|
408
|
+
touchArea: "touch-area",
|
|
409
|
+
horizontal: "horizontal",
|
|
410
|
+
vertical: "vertical",
|
|
411
|
+
background: "background",
|
|
412
|
+
connect: "connect",
|
|
413
|
+
connects: "connects",
|
|
414
|
+
ltr: "ltr",
|
|
415
|
+
rtl: "rtl",
|
|
416
|
+
textDirectionLtr: "txt-dir-ltr",
|
|
417
|
+
textDirectionRtl: "txt-dir-rtl",
|
|
418
|
+
draggable: "draggable",
|
|
419
|
+
drag: "state-drag",
|
|
420
|
+
tap: "state-tap",
|
|
421
|
+
active: "active",
|
|
422
|
+
tooltip: "tooltip",
|
|
423
|
+
pips: "pips",
|
|
424
|
+
pipsHorizontal: "pips-horizontal",
|
|
425
|
+
pipsVertical: "pips-vertical",
|
|
426
|
+
marker: "marker",
|
|
427
|
+
markerHorizontal: "marker-horizontal",
|
|
428
|
+
markerVertical: "marker-vertical",
|
|
429
|
+
markerNormal: "marker-normal",
|
|
430
|
+
markerLarge: "marker-large",
|
|
431
|
+
markerSub: "marker-sub",
|
|
432
|
+
value: "value",
|
|
433
|
+
valueHorizontal: "value-horizontal",
|
|
434
|
+
valueVertical: "value-vertical",
|
|
435
|
+
valueNormal: "value-normal",
|
|
436
|
+
valueLarge: "value-large",
|
|
437
|
+
valueSub: "value-sub"
|
|
438
|
+
};
|
|
439
|
+
var INTERNAL_EVENT_NS = {
|
|
440
|
+
tooltips: ".__tooltips",
|
|
441
|
+
aria: ".__aria"
|
|
442
|
+
};
|
|
443
|
+
function testStep(parsed, entry) {
|
|
444
|
+
if (!isNumeric(entry)) {
|
|
445
|
+
throw new Error("noUiSlider: 'step' is not numeric.");
|
|
446
|
+
}
|
|
447
|
+
parsed.singleStep = entry;
|
|
448
|
+
}
|
|
449
|
+
function testKeyboardPageMultiplier(parsed, entry) {
|
|
450
|
+
if (!isNumeric(entry)) {
|
|
451
|
+
throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");
|
|
452
|
+
}
|
|
453
|
+
parsed.keyboardPageMultiplier = entry;
|
|
454
|
+
}
|
|
455
|
+
function testKeyboardMultiplier(parsed, entry) {
|
|
456
|
+
if (!isNumeric(entry)) {
|
|
457
|
+
throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");
|
|
458
|
+
}
|
|
459
|
+
parsed.keyboardMultiplier = entry;
|
|
460
|
+
}
|
|
461
|
+
function testKeyboardDefaultStep(parsed, entry) {
|
|
462
|
+
if (!isNumeric(entry)) {
|
|
463
|
+
throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");
|
|
464
|
+
}
|
|
465
|
+
parsed.keyboardDefaultStep = entry;
|
|
466
|
+
}
|
|
467
|
+
function testRange(parsed, entry) {
|
|
468
|
+
if (typeof entry !== "object" || Array.isArray(entry)) {
|
|
469
|
+
throw new Error("noUiSlider: 'range' is not an object.");
|
|
470
|
+
}
|
|
471
|
+
if (entry.min === void 0 || entry.max === void 0) {
|
|
472
|
+
throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");
|
|
473
|
+
}
|
|
474
|
+
parsed.spectrum = new Spectrum(entry, parsed.snap || false, parsed.singleStep);
|
|
475
|
+
}
|
|
476
|
+
function testStart(parsed, entry) {
|
|
477
|
+
entry = asArray(entry);
|
|
478
|
+
if (!Array.isArray(entry) || !entry.length) {
|
|
479
|
+
throw new Error("noUiSlider: 'start' option is incorrect.");
|
|
480
|
+
}
|
|
481
|
+
parsed.handles = entry.length;
|
|
482
|
+
parsed.start = entry;
|
|
483
|
+
}
|
|
484
|
+
function testSnap(parsed, entry) {
|
|
485
|
+
if (typeof entry !== "boolean") {
|
|
486
|
+
throw new Error("noUiSlider: 'snap' option must be a boolean.");
|
|
487
|
+
}
|
|
488
|
+
parsed.snap = entry;
|
|
489
|
+
}
|
|
490
|
+
function testAnimate(parsed, entry) {
|
|
491
|
+
if (typeof entry !== "boolean") {
|
|
492
|
+
throw new Error("noUiSlider: 'animate' option must be a boolean.");
|
|
493
|
+
}
|
|
494
|
+
parsed.animate = entry;
|
|
495
|
+
}
|
|
496
|
+
function testAnimationDuration(parsed, entry) {
|
|
497
|
+
if (typeof entry !== "number") {
|
|
498
|
+
throw new Error("noUiSlider: 'animationDuration' option must be a number.");
|
|
499
|
+
}
|
|
500
|
+
parsed.animationDuration = entry;
|
|
501
|
+
}
|
|
502
|
+
function testConnect(parsed, entry) {
|
|
503
|
+
var connect = [false];
|
|
504
|
+
var i;
|
|
505
|
+
if (entry === "lower") {
|
|
506
|
+
entry = [true, false];
|
|
507
|
+
} else if (entry === "upper") {
|
|
508
|
+
entry = [false, true];
|
|
509
|
+
}
|
|
510
|
+
if (entry === true || entry === false) {
|
|
511
|
+
for (i = 1; i < parsed.handles; i++) {
|
|
512
|
+
connect.push(entry);
|
|
513
|
+
}
|
|
514
|
+
connect.push(false);
|
|
515
|
+
} else if (!Array.isArray(entry) || !entry.length || entry.length !== parsed.handles + 1) {
|
|
516
|
+
throw new Error("noUiSlider: 'connect' option doesn't match handle count.");
|
|
517
|
+
} else {
|
|
518
|
+
connect = entry;
|
|
519
|
+
}
|
|
520
|
+
parsed.connect = connect;
|
|
521
|
+
}
|
|
522
|
+
function testOrientation(parsed, entry) {
|
|
523
|
+
switch (entry) {
|
|
524
|
+
case "horizontal":
|
|
525
|
+
parsed.ort = 0;
|
|
526
|
+
break;
|
|
527
|
+
case "vertical":
|
|
528
|
+
parsed.ort = 1;
|
|
529
|
+
break;
|
|
530
|
+
default:
|
|
531
|
+
throw new Error("noUiSlider: 'orientation' option is invalid.");
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
function testMargin(parsed, entry) {
|
|
535
|
+
if (!isNumeric(entry)) {
|
|
536
|
+
throw new Error("noUiSlider: 'margin' option must be numeric.");
|
|
537
|
+
}
|
|
538
|
+
if (entry === 0) {
|
|
539
|
+
return;
|
|
540
|
+
}
|
|
541
|
+
parsed.margin = parsed.spectrum.getDistance(entry);
|
|
542
|
+
}
|
|
543
|
+
function testLimit(parsed, entry) {
|
|
544
|
+
if (!isNumeric(entry)) {
|
|
545
|
+
throw new Error("noUiSlider: 'limit' option must be numeric.");
|
|
546
|
+
}
|
|
547
|
+
parsed.limit = parsed.spectrum.getDistance(entry);
|
|
548
|
+
if (!parsed.limit || parsed.handles < 2) {
|
|
549
|
+
throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.");
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
function testPadding(parsed, entry) {
|
|
553
|
+
var index;
|
|
554
|
+
if (!isNumeric(entry) && !Array.isArray(entry)) {
|
|
555
|
+
throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");
|
|
556
|
+
}
|
|
557
|
+
if (Array.isArray(entry) && !(entry.length === 2 || isNumeric(entry[0]) || isNumeric(entry[1]))) {
|
|
558
|
+
throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");
|
|
559
|
+
}
|
|
560
|
+
if (entry === 0) {
|
|
561
|
+
return;
|
|
562
|
+
}
|
|
563
|
+
if (!Array.isArray(entry)) {
|
|
564
|
+
entry = [entry, entry];
|
|
565
|
+
}
|
|
566
|
+
parsed.padding = [parsed.spectrum.getDistance(entry[0]), parsed.spectrum.getDistance(entry[1])];
|
|
567
|
+
for (index = 0; index < parsed.spectrum.xNumSteps.length - 1; index++) {
|
|
568
|
+
if (parsed.padding[0][index] < 0 || parsed.padding[1][index] < 0) {
|
|
569
|
+
throw new Error("noUiSlider: 'padding' option must be a positive number(s).");
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
var totalPadding = entry[0] + entry[1];
|
|
573
|
+
var firstValue = parsed.spectrum.xVal[0];
|
|
574
|
+
var lastValue = parsed.spectrum.xVal[parsed.spectrum.xVal.length - 1];
|
|
575
|
+
if (totalPadding / (lastValue - firstValue) > 1) {
|
|
576
|
+
throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.");
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
function testDirection(parsed, entry) {
|
|
580
|
+
switch (entry) {
|
|
581
|
+
case "ltr":
|
|
582
|
+
parsed.dir = 0;
|
|
583
|
+
break;
|
|
584
|
+
case "rtl":
|
|
585
|
+
parsed.dir = 1;
|
|
586
|
+
break;
|
|
587
|
+
default:
|
|
588
|
+
throw new Error("noUiSlider: 'direction' option was not recognized.");
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
function testBehaviour(parsed, entry) {
|
|
592
|
+
if (typeof entry !== "string") {
|
|
593
|
+
throw new Error("noUiSlider: 'behaviour' must be a string containing options.");
|
|
594
|
+
}
|
|
595
|
+
var tap = entry.indexOf("tap") >= 0;
|
|
596
|
+
var drag = entry.indexOf("drag") >= 0;
|
|
597
|
+
var fixed = entry.indexOf("fixed") >= 0;
|
|
598
|
+
var snap = entry.indexOf("snap") >= 0;
|
|
599
|
+
var hover = entry.indexOf("hover") >= 0;
|
|
600
|
+
var unconstrained = entry.indexOf("unconstrained") >= 0;
|
|
601
|
+
var dragAll = entry.indexOf("drag-all") >= 0;
|
|
602
|
+
var smoothSteps = entry.indexOf("smooth-steps") >= 0;
|
|
603
|
+
if (fixed) {
|
|
604
|
+
if (parsed.handles !== 2) {
|
|
605
|
+
throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");
|
|
606
|
+
}
|
|
607
|
+
testMargin(parsed, parsed.start[1] - parsed.start[0]);
|
|
608
|
+
}
|
|
609
|
+
if (unconstrained && (parsed.margin || parsed.limit)) {
|
|
610
|
+
throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");
|
|
611
|
+
}
|
|
612
|
+
parsed.events = {
|
|
613
|
+
tap: tap || snap,
|
|
614
|
+
drag,
|
|
615
|
+
dragAll,
|
|
616
|
+
smoothSteps,
|
|
617
|
+
fixed,
|
|
618
|
+
snap,
|
|
619
|
+
hover,
|
|
620
|
+
unconstrained
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
function testTooltips(parsed, entry) {
|
|
624
|
+
if (entry === false) {
|
|
625
|
+
return;
|
|
626
|
+
}
|
|
627
|
+
if (entry === true || isValidPartialFormatter(entry)) {
|
|
628
|
+
parsed.tooltips = [];
|
|
629
|
+
for (var i = 0; i < parsed.handles; i++) {
|
|
630
|
+
parsed.tooltips.push(entry);
|
|
631
|
+
}
|
|
632
|
+
} else {
|
|
633
|
+
entry = asArray(entry);
|
|
634
|
+
if (entry.length !== parsed.handles) {
|
|
635
|
+
throw new Error("noUiSlider: must pass a formatter for all handles.");
|
|
636
|
+
}
|
|
637
|
+
entry.forEach(function(formatter) {
|
|
638
|
+
if (typeof formatter !== "boolean" && !isValidPartialFormatter(formatter)) {
|
|
639
|
+
throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.");
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
parsed.tooltips = entry;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
function testHandleAttributes(parsed, entry) {
|
|
646
|
+
if (entry.length !== parsed.handles) {
|
|
647
|
+
throw new Error("noUiSlider: must pass a attributes for all handles.");
|
|
648
|
+
}
|
|
649
|
+
parsed.handleAttributes = entry;
|
|
650
|
+
}
|
|
651
|
+
function testAriaFormat(parsed, entry) {
|
|
652
|
+
if (!isValidPartialFormatter(entry)) {
|
|
653
|
+
throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");
|
|
654
|
+
}
|
|
655
|
+
parsed.ariaFormat = entry;
|
|
656
|
+
}
|
|
657
|
+
function testFormat(parsed, entry) {
|
|
658
|
+
if (!isValidFormatter(entry)) {
|
|
659
|
+
throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");
|
|
660
|
+
}
|
|
661
|
+
parsed.format = entry;
|
|
662
|
+
}
|
|
663
|
+
function testKeyboardSupport(parsed, entry) {
|
|
664
|
+
if (typeof entry !== "boolean") {
|
|
665
|
+
throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");
|
|
666
|
+
}
|
|
667
|
+
parsed.keyboardSupport = entry;
|
|
668
|
+
}
|
|
669
|
+
function testDocumentElement(parsed, entry) {
|
|
670
|
+
parsed.documentElement = entry;
|
|
671
|
+
}
|
|
672
|
+
function testCssPrefix(parsed, entry) {
|
|
673
|
+
if (typeof entry !== "string" && entry !== false) {
|
|
674
|
+
throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");
|
|
675
|
+
}
|
|
676
|
+
parsed.cssPrefix = entry;
|
|
677
|
+
}
|
|
678
|
+
function testCssClasses(parsed, entry) {
|
|
679
|
+
if (typeof entry !== "object") {
|
|
680
|
+
throw new Error("noUiSlider: 'cssClasses' must be an object.");
|
|
681
|
+
}
|
|
682
|
+
if (typeof parsed.cssPrefix === "string") {
|
|
683
|
+
parsed.cssClasses = {};
|
|
684
|
+
Object.keys(entry).forEach(function(key) {
|
|
685
|
+
parsed.cssClasses[key] = parsed.cssPrefix + entry[key];
|
|
686
|
+
});
|
|
687
|
+
} else {
|
|
688
|
+
parsed.cssClasses = entry;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
function testOptions(options) {
|
|
692
|
+
var parsed = {
|
|
693
|
+
margin: null,
|
|
694
|
+
limit: null,
|
|
695
|
+
padding: null,
|
|
696
|
+
animate: true,
|
|
697
|
+
animationDuration: 300,
|
|
698
|
+
ariaFormat: defaultFormatter,
|
|
699
|
+
format: defaultFormatter
|
|
700
|
+
};
|
|
701
|
+
var tests = {
|
|
702
|
+
step: { r: false, t: testStep },
|
|
703
|
+
keyboardPageMultiplier: { r: false, t: testKeyboardPageMultiplier },
|
|
704
|
+
keyboardMultiplier: { r: false, t: testKeyboardMultiplier },
|
|
705
|
+
keyboardDefaultStep: { r: false, t: testKeyboardDefaultStep },
|
|
706
|
+
start: { r: true, t: testStart },
|
|
707
|
+
connect: { r: true, t: testConnect },
|
|
708
|
+
direction: { r: true, t: testDirection },
|
|
709
|
+
snap: { r: false, t: testSnap },
|
|
710
|
+
animate: { r: false, t: testAnimate },
|
|
711
|
+
animationDuration: { r: false, t: testAnimationDuration },
|
|
712
|
+
range: { r: true, t: testRange },
|
|
713
|
+
orientation: { r: false, t: testOrientation },
|
|
714
|
+
margin: { r: false, t: testMargin },
|
|
715
|
+
limit: { r: false, t: testLimit },
|
|
716
|
+
padding: { r: false, t: testPadding },
|
|
717
|
+
behaviour: { r: true, t: testBehaviour },
|
|
718
|
+
ariaFormat: { r: false, t: testAriaFormat },
|
|
719
|
+
format: { r: false, t: testFormat },
|
|
720
|
+
tooltips: { r: false, t: testTooltips },
|
|
721
|
+
keyboardSupport: { r: true, t: testKeyboardSupport },
|
|
722
|
+
documentElement: { r: false, t: testDocumentElement },
|
|
723
|
+
cssPrefix: { r: true, t: testCssPrefix },
|
|
724
|
+
cssClasses: { r: true, t: testCssClasses },
|
|
725
|
+
handleAttributes: { r: false, t: testHandleAttributes }
|
|
726
|
+
};
|
|
727
|
+
var defaults = {
|
|
728
|
+
connect: false,
|
|
729
|
+
direction: "ltr",
|
|
730
|
+
behaviour: "tap",
|
|
731
|
+
orientation: "horizontal",
|
|
732
|
+
keyboardSupport: true,
|
|
733
|
+
cssPrefix: "noUi-",
|
|
734
|
+
cssClasses,
|
|
735
|
+
keyboardPageMultiplier: 5,
|
|
736
|
+
keyboardMultiplier: 1,
|
|
737
|
+
keyboardDefaultStep: 10
|
|
738
|
+
};
|
|
739
|
+
if (options.format && !options.ariaFormat) {
|
|
740
|
+
options.ariaFormat = options.format;
|
|
741
|
+
}
|
|
742
|
+
Object.keys(tests).forEach(function(name) {
|
|
743
|
+
if (!isSet(options[name]) && defaults[name] === void 0) {
|
|
744
|
+
if (tests[name].r) {
|
|
745
|
+
throw new Error("noUiSlider: '" + name + "' is required.");
|
|
746
|
+
}
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
tests[name].t(parsed, !isSet(options[name]) ? defaults[name] : options[name]);
|
|
750
|
+
});
|
|
751
|
+
parsed.pips = options.pips;
|
|
752
|
+
var d = document.createElement("div");
|
|
753
|
+
var msPrefix = d.style.msTransform !== void 0;
|
|
754
|
+
var noPrefix = d.style.transform !== void 0;
|
|
755
|
+
parsed.transformRule = noPrefix ? "transform" : msPrefix ? "msTransform" : "webkitTransform";
|
|
756
|
+
var styles = [
|
|
757
|
+
["left", "top"],
|
|
758
|
+
["right", "bottom"]
|
|
759
|
+
];
|
|
760
|
+
parsed.style = styles[parsed.dir][parsed.ort];
|
|
761
|
+
return parsed;
|
|
762
|
+
}
|
|
763
|
+
function scope(target, options, originalOptions) {
|
|
764
|
+
var actions = getActions();
|
|
765
|
+
var supportsTouchActionNone = getSupportsTouchActionNone();
|
|
766
|
+
var supportsPassive = supportsTouchActionNone && getSupportsPassive();
|
|
767
|
+
var scope_Target = target;
|
|
768
|
+
var scope_Base;
|
|
769
|
+
var scope_Handles;
|
|
770
|
+
var scope_Connects;
|
|
771
|
+
var scope_Pips;
|
|
772
|
+
var scope_Tooltips;
|
|
773
|
+
var scope_Spectrum = options.spectrum;
|
|
774
|
+
var scope_Values = [];
|
|
775
|
+
var scope_Locations = [];
|
|
776
|
+
var scope_HandleNumbers = [];
|
|
777
|
+
var scope_ActiveHandlesCount = 0;
|
|
778
|
+
var scope_Events = {};
|
|
779
|
+
var scope_Document = target.ownerDocument;
|
|
780
|
+
var scope_DocumentElement = options.documentElement || scope_Document.documentElement;
|
|
781
|
+
var scope_Body = scope_Document.body;
|
|
782
|
+
var scope_DirOffset = scope_Document.dir === "rtl" || options.ort === 1 ? 0 : 100;
|
|
783
|
+
function addNodeTo(addTarget, className) {
|
|
784
|
+
var div = scope_Document.createElement("div");
|
|
785
|
+
if (className) {
|
|
786
|
+
addClass(div, className);
|
|
787
|
+
}
|
|
788
|
+
addTarget.appendChild(div);
|
|
789
|
+
return div;
|
|
790
|
+
}
|
|
791
|
+
function addOrigin(base, handleNumber) {
|
|
792
|
+
var origin = addNodeTo(base, options.cssClasses.origin);
|
|
793
|
+
var handle = addNodeTo(origin, options.cssClasses.handle);
|
|
794
|
+
addNodeTo(handle, options.cssClasses.touchArea);
|
|
795
|
+
handle.setAttribute("data-handle", String(handleNumber));
|
|
796
|
+
if (options.keyboardSupport) {
|
|
797
|
+
handle.setAttribute("tabindex", "0");
|
|
798
|
+
handle.addEventListener("keydown", function(event) {
|
|
799
|
+
return eventKeydown(event, handleNumber);
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
if (options.handleAttributes !== void 0) {
|
|
803
|
+
var attributes_1 = options.handleAttributes[handleNumber];
|
|
804
|
+
Object.keys(attributes_1).forEach(function(attribute) {
|
|
805
|
+
handle.setAttribute(attribute, attributes_1[attribute]);
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
handle.setAttribute("role", "slider");
|
|
809
|
+
handle.setAttribute("aria-orientation", options.ort ? "vertical" : "horizontal");
|
|
810
|
+
if (handleNumber === 0) {
|
|
811
|
+
addClass(handle, options.cssClasses.handleLower);
|
|
812
|
+
} else if (handleNumber === options.handles - 1) {
|
|
813
|
+
addClass(handle, options.cssClasses.handleUpper);
|
|
814
|
+
}
|
|
815
|
+
origin.handle = handle;
|
|
816
|
+
return origin;
|
|
817
|
+
}
|
|
818
|
+
function addConnect(base, add) {
|
|
819
|
+
if (!add) {
|
|
820
|
+
return false;
|
|
821
|
+
}
|
|
822
|
+
return addNodeTo(base, options.cssClasses.connect);
|
|
823
|
+
}
|
|
824
|
+
function addElements(connectOptions, base) {
|
|
825
|
+
var connectBase = addNodeTo(base, options.cssClasses.connects);
|
|
826
|
+
scope_Handles = [];
|
|
827
|
+
scope_Connects = [];
|
|
828
|
+
scope_Connects.push(addConnect(connectBase, connectOptions[0]));
|
|
829
|
+
for (var i = 0; i < options.handles; i++) {
|
|
830
|
+
scope_Handles.push(addOrigin(base, i));
|
|
831
|
+
scope_HandleNumbers[i] = i;
|
|
832
|
+
scope_Connects.push(addConnect(connectBase, connectOptions[i + 1]));
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
function addSlider(addTarget) {
|
|
836
|
+
addClass(addTarget, options.cssClasses.target);
|
|
837
|
+
if (options.dir === 0) {
|
|
838
|
+
addClass(addTarget, options.cssClasses.ltr);
|
|
839
|
+
} else {
|
|
840
|
+
addClass(addTarget, options.cssClasses.rtl);
|
|
841
|
+
}
|
|
842
|
+
if (options.ort === 0) {
|
|
843
|
+
addClass(addTarget, options.cssClasses.horizontal);
|
|
844
|
+
} else {
|
|
845
|
+
addClass(addTarget, options.cssClasses.vertical);
|
|
846
|
+
}
|
|
847
|
+
var textDirection = getComputedStyle(addTarget).direction;
|
|
848
|
+
if (textDirection === "rtl") {
|
|
849
|
+
addClass(addTarget, options.cssClasses.textDirectionRtl);
|
|
850
|
+
} else {
|
|
851
|
+
addClass(addTarget, options.cssClasses.textDirectionLtr);
|
|
852
|
+
}
|
|
853
|
+
return addNodeTo(addTarget, options.cssClasses.base);
|
|
854
|
+
}
|
|
855
|
+
function addTooltip(handle, handleNumber) {
|
|
856
|
+
if (!options.tooltips || !options.tooltips[handleNumber]) {
|
|
857
|
+
return false;
|
|
858
|
+
}
|
|
859
|
+
return addNodeTo(handle.firstChild, options.cssClasses.tooltip);
|
|
860
|
+
}
|
|
861
|
+
function isSliderDisabled() {
|
|
862
|
+
return scope_Target.hasAttribute("disabled");
|
|
863
|
+
}
|
|
864
|
+
function isHandleDisabled(handleNumber) {
|
|
865
|
+
var handleOrigin = scope_Handles[handleNumber];
|
|
866
|
+
return handleOrigin.hasAttribute("disabled");
|
|
867
|
+
}
|
|
868
|
+
function disable(handleNumber) {
|
|
869
|
+
if (handleNumber !== null && handleNumber !== void 0) {
|
|
870
|
+
scope_Handles[handleNumber].setAttribute("disabled", "");
|
|
871
|
+
scope_Handles[handleNumber].handle.removeAttribute("tabindex");
|
|
872
|
+
} else {
|
|
873
|
+
scope_Target.setAttribute("disabled", "");
|
|
874
|
+
scope_Handles.forEach(function(handle) {
|
|
875
|
+
handle.handle.removeAttribute("tabindex");
|
|
876
|
+
});
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
function enable(handleNumber) {
|
|
880
|
+
if (handleNumber !== null && handleNumber !== void 0) {
|
|
881
|
+
scope_Handles[handleNumber].removeAttribute("disabled");
|
|
882
|
+
scope_Handles[handleNumber].handle.setAttribute("tabindex", "0");
|
|
883
|
+
} else {
|
|
884
|
+
scope_Target.removeAttribute("disabled");
|
|
885
|
+
scope_Handles.forEach(function(handle) {
|
|
886
|
+
handle.removeAttribute("disabled");
|
|
887
|
+
handle.handle.setAttribute("tabindex", "0");
|
|
888
|
+
});
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
function removeTooltips() {
|
|
892
|
+
if (scope_Tooltips) {
|
|
893
|
+
removeEvent("update" + INTERNAL_EVENT_NS.tooltips);
|
|
894
|
+
scope_Tooltips.forEach(function(tooltip) {
|
|
895
|
+
if (tooltip) {
|
|
896
|
+
removeElement(tooltip);
|
|
897
|
+
}
|
|
898
|
+
});
|
|
899
|
+
scope_Tooltips = null;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
function tooltips() {
|
|
903
|
+
removeTooltips();
|
|
904
|
+
scope_Tooltips = scope_Handles.map(addTooltip);
|
|
905
|
+
bindEvent("update" + INTERNAL_EVENT_NS.tooltips, function(values, handleNumber, unencoded) {
|
|
906
|
+
if (!scope_Tooltips || !options.tooltips) {
|
|
907
|
+
return;
|
|
908
|
+
}
|
|
909
|
+
if (scope_Tooltips[handleNumber] === false) {
|
|
910
|
+
return;
|
|
911
|
+
}
|
|
912
|
+
var formattedValue = values[handleNumber];
|
|
913
|
+
if (options.tooltips[handleNumber] !== true) {
|
|
914
|
+
formattedValue = options.tooltips[handleNumber].to(unencoded[handleNumber]);
|
|
915
|
+
}
|
|
916
|
+
scope_Tooltips[handleNumber].innerHTML = formattedValue;
|
|
917
|
+
});
|
|
918
|
+
}
|
|
919
|
+
function aria() {
|
|
920
|
+
removeEvent("update" + INTERNAL_EVENT_NS.aria);
|
|
921
|
+
bindEvent("update" + INTERNAL_EVENT_NS.aria, function(values, handleNumber, unencoded, tap, positions) {
|
|
922
|
+
scope_HandleNumbers.forEach(function(index) {
|
|
923
|
+
var handle = scope_Handles[index];
|
|
924
|
+
var min = checkHandlePosition(scope_Locations, index, 0, true, true, true);
|
|
925
|
+
var max = checkHandlePosition(scope_Locations, index, 100, true, true, true);
|
|
926
|
+
var now = positions[index];
|
|
927
|
+
var text = String(options.ariaFormat.to(unencoded[index]));
|
|
928
|
+
min = scope_Spectrum.fromStepping(min).toFixed(1);
|
|
929
|
+
max = scope_Spectrum.fromStepping(max).toFixed(1);
|
|
930
|
+
now = scope_Spectrum.fromStepping(now).toFixed(1);
|
|
931
|
+
handle.children[0].setAttribute("aria-valuemin", min);
|
|
932
|
+
handle.children[0].setAttribute("aria-valuemax", max);
|
|
933
|
+
handle.children[0].setAttribute("aria-valuenow", now);
|
|
934
|
+
handle.children[0].setAttribute("aria-valuetext", text);
|
|
935
|
+
});
|
|
936
|
+
});
|
|
937
|
+
}
|
|
938
|
+
function getGroup(pips2) {
|
|
939
|
+
if (pips2.mode === PipsMode.Range || pips2.mode === PipsMode.Steps) {
|
|
940
|
+
return scope_Spectrum.xVal;
|
|
941
|
+
}
|
|
942
|
+
if (pips2.mode === PipsMode.Count) {
|
|
943
|
+
if (pips2.values < 2) {
|
|
944
|
+
throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");
|
|
945
|
+
}
|
|
946
|
+
var interval = pips2.values - 1;
|
|
947
|
+
var spread = 100 / interval;
|
|
948
|
+
var values = [];
|
|
949
|
+
while (interval--) {
|
|
950
|
+
values[interval] = interval * spread;
|
|
951
|
+
}
|
|
952
|
+
values.push(100);
|
|
953
|
+
return mapToRange(values, pips2.stepped);
|
|
954
|
+
}
|
|
955
|
+
if (pips2.mode === PipsMode.Positions) {
|
|
956
|
+
return mapToRange(pips2.values, pips2.stepped);
|
|
957
|
+
}
|
|
958
|
+
if (pips2.mode === PipsMode.Values) {
|
|
959
|
+
if (pips2.stepped) {
|
|
960
|
+
return pips2.values.map(function(value) {
|
|
961
|
+
return scope_Spectrum.fromStepping(scope_Spectrum.getStep(scope_Spectrum.toStepping(value)));
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
return pips2.values;
|
|
965
|
+
}
|
|
966
|
+
return [];
|
|
967
|
+
}
|
|
968
|
+
function mapToRange(values, stepped) {
|
|
969
|
+
return values.map(function(value) {
|
|
970
|
+
return scope_Spectrum.fromStepping(stepped ? scope_Spectrum.getStep(value) : value);
|
|
971
|
+
});
|
|
972
|
+
}
|
|
973
|
+
function generateSpread(pips2) {
|
|
974
|
+
function safeIncrement(value, increment) {
|
|
975
|
+
return Number((value + increment).toFixed(7));
|
|
976
|
+
}
|
|
977
|
+
var group = getGroup(pips2);
|
|
978
|
+
var indexes = {};
|
|
979
|
+
var firstInRange = scope_Spectrum.xVal[0];
|
|
980
|
+
var lastInRange = scope_Spectrum.xVal[scope_Spectrum.xVal.length - 1];
|
|
981
|
+
var ignoreFirst = false;
|
|
982
|
+
var ignoreLast = false;
|
|
983
|
+
var prevPct = 0;
|
|
984
|
+
group = unique(group.slice().sort(function(a, b) {
|
|
985
|
+
return a - b;
|
|
986
|
+
}));
|
|
987
|
+
if (group[0] !== firstInRange) {
|
|
988
|
+
group.unshift(firstInRange);
|
|
989
|
+
ignoreFirst = true;
|
|
990
|
+
}
|
|
991
|
+
if (group[group.length - 1] !== lastInRange) {
|
|
992
|
+
group.push(lastInRange);
|
|
993
|
+
ignoreLast = true;
|
|
994
|
+
}
|
|
995
|
+
group.forEach(function(current, index) {
|
|
996
|
+
var step;
|
|
997
|
+
var i;
|
|
998
|
+
var q;
|
|
999
|
+
var low = current;
|
|
1000
|
+
var high = group[index + 1];
|
|
1001
|
+
var newPct;
|
|
1002
|
+
var pctDifference;
|
|
1003
|
+
var pctPos;
|
|
1004
|
+
var type;
|
|
1005
|
+
var steps;
|
|
1006
|
+
var realSteps;
|
|
1007
|
+
var stepSize;
|
|
1008
|
+
var isSteps = pips2.mode === PipsMode.Steps;
|
|
1009
|
+
if (isSteps) {
|
|
1010
|
+
step = scope_Spectrum.xNumSteps[index];
|
|
1011
|
+
}
|
|
1012
|
+
if (!step) {
|
|
1013
|
+
step = high - low;
|
|
1014
|
+
}
|
|
1015
|
+
if (high === void 0) {
|
|
1016
|
+
high = low;
|
|
1017
|
+
}
|
|
1018
|
+
step = Math.max(step, 1e-7);
|
|
1019
|
+
for (i = low; i <= high; i = safeIncrement(i, step)) {
|
|
1020
|
+
newPct = scope_Spectrum.toStepping(i);
|
|
1021
|
+
pctDifference = newPct - prevPct;
|
|
1022
|
+
steps = pctDifference / (pips2.density || 1);
|
|
1023
|
+
realSteps = Math.round(steps);
|
|
1024
|
+
stepSize = pctDifference / realSteps;
|
|
1025
|
+
for (q = 1; q <= realSteps; q += 1) {
|
|
1026
|
+
pctPos = prevPct + q * stepSize;
|
|
1027
|
+
indexes[pctPos.toFixed(5)] = [scope_Spectrum.fromStepping(pctPos), 0];
|
|
1028
|
+
}
|
|
1029
|
+
type = group.indexOf(i) > -1 ? PipsType.LargeValue : isSteps ? PipsType.SmallValue : PipsType.NoValue;
|
|
1030
|
+
if (!index && ignoreFirst && i !== high) {
|
|
1031
|
+
type = 0;
|
|
1032
|
+
}
|
|
1033
|
+
if (!(i === high && ignoreLast)) {
|
|
1034
|
+
indexes[newPct.toFixed(5)] = [i, type];
|
|
1035
|
+
}
|
|
1036
|
+
prevPct = newPct;
|
|
1037
|
+
}
|
|
1038
|
+
});
|
|
1039
|
+
return indexes;
|
|
1040
|
+
}
|
|
1041
|
+
function addMarking(spread, filterFunc, formatter) {
|
|
1042
|
+
var _a, _b;
|
|
1043
|
+
var element = scope_Document.createElement("div");
|
|
1044
|
+
var valueSizeClasses = (_a = {}, _a[PipsType.None] = "", _a[PipsType.NoValue] = options.cssClasses.valueNormal, _a[PipsType.LargeValue] = options.cssClasses.valueLarge, _a[PipsType.SmallValue] = options.cssClasses.valueSub, _a);
|
|
1045
|
+
var markerSizeClasses = (_b = {}, _b[PipsType.None] = "", _b[PipsType.NoValue] = options.cssClasses.markerNormal, _b[PipsType.LargeValue] = options.cssClasses.markerLarge, _b[PipsType.SmallValue] = options.cssClasses.markerSub, _b);
|
|
1046
|
+
var valueOrientationClasses = [options.cssClasses.valueHorizontal, options.cssClasses.valueVertical];
|
|
1047
|
+
var markerOrientationClasses = [options.cssClasses.markerHorizontal, options.cssClasses.markerVertical];
|
|
1048
|
+
addClass(element, options.cssClasses.pips);
|
|
1049
|
+
addClass(element, options.ort === 0 ? options.cssClasses.pipsHorizontal : options.cssClasses.pipsVertical);
|
|
1050
|
+
function getClasses(type, source) {
|
|
1051
|
+
var a = source === options.cssClasses.value;
|
|
1052
|
+
var orientationClasses = a ? valueOrientationClasses : markerOrientationClasses;
|
|
1053
|
+
var sizeClasses = a ? valueSizeClasses : markerSizeClasses;
|
|
1054
|
+
return source + " " + orientationClasses[options.ort] + " " + sizeClasses[type];
|
|
1055
|
+
}
|
|
1056
|
+
function addSpread(offset2, value, type) {
|
|
1057
|
+
type = filterFunc ? filterFunc(value, type) : type;
|
|
1058
|
+
if (type === PipsType.None) {
|
|
1059
|
+
return;
|
|
1060
|
+
}
|
|
1061
|
+
var node = addNodeTo(element, false);
|
|
1062
|
+
node.className = getClasses(type, options.cssClasses.marker);
|
|
1063
|
+
node.style[options.style] = offset2 + "%";
|
|
1064
|
+
if (type > PipsType.NoValue) {
|
|
1065
|
+
node = addNodeTo(element, false);
|
|
1066
|
+
node.className = getClasses(type, options.cssClasses.value);
|
|
1067
|
+
node.setAttribute("data-value", String(value));
|
|
1068
|
+
node.style[options.style] = offset2 + "%";
|
|
1069
|
+
node.innerHTML = String(formatter.to(value));
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
Object.keys(spread).forEach(function(offset2) {
|
|
1073
|
+
addSpread(offset2, spread[offset2][0], spread[offset2][1]);
|
|
1074
|
+
});
|
|
1075
|
+
return element;
|
|
1076
|
+
}
|
|
1077
|
+
function removePips() {
|
|
1078
|
+
if (scope_Pips) {
|
|
1079
|
+
removeElement(scope_Pips);
|
|
1080
|
+
scope_Pips = null;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
function pips(pips2) {
|
|
1084
|
+
removePips();
|
|
1085
|
+
var spread = generateSpread(pips2);
|
|
1086
|
+
var filter = pips2.filter;
|
|
1087
|
+
var format2 = pips2.format || {
|
|
1088
|
+
to: function(value) {
|
|
1089
|
+
return String(Math.round(value));
|
|
1090
|
+
}
|
|
1091
|
+
};
|
|
1092
|
+
scope_Pips = scope_Target.appendChild(addMarking(spread, filter, format2));
|
|
1093
|
+
return scope_Pips;
|
|
1094
|
+
}
|
|
1095
|
+
function baseSize() {
|
|
1096
|
+
var rect = scope_Base.getBoundingClientRect();
|
|
1097
|
+
var alt = "offset" + ["Width", "Height"][options.ort];
|
|
1098
|
+
return options.ort === 0 ? rect.width || scope_Base[alt] : rect.height || scope_Base[alt];
|
|
1099
|
+
}
|
|
1100
|
+
function attachEvent(events, element, callback, data) {
|
|
1101
|
+
var method = function(event) {
|
|
1102
|
+
var e2 = fixEvent(event, data.pageOffset, data.target || element);
|
|
1103
|
+
if (!e2) {
|
|
1104
|
+
return false;
|
|
1105
|
+
}
|
|
1106
|
+
if (isSliderDisabled() && !data.doNotReject) {
|
|
1107
|
+
return false;
|
|
1108
|
+
}
|
|
1109
|
+
if (hasClass(scope_Target, options.cssClasses.tap) && !data.doNotReject) {
|
|
1110
|
+
return false;
|
|
1111
|
+
}
|
|
1112
|
+
if (events === actions.start && e2.buttons !== void 0 && e2.buttons > 1) {
|
|
1113
|
+
return false;
|
|
1114
|
+
}
|
|
1115
|
+
if (data.hover && e2.buttons) {
|
|
1116
|
+
return false;
|
|
1117
|
+
}
|
|
1118
|
+
if (!supportsPassive) {
|
|
1119
|
+
e2.preventDefault();
|
|
1120
|
+
}
|
|
1121
|
+
e2.calcPoint = e2.points[options.ort];
|
|
1122
|
+
callback(e2, data);
|
|
1123
|
+
return;
|
|
1124
|
+
};
|
|
1125
|
+
var methods = [];
|
|
1126
|
+
events.split(" ").forEach(function(eventName) {
|
|
1127
|
+
element.addEventListener(eventName, method, supportsPassive ? { passive: true } : false);
|
|
1128
|
+
methods.push([eventName, method]);
|
|
1129
|
+
});
|
|
1130
|
+
return methods;
|
|
1131
|
+
}
|
|
1132
|
+
function fixEvent(e2, pageOffset, eventTarget) {
|
|
1133
|
+
var touch = e2.type.indexOf("touch") === 0;
|
|
1134
|
+
var mouse = e2.type.indexOf("mouse") === 0;
|
|
1135
|
+
var pointer = e2.type.indexOf("pointer") === 0;
|
|
1136
|
+
var x2 = 0;
|
|
1137
|
+
var y = 0;
|
|
1138
|
+
if (e2.type.indexOf("MSPointer") === 0) {
|
|
1139
|
+
pointer = true;
|
|
1140
|
+
}
|
|
1141
|
+
if (e2.type === "mousedown" && !e2.buttons && !e2.touches) {
|
|
1142
|
+
return false;
|
|
1143
|
+
}
|
|
1144
|
+
if (touch) {
|
|
1145
|
+
var isTouchOnTarget = function(checkTouch) {
|
|
1146
|
+
var target2 = checkTouch.target;
|
|
1147
|
+
return target2 === eventTarget || eventTarget.contains(target2) || e2.composed && e2.composedPath().shift() === eventTarget;
|
|
1148
|
+
};
|
|
1149
|
+
if (e2.type === "touchstart") {
|
|
1150
|
+
var targetTouches = Array.prototype.filter.call(e2.touches, isTouchOnTarget);
|
|
1151
|
+
if (targetTouches.length > 1) {
|
|
1152
|
+
return false;
|
|
1153
|
+
}
|
|
1154
|
+
x2 = targetTouches[0].pageX;
|
|
1155
|
+
y = targetTouches[0].pageY;
|
|
1156
|
+
} else {
|
|
1157
|
+
var targetTouch = Array.prototype.find.call(e2.changedTouches, isTouchOnTarget);
|
|
1158
|
+
if (!targetTouch) {
|
|
1159
|
+
return false;
|
|
1160
|
+
}
|
|
1161
|
+
x2 = targetTouch.pageX;
|
|
1162
|
+
y = targetTouch.pageY;
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
pageOffset = pageOffset || getPageOffset(scope_Document);
|
|
1166
|
+
if (mouse || pointer) {
|
|
1167
|
+
x2 = e2.clientX + pageOffset.x;
|
|
1168
|
+
y = e2.clientY + pageOffset.y;
|
|
1169
|
+
}
|
|
1170
|
+
e2.pageOffset = pageOffset;
|
|
1171
|
+
e2.points = [x2, y];
|
|
1172
|
+
e2.cursor = mouse || pointer;
|
|
1173
|
+
return e2;
|
|
1174
|
+
}
|
|
1175
|
+
function calcPointToPercentage(calcPoint) {
|
|
1176
|
+
var location = calcPoint - offset(scope_Base, options.ort);
|
|
1177
|
+
var proposal = location * 100 / baseSize();
|
|
1178
|
+
proposal = limit(proposal);
|
|
1179
|
+
return options.dir ? 100 - proposal : proposal;
|
|
1180
|
+
}
|
|
1181
|
+
function getClosestHandle(clickedPosition) {
|
|
1182
|
+
var smallestDifference = 100;
|
|
1183
|
+
var handleNumber = false;
|
|
1184
|
+
scope_Handles.forEach(function(handle, index) {
|
|
1185
|
+
if (isHandleDisabled(index)) {
|
|
1186
|
+
return;
|
|
1187
|
+
}
|
|
1188
|
+
var handlePosition = scope_Locations[index];
|
|
1189
|
+
var differenceWithThisHandle = Math.abs(handlePosition - clickedPosition);
|
|
1190
|
+
var clickAtEdge = differenceWithThisHandle === 100 && smallestDifference === 100;
|
|
1191
|
+
var isCloser = differenceWithThisHandle < smallestDifference;
|
|
1192
|
+
var isCloserAfter = differenceWithThisHandle <= smallestDifference && clickedPosition > handlePosition;
|
|
1193
|
+
if (isCloser || isCloserAfter || clickAtEdge) {
|
|
1194
|
+
handleNumber = index;
|
|
1195
|
+
smallestDifference = differenceWithThisHandle;
|
|
1196
|
+
}
|
|
1197
|
+
});
|
|
1198
|
+
return handleNumber;
|
|
1199
|
+
}
|
|
1200
|
+
function documentLeave(event, data) {
|
|
1201
|
+
if (event.type === "mouseout" && event.target.nodeName === "HTML" && event.relatedTarget === null) {
|
|
1202
|
+
eventEnd(event, data);
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
function eventMove(event, data) {
|
|
1206
|
+
if (navigator.appVersion.indexOf("MSIE 9") === -1 && event.buttons === 0 && data.buttonsProperty !== 0) {
|
|
1207
|
+
return eventEnd(event, data);
|
|
1208
|
+
}
|
|
1209
|
+
var movement = (options.dir ? -1 : 1) * (event.calcPoint - data.startCalcPoint);
|
|
1210
|
+
var proposal = movement * 100 / data.baseSize;
|
|
1211
|
+
moveHandles(movement > 0, proposal, data.locations, data.handleNumbers, data.connect);
|
|
1212
|
+
}
|
|
1213
|
+
function eventEnd(event, data) {
|
|
1214
|
+
if (data.handle) {
|
|
1215
|
+
removeClass(data.handle, options.cssClasses.active);
|
|
1216
|
+
scope_ActiveHandlesCount -= 1;
|
|
1217
|
+
}
|
|
1218
|
+
data.listeners.forEach(function(c) {
|
|
1219
|
+
scope_DocumentElement.removeEventListener(c[0], c[1]);
|
|
1220
|
+
});
|
|
1221
|
+
if (scope_ActiveHandlesCount === 0) {
|
|
1222
|
+
removeClass(scope_Target, options.cssClasses.drag);
|
|
1223
|
+
setZindex();
|
|
1224
|
+
if (event.cursor) {
|
|
1225
|
+
scope_Body.style.cursor = "";
|
|
1226
|
+
scope_Body.removeEventListener("selectstart", preventDefault);
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
if (options.events.smoothSteps) {
|
|
1230
|
+
data.handleNumbers.forEach(function(handleNumber) {
|
|
1231
|
+
setHandle(handleNumber, scope_Locations[handleNumber], true, true, false, false);
|
|
1232
|
+
});
|
|
1233
|
+
data.handleNumbers.forEach(function(handleNumber) {
|
|
1234
|
+
fireEvent("update", handleNumber);
|
|
1235
|
+
});
|
|
1236
|
+
}
|
|
1237
|
+
data.handleNumbers.forEach(function(handleNumber) {
|
|
1238
|
+
fireEvent("change", handleNumber);
|
|
1239
|
+
fireEvent("set", handleNumber);
|
|
1240
|
+
fireEvent("end", handleNumber);
|
|
1241
|
+
});
|
|
1242
|
+
}
|
|
1243
|
+
function eventStart(event, data) {
|
|
1244
|
+
if (data.handleNumbers.some(isHandleDisabled)) {
|
|
1245
|
+
return;
|
|
1246
|
+
}
|
|
1247
|
+
var handle;
|
|
1248
|
+
if (data.handleNumbers.length === 1) {
|
|
1249
|
+
var handleOrigin = scope_Handles[data.handleNumbers[0]];
|
|
1250
|
+
handle = handleOrigin.children[0];
|
|
1251
|
+
scope_ActiveHandlesCount += 1;
|
|
1252
|
+
addClass(handle, options.cssClasses.active);
|
|
1253
|
+
}
|
|
1254
|
+
event.stopPropagation();
|
|
1255
|
+
var listeners = [];
|
|
1256
|
+
var moveEvent = attachEvent(actions.move, scope_DocumentElement, eventMove, {
|
|
1257
|
+
// The event target has changed so we need to propagate the original one so that we keep
|
|
1258
|
+
// relying on it to extract target touches.
|
|
1259
|
+
target: event.target,
|
|
1260
|
+
handle,
|
|
1261
|
+
connect: data.connect,
|
|
1262
|
+
listeners,
|
|
1263
|
+
startCalcPoint: event.calcPoint,
|
|
1264
|
+
baseSize: baseSize(),
|
|
1265
|
+
pageOffset: event.pageOffset,
|
|
1266
|
+
handleNumbers: data.handleNumbers,
|
|
1267
|
+
buttonsProperty: event.buttons,
|
|
1268
|
+
locations: scope_Locations.slice()
|
|
1269
|
+
});
|
|
1270
|
+
var endEvent = attachEvent(actions.end, scope_DocumentElement, eventEnd, {
|
|
1271
|
+
target: event.target,
|
|
1272
|
+
handle,
|
|
1273
|
+
listeners,
|
|
1274
|
+
doNotReject: true,
|
|
1275
|
+
handleNumbers: data.handleNumbers
|
|
1276
|
+
});
|
|
1277
|
+
var outEvent = attachEvent("mouseout", scope_DocumentElement, documentLeave, {
|
|
1278
|
+
target: event.target,
|
|
1279
|
+
handle,
|
|
1280
|
+
listeners,
|
|
1281
|
+
doNotReject: true,
|
|
1282
|
+
handleNumbers: data.handleNumbers
|
|
1283
|
+
});
|
|
1284
|
+
listeners.push.apply(listeners, moveEvent.concat(endEvent, outEvent));
|
|
1285
|
+
if (event.cursor) {
|
|
1286
|
+
scope_Body.style.cursor = getComputedStyle(event.target).cursor;
|
|
1287
|
+
if (scope_Handles.length > 1) {
|
|
1288
|
+
addClass(scope_Target, options.cssClasses.drag);
|
|
1289
|
+
}
|
|
1290
|
+
scope_Body.addEventListener("selectstart", preventDefault, false);
|
|
1291
|
+
}
|
|
1292
|
+
data.handleNumbers.forEach(function(handleNumber) {
|
|
1293
|
+
fireEvent("start", handleNumber);
|
|
1294
|
+
});
|
|
1295
|
+
}
|
|
1296
|
+
function eventTap(event) {
|
|
1297
|
+
event.stopPropagation();
|
|
1298
|
+
var proposal = calcPointToPercentage(event.calcPoint);
|
|
1299
|
+
var handleNumber = getClosestHandle(proposal);
|
|
1300
|
+
if (handleNumber === false) {
|
|
1301
|
+
return;
|
|
1302
|
+
}
|
|
1303
|
+
if (!options.events.snap) {
|
|
1304
|
+
addClassFor(scope_Target, options.cssClasses.tap, options.animationDuration);
|
|
1305
|
+
}
|
|
1306
|
+
setHandle(handleNumber, proposal, true, true);
|
|
1307
|
+
setZindex();
|
|
1308
|
+
fireEvent("slide", handleNumber, true);
|
|
1309
|
+
fireEvent("update", handleNumber, true);
|
|
1310
|
+
if (!options.events.snap) {
|
|
1311
|
+
fireEvent("change", handleNumber, true);
|
|
1312
|
+
fireEvent("set", handleNumber, true);
|
|
1313
|
+
} else {
|
|
1314
|
+
eventStart(event, { handleNumbers: [handleNumber] });
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
function eventHover(event) {
|
|
1318
|
+
var proposal = calcPointToPercentage(event.calcPoint);
|
|
1319
|
+
var to = scope_Spectrum.getStep(proposal);
|
|
1320
|
+
var value = scope_Spectrum.fromStepping(to);
|
|
1321
|
+
Object.keys(scope_Events).forEach(function(targetEvent) {
|
|
1322
|
+
if ("hover" === targetEvent.split(".")[0]) {
|
|
1323
|
+
scope_Events[targetEvent].forEach(function(callback) {
|
|
1324
|
+
callback.call(scope_Self, value);
|
|
1325
|
+
});
|
|
1326
|
+
}
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
function eventKeydown(event, handleNumber) {
|
|
1330
|
+
if (isSliderDisabled() || isHandleDisabled(handleNumber)) {
|
|
1331
|
+
return false;
|
|
1332
|
+
}
|
|
1333
|
+
var horizontalKeys = ["Left", "Right"];
|
|
1334
|
+
var verticalKeys = ["Down", "Up"];
|
|
1335
|
+
var largeStepKeys = ["PageDown", "PageUp"];
|
|
1336
|
+
var edgeKeys = ["Home", "End"];
|
|
1337
|
+
if (options.dir && !options.ort) {
|
|
1338
|
+
horizontalKeys.reverse();
|
|
1339
|
+
} else if (options.ort && !options.dir) {
|
|
1340
|
+
verticalKeys.reverse();
|
|
1341
|
+
largeStepKeys.reverse();
|
|
1342
|
+
}
|
|
1343
|
+
var key = event.key.replace("Arrow", "");
|
|
1344
|
+
var isLargeDown = key === largeStepKeys[0];
|
|
1345
|
+
var isLargeUp = key === largeStepKeys[1];
|
|
1346
|
+
var isDown = key === verticalKeys[0] || key === horizontalKeys[0] || isLargeDown;
|
|
1347
|
+
var isUp = key === verticalKeys[1] || key === horizontalKeys[1] || isLargeUp;
|
|
1348
|
+
var isMin = key === edgeKeys[0];
|
|
1349
|
+
var isMax = key === edgeKeys[1];
|
|
1350
|
+
if (!isDown && !isUp && !isMin && !isMax) {
|
|
1351
|
+
return true;
|
|
1352
|
+
}
|
|
1353
|
+
event.preventDefault();
|
|
1354
|
+
var to;
|
|
1355
|
+
if (isUp || isDown) {
|
|
1356
|
+
var direction = isDown ? 0 : 1;
|
|
1357
|
+
var steps = getNextStepsForHandle(handleNumber);
|
|
1358
|
+
var step = steps[direction];
|
|
1359
|
+
if (step === null) {
|
|
1360
|
+
return false;
|
|
1361
|
+
}
|
|
1362
|
+
if (step === false) {
|
|
1363
|
+
step = scope_Spectrum.getDefaultStep(scope_Locations[handleNumber], isDown, options.keyboardDefaultStep);
|
|
1364
|
+
}
|
|
1365
|
+
if (isLargeUp || isLargeDown) {
|
|
1366
|
+
step *= options.keyboardPageMultiplier;
|
|
1367
|
+
} else {
|
|
1368
|
+
step *= options.keyboardMultiplier;
|
|
1369
|
+
}
|
|
1370
|
+
step = Math.max(step, 1e-7);
|
|
1371
|
+
step = (isDown ? -1 : 1) * step;
|
|
1372
|
+
to = scope_Values[handleNumber] + step;
|
|
1373
|
+
} else if (isMax) {
|
|
1374
|
+
to = options.spectrum.xVal[options.spectrum.xVal.length - 1];
|
|
1375
|
+
} else {
|
|
1376
|
+
to = options.spectrum.xVal[0];
|
|
1377
|
+
}
|
|
1378
|
+
setHandle(handleNumber, scope_Spectrum.toStepping(to), true, true);
|
|
1379
|
+
fireEvent("slide", handleNumber);
|
|
1380
|
+
fireEvent("update", handleNumber);
|
|
1381
|
+
fireEvent("change", handleNumber);
|
|
1382
|
+
fireEvent("set", handleNumber);
|
|
1383
|
+
return false;
|
|
1384
|
+
}
|
|
1385
|
+
function bindSliderEvents(behaviour) {
|
|
1386
|
+
if (!behaviour.fixed) {
|
|
1387
|
+
scope_Handles.forEach(function(handle, index) {
|
|
1388
|
+
attachEvent(actions.start, handle.children[0], eventStart, {
|
|
1389
|
+
handleNumbers: [index]
|
|
1390
|
+
});
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1393
|
+
if (behaviour.tap) {
|
|
1394
|
+
attachEvent(actions.start, scope_Base, eventTap, {});
|
|
1395
|
+
}
|
|
1396
|
+
if (behaviour.hover) {
|
|
1397
|
+
attachEvent(actions.move, scope_Base, eventHover, {
|
|
1398
|
+
hover: true
|
|
1399
|
+
});
|
|
1400
|
+
}
|
|
1401
|
+
if (behaviour.drag) {
|
|
1402
|
+
scope_Connects.forEach(function(connect, index) {
|
|
1403
|
+
if (connect === false || index === 0 || index === scope_Connects.length - 1) {
|
|
1404
|
+
return;
|
|
1405
|
+
}
|
|
1406
|
+
var handleBefore = scope_Handles[index - 1];
|
|
1407
|
+
var handleAfter = scope_Handles[index];
|
|
1408
|
+
var eventHolders = [connect];
|
|
1409
|
+
var handlesToDrag = [handleBefore, handleAfter];
|
|
1410
|
+
var handleNumbersToDrag = [index - 1, index];
|
|
1411
|
+
addClass(connect, options.cssClasses.draggable);
|
|
1412
|
+
if (behaviour.fixed) {
|
|
1413
|
+
eventHolders.push(handleBefore.children[0]);
|
|
1414
|
+
eventHolders.push(handleAfter.children[0]);
|
|
1415
|
+
}
|
|
1416
|
+
if (behaviour.dragAll) {
|
|
1417
|
+
handlesToDrag = scope_Handles;
|
|
1418
|
+
handleNumbersToDrag = scope_HandleNumbers;
|
|
1419
|
+
}
|
|
1420
|
+
eventHolders.forEach(function(eventHolder) {
|
|
1421
|
+
attachEvent(actions.start, eventHolder, eventStart, {
|
|
1422
|
+
handles: handlesToDrag,
|
|
1423
|
+
handleNumbers: handleNumbersToDrag,
|
|
1424
|
+
connect
|
|
1425
|
+
});
|
|
1426
|
+
});
|
|
1427
|
+
});
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
function bindEvent(namespacedEvent, callback) {
|
|
1431
|
+
scope_Events[namespacedEvent] = scope_Events[namespacedEvent] || [];
|
|
1432
|
+
scope_Events[namespacedEvent].push(callback);
|
|
1433
|
+
if (namespacedEvent.split(".")[0] === "update") {
|
|
1434
|
+
scope_Handles.forEach(function(a, index) {
|
|
1435
|
+
fireEvent("update", index);
|
|
1436
|
+
});
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
function isInternalNamespace(namespace) {
|
|
1440
|
+
return namespace === INTERNAL_EVENT_NS.aria || namespace === INTERNAL_EVENT_NS.tooltips;
|
|
1441
|
+
}
|
|
1442
|
+
function removeEvent(namespacedEvent) {
|
|
1443
|
+
var event = namespacedEvent && namespacedEvent.split(".")[0];
|
|
1444
|
+
var namespace = event ? namespacedEvent.substring(event.length) : namespacedEvent;
|
|
1445
|
+
Object.keys(scope_Events).forEach(function(bind) {
|
|
1446
|
+
var tEvent = bind.split(".")[0];
|
|
1447
|
+
var tNamespace = bind.substring(tEvent.length);
|
|
1448
|
+
if ((!event || event === tEvent) && (!namespace || namespace === tNamespace)) {
|
|
1449
|
+
if (!isInternalNamespace(tNamespace) || namespace === tNamespace) {
|
|
1450
|
+
delete scope_Events[bind];
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
function fireEvent(eventName, handleNumber, tap) {
|
|
1456
|
+
Object.keys(scope_Events).forEach(function(targetEvent) {
|
|
1457
|
+
var eventType = targetEvent.split(".")[0];
|
|
1458
|
+
if (eventName === eventType) {
|
|
1459
|
+
scope_Events[targetEvent].forEach(function(callback) {
|
|
1460
|
+
callback.call(
|
|
1461
|
+
// Use the slider public API as the scope ('this')
|
|
1462
|
+
scope_Self,
|
|
1463
|
+
// Return values as array, so arg_1[arg_2] is always valid.
|
|
1464
|
+
scope_Values.map(options.format.to),
|
|
1465
|
+
// Handle index, 0 or 1
|
|
1466
|
+
handleNumber,
|
|
1467
|
+
// Un-formatted slider values
|
|
1468
|
+
scope_Values.slice(),
|
|
1469
|
+
// Event is fired by tap, true or false
|
|
1470
|
+
tap || false,
|
|
1471
|
+
// Left offset of the handle, in relation to the slider
|
|
1472
|
+
scope_Locations.slice(),
|
|
1473
|
+
// add the slider public API to an accessible parameter when this is unavailable
|
|
1474
|
+
scope_Self
|
|
1475
|
+
);
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
function checkHandlePosition(reference, handleNumber, to, lookBackward, lookForward, getValue, smoothSteps) {
|
|
1481
|
+
var distance;
|
|
1482
|
+
if (scope_Handles.length > 1 && !options.events.unconstrained) {
|
|
1483
|
+
if (lookBackward && handleNumber > 0) {
|
|
1484
|
+
distance = scope_Spectrum.getAbsoluteDistance(reference[handleNumber - 1], options.margin, false);
|
|
1485
|
+
to = Math.max(to, distance);
|
|
1486
|
+
}
|
|
1487
|
+
if (lookForward && handleNumber < scope_Handles.length - 1) {
|
|
1488
|
+
distance = scope_Spectrum.getAbsoluteDistance(reference[handleNumber + 1], options.margin, true);
|
|
1489
|
+
to = Math.min(to, distance);
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
if (scope_Handles.length > 1 && options.limit) {
|
|
1493
|
+
if (lookBackward && handleNumber > 0) {
|
|
1494
|
+
distance = scope_Spectrum.getAbsoluteDistance(reference[handleNumber - 1], options.limit, false);
|
|
1495
|
+
to = Math.min(to, distance);
|
|
1496
|
+
}
|
|
1497
|
+
if (lookForward && handleNumber < scope_Handles.length - 1) {
|
|
1498
|
+
distance = scope_Spectrum.getAbsoluteDistance(reference[handleNumber + 1], options.limit, true);
|
|
1499
|
+
to = Math.max(to, distance);
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
if (options.padding) {
|
|
1503
|
+
if (handleNumber === 0) {
|
|
1504
|
+
distance = scope_Spectrum.getAbsoluteDistance(0, options.padding[0], false);
|
|
1505
|
+
to = Math.max(to, distance);
|
|
1506
|
+
}
|
|
1507
|
+
if (handleNumber === scope_Handles.length - 1) {
|
|
1508
|
+
distance = scope_Spectrum.getAbsoluteDistance(100, options.padding[1], true);
|
|
1509
|
+
to = Math.min(to, distance);
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
if (!smoothSteps) {
|
|
1513
|
+
to = scope_Spectrum.getStep(to);
|
|
1514
|
+
}
|
|
1515
|
+
to = limit(to);
|
|
1516
|
+
if (to === reference[handleNumber] && !getValue) {
|
|
1517
|
+
return false;
|
|
1518
|
+
}
|
|
1519
|
+
return to;
|
|
1520
|
+
}
|
|
1521
|
+
function inRuleOrder(v, a) {
|
|
1522
|
+
var o = options.ort;
|
|
1523
|
+
return (o ? a : v) + ", " + (o ? v : a);
|
|
1524
|
+
}
|
|
1525
|
+
function moveHandles(upward, proposal, locations, handleNumbers, connect) {
|
|
1526
|
+
var proposals = locations.slice();
|
|
1527
|
+
var firstHandle = handleNumbers[0];
|
|
1528
|
+
var smoothSteps = options.events.smoothSteps;
|
|
1529
|
+
var b = [!upward, upward];
|
|
1530
|
+
var f = [upward, !upward];
|
|
1531
|
+
handleNumbers = handleNumbers.slice();
|
|
1532
|
+
if (upward) {
|
|
1533
|
+
handleNumbers.reverse();
|
|
1534
|
+
}
|
|
1535
|
+
if (handleNumbers.length > 1) {
|
|
1536
|
+
handleNumbers.forEach(function(handleNumber, o) {
|
|
1537
|
+
var to = checkHandlePosition(proposals, handleNumber, proposals[handleNumber] + proposal, b[o], f[o], false, smoothSteps);
|
|
1538
|
+
if (to === false) {
|
|
1539
|
+
proposal = 0;
|
|
1540
|
+
} else {
|
|
1541
|
+
proposal = to - proposals[handleNumber];
|
|
1542
|
+
proposals[handleNumber] = to;
|
|
1543
|
+
}
|
|
1544
|
+
});
|
|
1545
|
+
} else {
|
|
1546
|
+
b = f = [true];
|
|
1547
|
+
}
|
|
1548
|
+
var state = false;
|
|
1549
|
+
handleNumbers.forEach(function(handleNumber, o) {
|
|
1550
|
+
state = setHandle(handleNumber, locations[handleNumber] + proposal, b[o], f[o], false, smoothSteps) || state;
|
|
1551
|
+
});
|
|
1552
|
+
if (state) {
|
|
1553
|
+
handleNumbers.forEach(function(handleNumber) {
|
|
1554
|
+
fireEvent("update", handleNumber);
|
|
1555
|
+
fireEvent("slide", handleNumber);
|
|
1556
|
+
});
|
|
1557
|
+
if (connect != void 0) {
|
|
1558
|
+
fireEvent("drag", firstHandle);
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
function transformDirection(a, b) {
|
|
1563
|
+
return options.dir ? 100 - a - b : a;
|
|
1564
|
+
}
|
|
1565
|
+
function updateHandlePosition(handleNumber, to) {
|
|
1566
|
+
scope_Locations[handleNumber] = to;
|
|
1567
|
+
scope_Values[handleNumber] = scope_Spectrum.fromStepping(to);
|
|
1568
|
+
var translation = transformDirection(to, 0) - scope_DirOffset;
|
|
1569
|
+
var translateRule = "translate(" + inRuleOrder(translation + "%", "0") + ")";
|
|
1570
|
+
scope_Handles[handleNumber].style[options.transformRule] = translateRule;
|
|
1571
|
+
updateConnect(handleNumber);
|
|
1572
|
+
updateConnect(handleNumber + 1);
|
|
1573
|
+
}
|
|
1574
|
+
function setZindex() {
|
|
1575
|
+
scope_HandleNumbers.forEach(function(handleNumber) {
|
|
1576
|
+
var dir = scope_Locations[handleNumber] > 50 ? -1 : 1;
|
|
1577
|
+
var zIndex = 3 + (scope_Handles.length + dir * handleNumber);
|
|
1578
|
+
scope_Handles[handleNumber].style.zIndex = String(zIndex);
|
|
1579
|
+
});
|
|
1580
|
+
}
|
|
1581
|
+
function setHandle(handleNumber, to, lookBackward, lookForward, exactInput, smoothSteps) {
|
|
1582
|
+
if (!exactInput) {
|
|
1583
|
+
to = checkHandlePosition(scope_Locations, handleNumber, to, lookBackward, lookForward, false, smoothSteps);
|
|
1584
|
+
}
|
|
1585
|
+
if (to === false) {
|
|
1586
|
+
return false;
|
|
1587
|
+
}
|
|
1588
|
+
updateHandlePosition(handleNumber, to);
|
|
1589
|
+
return true;
|
|
1590
|
+
}
|
|
1591
|
+
function updateConnect(index) {
|
|
1592
|
+
if (!scope_Connects[index]) {
|
|
1593
|
+
return;
|
|
1594
|
+
}
|
|
1595
|
+
var l = 0;
|
|
1596
|
+
var h = 100;
|
|
1597
|
+
if (index !== 0) {
|
|
1598
|
+
l = scope_Locations[index - 1];
|
|
1599
|
+
}
|
|
1600
|
+
if (index !== scope_Connects.length - 1) {
|
|
1601
|
+
h = scope_Locations[index];
|
|
1602
|
+
}
|
|
1603
|
+
var connectWidth = h - l;
|
|
1604
|
+
var translateRule = "translate(" + inRuleOrder(transformDirection(l, connectWidth) + "%", "0") + ")";
|
|
1605
|
+
var scaleRule = "scale(" + inRuleOrder(connectWidth / 100, "1") + ")";
|
|
1606
|
+
scope_Connects[index].style[options.transformRule] = translateRule + " " + scaleRule;
|
|
1607
|
+
}
|
|
1608
|
+
function resolveToValue(to, handleNumber) {
|
|
1609
|
+
if (to === null || to === false || to === void 0) {
|
|
1610
|
+
return scope_Locations[handleNumber];
|
|
1611
|
+
}
|
|
1612
|
+
if (typeof to === "number") {
|
|
1613
|
+
to = String(to);
|
|
1614
|
+
}
|
|
1615
|
+
to = options.format.from(to);
|
|
1616
|
+
if (to !== false) {
|
|
1617
|
+
to = scope_Spectrum.toStepping(to);
|
|
1618
|
+
}
|
|
1619
|
+
if (to === false || isNaN(to)) {
|
|
1620
|
+
return scope_Locations[handleNumber];
|
|
1621
|
+
}
|
|
1622
|
+
return to;
|
|
1623
|
+
}
|
|
1624
|
+
function valueSet(input, fireSetEvent, exactInput) {
|
|
1625
|
+
var values = asArray(input);
|
|
1626
|
+
var isInit = scope_Locations[0] === void 0;
|
|
1627
|
+
fireSetEvent = fireSetEvent === void 0 ? true : fireSetEvent;
|
|
1628
|
+
if (options.animate && !isInit) {
|
|
1629
|
+
addClassFor(scope_Target, options.cssClasses.tap, options.animationDuration);
|
|
1630
|
+
}
|
|
1631
|
+
scope_HandleNumbers.forEach(function(handleNumber) {
|
|
1632
|
+
setHandle(handleNumber, resolveToValue(values[handleNumber], handleNumber), true, false, exactInput);
|
|
1633
|
+
});
|
|
1634
|
+
var i = scope_HandleNumbers.length === 1 ? 0 : 1;
|
|
1635
|
+
if (isInit && scope_Spectrum.hasNoSize()) {
|
|
1636
|
+
exactInput = true;
|
|
1637
|
+
scope_Locations[0] = 0;
|
|
1638
|
+
if (scope_HandleNumbers.length > 1) {
|
|
1639
|
+
var space_1 = 100 / (scope_HandleNumbers.length - 1);
|
|
1640
|
+
scope_HandleNumbers.forEach(function(handleNumber) {
|
|
1641
|
+
scope_Locations[handleNumber] = handleNumber * space_1;
|
|
1642
|
+
});
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
for (; i < scope_HandleNumbers.length; ++i) {
|
|
1646
|
+
scope_HandleNumbers.forEach(function(handleNumber) {
|
|
1647
|
+
setHandle(handleNumber, scope_Locations[handleNumber], true, true, exactInput);
|
|
1648
|
+
});
|
|
1649
|
+
}
|
|
1650
|
+
setZindex();
|
|
1651
|
+
scope_HandleNumbers.forEach(function(handleNumber) {
|
|
1652
|
+
fireEvent("update", handleNumber);
|
|
1653
|
+
if (values[handleNumber] !== null && fireSetEvent) {
|
|
1654
|
+
fireEvent("set", handleNumber);
|
|
1655
|
+
}
|
|
1656
|
+
});
|
|
1657
|
+
}
|
|
1658
|
+
function valueReset(fireSetEvent) {
|
|
1659
|
+
valueSet(options.start, fireSetEvent);
|
|
1660
|
+
}
|
|
1661
|
+
function valueSetHandle(handleNumber, value, fireSetEvent, exactInput) {
|
|
1662
|
+
handleNumber = Number(handleNumber);
|
|
1663
|
+
if (!(handleNumber >= 0 && handleNumber < scope_HandleNumbers.length)) {
|
|
1664
|
+
throw new Error("noUiSlider: invalid handle number, got: " + handleNumber);
|
|
1665
|
+
}
|
|
1666
|
+
setHandle(handleNumber, resolveToValue(value, handleNumber), true, true, exactInput);
|
|
1667
|
+
fireEvent("update", handleNumber);
|
|
1668
|
+
if (fireSetEvent) {
|
|
1669
|
+
fireEvent("set", handleNumber);
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
function valueGet(unencoded) {
|
|
1673
|
+
if (unencoded === void 0) {
|
|
1674
|
+
unencoded = false;
|
|
1675
|
+
}
|
|
1676
|
+
if (unencoded) {
|
|
1677
|
+
return scope_Values.length === 1 ? scope_Values[0] : scope_Values.slice(0);
|
|
1678
|
+
}
|
|
1679
|
+
var values = scope_Values.map(options.format.to);
|
|
1680
|
+
if (values.length === 1) {
|
|
1681
|
+
return values[0];
|
|
1682
|
+
}
|
|
1683
|
+
return values;
|
|
1684
|
+
}
|
|
1685
|
+
function destroy() {
|
|
1686
|
+
removeEvent(INTERNAL_EVENT_NS.aria);
|
|
1687
|
+
removeEvent(INTERNAL_EVENT_NS.tooltips);
|
|
1688
|
+
Object.keys(options.cssClasses).forEach(function(key) {
|
|
1689
|
+
removeClass(scope_Target, options.cssClasses[key]);
|
|
1690
|
+
});
|
|
1691
|
+
while (scope_Target.firstChild) {
|
|
1692
|
+
scope_Target.removeChild(scope_Target.firstChild);
|
|
1693
|
+
}
|
|
1694
|
+
delete scope_Target.noUiSlider;
|
|
1695
|
+
}
|
|
1696
|
+
function getNextStepsForHandle(handleNumber) {
|
|
1697
|
+
var location = scope_Locations[handleNumber];
|
|
1698
|
+
var nearbySteps = scope_Spectrum.getNearbySteps(location);
|
|
1699
|
+
var value = scope_Values[handleNumber];
|
|
1700
|
+
var increment = nearbySteps.thisStep.step;
|
|
1701
|
+
var decrement = null;
|
|
1702
|
+
if (options.snap) {
|
|
1703
|
+
return [
|
|
1704
|
+
value - nearbySteps.stepBefore.startValue || null,
|
|
1705
|
+
nearbySteps.stepAfter.startValue - value || null
|
|
1706
|
+
];
|
|
1707
|
+
}
|
|
1708
|
+
if (increment !== false) {
|
|
1709
|
+
if (value + increment > nearbySteps.stepAfter.startValue) {
|
|
1710
|
+
increment = nearbySteps.stepAfter.startValue - value;
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
if (value > nearbySteps.thisStep.startValue) {
|
|
1714
|
+
decrement = nearbySteps.thisStep.step;
|
|
1715
|
+
} else if (nearbySteps.stepBefore.step === false) {
|
|
1716
|
+
decrement = false;
|
|
1717
|
+
} else {
|
|
1718
|
+
decrement = value - nearbySteps.stepBefore.highestStep;
|
|
1719
|
+
}
|
|
1720
|
+
if (location === 100) {
|
|
1721
|
+
increment = null;
|
|
1722
|
+
} else if (location === 0) {
|
|
1723
|
+
decrement = null;
|
|
1724
|
+
}
|
|
1725
|
+
var stepDecimals = scope_Spectrum.countStepDecimals();
|
|
1726
|
+
if (increment !== null && increment !== false) {
|
|
1727
|
+
increment = Number(increment.toFixed(stepDecimals));
|
|
1728
|
+
}
|
|
1729
|
+
if (decrement !== null && decrement !== false) {
|
|
1730
|
+
decrement = Number(decrement.toFixed(stepDecimals));
|
|
1731
|
+
}
|
|
1732
|
+
return [decrement, increment];
|
|
1733
|
+
}
|
|
1734
|
+
function getNextSteps() {
|
|
1735
|
+
return scope_HandleNumbers.map(getNextStepsForHandle);
|
|
1736
|
+
}
|
|
1737
|
+
function updateOptions(optionsToUpdate, fireSetEvent) {
|
|
1738
|
+
var v = valueGet();
|
|
1739
|
+
var updateAble = [
|
|
1740
|
+
"margin",
|
|
1741
|
+
"limit",
|
|
1742
|
+
"padding",
|
|
1743
|
+
"range",
|
|
1744
|
+
"animate",
|
|
1745
|
+
"snap",
|
|
1746
|
+
"step",
|
|
1747
|
+
"format",
|
|
1748
|
+
"pips",
|
|
1749
|
+
"tooltips"
|
|
1750
|
+
];
|
|
1751
|
+
updateAble.forEach(function(name) {
|
|
1752
|
+
if (optionsToUpdate[name] !== void 0) {
|
|
1753
|
+
originalOptions[name] = optionsToUpdate[name];
|
|
1754
|
+
}
|
|
1755
|
+
});
|
|
1756
|
+
var newOptions = testOptions(originalOptions);
|
|
1757
|
+
updateAble.forEach(function(name) {
|
|
1758
|
+
if (optionsToUpdate[name] !== void 0) {
|
|
1759
|
+
options[name] = newOptions[name];
|
|
1760
|
+
}
|
|
1761
|
+
});
|
|
1762
|
+
scope_Spectrum = newOptions.spectrum;
|
|
1763
|
+
options.margin = newOptions.margin;
|
|
1764
|
+
options.limit = newOptions.limit;
|
|
1765
|
+
options.padding = newOptions.padding;
|
|
1766
|
+
if (options.pips) {
|
|
1767
|
+
pips(options.pips);
|
|
1768
|
+
} else {
|
|
1769
|
+
removePips();
|
|
1770
|
+
}
|
|
1771
|
+
if (options.tooltips) {
|
|
1772
|
+
tooltips();
|
|
1773
|
+
} else {
|
|
1774
|
+
removeTooltips();
|
|
1775
|
+
}
|
|
1776
|
+
scope_Locations = [];
|
|
1777
|
+
valueSet(isSet(optionsToUpdate.start) ? optionsToUpdate.start : v, fireSetEvent);
|
|
1778
|
+
}
|
|
1779
|
+
function setupSlider() {
|
|
1780
|
+
scope_Base = addSlider(scope_Target);
|
|
1781
|
+
addElements(options.connect, scope_Base);
|
|
1782
|
+
bindSliderEvents(options.events);
|
|
1783
|
+
valueSet(options.start);
|
|
1784
|
+
if (options.pips) {
|
|
1785
|
+
pips(options.pips);
|
|
1786
|
+
}
|
|
1787
|
+
if (options.tooltips) {
|
|
1788
|
+
tooltips();
|
|
1789
|
+
}
|
|
1790
|
+
aria();
|
|
1791
|
+
}
|
|
1792
|
+
setupSlider();
|
|
1793
|
+
var scope_Self = {
|
|
1794
|
+
destroy,
|
|
1795
|
+
steps: getNextSteps,
|
|
1796
|
+
on: bindEvent,
|
|
1797
|
+
off: removeEvent,
|
|
1798
|
+
get: valueGet,
|
|
1799
|
+
set: valueSet,
|
|
1800
|
+
setHandle: valueSetHandle,
|
|
1801
|
+
reset: valueReset,
|
|
1802
|
+
disable,
|
|
1803
|
+
enable,
|
|
1804
|
+
// Exposed for unit testing, don't use this in your application.
|
|
1805
|
+
__moveHandles: function(upward, proposal, handleNumbers) {
|
|
1806
|
+
moveHandles(upward, proposal, scope_Locations, handleNumbers);
|
|
1807
|
+
},
|
|
1808
|
+
options: originalOptions,
|
|
1809
|
+
updateOptions,
|
|
1810
|
+
target: scope_Target,
|
|
1811
|
+
removePips,
|
|
1812
|
+
removeTooltips,
|
|
1813
|
+
getPositions: function() {
|
|
1814
|
+
return scope_Locations.slice();
|
|
1815
|
+
},
|
|
1816
|
+
getTooltips: function() {
|
|
1817
|
+
return scope_Tooltips;
|
|
1818
|
+
},
|
|
1819
|
+
getOrigins: function() {
|
|
1820
|
+
return scope_Handles;
|
|
1821
|
+
},
|
|
1822
|
+
pips
|
|
1823
|
+
// Issue #594
|
|
1824
|
+
};
|
|
1825
|
+
return scope_Self;
|
|
1826
|
+
}
|
|
1827
|
+
function initialize(target, originalOptions) {
|
|
1828
|
+
if (!target || !target.nodeName) {
|
|
1829
|
+
throw new Error("noUiSlider: create requires a single element, got: " + target);
|
|
1830
|
+
}
|
|
1831
|
+
if (target.noUiSlider) {
|
|
1832
|
+
throw new Error("noUiSlider: Slider was already initialized.");
|
|
1833
|
+
}
|
|
1834
|
+
var options = testOptions(originalOptions);
|
|
1835
|
+
var api = scope(target, options, originalOptions);
|
|
1836
|
+
target.noUiSlider = api;
|
|
1837
|
+
return api;
|
|
1838
|
+
}
|
|
1839
|
+
var nouislider_default = {
|
|
1840
|
+
// Exposed for unit testing, don't use this in your application.
|
|
1841
|
+
__spectrum: Spectrum,
|
|
1842
|
+
// A reference to the default classes, allows global changes.
|
|
1843
|
+
// Use the cssClasses option for changes to one slider.
|
|
1844
|
+
cssClasses,
|
|
1845
|
+
create: initialize
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1848
|
+
// src/components/date-range-slider/date-range-slider.component.ts
|
|
1849
|
+
var TerraDateRangeSlider = class extends TerraElement {
|
|
1850
|
+
constructor() {
|
|
1851
|
+
super(...arguments);
|
|
1852
|
+
this.timeScale = "daily";
|
|
1853
|
+
this.disabled = false;
|
|
1854
|
+
this.hasPips = true;
|
|
1855
|
+
}
|
|
1856
|
+
updateSlider() {
|
|
1857
|
+
this.renderSlider();
|
|
1858
|
+
}
|
|
1859
|
+
disabledChanged() {
|
|
1860
|
+
var _a, _b, _c, _d;
|
|
1861
|
+
this.disabled ? (_b = (_a = this.slider) == null ? void 0 : _a.noUiSlider) == null ? void 0 : _b.disable() : (_d = (_c = this.slider) == null ? void 0 : _c.noUiSlider) == null ? void 0 : _d.enable();
|
|
1862
|
+
}
|
|
1863
|
+
firstUpdated() {
|
|
1864
|
+
this.renderSlider();
|
|
1865
|
+
}
|
|
1866
|
+
renderSlider() {
|
|
1867
|
+
var _a;
|
|
1868
|
+
if (!this.slider) {
|
|
1869
|
+
return;
|
|
1870
|
+
}
|
|
1871
|
+
(_a = this.slider.noUiSlider) == null ? void 0 : _a.destroy();
|
|
1872
|
+
if (!isValidDate(this.minDate) || !isValidDate(this.maxDate)) {
|
|
1873
|
+
this.renderEmptySlider();
|
|
1874
|
+
this.minDate && !isValidDate(this.minDate) && console.error("Invalid min date provided");
|
|
1875
|
+
this.maxDate && !isValidDate(this.maxDate) && console.error("Invalid max date provided");
|
|
1876
|
+
return;
|
|
1877
|
+
}
|
|
1878
|
+
const minDate = new Date(this.minDate);
|
|
1879
|
+
const maxDate = new Date(this.maxDate);
|
|
1880
|
+
const startDate = new Date(
|
|
1881
|
+
isValidDate(this.startDate) ? this.startDate : this.minDate
|
|
1882
|
+
);
|
|
1883
|
+
const endDate = new Date(
|
|
1884
|
+
isValidDate(this.endDate) ? this.endDate : this.maxDate
|
|
1885
|
+
);
|
|
1886
|
+
minDate.setUTCHours(0, 0, 0, 0);
|
|
1887
|
+
startDate.setUTCHours(0, 0, 0, 0);
|
|
1888
|
+
maxDate.setUTCHours(23, 59, 59, 999);
|
|
1889
|
+
endDate.setUTCHours(23, 59, 59, 999);
|
|
1890
|
+
const sliderOptions = {
|
|
1891
|
+
range: {
|
|
1892
|
+
// convert to milliseconds to define a range
|
|
1893
|
+
min: minDate.getTime(),
|
|
1894
|
+
max: maxDate.getTime()
|
|
1895
|
+
},
|
|
1896
|
+
step: this._getStep(),
|
|
1897
|
+
start: [startDate.getTime(), endDate.getTime()],
|
|
1898
|
+
// defaults to either the given start/end dates or the full date range (min/max date)
|
|
1899
|
+
tooltips: [true, true],
|
|
1900
|
+
// for each handle, choose whether to show a tooltip
|
|
1901
|
+
connect: true,
|
|
1902
|
+
// whether to connect the handles with a colorized bar
|
|
1903
|
+
pips: {
|
|
1904
|
+
mode: PipsMode.Range,
|
|
1905
|
+
density: -1,
|
|
1906
|
+
format: this._getSliderFormatter()
|
|
1907
|
+
},
|
|
1908
|
+
format: this._getSliderFormatter()
|
|
1909
|
+
};
|
|
1910
|
+
nouislider_default.create(this.slider, sliderOptions);
|
|
1911
|
+
mergeTooltips(this.slider);
|
|
1912
|
+
this.slider.noUiSlider.on("change", (values) => {
|
|
1913
|
+
this.emit("terra-date-range-change", {
|
|
1914
|
+
detail: {
|
|
1915
|
+
startDate: this._formatDate(values[0]),
|
|
1916
|
+
endDate: this._formatDate(values[1])
|
|
1917
|
+
}
|
|
1918
|
+
});
|
|
1919
|
+
});
|
|
1920
|
+
}
|
|
1921
|
+
renderEmptySlider() {
|
|
1922
|
+
nouislider_default.create(this.slider, {
|
|
1923
|
+
start: [0, 0],
|
|
1924
|
+
range: {
|
|
1925
|
+
min: 0,
|
|
1926
|
+
max: 0
|
|
1927
|
+
}
|
|
1928
|
+
});
|
|
1929
|
+
}
|
|
1930
|
+
_getStep() {
|
|
1931
|
+
const oneMinuteMillis = 60 * 1e3;
|
|
1932
|
+
const oneHourMillis = 60 * oneMinuteMillis;
|
|
1933
|
+
const oneDayMillis = 24 * oneHourMillis;
|
|
1934
|
+
switch (this.timeScale) {
|
|
1935
|
+
case "half-hourly":
|
|
1936
|
+
return 30 * oneMinuteMillis;
|
|
1937
|
+
case "hourly":
|
|
1938
|
+
return oneHourMillis;
|
|
1939
|
+
default:
|
|
1940
|
+
return oneDayMillis;
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
_getSliderFormatter() {
|
|
1944
|
+
return {
|
|
1945
|
+
to: (value) => {
|
|
1946
|
+
return this._formatDate(value);
|
|
1947
|
+
},
|
|
1948
|
+
from: (value) => {
|
|
1949
|
+
return Number(value);
|
|
1950
|
+
}
|
|
1951
|
+
};
|
|
1952
|
+
}
|
|
1953
|
+
_formatDate(date) {
|
|
1954
|
+
const dateFormat = this.timeScale === "daily" ? "yyyy-MM-dd" : "yyyy-MM-dd HH:mm";
|
|
1955
|
+
return format(new Date(date).toUTCString(), dateFormat);
|
|
1956
|
+
}
|
|
1957
|
+
render() {
|
|
1958
|
+
const containerClass = "container" + this.hasPips ? " hasPips" : "";
|
|
1959
|
+
return x`
|
|
1960
|
+
<div class="${containerClass}">
|
|
1961
|
+
<div part="slider"></div>
|
|
1962
|
+
</div>
|
|
1963
|
+
`;
|
|
1964
|
+
}
|
|
1965
|
+
};
|
|
1966
|
+
TerraDateRangeSlider.styles = [component_styles_default, date_range_slider_styles_default];
|
|
1967
|
+
__decorateClass([
|
|
1968
|
+
e('[part~="slider"]')
|
|
1969
|
+
], TerraDateRangeSlider.prototype, "slider", 2);
|
|
1970
|
+
__decorateClass([
|
|
1971
|
+
n({ attribute: "time-scale" })
|
|
1972
|
+
], TerraDateRangeSlider.prototype, "timeScale", 2);
|
|
1973
|
+
__decorateClass([
|
|
1974
|
+
n({ attribute: "min-date" })
|
|
1975
|
+
], TerraDateRangeSlider.prototype, "minDate", 2);
|
|
1976
|
+
__decorateClass([
|
|
1977
|
+
n({ attribute: "max-date" })
|
|
1978
|
+
], TerraDateRangeSlider.prototype, "maxDate", 2);
|
|
1979
|
+
__decorateClass([
|
|
1980
|
+
n({ attribute: "start-date" })
|
|
1981
|
+
], TerraDateRangeSlider.prototype, "startDate", 2);
|
|
1982
|
+
__decorateClass([
|
|
1983
|
+
n({ attribute: "end-date" })
|
|
1984
|
+
], TerraDateRangeSlider.prototype, "endDate", 2);
|
|
1985
|
+
__decorateClass([
|
|
1986
|
+
n({ type: Boolean, reflect: true })
|
|
1987
|
+
], TerraDateRangeSlider.prototype, "disabled", 2);
|
|
1988
|
+
__decorateClass([
|
|
1989
|
+
n({ type: Boolean, reflect: true, attribute: "has-pips" })
|
|
1990
|
+
], TerraDateRangeSlider.prototype, "hasPips", 2);
|
|
1991
|
+
__decorateClass([
|
|
1992
|
+
watch(["startDate", "endDate", "minDate", "maxDate"])
|
|
1993
|
+
], TerraDateRangeSlider.prototype, "updateSlider", 1);
|
|
1994
|
+
__decorateClass([
|
|
1995
|
+
watch("disabled")
|
|
1996
|
+
], TerraDateRangeSlider.prototype, "disabledChanged", 1);
|
|
1997
|
+
|
|
1998
|
+
export {
|
|
1999
|
+
TerraDateRangeSlider
|
|
2000
|
+
};
|