@scalar/components 0.12.60 → 0.12.62
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/dist/components/ScalarIcon/ScalarIcon.stories.d.ts +16 -8
- package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts.map +1 -1
- package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts +8 -3
- package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts.map +1 -1
- package/dist/components/ScalarIcon/ScalarIcon.vue.js +3 -3
- package/dist/components/ScalarIcon/ScalarIcon.vue2.js +18 -14
- package/dist/components/ScalarIcon/icons/index.d.ts +1 -8
- package/dist/components/ScalarIcon/icons/index.d.ts.map +1 -1
- package/dist/components/ScalarIcon/index.d.ts +1 -1
- package/dist/components/ScalarIcon/logos/Adonisjs.svg.js +21 -0
- package/dist/components/ScalarIcon/logos/Docusaurus.svg.js +16 -0
- package/dist/components/ScalarIcon/logos/Dotnet.svg.js +23 -0
- package/dist/components/ScalarIcon/logos/Elysiajs.svg.js +16 -0
- package/dist/components/ScalarIcon/logos/Express.svg.js +19 -0
- package/dist/components/ScalarIcon/logos/Fastapi.svg.js +19 -0
- package/dist/components/ScalarIcon/logos/Fastify.svg.js +19 -0
- package/dist/components/ScalarIcon/logos/Go.svg.js +23 -0
- package/dist/components/ScalarIcon/logos/Hono.svg.js +24 -0
- package/dist/components/ScalarIcon/logos/Laravel.svg.js +19 -0
- package/dist/components/ScalarIcon/logos/Litestar.svg.js +16 -0
- package/dist/components/ScalarIcon/logos/Nestjs.svg.js +21 -0
- package/dist/components/ScalarIcon/logos/Nextjs.svg.js +19 -0
- package/dist/components/ScalarIcon/logos/Nitro.svg.js +16 -0
- package/dist/components/ScalarIcon/logos/Nuxt.svg.js +19 -0
- package/dist/components/ScalarIcon/logos/Openapi.svg.js +16 -0
- package/dist/components/ScalarIcon/logos/Platformatic.svg.js +28 -0
- package/dist/components/ScalarIcon/logos/React.svg.js +34 -0
- package/dist/components/ScalarIcon/logos/Rust.svg.js +19 -0
- package/dist/components/ScalarIcon/logos/Vue.svg.js +23 -0
- package/dist/components/ScalarIcon/logos/index.d.ts +2 -0
- package/dist/components/ScalarIcon/logos/index.d.ts.map +1 -0
- package/dist/components/ScalarIcon/utils/index.d.ts +17 -0
- package/dist/components/ScalarIcon/utils/index.d.ts.map +1 -0
- package/dist/components/ScalarIcon/utils/index.js +283 -0
- package/dist/components/ScalarModal/ScalarModal.stories.d.ts +3 -3
- package/dist/components/ScalarModal/ScalarModal.vue.d.ts +2 -2
- package/dist/components/ScalarModal/ScalarModal.vue.d.ts.map +1 -1
- package/dist/components/ScalarModal/ScalarModal.vue.js +4 -4
- package/dist/components/ScalarModal/ScalarModal.vue2.js +28 -25
- package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.js +5 -83
- package/dist/components/ScalarSearchInput/ScalarSearchInput.vue2.js +83 -2
- package/dist/components/ScalarTooltip/ScalarTooltip.stories.d.ts +24 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.stories.d.ts.map +1 -1
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts +3 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts.map +1 -1
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.js +19 -17
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/components/ScalarIcon/icons/icons.d.ts +0 -2
- package/dist/components/ScalarIcon/icons/icons.d.ts.map +0 -1
- package/dist/components/ScalarIcon/icons/index.js +0 -238
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as n, createElementVNode as o } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 24 24"
|
|
6
|
+
};
|
|
7
|
+
function l(s, e) {
|
|
8
|
+
return t(), n("svg", r, e[0] || (e[0] = [
|
|
9
|
+
o("path", {
|
|
10
|
+
stroke: "#21FA90",
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M5.038 13.757v3.814m1.496-4.566 3.04 1.761 4.534-2.627V6.885L9.574 4.258 5.038 6.885v4.56m1.496 1.56v1.668m0-1.668 1.49-.91"
|
|
14
|
+
}, null, -1),
|
|
15
|
+
o("path", {
|
|
16
|
+
stroke: "#00050B",
|
|
17
|
+
"stroke-linecap": "round",
|
|
18
|
+
"stroke-linejoin": "round",
|
|
19
|
+
"stroke-width": ".885",
|
|
20
|
+
d: "m21.719 10.719 1.839 1.09v1.09l-1.84 1.091M2.834 8.13.774 9.322v5.326l2.016 1.167m3.744 1.07v1.183l3.021 1.674 2.32-1.358-.02-2.471m2.282-1.387v1.3L16.31 17.1l3.175-1.9v-5.186L16.36 8.217"
|
|
21
|
+
}, null, -1)
|
|
22
|
+
]));
|
|
23
|
+
}
|
|
24
|
+
const d = { render: l };
|
|
25
|
+
export {
|
|
26
|
+
d as default,
|
|
27
|
+
l as render
|
|
28
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as l, createElementVNode as t } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 24 24"
|
|
6
|
+
};
|
|
7
|
+
function n(s, e) {
|
|
8
|
+
return o(), l("svg", r, e[0] || (e[0] = [
|
|
9
|
+
t("path", {
|
|
10
|
+
fill: "#61DAFB",
|
|
11
|
+
d: "M12.5 14.014a1.783 1.783 0 1 0 0-3.565 1.783 1.783 0 0 0 0 3.565"
|
|
12
|
+
}, null, -1),
|
|
13
|
+
t("path", {
|
|
14
|
+
stroke: "#61DAFB",
|
|
15
|
+
"stroke-width": ".87",
|
|
16
|
+
d: "M12.5 15.884c5.283 0 9.565-1.635 9.565-3.652S17.783 8.58 12.5 8.58s-9.565 1.635-9.565 3.652 4.282 3.652 9.565 3.652Z"
|
|
17
|
+
}, null, -1),
|
|
18
|
+
t("path", {
|
|
19
|
+
stroke: "#61DAFB",
|
|
20
|
+
"stroke-width": ".87",
|
|
21
|
+
d: "M9.337 14.058c2.642 4.575 6.199 7.466 7.946 6.457 1.746-1.008 1.021-5.534-1.62-10.11C13.02 5.832 9.464 2.94 7.717 3.949s-1.021 5.535 1.62 10.11Z"
|
|
22
|
+
}, null, -1),
|
|
23
|
+
t("path", {
|
|
24
|
+
stroke: "#61DAFB",
|
|
25
|
+
"stroke-width": ".87",
|
|
26
|
+
d: "M9.337 10.406c-2.641 4.575-3.366 9.1-1.62 10.11 1.747 1.008 5.304-1.883 7.946-6.458s3.366-9.101 1.62-10.11c-1.747-1.009-5.305 1.883-7.946 6.458Z"
|
|
27
|
+
}, null, -1)
|
|
28
|
+
]));
|
|
29
|
+
}
|
|
30
|
+
const c = { render: n };
|
|
31
|
+
export {
|
|
32
|
+
c as default,
|
|
33
|
+
n as render
|
|
34
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { openBlock as a, createElementBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
const o = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 24 24"
|
|
6
|
+
};
|
|
7
|
+
function q(n, l) {
|
|
8
|
+
return a(), e("svg", o, l[0] || (l[0] = [
|
|
9
|
+
t("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
d: "m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481"
|
|
12
|
+
}, null, -1)
|
|
13
|
+
]));
|
|
14
|
+
}
|
|
15
|
+
const c = { render: q };
|
|
16
|
+
export {
|
|
17
|
+
c as default,
|
|
18
|
+
q as render
|
|
19
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as n, createElementVNode as l } from "vue";
|
|
2
|
+
const o = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 24 24"
|
|
6
|
+
};
|
|
7
|
+
function r(d, e) {
|
|
8
|
+
return t(), n("svg", o, e[0] || (e[0] = [
|
|
9
|
+
l("path", {
|
|
10
|
+
fill: "#41B883",
|
|
11
|
+
d: "m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"
|
|
12
|
+
}, null, -1),
|
|
13
|
+
l("path", {
|
|
14
|
+
fill: "#34495E",
|
|
15
|
+
d: "m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
]));
|
|
18
|
+
}
|
|
19
|
+
const m = { render: r };
|
|
20
|
+
export {
|
|
21
|
+
m as default,
|
|
22
|
+
r as render
|
|
23
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const LOGOS: readonly ["Adonisjs", "Docusaurus", "Dotnet", "Elysiajs", "Express", "Fastapi", "Fastify", "Go", "Hono", "Laravel", "Litestar", "Nestjs", "Nextjs", "Nitro", "Nuxt", "Openapi", "Platformatic", "React", "Rust", "Vue"];
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ScalarIcon/logos/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,yNAqBR,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ICONS } from '../icons';
|
|
2
|
+
import type { LOGOS } from '../logos';
|
|
3
|
+
export type Icon = (typeof ICONS)[number];
|
|
4
|
+
export type Logo = (typeof LOGOS)[number];
|
|
5
|
+
/**
|
|
6
|
+
* Generate a Vue component from the icon SVGs
|
|
7
|
+
*
|
|
8
|
+
* For any changes to this file, please ensure it works with SSR
|
|
9
|
+
*/
|
|
10
|
+
export declare const getIcon: (name: Icon) => SVGElement | null;
|
|
11
|
+
/**
|
|
12
|
+
* Generate a Vue component from the logo SVGs
|
|
13
|
+
*
|
|
14
|
+
* For any changes to this file, please ensure it works with SSR
|
|
15
|
+
*/
|
|
16
|
+
export declare const getLogo: (name: Logo) => SVGElement | null;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ScalarIcon/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAErC,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAA;AACzC,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAA;AAYzC;;;;GAIG;AACH,eAAO,MAAM,OAAO,SAAU,IAAI,sBASjC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,OAAO,SAAU,IAAI,sBAQjC,CAAA"}
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import * as g from "../icons/Add.svg.js";
|
|
2
|
+
import * as a from "../icons/AddTab.svg.js";
|
|
3
|
+
import * as i from "../icons/ArrowLeft.svg.js";
|
|
4
|
+
import * as n from "../icons/ArrowRight.svg.js";
|
|
5
|
+
import * as t from "../icons/Brackets.svg.js";
|
|
6
|
+
import * as p from "../icons/Branch.svg.js";
|
|
7
|
+
import * as e from "../icons/Changelog.svg.js";
|
|
8
|
+
import * as c from "../icons/Checkmark.svg.js";
|
|
9
|
+
import * as f from "../icons/ChevronDown.svg.js";
|
|
10
|
+
import * as l from "../icons/ChevronLeft.svg.js";
|
|
11
|
+
import * as v from "../icons/ChevronRight.svg.js";
|
|
12
|
+
import * as u from "../icons/ChevronUp.svg.js";
|
|
13
|
+
import * as L from "../icons/Clipboard.svg.js";
|
|
14
|
+
import * as d from "../icons/Close.svg.js";
|
|
15
|
+
import * as h from "../icons/CloseTab.svg.js";
|
|
16
|
+
import * as C from "../icons/CloseTabs.svg.js";
|
|
17
|
+
import * as k from "../icons/Cloud.svg.js";
|
|
18
|
+
import * as w from "../icons/CodeFolder.svg.js";
|
|
19
|
+
import * as b from "../icons/Cog.svg.js";
|
|
20
|
+
import * as D from "../icons/Collection.svg.js";
|
|
21
|
+
import * as j from "../icons/Cookie.svg.js";
|
|
22
|
+
import * as S from "../icons/DarkMode.svg.js";
|
|
23
|
+
import * as T from "../icons/Delete.svg.js";
|
|
24
|
+
import * as P from "../icons/Discord.svg.js";
|
|
25
|
+
import * as y from "../icons/DiscordLine.svg.js";
|
|
26
|
+
import * as A from "../icons/DocsPage.svg.js";
|
|
27
|
+
import * as E from "../icons/Download.svg.js";
|
|
28
|
+
import * as F from "../icons/Duplicate.svg.js";
|
|
29
|
+
import * as H from "../icons/Edit.svg.js";
|
|
30
|
+
import * as U from "../icons/Ellipses.svg.js";
|
|
31
|
+
import * as R from "../icons/Email.svg.js";
|
|
32
|
+
import * as x from "../icons/Error.svg.js";
|
|
33
|
+
import * as M from "../icons/Example.svg.js";
|
|
34
|
+
import * as G from "../icons/ExternalLink.svg.js";
|
|
35
|
+
import * as N from "../icons/FilterList.svg.js";
|
|
36
|
+
import * as I from "../icons/Folder.svg.js";
|
|
37
|
+
import * as O from "../icons/GitHub.svg.js";
|
|
38
|
+
import * as W from "../icons/GitHubLine.svg.js";
|
|
39
|
+
import * as B from "../icons/Google.svg.js";
|
|
40
|
+
import * as $ from "../icons/Help.svg.js";
|
|
41
|
+
import * as J from "../icons/Hide.svg.js";
|
|
42
|
+
import * as K from "../icons/History.svg.js";
|
|
43
|
+
import * as V from "../icons/House.svg.js";
|
|
44
|
+
import * as q from "../icons/Import.svg.js";
|
|
45
|
+
import * as z from "../icons/Info.svg.js";
|
|
46
|
+
import * as Q from "../icons/Key.svg.js";
|
|
47
|
+
import * as X from "../icons/Leave.svg.js";
|
|
48
|
+
import * as Y from "../icons/LightDarkModeToggle.svg.js";
|
|
49
|
+
import * as Z from "../icons/LightMode.svg.js";
|
|
50
|
+
import * as _ from "../icons/Link.svg.js";
|
|
51
|
+
import * as oo from "../icons/Lock.svg.js";
|
|
52
|
+
import * as ro from "../icons/Logo.svg.js";
|
|
53
|
+
import * as so from "../icons/LogoAPI.svg.js";
|
|
54
|
+
import * as mo from "../icons/LogoClient.svg.js";
|
|
55
|
+
import * as go from "../icons/LogoMarket.svg.js";
|
|
56
|
+
import * as ao from "../icons/LogoSwagger.svg.js";
|
|
57
|
+
import * as io from "../icons/Magic.svg.js";
|
|
58
|
+
import * as no from "../icons/Menu.svg.js";
|
|
59
|
+
import * as to from "../icons/Page.svg.js";
|
|
60
|
+
import * as po from "../icons/PaperAirplane.svg.js";
|
|
61
|
+
import * as eo from "../icons/Pencil.svg.js";
|
|
62
|
+
import * as co from "../icons/Play.svg.js";
|
|
63
|
+
import * as fo from "../icons/Refresh.svg.js";
|
|
64
|
+
import * as lo from "../icons/Roadmap.svg.js";
|
|
65
|
+
import * as vo from "../icons/Scribble.svg.js";
|
|
66
|
+
import * as uo from "../icons/Search.svg.js";
|
|
67
|
+
import * as Lo from "../icons/Server.svg.js";
|
|
68
|
+
import * as ho from "../icons/Settings.svg.js";
|
|
69
|
+
import * as Co from "../icons/Show.svg.js";
|
|
70
|
+
import * as ko from "../icons/Sort.svg.js";
|
|
71
|
+
import * as wo from "../icons/Terminal.svg.js";
|
|
72
|
+
import * as bo from "../icons/ThumbsDown.svg.js";
|
|
73
|
+
import * as Do from "../icons/ThumbsUp.svg.js";
|
|
74
|
+
import * as jo from "../icons/Trash.svg.js";
|
|
75
|
+
import * as So from "../icons/Unlock.svg.js";
|
|
76
|
+
import * as To from "../icons/Unwatch.svg.js";
|
|
77
|
+
import * as Po from "../icons/Upload.svg.js";
|
|
78
|
+
import * as yo from "../icons/UploadSimple.svg.js";
|
|
79
|
+
import * as Ao from "../icons/User.svg.js";
|
|
80
|
+
import * as Eo from "../icons/Users.svg.js";
|
|
81
|
+
import * as Fo from "../icons/Wallet.svg.js";
|
|
82
|
+
import * as Ho from "../icons/Watch.svg.js";
|
|
83
|
+
import * as Uo from "../icons/Workspace.svg.js";
|
|
84
|
+
import * as Ro from "../icons/programming-framework-angular.svg.js";
|
|
85
|
+
import * as xo from "../icons/programming-framework-astro.svg.js";
|
|
86
|
+
import * as Mo from "../icons/programming-framework-laravel.svg.js";
|
|
87
|
+
import * as Go from "../icons/programming-framework-nextdotjs.svg.js";
|
|
88
|
+
import * as No from "../icons/programming-framework-react.svg.js";
|
|
89
|
+
import * as Io from "../icons/programming-framework-vuedotjs.svg.js";
|
|
90
|
+
import * as Oo from "../icons/programming-language-c.svg.js";
|
|
91
|
+
import * as Wo from "../icons/programming-language-clojure.svg.js";
|
|
92
|
+
import * as Bo from "../icons/programming-language-csharp.svg.js";
|
|
93
|
+
import * as $o from "../icons/programming-language-css3.svg.js";
|
|
94
|
+
import * as Jo from "../icons/programming-language-go.svg.js";
|
|
95
|
+
import * as Ko from "../icons/programming-language-html5.svg.js";
|
|
96
|
+
import * as Vo from "../icons/programming-language-http.svg.js";
|
|
97
|
+
import * as qo from "../icons/programming-language-java.svg.js";
|
|
98
|
+
import * as zo from "../icons/programming-language-javascript.svg.js";
|
|
99
|
+
import * as Qo from "../icons/programming-language-json.svg.js";
|
|
100
|
+
import * as Xo from "../icons/programming-language-kotlin.svg.js";
|
|
101
|
+
import * as Yo from "../icons/programming-language-node.svg.js";
|
|
102
|
+
import * as Zo from "../icons/programming-language-objc.svg.js";
|
|
103
|
+
import * as _o from "../icons/programming-language-ocaml.svg.js";
|
|
104
|
+
import * as or from "../icons/programming-language-php.svg.js";
|
|
105
|
+
import * as rr from "../icons/programming-language-powershell.svg.js";
|
|
106
|
+
import * as sr from "../icons/programming-language-python.svg.js";
|
|
107
|
+
import * as mr from "../icons/programming-language-r.svg.js";
|
|
108
|
+
import * as gr from "../icons/programming-language-ruby.svg.js";
|
|
109
|
+
import * as ar from "../icons/programming-language-scala.svg.js";
|
|
110
|
+
import * as ir from "../icons/programming-language-shell.svg.js";
|
|
111
|
+
import * as nr from "../icons/programming-language-swift.svg.js";
|
|
112
|
+
import * as tr from "../icons/programming-language-typescript.svg.js";
|
|
113
|
+
import * as pr from "../icons/programming-script-code.svg.js";
|
|
114
|
+
import * as er from "../icons/programming-tool-git.svg.js";
|
|
115
|
+
import * as cr from "../icons/programming-tool-tailwindcss.svg.js";
|
|
116
|
+
import * as fr from "../logos/Adonisjs.svg.js";
|
|
117
|
+
import * as lr from "../logos/Docusaurus.svg.js";
|
|
118
|
+
import * as vr from "../logos/Dotnet.svg.js";
|
|
119
|
+
import * as ur from "../logos/Elysiajs.svg.js";
|
|
120
|
+
import * as Lr from "../logos/Express.svg.js";
|
|
121
|
+
import * as dr from "../logos/Fastapi.svg.js";
|
|
122
|
+
import * as hr from "../logos/Fastify.svg.js";
|
|
123
|
+
import * as Cr from "../logos/Go.svg.js";
|
|
124
|
+
import * as kr from "../logos/Hono.svg.js";
|
|
125
|
+
import * as wr from "../logos/Laravel.svg.js";
|
|
126
|
+
import * as br from "../logos/Litestar.svg.js";
|
|
127
|
+
import * as Dr from "../logos/Nestjs.svg.js";
|
|
128
|
+
import * as jr from "../logos/Nextjs.svg.js";
|
|
129
|
+
import * as Sr from "../logos/Nitro.svg.js";
|
|
130
|
+
import * as Tr from "../logos/Nuxt.svg.js";
|
|
131
|
+
import * as Pr from "../logos/Openapi.svg.js";
|
|
132
|
+
import * as yr from "../logos/Platformatic.svg.js";
|
|
133
|
+
import * as Ar from "../logos/React.svg.js";
|
|
134
|
+
import * as Er from "../logos/Rust.svg.js";
|
|
135
|
+
import * as Fr from "../logos/Vue.svg.js";
|
|
136
|
+
const s = /* @__PURE__ */ Object.assign({
|
|
137
|
+
"../icons/Add.svg": g,
|
|
138
|
+
"../icons/AddTab.svg": a,
|
|
139
|
+
"../icons/ArrowLeft.svg": i,
|
|
140
|
+
"../icons/ArrowRight.svg": n,
|
|
141
|
+
"../icons/Brackets.svg": t,
|
|
142
|
+
"../icons/Branch.svg": p,
|
|
143
|
+
"../icons/Changelog.svg": e,
|
|
144
|
+
"../icons/Checkmark.svg": c,
|
|
145
|
+
"../icons/ChevronDown.svg": f,
|
|
146
|
+
"../icons/ChevronLeft.svg": l,
|
|
147
|
+
"../icons/ChevronRight.svg": v,
|
|
148
|
+
"../icons/ChevronUp.svg": u,
|
|
149
|
+
"../icons/Clipboard.svg": L,
|
|
150
|
+
"../icons/Close.svg": d,
|
|
151
|
+
"../icons/CloseTab.svg": h,
|
|
152
|
+
"../icons/CloseTabs.svg": C,
|
|
153
|
+
"../icons/Cloud.svg": k,
|
|
154
|
+
"../icons/CodeFolder.svg": w,
|
|
155
|
+
"../icons/Cog.svg": b,
|
|
156
|
+
"../icons/Collection.svg": D,
|
|
157
|
+
"../icons/Cookie.svg": j,
|
|
158
|
+
"../icons/DarkMode.svg": S,
|
|
159
|
+
"../icons/Delete.svg": T,
|
|
160
|
+
"../icons/Discord.svg": P,
|
|
161
|
+
"../icons/DiscordLine.svg": y,
|
|
162
|
+
"../icons/DocsPage.svg": A,
|
|
163
|
+
"../icons/Download.svg": E,
|
|
164
|
+
"../icons/Duplicate.svg": F,
|
|
165
|
+
"../icons/Edit.svg": H,
|
|
166
|
+
"../icons/Ellipses.svg": U,
|
|
167
|
+
"../icons/Email.svg": R,
|
|
168
|
+
"../icons/Error.svg": x,
|
|
169
|
+
"../icons/Example.svg": M,
|
|
170
|
+
"../icons/ExternalLink.svg": G,
|
|
171
|
+
"../icons/FilterList.svg": N,
|
|
172
|
+
"../icons/Folder.svg": I,
|
|
173
|
+
"../icons/GitHub.svg": O,
|
|
174
|
+
"../icons/GitHubLine.svg": W,
|
|
175
|
+
"../icons/Google.svg": B,
|
|
176
|
+
"../icons/Help.svg": $,
|
|
177
|
+
"../icons/Hide.svg": J,
|
|
178
|
+
"../icons/History.svg": K,
|
|
179
|
+
"../icons/House.svg": V,
|
|
180
|
+
"../icons/Import.svg": q,
|
|
181
|
+
"../icons/Info.svg": z,
|
|
182
|
+
"../icons/Key.svg": Q,
|
|
183
|
+
"../icons/Leave.svg": X,
|
|
184
|
+
"../icons/LightDarkModeToggle.svg": Y,
|
|
185
|
+
"../icons/LightMode.svg": Z,
|
|
186
|
+
"../icons/Link.svg": _,
|
|
187
|
+
"../icons/Lock.svg": oo,
|
|
188
|
+
"../icons/Logo.svg": ro,
|
|
189
|
+
"../icons/LogoAPI.svg": so,
|
|
190
|
+
"../icons/LogoClient.svg": mo,
|
|
191
|
+
"../icons/LogoMarket.svg": go,
|
|
192
|
+
"../icons/LogoSwagger.svg": ao,
|
|
193
|
+
"../icons/Magic.svg": io,
|
|
194
|
+
"../icons/Menu.svg": no,
|
|
195
|
+
"../icons/Page.svg": to,
|
|
196
|
+
"../icons/PaperAirplane.svg": po,
|
|
197
|
+
"../icons/Pencil.svg": eo,
|
|
198
|
+
"../icons/Play.svg": co,
|
|
199
|
+
"../icons/Refresh.svg": fo,
|
|
200
|
+
"../icons/Roadmap.svg": lo,
|
|
201
|
+
"../icons/Scribble.svg": vo,
|
|
202
|
+
"../icons/Search.svg": uo,
|
|
203
|
+
"../icons/Server.svg": Lo,
|
|
204
|
+
"../icons/Settings.svg": ho,
|
|
205
|
+
"../icons/Show.svg": Co,
|
|
206
|
+
"../icons/Sort.svg": ko,
|
|
207
|
+
"../icons/Terminal.svg": wo,
|
|
208
|
+
"../icons/ThumbsDown.svg": bo,
|
|
209
|
+
"../icons/ThumbsUp.svg": Do,
|
|
210
|
+
"../icons/Trash.svg": jo,
|
|
211
|
+
"../icons/Unlock.svg": So,
|
|
212
|
+
"../icons/Unwatch.svg": To,
|
|
213
|
+
"../icons/Upload.svg": Po,
|
|
214
|
+
"../icons/UploadSimple.svg": yo,
|
|
215
|
+
"../icons/User.svg": Ao,
|
|
216
|
+
"../icons/Users.svg": Eo,
|
|
217
|
+
"../icons/Wallet.svg": Fo,
|
|
218
|
+
"../icons/Watch.svg": Ho,
|
|
219
|
+
"../icons/Workspace.svg": Uo,
|
|
220
|
+
"../icons/programming-framework-angular.svg": Ro,
|
|
221
|
+
"../icons/programming-framework-astro.svg": xo,
|
|
222
|
+
"../icons/programming-framework-laravel.svg": Mo,
|
|
223
|
+
"../icons/programming-framework-nextdotjs.svg": Go,
|
|
224
|
+
"../icons/programming-framework-react.svg": No,
|
|
225
|
+
"../icons/programming-framework-vuedotjs.svg": Io,
|
|
226
|
+
"../icons/programming-language-c.svg": Oo,
|
|
227
|
+
"../icons/programming-language-clojure.svg": Wo,
|
|
228
|
+
"../icons/programming-language-csharp.svg": Bo,
|
|
229
|
+
"../icons/programming-language-css3.svg": $o,
|
|
230
|
+
"../icons/programming-language-go.svg": Jo,
|
|
231
|
+
"../icons/programming-language-html5.svg": Ko,
|
|
232
|
+
"../icons/programming-language-http.svg": Vo,
|
|
233
|
+
"../icons/programming-language-java.svg": qo,
|
|
234
|
+
"../icons/programming-language-javascript.svg": zo,
|
|
235
|
+
"../icons/programming-language-json.svg": Qo,
|
|
236
|
+
"../icons/programming-language-kotlin.svg": Xo,
|
|
237
|
+
"../icons/programming-language-node.svg": Yo,
|
|
238
|
+
"../icons/programming-language-objc.svg": Zo,
|
|
239
|
+
"../icons/programming-language-ocaml.svg": _o,
|
|
240
|
+
"../icons/programming-language-php.svg": or,
|
|
241
|
+
"../icons/programming-language-powershell.svg": rr,
|
|
242
|
+
"../icons/programming-language-python.svg": sr,
|
|
243
|
+
"../icons/programming-language-r.svg": mr,
|
|
244
|
+
"../icons/programming-language-ruby.svg": gr,
|
|
245
|
+
"../icons/programming-language-scala.svg": ar,
|
|
246
|
+
"../icons/programming-language-shell.svg": ir,
|
|
247
|
+
"../icons/programming-language-swift.svg": nr,
|
|
248
|
+
"../icons/programming-language-typescript.svg": tr,
|
|
249
|
+
"../icons/programming-script-code.svg": pr,
|
|
250
|
+
"../icons/programming-tool-git.svg": er,
|
|
251
|
+
"../icons/programming-tool-tailwindcss.svg": cr
|
|
252
|
+
}), m = /* @__PURE__ */ Object.assign({
|
|
253
|
+
"../logos/Adonisjs.svg": fr,
|
|
254
|
+
"../logos/Docusaurus.svg": lr,
|
|
255
|
+
"../logos/Dotnet.svg": vr,
|
|
256
|
+
"../logos/Elysiajs.svg": ur,
|
|
257
|
+
"../logos/Express.svg": Lr,
|
|
258
|
+
"../logos/Fastapi.svg": dr,
|
|
259
|
+
"../logos/Fastify.svg": hr,
|
|
260
|
+
"../logos/Go.svg": Cr,
|
|
261
|
+
"../logos/Hono.svg": kr,
|
|
262
|
+
"../logos/Laravel.svg": wr,
|
|
263
|
+
"../logos/Litestar.svg": br,
|
|
264
|
+
"../logos/Nestjs.svg": Dr,
|
|
265
|
+
"../logos/Nextjs.svg": jr,
|
|
266
|
+
"../logos/Nitro.svg": Sr,
|
|
267
|
+
"../logos/Nuxt.svg": Tr,
|
|
268
|
+
"../logos/Openapi.svg": Pr,
|
|
269
|
+
"../logos/Platformatic.svg": yr,
|
|
270
|
+
"../logos/React.svg": Ar,
|
|
271
|
+
"../logos/Rust.svg": Er,
|
|
272
|
+
"../logos/Vue.svg": Fr
|
|
273
|
+
}), Hr = (o) => {
|
|
274
|
+
const r = `../icons/${o}.svg`;
|
|
275
|
+
return s[r] ? s[r] : (console.warn(`Could not find icon: ${o}`), null);
|
|
276
|
+
}, Ur = (o) => {
|
|
277
|
+
const r = `../logos/${o}.svg`;
|
|
278
|
+
return m[r] ? m[r] : (console.warn(`Could not find icon: ${o}`), null);
|
|
279
|
+
};
|
|
280
|
+
export {
|
|
281
|
+
Hr as getIcon,
|
|
282
|
+
Ur as getLogo
|
|
283
|
+
};
|
|
@@ -11,7 +11,7 @@ declare const meta: {
|
|
|
11
11
|
bodyClass?: string;
|
|
12
12
|
maxWidth?: string;
|
|
13
13
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
|
|
14
|
-
variant?: "form" | "search" | "history" | undefined;
|
|
14
|
+
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
15
15
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
16
16
|
size: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs";
|
|
17
17
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -27,7 +27,7 @@ declare const meta: {
|
|
|
27
27
|
bodyClass?: string;
|
|
28
28
|
maxWidth?: string;
|
|
29
29
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
|
|
30
|
-
variant?: "form" | "search" | "history" | undefined;
|
|
30
|
+
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
31
31
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
32
32
|
size: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs";
|
|
33
33
|
}>;
|
|
@@ -40,7 +40,7 @@ declare const meta: {
|
|
|
40
40
|
bodyClass?: string;
|
|
41
41
|
maxWidth?: string;
|
|
42
42
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
|
|
43
|
-
variant?: "form" | "search" | "history" | undefined;
|
|
43
|
+
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
44
44
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
45
45
|
size: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs";
|
|
46
46
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -10,14 +10,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
10
10
|
bodyClass?: string;
|
|
11
11
|
maxWidth?: string;
|
|
12
12
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
|
|
13
|
-
variant?: "form" | "search" | "history" | undefined;
|
|
13
|
+
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
14
14
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
15
15
|
state: ReturnType<typeof useModal>;
|
|
16
16
|
title?: string;
|
|
17
17
|
bodyClass?: string;
|
|
18
18
|
maxWidth?: string;
|
|
19
19
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
|
|
20
|
-
variant?: "form" | "search" | "history" | undefined;
|
|
20
|
+
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
21
21
|
}> & Readonly<{}>, {
|
|
22
22
|
size: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs";
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarModal/ScalarModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarModal/ScalarModal.vue"],"names":[],"mappings":"AA6OA,+CAA+C;AAC/C,wBAAgB,QAAQ;;;;EAUvB;;WAMU,UAAU,CAAC,OAAO,QAAQ,CAAC;YAC1B,MAAM;gBACF,MAAM;eACP,MAAM;;;;WAHV,UAAU,CAAC,OAAO,QAAQ,CAAC;YAC1B,MAAM;gBACF,MAAM;eACP,MAAM;;;;;;qBAqQS,GAAG;qBACH,GAAG;;AA9QjC,wBA+SK;AAcL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import o from "./ScalarModal.vue2.js";
|
|
2
|
-
import { useModal as
|
|
2
|
+
import { useModal as s } from "./ScalarModal.vue2.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f7e672e8"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
f as default,
|
|
8
|
+
s as useModal
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as v, openBlock as l, createBlock as r, unref as a, withCtx as
|
|
1
|
+
import { defineComponent as v, openBlock as l, createBlock as r, unref as a, withCtx as t, createElementVNode as x, normalizeClass as s, createVNode as i, normalizeStyle as b, createTextVNode as y, toDisplayString as g, createCommentVNode as d, createElementBlock as m, renderSlot as n, reactive as w } from "vue";
|
|
2
2
|
import { Dialog as z, DialogPanel as k, DialogTitle as C, DialogDescription as D } from "@headlessui/vue";
|
|
3
|
-
import { cva as c, cx as
|
|
3
|
+
import { cva as c, cx as f } from "../../cva.js";
|
|
4
4
|
import S from "../ScalarIconButton/ScalarIconButton.vue.js";
|
|
5
5
|
const $ = {
|
|
6
6
|
key: 0,
|
|
@@ -28,10 +28,10 @@ const M = /* @__PURE__ */ v({
|
|
|
28
28
|
variant: {}
|
|
29
29
|
},
|
|
30
30
|
setup(N) {
|
|
31
|
-
const
|
|
31
|
+
const p = c({
|
|
32
32
|
base: [
|
|
33
33
|
"scalar-modal",
|
|
34
|
-
"col relative mx-auto mb-0
|
|
34
|
+
"col relative mx-auto mb-0 rounded-lg bg-b-2 p-0 text-left leading-snug text-c-1 opacity-0 md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]"
|
|
35
35
|
].join(" "),
|
|
36
36
|
variants: {
|
|
37
37
|
size: {
|
|
@@ -41,12 +41,13 @@ const M = /* @__PURE__ */ v({
|
|
|
41
41
|
md: "mt-20 max-w-screen-md",
|
|
42
42
|
lg: "m-auto max-w-screen-lg",
|
|
43
43
|
xl: "m-auto max-w-screen-xl",
|
|
44
|
-
full: "full-size-styles mt-0
|
|
44
|
+
full: "full-size-styles mt-0 lg:w-full"
|
|
45
45
|
},
|
|
46
46
|
variant: {
|
|
47
47
|
form: "scalar-modal-form",
|
|
48
48
|
history: "scalar-modal-history bg-b-1",
|
|
49
|
-
search: "scalar-modal-search"
|
|
49
|
+
search: "scalar-modal-search",
|
|
50
|
+
error: "scalar-modal-error"
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
}), u = c({
|
|
@@ -58,7 +59,8 @@ const M = /* @__PURE__ */ v({
|
|
|
58
59
|
variant: {
|
|
59
60
|
form: "overflow-visible",
|
|
60
61
|
history: "pt-3",
|
|
61
|
-
search: "col !m-0 max-h-[440px] overflow-hidden p-0"
|
|
62
|
+
search: "col !m-0 max-h-[440px] overflow-hidden p-0",
|
|
63
|
+
error: "overflow-y-scroll"
|
|
62
64
|
},
|
|
63
65
|
size: {
|
|
64
66
|
xxs: "max-h-[calc(100dvh-240px)]",
|
|
@@ -67,19 +69,20 @@ const M = /* @__PURE__ */ v({
|
|
|
67
69
|
md: "max-h-[calc(100dvh-240px)]",
|
|
68
70
|
lg: "max-h-[calc(100dvh-180px)]",
|
|
69
71
|
xl: "m-0 max-h-[calc(100dvh-120px)] p-0",
|
|
70
|
-
full: "max-h-dvh rounded-none
|
|
72
|
+
full: "max-h-dvh rounded-none"
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
75
|
});
|
|
74
|
-
return (e,
|
|
76
|
+
return (e, o) => (l(), r(a(z), {
|
|
75
77
|
open: e.state.open,
|
|
76
|
-
onClose:
|
|
78
|
+
onClose: o[1] || (o[1] = (h) => e.state.hide())
|
|
77
79
|
}, {
|
|
78
|
-
default:
|
|
80
|
+
default: t(() => [
|
|
79
81
|
x("div", {
|
|
80
82
|
class: s(
|
|
81
|
-
a(
|
|
82
|
-
"scalar-modal-layout
|
|
83
|
+
a(f)(
|
|
84
|
+
e.size === "full" ? "scalar-modal-layout-full" : "scalar-modal-layout",
|
|
85
|
+
"fixed left-0 top-0 flex items-start justify-center",
|
|
83
86
|
"z-[1001] h-[100dvh] w-[100dvw]",
|
|
84
87
|
"bg-backdrop opacity-0 dark:bg-backdropdark",
|
|
85
88
|
e.size === "full" && "flex"
|
|
@@ -87,42 +90,42 @@ const M = /* @__PURE__ */ v({
|
|
|
87
90
|
)
|
|
88
91
|
}, [
|
|
89
92
|
i(a(k), {
|
|
90
|
-
class: s(a(
|
|
93
|
+
class: s(a(p)({ size: e.size, variant: e.variant })),
|
|
91
94
|
style: b({ maxWidth: e.maxWidth })
|
|
92
95
|
}, {
|
|
93
|
-
default:
|
|
96
|
+
default: t(() => [
|
|
94
97
|
e.title ? (l(), r(a(C), {
|
|
95
98
|
key: 0,
|
|
96
99
|
class: s(["scalar-modal-header m-0 -mb-1 rounded-lg p-3 text-left text-sm font-medium text-c-1", { "pb-0 pt-6": e.variant === "history" }])
|
|
97
100
|
}, {
|
|
98
|
-
default:
|
|
99
|
-
g(
|
|
101
|
+
default: t(() => [
|
|
102
|
+
y(g(e.title), 1)
|
|
100
103
|
]),
|
|
101
104
|
_: 1
|
|
102
105
|
}, 8, ["class"])) : d("", !0),
|
|
103
|
-
e.size === "full" ? (l(),
|
|
106
|
+
e.size === "full" ? (l(), m("div", {
|
|
104
107
|
key: 1,
|
|
105
108
|
class: s(e.bodyClass)
|
|
106
109
|
}, [
|
|
107
|
-
|
|
110
|
+
n(e.$slots, "default", {}, void 0, !0)
|
|
108
111
|
], 2)) : (l(), r(a(D), {
|
|
109
112
|
key: 2,
|
|
110
|
-
class: s(a(
|
|
113
|
+
class: s(a(f)(e.bodyClass, a(u)({ size: e.size, variant: e.variant })))
|
|
111
114
|
}, {
|
|
112
|
-
default:
|
|
113
|
-
|
|
115
|
+
default: t(() => [
|
|
116
|
+
n(e.$slots, "default", {}, void 0, !0)
|
|
114
117
|
]),
|
|
115
118
|
_: 3
|
|
116
119
|
}, 8, ["class"]))
|
|
117
120
|
]),
|
|
118
121
|
_: 3
|
|
119
122
|
}, 8, ["class", "style"]),
|
|
120
|
-
e.size === "full" ? (l(),
|
|
123
|
+
e.size === "full" ? (l(), m("div", $, [
|
|
121
124
|
i(a(S), {
|
|
122
|
-
class: "hover:bg-b-
|
|
125
|
+
class: "hover:bg-b-3 focus:outline-none",
|
|
123
126
|
icon: "Close",
|
|
124
127
|
label: "Clear Search",
|
|
125
|
-
onClose:
|
|
128
|
+
onClose: o[0] || (o[0] = (h) => e.state.hide())
|
|
126
129
|
})
|
|
127
130
|
])) : d("", !0)
|
|
128
131
|
], 2)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchInput/ScalarSearchInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchInput/ScalarSearchInput.vue"],"names":[],"mappings":"AA0GA,OAAO,EAAE,KAAK,YAAY,EAAiB,MAAM,kBAAkB,CAAA;;cAKvD,YAAY;iBACT,MAAM;cACT,OAAO;YACT,MAAM;;;;;;;cAHJ,YAAY;iBACT,MAAM;cACT,OAAO;YACT,MAAM;;;;AAwLhB,wBAUG"}
|