@scalar/api-client 2.2.32 → 2.2.33
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 +30 -0
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +9 -3
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +62 -54
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +13 -3
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.vue.js +7 -7
- package/dist/components/DataTable/DataTableCell.vue.js +6 -6
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.js +5 -5
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +72 -71
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +23 -22
- package/dist/components/Search/useSearch.d.ts.map +1 -1
- package/dist/components/Search/useSearch.js +61 -48
- package/dist/components/SideNav/SideNavLink.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +5 -5
- package/dist/components/Sidebar/SidebarList.vue.js +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +12 -12
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -2
- package/dist/layouts/App/create-api-client-app.d.ts +168 -127
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +336 -254
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +168 -127
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +169 -128
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +8 -7
- package/dist/libs/find-request.d.ts +2 -0
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/send-request/send-request.d.ts.map +1 -1
- package/dist/libs/send-request/send-request.js +93 -93
- package/dist/routes.d.ts +1 -0
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +12 -7
- package/dist/store/active-entities.d.ts +29 -27
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts +4 -4
- package/dist/store/request-example.d.ts +134 -134
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +26 -4
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/store.d.ts +171 -128
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +48 -46
- package/dist/store/tags.d.ts +24 -4
- package/dist/store/tags.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +12 -12
- package/dist/views/Cookies/Cookies.vue2.js +12 -12
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +98 -97
- package/dist/views/Environment/EnvironmentModal.vue.js +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +6 -6
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +3 -3
- package/dist/views/Request/RequestSidebar.vue2.js +14 -14
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +2 -2
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +132 -125
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +21 -21
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +12 -12
- package/dist/views/Servers/ServerForm.vue.d.ts +8 -1
- package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
- package/dist/views/Servers/ServerForm.vue.js +28 -59
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +141 -53
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.2.33
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2ad0407: fix: updates scalar modal body class specificity
|
|
8
|
+
- ace02fe: fix: favors configuration integration in open client modal button
|
|
9
|
+
- 6d03777: feat: adds server page
|
|
10
|
+
- 6d03777: fix: global sidebar and misc overhaul
|
|
11
|
+
- 08ac264: fix: adds back setting route
|
|
12
|
+
- aff72f7: fix: all cookies are deleted
|
|
13
|
+
- cb09e76: fix: sets integration theme id fallback
|
|
14
|
+
- 2ad0407: fix: updates workspace modal style in import collection
|
|
15
|
+
- Updated dependencies [2ad0407]
|
|
16
|
+
- Updated dependencies [60cd6f1]
|
|
17
|
+
- Updated dependencies [60cd6f1]
|
|
18
|
+
- Updated dependencies [e866487]
|
|
19
|
+
- Updated dependencies [7df4472]
|
|
20
|
+
- Updated dependencies [13333e6]
|
|
21
|
+
- Updated dependencies [64df4fc]
|
|
22
|
+
- @scalar/components@0.13.14
|
|
23
|
+
- @scalar/types@0.0.26
|
|
24
|
+
- @scalar/use-hooks@0.1.14
|
|
25
|
+
- @scalar/themes@0.9.60
|
|
26
|
+
- @scalar/oas-utils@0.2.97
|
|
27
|
+
- @scalar/openapi-types@0.1.6
|
|
28
|
+
- @scalar/openapi-parser@0.10.4
|
|
29
|
+
- @scalar/use-codemirror@0.11.58
|
|
30
|
+
- @scalar/import@0.2.17
|
|
31
|
+
- @scalar/postman-to-openapi@0.1.20
|
|
32
|
+
|
|
3
33
|
## 2.2.32
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
metaData?: {
|
|
3
|
+
itemUid?: string;
|
|
4
|
+
parentUid?: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
8
|
close: () => any;
|
|
3
9
|
back: (e: KeyboardEvent) => any;
|
|
4
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
5
11
|
onClose?: (() => any) | undefined;
|
|
6
12
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
7
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
8
14
|
export default _default;
|
|
9
15
|
//# sourceMappingURL=CommandPaletteServer.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteServer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteServer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandPaletteServer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteServer.vue"],"names":[],"mappings":"AAwIA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;CACF,CAAC;;;;;;;;AAuPF,wBAQG"}
|
|
@@ -1,82 +1,90 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useActiveEntities as
|
|
3
|
-
import { ScalarListbox as
|
|
4
|
-
import { useToasts as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { useWorkspace as
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as y, ref as f, computed as N, openBlock as u, createBlock as d, withCtx as o, createVNode as m, unref as n, createElementVNode as p, normalizeClass as P, toDisplayString as _, createTextVNode as B } from "vue";
|
|
2
|
+
import { useActiveEntities as L } from "../../store/active-entities.js";
|
|
3
|
+
import { ScalarListbox as M, ScalarButton as b, ScalarIcon as T } from "@scalar/components";
|
|
4
|
+
import { useToasts as j } from "@scalar/use-toasts";
|
|
5
|
+
import z from "./CommandActionForm.vue.js";
|
|
6
|
+
import E from "./CommandActionInput.vue.js";
|
|
7
|
+
import { useWorkspace as R } from "../../store/store.js";
|
|
8
|
+
const F = /* @__PURE__ */ y({
|
|
9
9
|
__name: "CommandPaletteServer",
|
|
10
|
+
props: {
|
|
11
|
+
metaData: {}
|
|
12
|
+
},
|
|
10
13
|
emits: ["close", "back"],
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
() =>
|
|
14
|
-
(
|
|
14
|
+
setup(C, { emit: x }) {
|
|
15
|
+
const s = C, c = x, { toast: v } = j(), { activeCollection: S, activeWorkspaceCollections: k } = L(), { collectionMutators: U, serverMutators: V, events: g } = R(), r = f(""), i = N(
|
|
16
|
+
() => k.value.flatMap(
|
|
17
|
+
(a) => {
|
|
15
18
|
var e, t;
|
|
16
|
-
return ((e =
|
|
17
|
-
id:
|
|
18
|
-
label: ((t =
|
|
19
|
+
return ((e = a.info) == null ? void 0 : e.title) === "Drafts" ? [] : {
|
|
20
|
+
id: a.uid,
|
|
21
|
+
label: ((t = a.info) == null ? void 0 : t.title) ?? "Unititled Collection"
|
|
19
22
|
};
|
|
20
23
|
}
|
|
21
24
|
)
|
|
22
|
-
),
|
|
23
|
-
|
|
24
|
-
(
|
|
25
|
+
), l = f(
|
|
26
|
+
s.metaData ? i.value.find(
|
|
27
|
+
(a) => {
|
|
28
|
+
var e, t;
|
|
29
|
+
return a.id === ((e = s.metaData) == null ? void 0 : e.itemUid) || a.id === ((t = s.metaData) == null ? void 0 : t.parentUid);
|
|
30
|
+
}
|
|
31
|
+
) : i.value.find(
|
|
32
|
+
(a) => {
|
|
25
33
|
var e;
|
|
26
|
-
return
|
|
34
|
+
return a.id === ((e = S.value) == null ? void 0 : e.uid);
|
|
27
35
|
}
|
|
28
36
|
)
|
|
29
|
-
),
|
|
37
|
+
), D = () => {
|
|
30
38
|
var t;
|
|
31
39
|
if (!r.value.trim()) {
|
|
32
|
-
|
|
40
|
+
v("Please enter a valid url before creating a server.", "error");
|
|
33
41
|
return;
|
|
34
42
|
}
|
|
35
|
-
const
|
|
36
|
-
if (!
|
|
37
|
-
|
|
43
|
+
const a = (t = l.value) == null ? void 0 : t.id;
|
|
44
|
+
if (!a) {
|
|
45
|
+
v("Please select a collection before creating a server.", "error");
|
|
38
46
|
return;
|
|
39
47
|
}
|
|
40
|
-
const e =
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
|
|
48
|
+
const e = V.add({ url: r.value }, a);
|
|
49
|
+
U.edit(a, "selectedServerUid", e.uid), c("close");
|
|
50
|
+
}, w = () => {
|
|
51
|
+
g.commandPalette.emit({ commandName: "Create Collection" });
|
|
44
52
|
};
|
|
45
|
-
return (
|
|
46
|
-
disabled: !r.value.trim() || !
|
|
47
|
-
onSubmit:
|
|
53
|
+
return (a, e) => (u(), d(z, {
|
|
54
|
+
disabled: !r.value.trim() || !l.value,
|
|
55
|
+
onSubmit: D
|
|
48
56
|
}, {
|
|
49
|
-
options:
|
|
50
|
-
|
|
51
|
-
modelValue:
|
|
52
|
-
"onUpdate:modelValue": e[2] || (e[2] = (t) =>
|
|
53
|
-
options:
|
|
57
|
+
options: o(() => [
|
|
58
|
+
m(n(M), {
|
|
59
|
+
modelValue: l.value,
|
|
60
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => l.value = t),
|
|
61
|
+
options: i.value
|
|
54
62
|
}, {
|
|
55
|
-
default:
|
|
56
|
-
|
|
63
|
+
default: o(() => [
|
|
64
|
+
i.value.length > 0 ? (u(), d(n(b), {
|
|
57
65
|
key: 0,
|
|
58
66
|
class: "justify-between p-2 max-h-8 w-fit gap-1 text-xs hover:bg-b-2",
|
|
59
67
|
variant: "outlined"
|
|
60
68
|
}, {
|
|
61
|
-
default:
|
|
62
|
-
|
|
63
|
-
class:
|
|
64
|
-
},
|
|
65
|
-
|
|
69
|
+
default: o(() => [
|
|
70
|
+
p("span", {
|
|
71
|
+
class: P(l.value ? "text-c-1" : "text-c-3")
|
|
72
|
+
}, _(l.value ? l.value.label : "Select Collection"), 3),
|
|
73
|
+
m(n(T), {
|
|
66
74
|
class: "text-c-3",
|
|
67
75
|
icon: "ChevronDown",
|
|
68
76
|
size: "md"
|
|
69
77
|
})
|
|
70
78
|
]),
|
|
71
79
|
_: 1
|
|
72
|
-
})) : (
|
|
80
|
+
})) : (u(), d(n(b), {
|
|
73
81
|
key: 1,
|
|
74
|
-
class: "justify-between p-2 max-h-8 w-full gap-1 text-xs hover:bg-b-2",
|
|
82
|
+
class: "justify-between p-2 max-h-8 w-full gap-1 text-xs hover:bg-b-2 w-fit",
|
|
75
83
|
variant: "outlined",
|
|
76
|
-
onClick:
|
|
84
|
+
onClick: w
|
|
77
85
|
}, {
|
|
78
|
-
default:
|
|
79
|
-
|
|
86
|
+
default: o(() => e[3] || (e[3] = [
|
|
87
|
+
p("span", { class: "text-c-1" }, "Create Collection", -1)
|
|
80
88
|
])),
|
|
81
89
|
_: 1
|
|
82
90
|
}))
|
|
@@ -84,16 +92,16 @@ const q = /* @__PURE__ */ w({
|
|
|
84
92
|
_: 1
|
|
85
93
|
}, 8, ["modelValue", "options"])
|
|
86
94
|
]),
|
|
87
|
-
submit:
|
|
88
|
-
|
|
95
|
+
submit: o(() => e[4] || (e[4] = [
|
|
96
|
+
B("Create Server")
|
|
89
97
|
])),
|
|
90
|
-
default:
|
|
91
|
-
|
|
98
|
+
default: o(() => [
|
|
99
|
+
m(E, {
|
|
92
100
|
modelValue: r.value,
|
|
93
101
|
"onUpdate:modelValue": e[0] || (e[0] = (t) => r.value = t),
|
|
94
102
|
label: "Server URL",
|
|
95
103
|
placeholder: "Server URL",
|
|
96
|
-
onOnDelete: e[1] || (e[1] = (t) =>
|
|
104
|
+
onOnDelete: e[1] || (e[1] = (t) => c("back", t))
|
|
97
105
|
}, null, 8, ["modelValue"])
|
|
98
106
|
]),
|
|
99
107
|
_: 1
|
|
@@ -101,5 +109,5 @@ const q = /* @__PURE__ */ w({
|
|
|
101
109
|
}
|
|
102
110
|
});
|
|
103
111
|
export {
|
|
104
|
-
|
|
112
|
+
F as default
|
|
105
113
|
};
|
|
@@ -44,13 +44,23 @@ export declare const PaletteComponents: {
|
|
|
44
44
|
onClose?: (() => any) | undefined;
|
|
45
45
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
46
46
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
47
|
-
readonly 'Add Server': import("vue").DefineComponent<{
|
|
47
|
+
readonly 'Add Server': import("vue").DefineComponent<{
|
|
48
|
+
metaData?: {
|
|
49
|
+
itemUid?: string;
|
|
50
|
+
parentUid?: string;
|
|
51
|
+
};
|
|
52
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
48
53
|
close: () => any;
|
|
49
54
|
back: (e: KeyboardEvent) => any;
|
|
50
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
55
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
56
|
+
metaData?: {
|
|
57
|
+
itemUid?: string;
|
|
58
|
+
parentUid?: string;
|
|
59
|
+
};
|
|
60
|
+
}> & Readonly<{
|
|
51
61
|
onClose?: (() => any) | undefined;
|
|
52
62
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
53
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
63
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
54
64
|
readonly 'Create Collection': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
55
65
|
close: () => any;
|
|
56
66
|
back: (e: KeyboardEvent) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AAiZA;;;;GAIG;;AACH,wBAgeI;AAEJ,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AAiZA;;;;GAIG;;AACH,wBAgeI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA5f9B,CA5OC;qBA4OD,CA5OwB;;;;;;;mBA4OxB,CA5OC;qBA4OD,CA5OwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgvBd,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CAAA;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,8DAA8D;IAC9D,WAAW,CAAC,EAAE,YAAY,CAAA;IAC1B,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,CACA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as e, createElementBlock as l, normalizeProps as n, guardReactiveProps as m, unref as c, createElementVNode as i, normalizeClass as p, normalizeStyle as u, renderSlot as
|
|
1
|
+
import { defineComponent as t, openBlock as e, createElementBlock as l, normalizeProps as n, guardReactiveProps as m, unref as c, createElementVNode as i, normalizeClass as p, normalizeStyle as u, renderSlot as s, createCommentVNode as d } from "vue";
|
|
2
2
|
import { useBindCx as f } from "@scalar/components";
|
|
3
3
|
const b = {
|
|
4
4
|
key: 0,
|
|
@@ -10,23 +10,23 @@ const b = {
|
|
|
10
10
|
scroll: { type: Boolean }
|
|
11
11
|
},
|
|
12
12
|
setup(v) {
|
|
13
|
-
const { cx:
|
|
13
|
+
const { cx: a } = f();
|
|
14
14
|
return (o, w) => (e(), l("div", n(m(
|
|
15
|
-
c(
|
|
15
|
+
c(a)(
|
|
16
16
|
o.scroll ? "overflow-x-auto custom-scroll" : "overflow-visible",
|
|
17
|
-
"scalar-data-table
|
|
17
|
+
"scalar-data-table bg-b-1"
|
|
18
18
|
)
|
|
19
19
|
)), [
|
|
20
20
|
i("table", {
|
|
21
21
|
class: p(["grid auto-rows-auto min-h-8 mb-0", { "min-w-full w-max": o.scroll }]),
|
|
22
22
|
style: u({
|
|
23
|
-
gridTemplateColumns: o.columns.map((
|
|
23
|
+
gridTemplateColumns: o.columns.map((r) => r || "1fr").join(" ")
|
|
24
24
|
})
|
|
25
25
|
}, [
|
|
26
26
|
o.$slots.caption ? (e(), l("caption", b, [
|
|
27
|
-
|
|
27
|
+
s(o.$slots, "caption")
|
|
28
28
|
])) : d("", !0),
|
|
29
|
-
|
|
29
|
+
s(o.$slots, "default")
|
|
30
30
|
], 6)
|
|
31
31
|
], 16));
|
|
32
32
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as o, createBlock as l, resolveDynamicComponent as n, mergeProps as
|
|
1
|
+
import { defineComponent as t, openBlock as o, createBlock as l, resolveDynamicComponent as n, mergeProps as a, unref as s, withCtx as m, renderSlot as p } from "vue";
|
|
2
2
|
import { useBindCx as d } from "@scalar/components";
|
|
3
3
|
const b = /* @__PURE__ */ t({
|
|
4
4
|
inheritAttrs: !1,
|
|
@@ -6,15 +6,15 @@ const b = /* @__PURE__ */ t({
|
|
|
6
6
|
props: {
|
|
7
7
|
is: { default: "td" }
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
9
|
+
setup(i) {
|
|
10
10
|
const { cx: r } = d();
|
|
11
|
-
return (e, f) => (o(), l(n(e.is),
|
|
12
|
-
|
|
13
|
-
"max-h-8 min-h-8 min-w-8 border-l-0
|
|
11
|
+
return (e, f) => (o(), l(n(e.is), a(
|
|
12
|
+
s(r)(
|
|
13
|
+
"max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-sm last:border-r-0 group-last:border-b-transparent p-0 m-0 relative"
|
|
14
14
|
),
|
|
15
15
|
{ role: "cell" }
|
|
16
16
|
), {
|
|
17
|
-
default:
|
|
17
|
+
default: m(() => [
|
|
18
18
|
p(e.$slots, "default")
|
|
19
19
|
]),
|
|
20
20
|
_: 3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":"AAiDA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC9D,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC5C,CAAC;AAQF,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":"AAiDA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC9D,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC5C,CAAC;AAQF,iBAAS,cAAc;WAwGT,OAAO,IAA6B;;uBARvB,GAAG;;;;EAa7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as m, openBlock as t, createBlock as a, withCtx as l, createElementBlock as n, toDisplayString as
|
|
1
|
+
import { defineComponent as m, openBlock as t, createBlock as a, withCtx as l, createElementBlock as n, toDisplayString as s, renderSlot as p, createElementVNode as c, Fragment as i, renderList as u, normalizeClass as f, createVNode as _, createTextVNode as k, createCommentVNode as y } from "vue";
|
|
2
2
|
import V from "../DataTable/DataTable.vue.js";
|
|
3
3
|
import h from "../DataTable/DataTableInput.vue.js";
|
|
4
4
|
import b from "../DataTable/DataTableRow.vue.js";
|
|
5
5
|
import g from "../ViewLayout/ViewLayoutSection.vue.js";
|
|
6
|
-
const C = { key: 0 }, N = { class: "custom-scroll flex flex-1 flex-col gap-1.5
|
|
6
|
+
const C = { key: 0 }, N = { class: "custom-scroll flex flex-1 flex-col gap-1.5" }, E = /* @__PURE__ */ m({
|
|
7
7
|
__name: "Form",
|
|
8
8
|
props: {
|
|
9
9
|
title: {},
|
|
@@ -14,7 +14,7 @@ const C = { key: 0 }, N = { class: "custom-scroll flex flex-1 flex-col gap-1.5 p
|
|
|
14
14
|
setup(S) {
|
|
15
15
|
return (e, U) => (t(), a(g, null, {
|
|
16
16
|
title: l(() => [
|
|
17
|
-
e.title ? (t(), n("span", C,
|
|
17
|
+
e.title ? (t(), n("span", C, s(e.title), 1)) : p(e.$slots, "title", { key: 1 })
|
|
18
18
|
]),
|
|
19
19
|
default: l(() => [
|
|
20
20
|
c("div", N, [
|
|
@@ -31,10 +31,10 @@ const C = { key: 0 }, N = { class: "custom-scroll flex flex-1 flex-col gap-1.5 p
|
|
|
31
31
|
_(h, {
|
|
32
32
|
modelValue: String(e.data[o.key] ?? ""),
|
|
33
33
|
placeholder: o.placeholder,
|
|
34
|
-
"onUpdate:modelValue": (
|
|
34
|
+
"onUpdate:modelValue": (d) => e.onUpdate(o.key, d)
|
|
35
35
|
}, {
|
|
36
36
|
default: l(() => [
|
|
37
|
-
k(
|
|
37
|
+
k(s(o.label), 1)
|
|
38
38
|
]),
|
|
39
39
|
_: 2
|
|
40
40
|
}, 1032, ["modelValue", "placeholder", "onUpdate:modelValue"])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":"AA6aA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,IAAI,CAAA;CAC7C,CAAC;;;;;;AA6dF,wBAQG"}
|