amelia-booking-ui 0.0.421 → 0.0.423

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.
@@ -1,4 +1,4 @@
1
- import { _ as s, a as A, b as e, c as o, d as t, e as n, A as r, f as u, g as i, h as l, i as p, j as c, k as d, l as S, m as b, n as I, o as B, p as T, q as g, r as k, t as h, u as D, v as M, x as w, y as C, z as P, B as G, C as v, D as x, E as F, F as O, G as U, I as E, aa as L, J as R, K as f, L as Q, M as j, O as q, P as y, Q as z, R as H, S as J, T as K, U as N, V, W, X, Y, H as Z, Z as _, a1 as $, $ as aa, a0 as ma, a2 as sa, a3 as Aa, a6 as ea, a4 as oa, a5 as ta, a7 as na, a8 as ra, a9 as ua, ab as ia } from "./chunks/index-C9YpgM7K.mjs";
1
+ import { _ as s, a as A, b as e, c as o, d as t, e as n, A as r, f as u, g as i, h as l, i as p, j as c, k as d, l as S, m as b, n as I, o as B, p as T, q as g, r as k, t as h, u as D, v as M, x as w, y as C, z as P, B as G, C as v, D as x, E as F, F as O, G as U, I as E, aa as L, J as R, K as f, L as Q, M as j, O as q, P as y, Q as z, R as H, S as J, T as K, U as N, V, W, X, Y, H as Z, Z as _, a1 as $, $ as aa, a0 as ma, a2 as sa, a3 as Aa, a6 as ea, a4 as oa, a5 as ta, a7 as na, a8 as ra, a9 as ua, ab as ia } from "./chunks/index-gICoqJlu.mjs";
2
2
  export {
3
3
  s as AmAlert,
4
4
  A as AmAvatar,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, defineAsyncComponent as m, useAttrs as h, computed as t, createBlock as l, openBlock as n, resolveDynamicComponent as s, normalizeStyle as S, normalizeClass as a, withCtx as j, renderSlot as u, createElementBlock as C, createCommentVNode as d, unref as r, createVNode as _ } from "vue";
