@m3ui-vue/m3ui-vue 1.3.0 → 1.3.2
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/API.md +215 -4
- package/dist/{MButton-CuNzpoxm.js → MButton-Bl_BSUep.js} +2 -2
- package/dist/{MButton-CuNzpoxm.js.map → MButton-Bl_BSUep.js.map} +1 -1
- package/dist/{MDialog-HxEL-m58.js → MDialog-D_Yik8ou.js} +2 -2
- package/dist/{MDialog-HxEL-m58.js.map → MDialog-D_Yik8ou.js.map} +1 -1
- package/dist/{MListItem-DnPtv-hY.js → MListItem-BxifHJdU.js} +2 -2
- package/dist/{MListItem-DnPtv-hY.js.map → MListItem-BxifHJdU.js.map} +1 -1
- package/dist/{MLoadingIndicator-BQMNX6Dx.js → MLoadingIndicator-BxbFhSX6.js} +2 -2
- package/dist/{MLoadingIndicator-BQMNX6Dx.js.map → MLoadingIndicator-BxbFhSX6.js.map} +1 -1
- package/dist/{MSeekBar-LURE1Ah7.js → MSeekBar-BeN9QcB3.js} +2 -2
- package/dist/{MSeekBar-LURE1Ah7.js.map → MSeekBar-BeN9QcB3.js.map} +1 -1
- package/dist/{MSlider-_J4IS2_z.js → MSlider-BVSbJlGS.js} +2 -2
- package/dist/{MSlider-_J4IS2_z.js.map → MSlider-BVSbJlGS.js.map} +1 -1
- package/dist/{MSpinner-BhkMYKOM.js → MSpinner-C2SUnWk4.js} +2 -2
- package/dist/{MSpinner-BhkMYKOM.js.map → MSpinner-C2SUnWk4.js.map} +1 -1
- package/dist/{MTextField-CkzwNBWS.js → MTextField-CEkWSZ2v.js} +2 -2
- package/dist/{MTextField-CkzwNBWS.js.map → MTextField-CEkWSZ2v.js.map} +1 -1
- package/dist/{MTooltip-B67ZDSGp.js → MTooltip-CodJGEO-.js} +4 -4
- package/dist/{MTooltip-B67ZDSGp.js.map → MTooltip-CodJGEO-.js.map} +1 -1
- package/dist/api.json +1 -1
- package/dist/code-editor.js +1 -1
- package/dist/components/MDrawCanvas.vue.d.ts +3 -1
- package/dist/components/MFloorPlan.vue.d.ts +100 -2
- package/dist/components/MFloorPlanInspector.vue.d.ts +56 -0
- package/dist/components/MFloorPlanToolbar.vue.d.ts +51 -0
- package/dist/components/MFlow.vue.d.ts +13 -0
- package/dist/composables/useFloorPlan.d.ts +58 -0
- package/dist/composables/useLocale.d.ts +41 -0
- package/dist/draw.js +11 -9
- package/dist/draw.js.map +1 -1
- package/dist/flow.js +6 -1
- package/dist/flow.js.map +1 -1
- package/dist/gantt.js +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/locales/index.js +287 -0
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +2938 -1945
- package/dist/m3ui.js.map +1 -1
- package/dist/map.js +5 -5
- package/dist/media.js +31 -31
- package/dist/pdf.js +5 -5
- package/dist/pdf.js.map +1 -1
- package/dist/rich-text-editor.js +4 -4
- package/dist/styles.css +1 -1
- package/dist/{useLocale-BpGxplLV.js → useLocale-CaWwi-b6.js} +42 -1
- package/dist/useLocale-CaWwi-b6.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/MDrawCanvas.test.ts +8 -0
- package/src/__tests__/MFloorPlan.test.ts +235 -3
- package/src/__tests__/MFlow.test.ts +15 -0
- package/src/components/MDrawCanvas.vue +9 -3
- package/src/components/MFloorPlan.vue +586 -74
- package/src/components/MFloorPlanInspector.vue +169 -0
- package/src/components/MFloorPlanToolbar.vue +128 -0
- package/src/components/MFlow.vue +11 -0
- package/src/components/MPdfViewer.vue +2 -1
- package/src/composables/useFloorPlan.ts +73 -0
- package/src/composables/useLocale.ts +82 -0
- package/src/index.ts +6 -1
- package/src/locales/de.ts +41 -0
- package/src/locales/es.ts +41 -0
- package/src/locales/fr.ts +41 -0
- package/src/locales/ja.ts +41 -0
- package/src/locales/ko.ts +41 -0
- package/src/locales/pt.ts +41 -0
- package/src/locales/zh.ts +41 -0
- package/dist/useLocale-BpGxplLV.js.map +0 -1
package/dist/map.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./useThemeTokens-DQQcaWbE.js";
|
|
2
2
|
import { o as t } from "./_storageKeys-CYXsUBwK.js";
|
|
3
|
-
import { i as n } from "./useLocale-
|
|
3
|
+
import { i as n } from "./useLocale-CaWwi-b6.js";
|
|
4
4
|
import { d as r, f as i, l as a, t as o, u as s } from "./MIconButton-DoNotQ9v.js";
|
|
5
5
|
import { i as c } from "./motion-DZiXG09o.js";
|
|
6
6
|
import { t as l } from "./MIcon-Bxh9j135.js";
|
|
7
|
-
import { t as u } from "./MSpinner-
|
|
8
|
-
import { t as d } from "./MTextField-
|
|
7
|
+
import { t as u } from "./MSpinner-C2SUnWk4.js";
|
|
8
|
+
import { t as d } from "./MTextField-CEkWSZ2v.js";
|
|
9
9
|
import { t as f } from "./_useEscapeStack-CjndQhqg.js";
|
|
10
|
-
import { a as p, r as m, s as h, t as g } from "./MListItem-
|
|
11
|
-
import { t as _ } from "./MSlider-
|
|
10
|
+
import { a as p, r as m, s as h, t as g } from "./MListItem-BxifHJdU.js";
|
|
11
|
+
import { t as _ } from "./MSlider-BVSbJlGS.js";
|
|
12
12
|
import { Fragment as v, Transition as y, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as T, createTextVNode as E, createVNode as D, defineComponent as O, getCurrentInstance as k, inject as A, markRaw as j, mergeProps as M, normalizeClass as N, normalizeStyle as P, onBeforeUnmount as F, onMounted as ee, onUnmounted as I, openBlock as L, provide as te, reactive as R, ref as z, renderList as B, renderSlot as V, shallowRef as H, toDisplayString as U, toValue as ne, unref as W, useId as re, useSlots as G, watch as K, withCtx as q, withModifiers as J } from "vue";
|
|
13
13
|
//#region src/composables/useMap.ts
|
|
14
14
|
var ie = Symbol("m3-map");
|
package/dist/media.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as e } from "./useLocale-
|
|
1
|
+
import { i as e } from "./useLocale-CaWwi-b6.js";
|
|
2
2
|
import { t } from "./MIconButton-DoNotQ9v.js";
|
|
3
3
|
import { t as n } from "./MIcon-Bxh9j135.js";
|
|
4
4
|
import { n as r, t as i } from "./MMenuItem-Bih0h4-n.js";
|
|
5
|
-
import { t as a } from "./
|
|
6
|
-
import { t as o } from "./
|
|
7
|
-
import { t as s } from "./
|
|
5
|
+
import { t as a } from "./MSlider-BVSbJlGS.js";
|
|
6
|
+
import { t as o } from "./MLoadingIndicator-BxbFhSX6.js";
|
|
7
|
+
import { t as s } from "./MSeekBar-BeN9QcB3.js";
|
|
8
8
|
import { Fragment as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, getCurrentScope as v, guardReactiveProps as y, mergeProps as b, nextTick as ee, normalizeClass as x, normalizeProps as S, normalizeStyle as te, onBeforeUnmount as ne, onMounted as re, onScopeDispose as C, openBlock as w, ref as T, renderList as E, renderSlot as D, shallowRef as O, toDisplayString as k, toValue as A, unref as j, useSlots as ie, watch as M, withCtx as N, withModifiers as P } from "vue";
|
|
9
9
|
//#region src/composables/useMediaPlayer.ts
|
|
10
10
|
var F = typeof window < "u", I = null;
|
|
@@ -655,7 +655,7 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
655
655
|
onDblclick: Qe,
|
|
656
656
|
onContextmenu: u[0] ||= P(() => {}, ["prevent"])
|
|
657
657
|
}, null, 32),
|
|
658
|
-
j(B).waiting.value && !j(B).error.value ? (w(), p("div", de, [g(
|
|
658
|
+
j(B).waiting.value && !j(B).error.value ? (w(), p("div", de, [g(o, {
|
|
659
659
|
size: H.value ? 56 : 72,
|
|
660
660
|
contained: "",
|
|
661
661
|
label: j(F).loading
|
|
@@ -802,7 +802,7 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
802
802
|
class: "pointer-events-auto absolute inset-x-0 bottom-0",
|
|
803
803
|
onPointerenter: u[10] ||= (e) => W.value = !0,
|
|
804
804
|
onPointerleave: u[11] ||= (e) => W.value = !1
|
|
805
|
-
}, [D(e.$slots, "bottom", S(y(yt.value)), () => [m("div", { class: x(H.value ? "px-2 pb-1" : "px-4 pb-2") }, [j(B).live.value ? f("", !0) : (w(), d(
|
|
805
|
+
}, [D(e.$slots, "bottom", S(y(yt.value)), () => [m("div", { class: x(H.value ? "px-2 pb-1" : "px-4 pb-2") }, [j(B).live.value ? f("", !0) : (w(), d(s, {
|
|
806
806
|
key: 0,
|
|
807
807
|
modelValue: j(B).currentTime.value,
|
|
808
808
|
"onUpdate:modelValue": u[6] ||= (e) => j(B).currentTime.value = e,
|
|
@@ -829,7 +829,7 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
829
829
|
])), m("div", Ce, [
|
|
830
830
|
j(B).live.value ? (w(), p("span", we, [u[15] ||= m("span", { class: "size-1.5 rounded-full bg-on-error" }, null, -1), h(k(j(F).mediaLive), 1)])) : (w(), p("p", Te, [h(k(jt.value), 1), Mt.value && !H.value ? (w(), p("span", Ee, " · " + k(Mt.value), 1)) : f("", !0)])),
|
|
831
831
|
u[16] ||= m("span", { class: "flex-1" }, null, -1),
|
|
832
|
-
m("div", De, [H.value ? f("", !0) : (w(), p("div", Oe, [g(
|
|
832
|
+
m("div", De, [H.value ? f("", !0) : (w(), p("div", Oe, [g(a, {
|
|
833
833
|
modelValue: rt.value,
|
|
834
834
|
"onUpdate:modelValue": u[7] ||= (e) => rt.value = e,
|
|
835
835
|
min: 0,
|
|
@@ -1030,8 +1030,8 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1030
1030
|
"error",
|
|
1031
1031
|
"click"
|
|
1032
1032
|
],
|
|
1033
|
-
setup(
|
|
1034
|
-
let _ =
|
|
1033
|
+
setup(o, { emit: l }) {
|
|
1034
|
+
let _ = o, v = l, y = e(), b = T(), ee = u(() => !!(_.src || _.sources?.length)), x = _.player ?? ae({
|
|
1035
1035
|
media: () => ee.value ? b.value : null,
|
|
1036
1036
|
duration: () => _.duration,
|
|
1037
1037
|
loop: () => _.repeat === "one",
|
|
@@ -1109,20 +1109,20 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1109
1109
|
function me(e) {
|
|
1110
1110
|
e.target.closest("button, a, [role=\"slider\"]") || v("click", e);
|
|
1111
1111
|
}
|
|
1112
|
-
return (e, l) =>
|
|
1112
|
+
return (e, l) => o.variant === "mini" ? (w(), p("div", {
|
|
1113
1113
|
key: 0,
|
|
1114
1114
|
role: "region",
|
|
1115
|
-
"aria-label":
|
|
1115
|
+
"aria-label": o.title || j(y).mediaPlayer,
|
|
1116
1116
|
class: "m3-audio-mini cursor-pointer items-center gap-2 rounded-md bg-surface-container-low px-2 py-1 text-on-surface shadow-elevation-2",
|
|
1117
1117
|
onClick: me
|
|
1118
1118
|
}, [
|
|
1119
|
-
D(e.$slots, "artwork", { player: j(x) }, () => [
|
|
1119
|
+
D(e.$slots, "artwork", { player: j(x) }, () => [o.artwork ? (w(), p("img", {
|
|
1120
1120
|
key: 0,
|
|
1121
|
-
src:
|
|
1121
|
+
src: o.artwork,
|
|
1122
1122
|
alt: "",
|
|
1123
1123
|
class: "size-14 shrink-0 rounded-sm object-cover"
|
|
1124
1124
|
}, null, 8, B)) : (w(), p("div", V, [g(n, { name: "music_note" })]))]),
|
|
1125
|
-
m("div", Ae, [m("p", je, k(
|
|
1125
|
+
m("div", Ae, [m("p", je, k(o.title), 1), o.artist ? (w(), p("p", Me, k(o.artist), 1)) : f("", !0)]),
|
|
1126
1126
|
g(t, {
|
|
1127
1127
|
icon: "skip_previous",
|
|
1128
1128
|
label: j(y).previous,
|
|
@@ -1162,7 +1162,7 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1162
1162
|
ref_key: "audioEl",
|
|
1163
1163
|
ref: b,
|
|
1164
1164
|
preload: "metadata",
|
|
1165
|
-
loop:
|
|
1165
|
+
loop: o.repeat === "one",
|
|
1166
1166
|
class: "hidden"
|
|
1167
1167
|
}, [(w(!0), p(c, null, E(P.value, (e) => (w(), p("source", {
|
|
1168
1168
|
key: e.src,
|
|
@@ -1172,20 +1172,20 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1172
1172
|
], 8, ke)) : (w(), p("div", {
|
|
1173
1173
|
key: 1,
|
|
1174
1174
|
role: "region",
|
|
1175
|
-
"aria-label":
|
|
1175
|
+
"aria-label": o.title || j(y).mediaPlayer,
|
|
1176
1176
|
class: "@container flex flex-col gap-1 text-on-surface"
|
|
1177
1177
|
}, [
|
|
1178
1178
|
m("div", U, [
|
|
1179
|
-
D(e.$slots, "artwork", { player: j(x) }, () => [
|
|
1179
|
+
D(e.$slots, "artwork", { player: j(x) }, () => [o.artwork ? (w(), p("img", {
|
|
1180
1180
|
key: 0,
|
|
1181
|
-
src:
|
|
1181
|
+
src: o.artwork,
|
|
1182
1182
|
alt: "",
|
|
1183
1183
|
class: "size-14 shrink-0 rounded-md object-cover"
|
|
1184
1184
|
}, null, 8, W)) : f("", !0)]),
|
|
1185
|
-
m("div", Ie, [
|
|
1185
|
+
m("div", Ie, [o.title ? (w(), p("p", Le, k(o.title), 1)) : f("", !0), o.artist ? (w(), p("p", Re, k(o.artist), 1)) : f("", !0)]),
|
|
1186
1186
|
D(e.$slots, "actions", { player: j(x) })
|
|
1187
1187
|
]),
|
|
1188
|
-
j(x).live.value ? f("", !0) : (w(), d(
|
|
1188
|
+
j(x).live.value ? f("", !0) : (w(), d(s, {
|
|
1189
1189
|
key: 0,
|
|
1190
1190
|
modelValue: j(x).currentTime.value,
|
|
1191
1191
|
"onUpdate:modelValue": l[1] ||= (e) => j(x).currentTime.value = e,
|
|
@@ -1193,8 +1193,8 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1193
1193
|
buffered: j(x).buffered.value,
|
|
1194
1194
|
playing: j(x).playing.value && !j(x).waiting.value,
|
|
1195
1195
|
"playback-rate": j(x).rate.value,
|
|
1196
|
-
variant:
|
|
1197
|
-
color:
|
|
1196
|
+
variant: o.seekBar,
|
|
1197
|
+
color: o.color,
|
|
1198
1198
|
size: "sm"
|
|
1199
1199
|
}, null, 8, [
|
|
1200
1200
|
"modelValue",
|
|
@@ -1206,11 +1206,11 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1206
1206
|
"color"
|
|
1207
1207
|
])),
|
|
1208
1208
|
m("div", G, [
|
|
1209
|
-
m("div", ze, [
|
|
1209
|
+
m("div", ze, [o.shuffle === void 0 ? f("", !0) : (w(), d(t, {
|
|
1210
1210
|
key: 0,
|
|
1211
1211
|
icon: "shuffle",
|
|
1212
1212
|
label: j(y).mediaShuffle,
|
|
1213
|
-
checked:
|
|
1213
|
+
checked: o.shuffle,
|
|
1214
1214
|
"onUpdate:checked": l[2] ||= (e) => v("update:shuffle", e)
|
|
1215
1215
|
}, null, 8, ["label", "checked"]))]),
|
|
1216
1216
|
g(t, {
|
|
@@ -1226,7 +1226,7 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1226
1226
|
label: I.value,
|
|
1227
1227
|
size: "md",
|
|
1228
1228
|
variant: "filled",
|
|
1229
|
-
color:
|
|
1229
|
+
color: o.color,
|
|
1230
1230
|
"icon-filled": "",
|
|
1231
1231
|
onClick: l[3] ||= (e) => j(x).toggle()
|
|
1232
1232
|
}, null, 8, [
|
|
@@ -1242,11 +1242,11 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1242
1242
|
"icon-filled": "",
|
|
1243
1243
|
onClick: ie
|
|
1244
1244
|
}, null, 8, ["label", "disabled"]),
|
|
1245
|
-
m("div", K, [
|
|
1245
|
+
m("div", K, [o.repeat === void 0 ? f("", !0) : (w(), d(t, {
|
|
1246
1246
|
key: 0,
|
|
1247
1247
|
icon: R.value,
|
|
1248
1248
|
label: oe.value,
|
|
1249
|
-
checked:
|
|
1249
|
+
checked: o.repeat !== "off",
|
|
1250
1250
|
"onUpdate:checked": se
|
|
1251
1251
|
}, null, 8, [
|
|
1252
1252
|
"icon",
|
|
@@ -1255,7 +1255,7 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1255
1255
|
]))])
|
|
1256
1256
|
]),
|
|
1257
1257
|
m("div", Be, [
|
|
1258
|
-
|
|
1258
|
+
o.speeds?.length ? (w(), d(r, {
|
|
1259
1259
|
key: 0,
|
|
1260
1260
|
align: "right"
|
|
1261
1261
|
}, {
|
|
@@ -1264,7 +1264,7 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1264
1264
|
class: "h-8 cursor-pointer rounded-full px-3 text-label-large text-on-surface-variant hover:bg-on-surface/8",
|
|
1265
1265
|
"aria-label": j(y).mediaSpeed
|
|
1266
1266
|
}, k(de(j(x).rate.value)), 9, Ve)]),
|
|
1267
|
-
default: N(() => [(w(!0), p(c, null, E(
|
|
1267
|
+
default: N(() => [(w(!0), p(c, null, E(o.speeds, (e) => (w(), d(i, {
|
|
1268
1268
|
key: e,
|
|
1269
1269
|
selected: j(x).rate.value === e,
|
|
1270
1270
|
onClick: (t) => j(x).rate.value = e
|
|
@@ -1281,7 +1281,7 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1281
1281
|
size: "xs",
|
|
1282
1282
|
onClick: ue
|
|
1283
1283
|
}, null, 8, ["icon", "label"]),
|
|
1284
|
-
g(
|
|
1284
|
+
g(a, {
|
|
1285
1285
|
modelValue: le.value,
|
|
1286
1286
|
"onUpdate:modelValue": l[4] ||= (e) => le.value = e,
|
|
1287
1287
|
min: 0,
|
|
@@ -1295,7 +1295,7 @@ var L = ["aria-label"], R = { class: "absolute inset-0 flex items-center justify
|
|
|
1295
1295
|
ref_key: "audioEl",
|
|
1296
1296
|
ref: b,
|
|
1297
1297
|
preload: "metadata",
|
|
1298
|
-
loop:
|
|
1298
|
+
loop: o.repeat === "one",
|
|
1299
1299
|
class: "hidden"
|
|
1300
1300
|
}, [(w(!0), p(c, null, E(P.value, (e) => (w(), p("source", {
|
|
1301
1301
|
key: e.src,
|
package/dist/pdf.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as e } from "./useLocale-
|
|
1
|
+
import { i as e } from "./useLocale-CaWwi-b6.js";
|
|
2
2
|
import { t } from "./MIconButton-DoNotQ9v.js";
|
|
3
3
|
import { t as n } from "./MIcon-Bxh9j135.js";
|
|
4
|
-
import { t as r } from "./MTextField-
|
|
5
|
-
import { t as i } from "./MButton-
|
|
4
|
+
import { t as r } from "./MTextField-CEkWSZ2v.js";
|
|
5
|
+
import { t as i } from "./MButton-Bl_BSUep.js";
|
|
6
6
|
import { n as a, t as o } from "./MMenuItem-Bih0h4-n.js";
|
|
7
|
-
import { t as s } from "./MLoadingIndicator-
|
|
7
|
+
import { t as s } from "./MLoadingIndicator-BxbFhSX6.js";
|
|
8
8
|
import { t as c } from "./MProgressBar-BCoruxA-.js";
|
|
9
9
|
import { Fragment as l, Transition as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, getCurrentScope as ee, mergeProps as te, nextTick as y, normalizeClass as b, normalizeStyle as x, onBeforeUnmount as ne, onMounted as re, onScopeDispose as S, openBlock as C, reactive as ie, ref as w, renderList as T, renderSlot as ae, resolveDynamicComponent as oe, shallowRef as E, toDisplayString as D, toValue as O, unref as k, vModelText as se, watch as A, withCtx as j, withDirectives as ce, withKeys as le, withModifiers as ue } from "vue";
|
|
10
10
|
//#region src/composables/usePdf.ts
|
|
@@ -1757,7 +1757,7 @@ var W = /* @__PURE__ */ v({
|
|
|
1757
1757
|
"aria-pressed": tn.value === e,
|
|
1758
1758
|
onClick: (t) => tn.value = e
|
|
1759
1759
|
}, [h("span", {
|
|
1760
|
-
class: b(["
|
|
1760
|
+
class: b(["rounded-full border border-outline-variant transition-[width,height] duration-150", tn.value === e ? "size-[30px] ring-2 ring-on-surface ring-offset-2 ring-offset-surface-container-high" : "size-6"]),
|
|
1761
1761
|
style: x({ backgroundColor: e })
|
|
1762
1762
|
}, null, 6)], 8, tt))), 128)),
|
|
1763
1763
|
$t.value === "ink" && v.inkWidths.length > 1 ? (C(), m(l, { key: 0 }, [d[24] ||= h("span", { class: "mx-1 h-6 w-px shrink-0 bg-outline-variant" }, null, -1), (C(!0), m(l, null, T(v.inkWidths, (e) => (C(), m("button", {
|