artifactuse 0.1.14 → 0.1.15
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/react/index.js +1 -1
- package/dist/svelte/index.js +1 -1
- package/dist/vue/index.js +1 -1
- package/dist/vue2/index.js +1 -1
- package/package.json +1 -1
package/dist/react/index.js
CHANGED
|
@@ -854,7 +854,7 @@ function Tt({
|
|
|
854
854
|
getPanelUrl: P,
|
|
855
855
|
openArtifact: x,
|
|
856
856
|
instance: N
|
|
857
|
-
} = de(), v = W(null), b = W(null), f = W(null), E = W(null), I = W(null), [D, z] = C(!1), [L, J] = C(!1), [K, U] = C(!0), [le, ee] = C(!1), [fe, ae] = C(!1), [X, re] = C(!1), [j, ie] = C(
|
|
857
|
+
} = de(), v = W(null), b = W(null), f = W(null), E = W(null), I = W(null), [D, z] = C(!1), [L, J] = C(!1), [K, U] = C(!0), [le, ee] = C(!1), [fe, ae] = C(!1), [X, re] = C(!1), [j, ie] = C(65), [te, oe] = C(50), i = W(null), k = W(null), g = W(null), _ = W(null), M = W(null), Y = $(() => r ? Ce(r.language) : "", [r]), ye = $(() => r ? ze(r.language) : "", [r]), pe = $(() => r ? P(r) : null, [r, P]), ce = $(() => r ? Ge(r.language) : "plaintext", [r]), T = $(() => n.artifacts.filter((m) => !m.isInline), [n.artifacts]), Z = $(() => r ? T.findIndex((m) => m.id === r.id) : -1, [r, T]), me = $(() => {
|
|
858
858
|
var m;
|
|
859
859
|
return ((m = N == null ? void 0 : N.config) == null ? void 0 : m.branding) !== !1;
|
|
860
860
|
}, [N]), _e = $(() => r ? j : Math.min(j, 30), [r, j]), ne = d((m) => `<svg viewBox="0 0 24 24" fill="currentColor">${ze(m)}</svg>`, []), Pe = d(() => {
|
package/dist/svelte/index.js
CHANGED
|
@@ -1862,7 +1862,7 @@ function bi(Be, g) {
|
|
|
1862
1862
|
openArtifact: Ue,
|
|
1863
1863
|
instance: Fe
|
|
1864
1864
|
} = Ot();
|
|
1865
|
-
let l = e.mutable_source(), H = e.mutable_source(), se = e.mutable_source(), $ = e.mutable_source(), O = e.mutable_source(), p = e.mutable_source(!1), te = e.mutable_source(!1), ae = e.mutable_source(!0), ve = e.mutable_source(!1), c = e.mutable_source(!1), d = e.mutable_source(!1), R = e.mutable_source(
|
|
1865
|
+
let l = e.mutable_source(), H = e.mutable_source(), se = e.mutable_source(), $ = e.mutable_source(), O = e.mutable_source(), p = e.mutable_source(!1), te = e.mutable_source(!1), ae = e.mutable_source(!0), ve = e.mutable_source(!1), c = e.mutable_source(!1), d = e.mutable_source(!1), R = e.mutable_source(65), Z = e.mutable_source(50), t = null, q = null, s = null, L = null, Y = null, G = null, ge = null;
|
|
1866
1866
|
function ie(n) {
|
|
1867
1867
|
n && (ge !== null && ge !== n.isPreviewable && (e.set(d, !0), setTimeout(
|
|
1868
1868
|
() => {
|
package/dist/vue/index.js
CHANGED
|
@@ -1749,7 +1749,7 @@ const pt = { class: "artifactuse-card__icon" }, mt = ["innerHTML"], _t = { class
|
|
|
1749
1749
|
instance: H
|
|
1750
1750
|
} = $e(), I = A(null), V = A(null), O = A(null), S = A(null), Y = A(null), E = A(!1), K = A(!1), U = A(!0), X = A(!1), ie = A(!1), c = A(!1);
|
|
1751
1751
|
let m = null, Q = null;
|
|
1752
|
-
const W = A(
|
|
1752
|
+
const W = A(65), te = A(50), ae = C(() => r.value ? Ce(r.value.language) : ""), g = C(() => r.value ? `<svg viewBox="0 0 24 24" fill="currentColor">${Se(r.value.language)}</svg>` : ""), $ = C(() => r.value ? p(r.value) : null);
|
|
1753
1753
|
C(() => !r.value || !y.artifacts.length ? -1 : y.artifacts.findIndex((v) => v.id === r.value.id));
|
|
1754
1754
|
const n = C(() => r.value ? ut(r.value.language || "plaintext") : "plaintext"), M = C(() => y.artifacts.filter((v) => !v.isInline)), o = C(() => r.value ? M.value.findIndex((v) => v.id === r.value.id) : -1), B = C(() => {
|
|
1755
1755
|
var v;
|
package/dist/vue2/index.js
CHANGED
|
@@ -25928,7 +25928,7 @@ var script$1 = defineComponent({
|
|
|
25928
25928
|
const isDownloadingAll = ref(false);
|
|
25929
25929
|
|
|
25930
25930
|
// Panel/split resize state
|
|
25931
|
-
const panelWidth = ref(
|
|
25931
|
+
const panelWidth = ref(65);
|
|
25932
25932
|
const splitPosition = ref(50);
|
|
25933
25933
|
const panelResizeState = ref(null);
|
|
25934
25934
|
const splitResizeState = ref(null);
|