amelia-booking-ui 0.0.499 → 0.0.500
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.
|
@@ -40210,7 +40210,7 @@ const Ll = () => {
|
|
|
40210
40210
|
showAlpha: { type: Boolean },
|
|
40211
40211
|
display: { default: "input" }
|
|
40212
40212
|
},
|
|
40213
|
-
emits: ["update:modelValue"],
|
|
40213
|
+
emits: ["update:modelValue", "change"],
|
|
40214
40214
|
setup(t, { emit: e }) {
|
|
40215
40215
|
const n = xe("$t", (w) => w), l = e, r = t, o = E(), a = E(), s = E(), i = n2(s), c = k({
|
|
40216
40216
|
get() {
|
|
@@ -40231,9 +40231,9 @@ const Ll = () => {
|
|
|
40231
40231
|
"#fe7a7a",
|
|
40232
40232
|
"#7a69ee"
|
|
40233
40233
|
], h = (w) => {
|
|
40234
|
-
c.value = w;
|
|
40234
|
+
c.value = w, l("change", w || "");
|
|
40235
40235
|
}, m = (w) => {
|
|
40236
|
-
r.valueOnClear && !w && (c.value = r.valueOnClear);
|
|
40236
|
+
r.valueOnClear && !w && (c.value = r.valueOnClear), l("change", w || r.valueOnClear || "");
|
|
40237
40237
|
}, g = () => {
|
|
40238
40238
|
Se(() => {
|
|
40239
40239
|
s.value && (globalThis.document?.querySelectorAll(".am-input-color__color-picker-popper") || []).forEach((b) => {
|
|
@@ -6,8 +6,10 @@ type __VLS_Props = {
|
|
|
6
6
|
display: 'input' | 'circle';
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
change: (...args: any[]) => void;
|
|
9
10
|
"update:modelValue": (...args: any[]) => void;
|
|
10
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onChange?: (...args: any[]) => any;
|
|
11
13
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
12
14
|
}>, {
|
|
13
15
|
mode: "popover" | "picker";
|