@point-hub/papp 0.0.142 → 0.0.143
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/index.css +1 -1
- package/dist/index.js +22 -22
- package/dist/index.umd.cjs +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -998,7 +998,7 @@ function zs() {
|
|
|
998
998
|
};
|
|
999
999
|
}
|
|
1000
1000
|
var za;
|
|
1001
|
-
let Us = Symbol("headlessui.useid"), Ys = 0;
|
|
1001
|
+
let Us = /* @__PURE__ */ Symbol("headlessui.useid"), Ys = 0;
|
|
1002
1002
|
const Te = (za = Fa.useId) != null ? za : function() {
|
|
1003
1003
|
return Fa.inject(Us, () => `${++Ys}`)();
|
|
1004
1004
|
};
|
|
@@ -1283,7 +1283,7 @@ let Xt = $({ name: "Hidden", props: { as: { type: [Object, String], default: "di
|
|
|
1283
1283
|
let { features: a, ...o } = e, i = { "aria-hidden": (a & 2) === 2 ? !0 : (r = o["aria-hidden"]) != null ? r : void 0, hidden: (a & 4) === 4 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(a & 4) === 4 && (a & 2) !== 2 && { display: "none" } } };
|
|
1284
1284
|
return pe({ ourProps: i, theirProps: o, slot: {}, attrs: n, slots: t, name: "Hidden" });
|
|
1285
1285
|
};
|
|
1286
|
-
} }), ri = Symbol("Context");
|
|
1286
|
+
} }), ri = /* @__PURE__ */ Symbol("Context");
|
|
1287
1287
|
var Oe = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(Oe || {});
|
|
1288
1288
|
function au() {
|
|
1289
1289
|
return Fn() !== null;
|
|
@@ -1370,7 +1370,7 @@ function su(e, t) {
|
|
|
1370
1370
|
return e === t;
|
|
1371
1371
|
}
|
|
1372
1372
|
var uu = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(uu || {}), du = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(du || {}), cu = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Focus = 1] = "Focus", e[e.Other = 2] = "Other", e))(cu || {});
|
|
1373
|
-
let li = Symbol("ComboboxContext");
|
|
1373
|
+
let li = /* @__PURE__ */ Symbol("ComboboxContext");
|
|
1374
1374
|
function Gt(e) {
|
|
1375
1375
|
let t = Se(li, null);
|
|
1376
1376
|
if (t === null) {
|
|
@@ -1379,7 +1379,7 @@ function Gt(e) {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
return t;
|
|
1381
1381
|
}
|
|
1382
|
-
let si = Symbol("VirtualContext"), fu = $({ name: "VirtualProvider", setup(e, { slots: t }) {
|
|
1382
|
+
let si = /* @__PURE__ */ Symbol("VirtualContext"), fu = $({ name: "VirtualProvider", setup(e, { slots: t }) {
|
|
1383
1383
|
let n = Gt("VirtualProvider"), r = T(() => {
|
|
1384
1384
|
let l = R(n.optionsRef);
|
|
1385
1385
|
if (!l) return { start: 0, end: 0 };
|
|
@@ -2048,7 +2048,7 @@ function Pu({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {})
|
|
|
2048
2048
|
return n != null ? null : ue(Xt, { features: Yt.Hidden, ref: r });
|
|
2049
2049
|
} };
|
|
2050
2050
|
}
|
|
2051
|
-
let pi = Symbol("ForcePortalRootContext");
|
|
2051
|
+
let pi = /* @__PURE__ */ Symbol("ForcePortalRootContext");
|
|
2052
2052
|
function Du() {
|
|
2053
2053
|
return Se(pi, !1);
|
|
2054
2054
|
}
|
|
@@ -2057,7 +2057,7 @@ let qr = $({ name: "ForcePortalRoot", props: { as: { type: [Object, String], def
|
|
|
2057
2057
|
let { force: r, ...a } = e;
|
|
2058
2058
|
return pe({ theirProps: a, ourProps: {}, slot: {}, slots: t, attrs: n, name: "ForcePortalRoot" });
|
|
2059
2059
|
};
|
|
2060
|
-
} }), vi = Symbol("StackContext");
|
|
2060
|
+
} }), vi = /* @__PURE__ */ Symbol("StackContext");
|
|
2061
2061
|
var zr = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(zr || {});
|
|
2062
2062
|
function Iu() {
|
|
2063
2063
|
return Se(vi, () => {
|
|
@@ -2076,7 +2076,7 @@ function Mu({ type: e, enabled: t, element: n, onUpdate: r }) {
|
|
|
2076
2076
|
t.value && o(1, e, n);
|
|
2077
2077
|
}), Pe(vi, o);
|
|
2078
2078
|
}
|
|
2079
|
-
let mi = Symbol("DescriptionContext");
|
|
2079
|
+
let mi = /* @__PURE__ */ Symbol("DescriptionContext");
|
|
2080
2080
|
function $u() {
|
|
2081
2081
|
let e = Se(mi, null);
|
|
2082
2082
|
if (e === null) throw new Error("Missing parent");
|
|
@@ -2143,7 +2143,7 @@ let hi = $({ name: "Portal", props: { as: { type: [Object, String], default: "di
|
|
|
2143
2143
|
let f = { ref: r, "data-headlessui-portal": "" };
|
|
2144
2144
|
return ue($l, { to: l.value }, pe({ ourProps: f, theirProps: e, slot: {}, attrs: n, slots: t, name: "Portal" }));
|
|
2145
2145
|
};
|
|
2146
|
-
} }), Yr = Symbol("PortalParentContext");
|
|
2146
|
+
} }), Yr = /* @__PURE__ */ Symbol("PortalParentContext");
|
|
2147
2147
|
function Fu() {
|
|
2148
2148
|
let e = Se(Yr, null), t = E([]);
|
|
2149
2149
|
function n(o) {
|
|
@@ -2161,7 +2161,7 @@ function Fu() {
|
|
|
2161
2161
|
};
|
|
2162
2162
|
} })];
|
|
2163
2163
|
}
|
|
2164
|
-
let gi = Symbol("PortalGroupContext"), _u = $({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(e, { attrs: t, slots: n }) {
|
|
2164
|
+
let gi = /* @__PURE__ */ Symbol("PortalGroupContext"), _u = $({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(e, { attrs: t, slots: n }) {
|
|
2165
2165
|
let r = pr({ resolveTarget() {
|
|
2166
2166
|
return e.target;
|
|
2167
2167
|
} });
|
|
@@ -2171,7 +2171,7 @@ let gi = Symbol("PortalGroupContext"), _u = $({ name: "PortalGroup", props: { as
|
|
|
2171
2171
|
};
|
|
2172
2172
|
} });
|
|
2173
2173
|
var Vu = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Vu || {});
|
|
2174
|
-
let Xr = Symbol("DialogContext");
|
|
2174
|
+
let Xr = /* @__PURE__ */ Symbol("DialogContext");
|
|
2175
2175
|
function _n(e) {
|
|
2176
2176
|
let t = Se(Xr, null);
|
|
2177
2177
|
if (t === null) {
|
|
@@ -2323,7 +2323,7 @@ var qu = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(qu ||
|
|
|
2323
2323
|
function Uu(e) {
|
|
2324
2324
|
requestAnimationFrame(() => requestAnimationFrame(e));
|
|
2325
2325
|
}
|
|
2326
|
-
let bi = Symbol("MenuContext");
|
|
2326
|
+
let bi = /* @__PURE__ */ Symbol("MenuContext");
|
|
2327
2327
|
function gr(e) {
|
|
2328
2328
|
let t = Se(bi, null);
|
|
2329
2329
|
if (t === null) {
|
|
@@ -2503,7 +2503,7 @@ let Yu = $({ name: "Menu", props: { as: { type: [Object, String], default: "temp
|
|
|
2503
2503
|
let { disabled: b, ...y } = e, C = { active: s.value, disabled: b, close: i.closeMenu };
|
|
2504
2504
|
return pe({ ourProps: { id: o, ref: l, role: "menuitem", tabIndex: b === !0 ? void 0 : -1, "aria-disabled": b === !0 ? !0 : void 0, onClick: c, onFocus: f, onPointerenter: g, onMouseenter: g, onPointermove: v, onMousemove: v, onPointerleave: m, onMouseleave: m }, theirProps: { ...n, ...y }, slot: C, attrs: n, slots: t, name: "MenuItem" });
|
|
2505
2505
|
};
|
|
2506
|
-
} }), yi = Symbol("LabelContext");
|
|
2506
|
+
} }), yi = /* @__PURE__ */ Symbol("LabelContext");
|
|
2507
2507
|
function Ai() {
|
|
2508
2508
|
let e = Se(yi, null);
|
|
2509
2509
|
if (e === null) {
|
|
@@ -2533,7 +2533,7 @@ $({ name: "Label", props: { as: { type: [Object, String], default: "label" }, pa
|
|
|
2533
2533
|
function Ku(e, t) {
|
|
2534
2534
|
return e === t;
|
|
2535
2535
|
}
|
|
2536
|
-
let xi = Symbol("RadioGroupContext");
|
|
2536
|
+
let xi = /* @__PURE__ */ Symbol("RadioGroupContext");
|
|
2537
2537
|
function ki(e) {
|
|
2538
2538
|
let t = Se(xi, null);
|
|
2539
2539
|
if (t === null) {
|
|
@@ -2673,7 +2673,7 @@ let ed = $({ name: "RadioGroupOption", props: { as: { type: [Object, String], de
|
|
|
2673
2673
|
} }) : null;
|
|
2674
2674
|
} });
|
|
2675
2675
|
var nd = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(nd || {}), rd = ((e) => (e[e.Less = -1] = "Less", e[e.Equal = 0] = "Equal", e[e.Greater = 1] = "Greater", e))(rd || {});
|
|
2676
|
-
let Si = Symbol("TabsContext");
|
|
2676
|
+
let Si = /* @__PURE__ */ Symbol("TabsContext");
|
|
2677
2677
|
function Vn(e) {
|
|
2678
2678
|
let t = Se(Si, null);
|
|
2679
2679
|
if (t === null) {
|
|
@@ -2682,7 +2682,7 @@ function Vn(e) {
|
|
|
2682
2682
|
}
|
|
2683
2683
|
return t;
|
|
2684
2684
|
}
|
|
2685
|
-
let ma = Symbol("TabsSSRContext"), ad = $({ name: "TabGroup", emits: { change: (e) => !0 }, props: { as: { type: [Object, String], default: "template" }, selectedIndex: { type: [Number], default: null }, defaultIndex: { type: [Number], default: 0 }, vertical: { type: [Boolean], default: !1 }, manual: { type: [Boolean], default: !1 } }, inheritAttrs: !1, setup(e, { slots: t, attrs: n, emit: r }) {
|
|
2685
|
+
let ma = /* @__PURE__ */ Symbol("TabsSSRContext"), ad = $({ name: "TabGroup", emits: { change: (e) => !0 }, props: { as: { type: [Object, String], default: "template" }, selectedIndex: { type: [Number], default: null }, defaultIndex: { type: [Number], default: 0 }, vertical: { type: [Boolean], default: !1 }, manual: { type: [Boolean], default: !1 } }, inheritAttrs: !1, setup(e, { slots: t, attrs: n, emit: r }) {
|
|
2686
2686
|
var a;
|
|
2687
2687
|
let o = E((a = e.selectedIndex) != null ? a : e.defaultIndex), i = E([]), l = E([]), s = T(() => e.selectedIndex !== null), d = T(() => s.value ? e.selectedIndex : o.value);
|
|
2688
2688
|
function u(v) {
|
|
@@ -2871,7 +2871,7 @@ function Za(e, t, n, r, a, o) {
|
|
|
2871
2871
|
function _t(e = "") {
|
|
2872
2872
|
return e.split(/\s+/).filter((t) => t.length > 1);
|
|
2873
2873
|
}
|
|
2874
|
-
let ha = Symbol("TransitionContext");
|
|
2874
|
+
let ha = /* @__PURE__ */ Symbol("TransitionContext");
|
|
2875
2875
|
var cd = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(cd || {});
|
|
2876
2876
|
function fd() {
|
|
2877
2877
|
return Se(ha, null) !== null;
|
|
@@ -2886,7 +2886,7 @@ function vd() {
|
|
|
2886
2886
|
if (e === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
|
|
2887
2887
|
return e;
|
|
2888
2888
|
}
|
|
2889
|
-
let ga = Symbol("NestingContext");
|
|
2889
|
+
let ga = /* @__PURE__ */ Symbol("NestingContext");
|
|
2890
2890
|
function br(e) {
|
|
2891
2891
|
return "children" in e ? br(e.children) : e.value.filter(({ state: t }) => t === "visible").length > 0;
|
|
2892
2892
|
}
|
|
@@ -7847,7 +7847,7 @@ const nm = /* @__PURE__ */ $({
|
|
|
7847
7847
|
], 64);
|
|
7848
7848
|
};
|
|
7849
7849
|
}
|
|
7850
|
-
}), hl = 6048e5, _m = 864e5, To = Symbol.for("constructDateFrom");
|
|
7850
|
+
}), hl = 6048e5, _m = 864e5, To = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
7851
7851
|
function Pt(e, t) {
|
|
7852
7852
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && To in e ? e[To](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
7853
7853
|
}
|
|
@@ -9374,7 +9374,7 @@ const Uh = ["autofocus", "required", "readonly", "disabled", "data-testid"], Yh
|
|
|
9374
9374
|
}, 1e3);
|
|
9375
9375
|
});
|
|
9376
9376
|
const f = () => {
|
|
9377
|
-
d.value = l.value?.clientWidth === 0 ?
|
|
9377
|
+
d.value = l.value?.clientWidth === 0 ? 16 : l.value?.clientWidth, u.value = s.value?.clientWidth === 0 ? 16 : s.value?.clientWidth;
|
|
9378
9378
|
};
|
|
9379
9379
|
return t({
|
|
9380
9380
|
inputRef: i
|
|
@@ -9440,7 +9440,7 @@ const Uh = ["autofocus", "required", "readonly", "disabled", "data-testid"], Yh
|
|
|
9440
9440
|
}, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
|
|
9441
9441
|
};
|
|
9442
9442
|
}
|
|
9443
|
-
}), tg = /* @__PURE__ */ oe(eg, [["__scopeId", "data-v-
|
|
9443
|
+
}), tg = /* @__PURE__ */ oe(eg, [["__scopeId", "data-v-27214726"]]), ng = ["required", "readonly", "disabled", "autofocus", "placeholder", "data-testid"], rg = /* @__PURE__ */ $({
|
|
9444
9444
|
__name: "base-input-mask",
|
|
9445
9445
|
props: /* @__PURE__ */ we({
|
|
9446
9446
|
modelValue: { type: [String, Number, Boolean, null] },
|
|
@@ -10177,7 +10177,7 @@ const vg = ["placeholder", "autofocus", "required", "readonly", "disabled", "dat
|
|
|
10177
10177
|
}, 1e3);
|
|
10178
10178
|
});
|
|
10179
10179
|
const c = () => {
|
|
10180
|
-
d.value = l.value?.clientWidth === 0 ?
|
|
10180
|
+
d.value = l.value?.clientWidth === 0 ? 16 : l.value?.clientWidth, u.value = s.value?.clientWidth === 0 ? 16 : s.value?.clientWidth;
|
|
10181
10181
|
}, f = de(e, "modelValue"), h = de(e, "errors"), g = n, v = (b) => {
|
|
10182
10182
|
g("update:modelValue", Number(b.target.rawValue)), r.resetErrorsOnUpdate === !0 && h.value?.length && (h.value = []);
|
|
10183
10183
|
}, m = T({
|
|
@@ -10246,7 +10246,7 @@ const vg = ["placeholder", "autofocus", "required", "readonly", "disabled", "dat
|
|
|
10246
10246
|
}, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
|
|
10247
10247
|
};
|
|
10248
10248
|
}
|
|
10249
|
-
}), hg = /* @__PURE__ */ oe(mg, [["__scopeId", "data-v-
|
|
10249
|
+
}), hg = /* @__PURE__ */ oe(mg, [["__scopeId", "data-v-959b5191"]]);
|
|
10250
10250
|
function gg(e) {
|
|
10251
10251
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
10252
10252
|
}
|