@scalar/api-client 0.11.5 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/dist/components/ApiClient/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/ApiClient.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/RequestHistoryItem.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Response/Response.vue.d.ts.map +1 -1
- package/dist/components/Grid/Grid.vue.d.ts +2 -0
- package/dist/components/Grid/Grid.vue.d.ts.map +1 -1
- package/dist/fixtures/httpHeaders.d.ts +0 -1
- package/dist/fixtures/httpHeaders.d.ts.map +1 -1
- package/dist/fixtures/httpStatusCodes.d.ts +0 -1
- package/dist/fixtures/httpStatusCodes.d.ts.map +1 -1
- package/dist/helpers/humanDiff.d.ts +5 -0
- package/dist/helpers/humanDiff.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/index-c5a56f98.js +2494 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3015 -581
- package/package.json +7 -8
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900');@import url('https://fonts.googleapis.com/css?family=JetBrains%20Mono');\n\n:root {\n --default-theme-border-width: 1px;\n --default-theme-radius: 3px;\n --default-theme-radius-lg: 6px;\n --default-theme-radius-xl: 8px;\n\n --default-theme-header-height: 50px;\n --default-theme-sidebar-width: 250px;\n --default-theme-toc-width: 250px;\n\n /* TYPOGRAPHY ------------------------------------ */\n --default-theme-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n --default-theme-font-code: 'JetBrains Mono', ui-monospace, Menlo, Monaco,\n 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', 'Oxygen Mono',\n 'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono', 'Droid Sans Mono',\n 'Courier New', monospace;\n\n /** Font sizes for rendered text content (editor styles or static content) */\n --default-theme-heading-1: 40px; /* Editor Page heading */\n --default-theme-page-description: 24px;\n --default-theme-heading-2: 24px; /* Editor section headings */\n --default-theme-heading-3: 20px;\n --default-theme-heading-4: 16px;\n --default-theme-heading-5: 16px;\n --default-theme-heading-6: 16px;\n\n --default-theme-paragraph: 16px;\n --default-theme-small: 14px;\n --default-theme-mini: 13px;\n --default-theme-micro: 12px;\n --default-theme-bold: 600;\n --default-theme-semibold: 500;\n --default-theme-regular: 400;\n\n /* Font sizes for interactive applications (not rendered text content) */\n --default-theme-font-size-1: 24px;\n --default-theme-font-size-2: 16px;\n --default-theme-font-size-3: 14px;\n --default-theme-font-size-4: 13px;\n --default-theme-font-size-5: 12px;\n\n --default-theme-line-height-1: 32px;\n --default-theme-line-height-2: 24px;\n --default-theme-line-height-3: 20px;\n --default-theme-line-height-4: 18px;\n --default-theme-line-height-5: 16px;\n\n --default-theme-font-medium: 500;\n --default-theme-font-bold: 700;\n}\n@media (max-width: 460px) {\n :root {\n --default-theme-font-size-1: 22px;\n --default-theme-font-size-2: 14px;\n --default-theme-font-size-3: 12px;\n }\n}\n@media (max-width: 720px) {\n :root {\n --default-theme-heading-1: 24px;\n --default-theme-page-description: 20px;\n }\n}\n.cm-scroller,\n.custom-scroll {\n overflow-y: scroll;\n scrollbar-color: transparent transparent;\n scrollbar-width: thin;\n -webkit-overflow-scrolling: touch;\n}\n.custom-scroll-self-contain-overflow {\n overscroll-behavior: contain;\n}\n.custom-scroll-extra-padding-right {\n padding-right: 12px !important;\n}\n@supports (-moz-appearance: none) {\n .cm-scroller,\n .custom-scroll {\n padding-right: 12px;\n }\n .custom-scroll-extra-padding-right {\n padding-right: 24px !important;\n }\n}\n.cm-scroller:hover,\n.custom-scroll:hover {\n scrollbar-color: var(\n --theme-scrollbar-color,\n var(--default-theme-scrollbar-color)\n )\n transparent;\n}\n.cm-scroller:hover::-webkit-scrollbar-thumb,\n.custom-scroll:hover::-webkit-scrollbar-thumb {\n background: var(\n --theme-scrollbar-color,\n var(--default-theme-scrollbar-color)\n );\n background-clip: content-box;\n border: 3px solid transparent;\n}\n.cm-scroller::-webkit-scrollbar-thumb:active,\n.custom-scroll::-webkit-scrollbar-thumb:active {\n background: var(\n --theme-scrollbar-color-active,\n var(--default-theme-scrollbar-color-active)\n );\n background-clip: content-box;\n border: 3px solid transparent;\n}\n.cm-scroller::-webkit-scrollbar-corner,\n.custom-scroll::-webkit-scrollbar-corner {\n background: transparent;\n}\n.cm-scroller::-webkit-scrollbar,\n.custom-scroll::-webkit-scrollbar {\n height: 12px;\n width: 12px;\n}\n.cm-scroller::-webkit-scrollbar-track,\n.custom-scroll::-webkit-scrollbar-track {\n background: transparent;\n}\n.cm-scroller::-webkit-scrollbar-thumb,\n.custom-scroll::-webkit-scrollbar-thumb {\n border-radius: 20px;\n background: transparent;\n background-clip: content-box;\n border: 3px solid transparent;\n}\n@media (pointer: coarse) {\n .cm-scroller,\n .custom-scroll {\n padding-right: 12px;\n }\n .custom-scroll-extra-padding-right {\n padding-right: 24px !important;\n }\n}\n\n/** Basics */\n.scalar-api-client__codemirror__wrapper {\n width: 100%;\n height: 100%;\n padding-top: 4px;\n min-height: 76px;\n background: var(--theme-background-2, var(--default-theme-background-2));\n color: var(--theme-color-1, var(--default-theme-color-1));\n display: flex;\n align-items: stretch;\n}\n.scalar-api-client__codemirror {\n flex-grow: 1;\n max-width: 100%;\n cursor: text;\n font-size: var(--theme-small, var(--default-theme-small));\n /* Don't scale wide text on mobile because we let it scroll */\n -webkit-text-size-adjust: 100%;\n}\n\n/** URL input */\n.scalar-api-client__url-input {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n min-height: auto;\n padding-top: 0;\n}\n.scalar-api-client__url-input .ͼ1 .cm-scroller {\n align-items: center !important;\n}\n.scalar-api-client__variable {\n color: var(--scalar-api-client-color, var(--default-scalar-api-client-color));\n}\n.cm-focused {\n outline: none !important;\n}\n\n.modal-layout[data-v-e6a4a41b] {\n position: fixed;\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n z-index: 1001;\n background: rgba(0, 0, 0, 0.44);\n padding: 20px;\n opacity: 0;\n animation: modal-fade-e6a4a41b 0.2s forwards;\n}\n.modal-body[data-v-e6a4a41b] {\n padding: 24px 12px 18px 24px;\n max-height: calc(100vh - 240px);\n background: var(--theme-background-1, var(--default-theme-background-1));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n font-family: var(--theme-font, var(--default-theme-font));\n position: relative;\n}\n.modal[data-v-e6a4a41b] {\n margin: 80px auto 0;\n position: relative;\n background: var(--theme-background-2, var(--default-theme-background-2));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n text-align: left;\n line-height: 1.4;\n opacity: 0;\n transform: scale(0.98);\n animation: modal-pop-e6a4a41b 0.15s 0.15s forwards;\n display: flex;\n flex-direction: column;\n}\n.modal[data-v-e6a4a41b]:before {\n content: '';\n display: block;\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 0;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.dark-mode .modal[data-v-e6a4a41b]:before {\n background: #1a1a1a;\n}\n.light-mode .modal[data-v-e6a4a41b]:before {\n background: #fff;\n}\n.modal-content-history[data-v-e6a4a41b] {\n background: var(--theme-background-1, var(--default-theme-background-1));\n}\n.modal-content-history[data-v-e6a4a41b],\n.modal-content-large[data-v-e6a4a41b] {\n max-width: 800px;\n}\n.modal-content-normal[data-v-e6a4a41b] {\n max-width: 640px;\n}\n.modal-content-small[data-v-e6a4a41b] {\n max-width: 480px;\n}\n@keyframes modal-fade-e6a4a41b {\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}\n}\n@keyframes modal-pop-e6a4a41b {\n0% {\n opacity: 0;\n}\n100% {\n opacity: 1;\n transform: scale(1);\n}\n}\n.modal-header[data-v-e6a4a41b] {\n padding: 12px 24px;\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-font-size-4, var(--default-theme-font-size-4));\n text-align: left;\n font-weight: 600;\n margin: 0;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg))\n var(--theme-radius-lg, var(--default-theme-radius-lg)) 0 0;\n z-index: 1;\n}\n.modal-content-history .modal-header[data-v-e6a4a41b] {\n padding-bottom: 0;\n padding-top: 24px;\n}\n.modal-content-history .modal-body[data-v-e6a4a41b] {\n padding-top: 12px;\n}\n.modal-content-search[data-v-e6a4a41b] {\n max-width: 540px;\n}\n.modal-content-search .modal-body[data-v-e6a4a41b] {\n padding: 0;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n max-height: 440px;\n}\n\n.navtable-mock {\n background-repeat: repeat;\n width: 100%;\n background-size: 31px 31px;\n background-position: center 1px;\n flex: 1;\n position: relative;\n z-index: 0;\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n background: repeating-linear-gradient(\n var(--theme-background-1, var(--default-theme-background-1)),\n var(--theme-background-1, var(--default-theme-background-1)) 34.8px,\n var(--theme-border-color, var(--default-theme-border-color)) 34.8px,\n var(--theme-border-color, var(--default-theme-border-color)) 35.8px\n );\n}\n.navtable-mock .navtable-item {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n background: transparent;\n box-shadow: none;\n}\n.radio {\n height: 10px;\n max-width: 10px;\n width: 10px;\n max-height: 10px;\n background: transparent;\n border: var(--border, var(--default-border));\n flex-shrink: 0;\n margin-right: 6px;\n margin-left: 0;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n padding: 0;\n}\n.radio:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n}\n.navtable-item__active:before {\n content: '';\n display: block;\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1)) !important;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n}\n.navtable-item__active + .navtable-item {\n /* box-shadow: none; */\n}\n.radio.post {\n background: var(--theme-color-green, var(--default-theme-color-green));\n}\n.radio.delete {\n background: var(--theme-color-red, var(--default-theme-color-red));\n}\n.radio.patch {\n background: var(--theme-color-yellow, var(--default-theme-color-yellow));\n}\n.radio.get {\n background: var(--theme-color-blue, var(--default-theme-color-blue));\n}\n.radio.put {\n background: var(--theme-color-orange, var(--default-theme-color-orange));\n}\n.navtable-item-request span {\n border: none;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n display: block;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.navtable-item-request span em {\n text-transform: uppercase;\n font-style: normal;\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n font-size: var(--theme-micro, var(--default-theme-micro));\n margin-right: 6px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n\n.request-method-select[data-v-8e2122cd] {\n position: relative;\n display: flex;\n}\n.request-method-select select[data-v-8e2122cd] {\n border: none;\n outline: none;\n cursor: pointer;\n background: var(--theme-background-3, var(--default-theme-background-3));\n box-shadow: -2px 0 0 0\n var(--theme-background-3, var(--default-theme-background-3));\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n.request-method-select select[disabled][data-v-8e2122cd] {\n pointer-events: none;\n}\n.request-method[data-v-8e2122cd] {\n display: flex;\n align-items: center;\n color: var(--theme-color-3, var(--default-theme-color-3));\n appearance: none;\n -webkit-appearance: none;\n padding: 0 12px;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n}\n.request-method span[data-v-8e2122cd] {\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n font-size: 500;\n font-size: var(--theme-micro, var(--default-theme-micro));\n text-transform: uppercase;\n display: flex;\n align-items: center;\n}\n.request-method:not(.request-method--disabled) span[data-v-8e2122cd]:after {\n content: '';\n width: 7px;\n height: 7px;\n transform: rotate(45deg) translate3d(-2px, -2px, 0);\n display: block;\n margin-left: 6px;\n box-shadow: 1px 1px 0 currentColor;\n}\n.request-method i[data-v-8e2122cd] {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 6px;\n text-align: center;\n line-height: 18px;\n font-style: normal;\n flex-shrink: 0;\n display: inline-block;\n color: var(--theme-color-disabled, var(--default-theme-color-disabled));\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n}\n\n.loader[data-v-7a7ec377] {\n position: absolute;\n z-index: 3;\n height: 2px;\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n animation: loading-7a7ec377 5s cubic-bezier(0, 0.5, 0.25, 1);\n}\n@keyframes loading-7a7ec377 {\n0% {\n width: 0;\n}\n100% {\n width: 100%;\n}\n}\n.scalar-api-client__address-bar[data-v-7a7ec377] {\n width: 100%;\n padding: 12px 12px 10px 12px;\n display: flex;\n align-items: center;\n position: relative;\n background: var(--theme-background-1, var(--default-theme-background-1));\n}\n.scalar-api-client__url-form[data-v-7a7ec377] {\n display: flex;\n width: 100%;\n align-items: stretch;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.scalar-api-client__url-form[data-v-7a7ec377] .cm-content {\n display: flex;\n align-items: center;\n}\n.scalar-api-client__field[data-v-7a7ec377] {\n border-right: 0;\n background: var(--theme-background-2, var(--default-theme-background-2));\n border-radius: var(--theme-radius, var(--default-theme-radius)) 0 0\n var(--theme-radius, var(--default-theme-radius));\n display: flex;\n align-items: stretch;\n width: 100%;\n overflow: hidden;\n min-height: 31px;\n}\n.scalar-api-client__address-bar-data[data-v-7a7ec377] {\n width: 100%;\n}\n.scalar-api-client__address-bar-data-meta[data-v-7a7ec377] {\n display: flex;\n margin-top: 5px;\n}\n.scalar-api-client__url-input[data-v-7a7ec377] {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__request-type[data-v-7a7ec377] {\n display: flex;\n align-items: center;\n color: var(--theme-color-3, var(--default-theme-color-3));\n appearance: none;\n -webkit-appearance: none;\n padding: 0 12px;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n}\n.scalar-api-client__request-type span[data-v-7a7ec377] {\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n font-size: var(--theme-micro, var(--default-theme-micro));\n text-transform: uppercase;\n}\n.scalar-api-client__request-type svg[data-v-7a7ec377] {\n margin-left: 6px;\n width: 8px;\n}\n.scalar-api-client__request-type i[data-v-7a7ec377] {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 6px;\n text-align: center;\n line-height: 18px;\n font-style: normal;\n flex-shrink: 0;\n display: inline-block;\n color: var(--theme-color-3, var(--default-theme-color-3));\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n}\n.meta-request-break[data-v-7a7ec377] {\n margin: 0 5px;\n}\n.scalar-api-client__history[data-v-7a7ec377] {\n appearance: none;\n -webkit-appearance: none;\n background: transparent;\n color: var(--theme-color-2, var(--default-theme-color-2));\n display: flex;\n align-items: center;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n height: 100%;\n}\n.scalar-api-client__send-request-button[type='submit'][data-v-7a7ec377] {\n font-size: var(--theme-micro, var(--default-theme-micro));\n letter-spacing: 0.25px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: white;\n border: none;\n white-space: nowrap;\n padding: 0 12px;\n text-transform: uppercase;\n cursor: pointer;\n outline: none;\n font-family: (--theme-font, var(--default-theme-font));\n border-radius: 0 var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius)) 0;\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n position: relative;\n /** #087f5b */\n display: flex;\n align-items: center;\n overflow: hidden;\n flex-shrink: 0;\n}\n.scalar-api-client__send-request-button[data-v-7a7ec377]:before {\n content: '';\n position: absolute;\n top: -5%;\n left: -5%;\n width: 110%;\n height: 110%;\n pointer-events: none;\n cursor: pointer;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));\n}\n.scalar-api-client__send-request-button[data-v-7a7ec377]:hover:before {\n background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));\n}\n.scalar-api-client__send-request-button svg[data-v-7a7ec377] {\n width: 12px;\n height: 12px;\n flex-shrink: 0;\n margin-right: 6px;\n position: relative;\n}\n.scalar-api-client__send-request-button span[data-v-7a7ec377] {\n position: relative;\n}\n@media screen and (max-width: 720px) {\n.scalar-api-client__history-toggle span[data-v-7a7ec377],\n .scalar-api-client__send-request-button span[data-v-7a7ec377] {\n display: none;\n}\n.scalar-api-client__history-toggle svg[data-v-7a7ec377],\n .scalar-api-client__send-request-button svg[data-v-7a7ec377] {\n margin-right: 0;\n}\n}\n.scalar-api-client__send-request-button[disabled][data-v-7a7ec377] {\n pointer-events: none;\n color: var(--theme-color-2, var(--default-theme-color-2));\n background: var(--theme-background-3, var(--default-theme-background-3));\n border: 1px solid var(--default-theme-border-color);\n}\n.scalar-api-client__history-toggle[data-v-7a7ec377] {\n padding: 0 12px;\n line-height: 30px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-micro, var(--default-theme-micro));\n letter-spacing: 0.125px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-transform: uppercase;\n height: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n white-space: nowrap;\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n margin-left: 12px;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n user-select: none;\n}\n.scalar-api-client__history-toggle[data-v-7a7ec377]:hover {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.scalar-api-client__history-toggle svg[data-v-7a7ec377] {\n height: 13px;\n width: 13px;\n margin-right: 6px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n.scalar-api-client__address-bar-close[data-v-7a7ec377] {\n fill: var(--theme-color-3, var(--default-theme-color-3));\n margin-left: 12px;\n height: 24px;\n}\n.scalar-api-client__address-bar-close[data-v-7a7ec377]:hover {\n cursor: pointer;\n fill: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__address-bar__content[data-v-7a7ec377] {\n width: 640px;\n height: 100%;\n background: var(--theme-background-1, var(--default-theme-background-1));\n position: fixed;\n top: 0;\n right: 0;\n z-index: 1000;\n transform: translate3d(640px, 0, 0);\n opacity: 0;\n transition:\n transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),\n opacity 0.01s ease-in-out 0.5s;\n pointer-events: none;\n}\n.scalar-api-client__address-bar-content-item[data-v-7a7ec377] {\n height: 100vh;\n max-height: 100vh;\n overflow: auto;\n}\n.scalar-api-client__address-bar__on[data-v-7a7ec377] {\n z-index: 100000;\n}\n.scalar-api-client__address-bar__on .scalar-api-client__address-bar__content[data-v-7a7ec377] {\n transform: translate3d(0, 0, 0);\n opacity: 1;\n pointer-events: all;\n transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);\n}\n.scalar-api-client__address-bar__on .scalar-api-client__address-bar__close[data-v-7a7ec377] {\n opacity: 1;\n pointer-events: all;\n cursor: pointer;\n}\n.scalar-api-client__address-bar .navtable-item__active[data-v-7a7ec377] {\n background: var(--theme-background-2, var(--default-theme-background-2));\n cursor: default;\n}\n.scalar-api-client__address-bar .navtable-item__active .radio[data-v-7a7ec377]:before {\n display: none;\n}\n.navigation-back[data-v-7a7ec377] {\n stroke: var(--theme-color-2, var(--default-theme-color-2));\n cursor: pointer;\n}\n.navigation-back[data-v-7a7ec377]:hover {\n stroke: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__address-bar__close[data-v-7a7ec377] {\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n /* background: rgba(0,0,0,.55);\n */\n pointer-events: none;\n opacity: 0;\n transition: all 0.1s ease-in-out;\n z-index: 1000;\n}\n.navtable-item-time[data-v-7a7ec377] {\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n text-transform: capitalize;\n padding: 0 9px;\n}\n\n.scalar-api-client__item {\n border-radius: var(--theme-radius, var(--default-theme-radius));\n margin-bottom: 6px;\n position: relative;\n}\n.scalar-api-client__item button {\n background-color: transparent;\n text-align: left;\n}\n.scalar-api-client__item:hover {\n cursor: pointer;\n}\n.scalar-api-client__toggle:after {\n content: '';\n position: absolute;\n bottom: -6.5px;\n width: 100%;\n height: 6px;\n left: 0;\n}\n.scalar-api-client__item--open .scalar-api-client__toggle:after {\n display: none;\n}\n.scalar-api-client__item:hover,\n.scalar-api-client__item--open {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.scalar-api-client__item--open .scalar-api-client__item__content {\n display: flex;\n}\n.scalar-api-client__item--open:hover {\n cursor: default;\n}\n.scalar-api-client__item--open .scalar-api-client__toggle__icon {\n transform: rotate(90deg);\n}\n.scalar-api-client__toggle {\n padding: 6px;\n min-height: 37px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: relative;\n width: 100%;\n appearance: none;\n outline: 0;\n border: none;\n font-family: (--theme-font, var(--default-theme-font));\n cursor: pointer;\n}\n.scalar-api-client__item .scalar-api-client__item__title {\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-small, var(--default-theme-small));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-family: (--theme-font, var(--default-theme-font));\n user-select: none;\n flex: 1;\n position: relative;\n z-index: 1;\n}\n.scalar-api-client__item .scalar-api-client__toggle__icon {\n width: 10px;\n margin-right: 6px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n z-index: 1;\n position: relative;\n}\n.scalar-api-client__toggle:hover .scalar-api-client__toggle__icon {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__item__options {\n position: relative;\n z-index: 1;\n}\n.scalar-api-client__item__options span {\n background: transparent;\n padding: 2px 0;\n border-radius: 3px;\n font-size: var(--theme-small, var(--default-theme-small));\n pointer-events: none;\n color: var(--theme-color-2, var(--default-theme-color-2));\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.scalar-api-client__item__options:hover span {\n color: var(--theme-color-1, var(--default-theme-color-1));\n border-color: currentColor;\n}\n.scalar-api-client__item__options span svg {\n width: 15px;\n height: 15px;\n margin-left: 3px;\n}\n.scalar-api-client__item__options select {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n.scalar-api-client__item__content .scalar-api-client__codemirror__wrapper {\n padding-top: 0;\n}\n\n.table {\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n background: transparent;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n width: 100%;\n}\n.table-row {\n border-bottom: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n display: flex;\n position: relative;\n}\n.table-row__add {\n border-radius: 0 0 var(--theme-radius-lg, var(--default-theme-radius-lg))\n var(--theme-radius-lg, var(--default-theme-radius-lg));\n border-bottom: none;\n}\n.table-row.required-parameter .table-row-item:nth-of-type(2):after {\n content: 'Required';\n position: absolute;\n top: 4px;\n right: 0;\n padding: 5px 9px 5px 6px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-size: var(--theme-micro, var(--default-theme-micro));\n background: var(--theme-background-2, var(--default-theme-background-2));\n box-shadow: -2px 0 4px\n var(--theme-background-2, var(--default-theme-background-2));\n}\n.table-row.required-parameter\n .table-row-item:nth-of-type(2):focus-within:after {\n display: none;\n}\n.table-row:last-of-type {\n border-bottom: none;\n}\n.table-row__active {\n border-radius: 0 0 var(--theme-radius-lg, var(--default-theme-radius-lg))\n var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.table-row-drag {\n width: 20px;\n flex-shrink: 0;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n align-items: center;\n justify-content: center;\n display: none;\n}\n.table-row-drag svg {\n width: 6px;\n fill: var(--theme-color-3, var(--default-theme-color-3));\n}\n.table-row-drag .table-row-drag-add {\n width: 8px;\n}\n.table-row-item {\n width: 100%;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n}\n.table-row-item-menu {\n position: absolute;\n right: 6px;\n background: var(--theme-background-2, var(--default-theme-background-2));\n width: 24px;\n height: 24px;\n top: 50%;\n transform: translate3d(0, -50%, 0);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n cursor: pointer;\n}\n.table-row-item input:focus + .table-row-item-menu,\n.table-row-item:hover .table-row-item-menu {\n opacity: 1;\n}\n.table-row-item-menu svg {\n height: 12px;\n width: initial;\n fill: var(--theme-color-3, var(--default-theme-color-3));\n}\n.table-row-item-menu:hover svg {\n fill: var(--theme-color-1, var(--default-theme-color-1));\n}\n.table-row-item input {\n border: none;\n appearance: none;\n outline: none;\n padding: 9px;\n width: 100%;\n min-height: 100%;\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-micro, var(--default-theme-micro));\n background: transparent;\n font-family: var(--theme-font, var(--default-theme-font));\n}\n.table-row-item input[disabled] {\n background: transparent;\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n}\n.table-row-item input:focus {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1));\n}\n.table-row-item label {\n background: transparent;\n text-transform: uppercase;\n display: block;\n padding: 9px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: var(--theme-color-2, var(--default-theme-color-2));\n font-size: var(--theme-micro, var(--default-theme-micro));\n}\n.table-row-meta {\n overflow: hidden;\n flex-shrink: 0;\n transition: all 0.15s ease-in-out;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 51px;\n user-select: none;\n}\n.table-row-meta-check {\n width: 18px;\n height: 18px;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n background: rgba(47, 177, 228, 0.1);\n}\n.table-row-meta svg {\n width: 13px;\n height: 13px;\n margin: 0 1px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n cursor: pointer;\n}\n.table-row-meta svg:hover {\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.meta-check {\n display: flex;\n position: relative;\n cursor: pointer;\n align-items: center;\n font-size: var(--theme-micro, var(--default-theme-micro));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n user-select: none;\n margin: 0 1px;\n transition: all 0.15s ease-in-out;\n}\n.meta-check input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.meta-checkmark {\n height: 17px;\n width: 17px;\n background: var(--theme-background-3, var(--default-theme-background-3));\n border-radius: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.meta-checkmark:hover {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.meta-check:focus-within .meta-checkmark {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1));\n}\n.meta-check .meta-checkmark:after {\n content: '';\n display: none;\n width: 5px;\n height: 8px;\n border: solid var(--theme-color-1, var(--default-theme-color-1));\n border-width: 0 1.5px 1.5px 0;\n transform: rotate(45deg) translate3d(0, -1px, 0);\n}\n.meta-check input:checked ~ .meta-checkmark:after {\n display: block;\n}\n.meta-check input:checked ~ .meta-checkmark:hover {\n background: transparent;\n}\n\n.navtable {\n width: 100%;\n}\n.navtable-follow {\n background-color: black;\n color: white;\n font-size: 9px;\n padding: 6px;\n display: -webkit-box;\n max-width: 250px;\n -webkit-line-clamp: 12;\n border-radius: 3px;\n -webkit-box-orient: vertical;\n overflow: hidden;\n line-height: 1.24;\n transform: translate3d(10px, 0, 0);\n}\n.navtable-follow:after {\n content: '';\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 6px;\n background-color: black;\n}\n.navtable-follow * {\n font-family: var(\n --theme-font-code,\n var(--default-theme-font-code)\n ) !important;\n}\n.navtable-table {\n position: relative;\n display: flex;\n flex-direction: column;\n min-height: 389px;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-radios {\n z-index: 1;\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-item {\n display: flex;\n position: relative;\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-micro, var(--default-theme-micro));\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n.navtable-item:first-of-type {\n border-top: none;\n}\n.navtable-item > div {\n word-wrap: break-word;\n}\n.navtable-item > div:not(:first-child) {\n border-left: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-item-action {\n color: var(--theme-color-2, var(--default-theme-color-2));\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-weight: var(--theme-bold, var(--default-theme-bold));\n background: var(\n --scalar-api-client-bg3,\n var(--default-scalar-api-client-bg3)\n );\n border: none;\n border-radius: 30px;\n appearance: none;\n max-height: 25px;\n margin-left: 12px;\n margin-right: 6px;\n padding: 4px 8px;\n outline: none;\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.15s ease-in-out;\n white-space: nowrap;\n position: relative;\n}\n.navtable-item-action:hover {\n color: var(--theme-color-1, var(--default-theme-color-1));\n background: var(\n --scalar-api-client-gradient,\n var(--default-scalar-api-client-gradient)\n );\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-item-action:focus {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item:hover,\n.navtable-item:focus-within .navtable-item-action {\n opacity: 1;\n}\n.navtable-item-add {\n display: flex;\n align-items: center;\n padding: 9px;\n font-weight: var(--theme-bold, var(--default-theme-bold));\n outline: none;\n border: none;\n appearance: none;\n background: transparent;\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.navtable-item-add:hover {\n background: var(--theme-background-2, var(--default-theme-background-2));\n cursor: pointer;\n}\n.navtable-item-25 {\n width: 25%;\n font-size: var(--theme-micro, var(--default-theme-micro));\n display: flex;\n align-items: center;\n}\n.navtable-item-33 {\n width: 33.33333%;\n display: flex;\n font-size: var(--theme-micro, var(--default-theme-micro));\n align-items: center;\n}\n.navtable-item-66 {\n width: 66.6666%;\n display: flex;\n font-size: var(--theme-micro, var(--default-theme-micro));\n align-items: center;\n}\n.navtable-item-75 {\n width: 75%;\n display: flex;\n align-items: center;\n}\n.navtable-item-75:focus-within {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item-40 {\n width: 40%;\n display: flex;\n align-items: center;\n padding: 9px;\n}\n.navtable-item-20 {\n width: 20%;\n display: flex;\n align-items: center;\n padding: 9px;\n}\n.navtable-item-50 {\n width: 50%;\n display: flex;\n align-items: center;\n}\n.navtable-item-50:focus-within {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item p {\n padding: 9px;\n}\n.navtable-item input {\n padding: 12px 6px;\n border: none;\n outline: none;\n appearance: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n background: transparent;\n width: 100%;\n}\n.navtable-item input:focus {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item-select {\n position: relative;\n}\n.navtable-item-select select {\n background: transparent;\n outline: none;\n border: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n width: 100%;\n padding: 12px 6px;\n top: 0;\n position: relative;\n cursor: pointer;\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.navtable-item-select svg {\n position: absolute;\n right: 6px;\n color: var(--theme-color-ghost, var(--default-theme-color-ghost));\n width: 6px;\n top: 12px;\n pointer-events: none;\n}\n.navtable-item .option {\n padding: 12px 6px;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n}\n.navtable-item label {\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-transform: uppercase;\n display: block;\n width: 100%;\n}\n.navtable-item-response {\n padding: 0 9px;\n}\n.navtable-item-response span {\n font-size: var(--theme-micro, var(--default-theme-micro));\n display: flex;\n align-items: center;\n margin-right: 9px;\n min-width: 40px;\n}\n.scalar-api-client__status--1xx:before,\n.scalar-api-client__status--2xx:before,\n.scalar-api-client__status--3xx:before,\n.scalar-api-client__status--4xx:before,\n.scalar-api-client__status--5xx:before,\n.scalar-api-client__status--6xx:before {\n content: '';\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 4px;\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.scalar-api-client__status--2xx:before {\n background: var(--theme-color-green, var(--default-theme-color-green));\n}\n.scalar-api-client__status--3xx:before {\n background: var(--theme-color-orange, var(--default-theme-color-orange));\n}\n.scalar-api-client__status--4xx:before {\n background: var(--theme-color-red, var(--default-theme-color-red));\n}\n.navtable-item-response span:empty {\n display: none;\n}\n.simpletable.navtable {\n padding: 0;\n}\n.simpletable.navtable .navtable-item-66,\n.simpletable.navtable .navtable-item-33 {\n display: block;\n}\n.simpletable.navtable .navtable-table {\n height: fit-content;\n}\n.meta-delete {\n position: absolute;\n right: -9px;\n background: var(\n --theme-background-3,\n var(--default-theme-background-3)\n ) !important;\n height: 20px;\n width: 20px;\n border: none;\n outline: none;\n border-radius: 50%;\n opacity: 0;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.meta-delete svg {\n width: 11px;\n height: 11px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n.meta-delete:hover svg {\n color: var(--theme-color-red, var(--default-theme-color-red));\n}\n.meta-delete:focus svg {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.meta-delete:focus {\n border-color: var(--theme-color-1, var(--default-theme-color-1));\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.table-row:hover .meta-delete {\n opacity: 1;\n}\n@media (pointer: coarse) {\n.table-row:hover .meta-delete {\n opacity: 1;\n}\n}\n.meta-add {\n border: none;\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n appearance: none;\n padding: 9px;\n width: 100%;\n appearance: none;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-family: var(--theme-font, var(--default-theme-font));\n color: var(--theme-color-3, var(--default-theme-color-3));\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n.meta-add svg {\n width: 12px;\n height: 12px;\n margin-right: 6px;\n}\n.meta-add:hover,\n.meta-add:focus {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n\n.scalar-api-client-add {\n color: var(--theme-color-2, var(--default-theme-color-2));\n padding: 6px;\n width: fit-content;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n cursor: pointer;\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-decoration: none;\n margin: 0 6px;\n border: none;\n font-family: var(--theme-font);\n appearance: none;\n display: flex;\n align-items: center;\n}\n.scalar-api-client-add svg {\n width: 12px;\n height: 12px;\n margin-right: 6px;\n}\n.scalar-api-client-add:hover {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client-add:focus-within {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n\n.scalar-api-client__main__left {\n width: 50%;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n padding: 0 6px 12px 18px;\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main__left {\n width: 100%;\n border-right: none;\n padding: 0 0 12px 12px;\n}\n}\n.scalar-api-client__item__content {\n flex-flow: wrap;\n padding: 3px 9px 9px 9px;\n border-radius: 3px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-micro, var(--default-theme-micro));\n margin-top: -3px;\n justify-content: space-between;\n overflow: auto;\n}\n.scalar-api-client__item__content .scalar-api-client__codemirror__wrapper {\n width: 100%;\n min-height: 63px;\n}\n.scalar-api-client__item__content .cm-s-default {\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.scalar-api-client__item__content .scalar-api-client__item__content--code {\n width: 100%;\n max-height: calc(100vh - 200px);\n overflow: auto;\n}\n.scalar-api-client__item__content .cm-scroller {\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n border-radius: 3px;\n}\n.scalar-api-client__item__content .cm-editor {\n outline: none !important;\n}\n.scalar-api-client__item__content .cm-editor .cm-gutters {\n background: transparent;\n}\n.scalar-api-client__item__content .cm-scroll {\n background: transparent;\n}\n.scalar-api-client__item__content .cm-editor * {\n font-size: var(--theme-micro, var(--default-theme-micro));\n}\n.scalar-api-client__item__content .cm-editor .cm-line {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__item__content-button {\n appearance: none;\n border: none;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n ) !important;\n text-align: center;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-family: var(--theme-font, var(--default-theme-font));\n padding: 6px;\n width: fit-content;\n margin: 3px 3px 3px auto;\n text-transform: uppercase;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n color: white;\n cursor: pointer;\n text-align: center !important;\n position: relative;\n}\n.scalar-api-client__item__content-button span {\n position: relative;\n}\n.scalar-api-client__item__content-button:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n cursor: pointer;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));\n}\n.scalar-api-client__item__content-button:hover:before {\n background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));\n}\n.scalar-api-client__item__content__split {\n justify-content: space-between;\n}\n.scalar-collapsible-section-flex {\n width: 100%;\n}\n.input {\n background: transparent;\n position: relative;\n width: 100%;\n text-align: left;\n display: flex;\n box-shadow: 0 1px 0\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.input:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1)) !important;\n z-index: 10;\n}\n.input:first-of-type {\n border-radius: var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius)) 0 0;\n}\n.input:first-child:last-child {\n border-radius: var(--theme-radius, var(--default-theme-radius));\n}\n.input:last-child {\n box-shadow: none;\n border-radius: 0 0 var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius));\n}\n.input__half:first-of-type {\n border-radius: var(--theme-radius, var(--default-theme-radius)) 0 0 0;\n}\n.input__half:nth-of-type(2) {\n border-radius: 0 var(--theme-radius, var(--default-theme-radius)) 0 0;\n}\n.authentication-form {\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n border-radius: var(--theme-radius, var(--default-theme-radius));\n width: 100%;\n display: flex;\n flex-flow: wrap;\n}\n.input__half {\n width: 50%;\n}\n.input__half + .input__half {\n border-left: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.input__half:focus-within {\n border-color: transparent;\n}\n.input label,\n.input input {\n padding: 9px;\n border: 0;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-2, var(--default-theme-color-2));\n width: 100%;\n background: transparent;\n appearance: none;\n -webkit-appearance: none;\n left: 0;\n}\n.input label {\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: fit-content;\n padding-right: 0;\n white-space: nowrap;\n cursor: text;\n}\n.input input {\n position: relative;\n z-index: 99;\n}\n.input input:not(:placeholder-shown) + label {\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.select {\n background: --theme-background-1;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n font-size: var(--theme-micro, var(--default-theme-micro));\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n width: 100%;\n position: relative;\n margin-bottom: 6px;\n}\n.select:focus-within {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.select:hover {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.select svg {\n position: absolute;\n right: 9px;\n pointer-events: none;\n color: var(--theme-color-2, var(--default-theme-color-2));\n width: 6px;\n top: 10px;\n}\n.select label {\n display: block;\n font-size: 10px;\n color: var(--theme-color-2, var(--default-theme-color-2));\n position: absolute;\n left: 9px;\n top: 6px;\n}\n.select select {\n background: transparent;\n outline: none;\n border: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n padding: 14px 9px 4px 9px;\n top: 0;\n position: relative;\n cursor: pointer;\n}\n.check {\n display: flex;\n position: relative;\n cursor: pointer;\n align-items: center;\n font-size: var(--theme-micro, var(--default-theme-micro));\n padding: 6px 9px;\n border-radius: 0 0 var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius));\n user-select: none;\n width: 100%;\n outline: none;\n}\n.check:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1));\n}\n.checkmark:hover {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.check:focus-within {\n border-color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.check p {\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n.check input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.checkmark {\n height: 17px;\n width: 17px;\n background: var(--theme-background-3, var(--default-theme-background-3));\n margin-right: 10px;\n border-radius: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.check input:checked ~ p {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.check .checkmark:after {\n content: '';\n display: none;\n width: 5px;\n height: 8px;\n border: solid var(--theme-color-1, var(--default-theme-color-1));\n border-width: 0 1.5px 1.5px 0;\n transform: rotate(45deg) translate3d(0, -1px, 0);\n}\n.check input:checked ~ .checkmark:after {\n display: block;\n}\n.scalar-api-client__main__scroll-container {\n height: calc(100vh - 320px);\n}\n.scalar-api-client__request-name {\n outline: none;\n border: none;\n appearance: none;\n -webkit-appearance: none;\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-small, var(--default-theme-small));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: var(--theme-color-3, var(--default-theme-color-3));\n width: 100%;\n padding: 0;\n background: transparent;\n font-family: var(--theme-font, var(--default-theme-font));\n}\n.scalar-api-client__request-name::-webkit-input-placeholder {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n.scalar-api-client__request-name:-ms-input-placeholder {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n.scalar-api-client__request-name::placeholder {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n\na[data-v-ffc7287f] {\n color: var(--theme-color-3, var(--default-theme-color-3));\n text-decoration: underline;\n text-decoration-color: var(\n --theme-border-color,\n var(--default-theme-border-color)\n );\n text-underline-offset: 2px;\n cursor: help;\n}\n\n.simple-cell[data-v-b99d5e90] {\n all: unset;\n display: table-cell;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n padding: 9px !important;\n color: var(--theme-color-1, var(--default-theme-color-1));\n white-space: nowrap;\n}\n.simple-cell a[data-v-b99d5e90] {\n color: var(--theme-color-1, var(--default-theme-color-1)) !important;\n}\n.simple-cell[data-v-b99d5e90]:last-of-type {\n border-right: none;\n}\n.simple-cell.wrap[data-v-b99d5e90] {\n white-space: normal;\n}\n.simple-cell.strong[data-v-b99d5e90] {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n\n.simple-header[data-v-6bd3700b] {\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-transform: uppercase;\n}\n\n.simple-row[data-v-e7e681a1] {\n all: unset;\n display: table-row;\n box-shadow: 0 -1px var(--theme-border-color, var(--default-theme-border-color));\n}\n.simple-row[data-v-e7e681a1]:first-of-type {\n box-shadow: none;\n}\n\n.simple-table[data-v-8f53a32f] {\n all: unset;\n display: table;\n width: 100%;\n border-spacing: 0;\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n border-radius: var(--theme-radius, var(--default-theme-radius));\n}\n\n.scalar-api-client__main__right {\n width: 50%;\n padding: 0 6px 12px 18px;\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main__right {\n width: 100%;\n border-right: none;\n padding: 0 0 12px 12px;\n}\n}\n.scalar-api-client__main__right :deep(.scalar-copilot__header-button) {\n position: absolute;\n top: 6px;\n right: 12px;\n}\n\n.scalar-api-client,\n#headlessui-portal-root {\n background: var(--theme-background-1, var(--default-theme-background-1));\n position: relative;\n height: 100%;\n overflow: hidden !important;\n display: flex;\n flex-direction: column;\n font-family: var(--theme-font, var(--default-theme-font));\n\n /** Make sure box-sizing is set properly. */\n box-sizing: border-box;\n*,\n *:before,\n *:after {\n box-sizing: inherit;\n}\n}\n.scalar-api-client {\n flex: 1;\n max-height: 100vh;\n}\n@media screen and (max-width: 1000px) {\n.scalar-api-client {\n width: 100%;\n}\n}\n.scalar-api-client pre {\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n}\n.scalar-api-client__mobile-navigation {\n padding: 12px 12px 0 12px;\n display: flex;\n font-size: var(--theme-small, var(--default-theme-small));\n color: var(--theme-color-2, var(--default-theme-color-2));\n font-weight: var(--theme-bold, var(--default-theme-bold));\n}\n.scalar-api-client__mobile-navigation__toggle {\n appearance: none;\n border: none;\n outline: none;\n background: transparent;\n font-size: var(--theme-font-size-2);\n color: var(--theme-color-2);\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-family: var(--theme-font, var(--default-theme-font));\n padding: 0;\n margin-right: 9px;\n cursor: pointer;\n}\n.scalar-api-client__mobile-navigation--active {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__mobile-navigation--active:hover {\n cursor: pointer;\n}\n.scalar-api-client__main {\n display: flex;\n height: 100%;\n min-height: 0;\n background: var(--theme-background-1, var(--default-theme-background-1));\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main {\n flex-direction: column;\n}\n}\n\n/** TODO: Consider to make a Column component */\n.scalar-api-client__main__content {\n padding: 12px 6px;\n background: var(--theme-background-1, var(--default-theme-background-1));\n top: 0;\n position: sticky;\n z-index: 100;\n}\n.scalar-api-client__main__content label {\n font-size: var(--theme-small, var(--default-theme-small));\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n display: flex;\n align-items: center;\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main__content {\n padding: 3px 0 12px 0;\n}\n.scalar-api-client__main__content label {\n display: none;\n}\n}\n.meta {\n display: flex;\n margin-top: 3px;\n font-size: var(--theme-font-size-2, var(--default-theme-font-size-2));\n font-weight: var(--theme-font-size-2, var(--default-theme-font-size-2));\n color: var(\n --scalar-api-client-color2,\n var(--default-scalar-api-client-color2)\n );\n}\n.meta-item svg {\n fill: var(--theme-color-ghost, var(--default-theme-color-ghost));\n height: 14px;\n width: 14px;\n margin-right: 6px;\n}\n.meta-item {\n display: flex;\n align-items: center;\n margin-right: 12px;\n white-space: nowrap;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-size: var(--theme-small, var(--default-theme-small));\n color: var(--theme-color-3, var(--default-theme-color-3));\n min-height: 17px;\n}\n.meta-item__input {\n background: transparent;\n width: 100%;\n margin-right: 0;\n}\n.types {\n margin: auto;\n width: 580px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-flow: wrap;\n}\n.types-heading {\n width: 100%;\n text-align: center;\n}\n.types-heading b {\n font-size: 42px;\n}\n.types-heading p {\n margin-bottom: 20px;\n margin-top: 12px;\n font-size: 24px;\n}\n.scalar-api-client__empty-state {\n border: 1px dashed\n var(--theme-border-color, var(--default-theme-border-color));\n width: 100%;\n text-align: center;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n font-size: var(--theme-small, var(--default-theme-small));\n min-height: 58px;\n display: flex;\n align-items: center;\n justify-content: center;\n}"));
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900');@import url('https://fonts.googleapis.com/css?family=JetBrains%20Mono');\n\n:root {\n --default-theme-border-width: 1px;\n --default-theme-radius: 3px;\n --default-theme-radius-lg: 6px;\n --default-theme-radius-xl: 8px;\n\n --default-theme-header-height: 50px;\n --default-theme-sidebar-width: 250px;\n --default-theme-toc-width: 250px;\n\n /* TYPOGRAPHY ------------------------------------ */\n --default-theme-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n --default-theme-font-code: 'JetBrains Mono', ui-monospace, Menlo, Monaco,\n 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', 'Oxygen Mono',\n 'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono', 'Droid Sans Mono',\n 'Courier New', monospace;\n\n /** Font sizes for rendered text content (editor styles or static content) */\n --default-theme-heading-1: 40px; /* Editor Page heading */\n --default-theme-page-description: 24px;\n --default-theme-heading-2: 24px; /* Editor section headings */\n --default-theme-heading-3: 20px;\n --default-theme-heading-4: 16px;\n --default-theme-heading-5: 16px;\n --default-theme-heading-6: 16px;\n\n --default-theme-paragraph: 16px;\n --default-theme-small: 14px;\n --default-theme-mini: 13px;\n --default-theme-micro: 12px;\n --default-theme-bold: 600;\n --default-theme-semibold: 500;\n --default-theme-regular: 400;\n\n /* Font sizes for interactive applications (not rendered text content) */\n --default-theme-font-size-1: 24px;\n --default-theme-font-size-2: 16px;\n --default-theme-font-size-3: 14px;\n --default-theme-font-size-4: 13px;\n --default-theme-font-size-5: 12px;\n\n --default-theme-line-height-1: 32px;\n --default-theme-line-height-2: 24px;\n --default-theme-line-height-3: 20px;\n --default-theme-line-height-4: 18px;\n --default-theme-line-height-5: 16px;\n\n --default-theme-font-medium: 500;\n --default-theme-font-bold: 700;\n}\n@media (max-width: 460px) {\n :root {\n --default-theme-font-size-1: 22px;\n --default-theme-font-size-2: 14px;\n --default-theme-font-size-3: 12px;\n }\n}\n@media (max-width: 720px) {\n :root {\n --default-theme-heading-1: 24px;\n --default-theme-page-description: 20px;\n }\n}\n.cm-scroller,\n.custom-scroll {\n overflow-y: scroll;\n scrollbar-color: transparent transparent;\n scrollbar-width: thin;\n -webkit-overflow-scrolling: touch;\n}\n.custom-scroll-self-contain-overflow {\n overscroll-behavior: contain;\n}\n.custom-scroll-extra-padding-right {\n padding-right: 12px !important;\n}\n@supports (-moz-appearance: none) {\n .cm-scroller,\n .custom-scroll {\n padding-right: 12px;\n }\n .custom-scroll-extra-padding-right {\n padding-right: 24px !important;\n }\n}\n.cm-scroller:hover,\n.custom-scroll:hover {\n scrollbar-color: var(\n --theme-scrollbar-color,\n var(--default-theme-scrollbar-color)\n )\n transparent;\n}\n.cm-scroller:hover::-webkit-scrollbar-thumb,\n.custom-scroll:hover::-webkit-scrollbar-thumb {\n background: var(\n --theme-scrollbar-color,\n var(--default-theme-scrollbar-color)\n );\n background-clip: content-box;\n border: 3px solid transparent;\n}\n.cm-scroller::-webkit-scrollbar-thumb:active,\n.custom-scroll::-webkit-scrollbar-thumb:active {\n background: var(\n --theme-scrollbar-color-active,\n var(--default-theme-scrollbar-color-active)\n );\n background-clip: content-box;\n border: 3px solid transparent;\n}\n.cm-scroller::-webkit-scrollbar-corner,\n.custom-scroll::-webkit-scrollbar-corner {\n background: transparent;\n}\n.cm-scroller::-webkit-scrollbar,\n.custom-scroll::-webkit-scrollbar {\n height: 12px;\n width: 12px;\n}\n.cm-scroller::-webkit-scrollbar-track,\n.custom-scroll::-webkit-scrollbar-track {\n background: transparent;\n}\n.cm-scroller::-webkit-scrollbar-thumb,\n.custom-scroll::-webkit-scrollbar-thumb {\n border-radius: 20px;\n background: transparent;\n background-clip: content-box;\n border: 3px solid transparent;\n}\n@media (pointer: coarse) {\n .cm-scroller,\n .custom-scroll {\n padding-right: 12px;\n }\n .custom-scroll-extra-padding-right {\n padding-right: 24px !important;\n }\n}\n\n.codemirror-container[data-v-36be7a0d] {\n width: 100%;\n height: 100%;\n padding-top: 4px;\n min-height: 76px;\n background: var(--theme-background-2, var(--default-theme-background-2));\n color: var(--theme-color-1, var(--default-theme-color-1));\n display: flex;\n align-items: stretch;\n}\n.copy-to-clipboard-button[data-v-36be7a0d] {\n background: red;\n}\n\n.codemirror {\n flex-grow: 1;\n max-width: 100%;\n cursor: text;\n font-size: var(--theme-small, var(--default-theme-small));\n /* Don't scale wide text on mobile because we let it scroll */\n -webkit-text-size-adjust: 100%;\n}\n.cm-focused {\n outline: none !important;\n}\n\n.modal-layout[data-v-e6a4a41b] {\n position: fixed;\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n z-index: 1001;\n background: rgba(0, 0, 0, 0.44);\n padding: 20px;\n opacity: 0;\n animation: modal-fade-e6a4a41b 0.2s forwards;\n}\n.modal-body[data-v-e6a4a41b] {\n padding: 24px 12px 18px 24px;\n max-height: calc(100vh - 240px);\n background: var(--theme-background-1, var(--default-theme-background-1));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n font-family: var(--theme-font, var(--default-theme-font));\n position: relative;\n}\n.modal[data-v-e6a4a41b] {\n margin: 80px auto 0;\n position: relative;\n background: var(--theme-background-2, var(--default-theme-background-2));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n text-align: left;\n line-height: 1.4;\n opacity: 0;\n transform: scale(0.98);\n animation: modal-pop-e6a4a41b 0.15s 0.15s forwards;\n display: flex;\n flex-direction: column;\n}\n.modal[data-v-e6a4a41b]:before {\n content: '';\n display: block;\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 0;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.dark-mode .modal[data-v-e6a4a41b]:before {\n background: #1a1a1a;\n}\n.light-mode .modal[data-v-e6a4a41b]:before {\n background: #fff;\n}\n.modal-content-history[data-v-e6a4a41b] {\n background: var(--theme-background-1, var(--default-theme-background-1));\n}\n.modal-content-history[data-v-e6a4a41b],\n.modal-content-large[data-v-e6a4a41b] {\n max-width: 800px;\n}\n.modal-content-normal[data-v-e6a4a41b] {\n max-width: 640px;\n}\n.modal-content-small[data-v-e6a4a41b] {\n max-width: 480px;\n}\n@keyframes modal-fade-e6a4a41b {\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}\n}\n@keyframes modal-pop-e6a4a41b {\n0% {\n opacity: 0;\n}\n100% {\n opacity: 1;\n transform: scale(1);\n}\n}\n.modal-header[data-v-e6a4a41b] {\n padding: 12px 24px;\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-font-size-4, var(--default-theme-font-size-4));\n text-align: left;\n font-weight: 600;\n margin: 0;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg))\n var(--theme-radius-lg, var(--default-theme-radius-lg)) 0 0;\n z-index: 1;\n}\n.modal-content-history .modal-header[data-v-e6a4a41b] {\n padding-bottom: 0;\n padding-top: 24px;\n}\n.modal-content-history .modal-body[data-v-e6a4a41b] {\n padding-top: 12px;\n}\n.modal-content-search[data-v-e6a4a41b] {\n max-width: 540px;\n}\n.modal-content-search .modal-body[data-v-e6a4a41b] {\n padding: 0;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n max-height: 440px;\n}\n\n.navtable-item-time[data-v-dd49a57f] {\n text-transform: capitalize;\n}\n.navtable-item__active[data-v-dd49a57f] {\n background: var(--theme-background-2, var(--default-theme-background-2));\n cursor: default;\n}\n\n.navtable-mock {\n background-repeat: repeat;\n width: 100%;\n background-size: 31px 31px;\n background-position: center 1px;\n flex: 1;\n position: relative;\n z-index: 0;\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n background: repeating-linear-gradient(\n var(--theme-background-1, var(--default-theme-background-1)),\n var(--theme-background-1, var(--default-theme-background-1)) 34.8px,\n var(--theme-border-color, var(--default-theme-border-color)) 34.8px,\n var(--theme-border-color, var(--default-theme-border-color)) 35.8px\n );\n}\n.navtable-mock .navtable-item {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n background: transparent;\n box-shadow: none;\n}\n.radio {\n height: 10px;\n max-width: 10px;\n width: 10px;\n max-height: 10px;\n background: transparent;\n border: var(--border, var(--default-border));\n flex-shrink: 0;\n margin-right: 6px;\n margin-left: 0;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n padding: 0;\n}\n.radio:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n}\n.navtable-item__active:before {\n content: '';\n display: block;\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1)) !important;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n}\n.navtable-item__active + .navtable-item {\n /* box-shadow: none; */\n}\n.radio.post {\n background: var(--theme-color-green, var(--default-theme-color-green));\n}\n.radio.delete {\n background: var(--theme-color-red, var(--default-theme-color-red));\n}\n.radio.patch {\n background: var(--theme-color-yellow, var(--default-theme-color-yellow));\n}\n.radio.get {\n background: var(--theme-color-blue, var(--default-theme-color-blue));\n}\n.radio.put {\n background: var(--theme-color-orange, var(--default-theme-color-orange));\n}\n.navtable-item-request span {\n border: none;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n display: block;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.navtable-item-request span em {\n text-transform: uppercase;\n font-style: normal;\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n font-size: var(--theme-micro, var(--default-theme-micro));\n margin-right: 6px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n\n.request-method-select[data-v-8e2122cd] {\n position: relative;\n display: flex;\n}\n.request-method-select select[data-v-8e2122cd] {\n border: none;\n outline: none;\n cursor: pointer;\n background: var(--theme-background-3, var(--default-theme-background-3));\n box-shadow: -2px 0 0 0\n var(--theme-background-3, var(--default-theme-background-3));\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n.request-method-select select[disabled][data-v-8e2122cd] {\n pointer-events: none;\n}\n.request-method[data-v-8e2122cd] {\n display: flex;\n align-items: center;\n color: var(--theme-color-3, var(--default-theme-color-3));\n appearance: none;\n -webkit-appearance: none;\n padding: 0 12px;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n}\n.request-method span[data-v-8e2122cd] {\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n font-size: 500;\n font-size: var(--theme-micro, var(--default-theme-micro));\n text-transform: uppercase;\n display: flex;\n align-items: center;\n}\n.request-method:not(.request-method--disabled) span[data-v-8e2122cd]:after {\n content: '';\n width: 7px;\n height: 7px;\n transform: rotate(45deg) translate3d(-2px, -2px, 0);\n display: block;\n margin-left: 6px;\n box-shadow: 1px 1px 0 currentColor;\n}\n.request-method i[data-v-8e2122cd] {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 6px;\n text-align: center;\n line-height: 18px;\n font-style: normal;\n flex-shrink: 0;\n display: inline-block;\n color: var(--theme-color-disabled, var(--default-theme-color-disabled));\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n}\n\n.api-client-url-variable {\n color: var(--scalar-api-client-color, var(--default-scalar-api-client-color));\n}\n\n.loader[data-v-2c897bdb] {\n position: absolute;\n z-index: 3;\n height: 2px;\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n animation: loading-2c897bdb 5s cubic-bezier(0, 0.5, 0.25, 1);\n}\n@keyframes loading-2c897bdb {\n0% {\n width: 0;\n}\n100% {\n width: 100%;\n}\n}\n.address-bar[data-v-2c897bdb] {\n width: 100%;\n padding: 12px 12px 10px 12px;\n display: flex;\n align-items: center;\n position: relative;\n background: var(--theme-background-1, var(--default-theme-background-1));\n}\n.url-form[data-v-2c897bdb] {\n display: flex;\n width: 100%;\n align-items: stretch;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.url-form[data-v-2c897bdb] .cm-content {\n display: flex;\n align-items: center;\n}\n.url-form-field[data-v-2c897bdb] {\n border-right: 0;\n background: var(--theme-background-2, var(--default-theme-background-2));\n border-radius: var(--theme-radius, var(--default-theme-radius)) 0 0\n var(--theme-radius, var(--default-theme-radius));\n display: flex;\n align-items: stretch;\n width: 100%;\n overflow: hidden;\n min-height: 31px;\n}\n.url-form-input[data-v-2c897bdb] {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.url-form-input[data-v-2c897bdb] {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n min-height: auto;\n padding-top: 0;\n}\n.history[data-v-2c897bdb] {\n appearance: none;\n -webkit-appearance: none;\n background: transparent;\n color: var(--theme-color-2, var(--default-theme-color-2));\n display: flex;\n align-items: center;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n height: 100%;\n}\n.send-button[type='submit'][data-v-2c897bdb] {\n font-size: var(--theme-micro, var(--default-theme-micro));\n letter-spacing: 0.25px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: white;\n border: none;\n white-space: nowrap;\n padding: 0 12px;\n text-transform: uppercase;\n cursor: pointer;\n outline: none;\n font-family: (--theme-font, var(--default-theme-font));\n border-radius: 0 var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius)) 0;\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n position: relative;\n /** #087f5b */\n display: flex;\n align-items: center;\n overflow: hidden;\n flex-shrink: 0;\n}\n.send-button[data-v-2c897bdb]:before {\n content: '';\n position: absolute;\n top: -5%;\n left: -5%;\n width: 110%;\n height: 110%;\n pointer-events: none;\n cursor: pointer;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));\n}\n.send-button[data-v-2c897bdb]:hover:before {\n background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));\n}\n.send-button svg[data-v-2c897bdb] {\n width: 12px;\n height: 12px;\n flex-shrink: 0;\n margin-right: 6px;\n position: relative;\n}\n.send-button span[data-v-2c897bdb] {\n position: relative;\n}\n@media screen and (max-width: 720px) {\n.history-toggle span[data-v-2c897bdb],\n .send-button span[data-v-2c897bdb] {\n display: none;\n}\n.history-toggle svg[data-v-2c897bdb],\n .send-button svg[data-v-2c897bdb] {\n margin-right: 0;\n}\n}\n.send-button[disabled][data-v-2c897bdb] {\n pointer-events: none;\n color: var(--theme-color-2, var(--default-theme-color-2));\n background: var(--theme-background-3, var(--default-theme-background-3));\n border: 1px solid var(--default-theme-border-color);\n}\n.history-toggle[data-v-2c897bdb] {\n padding: 0 12px;\n line-height: 30px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-micro, var(--default-theme-micro));\n letter-spacing: 0.125px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-transform: uppercase;\n height: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n white-space: nowrap;\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n margin-left: 12px;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n user-select: none;\n}\n.history-toggle[data-v-2c897bdb]:hover {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.history-toggle svg[data-v-2c897bdb] {\n height: 13px;\n width: 13px;\n margin-right: 6px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n.address-bar-content[data-v-2c897bdb] {\n width: 640px;\n height: 100%;\n background: var(--theme-background-1, var(--default-theme-background-1));\n position: fixed;\n top: 0;\n right: 0;\n z-index: 1000;\n transform: translate3d(640px, 0, 0);\n opacity: 0;\n transition:\n transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),\n opacity 0.01s ease-in-out 0.5s;\n pointer-events: none;\n}\n.address-bar--with-history[data-v-2c897bdb] {\n z-index: 100000;\n}\n.address-bar--with-history .address-bar-content[data-v-2c897bdb] {\n transform: translate3d(0, 0, 0);\n opacity: 1;\n pointer-events: all;\n transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);\n}\n.address-bar--with-history .address-bar-close[data-v-2c897bdb] {\n opacity: 1;\n pointer-events: all;\n cursor: pointer;\n}\n.address-bar-close[data-v-2c897bdb] {\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n pointer-events: none;\n opacity: 0;\n transition: all 0.1s ease-in-out;\n z-index: 1000;\n}\n\n.scalar-api-client__item {\n border-radius: var(--theme-radius, var(--default-theme-radius));\n margin-bottom: 6px;\n position: relative;\n}\n.scalar-api-client__item button {\n background-color: transparent;\n text-align: left;\n}\n.scalar-api-client__item:hover {\n cursor: pointer;\n}\n.scalar-api-client__toggle:after {\n content: '';\n position: absolute;\n bottom: -6.5px;\n width: 100%;\n height: 6px;\n left: 0;\n}\n.scalar-api-client__item--open .scalar-api-client__toggle:after {\n display: none;\n}\n.scalar-api-client__item:hover,\n.scalar-api-client__item--open {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.scalar-api-client__item--open .scalar-api-client__item__content {\n display: flex;\n}\n.scalar-api-client__item--open:hover {\n cursor: default;\n}\n.scalar-api-client__item--open .scalar-api-client__toggle__icon {\n transform: rotate(90deg);\n}\n.scalar-api-client__toggle {\n padding: 6px;\n min-height: 37px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: relative;\n width: 100%;\n appearance: none;\n outline: 0;\n border: none;\n font-family: (--theme-font, var(--default-theme-font));\n cursor: pointer;\n}\n.scalar-api-client__item .scalar-api-client__item__title {\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-small, var(--default-theme-small));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-family: (--theme-font, var(--default-theme-font));\n user-select: none;\n flex: 1;\n position: relative;\n z-index: 1;\n}\n.scalar-api-client__item .scalar-api-client__toggle__icon {\n width: 10px;\n margin-right: 6px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n z-index: 1;\n position: relative;\n}\n.scalar-api-client__toggle:hover .scalar-api-client__toggle__icon {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__item__options {\n position: relative;\n z-index: 1;\n}\n.scalar-api-client__item__options span {\n background: transparent;\n padding: 2px 0;\n border-radius: 3px;\n font-size: var(--theme-small, var(--default-theme-small));\n pointer-events: none;\n color: var(--theme-color-2, var(--default-theme-color-2));\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.scalar-api-client__item__options:hover span {\n color: var(--theme-color-1, var(--default-theme-color-1));\n border-color: currentColor;\n}\n.scalar-api-client__item__options span svg {\n width: 15px;\n height: 15px;\n margin-left: 3px;\n}\n.scalar-api-client__item__options select {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n.scalar-api-client__item__content .scalar-api-client__codemirror__wrapper {\n padding-top: 0;\n}\n\n.table {\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n background: transparent;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n width: 100%;\n}\n.table-row {\n border-bottom: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n display: flex;\n position: relative;\n}\n.table-row__add {\n border-radius: 0 0 var(--theme-radius-lg, var(--default-theme-radius-lg))\n var(--theme-radius-lg, var(--default-theme-radius-lg));\n border-bottom: none;\n}\n.table-row.required-parameter .table-row-item:nth-of-type(2):after {\n content: 'Required';\n position: absolute;\n top: 4px;\n right: 0;\n padding: 5px 9px 5px 6px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-size: var(--theme-micro, var(--default-theme-micro));\n background: var(--theme-background-2, var(--default-theme-background-2));\n box-shadow: -2px 0 4px\n var(--theme-background-2, var(--default-theme-background-2));\n}\n.table-row.required-parameter\n .table-row-item:nth-of-type(2):focus-within:after {\n display: none;\n}\n.table-row:last-of-type {\n border-bottom: none;\n}\n.table-row__active {\n border-radius: 0 0 var(--theme-radius-lg, var(--default-theme-radius-lg))\n var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.table-row-drag {\n width: 20px;\n flex-shrink: 0;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n align-items: center;\n justify-content: center;\n display: none;\n}\n.table-row-drag svg {\n width: 6px;\n fill: var(--theme-color-3, var(--default-theme-color-3));\n}\n.table-row-drag .table-row-drag-add {\n width: 8px;\n}\n.table-row-item {\n width: 100%;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n}\n.table-row-item-menu {\n position: absolute;\n right: 6px;\n background: var(--theme-background-2, var(--default-theme-background-2));\n width: 24px;\n height: 24px;\n top: 50%;\n transform: translate3d(0, -50%, 0);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n cursor: pointer;\n}\n.table-row-item input:focus + .table-row-item-menu,\n.table-row-item:hover .table-row-item-menu {\n opacity: 1;\n}\n.table-row-item-menu svg {\n height: 12px;\n width: initial;\n fill: var(--theme-color-3, var(--default-theme-color-3));\n}\n.table-row-item-menu:hover svg {\n fill: var(--theme-color-1, var(--default-theme-color-1));\n}\n.table-row-item input {\n border: none;\n appearance: none;\n outline: none;\n padding: 9px;\n width: 100%;\n min-height: 100%;\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-micro, var(--default-theme-micro));\n background: transparent;\n font-family: var(--theme-font, var(--default-theme-font));\n}\n.table-row-item input[disabled] {\n background: transparent;\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n}\n.table-row-item input:focus {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1));\n}\n.table-row-item label {\n background: transparent;\n text-transform: uppercase;\n display: block;\n padding: 9px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: var(--theme-color-2, var(--default-theme-color-2));\n font-size: var(--theme-micro, var(--default-theme-micro));\n}\n.table-row-meta {\n overflow: hidden;\n flex-shrink: 0;\n transition: all 0.15s ease-in-out;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 51px;\n user-select: none;\n}\n.table-row-meta-check {\n width: 18px;\n height: 18px;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n background: rgba(47, 177, 228, 0.1);\n}\n.table-row-meta svg {\n width: 13px;\n height: 13px;\n margin: 0 1px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n cursor: pointer;\n}\n.table-row-meta svg:hover {\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.meta-check {\n display: flex;\n position: relative;\n cursor: pointer;\n align-items: center;\n font-size: var(--theme-micro, var(--default-theme-micro));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n user-select: none;\n margin: 0 1px;\n transition: all 0.15s ease-in-out;\n}\n.meta-check input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.meta-checkmark {\n height: 17px;\n width: 17px;\n background: var(--theme-background-3, var(--default-theme-background-3));\n border-radius: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.meta-checkmark:hover {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.meta-check:focus-within .meta-checkmark {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1));\n}\n.meta-check .meta-checkmark:after {\n content: '';\n display: none;\n width: 5px;\n height: 8px;\n border: solid var(--theme-color-1, var(--default-theme-color-1));\n border-width: 0 1.5px 1.5px 0;\n transform: rotate(45deg) translate3d(0, -1px, 0);\n}\n.meta-check input:checked ~ .meta-checkmark:after {\n display: block;\n}\n.meta-check input:checked ~ .meta-checkmark:hover {\n background: transparent;\n}\n\n.navtable {\n width: 100%;\n}\n.navtable-follow {\n background-color: black;\n color: white;\n font-size: 9px;\n padding: 6px;\n display: -webkit-box;\n max-width: 250px;\n -webkit-line-clamp: 12;\n border-radius: 3px;\n -webkit-box-orient: vertical;\n overflow: hidden;\n line-height: 1.24;\n transform: translate3d(10px, 0, 0);\n}\n.navtable-follow:after {\n content: '';\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 6px;\n background-color: black;\n}\n.navtable-follow * {\n font-family: var(\n --theme-font-code,\n var(--default-theme-font-code)\n ) !important;\n}\n.navtable-table {\n position: relative;\n display: flex;\n flex-direction: column;\n min-height: 389px;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-radios {\n z-index: 1;\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-item {\n display: flex;\n position: relative;\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-micro, var(--default-theme-micro));\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n.navtable-item:first-of-type {\n border-top: none;\n}\n.navtable-item > div {\n word-wrap: break-word;\n}\n.navtable-item > div:not(:first-child) {\n border-left: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-item-action {\n color: var(--theme-color-2, var(--default-theme-color-2));\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-weight: var(--theme-bold, var(--default-theme-bold));\n background: var(\n --scalar-api-client-bg3,\n var(--default-scalar-api-client-bg3)\n );\n border: none;\n border-radius: 30px;\n appearance: none;\n max-height: 25px;\n margin-left: 12px;\n margin-right: 6px;\n padding: 4px 8px;\n outline: none;\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.15s ease-in-out;\n white-space: nowrap;\n position: relative;\n}\n.navtable-item-action:hover {\n color: var(--theme-color-1, var(--default-theme-color-1));\n background: var(\n --scalar-api-client-gradient,\n var(--default-scalar-api-client-gradient)\n );\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-item-action:focus {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item:hover,\n.navtable-item:focus-within .navtable-item-action {\n opacity: 1;\n}\n.navtable-item-add {\n display: flex;\n align-items: center;\n padding: 9px;\n font-weight: var(--theme-bold, var(--default-theme-bold));\n outline: none;\n border: none;\n appearance: none;\n background: transparent;\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.navtable-item-add:hover {\n background: var(--theme-background-2, var(--default-theme-background-2));\n cursor: pointer;\n}\n.navtable-item-25 {\n width: 25%;\n font-size: var(--theme-micro, var(--default-theme-micro));\n display: flex;\n align-items: center;\n}\n.navtable-item-33 {\n width: 33.33333%;\n display: flex;\n font-size: var(--theme-micro, var(--default-theme-micro));\n align-items: center;\n}\n.navtable-item-66 {\n width: 66.6666%;\n display: flex;\n font-size: var(--theme-micro, var(--default-theme-micro));\n align-items: center;\n}\n.navtable-item-75 {\n width: 75%;\n display: flex;\n align-items: center;\n}\n.navtable-item-75:focus-within {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item-40 {\n width: 40%;\n display: flex;\n align-items: center;\n padding: 9px;\n}\n.navtable-item-20 {\n width: 20%;\n display: flex;\n align-items: center;\n padding: 9px;\n}\n.navtable-item-50 {\n width: 50%;\n display: flex;\n align-items: center;\n}\n.navtable-item-50:focus-within {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item p {\n padding: 9px;\n}\n.navtable-item input {\n padding: 12px 6px;\n border: none;\n outline: none;\n appearance: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n background: transparent;\n width: 100%;\n}\n.navtable-item input:focus {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item-select {\n position: relative;\n}\n.navtable-item-select select {\n background: transparent;\n outline: none;\n border: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n width: 100%;\n padding: 12px 6px;\n top: 0;\n position: relative;\n cursor: pointer;\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.navtable-item-select svg {\n position: absolute;\n right: 6px;\n color: var(--theme-color-ghost, var(--default-theme-color-ghost));\n width: 6px;\n top: 12px;\n pointer-events: none;\n}\n.navtable-item .option {\n padding: 12px 6px;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n}\n.navtable-item label {\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-transform: uppercase;\n display: block;\n width: 100%;\n}\n.navtable-item-response {\n padding: 0 9px;\n}\n.navtable-item-response span {\n font-size: var(--theme-micro, var(--default-theme-micro));\n display: flex;\n align-items: center;\n margin-right: 9px;\n min-width: 40px;\n}\n.scalar-api-client__status--1xx:before,\n.scalar-api-client__status--2xx:before,\n.scalar-api-client__status--3xx:before,\n.scalar-api-client__status--4xx:before,\n.scalar-api-client__status--5xx:before,\n.scalar-api-client__status--6xx:before {\n content: '';\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 4px;\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.scalar-api-client__status--2xx:before {\n background: var(--theme-color-green, var(--default-theme-color-green));\n}\n.scalar-api-client__status--3xx:before {\n background: var(--theme-color-orange, var(--default-theme-color-orange));\n}\n.scalar-api-client__status--4xx:before {\n background: var(--theme-color-red, var(--default-theme-color-red));\n}\n.navtable-item-response span:empty {\n display: none;\n}\n.simpletable.navtable {\n padding: 0;\n}\n.simpletable.navtable .navtable-item-66,\n.simpletable.navtable .navtable-item-33 {\n display: block;\n}\n.simpletable.navtable .navtable-table {\n height: fit-content;\n}\n.meta-delete {\n position: absolute;\n right: -9px;\n background: var(\n --theme-background-3,\n var(--default-theme-background-3)\n ) !important;\n height: 20px;\n width: 20px;\n border: none;\n outline: none;\n border-radius: 50%;\n opacity: 0;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.meta-delete svg {\n width: 11px;\n height: 11px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n.meta-delete:hover svg {\n color: var(--theme-color-red, var(--default-theme-color-red));\n}\n.meta-delete:focus svg {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.meta-delete:focus {\n border-color: var(--theme-color-1, var(--default-theme-color-1));\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.table-row:hover .meta-delete {\n opacity: 1;\n}\n@media (pointer: coarse) {\n.table-row:hover .meta-delete {\n opacity: 1;\n}\n}\n.meta-actions-item {\n border: none;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n appearance: none;\n padding: 9px;\n width: 100%;\n appearance: none;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-family: var(--theme-font, var(--default-theme-font));\n color: var(--theme-color-3, var(--default-theme-color-3));\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 6px;\n}\n.meta-actions {\n width: 100%;\n display: flex;\n justify-content: space-between;\n}\n.meta-actions-item:nth-of-type(2) {\n display: flex;\n justify-content: flex-end;\n}\n.meta-actions-item:nth-of-type(2) i {\n filter: drop-shadow(0 0.125px 0 currentColor)\n drop-shadow(0 -0.125px 0 currentColor);\n}\n.meta-actions-item-icon {\n width: 12px;\n height: 12px;\n}\n.meta-actions-item:hover,\n.meta-actions-item:focus {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n\n.scalar-api-client-add {\n color: var(--theme-color-2, var(--default-theme-color-2));\n padding: 6px;\n width: fit-content;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n cursor: pointer;\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-decoration: none;\n margin: 0 6px;\n border: none;\n font-family: var(--theme-font);\n appearance: none;\n display: flex;\n align-items: center;\n}\n.scalar-api-client-add svg {\n width: 12px;\n height: 12px;\n margin-right: 6px;\n}\n.scalar-api-client-add:hover {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client-add:focus-within {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n\n.scalar-api-client__main__left {\n width: 50%;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n padding: 0 6px 12px 18px;\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main__left {\n width: 100%;\n border-right: none;\n padding: 0 0 12px 12px;\n}\n}\n.scalar-api-client__item__content {\n flex-flow: wrap;\n padding: 3px 9px 9px 9px;\n border-radius: 3px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-micro, var(--default-theme-micro));\n margin-top: -3px;\n justify-content: space-between;\n overflow: auto;\n}\n.scalar-api-client__item__content .scalar-api-client__codemirror__wrapper {\n width: 100%;\n min-height: 63px;\n}\n.scalar-api-client__item__content .cm-s-default {\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.scalar-api-client__item__content .scalar-api-client__item__content--code {\n width: 100%;\n max-height: calc(100vh - 200px);\n overflow: auto;\n}\n.scalar-api-client__item__content .cm-scroller {\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n border-radius: 3px;\n}\n.scalar-api-client__item__content .cm-editor {\n outline: none !important;\n}\n.scalar-api-client__item__content .cm-editor .cm-gutters {\n background: transparent;\n}\n.scalar-api-client__item__content .cm-scroll {\n background: transparent;\n}\n.scalar-api-client__item__content .cm-editor * {\n font-size: var(--theme-micro, var(--default-theme-micro));\n}\n.scalar-api-client__item__content .cm-editor .cm-line {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__item__content-button {\n appearance: none;\n border: none;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n ) !important;\n text-align: center;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-family: var(--theme-font, var(--default-theme-font));\n padding: 6px;\n width: fit-content;\n margin: 3px 3px 3px auto;\n text-transform: uppercase;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n color: white;\n cursor: pointer;\n text-align: center !important;\n position: relative;\n}\n.scalar-api-client__item__content-button span {\n position: relative;\n}\n.scalar-api-client__item__content-button:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n cursor: pointer;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));\n}\n.scalar-api-client__item__content-button:hover:before {\n background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));\n}\n.scalar-api-client__item__content__split {\n justify-content: space-between;\n}\n.scalar-collapsible-section-flex {\n width: 100%;\n}\n.input {\n background: transparent;\n position: relative;\n width: 100%;\n text-align: left;\n display: flex;\n box-shadow: 0 1px 0\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.input:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1)) !important;\n z-index: 10;\n}\n.input:first-of-type {\n border-radius: var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius)) 0 0;\n}\n.input:first-child:last-child {\n border-radius: var(--theme-radius, var(--default-theme-radius));\n}\n.input:last-child {\n box-shadow: none;\n border-radius: 0 0 var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius));\n}\n.input__half:first-of-type {\n border-radius: var(--theme-radius, var(--default-theme-radius)) 0 0 0;\n}\n.input__half:nth-of-type(2) {\n border-radius: 0 var(--theme-radius, var(--default-theme-radius)) 0 0;\n}\n.authentication-form {\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n border-radius: var(--theme-radius, var(--default-theme-radius));\n width: 100%;\n display: flex;\n flex-flow: wrap;\n}\n.input__half {\n width: 50%;\n}\n.input__half + .input__half {\n border-left: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.input__half:focus-within {\n border-color: transparent;\n}\n.input label,\n.input input {\n padding: 9px;\n border: 0;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-2, var(--default-theme-color-2));\n width: 100%;\n background: transparent;\n appearance: none;\n -webkit-appearance: none;\n left: 0;\n}\n.input label {\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: fit-content;\n padding-right: 0;\n white-space: nowrap;\n cursor: text;\n}\n.input input {\n position: relative;\n z-index: 99;\n}\n.input input:not(:placeholder-shown) + label {\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.select {\n background: --theme-background-1;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n font-size: var(--theme-micro, var(--default-theme-micro));\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n width: 100%;\n position: relative;\n margin-bottom: 6px;\n}\n.select:focus-within {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.select:hover {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.select svg {\n position: absolute;\n right: 9px;\n pointer-events: none;\n color: var(--theme-color-2, var(--default-theme-color-2));\n width: 6px;\n top: 10px;\n}\n.select label {\n display: block;\n font-size: 10px;\n color: var(--theme-color-2, var(--default-theme-color-2));\n position: absolute;\n left: 9px;\n top: 6px;\n}\n.select select {\n background: transparent;\n outline: none;\n border: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n padding: 14px 9px 4px 9px;\n top: 0;\n position: relative;\n cursor: pointer;\n}\n.check {\n display: flex;\n position: relative;\n cursor: pointer;\n align-items: center;\n font-size: var(--theme-micro, var(--default-theme-micro));\n padding: 6px 9px;\n border-radius: 0 0 var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius));\n user-select: none;\n width: 100%;\n outline: none;\n}\n.check:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1));\n}\n.checkmark:hover {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.check:focus-within {\n border-color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.check p {\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n.check input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.checkmark {\n height: 17px;\n width: 17px;\n background: var(--theme-background-3, var(--default-theme-background-3));\n margin-right: 10px;\n border-radius: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.check input:checked ~ p {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.check .checkmark:after {\n content: '';\n display: none;\n width: 5px;\n height: 8px;\n border: solid var(--theme-color-1, var(--default-theme-color-1));\n border-width: 0 1.5px 1.5px 0;\n transform: rotate(45deg) translate3d(0, -1px, 0);\n}\n.check input:checked ~ .checkmark:after {\n display: block;\n}\n.scalar-api-client__main__scroll-container {\n height: calc(100vh - 320px);\n}\n.scalar-api-client__request-name {\n outline: none;\n border: none;\n appearance: none;\n -webkit-appearance: none;\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-small, var(--default-theme-small));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: var(--theme-color-3, var(--default-theme-color-3));\n width: 100%;\n padding: 0;\n background: transparent;\n font-family: var(--theme-font, var(--default-theme-font));\n}\n.scalar-api-client__request-name::-webkit-input-placeholder {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n.scalar-api-client__request-name:-ms-input-placeholder {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n.scalar-api-client__request-name::placeholder {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n\na[data-v-ffc7287f] {\n color: var(--theme-color-3, var(--default-theme-color-3));\n text-decoration: underline;\n text-decoration-color: var(\n --theme-border-color,\n var(--default-theme-border-color)\n );\n text-underline-offset: 2px;\n cursor: help;\n}\n\n.simple-cell[data-v-b99d5e90] {\n all: unset;\n display: table-cell;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n padding: 9px !important;\n color: var(--theme-color-1, var(--default-theme-color-1));\n white-space: nowrap;\n}\n.simple-cell a[data-v-b99d5e90] {\n color: var(--theme-color-1, var(--default-theme-color-1)) !important;\n}\n.simple-cell[data-v-b99d5e90]:last-of-type {\n border-right: none;\n}\n.simple-cell.wrap[data-v-b99d5e90] {\n white-space: normal;\n}\n.simple-cell.strong[data-v-b99d5e90] {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n\n.simple-header[data-v-6bd3700b] {\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-transform: uppercase;\n}\n\n.simple-row[data-v-e7e681a1] {\n all: unset;\n display: table-row;\n box-shadow: 0 -1px var(--theme-border-color, var(--default-theme-border-color));\n}\n.simple-row[data-v-e7e681a1]:first-of-type {\n box-shadow: none;\n}\n\n.simple-table[data-v-8f53a32f] {\n all: unset;\n display: table;\n width: 100%;\n border-spacing: 0;\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n border-radius: var(--theme-radius, var(--default-theme-radius));\n}\n\n.scalar-api-client__main__right {\n width: 50%;\n padding: 0 6px 12px 18px;\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main__right {\n width: 100%;\n border-right: none;\n padding: 0 0 12px 12px;\n}\n}\n.scalar-api-client__main__right :deep(.scalar-copilot__header-button) {\n position: absolute;\n top: 6px;\n right: 12px;\n}\n\n.scalar-api-client,\n#headlessui-portal-root {\n background: var(--theme-background-1, var(--default-theme-background-1));\n position: relative;\n height: 100%;\n overflow: hidden !important;\n display: flex;\n flex-direction: column;\n font-family: var(--theme-font, var(--default-theme-font));\n\n /** Make sure box-sizing is set properly. */\n box-sizing: border-box;\n*,\n *:before,\n *:after {\n box-sizing: inherit;\n}\n}\n.scalar-api-client {\n flex: 1;\n max-height: 100vh;\n}\n@media screen and (max-width: 1000px) {\n.scalar-api-client {\n width: 100%;\n}\n}\n.scalar-api-client pre {\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n}\n.scalar-api-client__mobile-navigation {\n padding: 12px 12px 0 12px;\n display: flex;\n font-size: var(--theme-small, var(--default-theme-small));\n color: var(--theme-color-2, var(--default-theme-color-2));\n font-weight: var(--theme-bold, var(--default-theme-bold));\n}\n.scalar-api-client__mobile-navigation__toggle {\n appearance: none;\n border: none;\n outline: none;\n background: transparent;\n font-size: var(--theme-font-size-2);\n color: var(--theme-color-2);\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-family: var(--theme-font, var(--default-theme-font));\n padding: 0;\n margin-right: 9px;\n cursor: pointer;\n}\n.scalar-api-client__mobile-navigation--active {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__mobile-navigation--active:hover {\n cursor: pointer;\n}\n.scalar-api-client__main {\n display: flex;\n height: 100%;\n min-height: 0;\n background: var(--theme-background-1, var(--default-theme-background-1));\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main {\n flex-direction: column;\n}\n}\n\n/** TODO: Consider to make a Column component */\n.scalar-api-client__main__content {\n padding: 12px 6px;\n background: var(--theme-background-1, var(--default-theme-background-1));\n top: 0;\n position: sticky;\n z-index: 100;\n}\n.scalar-api-client__main__content label {\n font-size: var(--theme-small, var(--default-theme-small));\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n display: flex;\n align-items: center;\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main__content {\n padding: 3px 0 12px 0;\n}\n.scalar-api-client__main__content label {\n display: none;\n}\n}\n.meta {\n display: flex;\n margin-top: 3px;\n font-size: var(--theme-font-size-2, var(--default-theme-font-size-2));\n font-weight: var(--theme-font-size-2, var(--default-theme-font-size-2));\n color: var(\n --scalar-api-client-color2,\n var(--default-scalar-api-client-color2)\n );\n}\n.meta-item svg {\n fill: var(--theme-color-ghost, var(--default-theme-color-ghost));\n height: 14px;\n width: 14px;\n margin-right: 6px;\n}\n.meta-item {\n display: flex;\n align-items: center;\n margin-right: 12px;\n white-space: nowrap;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-size: var(--theme-small, var(--default-theme-small));\n color: var(--theme-color-3, var(--default-theme-color-3));\n min-height: 17px;\n}\n.meta-item__input {\n background: transparent;\n width: 100%;\n margin-right: 0;\n}\n.types {\n margin: auto;\n width: 580px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-flow: wrap;\n}\n.types-heading {\n width: 100%;\n text-align: center;\n}\n.types-heading b {\n font-size: 42px;\n}\n.types-heading p {\n margin-bottom: 20px;\n margin-top: 12px;\n font-size: 24px;\n}\n.scalar-api-client__empty-state {\n border: 1px dashed\n var(--theme-border-color, var(--default-theme-border-color));\n width: 100%;\n text-align: center;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n font-size: var(--theme-small, var(--default-theme-small));\n min-height: 58px;\n display: flex;\n align-items: center;\n justify-content: center;\n}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
@@ -16,10 +16,9 @@ var __publicField = (obj, key, value) => {
|
|
|
16
16
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
17
17
|
return value;
|
|
18
18
|
};
|
|
19
|
-
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, unref, createCommentVNode,
|
|
19
|
+
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, unref, createCommentVNode, reactive, readonly, ref, computed, normalizeStyle, renderSlot, normalizeProps, guardReactiveProps, watch, onBeforeUnmount, toValue as toValue$1, toRef, createElementBlock, createElementVNode, createVNode, normalizeClass, Fragment, renderList, createStaticVNode, pushScopeId, popScopeId, withDirectives, withModifiers, vModelSelect, vModelText, vModelCheckbox, defineAsyncComponent, h, vShow, toRaw, withKeys } from "vue";
|
|
20
20
|
import { Dialog, DialogPanel, DialogTitle, DialogDescription, Disclosure, DisclosureButton, DisclosurePanel, TabGroup, TabList, Tab, TabPanels, TabPanel } from "@headlessui/vue";
|
|
21
|
-
import { useMediaQuery } from "@vueuse/core";
|
|
22
|
-
import TimeAgo from "javascript-time-ago";
|
|
21
|
+
import { useMagicKeys, whenever, useMediaQuery } from "@vueuse/core";
|
|
23
22
|
import axios from "axios";
|
|
24
23
|
import { nanoid } from "nanoid";
|
|
25
24
|
import prettyBytes from "pretty-bytes";
|
|
@@ -71,72 +70,6 @@ const getThemeById = (themeId = "default") => {
|
|
|
71
70
|
}
|
|
72
71
|
return presets[themeId] ?? defaultTheme;
|
|
73
72
|
};
|
|
74
|
-
function useActive() {
|
|
75
|
-
const isActive = ref(true);
|
|
76
|
-
onMounted(() => isActive.value = true);
|
|
77
|
-
onActivated(() => isActive.value = true);
|
|
78
|
-
onDeactivated(() => isActive.value = false);
|
|
79
|
-
return {
|
|
80
|
-
isActive: computed(() => isActive.value)
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
function useKeyboardEvent({
|
|
84
|
-
element,
|
|
85
|
-
keyList,
|
|
86
|
-
handler,
|
|
87
|
-
type = "keydown",
|
|
88
|
-
withShift = false,
|
|
89
|
-
withCtrlCmd = false,
|
|
90
|
-
withAlt = false,
|
|
91
|
-
ignoreInputElements = false,
|
|
92
|
-
active = () => true
|
|
93
|
-
}) {
|
|
94
|
-
const targetEl = computed(() => (element == null ? void 0 : element.value) || "document");
|
|
95
|
-
const { isActive: componentIsActive } = useActive();
|
|
96
|
-
const keys = keyList.map((k) => k.toLocaleLowerCase());
|
|
97
|
-
const eventHandler = (event) => {
|
|
98
|
-
const target = event.target;
|
|
99
|
-
const isInput = ["INPUT", "TEXTAREA", "SELECT"].includes(target.tagName) || target.contentEditable;
|
|
100
|
-
if (
|
|
101
|
-
// Check if the component is active (e.g. in a `<keepalive>`)
|
|
102
|
-
(componentIsActive.value && // Check for command or ctrl keys
|
|
103
|
-
withCtrlCmd ? event.ctrlKey || event.metaKey : !event.ctrlKey && !event.metaKey) && // Check for shift key
|
|
104
|
-
(withShift ? event.shiftKey : !event.shiftKey) && // Check for alt key
|
|
105
|
-
(withAlt ? event.altKey : !event.altKey) && // Check whether or not to ignore inputs
|
|
106
|
-
(!ignoreInputElements || !isInput) && // Check for key match
|
|
107
|
-
keys.includes(event.key.toLocaleLowerCase()) && // Check if it’s currently active
|
|
108
|
-
active()
|
|
109
|
-
) {
|
|
110
|
-
event.preventDefault();
|
|
111
|
-
handler(event);
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
onMounted(() => {
|
|
115
|
-
watch(
|
|
116
|
-
targetEl,
|
|
117
|
-
(value, prevValue) => {
|
|
118
|
-
const prevTarget = prevValue === "document" ? document : prevValue;
|
|
119
|
-
if (prevTarget) {
|
|
120
|
-
prevTarget.removeEventListener(type, eventHandler);
|
|
121
|
-
}
|
|
122
|
-
const target = value === "document" ? document : value;
|
|
123
|
-
if (target) {
|
|
124
|
-
target.addEventListener(type, eventHandler);
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{ immediate: true }
|
|
128
|
-
);
|
|
129
|
-
});
|
|
130
|
-
const keyboardShortcut = {
|
|
131
|
-
keyList,
|
|
132
|
-
withShift,
|
|
133
|
-
withCtrlCmd,
|
|
134
|
-
withAlt
|
|
135
|
-
};
|
|
136
|
-
return {
|
|
137
|
-
keyboardShortcut
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
73
|
function defaultState() {
|
|
141
74
|
return {
|
|
142
75
|
showApiClient: false,
|
|
@@ -3436,8 +3369,8 @@ class EditorState {
|
|
|
3436
3369
|
for (let i = 1; i < sel.ranges.length; i++) {
|
|
3437
3370
|
let result = f(sel.ranges[i]);
|
|
3438
3371
|
let newChanges = this.changes(result.changes), newMapped = newChanges.map(changes);
|
|
3439
|
-
for (let
|
|
3440
|
-
ranges[
|
|
3372
|
+
for (let j2 = 0; j2 < i; j2++)
|
|
3373
|
+
ranges[j2] = ranges[j2].map(newMapped);
|
|
3441
3374
|
let mapBy = changes.mapDesc(newChanges, true);
|
|
3442
3375
|
ranges.push(result.range.map(mapBy));
|
|
3443
3376
|
changes = changes.compose(newMapped);
|
|
@@ -3577,11 +3510,11 @@ class EditorState {
|
|
|
3577
3510
|
break;
|
|
3578
3511
|
}
|
|
3579
3512
|
if (insert2.length)
|
|
3580
|
-
phrase = phrase.replace(/\$(\$|\d*)/g, (
|
|
3513
|
+
phrase = phrase.replace(/\$(\$|\d*)/g, (m2, i) => {
|
|
3581
3514
|
if (i == "$")
|
|
3582
3515
|
return "$";
|
|
3583
3516
|
let n = +(i || 1);
|
|
3584
|
-
return !n || n > insert2.length ?
|
|
3517
|
+
return !n || n > insert2.length ? m2 : insert2[n - 1];
|
|
3585
3518
|
});
|
|
3586
3519
|
return phrase;
|
|
3587
3520
|
}
|
|
@@ -4566,24 +4499,24 @@ class StyleSet {
|
|
|
4566
4499
|
}
|
|
4567
4500
|
mount(modules) {
|
|
4568
4501
|
let sheet = this.sheet;
|
|
4569
|
-
let pos = 0,
|
|
4502
|
+
let pos = 0, j2 = 0;
|
|
4570
4503
|
for (let i = 0; i < modules.length; i++) {
|
|
4571
4504
|
let mod = modules[i], index = this.modules.indexOf(mod);
|
|
4572
|
-
if (index <
|
|
4505
|
+
if (index < j2 && index > -1) {
|
|
4573
4506
|
this.modules.splice(index, 1);
|
|
4574
|
-
|
|
4507
|
+
j2--;
|
|
4575
4508
|
index = -1;
|
|
4576
4509
|
}
|
|
4577
4510
|
if (index == -1) {
|
|
4578
|
-
this.modules.splice(
|
|
4511
|
+
this.modules.splice(j2++, 0, mod);
|
|
4579
4512
|
if (sheet)
|
|
4580
4513
|
for (let k = 0; k < mod.rules.length; k++)
|
|
4581
4514
|
sheet.insertRule(mod.rules[k], pos++);
|
|
4582
4515
|
} else {
|
|
4583
|
-
while (
|
|
4584
|
-
pos += this.modules[
|
|
4516
|
+
while (j2 < index)
|
|
4517
|
+
pos += this.modules[j2++].rules.length;
|
|
4585
4518
|
pos += mod.rules.length;
|
|
4586
|
-
|
|
4519
|
+
j2++;
|
|
4587
4520
|
}
|
|
4588
4521
|
}
|
|
4589
4522
|
if (!sheet) {
|
|
@@ -5679,13 +5612,13 @@ function inlineDOMAtPos(parent, pos) {
|
|
|
5679
5612
|
break;
|
|
5680
5613
|
off = end;
|
|
5681
5614
|
}
|
|
5682
|
-
for (let
|
|
5683
|
-
let prev = children[
|
|
5615
|
+
for (let j2 = i; j2 > 0; j2--) {
|
|
5616
|
+
let prev = children[j2 - 1];
|
|
5684
5617
|
if (prev.dom.parentNode == dom)
|
|
5685
5618
|
return prev.domAtPos(prev.length);
|
|
5686
5619
|
}
|
|
5687
|
-
for (let
|
|
5688
|
-
let next = children[
|
|
5620
|
+
for (let j2 = i; j2 < children.length; j2++) {
|
|
5621
|
+
let next = children[j2];
|
|
5689
5622
|
if (next.dom.parentNode == dom)
|
|
5690
5623
|
return next.domAtPos(0);
|
|
5691
5624
|
}
|
|
@@ -5826,8 +5759,8 @@ class LineView extends ContentView {
|
|
|
5826
5759
|
this.children[i].merge(off, this.children[i].length, null, false, 0, 0);
|
|
5827
5760
|
i++;
|
|
5828
5761
|
}
|
|
5829
|
-
for (let
|
|
5830
|
-
end.append(this.children[
|
|
5762
|
+
for (let j2 = i; j2 < this.children.length; j2++)
|
|
5763
|
+
end.append(this.children[j2], 0);
|
|
5831
5764
|
while (i > 0 && this.children[i - 1].length == 0)
|
|
5832
5765
|
this.children[--i].destroy();
|
|
5833
5766
|
this.children.length = i;
|
|
@@ -6557,8 +6490,8 @@ function computeCharTypes(line, rFrom, rTo, isolates, outerType) {
|
|
|
6557
6490
|
while (end < to && types$1[end] == 64)
|
|
6558
6491
|
end++;
|
|
6559
6492
|
let replace = i && prev == 8 || end < rTo && types$1[end] == 8 ? prevStrong == 1 ? 1 : 8 : 256;
|
|
6560
|
-
for (let
|
|
6561
|
-
types$1[
|
|
6493
|
+
for (let j2 = i; j2 < end; j2++)
|
|
6494
|
+
types$1[j2] = replace;
|
|
6562
6495
|
i = end - 1;
|
|
6563
6496
|
} else if (type == 8 && prevStrong == 1) {
|
|
6564
6497
|
types$1[i] = 1;
|
|
@@ -6634,12 +6567,12 @@ function processNeutrals(rFrom, rTo, isolates, outerType) {
|
|
|
6634
6567
|
let beforeL = prev == 1;
|
|
6635
6568
|
let afterL = (end < rTo ? types$1[end] : outerType) == 1;
|
|
6636
6569
|
let replace = beforeL == afterL ? beforeL ? 1 : 2 : outerType;
|
|
6637
|
-
for (let
|
|
6638
|
-
if (
|
|
6639
|
-
|
|
6570
|
+
for (let j2 = end, jI = iI, fromJ = jI ? isolates[jI - 1].to : rFrom; j2 > i; ) {
|
|
6571
|
+
if (j2 == fromJ) {
|
|
6572
|
+
j2 = isolates[--jI].from;
|
|
6640
6573
|
fromJ = jI ? isolates[jI - 1].to : rFrom;
|
|
6641
6574
|
}
|
|
6642
|
-
types$1[--
|
|
6575
|
+
types$1[--j2] = replace;
|
|
6643
6576
|
}
|
|
6644
6577
|
i = end;
|
|
6645
6578
|
} else {
|
|
@@ -6979,16 +6912,16 @@ const scrollMargins = /* @__PURE__ */ Facet.define();
|
|
|
6979
6912
|
function getScrollMargins(view) {
|
|
6980
6913
|
let left = 0, right = 0, top2 = 0, bottom = 0;
|
|
6981
6914
|
for (let source of view.state.facet(scrollMargins)) {
|
|
6982
|
-
let
|
|
6983
|
-
if (
|
|
6984
|
-
if (
|
|
6985
|
-
left = Math.max(left,
|
|
6986
|
-
if (
|
|
6987
|
-
right = Math.max(right,
|
|
6988
|
-
if (
|
|
6989
|
-
top2 = Math.max(top2,
|
|
6990
|
-
if (
|
|
6991
|
-
bottom = Math.max(bottom,
|
|
6915
|
+
let m2 = source(view);
|
|
6916
|
+
if (m2) {
|
|
6917
|
+
if (m2.left != null)
|
|
6918
|
+
left = Math.max(left, m2.left);
|
|
6919
|
+
if (m2.right != null)
|
|
6920
|
+
right = Math.max(right, m2.right);
|
|
6921
|
+
if (m2.top != null)
|
|
6922
|
+
top2 = Math.max(top2, m2.top);
|
|
6923
|
+
if (m2.bottom != null)
|
|
6924
|
+
bottom = Math.max(bottom, m2.bottom);
|
|
6992
6925
|
}
|
|
6993
6926
|
}
|
|
6994
6927
|
return { left, right, top: top2, bottom };
|
|
@@ -7005,17 +6938,17 @@ class ChangedRange {
|
|
|
7005
6938
|
return new ChangedRange(Math.min(this.fromA, other.fromA), Math.max(this.toA, other.toA), Math.min(this.fromB, other.fromB), Math.max(this.toB, other.toB));
|
|
7006
6939
|
}
|
|
7007
6940
|
addToSet(set) {
|
|
7008
|
-
let i = set.length,
|
|
6941
|
+
let i = set.length, me2 = this;
|
|
7009
6942
|
for (; i > 0; i--) {
|
|
7010
6943
|
let range = set[i - 1];
|
|
7011
|
-
if (range.fromA >
|
|
6944
|
+
if (range.fromA > me2.toA)
|
|
7012
6945
|
continue;
|
|
7013
|
-
if (range.toA <
|
|
6946
|
+
if (range.toA < me2.fromA)
|
|
7014
6947
|
break;
|
|
7015
|
-
|
|
6948
|
+
me2 = me2.join(range);
|
|
7016
6949
|
set.splice(i - 1, 1);
|
|
7017
6950
|
}
|
|
7018
|
-
set.splice(i, 0,
|
|
6951
|
+
set.splice(i, 0, me2);
|
|
7019
6952
|
return set;
|
|
7020
6953
|
}
|
|
7021
6954
|
static extendWithRanges(diff, ranges) {
|
|
@@ -7816,8 +7749,8 @@ function domPosInText(node, x, y) {
|
|
|
7816
7749
|
let closestOffset = -1, closestDY = 1e9, generalSide = 0;
|
|
7817
7750
|
for (let i = 0; i < len; i++) {
|
|
7818
7751
|
let rects = textRange(node, i, i + 1).getClientRects();
|
|
7819
|
-
for (let
|
|
7820
|
-
let rect = rects[
|
|
7752
|
+
for (let j2 = 0; j2 < rects.length; j2++) {
|
|
7753
|
+
let rect = rects[j2];
|
|
7821
7754
|
if (rect.top == rect.bottom)
|
|
7822
7755
|
continue;
|
|
7823
7756
|
if (!generalSide)
|
|
@@ -8815,12 +8748,12 @@ class HeightOracle {
|
|
|
8815
8748
|
mustRefreshForHeights(lineHeights) {
|
|
8816
8749
|
let newHeight = false;
|
|
8817
8750
|
for (let i = 0; i < lineHeights.length; i++) {
|
|
8818
|
-
let
|
|
8819
|
-
if (
|
|
8751
|
+
let h2 = lineHeights[i];
|
|
8752
|
+
if (h2 < 0) {
|
|
8820
8753
|
i++;
|
|
8821
|
-
} else if (!this.heightSamples[Math.floor(
|
|
8754
|
+
} else if (!this.heightSamples[Math.floor(h2 * 10)]) {
|
|
8822
8755
|
newHeight = true;
|
|
8823
|
-
this.heightSamples[Math.floor(
|
|
8756
|
+
this.heightSamples[Math.floor(h2 * 10)] = true;
|
|
8824
8757
|
}
|
|
8825
8758
|
}
|
|
8826
8759
|
return newHeight;
|
|
@@ -8836,11 +8769,11 @@ class HeightOracle {
|
|
|
8836
8769
|
if (changed) {
|
|
8837
8770
|
this.heightSamples = {};
|
|
8838
8771
|
for (let i = 0; i < knownHeights.length; i++) {
|
|
8839
|
-
let
|
|
8840
|
-
if (
|
|
8772
|
+
let h2 = knownHeights[i];
|
|
8773
|
+
if (h2 < 0)
|
|
8841
8774
|
i++;
|
|
8842
8775
|
else
|
|
8843
|
-
this.heightSamples[Math.floor(
|
|
8776
|
+
this.heightSamples[Math.floor(h2 * 10)] = true;
|
|
8844
8777
|
}
|
|
8845
8778
|
}
|
|
8846
8779
|
return changed;
|
|
@@ -8948,11 +8881,11 @@ class HeightMap {
|
|
|
8948
8881
|
result.push(this);
|
|
8949
8882
|
}
|
|
8950
8883
|
applyChanges(decorations2, oldDoc, oracle, changes) {
|
|
8951
|
-
let
|
|
8884
|
+
let me2 = this, doc2 = oracle.doc;
|
|
8952
8885
|
for (let i = changes.length - 1; i >= 0; i--) {
|
|
8953
8886
|
let { fromA, toA, fromB, toB } = changes[i];
|
|
8954
|
-
let start2 =
|
|
8955
|
-
let end = start2.to >= toA ? start2 :
|
|
8887
|
+
let start2 = me2.lineAt(fromA, QueryType.ByPosNoHeight, oracle.setDoc(oldDoc), 0, 0);
|
|
8888
|
+
let end = start2.to >= toA ? start2 : me2.lineAt(toA, QueryType.ByPosNoHeight, oracle, 0, 0);
|
|
8956
8889
|
toB += end.to - toA;
|
|
8957
8890
|
toA = end.to;
|
|
8958
8891
|
while (i > 0 && start2.from <= changes[i - 1].toA) {
|
|
@@ -8960,14 +8893,14 @@ class HeightMap {
|
|
|
8960
8893
|
fromB = changes[i - 1].fromB;
|
|
8961
8894
|
i--;
|
|
8962
8895
|
if (fromA < start2.from)
|
|
8963
|
-
start2 =
|
|
8896
|
+
start2 = me2.lineAt(fromA, QueryType.ByPosNoHeight, oracle, 0, 0);
|
|
8964
8897
|
}
|
|
8965
8898
|
fromB += start2.from - fromA;
|
|
8966
8899
|
fromA = start2.from;
|
|
8967
8900
|
let nodes = NodeBuilder.build(oracle.setDoc(doc2), decorations2, fromB, toB);
|
|
8968
|
-
|
|
8901
|
+
me2 = me2.replace(fromA, toA, nodes);
|
|
8969
8902
|
}
|
|
8970
|
-
return
|
|
8903
|
+
return me2.updateHeight(oracle, 0);
|
|
8971
8904
|
}
|
|
8972
8905
|
static empty() {
|
|
8973
8906
|
return new HeightMapText(0, 0);
|
|
@@ -8979,24 +8912,24 @@ class HeightMap {
|
|
|
8979
8912
|
static of(nodes) {
|
|
8980
8913
|
if (nodes.length == 1)
|
|
8981
8914
|
return nodes[0];
|
|
8982
|
-
let i = 0,
|
|
8915
|
+
let i = 0, j2 = nodes.length, before = 0, after = 0;
|
|
8983
8916
|
for (; ; ) {
|
|
8984
|
-
if (i ==
|
|
8917
|
+
if (i == j2) {
|
|
8985
8918
|
if (before > after * 2) {
|
|
8986
8919
|
let split = nodes[i - 1];
|
|
8987
8920
|
if (split.break)
|
|
8988
8921
|
nodes.splice(--i, 1, split.left, null, split.right);
|
|
8989
8922
|
else
|
|
8990
8923
|
nodes.splice(--i, 1, split.left, split.right);
|
|
8991
|
-
|
|
8924
|
+
j2 += 1 + split.break;
|
|
8992
8925
|
before -= split.size;
|
|
8993
8926
|
} else if (after > before * 2) {
|
|
8994
|
-
let split = nodes[
|
|
8927
|
+
let split = nodes[j2];
|
|
8995
8928
|
if (split.break)
|
|
8996
|
-
nodes.splice(
|
|
8929
|
+
nodes.splice(j2, 1, split.left, null, split.right);
|
|
8997
8930
|
else
|
|
8998
|
-
nodes.splice(
|
|
8999
|
-
|
|
8931
|
+
nodes.splice(j2, 1, split.left, split.right);
|
|
8932
|
+
j2 += 2 + split.break;
|
|
9000
8933
|
after -= split.size;
|
|
9001
8934
|
} else {
|
|
9002
8935
|
break;
|
|
@@ -9006,7 +8939,7 @@ class HeightMap {
|
|
|
9006
8939
|
if (next)
|
|
9007
8940
|
before += next.size;
|
|
9008
8941
|
} else {
|
|
9009
|
-
let next = nodes[--
|
|
8942
|
+
let next = nodes[--j2];
|
|
9010
8943
|
if (next)
|
|
9011
8944
|
after += next.size;
|
|
9012
8945
|
}
|
|
@@ -9017,9 +8950,9 @@ class HeightMap {
|
|
|
9017
8950
|
i--;
|
|
9018
8951
|
} else if (nodes[i] == null) {
|
|
9019
8952
|
brk = 1;
|
|
9020
|
-
|
|
8953
|
+
j2++;
|
|
9021
8954
|
}
|
|
9022
|
-
return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(
|
|
8955
|
+
return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(j2)));
|
|
9023
8956
|
}
|
|
9024
8957
|
}
|
|
9025
8958
|
HeightMap.prototype.size = 1;
|
|
@@ -10037,12 +9970,12 @@ const lightDarkIDs = { "&light": "." + baseLightID, "&dark": "." + baseDarkID };
|
|
|
10037
9970
|
function buildTheme(main, spec, scopes) {
|
|
10038
9971
|
return new StyleModule(spec, {
|
|
10039
9972
|
finish(sel) {
|
|
10040
|
-
return /&/.test(sel) ? sel.replace(/&\w*/, (
|
|
10041
|
-
if (
|
|
9973
|
+
return /&/.test(sel) ? sel.replace(/&\w*/, (m2) => {
|
|
9974
|
+
if (m2 == "&")
|
|
10042
9975
|
return main;
|
|
10043
|
-
if (!scopes || !scopes[
|
|
10044
|
-
throw new RangeError(`Unsupported selector: ${
|
|
10045
|
-
return scopes[
|
|
9976
|
+
if (!scopes || !scopes[m2])
|
|
9977
|
+
throw new RangeError(`Unsupported selector: ${m2}`);
|
|
9978
|
+
return scopes[m2];
|
|
10046
9979
|
}) : main + " " + sel;
|
|
10047
9980
|
}
|
|
10048
9981
|
});
|
|
@@ -10335,13 +10268,13 @@ class DOMReader {
|
|
|
10335
10268
|
if (point.node == node)
|
|
10336
10269
|
point.pos = this.text.length + Math.min(point.offset, text.length);
|
|
10337
10270
|
for (let off = 0, re = this.lineSeparator ? null : /\r\n?|\n/g; ; ) {
|
|
10338
|
-
let nextBreak = -1, breakSize = 1,
|
|
10271
|
+
let nextBreak = -1, breakSize = 1, m2;
|
|
10339
10272
|
if (this.lineSeparator) {
|
|
10340
10273
|
nextBreak = text.indexOf(this.lineSeparator, off);
|
|
10341
10274
|
breakSize = this.lineSeparator.length;
|
|
10342
|
-
} else if (
|
|
10343
|
-
nextBreak =
|
|
10344
|
-
breakSize =
|
|
10275
|
+
} else if (m2 = re.exec(text)) {
|
|
10276
|
+
nextBreak = m2.index;
|
|
10277
|
+
breakSize = m2[0].length;
|
|
10345
10278
|
}
|
|
10346
10279
|
this.append(text.slice(off, nextBreak < 0 ? text.length : nextBreak));
|
|
10347
10280
|
if (nextBreak < 0)
|
|
@@ -10491,7 +10424,7 @@ function applyDOMChange(view, domChange) {
|
|
|
10491
10424
|
view.inputState.composing++;
|
|
10492
10425
|
let defaultTr;
|
|
10493
10426
|
let defaultInsert = () => defaultTr || (defaultTr = applyDefaultInsert(view, change, newSel));
|
|
10494
|
-
if (!view.state.facet(inputHandler).some((
|
|
10427
|
+
if (!view.state.facet(inputHandler).some((h2) => h2(view, change.from, change.to, text, defaultInsert)))
|
|
10495
10428
|
view.dispatch(defaultInsert());
|
|
10496
10429
|
return true;
|
|
10497
10430
|
} else if (newSel && !newSel.main.eq(sel)) {
|
|
@@ -10638,7 +10571,7 @@ class DOMObserver {
|
|
|
10638
10571
|
this.observer = new MutationObserver((mutations) => {
|
|
10639
10572
|
for (let mut of mutations)
|
|
10640
10573
|
this.queue.push(mut);
|
|
10641
|
-
if ((browser.ie && browser.ie_version <= 11 || browser.ios && view.composing) && mutations.some((
|
|
10574
|
+
if ((browser.ie && browser.ie_version <= 11 || browser.ios && view.composing) && mutations.some((m2) => m2.type == "childList" && m2.removedNodes.length || m2.type == "characterData" && m2.oldValue.length > m2.target.nodeValue.length))
|
|
10642
10575
|
this.flushSoon();
|
|
10643
10576
|
else
|
|
10644
10577
|
this.flush();
|
|
@@ -11334,9 +11267,9 @@ class EditorView {
|
|
|
11334
11267
|
let measuring = [];
|
|
11335
11268
|
if (!(changed & 4))
|
|
11336
11269
|
[this.measureRequests, measuring] = [measuring, this.measureRequests];
|
|
11337
|
-
let measured = measuring.map((
|
|
11270
|
+
let measured = measuring.map((m2) => {
|
|
11338
11271
|
try {
|
|
11339
|
-
return
|
|
11272
|
+
return m2.read(this);
|
|
11340
11273
|
} catch (e) {
|
|
11341
11274
|
logException(this.state, e);
|
|
11342
11275
|
return BadMeasure;
|
|
@@ -11358,9 +11291,9 @@ class EditorView {
|
|
|
11358
11291
|
for (let i2 = 0; i2 < measuring.length; i2++)
|
|
11359
11292
|
if (measured[i2] != BadMeasure) {
|
|
11360
11293
|
try {
|
|
11361
|
-
let
|
|
11362
|
-
if (
|
|
11363
|
-
|
|
11294
|
+
let m2 = measuring[i2];
|
|
11295
|
+
if (m2.write)
|
|
11296
|
+
m2.write(measured[i2], this);
|
|
11364
11297
|
} catch (e) {
|
|
11365
11298
|
logException(this.state, e);
|
|
11366
11299
|
}
|
|
@@ -12136,10 +12069,10 @@ if (CanHidePrimary) {
|
|
|
12136
12069
|
}
|
|
12137
12070
|
function iterMatches(doc2, re, from2, to, f) {
|
|
12138
12071
|
re.lastIndex = 0;
|
|
12139
|
-
for (let cursor = doc2.iterRange(from2, to), pos = from2,
|
|
12072
|
+
for (let cursor = doc2.iterRange(from2, to), pos = from2, m2; !cursor.next().done; pos += cursor.value.length) {
|
|
12140
12073
|
if (!cursor.lineBreak)
|
|
12141
|
-
while (
|
|
12142
|
-
f(pos +
|
|
12074
|
+
while (m2 = re.exec(cursor.value))
|
|
12075
|
+
f(pos + m2.index, m2);
|
|
12143
12076
|
}
|
|
12144
12077
|
}
|
|
12145
12078
|
function matchRanges(view, maxLength) {
|
|
@@ -12190,7 +12123,7 @@ class MatchDecorator {
|
|
|
12190
12123
|
createDeco(view) {
|
|
12191
12124
|
let build = new RangeSetBuilder(), add = build.add.bind(build);
|
|
12192
12125
|
for (let { from: from2, to } of matchRanges(view, this.maxLength))
|
|
12193
|
-
iterMatches(view.state.doc, this.regexp, from2, to, (from3,
|
|
12126
|
+
iterMatches(view.state.doc, this.regexp, from2, to, (from3, m2) => this.addMatch(m2, view, from3, add));
|
|
12194
12127
|
return build.finish();
|
|
12195
12128
|
}
|
|
12196
12129
|
/**
|
|
@@ -12231,14 +12164,14 @@ class MatchDecorator {
|
|
|
12231
12164
|
break;
|
|
12232
12165
|
}
|
|
12233
12166
|
}
|
|
12234
|
-
let ranges = [],
|
|
12167
|
+
let ranges = [], m2;
|
|
12235
12168
|
let add = (from3, to2, deco2) => ranges.push(deco2.range(from3, to2));
|
|
12236
12169
|
if (fromLine == toLine) {
|
|
12237
12170
|
this.regexp.lastIndex = start2 - fromLine.from;
|
|
12238
|
-
while ((
|
|
12239
|
-
this.addMatch(
|
|
12171
|
+
while ((m2 = this.regexp.exec(fromLine.text)) && m2.index < end - fromLine.from)
|
|
12172
|
+
this.addMatch(m2, view, m2.index + fromLine.from, add);
|
|
12240
12173
|
} else {
|
|
12241
|
-
iterMatches(view.state.doc, this.regexp, start2, end, (from3,
|
|
12174
|
+
iterMatches(view.state.doc, this.regexp, start2, end, (from3, m3) => this.addMatch(m3, view, from3, add));
|
|
12242
12175
|
}
|
|
12243
12176
|
deco = deco.update({ filterFrom: start2, filterTo: end, filter: (from3, to2) => from3 < start2 || to2 > end, add: ranges });
|
|
12244
12177
|
}
|
|
@@ -12607,7 +12540,7 @@ const lineNumberGutter = /* @__PURE__ */ activeGutters.compute([lineNumberConfig
|
|
|
12607
12540
|
return view.state.facet(lineNumberMarkers);
|
|
12608
12541
|
},
|
|
12609
12542
|
lineMarker(view, line, others) {
|
|
12610
|
-
if (others.some((
|
|
12543
|
+
if (others.some((m2) => m2.toDOM))
|
|
12611
12544
|
return null;
|
|
12612
12545
|
return new NumberMarker(formatNumber(view, view.state.doc.lineAt(line.from).number));
|
|
12613
12546
|
},
|
|
@@ -13097,11 +13030,11 @@ class TreeBuffer {
|
|
|
13097
13030
|
slice(startI, endI, from2) {
|
|
13098
13031
|
let b = this.buffer;
|
|
13099
13032
|
let copy = new Uint16Array(endI - startI), len = 0;
|
|
13100
|
-
for (let i = startI,
|
|
13101
|
-
copy[
|
|
13102
|
-
copy[
|
|
13103
|
-
let to = copy[
|
|
13104
|
-
copy[
|
|
13033
|
+
for (let i = startI, j2 = 0; i < endI; ) {
|
|
13034
|
+
copy[j2++] = b[i++];
|
|
13035
|
+
copy[j2++] = b[i++] - from2;
|
|
13036
|
+
let to = copy[j2++] = b[i++] - from2;
|
|
13037
|
+
copy[j2++] = b[i++] - startI;
|
|
13105
13038
|
len = Math.max(len, to);
|
|
13106
13039
|
}
|
|
13107
13040
|
return new TreeBuffer(copy, len, this.set);
|
|
@@ -13953,11 +13886,11 @@ function buildTree(data) {
|
|
|
13953
13886
|
if (nodeCount) {
|
|
13954
13887
|
let buffer2 = new Uint16Array(nodeCount * 4);
|
|
13955
13888
|
let start2 = nodes[nodes.length - 2];
|
|
13956
|
-
for (let i = nodes.length - 3,
|
|
13957
|
-
buffer2[
|
|
13958
|
-
buffer2[
|
|
13959
|
-
buffer2[
|
|
13960
|
-
buffer2[
|
|
13889
|
+
for (let i = nodes.length - 3, j2 = 0; i >= 0; i -= 3) {
|
|
13890
|
+
buffer2[j2++] = nodes[i];
|
|
13891
|
+
buffer2[j2++] = nodes[i + 1] - start2;
|
|
13892
|
+
buffer2[j2++] = nodes[i + 2] - start2;
|
|
13893
|
+
buffer2[j2++] = j2;
|
|
13961
13894
|
}
|
|
13962
13895
|
children2.push(new TreeBuffer(buffer2, nodes[2] - start2, nodeSet2));
|
|
13963
13896
|
positions2.push(start2 - parentStart);
|
|
@@ -14390,7 +14323,7 @@ class MixedParse {
|
|
|
14390
14323
|
enter = false;
|
|
14391
14324
|
} else if (fragmentCursor.hasNode(cursor)) {
|
|
14392
14325
|
if (overlay) {
|
|
14393
|
-
let match2 = overlay.mounts.find((
|
|
14326
|
+
let match2 = overlay.mounts.find((m2) => m2.frag.from <= cursor.from && m2.frag.to >= cursor.to && m2.mount.overlay);
|
|
14394
14327
|
if (match2)
|
|
14395
14328
|
for (let r2 of match2.mount.overlay) {
|
|
14396
14329
|
let from2 = r2.from + match2.pos, to = r2.to + match2.pos;
|
|
@@ -14581,10 +14514,10 @@ let FragmentCursor$1 = class FragmentCursor {
|
|
|
14581
14514
|
};
|
|
14582
14515
|
function punchRanges(outer, ranges) {
|
|
14583
14516
|
let copy = null, current = ranges;
|
|
14584
|
-
for (let i = 1,
|
|
14517
|
+
for (let i = 1, j2 = 0; i < outer.length; i++) {
|
|
14585
14518
|
let gapFrom = outer[i - 1].to, gapTo = outer[i].from;
|
|
14586
|
-
for (;
|
|
14587
|
-
let r2 = current[
|
|
14519
|
+
for (; j2 < current.length; j2++) {
|
|
14520
|
+
let r2 = current[j2];
|
|
14588
14521
|
if (r2.from >= gapTo)
|
|
14589
14522
|
break;
|
|
14590
14523
|
if (r2.to <= gapFrom)
|
|
@@ -14592,13 +14525,13 @@ function punchRanges(outer, ranges) {
|
|
|
14592
14525
|
if (!copy)
|
|
14593
14526
|
current = copy = ranges.slice();
|
|
14594
14527
|
if (r2.from < gapFrom) {
|
|
14595
|
-
copy[
|
|
14528
|
+
copy[j2] = new Range2(r2.from, gapFrom);
|
|
14596
14529
|
if (r2.to > gapTo)
|
|
14597
|
-
copy.splice(
|
|
14530
|
+
copy.splice(j2 + 1, 0, new Range2(gapTo, r2.to));
|
|
14598
14531
|
} else if (r2.to > gapTo) {
|
|
14599
|
-
copy[
|
|
14532
|
+
copy[j2--] = new Range2(gapTo, r2.to);
|
|
14600
14533
|
} else {
|
|
14601
|
-
copy.splice(
|
|
14534
|
+
copy.splice(j2--, 1);
|
|
14602
14535
|
}
|
|
14603
14536
|
}
|
|
14604
14537
|
}
|
|
@@ -14721,8 +14654,8 @@ class Modifier {
|
|
|
14721
14654
|
if (exists)
|
|
14722
14655
|
return exists;
|
|
14723
14656
|
let set = [], tag = new Tag(set, base2, mods);
|
|
14724
|
-
for (let
|
|
14725
|
-
|
|
14657
|
+
for (let m2 of mods)
|
|
14658
|
+
m2.instances.push(tag);
|
|
14726
14659
|
let configs = powerSet(mods);
|
|
14727
14660
|
for (let parent of base2.set)
|
|
14728
14661
|
if (!parent.modified.length)
|
|
@@ -14737,8 +14670,8 @@ function sameArray(a, b) {
|
|
|
14737
14670
|
function powerSet(array2) {
|
|
14738
14671
|
let sets = [[]];
|
|
14739
14672
|
for (let i = 0; i < array2.length; i++) {
|
|
14740
|
-
for (let
|
|
14741
|
-
sets.push(sets[
|
|
14673
|
+
for (let j2 = 0, e = sets.length; j2 < e; j2++) {
|
|
14674
|
+
sets.push(sets[j2].concat(array2[i]));
|
|
14742
14675
|
}
|
|
14743
14676
|
}
|
|
14744
14677
|
return sets.sort((a, b) => b.length - a.length);
|
|
@@ -14757,11 +14690,11 @@ function styleTags(spec) {
|
|
|
14757
14690
|
mode = 1;
|
|
14758
14691
|
break;
|
|
14759
14692
|
}
|
|
14760
|
-
let
|
|
14761
|
-
if (!
|
|
14693
|
+
let m2 = /^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(rest);
|
|
14694
|
+
if (!m2)
|
|
14762
14695
|
throw new RangeError("Invalid path: " + part);
|
|
14763
|
-
pieces.push(
|
|
14764
|
-
pos +=
|
|
14696
|
+
pieces.push(m2[0] == "*" ? "" : m2[0][0] == '"' ? JSON.parse(m2[0]) : m2[0]);
|
|
14697
|
+
pos += m2[0].length;
|
|
14765
14698
|
if (pos == part.length)
|
|
14766
14699
|
break;
|
|
14767
14700
|
let next = part[pos++];
|
|
@@ -14874,7 +14807,7 @@ class HighlightBuilder {
|
|
|
14874
14807
|
if (start2 >= to || end <= from2)
|
|
14875
14808
|
return;
|
|
14876
14809
|
if (type.isTop)
|
|
14877
|
-
highlighters = this.highlighters.filter((
|
|
14810
|
+
highlighters = this.highlighters.filter((h2) => !h2.scope || h2.scope(type));
|
|
14878
14811
|
let cls = inheritedClass;
|
|
14879
14812
|
let rule = getStyleTags(cursor) || Rule.empty;
|
|
14880
14813
|
let tagCls = highlightTags(highlighters, rule.tags);
|
|
@@ -14891,7 +14824,7 @@ class HighlightBuilder {
|
|
|
14891
14824
|
let mounted = cursor.tree && cursor.tree.prop(NodeProp.mounted);
|
|
14892
14825
|
if (mounted && mounted.overlay) {
|
|
14893
14826
|
let inner = cursor.node.enter(mounted.overlay[0].from + start2, 1);
|
|
14894
|
-
let innerHighlighters = this.highlighters.filter((
|
|
14827
|
+
let innerHighlighters = this.highlighters.filter((h2) => !h2.scope || h2.scope(mounted.tree.type));
|
|
14895
14828
|
let hasChild2 = cursor.firstChild();
|
|
14896
14829
|
for (let i = 0, pos = start2; ; i++) {
|
|
14897
14830
|
let next = i < mounted.overlay.length ? mounted.overlay[i] : null;
|
|
@@ -17778,11 +17711,11 @@ class Parse2 {
|
|
|
17778
17711
|
outer:
|
|
17779
17712
|
for (let i = 0; i < newStacks.length - 1; i++) {
|
|
17780
17713
|
let stack = newStacks[i];
|
|
17781
|
-
for (let
|
|
17782
|
-
let other = newStacks[
|
|
17714
|
+
for (let j2 = i + 1; j2 < newStacks.length; j2++) {
|
|
17715
|
+
let other = newStacks[j2];
|
|
17783
17716
|
if (stack.sameState(other) || stack.buffer.length > 500 && other.buffer.length > 500) {
|
|
17784
17717
|
if ((stack.score - other.score || stack.buffer.length - other.buffer.length) > 0) {
|
|
17785
|
-
newStacks.splice(
|
|
17718
|
+
newStacks.splice(j2--, 1);
|
|
17786
17719
|
} else {
|
|
17787
17720
|
newStacks.splice(i--, 1);
|
|
17788
17721
|
continue outer;
|
|
@@ -17906,7 +17839,7 @@ class Parse2 {
|
|
|
17906
17839
|
continue;
|
|
17907
17840
|
}
|
|
17908
17841
|
let force = stack.split(), forceBase = base2;
|
|
17909
|
-
for (let
|
|
17842
|
+
for (let j2 = 0; force.forceReduce() && j2 < 10; j2++) {
|
|
17910
17843
|
if (verbose)
|
|
17911
17844
|
console.log(forceBase + this.stackID(force) + " (via force-reduce)");
|
|
17912
17845
|
let done = this.advanceFully(force, newStacks);
|
|
@@ -18022,7 +17955,7 @@ class LRParser extends Parser {
|
|
|
18022
17955
|
setProp(next, prop, propSpec[i++]);
|
|
18023
17956
|
} else {
|
|
18024
17957
|
let value = propSpec[i + -next];
|
|
18025
|
-
for (let
|
|
17958
|
+
for (let j2 = -next; j2 > 0; j2--)
|
|
18026
17959
|
setProp(propSpec[i++], prop, value);
|
|
18027
17960
|
i++;
|
|
18028
17961
|
}
|
|
@@ -18276,7 +18209,7 @@ class LRParser extends Parser {
|
|
|
18276
18209
|
let disabled = null;
|
|
18277
18210
|
for (let i = 0; i < values2.length; i++)
|
|
18278
18211
|
if (!flags[i]) {
|
|
18279
|
-
for (let
|
|
18212
|
+
for (let j2 = this.dialects[values2[i]], id2; (id2 = this.data[j2++]) != 65535; )
|
|
18280
18213
|
(disabled || (disabled = new Uint8Array(this.maxTerm + 1)))[id2] = 1;
|
|
18281
18214
|
}
|
|
18282
18215
|
return new Dialect(dialect, flags, disabled);
|
|
@@ -19970,10 +19903,10 @@ class Snippet {
|
|
|
19970
19903
|
}
|
|
19971
19904
|
static parse(template) {
|
|
19972
19905
|
let fields = [];
|
|
19973
|
-
let lines = [], positions = [],
|
|
19906
|
+
let lines = [], positions = [], m2;
|
|
19974
19907
|
for (let line of template.split(/\r\n?|\n/)) {
|
|
19975
|
-
while (
|
|
19976
|
-
let seq =
|
|
19908
|
+
while (m2 = /[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(line)) {
|
|
19909
|
+
let seq = m2[1] ? +m2[1] : null, name2 = m2[2] || m2[3] || "", found = -1;
|
|
19977
19910
|
for (let i = 0; i < fields.length; i++) {
|
|
19978
19911
|
if (seq != null ? fields[i].seq == seq : name2 ? fields[i].name == name2 : false)
|
|
19979
19912
|
found = i;
|
|
@@ -19988,8 +19921,8 @@ class Snippet {
|
|
|
19988
19921
|
if (pos.field >= found)
|
|
19989
19922
|
pos.field++;
|
|
19990
19923
|
}
|
|
19991
|
-
positions.push(new FieldPos(found, lines.length,
|
|
19992
|
-
line = line.slice(0,
|
|
19924
|
+
positions.push(new FieldPos(found, lines.length, m2.index, m2.index + name2.length));
|
|
19925
|
+
line = line.slice(0, m2.index) + name2 + line.slice(m2.index + m2[0].length);
|
|
19993
19926
|
}
|
|
19994
19927
|
for (let esc; esc = /\\([{}])/.exec(line); ) {
|
|
19995
19928
|
line = line.slice(0, esc.index) + esc[1] + line.slice(esc.index + esc[0].length);
|
|
@@ -22237,7 +22170,7 @@ function python() {
|
|
|
22237
22170
|
]);
|
|
22238
22171
|
}
|
|
22239
22172
|
const closureParamDelim = 1, tpOpen = 2, tpClose = 3, RawString = 4, Float = 5;
|
|
22240
|
-
const _b = 98, _e = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
|
|
22173
|
+
const _b = 98, _e$1 = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
|
|
22241
22174
|
function isNum(ch) {
|
|
22242
22175
|
return ch >= 48 && ch <= 57;
|
|
22243
22176
|
}
|
|
@@ -22261,7 +22194,7 @@ const literalTokens = new ExternalTokenizer((input, stack) => {
|
|
|
22261
22194
|
return;
|
|
22262
22195
|
}
|
|
22263
22196
|
}
|
|
22264
|
-
if (input.next == _e || input.next == _E) {
|
|
22197
|
+
if (input.next == _e$1 || input.next == _E) {
|
|
22265
22198
|
isFloat = true;
|
|
22266
22199
|
input.advance();
|
|
22267
22200
|
if (input.next == Plus || input.next == Minus)
|
|
@@ -22755,7 +22688,7 @@ function tokenRawString(stream, state2) {
|
|
|
22755
22688
|
stream.skipToEnd();
|
|
22756
22689
|
return "string";
|
|
22757
22690
|
}
|
|
22758
|
-
const c = clike({
|
|
22691
|
+
const c$1 = clike({
|
|
22759
22692
|
name: "c",
|
|
22760
22693
|
keywords: words$1(cKeywords),
|
|
22761
22694
|
types: cTypes,
|
|
@@ -25205,7 +25138,7 @@ function pop(state2) {
|
|
|
25205
25138
|
state2.indent = state2.ctx.indent;
|
|
25206
25139
|
state2.ctx = state2.ctx.prev;
|
|
25207
25140
|
}
|
|
25208
|
-
const r = {
|
|
25141
|
+
const r$1 = {
|
|
25209
25142
|
name: "r",
|
|
25210
25143
|
startState: function(indentUnit2) {
|
|
25211
25144
|
return {
|
|
@@ -25365,7 +25298,7 @@ function tokenBase$2(stream, state2) {
|
|
|
25365
25298
|
}
|
|
25366
25299
|
if (stream.eatSpace())
|
|
25367
25300
|
return null;
|
|
25368
|
-
var ch = stream.next(),
|
|
25301
|
+
var ch = stream.next(), m2;
|
|
25369
25302
|
if (ch == "`" || ch == "'" || ch == '"') {
|
|
25370
25303
|
return chain(readQuoted(ch, "string", ch == '"' || ch == "`"), stream, state2);
|
|
25371
25304
|
} else if (ch == "/") {
|
|
@@ -25394,8 +25327,8 @@ function tokenBase$2(stream, state2) {
|
|
|
25394
25327
|
} else if (ch == "#") {
|
|
25395
25328
|
stream.skipToEnd();
|
|
25396
25329
|
return "comment";
|
|
25397
|
-
} else if (ch == "<" && (
|
|
25398
|
-
return chain(readHereDoc(
|
|
25330
|
+
} else if (ch == "<" && (m2 = stream.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/))) {
|
|
25331
|
+
return chain(readHereDoc(m2[2], m2[1]), stream, state2);
|
|
25399
25332
|
} else if (ch == "0") {
|
|
25400
25333
|
if (stream.eat("x"))
|
|
25401
25334
|
stream.eatWhile(/[\da-fA-F]/);
|
|
@@ -26422,7 +26355,7 @@ const variableHighlighterDecoration = new MatchDecorator({
|
|
|
26422
26355
|
regexp: /(\{[^}]+\})/g,
|
|
26423
26356
|
decoration: () => Decoration.mark({
|
|
26424
26357
|
attributes: {
|
|
26425
|
-
class: "
|
|
26358
|
+
class: "api-client-url-variable"
|
|
26426
26359
|
}
|
|
26427
26360
|
})
|
|
26428
26361
|
});
|
|
@@ -26449,7 +26382,7 @@ const variables = () => ViewPlugin.fromClass(
|
|
|
26449
26382
|
)
|
|
26450
26383
|
}
|
|
26451
26384
|
);
|
|
26452
|
-
const hasProvider = (params) => "provider" in params && !!toValue(params.provider);
|
|
26385
|
+
const hasProvider = (params) => "provider" in params && !!toValue$1(params.provider);
|
|
26453
26386
|
const useCodeMirror = (params) => {
|
|
26454
26387
|
const codeMirror = ref(null);
|
|
26455
26388
|
watch(
|
|
@@ -26467,7 +26400,7 @@ const useCodeMirror = (params) => {
|
|
|
26467
26400
|
});
|
|
26468
26401
|
function mountCodeMirror() {
|
|
26469
26402
|
if (params.codeMirrorRef.value) {
|
|
26470
|
-
const provider = hasProvider(params) ? toValue(params.provider) : null;
|
|
26403
|
+
const provider = hasProvider(params) ? toValue$1(params.provider) : null;
|
|
26471
26404
|
const extensions = getCodeMirrorExtensions({
|
|
26472
26405
|
...extensionConfig.value,
|
|
26473
26406
|
provider
|
|
@@ -26477,24 +26410,24 @@ const useCodeMirror = (params) => {
|
|
|
26477
26410
|
extensions
|
|
26478
26411
|
});
|
|
26479
26412
|
if (!hasProvider(params))
|
|
26480
|
-
setCodeMirrorContent(toValue(params.content));
|
|
26413
|
+
setCodeMirrorContent(toValue$1(params.content));
|
|
26481
26414
|
}
|
|
26482
26415
|
}
|
|
26483
26416
|
const extensionConfig = computed(() => ({
|
|
26484
26417
|
onChange: params.onChange,
|
|
26485
26418
|
onBlur: params.onBlur,
|
|
26486
26419
|
onFocus: params.onFocus,
|
|
26487
|
-
languages: toValue(params.languages),
|
|
26488
|
-
classes: toValue(params.classes),
|
|
26489
|
-
readOnly: toValue(params.readOnly),
|
|
26490
|
-
lineNumbers: toValue(params.lineNumbers),
|
|
26491
|
-
withVariables: toValue(params.withVariables),
|
|
26492
|
-
disableEnter: toValue(params.withVariables),
|
|
26493
|
-
withoutTheme: toValue(params.withoutTheme),
|
|
26494
|
-
additionalExtensions: toValue(params.extensions)
|
|
26420
|
+
languages: toValue$1(params.languages),
|
|
26421
|
+
classes: toValue$1(params.classes),
|
|
26422
|
+
readOnly: toValue$1(params.readOnly),
|
|
26423
|
+
lineNumbers: toValue$1(params.lineNumbers),
|
|
26424
|
+
withVariables: toValue$1(params.withVariables),
|
|
26425
|
+
disableEnter: toValue$1(params.withVariables),
|
|
26426
|
+
withoutTheme: toValue$1(params.withoutTheme),
|
|
26427
|
+
additionalExtensions: toValue$1(params.extensions)
|
|
26495
26428
|
}));
|
|
26496
26429
|
watch(
|
|
26497
|
-
() => hasProvider(params) ? toValue(params.provider) : null,
|
|
26430
|
+
() => hasProvider(params) ? toValue$1(params.provider) : null,
|
|
26498
26431
|
() => {
|
|
26499
26432
|
var _a2;
|
|
26500
26433
|
if (hasProvider(params)) {
|
|
@@ -26509,7 +26442,7 @@ const useCodeMirror = (params) => {
|
|
|
26509
26442
|
if (!codeMirror.value)
|
|
26510
26443
|
return;
|
|
26511
26444
|
else {
|
|
26512
|
-
const provider = hasProvider(params) ? toValue(params.provider) : null;
|
|
26445
|
+
const provider = hasProvider(params) ? toValue$1(params.provider) : null;
|
|
26513
26446
|
const extensions = getCodeMirrorExtensions({
|
|
26514
26447
|
...extensionConfig.value,
|
|
26515
26448
|
provider
|
|
@@ -26541,11 +26474,11 @@ const useCodeMirror = (params) => {
|
|
|
26541
26474
|
});
|
|
26542
26475
|
};
|
|
26543
26476
|
watch(
|
|
26544
|
-
() => toValue(params.content),
|
|
26477
|
+
() => toValue$1(params.content),
|
|
26545
26478
|
() => {
|
|
26546
26479
|
if (hasProvider(params))
|
|
26547
26480
|
return;
|
|
26548
|
-
setCodeMirrorContent(toValue(params.content));
|
|
26481
|
+
setCodeMirrorContent(toValue$1(params.content));
|
|
26549
26482
|
},
|
|
26550
26483
|
{ immediate: true }
|
|
26551
26484
|
);
|
|
@@ -26557,7 +26490,7 @@ const useCodeMirror = (params) => {
|
|
|
26557
26490
|
};
|
|
26558
26491
|
};
|
|
26559
26492
|
const syntaxHighlighting = {
|
|
26560
|
-
c: StreamLanguage.define(c),
|
|
26493
|
+
c: StreamLanguage.define(c$1),
|
|
26561
26494
|
clojure: StreamLanguage.define(clojure),
|
|
26562
26495
|
csharp: StreamLanguage.define(csharp),
|
|
26563
26496
|
css: css(),
|
|
@@ -26574,7 +26507,7 @@ const syntaxHighlighting = {
|
|
|
26574
26507
|
powershell: StreamLanguage.define(powerShell),
|
|
26575
26508
|
python: python(),
|
|
26576
26509
|
php: php(),
|
|
26577
|
-
r: StreamLanguage.define(r),
|
|
26510
|
+
r: StreamLanguage.define(r$1),
|
|
26578
26511
|
ruby: StreamLanguage.define(ruby),
|
|
26579
26512
|
rust: rust(),
|
|
26580
26513
|
shell: StreamLanguage.define(shell),
|
|
@@ -26678,12 +26611,6 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26678
26611
|
emits: ["change"],
|
|
26679
26612
|
setup(__props, { emit }) {
|
|
26680
26613
|
const props = __props;
|
|
26681
|
-
const classes = computed(
|
|
26682
|
-
() => props.readOnly ? [
|
|
26683
|
-
"scalar-api-client__codemirror",
|
|
26684
|
-
"scalar-api-client__codemirror--read-only"
|
|
26685
|
-
] : ["scalar-api-client__codemirror"]
|
|
26686
|
-
);
|
|
26687
26614
|
const codeMirrorRef = ref(null);
|
|
26688
26615
|
useCodeMirror({
|
|
26689
26616
|
content: toRef(() => props.content),
|
|
@@ -26695,18 +26622,27 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26695
26622
|
disableEnter: toRef(() => props.disableEnter),
|
|
26696
26623
|
onChange: (v) => emit("change", v || ""),
|
|
26697
26624
|
codeMirrorRef,
|
|
26698
|
-
classes
|
|
26625
|
+
classes: ["codemirror"]
|
|
26699
26626
|
});
|
|
26700
26627
|
return (_ctx, _cache) => {
|
|
26701
26628
|
return openBlock(), createElementBlock("div", {
|
|
26702
26629
|
ref_key: "codeMirrorRef",
|
|
26703
26630
|
ref: codeMirrorRef,
|
|
26704
|
-
class: "
|
|
26631
|
+
class: "codemirror-container"
|
|
26705
26632
|
}, null, 512);
|
|
26706
26633
|
};
|
|
26707
26634
|
}
|
|
26708
26635
|
});
|
|
26709
|
-
const
|
|
26636
|
+
const CodeMirror_vue_vue_type_style_index_0_scoped_36be7a0d_lang = "";
|
|
26637
|
+
const CodeMirror_vue_vue_type_style_index_1_lang = "";
|
|
26638
|
+
const _export_sfc = (sfc, props) => {
|
|
26639
|
+
const target = sfc.__vccOpts || sfc;
|
|
26640
|
+
for (const [key, val] of props) {
|
|
26641
|
+
target[key] = val;
|
|
26642
|
+
}
|
|
26643
|
+
return target;
|
|
26644
|
+
};
|
|
26645
|
+
const CodeMirror = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-36be7a0d"]]);
|
|
26710
26646
|
const _hoisted_1$m = { class: "modal-layout" };
|
|
26711
26647
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
26712
26648
|
__name: "FlowModal",
|
|
@@ -26764,13 +26700,6 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
26764
26700
|
}
|
|
26765
26701
|
});
|
|
26766
26702
|
const FlowModal_vue_vue_type_style_index_0_scoped_e6a4a41b_lang = "";
|
|
26767
|
-
const _export_sfc = (sfc, props) => {
|
|
26768
|
-
const target = sfc.__vccOpts || sfc;
|
|
26769
|
-
for (const [key, val] of props) {
|
|
26770
|
-
target[key] = val;
|
|
26771
|
-
}
|
|
26772
|
-
return target;
|
|
26773
|
-
};
|
|
26774
26703
|
const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e6a4a41b"]]);
|
|
26775
26704
|
const useModal = () => reactive({
|
|
26776
26705
|
open: false,
|
|
@@ -26781,284 +26710,6 @@ const useModal = () => reactive({
|
|
|
26781
26710
|
this.open = false;
|
|
26782
26711
|
}
|
|
26783
26712
|
});
|
|
26784
|
-
const en = {
|
|
26785
|
-
"locale": "en",
|
|
26786
|
-
"long": {
|
|
26787
|
-
"year": {
|
|
26788
|
-
"previous": "last year",
|
|
26789
|
-
"current": "this year",
|
|
26790
|
-
"next": "next year",
|
|
26791
|
-
"past": {
|
|
26792
|
-
"one": "{0} year ago",
|
|
26793
|
-
"other": "{0} years ago"
|
|
26794
|
-
},
|
|
26795
|
-
"future": {
|
|
26796
|
-
"one": "in {0} year",
|
|
26797
|
-
"other": "in {0} years"
|
|
26798
|
-
}
|
|
26799
|
-
},
|
|
26800
|
-
"quarter": {
|
|
26801
|
-
"previous": "last quarter",
|
|
26802
|
-
"current": "this quarter",
|
|
26803
|
-
"next": "next quarter",
|
|
26804
|
-
"past": {
|
|
26805
|
-
"one": "{0} quarter ago",
|
|
26806
|
-
"other": "{0} quarters ago"
|
|
26807
|
-
},
|
|
26808
|
-
"future": {
|
|
26809
|
-
"one": "in {0} quarter",
|
|
26810
|
-
"other": "in {0} quarters"
|
|
26811
|
-
}
|
|
26812
|
-
},
|
|
26813
|
-
"month": {
|
|
26814
|
-
"previous": "last month",
|
|
26815
|
-
"current": "this month",
|
|
26816
|
-
"next": "next month",
|
|
26817
|
-
"past": {
|
|
26818
|
-
"one": "{0} month ago",
|
|
26819
|
-
"other": "{0} months ago"
|
|
26820
|
-
},
|
|
26821
|
-
"future": {
|
|
26822
|
-
"one": "in {0} month",
|
|
26823
|
-
"other": "in {0} months"
|
|
26824
|
-
}
|
|
26825
|
-
},
|
|
26826
|
-
"week": {
|
|
26827
|
-
"previous": "last week",
|
|
26828
|
-
"current": "this week",
|
|
26829
|
-
"next": "next week",
|
|
26830
|
-
"past": {
|
|
26831
|
-
"one": "{0} week ago",
|
|
26832
|
-
"other": "{0} weeks ago"
|
|
26833
|
-
},
|
|
26834
|
-
"future": {
|
|
26835
|
-
"one": "in {0} week",
|
|
26836
|
-
"other": "in {0} weeks"
|
|
26837
|
-
}
|
|
26838
|
-
},
|
|
26839
|
-
"day": {
|
|
26840
|
-
"previous": "yesterday",
|
|
26841
|
-
"current": "today",
|
|
26842
|
-
"next": "tomorrow",
|
|
26843
|
-
"past": {
|
|
26844
|
-
"one": "{0} day ago",
|
|
26845
|
-
"other": "{0} days ago"
|
|
26846
|
-
},
|
|
26847
|
-
"future": {
|
|
26848
|
-
"one": "in {0} day",
|
|
26849
|
-
"other": "in {0} days"
|
|
26850
|
-
}
|
|
26851
|
-
},
|
|
26852
|
-
"hour": {
|
|
26853
|
-
"current": "this hour",
|
|
26854
|
-
"past": {
|
|
26855
|
-
"one": "{0} hour ago",
|
|
26856
|
-
"other": "{0} hours ago"
|
|
26857
|
-
},
|
|
26858
|
-
"future": {
|
|
26859
|
-
"one": "in {0} hour",
|
|
26860
|
-
"other": "in {0} hours"
|
|
26861
|
-
}
|
|
26862
|
-
},
|
|
26863
|
-
"minute": {
|
|
26864
|
-
"current": "this minute",
|
|
26865
|
-
"past": {
|
|
26866
|
-
"one": "{0} minute ago",
|
|
26867
|
-
"other": "{0} minutes ago"
|
|
26868
|
-
},
|
|
26869
|
-
"future": {
|
|
26870
|
-
"one": "in {0} minute",
|
|
26871
|
-
"other": "in {0} minutes"
|
|
26872
|
-
}
|
|
26873
|
-
},
|
|
26874
|
-
"second": {
|
|
26875
|
-
"current": "now",
|
|
26876
|
-
"past": {
|
|
26877
|
-
"one": "{0} second ago",
|
|
26878
|
-
"other": "{0} seconds ago"
|
|
26879
|
-
},
|
|
26880
|
-
"future": {
|
|
26881
|
-
"one": "in {0} second",
|
|
26882
|
-
"other": "in {0} seconds"
|
|
26883
|
-
}
|
|
26884
|
-
}
|
|
26885
|
-
},
|
|
26886
|
-
"short": {
|
|
26887
|
-
"year": {
|
|
26888
|
-
"previous": "last yr.",
|
|
26889
|
-
"current": "this yr.",
|
|
26890
|
-
"next": "next yr.",
|
|
26891
|
-
"past": "{0} yr. ago",
|
|
26892
|
-
"future": "in {0} yr."
|
|
26893
|
-
},
|
|
26894
|
-
"quarter": {
|
|
26895
|
-
"previous": "last qtr.",
|
|
26896
|
-
"current": "this qtr.",
|
|
26897
|
-
"next": "next qtr.",
|
|
26898
|
-
"past": {
|
|
26899
|
-
"one": "{0} qtr. ago",
|
|
26900
|
-
"other": "{0} qtrs. ago"
|
|
26901
|
-
},
|
|
26902
|
-
"future": {
|
|
26903
|
-
"one": "in {0} qtr.",
|
|
26904
|
-
"other": "in {0} qtrs."
|
|
26905
|
-
}
|
|
26906
|
-
},
|
|
26907
|
-
"month": {
|
|
26908
|
-
"previous": "last mo.",
|
|
26909
|
-
"current": "this mo.",
|
|
26910
|
-
"next": "next mo.",
|
|
26911
|
-
"past": "{0} mo. ago",
|
|
26912
|
-
"future": "in {0} mo."
|
|
26913
|
-
},
|
|
26914
|
-
"week": {
|
|
26915
|
-
"previous": "last wk.",
|
|
26916
|
-
"current": "this wk.",
|
|
26917
|
-
"next": "next wk.",
|
|
26918
|
-
"past": "{0} wk. ago",
|
|
26919
|
-
"future": "in {0} wk."
|
|
26920
|
-
},
|
|
26921
|
-
"day": {
|
|
26922
|
-
"previous": "yesterday",
|
|
26923
|
-
"current": "today",
|
|
26924
|
-
"next": "tomorrow",
|
|
26925
|
-
"past": {
|
|
26926
|
-
"one": "{0} day ago",
|
|
26927
|
-
"other": "{0} days ago"
|
|
26928
|
-
},
|
|
26929
|
-
"future": {
|
|
26930
|
-
"one": "in {0} day",
|
|
26931
|
-
"other": "in {0} days"
|
|
26932
|
-
}
|
|
26933
|
-
},
|
|
26934
|
-
"hour": {
|
|
26935
|
-
"current": "this hour",
|
|
26936
|
-
"past": "{0} hr. ago",
|
|
26937
|
-
"future": "in {0} hr."
|
|
26938
|
-
},
|
|
26939
|
-
"minute": {
|
|
26940
|
-
"current": "this minute",
|
|
26941
|
-
"past": "{0} min. ago",
|
|
26942
|
-
"future": "in {0} min."
|
|
26943
|
-
},
|
|
26944
|
-
"second": {
|
|
26945
|
-
"current": "now",
|
|
26946
|
-
"past": "{0} sec. ago",
|
|
26947
|
-
"future": "in {0} sec."
|
|
26948
|
-
}
|
|
26949
|
-
},
|
|
26950
|
-
"narrow": {
|
|
26951
|
-
"year": {
|
|
26952
|
-
"previous": "last yr.",
|
|
26953
|
-
"current": "this yr.",
|
|
26954
|
-
"next": "next yr.",
|
|
26955
|
-
"past": "{0}y ago",
|
|
26956
|
-
"future": "in {0}y"
|
|
26957
|
-
},
|
|
26958
|
-
"quarter": {
|
|
26959
|
-
"previous": "last qtr.",
|
|
26960
|
-
"current": "this qtr.",
|
|
26961
|
-
"next": "next qtr.",
|
|
26962
|
-
"past": "{0}q ago",
|
|
26963
|
-
"future": "in {0}q"
|
|
26964
|
-
},
|
|
26965
|
-
"month": {
|
|
26966
|
-
"previous": "last mo.",
|
|
26967
|
-
"current": "this mo.",
|
|
26968
|
-
"next": "next mo.",
|
|
26969
|
-
"past": "{0}mo ago",
|
|
26970
|
-
"future": "in {0}mo"
|
|
26971
|
-
},
|
|
26972
|
-
"week": {
|
|
26973
|
-
"previous": "last wk.",
|
|
26974
|
-
"current": "this wk.",
|
|
26975
|
-
"next": "next wk.",
|
|
26976
|
-
"past": "{0}w ago",
|
|
26977
|
-
"future": "in {0}w"
|
|
26978
|
-
},
|
|
26979
|
-
"day": {
|
|
26980
|
-
"previous": "yesterday",
|
|
26981
|
-
"current": "today",
|
|
26982
|
-
"next": "tomorrow",
|
|
26983
|
-
"past": "{0}d ago",
|
|
26984
|
-
"future": "in {0}d"
|
|
26985
|
-
},
|
|
26986
|
-
"hour": {
|
|
26987
|
-
"current": "this hour",
|
|
26988
|
-
"past": "{0}h ago",
|
|
26989
|
-
"future": "in {0}h"
|
|
26990
|
-
},
|
|
26991
|
-
"minute": {
|
|
26992
|
-
"current": "this minute",
|
|
26993
|
-
"past": "{0}m ago",
|
|
26994
|
-
"future": "in {0}m"
|
|
26995
|
-
},
|
|
26996
|
-
"second": {
|
|
26997
|
-
"current": "now",
|
|
26998
|
-
"past": "{0}s ago",
|
|
26999
|
-
"future": "in {0}s"
|
|
27000
|
-
}
|
|
27001
|
-
},
|
|
27002
|
-
"now": {
|
|
27003
|
-
"now": {
|
|
27004
|
-
"current": "now",
|
|
27005
|
-
"future": "in a moment",
|
|
27006
|
-
"past": "just now"
|
|
27007
|
-
}
|
|
27008
|
-
},
|
|
27009
|
-
"mini": {
|
|
27010
|
-
"year": "{0}yr",
|
|
27011
|
-
"month": "{0}mo",
|
|
27012
|
-
"week": "{0}wk",
|
|
27013
|
-
"day": "{0}d",
|
|
27014
|
-
"hour": "{0}h",
|
|
27015
|
-
"minute": "{0}m",
|
|
27016
|
-
"second": "{0}s",
|
|
27017
|
-
"now": "now"
|
|
27018
|
-
},
|
|
27019
|
-
"short-time": {
|
|
27020
|
-
"year": "{0} yr.",
|
|
27021
|
-
"month": "{0} mo.",
|
|
27022
|
-
"week": "{0} wk.",
|
|
27023
|
-
"day": {
|
|
27024
|
-
"one": "{0} day",
|
|
27025
|
-
"other": "{0} days"
|
|
27026
|
-
},
|
|
27027
|
-
"hour": "{0} hr.",
|
|
27028
|
-
"minute": "{0} min.",
|
|
27029
|
-
"second": "{0} sec."
|
|
27030
|
-
},
|
|
27031
|
-
"long-time": {
|
|
27032
|
-
"year": {
|
|
27033
|
-
"one": "{0} year",
|
|
27034
|
-
"other": "{0} years"
|
|
27035
|
-
},
|
|
27036
|
-
"month": {
|
|
27037
|
-
"one": "{0} month",
|
|
27038
|
-
"other": "{0} months"
|
|
27039
|
-
},
|
|
27040
|
-
"week": {
|
|
27041
|
-
"one": "{0} week",
|
|
27042
|
-
"other": "{0} weeks"
|
|
27043
|
-
},
|
|
27044
|
-
"day": {
|
|
27045
|
-
"one": "{0} day",
|
|
27046
|
-
"other": "{0} days"
|
|
27047
|
-
},
|
|
27048
|
-
"hour": {
|
|
27049
|
-
"one": "{0} hour",
|
|
27050
|
-
"other": "{0} hours"
|
|
27051
|
-
},
|
|
27052
|
-
"minute": {
|
|
27053
|
-
"one": "{0} minute",
|
|
27054
|
-
"other": "{0} minutes"
|
|
27055
|
-
},
|
|
27056
|
-
"second": {
|
|
27057
|
-
"one": "{0} second",
|
|
27058
|
-
"other": "{0} seconds"
|
|
27059
|
-
}
|
|
27060
|
-
}
|
|
27061
|
-
};
|
|
27062
26713
|
const concatenateUrlAndPath = (url, path) => {
|
|
27063
26714
|
if (typeof path !== "string" || !path.length) {
|
|
27064
26715
|
return url;
|
|
@@ -27071,6 +26722,32 @@ const findVariables = (value) => {
|
|
|
27071
26722
|
const regex = /(?:\{+)\s*(\w+)\s*(?:\}+)/g;
|
|
27072
26723
|
return [...value.matchAll(regex)].map((match2) => match2[1].trim()) || [];
|
|
27073
26724
|
};
|
|
26725
|
+
function humanDiff(unixTimestamp) {
|
|
26726
|
+
const seconds = Math.floor(((/* @__PURE__ */ new Date()).getTime() - unixTimestamp) / 1e3);
|
|
26727
|
+
if (seconds < 45) {
|
|
26728
|
+
return "just now";
|
|
26729
|
+
}
|
|
26730
|
+
if (seconds < 60) {
|
|
26731
|
+
return `${seconds} seconds ago`;
|
|
26732
|
+
}
|
|
26733
|
+
const minutes = Math.floor(seconds / 60);
|
|
26734
|
+
if (minutes < 60) {
|
|
26735
|
+
return `${minutes} minute${minutes === 1 ? "" : "s"} ago`;
|
|
26736
|
+
}
|
|
26737
|
+
const hours = Math.floor(minutes / 60);
|
|
26738
|
+
if (hours < 24) {
|
|
26739
|
+
return `${hours} hour${hours === 1 ? "" : "s"} ago`;
|
|
26740
|
+
}
|
|
26741
|
+
const days = Math.floor(hours / 24);
|
|
26742
|
+
if (days < 30) {
|
|
26743
|
+
return `${days} day${days === 1 ? "" : "s"} ago`;
|
|
26744
|
+
}
|
|
26745
|
+
const months = Math.floor(days / 30);
|
|
26746
|
+
if (months < 12) {
|
|
26747
|
+
return `${months} month${months === 1 ? "" : "s"} ago`;
|
|
26748
|
+
}
|
|
26749
|
+
return "more than a year ago";
|
|
26750
|
+
}
|
|
27074
26751
|
const isJsonString = (value) => {
|
|
27075
26752
|
if (typeof value !== "string") {
|
|
27076
26753
|
return false;
|
|
@@ -27310,8 +26987,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
27310
26987
|
history: {}
|
|
27311
26988
|
},
|
|
27312
26989
|
setup(__props) {
|
|
27313
|
-
TimeAgo.addLocale(en);
|
|
27314
|
-
const timeAgo = new TimeAgo("en-US");
|
|
27315
26990
|
const { requestHistory: requestHistory2, activeRequestId: activeRequestId2, setActiveResponse: setActiveResponse2 } = useRequestStore();
|
|
27316
26991
|
const getContentLength = (response) => {
|
|
27317
26992
|
var _a2;
|
|
@@ -27347,12 +27022,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
27347
27022
|
createElementVNode("span", null, toDisplayString(getContentLength(unref(requestHistory2)[_ctx.history].response)), 1)
|
|
27348
27023
|
]),
|
|
27349
27024
|
createElementVNode("div", _hoisted_3$a, [
|
|
27350
|
-
createElementVNode("span", null, toDisplayString(unref(
|
|
27025
|
+
createElementVNode("span", null, toDisplayString(unref(humanDiff)(unref(requestHistory2)[_ctx.history].sentTime)), 1)
|
|
27351
27026
|
])
|
|
27352
27027
|
], 2);
|
|
27353
27028
|
};
|
|
27354
27029
|
}
|
|
27355
27030
|
});
|
|
27031
|
+
const RequestHistoryItem_vue_vue_type_style_index_0_scoped_dd49a57f_lang = "";
|
|
27032
|
+
const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-dd49a57f"]]);
|
|
27356
27033
|
const _hoisted_1$k = { class: "navigation-content-item" };
|
|
27357
27034
|
const _hoisted_2$e = { class: "navtable" };
|
|
27358
27035
|
const _hoisted_3$9 = { class: "navtable-table" };
|
|
@@ -27371,7 +27048,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
27371
27048
|
_hoisted_4$7,
|
|
27372
27049
|
createElementVNode("div", _hoisted_5$6, [
|
|
27373
27050
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(requestHistoryOrder2), (history) => {
|
|
27374
|
-
return openBlock(), createBlock(
|
|
27051
|
+
return openBlock(), createBlock(RequestHistoryItem, {
|
|
27375
27052
|
key: history,
|
|
27376
27053
|
history
|
|
27377
27054
|
}, null, 8, ["history"]);
|
|
@@ -27435,13 +27112,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
27435
27112
|
});
|
|
27436
27113
|
const RequestMethodSelect_vue_vue_type_style_index_0_scoped_8e2122cd_lang = "";
|
|
27437
27114
|
const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-8e2122cd"]]);
|
|
27438
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
27115
|
+
const _withScopeId = (n) => (pushScopeId("data-v-2c897bdb"), n = n(), popScopeId(), n);
|
|
27439
27116
|
const _hoisted_1$i = {
|
|
27440
27117
|
key: 0,
|
|
27441
27118
|
class: "loader"
|
|
27442
27119
|
};
|
|
27443
|
-
const _hoisted_2$c = { class: "
|
|
27444
|
-
const _hoisted_3$7 = { class: "
|
|
27120
|
+
const _hoisted_2$c = { class: "url-form" };
|
|
27121
|
+
const _hoisted_3$7 = { class: "url-form-field" };
|
|
27445
27122
|
const _hoisted_4$6 = ["disabled"];
|
|
27446
27123
|
const _hoisted_5$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
27447
27124
|
fill: "none",
|
|
@@ -27465,10 +27142,10 @@ const _hoisted_7$4 = [
|
|
|
27465
27142
|
_hoisted_5$5,
|
|
27466
27143
|
_hoisted_6$4
|
|
27467
27144
|
];
|
|
27468
|
-
const _hoisted_8$3 = { class: "
|
|
27145
|
+
const _hoisted_8$3 = { class: "address-bar-content" };
|
|
27469
27146
|
const _hoisted_9$3 = {
|
|
27470
27147
|
key: 0,
|
|
27471
|
-
class: "
|
|
27148
|
+
class: "history"
|
|
27472
27149
|
};
|
|
27473
27150
|
const _hoisted_10$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
27474
27151
|
fill: "none",
|
|
@@ -27502,8 +27179,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27502
27179
|
emits: ["onSend"],
|
|
27503
27180
|
setup(__props, { emit: emits }) {
|
|
27504
27181
|
const props = __props;
|
|
27505
|
-
|
|
27506
|
-
|
|
27182
|
+
const keys = useMagicKeys();
|
|
27183
|
+
whenever(keys.meta_enter, send);
|
|
27507
27184
|
const showHistory = ref(false);
|
|
27508
27185
|
const loading = ref(false);
|
|
27509
27186
|
const {
|
|
@@ -27537,12 +27214,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27537
27214
|
}
|
|
27538
27215
|
const lastRequestTimestamp = computed(() => {
|
|
27539
27216
|
const lastRequestKey = requestHistoryOrder2.value[0];
|
|
27540
|
-
return requestHistory2[lastRequestKey] ?
|
|
27541
|
-
});
|
|
27542
|
-
useKeyboardEvent({
|
|
27543
|
-
keyList: ["enter"],
|
|
27544
|
-
withCtrlCmd: true,
|
|
27545
|
-
handler: send
|
|
27217
|
+
return requestHistory2[lastRequestKey] ? humanDiff(requestHistory2[lastRequestKey].sentTime) : "History";
|
|
27546
27218
|
});
|
|
27547
27219
|
const onChange = (value) => {
|
|
27548
27220
|
if (readOnly2.value) {
|
|
@@ -27565,7 +27237,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27565
27237
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
27566
27238
|
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$i)) : createCommentVNode("", true),
|
|
27567
27239
|
createElementVNode("div", {
|
|
27568
|
-
class: normalizeClass(["
|
|
27240
|
+
class: normalizeClass(["address-bar", { "address-bar--with-history": showHistory.value }])
|
|
27569
27241
|
}, [
|
|
27570
27242
|
createElementVNode("div", _hoisted_2$c, [
|
|
27571
27243
|
createElementVNode("div", _hoisted_3$7, [
|
|
@@ -27574,8 +27246,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27574
27246
|
requestMethod: requestType.value,
|
|
27575
27247
|
onChange: handleRequestMethodChanged
|
|
27576
27248
|
}, null, 8, ["readOnly", "requestMethod"]),
|
|
27577
|
-
createVNode(unref(
|
|
27578
|
-
class: "
|
|
27249
|
+
createVNode(unref(CodeMirror), {
|
|
27250
|
+
class: "url-form-input",
|
|
27579
27251
|
content: formattedUrl.value,
|
|
27580
27252
|
disableEnter: "",
|
|
27581
27253
|
readOnly: unref(readOnly2),
|
|
@@ -27585,14 +27257,14 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27585
27257
|
}, null, 8, ["content", "readOnly"])
|
|
27586
27258
|
]),
|
|
27587
27259
|
createElementVNode("button", {
|
|
27588
|
-
class: "
|
|
27260
|
+
class: "send-button",
|
|
27589
27261
|
disabled: !formattedUrl.value.trim().length,
|
|
27590
27262
|
type: "submit",
|
|
27591
27263
|
onClick: send
|
|
27592
27264
|
}, _hoisted_7$4, 8, _hoisted_4$6)
|
|
27593
27265
|
]),
|
|
27594
27266
|
createElementVNode("div", {
|
|
27595
|
-
class: "
|
|
27267
|
+
class: "address-bar-close",
|
|
27596
27268
|
onClick: _cache[0] || (_cache[0] = ($event) => showHistory.value = false)
|
|
27597
27269
|
}),
|
|
27598
27270
|
createElementVNode("div", _hoisted_8$3, [
|
|
@@ -27612,7 +27284,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27612
27284
|
]),
|
|
27613
27285
|
unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
27614
27286
|
createElementVNode("div", {
|
|
27615
|
-
class: "
|
|
27287
|
+
class: "history-toggle",
|
|
27616
27288
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(historyModal).show())
|
|
27617
27289
|
}, [
|
|
27618
27290
|
_hoisted_10$2,
|
|
@@ -27624,8 +27296,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27624
27296
|
};
|
|
27625
27297
|
}
|
|
27626
27298
|
});
|
|
27627
|
-
const
|
|
27628
|
-
const
|
|
27299
|
+
const AddressBar_vue_vue_type_style_index_0_lang = "";
|
|
27300
|
+
const AddressBar_vue_vue_type_style_index_1_scoped_2c897bdb_lang = "";
|
|
27301
|
+
const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-2c897bdb"]]);
|
|
27629
27302
|
const _hoisted_1$h = /* @__PURE__ */ createElementVNode("svg", {
|
|
27630
27303
|
class: "scalar-api-client__toggle__icon",
|
|
27631
27304
|
height: "10",
|
|
@@ -27746,8 +27419,8 @@ const _hoisted_20$1 = /* @__PURE__ */ createElementVNode("label", { for: "genera
|
|
|
27746
27419
|
const _hoisted_21$1 = { class: "input" };
|
|
27747
27420
|
const _hoisted_22$1 = /* @__PURE__ */ createElementVNode("label", { for: "discoveryurl" }, "OIDC Discovery URL", -1);
|
|
27748
27421
|
const _hoisted_23$1 = { class: "input" };
|
|
27749
|
-
const _hoisted_24 = /* @__PURE__ */ createElementVNode("label", { for: "authurl" }, "Auth URL", -1);
|
|
27750
|
-
const _hoisted_25 = { class: "input" };
|
|
27422
|
+
const _hoisted_24$1 = /* @__PURE__ */ createElementVNode("label", { for: "authurl" }, "Auth URL", -1);
|
|
27423
|
+
const _hoisted_25$1 = { class: "input" };
|
|
27751
27424
|
const _hoisted_26 = /* @__PURE__ */ createElementVNode("label", { for: "accesstoken" }, "Access Token URL", -1);
|
|
27752
27425
|
const _hoisted_27 = { class: "input input__half" };
|
|
27753
27426
|
const _hoisted_28 = /* @__PURE__ */ createElementVNode("label", { for: "clientid" }, "Client ID", -1);
|
|
@@ -27930,7 +27603,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
27930
27603
|
])
|
|
27931
27604
|
]),
|
|
27932
27605
|
createElementVNode("div", _hoisted_23$1, [
|
|
27933
|
-
_hoisted_24,
|
|
27606
|
+
_hoisted_24$1,
|
|
27934
27607
|
withDirectives(createElementVNode("input", {
|
|
27935
27608
|
id: "authurl",
|
|
27936
27609
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(authState2).oauthTwo.authURL = $event),
|
|
@@ -27942,7 +27615,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
27942
27615
|
[vModelText, unref(authState2).oauthTwo.authURL]
|
|
27943
27616
|
])
|
|
27944
27617
|
]),
|
|
27945
|
-
createElementVNode("div", _hoisted_25, [
|
|
27618
|
+
createElementVNode("div", _hoisted_25$1, [
|
|
27946
27619
|
_hoisted_26,
|
|
27947
27620
|
withDirectives(createElementVNode("input", {
|
|
27948
27621
|
id: "accesstoken",
|
|
@@ -28026,6 +27699,2757 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
28026
27699
|
};
|
|
28027
27700
|
}
|
|
28028
27701
|
});
|
|
27702
|
+
function r(e) {
|
|
27703
|
+
var t2, f, n = "";
|
|
27704
|
+
if ("string" == typeof e || "number" == typeof e)
|
|
27705
|
+
n += e;
|
|
27706
|
+
else if ("object" == typeof e)
|
|
27707
|
+
if (Array.isArray(e))
|
|
27708
|
+
for (t2 = 0; t2 < e.length; t2++)
|
|
27709
|
+
e[t2] && (f = r(e[t2])) && (n && (n += " "), n += f);
|
|
27710
|
+
else
|
|
27711
|
+
for (t2 in e)
|
|
27712
|
+
e[t2] && (n && (n += " "), n += t2);
|
|
27713
|
+
return n;
|
|
27714
|
+
}
|
|
27715
|
+
function clsx() {
|
|
27716
|
+
for (var e, t2, f = 0, n = ""; f < arguments.length; )
|
|
27717
|
+
(e = arguments[f++]) && (t2 = r(e)) && (n && (n += " "), n += t2);
|
|
27718
|
+
return n;
|
|
27719
|
+
}
|
|
27720
|
+
const falsyToString = (value) => typeof value === "boolean" ? "".concat(value) : value === 0 ? "0" : value;
|
|
27721
|
+
const defineConfig = (options) => {
|
|
27722
|
+
const cx1 = function() {
|
|
27723
|
+
for (var _len = arguments.length, inputs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
27724
|
+
inputs[_key] = arguments[_key];
|
|
27725
|
+
}
|
|
27726
|
+
var ref2, ref1;
|
|
27727
|
+
if (typeof (options === null || options === void 0 ? void 0 : (ref2 = options.hooks) === null || ref2 === void 0 ? void 0 : ref2["cx:done"]) !== "undefined")
|
|
27728
|
+
return options === null || options === void 0 ? void 0 : options.hooks["cx:done"](clsx(inputs));
|
|
27729
|
+
if (typeof (options === null || options === void 0 ? void 0 : (ref1 = options.hooks) === null || ref1 === void 0 ? void 0 : ref1.onComplete) !== "undefined")
|
|
27730
|
+
return options === null || options === void 0 ? void 0 : options.hooks.onComplete(clsx(inputs));
|
|
27731
|
+
return clsx(inputs);
|
|
27732
|
+
};
|
|
27733
|
+
const cva1 = (config) => {
|
|
27734
|
+
return (props) => {
|
|
27735
|
+
var ref2;
|
|
27736
|
+
if ((config === null || config === void 0 ? void 0 : config.variants) == null)
|
|
27737
|
+
return cx1(config === null || config === void 0 ? void 0 : config.base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
27738
|
+
const { variants, defaultVariants } = config;
|
|
27739
|
+
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
27740
|
+
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
27741
|
+
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
27742
|
+
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
27743
|
+
return variants[variant][variantKey];
|
|
27744
|
+
});
|
|
27745
|
+
const defaultsAndProps = { ...defaultVariants, ...props && Object.entries(props).reduce((acc, param) => {
|
|
27746
|
+
let [key, value] = param;
|
|
27747
|
+
return typeof value === "undefined" ? acc : { ...acc, [key]: value };
|
|
27748
|
+
}, {}) };
|
|
27749
|
+
const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (ref2 = config.compoundVariants) === null || ref2 === void 0 ? void 0 : ref2.reduce((acc, param1) => {
|
|
27750
|
+
let { class: cvClass, className: cvClassName, ...cvConfig } = param1;
|
|
27751
|
+
return Object.entries(cvConfig).every((param) => {
|
|
27752
|
+
let [cvKey, cvSelector] = param;
|
|
27753
|
+
const selector = defaultsAndProps[cvKey];
|
|
27754
|
+
return Array.isArray(cvSelector) ? cvSelector.includes(selector) : selector === cvSelector;
|
|
27755
|
+
}) ? [...acc, cvClass, cvClassName] : acc;
|
|
27756
|
+
}, []);
|
|
27757
|
+
return cx1(config === null || config === void 0 ? void 0 : config.base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
27758
|
+
};
|
|
27759
|
+
};
|
|
27760
|
+
const compose1 = function() {
|
|
27761
|
+
for (var _len = arguments.length, components = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
27762
|
+
components[_key] = arguments[_key];
|
|
27763
|
+
}
|
|
27764
|
+
return (props) => {
|
|
27765
|
+
const propsWithoutClass = Object.fromEntries(Object.entries(props || {}).filter((param) => {
|
|
27766
|
+
let [key] = param;
|
|
27767
|
+
return !["class", "className"].includes(key);
|
|
27768
|
+
}));
|
|
27769
|
+
return cx1(components.map((component) => component(propsWithoutClass)), props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
27770
|
+
};
|
|
27771
|
+
};
|
|
27772
|
+
return { compose: compose1, cva: cva1, cx: cx1 };
|
|
27773
|
+
};
|
|
27774
|
+
const CLASS_PART_SEPARATOR = "-";
|
|
27775
|
+
function createClassUtils(config) {
|
|
27776
|
+
const classMap = createClassMap(config);
|
|
27777
|
+
const {
|
|
27778
|
+
conflictingClassGroups,
|
|
27779
|
+
conflictingClassGroupModifiers
|
|
27780
|
+
} = config;
|
|
27781
|
+
function getClassGroupId(className) {
|
|
27782
|
+
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
27783
|
+
if (classParts[0] === "" && classParts.length !== 1) {
|
|
27784
|
+
classParts.shift();
|
|
27785
|
+
}
|
|
27786
|
+
return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
|
|
27787
|
+
}
|
|
27788
|
+
function getConflictingClassGroupIds(classGroupId, hasPostfixModifier) {
|
|
27789
|
+
const conflicts = conflictingClassGroups[classGroupId] || [];
|
|
27790
|
+
if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
|
|
27791
|
+
return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
|
|
27792
|
+
}
|
|
27793
|
+
return conflicts;
|
|
27794
|
+
}
|
|
27795
|
+
return {
|
|
27796
|
+
getClassGroupId,
|
|
27797
|
+
getConflictingClassGroupIds
|
|
27798
|
+
};
|
|
27799
|
+
}
|
|
27800
|
+
function getGroupRecursive(classParts, classPartObject) {
|
|
27801
|
+
var _a2;
|
|
27802
|
+
if (classParts.length === 0) {
|
|
27803
|
+
return classPartObject.classGroupId;
|
|
27804
|
+
}
|
|
27805
|
+
const currentClassPart = classParts[0];
|
|
27806
|
+
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
27807
|
+
const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
|
|
27808
|
+
if (classGroupFromNextClassPart) {
|
|
27809
|
+
return classGroupFromNextClassPart;
|
|
27810
|
+
}
|
|
27811
|
+
if (classPartObject.validators.length === 0) {
|
|
27812
|
+
return void 0;
|
|
27813
|
+
}
|
|
27814
|
+
const classRest = classParts.join(CLASS_PART_SEPARATOR);
|
|
27815
|
+
return (_a2 = classPartObject.validators.find(({
|
|
27816
|
+
validator
|
|
27817
|
+
}) => validator(classRest))) == null ? void 0 : _a2.classGroupId;
|
|
27818
|
+
}
|
|
27819
|
+
const arbitraryPropertyRegex = /^\[(.+)\]$/;
|
|
27820
|
+
function getGroupIdForArbitraryProperty(className) {
|
|
27821
|
+
if (arbitraryPropertyRegex.test(className)) {
|
|
27822
|
+
const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
|
|
27823
|
+
const property2 = arbitraryPropertyClassName == null ? void 0 : arbitraryPropertyClassName.substring(0, arbitraryPropertyClassName.indexOf(":"));
|
|
27824
|
+
if (property2) {
|
|
27825
|
+
return "arbitrary.." + property2;
|
|
27826
|
+
}
|
|
27827
|
+
}
|
|
27828
|
+
}
|
|
27829
|
+
function createClassMap(config) {
|
|
27830
|
+
const {
|
|
27831
|
+
theme: theme2,
|
|
27832
|
+
prefix
|
|
27833
|
+
} = config;
|
|
27834
|
+
const classMap = {
|
|
27835
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
27836
|
+
validators: []
|
|
27837
|
+
};
|
|
27838
|
+
const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
|
|
27839
|
+
prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
|
|
27840
|
+
processClassesRecursively(classGroup, classMap, classGroupId, theme2);
|
|
27841
|
+
});
|
|
27842
|
+
return classMap;
|
|
27843
|
+
}
|
|
27844
|
+
function processClassesRecursively(classGroup, classPartObject, classGroupId, theme2) {
|
|
27845
|
+
classGroup.forEach((classDefinition) => {
|
|
27846
|
+
if (typeof classDefinition === "string") {
|
|
27847
|
+
const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
|
|
27848
|
+
classPartObjectToEdit.classGroupId = classGroupId;
|
|
27849
|
+
return;
|
|
27850
|
+
}
|
|
27851
|
+
if (typeof classDefinition === "function") {
|
|
27852
|
+
if (isThemeGetter(classDefinition)) {
|
|
27853
|
+
processClassesRecursively(classDefinition(theme2), classPartObject, classGroupId, theme2);
|
|
27854
|
+
return;
|
|
27855
|
+
}
|
|
27856
|
+
classPartObject.validators.push({
|
|
27857
|
+
validator: classDefinition,
|
|
27858
|
+
classGroupId
|
|
27859
|
+
});
|
|
27860
|
+
return;
|
|
27861
|
+
}
|
|
27862
|
+
Object.entries(classDefinition).forEach(([key, classGroup2]) => {
|
|
27863
|
+
processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme2);
|
|
27864
|
+
});
|
|
27865
|
+
});
|
|
27866
|
+
}
|
|
27867
|
+
function getPart(classPartObject, path) {
|
|
27868
|
+
let currentClassPartObject = classPartObject;
|
|
27869
|
+
path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
|
|
27870
|
+
if (!currentClassPartObject.nextPart.has(pathPart)) {
|
|
27871
|
+
currentClassPartObject.nextPart.set(pathPart, {
|
|
27872
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
27873
|
+
validators: []
|
|
27874
|
+
});
|
|
27875
|
+
}
|
|
27876
|
+
currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
|
|
27877
|
+
});
|
|
27878
|
+
return currentClassPartObject;
|
|
27879
|
+
}
|
|
27880
|
+
function isThemeGetter(func) {
|
|
27881
|
+
return func.isThemeGetter;
|
|
27882
|
+
}
|
|
27883
|
+
function getPrefixedClassGroupEntries(classGroupEntries, prefix) {
|
|
27884
|
+
if (!prefix) {
|
|
27885
|
+
return classGroupEntries;
|
|
27886
|
+
}
|
|
27887
|
+
return classGroupEntries.map(([classGroupId, classGroup]) => {
|
|
27888
|
+
const prefixedClassGroup = classGroup.map((classDefinition) => {
|
|
27889
|
+
if (typeof classDefinition === "string") {
|
|
27890
|
+
return prefix + classDefinition;
|
|
27891
|
+
}
|
|
27892
|
+
if (typeof classDefinition === "object") {
|
|
27893
|
+
return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
|
|
27894
|
+
}
|
|
27895
|
+
return classDefinition;
|
|
27896
|
+
});
|
|
27897
|
+
return [classGroupId, prefixedClassGroup];
|
|
27898
|
+
});
|
|
27899
|
+
}
|
|
27900
|
+
function createLruCache(maxCacheSize) {
|
|
27901
|
+
if (maxCacheSize < 1) {
|
|
27902
|
+
return {
|
|
27903
|
+
get: () => void 0,
|
|
27904
|
+
set: () => {
|
|
27905
|
+
}
|
|
27906
|
+
};
|
|
27907
|
+
}
|
|
27908
|
+
let cacheSize = 0;
|
|
27909
|
+
let cache2 = /* @__PURE__ */ new Map();
|
|
27910
|
+
let previousCache = /* @__PURE__ */ new Map();
|
|
27911
|
+
function update(key, value) {
|
|
27912
|
+
cache2.set(key, value);
|
|
27913
|
+
cacheSize++;
|
|
27914
|
+
if (cacheSize > maxCacheSize) {
|
|
27915
|
+
cacheSize = 0;
|
|
27916
|
+
previousCache = cache2;
|
|
27917
|
+
cache2 = /* @__PURE__ */ new Map();
|
|
27918
|
+
}
|
|
27919
|
+
}
|
|
27920
|
+
return {
|
|
27921
|
+
get(key) {
|
|
27922
|
+
let value = cache2.get(key);
|
|
27923
|
+
if (value !== void 0) {
|
|
27924
|
+
return value;
|
|
27925
|
+
}
|
|
27926
|
+
if ((value = previousCache.get(key)) !== void 0) {
|
|
27927
|
+
update(key, value);
|
|
27928
|
+
return value;
|
|
27929
|
+
}
|
|
27930
|
+
},
|
|
27931
|
+
set(key, value) {
|
|
27932
|
+
if (cache2.has(key)) {
|
|
27933
|
+
cache2.set(key, value);
|
|
27934
|
+
} else {
|
|
27935
|
+
update(key, value);
|
|
27936
|
+
}
|
|
27937
|
+
}
|
|
27938
|
+
};
|
|
27939
|
+
}
|
|
27940
|
+
const IMPORTANT_MODIFIER = "!";
|
|
27941
|
+
function createSplitModifiers(config) {
|
|
27942
|
+
const separator = config.separator;
|
|
27943
|
+
const isSeparatorSingleCharacter = separator.length === 1;
|
|
27944
|
+
const firstSeparatorCharacter = separator[0];
|
|
27945
|
+
const separatorLength = separator.length;
|
|
27946
|
+
return function splitModifiers(className) {
|
|
27947
|
+
const modifiers2 = [];
|
|
27948
|
+
let bracketDepth = 0;
|
|
27949
|
+
let modifierStart = 0;
|
|
27950
|
+
let postfixModifierPosition;
|
|
27951
|
+
for (let index = 0; index < className.length; index++) {
|
|
27952
|
+
let currentCharacter = className[index];
|
|
27953
|
+
if (bracketDepth === 0) {
|
|
27954
|
+
if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
|
|
27955
|
+
modifiers2.push(className.slice(modifierStart, index));
|
|
27956
|
+
modifierStart = index + separatorLength;
|
|
27957
|
+
continue;
|
|
27958
|
+
}
|
|
27959
|
+
if (currentCharacter === "/") {
|
|
27960
|
+
postfixModifierPosition = index;
|
|
27961
|
+
continue;
|
|
27962
|
+
}
|
|
27963
|
+
}
|
|
27964
|
+
if (currentCharacter === "[") {
|
|
27965
|
+
bracketDepth++;
|
|
27966
|
+
} else if (currentCharacter === "]") {
|
|
27967
|
+
bracketDepth--;
|
|
27968
|
+
}
|
|
27969
|
+
}
|
|
27970
|
+
const baseClassNameWithImportantModifier = modifiers2.length === 0 ? className : className.substring(modifierStart);
|
|
27971
|
+
const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
|
|
27972
|
+
const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
|
|
27973
|
+
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
|
|
27974
|
+
return {
|
|
27975
|
+
modifiers: modifiers2,
|
|
27976
|
+
hasImportantModifier,
|
|
27977
|
+
baseClassName,
|
|
27978
|
+
maybePostfixModifierPosition
|
|
27979
|
+
};
|
|
27980
|
+
};
|
|
27981
|
+
}
|
|
27982
|
+
function sortModifiers(modifiers2) {
|
|
27983
|
+
if (modifiers2.length <= 1) {
|
|
27984
|
+
return modifiers2;
|
|
27985
|
+
}
|
|
27986
|
+
const sortedModifiers = [];
|
|
27987
|
+
let unsortedModifiers = [];
|
|
27988
|
+
modifiers2.forEach((modifier) => {
|
|
27989
|
+
const isArbitraryVariant = modifier[0] === "[";
|
|
27990
|
+
if (isArbitraryVariant) {
|
|
27991
|
+
sortedModifiers.push(...unsortedModifiers.sort(), modifier);
|
|
27992
|
+
unsortedModifiers = [];
|
|
27993
|
+
} else {
|
|
27994
|
+
unsortedModifiers.push(modifier);
|
|
27995
|
+
}
|
|
27996
|
+
});
|
|
27997
|
+
sortedModifiers.push(...unsortedModifiers.sort());
|
|
27998
|
+
return sortedModifiers;
|
|
27999
|
+
}
|
|
28000
|
+
function createConfigUtils(config) {
|
|
28001
|
+
return {
|
|
28002
|
+
cache: createLruCache(config.cacheSize),
|
|
28003
|
+
splitModifiers: createSplitModifiers(config),
|
|
28004
|
+
...createClassUtils(config)
|
|
28005
|
+
};
|
|
28006
|
+
}
|
|
28007
|
+
const SPLIT_CLASSES_REGEX = /\s+/;
|
|
28008
|
+
function mergeClassList(classList, configUtils) {
|
|
28009
|
+
const {
|
|
28010
|
+
splitModifiers,
|
|
28011
|
+
getClassGroupId,
|
|
28012
|
+
getConflictingClassGroupIds
|
|
28013
|
+
} = configUtils;
|
|
28014
|
+
const classGroupsInConflict = /* @__PURE__ */ new Set();
|
|
28015
|
+
return classList.trim().split(SPLIT_CLASSES_REGEX).map((originalClassName) => {
|
|
28016
|
+
const {
|
|
28017
|
+
modifiers: modifiers2,
|
|
28018
|
+
hasImportantModifier,
|
|
28019
|
+
baseClassName,
|
|
28020
|
+
maybePostfixModifierPosition
|
|
28021
|
+
} = splitModifiers(originalClassName);
|
|
28022
|
+
let classGroupId = getClassGroupId(maybePostfixModifierPosition ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
28023
|
+
let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
|
|
28024
|
+
if (!classGroupId) {
|
|
28025
|
+
if (!maybePostfixModifierPosition) {
|
|
28026
|
+
return {
|
|
28027
|
+
isTailwindClass: false,
|
|
28028
|
+
originalClassName
|
|
28029
|
+
};
|
|
28030
|
+
}
|
|
28031
|
+
classGroupId = getClassGroupId(baseClassName);
|
|
28032
|
+
if (!classGroupId) {
|
|
28033
|
+
return {
|
|
28034
|
+
isTailwindClass: false,
|
|
28035
|
+
originalClassName
|
|
28036
|
+
};
|
|
28037
|
+
}
|
|
28038
|
+
hasPostfixModifier = false;
|
|
28039
|
+
}
|
|
28040
|
+
const variantModifier = sortModifiers(modifiers2).join(":");
|
|
28041
|
+
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
28042
|
+
return {
|
|
28043
|
+
isTailwindClass: true,
|
|
28044
|
+
modifierId,
|
|
28045
|
+
classGroupId,
|
|
28046
|
+
originalClassName,
|
|
28047
|
+
hasPostfixModifier
|
|
28048
|
+
};
|
|
28049
|
+
}).reverse().filter((parsed) => {
|
|
28050
|
+
if (!parsed.isTailwindClass) {
|
|
28051
|
+
return true;
|
|
28052
|
+
}
|
|
28053
|
+
const {
|
|
28054
|
+
modifierId,
|
|
28055
|
+
classGroupId,
|
|
28056
|
+
hasPostfixModifier
|
|
28057
|
+
} = parsed;
|
|
28058
|
+
const classId = modifierId + classGroupId;
|
|
28059
|
+
if (classGroupsInConflict.has(classId)) {
|
|
28060
|
+
return false;
|
|
28061
|
+
}
|
|
28062
|
+
classGroupsInConflict.add(classId);
|
|
28063
|
+
getConflictingClassGroupIds(classGroupId, hasPostfixModifier).forEach((group) => classGroupsInConflict.add(modifierId + group));
|
|
28064
|
+
return true;
|
|
28065
|
+
}).reverse().map((parsed) => parsed.originalClassName).join(" ");
|
|
28066
|
+
}
|
|
28067
|
+
function twJoin() {
|
|
28068
|
+
let index = 0;
|
|
28069
|
+
let argument;
|
|
28070
|
+
let resolvedValue;
|
|
28071
|
+
let string2 = "";
|
|
28072
|
+
while (index < arguments.length) {
|
|
28073
|
+
if (argument = arguments[index++]) {
|
|
28074
|
+
if (resolvedValue = toValue(argument)) {
|
|
28075
|
+
string2 && (string2 += " ");
|
|
28076
|
+
string2 += resolvedValue;
|
|
28077
|
+
}
|
|
28078
|
+
}
|
|
28079
|
+
}
|
|
28080
|
+
return string2;
|
|
28081
|
+
}
|
|
28082
|
+
function toValue(mix) {
|
|
28083
|
+
if (typeof mix === "string") {
|
|
28084
|
+
return mix;
|
|
28085
|
+
}
|
|
28086
|
+
let resolvedValue;
|
|
28087
|
+
let string2 = "";
|
|
28088
|
+
for (let k = 0; k < mix.length; k++) {
|
|
28089
|
+
if (mix[k]) {
|
|
28090
|
+
if (resolvedValue = toValue(mix[k])) {
|
|
28091
|
+
string2 && (string2 += " ");
|
|
28092
|
+
string2 += resolvedValue;
|
|
28093
|
+
}
|
|
28094
|
+
}
|
|
28095
|
+
}
|
|
28096
|
+
return string2;
|
|
28097
|
+
}
|
|
28098
|
+
function createTailwindMerge(createConfigFirst, ...createConfigRest) {
|
|
28099
|
+
let configUtils;
|
|
28100
|
+
let cacheGet;
|
|
28101
|
+
let cacheSet;
|
|
28102
|
+
let functionToCall = initTailwindMerge;
|
|
28103
|
+
function initTailwindMerge(classList) {
|
|
28104
|
+
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
28105
|
+
configUtils = createConfigUtils(config);
|
|
28106
|
+
cacheGet = configUtils.cache.get;
|
|
28107
|
+
cacheSet = configUtils.cache.set;
|
|
28108
|
+
functionToCall = tailwindMerge;
|
|
28109
|
+
return tailwindMerge(classList);
|
|
28110
|
+
}
|
|
28111
|
+
function tailwindMerge(classList) {
|
|
28112
|
+
const cachedResult = cacheGet(classList);
|
|
28113
|
+
if (cachedResult) {
|
|
28114
|
+
return cachedResult;
|
|
28115
|
+
}
|
|
28116
|
+
const result = mergeClassList(classList, configUtils);
|
|
28117
|
+
cacheSet(classList, result);
|
|
28118
|
+
return result;
|
|
28119
|
+
}
|
|
28120
|
+
return function callTailwindMerge() {
|
|
28121
|
+
return functionToCall(twJoin.apply(null, arguments));
|
|
28122
|
+
};
|
|
28123
|
+
}
|
|
28124
|
+
function fromTheme(key) {
|
|
28125
|
+
const themeGetter = (theme2) => theme2[key] || [];
|
|
28126
|
+
themeGetter.isThemeGetter = true;
|
|
28127
|
+
return themeGetter;
|
|
28128
|
+
}
|
|
28129
|
+
const arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
|
|
28130
|
+
const fractionRegex = /^\d+\/\d+$/;
|
|
28131
|
+
const stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
|
|
28132
|
+
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
28133
|
+
const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
|
|
28134
|
+
const shadowRegex = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
28135
|
+
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
28136
|
+
function isLength(value) {
|
|
28137
|
+
return isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
|
|
28138
|
+
}
|
|
28139
|
+
function isArbitraryLength(value) {
|
|
28140
|
+
return getIsArbitraryValue(value, "length", isLengthOnly);
|
|
28141
|
+
}
|
|
28142
|
+
function isNumber(value) {
|
|
28143
|
+
return Boolean(value) && !Number.isNaN(Number(value));
|
|
28144
|
+
}
|
|
28145
|
+
function isArbitraryNumber(value) {
|
|
28146
|
+
return getIsArbitraryValue(value, "number", isNumber);
|
|
28147
|
+
}
|
|
28148
|
+
function isInteger(value) {
|
|
28149
|
+
return Boolean(value) && Number.isInteger(Number(value));
|
|
28150
|
+
}
|
|
28151
|
+
function isPercent(value) {
|
|
28152
|
+
return value.endsWith("%") && isNumber(value.slice(0, -1));
|
|
28153
|
+
}
|
|
28154
|
+
function isArbitraryValue(value) {
|
|
28155
|
+
return arbitraryValueRegex.test(value);
|
|
28156
|
+
}
|
|
28157
|
+
function isTshirtSize(value) {
|
|
28158
|
+
return tshirtUnitRegex.test(value);
|
|
28159
|
+
}
|
|
28160
|
+
const sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
28161
|
+
function isArbitrarySize(value) {
|
|
28162
|
+
return getIsArbitraryValue(value, sizeLabels, isNever);
|
|
28163
|
+
}
|
|
28164
|
+
function isArbitraryPosition(value) {
|
|
28165
|
+
return getIsArbitraryValue(value, "position", isNever);
|
|
28166
|
+
}
|
|
28167
|
+
const imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
|
|
28168
|
+
function isArbitraryImage(value) {
|
|
28169
|
+
return getIsArbitraryValue(value, imageLabels, isImage);
|
|
28170
|
+
}
|
|
28171
|
+
function isArbitraryShadow(value) {
|
|
28172
|
+
return getIsArbitraryValue(value, "", isShadow);
|
|
28173
|
+
}
|
|
28174
|
+
function isAny() {
|
|
28175
|
+
return true;
|
|
28176
|
+
}
|
|
28177
|
+
function getIsArbitraryValue(value, label, testValue) {
|
|
28178
|
+
const result = arbitraryValueRegex.exec(value);
|
|
28179
|
+
if (result) {
|
|
28180
|
+
if (result[1]) {
|
|
28181
|
+
return typeof label === "string" ? result[1] === label : label.has(result[1]);
|
|
28182
|
+
}
|
|
28183
|
+
return testValue(result[2]);
|
|
28184
|
+
}
|
|
28185
|
+
return false;
|
|
28186
|
+
}
|
|
28187
|
+
function isLengthOnly(value) {
|
|
28188
|
+
return lengthUnitRegex.test(value);
|
|
28189
|
+
}
|
|
28190
|
+
function isNever() {
|
|
28191
|
+
return false;
|
|
28192
|
+
}
|
|
28193
|
+
function isShadow(value) {
|
|
28194
|
+
return shadowRegex.test(value);
|
|
28195
|
+
}
|
|
28196
|
+
function isImage(value) {
|
|
28197
|
+
return imageRegex.test(value);
|
|
28198
|
+
}
|
|
28199
|
+
function getDefaultConfig() {
|
|
28200
|
+
const colors = fromTheme("colors");
|
|
28201
|
+
const spacing = fromTheme("spacing");
|
|
28202
|
+
const blur = fromTheme("blur");
|
|
28203
|
+
const brightness = fromTheme("brightness");
|
|
28204
|
+
const borderColor = fromTheme("borderColor");
|
|
28205
|
+
const borderRadius = fromTheme("borderRadius");
|
|
28206
|
+
const borderSpacing = fromTheme("borderSpacing");
|
|
28207
|
+
const borderWidth = fromTheme("borderWidth");
|
|
28208
|
+
const contrast = fromTheme("contrast");
|
|
28209
|
+
const grayscale = fromTheme("grayscale");
|
|
28210
|
+
const hueRotate = fromTheme("hueRotate");
|
|
28211
|
+
const invert = fromTheme("invert");
|
|
28212
|
+
const gap = fromTheme("gap");
|
|
28213
|
+
const gradientColorStops = fromTheme("gradientColorStops");
|
|
28214
|
+
const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
|
|
28215
|
+
const inset = fromTheme("inset");
|
|
28216
|
+
const margin = fromTheme("margin");
|
|
28217
|
+
const opacity = fromTheme("opacity");
|
|
28218
|
+
const padding = fromTheme("padding");
|
|
28219
|
+
const saturate = fromTheme("saturate");
|
|
28220
|
+
const scale = fromTheme("scale");
|
|
28221
|
+
const sepia = fromTheme("sepia");
|
|
28222
|
+
const skew = fromTheme("skew");
|
|
28223
|
+
const space2 = fromTheme("space");
|
|
28224
|
+
const translate = fromTheme("translate");
|
|
28225
|
+
const getOverscroll = () => ["auto", "contain", "none"];
|
|
28226
|
+
const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
|
|
28227
|
+
const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
|
|
28228
|
+
const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
|
|
28229
|
+
const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
|
|
28230
|
+
const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
|
|
28231
|
+
const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
|
|
28232
|
+
const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
|
|
28233
|
+
const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"];
|
|
28234
|
+
const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
|
|
28235
|
+
const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
|
|
28236
|
+
const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
28237
|
+
const getNumber = () => [isNumber, isArbitraryNumber];
|
|
28238
|
+
const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
|
|
28239
|
+
return {
|
|
28240
|
+
cacheSize: 500,
|
|
28241
|
+
separator: ":",
|
|
28242
|
+
theme: {
|
|
28243
|
+
colors: [isAny],
|
|
28244
|
+
spacing: [isLength, isArbitraryLength],
|
|
28245
|
+
blur: ["none", "", isTshirtSize, isArbitraryValue],
|
|
28246
|
+
brightness: getNumber(),
|
|
28247
|
+
borderColor: [colors],
|
|
28248
|
+
borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
|
|
28249
|
+
borderSpacing: getSpacingWithArbitrary(),
|
|
28250
|
+
borderWidth: getLengthWithEmptyAndArbitrary(),
|
|
28251
|
+
contrast: getNumber(),
|
|
28252
|
+
grayscale: getZeroAndEmpty(),
|
|
28253
|
+
hueRotate: getNumberAndArbitrary(),
|
|
28254
|
+
invert: getZeroAndEmpty(),
|
|
28255
|
+
gap: getSpacingWithArbitrary(),
|
|
28256
|
+
gradientColorStops: [colors],
|
|
28257
|
+
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
|
28258
|
+
inset: getSpacingWithAutoAndArbitrary(),
|
|
28259
|
+
margin: getSpacingWithAutoAndArbitrary(),
|
|
28260
|
+
opacity: getNumber(),
|
|
28261
|
+
padding: getSpacingWithArbitrary(),
|
|
28262
|
+
saturate: getNumber(),
|
|
28263
|
+
scale: getNumber(),
|
|
28264
|
+
sepia: getZeroAndEmpty(),
|
|
28265
|
+
skew: getNumberAndArbitrary(),
|
|
28266
|
+
space: getSpacingWithArbitrary(),
|
|
28267
|
+
translate: getSpacingWithArbitrary()
|
|
28268
|
+
},
|
|
28269
|
+
classGroups: {
|
|
28270
|
+
// Layout
|
|
28271
|
+
/**
|
|
28272
|
+
* Aspect Ratio
|
|
28273
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
28274
|
+
*/
|
|
28275
|
+
aspect: [{
|
|
28276
|
+
aspect: ["auto", "square", "video", isArbitraryValue]
|
|
28277
|
+
}],
|
|
28278
|
+
/**
|
|
28279
|
+
* Container
|
|
28280
|
+
* @see https://tailwindcss.com/docs/container
|
|
28281
|
+
*/
|
|
28282
|
+
container: ["container"],
|
|
28283
|
+
/**
|
|
28284
|
+
* Columns
|
|
28285
|
+
* @see https://tailwindcss.com/docs/columns
|
|
28286
|
+
*/
|
|
28287
|
+
columns: [{
|
|
28288
|
+
columns: [isTshirtSize]
|
|
28289
|
+
}],
|
|
28290
|
+
/**
|
|
28291
|
+
* Break After
|
|
28292
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
28293
|
+
*/
|
|
28294
|
+
"break-after": [{
|
|
28295
|
+
"break-after": getBreaks()
|
|
28296
|
+
}],
|
|
28297
|
+
/**
|
|
28298
|
+
* Break Before
|
|
28299
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
28300
|
+
*/
|
|
28301
|
+
"break-before": [{
|
|
28302
|
+
"break-before": getBreaks()
|
|
28303
|
+
}],
|
|
28304
|
+
/**
|
|
28305
|
+
* Break Inside
|
|
28306
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
28307
|
+
*/
|
|
28308
|
+
"break-inside": [{
|
|
28309
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
28310
|
+
}],
|
|
28311
|
+
/**
|
|
28312
|
+
* Box Decoration Break
|
|
28313
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
28314
|
+
*/
|
|
28315
|
+
"box-decoration": [{
|
|
28316
|
+
"box-decoration": ["slice", "clone"]
|
|
28317
|
+
}],
|
|
28318
|
+
/**
|
|
28319
|
+
* Box Sizing
|
|
28320
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
28321
|
+
*/
|
|
28322
|
+
box: [{
|
|
28323
|
+
box: ["border", "content"]
|
|
28324
|
+
}],
|
|
28325
|
+
/**
|
|
28326
|
+
* Display
|
|
28327
|
+
* @see https://tailwindcss.com/docs/display
|
|
28328
|
+
*/
|
|
28329
|
+
display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
|
|
28330
|
+
/**
|
|
28331
|
+
* Floats
|
|
28332
|
+
* @see https://tailwindcss.com/docs/float
|
|
28333
|
+
*/
|
|
28334
|
+
float: [{
|
|
28335
|
+
float: ["right", "left", "none"]
|
|
28336
|
+
}],
|
|
28337
|
+
/**
|
|
28338
|
+
* Clear
|
|
28339
|
+
* @see https://tailwindcss.com/docs/clear
|
|
28340
|
+
*/
|
|
28341
|
+
clear: [{
|
|
28342
|
+
clear: ["left", "right", "both", "none"]
|
|
28343
|
+
}],
|
|
28344
|
+
/**
|
|
28345
|
+
* Isolation
|
|
28346
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
28347
|
+
*/
|
|
28348
|
+
isolation: ["isolate", "isolation-auto"],
|
|
28349
|
+
/**
|
|
28350
|
+
* Object Fit
|
|
28351
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
28352
|
+
*/
|
|
28353
|
+
"object-fit": [{
|
|
28354
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
28355
|
+
}],
|
|
28356
|
+
/**
|
|
28357
|
+
* Object Position
|
|
28358
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
28359
|
+
*/
|
|
28360
|
+
"object-position": [{
|
|
28361
|
+
object: [...getPositions(), isArbitraryValue]
|
|
28362
|
+
}],
|
|
28363
|
+
/**
|
|
28364
|
+
* Overflow
|
|
28365
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
28366
|
+
*/
|
|
28367
|
+
overflow: [{
|
|
28368
|
+
overflow: getOverflow()
|
|
28369
|
+
}],
|
|
28370
|
+
/**
|
|
28371
|
+
* Overflow X
|
|
28372
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
28373
|
+
*/
|
|
28374
|
+
"overflow-x": [{
|
|
28375
|
+
"overflow-x": getOverflow()
|
|
28376
|
+
}],
|
|
28377
|
+
/**
|
|
28378
|
+
* Overflow Y
|
|
28379
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
28380
|
+
*/
|
|
28381
|
+
"overflow-y": [{
|
|
28382
|
+
"overflow-y": getOverflow()
|
|
28383
|
+
}],
|
|
28384
|
+
/**
|
|
28385
|
+
* Overscroll Behavior
|
|
28386
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
28387
|
+
*/
|
|
28388
|
+
overscroll: [{
|
|
28389
|
+
overscroll: getOverscroll()
|
|
28390
|
+
}],
|
|
28391
|
+
/**
|
|
28392
|
+
* Overscroll Behavior X
|
|
28393
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
28394
|
+
*/
|
|
28395
|
+
"overscroll-x": [{
|
|
28396
|
+
"overscroll-x": getOverscroll()
|
|
28397
|
+
}],
|
|
28398
|
+
/**
|
|
28399
|
+
* Overscroll Behavior Y
|
|
28400
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
28401
|
+
*/
|
|
28402
|
+
"overscroll-y": [{
|
|
28403
|
+
"overscroll-y": getOverscroll()
|
|
28404
|
+
}],
|
|
28405
|
+
/**
|
|
28406
|
+
* Position
|
|
28407
|
+
* @see https://tailwindcss.com/docs/position
|
|
28408
|
+
*/
|
|
28409
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
28410
|
+
/**
|
|
28411
|
+
* Top / Right / Bottom / Left
|
|
28412
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28413
|
+
*/
|
|
28414
|
+
inset: [{
|
|
28415
|
+
inset: [inset]
|
|
28416
|
+
}],
|
|
28417
|
+
/**
|
|
28418
|
+
* Right / Left
|
|
28419
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28420
|
+
*/
|
|
28421
|
+
"inset-x": [{
|
|
28422
|
+
"inset-x": [inset]
|
|
28423
|
+
}],
|
|
28424
|
+
/**
|
|
28425
|
+
* Top / Bottom
|
|
28426
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28427
|
+
*/
|
|
28428
|
+
"inset-y": [{
|
|
28429
|
+
"inset-y": [inset]
|
|
28430
|
+
}],
|
|
28431
|
+
/**
|
|
28432
|
+
* Start
|
|
28433
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28434
|
+
*/
|
|
28435
|
+
start: [{
|
|
28436
|
+
start: [inset]
|
|
28437
|
+
}],
|
|
28438
|
+
/**
|
|
28439
|
+
* End
|
|
28440
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28441
|
+
*/
|
|
28442
|
+
end: [{
|
|
28443
|
+
end: [inset]
|
|
28444
|
+
}],
|
|
28445
|
+
/**
|
|
28446
|
+
* Top
|
|
28447
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28448
|
+
*/
|
|
28449
|
+
top: [{
|
|
28450
|
+
top: [inset]
|
|
28451
|
+
}],
|
|
28452
|
+
/**
|
|
28453
|
+
* Right
|
|
28454
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28455
|
+
*/
|
|
28456
|
+
right: [{
|
|
28457
|
+
right: [inset]
|
|
28458
|
+
}],
|
|
28459
|
+
/**
|
|
28460
|
+
* Bottom
|
|
28461
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28462
|
+
*/
|
|
28463
|
+
bottom: [{
|
|
28464
|
+
bottom: [inset]
|
|
28465
|
+
}],
|
|
28466
|
+
/**
|
|
28467
|
+
* Left
|
|
28468
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28469
|
+
*/
|
|
28470
|
+
left: [{
|
|
28471
|
+
left: [inset]
|
|
28472
|
+
}],
|
|
28473
|
+
/**
|
|
28474
|
+
* Visibility
|
|
28475
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
28476
|
+
*/
|
|
28477
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
28478
|
+
/**
|
|
28479
|
+
* Z-Index
|
|
28480
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
28481
|
+
*/
|
|
28482
|
+
z: [{
|
|
28483
|
+
z: ["auto", isInteger, isArbitraryValue]
|
|
28484
|
+
}],
|
|
28485
|
+
// Flexbox and Grid
|
|
28486
|
+
/**
|
|
28487
|
+
* Flex Basis
|
|
28488
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
28489
|
+
*/
|
|
28490
|
+
basis: [{
|
|
28491
|
+
basis: getSpacingWithAutoAndArbitrary()
|
|
28492
|
+
}],
|
|
28493
|
+
/**
|
|
28494
|
+
* Flex Direction
|
|
28495
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
28496
|
+
*/
|
|
28497
|
+
"flex-direction": [{
|
|
28498
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
28499
|
+
}],
|
|
28500
|
+
/**
|
|
28501
|
+
* Flex Wrap
|
|
28502
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
28503
|
+
*/
|
|
28504
|
+
"flex-wrap": [{
|
|
28505
|
+
flex: ["wrap", "wrap-reverse", "nowrap"]
|
|
28506
|
+
}],
|
|
28507
|
+
/**
|
|
28508
|
+
* Flex
|
|
28509
|
+
* @see https://tailwindcss.com/docs/flex
|
|
28510
|
+
*/
|
|
28511
|
+
flex: [{
|
|
28512
|
+
flex: ["1", "auto", "initial", "none", isArbitraryValue]
|
|
28513
|
+
}],
|
|
28514
|
+
/**
|
|
28515
|
+
* Flex Grow
|
|
28516
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
28517
|
+
*/
|
|
28518
|
+
grow: [{
|
|
28519
|
+
grow: getZeroAndEmpty()
|
|
28520
|
+
}],
|
|
28521
|
+
/**
|
|
28522
|
+
* Flex Shrink
|
|
28523
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
28524
|
+
*/
|
|
28525
|
+
shrink: [{
|
|
28526
|
+
shrink: getZeroAndEmpty()
|
|
28527
|
+
}],
|
|
28528
|
+
/**
|
|
28529
|
+
* Order
|
|
28530
|
+
* @see https://tailwindcss.com/docs/order
|
|
28531
|
+
*/
|
|
28532
|
+
order: [{
|
|
28533
|
+
order: ["first", "last", "none", isInteger, isArbitraryValue]
|
|
28534
|
+
}],
|
|
28535
|
+
/**
|
|
28536
|
+
* Grid Template Columns
|
|
28537
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
28538
|
+
*/
|
|
28539
|
+
"grid-cols": [{
|
|
28540
|
+
"grid-cols": [isAny]
|
|
28541
|
+
}],
|
|
28542
|
+
/**
|
|
28543
|
+
* Grid Column Start / End
|
|
28544
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
28545
|
+
*/
|
|
28546
|
+
"col-start-end": [{
|
|
28547
|
+
col: ["auto", {
|
|
28548
|
+
span: ["full", isInteger, isArbitraryValue]
|
|
28549
|
+
}, isArbitraryValue]
|
|
28550
|
+
}],
|
|
28551
|
+
/**
|
|
28552
|
+
* Grid Column Start
|
|
28553
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
28554
|
+
*/
|
|
28555
|
+
"col-start": [{
|
|
28556
|
+
"col-start": getNumberWithAutoAndArbitrary()
|
|
28557
|
+
}],
|
|
28558
|
+
/**
|
|
28559
|
+
* Grid Column End
|
|
28560
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
28561
|
+
*/
|
|
28562
|
+
"col-end": [{
|
|
28563
|
+
"col-end": getNumberWithAutoAndArbitrary()
|
|
28564
|
+
}],
|
|
28565
|
+
/**
|
|
28566
|
+
* Grid Template Rows
|
|
28567
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
28568
|
+
*/
|
|
28569
|
+
"grid-rows": [{
|
|
28570
|
+
"grid-rows": [isAny]
|
|
28571
|
+
}],
|
|
28572
|
+
/**
|
|
28573
|
+
* Grid Row Start / End
|
|
28574
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
28575
|
+
*/
|
|
28576
|
+
"row-start-end": [{
|
|
28577
|
+
row: ["auto", {
|
|
28578
|
+
span: [isInteger, isArbitraryValue]
|
|
28579
|
+
}, isArbitraryValue]
|
|
28580
|
+
}],
|
|
28581
|
+
/**
|
|
28582
|
+
* Grid Row Start
|
|
28583
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
28584
|
+
*/
|
|
28585
|
+
"row-start": [{
|
|
28586
|
+
"row-start": getNumberWithAutoAndArbitrary()
|
|
28587
|
+
}],
|
|
28588
|
+
/**
|
|
28589
|
+
* Grid Row End
|
|
28590
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
28591
|
+
*/
|
|
28592
|
+
"row-end": [{
|
|
28593
|
+
"row-end": getNumberWithAutoAndArbitrary()
|
|
28594
|
+
}],
|
|
28595
|
+
/**
|
|
28596
|
+
* Grid Auto Flow
|
|
28597
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
28598
|
+
*/
|
|
28599
|
+
"grid-flow": [{
|
|
28600
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
28601
|
+
}],
|
|
28602
|
+
/**
|
|
28603
|
+
* Grid Auto Columns
|
|
28604
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
28605
|
+
*/
|
|
28606
|
+
"auto-cols": [{
|
|
28607
|
+
"auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
28608
|
+
}],
|
|
28609
|
+
/**
|
|
28610
|
+
* Grid Auto Rows
|
|
28611
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
28612
|
+
*/
|
|
28613
|
+
"auto-rows": [{
|
|
28614
|
+
"auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
28615
|
+
}],
|
|
28616
|
+
/**
|
|
28617
|
+
* Gap
|
|
28618
|
+
* @see https://tailwindcss.com/docs/gap
|
|
28619
|
+
*/
|
|
28620
|
+
gap: [{
|
|
28621
|
+
gap: [gap]
|
|
28622
|
+
}],
|
|
28623
|
+
/**
|
|
28624
|
+
* Gap X
|
|
28625
|
+
* @see https://tailwindcss.com/docs/gap
|
|
28626
|
+
*/
|
|
28627
|
+
"gap-x": [{
|
|
28628
|
+
"gap-x": [gap]
|
|
28629
|
+
}],
|
|
28630
|
+
/**
|
|
28631
|
+
* Gap Y
|
|
28632
|
+
* @see https://tailwindcss.com/docs/gap
|
|
28633
|
+
*/
|
|
28634
|
+
"gap-y": [{
|
|
28635
|
+
"gap-y": [gap]
|
|
28636
|
+
}],
|
|
28637
|
+
/**
|
|
28638
|
+
* Justify Content
|
|
28639
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
28640
|
+
*/
|
|
28641
|
+
"justify-content": [{
|
|
28642
|
+
justify: ["normal", ...getAlign()]
|
|
28643
|
+
}],
|
|
28644
|
+
/**
|
|
28645
|
+
* Justify Items
|
|
28646
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
28647
|
+
*/
|
|
28648
|
+
"justify-items": [{
|
|
28649
|
+
"justify-items": ["start", "end", "center", "stretch"]
|
|
28650
|
+
}],
|
|
28651
|
+
/**
|
|
28652
|
+
* Justify Self
|
|
28653
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
28654
|
+
*/
|
|
28655
|
+
"justify-self": [{
|
|
28656
|
+
"justify-self": ["auto", "start", "end", "center", "stretch"]
|
|
28657
|
+
}],
|
|
28658
|
+
/**
|
|
28659
|
+
* Align Content
|
|
28660
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
28661
|
+
*/
|
|
28662
|
+
"align-content": [{
|
|
28663
|
+
content: ["normal", ...getAlign(), "baseline"]
|
|
28664
|
+
}],
|
|
28665
|
+
/**
|
|
28666
|
+
* Align Items
|
|
28667
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
28668
|
+
*/
|
|
28669
|
+
"align-items": [{
|
|
28670
|
+
items: ["start", "end", "center", "baseline", "stretch"]
|
|
28671
|
+
}],
|
|
28672
|
+
/**
|
|
28673
|
+
* Align Self
|
|
28674
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
28675
|
+
*/
|
|
28676
|
+
"align-self": [{
|
|
28677
|
+
self: ["auto", "start", "end", "center", "stretch", "baseline"]
|
|
28678
|
+
}],
|
|
28679
|
+
/**
|
|
28680
|
+
* Place Content
|
|
28681
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
28682
|
+
*/
|
|
28683
|
+
"place-content": [{
|
|
28684
|
+
"place-content": [...getAlign(), "baseline"]
|
|
28685
|
+
}],
|
|
28686
|
+
/**
|
|
28687
|
+
* Place Items
|
|
28688
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
28689
|
+
*/
|
|
28690
|
+
"place-items": [{
|
|
28691
|
+
"place-items": ["start", "end", "center", "baseline", "stretch"]
|
|
28692
|
+
}],
|
|
28693
|
+
/**
|
|
28694
|
+
* Place Self
|
|
28695
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
28696
|
+
*/
|
|
28697
|
+
"place-self": [{
|
|
28698
|
+
"place-self": ["auto", "start", "end", "center", "stretch"]
|
|
28699
|
+
}],
|
|
28700
|
+
// Spacing
|
|
28701
|
+
/**
|
|
28702
|
+
* Padding
|
|
28703
|
+
* @see https://tailwindcss.com/docs/padding
|
|
28704
|
+
*/
|
|
28705
|
+
p: [{
|
|
28706
|
+
p: [padding]
|
|
28707
|
+
}],
|
|
28708
|
+
/**
|
|
28709
|
+
* Padding X
|
|
28710
|
+
* @see https://tailwindcss.com/docs/padding
|
|
28711
|
+
*/
|
|
28712
|
+
px: [{
|
|
28713
|
+
px: [padding]
|
|
28714
|
+
}],
|
|
28715
|
+
/**
|
|
28716
|
+
* Padding Y
|
|
28717
|
+
* @see https://tailwindcss.com/docs/padding
|
|
28718
|
+
*/
|
|
28719
|
+
py: [{
|
|
28720
|
+
py: [padding]
|
|
28721
|
+
}],
|
|
28722
|
+
/**
|
|
28723
|
+
* Padding Start
|
|
28724
|
+
* @see https://tailwindcss.com/docs/padding
|
|
28725
|
+
*/
|
|
28726
|
+
ps: [{
|
|
28727
|
+
ps: [padding]
|
|
28728
|
+
}],
|
|
28729
|
+
/**
|
|
28730
|
+
* Padding End
|
|
28731
|
+
* @see https://tailwindcss.com/docs/padding
|
|
28732
|
+
*/
|
|
28733
|
+
pe: [{
|
|
28734
|
+
pe: [padding]
|
|
28735
|
+
}],
|
|
28736
|
+
/**
|
|
28737
|
+
* Padding Top
|
|
28738
|
+
* @see https://tailwindcss.com/docs/padding
|
|
28739
|
+
*/
|
|
28740
|
+
pt: [{
|
|
28741
|
+
pt: [padding]
|
|
28742
|
+
}],
|
|
28743
|
+
/**
|
|
28744
|
+
* Padding Right
|
|
28745
|
+
* @see https://tailwindcss.com/docs/padding
|
|
28746
|
+
*/
|
|
28747
|
+
pr: [{
|
|
28748
|
+
pr: [padding]
|
|
28749
|
+
}],
|
|
28750
|
+
/**
|
|
28751
|
+
* Padding Bottom
|
|
28752
|
+
* @see https://tailwindcss.com/docs/padding
|
|
28753
|
+
*/
|
|
28754
|
+
pb: [{
|
|
28755
|
+
pb: [padding]
|
|
28756
|
+
}],
|
|
28757
|
+
/**
|
|
28758
|
+
* Padding Left
|
|
28759
|
+
* @see https://tailwindcss.com/docs/padding
|
|
28760
|
+
*/
|
|
28761
|
+
pl: [{
|
|
28762
|
+
pl: [padding]
|
|
28763
|
+
}],
|
|
28764
|
+
/**
|
|
28765
|
+
* Margin
|
|
28766
|
+
* @see https://tailwindcss.com/docs/margin
|
|
28767
|
+
*/
|
|
28768
|
+
m: [{
|
|
28769
|
+
m: [margin]
|
|
28770
|
+
}],
|
|
28771
|
+
/**
|
|
28772
|
+
* Margin X
|
|
28773
|
+
* @see https://tailwindcss.com/docs/margin
|
|
28774
|
+
*/
|
|
28775
|
+
mx: [{
|
|
28776
|
+
mx: [margin]
|
|
28777
|
+
}],
|
|
28778
|
+
/**
|
|
28779
|
+
* Margin Y
|
|
28780
|
+
* @see https://tailwindcss.com/docs/margin
|
|
28781
|
+
*/
|
|
28782
|
+
my: [{
|
|
28783
|
+
my: [margin]
|
|
28784
|
+
}],
|
|
28785
|
+
/**
|
|
28786
|
+
* Margin Start
|
|
28787
|
+
* @see https://tailwindcss.com/docs/margin
|
|
28788
|
+
*/
|
|
28789
|
+
ms: [{
|
|
28790
|
+
ms: [margin]
|
|
28791
|
+
}],
|
|
28792
|
+
/**
|
|
28793
|
+
* Margin End
|
|
28794
|
+
* @see https://tailwindcss.com/docs/margin
|
|
28795
|
+
*/
|
|
28796
|
+
me: [{
|
|
28797
|
+
me: [margin]
|
|
28798
|
+
}],
|
|
28799
|
+
/**
|
|
28800
|
+
* Margin Top
|
|
28801
|
+
* @see https://tailwindcss.com/docs/margin
|
|
28802
|
+
*/
|
|
28803
|
+
mt: [{
|
|
28804
|
+
mt: [margin]
|
|
28805
|
+
}],
|
|
28806
|
+
/**
|
|
28807
|
+
* Margin Right
|
|
28808
|
+
* @see https://tailwindcss.com/docs/margin
|
|
28809
|
+
*/
|
|
28810
|
+
mr: [{
|
|
28811
|
+
mr: [margin]
|
|
28812
|
+
}],
|
|
28813
|
+
/**
|
|
28814
|
+
* Margin Bottom
|
|
28815
|
+
* @see https://tailwindcss.com/docs/margin
|
|
28816
|
+
*/
|
|
28817
|
+
mb: [{
|
|
28818
|
+
mb: [margin]
|
|
28819
|
+
}],
|
|
28820
|
+
/**
|
|
28821
|
+
* Margin Left
|
|
28822
|
+
* @see https://tailwindcss.com/docs/margin
|
|
28823
|
+
*/
|
|
28824
|
+
ml: [{
|
|
28825
|
+
ml: [margin]
|
|
28826
|
+
}],
|
|
28827
|
+
/**
|
|
28828
|
+
* Space Between X
|
|
28829
|
+
* @see https://tailwindcss.com/docs/space
|
|
28830
|
+
*/
|
|
28831
|
+
"space-x": [{
|
|
28832
|
+
"space-x": [space2]
|
|
28833
|
+
}],
|
|
28834
|
+
/**
|
|
28835
|
+
* Space Between X Reverse
|
|
28836
|
+
* @see https://tailwindcss.com/docs/space
|
|
28837
|
+
*/
|
|
28838
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
28839
|
+
/**
|
|
28840
|
+
* Space Between Y
|
|
28841
|
+
* @see https://tailwindcss.com/docs/space
|
|
28842
|
+
*/
|
|
28843
|
+
"space-y": [{
|
|
28844
|
+
"space-y": [space2]
|
|
28845
|
+
}],
|
|
28846
|
+
/**
|
|
28847
|
+
* Space Between Y Reverse
|
|
28848
|
+
* @see https://tailwindcss.com/docs/space
|
|
28849
|
+
*/
|
|
28850
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
28851
|
+
// Sizing
|
|
28852
|
+
/**
|
|
28853
|
+
* Width
|
|
28854
|
+
* @see https://tailwindcss.com/docs/width
|
|
28855
|
+
*/
|
|
28856
|
+
w: [{
|
|
28857
|
+
w: ["auto", "min", "max", "fit", isArbitraryValue, spacing]
|
|
28858
|
+
}],
|
|
28859
|
+
/**
|
|
28860
|
+
* Min-Width
|
|
28861
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
28862
|
+
*/
|
|
28863
|
+
"min-w": [{
|
|
28864
|
+
"min-w": ["min", "max", "fit", isArbitraryValue, isLength]
|
|
28865
|
+
}],
|
|
28866
|
+
/**
|
|
28867
|
+
* Max-Width
|
|
28868
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
28869
|
+
*/
|
|
28870
|
+
"max-w": [{
|
|
28871
|
+
"max-w": ["0", "none", "full", "min", "max", "fit", "prose", {
|
|
28872
|
+
screen: [isTshirtSize]
|
|
28873
|
+
}, isTshirtSize, isArbitraryValue]
|
|
28874
|
+
}],
|
|
28875
|
+
/**
|
|
28876
|
+
* Height
|
|
28877
|
+
* @see https://tailwindcss.com/docs/height
|
|
28878
|
+
*/
|
|
28879
|
+
h: [{
|
|
28880
|
+
h: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
|
|
28881
|
+
}],
|
|
28882
|
+
/**
|
|
28883
|
+
* Min-Height
|
|
28884
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
28885
|
+
*/
|
|
28886
|
+
"min-h": [{
|
|
28887
|
+
"min-h": ["min", "max", "fit", isLength, isArbitraryValue]
|
|
28888
|
+
}],
|
|
28889
|
+
/**
|
|
28890
|
+
* Max-Height
|
|
28891
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
28892
|
+
*/
|
|
28893
|
+
"max-h": [{
|
|
28894
|
+
"max-h": [isArbitraryValue, spacing, "min", "max", "fit"]
|
|
28895
|
+
}],
|
|
28896
|
+
// Typography
|
|
28897
|
+
/**
|
|
28898
|
+
* Font Size
|
|
28899
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
28900
|
+
*/
|
|
28901
|
+
"font-size": [{
|
|
28902
|
+
text: ["base", isTshirtSize, isArbitraryLength]
|
|
28903
|
+
}],
|
|
28904
|
+
/**
|
|
28905
|
+
* Font Smoothing
|
|
28906
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
28907
|
+
*/
|
|
28908
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
28909
|
+
/**
|
|
28910
|
+
* Font Style
|
|
28911
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
28912
|
+
*/
|
|
28913
|
+
"font-style": ["italic", "not-italic"],
|
|
28914
|
+
/**
|
|
28915
|
+
* Font Weight
|
|
28916
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
28917
|
+
*/
|
|
28918
|
+
"font-weight": [{
|
|
28919
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
|
|
28920
|
+
}],
|
|
28921
|
+
/**
|
|
28922
|
+
* Font Family
|
|
28923
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
28924
|
+
*/
|
|
28925
|
+
"font-family": [{
|
|
28926
|
+
font: [isAny]
|
|
28927
|
+
}],
|
|
28928
|
+
/**
|
|
28929
|
+
* Font Variant Numeric
|
|
28930
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
28931
|
+
*/
|
|
28932
|
+
"fvn-normal": ["normal-nums"],
|
|
28933
|
+
/**
|
|
28934
|
+
* Font Variant Numeric
|
|
28935
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
28936
|
+
*/
|
|
28937
|
+
"fvn-ordinal": ["ordinal"],
|
|
28938
|
+
/**
|
|
28939
|
+
* Font Variant Numeric
|
|
28940
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
28941
|
+
*/
|
|
28942
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
28943
|
+
/**
|
|
28944
|
+
* Font Variant Numeric
|
|
28945
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
28946
|
+
*/
|
|
28947
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
28948
|
+
/**
|
|
28949
|
+
* Font Variant Numeric
|
|
28950
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
28951
|
+
*/
|
|
28952
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
28953
|
+
/**
|
|
28954
|
+
* Font Variant Numeric
|
|
28955
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
28956
|
+
*/
|
|
28957
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
|
|
28958
|
+
/**
|
|
28959
|
+
* Letter Spacing
|
|
28960
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
28961
|
+
*/
|
|
28962
|
+
tracking: [{
|
|
28963
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
|
|
28964
|
+
}],
|
|
28965
|
+
/**
|
|
28966
|
+
* Line Clamp
|
|
28967
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
28968
|
+
*/
|
|
28969
|
+
"line-clamp": [{
|
|
28970
|
+
"line-clamp": ["none", isNumber, isArbitraryNumber]
|
|
28971
|
+
}],
|
|
28972
|
+
/**
|
|
28973
|
+
* Line Height
|
|
28974
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
28975
|
+
*/
|
|
28976
|
+
leading: [{
|
|
28977
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
|
|
28978
|
+
}],
|
|
28979
|
+
/**
|
|
28980
|
+
* List Style Image
|
|
28981
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
28982
|
+
*/
|
|
28983
|
+
"list-image": [{
|
|
28984
|
+
"list-image": ["none", isArbitraryValue]
|
|
28985
|
+
}],
|
|
28986
|
+
/**
|
|
28987
|
+
* List Style Type
|
|
28988
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
28989
|
+
*/
|
|
28990
|
+
"list-style-type": [{
|
|
28991
|
+
list: ["none", "disc", "decimal", isArbitraryValue]
|
|
28992
|
+
}],
|
|
28993
|
+
/**
|
|
28994
|
+
* List Style Position
|
|
28995
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
28996
|
+
*/
|
|
28997
|
+
"list-style-position": [{
|
|
28998
|
+
list: ["inside", "outside"]
|
|
28999
|
+
}],
|
|
29000
|
+
/**
|
|
29001
|
+
* Placeholder Color
|
|
29002
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
29003
|
+
* @see https://tailwindcss.com/docs/placeholder-color
|
|
29004
|
+
*/
|
|
29005
|
+
"placeholder-color": [{
|
|
29006
|
+
placeholder: [colors]
|
|
29007
|
+
}],
|
|
29008
|
+
/**
|
|
29009
|
+
* Placeholder Opacity
|
|
29010
|
+
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
29011
|
+
*/
|
|
29012
|
+
"placeholder-opacity": [{
|
|
29013
|
+
"placeholder-opacity": [opacity]
|
|
29014
|
+
}],
|
|
29015
|
+
/**
|
|
29016
|
+
* Text Alignment
|
|
29017
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
29018
|
+
*/
|
|
29019
|
+
"text-alignment": [{
|
|
29020
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
29021
|
+
}],
|
|
29022
|
+
/**
|
|
29023
|
+
* Text Color
|
|
29024
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
29025
|
+
*/
|
|
29026
|
+
"text-color": [{
|
|
29027
|
+
text: [colors]
|
|
29028
|
+
}],
|
|
29029
|
+
/**
|
|
29030
|
+
* Text Opacity
|
|
29031
|
+
* @see https://tailwindcss.com/docs/text-opacity
|
|
29032
|
+
*/
|
|
29033
|
+
"text-opacity": [{
|
|
29034
|
+
"text-opacity": [opacity]
|
|
29035
|
+
}],
|
|
29036
|
+
/**
|
|
29037
|
+
* Text Decoration
|
|
29038
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
29039
|
+
*/
|
|
29040
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
29041
|
+
/**
|
|
29042
|
+
* Text Decoration Style
|
|
29043
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
29044
|
+
*/
|
|
29045
|
+
"text-decoration-style": [{
|
|
29046
|
+
decoration: [...getLineStyles(), "wavy"]
|
|
29047
|
+
}],
|
|
29048
|
+
/**
|
|
29049
|
+
* Text Decoration Thickness
|
|
29050
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
29051
|
+
*/
|
|
29052
|
+
"text-decoration-thickness": [{
|
|
29053
|
+
decoration: ["auto", "from-font", isLength, isArbitraryLength]
|
|
29054
|
+
}],
|
|
29055
|
+
/**
|
|
29056
|
+
* Text Underline Offset
|
|
29057
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
29058
|
+
*/
|
|
29059
|
+
"underline-offset": [{
|
|
29060
|
+
"underline-offset": ["auto", isLength, isArbitraryValue]
|
|
29061
|
+
}],
|
|
29062
|
+
/**
|
|
29063
|
+
* Text Decoration Color
|
|
29064
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
29065
|
+
*/
|
|
29066
|
+
"text-decoration-color": [{
|
|
29067
|
+
decoration: [colors]
|
|
29068
|
+
}],
|
|
29069
|
+
/**
|
|
29070
|
+
* Text Transform
|
|
29071
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
29072
|
+
*/
|
|
29073
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
29074
|
+
/**
|
|
29075
|
+
* Text Overflow
|
|
29076
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
29077
|
+
*/
|
|
29078
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
29079
|
+
/**
|
|
29080
|
+
* Text Indent
|
|
29081
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
29082
|
+
*/
|
|
29083
|
+
indent: [{
|
|
29084
|
+
indent: getSpacingWithArbitrary()
|
|
29085
|
+
}],
|
|
29086
|
+
/**
|
|
29087
|
+
* Vertical Alignment
|
|
29088
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
29089
|
+
*/
|
|
29090
|
+
"vertical-align": [{
|
|
29091
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
|
|
29092
|
+
}],
|
|
29093
|
+
/**
|
|
29094
|
+
* Whitespace
|
|
29095
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
29096
|
+
*/
|
|
29097
|
+
whitespace: [{
|
|
29098
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
29099
|
+
}],
|
|
29100
|
+
/**
|
|
29101
|
+
* Word Break
|
|
29102
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
29103
|
+
*/
|
|
29104
|
+
break: [{
|
|
29105
|
+
break: ["normal", "words", "all", "keep"]
|
|
29106
|
+
}],
|
|
29107
|
+
/**
|
|
29108
|
+
* Hyphens
|
|
29109
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
29110
|
+
*/
|
|
29111
|
+
hyphens: [{
|
|
29112
|
+
hyphens: ["none", "manual", "auto"]
|
|
29113
|
+
}],
|
|
29114
|
+
/**
|
|
29115
|
+
* Content
|
|
29116
|
+
* @see https://tailwindcss.com/docs/content
|
|
29117
|
+
*/
|
|
29118
|
+
content: [{
|
|
29119
|
+
content: ["none", isArbitraryValue]
|
|
29120
|
+
}],
|
|
29121
|
+
// Backgrounds
|
|
29122
|
+
/**
|
|
29123
|
+
* Background Attachment
|
|
29124
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
29125
|
+
*/
|
|
29126
|
+
"bg-attachment": [{
|
|
29127
|
+
bg: ["fixed", "local", "scroll"]
|
|
29128
|
+
}],
|
|
29129
|
+
/**
|
|
29130
|
+
* Background Clip
|
|
29131
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
29132
|
+
*/
|
|
29133
|
+
"bg-clip": [{
|
|
29134
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
29135
|
+
}],
|
|
29136
|
+
/**
|
|
29137
|
+
* Background Opacity
|
|
29138
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
29139
|
+
* @see https://tailwindcss.com/docs/background-opacity
|
|
29140
|
+
*/
|
|
29141
|
+
"bg-opacity": [{
|
|
29142
|
+
"bg-opacity": [opacity]
|
|
29143
|
+
}],
|
|
29144
|
+
/**
|
|
29145
|
+
* Background Origin
|
|
29146
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
29147
|
+
*/
|
|
29148
|
+
"bg-origin": [{
|
|
29149
|
+
"bg-origin": ["border", "padding", "content"]
|
|
29150
|
+
}],
|
|
29151
|
+
/**
|
|
29152
|
+
* Background Position
|
|
29153
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
29154
|
+
*/
|
|
29155
|
+
"bg-position": [{
|
|
29156
|
+
bg: [...getPositions(), isArbitraryPosition]
|
|
29157
|
+
}],
|
|
29158
|
+
/**
|
|
29159
|
+
* Background Repeat
|
|
29160
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
29161
|
+
*/
|
|
29162
|
+
"bg-repeat": [{
|
|
29163
|
+
bg: ["no-repeat", {
|
|
29164
|
+
repeat: ["", "x", "y", "round", "space"]
|
|
29165
|
+
}]
|
|
29166
|
+
}],
|
|
29167
|
+
/**
|
|
29168
|
+
* Background Size
|
|
29169
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
29170
|
+
*/
|
|
29171
|
+
"bg-size": [{
|
|
29172
|
+
bg: ["auto", "cover", "contain", isArbitrarySize]
|
|
29173
|
+
}],
|
|
29174
|
+
/**
|
|
29175
|
+
* Background Image
|
|
29176
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
29177
|
+
*/
|
|
29178
|
+
"bg-image": [{
|
|
29179
|
+
bg: ["none", {
|
|
29180
|
+
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
29181
|
+
}, isArbitraryImage]
|
|
29182
|
+
}],
|
|
29183
|
+
/**
|
|
29184
|
+
* Background Color
|
|
29185
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
29186
|
+
*/
|
|
29187
|
+
"bg-color": [{
|
|
29188
|
+
bg: [colors]
|
|
29189
|
+
}],
|
|
29190
|
+
/**
|
|
29191
|
+
* Gradient Color Stops From Position
|
|
29192
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29193
|
+
*/
|
|
29194
|
+
"gradient-from-pos": [{
|
|
29195
|
+
from: [gradientColorStopPositions]
|
|
29196
|
+
}],
|
|
29197
|
+
/**
|
|
29198
|
+
* Gradient Color Stops Via Position
|
|
29199
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29200
|
+
*/
|
|
29201
|
+
"gradient-via-pos": [{
|
|
29202
|
+
via: [gradientColorStopPositions]
|
|
29203
|
+
}],
|
|
29204
|
+
/**
|
|
29205
|
+
* Gradient Color Stops To Position
|
|
29206
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29207
|
+
*/
|
|
29208
|
+
"gradient-to-pos": [{
|
|
29209
|
+
to: [gradientColorStopPositions]
|
|
29210
|
+
}],
|
|
29211
|
+
/**
|
|
29212
|
+
* Gradient Color Stops From
|
|
29213
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29214
|
+
*/
|
|
29215
|
+
"gradient-from": [{
|
|
29216
|
+
from: [gradientColorStops]
|
|
29217
|
+
}],
|
|
29218
|
+
/**
|
|
29219
|
+
* Gradient Color Stops Via
|
|
29220
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29221
|
+
*/
|
|
29222
|
+
"gradient-via": [{
|
|
29223
|
+
via: [gradientColorStops]
|
|
29224
|
+
}],
|
|
29225
|
+
/**
|
|
29226
|
+
* Gradient Color Stops To
|
|
29227
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29228
|
+
*/
|
|
29229
|
+
"gradient-to": [{
|
|
29230
|
+
to: [gradientColorStops]
|
|
29231
|
+
}],
|
|
29232
|
+
// Borders
|
|
29233
|
+
/**
|
|
29234
|
+
* Border Radius
|
|
29235
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29236
|
+
*/
|
|
29237
|
+
rounded: [{
|
|
29238
|
+
rounded: [borderRadius]
|
|
29239
|
+
}],
|
|
29240
|
+
/**
|
|
29241
|
+
* Border Radius Start
|
|
29242
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29243
|
+
*/
|
|
29244
|
+
"rounded-s": [{
|
|
29245
|
+
"rounded-s": [borderRadius]
|
|
29246
|
+
}],
|
|
29247
|
+
/**
|
|
29248
|
+
* Border Radius End
|
|
29249
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29250
|
+
*/
|
|
29251
|
+
"rounded-e": [{
|
|
29252
|
+
"rounded-e": [borderRadius]
|
|
29253
|
+
}],
|
|
29254
|
+
/**
|
|
29255
|
+
* Border Radius Top
|
|
29256
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29257
|
+
*/
|
|
29258
|
+
"rounded-t": [{
|
|
29259
|
+
"rounded-t": [borderRadius]
|
|
29260
|
+
}],
|
|
29261
|
+
/**
|
|
29262
|
+
* Border Radius Right
|
|
29263
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29264
|
+
*/
|
|
29265
|
+
"rounded-r": [{
|
|
29266
|
+
"rounded-r": [borderRadius]
|
|
29267
|
+
}],
|
|
29268
|
+
/**
|
|
29269
|
+
* Border Radius Bottom
|
|
29270
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29271
|
+
*/
|
|
29272
|
+
"rounded-b": [{
|
|
29273
|
+
"rounded-b": [borderRadius]
|
|
29274
|
+
}],
|
|
29275
|
+
/**
|
|
29276
|
+
* Border Radius Left
|
|
29277
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29278
|
+
*/
|
|
29279
|
+
"rounded-l": [{
|
|
29280
|
+
"rounded-l": [borderRadius]
|
|
29281
|
+
}],
|
|
29282
|
+
/**
|
|
29283
|
+
* Border Radius Start Start
|
|
29284
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29285
|
+
*/
|
|
29286
|
+
"rounded-ss": [{
|
|
29287
|
+
"rounded-ss": [borderRadius]
|
|
29288
|
+
}],
|
|
29289
|
+
/**
|
|
29290
|
+
* Border Radius Start End
|
|
29291
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29292
|
+
*/
|
|
29293
|
+
"rounded-se": [{
|
|
29294
|
+
"rounded-se": [borderRadius]
|
|
29295
|
+
}],
|
|
29296
|
+
/**
|
|
29297
|
+
* Border Radius End End
|
|
29298
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29299
|
+
*/
|
|
29300
|
+
"rounded-ee": [{
|
|
29301
|
+
"rounded-ee": [borderRadius]
|
|
29302
|
+
}],
|
|
29303
|
+
/**
|
|
29304
|
+
* Border Radius End Start
|
|
29305
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29306
|
+
*/
|
|
29307
|
+
"rounded-es": [{
|
|
29308
|
+
"rounded-es": [borderRadius]
|
|
29309
|
+
}],
|
|
29310
|
+
/**
|
|
29311
|
+
* Border Radius Top Left
|
|
29312
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29313
|
+
*/
|
|
29314
|
+
"rounded-tl": [{
|
|
29315
|
+
"rounded-tl": [borderRadius]
|
|
29316
|
+
}],
|
|
29317
|
+
/**
|
|
29318
|
+
* Border Radius Top Right
|
|
29319
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29320
|
+
*/
|
|
29321
|
+
"rounded-tr": [{
|
|
29322
|
+
"rounded-tr": [borderRadius]
|
|
29323
|
+
}],
|
|
29324
|
+
/**
|
|
29325
|
+
* Border Radius Bottom Right
|
|
29326
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29327
|
+
*/
|
|
29328
|
+
"rounded-br": [{
|
|
29329
|
+
"rounded-br": [borderRadius]
|
|
29330
|
+
}],
|
|
29331
|
+
/**
|
|
29332
|
+
* Border Radius Bottom Left
|
|
29333
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29334
|
+
*/
|
|
29335
|
+
"rounded-bl": [{
|
|
29336
|
+
"rounded-bl": [borderRadius]
|
|
29337
|
+
}],
|
|
29338
|
+
/**
|
|
29339
|
+
* Border Width
|
|
29340
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29341
|
+
*/
|
|
29342
|
+
"border-w": [{
|
|
29343
|
+
border: [borderWidth]
|
|
29344
|
+
}],
|
|
29345
|
+
/**
|
|
29346
|
+
* Border Width X
|
|
29347
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29348
|
+
*/
|
|
29349
|
+
"border-w-x": [{
|
|
29350
|
+
"border-x": [borderWidth]
|
|
29351
|
+
}],
|
|
29352
|
+
/**
|
|
29353
|
+
* Border Width Y
|
|
29354
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29355
|
+
*/
|
|
29356
|
+
"border-w-y": [{
|
|
29357
|
+
"border-y": [borderWidth]
|
|
29358
|
+
}],
|
|
29359
|
+
/**
|
|
29360
|
+
* Border Width Start
|
|
29361
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29362
|
+
*/
|
|
29363
|
+
"border-w-s": [{
|
|
29364
|
+
"border-s": [borderWidth]
|
|
29365
|
+
}],
|
|
29366
|
+
/**
|
|
29367
|
+
* Border Width End
|
|
29368
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29369
|
+
*/
|
|
29370
|
+
"border-w-e": [{
|
|
29371
|
+
"border-e": [borderWidth]
|
|
29372
|
+
}],
|
|
29373
|
+
/**
|
|
29374
|
+
* Border Width Top
|
|
29375
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29376
|
+
*/
|
|
29377
|
+
"border-w-t": [{
|
|
29378
|
+
"border-t": [borderWidth]
|
|
29379
|
+
}],
|
|
29380
|
+
/**
|
|
29381
|
+
* Border Width Right
|
|
29382
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29383
|
+
*/
|
|
29384
|
+
"border-w-r": [{
|
|
29385
|
+
"border-r": [borderWidth]
|
|
29386
|
+
}],
|
|
29387
|
+
/**
|
|
29388
|
+
* Border Width Bottom
|
|
29389
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29390
|
+
*/
|
|
29391
|
+
"border-w-b": [{
|
|
29392
|
+
"border-b": [borderWidth]
|
|
29393
|
+
}],
|
|
29394
|
+
/**
|
|
29395
|
+
* Border Width Left
|
|
29396
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29397
|
+
*/
|
|
29398
|
+
"border-w-l": [{
|
|
29399
|
+
"border-l": [borderWidth]
|
|
29400
|
+
}],
|
|
29401
|
+
/**
|
|
29402
|
+
* Border Opacity
|
|
29403
|
+
* @see https://tailwindcss.com/docs/border-opacity
|
|
29404
|
+
*/
|
|
29405
|
+
"border-opacity": [{
|
|
29406
|
+
"border-opacity": [opacity]
|
|
29407
|
+
}],
|
|
29408
|
+
/**
|
|
29409
|
+
* Border Style
|
|
29410
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
29411
|
+
*/
|
|
29412
|
+
"border-style": [{
|
|
29413
|
+
border: [...getLineStyles(), "hidden"]
|
|
29414
|
+
}],
|
|
29415
|
+
/**
|
|
29416
|
+
* Divide Width X
|
|
29417
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
29418
|
+
*/
|
|
29419
|
+
"divide-x": [{
|
|
29420
|
+
"divide-x": [borderWidth]
|
|
29421
|
+
}],
|
|
29422
|
+
/**
|
|
29423
|
+
* Divide Width X Reverse
|
|
29424
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
29425
|
+
*/
|
|
29426
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
29427
|
+
/**
|
|
29428
|
+
* Divide Width Y
|
|
29429
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
29430
|
+
*/
|
|
29431
|
+
"divide-y": [{
|
|
29432
|
+
"divide-y": [borderWidth]
|
|
29433
|
+
}],
|
|
29434
|
+
/**
|
|
29435
|
+
* Divide Width Y Reverse
|
|
29436
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
29437
|
+
*/
|
|
29438
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
29439
|
+
/**
|
|
29440
|
+
* Divide Opacity
|
|
29441
|
+
* @see https://tailwindcss.com/docs/divide-opacity
|
|
29442
|
+
*/
|
|
29443
|
+
"divide-opacity": [{
|
|
29444
|
+
"divide-opacity": [opacity]
|
|
29445
|
+
}],
|
|
29446
|
+
/**
|
|
29447
|
+
* Divide Style
|
|
29448
|
+
* @see https://tailwindcss.com/docs/divide-style
|
|
29449
|
+
*/
|
|
29450
|
+
"divide-style": [{
|
|
29451
|
+
divide: getLineStyles()
|
|
29452
|
+
}],
|
|
29453
|
+
/**
|
|
29454
|
+
* Border Color
|
|
29455
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29456
|
+
*/
|
|
29457
|
+
"border-color": [{
|
|
29458
|
+
border: [borderColor]
|
|
29459
|
+
}],
|
|
29460
|
+
/**
|
|
29461
|
+
* Border Color X
|
|
29462
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29463
|
+
*/
|
|
29464
|
+
"border-color-x": [{
|
|
29465
|
+
"border-x": [borderColor]
|
|
29466
|
+
}],
|
|
29467
|
+
/**
|
|
29468
|
+
* Border Color Y
|
|
29469
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29470
|
+
*/
|
|
29471
|
+
"border-color-y": [{
|
|
29472
|
+
"border-y": [borderColor]
|
|
29473
|
+
}],
|
|
29474
|
+
/**
|
|
29475
|
+
* Border Color Top
|
|
29476
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29477
|
+
*/
|
|
29478
|
+
"border-color-t": [{
|
|
29479
|
+
"border-t": [borderColor]
|
|
29480
|
+
}],
|
|
29481
|
+
/**
|
|
29482
|
+
* Border Color Right
|
|
29483
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29484
|
+
*/
|
|
29485
|
+
"border-color-r": [{
|
|
29486
|
+
"border-r": [borderColor]
|
|
29487
|
+
}],
|
|
29488
|
+
/**
|
|
29489
|
+
* Border Color Bottom
|
|
29490
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29491
|
+
*/
|
|
29492
|
+
"border-color-b": [{
|
|
29493
|
+
"border-b": [borderColor]
|
|
29494
|
+
}],
|
|
29495
|
+
/**
|
|
29496
|
+
* Border Color Left
|
|
29497
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29498
|
+
*/
|
|
29499
|
+
"border-color-l": [{
|
|
29500
|
+
"border-l": [borderColor]
|
|
29501
|
+
}],
|
|
29502
|
+
/**
|
|
29503
|
+
* Divide Color
|
|
29504
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
29505
|
+
*/
|
|
29506
|
+
"divide-color": [{
|
|
29507
|
+
divide: [borderColor]
|
|
29508
|
+
}],
|
|
29509
|
+
/**
|
|
29510
|
+
* Outline Style
|
|
29511
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
29512
|
+
*/
|
|
29513
|
+
"outline-style": [{
|
|
29514
|
+
outline: ["", ...getLineStyles()]
|
|
29515
|
+
}],
|
|
29516
|
+
/**
|
|
29517
|
+
* Outline Offset
|
|
29518
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
29519
|
+
*/
|
|
29520
|
+
"outline-offset": [{
|
|
29521
|
+
"outline-offset": [isLength, isArbitraryValue]
|
|
29522
|
+
}],
|
|
29523
|
+
/**
|
|
29524
|
+
* Outline Width
|
|
29525
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
29526
|
+
*/
|
|
29527
|
+
"outline-w": [{
|
|
29528
|
+
outline: [isLength, isArbitraryLength]
|
|
29529
|
+
}],
|
|
29530
|
+
/**
|
|
29531
|
+
* Outline Color
|
|
29532
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
29533
|
+
*/
|
|
29534
|
+
"outline-color": [{
|
|
29535
|
+
outline: [colors]
|
|
29536
|
+
}],
|
|
29537
|
+
/**
|
|
29538
|
+
* Ring Width
|
|
29539
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
29540
|
+
*/
|
|
29541
|
+
"ring-w": [{
|
|
29542
|
+
ring: getLengthWithEmptyAndArbitrary()
|
|
29543
|
+
}],
|
|
29544
|
+
/**
|
|
29545
|
+
* Ring Width Inset
|
|
29546
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
29547
|
+
*/
|
|
29548
|
+
"ring-w-inset": ["ring-inset"],
|
|
29549
|
+
/**
|
|
29550
|
+
* Ring Color
|
|
29551
|
+
* @see https://tailwindcss.com/docs/ring-color
|
|
29552
|
+
*/
|
|
29553
|
+
"ring-color": [{
|
|
29554
|
+
ring: [colors]
|
|
29555
|
+
}],
|
|
29556
|
+
/**
|
|
29557
|
+
* Ring Opacity
|
|
29558
|
+
* @see https://tailwindcss.com/docs/ring-opacity
|
|
29559
|
+
*/
|
|
29560
|
+
"ring-opacity": [{
|
|
29561
|
+
"ring-opacity": [opacity]
|
|
29562
|
+
}],
|
|
29563
|
+
/**
|
|
29564
|
+
* Ring Offset Width
|
|
29565
|
+
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
29566
|
+
*/
|
|
29567
|
+
"ring-offset-w": [{
|
|
29568
|
+
"ring-offset": [isLength, isArbitraryLength]
|
|
29569
|
+
}],
|
|
29570
|
+
/**
|
|
29571
|
+
* Ring Offset Color
|
|
29572
|
+
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
29573
|
+
*/
|
|
29574
|
+
"ring-offset-color": [{
|
|
29575
|
+
"ring-offset": [colors]
|
|
29576
|
+
}],
|
|
29577
|
+
// Effects
|
|
29578
|
+
/**
|
|
29579
|
+
* Box Shadow
|
|
29580
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
29581
|
+
*/
|
|
29582
|
+
shadow: [{
|
|
29583
|
+
shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
|
|
29584
|
+
}],
|
|
29585
|
+
/**
|
|
29586
|
+
* Box Shadow Color
|
|
29587
|
+
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
29588
|
+
*/
|
|
29589
|
+
"shadow-color": [{
|
|
29590
|
+
shadow: [isAny]
|
|
29591
|
+
}],
|
|
29592
|
+
/**
|
|
29593
|
+
* Opacity
|
|
29594
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
29595
|
+
*/
|
|
29596
|
+
opacity: [{
|
|
29597
|
+
opacity: [opacity]
|
|
29598
|
+
}],
|
|
29599
|
+
/**
|
|
29600
|
+
* Mix Blend Mode
|
|
29601
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
29602
|
+
*/
|
|
29603
|
+
"mix-blend": [{
|
|
29604
|
+
"mix-blend": getBlendModes()
|
|
29605
|
+
}],
|
|
29606
|
+
/**
|
|
29607
|
+
* Background Blend Mode
|
|
29608
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
29609
|
+
*/
|
|
29610
|
+
"bg-blend": [{
|
|
29611
|
+
"bg-blend": getBlendModes()
|
|
29612
|
+
}],
|
|
29613
|
+
// Filters
|
|
29614
|
+
/**
|
|
29615
|
+
* Filter
|
|
29616
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
29617
|
+
* @see https://tailwindcss.com/docs/filter
|
|
29618
|
+
*/
|
|
29619
|
+
filter: [{
|
|
29620
|
+
filter: ["", "none"]
|
|
29621
|
+
}],
|
|
29622
|
+
/**
|
|
29623
|
+
* Blur
|
|
29624
|
+
* @see https://tailwindcss.com/docs/blur
|
|
29625
|
+
*/
|
|
29626
|
+
blur: [{
|
|
29627
|
+
blur: [blur]
|
|
29628
|
+
}],
|
|
29629
|
+
/**
|
|
29630
|
+
* Brightness
|
|
29631
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
29632
|
+
*/
|
|
29633
|
+
brightness: [{
|
|
29634
|
+
brightness: [brightness]
|
|
29635
|
+
}],
|
|
29636
|
+
/**
|
|
29637
|
+
* Contrast
|
|
29638
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
29639
|
+
*/
|
|
29640
|
+
contrast: [{
|
|
29641
|
+
contrast: [contrast]
|
|
29642
|
+
}],
|
|
29643
|
+
/**
|
|
29644
|
+
* Drop Shadow
|
|
29645
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
29646
|
+
*/
|
|
29647
|
+
"drop-shadow": [{
|
|
29648
|
+
"drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
|
|
29649
|
+
}],
|
|
29650
|
+
/**
|
|
29651
|
+
* Grayscale
|
|
29652
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
29653
|
+
*/
|
|
29654
|
+
grayscale: [{
|
|
29655
|
+
grayscale: [grayscale]
|
|
29656
|
+
}],
|
|
29657
|
+
/**
|
|
29658
|
+
* Hue Rotate
|
|
29659
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
29660
|
+
*/
|
|
29661
|
+
"hue-rotate": [{
|
|
29662
|
+
"hue-rotate": [hueRotate]
|
|
29663
|
+
}],
|
|
29664
|
+
/**
|
|
29665
|
+
* Invert
|
|
29666
|
+
* @see https://tailwindcss.com/docs/invert
|
|
29667
|
+
*/
|
|
29668
|
+
invert: [{
|
|
29669
|
+
invert: [invert]
|
|
29670
|
+
}],
|
|
29671
|
+
/**
|
|
29672
|
+
* Saturate
|
|
29673
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
29674
|
+
*/
|
|
29675
|
+
saturate: [{
|
|
29676
|
+
saturate: [saturate]
|
|
29677
|
+
}],
|
|
29678
|
+
/**
|
|
29679
|
+
* Sepia
|
|
29680
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
29681
|
+
*/
|
|
29682
|
+
sepia: [{
|
|
29683
|
+
sepia: [sepia]
|
|
29684
|
+
}],
|
|
29685
|
+
/**
|
|
29686
|
+
* Backdrop Filter
|
|
29687
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
29688
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
29689
|
+
*/
|
|
29690
|
+
"backdrop-filter": [{
|
|
29691
|
+
"backdrop-filter": ["", "none"]
|
|
29692
|
+
}],
|
|
29693
|
+
/**
|
|
29694
|
+
* Backdrop Blur
|
|
29695
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
29696
|
+
*/
|
|
29697
|
+
"backdrop-blur": [{
|
|
29698
|
+
"backdrop-blur": [blur]
|
|
29699
|
+
}],
|
|
29700
|
+
/**
|
|
29701
|
+
* Backdrop Brightness
|
|
29702
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
29703
|
+
*/
|
|
29704
|
+
"backdrop-brightness": [{
|
|
29705
|
+
"backdrop-brightness": [brightness]
|
|
29706
|
+
}],
|
|
29707
|
+
/**
|
|
29708
|
+
* Backdrop Contrast
|
|
29709
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
29710
|
+
*/
|
|
29711
|
+
"backdrop-contrast": [{
|
|
29712
|
+
"backdrop-contrast": [contrast]
|
|
29713
|
+
}],
|
|
29714
|
+
/**
|
|
29715
|
+
* Backdrop Grayscale
|
|
29716
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
29717
|
+
*/
|
|
29718
|
+
"backdrop-grayscale": [{
|
|
29719
|
+
"backdrop-grayscale": [grayscale]
|
|
29720
|
+
}],
|
|
29721
|
+
/**
|
|
29722
|
+
* Backdrop Hue Rotate
|
|
29723
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
29724
|
+
*/
|
|
29725
|
+
"backdrop-hue-rotate": [{
|
|
29726
|
+
"backdrop-hue-rotate": [hueRotate]
|
|
29727
|
+
}],
|
|
29728
|
+
/**
|
|
29729
|
+
* Backdrop Invert
|
|
29730
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
29731
|
+
*/
|
|
29732
|
+
"backdrop-invert": [{
|
|
29733
|
+
"backdrop-invert": [invert]
|
|
29734
|
+
}],
|
|
29735
|
+
/**
|
|
29736
|
+
* Backdrop Opacity
|
|
29737
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
29738
|
+
*/
|
|
29739
|
+
"backdrop-opacity": [{
|
|
29740
|
+
"backdrop-opacity": [opacity]
|
|
29741
|
+
}],
|
|
29742
|
+
/**
|
|
29743
|
+
* Backdrop Saturate
|
|
29744
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
29745
|
+
*/
|
|
29746
|
+
"backdrop-saturate": [{
|
|
29747
|
+
"backdrop-saturate": [saturate]
|
|
29748
|
+
}],
|
|
29749
|
+
/**
|
|
29750
|
+
* Backdrop Sepia
|
|
29751
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
29752
|
+
*/
|
|
29753
|
+
"backdrop-sepia": [{
|
|
29754
|
+
"backdrop-sepia": [sepia]
|
|
29755
|
+
}],
|
|
29756
|
+
// Tables
|
|
29757
|
+
/**
|
|
29758
|
+
* Border Collapse
|
|
29759
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
29760
|
+
*/
|
|
29761
|
+
"border-collapse": [{
|
|
29762
|
+
border: ["collapse", "separate"]
|
|
29763
|
+
}],
|
|
29764
|
+
/**
|
|
29765
|
+
* Border Spacing
|
|
29766
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
29767
|
+
*/
|
|
29768
|
+
"border-spacing": [{
|
|
29769
|
+
"border-spacing": [borderSpacing]
|
|
29770
|
+
}],
|
|
29771
|
+
/**
|
|
29772
|
+
* Border Spacing X
|
|
29773
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
29774
|
+
*/
|
|
29775
|
+
"border-spacing-x": [{
|
|
29776
|
+
"border-spacing-x": [borderSpacing]
|
|
29777
|
+
}],
|
|
29778
|
+
/**
|
|
29779
|
+
* Border Spacing Y
|
|
29780
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
29781
|
+
*/
|
|
29782
|
+
"border-spacing-y": [{
|
|
29783
|
+
"border-spacing-y": [borderSpacing]
|
|
29784
|
+
}],
|
|
29785
|
+
/**
|
|
29786
|
+
* Table Layout
|
|
29787
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
29788
|
+
*/
|
|
29789
|
+
"table-layout": [{
|
|
29790
|
+
table: ["auto", "fixed"]
|
|
29791
|
+
}],
|
|
29792
|
+
/**
|
|
29793
|
+
* Caption Side
|
|
29794
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
29795
|
+
*/
|
|
29796
|
+
caption: [{
|
|
29797
|
+
caption: ["top", "bottom"]
|
|
29798
|
+
}],
|
|
29799
|
+
// Transitions and Animation
|
|
29800
|
+
/**
|
|
29801
|
+
* Tranisition Property
|
|
29802
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
29803
|
+
*/
|
|
29804
|
+
transition: [{
|
|
29805
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
|
|
29806
|
+
}],
|
|
29807
|
+
/**
|
|
29808
|
+
* Transition Duration
|
|
29809
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
29810
|
+
*/
|
|
29811
|
+
duration: [{
|
|
29812
|
+
duration: getNumberAndArbitrary()
|
|
29813
|
+
}],
|
|
29814
|
+
/**
|
|
29815
|
+
* Transition Timing Function
|
|
29816
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
29817
|
+
*/
|
|
29818
|
+
ease: [{
|
|
29819
|
+
ease: ["linear", "in", "out", "in-out", isArbitraryValue]
|
|
29820
|
+
}],
|
|
29821
|
+
/**
|
|
29822
|
+
* Transition Delay
|
|
29823
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
29824
|
+
*/
|
|
29825
|
+
delay: [{
|
|
29826
|
+
delay: getNumberAndArbitrary()
|
|
29827
|
+
}],
|
|
29828
|
+
/**
|
|
29829
|
+
* Animation
|
|
29830
|
+
* @see https://tailwindcss.com/docs/animation
|
|
29831
|
+
*/
|
|
29832
|
+
animate: [{
|
|
29833
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
|
|
29834
|
+
}],
|
|
29835
|
+
// Transforms
|
|
29836
|
+
/**
|
|
29837
|
+
* Transform
|
|
29838
|
+
* @see https://tailwindcss.com/docs/transform
|
|
29839
|
+
*/
|
|
29840
|
+
transform: [{
|
|
29841
|
+
transform: ["", "gpu", "none"]
|
|
29842
|
+
}],
|
|
29843
|
+
/**
|
|
29844
|
+
* Scale
|
|
29845
|
+
* @see https://tailwindcss.com/docs/scale
|
|
29846
|
+
*/
|
|
29847
|
+
scale: [{
|
|
29848
|
+
scale: [scale]
|
|
29849
|
+
}],
|
|
29850
|
+
/**
|
|
29851
|
+
* Scale X
|
|
29852
|
+
* @see https://tailwindcss.com/docs/scale
|
|
29853
|
+
*/
|
|
29854
|
+
"scale-x": [{
|
|
29855
|
+
"scale-x": [scale]
|
|
29856
|
+
}],
|
|
29857
|
+
/**
|
|
29858
|
+
* Scale Y
|
|
29859
|
+
* @see https://tailwindcss.com/docs/scale
|
|
29860
|
+
*/
|
|
29861
|
+
"scale-y": [{
|
|
29862
|
+
"scale-y": [scale]
|
|
29863
|
+
}],
|
|
29864
|
+
/**
|
|
29865
|
+
* Rotate
|
|
29866
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
29867
|
+
*/
|
|
29868
|
+
rotate: [{
|
|
29869
|
+
rotate: [isInteger, isArbitraryValue]
|
|
29870
|
+
}],
|
|
29871
|
+
/**
|
|
29872
|
+
* Translate X
|
|
29873
|
+
* @see https://tailwindcss.com/docs/translate
|
|
29874
|
+
*/
|
|
29875
|
+
"translate-x": [{
|
|
29876
|
+
"translate-x": [translate]
|
|
29877
|
+
}],
|
|
29878
|
+
/**
|
|
29879
|
+
* Translate Y
|
|
29880
|
+
* @see https://tailwindcss.com/docs/translate
|
|
29881
|
+
*/
|
|
29882
|
+
"translate-y": [{
|
|
29883
|
+
"translate-y": [translate]
|
|
29884
|
+
}],
|
|
29885
|
+
/**
|
|
29886
|
+
* Skew X
|
|
29887
|
+
* @see https://tailwindcss.com/docs/skew
|
|
29888
|
+
*/
|
|
29889
|
+
"skew-x": [{
|
|
29890
|
+
"skew-x": [skew]
|
|
29891
|
+
}],
|
|
29892
|
+
/**
|
|
29893
|
+
* Skew Y
|
|
29894
|
+
* @see https://tailwindcss.com/docs/skew
|
|
29895
|
+
*/
|
|
29896
|
+
"skew-y": [{
|
|
29897
|
+
"skew-y": [skew]
|
|
29898
|
+
}],
|
|
29899
|
+
/**
|
|
29900
|
+
* Transform Origin
|
|
29901
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
29902
|
+
*/
|
|
29903
|
+
"transform-origin": [{
|
|
29904
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
|
|
29905
|
+
}],
|
|
29906
|
+
// Interactivity
|
|
29907
|
+
/**
|
|
29908
|
+
* Accent Color
|
|
29909
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
29910
|
+
*/
|
|
29911
|
+
accent: [{
|
|
29912
|
+
accent: ["auto", colors]
|
|
29913
|
+
}],
|
|
29914
|
+
/**
|
|
29915
|
+
* Appearance
|
|
29916
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
29917
|
+
*/
|
|
29918
|
+
appearance: ["appearance-none"],
|
|
29919
|
+
/**
|
|
29920
|
+
* Cursor
|
|
29921
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
29922
|
+
*/
|
|
29923
|
+
cursor: [{
|
|
29924
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", isArbitraryValue]
|
|
29925
|
+
}],
|
|
29926
|
+
/**
|
|
29927
|
+
* Caret Color
|
|
29928
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
29929
|
+
*/
|
|
29930
|
+
"caret-color": [{
|
|
29931
|
+
caret: [colors]
|
|
29932
|
+
}],
|
|
29933
|
+
/**
|
|
29934
|
+
* Pointer Events
|
|
29935
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
29936
|
+
*/
|
|
29937
|
+
"pointer-events": [{
|
|
29938
|
+
"pointer-events": ["none", "auto"]
|
|
29939
|
+
}],
|
|
29940
|
+
/**
|
|
29941
|
+
* Resize
|
|
29942
|
+
* @see https://tailwindcss.com/docs/resize
|
|
29943
|
+
*/
|
|
29944
|
+
resize: [{
|
|
29945
|
+
resize: ["none", "y", "x", ""]
|
|
29946
|
+
}],
|
|
29947
|
+
/**
|
|
29948
|
+
* Scroll Behavior
|
|
29949
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
29950
|
+
*/
|
|
29951
|
+
"scroll-behavior": [{
|
|
29952
|
+
scroll: ["auto", "smooth"]
|
|
29953
|
+
}],
|
|
29954
|
+
/**
|
|
29955
|
+
* Scroll Margin
|
|
29956
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
29957
|
+
*/
|
|
29958
|
+
"scroll-m": [{
|
|
29959
|
+
"scroll-m": getSpacingWithArbitrary()
|
|
29960
|
+
}],
|
|
29961
|
+
/**
|
|
29962
|
+
* Scroll Margin X
|
|
29963
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
29964
|
+
*/
|
|
29965
|
+
"scroll-mx": [{
|
|
29966
|
+
"scroll-mx": getSpacingWithArbitrary()
|
|
29967
|
+
}],
|
|
29968
|
+
/**
|
|
29969
|
+
* Scroll Margin Y
|
|
29970
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
29971
|
+
*/
|
|
29972
|
+
"scroll-my": [{
|
|
29973
|
+
"scroll-my": getSpacingWithArbitrary()
|
|
29974
|
+
}],
|
|
29975
|
+
/**
|
|
29976
|
+
* Scroll Margin Start
|
|
29977
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
29978
|
+
*/
|
|
29979
|
+
"scroll-ms": [{
|
|
29980
|
+
"scroll-ms": getSpacingWithArbitrary()
|
|
29981
|
+
}],
|
|
29982
|
+
/**
|
|
29983
|
+
* Scroll Margin End
|
|
29984
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
29985
|
+
*/
|
|
29986
|
+
"scroll-me": [{
|
|
29987
|
+
"scroll-me": getSpacingWithArbitrary()
|
|
29988
|
+
}],
|
|
29989
|
+
/**
|
|
29990
|
+
* Scroll Margin Top
|
|
29991
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
29992
|
+
*/
|
|
29993
|
+
"scroll-mt": [{
|
|
29994
|
+
"scroll-mt": getSpacingWithArbitrary()
|
|
29995
|
+
}],
|
|
29996
|
+
/**
|
|
29997
|
+
* Scroll Margin Right
|
|
29998
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
29999
|
+
*/
|
|
30000
|
+
"scroll-mr": [{
|
|
30001
|
+
"scroll-mr": getSpacingWithArbitrary()
|
|
30002
|
+
}],
|
|
30003
|
+
/**
|
|
30004
|
+
* Scroll Margin Bottom
|
|
30005
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30006
|
+
*/
|
|
30007
|
+
"scroll-mb": [{
|
|
30008
|
+
"scroll-mb": getSpacingWithArbitrary()
|
|
30009
|
+
}],
|
|
30010
|
+
/**
|
|
30011
|
+
* Scroll Margin Left
|
|
30012
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30013
|
+
*/
|
|
30014
|
+
"scroll-ml": [{
|
|
30015
|
+
"scroll-ml": getSpacingWithArbitrary()
|
|
30016
|
+
}],
|
|
30017
|
+
/**
|
|
30018
|
+
* Scroll Padding
|
|
30019
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30020
|
+
*/
|
|
30021
|
+
"scroll-p": [{
|
|
30022
|
+
"scroll-p": getSpacingWithArbitrary()
|
|
30023
|
+
}],
|
|
30024
|
+
/**
|
|
30025
|
+
* Scroll Padding X
|
|
30026
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30027
|
+
*/
|
|
30028
|
+
"scroll-px": [{
|
|
30029
|
+
"scroll-px": getSpacingWithArbitrary()
|
|
30030
|
+
}],
|
|
30031
|
+
/**
|
|
30032
|
+
* Scroll Padding Y
|
|
30033
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30034
|
+
*/
|
|
30035
|
+
"scroll-py": [{
|
|
30036
|
+
"scroll-py": getSpacingWithArbitrary()
|
|
30037
|
+
}],
|
|
30038
|
+
/**
|
|
30039
|
+
* Scroll Padding Start
|
|
30040
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30041
|
+
*/
|
|
30042
|
+
"scroll-ps": [{
|
|
30043
|
+
"scroll-ps": getSpacingWithArbitrary()
|
|
30044
|
+
}],
|
|
30045
|
+
/**
|
|
30046
|
+
* Scroll Padding End
|
|
30047
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30048
|
+
*/
|
|
30049
|
+
"scroll-pe": [{
|
|
30050
|
+
"scroll-pe": getSpacingWithArbitrary()
|
|
30051
|
+
}],
|
|
30052
|
+
/**
|
|
30053
|
+
* Scroll Padding Top
|
|
30054
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30055
|
+
*/
|
|
30056
|
+
"scroll-pt": [{
|
|
30057
|
+
"scroll-pt": getSpacingWithArbitrary()
|
|
30058
|
+
}],
|
|
30059
|
+
/**
|
|
30060
|
+
* Scroll Padding Right
|
|
30061
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30062
|
+
*/
|
|
30063
|
+
"scroll-pr": [{
|
|
30064
|
+
"scroll-pr": getSpacingWithArbitrary()
|
|
30065
|
+
}],
|
|
30066
|
+
/**
|
|
30067
|
+
* Scroll Padding Bottom
|
|
30068
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30069
|
+
*/
|
|
30070
|
+
"scroll-pb": [{
|
|
30071
|
+
"scroll-pb": getSpacingWithArbitrary()
|
|
30072
|
+
}],
|
|
30073
|
+
/**
|
|
30074
|
+
* Scroll Padding Left
|
|
30075
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30076
|
+
*/
|
|
30077
|
+
"scroll-pl": [{
|
|
30078
|
+
"scroll-pl": getSpacingWithArbitrary()
|
|
30079
|
+
}],
|
|
30080
|
+
/**
|
|
30081
|
+
* Scroll Snap Align
|
|
30082
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
30083
|
+
*/
|
|
30084
|
+
"snap-align": [{
|
|
30085
|
+
snap: ["start", "end", "center", "align-none"]
|
|
30086
|
+
}],
|
|
30087
|
+
/**
|
|
30088
|
+
* Scroll Snap Stop
|
|
30089
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
30090
|
+
*/
|
|
30091
|
+
"snap-stop": [{
|
|
30092
|
+
snap: ["normal", "always"]
|
|
30093
|
+
}],
|
|
30094
|
+
/**
|
|
30095
|
+
* Scroll Snap Type
|
|
30096
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
30097
|
+
*/
|
|
30098
|
+
"snap-type": [{
|
|
30099
|
+
snap: ["none", "x", "y", "both"]
|
|
30100
|
+
}],
|
|
30101
|
+
/**
|
|
30102
|
+
* Scroll Snap Type Strictness
|
|
30103
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
30104
|
+
*/
|
|
30105
|
+
"snap-strictness": [{
|
|
30106
|
+
snap: ["mandatory", "proximity"]
|
|
30107
|
+
}],
|
|
30108
|
+
/**
|
|
30109
|
+
* Touch Action
|
|
30110
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
30111
|
+
*/
|
|
30112
|
+
touch: [{
|
|
30113
|
+
touch: ["auto", "none", "manipulation"]
|
|
30114
|
+
}],
|
|
30115
|
+
/**
|
|
30116
|
+
* Touch Action X
|
|
30117
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
30118
|
+
*/
|
|
30119
|
+
"touch-x": [{
|
|
30120
|
+
"touch-pan": ["x", "left", "right"]
|
|
30121
|
+
}],
|
|
30122
|
+
/**
|
|
30123
|
+
* Touch Action Y
|
|
30124
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
30125
|
+
*/
|
|
30126
|
+
"touch-y": [{
|
|
30127
|
+
"touch-pan": ["y", "up", "down"]
|
|
30128
|
+
}],
|
|
30129
|
+
/**
|
|
30130
|
+
* Touch Action Pinch Zoom
|
|
30131
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
30132
|
+
*/
|
|
30133
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
30134
|
+
/**
|
|
30135
|
+
* User Select
|
|
30136
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
30137
|
+
*/
|
|
30138
|
+
select: [{
|
|
30139
|
+
select: ["none", "text", "all", "auto"]
|
|
30140
|
+
}],
|
|
30141
|
+
/**
|
|
30142
|
+
* Will Change
|
|
30143
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
30144
|
+
*/
|
|
30145
|
+
"will-change": [{
|
|
30146
|
+
"will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
|
|
30147
|
+
}],
|
|
30148
|
+
// SVG
|
|
30149
|
+
/**
|
|
30150
|
+
* Fill
|
|
30151
|
+
* @see https://tailwindcss.com/docs/fill
|
|
30152
|
+
*/
|
|
30153
|
+
fill: [{
|
|
30154
|
+
fill: [colors, "none"]
|
|
30155
|
+
}],
|
|
30156
|
+
/**
|
|
30157
|
+
* Stroke Width
|
|
30158
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
30159
|
+
*/
|
|
30160
|
+
"stroke-w": [{
|
|
30161
|
+
stroke: [isLength, isArbitraryLength, isArbitraryNumber]
|
|
30162
|
+
}],
|
|
30163
|
+
/**
|
|
30164
|
+
* Stroke
|
|
30165
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
30166
|
+
*/
|
|
30167
|
+
stroke: [{
|
|
30168
|
+
stroke: [colors, "none"]
|
|
30169
|
+
}],
|
|
30170
|
+
// Accessibility
|
|
30171
|
+
/**
|
|
30172
|
+
* Screen Readers
|
|
30173
|
+
* @see https://tailwindcss.com/docs/screen-readers
|
|
30174
|
+
*/
|
|
30175
|
+
sr: ["sr-only", "not-sr-only"]
|
|
30176
|
+
},
|
|
30177
|
+
conflictingClassGroups: {
|
|
30178
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
30179
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
30180
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
30181
|
+
"inset-x": ["right", "left"],
|
|
30182
|
+
"inset-y": ["top", "bottom"],
|
|
30183
|
+
flex: ["basis", "grow", "shrink"],
|
|
30184
|
+
gap: ["gap-x", "gap-y"],
|
|
30185
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
30186
|
+
px: ["pr", "pl"],
|
|
30187
|
+
py: ["pt", "pb"],
|
|
30188
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
30189
|
+
mx: ["mr", "ml"],
|
|
30190
|
+
my: ["mt", "mb"],
|
|
30191
|
+
"font-size": ["leading"],
|
|
30192
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
30193
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
30194
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
30195
|
+
"fvn-figure": ["fvn-normal"],
|
|
30196
|
+
"fvn-spacing": ["fvn-normal"],
|
|
30197
|
+
"fvn-fraction": ["fvn-normal"],
|
|
30198
|
+
rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
|
|
30199
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
30200
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
30201
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
30202
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
30203
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
30204
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
30205
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
30206
|
+
"border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
30207
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
30208
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
30209
|
+
"border-color": ["border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
30210
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
30211
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
30212
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
30213
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
30214
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
30215
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
30216
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
30217
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
30218
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
30219
|
+
"touch-x": ["touch"],
|
|
30220
|
+
"touch-y": ["touch"],
|
|
30221
|
+
"touch-pz": ["touch"]
|
|
30222
|
+
},
|
|
30223
|
+
conflictingClassGroupModifiers: {
|
|
30224
|
+
"font-size": ["leading"]
|
|
30225
|
+
}
|
|
30226
|
+
};
|
|
30227
|
+
}
|
|
30228
|
+
function mergeConfigs(baseConfig, {
|
|
30229
|
+
cacheSize,
|
|
30230
|
+
prefix,
|
|
30231
|
+
separator,
|
|
30232
|
+
extend: extend2 = {},
|
|
30233
|
+
override = {}
|
|
30234
|
+
}) {
|
|
30235
|
+
overrideProperty(baseConfig, "cacheSize", cacheSize);
|
|
30236
|
+
overrideProperty(baseConfig, "prefix", prefix);
|
|
30237
|
+
overrideProperty(baseConfig, "separator", separator);
|
|
30238
|
+
for (const configKey in override) {
|
|
30239
|
+
overrideConfigProperties(baseConfig[configKey], override[configKey]);
|
|
30240
|
+
}
|
|
30241
|
+
for (const key in extend2) {
|
|
30242
|
+
mergeConfigProperties(baseConfig[key], extend2[key]);
|
|
30243
|
+
}
|
|
30244
|
+
return baseConfig;
|
|
30245
|
+
}
|
|
30246
|
+
function overrideProperty(baseObject, overrideKey, overrideValue) {
|
|
30247
|
+
if (overrideValue !== void 0) {
|
|
30248
|
+
baseObject[overrideKey] = overrideValue;
|
|
30249
|
+
}
|
|
30250
|
+
}
|
|
30251
|
+
function overrideConfigProperties(baseObject, overrideObject) {
|
|
30252
|
+
if (overrideObject) {
|
|
30253
|
+
for (const key in overrideObject) {
|
|
30254
|
+
overrideProperty(baseObject, key, overrideObject[key]);
|
|
30255
|
+
}
|
|
30256
|
+
}
|
|
30257
|
+
}
|
|
30258
|
+
function mergeConfigProperties(baseObject, mergeObject) {
|
|
30259
|
+
if (mergeObject) {
|
|
30260
|
+
for (const key in mergeObject) {
|
|
30261
|
+
const mergeValue = mergeObject[key];
|
|
30262
|
+
if (mergeValue !== void 0) {
|
|
30263
|
+
baseObject[key] = (baseObject[key] || []).concat(mergeValue);
|
|
30264
|
+
}
|
|
30265
|
+
}
|
|
30266
|
+
}
|
|
30267
|
+
}
|
|
30268
|
+
function extendTailwindMerge(configExtension, ...createConfig) {
|
|
30269
|
+
return typeof configExtension === "function" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
|
|
30270
|
+
}
|
|
30271
|
+
const L = "scalar-component", ae = extendTailwindMerge({
|
|
30272
|
+
extend: {
|
|
30273
|
+
classGroups: {
|
|
30274
|
+
// Add the scalar class prefix as a custom class to be deduped by tailwind-merge
|
|
30275
|
+
[L]: [L]
|
|
30276
|
+
}
|
|
30277
|
+
}
|
|
30278
|
+
}), { cva: m, cx: c, compose: et } = defineConfig({
|
|
30279
|
+
hooks: {
|
|
30280
|
+
onComplete: (o) => `${ae(o, L)}`
|
|
30281
|
+
}
|
|
30282
|
+
});
|
|
30283
|
+
const j = {
|
|
30284
|
+
solid: [
|
|
30285
|
+
"scalar-button-solid",
|
|
30286
|
+
"bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
|
|
30287
|
+
],
|
|
30288
|
+
outlined: [
|
|
30289
|
+
"scalar-button-outlined",
|
|
30290
|
+
"active:bg-btn-1 border border-solid border-border bg-transparent text-fore-1 hocus:bg-back-2"
|
|
30291
|
+
],
|
|
30292
|
+
ghost: [
|
|
30293
|
+
"scalar-button-ghost",
|
|
30294
|
+
"bg-transparent text-fore-3 active:text-fore-2 hocus:text-fore-2"
|
|
30295
|
+
],
|
|
30296
|
+
danger: [
|
|
30297
|
+
"scalar-button-danger",
|
|
30298
|
+
"bg-error text-white active:brightness-90 hocus:brightness-90"
|
|
30299
|
+
]
|
|
30300
|
+
};
|
|
30301
|
+
m({
|
|
30302
|
+
base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
|
|
30303
|
+
variants: {
|
|
30304
|
+
disabled: {
|
|
30305
|
+
true: "bg-background-2 text-color-3 cursor-not-allowed shadow-none"
|
|
30306
|
+
},
|
|
30307
|
+
fullWidth: { true: "w-full" },
|
|
30308
|
+
size: { md: "h-10 px-6 text-sm" },
|
|
30309
|
+
variant: j
|
|
30310
|
+
},
|
|
30311
|
+
compoundVariants: [
|
|
30312
|
+
{
|
|
30313
|
+
disabled: true,
|
|
30314
|
+
variant: "ghost",
|
|
30315
|
+
class: "bg-transparent text-ghost"
|
|
30316
|
+
}
|
|
30317
|
+
]
|
|
30318
|
+
});
|
|
30319
|
+
const ve = (o) => Object.fromEntries(Array.from(o).map((t2) => [t2.name, t2.value])), he = (o) => ({ raw: t2 }) => {
|
|
30320
|
+
const n = new o().parseFromString(t2, "image/svg+xml");
|
|
30321
|
+
if (n.getElementsByTagName("parsererror").length)
|
|
30322
|
+
return;
|
|
30323
|
+
const i = n.documentElement, p = ve(i.attributes), { width: f, height: w, ...b } = p;
|
|
30324
|
+
return h("svg", { ...b, innerHTML: i.innerHTML });
|
|
30325
|
+
}, ge = defineAsyncComponent(async () => {
|
|
30326
|
+
const o = typeof DOMParser > "u" ? (await import("./index-c5a56f98.js").then((n) => n.i)).DOMParser : DOMParser, t2 = he(o);
|
|
30327
|
+
return t2.props = {
|
|
30328
|
+
raw: {
|
|
30329
|
+
type: String,
|
|
30330
|
+
required: true
|
|
30331
|
+
}
|
|
30332
|
+
}, t2;
|
|
30333
|
+
}), pe = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
|
|
30334
|
+
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.429"
|
|
30335
|
+
d="M24 1.714v44.572M1.714 24h44.572" />
|
|
30336
|
+
</svg>`, me = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.5 23.5" fill="currentColor">
|
|
30337
|
+
<path d="M11.2 23.5 0 12.3l2.15-2.15 9.05 9.05L30.4 0l2.15 2.15z" />
|
|
30338
|
+
</svg>`, fe = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
30339
|
+
<path d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
|
30340
|
+
</svg>`, we = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
30341
|
+
<path d="M15.75 19.5 8.25 12l7.5-7.5" />
|
|
30342
|
+
</svg>`, be = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
30343
|
+
<path d="m8.25 4.5 7.5 7.5-7.5 7.5" />
|
|
30344
|
+
</svg>`, _e = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
30345
|
+
<path d="m4.5 15.75 7.5-7.5 7.5 7.5" />
|
|
30346
|
+
</svg>`, xe = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16">
|
|
30347
|
+
<path d="M6,5h4c1.7,0,2-1.3,2-3c1.1,0,2,0.9,2,2v10c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V4c0-1.1,0.9-2,2-2C4,3.7,4.3,5,6,5z M6,2V1
|
|
30348
|
+
c0-0.6,0.5-1,1-1h2c0.5,0,1,0.4,1,1v1.3C10,2.9,9.6,3,9,3H7C6.4,3,6,2.6,6,2z" />
|
|
30349
|
+
</svg>`, ke = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
|
|
30350
|
+
<path stroke="currentColor" d="m12.5 1.5-11 11m0-11 11 11" />
|
|
30351
|
+
</svg>`, Ce = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
|
|
30352
|
+
<path
|
|
30353
|
+
d="M9.557,7.243A.456.456,0,0,0,9.1,6.991C9.023,7,8.951,7,8.877,7A4,4,0,0,1,5.546.781.5.5,0,0,0,5.564.256.476.476,0,0,0,5.1,0,5,5,0,1,0,9.539,7.767.5.5,0,0,0,9.557,7.243Z"
|
|
30354
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30355
|
+
</svg>`, ye = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
|
30356
|
+
<path
|
|
30357
|
+
d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
|
30358
|
+
</svg>`, Me = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
|
|
30359
|
+
<g fill="none" fill-rule="evenodd" transform="translate(.67 .67)">
|
|
30360
|
+
<rect transform="rotate(180 4 4)" />
|
|
30361
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".5"
|
|
30362
|
+
d="M2.85 1.73h3.4v3.4m0-3.4L1.74 6.24" />
|
|
30363
|
+
</g>
|
|
30364
|
+
</svg>`, Le = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 1024 1024">
|
|
30365
|
+
<path
|
|
30366
|
+
d="M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0z" />
|
|
30367
|
+
</svg>`, ze = `<svg
|
|
30368
|
+
height="24"
|
|
30369
|
+
viewBox="0 0 24 24"
|
|
30370
|
+
width="24"
|
|
30371
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
30372
|
+
<path
|
|
30373
|
+
d="M24 12a1 1 0 0 0 -1 -1h-3.91a0.51 0.51 0 0 1 -0.49 -0.4 6.83 6.83 0 0 0 -0.94 -2.28 0.5 0.5 0 0 1 0.06 -0.63l2.77 -2.76a1 1 0 1 0 -1.42 -1.42l-2.76 2.77a0.5 0.5 0 0 1 -0.63 0.06 6.83 6.83 0 0 0 -2.28 -0.94 0.5 0.5 0 0 1 -0.4 -0.49V1a1 1 0 0 0 -2 0v3.91a0.51 0.51 0 0 1 -0.4 0.49 6.83 6.83 0 0 0 -2.28 0.94 0.5 0.5 0 0 1 -0.63 -0.06L4.93 3.51a1 1 0 0 0 -1.42 1.42l2.77 2.76a0.5 0.5 0 0 1 0.06 0.63 6.83 6.83 0 0 0 -0.94 2.28 0.5 0.5 0 0 1 -0.49 0.4H1a1 1 0 0 0 0 2h3.91a0.51 0.51 0 0 1 0.49 0.4 6.83 6.83 0 0 0 0.94 2.28 0.5 0.5 0 0 1 -0.06 0.63l-2.77 2.76a1 1 0 1 0 1.42 1.42l2.76 -2.77a0.5 0.5 0 0 1 0.63 -0.06 6.83 6.83 0 0 0 2.28 0.94 0.5 0.5 0 0 1 0.4 0.49V23a1 1 0 0 0 2 0v-3.91a0.51 0.51 0 0 1 0.4 -0.49 6.83 6.83 0 0 0 2.28 -0.94 0.5 0.5 0 0 1 0.63 0.06l2.76 2.77a1 1 0 1 0 1.42 -1.42l-2.77 -2.76a0.5 0.5 0 0 1 -0.06 -0.63 6.83 6.83 0 0 0 0.94 -2.28 0.5 0.5 0 0 1 0.49 -0.4H23a1 1 0 0 0 1 -1Zm-8.74 2.5A5.76 5.76 0 0 1 9.5 8.74a5.66 5.66 0 0 1 0.16 -1.31 0.49 0.49 0 0 1 0.34 -0.36 5.36 5.36 0 0 1 1.8 -0.31 5.47 5.47 0 0 1 5.46 5.46 5.36 5.36 0 0 1 -0.31 1.8 0.49 0.49 0 0 1 -0.35 0.32 5.53 5.53 0 0 1 -1.34 0.16Z"
|
|
30374
|
+
fill="currentColor"
|
|
30375
|
+
stroke-width="1"></path>
|
|
30376
|
+
</svg>`, Se = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
|
|
30377
|
+
<path d="M3.500 5.000 A1.500 1.500 0 1 0 6.500 5.000 A1.500 1.500 0 1 0 3.500 5.000 Z" fill="currentColor"
|
|
30378
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30379
|
+
<path d="M5,2.25a.625.625,0,0,1-.625-.625v-1a.625.625,0,0,1,1.25,0v1A.625.625,0,0,1,5,2.25Z" fill="currentColor"
|
|
30380
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30381
|
+
<path d="M6.945,3.055a.623.623,0,0,1,0-.883l.707-.708a.625.625,0,0,1,.884.884l-.708.707A.623.623,0,0,1,6.945,3.055Z"
|
|
30382
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30383
|
+
<path d="M7.75,5a.625.625,0,0,1,.625-.625h1a.625.625,0,0,1,0,1.25h-1A.625.625,0,0,1,7.75,5Z" fill="currentColor"
|
|
30384
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30385
|
+
<path d="M6.945,6.945a.623.623,0,0,1,.883,0l.708.707a.625.625,0,0,1-.884.884l-.707-.708A.623.623,0,0,1,6.945,6.945Z"
|
|
30386
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30387
|
+
<path d="M5,7.75a.625.625,0,0,1,.625.625v1a.625.625,0,0,1-1.25,0v-1A.625.625,0,0,1,5,7.75Z" fill="currentColor"
|
|
30388
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30389
|
+
<path
|
|
30390
|
+
d="M3.055,6.945a.623.623,0,0,1,0,.883l-.707.708a.625.625,0,0,1-.884-.884l.708-.707A.623.623,0,0,1,3.055,6.945Z"
|
|
30391
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30392
|
+
<path d="M2.25,5a.625.625,0,0,1-.625.625h-1a.625.625,0,0,1,0-1.25h1A.625.625,0,0,1,2.25,5Z" fill="currentColor"
|
|
30393
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30394
|
+
<path
|
|
30395
|
+
d="M3.055,3.055a.623.623,0,0,1-.883,0l-.708-.707a.625.625,0,0,1,.884-.884l.707.708A.623.623,0,0,1,3.055,3.055Z"
|
|
30396
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30397
|
+
</svg>`, Be = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 593 593">
|
|
30398
|
+
<path fill="currentColor" fill-rule="evenodd"
|
|
30399
|
+
d="M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12h101ZM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0Z" />
|
|
30400
|
+
</svg>`, Ae = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 662 662">
|
|
30401
|
+
<path fill-rule="evenodd" fill="currentColor"
|
|
30402
|
+
d="M331 0a331 331 0 1 1 0 662 331 331 0 0 1 0-662Zm148.5 109 .6.9a187 187 0 1 1-297.6-.9 267 267 0 1 0 297 0Z" />
|
|
30403
|
+
</svg>`, Ve = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620">
|
|
30404
|
+
<path fill="currentColor"
|
|
30405
|
+
d="M-.653 309.29c-.078 82.272 31.848 159.735 89.739 218.178l.283.283c122.379 121.247 319.824 121.184 440.16-.283 119.967-121.1 119.409-316.933-.998-437.339l-.99-.99C468.681 30.845 390.716-1.017 307.893-.67c-82.83.354-160.443 32.994-218.814 91.79C31.209 149.555-.724 227.025-.653 309.29Zm469.271-160.789.778.778c87.9 87.9 88.325 231.005.707 319.33-77.753 78.46-199.786 87.412-288.959 26.862l198.513-198.513-.007 166.361 83.68-.07v-306.22H157.11l-.008 83.6h160.584L121.994 436.323c-59.347-87.689-50.536-208.59 26.51-286.343C236.34 61.294 379.94 60.67 468.61 148.494Z" />
|
|
30406
|
+
</svg>`, $e = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 642 642" fill="currentColor">
|
|
30407
|
+
<path
|
|
30408
|
+
d="M321 0a321 321 0 1 1 0 642 321 321 0 0 1 0-642Zm51.3 63L321 189.5 269.7 63l1 136.5-95.8-97.2L228 228l-125.7-53.1 97.2 95.8-136.5-1L189.5 321 63 372.3l136.5-1-97.2 95.8 125.7-53-53.1 125.6 95.8-97.2-1 136.5L321 452.5 372.3 579l-1-136.5 95.8 97.2-53-125.7 125.6 53.1-97.2-95.8 136.5 1L452.5 321 579 269.7l-136.5 1 97.2-95.8L414 228l53.1-125.7-95.8 97.2 1-136.5Z" />
|
|
30409
|
+
</svg>`, Te = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620" fill="currentColor">
|
|
30410
|
+
<path
|
|
30411
|
+
d="M529.2 90.8A310 310 0 1 0 90.8 529.2 310 310 0 0 0 529.2 90.8M122.4 498.2c-54.9-55-15.4-183.5 88.2-287 103.6-103.7 232.1-143.2 287-88.3 54.9 54.8 15.4 183.4-88.3 287-103.5 103.6-232 143.1-286.9 88.3m261.8-262.7A104.7 104.7 0 1 1 236 383.7a104.7 104.7 0 0 1 148.2-148.2" />
|
|
30412
|
+
</svg>`, Ze = `<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 14 14">
|
|
30413
|
+
<path fill="none" stroke="currentColor" d="M14 3.4H0m14 7.2H0" />
|
|
30414
|
+
</svg>`, De = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
|
|
30415
|
+
<path fill="currentColor" fill-rule="evenodd"
|
|
30416
|
+
d="M11.8214 0.0977942C12.1097 -0.00745677 12.4219 -0.0286524 12.7219 0.0367783C13.0248 0.102864 13.3024 0.254542 13.5216 0.47378C13.7408 0.693018 13.8925 0.970598 13.9586 1.27352C14.024 1.57344 14.0028 1.88572 13.8976 2.17395L10.3236 12.8859L10.3234 12.8866C10.2363 13.1501 10.083 13.3868 9.8781 13.574C9.6738 13.7606 9.42509 13.8918 9.15572 13.9549C8.8863 14.0206 8.60441 14.0151 8.33774 13.9389C8.07131 13.8628 7.82926 13.7187 7.63529 13.5209L5.71795 11.6124L3.70389 12.6538C3.54684 12.7351 3.35857 12.7273 3.20874 12.6334C3.05892 12.5395 2.96981 12.3735 2.9744 12.1967L3.05697 9.013L10.1019 3.8956C10.3812 3.69273 10.4432 3.30188 10.2403 3.02261C10.0374 2.74333 9.64659 2.68139 9.36731 2.88425L2.20283 8.08846L0.473125 6.35875L0.473067 6.3587L0.472941 6.35857C0.285618 6.17138 0.147716 5.9406 0.0716193 5.68694C-0.00393616 5.43509 -0.0162115 5.16853 0.0358379 4.91085C0.0879545 4.62934 0.213796 4.36664 0.400577 4.14957C0.588637 3.93101 0.83165 3.76664 1.1045 3.67345L1.10787 3.6723L1.10787 3.67231L11.8214 0.0977942Z"
|
|
30417
|
+
clip-rule="evenodd"></path>
|
|
30418
|
+
</svg>`, Fe = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">
|
|
30419
|
+
<path fill-rule="evenodd"
|
|
30420
|
+
d="M12.6 11.2h.1l3 3a1 1 0 1 1-1.4 1.5l-3-3a1 1 0 0 1-.1-.1 7 7 0 1 1 1.4-1.4zM7 12A5 5 0 1 0 7 2a5 5 0 0 0 0 10z" />
|
|
30421
|
+
</svg>`, A = /* @__PURE__ */ Object.assign({ "./Add.svg": pe, "./CheckMark.svg": me, "./ChevronDown.svg": fe, "./ChevronLeft.svg": we, "./ChevronRight.svg": be, "./ChevronUp.svg": _e, "./Clipboard.svg": xe, "./Close.svg": ke, "./DarkMode.svg": Ce, "./Ellipses.svg": ye, "./ExternalLink.svg": Me, "./GitHub.svg": Le, "./LightDarkModeToggle.svg": ze, "./LightMode.svg": Se, "./Logo.svg": Be, "./LogoAPI.svg": Ae, "./LogoClient.svg": Ve, "./LogoMarket.svg": $e, "./LogoSwagger.svg": Te, "./Menu.svg": Ze, "./PaperAirplane.svg": De, "./Search.svg": Fe }), je = (o) => {
|
|
30422
|
+
const t2 = `./${o}.svg`;
|
|
30423
|
+
return A[t2] === void 0 ? (console.warn(`Could not find icon: ${o}`), "") : A[t2];
|
|
30424
|
+
}, I = /* @__PURE__ */ defineComponent({
|
|
30425
|
+
__name: "ScalarIcon",
|
|
30426
|
+
props: {
|
|
30427
|
+
icon: {},
|
|
30428
|
+
size: {}
|
|
30429
|
+
},
|
|
30430
|
+
setup(o) {
|
|
30431
|
+
const t2 = o, e = m({
|
|
30432
|
+
variants: {
|
|
30433
|
+
size: {
|
|
30434
|
+
xs: "h-3 w-3",
|
|
30435
|
+
sm: "h-3.5 w-3.5",
|
|
30436
|
+
md: "h-4 w-4",
|
|
30437
|
+
lg: "h-5 w-5",
|
|
30438
|
+
xl: "h-6 w-6",
|
|
30439
|
+
full: "h-full w-full"
|
|
30440
|
+
}
|
|
30441
|
+
},
|
|
30442
|
+
defaultVariants: {
|
|
30443
|
+
size: "full"
|
|
30444
|
+
}
|
|
30445
|
+
}), n = computed(() => je(t2.icon));
|
|
30446
|
+
return (i, p) => n.value ? (openBlock(), createBlock(unref(ge), {
|
|
30447
|
+
key: 0,
|
|
30448
|
+
class: normalizeClass(unref(c)("scalar-icon", unref(e)({ size: i.size }))),
|
|
30449
|
+
raw: n.value
|
|
30450
|
+
}, null, 8, ["class", "raw"])) : createCommentVNode("", true);
|
|
30451
|
+
}
|
|
30452
|
+
});
|
|
28029
30453
|
const _hoisted_1$f = { class: "table" };
|
|
28030
30454
|
const _hoisted_2$9 = { class: "table-row" };
|
|
28031
30455
|
const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("div", { class: "table-row-item" }, [
|
|
@@ -28090,32 +30514,24 @@ const _hoisted_21 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
28090
30514
|
const _hoisted_22 = [
|
|
28091
30515
|
_hoisted_21
|
|
28092
30516
|
];
|
|
28093
|
-
const _hoisted_23 =
|
|
28094
|
-
|
|
28095
|
-
|
|
28096
|
-
height: "100%",
|
|
28097
|
-
viewBox: "0 0 48 48",
|
|
28098
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
28099
|
-
}, [
|
|
28100
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
28101
|
-
d: "M24 1.714v44.572M1.714 24h44.572",
|
|
28102
|
-
fill: "none",
|
|
28103
|
-
stroke: "currentColor",
|
|
28104
|
-
"stroke-linecap": "round",
|
|
28105
|
-
"stroke-linejoin": "round",
|
|
28106
|
-
"stroke-width": "3.429",
|
|
28107
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
28108
|
-
})
|
|
28109
|
-
], -1);
|
|
30517
|
+
const _hoisted_23 = { class: "meta-actions" };
|
|
30518
|
+
const _hoisted_24 = { class: "meta-actions-item-icon" };
|
|
30519
|
+
const _hoisted_25 = { class: "meta-actions-item-icon" };
|
|
28110
30520
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
28111
30521
|
__name: "Grid",
|
|
28112
30522
|
props: {
|
|
28113
30523
|
items: {},
|
|
28114
|
-
addLabel: {}
|
|
30524
|
+
addLabel: {},
|
|
30525
|
+
showMoreFilter: { type: Boolean }
|
|
28115
30526
|
},
|
|
28116
30527
|
emits: ["deleteIndex", "addAnother"],
|
|
28117
|
-
setup(__props) {
|
|
30528
|
+
setup(__props, { emit: emits }) {
|
|
28118
30529
|
const showDescription = ref(false);
|
|
30530
|
+
const showMore = ref(false);
|
|
30531
|
+
function addHandler() {
|
|
30532
|
+
emits("addAnother");
|
|
30533
|
+
showMore.value = true;
|
|
30534
|
+
}
|
|
28119
30535
|
return (_ctx, _cache) => {
|
|
28120
30536
|
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
28121
30537
|
createElementVNode("div", _hoisted_2$9, [
|
|
@@ -28130,7 +30546,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
28130
30546
|
}, _hoisted_9$1)
|
|
28131
30547
|
]),
|
|
28132
30548
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
|
|
28133
|
-
return openBlock(), createElementBlock("div", {
|
|
30549
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
28134
30550
|
key: item.id,
|
|
28135
30551
|
class: normalizeClass(["table-row", {
|
|
28136
30552
|
"required-parameter": item.required
|
|
@@ -28179,17 +30595,34 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
28179
30595
|
onClick: ($event) => _ctx.$emit("deleteIndex", index)
|
|
28180
30596
|
}, _hoisted_22, 8, _hoisted_20)
|
|
28181
30597
|
])
|
|
28182
|
-
], 2)
|
|
30598
|
+
], 2)), [
|
|
30599
|
+
[vShow, !_ctx.showMoreFilter || _ctx.showMoreFilter && index < 5 || showMore.value]
|
|
30600
|
+
]);
|
|
28183
30601
|
}), 128)),
|
|
28184
|
-
|
|
28185
|
-
|
|
28186
|
-
|
|
28187
|
-
|
|
28188
|
-
|
|
28189
|
-
|
|
28190
|
-
|
|
28191
|
-
|
|
28192
|
-
|
|
30602
|
+
createElementVNode("div", _hoisted_23, [
|
|
30603
|
+
_ctx.addLabel ? (openBlock(), createElementBlock("button", {
|
|
30604
|
+
key: 0,
|
|
30605
|
+
class: "meta-actions-item",
|
|
30606
|
+
type: "button",
|
|
30607
|
+
onClick: addHandler
|
|
30608
|
+
}, [
|
|
30609
|
+
createElementVNode("i", _hoisted_24, [
|
|
30610
|
+
createVNode(unref(I), { icon: "Add" })
|
|
30611
|
+
]),
|
|
30612
|
+
createTextVNode(" " + toDisplayString(_ctx.addLabel), 1)
|
|
30613
|
+
])) : createCommentVNode("", true),
|
|
30614
|
+
_ctx.showMoreFilter && _ctx.items.length > 5 && !showMore.value ? (openBlock(), createElementBlock("button", {
|
|
30615
|
+
key: 1,
|
|
30616
|
+
class: "meta-actions-item",
|
|
30617
|
+
type: "button",
|
|
30618
|
+
onClick: _cache[1] || (_cache[1] = ($event) => showMore.value = true)
|
|
30619
|
+
}, [
|
|
30620
|
+
createTextVNode(" Show More "),
|
|
30621
|
+
createElementVNode("i", _hoisted_25, [
|
|
30622
|
+
createVNode(unref(I), { icon: "ChevronDown" })
|
|
30623
|
+
])
|
|
30624
|
+
])) : createCommentVNode("", true)
|
|
30625
|
+
])
|
|
28193
30626
|
]);
|
|
28194
30627
|
};
|
|
28195
30628
|
}
|
|
@@ -28252,7 +30685,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
28252
30685
|
_ctx.body && _ctx.body.length === 0 && _ctx.formData && _ctx.formData.length === 0 ? (openBlock(), createElementBlock("span", _hoisted_1$d, "No Body")) : _ctx.formData && _ctx.formData.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$h), {
|
|
28253
30686
|
key: 1,
|
|
28254
30687
|
items: _ctx.formData
|
|
28255
|
-
}, null, 8, ["items"])) : (openBlock(), createBlock(unref(
|
|
30688
|
+
}, null, 8, ["items"])) : (openBlock(), createBlock(unref(CodeMirror), {
|
|
28256
30689
|
key: 2,
|
|
28257
30690
|
content: unref(activeRequest2).body,
|
|
28258
30691
|
languages: ["json"],
|
|
@@ -28458,6 +30891,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
28458
30891
|
key: 1,
|
|
28459
30892
|
addLabel: "Query Parameter",
|
|
28460
30893
|
items: _ctx.queries,
|
|
30894
|
+
showMoreFilter: true,
|
|
28461
30895
|
onAddAnother: addAnotherHandler,
|
|
28462
30896
|
onDeleteIndex: handleDeleteIndex
|
|
28463
30897
|
}, null, 8, ["items"]))
|
|
@@ -28525,6 +30959,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
28525
30959
|
key: 1,
|
|
28526
30960
|
addLabel: "Variable",
|
|
28527
30961
|
items: _ctx.variables,
|
|
30962
|
+
showMoreFilter: true,
|
|
28528
30963
|
onAddAnother: addAnotherHandler,
|
|
28529
30964
|
onDeleteIndex: handleDeleteIndex
|
|
28530
30965
|
}, null, 8, ["items"]))
|
|
@@ -28635,7 +31070,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
28635
31070
|
return openBlock(), createBlock(unref(_sfc_main$j), { title: "Body" }, {
|
|
28636
31071
|
default: withCtx(() => [
|
|
28637
31072
|
_ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
28638
|
-
codeMirrorLanguages.value ? (openBlock(), createBlock(unref(
|
|
31073
|
+
codeMirrorLanguages.value ? (openBlock(), createBlock(unref(CodeMirror), {
|
|
28639
31074
|
key: 0,
|
|
28640
31075
|
content: _ctx.data,
|
|
28641
31076
|
languages: codeMirrorLanguages.value,
|
|
@@ -28966,6 +31401,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28966
31401
|
emits: ["escapeKeyPress"],
|
|
28967
31402
|
setup(__props, { emit }) {
|
|
28968
31403
|
const props = __props;
|
|
31404
|
+
const keys = useMagicKeys();
|
|
31405
|
+
whenever(keys.escape, () => emit("escapeKeyPress"));
|
|
28969
31406
|
const { activeRequest: activeRequest2, readOnly: stateReadOnly } = useRequestStore();
|
|
28970
31407
|
const isSmallScreen = useMediaQuery("(max-width: 820px)");
|
|
28971
31408
|
const selectedTab = ref(0);
|
|
@@ -28983,10 +31420,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28983
31420
|
},
|
|
28984
31421
|
{ immediate: true }
|
|
28985
31422
|
);
|
|
28986
|
-
useKeyboardEvent({
|
|
28987
|
-
keyList: ["escape"],
|
|
28988
|
-
handler: () => emit("escapeKeyPress")
|
|
28989
|
-
});
|
|
28990
31423
|
return (_ctx, _cache) => {
|
|
28991
31424
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
28992
31425
|
createVNode(unref(_sfc_main$r), { id: _ctx.theme }, null, 8, ["id"]),
|
|
@@ -29074,6 +31507,7 @@ export {
|
|
|
29074
31507
|
findVariables,
|
|
29075
31508
|
httpHeaders,
|
|
29076
31509
|
httpStatusCodes,
|
|
31510
|
+
humanDiff,
|
|
29077
31511
|
isJsonString,
|
|
29078
31512
|
isRequestMethod,
|
|
29079
31513
|
mapFromArray,
|