2
- import { s as O } from "./index-C9YpgM7K.mjs";
2
+ import { s as O } from "./index-gICoqJlu.mjs";
3
3
  const A = {
4
4
  key: 0,
5
5
  class: "m-btn-loader-container"
@@ -28,7 +28,7 @@ const A = {
28
28
  justify: { default: "center" }
29
29
  },
30
30
  setup(v) {
31
- const o = v, y = m(() => import("./MazSpinner.DZT5jj-c-C0pMM1pv.mjs")), c = m(() => import("./MazIcon.B5hPzeLk-C71rThjY.mjs")), { href: b, to: g } = h(), p = t(() => b ? "a" : g ? "router-link" : "button"), z = t(() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`), f = t(
31
+ const o = v, y = m(() => import("./MazSpinner.DZT5jj-c-B60x5O7K.mjs")), c = m(() => import("./MazIcon.B5hPzeLk-CSQhygN0.mjs")), { href: b, to: g } = h(), p = t(() => b ? "a" : g ? "router-link" : "button"), z = t(() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`), f = t(
32
32
  () => (o.loading || o.disabled) && p.value === "button"
33
33
  ), B = t(() => f.value ? "--cursor-default" : "--cursor-pointer"), k = t(() => `--is-${o.variant}`), x = t(() => o.loading && o.variant === "button"), I = t(() => p.value === "button" ? o.type : void 0), i = t(() => o.size === "xl" ? "maz-text-3xl" : o.size === "lg" ? "maz-text-2xl" : o.size === "md" ? "maz-text-xl" : o.size === "sm" ? "maz-text-lg" : o.size === "xs" ? "maz-text-base" : o.size === "mini" ? "maz-text-sm" : "maz-text-xl");
34
34
  return (e, F) => (n(), l(s(p.value), {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, computed as o, ref as N, createElementBlock as b, openBlock as x, normalizeStyle as t, normalizeClass as n, unref as s, createElementVNode as u, mergeProps as $, createVNode as A, renderSlot as I, createCommentVNode as D, createTextVNode as K, toDisplayString as y } from "vue";
2
- import { s as M, w as P } from "./index-C9YpgM7K.mjs";
2
+ import { s as M, w as P } from "./index-gICoqJlu.mjs";
3
3
  import T from "./check.C9Q_W85g-DmgtOx7Q.mjs";
4
4
  const F = ["for", "aria-checked"], H = ["id", "checked", "disabled", "name"], J = { class: "m-checkbox__text" }, R = /* @__PURE__ */ E({
5
5
  inheritAttrs: !1,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as z, ref as f, computed as m, onMounted as x, createElementBlock as L, createCommentVNode as k, watchEffect as T, openBlock as H, mergeProps as N, nextTick as $ } from "vue";
2
- import { N as C } from "./index-C9YpgM7K.mjs";
2
+ import { N as C } from "./index-gICoqJlu.mjs";
3
3
  const P = ["innerHTML"], G = /* @__PURE__ */ z({
4
4
  __name: "MazIcon",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t, createElementBlock as o, openBlock as n, normalizeClass as r, createElementVNode as l } from "vue";
2
- import { s as a } from "./index-C9YpgM7K.mjs";
2
+ import { s as a } from "./index-gICoqJlu.mjs";
3
3
  const p = ["width", "height"], i = /* @__PURE__ */ t({
4
4
  __name: "MazSpinner",
5
5
  props: {
@@ -37890,7 +37890,8 @@ const GDe = /* @__PURE__ */ r2(Txe, [["render", Oxe]]), jDe = /* @__PURE__ */ W(
37890
37890
  modelValue: { type: [String, Number, Boolean] },
37891
37891
  labelPosition: { default: "right" },
37892
37892
  tooltip: {},
37893
- description: {}
37893
+ description: {},
37894
+ fullWidth: { type: Boolean, default: !1 }
37894
37895
  },
37895
37896
  emits: ["update:modelValue", "input", "change"],
37896
37897
  setup(t, { emit: e }) {
@@ -37905,7 +37906,10 @@ const GDe = /* @__PURE__ */ r2(Txe, [["render", Oxe]]), jDe = /* @__PURE__ */ W(
37905
37906
  return (o, a) => {
37906
37907
  const s = $p, i = _t, c = vo;
37907
37908
  return f(), g("div", {
37908
- class: F(["am-checkbox", [n.labelPosition === "left" ? "label-left" : "label-right"]])
37909
+ class: F(["am-checkbox", [
37910
+ n.labelPosition === "left" ? "label-left" : "label-right",
37911
+ n.fullWidth ? "full-width" : ""
37912
+ ]])
37909
37913
  }, [
37910
37914
  d("div", Lxe, [
37911
37915
  o.$slots.default ? (f(), U(s, Oe({
@@ -39190,7 +39194,7 @@ const Dr = () => {
39190
39194
  emits: ["update:modelValue", "change"],
39191
39195
  setup(t, { emit: e }) {
39192
39196
  Jn((u) => ({
39193
- d1429788: c.value
39197
+ "4f6b5834": c.value
39194
39198
  }));
39195
39199
  const n = t, r = e, l = B(), o = B(), a = n.prefixIcon ? Rt({
39196
39200
  render() {
@@ -39252,7 +39256,8 @@ const Dr = () => {
39252
39256
  "cell-class-name": (w) => {
39253
39257
  const y = n.cellClassName?.(w) || "", b = n.loading ? "is-loading" : "";
39254
39258
  return [y, b].filter(Boolean).join(" ");
39255
- }
39259
+ },
39260
+ onChange: h[1] || (h[1] = () => r("change", i.value))
39256
39261
  }), null, 16, ["modelValue", "class", "popper-class", "prefix-icon", "clear-icon", "range-separator", "cell-class-name"])
39257
39262
  ]),
39258
39263
  _: 1
@@ -39389,7 +39394,7 @@ const Dr = () => {
39389
39394
  set(c) {
39390
39395
  l("update:modelValue", c);
39391
39396
  }
39392
- }), s = _(() => n.value ? "100%" : 600), i = () => {
39397
+ }), s = _(() => n.value ? "100%" : 624), i = () => {
39393
39398
  o.value?.setScrollTop(0);
39394
39399
  };
39395
39400
  return (c, u) => {
@@ -61701,7 +61706,7 @@ const zLe = {
61701
61706
  },
61702
61707
  emits: ["intersecting", "loading", "loaded", "error"],
61703
61708
  setup(t) {
61704
- const e = t, n = D0(() => import("./MazSpinner.DZT5jj-c-C0pMM1pv.mjs")), r = _(() => e.image || e.src), l = _(() => {
61709
+ const e = t, n = D0(() => import("./MazSpinner.DZT5jj-c-B60x5O7K.mjs")), r = _(() => e.image || e.src), l = _(() => {
61705
61710
  var o;
61706
61711
  return typeof r.value == "string" ? [{ srcset: r.value }] : (o = r.value) == null ? void 0 : o.sources;
61707
61712
  });
@@ -61950,7 +61955,7 @@ const HLe = ["for"], qLe = {
61950
61955
  },
61951
61956
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
61952
61957
  setup(t, { emit: e }) {
61953
- const n = t, r = e, l = D0(() => import("./MazBtn.1qp5aQ4N-BxuxMDOq.mjs")), o = D0(() => import("./MazIcon.B5hPzeLk-C71rThjY.mjs")), a = D0(() => import("./eye-slash.BoO00xzs-CULY_lvM.mjs")), s = D0(() => import("./eye.f8zAUc30-Yr89kafZ.mjs")), i = D0(() => import("./check.C9Q_W85g-DmgtOx7Q.mjs")), c = B(!1), u = B(!1), h = B(), m = j7({
61958
+ const n = t, r = e, l = D0(() => import("./MazBtn.1qp5aQ4N-DL0EW0OT.mjs")), o = D0(() => import("./MazIcon.B5hPzeLk-CSQhygN0.mjs")), a = D0(() => import("./eye-slash.BoO00xzs-CULY_lvM.mjs")), s = D0(() => import("./eye.f8zAUc30-Yr89kafZ.mjs")), i = D0(() => import("./check.C9Q_W85g-DmgtOx7Q.mjs")), c = B(!1), u = B(!1), h = B(), m = j7({
61954
61959
  componentName: "MazInput",
61955
61960
  providedId: n.id
61956
61961
  });
@@ -62229,7 +62234,7 @@ const HLe = ["for"], qLe = {
62229
62234
  },
62230
62235
  emits: ["close", "open", "blur", "focus", "change", "input", "update:model-value", "selected-option"],
62231
62236
  setup(t, { expose: e, emit: n }) {
62232
- const r = t, l = n, o = D0(() => import("./MazCheckbox.UAnkvAoS-CNQqQL6C.mjs")), a = D0(() => import("./magnifying-glass.-nBiyXot-CuA_mltt.mjs")), s = D0(() => import("./chevron-down.BkvtON3b-RNrTKYcy.mjs")), i = D0(() => import("./no-symbol.CIgKzsrB-3PuxVsDY.mjs"));
62237
+ const r = t, l = n, o = D0(() => import("./MazCheckbox.UAnkvAoS-DAagicsP.mjs")), a = D0(() => import("./magnifying-glass.-nBiyXot-CuA_mltt.mjs")), s = D0(() => import("./chevron-down.BkvtON3b-RNrTKYcy.mjs")), i = D0(() => import("./no-symbol.CIgKzsrB-3PuxVsDY.mjs"));
62233
62238
  e({
62234
62239
  /** Method to open the option list */
62235
62240
  openList: G,
@@ -3,6 +3,7 @@ interface Props {
3
3
  labelPosition?: 'right' | 'left';
4
4
  tooltip?: string;
5
5
  description?: string;
6
+ fullWidth?: boolean;
6
7
  }
7
8
  declare function __VLS_template(): {
8
9
  attrs: Partial<{}>;
@@ -22,6 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
22
23
  onInput?: (...args: any[]) => any;
23
24
  "onUpdate:modelValue"?: (...args: any[]) => any;
24
25
  }>, {
26
+ fullWidth: boolean;
25
27
  labelPosition: "right" | "left";
26
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
27
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amelia-booking-ui",
3
- "version": "0.0.421",
3
+ "version": "0.0.423",
4
4
  "description": "A Vue 3 component library for Amelia Booking Plugin.",
5
5
  "type": "module",
6
6
  "repository": {