@zipify/wysiwyg 1.0.0-dev.55 → 1.0.0-dev.56
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/wysiwyg.mjs
CHANGED
|
@@ -13994,13 +13994,15 @@ function iN({ pickerRef: r, initialColorRef: e, onClosed: t, onBeforeOpened: n }
|
|
|
13994
13994
|
n(), i.value = e.value, r.value.open(r.value.$el);
|
|
13995
13995
|
}
|
|
13996
13996
|
function a() {
|
|
13997
|
-
|
|
13997
|
+
var c;
|
|
13998
|
+
(c = r.value) == null || c.close(i.value), t(i.value);
|
|
13998
13999
|
}
|
|
13999
14000
|
function l() {
|
|
14000
14001
|
o.value ? a() : s();
|
|
14001
14002
|
}
|
|
14002
14003
|
function u() {
|
|
14003
|
-
|
|
14004
|
+
var c;
|
|
14005
|
+
i.value = e.value, (c = r.value) == null || c.close(i.value);
|
|
14004
14006
|
}
|
|
14005
14007
|
return {
|
|
14006
14008
|
isOpened: o,
|
|
@@ -18302,4 +18304,3 @@ const SL = /* @__PURE__ */ function() {
|
|
|
18302
18304
|
export {
|
|
18303
18305
|
SL as Wysiwyg
|
|
18304
18306
|
};
|
|
18305
|
-
//# sourceMappingURL=wysiwyg.mjs.map
|
|
@@ -11,7 +11,7 @@ export function usePickerApi({ pickerRef, initialColorRef, onClosed, onBeforeOpe
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
function close() {
|
|
14
|
-
pickerRef.value
|
|
14
|
+
pickerRef.value?.close(editingColor.value);
|
|
15
15
|
onClosed(editingColor.value);
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ export function usePickerApi({ pickerRef, initialColorRef, onClosed, onBeforeOpe
|
|
|
21
21
|
|
|
22
22
|
function cancel() {
|
|
23
23
|
editingColor.value = initialColorRef.value;
|
|
24
|
-
pickerRef.value
|
|
24
|
+
pickerRef.value?.close(editingColor.value);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
return {
|