@scalar/api-reference 1.44.3 → 1.44.4
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 +64 -0
- package/dist/browser/standalone.js +19621 -19559
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/AgentScalar/AgentScalarButton.vue.d.ts +3 -0
- package/dist/components/AgentScalar/AgentScalarButton.vue.d.ts.map +1 -0
- package/dist/components/AgentScalar/AgentScalarButton.vue.js +22 -0
- package/dist/components/AgentScalar/AgentScalarButton.vue2.js +4 -0
- package/dist/components/{AgentChat.vue.d.ts → AgentScalar/AgentScalarChatInterface.vue.d.ts} +4 -2
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.d.ts.map +1 -0
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.js +4 -0
- package/dist/components/{AgentChat.vue2.js → AgentScalar/AgentScalarChatInterface.vue2.js} +9 -7
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts +12 -0
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts.map +1 -0
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.js +7 -0
- package/dist/components/AgentScalar/AgentScalarDrawer.vue2.js +53 -0
- package/dist/components/AgentScalar/AgentScalarTooltip.vue.d.ts +19 -0
- package/dist/components/AgentScalar/AgentScalarTooltip.vue.d.ts.map +1 -0
- package/dist/components/AgentScalar/AgentScalarTooltip.vue.js +35 -0
- package/dist/components/AgentScalar/AgentScalarTooltip.vue2.js +4 -0
- package/dist/components/AgentScalar/index.d.ts +4 -0
- package/dist/components/AgentScalar/index.d.ts.map +1 -0
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +1 -1
- package/dist/components/ApiReference.vue2.js +51 -70
- package/dist/components/MobileHeader.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +2 -0
- package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts +3 -0
- package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts.map +1 -0
- package/dist/features/ask-agent-button/AskAgentButton.vue.js +7 -0
- package/dist/features/ask-agent-button/AskAgentButton.vue2.js +47 -0
- package/dist/helpers/lazy-bus.d.ts.map +1 -1
- package/dist/helpers/lazy-bus.js +5 -3
- package/dist/helpers/storage.d.ts +2 -2
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/use-agent.d.ts +36 -0
- package/dist/hooks/use-agent.d.ts.map +1 -0
- package/dist/hooks/use-agent.js +42 -0
- package/dist/style.css +271 -204
- package/package.json +16 -16
- package/dist/components/AgentChat.vue.d.ts.map +0 -1
- package/dist/components/AgentChat.vue.js +0 -4
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=AgentScalarButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentScalarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AgentScalar/AgentScalarButton.vue"],"names":[],"mappings":";AA8EA,wBAKG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, unref, createVNode, createTextVNode } from "vue";
|
|
2
|
+
import { ScalarIconSparkle } from "@scalar/icons";
|
|
3
|
+
import { useAgentContext } from "../../hooks/use-agent.js";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "AgentScalarButton",
|
|
6
|
+
setup(__props) {
|
|
7
|
+
const agentContext = useAgentContext();
|
|
8
|
+
return (_ctx, _cache) => {
|
|
9
|
+
return openBlock(), createElementBlock("button", {
|
|
10
|
+
class: "bg-sidebar-b-search text-sidebar-c-2 hover:text-sidebar-c-1 flex items-center gap-1.5 rounded border px-2 text-base whitespace-nowrap",
|
|
11
|
+
type: "button",
|
|
12
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(agentContext)?.openAgent())
|
|
13
|
+
}, [
|
|
14
|
+
createVNode(unref(ScalarIconSparkle)),
|
|
15
|
+
_cache[1] || (_cache[1] = createTextVNode(" Ask AI ", -1))
|
|
16
|
+
]);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
_sfc_main as default
|
|
22
|
+
};
|
package/dist/components/{AgentChat.vue.d.ts → AgentScalar/AgentScalarChatInterface.vue.d.ts}
RENAMED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type ApiReferenceConfigurationWithSource } from '@scalar/types/api-reference';
|
|
2
2
|
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
3
|
+
import type { Ref } from 'vue';
|
|
3
4
|
type __VLS_Props = {
|
|
4
|
-
|
|
5
|
+
agentScalarConfiguration: ApiReferenceConfigurationWithSource['agent'];
|
|
5
6
|
workspaceStore: WorkspaceStore;
|
|
7
|
+
prefilledMessage?: Ref<string>;
|
|
6
8
|
};
|
|
7
9
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
10
|
export default _default;
|
|
9
|
-
//# sourceMappingURL=
|
|
11
|
+
//# sourceMappingURL=AgentScalarChatInterface.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentScalarChatInterface.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AgentScalar/AgentScalarChatInterface.vue"],"names":[],"mappings":"AAkCA,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,6BAA6B,CAAA;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAI9B,KAAK,WAAW,GAAG;IACf,wBAAwB,EAAE,mCAAmC,CAAC,OAAO,CAAC,CAAA;IACtE,cAAc,EAAE,cAAc,CAAA;IAC9B,gBAAgB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAC/B,CAAC;;AAoEJ,wBAMG"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref } from "vue";
|
|
2
2
|
import { Chat } from "@scalar/agent-chat";
|
|
3
|
-
import { REGISTRY_URL, DASHBOARD_URL, API_BASE_URL } from "
|
|
3
|
+
import { REGISTRY_URL, DASHBOARD_URL, API_BASE_URL } from "../../consts/urls.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "
|
|
5
|
+
__name: "AgentScalarChatInterface",
|
|
6
6
|
props: {
|
|
7
|
-
|
|
8
|
-
workspaceStore: {}
|
|
7
|
+
agentScalarConfiguration: {},
|
|
8
|
+
workspaceStore: {},
|
|
9
|
+
prefilledMessage: {}
|
|
9
10
|
},
|
|
10
11
|
setup(__props) {
|
|
11
12
|
return (_ctx, _cache) => {
|
|
@@ -13,11 +14,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
14
|
baseUrl: unref(API_BASE_URL),
|
|
14
15
|
dashboardUrl: unref(DASHBOARD_URL),
|
|
15
16
|
getActiveDocumentJson: () => __props.workspaceStore.exportActiveDocument("json"),
|
|
16
|
-
getAgentKey: __props.
|
|
17
|
-
mode: __props.
|
|
17
|
+
getAgentKey: __props.agentScalarConfiguration?.key ? () => __props.agentScalarConfiguration?.key ?? "" : void 0,
|
|
18
|
+
mode: __props.agentScalarConfiguration?.key ? "full" : "preview",
|
|
19
|
+
prefilledMessage: __props.prefilledMessage,
|
|
18
20
|
registryDocuments: [],
|
|
19
21
|
registryUrl: unref(REGISTRY_URL)
|
|
20
|
-
}, null, 8, ["baseUrl", "dashboardUrl", "getActiveDocumentJson", "getAgentKey", "mode", "registryUrl"]);
|
|
22
|
+
}, null, 8, ["baseUrl", "dashboardUrl", "getActiveDocumentJson", "getAgentKey", "mode", "prefilledMessage", "registryUrl"]);
|
|
21
23
|
};
|
|
22
24
|
}
|
|
23
25
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '@scalar/agent-chat/style.css';
|
|
2
|
+
import type { ApiReferenceConfigurationWithSource } from '@scalar/types/api-reference';
|
|
3
|
+
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
4
|
+
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
agentScalarConfiguration: ApiReferenceConfigurationWithSource['agent'];
|
|
7
|
+
workspaceStore: WorkspaceStore;
|
|
8
|
+
eventBus: WorkspaceEventBus;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=AgentScalarDrawer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentScalarDrawer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AgentScalar/AgentScalarDrawer.vue"],"names":[],"mappings":"AAmJA,OAAO,8BAA8B,CAAA;AAErC,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,6BAA6B,CAAA;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAIvE,KAAK,WAAW,GAAG;IACjB,wBAAwB,EAAE,mCAAmC,CAAC,OAAO,CAAC,CAAA;IACtE,cAAc,EAAE,cAAc,CAAA;IAC9B,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAC;;AA+GF,wBAMG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from "./AgentScalarDrawer.vue2.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const AgentScalarDrawer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b45a83b1"]]);
|
|
5
|
+
export {
|
|
6
|
+
AgentScalarDrawer as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent, defineAsyncComponent, createElementBlock, openBlock, Fragment, withDirectives, createElementVNode, unref, normalizeClass, createVNode, vShow } from "vue";
|
|
2
|
+
import { ScalarIconX } from "@scalar/icons";
|
|
3
|
+
import "@scalar/agent-chat/style.css";
|
|
4
|
+
import { useAgentContext } from "../../hooks/use-agent.js";
|
|
5
|
+
const _hoisted_1 = {
|
|
6
|
+
class: "app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",
|
|
7
|
+
type: "button"
|
|
8
|
+
};
|
|
9
|
+
const _hoisted_2 = { class: "agent-scalar" };
|
|
10
|
+
const _hoisted_3 = { class: "agent-scalar-container custom-scroll custom-scroll-self-contain-overflow" };
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
__name: "AgentScalarDrawer",
|
|
13
|
+
props: {
|
|
14
|
+
agentScalarConfiguration: {},
|
|
15
|
+
workspaceStore: {},
|
|
16
|
+
eventBus: {}
|
|
17
|
+
},
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const agentContext = useAgentContext();
|
|
20
|
+
const AgentScalarChatInterface = defineAsyncComponent(
|
|
21
|
+
async () => import("./AgentScalarChatInterface.vue.js")
|
|
22
|
+
);
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
25
|
+
withDirectives(createElementVNode("div", {
|
|
26
|
+
class: normalizeClass(["scalar-app-exit", unref(agentContext)?.showAgent.value ? "scalar-app-exit-animation" : ""]),
|
|
27
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(agentContext)?.closeAgent())
|
|
28
|
+
}, [
|
|
29
|
+
createElementVNode("button", _hoisted_1, [
|
|
30
|
+
createVNode(unref(ScalarIconX), { weight: "bold" }),
|
|
31
|
+
_cache[1] || (_cache[1] = createElementVNode("span", { class: "sr-only" }, "Close Client", -1))
|
|
32
|
+
])
|
|
33
|
+
], 2), [
|
|
34
|
+
[vShow, unref(agentContext)?.showAgent.value]
|
|
35
|
+
]),
|
|
36
|
+
withDirectives(createElementVNode("div", _hoisted_2, [
|
|
37
|
+
createElementVNode("div", _hoisted_3, [
|
|
38
|
+
createVNode(unref(AgentScalarChatInterface), {
|
|
39
|
+
agentScalarConfiguration: __props.agentScalarConfiguration,
|
|
40
|
+
prefilledMessage: unref(agentContext)?.prefilledMessage,
|
|
41
|
+
workspaceStore: __props.workspaceStore
|
|
42
|
+
}, null, 8, ["agentScalarConfiguration", "prefilledMessage", "workspaceStore"])
|
|
43
|
+
])
|
|
44
|
+
], 512), [
|
|
45
|
+
[vShow, unref(agentContext)?.showAgent.value]
|
|
46
|
+
])
|
|
47
|
+
], 64);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
_sfc_main as default
|
|
53
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ApiReferenceConfigurationWithSource } from '@scalar/types/api-reference';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
agentScalarConfiguration: ApiReferenceConfigurationWithSource['agent'] | undefined;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_5: {}, __VLS_7: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_5) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=AgentScalarTooltip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentScalarTooltip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AgentScalar/AgentScalarTooltip.vue"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,6BAA6B,CAAA;AAGtF,KAAK,WAAW,GAAG;IACjB,wBAAwB,EACpB,mCAAmC,CAAC,OAAO,CAAC,GAC5C,SAAS,CAAA;CACd,CAAC;AAgDF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAoB/C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent, computed, createBlock, renderSlot, openBlock, unref, withCtx } from "vue";
|
|
2
|
+
import { ScalarTooltip } from "@scalar/components";
|
|
3
|
+
import { isLocalUrl } from "@scalar/helpers/url/is-local-url";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "AgentScalarTooltip",
|
|
6
|
+
props: {
|
|
7
|
+
agentScalarConfiguration: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const content = computed(() => {
|
|
11
|
+
if (typeof window !== "undefined" && !isLocalUrl(window.location.href)) {
|
|
12
|
+
return void 0;
|
|
13
|
+
}
|
|
14
|
+
if (__props.agentScalarConfiguration?.key) {
|
|
15
|
+
return void 0;
|
|
16
|
+
}
|
|
17
|
+
return "Available in development only.";
|
|
18
|
+
});
|
|
19
|
+
return (_ctx, _cache) => {
|
|
20
|
+
return content.value ? (openBlock(), createBlock(unref(ScalarTooltip), {
|
|
21
|
+
key: 0,
|
|
22
|
+
content: content.value,
|
|
23
|
+
placement: "bottom"
|
|
24
|
+
}, {
|
|
25
|
+
default: withCtx(() => [
|
|
26
|
+
renderSlot(_ctx.$slots, "default")
|
|
27
|
+
]),
|
|
28
|
+
_: 3
|
|
29
|
+
}, 8, ["content"])) : renderSlot(_ctx.$slots, "default", { key: 1 });
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
_sfc_main as default
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AgentScalar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue"],"names":[],"mappings":"AAysCA,OAAO,EAEL,KAAK,4BAA4B,EAGlC,MAAM,6BAA6B,CAAA;AAgCpC,OAAO,8BAA8B,CAAA;AAiCrC,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,4BAA4B,CAAA;CAC7C,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1C,aAAa,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IACxC,eAAe,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1C,aAAa,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IACxC,oBAAoB,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/C,MAAM,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;CAClC,CAAC;AAqwCF,QAAA,MAAM,eAAe;;;oPAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -4,7 +4,7 @@ import _sfc_main from "./ApiReference.vue2.js";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
-
const ApiReference = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
7
|
+
const ApiReference = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2f5a1843"]]);
|
|
8
8
|
export {
|
|
9
9
|
ApiReference as default
|
|
10
10
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch, useId, provide, onServerPrefetch, onBeforeMount, useTemplateRef, onMounted, onBeforeUnmount,
|
|
1
|
+
import { defineComponent, computed, ref, watch, useId, provide, onServerPrefetch, onBeforeMount, useTemplateRef, onMounted, onBeforeUnmount, createElementBlock, openBlock, createBlock, createElementVNode, createVNode, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, normalizeClass, createCommentVNode, unref, renderSlot, normalizeProps, guardReactiveProps, createSlots } from "vue";
|
|
2
2
|
import { provideUseId } from "@headlessui/vue";
|
|
3
3
|
import { OpenApiClientButton } from "@scalar/api-client/components";
|
|
4
4
|
import { createApiClientModal } from "@scalar/api-client/v2/features/modal";
|
|
5
5
|
import { getActiveEnvironment } from "@scalar/api-client/v2/helpers";
|
|
6
6
|
import { addScalarClassesToHeadless, ScalarSidebarFooter, ScalarColorModeToggleButton, ScalarColorModeToggleIcon } from "@scalar/components";
|
|
7
7
|
import { redirectToProxy } from "@scalar/helpers/url/redirect-to-proxy";
|
|
8
|
-
import { ScalarIconX, ScalarIconSparkle } from "@scalar/icons";
|
|
9
8
|
import { createSidebarState, ScalarSidebar } from "@scalar/sidebar";
|
|
10
9
|
import { hasObtrusiveScrollbars, getThemeStyles } from "@scalar/themes";
|
|
11
10
|
import { apiReferenceConfigurationSchema } from "@scalar/types/api-reference";
|
|
@@ -16,16 +15,17 @@ import { ScalarToasts } from "@scalar/use-toasts";
|
|
|
16
15
|
import { createWorkspaceStore } from "@scalar/workspace-store/client";
|
|
17
16
|
import { createWorkspaceEventBus } from "@scalar/workspace-store/events";
|
|
18
17
|
import diff from "microdiff";
|
|
18
|
+
import { useAgent, AGENT_CONTEXT_SYMBOL } from "../hooks/use-agent.js";
|
|
19
19
|
import "@scalar/agent-chat/style.css";
|
|
20
20
|
import { isLocalUrl } from "@scalar/helpers/url/is-local-url";
|
|
21
21
|
import { useScrollLock } from "@vueuse/core";
|
|
22
22
|
import ClassicHeader from "./ClassicHeader.vue.js";
|
|
23
|
-
import _sfc_main$
|
|
23
|
+
import _sfc_main$6 from "./Content/Content.vue.js";
|
|
24
24
|
/* empty css */
|
|
25
25
|
import _sfc_main$1 from "./MobileHeader.vue.js";
|
|
26
26
|
import _sfc_main$2 from "../features/multiple-documents/DocumentSelector.vue.js";
|
|
27
27
|
import _sfc_main$3 from "../features/Search/components/SearchButton.vue.js";
|
|
28
|
-
import _sfc_main$
|
|
28
|
+
import _sfc_main$7 from "../features/toolbar/ApiReferenceToolbar.vue.js";
|
|
29
29
|
import { getSystemModePreference } from "../helpers/color-mode.js";
|
|
30
30
|
import { downloadDocument } from "../helpers/download.js";
|
|
31
31
|
import { getIdFromUrl, makeUrlFromId } from "../helpers/id-routing.js";
|
|
@@ -38,20 +38,18 @@ import { useIntersection } from "../hooks/use-intersection.js";
|
|
|
38
38
|
import { persistencePlugin } from "../plugins/persistance-plugin.js";
|
|
39
39
|
import { PLUGIN_MANAGER_SYMBOL } from "../plugins/hooks/usePluginManager.js";
|
|
40
40
|
import { createPluginManager } from "../plugins/plugin-manager.js";
|
|
41
|
+
import AgentScalarDrawer from "./AgentScalar/AgentScalarDrawer.vue.js";
|
|
42
|
+
import _sfc_main$4 from "./AgentScalar/AgentScalarTooltip.vue.js";
|
|
43
|
+
import _sfc_main$5 from "./AgentScalar/AgentScalarButton.vue.js";
|
|
41
44
|
const _hoisted_1 = {
|
|
42
|
-
key: 1,
|
|
43
|
-
class: "agent-scalar"
|
|
44
|
-
};
|
|
45
|
-
const _hoisted_2 = { class: "agent-scalar-container custom-scroll custom-scroll-self-contain-overflow" };
|
|
46
|
-
const _hoisted_3 = {
|
|
47
45
|
key: 1,
|
|
48
46
|
class: "flex gap-1.5 p-3 pt-1.5"
|
|
49
47
|
};
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
const
|
|
53
|
-
const
|
|
54
|
-
key:
|
|
48
|
+
const _hoisted_2 = { key: 1 };
|
|
49
|
+
const _hoisted_3 = ["aria-label"];
|
|
50
|
+
const _hoisted_4 = { class: "w-64 empty:hidden" };
|
|
51
|
+
const _hoisted_5 = {
|
|
52
|
+
key: 2,
|
|
55
53
|
class: "references-footer"
|
|
56
54
|
};
|
|
57
55
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -381,13 +379,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
381
379
|
const documentUrl = computed(() => {
|
|
382
380
|
return configList.value[activeSlug.value]?.source?.url;
|
|
383
381
|
});
|
|
384
|
-
const
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
382
|
+
const agent = useAgent({
|
|
383
|
+
agentEnabled: computed(() => {
|
|
384
|
+
const currentConfiguration = configList.value[activeSlug.value];
|
|
385
|
+
if (currentConfiguration?.agent?.disabled) {
|
|
386
|
+
return false;
|
|
387
|
+
}
|
|
388
|
+
if (typeof window !== "undefined" && isLocalUrl(window.location.href)) {
|
|
389
|
+
return true;
|
|
390
|
+
}
|
|
391
|
+
return Boolean(configList.value[activeSlug.value]?.agent?.key);
|
|
392
|
+
})
|
|
390
393
|
});
|
|
394
|
+
provide(AGENT_CONTEXT_SYMBOL, agent);
|
|
391
395
|
const modal = useTemplateRef("modal");
|
|
392
396
|
const apiClient = ref(null);
|
|
393
397
|
onMounted(() => {
|
|
@@ -503,11 +507,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
503
507
|
}
|
|
504
508
|
return mode;
|
|
505
509
|
});
|
|
506
|
-
const AgentChat = defineAsyncComponent(async () => import("./AgentChat.vue.js"));
|
|
507
510
|
const bodyScrollLocked = useScrollLock(document.body);
|
|
508
|
-
watch(showAgent, () =>
|
|
509
|
-
bodyScrollLocked.value = showAgent.value;
|
|
510
|
-
});
|
|
511
|
+
watch(agent.showAgent, () => bodyScrollLocked.value = agent.showAgent.value);
|
|
511
512
|
return (_ctx, _cache) => {
|
|
512
513
|
return openBlock(), createElementBlock("div", null, [
|
|
513
514
|
(openBlock(), createBlock(resolveDynamicComponent("style"), null, {
|
|
@@ -530,38 +531,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
530
531
|
_ctx.$attrs.class
|
|
531
532
|
]])
|
|
532
533
|
}, [
|
|
533
|
-
agentEnabled
|
|
534
|
+
unref(agent).agentEnabled ? (openBlock(), createBlock(unref(AgentScalarDrawer), {
|
|
534
535
|
key: 0,
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
class: "app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",
|
|
540
|
-
type: "button",
|
|
541
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(eventBus).emit("ui:close:client-modal"))
|
|
542
|
-
}, [
|
|
543
|
-
createVNode(unref(ScalarIconX), { weight: "bold" }),
|
|
544
|
-
_cache[8] || (_cache[8] = createElementVNode("span", { class: "sr-only" }, "Close Client", -1))
|
|
545
|
-
])
|
|
546
|
-
], 2)), [
|
|
547
|
-
[vShow, showAgent.value && agentEnabled.value]
|
|
548
|
-
]) : createCommentVNode("", true),
|
|
549
|
-
agentEnabled.value ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
550
|
-
createElementVNode("div", _hoisted_2, [
|
|
551
|
-
createVNode(unref(AgentChat), {
|
|
552
|
-
agentConfig: configList.value[activeSlug.value]?.agent,
|
|
553
|
-
workspaceStore: unref(workspaceStore)
|
|
554
|
-
}, null, 8, ["agentConfig", "workspaceStore"])
|
|
555
|
-
])
|
|
556
|
-
], 512)), [
|
|
557
|
-
[vShow, showAgent.value && agentEnabled.value]
|
|
558
|
-
]) : createCommentVNode("", true),
|
|
536
|
+
agentScalarConfiguration: configList.value[activeSlug.value]?.agent,
|
|
537
|
+
eventBus: unref(eventBus),
|
|
538
|
+
workspaceStore: unref(workspaceStore)
|
|
539
|
+
}, null, 8, ["agentScalarConfiguration", "eventBus", "workspaceStore"])) : createCommentVNode("", true),
|
|
559
540
|
mergedConfig.value.layout === "modern" ? (openBlock(), createBlock(_sfc_main$1, {
|
|
560
|
-
key:
|
|
541
|
+
key: 1,
|
|
561
542
|
breadcrumb: breadcrumb.value,
|
|
562
543
|
isSidebarOpen: isSidebarOpen.value,
|
|
563
544
|
showSidebar: mergedConfig.value.showSidebar,
|
|
564
|
-
onToggleSidebar: _cache[
|
|
545
|
+
onToggleSidebar: _cache[2] || (_cache[2] = () => isSidebarOpen.value = !isSidebarOpen.value)
|
|
565
546
|
}, {
|
|
566
547
|
search: withCtx(() => [
|
|
567
548
|
!mergedConfig.value.hideSearch ? (openBlock(), createBlock(_sfc_main$3, {
|
|
@@ -585,7 +566,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
585
566
|
layout: "reference",
|
|
586
567
|
options: mergedConfig.value,
|
|
587
568
|
role: "navigation",
|
|
588
|
-
onSelectItem: _cache[
|
|
569
|
+
onSelectItem: _cache[1] || (_cache[1] = (id) => handleSelectItem(id, "sidebar"))
|
|
589
570
|
}, {
|
|
590
571
|
header: withCtx(() => [
|
|
591
572
|
documentOptionList.value.length > 1 ? (openBlock(), createBlock(_sfc_main$2, {
|
|
@@ -595,22 +576,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
595
576
|
options: documentOptionList.value,
|
|
596
577
|
"onUpdate:modelValue": changeSelectedDocument
|
|
597
578
|
}, null, 8, ["modelValue", "options"])) : createCommentVNode("", true),
|
|
598
|
-
!mergedConfig.value.hideSearch ? (openBlock(), createElementBlock("div",
|
|
579
|
+
!mergedConfig.value.hideSearch ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
599
580
|
createVNode(_sfc_main$3, {
|
|
600
581
|
document: unref(workspaceStore).workspace.activeDocument,
|
|
601
582
|
eventBus: unref(eventBus),
|
|
602
583
|
hideModels: mergedConfig.value.hideModels,
|
|
603
584
|
searchHotKey: mergedConfig.value.searchHotKey
|
|
604
585
|
}, null, 8, ["document", "eventBus", "hideModels", "searchHotKey"]),
|
|
605
|
-
agentEnabled
|
|
586
|
+
unref(agent).agentEnabled ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
606
587
|
key: 0,
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
])) : createCommentVNode("", true)
|
|
588
|
+
agentScalarConfiguration: configList.value[activeSlug.value]?.agent
|
|
589
|
+
}, {
|
|
590
|
+
default: withCtx(() => [
|
|
591
|
+
createVNode(unref(_sfc_main$5))
|
|
592
|
+
]),
|
|
593
|
+
_: 1
|
|
594
|
+
}, 8, ["agentScalarConfiguration"])) : createCommentVNode("", true)
|
|
614
595
|
])) : createCommentVNode("", true),
|
|
615
596
|
renderSlot(_ctx.$slots, "sidebar-start", normalizeProps(guardReactiveProps(slotProps.value)), void 0, true)
|
|
616
597
|
]),
|
|
@@ -621,8 +602,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
621
602
|
!mergedConfig.value.hideDarkModeToggle && !mergedConfig.value.forceDarkModeState ? (openBlock(), createBlock(unref(ScalarColorModeToggleButton), {
|
|
622
603
|
key: 0,
|
|
623
604
|
modelValue: colorMode.value === "dark",
|
|
624
|
-
"onUpdate:modelValue": _cache[
|
|
625
|
-
}, null, 8, ["modelValue"])) : (openBlock(), createElementBlock("span",
|
|
605
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = () => unref(toggleColorMode)())
|
|
606
|
+
}, null, 8, ["modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_2))
|
|
626
607
|
]),
|
|
627
608
|
default: withCtx(() => [
|
|
628
609
|
!mergedConfig.value.hideClientButton ? (openBlock(), createBlock(unref(OpenApiClientButton), {
|
|
@@ -646,7 +627,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
646
627
|
"aria-label": `Open API Documentation for ${unref(workspaceStore).workspace.activeDocument?.info?.title}`,
|
|
647
628
|
class: "references-rendered"
|
|
648
629
|
}, [
|
|
649
|
-
createVNode(_sfc_main$
|
|
630
|
+
createVNode(_sfc_main$6, {
|
|
650
631
|
document: unref(workspaceStore).workspace.activeDocument,
|
|
651
632
|
environment: environment.value,
|
|
652
633
|
eventBus: unref(eventBus),
|
|
@@ -658,10 +639,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
658
639
|
xScalarDefaultClient: unref(workspaceStore).workspace["x-scalar-default-client"]
|
|
659
640
|
}, createSlots({
|
|
660
641
|
start: withCtx(() => [
|
|
661
|
-
unref(workspaceStore).workspace.activeDocument && unref(mediaQueries).lg.value ? (openBlock(), createBlock(_sfc_main$
|
|
642
|
+
unref(workspaceStore).workspace.activeDocument && unref(mediaQueries).lg.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
662
643
|
key: 0,
|
|
663
644
|
overrides: configurationOverrides.value,
|
|
664
|
-
"onUpdate:overrides": _cache[
|
|
645
|
+
"onUpdate:overrides": _cache[3] || (_cache[3] = ($event) => configurationOverrides.value = $event),
|
|
665
646
|
configuration: mergedConfig.value,
|
|
666
647
|
workspace: unref(workspaceStore)
|
|
667
648
|
}, null, 8, ["overrides", "configuration", "workspace"])) : createCommentVNode("", true),
|
|
@@ -677,11 +658,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
677
658
|
mode: colorMode.value,
|
|
678
659
|
style: { "transform": "scale(1.4)" },
|
|
679
660
|
variant: "icon",
|
|
680
|
-
onClick: _cache[
|
|
661
|
+
onClick: _cache[4] || (_cache[4] = () => unref(toggleColorMode)())
|
|
681
662
|
}, null, 8, ["mode"])) : createCommentVNode("", true)
|
|
682
663
|
]),
|
|
683
664
|
default: withCtx(() => [
|
|
684
|
-
createElementVNode("div",
|
|
665
|
+
createElementVNode("div", _hoisted_4, [
|
|
685
666
|
documentOptionList.value.length > 1 ? (openBlock(), createBlock(_sfc_main$2, {
|
|
686
667
|
key: 0,
|
|
687
668
|
modelValue: activeSlug.value,
|
|
@@ -715,8 +696,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
715
696
|
key: "0"
|
|
716
697
|
} : void 0
|
|
717
698
|
]), 1032, ["document", "environment", "eventBus", "expandedItems", "headingSlugGenerator", "infoSectionId", "items", "options", "xScalarDefaultClient"])
|
|
718
|
-
], 8,
|
|
719
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("div",
|
|
699
|
+
], 8, _hoisted_3),
|
|
700
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
720
701
|
renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps(slotProps.value)), void 0, true)
|
|
721
702
|
])) : createCommentVNode("", true),
|
|
722
703
|
createElementVNode("div", {
|
|
@@ -20,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
const emit = __emit;
|
|
21
21
|
const { mediaQueries } = useBreakpoints();
|
|
22
22
|
const variants = cva({
|
|
23
|
-
base: "items-center bg-b-1 sticky top-(--scalar-custom-header-height) z-10",
|
|
23
|
+
base: "items-center bg-b-1 sticky top-(--scalar-custom-header-height,0) z-10",
|
|
24
24
|
variants: {
|
|
25
25
|
open: {
|
|
26
26
|
true: "h-(--refs-sidebar-height) custom-scrollbar flex flex-col"
|
|
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
});
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
34
|
return unref(mediaQueries).lg.value ? renderSlot(_ctx.$slots, "sidebar", normalizeProps(mergeProps({ key: 0 }, {
|
|
35
|
-
sidebarClasses: "sticky top-(--refs-header-height) h-(--refs-sidebar-height) [grid-area:navigation]"
|
|
35
|
+
sidebarClasses: "sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]"
|
|
36
36
|
}))) : (openBlock(), createElementBlock("div", {
|
|
37
37
|
key: 1,
|
|
38
38
|
class: normalizeClass(["t-doc__header", unref(variants)({ open: __props.isSidebarOpen, lg: unref(mediaQueries).lg.value })])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AA2PA,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAqBrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAMxE,KAAK,WAAW,GAAG,IAAI,CACnB,cAAc,EACd,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,GAAG,iBAAiB,CACxE,GAAG;IACF,wCAAwC;IACxC,SAAS,EAAE,eAAe,CAAA;IAC1B,4CAA4C;IAC5C,cAAc,EAAE,YAAY,GAAG,IAAI,CAAA;IACnC,sDAAsD;IACtD,uBAAuB,EAAE,oBAAoB,EAAE,CAAA;CAChD,CAAC;;AA8fJ,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./ModernLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const ModernLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ModernLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e67d0b83"]]);
|
|
5
5
|
export {
|
|
6
6
|
ModernLayout as default
|
|
7
7
|
};
|
|
@@ -5,6 +5,7 @@ import { ScalarIconWebhooksLogo } from "@scalar/icons";
|
|
|
5
5
|
import { getOperationStability, getOperationStabilityColor, isOperationDeprecated } from "@scalar/oas-utils/helpers";
|
|
6
6
|
import { getResolvedRef } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
7
7
|
import OperationPath from "../../../components/OperationPath.vue.js";
|
|
8
|
+
import AskAgentButton from "../../ask-agent-button/AskAgentButton.vue.js";
|
|
8
9
|
import _sfc_main$6 from "../components/callbacks/Callbacks.vue.js";
|
|
9
10
|
import _sfc_main$4 from "../components/OperationParameters.vue.js";
|
|
10
11
|
import _sfc_main$5 from "../components/OperationResponses.vue.js";
|
|
@@ -205,6 +206,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
205
206
|
!__props.isWebhook ? {
|
|
206
207
|
name: "footer",
|
|
207
208
|
fn: withCtx(() => [
|
|
209
|
+
createVNode(AskAgentButton),
|
|
208
210
|
!__props.options.hideTestRequestButton ? (openBlock(), createBlock(unref(TestRequestButton), {
|
|
209
211
|
key: 0,
|
|
210
212
|
id: __props.id,
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=AskAgentButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AskAgentButton.vue.d.ts","sourceRoot":"","sources":["../../../src/features/ask-agent-button/AskAgentButton.vue"],"names":[],"mappings":";AAgPA,wBAKG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from "./AskAgentButton.vue2.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const AskAgentButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d1156562"]]);
|
|
5
|
+
export {
|
|
6
|
+
AskAgentButton as default
|
|
7
|
+
};
|