@scalar/api-reference 0.5.1 → 0.5.2
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/package.json +9 -10
- package/src/components/ApiClientModal.vue +0 -205
- package/src/components/ApiReference.vue +0 -750
- package/src/components/Card/Card.vue +0 -12
- package/src/components/Card/CardContent.vue +0 -45
- package/src/components/Card/CardFooter.vue +0 -13
- package/src/components/Card/CardHeader.vue +0 -37
- package/src/components/Card/CardTab.vue +0 -32
- package/src/components/Card/CardTabHeader.vue +0 -32
- package/src/components/Card/index.ts +0 -6
- package/src/components/Content/Content.vue +0 -145
- package/src/components/Content/Introduction/BaseUrl.vue +0 -49
- package/src/components/Content/Introduction/Introduction.vue +0 -141
- package/src/components/Content/Introduction/LanguageSelector.vue +0 -361
- package/src/components/Content/Introduction/index.ts +0 -1
- package/src/components/Content/MarkdownRenderer.vue +0 -177
- package/src/components/Content/ReferenceEndpoint/Copy.vue +0 -101
- package/src/components/Content/ReferenceEndpoint/ExampleRequest.vue +0 -331
- package/src/components/Content/ReferenceEndpoint/ExampleResponseTab.vue +0 -22
- package/src/components/Content/ReferenceEndpoint/ExampleResponses/ExampleResponses.vue +0 -168
- package/src/components/Content/ReferenceEndpoint/ExampleResponses/Headers.vue +0 -83
- package/src/components/Content/ReferenceEndpoint/ExampleResponses/SelectExample.vue +0 -129
- package/src/components/Content/ReferenceEndpoint/ExampleResponses/index.ts +0 -1
- package/src/components/Content/ReferenceEndpoint/ParameterItem.vue +0 -26
- package/src/components/Content/ReferenceEndpoint/Parameters.vue +0 -23
- package/src/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue +0 -29
- package/src/components/Content/ReferenceEndpoint/RequestBody.vue +0 -125
- package/src/components/Content/ReferenceEndpoint/RequestBodyProperties.vue +0 -54
- package/src/components/Content/ReferenceEndpoint/RequestBodyPropertiesChild.vue +0 -39
- package/src/components/Content/ReferenceEndpoint/index.ts +0 -1
- package/src/components/Content/ReferenceTag.vue +0 -99
- package/src/components/Content/Spinner.vue +0 -51
- package/src/components/Content/index.ts +0 -1
- package/src/components/FindAnythingButton.vue +0 -76
- package/src/components/FlowButton.vue +0 -184
- package/src/components/FlowIconButton.vue +0 -25
- package/src/components/FlowLoader.vue +0 -207
- package/src/components/FlowModal.vue +0 -133
- package/src/components/HelpfulLink.vue +0 -19
- package/src/components/Icon/FlowIcon.vue +0 -19
- package/src/components/Icon/Icon.vue +0 -23
- package/src/components/Icon/SvgRenderer.ts +0 -66
- package/src/components/Icon/brand/brand-adobe.svg +0 -1
- package/src/components/Icon/brand/brand-amazon.svg +0 -1
- package/src/components/Icon/brand/brand-browser-firefox.svg +0 -5
- package/src/components/Icon/brand/brand-browser-googlechrome.svg +0 -5
- package/src/components/Icon/brand/brand-creative-commons.svg +0 -1
- package/src/components/Icon/brand/brand-ecommerce-etsy.svg +0 -1
- package/src/components/Icon/brand/brand-ecommerce-patreon.svg +0 -1
- package/src/components/Icon/brand/brand-ecommerce-shopify.svg +0 -5
- package/src/components/Icon/brand/brand-ecommerce-wordpress.svg +0 -1
- package/src/components/Icon/brand/brand-gaming-nintendo-switch.svg +0 -5
- package/src/components/Icon/brand/brand-gaming-playstation.svg +0 -1
- package/src/components/Icon/brand/brand-gaming-xbox-live.svg +0 -5
- package/src/components/Icon/brand/brand-google-drive.svg +0 -5
- package/src/components/Icon/brand/brand-google-gmail.svg +0 -5
- package/src/components/Icon/brand/brand-google.svg +0 -1
- package/src/components/Icon/brand/brand-music-itunes.svg +0 -1
- package/src/components/Icon/brand/brand-music-soundcloud.svg +0 -1
- package/src/components/Icon/brand/brand-music-spotify.svg +0 -1
- package/src/components/Icon/brand/brand-office-dropbox.svg +0 -5
- package/src/components/Icon/brand/brand-office-slack.svg +0 -5
- package/src/components/Icon/brand/brand-office-zoom.svg +0 -1
- package/src/components/Icon/brand/brand-payments-alipay.svg +0 -1
- package/src/components/Icon/brand/brand-payments-paypal.svg +0 -1
- package/src/components/Icon/brand/brand-payments-stripe.svg +0 -1
- package/src/components/Icon/brand/brand-platform-android.svg +0 -1
- package/src/components/Icon/brand/brand-platform-apple.svg +0 -5
- package/src/components/Icon/brand/brand-platform-linux.svg +0 -5
- package/src/components/Icon/brand/brand-platform-microsoft-windows.svg +0 -4
- package/src/components/Icon/brand/brand-social-chat-discord.svg +0 -5
- package/src/components/Icon/brand/brand-social-chat-kuaishou.svg +0 -5
- package/src/components/Icon/brand/brand-social-chat-line.svg +0 -5
- package/src/components/Icon/brand/brand-social-chat-messenger.svg +0 -5
- package/src/components/Icon/brand/brand-social-chat-signal.svg +0 -5
- package/src/components/Icon/brand/brand-social-chat-snapchat.svg +0 -5
- package/src/components/Icon/brand/brand-social-chat-telegram.svg +0 -5
- package/src/components/Icon/brand/brand-social-chat-wechat.svg +0 -5
- package/src/components/Icon/brand/brand-social-chat-whatsapp.svg +0 -5
- package/src/components/Icon/brand/brand-social-media-deviantart.svg +0 -5
- package/src/components/Icon/brand/brand-social-media-dribbble.svg +0 -1
- package/src/components/Icon/brand/brand-social-media-facebook.svg +0 -1
- package/src/components/Icon/brand/brand-social-media-instagram.svg +0 -5
- package/src/components/Icon/brand/brand-social-media-linkedin.svg +0 -5
- package/src/components/Icon/brand/brand-social-media-pinterest.svg +0 -5
- package/src/components/Icon/brand/brand-social-media-reddit.svg +0 -1
- package/src/components/Icon/brand/brand-social-media-sina-weibo.svg +0 -5
- package/src/components/Icon/brand/brand-social-media-threads.svg +0 -1
- package/src/components/Icon/brand/brand-social-media-tiktok.svg +0 -5
- package/src/components/Icon/brand/brand-social-media-tinder.svg +0 -1
- package/src/components/Icon/brand/brand-social-media-tumblr.svg +0 -5
- package/src/components/Icon/brand/brand-social-media-twitter.svg +0 -5
- package/src/components/Icon/brand/brand-software-design-figma.svg +0 -1
- package/src/components/Icon/brand/brand-software-development-authy.svg +0 -1
- package/src/components/Icon/brand/brand-software-development-digital-ocean.svg +0 -1
- package/src/components/Icon/brand/brand-software-development-docker.svg +0 -5
- package/src/components/Icon/brand/brand-software-development-github.svg +0 -5
- package/src/components/Icon/brand/brand-software-development-jira.svg +0 -1
- package/src/components/Icon/brand/brand-software-development-openai.svg +0 -1
- package/src/components/Icon/brand/brand-software-development-stackexchange.svg +0 -5
- package/src/components/Icon/brand/brand-software-development-stackoverflow.svg +0 -1
- package/src/components/Icon/brand/brand-video-netflix.svg +0 -5
- package/src/components/Icon/brand/brand-video-twitch.svg +0 -1
- package/src/components/Icon/brand/brand-video-vimeo.svg +0 -5
- package/src/components/Icon/brand/brand-video-youtube.svg +0 -5
- package/src/components/Icon/brand/programming-framework-angular.svg +0 -5
- package/src/components/Icon/brand/programming-framework-astro.svg +0 -5
- package/src/components/Icon/brand/programming-framework-laravel.svg +0 -1
- package/src/components/Icon/brand/programming-framework-nextdotjs.svg +0 -5
- package/src/components/Icon/brand/programming-framework-react.svg +0 -5
- package/src/components/Icon/brand/programming-framework-vuedotjs.svg +0 -1
- package/src/components/Icon/brand/programming-language-c.svg +0 -5
- package/src/components/Icon/brand/programming-language-clojure.svg +0 -5
- package/src/components/Icon/brand/programming-language-csharp.svg +0 -4
- package/src/components/Icon/brand/programming-language-css3.svg +0 -4
- package/src/components/Icon/brand/programming-language-go.svg +0 -4
- package/src/components/Icon/brand/programming-language-html5.svg +0 -4
- package/src/components/Icon/brand/programming-language-java.svg +0 -21
- package/src/components/Icon/brand/programming-language-javascript-js.svg +0 -4
- package/src/components/Icon/brand/programming-language-json.svg +0 -8
- package/src/components/Icon/brand/programming-language-kotlin.svg +0 -3
- package/src/components/Icon/brand/programming-language-node.svg +0 -10
- package/src/components/Icon/brand/programming-language-objc.svg +0 -6
- package/src/components/Icon/brand/programming-language-ocaml.svg +0 -4
- package/src/components/Icon/brand/programming-language-php.svg +0 -4
- package/src/components/Icon/brand/programming-language-powershell.svg +0 -10
- package/src/components/Icon/brand/programming-language-python.svg +0 -4
- package/src/components/Icon/brand/programming-language-r.svg +0 -7
- package/src/components/Icon/brand/programming-language-ruby.svg +0 -5
- package/src/components/Icon/brand/programming-language-scala.svg +0 -5
- package/src/components/Icon/brand/programming-language-shell.svg +0 -5
- package/src/components/Icon/brand/programming-language-swift.svg +0 -4
- package/src/components/Icon/brand/programming-language-typescript.svg +0 -5
- package/src/components/Icon/brand/programming-tool-git.svg +0 -1
- package/src/components/Icon/brand/programming-tool-tailwindcss.svg +0 -5
- package/src/components/Icon/icons/Add.svg +0 -4
- package/src/components/Icon/icons/ArrowDown.svg +0 -3
- package/src/components/Icon/icons/ArrowLeft.svg +0 -3
- package/src/components/Icon/icons/ArrowRight.svg +0 -3
- package/src/components/Icon/icons/ArrowUp.svg +0 -3
- package/src/components/Icon/icons/Background.svg +0 -8
- package/src/components/Icon/icons/CallToAction.svg +0 -5
- package/src/components/Icon/icons/CheckMark.svg +0 -3
- package/src/components/Icon/icons/ChevronDown.svg +0 -3
- package/src/components/Icon/icons/ChevronLeft.svg +0 -3
- package/src/components/Icon/icons/ChevronRight.svg +0 -3
- package/src/components/Icon/icons/ChevronUp.svg +0 -3
- package/src/components/Icon/icons/Close.svg +0 -3
- package/src/components/Icon/icons/DarkMode.svg +0 -4
- package/src/components/Icon/icons/Delete.svg +0 -5
- package/src/components/Icon/icons/Discord.svg +0 -5
- package/src/components/Icon/icons/Duplicate.svg +0 -6
- package/src/components/Icon/icons/Edit.svg +0 -4
- package/src/components/Icon/icons/EditorBold.svg +0 -4
- package/src/components/Icon/icons/EditorCode.svg +0 -6
- package/src/components/Icon/icons/EditorHighlight.svg +0 -12
- package/src/components/Icon/icons/EditorItalic.svg +0 -4
- package/src/components/Icon/icons/EditorLink.svg +0 -8
- package/src/components/Icon/icons/EditorStrike.svg +0 -4
- package/src/components/Icon/icons/EditorUnderline.svg +0 -6
- package/src/components/Icon/icons/Ellipses.svg +0 -4
- package/src/components/Icon/icons/Error.svg +0 -4
- package/src/components/Icon/icons/ExternalLink.svg +0 -7
- package/src/components/Icon/icons/Folder.svg +0 -4
- package/src/components/Icon/icons/GitHub.svg +0 -4
- package/src/components/Icon/icons/Google.svg +0 -4
- package/src/components/Icon/icons/Hide.svg +0 -5
- package/src/components/Icon/icons/Key.svg +0 -5
- package/src/components/Icon/icons/Leave.svg +0 -5
- package/src/components/Icon/icons/LightMode.svg +0 -6
- package/src/components/Icon/icons/Link.svg +0 -5
- package/src/components/Icon/icons/Lock.svg +0 -4
- package/src/components/Icon/icons/Logo.svg +0 -4
- package/src/components/Icon/icons/LogoAPI.svg +0 -4
- package/src/components/Icon/icons/LogoClient.svg +0 -4
- package/src/components/Icon/icons/LogoMarket.svg +0 -4
- package/src/components/Icon/icons/LogoSwagger.svg +0 -4
- package/src/components/Icon/icons/Magic.svg +0 -5
- package/src/components/Icon/icons/Menu.svg +0 -3
- package/src/components/Icon/icons/Page.svg +0 -8
- package/src/components/Icon/icons/Payment.svg +0 -5
- package/src/components/Icon/icons/Refresh.svg +0 -4
- package/src/components/Icon/icons/Search.svg +0 -4
- package/src/components/Icon/icons/Show.svg +0 -5
- package/src/components/Icon/icons/Sigma.svg +0 -4
- package/src/components/Icon/icons/Trash.svg +0 -5
- package/src/components/Icon/icons/index.ts +0 -65
- package/src/components/Icon/index.ts +0 -2
- package/src/components/Icon/line/arrow-chevron-down.svg +0 -1
- package/src/components/Icon/line/arrow-chevron-left.svg +0 -1
- package/src/components/Icon/line/arrow-chevron-right.svg +0 -1
- package/src/components/Icon/line/arrow-chevron-up.svg +0 -1
- package/src/components/Icon/line/arrow-down.svg +0 -1
- package/src/components/Icon/line/arrow-left.svg +0 -1
- package/src/components/Icon/line/arrow-right.svg +0 -1
- package/src/components/Icon/line/arrow-up.svg +0 -1
- package/src/components/Icon/line/basic-shape-diamond.svg +0 -1
- package/src/components/Icon/line/basic-shape-hexagon.svg +0 -1
- package/src/components/Icon/line/basic-shape-primary-circle-ellipse-round.svg +0 -1
- package/src/components/Icon/line/basic-shape-primary-square-rectangle.svg +0 -1
- package/src/components/Icon/line/basic-shape-shield.svg +0 -1
- package/src/components/Icon/line/computer-device-desktop-monitor.svg +0 -1
- package/src/components/Icon/line/computer-device-desktop.svg +0 -1
- package/src/components/Icon/line/computer-device-laptop.svg +0 -1
- package/src/components/Icon/line/computer-device-mobile-phone-android-samsung-back.svg +0 -1
- package/src/components/Icon/line/computer-device-mobile-phone-android-samsung.svg +0 -1
- package/src/components/Icon/line/computer-device-mobile-phone-iphone-x-back.svg +0 -1
- package/src/components/Icon/line/computer-device-mobile-phone-iphone-x.svg +0 -1
- package/src/components/Icon/line/computer-device-mobile-tablet-touch.svg +0 -1
- package/src/components/Icon/line/computer-device-mobile-tablet.svg +0 -1
- package/src/components/Icon/line/computer-device-network-ethernet-cat6.svg +0 -1
- package/src/components/Icon/line/computer-device-network-lan-www.svg +0 -1
- package/src/components/Icon/line/computer-device-network-wifi-connection.svg +0 -1
- package/src/components/Icon/line/computer-device-network-wifi-router.svg +0 -1
- package/src/components/Icon/line/computer-keyboard-alt.svg +0 -1
- package/src/components/Icon/line/computer-keyboard-command-cmd-control-ctrl.svg +0 -1
- package/src/components/Icon/line/computer-keyboard-option.svg +0 -1
- package/src/components/Icon/line/computer-keyboard-shift.svg +0 -1
- package/src/components/Icon/line/ecology-science-erlenmeyer-flask.svg +0 -1
- package/src/components/Icon/line/entertainment-control-button-circle-left-arrow-rewind.svg +0 -1
- package/src/components/Icon/line/entertainment-control-button-circle-pause.svg +0 -1
- package/src/components/Icon/line/entertainment-control-button-circle-right-arrow-fast-forward.svg +0 -1
- package/src/components/Icon/line/entertainment-control-button-circle-stop-square.svg +0 -1
- package/src/components/Icon/line/entertainment-control-button-play-circle.svg +0 -1
- package/src/components/Icon/line/entertainment-party-popper-confetti.svg +0 -1
- package/src/components/Icon/line/image-flash-lightning.svg +0 -1
- package/src/components/Icon/line/image-photo-frame.svg +0 -1
- package/src/components/Icon/line/image-picture-flower.svg +0 -1
- package/src/components/Icon/line/interface-add.svg +0 -1
- package/src/components/Icon/line/interface-alert-error-exclamation-block-square.svg +0 -1
- package/src/components/Icon/line/interface-alert-error-x-block-square.svg +0 -1
- package/src/components/Icon/line/interface-alert-exclamation-diamond.svg +0 -1
- package/src/components/Icon/line/interface-alert-exclamation-triangle-warning.svg +0 -1
- package/src/components/Icon/line/interface-alert-information-circle.svg +0 -1
- package/src/components/Icon/line/interface-award-crown.svg +0 -1
- package/src/components/Icon/line/interface-bookmark-tag.svg +0 -1
- package/src/components/Icon/line/interface-bookmark.svg +0 -1
- package/src/components/Icon/line/interface-calendar-date-one.svg +0 -1
- package/src/components/Icon/line/interface-close.svg +0 -1
- package/src/components/Icon/line/interface-content-book-open-pages.svg +0 -1
- package/src/components/Icon/line/interface-content-book-page.svg +0 -1
- package/src/components/Icon/line/interface-content-file.svg +0 -8
- package/src/components/Icon/line/interface-content-folder.svg +0 -1
- package/src/components/Icon/line/interface-copy-clipboard.svg +0 -1
- package/src/components/Icon/line/interface-delete-bin-trash.svg +0 -1
- package/src/components/Icon/line/interface-dots-horizontal.svg +0 -1
- package/src/components/Icon/line/interface-dots-vertical.svg +0 -1
- package/src/components/Icon/line/interface-edit-attachment.svg +0 -1
- package/src/components/Icon/line/interface-edit-binocular.svg +0 -1
- package/src/components/Icon/line/interface-edit-magic-wand.svg +0 -1
- package/src/components/Icon/line/interface-edit-tool-eraser.svg +0 -1
- package/src/components/Icon/line/interface-edit-tool-paint-brush.svg +0 -1
- package/src/components/Icon/line/interface-edit-tool-paint-roller.svg +0 -1
- package/src/components/Icon/line/interface-edit-tool-pen.svg +0 -1
- package/src/components/Icon/line/interface-edit-tool-pencil.svg +0 -1
- package/src/components/Icon/line/interface-edit-view-eye.svg +0 -1
- package/src/components/Icon/line/interface-favorite-award.svg +0 -1
- package/src/components/Icon/line/interface-favorite-flag.svg +0 -1
- package/src/components/Icon/line/interface-favorite-heart.svg +0 -1
- package/src/components/Icon/line/interface-favorite-star.svg +0 -1
- package/src/components/Icon/line/interface-favorite-stars-shining.svg +0 -1
- package/src/components/Icon/line/interface-favorite-stars-sparkles.svg +0 -1
- package/src/components/Icon/line/interface-hierarchy-flowchart.svg +0 -1
- package/src/components/Icon/line/interface-home-house.svg +0 -1
- package/src/components/Icon/line/interface-hyperlink.svg +0 -1
- package/src/components/Icon/line/interface-lighting-brightness.svg +0 -1
- package/src/components/Icon/line/interface-lock-closed.svg +0 -1
- package/src/components/Icon/line/interface-lock-open-unlock.svg +0 -1
- package/src/components/Icon/line/interface-login-key.svg +0 -1
- package/src/components/Icon/line/interface-search.svg +0 -1
- package/src/components/Icon/line/interface-setting-cog.svg +0 -1
- package/src/components/Icon/line/interface-share-megaphone-bullhorn.svg +0 -1
- package/src/components/Icon/line/interface-share-rocket.svg +0 -1
- package/src/components/Icon/line/interface-share-satellite.svg +0 -1
- package/src/components/Icon/line/interface-share-space-ship.svg +0 -1
- package/src/components/Icon/line/interface-share.svg +0 -1
- package/src/components/Icon/line/interface-signal-square.svg +0 -1
- package/src/components/Icon/line/interface-text-formatting-left-open-quote.svg +0 -1
- package/src/components/Icon/line/interface-text-formatting-right-close-quote.svg +0 -1
- package/src/components/Icon/line/interface-time-clock-circle.svg +0 -1
- package/src/components/Icon/line/interface-time-hour-glass.svg +0 -1
- package/src/components/Icon/line/interface-users-multiple.svg +0 -1
- package/src/components/Icon/line/interface-validation-checkbox-square.svg +0 -1
- package/src/components/Icon/line/interface-weather-moon.svg +0 -1
- package/src/components/Icon/line/legal-justice-hammer-gavel.svg +0 -1
- package/src/components/Icon/line/mail-chat-bubble-square.svg +0 -1
- package/src/components/Icon/line/mail-send-email-paper-airplane.svg +0 -1
- package/src/components/Icon/line/mail-send-envelope.svg +0 -1
- package/src/components/Icon/line/mail-sign-hashtag.svg +0 -1
- package/src/components/Icon/line/money-cashier-receipt.svg +0 -1
- package/src/components/Icon/line/money-currency-dollar-pay.svg +0 -1
- package/src/components/Icon/line/money-graph-arrow-increase.svg +0 -1
- package/src/components/Icon/line/money-graph-bar-chart-increase.svg +0 -1
- package/src/components/Icon/line/nature-ecology-leaf.svg +0 -1
- package/src/components/Icon/line/phone-telephone.svg +0 -1
- package/src/components/Icon/line/programming-bug.svg +0 -1
- package/src/components/Icon/line/programming-cloud.svg +0 -1
- package/src/components/Icon/line/programming-computer-database-server.svg +0 -1
- package/src/components/Icon/line/programming-computer-database.svg +0 -1
- package/src/components/Icon/line/programming-module-four-layout.svg +0 -1
- package/src/components/Icon/line/programming-module-three.svg +0 -1
- package/src/components/Icon/line/programming-module.svg +0 -1
- package/src/components/Icon/line/programming-script-code.svg +0 -1
- package/src/components/Icon/line/shopping-cart.svg +0 -8
- package/src/components/Icon/line/shopping-gift-present.svg +0 -1
- package/src/components/Icon/line/shopping-shipping-box-parcel-package.svg +0 -1
- package/src/components/Icon/line/tag-new-circle.svg +0 -1
- package/src/components/Icon/line/travel-map-earth-globe.svg +0 -1
- package/src/components/Icon/localIcons.ts +0 -68
- package/src/components/Icon/solid/arrow-chevron-down.svg +0 -1
- package/src/components/Icon/solid/arrow-chevron-left.svg +0 -1
- package/src/components/Icon/solid/arrow-chevron-right.svg +0 -1
- package/src/components/Icon/solid/arrow-chevron-up.svg +0 -1
- package/src/components/Icon/solid/arrow-down.svg +0 -1
- package/src/components/Icon/solid/arrow-left.svg +0 -1
- package/src/components/Icon/solid/arrow-right.svg +0 -1
- package/src/components/Icon/solid/arrow-up.svg +0 -1
- package/src/components/Icon/solid/basic-shape-diamond.svg +0 -1
- package/src/components/Icon/solid/basic-shape-hexagon.svg +0 -1
- package/src/components/Icon/solid/basic-shape-primary-circle-ellipse-round.svg +0 -1
- package/src/components/Icon/solid/basic-shape-primary-square-rectangle.svg +0 -1
- package/src/components/Icon/solid/basic-shape-shield.svg +0 -1
- package/src/components/Icon/solid/computer-device-desktop-monitor.svg +0 -1
- package/src/components/Icon/solid/computer-device-desktop.svg +0 -1
- package/src/components/Icon/solid/computer-device-laptop.svg +0 -1
- package/src/components/Icon/solid/computer-device-mobile-phone-android-samsung-back.svg +0 -1
- package/src/components/Icon/solid/computer-device-mobile-phone-android-samsung.svg +0 -1
- package/src/components/Icon/solid/computer-device-mobile-phone-iphone-x-back.svg +0 -1
- package/src/components/Icon/solid/computer-device-mobile-phone-iphone-x.svg +0 -1
- package/src/components/Icon/solid/computer-device-mobile-tablet-touch.svg +0 -1
- package/src/components/Icon/solid/computer-device-mobile-tablet.svg +0 -1
- package/src/components/Icon/solid/computer-device-network-ethernet-cat6.svg +0 -1
- package/src/components/Icon/solid/computer-device-network-lan-www.svg +0 -1
- package/src/components/Icon/solid/computer-device-network-wifi-connection.svg +0 -5
- package/src/components/Icon/solid/computer-device-network-wifi-router.svg +0 -1
- package/src/components/Icon/solid/computer-keyboard-alt.svg +0 -1
- package/src/components/Icon/solid/computer-keyboard-command-cmd-control-ctrl.svg +0 -1
- package/src/components/Icon/solid/computer-keyboard-option.svg +0 -1
- package/src/components/Icon/solid/computer-keyboard-shift.svg +0 -1
- package/src/components/Icon/solid/ecology-science-erlenmeyer-flask.svg +0 -1
- package/src/components/Icon/solid/entertainment-control-button-circle-left-arrow-rewind.svg +0 -1
- package/src/components/Icon/solid/entertainment-control-button-circle-pause.svg +0 -1
- package/src/components/Icon/solid/entertainment-control-button-circle-play.svg +0 -5
- package/src/components/Icon/solid/entertainment-control-button-circle-right-arrow-fast-forward.svg +0 -1
- package/src/components/Icon/solid/entertainment-control-button-circle-stop-square.svg +0 -1
- package/src/components/Icon/solid/entertainment-party-popper-confetti.svg +0 -1
- package/src/components/Icon/solid/image-flash-lightning.svg +0 -5
- package/src/components/Icon/solid/image-photo-frame.svg +0 -11
- package/src/components/Icon/solid/image-picture-flower.svg +0 -5
- package/src/components/Icon/solid/interface-add-square.svg +0 -5
- package/src/components/Icon/solid/interface-alert-error-exclamation-block-square.svg +0 -1
- package/src/components/Icon/solid/interface-alert-error-x-block-square.svg +0 -1
- package/src/components/Icon/solid/interface-alert-exclamation-diamond.svg +0 -1
- package/src/components/Icon/solid/interface-alert-exclamation-triangle-warning.svg +0 -1
- package/src/components/Icon/solid/interface-alert-information-circle.svg +0 -5
- package/src/components/Icon/solid/interface-award-crown.svg +0 -5
- package/src/components/Icon/solid/interface-bookmark-tag.svg +0 -1
- package/src/components/Icon/solid/interface-bookmark.svg +0 -5
- package/src/components/Icon/solid/interface-calendar-date-one.svg +0 -5
- package/src/components/Icon/solid/interface-close.svg +0 -8
- package/src/components/Icon/solid/interface-content-book-open-pages.svg +0 -13
- package/src/components/Icon/solid/interface-content-book-page.svg +0 -5
- package/src/components/Icon/solid/interface-content-file.svg +0 -5
- package/src/components/Icon/solid/interface-content-folder.svg +0 -1
- package/src/components/Icon/solid/interface-copy-clipboard.svg +0 -5
- package/src/components/Icon/solid/interface-delete-bin-trash.svg +0 -1
- package/src/components/Icon/solid/interface-dots-horizontal.svg +0 -1
- package/src/components/Icon/solid/interface-dots-vertical.svg +0 -1
- package/src/components/Icon/solid/interface-edit-attachment.svg +0 -5
- package/src/components/Icon/solid/interface-edit-binocular.svg +0 -5
- package/src/components/Icon/solid/interface-edit-magic-wand.svg +0 -7
- package/src/components/Icon/solid/interface-edit-tool-eraser.svg +0 -1
- package/src/components/Icon/solid/interface-edit-tool-paint-brush.svg +0 -1
- package/src/components/Icon/solid/interface-edit-tool-paint-roller.svg +0 -5
- package/src/components/Icon/solid/interface-edit-tool-pen.svg +0 -5
- package/src/components/Icon/solid/interface-edit-tool-pencil.svg +0 -1
- package/src/components/Icon/solid/interface-edit-view-eye.svg +0 -7
- package/src/components/Icon/solid/interface-favorite-award.svg +0 -5
- package/src/components/Icon/solid/interface-favorite-flag.svg +0 -1
- package/src/components/Icon/solid/interface-favorite-heart.svg +0 -5
- package/src/components/Icon/solid/interface-favorite-star.svg +0 -5
- package/src/components/Icon/solid/interface-favorite-stars-shining.svg +0 -1
- package/src/components/Icon/solid/interface-favorite-stars-sparkles.svg +0 -1
- package/src/components/Icon/solid/interface-hierarchy-flowchart.svg +0 -5
- package/src/components/Icon/solid/interface-home-house.svg +0 -5
- package/src/components/Icon/solid/interface-hyperlink.svg +0 -5
- package/src/components/Icon/solid/interface-lighting-brightness.svg +0 -22
- package/src/components/Icon/solid/interface-lock-closed.svg +0 -5
- package/src/components/Icon/solid/interface-lock-open-unlock.svg +0 -1
- package/src/components/Icon/solid/interface-login-key.svg +0 -5
- package/src/components/Icon/solid/interface-search.svg +0 -5
- package/src/components/Icon/solid/interface-setting-cog.svg +0 -5
- package/src/components/Icon/solid/interface-share-megaphone-bullhorn.svg +0 -5
- package/src/components/Icon/solid/interface-share-rocket.svg +0 -1
- package/src/components/Icon/solid/interface-share-satellite.svg +0 -8
- package/src/components/Icon/solid/interface-share-space-ship.svg +0 -1
- package/src/components/Icon/solid/interface-share.svg +0 -5
- package/src/components/Icon/solid/interface-signal-square.svg +0 -5
- package/src/components/Icon/solid/interface-text-formatting-left-open-quote.svg +0 -1
- package/src/components/Icon/solid/interface-text-formatting-right-close-quote.svg +0 -1
- package/src/components/Icon/solid/interface-time-clock-circle.svg +0 -5
- package/src/components/Icon/solid/interface-time-hour-glass.svg +0 -1
- package/src/components/Icon/solid/interface-users-multiple.svg +0 -11
- package/src/components/Icon/solid/interface-validation-checkbox-square.svg +0 -5
- package/src/components/Icon/solid/interface-weather-moon.svg +0 -5
- package/src/components/Icon/solid/legal-justice-hammer-gavel.svg +0 -1
- package/src/components/Icon/solid/mail-chat-bubble-square.svg +0 -5
- package/src/components/Icon/solid/mail-send-email-paper-airplane.svg +0 -5
- package/src/components/Icon/solid/mail-send-envelope.svg +0 -1
- package/src/components/Icon/solid/mail-sign-hashtag.svg +0 -5
- package/src/components/Icon/solid/money-cashier-receipt.svg +0 -1
- package/src/components/Icon/solid/money-currency-dollar-pay.svg +0 -5
- package/src/components/Icon/solid/money-graph-arrow-increase.svg +0 -5
- package/src/components/Icon/solid/money-graph-bar-chart-increase.svg +0 -1
- package/src/components/Icon/solid/nature-ecology-leaf.svg +0 -5
- package/src/components/Icon/solid/phone-telephone.svg +0 -5
- package/src/components/Icon/solid/programming-bug.svg +0 -5
- package/src/components/Icon/solid/programming-cloud.svg +0 -4
- package/src/components/Icon/solid/programming-computer-database-server.svg +0 -5
- package/src/components/Icon/solid/programming-computer-database.svg +0 -5
- package/src/components/Icon/solid/programming-module-four-layout.svg +0 -1
- package/src/components/Icon/solid/programming-module-three.svg +0 -1
- package/src/components/Icon/solid/programming-module.svg +0 -1
- package/src/components/Icon/solid/programming-script-code.svg +0 -5
- package/src/components/Icon/solid/shopping-cart.svg +0 -1
- package/src/components/Icon/solid/shopping-gift-present.svg +0 -16
- package/src/components/Icon/solid/shopping-shipping-box-parcel-package.svg +0 -11
- package/src/components/Icon/solid/tag-new-circle.svg +0 -7
- package/src/components/Icon/solid/travel-map-earth-globe.svg +0 -5
- package/src/components/SearchModal.vue +0 -305
- package/src/components/Sidebar.vue +0 -293
- package/src/components/SidebarElement.vue +0 -133
- package/src/components/SidebarGroup.vue +0 -12
- package/src/components/SimpleTable/SimpleCell.vue +0 -47
- package/src/components/SimpleTable/SimpleHeader.vue +0 -17
- package/src/components/SimpleTable/SimpleRow.vue +0 -5
- package/src/components/SimpleTable/SimpleTable.vue +0 -13
- package/src/components/SimpleTable/index.ts +0 -4
- package/src/declarations/typographic-base.d.ts +0 -1
- package/src/helpers/generateAxiosCodeFromRequest.ts +0 -42
- package/src/helpers/generateLaravelCodeFromRequest.ts +0 -20
- package/src/helpers/index.ts +0 -5
- package/src/helpers/mapFromObject.ts +0 -11
- package/src/helpers/objectMerge.ts +0 -19
- package/src/helpers/specHelpers.ts +0 -62
- package/src/helpers/transformToJson.test.ts +0 -7
- package/src/helpers/transformToJson.ts +0 -22
- package/src/hooks/useRefOnMount.ts +0 -12
- package/src/index.ts +0 -9
- package/src/standalone.ts +0 -27
- package/src/stores/template.ts +0 -66
- package/src/stores/utility.ts +0 -23
- package/src/types.ts +0 -153
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
defineProps<{
|
|
3
|
-
label: string
|
|
4
|
-
error?: boolean
|
|
5
|
-
loaderState?: LoadingState
|
|
6
|
-
variant?: ButtonVariant
|
|
7
|
-
title?: string
|
|
8
|
-
icon?: boolean
|
|
9
|
-
}>()
|
|
10
|
-
</script>
|
|
11
|
-
<script lang="ts">
|
|
12
|
-
import FlowLoader, {
|
|
13
|
-
type LoadingState,
|
|
14
|
-
useLoaderState as useLoadButtonState,
|
|
15
|
-
} from './FlowLoader.vue'
|
|
16
|
-
|
|
17
|
-
export type ButtonVariant = 'solid' | 'outlined' | 'clear' | 'text'
|
|
18
|
-
export { useLoadButtonState }
|
|
19
|
-
</script>
|
|
20
|
-
<template>
|
|
21
|
-
<button
|
|
22
|
-
class="flow-button"
|
|
23
|
-
:class="{
|
|
24
|
-
'flow-button-outlined': !error && variant === 'outlined',
|
|
25
|
-
'flow-button-clear': !error && variant === 'clear',
|
|
26
|
-
'flow-button-text': !error && variant === 'text',
|
|
27
|
-
'flow-button--delete': error,
|
|
28
|
-
'flow-button-icon-only': icon,
|
|
29
|
-
}"
|
|
30
|
-
:title="title || label"
|
|
31
|
-
type="button">
|
|
32
|
-
<div
|
|
33
|
-
v-if="$slots.default"
|
|
34
|
-
class="flow-button-decorator">
|
|
35
|
-
<slot />
|
|
36
|
-
</div>
|
|
37
|
-
<span :class="{ 'sr-only': icon }">{{ label }}</span>
|
|
38
|
-
<div class="flow-button-loader">
|
|
39
|
-
<FlowLoader
|
|
40
|
-
v-if="loaderState"
|
|
41
|
-
:loaderState="loaderState" />
|
|
42
|
-
</div>
|
|
43
|
-
</button>
|
|
44
|
-
</template>
|
|
45
|
-
<style scoped>
|
|
46
|
-
.flow-button {
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
z-index: 1;
|
|
51
|
-
position: relative;
|
|
52
|
-
appearance: none;
|
|
53
|
-
-webkit-appearance: none;
|
|
54
|
-
height: 40px;
|
|
55
|
-
padding: 0px 24px;
|
|
56
|
-
border-radius: var(--theme-radius-lg);
|
|
57
|
-
color: var(--theme-button-1-color);
|
|
58
|
-
font-size: var(--theme-small);
|
|
59
|
-
font-weight: 500;
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
background: var(--theme-button-1);
|
|
62
|
-
border: none;
|
|
63
|
-
width: 100%;
|
|
64
|
-
box-shadow: rgba(0, 0, 0, 0.09) 0px 1px 4px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.flow-button:hover,
|
|
68
|
-
.flow-button:focus-visible {
|
|
69
|
-
background: var(--theme-button-1-hover);
|
|
70
|
-
}
|
|
71
|
-
.flow-button:active {
|
|
72
|
-
box-shadow: none;
|
|
73
|
-
background: var(--theme-button-1);
|
|
74
|
-
}
|
|
75
|
-
.flow-button[disabled] {
|
|
76
|
-
background: var(--theme-background-2);
|
|
77
|
-
color: var(--theme-color-3);
|
|
78
|
-
cursor: unset;
|
|
79
|
-
box-shadow: none;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.flow-button.flow-button-icon-only {
|
|
83
|
-
width: 24px;
|
|
84
|
-
height: 24px;
|
|
85
|
-
padding: 0;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* ----------------------------------------------------- */
|
|
89
|
-
.flow-button-outlined {
|
|
90
|
-
background: var(--theme-background-1);
|
|
91
|
-
color: var(--theme-color-1);
|
|
92
|
-
padding: 11px 23px;
|
|
93
|
-
border: 1px solid var(--theme-border-color);
|
|
94
|
-
box-shadow: rgba(0, 0, 0, 0.09) 0px 1px 4px;
|
|
95
|
-
}
|
|
96
|
-
.flow-button-outlined:hover,
|
|
97
|
-
.flow-button-outlined:focus-visible {
|
|
98
|
-
background: var(--theme-background-2);
|
|
99
|
-
}
|
|
100
|
-
.flow-button-outlined:active {
|
|
101
|
-
background: var(--theme-background-2);
|
|
102
|
-
}
|
|
103
|
-
.flow-button-outlined[disabled] {
|
|
104
|
-
background: var(--theme-background-2);
|
|
105
|
-
color: var(--theme-color-3);
|
|
106
|
-
cursor: unset;
|
|
107
|
-
box-shadow: none;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/* ----------------------------------------------------- */
|
|
111
|
-
.flow-button-clear {
|
|
112
|
-
background: transparent;
|
|
113
|
-
box-shadow: none;
|
|
114
|
-
color: var(--theme-color-3);
|
|
115
|
-
}
|
|
116
|
-
.flow-button-clear:active {
|
|
117
|
-
background: transparent;
|
|
118
|
-
}
|
|
119
|
-
.flow-button-clear:hover,
|
|
120
|
-
.flow-button-clear:focus-visible {
|
|
121
|
-
background: var(--theme-background-2);
|
|
122
|
-
box-shadow: none;
|
|
123
|
-
}
|
|
124
|
-
.flow-button-clear[disabled] {
|
|
125
|
-
background: var(--theme-background-2);
|
|
126
|
-
color: var(--theme-color-3);
|
|
127
|
-
cursor: unset;
|
|
128
|
-
box-shadow: none;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* ----------------------------------------------------- */
|
|
132
|
-
.flow-button-text {
|
|
133
|
-
background: transparent;
|
|
134
|
-
box-shadow: none;
|
|
135
|
-
color: var(--theme-color-3);
|
|
136
|
-
}
|
|
137
|
-
.flow-button-text:active {
|
|
138
|
-
background: transparent;
|
|
139
|
-
}
|
|
140
|
-
.flow-button-text:hover,
|
|
141
|
-
.flow-button-text:focus-visible {
|
|
142
|
-
color: var(--theme-color-2);
|
|
143
|
-
background: transparent;
|
|
144
|
-
box-shadow: none;
|
|
145
|
-
}
|
|
146
|
-
.flow-button-text[disabled] {
|
|
147
|
-
background: transparent;
|
|
148
|
-
color: var(--theme-color-ghost);
|
|
149
|
-
cursor: unset;
|
|
150
|
-
box-shadow: none;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/* ----------------------------------------------------- */
|
|
154
|
-
|
|
155
|
-
.flow-button--delete {
|
|
156
|
-
background: var(--theme-error-color);
|
|
157
|
-
color: white;
|
|
158
|
-
}
|
|
159
|
-
.flow-button--delete:active {
|
|
160
|
-
background: var(--theme-error-color);
|
|
161
|
-
}
|
|
162
|
-
.flow-button--delete:hover {
|
|
163
|
-
background: var(--theme-error-color);
|
|
164
|
-
opacity: 0.86;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/* ----------------------------------------------------- */
|
|
168
|
-
|
|
169
|
-
.flow-button-loader {
|
|
170
|
-
position: absolute;
|
|
171
|
-
right: 8px;
|
|
172
|
-
}
|
|
173
|
-
.flow-button-decorator {
|
|
174
|
-
margin-right: 9px;
|
|
175
|
-
color: currentColor;
|
|
176
|
-
display: flex;
|
|
177
|
-
align-items: center;
|
|
178
|
-
height: 14px;
|
|
179
|
-
width: 14px;
|
|
180
|
-
}
|
|
181
|
-
.flow-button-icon-only .flow-button-decorator {
|
|
182
|
-
margin-right: 0;
|
|
183
|
-
}
|
|
184
|
-
</style>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import FlowButton, { type ButtonVariant } from './FlowButton.vue'
|
|
3
|
-
import { FlowIcon } from './Icon'
|
|
4
|
-
import { type Icon } from './Icon/icons'
|
|
5
|
-
|
|
6
|
-
withDefaults(
|
|
7
|
-
defineProps<{
|
|
8
|
-
label: string
|
|
9
|
-
icon: Icon
|
|
10
|
-
variant?: ButtonVariant
|
|
11
|
-
}>(),
|
|
12
|
-
{
|
|
13
|
-
variant: 'clear',
|
|
14
|
-
},
|
|
15
|
-
)
|
|
16
|
-
</script>
|
|
17
|
-
<template>
|
|
18
|
-
<FlowButton
|
|
19
|
-
class="icon-button"
|
|
20
|
-
icon
|
|
21
|
-
:label="label"
|
|
22
|
-
:variant="variant">
|
|
23
|
-
<FlowIcon :icon="icon" />
|
|
24
|
-
</FlowButton>
|
|
25
|
-
</template>
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { reactive } from 'vue'
|
|
3
|
-
|
|
4
|
-
withDefaults(
|
|
5
|
-
defineProps<{
|
|
6
|
-
loaderState?: LoadingState
|
|
7
|
-
size?: string
|
|
8
|
-
}>(),
|
|
9
|
-
{
|
|
10
|
-
size: '24px',
|
|
11
|
-
},
|
|
12
|
-
)
|
|
13
|
-
</script>
|
|
14
|
-
<script lang="ts">
|
|
15
|
-
export type LoadingState = {
|
|
16
|
-
valid: boolean
|
|
17
|
-
invalid: boolean
|
|
18
|
-
isLoading: boolean
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Handles isLoading spinner for the FlowLoader Component
|
|
22
|
-
* stateIsLoading will trigger the spinner
|
|
23
|
-
* isValid or isInvalid will show a check or x and then spin out
|
|
24
|
-
*/
|
|
25
|
-
export function useLoaderState() {
|
|
26
|
-
return reactive({
|
|
27
|
-
valid: false,
|
|
28
|
-
invalid: false,
|
|
29
|
-
isLoading: false,
|
|
30
|
-
startLoading() {
|
|
31
|
-
this.isLoading = true
|
|
32
|
-
},
|
|
33
|
-
stopLoading() {
|
|
34
|
-
this.isLoading = false
|
|
35
|
-
},
|
|
36
|
-
isValid(time = 800) {
|
|
37
|
-
this.valid = true
|
|
38
|
-
const diff = time - 300
|
|
39
|
-
// Allow chaining after animation
|
|
40
|
-
return new Promise((res) =>
|
|
41
|
-
setTimeout(() => this.clear().then(() => res(true)), diff),
|
|
42
|
-
)
|
|
43
|
-
},
|
|
44
|
-
isInvalid(time = 1100) {
|
|
45
|
-
this.invalid = true
|
|
46
|
-
const diff = time - 300
|
|
47
|
-
// Allow chaining after animation
|
|
48
|
-
return new Promise((res) =>
|
|
49
|
-
setTimeout(() => this.clear().then(() => res(true)), diff),
|
|
50
|
-
)
|
|
51
|
-
},
|
|
52
|
-
clear(time = 300) {
|
|
53
|
-
this.valid = false
|
|
54
|
-
this.invalid = false
|
|
55
|
-
this.isLoading = false
|
|
56
|
-
// Allow chaining after animation
|
|
57
|
-
return new Promise((res) => {
|
|
58
|
-
setTimeout(() => {
|
|
59
|
-
res(true)
|
|
60
|
-
}, time)
|
|
61
|
-
})
|
|
62
|
-
},
|
|
63
|
-
})
|
|
64
|
-
}
|
|
65
|
-
</script>
|
|
66
|
-
<template>
|
|
67
|
-
<div
|
|
68
|
-
v-if="loaderState"
|
|
69
|
-
class="loader-wrapper">
|
|
70
|
-
<svg
|
|
71
|
-
class="svg-loader"
|
|
72
|
-
:class="{
|
|
73
|
-
'icon-is-valid': loaderState.valid,
|
|
74
|
-
'icon-is-invalid': loaderState.invalid,
|
|
75
|
-
}"
|
|
76
|
-
viewBox="0 0 100 100"
|
|
77
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
78
|
-
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
79
|
-
<path
|
|
80
|
-
class="svg-path svg-check-mark"
|
|
81
|
-
d="m 0 60 l 30 30 l 70 -80" />
|
|
82
|
-
<path
|
|
83
|
-
class="svg-path svg-x-mark"
|
|
84
|
-
d="m 50 50 l 40 -40" />
|
|
85
|
-
<path
|
|
86
|
-
class="svg-path svg-x-mark"
|
|
87
|
-
d="m 50 50 l 40 40" />
|
|
88
|
-
<path
|
|
89
|
-
class="svg-path svg-x-mark"
|
|
90
|
-
d="m 50 50 l -40 -40" />
|
|
91
|
-
<path
|
|
92
|
-
class="svg-path svg-x-mark"
|
|
93
|
-
d="m 50 50 l -40 40" />
|
|
94
|
-
<g
|
|
95
|
-
v-if="loaderState.isLoading"
|
|
96
|
-
class="circular-loader">
|
|
97
|
-
<circle
|
|
98
|
-
class="loader-path"
|
|
99
|
-
:class="{
|
|
100
|
-
'loader-path-off': loaderState.valid || loaderState.invalid,
|
|
101
|
-
}"
|
|
102
|
-
cx="50"
|
|
103
|
-
cy="50"
|
|
104
|
-
fill="none"
|
|
105
|
-
r="20"
|
|
106
|
-
stroke-width="2" />
|
|
107
|
-
</g>
|
|
108
|
-
</svg>
|
|
109
|
-
</div>
|
|
110
|
-
</template>
|
|
111
|
-
<style scoped>
|
|
112
|
-
.loader-wrapper {
|
|
113
|
-
position: relative;
|
|
114
|
-
height: v-bind(size);
|
|
115
|
-
width: v-bind(size);
|
|
116
|
-
|
|
117
|
-
display: flex;
|
|
118
|
-
align-items: center;
|
|
119
|
-
justify-content: center;
|
|
120
|
-
|
|
121
|
-
--loader-size: 50%;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/*SVG Positioning for Loader Objects*/
|
|
125
|
-
.svg-loader {
|
|
126
|
-
width: var(--loader-size);
|
|
127
|
-
height: var(--loader-size);
|
|
128
|
-
top: 1rem;
|
|
129
|
-
right: 0.9rem;
|
|
130
|
-
overflow: visible;
|
|
131
|
-
|
|
132
|
-
fill: none;
|
|
133
|
-
background-color: transparent;
|
|
134
|
-
stroke: currentColor;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.svg-path {
|
|
138
|
-
stroke-width: 14;
|
|
139
|
-
fill: none;
|
|
140
|
-
transition: 0.3s;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.svg-x-mark {
|
|
144
|
-
stroke-dasharray: 57;
|
|
145
|
-
stroke-dashoffset: 57;
|
|
146
|
-
transition-delay: 0s;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.svg-check-mark {
|
|
150
|
-
stroke-dasharray: 149;
|
|
151
|
-
stroke-dashoffset: 149;
|
|
152
|
-
transition-delay: 0s;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.icon-is-invalid .svg-x-mark {
|
|
156
|
-
stroke-dashoffset: 0;
|
|
157
|
-
transition-delay: 0.3s;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.icon-is-valid .svg-check-mark {
|
|
161
|
-
stroke-dashoffset: 0;
|
|
162
|
-
transition-delay: 0.3s;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.circular-loader {
|
|
166
|
-
animation: rotate 0.7s linear infinite, fade-in 0.4s;
|
|
167
|
-
|
|
168
|
-
transform-origin: center center;
|
|
169
|
-
transform: scale(5);
|
|
170
|
-
|
|
171
|
-
background: transparent;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.loader-path {
|
|
175
|
-
stroke-dasharray: 50, 200;
|
|
176
|
-
stroke-dashoffset: -100;
|
|
177
|
-
stroke-linecap: round;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.loader-path-off {
|
|
181
|
-
stroke-dasharray: 50, 200;
|
|
182
|
-
stroke-dashoffset: -100;
|
|
183
|
-
transition: opacity 0.3s;
|
|
184
|
-
opacity: 0;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@keyframes fade-in {
|
|
188
|
-
0% {
|
|
189
|
-
opacity: 0;
|
|
190
|
-
}
|
|
191
|
-
70% {
|
|
192
|
-
opacity: 0;
|
|
193
|
-
}
|
|
194
|
-
100% {
|
|
195
|
-
opacity: 1;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
@keyframes rotate {
|
|
200
|
-
from {
|
|
201
|
-
transform: scale(5) rotate(0deg);
|
|
202
|
-
}
|
|
203
|
-
to {
|
|
204
|
-
transform: scale(5) rotate(360deg);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
</style>
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
Dialog,
|
|
4
|
-
DialogDescription,
|
|
5
|
-
DialogPanel,
|
|
6
|
-
DialogTitle,
|
|
7
|
-
} from '@headlessui/vue'
|
|
8
|
-
import { reactive } from 'vue'
|
|
9
|
-
|
|
10
|
-
withDefaults(
|
|
11
|
-
defineProps<{
|
|
12
|
-
state: ModalState
|
|
13
|
-
title?: string
|
|
14
|
-
bodyClass?: string
|
|
15
|
-
maxWidth?: string
|
|
16
|
-
variant?: 'small' | 'normal' | 'large'
|
|
17
|
-
}>(),
|
|
18
|
-
{
|
|
19
|
-
variant: 'normal',
|
|
20
|
-
},
|
|
21
|
-
)
|
|
22
|
-
</script>
|
|
23
|
-
<script lang="ts">
|
|
24
|
-
export type ModalState = ReturnType<typeof useModalState>
|
|
25
|
-
|
|
26
|
-
export const useModalState = () =>
|
|
27
|
-
reactive({
|
|
28
|
-
open: false,
|
|
29
|
-
show() {
|
|
30
|
-
this.open = true
|
|
31
|
-
},
|
|
32
|
-
hide() {
|
|
33
|
-
this.open = false
|
|
34
|
-
},
|
|
35
|
-
})
|
|
36
|
-
</script>
|
|
37
|
-
<template>
|
|
38
|
-
<Dialog
|
|
39
|
-
:open="state.open"
|
|
40
|
-
@close="state.hide()">
|
|
41
|
-
<div class="modal-layout">
|
|
42
|
-
<DialogPanel
|
|
43
|
-
class="modal"
|
|
44
|
-
:class="{
|
|
45
|
-
'modal-content-large': variant === 'large',
|
|
46
|
-
'modal-content-normal': variant === 'normal',
|
|
47
|
-
'modal-content-small': variant === 'small',
|
|
48
|
-
}"
|
|
49
|
-
:style="{ maxWidth }">
|
|
50
|
-
<DialogTitle
|
|
51
|
-
v-if="title"
|
|
52
|
-
class="modal-header">
|
|
53
|
-
{{ title }}
|
|
54
|
-
</DialogTitle>
|
|
55
|
-
<DialogDescription
|
|
56
|
-
class="modal-body custom-scroll"
|
|
57
|
-
:class="[bodyClass]">
|
|
58
|
-
<slot />
|
|
59
|
-
</DialogDescription>
|
|
60
|
-
</DialogPanel>
|
|
61
|
-
</div>
|
|
62
|
-
</Dialog>
|
|
63
|
-
</template>
|
|
64
|
-
<style scoped>
|
|
65
|
-
.modal-layout {
|
|
66
|
-
position: fixed;
|
|
67
|
-
width: 100vw;
|
|
68
|
-
height: 100vh;
|
|
69
|
-
top: 0;
|
|
70
|
-
left: 0;
|
|
71
|
-
z-index: 1001;
|
|
72
|
-
background: rgba(0, 0, 0, 0.44);
|
|
73
|
-
padding: 20px;
|
|
74
|
-
opacity: 0;
|
|
75
|
-
animation: modal-fade 0.2s forwards;
|
|
76
|
-
}
|
|
77
|
-
.modal-body {
|
|
78
|
-
padding: 24px 12px 18px 24px;
|
|
79
|
-
max-height: calc(100vh - 240px);
|
|
80
|
-
background: var(--theme-background-1);
|
|
81
|
-
border-radius: var(--theme-radius-lg);
|
|
82
|
-
font-family: var(--theme-font);
|
|
83
|
-
}
|
|
84
|
-
.modal {
|
|
85
|
-
margin: 80px auto 0;
|
|
86
|
-
position: relative;
|
|
87
|
-
background: var(--theme-background-2);
|
|
88
|
-
border-radius: var(--theme-radius-lg);
|
|
89
|
-
color: var(--theme-color-1);
|
|
90
|
-
width: 100%;
|
|
91
|
-
text-align: left;
|
|
92
|
-
line-height: 1.4;
|
|
93
|
-
opacity: 0;
|
|
94
|
-
transform: scale(0.98);
|
|
95
|
-
animation: modal-pop 0.15s 0.15s forwards;
|
|
96
|
-
display: flex;
|
|
97
|
-
flex-direction: column;
|
|
98
|
-
}
|
|
99
|
-
.modal-content-large {
|
|
100
|
-
max-width: 800px;
|
|
101
|
-
}
|
|
102
|
-
.modal-content-normal {
|
|
103
|
-
max-width: 640px;
|
|
104
|
-
}
|
|
105
|
-
.modal-content-small {
|
|
106
|
-
max-width: 480px;
|
|
107
|
-
}
|
|
108
|
-
@keyframes modal-fade {
|
|
109
|
-
from {
|
|
110
|
-
opacity: 0;
|
|
111
|
-
}
|
|
112
|
-
to {
|
|
113
|
-
opacity: 1;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
@keyframes modal-pop {
|
|
117
|
-
0% {
|
|
118
|
-
opacity: 0;
|
|
119
|
-
}
|
|
120
|
-
100% {
|
|
121
|
-
opacity: 1;
|
|
122
|
-
transform: scale(1);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
.modal-header {
|
|
126
|
-
padding: 12px 24px;
|
|
127
|
-
color: var(--theme-color-1);
|
|
128
|
-
font-size: var(--theme-font-size-4);
|
|
129
|
-
text-align: left;
|
|
130
|
-
font-weight: 600;
|
|
131
|
-
border-radius: var(--theme-radius-lg) var(--theme-radius-lg) 0 0;
|
|
132
|
-
}
|
|
133
|
-
</style>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<script lang="ts" setup>
|
|
2
|
-
defineProps<{ href: string }>()
|
|
3
|
-
</script>
|
|
4
|
-
<template>
|
|
5
|
-
<a
|
|
6
|
-
:href="href"
|
|
7
|
-
rel="noopener noreferrer"
|
|
8
|
-
target="_blank">
|
|
9
|
-
<slot />
|
|
10
|
-
</a>
|
|
11
|
-
</template>
|
|
12
|
-
<style scoped>
|
|
13
|
-
a {
|
|
14
|
-
text-decoration: underline;
|
|
15
|
-
text-decoration-color: var(--theme-border-color);
|
|
16
|
-
text-underline-offset: 2px;
|
|
17
|
-
cursor: help;
|
|
18
|
-
}
|
|
19
|
-
</style>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { computed } from 'vue'
|
|
3
|
-
|
|
4
|
-
import SvgRenderer from './SvgRenderer'
|
|
5
|
-
import { type Icon, getIcon } from './icons/'
|
|
6
|
-
|
|
7
|
-
const props = defineProps<{
|
|
8
|
-
icon: Icon
|
|
9
|
-
}>()
|
|
10
|
-
|
|
11
|
-
const data = computed(() => getIcon(props.icon))
|
|
12
|
-
</script>
|
|
13
|
-
<template>
|
|
14
|
-
<SvgRenderer
|
|
15
|
-
v-if="data"
|
|
16
|
-
class="flow-icon"
|
|
17
|
-
height="100%"
|
|
18
|
-
:raw="data" />
|
|
19
|
-
</template>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script lang="ts" setup>
|
|
2
|
-
import { computed } from 'vue'
|
|
3
|
-
|
|
4
|
-
import SvgRenderer from './SvgRenderer'
|
|
5
|
-
import { getLocalIcon } from './localIcons'
|
|
6
|
-
|
|
7
|
-
const props = defineProps<{
|
|
8
|
-
src: string
|
|
9
|
-
title?: string
|
|
10
|
-
}>()
|
|
11
|
-
|
|
12
|
-
const data = computed(() => getLocalIcon(props.src))
|
|
13
|
-
</script>
|
|
14
|
-
<template>
|
|
15
|
-
<SvgRenderer
|
|
16
|
-
v-if="data"
|
|
17
|
-
:raw="data" />
|
|
18
|
-
<!-- Handle fallback -->
|
|
19
|
-
<img
|
|
20
|
-
v-else
|
|
21
|
-
:alt="title"
|
|
22
|
-
:src="src" />
|
|
23
|
-
</template>
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type FunctionalComponent,
|
|
3
|
-
type SVGAttributes,
|
|
4
|
-
defineAsyncComponent,
|
|
5
|
-
h,
|
|
6
|
-
} from 'vue'
|
|
7
|
-
|
|
8
|
-
type RendererProps = {
|
|
9
|
-
raw: string
|
|
10
|
-
// All other attributes
|
|
11
|
-
} & SVGAttributes
|
|
12
|
-
|
|
13
|
-
const attrsToObject = (m: NamedNodeMap) =>
|
|
14
|
-
Object.fromEntries(Array.from(m).map((t) => [t.name, t.value]))
|
|
15
|
-
|
|
16
|
-
// Can be the native DOMParser, or xmldom's DOMParser
|
|
17
|
-
type DOMParserType = {
|
|
18
|
-
new (): DOMParser
|
|
19
|
-
prototype: DOMParser
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Utility component to convert a raw SVG string to a Vue vnode.
|
|
24
|
-
*
|
|
25
|
-
* @param {string} raw A raw string containing an SVG element.
|
|
26
|
-
* @returns An SVG vnode or `undefined` if unparsable.
|
|
27
|
-
*/
|
|
28
|
-
const getRendererComponent =
|
|
29
|
-
(Parser: DOMParserType): FunctionalComponent<RendererProps> =>
|
|
30
|
-
({ raw }) => {
|
|
31
|
-
const parser = new Parser()
|
|
32
|
-
const parsed = parser.parseFromString(raw, 'image/svg+xml')
|
|
33
|
-
|
|
34
|
-
if (parsed.getElementsByTagName('parsererror').length) {
|
|
35
|
-
return undefined
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
const svg = parsed.documentElement
|
|
39
|
-
const attrs = attrsToObject(svg.attributes)
|
|
40
|
-
|
|
41
|
-
// Strip width and height attributes
|
|
42
|
-
const { width, height, ...rest } = attrs
|
|
43
|
-
|
|
44
|
-
return h('svg', { ...rest, innerHTML: svg.innerHTML })
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export default defineAsyncComponent(async () => {
|
|
48
|
-
// Use a DOMParser library if it's not in the browser
|
|
49
|
-
const Parser =
|
|
50
|
-
typeof DOMParser === 'undefined'
|
|
51
|
-
? (await import('xmldom')).DOMParser
|
|
52
|
-
: DOMParser
|
|
53
|
-
|
|
54
|
-
// Get the actual component, pass the DOMParser
|
|
55
|
-
const Renderer = getRendererComponent(Parser)
|
|
56
|
-
|
|
57
|
-
// Add props to it
|
|
58
|
-
Renderer.props = {
|
|
59
|
-
raw: {
|
|
60
|
-
type: String,
|
|
61
|
-
required: true,
|
|
62
|
-
},
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
return Renderer
|
|
66
|
-
})
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M23 2H1v20h22V2Zm-9.5 18.5h-11l7.5-17h4l7.5 17H17l-5-11L9 17h3l1.5 3.5Z" clip-rule="evenodd"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="m16.412 16.24 1.587-1.468a.532.532 0 0 0 .027-.736c-.655-.764-.852-1.401-.852-1.862V6.046c.007-1.025-.973-3.076-4.945-3.076-3.538 0-4.826 2.1-5.115 3.495-.055.263.148.496.416.52l2.09.189c.255.023.483-.152.583-.387.26-.61.867-1.383 2.026-1.383 1.168 0 1.577.895 1.635 1.343V8.13c-5.724 0-7.204 2.492-7.204 4.867 0 2.376 1.733 3.563 3.855 3.563 1.409 0 2.709-.777 3.43-1.364a.547.547 0 0 1 .723.014l1.057 1.022a.5.5 0 0 0 .687.008Zm-3.53-2.578c1.283-.976.988-3.699.988-3.699s-2.412-.16-3.354 1.287c-.514.79-.348 1.862.275 2.412.519.458 1.392.532 2.091 0Zm8.949 3.373c-.155-.176-.868-.115-1.553-.057-.68.058-1.332.113-1.384-.067-.105-.361 3.165-1.198 3.973-.542.703.57-1.112 3.935-1.612 3.664-.1-.054.05-.461.232-.963.274-.751.626-1.716.344-2.035Zm-9.824 2.313c-4.527 0-7.771-1.568-9.447-2.378-.701-.339-1.127-.545-1.258-.447-.441.33 4.724 4.414 10.705 4.414 5.231 0 9.756-2.825 9.094-3.2-.237-.134-.733.033-1.534.304-1.442.486-3.872 1.307-7.56 1.307Z" clip-rule="evenodd"></path></svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<title>Firefox Browser</title>
|
|
3
|
-
<path
|
|
4
|
-
d="M8.824 7.287c.008 0 .004 0 0 0zm-2.8-1.4c.006 0 .003 0 0 0zm16.754 2.161c-.505-1.215-1.53-2.528-2.333-2.943.654 1.283 1.033 2.57 1.177 3.53l.002.02c-1.314-3.278-3.544-4.6-5.366-7.477-.091-.147-.184-.292-.273-.446a3.545 3.545 0 01-.13-.24 2.118 2.118 0 01-.172-.46.03.03 0 00-.027-.03.038.038 0 00-.021 0l-.006.001a.037.037 0 00-.01.005L15.624 0c-2.585 1.515-3.657 4.168-3.932 5.856a6.197 6.197 0 00-2.305.587.297.297 0 00-.147.37c.057.162.24.24.396.17a5.622 5.622 0 012.008-.523l.067-.005a5.847 5.847 0 011.957.222l.095.03a5.816 5.816 0 01.616.228c.08.036.16.073.238.112l.107.055a5.835 5.835 0 01.368.211 5.953 5.953 0 012.034 2.104c-.62-.437-1.733-.868-2.803-.681 4.183 2.09 3.06 9.292-2.737 9.02a5.164 5.164 0 01-1.513-.292 4.42 4.42 0 01-.538-.232c-1.42-.735-2.593-2.121-2.74-3.806 0 0 .537-2 3.845-2 .357 0 1.38-.998 1.398-1.287-.005-.095-2.029-.9-2.817-1.677-.422-.416-.622-.616-.8-.767a3.47 3.47 0 00-.301-.227 5.388 5.388 0 01-.032-2.842c-1.195.544-2.124 1.403-2.8 2.163h-.006c-.46-.584-.428-2.51-.402-2.913-.006-.025-.343.176-.389.206-.406.29-.787.616-1.136.974-.397.403-.76.839-1.085 1.303a9.816 9.816 0 00-1.562 3.52c-.003.013-.11.487-.19 1.073-.013.09-.026.181-.037.272a7.8 7.8 0 00-.069.667l-.002.034-.023.387-.001.06C.386 18.795 5.593 24 12.016 24c5.752 0 10.527-4.176 11.463-9.661.02-.149.035-.298.052-.448.232-1.994-.025-4.09-.753-5.844z" />
|
|
5
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<title>Google Chrome</title>
|
|
3
|
-
<path
|
|
4
|
-
d="M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z" />
|
|
5
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11ZM8.5 10c-.665 0-1.5.717-1.5 2s.835 2 1.5 2c.459 0 .96-.302 1.265-.934l1.801.868C11.006 15.096 9.892 16 8.5 16 6.404 16 5 14.03 5 12c0-2.03 1.404-4 3.5-4 1.392 0 2.507.904 3.066 2.066l-1.801.868C9.46 10.302 8.959 10 8.5 10Zm6 2c0-1.283.835-2 1.5-2 .459 0 .96.302 1.265.934l1.801-.868C18.506 8.904 17.392 8 16 8c-2.096 0-3.5 1.97-3.5 4 0 2.03 1.404 4 3.5 4 1.392 0 2.506-.904 3.066-2.066l-1.801-.868c-.305.632-.806.934-1.265.934-.665 0-1.5-.717-1.5-2Z" clip-rule="evenodd"></path></svg>
|