@reinosoft-ui/core 0.1.54 → 0.1.55
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/reinosoft-ui.es.js +38 -36
- package/dist/reinosoft-ui.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/reinosoft-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Z, ref as h, computed as _, watch as Y, onMounted as oe, createElementBlock as p, openBlock as d, normalizeStyle as ye, normalizeClass as re, renderSlot as U, createCommentVNode as F, withDirectives as Me, createElementVNode as L, vShow as Ne, mergeProps as pe, mergeModels as te, useModel as fe, withKeys as ve, withModifiers as le, onUnmounted as we, Fragment as ae, unref as S, toDisplayString as q, renderList as ue, nextTick as ge, onBeforeUnmount as $e, createBlock as J, Transition as Ve, withCtx as G, useId as ce, provide as be,
|
|
1
|
+
import { defineComponent as Z, ref as h, computed as _, watch as Y, onMounted as oe, createElementBlock as p, openBlock as d, normalizeStyle as ye, normalizeClass as re, renderSlot as U, createCommentVNode as F, withDirectives as Me, createElementVNode as L, vShow as Ne, mergeProps as pe, mergeModels as te, useModel as fe, withKeys as ve, withModifiers as le, onUnmounted as we, Fragment as ae, unref as S, toDisplayString as q, renderList as ue, nextTick as ge, onBeforeUnmount as $e, createBlock as J, Teleport as Be, createVNode as P, Transition as Ve, withCtx as G, useId as ce, provide as be, createTextVNode as Ce, resolveDynamicComponent as He, useAttrs as Pe, inject as se, h as N, useSlots as Ke, resolveComponent as kt, vModelRadio as wt, vModelDynamic as Mt, reactive as ut, TransitionGroup as xt, createApp as Lt, shallowRef as $t, vModelText as Se } from "vue";
|
|
2
2
|
import { routerKey as Vt } from "vue-router";
|
|
3
3
|
const Ht = ["aria-busy"], It = ["aria-label"], Bt = ["src", "srcset", "sizes", "alt", "aria-hidden", "loading", "decoding"], _t = /* @__PURE__ */ Z({
|
|
4
4
|
__name: "Image",
|
|
@@ -2088,43 +2088,45 @@ const ct = (e) => {
|
|
|
2088
2088
|
c?.(), r?.disconnect(), r = null, cancelAnimationFrame(u), document.removeEventListener("selectionchange", B);
|
|
2089
2089
|
}), o({
|
|
2090
2090
|
focusFirstButton: D
|
|
2091
|
-
}), (f, m) => (d(), J(
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
m[0] || (m[0] = L("div", { class: "arrow" }, null, -1)),
|
|
2106
|
-
(d(!0), p(ae, null, ue(T.value, (b, I) => (d(), p("button", {
|
|
2107
|
-
key: b.key ?? I,
|
|
2108
|
-
type: "button",
|
|
2109
|
-
ref_for: !0,
|
|
2110
|
-
ref: (V) => y(V, I),
|
|
2111
|
-
class: re({ "is-active": b.isActive?.(t.editor) }),
|
|
2112
|
-
"aria-pressed": b.isActive?.(t.editor),
|
|
2113
|
-
onMousedown: le((V) => b.action(t.editor), ["prevent"]),
|
|
2114
|
-
"aria-label": b.ariaLabel
|
|
2091
|
+
}), (f, m) => (d(), J(Be, { to: "body" }, [
|
|
2092
|
+
P(Ve, { name: "tooltip-fade" }, {
|
|
2093
|
+
default: G(() => [
|
|
2094
|
+
n.value ? (d(), p("div", {
|
|
2095
|
+
key: 0,
|
|
2096
|
+
ref_key: "toolbarRef",
|
|
2097
|
+
ref: s,
|
|
2098
|
+
class: "toolbar",
|
|
2099
|
+
role: "toolbar",
|
|
2100
|
+
"aria-label": "Formatting options",
|
|
2101
|
+
"aria-controls": e.editorId,
|
|
2102
|
+
style: ye(l.value),
|
|
2103
|
+
tabindex: "-1",
|
|
2104
|
+
onKeydown: g
|
|
2115
2105
|
}, [
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2106
|
+
m[0] || (m[0] = L("div", { class: "arrow" }, null, -1)),
|
|
2107
|
+
(d(!0), p(ae, null, ue(T.value, (b, I) => (d(), p("button", {
|
|
2108
|
+
key: b.key ?? I,
|
|
2109
|
+
type: "button",
|
|
2110
|
+
ref_for: !0,
|
|
2111
|
+
ref: (V) => y(V, I),
|
|
2112
|
+
class: re({ "is-active": b.isActive?.(t.editor) }),
|
|
2113
|
+
"aria-pressed": b.isActive?.(t.editor),
|
|
2114
|
+
onMousedown: le((V) => b.action(t.editor), ["prevent"]),
|
|
2115
|
+
"aria-label": b.ariaLabel
|
|
2116
|
+
}, [
|
|
2117
|
+
b.type === "icon" ? (d(), J(de, {
|
|
2118
|
+
key: 0,
|
|
2119
|
+
name: b.label,
|
|
2120
|
+
size: b.size ?? 14
|
|
2121
|
+
}, null, 8, ["name", "size"])) : (d(), p("span", k2, q(b.label), 1))
|
|
2122
|
+
], 42, b2))), 128))
|
|
2123
|
+
], 44, y2)) : F("", !0)
|
|
2124
|
+
]),
|
|
2125
|
+
_: 1
|
|
2126
|
+
})
|
|
2127
|
+
]));
|
|
2126
2128
|
}
|
|
2127
|
-
}), x2 = /* @__PURE__ */ K(M2, [["__scopeId", "data-v-
|
|
2129
|
+
}), x2 = /* @__PURE__ */ K(M2, [["__scopeId", "data-v-a4eb014c"]]), L2 = { class: "editor" }, Qe = /* @__PURE__ */ Z({
|
|
2128
2130
|
__name: "Editor",
|
|
2129
2131
|
props: /* @__PURE__ */ te({
|
|
2130
2132
|
ariaLabel: {},
|