@mantine-vue/core 1.1.1 → 1.1.4
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/README.md +43 -0
- package/cjs/index.cjs +489 -856
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +391 -775
- package/esm/index.mjs.map +1 -1
- package/lib/components/Anchor/Anchor.d.ts +5 -3
- package/lib/components/Badge/Badge.d.ts +5 -4
- package/lib/components/Button/Button.d.ts +9 -9
- package/lib/components/CloseButton/CloseButton.d.ts +4 -3
- package/lib/components/PinInput/PinInput.d.ts +10 -8
- package/lib/components/Table/Table.d.ts +7 -7
- package/lib/components/Text/Text.d.ts +5 -5
- package/lib/components/ThemeIcon/ThemeIcon.d.ts +5 -4
- package/lib/core/factory/with-box-props.d.ts +7 -7
- package/lib/core/types.d.ts +1 -0
- package/package.json +3 -3
package/cjs/index.cjs
CHANGED
|
@@ -1,34 +1,130 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
//#region \0rolldown/runtime.js
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __exportAll = (all, no_symbols) => {
|
|
8
|
-
let target = {};
|
|
9
|
-
for (var name in all) __defProp(target, name, {
|
|
10
|
-
get: all[name],
|
|
11
|
-
enumerable: true
|
|
12
|
-
});
|
|
13
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __copyProps = (to, from, except, desc) => {
|
|
17
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
18
|
-
key = keys[i];
|
|
19
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
20
|
-
get: ((k) => from[k]).bind(null, key),
|
|
21
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return to;
|
|
25
|
-
};
|
|
26
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
27
|
-
//#endregion
|
|
28
2
|
let vue = require("vue");
|
|
29
|
-
let _mantine_vue_utils = require("@mantine-vue/utils");
|
|
30
3
|
let _mantine_vue_hooks = require("@mantine-vue/hooks");
|
|
31
4
|
let _floating_ui_vue = require("@floating-ui/vue");
|
|
5
|
+
//#region ../utils/esm/index.mjs
|
|
6
|
+
function keys(object) {
|
|
7
|
+
return Object.keys(object);
|
|
8
|
+
}
|
|
9
|
+
function noop() {}
|
|
10
|
+
function isPrimitive(value) {
|
|
11
|
+
return value === null || typeof value !== "object" && typeof value !== "function";
|
|
12
|
+
}
|
|
13
|
+
function isPlainObject(value) {
|
|
14
|
+
if (value === null || typeof value !== "object") return false;
|
|
15
|
+
const prototype = Object.getPrototypeOf(value);
|
|
16
|
+
return prototype === Object.prototype || prototype === null;
|
|
17
|
+
}
|
|
18
|
+
function deepMerge(target, source) {
|
|
19
|
+
const result = { ...target };
|
|
20
|
+
keys(source).forEach((key) => {
|
|
21
|
+
const sourceValue = source[key];
|
|
22
|
+
const targetValue = result[key];
|
|
23
|
+
if (isPlainObject(targetValue) && isPlainObject(sourceValue)) result[key] = deepMerge(targetValue, sourceValue);
|
|
24
|
+
else if (sourceValue !== void 0) result[key] = sourceValue;
|
|
25
|
+
});
|
|
26
|
+
return result;
|
|
27
|
+
}
|
|
28
|
+
function camelToKebabCase(value) {
|
|
29
|
+
return value.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);
|
|
30
|
+
}
|
|
31
|
+
function filterProps(props) {
|
|
32
|
+
return keys(props).reduce((acc, key) => {
|
|
33
|
+
if (props[key] !== void 0) acc[key] = props[key];
|
|
34
|
+
return acc;
|
|
35
|
+
}, {});
|
|
36
|
+
}
|
|
37
|
+
function isNumberLike(value) {
|
|
38
|
+
if (typeof value === "number") return true;
|
|
39
|
+
if (typeof value === "string") {
|
|
40
|
+
if (value.startsWith("calc(") || value.startsWith("var(") || value.includes(" ") && value.trim() !== "") return true;
|
|
41
|
+
const cssUnitsRegex = /^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;
|
|
42
|
+
return value.trim().split(/\s+/).every((val) => cssUnitsRegex.test(val));
|
|
43
|
+
}
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
function rem(value) {
|
|
47
|
+
if (typeof value === "number") return `${value / 16}rem`;
|
|
48
|
+
if (typeof value === "string") {
|
|
49
|
+
if (value.includes("calc(") || value.includes("var(")) return value;
|
|
50
|
+
if (value.endsWith("px")) return `${Number(value.replace("px", "")) / 16}rem`;
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
function em(value) {
|
|
56
|
+
if (typeof value === "number") return `${value / 16}em`;
|
|
57
|
+
if (typeof value === "string" && value.endsWith("px")) return `${Number(value.replace("px", "")) / 16}em`;
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
function px(value) {
|
|
61
|
+
if (typeof value === "number") return value;
|
|
62
|
+
if (typeof value === "string") {
|
|
63
|
+
if (value.endsWith("rem") || value.endsWith("em")) return Number(value.replace("rem", "").replace("em", "")) * 16;
|
|
64
|
+
if (value.endsWith("px")) return Number(value.replace("px", ""));
|
|
65
|
+
}
|
|
66
|
+
return Number(value) || 0;
|
|
67
|
+
}
|
|
68
|
+
function getSize(size, prefix = "size", convertToRem = true) {
|
|
69
|
+
if (size === void 0) return;
|
|
70
|
+
return isNumberLike(size) ? convertToRem ? rem(size) : String(size) : `var(--${prefix}-${size})`;
|
|
71
|
+
}
|
|
72
|
+
var getSpacing = (size) => getSize(size, "mantine-spacing");
|
|
73
|
+
var getRadius = (size) => size === void 0 ? "var(--mantine-radius-default)" : getSize(size, "mantine-radius");
|
|
74
|
+
var getShadow = (size) => size ? getSize(size, "mantine-shadow", false) : void 0;
|
|
75
|
+
var getFontSize = (size) => getSize(size, "mantine-font-size");
|
|
76
|
+
var getLineHeight = (size) => getSize(size, "mantine-line-height", false);
|
|
77
|
+
function getBreakpointValue(value) {
|
|
78
|
+
if (typeof value === "number") return value;
|
|
79
|
+
if (value.endsWith("px")) return Number(value.replace("px", ""));
|
|
80
|
+
if (value.endsWith("em") || value.endsWith("rem")) return Number(value.replace("em", "").replace("rem", "")) * 16;
|
|
81
|
+
return Number(value);
|
|
82
|
+
}
|
|
83
|
+
function getSortedBreakpoints(breakpoints) {
|
|
84
|
+
return keys(breakpoints).map((breakpoint) => ({
|
|
85
|
+
breakpoint,
|
|
86
|
+
px: getBreakpointValue(breakpoints[breakpoint])
|
|
87
|
+
})).sort((a, b) => a.px - b.px);
|
|
88
|
+
}
|
|
89
|
+
function getBaseValue(value) {
|
|
90
|
+
if (isPlainObject(value)) return value.base;
|
|
91
|
+
return value;
|
|
92
|
+
}
|
|
93
|
+
function getDefaultZIndex(level) {
|
|
94
|
+
return {
|
|
95
|
+
app: 100,
|
|
96
|
+
modal: 200,
|
|
97
|
+
popover: 300,
|
|
98
|
+
overlay: 400,
|
|
99
|
+
max: 9999
|
|
100
|
+
}[level];
|
|
101
|
+
}
|
|
102
|
+
function memoize(fn) {
|
|
103
|
+
const cache = /* @__PURE__ */ new Map();
|
|
104
|
+
return (...args) => {
|
|
105
|
+
const key = JSON.stringify(args);
|
|
106
|
+
if (cache.has(key)) return cache.get(key);
|
|
107
|
+
const result = fn(...args);
|
|
108
|
+
cache.set(key, result);
|
|
109
|
+
return result;
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
function findClosestNumber(value, values) {
|
|
113
|
+
return values.reduce((closest, current) => Math.abs(current - value) < Math.abs(closest - value) ? current : closest);
|
|
114
|
+
}
|
|
115
|
+
function createEventHandler(...handlers) {
|
|
116
|
+
return (event) => {
|
|
117
|
+
handlers.forEach((handler) => handler?.(event));
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
function getSafeId(uid, errorMessage) {
|
|
121
|
+
return (staticId) => {
|
|
122
|
+
if (typeof staticId === "string") return staticId;
|
|
123
|
+
if (uid === "") throw new Error(errorMessage);
|
|
124
|
+
return uid;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
//#endregion
|
|
32
128
|
//#region src/core/utils/index.ts
|
|
33
129
|
function createSafeInjectionContext(errorMessage) {
|
|
34
130
|
const key = Symbol(errorMessage);
|
|
@@ -350,20 +446,20 @@ var defaultVariantColorsResolver = ({ color, theme, variant, gradient, autoContr
|
|
|
350
446
|
background: `var(--mantine-color-${color}-filled)`,
|
|
351
447
|
hover: `var(--mantine-color-${color}-filled-hover)`,
|
|
352
448
|
color: textColor,
|
|
353
|
-
border: `${
|
|
449
|
+
border: `${rem(1)} solid transparent`
|
|
354
450
|
};
|
|
355
451
|
return {
|
|
356
452
|
background: `var(--mantine-color-${parsed.color}-${parsed.shade})`,
|
|
357
453
|
hover: `var(--mantine-color-${parsed.color}-${parsed.shade === 9 ? 8 : parsed.shade + 1})`,
|
|
358
454
|
color: textColor,
|
|
359
|
-
border: `${
|
|
455
|
+
border: `${rem(1)} solid transparent`
|
|
360
456
|
};
|
|
361
457
|
}
|
|
362
458
|
return {
|
|
363
459
|
background: color,
|
|
364
460
|
hover: darken(color, .1),
|
|
365
461
|
color: textColor,
|
|
366
|
-
border: `${
|
|
462
|
+
border: `${rem(1)} solid transparent`
|
|
367
463
|
};
|
|
368
464
|
}
|
|
369
465
|
if (variant === "light") {
|
|
@@ -372,21 +468,21 @@ var defaultVariantColorsResolver = ({ color, theme, variant, gradient, autoContr
|
|
|
372
468
|
background: `var(--mantine-color-${color}-light)`,
|
|
373
469
|
hover: `var(--mantine-color-${color}-light-hover)`,
|
|
374
470
|
color: `var(--mantine-color-${color}-light-color)`,
|
|
375
|
-
border: `${
|
|
471
|
+
border: `${rem(1)} solid transparent`
|
|
376
472
|
};
|
|
377
473
|
const parsedColor = theme.colors[parsed.color][parsed.shade];
|
|
378
474
|
return {
|
|
379
475
|
background: parsedColor,
|
|
380
476
|
hover: darken(parsedColor, .1),
|
|
381
477
|
color: `var(--mantine-color-${parsed.color}-light-color)`,
|
|
382
|
-
border: `${
|
|
478
|
+
border: `${rem(1)} solid transparent`
|
|
383
479
|
};
|
|
384
480
|
}
|
|
385
481
|
return {
|
|
386
482
|
background: rgba(color, .1),
|
|
387
483
|
hover: rgba(color, .12),
|
|
388
484
|
color,
|
|
389
|
-
border: `${
|
|
485
|
+
border: `${rem(1)} solid transparent`
|
|
390
486
|
};
|
|
391
487
|
}
|
|
392
488
|
if (variant === "outline") {
|
|
@@ -395,20 +491,20 @@ var defaultVariantColorsResolver = ({ color, theme, variant, gradient, autoContr
|
|
|
395
491
|
background: "transparent",
|
|
396
492
|
hover: `var(--mantine-color-${color}-outline-hover)`,
|
|
397
493
|
color: `var(--mantine-color-${color}-outline)`,
|
|
398
|
-
border: `${
|
|
494
|
+
border: `${rem(1)} solid var(--mantine-color-${color}-outline)`
|
|
399
495
|
};
|
|
400
496
|
return {
|
|
401
497
|
background: "transparent",
|
|
402
498
|
hover: rgba(theme.colors[parsed.color][parsed.shade], .05),
|
|
403
499
|
color: `var(--mantine-color-${parsed.color}-${parsed.shade})`,
|
|
404
|
-
border: `${
|
|
500
|
+
border: `${rem(1)} solid var(--mantine-color-${parsed.color}-${parsed.shade})`
|
|
405
501
|
};
|
|
406
502
|
}
|
|
407
503
|
return {
|
|
408
504
|
background: "transparent",
|
|
409
505
|
hover: rgba(color, .05),
|
|
410
506
|
color,
|
|
411
|
-
border: `${
|
|
507
|
+
border: `${rem(1)} solid ${color}`
|
|
412
508
|
};
|
|
413
509
|
}
|
|
414
510
|
if (variant === "subtle") {
|
|
@@ -417,21 +513,21 @@ var defaultVariantColorsResolver = ({ color, theme, variant, gradient, autoContr
|
|
|
417
513
|
background: "transparent",
|
|
418
514
|
hover: `var(--mantine-color-${color}-light-hover)`,
|
|
419
515
|
color: `var(--mantine-color-${color}-light-color)`,
|
|
420
|
-
border: `${
|
|
516
|
+
border: `${rem(1)} solid transparent`
|
|
421
517
|
};
|
|
422
518
|
const parsedColor = theme.colors[parsed.color][parsed.shade];
|
|
423
519
|
return {
|
|
424
520
|
background: "transparent",
|
|
425
521
|
hover: rgba(parsedColor, .12),
|
|
426
522
|
color: `var(--mantine-color-${parsed.color}-${Math.min(parsed.shade, 6)})`,
|
|
427
|
-
border: `${
|
|
523
|
+
border: `${rem(1)} solid transparent`
|
|
428
524
|
};
|
|
429
525
|
}
|
|
430
526
|
return {
|
|
431
527
|
background: "transparent",
|
|
432
528
|
hover: rgba(color, .12),
|
|
433
529
|
color,
|
|
434
|
-
border: `${
|
|
530
|
+
border: `${rem(1)} solid transparent`
|
|
435
531
|
};
|
|
436
532
|
}
|
|
437
533
|
if (variant === "transparent") {
|
|
@@ -440,20 +536,20 @@ var defaultVariantColorsResolver = ({ color, theme, variant, gradient, autoContr
|
|
|
440
536
|
background: "transparent",
|
|
441
537
|
hover: "transparent",
|
|
442
538
|
color: `var(--mantine-color-${color}-light-color)`,
|
|
443
|
-
border: `${
|
|
539
|
+
border: `${rem(1)} solid transparent`
|
|
444
540
|
};
|
|
445
541
|
return {
|
|
446
542
|
background: "transparent",
|
|
447
543
|
hover: "transparent",
|
|
448
544
|
color: `var(--mantine-color-${parsed.color}-${Math.min(parsed.shade, 6)})`,
|
|
449
|
-
border: `${
|
|
545
|
+
border: `${rem(1)} solid transparent`
|
|
450
546
|
};
|
|
451
547
|
}
|
|
452
548
|
return {
|
|
453
549
|
background: "transparent",
|
|
454
550
|
hover: "transparent",
|
|
455
551
|
color,
|
|
456
|
-
border: `${
|
|
552
|
+
border: `${rem(1)} solid transparent`
|
|
457
553
|
};
|
|
458
554
|
}
|
|
459
555
|
if (variant === "white") {
|
|
@@ -462,20 +558,20 @@ var defaultVariantColorsResolver = ({ color, theme, variant, gradient, autoContr
|
|
|
462
558
|
background: "var(--mantine-color-white)",
|
|
463
559
|
hover: darken(theme.white, .01),
|
|
464
560
|
color: `var(--mantine-color-${color}-filled)`,
|
|
465
|
-
border: `${
|
|
561
|
+
border: `${rem(1)} solid transparent`
|
|
466
562
|
};
|
|
467
563
|
return {
|
|
468
564
|
background: "var(--mantine-color-white)",
|
|
469
565
|
hover: darken(theme.white, .01),
|
|
470
566
|
color: `var(--mantine-color-${parsed.color}-${parsed.shade})`,
|
|
471
|
-
border: `${
|
|
567
|
+
border: `${rem(1)} solid transparent`
|
|
472
568
|
};
|
|
473
569
|
}
|
|
474
570
|
return {
|
|
475
571
|
background: "var(--mantine-color-white)",
|
|
476
572
|
hover: darken(theme.white, .01),
|
|
477
573
|
color,
|
|
478
|
-
border: `${
|
|
574
|
+
border: `${rem(1)} solid transparent`
|
|
479
575
|
};
|
|
480
576
|
}
|
|
481
577
|
if (variant === "gradient") return {
|
|
@@ -488,7 +584,7 @@ var defaultVariantColorsResolver = ({ color, theme, variant, gradient, autoContr
|
|
|
488
584
|
background: "var(--mantine-color-default)",
|
|
489
585
|
hover: "var(--mantine-color-default-hover)",
|
|
490
586
|
color: "var(--mantine-color-default-color)",
|
|
491
|
-
border: `${
|
|
587
|
+
border: `${rem(1)} solid var(--mantine-color-default-border)`
|
|
492
588
|
};
|
|
493
589
|
return {};
|
|
494
590
|
};
|
|
@@ -700,37 +796,37 @@ var DEFAULT_THEME = {
|
|
|
700
796
|
textWrap: "wrap",
|
|
701
797
|
sizes: {
|
|
702
798
|
h1: {
|
|
703
|
-
fontSize:
|
|
799
|
+
fontSize: rem(34),
|
|
704
800
|
lineHeight: "1.3"
|
|
705
801
|
},
|
|
706
802
|
h2: {
|
|
707
|
-
fontSize:
|
|
803
|
+
fontSize: rem(26),
|
|
708
804
|
lineHeight: "1.35"
|
|
709
805
|
},
|
|
710
806
|
h3: {
|
|
711
|
-
fontSize:
|
|
807
|
+
fontSize: rem(22),
|
|
712
808
|
lineHeight: "1.4"
|
|
713
809
|
},
|
|
714
810
|
h4: {
|
|
715
|
-
fontSize:
|
|
811
|
+
fontSize: rem(18),
|
|
716
812
|
lineHeight: "1.45"
|
|
717
813
|
},
|
|
718
814
|
h5: {
|
|
719
|
-
fontSize:
|
|
815
|
+
fontSize: rem(16),
|
|
720
816
|
lineHeight: "1.5"
|
|
721
817
|
},
|
|
722
818
|
h6: {
|
|
723
|
-
fontSize:
|
|
819
|
+
fontSize: rem(14),
|
|
724
820
|
lineHeight: "1.5"
|
|
725
821
|
}
|
|
726
822
|
}
|
|
727
823
|
},
|
|
728
824
|
fontSizes: {
|
|
729
|
-
xs:
|
|
730
|
-
sm:
|
|
731
|
-
md:
|
|
732
|
-
lg:
|
|
733
|
-
xl:
|
|
825
|
+
xs: rem(12),
|
|
826
|
+
sm: rem(14),
|
|
827
|
+
md: rem(16),
|
|
828
|
+
lg: rem(18),
|
|
829
|
+
xl: rem(20)
|
|
734
830
|
},
|
|
735
831
|
lineHeights: {
|
|
736
832
|
xs: "1.4",
|
|
@@ -745,18 +841,18 @@ var DEFAULT_THEME = {
|
|
|
745
841
|
bold: "700"
|
|
746
842
|
},
|
|
747
843
|
radius: {
|
|
748
|
-
xs:
|
|
749
|
-
sm:
|
|
750
|
-
md:
|
|
751
|
-
lg:
|
|
752
|
-
xl:
|
|
844
|
+
xs: rem(2),
|
|
845
|
+
sm: rem(4),
|
|
846
|
+
md: rem(8),
|
|
847
|
+
lg: rem(16),
|
|
848
|
+
xl: rem(32)
|
|
753
849
|
},
|
|
754
850
|
spacing: {
|
|
755
|
-
xs:
|
|
756
|
-
sm:
|
|
757
|
-
md:
|
|
758
|
-
lg:
|
|
759
|
-
xl:
|
|
851
|
+
xs: rem(10),
|
|
852
|
+
sm: rem(12),
|
|
853
|
+
md: rem(16),
|
|
854
|
+
lg: rem(20),
|
|
855
|
+
xl: rem(32)
|
|
760
856
|
},
|
|
761
857
|
breakpoints: {
|
|
762
858
|
xs: "36em",
|
|
@@ -766,11 +862,11 @@ var DEFAULT_THEME = {
|
|
|
766
862
|
xl: "88em"
|
|
767
863
|
},
|
|
768
864
|
shadows: {
|
|
769
|
-
xs: `0 ${
|
|
770
|
-
sm: `0 ${
|
|
771
|
-
md: `0 ${
|
|
772
|
-
lg: `0 ${
|
|
773
|
-
xl: `0 ${
|
|
865
|
+
xs: `0 ${rem(1)} ${rem(3)} rgba(0, 0, 0, 0.05), 0 ${rem(1)} ${rem(2)} rgba(0, 0, 0, 0.1)`,
|
|
866
|
+
sm: `0 ${rem(1)} ${rem(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${rem(10)} ${rem(15)} ${rem(-5)}, rgba(0, 0, 0, 0.04) 0 ${rem(7)} ${rem(7)} ${rem(-5)}`,
|
|
867
|
+
md: `0 ${rem(1)} ${rem(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${rem(20)} ${rem(25)} ${rem(-5)}, rgba(0, 0, 0, 0.04) 0 ${rem(10)} ${rem(10)} ${rem(-5)}`,
|
|
868
|
+
lg: `0 ${rem(1)} ${rem(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${rem(28)} ${rem(23)} ${rem(-7)}, rgba(0, 0, 0, 0.04) 0 ${rem(12)} ${rem(12)} ${rem(-7)}`,
|
|
869
|
+
xl: `0 ${rem(1)} ${rem(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${rem(36)} ${rem(28)} ${rem(-7)}, rgba(0, 0, 0, 0.04) 0 ${rem(17)} ${rem(17)} ${rem(-7)}`
|
|
774
870
|
},
|
|
775
871
|
other: {},
|
|
776
872
|
components: {}
|
|
@@ -794,7 +890,7 @@ function mergeMantineTheme(currentTheme, themeOverride) {
|
|
|
794
890
|
validateMantineTheme(currentTheme);
|
|
795
891
|
return currentTheme;
|
|
796
892
|
}
|
|
797
|
-
const result =
|
|
893
|
+
const result = deepMerge(currentTheme, themeOverride);
|
|
798
894
|
if (themeOverride.fontFamily && !themeOverride.headings?.fontFamily) result.headings = {
|
|
799
895
|
...result.headings,
|
|
800
896
|
fontFamily: themeOverride.fontFamily
|
|
@@ -805,7 +901,7 @@ function mergeMantineTheme(currentTheme, themeOverride) {
|
|
|
805
901
|
//#endregion
|
|
806
902
|
//#region src/core/MantineProvider/css-variables.ts
|
|
807
903
|
function assignSizeVariables(variables, sizes, name) {
|
|
808
|
-
|
|
904
|
+
keys(sizes).forEach((size) => {
|
|
809
905
|
variables[`--mantine-${name}-${size}`] = sizes[size];
|
|
810
906
|
});
|
|
811
907
|
}
|
|
@@ -840,7 +936,7 @@ function getCSSColorVariables({ theme, color, colorScheme, name = color, withCol
|
|
|
840
936
|
}
|
|
841
937
|
var defaultCssVariablesResolver = (theme) => {
|
|
842
938
|
const lightPrimaryShade = getPrimaryShade(theme, "light");
|
|
843
|
-
const defaultRadius = String(theme.defaultRadius) in theme.radius ? theme.radius[String(theme.defaultRadius)] :
|
|
939
|
+
const defaultRadius = String(theme.defaultRadius) in theme.radius ? theme.radius[String(theme.defaultRadius)] : rem(theme.defaultRadius);
|
|
844
940
|
const result = {
|
|
845
941
|
variables: {
|
|
846
942
|
"--mantine-z-index-app": "100",
|
|
@@ -914,7 +1010,7 @@ var defaultCssVariablesResolver = (theme) => {
|
|
|
914
1010
|
theme.colors[theme.primaryColor].forEach((_, index) => {
|
|
915
1011
|
result.variables[`--mantine-primary-color-${index}`] = `var(--mantine-color-${theme.primaryColor}-${index})`;
|
|
916
1012
|
});
|
|
917
|
-
|
|
1013
|
+
keys(theme.colors).forEach((color) => {
|
|
918
1014
|
const value = theme.colors[color];
|
|
919
1015
|
if (isVirtualColor(value)) {
|
|
920
1016
|
Object.assign(result.light, getCSSColorVariables({
|
|
@@ -947,7 +1043,7 @@ var defaultCssVariablesResolver = (theme) => {
|
|
|
947
1043
|
withColorValues: false
|
|
948
1044
|
}));
|
|
949
1045
|
});
|
|
950
|
-
|
|
1046
|
+
keys(theme.headings.sizes).forEach((heading) => {
|
|
951
1047
|
const value = theme.headings.sizes[heading];
|
|
952
1048
|
result.variables[`--mantine-${heading}-font-size`] = value.fontSize;
|
|
953
1049
|
result.variables[`--mantine-${heading}-line-height`] = value.lineHeight;
|
|
@@ -960,13 +1056,13 @@ function getMergedVariables({ theme, generator }) {
|
|
|
960
1056
|
if (!generator) return defaultVariables;
|
|
961
1057
|
const generatedVariables = generator(theme);
|
|
962
1058
|
return {
|
|
963
|
-
variables:
|
|
964
|
-
light:
|
|
965
|
-
dark:
|
|
1059
|
+
variables: deepMerge(defaultVariables.variables, generatedVariables.variables || {}),
|
|
1060
|
+
light: deepMerge(defaultVariables.light || {}, generatedVariables.light || {}),
|
|
1061
|
+
dark: deepMerge(defaultVariables.dark || {}, generatedVariables.dark || {})
|
|
966
1062
|
};
|
|
967
1063
|
}
|
|
968
1064
|
function cssVariablesObjectToString(variables) {
|
|
969
|
-
return
|
|
1065
|
+
return keys(variables).filter((variable) => variables[variable] !== void 0).map((variable) => `${variable}: ${variables[variable]};`).join("\n");
|
|
970
1066
|
}
|
|
971
1067
|
function convertCssVariables(input, selector = ":root") {
|
|
972
1068
|
const blocks = [`${selector}{${cssVariablesObjectToString(input.variables)}}`];
|
|
@@ -1233,10 +1329,10 @@ var MantineClasses = (0, vue.defineComponent)({
|
|
|
1233
1329
|
name: "MantineClasses",
|
|
1234
1330
|
setup() {
|
|
1235
1331
|
const theme = useMantineTheme();
|
|
1236
|
-
const classes = (0, vue.computed)(() =>
|
|
1332
|
+
const classes = (0, vue.computed)(() => keys(theme.value.breakpoints).reduce((acc, breakpoint) => {
|
|
1237
1333
|
const isPxBreakpoint = theme.value.breakpoints[breakpoint].includes("px");
|
|
1238
|
-
const pxValue =
|
|
1239
|
-
return `${acc}@media (max-width: ${isPxBreakpoint ? `${pxValue - .1}px` :
|
|
1334
|
+
const pxValue = px(theme.value.breakpoints[breakpoint]);
|
|
1335
|
+
return `${acc}@media (max-width: ${isPxBreakpoint ? `${pxValue - .1}px` : em(pxValue - .1)}) {.mantine-visible-from-${breakpoint} {display: none !important;}}@media (min-width: ${isPxBreakpoint ? `${pxValue}px` : em(pxValue)}) {.mantine-hidden-from-${breakpoint} {display: none !important;}}`;
|
|
1240
1336
|
}, ""));
|
|
1241
1337
|
return () => (0, vue.h)("style", {
|
|
1242
1338
|
"data-mantine-styles": "classes",
|
|
@@ -1251,7 +1347,7 @@ function useProps(component, defaultProps, props) {
|
|
|
1251
1347
|
const resolvedProps = (0, vue.computed)(() => ({
|
|
1252
1348
|
...defaultProps,
|
|
1253
1349
|
...theme.value.components[component]?.defaultProps,
|
|
1254
|
-
...
|
|
1350
|
+
...filterProps(props)
|
|
1255
1351
|
}));
|
|
1256
1352
|
return new Proxy({}, {
|
|
1257
1353
|
get(_, key) {
|
|
@@ -1279,7 +1375,7 @@ function mergeVars(sources) {
|
|
|
1279
1375
|
if (current) Object.keys(current).forEach((key) => {
|
|
1280
1376
|
acc[key] = {
|
|
1281
1377
|
...acc[key],
|
|
1282
|
-
...
|
|
1378
|
+
...filterProps(current[key] ?? {})
|
|
1283
1379
|
};
|
|
1284
1380
|
});
|
|
1285
1381
|
return acc;
|
|
@@ -1480,7 +1576,7 @@ function colorResolver(value, theme, text) {
|
|
|
1480
1576
|
function resolveValue(value, type, theme) {
|
|
1481
1577
|
if (value === void 0) return void 0;
|
|
1482
1578
|
if (type === "identity") return value;
|
|
1483
|
-
if (type === "size") return typeof value === "number" ?
|
|
1579
|
+
if (type === "size") return typeof value === "number" ? rem(value) : value;
|
|
1484
1580
|
if (type === "color") return colorResolver(value, theme, false);
|
|
1485
1581
|
if (type === "textColor") return colorResolver(value, theme, true);
|
|
1486
1582
|
if (type === "fontFamily") return typeof value === "string" ? {
|
|
@@ -1493,13 +1589,13 @@ function resolveValue(value, type, theme) {
|
|
|
1493
1589
|
if (type === "fontSize") {
|
|
1494
1590
|
if (typeof value === "string" && value in theme.fontSizes) return `var(--mantine-font-size-${value})`;
|
|
1495
1591
|
if (typeof value === "string" && /^h[1-6]$/.test(value)) return `var(--mantine-${value}-font-size)`;
|
|
1496
|
-
return
|
|
1592
|
+
return rem(value);
|
|
1497
1593
|
}
|
|
1498
1594
|
if (type === "lineHeight") {
|
|
1499
1595
|
if (typeof value === "string" && value in theme.lineHeights) return `var(--mantine-line-height-${value})`;
|
|
1500
1596
|
return typeof value === "string" && /^h[1-6]$/.test(value) ? `var(--mantine-${value}-line-height)` : value;
|
|
1501
1597
|
}
|
|
1502
|
-
if (type === "radius") return typeof value === "string" && value in theme.radius ? `var(--mantine-radius-${value})` :
|
|
1598
|
+
if (type === "radius") return typeof value === "string" && value in theme.radius ? `var(--mantine-radius-${value})` : rem(value);
|
|
1503
1599
|
if (type === "spacing") {
|
|
1504
1600
|
if (typeof value === "string") {
|
|
1505
1601
|
const key = value.replace("-", "");
|
|
@@ -1508,14 +1604,14 @@ function resolveValue(value, type, theme) {
|
|
|
1508
1604
|
return value.startsWith("-") ? `calc(var(${variable}) * -1)` : `var(${variable})`;
|
|
1509
1605
|
}
|
|
1510
1606
|
}
|
|
1511
|
-
return
|
|
1607
|
+
return rem(value);
|
|
1512
1608
|
}
|
|
1513
1609
|
if (type === "border") {
|
|
1514
|
-
if (typeof value === "number") return
|
|
1610
|
+
if (typeof value === "number") return rem(value);
|
|
1515
1611
|
if (typeof value !== "string") return value;
|
|
1516
1612
|
const [size, style, ...color] = value.split(" ").filter(Boolean);
|
|
1517
1613
|
return [
|
|
1518
|
-
|
|
1614
|
+
rem(size),
|
|
1519
1615
|
style,
|
|
1520
1616
|
color.length ? colorResolver(color.join(" "), theme, false) : null
|
|
1521
1617
|
].filter(Boolean).join(" ");
|
|
@@ -1529,7 +1625,7 @@ function parseStyleProps({ styleProps, theme, data }) {
|
|
|
1529
1625
|
Object.entries(styleProps).forEach(([prop, value]) => {
|
|
1530
1626
|
const propData = data[prop];
|
|
1531
1627
|
if (!propData || value === void 0) return;
|
|
1532
|
-
const cssProperty =
|
|
1628
|
+
const cssProperty = camelToKebabCase(propData.property);
|
|
1533
1629
|
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
1534
1630
|
if (Object.keys(value).filter((breakpoint) => breakpoint !== "base").length === 0) {
|
|
1535
1631
|
const resolved = resolveValue(value.base, propData.type, theme);
|
|
@@ -1543,7 +1639,7 @@ function parseStyleProps({ styleProps, theme, data }) {
|
|
|
1543
1639
|
styles[cssProperty] = resolved;
|
|
1544
1640
|
return;
|
|
1545
1641
|
}
|
|
1546
|
-
const query = `(min-width: ${
|
|
1642
|
+
const query = `(min-width: ${getBreakpointValue(theme.breakpoints[breakpoint] ?? breakpoint) / 16}em)`;
|
|
1547
1643
|
media[query] = media[query] ?? {};
|
|
1548
1644
|
media[query][cssProperty] = resolved;
|
|
1549
1645
|
});
|
|
@@ -1556,7 +1652,7 @@ function parseStyleProps({ styleProps, theme, data }) {
|
|
|
1556
1652
|
inlineStyles,
|
|
1557
1653
|
styles,
|
|
1558
1654
|
media: Object.fromEntries(Object.entries(media).sort(([a], [b]) => {
|
|
1559
|
-
return
|
|
1655
|
+
return getBreakpointValue(a.replace("(min-width:", "").replace(")", "").trim()) - getBreakpointValue(b.replace("(min-width:", "").replace(")", "").trim());
|
|
1560
1656
|
})),
|
|
1561
1657
|
hasResponsiveStyles: Object.keys(styles).length > 0 || Object.keys(media).length > 0
|
|
1562
1658
|
};
|
|
@@ -1811,7 +1907,7 @@ function isVueComponent(component) {
|
|
|
1811
1907
|
function modToAttributes(mod) {
|
|
1812
1908
|
return (Array.isArray(mod) ? mod : [mod]).reduce((acc, item) => {
|
|
1813
1909
|
Object.entries(item ?? {}).forEach(([key, value]) => {
|
|
1814
|
-
if (value !== false && value !== void 0 && value !== null) acc[`data-${
|
|
1910
|
+
if (value !== false && value !== void 0 && value !== null) acc[`data-${camelToKebabCase(key)}`] = value;
|
|
1815
1911
|
});
|
|
1816
1912
|
return acc;
|
|
1817
1913
|
}, {});
|
|
@@ -1976,8 +2072,8 @@ var Box = (0, vue.defineComponent)({
|
|
|
1976
2072
|
size: props.__size,
|
|
1977
2073
|
class: className,
|
|
1978
2074
|
"data-variant": attrs["data-variant"] ?? props.variant,
|
|
1979
|
-
"data-size": attrs["data-size"] ?? (
|
|
1980
|
-
style: [
|
|
2075
|
+
"data-size": attrs["data-size"] ?? (isNumberLike(props.size) ? void 0 : props.size),
|
|
2076
|
+
style: [filterProps(parsed.inlineStyles), attrs.style],
|
|
1981
2077
|
ref: elementRef
|
|
1982
2078
|
}, isVueComponent(props.component) && children ? { default: children } : children?.());
|
|
1983
2079
|
if (!parsed.hasResponsiveStyles) return node;
|
|
@@ -2046,81 +2142,6 @@ var DirectionProvider = (0, vue.defineComponent)({
|
|
|
2046
2142
|
return () => slots.default?.();
|
|
2047
2143
|
}
|
|
2048
2144
|
});
|
|
2049
|
-
//#endregion
|
|
2050
|
-
//#region src/core/index.ts
|
|
2051
|
-
var core_exports = /* @__PURE__ */ __exportAll({
|
|
2052
|
-
Box: () => Box,
|
|
2053
|
-
DEFAULT_COLORS: () => DEFAULT_COLORS,
|
|
2054
|
-
DEFAULT_THEME: () => DEFAULT_THEME,
|
|
2055
|
-
DirectionContextKey: () => DirectionContextKey,
|
|
2056
|
-
DirectionProvider: () => DirectionProvider,
|
|
2057
|
-
HeadlessMantineProvider: () => HeadlessMantineProvider,
|
|
2058
|
-
INVALID_PRIMARY_COLOR_ERROR: () => INVALID_PRIMARY_COLOR_ERROR,
|
|
2059
|
-
INVALID_PRIMARY_SHADE_ERROR: () => INVALID_PRIMARY_SHADE_ERROR,
|
|
2060
|
-
InlineStyles: () => InlineStyles,
|
|
2061
|
-
MantineClasses: () => MantineClasses,
|
|
2062
|
-
MantineContextKey: () => MantineContextKey,
|
|
2063
|
-
MantineCssVariables: () => MantineCssVariables,
|
|
2064
|
-
MantineProvider: () => MantineProvider,
|
|
2065
|
-
MantineThemeKey: () => MantineThemeKey,
|
|
2066
|
-
MantineThemeProvider: () => MantineThemeProvider,
|
|
2067
|
-
STYLE_PROPS_DATA: () => STYLE_PROPS_DATA,
|
|
2068
|
-
alpha: () => alpha,
|
|
2069
|
-
colorsTuple: () => colorsTuple,
|
|
2070
|
-
convertCssVariables: () => convertCssVariables,
|
|
2071
|
-
createProviderColorScheme: () => createProviderColorScheme,
|
|
2072
|
-
createSafeContext: () => createSafeContext,
|
|
2073
|
-
createSafeInjectionContext: () => createSafeInjectionContext,
|
|
2074
|
-
createVarsResolver: () => createVarsResolver,
|
|
2075
|
-
cssVariablesObjectToString: () => cssVariablesObjectToString,
|
|
2076
|
-
darken: () => darken,
|
|
2077
|
-
defaultCssVariablesResolver: () => defaultCssVariablesResolver,
|
|
2078
|
-
defaultVariantColorsResolver: () => defaultVariantColorsResolver,
|
|
2079
|
-
factory: () => factory,
|
|
2080
|
-
getAutoContrastValue: () => getAutoContrastValue,
|
|
2081
|
-
getContrastColor: () => getContrastColor,
|
|
2082
|
-
getGradient: () => getGradient,
|
|
2083
|
-
getMergedVariables: () => getMergedVariables,
|
|
2084
|
-
getPrimaryContrastColor: () => getPrimaryContrastColor,
|
|
2085
|
-
getPrimaryShade: () => getPrimaryShade,
|
|
2086
|
-
getThemeColor: () => getThemeColor,
|
|
2087
|
-
hashStyleProps: () => hashStyleProps,
|
|
2088
|
-
isLightColor: () => isLightColor,
|
|
2089
|
-
isVirtualColor: () => isVirtualColor,
|
|
2090
|
-
lighten: () => lighten,
|
|
2091
|
-
luminance: () => luminance,
|
|
2092
|
-
mergeMantineTheme: () => mergeMantineTheme,
|
|
2093
|
-
parseStyleProps: () => parseStyleProps,
|
|
2094
|
-
parseThemeColor: () => parseThemeColor,
|
|
2095
|
-
polymorphicFactory: () => factory,
|
|
2096
|
-
polymorphicProps: () => polymorphicProps,
|
|
2097
|
-
provideMantineContext: () => provideMantineContext,
|
|
2098
|
-
provideMantineTheme: () => provideMantineTheme,
|
|
2099
|
-
renderPolymorphic: () => renderPolymorphic,
|
|
2100
|
-
resolveColorScheme: () => resolveColorScheme,
|
|
2101
|
-
rgba: () => rgba,
|
|
2102
|
-
toRgba: () => toRgba,
|
|
2103
|
-
useComputedColorScheme: () => useComputedColorScheme,
|
|
2104
|
-
useDirection: () => useDirection,
|
|
2105
|
-
useForwardedRef: () => useForwardedRef,
|
|
2106
|
-
useMantineClassNamesPrefix: () => useMantineClassNamesPrefix,
|
|
2107
|
-
useMantineColorScheme: () => useMantineColorScheme,
|
|
2108
|
-
useMantineContext: () => useMantineContext,
|
|
2109
|
-
useMantineCssVariablesResolver: () => useMantineCssVariablesResolver,
|
|
2110
|
-
useMantineDeduplicateInlineStyles: () => useMantineDeduplicateInlineStyles,
|
|
2111
|
-
useMantineEnv: () => useMantineEnv,
|
|
2112
|
-
useMantineIsHeadless: () => useMantineIsHeadless,
|
|
2113
|
-
useMantineStyleNonce: () => useMantineStyleNonce,
|
|
2114
|
-
useMantineTheme: () => useMantineTheme,
|
|
2115
|
-
useMantineWithStaticClasses: () => useMantineWithStaticClasses,
|
|
2116
|
-
useProps: () => useProps,
|
|
2117
|
-
useRandomClassName: () => useRandomClassName,
|
|
2118
|
-
useSafeMantineTheme: () => useSafeMantineTheme,
|
|
2119
|
-
useStyles: () => useStyles,
|
|
2120
|
-
validateMantineTheme: () => validateMantineTheme,
|
|
2121
|
-
virtualColor: () => virtualColor,
|
|
2122
|
-
withBoxProps: () => withBoxProps
|
|
2123
|
-
});
|
|
2124
2145
|
var VisuallyHidden_module_default = { root: "_root_5rq9d_1" };
|
|
2125
2146
|
//#endregion
|
|
2126
2147
|
//#region src/components/VisuallyHidden/VisuallyHidden.ts
|
|
@@ -2382,8 +2403,8 @@ var Paper_module_default = { root: "_root_1it4e_1" };
|
|
|
2382
2403
|
//#endregion
|
|
2383
2404
|
//#region src/components/Paper/Paper.ts
|
|
2384
2405
|
var varsResolver$92 = createVarsResolver((_, { radius, shadow }) => ({ root: {
|
|
2385
|
-
"--paper-radius": radius === void 0 ? void 0 :
|
|
2386
|
-
"--paper-shadow":
|
|
2406
|
+
"--paper-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
2407
|
+
"--paper-shadow": getShadow(shadow)
|
|
2387
2408
|
} }));
|
|
2388
2409
|
var Paper = withBoxProps((0, vue.defineComponent)({
|
|
2389
2410
|
name: "Paper",
|
|
@@ -2448,11 +2469,11 @@ var Paper = withBoxProps((0, vue.defineComponent)({
|
|
|
2448
2469
|
var Overlay_module_default = { root: "_root_qjtu2_1" };
|
|
2449
2470
|
//#endregion
|
|
2450
2471
|
//#region src/components/Overlay/Overlay.ts
|
|
2451
|
-
var defaultProps$57 = { zIndex:
|
|
2472
|
+
var defaultProps$57 = { zIndex: getDefaultZIndex("modal") };
|
|
2452
2473
|
var varsResolver$91 = createVarsResolver((_, { gradient, color, backgroundOpacity, blur, radius, zIndex }) => ({ root: {
|
|
2453
2474
|
"--overlay-bg": gradient || (color !== void 0 || backgroundOpacity !== void 0) && rgba(color || "#000", backgroundOpacity ?? .6) || void 0,
|
|
2454
|
-
"--overlay-filter": blur ? `blur(${
|
|
2455
|
-
"--overlay-radius": radius === void 0 ? void 0 :
|
|
2475
|
+
"--overlay-filter": blur ? `blur(${rem(blur)})` : void 0,
|
|
2476
|
+
"--overlay-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
2456
2477
|
"--overlay-z-index": zIndex?.toString()
|
|
2457
2478
|
} }));
|
|
2458
2479
|
var Overlay = withBoxProps((0, vue.defineComponent)({
|
|
@@ -2600,7 +2621,7 @@ var defaultProps$56 = {
|
|
|
2600
2621
|
size: "md"
|
|
2601
2622
|
};
|
|
2602
2623
|
var varsResolver$90 = createVarsResolver((theme, { size, color }) => ({ root: {
|
|
2603
|
-
"--loader-size":
|
|
2624
|
+
"--loader-size": getSize(size, "loader-size"),
|
|
2604
2625
|
"--loader-color": color ? getThemeColor(color, theme) : void 0
|
|
2605
2626
|
} }));
|
|
2606
2627
|
var Loader = withBoxProps((0, vue.defineComponent)({
|
|
@@ -2723,7 +2744,7 @@ var Container_module_default = { root: "_root_1nxsn_1" };
|
|
|
2723
2744
|
//#endregion
|
|
2724
2745
|
//#region src/components/Container/Container.ts
|
|
2725
2746
|
var defaultProps$55 = { strategy: "block" };
|
|
2726
|
-
var varsResolver$89 = createVarsResolver((_, { size, fluid }) => ({ root: { "--container-size": fluid ? void 0 :
|
|
2747
|
+
var varsResolver$89 = createVarsResolver((_, { size, fluid }) => ({ root: { "--container-size": fluid ? void 0 : getSize(size, "container-size") } }));
|
|
2727
2748
|
var Container = withBoxProps((0, vue.defineComponent)({
|
|
2728
2749
|
name: "Container",
|
|
2729
2750
|
inheritAttrs: false,
|
|
@@ -2841,7 +2862,7 @@ var defaultProps$54 = {
|
|
|
2841
2862
|
var varsResolver$87 = createVarsResolver((theme, { color, variant, size }) => ({ root: {
|
|
2842
2863
|
"--divider-color": color ? getThemeColor(color, theme) : void 0,
|
|
2843
2864
|
"--divider-border-style": variant,
|
|
2844
|
-
"--divider-size":
|
|
2865
|
+
"--divider-size": getSize(size, "divider-size")
|
|
2845
2866
|
} }));
|
|
2846
2867
|
var Divider = withBoxProps((0, vue.defineComponent)({
|
|
2847
2868
|
name: "Divider",
|
|
@@ -2931,8 +2952,8 @@ function getTextTruncate(truncate) {
|
|
|
2931
2952
|
}
|
|
2932
2953
|
var defaultProps$53 = { inherit: false };
|
|
2933
2954
|
var varsResolver$86 = createVarsResolver((theme, { variant, lineClamp, gradient, size, textWrap }) => ({ root: {
|
|
2934
|
-
"--text-fz":
|
|
2935
|
-
"--text-lh":
|
|
2955
|
+
"--text-fz": getFontSize(size),
|
|
2956
|
+
"--text-lh": getLineHeight(size),
|
|
2936
2957
|
"--text-gradient": variant === "gradient" ? getGradient(gradient, theme) : void 0,
|
|
2937
2958
|
"--text-line-clamp": typeof lineClamp === "number" ? lineClamp.toString() : void 0,
|
|
2938
2959
|
"--text-text-wrap": textWrap
|
|
@@ -3113,7 +3134,7 @@ function getTitleSize(order, size) {
|
|
|
3113
3134
|
lineHeight: `var(--mantine-h${order}-line-height)`
|
|
3114
3135
|
};
|
|
3115
3136
|
return {
|
|
3116
|
-
fontSize:
|
|
3137
|
+
fontSize: rem(titleSize),
|
|
3117
3138
|
fontWeight: `var(--mantine-h${order}-font-weight)`,
|
|
3118
3139
|
lineHeight: `var(--mantine-h${order}-line-height)`
|
|
3119
3140
|
};
|
|
@@ -3261,7 +3282,7 @@ var Code = withBoxProps((0, vue.defineComponent)({
|
|
|
3261
3282
|
var Kbd_module_default = { root: "_root_wjfmb_1" };
|
|
3262
3283
|
//#endregion
|
|
3263
3284
|
//#region src/components/Kbd/Kbd.ts
|
|
3264
|
-
var varsResolver$83 = createVarsResolver((_, { size }) => ({ root: { "--kbd-fz":
|
|
3285
|
+
var varsResolver$83 = createVarsResolver((_, { size }) => ({ root: { "--kbd-fz": getSize(size, "kbd-fz") } }));
|
|
3265
3286
|
var Kbd = withBoxProps((0, vue.defineComponent)({
|
|
3266
3287
|
name: "Kbd",
|
|
3267
3288
|
inheritAttrs: false,
|
|
@@ -3383,7 +3404,7 @@ var Image_module_default = { root: "_root_2axku_1" };
|
|
|
3383
3404
|
//#endregion
|
|
3384
3405
|
//#region src/components/Image/Image.ts
|
|
3385
3406
|
var varsResolver$81 = createVarsResolver((_, { radius, fit }) => ({ root: {
|
|
3386
|
-
"--image-radius": radius === void 0 ? void 0 :
|
|
3407
|
+
"--image-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
3387
3408
|
"--image-object-fit": fit
|
|
3388
3409
|
} }));
|
|
3389
3410
|
var Image = withBoxProps((0, vue.defineComponent)({
|
|
@@ -3458,7 +3479,7 @@ var Image = withBoxProps((0, vue.defineComponent)({
|
|
|
3458
3479
|
var BackgroundImage_module_default = { root: "_root_ow7nr_1" };
|
|
3459
3480
|
//#endregion
|
|
3460
3481
|
//#region src/components/BackgroundImage/BackgroundImage.ts
|
|
3461
|
-
var varsResolver$80 = createVarsResolver((_, { radius }) => ({ root: { "--bi-radius": radius === void 0 ? void 0 :
|
|
3482
|
+
var varsResolver$80 = createVarsResolver((_, { radius }) => ({ root: { "--bi-radius": radius === void 0 ? void 0 : getRadius(radius) } }));
|
|
3462
3483
|
var BackgroundImage = withBoxProps((0, vue.defineComponent)({
|
|
3463
3484
|
name: "BackgroundImage",
|
|
3464
3485
|
inheritAttrs: false,
|
|
@@ -3516,9 +3537,9 @@ var defaultProps$49 = {
|
|
|
3516
3537
|
animate: true
|
|
3517
3538
|
};
|
|
3518
3539
|
var varsResolver$79 = createVarsResolver((_, { width, height, radius, circle }) => ({ root: {
|
|
3519
|
-
"--skeleton-height":
|
|
3520
|
-
"--skeleton-width": circle ?
|
|
3521
|
-
"--skeleton-radius": circle ? "1000px" : radius === void 0 ? void 0 :
|
|
3540
|
+
"--skeleton-height": rem(height),
|
|
3541
|
+
"--skeleton-width": circle ? rem(height) : rem(width),
|
|
3542
|
+
"--skeleton-radius": circle ? "1000px" : radius === void 0 ? void 0 : getRadius(radius)
|
|
3522
3543
|
} }));
|
|
3523
3544
|
var Skeleton = withBoxProps((0, vue.defineComponent)({
|
|
3524
3545
|
name: "Skeleton",
|
|
@@ -3591,8 +3612,8 @@ var ColorSwatch_module_default = {
|
|
|
3591
3612
|
//#region src/components/ColorSwatch/ColorSwatch.ts
|
|
3592
3613
|
var defaultProps$48 = { withShadow: true };
|
|
3593
3614
|
var varsResolver$78 = createVarsResolver((_, { radius, size }) => ({ root: {
|
|
3594
|
-
"--cs-radius": radius === void 0 ? void 0 :
|
|
3595
|
-
"--cs-size":
|
|
3615
|
+
"--cs-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
3616
|
+
"--cs-size": rem(size)
|
|
3596
3617
|
} }));
|
|
3597
3618
|
var ColorSwatch = withBoxProps((0, vue.defineComponent)({
|
|
3598
3619
|
name: "ColorSwatch",
|
|
@@ -3664,8 +3685,8 @@ var defaultProps$47 = {
|
|
|
3664
3685
|
withLabel: true
|
|
3665
3686
|
};
|
|
3666
3687
|
var varsResolver$77 = createVarsResolver((_, { size, thumbSize }) => ({ root: {
|
|
3667
|
-
"--slider-size": size === void 0 ? void 0 :
|
|
3668
|
-
"--thumb-size": thumbSize === void 0 ? void 0 :
|
|
3688
|
+
"--slider-size": size === void 0 ? void 0 : rem(size),
|
|
3689
|
+
"--thumb-size": thumbSize === void 0 ? void 0 : rem(thumbSize)
|
|
3669
3690
|
} }));
|
|
3670
3691
|
var AngleSlider = withBoxProps((0, vue.defineComponent)({
|
|
3671
3692
|
name: "AngleSlider",
|
|
@@ -3763,7 +3784,7 @@ var AngleSlider = withBoxProps((0, vue.defineComponent)({
|
|
|
3763
3784
|
});
|
|
3764
3785
|
const update = (nextValue) => {
|
|
3765
3786
|
if (!rootRef.value || props.disabled) return;
|
|
3766
|
-
setValue(props.restrictToMarks && Array.isArray(props.marks) ?
|
|
3787
|
+
setValue(props.restrictToMarks && Array.isArray(props.marks) ? findClosestNumber(nextValue, props.marks.map((mark) => mark.value)) : nextValue);
|
|
3767
3788
|
};
|
|
3768
3789
|
const radialMove = (0, _mantine_vue_hooks.useRadialMove)(update, {
|
|
3769
3790
|
step: props.step,
|
|
@@ -3789,7 +3810,7 @@ var AngleSlider = withBoxProps((0, vue.defineComponent)({
|
|
|
3789
3810
|
radialMove.ref(element);
|
|
3790
3811
|
};
|
|
3791
3812
|
const setKeyboardValue = (nextValue) => {
|
|
3792
|
-
const resolved = props.restrictToMarks && Array.isArray(props.marks) ?
|
|
3813
|
+
const resolved = props.restrictToMarks && Array.isArray(props.marks) ? findClosestNumber(nextValue, props.marks.map((mark) => mark.value)) : nextValue;
|
|
3793
3814
|
setValue(resolved);
|
|
3794
3815
|
props.onChangeEnd?.(resolved);
|
|
3795
3816
|
};
|
|
@@ -3812,8 +3833,8 @@ var AngleSlider = withBoxProps((0, vue.defineComponent)({
|
|
|
3812
3833
|
const currentIndex = markValues.indexOf(value.value);
|
|
3813
3834
|
if (currentIndex !== -1) if (event.key === "ArrowLeft" || event.key === "ArrowDown") nextValue = markValues[currentIndex === 0 ? markValues.length - 1 : currentIndex - 1];
|
|
3814
3835
|
else if (event.key === "ArrowRight" || event.key === "ArrowUp") nextValue = markValues[currentIndex === markValues.length - 1 ? 0 : currentIndex + 1];
|
|
3815
|
-
else nextValue =
|
|
3816
|
-
else nextValue =
|
|
3836
|
+
else nextValue = findClosestNumber(nextValue, markValues);
|
|
3837
|
+
else nextValue = findClosestNumber(nextValue, markValues);
|
|
3817
3838
|
}
|
|
3818
3839
|
setKeyboardValue(nextValue);
|
|
3819
3840
|
};
|
|
@@ -3874,10 +3895,10 @@ var varsResolver$76 = createVarsResolver((theme, { radius, color, gradient, vari
|
|
|
3874
3895
|
autoContrast
|
|
3875
3896
|
});
|
|
3876
3897
|
return { root: {
|
|
3877
|
-
"--badge-height":
|
|
3878
|
-
"--badge-padding-x":
|
|
3879
|
-
"--badge-fz":
|
|
3880
|
-
"--badge-radius": circle || radius === void 0 ? void 0 :
|
|
3898
|
+
"--badge-height": getSize(size, "badge-height"),
|
|
3899
|
+
"--badge-padding-x": getSize(size, "badge-padding-x"),
|
|
3900
|
+
"--badge-fz": getSize(size, "badge-fz"),
|
|
3901
|
+
"--badge-radius": circle || radius === void 0 ? void 0 : getRadius(radius),
|
|
3881
3902
|
"--badge-bg": color || variant ? colors.background : void 0,
|
|
3882
3903
|
"--badge-color": color || variant ? colors.color : void 0,
|
|
3883
3904
|
"--badge-bd": color || variant ? colors.border : void 0,
|
|
@@ -4004,8 +4025,8 @@ var varsResolver$75 = createVarsResolver((theme, { size, radius, variant, gradie
|
|
|
4004
4025
|
autoContrast
|
|
4005
4026
|
});
|
|
4006
4027
|
return { root: {
|
|
4007
|
-
"--ti-size":
|
|
4008
|
-
"--ti-radius": radius === void 0 ? void 0 :
|
|
4028
|
+
"--ti-size": getSize(size, "ti-size"),
|
|
4029
|
+
"--ti-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4009
4030
|
"--ti-bg": color || variant ? colors.background : void 0,
|
|
4010
4031
|
"--ti-color": color || variant ? colors.color : void 0,
|
|
4011
4032
|
"--ti-bd": color || variant ? colors.border : void 0
|
|
@@ -4495,7 +4516,7 @@ var ActionIcon_module_default = {
|
|
|
4495
4516
|
//#endregion
|
|
4496
4517
|
//#region src/components/ActionIcon/ActionIconGroup/ActionIconGroup.ts
|
|
4497
4518
|
var defaultProps$46 = { orientation: "horizontal" };
|
|
4498
|
-
var varsResolver$74 = createVarsResolver((_, { borderWidth }) => ({ group: { "--ai-border-width":
|
|
4519
|
+
var varsResolver$74 = createVarsResolver((_, { borderWidth }) => ({ group: { "--ai-border-width": rem(borderWidth) } }));
|
|
4499
4520
|
var ActionIconGroup = withBoxProps((0, vue.defineComponent)({
|
|
4500
4521
|
name: "ActionIconGroup",
|
|
4501
4522
|
inheritAttrs: false,
|
|
@@ -4555,10 +4576,10 @@ var varsResolver$73 = createVarsResolver((theme, { radius, color, gradient, vari
|
|
|
4555
4576
|
autoContrast
|
|
4556
4577
|
});
|
|
4557
4578
|
return { groupSection: {
|
|
4558
|
-
"--section-height":
|
|
4559
|
-
"--section-padding-x":
|
|
4560
|
-
"--section-fz":
|
|
4561
|
-
"--section-radius": radius === void 0 ? void 0 :
|
|
4579
|
+
"--section-height": getSize(size, "section-height"),
|
|
4580
|
+
"--section-padding-x": getSize(size, "section-padding-x"),
|
|
4581
|
+
"--section-fz": getFontSize(size),
|
|
4582
|
+
"--section-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4562
4583
|
"--section-bg": color || variant ? colors.background : void 0,
|
|
4563
4584
|
"--section-color": colors.color,
|
|
4564
4585
|
"--section-bd": color || variant ? colors.border : void 0
|
|
@@ -4635,8 +4656,8 @@ var varsResolver$72 = createVarsResolver((theme, { size, radius, variant, gradie
|
|
|
4635
4656
|
autoContrast
|
|
4636
4657
|
});
|
|
4637
4658
|
return { root: {
|
|
4638
|
-
"--ai-size":
|
|
4639
|
-
"--ai-radius": radius === void 0 ? void 0 :
|
|
4659
|
+
"--ai-size": getSize(size, "ai-size"),
|
|
4660
|
+
"--ai-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4640
4661
|
"--ai-bg": color || variant ? colors.background : void 0,
|
|
4641
4662
|
"--ai-hover": color || variant ? colors.hover : void 0,
|
|
4642
4663
|
"--ai-hover-color": color || variant ? colors.hoverColor : void 0,
|
|
@@ -4783,9 +4804,9 @@ var CloseButton_module_default = { root: "_root_uv1i7_1" };
|
|
|
4783
4804
|
//#region src/components/CloseButton/CloseButton.ts
|
|
4784
4805
|
var defaultProps$45 = { variant: "subtle" };
|
|
4785
4806
|
var varsResolver$71 = createVarsResolver((_, { size, radius, iconSize }) => ({ root: {
|
|
4786
|
-
"--cb-size":
|
|
4787
|
-
"--cb-radius": radius === void 0 ? void 0 :
|
|
4788
|
-
"--cb-icon-size":
|
|
4807
|
+
"--cb-size": getSize(size, "cb-size"),
|
|
4808
|
+
"--cb-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4809
|
+
"--cb-icon-size": rem(iconSize)
|
|
4789
4810
|
} }));
|
|
4790
4811
|
var CloseButton = (0, vue.defineComponent)({
|
|
4791
4812
|
name: "CloseButton",
|
|
@@ -4872,7 +4893,7 @@ var Button_module_default = {
|
|
|
4872
4893
|
//#endregion
|
|
4873
4894
|
//#region src/components/Button/ButtonGroup/ButtonGroup.ts
|
|
4874
4895
|
var defaultProps$44 = { orientation: "horizontal" };
|
|
4875
|
-
var varsResolver$70 = createVarsResolver((_, { borderWidth }) => ({ group: { "--button-border-width":
|
|
4896
|
+
var varsResolver$70 = createVarsResolver((_, { borderWidth }) => ({ group: { "--button-border-width": rem(borderWidth) } }));
|
|
4876
4897
|
var ButtonGroup = withBoxProps((0, vue.defineComponent)({
|
|
4877
4898
|
name: "ButtonGroup",
|
|
4878
4899
|
inheritAttrs: false,
|
|
@@ -4933,10 +4954,10 @@ var varsResolver$69 = createVarsResolver((theme, { radius, color, gradient, vari
|
|
|
4933
4954
|
});
|
|
4934
4955
|
const compactSize = typeof size === "string" && size.includes("compact-") ? size.replace("compact-", "") : size;
|
|
4935
4956
|
return { groupSection: {
|
|
4936
|
-
"--section-height":
|
|
4937
|
-
"--section-padding-x":
|
|
4938
|
-
"--section-fz":
|
|
4939
|
-
"--section-radius": radius === void 0 ? void 0 :
|
|
4957
|
+
"--section-height": getSize(size, "section-height"),
|
|
4958
|
+
"--section-padding-x": getSize(size, "section-padding-x"),
|
|
4959
|
+
"--section-fz": getFontSize(compactSize),
|
|
4960
|
+
"--section-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4940
4961
|
"--section-bg": color || variant ? colors.background : void 0,
|
|
4941
4962
|
"--section-color": colors.color,
|
|
4942
4963
|
"--section-bd": color || variant ? colors.border : void 0
|
|
@@ -5007,7 +5028,7 @@ var ButtonGroupSection = withBoxProps((0, vue.defineComponent)({
|
|
|
5007
5028
|
var loaderTransition = {
|
|
5008
5029
|
in: {
|
|
5009
5030
|
opacity: 1,
|
|
5010
|
-
transform: `translate(-50%, calc(-50% + ${
|
|
5031
|
+
transform: `translate(-50%, calc(-50% + ${rem(1)}))`
|
|
5011
5032
|
},
|
|
5012
5033
|
out: {
|
|
5013
5034
|
opacity: 0,
|
|
@@ -5027,10 +5048,10 @@ var varsResolver$68 = createVarsResolver((theme, { radius, color, gradient, vari
|
|
|
5027
5048
|
const compactSize = typeof size === "string" && size.includes("compact-") ? size.replace("compact-", "") : size;
|
|
5028
5049
|
return { root: {
|
|
5029
5050
|
"--button-justify": justify,
|
|
5030
|
-
"--button-height":
|
|
5031
|
-
"--button-padding-x":
|
|
5032
|
-
"--button-fz":
|
|
5033
|
-
"--button-radius": radius === void 0 ? void 0 :
|
|
5051
|
+
"--button-height": getSize(size, "button-height"),
|
|
5052
|
+
"--button-padding-x": getSize(size, "button-padding-x"),
|
|
5053
|
+
"--button-fz": getFontSize(compactSize),
|
|
5054
|
+
"--button-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
5034
5055
|
"--button-bg": color || variant ? colors.background : void 0,
|
|
5035
5056
|
"--button-hover": color || variant ? colors.hover : void 0,
|
|
5036
5057
|
"--button-color": colors.color,
|
|
@@ -5224,8 +5245,8 @@ var Burger_module_default = {
|
|
|
5224
5245
|
//#region src/components/Burger/Burger.ts
|
|
5225
5246
|
var varsResolver$67 = createVarsResolver((theme, { color, size, lineSize, transitionDuration, transitionTimingFunction }) => ({ root: {
|
|
5226
5247
|
"--burger-color": color ? getThemeColor(color, theme) : void 0,
|
|
5227
|
-
"--burger-size":
|
|
5228
|
-
"--burger-line-size": lineSize ?
|
|
5248
|
+
"--burger-size": getSize(size, "burger-size"),
|
|
5249
|
+
"--burger-line-size": lineSize ? rem(lineSize) : void 0,
|
|
5229
5250
|
"--burger-transition-duration": transitionDuration === void 0 ? void 0 : `${transitionDuration}ms`,
|
|
5230
5251
|
"--burger-transition-timing-function": transitionTimingFunction
|
|
5231
5252
|
} }));
|
|
@@ -5431,7 +5452,7 @@ var defaultProps$41 = {
|
|
|
5431
5452
|
duration: 0
|
|
5432
5453
|
},
|
|
5433
5454
|
overlayProps: { backgroundOpacity: .75 },
|
|
5434
|
-
zIndex:
|
|
5455
|
+
zIndex: getDefaultZIndex("overlay")
|
|
5435
5456
|
};
|
|
5436
5457
|
var varsResolver$66 = createVarsResolver((_, { zIndex }) => ({ root: { "--lo-z-index": zIndex?.toString() } }));
|
|
5437
5458
|
var LoadingOverlay = withBoxProps((0, vue.defineComponent)({
|
|
@@ -5618,7 +5639,7 @@ var Card_module_default = {
|
|
|
5618
5639
|
//#endregion
|
|
5619
5640
|
//#region src/components/Card/Card.ts
|
|
5620
5641
|
var defaultProps$40 = { orientation: "vertical" };
|
|
5621
|
-
var varsResolver$65 = createVarsResolver((_, { padding }) => ({ root: { "--card-padding":
|
|
5642
|
+
var varsResolver$65 = createVarsResolver((_, { padding }) => ({ root: { "--card-padding": getSpacing(padding) } }));
|
|
5622
5643
|
function isCardSection(child) {
|
|
5623
5644
|
return child.type === CardSection || typeof child.type === "object" && child.type.name === "CardSection";
|
|
5624
5645
|
}
|
|
@@ -5717,7 +5738,7 @@ var varsResolver$64 = createVarsResolver((theme, { radius, color, variant, autoC
|
|
|
5717
5738
|
autoContrast
|
|
5718
5739
|
});
|
|
5719
5740
|
return { root: {
|
|
5720
|
-
"--alert-radius": radius === void 0 ? void 0 :
|
|
5741
|
+
"--alert-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
5721
5742
|
"--alert-bg": color || variant ? colors.background : void 0,
|
|
5722
5743
|
"--alert-color": colors.color,
|
|
5723
5744
|
"--alert-bd": color || variant ? colors.border : void 0
|
|
@@ -5876,8 +5897,8 @@ var varsResolver$63 = createVarsResolver((theme, { color, iconSize, radius, text
|
|
|
5876
5897
|
}).value, .07),
|
|
5877
5898
|
"--bq-bg-dark": rgba(darkParsed.value, .06),
|
|
5878
5899
|
"--bq-bd": getThemeColor(color, theme),
|
|
5879
|
-
"--bq-icon-size":
|
|
5880
|
-
"--bq-radius":
|
|
5900
|
+
"--bq-icon-size": rem(iconSize),
|
|
5901
|
+
"--bq-radius": getRadius(radius),
|
|
5881
5902
|
"--bq-text-wrap": textWrap
|
|
5882
5903
|
} };
|
|
5883
5904
|
});
|
|
@@ -5970,10 +5991,13 @@ var Breadcrumbs_module_default = {
|
|
|
5970
5991
|
//#endregion
|
|
5971
5992
|
//#region src/components/Breadcrumbs/Breadcrumbs.ts
|
|
5972
5993
|
var defaultProps$38 = { separator: "/" };
|
|
5973
|
-
var varsResolver$62 = createVarsResolver((_, { separatorMargin }) => ({ root: { "--bc-separator-margin":
|
|
5994
|
+
var varsResolver$62 = createVarsResolver((_, { separatorMargin }) => ({ root: { "--bc-separator-margin": getSpacing(separatorMargin) } }));
|
|
5974
5995
|
function renderContent$10(content) {
|
|
5975
5996
|
return typeof content === "function" ? content() : content;
|
|
5976
5997
|
}
|
|
5998
|
+
function flattenChildren$2(children) {
|
|
5999
|
+
return children.flatMap((child) => child.type === vue.Fragment && Array.isArray(child.children) ? flattenChildren$2(child.children) : child.type === vue.Comment ? [] : [child]);
|
|
6000
|
+
}
|
|
5977
6001
|
var Breadcrumbs = withBoxProps((0, vue.defineComponent)({
|
|
5978
6002
|
name: "Breadcrumbs",
|
|
5979
6003
|
inheritAttrs: false,
|
|
@@ -6020,7 +6044,7 @@ var Breadcrumbs = withBoxProps((0, vue.defineComponent)({
|
|
|
6020
6044
|
unstyled: props.unstyled
|
|
6021
6045
|
});
|
|
6022
6046
|
return () => {
|
|
6023
|
-
const children = slots.default?.() ?? [];
|
|
6047
|
+
const children = flattenChildren$2(slots.default?.() ?? []);
|
|
6024
6048
|
const items = children.reduce((acc, child, index) => {
|
|
6025
6049
|
const item = child.type === vue.Text ? (0, vue.h)("div", getStyles("breadcrumb"), child.children) : (0, vue.cloneVNode)(child, getStyles("breadcrumb", { className: child.props?.class }));
|
|
6026
6050
|
acc.push(item);
|
|
@@ -6106,9 +6130,9 @@ var List_module_default = {
|
|
|
6106
6130
|
//#region src/components/List/List.ts
|
|
6107
6131
|
var defaultProps$37 = { type: "unordered" };
|
|
6108
6132
|
var varsResolver$61 = createVarsResolver((_, { size, spacing }) => ({ root: {
|
|
6109
|
-
"--list-fz":
|
|
6110
|
-
"--list-lh":
|
|
6111
|
-
"--list-spacing":
|
|
6133
|
+
"--list-fz": getFontSize(size),
|
|
6134
|
+
"--list-lh": getLineHeight(size),
|
|
6135
|
+
"--list-spacing": getSpacing(spacing)
|
|
6112
6136
|
} }));
|
|
6113
6137
|
var ListBase = (0, vue.defineComponent)({
|
|
6114
6138
|
name: "List",
|
|
@@ -6221,7 +6245,7 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6221
6245
|
const offsetY = typeof offset === "number" ? offset : offset.y;
|
|
6222
6246
|
const [side, placement] = position.split("-");
|
|
6223
6247
|
if (side === "top") {
|
|
6224
|
-
variables["--indicator-top"] =
|
|
6248
|
+
variables["--indicator-top"] = rem(offsetY);
|
|
6225
6249
|
variables["--indicator-translate-y"] = "-50%";
|
|
6226
6250
|
}
|
|
6227
6251
|
if (side === "middle") {
|
|
@@ -6229,11 +6253,11 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6229
6253
|
variables["--indicator-translate-y"] = "-50%";
|
|
6230
6254
|
}
|
|
6231
6255
|
if (side === "bottom") {
|
|
6232
|
-
variables["--indicator-bottom"] =
|
|
6256
|
+
variables["--indicator-bottom"] = rem(offsetY);
|
|
6233
6257
|
variables["--indicator-translate-y"] = "50%";
|
|
6234
6258
|
}
|
|
6235
6259
|
if (placement === "start") {
|
|
6236
|
-
variables["--indicator-left"] =
|
|
6260
|
+
variables["--indicator-left"] = rem(offsetX);
|
|
6237
6261
|
variables["--indicator-translate-x"] = "-50%";
|
|
6238
6262
|
}
|
|
6239
6263
|
if (placement === "center") {
|
|
@@ -6241,7 +6265,7 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6241
6265
|
variables["--indicator-translate-x"] = "-50%";
|
|
6242
6266
|
}
|
|
6243
6267
|
if (placement === "end") {
|
|
6244
|
-
variables["--indicator-right"] =
|
|
6268
|
+
variables["--indicator-right"] = rem(offsetX);
|
|
6245
6269
|
variables["--indicator-translate-x"] = "50%";
|
|
6246
6270
|
}
|
|
6247
6271
|
return variables;
|
|
@@ -6266,8 +6290,8 @@ var varsResolver$60 = createVarsResolver((theme, { color, position, offset, size
|
|
|
6266
6290
|
theme,
|
|
6267
6291
|
autoContrast
|
|
6268
6292
|
}) : void 0,
|
|
6269
|
-
"--indicator-size":
|
|
6270
|
-
"--indicator-radius": radius === void 0 ? void 0 :
|
|
6293
|
+
"--indicator-size": rem(size),
|
|
6294
|
+
"--indicator-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
6271
6295
|
"--indicator-z-index": zIndex?.toString(),
|
|
6272
6296
|
...getPositionVariables(position, offset)
|
|
6273
6297
|
} }));
|
|
@@ -6395,7 +6419,7 @@ var AvatarGroupContextKey = Symbol("AvatarGroupContext");
|
|
|
6395
6419
|
function useAvatarGroupContext() {
|
|
6396
6420
|
return (0, vue.inject)(AvatarGroupContextKey, { withinGroup: false });
|
|
6397
6421
|
}
|
|
6398
|
-
var varsResolver$59 = createVarsResolver((_, { spacing }) => ({ group: { "--ag-spacing":
|
|
6422
|
+
var varsResolver$59 = createVarsResolver((_, { spacing }) => ({ group: { "--ag-spacing": getSpacing(spacing) } }));
|
|
6399
6423
|
var AvatarGroup = withBoxProps((0, vue.defineComponent)({
|
|
6400
6424
|
name: "AvatarGroup",
|
|
6401
6425
|
inheritAttrs: false,
|
|
@@ -6506,8 +6530,8 @@ var varsResolver$58 = createVarsResolver((theme, { size, radius, variant, gradie
|
|
|
6506
6530
|
autoContrast
|
|
6507
6531
|
});
|
|
6508
6532
|
return { root: {
|
|
6509
|
-
"--avatar-size":
|
|
6510
|
-
"--avatar-radius": radius === void 0 ? void 0 :
|
|
6533
|
+
"--avatar-size": getSize(size, "avatar-size"),
|
|
6534
|
+
"--avatar-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
6511
6535
|
"--avatar-bg": resolvedColor || variant ? colors.background : void 0,
|
|
6512
6536
|
"--avatar-color": resolvedColor || variant ? colors.color : void 0,
|
|
6513
6537
|
"--avatar-bd": resolvedColor || variant ? colors.border : void 0
|
|
@@ -6629,7 +6653,7 @@ var Avatar = withBoxProps(Object.assign(AvatarBase, { Group: AvatarGroup }));
|
|
|
6629
6653
|
//#region src/components/SimpleGrid/SimpleGridVariables.ts
|
|
6630
6654
|
function getMinColWidthValue(value) {
|
|
6631
6655
|
if (value === void 0) return;
|
|
6632
|
-
return typeof value === "number" ?
|
|
6656
|
+
return typeof value === "number" ? rem(value) : value;
|
|
6633
6657
|
}
|
|
6634
6658
|
function isObject$2(value) {
|
|
6635
6659
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -6672,21 +6696,21 @@ var SimpleGridMediaVariables = (0, vue.defineComponent)({
|
|
|
6672
6696
|
return () => {
|
|
6673
6697
|
const verticalSpacing = props.verticalSpacing === void 0 ? props.spacing : props.verticalSpacing;
|
|
6674
6698
|
const useAutoColumns = props.minColWidth !== void 0;
|
|
6675
|
-
const baseStyles =
|
|
6676
|
-
"--sg-spacing-x":
|
|
6677
|
-
"--sg-spacing-y":
|
|
6699
|
+
const baseStyles = filterProps({
|
|
6700
|
+
"--sg-spacing-x": getSpacing(getBaseValue(props.spacing)),
|
|
6701
|
+
"--sg-spacing-y": getSpacing(getBaseValue(verticalSpacing)),
|
|
6678
6702
|
"--sg-auto-rows": props.autoRows,
|
|
6679
|
-
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols":
|
|
6703
|
+
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols": getBaseValue(props.cols)?.toString() }
|
|
6680
6704
|
});
|
|
6681
|
-
const queries =
|
|
6705
|
+
const queries = keys(theme.value.breakpoints).reduce((acc, breakpoint) => {
|
|
6682
6706
|
acc[breakpoint] = acc[breakpoint] ?? {};
|
|
6683
|
-
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-x"] =
|
|
6684
|
-
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-y"] =
|
|
6707
|
+
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-x"] = getSpacing(props.spacing[breakpoint]);
|
|
6708
|
+
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-y"] = getSpacing(verticalSpacing[breakpoint]);
|
|
6685
6709
|
if (!useAutoColumns && isObject$2(props.cols) && props.cols[breakpoint] !== void 0) acc[breakpoint]["--sg-cols"] = props.cols[breakpoint];
|
|
6686
6710
|
return acc;
|
|
6687
6711
|
}, {});
|
|
6688
|
-
const media =
|
|
6689
|
-
if (
|
|
6712
|
+
const media = getSortedBreakpoints(theme.value.breakpoints).reduce((acc, item) => {
|
|
6713
|
+
if (keys(queries[item.breakpoint] ?? {}).length > 0) acc[`(min-width: ${theme.value.breakpoints[item.breakpoint]})`] = queries[item.breakpoint];
|
|
6690
6714
|
return acc;
|
|
6691
6715
|
}, {});
|
|
6692
6716
|
return (0, vue.h)(InlineStyles, {
|
|
@@ -6698,10 +6722,10 @@ var SimpleGridMediaVariables = (0, vue.defineComponent)({
|
|
|
6698
6722
|
}
|
|
6699
6723
|
});
|
|
6700
6724
|
function getBreakpoints(values) {
|
|
6701
|
-
return isObject$2(values) ?
|
|
6725
|
+
return isObject$2(values) ? keys(values).filter((breakpoint) => breakpoint !== "base") : [];
|
|
6702
6726
|
}
|
|
6703
6727
|
function sortBreakpoints(breakpoints) {
|
|
6704
|
-
return breakpoints.sort((a, b) =>
|
|
6728
|
+
return breakpoints.sort((a, b) => px(a) - px(b));
|
|
6705
6729
|
}
|
|
6706
6730
|
var SimpleGridContainerVariables = (0, vue.defineComponent)({
|
|
6707
6731
|
name: "SimpleGridContainerVariables",
|
|
@@ -6740,11 +6764,11 @@ var SimpleGridContainerVariables = (0, vue.defineComponent)({
|
|
|
6740
6764
|
return () => {
|
|
6741
6765
|
const verticalSpacing = props.verticalSpacing === void 0 ? props.spacing : props.verticalSpacing;
|
|
6742
6766
|
const useAutoColumns = props.minColWidth !== void 0;
|
|
6743
|
-
const baseStyles =
|
|
6744
|
-
"--sg-spacing-x":
|
|
6745
|
-
"--sg-spacing-y":
|
|
6767
|
+
const baseStyles = filterProps({
|
|
6768
|
+
"--sg-spacing-x": getSpacing(getBaseValue(props.spacing)),
|
|
6769
|
+
"--sg-spacing-y": getSpacing(getBaseValue(verticalSpacing)),
|
|
6746
6770
|
"--sg-auto-rows": props.autoRows,
|
|
6747
|
-
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols":
|
|
6771
|
+
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols": getBaseValue(props.cols)?.toString() }
|
|
6748
6772
|
});
|
|
6749
6773
|
const container = sortBreakpoints(Array.from(new Set([
|
|
6750
6774
|
...getBreakpoints(props.spacing),
|
|
@@ -6752,8 +6776,8 @@ var SimpleGridContainerVariables = (0, vue.defineComponent)({
|
|
|
6752
6776
|
...useAutoColumns ? [] : getBreakpoints(props.cols)
|
|
6753
6777
|
]))).reduce((acc, breakpoint) => {
|
|
6754
6778
|
acc[`simple-grid (min-width: ${breakpoint})`] = {};
|
|
6755
|
-
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-x"] =
|
|
6756
|
-
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-y"] =
|
|
6779
|
+
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-x"] = getSpacing(props.spacing[breakpoint]);
|
|
6780
|
+
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-y"] = getSpacing(verticalSpacing[breakpoint]);
|
|
6757
6781
|
if (!useAutoColumns && isObject$2(props.cols) && props.cols[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-cols"] = props.cols[breakpoint];
|
|
6758
6782
|
return acc;
|
|
6759
6783
|
}, {});
|
|
@@ -6926,11 +6950,11 @@ var GridColVariables = (0, vue.defineComponent)({
|
|
|
6926
6950
|
const ctx = useGridContext();
|
|
6927
6951
|
return () => {
|
|
6928
6952
|
const breakpoints = ctx.breakpoints || theme.value.breakpoints;
|
|
6929
|
-
const baseSpan =
|
|
6930
|
-
const baseOrder =
|
|
6931
|
-
const baseOffset =
|
|
6932
|
-
const baseAlign =
|
|
6933
|
-
const baseStyles =
|
|
6953
|
+
const baseSpan = getBaseValue(props.span) ?? 12;
|
|
6954
|
+
const baseOrder = getBaseValue(props.order);
|
|
6955
|
+
const baseOffset = getBaseValue(props.offset);
|
|
6956
|
+
const baseAlign = getBaseValue(props.align);
|
|
6957
|
+
const baseStyles = filterProps({
|
|
6934
6958
|
"--col-order": baseOrder?.toString(),
|
|
6935
6959
|
"--col-flex-grow": getColumnFlexGrow(baseSpan, ctx.grow),
|
|
6936
6960
|
"--col-flex-basis": getColumnFlexBasis(baseSpan, ctx.columns),
|
|
@@ -6939,7 +6963,7 @@ var GridColVariables = (0, vue.defineComponent)({
|
|
|
6939
6963
|
"--col-offset": getColumnOffset(baseOffset, ctx.columns),
|
|
6940
6964
|
"--col-align-self": baseAlign
|
|
6941
6965
|
});
|
|
6942
|
-
const queries =
|
|
6966
|
+
const queries = keys(breakpoints).reduce((acc, breakpoint) => {
|
|
6943
6967
|
acc[breakpoint] = {};
|
|
6944
6968
|
if (isObject$1(props.order) && props.order[breakpoint] !== void 0) acc[breakpoint]["--col-order"] = props.order[breakpoint]?.toString();
|
|
6945
6969
|
if (isObject$1(props.span) && props.span[breakpoint] !== void 0) {
|
|
@@ -6953,8 +6977,8 @@ var GridColVariables = (0, vue.defineComponent)({
|
|
|
6953
6977
|
if (isObject$1(props.align) && props.align[breakpoint] !== void 0) acc[breakpoint]["--col-align-self"] = props.align[breakpoint];
|
|
6954
6978
|
return acc;
|
|
6955
6979
|
}, {});
|
|
6956
|
-
const values =
|
|
6957
|
-
if (
|
|
6980
|
+
const values = getSortedBreakpoints(breakpoints).reduce((acc, item) => {
|
|
6981
|
+
if (keys(queries[item.breakpoint] ?? {}).length > 0) {
|
|
6958
6982
|
const query = ctx.type === "container" ? `mantine-grid (min-width: ${breakpoints[item.breakpoint]})` : `(min-width: ${breakpoints[item.breakpoint]})`;
|
|
6959
6983
|
acc[query] = queries[item.breakpoint];
|
|
6960
6984
|
}
|
|
@@ -7077,20 +7101,20 @@ var GridVariables = (0, vue.defineComponent)({
|
|
|
7077
7101
|
const theme = useMantineTheme();
|
|
7078
7102
|
return () => {
|
|
7079
7103
|
const breakpoints = props.breakpoints || theme.value.breakpoints;
|
|
7080
|
-
const baseStyles =
|
|
7081
|
-
"--grid-gap":
|
|
7082
|
-
"--grid-row-gap":
|
|
7083
|
-
"--grid-column-gap":
|
|
7104
|
+
const baseStyles = filterProps({
|
|
7105
|
+
"--grid-gap": getSpacing(getBaseValue(props.gap)),
|
|
7106
|
+
"--grid-row-gap": getSpacing(getBaseValue(props.rowGap)),
|
|
7107
|
+
"--grid-column-gap": getSpacing(getBaseValue(props.columnGap))
|
|
7084
7108
|
});
|
|
7085
|
-
const queries =
|
|
7109
|
+
const queries = keys(breakpoints).reduce((acc, breakpoint) => {
|
|
7086
7110
|
acc[breakpoint] = {};
|
|
7087
|
-
if (isObject(props.gap) && props.gap[breakpoint] !== void 0) acc[breakpoint]["--grid-gap"] =
|
|
7088
|
-
if (isObject(props.rowGap) && props.rowGap[breakpoint] !== void 0) acc[breakpoint]["--grid-row-gap"] =
|
|
7089
|
-
if (isObject(props.columnGap) && props.columnGap[breakpoint] !== void 0) acc[breakpoint]["--grid-column-gap"] =
|
|
7111
|
+
if (isObject(props.gap) && props.gap[breakpoint] !== void 0) acc[breakpoint]["--grid-gap"] = getSpacing(props.gap[breakpoint]);
|
|
7112
|
+
if (isObject(props.rowGap) && props.rowGap[breakpoint] !== void 0) acc[breakpoint]["--grid-row-gap"] = getSpacing(props.rowGap[breakpoint]);
|
|
7113
|
+
if (isObject(props.columnGap) && props.columnGap[breakpoint] !== void 0) acc[breakpoint]["--grid-column-gap"] = getSpacing(props.columnGap[breakpoint]);
|
|
7090
7114
|
return acc;
|
|
7091
7115
|
}, {});
|
|
7092
|
-
const values =
|
|
7093
|
-
if (
|
|
7116
|
+
const values = getSortedBreakpoints(breakpoints).reduce((acc, item) => {
|
|
7117
|
+
if (keys(queries[item.breakpoint] ?? {}).length > 0) {
|
|
7094
7118
|
const query = props.type === "container" ? `mantine-grid (min-width: ${breakpoints[item.breakpoint]})` : `(min-width: ${breakpoints[item.breakpoint]})`;
|
|
7095
7119
|
acc[query] = queries[item.breakpoint];
|
|
7096
7120
|
}
|
|
@@ -8004,7 +8028,7 @@ var varsResolver$56 = createVarsResolver((_, { scrollbarSize, overscrollBehavior
|
|
|
8004
8028
|
else if (scrollbars === "y") overrideOverscrollBehavior = `auto ${overscrollBehavior}`;
|
|
8005
8029
|
}
|
|
8006
8030
|
return { root: {
|
|
8007
|
-
"--scrollarea-scrollbar-size":
|
|
8031
|
+
"--scrollarea-scrollbar-size": rem(scrollbarSize),
|
|
8008
8032
|
"--scrollarea-over-scroll-behavior": overrideOverscrollBehavior
|
|
8009
8033
|
} };
|
|
8010
8034
|
});
|
|
@@ -8293,8 +8317,8 @@ var AccordionChevron = (0, vue.defineComponent)({
|
|
|
8293
8317
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8294
8318
|
...attrs,
|
|
8295
8319
|
style: [{
|
|
8296
|
-
width:
|
|
8297
|
-
height:
|
|
8320
|
+
width: rem(props.size),
|
|
8321
|
+
height: rem(props.size),
|
|
8298
8322
|
display: "block"
|
|
8299
8323
|
}, attrs.style]
|
|
8300
8324
|
}, (0, vue.h)("path", {
|
|
@@ -8576,7 +8600,7 @@ var defaultProps$30 = {
|
|
|
8576
8600
|
chevronSize: "auto",
|
|
8577
8601
|
chevronIconSize: 16
|
|
8578
8602
|
};
|
|
8579
|
-
function getSafeId$
|
|
8603
|
+
function getSafeId$2(prefix) {
|
|
8580
8604
|
return (value) => {
|
|
8581
8605
|
if (typeof value !== "string" || value.length === 0) throw new Error(VALUE_ERROR$1);
|
|
8582
8606
|
return `${prefix}-${value}`;
|
|
@@ -8587,8 +8611,8 @@ function renderContent$7(content) {
|
|
|
8587
8611
|
}
|
|
8588
8612
|
var varsResolver$55 = createVarsResolver((_, { transitionDuration, chevronSize, radius }) => ({ root: {
|
|
8589
8613
|
"--accordion-transition-duration": transitionDuration === void 0 ? void 0 : `${transitionDuration}ms`,
|
|
8590
|
-
"--accordion-chevron-size": chevronSize === void 0 ? void 0 :
|
|
8591
|
-
"--accordion-radius": radius === void 0 ? void 0 :
|
|
8614
|
+
"--accordion-chevron-size": chevronSize === void 0 ? void 0 : rem(chevronSize),
|
|
8615
|
+
"--accordion-radius": radius === void 0 ? void 0 : getRadius(radius)
|
|
8592
8616
|
} }));
|
|
8593
8617
|
var AccordionBase = (0, vue.defineComponent)({
|
|
8594
8618
|
name: "Accordion",
|
|
@@ -8729,10 +8753,10 @@ var AccordionBase = (0, vue.defineComponent)({
|
|
|
8729
8753
|
onChange: handleItemChange,
|
|
8730
8754
|
isItemActive,
|
|
8731
8755
|
get getControlId() {
|
|
8732
|
-
return getSafeId$
|
|
8756
|
+
return getSafeId$2(`${uid.value}-control`);
|
|
8733
8757
|
},
|
|
8734
8758
|
get getRegionId() {
|
|
8735
|
-
return getSafeId$
|
|
8759
|
+
return getSafeId$2(`${uid.value}-panel`);
|
|
8736
8760
|
},
|
|
8737
8761
|
getStyles,
|
|
8738
8762
|
get variant() {
|
|
@@ -8779,7 +8803,7 @@ var defaultProps$29 = {
|
|
|
8779
8803
|
draggable: true
|
|
8780
8804
|
};
|
|
8781
8805
|
var varsResolver$54 = createVarsResolver((theme, { controlSize, edgeGradientColor }) => ({ root: {
|
|
8782
|
-
"--scroller-control-size": controlSize === void 0 ? void 0 :
|
|
8806
|
+
"--scroller-control-size": controlSize === void 0 ? void 0 : rem(controlSize),
|
|
8783
8807
|
"--scroller-background-color": edgeGradientColor ? getThemeColor(edgeGradientColor, theme) : void 0
|
|
8784
8808
|
} }));
|
|
8785
8809
|
function renderContent$6(content) {
|
|
@@ -9023,8 +9047,8 @@ var TableDataRenderer = (0, vue.defineComponent)({
|
|
|
9023
9047
|
//#region src/components/Table/TableScrollContainer.ts
|
|
9024
9048
|
var defaultProps$28 = { type: "scrollarea" };
|
|
9025
9049
|
var varsResolver$53 = createVarsResolver((_, { minWidth, maxHeight, type }) => ({ scrollContainer: {
|
|
9026
|
-
"--table-min-width":
|
|
9027
|
-
"--table-max-height":
|
|
9050
|
+
"--table-min-width": rem(minWidth),
|
|
9051
|
+
"--table-max-height": rem(maxHeight),
|
|
9028
9052
|
"--table-overflow": type === "native" ? "auto" : void 0
|
|
9029
9053
|
} }));
|
|
9030
9054
|
var TableScrollContainer = withBoxProps((0, vue.defineComponent)({
|
|
@@ -9110,12 +9134,12 @@ var defaultProps$27 = {
|
|
|
9110
9134
|
var varsResolver$52 = createVarsResolver((theme, { layout, captionSide, horizontalSpacing, verticalSpacing, borderColor, stripedColor, highlightOnHoverColor, striped, highlightOnHover, stickyHeaderOffset, stickyHeader }) => ({ table: {
|
|
9111
9135
|
"--table-layout": layout,
|
|
9112
9136
|
"--table-caption-side": captionSide,
|
|
9113
|
-
"--table-horizontal-spacing":
|
|
9114
|
-
"--table-vertical-spacing":
|
|
9137
|
+
"--table-horizontal-spacing": getSpacing(horizontalSpacing),
|
|
9138
|
+
"--table-vertical-spacing": getSpacing(verticalSpacing),
|
|
9115
9139
|
"--table-border-color": borderColor ? getThemeColor(borderColor, theme) : void 0,
|
|
9116
9140
|
"--table-striped-color": striped && stripedColor ? getThemeColor(stripedColor, theme) : void 0,
|
|
9117
9141
|
"--table-highlight-on-hover-color": highlightOnHover && highlightOnHoverColor ? getThemeColor(highlightOnHoverColor, theme) : void 0,
|
|
9118
|
-
"--table-sticky-header-offset": stickyHeader ?
|
|
9142
|
+
"--table-sticky-header-offset": stickyHeader ? rem(stickyHeaderOffset) : void 0
|
|
9119
9143
|
} }));
|
|
9120
9144
|
var TableBase = (0, vue.defineComponent)({
|
|
9121
9145
|
name: "Table",
|
|
@@ -9331,8 +9355,8 @@ Object.assign(ProgressLabel, { classes: Progress_module_default });
|
|
|
9331
9355
|
//#endregion
|
|
9332
9356
|
//#region src/components/Progress/ProgressRoot/ProgressRoot.ts
|
|
9333
9357
|
var varsResolver$51 = createVarsResolver((_, { size, radius, transitionDuration }) => ({ root: {
|
|
9334
|
-
"--progress-size":
|
|
9335
|
-
"--progress-radius": radius === void 0 ? void 0 :
|
|
9358
|
+
"--progress-size": getSize(size, "progress-size"),
|
|
9359
|
+
"--progress-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
9336
9360
|
"--progress-transition-duration": typeof transitionDuration === "number" ? `${transitionDuration}ms` : void 0
|
|
9337
9361
|
} }));
|
|
9338
9362
|
var ProgressRoot = withBoxProps((0, vue.defineComponent)({
|
|
@@ -9728,8 +9752,8 @@ function getClampedThickness(thickness, size) {
|
|
|
9728
9752
|
}
|
|
9729
9753
|
var varsResolver$50 = createVarsResolver((_, { size, thickness, transitionDuration, startAngle }) => ({
|
|
9730
9754
|
root: {
|
|
9731
|
-
"--rp-size":
|
|
9732
|
-
"--rp-label-offset":
|
|
9755
|
+
"--rp-size": rem(size),
|
|
9756
|
+
"--rp-label-offset": rem((thickness ?? defaultProps$25.thickness) * 2),
|
|
9733
9757
|
"--rp-transition-duration": transitionDuration ? `${transitionDuration}ms` : void 0
|
|
9734
9758
|
},
|
|
9735
9759
|
svg: { "--rp-start-angle": `${startAngle}deg` }
|
|
@@ -10346,7 +10370,7 @@ var TimelineItem = withBoxProps((0, vue.defineComponent)({
|
|
|
10346
10370
|
...ctx.getStyles("item", {
|
|
10347
10371
|
...stylesApiProps,
|
|
10348
10372
|
style: {
|
|
10349
|
-
"--tli-radius": props.radius !== void 0 ?
|
|
10373
|
+
"--tli-radius": props.radius !== void 0 ? getRadius(props.radius) : void 0,
|
|
10350
10374
|
"--tli-color": props.color ? getThemeColor(props.color, theme.value) : void 0,
|
|
10351
10375
|
"--tli-border-style": props.lineVariant || void 0,
|
|
10352
10376
|
...props.style,
|
|
@@ -10372,9 +10396,9 @@ var defaultProps$23 = {
|
|
|
10372
10396
|
align: "left"
|
|
10373
10397
|
};
|
|
10374
10398
|
var varsResolver$48 = createVarsResolver((theme, { bulletSize, lineWidth, radius, color, autoContrast }) => ({ root: {
|
|
10375
|
-
"--tl-bullet-size":
|
|
10376
|
-
"--tl-line-width":
|
|
10377
|
-
"--tl-radius": radius === void 0 ? void 0 :
|
|
10399
|
+
"--tl-bullet-size": rem(bulletSize),
|
|
10400
|
+
"--tl-line-width": rem(lineWidth),
|
|
10401
|
+
"--tl-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
10378
10402
|
"--tl-color": color ? getThemeColor(color, theme) : void 0,
|
|
10379
10403
|
"--tl-icon-color": getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
10380
10404
|
color,
|
|
@@ -10731,7 +10755,7 @@ var varsResolver$47 = createVarsResolver((theme, { filledSegmentColor, emptySegm
|
|
|
10731
10755
|
fillDirection
|
|
10732
10756
|
}),
|
|
10733
10757
|
"--scp-transition-duration": transitionDuration ? `${transitionDuration}ms` : void 0,
|
|
10734
|
-
"--scp-thickness":
|
|
10758
|
+
"--scp-thickness": rem(thickness)
|
|
10735
10759
|
} }));
|
|
10736
10760
|
var SemiCircleProgress = withBoxProps((0, vue.defineComponent)({
|
|
10737
10761
|
name: "SemiCircleProgress",
|
|
@@ -10993,7 +11017,7 @@ var Spoiler = withBoxProps((0, vue.defineComponent)({
|
|
|
10993
11017
|
"aria-label": ariaLabel,
|
|
10994
11018
|
...getStyles("control")
|
|
10995
11019
|
}, () => renderContent(currentLabel)) : null, (0, vue.h)("div", {
|
|
10996
|
-
...getStyles("content", { style: { maxHeight: !show.value ?
|
|
11020
|
+
...getStyles("content", { style: { maxHeight: !show.value ? rem(maxHeight) : height.value ? rem(height.value) : void 0 } }),
|
|
10997
11021
|
"data-reduce-motion": "",
|
|
10998
11022
|
role: "region",
|
|
10999
11023
|
id: regionId
|
|
@@ -11012,7 +11036,7 @@ var Fieldset_module_default = {
|
|
|
11012
11036
|
//#endregion
|
|
11013
11037
|
//#region src/components/Fieldset/Fieldset.ts
|
|
11014
11038
|
var defaultProps$19 = { variant: "default" };
|
|
11015
|
-
var varsResolver$45 = createVarsResolver((_, { radius }) => ({ root: { "--fieldset-radius": radius === void 0 ? void 0 :
|
|
11039
|
+
var varsResolver$45 = createVarsResolver((_, { radius }) => ({ root: { "--fieldset-radius": radius === void 0 ? void 0 : getRadius(radius) } }));
|
|
11016
11040
|
var Fieldset = withBoxProps((0, vue.defineComponent)({
|
|
11017
11041
|
name: "Fieldset",
|
|
11018
11042
|
inheritAttrs: false,
|
|
@@ -11269,7 +11293,7 @@ var Input_module_default = {
|
|
|
11269
11293
|
};
|
|
11270
11294
|
//#endregion
|
|
11271
11295
|
//#region src/components/Input/InputDescription/InputDescription.ts
|
|
11272
|
-
var varsResolver$44 = createVarsResolver((_, { size }) => ({ description: { "--input-description-size": size === void 0 ? void 0 : `calc(${
|
|
11296
|
+
var varsResolver$44 = createVarsResolver((_, { size }) => ({ description: { "--input-description-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` } }));
|
|
11273
11297
|
var InputDescription = withBoxProps((0, vue.defineComponent)({
|
|
11274
11298
|
name: "InputDescription",
|
|
11275
11299
|
inheritAttrs: false,
|
|
@@ -11333,7 +11357,7 @@ Object.assign(InputDescription, {
|
|
|
11333
11357
|
});
|
|
11334
11358
|
//#endregion
|
|
11335
11359
|
//#region src/components/Input/InputError/InputError.ts
|
|
11336
|
-
var varsResolver$43 = createVarsResolver((_, { size }) => ({ error: { "--input-error-size": size === void 0 ? void 0 : `calc(${
|
|
11360
|
+
var varsResolver$43 = createVarsResolver((_, { size }) => ({ error: { "--input-error-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` } }));
|
|
11337
11361
|
var InputError = withBoxProps((0, vue.defineComponent)({
|
|
11338
11362
|
name: "InputError",
|
|
11339
11363
|
inheritAttrs: false,
|
|
@@ -11398,7 +11422,7 @@ Object.assign(InputError, {
|
|
|
11398
11422
|
//#endregion
|
|
11399
11423
|
//#region src/components/Input/InputLabel/InputLabel.ts
|
|
11400
11424
|
var varsResolver$42 = createVarsResolver((_, { size }) => ({ label: {
|
|
11401
|
-
"--input-label-size":
|
|
11425
|
+
"--input-label-size": getFontSize(size),
|
|
11402
11426
|
"--input-asterisk-color": void 0
|
|
11403
11427
|
} }));
|
|
11404
11428
|
var InputLabel = withBoxProps((0, vue.defineComponent)({
|
|
@@ -11558,11 +11582,11 @@ var defaultOrder = [
|
|
|
11558
11582
|
];
|
|
11559
11583
|
var varsResolver$41 = createVarsResolver((_, { size }) => ({
|
|
11560
11584
|
label: {
|
|
11561
|
-
"--input-label-size":
|
|
11585
|
+
"--input-label-size": getFontSize(size),
|
|
11562
11586
|
"--input-asterisk-color": void 0
|
|
11563
11587
|
},
|
|
11564
|
-
error: { "--input-error-size": size === void 0 ? void 0 : `calc(${
|
|
11565
|
-
description: { "--input-description-size": size === void 0 ? void 0 : `calc(${
|
|
11588
|
+
error: { "--input-error-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` },
|
|
11589
|
+
description: { "--input-description-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` }
|
|
11566
11590
|
}));
|
|
11567
11591
|
function renderContent$4(content) {
|
|
11568
11592
|
return typeof content === "function" ? content() : content;
|
|
@@ -11778,12 +11802,12 @@ Object.assign(InputWrapper, {
|
|
|
11778
11802
|
var varsResolver$40 = createVarsResolver((_, props, ctx) => ({ wrapper: {
|
|
11779
11803
|
"--input-margin-top": ctx.offsetTop ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
|
|
11780
11804
|
"--input-margin-bottom": ctx.offsetBottom ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
|
|
11781
|
-
"--input-height":
|
|
11782
|
-
"--input-fz":
|
|
11783
|
-
"--input-radius": props.radius === void 0 ? void 0 :
|
|
11784
|
-
"--input-left-section-width": props.leftSectionWidth !== void 0 ?
|
|
11785
|
-
"--input-right-section-width": props.rightSectionWidth !== void 0 ?
|
|
11786
|
-
"--input-padding-y": props.multiline ?
|
|
11805
|
+
"--input-height": getSize(props.size, "input-height"),
|
|
11806
|
+
"--input-fz": getFontSize(props.size),
|
|
11807
|
+
"--input-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
11808
|
+
"--input-left-section-width": props.leftSectionWidth !== void 0 ? rem(props.leftSectionWidth) : void 0,
|
|
11809
|
+
"--input-right-section-width": props.rightSectionWidth !== void 0 ? rem(props.rightSectionWidth) : void 0,
|
|
11810
|
+
"--input-padding-y": props.multiline ? getSize(props.size, "input-padding-y") : void 0,
|
|
11787
11811
|
"--input-left-section-pointer-events": props.leftSectionPointerEvents,
|
|
11788
11812
|
"--input-right-section-pointer-events": props.rightSectionPointerEvents
|
|
11789
11813
|
} }));
|
|
@@ -12637,7 +12661,7 @@ var Notification_module_default = {
|
|
|
12637
12661
|
//#region src/components/Notification/Notification.ts
|
|
12638
12662
|
var defaultProps$18 = { withCloseButton: true };
|
|
12639
12663
|
var varsResolver$39 = createVarsResolver((theme, { radius, color }) => ({ root: {
|
|
12640
|
-
"--notification-radius": radius === void 0 ? void 0 :
|
|
12664
|
+
"--notification-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
12641
12665
|
"--notification-color": color ? getThemeColor(color, theme) : void 0
|
|
12642
12666
|
} }));
|
|
12643
12667
|
var Notification = withBoxProps((0, vue.defineComponent)({
|
|
@@ -12913,7 +12937,7 @@ var leadingDecimalZeroPattern = /^(0\.0*|-0(\.0*)?)$/;
|
|
|
12913
12937
|
var leadingZerosPattern = /^-?0\d+(\.\d+)?\.?$/;
|
|
12914
12938
|
var trailingZerosPattern = /\.\d*0$/;
|
|
12915
12939
|
var trailingDecimalSeparatorPattern = /^-?\d+\.$/;
|
|
12916
|
-
var varsResolver$38 = createVarsResolver((_, { size }) => ({ controls: { "--ni-chevron-size":
|
|
12940
|
+
var varsResolver$38 = createVarsResolver((_, { size }) => ({ controls: { "--ni-chevron-size": getSize(size, "ni-chevron-size") } }));
|
|
12917
12941
|
function clamp$3(value, min, max) {
|
|
12918
12942
|
return Math.min(max ?? value, Math.max(min ?? value, value));
|
|
12919
12943
|
}
|
|
@@ -13491,7 +13515,7 @@ function filterFalsyChildren(children) {
|
|
|
13491
13515
|
}
|
|
13492
13516
|
var varsResolver$37 = createVarsResolver((_, { grow, preventGrowOverflow, gap, align, justify, wrap }, { childWidth }) => ({ root: {
|
|
13493
13517
|
"--group-child-width": grow && preventGrowOverflow ? childWidth : void 0,
|
|
13494
|
-
"--group-gap":
|
|
13518
|
+
"--group-gap": getSpacing(gap),
|
|
13495
13519
|
"--group-align": align,
|
|
13496
13520
|
"--group-justify": justify,
|
|
13497
13521
|
"--group-wrap": wrap
|
|
@@ -13557,7 +13581,7 @@ var Group = withBoxProps((0, vue.defineComponent)({
|
|
|
13557
13581
|
return () => {
|
|
13558
13582
|
const children = filterFalsyChildren(slots.default?.() ?? []);
|
|
13559
13583
|
const childrenCount = Math.max(children.length, 1);
|
|
13560
|
-
const resolvedGap =
|
|
13584
|
+
const resolvedGap = getSpacing(props.gap ?? "md");
|
|
13561
13585
|
stylesCtx.childWidth = `calc(${100 / childrenCount}% - (${resolvedGap} - ${resolvedGap} / ${childrenCount}))`;
|
|
13562
13586
|
return (0, vue.h)(Box, {
|
|
13563
13587
|
...attrs,
|
|
@@ -13601,7 +13625,7 @@ var defaultProps$16 = {
|
|
|
13601
13625
|
ariaLabel: "PinInput",
|
|
13602
13626
|
size: "sm"
|
|
13603
13627
|
};
|
|
13604
|
-
var varsResolver$36 = createVarsResolver((_, { size }) => ({ root: { "--pin-input-size":
|
|
13628
|
+
var varsResolver$36 = createVarsResolver((_, { size }) => ({ root: { "--pin-input-size": getSize(size ?? "sm", "pin-input-size") } }));
|
|
13605
13629
|
function getInputElement(node) {
|
|
13606
13630
|
const element = node?.$el ?? node;
|
|
13607
13631
|
if (!element) return null;
|
|
@@ -14185,7 +14209,7 @@ var varsResolver$35 = createVarsResolver((theme, { variant, color, childrenOffse
|
|
|
14185
14209
|
"--nl-hover": color || variant ? colors.hover : void 0,
|
|
14186
14210
|
"--nl-color": color || variant ? colors.color : void 0
|
|
14187
14211
|
},
|
|
14188
|
-
children: { "--nl-offset":
|
|
14212
|
+
children: { "--nl-offset": getSpacing(childrenOffset) }
|
|
14189
14213
|
};
|
|
14190
14214
|
});
|
|
14191
14215
|
function renderContent$2(content) {
|
|
@@ -14415,7 +14439,7 @@ var defaultProps$14 = {
|
|
|
14415
14439
|
};
|
|
14416
14440
|
var varsResolver$34 = createVarsResolver((_, { duration, gap, repeat, fadeEdgeColor, fadeEdgeSize }) => ({ root: {
|
|
14417
14441
|
"--marquee-duration": `${duration}ms`,
|
|
14418
|
-
"--marquee-gap":
|
|
14442
|
+
"--marquee-gap": getSpacing(gap),
|
|
14419
14443
|
"--marquee-repeat": (repeat ?? 4).toString(),
|
|
14420
14444
|
"--marquee-fade-color": fadeEdgeColor,
|
|
14421
14445
|
"--marquee-fade-size": fadeEdgeSize
|
|
@@ -14528,15 +14552,15 @@ var defaultProps$13 = {
|
|
|
14528
14552
|
bottom: 0,
|
|
14529
14553
|
right: 0
|
|
14530
14554
|
},
|
|
14531
|
-
zIndex:
|
|
14555
|
+
zIndex: getDefaultZIndex("modal"),
|
|
14532
14556
|
withinPortal: true
|
|
14533
14557
|
};
|
|
14534
14558
|
var varsResolver$33 = createVarsResolver((_, { zIndex, position }) => ({ root: {
|
|
14535
14559
|
"--affix-z-index": zIndex?.toString(),
|
|
14536
|
-
"--affix-top":
|
|
14537
|
-
"--affix-left":
|
|
14538
|
-
"--affix-bottom":
|
|
14539
|
-
"--affix-right":
|
|
14560
|
+
"--affix-top": getSpacing(position?.top),
|
|
14561
|
+
"--affix-left": getSpacing(position?.left),
|
|
14562
|
+
"--affix-bottom": getSpacing(position?.bottom),
|
|
14563
|
+
"--affix-right": getSpacing(position?.right)
|
|
14540
14564
|
} }));
|
|
14541
14565
|
var Affix = withBoxProps((0, vue.defineComponent)({
|
|
14542
14566
|
name: "Affix",
|
|
@@ -14624,7 +14648,7 @@ var defaultProps$12 = {
|
|
|
14624
14648
|
right: 30
|
|
14625
14649
|
}
|
|
14626
14650
|
};
|
|
14627
|
-
var varsResolver$32 = createVarsResolver((_, { size }) => ({ root: { "--dialog-size":
|
|
14651
|
+
var varsResolver$32 = createVarsResolver((_, { size }) => ({ root: { "--dialog-size": getSize(size, "dialog-size") } }));
|
|
14628
14652
|
var Dialog = (0, vue.defineComponent)({
|
|
14629
14653
|
name: "Dialog",
|
|
14630
14654
|
inheritAttrs: false,
|
|
@@ -14915,7 +14939,7 @@ var defaultProps$11 = {
|
|
|
14915
14939
|
color: "yellow"
|
|
14916
14940
|
};
|
|
14917
14941
|
var varsResolver$31 = createVarsResolver((theme, { size, color }) => ({ root: {
|
|
14918
|
-
"--rating-size":
|
|
14942
|
+
"--rating-size": getSize(size, "rating-size"),
|
|
14919
14943
|
"--rating-color": getThemeColor(color, theme)
|
|
14920
14944
|
} }));
|
|
14921
14945
|
var Rating = withBoxProps((0, vue.defineComponent)({
|
|
@@ -15333,7 +15357,7 @@ var SegmentedControl_module_default = {
|
|
|
15333
15357
|
//#endregion
|
|
15334
15358
|
//#region src/components/SegmentedControl/SegmentedControl.ts
|
|
15335
15359
|
var varsResolver$29 = createVarsResolver((theme, { radius, color, transitionDuration, size, transitionTimingFunction, autoContrast }) => ({ root: {
|
|
15336
|
-
"--sc-radius": radius === void 0 ? void 0 :
|
|
15360
|
+
"--sc-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
15337
15361
|
"--sc-color": color ? getThemeColor(color, theme) : void 0,
|
|
15338
15362
|
"--sc-label-color": color ? getContrastColor({
|
|
15339
15363
|
color,
|
|
@@ -15343,11 +15367,11 @@ var varsResolver$29 = createVarsResolver((theme, { radius, color, transitionDura
|
|
|
15343
15367
|
"--sc-shadow": color ? void 0 : "var(--mantine-shadow-xs)",
|
|
15344
15368
|
"--sc-transition-duration": transitionDuration === void 0 ? void 0 : `${transitionDuration}ms`,
|
|
15345
15369
|
"--sc-transition-timing-function": transitionTimingFunction,
|
|
15346
|
-
"--sc-padding":
|
|
15347
|
-
"--sc-font-size":
|
|
15370
|
+
"--sc-padding": getSize(size, "sc-padding"),
|
|
15371
|
+
"--sc-font-size": getFontSize(size)
|
|
15348
15372
|
} }));
|
|
15349
15373
|
function normalizeData(data) {
|
|
15350
|
-
return data.map((item) =>
|
|
15374
|
+
return data.map((item) => isPrimitive(item) ? {
|
|
15351
15375
|
label: String(item),
|
|
15352
15376
|
value: item
|
|
15353
15377
|
} : item);
|
|
@@ -15789,9 +15813,9 @@ var defaultProps$10 = {
|
|
|
15789
15813
|
layout: "default"
|
|
15790
15814
|
};
|
|
15791
15815
|
var varsResolver$28 = createVarsResolver((theme, { size, radius, color, autoContrast }) => ({ root: {
|
|
15792
|
-
"--pagination-control-radius": radius === void 0 ? void 0 :
|
|
15793
|
-
"--pagination-control-size":
|
|
15794
|
-
"--pagination-control-fz":
|
|
15816
|
+
"--pagination-control-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
15817
|
+
"--pagination-control-size": getSize(size, "pagination-control-size"),
|
|
15818
|
+
"--pagination-control-fz": getFontSize(size),
|
|
15795
15819
|
"--pagination-active-bg": color ? getThemeColor(color, theme) : void 0,
|
|
15796
15820
|
"--pagination-active-color": getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
15797
15821
|
color,
|
|
@@ -16380,14 +16404,14 @@ var defaultProps$8 = {
|
|
|
16380
16404
|
variant: "default",
|
|
16381
16405
|
placement: "left"
|
|
16382
16406
|
};
|
|
16383
|
-
function getSafeId(prefix) {
|
|
16407
|
+
function getSafeId$1(prefix) {
|
|
16384
16408
|
return (value) => {
|
|
16385
16409
|
if (typeof value !== "string" || value.length === 0) throw new Error(VALUE_ERROR);
|
|
16386
16410
|
return `${prefix}-${value}`;
|
|
16387
16411
|
};
|
|
16388
16412
|
}
|
|
16389
16413
|
var varsResolver$27 = createVarsResolver((theme, { radius, color, autoContrast }) => ({ root: {
|
|
16390
|
-
"--tabs-radius":
|
|
16414
|
+
"--tabs-radius": getRadius(radius),
|
|
16391
16415
|
"--tabs-color": getThemeColor(color, theme),
|
|
16392
16416
|
"--tabs-text-color": getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
16393
16417
|
color,
|
|
@@ -16548,8 +16572,8 @@ var TabsBase = (0, vue.defineComponent)({
|
|
|
16548
16572
|
return currentTab.value;
|
|
16549
16573
|
},
|
|
16550
16574
|
onChange: setCurrentTab,
|
|
16551
|
-
getTabId: getSafeId(`${uid.value}-tab`),
|
|
16552
|
-
getPanelId: getSafeId(`${uid.value}-panel`)
|
|
16575
|
+
getTabId: getSafeId$1(`${uid.value}-tab`),
|
|
16576
|
+
getPanelId: getSafeId$1(`${uid.value}-panel`)
|
|
16553
16577
|
});
|
|
16554
16578
|
return () => (0, vue.h)(Box, {
|
|
16555
16579
|
...attrs,
|
|
@@ -17001,8 +17025,8 @@ var PasswordInput_module_default = {
|
|
|
17001
17025
|
//#endregion
|
|
17002
17026
|
//#region src/components/PasswordInput/PasswordInput.ts
|
|
17003
17027
|
var varsResolver$26 = createVarsResolver((_, { size }) => ({ root: {
|
|
17004
|
-
"--psi-icon-size":
|
|
17005
|
-
"--psi-button-size":
|
|
17028
|
+
"--psi-icon-size": getSize(size, "psi-icon-size"),
|
|
17029
|
+
"--psi-button-size": getSize(size, "psi-button-size")
|
|
17006
17030
|
} }));
|
|
17007
17031
|
var mergedClasses$3 = {
|
|
17008
17032
|
...Input_module_default,
|
|
@@ -17426,8 +17450,8 @@ var InlineInput = (0, vue.defineComponent)({
|
|
|
17426
17450
|
...getStyles("root", {
|
|
17427
17451
|
className: attrs.class,
|
|
17428
17452
|
style: {
|
|
17429
|
-
"--label-fz":
|
|
17430
|
-
"--label-lh":
|
|
17453
|
+
"--label-fz": getFontSize(props.size),
|
|
17454
|
+
"--label-lh": getSize(props.size, "label-lh"),
|
|
17431
17455
|
...attrs.style
|
|
17432
17456
|
}
|
|
17433
17457
|
}),
|
|
@@ -17499,8 +17523,8 @@ var CheckIcon = (0, vue.defineComponent)({
|
|
|
17499
17523
|
"aria-hidden": true,
|
|
17500
17524
|
...attrs,
|
|
17501
17525
|
style: props.size !== void 0 ? [{
|
|
17502
|
-
width:
|
|
17503
|
-
height:
|
|
17526
|
+
width: rem(props.size),
|
|
17527
|
+
height: rem(props.size),
|
|
17504
17528
|
display: "block"
|
|
17505
17529
|
}, attrs.style] : attrs.style
|
|
17506
17530
|
}, (0, vue.h)("path", {
|
|
@@ -17695,7 +17719,7 @@ var CheckboxCardContextKey = Symbol("CheckboxCardContext");
|
|
|
17695
17719
|
function useCheckboxCardContext() {
|
|
17696
17720
|
return (0, vue.inject)(CheckboxCardContextKey, null);
|
|
17697
17721
|
}
|
|
17698
|
-
var varsResolver$25 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius":
|
|
17722
|
+
var varsResolver$25 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius": getRadius(radius) } }));
|
|
17699
17723
|
var CheckboxCard = withBoxProps((0, vue.defineComponent)({
|
|
17700
17724
|
name: "CheckboxCard",
|
|
17701
17725
|
inheritAttrs: false,
|
|
@@ -17801,8 +17825,8 @@ var CheckboxIndicator_module_default = {
|
|
|
17801
17825
|
//#endregion
|
|
17802
17826
|
//#region src/components/Checkbox/CheckboxIndicator/CheckboxIndicator.ts
|
|
17803
17827
|
var varsResolver$24 = createVarsResolver((theme, { radius, color, size, iconColor, autoContrast }) => ({ indicator: {
|
|
17804
|
-
"--checkbox-size":
|
|
17805
|
-
"--checkbox-radius": radius === void 0 ? void 0 :
|
|
17828
|
+
"--checkbox-size": getSize(size, "checkbox-size"),
|
|
17829
|
+
"--checkbox-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
17806
17830
|
"--checkbox-color": getThemeColor(color, theme),
|
|
17807
17831
|
"--checkbox-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
17808
17832
|
color,
|
|
@@ -17928,8 +17952,8 @@ var mergedClasses$2 = {
|
|
|
17928
17952
|
...Checkbox_module_default
|
|
17929
17953
|
};
|
|
17930
17954
|
var varsResolver$23 = createVarsResolver((theme, { radius, color, size, iconColor, autoContrast }) => ({ root: {
|
|
17931
|
-
"--checkbox-size":
|
|
17932
|
-
"--checkbox-radius": radius === void 0 ? void 0 :
|
|
17955
|
+
"--checkbox-size": getSize(size, "checkbox-size"),
|
|
17956
|
+
"--checkbox-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
17933
17957
|
"--checkbox-color": getThemeColor(color, theme),
|
|
17934
17958
|
"--checkbox-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
17935
17959
|
color,
|
|
@@ -18214,17 +18238,17 @@ var varsResolver$22 = createVarsResolver((theme, { size, radius, variant, color,
|
|
|
18214
18238
|
autoContrast
|
|
18215
18239
|
});
|
|
18216
18240
|
return { root: {
|
|
18217
|
-
"--chip-fz":
|
|
18218
|
-
"--chip-size":
|
|
18219
|
-
"--chip-radius": radius === void 0 ? void 0 :
|
|
18220
|
-
"--chip-checked-padding":
|
|
18221
|
-
"--chip-padding":
|
|
18222
|
-
"--chip-icon-size":
|
|
18241
|
+
"--chip-fz": getFontSize(size),
|
|
18242
|
+
"--chip-size": getSize(size, "chip-size"),
|
|
18243
|
+
"--chip-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
18244
|
+
"--chip-checked-padding": getSize(size, "chip-checked-padding"),
|
|
18245
|
+
"--chip-padding": getSize(size, "chip-padding"),
|
|
18246
|
+
"--chip-icon-size": getSize(size, "chip-icon-size"),
|
|
18223
18247
|
"--chip-bg": color || variant ? colors.background : void 0,
|
|
18224
18248
|
"--chip-hover": color || variant ? colors.hover : void 0,
|
|
18225
18249
|
"--chip-color": color || variant ? colors.color : void 0,
|
|
18226
18250
|
"--chip-bd": color || variant ? colors.border : void 0,
|
|
18227
|
-
"--chip-spacing":
|
|
18251
|
+
"--chip-spacing": getSize(size, "chip-spacing")
|
|
18228
18252
|
} };
|
|
18229
18253
|
});
|
|
18230
18254
|
function callHandler$5(handler, event) {
|
|
@@ -18421,7 +18445,7 @@ var PillGroupContextKey = Symbol("PillGroupContext");
|
|
|
18421
18445
|
function usePillGroupContext() {
|
|
18422
18446
|
return (0, vue.inject)(PillGroupContextKey, null);
|
|
18423
18447
|
}
|
|
18424
|
-
var varsResolver$21 = createVarsResolver((_, { gap }, ctx) => ({ group: { "--pg-gap": gap !== void 0 ?
|
|
18448
|
+
var varsResolver$21 = createVarsResolver((_, { gap }, ctx) => ({ group: { "--pg-gap": gap !== void 0 ? getSize(gap) : getSize(ctx.size, "pg-gap") } }));
|
|
18425
18449
|
var PillGroup = withBoxProps((0, vue.defineComponent)({
|
|
18426
18450
|
name: "PillGroup",
|
|
18427
18451
|
inheritAttrs: false,
|
|
@@ -18500,9 +18524,9 @@ Object.assign(PillGroup, {
|
|
|
18500
18524
|
//#endregion
|
|
18501
18525
|
//#region src/components/Pill/Pill.ts
|
|
18502
18526
|
var varsResolver$20 = createVarsResolver((_, { radius }, ctx) => ({ root: {
|
|
18503
|
-
"--pill-fz":
|
|
18504
|
-
"--pill-height":
|
|
18505
|
-
"--pill-radius": radius === void 0 ? void 0 :
|
|
18527
|
+
"--pill-fz": getSize(ctx.size, "pill-fz"),
|
|
18528
|
+
"--pill-height": getSize(ctx.size, "pill-height"),
|
|
18529
|
+
"--pill-radius": radius === void 0 ? void 0 : getRadius(radius)
|
|
18506
18530
|
} }));
|
|
18507
18531
|
function callHandler$4(handler, event) {
|
|
18508
18532
|
if (Array.isArray(handler)) handler.forEach((item) => item?.(event));
|
|
@@ -19016,7 +19040,7 @@ var RadioCardContextKey = Symbol("RadioCardContext");
|
|
|
19016
19040
|
function useRadioCardContext() {
|
|
19017
19041
|
return (0, vue.inject)(RadioCardContextKey, null);
|
|
19018
19042
|
}
|
|
19019
|
-
var varsResolver$19 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius":
|
|
19043
|
+
var varsResolver$19 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius": getRadius(radius) } }));
|
|
19020
19044
|
function callHandler$3(handler, event) {
|
|
19021
19045
|
if (Array.isArray(handler)) handler.forEach((item) => item?.(event));
|
|
19022
19046
|
else handler?.(event);
|
|
@@ -19141,10 +19165,10 @@ var RadioIndicator_module_default = {
|
|
|
19141
19165
|
//#endregion
|
|
19142
19166
|
//#region src/components/Radio/RadioIndicator/RadioIndicator.ts
|
|
19143
19167
|
var varsResolver$18 = createVarsResolver((theme, { radius, color, size, iconColor, autoContrast }) => ({ indicator: {
|
|
19144
|
-
"--radio-size":
|
|
19145
|
-
"--radio-radius": radius === void 0 ? void 0 :
|
|
19168
|
+
"--radio-size": getSize(size, "radio-size"),
|
|
19169
|
+
"--radio-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
19146
19170
|
"--radio-color": getThemeColor(color, theme),
|
|
19147
|
-
"--radio-icon-size": typeof size === "number" ? `calc(${
|
|
19171
|
+
"--radio-icon-size": typeof size === "number" ? `calc(${getSize(size, "radio-size")} * 0.4)` : getSize(size, "radio-icon-size"),
|
|
19148
19172
|
"--radio-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
19149
19173
|
color,
|
|
19150
19174
|
theme,
|
|
@@ -19261,15 +19285,15 @@ var mergedClasses$1 = {
|
|
|
19261
19285
|
...Radio_module_default
|
|
19262
19286
|
};
|
|
19263
19287
|
var varsResolver$17 = createVarsResolver((theme, { size, radius, color, iconColor, autoContrast }) => ({ root: {
|
|
19264
|
-
"--radio-size":
|
|
19265
|
-
"--radio-radius": radius === void 0 ? void 0 :
|
|
19288
|
+
"--radio-size": getSize(size, "radio-size"),
|
|
19289
|
+
"--radio-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
19266
19290
|
"--radio-color": getThemeColor(color, theme),
|
|
19267
19291
|
"--radio-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
19268
19292
|
color,
|
|
19269
19293
|
theme,
|
|
19270
19294
|
autoContrast
|
|
19271
19295
|
}) : void 0,
|
|
19272
|
-
"--radio-icon-size":
|
|
19296
|
+
"--radio-icon-size": getSize(size, "radio-icon-size")
|
|
19273
19297
|
} }));
|
|
19274
19298
|
function callHandler$2(handler, event) {
|
|
19275
19299
|
if (Array.isArray(handler)) handler.forEach((item) => item?.(event));
|
|
@@ -19633,12 +19657,12 @@ var mergedClasses = {
|
|
|
19633
19657
|
...Switch_module_default
|
|
19634
19658
|
};
|
|
19635
19659
|
var varsResolver$16 = createVarsResolver((theme, { radius, color, size }) => ({ root: {
|
|
19636
|
-
"--switch-radius": radius === void 0 ? void 0 :
|
|
19637
|
-
"--switch-height":
|
|
19638
|
-
"--switch-width":
|
|
19639
|
-
"--switch-thumb-size":
|
|
19640
|
-
"--switch-label-font-size":
|
|
19641
|
-
"--switch-track-label-padding":
|
|
19660
|
+
"--switch-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
19661
|
+
"--switch-height": getSize(size, "switch-height"),
|
|
19662
|
+
"--switch-width": getSize(size, "switch-width"),
|
|
19663
|
+
"--switch-thumb-size": getSize(size, "switch-thumb-size"),
|
|
19664
|
+
"--switch-label-font-size": getSize(size, "switch-label-font-size"),
|
|
19665
|
+
"--switch-track-label-padding": getSize(size, "switch-track-label-padding"),
|
|
19642
19666
|
"--switch-color": color ? getThemeColor(color, theme) : void 0
|
|
19643
19667
|
} }));
|
|
19644
19668
|
function renderContent(content) {
|
|
@@ -20017,7 +20041,7 @@ var Flex = withBoxProps((0, vue.defineComponent)({
|
|
|
20017
20041
|
...attrs,
|
|
20018
20042
|
...getStyles("root", {
|
|
20019
20043
|
className: parsedStyleProps.hasResponsiveStyles ? responsiveClassName : void 0,
|
|
20020
|
-
style:
|
|
20044
|
+
style: filterProps(parsedStyleProps.inlineStyles)
|
|
20021
20045
|
})
|
|
20022
20046
|
}, () => slots.default?.())];
|
|
20023
20047
|
};
|
|
@@ -20032,7 +20056,7 @@ var defaultProps$7 = {
|
|
|
20032
20056
|
justify: "flex-start"
|
|
20033
20057
|
};
|
|
20034
20058
|
var varsResolver$15 = createVarsResolver((_, { gap, align, justify }) => ({ root: {
|
|
20035
|
-
"--stack-gap":
|
|
20059
|
+
"--stack-gap": getSpacing(gap),
|
|
20036
20060
|
"--stack-align": align,
|
|
20037
20061
|
"--stack-justify": justify
|
|
20038
20062
|
} }));
|
|
@@ -20328,11 +20352,11 @@ var varsResolver$14 = createVarsResolver((theme, { color, iconSize, size, conten
|
|
|
20328
20352
|
theme,
|
|
20329
20353
|
autoContrast
|
|
20330
20354
|
}) : void 0,
|
|
20331
|
-
"--stepper-icon-size": iconSize === void 0 ?
|
|
20332
|
-
"--stepper-content-padding":
|
|
20333
|
-
"--stepper-radius": radius === void 0 ? void 0 :
|
|
20334
|
-
"--stepper-fz":
|
|
20335
|
-
"--stepper-spacing":
|
|
20355
|
+
"--stepper-icon-size": iconSize === void 0 ? getSize(size, "stepper-icon-size") : rem(iconSize),
|
|
20356
|
+
"--stepper-content-padding": getSpacing(contentPadding),
|
|
20357
|
+
"--stepper-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
20358
|
+
"--stepper-fz": getFontSize(size),
|
|
20359
|
+
"--stepper-spacing": getSpacing(size)
|
|
20336
20360
|
} }));
|
|
20337
20361
|
function getSlotContent(vnode) {
|
|
20338
20362
|
const children = vnode?.children;
|
|
@@ -20595,7 +20619,7 @@ var defaultProps$4 = {
|
|
|
20595
20619
|
maxRows: 1,
|
|
20596
20620
|
maxVisibleItems: Infinity
|
|
20597
20621
|
};
|
|
20598
|
-
var varsResolver$13 = createVarsResolver((_, { gap }) => ({ root: { "--ol-gap":
|
|
20622
|
+
var varsResolver$13 = createVarsResolver((_, { gap }) => ({ root: { "--ol-gap": getSpacing(gap) } }));
|
|
20599
20623
|
function getDataSignature(data, getItemKey) {
|
|
20600
20624
|
return data.map((item, index) => getItemKey ? getItemKey(item, index) : item !== null && (typeof item === "object" || typeof item === "function") ? index : String(item)).join(" ");
|
|
20601
20625
|
}
|
|
@@ -20809,9 +20833,9 @@ var varsResolver$12 = createVarsResolver((theme, { color, size, variant, autoCon
|
|
|
20809
20833
|
return { root: {
|
|
20810
20834
|
"--toc-bg": variant !== "none" ? colors.background : void 0,
|
|
20811
20835
|
"--toc-color": variant !== "none" ? colors.color : void 0,
|
|
20812
|
-
"--toc-size":
|
|
20813
|
-
"--toc-depth-offset":
|
|
20814
|
-
"--toc-radius":
|
|
20836
|
+
"--toc-size": getFontSize(size),
|
|
20837
|
+
"--toc-depth-offset": rem(depthOffset),
|
|
20838
|
+
"--toc-radius": getRadius(radius)
|
|
20815
20839
|
} };
|
|
20816
20840
|
});
|
|
20817
20841
|
var TableOfContents = withBoxProps((0, vue.defineComponent)({
|
|
@@ -20946,7 +20970,7 @@ var FloatingWindow_module_default = { root: "_root_kejg3_1" };
|
|
|
20946
20970
|
var defaultProps$2 = {
|
|
20947
20971
|
constrainToViewport: true,
|
|
20948
20972
|
withinPortal: true,
|
|
20949
|
-
zIndex:
|
|
20973
|
+
zIndex: getDefaultZIndex("overlay")
|
|
20950
20974
|
};
|
|
20951
20975
|
var FloatingWindow = (0, vue.defineComponent)({
|
|
20952
20976
|
name: "FloatingWindow",
|
|
@@ -21448,10 +21472,10 @@ var defaultProps$1 = {
|
|
|
21448
21472
|
orientation: "horizontal"
|
|
21449
21473
|
};
|
|
21450
21474
|
var varsResolver$11 = createVarsResolver((theme, { size, color, thumbSize, radius }) => ({ root: {
|
|
21451
|
-
"--slider-size":
|
|
21475
|
+
"--slider-size": getSize(size, "slider-size"),
|
|
21452
21476
|
"--slider-color": color ? getThemeColor(color, theme) : void 0,
|
|
21453
|
-
"--slider-radius": radius === void 0 ? void 0 :
|
|
21454
|
-
"--slider-thumb-size": thumbSize !== void 0 ?
|
|
21477
|
+
"--slider-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
21478
|
+
"--slider-thumb-size": thumbSize !== void 0 ? rem(thumbSize) : "calc(var(--slider-size) * 2)"
|
|
21455
21479
|
} }));
|
|
21456
21480
|
var Slider = withBoxProps((0, vue.defineComponent)({
|
|
21457
21481
|
name: "Slider",
|
|
@@ -21741,10 +21765,10 @@ var defaults$5 = {
|
|
|
21741
21765
|
orientation: "horizontal"
|
|
21742
21766
|
};
|
|
21743
21767
|
var varsResolver$10 = createVarsResolver((theme, { size, color, thumbSize, radius }) => ({ root: {
|
|
21744
|
-
"--slider-size":
|
|
21768
|
+
"--slider-size": getSize(size, "slider-size"),
|
|
21745
21769
|
"--slider-color": color ? getThemeColor(color, theme) : void 0,
|
|
21746
|
-
"--slider-radius":
|
|
21747
|
-
"--slider-thumb-size": thumbSize !== void 0 ?
|
|
21770
|
+
"--slider-radius": getRadius(radius),
|
|
21771
|
+
"--slider-thumb-size": thumbSize !== void 0 ? rem(thumbSize) : "calc(var(--slider-size) * 2)"
|
|
21748
21772
|
} }));
|
|
21749
21773
|
var RangeSlider = (0, vue.defineComponent)({
|
|
21750
21774
|
name: "RangeSlider",
|
|
@@ -22471,10 +22495,10 @@ var AlphaSlider = (0, vue.defineComponent)({
|
|
|
22471
22495
|
overlays: [
|
|
22472
22496
|
{
|
|
22473
22497
|
backgroundImage: "linear-gradient(45deg,var(--slider-checkers) 25%,transparent 25%),linear-gradient(-45deg,var(--slider-checkers) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--slider-checkers) 75%)",
|
|
22474
|
-
backgroundSize: `${
|
|
22498
|
+
backgroundSize: `${rem(8)} ${rem(8)}`
|
|
22475
22499
|
},
|
|
22476
22500
|
{ backgroundImage: `linear-gradient(90deg, transparent, ${props.color})` },
|
|
22477
|
-
{ boxShadow: `rgba(0,0,0,.1) 0 0 0 ${
|
|
22501
|
+
{ boxShadow: `rgba(0,0,0,.1) 0 0 0 ${rem(1)} inset` }
|
|
22478
22502
|
]
|
|
22479
22503
|
});
|
|
22480
22504
|
}
|
|
@@ -22524,7 +22548,7 @@ var HueSlider = (0, vue.defineComponent)({
|
|
|
22524
22548
|
thumbColor: `hsl(${props.value}, 100%, 50%)`,
|
|
22525
22549
|
round: true,
|
|
22526
22550
|
"data-hue": "",
|
|
22527
|
-
overlays: [{ backgroundImage: "linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))" }, { boxShadow: `rgba(0,0,0,.1) 0 0 0 ${
|
|
22551
|
+
overlays: [{ backgroundImage: "linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))" }, { boxShadow: `rgba(0,0,0,.1) 0 0 0 ${rem(1)} inset, rgba(0,0,0,.15) 0 0 ${rem(4)} inset` }]
|
|
22528
22552
|
});
|
|
22529
22553
|
}
|
|
22530
22554
|
});
|
|
@@ -22708,12 +22732,12 @@ var defaults$4 = {
|
|
|
22708
22732
|
__staticSelector: "ColorPicker"
|
|
22709
22733
|
};
|
|
22710
22734
|
var varsResolver$9 = createVarsResolver((_, { size, swatchesPerRow }) => ({ wrapper: {
|
|
22711
|
-
"--cp-preview-size":
|
|
22712
|
-
"--cp-width":
|
|
22713
|
-
"--cp-body-spacing":
|
|
22735
|
+
"--cp-preview-size": getSize(size, "cp-preview-size"),
|
|
22736
|
+
"--cp-width": getSize(size, "cp-width"),
|
|
22737
|
+
"--cp-body-spacing": getSpacing(size),
|
|
22714
22738
|
"--cp-swatch-size": `${100 / swatchesPerRow}%`,
|
|
22715
|
-
"--cp-thumb-size":
|
|
22716
|
-
"--cp-saturation-height":
|
|
22739
|
+
"--cp-thumb-size": getSize(size, "cp-thumb-size"),
|
|
22740
|
+
"--cp-saturation-height": getSize(size, "cp-saturation-height")
|
|
22717
22741
|
} }));
|
|
22718
22742
|
var ColorPicker = (0, vue.defineComponent)({
|
|
22719
22743
|
name: "ColorPicker",
|
|
@@ -23039,10 +23063,10 @@ var AppShellMain = withBoxProps(Object.assign((0, vue.defineComponent)({
|
|
|
23039
23063
|
//#endregion
|
|
23040
23064
|
//#region src/components/AppShell/AppShellMediaStyles/get-variables.ts
|
|
23041
23065
|
var isResponsive = (value) => Boolean(value && typeof value === "object");
|
|
23042
|
-
var size$1 = (value) => value === void 0 ? void 0 :
|
|
23043
|
-
var paddingValue = (value) => Number(value) === 0 ? "0px" :
|
|
23066
|
+
var size$1 = (value) => value === void 0 ? void 0 : rem(value);
|
|
23067
|
+
var paddingValue = (value) => Number(value) === 0 ? "0px" : getSpacing(value);
|
|
23044
23068
|
function breakpointPx(value, theme) {
|
|
23045
|
-
return typeof value === "string" && value in theme.breakpoints ?
|
|
23069
|
+
return typeof value === "string" && value in theme.breakpoints ? getBreakpointValue(theme.breakpoints[value]) : getBreakpointValue(value);
|
|
23046
23070
|
}
|
|
23047
23071
|
function media(styles, query, values) {
|
|
23048
23072
|
styles[query] = {
|
|
@@ -23054,7 +23078,7 @@ function responsive(value, property, base, min, theme, transform = size$1) {
|
|
|
23054
23078
|
if (isResponsive(value)) {
|
|
23055
23079
|
if (value.base !== void 0) base[property] = transform(value.base);
|
|
23056
23080
|
Object.entries(value).forEach(([key, item]) => {
|
|
23057
|
-
if (key !== "base" && item !== void 0) media(min, `(min-width: ${
|
|
23081
|
+
if (key !== "base" && item !== void 0) media(min, `(min-width: ${em(breakpointPx(key, theme))})`, { [property]: transform(item) });
|
|
23058
23082
|
});
|
|
23059
23083
|
} else if (value !== void 0) base[property] = transform(value);
|
|
23060
23084
|
}
|
|
@@ -23086,8 +23110,8 @@ function getVariables({ navbar, aside, header, footer, padding, theme, mode }) {
|
|
|
23086
23110
|
responsive(config.width, "--app-shell-navbar-offset", baseStyles, minMediaStyles, theme);
|
|
23087
23111
|
if (mode === "static") responsive(config.width, "--app-shell-navbar-grid-width", baseStyles, minMediaStyles, theme);
|
|
23088
23112
|
const bp = breakpointPx(config.breakpoint, theme);
|
|
23089
|
-
const minQuery = `(min-width: ${
|
|
23090
|
-
const maxQuery = `(max-width: ${
|
|
23113
|
+
const minQuery = `(min-width: ${em(bp)})`;
|
|
23114
|
+
const maxQuery = `(max-width: ${em(bp - .1)})`;
|
|
23091
23115
|
if (!config.collapsed?.mobile) media(maxMediaStyles, maxQuery, {
|
|
23092
23116
|
"--app-shell-navbar-offset": "0px",
|
|
23093
23117
|
"--app-shell-navbar-width": "100%",
|
|
@@ -23121,8 +23145,8 @@ function getVariables({ navbar, aside, header, footer, padding, theme, mode }) {
|
|
|
23121
23145
|
responsive(config.width, "--app-shell-aside-width", baseStyles, minMediaStyles, theme);
|
|
23122
23146
|
responsive(config.width, "--app-shell-aside-offset", baseStyles, minMediaStyles, theme);
|
|
23123
23147
|
const bp = breakpointPx(config.breakpoint, theme);
|
|
23124
|
-
const minQuery = `(min-width: ${
|
|
23125
|
-
const maxQuery = `(max-width: ${
|
|
23148
|
+
const minQuery = `(min-width: ${em(bp)})`;
|
|
23149
|
+
const maxQuery = `(max-width: ${em(bp - .1)})`;
|
|
23126
23150
|
if (!config.collapsed?.mobile) media(maxMediaStyles, maxQuery, mode === "fixed" ? {
|
|
23127
23151
|
"--app-shell-aside-width": "100%",
|
|
23128
23152
|
"--app-shell-aside-offset": "0px"
|
|
@@ -23274,7 +23298,7 @@ var defaults$3 = {
|
|
|
23274
23298
|
padding: 0,
|
|
23275
23299
|
transitionDuration: 200,
|
|
23276
23300
|
transitionTimingFunction: "ease",
|
|
23277
|
-
zIndex:
|
|
23301
|
+
zIndex: getDefaultZIndex("app"),
|
|
23278
23302
|
mode: "fixed",
|
|
23279
23303
|
offsetScrollbars: true
|
|
23280
23304
|
};
|
|
@@ -24276,7 +24300,7 @@ var defaultProps = {
|
|
|
24276
24300
|
shiftStep: 10
|
|
24277
24301
|
};
|
|
24278
24302
|
var varsResolver$7 = createVarsResolver((theme, { lineSize, handleColor }) => ({ root: {
|
|
24279
|
-
"--splitter-line-size":
|
|
24303
|
+
"--splitter-line-size": rem(lineSize),
|
|
24280
24304
|
"--splitter-handle-color": handleColor ? getThemeColor(handleColor, theme) : void 0
|
|
24281
24305
|
} }));
|
|
24282
24306
|
function flattenChildren(children) {
|
|
@@ -25078,7 +25102,7 @@ var Tree_module_default = {
|
|
|
25078
25102
|
function getFlatValues(data) {
|
|
25079
25103
|
return data.flatMap((node) => [node.value, ...node.children ? getFlatValues(node.children) : []]);
|
|
25080
25104
|
}
|
|
25081
|
-
var varsResolver$6 = createVarsResolver((_, { levelOffset }) => ({ root: { "--level-offset":
|
|
25105
|
+
var varsResolver$6 = createVarsResolver((_, { levelOffset }) => ({ root: { "--level-offset": getSpacing(levelOffset) } }));
|
|
25082
25106
|
var Tree = withBoxProps((0, vue.defineComponent)({
|
|
25083
25107
|
name: "Tree",
|
|
25084
25108
|
inheritAttrs: false,
|
|
@@ -25756,9 +25780,9 @@ var ModalBase = withBoxProps((0, vue.defineComponent)({
|
|
|
25756
25780
|
...attrs,
|
|
25757
25781
|
id: modal.id.value || fallbackId.value,
|
|
25758
25782
|
style: [{
|
|
25759
|
-
"--mb-z-index": String(props.zIndex ??
|
|
25760
|
-
"--mb-shadow":
|
|
25761
|
-
"--mb-padding":
|
|
25783
|
+
"--mb-z-index": String(props.zIndex ?? getDefaultZIndex("modal")),
|
|
25784
|
+
"--mb-shadow": getShadow(props.shadow),
|
|
25785
|
+
"--mb-padding": getSpacing(props.padding)
|
|
25762
25786
|
}, attrs.style]
|
|
25763
25787
|
}, () => slots.default?.()));
|
|
25764
25788
|
}
|
|
@@ -25961,10 +25985,10 @@ var Modal_module_default = {
|
|
|
25961
25985
|
//#region src/components/Modal/Modal.ts
|
|
25962
25986
|
var [provideModalContext, useModalContext] = createSafeContext("Modal component was not found in tree");
|
|
25963
25987
|
var varsResolver$5 = createVarsResolver((_, props) => ({ root: {
|
|
25964
|
-
"--modal-size":
|
|
25965
|
-
"--modal-radius": props.radius == null ? void 0 :
|
|
25966
|
-
"--modal-y-offset":
|
|
25967
|
-
"--modal-x-offset":
|
|
25988
|
+
"--modal-size": getSize(props.size, "modal-size"),
|
|
25989
|
+
"--modal-radius": props.radius == null ? void 0 : rem(props.radius),
|
|
25990
|
+
"--modal-y-offset": rem(props.yOffset),
|
|
25991
|
+
"--modal-x-offset": rem(props.xOffset)
|
|
25968
25992
|
} }));
|
|
25969
25993
|
var ModalRoot = (0, vue.defineComponent)({
|
|
25970
25994
|
name: "ModalRoot",
|
|
@@ -26152,7 +26176,7 @@ var DrawerStack = (0, vue.defineComponent)({
|
|
|
26152
26176
|
name: "DrawerStack",
|
|
26153
26177
|
setup(_, { slots }) {
|
|
26154
26178
|
const stack = (0, vue.ref)([]);
|
|
26155
|
-
const maxZIndex = (0, vue.ref)(
|
|
26179
|
+
const maxZIndex = (0, vue.ref)(getDefaultZIndex("modal"));
|
|
26156
26180
|
(0, vue.provide)(DrawerStackContextKey, (0, vue.reactive)({
|
|
26157
26181
|
get stack() {
|
|
26158
26182
|
return stack.value;
|
|
@@ -26213,12 +26237,12 @@ function useDrawersStack(drawers) {
|
|
|
26213
26237
|
};
|
|
26214
26238
|
}
|
|
26215
26239
|
var varsResolver$4 = createVarsResolver((_, props) => ({ root: {
|
|
26216
|
-
"--drawer-size":
|
|
26240
|
+
"--drawer-size": getSize(props.size, "drawer-size"),
|
|
26217
26241
|
"--drawer-flex": props.position === "top" || props.position === "bottom" ? "0 0 calc(100% - var(--drawer-offset) * 2)" : void 0,
|
|
26218
26242
|
"--drawer-height": props.position === "left" || props.position === "right" ? void 0 : "var(--drawer-size)",
|
|
26219
26243
|
"--drawer-align": props.position === "top" ? "flex-start" : props.position === "bottom" ? "flex-end" : void 0,
|
|
26220
26244
|
"--drawer-justify": props.position === "right" ? "flex-end" : void 0,
|
|
26221
|
-
"--drawer-offset":
|
|
26245
|
+
"--drawer-offset": rem(props.offset)
|
|
26222
26246
|
} }));
|
|
26223
26247
|
var transitions = {
|
|
26224
26248
|
top: "slide-down",
|
|
@@ -26390,7 +26414,7 @@ var DrawerBaseComponent = (0, vue.defineComponent)({
|
|
|
26390
26414
|
setup(props, { attrs, slots }) {
|
|
26391
26415
|
const stackCtx = useDrawerStackContext();
|
|
26392
26416
|
(0, vue.watch)(() => props.opened, (opened) => {
|
|
26393
|
-
if (stackCtx && props.stackId) if (opened) stackCtx.addModal(props.stackId, typeof props.zIndex === "number" ? props.zIndex :
|
|
26417
|
+
if (stackCtx && props.stackId) if (opened) stackCtx.addModal(props.stackId, typeof props.zIndex === "number" ? props.zIndex : getDefaultZIndex("modal"));
|
|
26394
26418
|
else stackCtx.removeModal(props.stackId);
|
|
26395
26419
|
}, { immediate: true });
|
|
26396
26420
|
const resolvedZIndex = (0, vue.computed)(() => {
|
|
@@ -26734,7 +26758,7 @@ var defaults$2 = {
|
|
|
26734
26758
|
withRoles: true,
|
|
26735
26759
|
returnFocus: false,
|
|
26736
26760
|
keepMounted: false,
|
|
26737
|
-
zIndex:
|
|
26761
|
+
zIndex: getDefaultZIndex("popover"),
|
|
26738
26762
|
floatingStrategy: "absolute",
|
|
26739
26763
|
transitionProps: {
|
|
26740
26764
|
transition: "fade",
|
|
@@ -26742,8 +26766,8 @@ var defaults$2 = {
|
|
|
26742
26766
|
}
|
|
26743
26767
|
};
|
|
26744
26768
|
var varsResolver$3 = createVarsResolver((_, props) => ({ dropdown: {
|
|
26745
|
-
"--popover-radius": props.radius === void 0 ? void 0 :
|
|
26746
|
-
"--popover-shadow":
|
|
26769
|
+
"--popover-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
26770
|
+
"--popover-shadow": getShadow(props.shadow)
|
|
26747
26771
|
} }));
|
|
26748
26772
|
function one$3(slots, name) {
|
|
26749
26773
|
const children = slots.default?.().filter((child) => typeof child.type !== "symbol") ?? [];
|
|
@@ -26884,7 +26908,7 @@ var PopoverDropdown = (0, vue.defineComponent)({
|
|
|
26884
26908
|
zIndex: ctx.zIndex,
|
|
26885
26909
|
top: `${ctx.y}px`,
|
|
26886
26910
|
left: `${ctx.x}px`,
|
|
26887
|
-
width: ctx.width === "target" ? ctx.targetWidth === void 0 ? void 0 : `${ctx.targetWidth}px` :
|
|
26911
|
+
width: ctx.width === "target" ? ctx.targetWidth === void 0 ? void 0 : `${ctx.targetWidth}px` : rem(ctx.width)
|
|
26888
26912
|
},
|
|
26889
26913
|
attrs.style
|
|
26890
26914
|
]
|
|
@@ -27189,7 +27213,7 @@ var PopoverBase = (0, vue.defineComponent)({
|
|
|
27189
27213
|
return props.width ?? "max-content";
|
|
27190
27214
|
},
|
|
27191
27215
|
get zIndex() {
|
|
27192
|
-
return props.zIndex ??
|
|
27216
|
+
return props.zIndex ?? getDefaultZIndex("popover");
|
|
27193
27217
|
},
|
|
27194
27218
|
get floatingStrategy() {
|
|
27195
27219
|
return props.floatingStrategy ?? "absolute";
|
|
@@ -27242,10 +27266,10 @@ var defaults$1 = {
|
|
|
27242
27266
|
withinPortal: true,
|
|
27243
27267
|
offset: 10,
|
|
27244
27268
|
position: "right",
|
|
27245
|
-
zIndex:
|
|
27269
|
+
zIndex: getDefaultZIndex("popover")
|
|
27246
27270
|
};
|
|
27247
27271
|
var varsResolver$2 = createVarsResolver((theme, props) => ({ tooltip: {
|
|
27248
|
-
"--tooltip-radius": props.radius === void 0 ? void 0 :
|
|
27272
|
+
"--tooltip-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
27249
27273
|
"--tooltip-bg": props.color ? getThemeColor(props.color, theme) : void 0,
|
|
27250
27274
|
"--tooltip-color": props.color ? "var(--mantine-color-white)" : void 0
|
|
27251
27275
|
} }));
|
|
@@ -27477,7 +27501,7 @@ var defaults = {
|
|
|
27477
27501
|
focus: false,
|
|
27478
27502
|
touch: false
|
|
27479
27503
|
},
|
|
27480
|
-
zIndex:
|
|
27504
|
+
zIndex: getDefaultZIndex("popover"),
|
|
27481
27505
|
middlewares: {
|
|
27482
27506
|
flip: true,
|
|
27483
27507
|
shift: true,
|
|
@@ -27493,7 +27517,7 @@ var varsResolver$1 = createVarsResolver((theme, props) => {
|
|
|
27493
27517
|
variant: props.variant || "filled"
|
|
27494
27518
|
});
|
|
27495
27519
|
return { tooltip: {
|
|
27496
|
-
"--tooltip-radius": props.radius === void 0 ? void 0 :
|
|
27520
|
+
"--tooltip-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
27497
27521
|
"--tooltip-bg": props.color ? colors.background : void 0,
|
|
27498
27522
|
"--tooltip-color": props.color ? colors.color : void 0
|
|
27499
27523
|
} };
|
|
@@ -28789,17 +28813,17 @@ function useComboboxTargetProps(input) {
|
|
|
28789
28813
|
//#region src/components/Combobox/Combobox.ts
|
|
28790
28814
|
var varsResolver = createVarsResolver((_, props) => ({
|
|
28791
28815
|
options: {
|
|
28792
|
-
"--combobox-option-fz":
|
|
28793
|
-
"--combobox-option-padding":
|
|
28816
|
+
"--combobox-option-fz": getFontSize(props.size),
|
|
28817
|
+
"--combobox-option-padding": getSize(props.size, "combobox-option-padding")
|
|
28794
28818
|
},
|
|
28795
28819
|
dropdown: {
|
|
28796
|
-
"--combobox-padding": props.dropdownPadding === void 0 ? void 0 :
|
|
28797
|
-
"--combobox-option-fz":
|
|
28798
|
-
"--combobox-option-padding":
|
|
28820
|
+
"--combobox-padding": props.dropdownPadding === void 0 ? void 0 : rem(props.dropdownPadding),
|
|
28821
|
+
"--combobox-option-fz": getFontSize(props.size),
|
|
28822
|
+
"--combobox-option-padding": getSize(props.size, "combobox-option-padding")
|
|
28799
28823
|
}
|
|
28800
28824
|
}));
|
|
28801
28825
|
var chevronVarsResolver = createVarsResolver((theme, props) => ({ chevron: {
|
|
28802
|
-
"--combobox-chevron-size":
|
|
28826
|
+
"--combobox-chevron-size": getSize(props.size, "combobox-chevron-size"),
|
|
28803
28827
|
"--combobox-chevron-color": props.color ? getThemeColor(props.color, theme) : void 0
|
|
28804
28828
|
} }));
|
|
28805
28829
|
function childrenOne(slots, name) {
|
|
@@ -31184,413 +31208,6 @@ Object.assign(TreeSelect, { classes: {
|
|
|
31184
31208
|
...Combobox.classes,
|
|
31185
31209
|
...TreeSelect_module_default
|
|
31186
31210
|
} });
|
|
31187
|
-
__reExport(/* @__PURE__ */ __exportAll({
|
|
31188
|
-
Accordion: () => Accordion,
|
|
31189
|
-
AccordionChevron: () => AccordionChevron,
|
|
31190
|
-
AccordionControl: () => AccordionControl,
|
|
31191
|
-
AccordionItem: () => AccordionItem,
|
|
31192
|
-
AccordionPanel: () => AccordionPanel,
|
|
31193
|
-
ActionIcon: () => ActionIcon,
|
|
31194
|
-
ActionIconGroup: () => ActionIconGroup,
|
|
31195
|
-
ActionIconGroupSection: () => ActionIconGroupSection,
|
|
31196
|
-
Affix: () => Affix,
|
|
31197
|
-
Alert: () => Alert,
|
|
31198
|
-
AlphaSlider: () => AlphaSlider,
|
|
31199
|
-
Anchor: () => Anchor,
|
|
31200
|
-
AngleSlider: () => AngleSlider,
|
|
31201
|
-
AppShell: () => AppShell,
|
|
31202
|
-
AppShellAside: () => AppShellAside,
|
|
31203
|
-
AppShellFooter: () => AppShellFooter,
|
|
31204
|
-
AppShellHeader: () => AppShellHeader,
|
|
31205
|
-
AppShellMain: () => AppShellMain,
|
|
31206
|
-
AppShellNavbar: () => AppShellNavbar,
|
|
31207
|
-
AppShellSection: () => AppShellSection,
|
|
31208
|
-
AspectRatio: () => AspectRatio,
|
|
31209
|
-
Autocomplete: () => Autocomplete,
|
|
31210
|
-
Avatar: () => Avatar,
|
|
31211
|
-
AvatarGroup: () => AvatarGroup,
|
|
31212
|
-
AvatarGroupContextKey: () => AvatarGroupContextKey,
|
|
31213
|
-
BackgroundImage: () => BackgroundImage,
|
|
31214
|
-
Badge: () => Badge,
|
|
31215
|
-
Bars: () => Bars,
|
|
31216
|
-
Blockquote: () => Blockquote,
|
|
31217
|
-
Box: () => Box,
|
|
31218
|
-
Breadcrumbs: () => Breadcrumbs,
|
|
31219
|
-
Burger: () => Burger,
|
|
31220
|
-
Button: () => Button,
|
|
31221
|
-
ButtonGroup: () => ButtonGroup,
|
|
31222
|
-
ButtonGroupSection: () => ButtonGroupSection,
|
|
31223
|
-
Card: () => Card,
|
|
31224
|
-
CardSection: () => CardSection,
|
|
31225
|
-
Center: () => Center,
|
|
31226
|
-
CheckIcon: () => CheckIcon,
|
|
31227
|
-
Checkbox: () => Checkbox,
|
|
31228
|
-
CheckboxCard: () => CheckboxCard,
|
|
31229
|
-
CheckboxGroup: () => CheckboxGroup,
|
|
31230
|
-
CheckboxIcon: () => CheckboxIcon,
|
|
31231
|
-
CheckboxIndicator: () => CheckboxIndicator,
|
|
31232
|
-
Chip: () => Chip,
|
|
31233
|
-
ChipGroup: () => ChipGroup,
|
|
31234
|
-
CloseButton: () => CloseButton,
|
|
31235
|
-
CloseIcon: () => CloseIcon,
|
|
31236
|
-
Code: () => Code,
|
|
31237
|
-
Collapse: () => Collapse,
|
|
31238
|
-
ColorInput: () => ColorInput,
|
|
31239
|
-
ColorPicker: () => ColorPicker,
|
|
31240
|
-
ColorSlider: () => ColorSlider,
|
|
31241
|
-
ColorSwatch: () => ColorSwatch,
|
|
31242
|
-
Combobox: () => Combobox,
|
|
31243
|
-
ComboboxChevron: () => ComboboxChevron,
|
|
31244
|
-
ComboboxClearButton: () => ComboboxClearButton,
|
|
31245
|
-
ComboboxDropdown: () => ComboboxDropdown,
|
|
31246
|
-
ComboboxDropdownTarget: () => ComboboxDropdownTarget,
|
|
31247
|
-
ComboboxEmpty: () => ComboboxEmpty,
|
|
31248
|
-
ComboboxEventsTarget: () => ComboboxEventsTarget,
|
|
31249
|
-
ComboboxFooter: () => ComboboxFooter,
|
|
31250
|
-
ComboboxGroup: () => ComboboxGroup,
|
|
31251
|
-
ComboboxHeader: () => ComboboxHeader,
|
|
31252
|
-
ComboboxHiddenInput: () => ComboboxHiddenInput,
|
|
31253
|
-
ComboboxOption: () => ComboboxOption,
|
|
31254
|
-
ComboboxOptions: () => ComboboxOptions,
|
|
31255
|
-
ComboboxSearch: () => ComboboxSearch,
|
|
31256
|
-
ComboboxTarget: () => ComboboxTarget,
|
|
31257
|
-
Container: () => Container,
|
|
31258
|
-
CopyButton: () => CopyButton,
|
|
31259
|
-
DEFAULT_COLORS: () => DEFAULT_COLORS,
|
|
31260
|
-
DEFAULT_THEME: () => DEFAULT_THEME,
|
|
31261
|
-
Dialog: () => Dialog,
|
|
31262
|
-
DirectionContextKey: () => DirectionContextKey,
|
|
31263
|
-
DirectionProvider: () => DirectionProvider,
|
|
31264
|
-
Divider: () => Divider,
|
|
31265
|
-
Dots: () => Dots,
|
|
31266
|
-
Drawer: () => Drawer,
|
|
31267
|
-
DrawerBody: () => DrawerBody,
|
|
31268
|
-
DrawerCloseButton: () => DrawerCloseButton,
|
|
31269
|
-
DrawerContent: () => DrawerContent,
|
|
31270
|
-
DrawerHeader: () => DrawerHeader,
|
|
31271
|
-
DrawerOverlay: () => DrawerOverlay,
|
|
31272
|
-
DrawerRoot: () => DrawerRoot,
|
|
31273
|
-
DrawerStack: () => DrawerStack,
|
|
31274
|
-
DrawerTitle: () => DrawerTitle,
|
|
31275
|
-
FLEX_STYLE_PROPS_DATA: () => FLEX_STYLE_PROPS_DATA,
|
|
31276
|
-
Fieldset: () => Fieldset,
|
|
31277
|
-
FileButton: () => FileButton,
|
|
31278
|
-
FileInput: () => FileInput,
|
|
31279
|
-
FlatTreeNode: () => FlatTreeNode,
|
|
31280
|
-
Flex: () => Flex,
|
|
31281
|
-
FloatingIndicator: () => FloatingIndicator,
|
|
31282
|
-
FloatingWindow: () => FloatingWindow,
|
|
31283
|
-
FocusTrap: () => FocusTrap,
|
|
31284
|
-
FocusTrapInitialFocus: () => FocusTrapInitialFocus,
|
|
31285
|
-
Grid: () => Grid,
|
|
31286
|
-
GridCol: () => GridCol,
|
|
31287
|
-
Group: () => Group,
|
|
31288
|
-
HeadlessMantineProvider: () => HeadlessMantineProvider,
|
|
31289
|
-
Highlight: () => Highlight,
|
|
31290
|
-
HoverCard: () => HoverCard,
|
|
31291
|
-
HoverCardDropdown: () => HoverCardDropdown,
|
|
31292
|
-
HoverCardGroup: () => HoverCardGroup,
|
|
31293
|
-
HoverCardTarget: () => HoverCardTarget,
|
|
31294
|
-
HueSlider: () => HueSlider,
|
|
31295
|
-
INVALID_PRIMARY_COLOR_ERROR: () => INVALID_PRIMARY_COLOR_ERROR,
|
|
31296
|
-
INVALID_PRIMARY_SHADE_ERROR: () => INVALID_PRIMARY_SHADE_ERROR,
|
|
31297
|
-
Image: () => Image,
|
|
31298
|
-
Indicator: () => Indicator,
|
|
31299
|
-
InlineStyles: () => InlineStyles,
|
|
31300
|
-
Input: () => Input,
|
|
31301
|
-
InputBase: () => InputBase,
|
|
31302
|
-
InputClearButton: () => InputClearButton,
|
|
31303
|
-
InputClearSection: () => InputClearSection,
|
|
31304
|
-
InputDescription: () => InputDescription,
|
|
31305
|
-
InputError: () => InputError,
|
|
31306
|
-
InputLabel: () => InputLabel,
|
|
31307
|
-
InputPlaceholder: () => InputPlaceholder,
|
|
31308
|
-
InputWrapper: () => InputWrapper,
|
|
31309
|
-
JsonInput: () => JsonInput,
|
|
31310
|
-
Kbd: () => Kbd,
|
|
31311
|
-
List: () => List,
|
|
31312
|
-
ListItem: () => ListItem,
|
|
31313
|
-
Loader: () => Loader,
|
|
31314
|
-
LoadingOverlay: () => LoadingOverlay,
|
|
31315
|
-
MantineClasses: () => MantineClasses,
|
|
31316
|
-
MantineContextKey: () => MantineContextKey,
|
|
31317
|
-
MantineCssVariables: () => MantineCssVariables,
|
|
31318
|
-
MantineProvider: () => MantineProvider,
|
|
31319
|
-
MantineThemeKey: () => MantineThemeKey,
|
|
31320
|
-
MantineThemeProvider: () => MantineThemeProvider,
|
|
31321
|
-
Mark: () => Mark,
|
|
31322
|
-
Marquee: () => Marquee,
|
|
31323
|
-
MaskInput: () => MaskInput,
|
|
31324
|
-
Menu: () => Menu,
|
|
31325
|
-
MenuCheckboxGroup: () => MenuCheckboxGroup,
|
|
31326
|
-
MenuCheckboxItem: () => MenuCheckboxItem,
|
|
31327
|
-
MenuContextMenu: () => MenuContextMenu,
|
|
31328
|
-
MenuDivider: () => MenuDivider,
|
|
31329
|
-
MenuDropdown: () => MenuDropdown,
|
|
31330
|
-
MenuItem: () => MenuItem,
|
|
31331
|
-
MenuLabel: () => MenuLabel,
|
|
31332
|
-
MenuRadioGroup: () => MenuRadioGroup,
|
|
31333
|
-
MenuRadioItem: () => MenuRadioItem,
|
|
31334
|
-
MenuSearch: () => MenuSearch,
|
|
31335
|
-
MenuSub: () => MenuSub,
|
|
31336
|
-
MenuSubDropdown: () => MenuSubDropdown,
|
|
31337
|
-
MenuSubItem: () => MenuSubItem,
|
|
31338
|
-
MenuSubTarget: () => MenuSubTarget,
|
|
31339
|
-
MenuTarget: () => MenuTarget,
|
|
31340
|
-
Modal: () => Modal,
|
|
31341
|
-
ModalBase: () => ModalBase,
|
|
31342
|
-
ModalBaseBody: () => ModalBaseBody,
|
|
31343
|
-
ModalBaseCloseButton: () => ModalBaseCloseButton,
|
|
31344
|
-
ModalBaseContent: () => ModalBaseContent,
|
|
31345
|
-
ModalBaseHeader: () => ModalBaseHeader,
|
|
31346
|
-
ModalBaseOverlay: () => ModalBaseOverlay,
|
|
31347
|
-
ModalBaseTitle: () => ModalBaseTitle,
|
|
31348
|
-
ModalBody: () => ModalBody,
|
|
31349
|
-
ModalCloseButton: () => ModalCloseButton,
|
|
31350
|
-
ModalContent: () => ModalContent,
|
|
31351
|
-
ModalHeader: () => ModalHeader,
|
|
31352
|
-
ModalOverlay: () => ModalOverlay,
|
|
31353
|
-
ModalRoot: () => ModalRoot,
|
|
31354
|
-
ModalTitle: () => ModalTitle,
|
|
31355
|
-
MultiSelect: () => MultiSelect,
|
|
31356
|
-
NativeScrollArea: () => NativeScrollArea,
|
|
31357
|
-
NativeSelect: () => NativeSelect,
|
|
31358
|
-
NativeSelectOption: () => NativeSelectOption,
|
|
31359
|
-
NavLink: () => NavLink,
|
|
31360
|
-
Notification: () => Notification,
|
|
31361
|
-
NumberFormatter: () => NumberFormatter,
|
|
31362
|
-
NumberInput: () => NumberInput,
|
|
31363
|
-
NumberInputChevron: () => NumberInputChevron,
|
|
31364
|
-
OptionalPortal: () => OptionalPortal,
|
|
31365
|
-
OptionsDropdown: () => OptionsDropdown,
|
|
31366
|
-
Oval: () => Oval,
|
|
31367
|
-
OverflowList: () => OverflowList,
|
|
31368
|
-
Overlay: () => Overlay,
|
|
31369
|
-
Pagination: () => Pagination,
|
|
31370
|
-
PaginationControl: () => PaginationControl,
|
|
31371
|
-
PaginationDots: () => PaginationDots,
|
|
31372
|
-
PaginationFirst: () => PaginationFirst,
|
|
31373
|
-
PaginationItems: () => PaginationItems,
|
|
31374
|
-
PaginationItemsGroup: () => PaginationItemsGroup,
|
|
31375
|
-
PaginationLabel: () => PaginationLabel,
|
|
31376
|
-
PaginationLast: () => PaginationLast,
|
|
31377
|
-
PaginationNext: () => PaginationNext,
|
|
31378
|
-
PaginationPrevious: () => PaginationPrevious,
|
|
31379
|
-
PaginationRoot: () => PaginationRoot,
|
|
31380
|
-
Paper: () => Paper,
|
|
31381
|
-
PasswordInput: () => PasswordInput,
|
|
31382
|
-
PasswordToggleIcon: () => PasswordToggleIcon,
|
|
31383
|
-
Pill: () => Pill,
|
|
31384
|
-
PillGroup: () => PillGroup,
|
|
31385
|
-
PillsInput: () => PillsInput,
|
|
31386
|
-
PillsInputField: () => PillsInputField,
|
|
31387
|
-
PinInput: () => PinInput,
|
|
31388
|
-
Popover: () => Popover,
|
|
31389
|
-
PopoverContextMenu: () => PopoverContextMenu,
|
|
31390
|
-
PopoverDropdown: () => PopoverDropdown,
|
|
31391
|
-
PopoverTarget: () => PopoverTarget,
|
|
31392
|
-
Portal: () => Portal,
|
|
31393
|
-
Progress: () => Progress,
|
|
31394
|
-
ProgressLabel: () => ProgressLabel,
|
|
31395
|
-
ProgressRoot: () => ProgressRoot,
|
|
31396
|
-
ProgressSection: () => ProgressSection,
|
|
31397
|
-
Radio: () => Radio,
|
|
31398
|
-
RadioCard: () => RadioCard,
|
|
31399
|
-
RadioGroup: () => RadioGroup,
|
|
31400
|
-
RadioIcon: () => RadioIcon,
|
|
31401
|
-
RadioIndicator: () => RadioIndicator,
|
|
31402
|
-
RangeSlider: () => RangeSlider,
|
|
31403
|
-
Rating: () => Rating,
|
|
31404
|
-
RingProgress: () => RingProgress,
|
|
31405
|
-
RollingNumber: () => RollingNumber,
|
|
31406
|
-
STYLE_PROPS_DATA: () => STYLE_PROPS_DATA,
|
|
31407
|
-
ScrollArea: () => ScrollArea,
|
|
31408
|
-
ScrollAreaAutosize: () => ScrollAreaAutosize,
|
|
31409
|
-
Scroller: () => Scroller,
|
|
31410
|
-
SegmentedControl: () => SegmentedControl,
|
|
31411
|
-
Select: () => Select,
|
|
31412
|
-
SemiCircleProgress: () => SemiCircleProgress,
|
|
31413
|
-
SimpleGrid: () => SimpleGrid,
|
|
31414
|
-
Skeleton: () => Skeleton,
|
|
31415
|
-
Slider: () => Slider,
|
|
31416
|
-
Space: () => Space,
|
|
31417
|
-
Splitter: () => Splitter,
|
|
31418
|
-
SplitterPane: () => SplitterPane,
|
|
31419
|
-
Spoiler: () => Spoiler,
|
|
31420
|
-
Stack: () => Stack,
|
|
31421
|
-
Stepper: () => Stepper,
|
|
31422
|
-
StepperCompleted: () => StepperCompleted,
|
|
31423
|
-
StepperStep: () => StepperStep,
|
|
31424
|
-
Switch: () => Switch,
|
|
31425
|
-
SwitchGroup: () => SwitchGroup,
|
|
31426
|
-
Table: () => Table,
|
|
31427
|
-
TableCaption: () => TableCaption,
|
|
31428
|
-
TableDataRenderer: () => TableDataRenderer,
|
|
31429
|
-
TableOfContents: () => TableOfContents,
|
|
31430
|
-
TableScrollContainer: () => TableScrollContainer,
|
|
31431
|
-
TableTbody: () => TableTbody,
|
|
31432
|
-
TableTd: () => TableTd,
|
|
31433
|
-
TableTfoot: () => TableTfoot,
|
|
31434
|
-
TableTh: () => TableTh,
|
|
31435
|
-
TableThead: () => TableThead,
|
|
31436
|
-
TableTr: () => TableTr,
|
|
31437
|
-
Tabs: () => Tabs,
|
|
31438
|
-
TabsList: () => TabsList,
|
|
31439
|
-
TabsPanel: () => TabsPanel,
|
|
31440
|
-
TabsTab: () => TabsTab,
|
|
31441
|
-
TagsInput: () => TagsInput,
|
|
31442
|
-
Text: () => Text,
|
|
31443
|
-
TextInput: () => TextInput,
|
|
31444
|
-
Textarea: () => Textarea,
|
|
31445
|
-
ThemeIcon: () => ThemeIcon,
|
|
31446
|
-
Timeline: () => Timeline,
|
|
31447
|
-
TimelineItem: () => TimelineItem,
|
|
31448
|
-
Title: () => Title,
|
|
31449
|
-
Tooltip: () => Tooltip,
|
|
31450
|
-
TooltipFloating: () => TooltipFloating,
|
|
31451
|
-
TooltipGroup: () => TooltipGroup,
|
|
31452
|
-
Transition: () => Transition,
|
|
31453
|
-
Tree: () => Tree,
|
|
31454
|
-
TreeSelect: () => TreeSelect,
|
|
31455
|
-
TreeSelectOption: () => TreeSelectOption,
|
|
31456
|
-
Typography: () => Typography,
|
|
31457
|
-
UnstyledButton: () => UnstyledButton,
|
|
31458
|
-
VisuallyHidden: () => VisuallyHidden,
|
|
31459
|
-
alpha: () => alpha,
|
|
31460
|
-
buildValue: () => buildValue,
|
|
31461
|
-
colorsTuple: () => colorsTuple,
|
|
31462
|
-
convertCssVariables: () => convertCssVariables,
|
|
31463
|
-
convertHsvaTo: () => convertHsvaTo,
|
|
31464
|
-
createProviderColorScheme: () => createProviderColorScheme,
|
|
31465
|
-
createSafeContext: () => createSafeContext,
|
|
31466
|
-
createSafeInjectionContext: () => createSafeInjectionContext,
|
|
31467
|
-
createVarsResolver: () => createVarsResolver,
|
|
31468
|
-
cssVariablesObjectToString: () => cssVariablesObjectToString,
|
|
31469
|
-
darken: () => darken,
|
|
31470
|
-
defaultCssVariablesResolver: () => defaultCssVariablesResolver,
|
|
31471
|
-
defaultLoaders: () => defaultLoaders,
|
|
31472
|
-
defaultOptionsFilter: () => defaultOptionsFilter,
|
|
31473
|
-
defaultTreeNodeFilter: () => defaultTreeNodeFilter,
|
|
31474
|
-
defaultVariantColorsResolver: () => defaultVariantColorsResolver,
|
|
31475
|
-
factory: () => factory,
|
|
31476
|
-
filterTreeData: () => filterTreeData,
|
|
31477
|
-
flattenTreeData: () => flattenTreeData,
|
|
31478
|
-
foldAccents: () => foldAccents,
|
|
31479
|
-
formatNumber: () => formatNumber,
|
|
31480
|
-
getAppShellVariables: () => getVariables,
|
|
31481
|
-
getAutoContrastValue: () => getAutoContrastValue,
|
|
31482
|
-
getContrastColor: () => getContrastColor,
|
|
31483
|
-
getDigitParts: () => getDigitParts,
|
|
31484
|
-
getGradient: () => getGradient,
|
|
31485
|
-
getInitials: () => getInitials,
|
|
31486
|
-
getInitialsColor: () => getInitialsColor,
|
|
31487
|
-
getMarkColor: () => getMarkColor,
|
|
31488
|
-
getMergedVariables: () => getMergedVariables,
|
|
31489
|
-
getOptionsLockup: () => getOptionsLockup,
|
|
31490
|
-
getParsedComboboxData: () => getParsedComboboxData,
|
|
31491
|
-
getParsedNativeSelectData: () => getParsedNativeSelectData,
|
|
31492
|
-
getPositionVariables: () => getPositionVariables,
|
|
31493
|
-
getPrimaryContrastColor: () => getPrimaryContrastColor,
|
|
31494
|
-
getPrimaryShade: () => getPrimaryShade,
|
|
31495
|
-
getRenderSlots: () => getRenderSlots,
|
|
31496
|
-
getRenderSlotsFromValues: () => getRenderSlotsFromValues,
|
|
31497
|
-
getSplittedTags: () => getSplittedTags,
|
|
31498
|
-
getThemeColor: () => getThemeColor,
|
|
31499
|
-
getTitleSize: () => getTitleSize,
|
|
31500
|
-
getTreeExpandedState: () => getTreeExpandedState,
|
|
31501
|
-
hashStyleProps: () => hashStyleProps,
|
|
31502
|
-
highlighter: () => highlighter,
|
|
31503
|
-
hsvaToHex: () => hsvaToHex,
|
|
31504
|
-
hsvaToHexa: () => hsvaToHexa,
|
|
31505
|
-
hsvaToHsl: () => hsvaToHsl,
|
|
31506
|
-
hsvaToRgba: () => hsvaToRgba,
|
|
31507
|
-
hsvaToRgbaObject: () => hsvaToRgbaObject,
|
|
31508
|
-
isColorValid: () => isColorValid,
|
|
31509
|
-
isEmptyComboboxData: () => isEmptyComboboxData,
|
|
31510
|
-
isLightColor: () => isLightColor,
|
|
31511
|
-
isOptionsGroup: () => isOptionsGroup,
|
|
31512
|
-
isVirtualColor: () => isVirtualColor,
|
|
31513
|
-
lighten: () => lighten,
|
|
31514
|
-
luminance: () => luminance,
|
|
31515
|
-
mergeAsyncChildren: () => mergeAsyncChildren,
|
|
31516
|
-
mergeMantineTheme: () => mergeMantineTheme,
|
|
31517
|
-
movePill: () => movePill,
|
|
31518
|
-
moveTreeNode: () => moveTreeNode,
|
|
31519
|
-
parseColor: () => parseColor,
|
|
31520
|
-
parseHex: () => parseHex,
|
|
31521
|
-
parseHexa: () => parseHexa,
|
|
31522
|
-
parseHsla: () => parseHsla,
|
|
31523
|
-
parseHue: () => parseHue,
|
|
31524
|
-
parseRgba: () => parseRgba,
|
|
31525
|
-
parseStyleProps: () => parseStyleProps,
|
|
31526
|
-
parseThemeColor: () => parseThemeColor,
|
|
31527
|
-
polymorphicFactory: () => factory,
|
|
31528
|
-
polymorphicProps: () => polymorphicProps,
|
|
31529
|
-
provideGridContext: () => provideGridContext,
|
|
31530
|
-
provideListContext: () => provideListContext,
|
|
31531
|
-
provideMantineContext: () => provideMantineContext,
|
|
31532
|
-
provideMantineTheme: () => provideMantineTheme,
|
|
31533
|
-
providePillsInputContext: () => providePillsInputContext,
|
|
31534
|
-
renderPolymorphic: () => renderPolymorphic,
|
|
31535
|
-
resolveColorScheme: () => resolveColorScheme,
|
|
31536
|
-
rgba: () => rgba,
|
|
31537
|
-
round: () => round,
|
|
31538
|
-
toRgba: () => toRgba,
|
|
31539
|
-
useAccordionContext: () => useAccordionContext,
|
|
31540
|
-
useAccordionItemContext: () => useAccordionItemContext,
|
|
31541
|
-
useAppShellContext: () => useAppShellContext,
|
|
31542
|
-
useAvatarGroupContext: () => useAvatarGroupContext,
|
|
31543
|
-
useCheckboxCardContext: () => useCheckboxCardContext,
|
|
31544
|
-
useCheckboxGroupContext: () => useCheckboxGroupContext,
|
|
31545
|
-
useChipGroupContext: () => useChipGroupContext,
|
|
31546
|
-
useCombobox: () => useCombobox,
|
|
31547
|
-
useComboboxContext: () => useComboboxContext,
|
|
31548
|
-
useComboboxTargetProps: () => useComboboxTargetProps,
|
|
31549
|
-
useComputedColorScheme: () => useComputedColorScheme,
|
|
31550
|
-
useDirection: () => useDirection,
|
|
31551
|
-
useDrawersStack: () => useDrawersStack,
|
|
31552
|
-
useFloatingIndicator: () => useFloatingIndicator,
|
|
31553
|
-
useForwardedRef: () => useForwardedRef,
|
|
31554
|
-
useGridContext: () => useGridContext,
|
|
31555
|
-
useHoverCardContext: () => useHoverCardContext,
|
|
31556
|
-
useInputContext: () => useInputContext,
|
|
31557
|
-
useInputWrapperContext: () => useInputWrapperContext,
|
|
31558
|
-
useListContext: () => useListContext,
|
|
31559
|
-
useMantineClassNamesPrefix: () => useMantineClassNamesPrefix,
|
|
31560
|
-
useMantineColorScheme: () => useMantineColorScheme,
|
|
31561
|
-
useMantineContext: () => useMantineContext,
|
|
31562
|
-
useMantineCssVariablesResolver: () => useMantineCssVariablesResolver,
|
|
31563
|
-
useMantineDeduplicateInlineStyles: () => useMantineDeduplicateInlineStyles,
|
|
31564
|
-
useMantineEnv: () => useMantineEnv,
|
|
31565
|
-
useMantineIsHeadless: () => useMantineIsHeadless,
|
|
31566
|
-
useMantineStyleNonce: () => useMantineStyleNonce,
|
|
31567
|
-
useMantineTheme: () => useMantineTheme,
|
|
31568
|
-
useMantineWithStaticClasses: () => useMantineWithStaticClasses,
|
|
31569
|
-
useMenuContext: () => useMenuContext,
|
|
31570
|
-
usePaginationContext: () => usePaginationContext,
|
|
31571
|
-
usePillGroupContext: () => usePillGroupContext,
|
|
31572
|
-
usePillsInputContext: () => usePillsInputContext,
|
|
31573
|
-
usePillsReorder: () => usePillsReorder,
|
|
31574
|
-
useProgressContext: () => useProgressContext,
|
|
31575
|
-
useProps: () => useProps,
|
|
31576
|
-
useRadioCardContext: () => useRadioCardContext,
|
|
31577
|
-
useRadioGroupContext: () => useRadioGroupContext,
|
|
31578
|
-
useRandomClassName: () => useRandomClassName,
|
|
31579
|
-
useSafeMantineTheme: () => useSafeMantineTheme,
|
|
31580
|
-
useScrollAreaContext: () => useScrollAreaContext,
|
|
31581
|
-
useSplitterContext: () => useSplitterContext,
|
|
31582
|
-
useStepperContext: () => useStepperContext,
|
|
31583
|
-
useStyles: () => useStyles,
|
|
31584
|
-
useSwitchGroupContext: () => useSwitchGroupContext,
|
|
31585
|
-
useTabsContext: () => useTabsContext,
|
|
31586
|
-
useTree: () => useTree,
|
|
31587
|
-
useVirtualizedCombobox: () => useVirtualizedCombobox,
|
|
31588
|
-
validateJson: () => validateJson,
|
|
31589
|
-
validateMantineTheme: () => validateMantineTheme,
|
|
31590
|
-
validateOptions: () => validateOptions,
|
|
31591
|
-
virtualColor: () => virtualColor,
|
|
31592
|
-
withBoxProps: () => withBoxProps
|
|
31593
|
-
}), core_exports);
|
|
31594
31211
|
//#endregion
|
|
31595
31212
|
exports.Accordion = Accordion;
|
|
31596
31213
|
exports.AccordionChevron = AccordionChevron;
|
|
@@ -31865,32 +31482,43 @@ exports.UnstyledButton = UnstyledButton;
|
|
|
31865
31482
|
exports.VisuallyHidden = VisuallyHidden;
|
|
31866
31483
|
exports.alpha = alpha;
|
|
31867
31484
|
exports.buildValue = buildValue;
|
|
31485
|
+
exports.camelToKebabCase = camelToKebabCase;
|
|
31868
31486
|
exports.colorsTuple = colorsTuple;
|
|
31869
31487
|
exports.convertCssVariables = convertCssVariables;
|
|
31870
31488
|
exports.convertHsvaTo = convertHsvaTo;
|
|
31489
|
+
exports.createEventHandler = createEventHandler;
|
|
31871
31490
|
exports.createProviderColorScheme = createProviderColorScheme;
|
|
31872
31491
|
exports.createSafeContext = createSafeContext;
|
|
31873
31492
|
exports.createSafeInjectionContext = createSafeInjectionContext;
|
|
31874
31493
|
exports.createVarsResolver = createVarsResolver;
|
|
31875
31494
|
exports.cssVariablesObjectToString = cssVariablesObjectToString;
|
|
31876
31495
|
exports.darken = darken;
|
|
31496
|
+
exports.deepMerge = deepMerge;
|
|
31877
31497
|
exports.defaultCssVariablesResolver = defaultCssVariablesResolver;
|
|
31878
31498
|
exports.defaultLoaders = defaultLoaders;
|
|
31879
31499
|
exports.defaultOptionsFilter = defaultOptionsFilter;
|
|
31880
31500
|
exports.defaultTreeNodeFilter = defaultTreeNodeFilter;
|
|
31881
31501
|
exports.defaultVariantColorsResolver = defaultVariantColorsResolver;
|
|
31502
|
+
exports.em = em;
|
|
31882
31503
|
exports.factory = factory;
|
|
31504
|
+
exports.filterProps = filterProps;
|
|
31883
31505
|
exports.filterTreeData = filterTreeData;
|
|
31506
|
+
exports.findClosestNumber = findClosestNumber;
|
|
31884
31507
|
exports.flattenTreeData = flattenTreeData;
|
|
31885
31508
|
exports.foldAccents = foldAccents;
|
|
31886
31509
|
exports.formatNumber = formatNumber;
|
|
31887
31510
|
exports.getAppShellVariables = getVariables;
|
|
31888
31511
|
exports.getAutoContrastValue = getAutoContrastValue;
|
|
31512
|
+
exports.getBaseValue = getBaseValue;
|
|
31513
|
+
exports.getBreakpointValue = getBreakpointValue;
|
|
31889
31514
|
exports.getContrastColor = getContrastColor;
|
|
31515
|
+
exports.getDefaultZIndex = getDefaultZIndex;
|
|
31890
31516
|
exports.getDigitParts = getDigitParts;
|
|
31517
|
+
exports.getFontSize = getFontSize;
|
|
31891
31518
|
exports.getGradient = getGradient;
|
|
31892
31519
|
exports.getInitials = getInitials;
|
|
31893
31520
|
exports.getInitialsColor = getInitialsColor;
|
|
31521
|
+
exports.getLineHeight = getLineHeight;
|
|
31894
31522
|
exports.getMarkColor = getMarkColor;
|
|
31895
31523
|
exports.getMergedVariables = getMergedVariables;
|
|
31896
31524
|
exports.getOptionsLockup = getOptionsLockup;
|
|
@@ -31899,8 +31527,14 @@ exports.getParsedNativeSelectData = getParsedNativeSelectData;
|
|
|
31899
31527
|
exports.getPositionVariables = getPositionVariables;
|
|
31900
31528
|
exports.getPrimaryContrastColor = getPrimaryContrastColor;
|
|
31901
31529
|
exports.getPrimaryShade = getPrimaryShade;
|
|
31530
|
+
exports.getRadius = getRadius;
|
|
31902
31531
|
exports.getRenderSlots = getRenderSlots;
|
|
31903
31532
|
exports.getRenderSlotsFromValues = getRenderSlotsFromValues;
|
|
31533
|
+
exports.getSafeId = getSafeId;
|
|
31534
|
+
exports.getShadow = getShadow;
|
|
31535
|
+
exports.getSize = getSize;
|
|
31536
|
+
exports.getSortedBreakpoints = getSortedBreakpoints;
|
|
31537
|
+
exports.getSpacing = getSpacing;
|
|
31904
31538
|
exports.getSplittedTags = getSplittedTags;
|
|
31905
31539
|
exports.getThemeColor = getThemeColor;
|
|
31906
31540
|
exports.getTitleSize = getTitleSize;
|
|
@@ -31915,14 +31549,19 @@ exports.hsvaToRgbaObject = hsvaToRgbaObject;
|
|
|
31915
31549
|
exports.isColorValid = isColorValid;
|
|
31916
31550
|
exports.isEmptyComboboxData = isEmptyComboboxData;
|
|
31917
31551
|
exports.isLightColor = isLightColor;
|
|
31552
|
+
exports.isNumberLike = isNumberLike;
|
|
31918
31553
|
exports.isOptionsGroup = isOptionsGroup;
|
|
31554
|
+
exports.isPrimitive = isPrimitive;
|
|
31919
31555
|
exports.isVirtualColor = isVirtualColor;
|
|
31556
|
+
exports.keys = keys;
|
|
31920
31557
|
exports.lighten = lighten;
|
|
31921
31558
|
exports.luminance = luminance;
|
|
31559
|
+
exports.memoize = memoize;
|
|
31922
31560
|
exports.mergeAsyncChildren = mergeAsyncChildren;
|
|
31923
31561
|
exports.mergeMantineTheme = mergeMantineTheme;
|
|
31924
31562
|
exports.movePill = movePill;
|
|
31925
31563
|
exports.moveTreeNode = moveTreeNode;
|
|
31564
|
+
exports.noop = noop;
|
|
31926
31565
|
exports.parseColor = parseColor;
|
|
31927
31566
|
exports.parseHex = parseHex;
|
|
31928
31567
|
exports.parseHexa = parseHexa;
|
|
@@ -31938,6 +31577,8 @@ exports.provideListContext = provideListContext;
|
|
|
31938
31577
|
exports.provideMantineContext = provideMantineContext;
|
|
31939
31578
|
exports.provideMantineTheme = provideMantineTheme;
|
|
31940
31579
|
exports.providePillsInputContext = providePillsInputContext;
|
|
31580
|
+
exports.px = px;
|
|
31581
|
+
exports.rem = rem;
|
|
31941
31582
|
exports.renderPolymorphic = renderPolymorphic;
|
|
31942
31583
|
exports.resolveColorScheme = resolveColorScheme;
|
|
31943
31584
|
exports.rgba = rgba;
|
|
@@ -31997,13 +31638,5 @@ exports.validateMantineTheme = validateMantineTheme;
|
|
|
31997
31638
|
exports.validateOptions = validateOptions;
|
|
31998
31639
|
exports.virtualColor = virtualColor;
|
|
31999
31640
|
exports.withBoxProps = withBoxProps;
|
|
32000
|
-
Object.keys(_mantine_vue_utils).forEach(function(k) {
|
|
32001
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
32002
|
-
enumerable: true,
|
|
32003
|
-
get: function() {
|
|
32004
|
-
return _mantine_vue_utils[k];
|
|
32005
|
-
}
|
|
32006
|
-
});
|
|
32007
|
-
});
|
|
32008
31641
|
|
|
32009
31642
|
//# sourceMappingURL=index.cjs.map
|