@flux-ui/components 3.0.0-next.31 → 3.0.0-next.33
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/FluxFormTreeViewSelect.vue.d.ts +209 -0
- package/dist/component/FluxOverflowBar.vue.d.ts +2 -0
- package/dist/component/FluxTreeView.vue.d.ts +16 -0
- package/dist/component/index.d.ts +2 -0
- package/dist/composable/private/index.d.ts +2 -0
- package/dist/composable/private/useTreeView.d.ts +28 -0
- package/dist/index.css +258 -0
- package/dist/index.js +1661 -217
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/component/FluxCheckbox.vue +2 -2
- package/src/component/FluxFilterBar.vue +1 -0
- package/src/component/FluxFormSlider.vue +1 -1
- package/src/component/FluxFormTreeViewSelect.vue +359 -0
- package/src/component/FluxOverflowBar.vue +2 -2
- package/src/component/FluxPressable.vue +13 -12
- package/src/component/FluxSegmentedControl.vue +35 -8
- package/src/component/FluxTreeView.vue +116 -0
- package/src/component/index.ts +2 -0
- package/src/composable/private/index.ts +2 -0
- package/src/composable/private/useTreeView.ts +186 -0
- package/src/css/component/TreeView.module.scss +34 -0
- package/src/css/component/TreeViewSelect.module.scss +73 -0
- package/src/css/mixin/index.scss +1 -0
- package/src/css/mixin/tree-node.scss +94 -0
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Comment, Fragment, Teleport, Transition, TransitionGroup, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, customRef, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted,
|
|
1
|
+
import { Comment, Fragment, Teleport, Transition, TransitionGroup, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, customRef, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toHandlers, toRef, unref, useId, useModel, useSlots, useTemplateRef, vModelCheckbox, vModelText, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
2
2
|
import { DateTime } from "luxon";
|
|
3
|
+
//#region \0rolldown/runtime.js
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __exportAll = (all, no_symbols) => {
|
|
5
6
|
let target = {};
|
|
@@ -10,6 +11,8 @@ var __exportAll = (all, no_symbols) => {
|
|
|
10
11
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
11
12
|
return target;
|
|
12
13
|
};
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region ../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
13
16
|
function r$1(e) {
|
|
14
17
|
var t, f, n = "";
|
|
15
18
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -23,6 +26,8 @@ function clsx() {
|
|
|
23
26
|
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r$1(e)) && (n && (n += " "), n += t);
|
|
24
27
|
return n;
|
|
25
28
|
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/composable/useBreakpoints.ts
|
|
26
31
|
var BREAKPOINTS = {
|
|
27
32
|
xs: 0,
|
|
28
33
|
sm: 640,
|
|
@@ -55,13 +60,17 @@ function useBreakpoints_default() {
|
|
|
55
60
|
...breakpointRefs
|
|
56
61
|
};
|
|
57
62
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/data/di.ts
|
|
65
|
+
var FluxDisabledInjectionKey = Symbol();
|
|
66
|
+
var FluxExpandableGroupInjectionKey = Symbol();
|
|
67
|
+
var FluxFlyoutInjectionKey = Symbol();
|
|
68
|
+
var FluxFilterInjectionKey = Symbol();
|
|
69
|
+
var FluxFormFieldInjectionKey = Symbol();
|
|
70
|
+
var FluxTableInjectionKey = Symbol();
|
|
71
|
+
var FluxTooltipInjectionKey = Symbol();
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region ../../node_modules/.bun/@basmilius+utils@3.11.1/node_modules/@basmilius/utils/dist/index.mjs
|
|
65
74
|
function t(e, t) {
|
|
66
75
|
return Math.round(e / t) * t;
|
|
67
76
|
}
|
|
@@ -235,6 +244,8 @@ function K$3(e, t, n) {
|
|
|
235
244
|
Object.defineProperty(e, t, { value: n });
|
|
236
245
|
}
|
|
237
246
|
var Z$2 = `—`;
|
|
247
|
+
//#endregion
|
|
248
|
+
//#region src/composable/private/useFormSelect.ts
|
|
238
249
|
function useFormSelect_default(modelValue, isMultiple, options, searchQuery) {
|
|
239
250
|
const values = computed(() => {
|
|
240
251
|
const model = unref(modelValue);
|
|
@@ -272,6 +283,8 @@ function useFormSelect_default(modelValue, isMultiple, options, searchQuery) {
|
|
|
272
283
|
values
|
|
273
284
|
};
|
|
274
285
|
}
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/composable/private/useTranslate.ts
|
|
275
288
|
var fallback = (key, params) => {
|
|
276
289
|
if (!(key in english)) return key;
|
|
277
290
|
let translation = english[key];
|
|
@@ -286,12 +299,140 @@ var useTranslate_default = () => {
|
|
|
286
299
|
function isVueI18n(obj) {
|
|
287
300
|
return !!obj && "$t" in obj;
|
|
288
301
|
}
|
|
302
|
+
//#endregion
|
|
303
|
+
//#region src/composable/private/useTreeView.ts
|
|
304
|
+
var FLUX_COLORS = [
|
|
305
|
+
"gray",
|
|
306
|
+
"primary",
|
|
307
|
+
"danger",
|
|
308
|
+
"info",
|
|
309
|
+
"success",
|
|
310
|
+
"warning"
|
|
311
|
+
];
|
|
312
|
+
function flattenVisible(nodes, depth, expanded, parentGuides = []) {
|
|
313
|
+
return nodes.flatMap((node, index) => {
|
|
314
|
+
const isLast = index === nodes.length - 1;
|
|
315
|
+
const flatNode = {
|
|
316
|
+
...node,
|
|
317
|
+
depth,
|
|
318
|
+
isLast,
|
|
319
|
+
lineGuides: parentGuides
|
|
320
|
+
};
|
|
321
|
+
if (node.children?.length && expanded.has(node.id)) {
|
|
322
|
+
const childGuides = [...parentGuides, !isLast];
|
|
323
|
+
return [flatNode, ...flattenVisible(node.children, depth + 1, expanded, childGuides)];
|
|
324
|
+
}
|
|
325
|
+
return [flatNode];
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
function flattenAll(nodes, depth = 0) {
|
|
329
|
+
return nodes.flatMap((node) => [{
|
|
330
|
+
...node,
|
|
331
|
+
depth,
|
|
332
|
+
isLast: false,
|
|
333
|
+
lineGuides: []
|
|
334
|
+
}, ...node.children ? flattenAll(node.children, depth + 1) : []]);
|
|
335
|
+
}
|
|
336
|
+
function getLevelColor(depth, levelColors) {
|
|
337
|
+
if (!levelColors || depth >= levelColors.length) return;
|
|
338
|
+
const color = levelColors[depth];
|
|
339
|
+
if (FLUX_COLORS.includes(color)) return `var(--${color}-600)`;
|
|
340
|
+
return color;
|
|
341
|
+
}
|
|
342
|
+
function useTreeView(params) {
|
|
343
|
+
const highlightedIndex = ref(-1);
|
|
344
|
+
function toggleExpand(nodeId) {
|
|
345
|
+
const ids = new Set(unref(params.expandedIds));
|
|
346
|
+
if (ids.has(nodeId)) ids.delete(nodeId);
|
|
347
|
+
else ids.add(nodeId);
|
|
348
|
+
params.expandedIds.value = ids;
|
|
349
|
+
}
|
|
350
|
+
function onExpandClick(node, evt) {
|
|
351
|
+
if (!node.children?.length) return;
|
|
352
|
+
evt.stopPropagation();
|
|
353
|
+
toggleExpand(node.id);
|
|
354
|
+
}
|
|
355
|
+
function onKeyNavigate(evt, onActivate) {
|
|
356
|
+
const nodes = unref(params.visibleNodes);
|
|
357
|
+
const current = unref(highlightedIndex);
|
|
358
|
+
switch (evt.key) {
|
|
359
|
+
case "ArrowDown":
|
|
360
|
+
evt.preventDefault();
|
|
361
|
+
highlightedIndex.value = current === -1 ? 0 : Math.min(nodes.length - 1, current + 1);
|
|
362
|
+
return true;
|
|
363
|
+
case "ArrowUp":
|
|
364
|
+
evt.preventDefault();
|
|
365
|
+
highlightedIndex.value = current === -1 ? nodes.length - 1 : Math.max(0, current - 1);
|
|
366
|
+
return true;
|
|
367
|
+
case "ArrowRight":
|
|
368
|
+
evt.preventDefault();
|
|
369
|
+
if (current >= 0) {
|
|
370
|
+
const node = nodes[current];
|
|
371
|
+
if (node.children?.length) {
|
|
372
|
+
if (!unref(params.expandedIds).has(node.id)) toggleExpand(node.id);
|
|
373
|
+
else if (current + 1 < nodes.length && nodes[current + 1].depth > node.depth) highlightedIndex.value = current + 1;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
return true;
|
|
377
|
+
case "ArrowLeft":
|
|
378
|
+
evt.preventDefault();
|
|
379
|
+
if (current >= 0) {
|
|
380
|
+
const node = nodes[current];
|
|
381
|
+
if (node.children?.length && unref(params.expandedIds).has(node.id)) toggleExpand(node.id);
|
|
382
|
+
else if (node.depth > 0) {
|
|
383
|
+
for (let i = current - 1; i >= 0; i--) if (nodes[i].depth === node.depth - 1) {
|
|
384
|
+
highlightedIndex.value = i;
|
|
385
|
+
break;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
return true;
|
|
390
|
+
case "Enter":
|
|
391
|
+
case " ":
|
|
392
|
+
evt.preventDefault();
|
|
393
|
+
if (current >= 0) onActivate(nodes[current]);
|
|
394
|
+
return true;
|
|
395
|
+
default:
|
|
396
|
+
if (evt.key.length === 1) {
|
|
397
|
+
const lowerKey = evt.key.toLowerCase();
|
|
398
|
+
let matchIndex = nodes.findIndex((n, i) => i > current && n.label.toLowerCase().startsWith(lowerKey));
|
|
399
|
+
if (matchIndex < 0) matchIndex = nodes.findIndex((n) => n.label.toLowerCase().startsWith(lowerKey));
|
|
400
|
+
if (matchIndex >= 0) {
|
|
401
|
+
highlightedIndex.value = matchIndex;
|
|
402
|
+
return true;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
return false;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
watch(highlightedIndex, (index) => {
|
|
409
|
+
if (index < 0) return;
|
|
410
|
+
nextTick(() => unref(params.nodeElementRefs)?.[index]?.scrollIntoView({ block: "nearest" }));
|
|
411
|
+
});
|
|
412
|
+
watch(params.visibleNodes, (nodes) => {
|
|
413
|
+
if (unref(highlightedIndex) >= nodes.length) highlightedIndex.value = Math.max(-1, nodes.length - 1);
|
|
414
|
+
});
|
|
415
|
+
return {
|
|
416
|
+
highlightedIndex,
|
|
417
|
+
toggleExpand,
|
|
418
|
+
onExpandClick,
|
|
419
|
+
onKeyNavigate
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
//#endregion
|
|
423
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js
|
|
289
424
|
/** Detect free variable `global` from Node.js. */
|
|
290
425
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
426
|
+
//#endregion
|
|
427
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_root.js
|
|
291
428
|
/** Detect free variable `self`. */
|
|
292
429
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
430
|
+
//#endregion
|
|
431
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js
|
|
293
432
|
/** Built-in value references. */
|
|
294
433
|
var Symbol$1 = (freeGlobal || freeSelf || Function("return this")()).Symbol;
|
|
434
|
+
//#endregion
|
|
435
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js
|
|
295
436
|
/** Used for built-in method references. */
|
|
296
437
|
var objectProto = Object.prototype;
|
|
297
438
|
/** Used to check objects for own properties. */
|
|
@@ -322,6 +463,8 @@ function getRawTag(value) {
|
|
|
322
463
|
else delete value[symToStringTag$1];
|
|
323
464
|
return result;
|
|
324
465
|
}
|
|
466
|
+
//#endregion
|
|
467
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js
|
|
325
468
|
/**
|
|
326
469
|
* Used to resolve the
|
|
327
470
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
@@ -338,6 +481,8 @@ var nativeObjectToString = Object.prototype.toString;
|
|
|
338
481
|
function objectToString(value) {
|
|
339
482
|
return nativeObjectToString.call(value);
|
|
340
483
|
}
|
|
484
|
+
//#endregion
|
|
485
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js
|
|
341
486
|
/** `Object#toString` result references. */
|
|
342
487
|
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
|
343
488
|
/** Built-in value references. */
|
|
@@ -353,6 +498,8 @@ function baseGetTag(value) {
|
|
|
353
498
|
if (value == null) return value === void 0 ? undefinedTag : nullTag;
|
|
354
499
|
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
355
500
|
}
|
|
501
|
+
//#endregion
|
|
502
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js
|
|
356
503
|
/**
|
|
357
504
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
358
505
|
* and has a `typeof` result of "object".
|
|
@@ -380,6 +527,8 @@ function baseGetTag(value) {
|
|
|
380
527
|
function isObjectLike(value) {
|
|
381
528
|
return value != null && typeof value == "object";
|
|
382
529
|
}
|
|
530
|
+
//#endregion
|
|
531
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js
|
|
383
532
|
/** `Object#toString` result references. */
|
|
384
533
|
var symbolTag = "[object Symbol]";
|
|
385
534
|
/**
|
|
@@ -402,6 +551,8 @@ var symbolTag = "[object Symbol]";
|
|
|
402
551
|
function isSymbol(value) {
|
|
403
552
|
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
404
553
|
}
|
|
554
|
+
//#endregion
|
|
555
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.js
|
|
405
556
|
/**
|
|
406
557
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
407
558
|
* shorthands.
|
|
@@ -416,6 +567,8 @@ function arrayMap(array, iteratee) {
|
|
|
416
567
|
while (++index < length) result[index] = iteratee(array[index], index, array);
|
|
417
568
|
return result;
|
|
418
569
|
}
|
|
570
|
+
//#endregion
|
|
571
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArray.js
|
|
419
572
|
/**
|
|
420
573
|
* Checks if `value` is classified as an `Array` object.
|
|
421
574
|
*
|
|
@@ -440,6 +593,8 @@ function arrayMap(array, iteratee) {
|
|
|
440
593
|
* // => false
|
|
441
594
|
*/
|
|
442
595
|
var isArray = Array.isArray;
|
|
596
|
+
//#endregion
|
|
597
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.js
|
|
443
598
|
/** Used as references for various `Number` constants. */
|
|
444
599
|
var INFINITY = Infinity;
|
|
445
600
|
/** Used to convert symbols to primitives and strings. */
|
|
@@ -459,6 +614,8 @@ function baseToString(value) {
|
|
|
459
614
|
var result = value + "";
|
|
460
615
|
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
|
461
616
|
}
|
|
617
|
+
//#endregion
|
|
618
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toString.js
|
|
462
619
|
/**
|
|
463
620
|
* Converts `value` to a string. An empty string is returned for `null`
|
|
464
621
|
* and `undefined` values. The sign of `-0` is preserved.
|
|
@@ -483,6 +640,8 @@ function baseToString(value) {
|
|
|
483
640
|
function toString(value) {
|
|
484
641
|
return value == null ? "" : baseToString(value);
|
|
485
642
|
}
|
|
643
|
+
//#endregion
|
|
644
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.js
|
|
486
645
|
/**
|
|
487
646
|
* The base implementation of `_.slice` without an iteratee call guard.
|
|
488
647
|
*
|
|
@@ -503,6 +662,8 @@ function baseSlice(array, start, end) {
|
|
|
503
662
|
while (++index < length) result[index] = array[index + start];
|
|
504
663
|
return result;
|
|
505
664
|
}
|
|
665
|
+
//#endregion
|
|
666
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_castSlice.js
|
|
506
667
|
/**
|
|
507
668
|
* Casts `array` to a slice if it's needed.
|
|
508
669
|
*
|
|
@@ -517,6 +678,8 @@ function castSlice(array, start, end) {
|
|
|
517
678
|
end = end === void 0 ? length : end;
|
|
518
679
|
return !start && end >= length ? array : baseSlice(array, start, end);
|
|
519
680
|
}
|
|
681
|
+
//#endregion
|
|
682
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hasUnicode.js
|
|
520
683
|
/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
|
|
521
684
|
var reHasUnicode = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
|
|
522
685
|
/**
|
|
@@ -529,6 +692,8 @@ var reHasUnicode = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f
|
|
|
529
692
|
function hasUnicode(string) {
|
|
530
693
|
return reHasUnicode.test(string);
|
|
531
694
|
}
|
|
695
|
+
//#endregion
|
|
696
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_asciiToArray.js
|
|
532
697
|
/**
|
|
533
698
|
* Converts an ASCII `string` to an array.
|
|
534
699
|
*
|
|
@@ -539,6 +704,8 @@ function hasUnicode(string) {
|
|
|
539
704
|
function asciiToArray(string) {
|
|
540
705
|
return string.split("");
|
|
541
706
|
}
|
|
707
|
+
//#endregion
|
|
708
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_unicodeToArray.js
|
|
542
709
|
/** Used to compose unicode character classes. */
|
|
543
710
|
var rsAstralRange$1 = "\\ud800-\\udfff", rsComboRange$1 = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", rsVarRange$1 = "\\ufe0e\\ufe0f";
|
|
544
711
|
/** Used to compose unicode capture groups. */
|
|
@@ -567,6 +734,8 @@ var reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq$1, "g")
|
|
|
567
734
|
function unicodeToArray(string) {
|
|
568
735
|
return string.match(reUnicode) || [];
|
|
569
736
|
}
|
|
737
|
+
//#endregion
|
|
738
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stringToArray.js
|
|
570
739
|
/**
|
|
571
740
|
* Converts `string` to an array.
|
|
572
741
|
*
|
|
@@ -577,6 +746,8 @@ function unicodeToArray(string) {
|
|
|
577
746
|
function stringToArray(string) {
|
|
578
747
|
return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
|
|
579
748
|
}
|
|
749
|
+
//#endregion
|
|
750
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_createCaseFirst.js
|
|
580
751
|
/**
|
|
581
752
|
* Creates a function like `_.lowerFirst`.
|
|
582
753
|
*
|
|
@@ -593,6 +764,8 @@ function createCaseFirst(methodName) {
|
|
|
593
764
|
return chr[methodName]() + trailing;
|
|
594
765
|
};
|
|
595
766
|
}
|
|
767
|
+
//#endregion
|
|
768
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/upperFirst.js
|
|
596
769
|
/**
|
|
597
770
|
* Converts the first character of `string` to upper case.
|
|
598
771
|
*
|
|
@@ -611,6 +784,8 @@ function createCaseFirst(methodName) {
|
|
|
611
784
|
* // => 'FRED'
|
|
612
785
|
*/
|
|
613
786
|
var upperFirst = createCaseFirst("toUpperCase");
|
|
787
|
+
//#endregion
|
|
788
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/capitalize.js
|
|
614
789
|
/**
|
|
615
790
|
* Converts the first character of `string` to upper case and the remaining
|
|
616
791
|
* to lower case.
|
|
@@ -629,6 +804,8 @@ var upperFirst = createCaseFirst("toUpperCase");
|
|
|
629
804
|
function capitalize(string) {
|
|
630
805
|
return upperFirst(toString(string).toLowerCase());
|
|
631
806
|
}
|
|
807
|
+
//#endregion
|
|
808
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayReduce.js
|
|
632
809
|
/**
|
|
633
810
|
* A specialized version of `_.reduce` for arrays without support for
|
|
634
811
|
* iteratee shorthands.
|
|
@@ -647,6 +824,8 @@ function arrayReduce(array, iteratee, accumulator, initAccum) {
|
|
|
647
824
|
while (++index < length) accumulator = iteratee(accumulator, array[index], index, array);
|
|
648
825
|
return accumulator;
|
|
649
826
|
}
|
|
827
|
+
//#endregion
|
|
828
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_basePropertyOf.js
|
|
650
829
|
/**
|
|
651
830
|
* The base implementation of `_.propertyOf` without support for deep paths.
|
|
652
831
|
*
|
|
@@ -659,6 +838,8 @@ function basePropertyOf(object) {
|
|
|
659
838
|
return object == null ? void 0 : object[key];
|
|
660
839
|
};
|
|
661
840
|
}
|
|
841
|
+
//#endregion
|
|
842
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_deburrLetter.js
|
|
662
843
|
/**
|
|
663
844
|
* Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
|
|
664
845
|
* letters to basic Latin letters.
|
|
@@ -859,6 +1040,8 @@ var deburrLetter = basePropertyOf({
|
|
|
859
1040
|
"ʼn": "'n",
|
|
860
1041
|
"ſ": "s"
|
|
861
1042
|
});
|
|
1043
|
+
//#endregion
|
|
1044
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/deburr.js
|
|
862
1045
|
/** Used to match Latin Unicode letters (excluding mathematical operators). */
|
|
863
1046
|
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
|
|
864
1047
|
/**
|
|
@@ -888,6 +1071,8 @@ function deburr(string) {
|
|
|
888
1071
|
string = toString(string);
|
|
889
1072
|
return string && string.replace(reLatin, deburrLetter).replace(reComboMark, "");
|
|
890
1073
|
}
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_asciiWords.js
|
|
891
1076
|
/** Used to match words composed of alphanumeric characters. */
|
|
892
1077
|
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
893
1078
|
/**
|
|
@@ -900,6 +1085,8 @@ var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
|
900
1085
|
function asciiWords(string) {
|
|
901
1086
|
return string.match(reAsciiWord) || [];
|
|
902
1087
|
}
|
|
1088
|
+
//#endregion
|
|
1089
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hasUnicodeWord.js
|
|
903
1090
|
/** Used to detect strings that need a more robust regexp to match words. */
|
|
904
1091
|
var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
905
1092
|
/**
|
|
@@ -912,6 +1099,8 @@ var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a
|
|
|
912
1099
|
function hasUnicodeWord(string) {
|
|
913
1100
|
return reHasUnicodeWord.test(string);
|
|
914
1101
|
}
|
|
1102
|
+
//#endregion
|
|
1103
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_unicodeWords.js
|
|
915
1104
|
/** Used to compose unicode character classes. */
|
|
916
1105
|
var rsAstralRange = "\\ud800-\\udfff", rsComboRange = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", rsDingbatRange = "\\u2700-\\u27bf", rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff", rsMathOpRange = "\\xac\\xb1\\xd7\\xf7", rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", rsPunctuationRange = "\\u2000-\\u206f", rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde", rsVarRange = "\\ufe0e\\ufe0f", rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
|
|
917
1106
|
/** Used to compose unicode capture groups. */
|
|
@@ -955,6 +1144,8 @@ var reUnicodeWord = RegExp([
|
|
|
955
1144
|
function unicodeWords(string) {
|
|
956
1145
|
return string.match(reUnicodeWord) || [];
|
|
957
1146
|
}
|
|
1147
|
+
//#endregion
|
|
1148
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/words.js
|
|
958
1149
|
/**
|
|
959
1150
|
* Splits `string` into an array of its words.
|
|
960
1151
|
*
|
|
@@ -980,6 +1171,8 @@ function words(string, pattern, guard) {
|
|
|
980
1171
|
if (pattern === void 0) return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
|
|
981
1172
|
return string.match(pattern) || [];
|
|
982
1173
|
}
|
|
1174
|
+
//#endregion
|
|
1175
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_createCompounder.js
|
|
983
1176
|
/** Used to match apostrophes. */
|
|
984
1177
|
var reApos = RegExp("['’]", "g");
|
|
985
1178
|
/**
|
|
@@ -994,6 +1187,8 @@ function createCompounder(callback) {
|
|
|
994
1187
|
return arrayReduce(words(deburr(string).replace(reApos, "")), callback, "");
|
|
995
1188
|
};
|
|
996
1189
|
}
|
|
1190
|
+
//#endregion
|
|
1191
|
+
//#region ../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/camelCase.js
|
|
997
1192
|
/**
|
|
998
1193
|
* Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
|
|
999
1194
|
*
|
|
@@ -1018,6 +1213,8 @@ var camelCase = createCompounder(function(result, word, index) {
|
|
|
1018
1213
|
word = word.toLowerCase();
|
|
1019
1214
|
return result + (index ? capitalize(word) : word);
|
|
1020
1215
|
});
|
|
1216
|
+
//#endregion
|
|
1217
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rgb/parseNumber.js
|
|
1021
1218
|
var parseNumber = (color, len) => {
|
|
1022
1219
|
if (typeof color !== "number") return;
|
|
1023
1220
|
if (len === 3) return {
|
|
@@ -1047,6 +1244,8 @@ var parseNumber = (color, len) => {
|
|
|
1047
1244
|
alpha: (color & 255) / 255
|
|
1048
1245
|
};
|
|
1049
1246
|
};
|
|
1247
|
+
//#endregion
|
|
1248
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/colors/named.js
|
|
1050
1249
|
var named = {
|
|
1051
1250
|
aliceblue: 15792383,
|
|
1052
1251
|
antiquewhite: 16444375,
|
|
@@ -1197,24 +1396,32 @@ var named = {
|
|
|
1197
1396
|
yellow: 16776960,
|
|
1198
1397
|
yellowgreen: 10145074
|
|
1199
1398
|
};
|
|
1399
|
+
//#endregion
|
|
1400
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rgb/parseNamed.js
|
|
1200
1401
|
var parseNamed = (color) => {
|
|
1201
1402
|
return parseNumber(named[color.toLowerCase()], 6);
|
|
1202
1403
|
};
|
|
1404
|
+
//#endregion
|
|
1405
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rgb/parseHex.js
|
|
1203
1406
|
var hex = /^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i;
|
|
1204
1407
|
var parseHex = (color) => {
|
|
1205
1408
|
let match;
|
|
1206
1409
|
return (match = color.match(hex)) ? parseNumber(parseInt(match[1], 16), match[1].length) : void 0;
|
|
1207
1410
|
};
|
|
1208
|
-
|
|
1411
|
+
//#endregion
|
|
1412
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/util/regex.js
|
|
1413
|
+
var num$1 = "([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)";
|
|
1209
1414
|
`${num$1}`;
|
|
1210
|
-
|
|
1415
|
+
var per = `${num$1}%`;
|
|
1211
1416
|
`${num$1}`;
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1417
|
+
var num_per = `(?:${num$1}%|${num$1})`;
|
|
1418
|
+
var num_per_none = `(?:${num$1}%|${num$1}|none)`;
|
|
1419
|
+
var hue$1 = `(?:${num$1}(deg|grad|rad|turn)|${num$1})`;
|
|
1215
1420
|
`${num$1}${num$1}`;
|
|
1216
|
-
|
|
1421
|
+
var c$1 = `\\s*,\\s*`;
|
|
1217
1422
|
new RegExp("^" + num_per_none + "$");
|
|
1423
|
+
//#endregion
|
|
1424
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rgb/parseRgbLegacy.js
|
|
1218
1425
|
var rgb_num_old = new RegExp(`^rgba?\\(\\s*${num$1}${c$1}${num$1}${c$1}${num$1}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);
|
|
1219
1426
|
var rgb_per_old = new RegExp(`^rgba?\\(\\s*${per}${c$1}${per}${c$1}${per}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);
|
|
1220
1427
|
var parseRgbLegacy = (color) => {
|
|
@@ -1233,11 +1440,17 @@ var parseRgbLegacy = (color) => {
|
|
|
1233
1440
|
else if (match[5] !== void 0) res.alpha = Math.max(0, Math.min(1, +match[5]));
|
|
1234
1441
|
return res;
|
|
1235
1442
|
};
|
|
1443
|
+
//#endregion
|
|
1444
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/_prepare.js
|
|
1236
1445
|
var prepare = (color, mode) => color === void 0 ? void 0 : typeof color !== "object" ? parse(color) : color.mode !== void 0 ? color : mode ? {
|
|
1237
1446
|
...color,
|
|
1238
1447
|
mode
|
|
1239
1448
|
} : void 0;
|
|
1449
|
+
//#endregion
|
|
1450
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/converter.js
|
|
1240
1451
|
var converter = (target_mode = "rgb") => (color) => (color = prepare(color, target_mode)) !== void 0 ? color.mode === target_mode ? color : converters[color.mode][target_mode] ? converters[color.mode][target_mode](color) : target_mode === "rgb" ? converters[color.mode].rgb(color) : converters.rgb[target_mode](converters[color.mode].rgb(color)) : void 0;
|
|
1452
|
+
//#endregion
|
|
1453
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/modes.js
|
|
1241
1454
|
var converters = {};
|
|
1242
1455
|
var modes = {};
|
|
1243
1456
|
var parsers = [];
|
|
@@ -1275,9 +1488,11 @@ var useParser = (parser, mode) => {
|
|
|
1275
1488
|
if (parsers.indexOf(parser) < 0) parsers.push(parser);
|
|
1276
1489
|
}
|
|
1277
1490
|
};
|
|
1491
|
+
//#endregion
|
|
1492
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/parse.js
|
|
1278
1493
|
var IdentStartCodePoint = /[^\x00-\x7F]|[a-zA-Z_]/;
|
|
1279
1494
|
var IdentCodePoint = /[^\x00-\x7F]|[-\w]/;
|
|
1280
|
-
|
|
1495
|
+
var Tok = {
|
|
1281
1496
|
Function: "function",
|
|
1282
1497
|
Ident: "ident",
|
|
1283
1498
|
Number: "number",
|
|
@@ -1525,6 +1740,8 @@ var parse = (color) => {
|
|
|
1525
1740
|
while (i < len) if ((result = parsers[i++](color, parsed)) !== void 0) return result;
|
|
1526
1741
|
return tokens ? parseColorSyntax(tokens) : void 0;
|
|
1527
1742
|
};
|
|
1743
|
+
//#endregion
|
|
1744
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rgb/parseRgb.js
|
|
1528
1745
|
function parseRgb(color, parsed) {
|
|
1529
1746
|
if (!parsed || parsed[0] !== "rgb" && parsed[0] !== "rgba") return;
|
|
1530
1747
|
const res = { mode: "rgb" };
|
|
@@ -1536,6 +1753,8 @@ function parseRgb(color, parsed) {
|
|
|
1536
1753
|
if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
|
|
1537
1754
|
return res;
|
|
1538
1755
|
}
|
|
1756
|
+
//#endregion
|
|
1757
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rgb/parseTransparent.js
|
|
1539
1758
|
var parseTransparent = (c) => c === "transparent" ? {
|
|
1540
1759
|
mode: "rgb",
|
|
1541
1760
|
r: 0,
|
|
@@ -1543,7 +1762,11 @@ var parseTransparent = (c) => c === "transparent" ? {
|
|
|
1543
1762
|
b: 0,
|
|
1544
1763
|
alpha: 0
|
|
1545
1764
|
} : void 0;
|
|
1765
|
+
//#endregion
|
|
1766
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/interpolate/lerp.js
|
|
1546
1767
|
var lerp = (a, b, t) => a + t * (b - a);
|
|
1768
|
+
//#endregion
|
|
1769
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/interpolate/piecewise.js
|
|
1547
1770
|
var get_classes = (arr) => {
|
|
1548
1771
|
let classes = [];
|
|
1549
1772
|
for (let i = 0; i < arr.length - 1; i++) {
|
|
@@ -1564,7 +1787,11 @@ var interpolatorPiecewise = (interpolator) => (arr) => {
|
|
|
1564
1787
|
return pair === void 0 ? void 0 : interpolator(pair[0], pair[1], cls - idx);
|
|
1565
1788
|
};
|
|
1566
1789
|
};
|
|
1567
|
-
|
|
1790
|
+
//#endregion
|
|
1791
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/interpolate/linear.js
|
|
1792
|
+
var interpolatorLinear = interpolatorPiecewise(lerp);
|
|
1793
|
+
//#endregion
|
|
1794
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/fixup/alpha.js
|
|
1568
1795
|
var fixupAlpha = (arr) => {
|
|
1569
1796
|
let some_defined = false;
|
|
1570
1797
|
let res = arr.map((v) => {
|
|
@@ -1576,6 +1803,8 @@ var fixupAlpha = (arr) => {
|
|
|
1576
1803
|
});
|
|
1577
1804
|
return some_defined ? res : arr;
|
|
1578
1805
|
};
|
|
1806
|
+
//#endregion
|
|
1807
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rgb/definition.js
|
|
1579
1808
|
var definition$27 = {
|
|
1580
1809
|
mode: "rgb",
|
|
1581
1810
|
channels: [
|
|
@@ -1614,6 +1843,8 @@ var definition$27 = {
|
|
|
1614
1843
|
b: 0
|
|
1615
1844
|
}
|
|
1616
1845
|
};
|
|
1846
|
+
//#endregion
|
|
1847
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/a98/convertA98ToXyz65.js
|
|
1617
1848
|
var linearize$2 = (v = 0) => Math.pow(Math.abs(v), 563 / 256) * Math.sign(v);
|
|
1618
1849
|
var convertA98ToXyz65 = (a98) => {
|
|
1619
1850
|
let r = linearize$2(a98.r);
|
|
@@ -1628,6 +1859,8 @@ var convertA98ToXyz65 = (a98) => {
|
|
|
1628
1859
|
if (a98.alpha !== void 0) res.alpha = a98.alpha;
|
|
1629
1860
|
return res;
|
|
1630
1861
|
};
|
|
1862
|
+
//#endregion
|
|
1863
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/a98/convertXyz65ToA98.js
|
|
1631
1864
|
var gamma$2 = (v) => Math.pow(Math.abs(v), 256 / 563) * Math.sign(v);
|
|
1632
1865
|
var convertXyz65ToA98 = ({ x, y, z, alpha }) => {
|
|
1633
1866
|
if (x === void 0) x = 0;
|
|
@@ -1642,6 +1875,8 @@ var convertXyz65ToA98 = ({ x, y, z, alpha }) => {
|
|
|
1642
1875
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1643
1876
|
return res;
|
|
1644
1877
|
};
|
|
1878
|
+
//#endregion
|
|
1879
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lrgb/convertRgbToLrgb.js
|
|
1645
1880
|
var fn$4 = (c = 0) => {
|
|
1646
1881
|
const abs = Math.abs(c);
|
|
1647
1882
|
if (abs <= .04045) return c / 12.92;
|
|
@@ -1657,6 +1892,8 @@ var convertRgbToLrgb = ({ r, g, b, alpha }) => {
|
|
|
1657
1892
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1658
1893
|
return res;
|
|
1659
1894
|
};
|
|
1895
|
+
//#endregion
|
|
1896
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/convertRgbToXyz65.js
|
|
1660
1897
|
var convertRgbToXyz65 = (rgb) => {
|
|
1661
1898
|
let { r, g, b, alpha } = convertRgbToLrgb(rgb);
|
|
1662
1899
|
let res = {
|
|
@@ -1668,6 +1905,8 @@ var convertRgbToXyz65 = (rgb) => {
|
|
|
1668
1905
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1669
1906
|
return res;
|
|
1670
1907
|
};
|
|
1908
|
+
//#endregion
|
|
1909
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lrgb/convertLrgbToRgb.js
|
|
1671
1910
|
var fn$3 = (c = 0) => {
|
|
1672
1911
|
const abs = Math.abs(c);
|
|
1673
1912
|
if (abs > .0031308) return (Math.sign(c) || 1) * (1.055 * Math.pow(abs, 1 / 2.4) - .055);
|
|
@@ -1683,6 +1922,8 @@ var convertLrgbToRgb = ({ r, g, b, alpha }, mode = "rgb") => {
|
|
|
1683
1922
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1684
1923
|
return res;
|
|
1685
1924
|
};
|
|
1925
|
+
//#endregion
|
|
1926
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/convertXyz65ToRgb.js
|
|
1686
1927
|
var convertXyz65ToRgb = ({ x, y, z, alpha }) => {
|
|
1687
1928
|
if (x === void 0) x = 0;
|
|
1688
1929
|
if (y === void 0) y = 0;
|
|
@@ -1695,6 +1936,8 @@ var convertXyz65ToRgb = ({ x, y, z, alpha }) => {
|
|
|
1695
1936
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1696
1937
|
return res;
|
|
1697
1938
|
};
|
|
1939
|
+
//#endregion
|
|
1940
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/a98/definition.js
|
|
1698
1941
|
var definition$26 = {
|
|
1699
1942
|
...definition$27,
|
|
1700
1943
|
mode: "a98",
|
|
@@ -1709,7 +1952,11 @@ var definition$26 = {
|
|
|
1709
1952
|
xyz65: convertA98ToXyz65
|
|
1710
1953
|
}
|
|
1711
1954
|
};
|
|
1955
|
+
//#endregion
|
|
1956
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/util/normalizeHue.js
|
|
1712
1957
|
var normalizeHue = (hue) => (hue = hue % 360) < 0 ? hue + 360 : hue;
|
|
1958
|
+
//#endregion
|
|
1959
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/fixup/hue.js
|
|
1713
1960
|
var hue = (hues, fn) => {
|
|
1714
1961
|
return hues.map((hue, idx, arr) => {
|
|
1715
1962
|
if (hue === void 0) return hue;
|
|
@@ -1726,7 +1973,9 @@ var hue = (hues, fn) => {
|
|
|
1726
1973
|
}, []);
|
|
1727
1974
|
};
|
|
1728
1975
|
var fixupHueShorter = (arr) => hue(arr, (d) => Math.abs(d) <= 180 ? d : d - 360 * Math.sign(d));
|
|
1729
|
-
|
|
1976
|
+
//#endregion
|
|
1977
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/constants.js
|
|
1978
|
+
var M = [
|
|
1730
1979
|
-.14861,
|
|
1731
1980
|
1.78277,
|
|
1732
1981
|
-.29227,
|
|
@@ -1734,8 +1983,10 @@ const M = [
|
|
|
1734
1983
|
1.97294,
|
|
1735
1984
|
0
|
|
1736
1985
|
];
|
|
1737
|
-
|
|
1738
|
-
|
|
1986
|
+
var degToRad = Math.PI / 180;
|
|
1987
|
+
var radToDeg = 180 / Math.PI;
|
|
1988
|
+
//#endregion
|
|
1989
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/convertRgbToCubehelix.js
|
|
1739
1990
|
var DE = M[3] * M[4];
|
|
1740
1991
|
var BE = M[1] * M[4];
|
|
1741
1992
|
var BCAD = M[1] * M[2] - M[0] * M[3];
|
|
@@ -1755,6 +2006,8 @@ var convertRgbToCubehelix = ({ r, g, b, alpha }) => {
|
|
|
1755
2006
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1756
2007
|
return res;
|
|
1757
2008
|
};
|
|
2009
|
+
//#endregion
|
|
2010
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/convertCubehelixToRgb.js
|
|
1758
2011
|
var convertCubehelixToRgb = ({ h, s, l, alpha }) => {
|
|
1759
2012
|
let res = { mode: "rgb" };
|
|
1760
2013
|
h = (h === void 0 ? 0 : h + 120) * degToRad;
|
|
@@ -1768,6 +2021,8 @@ var convertCubehelixToRgb = ({ h, s, l, alpha }) => {
|
|
|
1768
2021
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1769
2022
|
return res;
|
|
1770
2023
|
};
|
|
2024
|
+
//#endregion
|
|
2025
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/difference.js
|
|
1771
2026
|
var differenceHueSaturation = (std, smp) => {
|
|
1772
2027
|
if (std.h === void 0 || smp.h === void 0 || !std.s || !smp.s) return 0;
|
|
1773
2028
|
let std_h = normalizeHue(std.h);
|
|
@@ -1789,6 +2044,8 @@ var differenceHueChroma = (std, smp) => {
|
|
|
1789
2044
|
let dH = Math.sin((smp_h - std_h + 360) / 2 * Math.PI / 180);
|
|
1790
2045
|
return 2 * Math.sqrt(std.c * smp.c) * dH;
|
|
1791
2046
|
};
|
|
2047
|
+
//#endregion
|
|
2048
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/average.js
|
|
1792
2049
|
var averageAngle = (val) => {
|
|
1793
2050
|
let sum = val.reduce((sum, val) => {
|
|
1794
2051
|
if (val !== void 0) {
|
|
@@ -1804,6 +2061,8 @@ var averageAngle = (val) => {
|
|
|
1804
2061
|
let angle = Math.atan2(sum.sin, sum.cos) * 180 / Math.PI;
|
|
1805
2062
|
return angle < 0 ? 360 + angle : angle;
|
|
1806
2063
|
};
|
|
2064
|
+
//#endregion
|
|
2065
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/definition.js
|
|
1807
2066
|
var definition$25 = {
|
|
1808
2067
|
mode: "cubehelix",
|
|
1809
2068
|
channels: [
|
|
@@ -1836,6 +2095,8 @@ var definition$25 = {
|
|
|
1836
2095
|
difference: { h: differenceHueSaturation },
|
|
1837
2096
|
average: { h: averageAngle }
|
|
1838
2097
|
};
|
|
2098
|
+
//#endregion
|
|
2099
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lch/convertLabToLch.js
|
|
1839
2100
|
var convertLabToLch = ({ l, a, b, alpha }, mode = "lch") => {
|
|
1840
2101
|
if (a === void 0) a = 0;
|
|
1841
2102
|
if (b === void 0) b = 0;
|
|
@@ -1849,6 +2110,8 @@ var convertLabToLch = ({ l, a, b, alpha }, mode = "lch") => {
|
|
|
1849
2110
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1850
2111
|
return res;
|
|
1851
2112
|
};
|
|
2113
|
+
//#endregion
|
|
2114
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lch/convertLchToLab.js
|
|
1852
2115
|
var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
|
|
1853
2116
|
if (h === void 0) h = 0;
|
|
1854
2117
|
let res = {
|
|
@@ -1860,20 +2123,26 @@ var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
|
|
|
1860
2123
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1861
2124
|
return res;
|
|
1862
2125
|
};
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
2126
|
+
//#endregion
|
|
2127
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/constants.js
|
|
2128
|
+
var k$5 = Math.pow(29, 3) / Math.pow(3, 3);
|
|
2129
|
+
var e$2 = Math.pow(6, 3) / Math.pow(29, 3);
|
|
2130
|
+
//#endregion
|
|
2131
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/constants.js
|
|
2132
|
+
var D50 = {
|
|
1866
2133
|
X: .3457 / .3585,
|
|
1867
2134
|
Y: 1,
|
|
1868
2135
|
Z: .2958 / .3585
|
|
1869
2136
|
};
|
|
1870
|
-
|
|
2137
|
+
var D65 = {
|
|
1871
2138
|
X: .3127 / .329,
|
|
1872
2139
|
Y: 1,
|
|
1873
2140
|
Z: .3583 / .329
|
|
1874
2141
|
};
|
|
1875
2142
|
Math.pow(29, 3) / Math.pow(3, 3);
|
|
1876
2143
|
Math.pow(6, 3) / Math.pow(29, 3);
|
|
2144
|
+
//#endregion
|
|
2145
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertLab65ToXyz65.js
|
|
1877
2146
|
var fn$2 = (v) => Math.pow(v, 3) > e$2 ? Math.pow(v, 3) : (116 * v - 16) / k$5;
|
|
1878
2147
|
var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
|
|
1879
2148
|
if (l === void 0) l = 0;
|
|
@@ -1891,7 +2160,11 @@ var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
|
|
|
1891
2160
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1892
2161
|
return res;
|
|
1893
2162
|
};
|
|
2163
|
+
//#endregion
|
|
2164
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertLab65ToRgb.js
|
|
1894
2165
|
var convertLab65ToRgb = (lab) => convertXyz65ToRgb(convertLab65ToXyz65(lab));
|
|
2166
|
+
//#endregion
|
|
2167
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertXyz65ToLab65.js
|
|
1895
2168
|
var f$3 = (value) => value > e$2 ? Math.cbrt(value) : (k$5 * value + 16) / 116;
|
|
1896
2169
|
var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
|
|
1897
2170
|
if (x === void 0) x = 0;
|
|
@@ -1909,15 +2182,21 @@ var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
|
|
|
1909
2182
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1910
2183
|
return res;
|
|
1911
2184
|
};
|
|
2185
|
+
//#endregion
|
|
2186
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertRgbToLab65.js
|
|
1912
2187
|
var convertRgbToLab65 = (rgb) => {
|
|
1913
2188
|
let res = convertXyz65ToLab65(convertRgbToXyz65(rgb));
|
|
1914
2189
|
if (rgb.r === rgb.b && rgb.b === rgb.g) res.a = res.b = 0;
|
|
1915
2190
|
return res;
|
|
1916
2191
|
};
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
2192
|
+
//#endregion
|
|
2193
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/dlch/constants.js
|
|
2194
|
+
var θ = 26 / 180 * Math.PI;
|
|
2195
|
+
var cosθ = Math.cos(θ);
|
|
2196
|
+
var sinθ = Math.sin(θ);
|
|
2197
|
+
var factor = 100 / Math.log(139 / 100);
|
|
2198
|
+
//#endregion
|
|
2199
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/dlch/convertDlchToLab65.js
|
|
1921
2200
|
var convertDlchToLab65 = ({ l, c, h, alpha }) => {
|
|
1922
2201
|
if (l === void 0) l = 0;
|
|
1923
2202
|
if (c === void 0) c = 0;
|
|
@@ -1934,6 +2213,8 @@ var convertDlchToLab65 = ({ l, c, h, alpha }) => {
|
|
|
1934
2213
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1935
2214
|
return res;
|
|
1936
2215
|
};
|
|
2216
|
+
//#endregion
|
|
2217
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/dlch/convertLab65ToDlch.js
|
|
1937
2218
|
var convertLab65ToDlch = ({ l, a, b, alpha }) => {
|
|
1938
2219
|
if (l === void 0) l = 0;
|
|
1939
2220
|
if (a === void 0) a = 0;
|
|
@@ -1950,6 +2231,8 @@ var convertLab65ToDlch = ({ l, a, b, alpha }) => {
|
|
|
1950
2231
|
if (alpha !== void 0) res.alpha = alpha;
|
|
1951
2232
|
return res;
|
|
1952
2233
|
};
|
|
2234
|
+
//#endregion
|
|
2235
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/dlab/definition.js
|
|
1953
2236
|
var convertDlabToLab65 = (c) => convertDlchToLab65(convertLabToLch(c, "dlch"));
|
|
1954
2237
|
var convertLab65ToDlab = (c) => convertLchToLab(convertLab65ToDlch(c), "dlab");
|
|
1955
2238
|
var definition$24 = {
|
|
@@ -1985,6 +2268,8 @@ var definition$24 = {
|
|
|
1985
2268
|
}
|
|
1986
2269
|
}
|
|
1987
2270
|
};
|
|
2271
|
+
//#endregion
|
|
2272
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/dlch/definition.js
|
|
1988
2273
|
var definition$23 = {
|
|
1989
2274
|
mode: "dlch",
|
|
1990
2275
|
parse: ["--din99o-lch"],
|
|
@@ -2025,6 +2310,8 @@ var definition$23 = {
|
|
|
2025
2310
|
difference: { h: differenceHueChroma },
|
|
2026
2311
|
average: { h: averageAngle }
|
|
2027
2312
|
};
|
|
2313
|
+
//#endregion
|
|
2314
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsi/convertHsiToRgb.js
|
|
2028
2315
|
function convertHsiToRgb({ h, s, i, alpha }) {
|
|
2029
2316
|
h = normalizeHue(h !== void 0 ? h : 0);
|
|
2030
2317
|
if (s === void 0) s = 0;
|
|
@@ -2084,6 +2371,8 @@ function convertHsiToRgb({ h, s, i, alpha }) {
|
|
|
2084
2371
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2085
2372
|
return res;
|
|
2086
2373
|
}
|
|
2374
|
+
//#endregion
|
|
2375
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsi/convertRgbToHsi.js
|
|
2087
2376
|
function convertRgbToHsi({ r, g, b, alpha }) {
|
|
2088
2377
|
if (r === void 0) r = 0;
|
|
2089
2378
|
if (g === void 0) g = 0;
|
|
@@ -2098,6 +2387,8 @@ function convertRgbToHsi({ r, g, b, alpha }) {
|
|
|
2098
2387
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2099
2388
|
return res;
|
|
2100
2389
|
}
|
|
2390
|
+
//#endregion
|
|
2391
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsi/definition.js
|
|
2101
2392
|
var definition$22 = {
|
|
2102
2393
|
mode: "hsi",
|
|
2103
2394
|
toMode: { rgb: convertHsiToRgb },
|
|
@@ -2127,6 +2418,8 @@ var definition$22 = {
|
|
|
2127
2418
|
difference: { h: differenceHueSaturation },
|
|
2128
2419
|
average: { h: averageAngle }
|
|
2129
2420
|
};
|
|
2421
|
+
//#endregion
|
|
2422
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsl/convertHslToRgb.js
|
|
2130
2423
|
function convertHslToRgb({ h, s, l, alpha }) {
|
|
2131
2424
|
h = normalizeHue(h !== void 0 ? h : 0);
|
|
2132
2425
|
if (s === void 0) s = 0;
|
|
@@ -2187,6 +2480,8 @@ function convertHslToRgb({ h, s, l, alpha }) {
|
|
|
2187
2480
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2188
2481
|
return res;
|
|
2189
2482
|
}
|
|
2483
|
+
//#endregion
|
|
2484
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsl/convertRgbToHsl.js
|
|
2190
2485
|
function convertRgbToHsl({ r, g, b, alpha }) {
|
|
2191
2486
|
if (r === void 0) r = 0;
|
|
2192
2487
|
if (g === void 0) g = 0;
|
|
@@ -2201,6 +2496,8 @@ function convertRgbToHsl({ r, g, b, alpha }) {
|
|
|
2201
2496
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2202
2497
|
return res;
|
|
2203
2498
|
}
|
|
2499
|
+
//#endregion
|
|
2500
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/util/hue.js
|
|
2204
2501
|
var hueToDeg = (val, unit) => {
|
|
2205
2502
|
switch (unit) {
|
|
2206
2503
|
case "deg": return +val;
|
|
@@ -2209,6 +2506,8 @@ var hueToDeg = (val, unit) => {
|
|
|
2209
2506
|
case "turn": return val * 360;
|
|
2210
2507
|
}
|
|
2211
2508
|
};
|
|
2509
|
+
//#endregion
|
|
2510
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsl/parseHslLegacy.js
|
|
2212
2511
|
var hsl_old = new RegExp(`^hsla?\\(\\s*${hue$1}${c$1}${per}${c$1}${per}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);
|
|
2213
2512
|
var parseHslLegacy = (color) => {
|
|
2214
2513
|
let match = color.match(hsl_old);
|
|
@@ -2222,6 +2521,8 @@ var parseHslLegacy = (color) => {
|
|
|
2222
2521
|
else if (match[7] !== void 0) res.alpha = Math.max(0, Math.min(1, +match[7]));
|
|
2223
2522
|
return res;
|
|
2224
2523
|
};
|
|
2524
|
+
//#endregion
|
|
2525
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsl/parseHsl.js
|
|
2225
2526
|
function parseHsl(color, parsed) {
|
|
2226
2527
|
if (!parsed || parsed[0] !== "hsl" && parsed[0] !== "hsla") return;
|
|
2227
2528
|
const res = { mode: "hsl" };
|
|
@@ -2241,6 +2542,8 @@ function parseHsl(color, parsed) {
|
|
|
2241
2542
|
if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
|
|
2242
2543
|
return res;
|
|
2243
2544
|
}
|
|
2545
|
+
//#endregion
|
|
2546
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsl/definition.js
|
|
2244
2547
|
var definition$21 = {
|
|
2245
2548
|
mode: "hsl",
|
|
2246
2549
|
toMode: { rgb: convertHslToRgb },
|
|
@@ -2270,6 +2573,8 @@ var definition$21 = {
|
|
|
2270
2573
|
difference: { h: differenceHueSaturation },
|
|
2271
2574
|
average: { h: averageAngle }
|
|
2272
2575
|
};
|
|
2576
|
+
//#endregion
|
|
2577
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsv/convertHsvToRgb.js
|
|
2273
2578
|
function convertHsvToRgb({ h, s, v, alpha }) {
|
|
2274
2579
|
h = normalizeHue(h !== void 0 ? h : 0);
|
|
2275
2580
|
if (s === void 0) s = 0;
|
|
@@ -2329,6 +2634,8 @@ function convertHsvToRgb({ h, s, v, alpha }) {
|
|
|
2329
2634
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2330
2635
|
return res;
|
|
2331
2636
|
}
|
|
2637
|
+
//#endregion
|
|
2638
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsv/convertRgbToHsv.js
|
|
2332
2639
|
function convertRgbToHsv({ r, g, b, alpha }) {
|
|
2333
2640
|
if (r === void 0) r = 0;
|
|
2334
2641
|
if (g === void 0) g = 0;
|
|
@@ -2343,6 +2650,8 @@ function convertRgbToHsv({ r, g, b, alpha }) {
|
|
|
2343
2650
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2344
2651
|
return res;
|
|
2345
2652
|
}
|
|
2653
|
+
//#endregion
|
|
2654
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hsv/definition.js
|
|
2346
2655
|
var definition$20 = {
|
|
2347
2656
|
mode: "hsv",
|
|
2348
2657
|
toMode: { rgb: convertHsvToRgb },
|
|
@@ -2372,6 +2681,8 @@ var definition$20 = {
|
|
|
2372
2681
|
difference: { h: differenceHueSaturation },
|
|
2373
2682
|
average: { h: averageAngle }
|
|
2374
2683
|
};
|
|
2684
|
+
//#endregion
|
|
2685
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hwb/convertHwbToRgb.js
|
|
2375
2686
|
function convertHwbToRgb({ h, w, b, alpha }) {
|
|
2376
2687
|
if (w === void 0) w = 0;
|
|
2377
2688
|
if (b === void 0) b = 0;
|
|
@@ -2387,6 +2698,8 @@ function convertHwbToRgb({ h, w, b, alpha }) {
|
|
|
2387
2698
|
alpha
|
|
2388
2699
|
});
|
|
2389
2700
|
}
|
|
2701
|
+
//#endregion
|
|
2702
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hwb/convertRgbToHwb.js
|
|
2390
2703
|
function convertRgbToHwb(rgba) {
|
|
2391
2704
|
let hsv = convertRgbToHsv(rgba);
|
|
2392
2705
|
if (hsv === void 0) return void 0;
|
|
@@ -2401,6 +2714,8 @@ function convertRgbToHwb(rgba) {
|
|
|
2401
2714
|
if (hsv.alpha !== void 0) res.alpha = hsv.alpha;
|
|
2402
2715
|
return res;
|
|
2403
2716
|
}
|
|
2717
|
+
//#endregion
|
|
2718
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hwb/parseHwb.js
|
|
2404
2719
|
function ParseHwb(color, parsed) {
|
|
2405
2720
|
if (!parsed || parsed[0] !== "hwb") return;
|
|
2406
2721
|
const res = { mode: "hwb" };
|
|
@@ -2420,6 +2735,8 @@ function ParseHwb(color, parsed) {
|
|
|
2420
2735
|
if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
|
|
2421
2736
|
return res;
|
|
2422
2737
|
}
|
|
2738
|
+
//#endregion
|
|
2739
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hwb/definition.js
|
|
2423
2740
|
var definition$19 = {
|
|
2424
2741
|
mode: "hwb",
|
|
2425
2742
|
toMode: { rgb: convertHwbToRgb },
|
|
@@ -2449,11 +2766,13 @@ var definition$19 = {
|
|
|
2449
2766
|
difference: { h: differenceHueNaive },
|
|
2450
2767
|
average: { h: averageAngle }
|
|
2451
2768
|
};
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2769
|
+
//#endregion
|
|
2770
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/hdr/transfer.js
|
|
2771
|
+
var M1 = .1593017578125;
|
|
2772
|
+
var M2 = 78.84375;
|
|
2773
|
+
var C1 = .8359375;
|
|
2774
|
+
var C2 = 18.8515625;
|
|
2775
|
+
var C3 = 18.6875;
|
|
2457
2776
|
function transferPqDecode(v) {
|
|
2458
2777
|
if (v < 0) return 0;
|
|
2459
2778
|
const c = Math.pow(v, 1 / M2);
|
|
@@ -2464,6 +2783,8 @@ function transferPqEncode(v) {
|
|
|
2464
2783
|
const c = Math.pow(v / 1e4, M1);
|
|
2465
2784
|
return Math.pow((C1 + C2 * c) / (1 + C3 * c), M2);
|
|
2466
2785
|
}
|
|
2786
|
+
//#endregion
|
|
2787
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/itp/convertItpToXyz65.js
|
|
2467
2788
|
var toRel = (c) => Math.max(c / 203, 0);
|
|
2468
2789
|
var convertItpToXyz65 = ({ i, t, p, alpha }) => {
|
|
2469
2790
|
if (i === void 0) i = 0;
|
|
@@ -2481,6 +2802,8 @@ var convertItpToXyz65 = ({ i, t, p, alpha }) => {
|
|
|
2481
2802
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2482
2803
|
return res;
|
|
2483
2804
|
};
|
|
2805
|
+
//#endregion
|
|
2806
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/itp/convertXyz65ToItp.js
|
|
2484
2807
|
var toAbs = (c = 0) => Math.max(c * 203, 0);
|
|
2485
2808
|
var convertXyz65ToItp = ({ x, y, z, alpha }) => {
|
|
2486
2809
|
const absX = toAbs(x);
|
|
@@ -2498,6 +2821,8 @@ var convertXyz65ToItp = ({ x, y, z, alpha }) => {
|
|
|
2498
2821
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2499
2822
|
return res;
|
|
2500
2823
|
};
|
|
2824
|
+
//#endregion
|
|
2825
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/itp/definition.js
|
|
2501
2826
|
var definition$18 = {
|
|
2502
2827
|
mode: "itp",
|
|
2503
2828
|
channels: [
|
|
@@ -2531,6 +2856,8 @@ var definition$18 = {
|
|
|
2531
2856
|
}
|
|
2532
2857
|
}
|
|
2533
2858
|
};
|
|
2859
|
+
//#endregion
|
|
2860
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jab/convertXyz65ToJab.js
|
|
2534
2861
|
var p$3 = 134.03437499999998;
|
|
2535
2862
|
var d0$1 = 16295499532821565e-27;
|
|
2536
2863
|
var jabPqEncode = (v) => {
|
|
@@ -2558,6 +2885,8 @@ var convertXyz65ToJab = ({ x, y, z, alpha }) => {
|
|
|
2558
2885
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2559
2886
|
return res;
|
|
2560
2887
|
};
|
|
2888
|
+
//#endregion
|
|
2889
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jab/convertJabToXyz65.js
|
|
2561
2890
|
var p$2 = 134.03437499999998;
|
|
2562
2891
|
var d0 = 16295499532821565e-27;
|
|
2563
2892
|
var jabPqDecode = (v) => {
|
|
@@ -2583,12 +2912,18 @@ var convertJabToXyz65 = ({ j, a, b, alpha }) => {
|
|
|
2583
2912
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2584
2913
|
return res;
|
|
2585
2914
|
};
|
|
2915
|
+
//#endregion
|
|
2916
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jab/convertRgbToJab.js
|
|
2586
2917
|
var convertRgbToJab = (rgb) => {
|
|
2587
2918
|
let res = convertXyz65ToJab(convertRgbToXyz65(rgb));
|
|
2588
2919
|
if (rgb.r === rgb.b && rgb.b === rgb.g) res.a = res.b = 0;
|
|
2589
2920
|
return res;
|
|
2590
2921
|
};
|
|
2922
|
+
//#endregion
|
|
2923
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jab/convertJabToRgb.js
|
|
2591
2924
|
var convertJabToRgb = (color) => convertXyz65ToRgb(convertJabToXyz65(color));
|
|
2925
|
+
//#endregion
|
|
2926
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jab/definition.js
|
|
2592
2927
|
var definition$17 = {
|
|
2593
2928
|
mode: "jab",
|
|
2594
2929
|
channels: [
|
|
@@ -2622,6 +2957,8 @@ var definition$17 = {
|
|
|
2622
2957
|
}
|
|
2623
2958
|
}
|
|
2624
2959
|
};
|
|
2960
|
+
//#endregion
|
|
2961
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jch/convertJabToJch.js
|
|
2625
2962
|
var convertJabToJch = ({ j, a, b, alpha }) => {
|
|
2626
2963
|
if (a === void 0) a = 0;
|
|
2627
2964
|
if (b === void 0) b = 0;
|
|
@@ -2635,6 +2972,8 @@ var convertJabToJch = ({ j, a, b, alpha }) => {
|
|
|
2635
2972
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2636
2973
|
return res;
|
|
2637
2974
|
};
|
|
2975
|
+
//#endregion
|
|
2976
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jch/convertJchToJab.js
|
|
2638
2977
|
var convertJchToJab = ({ j, c, h, alpha }) => {
|
|
2639
2978
|
if (h === void 0) h = 0;
|
|
2640
2979
|
let res = {
|
|
@@ -2646,6 +2985,8 @@ var convertJchToJab = ({ j, c, h, alpha }) => {
|
|
|
2646
2985
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2647
2986
|
return res;
|
|
2648
2987
|
};
|
|
2988
|
+
//#endregion
|
|
2989
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/jch/definition.js
|
|
2649
2990
|
var definition$16 = {
|
|
2650
2991
|
mode: "jch",
|
|
2651
2992
|
parse: ["--jzczhz"],
|
|
@@ -2684,8 +3025,12 @@ var definition$16 = {
|
|
|
2684
3025
|
difference: { h: differenceHueChroma },
|
|
2685
3026
|
average: { h: averageAngle }
|
|
2686
3027
|
};
|
|
2687
|
-
|
|
2688
|
-
|
|
3028
|
+
//#endregion
|
|
3029
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/constants.js
|
|
3030
|
+
var k$3 = Math.pow(29, 3) / Math.pow(3, 3);
|
|
3031
|
+
var e = Math.pow(6, 3) / Math.pow(29, 3);
|
|
3032
|
+
//#endregion
|
|
3033
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertLabToXyz50.js
|
|
2689
3034
|
var fn$1 = (v) => Math.pow(v, 3) > e ? Math.pow(v, 3) : (116 * v - 16) / k$3;
|
|
2690
3035
|
var convertLabToXyz50 = ({ l, a, b, alpha }) => {
|
|
2691
3036
|
if (l === void 0) l = 0;
|
|
@@ -2703,6 +3048,8 @@ var convertLabToXyz50 = ({ l, a, b, alpha }) => {
|
|
|
2703
3048
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2704
3049
|
return res;
|
|
2705
3050
|
};
|
|
3051
|
+
//#endregion
|
|
3052
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/convertXyz50ToRgb.js
|
|
2706
3053
|
var convertXyz50ToRgb = ({ x, y, z, alpha }) => {
|
|
2707
3054
|
if (x === void 0) x = 0;
|
|
2708
3055
|
if (y === void 0) y = 0;
|
|
@@ -2715,7 +3062,11 @@ var convertXyz50ToRgb = ({ x, y, z, alpha }) => {
|
|
|
2715
3062
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2716
3063
|
return res;
|
|
2717
3064
|
};
|
|
3065
|
+
//#endregion
|
|
3066
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertLabToRgb.js
|
|
2718
3067
|
var convertLabToRgb = (lab) => convertXyz50ToRgb(convertLabToXyz50(lab));
|
|
3068
|
+
//#endregion
|
|
3069
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/convertRgbToXyz50.js
|
|
2719
3070
|
var convertRgbToXyz50 = (rgb) => {
|
|
2720
3071
|
let { r, g, b, alpha } = convertRgbToLrgb(rgb);
|
|
2721
3072
|
let res = {
|
|
@@ -2727,6 +3078,8 @@ var convertRgbToXyz50 = (rgb) => {
|
|
|
2727
3078
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2728
3079
|
return res;
|
|
2729
3080
|
};
|
|
3081
|
+
//#endregion
|
|
3082
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertXyz50ToLab.js
|
|
2730
3083
|
var f$2 = (value) => value > e ? Math.cbrt(value) : (k$3 * value + 16) / 116;
|
|
2731
3084
|
var convertXyz50ToLab = ({ x, y, z, alpha }) => {
|
|
2732
3085
|
if (x === void 0) x = 0;
|
|
@@ -2744,11 +3097,15 @@ var convertXyz50ToLab = ({ x, y, z, alpha }) => {
|
|
|
2744
3097
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2745
3098
|
return res;
|
|
2746
3099
|
};
|
|
3100
|
+
//#endregion
|
|
3101
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertRgbToLab.js
|
|
2747
3102
|
var convertRgbToLab = (rgb) => {
|
|
2748
3103
|
let res = convertXyz50ToLab(convertRgbToXyz50(rgb));
|
|
2749
3104
|
if (rgb.r === rgb.b && rgb.b === rgb.g) res.a = res.b = 0;
|
|
2750
3105
|
return res;
|
|
2751
3106
|
};
|
|
3107
|
+
//#endregion
|
|
3108
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/parseLab.js
|
|
2752
3109
|
function parseLab(color, parsed) {
|
|
2753
3110
|
if (!parsed || parsed[0] !== "lab") return;
|
|
2754
3111
|
const res = { mode: "lab" };
|
|
@@ -2760,6 +3117,8 @@ function parseLab(color, parsed) {
|
|
|
2760
3117
|
if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
|
|
2761
3118
|
return res;
|
|
2762
3119
|
}
|
|
3120
|
+
//#endregion
|
|
3121
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/definition.js
|
|
2763
3122
|
var definition$15 = {
|
|
2764
3123
|
mode: "lab",
|
|
2765
3124
|
toMode: {
|
|
@@ -2793,6 +3152,8 @@ var definition$15 = {
|
|
|
2793
3152
|
}
|
|
2794
3153
|
}
|
|
2795
3154
|
};
|
|
3155
|
+
//#endregion
|
|
3156
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/definition.js
|
|
2796
3157
|
var definition$14 = {
|
|
2797
3158
|
...definition$15,
|
|
2798
3159
|
mode: "lab65",
|
|
@@ -2812,6 +3173,8 @@ var definition$14 = {
|
|
|
2812
3173
|
b: [-125, 125]
|
|
2813
3174
|
}
|
|
2814
3175
|
};
|
|
3176
|
+
//#endregion
|
|
3177
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lch/parseLch.js
|
|
2815
3178
|
function parseLch(color, parsed) {
|
|
2816
3179
|
if (!parsed || parsed[0] !== "lch") return;
|
|
2817
3180
|
const res = { mode: "lch" };
|
|
@@ -2828,6 +3191,8 @@ function parseLch(color, parsed) {
|
|
|
2828
3191
|
if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
|
|
2829
3192
|
return res;
|
|
2830
3193
|
}
|
|
3194
|
+
//#endregion
|
|
3195
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lch/definition.js
|
|
2831
3196
|
var definition$13 = {
|
|
2832
3197
|
mode: "lch",
|
|
2833
3198
|
toMode: {
|
|
@@ -2866,6 +3231,8 @@ var definition$13 = {
|
|
|
2866
3231
|
difference: { h: differenceHueChroma },
|
|
2867
3232
|
average: { h: averageAngle }
|
|
2868
3233
|
};
|
|
3234
|
+
//#endregion
|
|
3235
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lch65/definition.js
|
|
2869
3236
|
var definition$12 = {
|
|
2870
3237
|
...definition$13,
|
|
2871
3238
|
mode: "lch65",
|
|
@@ -2885,6 +3252,8 @@ var definition$12 = {
|
|
|
2885
3252
|
h: [0, 360]
|
|
2886
3253
|
}
|
|
2887
3254
|
};
|
|
3255
|
+
//#endregion
|
|
3256
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lchuv/convertLuvToLchuv.js
|
|
2888
3257
|
var convertLuvToLchuv = ({ l, u, v, alpha }) => {
|
|
2889
3258
|
if (u === void 0) u = 0;
|
|
2890
3259
|
if (v === void 0) v = 0;
|
|
@@ -2898,6 +3267,8 @@ var convertLuvToLchuv = ({ l, u, v, alpha }) => {
|
|
|
2898
3267
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2899
3268
|
return res;
|
|
2900
3269
|
};
|
|
3270
|
+
//#endregion
|
|
3271
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lchuv/convertLchuvToLuv.js
|
|
2901
3272
|
var convertLchuvToLuv = ({ l, c, h, alpha }) => {
|
|
2902
3273
|
if (h === void 0) h = 0;
|
|
2903
3274
|
let res = {
|
|
@@ -2909,10 +3280,12 @@ var convertLchuvToLuv = ({ l, c, h, alpha }) => {
|
|
|
2909
3280
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2910
3281
|
return res;
|
|
2911
3282
|
};
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
3283
|
+
//#endregion
|
|
3284
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/luv/convertXyz50ToLuv.js
|
|
3285
|
+
var u_fn$1 = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
|
|
3286
|
+
var v_fn$1 = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
|
|
3287
|
+
var un$2 = u_fn$1(D50.X, D50.Y, D50.Z);
|
|
3288
|
+
var vn$2 = v_fn$1(D50.X, D50.Y, D50.Z);
|
|
2916
3289
|
var l_fn = (value) => value <= e ? k$3 * value : 116 * Math.cbrt(value) - 16;
|
|
2917
3290
|
var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
|
|
2918
3291
|
if (x === void 0) x = 0;
|
|
@@ -2935,10 +3308,12 @@ var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
|
|
|
2935
3308
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2936
3309
|
return res;
|
|
2937
3310
|
};
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
3311
|
+
//#endregion
|
|
3312
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/luv/convertLuvToXyz50.js
|
|
3313
|
+
var u_fn = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
|
|
3314
|
+
var v_fn = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
|
|
3315
|
+
var un$1 = u_fn(D50.X, D50.Y, D50.Z);
|
|
3316
|
+
var vn$1 = v_fn(D50.X, D50.Y, D50.Z);
|
|
2942
3317
|
var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
|
|
2943
3318
|
if (l === void 0) l = 0;
|
|
2944
3319
|
if (l === 0) return {
|
|
@@ -2961,6 +3336,8 @@ var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
|
|
|
2961
3336
|
if (alpha !== void 0) res.alpha = alpha;
|
|
2962
3337
|
return res;
|
|
2963
3338
|
};
|
|
3339
|
+
//#endregion
|
|
3340
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lchuv/definition.js
|
|
2964
3341
|
var convertRgbToLchuv = (rgb) => convertLuvToLchuv(convertXyz50ToLuv(convertRgbToXyz50(rgb)));
|
|
2965
3342
|
var convertLchuvToRgb = (lchuv) => convertXyz50ToRgb(convertLuvToXyz50(convertLchuvToLuv(lchuv)));
|
|
2966
3343
|
var definition$11 = {
|
|
@@ -3001,6 +3378,8 @@ var definition$11 = {
|
|
|
3001
3378
|
difference: { h: differenceHueChroma },
|
|
3002
3379
|
average: { h: averageAngle }
|
|
3003
3380
|
};
|
|
3381
|
+
//#endregion
|
|
3382
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lrgb/definition.js
|
|
3004
3383
|
var definition$10 = {
|
|
3005
3384
|
...definition$27,
|
|
3006
3385
|
mode: "lrgb",
|
|
@@ -3009,6 +3388,8 @@ var definition$10 = {
|
|
|
3009
3388
|
parse: ["srgb-linear"],
|
|
3010
3389
|
serialize: "srgb-linear"
|
|
3011
3390
|
};
|
|
3391
|
+
//#endregion
|
|
3392
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/luv/definition.js
|
|
3012
3393
|
var definition$9 = {
|
|
3013
3394
|
mode: "luv",
|
|
3014
3395
|
toMode: {
|
|
@@ -3042,6 +3423,8 @@ var definition$9 = {
|
|
|
3042
3423
|
}
|
|
3043
3424
|
}
|
|
3044
3425
|
};
|
|
3426
|
+
//#endregion
|
|
3427
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/oklab/convertLrgbToOklab.js
|
|
3045
3428
|
var convertLrgbToOklab = ({ r, g, b, alpha }) => {
|
|
3046
3429
|
if (r === void 0) r = 0;
|
|
3047
3430
|
if (g === void 0) g = 0;
|
|
@@ -3058,11 +3441,15 @@ var convertLrgbToOklab = ({ r, g, b, alpha }) => {
|
|
|
3058
3441
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3059
3442
|
return res;
|
|
3060
3443
|
};
|
|
3444
|
+
//#endregion
|
|
3445
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/oklab/convertRgbToOklab.js
|
|
3061
3446
|
var convertRgbToOklab = (rgb) => {
|
|
3062
3447
|
let res = convertLrgbToOklab(convertRgbToLrgb(rgb));
|
|
3063
3448
|
if (rgb.r === rgb.b && rgb.b === rgb.g) res.a = res.b = 0;
|
|
3064
3449
|
return res;
|
|
3065
3450
|
};
|
|
3451
|
+
//#endregion
|
|
3452
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/oklab/convertOklabToLrgb.js
|
|
3066
3453
|
var convertOklabToLrgb = ({ l, a, b, alpha }) => {
|
|
3067
3454
|
if (l === void 0) l = 0;
|
|
3068
3455
|
if (a === void 0) a = 0;
|
|
@@ -3079,7 +3466,11 @@ var convertOklabToLrgb = ({ l, a, b, alpha }) => {
|
|
|
3079
3466
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3080
3467
|
return res;
|
|
3081
3468
|
};
|
|
3469
|
+
//#endregion
|
|
3470
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/oklab/convertOklabToRgb.js
|
|
3082
3471
|
var convertOklabToRgb = (c) => convertLrgbToRgb(convertOklabToLrgb(c));
|
|
3472
|
+
//#endregion
|
|
3473
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/okhsl/helpers.js
|
|
3083
3474
|
function toe(x) {
|
|
3084
3475
|
const k_1 = .206;
|
|
3085
3476
|
const k_2 = .03;
|
|
@@ -3234,6 +3625,8 @@ function get_Cs(L, a_, b_) {
|
|
|
3234
3625
|
C_max
|
|
3235
3626
|
];
|
|
3236
3627
|
}
|
|
3628
|
+
//#endregion
|
|
3629
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/okhsl/convertOklabToOkhsl.js
|
|
3237
3630
|
function convertOklabToOkhsl(lab) {
|
|
3238
3631
|
const l = lab.l !== void 0 ? lab.l : 0;
|
|
3239
3632
|
const a = lab.a !== void 0 ? lab.a : 0;
|
|
@@ -3267,6 +3660,8 @@ function convertOklabToOkhsl(lab) {
|
|
|
3267
3660
|
}
|
|
3268
3661
|
return ret;
|
|
3269
3662
|
}
|
|
3663
|
+
//#endregion
|
|
3664
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/okhsl/convertOkhslToOklab.js
|
|
3270
3665
|
function convertOkhslToOklab(hsl) {
|
|
3271
3666
|
let h = hsl.h !== void 0 ? hsl.h : 0;
|
|
3272
3667
|
let s = hsl.s !== void 0 ? hsl.s : 0;
|
|
@@ -3300,6 +3695,8 @@ function convertOkhslToOklab(hsl) {
|
|
|
3300
3695
|
ret.b = C * b_;
|
|
3301
3696
|
return ret;
|
|
3302
3697
|
}
|
|
3698
|
+
//#endregion
|
|
3699
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/okhsl/modeOkhsl.js
|
|
3303
3700
|
var modeOkhsl = {
|
|
3304
3701
|
...definition$21,
|
|
3305
3702
|
mode: "okhsl",
|
|
@@ -3320,6 +3717,8 @@ var modeOkhsl = {
|
|
|
3320
3717
|
rgb: (c) => convertOklabToRgb(convertOkhslToOklab(c))
|
|
3321
3718
|
}
|
|
3322
3719
|
};
|
|
3720
|
+
//#endregion
|
|
3721
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/okhsv/convertOklabToOkhsv.js
|
|
3323
3722
|
function convertOklabToOkhsv(lab) {
|
|
3324
3723
|
let l = lab.l !== void 0 ? lab.l : 0;
|
|
3325
3724
|
let a = lab.a !== void 0 ? lab.a : 0;
|
|
@@ -3353,6 +3752,8 @@ function convertOklabToOkhsv(lab) {
|
|
|
3353
3752
|
if (lab.alpha !== void 0) ret.alpha = lab.alpha;
|
|
3354
3753
|
return ret;
|
|
3355
3754
|
}
|
|
3755
|
+
//#endregion
|
|
3756
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/okhsv/convertOkhsvToOklab.js
|
|
3356
3757
|
function convertOkhsvToOklab(hsv) {
|
|
3357
3758
|
const ret = { mode: "oklab" };
|
|
3358
3759
|
if (hsv.alpha !== void 0) ret.alpha = hsv.alpha;
|
|
@@ -3381,6 +3782,8 @@ function convertOkhsvToOklab(hsv) {
|
|
|
3381
3782
|
ret.b = C * b_ * scale_L;
|
|
3382
3783
|
return ret;
|
|
3383
3784
|
}
|
|
3785
|
+
//#endregion
|
|
3786
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/okhsv/modeOkhsv.js
|
|
3384
3787
|
var modeOkhsv = {
|
|
3385
3788
|
...definition$20,
|
|
3386
3789
|
mode: "okhsv",
|
|
@@ -3401,6 +3804,8 @@ var modeOkhsv = {
|
|
|
3401
3804
|
rgb: (c) => convertOklabToRgb(convertOkhsvToOklab(c))
|
|
3402
3805
|
}
|
|
3403
3806
|
};
|
|
3807
|
+
//#endregion
|
|
3808
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/oklab/parseOklab.js
|
|
3404
3809
|
function parseOklab(color, parsed) {
|
|
3405
3810
|
if (!parsed || parsed[0] !== "oklab") return;
|
|
3406
3811
|
const res = { mode: "oklab" };
|
|
@@ -3412,6 +3817,8 @@ function parseOklab(color, parsed) {
|
|
|
3412
3817
|
if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
|
|
3413
3818
|
return res;
|
|
3414
3819
|
}
|
|
3820
|
+
//#endregion
|
|
3821
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/oklab/definition.js
|
|
3415
3822
|
var definition$8 = {
|
|
3416
3823
|
...definition$15,
|
|
3417
3824
|
mode: "oklab",
|
|
@@ -3431,6 +3838,8 @@ var definition$8 = {
|
|
|
3431
3838
|
parse: [parseOklab],
|
|
3432
3839
|
serialize: (c) => `oklab(${c.l !== void 0 ? c.l : "none"} ${c.a !== void 0 ? c.a : "none"} ${c.b !== void 0 ? c.b : "none"}${c.alpha < 1 ? ` / ${c.alpha}` : ""})`
|
|
3433
3840
|
};
|
|
3841
|
+
//#endregion
|
|
3842
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/oklch/parseOklch.js
|
|
3434
3843
|
function parseOklch(color, parsed) {
|
|
3435
3844
|
if (!parsed || parsed[0] !== "oklch") return;
|
|
3436
3845
|
const res = { mode: "oklch" };
|
|
@@ -3447,6 +3856,8 @@ function parseOklch(color, parsed) {
|
|
|
3447
3856
|
if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
|
|
3448
3857
|
return res;
|
|
3449
3858
|
}
|
|
3859
|
+
//#endregion
|
|
3860
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/oklch/definition.js
|
|
3450
3861
|
var definition$7 = {
|
|
3451
3862
|
...definition$13,
|
|
3452
3863
|
mode: "oklch",
|
|
@@ -3466,6 +3877,8 @@ var definition$7 = {
|
|
|
3466
3877
|
h: [0, 360]
|
|
3467
3878
|
}
|
|
3468
3879
|
};
|
|
3880
|
+
//#endregion
|
|
3881
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/p3/convertP3ToXyz65.js
|
|
3469
3882
|
var convertP3ToXyz65 = (rgb) => {
|
|
3470
3883
|
let { r, g, b, alpha } = convertRgbToLrgb(rgb);
|
|
3471
3884
|
let res = {
|
|
@@ -3477,6 +3890,8 @@ var convertP3ToXyz65 = (rgb) => {
|
|
|
3477
3890
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3478
3891
|
return res;
|
|
3479
3892
|
};
|
|
3893
|
+
//#endregion
|
|
3894
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/p3/convertXyz65ToP3.js
|
|
3480
3895
|
var convertXyz65ToP3 = ({ x, y, z, alpha }) => {
|
|
3481
3896
|
if (x === void 0) x = 0;
|
|
3482
3897
|
if (y === void 0) y = 0;
|
|
@@ -3489,6 +3904,8 @@ var convertXyz65ToP3 = ({ x, y, z, alpha }) => {
|
|
|
3489
3904
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3490
3905
|
return res;
|
|
3491
3906
|
};
|
|
3907
|
+
//#endregion
|
|
3908
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/p3/definition.js
|
|
3492
3909
|
var definition$6 = {
|
|
3493
3910
|
...definition$27,
|
|
3494
3911
|
mode: "p3",
|
|
@@ -3503,6 +3920,8 @@ var definition$6 = {
|
|
|
3503
3920
|
xyz65: convertP3ToXyz65
|
|
3504
3921
|
}
|
|
3505
3922
|
};
|
|
3923
|
+
//#endregion
|
|
3924
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/prophoto/convertXyz50ToProphoto.js
|
|
3506
3925
|
var gamma$1 = (v) => {
|
|
3507
3926
|
let abs = Math.abs(v);
|
|
3508
3927
|
if (abs >= 1 / 512) return Math.sign(v) * Math.pow(abs, 1 / 1.8);
|
|
@@ -3521,6 +3940,8 @@ var convertXyz50ToProphoto = ({ x, y, z, alpha }) => {
|
|
|
3521
3940
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3522
3941
|
return res;
|
|
3523
3942
|
};
|
|
3943
|
+
//#endregion
|
|
3944
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/prophoto/convertProphotoToXyz50.js
|
|
3524
3945
|
var linearize$1 = (v = 0) => {
|
|
3525
3946
|
let abs = Math.abs(v);
|
|
3526
3947
|
if (abs >= 16 / 512) return Math.sign(v) * Math.pow(abs, 1.8);
|
|
@@ -3539,6 +3960,8 @@ var convertProphotoToXyz50 = (prophoto) => {
|
|
|
3539
3960
|
if (prophoto.alpha !== void 0) res.alpha = prophoto.alpha;
|
|
3540
3961
|
return res;
|
|
3541
3962
|
};
|
|
3963
|
+
//#endregion
|
|
3964
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/prophoto/definition.js
|
|
3542
3965
|
var definition$5 = {
|
|
3543
3966
|
...definition$27,
|
|
3544
3967
|
mode: "prophoto",
|
|
@@ -3553,6 +3976,8 @@ var definition$5 = {
|
|
|
3553
3976
|
rgb: (color) => convertXyz50ToRgb(convertProphotoToXyz50(color))
|
|
3554
3977
|
}
|
|
3555
3978
|
};
|
|
3979
|
+
//#endregion
|
|
3980
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rec2020/convertXyz65ToRec2020.js
|
|
3556
3981
|
var α$1 = 1.09929682680944;
|
|
3557
3982
|
var β$1 = .018053968510807;
|
|
3558
3983
|
var gamma = (v) => {
|
|
@@ -3573,6 +3998,8 @@ var convertXyz65ToRec2020 = ({ x, y, z, alpha }) => {
|
|
|
3573
3998
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3574
3999
|
return res;
|
|
3575
4000
|
};
|
|
4001
|
+
//#endregion
|
|
4002
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rec2020/convertRec2020ToXyz65.js
|
|
3576
4003
|
var α = 1.09929682680944;
|
|
3577
4004
|
var β = .018053968510807;
|
|
3578
4005
|
var linearize = (v = 0) => {
|
|
@@ -3593,6 +4020,8 @@ var convertRec2020ToXyz65 = (rec2020) => {
|
|
|
3593
4020
|
if (rec2020.alpha !== void 0) res.alpha = rec2020.alpha;
|
|
3594
4021
|
return res;
|
|
3595
4022
|
};
|
|
4023
|
+
//#endregion
|
|
4024
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rec2020/definition.js
|
|
3596
4025
|
var definition$4 = {
|
|
3597
4026
|
...definition$27,
|
|
3598
4027
|
mode: "rec2020",
|
|
@@ -3607,8 +4036,12 @@ var definition$4 = {
|
|
|
3607
4036
|
parse: ["rec2020"],
|
|
3608
4037
|
serialize: "rec2020"
|
|
3609
4038
|
};
|
|
3610
|
-
|
|
3611
|
-
|
|
4039
|
+
//#endregion
|
|
4040
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyb/constants.js
|
|
4041
|
+
var bias = .0037930732552754493;
|
|
4042
|
+
var bias_cbrt = Math.cbrt(bias);
|
|
4043
|
+
//#endregion
|
|
4044
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyb/convertRgbToXyb.js
|
|
3612
4045
|
var transfer$1 = (v) => Math.cbrt(v) - bias_cbrt;
|
|
3613
4046
|
var convertRgbToXyb = (color) => {
|
|
3614
4047
|
const { r, g, b, alpha } = convertRgbToLrgb(color);
|
|
@@ -3624,6 +4057,8 @@ var convertRgbToXyb = (color) => {
|
|
|
3624
4057
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3625
4058
|
return res;
|
|
3626
4059
|
};
|
|
4060
|
+
//#endregion
|
|
4061
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyb/convertXybToRgb.js
|
|
3627
4062
|
var transfer = (v) => Math.pow(v + bias_cbrt, 3);
|
|
3628
4063
|
var convertXybToRgb = ({ x, y, b, alpha }) => {
|
|
3629
4064
|
if (x === void 0) x = 0;
|
|
@@ -3640,6 +4075,8 @@ var convertXybToRgb = ({ x, y, b, alpha }) => {
|
|
|
3640
4075
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3641
4076
|
return res;
|
|
3642
4077
|
};
|
|
4078
|
+
//#endregion
|
|
4079
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyb/definition.js
|
|
3643
4080
|
var definition$3 = {
|
|
3644
4081
|
mode: "xyb",
|
|
3645
4082
|
channels: [
|
|
@@ -3667,6 +4104,8 @@ var definition$3 = {
|
|
|
3667
4104
|
}
|
|
3668
4105
|
}
|
|
3669
4106
|
};
|
|
4107
|
+
//#endregion
|
|
4108
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/definition.js
|
|
3670
4109
|
var definition$2 = {
|
|
3671
4110
|
mode: "xyz50",
|
|
3672
4111
|
parse: ["xyz-d50"],
|
|
@@ -3700,6 +4139,8 @@ var definition$2 = {
|
|
|
3700
4139
|
}
|
|
3701
4140
|
}
|
|
3702
4141
|
};
|
|
4142
|
+
//#endregion
|
|
4143
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/convertXyz65ToXyz50.js
|
|
3703
4144
|
var convertXyz65ToXyz50 = (xyz65) => {
|
|
3704
4145
|
let { x, y, z, alpha } = xyz65;
|
|
3705
4146
|
if (x === void 0) x = 0;
|
|
@@ -3714,6 +4155,8 @@ var convertXyz65ToXyz50 = (xyz65) => {
|
|
|
3714
4155
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3715
4156
|
return res;
|
|
3716
4157
|
};
|
|
4158
|
+
//#endregion
|
|
4159
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/convertXyz50ToXyz65.js
|
|
3717
4160
|
var convertXyz50ToXyz65 = (xyz50) => {
|
|
3718
4161
|
let { x, y, z, alpha } = xyz50;
|
|
3719
4162
|
if (x === void 0) x = 0;
|
|
@@ -3728,6 +4171,8 @@ var convertXyz50ToXyz65 = (xyz50) => {
|
|
|
3728
4171
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3729
4172
|
return res;
|
|
3730
4173
|
};
|
|
4174
|
+
//#endregion
|
|
4175
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/definition.js
|
|
3731
4176
|
var definition$1 = {
|
|
3732
4177
|
mode: "xyz65",
|
|
3733
4178
|
toMode: {
|
|
@@ -3761,6 +4206,8 @@ var definition$1 = {
|
|
|
3761
4206
|
}
|
|
3762
4207
|
}
|
|
3763
4208
|
};
|
|
4209
|
+
//#endregion
|
|
4210
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/yiq/convertRgbToYiq.js
|
|
3764
4211
|
var convertRgbToYiq = ({ r, g, b, alpha }) => {
|
|
3765
4212
|
if (r === void 0) r = 0;
|
|
3766
4213
|
if (g === void 0) g = 0;
|
|
@@ -3774,6 +4221,8 @@ var convertRgbToYiq = ({ r, g, b, alpha }) => {
|
|
|
3774
4221
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3775
4222
|
return res;
|
|
3776
4223
|
};
|
|
4224
|
+
//#endregion
|
|
4225
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/yiq/convertYiqToRgb.js
|
|
3777
4226
|
var convertYiqToRgb = ({ y, i, q, alpha }) => {
|
|
3778
4227
|
if (y === void 0) y = 0;
|
|
3779
4228
|
if (i === void 0) i = 0;
|
|
@@ -3787,6 +4236,8 @@ var convertYiqToRgb = ({ y, i, q, alpha }) => {
|
|
|
3787
4236
|
if (alpha !== void 0) res.alpha = alpha;
|
|
3788
4237
|
return res;
|
|
3789
4238
|
};
|
|
4239
|
+
//#endregion
|
|
4240
|
+
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/yiq/definition.js
|
|
3790
4241
|
var definition = {
|
|
3791
4242
|
mode: "yiq",
|
|
3792
4243
|
toMode: { rgb: convertYiqToRgb },
|
|
@@ -3843,6 +4294,8 @@ useMode(definition$3);
|
|
|
3843
4294
|
useMode(definition$2);
|
|
3844
4295
|
useMode(definition$1);
|
|
3845
4296
|
useMode(definition);
|
|
4297
|
+
//#endregion
|
|
4298
|
+
//#region ../../node_modules/.bun/@basmilius+http-client@3.11.1+1fb4c65d43e298b9/node_modules/@basmilius/http-client/dist/index.mjs
|
|
3846
4299
|
function c(e) {
|
|
3847
4300
|
return class extends e {
|
|
3848
4301
|
constructor(...e) {
|
|
@@ -4227,6 +4680,23 @@ function pe$1(e, t, n) {
|
|
|
4227
4680
|
onScopeDispose(s);
|
|
4228
4681
|
}
|
|
4229
4682
|
RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
|
|
4683
|
+
function ye$1(e, t, n) {
|
|
4684
|
+
n ??= {};
|
|
4685
|
+
let r, i = watch(e, (e) => {
|
|
4686
|
+
o();
|
|
4687
|
+
let i = G$1(e);
|
|
4688
|
+
i && (r = new ResizeObserver(t), r.observe(i, n));
|
|
4689
|
+
}, { immediate: !0 });
|
|
4690
|
+
function o() {
|
|
4691
|
+
r &&= (r.disconnect(), void 0);
|
|
4692
|
+
}
|
|
4693
|
+
function s() {
|
|
4694
|
+
o(), i();
|
|
4695
|
+
}
|
|
4696
|
+
onScopeDispose(s);
|
|
4697
|
+
}
|
|
4698
|
+
//#endregion
|
|
4699
|
+
//#region ../internals/dist/index.mjs
|
|
4230
4700
|
function f(e, n) {
|
|
4231
4701
|
let r = ref(!1), o = ref(e), s = computed(() => {
|
|
4232
4702
|
let e = [], t = unref(o).month, n = unref(o).startOf(`month`);
|
|
@@ -4632,6 +5102,8 @@ var Overlay_module_default = {
|
|
|
4632
5102
|
slideOverTransitionEnterFrom: `slide-over-transition-enter-from`,
|
|
4633
5103
|
slideOverTransitionLeaveTo: `slide-over-transition-leave-to`
|
|
4634
5104
|
};
|
|
5105
|
+
//#endregion
|
|
5106
|
+
//#region src/util/createDialogRenderer.ts
|
|
4635
5107
|
var TARGET_SELECTOR = `.${Overlay_module_default.overlayProvider.replaceAll(" ", ".")}`;
|
|
4636
5108
|
var DIALOG_ID = 0;
|
|
4637
5109
|
function createDialogRenderer_default(attrs, props, emit, slots, className, transition) {
|
|
@@ -4680,6 +5152,8 @@ function createDialogRenderer_default(attrs, props, emit, slots, className, tran
|
|
|
4680
5152
|
}, [h(transition, attrs, { default: () => content })]);
|
|
4681
5153
|
};
|
|
4682
5154
|
}
|
|
5155
|
+
//#endregion
|
|
5156
|
+
//#region src/util/createLabelForDateRange.ts
|
|
4683
5157
|
function createLabelForDateRange_default(start, end, preventCustom = false) {
|
|
4684
5158
|
const translate = useTranslate_default();
|
|
4685
5159
|
if (start.day === end.day && start.month === end.month && start.year === end.year) return start.toLocaleString({
|
|
@@ -4711,6 +5185,8 @@ function createLabelForDateRange_default(start, end, preventCustom = false) {
|
|
|
4711
5185
|
})}`;
|
|
4712
5186
|
return translate("flux.customPeriod");
|
|
4713
5187
|
}
|
|
5188
|
+
//#endregion
|
|
5189
|
+
//#region src/data/filter.ts
|
|
4714
5190
|
function parseDate(base) {
|
|
4715
5191
|
return {
|
|
4716
5192
|
...base,
|
|
@@ -4802,7 +5278,7 @@ function generateMultiOptionsLabel(translate, options, values) {
|
|
|
4802
5278
|
if (selected === 1) return options.find((o) => values.includes(o.value)).label;
|
|
4803
5279
|
return translate("flux.nSelected", { n: selected });
|
|
4804
5280
|
}
|
|
4805
|
-
|
|
5281
|
+
var filterParsers = {
|
|
4806
5282
|
date: parseDate,
|
|
4807
5283
|
dateRange: parseDateRange,
|
|
4808
5284
|
option: parseOption,
|
|
@@ -4817,13 +5293,17 @@ function isFluxFilterOptionHeader(obj) {
|
|
|
4817
5293
|
function isFluxFilterOptionItem(obj) {
|
|
4818
5294
|
return "label" in obj && "value" in obj;
|
|
4819
5295
|
}
|
|
5296
|
+
//#endregion
|
|
5297
|
+
//#region src/data/helper.ts
|
|
4820
5298
|
function isFluxFormSelectGroup(item) {
|
|
4821
5299
|
return item !== null && typeof item === "object" && !("value" in item);
|
|
4822
5300
|
}
|
|
4823
5301
|
function isFluxFormSelectOption(item) {
|
|
4824
5302
|
return item !== null && typeof item === "object" && "value" in item;
|
|
4825
5303
|
}
|
|
4826
|
-
|
|
5304
|
+
//#endregion
|
|
5305
|
+
//#region src/data/i18n.ts
|
|
5306
|
+
var english = {
|
|
4827
5307
|
"flux.back": "Back",
|
|
4828
5308
|
"flux.cancel": "Cancel",
|
|
4829
5309
|
"flux.comingSoon": "Coming soon",
|
|
@@ -4875,7 +5355,9 @@ const english = {
|
|
|
4875
5355
|
"flux.timezoneIndian": "Indian",
|
|
4876
5356
|
"flux.timezonePacific": "Pacific"
|
|
4877
5357
|
};
|
|
4878
|
-
|
|
5358
|
+
//#endregion
|
|
5359
|
+
//#region src/data/iconRegistry.ts
|
|
5360
|
+
var iconRegistry = {};
|
|
4879
5361
|
function fluxRegisterIcons(icons) {
|
|
4880
5362
|
iconRegistry = Object.keys(icons).reduce((acc, key) => {
|
|
4881
5363
|
if (!icons[key]) return acc;
|
|
@@ -4885,6 +5367,8 @@ function fluxRegisterIcons(icons) {
|
|
|
4885
5367
|
return acc;
|
|
4886
5368
|
}, {});
|
|
4887
5369
|
}
|
|
5370
|
+
//#endregion
|
|
5371
|
+
//#region src/data/store.ts
|
|
4888
5372
|
var DEFAULT_SNACKBAR_DURATION = 6e3;
|
|
4889
5373
|
var state = reactive({
|
|
4890
5374
|
dialogCount: 0,
|
|
@@ -5043,6 +5527,8 @@ function useFluxStore() {
|
|
|
5043
5527
|
function promiseToVoidFunction(fn) {
|
|
5044
5528
|
return (...args) => fn(...args);
|
|
5045
5529
|
}
|
|
5530
|
+
//#endregion
|
|
5531
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/core/utils.js
|
|
5046
5532
|
/** Checks if value is string */
|
|
5047
5533
|
function isString(str) {
|
|
5048
5534
|
return typeof str === "string" || str instanceof String;
|
|
@@ -5100,6 +5586,8 @@ function objectIncludes(b, a) {
|
|
|
5100
5586
|
} else if (a && b && typeof a === "function" && typeof b === "function") return a.toString() === b.toString();
|
|
5101
5587
|
return false;
|
|
5102
5588
|
}
|
|
5589
|
+
//#endregion
|
|
5590
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/core/action-details.js
|
|
5103
5591
|
/** Provides details of changing input */
|
|
5104
5592
|
var ActionDetails = class {
|
|
5105
5593
|
/** Current input value */
|
|
@@ -5146,10 +5634,14 @@ var ActionDetails = class {
|
|
|
5146
5634
|
return (this.oldSelection.end === this.cursorPos || this.oldSelection.start === this.cursorPos) && this.oldSelection.end === this.oldSelection.start ? DIRECTION.RIGHT : DIRECTION.LEFT;
|
|
5147
5635
|
}
|
|
5148
5636
|
};
|
|
5637
|
+
//#endregion
|
|
5638
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/core/holder.js
|
|
5149
5639
|
/** Applies mask on element */
|
|
5150
5640
|
function IMask(el, opts) {
|
|
5151
5641
|
return new IMask.InputMask(el, opts);
|
|
5152
5642
|
}
|
|
5643
|
+
//#endregion
|
|
5644
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/masked/factory.js
|
|
5153
5645
|
/** Get Masked class by mask type */
|
|
5154
5646
|
function maskedClass(mask) {
|
|
5155
5647
|
if (mask == null) throw new Error("mask property should be defined");
|
|
@@ -5196,6 +5688,8 @@ function createMask(opts) {
|
|
|
5196
5688
|
return new MaskedClass(nOpts);
|
|
5197
5689
|
}
|
|
5198
5690
|
IMask.createMask = createMask;
|
|
5691
|
+
//#endregion
|
|
5692
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/controls/mask-element.js
|
|
5199
5693
|
/** Generic element API to use with mask */
|
|
5200
5694
|
var MaskElement = class {
|
|
5201
5695
|
/** */
|
|
@@ -5230,6 +5724,8 @@ var MaskElement = class {
|
|
|
5230
5724
|
}
|
|
5231
5725
|
};
|
|
5232
5726
|
IMask.MaskElement = MaskElement;
|
|
5727
|
+
//#endregion
|
|
5728
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/controls/html-mask-element.js
|
|
5233
5729
|
var KEY_Z = 90;
|
|
5234
5730
|
var KEY_Y = 89;
|
|
5235
5731
|
/** Bridge between HTMLElement and {@link Masked} */
|
|
@@ -5304,6 +5800,8 @@ var HTMLMaskElement = class extends MaskElement {
|
|
|
5304
5800
|
}
|
|
5305
5801
|
};
|
|
5306
5802
|
IMask.HTMLMaskElement = HTMLMaskElement;
|
|
5803
|
+
//#endregion
|
|
5804
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/controls/html-input-mask-element.js
|
|
5307
5805
|
/** Bridge between InputElement and {@link Masked} */
|
|
5308
5806
|
var HTMLInputMaskElement = class extends HTMLMaskElement {
|
|
5309
5807
|
/** InputElement to use mask on */
|
|
@@ -5331,6 +5829,8 @@ var HTMLInputMaskElement = class extends HTMLMaskElement {
|
|
|
5331
5829
|
}
|
|
5332
5830
|
};
|
|
5333
5831
|
IMask.HTMLMaskElement = HTMLMaskElement;
|
|
5832
|
+
//#endregion
|
|
5833
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/controls/html-contenteditable-mask-element.js
|
|
5334
5834
|
var HTMLContenteditableMaskElement = class extends HTMLMaskElement {
|
|
5335
5835
|
/** Returns HTMLElement selection start */
|
|
5336
5836
|
get _unsafeSelectionStart() {
|
|
@@ -5372,6 +5872,8 @@ var HTMLContenteditableMaskElement = class extends HTMLMaskElement {
|
|
|
5372
5872
|
}
|
|
5373
5873
|
};
|
|
5374
5874
|
IMask.HTMLContenteditableMaskElement = HTMLContenteditableMaskElement;
|
|
5875
|
+
//#endregion
|
|
5876
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/controls/input-history.js
|
|
5375
5877
|
var InputHistory = class InputHistory {
|
|
5376
5878
|
constructor() {
|
|
5377
5879
|
this.states = [];
|
|
@@ -5405,6 +5907,8 @@ var InputHistory = class InputHistory {
|
|
|
5405
5907
|
}
|
|
5406
5908
|
};
|
|
5407
5909
|
InputHistory.MAX_LENGTH = 100;
|
|
5910
|
+
//#endregion
|
|
5911
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/controls/input.js
|
|
5408
5912
|
/** Listens to element events and controls changes between element and {@link Masked} */
|
|
5409
5913
|
var InputMask = class {
|
|
5410
5914
|
/**
|
|
@@ -5691,6 +6195,8 @@ var InputMask = class {
|
|
|
5691
6195
|
}
|
|
5692
6196
|
};
|
|
5693
6197
|
IMask.InputMask = InputMask;
|
|
6198
|
+
//#endregion
|
|
6199
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/core/change-details.js
|
|
5694
6200
|
/** Provides details of changing model value */
|
|
5695
6201
|
var ChangeDetails = class ChangeDetails {
|
|
5696
6202
|
/** Inserted symbols */
|
|
@@ -5728,6 +6234,8 @@ var ChangeDetails = class ChangeDetails {
|
|
|
5728
6234
|
}
|
|
5729
6235
|
};
|
|
5730
6236
|
IMask.ChangeDetails = ChangeDetails;
|
|
6237
|
+
//#endregion
|
|
6238
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/core/continuous-tail-details.js
|
|
5731
6239
|
/** Provides details of continuous extracted tail */
|
|
5732
6240
|
var ContinuousTailDetails = class {
|
|
5733
6241
|
/** Tail value as string */
|
|
@@ -5772,6 +6280,8 @@ var ContinuousTailDetails = class {
|
|
|
5772
6280
|
return shiftChar;
|
|
5773
6281
|
}
|
|
5774
6282
|
};
|
|
6283
|
+
//#endregion
|
|
6284
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/masked/base.js
|
|
5775
6285
|
/** Append flags */
|
|
5776
6286
|
/** Extract flags */
|
|
5777
6287
|
/** Provides common masking stuff */
|
|
@@ -6066,6 +6576,8 @@ Masked.EMPTY_VALUES = [
|
|
|
6066
6576
|
""
|
|
6067
6577
|
];
|
|
6068
6578
|
IMask.Masked = Masked;
|
|
6579
|
+
//#endregion
|
|
6580
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/masked/pattern/chunk-tail-details.js
|
|
6069
6581
|
var ChunksTailDetails = class ChunksTailDetails {
|
|
6070
6582
|
/** */
|
|
6071
6583
|
constructor(chunks, from) {
|
|
@@ -6167,6 +6679,8 @@ var ChunksTailDetails = class ChunksTailDetails {
|
|
|
6167
6679
|
return "";
|
|
6168
6680
|
}
|
|
6169
6681
|
};
|
|
6682
|
+
//#endregion
|
|
6683
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/masked/pattern/cursor.js
|
|
6170
6684
|
var PatternCursor = class {
|
|
6171
6685
|
constructor(masked, pos) {
|
|
6172
6686
|
this.masked = masked;
|
|
@@ -6273,6 +6787,8 @@ var PatternCursor = class {
|
|
|
6273
6787
|
});
|
|
6274
6788
|
}
|
|
6275
6789
|
};
|
|
6790
|
+
//#endregion
|
|
6791
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/masked/pattern/fixed-definition.js
|
|
6276
6792
|
var PatternFixedDefinition = class {
|
|
6277
6793
|
/** */
|
|
6278
6794
|
/** */
|
|
@@ -6387,6 +6903,8 @@ var PatternFixedDefinition = class {
|
|
|
6387
6903
|
return this._appendPlaceholder();
|
|
6388
6904
|
}
|
|
6389
6905
|
};
|
|
6906
|
+
//#endregion
|
|
6907
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/masked/pattern/input-definition.js
|
|
6390
6908
|
var PatternInputDefinition = class {
|
|
6391
6909
|
/** */
|
|
6392
6910
|
/** */
|
|
@@ -6525,6 +7043,8 @@ PatternInputDefinition.DEFAULT_DEFINITIONS = {
|
|
|
6525
7043
|
"a": /[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,
|
|
6526
7044
|
"*": /./
|
|
6527
7045
|
};
|
|
7046
|
+
//#endregion
|
|
7047
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/masked/regexp.js
|
|
6528
7048
|
/** Masking by RegExp */
|
|
6529
7049
|
var MaskedRegExp = class extends Masked {
|
|
6530
7050
|
/** */
|
|
@@ -6542,6 +7062,8 @@ var MaskedRegExp = class extends Masked {
|
|
|
6542
7062
|
}
|
|
6543
7063
|
};
|
|
6544
7064
|
IMask.MaskedRegExp = MaskedRegExp;
|
|
7065
|
+
//#endregion
|
|
7066
|
+
//#region ../../node_modules/.bun/imask@7.6.1/node_modules/imask/esm/masked/pattern.js
|
|
6545
7067
|
/** Pattern mask */
|
|
6546
7068
|
var MaskedPattern = class MaskedPattern extends Masked {
|
|
6547
7069
|
/** */
|
|
@@ -6920,6 +7442,8 @@ MaskedPattern.ESCAPE_CHAR = "\\";
|
|
|
6920
7442
|
MaskedPattern.InputDefinition = PatternInputDefinition;
|
|
6921
7443
|
MaskedPattern.FixedDefinition = PatternFixedDefinition;
|
|
6922
7444
|
IMask.MaskedPattern = MaskedPattern;
|
|
7445
|
+
//#endregion
|
|
7446
|
+
//#region src/data/inputMask.ts
|
|
6923
7447
|
var inputMask_exports = /* @__PURE__ */ __exportAll({
|
|
6924
7448
|
bic: () => bic,
|
|
6925
7449
|
iban: () => iban,
|
|
@@ -6946,13 +7470,19 @@ function vat(element) {
|
|
|
6946
7470
|
prepareChar: (str) => str.toUpperCase()
|
|
6947
7471
|
});
|
|
6948
7472
|
}
|
|
7473
|
+
//#endregion
|
|
7474
|
+
//#region src/composable/useDisabledInjection.ts
|
|
6949
7475
|
function useDisabledInjection_default() {
|
|
6950
7476
|
return inject(FluxDisabledInjectionKey, ref(false));
|
|
6951
7477
|
}
|
|
7478
|
+
//#endregion
|
|
7479
|
+
//#region src/composable/useDisabled.ts
|
|
6952
7480
|
function useDisabled_default(componentDisabled) {
|
|
6953
7481
|
const treeDisabled = useDisabledInjection_default();
|
|
6954
7482
|
return computed(() => unref(componentDisabled) || unref(treeDisabled));
|
|
6955
7483
|
}
|
|
7484
|
+
//#endregion
|
|
7485
|
+
//#region src/composable/useExpandableGroupInjection.ts
|
|
6956
7486
|
function useExpandableGroupInjection_default() {
|
|
6957
7487
|
return inject(FluxExpandableGroupInjectionKey, {
|
|
6958
7488
|
closeAll: () => void 0,
|
|
@@ -6960,6 +7490,8 @@ function useExpandableGroupInjection_default() {
|
|
|
6960
7490
|
unregister: () => void 0
|
|
6961
7491
|
});
|
|
6962
7492
|
}
|
|
7493
|
+
//#endregion
|
|
7494
|
+
//#region src/composable/useFilterInjection.ts
|
|
6963
7495
|
function useFilterInjection_default() {
|
|
6964
7496
|
return inject(FluxFilterInjectionKey, {
|
|
6965
7497
|
state: ref({}),
|
|
@@ -6970,6 +7502,8 @@ function useFilterInjection_default() {
|
|
|
6970
7502
|
setValue: () => void 0
|
|
6971
7503
|
});
|
|
6972
7504
|
}
|
|
7505
|
+
//#endregion
|
|
7506
|
+
//#region src/composable/useFlyoutInjection.ts
|
|
6973
7507
|
function useFlyoutInjection_default() {
|
|
6974
7508
|
return inject(FluxFlyoutInjectionKey, {
|
|
6975
7509
|
isClosing: ref(false),
|
|
@@ -6977,9 +7511,13 @@ function useFlyoutInjection_default() {
|
|
|
6977
7511
|
isOpening: ref(false)
|
|
6978
7512
|
});
|
|
6979
7513
|
}
|
|
7514
|
+
//#endregion
|
|
7515
|
+
//#region src/composable/useFormFieldInjection.ts
|
|
6980
7516
|
function useFormFieldInjection_default() {
|
|
6981
7517
|
return inject(FluxFormFieldInjectionKey, { id: useId() });
|
|
6982
7518
|
}
|
|
7519
|
+
//#endregion
|
|
7520
|
+
//#region src/composable/useTableInjection.ts
|
|
6983
7521
|
function useTableInjection_default() {
|
|
6984
7522
|
return inject(FluxTableInjectionKey, {
|
|
6985
7523
|
isBordered: false,
|
|
@@ -6988,6 +7526,8 @@ function useTableInjection_default() {
|
|
|
6988
7526
|
isStriped: false
|
|
6989
7527
|
});
|
|
6990
7528
|
}
|
|
7529
|
+
//#endregion
|
|
7530
|
+
//#region src/composable/useTooltipInjection.ts
|
|
6991
7531
|
function useTooltipInjection_default() {
|
|
6992
7532
|
return inject(FluxTooltipInjectionKey, { calculate: () => void 0 });
|
|
6993
7533
|
}
|
|
@@ -6999,6 +7539,8 @@ var Pane_module_default$1 = {
|
|
|
6999
7539
|
form: `form`,
|
|
7000
7540
|
paneHeader: `pane-header`
|
|
7001
7541
|
};
|
|
7542
|
+
//#endregion
|
|
7543
|
+
//#region src/css/component/Icon.module.scss
|
|
7002
7544
|
var { "basePane": _0$16 } = Pane_module_default$1;
|
|
7003
7545
|
var Icon_module_default = {
|
|
7004
7546
|
icon: `icon`,
|
|
@@ -7013,8 +7555,12 @@ var Icon_module_default = {
|
|
|
7013
7555
|
iconBoxedSuccess: `icon-boxed-success icon-boxed-colored icon-boxed ${_0$16}`,
|
|
7014
7556
|
iconBoxedWarning: `icon-boxed-warning icon-boxed-colored icon-boxed ${_0$16}`
|
|
7015
7557
|
};
|
|
7016
|
-
|
|
7017
|
-
|
|
7558
|
+
//#endregion
|
|
7559
|
+
//#region src/component/FluxIcon.vue?vue&type=script&setup=true&lang.ts
|
|
7560
|
+
var _hoisted_1$46 = ["viewBox"];
|
|
7561
|
+
var _hoisted_2$21 = ["d"];
|
|
7562
|
+
//#endregion
|
|
7563
|
+
//#region src/component/FluxIcon.vue
|
|
7018
7564
|
var FluxIcon_default = /* @__PURE__ */ defineComponent({
|
|
7019
7565
|
__name: "FluxIcon",
|
|
7020
7566
|
props: {
|
|
@@ -7056,19 +7602,23 @@ var FluxIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
7056
7602
|
return openBlock(), createElementBlock("path", {
|
|
7057
7603
|
d: path,
|
|
7058
7604
|
fill: "currentColor"
|
|
7059
|
-
}, null, 8, _hoisted_2$
|
|
7060
|
-
}), 256))], 14, _hoisted_1$
|
|
7605
|
+
}, null, 8, _hoisted_2$21);
|
|
7606
|
+
}), 256))], 14, _hoisted_1$46)) : (openBlock(), createElementBlock("i", {
|
|
7061
7607
|
key: 1,
|
|
7062
7608
|
class: normalizeClass(unref(Icon_module_default).icon)
|
|
7063
7609
|
}, null, 2));
|
|
7064
7610
|
};
|
|
7065
7611
|
}
|
|
7066
7612
|
});
|
|
7067
|
-
|
|
7613
|
+
//#endregion
|
|
7614
|
+
//#region src/component/FluxPressable.vue?vue&type=script&setup=true&lang.ts
|
|
7615
|
+
var _hoisted_1$45 = [
|
|
7068
7616
|
"href",
|
|
7069
7617
|
"rel",
|
|
7070
7618
|
"target"
|
|
7071
7619
|
];
|
|
7620
|
+
//#endregion
|
|
7621
|
+
//#region src/component/FluxPressable.vue
|
|
7072
7622
|
var FluxPressable_default = /* @__PURE__ */ defineComponent({
|
|
7073
7623
|
__name: "FluxPressable",
|
|
7074
7624
|
props: {
|
|
@@ -7084,8 +7634,11 @@ var FluxPressable_default = /* @__PURE__ */ defineComponent({
|
|
|
7084
7634
|
"mouseleave"
|
|
7085
7635
|
],
|
|
7086
7636
|
setup(__props, { emit: __emit, attrs: $attrs }) {
|
|
7087
|
-
const $emit = __emit;
|
|
7088
7637
|
const emit = __emit;
|
|
7638
|
+
const hoverListeners = {
|
|
7639
|
+
onMouseenter: (evt) => emit("mouseenter", evt),
|
|
7640
|
+
onMouseleave: (evt) => emit("mouseleave", evt)
|
|
7641
|
+
};
|
|
7089
7642
|
function onClick(evt, navigate) {
|
|
7090
7643
|
emit("click", evt);
|
|
7091
7644
|
if (evt.defaultPrevented) return;
|
|
@@ -7093,13 +7646,11 @@ var FluxPressable_default = /* @__PURE__ */ defineComponent({
|
|
|
7093
7646
|
}
|
|
7094
7647
|
return (_ctx, _cache) => {
|
|
7095
7648
|
const _component_router_link = resolveComponent("router-link");
|
|
7096
|
-
return __props.componentType === "route" ? (openBlock(), createBlock(_component_router_link, mergeProps({ key: 0 }, $attrs, {
|
|
7649
|
+
return __props.componentType === "route" ? (openBlock(), createBlock(_component_router_link, mergeProps({ key: 0 }, $attrs, toHandlers(hoverListeners), {
|
|
7097
7650
|
rel: __props.rel,
|
|
7098
7651
|
target: __props.target,
|
|
7099
7652
|
to: __props.to,
|
|
7100
|
-
onClick: _cache[0] || (_cache[0] = ($event) => onClick($event))
|
|
7101
|
-
onMouseenter: _cache[1] || (_cache[1] = ($event) => $emit("mouseenter", $event)),
|
|
7102
|
-
onMouseleave: _cache[2] || (_cache[2] = ($event) => $emit("mouseleave", $event))
|
|
7653
|
+
onClick: _cache[0] || (_cache[0] = ($event) => onClick($event))
|
|
7103
7654
|
}), {
|
|
7104
7655
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
7105
7656
|
_: 3
|
|
@@ -7107,22 +7658,12 @@ var FluxPressable_default = /* @__PURE__ */ defineComponent({
|
|
|
7107
7658
|
"rel",
|
|
7108
7659
|
"target",
|
|
7109
7660
|
"to"
|
|
7110
|
-
])) : __props.componentType === "link" ? (openBlock(), createElementBlock("a", mergeProps({ key: 1 }, $attrs, {
|
|
7661
|
+
])) : __props.componentType === "link" ? (openBlock(), createElementBlock("a", mergeProps({ key: 1 }, $attrs, toHandlers(hoverListeners, true), {
|
|
7111
7662
|
href: __props.href,
|
|
7112
7663
|
rel: __props.rel,
|
|
7113
7664
|
target: __props.target,
|
|
7114
|
-
onClick: _cache[
|
|
7115
|
-
|
|
7116
|
-
onMouseleave: _cache[5] || (_cache[5] = ($event) => $emit("mouseleave", $event))
|
|
7117
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$43)) : __props.componentType === "button" ? (openBlock(), createElementBlock("button", mergeProps({ key: 2 }, $attrs, {
|
|
7118
|
-
onClick: _cache[6] || (_cache[6] = ($event) => onClick($event)),
|
|
7119
|
-
onMouseenter: _cache[7] || (_cache[7] = ($event) => $emit("mouseenter", $event)),
|
|
7120
|
-
onMouseleave: _cache[8] || (_cache[8] = ($event) => $emit("mouseleave", $event))
|
|
7121
|
-
}), [renderSlot(_ctx.$slots, "default")], 16)) : (openBlock(), createElementBlock("div", mergeProps({ key: 3 }, $attrs, {
|
|
7122
|
-
onClick,
|
|
7123
|
-
onMouseenter: _cache[9] || (_cache[9] = ($event) => $emit("mouseenter", $event)),
|
|
7124
|
-
onMouseleave: _cache[10] || (_cache[10] = ($event) => $emit("mouseleave", $event))
|
|
7125
|
-
}), [renderSlot(_ctx.$slots, "default")], 16));
|
|
7665
|
+
onClick: _cache[1] || (_cache[1] = ($event) => onClick($event))
|
|
7666
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$45)) : __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));
|
|
7126
7667
|
};
|
|
7127
7668
|
}
|
|
7128
7669
|
});
|
|
@@ -7132,6 +7673,8 @@ var Spinner_module_default = {
|
|
|
7132
7673
|
spinnerEffect: `spinner-effect`,
|
|
7133
7674
|
spinnerValue: `spinner-value`
|
|
7134
7675
|
};
|
|
7676
|
+
//#endregion
|
|
7677
|
+
//#region src/component/FluxSpinner.vue
|
|
7135
7678
|
var FluxSpinner_default = /* @__PURE__ */ defineComponent({
|
|
7136
7679
|
__name: "FluxSpinner",
|
|
7137
7680
|
props: { size: {} },
|
|
@@ -7187,7 +7730,9 @@ var Button_module_default$1 = {
|
|
|
7187
7730
|
buttonLabel: `button-label`,
|
|
7188
7731
|
badge: `badge`
|
|
7189
7732
|
};
|
|
7190
|
-
|
|
7733
|
+
//#endregion
|
|
7734
|
+
//#region src/component/FluxButton.vue?vue&type=script&setup=true&lang.ts
|
|
7735
|
+
var SLOTS = [
|
|
7191
7736
|
"default",
|
|
7192
7737
|
"after",
|
|
7193
7738
|
"before",
|
|
@@ -7195,6 +7740,8 @@ const SLOTS = [
|
|
|
7195
7740
|
"iconTrailing",
|
|
7196
7741
|
"label"
|
|
7197
7742
|
];
|
|
7743
|
+
//#endregion
|
|
7744
|
+
//#region src/component/FluxButton.vue
|
|
7198
7745
|
var FluxButton_default = /* @__PURE__ */ defineComponent({
|
|
7199
7746
|
__name: "FluxButton",
|
|
7200
7747
|
props: {
|
|
@@ -7294,6 +7841,8 @@ var FluxButton_default = /* @__PURE__ */ defineComponent({
|
|
|
7294
7841
|
};
|
|
7295
7842
|
}
|
|
7296
7843
|
});
|
|
7844
|
+
//#endregion
|
|
7845
|
+
//#region src/css/component/Action.module.scss
|
|
7297
7846
|
var { "button": _0$15, "buttonIcon": _1$8, "buttonLabel": _2$5 } = Button_module_default$1;
|
|
7298
7847
|
var Action_module_default = {
|
|
7299
7848
|
action: `action ${_0$15}`,
|
|
@@ -7311,6 +7860,8 @@ var Action_module_default = {
|
|
|
7311
7860
|
actionPaneBody: `action-pane-body`,
|
|
7312
7861
|
paneBody: `pane-body`
|
|
7313
7862
|
};
|
|
7863
|
+
//#endregion
|
|
7864
|
+
//#region src/component/FluxAction.vue
|
|
7314
7865
|
var FluxAction_default = /* @__PURE__ */ defineComponent({
|
|
7315
7866
|
__name: "FluxAction",
|
|
7316
7867
|
props: {
|
|
@@ -7362,6 +7913,8 @@ var FluxAction_default = /* @__PURE__ */ defineComponent({
|
|
|
7362
7913
|
};
|
|
7363
7914
|
}
|
|
7364
7915
|
});
|
|
7916
|
+
//#endregion
|
|
7917
|
+
//#region src/css/component/Button.module.scss
|
|
7365
7918
|
var { "button": _0$14, "buttonIcon": _1$7, "buttonLabel": _2$4 } = Button_module_default$1;
|
|
7366
7919
|
var Button_module_default = {
|
|
7367
7920
|
primaryButton: `primary-button ${_0$14}`,
|
|
@@ -7402,6 +7955,8 @@ var Button_module_default = {
|
|
|
7402
7955
|
buttonGroup: `button-group`,
|
|
7403
7956
|
button: `button`
|
|
7404
7957
|
};
|
|
7958
|
+
//#endregion
|
|
7959
|
+
//#region src/component/FluxButtonGroup.vue
|
|
7405
7960
|
var FluxButtonGroup_default = /* @__PURE__ */ defineComponent({
|
|
7406
7961
|
__name: "FluxButtonGroup",
|
|
7407
7962
|
setup(__props) {
|
|
@@ -7410,6 +7965,8 @@ var FluxButtonGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
7410
7965
|
};
|
|
7411
7966
|
}
|
|
7412
7967
|
});
|
|
7968
|
+
//#endregion
|
|
7969
|
+
//#region src/component/FluxDestructiveButton.vue
|
|
7413
7970
|
var FluxDestructiveButton_default = /* @__PURE__ */ defineComponent({
|
|
7414
7971
|
__name: "FluxDestructiveButton",
|
|
7415
7972
|
props: {
|
|
@@ -7469,6 +8026,8 @@ var FluxDestructiveButton_default = /* @__PURE__ */ defineComponent({
|
|
|
7469
8026
|
};
|
|
7470
8027
|
}
|
|
7471
8028
|
});
|
|
8029
|
+
//#endregion
|
|
8030
|
+
//#region src/css/component/Pane.module.scss
|
|
7472
8031
|
var { "basePaneStructure": _0$13, "basePaneElement": _1$6, "basePaneLoader": _2$3 } = Pane_module_default$1;
|
|
7473
8032
|
var Pane_module_default = {
|
|
7474
8033
|
pane: `pane ${_0$13}`,
|
|
@@ -7496,6 +8055,8 @@ var Pane_module_default = {
|
|
|
7496
8055
|
paneIllustrationMasked: `pane-illustration-masked pane-illustration`,
|
|
7497
8056
|
iconBoxed: `icon-boxed`
|
|
7498
8057
|
};
|
|
8058
|
+
//#endregion
|
|
8059
|
+
//#region src/component/FluxPane.vue
|
|
7499
8060
|
var FluxPane_default = /* @__PURE__ */ defineComponent({
|
|
7500
8061
|
__name: "FluxPane",
|
|
7501
8062
|
props: {
|
|
@@ -7533,7 +8094,11 @@ var Flyout_module_default = {
|
|
|
7533
8094
|
mobileClose: `mobile-close`,
|
|
7534
8095
|
mobileOpen: `mobile-open`
|
|
7535
8096
|
};
|
|
7536
|
-
|
|
8097
|
+
//#endregion
|
|
8098
|
+
//#region src/component/FluxFlyout.vue?vue&type=script&setup=true&lang.ts
|
|
8099
|
+
var _hoisted_1$44 = ["onKeydown"];
|
|
8100
|
+
//#endregion
|
|
8101
|
+
//#region src/component/FluxFlyout.vue
|
|
7537
8102
|
var FluxFlyout_default = /* @__PURE__ */ defineComponent({
|
|
7538
8103
|
__name: "FluxFlyout",
|
|
7539
8104
|
props: {
|
|
@@ -7667,10 +8232,12 @@ var FluxFlyout_default = /* @__PURE__ */ defineComponent({
|
|
|
7667
8232
|
openerHeight: openerHeight.value
|
|
7668
8233
|
})))]),
|
|
7669
8234
|
_: 3
|
|
7670
|
-
}, 8, ["class", "style"])) : createCommentVNode("", true)], 42, _hoisted_1$
|
|
8235
|
+
}, 8, ["class", "style"])) : createCommentVNode("", true)], 42, _hoisted_1$44)], 6);
|
|
7671
8236
|
};
|
|
7672
8237
|
}
|
|
7673
8238
|
});
|
|
8239
|
+
//#endregion
|
|
8240
|
+
//#region src/component/FluxSecondaryButton.vue
|
|
7674
8241
|
var FluxSecondaryButton_default = /* @__PURE__ */ defineComponent({
|
|
7675
8242
|
__name: "FluxSecondaryButton",
|
|
7676
8243
|
props: {
|
|
@@ -7730,6 +8297,8 @@ var FluxSecondaryButton_default = /* @__PURE__ */ defineComponent({
|
|
|
7730
8297
|
};
|
|
7731
8298
|
}
|
|
7732
8299
|
});
|
|
8300
|
+
//#endregion
|
|
8301
|
+
//#region src/css/component/Layout.module.scss
|
|
7733
8302
|
var { "baseAutoGrid": _0$12 } = { baseAutoGrid: `base-auto-grid` };
|
|
7734
8303
|
var Layout_module_default = {
|
|
7735
8304
|
aspectRatio: `aspect-ratio`,
|
|
@@ -7743,6 +8312,8 @@ var Layout_module_default = {
|
|
|
7743
8312
|
stackHorizontal: `stack-horizontal stack`,
|
|
7744
8313
|
stackVertical: `stack-vertical stack`
|
|
7745
8314
|
};
|
|
8315
|
+
//#endregion
|
|
8316
|
+
//#region src/component/FluxSpacer.vue
|
|
7746
8317
|
var FluxSpacer_default = /* @__PURE__ */ defineComponent({
|
|
7747
8318
|
__name: "FluxSpacer",
|
|
7748
8319
|
setup(__props) {
|
|
@@ -7751,6 +8322,8 @@ var FluxSpacer_default = /* @__PURE__ */ defineComponent({
|
|
|
7751
8322
|
};
|
|
7752
8323
|
}
|
|
7753
8324
|
});
|
|
8325
|
+
//#endregion
|
|
8326
|
+
//#region src/component/FluxStack.vue
|
|
7754
8327
|
var FluxStack_default = /* @__PURE__ */ defineComponent({
|
|
7755
8328
|
__name: "FluxStack",
|
|
7756
8329
|
props: {
|
|
@@ -7773,6 +8346,8 @@ var FluxStack_default = /* @__PURE__ */ defineComponent({
|
|
|
7773
8346
|
};
|
|
7774
8347
|
}
|
|
7775
8348
|
});
|
|
8349
|
+
//#endregion
|
|
8350
|
+
//#region src/component/FluxTooltip.vue
|
|
7776
8351
|
var FluxTooltip_default = defineComponent({
|
|
7777
8352
|
props: {
|
|
7778
8353
|
content: String,
|
|
@@ -7811,6 +8386,8 @@ var FluxTooltip_default = defineComponent({
|
|
|
7811
8386
|
return () => (slots.default?.() ?? [])[0] ?? null;
|
|
7812
8387
|
}
|
|
7813
8388
|
});
|
|
8389
|
+
//#endregion
|
|
8390
|
+
//#region src/component/FluxActionBar.vue
|
|
7814
8391
|
var FluxActionBar_default = /* @__PURE__ */ defineComponent({
|
|
7815
8392
|
__name: "FluxActionBar",
|
|
7816
8393
|
props: { isResettable: { type: Boolean } },
|
|
@@ -7869,6 +8446,8 @@ var FluxActionBar_default = /* @__PURE__ */ defineComponent({
|
|
|
7869
8446
|
};
|
|
7870
8447
|
}
|
|
7871
8448
|
});
|
|
8449
|
+
//#endregion
|
|
8450
|
+
//#region src/component/FluxButtonStack.vue
|
|
7872
8451
|
var FluxButtonStack_default = /* @__PURE__ */ defineComponent({
|
|
7873
8452
|
__name: "FluxButtonStack",
|
|
7874
8453
|
props: {
|
|
@@ -7893,6 +8472,8 @@ var FluxButtonStack_default = /* @__PURE__ */ defineComponent({
|
|
|
7893
8472
|
};
|
|
7894
8473
|
}
|
|
7895
8474
|
});
|
|
8475
|
+
//#endregion
|
|
8476
|
+
//#region src/component/FluxPaneBody.vue
|
|
7896
8477
|
var FluxPaneBody_default = /* @__PURE__ */ defineComponent({
|
|
7897
8478
|
__name: "FluxPaneBody",
|
|
7898
8479
|
setup(__props) {
|
|
@@ -7901,6 +8482,8 @@ var FluxPaneBody_default = /* @__PURE__ */ defineComponent({
|
|
|
7901
8482
|
};
|
|
7902
8483
|
}
|
|
7903
8484
|
});
|
|
8485
|
+
//#endregion
|
|
8486
|
+
//#region src/component/FluxActionPane.vue
|
|
7904
8487
|
var FluxActionPane_default = /* @__PURE__ */ defineComponent({
|
|
7905
8488
|
__name: "FluxActionPane",
|
|
7906
8489
|
props: { paneVariant: {} },
|
|
@@ -7929,6 +8512,8 @@ var FluxActionPane_default = /* @__PURE__ */ defineComponent({
|
|
|
7929
8512
|
};
|
|
7930
8513
|
}
|
|
7931
8514
|
});
|
|
8515
|
+
//#endregion
|
|
8516
|
+
//#region src/component/FluxActions.vue
|
|
7932
8517
|
var FluxActions_default = /* @__PURE__ */ defineComponent({
|
|
7933
8518
|
__name: "FluxActions",
|
|
7934
8519
|
setup(__props) {
|
|
@@ -7955,6 +8540,8 @@ var Visual_module_default = {
|
|
|
7955
8540
|
borderShine: `border-shine`,
|
|
7956
8541
|
borderShinePosition: `border-shine-position`
|
|
7957
8542
|
};
|
|
8543
|
+
//#endregion
|
|
8544
|
+
//#region src/component/FluxAnimatedColors.vue
|
|
7958
8545
|
var FluxAnimatedColors_default = /* @__PURE__ */ defineComponent({
|
|
7959
8546
|
__name: "FluxAnimatedColors",
|
|
7960
8547
|
props: {
|
|
@@ -8055,6 +8642,8 @@ var FluxAnimatedColors_default = /* @__PURE__ */ defineComponent({
|
|
|
8055
8642
|
};
|
|
8056
8643
|
}
|
|
8057
8644
|
});
|
|
8645
|
+
//#endregion
|
|
8646
|
+
//#region src/component/FluxAspectRatio.vue
|
|
8058
8647
|
var FluxAspectRatio_default = /* @__PURE__ */ defineComponent({
|
|
8059
8648
|
__name: "FluxAspectRatio",
|
|
8060
8649
|
props: { aspectRatio: {} },
|
|
@@ -8067,6 +8656,8 @@ var FluxAspectRatio_default = /* @__PURE__ */ defineComponent({
|
|
|
8067
8656
|
};
|
|
8068
8657
|
}
|
|
8069
8658
|
});
|
|
8659
|
+
//#endregion
|
|
8660
|
+
//#region src/component/FluxAutoGrid.vue
|
|
8070
8661
|
var FluxAutoGrid_default = /* @__PURE__ */ defineComponent({
|
|
8071
8662
|
__name: "FluxAutoGrid",
|
|
8072
8663
|
props: {
|
|
@@ -8085,6 +8676,8 @@ var FluxAutoGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
8085
8676
|
};
|
|
8086
8677
|
}
|
|
8087
8678
|
});
|
|
8679
|
+
//#endregion
|
|
8680
|
+
//#region src/transition/FluxAutoHeightTransition.vue
|
|
8088
8681
|
var FluxAutoHeightTransition_default = /* @__PURE__ */ defineComponent({
|
|
8089
8682
|
__name: "FluxAutoHeightTransition",
|
|
8090
8683
|
setup(__props) {
|
|
@@ -8126,6 +8719,8 @@ var FluxAutoHeightTransition_default = /* @__PURE__ */ defineComponent({
|
|
|
8126
8719
|
};
|
|
8127
8720
|
}
|
|
8128
8721
|
});
|
|
8722
|
+
//#endregion
|
|
8723
|
+
//#region src/transition/FluxAutoWidthTransition.vue
|
|
8129
8724
|
var FluxAutoWidthTransition_default = /* @__PURE__ */ defineComponent({
|
|
8130
8725
|
__name: "FluxAutoWidthTransition",
|
|
8131
8726
|
setup(__props) {
|
|
@@ -8211,6 +8806,8 @@ var Transition_module_default = {
|
|
|
8211
8806
|
windowTransitionBackEnterFrom: `window-transition-back-enter-from`,
|
|
8212
8807
|
windowTransitionLeaveTo: `window-transition-leave-to`
|
|
8213
8808
|
};
|
|
8809
|
+
//#endregion
|
|
8810
|
+
//#region src/transition/FluxBreakthroughTransition.vue
|
|
8214
8811
|
var FluxBreakthroughTransition_default = /* @__PURE__ */ defineComponent({
|
|
8215
8812
|
__name: "FluxBreakthroughTransition",
|
|
8216
8813
|
props: {
|
|
@@ -8238,6 +8835,8 @@ var FluxBreakthroughTransition_default = /* @__PURE__ */ defineComponent({
|
|
|
8238
8835
|
};
|
|
8239
8836
|
}
|
|
8240
8837
|
});
|
|
8838
|
+
//#endregion
|
|
8839
|
+
//#region src/transition/FluxFadeTransition.vue
|
|
8241
8840
|
var FluxFadeTransition_default = /* @__PURE__ */ defineComponent({
|
|
8242
8841
|
__name: "FluxFadeTransition",
|
|
8243
8842
|
props: { mode: { default: "out-in" } },
|
|
@@ -8266,6 +8865,8 @@ var FluxFadeTransition_default = /* @__PURE__ */ defineComponent({
|
|
|
8266
8865
|
};
|
|
8267
8866
|
}
|
|
8268
8867
|
});
|
|
8868
|
+
//#endregion
|
|
8869
|
+
//#region src/transition/FluxOverlayTransition.vue
|
|
8269
8870
|
var FluxOverlayTransition_default = /* @__PURE__ */ defineComponent({
|
|
8270
8871
|
__name: "FluxOverlayTransition",
|
|
8271
8872
|
props: { mode: { default: "out-in" } },
|
|
@@ -8290,6 +8891,8 @@ var FluxOverlayTransition_default = /* @__PURE__ */ defineComponent({
|
|
|
8290
8891
|
};
|
|
8291
8892
|
}
|
|
8292
8893
|
});
|
|
8894
|
+
//#endregion
|
|
8895
|
+
//#region src/transition/FluxRouteTransition.vue
|
|
8293
8896
|
var FluxRouteTransition_default = /* @__PURE__ */ defineComponent({
|
|
8294
8897
|
__name: "FluxRouteTransition",
|
|
8295
8898
|
props: {
|
|
@@ -8317,6 +8920,8 @@ var FluxRouteTransition_default = /* @__PURE__ */ defineComponent({
|
|
|
8317
8920
|
};
|
|
8318
8921
|
}
|
|
8319
8922
|
});
|
|
8923
|
+
//#endregion
|
|
8924
|
+
//#region src/transition/FluxSlideOverTransition.vue
|
|
8320
8925
|
var FluxSlideOverTransition_default = /* @__PURE__ */ defineComponent({
|
|
8321
8926
|
__name: "FluxSlideOverTransition",
|
|
8322
8927
|
props: { mode: { default: "out-in" } },
|
|
@@ -8341,6 +8946,8 @@ var FluxSlideOverTransition_default = /* @__PURE__ */ defineComponent({
|
|
|
8341
8946
|
};
|
|
8342
8947
|
}
|
|
8343
8948
|
});
|
|
8949
|
+
//#endregion
|
|
8950
|
+
//#region src/transition/FluxTooltipTransition.vue
|
|
8344
8951
|
var FluxTooltipTransition_default = /* @__PURE__ */ defineComponent({
|
|
8345
8952
|
__name: "FluxTooltipTransition",
|
|
8346
8953
|
props: { mode: { default: "out-in" } },
|
|
@@ -8365,6 +8972,8 @@ var FluxTooltipTransition_default = /* @__PURE__ */ defineComponent({
|
|
|
8365
8972
|
};
|
|
8366
8973
|
}
|
|
8367
8974
|
});
|
|
8975
|
+
//#endregion
|
|
8976
|
+
//#region src/transition/FluxVerticalWindowTransition.vue
|
|
8368
8977
|
var FluxVerticalWindowTransition_default = /* @__PURE__ */ defineComponent({
|
|
8369
8978
|
__name: "FluxVerticalWindowTransition",
|
|
8370
8979
|
props: {
|
|
@@ -8392,6 +9001,8 @@ var FluxVerticalWindowTransition_default = /* @__PURE__ */ defineComponent({
|
|
|
8392
9001
|
};
|
|
8393
9002
|
}
|
|
8394
9003
|
});
|
|
9004
|
+
//#endregion
|
|
9005
|
+
//#region src/transition/FluxWindowTransition.vue
|
|
8395
9006
|
var FluxWindowTransition_default = /* @__PURE__ */ defineComponent({
|
|
8396
9007
|
__name: "FluxWindowTransition",
|
|
8397
9008
|
props: {
|
|
@@ -8440,8 +9051,12 @@ var Avatar_module_default = {
|
|
|
8440
9051
|
persona: `persona`,
|
|
8441
9052
|
personaDetails: `persona-details`
|
|
8442
9053
|
};
|
|
8443
|
-
|
|
8444
|
-
|
|
9054
|
+
//#endregion
|
|
9055
|
+
//#region src/component/FluxAvatar.vue?vue&type=script&setup=true&lang.ts
|
|
9056
|
+
var _hoisted_1$43 = ["alt", "src"];
|
|
9057
|
+
var _hoisted_2$20 = { key: 0 };
|
|
9058
|
+
//#endregion
|
|
9059
|
+
//#region src/component/FluxAvatar.vue
|
|
8445
9060
|
var FluxAvatar_default = /* @__PURE__ */ defineComponent({
|
|
8446
9061
|
__name: "FluxAvatar",
|
|
8447
9062
|
props: {
|
|
@@ -8525,10 +9140,10 @@ var FluxAvatar_default = /* @__PURE__ */ defineComponent({
|
|
|
8525
9140
|
class: normalizeClass(unref(Avatar_module_default).avatarImage),
|
|
8526
9141
|
alt: __props.alt,
|
|
8527
9142
|
src: __props.src
|
|
8528
|
-
}, null, 10, _hoisted_1$
|
|
9143
|
+
}, null, 10, _hoisted_1$43)) : (openBlock(), createElementBlock("div", {
|
|
8529
9144
|
key: 1,
|
|
8530
9145
|
class: normalizeClass(__props.fallback === "colorized" ? unref(Avatar_module_default).avatarFallbackColorized : unref(Avatar_module_default).avatarFallbackNeutral)
|
|
8531
|
-
}, [__props.fallbackInitials ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
9146
|
+
}, [__props.fallbackInitials ? (openBlock(), createElementBlock("span", _hoisted_2$20, toDisplayString(__props.fallbackInitials), 1)) : __props.fallbackIcon ? (openBlock(), createBlock(FluxIcon_default, {
|
|
8532
9147
|
key: 1,
|
|
8533
9148
|
name: __props.fallbackIcon
|
|
8534
9149
|
}, null, 8, ["name"])) : createCommentVNode("", true)], 2)),
|
|
@@ -8585,6 +9200,8 @@ var Badge_module_default = {
|
|
|
8585
9200
|
tagSuccess: `tag-success badge-success badge tag badge`,
|
|
8586
9201
|
tagWarning: `tag-warning badge-warning badge tag badge`
|
|
8587
9202
|
};
|
|
9203
|
+
//#endregion
|
|
9204
|
+
//#region src/component/FluxBadge.vue
|
|
8588
9205
|
var FluxBadge_default = /* @__PURE__ */ defineComponent({
|
|
8589
9206
|
__name: "FluxBadge",
|
|
8590
9207
|
props: {
|
|
@@ -8661,6 +9278,8 @@ var FluxBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
8661
9278
|
};
|
|
8662
9279
|
}
|
|
8663
9280
|
});
|
|
9281
|
+
//#endregion
|
|
9282
|
+
//#region src/component/FluxBadgeStack.vue
|
|
8664
9283
|
var FluxBadgeStack_default = /* @__PURE__ */ defineComponent({
|
|
8665
9284
|
__name: "FluxBadgeStack",
|
|
8666
9285
|
setup(__props) {
|
|
@@ -8676,6 +9295,8 @@ var FluxBadgeStack_default = /* @__PURE__ */ defineComponent({
|
|
|
8676
9295
|
};
|
|
8677
9296
|
}
|
|
8678
9297
|
});
|
|
9298
|
+
//#endregion
|
|
9299
|
+
//#region src/component/FluxBorderShine.vue
|
|
8679
9300
|
var FluxBorderShine_default = defineComponent({
|
|
8680
9301
|
inheritAttrs: false,
|
|
8681
9302
|
props: {
|
|
@@ -8722,6 +9343,8 @@ var FluxBorderShine_default = defineComponent({
|
|
|
8722
9343
|
})));
|
|
8723
9344
|
}
|
|
8724
9345
|
});
|
|
9346
|
+
//#endregion
|
|
9347
|
+
//#region src/component/FluxBoxedIcon.vue
|
|
8725
9348
|
var FluxBoxedIcon_default = /* @__PURE__ */ defineComponent({
|
|
8726
9349
|
__name: "FluxBoxedIcon",
|
|
8727
9350
|
props: {
|
|
@@ -8739,6 +9362,8 @@ var FluxBoxedIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
8739
9362
|
};
|
|
8740
9363
|
}
|
|
8741
9364
|
});
|
|
9365
|
+
//#endregion
|
|
9366
|
+
//#region src/component/primitive/Anchor.vue
|
|
8742
9367
|
var Anchor_default = /* @__PURE__ */ defineComponent({
|
|
8743
9368
|
__name: "Anchor",
|
|
8744
9369
|
props: { tagName: {} },
|
|
@@ -8751,6 +9376,8 @@ var Anchor_default = /* @__PURE__ */ defineComponent({
|
|
|
8751
9376
|
};
|
|
8752
9377
|
}
|
|
8753
9378
|
});
|
|
9379
|
+
//#endregion
|
|
9380
|
+
//#region src/component/primitive/AnchorPopup.vue
|
|
8754
9381
|
var AnchorPopup_default = /* @__PURE__ */ defineComponent({
|
|
8755
9382
|
__name: "AnchorPopup",
|
|
8756
9383
|
props: {
|
|
@@ -8912,6 +9539,8 @@ var Filter_module_default = {
|
|
|
8912
9539
|
filterBar: `filter-bar`,
|
|
8913
9540
|
filterBarSearch: `filter-bar-search`
|
|
8914
9541
|
};
|
|
9542
|
+
//#endregion
|
|
9543
|
+
//#region src/component/primitive/FilterBadge.vue
|
|
8915
9544
|
var FilterBadge_default = /* @__PURE__ */ defineComponent({
|
|
8916
9545
|
__name: "FilterBadge",
|
|
8917
9546
|
props: {
|
|
@@ -8955,7 +9584,9 @@ var FilterBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
8955
9584
|
};
|
|
8956
9585
|
}
|
|
8957
9586
|
});
|
|
8958
|
-
|
|
9587
|
+
//#endregion
|
|
9588
|
+
//#region src/css/component/Menu.module.scss
|
|
9589
|
+
var { "buttonIcon": _0$11, "button": _1$5, "buttonLabel": _2$2 } = Button_module_default$1;
|
|
8959
9590
|
var Menu_module_default = {
|
|
8960
9591
|
menu: `menu`,
|
|
8961
9592
|
menuNormal: `menu-normal menu`,
|
|
@@ -8963,15 +9594,15 @@ var Menu_module_default = {
|
|
|
8963
9594
|
menuGroup: `menu-group`,
|
|
8964
9595
|
menuGroupHorizontal: `menu-group-horizontal menu-group`,
|
|
8965
9596
|
menuGroupVertical: `menu-group-vertical menu-group`,
|
|
8966
|
-
menuItem: `menu-item ${
|
|
9597
|
+
menuItem: `menu-item ${_1$5}`,
|
|
8967
9598
|
badge: `badge`,
|
|
8968
|
-
menuItemIcon: `menu-item-icon ${
|
|
8969
|
-
menuItemLabel: `menu-item-label ${
|
|
9599
|
+
menuItemIcon: `menu-item-icon ${_0$11}`,
|
|
9600
|
+
menuItemLabel: `menu-item-label ${_2$2}`,
|
|
8970
9601
|
menuItemActive: `menu-item-active`,
|
|
8971
9602
|
menuItemDestructive: `menu-item-destructive`,
|
|
8972
9603
|
menuItemHighlighted: `menu-item-highlighted`,
|
|
8973
9604
|
menuItemIndented: `menu-item-indented`,
|
|
8974
|
-
menuItemSelectableIcon: `menu-item-selectable-icon ${
|
|
9605
|
+
menuItemSelectableIcon: `menu-item-selectable-icon ${_0$11}`,
|
|
8975
9606
|
menuItemSelected: `menu-item-selected`,
|
|
8976
9607
|
menuItemCommand: `menu-item-command`,
|
|
8977
9608
|
menuItemCommandIcon: `menu-item-command-icon`,
|
|
@@ -8986,7 +9617,11 @@ var Menu_module_default = {
|
|
|
8986
9617
|
separator: `separator`,
|
|
8987
9618
|
expandableBody: `expandable-body`
|
|
8988
9619
|
};
|
|
8989
|
-
|
|
9620
|
+
//#endregion
|
|
9621
|
+
//#region src/component/FluxMenuItem.vue?vue&type=script&setup=true&lang.ts
|
|
9622
|
+
var _hoisted_1$42 = ["src", "alt"];
|
|
9623
|
+
//#endregion
|
|
9624
|
+
//#region src/component/FluxMenuItem.vue
|
|
8990
9625
|
var FluxMenuItem_default = /* @__PURE__ */ defineComponent({
|
|
8991
9626
|
__name: "FluxMenuItem",
|
|
8992
9627
|
props: {
|
|
@@ -9061,7 +9696,7 @@ var FluxMenuItem_default = /* @__PURE__ */ defineComponent({
|
|
|
9061
9696
|
class: normalizeClass(unref(Menu_module_default).menuItemImage),
|
|
9062
9697
|
src: __props.imageSrc,
|
|
9063
9698
|
alt: __props.imageAlt ?? ""
|
|
9064
|
-
}, null, 10, _hoisted_1$
|
|
9699
|
+
}, null, 10, _hoisted_1$42)]),
|
|
9065
9700
|
key: "1"
|
|
9066
9701
|
} : void 0, __props.command || __props.commandIcon || __props.commandLoading || slots.after ? {
|
|
9067
9702
|
name: "after",
|
|
@@ -9090,6 +9725,8 @@ var FluxMenuItem_default = /* @__PURE__ */ defineComponent({
|
|
|
9090
9725
|
};
|
|
9091
9726
|
}
|
|
9092
9727
|
});
|
|
9728
|
+
//#endregion
|
|
9729
|
+
//#region src/component/primitive/FilterItem.vue
|
|
9093
9730
|
var FilterItem_default = /* @__PURE__ */ defineComponent({
|
|
9094
9731
|
__name: "FilterItem",
|
|
9095
9732
|
props: {
|
|
@@ -9136,6 +9773,8 @@ var FilterItem_default = /* @__PURE__ */ defineComponent({
|
|
|
9136
9773
|
};
|
|
9137
9774
|
}
|
|
9138
9775
|
});
|
|
9776
|
+
//#endregion
|
|
9777
|
+
//#region src/css/component/Form.module.scss
|
|
9139
9778
|
var { "basePane": _0$10 } = Pane_module_default$1;
|
|
9140
9779
|
var Form_module_default = {
|
|
9141
9780
|
formInputGroup: `form-input-group form-input`,
|
|
@@ -9216,8 +9855,10 @@ var Form_module_default = {
|
|
|
9216
9855
|
toggleIconOn: `toggle-icon-on toggle-icon`,
|
|
9217
9856
|
toggleIconOff: `toggle-icon-off toggle-icon`
|
|
9218
9857
|
};
|
|
9219
|
-
|
|
9220
|
-
|
|
9858
|
+
//#endregion
|
|
9859
|
+
//#region src/component/FluxFormInput.vue?vue&type=script&setup=true&lang.ts
|
|
9860
|
+
var _hoisted_1$41 = ["aria-disabled"];
|
|
9861
|
+
var _hoisted_2$19 = [
|
|
9221
9862
|
"id",
|
|
9222
9863
|
"autocomplete",
|
|
9223
9864
|
"autofocus",
|
|
@@ -9232,6 +9873,8 @@ var _hoisted_2$17 = [
|
|
|
9232
9873
|
"type",
|
|
9233
9874
|
"value"
|
|
9234
9875
|
];
|
|
9876
|
+
//#endregion
|
|
9877
|
+
//#region src/component/FluxFormInput.vue
|
|
9235
9878
|
var FluxFormInput_default = /* @__PURE__ */ defineComponent({
|
|
9236
9879
|
__name: "FluxFormInput",
|
|
9237
9880
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -9387,7 +10030,7 @@ var FluxFormInput_default = /* @__PURE__ */ defineComponent({
|
|
|
9387
10030
|
onFocus: _cache[1] || (_cache[1] = ($event) => onFocus()),
|
|
9388
10031
|
onInput,
|
|
9389
10032
|
onKeydown: onKeyDown
|
|
9390
|
-
}, null, 42, _hoisted_2$
|
|
10033
|
+
}, null, 42, _hoisted_2$19),
|
|
9391
10034
|
__props.iconLeading ? (openBlock(), createBlock(FluxIcon_default, {
|
|
9392
10035
|
key: 0,
|
|
9393
10036
|
class: normalizeClass(unref(Form_module_default).formInputIconLeading),
|
|
@@ -9411,10 +10054,12 @@ var FluxFormInput_default = /* @__PURE__ */ defineComponent({
|
|
|
9411
10054
|
class: normalizeClass(unref(Form_module_default).formInputIconTrailing),
|
|
9412
10055
|
size: 18
|
|
9413
10056
|
}, null, 8, ["class"])) : createCommentVNode("", true)
|
|
9414
|
-
], 10, _hoisted_1$
|
|
10057
|
+
], 10, _hoisted_1$41);
|
|
9415
10058
|
};
|
|
9416
10059
|
}
|
|
9417
10060
|
});
|
|
10061
|
+
//#endregion
|
|
10062
|
+
//#region src/component/FluxMenuGroup.vue
|
|
9418
10063
|
var FluxMenuGroup_default = /* @__PURE__ */ defineComponent({
|
|
9419
10064
|
__name: "FluxMenuGroup",
|
|
9420
10065
|
props: { isHorizontal: { type: Boolean } },
|
|
@@ -9427,6 +10072,8 @@ var FluxMenuGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
9427
10072
|
};
|
|
9428
10073
|
}
|
|
9429
10074
|
});
|
|
10075
|
+
//#endregion
|
|
10076
|
+
//#region src/component/FluxMenuSubHeader.vue
|
|
9430
10077
|
var FluxMenuSubHeader_default = /* @__PURE__ */ defineComponent({
|
|
9431
10078
|
__name: "FluxMenuSubHeader",
|
|
9432
10079
|
props: {
|
|
@@ -9455,6 +10102,8 @@ var FluxMenuSubHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
9455
10102
|
};
|
|
9456
10103
|
}
|
|
9457
10104
|
});
|
|
10105
|
+
//#endregion
|
|
10106
|
+
//#region src/component/primitive/FilterOptionBase.vue
|
|
9458
10107
|
var FilterOptionBase_default = /* @__PURE__ */ defineComponent({
|
|
9459
10108
|
__name: "FilterOptionBase",
|
|
9460
10109
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -9512,6 +10161,8 @@ var FilterOptionBase_default = /* @__PURE__ */ defineComponent({
|
|
|
9512
10161
|
};
|
|
9513
10162
|
}
|
|
9514
10163
|
});
|
|
10164
|
+
//#endregion
|
|
10165
|
+
//#region src/component/FluxMenu.vue
|
|
9515
10166
|
var FluxMenu_default = /* @__PURE__ */ defineComponent({
|
|
9516
10167
|
__name: "FluxMenu",
|
|
9517
10168
|
props: { isLarge: { type: Boolean } },
|
|
@@ -9527,6 +10178,8 @@ var FluxMenu_default = /* @__PURE__ */ defineComponent({
|
|
|
9527
10178
|
};
|
|
9528
10179
|
}
|
|
9529
10180
|
});
|
|
10181
|
+
//#endregion
|
|
10182
|
+
//#region src/component/FluxTag.vue
|
|
9530
10183
|
var FluxTag_default = /* @__PURE__ */ defineComponent({
|
|
9531
10184
|
__name: "FluxTag",
|
|
9532
10185
|
props: {
|
|
@@ -9604,7 +10257,11 @@ var FluxTag_default = /* @__PURE__ */ defineComponent({
|
|
|
9604
10257
|
};
|
|
9605
10258
|
}
|
|
9606
10259
|
});
|
|
10260
|
+
//#endregion
|
|
10261
|
+
//#region src/component/primitive/SelectBase.vue?vue&type=script&setup=true&lang.ts
|
|
9607
10262
|
var INITIAL_HIGHLIGHTED_INDEX = -1;
|
|
10263
|
+
//#endregion
|
|
10264
|
+
//#region src/component/primitive/SelectBase.vue
|
|
9608
10265
|
var SelectBase_default = /* @__PURE__ */ defineComponent({
|
|
9609
10266
|
inheritAttrs: false,
|
|
9610
10267
|
__name: "SelectBase",
|
|
@@ -9884,6 +10541,8 @@ var Slider_module_default = {
|
|
|
9884
10541
|
tickSmall: `tick-small tick`,
|
|
9885
10542
|
ticks: `ticks`
|
|
9886
10543
|
};
|
|
10544
|
+
//#endregion
|
|
10545
|
+
//#region src/component/FluxTicks.vue
|
|
9887
10546
|
var FluxTicks_default = /* @__PURE__ */ defineComponent({
|
|
9888
10547
|
__name: "FluxTicks",
|
|
9889
10548
|
props: {
|
|
@@ -9910,7 +10569,11 @@ var FluxTicks_default = /* @__PURE__ */ defineComponent({
|
|
|
9910
10569
|
};
|
|
9911
10570
|
}
|
|
9912
10571
|
});
|
|
9913
|
-
|
|
10572
|
+
//#endregion
|
|
10573
|
+
//#region src/component/primitive/SliderBase.vue?vue&type=script&setup=true&lang.ts
|
|
10574
|
+
var _hoisted_1$40 = ["aria-disabled"];
|
|
10575
|
+
//#endregion
|
|
10576
|
+
//#region src/component/primitive/SliderBase.vue
|
|
9914
10577
|
var SliderBase_default = /* @__PURE__ */ defineComponent({
|
|
9915
10578
|
__name: "SliderBase",
|
|
9916
10579
|
props: {
|
|
@@ -9963,11 +10626,15 @@ var SliderBase_default = /* @__PURE__ */ defineComponent({
|
|
|
9963
10626
|
key: 0,
|
|
9964
10627
|
lower: __props.min,
|
|
9965
10628
|
upper: __props.max
|
|
9966
|
-
}, null, 8, ["lower", "upper"])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$
|
|
10629
|
+
}, null, 8, ["lower", "upper"])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$40);
|
|
9967
10630
|
};
|
|
9968
10631
|
}
|
|
9969
10632
|
});
|
|
9970
|
-
|
|
10633
|
+
//#endregion
|
|
10634
|
+
//#region src/component/primitive/SliderThumb.vue?vue&type=script&setup=true&lang.ts
|
|
10635
|
+
var _hoisted_1$39 = ["aria-disabled", "tabindex"];
|
|
10636
|
+
//#endregion
|
|
10637
|
+
//#region src/component/primitive/SliderThumb.vue
|
|
9971
10638
|
var SliderThumb_default = /* @__PURE__ */ defineComponent({
|
|
9972
10639
|
__name: "SliderThumb",
|
|
9973
10640
|
props: {
|
|
@@ -10008,10 +10675,12 @@ var SliderThumb_default = /* @__PURE__ */ defineComponent({
|
|
|
10008
10675
|
type: "button",
|
|
10009
10676
|
onKeydown: onKeyDown,
|
|
10010
10677
|
onPointerdown: _cache[0] || (_cache[0] = ($event) => $emit("grab", $event))
|
|
10011
|
-
}, null, 46, _hoisted_1$
|
|
10678
|
+
}, null, 46, _hoisted_1$39);
|
|
10012
10679
|
};
|
|
10013
10680
|
}
|
|
10014
10681
|
});
|
|
10682
|
+
//#endregion
|
|
10683
|
+
//#region src/component/primitive/SliderTrack.vue
|
|
10015
10684
|
var SliderTrack_default = /* @__PURE__ */ defineComponent({
|
|
10016
10685
|
__name: "SliderTrack",
|
|
10017
10686
|
props: {
|
|
@@ -10041,7 +10710,11 @@ var Divider_module_default = {
|
|
|
10041
10710
|
separatorHorizontal: `separator-horizontal separator`,
|
|
10042
10711
|
separatorVertical: `separator-vertical separator`
|
|
10043
10712
|
};
|
|
10044
|
-
|
|
10713
|
+
//#endregion
|
|
10714
|
+
//#region src/component/FluxSeparator.vue?vue&type=script&setup=true&lang.ts
|
|
10715
|
+
var _hoisted_1$38 = ["aria-orientation"];
|
|
10716
|
+
//#endregion
|
|
10717
|
+
//#region src/component/FluxSeparator.vue
|
|
10045
10718
|
var FluxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
10046
10719
|
__name: "FluxSeparator",
|
|
10047
10720
|
props: { direction: { default: "horizontal" } },
|
|
@@ -10051,11 +10724,13 @@ var FluxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
|
10051
10724
|
class: normalizeClass(__props.direction === "horizontal" ? unref(Divider_module_default).separatorHorizontal : unref(Divider_module_default).separatorVertical),
|
|
10052
10725
|
role: "separator",
|
|
10053
10726
|
"aria-orientation": __props.direction
|
|
10054
|
-
}, null, 10, _hoisted_1$
|
|
10727
|
+
}, null, 10, _hoisted_1$38);
|
|
10055
10728
|
};
|
|
10056
10729
|
}
|
|
10057
10730
|
});
|
|
10058
|
-
|
|
10731
|
+
//#endregion
|
|
10732
|
+
//#region src/component/primitive/FilterMenuRenderer.ts
|
|
10733
|
+
var FilterMenuRenderer = defineComponent({
|
|
10059
10734
|
props: {
|
|
10060
10735
|
menuItems: {
|
|
10061
10736
|
required: true,
|
|
@@ -10085,12 +10760,16 @@ function renderFilterItem(item, navigate, state) {
|
|
|
10085
10760
|
onClick: () => navigate(item.name)
|
|
10086
10761
|
});
|
|
10087
10762
|
}
|
|
10088
|
-
|
|
10763
|
+
//#endregion
|
|
10764
|
+
//#region src/component/primitive/VNodeRenderer.ts
|
|
10765
|
+
var VNodeRenderer = defineComponent({
|
|
10089
10766
|
props: { vnode: Object },
|
|
10090
10767
|
setup(props) {
|
|
10091
10768
|
return () => props.vnode;
|
|
10092
10769
|
}
|
|
10093
10770
|
});
|
|
10771
|
+
//#endregion
|
|
10772
|
+
//#region src/css/component/Calendar.module.scss
|
|
10094
10773
|
var { "basePaneStructure": _0$9, "basePaneLoader": _1$4 } = Pane_module_default$1;
|
|
10095
10774
|
var Calendar_module_default = {
|
|
10096
10775
|
calendar: `calendar ${_0$9}`,
|
|
@@ -10134,8 +10813,12 @@ var DatePicker_module_default = {
|
|
|
10134
10813
|
datePickerDay: `date-picker-day`,
|
|
10135
10814
|
button: `button`
|
|
10136
10815
|
};
|
|
10137
|
-
|
|
10138
|
-
|
|
10816
|
+
//#endregion
|
|
10817
|
+
//#region src/component/FluxCalendar.vue?vue&type=script&setup=true&lang.ts
|
|
10818
|
+
var _hoisted_1$37 = ["onClick"];
|
|
10819
|
+
var _hoisted_2$18 = ["onClick"];
|
|
10820
|
+
//#endregion
|
|
10821
|
+
//#region src/component/FluxCalendar.vue
|
|
10139
10822
|
var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
10140
10823
|
__name: "FluxCalendar",
|
|
10141
10824
|
props: {
|
|
@@ -10198,7 +10881,7 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
10198
10881
|
class: normalizeClass(unref(Calendar_module_default).calendarCurrentMonth),
|
|
10199
10882
|
type: "button",
|
|
10200
10883
|
onClick: open
|
|
10201
|
-
}, toDisplayString(unref(viewMonth)), 11, _hoisted_1$
|
|
10884
|
+
}, toDisplayString(unref(viewMonth)), 11, _hoisted_1$37)]),
|
|
10202
10885
|
default: withCtx(({ close }) => [createElementVNode("div", { class: normalizeClass(unref(DatePicker_module_default).datePickerMonths) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(months), (month) => {
|
|
10203
10886
|
return openBlock(), createBlock(FluxSecondaryButton_default, {
|
|
10204
10887
|
key: month.label,
|
|
@@ -10213,7 +10896,7 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
10213
10896
|
class: normalizeClass(unref(Calendar_module_default).calendarCurrentYear),
|
|
10214
10897
|
type: "button",
|
|
10215
10898
|
onClick: open
|
|
10216
|
-
}, toDisplayString(unref(viewYear)), 11, _hoisted_2$
|
|
10899
|
+
}, toDisplayString(unref(viewYear)), 11, _hoisted_2$18)]),
|
|
10217
10900
|
default: withCtx(({ close }) => [createElementVNode("div", { class: normalizeClass(unref(DatePicker_module_default).datePickerYears) }, [
|
|
10218
10901
|
createVNode(FluxSecondaryButton_default, {
|
|
10219
10902
|
"icon-leading": "angle-left",
|
|
@@ -10284,6 +10967,8 @@ var FluxCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
10284
10967
|
};
|
|
10285
10968
|
}
|
|
10286
10969
|
});
|
|
10970
|
+
//#endregion
|
|
10971
|
+
//#region src/component/FluxCalendarEvent.vue
|
|
10287
10972
|
var FluxCalendarEvent_default = /* @__PURE__ */ defineComponent({
|
|
10288
10973
|
__name: "FluxCalendarEvent",
|
|
10289
10974
|
props: {
|
|
@@ -10309,9 +10994,12 @@ var FluxCalendarEvent_default = /* @__PURE__ */ defineComponent({
|
|
|
10309
10994
|
};
|
|
10310
10995
|
}
|
|
10311
10996
|
});
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
var
|
|
10997
|
+
//#endregion
|
|
10998
|
+
//#region src/component/FluxCheckbox.vue?vue&type=script&setup=true&lang.ts
|
|
10999
|
+
var _hoisted_1$36 = ["for"];
|
|
11000
|
+
var _hoisted_2$17 = ["id"];
|
|
11001
|
+
//#endregion
|
|
11002
|
+
//#region src/component/FluxCheckbox.vue
|
|
10315
11003
|
var FluxCheckbox_default = /* @__PURE__ */ defineComponent({
|
|
10316
11004
|
__name: "FluxCheckbox",
|
|
10317
11005
|
props: /* @__PURE__ */ mergeModels({ label: {} }, {
|
|
@@ -10342,11 +11030,11 @@ var FluxCheckbox_default = /* @__PURE__ */ defineComponent({
|
|
|
10342
11030
|
type: "checkbox",
|
|
10343
11031
|
class: normalizeClass(unref(Form_module_default).checkboxNative),
|
|
10344
11032
|
id: unref(id)
|
|
10345
|
-
}, null, 10, _hoisted_2$
|
|
11033
|
+
}, null, 10, _hoisted_2$17), [[vModelCheckbox, modelValue.value]]),
|
|
10346
11034
|
createElementVNode("button", {
|
|
11035
|
+
"aria-hidden": "true",
|
|
10347
11036
|
class: normalizeClass(unref(Form_module_default).checkboxElement),
|
|
10348
|
-
|
|
10349
|
-
"aria-checked": modelValue.value ?? false
|
|
11037
|
+
tabindex: "-1"
|
|
10350
11038
|
}, [isIndeterminate.value ? (openBlock(), createBlock(FluxIcon_default, {
|
|
10351
11039
|
key: 0,
|
|
10352
11040
|
name: "minus",
|
|
@@ -10355,12 +11043,12 @@ var FluxCheckbox_default = /* @__PURE__ */ defineComponent({
|
|
|
10355
11043
|
key: 1,
|
|
10356
11044
|
name: "check",
|
|
10357
11045
|
size: 16
|
|
10358
|
-
}))],
|
|
11046
|
+
}))], 2),
|
|
10359
11047
|
__props.label ? (openBlock(), createElementBlock("span", {
|
|
10360
11048
|
key: 0,
|
|
10361
11049
|
class: normalizeClass(unref(Form_module_default).checkboxLabel)
|
|
10362
11050
|
}, toDisplayString(__props.label), 3)) : createCommentVNode("", true)
|
|
10363
|
-
], 10, _hoisted_1$
|
|
11051
|
+
], 10, _hoisted_1$36);
|
|
10364
11052
|
};
|
|
10365
11053
|
}
|
|
10366
11054
|
});
|
|
@@ -10369,6 +11057,8 @@ var Chip_module_default = {
|
|
|
10369
11057
|
isSelectable: `is-selectable`,
|
|
10370
11058
|
isSelected: `is-selected`
|
|
10371
11059
|
};
|
|
11060
|
+
//#endregion
|
|
11061
|
+
//#region src/component/FluxChip.vue
|
|
10372
11062
|
var FluxChip_default = /* @__PURE__ */ defineComponent({
|
|
10373
11063
|
__name: "FluxChip",
|
|
10374
11064
|
props: {
|
|
@@ -10411,6 +11101,8 @@ var FluxChip_default = /* @__PURE__ */ defineComponent({
|
|
|
10411
11101
|
};
|
|
10412
11102
|
}
|
|
10413
11103
|
});
|
|
11104
|
+
//#endregion
|
|
11105
|
+
//#region src/component/FluxClickablePane.vue
|
|
10414
11106
|
var FluxClickablePane_default = /* @__PURE__ */ defineComponent({
|
|
10415
11107
|
__name: "FluxClickablePane",
|
|
10416
11108
|
props: {
|
|
@@ -10471,8 +11163,12 @@ var Comment_module_default = {
|
|
|
10471
11163
|
isTyping: `is-typing`,
|
|
10472
11164
|
commentTyping: `comment-typing`
|
|
10473
11165
|
};
|
|
10474
|
-
|
|
10475
|
-
|
|
11166
|
+
//#endregion
|
|
11167
|
+
//#region src/component/FluxComment.vue?vue&type=script&setup=true&lang.ts
|
|
11168
|
+
var _hoisted_1$35 = { key: 0 };
|
|
11169
|
+
var _hoisted_2$16 = ["datetime"];
|
|
11170
|
+
//#endregion
|
|
11171
|
+
//#region src/component/FluxComment.vue
|
|
10476
11172
|
var FluxComment_default = /* @__PURE__ */ defineComponent({
|
|
10477
11173
|
__name: "FluxComment",
|
|
10478
11174
|
props: {
|
|
@@ -10514,14 +11210,16 @@ var FluxComment_default = /* @__PURE__ */ defineComponent({
|
|
|
10514
11210
|
key: 0,
|
|
10515
11211
|
class: normalizeClass(unref(Comment_module_default).commentTyping)
|
|
10516
11212
|
}, null, 2)) : renderSlot(_ctx.$slots, "default", { key: 1 })], 2),
|
|
10517
|
-
createElementVNode("div", { class: normalizeClass(unref(Comment_module_default).commentFooter) }, [__props.isReceived && __props.postedBy ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11213
|
+
createElementVNode("div", { class: normalizeClass(unref(Comment_module_default).commentFooter) }, [__props.isReceived && __props.postedBy ? (openBlock(), createElementBlock("span", _hoisted_1$35, toDisplayString(__props.postedBy), 1)) : createCommentVNode("", true), iso.value && relative.value && !__props.isTyping ? (openBlock(), createElementBlock("time", {
|
|
10518
11214
|
key: 1,
|
|
10519
11215
|
datetime: iso.value
|
|
10520
|
-
}, toDisplayString(isJustNowVisible.value ? unref(translate)("flux.justNow") : relative.value), 9, _hoisted_2$
|
|
11216
|
+
}, toDisplayString(isJustNowVisible.value ? unref(translate)("flux.justNow") : relative.value), 9, _hoisted_2$16)) : createCommentVNode("", true)], 2)
|
|
10521
11217
|
], 2);
|
|
10522
11218
|
};
|
|
10523
11219
|
}
|
|
10524
11220
|
});
|
|
11221
|
+
//#endregion
|
|
11222
|
+
//#region src/css/component/primitive/CoordinatePicker.module.scss
|
|
10525
11223
|
var { "sliderThumb": _0$8 } = Slider_module_default;
|
|
10526
11224
|
var CoordinatePicker_module_default = {
|
|
10527
11225
|
coordinatePicker: `coordinate-picker`,
|
|
@@ -10529,7 +11227,11 @@ var CoordinatePicker_module_default = {
|
|
|
10529
11227
|
isDisabled: `is-disabled`,
|
|
10530
11228
|
isDragging: `is-dragging`
|
|
10531
11229
|
};
|
|
10532
|
-
|
|
11230
|
+
//#endregion
|
|
11231
|
+
//#region src/component/primitive/CoordinatePickerThumb.vue?vue&type=script&setup=true&lang.ts
|
|
11232
|
+
var _hoisted_1$34 = ["aria-disabled", "tabindex"];
|
|
11233
|
+
//#endregion
|
|
11234
|
+
//#region src/component/primitive/CoordinatePickerThumb.vue
|
|
10533
11235
|
var CoordinatePickerThumb_default = /* @__PURE__ */ defineComponent({
|
|
10534
11236
|
__name: "CoordinatePickerThumb",
|
|
10535
11237
|
props: {
|
|
@@ -10577,11 +11279,15 @@ var CoordinatePickerThumb_default = /* @__PURE__ */ defineComponent({
|
|
|
10577
11279
|
type: "button",
|
|
10578
11280
|
onKeydown: onKeyDown,
|
|
10579
11281
|
onPointerdown: _cache[0] || (_cache[0] = ($event) => $emit("grab", $event))
|
|
10580
|
-
}, null, 46, _hoisted_1$
|
|
11282
|
+
}, null, 46, _hoisted_1$34);
|
|
10581
11283
|
};
|
|
10582
11284
|
}
|
|
10583
11285
|
});
|
|
10584
|
-
|
|
11286
|
+
//#endregion
|
|
11287
|
+
//#region src/component/primitive/CoordinatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
11288
|
+
var _hoisted_1$33 = ["aria-disabled"];
|
|
11289
|
+
//#endregion
|
|
11290
|
+
//#region src/component/primitive/CoordinatePicker.vue
|
|
10585
11291
|
var CoordinatePicker_default = /* @__PURE__ */ defineComponent({
|
|
10586
11292
|
__name: "CoordinatePicker",
|
|
10587
11293
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -10674,11 +11380,15 @@ var CoordinatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
10674
11380
|
"disabled",
|
|
10675
11381
|
"is-dragging",
|
|
10676
11382
|
"position"
|
|
10677
|
-
])], 42, _hoisted_1$
|
|
11383
|
+
])], 42, _hoisted_1$33);
|
|
10678
11384
|
};
|
|
10679
11385
|
}
|
|
10680
11386
|
});
|
|
10681
|
-
|
|
11387
|
+
//#endregion
|
|
11388
|
+
//#region src/component/FluxFormFieldAddition.vue?vue&type=script&setup=true&lang.ts
|
|
11389
|
+
var _hoisted_1$32 = { key: 1 };
|
|
11390
|
+
//#endregion
|
|
11391
|
+
//#region src/component/FluxFormFieldAddition.vue
|
|
10682
11392
|
var FluxFormFieldAddition_default = /* @__PURE__ */ defineComponent({
|
|
10683
11393
|
__name: "FluxFormFieldAddition",
|
|
10684
11394
|
props: {
|
|
@@ -10698,13 +11408,17 @@ var FluxFormFieldAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
10698
11408
|
name: __props.icon,
|
|
10699
11409
|
size: 16
|
|
10700
11410
|
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
10701
|
-
__props.message ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11411
|
+
__props.message ? (openBlock(), createElementBlock("span", _hoisted_1$32, toDisplayString(__props.message), 1)) : createCommentVNode("", true),
|
|
10702
11412
|
renderSlot(_ctx.$slots, "default")
|
|
10703
11413
|
], 2);
|
|
10704
11414
|
};
|
|
10705
11415
|
}
|
|
10706
11416
|
});
|
|
10707
|
-
|
|
11417
|
+
//#endregion
|
|
11418
|
+
//#region src/component/FluxFormField.vue?vue&type=script&setup=true&lang.ts
|
|
11419
|
+
var _hoisted_1$31 = ["for"];
|
|
11420
|
+
//#endregion
|
|
11421
|
+
//#region src/component/FluxFormField.vue
|
|
10708
11422
|
var FluxFormField_default = /* @__PURE__ */ defineComponent({
|
|
10709
11423
|
__name: "FluxFormField",
|
|
10710
11424
|
props: {
|
|
@@ -10743,7 +11457,7 @@ var FluxFormField_default = /* @__PURE__ */ defineComponent({
|
|
|
10743
11457
|
label: __props.label,
|
|
10744
11458
|
maxLength: __props.maxLength
|
|
10745
11459
|
})))], 2)) : createCommentVNode("", true)
|
|
10746
|
-
], 10, _hoisted_1$
|
|
11460
|
+
], 10, _hoisted_1$31),
|
|
10747
11461
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ id: unref(id) }))),
|
|
10748
11462
|
__props.currentLength && __props.maxLength && __props.maxLength > 0 ? (openBlock(), createElementBlock("span", {
|
|
10749
11463
|
key: 0,
|
|
@@ -10773,6 +11487,8 @@ var FluxFormField_default = /* @__PURE__ */ defineComponent({
|
|
|
10773
11487
|
};
|
|
10774
11488
|
}
|
|
10775
11489
|
});
|
|
11490
|
+
//#endregion
|
|
11491
|
+
//#region src/component/FluxFormSlider.vue
|
|
10776
11492
|
var FluxFormSlider_default = /* @__PURE__ */ defineComponent({
|
|
10777
11493
|
__name: "FluxFormSlider",
|
|
10778
11494
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -10913,6 +11629,8 @@ var Color_module_default = {
|
|
|
10913
11629
|
button: `button`,
|
|
10914
11630
|
colorSelectCheck: `color-select-check`
|
|
10915
11631
|
};
|
|
11632
|
+
//#endregion
|
|
11633
|
+
//#region src/component/FluxColorPicker.vue
|
|
10916
11634
|
var FluxColorPicker_default = /* @__PURE__ */ defineComponent({
|
|
10917
11635
|
__name: "FluxColorPicker",
|
|
10918
11636
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -11186,6 +11904,8 @@ var FluxColorPicker_default = /* @__PURE__ */ defineComponent({
|
|
|
11186
11904
|
};
|
|
11187
11905
|
}
|
|
11188
11906
|
});
|
|
11907
|
+
//#endregion
|
|
11908
|
+
//#region src/component/FluxPrimaryButton.vue
|
|
11189
11909
|
var FluxPrimaryButton_default = /* @__PURE__ */ defineComponent({
|
|
11190
11910
|
__name: "FluxPrimaryButton",
|
|
11191
11911
|
props: {
|
|
@@ -11245,8 +11965,12 @@ var FluxPrimaryButton_default = /* @__PURE__ */ defineComponent({
|
|
|
11245
11965
|
};
|
|
11246
11966
|
}
|
|
11247
11967
|
});
|
|
11248
|
-
|
|
11249
|
-
|
|
11968
|
+
//#endregion
|
|
11969
|
+
//#region src/component/FluxColorSelect.vue?vue&type=script&setup=true&lang.ts
|
|
11970
|
+
var _hoisted_1$30 = ["onClick"];
|
|
11971
|
+
var _hoisted_2$15 = ["onClick"];
|
|
11972
|
+
//#endregion
|
|
11973
|
+
//#region src/component/FluxColorSelect.vue
|
|
11250
11974
|
var FluxColorSelect_default = /* @__PURE__ */ defineComponent({
|
|
11251
11975
|
__name: "FluxColorSelect",
|
|
11252
11976
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -11294,7 +12018,7 @@ var FluxColorSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
11294
12018
|
class: normalizeClass(unref(Color_module_default).colorSelectCheck),
|
|
11295
12019
|
name: "check",
|
|
11296
12020
|
size: 16
|
|
11297
|
-
}, null, 8, ["class"])], 14, _hoisted_1$
|
|
12021
|
+
}, null, 8, ["class"])], 14, _hoisted_1$30);
|
|
11298
12022
|
}), 256)), __props.isCustomAllowed ? (openBlock(), createBlock(FluxFlyout_default, { key: 0 }, {
|
|
11299
12023
|
opener: withCtx(({ open }) => [createElementVNode("button", {
|
|
11300
12024
|
class: normalizeClass(unref(Color_module_default).colorSelectCustom),
|
|
@@ -11302,7 +12026,7 @@ var FluxColorSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
11302
12026
|
}, [createVNode(FluxIcon_default, {
|
|
11303
12027
|
name: "ellipsis-h",
|
|
11304
12028
|
size: 16
|
|
11305
|
-
})], 10, _hoisted_2$
|
|
12029
|
+
})], 10, _hoisted_2$15)]),
|
|
11306
12030
|
default: withCtx(({ close }) => [createVNode(FluxColorPicker_default, {
|
|
11307
12031
|
modelValue: customColor.value,
|
|
11308
12032
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customColor.value = $event),
|
|
@@ -11322,6 +12046,8 @@ var FluxColorSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
11322
12046
|
};
|
|
11323
12047
|
}
|
|
11324
12048
|
});
|
|
12049
|
+
//#endregion
|
|
12050
|
+
//#region src/component/FluxContainer.vue
|
|
11325
12051
|
var FluxContainer_default = /* @__PURE__ */ defineComponent({
|
|
11326
12052
|
__name: "FluxContainer",
|
|
11327
12053
|
props: { gutter: { default: 21 } },
|
|
@@ -11334,6 +12060,8 @@ var FluxContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
11334
12060
|
};
|
|
11335
12061
|
}
|
|
11336
12062
|
});
|
|
12063
|
+
//#endregion
|
|
12064
|
+
//#region src/component/FluxFormSelect.vue
|
|
11337
12065
|
var FluxFormSelect_default = /* @__PURE__ */ defineComponent({
|
|
11338
12066
|
__name: "FluxFormSelect",
|
|
11339
12067
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -11385,16 +12113,18 @@ var FluxFormSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
11385
12113
|
};
|
|
11386
12114
|
}
|
|
11387
12115
|
});
|
|
11388
|
-
|
|
12116
|
+
//#endregion
|
|
12117
|
+
//#region src/css/component/Pagination.module.scss
|
|
12118
|
+
var { "secondaryButtonIcon": _0$7, "secondaryButton": _1$3, "secondaryButtonLabel": _2$1 } = Button_module_default;
|
|
11389
12119
|
var Pagination_module_default = {
|
|
11390
12120
|
pagination: `pagination`,
|
|
11391
|
-
paginationButton: `pagination-button ${
|
|
12121
|
+
paginationButton: `pagination-button ${_1$3}`,
|
|
11392
12122
|
secondaryButton: `secondary-button`,
|
|
11393
12123
|
paginationButtonArrow: `pagination-button-arrow`,
|
|
11394
12124
|
paginationButtonCurrent: `pagination-button-current`,
|
|
11395
12125
|
paginationButtonSpacer: `pagination-button-spacer`,
|
|
11396
|
-
paginationButtonIcon: `pagination-button-icon ${
|
|
11397
|
-
paginationButtonLabel: `pagination-button-label ${
|
|
12126
|
+
paginationButtonIcon: `pagination-button-icon ${_0$7}`,
|
|
12127
|
+
paginationButtonLabel: `pagination-button-label ${_2$1}`,
|
|
11398
12128
|
paginationBar: `pagination-bar`,
|
|
11399
12129
|
paginationBarLimit: `pagination-bar-limit`,
|
|
11400
12130
|
paginationBarLimitDisplayingOf: `pagination-bar-limit-displaying-of`,
|
|
@@ -11402,6 +12132,8 @@ var Pagination_module_default = {
|
|
|
11402
12132
|
menuItem: `menu-item`,
|
|
11403
12133
|
menuItemLabel: `menu-item-label`
|
|
11404
12134
|
};
|
|
12135
|
+
//#endregion
|
|
12136
|
+
//#region src/component/FluxPaginationButton.vue
|
|
11405
12137
|
var FluxPaginationButton_default = /* @__PURE__ */ defineComponent({
|
|
11406
12138
|
__name: "FluxPaginationButton",
|
|
11407
12139
|
props: {
|
|
@@ -11470,7 +12202,11 @@ var FluxPaginationButton_default = /* @__PURE__ */ defineComponent({
|
|
|
11470
12202
|
};
|
|
11471
12203
|
}
|
|
11472
12204
|
});
|
|
11473
|
-
|
|
12205
|
+
//#endregion
|
|
12206
|
+
//#region src/component/FluxPagination.vue?vue&type=script&setup=true&lang.ts
|
|
12207
|
+
var _hoisted_1$29 = ["aria-label"];
|
|
12208
|
+
//#endregion
|
|
12209
|
+
//#region src/component/FluxPagination.vue
|
|
11474
12210
|
var FluxPagination_default = /* @__PURE__ */ defineComponent({
|
|
11475
12211
|
__name: "FluxPagination",
|
|
11476
12212
|
props: {
|
|
@@ -11578,10 +12314,12 @@ var FluxPagination_default = /* @__PURE__ */ defineComponent({
|
|
|
11578
12314
|
"aria-label": unref(translate)("flux.next"),
|
|
11579
12315
|
onClick: next
|
|
11580
12316
|
}, null, 8, ["disabled", "aria-label"])) : createCommentVNode("", true)
|
|
11581
|
-
], 10, _hoisted_1$
|
|
12317
|
+
], 10, _hoisted_1$29);
|
|
11582
12318
|
};
|
|
11583
12319
|
}
|
|
11584
12320
|
});
|
|
12321
|
+
//#endregion
|
|
12322
|
+
//#region src/component/FluxPaginationBar.vue
|
|
11585
12323
|
var FluxPaginationBar_default = /* @__PURE__ */ defineComponent({
|
|
11586
12324
|
__name: "FluxPaginationBar",
|
|
11587
12325
|
props: {
|
|
@@ -11641,6 +12379,8 @@ var FluxPaginationBar_default = /* @__PURE__ */ defineComponent({
|
|
|
11641
12379
|
};
|
|
11642
12380
|
}
|
|
11643
12381
|
});
|
|
12382
|
+
//#endregion
|
|
12383
|
+
//#region src/css/component/Table.module.scss
|
|
11644
12384
|
var { "basePaneElement": _0$6, "basePaneLoader": _1$2 } = Pane_module_default$1;
|
|
11645
12385
|
var Table_module_default = {
|
|
11646
12386
|
table: `table ${_0$6}`,
|
|
@@ -11665,6 +12405,8 @@ var Table_module_default = {
|
|
|
11665
12405
|
tableSort: `table-sort`,
|
|
11666
12406
|
basePaneStructure: `base-pane-structure`
|
|
11667
12407
|
};
|
|
12408
|
+
//#endregion
|
|
12409
|
+
//#region src/component/FluxTableCell.vue
|
|
11668
12410
|
var FluxTableCell_default = /* @__PURE__ */ defineComponent({
|
|
11669
12411
|
__name: "FluxTableCell",
|
|
11670
12412
|
props: {
|
|
@@ -11687,6 +12429,8 @@ var FluxTableCell_default = /* @__PURE__ */ defineComponent({
|
|
|
11687
12429
|
};
|
|
11688
12430
|
}
|
|
11689
12431
|
});
|
|
12432
|
+
//#endregion
|
|
12433
|
+
//#region src/component/FluxTableRow.vue
|
|
11690
12434
|
var FluxTableRow_default = /* @__PURE__ */ defineComponent({
|
|
11691
12435
|
__name: "FluxTableRow",
|
|
11692
12436
|
setup(__props) {
|
|
@@ -11695,9 +12439,13 @@ var FluxTableRow_default = /* @__PURE__ */ defineComponent({
|
|
|
11695
12439
|
};
|
|
11696
12440
|
}
|
|
11697
12441
|
});
|
|
11698
|
-
|
|
11699
|
-
|
|
12442
|
+
//#endregion
|
|
12443
|
+
//#region src/component/FluxTable.vue?vue&type=script&setup=true&lang.ts
|
|
12444
|
+
var _hoisted_1$28 = { key: 0 };
|
|
12445
|
+
var _hoisted_2$14 = { key: 1 };
|
|
11700
12446
|
var _hoisted_3$5 = { key: 2 };
|
|
12447
|
+
//#endregion
|
|
12448
|
+
//#region src/component/FluxTable.vue
|
|
11701
12449
|
var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
11702
12450
|
__name: "FluxTable",
|
|
11703
12451
|
props: {
|
|
@@ -11736,8 +12484,8 @@ var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
|
11736
12484
|
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(Table_module_default).table) }, [
|
|
11737
12485
|
createElementVNode("table", { class: normalizeClass(unref(Table_module_default).tableBase) }, [
|
|
11738
12486
|
renderSlot(_ctx.$slots, "colgroups"),
|
|
11739
|
-
slots.header ? (openBlock(), createElementBlock("thead", _hoisted_1$
|
|
11740
|
-
slots.default ? (openBlock(), createElementBlock("tbody", _hoisted_2$
|
|
12487
|
+
slots.header ? (openBlock(), createElementBlock("thead", _hoisted_1$28, [renderSlot(_ctx.$slots, "header")])) : createCommentVNode("", true),
|
|
12488
|
+
slots.default ? (openBlock(), createElementBlock("tbody", _hoisted_2$14, [renderSlot(_ctx.$slots, "default"), __props.fillColumns ? (openBlock(), createBlock(FluxTableRow_default, {
|
|
11741
12489
|
key: 0,
|
|
11742
12490
|
class: normalizeClass(unref(Table_module_default).tableFill)
|
|
11743
12491
|
}, {
|
|
@@ -11767,6 +12515,8 @@ var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
|
11767
12515
|
};
|
|
11768
12516
|
}
|
|
11769
12517
|
});
|
|
12518
|
+
//#endregion
|
|
12519
|
+
//#region src/component/FluxDataTable.vue
|
|
11770
12520
|
var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
11771
12521
|
__name: "FluxDataTable",
|
|
11772
12522
|
props: {
|
|
@@ -11908,9 +12658,13 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
11908
12658
|
};
|
|
11909
12659
|
}
|
|
11910
12660
|
});
|
|
11911
|
-
|
|
11912
|
-
|
|
12661
|
+
//#endregion
|
|
12662
|
+
//#region src/component/FluxDatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
12663
|
+
var _hoisted_1$27 = ["id"];
|
|
12664
|
+
var _hoisted_2$13 = ["aria-labelledby"];
|
|
11913
12665
|
var _hoisted_3$4 = ["onClick", "onMouseover"];
|
|
12666
|
+
//#endregion
|
|
12667
|
+
//#region src/component/FluxDatePicker.vue
|
|
11914
12668
|
var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
11915
12669
|
__name: "FluxDatePicker",
|
|
11916
12670
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -12060,7 +12814,7 @@ var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
12060
12814
|
class: normalizeClass(unref(DatePicker_module_default).datePickerHeaderViewButton),
|
|
12061
12815
|
type: "button",
|
|
12062
12816
|
onClick: _cache[1] || (_cache[1] = ($event) => setView("year"))
|
|
12063
|
-
}, toDisplayString(unref(viewYear)), 3)], 10, _hoisted_1$
|
|
12817
|
+
}, toDisplayString(unref(viewYear)), 3)], 10, _hoisted_1$27),
|
|
12064
12818
|
createVNode(unref(FluxFadeTransition_default), null, {
|
|
12065
12819
|
default: withCtx(() => [viewMode.value === "date" ? (openBlock(), createBlock(FluxSecondaryButton_default, {
|
|
12066
12820
|
key: 0,
|
|
@@ -12100,7 +12854,7 @@ var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
12100
12854
|
}, toDisplayString(date.toLocaleString({ day: "numeric" })), 43, _hoisted_3$4);
|
|
12101
12855
|
}), 256))], 2))]),
|
|
12102
12856
|
_: 1
|
|
12103
|
-
}, 8, ["is-back"])], 10, _hoisted_2$
|
|
12857
|
+
}, 8, ["is-back"])], 10, _hoisted_2$13)) : viewMode.value === "month" ? (openBlock(), createElementBlock("div", {
|
|
12104
12858
|
key: "month",
|
|
12105
12859
|
class: normalizeClass(unref(DatePicker_module_default).datePickerMonths)
|
|
12106
12860
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(months), (month) => {
|
|
@@ -12143,6 +12897,8 @@ var FluxDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
12143
12897
|
};
|
|
12144
12898
|
}
|
|
12145
12899
|
});
|
|
12900
|
+
//#endregion
|
|
12901
|
+
//#region src/component/FluxDisabled.vue
|
|
12146
12902
|
var FluxDisabled_default = /* @__PURE__ */ defineComponent({
|
|
12147
12903
|
inheritAttrs: false,
|
|
12148
12904
|
__name: "FluxDisabled",
|
|
@@ -12157,6 +12913,8 @@ var FluxDisabled_default = /* @__PURE__ */ defineComponent({
|
|
|
12157
12913
|
};
|
|
12158
12914
|
}
|
|
12159
12915
|
});
|
|
12916
|
+
//#endregion
|
|
12917
|
+
//#region src/component/FluxDivider.vue
|
|
12160
12918
|
var FluxDivider_default = /* @__PURE__ */ defineComponent({
|
|
12161
12919
|
__name: "FluxDivider",
|
|
12162
12920
|
props: { contentPlacement: { default: "center" } },
|
|
@@ -12177,17 +12935,21 @@ var FluxDivider_default = /* @__PURE__ */ defineComponent({
|
|
|
12177
12935
|
};
|
|
12178
12936
|
}
|
|
12179
12937
|
});
|
|
12180
|
-
|
|
12938
|
+
//#endregion
|
|
12939
|
+
//#region src/component/FluxDotPattern.vue?vue&type=script&setup=true&lang.ts
|
|
12940
|
+
var _hoisted_1$26 = [
|
|
12181
12941
|
"id",
|
|
12182
12942
|
"width",
|
|
12183
12943
|
"height"
|
|
12184
12944
|
];
|
|
12185
|
-
var _hoisted_2$
|
|
12945
|
+
var _hoisted_2$12 = [
|
|
12186
12946
|
"r",
|
|
12187
12947
|
"cx",
|
|
12188
12948
|
"cy"
|
|
12189
12949
|
];
|
|
12190
12950
|
var _hoisted_3$3 = ["fill"];
|
|
12951
|
+
//#endregion
|
|
12952
|
+
//#region src/component/FluxDotPattern.vue
|
|
12191
12953
|
var FluxDotPattern_default = /* @__PURE__ */ defineComponent({
|
|
12192
12954
|
__name: "FluxDotPattern",
|
|
12193
12955
|
props: {
|
|
@@ -12230,7 +12992,7 @@ var FluxDotPattern_default = /* @__PURE__ */ defineComponent({
|
|
|
12230
12992
|
r: __props.cr,
|
|
12231
12993
|
cx: __props.width / 2 - __props.cx,
|
|
12232
12994
|
cy: __props.height / 2 - __props.cy
|
|
12233
|
-
}, null, 8, _hoisted_2$
|
|
12995
|
+
}, null, 8, _hoisted_2$12)], 8, _hoisted_1$26)]), createElementVNode("rect", {
|
|
12234
12996
|
width: "100%",
|
|
12235
12997
|
height: "100%",
|
|
12236
12998
|
"stroke-width": "0",
|
|
@@ -12251,8 +13013,12 @@ var DropZone_module_default = {
|
|
|
12251
13013
|
dropZoneBorderAnimation: `drop-zone-border-animation`,
|
|
12252
13014
|
dropZoneLoader: `drop-zone-loader`
|
|
12253
13015
|
};
|
|
12254
|
-
|
|
12255
|
-
|
|
13016
|
+
//#endregion
|
|
13017
|
+
//#region src/component/FluxDropZone.vue?vue&type=script&setup=true&lang.ts
|
|
13018
|
+
var _hoisted_1$25 = ["aria-disabled"];
|
|
13019
|
+
var _hoisted_2$11 = ["pathLength"];
|
|
13020
|
+
//#endregion
|
|
13021
|
+
//#region src/component/FluxDropZone.vue
|
|
12256
13022
|
var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
12257
13023
|
__name: "FluxDropZone",
|
|
12258
13024
|
props: {
|
|
@@ -12353,7 +13119,7 @@ var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
|
12353
13119
|
"stroke-linecap": "round",
|
|
12354
13120
|
"stroke-linejoin": "round",
|
|
12355
13121
|
pathLength: pathLength.value
|
|
12356
|
-
}, null, 8, _hoisted_2$
|
|
13122
|
+
}, null, 8, _hoisted_2$11)], 2)),
|
|
12357
13123
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({
|
|
12358
13124
|
isDragging: isDragging.value,
|
|
12359
13125
|
isDraggingOver: isDraggingOver.value,
|
|
@@ -12380,10 +13146,12 @@ var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
|
12380
13146
|
isDraggingOver: isDraggingOver.value,
|
|
12381
13147
|
showPicker
|
|
12382
13148
|
})))
|
|
12383
|
-
], 10, _hoisted_1$
|
|
13149
|
+
], 10, _hoisted_1$25);
|
|
12384
13150
|
};
|
|
12385
13151
|
}
|
|
12386
13152
|
});
|
|
13153
|
+
//#endregion
|
|
13154
|
+
//#region src/component/FluxDynamicView.vue
|
|
12387
13155
|
var FluxDynamicView_default = /* @__PURE__ */ defineComponent({
|
|
12388
13156
|
__name: "FluxDynamicView",
|
|
12389
13157
|
props: { vnode: {} },
|
|
@@ -12406,12 +13174,16 @@ var Expandable_module_default = {
|
|
|
12406
13174
|
basePane: `base-pane`,
|
|
12407
13175
|
expandableGroup: `expandable-group`
|
|
12408
13176
|
};
|
|
12409
|
-
|
|
13177
|
+
//#endregion
|
|
13178
|
+
//#region src/component/FluxExpandable.vue?vue&type=script&setup=true&lang.ts
|
|
13179
|
+
var _hoisted_1$24 = [
|
|
12410
13180
|
"id",
|
|
12411
13181
|
"aria-controls",
|
|
12412
13182
|
"aria-expanded"
|
|
12413
13183
|
];
|
|
12414
|
-
var _hoisted_2$
|
|
13184
|
+
var _hoisted_2$10 = ["id", "aria-labelledby"];
|
|
13185
|
+
//#endregion
|
|
13186
|
+
//#region src/component/FluxExpandable.vue
|
|
12415
13187
|
var FluxExpandable_default = /* @__PURE__ */ defineComponent({
|
|
12416
13188
|
__name: "FluxExpandable",
|
|
12417
13189
|
props: {
|
|
@@ -12499,12 +13271,14 @@ var FluxExpandable_default = /* @__PURE__ */ defineComponent({
|
|
|
12499
13271
|
})), () => [createElementVNode("div", { class: normalizeClass(unref(Expandable_module_default).expandableContent) }, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({
|
|
12500
13272
|
label: __props.label,
|
|
12501
13273
|
close
|
|
12502
|
-
})))], 2)])], 10, _hoisted_2$
|
|
13274
|
+
})))], 2)])], 10, _hoisted_2$10)) : createCommentVNode("", true)]),
|
|
12503
13275
|
_: 3
|
|
12504
|
-
})], 10, _hoisted_1$
|
|
13276
|
+
})], 10, _hoisted_1$24);
|
|
12505
13277
|
};
|
|
12506
13278
|
}
|
|
12507
13279
|
});
|
|
13280
|
+
//#endregion
|
|
13281
|
+
//#region src/component/FluxExpandableGroup.vue
|
|
12508
13282
|
var FluxExpandableGroup_default = /* @__PURE__ */ defineComponent({
|
|
12509
13283
|
__name: "FluxExpandableGroup",
|
|
12510
13284
|
props: { isControlled: { type: Boolean } },
|
|
@@ -12542,6 +13316,8 @@ var Fader_module_default = {
|
|
|
12542
13316
|
isCurrent: `is-current`,
|
|
12543
13317
|
focalPointImage: `focal-point-image`
|
|
12544
13318
|
};
|
|
13319
|
+
//#endregion
|
|
13320
|
+
//#region src/component/FluxFader.vue
|
|
12545
13321
|
var FluxFader_default = /* @__PURE__ */ defineComponent({
|
|
12546
13322
|
__name: "FluxFader",
|
|
12547
13323
|
props: { interval: { default: 9e3 } },
|
|
@@ -12579,6 +13355,8 @@ var FluxFader_default = /* @__PURE__ */ defineComponent({
|
|
|
12579
13355
|
};
|
|
12580
13356
|
}
|
|
12581
13357
|
});
|
|
13358
|
+
//#endregion
|
|
13359
|
+
//#region src/component/FluxFaderItem.vue
|
|
12582
13360
|
var FluxFaderItem_default = /* @__PURE__ */ defineComponent({
|
|
12583
13361
|
__name: "FluxFaderItem",
|
|
12584
13362
|
setup(__props) {
|
|
@@ -12587,6 +13365,8 @@ var FluxFaderItem_default = /* @__PURE__ */ defineComponent({
|
|
|
12587
13365
|
};
|
|
12588
13366
|
}
|
|
12589
13367
|
});
|
|
13368
|
+
//#endregion
|
|
13369
|
+
//#region src/component/FluxFilterBase.vue
|
|
12590
13370
|
var FluxFilterBase_default = /* @__PURE__ */ defineComponent({
|
|
12591
13371
|
__name: "FluxFilterBase",
|
|
12592
13372
|
props: /* @__PURE__ */ mergeModels({ resettable: {} }, {
|
|
@@ -12675,6 +13455,8 @@ var FluxFilterBase_default = /* @__PURE__ */ defineComponent({
|
|
|
12675
13455
|
};
|
|
12676
13456
|
}
|
|
12677
13457
|
});
|
|
13458
|
+
//#endregion
|
|
13459
|
+
//#region src/component/FluxWindow.vue
|
|
12678
13460
|
var FluxWindow_default = /* @__PURE__ */ defineComponent({
|
|
12679
13461
|
__name: "FluxWindow",
|
|
12680
13462
|
setup(__props, { expose: __expose }) {
|
|
@@ -12709,6 +13491,8 @@ var FluxWindow_default = /* @__PURE__ */ defineComponent({
|
|
|
12709
13491
|
};
|
|
12710
13492
|
}
|
|
12711
13493
|
});
|
|
13494
|
+
//#endregion
|
|
13495
|
+
//#region src/component/FluxFilterWindow.vue
|
|
12712
13496
|
var FluxFilterWindow_default = /* @__PURE__ */ defineComponent({
|
|
12713
13497
|
__name: "FluxFilterWindow",
|
|
12714
13498
|
props: {
|
|
@@ -12768,6 +13552,8 @@ var FluxFilterWindow_default = /* @__PURE__ */ defineComponent({
|
|
|
12768
13552
|
};
|
|
12769
13553
|
}
|
|
12770
13554
|
});
|
|
13555
|
+
//#endregion
|
|
13556
|
+
//#region src/component/FluxFilter.vue
|
|
12771
13557
|
var FluxFilter_default = /* @__PURE__ */ defineComponent({
|
|
12772
13558
|
__name: "FluxFilter",
|
|
12773
13559
|
props: /* @__PURE__ */ mergeModels({ resettable: {} }, {
|
|
@@ -12814,6 +13600,8 @@ var OverflowBar_module_default = {
|
|
|
12814
13600
|
overflowBarMeasurer: `overflow-bar-measurer`,
|
|
12815
13601
|
overflowBarOverflow: `overflow-bar-overflow`
|
|
12816
13602
|
};
|
|
13603
|
+
//#endregion
|
|
13604
|
+
//#region src/component/FluxOverflowBar.vue
|
|
12817
13605
|
var FluxOverflowBar_default = /* @__PURE__ */ defineComponent({
|
|
12818
13606
|
__name: "FluxOverflowBar",
|
|
12819
13607
|
props: {
|
|
@@ -12882,13 +13670,18 @@ var FluxOverflowBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12882
13670
|
key: 0,
|
|
12883
13671
|
ref: "overflow",
|
|
12884
13672
|
class: normalizeClass(unref(OverflowBar_module_default).overflowBarOverflow)
|
|
12885
|
-
}, [renderSlot(_ctx.$slots, "overflow", normalizeProps(guardReactiveProps({
|
|
13673
|
+
}, [renderSlot(_ctx.$slots, "overflow", normalizeProps(guardReactiveProps({
|
|
13674
|
+
hasOverflow: hiddenItems.value.length > 0,
|
|
13675
|
+
items: hiddenItems.value
|
|
13676
|
+
})))], 2)) : createCommentVNode("", true)], 6), createElementVNode("div", {
|
|
12886
13677
|
ref: "measurer",
|
|
12887
13678
|
class: normalizeClass(unref(OverflowBar_module_default).overflowBarMeasurer)
|
|
12888
13679
|
}, [renderSlot(_ctx.$slots, "default")], 2)], 64);
|
|
12889
13680
|
};
|
|
12890
13681
|
}
|
|
12891
13682
|
});
|
|
13683
|
+
//#endregion
|
|
13684
|
+
//#region src/component/FluxFilterBar.vue
|
|
12892
13685
|
var FluxFilterBar_default = /* @__PURE__ */ defineComponent({
|
|
12893
13686
|
__name: "FluxFilterBar",
|
|
12894
13687
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -12918,7 +13711,8 @@ var FluxFilterBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12918
13711
|
onReset: reset
|
|
12919
13712
|
}, {
|
|
12920
13713
|
filters: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
12921
|
-
default: withCtx(({ buttons, filters, menuItems }) => [createElementVNode("div", { class: normalizeClass(unref(Filter_module_default).filterBar) }, [
|
|
13714
|
+
default: withCtx(({ buttons, filters, menuItems }) => [createElementVNode("div", { class: normalizeClass(unref(Filter_module_default).filterBar) }, [__props.isSearchable ? (openBlock(), createBlock(FluxFormInput_default, {
|
|
13715
|
+
key: 0,
|
|
12922
13716
|
modelValue: modelSearch.value,
|
|
12923
13717
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelSearch.value = $event),
|
|
12924
13718
|
class: normalizeClass(unref(Filter_module_default).filterBarSearch),
|
|
@@ -12929,7 +13723,7 @@ var FluxFilterBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12929
13723
|
"modelValue",
|
|
12930
13724
|
"class",
|
|
12931
13725
|
"placeholder"
|
|
12932
|
-
]), createVNode(FluxOverflowBar_default, { alignment: "end" }, {
|
|
13726
|
+
])) : createCommentVNode("", true), createVNode(FluxOverflowBar_default, { alignment: "end" }, {
|
|
12933
13727
|
overflow: withCtx(() => [isFiltered.value ? (openBlock(), createBlock(FluxSeparator_default, {
|
|
12934
13728
|
key: 0,
|
|
12935
13729
|
direction: "vertical",
|
|
@@ -12989,6 +13783,8 @@ var FluxFilterBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12989
13783
|
};
|
|
12990
13784
|
}
|
|
12991
13785
|
});
|
|
13786
|
+
//#endregion
|
|
13787
|
+
//#region src/component/FluxFilterDate.vue
|
|
12992
13788
|
var FluxFilterDate_default = /* @__PURE__ */ defineComponent({
|
|
12993
13789
|
__name: "FluxFilterDate",
|
|
12994
13790
|
props: {
|
|
@@ -13030,6 +13826,8 @@ var FluxFilterDate_default = /* @__PURE__ */ defineComponent({
|
|
|
13030
13826
|
};
|
|
13031
13827
|
}
|
|
13032
13828
|
});
|
|
13829
|
+
//#endregion
|
|
13830
|
+
//#region src/component/FluxFilterDateRange.vue
|
|
13033
13831
|
var FluxFilterDateRange_default = /* @__PURE__ */ defineComponent({
|
|
13034
13832
|
__name: "FluxFilterDateRange",
|
|
13035
13833
|
props: {
|
|
@@ -13072,6 +13870,8 @@ var FluxFilterDateRange_default = /* @__PURE__ */ defineComponent({
|
|
|
13072
13870
|
};
|
|
13073
13871
|
}
|
|
13074
13872
|
});
|
|
13873
|
+
//#endregion
|
|
13874
|
+
//#region src/component/FluxFilterOption.vue
|
|
13075
13875
|
var FluxFilterOption_default = /* @__PURE__ */ defineComponent({
|
|
13076
13876
|
__name: "FluxFilterOption",
|
|
13077
13877
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -13115,6 +13915,8 @@ var FluxFilterOption_default = /* @__PURE__ */ defineComponent({
|
|
|
13115
13915
|
};
|
|
13116
13916
|
}
|
|
13117
13917
|
});
|
|
13918
|
+
//#endregion
|
|
13919
|
+
//#region src/component/FluxFilterOptionAsync.vue
|
|
13118
13920
|
var FluxFilterOptionAsync_default = /* @__PURE__ */ defineComponent({
|
|
13119
13921
|
__name: "FluxFilterOptionAsync",
|
|
13120
13922
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -13187,6 +13989,8 @@ var FluxFilterOptionAsync_default = /* @__PURE__ */ defineComponent({
|
|
|
13187
13989
|
};
|
|
13188
13990
|
}
|
|
13189
13991
|
});
|
|
13992
|
+
//#endregion
|
|
13993
|
+
//#region src/component/FluxFilterOptions.vue
|
|
13190
13994
|
var FluxFilterOptions_default = /* @__PURE__ */ defineComponent({
|
|
13191
13995
|
__name: "FluxFilterOptions",
|
|
13192
13996
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -13235,6 +14039,8 @@ var FluxFilterOptions_default = /* @__PURE__ */ defineComponent({
|
|
|
13235
14039
|
};
|
|
13236
14040
|
}
|
|
13237
14041
|
});
|
|
14042
|
+
//#endregion
|
|
14043
|
+
//#region src/component/FluxFilterOptionsAsync.vue
|
|
13238
14044
|
var FluxFilterOptionsAsync_default = /* @__PURE__ */ defineComponent({
|
|
13239
14045
|
__name: "FluxFilterOptionsAsync",
|
|
13240
14046
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -13312,6 +14118,8 @@ var FluxFilterOptionsAsync_default = /* @__PURE__ */ defineComponent({
|
|
|
13312
14118
|
};
|
|
13313
14119
|
}
|
|
13314
14120
|
});
|
|
14121
|
+
//#endregion
|
|
14122
|
+
//#region src/component/FluxFormColumn.vue
|
|
13315
14123
|
var FluxFormColumn_default = /* @__PURE__ */ defineComponent({
|
|
13316
14124
|
__name: "FluxFormColumn",
|
|
13317
14125
|
setup(__props) {
|
|
@@ -13320,6 +14128,8 @@ var FluxFormColumn_default = /* @__PURE__ */ defineComponent({
|
|
|
13320
14128
|
};
|
|
13321
14129
|
}
|
|
13322
14130
|
});
|
|
14131
|
+
//#endregion
|
|
14132
|
+
//#region src/component/FluxFilterRange.vue
|
|
13323
14133
|
var FluxFilterRange_default = /* @__PURE__ */ defineComponent({
|
|
13324
14134
|
__name: "FluxFilterRange",
|
|
13325
14135
|
props: {
|
|
@@ -13399,6 +14209,8 @@ var FluxFilterRange_default = /* @__PURE__ */ defineComponent({
|
|
|
13399
14209
|
};
|
|
13400
14210
|
}
|
|
13401
14211
|
});
|
|
14212
|
+
//#endregion
|
|
14213
|
+
//#region src/component/FluxFlickeringGrid.vue
|
|
13402
14214
|
var FluxFlickeringGrid_default = /* @__PURE__ */ defineComponent({
|
|
13403
14215
|
__name: "FluxFlickeringGrid",
|
|
13404
14216
|
props: {
|
|
@@ -13489,6 +14301,8 @@ var FluxFlickeringGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
13489
14301
|
};
|
|
13490
14302
|
}
|
|
13491
14303
|
});
|
|
14304
|
+
//#endregion
|
|
14305
|
+
//#region src/component/FluxPaneFooter.vue
|
|
13492
14306
|
var FluxPaneFooter_default = /* @__PURE__ */ defineComponent({
|
|
13493
14307
|
__name: "FluxPaneFooter",
|
|
13494
14308
|
setup(__props) {
|
|
@@ -13505,7 +14319,11 @@ var FocalPoint_module_default = {
|
|
|
13505
14319
|
focalPointPreview: `focal-point-preview`,
|
|
13506
14320
|
focalPointPreviewImage: `focal-point-preview-image`
|
|
13507
14321
|
};
|
|
13508
|
-
|
|
14322
|
+
//#endregion
|
|
14323
|
+
//#region src/component/FluxFocalPointEditor.vue?vue&type=script&setup=true&lang.ts
|
|
14324
|
+
var _hoisted_1$23 = ["src"];
|
|
14325
|
+
//#endregion
|
|
14326
|
+
//#region src/component/FluxFocalPointEditor.vue
|
|
13509
14327
|
var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
13510
14328
|
__name: "FluxFocalPointEditor",
|
|
13511
14329
|
props: /* @__PURE__ */ mergeModels({ src: {} }, {
|
|
@@ -13572,7 +14390,7 @@ var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13572
14390
|
src: __props.src,
|
|
13573
14391
|
alt: "",
|
|
13574
14392
|
onLoad: onImageLoaded
|
|
13575
|
-
}, null, 42, _hoisted_1$
|
|
14393
|
+
}, null, 42, _hoisted_1$23), createElementVNode("div", {
|
|
13576
14394
|
class: normalizeClass(unref(FocalPoint_module_default).focalPointEditorArea),
|
|
13577
14395
|
style: normalizeStyle({
|
|
13578
14396
|
top: `${focalPointY.value}%`,
|
|
@@ -13599,7 +14417,11 @@ var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13599
14417
|
};
|
|
13600
14418
|
}
|
|
13601
14419
|
});
|
|
13602
|
-
|
|
14420
|
+
//#endregion
|
|
14421
|
+
//#region src/component/FluxFocalPointImage.vue?vue&type=script&setup=true&lang.ts
|
|
14422
|
+
var _hoisted_1$22 = ["src", "alt"];
|
|
14423
|
+
//#endregion
|
|
14424
|
+
//#region src/component/FluxFocalPointImage.vue
|
|
13603
14425
|
var FluxFocalPointImage_default = /* @__PURE__ */ defineComponent({
|
|
13604
14426
|
__name: "FluxFocalPointImage",
|
|
13605
14427
|
props: {
|
|
@@ -13616,11 +14438,15 @@ var FluxFocalPointImage_default = /* @__PURE__ */ defineComponent({
|
|
|
13616
14438
|
style: normalizeStyle({ objectPosition: `${x.value}% ${y.value}%` }),
|
|
13617
14439
|
src: __props.src,
|
|
13618
14440
|
alt: __props.alt
|
|
13619
|
-
}, null, 14, _hoisted_1$
|
|
14441
|
+
}, null, 14, _hoisted_1$22);
|
|
13620
14442
|
};
|
|
13621
14443
|
}
|
|
13622
14444
|
});
|
|
13623
|
-
|
|
14445
|
+
//#endregion
|
|
14446
|
+
//#region src/component/FluxForm.vue?vue&type=script&setup=true&lang.ts
|
|
14447
|
+
var _hoisted_1$21 = ["aria-disabled"];
|
|
14448
|
+
//#endregion
|
|
14449
|
+
//#region src/component/FluxForm.vue
|
|
13624
14450
|
var FluxForm_default = /* @__PURE__ */ defineComponent({
|
|
13625
14451
|
__name: "FluxForm",
|
|
13626
14452
|
props: { disabled: {
|
|
@@ -13641,10 +14467,12 @@ var FluxForm_default = /* @__PURE__ */ defineComponent({
|
|
|
13641
14467
|
}, [createVNode(FluxDisabled_default, { disabled: __props.disabled }, {
|
|
13642
14468
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
13643
14469
|
_: 3
|
|
13644
|
-
}, 8, ["disabled"])], 42, _hoisted_1$
|
|
14470
|
+
}, 8, ["disabled"])], 42, _hoisted_1$21);
|
|
13645
14471
|
};
|
|
13646
14472
|
}
|
|
13647
14473
|
});
|
|
14474
|
+
//#endregion
|
|
14475
|
+
//#region src/component/FluxFormInputGroup.vue
|
|
13648
14476
|
var FluxFormInputGroup_default = /* @__PURE__ */ defineComponent({
|
|
13649
14477
|
__name: "FluxFormInputGroup",
|
|
13650
14478
|
props: {
|
|
@@ -13660,6 +14488,8 @@ var FluxFormInputGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
13660
14488
|
};
|
|
13661
14489
|
}
|
|
13662
14490
|
});
|
|
14491
|
+
//#endregion
|
|
14492
|
+
//#region src/component/FluxFormDateInput.vue
|
|
13663
14493
|
var FluxFormDateInput_default = /* @__PURE__ */ defineComponent({
|
|
13664
14494
|
__name: "FluxFormDateInput",
|
|
13665
14495
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -13746,6 +14576,8 @@ var FluxFormDateInput_default = /* @__PURE__ */ defineComponent({
|
|
|
13746
14576
|
};
|
|
13747
14577
|
}
|
|
13748
14578
|
});
|
|
14579
|
+
//#endregion
|
|
14580
|
+
//#region src/component/FluxFormDateRangeInput.vue
|
|
13749
14581
|
var FluxFormDateRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
13750
14582
|
__name: "FluxFormDateRangeInput",
|
|
13751
14583
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -13811,6 +14643,8 @@ var FluxFormDateRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
13811
14643
|
};
|
|
13812
14644
|
}
|
|
13813
14645
|
});
|
|
14646
|
+
//#endregion
|
|
14647
|
+
//#region src/component/FluxFormDateTimeInput.vue
|
|
13814
14648
|
var FluxFormDateTimeInput_default = /* @__PURE__ */ defineComponent({
|
|
13815
14649
|
__name: "FluxFormDateTimeInput",
|
|
13816
14650
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -13919,6 +14753,8 @@ var FluxFormDateTimeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
13919
14753
|
};
|
|
13920
14754
|
}
|
|
13921
14755
|
});
|
|
14756
|
+
//#endregion
|
|
14757
|
+
//#region src/component/FluxFormGrid.vue
|
|
13922
14758
|
var FluxFormGrid_default = /* @__PURE__ */ defineComponent({
|
|
13923
14759
|
__name: "FluxFormGrid",
|
|
13924
14760
|
props: { columns: {} },
|
|
@@ -13931,7 +14767,11 @@ var FluxFormGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
13931
14767
|
};
|
|
13932
14768
|
}
|
|
13933
14769
|
});
|
|
13934
|
-
|
|
14770
|
+
//#endregion
|
|
14771
|
+
//#region src/component/FluxFormInputAddition.vue?vue&type=script&setup=true&lang.ts
|
|
14772
|
+
var _hoisted_1$20 = { key: 1 };
|
|
14773
|
+
//#endregion
|
|
14774
|
+
//#region src/component/FluxFormInputAddition.vue
|
|
13935
14775
|
var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
13936
14776
|
__name: "FluxFormInputAddition",
|
|
13937
14777
|
props: {
|
|
@@ -13946,18 +14786,20 @@ var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
13946
14786
|
name: __props.icon,
|
|
13947
14787
|
size: 18
|
|
13948
14788
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
13949
|
-
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
14789
|
+
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$20, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
|
|
13950
14790
|
renderSlot(_ctx.$slots, "default")
|
|
13951
14791
|
], 2);
|
|
13952
14792
|
};
|
|
13953
14793
|
}
|
|
13954
14794
|
});
|
|
13955
|
-
|
|
14795
|
+
//#endregion
|
|
14796
|
+
//#region src/component/FluxFormPinInput.vue?vue&type=script&setup=true&lang.ts
|
|
14797
|
+
var _hoisted_1$19 = [
|
|
13956
14798
|
"id",
|
|
13957
14799
|
"autofocus",
|
|
13958
14800
|
"aria-disabled"
|
|
13959
14801
|
];
|
|
13960
|
-
var _hoisted_2$
|
|
14802
|
+
var _hoisted_2$9 = [
|
|
13961
14803
|
"autocomplete",
|
|
13962
14804
|
"autofocus",
|
|
13963
14805
|
"disabled",
|
|
@@ -13965,6 +14807,8 @@ var _hoisted_2$7 = [
|
|
|
13965
14807
|
"type",
|
|
13966
14808
|
"value"
|
|
13967
14809
|
];
|
|
14810
|
+
//#endregion
|
|
14811
|
+
//#region src/component/FluxFormPinInput.vue
|
|
13968
14812
|
var FluxFormPinInput_default = /* @__PURE__ */ defineComponent({
|
|
13969
14813
|
__name: "FluxFormPinInput",
|
|
13970
14814
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -14057,11 +14901,13 @@ var FluxFormPinInput_default = /* @__PURE__ */ defineComponent({
|
|
|
14057
14901
|
onInput,
|
|
14058
14902
|
onKeydown: onKeyDown,
|
|
14059
14903
|
onPaste
|
|
14060
|
-
}, null, 42, _hoisted_2$
|
|
14061
|
-
}), 128))], 14, _hoisted_1$
|
|
14904
|
+
}, null, 42, _hoisted_2$9);
|
|
14905
|
+
}), 128))], 14, _hoisted_1$19);
|
|
14062
14906
|
};
|
|
14063
14907
|
}
|
|
14064
14908
|
});
|
|
14909
|
+
//#endregion
|
|
14910
|
+
//#region src/component/FluxFormRangeSlider.vue
|
|
14065
14911
|
var FluxFormRangeSlider_default = /* @__PURE__ */ defineComponent({
|
|
14066
14912
|
__name: "FluxFormRangeSlider",
|
|
14067
14913
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -14210,6 +15056,8 @@ var FluxFormRangeSlider_default = /* @__PURE__ */ defineComponent({
|
|
|
14210
15056
|
};
|
|
14211
15057
|
}
|
|
14212
15058
|
});
|
|
15059
|
+
//#endregion
|
|
15060
|
+
//#region src/component/FluxFormRow.vue
|
|
14213
15061
|
var FluxFormRow_default = /* @__PURE__ */ defineComponent({
|
|
14214
15062
|
__name: "FluxFormRow",
|
|
14215
15063
|
setup(__props) {
|
|
@@ -14218,6 +15066,8 @@ var FluxFormRow_default = /* @__PURE__ */ defineComponent({
|
|
|
14218
15066
|
};
|
|
14219
15067
|
}
|
|
14220
15068
|
});
|
|
15069
|
+
//#endregion
|
|
15070
|
+
//#region src/component/FluxFormSection.vue
|
|
14221
15071
|
var FluxFormSection_default = /* @__PURE__ */ defineComponent({
|
|
14222
15072
|
__name: "FluxFormSection",
|
|
14223
15073
|
props: { title: {} },
|
|
@@ -14227,6 +15077,8 @@ var FluxFormSection_default = /* @__PURE__ */ defineComponent({
|
|
|
14227
15077
|
};
|
|
14228
15078
|
}
|
|
14229
15079
|
});
|
|
15080
|
+
//#endregion
|
|
15081
|
+
//#region src/component/FluxFormSelectAsync.vue
|
|
14230
15082
|
var FluxFormSelectAsync_default = /* @__PURE__ */ defineComponent({
|
|
14231
15083
|
__name: "FluxFormSelectAsync",
|
|
14232
15084
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -14312,7 +15164,9 @@ var FluxFormSelectAsync_default = /* @__PURE__ */ defineComponent({
|
|
|
14312
15164
|
};
|
|
14313
15165
|
}
|
|
14314
15166
|
});
|
|
14315
|
-
|
|
15167
|
+
//#endregion
|
|
15168
|
+
//#region src/component/FluxFormTextArea.vue?vue&type=script&setup=true&lang.ts
|
|
15169
|
+
var _hoisted_1$18 = [
|
|
14316
15170
|
"id",
|
|
14317
15171
|
"autocomplete",
|
|
14318
15172
|
"autofocus",
|
|
@@ -14321,6 +15175,8 @@ var _hoisted_1$16 = [
|
|
|
14321
15175
|
"placeholder",
|
|
14322
15176
|
"aria-disabled"
|
|
14323
15177
|
];
|
|
15178
|
+
//#endregion
|
|
15179
|
+
//#region src/component/FluxFormTextArea.vue
|
|
14324
15180
|
var FluxFormTextArea_default = /* @__PURE__ */ defineComponent({
|
|
14325
15181
|
__name: "FluxFormTextArea",
|
|
14326
15182
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -14359,10 +15215,12 @@ var FluxFormTextArea_default = /* @__PURE__ */ defineComponent({
|
|
|
14359
15215
|
"aria-disabled": unref(disabled) ? true : void 0,
|
|
14360
15216
|
onBlur: _cache[1] || (_cache[1] = ($event) => emit("blur")),
|
|
14361
15217
|
onFocus: _cache[2] || (_cache[2] = ($event) => emit("focus"))
|
|
14362
|
-
}, null, 46, _hoisted_1$
|
|
15218
|
+
}, null, 46, _hoisted_1$18)), [[vModelText, modelValue.value]]);
|
|
14363
15219
|
};
|
|
14364
15220
|
}
|
|
14365
15221
|
});
|
|
15222
|
+
//#endregion
|
|
15223
|
+
//#region src/component/FluxFormTimeZonePicker.vue
|
|
14366
15224
|
var FluxFormTimeZonePicker_default = /* @__PURE__ */ defineComponent({
|
|
14367
15225
|
__name: "FluxFormTimeZonePicker",
|
|
14368
15226
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -15045,10 +15903,304 @@ var FluxFormTimeZonePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
15045
15903
|
};
|
|
15046
15904
|
}
|
|
15047
15905
|
});
|
|
15906
|
+
var TreeViewSelect_module_default = {
|
|
15907
|
+
treeViewSelectValue: `tree-view-select-value`,
|
|
15908
|
+
treeViewSelectList: `tree-view-select-list`,
|
|
15909
|
+
treeViewSelectEmpty: `tree-view-select-empty`,
|
|
15910
|
+
treeNode: `tree-node`,
|
|
15911
|
+
isSelectable: `is-selectable`,
|
|
15912
|
+
isExpandable: `is-expandable`,
|
|
15913
|
+
isSelected: `is-selected`,
|
|
15914
|
+
isHighlighted: `is-highlighted`,
|
|
15915
|
+
treeNodeCheck: `tree-node-check`,
|
|
15916
|
+
treeNodeLineArea: `tree-node-line-area`,
|
|
15917
|
+
treeIndent: `tree-indent`,
|
|
15918
|
+
hasLine: `has-line`,
|
|
15919
|
+
treeConnector: `tree-connector`,
|
|
15920
|
+
isLast: `is-last`,
|
|
15921
|
+
treeNodeExpand: `tree-node-expand`,
|
|
15922
|
+
treeNodeColorDot: `tree-node-color-dot`,
|
|
15923
|
+
treeNodeIcon: `tree-node-icon`,
|
|
15924
|
+
treeNodeLabel: `tree-node-label`
|
|
15925
|
+
};
|
|
15926
|
+
//#endregion
|
|
15927
|
+
//#region src/component/FluxFormTreeViewSelect.vue?vue&type=script&setup=true&lang.ts
|
|
15928
|
+
var _hoisted_1$17 = [
|
|
15929
|
+
"role",
|
|
15930
|
+
"tabindex",
|
|
15931
|
+
"aria-selected",
|
|
15932
|
+
"onClick",
|
|
15933
|
+
"onKeydown"
|
|
15934
|
+
];
|
|
15935
|
+
var _hoisted_2$8 = ["onClick"];
|
|
15936
|
+
//#endregion
|
|
15937
|
+
//#region src/component/FluxFormTreeViewSelect.vue
|
|
15938
|
+
var FluxFormTreeViewSelect_default = /* @__PURE__ */ defineComponent({
|
|
15939
|
+
inheritAttrs: false,
|
|
15940
|
+
__name: "FluxFormTreeViewSelect",
|
|
15941
|
+
props: /* @__PURE__ */ mergeModels({
|
|
15942
|
+
disabled: { type: Boolean },
|
|
15943
|
+
isMultiple: { type: Boolean },
|
|
15944
|
+
isSearchable: { type: Boolean },
|
|
15945
|
+
levelColors: {},
|
|
15946
|
+
options: {},
|
|
15947
|
+
placeholder: {}
|
|
15948
|
+
}, {
|
|
15949
|
+
"modelValue": { required: true },
|
|
15950
|
+
"modelModifiers": {}
|
|
15951
|
+
}),
|
|
15952
|
+
emits: ["update:modelValue"],
|
|
15953
|
+
setup(__props, { attrs: $attrs }) {
|
|
15954
|
+
const modelValue = useModel(__props, "modelValue");
|
|
15955
|
+
const disabled = useDisabled_default(toRef(() => __props.disabled));
|
|
15956
|
+
const { id } = useFormFieldInjection_default();
|
|
15957
|
+
const translate = useTranslate_default();
|
|
15958
|
+
const anchorRef = useTemplateRef("anchor");
|
|
15959
|
+
const anchorPopupRef = useTemplateRef("anchorPopup");
|
|
15960
|
+
const nodeElementRefs = useTemplateRef("nodeElements");
|
|
15961
|
+
const searchInputRef = useTemplateRef("searchInput");
|
|
15962
|
+
const expandedIds = ref(/* @__PURE__ */ new Set());
|
|
15963
|
+
const isPopupOpen = ref(false);
|
|
15964
|
+
const searchQuery = ref("");
|
|
15965
|
+
const focusElement = computed(() => T(searchInputRef) ?? T(anchorRef));
|
|
15966
|
+
const selectedIds = computed(() => {
|
|
15967
|
+
const value = unref(modelValue);
|
|
15968
|
+
if (Array.isArray(value)) return new Set(value);
|
|
15969
|
+
return new Set(value !== void 0 ? [value] : []);
|
|
15970
|
+
});
|
|
15971
|
+
const selectedOptions = computed(() => {
|
|
15972
|
+
const ids = unref(selectedIds);
|
|
15973
|
+
if (ids.size === 0) return [];
|
|
15974
|
+
return flattenAll(__props.options).filter((node) => ids.has(node.id));
|
|
15975
|
+
});
|
|
15976
|
+
const visibleNodes = computed(() => {
|
|
15977
|
+
const query = unref(searchQuery).toLowerCase().trim();
|
|
15978
|
+
if (query) return flattenAll(__props.options).filter((node) => node.label.toLowerCase().includes(query)).map((node) => ({
|
|
15979
|
+
...node,
|
|
15980
|
+
depth: 0,
|
|
15981
|
+
isLast: false,
|
|
15982
|
+
lineGuides: []
|
|
15983
|
+
}));
|
|
15984
|
+
return flattenVisible(__props.options, 0, unref(expandedIds));
|
|
15985
|
+
});
|
|
15986
|
+
const { highlightedIndex, toggleExpand, onExpandClick, onKeyNavigate } = useTreeView({
|
|
15987
|
+
expandedIds,
|
|
15988
|
+
nodeElementRefs,
|
|
15989
|
+
visibleNodes
|
|
15990
|
+
});
|
|
15991
|
+
K$1([anchorRef, anchorPopupRef], isPopupOpen, () => isPopupOpen.value = false);
|
|
15992
|
+
K$1(anchorRef, isPopupOpen, () => unref(focusElement)?.focus());
|
|
15993
|
+
function toggle() {
|
|
15994
|
+
if (unref(disabled)) return;
|
|
15995
|
+
isPopupOpen.value = !unref(isPopupOpen);
|
|
15996
|
+
}
|
|
15997
|
+
function select(nodeId) {
|
|
15998
|
+
if (unref(__props.isMultiple)) {
|
|
15999
|
+
const current = [...unref(selectedIds)];
|
|
16000
|
+
if (current.includes(nodeId)) modelValue.value = current.filter((v) => v !== nodeId);
|
|
16001
|
+
else modelValue.value = [...current, nodeId];
|
|
16002
|
+
} else {
|
|
16003
|
+
modelValue.value = nodeId;
|
|
16004
|
+
isPopupOpen.value = false;
|
|
16005
|
+
}
|
|
16006
|
+
}
|
|
16007
|
+
function deselect(nodeId) {
|
|
16008
|
+
const current = unref(modelValue);
|
|
16009
|
+
if (Array.isArray(current)) modelValue.value = current.filter((v) => v !== nodeId);
|
|
16010
|
+
nextTick(() => T(anchorRef)?.focus());
|
|
16011
|
+
}
|
|
16012
|
+
function onNodeClick(node) {
|
|
16013
|
+
if (node.selectable !== false) {
|
|
16014
|
+
select(node.id);
|
|
16015
|
+
if (node.children?.length && !unref(expandedIds).has(node.id)) toggleExpand(node.id);
|
|
16016
|
+
} else if (node.children?.length) toggleExpand(node.id);
|
|
16017
|
+
}
|
|
16018
|
+
function onKeyDown(evt) {
|
|
16019
|
+
if (!unref(isPopupOpen)) {
|
|
16020
|
+
if (evt.key === "Enter" || evt.key === " ") {
|
|
16021
|
+
evt.preventDefault();
|
|
16022
|
+
isPopupOpen.value = true;
|
|
16023
|
+
}
|
|
16024
|
+
return;
|
|
16025
|
+
}
|
|
16026
|
+
switch (evt.key) {
|
|
16027
|
+
case "Backspace":
|
|
16028
|
+
if (!unref(__props.isMultiple)) return;
|
|
16029
|
+
if (unref(searchQuery).length > 0 || unref(selectedIds).size === 0) return;
|
|
16030
|
+
const selectedList = [...unref(selectedIds)];
|
|
16031
|
+
deselect(selectedList[selectedList.length - 1]);
|
|
16032
|
+
return;
|
|
16033
|
+
case "Escape":
|
|
16034
|
+
isPopupOpen.value = false;
|
|
16035
|
+
nextTick(() => T(anchorRef)?.focus());
|
|
16036
|
+
return;
|
|
16037
|
+
case "Tab":
|
|
16038
|
+
isPopupOpen.value = false;
|
|
16039
|
+
return;
|
|
16040
|
+
}
|
|
16041
|
+
if (__props.isSearchable && evt.key.length === 1 && evt.key !== "Enter" && evt.key !== " ") return;
|
|
16042
|
+
onKeyNavigate(evt, onNodeClick);
|
|
16043
|
+
}
|
|
16044
|
+
watch(isPopupOpen, (isOpen) => {
|
|
16045
|
+
if (!isOpen) {
|
|
16046
|
+
searchQuery.value = "";
|
|
16047
|
+
highlightedIndex.value = -1;
|
|
16048
|
+
return;
|
|
16049
|
+
}
|
|
16050
|
+
autoExpandSelected();
|
|
16051
|
+
nextTick(() => {
|
|
16052
|
+
const ids = unref(selectedIds);
|
|
16053
|
+
if (ids.size > 0) {
|
|
16054
|
+
const firstSelectedIndex = unref(visibleNodes).findIndex((n) => ids.has(n.id));
|
|
16055
|
+
if (firstSelectedIndex >= 0) highlightedIndex.value = firstSelectedIndex;
|
|
16056
|
+
}
|
|
16057
|
+
unref(focusElement)?.focus();
|
|
16058
|
+
});
|
|
16059
|
+
});
|
|
16060
|
+
watch(searchQuery, () => {
|
|
16061
|
+
highlightedIndex.value = -1;
|
|
16062
|
+
});
|
|
16063
|
+
function autoExpandSelected() {
|
|
16064
|
+
const ids = unref(selectedIds);
|
|
16065
|
+
if (ids.size === 0) return;
|
|
16066
|
+
const expanded = new Set(unref(expandedIds));
|
|
16067
|
+
function expandAncestors(nodes, targetId) {
|
|
16068
|
+
for (const node of nodes) {
|
|
16069
|
+
if (node.id === targetId) return true;
|
|
16070
|
+
if (node.children && expandAncestors(node.children, targetId)) {
|
|
16071
|
+
expanded.add(node.id);
|
|
16072
|
+
return true;
|
|
16073
|
+
}
|
|
16074
|
+
}
|
|
16075
|
+
return false;
|
|
16076
|
+
}
|
|
16077
|
+
for (const selectedId of ids) expandAncestors(__props.options, selectedId);
|
|
16078
|
+
expandedIds.value = expanded;
|
|
16079
|
+
}
|
|
16080
|
+
return (_ctx, _cache) => {
|
|
16081
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(Anchor_default, mergeProps({ ref: "anchor" }, $attrs, {
|
|
16082
|
+
class: unref(clsx)(unref(Form_module_default).formSelect, unref(disabled) && unref(Form_module_default).isDisabled, isPopupOpen.value && unref(Form_module_default).isFocused),
|
|
16083
|
+
id: unref(id),
|
|
16084
|
+
"aria-disabled": unref(disabled) ? true : void 0,
|
|
16085
|
+
tabindex: "0",
|
|
16086
|
+
"tag-name": "div",
|
|
16087
|
+
onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
|
|
16088
|
+
onKeydown: onKeyDown
|
|
16089
|
+
}), {
|
|
16090
|
+
default: withCtx(() => [__props.isMultiple && selectedOptions.value.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(selectedOptions.value, (option) => {
|
|
16091
|
+
return openBlock(), createBlock(FluxTag_default, {
|
|
16092
|
+
key: option.id,
|
|
16093
|
+
label: option.label,
|
|
16094
|
+
"is-deletable": "",
|
|
16095
|
+
onDelete: ($event) => deselect(option.id)
|
|
16096
|
+
}, null, 8, ["label", "onDelete"]);
|
|
16097
|
+
}), 128)) : !__props.isMultiple && selectedOptions.value[0] ? (openBlock(), createElementBlock("span", {
|
|
16098
|
+
key: 1,
|
|
16099
|
+
class: normalizeClass(unref(TreeViewSelect_module_default).treeViewSelectValue)
|
|
16100
|
+
}, toDisplayString(selectedOptions.value[0].label), 3)) : __props.placeholder ? (openBlock(), createElementBlock("span", {
|
|
16101
|
+
key: 2,
|
|
16102
|
+
class: normalizeClass(unref(Form_module_default).formSelectPlaceholder)
|
|
16103
|
+
}, toDisplayString(__props.placeholder), 3)) : createCommentVNode("", true), createVNode(FluxIcon_default, {
|
|
16104
|
+
class: normalizeClass(unref(Form_module_default).formSelectIcon),
|
|
16105
|
+
name: "angle-down"
|
|
16106
|
+
}, null, 8, ["class"])]),
|
|
16107
|
+
_: 1
|
|
16108
|
+
}, 16, [
|
|
16109
|
+
"class",
|
|
16110
|
+
"id",
|
|
16111
|
+
"aria-disabled"
|
|
16112
|
+
]), (openBlock(), createBlock(Teleport, { to: "body" }, [createVNode(unref(FluxFadeTransition_default), null, {
|
|
16113
|
+
default: withCtx(() => [isPopupOpen.value && !unref(disabled) ? (openBlock(), createBlock(AnchorPopup_default, {
|
|
16114
|
+
key: 0,
|
|
16115
|
+
ref: "anchorPopup",
|
|
16116
|
+
class: normalizeClass(unref(Form_module_default).formSelectPopup),
|
|
16117
|
+
anchor: anchorRef.value,
|
|
16118
|
+
direction: "vertical",
|
|
16119
|
+
"use-anchor-width": ""
|
|
16120
|
+
}, {
|
|
16121
|
+
default: withCtx(() => [__props.isSearchable ? (openBlock(), createBlock(FluxFormInput_default, {
|
|
16122
|
+
key: 0,
|
|
16123
|
+
modelValue: searchQuery.value,
|
|
16124
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchQuery.value = $event),
|
|
16125
|
+
ref: "searchInput",
|
|
16126
|
+
"auto-complete": "off",
|
|
16127
|
+
class: normalizeClass(unref(Form_module_default).formSelectInput),
|
|
16128
|
+
type: "search",
|
|
16129
|
+
"icon-trailing": "magnifying-glass",
|
|
16130
|
+
placeholder: unref(translate)("flux.search"),
|
|
16131
|
+
onKeydown: onKeyDown
|
|
16132
|
+
}, null, 8, [
|
|
16133
|
+
"modelValue",
|
|
16134
|
+
"class",
|
|
16135
|
+
"placeholder"
|
|
16136
|
+
])) : createCommentVNode("", true), createElementVNode("div", { class: normalizeClass(unref(TreeViewSelect_module_default).treeViewSelectList) }, [visibleNodes.value.length === 0 ? (openBlock(), createElementBlock("div", {
|
|
16137
|
+
key: 0,
|
|
16138
|
+
class: normalizeClass(unref(TreeViewSelect_module_default).treeViewSelectEmpty)
|
|
16139
|
+
}, toDisplayString(unref(translate)("flux.noItems")), 3)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(visibleNodes.value, (node, nodeIndex) => {
|
|
16140
|
+
return openBlock(), createElementBlock("div", {
|
|
16141
|
+
ref_for: true,
|
|
16142
|
+
ref: "nodeElements",
|
|
16143
|
+
key: node.id,
|
|
16144
|
+
class: normalizeClass(unref(clsx)(unref(TreeViewSelect_module_default).treeNode, node.selectable !== false && unref(TreeViewSelect_module_default).isSelectable, node.selectable === false && !!node.children?.length && unref(TreeViewSelect_module_default).isExpandable, selectedIds.value.has(node.id) && unref(TreeViewSelect_module_default).isSelected, nodeIndex === unref(highlightedIndex) && unref(TreeViewSelect_module_default).isHighlighted)),
|
|
16145
|
+
role: node.selectable !== false ? "option" : void 0,
|
|
16146
|
+
tabindex: node.selectable !== false ? 0 : void 0,
|
|
16147
|
+
"aria-selected": node.selectable !== false ? selectedIds.value.has(node.id) : void 0,
|
|
16148
|
+
onClick: ($event) => onNodeClick(node),
|
|
16149
|
+
onKeydown: [withKeys(withModifiers(($event) => onNodeClick(node), ["prevent"]), ["enter"]), withKeys(withModifiers(($event) => onNodeClick(node), ["prevent"]), ["space"])]
|
|
16150
|
+
}, [
|
|
16151
|
+
createElementVNode("div", { class: normalizeClass(unref(TreeViewSelect_module_default).treeNodeLineArea) }, [
|
|
16152
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(node.lineGuides, (showLine, guideIndex) => {
|
|
16153
|
+
return openBlock(), createElementBlock("span", {
|
|
16154
|
+
key: `g-${guideIndex}`,
|
|
16155
|
+
class: normalizeClass([unref(TreeViewSelect_module_default).treeIndent, showLine && unref(TreeViewSelect_module_default).hasLine])
|
|
16156
|
+
}, null, 2);
|
|
16157
|
+
}), 128)),
|
|
16158
|
+
node.depth > 0 ? (openBlock(), createElementBlock("span", {
|
|
16159
|
+
key: 0,
|
|
16160
|
+
class: normalizeClass([unref(TreeViewSelect_module_default).treeConnector, node.isLast && unref(TreeViewSelect_module_default).isLast])
|
|
16161
|
+
}, null, 2)) : createCommentVNode("", true),
|
|
16162
|
+
createElementVNode("span", {
|
|
16163
|
+
class: normalizeClass(unref(TreeViewSelect_module_default).treeNodeExpand),
|
|
16164
|
+
onClick: ($event) => unref(onExpandClick)(node, $event)
|
|
16165
|
+
}, [node.children?.length ? (openBlock(), createBlock(FluxIcon_default, {
|
|
16166
|
+
key: 0,
|
|
16167
|
+
name: expandedIds.value.has(node.id) ? "angle-down" : "angle-right",
|
|
16168
|
+
size: 12
|
|
16169
|
+
}, null, 8, ["name"])) : createCommentVNode("", true)], 10, _hoisted_2$8)
|
|
16170
|
+
], 2),
|
|
16171
|
+
unref(getLevelColor)(node.depth, __props.levelColors) ? (openBlock(), createElementBlock("span", {
|
|
16172
|
+
key: 0,
|
|
16173
|
+
class: normalizeClass(unref(TreeViewSelect_module_default).treeNodeColorDot),
|
|
16174
|
+
style: normalizeStyle({ background: unref(getLevelColor)(node.depth, __props.levelColors) })
|
|
16175
|
+
}, null, 6)) : createCommentVNode("", true),
|
|
16176
|
+
node.icon ? (openBlock(), createBlock(FluxIcon_default, {
|
|
16177
|
+
key: 1,
|
|
16178
|
+
class: normalizeClass(unref(TreeViewSelect_module_default).treeNodeIcon),
|
|
16179
|
+
name: node.icon,
|
|
16180
|
+
size: 16
|
|
16181
|
+
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
16182
|
+
createElementVNode("span", { class: normalizeClass(unref(TreeViewSelect_module_default).treeNodeLabel) }, toDisplayString(node.label), 3),
|
|
16183
|
+
selectedIds.value.has(node.id) ? (openBlock(), createBlock(FluxIcon_default, {
|
|
16184
|
+
key: 2,
|
|
16185
|
+
class: normalizeClass(unref(TreeViewSelect_module_default).treeNodeCheck),
|
|
16186
|
+
name: "check",
|
|
16187
|
+
size: 14
|
|
16188
|
+
}, null, 8, ["class"])) : createCommentVNode("", true)
|
|
16189
|
+
], 42, _hoisted_1$17);
|
|
16190
|
+
}), 128))], 2)]),
|
|
16191
|
+
_: 1
|
|
16192
|
+
}, 8, ["class", "anchor"])) : createCommentVNode("", true)]),
|
|
16193
|
+
_: 1
|
|
16194
|
+
})]))], 64);
|
|
16195
|
+
};
|
|
16196
|
+
}
|
|
16197
|
+
});
|
|
15048
16198
|
var Remove_module_default = {
|
|
15049
16199
|
remove: `remove`,
|
|
15050
16200
|
isHidden: `is-hidden`
|
|
15051
16201
|
};
|
|
16202
|
+
//#endregion
|
|
16203
|
+
//#region src/component/FluxRemove.vue
|
|
15052
16204
|
var FluxRemove_default = /* @__PURE__ */ defineComponent({
|
|
15053
16205
|
__name: "FluxRemove",
|
|
15054
16206
|
props: {
|
|
@@ -15081,6 +16233,8 @@ var Placeholder_module_default = {
|
|
|
15081
16233
|
placeholderCaption: `placeholder-caption`,
|
|
15082
16234
|
button: `button`
|
|
15083
16235
|
};
|
|
16236
|
+
//#endregion
|
|
16237
|
+
//#region src/css/component/Gallery.module.scss
|
|
15084
16238
|
var { "placeholder": _0$5 } = Placeholder_module_default;
|
|
15085
16239
|
var Gallery_module_default = {
|
|
15086
16240
|
gallery: `gallery`,
|
|
@@ -15093,6 +16247,8 @@ var Gallery_module_default = {
|
|
|
15093
16247
|
galleryItemLoader: `gallery-item-loader`,
|
|
15094
16248
|
spinner: `spinner`
|
|
15095
16249
|
};
|
|
16250
|
+
//#endregion
|
|
16251
|
+
//#region src/component/FluxGalleryItem.vue
|
|
15096
16252
|
var FluxGalleryItem_default = /* @__PURE__ */ defineComponent({
|
|
15097
16253
|
__name: "FluxGalleryItem",
|
|
15098
16254
|
props: {
|
|
@@ -15134,7 +16290,11 @@ var FluxGalleryItem_default = /* @__PURE__ */ defineComponent({
|
|
|
15134
16290
|
};
|
|
15135
16291
|
}
|
|
15136
16292
|
});
|
|
15137
|
-
|
|
16293
|
+
//#endregion
|
|
16294
|
+
//#region src/component/FluxGallery.vue?vue&type=script&setup=true&lang.ts
|
|
16295
|
+
var _hoisted_1$16 = ["onClick"];
|
|
16296
|
+
//#endregion
|
|
16297
|
+
//#region src/component/FluxGallery.vue
|
|
15138
16298
|
var FluxGallery_default = /* @__PURE__ */ defineComponent({
|
|
15139
16299
|
__name: "FluxGallery",
|
|
15140
16300
|
props: {
|
|
@@ -15210,7 +16370,7 @@ var FluxGallery_default = /* @__PURE__ */ defineComponent({
|
|
|
15210
16370
|
class: normalizeClass(unref(Gallery_module_default).galleryAdd),
|
|
15211
16371
|
type: "button",
|
|
15212
16372
|
onClick: ($event) => showPicker()
|
|
15213
|
-
}, [createVNode(FluxIcon_default, { name: "plus" })], 10, _hoisted_1$
|
|
16373
|
+
}, [createVNode(FluxIcon_default, { name: "plus" })], 10, _hoisted_1$16)) : createCommentVNode("", true)
|
|
15214
16374
|
]),
|
|
15215
16375
|
_: 2
|
|
15216
16376
|
}, 1032, ["class", "move-class"])]),
|
|
@@ -15229,6 +16389,8 @@ var Grid_module_default = {
|
|
|
15229
16389
|
grid: `grid`,
|
|
15230
16390
|
gridColumn: `grid-column`
|
|
15231
16391
|
};
|
|
16392
|
+
//#endregion
|
|
16393
|
+
//#region src/component/FluxGrid.vue
|
|
15232
16394
|
var FluxGrid_default = /* @__PURE__ */ defineComponent({
|
|
15233
16395
|
__name: "FluxGrid",
|
|
15234
16396
|
props: {
|
|
@@ -15247,6 +16409,8 @@ var FluxGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
15247
16409
|
};
|
|
15248
16410
|
}
|
|
15249
16411
|
});
|
|
16412
|
+
//#endregion
|
|
16413
|
+
//#region src/component/FluxGridColumn.vue
|
|
15250
16414
|
var FluxGridColumn_default = /* @__PURE__ */ defineComponent({
|
|
15251
16415
|
__name: "FluxGridColumn",
|
|
15252
16416
|
props: {
|
|
@@ -15271,12 +16435,14 @@ var FluxGridColumn_default = /* @__PURE__ */ defineComponent({
|
|
|
15271
16435
|
};
|
|
15272
16436
|
}
|
|
15273
16437
|
});
|
|
15274
|
-
|
|
16438
|
+
//#endregion
|
|
16439
|
+
//#region src/component/FluxGridPattern.vue?vue&type=script&setup=true&lang.ts
|
|
16440
|
+
var _hoisted_1$15 = [
|
|
15275
16441
|
"id",
|
|
15276
16442
|
"width",
|
|
15277
16443
|
"height"
|
|
15278
16444
|
];
|
|
15279
|
-
var _hoisted_2$
|
|
16445
|
+
var _hoisted_2$7 = ["d", "stroke-dasharray"];
|
|
15280
16446
|
var _hoisted_3$2 = ["fill"];
|
|
15281
16447
|
var _hoisted_4 = {
|
|
15282
16448
|
key: 0,
|
|
@@ -15288,6 +16454,8 @@ var _hoisted_5 = [
|
|
|
15288
16454
|
"x",
|
|
15289
16455
|
"y"
|
|
15290
16456
|
];
|
|
16457
|
+
//#endregion
|
|
16458
|
+
//#region src/component/FluxGridPattern.vue
|
|
15291
16459
|
var FluxGridPattern_default = /* @__PURE__ */ defineComponent({
|
|
15292
16460
|
__name: "FluxGridPattern",
|
|
15293
16461
|
props: {
|
|
@@ -15314,7 +16482,7 @@ var FluxGridPattern_default = /* @__PURE__ */ defineComponent({
|
|
|
15314
16482
|
d: `M.5 ${__props.height}V.5H${__props.width}`,
|
|
15315
16483
|
fill: "none",
|
|
15316
16484
|
"stroke-dasharray": __props.strokeDasharray
|
|
15317
|
-
}, null, 8, _hoisted_2$
|
|
16485
|
+
}, null, 8, _hoisted_2$7)], 8, _hoisted_1$15)]),
|
|
15318
16486
|
createElementVNode("rect", {
|
|
15319
16487
|
width: "100%",
|
|
15320
16488
|
height: "100%",
|
|
@@ -15340,6 +16508,8 @@ var Info_module_default = {
|
|
|
15340
16508
|
icon: `icon`,
|
|
15341
16509
|
infoBody: `info-body`
|
|
15342
16510
|
};
|
|
16511
|
+
//#endregion
|
|
16512
|
+
//#region src/component/FluxInfo.vue
|
|
15343
16513
|
var FluxInfo_default = /* @__PURE__ */ defineComponent({
|
|
15344
16514
|
__name: "FluxInfo",
|
|
15345
16515
|
props: { icon: {} },
|
|
@@ -15353,6 +16523,8 @@ var FluxInfo_default = /* @__PURE__ */ defineComponent({
|
|
|
15353
16523
|
};
|
|
15354
16524
|
}
|
|
15355
16525
|
});
|
|
16526
|
+
//#endregion
|
|
16527
|
+
//#region src/component/FluxInfoStack.vue
|
|
15356
16528
|
var FluxInfoStack_default = /* @__PURE__ */ defineComponent({
|
|
15357
16529
|
__name: "FluxInfoStack",
|
|
15358
16530
|
setup(__props) {
|
|
@@ -15379,6 +16551,8 @@ var Item_module_default = {
|
|
|
15379
16551
|
itemStack: `item-stack`,
|
|
15380
16552
|
basePaneStructure: `base-pane-structure`
|
|
15381
16553
|
};
|
|
16554
|
+
//#endregion
|
|
16555
|
+
//#region src/component/FluxItem.vue
|
|
15382
16556
|
var FluxItem_default = /* @__PURE__ */ defineComponent({
|
|
15383
16557
|
__name: "FluxItem",
|
|
15384
16558
|
setup(__props) {
|
|
@@ -15387,6 +16561,8 @@ var FluxItem_default = /* @__PURE__ */ defineComponent({
|
|
|
15387
16561
|
};
|
|
15388
16562
|
}
|
|
15389
16563
|
});
|
|
16564
|
+
//#endregion
|
|
16565
|
+
//#region src/component/FluxItemActions.vue
|
|
15390
16566
|
var FluxItemActions_default = /* @__PURE__ */ defineComponent({
|
|
15391
16567
|
__name: "FluxItemActions",
|
|
15392
16568
|
props: { isCenter: { type: Boolean } },
|
|
@@ -15399,6 +16575,8 @@ var FluxItemActions_default = /* @__PURE__ */ defineComponent({
|
|
|
15399
16575
|
};
|
|
15400
16576
|
}
|
|
15401
16577
|
});
|
|
16578
|
+
//#endregion
|
|
16579
|
+
//#region src/component/FluxItemContent.vue
|
|
15402
16580
|
var FluxItemContent_default = /* @__PURE__ */ defineComponent({
|
|
15403
16581
|
__name: "FluxItemContent",
|
|
15404
16582
|
props: { isCenter: { type: Boolean } },
|
|
@@ -15408,6 +16586,8 @@ var FluxItemContent_default = /* @__PURE__ */ defineComponent({
|
|
|
15408
16586
|
};
|
|
15409
16587
|
}
|
|
15410
16588
|
});
|
|
16589
|
+
//#endregion
|
|
16590
|
+
//#region src/component/FluxItemMedia.vue
|
|
15411
16591
|
var FluxItemMedia_default = /* @__PURE__ */ defineComponent({
|
|
15412
16592
|
__name: "FluxItemMedia",
|
|
15413
16593
|
props: {
|
|
@@ -15423,6 +16603,8 @@ var FluxItemMedia_default = /* @__PURE__ */ defineComponent({
|
|
|
15423
16603
|
};
|
|
15424
16604
|
}
|
|
15425
16605
|
});
|
|
16606
|
+
//#endregion
|
|
16607
|
+
//#region src/component/FluxItemStack.vue
|
|
15426
16608
|
var FluxItemStack_default = /* @__PURE__ */ defineComponent({
|
|
15427
16609
|
__name: "FluxItemStack",
|
|
15428
16610
|
setup(__props) {
|
|
@@ -15437,12 +16619,16 @@ var FluxItemStack_default = /* @__PURE__ */ defineComponent({
|
|
|
15437
16619
|
};
|
|
15438
16620
|
}
|
|
15439
16621
|
});
|
|
16622
|
+
//#endregion
|
|
16623
|
+
//#region src/css/component/Legend.module.scss
|
|
15440
16624
|
var { "stackHorizontal": _0$4, "stackVertical": _1$1 } = Layout_module_default;
|
|
15441
16625
|
var Legend_module_default = {
|
|
15442
16626
|
legendHorizontal: `legend-horizontal ${_0$4}`,
|
|
15443
16627
|
legendVertical: `legend-vertical ${_1$1}`,
|
|
15444
16628
|
legendItem: `legend-item`
|
|
15445
16629
|
};
|
|
16630
|
+
//#endregion
|
|
16631
|
+
//#region src/component/FluxLegend.vue
|
|
15446
16632
|
var FluxLegend_default = /* @__PURE__ */ defineComponent({
|
|
15447
16633
|
__name: "FluxLegend",
|
|
15448
16634
|
props: {
|
|
@@ -15460,6 +16646,8 @@ var FluxLegend_default = /* @__PURE__ */ defineComponent({
|
|
|
15460
16646
|
};
|
|
15461
16647
|
}
|
|
15462
16648
|
});
|
|
16649
|
+
//#endregion
|
|
16650
|
+
//#region src/component/FluxLink.vue
|
|
15463
16651
|
var FluxLink_default = /* @__PURE__ */ defineComponent({
|
|
15464
16652
|
__name: "FluxLink",
|
|
15465
16653
|
props: {
|
|
@@ -15518,6 +16706,8 @@ var FluxLink_default = /* @__PURE__ */ defineComponent({
|
|
|
15518
16706
|
};
|
|
15519
16707
|
}
|
|
15520
16708
|
});
|
|
16709
|
+
//#endregion
|
|
16710
|
+
//#region src/component/FluxMenuOptions.vue
|
|
15521
16711
|
var FluxMenuOptions_default = /* @__PURE__ */ defineComponent({
|
|
15522
16712
|
__name: "FluxMenuOptions",
|
|
15523
16713
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -15547,6 +16737,8 @@ var FluxMenuOptions_default = /* @__PURE__ */ defineComponent({
|
|
|
15547
16737
|
};
|
|
15548
16738
|
}
|
|
15549
16739
|
});
|
|
16740
|
+
//#endregion
|
|
16741
|
+
//#region src/component/FluxMenuTitle.vue
|
|
15550
16742
|
var FluxMenuTitle_default = /* @__PURE__ */ defineComponent({
|
|
15551
16743
|
__name: "FluxMenuTitle",
|
|
15552
16744
|
props: { title: {} },
|
|
@@ -15559,6 +16751,8 @@ var FluxMenuTitle_default = /* @__PURE__ */ defineComponent({
|
|
|
15559
16751
|
};
|
|
15560
16752
|
}
|
|
15561
16753
|
});
|
|
16754
|
+
//#endregion
|
|
16755
|
+
//#region src/css/component/Notice.module.scss
|
|
15562
16756
|
var { "basePaneElement": _0$3 } = Pane_module_default$1;
|
|
15563
16757
|
var Notice_module_default = {
|
|
15564
16758
|
notice: `notice ${_0$3}`,
|
|
@@ -15582,6 +16776,8 @@ var Notice_module_default = {
|
|
|
15582
16776
|
noticeWarning: `notice-warning notice ${_0$3}`,
|
|
15583
16777
|
basePane: `base-pane`
|
|
15584
16778
|
};
|
|
16779
|
+
//#endregion
|
|
16780
|
+
//#region src/component/FluxNotice.vue
|
|
15585
16781
|
var FluxNotice_default = /* @__PURE__ */ defineComponent({
|
|
15586
16782
|
__name: "FluxNotice",
|
|
15587
16783
|
props: {
|
|
@@ -15633,6 +16829,8 @@ var FluxNotice_default = /* @__PURE__ */ defineComponent({
|
|
|
15633
16829
|
};
|
|
15634
16830
|
}
|
|
15635
16831
|
});
|
|
16832
|
+
//#endregion
|
|
16833
|
+
//#region src/component/FluxNoticeStack.vue
|
|
15636
16834
|
var FluxNoticeStack_default = /* @__PURE__ */ defineComponent({
|
|
15637
16835
|
__name: "FluxNoticeStack",
|
|
15638
16836
|
setup(__props) {
|
|
@@ -15647,6 +16845,8 @@ var FluxNoticeStack_default = /* @__PURE__ */ defineComponent({
|
|
|
15647
16845
|
};
|
|
15648
16846
|
}
|
|
15649
16847
|
});
|
|
16848
|
+
//#endregion
|
|
16849
|
+
//#region src/component/FluxOverlay.vue
|
|
15650
16850
|
var FluxOverlay_default = defineComponent({
|
|
15651
16851
|
emits: ["close"],
|
|
15652
16852
|
inheritAttrs: false,
|
|
@@ -15664,8 +16864,12 @@ var FluxOverlay_default = defineComponent({
|
|
|
15664
16864
|
return createDialogRenderer_default(attrs, props, emit, slots, clsx(props.size === "small" && Overlay_module_default.overlaySmall, props.size === "medium" && Overlay_module_default.overlayMedium, props.size === "large" && Overlay_module_default.overlayLarge), FluxOverlayTransition_default);
|
|
15665
16865
|
}
|
|
15666
16866
|
});
|
|
15667
|
-
|
|
15668
|
-
|
|
16867
|
+
//#endregion
|
|
16868
|
+
//#region src/component/FluxPaneHeader.vue?vue&type=script&setup=true&lang.ts
|
|
16869
|
+
var _hoisted_1$14 = { key: 0 };
|
|
16870
|
+
var _hoisted_2$6 = { key: 1 };
|
|
16871
|
+
//#endregion
|
|
16872
|
+
//#region src/component/FluxPaneHeader.vue
|
|
15669
16873
|
var FluxPaneHeader_default = /* @__PURE__ */ defineComponent({
|
|
15670
16874
|
__name: "FluxPaneHeader",
|
|
15671
16875
|
props: {
|
|
@@ -15686,12 +16890,14 @@ var FluxPaneHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
15686
16890
|
__props.title || __props.subTitle ? (openBlock(), createElementBlock("div", {
|
|
15687
16891
|
key: 1,
|
|
15688
16892
|
class: normalizeClass(unref(Pane_module_default).paneHeaderCaption)
|
|
15689
|
-
}, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$
|
|
16893
|
+
}, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$14, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.subTitle ? (openBlock(), createElementBlock("span", _hoisted_2$6, toDisplayString(__props.subTitle), 1)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
|
|
15690
16894
|
renderSlot(_ctx.$slots, "after")
|
|
15691
16895
|
], 2);
|
|
15692
16896
|
};
|
|
15693
16897
|
}
|
|
15694
16898
|
});
|
|
16899
|
+
//#endregion
|
|
16900
|
+
//#region src/component/FluxAlert.vue
|
|
15695
16901
|
var FluxAlert_default = /* @__PURE__ */ defineComponent({
|
|
15696
16902
|
__name: "FluxAlert",
|
|
15697
16903
|
props: { alert: {} },
|
|
@@ -15719,6 +16925,8 @@ var FluxAlert_default = /* @__PURE__ */ defineComponent({
|
|
|
15719
16925
|
};
|
|
15720
16926
|
}
|
|
15721
16927
|
});
|
|
16928
|
+
//#endregion
|
|
16929
|
+
//#region src/component/FluxConfirm.vue
|
|
15722
16930
|
var FluxConfirm_default = /* @__PURE__ */ defineComponent({
|
|
15723
16931
|
__name: "FluxConfirm",
|
|
15724
16932
|
props: { confirm: {} },
|
|
@@ -15753,6 +16961,8 @@ var FluxConfirm_default = /* @__PURE__ */ defineComponent({
|
|
|
15753
16961
|
};
|
|
15754
16962
|
}
|
|
15755
16963
|
});
|
|
16964
|
+
//#endregion
|
|
16965
|
+
//#region src/component/FluxPrompt.vue
|
|
15756
16966
|
var FluxPrompt_default = /* @__PURE__ */ defineComponent({
|
|
15757
16967
|
__name: "FluxPrompt",
|
|
15758
16968
|
props: { prompt: {} },
|
|
@@ -15817,6 +17027,8 @@ var FluxPrompt_default = /* @__PURE__ */ defineComponent({
|
|
|
15817
17027
|
};
|
|
15818
17028
|
}
|
|
15819
17029
|
});
|
|
17030
|
+
//#endregion
|
|
17031
|
+
//#region src/component/FluxOverlayProvider.vue
|
|
15820
17032
|
var FluxOverlayProvider_default = /* @__PURE__ */ defineComponent({
|
|
15821
17033
|
__name: "FluxOverlayProvider",
|
|
15822
17034
|
setup(__props) {
|
|
@@ -15855,6 +17067,8 @@ var FluxOverlayProvider_default = /* @__PURE__ */ defineComponent({
|
|
|
15855
17067
|
};
|
|
15856
17068
|
}
|
|
15857
17069
|
});
|
|
17070
|
+
//#endregion
|
|
17071
|
+
//#region src/component/FluxPaneDeck.vue
|
|
15858
17072
|
var FluxPaneDeck_default = /* @__PURE__ */ defineComponent({
|
|
15859
17073
|
__name: "FluxPaneDeck",
|
|
15860
17074
|
props: { minColumnWidth: {} },
|
|
@@ -15870,6 +17084,8 @@ var FluxPaneDeck_default = /* @__PURE__ */ defineComponent({
|
|
|
15870
17084
|
};
|
|
15871
17085
|
}
|
|
15872
17086
|
});
|
|
17087
|
+
//#endregion
|
|
17088
|
+
//#region src/component/FluxPaneGroup.vue
|
|
15873
17089
|
var FluxPaneGroup_default = /* @__PURE__ */ defineComponent({
|
|
15874
17090
|
__name: "FluxPaneGroup",
|
|
15875
17091
|
setup(__props) {
|
|
@@ -15878,6 +17094,8 @@ var FluxPaneGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
15878
17094
|
};
|
|
15879
17095
|
}
|
|
15880
17096
|
});
|
|
17097
|
+
//#endregion
|
|
17098
|
+
//#region src/component/FluxPaneIllustration.vue
|
|
15881
17099
|
var FluxPaneIllustration_default = /* @__PURE__ */ defineComponent({
|
|
15882
17100
|
__name: "FluxPaneIllustration",
|
|
15883
17101
|
props: {
|
|
@@ -15923,7 +17141,11 @@ var FluxPaneIllustration_default = /* @__PURE__ */ defineComponent({
|
|
|
15923
17141
|
};
|
|
15924
17142
|
}
|
|
15925
17143
|
});
|
|
15926
|
-
|
|
17144
|
+
//#endregion
|
|
17145
|
+
//#region src/component/FluxPaneMedia.vue?vue&type=script&setup=true&lang.ts
|
|
17146
|
+
var _hoisted_1$13 = ["src", "alt"];
|
|
17147
|
+
//#endregion
|
|
17148
|
+
//#region src/component/FluxPaneMedia.vue
|
|
15927
17149
|
var FluxPaneMedia_default = /* @__PURE__ */ defineComponent({
|
|
15928
17150
|
__name: "FluxPaneMedia",
|
|
15929
17151
|
props: {
|
|
@@ -15946,7 +17168,7 @@ var FluxPaneMedia_default = /* @__PURE__ */ defineComponent({
|
|
|
15946
17168
|
}),
|
|
15947
17169
|
src: __props.imageUrl,
|
|
15948
17170
|
alt: __props.imageAlt
|
|
15949
|
-
}, null, 14, _hoisted_1$
|
|
17171
|
+
}, null, 14, _hoisted_1$13)) : createCommentVNode("", true)], 2);
|
|
15950
17172
|
};
|
|
15951
17173
|
}
|
|
15952
17174
|
});
|
|
@@ -15956,6 +17178,8 @@ var PercentageBar_module_default = {
|
|
|
15956
17178
|
percentageBarTooltip: `percentage-bar-tooltip`,
|
|
15957
17179
|
percentageBarTrack: `percentage-bar-track`
|
|
15958
17180
|
};
|
|
17181
|
+
//#endregion
|
|
17182
|
+
//#region src/component/FluxPercentageBar.vue
|
|
15959
17183
|
var FluxPercentageBar_default = /* @__PURE__ */ defineComponent({
|
|
15960
17184
|
__name: "FluxPercentageBar",
|
|
15961
17185
|
props: {
|
|
@@ -15987,7 +17211,11 @@ var FluxPercentageBar_default = /* @__PURE__ */ defineComponent({
|
|
|
15987
17211
|
};
|
|
15988
17212
|
}
|
|
15989
17213
|
});
|
|
15990
|
-
|
|
17214
|
+
//#endregion
|
|
17215
|
+
//#region src/component/FluxPersona.vue?vue&type=script&setup=true&lang.ts
|
|
17216
|
+
var _hoisted_1$12 = { key: 0 };
|
|
17217
|
+
//#endregion
|
|
17218
|
+
//#region src/component/FluxPersona.vue
|
|
15991
17219
|
var FluxPersona_default = /* @__PURE__ */ defineComponent({
|
|
15992
17220
|
__name: "FluxPersona",
|
|
15993
17221
|
props: {
|
|
@@ -16025,12 +17253,16 @@ var FluxPersona_default = /* @__PURE__ */ defineComponent({
|
|
|
16025
17253
|
]), !__props.isCompact ? (openBlock(), createElementBlock("div", {
|
|
16026
17254
|
key: 0,
|
|
16027
17255
|
class: normalizeClass(unref(Avatar_module_default).personaDetails)
|
|
16028
|
-
}, [createElementVNode("strong", null, toDisplayString(__props.name), 1), __props.title ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
17256
|
+
}, [createElementVNode("strong", null, toDisplayString(__props.name), 1), __props.title ? (openBlock(), createElementBlock("span", _hoisted_1$12, toDisplayString(__props.title), 1)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)], 2);
|
|
16029
17257
|
};
|
|
16030
17258
|
}
|
|
16031
17259
|
});
|
|
16032
|
-
|
|
16033
|
-
|
|
17260
|
+
//#endregion
|
|
17261
|
+
//#region src/component/FluxPlaceholder.vue?vue&type=script&setup=true&lang.ts
|
|
17262
|
+
var _hoisted_1$11 = { key: 0 };
|
|
17263
|
+
var _hoisted_2$5 = { key: 1 };
|
|
17264
|
+
//#endregion
|
|
17265
|
+
//#region src/component/FluxPlaceholder.vue
|
|
16034
17266
|
var FluxPlaceholder_default = /* @__PURE__ */ defineComponent({
|
|
16035
17267
|
__name: "FluxPlaceholder",
|
|
16036
17268
|
props: {
|
|
@@ -16057,12 +17289,14 @@ var FluxPlaceholder_default = /* @__PURE__ */ defineComponent({
|
|
|
16057
17289
|
class: normalizeClass(unref(Placeholder_module_default).placeholderIcon),
|
|
16058
17290
|
name: __props.icon
|
|
16059
17291
|
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
16060
|
-
createElementVNode("div", { class: normalizeClass(unref(Placeholder_module_default).placeholderCaption) }, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$
|
|
17292
|
+
createElementVNode("div", { class: normalizeClass(unref(Placeholder_module_default).placeholderCaption) }, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$11, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.message ? (openBlock(), createElementBlock("p", _hoisted_2$5, toDisplayString(__props.message), 1)) : createCommentVNode("", true)], 2),
|
|
16061
17293
|
renderSlot(_ctx.$slots, "default")
|
|
16062
17294
|
], 2);
|
|
16063
17295
|
};
|
|
16064
17296
|
}
|
|
16065
17297
|
});
|
|
17298
|
+
//#endregion
|
|
17299
|
+
//#region src/component/FluxPrimaryLinkButton.vue
|
|
16066
17300
|
var FluxPrimaryLinkButton_default = /* @__PURE__ */ defineComponent({
|
|
16067
17301
|
__name: "FluxPrimaryLinkButton",
|
|
16068
17302
|
props: {
|
|
@@ -16135,6 +17369,8 @@ var Progress_module_default = {
|
|
|
16135
17369
|
progressBarStatus: `progress-bar-status`,
|
|
16136
17370
|
basePaneStructure: `base-pane-structure`
|
|
16137
17371
|
};
|
|
17372
|
+
//#endregion
|
|
17373
|
+
//#region src/component/FluxProgressBar.vue
|
|
16138
17374
|
var FluxProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
16139
17375
|
__name: "FluxProgressBar",
|
|
16140
17376
|
props: {
|
|
@@ -16192,6 +17428,8 @@ var FluxProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
16192
17428
|
};
|
|
16193
17429
|
}
|
|
16194
17430
|
});
|
|
17431
|
+
//#endregion
|
|
17432
|
+
//#region src/component/FluxPublishButton.vue
|
|
16195
17433
|
var FluxPublishButton_default = /* @__PURE__ */ defineComponent({
|
|
16196
17434
|
__name: "FluxPublishButton",
|
|
16197
17435
|
props: {
|
|
@@ -16272,12 +17510,16 @@ var FluxPublishButton_default = /* @__PURE__ */ defineComponent({
|
|
|
16272
17510
|
};
|
|
16273
17511
|
}
|
|
16274
17512
|
});
|
|
16275
|
-
|
|
17513
|
+
//#endregion
|
|
17514
|
+
//#region src/component/FluxQuantitySelector.vue?vue&type=script&setup=true&lang.ts
|
|
17515
|
+
var _hoisted_1$10 = [
|
|
16276
17516
|
"disabled",
|
|
16277
17517
|
"max",
|
|
16278
17518
|
"min",
|
|
16279
17519
|
"step"
|
|
16280
17520
|
];
|
|
17521
|
+
//#endregion
|
|
17522
|
+
//#region src/component/FluxQuantitySelector.vue
|
|
16281
17523
|
var FluxQuantitySelector_default = /* @__PURE__ */ defineComponent({
|
|
16282
17524
|
__name: "FluxQuantitySelector",
|
|
16283
17525
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -16346,7 +17588,7 @@ var FluxQuantitySelector_default = /* @__PURE__ */ defineComponent({
|
|
|
16346
17588
|
max: __props.max,
|
|
16347
17589
|
min: __props.min,
|
|
16348
17590
|
step: __props.step
|
|
16349
|
-
}, null, 14, _hoisted_1$
|
|
17591
|
+
}, null, 14, _hoisted_1$10), [[vModelText, modelValue.value]]),
|
|
16350
17592
|
createVNode(FluxSecondaryButton_default, {
|
|
16351
17593
|
class: normalizeClass(unref(Form_module_default).quantitySelectorButton),
|
|
16352
17594
|
disabled: unref(disabled) || modelValue.value >= __props.max,
|
|
@@ -16360,6 +17602,8 @@ var FluxQuantitySelector_default = /* @__PURE__ */ defineComponent({
|
|
|
16360
17602
|
};
|
|
16361
17603
|
}
|
|
16362
17604
|
});
|
|
17605
|
+
//#endregion
|
|
17606
|
+
//#region src/css/component/Snackbar.module.scss
|
|
16363
17607
|
var { "basePane": _0$2 } = Pane_module_default$1;
|
|
16364
17608
|
var Snackbar_module_default = {
|
|
16365
17609
|
snackbar: `snackbar ${_0$2}`,
|
|
@@ -16389,7 +17633,11 @@ var Snackbar_module_default = {
|
|
|
16389
17633
|
snackbarsEnterFrom: `snackbars-enter-from`,
|
|
16390
17634
|
snackbarsLeaveTo: `snackbars-leave-to`
|
|
16391
17635
|
};
|
|
16392
|
-
|
|
17636
|
+
//#endregion
|
|
17637
|
+
//#region src/component/FluxSnackbar.vue?vue&type=script&setup=true&lang.ts
|
|
17638
|
+
var _hoisted_1$9 = ["onClick"];
|
|
17639
|
+
//#endregion
|
|
17640
|
+
//#region src/component/FluxSnackbar.vue
|
|
16393
17641
|
var FluxSnackbar_default = /* @__PURE__ */ defineComponent({
|
|
16394
17642
|
__name: "FluxSnackbar",
|
|
16395
17643
|
props: {
|
|
@@ -16487,7 +17735,7 @@ var FluxSnackbar_default = /* @__PURE__ */ defineComponent({
|
|
|
16487
17735
|
tabindex: "-1",
|
|
16488
17736
|
type: "button",
|
|
16489
17737
|
onClick: ($event) => onAction(actionKey)
|
|
16490
|
-
}, [createElementVNode("span", null, toDisplayString(actionLabel), 1)], 10, _hoisted_1$
|
|
17738
|
+
}, [createElementVNode("span", null, toDisplayString(actionLabel), 1)], 10, _hoisted_1$9);
|
|
16491
17739
|
}), 128))], 2)) : createCommentVNode("", true),
|
|
16492
17740
|
__props.isCloseable ? (openBlock(), createBlock(FluxAction_default, {
|
|
16493
17741
|
key: 1,
|
|
@@ -16498,6 +17746,8 @@ var FluxSnackbar_default = /* @__PURE__ */ defineComponent({
|
|
|
16498
17746
|
};
|
|
16499
17747
|
}
|
|
16500
17748
|
});
|
|
17749
|
+
//#endregion
|
|
17750
|
+
//#region src/component/FluxSnackbarProvider.vue
|
|
16501
17751
|
var FluxSnackbarProvider_default = /* @__PURE__ */ defineComponent({
|
|
16502
17752
|
__name: "FluxSnackbarProvider",
|
|
16503
17753
|
setup(__props) {
|
|
@@ -16542,6 +17792,8 @@ var Tooltip_module_default = {
|
|
|
16542
17792
|
tooltipEnd: `tooltip-end tooltip`,
|
|
16543
17793
|
tooltipStart: `tooltip-start tooltip`
|
|
16544
17794
|
};
|
|
17795
|
+
//#endregion
|
|
17796
|
+
//#region src/component/FluxTooltipProvider.vue?vue&type=script&lang.ts
|
|
16545
17797
|
var FluxTooltipProvider_vue_vue_type_script_lang_default = defineComponent(() => {
|
|
16546
17798
|
const { tooltip } = useFluxStore();
|
|
16547
17799
|
const elementRef = ref(null);
|
|
@@ -16662,12 +17914,18 @@ function calculateVerticalPosition(top, left, width, height, originWidth, origin
|
|
|
16662
17914
|
transition
|
|
16663
17915
|
};
|
|
16664
17916
|
}
|
|
17917
|
+
//#endregion
|
|
17918
|
+
//#region src/component/FluxTooltipProvider.vue
|
|
16665
17919
|
var FluxTooltipProvider_default = FluxTooltipProvider_vue_vue_type_script_lang_default;
|
|
16666
17920
|
var Root_module_default = {
|
|
16667
17921
|
root: `root`,
|
|
16668
17922
|
isLocked: `is-locked`
|
|
16669
17923
|
};
|
|
16670
|
-
|
|
17924
|
+
//#endregion
|
|
17925
|
+
//#region src/component/FluxRoot.vue?vue&type=script&setup=true&lang.ts
|
|
17926
|
+
var _hoisted_1$8 = ["inert"];
|
|
17927
|
+
//#endregion
|
|
17928
|
+
//#region src/component/FluxRoot.vue
|
|
16671
17929
|
var FluxRoot_default = /* @__PURE__ */ defineComponent({
|
|
16672
17930
|
inheritAttrs: false,
|
|
16673
17931
|
__name: "FluxRoot",
|
|
@@ -16683,7 +17941,7 @@ var FluxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
16683
17941
|
createElementVNode("div", mergeProps($attrs, {
|
|
16684
17942
|
class: unref(Root_module_default).root,
|
|
16685
17943
|
inert: unref(inertMain)
|
|
16686
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$
|
|
17944
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$8),
|
|
16687
17945
|
createVNode(FluxOverlayProvider_default),
|
|
16688
17946
|
createVNode(FluxSnackbarProvider_default),
|
|
16689
17947
|
createVNode(FluxTooltipProvider_default)
|
|
@@ -16691,6 +17949,8 @@ var FluxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
16691
17949
|
};
|
|
16692
17950
|
}
|
|
16693
17951
|
});
|
|
17952
|
+
//#endregion
|
|
17953
|
+
//#region src/component/FluxSecondaryLinkButton.vue
|
|
16694
17954
|
var FluxSecondaryLinkButton_default = /* @__PURE__ */ defineComponent({
|
|
16695
17955
|
__name: "FluxSecondaryLinkButton",
|
|
16696
17956
|
props: {
|
|
@@ -16759,7 +18019,11 @@ var SegmentedControl_module_default = {
|
|
|
16759
18019
|
isActive: `is-active`,
|
|
16760
18020
|
segmentedControlSeparator: `segmented-control-separator`
|
|
16761
18021
|
};
|
|
16762
|
-
|
|
18022
|
+
//#endregion
|
|
18023
|
+
//#region src/component/FluxSegmentedControl.vue?vue&type=script&setup=true&lang.ts
|
|
18024
|
+
var _hoisted_1$7 = ["onClick"];
|
|
18025
|
+
//#endregion
|
|
18026
|
+
//#region src/component/FluxSegmentedControl.vue
|
|
16763
18027
|
var FluxSegmentedControl_default = /* @__PURE__ */ defineComponent({
|
|
16764
18028
|
__name: "FluxSegmentedControl",
|
|
16765
18029
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -16776,16 +18040,28 @@ var FluxSegmentedControl_default = /* @__PURE__ */ defineComponent({
|
|
|
16776
18040
|
const itemRefs = useTemplateRef("items");
|
|
16777
18041
|
const activeItemX = ref(0);
|
|
16778
18042
|
const activeItemWidth = ref(0);
|
|
16779
|
-
|
|
16780
|
-
|
|
18043
|
+
const isAlive = ref(true);
|
|
18044
|
+
onBeforeUnmount(() => {
|
|
18045
|
+
isAlive.value = false;
|
|
18046
|
+
});
|
|
18047
|
+
watchEffect(() => updateHighlight(unref(modelValue)), { flush: "post" });
|
|
18048
|
+
ye$1(controlRef, () => updateHighlight(unref(modelValue)));
|
|
16781
18049
|
function activate(index) {
|
|
16782
|
-
const itemRef = itemRefs.value[index];
|
|
16783
|
-
const { left: controlX } = controlRef.value.getBoundingClientRect();
|
|
16784
|
-
const { width, left: x } = itemRef.getBoundingClientRect();
|
|
16785
|
-
activeItemX.value = x - controlX - 1;
|
|
16786
|
-
activeItemWidth.value = width;
|
|
16787
18050
|
modelValue.value = index;
|
|
16788
18051
|
}
|
|
18052
|
+
function updateHighlight(index) {
|
|
18053
|
+
if (!isAlive.value) return;
|
|
18054
|
+
const itemRef = itemRefs.value?.[index];
|
|
18055
|
+
const control = controlRef.value;
|
|
18056
|
+
if (!itemRef || !control) return;
|
|
18057
|
+
const width = itemRef.offsetWidth;
|
|
18058
|
+
if (width === 0) return;
|
|
18059
|
+
const controlRect = control.getBoundingClientRect();
|
|
18060
|
+
const itemRect = itemRef.getBoundingClientRect();
|
|
18061
|
+
const scaleX = control.offsetWidth > 0 ? controlRect.width / control.offsetWidth : 1;
|
|
18062
|
+
activeItemX.value = (itemRect.left - controlRect.left) / scaleX;
|
|
18063
|
+
activeItemWidth.value = width;
|
|
18064
|
+
}
|
|
16789
18065
|
return (_ctx, _cache) => {
|
|
16790
18066
|
return openBlock(), createElementBlock("nav", {
|
|
16791
18067
|
ref: "control",
|
|
@@ -16812,11 +18088,13 @@ var FluxSegmentedControl_default = /* @__PURE__ */ defineComponent({
|
|
|
16812
18088
|
key: 0,
|
|
16813
18089
|
name: item.icon,
|
|
16814
18090
|
size: 15
|
|
16815
|
-
}, null, 8, ["name"])) : createCommentVNode("", true), createElementVNode("span", null, toDisplayString(item.label), 1)], 10, _hoisted_1$
|
|
18091
|
+
}, null, 8, ["name"])) : createCommentVNode("", true), createElementVNode("span", null, toDisplayString(item.label), 1)], 10, _hoisted_1$7)], 64);
|
|
16816
18092
|
}), 256))], 2);
|
|
16817
18093
|
};
|
|
16818
18094
|
}
|
|
16819
18095
|
});
|
|
18096
|
+
//#endregion
|
|
18097
|
+
//#region src/component/FluxSegmentedView.vue
|
|
16820
18098
|
var FluxSegmentedView_default = defineComponent({
|
|
16821
18099
|
props: { index: Number },
|
|
16822
18100
|
setup(props, { slots }) {
|
|
@@ -16825,6 +18103,8 @@ var FluxSegmentedView_default = defineComponent({
|
|
|
16825
18103
|
};
|
|
16826
18104
|
}
|
|
16827
18105
|
});
|
|
18106
|
+
//#endregion
|
|
18107
|
+
//#region src/component/FluxSlideOver.vue
|
|
16828
18108
|
var FluxSlideOver_default = defineComponent({
|
|
16829
18109
|
emits: ["close"],
|
|
16830
18110
|
inheritAttrs: false,
|
|
@@ -16842,6 +18122,8 @@ var FluxSlideOver_default = defineComponent({
|
|
|
16842
18122
|
return createDialogRenderer_default(attrs, props, emit, slots, Overlay_module_default.slideOver, FluxSlideOverTransition_default);
|
|
16843
18123
|
}
|
|
16844
18124
|
});
|
|
18125
|
+
//#endregion
|
|
18126
|
+
//#region src/component/FluxSpacing.vue
|
|
16845
18127
|
var FluxSpacing_default = /* @__PURE__ */ defineComponent({
|
|
16846
18128
|
__name: "FluxSpacing",
|
|
16847
18129
|
props: { size: {} },
|
|
@@ -16871,6 +18153,8 @@ var FluxSpacing_default = /* @__PURE__ */ defineComponent({
|
|
|
16871
18153
|
};
|
|
16872
18154
|
}
|
|
16873
18155
|
});
|
|
18156
|
+
//#endregion
|
|
18157
|
+
//#region src/component/FluxSplitButton.vue
|
|
16874
18158
|
var FluxSplitButton_default = /* @__PURE__ */ defineComponent({
|
|
16875
18159
|
__name: "FluxSplitButton",
|
|
16876
18160
|
props: {
|
|
@@ -16923,9 +18207,13 @@ var Statistic_module_default = {
|
|
|
16923
18207
|
statisticHorizontal: `statistic-horizontal statistic`,
|
|
16924
18208
|
statisticVertical: `statistic-vertical statistic`
|
|
16925
18209
|
};
|
|
16926
|
-
|
|
16927
|
-
|
|
18210
|
+
//#endregion
|
|
18211
|
+
//#region src/component/FluxStatistic.vue?vue&type=script&setup=true&lang.ts
|
|
18212
|
+
var _hoisted_1$6 = { key: 1 };
|
|
18213
|
+
var _hoisted_2$4 = ["src", "alt"];
|
|
16928
18214
|
var _hoisted_3$1 = { key: 0 };
|
|
18215
|
+
//#endregion
|
|
18216
|
+
//#region src/component/FluxStatistic.vue
|
|
16929
18217
|
var FluxStatistic_default = /* @__PURE__ */ defineComponent({
|
|
16930
18218
|
__name: "FluxStatistic",
|
|
16931
18219
|
props: {
|
|
@@ -16958,11 +18246,11 @@ var FluxStatistic_default = /* @__PURE__ */ defineComponent({
|
|
|
16958
18246
|
"class",
|
|
16959
18247
|
"color",
|
|
16960
18248
|
"name"
|
|
16961
|
-
])) : __props.imageSrc ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
18249
|
+
])) : __props.imageSrc ? (openBlock(), createElementBlock("div", _hoisted_1$6, [createElementVNode("img", {
|
|
16962
18250
|
class: normalizeClass(unref(Statistic_module_default).statisticImage),
|
|
16963
18251
|
src: __props.imageSrc,
|
|
16964
18252
|
alt: __props.imageAlt
|
|
16965
|
-
}, null, 10, _hoisted_2$
|
|
18253
|
+
}, null, 10, _hoisted_2$4)])) : createCommentVNode("", true),
|
|
16966
18254
|
createElementVNode("div", { class: normalizeClass(unref(Statistic_module_default).statisticData) }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createElementVNode("strong", null, toDisplayString(__props.value ?? unref(Z$2)), 1)], 2),
|
|
16967
18255
|
__props.changeIcon || __props.changeValue ? (openBlock(), createElementBlock("div", {
|
|
16968
18256
|
key: 2,
|
|
@@ -16978,6 +18266,8 @@ var FluxStatistic_default = /* @__PURE__ */ defineComponent({
|
|
|
16978
18266
|
};
|
|
16979
18267
|
}
|
|
16980
18268
|
});
|
|
18269
|
+
//#endregion
|
|
18270
|
+
//#region src/css/component/Stepper.module.scss
|
|
16981
18271
|
var { "sparklesContainer": _0$1, "sparklesContainerActive": _1, "sparklesParticles": _2 } = {
|
|
16982
18272
|
sparklesContainer: `sparkles-container`,
|
|
16983
18273
|
sparklesParticles: `sparkles-particles`,
|
|
@@ -16996,8 +18286,12 @@ var Stepper_module_default = {
|
|
|
16996
18286
|
stepperStepsItemIdle: `stepper-steps-item-idle stepper-steps-item ${_0$1}`,
|
|
16997
18287
|
stepperStepsItemParticles: `stepper-steps-item-particles ${_2}`
|
|
16998
18288
|
};
|
|
16999
|
-
|
|
17000
|
-
|
|
18289
|
+
//#endregion
|
|
18290
|
+
//#region src/component/FluxStepperSteps.vue?vue&type=script&setup=true&lang.ts
|
|
18291
|
+
var _hoisted_1$5 = ["onClick"];
|
|
18292
|
+
var _hoisted_2$3 = { key: 1 };
|
|
18293
|
+
//#endregion
|
|
18294
|
+
//#region src/component/FluxStepperSteps.vue
|
|
17001
18295
|
var FluxStepperSteps_default = /* @__PURE__ */ defineComponent({
|
|
17002
18296
|
__name: "FluxStepperSteps",
|
|
17003
18297
|
props: {
|
|
@@ -17026,13 +18320,15 @@ var FluxStepperSteps_default = /* @__PURE__ */ defineComponent({
|
|
|
17026
18320
|
default: withCtx(() => [__props.current > step ? (openBlock(), createBlock(FluxIcon_default, {
|
|
17027
18321
|
key: 0,
|
|
17028
18322
|
name: "check"
|
|
17029
|
-
})) : (openBlock(), createElementBlock("span", _hoisted_2$
|
|
18323
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_2$3, toDisplayString(step), 1))]),
|
|
17030
18324
|
_: 2
|
|
17031
|
-
}, 1024)], 10, _hoisted_1$
|
|
18325
|
+
}, 1024)], 10, _hoisted_1$5);
|
|
17032
18326
|
}), 128))], 6);
|
|
17033
18327
|
};
|
|
17034
18328
|
}
|
|
17035
18329
|
});
|
|
18330
|
+
//#endregion
|
|
18331
|
+
//#region src/component/FluxStepper.vue
|
|
17036
18332
|
var FluxStepper_default = /* @__PURE__ */ defineComponent({
|
|
17037
18333
|
__name: "FluxStepper",
|
|
17038
18334
|
props: {
|
|
@@ -17079,6 +18375,8 @@ var FluxStepper_default = /* @__PURE__ */ defineComponent({
|
|
|
17079
18375
|
};
|
|
17080
18376
|
}
|
|
17081
18377
|
});
|
|
18378
|
+
//#endregion
|
|
18379
|
+
//#region src/component/FluxStepperStep.vue
|
|
17082
18380
|
var FluxStepperStep_default = /* @__PURE__ */ defineComponent({
|
|
17083
18381
|
__name: "FluxStepperStep",
|
|
17084
18382
|
setup(__props) {
|
|
@@ -17104,6 +18402,8 @@ var Tab_module_default = {
|
|
|
17104
18402
|
form: `form`,
|
|
17105
18403
|
paneHeader: `pane-header`
|
|
17106
18404
|
};
|
|
18405
|
+
//#endregion
|
|
18406
|
+
//#region src/component/FluxTab.vue
|
|
17107
18407
|
var FluxTab_default = /* @__PURE__ */ defineComponent({
|
|
17108
18408
|
__name: "FluxTab",
|
|
17109
18409
|
props: {
|
|
@@ -17119,6 +18419,8 @@ var FluxTab_default = /* @__PURE__ */ defineComponent({
|
|
|
17119
18419
|
};
|
|
17120
18420
|
}
|
|
17121
18421
|
});
|
|
18422
|
+
//#endregion
|
|
18423
|
+
//#region src/component/FluxTabBar.vue
|
|
17122
18424
|
var FluxTabBar_default = /* @__PURE__ */ defineComponent({
|
|
17123
18425
|
__name: "FluxTabBar",
|
|
17124
18426
|
setup(__props) {
|
|
@@ -17186,7 +18488,11 @@ var FluxTabBar_default = /* @__PURE__ */ defineComponent({
|
|
|
17186
18488
|
};
|
|
17187
18489
|
}
|
|
17188
18490
|
});
|
|
17189
|
-
|
|
18491
|
+
//#endregion
|
|
18492
|
+
//#region src/component/FluxTabBarItem.vue?vue&type=script&setup=true&lang.ts
|
|
18493
|
+
var _hoisted_1$4 = { key: 1 };
|
|
18494
|
+
//#endregion
|
|
18495
|
+
//#region src/component/FluxTabBarItem.vue
|
|
17190
18496
|
var FluxTabBarItem_default = /* @__PURE__ */ defineComponent({
|
|
17191
18497
|
__name: "FluxTabBarItem",
|
|
17192
18498
|
props: {
|
|
@@ -17259,7 +18565,7 @@ var FluxTabBarItem_default = /* @__PURE__ */ defineComponent({
|
|
|
17259
18565
|
key: 0,
|
|
17260
18566
|
name: __props.icon,
|
|
17261
18567
|
size: 16
|
|
17262
|
-
}, null, 8, ["name"])) : createCommentVNode("", true), __props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
18568
|
+
}, null, 8, ["name"])) : createCommentVNode("", true), __props.label ? (openBlock(), createElementBlock("span", _hoisted_1$4, toDisplayString(__props.label), 1)) : createCommentVNode("", true)]),
|
|
17263
18569
|
_: 1
|
|
17264
18570
|
}, 8, [
|
|
17265
18571
|
"component-type",
|
|
@@ -17276,6 +18582,8 @@ var FluxTabBarItem_default = /* @__PURE__ */ defineComponent({
|
|
|
17276
18582
|
};
|
|
17277
18583
|
}
|
|
17278
18584
|
});
|
|
18585
|
+
//#endregion
|
|
18586
|
+
//#region src/component/FluxTabs.vue
|
|
17279
18587
|
var FluxTabs_default = /* @__PURE__ */ defineComponent({
|
|
17280
18588
|
__name: "FluxTabs",
|
|
17281
18589
|
props: {
|
|
@@ -17335,6 +18643,8 @@ var FluxTabs_default = /* @__PURE__ */ defineComponent({
|
|
|
17335
18643
|
};
|
|
17336
18644
|
}
|
|
17337
18645
|
});
|
|
18646
|
+
//#endregion
|
|
18647
|
+
//#region src/component/FluxTableActions.vue
|
|
17338
18648
|
var FluxTableActions_default = /* @__PURE__ */ defineComponent({
|
|
17339
18649
|
__name: "FluxTableActions",
|
|
17340
18650
|
setup(__props) {
|
|
@@ -17346,6 +18656,8 @@ var FluxTableActions_default = /* @__PURE__ */ defineComponent({
|
|
|
17346
18656
|
};
|
|
17347
18657
|
}
|
|
17348
18658
|
});
|
|
18659
|
+
//#endregion
|
|
18660
|
+
//#region src/component/FluxTableBar.vue
|
|
17349
18661
|
var FluxTableBar_default = /* @__PURE__ */ defineComponent({
|
|
17350
18662
|
__name: "FluxTableBar",
|
|
17351
18663
|
setup(__props) {
|
|
@@ -17359,7 +18671,11 @@ var FluxTableBar_default = /* @__PURE__ */ defineComponent({
|
|
|
17359
18671
|
};
|
|
17360
18672
|
}
|
|
17361
18673
|
});
|
|
17362
|
-
|
|
18674
|
+
//#endregion
|
|
18675
|
+
//#region src/component/FluxTableHeader.vue?vue&type=script&setup=true&lang.ts
|
|
18676
|
+
var _hoisted_1$3 = ["aria-label", "onClick"];
|
|
18677
|
+
//#endregion
|
|
18678
|
+
//#region src/component/FluxTableHeader.vue
|
|
17363
18679
|
var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
17364
18680
|
__name: "FluxTableHeader",
|
|
17365
18681
|
props: {
|
|
@@ -17394,7 +18710,7 @@ var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
17394
18710
|
}, [createVNode(FluxIcon_default, {
|
|
17395
18711
|
size: 16,
|
|
17396
18712
|
name: sortingIcon.value
|
|
17397
|
-
}, null, 8, ["name"])], 10, _hoisted_1$
|
|
18713
|
+
}, null, 8, ["name"])], 10, _hoisted_1$3)]),
|
|
17398
18714
|
default: withCtx(() => [createVNode(FluxMenu_default, null, {
|
|
17399
18715
|
default: withCtx(() => [createVNode(FluxMenuGroup_default, null, {
|
|
17400
18716
|
default: withCtx(() => [createVNode(FluxMenuItem_default, {
|
|
@@ -17425,6 +18741,8 @@ var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
17425
18741
|
};
|
|
17426
18742
|
}
|
|
17427
18743
|
});
|
|
18744
|
+
//#endregion
|
|
18745
|
+
//#region src/component/FluxTagStack.vue
|
|
17428
18746
|
var FluxTagStack_default = /* @__PURE__ */ defineComponent({
|
|
17429
18747
|
__name: "FluxTagStack",
|
|
17430
18748
|
setup(__props) {
|
|
@@ -17457,6 +18775,8 @@ var Timeline_module_default = {
|
|
|
17457
18775
|
timelineItemSuccess: `timeline-item-success timeline-item`,
|
|
17458
18776
|
timelineItemWarning: `timeline-item-warning timeline-item`
|
|
17459
18777
|
};
|
|
18778
|
+
//#endregion
|
|
18779
|
+
//#region src/component/FluxTimeline.vue
|
|
17460
18780
|
var FluxTimeline_default = /* @__PURE__ */ defineComponent({
|
|
17461
18781
|
__name: "FluxTimeline",
|
|
17462
18782
|
setup(__props) {
|
|
@@ -17468,9 +18788,13 @@ var FluxTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
17468
18788
|
};
|
|
17469
18789
|
}
|
|
17470
18790
|
});
|
|
17471
|
-
|
|
17472
|
-
|
|
18791
|
+
//#endregion
|
|
18792
|
+
//#region src/component/FluxTimelineItem.vue?vue&type=script&setup=true&lang.ts
|
|
18793
|
+
var _hoisted_1$2 = ["src"];
|
|
18794
|
+
var _hoisted_2$2 = { key: 0 };
|
|
17473
18795
|
var _hoisted_3 = { key: 1 };
|
|
18796
|
+
//#endregion
|
|
18797
|
+
//#region src/component/FluxTimelineItem.vue
|
|
17474
18798
|
var FluxTimelineItem_default = /* @__PURE__ */ defineComponent({
|
|
17475
18799
|
__name: "FluxTimelineItem",
|
|
17476
18800
|
props: {
|
|
@@ -17494,7 +18818,7 @@ var FluxTimelineItem_default = /* @__PURE__ */ defineComponent({
|
|
|
17494
18818
|
class: normalizeClass(unref(Timeline_module_default).timelineItemPhotoImage),
|
|
17495
18819
|
src: __props.photo,
|
|
17496
18820
|
alt: ""
|
|
17497
|
-
}, null, 10, _hoisted_1$
|
|
18821
|
+
}, null, 10, _hoisted_1$2), __props.icon ? (openBlock(), createElementBlock("div", {
|
|
17498
18822
|
key: 0,
|
|
17499
18823
|
class: normalizeClass(unref(Timeline_module_default).timelineItemPhotoIcon)
|
|
17500
18824
|
}, [createVNode(FluxIcon_default, {
|
|
@@ -17510,18 +18834,22 @@ var FluxTimelineItem_default = /* @__PURE__ */ defineComponent({
|
|
|
17510
18834
|
createElementVNode("div", { class: normalizeClass(unref(Timeline_module_default).timelineItemBody) }, [__props.title || __props.when ? (openBlock(), createElementBlock("div", {
|
|
17511
18835
|
key: 0,
|
|
17512
18836
|
class: normalizeClass(unref(Timeline_module_default).timelineItemHeader)
|
|
17513
|
-
}, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_2$
|
|
18837
|
+
}, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_2$2, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.when ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(__props.when), 1)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 2)
|
|
17514
18838
|
], 2);
|
|
17515
18839
|
};
|
|
17516
18840
|
}
|
|
17517
18841
|
});
|
|
17518
|
-
|
|
17519
|
-
|
|
18842
|
+
//#endregion
|
|
18843
|
+
//#region src/component/FluxToggle.vue?vue&type=script&setup=true&lang.ts
|
|
18844
|
+
var _hoisted_1$1 = ["for", "aria-disabled"];
|
|
18845
|
+
var _hoisted_2$1 = [
|
|
17520
18846
|
"id",
|
|
17521
18847
|
"disabled",
|
|
17522
18848
|
"checked",
|
|
17523
18849
|
"aria-checked"
|
|
17524
18850
|
];
|
|
18851
|
+
//#endregion
|
|
18852
|
+
//#region src/component/FluxToggle.vue
|
|
17525
18853
|
var FluxToggle_default = /* @__PURE__ */ defineComponent({
|
|
17526
18854
|
__name: "FluxToggle",
|
|
17527
18855
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -17571,11 +18899,13 @@ var FluxToggle_default = /* @__PURE__ */ defineComponent({
|
|
|
17571
18899
|
role: "switch",
|
|
17572
18900
|
"aria-checked": modelValue.value,
|
|
17573
18901
|
onInput: toggle
|
|
17574
|
-
}, null, 42, _hoisted_2)
|
|
17575
|
-
], 10, _hoisted_1);
|
|
18902
|
+
}, null, 42, _hoisted_2$1)
|
|
18903
|
+
], 10, _hoisted_1$1);
|
|
17576
18904
|
};
|
|
17577
18905
|
}
|
|
17578
18906
|
});
|
|
18907
|
+
//#endregion
|
|
18908
|
+
//#region src/css/component/Toolbar.module.scss
|
|
17579
18909
|
var { "basePane": _0 } = Pane_module_default$1;
|
|
17580
18910
|
var Toolbar_module_default = {
|
|
17581
18911
|
toolbar: `toolbar`,
|
|
@@ -17591,6 +18921,8 @@ var Toolbar_module_default = {
|
|
|
17591
18921
|
separator: `separator`,
|
|
17592
18922
|
paneHeader: `pane-header`
|
|
17593
18923
|
};
|
|
18924
|
+
//#endregion
|
|
18925
|
+
//#region src/component/FluxToolbar.vue
|
|
17594
18926
|
var FluxToolbar_default = /* @__PURE__ */ defineComponent({
|
|
17595
18927
|
__name: "FluxToolbar",
|
|
17596
18928
|
props: { floatingMode: {} },
|
|
@@ -17608,6 +18940,8 @@ var FluxToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
17608
18940
|
};
|
|
17609
18941
|
}
|
|
17610
18942
|
});
|
|
18943
|
+
//#endregion
|
|
18944
|
+
//#region src/component/FluxToolbarGroup.vue
|
|
17611
18945
|
var FluxToolbarGroup_default = /* @__PURE__ */ defineComponent({
|
|
17612
18946
|
__name: "FluxToolbarGroup",
|
|
17613
18947
|
setup(__props) {
|
|
@@ -17623,6 +18957,116 @@ var FluxToolbarGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
17623
18957
|
};
|
|
17624
18958
|
}
|
|
17625
18959
|
});
|
|
17626
|
-
|
|
18960
|
+
var TreeView_module_default = {
|
|
18961
|
+
treeView: `tree-view`,
|
|
18962
|
+
treeNode: `tree-node`,
|
|
18963
|
+
isHighlighted: `is-highlighted`,
|
|
18964
|
+
treeNodeLineArea: `tree-node-line-area`,
|
|
18965
|
+
treeIndent: `tree-indent`,
|
|
18966
|
+
hasLine: `has-line`,
|
|
18967
|
+
treeConnector: `tree-connector`,
|
|
18968
|
+
isLast: `is-last`,
|
|
18969
|
+
treeNodeExpand: `tree-node-expand`,
|
|
18970
|
+
treeNodeColorDot: `tree-node-color-dot`,
|
|
18971
|
+
treeNodeIcon: `tree-node-icon`,
|
|
18972
|
+
treeNodeLabel: `tree-node-label`
|
|
18973
|
+
};
|
|
18974
|
+
//#endregion
|
|
18975
|
+
//#region src/component/FluxTreeView.vue?vue&type=script&setup=true&lang.ts
|
|
18976
|
+
var _hoisted_1 = [
|
|
18977
|
+
"aria-expanded",
|
|
18978
|
+
"onClick",
|
|
18979
|
+
"onDblclick"
|
|
18980
|
+
];
|
|
18981
|
+
var _hoisted_2 = ["onClick"];
|
|
18982
|
+
//#endregion
|
|
18983
|
+
//#region src/component/FluxTreeView.vue
|
|
18984
|
+
var FluxTreeView_default = /* @__PURE__ */ defineComponent({
|
|
18985
|
+
__name: "FluxTreeView",
|
|
18986
|
+
props: {
|
|
18987
|
+
levelColors: {},
|
|
18988
|
+
options: {}
|
|
18989
|
+
},
|
|
18990
|
+
emits: ["click", "dblclick"],
|
|
18991
|
+
setup(__props, { emit: __emit }) {
|
|
18992
|
+
const emit = __emit;
|
|
18993
|
+
const nodeElementRefs = useTemplateRef("nodeElements");
|
|
18994
|
+
const expandedIds = ref(/* @__PURE__ */ new Set());
|
|
18995
|
+
const visibleNodes = computed(() => flattenVisible(__props.options, 0, unref(expandedIds)));
|
|
18996
|
+
const { highlightedIndex, toggleExpand, onExpandClick, onKeyNavigate } = useTreeView({
|
|
18997
|
+
expandedIds,
|
|
18998
|
+
nodeElementRefs,
|
|
18999
|
+
visibleNodes
|
|
19000
|
+
});
|
|
19001
|
+
function onNodeClick(node) {
|
|
19002
|
+
highlightedIndex.value = unref(visibleNodes).findIndex((n) => n.id === node.id);
|
|
19003
|
+
const { depth: _depth, isLast: _isLast, lineGuides: _lineGuides, ...option } = node;
|
|
19004
|
+
emit("click", option);
|
|
19005
|
+
}
|
|
19006
|
+
function onNodeDblClick(node) {
|
|
19007
|
+
if (node.children?.length) toggleExpand(node.id);
|
|
19008
|
+
const { depth: _depth, isLast: _isLast, lineGuides: _lineGuides, ...option } = node;
|
|
19009
|
+
emit("dblclick", option);
|
|
19010
|
+
}
|
|
19011
|
+
function onKeyDown(evt) {
|
|
19012
|
+
onKeyNavigate(evt, onNodeClick);
|
|
19013
|
+
}
|
|
19014
|
+
return (_ctx, _cache) => {
|
|
19015
|
+
return openBlock(), createElementBlock("div", {
|
|
19016
|
+
class: normalizeClass(unref(TreeView_module_default).treeView),
|
|
19017
|
+
role: "tree",
|
|
19018
|
+
tabindex: "0",
|
|
19019
|
+
onKeydown: onKeyDown
|
|
19020
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(visibleNodes.value, (node, nodeIndex) => {
|
|
19021
|
+
return openBlock(), createElementBlock("div", {
|
|
19022
|
+
ref_for: true,
|
|
19023
|
+
ref: "nodeElements",
|
|
19024
|
+
key: node.id,
|
|
19025
|
+
class: normalizeClass(unref(clsx)(unref(TreeView_module_default).treeNode, nodeIndex === unref(highlightedIndex) && unref(TreeView_module_default).isHighlighted)),
|
|
19026
|
+
role: "treeitem",
|
|
19027
|
+
tabindex: "-1",
|
|
19028
|
+
"aria-expanded": node.children?.length ? expandedIds.value.has(node.id) : void 0,
|
|
19029
|
+
onClick: ($event) => onNodeClick(node),
|
|
19030
|
+
onDblclick: ($event) => onNodeDblClick(node)
|
|
19031
|
+
}, [
|
|
19032
|
+
createElementVNode("div", { class: normalizeClass(unref(TreeView_module_default).treeNodeLineArea) }, [
|
|
19033
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(node.lineGuides, (showLine, guideIndex) => {
|
|
19034
|
+
return openBlock(), createElementBlock("span", {
|
|
19035
|
+
key: `g-${guideIndex}`,
|
|
19036
|
+
class: normalizeClass([unref(TreeView_module_default).treeIndent, showLine && unref(TreeView_module_default).hasLine])
|
|
19037
|
+
}, null, 2);
|
|
19038
|
+
}), 128)),
|
|
19039
|
+
node.depth > 0 ? (openBlock(), createElementBlock("span", {
|
|
19040
|
+
key: 0,
|
|
19041
|
+
class: normalizeClass([unref(TreeView_module_default).treeConnector, node.isLast && unref(TreeView_module_default).isLast])
|
|
19042
|
+
}, null, 2)) : createCommentVNode("", true),
|
|
19043
|
+
createElementVNode("span", {
|
|
19044
|
+
class: normalizeClass(unref(TreeView_module_default).treeNodeExpand),
|
|
19045
|
+
onClick: ($event) => unref(onExpandClick)(node, $event)
|
|
19046
|
+
}, [node.children?.length ? (openBlock(), createBlock(FluxIcon_default, {
|
|
19047
|
+
key: 0,
|
|
19048
|
+
name: expandedIds.value.has(node.id) ? "angle-down" : "angle-right",
|
|
19049
|
+
size: 12
|
|
19050
|
+
}, null, 8, ["name"])) : createCommentVNode("", true)], 10, _hoisted_2)
|
|
19051
|
+
], 2),
|
|
19052
|
+
unref(getLevelColor)(node.depth, __props.levelColors) ? (openBlock(), createElementBlock("span", {
|
|
19053
|
+
key: 0,
|
|
19054
|
+
class: normalizeClass(unref(TreeView_module_default).treeNodeColorDot),
|
|
19055
|
+
style: normalizeStyle({ background: unref(getLevelColor)(node.depth, __props.levelColors) })
|
|
19056
|
+
}, null, 6)) : createCommentVNode("", true),
|
|
19057
|
+
node.icon ? (openBlock(), createBlock(FluxIcon_default, {
|
|
19058
|
+
key: 1,
|
|
19059
|
+
class: normalizeClass(unref(TreeView_module_default).treeNodeIcon),
|
|
19060
|
+
name: node.icon,
|
|
19061
|
+
size: 16
|
|
19062
|
+
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
19063
|
+
createElementVNode("span", { class: normalizeClass(unref(TreeView_module_default).treeNodeLabel) }, toDisplayString(node.label), 3)
|
|
19064
|
+
], 42, _hoisted_1);
|
|
19065
|
+
}), 128))], 34);
|
|
19066
|
+
};
|
|
19067
|
+
}
|
|
19068
|
+
});
|
|
19069
|
+
//#endregion
|
|
19070
|
+
export { FluxAction_default as FluxAction, FluxActionBar_default as FluxActionBar, FluxActionPane_default as FluxActionPane, FluxActions_default as FluxActions, FluxAnimatedColors_default as FluxAnimatedColors, FluxAspectRatio_default as FluxAspectRatio, FluxAutoGrid_default as FluxAutoGrid, 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, FluxCalendarEvent_default as FluxCalendarEvent, FluxCheckbox_default as FluxCheckbox, FluxChip_default as FluxChip, FluxClickablePane_default as FluxClickablePane, FluxColorPicker_default as FluxColorPicker, FluxColorSelect_default as FluxColorSelect, 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, 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, FluxLegend_default as FluxLegend, FluxLink_default as FluxLink, FluxMenu_default as FluxMenu, 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, FluxPaneDeck_default as FluxPaneDeck, 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, FluxSecondaryButton_default as FluxSecondaryButton, FluxSecondaryLinkButton_default as FluxSecondaryLinkButton, FluxSegmentedControl_default as FluxSegmentedControl, FluxSegmentedView_default as FluxSegmentedView, 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, FluxStack_default as FluxStack, FluxStatistic_default as FluxStatistic, FluxStepper_default as FluxStepper, FluxStepperStep_default as FluxStepperStep, FluxStepperSteps_default as FluxStepperSteps, 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, fluxRegisterIcons, isFluxFormSelectGroup, isFluxFormSelectOption, showAlert, showConfirm, showPrompt, showSnackbar, useBreakpoints_default as useBreakpoints, 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, useTableInjection_default as useTableInjection, useTooltipInjection_default as useTooltipInjection };
|
|
17627
19071
|
|
|
17628
19072
|
//# sourceMappingURL=index.js.map
|