@scalar/api-client 0.11.4 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/dist/components/ApiClient/AddressBar.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/ApiClient/Response/ResponseBody.vue.d.ts +24 -7
- package/dist/components/ApiClient/Response/ResponseBody.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Response/ResponseMetaInformation.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/sendRequest.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 +3076 -518
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +8 -7
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-bd526345] {\n text-transform: capitalize;\n}\n.navtable-item__active[data-v-bd526345] {\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-929db0a9] {\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-929db0a9 5s cubic-bezier(0, 0.5, 0.25, 1);\n}\n@keyframes loading-929db0a9 {\n0% {\n width: 0;\n}\n100% {\n width: 100%;\n}\n}\n.address-bar[data-v-929db0a9] {\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-929db0a9] {\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-929db0a9] .cm-content {\n display: flex;\n align-items: center;\n}\n.url-form-field[data-v-929db0a9] {\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-929db0a9] {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.url-form-input[data-v-929db0a9] {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n min-height: auto;\n padding-top: 0;\n}\n.history[data-v-929db0a9] {\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-929db0a9] {\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-929db0a9]: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-929db0a9]: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-929db0a9] {\n width: 12px;\n height: 12px;\n flex-shrink: 0;\n margin-right: 6px;\n position: relative;\n}\n.send-button span[data-v-929db0a9] {\n position: relative;\n}\n@media screen and (max-width: 720px) {\n.history-toggle span[data-v-929db0a9],\n .send-button span[data-v-929db0a9] {\n display: none;\n}\n.history-toggle svg[data-v-929db0a9],\n .send-button svg[data-v-929db0a9] {\n margin-right: 0;\n}\n}\n.send-button[disabled][data-v-929db0a9] {\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-929db0a9] {\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-929db0a9]:hover {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.history-toggle svg[data-v-929db0a9] {\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-929db0a9] {\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-929db0a9] {\n z-index: 100000;\n}\n.address-bar--with-history .address-bar-content[data-v-929db0a9] {\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-929db0a9] {\n opacity: 1;\n pointer-events: all;\n cursor: pointer;\n}\n.address-bar-close[data-v-929db0a9] {\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,7 +16,7 @@ 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, ref, onMounted, onActivated, onDeactivated, computed, watch, reactive, readonly, normalizeStyle, renderSlot, normalizeProps, guardReactiveProps, onBeforeUnmount, toValue, toRef, createElementBlock, createElementVNode, createVNode, normalizeClass, Fragment, renderList, createStaticVNode, pushScopeId, popScopeId, withDirectives, withModifiers, vModelSelect, vModelText, vModelCheckbox, vShow, toRaw, withKeys } from "vue";
|
|
19
|
+
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, unref, createCommentVNode, ref, onMounted, onActivated, onDeactivated, computed, watch, reactive, readonly, normalizeStyle, renderSlot, normalizeProps, guardReactiveProps, 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
21
|
import { useMediaQuery } from "@vueuse/core";
|
|
22
22
|
import TimeAgo from "javascript-time-ago";
|
|
@@ -3436,8 +3436,8 @@ class EditorState {
|
|
|
3436
3436
|
for (let i = 1; i < sel.ranges.length; i++) {
|
|
3437
3437
|
let result = f(sel.ranges[i]);
|
|
3438
3438
|
let newChanges = this.changes(result.changes), newMapped = newChanges.map(changes);
|
|
3439
|
-
for (let
|
|
3440
|
-
ranges[
|
|
3439
|
+
for (let j2 = 0; j2 < i; j2++)
|
|
3440
|
+
ranges[j2] = ranges[j2].map(newMapped);
|
|
3441
3441
|
let mapBy = changes.mapDesc(newChanges, true);
|
|
3442
3442
|
ranges.push(result.range.map(mapBy));
|
|
3443
3443
|
changes = changes.compose(newMapped);
|
|
@@ -3577,11 +3577,11 @@ class EditorState {
|
|
|
3577
3577
|
break;
|
|
3578
3578
|
}
|
|
3579
3579
|
if (insert2.length)
|
|
3580
|
-
phrase = phrase.replace(/\$(\$|\d*)/g, (
|
|
3580
|
+
phrase = phrase.replace(/\$(\$|\d*)/g, (m2, i) => {
|
|
3581
3581
|
if (i == "$")
|
|
3582
3582
|
return "$";
|
|
3583
3583
|
let n = +(i || 1);
|
|
3584
|
-
return !n || n > insert2.length ?
|
|
3584
|
+
return !n || n > insert2.length ? m2 : insert2[n - 1];
|
|
3585
3585
|
});
|
|
3586
3586
|
return phrase;
|
|
3587
3587
|
}
|
|
@@ -4566,24 +4566,24 @@ class StyleSet {
|
|
|
4566
4566
|
}
|
|
4567
4567
|
mount(modules) {
|
|
4568
4568
|
let sheet = this.sheet;
|
|
4569
|
-
let pos = 0,
|
|
4569
|
+
let pos = 0, j2 = 0;
|
|
4570
4570
|
for (let i = 0; i < modules.length; i++) {
|
|
4571
4571
|
let mod = modules[i], index = this.modules.indexOf(mod);
|
|
4572
|
-
if (index <
|
|
4572
|
+
if (index < j2 && index > -1) {
|
|
4573
4573
|
this.modules.splice(index, 1);
|
|
4574
|
-
|
|
4574
|
+
j2--;
|
|
4575
4575
|
index = -1;
|
|
4576
4576
|
}
|
|
4577
4577
|
if (index == -1) {
|
|
4578
|
-
this.modules.splice(
|
|
4578
|
+
this.modules.splice(j2++, 0, mod);
|
|
4579
4579
|
if (sheet)
|
|
4580
4580
|
for (let k = 0; k < mod.rules.length; k++)
|
|
4581
4581
|
sheet.insertRule(mod.rules[k], pos++);
|
|
4582
4582
|
} else {
|
|
4583
|
-
while (
|
|
4584
|
-
pos += this.modules[
|
|
4583
|
+
while (j2 < index)
|
|
4584
|
+
pos += this.modules[j2++].rules.length;
|
|
4585
4585
|
pos += mod.rules.length;
|
|
4586
|
-
|
|
4586
|
+
j2++;
|
|
4587
4587
|
}
|
|
4588
4588
|
}
|
|
4589
4589
|
if (!sheet) {
|
|
@@ -5679,13 +5679,13 @@ function inlineDOMAtPos(parent, pos) {
|
|
|
5679
5679
|
break;
|
|
5680
5680
|
off = end;
|
|
5681
5681
|
}
|
|
5682
|
-
for (let
|
|
5683
|
-
let prev = children[
|
|
5682
|
+
for (let j2 = i; j2 > 0; j2--) {
|
|
5683
|
+
let prev = children[j2 - 1];
|
|
5684
5684
|
if (prev.dom.parentNode == dom)
|
|
5685
5685
|
return prev.domAtPos(prev.length);
|
|
5686
5686
|
}
|
|
5687
|
-
for (let
|
|
5688
|
-
let next = children[
|
|
5687
|
+
for (let j2 = i; j2 < children.length; j2++) {
|
|
5688
|
+
let next = children[j2];
|
|
5689
5689
|
if (next.dom.parentNode == dom)
|
|
5690
5690
|
return next.domAtPos(0);
|
|
5691
5691
|
}
|
|
@@ -5826,8 +5826,8 @@ class LineView extends ContentView {
|
|
|
5826
5826
|
this.children[i].merge(off, this.children[i].length, null, false, 0, 0);
|
|
5827
5827
|
i++;
|
|
5828
5828
|
}
|
|
5829
|
-
for (let
|
|
5830
|
-
end.append(this.children[
|
|
5829
|
+
for (let j2 = i; j2 < this.children.length; j2++)
|
|
5830
|
+
end.append(this.children[j2], 0);
|
|
5831
5831
|
while (i > 0 && this.children[i - 1].length == 0)
|
|
5832
5832
|
this.children[--i].destroy();
|
|
5833
5833
|
this.children.length = i;
|
|
@@ -6557,8 +6557,8 @@ function computeCharTypes(line, rFrom, rTo, isolates, outerType) {
|
|
|
6557
6557
|
while (end < to && types$1[end] == 64)
|
|
6558
6558
|
end++;
|
|
6559
6559
|
let replace = i && prev == 8 || end < rTo && types$1[end] == 8 ? prevStrong == 1 ? 1 : 8 : 256;
|
|
6560
|
-
for (let
|
|
6561
|
-
types$1[
|
|
6560
|
+
for (let j2 = i; j2 < end; j2++)
|
|
6561
|
+
types$1[j2] = replace;
|
|
6562
6562
|
i = end - 1;
|
|
6563
6563
|
} else if (type == 8 && prevStrong == 1) {
|
|
6564
6564
|
types$1[i] = 1;
|
|
@@ -6634,12 +6634,12 @@ function processNeutrals(rFrom, rTo, isolates, outerType) {
|
|
|
6634
6634
|
let beforeL = prev == 1;
|
|
6635
6635
|
let afterL = (end < rTo ? types$1[end] : outerType) == 1;
|
|
6636
6636
|
let replace = beforeL == afterL ? beforeL ? 1 : 2 : outerType;
|
|
6637
|
-
for (let
|
|
6638
|
-
if (
|
|
6639
|
-
|
|
6637
|
+
for (let j2 = end, jI = iI, fromJ = jI ? isolates[jI - 1].to : rFrom; j2 > i; ) {
|
|
6638
|
+
if (j2 == fromJ) {
|
|
6639
|
+
j2 = isolates[--jI].from;
|
|
6640
6640
|
fromJ = jI ? isolates[jI - 1].to : rFrom;
|
|
6641
6641
|
}
|
|
6642
|
-
types$1[--
|
|
6642
|
+
types$1[--j2] = replace;
|
|
6643
6643
|
}
|
|
6644
6644
|
i = end;
|
|
6645
6645
|
} else {
|
|
@@ -6979,16 +6979,16 @@ const scrollMargins = /* @__PURE__ */ Facet.define();
|
|
|
6979
6979
|
function getScrollMargins(view) {
|
|
6980
6980
|
let left = 0, right = 0, top2 = 0, bottom = 0;
|
|
6981
6981
|
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,
|
|
6982
|
+
let m2 = source(view);
|
|
6983
|
+
if (m2) {
|
|
6984
|
+
if (m2.left != null)
|
|
6985
|
+
left = Math.max(left, m2.left);
|
|
6986
|
+
if (m2.right != null)
|
|
6987
|
+
right = Math.max(right, m2.right);
|
|
6988
|
+
if (m2.top != null)
|
|
6989
|
+
top2 = Math.max(top2, m2.top);
|
|
6990
|
+
if (m2.bottom != null)
|
|
6991
|
+
bottom = Math.max(bottom, m2.bottom);
|
|
6992
6992
|
}
|
|
6993
6993
|
}
|
|
6994
6994
|
return { left, right, top: top2, bottom };
|
|
@@ -7005,17 +7005,17 @@ class ChangedRange {
|
|
|
7005
7005
|
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
7006
|
}
|
|
7007
7007
|
addToSet(set) {
|
|
7008
|
-
let i = set.length,
|
|
7008
|
+
let i = set.length, me2 = this;
|
|
7009
7009
|
for (; i > 0; i--) {
|
|
7010
7010
|
let range = set[i - 1];
|
|
7011
|
-
if (range.fromA >
|
|
7011
|
+
if (range.fromA > me2.toA)
|
|
7012
7012
|
continue;
|
|
7013
|
-
if (range.toA <
|
|
7013
|
+
if (range.toA < me2.fromA)
|
|
7014
7014
|
break;
|
|
7015
|
-
|
|
7015
|
+
me2 = me2.join(range);
|
|
7016
7016
|
set.splice(i - 1, 1);
|
|
7017
7017
|
}
|
|
7018
|
-
set.splice(i, 0,
|
|
7018
|
+
set.splice(i, 0, me2);
|
|
7019
7019
|
return set;
|
|
7020
7020
|
}
|
|
7021
7021
|
static extendWithRanges(diff, ranges) {
|
|
@@ -7816,8 +7816,8 @@ function domPosInText(node, x, y) {
|
|
|
7816
7816
|
let closestOffset = -1, closestDY = 1e9, generalSide = 0;
|
|
7817
7817
|
for (let i = 0; i < len; i++) {
|
|
7818
7818
|
let rects = textRange(node, i, i + 1).getClientRects();
|
|
7819
|
-
for (let
|
|
7820
|
-
let rect = rects[
|
|
7819
|
+
for (let j2 = 0; j2 < rects.length; j2++) {
|
|
7820
|
+
let rect = rects[j2];
|
|
7821
7821
|
if (rect.top == rect.bottom)
|
|
7822
7822
|
continue;
|
|
7823
7823
|
if (!generalSide)
|
|
@@ -8815,12 +8815,12 @@ class HeightOracle {
|
|
|
8815
8815
|
mustRefreshForHeights(lineHeights) {
|
|
8816
8816
|
let newHeight = false;
|
|
8817
8817
|
for (let i = 0; i < lineHeights.length; i++) {
|
|
8818
|
-
let
|
|
8819
|
-
if (
|
|
8818
|
+
let h2 = lineHeights[i];
|
|
8819
|
+
if (h2 < 0) {
|
|
8820
8820
|
i++;
|
|
8821
|
-
} else if (!this.heightSamples[Math.floor(
|
|
8821
|
+
} else if (!this.heightSamples[Math.floor(h2 * 10)]) {
|
|
8822
8822
|
newHeight = true;
|
|
8823
|
-
this.heightSamples[Math.floor(
|
|
8823
|
+
this.heightSamples[Math.floor(h2 * 10)] = true;
|
|
8824
8824
|
}
|
|
8825
8825
|
}
|
|
8826
8826
|
return newHeight;
|
|
@@ -8836,11 +8836,11 @@ class HeightOracle {
|
|
|
8836
8836
|
if (changed) {
|
|
8837
8837
|
this.heightSamples = {};
|
|
8838
8838
|
for (let i = 0; i < knownHeights.length; i++) {
|
|
8839
|
-
let
|
|
8840
|
-
if (
|
|
8839
|
+
let h2 = knownHeights[i];
|
|
8840
|
+
if (h2 < 0)
|
|
8841
8841
|
i++;
|
|
8842
8842
|
else
|
|
8843
|
-
this.heightSamples[Math.floor(
|
|
8843
|
+
this.heightSamples[Math.floor(h2 * 10)] = true;
|
|
8844
8844
|
}
|
|
8845
8845
|
}
|
|
8846
8846
|
return changed;
|
|
@@ -8948,11 +8948,11 @@ class HeightMap {
|
|
|
8948
8948
|
result.push(this);
|
|
8949
8949
|
}
|
|
8950
8950
|
applyChanges(decorations2, oldDoc, oracle, changes) {
|
|
8951
|
-
let
|
|
8951
|
+
let me2 = this, doc2 = oracle.doc;
|
|
8952
8952
|
for (let i = changes.length - 1; i >= 0; i--) {
|
|
8953
8953
|
let { fromA, toA, fromB, toB } = changes[i];
|
|
8954
|
-
let start2 =
|
|
8955
|
-
let end = start2.to >= toA ? start2 :
|
|
8954
|
+
let start2 = me2.lineAt(fromA, QueryType.ByPosNoHeight, oracle.setDoc(oldDoc), 0, 0);
|
|
8955
|
+
let end = start2.to >= toA ? start2 : me2.lineAt(toA, QueryType.ByPosNoHeight, oracle, 0, 0);
|
|
8956
8956
|
toB += end.to - toA;
|
|
8957
8957
|
toA = end.to;
|
|
8958
8958
|
while (i > 0 && start2.from <= changes[i - 1].toA) {
|
|
@@ -8960,14 +8960,14 @@ class HeightMap {
|
|
|
8960
8960
|
fromB = changes[i - 1].fromB;
|
|
8961
8961
|
i--;
|
|
8962
8962
|
if (fromA < start2.from)
|
|
8963
|
-
start2 =
|
|
8963
|
+
start2 = me2.lineAt(fromA, QueryType.ByPosNoHeight, oracle, 0, 0);
|
|
8964
8964
|
}
|
|
8965
8965
|
fromB += start2.from - fromA;
|
|
8966
8966
|
fromA = start2.from;
|
|
8967
8967
|
let nodes = NodeBuilder.build(oracle.setDoc(doc2), decorations2, fromB, toB);
|
|
8968
|
-
|
|
8968
|
+
me2 = me2.replace(fromA, toA, nodes);
|
|
8969
8969
|
}
|
|
8970
|
-
return
|
|
8970
|
+
return me2.updateHeight(oracle, 0);
|
|
8971
8971
|
}
|
|
8972
8972
|
static empty() {
|
|
8973
8973
|
return new HeightMapText(0, 0);
|
|
@@ -8979,24 +8979,24 @@ class HeightMap {
|
|
|
8979
8979
|
static of(nodes) {
|
|
8980
8980
|
if (nodes.length == 1)
|
|
8981
8981
|
return nodes[0];
|
|
8982
|
-
let i = 0,
|
|
8982
|
+
let i = 0, j2 = nodes.length, before = 0, after = 0;
|
|
8983
8983
|
for (; ; ) {
|
|
8984
|
-
if (i ==
|
|
8984
|
+
if (i == j2) {
|
|
8985
8985
|
if (before > after * 2) {
|
|
8986
8986
|
let split = nodes[i - 1];
|
|
8987
8987
|
if (split.break)
|
|
8988
8988
|
nodes.splice(--i, 1, split.left, null, split.right);
|
|
8989
8989
|
else
|
|
8990
8990
|
nodes.splice(--i, 1, split.left, split.right);
|
|
8991
|
-
|
|
8991
|
+
j2 += 1 + split.break;
|
|
8992
8992
|
before -= split.size;
|
|
8993
8993
|
} else if (after > before * 2) {
|
|
8994
|
-
let split = nodes[
|
|
8994
|
+
let split = nodes[j2];
|
|
8995
8995
|
if (split.break)
|
|
8996
|
-
nodes.splice(
|
|
8996
|
+
nodes.splice(j2, 1, split.left, null, split.right);
|
|
8997
8997
|
else
|
|
8998
|
-
nodes.splice(
|
|
8999
|
-
|
|
8998
|
+
nodes.splice(j2, 1, split.left, split.right);
|
|
8999
|
+
j2 += 2 + split.break;
|
|
9000
9000
|
after -= split.size;
|
|
9001
9001
|
} else {
|
|
9002
9002
|
break;
|
|
@@ -9006,7 +9006,7 @@ class HeightMap {
|
|
|
9006
9006
|
if (next)
|
|
9007
9007
|
before += next.size;
|
|
9008
9008
|
} else {
|
|
9009
|
-
let next = nodes[--
|
|
9009
|
+
let next = nodes[--j2];
|
|
9010
9010
|
if (next)
|
|
9011
9011
|
after += next.size;
|
|
9012
9012
|
}
|
|
@@ -9017,9 +9017,9 @@ class HeightMap {
|
|
|
9017
9017
|
i--;
|
|
9018
9018
|
} else if (nodes[i] == null) {
|
|
9019
9019
|
brk = 1;
|
|
9020
|
-
|
|
9020
|
+
j2++;
|
|
9021
9021
|
}
|
|
9022
|
-
return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(
|
|
9022
|
+
return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(j2)));
|
|
9023
9023
|
}
|
|
9024
9024
|
}
|
|
9025
9025
|
HeightMap.prototype.size = 1;
|
|
@@ -10037,12 +10037,12 @@ const lightDarkIDs = { "&light": "." + baseLightID, "&dark": "." + baseDarkID };
|
|
|
10037
10037
|
function buildTheme(main, spec, scopes) {
|
|
10038
10038
|
return new StyleModule(spec, {
|
|
10039
10039
|
finish(sel) {
|
|
10040
|
-
return /&/.test(sel) ? sel.replace(/&\w*/, (
|
|
10041
|
-
if (
|
|
10040
|
+
return /&/.test(sel) ? sel.replace(/&\w*/, (m2) => {
|
|
10041
|
+
if (m2 == "&")
|
|
10042
10042
|
return main;
|
|
10043
|
-
if (!scopes || !scopes[
|
|
10044
|
-
throw new RangeError(`Unsupported selector: ${
|
|
10045
|
-
return scopes[
|
|
10043
|
+
if (!scopes || !scopes[m2])
|
|
10044
|
+
throw new RangeError(`Unsupported selector: ${m2}`);
|
|
10045
|
+
return scopes[m2];
|
|
10046
10046
|
}) : main + " " + sel;
|
|
10047
10047
|
}
|
|
10048
10048
|
});
|
|
@@ -10334,14 +10334,14 @@ class DOMReader {
|
|
|
10334
10334
|
for (let point of this.points)
|
|
10335
10335
|
if (point.node == node)
|
|
10336
10336
|
point.pos = this.text.length + Math.min(point.offset, text.length);
|
|
10337
|
-
for (let off = 0,
|
|
10338
|
-
let nextBreak = -1, breakSize = 1,
|
|
10337
|
+
for (let off = 0, re2 = this.lineSeparator ? null : /\r\n?|\n/g; ; ) {
|
|
10338
|
+
let nextBreak = -1, breakSize = 1, m2;
|
|
10339
10339
|
if (this.lineSeparator) {
|
|
10340
10340
|
nextBreak = text.indexOf(this.lineSeparator, off);
|
|
10341
10341
|
breakSize = this.lineSeparator.length;
|
|
10342
|
-
} else if (
|
|
10343
|
-
nextBreak =
|
|
10344
|
-
breakSize =
|
|
10342
|
+
} else if (m2 = re2.exec(text)) {
|
|
10343
|
+
nextBreak = m2.index;
|
|
10344
|
+
breakSize = m2[0].length;
|
|
10345
10345
|
}
|
|
10346
10346
|
this.append(text.slice(off, nextBreak < 0 ? text.length : nextBreak));
|
|
10347
10347
|
if (nextBreak < 0)
|
|
@@ -10491,7 +10491,7 @@ function applyDOMChange(view, domChange) {
|
|
|
10491
10491
|
view.inputState.composing++;
|
|
10492
10492
|
let defaultTr;
|
|
10493
10493
|
let defaultInsert = () => defaultTr || (defaultTr = applyDefaultInsert(view, change, newSel));
|
|
10494
|
-
if (!view.state.facet(inputHandler).some((
|
|
10494
|
+
if (!view.state.facet(inputHandler).some((h2) => h2(view, change.from, change.to, text, defaultInsert)))
|
|
10495
10495
|
view.dispatch(defaultInsert());
|
|
10496
10496
|
return true;
|
|
10497
10497
|
} else if (newSel && !newSel.main.eq(sel)) {
|
|
@@ -10638,7 +10638,7 @@ class DOMObserver {
|
|
|
10638
10638
|
this.observer = new MutationObserver((mutations) => {
|
|
10639
10639
|
for (let mut of mutations)
|
|
10640
10640
|
this.queue.push(mut);
|
|
10641
|
-
if ((browser.ie && browser.ie_version <= 11 || browser.ios && view.composing) && mutations.some((
|
|
10641
|
+
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
10642
|
this.flushSoon();
|
|
10643
10643
|
else
|
|
10644
10644
|
this.flush();
|
|
@@ -11334,9 +11334,9 @@ class EditorView {
|
|
|
11334
11334
|
let measuring = [];
|
|
11335
11335
|
if (!(changed & 4))
|
|
11336
11336
|
[this.measureRequests, measuring] = [measuring, this.measureRequests];
|
|
11337
|
-
let measured = measuring.map((
|
|
11337
|
+
let measured = measuring.map((m2) => {
|
|
11338
11338
|
try {
|
|
11339
|
-
return
|
|
11339
|
+
return m2.read(this);
|
|
11340
11340
|
} catch (e) {
|
|
11341
11341
|
logException(this.state, e);
|
|
11342
11342
|
return BadMeasure;
|
|
@@ -11358,9 +11358,9 @@ class EditorView {
|
|
|
11358
11358
|
for (let i2 = 0; i2 < measuring.length; i2++)
|
|
11359
11359
|
if (measured[i2] != BadMeasure) {
|
|
11360
11360
|
try {
|
|
11361
|
-
let
|
|
11362
|
-
if (
|
|
11363
|
-
|
|
11361
|
+
let m2 = measuring[i2];
|
|
11362
|
+
if (m2.write)
|
|
11363
|
+
m2.write(measured[i2], this);
|
|
11364
11364
|
} catch (e) {
|
|
11365
11365
|
logException(this.state, e);
|
|
11366
11366
|
}
|
|
@@ -12134,12 +12134,12 @@ if (CanHidePrimary) {
|
|
|
12134
12134
|
themeSpec[".cm-line"].caretColor = "transparent !important";
|
|
12135
12135
|
themeSpec[".cm-content"] = { caretColor: "transparent !important" };
|
|
12136
12136
|
}
|
|
12137
|
-
function iterMatches(doc2,
|
|
12138
|
-
|
|
12139
|
-
for (let cursor = doc2.iterRange(from2, to), pos = from2,
|
|
12137
|
+
function iterMatches(doc2, re2, from2, to, f) {
|
|
12138
|
+
re2.lastIndex = 0;
|
|
12139
|
+
for (let cursor = doc2.iterRange(from2, to), pos = from2, m2; !cursor.next().done; pos += cursor.value.length) {
|
|
12140
12140
|
if (!cursor.lineBreak)
|
|
12141
|
-
while (
|
|
12142
|
-
f(pos +
|
|
12141
|
+
while (m2 = re2.exec(cursor.value))
|
|
12142
|
+
f(pos + m2.index, m2);
|
|
12143
12143
|
}
|
|
12144
12144
|
}
|
|
12145
12145
|
function matchRanges(view, maxLength) {
|
|
@@ -12190,7 +12190,7 @@ class MatchDecorator {
|
|
|
12190
12190
|
createDeco(view) {
|
|
12191
12191
|
let build = new RangeSetBuilder(), add = build.add.bind(build);
|
|
12192
12192
|
for (let { from: from2, to } of matchRanges(view, this.maxLength))
|
|
12193
|
-
iterMatches(view.state.doc, this.regexp, from2, to, (from3,
|
|
12193
|
+
iterMatches(view.state.doc, this.regexp, from2, to, (from3, m2) => this.addMatch(m2, view, from3, add));
|
|
12194
12194
|
return build.finish();
|
|
12195
12195
|
}
|
|
12196
12196
|
/**
|
|
@@ -12231,14 +12231,14 @@ class MatchDecorator {
|
|
|
12231
12231
|
break;
|
|
12232
12232
|
}
|
|
12233
12233
|
}
|
|
12234
|
-
let ranges = [],
|
|
12234
|
+
let ranges = [], m2;
|
|
12235
12235
|
let add = (from3, to2, deco2) => ranges.push(deco2.range(from3, to2));
|
|
12236
12236
|
if (fromLine == toLine) {
|
|
12237
12237
|
this.regexp.lastIndex = start2 - fromLine.from;
|
|
12238
|
-
while ((
|
|
12239
|
-
this.addMatch(
|
|
12238
|
+
while ((m2 = this.regexp.exec(fromLine.text)) && m2.index < end - fromLine.from)
|
|
12239
|
+
this.addMatch(m2, view, m2.index + fromLine.from, add);
|
|
12240
12240
|
} else {
|
|
12241
|
-
iterMatches(view.state.doc, this.regexp, start2, end, (from3,
|
|
12241
|
+
iterMatches(view.state.doc, this.regexp, start2, end, (from3, m3) => this.addMatch(m3, view, from3, add));
|
|
12242
12242
|
}
|
|
12243
12243
|
deco = deco.update({ filterFrom: start2, filterTo: end, filter: (from3, to2) => from3 < start2 || to2 > end, add: ranges });
|
|
12244
12244
|
}
|
|
@@ -12607,7 +12607,7 @@ const lineNumberGutter = /* @__PURE__ */ activeGutters.compute([lineNumberConfig
|
|
|
12607
12607
|
return view.state.facet(lineNumberMarkers);
|
|
12608
12608
|
},
|
|
12609
12609
|
lineMarker(view, line, others) {
|
|
12610
|
-
if (others.some((
|
|
12610
|
+
if (others.some((m2) => m2.toDOM))
|
|
12611
12611
|
return null;
|
|
12612
12612
|
return new NumberMarker(formatNumber(view, view.state.doc.lineAt(line.from).number));
|
|
12613
12613
|
},
|
|
@@ -13097,11 +13097,11 @@ class TreeBuffer {
|
|
|
13097
13097
|
slice(startI, endI, from2) {
|
|
13098
13098
|
let b = this.buffer;
|
|
13099
13099
|
let copy = new Uint16Array(endI - startI), len = 0;
|
|
13100
|
-
for (let i = startI,
|
|
13101
|
-
copy[
|
|
13102
|
-
copy[
|
|
13103
|
-
let to = copy[
|
|
13104
|
-
copy[
|
|
13100
|
+
for (let i = startI, j2 = 0; i < endI; ) {
|
|
13101
|
+
copy[j2++] = b[i++];
|
|
13102
|
+
copy[j2++] = b[i++] - from2;
|
|
13103
|
+
let to = copy[j2++] = b[i++] - from2;
|
|
13104
|
+
copy[j2++] = b[i++] - startI;
|
|
13105
13105
|
len = Math.max(len, to);
|
|
13106
13106
|
}
|
|
13107
13107
|
return new TreeBuffer(copy, len, this.set);
|
|
@@ -13953,11 +13953,11 @@ function buildTree(data) {
|
|
|
13953
13953
|
if (nodeCount) {
|
|
13954
13954
|
let buffer2 = new Uint16Array(nodeCount * 4);
|
|
13955
13955
|
let start2 = nodes[nodes.length - 2];
|
|
13956
|
-
for (let i = nodes.length - 3,
|
|
13957
|
-
buffer2[
|
|
13958
|
-
buffer2[
|
|
13959
|
-
buffer2[
|
|
13960
|
-
buffer2[
|
|
13956
|
+
for (let i = nodes.length - 3, j2 = 0; i >= 0; i -= 3) {
|
|
13957
|
+
buffer2[j2++] = nodes[i];
|
|
13958
|
+
buffer2[j2++] = nodes[i + 1] - start2;
|
|
13959
|
+
buffer2[j2++] = nodes[i + 2] - start2;
|
|
13960
|
+
buffer2[j2++] = j2;
|
|
13961
13961
|
}
|
|
13962
13962
|
children2.push(new TreeBuffer(buffer2, nodes[2] - start2, nodeSet2));
|
|
13963
13963
|
positions2.push(start2 - parentStart);
|
|
@@ -14266,9 +14266,9 @@ class Parser {
|
|
|
14266
14266
|
Run a full parse, returning the resulting tree.
|
|
14267
14267
|
*/
|
|
14268
14268
|
parse(input, fragments, ranges) {
|
|
14269
|
-
let
|
|
14269
|
+
let parse = this.startParse(input, fragments, ranges);
|
|
14270
14270
|
for (; ; ) {
|
|
14271
|
-
let done =
|
|
14271
|
+
let done = parse.advance();
|
|
14272
14272
|
if (done)
|
|
14273
14273
|
return done;
|
|
14274
14274
|
}
|
|
@@ -14292,12 +14292,12 @@ class StringInput {
|
|
|
14292
14292
|
}
|
|
14293
14293
|
}
|
|
14294
14294
|
function parseMixed(nest) {
|
|
14295
|
-
return (
|
|
14295
|
+
return (parse, input, fragments, ranges) => new MixedParse(parse, nest, input, fragments, ranges);
|
|
14296
14296
|
}
|
|
14297
14297
|
class InnerParse {
|
|
14298
|
-
constructor(parser2,
|
|
14298
|
+
constructor(parser2, parse, overlay, target, from2) {
|
|
14299
14299
|
this.parser = parser2;
|
|
14300
|
-
this.parse =
|
|
14300
|
+
this.parse = parse;
|
|
14301
14301
|
this.overlay = overlay;
|
|
14302
14302
|
this.target = target;
|
|
14303
14303
|
this.from = from2;
|
|
@@ -14390,7 +14390,7 @@ class MixedParse {
|
|
|
14390
14390
|
enter = false;
|
|
14391
14391
|
} else if (fragmentCursor.hasNode(cursor)) {
|
|
14392
14392
|
if (overlay) {
|
|
14393
|
-
let match2 = overlay.mounts.find((
|
|
14393
|
+
let match2 = overlay.mounts.find((m2) => m2.frag.from <= cursor.from && m2.frag.to >= cursor.to && m2.mount.overlay);
|
|
14394
14394
|
if (match2)
|
|
14395
14395
|
for (let r2 of match2.mount.overlay) {
|
|
14396
14396
|
let from2 = r2.from + match2.pos, to = r2.to + match2.pos;
|
|
@@ -14581,10 +14581,10 @@ let FragmentCursor$1 = class FragmentCursor {
|
|
|
14581
14581
|
};
|
|
14582
14582
|
function punchRanges(outer, ranges) {
|
|
14583
14583
|
let copy = null, current = ranges;
|
|
14584
|
-
for (let i = 1,
|
|
14584
|
+
for (let i = 1, j2 = 0; i < outer.length; i++) {
|
|
14585
14585
|
let gapFrom = outer[i - 1].to, gapTo = outer[i].from;
|
|
14586
|
-
for (;
|
|
14587
|
-
let r2 = current[
|
|
14586
|
+
for (; j2 < current.length; j2++) {
|
|
14587
|
+
let r2 = current[j2];
|
|
14588
14588
|
if (r2.from >= gapTo)
|
|
14589
14589
|
break;
|
|
14590
14590
|
if (r2.to <= gapFrom)
|
|
@@ -14592,13 +14592,13 @@ function punchRanges(outer, ranges) {
|
|
|
14592
14592
|
if (!copy)
|
|
14593
14593
|
current = copy = ranges.slice();
|
|
14594
14594
|
if (r2.from < gapFrom) {
|
|
14595
|
-
copy[
|
|
14595
|
+
copy[j2] = new Range2(r2.from, gapFrom);
|
|
14596
14596
|
if (r2.to > gapTo)
|
|
14597
|
-
copy.splice(
|
|
14597
|
+
copy.splice(j2 + 1, 0, new Range2(gapTo, r2.to));
|
|
14598
14598
|
} else if (r2.to > gapTo) {
|
|
14599
|
-
copy[
|
|
14599
|
+
copy[j2--] = new Range2(gapTo, r2.to);
|
|
14600
14600
|
} else {
|
|
14601
|
-
copy.splice(
|
|
14601
|
+
copy.splice(j2--, 1);
|
|
14602
14602
|
}
|
|
14603
14603
|
}
|
|
14604
14604
|
}
|
|
@@ -14721,8 +14721,8 @@ class Modifier {
|
|
|
14721
14721
|
if (exists)
|
|
14722
14722
|
return exists;
|
|
14723
14723
|
let set = [], tag = new Tag(set, base2, mods);
|
|
14724
|
-
for (let
|
|
14725
|
-
|
|
14724
|
+
for (let m2 of mods)
|
|
14725
|
+
m2.instances.push(tag);
|
|
14726
14726
|
let configs = powerSet(mods);
|
|
14727
14727
|
for (let parent of base2.set)
|
|
14728
14728
|
if (!parent.modified.length)
|
|
@@ -14737,8 +14737,8 @@ function sameArray(a, b) {
|
|
|
14737
14737
|
function powerSet(array2) {
|
|
14738
14738
|
let sets = [[]];
|
|
14739
14739
|
for (let i = 0; i < array2.length; i++) {
|
|
14740
|
-
for (let
|
|
14741
|
-
sets.push(sets[
|
|
14740
|
+
for (let j2 = 0, e = sets.length; j2 < e; j2++) {
|
|
14741
|
+
sets.push(sets[j2].concat(array2[i]));
|
|
14742
14742
|
}
|
|
14743
14743
|
}
|
|
14744
14744
|
return sets.sort((a, b) => b.length - a.length);
|
|
@@ -14757,11 +14757,11 @@ function styleTags(spec) {
|
|
|
14757
14757
|
mode = 1;
|
|
14758
14758
|
break;
|
|
14759
14759
|
}
|
|
14760
|
-
let
|
|
14761
|
-
if (!
|
|
14760
|
+
let m2 = /^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(rest);
|
|
14761
|
+
if (!m2)
|
|
14762
14762
|
throw new RangeError("Invalid path: " + part);
|
|
14763
|
-
pieces.push(
|
|
14764
|
-
pos +=
|
|
14763
|
+
pieces.push(m2[0] == "*" ? "" : m2[0][0] == '"' ? JSON.parse(m2[0]) : m2[0]);
|
|
14764
|
+
pos += m2[0].length;
|
|
14765
14765
|
if (pos == part.length)
|
|
14766
14766
|
break;
|
|
14767
14767
|
let next = part[pos++];
|
|
@@ -14874,7 +14874,7 @@ class HighlightBuilder {
|
|
|
14874
14874
|
if (start2 >= to || end <= from2)
|
|
14875
14875
|
return;
|
|
14876
14876
|
if (type.isTop)
|
|
14877
|
-
highlighters = this.highlighters.filter((
|
|
14877
|
+
highlighters = this.highlighters.filter((h2) => !h2.scope || h2.scope(type));
|
|
14878
14878
|
let cls = inheritedClass;
|
|
14879
14879
|
let rule = getStyleTags(cursor) || Rule.empty;
|
|
14880
14880
|
let tagCls = highlightTags(highlighters, rule.tags);
|
|
@@ -14891,7 +14891,7 @@ class HighlightBuilder {
|
|
|
14891
14891
|
let mounted = cursor.tree && cursor.tree.prop(NodeProp.mounted);
|
|
14892
14892
|
if (mounted && mounted.overlay) {
|
|
14893
14893
|
let inner = cursor.node.enter(mounted.overlay[0].from + start2, 1);
|
|
14894
|
-
let innerHighlighters = this.highlighters.filter((
|
|
14894
|
+
let innerHighlighters = this.highlighters.filter((h2) => !h2.scope || h2.scope(mounted.tree.type));
|
|
14895
14895
|
let hasChild2 = cursor.firstChild();
|
|
14896
14896
|
for (let i = 0, pos = start2; ; i++) {
|
|
14897
14897
|
let next = i < mounted.overlay.length ? mounted.overlay[i] : null;
|
|
@@ -17778,11 +17778,11 @@ class Parse2 {
|
|
|
17778
17778
|
outer:
|
|
17779
17779
|
for (let i = 0; i < newStacks.length - 1; i++) {
|
|
17780
17780
|
let stack = newStacks[i];
|
|
17781
|
-
for (let
|
|
17782
|
-
let other = newStacks[
|
|
17781
|
+
for (let j2 = i + 1; j2 < newStacks.length; j2++) {
|
|
17782
|
+
let other = newStacks[j2];
|
|
17783
17783
|
if (stack.sameState(other) || stack.buffer.length > 500 && other.buffer.length > 500) {
|
|
17784
17784
|
if ((stack.score - other.score || stack.buffer.length - other.buffer.length) > 0) {
|
|
17785
|
-
newStacks.splice(
|
|
17785
|
+
newStacks.splice(j2--, 1);
|
|
17786
17786
|
} else {
|
|
17787
17787
|
newStacks.splice(i--, 1);
|
|
17788
17788
|
continue outer;
|
|
@@ -17906,7 +17906,7 @@ class Parse2 {
|
|
|
17906
17906
|
continue;
|
|
17907
17907
|
}
|
|
17908
17908
|
let force = stack.split(), forceBase = base2;
|
|
17909
|
-
for (let
|
|
17909
|
+
for (let j2 = 0; force.forceReduce() && j2 < 10; j2++) {
|
|
17910
17910
|
if (verbose)
|
|
17911
17911
|
console.log(forceBase + this.stackID(force) + " (via force-reduce)");
|
|
17912
17912
|
let done = this.advanceFully(force, newStacks);
|
|
@@ -18022,7 +18022,7 @@ class LRParser extends Parser {
|
|
|
18022
18022
|
setProp(next, prop, propSpec[i++]);
|
|
18023
18023
|
} else {
|
|
18024
18024
|
let value = propSpec[i + -next];
|
|
18025
|
-
for (let
|
|
18025
|
+
for (let j2 = -next; j2 > 0; j2--)
|
|
18026
18026
|
setProp(propSpec[i++], prop, value);
|
|
18027
18027
|
i++;
|
|
18028
18028
|
}
|
|
@@ -18062,10 +18062,10 @@ class LRParser extends Parser {
|
|
|
18062
18062
|
this.top = this.topRules[Object.keys(this.topRules)[0]];
|
|
18063
18063
|
}
|
|
18064
18064
|
createParse(input, fragments, ranges) {
|
|
18065
|
-
let
|
|
18065
|
+
let parse = new Parse2(this, input, fragments, ranges);
|
|
18066
18066
|
for (let w of this.wrappers)
|
|
18067
|
-
|
|
18068
|
-
return
|
|
18067
|
+
parse = w(parse, input, fragments, ranges);
|
|
18068
|
+
return parse;
|
|
18069
18069
|
}
|
|
18070
18070
|
/**
|
|
18071
18071
|
Get a goto table entry @internal
|
|
@@ -18276,7 +18276,7 @@ class LRParser extends Parser {
|
|
|
18276
18276
|
let disabled = null;
|
|
18277
18277
|
for (let i = 0; i < values2.length; i++)
|
|
18278
18278
|
if (!flags[i]) {
|
|
18279
|
-
for (let
|
|
18279
|
+
for (let j2 = this.dialects[values2[i]], id2; (id2 = this.data[j2++]) != 65535; )
|
|
18280
18280
|
(disabled || (disabled = new Uint8Array(this.maxTerm + 1)))[id2] = 1;
|
|
18281
18281
|
}
|
|
18282
18282
|
return new Dialect(dialect, flags, disabled);
|
|
@@ -19970,10 +19970,10 @@ class Snippet {
|
|
|
19970
19970
|
}
|
|
19971
19971
|
static parse(template) {
|
|
19972
19972
|
let fields = [];
|
|
19973
|
-
let lines = [], positions = [],
|
|
19973
|
+
let lines = [], positions = [], m2;
|
|
19974
19974
|
for (let line of template.split(/\r\n?|\n/)) {
|
|
19975
|
-
while (
|
|
19976
|
-
let seq =
|
|
19975
|
+
while (m2 = /[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(line)) {
|
|
19976
|
+
let seq = m2[1] ? +m2[1] : null, name2 = m2[2] || m2[3] || "", found = -1;
|
|
19977
19977
|
for (let i = 0; i < fields.length; i++) {
|
|
19978
19978
|
if (seq != null ? fields[i].seq == seq : name2 ? fields[i].name == name2 : false)
|
|
19979
19979
|
found = i;
|
|
@@ -19988,8 +19988,8 @@ class Snippet {
|
|
|
19988
19988
|
if (pos.field >= found)
|
|
19989
19989
|
pos.field++;
|
|
19990
19990
|
}
|
|
19991
|
-
positions.push(new FieldPos(found, lines.length,
|
|
19992
|
-
line = line.slice(0,
|
|
19991
|
+
positions.push(new FieldPos(found, lines.length, m2.index, m2.index + name2.length));
|
|
19992
|
+
line = line.slice(0, m2.index) + name2 + line.slice(m2.index + m2[0].length);
|
|
19993
19993
|
}
|
|
19994
19994
|
for (let esc; esc = /\\([{}])/.exec(line); ) {
|
|
19995
19995
|
line = line.slice(0, esc.index) + esc[1] + line.slice(esc.index + esc[0].length);
|
|
@@ -22237,7 +22237,7 @@ function python() {
|
|
|
22237
22237
|
]);
|
|
22238
22238
|
}
|
|
22239
22239
|
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;
|
|
22240
|
+
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
22241
|
function isNum(ch) {
|
|
22242
22242
|
return ch >= 48 && ch <= 57;
|
|
22243
22243
|
}
|
|
@@ -22261,7 +22261,7 @@ const literalTokens = new ExternalTokenizer((input, stack) => {
|
|
|
22261
22261
|
return;
|
|
22262
22262
|
}
|
|
22263
22263
|
}
|
|
22264
|
-
if (input.next == _e || input.next == _E) {
|
|
22264
|
+
if (input.next == _e$1 || input.next == _E) {
|
|
22265
22265
|
isFloat = true;
|
|
22266
22266
|
input.advance();
|
|
22267
22267
|
if (input.next == Plus || input.next == Minus)
|
|
@@ -22755,7 +22755,7 @@ function tokenRawString(stream, state2) {
|
|
|
22755
22755
|
stream.skipToEnd();
|
|
22756
22756
|
return "string";
|
|
22757
22757
|
}
|
|
22758
|
-
const c = clike({
|
|
22758
|
+
const c$1 = clike({
|
|
22759
22759
|
name: "c",
|
|
22760
22760
|
keywords: words$1(cKeywords),
|
|
22761
22761
|
types: cTypes,
|
|
@@ -25205,7 +25205,7 @@ function pop(state2) {
|
|
|
25205
25205
|
state2.indent = state2.ctx.indent;
|
|
25206
25206
|
state2.ctx = state2.ctx.prev;
|
|
25207
25207
|
}
|
|
25208
|
-
const r = {
|
|
25208
|
+
const r$1 = {
|
|
25209
25209
|
name: "r",
|
|
25210
25210
|
startState: function(indentUnit2) {
|
|
25211
25211
|
return {
|
|
@@ -25365,7 +25365,7 @@ function tokenBase$2(stream, state2) {
|
|
|
25365
25365
|
}
|
|
25366
25366
|
if (stream.eatSpace())
|
|
25367
25367
|
return null;
|
|
25368
|
-
var ch = stream.next(),
|
|
25368
|
+
var ch = stream.next(), m2;
|
|
25369
25369
|
if (ch == "`" || ch == "'" || ch == '"') {
|
|
25370
25370
|
return chain(readQuoted(ch, "string", ch == '"' || ch == "`"), stream, state2);
|
|
25371
25371
|
} else if (ch == "/") {
|
|
@@ -25394,8 +25394,8 @@ function tokenBase$2(stream, state2) {
|
|
|
25394
25394
|
} else if (ch == "#") {
|
|
25395
25395
|
stream.skipToEnd();
|
|
25396
25396
|
return "comment";
|
|
25397
|
-
} else if (ch == "<" && (
|
|
25398
|
-
return chain(readHereDoc(
|
|
25397
|
+
} else if (ch == "<" && (m2 = stream.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/))) {
|
|
25398
|
+
return chain(readHereDoc(m2[2], m2[1]), stream, state2);
|
|
25399
25399
|
} else if (ch == "0") {
|
|
25400
25400
|
if (stream.eat("x"))
|
|
25401
25401
|
stream.eatWhile(/[\da-fA-F]/);
|
|
@@ -26422,7 +26422,7 @@ const variableHighlighterDecoration = new MatchDecorator({
|
|
|
26422
26422
|
regexp: /(\{[^}]+\})/g,
|
|
26423
26423
|
decoration: () => Decoration.mark({
|
|
26424
26424
|
attributes: {
|
|
26425
|
-
class: "
|
|
26425
|
+
class: "api-client-url-variable"
|
|
26426
26426
|
}
|
|
26427
26427
|
})
|
|
26428
26428
|
});
|
|
@@ -26449,7 +26449,7 @@ const variables = () => ViewPlugin.fromClass(
|
|
|
26449
26449
|
)
|
|
26450
26450
|
}
|
|
26451
26451
|
);
|
|
26452
|
-
const hasProvider = (params) => "provider" in params && !!toValue(params.provider);
|
|
26452
|
+
const hasProvider = (params) => "provider" in params && !!toValue$1(params.provider);
|
|
26453
26453
|
const useCodeMirror = (params) => {
|
|
26454
26454
|
const codeMirror = ref(null);
|
|
26455
26455
|
watch(
|
|
@@ -26467,7 +26467,7 @@ const useCodeMirror = (params) => {
|
|
|
26467
26467
|
});
|
|
26468
26468
|
function mountCodeMirror() {
|
|
26469
26469
|
if (params.codeMirrorRef.value) {
|
|
26470
|
-
const provider = hasProvider(params) ? toValue(params.provider) : null;
|
|
26470
|
+
const provider = hasProvider(params) ? toValue$1(params.provider) : null;
|
|
26471
26471
|
const extensions = getCodeMirrorExtensions({
|
|
26472
26472
|
...extensionConfig.value,
|
|
26473
26473
|
provider
|
|
@@ -26477,24 +26477,24 @@ const useCodeMirror = (params) => {
|
|
|
26477
26477
|
extensions
|
|
26478
26478
|
});
|
|
26479
26479
|
if (!hasProvider(params))
|
|
26480
|
-
setCodeMirrorContent(toValue(params.content));
|
|
26480
|
+
setCodeMirrorContent(toValue$1(params.content));
|
|
26481
26481
|
}
|
|
26482
26482
|
}
|
|
26483
26483
|
const extensionConfig = computed(() => ({
|
|
26484
26484
|
onChange: params.onChange,
|
|
26485
26485
|
onBlur: params.onBlur,
|
|
26486
26486
|
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)
|
|
26487
|
+
languages: toValue$1(params.languages),
|
|
26488
|
+
classes: toValue$1(params.classes),
|
|
26489
|
+
readOnly: toValue$1(params.readOnly),
|
|
26490
|
+
lineNumbers: toValue$1(params.lineNumbers),
|
|
26491
|
+
withVariables: toValue$1(params.withVariables),
|
|
26492
|
+
disableEnter: toValue$1(params.withVariables),
|
|
26493
|
+
withoutTheme: toValue$1(params.withoutTheme),
|
|
26494
|
+
additionalExtensions: toValue$1(params.extensions)
|
|
26495
26495
|
}));
|
|
26496
26496
|
watch(
|
|
26497
|
-
() => hasProvider(params) ? toValue(params.provider) : null,
|
|
26497
|
+
() => hasProvider(params) ? toValue$1(params.provider) : null,
|
|
26498
26498
|
() => {
|
|
26499
26499
|
var _a2;
|
|
26500
26500
|
if (hasProvider(params)) {
|
|
@@ -26509,7 +26509,7 @@ const useCodeMirror = (params) => {
|
|
|
26509
26509
|
if (!codeMirror.value)
|
|
26510
26510
|
return;
|
|
26511
26511
|
else {
|
|
26512
|
-
const provider = hasProvider(params) ? toValue(params.provider) : null;
|
|
26512
|
+
const provider = hasProvider(params) ? toValue$1(params.provider) : null;
|
|
26513
26513
|
const extensions = getCodeMirrorExtensions({
|
|
26514
26514
|
...extensionConfig.value,
|
|
26515
26515
|
provider
|
|
@@ -26541,11 +26541,11 @@ const useCodeMirror = (params) => {
|
|
|
26541
26541
|
});
|
|
26542
26542
|
};
|
|
26543
26543
|
watch(
|
|
26544
|
-
() => toValue(params.content),
|
|
26544
|
+
() => toValue$1(params.content),
|
|
26545
26545
|
() => {
|
|
26546
26546
|
if (hasProvider(params))
|
|
26547
26547
|
return;
|
|
26548
|
-
setCodeMirrorContent(toValue(params.content));
|
|
26548
|
+
setCodeMirrorContent(toValue$1(params.content));
|
|
26549
26549
|
},
|
|
26550
26550
|
{ immediate: true }
|
|
26551
26551
|
);
|
|
@@ -26557,7 +26557,7 @@ const useCodeMirror = (params) => {
|
|
|
26557
26557
|
};
|
|
26558
26558
|
};
|
|
26559
26559
|
const syntaxHighlighting = {
|
|
26560
|
-
c: StreamLanguage.define(c),
|
|
26560
|
+
c: StreamLanguage.define(c$1),
|
|
26561
26561
|
clojure: StreamLanguage.define(clojure),
|
|
26562
26562
|
csharp: StreamLanguage.define(csharp),
|
|
26563
26563
|
css: css(),
|
|
@@ -26574,7 +26574,7 @@ const syntaxHighlighting = {
|
|
|
26574
26574
|
powershell: StreamLanguage.define(powerShell),
|
|
26575
26575
|
python: python(),
|
|
26576
26576
|
php: php(),
|
|
26577
|
-
r: StreamLanguage.define(r),
|
|
26577
|
+
r: StreamLanguage.define(r$1),
|
|
26578
26578
|
ruby: StreamLanguage.define(ruby),
|
|
26579
26579
|
rust: rust(),
|
|
26580
26580
|
shell: StreamLanguage.define(shell),
|
|
@@ -26678,12 +26678,6 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26678
26678
|
emits: ["change"],
|
|
26679
26679
|
setup(__props, { emit }) {
|
|
26680
26680
|
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
26681
|
const codeMirrorRef = ref(null);
|
|
26688
26682
|
useCodeMirror({
|
|
26689
26683
|
content: toRef(() => props.content),
|
|
@@ -26695,18 +26689,27 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26695
26689
|
disableEnter: toRef(() => props.disableEnter),
|
|
26696
26690
|
onChange: (v) => emit("change", v || ""),
|
|
26697
26691
|
codeMirrorRef,
|
|
26698
|
-
classes
|
|
26692
|
+
classes: ["codemirror"]
|
|
26699
26693
|
});
|
|
26700
26694
|
return (_ctx, _cache) => {
|
|
26701
26695
|
return openBlock(), createElementBlock("div", {
|
|
26702
26696
|
ref_key: "codeMirrorRef",
|
|
26703
26697
|
ref: codeMirrorRef,
|
|
26704
|
-
class: "
|
|
26698
|
+
class: "codemirror-container"
|
|
26705
26699
|
}, null, 512);
|
|
26706
26700
|
};
|
|
26707
26701
|
}
|
|
26708
26702
|
});
|
|
26709
|
-
const
|
|
26703
|
+
const CodeMirror_vue_vue_type_style_index_0_scoped_36be7a0d_lang = "";
|
|
26704
|
+
const CodeMirror_vue_vue_type_style_index_1_lang = "";
|
|
26705
|
+
const _export_sfc = (sfc, props) => {
|
|
26706
|
+
const target = sfc.__vccOpts || sfc;
|
|
26707
|
+
for (const [key, val] of props) {
|
|
26708
|
+
target[key] = val;
|
|
26709
|
+
}
|
|
26710
|
+
return target;
|
|
26711
|
+
};
|
|
26712
|
+
const CodeMirror = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-36be7a0d"]]);
|
|
26710
26713
|
const _hoisted_1$m = { class: "modal-layout" };
|
|
26711
26714
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
26712
26715
|
__name: "FlowModal",
|
|
@@ -26764,13 +26767,6 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
26764
26767
|
}
|
|
26765
26768
|
});
|
|
26766
26769
|
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
26770
|
const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e6a4a41b"]]);
|
|
26775
26771
|
const useModal = () => reactive({
|
|
26776
26772
|
open: false,
|
|
@@ -27181,151 +27177,6 @@ const replaceVariables = (url, variables2) => {
|
|
|
27181
27177
|
return acc.replace(`{${key}}`, value.toString());
|
|
27182
27178
|
}, url);
|
|
27183
27179
|
};
|
|
27184
|
-
/*
|
|
27185
|
-
object-assign
|
|
27186
|
-
(c) Sindre Sorhus
|
|
27187
|
-
@license MIT
|
|
27188
|
-
*/
|
|
27189
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
27190
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
27191
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
27192
|
-
function toObject(val) {
|
|
27193
|
-
if (val === null || val === void 0) {
|
|
27194
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
27195
|
-
}
|
|
27196
|
-
return Object(val);
|
|
27197
|
-
}
|
|
27198
|
-
function shouldUseNative() {
|
|
27199
|
-
try {
|
|
27200
|
-
if (!Object.assign) {
|
|
27201
|
-
return false;
|
|
27202
|
-
}
|
|
27203
|
-
var test1 = new String("abc");
|
|
27204
|
-
test1[5] = "de";
|
|
27205
|
-
if (Object.getOwnPropertyNames(test1)[0] === "5") {
|
|
27206
|
-
return false;
|
|
27207
|
-
}
|
|
27208
|
-
var test2 = {};
|
|
27209
|
-
for (var i = 0; i < 10; i++) {
|
|
27210
|
-
test2["_" + String.fromCharCode(i)] = i;
|
|
27211
|
-
}
|
|
27212
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
|
|
27213
|
-
return test2[n];
|
|
27214
|
-
});
|
|
27215
|
-
if (order2.join("") !== "0123456789") {
|
|
27216
|
-
return false;
|
|
27217
|
-
}
|
|
27218
|
-
var test3 = {};
|
|
27219
|
-
"abcdefghijklmnopqrst".split("").forEach(function(letter) {
|
|
27220
|
-
test3[letter] = letter;
|
|
27221
|
-
});
|
|
27222
|
-
if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
|
|
27223
|
-
return false;
|
|
27224
|
-
}
|
|
27225
|
-
return true;
|
|
27226
|
-
} catch (err) {
|
|
27227
|
-
return false;
|
|
27228
|
-
}
|
|
27229
|
-
}
|
|
27230
|
-
shouldUseNative() ? Object.assign : function(target, source) {
|
|
27231
|
-
var from2;
|
|
27232
|
-
var to = toObject(target);
|
|
27233
|
-
var symbols;
|
|
27234
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
27235
|
-
from2 = Object(arguments[s]);
|
|
27236
|
-
for (var key in from2) {
|
|
27237
|
-
if (hasOwnProperty.call(from2, key)) {
|
|
27238
|
-
to[key] = from2[key];
|
|
27239
|
-
}
|
|
27240
|
-
}
|
|
27241
|
-
if (getOwnPropertySymbols) {
|
|
27242
|
-
symbols = getOwnPropertySymbols(from2);
|
|
27243
|
-
for (var i = 0; i < symbols.length; i++) {
|
|
27244
|
-
if (propIsEnumerable.call(from2, symbols[i])) {
|
|
27245
|
-
to[symbols[i]] = from2[symbols[i]];
|
|
27246
|
-
}
|
|
27247
|
-
}
|
|
27248
|
-
}
|
|
27249
|
-
}
|
|
27250
|
-
return to;
|
|
27251
|
-
};
|
|
27252
|
-
var vary$1 = { exports: {} };
|
|
27253
|
-
/*!
|
|
27254
|
-
* vary
|
|
27255
|
-
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|
27256
|
-
* MIT Licensed
|
|
27257
|
-
*/
|
|
27258
|
-
vary$1.exports = vary;
|
|
27259
|
-
vary$1.exports.append = append;
|
|
27260
|
-
var FIELD_NAME_REGEXP = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
27261
|
-
function append(header2, field) {
|
|
27262
|
-
if (typeof header2 !== "string") {
|
|
27263
|
-
throw new TypeError("header argument is required");
|
|
27264
|
-
}
|
|
27265
|
-
if (!field) {
|
|
27266
|
-
throw new TypeError("field argument is required");
|
|
27267
|
-
}
|
|
27268
|
-
var fields = !Array.isArray(field) ? parse(String(field)) : field;
|
|
27269
|
-
for (var j = 0; j < fields.length; j++) {
|
|
27270
|
-
if (!FIELD_NAME_REGEXP.test(fields[j])) {
|
|
27271
|
-
throw new TypeError("field argument contains an invalid header name");
|
|
27272
|
-
}
|
|
27273
|
-
}
|
|
27274
|
-
if (header2 === "*") {
|
|
27275
|
-
return header2;
|
|
27276
|
-
}
|
|
27277
|
-
var val = header2;
|
|
27278
|
-
var vals = parse(header2.toLowerCase());
|
|
27279
|
-
if (fields.indexOf("*") !== -1 || vals.indexOf("*") !== -1) {
|
|
27280
|
-
return "*";
|
|
27281
|
-
}
|
|
27282
|
-
for (var i = 0; i < fields.length; i++) {
|
|
27283
|
-
var fld = fields[i].toLowerCase();
|
|
27284
|
-
if (vals.indexOf(fld) === -1) {
|
|
27285
|
-
vals.push(fld);
|
|
27286
|
-
val = val ? val + ", " + fields[i] : fields[i];
|
|
27287
|
-
}
|
|
27288
|
-
}
|
|
27289
|
-
return val;
|
|
27290
|
-
}
|
|
27291
|
-
function parse(header2) {
|
|
27292
|
-
var end = 0;
|
|
27293
|
-
var list2 = [];
|
|
27294
|
-
var start2 = 0;
|
|
27295
|
-
for (var i = 0, len = header2.length; i < len; i++) {
|
|
27296
|
-
switch (header2.charCodeAt(i)) {
|
|
27297
|
-
case 32:
|
|
27298
|
-
if (start2 === end) {
|
|
27299
|
-
start2 = end = i + 1;
|
|
27300
|
-
}
|
|
27301
|
-
break;
|
|
27302
|
-
case 44:
|
|
27303
|
-
list2.push(header2.substring(start2, end));
|
|
27304
|
-
start2 = end = i + 1;
|
|
27305
|
-
break;
|
|
27306
|
-
default:
|
|
27307
|
-
end = i + 1;
|
|
27308
|
-
break;
|
|
27309
|
-
}
|
|
27310
|
-
}
|
|
27311
|
-
list2.push(header2.substring(start2, end));
|
|
27312
|
-
return list2;
|
|
27313
|
-
}
|
|
27314
|
-
function vary(res, field) {
|
|
27315
|
-
if (!res || !res.getHeader || !res.setHeader) {
|
|
27316
|
-
throw new TypeError("res argument is required");
|
|
27317
|
-
}
|
|
27318
|
-
var val = res.getHeader("Vary") || "";
|
|
27319
|
-
var header2 = Array.isArray(val) ? val.join(", ") : String(val);
|
|
27320
|
-
if (val = append(header2, field)) {
|
|
27321
|
-
res.setHeader("Vary", val);
|
|
27322
|
-
}
|
|
27323
|
-
}
|
|
27324
|
-
var ProxyHeader = /* @__PURE__ */ ((ProxyHeader2) => {
|
|
27325
|
-
ProxyHeader2["StatusCode"] = "x-scalar-api-client-response-status-code";
|
|
27326
|
-
ProxyHeader2["StatusText"] = "x-scalar-api-client-response-status-text";
|
|
27327
|
-
return ProxyHeader2;
|
|
27328
|
-
})(ProxyHeader || {});
|
|
27329
27180
|
async function sendRequest(request, proxyUrl) {
|
|
27330
27181
|
var _a2;
|
|
27331
27182
|
const method = normalizeRequestMethod(request.type);
|
|
@@ -27392,14 +27243,12 @@ async function sendRequest(request, proxyUrl) {
|
|
|
27392
27243
|
const axiosRequestConfig = proxyUrl ? {
|
|
27393
27244
|
method: "POST",
|
|
27394
27245
|
url: proxyUrl,
|
|
27395
|
-
data: requestConfig
|
|
27396
|
-
responseType: "blob"
|
|
27246
|
+
data: requestConfig
|
|
27397
27247
|
} : {
|
|
27398
27248
|
method: requestConfig.method,
|
|
27399
27249
|
url: requestConfig.url,
|
|
27400
27250
|
headers: requestConfig.headers,
|
|
27401
|
-
data: requestConfig.data
|
|
27402
|
-
responseType: "blob"
|
|
27251
|
+
data: requestConfig.data
|
|
27403
27252
|
};
|
|
27404
27253
|
if (headers.cookies) {
|
|
27405
27254
|
axiosRequestConfig.withCredentials = true;
|
|
@@ -27409,44 +27258,28 @@ async function sendRequest(request, proxyUrl) {
|
|
|
27409
27258
|
} else {
|
|
27410
27259
|
console.info(`${requestConfig.method} ${requestConfig.url}`);
|
|
27411
27260
|
}
|
|
27412
|
-
const response = await axios(axiosRequestConfig).then(
|
|
27413
|
-
const blob = result.data;
|
|
27414
|
-
const data = blob.type === "application/json" ? await blob.text() : blob;
|
|
27261
|
+
const response = await axios(axiosRequestConfig).then((result) => {
|
|
27415
27262
|
if (proxyUrl) {
|
|
27416
|
-
const proxyHeaders = Object.values(ProxyHeader);
|
|
27417
|
-
const filtered = Object.fromEntries(
|
|
27418
|
-
Object.entries(result.headers).filter(
|
|
27419
|
-
([key]) => !proxyHeaders.includes(key)
|
|
27420
|
-
)
|
|
27421
|
-
);
|
|
27422
27263
|
return {
|
|
27423
|
-
...result,
|
|
27424
|
-
data,
|
|
27425
|
-
headers: filtered,
|
|
27426
|
-
// Pull proxied info out of the headers
|
|
27427
|
-
statusCode: result.headers[ProxyHeader.StatusCode],
|
|
27428
|
-
statusText: result.headers[ProxyHeader.StatusText],
|
|
27264
|
+
...result.data,
|
|
27429
27265
|
error: false
|
|
27430
27266
|
};
|
|
27431
27267
|
}
|
|
27432
27268
|
return {
|
|
27433
27269
|
...result,
|
|
27434
27270
|
statusCode: result.status,
|
|
27435
|
-
data,
|
|
27271
|
+
data: JSON.stringify(result.data),
|
|
27436
27272
|
error: false
|
|
27437
27273
|
};
|
|
27438
|
-
}).catch(
|
|
27274
|
+
}).catch((error) => {
|
|
27439
27275
|
const { response: errorResponse } = error;
|
|
27440
|
-
const blob = errorResponse.data;
|
|
27441
|
-
const data = blob.type === "application/json" ? await blob.text() : blob;
|
|
27442
27276
|
return {
|
|
27443
27277
|
headers: {
|
|
27444
|
-
"content-type": "application/json; charset=utf-8"
|
|
27445
|
-
...errorResponse["headers"]
|
|
27278
|
+
"content-type": "application/json; charset=utf-8"
|
|
27446
27279
|
},
|
|
27447
27280
|
...errorResponse,
|
|
27448
27281
|
statusCode: (errorResponse == null ? void 0 : errorResponse.status) ?? 0,
|
|
27449
|
-
data: data ??
|
|
27282
|
+
data: JSON.stringify((errorResponse == null ? void 0 : errorResponse.data) ?? { error: error.code })
|
|
27450
27283
|
};
|
|
27451
27284
|
});
|
|
27452
27285
|
return {
|
|
@@ -27466,7 +27299,7 @@ async function sendRequest(request, proxyUrl) {
|
|
|
27466
27299
|
}
|
|
27467
27300
|
const _hoisted_1$l = { class: "navtable-item-40 navtable-item-request" };
|
|
27468
27301
|
const _hoisted_2$f = { class: "navtable-item-40 navtable-item-response" };
|
|
27469
|
-
const _hoisted_3$
|
|
27302
|
+
const _hoisted_3$a = { class: "navtable-item-20 navtable-item-time" };
|
|
27470
27303
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
27471
27304
|
__name: "RequestHistoryItem",
|
|
27472
27305
|
props: {
|
|
@@ -27478,8 +27311,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
27478
27311
|
const { requestHistory: requestHistory2, activeRequestId: activeRequestId2, setActiveResponse: setActiveResponse2 } = useRequestStore();
|
|
27479
27312
|
const getContentLength = (response) => {
|
|
27480
27313
|
var _a2;
|
|
27481
|
-
if ((_a2 = response == null ? void 0 : response.headers) == null ? void 0 : _a2["
|
|
27482
|
-
return prettyBytes(
|
|
27314
|
+
if ((_a2 = response == null ? void 0 : response.headers) == null ? void 0 : _a2["X-API-Client-Content-Length"]) {
|
|
27315
|
+
return prettyBytes(
|
|
27316
|
+
parseFloat(response.headers["X-API-Client-Content-Length"])
|
|
27317
|
+
);
|
|
27318
|
+
}
|
|
27483
27319
|
return prettyBytes(0);
|
|
27484
27320
|
};
|
|
27485
27321
|
return (_ctx, _cache) => {
|
|
@@ -27506,18 +27342,20 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
27506
27342
|
}, toDisplayString(unref(requestHistory2)[_ctx.history].response.statusCode), 3),
|
|
27507
27343
|
createElementVNode("span", null, toDisplayString(getContentLength(unref(requestHistory2)[_ctx.history].response)), 1)
|
|
27508
27344
|
]),
|
|
27509
|
-
createElementVNode("div", _hoisted_3$
|
|
27345
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
27510
27346
|
createElementVNode("span", null, toDisplayString(unref(timeAgo).format(unref(requestHistory2)[_ctx.history].sentTime)), 1)
|
|
27511
27347
|
])
|
|
27512
27348
|
], 2);
|
|
27513
27349
|
};
|
|
27514
27350
|
}
|
|
27515
27351
|
});
|
|
27352
|
+
const RequestHistoryItem_vue_vue_type_style_index_0_scoped_bd526345_lang = "";
|
|
27353
|
+
const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-bd526345"]]);
|
|
27516
27354
|
const _hoisted_1$k = { class: "navigation-content-item" };
|
|
27517
27355
|
const _hoisted_2$e = { class: "navtable" };
|
|
27518
|
-
const _hoisted_3$
|
|
27519
|
-
const _hoisted_4$
|
|
27520
|
-
const _hoisted_5$
|
|
27356
|
+
const _hoisted_3$9 = { class: "navtable-table" };
|
|
27357
|
+
const _hoisted_4$7 = /* @__PURE__ */ createStaticVNode('<div class="navtable-item navtable-item__top"><div class="navtable-item-40"><label for="">Request</label></div><div class="navtable-item-40"><label for="">Response</label></div><div class="navtable-item-20"><label for="">TIME</label></div></div>', 1);
|
|
27358
|
+
const _hoisted_5$6 = { class: "navtable-radios" };
|
|
27521
27359
|
const _hoisted_6$5 = /* @__PURE__ */ createStaticVNode('<div class="navtable-mock"><div class="navtable-item"><div class="navtable-item-40"></div><div class="navtable-item-40"></div><div class="navtable-item-20"></div></div></div>', 1);
|
|
27522
27360
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
27523
27361
|
__name: "RequestHistory",
|
|
@@ -27527,11 +27365,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
27527
27365
|
return (_ctx, _cache) => {
|
|
27528
27366
|
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
27529
27367
|
createElementVNode("div", _hoisted_2$e, [
|
|
27530
|
-
createElementVNode("div", _hoisted_3$
|
|
27531
|
-
_hoisted_4$
|
|
27532
|
-
createElementVNode("div", _hoisted_5$
|
|
27368
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
27369
|
+
_hoisted_4$7,
|
|
27370
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
27533
27371
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(requestHistoryOrder2), (history) => {
|
|
27534
|
-
return openBlock(), createBlock(
|
|
27372
|
+
return openBlock(), createBlock(RequestHistoryItem, {
|
|
27535
27373
|
key: history,
|
|
27536
27374
|
history
|
|
27537
27375
|
}, null, 8, ["history"]);
|
|
@@ -27547,7 +27385,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
27547
27385
|
const RequestHistory_vue_vue_type_style_index_0_lang = "";
|
|
27548
27386
|
const _hoisted_1$j = { class: "request-method-select" };
|
|
27549
27387
|
const _hoisted_2$d = ["disabled", "value"];
|
|
27550
|
-
const _hoisted_3$
|
|
27388
|
+
const _hoisted_3$8 = ["value"];
|
|
27551
27389
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
27552
27390
|
__name: "RequestMethodSelect",
|
|
27553
27391
|
props: {
|
|
@@ -27586,7 +27424,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
27586
27424
|
return createElementVNode("option", {
|
|
27587
27425
|
key: validRequestMethod,
|
|
27588
27426
|
value: validRequestMethod.toLocaleLowerCase()
|
|
27589
|
-
}, toDisplayString(validRequestMethod), 9, _hoisted_3$
|
|
27427
|
+
}, toDisplayString(validRequestMethod), 9, _hoisted_3$8);
|
|
27590
27428
|
}), 64))
|
|
27591
27429
|
], 40, _hoisted_2$d)
|
|
27592
27430
|
]);
|
|
@@ -27595,15 +27433,15 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
27595
27433
|
});
|
|
27596
27434
|
const RequestMethodSelect_vue_vue_type_style_index_0_scoped_8e2122cd_lang = "";
|
|
27597
27435
|
const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-8e2122cd"]]);
|
|
27598
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
27436
|
+
const _withScopeId = (n) => (pushScopeId("data-v-929db0a9"), n = n(), popScopeId(), n);
|
|
27599
27437
|
const _hoisted_1$i = {
|
|
27600
27438
|
key: 0,
|
|
27601
27439
|
class: "loader"
|
|
27602
27440
|
};
|
|
27603
|
-
const _hoisted_2$c = { class: "
|
|
27604
|
-
const _hoisted_3$
|
|
27605
|
-
const _hoisted_4$
|
|
27606
|
-
const _hoisted_5$
|
|
27441
|
+
const _hoisted_2$c = { class: "url-form" };
|
|
27442
|
+
const _hoisted_3$7 = { class: "url-form-field" };
|
|
27443
|
+
const _hoisted_4$6 = ["disabled"];
|
|
27444
|
+
const _hoisted_5$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
27607
27445
|
fill: "none",
|
|
27608
27446
|
height: "48",
|
|
27609
27447
|
viewBox: "0 0 14 14",
|
|
@@ -27622,13 +27460,13 @@ const _hoisted_5$6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
27622
27460
|
], -1));
|
|
27623
27461
|
const _hoisted_6$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "Send Request", -1));
|
|
27624
27462
|
const _hoisted_7$4 = [
|
|
27625
|
-
_hoisted_5$
|
|
27463
|
+
_hoisted_5$5,
|
|
27626
27464
|
_hoisted_6$4
|
|
27627
27465
|
];
|
|
27628
|
-
const _hoisted_8$3 = { class: "
|
|
27466
|
+
const _hoisted_8$3 = { class: "address-bar-content" };
|
|
27629
27467
|
const _hoisted_9$3 = {
|
|
27630
27468
|
key: 0,
|
|
27631
|
-
class: "
|
|
27469
|
+
class: "history"
|
|
27632
27470
|
};
|
|
27633
27471
|
const _hoisted_10$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
27634
27472
|
fill: "none",
|
|
@@ -27725,17 +27563,17 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27725
27563
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
27726
27564
|
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$i)) : createCommentVNode("", true),
|
|
27727
27565
|
createElementVNode("div", {
|
|
27728
|
-
class: normalizeClass(["
|
|
27566
|
+
class: normalizeClass(["address-bar", { "address-bar--with-history": showHistory.value }])
|
|
27729
27567
|
}, [
|
|
27730
27568
|
createElementVNode("div", _hoisted_2$c, [
|
|
27731
|
-
createElementVNode("div", _hoisted_3$
|
|
27569
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
27732
27570
|
createVNode(RequestMethodSelect, {
|
|
27733
27571
|
readOnly: unref(readOnly2),
|
|
27734
27572
|
requestMethod: requestType.value,
|
|
27735
27573
|
onChange: handleRequestMethodChanged
|
|
27736
27574
|
}, null, 8, ["readOnly", "requestMethod"]),
|
|
27737
|
-
createVNode(unref(
|
|
27738
|
-
class: "
|
|
27575
|
+
createVNode(unref(CodeMirror), {
|
|
27576
|
+
class: "url-form-input",
|
|
27739
27577
|
content: formattedUrl.value,
|
|
27740
27578
|
disableEnter: "",
|
|
27741
27579
|
readOnly: unref(readOnly2),
|
|
@@ -27745,14 +27583,14 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27745
27583
|
}, null, 8, ["content", "readOnly"])
|
|
27746
27584
|
]),
|
|
27747
27585
|
createElementVNode("button", {
|
|
27748
|
-
class: "
|
|
27586
|
+
class: "send-button",
|
|
27749
27587
|
disabled: !formattedUrl.value.trim().length,
|
|
27750
27588
|
type: "submit",
|
|
27751
27589
|
onClick: send
|
|
27752
|
-
}, _hoisted_7$4, 8, _hoisted_4$
|
|
27590
|
+
}, _hoisted_7$4, 8, _hoisted_4$6)
|
|
27753
27591
|
]),
|
|
27754
27592
|
createElementVNode("div", {
|
|
27755
|
-
class: "
|
|
27593
|
+
class: "address-bar-close",
|
|
27756
27594
|
onClick: _cache[0] || (_cache[0] = ($event) => showHistory.value = false)
|
|
27757
27595
|
}),
|
|
27758
27596
|
createElementVNode("div", _hoisted_8$3, [
|
|
@@ -27772,7 +27610,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27772
27610
|
]),
|
|
27773
27611
|
unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
27774
27612
|
createElementVNode("div", {
|
|
27775
|
-
class: "
|
|
27613
|
+
class: "history-toggle",
|
|
27776
27614
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(historyModal).show())
|
|
27777
27615
|
}, [
|
|
27778
27616
|
_hoisted_10$2,
|
|
@@ -27784,8 +27622,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
27784
27622
|
};
|
|
27785
27623
|
}
|
|
27786
27624
|
});
|
|
27787
|
-
const
|
|
27788
|
-
const
|
|
27625
|
+
const AddressBar_vue_vue_type_style_index_0_lang = "";
|
|
27626
|
+
const AddressBar_vue_vue_type_style_index_1_scoped_929db0a9_lang = "";
|
|
27627
|
+
const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-929db0a9"]]);
|
|
27789
27628
|
const _hoisted_1$h = /* @__PURE__ */ createElementVNode("svg", {
|
|
27790
27629
|
class: "scalar-api-client__toggle__icon",
|
|
27791
27630
|
height: "10",
|
|
@@ -27800,11 +27639,11 @@ const _hoisted_1$h = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
27800
27639
|
})
|
|
27801
27640
|
], -1);
|
|
27802
27641
|
const _hoisted_2$b = { class: "scalar-api-client__item__title" };
|
|
27803
|
-
const _hoisted_3$
|
|
27642
|
+
const _hoisted_3$6 = {
|
|
27804
27643
|
key: 0,
|
|
27805
27644
|
class: "scalar-api-client__item__options"
|
|
27806
27645
|
};
|
|
27807
|
-
const _hoisted_4$
|
|
27646
|
+
const _hoisted_4$5 = { class: "scalar-api-client__item__content" };
|
|
27808
27647
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
27809
27648
|
__name: "CollapsibleSection",
|
|
27810
27649
|
props: {
|
|
@@ -27844,7 +27683,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
27844
27683
|
default: withCtx(() => [
|
|
27845
27684
|
_hoisted_1$h,
|
|
27846
27685
|
createElementVNode("span", _hoisted_2$b, toDisplayString(_ctx.title), 1),
|
|
27847
|
-
_ctx.$slots.options && open ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
27686
|
+
_ctx.$slots.options && open ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
27848
27687
|
renderSlot(_ctx.$slots, "options")
|
|
27849
27688
|
])) : createCommentVNode("", true)
|
|
27850
27689
|
]),
|
|
@@ -27852,7 +27691,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
27852
27691
|
}, 1536),
|
|
27853
27692
|
createVNode(unref(DisclosurePanel), null, {
|
|
27854
27693
|
default: withCtx(() => [
|
|
27855
|
-
createElementVNode("div", _hoisted_4$
|
|
27694
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
27856
27695
|
renderSlot(_ctx.$slots, "default")
|
|
27857
27696
|
])
|
|
27858
27697
|
]),
|
|
@@ -27879,15 +27718,15 @@ const _hoisted_1$g = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
27879
27718
|
})
|
|
27880
27719
|
], -1);
|
|
27881
27720
|
const _hoisted_2$a = ["disabled", "value"];
|
|
27882
|
-
const _hoisted_3$
|
|
27721
|
+
const _hoisted_3$5 = {
|
|
27883
27722
|
key: 0,
|
|
27884
27723
|
class: "scalar-api-client__empty-state"
|
|
27885
27724
|
};
|
|
27886
|
-
const _hoisted_4$
|
|
27725
|
+
const _hoisted_4$4 = {
|
|
27887
27726
|
key: 1,
|
|
27888
27727
|
class: "authentication-form"
|
|
27889
27728
|
};
|
|
27890
|
-
const _hoisted_5$
|
|
27729
|
+
const _hoisted_5$4 = { class: "input input__half" };
|
|
27891
27730
|
const _hoisted_6$3 = /* @__PURE__ */ createElementVNode("label", { for: "username" }, "Username", -1);
|
|
27892
27731
|
const _hoisted_7$3 = { class: "input input__half" };
|
|
27893
27732
|
const _hoisted_8$2 = /* @__PURE__ */ createElementVNode("label", { for: "password" }, "Password", -1);
|
|
@@ -27906,8 +27745,8 @@ const _hoisted_20$1 = /* @__PURE__ */ createElementVNode("label", { for: "genera
|
|
|
27906
27745
|
const _hoisted_21$1 = { class: "input" };
|
|
27907
27746
|
const _hoisted_22$1 = /* @__PURE__ */ createElementVNode("label", { for: "discoveryurl" }, "OIDC Discovery URL", -1);
|
|
27908
27747
|
const _hoisted_23$1 = { class: "input" };
|
|
27909
|
-
const _hoisted_24 = /* @__PURE__ */ createElementVNode("label", { for: "authurl" }, "Auth URL", -1);
|
|
27910
|
-
const _hoisted_25 = { class: "input" };
|
|
27748
|
+
const _hoisted_24$1 = /* @__PURE__ */ createElementVNode("label", { for: "authurl" }, "Auth URL", -1);
|
|
27749
|
+
const _hoisted_25$1 = { class: "input" };
|
|
27911
27750
|
const _hoisted_26 = /* @__PURE__ */ createElementVNode("label", { for: "accesstoken" }, "Access Token URL", -1);
|
|
27912
27751
|
const _hoisted_27 = { class: "input input__half" };
|
|
27913
27752
|
const _hoisted_28 = /* @__PURE__ */ createElementVNode("label", { for: "clientid" }, "Client ID", -1);
|
|
@@ -27987,9 +27826,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
27987
27826
|
])
|
|
27988
27827
|
]),
|
|
27989
27828
|
default: withCtx(() => [
|
|
27990
|
-
unref(authState2).type === "none" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
27829
|
+
unref(authState2).type === "none" ? (openBlock(), createElementBlock("div", _hoisted_3$5, "No Authentication")) : (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
27991
27830
|
unref(authState2).type === "basic" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
27992
|
-
createElementVNode("div", _hoisted_5$
|
|
27831
|
+
createElementVNode("div", _hoisted_5$4, [
|
|
27993
27832
|
_hoisted_6$3,
|
|
27994
27833
|
withDirectives(createElementVNode("input", {
|
|
27995
27834
|
id: "username",
|
|
@@ -28090,7 +27929,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
28090
27929
|
])
|
|
28091
27930
|
]),
|
|
28092
27931
|
createElementVNode("div", _hoisted_23$1, [
|
|
28093
|
-
_hoisted_24,
|
|
27932
|
+
_hoisted_24$1,
|
|
28094
27933
|
withDirectives(createElementVNode("input", {
|
|
28095
27934
|
id: "authurl",
|
|
28096
27935
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(authState2).oauthTwo.authURL = $event),
|
|
@@ -28102,7 +27941,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
28102
27941
|
[vModelText, unref(authState2).oauthTwo.authURL]
|
|
28103
27942
|
])
|
|
28104
27943
|
]),
|
|
28105
|
-
createElementVNode("div", _hoisted_25, [
|
|
27944
|
+
createElementVNode("div", _hoisted_25$1, [
|
|
28106
27945
|
_hoisted_26,
|
|
28107
27946
|
withDirectives(createElementVNode("input", {
|
|
28108
27947
|
id: "accesstoken",
|
|
@@ -28186,15 +28025,2766 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
28186
28025
|
};
|
|
28187
28026
|
}
|
|
28188
28027
|
});
|
|
28028
|
+
function r(e) {
|
|
28029
|
+
var t2, f, n = "";
|
|
28030
|
+
if ("string" == typeof e || "number" == typeof e)
|
|
28031
|
+
n += e;
|
|
28032
|
+
else if ("object" == typeof e)
|
|
28033
|
+
if (Array.isArray(e))
|
|
28034
|
+
for (t2 = 0; t2 < e.length; t2++)
|
|
28035
|
+
e[t2] && (f = r(e[t2])) && (n && (n += " "), n += f);
|
|
28036
|
+
else
|
|
28037
|
+
for (t2 in e)
|
|
28038
|
+
e[t2] && (n && (n += " "), n += t2);
|
|
28039
|
+
return n;
|
|
28040
|
+
}
|
|
28041
|
+
function clsx() {
|
|
28042
|
+
for (var e, t2, f = 0, n = ""; f < arguments.length; )
|
|
28043
|
+
(e = arguments[f++]) && (t2 = r(e)) && (n && (n += " "), n += t2);
|
|
28044
|
+
return n;
|
|
28045
|
+
}
|
|
28046
|
+
const falsyToString = (value) => typeof value === "boolean" ? "".concat(value) : value === 0 ? "0" : value;
|
|
28047
|
+
const defineConfig = (options) => {
|
|
28048
|
+
const cx1 = function() {
|
|
28049
|
+
for (var _len = arguments.length, inputs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
28050
|
+
inputs[_key] = arguments[_key];
|
|
28051
|
+
}
|
|
28052
|
+
var ref2, ref1;
|
|
28053
|
+
if (typeof (options === null || options === void 0 ? void 0 : (ref2 = options.hooks) === null || ref2 === void 0 ? void 0 : ref2["cx:done"]) !== "undefined")
|
|
28054
|
+
return options === null || options === void 0 ? void 0 : options.hooks["cx:done"](clsx(inputs));
|
|
28055
|
+
if (typeof (options === null || options === void 0 ? void 0 : (ref1 = options.hooks) === null || ref1 === void 0 ? void 0 : ref1.onComplete) !== "undefined")
|
|
28056
|
+
return options === null || options === void 0 ? void 0 : options.hooks.onComplete(clsx(inputs));
|
|
28057
|
+
return clsx(inputs);
|
|
28058
|
+
};
|
|
28059
|
+
const cva1 = (config) => {
|
|
28060
|
+
return (props) => {
|
|
28061
|
+
var ref2;
|
|
28062
|
+
if ((config === null || config === void 0 ? void 0 : config.variants) == null)
|
|
28063
|
+
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);
|
|
28064
|
+
const { variants, defaultVariants } = config;
|
|
28065
|
+
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
28066
|
+
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
28067
|
+
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
28068
|
+
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
28069
|
+
return variants[variant][variantKey];
|
|
28070
|
+
});
|
|
28071
|
+
const defaultsAndProps = { ...defaultVariants, ...props && Object.entries(props).reduce((acc, param) => {
|
|
28072
|
+
let [key, value] = param;
|
|
28073
|
+
return typeof value === "undefined" ? acc : { ...acc, [key]: value };
|
|
28074
|
+
}, {}) };
|
|
28075
|
+
const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (ref2 = config.compoundVariants) === null || ref2 === void 0 ? void 0 : ref2.reduce((acc, param1) => {
|
|
28076
|
+
let { class: cvClass, className: cvClassName, ...cvConfig } = param1;
|
|
28077
|
+
return Object.entries(cvConfig).every((param) => {
|
|
28078
|
+
let [cvKey, cvSelector] = param;
|
|
28079
|
+
const selector = defaultsAndProps[cvKey];
|
|
28080
|
+
return Array.isArray(cvSelector) ? cvSelector.includes(selector) : selector === cvSelector;
|
|
28081
|
+
}) ? [...acc, cvClass, cvClassName] : acc;
|
|
28082
|
+
}, []);
|
|
28083
|
+
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);
|
|
28084
|
+
};
|
|
28085
|
+
};
|
|
28086
|
+
const compose1 = function() {
|
|
28087
|
+
for (var _len = arguments.length, components = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
28088
|
+
components[_key] = arguments[_key];
|
|
28089
|
+
}
|
|
28090
|
+
return (props) => {
|
|
28091
|
+
const propsWithoutClass = Object.fromEntries(Object.entries(props || {}).filter((param) => {
|
|
28092
|
+
let [key] = param;
|
|
28093
|
+
return !["class", "className"].includes(key);
|
|
28094
|
+
}));
|
|
28095
|
+
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);
|
|
28096
|
+
};
|
|
28097
|
+
};
|
|
28098
|
+
return { compose: compose1, cva: cva1, cx: cx1 };
|
|
28099
|
+
};
|
|
28100
|
+
const CLASS_PART_SEPARATOR = "-";
|
|
28101
|
+
function createClassUtils(config) {
|
|
28102
|
+
const classMap = createClassMap(config);
|
|
28103
|
+
const {
|
|
28104
|
+
conflictingClassGroups,
|
|
28105
|
+
conflictingClassGroupModifiers
|
|
28106
|
+
} = config;
|
|
28107
|
+
function getClassGroupId(className) {
|
|
28108
|
+
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
28109
|
+
if (classParts[0] === "" && classParts.length !== 1) {
|
|
28110
|
+
classParts.shift();
|
|
28111
|
+
}
|
|
28112
|
+
return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
|
|
28113
|
+
}
|
|
28114
|
+
function getConflictingClassGroupIds(classGroupId, hasPostfixModifier) {
|
|
28115
|
+
const conflicts = conflictingClassGroups[classGroupId] || [];
|
|
28116
|
+
if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
|
|
28117
|
+
return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
|
|
28118
|
+
}
|
|
28119
|
+
return conflicts;
|
|
28120
|
+
}
|
|
28121
|
+
return {
|
|
28122
|
+
getClassGroupId,
|
|
28123
|
+
getConflictingClassGroupIds
|
|
28124
|
+
};
|
|
28125
|
+
}
|
|
28126
|
+
function getGroupRecursive(classParts, classPartObject) {
|
|
28127
|
+
var _a2;
|
|
28128
|
+
if (classParts.length === 0) {
|
|
28129
|
+
return classPartObject.classGroupId;
|
|
28130
|
+
}
|
|
28131
|
+
const currentClassPart = classParts[0];
|
|
28132
|
+
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
28133
|
+
const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
|
|
28134
|
+
if (classGroupFromNextClassPart) {
|
|
28135
|
+
return classGroupFromNextClassPart;
|
|
28136
|
+
}
|
|
28137
|
+
if (classPartObject.validators.length === 0) {
|
|
28138
|
+
return void 0;
|
|
28139
|
+
}
|
|
28140
|
+
const classRest = classParts.join(CLASS_PART_SEPARATOR);
|
|
28141
|
+
return (_a2 = classPartObject.validators.find(({
|
|
28142
|
+
validator
|
|
28143
|
+
}) => validator(classRest))) == null ? void 0 : _a2.classGroupId;
|
|
28144
|
+
}
|
|
28145
|
+
const arbitraryPropertyRegex = /^\[(.+)\]$/;
|
|
28146
|
+
function getGroupIdForArbitraryProperty(className) {
|
|
28147
|
+
if (arbitraryPropertyRegex.test(className)) {
|
|
28148
|
+
const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
|
|
28149
|
+
const property2 = arbitraryPropertyClassName == null ? void 0 : arbitraryPropertyClassName.substring(0, arbitraryPropertyClassName.indexOf(":"));
|
|
28150
|
+
if (property2) {
|
|
28151
|
+
return "arbitrary.." + property2;
|
|
28152
|
+
}
|
|
28153
|
+
}
|
|
28154
|
+
}
|
|
28155
|
+
function createClassMap(config) {
|
|
28156
|
+
const {
|
|
28157
|
+
theme: theme2,
|
|
28158
|
+
prefix
|
|
28159
|
+
} = config;
|
|
28160
|
+
const classMap = {
|
|
28161
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
28162
|
+
validators: []
|
|
28163
|
+
};
|
|
28164
|
+
const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
|
|
28165
|
+
prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
|
|
28166
|
+
processClassesRecursively(classGroup, classMap, classGroupId, theme2);
|
|
28167
|
+
});
|
|
28168
|
+
return classMap;
|
|
28169
|
+
}
|
|
28170
|
+
function processClassesRecursively(classGroup, classPartObject, classGroupId, theme2) {
|
|
28171
|
+
classGroup.forEach((classDefinition) => {
|
|
28172
|
+
if (typeof classDefinition === "string") {
|
|
28173
|
+
const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
|
|
28174
|
+
classPartObjectToEdit.classGroupId = classGroupId;
|
|
28175
|
+
return;
|
|
28176
|
+
}
|
|
28177
|
+
if (typeof classDefinition === "function") {
|
|
28178
|
+
if (isThemeGetter(classDefinition)) {
|
|
28179
|
+
processClassesRecursively(classDefinition(theme2), classPartObject, classGroupId, theme2);
|
|
28180
|
+
return;
|
|
28181
|
+
}
|
|
28182
|
+
classPartObject.validators.push({
|
|
28183
|
+
validator: classDefinition,
|
|
28184
|
+
classGroupId
|
|
28185
|
+
});
|
|
28186
|
+
return;
|
|
28187
|
+
}
|
|
28188
|
+
Object.entries(classDefinition).forEach(([key, classGroup2]) => {
|
|
28189
|
+
processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme2);
|
|
28190
|
+
});
|
|
28191
|
+
});
|
|
28192
|
+
}
|
|
28193
|
+
function getPart(classPartObject, path) {
|
|
28194
|
+
let currentClassPartObject = classPartObject;
|
|
28195
|
+
path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
|
|
28196
|
+
if (!currentClassPartObject.nextPart.has(pathPart)) {
|
|
28197
|
+
currentClassPartObject.nextPart.set(pathPart, {
|
|
28198
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
28199
|
+
validators: []
|
|
28200
|
+
});
|
|
28201
|
+
}
|
|
28202
|
+
currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
|
|
28203
|
+
});
|
|
28204
|
+
return currentClassPartObject;
|
|
28205
|
+
}
|
|
28206
|
+
function isThemeGetter(func) {
|
|
28207
|
+
return func.isThemeGetter;
|
|
28208
|
+
}
|
|
28209
|
+
function getPrefixedClassGroupEntries(classGroupEntries, prefix) {
|
|
28210
|
+
if (!prefix) {
|
|
28211
|
+
return classGroupEntries;
|
|
28212
|
+
}
|
|
28213
|
+
return classGroupEntries.map(([classGroupId, classGroup]) => {
|
|
28214
|
+
const prefixedClassGroup = classGroup.map((classDefinition) => {
|
|
28215
|
+
if (typeof classDefinition === "string") {
|
|
28216
|
+
return prefix + classDefinition;
|
|
28217
|
+
}
|
|
28218
|
+
if (typeof classDefinition === "object") {
|
|
28219
|
+
return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
|
|
28220
|
+
}
|
|
28221
|
+
return classDefinition;
|
|
28222
|
+
});
|
|
28223
|
+
return [classGroupId, prefixedClassGroup];
|
|
28224
|
+
});
|
|
28225
|
+
}
|
|
28226
|
+
function createLruCache(maxCacheSize) {
|
|
28227
|
+
if (maxCacheSize < 1) {
|
|
28228
|
+
return {
|
|
28229
|
+
get: () => void 0,
|
|
28230
|
+
set: () => {
|
|
28231
|
+
}
|
|
28232
|
+
};
|
|
28233
|
+
}
|
|
28234
|
+
let cacheSize = 0;
|
|
28235
|
+
let cache2 = /* @__PURE__ */ new Map();
|
|
28236
|
+
let previousCache = /* @__PURE__ */ new Map();
|
|
28237
|
+
function update(key, value) {
|
|
28238
|
+
cache2.set(key, value);
|
|
28239
|
+
cacheSize++;
|
|
28240
|
+
if (cacheSize > maxCacheSize) {
|
|
28241
|
+
cacheSize = 0;
|
|
28242
|
+
previousCache = cache2;
|
|
28243
|
+
cache2 = /* @__PURE__ */ new Map();
|
|
28244
|
+
}
|
|
28245
|
+
}
|
|
28246
|
+
return {
|
|
28247
|
+
get(key) {
|
|
28248
|
+
let value = cache2.get(key);
|
|
28249
|
+
if (value !== void 0) {
|
|
28250
|
+
return value;
|
|
28251
|
+
}
|
|
28252
|
+
if ((value = previousCache.get(key)) !== void 0) {
|
|
28253
|
+
update(key, value);
|
|
28254
|
+
return value;
|
|
28255
|
+
}
|
|
28256
|
+
},
|
|
28257
|
+
set(key, value) {
|
|
28258
|
+
if (cache2.has(key)) {
|
|
28259
|
+
cache2.set(key, value);
|
|
28260
|
+
} else {
|
|
28261
|
+
update(key, value);
|
|
28262
|
+
}
|
|
28263
|
+
}
|
|
28264
|
+
};
|
|
28265
|
+
}
|
|
28266
|
+
const IMPORTANT_MODIFIER = "!";
|
|
28267
|
+
function createSplitModifiers(config) {
|
|
28268
|
+
const separator = config.separator;
|
|
28269
|
+
const isSeparatorSingleCharacter = separator.length === 1;
|
|
28270
|
+
const firstSeparatorCharacter = separator[0];
|
|
28271
|
+
const separatorLength = separator.length;
|
|
28272
|
+
return function splitModifiers(className) {
|
|
28273
|
+
const modifiers2 = [];
|
|
28274
|
+
let bracketDepth = 0;
|
|
28275
|
+
let modifierStart = 0;
|
|
28276
|
+
let postfixModifierPosition;
|
|
28277
|
+
for (let index = 0; index < className.length; index++) {
|
|
28278
|
+
let currentCharacter = className[index];
|
|
28279
|
+
if (bracketDepth === 0) {
|
|
28280
|
+
if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
|
|
28281
|
+
modifiers2.push(className.slice(modifierStart, index));
|
|
28282
|
+
modifierStart = index + separatorLength;
|
|
28283
|
+
continue;
|
|
28284
|
+
}
|
|
28285
|
+
if (currentCharacter === "/") {
|
|
28286
|
+
postfixModifierPosition = index;
|
|
28287
|
+
continue;
|
|
28288
|
+
}
|
|
28289
|
+
}
|
|
28290
|
+
if (currentCharacter === "[") {
|
|
28291
|
+
bracketDepth++;
|
|
28292
|
+
} else if (currentCharacter === "]") {
|
|
28293
|
+
bracketDepth--;
|
|
28294
|
+
}
|
|
28295
|
+
}
|
|
28296
|
+
const baseClassNameWithImportantModifier = modifiers2.length === 0 ? className : className.substring(modifierStart);
|
|
28297
|
+
const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
|
|
28298
|
+
const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
|
|
28299
|
+
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
|
|
28300
|
+
return {
|
|
28301
|
+
modifiers: modifiers2,
|
|
28302
|
+
hasImportantModifier,
|
|
28303
|
+
baseClassName,
|
|
28304
|
+
maybePostfixModifierPosition
|
|
28305
|
+
};
|
|
28306
|
+
};
|
|
28307
|
+
}
|
|
28308
|
+
function sortModifiers(modifiers2) {
|
|
28309
|
+
if (modifiers2.length <= 1) {
|
|
28310
|
+
return modifiers2;
|
|
28311
|
+
}
|
|
28312
|
+
const sortedModifiers = [];
|
|
28313
|
+
let unsortedModifiers = [];
|
|
28314
|
+
modifiers2.forEach((modifier) => {
|
|
28315
|
+
const isArbitraryVariant = modifier[0] === "[";
|
|
28316
|
+
if (isArbitraryVariant) {
|
|
28317
|
+
sortedModifiers.push(...unsortedModifiers.sort(), modifier);
|
|
28318
|
+
unsortedModifiers = [];
|
|
28319
|
+
} else {
|
|
28320
|
+
unsortedModifiers.push(modifier);
|
|
28321
|
+
}
|
|
28322
|
+
});
|
|
28323
|
+
sortedModifiers.push(...unsortedModifiers.sort());
|
|
28324
|
+
return sortedModifiers;
|
|
28325
|
+
}
|
|
28326
|
+
function createConfigUtils(config) {
|
|
28327
|
+
return {
|
|
28328
|
+
cache: createLruCache(config.cacheSize),
|
|
28329
|
+
splitModifiers: createSplitModifiers(config),
|
|
28330
|
+
...createClassUtils(config)
|
|
28331
|
+
};
|
|
28332
|
+
}
|
|
28333
|
+
const SPLIT_CLASSES_REGEX = /\s+/;
|
|
28334
|
+
function mergeClassList(classList, configUtils) {
|
|
28335
|
+
const {
|
|
28336
|
+
splitModifiers,
|
|
28337
|
+
getClassGroupId,
|
|
28338
|
+
getConflictingClassGroupIds
|
|
28339
|
+
} = configUtils;
|
|
28340
|
+
const classGroupsInConflict = /* @__PURE__ */ new Set();
|
|
28341
|
+
return classList.trim().split(SPLIT_CLASSES_REGEX).map((originalClassName) => {
|
|
28342
|
+
const {
|
|
28343
|
+
modifiers: modifiers2,
|
|
28344
|
+
hasImportantModifier,
|
|
28345
|
+
baseClassName,
|
|
28346
|
+
maybePostfixModifierPosition
|
|
28347
|
+
} = splitModifiers(originalClassName);
|
|
28348
|
+
let classGroupId = getClassGroupId(maybePostfixModifierPosition ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
28349
|
+
let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
|
|
28350
|
+
if (!classGroupId) {
|
|
28351
|
+
if (!maybePostfixModifierPosition) {
|
|
28352
|
+
return {
|
|
28353
|
+
isTailwindClass: false,
|
|
28354
|
+
originalClassName
|
|
28355
|
+
};
|
|
28356
|
+
}
|
|
28357
|
+
classGroupId = getClassGroupId(baseClassName);
|
|
28358
|
+
if (!classGroupId) {
|
|
28359
|
+
return {
|
|
28360
|
+
isTailwindClass: false,
|
|
28361
|
+
originalClassName
|
|
28362
|
+
};
|
|
28363
|
+
}
|
|
28364
|
+
hasPostfixModifier = false;
|
|
28365
|
+
}
|
|
28366
|
+
const variantModifier = sortModifiers(modifiers2).join(":");
|
|
28367
|
+
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
28368
|
+
return {
|
|
28369
|
+
isTailwindClass: true,
|
|
28370
|
+
modifierId,
|
|
28371
|
+
classGroupId,
|
|
28372
|
+
originalClassName,
|
|
28373
|
+
hasPostfixModifier
|
|
28374
|
+
};
|
|
28375
|
+
}).reverse().filter((parsed) => {
|
|
28376
|
+
if (!parsed.isTailwindClass) {
|
|
28377
|
+
return true;
|
|
28378
|
+
}
|
|
28379
|
+
const {
|
|
28380
|
+
modifierId,
|
|
28381
|
+
classGroupId,
|
|
28382
|
+
hasPostfixModifier
|
|
28383
|
+
} = parsed;
|
|
28384
|
+
const classId = modifierId + classGroupId;
|
|
28385
|
+
if (classGroupsInConflict.has(classId)) {
|
|
28386
|
+
return false;
|
|
28387
|
+
}
|
|
28388
|
+
classGroupsInConflict.add(classId);
|
|
28389
|
+
getConflictingClassGroupIds(classGroupId, hasPostfixModifier).forEach((group) => classGroupsInConflict.add(modifierId + group));
|
|
28390
|
+
return true;
|
|
28391
|
+
}).reverse().map((parsed) => parsed.originalClassName).join(" ");
|
|
28392
|
+
}
|
|
28393
|
+
function twJoin() {
|
|
28394
|
+
let index = 0;
|
|
28395
|
+
let argument;
|
|
28396
|
+
let resolvedValue;
|
|
28397
|
+
let string2 = "";
|
|
28398
|
+
while (index < arguments.length) {
|
|
28399
|
+
if (argument = arguments[index++]) {
|
|
28400
|
+
if (resolvedValue = toValue(argument)) {
|
|
28401
|
+
string2 && (string2 += " ");
|
|
28402
|
+
string2 += resolvedValue;
|
|
28403
|
+
}
|
|
28404
|
+
}
|
|
28405
|
+
}
|
|
28406
|
+
return string2;
|
|
28407
|
+
}
|
|
28408
|
+
function toValue(mix) {
|
|
28409
|
+
if (typeof mix === "string") {
|
|
28410
|
+
return mix;
|
|
28411
|
+
}
|
|
28412
|
+
let resolvedValue;
|
|
28413
|
+
let string2 = "";
|
|
28414
|
+
for (let k = 0; k < mix.length; k++) {
|
|
28415
|
+
if (mix[k]) {
|
|
28416
|
+
if (resolvedValue = toValue(mix[k])) {
|
|
28417
|
+
string2 && (string2 += " ");
|
|
28418
|
+
string2 += resolvedValue;
|
|
28419
|
+
}
|
|
28420
|
+
}
|
|
28421
|
+
}
|
|
28422
|
+
return string2;
|
|
28423
|
+
}
|
|
28424
|
+
function createTailwindMerge(createConfigFirst, ...createConfigRest) {
|
|
28425
|
+
let configUtils;
|
|
28426
|
+
let cacheGet;
|
|
28427
|
+
let cacheSet;
|
|
28428
|
+
let functionToCall = initTailwindMerge;
|
|
28429
|
+
function initTailwindMerge(classList) {
|
|
28430
|
+
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
28431
|
+
configUtils = createConfigUtils(config);
|
|
28432
|
+
cacheGet = configUtils.cache.get;
|
|
28433
|
+
cacheSet = configUtils.cache.set;
|
|
28434
|
+
functionToCall = tailwindMerge;
|
|
28435
|
+
return tailwindMerge(classList);
|
|
28436
|
+
}
|
|
28437
|
+
function tailwindMerge(classList) {
|
|
28438
|
+
const cachedResult = cacheGet(classList);
|
|
28439
|
+
if (cachedResult) {
|
|
28440
|
+
return cachedResult;
|
|
28441
|
+
}
|
|
28442
|
+
const result = mergeClassList(classList, configUtils);
|
|
28443
|
+
cacheSet(classList, result);
|
|
28444
|
+
return result;
|
|
28445
|
+
}
|
|
28446
|
+
return function callTailwindMerge() {
|
|
28447
|
+
return functionToCall(twJoin.apply(null, arguments));
|
|
28448
|
+
};
|
|
28449
|
+
}
|
|
28450
|
+
function fromTheme(key) {
|
|
28451
|
+
const themeGetter = (theme2) => theme2[key] || [];
|
|
28452
|
+
themeGetter.isThemeGetter = true;
|
|
28453
|
+
return themeGetter;
|
|
28454
|
+
}
|
|
28455
|
+
const arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
|
|
28456
|
+
const fractionRegex = /^\d+\/\d+$/;
|
|
28457
|
+
const stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
|
|
28458
|
+
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
28459
|
+
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$/;
|
|
28460
|
+
const shadowRegex = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
28461
|
+
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
28462
|
+
function isLength(value) {
|
|
28463
|
+
return isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
|
|
28464
|
+
}
|
|
28465
|
+
function isArbitraryLength(value) {
|
|
28466
|
+
return getIsArbitraryValue(value, "length", isLengthOnly);
|
|
28467
|
+
}
|
|
28468
|
+
function isNumber(value) {
|
|
28469
|
+
return Boolean(value) && !Number.isNaN(Number(value));
|
|
28470
|
+
}
|
|
28471
|
+
function isArbitraryNumber(value) {
|
|
28472
|
+
return getIsArbitraryValue(value, "number", isNumber);
|
|
28473
|
+
}
|
|
28474
|
+
function isInteger(value) {
|
|
28475
|
+
return Boolean(value) && Number.isInteger(Number(value));
|
|
28476
|
+
}
|
|
28477
|
+
function isPercent(value) {
|
|
28478
|
+
return value.endsWith("%") && isNumber(value.slice(0, -1));
|
|
28479
|
+
}
|
|
28480
|
+
function isArbitraryValue(value) {
|
|
28481
|
+
return arbitraryValueRegex.test(value);
|
|
28482
|
+
}
|
|
28483
|
+
function isTshirtSize(value) {
|
|
28484
|
+
return tshirtUnitRegex.test(value);
|
|
28485
|
+
}
|
|
28486
|
+
const sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
28487
|
+
function isArbitrarySize(value) {
|
|
28488
|
+
return getIsArbitraryValue(value, sizeLabels, isNever);
|
|
28489
|
+
}
|
|
28490
|
+
function isArbitraryPosition(value) {
|
|
28491
|
+
return getIsArbitraryValue(value, "position", isNever);
|
|
28492
|
+
}
|
|
28493
|
+
const imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
|
|
28494
|
+
function isArbitraryImage(value) {
|
|
28495
|
+
return getIsArbitraryValue(value, imageLabels, isImage);
|
|
28496
|
+
}
|
|
28497
|
+
function isArbitraryShadow(value) {
|
|
28498
|
+
return getIsArbitraryValue(value, "", isShadow);
|
|
28499
|
+
}
|
|
28500
|
+
function isAny() {
|
|
28501
|
+
return true;
|
|
28502
|
+
}
|
|
28503
|
+
function getIsArbitraryValue(value, label, testValue) {
|
|
28504
|
+
const result = arbitraryValueRegex.exec(value);
|
|
28505
|
+
if (result) {
|
|
28506
|
+
if (result[1]) {
|
|
28507
|
+
return typeof label === "string" ? result[1] === label : label.has(result[1]);
|
|
28508
|
+
}
|
|
28509
|
+
return testValue(result[2]);
|
|
28510
|
+
}
|
|
28511
|
+
return false;
|
|
28512
|
+
}
|
|
28513
|
+
function isLengthOnly(value) {
|
|
28514
|
+
return lengthUnitRegex.test(value);
|
|
28515
|
+
}
|
|
28516
|
+
function isNever() {
|
|
28517
|
+
return false;
|
|
28518
|
+
}
|
|
28519
|
+
function isShadow(value) {
|
|
28520
|
+
return shadowRegex.test(value);
|
|
28521
|
+
}
|
|
28522
|
+
function isImage(value) {
|
|
28523
|
+
return imageRegex.test(value);
|
|
28524
|
+
}
|
|
28525
|
+
function getDefaultConfig() {
|
|
28526
|
+
const colors = fromTheme("colors");
|
|
28527
|
+
const spacing = fromTheme("spacing");
|
|
28528
|
+
const blur = fromTheme("blur");
|
|
28529
|
+
const brightness = fromTheme("brightness");
|
|
28530
|
+
const borderColor = fromTheme("borderColor");
|
|
28531
|
+
const borderRadius = fromTheme("borderRadius");
|
|
28532
|
+
const borderSpacing = fromTheme("borderSpacing");
|
|
28533
|
+
const borderWidth = fromTheme("borderWidth");
|
|
28534
|
+
const contrast = fromTheme("contrast");
|
|
28535
|
+
const grayscale = fromTheme("grayscale");
|
|
28536
|
+
const hueRotate = fromTheme("hueRotate");
|
|
28537
|
+
const invert = fromTheme("invert");
|
|
28538
|
+
const gap = fromTheme("gap");
|
|
28539
|
+
const gradientColorStops = fromTheme("gradientColorStops");
|
|
28540
|
+
const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
|
|
28541
|
+
const inset = fromTheme("inset");
|
|
28542
|
+
const margin = fromTheme("margin");
|
|
28543
|
+
const opacity = fromTheme("opacity");
|
|
28544
|
+
const padding = fromTheme("padding");
|
|
28545
|
+
const saturate = fromTheme("saturate");
|
|
28546
|
+
const scale = fromTheme("scale");
|
|
28547
|
+
const sepia = fromTheme("sepia");
|
|
28548
|
+
const skew = fromTheme("skew");
|
|
28549
|
+
const space2 = fromTheme("space");
|
|
28550
|
+
const translate = fromTheme("translate");
|
|
28551
|
+
const getOverscroll = () => ["auto", "contain", "none"];
|
|
28552
|
+
const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
|
|
28553
|
+
const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
|
|
28554
|
+
const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
|
|
28555
|
+
const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
|
|
28556
|
+
const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
|
|
28557
|
+
const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
|
|
28558
|
+
const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
|
|
28559
|
+
const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"];
|
|
28560
|
+
const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
|
|
28561
|
+
const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
|
|
28562
|
+
const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
28563
|
+
const getNumber = () => [isNumber, isArbitraryNumber];
|
|
28564
|
+
const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
|
|
28565
|
+
return {
|
|
28566
|
+
cacheSize: 500,
|
|
28567
|
+
separator: ":",
|
|
28568
|
+
theme: {
|
|
28569
|
+
colors: [isAny],
|
|
28570
|
+
spacing: [isLength, isArbitraryLength],
|
|
28571
|
+
blur: ["none", "", isTshirtSize, isArbitraryValue],
|
|
28572
|
+
brightness: getNumber(),
|
|
28573
|
+
borderColor: [colors],
|
|
28574
|
+
borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
|
|
28575
|
+
borderSpacing: getSpacingWithArbitrary(),
|
|
28576
|
+
borderWidth: getLengthWithEmptyAndArbitrary(),
|
|
28577
|
+
contrast: getNumber(),
|
|
28578
|
+
grayscale: getZeroAndEmpty(),
|
|
28579
|
+
hueRotate: getNumberAndArbitrary(),
|
|
28580
|
+
invert: getZeroAndEmpty(),
|
|
28581
|
+
gap: getSpacingWithArbitrary(),
|
|
28582
|
+
gradientColorStops: [colors],
|
|
28583
|
+
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
|
28584
|
+
inset: getSpacingWithAutoAndArbitrary(),
|
|
28585
|
+
margin: getSpacingWithAutoAndArbitrary(),
|
|
28586
|
+
opacity: getNumber(),
|
|
28587
|
+
padding: getSpacingWithArbitrary(),
|
|
28588
|
+
saturate: getNumber(),
|
|
28589
|
+
scale: getNumber(),
|
|
28590
|
+
sepia: getZeroAndEmpty(),
|
|
28591
|
+
skew: getNumberAndArbitrary(),
|
|
28592
|
+
space: getSpacingWithArbitrary(),
|
|
28593
|
+
translate: getSpacingWithArbitrary()
|
|
28594
|
+
},
|
|
28595
|
+
classGroups: {
|
|
28596
|
+
// Layout
|
|
28597
|
+
/**
|
|
28598
|
+
* Aspect Ratio
|
|
28599
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
28600
|
+
*/
|
|
28601
|
+
aspect: [{
|
|
28602
|
+
aspect: ["auto", "square", "video", isArbitraryValue]
|
|
28603
|
+
}],
|
|
28604
|
+
/**
|
|
28605
|
+
* Container
|
|
28606
|
+
* @see https://tailwindcss.com/docs/container
|
|
28607
|
+
*/
|
|
28608
|
+
container: ["container"],
|
|
28609
|
+
/**
|
|
28610
|
+
* Columns
|
|
28611
|
+
* @see https://tailwindcss.com/docs/columns
|
|
28612
|
+
*/
|
|
28613
|
+
columns: [{
|
|
28614
|
+
columns: [isTshirtSize]
|
|
28615
|
+
}],
|
|
28616
|
+
/**
|
|
28617
|
+
* Break After
|
|
28618
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
28619
|
+
*/
|
|
28620
|
+
"break-after": [{
|
|
28621
|
+
"break-after": getBreaks()
|
|
28622
|
+
}],
|
|
28623
|
+
/**
|
|
28624
|
+
* Break Before
|
|
28625
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
28626
|
+
*/
|
|
28627
|
+
"break-before": [{
|
|
28628
|
+
"break-before": getBreaks()
|
|
28629
|
+
}],
|
|
28630
|
+
/**
|
|
28631
|
+
* Break Inside
|
|
28632
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
28633
|
+
*/
|
|
28634
|
+
"break-inside": [{
|
|
28635
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
28636
|
+
}],
|
|
28637
|
+
/**
|
|
28638
|
+
* Box Decoration Break
|
|
28639
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
28640
|
+
*/
|
|
28641
|
+
"box-decoration": [{
|
|
28642
|
+
"box-decoration": ["slice", "clone"]
|
|
28643
|
+
}],
|
|
28644
|
+
/**
|
|
28645
|
+
* Box Sizing
|
|
28646
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
28647
|
+
*/
|
|
28648
|
+
box: [{
|
|
28649
|
+
box: ["border", "content"]
|
|
28650
|
+
}],
|
|
28651
|
+
/**
|
|
28652
|
+
* Display
|
|
28653
|
+
* @see https://tailwindcss.com/docs/display
|
|
28654
|
+
*/
|
|
28655
|
+
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"],
|
|
28656
|
+
/**
|
|
28657
|
+
* Floats
|
|
28658
|
+
* @see https://tailwindcss.com/docs/float
|
|
28659
|
+
*/
|
|
28660
|
+
float: [{
|
|
28661
|
+
float: ["right", "left", "none"]
|
|
28662
|
+
}],
|
|
28663
|
+
/**
|
|
28664
|
+
* Clear
|
|
28665
|
+
* @see https://tailwindcss.com/docs/clear
|
|
28666
|
+
*/
|
|
28667
|
+
clear: [{
|
|
28668
|
+
clear: ["left", "right", "both", "none"]
|
|
28669
|
+
}],
|
|
28670
|
+
/**
|
|
28671
|
+
* Isolation
|
|
28672
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
28673
|
+
*/
|
|
28674
|
+
isolation: ["isolate", "isolation-auto"],
|
|
28675
|
+
/**
|
|
28676
|
+
* Object Fit
|
|
28677
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
28678
|
+
*/
|
|
28679
|
+
"object-fit": [{
|
|
28680
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
28681
|
+
}],
|
|
28682
|
+
/**
|
|
28683
|
+
* Object Position
|
|
28684
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
28685
|
+
*/
|
|
28686
|
+
"object-position": [{
|
|
28687
|
+
object: [...getPositions(), isArbitraryValue]
|
|
28688
|
+
}],
|
|
28689
|
+
/**
|
|
28690
|
+
* Overflow
|
|
28691
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
28692
|
+
*/
|
|
28693
|
+
overflow: [{
|
|
28694
|
+
overflow: getOverflow()
|
|
28695
|
+
}],
|
|
28696
|
+
/**
|
|
28697
|
+
* Overflow X
|
|
28698
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
28699
|
+
*/
|
|
28700
|
+
"overflow-x": [{
|
|
28701
|
+
"overflow-x": getOverflow()
|
|
28702
|
+
}],
|
|
28703
|
+
/**
|
|
28704
|
+
* Overflow Y
|
|
28705
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
28706
|
+
*/
|
|
28707
|
+
"overflow-y": [{
|
|
28708
|
+
"overflow-y": getOverflow()
|
|
28709
|
+
}],
|
|
28710
|
+
/**
|
|
28711
|
+
* Overscroll Behavior
|
|
28712
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
28713
|
+
*/
|
|
28714
|
+
overscroll: [{
|
|
28715
|
+
overscroll: getOverscroll()
|
|
28716
|
+
}],
|
|
28717
|
+
/**
|
|
28718
|
+
* Overscroll Behavior X
|
|
28719
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
28720
|
+
*/
|
|
28721
|
+
"overscroll-x": [{
|
|
28722
|
+
"overscroll-x": getOverscroll()
|
|
28723
|
+
}],
|
|
28724
|
+
/**
|
|
28725
|
+
* Overscroll Behavior Y
|
|
28726
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
28727
|
+
*/
|
|
28728
|
+
"overscroll-y": [{
|
|
28729
|
+
"overscroll-y": getOverscroll()
|
|
28730
|
+
}],
|
|
28731
|
+
/**
|
|
28732
|
+
* Position
|
|
28733
|
+
* @see https://tailwindcss.com/docs/position
|
|
28734
|
+
*/
|
|
28735
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
28736
|
+
/**
|
|
28737
|
+
* Top / Right / Bottom / Left
|
|
28738
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28739
|
+
*/
|
|
28740
|
+
inset: [{
|
|
28741
|
+
inset: [inset]
|
|
28742
|
+
}],
|
|
28743
|
+
/**
|
|
28744
|
+
* Right / Left
|
|
28745
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28746
|
+
*/
|
|
28747
|
+
"inset-x": [{
|
|
28748
|
+
"inset-x": [inset]
|
|
28749
|
+
}],
|
|
28750
|
+
/**
|
|
28751
|
+
* Top / Bottom
|
|
28752
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28753
|
+
*/
|
|
28754
|
+
"inset-y": [{
|
|
28755
|
+
"inset-y": [inset]
|
|
28756
|
+
}],
|
|
28757
|
+
/**
|
|
28758
|
+
* Start
|
|
28759
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28760
|
+
*/
|
|
28761
|
+
start: [{
|
|
28762
|
+
start: [inset]
|
|
28763
|
+
}],
|
|
28764
|
+
/**
|
|
28765
|
+
* End
|
|
28766
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28767
|
+
*/
|
|
28768
|
+
end: [{
|
|
28769
|
+
end: [inset]
|
|
28770
|
+
}],
|
|
28771
|
+
/**
|
|
28772
|
+
* Top
|
|
28773
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28774
|
+
*/
|
|
28775
|
+
top: [{
|
|
28776
|
+
top: [inset]
|
|
28777
|
+
}],
|
|
28778
|
+
/**
|
|
28779
|
+
* Right
|
|
28780
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28781
|
+
*/
|
|
28782
|
+
right: [{
|
|
28783
|
+
right: [inset]
|
|
28784
|
+
}],
|
|
28785
|
+
/**
|
|
28786
|
+
* Bottom
|
|
28787
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28788
|
+
*/
|
|
28789
|
+
bottom: [{
|
|
28790
|
+
bottom: [inset]
|
|
28791
|
+
}],
|
|
28792
|
+
/**
|
|
28793
|
+
* Left
|
|
28794
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
28795
|
+
*/
|
|
28796
|
+
left: [{
|
|
28797
|
+
left: [inset]
|
|
28798
|
+
}],
|
|
28799
|
+
/**
|
|
28800
|
+
* Visibility
|
|
28801
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
28802
|
+
*/
|
|
28803
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
28804
|
+
/**
|
|
28805
|
+
* Z-Index
|
|
28806
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
28807
|
+
*/
|
|
28808
|
+
z: [{
|
|
28809
|
+
z: ["auto", isInteger, isArbitraryValue]
|
|
28810
|
+
}],
|
|
28811
|
+
// Flexbox and Grid
|
|
28812
|
+
/**
|
|
28813
|
+
* Flex Basis
|
|
28814
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
28815
|
+
*/
|
|
28816
|
+
basis: [{
|
|
28817
|
+
basis: getSpacingWithAutoAndArbitrary()
|
|
28818
|
+
}],
|
|
28819
|
+
/**
|
|
28820
|
+
* Flex Direction
|
|
28821
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
28822
|
+
*/
|
|
28823
|
+
"flex-direction": [{
|
|
28824
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
28825
|
+
}],
|
|
28826
|
+
/**
|
|
28827
|
+
* Flex Wrap
|
|
28828
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
28829
|
+
*/
|
|
28830
|
+
"flex-wrap": [{
|
|
28831
|
+
flex: ["wrap", "wrap-reverse", "nowrap"]
|
|
28832
|
+
}],
|
|
28833
|
+
/**
|
|
28834
|
+
* Flex
|
|
28835
|
+
* @see https://tailwindcss.com/docs/flex
|
|
28836
|
+
*/
|
|
28837
|
+
flex: [{
|
|
28838
|
+
flex: ["1", "auto", "initial", "none", isArbitraryValue]
|
|
28839
|
+
}],
|
|
28840
|
+
/**
|
|
28841
|
+
* Flex Grow
|
|
28842
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
28843
|
+
*/
|
|
28844
|
+
grow: [{
|
|
28845
|
+
grow: getZeroAndEmpty()
|
|
28846
|
+
}],
|
|
28847
|
+
/**
|
|
28848
|
+
* Flex Shrink
|
|
28849
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
28850
|
+
*/
|
|
28851
|
+
shrink: [{
|
|
28852
|
+
shrink: getZeroAndEmpty()
|
|
28853
|
+
}],
|
|
28854
|
+
/**
|
|
28855
|
+
* Order
|
|
28856
|
+
* @see https://tailwindcss.com/docs/order
|
|
28857
|
+
*/
|
|
28858
|
+
order: [{
|
|
28859
|
+
order: ["first", "last", "none", isInteger, isArbitraryValue]
|
|
28860
|
+
}],
|
|
28861
|
+
/**
|
|
28862
|
+
* Grid Template Columns
|
|
28863
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
28864
|
+
*/
|
|
28865
|
+
"grid-cols": [{
|
|
28866
|
+
"grid-cols": [isAny]
|
|
28867
|
+
}],
|
|
28868
|
+
/**
|
|
28869
|
+
* Grid Column Start / End
|
|
28870
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
28871
|
+
*/
|
|
28872
|
+
"col-start-end": [{
|
|
28873
|
+
col: ["auto", {
|
|
28874
|
+
span: ["full", isInteger, isArbitraryValue]
|
|
28875
|
+
}, isArbitraryValue]
|
|
28876
|
+
}],
|
|
28877
|
+
/**
|
|
28878
|
+
* Grid Column Start
|
|
28879
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
28880
|
+
*/
|
|
28881
|
+
"col-start": [{
|
|
28882
|
+
"col-start": getNumberWithAutoAndArbitrary()
|
|
28883
|
+
}],
|
|
28884
|
+
/**
|
|
28885
|
+
* Grid Column End
|
|
28886
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
28887
|
+
*/
|
|
28888
|
+
"col-end": [{
|
|
28889
|
+
"col-end": getNumberWithAutoAndArbitrary()
|
|
28890
|
+
}],
|
|
28891
|
+
/**
|
|
28892
|
+
* Grid Template Rows
|
|
28893
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
28894
|
+
*/
|
|
28895
|
+
"grid-rows": [{
|
|
28896
|
+
"grid-rows": [isAny]
|
|
28897
|
+
}],
|
|
28898
|
+
/**
|
|
28899
|
+
* Grid Row Start / End
|
|
28900
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
28901
|
+
*/
|
|
28902
|
+
"row-start-end": [{
|
|
28903
|
+
row: ["auto", {
|
|
28904
|
+
span: [isInteger, isArbitraryValue]
|
|
28905
|
+
}, isArbitraryValue]
|
|
28906
|
+
}],
|
|
28907
|
+
/**
|
|
28908
|
+
* Grid Row Start
|
|
28909
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
28910
|
+
*/
|
|
28911
|
+
"row-start": [{
|
|
28912
|
+
"row-start": getNumberWithAutoAndArbitrary()
|
|
28913
|
+
}],
|
|
28914
|
+
/**
|
|
28915
|
+
* Grid Row End
|
|
28916
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
28917
|
+
*/
|
|
28918
|
+
"row-end": [{
|
|
28919
|
+
"row-end": getNumberWithAutoAndArbitrary()
|
|
28920
|
+
}],
|
|
28921
|
+
/**
|
|
28922
|
+
* Grid Auto Flow
|
|
28923
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
28924
|
+
*/
|
|
28925
|
+
"grid-flow": [{
|
|
28926
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
28927
|
+
}],
|
|
28928
|
+
/**
|
|
28929
|
+
* Grid Auto Columns
|
|
28930
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
28931
|
+
*/
|
|
28932
|
+
"auto-cols": [{
|
|
28933
|
+
"auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
28934
|
+
}],
|
|
28935
|
+
/**
|
|
28936
|
+
* Grid Auto Rows
|
|
28937
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
28938
|
+
*/
|
|
28939
|
+
"auto-rows": [{
|
|
28940
|
+
"auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
28941
|
+
}],
|
|
28942
|
+
/**
|
|
28943
|
+
* Gap
|
|
28944
|
+
* @see https://tailwindcss.com/docs/gap
|
|
28945
|
+
*/
|
|
28946
|
+
gap: [{
|
|
28947
|
+
gap: [gap]
|
|
28948
|
+
}],
|
|
28949
|
+
/**
|
|
28950
|
+
* Gap X
|
|
28951
|
+
* @see https://tailwindcss.com/docs/gap
|
|
28952
|
+
*/
|
|
28953
|
+
"gap-x": [{
|
|
28954
|
+
"gap-x": [gap]
|
|
28955
|
+
}],
|
|
28956
|
+
/**
|
|
28957
|
+
* Gap Y
|
|
28958
|
+
* @see https://tailwindcss.com/docs/gap
|
|
28959
|
+
*/
|
|
28960
|
+
"gap-y": [{
|
|
28961
|
+
"gap-y": [gap]
|
|
28962
|
+
}],
|
|
28963
|
+
/**
|
|
28964
|
+
* Justify Content
|
|
28965
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
28966
|
+
*/
|
|
28967
|
+
"justify-content": [{
|
|
28968
|
+
justify: ["normal", ...getAlign()]
|
|
28969
|
+
}],
|
|
28970
|
+
/**
|
|
28971
|
+
* Justify Items
|
|
28972
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
28973
|
+
*/
|
|
28974
|
+
"justify-items": [{
|
|
28975
|
+
"justify-items": ["start", "end", "center", "stretch"]
|
|
28976
|
+
}],
|
|
28977
|
+
/**
|
|
28978
|
+
* Justify Self
|
|
28979
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
28980
|
+
*/
|
|
28981
|
+
"justify-self": [{
|
|
28982
|
+
"justify-self": ["auto", "start", "end", "center", "stretch"]
|
|
28983
|
+
}],
|
|
28984
|
+
/**
|
|
28985
|
+
* Align Content
|
|
28986
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
28987
|
+
*/
|
|
28988
|
+
"align-content": [{
|
|
28989
|
+
content: ["normal", ...getAlign(), "baseline"]
|
|
28990
|
+
}],
|
|
28991
|
+
/**
|
|
28992
|
+
* Align Items
|
|
28993
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
28994
|
+
*/
|
|
28995
|
+
"align-items": [{
|
|
28996
|
+
items: ["start", "end", "center", "baseline", "stretch"]
|
|
28997
|
+
}],
|
|
28998
|
+
/**
|
|
28999
|
+
* Align Self
|
|
29000
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
29001
|
+
*/
|
|
29002
|
+
"align-self": [{
|
|
29003
|
+
self: ["auto", "start", "end", "center", "stretch", "baseline"]
|
|
29004
|
+
}],
|
|
29005
|
+
/**
|
|
29006
|
+
* Place Content
|
|
29007
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
29008
|
+
*/
|
|
29009
|
+
"place-content": [{
|
|
29010
|
+
"place-content": [...getAlign(), "baseline"]
|
|
29011
|
+
}],
|
|
29012
|
+
/**
|
|
29013
|
+
* Place Items
|
|
29014
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
29015
|
+
*/
|
|
29016
|
+
"place-items": [{
|
|
29017
|
+
"place-items": ["start", "end", "center", "baseline", "stretch"]
|
|
29018
|
+
}],
|
|
29019
|
+
/**
|
|
29020
|
+
* Place Self
|
|
29021
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
29022
|
+
*/
|
|
29023
|
+
"place-self": [{
|
|
29024
|
+
"place-self": ["auto", "start", "end", "center", "stretch"]
|
|
29025
|
+
}],
|
|
29026
|
+
// Spacing
|
|
29027
|
+
/**
|
|
29028
|
+
* Padding
|
|
29029
|
+
* @see https://tailwindcss.com/docs/padding
|
|
29030
|
+
*/
|
|
29031
|
+
p: [{
|
|
29032
|
+
p: [padding]
|
|
29033
|
+
}],
|
|
29034
|
+
/**
|
|
29035
|
+
* Padding X
|
|
29036
|
+
* @see https://tailwindcss.com/docs/padding
|
|
29037
|
+
*/
|
|
29038
|
+
px: [{
|
|
29039
|
+
px: [padding]
|
|
29040
|
+
}],
|
|
29041
|
+
/**
|
|
29042
|
+
* Padding Y
|
|
29043
|
+
* @see https://tailwindcss.com/docs/padding
|
|
29044
|
+
*/
|
|
29045
|
+
py: [{
|
|
29046
|
+
py: [padding]
|
|
29047
|
+
}],
|
|
29048
|
+
/**
|
|
29049
|
+
* Padding Start
|
|
29050
|
+
* @see https://tailwindcss.com/docs/padding
|
|
29051
|
+
*/
|
|
29052
|
+
ps: [{
|
|
29053
|
+
ps: [padding]
|
|
29054
|
+
}],
|
|
29055
|
+
/**
|
|
29056
|
+
* Padding End
|
|
29057
|
+
* @see https://tailwindcss.com/docs/padding
|
|
29058
|
+
*/
|
|
29059
|
+
pe: [{
|
|
29060
|
+
pe: [padding]
|
|
29061
|
+
}],
|
|
29062
|
+
/**
|
|
29063
|
+
* Padding Top
|
|
29064
|
+
* @see https://tailwindcss.com/docs/padding
|
|
29065
|
+
*/
|
|
29066
|
+
pt: [{
|
|
29067
|
+
pt: [padding]
|
|
29068
|
+
}],
|
|
29069
|
+
/**
|
|
29070
|
+
* Padding Right
|
|
29071
|
+
* @see https://tailwindcss.com/docs/padding
|
|
29072
|
+
*/
|
|
29073
|
+
pr: [{
|
|
29074
|
+
pr: [padding]
|
|
29075
|
+
}],
|
|
29076
|
+
/**
|
|
29077
|
+
* Padding Bottom
|
|
29078
|
+
* @see https://tailwindcss.com/docs/padding
|
|
29079
|
+
*/
|
|
29080
|
+
pb: [{
|
|
29081
|
+
pb: [padding]
|
|
29082
|
+
}],
|
|
29083
|
+
/**
|
|
29084
|
+
* Padding Left
|
|
29085
|
+
* @see https://tailwindcss.com/docs/padding
|
|
29086
|
+
*/
|
|
29087
|
+
pl: [{
|
|
29088
|
+
pl: [padding]
|
|
29089
|
+
}],
|
|
29090
|
+
/**
|
|
29091
|
+
* Margin
|
|
29092
|
+
* @see https://tailwindcss.com/docs/margin
|
|
29093
|
+
*/
|
|
29094
|
+
m: [{
|
|
29095
|
+
m: [margin]
|
|
29096
|
+
}],
|
|
29097
|
+
/**
|
|
29098
|
+
* Margin X
|
|
29099
|
+
* @see https://tailwindcss.com/docs/margin
|
|
29100
|
+
*/
|
|
29101
|
+
mx: [{
|
|
29102
|
+
mx: [margin]
|
|
29103
|
+
}],
|
|
29104
|
+
/**
|
|
29105
|
+
* Margin Y
|
|
29106
|
+
* @see https://tailwindcss.com/docs/margin
|
|
29107
|
+
*/
|
|
29108
|
+
my: [{
|
|
29109
|
+
my: [margin]
|
|
29110
|
+
}],
|
|
29111
|
+
/**
|
|
29112
|
+
* Margin Start
|
|
29113
|
+
* @see https://tailwindcss.com/docs/margin
|
|
29114
|
+
*/
|
|
29115
|
+
ms: [{
|
|
29116
|
+
ms: [margin]
|
|
29117
|
+
}],
|
|
29118
|
+
/**
|
|
29119
|
+
* Margin End
|
|
29120
|
+
* @see https://tailwindcss.com/docs/margin
|
|
29121
|
+
*/
|
|
29122
|
+
me: [{
|
|
29123
|
+
me: [margin]
|
|
29124
|
+
}],
|
|
29125
|
+
/**
|
|
29126
|
+
* Margin Top
|
|
29127
|
+
* @see https://tailwindcss.com/docs/margin
|
|
29128
|
+
*/
|
|
29129
|
+
mt: [{
|
|
29130
|
+
mt: [margin]
|
|
29131
|
+
}],
|
|
29132
|
+
/**
|
|
29133
|
+
* Margin Right
|
|
29134
|
+
* @see https://tailwindcss.com/docs/margin
|
|
29135
|
+
*/
|
|
29136
|
+
mr: [{
|
|
29137
|
+
mr: [margin]
|
|
29138
|
+
}],
|
|
29139
|
+
/**
|
|
29140
|
+
* Margin Bottom
|
|
29141
|
+
* @see https://tailwindcss.com/docs/margin
|
|
29142
|
+
*/
|
|
29143
|
+
mb: [{
|
|
29144
|
+
mb: [margin]
|
|
29145
|
+
}],
|
|
29146
|
+
/**
|
|
29147
|
+
* Margin Left
|
|
29148
|
+
* @see https://tailwindcss.com/docs/margin
|
|
29149
|
+
*/
|
|
29150
|
+
ml: [{
|
|
29151
|
+
ml: [margin]
|
|
29152
|
+
}],
|
|
29153
|
+
/**
|
|
29154
|
+
* Space Between X
|
|
29155
|
+
* @see https://tailwindcss.com/docs/space
|
|
29156
|
+
*/
|
|
29157
|
+
"space-x": [{
|
|
29158
|
+
"space-x": [space2]
|
|
29159
|
+
}],
|
|
29160
|
+
/**
|
|
29161
|
+
* Space Between X Reverse
|
|
29162
|
+
* @see https://tailwindcss.com/docs/space
|
|
29163
|
+
*/
|
|
29164
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
29165
|
+
/**
|
|
29166
|
+
* Space Between Y
|
|
29167
|
+
* @see https://tailwindcss.com/docs/space
|
|
29168
|
+
*/
|
|
29169
|
+
"space-y": [{
|
|
29170
|
+
"space-y": [space2]
|
|
29171
|
+
}],
|
|
29172
|
+
/**
|
|
29173
|
+
* Space Between Y Reverse
|
|
29174
|
+
* @see https://tailwindcss.com/docs/space
|
|
29175
|
+
*/
|
|
29176
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
29177
|
+
// Sizing
|
|
29178
|
+
/**
|
|
29179
|
+
* Width
|
|
29180
|
+
* @see https://tailwindcss.com/docs/width
|
|
29181
|
+
*/
|
|
29182
|
+
w: [{
|
|
29183
|
+
w: ["auto", "min", "max", "fit", isArbitraryValue, spacing]
|
|
29184
|
+
}],
|
|
29185
|
+
/**
|
|
29186
|
+
* Min-Width
|
|
29187
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
29188
|
+
*/
|
|
29189
|
+
"min-w": [{
|
|
29190
|
+
"min-w": ["min", "max", "fit", isArbitraryValue, isLength]
|
|
29191
|
+
}],
|
|
29192
|
+
/**
|
|
29193
|
+
* Max-Width
|
|
29194
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
29195
|
+
*/
|
|
29196
|
+
"max-w": [{
|
|
29197
|
+
"max-w": ["0", "none", "full", "min", "max", "fit", "prose", {
|
|
29198
|
+
screen: [isTshirtSize]
|
|
29199
|
+
}, isTshirtSize, isArbitraryValue]
|
|
29200
|
+
}],
|
|
29201
|
+
/**
|
|
29202
|
+
* Height
|
|
29203
|
+
* @see https://tailwindcss.com/docs/height
|
|
29204
|
+
*/
|
|
29205
|
+
h: [{
|
|
29206
|
+
h: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
|
|
29207
|
+
}],
|
|
29208
|
+
/**
|
|
29209
|
+
* Min-Height
|
|
29210
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
29211
|
+
*/
|
|
29212
|
+
"min-h": [{
|
|
29213
|
+
"min-h": ["min", "max", "fit", isLength, isArbitraryValue]
|
|
29214
|
+
}],
|
|
29215
|
+
/**
|
|
29216
|
+
* Max-Height
|
|
29217
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
29218
|
+
*/
|
|
29219
|
+
"max-h": [{
|
|
29220
|
+
"max-h": [isArbitraryValue, spacing, "min", "max", "fit"]
|
|
29221
|
+
}],
|
|
29222
|
+
// Typography
|
|
29223
|
+
/**
|
|
29224
|
+
* Font Size
|
|
29225
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
29226
|
+
*/
|
|
29227
|
+
"font-size": [{
|
|
29228
|
+
text: ["base", isTshirtSize, isArbitraryLength]
|
|
29229
|
+
}],
|
|
29230
|
+
/**
|
|
29231
|
+
* Font Smoothing
|
|
29232
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
29233
|
+
*/
|
|
29234
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
29235
|
+
/**
|
|
29236
|
+
* Font Style
|
|
29237
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
29238
|
+
*/
|
|
29239
|
+
"font-style": ["italic", "not-italic"],
|
|
29240
|
+
/**
|
|
29241
|
+
* Font Weight
|
|
29242
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
29243
|
+
*/
|
|
29244
|
+
"font-weight": [{
|
|
29245
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
|
|
29246
|
+
}],
|
|
29247
|
+
/**
|
|
29248
|
+
* Font Family
|
|
29249
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
29250
|
+
*/
|
|
29251
|
+
"font-family": [{
|
|
29252
|
+
font: [isAny]
|
|
29253
|
+
}],
|
|
29254
|
+
/**
|
|
29255
|
+
* Font Variant Numeric
|
|
29256
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
29257
|
+
*/
|
|
29258
|
+
"fvn-normal": ["normal-nums"],
|
|
29259
|
+
/**
|
|
29260
|
+
* Font Variant Numeric
|
|
29261
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
29262
|
+
*/
|
|
29263
|
+
"fvn-ordinal": ["ordinal"],
|
|
29264
|
+
/**
|
|
29265
|
+
* Font Variant Numeric
|
|
29266
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
29267
|
+
*/
|
|
29268
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
29269
|
+
/**
|
|
29270
|
+
* Font Variant Numeric
|
|
29271
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
29272
|
+
*/
|
|
29273
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
29274
|
+
/**
|
|
29275
|
+
* Font Variant Numeric
|
|
29276
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
29277
|
+
*/
|
|
29278
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
29279
|
+
/**
|
|
29280
|
+
* Font Variant Numeric
|
|
29281
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
29282
|
+
*/
|
|
29283
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
|
|
29284
|
+
/**
|
|
29285
|
+
* Letter Spacing
|
|
29286
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
29287
|
+
*/
|
|
29288
|
+
tracking: [{
|
|
29289
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
|
|
29290
|
+
}],
|
|
29291
|
+
/**
|
|
29292
|
+
* Line Clamp
|
|
29293
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
29294
|
+
*/
|
|
29295
|
+
"line-clamp": [{
|
|
29296
|
+
"line-clamp": ["none", isNumber, isArbitraryNumber]
|
|
29297
|
+
}],
|
|
29298
|
+
/**
|
|
29299
|
+
* Line Height
|
|
29300
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
29301
|
+
*/
|
|
29302
|
+
leading: [{
|
|
29303
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
|
|
29304
|
+
}],
|
|
29305
|
+
/**
|
|
29306
|
+
* List Style Image
|
|
29307
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
29308
|
+
*/
|
|
29309
|
+
"list-image": [{
|
|
29310
|
+
"list-image": ["none", isArbitraryValue]
|
|
29311
|
+
}],
|
|
29312
|
+
/**
|
|
29313
|
+
* List Style Type
|
|
29314
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
29315
|
+
*/
|
|
29316
|
+
"list-style-type": [{
|
|
29317
|
+
list: ["none", "disc", "decimal", isArbitraryValue]
|
|
29318
|
+
}],
|
|
29319
|
+
/**
|
|
29320
|
+
* List Style Position
|
|
29321
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
29322
|
+
*/
|
|
29323
|
+
"list-style-position": [{
|
|
29324
|
+
list: ["inside", "outside"]
|
|
29325
|
+
}],
|
|
29326
|
+
/**
|
|
29327
|
+
* Placeholder Color
|
|
29328
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
29329
|
+
* @see https://tailwindcss.com/docs/placeholder-color
|
|
29330
|
+
*/
|
|
29331
|
+
"placeholder-color": [{
|
|
29332
|
+
placeholder: [colors]
|
|
29333
|
+
}],
|
|
29334
|
+
/**
|
|
29335
|
+
* Placeholder Opacity
|
|
29336
|
+
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
29337
|
+
*/
|
|
29338
|
+
"placeholder-opacity": [{
|
|
29339
|
+
"placeholder-opacity": [opacity]
|
|
29340
|
+
}],
|
|
29341
|
+
/**
|
|
29342
|
+
* Text Alignment
|
|
29343
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
29344
|
+
*/
|
|
29345
|
+
"text-alignment": [{
|
|
29346
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
29347
|
+
}],
|
|
29348
|
+
/**
|
|
29349
|
+
* Text Color
|
|
29350
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
29351
|
+
*/
|
|
29352
|
+
"text-color": [{
|
|
29353
|
+
text: [colors]
|
|
29354
|
+
}],
|
|
29355
|
+
/**
|
|
29356
|
+
* Text Opacity
|
|
29357
|
+
* @see https://tailwindcss.com/docs/text-opacity
|
|
29358
|
+
*/
|
|
29359
|
+
"text-opacity": [{
|
|
29360
|
+
"text-opacity": [opacity]
|
|
29361
|
+
}],
|
|
29362
|
+
/**
|
|
29363
|
+
* Text Decoration
|
|
29364
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
29365
|
+
*/
|
|
29366
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
29367
|
+
/**
|
|
29368
|
+
* Text Decoration Style
|
|
29369
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
29370
|
+
*/
|
|
29371
|
+
"text-decoration-style": [{
|
|
29372
|
+
decoration: [...getLineStyles(), "wavy"]
|
|
29373
|
+
}],
|
|
29374
|
+
/**
|
|
29375
|
+
* Text Decoration Thickness
|
|
29376
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
29377
|
+
*/
|
|
29378
|
+
"text-decoration-thickness": [{
|
|
29379
|
+
decoration: ["auto", "from-font", isLength, isArbitraryLength]
|
|
29380
|
+
}],
|
|
29381
|
+
/**
|
|
29382
|
+
* Text Underline Offset
|
|
29383
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
29384
|
+
*/
|
|
29385
|
+
"underline-offset": [{
|
|
29386
|
+
"underline-offset": ["auto", isLength, isArbitraryValue]
|
|
29387
|
+
}],
|
|
29388
|
+
/**
|
|
29389
|
+
* Text Decoration Color
|
|
29390
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
29391
|
+
*/
|
|
29392
|
+
"text-decoration-color": [{
|
|
29393
|
+
decoration: [colors]
|
|
29394
|
+
}],
|
|
29395
|
+
/**
|
|
29396
|
+
* Text Transform
|
|
29397
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
29398
|
+
*/
|
|
29399
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
29400
|
+
/**
|
|
29401
|
+
* Text Overflow
|
|
29402
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
29403
|
+
*/
|
|
29404
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
29405
|
+
/**
|
|
29406
|
+
* Text Indent
|
|
29407
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
29408
|
+
*/
|
|
29409
|
+
indent: [{
|
|
29410
|
+
indent: getSpacingWithArbitrary()
|
|
29411
|
+
}],
|
|
29412
|
+
/**
|
|
29413
|
+
* Vertical Alignment
|
|
29414
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
29415
|
+
*/
|
|
29416
|
+
"vertical-align": [{
|
|
29417
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
|
|
29418
|
+
}],
|
|
29419
|
+
/**
|
|
29420
|
+
* Whitespace
|
|
29421
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
29422
|
+
*/
|
|
29423
|
+
whitespace: [{
|
|
29424
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
29425
|
+
}],
|
|
29426
|
+
/**
|
|
29427
|
+
* Word Break
|
|
29428
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
29429
|
+
*/
|
|
29430
|
+
break: [{
|
|
29431
|
+
break: ["normal", "words", "all", "keep"]
|
|
29432
|
+
}],
|
|
29433
|
+
/**
|
|
29434
|
+
* Hyphens
|
|
29435
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
29436
|
+
*/
|
|
29437
|
+
hyphens: [{
|
|
29438
|
+
hyphens: ["none", "manual", "auto"]
|
|
29439
|
+
}],
|
|
29440
|
+
/**
|
|
29441
|
+
* Content
|
|
29442
|
+
* @see https://tailwindcss.com/docs/content
|
|
29443
|
+
*/
|
|
29444
|
+
content: [{
|
|
29445
|
+
content: ["none", isArbitraryValue]
|
|
29446
|
+
}],
|
|
29447
|
+
// Backgrounds
|
|
29448
|
+
/**
|
|
29449
|
+
* Background Attachment
|
|
29450
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
29451
|
+
*/
|
|
29452
|
+
"bg-attachment": [{
|
|
29453
|
+
bg: ["fixed", "local", "scroll"]
|
|
29454
|
+
}],
|
|
29455
|
+
/**
|
|
29456
|
+
* Background Clip
|
|
29457
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
29458
|
+
*/
|
|
29459
|
+
"bg-clip": [{
|
|
29460
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
29461
|
+
}],
|
|
29462
|
+
/**
|
|
29463
|
+
* Background Opacity
|
|
29464
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
29465
|
+
* @see https://tailwindcss.com/docs/background-opacity
|
|
29466
|
+
*/
|
|
29467
|
+
"bg-opacity": [{
|
|
29468
|
+
"bg-opacity": [opacity]
|
|
29469
|
+
}],
|
|
29470
|
+
/**
|
|
29471
|
+
* Background Origin
|
|
29472
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
29473
|
+
*/
|
|
29474
|
+
"bg-origin": [{
|
|
29475
|
+
"bg-origin": ["border", "padding", "content"]
|
|
29476
|
+
}],
|
|
29477
|
+
/**
|
|
29478
|
+
* Background Position
|
|
29479
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
29480
|
+
*/
|
|
29481
|
+
"bg-position": [{
|
|
29482
|
+
bg: [...getPositions(), isArbitraryPosition]
|
|
29483
|
+
}],
|
|
29484
|
+
/**
|
|
29485
|
+
* Background Repeat
|
|
29486
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
29487
|
+
*/
|
|
29488
|
+
"bg-repeat": [{
|
|
29489
|
+
bg: ["no-repeat", {
|
|
29490
|
+
repeat: ["", "x", "y", "round", "space"]
|
|
29491
|
+
}]
|
|
29492
|
+
}],
|
|
29493
|
+
/**
|
|
29494
|
+
* Background Size
|
|
29495
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
29496
|
+
*/
|
|
29497
|
+
"bg-size": [{
|
|
29498
|
+
bg: ["auto", "cover", "contain", isArbitrarySize]
|
|
29499
|
+
}],
|
|
29500
|
+
/**
|
|
29501
|
+
* Background Image
|
|
29502
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
29503
|
+
*/
|
|
29504
|
+
"bg-image": [{
|
|
29505
|
+
bg: ["none", {
|
|
29506
|
+
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
29507
|
+
}, isArbitraryImage]
|
|
29508
|
+
}],
|
|
29509
|
+
/**
|
|
29510
|
+
* Background Color
|
|
29511
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
29512
|
+
*/
|
|
29513
|
+
"bg-color": [{
|
|
29514
|
+
bg: [colors]
|
|
29515
|
+
}],
|
|
29516
|
+
/**
|
|
29517
|
+
* Gradient Color Stops From Position
|
|
29518
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29519
|
+
*/
|
|
29520
|
+
"gradient-from-pos": [{
|
|
29521
|
+
from: [gradientColorStopPositions]
|
|
29522
|
+
}],
|
|
29523
|
+
/**
|
|
29524
|
+
* Gradient Color Stops Via Position
|
|
29525
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29526
|
+
*/
|
|
29527
|
+
"gradient-via-pos": [{
|
|
29528
|
+
via: [gradientColorStopPositions]
|
|
29529
|
+
}],
|
|
29530
|
+
/**
|
|
29531
|
+
* Gradient Color Stops To Position
|
|
29532
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29533
|
+
*/
|
|
29534
|
+
"gradient-to-pos": [{
|
|
29535
|
+
to: [gradientColorStopPositions]
|
|
29536
|
+
}],
|
|
29537
|
+
/**
|
|
29538
|
+
* Gradient Color Stops From
|
|
29539
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29540
|
+
*/
|
|
29541
|
+
"gradient-from": [{
|
|
29542
|
+
from: [gradientColorStops]
|
|
29543
|
+
}],
|
|
29544
|
+
/**
|
|
29545
|
+
* Gradient Color Stops Via
|
|
29546
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29547
|
+
*/
|
|
29548
|
+
"gradient-via": [{
|
|
29549
|
+
via: [gradientColorStops]
|
|
29550
|
+
}],
|
|
29551
|
+
/**
|
|
29552
|
+
* Gradient Color Stops To
|
|
29553
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
29554
|
+
*/
|
|
29555
|
+
"gradient-to": [{
|
|
29556
|
+
to: [gradientColorStops]
|
|
29557
|
+
}],
|
|
29558
|
+
// Borders
|
|
29559
|
+
/**
|
|
29560
|
+
* Border Radius
|
|
29561
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29562
|
+
*/
|
|
29563
|
+
rounded: [{
|
|
29564
|
+
rounded: [borderRadius]
|
|
29565
|
+
}],
|
|
29566
|
+
/**
|
|
29567
|
+
* Border Radius Start
|
|
29568
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29569
|
+
*/
|
|
29570
|
+
"rounded-s": [{
|
|
29571
|
+
"rounded-s": [borderRadius]
|
|
29572
|
+
}],
|
|
29573
|
+
/**
|
|
29574
|
+
* Border Radius End
|
|
29575
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29576
|
+
*/
|
|
29577
|
+
"rounded-e": [{
|
|
29578
|
+
"rounded-e": [borderRadius]
|
|
29579
|
+
}],
|
|
29580
|
+
/**
|
|
29581
|
+
* Border Radius Top
|
|
29582
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29583
|
+
*/
|
|
29584
|
+
"rounded-t": [{
|
|
29585
|
+
"rounded-t": [borderRadius]
|
|
29586
|
+
}],
|
|
29587
|
+
/**
|
|
29588
|
+
* Border Radius Right
|
|
29589
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29590
|
+
*/
|
|
29591
|
+
"rounded-r": [{
|
|
29592
|
+
"rounded-r": [borderRadius]
|
|
29593
|
+
}],
|
|
29594
|
+
/**
|
|
29595
|
+
* Border Radius Bottom
|
|
29596
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29597
|
+
*/
|
|
29598
|
+
"rounded-b": [{
|
|
29599
|
+
"rounded-b": [borderRadius]
|
|
29600
|
+
}],
|
|
29601
|
+
/**
|
|
29602
|
+
* Border Radius Left
|
|
29603
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29604
|
+
*/
|
|
29605
|
+
"rounded-l": [{
|
|
29606
|
+
"rounded-l": [borderRadius]
|
|
29607
|
+
}],
|
|
29608
|
+
/**
|
|
29609
|
+
* Border Radius Start Start
|
|
29610
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29611
|
+
*/
|
|
29612
|
+
"rounded-ss": [{
|
|
29613
|
+
"rounded-ss": [borderRadius]
|
|
29614
|
+
}],
|
|
29615
|
+
/**
|
|
29616
|
+
* Border Radius Start End
|
|
29617
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29618
|
+
*/
|
|
29619
|
+
"rounded-se": [{
|
|
29620
|
+
"rounded-se": [borderRadius]
|
|
29621
|
+
}],
|
|
29622
|
+
/**
|
|
29623
|
+
* Border Radius End End
|
|
29624
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29625
|
+
*/
|
|
29626
|
+
"rounded-ee": [{
|
|
29627
|
+
"rounded-ee": [borderRadius]
|
|
29628
|
+
}],
|
|
29629
|
+
/**
|
|
29630
|
+
* Border Radius End Start
|
|
29631
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29632
|
+
*/
|
|
29633
|
+
"rounded-es": [{
|
|
29634
|
+
"rounded-es": [borderRadius]
|
|
29635
|
+
}],
|
|
29636
|
+
/**
|
|
29637
|
+
* Border Radius Top Left
|
|
29638
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29639
|
+
*/
|
|
29640
|
+
"rounded-tl": [{
|
|
29641
|
+
"rounded-tl": [borderRadius]
|
|
29642
|
+
}],
|
|
29643
|
+
/**
|
|
29644
|
+
* Border Radius Top Right
|
|
29645
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29646
|
+
*/
|
|
29647
|
+
"rounded-tr": [{
|
|
29648
|
+
"rounded-tr": [borderRadius]
|
|
29649
|
+
}],
|
|
29650
|
+
/**
|
|
29651
|
+
* Border Radius Bottom Right
|
|
29652
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29653
|
+
*/
|
|
29654
|
+
"rounded-br": [{
|
|
29655
|
+
"rounded-br": [borderRadius]
|
|
29656
|
+
}],
|
|
29657
|
+
/**
|
|
29658
|
+
* Border Radius Bottom Left
|
|
29659
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
29660
|
+
*/
|
|
29661
|
+
"rounded-bl": [{
|
|
29662
|
+
"rounded-bl": [borderRadius]
|
|
29663
|
+
}],
|
|
29664
|
+
/**
|
|
29665
|
+
* Border Width
|
|
29666
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29667
|
+
*/
|
|
29668
|
+
"border-w": [{
|
|
29669
|
+
border: [borderWidth]
|
|
29670
|
+
}],
|
|
29671
|
+
/**
|
|
29672
|
+
* Border Width X
|
|
29673
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29674
|
+
*/
|
|
29675
|
+
"border-w-x": [{
|
|
29676
|
+
"border-x": [borderWidth]
|
|
29677
|
+
}],
|
|
29678
|
+
/**
|
|
29679
|
+
* Border Width Y
|
|
29680
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29681
|
+
*/
|
|
29682
|
+
"border-w-y": [{
|
|
29683
|
+
"border-y": [borderWidth]
|
|
29684
|
+
}],
|
|
29685
|
+
/**
|
|
29686
|
+
* Border Width Start
|
|
29687
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29688
|
+
*/
|
|
29689
|
+
"border-w-s": [{
|
|
29690
|
+
"border-s": [borderWidth]
|
|
29691
|
+
}],
|
|
29692
|
+
/**
|
|
29693
|
+
* Border Width End
|
|
29694
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29695
|
+
*/
|
|
29696
|
+
"border-w-e": [{
|
|
29697
|
+
"border-e": [borderWidth]
|
|
29698
|
+
}],
|
|
29699
|
+
/**
|
|
29700
|
+
* Border Width Top
|
|
29701
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29702
|
+
*/
|
|
29703
|
+
"border-w-t": [{
|
|
29704
|
+
"border-t": [borderWidth]
|
|
29705
|
+
}],
|
|
29706
|
+
/**
|
|
29707
|
+
* Border Width Right
|
|
29708
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29709
|
+
*/
|
|
29710
|
+
"border-w-r": [{
|
|
29711
|
+
"border-r": [borderWidth]
|
|
29712
|
+
}],
|
|
29713
|
+
/**
|
|
29714
|
+
* Border Width Bottom
|
|
29715
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29716
|
+
*/
|
|
29717
|
+
"border-w-b": [{
|
|
29718
|
+
"border-b": [borderWidth]
|
|
29719
|
+
}],
|
|
29720
|
+
/**
|
|
29721
|
+
* Border Width Left
|
|
29722
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
29723
|
+
*/
|
|
29724
|
+
"border-w-l": [{
|
|
29725
|
+
"border-l": [borderWidth]
|
|
29726
|
+
}],
|
|
29727
|
+
/**
|
|
29728
|
+
* Border Opacity
|
|
29729
|
+
* @see https://tailwindcss.com/docs/border-opacity
|
|
29730
|
+
*/
|
|
29731
|
+
"border-opacity": [{
|
|
29732
|
+
"border-opacity": [opacity]
|
|
29733
|
+
}],
|
|
29734
|
+
/**
|
|
29735
|
+
* Border Style
|
|
29736
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
29737
|
+
*/
|
|
29738
|
+
"border-style": [{
|
|
29739
|
+
border: [...getLineStyles(), "hidden"]
|
|
29740
|
+
}],
|
|
29741
|
+
/**
|
|
29742
|
+
* Divide Width X
|
|
29743
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
29744
|
+
*/
|
|
29745
|
+
"divide-x": [{
|
|
29746
|
+
"divide-x": [borderWidth]
|
|
29747
|
+
}],
|
|
29748
|
+
/**
|
|
29749
|
+
* Divide Width X Reverse
|
|
29750
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
29751
|
+
*/
|
|
29752
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
29753
|
+
/**
|
|
29754
|
+
* Divide Width Y
|
|
29755
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
29756
|
+
*/
|
|
29757
|
+
"divide-y": [{
|
|
29758
|
+
"divide-y": [borderWidth]
|
|
29759
|
+
}],
|
|
29760
|
+
/**
|
|
29761
|
+
* Divide Width Y Reverse
|
|
29762
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
29763
|
+
*/
|
|
29764
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
29765
|
+
/**
|
|
29766
|
+
* Divide Opacity
|
|
29767
|
+
* @see https://tailwindcss.com/docs/divide-opacity
|
|
29768
|
+
*/
|
|
29769
|
+
"divide-opacity": [{
|
|
29770
|
+
"divide-opacity": [opacity]
|
|
29771
|
+
}],
|
|
29772
|
+
/**
|
|
29773
|
+
* Divide Style
|
|
29774
|
+
* @see https://tailwindcss.com/docs/divide-style
|
|
29775
|
+
*/
|
|
29776
|
+
"divide-style": [{
|
|
29777
|
+
divide: getLineStyles()
|
|
29778
|
+
}],
|
|
29779
|
+
/**
|
|
29780
|
+
* Border Color
|
|
29781
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29782
|
+
*/
|
|
29783
|
+
"border-color": [{
|
|
29784
|
+
border: [borderColor]
|
|
29785
|
+
}],
|
|
29786
|
+
/**
|
|
29787
|
+
* Border Color X
|
|
29788
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29789
|
+
*/
|
|
29790
|
+
"border-color-x": [{
|
|
29791
|
+
"border-x": [borderColor]
|
|
29792
|
+
}],
|
|
29793
|
+
/**
|
|
29794
|
+
* Border Color Y
|
|
29795
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29796
|
+
*/
|
|
29797
|
+
"border-color-y": [{
|
|
29798
|
+
"border-y": [borderColor]
|
|
29799
|
+
}],
|
|
29800
|
+
/**
|
|
29801
|
+
* Border Color Top
|
|
29802
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29803
|
+
*/
|
|
29804
|
+
"border-color-t": [{
|
|
29805
|
+
"border-t": [borderColor]
|
|
29806
|
+
}],
|
|
29807
|
+
/**
|
|
29808
|
+
* Border Color Right
|
|
29809
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29810
|
+
*/
|
|
29811
|
+
"border-color-r": [{
|
|
29812
|
+
"border-r": [borderColor]
|
|
29813
|
+
}],
|
|
29814
|
+
/**
|
|
29815
|
+
* Border Color Bottom
|
|
29816
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29817
|
+
*/
|
|
29818
|
+
"border-color-b": [{
|
|
29819
|
+
"border-b": [borderColor]
|
|
29820
|
+
}],
|
|
29821
|
+
/**
|
|
29822
|
+
* Border Color Left
|
|
29823
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
29824
|
+
*/
|
|
29825
|
+
"border-color-l": [{
|
|
29826
|
+
"border-l": [borderColor]
|
|
29827
|
+
}],
|
|
29828
|
+
/**
|
|
29829
|
+
* Divide Color
|
|
29830
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
29831
|
+
*/
|
|
29832
|
+
"divide-color": [{
|
|
29833
|
+
divide: [borderColor]
|
|
29834
|
+
}],
|
|
29835
|
+
/**
|
|
29836
|
+
* Outline Style
|
|
29837
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
29838
|
+
*/
|
|
29839
|
+
"outline-style": [{
|
|
29840
|
+
outline: ["", ...getLineStyles()]
|
|
29841
|
+
}],
|
|
29842
|
+
/**
|
|
29843
|
+
* Outline Offset
|
|
29844
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
29845
|
+
*/
|
|
29846
|
+
"outline-offset": [{
|
|
29847
|
+
"outline-offset": [isLength, isArbitraryValue]
|
|
29848
|
+
}],
|
|
29849
|
+
/**
|
|
29850
|
+
* Outline Width
|
|
29851
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
29852
|
+
*/
|
|
29853
|
+
"outline-w": [{
|
|
29854
|
+
outline: [isLength, isArbitraryLength]
|
|
29855
|
+
}],
|
|
29856
|
+
/**
|
|
29857
|
+
* Outline Color
|
|
29858
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
29859
|
+
*/
|
|
29860
|
+
"outline-color": [{
|
|
29861
|
+
outline: [colors]
|
|
29862
|
+
}],
|
|
29863
|
+
/**
|
|
29864
|
+
* Ring Width
|
|
29865
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
29866
|
+
*/
|
|
29867
|
+
"ring-w": [{
|
|
29868
|
+
ring: getLengthWithEmptyAndArbitrary()
|
|
29869
|
+
}],
|
|
29870
|
+
/**
|
|
29871
|
+
* Ring Width Inset
|
|
29872
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
29873
|
+
*/
|
|
29874
|
+
"ring-w-inset": ["ring-inset"],
|
|
29875
|
+
/**
|
|
29876
|
+
* Ring Color
|
|
29877
|
+
* @see https://tailwindcss.com/docs/ring-color
|
|
29878
|
+
*/
|
|
29879
|
+
"ring-color": [{
|
|
29880
|
+
ring: [colors]
|
|
29881
|
+
}],
|
|
29882
|
+
/**
|
|
29883
|
+
* Ring Opacity
|
|
29884
|
+
* @see https://tailwindcss.com/docs/ring-opacity
|
|
29885
|
+
*/
|
|
29886
|
+
"ring-opacity": [{
|
|
29887
|
+
"ring-opacity": [opacity]
|
|
29888
|
+
}],
|
|
29889
|
+
/**
|
|
29890
|
+
* Ring Offset Width
|
|
29891
|
+
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
29892
|
+
*/
|
|
29893
|
+
"ring-offset-w": [{
|
|
29894
|
+
"ring-offset": [isLength, isArbitraryLength]
|
|
29895
|
+
}],
|
|
29896
|
+
/**
|
|
29897
|
+
* Ring Offset Color
|
|
29898
|
+
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
29899
|
+
*/
|
|
29900
|
+
"ring-offset-color": [{
|
|
29901
|
+
"ring-offset": [colors]
|
|
29902
|
+
}],
|
|
29903
|
+
// Effects
|
|
29904
|
+
/**
|
|
29905
|
+
* Box Shadow
|
|
29906
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
29907
|
+
*/
|
|
29908
|
+
shadow: [{
|
|
29909
|
+
shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
|
|
29910
|
+
}],
|
|
29911
|
+
/**
|
|
29912
|
+
* Box Shadow Color
|
|
29913
|
+
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
29914
|
+
*/
|
|
29915
|
+
"shadow-color": [{
|
|
29916
|
+
shadow: [isAny]
|
|
29917
|
+
}],
|
|
29918
|
+
/**
|
|
29919
|
+
* Opacity
|
|
29920
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
29921
|
+
*/
|
|
29922
|
+
opacity: [{
|
|
29923
|
+
opacity: [opacity]
|
|
29924
|
+
}],
|
|
29925
|
+
/**
|
|
29926
|
+
* Mix Blend Mode
|
|
29927
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
29928
|
+
*/
|
|
29929
|
+
"mix-blend": [{
|
|
29930
|
+
"mix-blend": getBlendModes()
|
|
29931
|
+
}],
|
|
29932
|
+
/**
|
|
29933
|
+
* Background Blend Mode
|
|
29934
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
29935
|
+
*/
|
|
29936
|
+
"bg-blend": [{
|
|
29937
|
+
"bg-blend": getBlendModes()
|
|
29938
|
+
}],
|
|
29939
|
+
// Filters
|
|
29940
|
+
/**
|
|
29941
|
+
* Filter
|
|
29942
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
29943
|
+
* @see https://tailwindcss.com/docs/filter
|
|
29944
|
+
*/
|
|
29945
|
+
filter: [{
|
|
29946
|
+
filter: ["", "none"]
|
|
29947
|
+
}],
|
|
29948
|
+
/**
|
|
29949
|
+
* Blur
|
|
29950
|
+
* @see https://tailwindcss.com/docs/blur
|
|
29951
|
+
*/
|
|
29952
|
+
blur: [{
|
|
29953
|
+
blur: [blur]
|
|
29954
|
+
}],
|
|
29955
|
+
/**
|
|
29956
|
+
* Brightness
|
|
29957
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
29958
|
+
*/
|
|
29959
|
+
brightness: [{
|
|
29960
|
+
brightness: [brightness]
|
|
29961
|
+
}],
|
|
29962
|
+
/**
|
|
29963
|
+
* Contrast
|
|
29964
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
29965
|
+
*/
|
|
29966
|
+
contrast: [{
|
|
29967
|
+
contrast: [contrast]
|
|
29968
|
+
}],
|
|
29969
|
+
/**
|
|
29970
|
+
* Drop Shadow
|
|
29971
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
29972
|
+
*/
|
|
29973
|
+
"drop-shadow": [{
|
|
29974
|
+
"drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
|
|
29975
|
+
}],
|
|
29976
|
+
/**
|
|
29977
|
+
* Grayscale
|
|
29978
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
29979
|
+
*/
|
|
29980
|
+
grayscale: [{
|
|
29981
|
+
grayscale: [grayscale]
|
|
29982
|
+
}],
|
|
29983
|
+
/**
|
|
29984
|
+
* Hue Rotate
|
|
29985
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
29986
|
+
*/
|
|
29987
|
+
"hue-rotate": [{
|
|
29988
|
+
"hue-rotate": [hueRotate]
|
|
29989
|
+
}],
|
|
29990
|
+
/**
|
|
29991
|
+
* Invert
|
|
29992
|
+
* @see https://tailwindcss.com/docs/invert
|
|
29993
|
+
*/
|
|
29994
|
+
invert: [{
|
|
29995
|
+
invert: [invert]
|
|
29996
|
+
}],
|
|
29997
|
+
/**
|
|
29998
|
+
* Saturate
|
|
29999
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
30000
|
+
*/
|
|
30001
|
+
saturate: [{
|
|
30002
|
+
saturate: [saturate]
|
|
30003
|
+
}],
|
|
30004
|
+
/**
|
|
30005
|
+
* Sepia
|
|
30006
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
30007
|
+
*/
|
|
30008
|
+
sepia: [{
|
|
30009
|
+
sepia: [sepia]
|
|
30010
|
+
}],
|
|
30011
|
+
/**
|
|
30012
|
+
* Backdrop Filter
|
|
30013
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
30014
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
30015
|
+
*/
|
|
30016
|
+
"backdrop-filter": [{
|
|
30017
|
+
"backdrop-filter": ["", "none"]
|
|
30018
|
+
}],
|
|
30019
|
+
/**
|
|
30020
|
+
* Backdrop Blur
|
|
30021
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
30022
|
+
*/
|
|
30023
|
+
"backdrop-blur": [{
|
|
30024
|
+
"backdrop-blur": [blur]
|
|
30025
|
+
}],
|
|
30026
|
+
/**
|
|
30027
|
+
* Backdrop Brightness
|
|
30028
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
30029
|
+
*/
|
|
30030
|
+
"backdrop-brightness": [{
|
|
30031
|
+
"backdrop-brightness": [brightness]
|
|
30032
|
+
}],
|
|
30033
|
+
/**
|
|
30034
|
+
* Backdrop Contrast
|
|
30035
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
30036
|
+
*/
|
|
30037
|
+
"backdrop-contrast": [{
|
|
30038
|
+
"backdrop-contrast": [contrast]
|
|
30039
|
+
}],
|
|
30040
|
+
/**
|
|
30041
|
+
* Backdrop Grayscale
|
|
30042
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
30043
|
+
*/
|
|
30044
|
+
"backdrop-grayscale": [{
|
|
30045
|
+
"backdrop-grayscale": [grayscale]
|
|
30046
|
+
}],
|
|
30047
|
+
/**
|
|
30048
|
+
* Backdrop Hue Rotate
|
|
30049
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
30050
|
+
*/
|
|
30051
|
+
"backdrop-hue-rotate": [{
|
|
30052
|
+
"backdrop-hue-rotate": [hueRotate]
|
|
30053
|
+
}],
|
|
30054
|
+
/**
|
|
30055
|
+
* Backdrop Invert
|
|
30056
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
30057
|
+
*/
|
|
30058
|
+
"backdrop-invert": [{
|
|
30059
|
+
"backdrop-invert": [invert]
|
|
30060
|
+
}],
|
|
30061
|
+
/**
|
|
30062
|
+
* Backdrop Opacity
|
|
30063
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
30064
|
+
*/
|
|
30065
|
+
"backdrop-opacity": [{
|
|
30066
|
+
"backdrop-opacity": [opacity]
|
|
30067
|
+
}],
|
|
30068
|
+
/**
|
|
30069
|
+
* Backdrop Saturate
|
|
30070
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
30071
|
+
*/
|
|
30072
|
+
"backdrop-saturate": [{
|
|
30073
|
+
"backdrop-saturate": [saturate]
|
|
30074
|
+
}],
|
|
30075
|
+
/**
|
|
30076
|
+
* Backdrop Sepia
|
|
30077
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
30078
|
+
*/
|
|
30079
|
+
"backdrop-sepia": [{
|
|
30080
|
+
"backdrop-sepia": [sepia]
|
|
30081
|
+
}],
|
|
30082
|
+
// Tables
|
|
30083
|
+
/**
|
|
30084
|
+
* Border Collapse
|
|
30085
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
30086
|
+
*/
|
|
30087
|
+
"border-collapse": [{
|
|
30088
|
+
border: ["collapse", "separate"]
|
|
30089
|
+
}],
|
|
30090
|
+
/**
|
|
30091
|
+
* Border Spacing
|
|
30092
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
30093
|
+
*/
|
|
30094
|
+
"border-spacing": [{
|
|
30095
|
+
"border-spacing": [borderSpacing]
|
|
30096
|
+
}],
|
|
30097
|
+
/**
|
|
30098
|
+
* Border Spacing X
|
|
30099
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
30100
|
+
*/
|
|
30101
|
+
"border-spacing-x": [{
|
|
30102
|
+
"border-spacing-x": [borderSpacing]
|
|
30103
|
+
}],
|
|
30104
|
+
/**
|
|
30105
|
+
* Border Spacing Y
|
|
30106
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
30107
|
+
*/
|
|
30108
|
+
"border-spacing-y": [{
|
|
30109
|
+
"border-spacing-y": [borderSpacing]
|
|
30110
|
+
}],
|
|
30111
|
+
/**
|
|
30112
|
+
* Table Layout
|
|
30113
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
30114
|
+
*/
|
|
30115
|
+
"table-layout": [{
|
|
30116
|
+
table: ["auto", "fixed"]
|
|
30117
|
+
}],
|
|
30118
|
+
/**
|
|
30119
|
+
* Caption Side
|
|
30120
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
30121
|
+
*/
|
|
30122
|
+
caption: [{
|
|
30123
|
+
caption: ["top", "bottom"]
|
|
30124
|
+
}],
|
|
30125
|
+
// Transitions and Animation
|
|
30126
|
+
/**
|
|
30127
|
+
* Tranisition Property
|
|
30128
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
30129
|
+
*/
|
|
30130
|
+
transition: [{
|
|
30131
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
|
|
30132
|
+
}],
|
|
30133
|
+
/**
|
|
30134
|
+
* Transition Duration
|
|
30135
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
30136
|
+
*/
|
|
30137
|
+
duration: [{
|
|
30138
|
+
duration: getNumberAndArbitrary()
|
|
30139
|
+
}],
|
|
30140
|
+
/**
|
|
30141
|
+
* Transition Timing Function
|
|
30142
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
30143
|
+
*/
|
|
30144
|
+
ease: [{
|
|
30145
|
+
ease: ["linear", "in", "out", "in-out", isArbitraryValue]
|
|
30146
|
+
}],
|
|
30147
|
+
/**
|
|
30148
|
+
* Transition Delay
|
|
30149
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
30150
|
+
*/
|
|
30151
|
+
delay: [{
|
|
30152
|
+
delay: getNumberAndArbitrary()
|
|
30153
|
+
}],
|
|
30154
|
+
/**
|
|
30155
|
+
* Animation
|
|
30156
|
+
* @see https://tailwindcss.com/docs/animation
|
|
30157
|
+
*/
|
|
30158
|
+
animate: [{
|
|
30159
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
|
|
30160
|
+
}],
|
|
30161
|
+
// Transforms
|
|
30162
|
+
/**
|
|
30163
|
+
* Transform
|
|
30164
|
+
* @see https://tailwindcss.com/docs/transform
|
|
30165
|
+
*/
|
|
30166
|
+
transform: [{
|
|
30167
|
+
transform: ["", "gpu", "none"]
|
|
30168
|
+
}],
|
|
30169
|
+
/**
|
|
30170
|
+
* Scale
|
|
30171
|
+
* @see https://tailwindcss.com/docs/scale
|
|
30172
|
+
*/
|
|
30173
|
+
scale: [{
|
|
30174
|
+
scale: [scale]
|
|
30175
|
+
}],
|
|
30176
|
+
/**
|
|
30177
|
+
* Scale X
|
|
30178
|
+
* @see https://tailwindcss.com/docs/scale
|
|
30179
|
+
*/
|
|
30180
|
+
"scale-x": [{
|
|
30181
|
+
"scale-x": [scale]
|
|
30182
|
+
}],
|
|
30183
|
+
/**
|
|
30184
|
+
* Scale Y
|
|
30185
|
+
* @see https://tailwindcss.com/docs/scale
|
|
30186
|
+
*/
|
|
30187
|
+
"scale-y": [{
|
|
30188
|
+
"scale-y": [scale]
|
|
30189
|
+
}],
|
|
30190
|
+
/**
|
|
30191
|
+
* Rotate
|
|
30192
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
30193
|
+
*/
|
|
30194
|
+
rotate: [{
|
|
30195
|
+
rotate: [isInteger, isArbitraryValue]
|
|
30196
|
+
}],
|
|
30197
|
+
/**
|
|
30198
|
+
* Translate X
|
|
30199
|
+
* @see https://tailwindcss.com/docs/translate
|
|
30200
|
+
*/
|
|
30201
|
+
"translate-x": [{
|
|
30202
|
+
"translate-x": [translate]
|
|
30203
|
+
}],
|
|
30204
|
+
/**
|
|
30205
|
+
* Translate Y
|
|
30206
|
+
* @see https://tailwindcss.com/docs/translate
|
|
30207
|
+
*/
|
|
30208
|
+
"translate-y": [{
|
|
30209
|
+
"translate-y": [translate]
|
|
30210
|
+
}],
|
|
30211
|
+
/**
|
|
30212
|
+
* Skew X
|
|
30213
|
+
* @see https://tailwindcss.com/docs/skew
|
|
30214
|
+
*/
|
|
30215
|
+
"skew-x": [{
|
|
30216
|
+
"skew-x": [skew]
|
|
30217
|
+
}],
|
|
30218
|
+
/**
|
|
30219
|
+
* Skew Y
|
|
30220
|
+
* @see https://tailwindcss.com/docs/skew
|
|
30221
|
+
*/
|
|
30222
|
+
"skew-y": [{
|
|
30223
|
+
"skew-y": [skew]
|
|
30224
|
+
}],
|
|
30225
|
+
/**
|
|
30226
|
+
* Transform Origin
|
|
30227
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
30228
|
+
*/
|
|
30229
|
+
"transform-origin": [{
|
|
30230
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
|
|
30231
|
+
}],
|
|
30232
|
+
// Interactivity
|
|
30233
|
+
/**
|
|
30234
|
+
* Accent Color
|
|
30235
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
30236
|
+
*/
|
|
30237
|
+
accent: [{
|
|
30238
|
+
accent: ["auto", colors]
|
|
30239
|
+
}],
|
|
30240
|
+
/**
|
|
30241
|
+
* Appearance
|
|
30242
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
30243
|
+
*/
|
|
30244
|
+
appearance: ["appearance-none"],
|
|
30245
|
+
/**
|
|
30246
|
+
* Cursor
|
|
30247
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
30248
|
+
*/
|
|
30249
|
+
cursor: [{
|
|
30250
|
+
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]
|
|
30251
|
+
}],
|
|
30252
|
+
/**
|
|
30253
|
+
* Caret Color
|
|
30254
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
30255
|
+
*/
|
|
30256
|
+
"caret-color": [{
|
|
30257
|
+
caret: [colors]
|
|
30258
|
+
}],
|
|
30259
|
+
/**
|
|
30260
|
+
* Pointer Events
|
|
30261
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
30262
|
+
*/
|
|
30263
|
+
"pointer-events": [{
|
|
30264
|
+
"pointer-events": ["none", "auto"]
|
|
30265
|
+
}],
|
|
30266
|
+
/**
|
|
30267
|
+
* Resize
|
|
30268
|
+
* @see https://tailwindcss.com/docs/resize
|
|
30269
|
+
*/
|
|
30270
|
+
resize: [{
|
|
30271
|
+
resize: ["none", "y", "x", ""]
|
|
30272
|
+
}],
|
|
30273
|
+
/**
|
|
30274
|
+
* Scroll Behavior
|
|
30275
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
30276
|
+
*/
|
|
30277
|
+
"scroll-behavior": [{
|
|
30278
|
+
scroll: ["auto", "smooth"]
|
|
30279
|
+
}],
|
|
30280
|
+
/**
|
|
30281
|
+
* Scroll Margin
|
|
30282
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30283
|
+
*/
|
|
30284
|
+
"scroll-m": [{
|
|
30285
|
+
"scroll-m": getSpacingWithArbitrary()
|
|
30286
|
+
}],
|
|
30287
|
+
/**
|
|
30288
|
+
* Scroll Margin X
|
|
30289
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30290
|
+
*/
|
|
30291
|
+
"scroll-mx": [{
|
|
30292
|
+
"scroll-mx": getSpacingWithArbitrary()
|
|
30293
|
+
}],
|
|
30294
|
+
/**
|
|
30295
|
+
* Scroll Margin Y
|
|
30296
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30297
|
+
*/
|
|
30298
|
+
"scroll-my": [{
|
|
30299
|
+
"scroll-my": getSpacingWithArbitrary()
|
|
30300
|
+
}],
|
|
30301
|
+
/**
|
|
30302
|
+
* Scroll Margin Start
|
|
30303
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30304
|
+
*/
|
|
30305
|
+
"scroll-ms": [{
|
|
30306
|
+
"scroll-ms": getSpacingWithArbitrary()
|
|
30307
|
+
}],
|
|
30308
|
+
/**
|
|
30309
|
+
* Scroll Margin End
|
|
30310
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30311
|
+
*/
|
|
30312
|
+
"scroll-me": [{
|
|
30313
|
+
"scroll-me": getSpacingWithArbitrary()
|
|
30314
|
+
}],
|
|
30315
|
+
/**
|
|
30316
|
+
* Scroll Margin Top
|
|
30317
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30318
|
+
*/
|
|
30319
|
+
"scroll-mt": [{
|
|
30320
|
+
"scroll-mt": getSpacingWithArbitrary()
|
|
30321
|
+
}],
|
|
30322
|
+
/**
|
|
30323
|
+
* Scroll Margin Right
|
|
30324
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30325
|
+
*/
|
|
30326
|
+
"scroll-mr": [{
|
|
30327
|
+
"scroll-mr": getSpacingWithArbitrary()
|
|
30328
|
+
}],
|
|
30329
|
+
/**
|
|
30330
|
+
* Scroll Margin Bottom
|
|
30331
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30332
|
+
*/
|
|
30333
|
+
"scroll-mb": [{
|
|
30334
|
+
"scroll-mb": getSpacingWithArbitrary()
|
|
30335
|
+
}],
|
|
30336
|
+
/**
|
|
30337
|
+
* Scroll Margin Left
|
|
30338
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
30339
|
+
*/
|
|
30340
|
+
"scroll-ml": [{
|
|
30341
|
+
"scroll-ml": getSpacingWithArbitrary()
|
|
30342
|
+
}],
|
|
30343
|
+
/**
|
|
30344
|
+
* Scroll Padding
|
|
30345
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30346
|
+
*/
|
|
30347
|
+
"scroll-p": [{
|
|
30348
|
+
"scroll-p": getSpacingWithArbitrary()
|
|
30349
|
+
}],
|
|
30350
|
+
/**
|
|
30351
|
+
* Scroll Padding X
|
|
30352
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30353
|
+
*/
|
|
30354
|
+
"scroll-px": [{
|
|
30355
|
+
"scroll-px": getSpacingWithArbitrary()
|
|
30356
|
+
}],
|
|
30357
|
+
/**
|
|
30358
|
+
* Scroll Padding Y
|
|
30359
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30360
|
+
*/
|
|
30361
|
+
"scroll-py": [{
|
|
30362
|
+
"scroll-py": getSpacingWithArbitrary()
|
|
30363
|
+
}],
|
|
30364
|
+
/**
|
|
30365
|
+
* Scroll Padding Start
|
|
30366
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30367
|
+
*/
|
|
30368
|
+
"scroll-ps": [{
|
|
30369
|
+
"scroll-ps": getSpacingWithArbitrary()
|
|
30370
|
+
}],
|
|
30371
|
+
/**
|
|
30372
|
+
* Scroll Padding End
|
|
30373
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30374
|
+
*/
|
|
30375
|
+
"scroll-pe": [{
|
|
30376
|
+
"scroll-pe": getSpacingWithArbitrary()
|
|
30377
|
+
}],
|
|
30378
|
+
/**
|
|
30379
|
+
* Scroll Padding Top
|
|
30380
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30381
|
+
*/
|
|
30382
|
+
"scroll-pt": [{
|
|
30383
|
+
"scroll-pt": getSpacingWithArbitrary()
|
|
30384
|
+
}],
|
|
30385
|
+
/**
|
|
30386
|
+
* Scroll Padding Right
|
|
30387
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30388
|
+
*/
|
|
30389
|
+
"scroll-pr": [{
|
|
30390
|
+
"scroll-pr": getSpacingWithArbitrary()
|
|
30391
|
+
}],
|
|
30392
|
+
/**
|
|
30393
|
+
* Scroll Padding Bottom
|
|
30394
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30395
|
+
*/
|
|
30396
|
+
"scroll-pb": [{
|
|
30397
|
+
"scroll-pb": getSpacingWithArbitrary()
|
|
30398
|
+
}],
|
|
30399
|
+
/**
|
|
30400
|
+
* Scroll Padding Left
|
|
30401
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
30402
|
+
*/
|
|
30403
|
+
"scroll-pl": [{
|
|
30404
|
+
"scroll-pl": getSpacingWithArbitrary()
|
|
30405
|
+
}],
|
|
30406
|
+
/**
|
|
30407
|
+
* Scroll Snap Align
|
|
30408
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
30409
|
+
*/
|
|
30410
|
+
"snap-align": [{
|
|
30411
|
+
snap: ["start", "end", "center", "align-none"]
|
|
30412
|
+
}],
|
|
30413
|
+
/**
|
|
30414
|
+
* Scroll Snap Stop
|
|
30415
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
30416
|
+
*/
|
|
30417
|
+
"snap-stop": [{
|
|
30418
|
+
snap: ["normal", "always"]
|
|
30419
|
+
}],
|
|
30420
|
+
/**
|
|
30421
|
+
* Scroll Snap Type
|
|
30422
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
30423
|
+
*/
|
|
30424
|
+
"snap-type": [{
|
|
30425
|
+
snap: ["none", "x", "y", "both"]
|
|
30426
|
+
}],
|
|
30427
|
+
/**
|
|
30428
|
+
* Scroll Snap Type Strictness
|
|
30429
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
30430
|
+
*/
|
|
30431
|
+
"snap-strictness": [{
|
|
30432
|
+
snap: ["mandatory", "proximity"]
|
|
30433
|
+
}],
|
|
30434
|
+
/**
|
|
30435
|
+
* Touch Action
|
|
30436
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
30437
|
+
*/
|
|
30438
|
+
touch: [{
|
|
30439
|
+
touch: ["auto", "none", "manipulation"]
|
|
30440
|
+
}],
|
|
30441
|
+
/**
|
|
30442
|
+
* Touch Action X
|
|
30443
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
30444
|
+
*/
|
|
30445
|
+
"touch-x": [{
|
|
30446
|
+
"touch-pan": ["x", "left", "right"]
|
|
30447
|
+
}],
|
|
30448
|
+
/**
|
|
30449
|
+
* Touch Action Y
|
|
30450
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
30451
|
+
*/
|
|
30452
|
+
"touch-y": [{
|
|
30453
|
+
"touch-pan": ["y", "up", "down"]
|
|
30454
|
+
}],
|
|
30455
|
+
/**
|
|
30456
|
+
* Touch Action Pinch Zoom
|
|
30457
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
30458
|
+
*/
|
|
30459
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
30460
|
+
/**
|
|
30461
|
+
* User Select
|
|
30462
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
30463
|
+
*/
|
|
30464
|
+
select: [{
|
|
30465
|
+
select: ["none", "text", "all", "auto"]
|
|
30466
|
+
}],
|
|
30467
|
+
/**
|
|
30468
|
+
* Will Change
|
|
30469
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
30470
|
+
*/
|
|
30471
|
+
"will-change": [{
|
|
30472
|
+
"will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
|
|
30473
|
+
}],
|
|
30474
|
+
// SVG
|
|
30475
|
+
/**
|
|
30476
|
+
* Fill
|
|
30477
|
+
* @see https://tailwindcss.com/docs/fill
|
|
30478
|
+
*/
|
|
30479
|
+
fill: [{
|
|
30480
|
+
fill: [colors, "none"]
|
|
30481
|
+
}],
|
|
30482
|
+
/**
|
|
30483
|
+
* Stroke Width
|
|
30484
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
30485
|
+
*/
|
|
30486
|
+
"stroke-w": [{
|
|
30487
|
+
stroke: [isLength, isArbitraryLength, isArbitraryNumber]
|
|
30488
|
+
}],
|
|
30489
|
+
/**
|
|
30490
|
+
* Stroke
|
|
30491
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
30492
|
+
*/
|
|
30493
|
+
stroke: [{
|
|
30494
|
+
stroke: [colors, "none"]
|
|
30495
|
+
}],
|
|
30496
|
+
// Accessibility
|
|
30497
|
+
/**
|
|
30498
|
+
* Screen Readers
|
|
30499
|
+
* @see https://tailwindcss.com/docs/screen-readers
|
|
30500
|
+
*/
|
|
30501
|
+
sr: ["sr-only", "not-sr-only"]
|
|
30502
|
+
},
|
|
30503
|
+
conflictingClassGroups: {
|
|
30504
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
30505
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
30506
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
30507
|
+
"inset-x": ["right", "left"],
|
|
30508
|
+
"inset-y": ["top", "bottom"],
|
|
30509
|
+
flex: ["basis", "grow", "shrink"],
|
|
30510
|
+
gap: ["gap-x", "gap-y"],
|
|
30511
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
30512
|
+
px: ["pr", "pl"],
|
|
30513
|
+
py: ["pt", "pb"],
|
|
30514
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
30515
|
+
mx: ["mr", "ml"],
|
|
30516
|
+
my: ["mt", "mb"],
|
|
30517
|
+
"font-size": ["leading"],
|
|
30518
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
30519
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
30520
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
30521
|
+
"fvn-figure": ["fvn-normal"],
|
|
30522
|
+
"fvn-spacing": ["fvn-normal"],
|
|
30523
|
+
"fvn-fraction": ["fvn-normal"],
|
|
30524
|
+
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"],
|
|
30525
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
30526
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
30527
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
30528
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
30529
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
30530
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
30531
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
30532
|
+
"border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
30533
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
30534
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
30535
|
+
"border-color": ["border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
30536
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
30537
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
30538
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
30539
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
30540
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
30541
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
30542
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
30543
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
30544
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
30545
|
+
"touch-x": ["touch"],
|
|
30546
|
+
"touch-y": ["touch"],
|
|
30547
|
+
"touch-pz": ["touch"]
|
|
30548
|
+
},
|
|
30549
|
+
conflictingClassGroupModifiers: {
|
|
30550
|
+
"font-size": ["leading"]
|
|
30551
|
+
}
|
|
30552
|
+
};
|
|
30553
|
+
}
|
|
30554
|
+
function mergeConfigs(baseConfig, {
|
|
30555
|
+
cacheSize,
|
|
30556
|
+
prefix,
|
|
30557
|
+
separator,
|
|
30558
|
+
extend: extend2 = {},
|
|
30559
|
+
override = {}
|
|
30560
|
+
}) {
|
|
30561
|
+
overrideProperty(baseConfig, "cacheSize", cacheSize);
|
|
30562
|
+
overrideProperty(baseConfig, "prefix", prefix);
|
|
30563
|
+
overrideProperty(baseConfig, "separator", separator);
|
|
30564
|
+
for (const configKey in override) {
|
|
30565
|
+
overrideConfigProperties(baseConfig[configKey], override[configKey]);
|
|
30566
|
+
}
|
|
30567
|
+
for (const key in extend2) {
|
|
30568
|
+
mergeConfigProperties(baseConfig[key], extend2[key]);
|
|
30569
|
+
}
|
|
30570
|
+
return baseConfig;
|
|
30571
|
+
}
|
|
30572
|
+
function overrideProperty(baseObject, overrideKey, overrideValue) {
|
|
30573
|
+
if (overrideValue !== void 0) {
|
|
30574
|
+
baseObject[overrideKey] = overrideValue;
|
|
30575
|
+
}
|
|
30576
|
+
}
|
|
30577
|
+
function overrideConfigProperties(baseObject, overrideObject) {
|
|
30578
|
+
if (overrideObject) {
|
|
30579
|
+
for (const key in overrideObject) {
|
|
30580
|
+
overrideProperty(baseObject, key, overrideObject[key]);
|
|
30581
|
+
}
|
|
30582
|
+
}
|
|
30583
|
+
}
|
|
30584
|
+
function mergeConfigProperties(baseObject, mergeObject) {
|
|
30585
|
+
if (mergeObject) {
|
|
30586
|
+
for (const key in mergeObject) {
|
|
30587
|
+
const mergeValue = mergeObject[key];
|
|
30588
|
+
if (mergeValue !== void 0) {
|
|
30589
|
+
baseObject[key] = (baseObject[key] || []).concat(mergeValue);
|
|
30590
|
+
}
|
|
30591
|
+
}
|
|
30592
|
+
}
|
|
30593
|
+
}
|
|
30594
|
+
function extendTailwindMerge(configExtension, ...createConfig) {
|
|
30595
|
+
return typeof configExtension === "function" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
|
|
30596
|
+
}
|
|
30597
|
+
const L = "scalar-component", re = extendTailwindMerge({
|
|
30598
|
+
extend: {
|
|
30599
|
+
classGroups: {
|
|
30600
|
+
// Add the scalar class prefix as a custom class to be deduped by tailwind-merge
|
|
30601
|
+
[L]: [L]
|
|
30602
|
+
}
|
|
30603
|
+
}
|
|
30604
|
+
}), { cva: m, cx: c, compose: et } = defineConfig({
|
|
30605
|
+
hooks: {
|
|
30606
|
+
onComplete: (o) => `${re(o, L)}`
|
|
30607
|
+
}
|
|
30608
|
+
});
|
|
30609
|
+
const j = {
|
|
30610
|
+
solid: [
|
|
30611
|
+
"scalar-button-solid",
|
|
30612
|
+
"bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
|
|
30613
|
+
],
|
|
30614
|
+
outlined: [
|
|
30615
|
+
"scalar-button-outlined",
|
|
30616
|
+
"active:bg-btn-1 border border-solid border-border bg-transparent text-fore-1 hocus:bg-back-2"
|
|
30617
|
+
],
|
|
30618
|
+
ghost: [
|
|
30619
|
+
"scalar-button-ghost",
|
|
30620
|
+
"bg-transparent text-fore-3 active:text-fore-2 hocus:text-fore-2"
|
|
30621
|
+
],
|
|
30622
|
+
danger: [
|
|
30623
|
+
"scalar-button-danger",
|
|
30624
|
+
"bg-error text-white active:brightness-90 hocus:brightness-90"
|
|
30625
|
+
]
|
|
30626
|
+
};
|
|
30627
|
+
m({
|
|
30628
|
+
base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
|
|
30629
|
+
variants: {
|
|
30630
|
+
disabled: {
|
|
30631
|
+
true: "bg-background-2 text-color-3 cursor-not-allowed shadow-none"
|
|
30632
|
+
},
|
|
30633
|
+
fullWidth: { true: "w-full" },
|
|
30634
|
+
size: { md: "h-10 px-6 text-sm" },
|
|
30635
|
+
variant: j
|
|
30636
|
+
},
|
|
30637
|
+
compoundVariants: [
|
|
30638
|
+
{
|
|
30639
|
+
disabled: true,
|
|
30640
|
+
variant: "ghost",
|
|
30641
|
+
class: "bg-transparent text-ghost"
|
|
30642
|
+
}
|
|
30643
|
+
]
|
|
30644
|
+
});
|
|
30645
|
+
const ve = (o) => Object.fromEntries(Array.from(o).map((t2) => [t2.name, t2.value])), he = (o) => ({ raw: t2 }) => {
|
|
30646
|
+
const n = new o().parseFromString(t2, "image/svg+xml");
|
|
30647
|
+
if (n.getElementsByTagName("parsererror").length)
|
|
30648
|
+
return;
|
|
30649
|
+
const i = n.documentElement, p = ve(i.attributes), { width: f, height: w, ...b } = p;
|
|
30650
|
+
return h("svg", { ...b, innerHTML: i.innerHTML });
|
|
30651
|
+
}, ge = defineAsyncComponent(async () => {
|
|
30652
|
+
const o = typeof DOMParser > "u" ? (await import("./index-c5a56f98.js").then((n) => n.i)).DOMParser : DOMParser, t2 = he(o);
|
|
30653
|
+
return t2.props = {
|
|
30654
|
+
raw: {
|
|
30655
|
+
type: String,
|
|
30656
|
+
required: true
|
|
30657
|
+
}
|
|
30658
|
+
}, t2;
|
|
30659
|
+
}), pe = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
|
|
30660
|
+
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.429"
|
|
30661
|
+
d="M24 1.714v44.572M1.714 24h44.572" />
|
|
30662
|
+
</svg>`, me = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.5 23.5" fill="currentColor">
|
|
30663
|
+
<path d="M11.2 23.5 0 12.3l2.15-2.15 9.05 9.05L30.4 0l2.15 2.15z" />
|
|
30664
|
+
</svg>`, fe = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
30665
|
+
<path d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
|
30666
|
+
</svg>`, we = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
30667
|
+
<path d="M15.75 19.5 8.25 12l7.5-7.5" />
|
|
30668
|
+
</svg>`, be = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
30669
|
+
<path d="m8.25 4.5 7.5 7.5-7.5 7.5" />
|
|
30670
|
+
</svg>`, _e = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
30671
|
+
<path d="m4.5 15.75 7.5-7.5 7.5 7.5" />
|
|
30672
|
+
</svg>`, xe = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16">
|
|
30673
|
+
<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
|
|
30674
|
+
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" />
|
|
30675
|
+
</svg>`, ke = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
|
|
30676
|
+
<path stroke="currentColor" d="m12.5 1.5-11 11m0-11 11 11" />
|
|
30677
|
+
</svg>`, Ce = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
|
|
30678
|
+
<path
|
|
30679
|
+
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"
|
|
30680
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30681
|
+
</svg>`, ye = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
|
30682
|
+
<path
|
|
30683
|
+
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" />
|
|
30684
|
+
</svg>`, Me = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
|
|
30685
|
+
<g fill="none" fill-rule="evenodd" transform="translate(.67 .67)">
|
|
30686
|
+
<rect transform="rotate(180 4 4)" />
|
|
30687
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".5"
|
|
30688
|
+
d="M2.85 1.73h3.4v3.4m0-3.4L1.74 6.24" />
|
|
30689
|
+
</g>
|
|
30690
|
+
</svg>`, Le = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 1024 1024">
|
|
30691
|
+
<path
|
|
30692
|
+
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" />
|
|
30693
|
+
</svg>`, ze = `<svg
|
|
30694
|
+
height="24"
|
|
30695
|
+
viewBox="0 0 24 24"
|
|
30696
|
+
width="24"
|
|
30697
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
30698
|
+
<path
|
|
30699
|
+
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"
|
|
30700
|
+
fill="currentColor"
|
|
30701
|
+
stroke-width="1"></path>
|
|
30702
|
+
</svg>`, Se = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
|
|
30703
|
+
<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"
|
|
30704
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30705
|
+
<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"
|
|
30706
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30707
|
+
<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"
|
|
30708
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30709
|
+
<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"
|
|
30710
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30711
|
+
<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"
|
|
30712
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30713
|
+
<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"
|
|
30714
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30715
|
+
<path
|
|
30716
|
+
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"
|
|
30717
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30718
|
+
<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"
|
|
30719
|
+
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30720
|
+
<path
|
|
30721
|
+
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"
|
|
30722
|
+
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
30723
|
+
</svg>`, Be = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 593 593">
|
|
30724
|
+
<path fill="currentColor" fill-rule="evenodd"
|
|
30725
|
+
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" />
|
|
30726
|
+
</svg>`, Ae = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 662 662">
|
|
30727
|
+
<path fill-rule="evenodd" fill="currentColor"
|
|
30728
|
+
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" />
|
|
30729
|
+
</svg>`, Ve = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620">
|
|
30730
|
+
<path fill="currentColor"
|
|
30731
|
+
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" />
|
|
30732
|
+
</svg>`, $e = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 642 642" fill="currentColor">
|
|
30733
|
+
<path
|
|
30734
|
+
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" />
|
|
30735
|
+
</svg>`, Te = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620" fill="currentColor">
|
|
30736
|
+
<path
|
|
30737
|
+
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" />
|
|
30738
|
+
</svg>`, Ze = `<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 14 14">
|
|
30739
|
+
<path fill="none" stroke="currentColor" d="M14 3.4H0m14 7.2H0" />
|
|
30740
|
+
</svg>`, De = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
|
|
30741
|
+
<path fill="currentColor" fill-rule="evenodd"
|
|
30742
|
+
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"
|
|
30743
|
+
clip-rule="evenodd"></path>
|
|
30744
|
+
</svg>`, Fe = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">
|
|
30745
|
+
<path fill-rule="evenodd"
|
|
30746
|
+
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" />
|
|
30747
|
+
</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) => {
|
|
30748
|
+
const t2 = `./${o}.svg`;
|
|
30749
|
+
return A[t2] === void 0 ? (console.warn(`Could not find icon: ${o}`), "") : A[t2];
|
|
30750
|
+
}, I = /* @__PURE__ */ defineComponent({
|
|
30751
|
+
__name: "ScalarIcon",
|
|
30752
|
+
props: {
|
|
30753
|
+
icon: {},
|
|
30754
|
+
size: {}
|
|
30755
|
+
},
|
|
30756
|
+
setup(o) {
|
|
30757
|
+
const t2 = o, e = m({
|
|
30758
|
+
variants: {
|
|
30759
|
+
size: {
|
|
30760
|
+
xs: "h-3 w-3",
|
|
30761
|
+
sm: "h-3.5 w-3.5",
|
|
30762
|
+
md: "h-4 w-4",
|
|
30763
|
+
lg: "h-5 w-5",
|
|
30764
|
+
xl: "h-6 w-6",
|
|
30765
|
+
full: "h-full w-full"
|
|
30766
|
+
}
|
|
30767
|
+
},
|
|
30768
|
+
defaultVariants: {
|
|
30769
|
+
size: "full"
|
|
30770
|
+
}
|
|
30771
|
+
}), n = computed(() => je(t2.icon));
|
|
30772
|
+
return (i, p) => n.value ? (openBlock(), createBlock(unref(ge), {
|
|
30773
|
+
key: 0,
|
|
30774
|
+
class: normalizeClass(unref(c)("scalar-icon", unref(e)({ size: i.size }))),
|
|
30775
|
+
raw: n.value
|
|
30776
|
+
}, null, 8, ["class", "raw"])) : createCommentVNode("", true);
|
|
30777
|
+
}
|
|
30778
|
+
});
|
|
28189
30779
|
const _hoisted_1$f = { class: "table" };
|
|
28190
30780
|
const _hoisted_2$9 = { class: "table-row" };
|
|
28191
|
-
const _hoisted_3$
|
|
30781
|
+
const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("div", { class: "table-row-item" }, [
|
|
28192
30782
|
/* @__PURE__ */ createElementVNode("label", null, "Key")
|
|
28193
30783
|
], -1);
|
|
28194
|
-
const _hoisted_4$
|
|
30784
|
+
const _hoisted_4$3 = /* @__PURE__ */ createElementVNode("div", { class: "table-row-item" }, [
|
|
28195
30785
|
/* @__PURE__ */ createElementVNode("label", null, "Value")
|
|
28196
30786
|
], -1);
|
|
28197
|
-
const _hoisted_5$
|
|
30787
|
+
const _hoisted_5$3 = { class: "table-row-item" };
|
|
28198
30788
|
const _hoisted_6$2 = /* @__PURE__ */ createElementVNode("label", null, "Description", -1);
|
|
28199
30789
|
const _hoisted_7$2 = [
|
|
28200
30790
|
_hoisted_6$2
|
|
@@ -28250,38 +30840,30 @@ const _hoisted_21 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
28250
30840
|
const _hoisted_22 = [
|
|
28251
30841
|
_hoisted_21
|
|
28252
30842
|
];
|
|
28253
|
-
const _hoisted_23 =
|
|
28254
|
-
|
|
28255
|
-
|
|
28256
|
-
height: "100%",
|
|
28257
|
-
viewBox: "0 0 48 48",
|
|
28258
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
28259
|
-
}, [
|
|
28260
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
28261
|
-
d: "M24 1.714v44.572M1.714 24h44.572",
|
|
28262
|
-
fill: "none",
|
|
28263
|
-
stroke: "currentColor",
|
|
28264
|
-
"stroke-linecap": "round",
|
|
28265
|
-
"stroke-linejoin": "round",
|
|
28266
|
-
"stroke-width": "3.429",
|
|
28267
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
28268
|
-
})
|
|
28269
|
-
], -1);
|
|
30843
|
+
const _hoisted_23 = { class: "meta-actions" };
|
|
30844
|
+
const _hoisted_24 = { class: "meta-actions-item-icon" };
|
|
30845
|
+
const _hoisted_25 = { class: "meta-actions-item-icon" };
|
|
28270
30846
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
28271
30847
|
__name: "Grid",
|
|
28272
30848
|
props: {
|
|
28273
30849
|
items: {},
|
|
28274
|
-
addLabel: {}
|
|
30850
|
+
addLabel: {},
|
|
30851
|
+
showMoreFilter: { type: Boolean }
|
|
28275
30852
|
},
|
|
28276
30853
|
emits: ["deleteIndex", "addAnother"],
|
|
28277
|
-
setup(__props) {
|
|
30854
|
+
setup(__props, { emit: emits }) {
|
|
28278
30855
|
const showDescription = ref(false);
|
|
30856
|
+
const showMore = ref(false);
|
|
30857
|
+
function addHandler() {
|
|
30858
|
+
emits("addAnother");
|
|
30859
|
+
showMore.value = true;
|
|
30860
|
+
}
|
|
28279
30861
|
return (_ctx, _cache) => {
|
|
28280
30862
|
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
28281
30863
|
createElementVNode("div", _hoisted_2$9, [
|
|
28282
|
-
_hoisted_3$
|
|
28283
|
-
_hoisted_4$
|
|
28284
|
-
withDirectives(createElementVNode("div", _hoisted_5$
|
|
30864
|
+
_hoisted_3$4,
|
|
30865
|
+
_hoisted_4$3,
|
|
30866
|
+
withDirectives(createElementVNode("div", _hoisted_5$3, _hoisted_7$2, 512), [
|
|
28285
30867
|
[vShow, showDescription.value]
|
|
28286
30868
|
]),
|
|
28287
30869
|
createElementVNode("div", {
|
|
@@ -28290,7 +30872,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
28290
30872
|
}, _hoisted_9$1)
|
|
28291
30873
|
]),
|
|
28292
30874
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
|
|
28293
|
-
return openBlock(), createElementBlock("div", {
|
|
30875
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
28294
30876
|
key: item.id,
|
|
28295
30877
|
class: normalizeClass(["table-row", {
|
|
28296
30878
|
"required-parameter": item.required
|
|
@@ -28339,17 +30921,34 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
28339
30921
|
onClick: ($event) => _ctx.$emit("deleteIndex", index)
|
|
28340
30922
|
}, _hoisted_22, 8, _hoisted_20)
|
|
28341
30923
|
])
|
|
28342
|
-
], 2)
|
|
30924
|
+
], 2)), [
|
|
30925
|
+
[vShow, !_ctx.showMoreFilter || _ctx.showMoreFilter && index < 5 || showMore.value]
|
|
30926
|
+
]);
|
|
28343
30927
|
}), 128)),
|
|
28344
|
-
|
|
28345
|
-
|
|
28346
|
-
|
|
28347
|
-
|
|
28348
|
-
|
|
28349
|
-
|
|
28350
|
-
|
|
28351
|
-
|
|
28352
|
-
|
|
30928
|
+
createElementVNode("div", _hoisted_23, [
|
|
30929
|
+
_ctx.addLabel ? (openBlock(), createElementBlock("button", {
|
|
30930
|
+
key: 0,
|
|
30931
|
+
class: "meta-actions-item",
|
|
30932
|
+
type: "button",
|
|
30933
|
+
onClick: addHandler
|
|
30934
|
+
}, [
|
|
30935
|
+
createElementVNode("i", _hoisted_24, [
|
|
30936
|
+
createVNode(unref(I), { icon: "Add" })
|
|
30937
|
+
]),
|
|
30938
|
+
createTextVNode(" " + toDisplayString(_ctx.addLabel), 1)
|
|
30939
|
+
])) : createCommentVNode("", true),
|
|
30940
|
+
_ctx.showMoreFilter && _ctx.items.length > 5 && !showMore.value ? (openBlock(), createElementBlock("button", {
|
|
30941
|
+
key: 1,
|
|
30942
|
+
class: "meta-actions-item",
|
|
30943
|
+
type: "button",
|
|
30944
|
+
onClick: _cache[1] || (_cache[1] = ($event) => showMore.value = true)
|
|
30945
|
+
}, [
|
|
30946
|
+
createTextVNode(" Show More "),
|
|
30947
|
+
createElementVNode("i", _hoisted_25, [
|
|
30948
|
+
createVNode(unref(I), { icon: "ChevronDown" })
|
|
30949
|
+
])
|
|
30950
|
+
])) : createCommentVNode("", true)
|
|
30951
|
+
])
|
|
28353
30952
|
]);
|
|
28354
30953
|
};
|
|
28355
30954
|
}
|
|
@@ -28358,9 +30957,9 @@ const Grid_vue_vue_type_style_index_0_lang = "";
|
|
|
28358
30957
|
const Grid_vue_vue_type_style_index_1_lang = "";
|
|
28359
30958
|
const _hoisted_1$e = { class: "navtable simpletable" };
|
|
28360
30959
|
const _hoisted_2$8 = { class: "navtable-table" };
|
|
28361
|
-
const _hoisted_3$
|
|
28362
|
-
const _hoisted_4$
|
|
28363
|
-
const _hoisted_5$
|
|
30960
|
+
const _hoisted_3$3 = /* @__PURE__ */ createStaticVNode('<div class="navtable-item navtable-item__top"><div class="navtable-item-33"><label for="">Name</label></div><div class="navtable-item-66"><label for="">Value</label></div></div>', 1);
|
|
30961
|
+
const _hoisted_4$2 = { class: "navtable-item-33" };
|
|
30962
|
+
const _hoisted_5$2 = { class: "navtable-item-66" };
|
|
28364
30963
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
28365
30964
|
__name: "SimpleGrid",
|
|
28366
30965
|
props: {
|
|
@@ -28370,16 +30969,16 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
28370
30969
|
return (_ctx, _cache) => {
|
|
28371
30970
|
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
28372
30971
|
createElementVNode("div", _hoisted_2$8, [
|
|
28373
|
-
_hoisted_3$
|
|
30972
|
+
_hoisted_3$3,
|
|
28374
30973
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
|
|
28375
30974
|
return openBlock(), createElementBlock("div", {
|
|
28376
30975
|
key: item.id,
|
|
28377
30976
|
class: "navtable-item"
|
|
28378
30977
|
}, [
|
|
28379
|
-
createElementVNode("div", _hoisted_4$
|
|
30978
|
+
createElementVNode("div", _hoisted_4$2, [
|
|
28380
30979
|
createElementVNode("p", null, toDisplayString(item.name), 1)
|
|
28381
30980
|
]),
|
|
28382
|
-
createElementVNode("div", _hoisted_5$
|
|
30981
|
+
createElementVNode("div", _hoisted_5$2, [
|
|
28383
30982
|
createElementVNode("p", null, toDisplayString(item.value), 1)
|
|
28384
30983
|
])
|
|
28385
30984
|
]);
|
|
@@ -28412,7 +31011,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
28412
31011
|
_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), {
|
|
28413
31012
|
key: 1,
|
|
28414
31013
|
items: _ctx.formData
|
|
28415
|
-
}, null, 8, ["items"])) : (openBlock(), createBlock(unref(
|
|
31014
|
+
}, null, 8, ["items"])) : (openBlock(), createBlock(unref(CodeMirror), {
|
|
28416
31015
|
key: 2,
|
|
28417
31016
|
content: unref(activeRequest2).body,
|
|
28418
31017
|
languages: ["json"],
|
|
@@ -28618,6 +31217,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
28618
31217
|
key: 1,
|
|
28619
31218
|
addLabel: "Query Parameter",
|
|
28620
31219
|
items: _ctx.queries,
|
|
31220
|
+
showMoreFilter: true,
|
|
28621
31221
|
onAddAnother: addAnotherHandler,
|
|
28622
31222
|
onDeleteIndex: handleDeleteIndex
|
|
28623
31223
|
}, null, 8, ["items"]))
|
|
@@ -28685,6 +31285,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
28685
31285
|
key: 1,
|
|
28686
31286
|
addLabel: "Variable",
|
|
28687
31287
|
items: _ctx.variables,
|
|
31288
|
+
showMoreFilter: true,
|
|
28688
31289
|
onAddAnother: addAnotherHandler,
|
|
28689
31290
|
onDeleteIndex: handleDeleteIndex
|
|
28690
31291
|
}, null, 8, ["items"]))
|
|
@@ -28696,9 +31297,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
28696
31297
|
});
|
|
28697
31298
|
const _hoisted_1$8 = { class: "scalar-api-client__main__left custom-scroll" };
|
|
28698
31299
|
const _hoisted_2$3 = { class: "scalar-api-client__main__content" };
|
|
28699
|
-
const _hoisted_3$
|
|
28700
|
-
const _hoisted_4$
|
|
28701
|
-
const _hoisted_5$
|
|
31300
|
+
const _hoisted_3$2 = /* @__PURE__ */ createElementVNode("label", null, "Request", -1);
|
|
31301
|
+
const _hoisted_4$1 = { class: "meta" };
|
|
31302
|
+
const _hoisted_5$1 = { class: "meta-item meta-item__input" };
|
|
28702
31303
|
const _hoisted_6$1 = ["disabled"];
|
|
28703
31304
|
const _hoisted_7$1 = /* @__PURE__ */ createElementVNode("div", { class: "scalar-api-client__main__scroll-container" }, null, -1);
|
|
28704
31305
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
@@ -28708,9 +31309,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
28708
31309
|
return (_ctx, _cache) => {
|
|
28709
31310
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
28710
31311
|
createElementVNode("div", _hoisted_2$3, [
|
|
28711
|
-
_hoisted_3$
|
|
28712
|
-
createElementVNode("div", _hoisted_4$
|
|
28713
|
-
createElementVNode("div", _hoisted_5$
|
|
31312
|
+
_hoisted_3$2,
|
|
31313
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
31314
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
28714
31315
|
withDirectives(createElementVNode("input", {
|
|
28715
31316
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(activeRequest2).name = $event),
|
|
28716
31317
|
class: "scalar-api-client__request-name",
|
|
@@ -28753,51 +31354,19 @@ const _hoisted_1$7 = {
|
|
|
28753
31354
|
key: 1,
|
|
28754
31355
|
class: "scalar-api-client__empty-state"
|
|
28755
31356
|
};
|
|
28756
|
-
const _hoisted_2$2 =
|
|
28757
|
-
const _hoisted_3$2 = /* @__PURE__ */ createElementVNode("svg", {
|
|
28758
|
-
class: "flow-icon",
|
|
28759
|
-
height: "100%",
|
|
28760
|
-
viewBox: "0 0 24 24",
|
|
28761
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
28762
|
-
}, [
|
|
28763
|
-
/* @__PURE__ */ createElementVNode("g", null, [
|
|
28764
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
28765
|
-
d: "M22.67 16.94a1.22 1.22 0 0 0 -1.22 1.21V20a1.57 1.57 0 0 1 -1.57 1.57H4.12A1.57 1.57 0 0 1 2.55 20v-1.85a1.22 1.22 0 0 0 -2.43 0V20a4 4 0 0 0 4 4h15.76a4 4 0 0 0 4 -4v-1.85a1.21 1.21 0 0 0 -1.21 -1.21Z",
|
|
28766
|
-
fill: "currentcolor",
|
|
28767
|
-
"stroke-width": "1"
|
|
28768
|
-
}),
|
|
28769
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
28770
|
-
d: "M12 0a1.94 1.94 0 0 0 -1.94 1.94V11a0.25 0.25 0 0 1 -0.25 0.25H7.15a1 1 0 0 0 -0.73 1.6l4.85 5.58a1 1 0 0 0 1.46 0l4.85 -5.58a1 1 0 0 0 -0.73 -1.6h-2.66a0.25 0.25 0 0 1 -0.25 -0.25V1.94A1.94 1.94 0 0 0 12 0Z",
|
|
28771
|
-
fill: "currentcolor",
|
|
28772
|
-
"stroke-width": "1"
|
|
28773
|
-
})
|
|
28774
|
-
])
|
|
28775
|
-
], -1);
|
|
28776
|
-
const _hoisted_4$1 = {
|
|
28777
|
-
key: 2,
|
|
28778
|
-
class: "scalar-api-client__empty-state"
|
|
28779
|
-
};
|
|
28780
|
-
const _hoisted_5$1 = {
|
|
31357
|
+
const _hoisted_2$2 = {
|
|
28781
31358
|
key: 1,
|
|
28782
31359
|
class: "scalar-api-client__empty-state"
|
|
28783
31360
|
};
|
|
28784
31361
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
28785
31362
|
__name: "ResponseBody",
|
|
28786
31363
|
props: {
|
|
28787
|
-
active: { type: Boolean },
|
|
28788
|
-
data: {},
|
|
31364
|
+
active: { type: Boolean, default: false },
|
|
31365
|
+
data: { default: null },
|
|
28789
31366
|
headers: {}
|
|
28790
31367
|
},
|
|
28791
31368
|
setup(__props) {
|
|
28792
31369
|
const props = __props;
|
|
28793
|
-
const isBlob = (d) => {
|
|
28794
|
-
return d.type !== void 0;
|
|
28795
|
-
};
|
|
28796
|
-
const title = computed(() => {
|
|
28797
|
-
if (!props.data || !isBlob(props.data))
|
|
28798
|
-
return "Body";
|
|
28799
|
-
return "Body (Blob)";
|
|
28800
|
-
});
|
|
28801
31370
|
const mediaType = computed(() => {
|
|
28802
31371
|
const contentTypeHeader = props.headers.find(
|
|
28803
31372
|
(header2) => header2.name.toLowerCase() === "content-type"
|
|
@@ -28811,24 +31380,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
28811
31380
|
return null;
|
|
28812
31381
|
}
|
|
28813
31382
|
});
|
|
28814
|
-
const formattedStringResponse = computed(() => {
|
|
28815
|
-
if (!props.data || isBlob(props.data))
|
|
28816
|
-
return void 0;
|
|
28817
|
-
if (isJsonString(props.data)) {
|
|
28818
|
-
return JSON.stringify(JSON.parse(props.data), null, 2);
|
|
28819
|
-
} else if (typeof toRaw(props.data) === "object") {
|
|
28820
|
-
return JSON.stringify(props.data, null, 2);
|
|
28821
|
-
}
|
|
28822
|
-
if (!isJsonString(props.data)) {
|
|
28823
|
-
return JSON.stringify(props.data, null, 2);
|
|
28824
|
-
}
|
|
28825
|
-
return props.data;
|
|
28826
|
-
});
|
|
28827
|
-
const blobDownloadHref = computed(() => {
|
|
28828
|
-
if (!props.data || !isBlob(props.data))
|
|
28829
|
-
return void 0;
|
|
28830
|
-
return URL.createObjectURL(props.data);
|
|
28831
|
-
});
|
|
28832
31383
|
const codeMirrorLanguages = computed(() => {
|
|
28833
31384
|
if (mediaType.value === "application/json") {
|
|
28834
31385
|
return ["json"];
|
|
@@ -28842,33 +31393,25 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
28842
31393
|
return null;
|
|
28843
31394
|
});
|
|
28844
31395
|
return (_ctx, _cache) => {
|
|
28845
|
-
return openBlock(), createBlock(unref(_sfc_main$j), { title:
|
|
31396
|
+
return openBlock(), createBlock(unref(_sfc_main$j), { title: "Body" }, {
|
|
28846
31397
|
default: withCtx(() => [
|
|
28847
31398
|
_ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
28848
|
-
codeMirrorLanguages.value ? (openBlock(), createBlock(unref(
|
|
31399
|
+
codeMirrorLanguages.value ? (openBlock(), createBlock(unref(CodeMirror), {
|
|
28849
31400
|
key: 0,
|
|
28850
|
-
content:
|
|
31401
|
+
content: _ctx.data,
|
|
28851
31402
|
languages: codeMirrorLanguages.value,
|
|
28852
31403
|
readOnly: ""
|
|
28853
|
-
}, null, 8, ["content", "languages"])) :
|
|
28854
|
-
createElementVNode("a", {
|
|
28855
|
-
class: "scalar-api-client-add",
|
|
28856
|
-
href: blobDownloadHref.value
|
|
28857
|
-
}, [
|
|
28858
|
-
_hoisted_3$2,
|
|
28859
|
-
createTextVNode(" Download File ")
|
|
28860
|
-
], 8, _hoisted_2$2)
|
|
28861
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
31404
|
+
}, null, 8, ["content", "languages"])) : (openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
28862
31405
|
mediaType.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
28863
31406
|
createTextVNode(" No Preview Available (" + toDisplayString(mediaType.value) + ") ", 1)
|
|
28864
31407
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
28865
31408
|
createTextVNode(" Can’t render a preview. The Content-Type header is missing or unknown. ")
|
|
28866
31409
|
], 64))
|
|
28867
31410
|
]))
|
|
28868
|
-
], 64)) : (openBlock(), createElementBlock("div",
|
|
31411
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_2$2, " No Response "))
|
|
28869
31412
|
]),
|
|
28870
31413
|
_: 1
|
|
28871
|
-
}
|
|
31414
|
+
});
|
|
28872
31415
|
};
|
|
28873
31416
|
}
|
|
28874
31417
|
});
|
|
@@ -29044,8 +31587,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
29044
31587
|
const props = __props;
|
|
29045
31588
|
const getContentLength = (response) => {
|
|
29046
31589
|
var _a2;
|
|
29047
|
-
if ((_a2 = response == null ? void 0 : response.headers) == null ? void 0 : _a2["
|
|
29048
|
-
return prettyBytes(
|
|
31590
|
+
if ((_a2 = response == null ? void 0 : response.headers) == null ? void 0 : _a2["X-API-Client-Content-Length"]) {
|
|
31591
|
+
return prettyBytes(
|
|
31592
|
+
parseFloat(response.headers["X-API-Client-Content-Length"])
|
|
31593
|
+
);
|
|
31594
|
+
}
|
|
29049
31595
|
return prettyBytes(0);
|
|
29050
31596
|
};
|
|
29051
31597
|
const statusCodeInformation = computed(() => {
|
|
@@ -29111,9 +31657,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
29111
31657
|
const responseHeaders = computed(() => {
|
|
29112
31658
|
var _a2;
|
|
29113
31659
|
const headers = (_a2 = activeResponse2.value) == null ? void 0 : _a2.headers;
|
|
29114
|
-
|
|
29115
|
-
|
|
29116
|
-
|
|
31660
|
+
return headers ? Object.keys(headers).map((key) => ({ name: key, value: headers[key] })).filter(
|
|
31661
|
+
(item) => ![
|
|
31662
|
+
"rest-api-client-content-length",
|
|
31663
|
+
"X-API-Client-Content-Length"
|
|
31664
|
+
].includes(item.name)
|
|
31665
|
+
) : [];
|
|
29117
31666
|
});
|
|
29118
31667
|
const responseCookies = computed(() => {
|
|
29119
31668
|
var _a2;
|
|
@@ -29122,7 +31671,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
29122
31671
|
});
|
|
29123
31672
|
const responseData = computed(() => {
|
|
29124
31673
|
var _a2;
|
|
29125
|
-
|
|
31674
|
+
const value = (_a2 = activeResponse2.value) == null ? void 0 : _a2.data;
|
|
31675
|
+
if (value && isJsonString(value)) {
|
|
31676
|
+
return JSON.stringify(JSON.parse(value), null, 2);
|
|
31677
|
+
} else if (value && typeof toRaw(value) === "object") {
|
|
31678
|
+
return JSON.stringify(value, null, 2);
|
|
31679
|
+
}
|
|
31680
|
+
if (value && !isJsonString(value)) {
|
|
31681
|
+
return JSON.stringify(value, null, 2);
|
|
31682
|
+
}
|
|
31683
|
+
return value;
|
|
29126
31684
|
});
|
|
29127
31685
|
return (_ctx, _cache) => {
|
|
29128
31686
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|