@flux-ui/components 3.0.0-next.7 → 3.0.0-next.8
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/composable/private/useFormSelect.d.ts +2 -2
- package/dist/composable/private/useFormSelect.d.ts.map +1 -1
- package/dist/index.js +95 -95
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/component/FluxFormInput.vue +1 -1
- package/src/component/FluxFormSelect.vue +1 -1
- package/src/composable/private/useFormSelect.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var Ia = (t) => {
|
|
|
3
3
|
};
|
|
4
4
|
var Ta = (t, e, a) => e.has(t) || Ia("Cannot " + a);
|
|
5
5
|
var ye = (t, e, a) => (Ta(t, e, "read from private field"), a ? a.call(t) : e.get(t)), Xt = (t, e, a) => e.has(t) ? Ia("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, a), Jt = (t, e, a, i) => (Ta(t, e, "write to private field"), i ? i.call(t, a) : e.set(t, a), a);
|
|
6
|
-
import { ref as P, onMounted as Ie, onUnmounted as Re, computed as L, reactive as Ka, inject as jt, unref as n, useId as Et, watch as z, getCurrentInstance as _t, Fragment as N, watchEffect as qt, onScopeDispose as As, isRef as He, customRef as $s, defineComponent as k, createElementBlock as p, openBlock as c, normalizeStyle as Y, normalizeClass as d, renderList as q, toDisplayString as O, resolveComponent as Fs, createBlock as b, mergeProps as ke, withCtx as A, renderSlot as w, createElementVNode as D, toRef as
|
|
6
|
+
import { ref as P, onMounted as Ie, onUnmounted as Re, computed as L, reactive as Ka, inject as jt, unref as n, useId as Et, watch as z, getCurrentInstance as _t, Fragment as N, watchEffect as qt, onScopeDispose as As, isRef as He, customRef as $s, defineComponent as k, createElementBlock as p, openBlock as c, normalizeStyle as Y, normalizeClass as d, renderList as q, toDisplayString as O, resolveComponent as Fs, createBlock as b, mergeProps as ke, withCtx as A, renderSlot as w, createElementVNode as D, toRef as me, createCommentVNode as S, shallowRef as Cs, createSlots as dt, createVNode as y, useTemplateRef as te, provide as Kt, normalizeProps as ce, guardReactiveProps as de, withKeys as Bs, withModifiers as rn, resolveDynamicComponent as Tn, useSlots as De, onBeforeUnmount as Ya, Transition as et, h as Qe, cloneVNode as Za, mergeModels as ee, useModel as ae, nextTick as An, Teleport as Qa, Comment as ws, isVNode as Ss, createTextVNode as ia, withDirectives as Ln, vModelCheckbox as Es, onBeforeMount as Is, vModelText as Xa, TransitionGroup as Ja, onUpdated as Ts } from "vue";
|
|
7
7
|
import { DateTime as Fe } from "luxon";
|
|
8
8
|
function ei(t) {
|
|
9
9
|
var e, a, i = "";
|
|
@@ -2750,7 +2750,7 @@ var Er = { beforeUnmount(t) {
|
|
|
2750
2750
|
let e = new Sr(t);
|
|
2751
2751
|
e.register(), Qn.set(t, e);
|
|
2752
2752
|
} }, Qn = /* @__PURE__ */ new WeakMap();
|
|
2753
|
-
const Ir = "base-pane", Tr = "base-pane-loader", Lr = "base-pane-element", Dr = "form", Mr = "pane-header", Pr = "base-pane-structure base-pane", pt = { basePane: Ir, basePaneLoader: Tr, basePaneElement: Lr, form: Dr, paneHeader: Mr, basePaneStructure: Pr }, { basePane: lt } = pt, Vr = "icon", xr = "font-awesome-icon icon", Or = "material-symbol-icon icon", Rr = `icon-boxed ${lt}`, zr = `icon-boxed-default icon-boxed ${lt}`, Nr = `icon-boxed-
|
|
2753
|
+
const Ir = "base-pane", Tr = "base-pane-loader", Lr = "base-pane-element", Dr = "form", Mr = "pane-header", Pr = "base-pane-structure base-pane", pt = { basePane: Ir, basePaneLoader: Tr, basePaneElement: Lr, form: Dr, paneHeader: Mr, basePaneStructure: Pr }, { basePane: lt } = pt, Vr = "icon", xr = "font-awesome-icon icon", Or = "material-symbol-icon icon", Rr = `icon-boxed ${lt}`, zr = `icon-boxed-default icon-boxed ${lt}`, Nr = `icon-boxed-colored icon-boxed ${lt}`, Hr = `icon-boxed-gray icon-boxed-colored icon-boxed ${lt}`, Gr = `icon-boxed-primary icon-boxed-colored icon-boxed ${lt}`, Ur = `icon-boxed-danger icon-boxed-colored icon-boxed ${lt}`, Wr = `icon-boxed-info icon-boxed-colored icon-boxed ${lt}`, jr = `icon-boxed-success icon-boxed-colored icon-boxed ${lt}`, _r = `icon-boxed-warning icon-boxed-colored icon-boxed ${lt}`, Ze = { icon: Vr, fontAwesomeIcon: xr, materialSymbolIcon: Or, iconBoxed: Rr, iconBoxedDefault: zr, iconBoxedColored: Nr, iconBoxedGray: Hr, iconBoxedPrimary: Gr, iconBoxedDanger: Ur, iconBoxedInfo: Wr, iconBoxedSuccess: jr, iconBoxedWarning: _r }, qr = ["viewBox"], Kr = ["d"], U = /* @__PURE__ */ k({
|
|
2754
2754
|
__name: "FluxIcon",
|
|
2755
2755
|
props: {
|
|
2756
2756
|
size: {},
|
|
@@ -2921,7 +2921,7 @@ const Ir = "base-pane", Tr = "base-pane-loader", Lr = "base-pane-element", Dr =
|
|
|
2921
2921
|
},
|
|
2922
2922
|
emits: ["click", "mouseenter", "mouseleave"],
|
|
2923
2923
|
setup(t, { emit: e }) {
|
|
2924
|
-
const a = e, i = be(
|
|
2924
|
+
const a = e, i = be(me(() => t.disabled));
|
|
2925
2925
|
function s(r) {
|
|
2926
2926
|
if (n(i) || t.isLoading) {
|
|
2927
2927
|
r.preventDefault(), r.stopPropagation();
|
|
@@ -2990,7 +2990,7 @@ const Ir = "base-pane", Tr = "base-pane-loader", Lr = "base-pane-element", Dr =
|
|
|
2990
2990
|
_: 3
|
|
2991
2991
|
}, 8, ["component-type", "class", "type", "aria-disabled", "disabled", "tabindex", "href", "rel", "target", "to"]));
|
|
2992
2992
|
}
|
|
2993
|
-
}), ru = "button", uu = "is-small", cu = "is-medium", du = "is-large", mu = "is-xl", pu = "is-filled", fu = "button-icon", hu = "button-label", zn = { button: ru, isSmall: uu, isMedium: cu, isLarge: du, isXl: mu, isFilled: pu, buttonIcon: fu, buttonLabel: hu }, { button: gu,
|
|
2993
|
+
}), ru = "button", uu = "is-small", cu = "is-medium", du = "is-large", mu = "is-xl", pu = "is-filled", fu = "button-icon", hu = "button-label", zn = { button: ru, isSmall: uu, isMedium: cu, isLarge: du, isXl: mu, isFilled: pu, buttonIcon: fu, buttonLabel: hu }, { button: gu, buttonLabel: bu, buttonIcon: vu } = zn, yu = "spinner", ku = "is-destructive", Au = "action-bar", $u = "separator", Fu = "form-input", Cu = "base-pane-structure", Bu = "pane-header", wu = "action-pane", Su = "action-pane-grid", Eu = "action-pane-body", Iu = `action ${gu}`, Tu = `action-label ${bu}`, Lu = `action-icon ${vu}`, it = { spinner: yu, isDestructive: ku, actionBar: Au, separator: $u, formInput: Fu, basePaneStructure: Cu, paneHeader: Bu, actionPane: wu, actionPaneGrid: Su, actionPaneBody: Eu, action: Iu, actionLabel: Tu, actionIcon: Lu }, Du = /* @__PURE__ */ k({
|
|
2994
2994
|
__name: "FluxAction",
|
|
2995
2995
|
props: {
|
|
2996
2996
|
type: {},
|
|
@@ -3080,7 +3080,7 @@ const Mu = (t, e) => {
|
|
|
3080
3080
|
function Pu(t) {
|
|
3081
3081
|
return !!t && "$t" in t;
|
|
3082
3082
|
}
|
|
3083
|
-
const {
|
|
3083
|
+
const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu = "icon", Ou = "publish-button-animation", Ru = "is-done", zu = "publish-button-animation-arrow", Nu = "publish-arrow-out", Hu = "publish-button-animation-check", Gu = "publish-button-animation-circle", Uu = "is-idle", Wu = "is-loading", ju = "publish-arrow-in", _u = "publish-button-cloud", qu = "publish", Ku = "button-group", Yu = "button", Zu = `destructive-button-icon ${cn}`, Qu = `secondary-button ${dn}`, Xu = `secondary-button-icon ${cn}`, Ju = `primary-button-icon ${cn}`, ec = `publish-button primary-button ${dn}`, tc = `link-button-icon ${cn}`, nc = `primary-button ${dn}`, ac = `destructive-button ${dn}`, ic = `link-button ${dn}`, sc = `secondary-button-label ${mn}`, oc = `publish-button-icon primary-button-icon ${cn}`, lc = `destructive-button-label ${mn}`, rc = `primary-button-label ${mn}`, uc = `link-button-label ${mn}`, cc = `publish-button-label primary-button-label ${mn}`, se = { spinner: Vu, icon: xu, publishButtonAnimation: Ou, isDone: Ru, publishButtonAnimationArrow: zu, publishArrowOut: Nu, publishButtonAnimationCheck: Hu, publishButtonAnimationCircle: Gu, isIdle: Uu, isLoading: Wu, publishArrowIn: ju, publishButtonCloud: _u, publish: qu, buttonGroup: Ku, button: Yu, destructiveButtonIcon: Zu, secondaryButton: Qu, secondaryButtonIcon: Xu, primaryButtonIcon: Ju, publishButton: ec, linkButtonIcon: tc, primaryButton: nc, destructiveButton: ac, linkButton: ic, secondaryButtonLabel: sc, publishButtonIcon: oc, destructiveButtonLabel: lc, primaryButtonLabel: rc, linkButtonLabel: uc, publishButtonLabel: cc }, Fa = /* @__PURE__ */ k({
|
|
3084
3084
|
__name: "FluxButtonGroup",
|
|
3085
3085
|
setup(t) {
|
|
3086
3086
|
return (e, a) => (c(), p("div", {
|
|
@@ -3125,7 +3125,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
3125
3125
|
}))
|
|
3126
3126
|
]), 1040, ["css-class", "css-class-icon", "css-class-label"]));
|
|
3127
3127
|
}
|
|
3128
|
-
}), { basePaneStructure: pn, basePaneElement: Ca, basePaneLoader: mc } = pt, pc = "base-pane-element", fc = "pane-header-caption", hc = "pane-header-icon", gc = "pane-tag", bc = "pane-media", vc = "pane-media-image", yc = "base-auto-grid", kc = "pane-group", Ac = "pane-illustration", $c = "pane-illustration-content", Fc = "pane-illustration-magic", Cc = "icon-boxed", Bc = "pane-media-inset pane-media", wc = "pane-illustration-content-controlled pane-illustration-content", Sc = "pane-illustration-masked pane-illustration", Ec = `pane-default pane ${pn}`, Ic = `pane-flat pane ${pn}`, Tc = `pane ${
|
|
3128
|
+
}), { basePaneStructure: pn, basePaneElement: Ca, basePaneLoader: mc } = pt, pc = "base-pane-element", fc = "pane-header-caption", hc = "pane-header-icon", gc = "pane-tag", bc = "pane-media", vc = "pane-media-image", yc = "base-auto-grid", kc = "pane-group", Ac = "pane-illustration", $c = "pane-illustration-content", Fc = "pane-illustration-magic", Cc = "icon-boxed", Bc = "pane-media-inset pane-media", wc = "pane-illustration-content-controlled pane-illustration-content", Sc = "pane-illustration-masked pane-illustration", Ec = `pane-default pane ${pn}`, Ic = `pane-flat pane ${pn}`, Tc = `pane-body ${Ca}`, Lc = `pane ${pn}`, Dc = `pane-loader ${mc}`, Mc = `pane-well pane ${pn}`, Pc = `pane-footer ${Ca}`, Vc = `pane-deck pane-default pane ${pn}`, xc = `pane-header ${Ca}`, oe = { basePaneElement: pc, paneHeaderCaption: fc, paneHeaderIcon: hc, paneTag: gc, paneMedia: bc, paneMediaImage: vc, baseAutoGrid: yc, paneGroup: kc, paneIllustration: Ac, paneIllustrationContent: $c, paneIllustrationMagic: Fc, iconBoxed: Cc, paneMediaInset: Bc, paneIllustrationContentControlled: wc, paneIllustrationMasked: Sc, paneDefault: Ec, paneFlat: Ic, paneBody: Tc, pane: Lc, paneLoader: Dc, paneWell: Mc, paneFooter: Pc, paneDeck: Vc, paneHeader: xc }, Lt = /* @__PURE__ */ k({
|
|
3129
3129
|
__name: "FluxPane",
|
|
3130
3130
|
props: {
|
|
3131
3131
|
isLoading: { type: Boolean },
|
|
@@ -3182,8 +3182,8 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
3182
3182
|
}
|
|
3183
3183
|
function B() {
|
|
3184
3184
|
const C = n(i), x = re(s), { top: G, left: T, width: V, height: M } = C.children[0].getBoundingClientRect(), { width: j, height: Q } = x.getBoundingClientRect();
|
|
3185
|
-
let _,
|
|
3186
|
-
t.direction === "horizontal" ? (_ = T + V,
|
|
3185
|
+
let _, pe, Me = 0, Pt = 0;
|
|
3186
|
+
t.direction === "horizontal" ? (_ = T + V, pe = G + M / 2 - Q / 2, Me = t.margin, _ + j > innerWidth - 30 && (_ = T - j, Me = -Me)) : (_ = T + V / 2 - j / 2, pe = G + M, Pt = t.margin, pe + Q > innerHeight - 30 && (pe = G - Q, Pt = -Pt)), f.value = Math.max(30, Math.min(innerWidth - j - 30, _)), g.value = Math.max(30, Math.min(innerHeight - Q - 30, pe)), $.value = Me, h.value = Pt;
|
|
3187
3187
|
}
|
|
3188
3188
|
function v() {
|
|
3189
3189
|
r.value ? F() : I();
|
|
@@ -3901,7 +3901,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
3901
3901
|
_: 1
|
|
3902
3902
|
}, 8, ["class", "style", "component-type", "aria-label", "tabindex", "href", "rel", "target", "to"]));
|
|
3903
3903
|
}
|
|
3904
|
-
}), Qm = "badge", Xm = "spinner", Jm = "badge-close", ep = "icon", tp = "badge-dot", np = "badge-icon", ap = "badge-label", ip = "badge-gray badge", sp = "badge-primary badge", op = "badge-danger badge", lp = "badge-info badge", rp = "badge-success badge", up = "badge-warning badge", cp = "tag badge", dp = "tag-close badge-close", mp = "tag-dot badge-dot", pp = "tag-icon badge-icon", fp = "tag-label badge-label", hp = "tag-gray badge-gray badge tag badge", gp = "tag-primary badge-primary badge tag badge", bp = "tag-danger badge-danger badge tag badge", vp = "tag-info badge-info badge tag badge", yp = "tag-success badge-success badge tag badge", kp = "tag-warning badge-warning badge tag badge",
|
|
3904
|
+
}), Qm = "badge", Xm = "spinner", Jm = "badge-close", ep = "icon", tp = "badge-dot", np = "badge-icon", ap = "badge-label", ip = "badge-gray badge", sp = "badge-primary badge", op = "badge-danger badge", lp = "badge-info badge", rp = "badge-success badge", up = "badge-warning badge", cp = "tag badge", dp = "tag-close badge-close", mp = "tag-dot badge-dot", pp = "tag-icon badge-icon", fp = "tag-label badge-label", hp = "tag-gray badge-gray badge tag badge", gp = "tag-primary badge-primary badge tag badge", bp = "tag-danger badge-danger badge tag badge", vp = "tag-info badge-info badge tag badge", yp = "tag-success badge-success badge tag badge", kp = "tag-warning badge-warning badge tag badge", he = { badge: Qm, spinner: Xm, badgeClose: Jm, icon: ep, badgeDot: tp, badgeIcon: np, badgeLabel: ap, badgeGray: ip, badgePrimary: sp, badgeDanger: op, badgeInfo: lp, badgeSuccess: rp, badgeWarning: up, tag: cp, tagClose: dp, tagDot: mp, tagIcon: pp, tagLabel: fp, tagGray: hp, tagPrimary: gp, tagDanger: bp, tagInfo: vp, tagSuccess: yp, tagWarning: kp }, uF = /* @__PURE__ */ k({
|
|
3905
3905
|
__name: "FluxBadge",
|
|
3906
3906
|
props: {
|
|
3907
3907
|
color: { default: "gray" },
|
|
@@ -3925,12 +3925,12 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
3925
3925
|
}
|
|
3926
3926
|
return (s, o) => (c(), b(Zt, {
|
|
3927
3927
|
class: d(n(Z)(
|
|
3928
|
-
s.color === "gray" && n(
|
|
3929
|
-
s.color === "primary" && n(
|
|
3930
|
-
s.color === "danger" && n(
|
|
3931
|
-
s.color === "info" && n(
|
|
3932
|
-
s.color === "success" && n(
|
|
3933
|
-
s.color === "warning" && n(
|
|
3928
|
+
s.color === "gray" && n(he).badgeGray,
|
|
3929
|
+
s.color === "primary" && n(he).badgePrimary,
|
|
3930
|
+
s.color === "danger" && n(he).badgeDanger,
|
|
3931
|
+
s.color === "info" && n(he).badgeInfo,
|
|
3932
|
+
s.color === "success" && n(he).badgeSuccess,
|
|
3933
|
+
s.color === "warning" && n(he).badgeWarning
|
|
3934
3934
|
)),
|
|
3935
3935
|
"component-type": s.type,
|
|
3936
3936
|
tabindex: s.tabindex,
|
|
@@ -3945,23 +3945,23 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
3945
3945
|
default: A(() => [
|
|
3946
3946
|
s.isLoading ? (c(), b(Ee, {
|
|
3947
3947
|
key: 0,
|
|
3948
|
-
class: d(n(
|
|
3948
|
+
class: d(n(he).badgeIcon),
|
|
3949
3949
|
size: 16
|
|
3950
3950
|
}, null, 8, ["class"])) : s.dot ? (c(), p("span", {
|
|
3951
3951
|
key: 1,
|
|
3952
|
-
class: d(n(
|
|
3952
|
+
class: d(n(he).badgeDot)
|
|
3953
3953
|
}, null, 2)) : s.icon ? (c(), b(U, {
|
|
3954
3954
|
key: 2,
|
|
3955
|
-
class: d(n(
|
|
3955
|
+
class: d(n(he).badgeIcon),
|
|
3956
3956
|
size: 16,
|
|
3957
3957
|
name: s.icon
|
|
3958
3958
|
}, null, 8, ["class", "name"])) : S("", !0),
|
|
3959
3959
|
D("span", {
|
|
3960
|
-
class: d(n(
|
|
3960
|
+
class: d(n(he).badgeLabel)
|
|
3961
3961
|
}, O(s.label), 3),
|
|
3962
3962
|
s.type === "none" && s.isDeletable ? (c(), p("button", {
|
|
3963
3963
|
key: 3,
|
|
3964
|
-
class: d(n(
|
|
3964
|
+
class: d(n(he).badgeClose),
|
|
3965
3965
|
type: "button",
|
|
3966
3966
|
onClick: o[0] || (o[0] = (l) => i())
|
|
3967
3967
|
}, [
|
|
@@ -4152,7 +4152,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4152
4152
|
w(u.$slots, "default")
|
|
4153
4153
|
], 4));
|
|
4154
4154
|
}
|
|
4155
|
-
}), {
|
|
4155
|
+
}), { buttonIcon: os, button: Fp, buttonLabel: Cp } = zn, Bp = "menu", wp = "menu-group", Sp = "menu-item-active", Ep = "menu-item-destructive", Ip = "menu-item-highlighted", Tp = "menu-item-indented", Lp = "menu-item-selected", Dp = "menu-item-command", Mp = "menu-item-command-icon", Pp = "icon", Vp = "menu-item-image", xp = "menu-title", Op = "menu-sub-header", Rp = "menu-sub-header-icon", zp = "menu-sub-header-label", Np = "base-pane", Hp = "divider", Gp = "separator", Up = "expandable-body", Wp = "menu-normal menu", jp = "menu-large menu", _p = "menu-group-horizontal menu-group", qp = "menu-group-vertical menu-group", Kp = `menu-item-icon ${os}`, Yp = `menu-item ${Fp}`, Zp = `menu-item-label ${Cp}`, Qp = `menu-item-selectable-icon ${os}`, fe = { menu: Bp, menuGroup: wp, menuItemActive: Sp, menuItemDestructive: Ep, menuItemHighlighted: Ip, menuItemIndented: Tp, menuItemSelected: Lp, menuItemCommand: Dp, menuItemCommandIcon: Mp, icon: Pp, menuItemImage: Vp, menuTitle: xp, menuSubHeader: Op, menuSubHeaderIcon: Rp, menuSubHeaderLabel: zp, basePane: Np, divider: Hp, separator: Gp, expandableBody: Up, menuNormal: Wp, menuLarge: jp, menuGroupHorizontal: _p, menuGroupVertical: qp, menuItemIcon: Kp, menuItem: Yp, menuItemLabel: Zp, menuItemSelectableIcon: Qp }, Xp = ["src"], _e = /* @__PURE__ */ k({
|
|
4156
4156
|
__name: "FluxMenuItem",
|
|
4157
4157
|
props: {
|
|
4158
4158
|
type: { default: "button" },
|
|
@@ -4180,17 +4180,17 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4180
4180
|
emits: ["click", "mouseenter", "mouseleave"],
|
|
4181
4181
|
setup(t) {
|
|
4182
4182
|
return (e, a) => (c(), b(ft, ke({ type: e.type, disabled: e.disabled, iconLeading: e.iconLeading, iconTrailing: e.iconTrailing, isLoading: e.isLoading, label: e.label, href: e.href, rel: e.rel, target: e.target, to: e.to }, {
|
|
4183
|
-
"css-class": n(
|
|
4184
|
-
"css-class-icon": n(
|
|
4185
|
-
"css-class-label": n(
|
|
4183
|
+
"css-class": n(fe).menuItem,
|
|
4184
|
+
"css-class-icon": n(fe).menuItemIcon,
|
|
4185
|
+
"css-class-label": n(fe).menuItemLabel,
|
|
4186
4186
|
"is-filled": "",
|
|
4187
4187
|
role: e.isSelectable ? "menuitemradio" : "menuitem",
|
|
4188
4188
|
class: {
|
|
4189
|
-
[n(
|
|
4190
|
-
[n(
|
|
4191
|
-
[n(
|
|
4192
|
-
[n(
|
|
4193
|
-
[n(
|
|
4189
|
+
[n(fe).menuItemActive]: e.isActive,
|
|
4190
|
+
[n(fe).menuItemDestructive]: e.isDestructive,
|
|
4191
|
+
[n(fe).menuItemHighlighted]: e.isHighlighted,
|
|
4192
|
+
[n(fe).menuItemIndented]: e.isIndented,
|
|
4193
|
+
[n(fe).menuItemSelected]: e.isSelectable && e.isSelected
|
|
4194
4194
|
},
|
|
4195
4195
|
"aria-checked": e.isSelectable ? e.isSelected : void 0,
|
|
4196
4196
|
onClick: a[0] || (a[0] = (i) => e.$emit("click", i))
|
|
@@ -4199,7 +4199,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4199
4199
|
name: "iconLeading",
|
|
4200
4200
|
fn: A(() => [
|
|
4201
4201
|
y(U, {
|
|
4202
|
-
class: d(n(
|
|
4202
|
+
class: d(n(fe).menuItemSelectableIcon),
|
|
4203
4203
|
name: e.isSelected ? "circle-check" : void 0
|
|
4204
4204
|
}, null, 8, ["class", "name"])
|
|
4205
4205
|
]),
|
|
@@ -4208,7 +4208,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4208
4208
|
name: "iconLeading",
|
|
4209
4209
|
fn: A(() => [
|
|
4210
4210
|
D("img", {
|
|
4211
|
-
class: d(n(
|
|
4211
|
+
class: d(n(fe).menuItemImage),
|
|
4212
4212
|
src: e.imageSrc,
|
|
4213
4213
|
alt: ""
|
|
4214
4214
|
}, null, 10, Xp)
|
|
@@ -4220,16 +4220,16 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4220
4220
|
fn: A(() => [
|
|
4221
4221
|
e.commandLoading ? (c(), b(Ee, {
|
|
4222
4222
|
key: 0,
|
|
4223
|
-
class: d(n(
|
|
4223
|
+
class: d(n(fe).menuItemCommandIcon),
|
|
4224
4224
|
size: 16
|
|
4225
4225
|
}, null, 8, ["class"])) : (c(), p(N, { key: 1 }, [
|
|
4226
4226
|
e.command ? (c(), p("kbd", {
|
|
4227
4227
|
key: 0,
|
|
4228
|
-
class: d(n(
|
|
4228
|
+
class: d(n(fe).menuItemCommand)
|
|
4229
4229
|
}, O(e.command), 3)) : S("", !0),
|
|
4230
4230
|
e.commandIcon ? (c(), b(U, {
|
|
4231
4231
|
key: 1,
|
|
4232
|
-
class: d(n(
|
|
4232
|
+
class: d(n(fe).menuItemCommandIcon),
|
|
4233
4233
|
name: e.commandIcon
|
|
4234
4234
|
}, null, 8, ["class", "name"])) : S("", !0)
|
|
4235
4235
|
], 64))
|
|
@@ -4263,7 +4263,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4263
4263
|
}),
|
|
4264
4264
|
emits: /* @__PURE__ */ ee(["blur", "focus", "showPicker"], ["update:modelValue"]),
|
|
4265
4265
|
setup(t, { expose: e, emit: a }) {
|
|
4266
|
-
const i = a, s = ae(t, "modelValue"), o = be(
|
|
4266
|
+
const i = a, s = ae(t, "modelValue"), o = be(me(() => t.disabled)), l = te("input"), { id: r } = Yt(), u = P(null), m = P(t.type);
|
|
4267
4267
|
function f() {
|
|
4268
4268
|
var v;
|
|
4269
4269
|
(v = re(l)) == null || v.blur();
|
|
@@ -4333,7 +4333,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4333
4333
|
if (!v || !E)
|
|
4334
4334
|
return;
|
|
4335
4335
|
const T = _s[E](v);
|
|
4336
|
-
C && (T.value = C,
|
|
4336
|
+
C && (T.value = C, s.value = T.value), G(() => T.destroy());
|
|
4337
4337
|
}, { immediate: !0 }), z(() => t.type, (v) => m.value = v), e({
|
|
4338
4338
|
blur: f,
|
|
4339
4339
|
focus: g
|
|
@@ -4396,7 +4396,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4396
4396
|
},
|
|
4397
4397
|
setup(t) {
|
|
4398
4398
|
return (e, a) => (c(), p("div", {
|
|
4399
|
-
class: d(e.isHorizontal ? n(
|
|
4399
|
+
class: d(e.isHorizontal ? n(fe).menuGroupHorizontal : n(fe).menuGroupVertical),
|
|
4400
4400
|
role: "group"
|
|
4401
4401
|
}, [
|
|
4402
4402
|
w(e.$slots, "default")
|
|
@@ -4411,20 +4411,20 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4411
4411
|
},
|
|
4412
4412
|
setup(t) {
|
|
4413
4413
|
return (e, a) => (c(), p("div", {
|
|
4414
|
-
class: d(n(
|
|
4414
|
+
class: d(n(fe).menuSubHeader),
|
|
4415
4415
|
role: "presentation"
|
|
4416
4416
|
}, [
|
|
4417
4417
|
e.iconLeading ? (c(), b(U, {
|
|
4418
4418
|
key: 0,
|
|
4419
|
-
class: d(n(
|
|
4419
|
+
class: d(n(fe).menuSubHeaderIcon),
|
|
4420
4420
|
name: e.iconLeading
|
|
4421
4421
|
}, null, 8, ["class", "name"])) : S("", !0),
|
|
4422
4422
|
D("span", {
|
|
4423
|
-
class: d(n(
|
|
4423
|
+
class: d(n(fe).menuSubHeaderLabel)
|
|
4424
4424
|
}, O(e.label), 3),
|
|
4425
4425
|
e.iconTrailing ? (c(), b(U, {
|
|
4426
4426
|
key: 1,
|
|
4427
|
-
class: d(n(
|
|
4427
|
+
class: d(n(fe).menuSubHeaderIcon),
|
|
4428
4428
|
name: e.iconTrailing
|
|
4429
4429
|
}, null, 8, ["class", "name"])) : S("", !0)
|
|
4430
4430
|
], 2));
|
|
@@ -4496,7 +4496,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4496
4496
|
direction: "vertical"
|
|
4497
4497
|
}), (a, i) => (c(), p("nav", {
|
|
4498
4498
|
ref: "element",
|
|
4499
|
-
class: d(a.isLarge ? n(
|
|
4499
|
+
class: d(a.isLarge ? n(fe).menuLarge : n(fe).menuNormal),
|
|
4500
4500
|
role: "menu",
|
|
4501
4501
|
"aria-orientation": "vertical"
|
|
4502
4502
|
}, [
|
|
@@ -4528,12 +4528,12 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4528
4528
|
}
|
|
4529
4529
|
return (s, o) => (c(), b(Zt, {
|
|
4530
4530
|
class: d(n(Z)(
|
|
4531
|
-
s.color === "gray" && n(
|
|
4532
|
-
s.color === "primary" && n(
|
|
4533
|
-
s.color === "danger" && n(
|
|
4534
|
-
s.color === "info" && n(
|
|
4535
|
-
s.color === "success" && n(
|
|
4536
|
-
s.color === "warning" && n(
|
|
4531
|
+
s.color === "gray" && n(he).tagGray,
|
|
4532
|
+
s.color === "primary" && n(he).tagPrimary,
|
|
4533
|
+
s.color === "danger" && n(he).tagDanger,
|
|
4534
|
+
s.color === "info" && n(he).tagInfo,
|
|
4535
|
+
s.color === "success" && n(he).tagSuccess,
|
|
4536
|
+
s.color === "warning" && n(he).tagWarning
|
|
4537
4537
|
)),
|
|
4538
4538
|
"component-type": s.type,
|
|
4539
4539
|
tabindex: s.tabindex,
|
|
@@ -4548,23 +4548,23 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4548
4548
|
default: A(() => [
|
|
4549
4549
|
s.isLoading ? (c(), b(Ee, {
|
|
4550
4550
|
key: 0,
|
|
4551
|
-
class: d(n(
|
|
4551
|
+
class: d(n(he).tagIcon),
|
|
4552
4552
|
size: 16
|
|
4553
4553
|
}, null, 8, ["class"])) : s.dot ? (c(), p("span", {
|
|
4554
4554
|
key: 1,
|
|
4555
|
-
class: d(n(
|
|
4555
|
+
class: d(n(he).tagDot)
|
|
4556
4556
|
}, null, 2)) : s.icon ? (c(), b(U, {
|
|
4557
4557
|
key: 2,
|
|
4558
|
-
class: d(n(
|
|
4558
|
+
class: d(n(he).tagIcon),
|
|
4559
4559
|
name: s.icon,
|
|
4560
4560
|
size: 16
|
|
4561
4561
|
}, null, 8, ["class", "name"])) : S("", !0),
|
|
4562
4562
|
D("span", {
|
|
4563
|
-
class: d(n(
|
|
4563
|
+
class: d(n(he).tagLabel)
|
|
4564
4564
|
}, O(s.label), 3),
|
|
4565
4565
|
!s.isClickable && s.isDeletable ? (c(), p("button", {
|
|
4566
4566
|
key: 3,
|
|
4567
|
-
class: d(n(
|
|
4567
|
+
class: d(n(he).tagClose),
|
|
4568
4568
|
type: "button",
|
|
4569
4569
|
onClick: o[0] || (o[0] = (l) => i())
|
|
4570
4570
|
}, [
|
|
@@ -4593,7 +4593,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4593
4593
|
}),
|
|
4594
4594
|
emits: /* @__PURE__ */ ee(["keyDown", "deselect", "select", "search", "close", "open"], ["update:searchQuery"]),
|
|
4595
4595
|
setup(t, { emit: e }) {
|
|
4596
|
-
const a = e, i = ae(t, "searchQuery"), s = be(
|
|
4596
|
+
const a = e, i = ae(t, "searchQuery"), s = be(me(() => t.disabled)), { id: o } = Yt(), l = ve(), r = te("anchor"), u = te("anchorPopup"), m = te("optionElements"), f = te("searchInputElement"), g = P(nn), $ = P(!1), h = P(!1), F = L(() => re(f) ?? re(r)), I = L(() => {
|
|
4597
4597
|
var T;
|
|
4598
4598
|
return (T = n(B)[n(g)]) == null ? void 0 : T.value;
|
|
4599
4599
|
}), B = L(() => t.options.map((T) => T[1]).flat());
|
|
@@ -4771,11 +4771,11 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4771
4771
|
"icon-leading": M.icon,
|
|
4772
4772
|
label: M.label
|
|
4773
4773
|
}, null, 8, ["icon-leading", "label"])) : S("", !0),
|
|
4774
|
-
(c(!0), p(N, null, q(j, (_,
|
|
4774
|
+
(c(!0), p(N, null, q(j, (_, pe) => (c(), p(N, null, [
|
|
4775
4775
|
n(ct)(_) ? (c(), b(_e, {
|
|
4776
4776
|
ref_for: !0,
|
|
4777
4777
|
ref: "optionElements",
|
|
4778
|
-
key:
|
|
4778
|
+
key: pe,
|
|
4779
4779
|
command: _.command,
|
|
4780
4780
|
"command-icon": _.commandIcon,
|
|
4781
4781
|
"icon-leading": _.icon,
|
|
@@ -4856,7 +4856,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4856
4856
|
},
|
|
4857
4857
|
emits: ["dragging", "update"],
|
|
4858
4858
|
setup(t, { emit: e }) {
|
|
4859
|
-
const a = e, i = be(
|
|
4859
|
+
const a = e, i = be(me(() => t.disabled)), s = te("root");
|
|
4860
4860
|
Ie(() => {
|
|
4861
4861
|
document.addEventListener("pointermove", l), document.addEventListener("pointerup", r, { passive: !0 });
|
|
4862
4862
|
}), Re(() => {
|
|
@@ -4903,7 +4903,7 @@ const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu =
|
|
|
4903
4903
|
},
|
|
4904
4904
|
emits: ["decrement", "grab", "increment"],
|
|
4905
4905
|
setup(t, { emit: e }) {
|
|
4906
|
-
const a = e, i = be(
|
|
4906
|
+
const a = e, i = be(me(() => t.disabled));
|
|
4907
4907
|
function s(o) {
|
|
4908
4908
|
if (!n(i)) {
|
|
4909
4909
|
switch (o.key) {
|
|
@@ -5244,12 +5244,12 @@ const bg = {
|
|
|
5244
5244
|
function x(M) {
|
|
5245
5245
|
const j = M.toSQLDate();
|
|
5246
5246
|
return n(C).map((Q, _) => {
|
|
5247
|
-
const { date:
|
|
5248
|
-
return Array.isArray(
|
|
5249
|
-
type: j ===
|
|
5247
|
+
const { date: pe } = Ct(Q);
|
|
5248
|
+
return Array.isArray(pe) ? M < pe[0] || M > pe[1] ? null : {
|
|
5249
|
+
type: j === pe[0].toSQLDate() ? "start" : j === pe[1].toSQLDate() ? "end" : "middle",
|
|
5250
5250
|
index: _,
|
|
5251
5251
|
vnode: Q
|
|
5252
|
-
} : j !==
|
|
5252
|
+
} : j !== pe.toSQLDate() ? null : {
|
|
5253
5253
|
type: "single",
|
|
5254
5254
|
index: _,
|
|
5255
5255
|
vnode: Q
|
|
@@ -5294,7 +5294,7 @@ const bg = {
|
|
|
5294
5294
|
key: _,
|
|
5295
5295
|
label: _.label,
|
|
5296
5296
|
tabindex: "-1",
|
|
5297
|
-
onClick: (
|
|
5297
|
+
onClick: (pe) => T(_.date, Q)
|
|
5298
5298
|
}, null, 8, ["label", "onClick"]))), 128))
|
|
5299
5299
|
], 2)
|
|
5300
5300
|
]),
|
|
@@ -5321,7 +5321,7 @@ const bg = {
|
|
|
5321
5321
|
key: _,
|
|
5322
5322
|
label: _.toString(),
|
|
5323
5323
|
tabindex: "-1",
|
|
5324
|
-
onClick: (
|
|
5324
|
+
onClick: (pe) => V(_, Q)
|
|
5325
5325
|
}, null, 8, ["label", "onClick"]))), 128)),
|
|
5326
5326
|
y(ue, {
|
|
5327
5327
|
"icon-leading": "angle-right",
|
|
@@ -5638,7 +5638,7 @@ const bg = {
|
|
|
5638
5638
|
},
|
|
5639
5639
|
emits: ["decrement", "grab", "increment"],
|
|
5640
5640
|
setup(t, { emit: e }) {
|
|
5641
|
-
const a = e, i = be(
|
|
5641
|
+
const a = e, i = be(me(() => t.disabled));
|
|
5642
5642
|
function s(o) {
|
|
5643
5643
|
if (!n(i)) {
|
|
5644
5644
|
switch (o.key) {
|
|
@@ -5692,7 +5692,7 @@ const bg = {
|
|
|
5692
5692
|
}),
|
|
5693
5693
|
emits: /* @__PURE__ */ ee(["dragging"], ["update:modelValue"]),
|
|
5694
5694
|
setup(t, { emit: e }) {
|
|
5695
|
-
const a = e, i = ae(t, "modelValue"), s = be(
|
|
5695
|
+
const a = e, i = ae(t, "modelValue"), s = be(me(() => t.disabled)), o = te("root"), l = P(!1), r = L(() => Array.isArray(t.max) ? t.max : [t.max, t.max]), u = L(() => Array.isArray(t.min) ? t.min : [t.min, t.min]), m = L(() => Array.isArray(t.step) ? t.step : [t.step, t.step]), f = L(() => [
|
|
5696
5696
|
(n(i)[0] - n(u)[0]) / (n(r)[0] - n(u)[0]),
|
|
5697
5697
|
(n(i)[1] - n(u)[1]) / (n(r)[1] - n(u)[1])
|
|
5698
5698
|
]);
|
|
@@ -5725,9 +5725,9 @@ const bg = {
|
|
|
5725
5725
|
const [E, C] = n(r), [x, G] = n(u), [T, V] = n(m);
|
|
5726
5726
|
let { top: M, left: j, width: Q, height: _ } = v.getBoundingClientRect();
|
|
5727
5727
|
M += 6, j += 6, Q -= 12, _ -= 12;
|
|
5728
|
-
const
|
|
5728
|
+
const pe = Math.max(0, Math.min(1, (B.clientX - j) / Q)), Me = Math.max(0, Math.min(1, (B.clientY - M) / _));
|
|
5729
5729
|
i.value = [
|
|
5730
|
-
+ut(
|
|
5730
|
+
+ut(pe * (E - x) + x, T).toPrecision(4),
|
|
5731
5731
|
+ut(Me * (C - G) + G, V).toPrecision(4)
|
|
5732
5732
|
], B.preventDefault();
|
|
5733
5733
|
}
|
|
@@ -5847,7 +5847,7 @@ const bg = {
|
|
|
5847
5847
|
}),
|
|
5848
5848
|
emits: ["update:modelValue"],
|
|
5849
5849
|
setup(t) {
|
|
5850
|
-
const e = ae(t, "modelValue"), a = be(
|
|
5850
|
+
const e = ae(t, "modelValue"), a = be(me(() => t.disabled)), i = te("thumb"), s = P(!1), o = P(0), l = P(0), r = P(null), u = L(() => t.formatter(e.value, ca(t.step)));
|
|
5851
5851
|
function m(h) {
|
|
5852
5852
|
var F;
|
|
5853
5853
|
s.value = h, h && !r.value && !t.isTooltipDisabled ? r.value = Mn({
|
|
@@ -6311,7 +6311,7 @@ const bg = {
|
|
|
6311
6311
|
}),
|
|
6312
6312
|
emits: ["update:searchQuery", "update:modelValue"],
|
|
6313
6313
|
setup(t) {
|
|
6314
|
-
const e = ae(t, "searchQuery"), a = ae(t, "modelValue"), i = be(
|
|
6314
|
+
const e = ae(t, "searchQuery"), a = ae(t, "modelValue"), i = be(me(() => t.disabled)), { groups: s, selected: o, values: l } = as(a, t.isMultiple, me(() => t.options), e);
|
|
6315
6315
|
function r(m) {
|
|
6316
6316
|
n(t.isMultiple) && (a.value = n(l).filter((f) => f !== m));
|
|
6317
6317
|
}
|
|
@@ -6331,7 +6331,7 @@ const bg = {
|
|
|
6331
6331
|
onSelect: u
|
|
6332
6332
|
}, null, 8, ["searchQuery", "disabled", "is-multiple", "is-searchable", "options", "placeholder", "selected"]));
|
|
6333
6333
|
}
|
|
6334
|
-
}), { buttonIcon: gn, button: bn, buttonLabel: vn } = zn, fv = "spinner", hv = "icon", gv = "publish-button-animation", bv = "is-done", vv = "publish-button-animation-arrow", yv = "publish-arrow-out", kv = "publish-button-animation-check", Av = "publish-button-animation-circle", $v = "is-idle", Fv = "is-loading", Cv = "publish-arrow-in", Bv = "publish-button-cloud", wv = "publish", Sv = "button-group", Ev = "button", Iv = `
|
|
6334
|
+
}), { buttonIcon: gn, button: bn, buttonLabel: vn } = zn, fv = "spinner", hv = "icon", gv = "publish-button-animation", bv = "is-done", vv = "publish-button-animation-arrow", yv = "publish-arrow-out", kv = "publish-button-animation-check", Av = "publish-button-animation-circle", $v = "is-idle", Fv = "is-loading", Cv = "publish-arrow-in", Bv = "publish-button-cloud", wv = "publish", Sv = "button-group", Ev = "button", Iv = `primary-button-icon ${gn}`, Tv = `primary-button ${bn}`, Lv = `secondary-button ${bn}`, Dv = `destructive-button-label ${vn}`, Mv = `destructive-button ${bn}`, Pv = `primary-button-label ${vn}`, Vv = `destructive-button-icon ${gn}`, xv = `link-button ${bn}`, Ov = `publish-button-label primary-button-label ${vn}`, Rv = `secondary-button-icon ${gn}`, zv = `link-button-label ${vn}`, Nv = `publish-button-icon primary-button-icon ${gn}`, Hv = `secondary-button-label ${vn}`, Gv = `link-button-icon ${gn}`, Uv = `publish-button primary-button ${bn}`, Wv = { spinner: fv, icon: hv, publishButtonAnimation: gv, isDone: bv, publishButtonAnimationArrow: vv, publishArrowOut: yv, publishButtonAnimationCheck: kv, publishButtonAnimationCircle: Av, isIdle: $v, isLoading: Fv, publishArrowIn: Cv, publishButtonCloud: Bv, publish: wv, buttonGroup: Sv, button: Ev, primaryButtonIcon: Iv, primaryButton: Tv, secondaryButton: Lv, destructiveButtonLabel: Dv, destructiveButton: Mv, primaryButtonLabel: Pv, destructiveButtonIcon: Vv, linkButton: xv, publishButtonLabel: Ov, secondaryButtonIcon: Rv, linkButtonLabel: zv, publishButtonIcon: Nv, secondaryButtonLabel: Hv, linkButtonIcon: Gv, publishButton: Uv }, { secondaryButton: jv, secondaryButtonIcon: _v, secondaryButtonLabel: qv } = Wv, Kv = "pagination", Yv = "pagination-button-arrow", Zv = "pagination-button-current", Qv = "pagination-button-spacer", Xv = "pagination-bar", Jv = "pagination-bar-limit", e0 = "pagination-bar-limit-displaying-of", t0 = "pagination-bar-limit-select", n0 = "menu-item", a0 = "menu-item-label", i0 = `pagination-button ${jv}`, s0 = `pagination-button-icon ${_v}`, o0 = `pagination-button-label ${qv}`, Oe = { pagination: Kv, paginationButtonArrow: Yv, paginationButtonCurrent: Zv, paginationButtonSpacer: Qv, paginationBar: Xv, paginationBarLimit: Jv, paginationBarLimitDisplayingOf: e0, paginationBarLimitSelect: t0, menuItem: n0, menuItemLabel: a0, paginationButton: i0, paginationButtonIcon: s0, paginationButtonLabel: o0 }, Ot = /* @__PURE__ */ k({
|
|
6335
6335
|
__name: "FluxPaginationButton",
|
|
6336
6336
|
props: {
|
|
6337
6337
|
type: {},
|
|
@@ -6518,7 +6518,7 @@ const bg = {
|
|
|
6518
6518
|
], 2)
|
|
6519
6519
|
], 2));
|
|
6520
6520
|
}
|
|
6521
|
-
}), {
|
|
6521
|
+
}), { basePaneLoader: c0, basePaneElement: d0 } = pt, m0 = "table-base", p0 = "table-fill", f0 = "table-pagination", h0 = "table-row", g0 = "table-cell", b0 = "table-cell-content", v0 = "is-shrinking", y0 = "is-sticky", k0 = "is-striped", A0 = "is-hoverable", $0 = "is-bordered", F0 = "is-separated", C0 = "table-actions", B0 = "action", w0 = "table-sort", S0 = "base-pane-structure", E0 = "table-header table-cell", I0 = "table-header-content table-cell-content", T0 = `table-loader ${c0}`, L0 = `table ${d0}`, $e = { tableBase: m0, tableFill: p0, tablePagination: f0, tableRow: h0, tableCell: g0, tableCellContent: b0, isShrinking: v0, isSticky: y0, isStriped: k0, isHoverable: A0, isBordered: $0, isSeparated: F0, tableActions: C0, action: B0, tableSort: w0, basePaneStructure: S0, tableHeader: E0, tableHeaderContent: I0, tableLoader: T0, table: L0 }, D0 = /* @__PURE__ */ k({
|
|
6522
6522
|
__name: "FluxTableCell",
|
|
6523
6523
|
props: {
|
|
6524
6524
|
contentDirection: { default: "row" }
|
|
@@ -6775,7 +6775,7 @@ const bg = {
|
|
|
6775
6775
|
function _(H, ne) {
|
|
6776
6776
|
return ne === "month" ? n(G).endOf("month") >= H && n(T).startOf("month") <= H : n(G) >= H && n(T) <= H;
|
|
6777
6777
|
}
|
|
6778
|
-
function
|
|
6778
|
+
function pe(H, ne) {
|
|
6779
6779
|
if (!t.rangeMode)
|
|
6780
6780
|
return !1;
|
|
6781
6781
|
const X = n(e);
|
|
@@ -6901,9 +6901,9 @@ const bg = {
|
|
|
6901
6901
|
class: d(n(Z)(
|
|
6902
6902
|
n(ge).datePickerDate,
|
|
6903
6903
|
j(X) && n(ge).isDisabled,
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6904
|
+
pe(X, "end") && n(ge).isRangeEnd,
|
|
6905
|
+
pe(X) && n(ge).isRangeEntry,
|
|
6906
|
+
pe(X, "start") && n(ge).isRangeStart,
|
|
6907
6907
|
Me(X, "end") && n(ge).isSelectionEnd,
|
|
6908
6908
|
Me(X) && n(ge).isSelectionEntry,
|
|
6909
6909
|
Me(X, "start") && n(ge).isSelectionStart,
|
|
@@ -6963,7 +6963,7 @@ const bg = {
|
|
|
6963
6963
|
disabled: { type: Boolean, default: !0 }
|
|
6964
6964
|
},
|
|
6965
6965
|
setup(t) {
|
|
6966
|
-
return Kt(ti,
|
|
6966
|
+
return Kt(ti, me(() => t.disabled)), (e, a) => w(e.$slots, "default");
|
|
6967
6967
|
}
|
|
6968
6968
|
}), $F = /* @__PURE__ */ k({
|
|
6969
6969
|
__name: "FluxDivider",
|
|
@@ -7051,7 +7051,7 @@ const bg = {
|
|
|
7051
7051
|
},
|
|
7052
7052
|
emits: ["select", "selectMultiple"],
|
|
7053
7053
|
setup(t, { emit: e }) {
|
|
7054
|
-
const a = e, i = De(), s = te("content"), o = be(
|
|
7054
|
+
const a = e, i = De(), s = te("content"), o = be(me(() => t.disabled)), l = P(!1), r = P(!1), u = P(0);
|
|
7055
7055
|
Ie(() => {
|
|
7056
7056
|
window.addEventListener("dragleave", $, { capture: !0 }), window.addEventListener("dragover", h, { capture: !0 }), window.addEventListener("drop", F, { capture: !0 });
|
|
7057
7057
|
}), Re(() => {
|
|
@@ -7979,7 +7979,7 @@ const bg = {
|
|
|
7979
7979
|
}),
|
|
7980
7980
|
emits: /* @__PURE__ */ ee(["blur", "focus"], ["update:modelValue"]),
|
|
7981
7981
|
setup(t, { emit: e }) {
|
|
7982
|
-
const a = e, i = ae(t, "modelValue"), s = be(
|
|
7982
|
+
const a = e, i = ae(t, "modelValue"), s = be(me(() => t.disabled)), o = te("flyout"), l = P(null);
|
|
7983
7983
|
function r() {
|
|
7984
7984
|
a("blur");
|
|
7985
7985
|
}
|
|
@@ -8050,7 +8050,7 @@ const bg = {
|
|
|
8050
8050
|
}),
|
|
8051
8051
|
emits: ["update:modelValue"],
|
|
8052
8052
|
setup(t) {
|
|
8053
|
-
const e = ae(t, "modelValue"), a = be(
|
|
8053
|
+
const e = ae(t, "modelValue"), a = be(me(() => t.disabled)), i = te("flyout"), s = P(null), o = L(() => {
|
|
8054
8054
|
const l = n(s);
|
|
8055
8055
|
if (!l)
|
|
8056
8056
|
return "";
|
|
@@ -8118,7 +8118,7 @@ const bg = {
|
|
|
8118
8118
|
}),
|
|
8119
8119
|
emits: ["update:modelValue"],
|
|
8120
8120
|
setup(t) {
|
|
8121
|
-
const e = ae(t, "modelValue"), a = be(
|
|
8121
|
+
const e = ae(t, "modelValue"), a = be(me(() => t.disabled)), i = te("flyout"), s = P(null);
|
|
8122
8122
|
function o(r) {
|
|
8123
8123
|
if (!Fe.isDateTime(r))
|
|
8124
8124
|
return;
|
|
@@ -8231,7 +8231,7 @@ const bg = {
|
|
|
8231
8231
|
}),
|
|
8232
8232
|
emits: ["update:modelValue"],
|
|
8233
8233
|
setup(t) {
|
|
8234
|
-
const e = ae(t, "modelValue"), a = be(
|
|
8234
|
+
const e = ae(t, "modelValue"), a = be(me(() => t.disabled)), { id: i } = Yt(), s = te("fields");
|
|
8235
8235
|
function o(m) {
|
|
8236
8236
|
const f = m.target;
|
|
8237
8237
|
requestAnimationFrame(() => f.select());
|
|
@@ -8327,7 +8327,7 @@ const bg = {
|
|
|
8327
8327
|
}),
|
|
8328
8328
|
emits: ["update:modelValue"],
|
|
8329
8329
|
setup(t) {
|
|
8330
|
-
const e = ae(t, "modelValue"), a = be(
|
|
8330
|
+
const e = ae(t, "modelValue"), a = be(me(() => t.disabled)), i = te("lowerThumb"), s = te("upperThumb"), o = P(!1), l = P(!1), r = P(0), u = P(0), m = P(0), f = P(0), g = P(null), $ = L(() => t.formatter(e.value[o.value ? 0 : 1], ca(t.step)));
|
|
8331
8331
|
function h(v) {
|
|
8332
8332
|
v || (o.value = v, l.value = v);
|
|
8333
8333
|
}
|
|
@@ -8446,7 +8446,7 @@ const bg = {
|
|
|
8446
8446
|
}),
|
|
8447
8447
|
emits: ["update:searchQuery", "update:modelValue"],
|
|
8448
8448
|
setup(t) {
|
|
8449
|
-
const e = ae(t, "searchQuery"), a = ae(t, "modelValue"), i = be(
|
|
8449
|
+
const e = ae(t, "searchQuery"), a = ae(t, "modelValue"), i = be(me(() => t.disabled)), s = P([]), o = P([]), l = L(() => {
|
|
8450
8450
|
const C = [], x = n(e), G = n(s), T = n(o);
|
|
8451
8451
|
return T.forEach((V) => C.push(V)), G.forEach((V) => {
|
|
8452
8452
|
ct(V) && T.find((M) => ct(M) && M.value === V.value) || ct(V) && !V.label.toLowerCase().includes(x.toLowerCase()) || C.push(V);
|
|
@@ -8498,7 +8498,7 @@ const bg = {
|
|
|
8498
8498
|
}),
|
|
8499
8499
|
emits: /* @__PURE__ */ ee(["blur", "focus"], ["update:modelValue"]),
|
|
8500
8500
|
setup(t, { emit: e }) {
|
|
8501
|
-
const a = e, i = ae(t, "modelValue"), s = be(
|
|
8501
|
+
const a = e, i = ae(t, "modelValue"), s = be(me(() => t.disabled)), { id: o } = Yt();
|
|
8502
8502
|
return (l, r) => Ln((c(), p("textarea", {
|
|
8503
8503
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => i.value = u),
|
|
8504
8504
|
ref: "input",
|
|
@@ -9146,7 +9146,7 @@ const bg = {
|
|
|
9146
9146
|
"flux.timezoneOther",
|
|
9147
9147
|
"flux.timezoneIndian",
|
|
9148
9148
|
"flux.timezonePacific"
|
|
9149
|
-
], i = ae(t, "modelValue"), s = be(
|
|
9149
|
+
], i = ae(t, "modelValue"), s = be(me(() => t.disabled)), o = ve(), l = L(() => {
|
|
9150
9150
|
const r = {}, u = [];
|
|
9151
9151
|
for (const f of e) {
|
|
9152
9152
|
const g = Intl.DateTimeFormat(navigator.language, { timeZone: f }).resolvedOptions(), $ = new Intl.DateTimeFormat(navigator.language, { timeZone: f, timeZoneName: "longOffset" }).formatToParts().find((I) => I.type === "timeZoneName").value.substring(3), h = g.timeZone.replaceAll("_", " ").replaceAll("/", " / ");
|
|
@@ -9435,7 +9435,7 @@ const bg = {
|
|
|
9435
9435
|
_: 3
|
|
9436
9436
|
}));
|
|
9437
9437
|
}
|
|
9438
|
-
}), { baseAutoGrid: pk } = is, fk = "aspect-ratio", hk = "container", gk = "spacer", bk = "stack", vk = "is-centered", yk = "is-fill", kk = "is-wrapping", Ak = "stack-horizontal stack", $k = "stack-vertical stack", Fk = `auto-grid ${pk}`, Ck = { aspectRatio: fk, container: hk, spacer: gk, stack: bk, isCentered: vk, isFill: yk, isWrapping: kk, stackHorizontal: Ak, stackVertical: $k, autoGrid: Fk }, {
|
|
9438
|
+
}), { baseAutoGrid: pk } = is, fk = "aspect-ratio", hk = "container", gk = "spacer", bk = "stack", vk = "is-centered", yk = "is-fill", kk = "is-wrapping", Ak = "stack-horizontal stack", $k = "stack-vertical stack", Fk = `auto-grid ${pk}`, Ck = { aspectRatio: fk, container: hk, spacer: gk, stack: bk, isCentered: vk, isFill: yk, isWrapping: kk, stackHorizontal: Ak, stackVertical: $k, autoGrid: Fk }, { stackVertical: Bk, stackHorizontal: wk } = Ck, Sk = "legend-item", Ek = `legend-vertical ${Bk}`, Ik = `legend-horizontal ${wk}`, ta = { legendItem: Sk, legendVertical: Ek, legendHorizontal: Ik }, Tk = /* @__PURE__ */ k({
|
|
9439
9439
|
__name: "FluxLegend",
|
|
9440
9440
|
props: {
|
|
9441
9441
|
direction: { default: "horizontal" },
|
|
@@ -9524,11 +9524,11 @@ const bg = {
|
|
|
9524
9524
|
},
|
|
9525
9525
|
setup(t) {
|
|
9526
9526
|
return (e, a) => (c(), p("div", {
|
|
9527
|
-
class: d(n(
|
|
9527
|
+
class: d(n(fe).menuTitle),
|
|
9528
9528
|
role: "presentation"
|
|
9529
9529
|
}, O(e.title), 3));
|
|
9530
9530
|
}
|
|
9531
|
-
}), { basePaneElement: Dt } = pt, Lk = "button", Dk = "notice-body", Mk = "notice-close", Pk = "icon", Vk = "notice-prefix", xk = "notice-message", Ok = "notice-title", Rk = "is-center", zk = "is-fluid", Nk = "spinner-track", Hk = "spinner-effect", Gk = "spinner-value", Uk = "base-pane", Wk = `notice ${Dt}`, jk = `notice-
|
|
9531
|
+
}), { basePaneElement: Dt } = pt, Lk = "button", Dk = "notice-body", Mk = "notice-close", Pk = "icon", Vk = "notice-prefix", xk = "notice-message", Ok = "notice-title", Rk = "is-center", zk = "is-fluid", Nk = "spinner-track", Hk = "spinner-effect", Gk = "spinner-value", Uk = "base-pane", Wk = `notice-gray notice ${Dt}`, jk = `notice-danger notice ${Dt}`, _k = `notice-success notice ${Dt}`, qk = `notice-warning notice ${Dt}`, Kk = `notice ${Dt}`, Yk = `notice-info notice ${Dt}`, Zk = `notice-primary notice ${Dt}`, Te = { button: Lk, noticeBody: Dk, noticeClose: Mk, icon: Pk, noticePrefix: Vk, noticeMessage: xk, noticeTitle: Ok, isCenter: Rk, isFluid: zk, spinnerTrack: Nk, spinnerEffect: Hk, spinnerValue: Gk, basePane: Uk, noticeGray: Wk, noticeDanger: jk, noticeSuccess: _k, noticeWarning: qk, notice: Kk, noticeInfo: Yk, noticePrimary: Zk }, iC = /* @__PURE__ */ k({
|
|
9532
9532
|
__name: "FluxNotice",
|
|
9533
9533
|
props: {
|
|
9534
9534
|
color: { default: "gray" },
|
|
@@ -10023,7 +10023,7 @@ const bg = {
|
|
|
10023
10023
|
}),
|
|
10024
10024
|
emits: ["update:modelValue"],
|
|
10025
10025
|
setup(t) {
|
|
10026
|
-
const e = ae(t, "modelValue"), a = be(
|
|
10026
|
+
const e = ae(t, "modelValue"), a = be(me(() => t.disabled)), i = te("input"), s = P(0);
|
|
10027
10027
|
function o() {
|
|
10028
10028
|
n(a) || (e.value = Math.max(t.min, n(e) - t.step));
|
|
10029
10029
|
}
|
|
@@ -10217,7 +10217,7 @@ const bg = {
|
|
|
10217
10217
|
_: 1
|
|
10218
10218
|
}));
|
|
10219
10219
|
}
|
|
10220
|
-
}), { basePane: Mt } = pt, I1 = "action", T1 = "progress-bar", L1 = "progress-bar-track", D1 = "snackbar-content", M1 = "icon", P1 = "spinner", V1 = "snackbar-body", x1 = "snackbar-message", O1 = "snackbar-sub-message", R1 = "snackbar-title", z1 = "snackbar-action", N1 = "snackbar-actions", H1 = "spinner-effect", G1 = "spinner-value", U1 = "snackbars", W1 = "snackbars-enter-active", j1 = "snackbars-leave-active", _1 = "snackbars-move", q1 = "snackbars-enter-from", K1 = "snackbars-leave-to", Y1 = `snackbar ${Mt}`, Z1 = `snackbar-
|
|
10220
|
+
}), { basePane: Mt } = pt, I1 = "action", T1 = "progress-bar", L1 = "progress-bar-track", D1 = "snackbar-content", M1 = "icon", P1 = "spinner", V1 = "snackbar-body", x1 = "snackbar-message", O1 = "snackbar-sub-message", R1 = "snackbar-title", z1 = "snackbar-action", N1 = "snackbar-actions", H1 = "spinner-effect", G1 = "spinner-value", U1 = "snackbars", W1 = "snackbars-enter-active", j1 = "snackbars-leave-active", _1 = "snackbars-move", q1 = "snackbars-enter-from", K1 = "snackbars-leave-to", Y1 = `snackbar ${Mt}`, Z1 = `snackbar-danger snackbar ${Mt}`, Q1 = `snackbar-primary snackbar ${Mt}`, X1 = `snackbar-info snackbar ${Mt}`, J1 = `snackbar-gray snackbar ${Mt}`, eA = `snackbar-warning snackbar ${Mt}`, tA = `snackbar-success snackbar ${Mt}`, Ae = { action: I1, progressBar: T1, progressBarTrack: L1, snackbarContent: D1, icon: M1, spinner: P1, snackbarBody: V1, snackbarMessage: x1, snackbarSubMessage: O1, snackbarTitle: R1, snackbarAction: z1, snackbarActions: N1, spinnerEffect: H1, spinnerValue: G1, snackbars: U1, snackbarsEnterActive: W1, snackbarsLeaveActive: j1, snackbarsMove: _1, snackbarsEnterFrom: q1, snackbarsLeaveTo: K1, snackbar: Y1, snackbarDanger: Z1, snackbarPrimary: Q1, snackbarInfo: X1, snackbarGray: J1, snackbarWarning: eA, snackbarSuccess: tA }, nA = ["onClick"], aA = /* @__PURE__ */ k({
|
|
10221
10221
|
__name: "FluxSnackbar",
|
|
10222
10222
|
props: {
|
|
10223
10223
|
actions: {},
|
|
@@ -10698,7 +10698,7 @@ const pA = "root", fA = "is-locked", aa = { root: pA, isLocked: fA }, hA = ["ine
|
|
|
10698
10698
|
_: 1
|
|
10699
10699
|
}, 8, ["class"]));
|
|
10700
10700
|
}
|
|
10701
|
-
}), OA = "sparkles-container", RA = "sparkles-particles", zA = "sparkles-container-active", NA = "heart", HA = "bubble", GA = "sparkles", UA = { sparklesContainer: OA, sparklesParticles: RA, sparklesContainerActive: zA, heart: NA, bubble: HA, sparkles: GA }, {
|
|
10701
|
+
}), OA = "sparkles-container", RA = "sparkles-particles", zA = "sparkles-container-active", NA = "heart", HA = "bubble", GA = "sparkles", UA = { sparklesContainer: OA, sparklesParticles: RA, sparklesContainerActive: zA, heart: NA, bubble: HA, sparkles: GA }, { sparklesContainer: jn, sparklesParticles: WA, sparklesContainerActive: jA } = UA, _A = "stepper-step", qA = "stepper-steps", KA = "icon", YA = `stepper-steps-item ${jn}`, ZA = `stepper-steps-item-current stepper-steps-item ${jn}`, QA = `stepper-steps-item-idle stepper-steps-item ${jn}`, XA = `stepper-steps-item-particles ${WA}`, JA = `stepper-steps-item-complete ${jA} stepper-steps-item ${jn}`, At = { stepperStep: _A, stepperSteps: qA, icon: KA, stepperStepsItem: YA, stepperStepsItemCurrent: ZA, stepperStepsItemIdle: QA, stepperStepsItemParticles: XA, stepperStepsItemComplete: JA }, e$ = ["onClick"], t$ = { key: 1 }, n$ = /* @__PURE__ */ k({
|
|
10702
10702
|
__name: "FluxStepperSteps",
|
|
10703
10703
|
props: {
|
|
10704
10704
|
amount: {},
|
|
@@ -10886,7 +10886,7 @@ const pA = "root", fA = "is-locked", aa = { root: pA, isLocked: fA }, hA = ["ine
|
|
|
10886
10886
|
},
|
|
10887
10887
|
emits: ["click", "mouseenter", "mouseleave"],
|
|
10888
10888
|
setup(t, { emit: e }) {
|
|
10889
|
-
const a = e, i = be(
|
|
10889
|
+
const a = e, i = be(me(() => t.disabled)), s = te("tab");
|
|
10890
10890
|
function o(u) {
|
|
10891
10891
|
if (n(i)) {
|
|
10892
10892
|
u.preventDefault(), u.stopPropagation();
|
|
@@ -11206,7 +11206,7 @@ const pA = "root", fA = "is-locked", aa = { root: pA, isLocked: fA }, hA = ["ine
|
|
|
11206
11206
|
}),
|
|
11207
11207
|
emits: ["update:modelValue"],
|
|
11208
11208
|
setup(t) {
|
|
11209
|
-
const e = ae(t, "modelValue"), a = be(
|
|
11209
|
+
const e = ae(t, "modelValue"), a = be(me(() => t.disabled)), { id: i } = Yt();
|
|
11210
11210
|
function s(o) {
|
|
11211
11211
|
e.value = o.target.checked;
|
|
11212
11212
|
}
|
|
@@ -11244,7 +11244,7 @@ const pA = "root", fA = "is-locked", aa = { root: pA, isLocked: fA }, hA = ["ine
|
|
|
11244
11244
|
}, null, 42, N$)
|
|
11245
11245
|
], 10, z$));
|
|
11246
11246
|
}
|
|
11247
|
-
}), { basePane: gs } = pt, H$ = "toolbar", G$ = "separator-vertical", U$ = "is-free", W$ = "is-top-end", j$ = "is-top-start", _$ = "is-bottom-end", q$ = "is-bottom-start", K$ = "base-pane-structure", Y$ = "pane-header", Z$ = `toolbar-
|
|
11247
|
+
}), { basePane: gs } = pt, H$ = "toolbar", G$ = "separator-vertical", U$ = "is-free", W$ = "is-top-end", j$ = "is-top-start", _$ = "is-bottom-end", q$ = "is-bottom-start", K$ = "base-pane-structure", Y$ = "pane-header", Z$ = `toolbar-floating ${gs} toolbar`, Q$ = `toolbar-flat ${gs} toolbar`, yt = { toolbar: H$, separatorVertical: G$, isFree: U$, isTopEnd: W$, isTopStart: j$, isBottomEnd: _$, isBottomStart: q$, basePaneStructure: K$, paneHeader: Y$, toolbarFloating: Z$, toolbarFlat: Q$ }, DC = /* @__PURE__ */ k({
|
|
11248
11248
|
__name: "FluxToolbar",
|
|
11249
11249
|
props: {
|
|
11250
11250
|
floatingMode: {}
|