@1024pix/epreuves-components 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ImageQuiz.ce-BpbKbNe3.js → ImageQuiz.ce-DtarwFF1.js} +13 -13
- package/dist/{LLMMessage.ce-BXgLZdHB.js → LLMMessage.ce-CnMf3mGa.js} +4 -4
- package/dist/{Loading.ce-BaqTP6QH.js → Loading.ce-BLJllV22.js} +1 -1
- package/dist/{NavigationButton.ce-CJGPfdW7.js → NavigationButton.ce-Cz9511sV.js} +10 -10
- package/dist/_plugin-vue_export-helper-DK91u00G.js +4756 -0
- package/dist/components/calcul-impact.ce.js.js +54 -54
- package/dist/components/clickable-image.ce.js.js +96 -0
- package/dist/components/complete-phrase.ce.js.js +11 -11
- package/dist/components/image-quiz.ce.js.js +2 -2
- package/dist/components/image-quizzes.ce.js.js +2 -2
- package/dist/components/llm-compare-messages.ce.js.js +3 -3
- package/dist/components/llm-messages.ce.js.js +3 -3
- package/dist/components/llm-prompt-select.ce.js.js +7 -7
- package/dist/components/message-conversation.ce.js.js +16 -16
- package/dist/components/pix-article.ce.js.js +16 -16
- package/dist/components/pix-carousel.ce.js.js +19 -19
- package/dist/components/pix-cursor.ce.js.js +24 -24
- package/dist/components/qcm-deepfake.ce.js.js +44 -44
- package/dist/{i18n-CnN3ours.js → i18n-Gv3Ze5vF.js} +1 -1
- package/dist/index.js +8 -7
- package/dist/metadata.js +43 -26
- package/dist/schema.js +39 -21
- package/dist/{shadow-dom-BPtJYPTL.js → shadow-dom-DTRtrvgC.js} +1 -1
- package/package.json +1 -1
- package/dist/_plugin-vue_export-helper-CXkSGj2f.js +0 -4717
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as B, r as N,
|
|
2
|
-
function O(i, u =
|
|
1
|
+
import { a as B, r as N, G as I, c as d, o as m, H as b, q as f, I as g, D as y, f as h, m as j, t as k, _ as L, k as p, J as q, g as M, F as z, b as T, e as F } from "./_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
function O(i, u = H) {
|
|
3
3
|
const a = [...i];
|
|
4
4
|
for (let n = a.length - 1; n > 0; n--) {
|
|
5
5
|
const l = u() % (n + 1);
|
|
@@ -7,10 +7,10 @@ function O(i, u = A) {
|
|
|
7
7
|
}
|
|
8
8
|
return a;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function H() {
|
|
11
11
|
return Math.floor(Math.random() * 2 ** 32);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const A = ["aria-labelledby", "aria-selected", "tabindex"], D = { key: 0 }, K = ["id"], Q = ["id"], R = /* @__PURE__ */ B({
|
|
14
14
|
__name: "ImageOption.ce",
|
|
15
15
|
props: {
|
|
16
16
|
choice: { type: Object },
|
|
@@ -43,7 +43,7 @@ const D = ["aria-labelledby", "aria-selected", "tabindex"], H = { key: 0 }, K =
|
|
|
43
43
|
t[3] || (t[3] = b(f((r) => o.$emit("next"), ["stop", "prevent"]), ["down", "right"]))
|
|
44
44
|
]
|
|
45
45
|
}, [
|
|
46
|
-
o.choice.image ? (m(), d("figure",
|
|
46
|
+
o.choice.image ? (m(), d("figure", D, [
|
|
47
47
|
h("img", j(o.choice.image, {
|
|
48
48
|
class: o.imageClass,
|
|
49
49
|
alt: ""
|
|
@@ -51,14 +51,14 @@ const D = ["aria-labelledby", "aria-selected", "tabindex"], H = { key: 0 }, K =
|
|
|
51
51
|
h("figcaption", {
|
|
52
52
|
class: y(o.nameClass),
|
|
53
53
|
id: g(s)
|
|
54
|
-
},
|
|
54
|
+
}, k(o.choice.name), 11, K)
|
|
55
55
|
])) : (m(), d("span", {
|
|
56
56
|
key: 1,
|
|
57
57
|
id: g(s)
|
|
58
|
-
},
|
|
59
|
-
], 42,
|
|
58
|
+
}, k(o.choice.name), 9, Q))
|
|
59
|
+
], 42, A));
|
|
60
60
|
}
|
|
61
|
-
}), E = '.image-option{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;margin:.5rem;border:solid 2px #c1c7d0;border-radius:10px;background:#fff;width:calc(20% - 2em);min-width:150px;padding:1rem}.image-option--max4{width:calc(25% - 2em);min-width:175px}.image-option--max3{width:calc(33% - 2em)}.image-option--max2{width:calc(50% - 2em);min-width:300px}.image-option--max1{width:calc(100% - 4em);min-width:300px}.image-option:hover{cursor:pointer;box-shadow:0 3px 10px #0000001a;transform:scale(1.04);transition:transform ease-in .1s}.image-option:focus{outline:none;box-shadow:5px 5px #ffbe00,-5px 5px #ffbe00,5px -5px #ffbe00,-5px -5px #ffbe00}.image-option[aria-selected=true]{border-color:#3d68ff}.image-option[aria-selected=true]:after{content:"";position:absolute;width:calc(100% + 2px);height:calc(100% + 2px);background:#3d68ff4d;border-radius:10px;z-index:3}.image-option figure{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;text-align:center;width:100%}.image-option figure img{max-width:100%;height:auto}.image-option figure img.icon{max-height:100px;width:auto}.image-option figure img.medium{max-width:50%;height:auto}.image-option figure figcaption{margin:1ex}',
|
|
61
|
+
}), E = '.image-option{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;margin:.5rem;border:solid 2px #c1c7d0;border-radius:10px;background:#fff;width:calc(20% - 2em);min-width:150px;padding:1rem}.image-option--max4{width:calc(25% - 2em);min-width:175px}.image-option--max3{width:calc(33% - 2em)}.image-option--max2{width:calc(50% - 2em);min-width:300px}.image-option--max1{width:calc(100% - 4em);min-width:300px}.image-option:hover{cursor:pointer;box-shadow:0 3px 10px #0000001a;transform:scale(1.04);transition:transform ease-in .1s}.image-option:focus{outline:none;box-shadow:5px 5px #ffbe00,-5px 5px #ffbe00,5px -5px #ffbe00,-5px -5px #ffbe00}.image-option[aria-selected=true]{border-color:#3d68ff}.image-option[aria-selected=true]:after{content:"";position:absolute;width:calc(100% + 2px);height:calc(100% + 2px);background:#3d68ff4d;border-radius:10px;z-index:3}.image-option figure{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;text-align:center;width:100%}.image-option figure img{max-width:100%;height:auto}.image-option figure img.icon{max-height:100px;width:auto}.image-option figure img.medium{max-width:50%;height:auto}.image-option figure figcaption{margin:1ex}', G = /* @__PURE__ */ L(R, [["styles", [E]]]), J = ["id", "innerHTML"], V = ["aria-multiselectable", "aria-labelledby"], U = /* @__PURE__ */ B({
|
|
62
62
|
__name: "ImageQuiz.ce",
|
|
63
63
|
props: {
|
|
64
64
|
multiple: { type: Boolean, default: !1 },
|
|
@@ -86,12 +86,12 @@ const D = ["aria-labelledby", "aria-selected", "tabindex"], H = { key: 0 }, K =
|
|
|
86
86
|
function w(e) {
|
|
87
87
|
e = (e + i.choices.length) % i.choices.length, i.multiple || v(e), x.value[e].focus();
|
|
88
88
|
}
|
|
89
|
-
return (e, C) => (m(), d(
|
|
89
|
+
return (e, C) => (m(), d(z, null, [
|
|
90
90
|
h("label", {
|
|
91
91
|
id: g(r),
|
|
92
92
|
class: y(["image-quiz-label", { "sr-only": !e.showName }]),
|
|
93
93
|
innerHTML: e.name
|
|
94
|
-
}, null, 10,
|
|
94
|
+
}, null, 10, J),
|
|
95
95
|
h("div", {
|
|
96
96
|
role: "listbox",
|
|
97
97
|
class: "image-quiz",
|
|
@@ -99,7 +99,7 @@ const D = ["aria-labelledby", "aria-selected", "tabindex"], H = { key: 0 }, K =
|
|
|
99
99
|
"aria-labelledby": g(r),
|
|
100
100
|
"aria-orientation": "horizontal"
|
|
101
101
|
}, [
|
|
102
|
-
(m(!0), d(
|
|
102
|
+
(m(!0), d(z, null, T(l.value, (S, c) => (m(), F(G, {
|
|
103
103
|
ref_for: !0,
|
|
104
104
|
ref_key: "options",
|
|
105
105
|
ref: x,
|
|
@@ -114,7 +114,7 @@ const D = ["aria-labelledby", "aria-selected", "tabindex"], H = { key: 0 }, K =
|
|
|
114
114
|
onNext: ($) => w(c + 1),
|
|
115
115
|
onPrevious: ($) => w(c - 1)
|
|
116
116
|
}, null, 8, ["choice", "max-choices-per-line", "name-class", "image-class", "selected", "tab-focusable", "onToggle", "onNext", "onPrevious"]))), 128))
|
|
117
|
-
], 8,
|
|
117
|
+
], 8, V)
|
|
118
118
|
], 64));
|
|
119
119
|
}
|
|
120
120
|
}), W = "*{box-sizing:border-box}.image-quiz-label{font-size:1.25rem;margin:1rem 0;display:inline-block}.image-quiz{display:flex;flex-wrap:wrap;justify-content:space-around}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}", Y = /* @__PURE__ */ L(U, [["styles", [W]]]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as b, c as n, o as t, f as s, a as m,
|
|
2
|
-
import { L as f } from "./Loading.ce-
|
|
1
|
+
import { _ as b, c as n, o as t, f as s, a as m, k as d, D as g, e as r, E as l, y as u, t as p } from "./_plugin-vue_export-helper-DK91u00G.js";
|
|
2
|
+
import { L as f } from "./Loading.ce-BLJllV22.js";
|
|
3
3
|
const h = {}, C = {
|
|
4
4
|
height: "1rem",
|
|
5
5
|
width: "auto",
|
|
@@ -83,7 +83,7 @@ const z = /* @__PURE__ */ b(L, [["render", $]]), B = { class: "avatar" }, q = {
|
|
|
83
83
|
])
|
|
84
84
|
], 2));
|
|
85
85
|
}
|
|
86
|
-
}), j = ".message{display:flex;width:90%;gap:12px;align-items:start}.message .avatar{align-items:center;aspect-ratio:1/1;background-color:#1c825d;border-radius:8px;display:flex;justify-content:center;margin-top:2px;padding:4px;width:32px;height:32px}.message .loader{margin-top:14px}.message .bubble .content{--background: #efefef;--focus: #0096bfab;--border: #dbdbdb;box-sizing:border-box;font-size:14px;color:#253858;line-height:20px}.message .bubble .content p{margin:0;word-wrap:break-word}.message .bubble .content h1{font-size:1.8em}.message .bubble .content h2{font-size:1.4em}.message .bubble .content h3{font-size:1.2em}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6{margin-bottom:12px;color:#000}.message .bubble .content strong{color:#000}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6,.message .bubble .content b,.message .bubble .content strong,.message .bubble .content th{font-weight:600}.message .bubble .content q:before{content:none}.message .bubble .content q:after{content:none}.message .bubble .content blockquote,.message .bubble .content q{border-left:4px solid var(--focus);margin:1.5em 0;padding:.5em 1em;font-style:italic}.message .bubble .content blockquote>footer{font-style:normal;border:0}.message .bubble .content blockquote cite{font-style:normal}.message .bubble .content mark{background-color:#ff0;border-radius:2px;padding:0 2px;color:#000}.message .bubble .content code{background:var(--background);color:#000;padding:2.5px 5px;border-radius:6px;font-size:1em}.message .bubble .content hr{border:none;border-top:1px solid var(--border)}.message .bubble .content table{border-collapse:collapse;margin-bottom:10px;width:100%;table-layout:fixed;border:1px solid #dbdbdb;border-radius:8px}.message .bubble .content table caption{text-align:left}.message .bubble .content td,.message .bubble .content th{padding:6px;text-align:left;vertical-align:top;word-wrap:break-word;border-right:1px solid var(--border)}.message .bubble .content thead{border-bottom:1px solid var(--border)}.message .bubble .content tfoot{border-top:1px solid var(--border)}.message .bubble .content tbody tr:nth-child(2n){background-color:#efefef}.message .bubble .content tbody tr:nth-child(2n) button{background-color:#f7f7f7}.message .bubble .content tbody tr:nth-child(2n) button:hover{background-color:#fff}.message .bubble .content details{display:flex;flex-direction:column;align-items:flex-start;background-color:#f7f7f7;padding:10px 10px 0;margin:1em 0;border-radius:6px;overflow:hidden}.message .bubble .content details[open]{padding:10px}.message .bubble .content details>:last-child{margin-bottom:0}.message .bubble .content details[open] summary{margin-bottom:10px}.message .bubble .content summary{display:list-item;background-color:#efefef;padding:10px;margin:-10px -10px 0;cursor:pointer;outline:none}.message .bubble .content summary:hover,.message .bubble .content summary:focus{text-decoration:underline}.message .bubble .content details>:not(summary){margin-top:0}.message .bubble .content summary::-webkit-details-marker{color:#363636}.message .bubble .content ul{list-style-type:disc;list-style-position:inside}.message .bubble .content ol{list-style-type:decimal}.message .bubble .attachment-label{display:flex;align-items:center;gap:.5rem;font-size:.8rem;font-style:italic;justify-content:end;margin:1rem}.message.outbound{align-self:end;flex-direction:row-reverse}.message.outbound .avatar{background-color:#957ee8}.message.outbound .bubble{background:#cec3f4;border-radius:16px;padding:8px 16px}",
|
|
86
|
+
}), j = ".message{display:flex;width:90%;gap:12px;align-items:start}.message .avatar{align-items:center;aspect-ratio:1/1;background-color:#1c825d;border-radius:8px;display:flex;justify-content:center;margin-top:2px;padding:4px;width:32px;height:32px}.message .loader{margin-top:14px}.message .bubble .content{--background: #efefef;--focus: #0096bfab;--border: #dbdbdb;box-sizing:border-box;font-size:14px;color:#253858;line-height:20px}.message .bubble .content p{margin:0;word-wrap:break-word}.message .bubble .content h1{font-size:1.8em}.message .bubble .content h2{font-size:1.4em}.message .bubble .content h3{font-size:1.2em}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6{margin-bottom:12px;color:#000}.message .bubble .content strong{color:#000}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6,.message .bubble .content b,.message .bubble .content strong,.message .bubble .content th{font-weight:600}.message .bubble .content q:before{content:none}.message .bubble .content q:after{content:none}.message .bubble .content blockquote,.message .bubble .content q{border-left:4px solid var(--focus);margin:1.5em 0;padding:.5em 1em;font-style:italic}.message .bubble .content blockquote>footer{font-style:normal;border:0}.message .bubble .content blockquote cite{font-style:normal}.message .bubble .content mark{background-color:#ff0;border-radius:2px;padding:0 2px;color:#000}.message .bubble .content code{background:var(--background);color:#000;padding:2.5px 5px;border-radius:6px;font-size:1em}.message .bubble .content hr{border:none;border-top:1px solid var(--border)}.message .bubble .content table{border-collapse:collapse;margin-bottom:10px;width:100%;table-layout:fixed;border:1px solid #dbdbdb;border-radius:8px}.message .bubble .content table caption{text-align:left}.message .bubble .content td,.message .bubble .content th{padding:6px;text-align:left;vertical-align:top;word-wrap:break-word;border-right:1px solid var(--border)}.message .bubble .content thead{border-bottom:1px solid var(--border)}.message .bubble .content tfoot{border-top:1px solid var(--border)}.message .bubble .content tbody tr:nth-child(2n){background-color:#efefef}.message .bubble .content tbody tr:nth-child(2n) button{background-color:#f7f7f7}.message .bubble .content tbody tr:nth-child(2n) button:hover{background-color:#fff}.message .bubble .content details{display:flex;flex-direction:column;align-items:flex-start;background-color:#f7f7f7;padding:10px 10px 0;margin:1em 0;border-radius:6px;overflow:hidden}.message .bubble .content details[open]{padding:10px}.message .bubble .content details>:last-child{margin-bottom:0}.message .bubble .content details[open] summary{margin-bottom:10px}.message .bubble .content summary{display:list-item;background-color:#efefef;padding:10px;margin:-10px -10px 0;cursor:pointer;outline:none}.message .bubble .content summary:hover,.message .bubble .content summary:focus{text-decoration:underline}.message .bubble .content details>:not(summary){margin-top:0}.message .bubble .content summary::-webkit-details-marker{color:#363636}.message .bubble .content ul{list-style-type:disc;list-style-position:inside}.message .bubble .content ol{list-style-type:decimal}.message .bubble .attachment-label{display:flex;align-items:center;gap:.5rem;font-size:.8rem;font-style:italic;justify-content:end;margin:1rem}.message.outbound{align-self:end;flex-direction:row-reverse}.message.outbound .avatar{background-color:#957ee8}.message.outbound .bubble{background:#cec3f4;border-radius:16px;padding:8px 16px}", E = /* @__PURE__ */ b(H, [["styles", [j]]]);
|
|
87
87
|
export {
|
|
88
|
-
|
|
88
|
+
E as L
|
|
89
89
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o, c as r, o as a, f as s } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { _ as o, c as r, o as a, f as s } from "./_plugin-vue_export-helper-DK91u00G.js";
|
|
2
2
|
const n = ".loader{width:8px;aspect-ratio:1;border-radius:50%;animation:l5 1s infinite linear alternate;transform:translate(100%)}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@keyframes l5{0%{box-shadow:13px 0 #000,-13px 0 #0002;background:#000}33%{box-shadow:13px 0 #000,-13px 0 #0002;background:#0002}66%{box-shadow:13px 0 #0002,-13px 0 #000;background:#0002}to{box-shadow:13px 0 #0002,-13px 0 #000;background:#000}}@media (prefers-reduced-motion: reduce){.loader{display:none}}", t = {}, d = {
|
|
3
3
|
class: "loader",
|
|
4
4
|
role: "alert"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as f, r as g,
|
|
1
|
+
import { a as f, r as g, G as w, c as h, o as i, f as l, D as C, I as b, t as m, m as x, q as y, L as _, _ as s, e as c, M as k } from "./_plugin-vue_export-helper-DK91u00G.js";
|
|
2
2
|
const $ = { class: "tooltip-container" }, B = ["id"], L = ["aria-labelledby", "aria-disabled"], z = /* @__PURE__ */ f({
|
|
3
3
|
inheritAttrs: !1,
|
|
4
4
|
__name: "ButtonTooltip.ce",
|
|
@@ -38,7 +38,7 @@ const $ = { class: "tooltip-container" }, B = ["id"], L = ["aria-labelledby", "a
|
|
|
38
38
|
], 16, L)
|
|
39
39
|
]));
|
|
40
40
|
}
|
|
41
|
-
}), S = '*{--pix-neutral-800: #253858}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tooltip-container{position:relative;display:grid}.tooltip-container .tooltip{position:absolute;padding:5px 7px;background:var(--pix-neutral-800);color:#fff;border-radius:4px;z-index:400;margin:0;--horizontal-shift: 12px;--tooltip-gap: 1px;--arrow-height: 6px;--arrow-width: 5px}.tooltip-container .tooltip:before{content:"";position:absolute}.tooltip-container .tooltip.top{bottom:calc(100% + var(--tooltip-gap) + var(--arrow-height));left:50%;transform:translate(calc(var(--horizontal-shift) * -1))}.tooltip-container .tooltip.top:before{top:100%;left:calc(var(--horizontal-shift) - var(--arrow-width));border-right:var(--arrow-width) solid transparent;border-left:var(--arrow-width) solid transparent;border-top:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container .tooltip.bottom{top:calc(100% + var(--tooltip-gap) + var(--arrow-height));left:50%;transform:translate(calc(var(--horizontal-shift) * -1))}.tooltip-container .tooltip.bottom:before{bottom:100%;left:calc(var(--horizontal-shift) - var(--arrow-width));border-right:var(--arrow-width) solid transparent;border-left:var(--arrow-width) solid transparent;border-bottom:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container .tooltip.left{right:calc(100% + var(--tooltip-gap) + var(--arrow-height));top:50%;transform:translateY(-50%)}.tooltip-container .tooltip.left:before{left:100%;top:50%;transform:translateY(-50%);border-top:var(--arrow-width) solid transparent;border-bottom:var(--arrow-width) solid transparent;border-left:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container .tooltip.right{left:calc(100% + var(--tooltip-gap) + var(--arrow-height));top:50%;transform:translateY(-50%)}.tooltip-container .tooltip.right:before{right:100%;top:50%;transform:translateY(-50%);border-top:var(--arrow-width) solid transparent;border-bottom:var(--arrow-width) solid transparent;border-right:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container button:hover{cursor:pointer}.tooltip-container button.disabled{color:#797e89;cursor:not-allowed;border-color:transparent;background:transparent}',
|
|
41
|
+
}), S = '*{--pix-neutral-800: #253858}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tooltip-container{position:relative;display:grid}.tooltip-container .tooltip{position:absolute;padding:5px 7px;background:var(--pix-neutral-800);color:#fff;border-radius:4px;z-index:400;margin:0;--horizontal-shift: 12px;--tooltip-gap: 1px;--arrow-height: 6px;--arrow-width: 5px}.tooltip-container .tooltip:before{content:"";position:absolute}.tooltip-container .tooltip.top{bottom:calc(100% + var(--tooltip-gap) + var(--arrow-height));left:50%;transform:translate(calc(var(--horizontal-shift) * -1))}.tooltip-container .tooltip.top:before{top:100%;left:calc(var(--horizontal-shift) - var(--arrow-width));border-right:var(--arrow-width) solid transparent;border-left:var(--arrow-width) solid transparent;border-top:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container .tooltip.bottom{top:calc(100% + var(--tooltip-gap) + var(--arrow-height));left:50%;transform:translate(calc(var(--horizontal-shift) * -1))}.tooltip-container .tooltip.bottom:before{bottom:100%;left:calc(var(--horizontal-shift) - var(--arrow-width));border-right:var(--arrow-width) solid transparent;border-left:var(--arrow-width) solid transparent;border-bottom:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container .tooltip.left{right:calc(100% + var(--tooltip-gap) + var(--arrow-height));top:50%;transform:translateY(-50%)}.tooltip-container .tooltip.left:before{left:100%;top:50%;transform:translateY(-50%);border-top:var(--arrow-width) solid transparent;border-bottom:var(--arrow-width) solid transparent;border-left:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container .tooltip.right{left:calc(100% + var(--tooltip-gap) + var(--arrow-height));top:50%;transform:translateY(-50%)}.tooltip-container .tooltip.right:before{right:100%;top:50%;transform:translateY(-50%);border-top:var(--arrow-width) solid transparent;border-bottom:var(--arrow-width) solid transparent;border-right:var(--arrow-height) solid var(--pix-neutral-800)}.tooltip-container button:hover{cursor:pointer}.tooltip-container button.disabled{color:#797e89;cursor:not-allowed;border-color:transparent;background:transparent}', M = /* @__PURE__ */ s(z, [["styles", [S]]]), H = {}, P = {
|
|
42
42
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43
43
|
width: "16",
|
|
44
44
|
height: "16",
|
|
@@ -53,14 +53,14 @@ function N(a, t) {
|
|
|
53
53
|
}, null, -1)
|
|
54
54
|
])]);
|
|
55
55
|
}
|
|
56
|
-
const Y = /* @__PURE__ */ s(
|
|
56
|
+
const Y = /* @__PURE__ */ s(H, [["render", N]]), A = {}, T = {
|
|
57
57
|
xmlns: "http://www.w3.org/2000/svg",
|
|
58
58
|
width: "16",
|
|
59
59
|
height: "16",
|
|
60
60
|
viewBox: "0 0 16 16",
|
|
61
61
|
fill: "inherit"
|
|
62
62
|
};
|
|
63
|
-
function
|
|
63
|
+
function D(a, t) {
|
|
64
64
|
return i(), h("svg", T, [...t[0] || (t[0] = [
|
|
65
65
|
l("path", {
|
|
66
66
|
d: "M5.4356 8.75868L8.54693 11.8698C8.69882 12.0218 8.77265 12.2 8.76843 12.4043C8.76421 12.6087 8.68615 12.7868 8.53426 12.9387C8.38226 13.0796 8.2041 13.1521 7.99976 13.1563C7.79543 13.1606 7.61726 13.0867 7.46526 12.9348L3.06526 8.53485C2.99071 8.46018 2.93621 8.37729 2.90176 8.28618C2.86732 8.19518 2.8501 8.0999 2.8501 8.00035C2.8501 7.90079 2.86732 7.80551 2.90176 7.71451C2.93621 7.6234 2.99071 7.54051 3.06526 7.46585L7.46926 3.06201C7.61282 2.91846 7.78821 2.84668 7.99543 2.84668C8.20265 2.84668 8.38226 2.91846 8.53426 3.06201C8.68615 3.2139 8.7621 3.39412 8.7621 3.60268C8.7621 3.81124 8.68615 3.99151 8.53426 4.14351L5.4356 7.24201H12.7103C12.923 7.24201 13.1027 7.31518 13.2491 7.46151C13.3954 7.60796 13.4686 7.78757 13.4686 8.00035C13.4686 8.21312 13.3954 8.39274 13.2491 8.53918C13.1027 8.68551 12.923 8.75868 12.7103 8.75868H5.4356Z",
|
|
@@ -68,7 +68,7 @@ function F(a, t) {
|
|
|
68
68
|
}, null, -1)
|
|
69
69
|
])]);
|
|
70
70
|
}
|
|
71
|
-
const
|
|
71
|
+
const F = /* @__PURE__ */ s(A, [["render", D]]), I = /* @__PURE__ */ f({
|
|
72
72
|
__name: "NavigationButton.ce",
|
|
73
73
|
props: {
|
|
74
74
|
disabled: { type: Boolean },
|
|
@@ -78,7 +78,7 @@ const Z = /* @__PURE__ */ s(A, [["render", F]]), j = /* @__PURE__ */ f({
|
|
|
78
78
|
},
|
|
79
79
|
emits: ["click"],
|
|
80
80
|
setup(a) {
|
|
81
|
-
return (t, e) => (i(), c(
|
|
81
|
+
return (t, e) => (i(), c(M, {
|
|
82
82
|
class: "button",
|
|
83
83
|
onClick: e[0] || (e[0] = (p) => t.$emit("click")),
|
|
84
84
|
"tooltip-position": t.tooltipPosition,
|
|
@@ -86,13 +86,13 @@ const Z = /* @__PURE__ */ s(A, [["render", F]]), j = /* @__PURE__ */ f({
|
|
|
86
86
|
disabled: t.disabled
|
|
87
87
|
}, {
|
|
88
88
|
default: k(() => [
|
|
89
|
-
t.direction === "next" ? (i(), c(Y, { key: 0 })) : (i(), c(
|
|
89
|
+
t.direction === "next" ? (i(), c(Y, { key: 0 })) : (i(), c(F, { key: 1 }))
|
|
90
90
|
]),
|
|
91
91
|
_: 1
|
|
92
92
|
}, 8, ["tooltip-position", "label", "disabled"]));
|
|
93
93
|
}
|
|
94
|
-
}),
|
|
94
|
+
}), Z = "*{--pix-neutral-800: #253858;color:var(--pix-neutral-800)}.button{border-radius:100%;padding:4px;width:32px;height:32px;background:transparent;border:1px var(--pix-neutral-800) solid;aspect-ratio:1/1;fill:var(--pix-neutral-800);display:flex;align-items:center;justify-content:center}.button:hover{background:#c3d0ff}.button:active{background:#cdd1d9}", q = /* @__PURE__ */ s(I, [["styles", [Z]]]);
|
|
95
95
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
M as B,
|
|
97
|
+
q as N
|
|
98
98
|
};
|