@8wave/ai-elements 0.103.0-beta.3 → 0.103.0-beta.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/dist/_chunks/PkLazyImg-CyeqD59M.js +34 -0
- package/dist/_chunks/{PkLazyImg-_389yCnQ.js.map → PkLazyImg-CyeqD59M.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-YJDdYD0E.js → PkStreamingMarkdown-DIkusrTI.js} +28 -28
- package/dist/_chunks/{PkStreamingMarkdown-YJDdYD0E.js.map → PkStreamingMarkdown-DIkusrTI.js.map} +1 -1
- package/dist/_chunks/PkToolRequestGeolocation-Cgus94KF.js +69 -0
- package/dist/_chunks/{PkToolRequestGeolocation-T16QI-Uv.js.map → PkToolRequestGeolocation-Cgus94KF.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-C8e5np2q.js → PkToolRequestOAuthConnection-DsUpUh97.js} +21 -21
- package/dist/_chunks/{PkToolRequestOAuthConnection-C8e5np2q.js.map → PkToolRequestOAuthConnection-DsUpUh97.js.map} +1 -1
- package/dist/_chunks/PkToolShowArtifact-griVx9w3.js +93 -0
- package/dist/_chunks/{PkToolShowArtifact-D15GjBm6.js.map → PkToolShowArtifact-griVx9w3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-D_GjXl2_.js → PkToolShowCalendarEvent-DyiNmqqo.js} +43 -43
- package/dist/_chunks/{PkToolShowCalendarEvent-D_GjXl2_.js.map → PkToolShowCalendarEvent-DyiNmqqo.js.map} +1 -1
- package/dist/_chunks/PkToolShowComparison-RA72YL7R.js +66 -0
- package/dist/_chunks/{PkToolShowComparison-Bp2rP2Hx.js.map → PkToolShowComparison-RA72YL7R.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-NVzIu2t0.js → PkToolShowContactForm-BzDhv2yd.js} +41 -41
- package/dist/_chunks/{PkToolShowContactForm-NVzIu2t0.js.map → PkToolShowContactForm-BzDhv2yd.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-BnZrDPVC.js → PkToolShowDiagram-DhXe8IPm.js} +79 -79
- package/dist/_chunks/{PkToolShowDiagram-BnZrDPVC.js.map → PkToolShowDiagram-DhXe8IPm.js.map} +1 -1
- package/dist/_chunks/{PkToolShowEmail-DCSj4328.js → PkToolShowEmail-CBmfy_I9.js} +34 -34
- package/dist/_chunks/{PkToolShowEmail-DCSj4328.js.map → PkToolShowEmail-CBmfy_I9.js.map} +1 -1
- package/dist/_chunks/PkToolShowForm-CzIfm5de.js +365 -0
- package/dist/_chunks/{PkToolShowForm-ztQFyFd9.js.map → PkToolShowForm-CzIfm5de.js.map} +1 -1
- package/dist/_chunks/PkToolShowImageGallery-CSIiRuSC.js +74 -0
- package/dist/_chunks/{PkToolShowImageGallery-DiOR0vYa.js.map → PkToolShowImageGallery-CSIiRuSC.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-CQmgakEo.js → PkToolShowLocation-BHoUqpx4.js} +4079 -4079
- package/dist/_chunks/{PkToolShowLocation-CQmgakEo.js.map → PkToolShowLocation-BHoUqpx4.js.map} +1 -1
- package/dist/_chunks/PkToolShowMessage-CpDmPfCG.js +77 -0
- package/dist/_chunks/{PkToolShowMessage-BysjJ1oS.js.map → PkToolShowMessage-CpDmPfCG.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-D-JXSRmA.js → PkToolShowProductList-B8uuIvGo.js} +28 -28
- package/dist/_chunks/{PkToolShowProductList-D-JXSRmA.js.map → PkToolShowProductList-B8uuIvGo.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-BcIwuGqm.js → PkToolShowQrCode-CD2lo3O0.js} +23 -23
- package/dist/_chunks/{PkToolShowQrCode-BcIwuGqm.js.map → PkToolShowQrCode-CD2lo3O0.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-U7etupUP.js → PkToolShowSources-JxaTAEpc.js} +98 -98
- package/dist/_chunks/{PkToolShowSources-U7etupUP.js.map → PkToolShowSources-JxaTAEpc.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-Dqe4gtEY.js → PkToolShowSuggestedReply-BTxqEwEm.js} +18 -18
- package/dist/_chunks/{PkToolShowSuggestedReply-Dqe4gtEY.js.map → PkToolShowSuggestedReply-BTxqEwEm.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-DYMhfXKH.js → PkToolShowVideo-CVksKdPD.js} +17 -17
- package/dist/_chunks/{PkToolShowVideo-DYMhfXKH.js.map → PkToolShowVideo-CVksKdPD.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-D_pJe5DI.js → PkToolShowWeather-IDwTDozU.js} +68 -68
- package/dist/_chunks/{PkToolShowWeather-D_pJe5DI.js.map → PkToolShowWeather-IDwTDozU.js.map} +1 -1
- package/dist/_chunks/PkToolShowWebPages-D9Yst_2O.js +78 -0
- package/dist/_chunks/{PkToolShowWebPages-CPNgXzrS.js.map → PkToolShowWebPages-D9Yst_2O.js.map} +1 -1
- package/dist/_chunks/{PkUrl-C3gMPCjz.js → PkUrl-B3FTSURr.js} +19 -19
- package/dist/_chunks/{PkUrl-C3gMPCjz.js.map → PkUrl-B3FTSURr.js.map} +1 -1
- package/dist/_chunks/{VvCheckbox.es-CEfwI84M.js → VvCheckbox.es-C_dlDzrr.js} +78 -78
- package/dist/_chunks/{VvCheckbox.es-CEfwI84M.js.map → VvCheckbox.es-C_dlDzrr.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-B-eWqe8G.js → VvCheckboxGroup.es-hY0kWpC2.js} +197 -197
- package/dist/_chunks/{VvCheckboxGroup.es-B-eWqe8G.js.map → VvCheckboxGroup.es-hY0kWpC2.js.map} +1 -1
- package/dist/_chunks/VvCombobox.es-DxhDF7ab.js +2044 -0
- package/dist/_chunks/{VvCombobox.es-CfRJtWOd.js.map → VvCombobox.es-DxhDF7ab.js.map} +1 -1
- package/dist/_chunks/{VvInputText.es-B0HHD6Th.js → VvInputText.es-CdpU8kvP.js} +460 -460
- package/dist/_chunks/{VvInputText.es-B0HHD6Th.js.map → VvInputText.es-CdpU8kvP.js.map} +1 -1
- package/dist/_chunks/{VvRadio.es-B3u8JJFF.js → VvRadio.es-BruZ5FHR.js} +144 -144
- package/dist/_chunks/{VvRadio.es-B3u8JJFF.js.map → VvRadio.es-BruZ5FHR.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es--AMV1wAw.js → VvRadioGroup.es-DSv6UdEy.js} +148 -148
- package/dist/_chunks/{VvRadioGroup.es--AMV1wAw.js.map → VvRadioGroup.es-DSv6UdEy.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-BfrDID0e.js → VvSelect.es-C244CAei.js} +155 -155
- package/dist/_chunks/{VvSelect.es-BfrDID0e.js.map → VvSelect.es-C244CAei.js.map} +1 -1
- package/dist/_chunks/VvTextarea.es-DbaPIcWl.js +1166 -0
- package/dist/_chunks/{VvTextarea.es-CAzFW944.js.map → VvTextarea.es-DbaPIcWl.js.map} +1 -1
- package/dist/_chunks/{dist-BvSGMyWS.js → dist-BgJVX4FG.js} +12 -12
- package/dist/_chunks/{dist-BvSGMyWS.js.map → dist-BgJVX4FG.js.map} +1 -1
- package/dist/_chunks/{dist-TFHdNK0W.js → dist-C5Y-NI3i.js} +230 -230
- package/dist/_chunks/{dist-TFHdNK0W.js.map → dist-C5Y-NI3i.js.map} +1 -1
- package/dist/_chunks/{esm-CUYQMpeA.js → esm-BTbGj6W3.js} +25 -25
- package/dist/_chunks/{esm-CUYQMpeA.js.map → esm-BTbGj6W3.js.map} +1 -1
- package/dist/_chunks/{floating-ui.vue-Br_zOLJv.js → floating-ui.vue-CoA4oagI.js} +16 -16
- package/dist/_chunks/{floating-ui.vue-Br_zOLJv.js.map → floating-ui.vue-CoA4oagI.js.map} +1 -1
- package/dist/_chunks/{iconify-BGSTR7vH.js → iconify-6ObncgfH.js} +36 -36
- package/dist/_chunks/{iconify-BGSTR7vH.js.map → iconify-6ObncgfH.js.map} +1 -1
- package/dist/_chunks/{index.es-B9rhQl9Z.js → index.es-BbyodRh9.js} +258 -258
- package/dist/_chunks/{index.es-B9rhQl9Z.js.map → index.es-BbyodRh9.js.map} +1 -1
- package/dist/_chunks/index.es-gbmOq0Nu.js +3124 -0
- package/dist/_chunks/index.es-gbmOq0Nu.js.map +1 -0
- package/dist/_chunks/{rolldown-runtime-CEFd7nDs.js → rolldown-runtime-CoeuCKPe.js} +4 -11
- package/dist/_chunks/{src-BjFv9Ag8.js → src-CIEdKLKO.js} +2 -2
- package/dist/_chunks/{src-BjFv9Ag8.js.map → src-CIEdKLKO.js.map} +1 -1
- package/dist/_chunks/useImageFallback-BAsLRsyg.js +19 -0
- package/dist/_chunks/{useImageFallback-8kfLDjXm.js.map → useImageFallback-BAsLRsyg.js.map} +1 -1
- package/dist/_chunks/{useLightbox-Bq6k-Wlt.js → useLightbox-Epg2fN87.js} +7 -7
- package/dist/_chunks/{useLightbox-Bq6k-Wlt.js.map → useLightbox-Epg2fN87.js.map} +1 -1
- package/dist/_chunks/useShortUrlResolver--HRa6Od3.js +72 -0
- package/dist/_chunks/{useShortUrlResolver-BTJM8XRw.js.map → useShortUrlResolver--HRa6Od3.js.map} +1 -1
- package/dist/_chunks/{vue-i18n-BJ7nxwO3.js → vue-i18n-t25g63Be.js} +81 -81
- package/dist/_chunks/{vue-i18n-BJ7nxwO3.js.map → vue-i18n-t25g63Be.js.map} +1 -1
- package/dist/_chunks/vue.runtime.esm-bundler-B3bThTaf.js +3747 -0
- package/dist/_chunks/vue.runtime.esm-bundler-B3bThTaf.js.map +1 -0
- package/dist/ai-elements.es.js +1861 -1861
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.js +1 -1
- package/dist-vue/PkChatbotFeedbackForm.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/_chunks/{PkChatbot-DZ6TaZHh.js → PkChatbot-Ch8FlZjC.js} +2 -2
- package/dist-vue/_chunks/{PkChatbot-DZ6TaZHh.js.map → PkChatbot-Ch8FlZjC.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-CqwTN8ih.js → PkChatbotAuth-DvnmIukc.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotAuth-CqwTN8ih.js.map → PkChatbotAuth-DvnmIukc.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-nEevDHmI.js → PkChatbotFeedbackForm-D0RNa7bE.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-nEevDHmI.js.map → PkChatbotFeedbackForm-D0RNa7bE.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-BgsyN-mB.js → PkChatbotMessages-DGO0WIqx.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotMessages-BgsyN-mB.js.map → PkChatbotMessages-DGO0WIqx.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-0g30_sQH.js → PkChatbotViewChat-Dkz8dq8N.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewChat-0g30_sQH.js.map → PkChatbotViewChat-Dkz8dq8N.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-CMK4zR2J.js → PkToolShowContactForm-CkkWxSSz.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CMK4zR2J.js.map → PkToolShowContactForm-CkkWxSSz.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-DoklcF3f.js → PkToolShowDiagram-D0NBG-Gy.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-DoklcF3f.js.map → PkToolShowDiagram-D0NBG-Gy.js.map} +1 -1
- package/dist-vue/_chunks/{index.es-BT6Jr2yi.js → index.es-BKxzs6Sh.js} +2 -2
- package/dist-vue/_chunks/{index.es-BT6Jr2yi.js.map → index.es-BKxzs6Sh.js.map} +1 -1
- package/dist-vue/index.js +10 -10
- package/package.json +2 -2
- package/dist/_chunks/PkLazyImg-_389yCnQ.js +0 -34
- package/dist/_chunks/PkToolRequestGeolocation-T16QI-Uv.js +0 -69
- package/dist/_chunks/PkToolShowArtifact-D15GjBm6.js +0 -93
- package/dist/_chunks/PkToolShowComparison-Bp2rP2Hx.js +0 -66
- package/dist/_chunks/PkToolShowForm-ztQFyFd9.js +0 -365
- package/dist/_chunks/PkToolShowImageGallery-DiOR0vYa.js +0 -74
- package/dist/_chunks/PkToolShowMessage-BysjJ1oS.js +0 -77
- package/dist/_chunks/PkToolShowWebPages-CPNgXzrS.js +0 -78
- package/dist/_chunks/VvCombobox.es-CfRJtWOd.js +0 -2044
- package/dist/_chunks/VvTextarea.es-CAzFW944.js +0 -1166
- package/dist/_chunks/index.es-DvV0VhDa.js +0 -9832
- package/dist/_chunks/index.es-DvV0VhDa.js.map +0 -1
- package/dist/_chunks/useImageFallback-8kfLDjXm.js +0 -19
- package/dist/_chunks/useShortUrlResolver-BTJM8XRw.js +0 -72
- package/dist/_chunks/vue.runtime.esm-bundler-DF2of3lp.js +0 -5007
- package/dist/_chunks/vue.runtime.esm-bundler-DF2of3lp.js.map +0 -1
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { E as e, R as t, S as n, Ut as r, at as i, et as a, g as o, h as s, k as c, kt as l, qt as u, w as d, x as f, xt as p, y as m } from "./vue.runtime.esm-bundler-DF2of3lp.js";
|
|
2
|
-
import { i as h } from "./dist-TFHdNK0W.js";
|
|
3
|
-
import { a as g, n as _, s as v, t as y, u as b } from "./index.es-DvV0VhDa.js";
|
|
4
|
-
import { n as x } from "./useShortUrlResolver-BTJM8XRw.js";
|
|
5
|
-
c(), l(), i();
|
|
6
|
-
var S = { class: "border border-surface-3 rounded-xl w-full overflow-hidden bg-surface" }, C = { class: "px-sm py-6 bg-surface-1 min-h-40 text-12 border-b border-surface-3 text-word-3 flex items-center gap-8" }, w = { class: "font-bold" }, T = { class: "p-sm" }, E = { class: "text-12 text-word-4 mb-4" }, D = { class: "text-word-2 whitespace-pre-wrap break-words" }, O = /* @__PURE__ */ d({
|
|
7
|
-
__name: "PkToolShowMessage",
|
|
8
|
-
props: { part: { type: null } },
|
|
9
|
-
setup(i) {
|
|
10
|
-
let c = i, { copy: l, copied: d } = h(), O = s(() => c.part), { resolveText: k } = x(), A = k(() => O.value.input?.body), j = () => {
|
|
11
|
-
if (!O.value.input) return;
|
|
12
|
-
let e = `https://wa.me/?text=${encodeURIComponent(A.value)}`;
|
|
13
|
-
window.open(e, "_blank");
|
|
14
|
-
}, M = () => {
|
|
15
|
-
if (!O.value.input) return;
|
|
16
|
-
let e = `https://t.me/share/url?text=${encodeURIComponent(A.value)}`;
|
|
17
|
-
window.open(e, "_blank");
|
|
18
|
-
}, N = () => {
|
|
19
|
-
if (!O.value.input) return;
|
|
20
|
-
let e = `sms:?body=${encodeURIComponent(A.value)}`;
|
|
21
|
-
window.open(e);
|
|
22
|
-
};
|
|
23
|
-
return (i, s) => {
|
|
24
|
-
let c = b, h = v, x = _, O = g, k = y;
|
|
25
|
-
return t(), m("div", S, [o("div", C, [
|
|
26
|
-
n(c, {
|
|
27
|
-
name: "ri:chat-1-line",
|
|
28
|
-
class: "text-16"
|
|
29
|
-
}),
|
|
30
|
-
o("strong", w, u(i.$t("label.message")), 1),
|
|
31
|
-
n(k, {
|
|
32
|
-
modifiers: "compact",
|
|
33
|
-
class: "ml-auto shrink-0"
|
|
34
|
-
}, {
|
|
35
|
-
default: a(() => [n(h, {
|
|
36
|
-
modifiers: "action-quiet-small",
|
|
37
|
-
icon: p(d) ? "ri:check-line" : "ri:file-copy-line",
|
|
38
|
-
label: p(d) ? i.$t("action.copied") : i.$t("action.copy"),
|
|
39
|
-
onClick: s[0] ||= (e) => p(l)(p(A))
|
|
40
|
-
}, null, 8, ["icon", "label"]), n(O, r(e({
|
|
41
|
-
placement: "bottom-end",
|
|
42
|
-
modifiers: "menu",
|
|
43
|
-
flip: !0,
|
|
44
|
-
offset: 3,
|
|
45
|
-
strategy: "fixed"
|
|
46
|
-
})), {
|
|
47
|
-
items: a(() => [
|
|
48
|
-
n(x, { onClick: j }, {
|
|
49
|
-
default: a(() => [n(c, { name: "ri:whatsapp-line" }), f(" " + u(i.$t("action.openInWhatsApp")), 1)]),
|
|
50
|
-
_: 1
|
|
51
|
-
}),
|
|
52
|
-
n(x, { onClick: M }, {
|
|
53
|
-
default: a(() => [n(c, { name: "ri:telegram-line" }), f(" " + u(i.$t("action.openInTelegram")), 1)]),
|
|
54
|
-
_: 1
|
|
55
|
-
}),
|
|
56
|
-
n(x, { onClick: N }, {
|
|
57
|
-
default: a(() => [n(c, { name: "ri:message-2-line" }), f(" " + u(i.$t("action.openInSms")), 1)]),
|
|
58
|
-
_: 1
|
|
59
|
-
})
|
|
60
|
-
]),
|
|
61
|
-
default: a(() => [n(h, {
|
|
62
|
-
icon: "ri:send-plane-line",
|
|
63
|
-
modifiers: "action-quiet-small",
|
|
64
|
-
label: i.$t("action.send")
|
|
65
|
-
}, null, 8, ["label"])]),
|
|
66
|
-
_: 1
|
|
67
|
-
}, 16)]),
|
|
68
|
-
_: 1
|
|
69
|
-
})
|
|
70
|
-
]), o("div", T, [o("div", E, u(i.$t("label.body")), 1), o("pre", D, u(p(A)), 1)])]);
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
//#endregion
|
|
75
|
-
export { O as default };
|
|
76
|
-
|
|
77
|
-
//# sourceMappingURL=PkToolShowMessage-BysjJ1oS.js.map
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { B as e, R as t, S as n, _ as r, at as i, f as a, g as o, h as s, k as c, kt as l, mt as u, qt as d, v as f, w as p, x as m, xt as h, y as g } from "./vue.runtime.esm-bundler-DF2of3lp.js";
|
|
2
|
-
import "./src-BjFv9Ag8.js";
|
|
3
|
-
import { n as _ } from "./url-validation-uLMZ5-AU.js";
|
|
4
|
-
import { u as v } from "./index.es-DvV0VhDa.js";
|
|
5
|
-
import { t as y } from "./PkLazyImg-_389yCnQ.js";
|
|
6
|
-
import { t as b } from "./PkUrl-C3gMPCjz.js";
|
|
7
|
-
c(), i(), l();
|
|
8
|
-
var x = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "flex flex-col gap-xs w-full"
|
|
11
|
-
}, S = [
|
|
12
|
-
"href",
|
|
13
|
-
"title",
|
|
14
|
-
"target",
|
|
15
|
-
"rel"
|
|
16
|
-
], C = { class: "flex flex-col gap-4 min-w-0 flex-1" }, w = { class: "font-bold text-12 text-word-1 truncate" }, T = { class: "text-10 text-word-4 truncate flex items-center gap-4" }, E = {
|
|
17
|
-
key: 0,
|
|
18
|
-
class: "text-12 text-word-3 line-clamp-2"
|
|
19
|
-
}, D = {
|
|
20
|
-
key: 0,
|
|
21
|
-
class: "text-center"
|
|
22
|
-
}, O = /* @__PURE__ */ p({
|
|
23
|
-
__name: "PkToolShowWebPages",
|
|
24
|
-
props: { part: { type: null } },
|
|
25
|
-
setup(i) {
|
|
26
|
-
let c = i, l = s(() => c.part), p = (e) => {
|
|
27
|
-
try {
|
|
28
|
-
let t = new URL(e);
|
|
29
|
-
return t.hash = "", t.toString().replace(/\/$/, "");
|
|
30
|
-
} catch {
|
|
31
|
-
return e.trim().replace(/\/$/, "");
|
|
32
|
-
}
|
|
33
|
-
}, O = s(() => {
|
|
34
|
-
let e = /* @__PURE__ */ new Set(), t = [];
|
|
35
|
-
for (let n of l.value.input?.pages || []) {
|
|
36
|
-
let r = p(n.url);
|
|
37
|
-
e.has(r) || (e.add(r), t.push(n));
|
|
38
|
-
}
|
|
39
|
-
return t;
|
|
40
|
-
}), k = u(!1), A = s(() => k.value ? O.value : O.value.slice(0, 2)), j = s(() => O.value.length > 2);
|
|
41
|
-
return (i, s) => {
|
|
42
|
-
let c = v;
|
|
43
|
-
return A.value?.length ? (t(), g("ul", x, [(t(!0), g(a, null, e(A.value, (e, a) => (t(), g("li", {
|
|
44
|
-
key: a,
|
|
45
|
-
class: "border border-surface-3 bg-surface rounded-xl overflow-hidden hover:border-surface-4 transition-colors shrink-0"
|
|
46
|
-
}, [o("a", {
|
|
47
|
-
href: e.url,
|
|
48
|
-
title: i.$t("action.open"),
|
|
49
|
-
target: h(_)(e.url) ? void 0 : "_blank",
|
|
50
|
-
rel: h(_)(e.url) ? void 0 : "noopener noreferrer",
|
|
51
|
-
class: "flex gap-8 p-8 hover:bg-surface-1 transition-colors"
|
|
52
|
-
}, [e.image ? (t(), r(y, {
|
|
53
|
-
key: 0,
|
|
54
|
-
src: e.image,
|
|
55
|
-
alt: e.title,
|
|
56
|
-
"fallback-icon": "ri:image-off-line",
|
|
57
|
-
class: "w-48 h-48 object-contain rounded shrink-0 border border-surface-3 bg-surface"
|
|
58
|
-
}, null, 8, ["src", "alt"])) : f("", !0), o("div", C, [
|
|
59
|
-
o("strong", w, d(e.title), 1),
|
|
60
|
-
o("span", T, [n(c, {
|
|
61
|
-
name: "ri:link",
|
|
62
|
-
class: "shrink-0 text-12"
|
|
63
|
-
}), n(b, { url: e.url }, null, 8, ["url"])]),
|
|
64
|
-
e.description ? (t(), g("p", E, d(e.description), 1)) : f("", !0)
|
|
65
|
-
])], 8, S)]))), 128)), j.value ? (t(), g("li", D, [o("button", {
|
|
66
|
-
class: "text-12 text-word-3 cursor-pointer hover:underline flex items-center gap-4 mx-auto",
|
|
67
|
-
onClick: s[0] ||= (e) => k.value = !k.value
|
|
68
|
-
}, [n(c, {
|
|
69
|
-
name: k.value ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
|
|
70
|
-
class: "text-16"
|
|
71
|
-
}, null, 8, ["name"]), m(" " + d(k.value ? i.$t("action.showLess") : i.$t("action.showMore", { count: O.value.length - 2 })), 1)])])) : f("", !0)])) : f("", !0);
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
//#endregion
|
|
76
|
-
export { O as default };
|
|
77
|
-
|
|
78
|
-
//# sourceMappingURL=PkToolShowWebPages-CPNgXzrS.js.map
|