@flux-ui/components 3.0.0 → 3.1.2
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/component/FluxBreadcrumb.vue.d.ts +15 -0
- package/dist/component/FluxBreadcrumbItem.vue.d.ts +23 -0
- package/dist/component/{FluxCheckbox.vue.d.ts → FluxFormCheckbox.vue.d.ts} +3 -0
- package/dist/component/FluxFormCheckboxGroup.vue.d.ts +26 -0
- package/dist/component/FluxFormField.vue.d.ts +1 -0
- package/dist/component/FluxFormNumberInput.vue.d.ts +26 -0
- package/dist/component/FluxFormRadio.vue.d.ts +18 -0
- package/dist/component/FluxFormRadioGroup.vue.d.ts +27 -0
- package/dist/component/FluxSkeleton.vue.d.ts +9 -0
- package/dist/component/index.d.ts +8 -1
- package/dist/composable/index.d.ts +2 -0
- package/dist/composable/useFormCheckboxGroupInjection.d.ts +2 -0
- package/dist/composable/useFormFieldInjection.d.ts +3 -2
- package/dist/composable/useFormRadioGroupInjection.d.ts +2 -0
- package/dist/data/di.d.ts +23 -0
- package/dist/index.css +1374 -1012
- package/dist/index.js +893 -399
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/component/FluxBreadcrumb.vue +24 -0
- package/src/component/FluxBreadcrumbItem.vue +72 -0
- package/src/component/FluxDataTable.vue +3 -3
- package/src/component/FluxFormCheckbox.vue +123 -0
- package/src/component/FluxFormCheckboxGroup.vue +57 -0
- package/src/component/FluxFormField.vue +23 -7
- package/src/component/FluxFormNumberInput.vue +180 -0
- package/src/component/FluxFormPinInput.vue +2 -2
- package/src/component/FluxFormRadio.vue +76 -0
- package/src/component/FluxFormRadioGroup.vue +53 -0
- package/src/component/FluxQuantitySelector.vue +4 -4
- package/src/component/FluxSkeleton.vue +46 -0
- package/src/component/FluxToggle.vue +4 -4
- package/src/component/index.ts +8 -1
- package/src/composable/index.ts +2 -0
- package/src/composable/useFormCheckboxGroupInjection.ts +6 -0
- package/src/composable/useFormFieldInjection.ts +7 -3
- package/src/composable/useFormRadioGroupInjection.ts +13 -0
- package/src/css/component/BorderBeam.module.scss +51 -22
- package/src/css/component/Breadcrumb.module.scss +86 -0
- package/src/css/component/Divider.module.scss +1 -0
- package/src/css/component/Form.module.scss +251 -45
- package/src/css/component/SegmentedControl.module.scss +18 -18
- package/src/css/component/Skeleton.module.scss +67 -0
- package/src/data/di.ts +30 -0
- package/src/component/FluxCheckbox.vue +0 -87
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Comment, Fragment, Teleport, Text, Transition, TransitionGroup, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, customRef, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowReactive, shallowRef, toDisplayString, toHandlers, toRef, toValue, unref, useId, useModel, useSlots, useTemplateRef,
|
|
1
|
+
import { Comment, Fragment, Teleport, Text, Transition, TransitionGroup, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, customRef, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowReactive, shallowRef, toDisplayString, toHandlers, toRef, toValue, unref, useId, useModel, useSlots, useTemplateRef, vModelText, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
2
2
|
import { DateTime } from "luxon";
|
|
3
3
|
//#region \0rolldown/runtime.js
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -69,7 +69,9 @@ var FluxKanbanInjectionKey = Symbol();
|
|
|
69
69
|
var FluxExpandableGroupInjectionKey = Symbol();
|
|
70
70
|
var FluxFlyoutInjectionKey = Symbol();
|
|
71
71
|
var FluxFilterInjectionKey = Symbol();
|
|
72
|
+
var FluxFormCheckboxGroupInjectionKey = Symbol();
|
|
72
73
|
var FluxFormFieldInjectionKey = Symbol();
|
|
74
|
+
var FluxFormRadioGroupInjectionKey = Symbol();
|
|
73
75
|
var FluxSegmentedControlInjectionKey = Symbol();
|
|
74
76
|
var FluxTabBarInjectionKey = Symbol();
|
|
75
77
|
var FluxTableInjectionKey = Symbol();
|
|
@@ -2383,9 +2385,28 @@ function useFlyoutInjection_default() {
|
|
|
2383
2385
|
});
|
|
2384
2386
|
}
|
|
2385
2387
|
//#endregion
|
|
2388
|
+
//#region src/composable/useFormCheckboxGroupInjection.ts
|
|
2389
|
+
function useFormCheckboxGroupInjection_default() {
|
|
2390
|
+
return inject(FluxFormCheckboxGroupInjectionKey, null);
|
|
2391
|
+
}
|
|
2392
|
+
//#endregion
|
|
2386
2393
|
//#region src/composable/useFormFieldInjection.ts
|
|
2387
2394
|
function useFormFieldInjection_default() {
|
|
2388
|
-
|
|
2395
|
+
const field = inject(FluxFormFieldInjectionKey, null);
|
|
2396
|
+
if (field?.registerControl) return { id: field.registerControl() };
|
|
2397
|
+
return { id: field?.id ?? useId() };
|
|
2398
|
+
}
|
|
2399
|
+
//#endregion
|
|
2400
|
+
//#region src/composable/useFormRadioGroupInjection.ts
|
|
2401
|
+
function useFormRadioGroupInjection_default() {
|
|
2402
|
+
return inject(FluxFormRadioGroupInjectionKey, {
|
|
2403
|
+
name: "",
|
|
2404
|
+
modelValue: ref(void 0),
|
|
2405
|
+
disabled: ref(false),
|
|
2406
|
+
isReadonly: ref(false),
|
|
2407
|
+
error: ref(void 0),
|
|
2408
|
+
select: () => void 0
|
|
2409
|
+
});
|
|
2389
2410
|
}
|
|
2390
2411
|
//#endregion
|
|
2391
2412
|
//#region src/composable/useKanbanInjection.ts
|
|
@@ -2430,7 +2451,7 @@ function useTooltipInjection_default() {
|
|
|
2430
2451
|
return inject(FluxTooltipInjectionKey, { calculate: () => void 0 });
|
|
2431
2452
|
}
|
|
2432
2453
|
//#endregion
|
|
2433
|
-
//#region ../../node_modules/.bun/@basmilius+utils@3.
|
|
2454
|
+
//#region ../../node_modules/.bun/@basmilius+utils@3.41.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
|
|
2434
2455
|
function t$1(e, t) {
|
|
2435
2456
|
return Math.round(e / t) * t;
|
|
2436
2457
|
}
|
|
@@ -2594,7 +2615,7 @@ function W$1(e, t, n) {
|
|
|
2594
2615
|
function G$2(e, t, n) {
|
|
2595
2616
|
e.prototype[t] = n;
|
|
2596
2617
|
}
|
|
2597
|
-
function K$
|
|
2618
|
+
function K$1(e, t, n) {
|
|
2598
2619
|
Object.defineProperty(e, t, { value: n });
|
|
2599
2620
|
}
|
|
2600
2621
|
//#endregion
|
|
@@ -4475,7 +4496,7 @@ var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
|
|
|
4475
4496
|
};
|
|
4476
4497
|
//#endregion
|
|
4477
4498
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/constants.js
|
|
4478
|
-
var k$
|
|
4499
|
+
var k$4 = Math.pow(29, 3) / Math.pow(3, 3);
|
|
4479
4500
|
var e$3 = Math.pow(6, 3) / Math.pow(29, 3);
|
|
4480
4501
|
//#endregion
|
|
4481
4502
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/constants.js
|
|
@@ -4493,7 +4514,7 @@ Math.pow(29, 3) / Math.pow(3, 3);
|
|
|
4493
4514
|
Math.pow(6, 3) / Math.pow(29, 3);
|
|
4494
4515
|
//#endregion
|
|
4495
4516
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertLab65ToXyz65.js
|
|
4496
|
-
var fn$2 = (v) => Math.pow(v, 3) > e$3 ? Math.pow(v, 3) : (116 * v - 16) / k$
|
|
4517
|
+
var fn$2 = (v) => Math.pow(v, 3) > e$3 ? Math.pow(v, 3) : (116 * v - 16) / k$4;
|
|
4497
4518
|
var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
|
|
4498
4519
|
if (l === void 0) l = 0;
|
|
4499
4520
|
if (a === void 0) a = 0;
|
|
@@ -4515,7 +4536,7 @@ var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
|
|
|
4515
4536
|
var convertLab65ToRgb = (lab) => convertXyz65ToRgb(convertLab65ToXyz65(lab));
|
|
4516
4537
|
//#endregion
|
|
4517
4538
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertXyz65ToLab65.js
|
|
4518
|
-
var f$2 = (value) => value > e$3 ? Math.cbrt(value) : (k$
|
|
4539
|
+
var f$2 = (value) => value > e$3 ? Math.cbrt(value) : (k$4 * value + 16) / 116;
|
|
4519
4540
|
var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
|
|
4520
4541
|
if (x === void 0) x = 0;
|
|
4521
4542
|
if (y === void 0) y = 0;
|
|
@@ -5377,11 +5398,11 @@ var definition$16 = {
|
|
|
5377
5398
|
};
|
|
5378
5399
|
//#endregion
|
|
5379
5400
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/constants.js
|
|
5380
|
-
var k$
|
|
5401
|
+
var k$2 = Math.pow(29, 3) / Math.pow(3, 3);
|
|
5381
5402
|
var e$1 = Math.pow(6, 3) / Math.pow(29, 3);
|
|
5382
5403
|
//#endregion
|
|
5383
5404
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertLabToXyz50.js
|
|
5384
|
-
var fn$1 = (v) => Math.pow(v, 3) > e$1 ? Math.pow(v, 3) : (116 * v - 16) / k$
|
|
5405
|
+
var fn$1 = (v) => Math.pow(v, 3) > e$1 ? Math.pow(v, 3) : (116 * v - 16) / k$2;
|
|
5385
5406
|
var convertLabToXyz50 = ({ l, a, b, alpha }) => {
|
|
5386
5407
|
if (l === void 0) l = 0;
|
|
5387
5408
|
if (a === void 0) a = 0;
|
|
@@ -5430,7 +5451,7 @@ var convertRgbToXyz50 = (rgb) => {
|
|
|
5430
5451
|
};
|
|
5431
5452
|
//#endregion
|
|
5432
5453
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertXyz50ToLab.js
|
|
5433
|
-
var f$1 = (value) => value > e$1 ? Math.cbrt(value) : (k$
|
|
5454
|
+
var f$1 = (value) => value > e$1 ? Math.cbrt(value) : (k$2 * value + 16) / 116;
|
|
5434
5455
|
var convertXyz50ToLab = ({ x, y, z, alpha }) => {
|
|
5435
5456
|
if (x === void 0) x = 0;
|
|
5436
5457
|
if (y === void 0) y = 0;
|
|
@@ -5636,7 +5657,7 @@ var u_fn$1 = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
|
|
|
5636
5657
|
var v_fn$1 = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
|
|
5637
5658
|
var un$2 = u_fn$1(D50.X, D50.Y, D50.Z);
|
|
5638
5659
|
var vn$2 = v_fn$1(D50.X, D50.Y, D50.Z);
|
|
5639
|
-
var l_fn = (value) => value <= e$1 ? k$
|
|
5660
|
+
var l_fn = (value) => value <= e$1 ? k$2 * value : 116 * Math.cbrt(value) - 16;
|
|
5640
5661
|
var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
|
|
5641
5662
|
if (x === void 0) x = 0;
|
|
5642
5663
|
if (y === void 0) y = 0;
|
|
@@ -5676,7 +5697,7 @@ var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
|
|
|
5676
5697
|
if (v === void 0) v = 0;
|
|
5677
5698
|
let up = u / (13 * l) + un$1;
|
|
5678
5699
|
let vp = v / (13 * l) + vn$1;
|
|
5679
|
-
let y = D50.Y * (l <= 8 ? l / k$
|
|
5700
|
+
let y = D50.Y * (l <= 8 ? l / k$2 : Math.pow((l + 16) / 116, 3));
|
|
5680
5701
|
let res = {
|
|
5681
5702
|
mode: "xyz50",
|
|
5682
5703
|
x: y * (9 * up) / (4 * vp),
|
|
@@ -6642,7 +6663,7 @@ useMode(definition$2);
|
|
|
6642
6663
|
useMode(definition$1);
|
|
6643
6664
|
useMode(definition);
|
|
6644
6665
|
//#endregion
|
|
6645
|
-
//#region ../../node_modules/.bun/@basmilius+http-client@3.
|
|
6666
|
+
//#region ../../node_modules/.bun/@basmilius+http-client@3.41.0+4c8d5b4efb44798e/node_modules/@basmilius/http-client/dist/index.mjs
|
|
6646
6667
|
function adapter_default(Parent) {
|
|
6647
6668
|
return class extends Parent {
|
|
6648
6669
|
constructor(...args) {
|
|
@@ -6996,10 +7017,10 @@ function dto_default(clazz) {
|
|
|
6996
7017
|
validate(clazz);
|
|
6997
7018
|
const descriptors = Object.freeze(x$3(clazz));
|
|
6998
7019
|
const properties = Object.keys(descriptors);
|
|
6999
|
-
K$
|
|
7000
|
-
K$
|
|
7001
|
-
K$
|
|
7002
|
-
K$
|
|
7020
|
+
K$1(clazz.prototype, DESCRIPTORS, descriptors);
|
|
7021
|
+
K$1(clazz.prototype, NAME, clazz.name);
|
|
7022
|
+
K$1(clazz.prototype, PROPERTIES, properties);
|
|
7023
|
+
K$1(clazz, Symbol.hasInstance, (instance) => typeof instance === "object" && instance?.[NAME] === clazz.name);
|
|
7003
7024
|
G$2(clazz, "clone", clone_default);
|
|
7004
7025
|
G$2(clazz, "fill", fill_default);
|
|
7005
7026
|
G$2(clazz, "toJSON", toJSON_default);
|
|
@@ -7154,7 +7175,7 @@ function G$1(e) {
|
|
|
7154
7175
|
let t = unref(e);
|
|
7155
7176
|
return t ? R$2(t) ? t : t.$el ?? null : null;
|
|
7156
7177
|
}
|
|
7157
|
-
function
|
|
7178
|
+
function q$1(e, t, n) {
|
|
7158
7179
|
let r = ref([]);
|
|
7159
7180
|
onMounted(() => {
|
|
7160
7181
|
document.addEventListener(`pointerdown`, i);
|
|
@@ -7172,33 +7193,33 @@ function K$1(e, t, n) {
|
|
|
7172
7193
|
}), r.value = t;
|
|
7173
7194
|
});
|
|
7174
7195
|
}
|
|
7175
|
-
function
|
|
7196
|
+
function se$1() {
|
|
7176
7197
|
let t = getCurrentInstance();
|
|
7177
7198
|
return computed(() => t?.uid ?? (t?.proxy)._uid ?? 0);
|
|
7178
7199
|
}
|
|
7179
|
-
function
|
|
7200
|
+
function J$1(e, n, r = !1) {
|
|
7180
7201
|
let a = ref(isRef(e) ? e.value : e), o = customRef((e, t) => ({
|
|
7181
7202
|
get() {
|
|
7182
7203
|
return e(), a.value;
|
|
7183
7204
|
},
|
|
7184
|
-
set:
|
|
7205
|
+
set: le$1((e) => {
|
|
7185
7206
|
a.value = e, t();
|
|
7186
7207
|
}, n, r)
|
|
7187
7208
|
}));
|
|
7188
7209
|
return isRef(e) && watch(e, (e) => o.value = e), o;
|
|
7189
7210
|
}
|
|
7190
|
-
function
|
|
7211
|
+
function le$1(e, t, n = !1) {
|
|
7191
7212
|
let r;
|
|
7192
7213
|
return (...i) => {
|
|
7193
7214
|
n && !r && e(...i), clearTimeout(r), r = setTimeout(() => requestAnimationFrame(() => e(...i)), t);
|
|
7194
7215
|
};
|
|
7195
7216
|
}
|
|
7196
|
-
function
|
|
7217
|
+
function Y$1(t = 0, n = !1) {
|
|
7197
7218
|
let r = ref(n), i = ref(0), a = computed(() => unref(r) || unref(i) > 0);
|
|
7198
7219
|
function o(e) {
|
|
7199
7220
|
return (async (...t) => (i.value++, await e(...t).finally(() => i.value--)));
|
|
7200
7221
|
}
|
|
7201
|
-
let s =
|
|
7222
|
+
let s = J$1(a, t);
|
|
7202
7223
|
return watch(i, () => {
|
|
7203
7224
|
unref(r) && (r.value = !1);
|
|
7204
7225
|
}), {
|
|
@@ -7206,7 +7227,7 @@ function X$1(t = 0, n = !1) {
|
|
|
7206
7227
|
loaded: o
|
|
7207
7228
|
};
|
|
7208
7229
|
}
|
|
7209
|
-
function
|
|
7230
|
+
function me$1(e, t) {
|
|
7210
7231
|
let n = ref();
|
|
7211
7232
|
onMounted(() => {
|
|
7212
7233
|
i();
|
|
@@ -7220,7 +7241,7 @@ function de$1(e, t) {
|
|
|
7220
7241
|
r(), t();
|
|
7221
7242
|
}
|
|
7222
7243
|
}
|
|
7223
|
-
function
|
|
7244
|
+
function ye$1(e, t, n) {
|
|
7224
7245
|
n ??= { attributes: !0 };
|
|
7225
7246
|
let r, i = watch(e, (e) => {
|
|
7226
7247
|
a();
|
|
@@ -7236,7 +7257,7 @@ function he$1(e, t, n) {
|
|
|
7236
7257
|
onScopeDispose(o);
|
|
7237
7258
|
}
|
|
7238
7259
|
RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
|
|
7239
|
-
function
|
|
7260
|
+
function Ce$1(e, t, n) {
|
|
7240
7261
|
n ??= {};
|
|
7241
7262
|
let r, i = watch(e, (e) => {
|
|
7242
7263
|
a();
|
|
@@ -7571,7 +7592,7 @@ function I$1(t, n = {}) {
|
|
|
7571
7592
|
}, { immediate: !0 });
|
|
7572
7593
|
}
|
|
7573
7594
|
function R$1(e, { cycle: t = !0, direction: n = `bidirectional` } = {}) {
|
|
7574
|
-
|
|
7595
|
+
ye$1(e, () => o(r(), !1), {
|
|
7575
7596
|
childList: !0,
|
|
7576
7597
|
subtree: !0
|
|
7577
7598
|
});
|
|
@@ -7632,7 +7653,7 @@ function B$1(e, n, r, i, a, o) {
|
|
|
7632
7653
|
//#region ../internals/dist/data/index.js
|
|
7633
7654
|
var oe = `#ef4444`, se = `#dc2626`, _e = `#f97316`, ve = `#ea580c`, Oe = `#f59e0b`, ke = `#d97706`, ze = `#eab308`, Be = `#ca8a04`, Xe = `#84cc16`, Ze = `#65a30d`, st = `#22c55e`, ct = `#16a34a`, vt = `#10b981`, yt = `#059669`, kt = `#14b8a6`, At = `#0d9488`, Bt = `#06b6d4`, Vt = `#0891b2`, Zt = `#0ea5e9`, Qt = `#0284c7`, ln = `#3b82f6`, un = `#2563eb`, bn = `#6366f1`, xn = `#4f46e5`, jn = `#8b5cf6`, Mn = `#7c3aed`, Hn = `#a855f7`, Un = `#9333ea`, $n = `#d946ef`, er = `#c026d3`, ur = `#ec4899`, dr = `#db2777`, xr = `#f43f5e`, Sr = `#e11d48`;
|
|
7634
7655
|
//#endregion
|
|
7635
|
-
//#region ../internals/dist/directive-
|
|
7656
|
+
//#region ../internals/dist/directive-CYxYO4lS.js
|
|
7636
7657
|
var i = class {
|
|
7637
7658
|
#e;
|
|
7638
7659
|
#t;
|
|
@@ -7693,13 +7714,13 @@ var Icon_module_default = {
|
|
|
7693
7714
|
};
|
|
7694
7715
|
//#endregion
|
|
7695
7716
|
//#region src/component/FluxIcon.vue?vue&type=script&setup=true&lang.ts
|
|
7696
|
-
var _hoisted_1$
|
|
7717
|
+
var _hoisted_1$67 = [
|
|
7697
7718
|
"viewBox",
|
|
7698
7719
|
"role",
|
|
7699
7720
|
"aria-hidden",
|
|
7700
7721
|
"aria-label"
|
|
7701
7722
|
];
|
|
7702
|
-
var _hoisted_2$
|
|
7723
|
+
var _hoisted_2$26 = ["d"];
|
|
7703
7724
|
//#endregion
|
|
7704
7725
|
//#region src/component/FluxIcon.vue
|
|
7705
7726
|
var FluxIcon_default = /* @__PURE__ */ defineComponent({
|
|
@@ -7745,8 +7766,8 @@ var FluxIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
7745
7766
|
return openBlock(), createElementBlock("path", {
|
|
7746
7767
|
d: path,
|
|
7747
7768
|
fill: "currentColor"
|
|
7748
|
-
}, null, 8, _hoisted_2$
|
|
7749
|
-
}), 256))], 14, _hoisted_1$
|
|
7769
|
+
}, null, 8, _hoisted_2$26);
|
|
7770
|
+
}), 256))], 14, _hoisted_1$67)) : (openBlock(), createElementBlock("i", {
|
|
7750
7771
|
key: 1,
|
|
7751
7772
|
class: normalizeClass(unref(Icon_module_default).icon)
|
|
7752
7773
|
}, null, 2));
|
|
@@ -7829,8 +7850,8 @@ function createDialogRenderer_default(attrs, props, emit, slots, className, tran
|
|
|
7829
7850
|
//#endregion
|
|
7830
7851
|
//#region src/composable/private/useAsyncFilterOptions.ts
|
|
7831
7852
|
function useAsyncFilterOptions_default(params) {
|
|
7832
|
-
const { isLoading, loaded } =
|
|
7833
|
-
const debouncedModelSearch =
|
|
7853
|
+
const { isLoading, loaded } = Y$1();
|
|
7854
|
+
const debouncedModelSearch = J$1(params.modelSearch, 150);
|
|
7834
7855
|
const fetchOptions = computed(() => loaded(params.fetchOptions));
|
|
7835
7856
|
const fetchRelevant = computed(() => loaded(params.fetchRelevant));
|
|
7836
7857
|
const fetchSearch = computed(() => loaded(params.fetchSearch));
|
|
@@ -8189,8 +8210,8 @@ function useDropdownPopup(options) {
|
|
|
8189
8210
|
return false;
|
|
8190
8211
|
}
|
|
8191
8212
|
if (typeof window !== "undefined") {
|
|
8192
|
-
|
|
8193
|
-
|
|
8213
|
+
q$1([options.anchorRef, options.popupRef], isOpen, () => isOpen.value = false);
|
|
8214
|
+
q$1(options.anchorRef, isOpen, () => unref(options.focusElement)?.focus());
|
|
8194
8215
|
}
|
|
8195
8216
|
watch(isOpen, (opened) => {
|
|
8196
8217
|
if (!opened) {
|
|
@@ -8868,7 +8889,7 @@ function useCommandPalette(params) {
|
|
|
8868
8889
|
const isTransitioningBack = ref(false);
|
|
8869
8890
|
const savedState = ref(null);
|
|
8870
8891
|
const asyncResults = ref(/* @__PURE__ */ new Map());
|
|
8871
|
-
const debouncedSearch =
|
|
8892
|
+
const debouncedSearch = J$1(search, 300);
|
|
8872
8893
|
let fetchGeneration = 0;
|
|
8873
8894
|
const filteredItems = computed(() => {
|
|
8874
8895
|
const query = unref(search).toLowerCase().trim();
|
|
@@ -9362,13 +9383,13 @@ function sanitizeUrl_default(href) {
|
|
|
9362
9383
|
}
|
|
9363
9384
|
//#endregion
|
|
9364
9385
|
//#region src/component/FluxPressable.vue?vue&type=script&setup=true&lang.ts
|
|
9365
|
-
var _hoisted_1$
|
|
9386
|
+
var _hoisted_1$66 = [
|
|
9366
9387
|
"href",
|
|
9367
9388
|
"rel",
|
|
9368
9389
|
"target",
|
|
9369
9390
|
"onClick"
|
|
9370
9391
|
];
|
|
9371
|
-
var _hoisted_2$
|
|
9392
|
+
var _hoisted_2$25 = [
|
|
9372
9393
|
"href",
|
|
9373
9394
|
"rel",
|
|
9374
9395
|
"target"
|
|
@@ -9416,14 +9437,14 @@ var FluxPressable_default = /* @__PURE__ */ defineComponent({
|
|
|
9416
9437
|
rel: resolvedRel.value,
|
|
9417
9438
|
target: __props.target,
|
|
9418
9439
|
onClick: ($event) => onClick($event, navigate)
|
|
9419
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$
|
|
9440
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$66)]),
|
|
9420
9441
|
_: 3
|
|
9421
9442
|
}, 8, ["to"])) : __props.componentType === "link" ? (openBlock(), createElementBlock("a", mergeProps({ key: 1 }, $attrs, toHandlers(hoverListeners, true), {
|
|
9422
9443
|
href: unref(sanitizeUrl_default)(__props.href),
|
|
9423
9444
|
rel: resolvedRel.value,
|
|
9424
9445
|
target: __props.target,
|
|
9425
9446
|
onClick: _cache[0] || (_cache[0] = ($event) => onClick($event))
|
|
9426
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_2$
|
|
9447
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_2$25)) : __props.componentType === "button" ? (openBlock(), createElementBlock("button", mergeProps({ key: 2 }, $attrs, toHandlers(hoverListeners, true), { onClick: _cache[1] || (_cache[1] = ($event) => onClick($event)) }), [renderSlot(_ctx.$slots, "default")], 16)) : (openBlock(), createElementBlock("div", mergeProps({ key: 3 }, $attrs, toHandlers(hoverListeners, true), { onClick }), [renderSlot(_ctx.$slots, "default")], 16));
|
|
9427
9448
|
};
|
|
9428
9449
|
}
|
|
9429
9450
|
});
|
|
@@ -9604,13 +9625,13 @@ var FluxButton_default = /* @__PURE__ */ defineComponent({
|
|
|
9604
9625
|
});
|
|
9605
9626
|
//#endregion
|
|
9606
9627
|
//#region src/css/component/Action.module.scss
|
|
9607
|
-
var { "button": _0$15, "
|
|
9628
|
+
var { "button": _0$15, "buttonLabel": _1$6, "buttonIcon": _2$5 } = Button_module_default$1;
|
|
9608
9629
|
var Action_module_default = {
|
|
9609
9630
|
action: `action ${_0$15}`,
|
|
9610
9631
|
spinner: `spinner`,
|
|
9611
|
-
actionIcon: `action-icon ${
|
|
9632
|
+
actionIcon: `action-icon ${_2$5}`,
|
|
9612
9633
|
isDestructive: `is-destructive`,
|
|
9613
|
-
actionLabel: `action-label ${
|
|
9634
|
+
actionLabel: `action-label ${_1$6}`,
|
|
9614
9635
|
actionBar: `action-bar`,
|
|
9615
9636
|
separator: `separator`,
|
|
9616
9637
|
formInput: `form-input`,
|
|
@@ -9677,32 +9698,32 @@ var FluxAction_default = /* @__PURE__ */ defineComponent({
|
|
|
9677
9698
|
});
|
|
9678
9699
|
//#endregion
|
|
9679
9700
|
//#region src/css/component/Button.module.scss
|
|
9680
|
-
var { "buttonIcon": _0$14, "
|
|
9701
|
+
var { "buttonIcon": _0$14, "buttonLabel": _1$5, "button": _2$4 } = Button_module_default$1;
|
|
9681
9702
|
var Button_module_default = {
|
|
9682
|
-
primaryButton: `primary-button ${
|
|
9703
|
+
primaryButton: `primary-button ${_2$4}`,
|
|
9683
9704
|
spinner: `spinner`,
|
|
9684
9705
|
primaryButtonIcon: `primary-button-icon ${_0$14}`,
|
|
9685
|
-
primaryButtonLabel: `primary-button-label ${
|
|
9686
|
-
secondaryButton: `secondary-button ${
|
|
9706
|
+
primaryButtonLabel: `primary-button-label ${_1$5}`,
|
|
9707
|
+
secondaryButton: `secondary-button ${_2$4}`,
|
|
9687
9708
|
secondaryButtonIcon: `secondary-button-icon ${_0$14}`,
|
|
9688
|
-
secondaryButtonLabel: `secondary-button-label ${
|
|
9689
|
-
destructiveButton: `destructive-button ${
|
|
9709
|
+
secondaryButtonLabel: `secondary-button-label ${_1$5}`,
|
|
9710
|
+
destructiveButton: `destructive-button ${_2$4}`,
|
|
9690
9711
|
destructiveButtonIcon: `destructive-button-icon ${_0$14}`,
|
|
9691
|
-
destructiveButtonLabel: `destructive-button-label ${
|
|
9692
|
-
baseLinkButton: `base-link-button ${
|
|
9693
|
-
primaryLinkButton: `primary-link-button base-link-button ${
|
|
9712
|
+
destructiveButtonLabel: `destructive-button-label ${_1$5}`,
|
|
9713
|
+
baseLinkButton: `base-link-button ${_2$4}`,
|
|
9714
|
+
primaryLinkButton: `primary-link-button base-link-button ${_2$4}`,
|
|
9694
9715
|
primaryLinkButtonIcon: `primary-link-button-icon ${_0$14}`,
|
|
9695
|
-
primaryLinkButtonLabel: `primary-link-button-label ${
|
|
9696
|
-
secondaryLinkButton: `secondary-link-button base-link-button ${
|
|
9716
|
+
primaryLinkButtonLabel: `primary-link-button-label ${_1$5}`,
|
|
9717
|
+
secondaryLinkButton: `secondary-link-button base-link-button ${_2$4}`,
|
|
9697
9718
|
secondaryLinkButtonIcon: `secondary-link-button-icon ${_0$14}`,
|
|
9698
|
-
secondaryLinkButtonLabel: `secondary-link-button-label ${
|
|
9699
|
-
linkButton: `link-button ${
|
|
9719
|
+
secondaryLinkButtonLabel: `secondary-link-button-label ${_1$5}`,
|
|
9720
|
+
linkButton: `link-button ${_2$4}`,
|
|
9700
9721
|
linkButtonIcon: `link-button-icon ${_0$14}`,
|
|
9701
9722
|
icon: `icon`,
|
|
9702
|
-
linkButtonLabel: `link-button-label ${
|
|
9703
|
-
publishButton: `publish-button primary-button ${
|
|
9723
|
+
linkButtonLabel: `link-button-label ${_1$5}`,
|
|
9724
|
+
publishButton: `publish-button primary-button ${_2$4}`,
|
|
9704
9725
|
publishButtonIcon: `publish-button-icon primary-button-icon ${_0$14}`,
|
|
9705
|
-
publishButtonLabel: `publish-button-label primary-button-label ${
|
|
9726
|
+
publishButtonLabel: `publish-button-label primary-button-label ${_1$5}`,
|
|
9706
9727
|
publishButtonAnimation: `publish-button-animation`,
|
|
9707
9728
|
isDone: `is-done`,
|
|
9708
9729
|
publishButtonAnimationArrow: `publish-button-animation-arrow`,
|
|
@@ -10261,7 +10282,7 @@ var Flyout_module_default = {
|
|
|
10261
10282
|
};
|
|
10262
10283
|
//#endregion
|
|
10263
10284
|
//#region src/component/FluxFlyout.vue?vue&type=script&setup=true&lang.ts
|
|
10264
|
-
var _hoisted_1$
|
|
10285
|
+
var _hoisted_1$65 = ["onKeydown"];
|
|
10265
10286
|
//#endregion
|
|
10266
10287
|
//#region src/component/FluxFlyout.vue
|
|
10267
10288
|
var FluxFlyout_default = /* @__PURE__ */ defineComponent({
|
|
@@ -10423,7 +10444,7 @@ var FluxFlyout_default = /* @__PURE__ */ defineComponent({
|
|
|
10423
10444
|
openerHeight: openerHeight.value
|
|
10424
10445
|
})))]),
|
|
10425
10446
|
_: 3
|
|
10426
|
-
}, 8, ["class", "style"])) : createCommentVNode("", true)], 42, _hoisted_1$
|
|
10447
|
+
}, 8, ["class", "style"])) : createCommentVNode("", true)], 42, _hoisted_1$65)], 6);
|
|
10427
10448
|
};
|
|
10428
10449
|
}
|
|
10429
10450
|
});
|
|
@@ -10878,7 +10899,7 @@ var FluxAnimatedColors_default = /* @__PURE__ */ defineComponent({
|
|
|
10878
10899
|
},
|
|
10879
10900
|
setup(__props) {
|
|
10880
10901
|
const canvasRef = useTemplateRef("canvas");
|
|
10881
|
-
const componentId =
|
|
10902
|
+
const componentId = se$1();
|
|
10882
10903
|
const contextRef = ref();
|
|
10883
10904
|
const animationFrame = ref(0);
|
|
10884
10905
|
const tick = ref(0);
|
|
@@ -11010,8 +11031,8 @@ var Avatar_module_default = {
|
|
|
11010
11031
|
};
|
|
11011
11032
|
//#endregion
|
|
11012
11033
|
//#region src/component/FluxAvatar.vue?vue&type=script&setup=true&lang.ts
|
|
11013
|
-
var _hoisted_1$
|
|
11014
|
-
var _hoisted_2$
|
|
11034
|
+
var _hoisted_1$64 = ["alt", "src"];
|
|
11035
|
+
var _hoisted_2$24 = { key: 0 };
|
|
11015
11036
|
//#endregion
|
|
11016
11037
|
//#region src/component/FluxAvatar.vue
|
|
11017
11038
|
var FluxAvatar_default = /* @__PURE__ */ defineComponent({
|
|
@@ -11097,10 +11118,10 @@ var FluxAvatar_default = /* @__PURE__ */ defineComponent({
|
|
|
11097
11118
|
class: normalizeClass(unref(Avatar_module_default).avatarImage),
|
|
11098
11119
|
alt: __props.alt,
|
|
11099
11120
|
src: __props.src
|
|
11100
|
-
}, null, 10, _hoisted_1$
|
|
11121
|
+
}, null, 10, _hoisted_1$64)) : (openBlock(), createElementBlock("div", {
|
|
11101
11122
|
key: 1,
|
|
11102
11123
|
class: normalizeClass(__props.fallback === "colorized" ? unref(Avatar_module_default).avatarFallbackColorized : unref(Avatar_module_default).avatarFallbackNeutral)
|
|
11103
|
-
}, [__props.fallbackInitials ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
11124
|
+
}, [__props.fallbackInitials ? (openBlock(), createElementBlock("span", _hoisted_2$24, toDisplayString(__props.fallbackInitials), 1)) : __props.fallbackIcon ? (openBlock(), createBlock(FluxIcon_default, {
|
|
11104
11125
|
key: 1,
|
|
11105
11126
|
name: __props.fallbackIcon
|
|
11106
11127
|
}, null, 8, ["name"])) : createCommentVNode("", true)], 2)),
|
|
@@ -11160,7 +11181,7 @@ var Badge_module_default = {
|
|
|
11160
11181
|
};
|
|
11161
11182
|
//#endregion
|
|
11162
11183
|
//#region src/component/FluxBadge.vue?vue&type=script&setup=true&lang.ts
|
|
11163
|
-
var _hoisted_1$
|
|
11184
|
+
var _hoisted_1$63 = ["aria-label"];
|
|
11164
11185
|
//#endregion
|
|
11165
11186
|
//#region src/component/FluxBadge.vue
|
|
11166
11187
|
var FluxBadge_default = /* @__PURE__ */ defineComponent({
|
|
@@ -11226,7 +11247,7 @@ var FluxBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
11226
11247
|
type: "button",
|
|
11227
11248
|
"aria-label": unref(translate)("flux.delete"),
|
|
11228
11249
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => onDeleteClick(), ["stop"]))
|
|
11229
|
-
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$
|
|
11250
|
+
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$63)) : createCommentVNode("", true)
|
|
11230
11251
|
]),
|
|
11231
11252
|
_: 1
|
|
11232
11253
|
}, 8, [
|
|
@@ -11263,6 +11284,7 @@ var BorderBeam_module_default = {
|
|
|
11263
11284
|
bloom: `bloom`,
|
|
11264
11285
|
mono: `mono`,
|
|
11265
11286
|
colorful: `colorful`,
|
|
11287
|
+
line: `line`,
|
|
11266
11288
|
ocean: `ocean`,
|
|
11267
11289
|
sunset: `sunset`,
|
|
11268
11290
|
md: `md`,
|
|
@@ -11274,7 +11296,6 @@ var BorderBeam_module_default = {
|
|
|
11274
11296
|
borderBeamFadeOut: `border-beam-fade-out`,
|
|
11275
11297
|
borderBeamHueShift: `border-beam-hue-shift`,
|
|
11276
11298
|
isStatic: `is-static`,
|
|
11277
|
-
line: `line`,
|
|
11278
11299
|
borderBeamTravel: `border-beam-travel`,
|
|
11279
11300
|
borderBeamEdgeFade: `border-beam-edge-fade`,
|
|
11280
11301
|
borderBeamBreathe: `border-beam-breathe`,
|
|
@@ -11459,6 +11480,86 @@ var FluxBoxedIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
11459
11480
|
};
|
|
11460
11481
|
}
|
|
11461
11482
|
});
|
|
11483
|
+
var Breadcrumb_module_default = {
|
|
11484
|
+
breadcrumb: `breadcrumb`,
|
|
11485
|
+
breadcrumbList: `breadcrumb-list`,
|
|
11486
|
+
breadcrumbItem: `breadcrumb-item`,
|
|
11487
|
+
breadcrumbSeparator: `breadcrumb-separator`,
|
|
11488
|
+
breadcrumbLink: `breadcrumb-link`,
|
|
11489
|
+
isCurrent: `is-current`,
|
|
11490
|
+
breadcrumbIcon: `breadcrumb-icon`,
|
|
11491
|
+
breadcrumbLabel: `breadcrumb-label`
|
|
11492
|
+
};
|
|
11493
|
+
//#endregion
|
|
11494
|
+
//#region src/component/FluxBreadcrumb.vue?vue&type=script&setup=true&lang.ts
|
|
11495
|
+
var _hoisted_1$62 = ["aria-label"];
|
|
11496
|
+
//#endregion
|
|
11497
|
+
//#region src/component/FluxBreadcrumb.vue
|
|
11498
|
+
var FluxBreadcrumb_default = /* @__PURE__ */ defineComponent({
|
|
11499
|
+
__name: "FluxBreadcrumb",
|
|
11500
|
+
props: { ariaLabel: { default: "Breadcrumb" } },
|
|
11501
|
+
setup(__props) {
|
|
11502
|
+
return (_ctx, _cache) => {
|
|
11503
|
+
return openBlock(), createElementBlock("nav", {
|
|
11504
|
+
class: normalizeClass(unref(Breadcrumb_module_default).breadcrumb),
|
|
11505
|
+
"aria-label": __props.ariaLabel
|
|
11506
|
+
}, [createElementVNode("ol", { class: normalizeClass(unref(Breadcrumb_module_default).breadcrumbList) }, [renderSlot(_ctx.$slots, "default")], 2)], 10, _hoisted_1$62);
|
|
11507
|
+
};
|
|
11508
|
+
}
|
|
11509
|
+
});
|
|
11510
|
+
//#endregion
|
|
11511
|
+
//#region src/component/FluxBreadcrumbItem.vue
|
|
11512
|
+
var FluxBreadcrumbItem_default = /* @__PURE__ */ defineComponent({
|
|
11513
|
+
__name: "FluxBreadcrumbItem",
|
|
11514
|
+
props: {
|
|
11515
|
+
href: {},
|
|
11516
|
+
icon: {},
|
|
11517
|
+
label: {},
|
|
11518
|
+
to: {}
|
|
11519
|
+
},
|
|
11520
|
+
emits: ["click"],
|
|
11521
|
+
setup(__props, { emit: __emit, slots: $slots }) {
|
|
11522
|
+
const emit = __emit;
|
|
11523
|
+
const componentType = computed(() => {
|
|
11524
|
+
if (__props.to) return "route";
|
|
11525
|
+
if (__props.href) return "link";
|
|
11526
|
+
return "none";
|
|
11527
|
+
});
|
|
11528
|
+
const isCurrent = computed(() => componentType.value === "none");
|
|
11529
|
+
return (_ctx, _cache) => {
|
|
11530
|
+
return openBlock(), createElementBlock("li", { class: normalizeClass(unref(Breadcrumb_module_default).breadcrumbItem) }, [createVNode(FluxPressable_default, {
|
|
11531
|
+
class: normalizeClass(unref(clsx)(unref(Breadcrumb_module_default).breadcrumbLink, isCurrent.value && unref(Breadcrumb_module_default).isCurrent)),
|
|
11532
|
+
"component-type": componentType.value,
|
|
11533
|
+
href: __props.href,
|
|
11534
|
+
to: __props.to,
|
|
11535
|
+
"aria-current": isCurrent.value ? "page" : void 0,
|
|
11536
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("click", $event))
|
|
11537
|
+
}, {
|
|
11538
|
+
default: withCtx(() => [__props.icon ? (openBlock(), createBlock(FluxIcon_default, {
|
|
11539
|
+
key: 0,
|
|
11540
|
+
class: normalizeClass(unref(Breadcrumb_module_default).breadcrumbIcon),
|
|
11541
|
+
name: __props.icon,
|
|
11542
|
+
size: 16
|
|
11543
|
+
}, null, 8, ["class", "name"])) : createCommentVNode("", true), __props.label || $slots.default ? (openBlock(), createElementBlock("span", {
|
|
11544
|
+
key: 1,
|
|
11545
|
+
class: normalizeClass(unref(Breadcrumb_module_default).breadcrumbLabel)
|
|
11546
|
+
}, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])], 2)) : createCommentVNode("", true)]),
|
|
11547
|
+
_: 3
|
|
11548
|
+
}, 8, [
|
|
11549
|
+
"class",
|
|
11550
|
+
"component-type",
|
|
11551
|
+
"href",
|
|
11552
|
+
"to",
|
|
11553
|
+
"aria-current"
|
|
11554
|
+
]), createVNode(FluxIcon_default, {
|
|
11555
|
+
"aria-hidden": "true",
|
|
11556
|
+
class: normalizeClass(unref(Breadcrumb_module_default).breadcrumbSeparator),
|
|
11557
|
+
name: "slash-forward",
|
|
11558
|
+
size: 12
|
|
11559
|
+
}, null, 8, ["class"])], 2);
|
|
11560
|
+
};
|
|
11561
|
+
}
|
|
11562
|
+
});
|
|
11462
11563
|
//#endregion
|
|
11463
11564
|
//#region src/css/component/Calendar.module.scss
|
|
11464
11565
|
var { "basePaneLoader": _0$12 } = Pane_module_default$1;
|
|
@@ -11515,7 +11616,7 @@ var Calendar_module_default = {
|
|
|
11515
11616
|
};
|
|
11516
11617
|
//#endregion
|
|
11517
11618
|
//#region src/component/calendar/FluxCalendarItemDisplay.vue?vue&type=script&setup=true&lang.ts
|
|
11518
|
-
var _hoisted_1$
|
|
11619
|
+
var _hoisted_1$61 = ["draggable", "tabindex"];
|
|
11519
11620
|
//#endregion
|
|
11520
11621
|
//#region src/component/calendar/FluxCalendarItemDisplay.vue
|
|
11521
11622
|
var FluxCalendarItemDisplay_default = /* @__PURE__ */ defineComponent({
|
|
@@ -11588,13 +11689,13 @@ var FluxCalendarItemDisplay_default = /* @__PURE__ */ defineComponent({
|
|
|
11588
11689
|
onDragstart: onDragStart,
|
|
11589
11690
|
onDragend: onDragEnd,
|
|
11590
11691
|
onKeydown: _cache[0] || (_cache[0] = (...args) => unref(handleKeyDown) && unref(handleKeyDown)(...args))
|
|
11591
|
-
}, [createVNode(unref(RenderItemContent), { render: __props.data.renderContent }, null, 8, ["render"])], 42, _hoisted_1$
|
|
11692
|
+
}, [createVNode(unref(RenderItemContent), { render: __props.data.renderContent }, null, 8, ["render"])], 42, _hoisted_1$61);
|
|
11592
11693
|
};
|
|
11593
11694
|
}
|
|
11594
11695
|
});
|
|
11595
11696
|
//#endregion
|
|
11596
11697
|
//#region src/component/calendar/FluxCalendarMonthView.vue?vue&type=script&setup=true&lang.ts
|
|
11597
|
-
var _hoisted_1$
|
|
11698
|
+
var _hoisted_1$60 = [
|
|
11598
11699
|
"onDragover",
|
|
11599
11700
|
"onDragleave",
|
|
11600
11701
|
"onDrop"
|
|
@@ -11669,7 +11770,7 @@ var FluxCalendarMonthView_default = /* @__PURE__ */ defineComponent({
|
|
|
11669
11770
|
key: item.id,
|
|
11670
11771
|
data: item
|
|
11671
11772
|
}, null, 8, ["data"]);
|
|
11672
|
-
}), 128))], 2), createElementVNode("span", { class: normalizeClass(unref(Calendar_module_default).calendarEntryDate) }, toDisplayString(date.toLocaleString({ day: "numeric" })), 3)], 42, _hoisted_1$
|
|
11773
|
+
}), 128))], 2), createElementVNode("span", { class: normalizeClass(unref(Calendar_module_default).calendarEntryDate) }, toDisplayString(date.toLocaleString({ day: "numeric" })), 3)], 42, _hoisted_1$60);
|
|
11673
11774
|
}), 256))], 2))]),
|
|
11674
11775
|
_: 1
|
|
11675
11776
|
}, 8, ["is-back"]);
|
|
@@ -11678,18 +11779,18 @@ var FluxCalendarMonthView_default = /* @__PURE__ */ defineComponent({
|
|
|
11678
11779
|
});
|
|
11679
11780
|
//#endregion
|
|
11680
11781
|
//#region src/component/calendar/FluxCalendarTimeGridView.vue?vue&type=script&setup=true&lang.ts
|
|
11681
|
-
var _hoisted_1$
|
|
11782
|
+
var _hoisted_1$59 = [
|
|
11682
11783
|
"onDragover",
|
|
11683
11784
|
"onDragleave",
|
|
11684
11785
|
"onDrop"
|
|
11685
11786
|
];
|
|
11686
|
-
var _hoisted_2$
|
|
11787
|
+
var _hoisted_2$23 = [
|
|
11687
11788
|
"onDragover",
|
|
11688
11789
|
"onDragleave",
|
|
11689
11790
|
"onDrop"
|
|
11690
11791
|
];
|
|
11691
|
-
var _hoisted_3$
|
|
11692
|
-
var _hoisted_4$
|
|
11792
|
+
var _hoisted_3$7 = ["onMousedown"];
|
|
11793
|
+
var _hoisted_4$2 = ["onMousedown"];
|
|
11693
11794
|
//#endregion
|
|
11694
11795
|
//#region src/component/calendar/FluxCalendarTimeGridView.vue
|
|
11695
11796
|
var FluxCalendarTimeGridView_default = /* @__PURE__ */ defineComponent({
|
|
@@ -12030,7 +12131,7 @@ var FluxCalendarTimeGridView_default = /* @__PURE__ */ defineComponent({
|
|
|
12030
12131
|
key: item.id,
|
|
12031
12132
|
data: item
|
|
12032
12133
|
}, null, 8, ["data"]);
|
|
12033
|
-
}), 128))], 42, _hoisted_1$
|
|
12134
|
+
}), 128))], 42, _hoisted_1$59);
|
|
12034
12135
|
}), 128))], 2)], 2),
|
|
12035
12136
|
createElementVNode("div", { class: normalizeClass(unref(Calendar_module_default).timeGridBody) }, [createElementVNode("div", { class: normalizeClass(unref(Calendar_module_default).timeGridHours) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(hours.value, (hour) => {
|
|
12036
12137
|
return openBlock(), createElementBlock("div", {
|
|
@@ -12059,15 +12160,15 @@ var FluxCalendarTimeGridView_default = /* @__PURE__ */ defineComponent({
|
|
|
12059
12160
|
}, [createElementVNode("div", { class: normalizeClass(unref(Calendar_module_default).timeGridDayItemBody) }, [createVNode(FluxCalendarItemDisplay_default, { data: positioned.data }, null, 8, ["data"]), __props.draggable && !__props.hasActiveDrag ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createElementVNode("div", {
|
|
12060
12161
|
class: normalizeClass(unref(clsx)(unref(Calendar_module_default).timeGridDayItemHandle, unref(Calendar_module_default).isTop)),
|
|
12061
12162
|
onMousedown: (evt) => onResizeStart(positioned, "top", evt)
|
|
12062
|
-
}, null, 42, _hoisted_3$
|
|
12163
|
+
}, null, 42, _hoisted_3$7), createElementVNode("div", {
|
|
12063
12164
|
class: normalizeClass(unref(clsx)(unref(Calendar_module_default).timeGridDayItemHandle, unref(Calendar_module_default).isBottom)),
|
|
12064
12165
|
onMousedown: (evt) => onResizeStart(positioned, "bottom", evt)
|
|
12065
|
-
}, null, 42, _hoisted_4$
|
|
12166
|
+
}, null, 42, _hoisted_4$2)], 64)) : createCommentVNode("", true)], 2)], 6);
|
|
12066
12167
|
}), 128)), dropTargetDay.value === d.toSQLDate() && dropTargetMinutes.value !== null ? (openBlock(), createElementBlock("div", {
|
|
12067
12168
|
key: 0,
|
|
12068
12169
|
class: normalizeClass(unref(Calendar_module_default).timeGridDropIndicator),
|
|
12069
12170
|
style: normalizeStyle({ top: `${(dropTargetMinutes.value - __props.hourRange[0] * 60) * __props.pixelsPerMinute}px` })
|
|
12070
|
-
}, null, 6)) : createCommentVNode("", true)], 46, _hoisted_2$
|
|
12171
|
+
}, null, 6)) : createCommentVNode("", true)], 46, _hoisted_2$23);
|
|
12071
12172
|
}), 128))], 2)], 2)
|
|
12072
12173
|
], 2))]),
|
|
12073
12174
|
_: 1
|
|
@@ -12098,9 +12199,9 @@ var DatePicker_module_default = {
|
|
|
12098
12199
|
};
|
|
12099
12200
|
//#endregion
|
|
12100
12201
|
//#region src/component/FluxDatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
12101
|
-
var _hoisted_1$
|
|
12102
|
-
var _hoisted_2$
|
|
12103
|
-
var _hoisted_3$
|
|
12202
|
+
var _hoisted_1$58 = ["id"];
|
|
12203
|
+
var _hoisted_2$22 = ["aria-labelledby"];
|
|
12204
|
+
var _hoisted_3$6 = ["onClick", "onMouseover"];
|
|
12104
12205
|
//#endregion
|
|
12105
12206
|
//#region src/component/FluxDatePicker.vue
|
|
12106
12207
|
var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
@@ -12253,7 +12354,7 @@ var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
12253
12354
|
class: normalizeClass(unref(DatePicker_module_default).datePickerHeaderViewButton),
|
|
12254
12355
|
type: "button",
|
|
12255
12356
|
onClick: _cache[1] || (_cache[1] = ($event) => setView("year"))
|
|
12256
|
-
}, toDisplayString(unref(viewYear)), 3)], 10, _hoisted_1$
|
|
12357
|
+
}, toDisplayString(unref(viewYear)), 3)], 10, _hoisted_1$58),
|
|
12257
12358
|
createVNode(unref(FluxFadeTransition_default), null, {
|
|
12258
12359
|
default: withCtx(() => [viewMode.value === "date" ? (openBlock(), createBlock(FluxSecondaryButton_default, {
|
|
12259
12360
|
key: 0,
|
|
@@ -12290,10 +12391,10 @@ var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
12290
12391
|
onClick: ($event) => setDate(date),
|
|
12291
12392
|
onMouseover: ($event) => onDateMouseOver(date),
|
|
12292
12393
|
onMouseout: onDateMouseOut
|
|
12293
|
-
}, toDisplayString(date.toLocaleString({ day: "numeric" })), 43, _hoisted_3$
|
|
12394
|
+
}, toDisplayString(date.toLocaleString({ day: "numeric" })), 43, _hoisted_3$6);
|
|
12294
12395
|
}), 256))], 2))]),
|
|
12295
12396
|
_: 1
|
|
12296
|
-
}, 8, ["is-back"])], 10, _hoisted_2$
|
|
12397
|
+
}, 8, ["is-back"])], 10, _hoisted_2$22)) : viewMode.value === "month" ? (openBlock(), createElementBlock("div", {
|
|
12297
12398
|
key: "month",
|
|
12298
12399
|
class: normalizeClass(unref(DatePicker_module_default).datePickerMonths)
|
|
12299
12400
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(months), (month) => {
|
|
@@ -12364,9 +12465,9 @@ var FluxLayerPane_default = /* @__PURE__ */ defineComponent({
|
|
|
12364
12465
|
});
|
|
12365
12466
|
//#endregion
|
|
12366
12467
|
//#region src/component/FluxCalendar.vue?vue&type=script&setup=true&lang.ts
|
|
12367
|
-
var _hoisted_1$
|
|
12368
|
-
var _hoisted_2$
|
|
12369
|
-
var _hoisted_3$
|
|
12468
|
+
var _hoisted_1$57 = ["aria-label", "onClick"];
|
|
12469
|
+
var _hoisted_2$21 = ["aria-label", "onClick"];
|
|
12470
|
+
var _hoisted_3$5 = ["aria-label", "onClick"];
|
|
12370
12471
|
var SNAP_MINUTES = 30;
|
|
12371
12472
|
var NAV_HOVER_INITIAL_DELAY_MS = 700;
|
|
12372
12473
|
var NAV_HOVER_REPEAT_DELAY_MS = 450;
|
|
@@ -12691,7 +12792,7 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
12691
12792
|
"aria-label": unref(translate)("flux.selectMonth"),
|
|
12692
12793
|
type: "button",
|
|
12693
12794
|
onClick: open
|
|
12694
|
-
}, toDisplayString(unref(monthViewMonth)), 11, _hoisted_1$
|
|
12795
|
+
}, toDisplayString(unref(monthViewMonth)), 11, _hoisted_1$57)]),
|
|
12695
12796
|
default: withCtx(({ close }) => [createElementVNode("div", { class: normalizeClass(unref(DatePicker_module_default).datePickerMonths) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(months), (month) => {
|
|
12696
12797
|
return openBlock(), createBlock(FluxSecondaryButton_default, {
|
|
12697
12798
|
key: month.label,
|
|
@@ -12707,7 +12808,7 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
12707
12808
|
"aria-label": unref(translate)("flux.selectYear"),
|
|
12708
12809
|
type: "button",
|
|
12709
12810
|
onClick: open
|
|
12710
|
-
}, toDisplayString(unref(monthViewYear)), 11, _hoisted_2$
|
|
12811
|
+
}, toDisplayString(unref(monthViewYear)), 11, _hoisted_2$21)]),
|
|
12711
12812
|
default: withCtx(({ close }) => [createElementVNode("div", { class: normalizeClass(unref(DatePicker_module_default).datePickerYears) }, [
|
|
12712
12813
|
createVNode(FluxSecondaryButton_default, {
|
|
12713
12814
|
"aria-label": unref(translate)("flux.previousYears"),
|
|
@@ -12740,7 +12841,7 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
12740
12841
|
"aria-label": unref(translate)("flux.selectDate"),
|
|
12741
12842
|
type: "button",
|
|
12742
12843
|
onClick: open
|
|
12743
|
-
}, toDisplayString(rangeLabel.value), 11, _hoisted_3$
|
|
12844
|
+
}, toDisplayString(rangeLabel.value), 11, _hoisted_3$5)]),
|
|
12744
12845
|
default: withCtx(({ close }) => [createVNode(FluxDatePicker_default, {
|
|
12745
12846
|
"model-value": datePickerValue.value,
|
|
12746
12847
|
"onUpdate:modelValue": ($event) => {
|
|
@@ -12839,7 +12940,7 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
12839
12940
|
});
|
|
12840
12941
|
//#endregion
|
|
12841
12942
|
//#region src/component/FluxCalendarItem.vue?vue&type=script&setup=true&lang.ts
|
|
12842
|
-
var _hoisted_1$
|
|
12943
|
+
var _hoisted_1$56 = {
|
|
12843
12944
|
"aria-hidden": "true",
|
|
12844
12945
|
style: { "display": "none" }
|
|
12845
12946
|
};
|
|
@@ -12892,170 +12993,7 @@ var FluxCalendarItem_default = /* @__PURE__ */ defineComponent({
|
|
|
12892
12993
|
if (dragContext && props.id != null) dragContext.registerItem(props.id, buildData());
|
|
12893
12994
|
});
|
|
12894
12995
|
return (_ctx, _cache) => {
|
|
12895
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
12896
|
-
};
|
|
12897
|
-
}
|
|
12898
|
-
});
|
|
12899
|
-
//#endregion
|
|
12900
|
-
//#region src/css/component/Form.module.scss
|
|
12901
|
-
var { "basePane": _0$11 } = Pane_module_default$1;
|
|
12902
|
-
var Form_module_default = {
|
|
12903
|
-
formInputGroup: `form-input-group form-input-enabled form-input`,
|
|
12904
|
-
buttonGroup: `button-group`,
|
|
12905
|
-
button: `button`,
|
|
12906
|
-
formInput: `form-input`,
|
|
12907
|
-
formSelect: `form-select form-input`,
|
|
12908
|
-
formStructureElement: `form-structure-element`,
|
|
12909
|
-
form: `form form-structure-element`,
|
|
12910
|
-
pane: `pane`,
|
|
12911
|
-
formColumn: `form-column form-structure-element`,
|
|
12912
|
-
formSection: `form-section form-structure-element`,
|
|
12913
|
-
formGrid: `form-grid`,
|
|
12914
|
-
formRow: `form-row`,
|
|
12915
|
-
formSectionTitle: `form-section-title`,
|
|
12916
|
-
formField: `form-field`,
|
|
12917
|
-
formFieldHeader: `form-field-header`,
|
|
12918
|
-
formFieldLabel: `form-field-label`,
|
|
12919
|
-
formFieldOptional: `form-field-optional`,
|
|
12920
|
-
formFieldValue: `form-field-value`,
|
|
12921
|
-
formFieldCounter: `form-field-counter`,
|
|
12922
|
-
formFieldAddition: `form-field-addition`,
|
|
12923
|
-
formFieldAdditionIcon: `form-field-addition-icon`,
|
|
12924
|
-
formFieldAdditionError: `form-field-addition-error form-field-addition`,
|
|
12925
|
-
formFieldAdditionHint: `form-field-addition-hint form-field-addition`,
|
|
12926
|
-
isSecondary: `is-secondary`,
|
|
12927
|
-
isCondensed: `is-condensed`,
|
|
12928
|
-
isInvalid: `is-invalid`,
|
|
12929
|
-
formInputDisabled: `form-input-disabled form-input`,
|
|
12930
|
-
formInputEnabled: `form-input-enabled form-input`,
|
|
12931
|
-
formInputIcon: `form-input-icon`,
|
|
12932
|
-
formInputIconTrailing: `form-input-icon-trailing form-input-icon`,
|
|
12933
|
-
formInputIconLeading: `form-input-icon-leading form-input-icon`,
|
|
12934
|
-
formInputIconPasswordToggle: `form-input-icon-password-toggle form-input-icon-trailing form-input-icon`,
|
|
12935
|
-
formInputNative: `form-input-native`,
|
|
12936
|
-
formInputNativeHasIconLeading: `form-input-native-has-icon-leading`,
|
|
12937
|
-
formInputNativeHasIconTrailing: `form-input-native-has-icon-trailing`,
|
|
12938
|
-
formInputAddition: `form-input-addition form-input`,
|
|
12939
|
-
secondaryButton: `secondary-button`,
|
|
12940
|
-
buttonIcon: `button-icon`,
|
|
12941
|
-
formDateInput: `form-date-input`,
|
|
12942
|
-
formDateRangeInput: `form-date-range-input form-input`,
|
|
12943
|
-
formDateTimeInput: `form-date-time-input`,
|
|
12944
|
-
inputGroup: `input-group`,
|
|
12945
|
-
formTimeInput: `form-time-input form-date-input`,
|
|
12946
|
-
isDisabled: `is-disabled`,
|
|
12947
|
-
isFocused: `is-focused`,
|
|
12948
|
-
badge: `badge`,
|
|
12949
|
-
formSelectIcon: `form-select-icon`,
|
|
12950
|
-
formSelectInput: `form-select-input`,
|
|
12951
|
-
formSelectPlaceholder: `form-select-placeholder`,
|
|
12952
|
-
formSelectPopup: `form-select-popup ${_0$11}`,
|
|
12953
|
-
menuItem: `menu-item`,
|
|
12954
|
-
isKeyboardAction: `is-keyboard-action`,
|
|
12955
|
-
isSearchable: `is-searchable`,
|
|
12956
|
-
menuSubHeader: `menu-sub-header`,
|
|
12957
|
-
formSelectSelected: `form-select-selected`,
|
|
12958
|
-
buttonLabel: `button-label`,
|
|
12959
|
-
formTextArea: `form-text-area`,
|
|
12960
|
-
formTextAreaDisabled: `form-text-area-disabled form-input-disabled form-input form-text-area`,
|
|
12961
|
-
formTextAreaEnabled: `form-text-area-enabled form-input-enabled form-input form-text-area`,
|
|
12962
|
-
checkbox: `checkbox`,
|
|
12963
|
-
checkboxElement: `checkbox-element`,
|
|
12964
|
-
checkboxLabel: `checkbox-label`,
|
|
12965
|
-
isReadonly: `is-readonly`,
|
|
12966
|
-
checkboxNative: `checkbox-native`,
|
|
12967
|
-
icon: `icon`,
|
|
12968
|
-
quantitySelector: `quantity-selector`,
|
|
12969
|
-
quantitySelectorButton: `quantity-selector-button`,
|
|
12970
|
-
quantitySelectorInput: `quantity-selector-input form-input`,
|
|
12971
|
-
pinInput: `pin-input`,
|
|
12972
|
-
pinInputField: `pin-input-field`,
|
|
12973
|
-
pinInputEnabled: `pin-input-enabled pin-input`,
|
|
12974
|
-
pinInputDisabled: `pin-input-disabled pin-input`,
|
|
12975
|
-
toggle: `toggle`,
|
|
12976
|
-
toggleInput: `toggle-input`,
|
|
12977
|
-
isChecked: `is-checked`,
|
|
12978
|
-
isSwitch: `is-switch`,
|
|
12979
|
-
toggleIcon: `toggle-icon`,
|
|
12980
|
-
toggleIconOn: `toggle-icon-on toggle-icon`,
|
|
12981
|
-
toggleIconOff: `toggle-icon-off toggle-icon`
|
|
12982
|
-
};
|
|
12983
|
-
//#endregion
|
|
12984
|
-
//#region src/component/FluxCheckbox.vue?vue&type=script&setup=true&lang.ts
|
|
12985
|
-
var _hoisted_1$51 = ["for"];
|
|
12986
|
-
var _hoisted_2$18 = [
|
|
12987
|
-
"id",
|
|
12988
|
-
"disabled",
|
|
12989
|
-
"aria-disabled",
|
|
12990
|
-
"aria-readonly",
|
|
12991
|
-
"aria-invalid"
|
|
12992
|
-
];
|
|
12993
|
-
//#endregion
|
|
12994
|
-
//#region src/component/FluxCheckbox.vue
|
|
12995
|
-
var FluxCheckbox_default = /* @__PURE__ */ defineComponent({
|
|
12996
|
-
__name: "FluxCheckbox",
|
|
12997
|
-
props: /*@__PURE__*/ mergeModels({
|
|
12998
|
-
disabled: { type: Boolean },
|
|
12999
|
-
error: {},
|
|
13000
|
-
isReadonly: { type: Boolean },
|
|
13001
|
-
label: {}
|
|
13002
|
-
}, {
|
|
13003
|
-
"modelValue": {
|
|
13004
|
-
type: [Boolean, null],
|
|
13005
|
-
default: false
|
|
13006
|
-
},
|
|
13007
|
-
"modelModifiers": {}
|
|
13008
|
-
}),
|
|
13009
|
-
emits: ["update:modelValue"],
|
|
13010
|
-
setup(__props) {
|
|
13011
|
-
const modelValue = useModel(__props, "modelValue");
|
|
13012
|
-
const inputRef = useTemplateRef("input");
|
|
13013
|
-
const { id } = useFormFieldInjection_default();
|
|
13014
|
-
const disabled = useDisabled_default(toRef(() => __props.disabled));
|
|
13015
|
-
const isIndeterminate = computed(() => unref(modelValue) === null);
|
|
13016
|
-
function onClick(evt) {
|
|
13017
|
-
if (__props.isReadonly) evt.preventDefault();
|
|
13018
|
-
}
|
|
13019
|
-
watchEffect(() => {
|
|
13020
|
-
const input = unref(inputRef);
|
|
13021
|
-
if (!input) return;
|
|
13022
|
-
input.indeterminate = unref(isIndeterminate);
|
|
13023
|
-
});
|
|
13024
|
-
return (_ctx, _cache) => {
|
|
13025
|
-
return openBlock(), createElementBlock("label", {
|
|
13026
|
-
class: normalizeClass(unref(clsx)(unref(Form_module_default).checkbox, unref(disabled) && unref(Form_module_default).isDisabled, __props.isReadonly && unref(Form_module_default).isReadonly, __props.error && unref(Form_module_default).isInvalid)),
|
|
13027
|
-
for: unref(id)
|
|
13028
|
-
}, [
|
|
13029
|
-
withDirectives(createElementVNode("input", {
|
|
13030
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
13031
|
-
ref: "input",
|
|
13032
|
-
type: "checkbox",
|
|
13033
|
-
class: normalizeClass(unref(Form_module_default).checkboxNative),
|
|
13034
|
-
id: unref(id),
|
|
13035
|
-
disabled: unref(disabled),
|
|
13036
|
-
"aria-disabled": unref(disabled) ? true : void 0,
|
|
13037
|
-
"aria-readonly": __props.isReadonly ? true : void 0,
|
|
13038
|
-
"aria-invalid": __props.error ? true : void 0,
|
|
13039
|
-
onClick
|
|
13040
|
-
}, null, 10, _hoisted_2$18), [[vModelCheckbox, modelValue.value]]),
|
|
13041
|
-
createElementVNode("button", {
|
|
13042
|
-
"aria-hidden": "true",
|
|
13043
|
-
class: normalizeClass(unref(Form_module_default).checkboxElement),
|
|
13044
|
-
tabindex: "-1"
|
|
13045
|
-
}, [isIndeterminate.value ? (openBlock(), createBlock(FluxIcon_default, {
|
|
13046
|
-
key: 0,
|
|
13047
|
-
name: "minus",
|
|
13048
|
-
size: 12
|
|
13049
|
-
})) : (openBlock(), createBlock(FluxIcon_default, {
|
|
13050
|
-
key: 1,
|
|
13051
|
-
name: "check",
|
|
13052
|
-
size: 12
|
|
13053
|
-
}))], 2),
|
|
13054
|
-
__props.label ? (openBlock(), createElementBlock("span", {
|
|
13055
|
-
key: 0,
|
|
13056
|
-
class: normalizeClass(unref(Form_module_default).checkboxLabel)
|
|
13057
|
-
}, toDisplayString(__props.label), 3)) : createCommentVNode("", true)
|
|
13058
|
-
], 10, _hoisted_1$51);
|
|
12996
|
+
return openBlock(), createElementBlock("span", _hoisted_1$56);
|
|
13059
12997
|
};
|
|
13060
12998
|
}
|
|
13061
12999
|
});
|
|
@@ -13214,7 +13152,7 @@ var FluxCommandPaletteGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
13214
13152
|
});
|
|
13215
13153
|
//#endregion
|
|
13216
13154
|
//#region src/component/FluxTag.vue?vue&type=script&setup=true&lang.ts
|
|
13217
|
-
var _hoisted_1$
|
|
13155
|
+
var _hoisted_1$55 = ["aria-label"];
|
|
13218
13156
|
//#endregion
|
|
13219
13157
|
//#region src/component/FluxTag.vue
|
|
13220
13158
|
var FluxTag_default = /* @__PURE__ */ defineComponent({
|
|
@@ -13282,7 +13220,7 @@ var FluxTag_default = /* @__PURE__ */ defineComponent({
|
|
|
13282
13220
|
type: "button",
|
|
13283
13221
|
"aria-label": unref(translate)("flux.delete"),
|
|
13284
13222
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => onDeleteClick(), ["stop"]))
|
|
13285
|
-
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$
|
|
13223
|
+
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$55)) : createCommentVNode("", true)
|
|
13286
13224
|
]),
|
|
13287
13225
|
_: 1
|
|
13288
13226
|
}, 8, [
|
|
@@ -13344,8 +13282,8 @@ var FluxCommandPaletteItem_default = /* @__PURE__ */ defineComponent({
|
|
|
13344
13282
|
});
|
|
13345
13283
|
//#endregion
|
|
13346
13284
|
//#region src/component/FluxCommandPalette.vue?vue&type=script&setup=true&lang.ts
|
|
13347
|
-
var _hoisted_1$
|
|
13348
|
-
var _hoisted_2$
|
|
13285
|
+
var _hoisted_1$54 = ["placeholder", "value"];
|
|
13286
|
+
var _hoisted_2$20 = ["onClick"];
|
|
13349
13287
|
//#endregion
|
|
13350
13288
|
//#region src/component/FluxCommandPalette.vue
|
|
13351
13289
|
var FluxCommandPalette_default = /* @__PURE__ */ defineComponent({
|
|
@@ -13504,7 +13442,7 @@ var FluxCommandPalette_default = /* @__PURE__ */ defineComponent({
|
|
|
13504
13442
|
value: unref(search),
|
|
13505
13443
|
type: "text",
|
|
13506
13444
|
onInput: _cache[2] || (_cache[2] = ($event) => unref(setSearch)($event.target.value))
|
|
13507
|
-
}, null, 42, _hoisted_1$
|
|
13445
|
+
}, null, 42, _hoisted_1$54),
|
|
13508
13446
|
createVNode(FluxTag_default, {
|
|
13509
13447
|
"is-keyboard-shortcut": "",
|
|
13510
13448
|
label: "Esc"
|
|
@@ -13531,7 +13469,7 @@ var FluxCommandPalette_default = /* @__PURE__ */ defineComponent({
|
|
|
13531
13469
|
key: 0,
|
|
13532
13470
|
class: normalizeClass(unref(CommandPalette_module_default).commandPaletteTabIcon),
|
|
13533
13471
|
name: tab.icon
|
|
13534
|
-
}, null, 8, ["class", "name"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(tab.label), 1)], 42, _hoisted_2$
|
|
13472
|
+
}, null, 8, ["class", "name"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(tab.label), 1)], 42, _hoisted_2$20);
|
|
13535
13473
|
}), 128))], 2)) : createCommentVNode("", true),
|
|
13536
13474
|
createVNode(unref(FluxWindowTransition_default), { "is-back": unref(isTransitioningBack) }, {
|
|
13537
13475
|
default: withCtx(() => [(openBlock(), createElementBlock("div", {
|
|
@@ -13608,8 +13546,8 @@ var Comment_module_default = {
|
|
|
13608
13546
|
};
|
|
13609
13547
|
//#endregion
|
|
13610
13548
|
//#region src/component/FluxComment.vue?vue&type=script&setup=true&lang.ts
|
|
13611
|
-
var _hoisted_1$
|
|
13612
|
-
var _hoisted_2$
|
|
13549
|
+
var _hoisted_1$53 = { key: 0 };
|
|
13550
|
+
var _hoisted_2$19 = ["datetime"];
|
|
13613
13551
|
//#endregion
|
|
13614
13552
|
//#region src/component/FluxComment.vue
|
|
13615
13553
|
var FluxComment_default = /* @__PURE__ */ defineComponent({
|
|
@@ -13669,17 +13607,113 @@ var FluxComment_default = /* @__PURE__ */ defineComponent({
|
|
|
13669
13607
|
key: 0,
|
|
13670
13608
|
class: normalizeClass(unref(Comment_module_default).commentTyping)
|
|
13671
13609
|
}, null, 2)) : renderSlot(_ctx.$slots, "default", { key: 1 })], 2),
|
|
13672
|
-
createElementVNode("div", { class: normalizeClass(unref(Comment_module_default).commentFooter) }, [__props.isReceived && __props.postedBy ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
13610
|
+
createElementVNode("div", { class: normalizeClass(unref(Comment_module_default).commentFooter) }, [__props.isReceived && __props.postedBy ? (openBlock(), createElementBlock("span", _hoisted_1$53, toDisplayString(__props.postedBy), 1)) : createCommentVNode("", true), iso.value && relative.value && !__props.isTyping ? (openBlock(), createElementBlock("time", {
|
|
13673
13611
|
key: 1,
|
|
13674
13612
|
datetime: iso.value
|
|
13675
|
-
}, toDisplayString(isJustNowVisible.value ? unref(translate)("flux.justNow") : relative.value), 9, _hoisted_2$
|
|
13613
|
+
}, toDisplayString(isJustNowVisible.value ? unref(translate)("flux.justNow") : relative.value), 9, _hoisted_2$19)) : createCommentVNode("", true)], 2)
|
|
13676
13614
|
], 2);
|
|
13677
13615
|
};
|
|
13678
13616
|
}
|
|
13679
13617
|
});
|
|
13680
13618
|
//#endregion
|
|
13619
|
+
//#region src/css/component/Form.module.scss
|
|
13620
|
+
var { "basePane": _0$11 } = Pane_module_default$1;
|
|
13621
|
+
var Form_module_default = {
|
|
13622
|
+
formInputGroup: `form-input-group form-input-enabled form-input`,
|
|
13623
|
+
buttonGroup: `button-group`,
|
|
13624
|
+
button: `button`,
|
|
13625
|
+
formInput: `form-input`,
|
|
13626
|
+
formSelect: `form-select form-input`,
|
|
13627
|
+
formStructureElement: `form-structure-element`,
|
|
13628
|
+
form: `form form-structure-element`,
|
|
13629
|
+
pane: `pane`,
|
|
13630
|
+
formColumn: `form-column form-structure-element`,
|
|
13631
|
+
formSection: `form-section form-structure-element`,
|
|
13632
|
+
formGrid: `form-grid`,
|
|
13633
|
+
formRow: `form-row`,
|
|
13634
|
+
formSectionTitle: `form-section-title`,
|
|
13635
|
+
formField: `form-field`,
|
|
13636
|
+
formFieldHeader: `form-field-header`,
|
|
13637
|
+
formFieldLabel: `form-field-label`,
|
|
13638
|
+
formFieldOptional: `form-field-optional`,
|
|
13639
|
+
formFieldValue: `form-field-value`,
|
|
13640
|
+
formFieldCounter: `form-field-counter`,
|
|
13641
|
+
formFieldAddition: `form-field-addition`,
|
|
13642
|
+
formFieldAdditionIcon: `form-field-addition-icon`,
|
|
13643
|
+
formFieldAdditionError: `form-field-addition-error form-field-addition`,
|
|
13644
|
+
formFieldAdditionHint: `form-field-addition-hint form-field-addition`,
|
|
13645
|
+
isSecondary: `is-secondary`,
|
|
13646
|
+
isCondensed: `is-condensed`,
|
|
13647
|
+
isInvalid: `is-invalid`,
|
|
13648
|
+
formInputDisabled: `form-input-disabled form-input`,
|
|
13649
|
+
formInputEnabled: `form-input-enabled form-input`,
|
|
13650
|
+
formInputIcon: `form-input-icon`,
|
|
13651
|
+
formInputIconTrailing: `form-input-icon-trailing form-input-icon`,
|
|
13652
|
+
formInputIconLeading: `form-input-icon-leading form-input-icon`,
|
|
13653
|
+
formInputIconPasswordToggle: `form-input-icon-password-toggle form-input-icon-trailing form-input-icon`,
|
|
13654
|
+
formInputNative: `form-input-native`,
|
|
13655
|
+
formInputNativeHasIconLeading: `form-input-native-has-icon-leading`,
|
|
13656
|
+
formInputNativeHasIconTrailing: `form-input-native-has-icon-trailing`,
|
|
13657
|
+
formNumberInputNative: `form-number-input-native form-input-native`,
|
|
13658
|
+
formNumberInputButtons: `form-number-input-buttons`,
|
|
13659
|
+
formNumberInputButton: `form-number-input-button`,
|
|
13660
|
+
formInputAddition: `form-input-addition form-input`,
|
|
13661
|
+
secondaryButton: `secondary-button`,
|
|
13662
|
+
buttonIcon: `button-icon`,
|
|
13663
|
+
formDateInput: `form-date-input`,
|
|
13664
|
+
formDateRangeInput: `form-date-range-input form-input`,
|
|
13665
|
+
formDateTimeInput: `form-date-time-input`,
|
|
13666
|
+
inputGroup: `input-group`,
|
|
13667
|
+
formTimeInput: `form-time-input form-date-input`,
|
|
13668
|
+
isDisabled: `is-disabled`,
|
|
13669
|
+
isFocused: `is-focused`,
|
|
13670
|
+
badge: `badge`,
|
|
13671
|
+
formSelectIcon: `form-select-icon`,
|
|
13672
|
+
formSelectInput: `form-select-input`,
|
|
13673
|
+
formSelectPlaceholder: `form-select-placeholder`,
|
|
13674
|
+
formSelectPopup: `form-select-popup ${_0$11}`,
|
|
13675
|
+
menuItem: `menu-item`,
|
|
13676
|
+
isKeyboardAction: `is-keyboard-action`,
|
|
13677
|
+
isSearchable: `is-searchable`,
|
|
13678
|
+
menuSubHeader: `menu-sub-header`,
|
|
13679
|
+
formSelectSelected: `form-select-selected`,
|
|
13680
|
+
buttonLabel: `button-label`,
|
|
13681
|
+
formTextArea: `form-text-area`,
|
|
13682
|
+
formTextAreaDisabled: `form-text-area-disabled form-input-disabled form-input form-text-area`,
|
|
13683
|
+
formTextAreaEnabled: `form-text-area-enabled form-input-enabled form-input form-text-area`,
|
|
13684
|
+
formCheckboxGroup: `form-checkbox-group`,
|
|
13685
|
+
isInline: `is-inline`,
|
|
13686
|
+
formCheckbox: `form-checkbox`,
|
|
13687
|
+
formCheckboxElement: `form-checkbox-element`,
|
|
13688
|
+
formCheckboxLabel: `form-checkbox-label`,
|
|
13689
|
+
isReadonly: `is-readonly`,
|
|
13690
|
+
formCheckboxNative: `form-checkbox-native`,
|
|
13691
|
+
icon: `icon`,
|
|
13692
|
+
formCheckboxText: `form-checkbox-text`,
|
|
13693
|
+
formCheckboxSubLabel: `form-checkbox-sub-label`,
|
|
13694
|
+
formRadioGroup: `form-radio-group`,
|
|
13695
|
+
formRadio: `form-radio`,
|
|
13696
|
+
formRadioElement: `form-radio-element`,
|
|
13697
|
+
formRadioLabel: `form-radio-label`,
|
|
13698
|
+
formRadioNative: `form-radio-native`,
|
|
13699
|
+
formQuantitySelector: `form-quantity-selector`,
|
|
13700
|
+
formQuantitySelectorButton: `form-quantity-selector-button`,
|
|
13701
|
+
formQuantitySelectorInput: `form-quantity-selector-input form-input`,
|
|
13702
|
+
formPinInput: `form-pin-input`,
|
|
13703
|
+
formPinInputField: `form-pin-input-field`,
|
|
13704
|
+
formPinInputEnabled: `form-pin-input-enabled form-pin-input`,
|
|
13705
|
+
formPinInputDisabled: `form-pin-input-disabled form-pin-input`,
|
|
13706
|
+
formToggle: `form-toggle`,
|
|
13707
|
+
formToggleInput: `form-toggle-input`,
|
|
13708
|
+
isChecked: `is-checked`,
|
|
13709
|
+
isSwitch: `is-switch`,
|
|
13710
|
+
formToggleIcon: `form-toggle-icon`,
|
|
13711
|
+
formToggleIconOn: `form-toggle-icon-on form-toggle-icon`,
|
|
13712
|
+
formToggleIconOff: `form-toggle-icon-off form-toggle-icon`
|
|
13713
|
+
};
|
|
13714
|
+
//#endregion
|
|
13681
13715
|
//#region src/component/FluxFormFieldAddition.vue?vue&type=script&setup=true&lang.ts
|
|
13682
|
-
var _hoisted_1$
|
|
13716
|
+
var _hoisted_1$52 = { key: 1 };
|
|
13683
13717
|
//#endregion
|
|
13684
13718
|
//#region src/component/FluxFormFieldAddition.vue
|
|
13685
13719
|
var FluxFormFieldAddition_default = /* @__PURE__ */ defineComponent({
|
|
@@ -13701,7 +13735,7 @@ var FluxFormFieldAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
13701
13735
|
name: __props.icon,
|
|
13702
13736
|
size: 16
|
|
13703
13737
|
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
13704
|
-
__props.message ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
13738
|
+
__props.message ? (openBlock(), createElementBlock("span", _hoisted_1$52, toDisplayString(__props.message), 1)) : createCommentVNode("", true),
|
|
13705
13739
|
renderSlot(_ctx.$slots, "default")
|
|
13706
13740
|
], 2);
|
|
13707
13741
|
};
|
|
@@ -13709,12 +13743,14 @@ var FluxFormFieldAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
13709
13743
|
});
|
|
13710
13744
|
//#endregion
|
|
13711
13745
|
//#region src/component/FluxFormField.vue?vue&type=script&setup=true&lang.ts
|
|
13712
|
-
var _hoisted_1$
|
|
13746
|
+
var _hoisted_1$51 = ["role", "aria-labelledby"];
|
|
13747
|
+
var _hoisted_2$18 = ["id"];
|
|
13713
13748
|
//#endregion
|
|
13714
13749
|
//#region src/component/FluxFormField.vue
|
|
13715
13750
|
var FluxFormField_default = /* @__PURE__ */ defineComponent({
|
|
13716
13751
|
__name: "FluxFormField",
|
|
13717
13752
|
props: {
|
|
13753
|
+
as: { default: "field" },
|
|
13718
13754
|
currentLength: {},
|
|
13719
13755
|
error: {},
|
|
13720
13756
|
hint: {},
|
|
@@ -13725,35 +13761,51 @@ var FluxFormField_default = /* @__PURE__ */ defineComponent({
|
|
|
13725
13761
|
setup(__props) {
|
|
13726
13762
|
const slots = useSlots();
|
|
13727
13763
|
const id = useId();
|
|
13764
|
+
const labelId = useId();
|
|
13728
13765
|
const translate = useTranslate_default();
|
|
13729
|
-
|
|
13766
|
+
const isGroup = computed(() => __props.as === "group");
|
|
13767
|
+
let controlCount = 0;
|
|
13768
|
+
provide(FluxFormFieldInjectionKey, {
|
|
13769
|
+
id,
|
|
13770
|
+
labelId,
|
|
13771
|
+
isGroup: __props.as === "group",
|
|
13772
|
+
registerControl: () => controlCount++ === 0 ? id : `${id}-${controlCount - 1}`
|
|
13773
|
+
});
|
|
13730
13774
|
return (_ctx, _cache) => {
|
|
13731
|
-
return openBlock(), createElementBlock("div", {
|
|
13732
|
-
|
|
13733
|
-
|
|
13775
|
+
return openBlock(), createElementBlock("div", {
|
|
13776
|
+
class: normalizeClass(unref(Form_module_default).formField),
|
|
13777
|
+
role: isGroup.value ? "group" : void 0,
|
|
13778
|
+
"aria-labelledby": isGroup.value && __props.label ? unref(labelId) : void 0
|
|
13779
|
+
}, [
|
|
13780
|
+
(openBlock(), createBlock(resolveDynamicComponent(isGroup.value ? "div" : "label"), {
|
|
13781
|
+
for: isGroup.value ? void 0 : unref(id),
|
|
13734
13782
|
class: normalizeClass(unref(Form_module_default).formFieldHeader)
|
|
13735
|
-
},
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13753
|
-
|
|
13754
|
-
|
|
13755
|
-
|
|
13756
|
-
|
|
13783
|
+
}, {
|
|
13784
|
+
default: withCtx(() => [
|
|
13785
|
+
__props.label ? (openBlock(), createElementBlock("span", {
|
|
13786
|
+
key: 0,
|
|
13787
|
+
id: isGroup.value ? unref(labelId) : void 0,
|
|
13788
|
+
class: normalizeClass(unref(Form_module_default).formFieldLabel)
|
|
13789
|
+
}, toDisplayString(__props.label), 11, _hoisted_2$18)) : createCommentVNode("", true),
|
|
13790
|
+
__props.isOptional ? (openBlock(), createElementBlock("span", {
|
|
13791
|
+
key: 1,
|
|
13792
|
+
class: normalizeClass(unref(Form_module_default).formFieldOptional)
|
|
13793
|
+
}, " (" + toDisplayString(unref(translate)("flux.optional")) + ") ", 3)) : createCommentVNode("", true),
|
|
13794
|
+
"value" in slots ? (openBlock(), createElementBlock("span", {
|
|
13795
|
+
key: 2,
|
|
13796
|
+
class: normalizeClass(unref(Form_module_default).formFieldValue)
|
|
13797
|
+
}, [renderSlot(_ctx.$slots, "value", normalizeProps(guardReactiveProps({
|
|
13798
|
+
currentLength: __props.currentLength,
|
|
13799
|
+
error: __props.error,
|
|
13800
|
+
hint: __props.hint,
|
|
13801
|
+
id: unref(id),
|
|
13802
|
+
isOptional: __props.isOptional,
|
|
13803
|
+
label: __props.label,
|
|
13804
|
+
maxLength: __props.maxLength
|
|
13805
|
+
})))], 2)) : createCommentVNode("", true)
|
|
13806
|
+
]),
|
|
13807
|
+
_: 3
|
|
13808
|
+
}, 8, ["for", "class"])),
|
|
13757
13809
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ id: unref(id) }))),
|
|
13758
13810
|
__props.currentLength && __props.maxLength && __props.maxLength > 0 ? (openBlock(), createElementBlock("span", {
|
|
13759
13811
|
key: 0,
|
|
@@ -13779,14 +13831,14 @@ var FluxFormField_default = /* @__PURE__ */ defineComponent({
|
|
|
13779
13831
|
label: __props.label,
|
|
13780
13832
|
maxLength: __props.maxLength
|
|
13781
13833
|
})))
|
|
13782
|
-
],
|
|
13834
|
+
], 10, _hoisted_1$51);
|
|
13783
13835
|
};
|
|
13784
13836
|
}
|
|
13785
13837
|
});
|
|
13786
13838
|
//#endregion
|
|
13787
13839
|
//#region src/component/FluxFormInput.vue?vue&type=script&setup=true&lang.ts
|
|
13788
|
-
var _hoisted_1$
|
|
13789
|
-
var _hoisted_2$
|
|
13840
|
+
var _hoisted_1$50 = ["aria-disabled"];
|
|
13841
|
+
var _hoisted_2$17 = [
|
|
13790
13842
|
"id",
|
|
13791
13843
|
"name",
|
|
13792
13844
|
"autocomplete",
|
|
@@ -13986,7 +14038,7 @@ var FluxFormInput_default = /* @__PURE__ */ defineComponent({
|
|
|
13986
14038
|
onFocus: _cache[1] || (_cache[1] = ($event) => onFocus()),
|
|
13987
14039
|
onInput,
|
|
13988
14040
|
onKeydown: onKeyDown
|
|
13989
|
-
}, null, 42, _hoisted_2$
|
|
14041
|
+
}, null, 42, _hoisted_2$17),
|
|
13990
14042
|
__props.iconLeading ? (openBlock(), createBlock(FluxIcon_default, {
|
|
13991
14043
|
key: 0,
|
|
13992
14044
|
class: normalizeClass(unref(Form_module_default).formInputIconLeading),
|
|
@@ -14010,7 +14062,7 @@ var FluxFormInput_default = /* @__PURE__ */ defineComponent({
|
|
|
14010
14062
|
class: normalizeClass(unref(Form_module_default).formInputIconTrailing),
|
|
14011
14063
|
size: 18
|
|
14012
14064
|
}, null, 8, ["class"])) : createCommentVNode("", true)
|
|
14013
|
-
], 10, _hoisted_1$
|
|
14065
|
+
], 10, _hoisted_1$50);
|
|
14014
14066
|
};
|
|
14015
14067
|
}
|
|
14016
14068
|
});
|
|
@@ -14058,7 +14110,7 @@ var AnchorPopup_default = /* @__PURE__ */ defineComponent({
|
|
|
14058
14110
|
window.removeEventListener("resize", onResize);
|
|
14059
14111
|
window.removeEventListener("scroll", onScroll, { capture: true });
|
|
14060
14112
|
});
|
|
14061
|
-
|
|
14113
|
+
ye$1(popupRef, () => {
|
|
14062
14114
|
reposition();
|
|
14063
14115
|
}, {
|
|
14064
14116
|
childList: true,
|
|
@@ -14181,8 +14233,8 @@ var FluxPaneFooter_default = /* @__PURE__ */ defineComponent({
|
|
|
14181
14233
|
});
|
|
14182
14234
|
//#endregion
|
|
14183
14235
|
//#region src/component/FluxPaneHeader.vue?vue&type=script&setup=true&lang.ts
|
|
14184
|
-
var _hoisted_1$
|
|
14185
|
-
var _hoisted_2$
|
|
14236
|
+
var _hoisted_1$49 = { key: 0 };
|
|
14237
|
+
var _hoisted_2$16 = { key: 1 };
|
|
14186
14238
|
//#endregion
|
|
14187
14239
|
//#region src/component/FluxPaneHeader.vue
|
|
14188
14240
|
var FluxPaneHeader_default = /* @__PURE__ */ defineComponent({
|
|
@@ -14205,7 +14257,7 @@ var FluxPaneHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
14205
14257
|
__props.title || __props.subtitle ? (openBlock(), createElementBlock("div", {
|
|
14206
14258
|
key: 1,
|
|
14207
14259
|
class: normalizeClass(unref(Pane_module_default).paneHeaderCaption)
|
|
14208
|
-
}, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$
|
|
14260
|
+
}, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$49, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.subtitle ? (openBlock(), createElementBlock("span", _hoisted_2$16, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
|
|
14209
14261
|
renderSlot(_ctx.$slots, "after")
|
|
14210
14262
|
], 2);
|
|
14211
14263
|
};
|
|
@@ -14287,7 +14339,7 @@ var FilterBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
14287
14339
|
emits: ["click"],
|
|
14288
14340
|
setup(__props, { emit: __emit }) {
|
|
14289
14341
|
const emit = __emit;
|
|
14290
|
-
const { isLoading, loaded } =
|
|
14342
|
+
const { isLoading, loaded } = Y$1();
|
|
14291
14343
|
const getValueLabel = computed(() => loaded(__props.item.getValueLabel));
|
|
14292
14344
|
const valueLabel = ref();
|
|
14293
14345
|
function onClick(evt) {
|
|
@@ -14373,7 +14425,7 @@ var FluxMenuGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
14373
14425
|
});
|
|
14374
14426
|
//#endregion
|
|
14375
14427
|
//#region src/component/FluxMenuItem.vue?vue&type=script&setup=true&lang.ts
|
|
14376
|
-
var _hoisted_1$
|
|
14428
|
+
var _hoisted_1$48 = ["src", "alt"];
|
|
14377
14429
|
//#endregion
|
|
14378
14430
|
//#region src/component/FluxMenuItem.vue
|
|
14379
14431
|
var FluxMenuItem_default = /* @__PURE__ */ defineComponent({
|
|
@@ -14450,7 +14502,7 @@ var FluxMenuItem_default = /* @__PURE__ */ defineComponent({
|
|
|
14450
14502
|
class: normalizeClass(unref(Menu_module_default).menuItemImage),
|
|
14451
14503
|
src: __props.imageSrc,
|
|
14452
14504
|
alt: __props.imageAlt ?? ""
|
|
14453
|
-
}, null, 10, _hoisted_1$
|
|
14505
|
+
}, null, 10, _hoisted_1$48)]),
|
|
14454
14506
|
key: "1"
|
|
14455
14507
|
} : slots.before ? {
|
|
14456
14508
|
name: "iconLeading",
|
|
@@ -14898,7 +14950,7 @@ var FluxTicks_default = /* @__PURE__ */ defineComponent({
|
|
|
14898
14950
|
});
|
|
14899
14951
|
//#endregion
|
|
14900
14952
|
//#region src/component/primitive/SliderBase.vue?vue&type=script&setup=true&lang.ts
|
|
14901
|
-
var _hoisted_1$
|
|
14953
|
+
var _hoisted_1$47 = ["aria-disabled"];
|
|
14902
14954
|
//#endregion
|
|
14903
14955
|
//#region src/component/primitive/SliderBase.vue
|
|
14904
14956
|
var SliderBase_default = /* @__PURE__ */ defineComponent({
|
|
@@ -14954,13 +15006,13 @@ var SliderBase_default = /* @__PURE__ */ defineComponent({
|
|
|
14954
15006
|
key: 0,
|
|
14955
15007
|
lower: __props.min,
|
|
14956
15008
|
upper: __props.max
|
|
14957
|
-
}, null, 8, ["lower", "upper"])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$
|
|
15009
|
+
}, null, 8, ["lower", "upper"])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$47);
|
|
14958
15010
|
};
|
|
14959
15011
|
}
|
|
14960
15012
|
});
|
|
14961
15013
|
//#endregion
|
|
14962
15014
|
//#region src/component/primitive/SliderThumb.vue?vue&type=script&setup=true&lang.ts
|
|
14963
|
-
var _hoisted_1$
|
|
15015
|
+
var _hoisted_1$46 = [
|
|
14964
15016
|
"aria-disabled",
|
|
14965
15017
|
"aria-label",
|
|
14966
15018
|
"aria-valuemax",
|
|
@@ -15019,7 +15071,7 @@ var SliderThumb_default = /* @__PURE__ */ defineComponent({
|
|
|
15019
15071
|
type: "button",
|
|
15020
15072
|
onKeydown: onKeyDown,
|
|
15021
15073
|
onPointerdown: _cache[0] || (_cache[0] = ($event) => $emit("grab", $event))
|
|
15022
|
-
}, null, 46, _hoisted_1$
|
|
15074
|
+
}, null, 46, _hoisted_1$46);
|
|
15023
15075
|
};
|
|
15024
15076
|
}
|
|
15025
15077
|
});
|
|
@@ -15124,7 +15176,7 @@ var Divider_module_default = {
|
|
|
15124
15176
|
};
|
|
15125
15177
|
//#endregion
|
|
15126
15178
|
//#region src/component/FluxSeparator.vue?vue&type=script&setup=true&lang.ts
|
|
15127
|
-
var _hoisted_1$
|
|
15179
|
+
var _hoisted_1$45 = ["aria-orientation"];
|
|
15128
15180
|
//#endregion
|
|
15129
15181
|
//#region src/component/FluxSeparator.vue
|
|
15130
15182
|
var FluxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
@@ -15136,7 +15188,7 @@ var FluxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
|
15136
15188
|
class: normalizeClass(__props.direction === "horizontal" ? unref(Divider_module_default).separatorHorizontal : unref(Divider_module_default).separatorVertical),
|
|
15137
15189
|
role: "separator",
|
|
15138
15190
|
"aria-orientation": __props.direction
|
|
15139
|
-
}, null, 10, _hoisted_1$
|
|
15191
|
+
}, null, 10, _hoisted_1$45);
|
|
15140
15192
|
};
|
|
15141
15193
|
}
|
|
15142
15194
|
});
|
|
@@ -15159,7 +15211,7 @@ var FilterItem_default = /* @__PURE__ */ defineComponent({
|
|
|
15159
15211
|
emits: ["click"],
|
|
15160
15212
|
setup(__props, { emit: __emit }) {
|
|
15161
15213
|
const emit = __emit;
|
|
15162
|
-
const { isLoading, loaded } =
|
|
15214
|
+
const { isLoading, loaded } = Y$1();
|
|
15163
15215
|
const getValueLabel = computed(() => loaded(__props.item.getValueLabel));
|
|
15164
15216
|
const valueLabel = ref();
|
|
15165
15217
|
function onClick(evt) {
|
|
@@ -15387,7 +15439,7 @@ var CoordinatePicker_module_default = {
|
|
|
15387
15439
|
};
|
|
15388
15440
|
//#endregion
|
|
15389
15441
|
//#region src/component/primitive/CoordinatePickerThumb.vue?vue&type=script&setup=true&lang.ts
|
|
15390
|
-
var _hoisted_1$
|
|
15442
|
+
var _hoisted_1$44 = [
|
|
15391
15443
|
"aria-disabled",
|
|
15392
15444
|
"aria-valuetext",
|
|
15393
15445
|
"tabindex"
|
|
@@ -15443,13 +15495,13 @@ var CoordinatePickerThumb_default = /* @__PURE__ */ defineComponent({
|
|
|
15443
15495
|
type: "button",
|
|
15444
15496
|
onKeydown: onKeyDown,
|
|
15445
15497
|
onPointerdown: _cache[0] || (_cache[0] = ($event) => $emit("grab", $event))
|
|
15446
|
-
}, null, 46, _hoisted_1$
|
|
15498
|
+
}, null, 46, _hoisted_1$44);
|
|
15447
15499
|
};
|
|
15448
15500
|
}
|
|
15449
15501
|
});
|
|
15450
15502
|
//#endregion
|
|
15451
15503
|
//#region src/component/primitive/CoordinatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
15452
|
-
var _hoisted_1$
|
|
15504
|
+
var _hoisted_1$43 = ["aria-disabled", "aria-label"];
|
|
15453
15505
|
//#endregion
|
|
15454
15506
|
//#region src/component/primitive/CoordinatePicker.vue
|
|
15455
15507
|
var CoordinatePicker_default = /* @__PURE__ */ defineComponent({
|
|
@@ -15559,7 +15611,7 @@ var CoordinatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
15559
15611
|
"disabled",
|
|
15560
15612
|
"is-dragging",
|
|
15561
15613
|
"position"
|
|
15562
|
-
])], 42, _hoisted_1$
|
|
15614
|
+
])], 42, _hoisted_1$43);
|
|
15563
15615
|
};
|
|
15564
15616
|
}
|
|
15565
15617
|
});
|
|
@@ -15952,14 +16004,14 @@ var FluxPrimaryButton_default = /* @__PURE__ */ defineComponent({
|
|
|
15952
16004
|
});
|
|
15953
16005
|
//#endregion
|
|
15954
16006
|
//#region src/component/FluxColorSelect.vue?vue&type=script&setup=true&lang.ts
|
|
15955
|
-
var _hoisted_1$
|
|
16007
|
+
var _hoisted_1$42 = [
|
|
15956
16008
|
"aria-checked",
|
|
15957
16009
|
"aria-label",
|
|
15958
16010
|
"disabled",
|
|
15959
16011
|
"tabindex",
|
|
15960
16012
|
"onClick"
|
|
15961
16013
|
];
|
|
15962
|
-
var _hoisted_2$
|
|
16014
|
+
var _hoisted_2$15 = [
|
|
15963
16015
|
"disabled",
|
|
15964
16016
|
"tabindex",
|
|
15965
16017
|
"aria-label",
|
|
@@ -16027,7 +16079,7 @@ var FluxColorSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
16027
16079
|
class: normalizeClass(unref(Color_module_default).colorSelectCheck),
|
|
16028
16080
|
name: "check",
|
|
16029
16081
|
size: 14
|
|
16030
|
-
}, null, 8, ["class"])], 14, _hoisted_1$
|
|
16082
|
+
}, null, 8, ["class"])], 14, _hoisted_1$42);
|
|
16031
16083
|
}), 128)), __props.isCustomAllowed ? (openBlock(), createBlock(FluxFlyout_default, { key: 0 }, {
|
|
16032
16084
|
opener: withCtx(({ open }) => [createElementVNode("button", {
|
|
16033
16085
|
class: normalizeClass(unref(Color_module_default).colorSelectCustom),
|
|
@@ -16039,7 +16091,7 @@ var FluxColorSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
16039
16091
|
}, [createVNode(FluxIcon_default, {
|
|
16040
16092
|
name: "ellipsis-h",
|
|
16041
16093
|
size: 16
|
|
16042
|
-
})], 10, _hoisted_2$
|
|
16094
|
+
})], 10, _hoisted_2$15)]),
|
|
16043
16095
|
default: withCtx(({ close }) => [createVNode(FluxColorPicker_default, {
|
|
16044
16096
|
modelValue: customColor.value,
|
|
16045
16097
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customColor.value = $event),
|
|
@@ -16080,6 +16132,112 @@ var FluxContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
16080
16132
|
}
|
|
16081
16133
|
});
|
|
16082
16134
|
//#endregion
|
|
16135
|
+
//#region src/component/FluxFormCheckbox.vue?vue&type=script&setup=true&lang.ts
|
|
16136
|
+
var _hoisted_1$41 = ["for"];
|
|
16137
|
+
var _hoisted_2$14 = [
|
|
16138
|
+
"id",
|
|
16139
|
+
"checked",
|
|
16140
|
+
"disabled",
|
|
16141
|
+
"aria-disabled",
|
|
16142
|
+
"aria-readonly",
|
|
16143
|
+
"aria-invalid"
|
|
16144
|
+
];
|
|
16145
|
+
//#endregion
|
|
16146
|
+
//#region src/component/FluxFormCheckbox.vue
|
|
16147
|
+
var FluxFormCheckbox_default = /* @__PURE__ */ defineComponent({
|
|
16148
|
+
__name: "FluxFormCheckbox",
|
|
16149
|
+
props: /*@__PURE__*/ mergeModels({
|
|
16150
|
+
disabled: { type: Boolean },
|
|
16151
|
+
error: {},
|
|
16152
|
+
isReadonly: { type: Boolean },
|
|
16153
|
+
label: {},
|
|
16154
|
+
subLabel: {},
|
|
16155
|
+
value: { type: [
|
|
16156
|
+
String,
|
|
16157
|
+
Number,
|
|
16158
|
+
Boolean
|
|
16159
|
+
] }
|
|
16160
|
+
}, {
|
|
16161
|
+
"modelValue": {
|
|
16162
|
+
type: [Boolean, null],
|
|
16163
|
+
default: false
|
|
16164
|
+
},
|
|
16165
|
+
"modelModifiers": {}
|
|
16166
|
+
}),
|
|
16167
|
+
emits: ["update:modelValue"],
|
|
16168
|
+
setup(__props) {
|
|
16169
|
+
const modelValue = useModel(__props, "modelValue");
|
|
16170
|
+
const group = useFormCheckboxGroupInjection_default();
|
|
16171
|
+
const inputRef = useTemplateRef("input");
|
|
16172
|
+
const { id } = useFormFieldInjection_default();
|
|
16173
|
+
const isGrouped = computed(() => group !== null && __props.value !== void 0);
|
|
16174
|
+
const disabled = useDisabled_default(toRef(() => __props.disabled || (group?.disabled.value ?? false)));
|
|
16175
|
+
const isReadonlyResolved = computed(() => __props.isReadonly || (group?.isReadonly.value ?? false));
|
|
16176
|
+
const errorResolved = computed(() => unref(isGrouped) ? group?.error.value : __props.error);
|
|
16177
|
+
const isChecked = computed(() => unref(isGrouped) ? group.has(__props.value) : unref(modelValue) === true);
|
|
16178
|
+
const isIndeterminate = computed(() => !unref(isGrouped) && unref(modelValue) === null);
|
|
16179
|
+
function onChange() {
|
|
16180
|
+
if (unref(isReadonlyResolved) || unref(disabled)) return;
|
|
16181
|
+
if (unref(isGrouped)) {
|
|
16182
|
+
group.toggle(__props.value);
|
|
16183
|
+
return;
|
|
16184
|
+
}
|
|
16185
|
+
modelValue.value = unref(isIndeterminate) ? true : !unref(modelValue);
|
|
16186
|
+
}
|
|
16187
|
+
function onClick(evt) {
|
|
16188
|
+
if (unref(isReadonlyResolved)) evt.preventDefault();
|
|
16189
|
+
}
|
|
16190
|
+
watchEffect(() => {
|
|
16191
|
+
const input = unref(inputRef);
|
|
16192
|
+
if (!input) return;
|
|
16193
|
+
input.indeterminate = unref(isIndeterminate);
|
|
16194
|
+
});
|
|
16195
|
+
return (_ctx, _cache) => {
|
|
16196
|
+
return openBlock(), createElementBlock("label", {
|
|
16197
|
+
class: normalizeClass(unref(clsx)(unref(Form_module_default).formCheckbox, unref(disabled) && unref(Form_module_default).isDisabled, isReadonlyResolved.value && unref(Form_module_default).isReadonly, errorResolved.value && unref(Form_module_default).isInvalid)),
|
|
16198
|
+
for: unref(id)
|
|
16199
|
+
}, [
|
|
16200
|
+
createElementVNode("input", {
|
|
16201
|
+
ref: "input",
|
|
16202
|
+
type: "checkbox",
|
|
16203
|
+
class: normalizeClass(unref(Form_module_default).formCheckboxNative),
|
|
16204
|
+
id: unref(id),
|
|
16205
|
+
checked: isChecked.value,
|
|
16206
|
+
disabled: unref(disabled),
|
|
16207
|
+
"aria-disabled": unref(disabled) ? true : void 0,
|
|
16208
|
+
"aria-readonly": isReadonlyResolved.value ? true : void 0,
|
|
16209
|
+
"aria-invalid": errorResolved.value ? true : void 0,
|
|
16210
|
+
onChange,
|
|
16211
|
+
onClick
|
|
16212
|
+
}, null, 42, _hoisted_2$14),
|
|
16213
|
+
createElementVNode("button", {
|
|
16214
|
+
"aria-hidden": "true",
|
|
16215
|
+
class: normalizeClass(unref(Form_module_default).formCheckboxElement),
|
|
16216
|
+
tabindex: "-1"
|
|
16217
|
+
}, [isIndeterminate.value ? (openBlock(), createBlock(FluxIcon_default, {
|
|
16218
|
+
key: 0,
|
|
16219
|
+
name: "minus",
|
|
16220
|
+
size: 12
|
|
16221
|
+
})) : (openBlock(), createBlock(FluxIcon_default, {
|
|
16222
|
+
key: 1,
|
|
16223
|
+
name: "check",
|
|
16224
|
+
size: 12
|
|
16225
|
+
}))], 2),
|
|
16226
|
+
__props.label || __props.subLabel ? (openBlock(), createElementBlock("span", {
|
|
16227
|
+
key: 0,
|
|
16228
|
+
class: normalizeClass(unref(Form_module_default).formCheckboxText)
|
|
16229
|
+
}, [__props.label ? (openBlock(), createElementBlock("span", {
|
|
16230
|
+
key: 0,
|
|
16231
|
+
class: normalizeClass(unref(Form_module_default).formCheckboxLabel)
|
|
16232
|
+
}, toDisplayString(__props.label), 3)) : createCommentVNode("", true), __props.subLabel ? (openBlock(), createElementBlock("span", {
|
|
16233
|
+
key: 1,
|
|
16234
|
+
class: normalizeClass(unref(Form_module_default).formCheckboxSubLabel)
|
|
16235
|
+
}, toDisplayString(__props.subLabel), 3)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)
|
|
16236
|
+
], 10, _hoisted_1$41);
|
|
16237
|
+
};
|
|
16238
|
+
}
|
|
16239
|
+
});
|
|
16240
|
+
//#endregion
|
|
16083
16241
|
//#region src/component/FluxFormSelect.vue
|
|
16084
16242
|
var FluxFormSelect_default = /* @__PURE__ */ defineComponent({
|
|
16085
16243
|
__name: "FluxFormSelect",
|
|
@@ -16147,16 +16305,16 @@ var FluxFormSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
16147
16305
|
});
|
|
16148
16306
|
//#endregion
|
|
16149
16307
|
//#region src/css/component/Pagination.module.scss
|
|
16150
|
-
var { "
|
|
16308
|
+
var { "secondaryButtonLabel": _0$8, "secondaryButton": _1$2, "secondaryButtonIcon": _2$1 } = Button_module_default;
|
|
16151
16309
|
var Pagination_module_default = {
|
|
16152
16310
|
pagination: `pagination`,
|
|
16153
|
-
paginationButton: `pagination-button ${
|
|
16311
|
+
paginationButton: `pagination-button ${_1$2}`,
|
|
16154
16312
|
secondaryButton: `secondary-button`,
|
|
16155
16313
|
paginationButtonArrow: `pagination-button-arrow`,
|
|
16156
16314
|
paginationButtonCurrent: `pagination-button-current`,
|
|
16157
16315
|
paginationButtonSpacer: `pagination-button-spacer`,
|
|
16158
|
-
paginationButtonIcon: `pagination-button-icon ${
|
|
16159
|
-
paginationButtonLabel: `pagination-button-label ${
|
|
16316
|
+
paginationButtonIcon: `pagination-button-icon ${_2$1}`,
|
|
16317
|
+
paginationButtonLabel: `pagination-button-label ${_0$8}`,
|
|
16160
16318
|
paginationBar: `pagination-bar`,
|
|
16161
16319
|
paginationBarLimit: `pagination-bar-limit`,
|
|
16162
16320
|
paginationBarLimitDisplayingOf: `pagination-bar-limit-displaying-of`,
|
|
@@ -16236,7 +16394,7 @@ var FluxPaginationButton_default = /* @__PURE__ */ defineComponent({
|
|
|
16236
16394
|
});
|
|
16237
16395
|
//#endregion
|
|
16238
16396
|
//#region src/component/FluxPagination.vue?vue&type=script&setup=true&lang.ts
|
|
16239
|
-
var _hoisted_1$
|
|
16397
|
+
var _hoisted_1$40 = ["aria-label"];
|
|
16240
16398
|
//#endregion
|
|
16241
16399
|
//#region src/component/FluxPagination.vue
|
|
16242
16400
|
var FluxPagination_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16351,7 +16509,7 @@ var FluxPagination_default = /* @__PURE__ */ defineComponent({
|
|
|
16351
16509
|
"aria-label": unref(translate)("flux.next"),
|
|
16352
16510
|
onClick: next
|
|
16353
16511
|
}, null, 8, ["disabled", "aria-label"])) : createCommentVNode("", true)
|
|
16354
|
-
], 10, _hoisted_1$
|
|
16512
|
+
], 10, _hoisted_1$40);
|
|
16355
16513
|
};
|
|
16356
16514
|
}
|
|
16357
16515
|
});
|
|
@@ -16482,9 +16640,9 @@ var FluxTableRow_default = /* @__PURE__ */ defineComponent({
|
|
|
16482
16640
|
});
|
|
16483
16641
|
//#endregion
|
|
16484
16642
|
//#region src/component/FluxTable.vue?vue&type=script&setup=true&lang.ts
|
|
16485
|
-
var _hoisted_1$
|
|
16486
|
-
var _hoisted_2$
|
|
16487
|
-
var _hoisted_3$
|
|
16643
|
+
var _hoisted_1$39 = { key: 0 };
|
|
16644
|
+
var _hoisted_2$13 = { key: 1 };
|
|
16645
|
+
var _hoisted_3$4 = { key: 2 };
|
|
16488
16646
|
//#endregion
|
|
16489
16647
|
//#region src/component/FluxTable.vue
|
|
16490
16648
|
var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16531,8 +16689,8 @@ var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16531
16689
|
}, [
|
|
16532
16690
|
createElementVNode("table", { class: normalizeClass(unref(Table_module_default).tableBase) }, [
|
|
16533
16691
|
renderSlot(_ctx.$slots, "colgroups"),
|
|
16534
|
-
slots.header ? (openBlock(), createElementBlock("thead", _hoisted_1$
|
|
16535
|
-
slots.default ? (openBlock(), createElementBlock("tbody", _hoisted_2$
|
|
16692
|
+
slots.header ? (openBlock(), createElementBlock("thead", _hoisted_1$39, [renderSlot(_ctx.$slots, "header")])) : createCommentVNode("", true),
|
|
16693
|
+
slots.default ? (openBlock(), createElementBlock("tbody", _hoisted_2$13, [renderSlot(_ctx.$slots, "default"), __props.fillColumns ? (openBlock(), createBlock(FluxTableRow_default, {
|
|
16536
16694
|
key: 0,
|
|
16537
16695
|
class: normalizeClass(unref(Table_module_default).tableFill)
|
|
16538
16696
|
}, {
|
|
@@ -16541,7 +16699,7 @@ var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16541
16699
|
}), 128))]),
|
|
16542
16700
|
_: 1
|
|
16543
16701
|
}, 8, ["class"])) : createCommentVNode("", true)])) : createCommentVNode("", true),
|
|
16544
|
-
slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_3$
|
|
16702
|
+
slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_3$4, [renderSlot(_ctx.$slots, "footer")])) : createCommentVNode("", true),
|
|
16545
16703
|
slots.caption ? (openBlock(), createElementBlock("caption", {
|
|
16546
16704
|
key: 3,
|
|
16547
16705
|
style: normalizeStyle({ captionSide: __props.captionSide })
|
|
@@ -16565,8 +16723,8 @@ var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16565
16723
|
});
|
|
16566
16724
|
//#endregion
|
|
16567
16725
|
//#region src/component/FluxTableHeader.vue?vue&type=script&setup=true&lang.ts
|
|
16568
|
-
var _hoisted_1$
|
|
16569
|
-
var _hoisted_2$
|
|
16726
|
+
var _hoisted_1$38 = ["aria-sort"];
|
|
16727
|
+
var _hoisted_2$12 = ["aria-label", "onClick"];
|
|
16570
16728
|
//#endregion
|
|
16571
16729
|
//#region src/component/FluxTableHeader.vue
|
|
16572
16730
|
var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16605,7 +16763,7 @@ var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
16605
16763
|
}, [createVNode(FluxIcon_default, {
|
|
16606
16764
|
size: 16,
|
|
16607
16765
|
name: sortingIcon.value
|
|
16608
|
-
}, null, 8, ["name"])], 10, _hoisted_2$
|
|
16766
|
+
}, null, 8, ["name"])], 10, _hoisted_2$12)]),
|
|
16609
16767
|
default: withCtx(() => [createVNode(FluxMenu_default, null, {
|
|
16610
16768
|
default: withCtx(() => [createVNode(FluxMenuGroup_default, null, {
|
|
16611
16769
|
default: withCtx(() => [createVNode(FluxMenuItem_default, {
|
|
@@ -16632,7 +16790,7 @@ var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
16632
16790
|
_: 1
|
|
16633
16791
|
})]),
|
|
16634
16792
|
_: 1
|
|
16635
|
-
})) : createCommentVNode("", true)], 2)], 14, _hoisted_1$
|
|
16793
|
+
})) : createCommentVNode("", true)], 2)], 14, _hoisted_1$38);
|
|
16636
16794
|
};
|
|
16637
16795
|
}
|
|
16638
16796
|
});
|
|
@@ -16764,7 +16922,7 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16764
16922
|
key: 0,
|
|
16765
16923
|
class: normalizeClass(unref(Table_module_default).tableCellSelection)
|
|
16766
16924
|
}, {
|
|
16767
|
-
default: withCtx(() => [createVNode(
|
|
16925
|
+
default: withCtx(() => [createVNode(FluxFormCheckbox_default, {
|
|
16768
16926
|
"model-value": isItemSelected(item),
|
|
16769
16927
|
"onUpdate:modelValue": ($event) => onSelectRow(item)
|
|
16770
16928
|
}, null, 8, ["model-value", "onUpdate:modelValue"])]),
|
|
@@ -16810,7 +16968,7 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16810
16968
|
"is-shrinking": "",
|
|
16811
16969
|
class: normalizeClass(unref(Table_module_default).tableCellSelection)
|
|
16812
16970
|
}, {
|
|
16813
|
-
default: withCtx(() => [__props.selectionMode === "multiple" ? (openBlock(), createBlock(
|
|
16971
|
+
default: withCtx(() => [__props.selectionMode === "multiple" ? (openBlock(), createBlock(FluxFormCheckbox_default, {
|
|
16814
16972
|
key: 0,
|
|
16815
16973
|
"model-value": selectAllState.value,
|
|
16816
16974
|
"onUpdate:modelValue": onSelectAll
|
|
@@ -16890,7 +17048,7 @@ var FluxDisabled_default = /* @__PURE__ */ defineComponent({
|
|
|
16890
17048
|
});
|
|
16891
17049
|
//#endregion
|
|
16892
17050
|
//#region src/component/FluxDivider.vue?vue&type=script&setup=true&lang.ts
|
|
16893
|
-
var _hoisted_1$
|
|
17051
|
+
var _hoisted_1$37 = ["aria-orientation"];
|
|
16894
17052
|
//#endregion
|
|
16895
17053
|
//#region src/component/FluxDivider.vue
|
|
16896
17054
|
var FluxDivider_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16912,23 +17070,23 @@ var FluxDivider_default = /* @__PURE__ */ defineComponent({
|
|
|
16912
17070
|
}, [renderSlot(_ctx.$slots, "default")], 2)) : (openBlock(), createElementBlock("hr", {
|
|
16913
17071
|
key: 1,
|
|
16914
17072
|
class: normalizeClass(unref(Divider_module_default).dividerLine)
|
|
16915
|
-
}, null, 2))], 10, _hoisted_1$
|
|
17073
|
+
}, null, 2))], 10, _hoisted_1$37);
|
|
16916
17074
|
};
|
|
16917
17075
|
}
|
|
16918
17076
|
});
|
|
16919
17077
|
//#endregion
|
|
16920
17078
|
//#region src/component/FluxDotPattern.vue?vue&type=script&setup=true&lang.ts
|
|
16921
|
-
var _hoisted_1$
|
|
17079
|
+
var _hoisted_1$36 = [
|
|
16922
17080
|
"id",
|
|
16923
17081
|
"width",
|
|
16924
17082
|
"height"
|
|
16925
17083
|
];
|
|
16926
|
-
var _hoisted_2$
|
|
17084
|
+
var _hoisted_2$11 = [
|
|
16927
17085
|
"r",
|
|
16928
17086
|
"cx",
|
|
16929
17087
|
"cy"
|
|
16930
17088
|
];
|
|
16931
|
-
var _hoisted_3$
|
|
17089
|
+
var _hoisted_3$3 = ["fill"];
|
|
16932
17090
|
//#endregion
|
|
16933
17091
|
//#region src/component/FluxDotPattern.vue
|
|
16934
17092
|
var FluxDotPattern_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16973,12 +17131,12 @@ var FluxDotPattern_default = /* @__PURE__ */ defineComponent({
|
|
|
16973
17131
|
r: __props.cr,
|
|
16974
17132
|
cx: __props.width / 2 - __props.cx,
|
|
16975
17133
|
cy: __props.height / 2 - __props.cy
|
|
16976
|
-
}, null, 8, _hoisted_2$
|
|
17134
|
+
}, null, 8, _hoisted_2$11)], 8, _hoisted_1$36)]), createElementVNode("rect", {
|
|
16977
17135
|
width: "100%",
|
|
16978
17136
|
height: "100%",
|
|
16979
17137
|
"stroke-width": "0",
|
|
16980
17138
|
fill: `url(#${unref(id)})`
|
|
16981
|
-
}, null, 8, _hoisted_3$
|
|
17139
|
+
}, null, 8, _hoisted_3$3)], 2);
|
|
16982
17140
|
};
|
|
16983
17141
|
}
|
|
16984
17142
|
});
|
|
@@ -16996,12 +17154,12 @@ var DropZone_module_default = {
|
|
|
16996
17154
|
};
|
|
16997
17155
|
//#endregion
|
|
16998
17156
|
//#region src/component/FluxDropZone.vue?vue&type=script&setup=true&lang.ts
|
|
16999
|
-
var _hoisted_1$
|
|
17157
|
+
var _hoisted_1$35 = [
|
|
17000
17158
|
"aria-disabled",
|
|
17001
17159
|
"aria-label",
|
|
17002
17160
|
"tabindex"
|
|
17003
17161
|
];
|
|
17004
|
-
var _hoisted_2$
|
|
17162
|
+
var _hoisted_2$10 = ["pathLength"];
|
|
17005
17163
|
//#endregion
|
|
17006
17164
|
//#region src/component/FluxDropZone.vue
|
|
17007
17165
|
var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17116,7 +17274,7 @@ var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
|
17116
17274
|
"stroke-linecap": "round",
|
|
17117
17275
|
"stroke-linejoin": "round",
|
|
17118
17276
|
pathLength: pathLength.value
|
|
17119
|
-
}, null, 8, _hoisted_2$
|
|
17277
|
+
}, null, 8, _hoisted_2$10)], 2)),
|
|
17120
17278
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({
|
|
17121
17279
|
isDragging: isDragging.value,
|
|
17122
17280
|
isDraggingOver: isDraggingOver.value,
|
|
@@ -17143,7 +17301,7 @@ var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
|
17143
17301
|
isDraggingOver: isDraggingOver.value,
|
|
17144
17302
|
showPicker
|
|
17145
17303
|
})))
|
|
17146
|
-
], 42, _hoisted_1$
|
|
17304
|
+
], 42, _hoisted_1$35);
|
|
17147
17305
|
};
|
|
17148
17306
|
}
|
|
17149
17307
|
});
|
|
@@ -17173,12 +17331,12 @@ var Expandable_module_default = {
|
|
|
17173
17331
|
};
|
|
17174
17332
|
//#endregion
|
|
17175
17333
|
//#region src/component/FluxExpandable.vue?vue&type=script&setup=true&lang.ts
|
|
17176
|
-
var _hoisted_1$
|
|
17334
|
+
var _hoisted_1$34 = [
|
|
17177
17335
|
"id",
|
|
17178
17336
|
"aria-controls",
|
|
17179
17337
|
"aria-expanded"
|
|
17180
17338
|
];
|
|
17181
|
-
var _hoisted_2$
|
|
17339
|
+
var _hoisted_2$9 = ["id", "aria-labelledby"];
|
|
17182
17340
|
//#endregion
|
|
17183
17341
|
//#region src/component/FluxExpandable.vue
|
|
17184
17342
|
var FluxExpandable_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17191,7 +17349,7 @@ var FluxExpandable_default = /* @__PURE__ */ defineComponent({
|
|
|
17191
17349
|
emits: ["toggle"],
|
|
17192
17350
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
17193
17351
|
const emit = __emit;
|
|
17194
|
-
const componentId =
|
|
17352
|
+
const componentId = se$1();
|
|
17195
17353
|
const contentId = useId();
|
|
17196
17354
|
const headerId = useId();
|
|
17197
17355
|
const instance = getCurrentInstance();
|
|
@@ -17269,9 +17427,9 @@ var FluxExpandable_default = /* @__PURE__ */ defineComponent({
|
|
|
17269
17427
|
})), () => [createElementVNode("div", { class: normalizeClass(unref(Expandable_module_default).expandableContent) }, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({
|
|
17270
17428
|
label: __props.label,
|
|
17271
17429
|
close
|
|
17272
|
-
})))], 2)])], 10, _hoisted_2$
|
|
17430
|
+
})))], 2)])], 10, _hoisted_2$9)) : createCommentVNode("", true)]),
|
|
17273
17431
|
_: 3
|
|
17274
|
-
})], 10, _hoisted_1$
|
|
17432
|
+
})], 10, _hoisted_1$34);
|
|
17275
17433
|
};
|
|
17276
17434
|
}
|
|
17277
17435
|
});
|
|
@@ -17323,7 +17481,7 @@ var FluxFader_default = /* @__PURE__ */ defineComponent({
|
|
|
17323
17481
|
setup(__props, { emit: __emit }) {
|
|
17324
17482
|
const emit = __emit;
|
|
17325
17483
|
const faderRef = useTemplateRef("fader");
|
|
17326
|
-
|
|
17484
|
+
me$1(__props.interval, () => next());
|
|
17327
17485
|
const current = ref(-1);
|
|
17328
17486
|
function getItems() {
|
|
17329
17487
|
const fader = v$2(faderRef);
|
|
@@ -18497,7 +18655,7 @@ var FocalPoint_module_default = {
|
|
|
18497
18655
|
};
|
|
18498
18656
|
//#endregion
|
|
18499
18657
|
//#region src/component/FluxFocalPointEditor.vue?vue&type=script&setup=true&lang.ts
|
|
18500
|
-
var _hoisted_1$
|
|
18658
|
+
var _hoisted_1$33 = ["src"];
|
|
18501
18659
|
//#endregion
|
|
18502
18660
|
//#region src/component/FluxFocalPointEditor.vue
|
|
18503
18661
|
var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
@@ -18566,7 +18724,7 @@ var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
18566
18724
|
src: __props.src,
|
|
18567
18725
|
alt: "",
|
|
18568
18726
|
onLoad: onImageLoaded
|
|
18569
|
-
}, null, 42, _hoisted_1$
|
|
18727
|
+
}, null, 42, _hoisted_1$33), createElementVNode("div", {
|
|
18570
18728
|
class: normalizeClass(unref(FocalPoint_module_default).focalPointEditorArea),
|
|
18571
18729
|
style: normalizeStyle({
|
|
18572
18730
|
top: `${focalPointY.value}%`,
|
|
@@ -18595,7 +18753,7 @@ var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
18595
18753
|
});
|
|
18596
18754
|
//#endregion
|
|
18597
18755
|
//#region src/component/FluxFocalPointImage.vue?vue&type=script&setup=true&lang.ts
|
|
18598
|
-
var _hoisted_1$
|
|
18756
|
+
var _hoisted_1$32 = ["src", "alt"];
|
|
18599
18757
|
//#endregion
|
|
18600
18758
|
//#region src/component/FluxFocalPointImage.vue
|
|
18601
18759
|
var FluxFocalPointImage_default = /* @__PURE__ */ defineComponent({
|
|
@@ -18614,13 +18772,13 @@ var FluxFocalPointImage_default = /* @__PURE__ */ defineComponent({
|
|
|
18614
18772
|
style: normalizeStyle({ objectPosition: `${x.value}% ${y.value}%` }),
|
|
18615
18773
|
src: __props.src,
|
|
18616
18774
|
alt: __props.alt
|
|
18617
|
-
}, null, 14, _hoisted_1$
|
|
18775
|
+
}, null, 14, _hoisted_1$32);
|
|
18618
18776
|
};
|
|
18619
18777
|
}
|
|
18620
18778
|
});
|
|
18621
18779
|
//#endregion
|
|
18622
18780
|
//#region src/component/FluxForm.vue?vue&type=script&setup=true&lang.ts
|
|
18623
|
-
var _hoisted_1$
|
|
18781
|
+
var _hoisted_1$31 = ["aria-disabled"];
|
|
18624
18782
|
//#endregion
|
|
18625
18783
|
//#region src/component/FluxForm.vue
|
|
18626
18784
|
var FluxForm_default = /* @__PURE__ */ defineComponent({
|
|
@@ -18643,7 +18801,48 @@ var FluxForm_default = /* @__PURE__ */ defineComponent({
|
|
|
18643
18801
|
}, [createVNode(FluxDisabled_default, { disabled: __props.disabled }, {
|
|
18644
18802
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
18645
18803
|
_: 3
|
|
18646
|
-
}, 8, ["disabled"])], 42, _hoisted_1$
|
|
18804
|
+
}, 8, ["disabled"])], 42, _hoisted_1$31);
|
|
18805
|
+
};
|
|
18806
|
+
}
|
|
18807
|
+
});
|
|
18808
|
+
//#endregion
|
|
18809
|
+
//#region src/component/FluxFormCheckboxGroup.vue?vue&type=script&setup=true&lang.ts
|
|
18810
|
+
var _hoisted_1$30 = ["role", "aria-label"];
|
|
18811
|
+
//#endregion
|
|
18812
|
+
//#region src/component/FluxFormCheckboxGroup.vue
|
|
18813
|
+
var FluxFormCheckboxGroup_default = /* @__PURE__ */ defineComponent({
|
|
18814
|
+
__name: "FluxFormCheckboxGroup",
|
|
18815
|
+
props: /*@__PURE__*/ mergeModels({
|
|
18816
|
+
disabled: { type: Boolean },
|
|
18817
|
+
error: {},
|
|
18818
|
+
isReadonly: { type: Boolean },
|
|
18819
|
+
ariaLabel: {},
|
|
18820
|
+
isInline: { type: Boolean }
|
|
18821
|
+
}, {
|
|
18822
|
+
"modelValue": { default: () => [] },
|
|
18823
|
+
"modelModifiers": {}
|
|
18824
|
+
}),
|
|
18825
|
+
emits: ["update:modelValue"],
|
|
18826
|
+
setup(__props) {
|
|
18827
|
+
const modelValue = useModel(__props, "modelValue");
|
|
18828
|
+
const field = inject(FluxFormFieldInjectionKey, null);
|
|
18829
|
+
provide(FluxFormCheckboxGroupInjectionKey, {
|
|
18830
|
+
modelValue,
|
|
18831
|
+
disabled: useDisabled_default(toRef(() => __props.disabled)),
|
|
18832
|
+
isReadonly: toRef(() => __props.isReadonly ?? false),
|
|
18833
|
+
error: toRef(() => __props.error),
|
|
18834
|
+
has: (value) => unref(modelValue).includes(value),
|
|
18835
|
+
toggle(value) {
|
|
18836
|
+
const current = unref(modelValue);
|
|
18837
|
+
modelValue.value = current.includes(value) ? current.filter((item) => item !== value) : [...current, value];
|
|
18838
|
+
}
|
|
18839
|
+
});
|
|
18840
|
+
return (_ctx, _cache) => {
|
|
18841
|
+
return openBlock(), createElementBlock("div", {
|
|
18842
|
+
class: normalizeClass(unref(clsx)(unref(Form_module_default).formCheckboxGroup, __props.isInline && unref(Form_module_default).isInline)),
|
|
18843
|
+
role: unref(field)?.isGroup ? void 0 : "group",
|
|
18844
|
+
"aria-label": unref(field)?.isGroup ? void 0 : __props.ariaLabel
|
|
18845
|
+
}, [renderSlot(_ctx.$slots, "default")], 10, _hoisted_1$30);
|
|
18647
18846
|
};
|
|
18648
18847
|
}
|
|
18649
18848
|
});
|
|
@@ -18755,7 +18954,7 @@ var FluxFormDateInput_default = /* @__PURE__ */ defineComponent({
|
|
|
18755
18954
|
});
|
|
18756
18955
|
//#endregion
|
|
18757
18956
|
//#region src/component/FluxFormDateRangeInput.vue?vue&type=script&setup=true&lang.ts
|
|
18758
|
-
var _hoisted_1$
|
|
18957
|
+
var _hoisted_1$29 = { key: 0 };
|
|
18759
18958
|
//#endregion
|
|
18760
18959
|
//#region src/component/FluxFormDateRangeInput.vue
|
|
18761
18960
|
var FluxFormDateRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
@@ -18801,7 +19000,7 @@ var FluxFormDateRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
18801
19000
|
default: withCtx(() => [createElementVNode("div", {
|
|
18802
19001
|
class: normalizeClass(unref(clsx)(unref(Form_module_default).formDateRangeInput, unref(disabled) && unref(Form_module_default).isDisabled, __props.isCondensed && unref(Form_module_default).isCondensed, __props.isSecondary && unref(Form_module_default).isSecondary, __props.error && unref(Form_module_default).isInvalid)),
|
|
18803
19002
|
role: "presentation"
|
|
18804
|
-
}, [label.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
19003
|
+
}, [label.value ? (openBlock(), createElementBlock("span", _hoisted_1$29, toDisplayString(label.value), 1)) : __props.placeholder ? (openBlock(), createElementBlock("span", {
|
|
18805
19004
|
key: 1,
|
|
18806
19005
|
class: normalizeClass(unref(Form_module_default).formSelectPlaceholder)
|
|
18807
19006
|
}, toDisplayString(__props.placeholder), 3)) : createCommentVNode("", true)], 2), createVNode(FluxSecondaryButton_default, {
|
|
@@ -18973,7 +19172,7 @@ var FluxFormGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
18973
19172
|
});
|
|
18974
19173
|
//#endregion
|
|
18975
19174
|
//#region src/component/FluxFormInputAddition.vue?vue&type=script&setup=true&lang.ts
|
|
18976
|
-
var _hoisted_1$
|
|
19175
|
+
var _hoisted_1$28 = { key: 1 };
|
|
18977
19176
|
//#endregion
|
|
18978
19177
|
//#region src/component/FluxFormInputAddition.vue
|
|
18979
19178
|
var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
@@ -18990,15 +19189,164 @@ var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
18990
19189
|
name: __props.icon,
|
|
18991
19190
|
size: 18
|
|
18992
19191
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
18993
|
-
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
19192
|
+
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$28, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
|
|
18994
19193
|
renderSlot(_ctx.$slots, "default")
|
|
18995
19194
|
], 2);
|
|
18996
19195
|
};
|
|
18997
19196
|
}
|
|
18998
19197
|
});
|
|
18999
19198
|
//#endregion
|
|
19199
|
+
//#region src/component/FluxFormNumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
19200
|
+
var _hoisted_1$27 = ["aria-disabled"];
|
|
19201
|
+
var _hoisted_2$8 = [
|
|
19202
|
+
"id",
|
|
19203
|
+
"name",
|
|
19204
|
+
"autofocus",
|
|
19205
|
+
"aria-disabled",
|
|
19206
|
+
"aria-invalid",
|
|
19207
|
+
"disabled",
|
|
19208
|
+
"max",
|
|
19209
|
+
"min",
|
|
19210
|
+
"placeholder",
|
|
19211
|
+
"readonly",
|
|
19212
|
+
"step",
|
|
19213
|
+
"value"
|
|
19214
|
+
];
|
|
19215
|
+
var _hoisted_3$2 = ["disabled"];
|
|
19216
|
+
var _hoisted_4$1 = ["disabled"];
|
|
19217
|
+
//#endregion
|
|
19218
|
+
//#region src/component/FluxFormNumberInput.vue
|
|
19219
|
+
var FluxFormNumberInput_default = /* @__PURE__ */ defineComponent({
|
|
19220
|
+
__name: "FluxFormNumberInput",
|
|
19221
|
+
props: /*@__PURE__*/ mergeModels({
|
|
19222
|
+
autoFocus: { type: Boolean },
|
|
19223
|
+
disabled: { type: Boolean },
|
|
19224
|
+
error: {},
|
|
19225
|
+
isCondensed: { type: Boolean },
|
|
19226
|
+
isLoading: { type: Boolean },
|
|
19227
|
+
isReadonly: { type: Boolean },
|
|
19228
|
+
isSecondary: { type: Boolean },
|
|
19229
|
+
name: {},
|
|
19230
|
+
placeholder: {},
|
|
19231
|
+
max: {},
|
|
19232
|
+
min: {},
|
|
19233
|
+
step: { default: 1 }
|
|
19234
|
+
}, {
|
|
19235
|
+
"modelValue": { default: null },
|
|
19236
|
+
"modelModifiers": {}
|
|
19237
|
+
}),
|
|
19238
|
+
emits: /*@__PURE__*/ mergeModels(["blur", "focus"], ["update:modelValue"]),
|
|
19239
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
19240
|
+
const emit = __emit;
|
|
19241
|
+
const modelValue = useModel(__props, "modelValue");
|
|
19242
|
+
const disabled = useDisabled_default(toRef(() => __props.disabled));
|
|
19243
|
+
const inputRef = useTemplateRef("input");
|
|
19244
|
+
const { id } = useFormFieldInjection_default();
|
|
19245
|
+
const atMax = computed(() => __props.max !== void 0 && modelValue.value !== null && modelValue.value >= __props.max);
|
|
19246
|
+
const atMin = computed(() => __props.min !== void 0 && modelValue.value !== null && modelValue.value <= __props.min);
|
|
19247
|
+
function blur() {
|
|
19248
|
+
v$2(inputRef)?.blur();
|
|
19249
|
+
}
|
|
19250
|
+
function focus() {
|
|
19251
|
+
v$2(inputRef)?.focus();
|
|
19252
|
+
}
|
|
19253
|
+
function clamp(value) {
|
|
19254
|
+
let result = value;
|
|
19255
|
+
if (__props.min !== void 0) result = Math.max(__props.min, result);
|
|
19256
|
+
if (__props.max !== void 0) result = Math.min(__props.max, result);
|
|
19257
|
+
return result;
|
|
19258
|
+
}
|
|
19259
|
+
function round(value) {
|
|
19260
|
+
const decimals = (__props.step.toString().split(".")[1] ?? "").length;
|
|
19261
|
+
return decimals > 0 ? Number(value.toFixed(decimals)) : value;
|
|
19262
|
+
}
|
|
19263
|
+
function stepValue(direction) {
|
|
19264
|
+
if (unref(disabled) || __props.isReadonly) return;
|
|
19265
|
+
modelValue.value = clamp(round((modelValue.value ?? __props.min ?? 0) + direction * __props.step));
|
|
19266
|
+
}
|
|
19267
|
+
function onBlur() {
|
|
19268
|
+
if (modelValue.value !== null) modelValue.value = clamp(modelValue.value);
|
|
19269
|
+
emit("blur");
|
|
19270
|
+
}
|
|
19271
|
+
function onFocus() {
|
|
19272
|
+
emit("focus");
|
|
19273
|
+
}
|
|
19274
|
+
function onInput(evt) {
|
|
19275
|
+
const value = evt.target.value;
|
|
19276
|
+
if (value === "") {
|
|
19277
|
+
modelValue.value = null;
|
|
19278
|
+
return;
|
|
19279
|
+
}
|
|
19280
|
+
const numeric = Number(value);
|
|
19281
|
+
if (Number.isNaN(numeric)) return;
|
|
19282
|
+
modelValue.value = numeric;
|
|
19283
|
+
}
|
|
19284
|
+
function onKeyDown(evt) {
|
|
19285
|
+
if (evt.key === "ArrowUp") {
|
|
19286
|
+
stepValue(1);
|
|
19287
|
+
evt.preventDefault();
|
|
19288
|
+
} else if (evt.key === "ArrowDown") {
|
|
19289
|
+
stepValue(-1);
|
|
19290
|
+
evt.preventDefault();
|
|
19291
|
+
}
|
|
19292
|
+
}
|
|
19293
|
+
__expose({
|
|
19294
|
+
blur,
|
|
19295
|
+
focus
|
|
19296
|
+
});
|
|
19297
|
+
return (_ctx, _cache) => {
|
|
19298
|
+
return openBlock(), createElementBlock("div", {
|
|
19299
|
+
class: normalizeClass(unref(clsx)(unref(disabled) ? unref(Form_module_default).formInputDisabled : unref(Form_module_default).formInputEnabled, __props.isCondensed && unref(Form_module_default).isCondensed, __props.isSecondary && unref(Form_module_default).isSecondary, __props.error && unref(Form_module_default).isInvalid)),
|
|
19300
|
+
"aria-disabled": unref(disabled) ? true : void 0
|
|
19301
|
+
}, [createElementVNode("input", {
|
|
19302
|
+
ref: "input",
|
|
19303
|
+
class: normalizeClass(unref(clsx)(unref(Form_module_default).formInputNative, unref(Form_module_default).formNumberInputNative)),
|
|
19304
|
+
id: unref(id),
|
|
19305
|
+
name: __props.name,
|
|
19306
|
+
autofocus: __props.autoFocus,
|
|
19307
|
+
inputmode: "decimal",
|
|
19308
|
+
type: "number",
|
|
19309
|
+
"aria-disabled": unref(disabled) ? true : void 0,
|
|
19310
|
+
"aria-invalid": __props.error ? true : void 0,
|
|
19311
|
+
disabled: unref(disabled),
|
|
19312
|
+
max: __props.max,
|
|
19313
|
+
min: __props.min,
|
|
19314
|
+
placeholder: __props.placeholder,
|
|
19315
|
+
readonly: __props.isReadonly,
|
|
19316
|
+
step: __props.step,
|
|
19317
|
+
value: modelValue.value ?? "",
|
|
19318
|
+
onBlur,
|
|
19319
|
+
onFocus,
|
|
19320
|
+
onInput,
|
|
19321
|
+
onKeydown: onKeyDown
|
|
19322
|
+
}, null, 42, _hoisted_2$8), createElementVNode("span", {
|
|
19323
|
+
"aria-hidden": "true",
|
|
19324
|
+
class: normalizeClass(unref(Form_module_default).formNumberInputButtons)
|
|
19325
|
+
}, [createElementVNode("button", {
|
|
19326
|
+
type: "button",
|
|
19327
|
+
tabindex: "-1",
|
|
19328
|
+
class: normalizeClass(unref(Form_module_default).formNumberInputButton),
|
|
19329
|
+
disabled: unref(disabled) || __props.isReadonly || atMax.value,
|
|
19330
|
+
onClick: _cache[0] || (_cache[0] = ($event) => stepValue(1))
|
|
19331
|
+
}, [createVNode(FluxIcon_default, {
|
|
19332
|
+
name: "chevron-up",
|
|
19333
|
+
size: 12
|
|
19334
|
+
})], 10, _hoisted_3$2), createElementVNode("button", {
|
|
19335
|
+
type: "button",
|
|
19336
|
+
tabindex: "-1",
|
|
19337
|
+
class: normalizeClass(unref(Form_module_default).formNumberInputButton),
|
|
19338
|
+
disabled: unref(disabled) || __props.isReadonly || atMin.value,
|
|
19339
|
+
onClick: _cache[1] || (_cache[1] = ($event) => stepValue(-1))
|
|
19340
|
+
}, [createVNode(FluxIcon_default, {
|
|
19341
|
+
name: "chevron-down",
|
|
19342
|
+
size: 12
|
|
19343
|
+
})], 10, _hoisted_4$1)], 2)], 10, _hoisted_1$27);
|
|
19344
|
+
};
|
|
19345
|
+
}
|
|
19346
|
+
});
|
|
19347
|
+
//#endregion
|
|
19000
19348
|
//#region src/component/FluxFormPinInput.vue?vue&type=script&setup=true&lang.ts
|
|
19001
|
-
var _hoisted_1$
|
|
19349
|
+
var _hoisted_1$26 = [
|
|
19002
19350
|
"id",
|
|
19003
19351
|
"name",
|
|
19004
19352
|
"autofocus",
|
|
@@ -19089,7 +19437,7 @@ var FluxFormPinInput_default = /* @__PURE__ */ defineComponent({
|
|
|
19089
19437
|
}
|
|
19090
19438
|
return (_ctx, _cache) => {
|
|
19091
19439
|
return openBlock(), createElementBlock("fieldset", {
|
|
19092
|
-
class: normalizeClass(unref(clsx)(unref(disabled) ? unref(Form_module_default).
|
|
19440
|
+
class: normalizeClass(unref(clsx)(unref(disabled) ? unref(Form_module_default).formPinInputDisabled : unref(Form_module_default).formPinInputEnabled, __props.error && unref(Form_module_default).isInvalid)),
|
|
19093
19441
|
id: unref(id),
|
|
19094
19442
|
name: __props.name,
|
|
19095
19443
|
style: normalizeStyle({ "--max-length": __props.maxLength }),
|
|
@@ -19101,7 +19449,7 @@ var FluxFormPinInput_default = /* @__PURE__ */ defineComponent({
|
|
|
19101
19449
|
key: field,
|
|
19102
19450
|
ref_for: true,
|
|
19103
19451
|
ref: "fields",
|
|
19104
|
-
class: normalizeClass(unref(Form_module_default).
|
|
19452
|
+
class: normalizeClass(unref(Form_module_default).formPinInputField),
|
|
19105
19453
|
maxlength: "1",
|
|
19106
19454
|
"aria-label": unref(translate)("flux.pinDigit", {
|
|
19107
19455
|
index: field,
|
|
@@ -19119,7 +19467,116 @@ var FluxFormPinInput_default = /* @__PURE__ */ defineComponent({
|
|
|
19119
19467
|
onKeydown: onKeyDown,
|
|
19120
19468
|
onPaste
|
|
19121
19469
|
}, null, 42, _hoisted_2$7);
|
|
19122
|
-
}), 128))], 14, _hoisted_1$
|
|
19470
|
+
}), 128))], 14, _hoisted_1$26);
|
|
19471
|
+
};
|
|
19472
|
+
}
|
|
19473
|
+
});
|
|
19474
|
+
//#endregion
|
|
19475
|
+
//#region src/component/FluxFormRadio.vue?vue&type=script&setup=true&lang.ts
|
|
19476
|
+
var _hoisted_1$25 = [
|
|
19477
|
+
"name",
|
|
19478
|
+
"checked",
|
|
19479
|
+
"disabled",
|
|
19480
|
+
"aria-disabled",
|
|
19481
|
+
"aria-readonly",
|
|
19482
|
+
"aria-invalid"
|
|
19483
|
+
];
|
|
19484
|
+
//#endregion
|
|
19485
|
+
//#region src/component/FluxFormRadio.vue
|
|
19486
|
+
var FluxFormRadio_default = /* @__PURE__ */ defineComponent({
|
|
19487
|
+
__name: "FluxFormRadio",
|
|
19488
|
+
props: {
|
|
19489
|
+
value: { type: [
|
|
19490
|
+
String,
|
|
19491
|
+
Number,
|
|
19492
|
+
Boolean
|
|
19493
|
+
] },
|
|
19494
|
+
disabled: { type: Boolean },
|
|
19495
|
+
label: {}
|
|
19496
|
+
},
|
|
19497
|
+
setup(__props, { slots: $slots }) {
|
|
19498
|
+
const group = useFormRadioGroupInjection_default();
|
|
19499
|
+
const disabled = useDisabled_default(toRef(() => __props.disabled || unref(group.disabled)));
|
|
19500
|
+
const isChecked = computed(() => unref(group.modelValue) === __props.value);
|
|
19501
|
+
const isReadonly = computed(() => unref(group.isReadonly));
|
|
19502
|
+
const error = computed(() => unref(group.error));
|
|
19503
|
+
function onChange() {
|
|
19504
|
+
if (unref(isReadonly) || unref(disabled)) return;
|
|
19505
|
+
group.select(__props.value);
|
|
19506
|
+
}
|
|
19507
|
+
function onClick(evt) {
|
|
19508
|
+
if (unref(isReadonly)) evt.preventDefault();
|
|
19509
|
+
}
|
|
19510
|
+
return (_ctx, _cache) => {
|
|
19511
|
+
return openBlock(), createElementBlock("label", { class: normalizeClass(unref(clsx)(unref(Form_module_default).formRadio, unref(disabled) && unref(Form_module_default).isDisabled, isReadonly.value && unref(Form_module_default).isReadonly, error.value && unref(Form_module_default).isInvalid)) }, [
|
|
19512
|
+
createElementVNode("input", {
|
|
19513
|
+
ref: "input",
|
|
19514
|
+
type: "radio",
|
|
19515
|
+
class: normalizeClass(unref(Form_module_default).formRadioNative),
|
|
19516
|
+
name: unref(group).name,
|
|
19517
|
+
checked: isChecked.value,
|
|
19518
|
+
disabled: unref(disabled),
|
|
19519
|
+
"aria-disabled": unref(disabled) ? true : void 0,
|
|
19520
|
+
"aria-readonly": isReadonly.value ? true : void 0,
|
|
19521
|
+
"aria-invalid": error.value ? true : void 0,
|
|
19522
|
+
onChange,
|
|
19523
|
+
onClick
|
|
19524
|
+
}, null, 42, _hoisted_1$25),
|
|
19525
|
+
createElementVNode("span", {
|
|
19526
|
+
"aria-hidden": "true",
|
|
19527
|
+
class: normalizeClass(unref(Form_module_default).formRadioElement)
|
|
19528
|
+
}, null, 2),
|
|
19529
|
+
__props.label || $slots.default ? (openBlock(), createElementBlock("span", {
|
|
19530
|
+
key: 0,
|
|
19531
|
+
class: normalizeClass(unref(Form_module_default).formRadioLabel)
|
|
19532
|
+
}, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])], 2)) : createCommentVNode("", true)
|
|
19533
|
+
], 2);
|
|
19534
|
+
};
|
|
19535
|
+
}
|
|
19536
|
+
});
|
|
19537
|
+
//#endregion
|
|
19538
|
+
//#region src/component/FluxFormRadioGroup.vue?vue&type=script&setup=true&lang.ts
|
|
19539
|
+
var _hoisted_1$24 = ["aria-label"];
|
|
19540
|
+
//#endregion
|
|
19541
|
+
//#region src/component/FluxFormRadioGroup.vue
|
|
19542
|
+
var FluxFormRadioGroup_default = /* @__PURE__ */ defineComponent({
|
|
19543
|
+
__name: "FluxFormRadioGroup",
|
|
19544
|
+
props: /*@__PURE__*/ mergeModels({
|
|
19545
|
+
disabled: { type: Boolean },
|
|
19546
|
+
error: {},
|
|
19547
|
+
isReadonly: { type: Boolean },
|
|
19548
|
+
ariaLabel: {},
|
|
19549
|
+
isInline: { type: Boolean },
|
|
19550
|
+
name: {}
|
|
19551
|
+
}, {
|
|
19552
|
+
"modelValue": { type: [
|
|
19553
|
+
String,
|
|
19554
|
+
Number,
|
|
19555
|
+
Boolean
|
|
19556
|
+
] },
|
|
19557
|
+
"modelModifiers": {}
|
|
19558
|
+
}),
|
|
19559
|
+
emits: ["update:modelValue"],
|
|
19560
|
+
setup(__props) {
|
|
19561
|
+
const modelValue = useModel(__props, "modelValue");
|
|
19562
|
+
const disabled = useDisabled_default(toRef(() => __props.disabled));
|
|
19563
|
+
const generatedName = useId();
|
|
19564
|
+
provide(FluxFormRadioGroupInjectionKey, {
|
|
19565
|
+
name: __props.name ?? generatedName,
|
|
19566
|
+
modelValue,
|
|
19567
|
+
disabled,
|
|
19568
|
+
isReadonly: toRef(() => __props.isReadonly ?? false),
|
|
19569
|
+
error: toRef(() => __props.error),
|
|
19570
|
+
select(value) {
|
|
19571
|
+
modelValue.value = value;
|
|
19572
|
+
}
|
|
19573
|
+
});
|
|
19574
|
+
return (_ctx, _cache) => {
|
|
19575
|
+
return openBlock(), createElementBlock("div", {
|
|
19576
|
+
class: normalizeClass(unref(clsx)(unref(Form_module_default).formRadioGroup, __props.isInline && unref(Form_module_default).isInline)),
|
|
19577
|
+
role: "radiogroup",
|
|
19578
|
+
"aria-label": __props.ariaLabel
|
|
19579
|
+
}, [renderSlot(_ctx.$slots, "default")], 10, _hoisted_1$24);
|
|
19123
19580
|
};
|
|
19124
19581
|
}
|
|
19125
19582
|
});
|
|
@@ -19366,8 +19823,8 @@ var FluxFormSelectAsync_default = /* @__PURE__ */ defineComponent({
|
|
|
19366
19823
|
return options;
|
|
19367
19824
|
});
|
|
19368
19825
|
const { groups, selected, values } = useFormSelect_default(modelValue, __props.isMultiple, options);
|
|
19369
|
-
const { isLoading: isFetchingLoading, loaded } =
|
|
19370
|
-
const debouncedModelSearch =
|
|
19826
|
+
const { isLoading: isFetchingLoading, loaded } = Y$1();
|
|
19827
|
+
const debouncedModelSearch = J$1(modelSearch, 300);
|
|
19371
19828
|
const fetchOptions = computed(() => loaded(__props.fetchOptions));
|
|
19372
19829
|
const fetchRelevant = computed(() => loaded(__props.fetchRelevant));
|
|
19373
19830
|
const fetchSearch = computed(() => loaded(__props.fetchSearch));
|
|
@@ -22295,12 +22752,12 @@ var FluxQuantitySelector_default = /* @__PURE__ */ defineComponent({
|
|
|
22295
22752
|
});
|
|
22296
22753
|
return (_ctx, _cache) => {
|
|
22297
22754
|
return openBlock(), createBlock(FluxButtonGroup_default, {
|
|
22298
|
-
class: normalizeClass(unref(Form_module_default).
|
|
22755
|
+
class: normalizeClass(unref(Form_module_default).formQuantitySelector),
|
|
22299
22756
|
"aria-disabled": unref(disabled) ? true : void 0
|
|
22300
22757
|
}, {
|
|
22301
22758
|
default: withCtx(() => [
|
|
22302
22759
|
createVNode(FluxSecondaryButton_default, {
|
|
22303
|
-
class: normalizeClass(unref(Form_module_default).
|
|
22760
|
+
class: normalizeClass(unref(Form_module_default).formQuantitySelectorButton),
|
|
22304
22761
|
disabled: unref(disabled) || modelValue.value <= __props.min,
|
|
22305
22762
|
"icon-leading": "minus",
|
|
22306
22763
|
tabindex: "-1",
|
|
@@ -22309,7 +22766,7 @@ var FluxQuantitySelector_default = /* @__PURE__ */ defineComponent({
|
|
|
22309
22766
|
withDirectives(createElementVNode("input", {
|
|
22310
22767
|
ref: "input",
|
|
22311
22768
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
22312
|
-
class: normalizeClass(unref(Form_module_default).
|
|
22769
|
+
class: normalizeClass(unref(Form_module_default).formQuantitySelectorInput),
|
|
22313
22770
|
style: normalizeStyle({ width: `${width.value}px` }),
|
|
22314
22771
|
disabled: unref(disabled),
|
|
22315
22772
|
tabindex: "0",
|
|
@@ -22319,7 +22776,7 @@ var FluxQuantitySelector_default = /* @__PURE__ */ defineComponent({
|
|
|
22319
22776
|
step: __props.step
|
|
22320
22777
|
}, null, 14, _hoisted_1$10), [[vModelText, modelValue.value]]),
|
|
22321
22778
|
createVNode(FluxSecondaryButton_default, {
|
|
22322
|
-
class: normalizeClass(unref(Form_module_default).
|
|
22779
|
+
class: normalizeClass(unref(Form_module_default).formQuantitySelectorButton),
|
|
22323
22780
|
disabled: unref(disabled) || modelValue.value >= __props.max,
|
|
22324
22781
|
"icon-leading": "plus",
|
|
22325
22782
|
tabindex: "-1",
|
|
@@ -22824,14 +23281,14 @@ var FluxSecondaryLinkButton_default = /* @__PURE__ */ defineComponent({
|
|
|
22824
23281
|
});
|
|
22825
23282
|
var SegmentedControl_module_default = {
|
|
22826
23283
|
segmentedControl: `segmented-control`,
|
|
22827
|
-
isSmall: `is-small`,
|
|
22828
|
-
isMedium: `is-medium`,
|
|
22829
|
-
isLarge: `is-large`,
|
|
22830
23284
|
segmentedControlFill: `segmented-control-fill segmented-control`,
|
|
22831
23285
|
segmentedControlInline: `segmented-control-inline segmented-control`,
|
|
22832
23286
|
segmentedControlHighlight: `segmented-control-highlight`,
|
|
22833
23287
|
segmentedControlItem: `segmented-control-item`,
|
|
22834
|
-
isActive: `is-active
|
|
23288
|
+
isActive: `is-active`,
|
|
23289
|
+
isSmall: `is-small`,
|
|
23290
|
+
isMedium: `is-medium`,
|
|
23291
|
+
isLarge: `is-large`
|
|
22835
23292
|
};
|
|
22836
23293
|
//#endregion
|
|
22837
23294
|
//#region src/component/FluxSegmentedControl.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -22870,11 +23327,11 @@ var FluxSegmentedControl_default = /* @__PURE__ */ defineComponent({
|
|
|
22870
23327
|
});
|
|
22871
23328
|
onMounted(() => updateHighlight());
|
|
22872
23329
|
watch(modelValue, () => updateHighlight(), { flush: "post" });
|
|
22873
|
-
|
|
23330
|
+
ye$1(controlRef, () => updateHighlight(), {
|
|
22874
23331
|
childList: true,
|
|
22875
23332
|
subtree: true
|
|
22876
23333
|
});
|
|
22877
|
-
|
|
23334
|
+
Ce$1(controlRef, () => updateHighlight());
|
|
22878
23335
|
function select(value) {
|
|
22879
23336
|
modelValue.value = value;
|
|
22880
23337
|
}
|
|
@@ -23012,6 +23469,43 @@ var FluxSegmentedControlItem_default = /* @__PURE__ */ defineComponent({
|
|
|
23012
23469
|
};
|
|
23013
23470
|
}
|
|
23014
23471
|
});
|
|
23472
|
+
var Skeleton_module_default = {
|
|
23473
|
+
skeleton: `skeleton`,
|
|
23474
|
+
"skeleton-shimmer": `skeleton-shimmer`,
|
|
23475
|
+
"skeleton-pulse": `skeleton-pulse`,
|
|
23476
|
+
isText: `is-text`,
|
|
23477
|
+
isCircle: `is-circle`,
|
|
23478
|
+
isRectangle: `is-rectangle`,
|
|
23479
|
+
isRounded: `is-rounded`
|
|
23480
|
+
};
|
|
23481
|
+
//#endregion
|
|
23482
|
+
//#region src/component/FluxSkeleton.vue
|
|
23483
|
+
var FluxSkeleton_default = /* @__PURE__ */ defineComponent({
|
|
23484
|
+
__name: "FluxSkeleton",
|
|
23485
|
+
props: {
|
|
23486
|
+
height: {},
|
|
23487
|
+
is: { default: "div" },
|
|
23488
|
+
variant: { default: "text" },
|
|
23489
|
+
width: {}
|
|
23490
|
+
},
|
|
23491
|
+
setup(__props) {
|
|
23492
|
+
const style = computed(() => ({
|
|
23493
|
+
height: toSize(__props.height),
|
|
23494
|
+
width: toSize(__props.width)
|
|
23495
|
+
}));
|
|
23496
|
+
function toSize(value) {
|
|
23497
|
+
if (value === void 0) return;
|
|
23498
|
+
return typeof value === "number" ? `${value}px` : value;
|
|
23499
|
+
}
|
|
23500
|
+
return (_ctx, _cache) => {
|
|
23501
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.is), {
|
|
23502
|
+
class: normalizeClass(unref(clsx)(unref(Skeleton_module_default).skeleton, __props.variant === "circle" && unref(Skeleton_module_default).isCircle, __props.variant === "rectangle" && unref(Skeleton_module_default).isRectangle, __props.variant === "rounded" && unref(Skeleton_module_default).isRounded, __props.variant === "text" && unref(Skeleton_module_default).isText)),
|
|
23503
|
+
style: normalizeStyle(style.value),
|
|
23504
|
+
"aria-hidden": "true"
|
|
23505
|
+
}, null, 8, ["class", "style"]);
|
|
23506
|
+
};
|
|
23507
|
+
}
|
|
23508
|
+
});
|
|
23015
23509
|
//#endregion
|
|
23016
23510
|
//#region src/component/FluxSlideOver.vue
|
|
23017
23511
|
var FluxSlideOver_default = defineComponent({
|
|
@@ -23201,7 +23695,7 @@ var FluxSplitView_default = /* @__PURE__ */ defineComponent({
|
|
|
23201
23695
|
});
|
|
23202
23696
|
//#endregion
|
|
23203
23697
|
//#region src/css/component/Stepper.module.scss
|
|
23204
|
-
var { "
|
|
23698
|
+
var { "sparklesContainer": _0$2, "sparklesContainerActive": _1, "sparklesParticles": _2 } = {
|
|
23205
23699
|
sparklesContainer: `sparkles-container`,
|
|
23206
23700
|
sparklesParticles: `sparkles-particles`,
|
|
23207
23701
|
sparklesContainerActive: `sparkles-container-active`,
|
|
@@ -23212,11 +23706,11 @@ var { "sparklesContainerActive": _0$2, "sparklesContainer": _1, "sparklesParticl
|
|
|
23212
23706
|
var Stepper_module_default = {
|
|
23213
23707
|
stepperStep: `stepper-step`,
|
|
23214
23708
|
stepperSteps: `stepper-steps`,
|
|
23215
|
-
stepperStepsItem: `stepper-steps-item ${
|
|
23709
|
+
stepperStepsItem: `stepper-steps-item ${_0$2}`,
|
|
23216
23710
|
icon: `icon`,
|
|
23217
|
-
stepperStepsItemComplete: `stepper-steps-item-complete ${
|
|
23218
|
-
stepperStepsItemCurrent: `stepper-steps-item-current stepper-steps-item ${
|
|
23219
|
-
stepperStepsItemIdle: `stepper-steps-item-idle stepper-steps-item ${
|
|
23711
|
+
stepperStepsItemComplete: `stepper-steps-item-complete ${_1} stepper-steps-item ${_0$2}`,
|
|
23712
|
+
stepperStepsItemCurrent: `stepper-steps-item-current stepper-steps-item ${_0$2}`,
|
|
23713
|
+
stepperStepsItemIdle: `stepper-steps-item-idle stepper-steps-item ${_0$2}`,
|
|
23220
23714
|
stepperStepsItemParticles: `stepper-steps-item-particles ${_2}`
|
|
23221
23715
|
};
|
|
23222
23716
|
//#endregion
|
|
@@ -23430,11 +23924,11 @@ var FluxTabBar_default = /* @__PURE__ */ defineComponent({
|
|
|
23430
23924
|
setup(__props) {
|
|
23431
23925
|
const tabBarRef = useTemplateRef("tabBar");
|
|
23432
23926
|
O$1(tabBarRef, "scroll", () => checkScroll());
|
|
23433
|
-
|
|
23927
|
+
ye$1(tabBarRef, () => {
|
|
23434
23928
|
checkScroll();
|
|
23435
23929
|
updateHighlight();
|
|
23436
23930
|
}, { childList: true });
|
|
23437
|
-
|
|
23931
|
+
Ce$1(tabBarRef, () => updateHighlight());
|
|
23438
23932
|
const isEndArrowVisible = ref(false);
|
|
23439
23933
|
const isStartArrowVisible = ref(false);
|
|
23440
23934
|
const activeItemX = ref(0);
|
|
@@ -23896,7 +24390,7 @@ var FluxToggle_default = /* @__PURE__ */ defineComponent({
|
|
|
23896
24390
|
}
|
|
23897
24391
|
return (_ctx, _cache) => {
|
|
23898
24392
|
return openBlock(), createElementBlock("label", {
|
|
23899
|
-
class: normalizeClass(unref(clsx)(unref(Form_module_default).
|
|
24393
|
+
class: normalizeClass(unref(clsx)(unref(Form_module_default).formToggle, modelValue.value && unref(Form_module_default).isChecked, unref(disabled) && unref(Form_module_default).isDisabled, __props.isReadonly && unref(Form_module_default).isReadonly, __props.error && unref(Form_module_default).isInvalid, __props.isSwitch && unref(Form_module_default).isSwitch)),
|
|
23900
24394
|
for: unref(id),
|
|
23901
24395
|
"aria-disabled": unref(disabled) ? true : void 0,
|
|
23902
24396
|
"aria-readonly": __props.isReadonly ? true : void 0,
|
|
@@ -23904,18 +24398,18 @@ var FluxToggle_default = /* @__PURE__ */ defineComponent({
|
|
|
23904
24398
|
}, [
|
|
23905
24399
|
__props.iconOff ? (openBlock(), createBlock(FluxIcon_default, {
|
|
23906
24400
|
key: 0,
|
|
23907
|
-
class: normalizeClass(unref(Form_module_default).
|
|
24401
|
+
class: normalizeClass(unref(Form_module_default).formToggleIconOff),
|
|
23908
24402
|
name: __props.iconOff,
|
|
23909
24403
|
size: 14
|
|
23910
24404
|
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
23911
24405
|
__props.iconOn ? (openBlock(), createBlock(FluxIcon_default, {
|
|
23912
24406
|
key: 1,
|
|
23913
|
-
class: normalizeClass(unref(Form_module_default).
|
|
24407
|
+
class: normalizeClass(unref(Form_module_default).formToggleIconOn),
|
|
23914
24408
|
name: __props.iconOn,
|
|
23915
24409
|
size: 14
|
|
23916
24410
|
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
23917
24411
|
createElementVNode("input", {
|
|
23918
|
-
class: normalizeClass(unref(Form_module_default).
|
|
24412
|
+
class: normalizeClass(unref(Form_module_default).formToggleInput),
|
|
23919
24413
|
id: unref(id),
|
|
23920
24414
|
disabled: unref(disabled),
|
|
23921
24415
|
type: "checkbox",
|
|
@@ -24062,6 +24556,6 @@ var FluxTreeView_default = /* @__PURE__ */ defineComponent({
|
|
|
24062
24556
|
}
|
|
24063
24557
|
});
|
|
24064
24558
|
//#endregion
|
|
24065
|
-
export { FluxAction_default as FluxAction, FluxActionBar_default as FluxActionBar, FluxActionPane_default as FluxActionPane, FluxActionStack_default as FluxActionStack, FluxAdaptiveGroup_default as FluxAdaptiveGroup, FluxAdaptiveSlot_default as FluxAdaptiveSlot, FluxAnimatedColors_default as FluxAnimatedColors, FluxAspectRatio_default as FluxAspectRatio, FluxAutoHeightTransition_default as FluxAutoHeightTransition, FluxAutoWidthTransition_default as FluxAutoWidthTransition, FluxAvatar_default as FluxAvatar, FluxBadge_default as FluxBadge, FluxBadgeStack_default as FluxBadgeStack, FluxBorderBeam_default as FluxBorderBeam, FluxBorderShine_default as FluxBorderShine, FluxBoxedIcon_default as FluxBoxedIcon, FluxBreakthroughTransition_default as FluxBreakthroughTransition, FluxButton_default as FluxButton, FluxButtonGroup_default as FluxButtonGroup, FluxButtonStack_default as FluxButtonStack, FluxCalendar_default as FluxCalendar, FluxCalendarItem_default as FluxCalendarItem,
|
|
24559
|
+
export { FluxAction_default as FluxAction, FluxActionBar_default as FluxActionBar, FluxActionPane_default as FluxActionPane, FluxActionStack_default as FluxActionStack, FluxAdaptiveGroup_default as FluxAdaptiveGroup, FluxAdaptiveSlot_default as FluxAdaptiveSlot, FluxAnimatedColors_default as FluxAnimatedColors, FluxAspectRatio_default as FluxAspectRatio, FluxAutoHeightTransition_default as FluxAutoHeightTransition, FluxAutoWidthTransition_default as FluxAutoWidthTransition, FluxAvatar_default as FluxAvatar, FluxBadge_default as FluxBadge, FluxBadgeStack_default as FluxBadgeStack, FluxBorderBeam_default as FluxBorderBeam, FluxBorderShine_default as FluxBorderShine, FluxBoxedIcon_default as FluxBoxedIcon, FluxBreadcrumb_default as FluxBreadcrumb, FluxBreadcrumbItem_default as FluxBreadcrumbItem, FluxBreakthroughTransition_default as FluxBreakthroughTransition, FluxButton_default as FluxButton, FluxButtonGroup_default as FluxButtonGroup, FluxButtonStack_default as FluxButtonStack, FluxCalendar_default as FluxCalendar, FluxCalendarItem_default as FluxCalendarItem, FluxChip_default as FluxChip, FluxClickablePane_default as FluxClickablePane, FluxColorPicker_default as FluxColorPicker, FluxColorSelect_default as FluxColorSelect, FluxCommandPalette_default as FluxCommandPalette, FluxCommandPaletteGroup_default as FluxCommandPaletteGroup, FluxCommandPaletteItem_default as FluxCommandPaletteItem, FluxComment_default as FluxComment, FluxContainer_default as FluxContainer, FluxDataTable_default as FluxDataTable, FluxDatePicker_default as FluxDatePicker, FluxDestructiveButton_default as FluxDestructiveButton, FluxDisabled_default as FluxDisabled, FluxDivider_default as FluxDivider, FluxDotPattern_default as FluxDotPattern, FluxDropZone_default as FluxDropZone, FluxDynamicView_default as FluxDynamicView, FluxExpandable_default as FluxExpandable, FluxExpandableGroup_default as FluxExpandableGroup, FluxFadeTransition_default as FluxFadeTransition, FluxFader_default as FluxFader, FluxFaderItem_default as FluxFaderItem, FluxFilter_default as FluxFilter, FluxFilterBar_default as FluxFilterBar, FluxFilterDate_default as FluxFilterDate, FluxFilterDateRange_default as FluxFilterDateRange, FluxFilterOption_default as FluxFilterOption, FluxFilterOptionAsync_default as FluxFilterOptionAsync, FluxFilterOptions_default as FluxFilterOptions, FluxFilterOptionsAsync_default as FluxFilterOptionsAsync, FluxFilterRange_default as FluxFilterRange, FluxFlex_default as FluxFlex, FluxFlexItem_default as FluxFlexItem, FluxFlickeringGrid_default as FluxFlickeringGrid, FluxFlyout_default as FluxFlyout, FluxFocalPointEditor_default as FluxFocalPointEditor, FluxFocalPointImage_default as FluxFocalPointImage, FluxForm_default as FluxForm, FluxFormCheckbox_default as FluxFormCheckbox, FluxFormCheckboxGroup_default as FluxFormCheckboxGroup, FluxFormColumn_default as FluxFormColumn, FluxFormDateInput_default as FluxFormDateInput, FluxFormDateRangeInput_default as FluxFormDateRangeInput, FluxFormDateTimeInput_default as FluxFormDateTimeInput, FluxFormField_default as FluxFormField, FluxFormFieldAddition_default as FluxFormFieldAddition, FluxFormGrid_default as FluxFormGrid, FluxFormInput_default as FluxFormInput, FluxFormInputAddition_default as FluxFormInputAddition, FluxFormInputGroup_default as FluxFormInputGroup, FluxFormNumberInput_default as FluxFormNumberInput, FluxFormPinInput_default as FluxFormPinInput, FluxFormRadio_default as FluxFormRadio, FluxFormRadioGroup_default as FluxFormRadioGroup, FluxFormRangeSlider_default as FluxFormRangeSlider, FluxFormRow_default as FluxFormRow, FluxFormSection_default as FluxFormSection, FluxFormSelect_default as FluxFormSelect, FluxFormSelectAsync_default as FluxFormSelectAsync, FluxFormSlider_default as FluxFormSlider, FluxFormTextArea_default as FluxFormTextArea, FluxFormTimeZonePicker_default as FluxFormTimeZonePicker, FluxFormTreeViewSelect_default as FluxFormTreeViewSelect, FluxGallery_default as FluxGallery, FluxGalleryItem_default as FluxGalleryItem, FluxGrid_default as FluxGrid, FluxGridColumn_default as FluxGridColumn, FluxGridPattern_default as FluxGridPattern, FluxIcon_default as FluxIcon, FluxInfo_default as FluxInfo, FluxInfoStack_default as FluxInfoStack, FluxItem_default as FluxItem, FluxItemActions_default as FluxItemActions, FluxItemContent_default as FluxItemContent, FluxItemMedia_default as FluxItemMedia, FluxItemStack_default as FluxItemStack, FluxKanban_default as FluxKanban, FluxKanbanColumn_default as FluxKanbanColumn, FluxKanbanItem_default as FluxKanbanItem, FluxLayerPane_default as FluxLayerPane, FluxLayerPaneSecondary_default as FluxLayerPaneSecondary, FluxLink_default as FluxLink, FluxMenu_default as FluxMenu, FluxMenuCollapsible_default as FluxMenuCollapsible, FluxMenuGroup_default as FluxMenuGroup, FluxMenuItem_default as FluxMenuItem, FluxMenuOptions_default as FluxMenuOptions, FluxMenuSubHeader_default as FluxMenuSubHeader, FluxMenuTitle_default as FluxMenuTitle, FluxNotice_default as FluxNotice, FluxNoticeStack_default as FluxNoticeStack, FluxOverflowBar_default as FluxOverflowBar, FluxOverlay_default as FluxOverlay, FluxOverlayProvider_default as FluxOverlayProvider, FluxOverlayTransition_default as FluxOverlayTransition, FluxPagination_default as FluxPagination, FluxPaginationBar_default as FluxPaginationBar, FluxPane_default as FluxPane, FluxPaneBody_default as FluxPaneBody, FluxPaneFooter_default as FluxPaneFooter, FluxPaneGroup_default as FluxPaneGroup, FluxPaneHeader_default as FluxPaneHeader, FluxPaneIllustration_default as FluxPaneIllustration, FluxPaneMedia_default as FluxPaneMedia, FluxPersona_default as FluxPersona, FluxPlaceholder_default as FluxPlaceholder, FluxPressable_default as FluxPressable, FluxPrimaryButton_default as FluxPrimaryButton, FluxPrimaryLinkButton_default as FluxPrimaryLinkButton, FluxProgressBar_default as FluxProgressBar, FluxPublishButton_default as FluxPublishButton, FluxQuantitySelector_default as FluxQuantitySelector, FluxRemove_default as FluxRemove, FluxRoot_default as FluxRoot, FluxRouteTransition_default as FluxRouteTransition, FluxScroller_default as FluxScroller, FluxSecondaryButton_default as FluxSecondaryButton, FluxSecondaryLinkButton_default as FluxSecondaryLinkButton, FluxSegmentedControl_default as FluxSegmentedControl, FluxSegmentedControlItem_default as FluxSegmentedControlItem, FluxSeparator_default as FluxSeparator, FluxSkeleton_default as FluxSkeleton, FluxSlideOver_default as FluxSlideOver, FluxSlideOverTransition_default as FluxSlideOverTransition, FluxSnackbar_default as FluxSnackbar, FluxSnackbarProvider_default as FluxSnackbarProvider, FluxSpacer_default as FluxSpacer, FluxSpacing_default as FluxSpacing, FluxSpinner_default as FluxSpinner, FluxSplitButton_default as FluxSplitButton, FluxSplitView_default as FluxSplitView, FluxSplitViewPane_default as FluxSplitViewPane, FluxStepper_default as FluxStepper, FluxStepperStep_default as FluxStepperStep, FluxStepperSteps_default as FluxStepperSteps, FluxSticky_default as FluxSticky, FluxTab_default as FluxTab, FluxTabBar_default as FluxTabBar, FluxTabBarItem_default as FluxTabBarItem, FluxTable_default as FluxTable, FluxTableActions_default as FluxTableActions, FluxTableBar_default as FluxTableBar, FluxTableCell_default as FluxTableCell, FluxTableHeader_default as FluxTableHeader, FluxTableRow_default as FluxTableRow, FluxTabs_default as FluxTabs, FluxTag_default as FluxTag, FluxTagStack_default as FluxTagStack, FluxTicks_default as FluxTicks, FluxTimeline_default as FluxTimeline, FluxTimelineItem_default as FluxTimelineItem, FluxToggle_default as FluxToggle, FluxToolbar_default as FluxToolbar, FluxToolbarGroup_default as FluxToolbarGroup, FluxTooltip_default as FluxTooltip, FluxTooltipProvider_default as FluxTooltipProvider, FluxTooltipTransition_default as FluxTooltipTransition, FluxTreeView_default as FluxTreeView, FluxVerticalWindowTransition_default as FluxVerticalWindowTransition, FluxWindow_default as FluxWindow, FluxWindowTransition_default as FluxWindowTransition, defineFilter, fluxRegisterIcons, iconRegistry, isFluxFilterOptionHeader, isFluxFilterOptionItem, isFluxFormSelectGroup, isFluxFormSelectOption, pickFilterCommon, showAlert, showConfirm, showPrompt, showSnackbar, useAdaptiveGroupInjection_default as useAdaptiveGroupInjection, useBreakpoints_default as useBreakpoints, useCalendarInjection_default as useCalendarInjection, useDisabled_default as useDisabled, useDisabledInjection_default as useDisabledInjection, useExpandableGroupInjection_default as useExpandableGroupInjection, useFilterInjection_default as useFilterInjection, useFluxStore, useFlyoutInjection_default as useFlyoutInjection, useFormCheckboxGroupInjection_default as useFormCheckboxGroupInjection, useFormFieldInjection_default as useFormFieldInjection, useFormRadioGroupInjection_default as useFormRadioGroupInjection, useKanbanInjection_default as useKanbanInjection, useSegmentedControlInjection_default as useSegmentedControlInjection, useTabBarInjection_default as useTabBarInjection, useTableInjection_default as useTableInjection, useTooltipInjection_default as useTooltipInjection };
|
|
24066
24560
|
|
|
24067
24561
|
//# sourceMappingURL=index.js.map
|