amelia-booking-ui 0.0.449 → 0.0.451
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/amelia-booking-ui.es.js +31 -31
- package/package.json +27 -27
|
@@ -38889,26 +38889,23 @@ const Ol = () => {
|
|
|
38889
38889
|
r.valueOnClear && !w && (c.value = r.valueOnClear);
|
|
38890
38890
|
}, m = () => {
|
|
38891
38891
|
Se(() => {
|
|
38892
|
-
|
|
38893
|
-
const
|
|
38894
|
-
|
|
38895
|
-
|
|
38896
|
-
|
|
38897
|
-
|
|
38898
|
-
|
|
38899
|
-
|
|
38900
|
-
|
|
38901
|
-
|
|
38902
|
-
|
|
38903
|
-
|
|
38904
|
-
|
|
38905
|
-
|
|
38906
|
-
|
|
38907
|
-
"am-ml-12"
|
|
38908
|
-
), _.textContent = n("save"));
|
|
38909
|
-
});
|
|
38892
|
+
s.value && (globalThis.document?.querySelectorAll(".am-input-color__color-picker-popper") || []).forEach((b) => {
|
|
38893
|
+
const $ = b.querySelector(".el-input");
|
|
38894
|
+
$ && !$.classList.contains("am-input") && ($.classList.add("am-input"), $.classList.add("am-input__size__d"), $.classList.add("am-width-100"), $.classList.remove("el-input--small")), b.querySelectorAll(".el-button").forEach((_, x) => {
|
|
38895
|
+
_.className = "", x === 0 ? (_.classList.add(
|
|
38896
|
+
"am-button-action",
|
|
38897
|
+
"am-button-action__priority__secondary",
|
|
38898
|
+
"am-button-action__type__fill",
|
|
38899
|
+
"am-button-action__size__d"
|
|
38900
|
+
), _.textContent = n("red_clear")) : x === 1 && (_.classList.add(
|
|
38901
|
+
"am-button-action",
|
|
38902
|
+
"am-button-action__priority__primary",
|
|
38903
|
+
"am-button-action__type__fill",
|
|
38904
|
+
"am-button-action__size__d",
|
|
38905
|
+
"am-ml-12"
|
|
38906
|
+
), _.textContent = n("save"));
|
|
38910
38907
|
});
|
|
38911
|
-
}
|
|
38908
|
+
});
|
|
38912
38909
|
});
|
|
38913
38910
|
};
|
|
38914
38911
|
return (w, y) => {
|
|
@@ -56514,10 +56511,19 @@ const DFe = K1.create({
|
|
|
56514
56511
|
},
|
|
56515
56512
|
style: {
|
|
56516
56513
|
default: null,
|
|
56517
|
-
parseHTML: (t) =>
|
|
56518
|
-
|
|
56519
|
-
|
|
56520
|
-
|
|
56514
|
+
parseHTML: (t) => {
|
|
56515
|
+
const e = t.getAttribute("style");
|
|
56516
|
+
if (!e) return null;
|
|
56517
|
+
const n = ["text-align", "text-indent"], l = e.split(";").map((r) => r.trim()).filter((r) => r.length > 0).filter((r) => {
|
|
56518
|
+
const o = r.split(":")[0]?.trim().toLowerCase();
|
|
56519
|
+
return !n.includes(o);
|
|
56520
|
+
});
|
|
56521
|
+
return l.length ? l.join("; ") : null;
|
|
56522
|
+
},
|
|
56523
|
+
renderHTML: (t) => {
|
|
56524
|
+
const e = [];
|
|
56525
|
+
return t.style && e.push(t.style), e.length ? { style: e.join("; ") } : {};
|
|
56526
|
+
}
|
|
56521
56527
|
}
|
|
56522
56528
|
}
|
|
56523
56529
|
}
|
|
@@ -56757,13 +56763,7 @@ const cd = /* @__PURE__ */ Z({
|
|
|
56757
56763
|
}),
|
|
56758
56764
|
GFe,
|
|
56759
56765
|
qFe,
|
|
56760
|
-
jFe
|
|
56761
|
-
addKeyboardShortcuts() {
|
|
56762
|
-
return {
|
|
56763
|
-
Enter: () => this.editor.commands.setHardBreak()
|
|
56764
|
-
};
|
|
56765
|
-
}
|
|
56766
|
-
}),
|
|
56766
|
+
jFe,
|
|
56767
56767
|
Oze.configure({
|
|
56768
56768
|
inline: !0,
|
|
56769
56769
|
allowBase64: !0
|
|
@@ -56815,7 +56815,7 @@ const cd = /* @__PURE__ */ Z({
|
|
|
56815
56815
|
"icon-start-category": "text-formatting",
|
|
56816
56816
|
"icon-start": "text-bold",
|
|
56817
56817
|
active: f(i).isActive("bold"),
|
|
56818
|
-
onClick: g[0] || (g[0] = (_) => f(i).chain().
|
|
56818
|
+
onClick: g[0] || (g[0] = (_) => f(i).chain().setTextAlign("center").run())
|
|
56819
56819
|
}, null, 8, ["active"]),
|
|
56820
56820
|
R(m, {
|
|
56821
56821
|
size: "s",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amelia-booking-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.451",
|
|
4
4
|
"description": "A Vue 3 component library for Amelia Booking Plugin.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -30,32 +30,32 @@
|
|
|
30
30
|
"format": "prettier --write src/"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@tiptap/extension-blockquote": "^3.
|
|
34
|
-
"@tiptap/extension-bold": "^3.
|
|
35
|
-
"@tiptap/extension-bullet-list": "^3.
|
|
36
|
-
"@tiptap/extension-color": "^3.
|
|
37
|
-
"@tiptap/extension-document": "^3.
|
|
38
|
-
"@tiptap/extension-font-family": "^3.
|
|
39
|
-
"@tiptap/extension-hard-break": "^3.
|
|
40
|
-
"@tiptap/extension-heading": "^3.
|
|
41
|
-
"@tiptap/extension-image": "^3.
|
|
42
|
-
"@tiptap/extension-italic": "^3.
|
|
43
|
-
"@tiptap/extension-link": "^3.
|
|
44
|
-
"@tiptap/extension-list-item": "^3.
|
|
45
|
-
"@tiptap/extension-ordered-list": "^3.
|
|
46
|
-
"@tiptap/extension-paragraph": "^3.
|
|
47
|
-
"@tiptap/extension-strike": "^3.
|
|
48
|
-
"@tiptap/extension-subscript": "^3.
|
|
49
|
-
"@tiptap/extension-superscript": "^3.
|
|
50
|
-
"@tiptap/extension-table": "^3.
|
|
51
|
-
"@tiptap/extension-table-cell": "^3.
|
|
52
|
-
"@tiptap/extension-table-header": "^3.
|
|
53
|
-
"@tiptap/extension-table-row": "^3.
|
|
54
|
-
"@tiptap/extension-text": "^3.
|
|
55
|
-
"@tiptap/extension-text-align": "^3.
|
|
56
|
-
"@tiptap/extension-text-style": "^3.
|
|
57
|
-
"@tiptap/extension-underline": "^3.
|
|
58
|
-
"@tiptap/vue-3": "^3.
|
|
33
|
+
"@tiptap/extension-blockquote": "^3.4.4",
|
|
34
|
+
"@tiptap/extension-bold": "^3.4.4",
|
|
35
|
+
"@tiptap/extension-bullet-list": "^3.4.4",
|
|
36
|
+
"@tiptap/extension-color": "^3.4.4",
|
|
37
|
+
"@tiptap/extension-document": "^3.4.4",
|
|
38
|
+
"@tiptap/extension-font-family": "^3.4.4",
|
|
39
|
+
"@tiptap/extension-hard-break": "^3.4.4",
|
|
40
|
+
"@tiptap/extension-heading": "^3.4.4",
|
|
41
|
+
"@tiptap/extension-image": "^3.4.4",
|
|
42
|
+
"@tiptap/extension-italic": "^3.4.4",
|
|
43
|
+
"@tiptap/extension-link": "^3.4.4",
|
|
44
|
+
"@tiptap/extension-list-item": "^3.4.4",
|
|
45
|
+
"@tiptap/extension-ordered-list": "^3.4.4",
|
|
46
|
+
"@tiptap/extension-paragraph": "^3.4.4",
|
|
47
|
+
"@tiptap/extension-strike": "^3.4.4",
|
|
48
|
+
"@tiptap/extension-subscript": "^3.4.4",
|
|
49
|
+
"@tiptap/extension-superscript": "^3.4.4",
|
|
50
|
+
"@tiptap/extension-table": "^3.4.4",
|
|
51
|
+
"@tiptap/extension-table-cell": "^3.4.4",
|
|
52
|
+
"@tiptap/extension-table-header": "^3.4.4",
|
|
53
|
+
"@tiptap/extension-table-row": "^3.4.4",
|
|
54
|
+
"@tiptap/extension-text": "^3.4.4",
|
|
55
|
+
"@tiptap/extension-text-align": "^3.4.4",
|
|
56
|
+
"@tiptap/extension-text-style": "^3.4.4",
|
|
57
|
+
"@tiptap/extension-underline": "^3.4.4",
|
|
58
|
+
"@tiptap/vue-3": "^3.4.4",
|
|
59
59
|
"@vueuse/core": "^13.0.0",
|
|
60
60
|
"element-plus": "^2.8.0",
|
|
61
61
|
"v-money3": "^3.24.1",
|