@flux-ui/components 3.0.0-next.73 → 3.0.0-next.74
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/FluxKanbanColumn.vue.d.ts +1 -1
- package/dist/component/FluxSegmentedControl.vue.d.ts +18 -8
- package/dist/component/FluxSegmentedControlItem.vue.d.ts +20 -0
- package/dist/component/FluxSpacing.vue.d.ts +2 -1
- package/dist/component/index.d.ts +1 -1
- package/dist/component/primitive/FilterMenuRenderer.d.ts +3 -3
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/useSegmentedControlInjection.d.ts +2 -0
- package/dist/data/di.d.ts +10 -1
- package/dist/index.css +55 -25
- package/dist/index.js +375 -312
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/component/FluxBoxedIcon.vue +1 -1
- package/src/component/FluxCalendar.vue +6 -6
- package/src/component/FluxColorPicker.vue +5 -5
- package/src/component/FluxDropZone.vue +0 -1
- package/src/component/FluxDynamicView.vue +2 -2
- package/src/component/FluxExpandableGroup.vue +0 -1
- package/src/component/FluxFilterBase.vue +11 -11
- package/src/component/FluxFormFieldAddition.vue +2 -2
- package/src/component/FluxInfo.vue +2 -2
- package/src/component/FluxInfoStack.vue +2 -2
- package/src/component/FluxKanbanColumn.vue +2 -4
- package/src/component/FluxLayerPane.vue +1 -1
- package/src/component/FluxPagination.vue +4 -4
- package/src/component/FluxSegmentedControl.vue +64 -67
- package/src/component/FluxSegmentedControlItem.vue +98 -0
- package/src/component/FluxSpacing.vue +5 -1
- package/src/component/FluxSplitButton.vue +2 -2
- package/src/component/FluxTable.vue +3 -1
- package/src/component/FluxToolbar.vue +1 -1
- package/src/component/index.ts +1 -1
- package/src/component/primitive/FilterBadge.vue +11 -2
- package/src/component/primitive/FilterMenuRenderer.ts +4 -4
- package/src/composable/index.ts +1 -0
- package/src/composable/useSegmentedControlInjection.ts +13 -0
- package/src/css/component/Form.module.scss +2 -2
- package/src/css/component/SegmentedControl.module.scss +53 -24
- package/src/css/component/Spinner.module.scss +1 -0
- package/src/css/component/Visual.module.scss +1 -0
- package/src/css/mixin/tree-node.scss +3 -3
- package/src/data/di.ts +13 -1
- package/src/data/iconRegistry.ts +1 -1
- package/src/util/createDialogRenderer.ts +1 -1
- package/dist/component/FluxSegmentedView.vue.d.ts +0 -9
- package/src/component/FluxSegmentedView.vue +0 -15
package/dist/index.js
CHANGED
|
@@ -70,6 +70,7 @@ var FluxExpandableGroupInjectionKey = Symbol();
|
|
|
70
70
|
var FluxFlyoutInjectionKey = Symbol();
|
|
71
71
|
var FluxFilterInjectionKey = Symbol();
|
|
72
72
|
var FluxFormFieldInjectionKey = Symbol();
|
|
73
|
+
var FluxSegmentedControlInjectionKey = Symbol();
|
|
73
74
|
var FluxTabBarInjectionKey = Symbol();
|
|
74
75
|
var FluxTableInjectionKey = Symbol();
|
|
75
76
|
var FluxTooltipInjectionKey = Symbol();
|
|
@@ -164,7 +165,7 @@ function fluxRegisterIcons(icons) {
|
|
|
164
165
|
if (!icons[key]) return acc;
|
|
165
166
|
const { icon, iconName } = icons[key];
|
|
166
167
|
acc[iconName] = icon;
|
|
167
|
-
if (Array.isArray(icon[2])) icon[2].forEach((
|
|
168
|
+
if (Array.isArray(icon[2])) icon[2].forEach((alias) => acc[alias] = icon);
|
|
168
169
|
return acc;
|
|
169
170
|
}, {});
|
|
170
171
|
}
|
|
@@ -2345,6 +2346,17 @@ function useKanbanInjection_default() {
|
|
|
2345
2346
|
return injection;
|
|
2346
2347
|
}
|
|
2347
2348
|
//#endregion
|
|
2349
|
+
//#region src/composable/useSegmentedControlInjection.ts
|
|
2350
|
+
function useSegmentedControlInjection_default() {
|
|
2351
|
+
return inject(FluxSegmentedControlInjectionKey, {
|
|
2352
|
+
modelValue: ref(void 0),
|
|
2353
|
+
size: ref("medium"),
|
|
2354
|
+
select: () => void 0,
|
|
2355
|
+
registerItem: () => void 0,
|
|
2356
|
+
unregisterItem: () => void 0
|
|
2357
|
+
});
|
|
2358
|
+
}
|
|
2359
|
+
//#endregion
|
|
2348
2360
|
//#region src/composable/useTabBarInjection.ts
|
|
2349
2361
|
function useTabBarInjection_default() {
|
|
2350
2362
|
return inject(FluxTabBarInjectionKey, {
|
|
@@ -2369,7 +2381,7 @@ function useTooltipInjection_default() {
|
|
|
2369
2381
|
return inject(FluxTooltipInjectionKey, { calculate: () => void 0 });
|
|
2370
2382
|
}
|
|
2371
2383
|
//#endregion
|
|
2372
|
-
//#region ../../node_modules/.bun/@basmilius+utils@3.
|
|
2384
|
+
//#region ../../node_modules/.bun/@basmilius+utils@3.40.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
|
|
2373
2385
|
function t$1(e, t) {
|
|
2374
2386
|
return Math.round(e / t) * t;
|
|
2375
2387
|
}
|
|
@@ -3339,7 +3351,7 @@ var camelCase = createCompounder(function(result, word, index) {
|
|
|
3339
3351
|
return result + (index ? capitalize(word) : word);
|
|
3340
3352
|
});
|
|
3341
3353
|
//#endregion
|
|
3342
|
-
//#region ../internals/dist/util-
|
|
3354
|
+
//#region ../internals/dist/util-CJ4O9fDL.js
|
|
3343
3355
|
function i$2(e) {
|
|
3344
3356
|
if (typeof requestAnimationFrame > `u`) return (() => {});
|
|
3345
3357
|
let t = 0;
|
|
@@ -3468,7 +3480,7 @@ function v$2(...e) {
|
|
|
3468
3480
|
}
|
|
3469
3481
|
function y$2(e, t, n = !1) {
|
|
3470
3482
|
let r = b$2(e), i = t.compareDocumentPosition(e), a;
|
|
3471
|
-
a = i
|
|
3483
|
+
a = (i & Node.DOCUMENT_POSITION_PRECEDING) !== 0 || n ? r.firstChild() : r.lastChild(), (a === null ? e : a).focus();
|
|
3472
3484
|
}
|
|
3473
3485
|
function b$2(e) {
|
|
3474
3486
|
return document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => e.tabIndex >= 0 && !e.disabled ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP });
|
|
@@ -6585,7 +6597,7 @@ useMode(definition$2);
|
|
|
6585
6597
|
useMode(definition$1);
|
|
6586
6598
|
useMode(definition);
|
|
6587
6599
|
//#endregion
|
|
6588
|
-
//#region ../../node_modules/.bun/@basmilius+http-client@3.
|
|
6600
|
+
//#region ../../node_modules/.bun/@basmilius+http-client@3.40.0+24cbb59c6ffe9d25/node_modules/@basmilius/http-client/dist/index.mjs
|
|
6589
6601
|
function adapter_default(Parent) {
|
|
6590
6602
|
return class extends Parent {
|
|
6591
6603
|
constructor(...args) {
|
|
@@ -6593,11 +6605,6 @@ function adapter_default(Parent) {
|
|
|
6593
6605
|
}
|
|
6594
6606
|
};
|
|
6595
6607
|
}
|
|
6596
|
-
function bound_default() {
|
|
6597
|
-
return (target, method) => {
|
|
6598
|
-
target[method] = target[method].bind(target);
|
|
6599
|
-
};
|
|
6600
|
-
}
|
|
6601
6608
|
/**
|
|
6602
6609
|
* Checks if the two given values are equal. When both values are a
|
|
6603
6610
|
* dto, the check is done by firstly converthing them to JSON.
|
|
@@ -6621,7 +6628,7 @@ var TRIGGER = Symbol();
|
|
|
6621
6628
|
* Checks if the given object is a dto.
|
|
6622
6629
|
*/
|
|
6623
6630
|
function isDto_default(obj) {
|
|
6624
|
-
return typeof obj === "object" && obj
|
|
6631
|
+
return obj && typeof obj === "object" && !!obj[NAME];
|
|
6625
6632
|
}
|
|
6626
6633
|
/**
|
|
6627
6634
|
* Asserts that the given object is a dto.
|
|
@@ -6676,9 +6683,6 @@ var markDtoClean = circularProtect_default(function(obj) {
|
|
|
6676
6683
|
if (!obj[CHILDREN] || obj[CHILDREN].length === 0) return;
|
|
6677
6684
|
obj[CHILDREN].filter(isDtoDirty_default).forEach(markDtoClean);
|
|
6678
6685
|
});
|
|
6679
|
-
function isProxiedArray_default(value) {
|
|
6680
|
-
return Array.isArray(value) && PARENT in value;
|
|
6681
|
-
}
|
|
6682
6686
|
/**
|
|
6683
6687
|
* Marks the given dto dirty.
|
|
6684
6688
|
*/
|
|
@@ -6705,7 +6709,7 @@ function relateDtoTo_default(dto, parent, key) {
|
|
|
6705
6709
|
*/
|
|
6706
6710
|
function relateValueTo_default(dto, key, value) {
|
|
6707
6711
|
if (isDto_default(value)) relateDtoTo_default(value, dto, key);
|
|
6708
|
-
else if (
|
|
6712
|
+
else if (Array.isArray(value)) {
|
|
6709
6713
|
for (const item of value) {
|
|
6710
6714
|
if (!isDto_default(item)) continue;
|
|
6711
6715
|
relateDtoTo_default(item, dto, key);
|
|
@@ -6737,7 +6741,7 @@ function unrelateDtoFrom_default(dto, parent) {
|
|
|
6737
6741
|
*/
|
|
6738
6742
|
function unrelateValueFrom_default(dto, value) {
|
|
6739
6743
|
if (isDto_default(value)) unrelateDtoFrom_default(value, dto);
|
|
6740
|
-
else if (
|
|
6744
|
+
else if (Array.isArray(value)) {
|
|
6741
6745
|
for (const item of value) if (isDto_default(item)) unrelateDtoFrom_default(item, dto);
|
|
6742
6746
|
value[PARENT] = void 0;
|
|
6743
6747
|
value[PARENT_KEY] = void 0;
|
|
@@ -6781,7 +6785,7 @@ var arrayProxy_default = {
|
|
|
6781
6785
|
}
|
|
6782
6786
|
};
|
|
6783
6787
|
/**
|
|
6784
|
-
* Checks if the
|
|
6788
|
+
* Checks if the given key should be ignored by the proxy.
|
|
6785
6789
|
*/
|
|
6786
6790
|
function ignored(target, key) {
|
|
6787
6791
|
return typeof key === "symbol" || typeof target[key] === "function" || key === "length";
|
|
@@ -6826,7 +6830,7 @@ var instanceProxy_default = {
|
|
|
6826
6830
|
const oldValue = descriptor.get?.call(target) ?? void 0;
|
|
6827
6831
|
if (areEqual_default(value, oldValue)) return true;
|
|
6828
6832
|
unrelateValueFrom_default(target, oldValue);
|
|
6829
|
-
if (Array.isArray(value) && !
|
|
6833
|
+
if (Array.isArray(value) && !value[PROXY]) value = new Proxy(value, arrayProxy_default);
|
|
6830
6834
|
descriptor.set.call(target, value);
|
|
6831
6835
|
relateValueTo_default(target, key, value);
|
|
6832
6836
|
markDtoDirty(target, key);
|
|
@@ -6950,7 +6954,7 @@ function dto_default(clazz) {
|
|
|
6950
6954
|
K$2(clazz.prototype, DESCRIPTORS, descriptors);
|
|
6951
6955
|
K$2(clazz.prototype, NAME, clazz.name);
|
|
6952
6956
|
K$2(clazz.prototype, PROPERTIES, properties);
|
|
6953
|
-
K$2(clazz, Symbol.hasInstance, (instance) => typeof instance === "object" && instance
|
|
6957
|
+
K$2(clazz, Symbol.hasInstance, (instance) => typeof instance === "object" && instance?.[NAME] === clazz.name);
|
|
6954
6958
|
G$2(clazz, "clone", clone_default);
|
|
6955
6959
|
G$2(clazz, "fill", fill_default);
|
|
6956
6960
|
G$2(clazz, "toJSON", toJSON_default);
|
|
@@ -6971,12 +6975,6 @@ function __decorate(decorators, target, key, desc) {
|
|
|
6971
6975
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6972
6976
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6973
6977
|
}
|
|
6974
|
-
var X$2 = class {
|
|
6975
|
-
test() {
|
|
6976
|
-
return true;
|
|
6977
|
-
}
|
|
6978
|
-
};
|
|
6979
|
-
__decorate([bound_default()], X$2.prototype, "test", null);
|
|
6980
6978
|
var BlobResponse = class BlobResponse {
|
|
6981
6979
|
get blob() {
|
|
6982
6980
|
return this.#blob;
|
|
@@ -7089,7 +7087,7 @@ var HttpAdapter = _HttpAdapter = class HttpAdapter {
|
|
|
7089
7087
|
const defaultFilename = `download-${DateTime.now().toFormat("yyyy-MM-dd HH-mm-ss")}`;
|
|
7090
7088
|
if (!header.startsWith("attachment")) return defaultFilename;
|
|
7091
7089
|
const matches = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(header);
|
|
7092
|
-
if (
|
|
7090
|
+
if ((matches?.length || 0) < 2) return defaultFilename;
|
|
7093
7091
|
return matches[1].replaceAll("'", "").replaceAll("\"", "").replaceAll("/", "-").replaceAll(":", "-");
|
|
7094
7092
|
}
|
|
7095
7093
|
static parseRequestError(data, statusCode) {
|
|
@@ -7097,7 +7095,12 @@ var HttpAdapter = _HttpAdapter = class HttpAdapter {
|
|
|
7097
7095
|
}
|
|
7098
7096
|
static parseValidationError(data) {
|
|
7099
7097
|
let errors;
|
|
7100
|
-
if (data.errors)
|
|
7098
|
+
if (data.errors) {
|
|
7099
|
+
errors = {};
|
|
7100
|
+
Object.entries(data.errors).forEach(([key, value]) => {
|
|
7101
|
+
errors[key] = _HttpAdapter.parseValidationError(value);
|
|
7102
|
+
});
|
|
7103
|
+
}
|
|
7101
7104
|
return new ValidationError_default(data.code, data.error, data.error_description, errors, data.params);
|
|
7102
7105
|
}
|
|
7103
7106
|
};
|
|
@@ -7204,7 +7207,7 @@ function ye$1(e, t, n) {
|
|
|
7204
7207
|
onScopeDispose(o);
|
|
7205
7208
|
}
|
|
7206
7209
|
//#endregion
|
|
7207
|
-
//#region ../internals/dist/composable-
|
|
7210
|
+
//#region ../internals/dist/composable-CbnFLx66.js
|
|
7208
7211
|
function _$1(e, t) {
|
|
7209
7212
|
let n = ref(!1), r = ref(e), i = computed(() => {
|
|
7210
7213
|
let e = [], t = unref(r).month, n = unref(r).startOf(`month`);
|
|
@@ -7343,54 +7346,52 @@ function T$1(e) {
|
|
|
7343
7346
|
}));
|
|
7344
7347
|
}
|
|
7345
7348
|
function E$1(e) {
|
|
7346
|
-
let t = ref(null)
|
|
7347
|
-
e.announce;
|
|
7348
|
-
let n = computed(() => {
|
|
7349
|
+
let t = ref(null), n = e.announce ?? T$1, r = computed(() => {
|
|
7349
7350
|
let t = unref(e.itemId), n = unref(e.grabbedId);
|
|
7350
7351
|
return t != null && n === t;
|
|
7351
7352
|
});
|
|
7352
|
-
function
|
|
7353
|
+
function i() {
|
|
7353
7354
|
t.value = null;
|
|
7354
7355
|
}
|
|
7355
|
-
function i
|
|
7356
|
+
function a(i) {
|
|
7356
7357
|
if (unref(e.isDraggable) && unref(e.itemId) != null) {
|
|
7357
|
-
if (!
|
|
7358
|
-
(
|
|
7358
|
+
if (!r.value) {
|
|
7359
|
+
(i.key === ` ` || i.key === `Enter`) && (i.preventDefault(), t.value = e.onGrab(), n(`Grabbed, use arrow keys to move`));
|
|
7359
7360
|
return;
|
|
7360
7361
|
}
|
|
7361
|
-
switch (
|
|
7362
|
+
switch (i.key) {
|
|
7362
7363
|
case `ArrowUp`:
|
|
7363
|
-
|
|
7364
|
+
i.preventDefault(), e.onMove(`up`), n(`Moved up`);
|
|
7364
7365
|
break;
|
|
7365
7366
|
case `ArrowDown`:
|
|
7366
|
-
|
|
7367
|
+
i.preventDefault(), e.onMove(`down`), n(`Moved down`);
|
|
7367
7368
|
break;
|
|
7368
7369
|
case `ArrowLeft`:
|
|
7369
|
-
|
|
7370
|
+
i.preventDefault(), e.onMove(`left`), n(`Moved left`);
|
|
7370
7371
|
break;
|
|
7371
7372
|
case `ArrowRight`:
|
|
7372
|
-
|
|
7373
|
+
i.preventDefault(), e.onMove(`right`), n(`Moved right`);
|
|
7373
7374
|
break;
|
|
7374
7375
|
case ` `:
|
|
7375
7376
|
case `Enter`: {
|
|
7376
|
-
|
|
7377
|
-
let
|
|
7378
|
-
t.value = null,
|
|
7377
|
+
i.preventDefault();
|
|
7378
|
+
let r = t.value;
|
|
7379
|
+
t.value = null, r !== null && (e.onCommit(r), n(`Dropped`));
|
|
7379
7380
|
break;
|
|
7380
7381
|
}
|
|
7381
7382
|
case `Escape`: {
|
|
7382
|
-
|
|
7383
|
-
let
|
|
7384
|
-
t.value = null,
|
|
7383
|
+
i.preventDefault();
|
|
7384
|
+
let r = t.value;
|
|
7385
|
+
t.value = null, r !== null && (e.onCancel(r), n(`Cancelled`));
|
|
7385
7386
|
break;
|
|
7386
7387
|
}
|
|
7387
7388
|
}
|
|
7388
7389
|
}
|
|
7389
7390
|
}
|
|
7390
7391
|
return {
|
|
7391
|
-
isGrabbed:
|
|
7392
|
-
handleKeyDown:
|
|
7393
|
-
release:
|
|
7392
|
+
isGrabbed: r,
|
|
7393
|
+
handleKeyDown: a,
|
|
7394
|
+
release: i
|
|
7394
7395
|
};
|
|
7395
7396
|
}
|
|
7396
7397
|
function D$1(e, t, n, r = { passive: !0 }) {
|
|
@@ -7572,7 +7573,7 @@ function z$1(e, t, n, r, i, o) {
|
|
|
7572
7573
|
//#region ../internals/dist/data/index.js
|
|
7573
7574
|
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`;
|
|
7574
7575
|
//#endregion
|
|
7575
|
-
//#region ../internals/dist/directive-
|
|
7576
|
+
//#region ../internals/dist/directive-CoRl44Fx.js
|
|
7576
7577
|
var i = class {
|
|
7577
7578
|
#e;
|
|
7578
7579
|
#t;
|
|
@@ -7633,7 +7634,7 @@ var Icon_module_default = {
|
|
|
7633
7634
|
};
|
|
7634
7635
|
//#endregion
|
|
7635
7636
|
//#region src/component/FluxIcon.vue?vue&type=script&setup=true&lang.ts
|
|
7636
|
-
var _hoisted_1$
|
|
7637
|
+
var _hoisted_1$63 = [
|
|
7637
7638
|
"viewBox",
|
|
7638
7639
|
"role",
|
|
7639
7640
|
"aria-hidden",
|
|
@@ -7686,7 +7687,7 @@ var FluxIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
7686
7687
|
d: path,
|
|
7687
7688
|
fill: "currentColor"
|
|
7688
7689
|
}, null, 8, _hoisted_2$24);
|
|
7689
|
-
}), 256))], 14, _hoisted_1$
|
|
7690
|
+
}), 256))], 14, _hoisted_1$63)) : (openBlock(), createElementBlock("i", {
|
|
7690
7691
|
key: 1,
|
|
7691
7692
|
class: normalizeClass(unref(Icon_module_default).icon)
|
|
7692
7693
|
}, null, 2));
|
|
@@ -9023,7 +9024,7 @@ function sanitizeUrl_default(href) {
|
|
|
9023
9024
|
}
|
|
9024
9025
|
//#endregion
|
|
9025
9026
|
//#region src/component/FluxPressable.vue?vue&type=script&setup=true&lang.ts
|
|
9026
|
-
var _hoisted_1$
|
|
9027
|
+
var _hoisted_1$62 = [
|
|
9027
9028
|
"href",
|
|
9028
9029
|
"rel",
|
|
9029
9030
|
"target"
|
|
@@ -9078,7 +9079,7 @@ var FluxPressable_default = /* @__PURE__ */ defineComponent({
|
|
|
9078
9079
|
rel: resolvedRel.value,
|
|
9079
9080
|
target: __props.target,
|
|
9080
9081
|
onClick: _cache[1] || (_cache[1] = ($event) => onClick($event))
|
|
9081
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$
|
|
9082
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$62)) : __props.componentType === "button" ? (openBlock(), createElementBlock("button", mergeProps({ key: 2 }, $attrs, toHandlers(hoverListeners, true), { onClick: _cache[2] || (_cache[2] = ($event) => onClick($event)) }), [renderSlot(_ctx.$slots, "default")], 16)) : (openBlock(), createElementBlock("div", mergeProps({ key: 3 }, $attrs, toHandlers(hoverListeners, true), { onClick }), [renderSlot(_ctx.$slots, "default")], 16));
|
|
9082
9083
|
};
|
|
9083
9084
|
}
|
|
9084
9085
|
});
|
|
@@ -9913,7 +9914,7 @@ var Flyout_module_default = {
|
|
|
9913
9914
|
};
|
|
9914
9915
|
//#endregion
|
|
9915
9916
|
//#region src/component/FluxFlyout.vue?vue&type=script&setup=true&lang.ts
|
|
9916
|
-
var _hoisted_1$
|
|
9917
|
+
var _hoisted_1$61 = ["onKeydown"];
|
|
9917
9918
|
//#endregion
|
|
9918
9919
|
//#region src/component/FluxFlyout.vue
|
|
9919
9920
|
var FluxFlyout_default = /* @__PURE__ */ defineComponent({
|
|
@@ -10050,7 +10051,7 @@ var FluxFlyout_default = /* @__PURE__ */ defineComponent({
|
|
|
10050
10051
|
openerHeight: openerHeight.value
|
|
10051
10052
|
})))]),
|
|
10052
10053
|
_: 3
|
|
10053
|
-
}, 8, ["class", "style"])) : createCommentVNode("", true)], 42, _hoisted_1$
|
|
10054
|
+
}, 8, ["class", "style"])) : createCommentVNode("", true)], 42, _hoisted_1$61)], 6);
|
|
10054
10055
|
};
|
|
10055
10056
|
}
|
|
10056
10057
|
});
|
|
@@ -10636,7 +10637,7 @@ var Avatar_module_default = {
|
|
|
10636
10637
|
};
|
|
10637
10638
|
//#endregion
|
|
10638
10639
|
//#region src/component/FluxAvatar.vue?vue&type=script&setup=true&lang.ts
|
|
10639
|
-
var _hoisted_1$
|
|
10640
|
+
var _hoisted_1$60 = ["alt", "src"];
|
|
10640
10641
|
var _hoisted_2$23 = { key: 0 };
|
|
10641
10642
|
//#endregion
|
|
10642
10643
|
//#region src/component/FluxAvatar.vue
|
|
@@ -10723,7 +10724,7 @@ var FluxAvatar_default = /* @__PURE__ */ defineComponent({
|
|
|
10723
10724
|
class: normalizeClass(unref(Avatar_module_default).avatarImage),
|
|
10724
10725
|
alt: __props.alt,
|
|
10725
10726
|
src: __props.src
|
|
10726
|
-
}, null, 10, _hoisted_1$
|
|
10727
|
+
}, null, 10, _hoisted_1$60)) : (openBlock(), createElementBlock("div", {
|
|
10727
10728
|
key: 1,
|
|
10728
10729
|
class: normalizeClass(__props.fallback === "colorized" ? unref(Avatar_module_default).avatarFallbackColorized : unref(Avatar_module_default).avatarFallbackNeutral)
|
|
10729
10730
|
}, [__props.fallbackInitials ? (openBlock(), createElementBlock("span", _hoisted_2$23, toDisplayString(__props.fallbackInitials), 1)) : __props.fallbackIcon ? (openBlock(), createBlock(FluxIcon_default, {
|
|
@@ -10786,7 +10787,7 @@ var Badge_module_default = {
|
|
|
10786
10787
|
};
|
|
10787
10788
|
//#endregion
|
|
10788
10789
|
//#region src/component/FluxBadge.vue?vue&type=script&setup=true&lang.ts
|
|
10789
|
-
var _hoisted_1$
|
|
10790
|
+
var _hoisted_1$59 = ["aria-label"];
|
|
10790
10791
|
//#endregion
|
|
10791
10792
|
//#region src/component/FluxBadge.vue
|
|
10792
10793
|
var FluxBadge_default = /* @__PURE__ */ defineComponent({
|
|
@@ -10852,7 +10853,7 @@ var FluxBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
10852
10853
|
type: "button",
|
|
10853
10854
|
"aria-label": unref(translate)("flux.delete"),
|
|
10854
10855
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => onDeleteClick(), ["stop"]))
|
|
10855
|
-
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$
|
|
10856
|
+
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$59)) : createCommentVNode("", true)
|
|
10856
10857
|
]),
|
|
10857
10858
|
_: 1
|
|
10858
10859
|
}, 8, [
|
|
@@ -11006,7 +11007,7 @@ var Calendar_module_default = {
|
|
|
11006
11007
|
};
|
|
11007
11008
|
//#endregion
|
|
11008
11009
|
//#region src/component/calendar/FluxCalendarItemDisplay.vue?vue&type=script&setup=true&lang.ts
|
|
11009
|
-
var _hoisted_1$
|
|
11010
|
+
var _hoisted_1$58 = ["draggable", "tabindex"];
|
|
11010
11011
|
//#endregion
|
|
11011
11012
|
//#region src/component/calendar/FluxCalendarItemDisplay.vue
|
|
11012
11013
|
var FluxCalendarItemDisplay_default = /* @__PURE__ */ defineComponent({
|
|
@@ -11079,13 +11080,13 @@ var FluxCalendarItemDisplay_default = /* @__PURE__ */ defineComponent({
|
|
|
11079
11080
|
onDragstart: onDragStart,
|
|
11080
11081
|
onDragend: onDragEnd,
|
|
11081
11082
|
onKeydown: _cache[0] || (_cache[0] = (...args) => unref(handleKeyDown) && unref(handleKeyDown)(...args))
|
|
11082
|
-
}, [createVNode(unref(RenderItemContent), { render: __props.data.renderContent }, null, 8, ["render"])], 42, _hoisted_1$
|
|
11083
|
+
}, [createVNode(unref(RenderItemContent), { render: __props.data.renderContent }, null, 8, ["render"])], 42, _hoisted_1$58);
|
|
11083
11084
|
};
|
|
11084
11085
|
}
|
|
11085
11086
|
});
|
|
11086
11087
|
//#endregion
|
|
11087
11088
|
//#region src/component/calendar/FluxCalendarMonthView.vue?vue&type=script&setup=true&lang.ts
|
|
11088
|
-
var _hoisted_1$
|
|
11089
|
+
var _hoisted_1$57 = [
|
|
11089
11090
|
"onDragover",
|
|
11090
11091
|
"onDragleave",
|
|
11091
11092
|
"onDrop"
|
|
@@ -11160,7 +11161,7 @@ var FluxCalendarMonthView_default = /* @__PURE__ */ defineComponent({
|
|
|
11160
11161
|
key: item.id,
|
|
11161
11162
|
data: item
|
|
11162
11163
|
}, null, 8, ["data"]);
|
|
11163
|
-
}), 128))], 2), createElementVNode("span", { class: normalizeClass(unref(Calendar_module_default).calendarEntryDate) }, toDisplayString(date.toLocaleString({ day: "numeric" })), 3)], 42, _hoisted_1$
|
|
11164
|
+
}), 128))], 2), createElementVNode("span", { class: normalizeClass(unref(Calendar_module_default).calendarEntryDate) }, toDisplayString(date.toLocaleString({ day: "numeric" })), 3)], 42, _hoisted_1$57);
|
|
11164
11165
|
}), 256))], 2))]),
|
|
11165
11166
|
_: 1
|
|
11166
11167
|
}, 8, ["is-back"]);
|
|
@@ -11169,7 +11170,7 @@ var FluxCalendarMonthView_default = /* @__PURE__ */ defineComponent({
|
|
|
11169
11170
|
});
|
|
11170
11171
|
//#endregion
|
|
11171
11172
|
//#region src/component/calendar/FluxCalendarTimeGridView.vue?vue&type=script&setup=true&lang.ts
|
|
11172
|
-
var _hoisted_1$
|
|
11173
|
+
var _hoisted_1$56 = [
|
|
11173
11174
|
"onDragover",
|
|
11174
11175
|
"onDragleave",
|
|
11175
11176
|
"onDrop"
|
|
@@ -11179,7 +11180,7 @@ var _hoisted_2$22 = [
|
|
|
11179
11180
|
"onDragleave",
|
|
11180
11181
|
"onDrop"
|
|
11181
11182
|
];
|
|
11182
|
-
var _hoisted_3$
|
|
11183
|
+
var _hoisted_3$7 = ["onMousedown"];
|
|
11183
11184
|
var _hoisted_4$1 = ["onMousedown"];
|
|
11184
11185
|
//#endregion
|
|
11185
11186
|
//#region src/component/calendar/FluxCalendarTimeGridView.vue
|
|
@@ -11492,7 +11493,7 @@ var FluxCalendarTimeGridView_default = /* @__PURE__ */ defineComponent({
|
|
|
11492
11493
|
key: item.id,
|
|
11493
11494
|
data: item
|
|
11494
11495
|
}, null, 8, ["data"]);
|
|
11495
|
-
}), 128))], 42, _hoisted_1$
|
|
11496
|
+
}), 128))], 42, _hoisted_1$56);
|
|
11496
11497
|
}), 128))], 2)], 2),
|
|
11497
11498
|
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) => {
|
|
11498
11499
|
return openBlock(), createElementBlock("div", {
|
|
@@ -11521,7 +11522,7 @@ var FluxCalendarTimeGridView_default = /* @__PURE__ */ defineComponent({
|
|
|
11521
11522
|
}, [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", {
|
|
11522
11523
|
class: normalizeClass(unref(clsx)(unref(Calendar_module_default).timeGridDayItemHandle, unref(Calendar_module_default).isTop)),
|
|
11523
11524
|
onMousedown: (evt) => onResizeStart(positioned, "top", evt)
|
|
11524
|
-
}, null, 42, _hoisted_3$
|
|
11525
|
+
}, null, 42, _hoisted_3$7), createElementVNode("div", {
|
|
11525
11526
|
class: normalizeClass(unref(clsx)(unref(Calendar_module_default).timeGridDayItemHandle, unref(Calendar_module_default).isBottom)),
|
|
11526
11527
|
onMousedown: (evt) => onResizeStart(positioned, "bottom", evt)
|
|
11527
11528
|
}, null, 42, _hoisted_4$1)], 64)) : createCommentVNode("", true)], 2)], 6);
|
|
@@ -11560,14 +11561,14 @@ var DatePicker_module_default = {
|
|
|
11560
11561
|
};
|
|
11561
11562
|
//#endregion
|
|
11562
11563
|
//#region src/component/FluxDatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
11563
|
-
var _hoisted_1$
|
|
11564
|
+
var _hoisted_1$55 = ["id"];
|
|
11564
11565
|
var _hoisted_2$21 = ["aria-labelledby"];
|
|
11565
|
-
var _hoisted_3$
|
|
11566
|
+
var _hoisted_3$6 = ["onClick", "onMouseover"];
|
|
11566
11567
|
//#endregion
|
|
11567
11568
|
//#region src/component/FluxDatePicker.vue
|
|
11568
11569
|
var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
11569
11570
|
__name: "FluxDatePicker",
|
|
11570
|
-
props:
|
|
11571
|
+
props: /*@__PURE__*/ mergeModels({
|
|
11571
11572
|
max: {},
|
|
11572
11573
|
min: {},
|
|
11573
11574
|
rangeMode: {}
|
|
@@ -11711,7 +11712,7 @@ var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
11711
11712
|
class: normalizeClass(unref(DatePicker_module_default).datePickerHeaderViewButton),
|
|
11712
11713
|
type: "button",
|
|
11713
11714
|
onClick: _cache[1] || (_cache[1] = ($event) => setView("year"))
|
|
11714
|
-
}, toDisplayString(unref(viewYear)), 3)], 10, _hoisted_1$
|
|
11715
|
+
}, toDisplayString(unref(viewYear)), 3)], 10, _hoisted_1$55),
|
|
11715
11716
|
createVNode(unref(FluxFadeTransition_default), null, {
|
|
11716
11717
|
default: withCtx(() => [viewMode.value === "date" ? (openBlock(), createBlock(FluxSecondaryButton_default, {
|
|
11717
11718
|
key: 0,
|
|
@@ -11748,7 +11749,7 @@ var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
11748
11749
|
onClick: ($event) => setDate(date),
|
|
11749
11750
|
onMouseover: ($event) => onDateMouseOver(date),
|
|
11750
11751
|
onMouseout: onDateMouseOut
|
|
11751
|
-
}, toDisplayString(date.toLocaleString({ day: "numeric" })), 43, _hoisted_3$
|
|
11752
|
+
}, toDisplayString(date.toLocaleString({ day: "numeric" })), 43, _hoisted_3$6);
|
|
11752
11753
|
}), 256))], 2))]),
|
|
11753
11754
|
_: 1
|
|
11754
11755
|
}, 8, ["is-back"])], 10, _hoisted_2$21)) : viewMode.value === "month" ? (openBlock(), createElementBlock("div", {
|
|
@@ -11822,9 +11823,9 @@ var FluxLayerPane_default = /* @__PURE__ */ defineComponent({
|
|
|
11822
11823
|
});
|
|
11823
11824
|
//#endregion
|
|
11824
11825
|
//#region src/component/FluxCalendar.vue?vue&type=script&setup=true&lang.ts
|
|
11825
|
-
var _hoisted_1$
|
|
11826
|
+
var _hoisted_1$54 = ["aria-label", "onClick"];
|
|
11826
11827
|
var _hoisted_2$20 = ["aria-label", "onClick"];
|
|
11827
|
-
var _hoisted_3$
|
|
11828
|
+
var _hoisted_3$5 = ["aria-label", "onClick"];
|
|
11828
11829
|
var SNAP_MINUTES = 30;
|
|
11829
11830
|
var NAV_HOVER_INITIAL_DELAY_MS = 700;
|
|
11830
11831
|
var NAV_HOVER_REPEAT_DELAY_MS = 450;
|
|
@@ -11882,9 +11883,9 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
11882
11883
|
return "day";
|
|
11883
11884
|
});
|
|
11884
11885
|
const timeGridDayCount = computed(() => {
|
|
11885
|
-
const
|
|
11886
|
-
if (
|
|
11887
|
-
if (
|
|
11886
|
+
const resolved = unref(resolvedView);
|
|
11887
|
+
if (resolved === "week") return 7;
|
|
11888
|
+
if (resolved === "two-days") return 2;
|
|
11888
11889
|
return 1;
|
|
11889
11890
|
});
|
|
11890
11891
|
const { isTransitioningToPast: monthIsTransitioningToPast, viewDate: monthViewDate, viewMonth: monthViewMonth, viewYear: monthViewYear, dates: monthDates, days: monthDays, setViewDate: setMonthViewDateRaw, nextMonth: nextMonthRaw, previousMonth: previousMonthRaw } = _$1(__props.initialDate, { weekDayLength: "long" });
|
|
@@ -12039,15 +12040,15 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
12039
12040
|
if (id == null) return;
|
|
12040
12041
|
const currentDate = findItemDate(id);
|
|
12041
12042
|
if (!currentDate) return;
|
|
12042
|
-
const
|
|
12043
|
-
const delta = (
|
|
12043
|
+
const resolved = unref(resolvedView);
|
|
12044
|
+
const delta = (resolved === "month" ? MONTH_KEY_DELTAS : TIME_GRID_KEY_DELTAS)[direction];
|
|
12044
12045
|
const newDate = currentDate.plus(delta);
|
|
12045
12046
|
emit("reschedule", {
|
|
12046
12047
|
id,
|
|
12047
12048
|
fromDate: currentDate,
|
|
12048
12049
|
toDate: newDate
|
|
12049
12050
|
});
|
|
12050
|
-
if (
|
|
12051
|
+
if (resolved === "month") {
|
|
12051
12052
|
monthFocusedDate.value = newDate.startOf("day");
|
|
12052
12053
|
if (newDate.month !== unref(monthViewDate).month) setMonthViewDateRaw(newDate);
|
|
12053
12054
|
} else {
|
|
@@ -12149,7 +12150,7 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
12149
12150
|
"aria-label": unref(translate)("flux.selectMonth"),
|
|
12150
12151
|
type: "button",
|
|
12151
12152
|
onClick: open
|
|
12152
|
-
}, toDisplayString(unref(monthViewMonth)), 11, _hoisted_1$
|
|
12153
|
+
}, toDisplayString(unref(monthViewMonth)), 11, _hoisted_1$54)]),
|
|
12153
12154
|
default: withCtx(({ close }) => [createElementVNode("div", { class: normalizeClass(unref(DatePicker_module_default).datePickerMonths) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(months), (month) => {
|
|
12154
12155
|
return openBlock(), createBlock(FluxSecondaryButton_default, {
|
|
12155
12156
|
key: month.label,
|
|
@@ -12198,7 +12199,7 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
12198
12199
|
"aria-label": unref(translate)("flux.selectDate"),
|
|
12199
12200
|
type: "button",
|
|
12200
12201
|
onClick: open
|
|
12201
|
-
}, toDisplayString(rangeLabel.value), 11, _hoisted_3$
|
|
12202
|
+
}, toDisplayString(rangeLabel.value), 11, _hoisted_3$5)]),
|
|
12202
12203
|
default: withCtx(({ close }) => [createVNode(FluxDatePicker_default, {
|
|
12203
12204
|
"model-value": datePickerValue.value,
|
|
12204
12205
|
"onUpdate:modelValue": ($event) => {
|
|
@@ -12297,7 +12298,7 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
12297
12298
|
});
|
|
12298
12299
|
//#endregion
|
|
12299
12300
|
//#region src/component/FluxCalendarItem.vue?vue&type=script&setup=true&lang.ts
|
|
12300
|
-
var _hoisted_1$
|
|
12301
|
+
var _hoisted_1$53 = {
|
|
12301
12302
|
"aria-hidden": "true",
|
|
12302
12303
|
style: { "display": "none" }
|
|
12303
12304
|
};
|
|
@@ -12350,7 +12351,7 @@ var FluxCalendarItem_default = /* @__PURE__ */ defineComponent({
|
|
|
12350
12351
|
if (dragContext && props.id != null) dragContext.registerItem(props.id, buildData());
|
|
12351
12352
|
});
|
|
12352
12353
|
return (_ctx, _cache) => {
|
|
12353
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
12354
|
+
return openBlock(), createElementBlock("span", _hoisted_1$53);
|
|
12354
12355
|
};
|
|
12355
12356
|
}
|
|
12356
12357
|
});
|
|
@@ -12440,7 +12441,7 @@ var Form_module_default = {
|
|
|
12440
12441
|
};
|
|
12441
12442
|
//#endregion
|
|
12442
12443
|
//#region src/component/FluxCheckbox.vue?vue&type=script&setup=true&lang.ts
|
|
12443
|
-
var _hoisted_1$
|
|
12444
|
+
var _hoisted_1$52 = ["for"];
|
|
12444
12445
|
var _hoisted_2$19 = [
|
|
12445
12446
|
"id",
|
|
12446
12447
|
"disabled",
|
|
@@ -12452,7 +12453,7 @@ var _hoisted_2$19 = [
|
|
|
12452
12453
|
//#region src/component/FluxCheckbox.vue
|
|
12453
12454
|
var FluxCheckbox_default = /* @__PURE__ */ defineComponent({
|
|
12454
12455
|
__name: "FluxCheckbox",
|
|
12455
|
-
props:
|
|
12456
|
+
props: /*@__PURE__*/ mergeModels({
|
|
12456
12457
|
disabled: { type: Boolean },
|
|
12457
12458
|
error: {},
|
|
12458
12459
|
isReadonly: { type: Boolean },
|
|
@@ -12513,7 +12514,7 @@ var FluxCheckbox_default = /* @__PURE__ */ defineComponent({
|
|
|
12513
12514
|
key: 0,
|
|
12514
12515
|
class: normalizeClass(unref(Form_module_default).checkboxLabel)
|
|
12515
12516
|
}, toDisplayString(__props.label), 3)) : createCommentVNode("", true)
|
|
12516
|
-
], 10, _hoisted_1$
|
|
12517
|
+
], 10, _hoisted_1$52);
|
|
12517
12518
|
};
|
|
12518
12519
|
}
|
|
12519
12520
|
});
|
|
@@ -12672,7 +12673,7 @@ var FluxCommandPaletteGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
12672
12673
|
});
|
|
12673
12674
|
//#endregion
|
|
12674
12675
|
//#region src/component/FluxTag.vue?vue&type=script&setup=true&lang.ts
|
|
12675
|
-
var _hoisted_1$
|
|
12676
|
+
var _hoisted_1$51 = ["aria-label"];
|
|
12676
12677
|
//#endregion
|
|
12677
12678
|
//#region src/component/FluxTag.vue
|
|
12678
12679
|
var FluxTag_default = /* @__PURE__ */ defineComponent({
|
|
@@ -12740,7 +12741,7 @@ var FluxTag_default = /* @__PURE__ */ defineComponent({
|
|
|
12740
12741
|
type: "button",
|
|
12741
12742
|
"aria-label": unref(translate)("flux.delete"),
|
|
12742
12743
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => onDeleteClick(), ["stop"]))
|
|
12743
|
-
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$
|
|
12744
|
+
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$51)) : createCommentVNode("", true)
|
|
12744
12745
|
]),
|
|
12745
12746
|
_: 1
|
|
12746
12747
|
}, 8, [
|
|
@@ -12802,7 +12803,7 @@ var FluxCommandPaletteItem_default = /* @__PURE__ */ defineComponent({
|
|
|
12802
12803
|
});
|
|
12803
12804
|
//#endregion
|
|
12804
12805
|
//#region src/component/FluxCommandPalette.vue?vue&type=script&setup=true&lang.ts
|
|
12805
|
-
var _hoisted_1$
|
|
12806
|
+
var _hoisted_1$50 = ["placeholder", "value"];
|
|
12806
12807
|
var _hoisted_2$18 = ["onClick"];
|
|
12807
12808
|
//#endregion
|
|
12808
12809
|
//#region src/component/FluxCommandPalette.vue
|
|
@@ -12930,7 +12931,7 @@ var FluxCommandPalette_default = /* @__PURE__ */ defineComponent({
|
|
|
12930
12931
|
value: unref(search),
|
|
12931
12932
|
type: "text",
|
|
12932
12933
|
onInput: _cache[2] || (_cache[2] = ($event) => unref(setSearch)($event.target.value))
|
|
12933
|
-
}, null, 42, _hoisted_1$
|
|
12934
|
+
}, null, 42, _hoisted_1$50),
|
|
12934
12935
|
createVNode(FluxTag_default, {
|
|
12935
12936
|
"is-keyboard-shortcut": "",
|
|
12936
12937
|
label: "Esc"
|
|
@@ -13034,7 +13035,7 @@ var Comment_module_default = {
|
|
|
13034
13035
|
};
|
|
13035
13036
|
//#endregion
|
|
13036
13037
|
//#region src/component/FluxComment.vue?vue&type=script&setup=true&lang.ts
|
|
13037
|
-
var _hoisted_1$
|
|
13038
|
+
var _hoisted_1$49 = { key: 0 };
|
|
13038
13039
|
var _hoisted_2$17 = ["datetime"];
|
|
13039
13040
|
//#endregion
|
|
13040
13041
|
//#region src/component/FluxComment.vue
|
|
@@ -13079,7 +13080,7 @@ var FluxComment_default = /* @__PURE__ */ defineComponent({
|
|
|
13079
13080
|
key: 0,
|
|
13080
13081
|
class: normalizeClass(unref(Comment_module_default).commentTyping)
|
|
13081
13082
|
}, null, 2)) : renderSlot(_ctx.$slots, "default", { key: 1 })], 2),
|
|
13082
|
-
createElementVNode("div", { class: normalizeClass(unref(Comment_module_default).commentFooter) }, [__props.isReceived && __props.postedBy ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
13083
|
+
createElementVNode("div", { class: normalizeClass(unref(Comment_module_default).commentFooter) }, [__props.isReceived && __props.postedBy ? (openBlock(), createElementBlock("span", _hoisted_1$49, toDisplayString(__props.postedBy), 1)) : createCommentVNode("", true), iso.value && relative.value && !__props.isTyping ? (openBlock(), createElementBlock("time", {
|
|
13083
13084
|
key: 1,
|
|
13084
13085
|
datetime: iso.value
|
|
13085
13086
|
}, toDisplayString(isJustNowVisible.value ? unref(translate)("flux.justNow") : relative.value), 9, _hoisted_2$17)) : createCommentVNode("", true)], 2)
|
|
@@ -13089,7 +13090,7 @@ var FluxComment_default = /* @__PURE__ */ defineComponent({
|
|
|
13089
13090
|
});
|
|
13090
13091
|
//#endregion
|
|
13091
13092
|
//#region src/component/FluxFormFieldAddition.vue?vue&type=script&setup=true&lang.ts
|
|
13092
|
-
var _hoisted_1$
|
|
13093
|
+
var _hoisted_1$48 = { key: 1 };
|
|
13093
13094
|
//#endregion
|
|
13094
13095
|
//#region src/component/FluxFormFieldAddition.vue
|
|
13095
13096
|
var FluxFormFieldAddition_default = /* @__PURE__ */ defineComponent({
|
|
@@ -13111,7 +13112,7 @@ var FluxFormFieldAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
13111
13112
|
name: __props.icon,
|
|
13112
13113
|
size: 16
|
|
13113
13114
|
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
13114
|
-
__props.message ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
13115
|
+
__props.message ? (openBlock(), createElementBlock("span", _hoisted_1$48, toDisplayString(__props.message), 1)) : createCommentVNode("", true),
|
|
13115
13116
|
renderSlot(_ctx.$slots, "default")
|
|
13116
13117
|
], 2);
|
|
13117
13118
|
};
|
|
@@ -13119,7 +13120,7 @@ var FluxFormFieldAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
13119
13120
|
});
|
|
13120
13121
|
//#endregion
|
|
13121
13122
|
//#region src/component/FluxFormField.vue?vue&type=script&setup=true&lang.ts
|
|
13122
|
-
var _hoisted_1$
|
|
13123
|
+
var _hoisted_1$47 = ["for"];
|
|
13123
13124
|
//#endregion
|
|
13124
13125
|
//#region src/component/FluxFormField.vue
|
|
13125
13126
|
var FluxFormField_default = /* @__PURE__ */ defineComponent({
|
|
@@ -13163,7 +13164,7 @@ var FluxFormField_default = /* @__PURE__ */ defineComponent({
|
|
|
13163
13164
|
label: __props.label,
|
|
13164
13165
|
maxLength: __props.maxLength
|
|
13165
13166
|
})))], 2)) : createCommentVNode("", true)
|
|
13166
|
-
], 10, _hoisted_1$
|
|
13167
|
+
], 10, _hoisted_1$47),
|
|
13167
13168
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ id: unref(id) }))),
|
|
13168
13169
|
__props.currentLength && __props.maxLength && __props.maxLength > 0 ? (openBlock(), createElementBlock("span", {
|
|
13169
13170
|
key: 0,
|
|
@@ -13195,7 +13196,7 @@ var FluxFormField_default = /* @__PURE__ */ defineComponent({
|
|
|
13195
13196
|
});
|
|
13196
13197
|
//#endregion
|
|
13197
13198
|
//#region src/component/FluxFormInput.vue?vue&type=script&setup=true&lang.ts
|
|
13198
|
-
var _hoisted_1$
|
|
13199
|
+
var _hoisted_1$46 = ["aria-disabled"];
|
|
13199
13200
|
var _hoisted_2$16 = [
|
|
13200
13201
|
"id",
|
|
13201
13202
|
"name",
|
|
@@ -13217,7 +13218,7 @@ var _hoisted_2$16 = [
|
|
|
13217
13218
|
//#region src/component/FluxFormInput.vue
|
|
13218
13219
|
var FluxFormInput_default = /* @__PURE__ */ defineComponent({
|
|
13219
13220
|
__name: "FluxFormInput",
|
|
13220
|
-
props:
|
|
13221
|
+
props: /*@__PURE__*/ mergeModels({
|
|
13221
13222
|
autoFocus: {
|
|
13222
13223
|
type: Boolean,
|
|
13223
13224
|
default: false
|
|
@@ -13243,7 +13244,7 @@ var FluxFormInput_default = /* @__PURE__ */ defineComponent({
|
|
|
13243
13244
|
"modelValue": { default: "" },
|
|
13244
13245
|
"modelModifiers": {}
|
|
13245
13246
|
}),
|
|
13246
|
-
emits:
|
|
13247
|
+
emits: /*@__PURE__*/ mergeModels([
|
|
13247
13248
|
"blur",
|
|
13248
13249
|
"focus",
|
|
13249
13250
|
"showPicker"
|
|
@@ -13399,7 +13400,7 @@ var FluxFormInput_default = /* @__PURE__ */ defineComponent({
|
|
|
13399
13400
|
class: normalizeClass(unref(Form_module_default).formInputIconTrailing),
|
|
13400
13401
|
size: 18
|
|
13401
13402
|
}, null, 8, ["class"])) : createCommentVNode("", true)
|
|
13402
|
-
], 10, _hoisted_1$
|
|
13403
|
+
], 10, _hoisted_1$46);
|
|
13403
13404
|
};
|
|
13404
13405
|
}
|
|
13405
13406
|
});
|
|
@@ -13570,7 +13571,7 @@ var FluxPaneFooter_default = /* @__PURE__ */ defineComponent({
|
|
|
13570
13571
|
});
|
|
13571
13572
|
//#endregion
|
|
13572
13573
|
//#region src/component/FluxPaneHeader.vue?vue&type=script&setup=true&lang.ts
|
|
13573
|
-
var _hoisted_1$
|
|
13574
|
+
var _hoisted_1$45 = { key: 0 };
|
|
13574
13575
|
var _hoisted_2$15 = { key: 1 };
|
|
13575
13576
|
//#endregion
|
|
13576
13577
|
//#region src/component/FluxPaneHeader.vue
|
|
@@ -13594,7 +13595,7 @@ var FluxPaneHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
13594
13595
|
__props.title || __props.subtitle ? (openBlock(), createElementBlock("div", {
|
|
13595
13596
|
key: 1,
|
|
13596
13597
|
class: normalizeClass(unref(Pane_module_default).paneHeaderCaption)
|
|
13597
|
-
}, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$
|
|
13598
|
+
}, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$45, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.subtitle ? (openBlock(), createElementBlock("span", _hoisted_2$15, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
|
|
13598
13599
|
renderSlot(_ctx.$slots, "after")
|
|
13599
13600
|
], 2);
|
|
13600
13601
|
};
|
|
@@ -13682,8 +13683,13 @@ var FilterBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
13682
13683
|
function onClick(evt) {
|
|
13683
13684
|
emit("click", evt);
|
|
13684
13685
|
}
|
|
13685
|
-
watch([() => __props.item, () => __props.value], async () => {
|
|
13686
|
-
|
|
13686
|
+
watch([() => __props.item, () => __props.value], async ([, nextValue], _prev, onCleanup) => {
|
|
13687
|
+
let cancelled = false;
|
|
13688
|
+
onCleanup(() => {
|
|
13689
|
+
cancelled = true;
|
|
13690
|
+
});
|
|
13691
|
+
const nextLabel = await unref(getValueLabel)(nextValue);
|
|
13692
|
+
if (!cancelled) valueLabel.value = nextLabel ?? void 0;
|
|
13687
13693
|
}, {
|
|
13688
13694
|
deep: true,
|
|
13689
13695
|
immediate: true
|
|
@@ -13705,7 +13711,7 @@ var FilterBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
13705
13711
|
});
|
|
13706
13712
|
//#endregion
|
|
13707
13713
|
//#region src/css/component/Menu.module.scss
|
|
13708
|
-
var { "
|
|
13714
|
+
var { "buttonIcon": _0$10, "button": _1$3, "buttonLabel": _2$2 } = Button_module_default$1;
|
|
13709
13715
|
var Menu_module_default = {
|
|
13710
13716
|
menu: `menu`,
|
|
13711
13717
|
menuNormal: `menu-normal menu`,
|
|
@@ -13713,9 +13719,9 @@ var Menu_module_default = {
|
|
|
13713
13719
|
menuGroup: `menu-group`,
|
|
13714
13720
|
menuGroupHorizontal: `menu-group-horizontal menu-group`,
|
|
13715
13721
|
menuGroupVertical: `menu-group-vertical menu-group`,
|
|
13716
|
-
menuItem: `menu-item ${
|
|
13722
|
+
menuItem: `menu-item ${_1$3}`,
|
|
13717
13723
|
badge: `badge`,
|
|
13718
|
-
menuItemIcon: `menu-item-icon ${
|
|
13724
|
+
menuItemIcon: `menu-item-icon ${_0$10}`,
|
|
13719
13725
|
menuItemLabel: `menu-item-label ${_2$2}`,
|
|
13720
13726
|
menuItemActive: `menu-item-active`,
|
|
13721
13727
|
menuItemDestructive: `menu-item-destructive`,
|
|
@@ -13725,7 +13731,7 @@ var Menu_module_default = {
|
|
|
13725
13731
|
menuCollapsibleOpened: `menu-collapsible-opened menu-collapsible`,
|
|
13726
13732
|
menuCollapsibleBody: `menu-collapsible-body`,
|
|
13727
13733
|
menuCollapsibleContent: `menu-collapsible-content`,
|
|
13728
|
-
menuItemSelectableIcon: `menu-item-selectable-icon ${
|
|
13734
|
+
menuItemSelectableIcon: `menu-item-selectable-icon ${_0$10}`,
|
|
13729
13735
|
menuItemSelected: `menu-item-selected`,
|
|
13730
13736
|
menuItemCommand: `menu-item-command`,
|
|
13731
13737
|
menuItemCommandIcon: `menu-item-command-icon`,
|
|
@@ -13757,7 +13763,7 @@ var FluxMenuGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
13757
13763
|
});
|
|
13758
13764
|
//#endregion
|
|
13759
13765
|
//#region src/component/FluxMenuItem.vue?vue&type=script&setup=true&lang.ts
|
|
13760
|
-
var _hoisted_1$
|
|
13766
|
+
var _hoisted_1$44 = ["src", "alt"];
|
|
13761
13767
|
//#endregion
|
|
13762
13768
|
//#region src/component/FluxMenuItem.vue
|
|
13763
13769
|
var FluxMenuItem_default = /* @__PURE__ */ defineComponent({
|
|
@@ -13834,7 +13840,7 @@ var FluxMenuItem_default = /* @__PURE__ */ defineComponent({
|
|
|
13834
13840
|
class: normalizeClass(unref(Menu_module_default).menuItemImage),
|
|
13835
13841
|
src: __props.imageSrc,
|
|
13836
13842
|
alt: __props.imageAlt ?? ""
|
|
13837
|
-
}, null, 10, _hoisted_1$
|
|
13843
|
+
}, null, 10, _hoisted_1$44)]),
|
|
13838
13844
|
key: "1"
|
|
13839
13845
|
} : slots.before ? {
|
|
13840
13846
|
name: "iconLeading",
|
|
@@ -13901,7 +13907,7 @@ var FluxMenuSubHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
13901
13907
|
//#region src/component/primitive/FilterOptionBase.vue
|
|
13902
13908
|
var FilterOptionBase_default = /* @__PURE__ */ defineComponent({
|
|
13903
13909
|
__name: "FilterOptionBase",
|
|
13904
|
-
props:
|
|
13910
|
+
props: /*@__PURE__*/ mergeModels({
|
|
13905
13911
|
isLoading: { type: Boolean },
|
|
13906
13912
|
isSearchable: { type: Boolean },
|
|
13907
13913
|
options: {},
|
|
@@ -13911,7 +13917,7 @@ var FilterOptionBase_default = /* @__PURE__ */ defineComponent({
|
|
|
13911
13917
|
"searchQuery": { default: "" },
|
|
13912
13918
|
"searchQueryModifiers": {}
|
|
13913
13919
|
}),
|
|
13914
|
-
emits:
|
|
13920
|
+
emits: /*@__PURE__*/ mergeModels(["select"], ["update:searchQuery"]),
|
|
13915
13921
|
setup(__props, { emit: __emit }) {
|
|
13916
13922
|
const emit = __emit;
|
|
13917
13923
|
const modelSearch = useModel(__props, "searchQuery");
|
|
@@ -13981,7 +13987,7 @@ var INITIAL_HIGHLIGHTED_INDEX = -1;
|
|
|
13981
13987
|
var SelectBase_default = /* @__PURE__ */ defineComponent({
|
|
13982
13988
|
inheritAttrs: false,
|
|
13983
13989
|
__name: "SelectBase",
|
|
13984
|
-
props:
|
|
13990
|
+
props: /*@__PURE__*/ mergeModels({
|
|
13985
13991
|
disabled: { type: Boolean },
|
|
13986
13992
|
isLoading: { type: Boolean },
|
|
13987
13993
|
isMultiple: { type: Boolean },
|
|
@@ -13993,7 +13999,7 @@ var SelectBase_default = /* @__PURE__ */ defineComponent({
|
|
|
13993
13999
|
"searchQuery": { default: "" },
|
|
13994
14000
|
"searchQueryModifiers": {}
|
|
13995
14001
|
}),
|
|
13996
|
-
emits:
|
|
14002
|
+
emits: /*@__PURE__*/ mergeModels([
|
|
13997
14003
|
"keyDown",
|
|
13998
14004
|
"deselect",
|
|
13999
14005
|
"select",
|
|
@@ -14282,7 +14288,7 @@ var FluxTicks_default = /* @__PURE__ */ defineComponent({
|
|
|
14282
14288
|
});
|
|
14283
14289
|
//#endregion
|
|
14284
14290
|
//#region src/component/primitive/SliderBase.vue?vue&type=script&setup=true&lang.ts
|
|
14285
|
-
var _hoisted_1$
|
|
14291
|
+
var _hoisted_1$43 = ["aria-disabled"];
|
|
14286
14292
|
//#endregion
|
|
14287
14293
|
//#region src/component/primitive/SliderBase.vue
|
|
14288
14294
|
var SliderBase_default = /* @__PURE__ */ defineComponent({
|
|
@@ -14335,13 +14341,13 @@ var SliderBase_default = /* @__PURE__ */ defineComponent({
|
|
|
14335
14341
|
key: 0,
|
|
14336
14342
|
lower: __props.min,
|
|
14337
14343
|
upper: __props.max
|
|
14338
|
-
}, null, 8, ["lower", "upper"])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$
|
|
14344
|
+
}, null, 8, ["lower", "upper"])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$43);
|
|
14339
14345
|
};
|
|
14340
14346
|
}
|
|
14341
14347
|
});
|
|
14342
14348
|
//#endregion
|
|
14343
14349
|
//#region src/component/primitive/SliderThumb.vue?vue&type=script&setup=true&lang.ts
|
|
14344
|
-
var _hoisted_1$
|
|
14350
|
+
var _hoisted_1$42 = [
|
|
14345
14351
|
"aria-disabled",
|
|
14346
14352
|
"aria-label",
|
|
14347
14353
|
"aria-valuemax",
|
|
@@ -14400,7 +14406,7 @@ var SliderThumb_default = /* @__PURE__ */ defineComponent({
|
|
|
14400
14406
|
type: "button",
|
|
14401
14407
|
onKeydown: onKeyDown,
|
|
14402
14408
|
onPointerdown: _cache[0] || (_cache[0] = ($event) => $emit("grab", $event))
|
|
14403
|
-
}, null, 46, _hoisted_1$
|
|
14409
|
+
}, null, 46, _hoisted_1$42);
|
|
14404
14410
|
};
|
|
14405
14411
|
}
|
|
14406
14412
|
});
|
|
@@ -14505,7 +14511,7 @@ var Divider_module_default = {
|
|
|
14505
14511
|
};
|
|
14506
14512
|
//#endregion
|
|
14507
14513
|
//#region src/component/FluxSeparator.vue?vue&type=script&setup=true&lang.ts
|
|
14508
|
-
var _hoisted_1$
|
|
14514
|
+
var _hoisted_1$41 = ["aria-orientation"];
|
|
14509
14515
|
//#endregion
|
|
14510
14516
|
//#region src/component/FluxSeparator.vue
|
|
14511
14517
|
var FluxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
@@ -14517,7 +14523,7 @@ var FluxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
|
14517
14523
|
class: normalizeClass(__props.direction === "horizontal" ? unref(Divider_module_default).separatorHorizontal : unref(Divider_module_default).separatorVertical),
|
|
14518
14524
|
role: "separator",
|
|
14519
14525
|
"aria-orientation": __props.direction
|
|
14520
|
-
}, null, 10, _hoisted_1$
|
|
14526
|
+
}, null, 10, _hoisted_1$41);
|
|
14521
14527
|
};
|
|
14522
14528
|
}
|
|
14523
14529
|
});
|
|
@@ -14624,7 +14630,7 @@ var VNodeRenderer = defineComponent({
|
|
|
14624
14630
|
//#region src/component/FluxFormSlider.vue
|
|
14625
14631
|
var FluxFormSlider_default = /* @__PURE__ */ defineComponent({
|
|
14626
14632
|
__name: "FluxFormSlider",
|
|
14627
|
-
props:
|
|
14633
|
+
props: /*@__PURE__*/ mergeModels({
|
|
14628
14634
|
disabled: {
|
|
14629
14635
|
type: Boolean,
|
|
14630
14636
|
default: false
|
|
@@ -14762,7 +14768,7 @@ var CoordinatePicker_module_default = {
|
|
|
14762
14768
|
};
|
|
14763
14769
|
//#endregion
|
|
14764
14770
|
//#region src/component/primitive/CoordinatePickerThumb.vue?vue&type=script&setup=true&lang.ts
|
|
14765
|
-
var _hoisted_1$
|
|
14771
|
+
var _hoisted_1$40 = [
|
|
14766
14772
|
"aria-disabled",
|
|
14767
14773
|
"aria-valuetext",
|
|
14768
14774
|
"tabindex"
|
|
@@ -14818,18 +14824,18 @@ var CoordinatePickerThumb_default = /* @__PURE__ */ defineComponent({
|
|
|
14818
14824
|
type: "button",
|
|
14819
14825
|
onKeydown: onKeyDown,
|
|
14820
14826
|
onPointerdown: _cache[0] || (_cache[0] = ($event) => $emit("grab", $event))
|
|
14821
|
-
}, null, 46, _hoisted_1$
|
|
14827
|
+
}, null, 46, _hoisted_1$40);
|
|
14822
14828
|
};
|
|
14823
14829
|
}
|
|
14824
14830
|
});
|
|
14825
14831
|
//#endregion
|
|
14826
14832
|
//#region src/component/primitive/CoordinatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
14827
|
-
var _hoisted_1$
|
|
14833
|
+
var _hoisted_1$39 = ["aria-disabled", "aria-label"];
|
|
14828
14834
|
//#endregion
|
|
14829
14835
|
//#region src/component/primitive/CoordinatePicker.vue
|
|
14830
14836
|
var CoordinatePicker_default = /* @__PURE__ */ defineComponent({
|
|
14831
14837
|
__name: "CoordinatePicker",
|
|
14832
|
-
props:
|
|
14838
|
+
props: /*@__PURE__*/ mergeModels({
|
|
14833
14839
|
ariaLabel: {},
|
|
14834
14840
|
disabled: { type: Boolean },
|
|
14835
14841
|
max: { default: 100 },
|
|
@@ -14839,7 +14845,7 @@ var CoordinatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
14839
14845
|
"modelValue": { default: [0, 0] },
|
|
14840
14846
|
"modelModifiers": {}
|
|
14841
14847
|
}),
|
|
14842
|
-
emits:
|
|
14848
|
+
emits: /*@__PURE__*/ mergeModels(["dragging"], ["update:modelValue"]),
|
|
14843
14849
|
setup(__props, { emit: __emit }) {
|
|
14844
14850
|
const emit = __emit;
|
|
14845
14851
|
const modelValue = useModel(__props, "modelValue");
|
|
@@ -14920,7 +14926,7 @@ var CoordinatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
14920
14926
|
"disabled",
|
|
14921
14927
|
"is-dragging",
|
|
14922
14928
|
"position"
|
|
14923
|
-
])], 42, _hoisted_1$
|
|
14929
|
+
])], 42, _hoisted_1$39);
|
|
14924
14930
|
};
|
|
14925
14931
|
}
|
|
14926
14932
|
});
|
|
@@ -14952,7 +14958,7 @@ var Color_module_default = {
|
|
|
14952
14958
|
//#region src/component/FluxColorPicker.vue
|
|
14953
14959
|
var FluxColorPicker_default = /* @__PURE__ */ defineComponent({
|
|
14954
14960
|
__name: "FluxColorPicker",
|
|
14955
|
-
props:
|
|
14961
|
+
props: /*@__PURE__*/ mergeModels({
|
|
14956
14962
|
isAlphaEnabled: { type: Boolean },
|
|
14957
14963
|
type: { default: "hex" }
|
|
14958
14964
|
}, {
|
|
@@ -15000,9 +15006,9 @@ var FluxColorPicker_default = /* @__PURE__ */ defineComponent({
|
|
|
15000
15006
|
});
|
|
15001
15007
|
const saturationValue = computed({
|
|
15002
15008
|
get: () => [unref(saturation), unref(value)],
|
|
15003
|
-
set: ([
|
|
15004
|
-
saturation.value =
|
|
15005
|
-
value.value =
|
|
15009
|
+
set: ([nextSaturation, nextValue]) => {
|
|
15010
|
+
saturation.value = nextSaturation;
|
|
15011
|
+
value.value = nextValue;
|
|
15006
15012
|
}
|
|
15007
15013
|
});
|
|
15008
15014
|
const saturationPickerColor = computed(() => {
|
|
@@ -15303,7 +15309,7 @@ var FluxPrimaryButton_default = /* @__PURE__ */ defineComponent({
|
|
|
15303
15309
|
});
|
|
15304
15310
|
//#endregion
|
|
15305
15311
|
//#region src/component/FluxColorSelect.vue?vue&type=script&setup=true&lang.ts
|
|
15306
|
-
var _hoisted_1$
|
|
15312
|
+
var _hoisted_1$38 = [
|
|
15307
15313
|
"aria-checked",
|
|
15308
15314
|
"aria-label",
|
|
15309
15315
|
"disabled",
|
|
@@ -15320,7 +15326,7 @@ var _hoisted_2$14 = [
|
|
|
15320
15326
|
//#region src/component/FluxColorSelect.vue
|
|
15321
15327
|
var FluxColorSelect_default = /* @__PURE__ */ defineComponent({
|
|
15322
15328
|
__name: "FluxColorSelect",
|
|
15323
|
-
props:
|
|
15329
|
+
props: /*@__PURE__*/ mergeModels({
|
|
15324
15330
|
colors: { default: () => [
|
|
15325
15331
|
oe,
|
|
15326
15332
|
_e,
|
|
@@ -15378,7 +15384,7 @@ var FluxColorSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
15378
15384
|
class: normalizeClass(unref(Color_module_default).colorSelectCheck),
|
|
15379
15385
|
name: "check",
|
|
15380
15386
|
size: 14
|
|
15381
|
-
}, null, 8, ["class"])], 14, _hoisted_1$
|
|
15387
|
+
}, null, 8, ["class"])], 14, _hoisted_1$38);
|
|
15382
15388
|
}), 128)), __props.isCustomAllowed ? (openBlock(), createBlock(FluxFlyout_default, { key: 0 }, {
|
|
15383
15389
|
opener: withCtx(({ open }) => [createElementVNode("button", {
|
|
15384
15390
|
class: normalizeClass(unref(Color_module_default).colorSelectCustom),
|
|
@@ -15434,7 +15440,7 @@ var FluxContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
15434
15440
|
//#region src/component/FluxFormSelect.vue
|
|
15435
15441
|
var FluxFormSelect_default = /* @__PURE__ */ defineComponent({
|
|
15436
15442
|
__name: "FluxFormSelect",
|
|
15437
|
-
props:
|
|
15443
|
+
props: /*@__PURE__*/ mergeModels({
|
|
15438
15444
|
autoFocus: { type: Boolean },
|
|
15439
15445
|
disabled: { type: Boolean },
|
|
15440
15446
|
error: {},
|
|
@@ -15587,7 +15593,7 @@ var FluxPaginationButton_default = /* @__PURE__ */ defineComponent({
|
|
|
15587
15593
|
});
|
|
15588
15594
|
//#endregion
|
|
15589
15595
|
//#region src/component/FluxPagination.vue?vue&type=script&setup=true&lang.ts
|
|
15590
|
-
var _hoisted_1$
|
|
15596
|
+
var _hoisted_1$37 = ["aria-label"];
|
|
15591
15597
|
//#endregion
|
|
15592
15598
|
//#region src/component/FluxPagination.vue
|
|
15593
15599
|
var FluxPagination_default = /* @__PURE__ */ defineComponent({
|
|
@@ -15643,9 +15649,9 @@ var FluxPagination_default = /* @__PURE__ */ defineComponent({
|
|
|
15643
15649
|
message: translate("flux.paginationNavigateMessage"),
|
|
15644
15650
|
fieldLabel: translate("flux.paginationNavigatePage")
|
|
15645
15651
|
});
|
|
15646
|
-
const
|
|
15647
|
-
if (isNaN(
|
|
15648
|
-
navigate(
|
|
15652
|
+
const target = Number(pageStr);
|
|
15653
|
+
if (isNaN(target) || target > unref(pages) || target <= 0) return;
|
|
15654
|
+
navigate(target);
|
|
15649
15655
|
}
|
|
15650
15656
|
return (_ctx, _cache) => {
|
|
15651
15657
|
return openBlock(), createElementBlock("nav", {
|
|
@@ -15684,7 +15690,7 @@ var FluxPagination_default = /* @__PURE__ */ defineComponent({
|
|
|
15684
15690
|
]))], 64);
|
|
15685
15691
|
}), 256)) : (openBlock(), createBlock(FluxPaginationButton_default, {
|
|
15686
15692
|
key: 2,
|
|
15687
|
-
|
|
15693
|
+
"is-current": "",
|
|
15688
15694
|
onClick: prompt
|
|
15689
15695
|
}, {
|
|
15690
15696
|
before: withCtx(() => [
|
|
@@ -15693,7 +15699,7 @@ var FluxPagination_default = /* @__PURE__ */ defineComponent({
|
|
|
15693
15699
|
createElementVNode("span", null, toDisplayString(pages.value), 1)
|
|
15694
15700
|
]),
|
|
15695
15701
|
_: 1
|
|
15696
|
-
}
|
|
15702
|
+
})),
|
|
15697
15703
|
__props.arrows || __props.isCompact ? (openBlock(), createBlock(FluxPaginationButton_default, {
|
|
15698
15704
|
key: 3,
|
|
15699
15705
|
disabled: isNextDisabled.value,
|
|
@@ -15702,7 +15708,7 @@ var FluxPagination_default = /* @__PURE__ */ defineComponent({
|
|
|
15702
15708
|
"aria-label": unref(translate)("flux.next"),
|
|
15703
15709
|
onClick: next
|
|
15704
15710
|
}, null, 8, ["disabled", "aria-label"])) : createCommentVNode("", true)
|
|
15705
|
-
], 10, _hoisted_1$
|
|
15711
|
+
], 10, _hoisted_1$37);
|
|
15706
15712
|
};
|
|
15707
15713
|
}
|
|
15708
15714
|
});
|
|
@@ -15833,9 +15839,9 @@ var FluxTableRow_default = /* @__PURE__ */ defineComponent({
|
|
|
15833
15839
|
});
|
|
15834
15840
|
//#endregion
|
|
15835
15841
|
//#region src/component/FluxTable.vue?vue&type=script&setup=true&lang.ts
|
|
15836
|
-
var _hoisted_1$
|
|
15842
|
+
var _hoisted_1$36 = { key: 0 };
|
|
15837
15843
|
var _hoisted_2$13 = { key: 1 };
|
|
15838
|
-
var _hoisted_3$
|
|
15844
|
+
var _hoisted_3$4 = { key: 2 };
|
|
15839
15845
|
//#endregion
|
|
15840
15846
|
//#region src/component/FluxTable.vue
|
|
15841
15847
|
var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
@@ -15882,17 +15888,17 @@ var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15882
15888
|
}, [
|
|
15883
15889
|
createElementVNode("table", { class: normalizeClass(unref(Table_module_default).tableBase) }, [
|
|
15884
15890
|
renderSlot(_ctx.$slots, "colgroups"),
|
|
15885
|
-
slots.header ? (openBlock(), createElementBlock("thead", _hoisted_1$
|
|
15891
|
+
slots.header ? (openBlock(), createElementBlock("thead", _hoisted_1$36, [renderSlot(_ctx.$slots, "header")])) : createCommentVNode("", true),
|
|
15886
15892
|
slots.default ? (openBlock(), createElementBlock("tbody", _hoisted_2$13, [renderSlot(_ctx.$slots, "default"), __props.fillColumns ? (openBlock(), createBlock(FluxTableRow_default, {
|
|
15887
15893
|
key: 0,
|
|
15888
15894
|
class: normalizeClass(unref(Table_module_default).tableFill)
|
|
15889
15895
|
}, {
|
|
15890
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.fillColumns, (
|
|
15891
|
-
return openBlock(), createBlock(FluxTableCell_default);
|
|
15892
|
-
}),
|
|
15896
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.fillColumns, (n) => {
|
|
15897
|
+
return openBlock(), createBlock(FluxTableCell_default, { key: n });
|
|
15898
|
+
}), 128))]),
|
|
15893
15899
|
_: 1
|
|
15894
15900
|
}, 8, ["class"])) : createCommentVNode("", true)])) : createCommentVNode("", true),
|
|
15895
|
-
slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_3$
|
|
15901
|
+
slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_3$4, [renderSlot(_ctx.$slots, "footer")])) : createCommentVNode("", true),
|
|
15896
15902
|
slots.caption ? (openBlock(), createElementBlock("caption", {
|
|
15897
15903
|
key: 3,
|
|
15898
15904
|
style: normalizeStyle({ captionSide: __props.captionSide })
|
|
@@ -15916,7 +15922,7 @@ var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15916
15922
|
});
|
|
15917
15923
|
//#endregion
|
|
15918
15924
|
//#region src/component/FluxTableHeader.vue?vue&type=script&setup=true&lang.ts
|
|
15919
|
-
var _hoisted_1$
|
|
15925
|
+
var _hoisted_1$35 = ["aria-sort"];
|
|
15920
15926
|
var _hoisted_2$12 = ["aria-label", "onClick"];
|
|
15921
15927
|
//#endregion
|
|
15922
15928
|
//#region src/component/FluxTableHeader.vue
|
|
@@ -15983,7 +15989,7 @@ var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
15983
15989
|
_: 1
|
|
15984
15990
|
})]),
|
|
15985
15991
|
_: 1
|
|
15986
|
-
})) : createCommentVNode("", true)], 2)], 14, _hoisted_1$
|
|
15992
|
+
})) : createCommentVNode("", true)], 2)], 14, _hoisted_1$35);
|
|
15987
15993
|
};
|
|
15988
15994
|
}
|
|
15989
15995
|
});
|
|
@@ -15991,7 +15997,7 @@ var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
15991
15997
|
//#region src/component/FluxDataTable.vue
|
|
15992
15998
|
var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
15993
15999
|
__name: "FluxDataTable",
|
|
15994
|
-
props:
|
|
16000
|
+
props: /*@__PURE__*/ mergeModels({
|
|
15995
16001
|
fillColumns: {},
|
|
15996
16002
|
isBordered: {
|
|
15997
16003
|
type: Boolean,
|
|
@@ -16024,7 +16030,7 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16024
16030
|
"selected": {},
|
|
16025
16031
|
"selectedModifiers": {}
|
|
16026
16032
|
}),
|
|
16027
|
-
emits:
|
|
16033
|
+
emits: /*@__PURE__*/ mergeModels(["limit", "navigate"], ["update:selected"]),
|
|
16028
16034
|
setup(__props, { emit: __emit }) {
|
|
16029
16035
|
const IGNORED_SLOTS = [
|
|
16030
16036
|
"filter",
|
|
@@ -16241,7 +16247,7 @@ var FluxDisabled_default = /* @__PURE__ */ defineComponent({
|
|
|
16241
16247
|
});
|
|
16242
16248
|
//#endregion
|
|
16243
16249
|
//#region src/component/FluxDivider.vue?vue&type=script&setup=true&lang.ts
|
|
16244
|
-
var _hoisted_1$
|
|
16250
|
+
var _hoisted_1$34 = ["aria-orientation"];
|
|
16245
16251
|
//#endregion
|
|
16246
16252
|
//#region src/component/FluxDivider.vue
|
|
16247
16253
|
var FluxDivider_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16263,13 +16269,13 @@ var FluxDivider_default = /* @__PURE__ */ defineComponent({
|
|
|
16263
16269
|
}, [renderSlot(_ctx.$slots, "default")], 2)) : (openBlock(), createElementBlock("hr", {
|
|
16264
16270
|
key: 1,
|
|
16265
16271
|
class: normalizeClass(unref(Divider_module_default).dividerLine)
|
|
16266
|
-
}, null, 2))], 10, _hoisted_1$
|
|
16272
|
+
}, null, 2))], 10, _hoisted_1$34);
|
|
16267
16273
|
};
|
|
16268
16274
|
}
|
|
16269
16275
|
});
|
|
16270
16276
|
//#endregion
|
|
16271
16277
|
//#region src/component/FluxDotPattern.vue?vue&type=script&setup=true&lang.ts
|
|
16272
|
-
var _hoisted_1$
|
|
16278
|
+
var _hoisted_1$33 = [
|
|
16273
16279
|
"id",
|
|
16274
16280
|
"width",
|
|
16275
16281
|
"height"
|
|
@@ -16279,7 +16285,7 @@ var _hoisted_2$11 = [
|
|
|
16279
16285
|
"cx",
|
|
16280
16286
|
"cy"
|
|
16281
16287
|
];
|
|
16282
|
-
var _hoisted_3$
|
|
16288
|
+
var _hoisted_3$3 = ["fill"];
|
|
16283
16289
|
//#endregion
|
|
16284
16290
|
//#region src/component/FluxDotPattern.vue
|
|
16285
16291
|
var FluxDotPattern_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16324,12 +16330,12 @@ var FluxDotPattern_default = /* @__PURE__ */ defineComponent({
|
|
|
16324
16330
|
r: __props.cr,
|
|
16325
16331
|
cx: __props.width / 2 - __props.cx,
|
|
16326
16332
|
cy: __props.height / 2 - __props.cy
|
|
16327
|
-
}, null, 8, _hoisted_2$11)], 8, _hoisted_1$
|
|
16333
|
+
}, null, 8, _hoisted_2$11)], 8, _hoisted_1$33)]), createElementVNode("rect", {
|
|
16328
16334
|
width: "100%",
|
|
16329
16335
|
height: "100%",
|
|
16330
16336
|
"stroke-width": "0",
|
|
16331
16337
|
fill: `url(#${unref(id)})`
|
|
16332
|
-
}, null, 8, _hoisted_3$
|
|
16338
|
+
}, null, 8, _hoisted_3$3)], 2);
|
|
16333
16339
|
};
|
|
16334
16340
|
}
|
|
16335
16341
|
});
|
|
@@ -16347,7 +16353,7 @@ var DropZone_module_default = {
|
|
|
16347
16353
|
};
|
|
16348
16354
|
//#endregion
|
|
16349
16355
|
//#region src/component/FluxDropZone.vue?vue&type=script&setup=true&lang.ts
|
|
16350
|
-
var _hoisted_1$
|
|
16356
|
+
var _hoisted_1$32 = [
|
|
16351
16357
|
"aria-disabled",
|
|
16352
16358
|
"aria-label",
|
|
16353
16359
|
"tabindex"
|
|
@@ -16493,7 +16499,7 @@ var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
|
16493
16499
|
isDraggingOver: isDraggingOver.value,
|
|
16494
16500
|
showPicker
|
|
16495
16501
|
})))
|
|
16496
|
-
], 42, _hoisted_1$
|
|
16502
|
+
], 42, _hoisted_1$32);
|
|
16497
16503
|
};
|
|
16498
16504
|
}
|
|
16499
16505
|
});
|
|
@@ -16523,7 +16529,7 @@ var Expandable_module_default = {
|
|
|
16523
16529
|
};
|
|
16524
16530
|
//#endregion
|
|
16525
16531
|
//#region src/component/FluxExpandable.vue?vue&type=script&setup=true&lang.ts
|
|
16526
|
-
var _hoisted_1$
|
|
16532
|
+
var _hoisted_1$31 = [
|
|
16527
16533
|
"id",
|
|
16528
16534
|
"aria-controls",
|
|
16529
16535
|
"aria-expanded"
|
|
@@ -16621,7 +16627,7 @@ var FluxExpandable_default = /* @__PURE__ */ defineComponent({
|
|
|
16621
16627
|
close
|
|
16622
16628
|
})))], 2)])], 10, _hoisted_2$9)) : createCommentVNode("", true)]),
|
|
16623
16629
|
_: 3
|
|
16624
|
-
})], 10, _hoisted_1$
|
|
16630
|
+
})], 10, _hoisted_1$31);
|
|
16625
16631
|
};
|
|
16626
16632
|
}
|
|
16627
16633
|
});
|
|
@@ -16721,7 +16727,7 @@ var FluxFilterBase_default = /* @__PURE__ */ defineComponent({
|
|
|
16721
16727
|
"modelValue": { required: true },
|
|
16722
16728
|
"modelModifiers": {}
|
|
16723
16729
|
},
|
|
16724
|
-
emits:
|
|
16730
|
+
emits: /*@__PURE__*/ mergeModels([
|
|
16725
16731
|
"back",
|
|
16726
16732
|
"clear",
|
|
16727
16733
|
"reset"
|
|
@@ -16736,41 +16742,41 @@ var FluxFilterBase_default = /* @__PURE__ */ defineComponent({
|
|
|
16736
16742
|
}
|
|
16737
16743
|
const flattenedFilters = computed(() => a$2(slots.filters?.() ?? []));
|
|
16738
16744
|
const buttons = computed(() => {
|
|
16739
|
-
const
|
|
16745
|
+
const result = {};
|
|
16740
16746
|
const items = unref(flattenedFilters);
|
|
16741
16747
|
for (const item of items) {
|
|
16742
16748
|
const definition = resolveDefinition(item);
|
|
16743
16749
|
if (!definition) continue;
|
|
16744
|
-
|
|
16750
|
+
result[definition.name] = definition;
|
|
16745
16751
|
}
|
|
16746
|
-
return
|
|
16752
|
+
return result;
|
|
16747
16753
|
});
|
|
16748
16754
|
const filters = computed(() => {
|
|
16749
|
-
const
|
|
16755
|
+
const result = {};
|
|
16750
16756
|
const items = unref(flattenedFilters);
|
|
16751
16757
|
for (const item of items) {
|
|
16752
16758
|
const definition = resolveDefinition(item);
|
|
16753
16759
|
if (!definition) continue;
|
|
16754
|
-
|
|
16760
|
+
result[definition.name] = item;
|
|
16755
16761
|
}
|
|
16756
|
-
return
|
|
16762
|
+
return result;
|
|
16757
16763
|
});
|
|
16758
16764
|
const menuItems = computed(() => {
|
|
16759
|
-
const
|
|
16765
|
+
const result = [[]];
|
|
16760
16766
|
const items = unref(flattenedFilters);
|
|
16761
16767
|
for (const item of items) {
|
|
16762
16768
|
if (f$3(item) === "FluxSeparator") {
|
|
16763
|
-
|
|
16769
|
+
result.push([]);
|
|
16764
16770
|
continue;
|
|
16765
16771
|
}
|
|
16766
16772
|
const definition = resolveDefinition(item);
|
|
16767
16773
|
if (definition) {
|
|
16768
|
-
|
|
16774
|
+
result[result.length - 1].push(definition);
|
|
16769
16775
|
continue;
|
|
16770
16776
|
}
|
|
16771
|
-
|
|
16777
|
+
result[result.length - 1].push(item);
|
|
16772
16778
|
}
|
|
16773
|
-
return
|
|
16779
|
+
return result;
|
|
16774
16780
|
});
|
|
16775
16781
|
watchEffect(() => {
|
|
16776
16782
|
const state = unref(modelValue);
|
|
@@ -16947,7 +16953,7 @@ var FluxFilter_default = /* @__PURE__ */ defineComponent({
|
|
|
16947
16953
|
"modelValue": { required: true },
|
|
16948
16954
|
"modelModifiers": {}
|
|
16949
16955
|
},
|
|
16950
|
-
emits:
|
|
16956
|
+
emits: /*@__PURE__*/ mergeModels(["clear", "reset"], ["update:modelValue"]),
|
|
16951
16957
|
setup(__props, { emit: __emit }) {
|
|
16952
16958
|
const emit = __emit;
|
|
16953
16959
|
const modelValue = useModel(__props, "modelValue");
|
|
@@ -17068,7 +17074,7 @@ var FluxOverflowBar_default = /* @__PURE__ */ defineComponent({
|
|
|
17068
17074
|
//#region src/component/FluxFilterBar.vue
|
|
17069
17075
|
var FluxFilterBar_default = /* @__PURE__ */ defineComponent({
|
|
17070
17076
|
__name: "FluxFilterBar",
|
|
17071
|
-
props:
|
|
17077
|
+
props: /*@__PURE__*/ mergeModels({
|
|
17072
17078
|
isSearchable: { type: Boolean },
|
|
17073
17079
|
searchPlaceholder: {}
|
|
17074
17080
|
}, {
|
|
@@ -17077,7 +17083,7 @@ var FluxFilterBar_default = /* @__PURE__ */ defineComponent({
|
|
|
17077
17083
|
"modelValue": { required: true },
|
|
17078
17084
|
"modelModifiers": {}
|
|
17079
17085
|
}),
|
|
17080
|
-
emits:
|
|
17086
|
+
emits: /*@__PURE__*/ mergeModels(["clear", "reset"], ["update:search", "update:modelValue"]),
|
|
17081
17087
|
setup(__props, { emit: __emit }) {
|
|
17082
17088
|
const emit = __emit;
|
|
17083
17089
|
const modelSearch = useModel(__props, "search");
|
|
@@ -17345,7 +17351,7 @@ var FluxFilterOption_default = /* @__PURE__ */ defineComponent({
|
|
|
17345
17351
|
};
|
|
17346
17352
|
}),
|
|
17347
17353
|
__name: "FluxFilterOption",
|
|
17348
|
-
props:
|
|
17354
|
+
props: /*@__PURE__*/ mergeModels({
|
|
17349
17355
|
icon: {},
|
|
17350
17356
|
label: {},
|
|
17351
17357
|
name: {},
|
|
@@ -17403,7 +17409,7 @@ var FluxFilterOptionAsync_default = /* @__PURE__ */ defineComponent({
|
|
|
17403
17409
|
}
|
|
17404
17410
|
})),
|
|
17405
17411
|
__name: "FluxFilterOptionAsync",
|
|
17406
|
-
props:
|
|
17412
|
+
props: /*@__PURE__*/ mergeModels({
|
|
17407
17413
|
icon: {},
|
|
17408
17414
|
label: {},
|
|
17409
17415
|
name: {},
|
|
@@ -17478,7 +17484,7 @@ var FluxFilterOptions_default = /* @__PURE__ */ defineComponent({
|
|
|
17478
17484
|
};
|
|
17479
17485
|
}),
|
|
17480
17486
|
__name: "FluxFilterOptions",
|
|
17481
|
-
props:
|
|
17487
|
+
props: /*@__PURE__*/ mergeModels({
|
|
17482
17488
|
icon: {},
|
|
17483
17489
|
label: {},
|
|
17484
17490
|
name: {},
|
|
@@ -17540,7 +17546,7 @@ var FluxFilterOptionsAsync_default = /* @__PURE__ */ defineComponent({
|
|
|
17540
17546
|
};
|
|
17541
17547
|
}),
|
|
17542
17548
|
__name: "FluxFilterOptionsAsync",
|
|
17543
|
-
props:
|
|
17549
|
+
props: /*@__PURE__*/ mergeModels({
|
|
17544
17550
|
icon: {},
|
|
17545
17551
|
label: {},
|
|
17546
17552
|
name: {},
|
|
@@ -17840,12 +17846,12 @@ var FocalPoint_module_default = {
|
|
|
17840
17846
|
};
|
|
17841
17847
|
//#endregion
|
|
17842
17848
|
//#region src/component/FluxFocalPointEditor.vue?vue&type=script&setup=true&lang.ts
|
|
17843
|
-
var _hoisted_1$
|
|
17849
|
+
var _hoisted_1$30 = ["src"];
|
|
17844
17850
|
//#endregion
|
|
17845
17851
|
//#region src/component/FluxFocalPointEditor.vue
|
|
17846
17852
|
var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
17847
17853
|
__name: "FluxFocalPointEditor",
|
|
17848
|
-
props:
|
|
17854
|
+
props: /*@__PURE__*/ mergeModels({ src: {} }, {
|
|
17849
17855
|
"modelValue": { required: true },
|
|
17850
17856
|
"modelModifiers": {}
|
|
17851
17857
|
}),
|
|
@@ -17909,7 +17915,7 @@ var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
17909
17915
|
src: __props.src,
|
|
17910
17916
|
alt: "",
|
|
17911
17917
|
onLoad: onImageLoaded
|
|
17912
|
-
}, null, 42, _hoisted_1$
|
|
17918
|
+
}, null, 42, _hoisted_1$30), createElementVNode("div", {
|
|
17913
17919
|
class: normalizeClass(unref(FocalPoint_module_default).focalPointEditorArea),
|
|
17914
17920
|
style: normalizeStyle({
|
|
17915
17921
|
top: `${focalPointY.value}%`,
|
|
@@ -17938,7 +17944,7 @@ var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
17938
17944
|
});
|
|
17939
17945
|
//#endregion
|
|
17940
17946
|
//#region src/component/FluxFocalPointImage.vue?vue&type=script&setup=true&lang.ts
|
|
17941
|
-
var _hoisted_1$
|
|
17947
|
+
var _hoisted_1$29 = ["src", "alt"];
|
|
17942
17948
|
//#endregion
|
|
17943
17949
|
//#region src/component/FluxFocalPointImage.vue
|
|
17944
17950
|
var FluxFocalPointImage_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17957,13 +17963,13 @@ var FluxFocalPointImage_default = /* @__PURE__ */ defineComponent({
|
|
|
17957
17963
|
style: normalizeStyle({ objectPosition: `${x.value}% ${y.value}%` }),
|
|
17958
17964
|
src: __props.src,
|
|
17959
17965
|
alt: __props.alt
|
|
17960
|
-
}, null, 14, _hoisted_1$
|
|
17966
|
+
}, null, 14, _hoisted_1$29);
|
|
17961
17967
|
};
|
|
17962
17968
|
}
|
|
17963
17969
|
});
|
|
17964
17970
|
//#endregion
|
|
17965
17971
|
//#region src/component/FluxForm.vue?vue&type=script&setup=true&lang.ts
|
|
17966
|
-
var _hoisted_1$
|
|
17972
|
+
var _hoisted_1$28 = ["aria-disabled"];
|
|
17967
17973
|
//#endregion
|
|
17968
17974
|
//#region src/component/FluxForm.vue
|
|
17969
17975
|
var FluxForm_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17986,7 +17992,7 @@ var FluxForm_default = /* @__PURE__ */ defineComponent({
|
|
|
17986
17992
|
}, [createVNode(FluxDisabled_default, { disabled: __props.disabled }, {
|
|
17987
17993
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
17988
17994
|
_: 3
|
|
17989
|
-
}, 8, ["disabled"])], 42, _hoisted_1$
|
|
17995
|
+
}, 8, ["disabled"])], 42, _hoisted_1$28);
|
|
17990
17996
|
};
|
|
17991
17997
|
}
|
|
17992
17998
|
});
|
|
@@ -18011,7 +18017,7 @@ var FluxFormInputGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
18011
18017
|
//#region src/component/FluxFormDateInput.vue
|
|
18012
18018
|
var FluxFormDateInput_default = /* @__PURE__ */ defineComponent({
|
|
18013
18019
|
__name: "FluxFormDateInput",
|
|
18014
|
-
props:
|
|
18020
|
+
props: /*@__PURE__*/ mergeModels({
|
|
18015
18021
|
autoFocus: { type: Boolean },
|
|
18016
18022
|
disabled: { type: Boolean },
|
|
18017
18023
|
error: {},
|
|
@@ -18028,7 +18034,7 @@ var FluxFormDateInput_default = /* @__PURE__ */ defineComponent({
|
|
|
18028
18034
|
"modelValue": { default: null },
|
|
18029
18035
|
"modelModifiers": {}
|
|
18030
18036
|
}),
|
|
18031
|
-
emits:
|
|
18037
|
+
emits: /*@__PURE__*/ mergeModels(["blur", "focus"], ["update:modelValue"]),
|
|
18032
18038
|
setup(__props, { emit: __emit }) {
|
|
18033
18039
|
const emit = __emit;
|
|
18034
18040
|
const modelValue = useModel(__props, "modelValue");
|
|
@@ -18098,12 +18104,12 @@ var FluxFormDateInput_default = /* @__PURE__ */ defineComponent({
|
|
|
18098
18104
|
});
|
|
18099
18105
|
//#endregion
|
|
18100
18106
|
//#region src/component/FluxFormDateRangeInput.vue?vue&type=script&setup=true&lang.ts
|
|
18101
|
-
var _hoisted_1$
|
|
18107
|
+
var _hoisted_1$27 = { key: 0 };
|
|
18102
18108
|
//#endregion
|
|
18103
18109
|
//#region src/component/FluxFormDateRangeInput.vue
|
|
18104
18110
|
var FluxFormDateRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
18105
18111
|
__name: "FluxFormDateRangeInput",
|
|
18106
|
-
props:
|
|
18112
|
+
props: /*@__PURE__*/ mergeModels({
|
|
18107
18113
|
autoFocus: { type: Boolean },
|
|
18108
18114
|
disabled: { type: Boolean },
|
|
18109
18115
|
error: {},
|
|
@@ -18144,7 +18150,7 @@ var FluxFormDateRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
18144
18150
|
default: withCtx(() => [createElementVNode("div", {
|
|
18145
18151
|
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)),
|
|
18146
18152
|
role: "presentation"
|
|
18147
|
-
}, [label.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
18153
|
+
}, [label.value ? (openBlock(), createElementBlock("span", _hoisted_1$27, toDisplayString(label.value), 1)) : __props.placeholder ? (openBlock(), createElementBlock("span", {
|
|
18148
18154
|
key: 1,
|
|
18149
18155
|
class: normalizeClass(unref(Form_module_default).formSelectPlaceholder)
|
|
18150
18156
|
}, toDisplayString(__props.placeholder), 3)) : createCommentVNode("", true)], 2), createVNode(FluxSecondaryButton_default, {
|
|
@@ -18179,7 +18185,7 @@ var FluxFormDateRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
18179
18185
|
//#region src/component/FluxFormDateTimeInput.vue
|
|
18180
18186
|
var FluxFormDateTimeInput_default = /* @__PURE__ */ defineComponent({
|
|
18181
18187
|
__name: "FluxFormDateTimeInput",
|
|
18182
|
-
props:
|
|
18188
|
+
props: /*@__PURE__*/ mergeModels({
|
|
18183
18189
|
autoFocus: { type: Boolean },
|
|
18184
18190
|
disabled: { type: Boolean },
|
|
18185
18191
|
error: {},
|
|
@@ -18316,7 +18322,7 @@ var FluxFormGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
18316
18322
|
});
|
|
18317
18323
|
//#endregion
|
|
18318
18324
|
//#region src/component/FluxFormInputAddition.vue?vue&type=script&setup=true&lang.ts
|
|
18319
|
-
var _hoisted_1$
|
|
18325
|
+
var _hoisted_1$26 = { key: 1 };
|
|
18320
18326
|
//#endregion
|
|
18321
18327
|
//#region src/component/FluxFormInputAddition.vue
|
|
18322
18328
|
var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
@@ -18333,7 +18339,7 @@ var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
18333
18339
|
name: __props.icon,
|
|
18334
18340
|
size: 18
|
|
18335
18341
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
18336
|
-
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
18342
|
+
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$26, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
|
|
18337
18343
|
renderSlot(_ctx.$slots, "default")
|
|
18338
18344
|
], 2);
|
|
18339
18345
|
};
|
|
@@ -18341,7 +18347,7 @@ var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
18341
18347
|
});
|
|
18342
18348
|
//#endregion
|
|
18343
18349
|
//#region src/component/FluxFormPinInput.vue?vue&type=script&setup=true&lang.ts
|
|
18344
|
-
var _hoisted_1$
|
|
18350
|
+
var _hoisted_1$25 = [
|
|
18345
18351
|
"id",
|
|
18346
18352
|
"name",
|
|
18347
18353
|
"autofocus",
|
|
@@ -18362,7 +18368,7 @@ var _hoisted_2$8 = [
|
|
|
18362
18368
|
//#region src/component/FluxFormPinInput.vue
|
|
18363
18369
|
var FluxFormPinInput_default = /* @__PURE__ */ defineComponent({
|
|
18364
18370
|
__name: "FluxFormPinInput",
|
|
18365
|
-
props:
|
|
18371
|
+
props: /*@__PURE__*/ mergeModels({
|
|
18366
18372
|
autoFocus: {
|
|
18367
18373
|
type: Boolean,
|
|
18368
18374
|
default: false
|
|
@@ -18465,7 +18471,7 @@ var FluxFormPinInput_default = /* @__PURE__ */ defineComponent({
|
|
|
18465
18471
|
onKeydown: onKeyDown,
|
|
18466
18472
|
onPaste
|
|
18467
18473
|
}, null, 42, _hoisted_2$8);
|
|
18468
|
-
}), 128))], 14, _hoisted_1$
|
|
18474
|
+
}), 128))], 14, _hoisted_1$25);
|
|
18469
18475
|
};
|
|
18470
18476
|
}
|
|
18471
18477
|
});
|
|
@@ -18473,7 +18479,7 @@ var FluxFormPinInput_default = /* @__PURE__ */ defineComponent({
|
|
|
18473
18479
|
//#region src/component/FluxFormRangeSlider.vue
|
|
18474
18480
|
var FluxFormRangeSlider_default = /* @__PURE__ */ defineComponent({
|
|
18475
18481
|
__name: "FluxFormRangeSlider",
|
|
18476
|
-
props:
|
|
18482
|
+
props: /*@__PURE__*/ mergeModels({
|
|
18477
18483
|
disabled: { type: Boolean },
|
|
18478
18484
|
error: {},
|
|
18479
18485
|
isLoading: { type: Boolean },
|
|
@@ -18665,7 +18671,7 @@ var FluxFormSection_default = /* @__PURE__ */ defineComponent({
|
|
|
18665
18671
|
//#region src/component/FluxFormSelectAsync.vue
|
|
18666
18672
|
var FluxFormSelectAsync_default = /* @__PURE__ */ defineComponent({
|
|
18667
18673
|
__name: "FluxFormSelectAsync",
|
|
18668
|
-
props:
|
|
18674
|
+
props: /*@__PURE__*/ mergeModels({
|
|
18669
18675
|
autoFocus: { type: Boolean },
|
|
18670
18676
|
disabled: { type: Boolean },
|
|
18671
18677
|
error: {},
|
|
@@ -18761,7 +18767,7 @@ var FluxFormSelectAsync_default = /* @__PURE__ */ defineComponent({
|
|
|
18761
18767
|
});
|
|
18762
18768
|
//#endregion
|
|
18763
18769
|
//#region src/component/FluxFormTextArea.vue?vue&type=script&setup=true&lang.ts
|
|
18764
|
-
var _hoisted_1$
|
|
18770
|
+
var _hoisted_1$24 = [
|
|
18765
18771
|
"id",
|
|
18766
18772
|
"name",
|
|
18767
18773
|
"autocomplete",
|
|
@@ -18778,7 +18784,7 @@ var _hoisted_1$23 = [
|
|
|
18778
18784
|
//#region src/component/FluxFormTextArea.vue
|
|
18779
18785
|
var FluxFormTextArea_default = /* @__PURE__ */ defineComponent({
|
|
18780
18786
|
__name: "FluxFormTextArea",
|
|
18781
|
-
props:
|
|
18787
|
+
props: /*@__PURE__*/ mergeModels({
|
|
18782
18788
|
autoFocus: {
|
|
18783
18789
|
type: Boolean,
|
|
18784
18790
|
default: false
|
|
@@ -18798,7 +18804,7 @@ var FluxFormTextArea_default = /* @__PURE__ */ defineComponent({
|
|
|
18798
18804
|
"modelValue": { default: "" },
|
|
18799
18805
|
"modelModifiers": {}
|
|
18800
18806
|
}),
|
|
18801
|
-
emits:
|
|
18807
|
+
emits: /*@__PURE__*/ mergeModels(["blur", "focus"], ["update:modelValue"]),
|
|
18802
18808
|
setup(__props, { emit: __emit }) {
|
|
18803
18809
|
const emit = __emit;
|
|
18804
18810
|
const modelValue = useModel(__props, "modelValue");
|
|
@@ -18823,7 +18829,7 @@ var FluxFormTextArea_default = /* @__PURE__ */ defineComponent({
|
|
|
18823
18829
|
"aria-invalid": __props.error ? true : void 0,
|
|
18824
18830
|
onBlur: _cache[1] || (_cache[1] = ($event) => emit("blur")),
|
|
18825
18831
|
onFocus: _cache[2] || (_cache[2] = ($event) => emit("focus"))
|
|
18826
|
-
}, null, 46, _hoisted_1$
|
|
18832
|
+
}, null, 46, _hoisted_1$24)), [[vModelText, modelValue.value]]);
|
|
18827
18833
|
};
|
|
18828
18834
|
}
|
|
18829
18835
|
});
|
|
@@ -19449,7 +19455,7 @@ var TIME_ZONE_GROUP_ORDER = [
|
|
|
19449
19455
|
//#region src/component/FluxFormTimeZonePicker.vue
|
|
19450
19456
|
var FluxFormTimeZonePicker_default = /* @__PURE__ */ defineComponent({
|
|
19451
19457
|
__name: "FluxFormTimeZonePicker",
|
|
19452
|
-
props:
|
|
19458
|
+
props: /*@__PURE__*/ mergeModels({
|
|
19453
19459
|
autoFocus: { type: Boolean },
|
|
19454
19460
|
disabled: { type: Boolean },
|
|
19455
19461
|
error: {},
|
|
@@ -19550,7 +19556,7 @@ var TreeViewSelect_module_default = {
|
|
|
19550
19556
|
};
|
|
19551
19557
|
//#endregion
|
|
19552
19558
|
//#region src/component/FluxFormTreeViewSelect.vue?vue&type=script&setup=true&lang.ts
|
|
19553
|
-
var _hoisted_1$
|
|
19559
|
+
var _hoisted_1$23 = [
|
|
19554
19560
|
"role",
|
|
19555
19561
|
"tabindex",
|
|
19556
19562
|
"aria-selected",
|
|
@@ -19562,7 +19568,7 @@ var _hoisted_1$22 = [
|
|
|
19562
19568
|
var FluxFormTreeViewSelect_default = /* @__PURE__ */ defineComponent({
|
|
19563
19569
|
inheritAttrs: false,
|
|
19564
19570
|
__name: "FluxFormTreeViewSelect",
|
|
19565
|
-
props:
|
|
19571
|
+
props: /*@__PURE__*/ mergeModels({
|
|
19566
19572
|
autoFocus: { type: Boolean },
|
|
19567
19573
|
disabled: { type: Boolean },
|
|
19568
19574
|
error: {},
|
|
@@ -19791,7 +19797,7 @@ var FluxFormTreeViewSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
19791
19797
|
"expanded",
|
|
19792
19798
|
"level-colors",
|
|
19793
19799
|
"onExpandClick"
|
|
19794
|
-
])], 42, _hoisted_1$
|
|
19800
|
+
])], 42, _hoisted_1$23);
|
|
19795
19801
|
}), 128))], 2)]),
|
|
19796
19802
|
_: 1
|
|
19797
19803
|
}, 8, ["class", "anchor"])) : createCommentVNode("", true)]),
|
|
@@ -19806,7 +19812,7 @@ var Remove_module_default = {
|
|
|
19806
19812
|
};
|
|
19807
19813
|
//#endregion
|
|
19808
19814
|
//#region src/component/FluxRemove.vue?vue&type=script&setup=true&lang.ts
|
|
19809
|
-
var _hoisted_1$
|
|
19815
|
+
var _hoisted_1$22 = ["aria-label"];
|
|
19810
19816
|
//#endregion
|
|
19811
19817
|
//#region src/component/FluxRemove.vue
|
|
19812
19818
|
var FluxRemove_default = /* @__PURE__ */ defineComponent({
|
|
@@ -19829,7 +19835,7 @@ var FluxRemove_default = /* @__PURE__ */ defineComponent({
|
|
|
19829
19835
|
key: 0,
|
|
19830
19836
|
name: __props.icon,
|
|
19831
19837
|
size: 16
|
|
19832
|
-
}, null, 8, ["name"])) : createCommentVNode("", true)], 10, _hoisted_1$
|
|
19838
|
+
}, null, 8, ["name"])) : createCommentVNode("", true)], 10, _hoisted_1$22);
|
|
19833
19839
|
};
|
|
19834
19840
|
}
|
|
19835
19841
|
});
|
|
@@ -19902,7 +19908,7 @@ var FluxGalleryItem_default = /* @__PURE__ */ defineComponent({
|
|
|
19902
19908
|
});
|
|
19903
19909
|
//#endregion
|
|
19904
19910
|
//#region src/component/FluxGallery.vue?vue&type=script&setup=true&lang.ts
|
|
19905
|
-
var _hoisted_1$
|
|
19911
|
+
var _hoisted_1$21 = ["onClick"];
|
|
19906
19912
|
//#endregion
|
|
19907
19913
|
//#region src/component/FluxGallery.vue
|
|
19908
19914
|
var FluxGallery_default = /* @__PURE__ */ defineComponent({
|
|
@@ -19980,7 +19986,7 @@ var FluxGallery_default = /* @__PURE__ */ defineComponent({
|
|
|
19980
19986
|
class: normalizeClass(unref(Gallery_module_default).galleryAdd),
|
|
19981
19987
|
type: "button",
|
|
19982
19988
|
onClick: ($event) => showPicker()
|
|
19983
|
-
}, [createVNode(FluxIcon_default, { name: "plus" })], 10, _hoisted_1$
|
|
19989
|
+
}, [createVNode(FluxIcon_default, { name: "plus" })], 10, _hoisted_1$21)) : createCommentVNode("", true)
|
|
19984
19990
|
]),
|
|
19985
19991
|
_: 2
|
|
19986
19992
|
}, 1032, ["class", "move-class"])]),
|
|
@@ -20055,13 +20061,13 @@ var FluxGridColumn_default = /* @__PURE__ */ defineComponent({
|
|
|
20055
20061
|
});
|
|
20056
20062
|
//#endregion
|
|
20057
20063
|
//#region src/component/FluxGridPattern.vue?vue&type=script&setup=true&lang.ts
|
|
20058
|
-
var _hoisted_1$
|
|
20064
|
+
var _hoisted_1$20 = [
|
|
20059
20065
|
"id",
|
|
20060
20066
|
"width",
|
|
20061
20067
|
"height"
|
|
20062
20068
|
];
|
|
20063
20069
|
var _hoisted_2$7 = ["d", "stroke-dasharray"];
|
|
20064
|
-
var _hoisted_3$
|
|
20070
|
+
var _hoisted_3$2 = ["fill"];
|
|
20065
20071
|
var _hoisted_4 = {
|
|
20066
20072
|
key: 0,
|
|
20067
20073
|
style: { "overflow": "visible" }
|
|
@@ -20100,13 +20106,13 @@ var FluxGridPattern_default = /* @__PURE__ */ defineComponent({
|
|
|
20100
20106
|
d: `M.5 ${__props.height}V.5H${__props.width}`,
|
|
20101
20107
|
fill: "none",
|
|
20102
20108
|
"stroke-dasharray": __props.strokeDasharray
|
|
20103
|
-
}, null, 8, _hoisted_2$7)], 8, _hoisted_1$
|
|
20109
|
+
}, null, 8, _hoisted_2$7)], 8, _hoisted_1$20)]),
|
|
20104
20110
|
createElementVNode("rect", {
|
|
20105
20111
|
width: "100%",
|
|
20106
20112
|
height: "100%",
|
|
20107
20113
|
"stroke-width": "0",
|
|
20108
20114
|
fill: `url(#${unref(id)})`
|
|
20109
|
-
}, null, 8, _hoisted_3$
|
|
20115
|
+
}, null, 8, _hoisted_3$2),
|
|
20110
20116
|
__props.squares ? (openBlock(), createElementBlock("svg", _hoisted_4, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.squares, ([x, y]) => {
|
|
20111
20117
|
return openBlock(), createElementBlock("rect", {
|
|
20112
20118
|
key: `${x}-${y}`,
|
|
@@ -20167,7 +20173,7 @@ var Kanban_module_default = {
|
|
|
20167
20173
|
};
|
|
20168
20174
|
//#endregion
|
|
20169
20175
|
//#region src/component/FluxKanban.vue?vue&type=script&setup=true&lang.ts
|
|
20170
|
-
var _hoisted_1$
|
|
20176
|
+
var _hoisted_1$19 = ["aria-label"];
|
|
20171
20177
|
//#endregion
|
|
20172
20178
|
//#region src/component/FluxKanban.vue
|
|
20173
20179
|
var FluxKanban_default = /* @__PURE__ */ defineComponent({
|
|
@@ -20234,13 +20240,13 @@ var FluxKanban_default = /* @__PURE__ */ defineComponent({
|
|
|
20234
20240
|
"aria-live": "polite",
|
|
20235
20241
|
"aria-atomic": "true",
|
|
20236
20242
|
class: normalizeClass(unref(Kanban_module_default).kanbanLiveRegion)
|
|
20237
|
-
}, toDisplayString(liveMessage.value), 3)], 10, _hoisted_1$
|
|
20243
|
+
}, toDisplayString(liveMessage.value), 3)], 10, _hoisted_1$19);
|
|
20238
20244
|
};
|
|
20239
20245
|
}
|
|
20240
20246
|
});
|
|
20241
20247
|
//#endregion
|
|
20242
20248
|
//#region src/component/FluxKanbanColumn.vue?vue&type=script&setup=true&lang.ts
|
|
20243
|
-
var _hoisted_1$
|
|
20249
|
+
var _hoisted_1$18 = ["aria-label", "aria-disabled"];
|
|
20244
20250
|
var _hoisted_2$6 = ["draggable", "tabindex"];
|
|
20245
20251
|
//#endregion
|
|
20246
20252
|
//#region src/component/FluxKanbanColumn.vue
|
|
@@ -20421,14 +20427,14 @@ var FluxKanbanColumn_default = /* @__PURE__ */ defineComponent({
|
|
|
20421
20427
|
hasFooter.value ? (openBlock(), createElementBlock("footer", {
|
|
20422
20428
|
key: 0,
|
|
20423
20429
|
class: normalizeClass(unref(Kanban_module_default).kanbanColumnFooter)
|
|
20424
|
-
}, [
|
|
20425
|
-
], 10, _hoisted_1$
|
|
20430
|
+
}, [renderSlot(_ctx.$slots, "footer")], 2)) : createCommentVNode("", true)
|
|
20431
|
+
], 10, _hoisted_1$18);
|
|
20426
20432
|
};
|
|
20427
20433
|
}
|
|
20428
20434
|
});
|
|
20429
20435
|
//#endregion
|
|
20430
20436
|
//#region src/component/FluxKanbanItem.vue?vue&type=script&setup=true&lang.ts
|
|
20431
|
-
var _hoisted_1$
|
|
20437
|
+
var _hoisted_1$17 = [
|
|
20432
20438
|
"aria-disabled",
|
|
20433
20439
|
"draggable",
|
|
20434
20440
|
"tabindex"
|
|
@@ -20554,7 +20560,7 @@ var FluxKanbanItem_default = /* @__PURE__ */ defineComponent({
|
|
|
20554
20560
|
onDragover: withModifiers(onDragOver, ["stop"]),
|
|
20555
20561
|
onFocus,
|
|
20556
20562
|
onKeydown: _cache[0] || (_cache[0] = (...args) => unref(handleKeyDown) && unref(handleKeyDown)(...args))
|
|
20557
|
-
}, [renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$
|
|
20563
|
+
}, [renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$17);
|
|
20558
20564
|
};
|
|
20559
20565
|
}
|
|
20560
20566
|
});
|
|
@@ -20751,7 +20757,7 @@ var FluxLink_default = /* @__PURE__ */ defineComponent({
|
|
|
20751
20757
|
});
|
|
20752
20758
|
//#endregion
|
|
20753
20759
|
//#region src/component/FluxMenuCollapsible.vue?vue&type=script&setup=true&lang.ts
|
|
20754
|
-
var _hoisted_1$
|
|
20760
|
+
var _hoisted_1$16 = ["id"];
|
|
20755
20761
|
//#endregion
|
|
20756
20762
|
//#region src/component/FluxMenuCollapsible.vue
|
|
20757
20763
|
var FluxMenuCollapsible_default = /* @__PURE__ */ defineComponent({
|
|
@@ -20861,7 +20867,7 @@ var FluxMenuCollapsible_default = /* @__PURE__ */ defineComponent({
|
|
|
20861
20867
|
id: unref(bodyId),
|
|
20862
20868
|
class: normalizeClass(unref(Menu_module_default).menuCollapsibleBody),
|
|
20863
20869
|
role: "group"
|
|
20864
|
-
}, [createElementVNode("div", { class: normalizeClass(unref(Menu_module_default).menuCollapsibleContent) }, [renderSlot(_ctx.$slots, "default")], 2)], 10, _hoisted_1$
|
|
20870
|
+
}, [createElementVNode("div", { class: normalizeClass(unref(Menu_module_default).menuCollapsibleContent) }, [renderSlot(_ctx.$slots, "default")], 2)], 10, _hoisted_1$16)) : createCommentVNode("", true)]),
|
|
20865
20871
|
_: 3
|
|
20866
20872
|
})], 2);
|
|
20867
20873
|
};
|
|
@@ -20871,7 +20877,7 @@ var FluxMenuCollapsible_default = /* @__PURE__ */ defineComponent({
|
|
|
20871
20877
|
//#region src/component/FluxMenuOptions.vue
|
|
20872
20878
|
var FluxMenuOptions_default = /* @__PURE__ */ defineComponent({
|
|
20873
20879
|
__name: "FluxMenuOptions",
|
|
20874
|
-
props:
|
|
20880
|
+
props: /*@__PURE__*/ mergeModels({
|
|
20875
20881
|
isHorizontal: { type: Boolean },
|
|
20876
20882
|
mode: { default: "highlight" }
|
|
20877
20883
|
}, {
|
|
@@ -20939,7 +20945,7 @@ var Notice_module_default = {
|
|
|
20939
20945
|
};
|
|
20940
20946
|
//#endregion
|
|
20941
20947
|
//#region src/component/FluxNotice.vue?vue&type=script&setup=true&lang.ts
|
|
20942
|
-
var _hoisted_1$
|
|
20948
|
+
var _hoisted_1$15 = ["aria-label"];
|
|
20943
20949
|
//#endregion
|
|
20944
20950
|
//#region src/component/FluxNotice.vue
|
|
20945
20951
|
var FluxNotice_default = /* @__PURE__ */ defineComponent({
|
|
@@ -20990,7 +20996,7 @@ var FluxNotice_default = /* @__PURE__ */ defineComponent({
|
|
|
20990
20996
|
type: "button",
|
|
20991
20997
|
"aria-label": unref(translate)("flux.close"),
|
|
20992
20998
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
|
|
20993
|
-
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$
|
|
20999
|
+
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$15)) : createCommentVNode("", true)
|
|
20994
21000
|
], 2);
|
|
20995
21001
|
};
|
|
20996
21002
|
}
|
|
@@ -21243,7 +21249,7 @@ var FluxPaneIllustration_default = /* @__PURE__ */ defineComponent({
|
|
|
21243
21249
|
});
|
|
21244
21250
|
//#endregion
|
|
21245
21251
|
//#region src/component/FluxPaneMedia.vue?vue&type=script&setup=true&lang.ts
|
|
21246
|
-
var _hoisted_1$
|
|
21252
|
+
var _hoisted_1$14 = ["src", "alt"];
|
|
21247
21253
|
//#endregion
|
|
21248
21254
|
//#region src/component/FluxPaneMedia.vue
|
|
21249
21255
|
var FluxPaneMedia_default = /* @__PURE__ */ defineComponent({
|
|
@@ -21268,7 +21274,7 @@ var FluxPaneMedia_default = /* @__PURE__ */ defineComponent({
|
|
|
21268
21274
|
}),
|
|
21269
21275
|
src: __props.imageUrl,
|
|
21270
21276
|
alt: __props.imageAlt
|
|
21271
|
-
}, null, 14, _hoisted_1$
|
|
21277
|
+
}, null, 14, _hoisted_1$14)) : createCommentVNode("", true)], 2);
|
|
21272
21278
|
};
|
|
21273
21279
|
}
|
|
21274
21280
|
});
|
|
@@ -21313,7 +21319,7 @@ var FluxPercentageBar_default = /* @__PURE__ */ defineComponent({
|
|
|
21313
21319
|
});
|
|
21314
21320
|
//#endregion
|
|
21315
21321
|
//#region src/component/FluxPersona.vue?vue&type=script&setup=true&lang.ts
|
|
21316
|
-
var _hoisted_1$
|
|
21322
|
+
var _hoisted_1$13 = { key: 0 };
|
|
21317
21323
|
//#endregion
|
|
21318
21324
|
//#region src/component/FluxPersona.vue
|
|
21319
21325
|
var FluxPersona_default = /* @__PURE__ */ defineComponent({
|
|
@@ -21353,13 +21359,13 @@ var FluxPersona_default = /* @__PURE__ */ defineComponent({
|
|
|
21353
21359
|
]), !__props.isCompact ? (openBlock(), createElementBlock("div", {
|
|
21354
21360
|
key: 0,
|
|
21355
21361
|
class: normalizeClass(unref(Avatar_module_default).personaDetails)
|
|
21356
|
-
}, [createElementVNode("strong", null, toDisplayString(__props.name), 1), __props.title ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
21362
|
+
}, [createElementVNode("strong", null, toDisplayString(__props.name), 1), __props.title ? (openBlock(), createElementBlock("span", _hoisted_1$13, toDisplayString(__props.title), 1)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)], 2);
|
|
21357
21363
|
};
|
|
21358
21364
|
}
|
|
21359
21365
|
});
|
|
21360
21366
|
//#endregion
|
|
21361
21367
|
//#region src/component/FluxPlaceholder.vue?vue&type=script&setup=true&lang.ts
|
|
21362
|
-
var _hoisted_1$
|
|
21368
|
+
var _hoisted_1$12 = { key: 0 };
|
|
21363
21369
|
var _hoisted_2$5 = { key: 1 };
|
|
21364
21370
|
//#endregion
|
|
21365
21371
|
//#region src/component/FluxPlaceholder.vue
|
|
@@ -21389,7 +21395,7 @@ var FluxPlaceholder_default = /* @__PURE__ */ defineComponent({
|
|
|
21389
21395
|
class: normalizeClass(unref(Placeholder_module_default).placeholderIcon),
|
|
21390
21396
|
name: __props.icon
|
|
21391
21397
|
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
21392
|
-
createElementVNode("div", { class: normalizeClass(unref(Placeholder_module_default).placeholderCaption) }, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$
|
|
21398
|
+
createElementVNode("div", { class: normalizeClass(unref(Placeholder_module_default).placeholderCaption) }, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$12, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.message ? (openBlock(), createElementBlock("p", _hoisted_2$5, toDisplayString(__props.message), 1)) : createCommentVNode("", true)], 2),
|
|
21393
21399
|
renderSlot(_ctx.$slots, "default")
|
|
21394
21400
|
], 2);
|
|
21395
21401
|
};
|
|
@@ -21615,7 +21621,7 @@ var FluxPublishButton_default = /* @__PURE__ */ defineComponent({
|
|
|
21615
21621
|
});
|
|
21616
21622
|
//#endregion
|
|
21617
21623
|
//#region src/component/FluxQuantitySelector.vue?vue&type=script&setup=true&lang.ts
|
|
21618
|
-
var _hoisted_1$
|
|
21624
|
+
var _hoisted_1$11 = [
|
|
21619
21625
|
"disabled",
|
|
21620
21626
|
"max",
|
|
21621
21627
|
"min",
|
|
@@ -21625,7 +21631,7 @@ var _hoisted_1$10 = [
|
|
|
21625
21631
|
//#region src/component/FluxQuantitySelector.vue
|
|
21626
21632
|
var FluxQuantitySelector_default = /* @__PURE__ */ defineComponent({
|
|
21627
21633
|
__name: "FluxQuantitySelector",
|
|
21628
|
-
props:
|
|
21634
|
+
props: /*@__PURE__*/ mergeModels({
|
|
21629
21635
|
disabled: { type: Boolean },
|
|
21630
21636
|
max: { default: 100 },
|
|
21631
21637
|
min: { default: 0 },
|
|
@@ -21688,7 +21694,7 @@ var FluxQuantitySelector_default = /* @__PURE__ */ defineComponent({
|
|
|
21688
21694
|
max: __props.max,
|
|
21689
21695
|
min: __props.min,
|
|
21690
21696
|
step: __props.step
|
|
21691
|
-
}, null, 14, _hoisted_1$
|
|
21697
|
+
}, null, 14, _hoisted_1$11), [[vModelText, modelValue.value]]),
|
|
21692
21698
|
createVNode(FluxSecondaryButton_default, {
|
|
21693
21699
|
class: normalizeClass(unref(Form_module_default).quantitySelectorButton),
|
|
21694
21700
|
disabled: unref(disabled) || modelValue.value >= __props.max,
|
|
@@ -21735,7 +21741,7 @@ var Snackbar_module_default = {
|
|
|
21735
21741
|
};
|
|
21736
21742
|
//#endregion
|
|
21737
21743
|
//#region src/component/FluxSnackbar.vue?vue&type=script&setup=true&lang.ts
|
|
21738
|
-
var _hoisted_1$
|
|
21744
|
+
var _hoisted_1$10 = ["onClick"];
|
|
21739
21745
|
//#endregion
|
|
21740
21746
|
//#region src/component/FluxSnackbar.vue
|
|
21741
21747
|
var FluxSnackbar_default = /* @__PURE__ */ defineComponent({
|
|
@@ -21851,7 +21857,7 @@ var FluxSnackbar_default = /* @__PURE__ */ defineComponent({
|
|
|
21851
21857
|
tabindex: "-1",
|
|
21852
21858
|
type: "button",
|
|
21853
21859
|
onClick: ($event) => onAction(actionKey)
|
|
21854
|
-
}, [createElementVNode("span", null, toDisplayString(actionLabel), 1)], 10, _hoisted_1$
|
|
21860
|
+
}, [createElementVNode("span", null, toDisplayString(actionLabel), 1)], 10, _hoisted_1$10);
|
|
21855
21861
|
}), 128))], 2)) : createCommentVNode("", true),
|
|
21856
21862
|
__props.isCloseable ? (openBlock(), createBlock(FluxAction_default, {
|
|
21857
21863
|
key: 1,
|
|
@@ -22054,7 +22060,7 @@ var Root_module_default = {
|
|
|
22054
22060
|
};
|
|
22055
22061
|
//#endregion
|
|
22056
22062
|
//#region src/component/FluxRoot.vue?vue&type=script&setup=true&lang.ts
|
|
22057
|
-
var _hoisted_1$
|
|
22063
|
+
var _hoisted_1$9 = ["inert"];
|
|
22058
22064
|
//#endregion
|
|
22059
22065
|
//#region src/component/FluxRoot.vue
|
|
22060
22066
|
var FluxRoot_default = /* @__PURE__ */ defineComponent({
|
|
@@ -22072,7 +22078,7 @@ var FluxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
22072
22078
|
createElementVNode("div", mergeProps($attrs, {
|
|
22073
22079
|
class: unref(Root_module_default).root,
|
|
22074
22080
|
inert: unref(inertMain)
|
|
22075
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$
|
|
22081
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$9),
|
|
22076
22082
|
createVNode(FluxOverlayProvider_default),
|
|
22077
22083
|
createVNode(FluxSnackbarProvider_default),
|
|
22078
22084
|
createVNode(FluxTooltipProvider_default)
|
|
@@ -22206,82 +22212,97 @@ var SegmentedControl_module_default = {
|
|
|
22206
22212
|
segmentedControlHighlight: `segmented-control-highlight`,
|
|
22207
22213
|
segmentedControlItem: `segmented-control-item`,
|
|
22208
22214
|
isActive: `is-active`,
|
|
22209
|
-
|
|
22215
|
+
isSmall: `is-small`,
|
|
22216
|
+
isMedium: `is-medium`,
|
|
22217
|
+
isLarge: `is-large`
|
|
22210
22218
|
};
|
|
22211
22219
|
//#endregion
|
|
22212
22220
|
//#region src/component/FluxSegmentedControl.vue?vue&type=script&setup=true&lang.ts
|
|
22213
|
-
var _hoisted_1$
|
|
22214
|
-
var _hoisted_2$4 = [
|
|
22215
|
-
"aria-checked",
|
|
22216
|
-
"aria-label",
|
|
22217
|
-
"tabindex",
|
|
22218
|
-
"onClick"
|
|
22219
|
-
];
|
|
22220
|
-
var _hoisted_3$2 = { key: 1 };
|
|
22221
|
+
var _hoisted_1$8 = ["aria-label"];
|
|
22221
22222
|
//#endregion
|
|
22222
22223
|
//#region src/component/FluxSegmentedControl.vue
|
|
22223
22224
|
var FluxSegmentedControl_default = /* @__PURE__ */ defineComponent({
|
|
22224
22225
|
__name: "FluxSegmentedControl",
|
|
22225
|
-
props:
|
|
22226
|
+
props: /*@__PURE__*/ mergeModels({
|
|
22226
22227
|
ariaLabel: {},
|
|
22227
22228
|
isFill: { type: Boolean },
|
|
22228
|
-
|
|
22229
|
+
size: { default: "medium" }
|
|
22229
22230
|
}, {
|
|
22230
|
-
"modelValue": {
|
|
22231
|
+
"modelValue": {},
|
|
22231
22232
|
"modelModifiers": {}
|
|
22232
22233
|
}),
|
|
22233
22234
|
emits: ["update:modelValue"],
|
|
22234
22235
|
setup(__props) {
|
|
22235
22236
|
const modelValue = useModel(__props, "modelValue");
|
|
22236
22237
|
const controlRef = useTemplateRef("control");
|
|
22237
|
-
const itemRefs = useTemplateRef("items");
|
|
22238
22238
|
const activeItemX = ref(0);
|
|
22239
22239
|
const activeItemWidth = ref(0);
|
|
22240
|
-
const
|
|
22241
|
-
|
|
22242
|
-
|
|
22240
|
+
const items = /* @__PURE__ */ new Map();
|
|
22241
|
+
provide(FluxSegmentedControlInjectionKey, {
|
|
22242
|
+
modelValue,
|
|
22243
|
+
size: toRef(() => __props.size),
|
|
22244
|
+
select,
|
|
22245
|
+
registerItem(element, value) {
|
|
22246
|
+
items.set(element, value);
|
|
22247
|
+
updateHighlight();
|
|
22248
|
+
},
|
|
22249
|
+
unregisterItem(element) {
|
|
22250
|
+
items.delete(element);
|
|
22251
|
+
updateHighlight();
|
|
22252
|
+
}
|
|
22243
22253
|
});
|
|
22244
|
-
|
|
22245
|
-
|
|
22246
|
-
|
|
22247
|
-
|
|
22248
|
-
|
|
22254
|
+
onMounted(() => updateHighlight());
|
|
22255
|
+
watch(modelValue, () => updateHighlight(), { flush: "post" });
|
|
22256
|
+
he$1(controlRef, () => updateHighlight(), {
|
|
22257
|
+
childList: true,
|
|
22258
|
+
subtree: true
|
|
22259
|
+
});
|
|
22260
|
+
ye$1(controlRef, () => updateHighlight());
|
|
22261
|
+
function select(value) {
|
|
22262
|
+
modelValue.value = value;
|
|
22249
22263
|
}
|
|
22250
22264
|
function onKeyDown(evt) {
|
|
22251
|
-
const
|
|
22252
|
-
if (!
|
|
22253
|
-
|
|
22265
|
+
const control = controlRef.value;
|
|
22266
|
+
if (!control) return;
|
|
22267
|
+
const radios = Array.from(control.querySelectorAll("[role=radio]:not([disabled])"));
|
|
22268
|
+
if (radios.length === 0) return;
|
|
22269
|
+
const activeElement = control.querySelector("[role=radio][aria-checked=true]");
|
|
22270
|
+
const currentIndex = activeElement ? radios.indexOf(activeElement) : -1;
|
|
22271
|
+
let newIndex;
|
|
22254
22272
|
switch (evt.key) {
|
|
22255
22273
|
case "ArrowLeft":
|
|
22256
22274
|
case "ArrowUp":
|
|
22257
|
-
newIndex = Math.max(0,
|
|
22275
|
+
newIndex = Math.max(0, currentIndex - 1);
|
|
22258
22276
|
break;
|
|
22259
22277
|
case "ArrowRight":
|
|
22260
22278
|
case "ArrowDown":
|
|
22261
|
-
newIndex = Math.min(
|
|
22279
|
+
newIndex = Math.min(radios.length - 1, currentIndex + 1);
|
|
22262
22280
|
break;
|
|
22263
22281
|
case "Home":
|
|
22264
22282
|
newIndex = 0;
|
|
22265
22283
|
break;
|
|
22266
22284
|
case "End":
|
|
22267
|
-
newIndex =
|
|
22285
|
+
newIndex = radios.length - 1;
|
|
22268
22286
|
break;
|
|
22269
22287
|
default: return;
|
|
22270
22288
|
}
|
|
22271
|
-
|
|
22289
|
+
const target = radios[newIndex];
|
|
22290
|
+
const value = items.get(target);
|
|
22291
|
+
if (value !== void 0) select(value);
|
|
22292
|
+
target.focus();
|
|
22272
22293
|
evt.preventDefault();
|
|
22273
22294
|
}
|
|
22274
|
-
function updateHighlight(
|
|
22275
|
-
if (!isAlive.value) return;
|
|
22276
|
-
const itemRef = itemRefs.value?.[index];
|
|
22295
|
+
function updateHighlight() {
|
|
22277
22296
|
const control = controlRef.value;
|
|
22278
|
-
if (!
|
|
22279
|
-
const
|
|
22297
|
+
if (!control) return;
|
|
22298
|
+
const activeElement = control.querySelector("[role=radio][aria-checked=true]");
|
|
22299
|
+
if (!activeElement) {
|
|
22300
|
+
activeItemWidth.value = 0;
|
|
22301
|
+
return;
|
|
22302
|
+
}
|
|
22303
|
+
const width = activeElement.offsetWidth;
|
|
22280
22304
|
if (width === 0) return;
|
|
22281
|
-
|
|
22282
|
-
const itemRect = itemRef.getBoundingClientRect();
|
|
22283
|
-
const scaleX = control.offsetWidth > 0 ? controlRect.width / control.offsetWidth : 1;
|
|
22284
|
-
activeItemX.value = (itemRect.left - controlRect.left) / scaleX;
|
|
22305
|
+
activeItemX.value = activeElement.offsetLeft;
|
|
22285
22306
|
activeItemWidth.value = width;
|
|
22286
22307
|
}
|
|
22287
22308
|
return (_ctx, _cache) => {
|
|
@@ -22298,37 +22319,79 @@ var FluxSegmentedControl_default = /* @__PURE__ */ defineComponent({
|
|
|
22298
22319
|
left: `${activeItemX.value}px`,
|
|
22299
22320
|
width: `${activeItemWidth.value}px`
|
|
22300
22321
|
})
|
|
22301
|
-
}, null, 6)) : createCommentVNode("", true), (
|
|
22302
|
-
return openBlock(), createElementBlock(Fragment, null, [index > 0 ? (openBlock(), createElementBlock("div", {
|
|
22303
|
-
key: 0,
|
|
22304
|
-
class: normalizeClass(unref(clsx)(unref(SegmentedControl_module_default).segmentedControlSeparator, (index === modelValue.value || index === modelValue.value + 1) && unref(SegmentedControl_module_default).isActive)),
|
|
22305
|
-
role: "separator"
|
|
22306
|
-
}, null, 2)) : createCommentVNode("", true), createElementVNode("button", {
|
|
22307
|
-
ref_for: true,
|
|
22308
|
-
ref: "items",
|
|
22309
|
-
class: normalizeClass(unref(clsx)(unref(SegmentedControl_module_default).segmentedControlItem, index === modelValue.value && unref(SegmentedControl_module_default).isActive)),
|
|
22310
|
-
role: "radio",
|
|
22311
|
-
"aria-checked": index === modelValue.value,
|
|
22312
|
-
"aria-label": item.label,
|
|
22313
|
-
tabindex: index === modelValue.value ? 0 : -1,
|
|
22314
|
-
type: "button",
|
|
22315
|
-
onClick: ($event) => activate(index)
|
|
22316
|
-
}, [item.icon ? (openBlock(), createBlock(FluxIcon_default, {
|
|
22317
|
-
key: 0,
|
|
22318
|
-
name: item.icon,
|
|
22319
|
-
size: 15
|
|
22320
|
-
}, null, 8, ["name"])) : createCommentVNode("", true), item.label ? (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(item.label), 1)) : createCommentVNode("", true)], 10, _hoisted_2$4)], 64);
|
|
22321
|
-
}), 256))], 42, _hoisted_1$7);
|
|
22322
|
+
}, null, 6)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$8);
|
|
22322
22323
|
};
|
|
22323
22324
|
}
|
|
22324
22325
|
});
|
|
22325
22326
|
//#endregion
|
|
22326
|
-
//#region src/component/
|
|
22327
|
-
var
|
|
22328
|
-
|
|
22329
|
-
|
|
22330
|
-
|
|
22331
|
-
|
|
22327
|
+
//#region src/component/FluxSegmentedControlItem.vue?vue&type=script&setup=true&lang.ts
|
|
22328
|
+
var _hoisted_1$7 = [
|
|
22329
|
+
"aria-checked",
|
|
22330
|
+
"aria-disabled",
|
|
22331
|
+
"disabled",
|
|
22332
|
+
"tabindex"
|
|
22333
|
+
];
|
|
22334
|
+
var _hoisted_2$4 = { key: 1 };
|
|
22335
|
+
//#endregion
|
|
22336
|
+
//#region src/component/FluxSegmentedControlItem.vue
|
|
22337
|
+
var FluxSegmentedControlItem_default = /* @__PURE__ */ defineComponent({
|
|
22338
|
+
__name: "FluxSegmentedControlItem",
|
|
22339
|
+
props: {
|
|
22340
|
+
value: {},
|
|
22341
|
+
disabled: { type: Boolean },
|
|
22342
|
+
icon: {},
|
|
22343
|
+
label: {}
|
|
22344
|
+
},
|
|
22345
|
+
setup(__props) {
|
|
22346
|
+
const control = useSegmentedControlInjection_default();
|
|
22347
|
+
const disabled = useDisabled_default(toRef(() => __props.disabled));
|
|
22348
|
+
const itemRef = useTemplateRef("item");
|
|
22349
|
+
const sizeClasses = {
|
|
22350
|
+
small: SegmentedControl_module_default.isSmall,
|
|
22351
|
+
medium: SegmentedControl_module_default.isMedium,
|
|
22352
|
+
large: SegmentedControl_module_default.isLarge
|
|
22353
|
+
};
|
|
22354
|
+
const iconSizes = {
|
|
22355
|
+
small: 14,
|
|
22356
|
+
medium: 16,
|
|
22357
|
+
large: 18
|
|
22358
|
+
};
|
|
22359
|
+
const isActive = computed(() => control.modelValue.value === __props.value);
|
|
22360
|
+
const iconSize = computed(() => iconSizes[unref(control.size)]);
|
|
22361
|
+
const itemClass = computed(() => clsx(SegmentedControl_module_default.segmentedControlItem, sizeClasses[unref(control.size)], isActive.value && SegmentedControl_module_default.isActive));
|
|
22362
|
+
onMounted(() => {
|
|
22363
|
+
const element = unref(itemRef);
|
|
22364
|
+
if (!element) return;
|
|
22365
|
+
control.registerItem(element, __props.value);
|
|
22366
|
+
if (control.modelValue.value === void 0 && !unref(disabled)) control.select(__props.value);
|
|
22367
|
+
});
|
|
22368
|
+
onBeforeUnmount(() => {
|
|
22369
|
+
const element = unref(itemRef);
|
|
22370
|
+
if (element) control.unregisterItem(element);
|
|
22371
|
+
});
|
|
22372
|
+
function onClick(evt) {
|
|
22373
|
+
if (unref(disabled)) {
|
|
22374
|
+
evt.preventDefault();
|
|
22375
|
+
return;
|
|
22376
|
+
}
|
|
22377
|
+
control.select(__props.value);
|
|
22378
|
+
}
|
|
22379
|
+
return (_ctx, _cache) => {
|
|
22380
|
+
return openBlock(), createElementBlock("button", {
|
|
22381
|
+
ref: "item",
|
|
22382
|
+
class: normalizeClass(itemClass.value),
|
|
22383
|
+
role: "radio",
|
|
22384
|
+
"aria-checked": isActive.value,
|
|
22385
|
+
"aria-disabled": unref(disabled) ? true : void 0,
|
|
22386
|
+
disabled: unref(disabled) ? true : void 0,
|
|
22387
|
+
tabindex: isActive.value ? 0 : -1,
|
|
22388
|
+
type: "button",
|
|
22389
|
+
onClick
|
|
22390
|
+
}, [renderSlot(_ctx.$slots, "default", {}, () => [__props.icon ? (openBlock(), createBlock(FluxIcon_default, {
|
|
22391
|
+
key: 0,
|
|
22392
|
+
name: __props.icon,
|
|
22393
|
+
size: iconSize.value
|
|
22394
|
+
}, null, 8, ["name", "size"])) : createCommentVNode("", true), __props.label ? (openBlock(), createElementBlock("span", _hoisted_2$4, toDisplayString(__props.label), 1)) : createCommentVNode("", true)])], 10, _hoisted_1$7);
|
|
22332
22395
|
};
|
|
22333
22396
|
}
|
|
22334
22397
|
});
|
|
@@ -23050,7 +23113,7 @@ var FluxTabBarItem_default = /* @__PURE__ */ defineComponent({
|
|
|
23050
23113
|
//#region src/component/FluxTabs.vue
|
|
23051
23114
|
var FluxTabs_default = /* @__PURE__ */ defineComponent({
|
|
23052
23115
|
__name: "FluxTabs",
|
|
23053
|
-
props:
|
|
23116
|
+
props: /*@__PURE__*/ mergeModels({ isPills: { type: Boolean } }, {
|
|
23054
23117
|
"modelValue": { default: 0 },
|
|
23055
23118
|
"modelModifiers": {}
|
|
23056
23119
|
}),
|
|
@@ -23263,7 +23326,7 @@ var _hoisted_2 = [
|
|
|
23263
23326
|
//#region src/component/FluxToggle.vue
|
|
23264
23327
|
var FluxToggle_default = /* @__PURE__ */ defineComponent({
|
|
23265
23328
|
__name: "FluxToggle",
|
|
23266
|
-
props:
|
|
23329
|
+
props: /*@__PURE__*/ mergeModels({
|
|
23267
23330
|
disabled: { type: Boolean },
|
|
23268
23331
|
error: {},
|
|
23269
23332
|
isReadonly: { type: Boolean },
|
|
@@ -23457,6 +23520,6 @@ var FluxTreeView_default = /* @__PURE__ */ defineComponent({
|
|
|
23457
23520
|
}
|
|
23458
23521
|
});
|
|
23459
23522
|
//#endregion
|
|
23460
|
-
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, 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, FluxCheckbox_default as FluxCheckbox, 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, 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, FluxFormPinInput_default as FluxFormPinInput, 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, FluxLegend_default as FluxLegend, 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, FluxPercentageBar_default as FluxPercentageBar, 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,
|
|
23523
|
+
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, 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, FluxCheckbox_default as FluxCheckbox, 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, 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, FluxFormPinInput_default as FluxFormPinInput, 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, FluxLegend_default as FluxLegend, 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, FluxPercentageBar_default as FluxPercentageBar, 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, 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, FluxStatistic_default as FluxStatistic, 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, useFormFieldInjection_default as useFormFieldInjection, useKanbanInjection_default as useKanbanInjection, useSegmentedControlInjection_default as useSegmentedControlInjection, useTabBarInjection_default as useTabBarInjection, useTableInjection_default as useTableInjection, useTooltipInjection_default as useTooltipInjection };
|
|
23461
23524
|
|
|
23462
23525
|
//# sourceMappingURL=index.js.map
|